/* ──────────────────────────────────────────────────────────
   창고·재고 관리 — 관리자 운영 인터랙티브 워크스루 (전자책형)
   실제 앱(storage.designch.or.kr)의 디자인 토큰·컴포넌트를 재현.
   ────────────────────────────────────────────────────────── */
:root {
  --primary: #1e3a8a;
  --primary-d: #152a63;
  --bg: #f5f5f7;
  --card: #ffffff;
  --text: #1f2937;
  --muted: #6b7280;
  --border: #e5e7eb;
  --danger: #dc2626;
  --success: #16a34a;
  --warn: #d97706;
  --radius: 14px;
  --book-bg: #0f172a;
  --book-bg2: #1e293b;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  color: var(--text);
  background: radial-gradient(1200px 700px at 50% -10%, #24406e 0%, var(--book-bg) 55%, #0a0f1d 100%);
  min-height: 100vh; display: flex; flex-direction: column;   /* 하단 도크를 화면 바닥에 밀착 */
}
.hidden { display: none !important; }

/* ── 상단 바 (제목 + 진행률) ─────────────────────────────── */
.wt-top {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px; color: #fff;
  background: rgba(15,23,42,.72); backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.wt-top .brand { font-weight: 800; font-size: 16px; letter-spacing: -.02em; display: flex; align-items: center; gap: 8px; }
.wt-top .brand .logo { font-size: 20px; }
.wt-top .spacer { flex: 1; }
.wt-top .toc-btn {
  background: rgba(255,255,255,.1); color: #fff; border: 1px solid rgba(255,255,255,.15);
  border-radius: 10px; padding: 8px 12px; font-size: 13px; font-weight: 600; cursor: pointer;
}
.wt-top .toc-btn:hover { background: rgba(255,255,255,.18); }
.wt-progress { position: absolute; left: 0; bottom: 0; height: 3px; background: #60a5fa; width: 0; transition: width .35s ease; }

/* ── 무대 (책) ───────────────────────────────────────────── */
.wt-stage {
  max-width: 1080px; margin: 0 auto; padding: 26px 18px 40px;
  perspective: 1800px;
  flex: 1 0 auto; width: 100%;   /* 남는 공간을 채워 하단 도크를 바닥으로 */
}
.wt-flip { transform-style: preserve-3d; }
.wt-flip.spread {
  display: grid; column-gap: 30px; row-gap: 16px; align-items: start;
  grid-template-columns: minmax(300px, 380px) 1fr;
  grid-template-areas: "device head" "device body";
}
.wt-flip.spread .device { grid-area: device; }
.wt-flip.spread .wt-head { grid-area: head; }
.wt-flip.spread .wt-body { grid-area: body; }
.wt-flip.flip-next { animation: flipNext .5s ease both; }
.wt-flip.flip-prev { animation: flipPrev .5s ease both; }
@keyframes flipNext {
  0% { transform: rotateY(0) translateX(0); opacity: 1; }
  45% { transform: rotateY(-14deg) translateX(-16px); opacity: .25; }
  55% { transform: rotateY(14deg) translateX(16px); opacity: .25; }
  100% { transform: rotateY(0) translateX(0); opacity: 1; }
}
@keyframes flipPrev {
  0% { transform: rotateY(0) translateX(0); opacity: 1; }
  45% { transform: rotateY(14deg) translateX(16px); opacity: .25; }
  55% { transform: rotateY(-14deg) translateX(-16px); opacity: .25; }
  100% { transform: rotateY(0) translateX(0); opacity: 1; }
}

/* ── 디바이스(폰) 목업 ───────────────────────────────────── */
.device {
  width: 100%; max-width: 360px; margin: 0 auto;
  background: linear-gradient(160deg,#2b2b30,#111114); border-radius: 44px; padding: 12px;
  box-shadow: 0 30px 60px rgba(0,0,0,.5), inset 0 0 0 2px rgba(255,255,255,.06);
}
.device .notch { height: 22px; display: flex; justify-content: center; }
.device .notch::before { content: ""; width: 120px; height: 22px; background: #111114; border-radius: 0 0 16px 16px; }
.screen {
  position: relative; background: var(--bg); border-radius: 32px; overflow: hidden;
  height: 660px; display: flex; flex-direction: column;
}
.screen .app-header {
  flex: 0 0 auto; height: 50px; background: var(--primary); color: #fff;
  display: flex; align-items: center; gap: 8px; padding: 0 14px; font-weight: 600; font-size: 16px;
}
.screen .app-header .back { font-size: 22px; opacity: .9; }
.screen .app-header .h-title { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.screen .app-header .h-user { font-size: 12px; opacity: .85; }
.screen .app-view { flex: 1; overflow-y: auto; padding: 14px; }
.screen .app-view::-webkit-scrollbar { width: 0; }
.screen.auth .app-view { padding-top: 30px; }
.screen .app-nav {
  flex: 0 0 auto; height: 58px; background: var(--card); border-top: 1px solid var(--border);
  display: flex;
}
.screen .app-nav .nav-i {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2px; color: var(--muted); font-size: 10px;
}
.screen .app-nav .nav-i .ico { font-size: 18px; }
.screen .app-nav .nav-i.active { color: var(--primary); font-weight: 700; }

/* 화면 안 '탭 하이라이트' 펄스 (인터랙티브 힌트) */
.tap-hint { position: relative; }
.tap-hint::after {
  content: ""; position: absolute; inset: -4px; border: 2px solid #f59e0b; border-radius: 12px;
  animation: pulse 1.6s ease-in-out infinite; pointer-events: none;
}
@keyframes pulse { 0%,100% { opacity: .25; } 50% { opacity: 1; } }

/* ── 목업 안 모달 오버레이 ───────────────────────────────── */
.screen .m-back { position: absolute; inset: 0; background: rgba(0,0,0,.4); display: flex; align-items: flex-end; z-index: 5; }
.screen .m-box { background: #fff; width: 100%; border-radius: 18px 18px 0 0; padding: 18px; max-height: 86%; overflow-y: auto; }
.screen .m-box h3 { margin: 0 0 12px; font-size: 16px; }

/* ── 설명 패널 (head=제목/요약, body=체크리스트/팁) ──────── */
.wt-head { color: #e5e7eb; padding-top: 6px; }
.wt-step-no { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: #93c5fd; letter-spacing: .04em; }
.wt-step-no .dot { width: 26px; height: 26px; border-radius: 50%; background: #1d4ed8; color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; }
.wt-head h1 { font-size: 26px; margin: 12px 0 6px; color: #fff; letter-spacing: -.02em; line-height: 1.25; }
.wt-head .lead { color: #cbd5e1; font-size: 15px; margin: 0; line-height: 1.6; }
.wt-body { color: #e5e7eb; }
.wt-body .detail-label { display: none; }   /* 데스크톱: 숨김. 모바일에서 유도 큐로 노출 */
.wt-body ul { list-style: none; padding: 0; margin: 0; }
.wt-body li {
  position: relative; padding: 12px 14px 12px 44px; margin-bottom: 10px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); border-radius: 12px;
  font-size: 14.5px; line-height: 1.55; color: #e5e7eb;
}
.wt-body li b { color: #fff; }
.wt-body li::before {
  content: "✓"; position: absolute; left: 14px; top: 12px; width: 20px; height: 20px; border-radius: 50%;
  background: #2563eb; color: #fff; font-size: 12px; display: flex; align-items: center; justify-content: center;
}
.wt-body .tip {
  margin-top: 4px; padding: 12px 14px; border-radius: 12px; font-size: 13.5px; line-height: 1.55;
  background: rgba(245,158,11,.12); border: 1px solid rgba(245,158,11,.3); color: #fde68a;
}

/* ── 가이드 투어 (스포트라이트 + 말풍선) ─────────────────── */
.tour-ring {
  position: fixed; z-index: 60; border-radius: 12px; pointer-events: none;
  box-shadow: 0 0 0 4px #f59e0b, 0 0 0 9999px rgba(2,6,23,.72);
  transition: all .28s cubic-bezier(.4,0,.2,1);
}
.tour-callout {
  position: fixed; z-index: 61; width: min(340px, 88vw);
  background: #fff; color: #1f2937; border-radius: 16px; padding: 16px 16px 14px;
  box-shadow: 0 18px 50px rgba(0,0,0,.5); transition: top .28s ease, left .28s ease;
}
.tour-callout .c-step { font-size: 12px; font-weight: 700; color: #2563eb; letter-spacing: .04em; }
.tour-callout h3 { margin: 4px 0 6px; font-size: 18px; letter-spacing: -.01em; }
.tour-callout .c-lead { font-size: 13.5px; color: #475569; line-height: 1.55; margin: 0 0 8px; }
.tour-callout ul { list-style: none; padding: 0; margin: 0 0 4px; }
.tour-callout li { position: relative; padding: 5px 0 5px 20px; font-size: 13px; line-height: 1.5; color: #374151; }
.tour-callout li b { color: #111827; }
.tour-callout li::before { content: "✓"; position: absolute; left: 0; top: 5px; color: #2563eb; font-weight: 700; }
.tour-callout .c-tip { margin-top: 6px; font-size: 12.5px; color: #92400e; background: #fffbeb; border: 1px solid #fde68a; border-radius: 10px; padding: 8px 10px; line-height: 1.5; }
.tour-callout .c-ctrl { display: flex; align-items: center; gap: 8px; margin-top: 12px; }
.tour-callout .c-ctrl .sp { flex: 1; font-size: 12px; color: #64748b; }
.tour-callout .c-btn { padding: 9px 14px; border-radius: 10px; border: 1px solid var(--border); background: #f3f4f6; color: #1f2937; font-size: 14px; font-weight: 700; cursor: pointer; }
.tour-callout .c-btn.primary { background: #2563eb; border-color: #2563eb; color: #fff; }
.tour-callout .c-btn:disabled { opacity: .4; cursor: default; }
.tour-callout .c-close { position: absolute; top: 10px; right: 12px; border: none; background: none; font-size: 18px; color: #94a3b8; cursor: pointer; }
.tour-callout .c-arrow { position: absolute; width: 16px; height: 16px; background: #fff; transform: rotate(45deg); }
body.tour-on .wt-dock { visibility: hidden; }   /* 투어 중엔 하단 도크 숨김(말풍선이 대신) */

/* 투어 시작 버튼(커버/상단) */
.tour-cta { display: inline-flex; align-items: center; gap: 8px; }

/* ── 허브(선택) 화면 ─────────────────────────────────────── */
.hub { max-width: 880px; width: 100%; margin: 0 auto; padding: 8vh 20px 40px; color: #fff;
  flex: 1; display: flex; flex-direction: column; }
.hub-head { text-align: center; margin-bottom: 34px; }
.hub-head .logo { font-size: 60px; }
.hub-head h1 { font-size: 32px; margin: 12px 0 8px; letter-spacing: -.02em; }
.hub-head p { color: #cbd5e1; font-size: 16px; max-width: 560px; margin: 0 auto; line-height: 1.6; }
.hub-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 40px; }
.hub-card {
  display: block; text-decoration: none; color: #e5e7eb; padding: 26px 22px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: 18px;
  transition: transform .15s, background .15s, border-color .15s;
}
.hub-card:hover { transform: translateY(-3px); background: rgba(255,255,255,.09); border-color: rgba(96,165,250,.5); }
.hub-card .ic { font-size: 40px; }
.hub-card h2 { font-size: 21px; margin: 12px 0 8px; color: #fff; }
.hub-card p { font-size: 14px; color: #cbd5e1; line-height: 1.6; margin: 0 0 16px; }
.hub-card .go { font-weight: 700; color: #93c5fd; }
.hub-foot { text-align: center; color: #94a3b8; font-size: 13px; margin-top: 26px; }
/* 허브 도입신청 버튼 (연한 연두 · 검정 글자 · 하단 밀착) */
.hub-apply {
  margin-top: auto; align-self: stretch;
  display: block; text-align: center; text-decoration: none;
  background: #eef8df; color: #111827; font-weight: 800; font-size: 16px;
  border: 1px solid #cfe6bf; border-radius: 14px; padding: 16px 20px;
}
.hub-apply b { text-decoration: underline; text-underline-offset: 3px; }
.hub-apply:hover { background: #e6f4cf; }
@media (max-width: 640px) { .hub-cards { grid-template-columns: 1fr; } }

/* ── 하단 도크(넘김 네비 + 도입신청 CTA) ─────────────────── */
.wt-dock { position: sticky; bottom: 0; z-index: 20; }
.wt-controls {
  display: flex; align-items: center; justify-content: center; gap: 16px;
  padding: 14px; background: rgba(15,23,42,.8); backdrop-filter: blur(8px);
  border-top: 1px solid rgba(255,255,255,.08);
}
/* 상시 노출 도입신청 바 (연한 연두 배경 · 검정 글자) */
.wt-apply {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 14px; text-decoration: none; text-align: center;
  background: #eef8df; color: #111827;
  font-size: 15px; font-weight: 800; letter-spacing: -.01em;
  border-top: 1px solid #cfe6bf;
}
.wt-apply b { text-decoration: underline; text-underline-offset: 3px; }
.wt-apply:hover { background: #e6f4cf; }
.wt-nav {
  min-width: 118px; padding: 12px 20px; border-radius: 12px; border: 1px solid rgba(255,255,255,.15);
  background: rgba(255,255,255,.08); color: #fff; font-size: 15px; font-weight: 700; cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px; justify-content: center; transition: background .15s;
}
.wt-nav:hover:not(:disabled) { background: rgba(255,255,255,.2); }
.wt-nav.primary { background: #2563eb; border-color: #2563eb; }
.wt-nav.primary:hover:not(:disabled) { background: #1d4ed8; }
.wt-nav.apply { background: #eef8df; border-color: #cfe6bf; color: #111827; text-decoration: none; }
.wt-nav.apply:hover { background: #e6f4cf; }
.wt-nav:disabled { opacity: .3; cursor: default; }
.wt-count { color: #cbd5e1; font-size: 13px; min-width: 64px; text-align: center; font-variant-numeric: tabular-nums; }

/* ── 목차 드로어 ─────────────────────────────────────────── */
.toc-back { position: fixed; inset: 0; background: rgba(0,0,0,.55); z-index: 40; display: none; }
.toc-back.open { display: block; }
.toc-panel {
  position: fixed; top: 0; right: 0; bottom: 0; width: 320px; max-width: 86vw; z-index: 41;
  background: #0f172a; border-left: 1px solid rgba(255,255,255,.1); color: #e5e7eb;
  transform: translateX(100%); transition: transform .28s ease; overflow-y: auto; padding: 18px;
}
.toc-panel.open { transform: translateX(0); }
.toc-panel h2 { font-size: 16px; margin: 4px 0 14px; color: #fff; }
.toc-item {
  display: flex; gap: 10px; align-items: baseline; padding: 10px 10px; border-radius: 10px; cursor: pointer;
  font-size: 14px; color: #cbd5e1;
}
.toc-item:hover { background: rgba(255,255,255,.06); }
.toc-item.active { background: #1d4ed8; color: #fff; }
.toc-item .n { font-size: 12px; color: #64748b; min-width: 20px; }
.toc-item.active .n { color: #bfdbfe; }

/* ── 커버/엔드 페이지 ────────────────────────────────────── */
.wt-cover { grid-column: 1 / -1; text-align: center; color: #fff; padding: 30px 16px; }
.wt-cover .logo { font-size: 64px; }
.wt-cover h1 { font-size: 34px; margin: 14px 0 8px; letter-spacing: -.02em; }
.wt-cover p { color: #cbd5e1; font-size: 16px; max-width: 560px; margin: 0 auto 8px; line-height: 1.6; }
.wt-cover .hint { color: #93c5fd; font-size: 14px; margin-top: 18px; }
.wt-cover .kbd { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); border-radius: 6px; padding: 2px 8px; font-size: 13px; }
/* 기기별 안내 전환: 키보드=데스크톱, 스와이프=모바일 */
.only-mobile { display: none; }
@media (max-width: 820px) { .only-desktop { display: none; } .only-mobile { display: inline; } }

/* ── 앱 컴포넌트 재현 (실제 app.css 발췌, .screen 안에서만) ── */
.screen .card { background: var(--card); border-radius: var(--radius); padding: 16px; margin-bottom: 12px; box-shadow: 0 1px 3px rgba(0,0,0,.06); }
.screen .card h2 { margin: 0 0 10px; font-size: 16px; }
.screen .stat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 12px; }
.screen .stat { background: var(--card); border-radius: var(--radius); padding: 14px; text-align: center; box-shadow: 0 1px 3px rgba(0,0,0,.06); }
.screen .stat .num { font-size: 26px; font-weight: 700; color: var(--primary); }
.screen .stat .lbl { font-size: 12px; color: var(--muted); margin-top: 2px; }
.screen .stat.alert .num { color: var(--danger); }
.screen .list-item { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border); text-decoration: none; color: inherit; }
.screen .list-item:last-child { border-bottom: none; }
.screen .list-item .li-main { flex: 1; min-width: 0; }
.screen .list-item .li-title { font-weight: 600; }
.screen .list-item .li-sub { font-size: 12px; color: var(--muted); margin-top: 2px; }
.screen .list-item .li-right { text-align: right; white-space: nowrap; }
.screen .badge { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: 11px; font-weight: 600; }
.screen .badge.qty { background: #eef2ff; color: var(--primary-d); }
.screen .badge.low { background: #fef2f2; color: var(--danger); }
.screen .badge.ok { background: #f0fdf4; color: var(--success); }
.screen .badge.tag { background: #f3f4f6; color: #374151; margin-right: 4px; }
.screen .badge.in { background: #f0fdf4; color: var(--success); }
.screen .badge.out { background: #fef2f2; color: var(--danger); }
.screen .badge.pending { background: #fffbeb; color: var(--warn); }
.screen .badge.approved { background: #f0fdf4; color: var(--success); }
.screen .badge.rejected { background: #f3f4f6; color: var(--muted); }
.screen .badge.warn { background: #fffbeb; color: var(--warn); }
.screen .badge.expired { background: #fef2f2; color: var(--danger); }
.screen .list-item.exp-warn, .screen .list-item.st-changed { border-left: 3px solid var(--warn); padding-left: 9px; }
.screen .list-item.exp-expired { border-left: 3px solid var(--danger); padding-left: 9px; }
.screen .qty-wrap { display: inline-flex; align-items: baseline; gap: 6px; }
.screen .qty-label { font-size: 13px; font-weight: 600; color: var(--muted); }
.screen .qty-lg { display: inline-flex; align-items: baseline; gap: 4px; padding: 6px 16px; border-radius: 14px; font-size: 30px; font-weight: 800; line-height: 1.1; white-space: nowrap; }
.screen .qty-lg .unit { font-size: 15px; font-weight: 600; opacity: .85; }
.screen .qty-lg.low { background: #fef2f2; color: var(--danger); }
.screen .qty-lg.ok { background: #f0fdf4; color: var(--success); }
.screen label { display: block; font-size: 13px; font-weight: 600; margin: 12px 0 4px; }
.screen input, .screen select, .screen textarea { width: 100%; padding: 11px; border: 1px solid var(--border); border-radius: 10px; font-size: 15px; background: #fff; font-family: inherit; }
.screen .field-desc { font-size: 12px; color: var(--muted); line-height: 1.45; margin: 3px 0 2px; }
.screen .form-intro { background: #eef2ff; border: 1px solid #dbe4ff; color: #334155; font-size: 12.5px; line-height: 1.55; padding: 10px 12px; border-radius: 10px; margin-bottom: 6px; }
.screen .btn { display: block; width: 100%; padding: 13px; border: none; border-radius: 12px; background: var(--primary); color: #fff; font-size: 15px; font-weight: 600; cursor: pointer; margin-top: 14px; text-align: center; text-decoration: none; }
.screen .btn.secondary { background: #f3f4f6; color: var(--text); }
.screen .btn.danger { background: var(--danger); }
.screen .btn.sm { width: auto; display: inline-block; padding: 8px 14px; font-size: 14px; margin: 0; }
.screen .btn-row { display: flex; gap: 8px; margin-top: 12px; }
.screen .btn-row .btn { margin-top: 0; }
.screen .search-bar { display: flex; gap: 8px; margin-bottom: 12px; }
.screen .search-bar input { margin: 0; }
.screen .chip-row { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0; }
.screen .chip { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--border); background: #fff; font-size: 13px; }
.screen .chip.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.screen .row-between { display: flex; justify-content: space-between; align-items: center; }
.screen .muted { color: var(--muted); }
.screen .center { text-align: center; }
.screen .empty { text-align: center; color: var(--muted); padding: 30px 0; }
.screen .switch-wrap { display: inline-flex; align-items: center; gap: 8px; }
.screen .switch-state { font-size: 12px; color: var(--muted); }
.screen .switch { position: relative; display: inline-block; width: 46px; height: 26px; }
.screen .switch .slider { position: absolute; inset: 0; background: #cbd5e1; border-radius: 999px; }
.screen .switch .slider::before { content: ""; position: absolute; width: 20px; height: 20px; left: 3px; top: 3px; background: #fff; border-radius: 50%; box-shadow: 0 1px 2px rgba(0,0,0,.25); }
.screen .switch.on .slider { background: #22c55e; }
.screen .switch.on .slider::before { transform: translateX(20px); }
.screen .tabs { display: flex; gap: 6px; }
.screen .tab { flex: 1; padding: 9px; border: 1px solid var(--border); background: #fff; border-radius: 8px; font-size: 14px; font-weight: 600; color: var(--muted); }
.screen .tab.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.screen .bar-chart { display: flex; align-items: flex-end; gap: 6px; height: 170px; padding-top: 6px; }
.screen .bar-col { flex: 1; display: flex; flex-direction: column; align-items: center; height: 100%; }
.screen .bar-track { flex: 1; width: 60%; max-width: 26px; display: flex; align-items: flex-end; }
.screen .bar-fill { width: 100%; background: var(--primary); border-radius: 4px 4px 0 0; min-height: 2px; }
.screen .bar-fill.out { background: var(--danger); }
.screen .bar-label { font-size: 10px; color: var(--muted); margin-top: 5px; }
.screen .scan-box { aspect-ratio: 1; background: #0b0b0b; border-radius: var(--radius); position: relative; margin-bottom: 12px; display: flex; align-items: center; justify-content: center; color: #6b7280; }
.screen .scan-frame { width: 60%; height: 60%; border: 3px solid rgba(255,255,255,.6); border-radius: 12px; }
.screen .auth-wrap { max-width: 320px; margin: 0 auto; }
.screen .auth-logo { text-align: center; font-size: 40px; margin-bottom: 8px; }
.screen .auth-wrap h1 { text-align: center; font-size: 20px; margin: 0 0 4px; }
.screen .auth-wrap .sub { text-align: center; color: var(--muted); margin: 0 0 18px; font-size: 13px; }
.screen .auth-switch { text-align: center; margin-top: 16px; font-size: 14px; color: var(--muted); }
.screen .auth-switch a { color: var(--primary); font-weight: 600; text-decoration: none; }
.screen .phone-field { display: flex; }
.screen .phone-prefix { display: flex; align-items: center; padding: 0 12px; background: #f3f4f6; border: 1px solid var(--border); border-right: none; border-radius: 10px 0 0 10px; font-size: 15px; }
.screen .phone-field input { border-top-left-radius: 0; border-bottom-left-radius: 0; }
.screen .qr-sheet { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.screen .qr-label { border: 1px solid var(--border); border-radius: 10px; padding: 12px 8px; text-align: center; background: #fff; }
.screen .qr-label .qr-img { display: flex; justify-content: center; }
.screen .qr-code { font-weight: 700; font-size: 13px; margin-top: 6px; letter-spacing: .04em; }
.screen .qr-title { font-size: 12px; font-weight: 600; margin-top: 2px; }
.screen .qr-sub { font-size: 11px; color: var(--muted); }
.screen .help-sec { background: var(--card); border-radius: 12px; margin-bottom: 8px; box-shadow: 0 1px 3px rgba(0,0,0,.06); overflow: hidden; }
.screen .help-sum { padding: 14px 16px; font-weight: 600; font-size: 15px; display: flex; justify-content: space-between; }
.screen .help-body { padding: 0 16px 14px; font-size: 13.5px; color: #374151; line-height: 1.6; }
.screen .form-intro b, .screen .field-desc b { color: var(--text); }

/* ── 반응형 ──────────────────────────────────────────────── */
@media (max-width: 820px) {
  .wt-flip.spread { grid-template-columns: 1fr; row-gap: 14px; grid-template-areas: "head" "device" "body"; }
  .device { max-width: 300px; }
  .screen { height: 520px; }          /* 폰을 낮춰 아래 설명이 화면에 함께 보이게 */
  .wt-head h1 { font-size: 21px; }
  .wt-head .lead { font-size: 14px; }
  /* 모바일: '자세한 단계' 유도 큐 표시 */
  .wt-body .detail-label {
    display: flex; align-items: center; justify-content: center; gap: 6px;
    color: #93c5fd; font-size: 13px; font-weight: 700; margin: 2px 0 10px;
    animation: bob 1.6s ease-in-out infinite;
  }
}
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(4px); } }
@media (max-width: 400px) {
  .wt-nav { min-width: 96px; padding: 11px 12px; font-size: 14px; }
}
