/* 가천 시설가디언 v2 — Airbnb DESIGN.md 기반 시각 언어 + 가천 블루 키컬러
 * 원칙: 순백 캔버스(#ffffff) 95% 플랫, #222222 잉크 + 절제된 웨이트(400/500/600),
 *       1px 헤어라인(#ebebeb/#dddddd), 단일 그림자 티어, 사진·여백 중심 위계,
 *       단일 브랜드 키컬러 가천 블루(#1b64da) */
:root {
  color-scheme: light;
  --bg: #ffffff;
  --desk-bg: #f7f7f7;
  --surface: #ffffff;
  --surface-2: #f7f7f7;
  --surface-3: #f2f2f2;
  --line: #ebebeb;
  --line-strong: #dddddd;
  --border-strong: #c1c1c1;
  --text: #222222;
  --body-ink: #3f3f3f;
  --text-2: #6a6a6a;
  --muted: #6a6a6a;
  --muted-soft: #929292;
  --brand: #1b64da;
  --brand-hover: #1553b8;
  --brand-disabled: #bfd6fa;
  --brand-ink: #ffffff;
  --brand-soft: #f0f5ff;
  --focus: #222222;
  --t-설비: #1b64da; --t-전기: #ea580c; --t-영선: #008a05; --t-통신: #d97706; --t-용역: #6a6a6a; --t-소방: #c13515;
  --good: #008a05; --good-soft: #edf7ed; --good-ink: #006b04;
  --warning: #b45309; --warning-soft: #fef6ec; --warning-ink: #92400e;
  --serious: #c2410c;
  --critical: #c13515; --critical-soft: #fef2ef; --critical-ink: #a32a0e;
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-full: 9999px;
  --radius: 14px;
  --radius-sm: 8px;
  /* Airbnb 단일 그림자 티어 */
  --shadow: 0 0 0 1px rgba(0, 0, 0, .02), 0 2px 6px rgba(0, 0, 0, .04), 0 4px 8px rgba(0, 0, 0, .08);
  --shadow-lg: 0 6px 20px rgba(0, 0, 0, .12);
  --font: "Pretendard Variable", "Pretendard", "Inter", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", -apple-system, system-ui, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #111318; --desk-bg: #090b0f; --surface: #181c24; --surface-2: #222733; --surface-3: #2a3140;
    --line: rgba(255, 255, 255, .10); --line-strong: rgba(255, 255, 255, .16); --border-strong: rgba(255, 255, 255, .24);
    --text: #f5f7fa; --body-ink: #d4dae4; --text-2: #9ba5b5; --muted: #8b95a5; --muted-soft: #6f798a;
    --brand: #4c8dff; --brand-hover: #649dff; --brand-disabled: #233c66; --brand-ink: #ffffff; --brand-soft: rgba(76, 141, 255, .16); --focus: #f5f7fa;
    --good: #10b981; --good-soft: rgba(16, 185, 129, .15); --good-ink: #6ee7b7;
    --warning: #f59e0b; --warning-soft: rgba(245, 158, 11, .16); --warning-ink: #fcd34d;
    --critical: #f87171; --critical-soft: rgba(248, 113, 113, .16); --critical-ink: #fca5a5;
    --shadow: 0 2px 10px rgba(0, 0, 0, .3);
    --shadow-lg: 0 12px 36px rgba(0, 0, 0, .48);
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #111318; --desk-bg: #090b0f; --surface: #181c24; --surface-2: #222733; --surface-3: #2a3140;
  --line: rgba(255, 255, 255, .10); --line-strong: rgba(255, 255, 255, .16); --border-strong: rgba(255, 255, 255, .24);
  --text: #f5f7fa; --body-ink: #d4dae4; --text-2: #9ba5b5; --muted: #8b95a5; --muted-soft: #6f798a;
  --brand: #4c8dff; --brand-hover: #649dff; --brand-ink: #ffffff; --brand-soft: rgba(76, 141, 255, .16); --focus: #f5f7fa;
  --good: #10b981; --good-soft: rgba(16, 185, 129, .15); --good-ink: #6ee7b7;
  --warning: #f59e0b; --warning-soft: rgba(245, 158, 11, .16); --warning-ink: #fcd34d;
  --critical: #f87171; --critical-soft: rgba(248, 113, 113, .16); --critical-ink: #fca5a5;
  --shadow: 0 2px 10px rgba(0, 0, 0, .3);
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.5;
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--brand); }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 560px; margin: 0 auto; padding: 0 16px; }

/* ── 아이콘 ── */
.ic { width: 20px; height: 20px; flex: none; display: inline-block; vertical-align: middle; }
.ic-brand { width: 17px; height: 17px; flex: none; display: block; }
.i { width: 1.2em; height: 1.2em; flex: none; display: inline-block; vertical-align: -.2em; fill: none; stroke: currentColor; stroke-width: 1.85; stroke-linecap: round; stroke-linejoin: round; }
.btn .i, .chip .i, .badge .i, .sev .i { vertical-align: middle; }
.s-dot .i { width: 22px; height: 22px; }

/* ── 모바일 앱 셸 (순백 캔버스, 데스크톱에서만 부드러운 외곽) ── */
body.app { background: var(--desk-bg); min-height: 100dvh; overflow-x: hidden; }
.app-shell {
  width: 100%;
  max-width: 460px;
  min-height: 100dvh;
  margin: 0 auto;
  background: var(--surface);
  position: relative;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}
.app-body > * { min-width: 0; max-width: 100%; }
.ob-shell { width: 100%; overflow-x: hidden; }
.ob-slide { width: 100%; min-width: 100%; }
@media (min-width: 520px) {
  .app-shell { box-shadow: 0 0 0 1px rgba(0, 0, 0, .06), 0 8px 28px rgba(0, 0, 0, .08); }
}

.app-top {
  position: sticky;
  top: 0;
  z-index: 30;
  height: 58px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.app-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: none;
  border: 0;
  padding: 4px 0;
  cursor: pointer;
  color: var(--text);
  user-select: none;
}
.app-mark {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--brand);
  color: var(--brand-ink);
  display: grid;
  place-items: center;
  flex: none;
}
.app-title { font-size: 16px; font-weight: 600; letter-spacing: -.02em; color: var(--text); }
.app-icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 0;
  background: transparent;
  color: var(--text);
  display: grid;
  place-items: center;
  text-decoration: none;
  cursor: pointer;
  flex: none;
  transition: background .15s;
}
.app-icon-btn.is-circle { background: var(--surface-3); width: 34px; height: 34px; }
.app-icon-btn.is-circle .ic { width: 17px; height: 17px; }
.app-icon-btn:hover { background: var(--line); }

.app-body {
  flex: 1;
  padding: 20px 20px calc(96px + env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.app-body.has-cta { padding-bottom: calc(168px + env(safe-area-inset-bottom)); }
.app-body.has-action-bar { padding-bottom: calc(150px + env(safe-area-inset-bottom)); }

/* ── Airbnb 헤어라인 섹션 & 플랫 행 (Box-in-Box 탈피) ── */
.air-divider { height: 1px; background: var(--line); margin: 4px 0; border: 0; }
.air-section { display: flex; flex-direction: column; gap: 14px; }
.air-h1 { margin: 0; font-size: 24px; font-weight: 600; letter-spacing: -.025em; line-height: 1.28; color: var(--text); }
.air-h2 { margin: 0; font-size: 18px; font-weight: 600; letter-spacing: -.02em; line-height: 1.3; color: var(--text); }
.air-sub { margin: 0; font-size: 14px; color: var(--text-2); line-height: 1.5; }

/* Airbnb amenity-row 스타일: 순백 바닥 위 아이콘 + 정보 행 */
.air-rows { display: flex; flex-direction: column; }
.air-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  background: transparent;
  border-left: 0; border-right: 0; border-top: 0;
  width: 100%;
  text-align: left;
}
.air-row:last-child { border-bottom: 0; }
a.air-row, button.air-row { cursor: pointer; }
a.air-row:active, button.air-row:active { opacity: .72; }
.air-row-ic { width: 24px; height: 24px; color: var(--text); display: grid; place-items: center; flex: none; }
.air-row-ic .ic { width: 22px; height: 22px; stroke-width: 1.75; }
.air-row-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.air-row-title { font-size: 15px; font-weight: 500; color: var(--text); line-height: 1.35; }
.air-row-sub { font-size: 13.5px; color: var(--text-2); line-height: 1.4; }
.air-row-val { font-size: 15px; font-weight: 500; color: var(--text); line-height: 1.45; }

/* ── 하단 탭 바 (Airbnb 모바일 미니멀 3탭) ── */
.bottom-nav {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 100%;
  max-width: 460px;
  z-index: 40;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 6px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
}
.bn-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 48px;
  text-decoration: none;
  color: var(--muted);
  transition: color .15s;
}
.bn-item.is-on { color: var(--brand); }
.bn-ico { position: relative; display: grid; place-items: center; width: 26px; height: 24px; }
.bn-ico .ic { width: 22px; height: 22px; stroke-width: 1.75; }
.bn-item.is-on .bn-ico .ic { stroke-width: 2.2; }
.bn-lbl { font-size: 11px; font-weight: 500; letter-spacing: -.01em; }
.bn-item.is-on .bn-lbl { font-weight: 600; }
.bn-dot {
  position: absolute;
  top: -3px;
  right: -9px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 9999px;
  background: var(--brand);
  color: var(--brand-ink);
  font-size: 10px;
  font-weight: 600;
  display: grid;
  place-items: center;
  border: 2px solid var(--surface);
}

/* 하단 고정 CTA 바 (신고하기 입력 화면) */
.app-sticky-cta {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: calc(64px + env(safe-area-inset-bottom));
  width: 100%;
  max-width: 460px;
  z-index: 35;
  padding: 12px 20px;
  background: rgba(255, 255, 255, .97);
  border-top: 1px solid var(--line);
}

/* ── Airbnb 시그니처 필 검색·바로신고 바 (홈 최상단) ── */
.air-pill-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 64px;
  padding: 8px 8px 8px 22px;
  border-radius: var(--r-full);
  background: var(--surface);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow);
  text-decoration: none;
  color: inherit;
  transition: box-shadow .18s;
}
.air-pill-bar:hover { box-shadow: var(--shadow-lg); }
.air-pill-copy { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.air-pill-copy b { font-size: 14.5px; font-weight: 600; color: var(--text); }
.air-pill-copy span { font-size: 12.5px; color: var(--text-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.air-orb {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--brand);
  color: var(--brand-ink);
  display: grid;
  place-items: center;
  flex: none;
}
.air-orb .ic { width: 20px; height: 20px; stroke-width: 2; }

/* ── 사진 중심 히어로 (Airbnb property-card 감성 — 박스·그림자 없이 사진이 주인공) ── */
.air-hero-card { display: flex; flex-direction: column; gap: 14px; }
.air-photo-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--surface-2);
}
.air-photo-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.air-float-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 11px;
  border-radius: var(--r-full);
  background: rgba(255, 255, 255, .95);
  color: var(--text);
  font-size: 11.5px;
  font-weight: 600;
  box-shadow: var(--shadow);
}
.air-float-badge .ic { width: 13px; height: 13px; color: var(--brand); }
.air-float-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, .94);
  color: var(--text);
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: var(--shadow);
}
.air-float-close .ic { width: 16px; height: 16px; }

/* ── 호환 카드 (꼭 필요한 모달/소프트 박스에 최소 사용) ── */
.m-card {
  background: var(--surface-2);
  border: 0;
  border-radius: var(--r-md);
  padding: 18px;
}
.m-sec-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.m-sec-title { font-size: 17px; font-weight: 600; color: var(--text); letter-spacing: -.015em; margin: 0; }
.m-sec-link { font-size: 13.5px; font-weight: 500; color: var(--text); text-decoration: underline; text-underline-offset: 3px; }

/* 가로 스크롤 장소 칩 */
.m-hscroll { display: flex; gap: 8px; overflow-x: auto; padding: 2px 0 4px; scrollbar-width: none; }
.m-hscroll::-webkit-scrollbar { display: none; }
.m-room-pill {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 14px;
  border-radius: var(--r-full);
  background: var(--surface);
  border: 1px solid var(--line-strong);
  color: var(--text);
  font-size: 13.5px;
  font-weight: 500;
  text-decoration: none;
  transition: border-color .15s, background .15s;
}
.m-room-pill .ic { width: 15px; height: 15px; color: var(--text-2); }
.m-room-pill:hover { border-color: var(--text); }

/* 내 신고 리스트 행 (플랫 + 썸네일 + 헤어라인) */
.m-list { display: flex; flex-direction: column; }
.m-row-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  transition: opacity .15s;
}
.m-row-link:last-child { border-bottom: 0; }
.m-row-link:active { opacity: .72; }
.m-row-thumb {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  object-fit: cover;
  flex: none;
  background: var(--surface-2);
}
.m-row-thumb-ic {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  flex: none;
  background: var(--surface-2);
  color: var(--text-2);
  display: grid;
  place-items: center;
}
.m-row-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.m-row-top { display: flex; align-items: center; gap: 7px; }
.m-row-title { font-size: 15.5px; font-weight: 600; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.m-row-sub { font-size: 13.5px; color: var(--body-ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.m-row-meta { font-size: 12.5px; color: var(--text-2); display: flex; align-items: center; gap: 5px; flex-wrap: wrap; }
.m-chev { color: var(--muted-soft); width: 18px; height: 18px; flex: none; }

/* 상태 필 (절제된 미니멀 필) */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 9px;
  border-radius: var(--r-full);
  font-size: 11.5px;
  font-weight: 600;
  white-space: nowrap;
}
.pill .ic { width: 12px; height: 12px; }
.pill-done { background: var(--good-soft); color: var(--good-ink); }
.pill-wait { background: var(--surface-2); color: var(--text); }
.pill-est { background: var(--warning-soft); color: var(--warning-ink); }
.pill-ok { background: var(--good-soft); color: var(--good-ink); }
.pill-brand { background: var(--brand-soft); color: var(--brand); }
.pill-crit { background: var(--critical-soft); color: var(--critical-ink); }
.pill-neutral { background: var(--surface-2); color: var(--text-2); }

/* Airbnb 스타일 밑줄 탭 (직접 신고 / 학과 사무실 대리) */
.air-tabs {
  display: flex;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}
.air-tab {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 0 12px;
  border: 0;
  background: transparent;
  color: var(--text-2);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
}
.air-tab .ic { width: 17px; height: 17px; }
.air-tab[aria-pressed="true"] { color: var(--text); font-weight: 600; }
.air-tab[aria-pressed="true"]::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}

/* 필터 칩 (Airbnb 블랙 잉크 액티브 필) */
.m-filters { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.m-filters::-webkit-scrollbar { display: none; }
.m-fchip {
  flex: none;
  padding: 8px 15px;
  border-radius: var(--r-full);
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--text);
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
  transition: background .15s, border-color .15s, color .15s;
}
.m-fchip:hover { border-color: var(--text); }
.m-fchip[aria-pressed="true"] { background: var(--text); color: #fff; border-color: var(--text); font-weight: 600; }

/* Airbnb 위치 선택 카드 (HTML select 2열 대체) */
.air-loc-btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px 16px;
  border-radius: var(--r-md);
  border: 1px solid var(--line-strong);
  background: var(--surface);
  text-align: left;
  cursor: pointer;
  transition: border-color .15s;
}
.air-loc-btn:hover { border-color: var(--text); }
.air-loc-ic { width: 24px; height: 24px; color: var(--brand); display: grid; place-items: center; flex: none; }
.air-loc-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.air-loc-lbl { font-size: 11.5px; font-weight: 600; color: var(--text-2); letter-spacing: .01em; }
.air-loc-val { font-size: 16px; font-weight: 600; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.air-loc-sub { font-size: 13px; color: var(--text-2); }
.air-loc-act { font-size: 13.5px; font-weight: 600; color: var(--text); text-decoration: underline; text-underline-offset: 3px; flex: none; }

/* 사진 업로드 (점선 제거 → 소프트 서피스 + 카메라/앨범 분리) */
.air-cam-drop {
  border-radius: var(--r-md);
  background: var(--surface-2);
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
}
.air-cam-orb {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--surface);
  color: var(--text);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow);
}
.air-cam-orb .ic { width: 22px; height: 22px; }
.air-cam-title { font-size: 15.5px; font-weight: 600; color: var(--text); }
.air-cam-sub { font-size: 13px; color: var(--text-2); margin-top: -8px; }
.air-cam-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; width: 100%; margin-top: 2px; }
.m-photo-ready { display: flex; flex-direction: column; gap: 10px; }
.m-photo-bar { display: flex; align-items: center; justify-content: space-between; gap: 8px; }

/* 증상 칩 (Airbnb 깔끔한 아웃라인 타일) */
.m-sym-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.m-sym {
  min-height: 52px;
  padding: 11px 13px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: border-color .14s, background .14s;
}
.m-sym .ic { width: 19px; height: 19px; color: var(--text-2); stroke-width: 1.75; }
.m-sym:hover { border-color: var(--text); }
.m-sym[aria-pressed="true"] {
  background: var(--brand-soft);
  border-color: var(--brand);
  box-shadow: inset 0 0 0 1px var(--brand);
  color: var(--brand);
  font-weight: 600;
}
.m-sym[aria-pressed="true"] .ic { color: var(--brand); }

/* AI 분석 진행 카드 */
.air-analyzing {
  padding: 28px 20px;
  border-radius: var(--r-md);
  background: var(--surface-2);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
}
.air-analyzing .spinner { width: 28px; height: 28px; color: var(--brand); border-width: 3px; }
.air-analyzing b { font-size: 16px; font-weight: 600; color: var(--text); }
.air-analyzing span { font-size: 13.5px; color: var(--text-2); }

/* 요약 상세 (박스 탈피 — 사진 + 헤어라인 행) */
.m-summary { display: flex; flex-direction: column; gap: 0; }
.m-summary-img { width: 100%; aspect-ratio: 4 / 3; max-height: 280px; object-fit: cover; display: block; cursor: zoom-in; border-radius: var(--r-md); background: var(--surface-2); margin-bottom: 16px; }
.m-summary-head {
  padding: 0 0 16px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--line);
}
.m-summary-room { font-size: 21px; font-weight: 600; letter-spacing: -.025em; line-height: 1.25; color: var(--text); }
.m-summary-sub { font-size: 13.5px; color: var(--text-2); margin-top: 3px; }
.m-kv { margin: 0; padding: 0; }
.m-kv-row {
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.m-kv-row:last-child { border-bottom: 0; }
.m-kv-row dt { font-size: 13.5px; color: var(--text-2); font-weight: 500; padding-top: 1px; }
.m-kv-row dd { margin: 0; font-size: 15px; font-weight: 500; color: var(--text); line-height: 1.45; }
.m-spec-strip { padding: 16px 0 4px; border-top: 1px solid var(--line); }
.m-spec-strip-lbl { font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 10px; }
.m-spec-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.m-spec-chip {
  padding: 9px 14px;
  border-radius: var(--r-full);
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--text);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: border-color .14s, background .14s;
}
.m-spec-chip:hover { border-color: var(--text); }
.m-spec-chip[aria-pressed="true"] { background: var(--brand); color: var(--brand-ink); border-color: var(--brand); font-weight: 600; }

/* 상태 헤더 (/r/신고ID — 과한 노란 박스 제거, 깔끔한 에디토리얼 헤더) */
.m-status-card {
  padding: 4px 0 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-bottom: 1px solid var(--line);
}
.m-status-big { display: flex; align-items: center; gap: 9px; font-size: 23px; font-weight: 600; letter-spacing: -.025em; color: var(--text); }
.m-status-card.is-done .m-status-big { color: var(--good-ink); }
.m-status-big .ic { width: 25px; height: 25px; color: var(--brand); }
.m-status-card.is-done .m-status-big .ic { color: var(--good); }

/* 온보딩 풀스크린 (Airbnb Editorial) */
.ob-shell {
  max-width: 460px;
  min-height: 100dvh;
  margin: 0 auto;
  background: var(--surface);
  display: flex;
  flex-direction: column;
}
@media (min-width: 520px) { .ob-shell { box-shadow: 0 0 0 1px rgba(0, 0, 0, .06), 0 8px 28px rgba(0, 0, 0, .08); } }
.ob-top { height: 58px; padding: 0 20px; display: flex; align-items: center; justify-content: space-between; }
.ob-skip { background: none; border: 0; font-size: 14px; font-weight: 500; color: var(--text-2); cursor: pointer; padding: 8px 4px; text-decoration: underline; text-underline-offset: 3px; }
.ob-skip:hover { color: var(--text); }
.ob-track {
  flex: 1;
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
}
.ob-track::-webkit-scrollbar { display: none; }
.ob-slide {
  flex: 0 0 100%;
  scroll-snap-align: center;
  padding: 8px 24px 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 28px;
}
.ob-art {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--surface-2);
}
.ob-art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ob-copy { text-align: left; padding: 0 2px; }
.ob-step { font-size: 12px; font-weight: 600; color: var(--brand); letter-spacing: .04em; text-transform: uppercase; margin-bottom: 8px; }
.ob-copy h1 { margin: 0 0 10px; font-size: 25px; font-weight: 600; letter-spacing: -.025em; line-height: 1.28; color: var(--text); }
.ob-copy p { margin: 0; font-size: 15px; color: var(--text-2); line-height: 1.6; }
.ob-foot { padding: 12px 24px calc(28px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 18px; }
.ob-dots { display: flex; justify-content: center; gap: 7px; }
.ob-dots button {
  width: 6px;
  height: 6px;
  padding: 0;
  border: 0;
  border-radius: var(--r-full);
  background: var(--line-strong);
  cursor: pointer;
  transition: width .22s, background .22s;
}
.ob-dots button[aria-current="true"] { width: 22px; background: var(--text); }

/* ── 장소 검색 바텀시트 (UX A-1: Airbnb 모바일 검색 오버레이) ── */
.air-sheet-bg {
  position: fixed; inset: 0; background: rgba(0, 0, 0, .48); z-index: 85;
  display: flex; align-items: flex-end; justify-content: center;
}
.air-sheet {
  width: 100%; max-width: 460px; max-height: 88dvh;
  background: var(--surface); border-radius: 20px 20px 0 0;
  display: flex; flex-direction: column; overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.air-sheet-head {
  display: flex; align-items: center; gap: 10px;
  padding: 16px 20px; border-bottom: 1px solid var(--line);
}
.air-sheet-head h2 { margin: 0; font-size: 16px; font-weight: 600; flex: 1; text-align: center; }
.air-sheet-body { flex: 1; overflow-y: auto; padding: 16px 20px calc(24px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 16px; }
.air-search-box {
  position: relative; display: flex; align-items: center;
}
.air-search-box .ic { position: absolute; left: 14px; width: 18px; height: 18px; color: var(--text-2); pointer-events: none; }
.air-search-box input { padding-left: 42px; height: 50px; border-radius: var(--r-full); }
.air-bldg-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.air-bldg-chip {
  padding: 8px 13px; border-radius: var(--r-full); border: 1px solid var(--line-strong);
  background: var(--surface); font-size: 13px; font-weight: 500; cursor: pointer;
}
.air-bldg-chip[aria-pressed="true"] { background: var(--text); color: #fff; border-color: var(--text); font-weight: 600; }

/* ── 공용 & 관리자 데스크톱 화면 호환 스타일 ── */
.topbar { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.topbar .wrap, .topbar .narrow { display: flex; align-items: center; gap: 12px; min-height: 58px; }
.logo { display: flex; align-items: center; gap: 8px; flex: none; white-space: nowrap; font-weight: 600; letter-spacing: -.02em; text-decoration: none; color: var(--text); }
.logo-mark { width: 28px; height: 28px; border-radius: 50%; background: var(--brand); color: var(--brand-ink); display: grid; place-items: center; font-size: 14px; font-weight: 700; }
.topbar nav { margin-left: auto; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; min-width: 0; }
.topbar nav a { white-space: nowrap; text-decoration: none; color: var(--text-2); padding: 7px 11px; border-radius: var(--r-sm); font-size: 14px; font-weight: 500; }
.topbar nav a[aria-current="page"], .topbar nav a:hover { background: var(--surface-2); color: var(--text); }
@media (max-width: 640px) { .topbar .logo span:nth-child(2) { display: none; } .topbar .wrap, .topbar .narrow { gap: 6px; } }

.card { background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--r-md); padding: 20px; }
.card h2, .card h3 { margin: 0 0 10px; font-weight: 600; letter-spacing: -.015em; }
.card h2 { font-size: 17px; } .card h3 { font-size: 15px; }
.grid { display: grid; gap: 14px; }
.stack > * + * { margin-top: 12px; }
.row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.spacer { flex: 1; }
.muted { color: var(--muted); } .sub { color: var(--text-2); } .small { font-size: 13.5px; }
.mono { font-variant-numeric: tabular-nums; font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; }
.num { font-variant-numeric: tabular-nums; }

/* Airbnb 버튼 스펙: 8px 라운드, 48px 높이, weight 500~600, 깔끔한 아웃라인 */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  border: 1px solid var(--text); background: var(--surface);
  min-height: 44px; padding: 10px 18px; border-radius: var(--r-sm); cursor: pointer;
  font-size: 14.5px; font-weight: 500; text-decoration: none; color: var(--text);
  transition: background .14s, border-color .14s, color .14s;
}
.btn:hover { background: var(--surface-2); }
.btn.subtle { border-color: var(--line-strong); }
.btn.subtle:hover { border-color: var(--text); background: var(--surface); }
.btn.primary { background: var(--brand); color: var(--brand-ink); border-color: transparent; font-weight: 600; }
.btn.primary:hover { background: var(--brand-hover); }
.btn.primary:disabled { background: var(--brand-disabled); opacity: 1; }
.btn.ink { background: var(--text); color: #fff; border-color: transparent; font-weight: 600; }
.btn.ink:hover { background: #000; }
.btn.danger { background: var(--critical); color: #fff; border-color: transparent; font-weight: 600; }
.btn.block { width: 100%; }
.btn:disabled { opacity: .48; cursor: not-allowed; }
.btn.lg { min-height: 50px; padding: 13px 22px; font-size: 15.5px; border-radius: var(--r-sm); }
.btn.small { min-height: 36px; padding: 6px 12px; font-size: 13px; }
.btn.ghost { background: transparent; border-color: transparent; color: var(--text); text-decoration: underline; text-underline-offset: 3px; font-weight: 500; }
.btn.ghost:hover { background: var(--surface-2); }

.chip { border: 1px solid var(--line-strong); background: var(--surface); border-radius: var(--r-full); padding: 7px 14px; font-size: 13.5px; font-weight: 500; cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--text); color: #fff; border-color: var(--text); }

.badge { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: var(--r-full); font-size: 12px; font-weight: 500; background: var(--surface-2); color: var(--text); white-space: nowrap; }
.badge .dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.trade-dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.sev { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; font-size: 12px; padding: 3px 8px; border-radius: 6px; }
.sev-긴급 { background: var(--critical); color: #fff; }
.sev-높음 { background: #fff4ed; color: var(--serious); }
.sev-보통 { background: var(--surface-2); color: var(--text-2); }
.sev-낮음 { background: var(--surface-2); color: var(--muted); }

/* Airbnb 폼 입력: 56px 높이, 8px 라운드, 1px hairline, 포커스 2px solid #222222 (글로우 없음) */
label.f { display: block; font-size: 13px; font-weight: 500; color: var(--text-2); margin: 0 0 6px; }
input[type=text], input[type=search], input[type=time], input[type=date], select, textarea {
  width: 100%; border: 1px solid var(--line-strong); background: var(--surface);
  border-radius: var(--r-sm); padding: 14px 13px; font-size: 15px; color: var(--text);
  transition: border-color .14s;
}
input[type=text], input[type=search], select { min-height: 52px; }
input[type=text]:focus, input[type=search]:focus, input[type=time]:focus, input[type=date]:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--text);
  box-shadow: inset 0 0 0 1px var(--text);
}
textarea { min-height: 88px; resize: vertical; }

table.t { width: 100%; border-collapse: collapse; font-size: 14px; }
table.t th { text-align: left; font-weight: 600; color: var(--text-2); font-size: 12.5px; border-bottom: 1px solid var(--line); padding: 8px; white-space: nowrap; }
table.t td { border-bottom: 1px solid var(--line); padding: 9px 8px; vertical-align: top; }
table.t tr.clickable { cursor: pointer; }
table.t tr.clickable:hover td { background: var(--surface-2); }
.table-scroll { overflow-x: auto; }

.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { position: relative; padding: 0 0 16px 24px; }
.timeline li::before { content: ""; position: absolute; left: 5px; top: 7px; width: 8px; height: 8px; border-radius: 50%; background: var(--text); }
.timeline li::after { content: ""; position: absolute; left: 8.5px; top: 19px; bottom: 0; width: 1px; background: var(--line-strong); }
.timeline li:last-child { padding-bottom: 0; }
.timeline li:last-child::after { display: none; }
.timeline .when { font-size: 12.5px; color: var(--muted); margin-top: 2px; }

.notice { border-radius: var(--r-md); padding: 14px 16px; background: var(--surface-2); border: 1px solid var(--line-strong); font-size: 14px; line-height: 1.5; }
.notice.ok { border-color: color-mix(in srgb, var(--good) 35%, transparent); background: var(--good-soft); color: var(--good-ink); }
.notice.warn { border-color: color-mix(in srgb, var(--warning) 35%, transparent); background: var(--warning-soft); color: var(--warning-ink); }
.notice.err { border-color: color-mix(in srgb, var(--critical) 35%, transparent); background: var(--critical-soft); color: var(--critical-ink); }

.kpi { display: flex; flex-direction: column; gap: 2px; }
.kpi .v { font-size: 28px; font-weight: 700; letter-spacing: -.02em; font-variant-numeric: tabular-nums; line-height: 1.1; }
.kpi .l { color: var(--text-2); font-size: 13px; }
.kpi .d { font-size: 12.5px; color: var(--muted); }

.tooltip { position: fixed; pointer-events: none; background: var(--text); color: var(--surface); padding: 7px 10px; border-radius: 8px; font-size: 12.5px; z-index: 100; max-width: 260px; box-shadow: var(--shadow); display: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.toast {
  position: fixed; left: 50%; top: 68px; transform: translateX(-50%);
  background: rgba(34, 34, 34, .94); color: #ffffff; padding: 10px 18px;
  border-radius: var(--r-full); z-index: 200; font-size: 13.5px; font-weight: 500;
  box-shadow: var(--shadow-lg); max-width: calc(100vw - 32px);
  display: inline-flex; align-items: center; gap: 10px;
  backdrop-filter: blur(8px);
}
.toast.is-sticky, .toast.has-action { padding: 10px 12px 10px 18px; }
.toast-close {
  border: 0; background: rgba(255, 255, 255, .16); color: #fff;
  padding: 4px 10px; border-radius: var(--r-full); font-size: 12px; font-weight: 500; cursor: pointer;
}
.hidden { display: none !important; }
.spinner { width: 17px; height: 17px; border: 2px solid var(--line-strong); border-top-color: currentColor; border-radius: 50%; animation: spin .75s linear infinite; display: inline-block; vertical-align: middle; }
@keyframes spin { to { transform: rotate(360deg); } }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--good); display: inline-block; box-shadow: 0 0 0 0 var(--good); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--good) 55%, transparent); } 70% { box-shadow: 0 0 0 7px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }

/* 공유·완료·모달·라이트박스 */
.v2-tag { display: inline-flex; align-items: center; padding: 2px 7px; border-radius: 6px; font-size: 11px; font-weight: 600; background: var(--brand); color: var(--brand-ink); letter-spacing: .02em; }
.v2-ext-bar { background: var(--surface-2); border-bottom: 1px solid var(--line); padding: 8px 16px; font-size: 13px; color: var(--text-2); }
.v2-ext-bar .wrap { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.v2-share-grid { display: grid; grid-template-columns: 1fr; gap: 8px; }
.v2-btn-kakao { background: #fee500; color: #191600; border-color: transparent; font-weight: 600; }
.v2-btn-kakao:hover { background: #f5dc00; }
.v2-btn-sms { background: var(--surface); color: var(--text); border-color: var(--line-strong); font-weight: 500; }
.v2-share-sub { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.v2-preview-pre { white-space: pre-wrap; font-family: inherit; font-size: 13px; line-height: 1.55; background: var(--surface-2); border-radius: 10px; padding: 12px; margin: 0; word-break: break-word; color: var(--body-ink); }
.v2-link-box { display: flex; align-items: center; gap: 8px; background: var(--surface-2); border-radius: 10px; padding: 8px 10px 8px 12px; }
.v2-link-box a { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13.5px; font-weight: 500; text-decoration: none; }
.v2-complete-btn { min-height: 50px; font-size: 15.5px; font-weight: 600; background: var(--good); color: #fff; border-color: transparent; border-radius: var(--r-sm); }
.v2-complete-btn:hover { filter: brightness(1.06); }
.v2-modal-bg { position: fixed; inset: 0; background: rgba(0, 0, 0, .5); z-index: 80; display: flex; align-items: flex-end; justify-content: center; padding: 12px; }
@media (min-width: 560px) { .v2-modal-bg { align-items: center; } }
.v2-modal { width: 100%; max-width: 410px; background: var(--surface); border-radius: var(--r-lg); padding: 24px 20px; box-shadow: var(--shadow-lg); }
.v2-pin-input { width: 100%; font-size: 26px; letter-spacing: .38em; text-align: center; padding: 12px; border: 1px solid var(--line-strong); border-radius: var(--r-sm); background: var(--surface); font-variant-numeric: tabular-nums; }
.v2-pin-input:focus { outline: none; border-color: var(--text); box-shadow: inset 0 0 0 1px var(--text); }
.v2-lightbox { position: fixed; inset: 0; background: rgba(0, 0, 0, .9); z-index: 90; display: grid; place-items: center; padding: 16px; cursor: zoom-out; }
.v2-lightbox img { max-width: 100%; max-height: 92vh; border-radius: 12px; }

/* 기존 track.html 호환 */
.student .topbar nav { display: none; }
.s-main { padding-top: 14px; padding-bottom: 90px; }
.s-touch { min-height: 46px; }
.s-room { font-weight: 600; font-size: 19px; }
.s-track-hero > * + * { margin-top: 10px; }
.s-eta-v { font-size: 24px; font-weight: 700; letter-spacing: -.02em; }
.s-eta-v.ok { color: var(--good-ink); }
.s-prog { height: 6px; border-radius: var(--r-full); background: var(--surface-2); overflow: hidden; }
.s-prog span { display: block; height: 100%; border-radius: var(--r-full); background: var(--brand); transition: width .6s ease; }
.s-steps { list-style: none; margin: 0; padding: 0; }
.s-step { position: relative; display: flex; gap: 12px; padding-bottom: 18px; }
.s-step:last-child { padding-bottom: 0; }
.s-step::before { content: ""; position: absolute; left: 19px; top: 40px; bottom: 2px; width: 2px; background: var(--line); }
.s-step:last-child::before { display: none; }
.s-step.done::before { background: var(--brand); }
.s-dot { width: 40px; height: 40px; border-radius: 50%; flex: none; display: grid; place-items: center; font-size: 16px; background: var(--surface-2); border: 1.5px solid var(--line-strong); position: relative; z-index: 1; }
.s-step.done .s-dot { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); font-weight: 700; }
.s-step.now .s-dot { background: var(--surface); border-color: var(--brand); }
.s-step-l { font-weight: 600; font-size: 15px; }
.s-log summary { cursor: pointer; display: flex; align-items: center; gap: 8px; list-style: none; padding: 14px 0; }
.s-log summary::-webkit-details-marker { display: none; }
.s-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.s-actions .btn { flex: 1 1 140px; }

@media (prefers-reduced-motion: reduce) { .live-dot, .spinner { animation: none; } }
@media print { .bottom-nav, .app-sticky-cta { display: none !important; } }

/* ── 기사님 전용 앱 (/staff.html) & 3단계 진행 스테퍼 ── */
body.st-lg { font-size: 17px; }
body.st-lg .m-row-title, body.st-lg .st-room { font-size: 18px; }
body.st-lg .m-row-sub, body.st-lg .st-sym { font-size: 15px; }
body.st-lg .btn { min-height: 52px; font-size: 16px; }

.cat-badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 9px; border-radius: var(--r-full); font-size: 12px; font-weight: 500;
  background: var(--surface-2); color: var(--text); white-space: nowrap;
}
.cat-dot { width: 7px; height: 7px; border-radius: 50%; flex: none; }

/* 3단계 진행 스테퍼 (미니멀 플랫) */
.st-stepper {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px;
  padding: 6px 0 14px;
  border-bottom: 1px solid var(--line);
}
.st-step {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px;
  text-align: center; font-size: 11.5px; font-weight: 500; color: var(--muted-soft);
}
.st-step::before {
  content: ""; position: absolute; top: 12px; left: -50%; right: 50%; height: 2px;
  background: var(--line); z-index: 0;
}
.st-step:first-child::before { display: none; }
.st-step.is-done::before, .st-step.is-now::before { background: var(--brand); }
.st-step-dot {
  position: relative; z-index: 1; width: 24px; height: 24px; border-radius: 50%;
  background: var(--surface); border: 1.5px solid var(--line-strong);
  display: grid; place-items: center; font-size: 11px; font-weight: 600; color: var(--muted);
}
.st-step-dot .ic { width: 13px; height: 13px; }
.st-step.is-done .st-step-dot { background: var(--brand); border-color: var(--brand); color: #fff; }
.st-step.is-now .st-step-dot { background: var(--surface); border-color: var(--brand); color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
.st-step.is-done, .st-step.is-now { color: var(--text); font-weight: 600; }
.st-step.is-complete .st-step-dot { background: var(--good); border-color: var(--good); color: #fff; }
.st-step.is-complete::before { background: var(--good); }
.st-step.is-complete { color: var(--good-ink); font-weight: 600; }

/* 기사님 범주 선택 그리드 */
.st-cat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.st-cat-btn {
  display: flex; flex-direction: column; align-items: flex-start; gap: 6px;
  padding: 15px 14px; border-radius: var(--r-md); border: 1px solid var(--line-strong);
  background: var(--surface); text-align: left; cursor: pointer;
  transition: border-color .14s, background .14s;
}
.st-cat-btn:hover { border-color: var(--text); }
.st-cat-btn[aria-pressed="true"] { border-color: var(--brand); box-shadow: inset 0 0 0 1px var(--brand); background: var(--brand-soft); }
.st-cat-top { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.st-cat-btn b { font-size: 15.5px; font-weight: 600; color: var(--text); }
.st-cat-btn span.desc { font-size: 12.5px; color: var(--text-2); line-height: 1.4; }
.st-cat-cnt {
  min-width: 24px; height: 22px; padding: 0 7px; border-radius: var(--r-full);
  background: var(--surface-2); color: var(--text-2); font-size: 12px; font-weight: 600;
  display: inline-grid; place-items: center; font-variant-numeric: tabular-nums;
}
.st-cat-cnt.has { background: var(--brand); color: #fff; }

/* 상단 인앱 푸시 알림 배너 */
.st-push {
  position: fixed; top: 10px; left: 50%; transform: translateX(-50%);
  width: calc(100% - 24px); max-width: 436px; z-index: 95;
  background: #222222; color: #fff; border-radius: var(--r-md); padding: 13px 14px;
  box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 12px;
  animation: st-drop .25s ease both;
}
@keyframes st-drop { from { opacity: 0; transform: translate(-50%, -16px); } to { opacity: 1; transform: translate(-50%, 0); } }
.st-push-ic { width: 38px; height: 38px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; flex: none; }
.st-push-body { flex: 1; min-width: 0; }
.st-push-title { font-size: 13.5px; font-weight: 600; }
.st-push-sub { font-size: 12.5px; color: rgba(255, 255, 255, .78); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.st-push .btn { min-height: 36px; padding: 6px 12px; font-size: 12.5px; border-radius: var(--r-sm); white-space: nowrap; }

/* 기사님 접수함 통계 (Airbnb 숫자 컬럼 — 3개 박스 탈피, 헤어라인 분할) */
.st-kpi-strip {
  display: grid; grid-template-columns: repeat(3, 1fr);
  padding: 12px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.st-kpi { text-align: center; padding: 2px 8px; border-right: 1px solid var(--line); }
.st-kpi:last-child { border-right: 0; }
.st-kpi b { display: block; font-size: 24px; font-weight: 700; font-variant-numeric: tabular-nums; line-height: 1.15; color: var(--text); }
.st-kpi span { font-size: 12px; font-weight: 500; color: var(--text-2); }
.st-kpi.is-new b { color: var(--brand); }
.st-kpi.is-done b { color: var(--good); }

/* 기사님 접수함 행 (UX B-2: 큰 76px 라운드 썸네일 + 헤어라인 플랫) */
.st-item {
  width: 100%; text-align: left; cursor: pointer;
  display: flex; align-items: flex-start; gap: 14px;
  padding: 16px 0; border: 0; border-bottom: 1px solid var(--line);
  background: transparent;
  transition: opacity .14s;
}
.st-item:last-child { border-bottom: 0; }
.st-item:active { opacity: .72; }
.st-item.is-urgent { padding-left: 10px; border-left: 3px solid var(--critical); }
.st-thumb {
  width: 76px; height: 76px; border-radius: 12px; object-fit: cover; flex: none;
  background: var(--surface-2);
}
.st-thumb-ic {
  width: 76px; height: 76px; border-radius: 12px; flex: none;
  background: var(--surface-2); color: var(--text-2); display: grid; place-items: center;
}
.st-thumb-ic .ic { width: 26px; height: 26px; stroke-width: 1.7; }
.st-item-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.st-room { font-size: 16px; font-weight: 600; letter-spacing: -.015em; color: var(--text); }
.st-sym { font-size: 13.5px; color: var(--text-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.st-spec-pill {
  display: inline-flex; align-items: center; gap: 5px; align-self: flex-start;
  padding: 3px 9px; border-radius: 6px; font-size: 12px; font-weight: 600;
  background: var(--brand-soft); color: var(--brand); margin-top: 2px;
}
.st-spec-highlight {
  padding: 16px; border-radius: var(--r-md); background: var(--surface-2);
  border: 1px solid var(--line-strong);
}
.st-spec-highlight .lbl { font-size: 12.5px; font-weight: 600; color: var(--brand); margin-bottom: 4px; display: flex; align-items: center; flex-wrap: wrap; gap: 4px; }
.st-spec-highlight .val { font-size: 17px; font-weight: 600; color: var(--text); }
.st-cat-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: var(--r-full); border: 1px solid var(--line-strong);
  background: var(--surface); font-size: 13px; font-weight: 600; cursor: pointer; color: var(--text);
}
/* UX B-1: 상세 화면 단일 고정 액션 바 (하단 탭 바 숨김 → 화면 1/3 가림 해소!) */
.st-action-bar {
  position: fixed; left: 50%; transform: translateX(-50%);
  bottom: 0;
  width: 100%; max-width: 460px; z-index: 42;
  padding: 12px 20px calc(14px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .98);
  backdrop-filter: blur(12px); border-top: 1px solid var(--line-strong);
  box-shadow: 0 -4px 16px rgba(0, 0, 0, .06);
  display: flex; flex-direction: column; gap: 8px;
}
.st-action-meta {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  font-size: 12.5px; color: var(--text-2);
}
.st-action-meta b { color: var(--text); font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.st-sub-acts { display: flex; align-items: center; justify-content: space-around; gap: 8px; padding-top: 2px; }
.st-sub-acts .btn { flex: 1; min-height: 38px; padding: 6px 10px; font-size: 13px; }

/* 근무시간 외 방해금지 · 당직 배너 & 긴급 전화 버튼 */
.m-offhours {
  display: flex; align-items: flex-start; gap: 11px;
  padding: 14px 16px; border-radius: var(--r-md);
  background: var(--surface-2); border: 1px solid var(--line-strong);
  color: var(--text); font-size: 13.5px; line-height: 1.5;
}
.m-offhours .ic { flex: none; margin-top: 2px; color: var(--text); width: 18px; height: 18px; }
.m-offhours.is-dnd { background: var(--surface-2); border-color: var(--line-strong); color: var(--text); }
.m-offhours.is-duty { background: #fff7ed; border-color: #fed7aa; color: #9a3412; }
.m-offhours.is-duty .ic { color: #ea580c; }
.m-offhours.is-queue { background: var(--brand-soft); border-color: color-mix(in srgb, var(--brand) 28%, transparent); color: var(--text); }
.m-offhours.is-queue .ic { color: var(--brand); }

.btn-call-emerg {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; min-height: 48px; padding: 12px 16px; border-radius: var(--r-sm);
  background: var(--critical); color: #fff; font-weight: 600; font-size: 15px;
  text-decoration: none; border: 0;
}
.btn-call-emerg:hover { filter: brightness(1.06); color: #fff; }
.btn-call-emerg .ic { width: 18px; height: 18px; }

.st-duty-pill {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 5px 10px; border-radius: var(--r-full); border: 1px solid var(--line-strong);
  background: var(--surface); font-size: 12px; font-weight: 600;
  cursor: pointer; white-space: nowrap; color: var(--text-2);
}
.st-duty-pill .ic { width: 13px; height: 13px; }
.st-duty-pill.is-live { background: var(--good-soft); border-color: transparent; color: var(--good-ink); }
.st-duty-pill.is-dnd { background: var(--surface-2); border-color: var(--line-strong); color: var(--text); }
.st-duty-pill.is-duty { background: var(--critical-soft); border-color: transparent; color: var(--critical-ink); }
.st-duty-pill.is-off { background: var(--surface-2); border-color: var(--line-strong); color: var(--muted); }

.st-seg {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px;
  padding: 4px; border-radius: 10px; background: var(--surface-2);
}
.st-seg button {
  min-height: 40px; border: 0; border-radius: 7px; background: transparent;
  font-weight: 500; font-size: 13.5px; color: var(--text-2); cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
}
.st-seg button[aria-pressed="true"] { background: var(--surface); color: var(--text); font-weight: 600; box-shadow: var(--shadow); }
.st-seg button[data-ws="off"][aria-pressed="true"] { background: var(--text); color: #fff; }
.st-seg button[data-ws="working"][aria-pressed="true"] { background: var(--brand); color: #fff; }

/* 원터치 완료·보류 프리셋 칩 (UX B-3) */
.st-preset-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.st-preset-chip {
  padding: 7px 12px; border-radius: var(--r-full); border: 1px solid var(--line-strong);
  background: var(--surface); font-size: 13px; font-weight: 500; color: var(--text); cursor: pointer;
}
.st-preset-chip:hover { border-color: var(--text); background: var(--surface-2); }

/* 스핀 피드백 (수동 새로고침) */
.is-spinning { animation: spin .7s linear infinite; }

/* ══════════════════════════════════════════════════════════════════
 * 모션 시스템: View Transitions · Shape Morphing · Layout Animation · Micro-interactions
 * (GPU 가속 transform/opacity 중심, prefers-reduced-motion 완전 준수)
 * ══════════════════════════════════════════════════════════════════ */
@view-transition { navigation: auto; }
.app-top { view-transition-name: gg-top; }
.bottom-nav { view-transition-name: gg-bnav; }
@keyframes vt-out { from { opacity: 1; transform: translateY(0); } to { opacity: 0; transform: translateY(-4px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
::view-transition-old(root) { animation: vt-out .16s ease-in both; }
::view-transition-new(root) { animation: vt-in .24s cubic-bezier(.22, 1, .36, 1) both; }

/* ── 1. Shape Morphing: 전송 버튼 (직사각 8px → 50px 원형 로더 → 초록 체크 필) ── */
.btn-morph {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; height: 50px; margin: 0 auto;
  border-radius: var(--r-sm);
  transition: width .36s cubic-bezier(.22, 1, .36, 1),
              border-radius .36s cubic-bezier(.22, 1, .36, 1),
              background-color .28s ease,
              transform .14s cubic-bezier(.22, 1, .36, 1);
  overflow: hidden; white-space: nowrap;
}
.btn-morph.is-loading {
  width: 50px; padding: 0; border-radius: 50%;
  background: var(--brand); color: #fff; opacity: 1;
}
.btn-morph.is-done {
  width: 176px; border-radius: var(--r-full);
  background: var(--good); color: #fff; opacity: 1;
}
.btn-morph.is-done .ic path { stroke-dasharray: 32; stroke-dashoffset: 32; animation: check-draw .36s cubic-bezier(.22, 1, .36, 1) .06s forwards; }
@keyframes check-draw { to { stroke-dashoffset: 0; } }

/* ── 2. Shape Morphing: 스테퍼 연속 진행 바 + SVG 체크 드로우 ── */
.st-stepper { position: relative; }
.st-step::before { display: none !important; }
.st-stepper-track {
  position: absolute; top: 18px; left: 12.5%; right: 12.5%; height: 2px;
  background: var(--line); z-index: 0; border-radius: 2px; overflow: hidden;
}
.st-stepper-fill {
  display: block; height: 100%; width: var(--step-pct, 0%);
  background: var(--brand);
  transition: width .48s cubic-bezier(.22, 1, .36, 1), background-color .3s ease;
}
.st-stepper.is-all-done .st-stepper-fill { background: var(--good); }
.st-step-dot {
  transition: background-color .3s ease, border-color .3s ease, transform .3s cubic-bezier(.34, 1.56, .64, 1), box-shadow .3s ease;
}
.st-step.is-done .st-step-dot .ic path,
.st-step.is-complete .st-step-dot .ic path {
  stroke-dasharray: 32; stroke-dashoffset: 32;
  animation: check-draw .4s cubic-bezier(.22, 1, .36, 1) .1s forwards;
}

/* ── 3. Shape Morphing: 사진 업로드 프레임 모핑 + 플로팅 배지 스프링 팝 ── */
@keyframes photo-morph {
  from { opacity: 0; transform: scale(.94); border-radius: 22px; }
  to { opacity: 1; transform: scale(1); border-radius: var(--r-md); }
}
@keyframes pop-in {
  0% { opacity: 0; transform: scale(.72); }
  70% { opacity: 1; transform: scale(1.06); }
  100% { opacity: 1; transform: scale(1); }
}
.air-photo-frame.is-morph-in { animation: photo-morph .34s cubic-bezier(.22, 1, .36, 1) both; }
.air-photo-frame.is-morph-in .air-float-badge { animation: pop-in .32s cubic-bezier(.22, 1, .36, 1) .14s both; }
.air-photo-frame.is-morph-in .air-float-close { animation: pop-in .32s cubic-bezier(.22, 1, .36, 1) .18s both; }

/* ── 4. Layout Animation: 슬라이딩 밑줄 탭 & 슬라이딩 세그먼트 썸 ── */
.air-tabs { position: relative; }
.air-tab[aria-pressed="true"]::after { display: none; }
.air-tab-ink {
  position: absolute; bottom: -1px; left: 0; height: 2px;
  background: var(--text); border-radius: 2px; pointer-events: none;
  transition: transform .28s cubic-bezier(.22, 1, .36, 1), width .28s cubic-bezier(.22, 1, .36, 1);
}
.st-seg { position: relative; }
.st-seg button { position: relative; z-index: 1; transition: color .22s ease; }
.st-seg button[aria-pressed="true"] { background: transparent !important; box-shadow: none !important; }
.st-seg-thumb {
  position: absolute; top: 4px; bottom: 4px; left: 0; z-index: 0;
  border-radius: 7px; background: var(--brand); box-shadow: var(--shadow);
  transition: transform .28s cubic-bezier(.22, 1, .36, 1), width .28s cubic-bezier(.22, 1, .36, 1), background-color .24s ease;
}
.st-seg.is-off .st-seg-thumb { background: var(--text); }

/* ── 5. Layout Animation: 부드러운 아코디언 (grid-template-rows) & details 쉐브론 회전 ── */
.air-collapse {
  display: grid; grid-template-rows: 0fr; opacity: 0;
  transition: grid-template-rows .28s cubic-bezier(.22, 1, .36, 1), opacity .22s ease;
}
.air-collapse.is-open { grid-template-rows: 1fr; opacity: 1; }
.air-collapse > div { overflow: hidden; }
.s-log .m-chev { transition: transform .24s cubic-bezier(.22, 1, .36, 1); }
.s-log[open] .m-chev { transform: rotate(90deg); }

/* ── 6. Layout Animation: 바텀시트·모달 스프링 & 그랩 핸들 ── */
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes sheet-up { from { transform: translateY(100%); } to { transform: translateY(0); } }
@keyframes modal-pop { from { opacity: 0; transform: translateY(28px) scale(.97); } to { opacity: 1; transform: translateY(0) scale(1); } }
.air-sheet-bg, .v2-modal-bg { animation: fade-in .2s ease both; }
.air-sheet { animation: sheet-up .32s cubic-bezier(.22, 1, .36, 1) both; }
.v2-modal { animation: modal-pop .28s cubic-bezier(.22, 1, .36, 1) both; }
.air-handle {
  width: 38px; height: 4px; border-radius: 9999px; background: var(--line-strong);
  margin: 10px auto 2px; flex: none;
}

/* ── 7. Layout Animation: 기사님 상세 슬라이드인 · 하단 탭 바 슬라이드다운 · 액션 바 스프링업 ── */
@keyframes detail-in { from { opacity: 0; transform: translateX(18px); } to { opacity: 1; transform: translateX(0); } }
@keyframes bar-up { from { opacity: 0; transform: translate(-50%, 100%); } to { opacity: 1; transform: translate(-50%, 0); } }
.st-detail-anim { animation: detail-in .26s cubic-bezier(.22, 1, .36, 1) both; }
.bottom-nav { transition: transform .26s cubic-bezier(.22, 1, .36, 1), opacity .2s ease; }
.bottom-nav.is-nav-hidden { transform: translate(-50%, 110%); opacity: 0; pointer-events: none; }
.st-action-bar { animation: bar-up .3s cubic-bezier(.22, 1, .36, 1) both; }

/* ── 8. Micro-interactions: 탄성 탭 · 규격 확정 펄스 · 토스트 스프링 · 스켈레톤 쉬머 · PTR · 라이트박스 ── */
.btn:active:not(:disabled), .m-sym:active, .m-spec-chip:active, .m-fchip:active, .air-pill-bar:active, .m-room-pill:active, .st-preset-chip:active {
  transform: scale(.97);
}
.air-pill-bar { transition: box-shadow .18s ease, transform .14s cubic-bezier(.22, 1, .36, 1); }
.air-pill-bar:active .air-orb { transform: scale(.92); }
.air-orb { transition: transform .18s cubic-bezier(.22, 1, .36, 1), background-color .15s ease; }
.m-sym { transition: border-color .14s, background .14s, transform .14s cubic-bezier(.22, 1, .36, 1); }
.m-sym.is-pop { animation: pop-in .22s cubic-bezier(.22, 1, .36, 1); }
.m-spec-chip { transition: border-color .14s, background .14s, color .14s, transform .14s cubic-bezier(.22, 1, .36, 1); }
.pill.is-confirmed-pop { animation: pop-in .32s cubic-bezier(.22, 1, .36, 1); }
@keyframes row-pulse {
  0% { background: var(--good-soft); }
  100% { background: transparent; }
}
.is-highlight-pulse { animation: row-pulse 1.1s ease both; border-radius: 8px; }

/* 토스트 스프링 입장 · 부드러운 페이드아웃 퇴장 & 실행 취소 버튼 */
@keyframes toast-in {
  from { opacity: 0; transform: translate(-50%, -12px) scale(.96); }
  to { opacity: 1; transform: translate(-50%, 0) scale(1); }
}
@keyframes toast-out {
  from { opacity: 1; transform: translate(-50%, 0) scale(1); }
  to { opacity: 0; transform: translate(-50%, -8px) scale(.97); }
}
.toast { animation: toast-in .26s cubic-bezier(.22, 1, .36, 1) both; }
.toast.is-leaving { animation: toast-out .45s cubic-bezier(.4, 0, .2, 1) forwards; pointer-events: none; }
.toast-act {
  border: 0; background: var(--brand); color: #fff;
  padding: 5px 11px; border-radius: var(--r-full); font-size: 12px; font-weight: 600; cursor: pointer;
}
.toast-act:hover { background: var(--brand-hover); }

/* 스켈레톤 쉬머 */
@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
.skel {
  background: linear-gradient(90deg, var(--surface-2) 25%, var(--line) 50%, var(--surface-2) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s ease-in-out infinite;
  border-radius: 8px;
}
.skel-row { display: flex; align-items: center; gap: 14px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.skel-row:last-child { border-bottom: 0; }
.skel-thumb { width: 64px; height: 64px; border-radius: 12px; flex: none; }
.skel-lines { flex: 1; display: flex; flex-direction: column; gap: 8px; }
.skel-line { height: 14px; border-radius: 6px; }

/* Pull-to-Refresh 원형 인디케이터 */
.ptr-indicator {
  position: fixed; top: 18px; left: 50%; z-index: 70;
  transform: translate(-50%, -24px); opacity: 0; pointer-events: none;
}
.ptr-orb {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--surface); color: var(--text);
  box-shadow: var(--shadow-lg); border: 1px solid var(--line);
  display: grid; place-items: center;
  transition: color .15s ease;
}
.ptr-indicator.is-ready .ptr-orb { color: var(--brand); }
.ptr-orb .ic { width: 18px; height: 18px; }

/* 라이트박스 줌인/줌아웃 */
@keyframes lb-img-in { from { opacity: 0; transform: scale(.88); } to { opacity: 1; transform: scale(1); } }
@keyframes fade-out { from { opacity: 1; } to { opacity: 0; } }
@keyframes lb-img-out { from { opacity: 1; transform: scale(1); } to { opacity: 0; transform: scale(.92); } }
.v2-lightbox { animation: fade-in .2s ease both; }
.v2-lightbox img { animation: lb-img-in .26s cubic-bezier(.22, 1, .36, 1) both; }
.v2-lightbox.is-closing { animation: fade-out .18s ease forwards; pointer-events: none; }
.v2-lightbox.is-closing img { animation: lb-img-out .18s ease forwards; }
.v2-lb-close {
  position: fixed; top: 16px; right: 16px; width: 40px; height: 40px;
  border-radius: 50%; border: 0; background: rgba(255, 255, 255, .18); color: #fff;
  display: grid; place-items: center; cursor: pointer; backdrop-filter: blur(8px);
}

/* 중복 신고 안내 배너 (report.html) */
.air-dup-card {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 14px; border-radius: var(--r-md);
  background: var(--brand-soft); border: 1px solid color-mix(in srgb, var(--brand) 24%, transparent);
  text-decoration: none; color: var(--text);
  animation: fade-in .24s ease both;
}
.air-dup-card .ic { color: var(--brand); flex: none; }
.air-dup-body { flex: 1; min-width: 0; }
.air-dup-title { font-size: 13.5px; font-weight: 600; color: var(--text); }
.air-dup-sub { font-size: 12.5px; color: var(--text-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none !important; }
}
