:root {
  --bg: #f4f6fa;
  --surface: #ffffff;
  --surface-2: #eef2fb;
  --ink: #111827;
  --ink-2: #4b5563;
  --line: #dde3ee;
  --primary: #1d4ed8;
  --primary-ink: #ffffff;
  --primary-soft: #e3ebff;
  --good: #0f8a5f;
  --good-soft: #def5ea;
  --warn: #b45309;
  --warn-soft: #fff1dc;
  --danger: #dc2626;
  --shadow: 0 2px 10px rgba(17, 24, 39, 0.06);
  --radius: 18px;
  --nav-h: 76px;
  font-size: 18px;
}
:root.big { font-size: 21px; }

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0f141c;
    --surface: #18202b;
    --surface-2: #1f2a3a;
    --ink: #f1f5f9;
    --ink-2: #b6c0cf;
    --line: #2c3748;
    --primary: #5b8cff;
    --primary-ink: #0b1220;
    --primary-soft: #1e2d4f;
    --good: #3ccf91;
    --good-soft: #143a2b;
    --warn: #f5b25a;
    --warn-soft: #3a2a14;
    --shadow: none;
  }
}
:root[data-theme="dark"] {
  --bg: #0f141c; --surface: #18202b; --surface-2: #1f2a3a; --ink: #f1f5f9; --ink-2: #b6c0cf;
  --line: #2c3748; --primary: #5b8cff; --primary-ink: #0b1220; --primary-soft: #1e2d4f;
  --good: #3ccf91; --good-soft: #143a2b; --warn: #f5b25a; --warn-soft: #3a2a14; --shadow: none;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  font-family: "Noto Sans KR", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  word-break: keep-all;
  -webkit-text-size-adjust: 100%;
  padding-bottom: calc(var(--nav-h) + env(safe-area-inset-bottom));
}
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
svg { width: 1.2em; height: 1.2em; fill: currentColor; flex: none; }
[hidden] { display: none !important; }

main { max-width: 560px; margin: 0 auto; padding: 0 16px 24px; }

/* 상단 */
.topbar {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 16px; background: var(--surface); border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand strong { display: block; font-size: 1.1rem; line-height: 1.1; }
.brand small { color: var(--ink-2); font-size: 0.78rem; }
.logo {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px;
  background: var(--primary); color: var(--primary-ink); font-weight: 800;
}

.ghost-btn {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 48px; padding: 0 14px; border-radius: 999px;
  border: 1.5px solid var(--line); background: var(--surface); font-weight: 700;
}
.ghost-btn.small { min-height: 42px; font-size: 0.9rem; }
.ghost-btn[aria-pressed="true"] { border-color: var(--primary); color: var(--primary); }
.primary-btn {
  min-height: 56px; padding: 0 22px; border: 0; border-radius: 14px;
  background: var(--primary); color: var(--primary-ink); font-weight: 800; font-size: 1.05rem;
}
.primary-btn.block { width: 100%; margin-top: 14px; }

/* 탭 */
.tab { display: none; }
.tab.active { display: block; }
h2 { font-size: 1.4rem; margin: 22px 0 4px; }
h3 { font-size: 1.1rem; margin: 0 0 6px; }
.sub { color: var(--ink-2); margin: 0 0 16px; }
.sub.small { font-size: 0.9rem; }

/* 마이크 히어로 */
.hero { text-align: center; padding: 26px 0 14px; }
.hello { font-size: 1.3rem; font-weight: 800; margin: 0 0 22px; }
.mic {
  position: relative; width: 132px; height: 132px; border-radius: 50%; border: 0;
  background: var(--primary); color: var(--primary-ink);
  box-shadow: 0 10px 28px rgba(29, 78, 216, 0.35);
  display: inline-grid; place-items: center; transition: transform .15s;
}
.mic svg { width: 58px; height: 58px; }
.mic:active { transform: scale(0.96); }
.mic.listening { background: var(--danger); box-shadow: 0 10px 28px rgba(220, 38, 38, 0.35); }
.mic.listening::before, .mic.listening::after {
  content: ""; position: absolute; inset: -10px; border-radius: 50%;
  border: 3px solid var(--danger); opacity: 0; animation: pulse 1.6s infinite;
}
.mic.listening::after { animation-delay: .8s; }
@keyframes pulse { 0% { transform: scale(.9); opacity: .7; } 100% { transform: scale(1.35); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .mic.listening::before, .mic.listening::after { animation: none; } }
.mic-status { margin: 16px 0 0; font-weight: 700; color: var(--ink-2); }
.transcript {
  margin: 14px auto 0; padding: 14px 18px; max-width: 100%;
  background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--radius);
  font-size: 1.1rem; font-weight: 700;
}

.text-search { display: flex; gap: 8px; margin: 8px 0 18px; }
.text-search input {
  flex: 1; min-width: 0; min-height: 56px; padding: 0 16px;
  border: 1.5px solid var(--line); border-radius: 14px; background: var(--surface);
}
.text-search input:focus, .field input:focus, textarea:focus { outline: 3px solid var(--primary-soft); border-color: var(--primary); }

.examples .label { margin: 0 0 8px; font-weight: 700; color: var(--ink-2); font-size: 0.9rem; }
.examples { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.chip {
  min-height: 48px; padding: 8px 16px; border-radius: 14px; text-align: left;
  border: 1.5px solid var(--line); background: var(--surface); font-weight: 500;
}

/* 결과 */
.conditions { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 12px; }
.cond {
  display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 4px 8px 4px 14px;
  border-radius: 999px; background: var(--primary-soft); color: var(--primary); font-weight: 700; font-size: 0.92rem; border: 0;
}
.cond b { font-weight: 500; color: var(--ink-2); }
.cond .x { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; font-size: 1.1rem; }
.summary { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.summary p { margin: 0; font-weight: 800; font-size: 1.1rem; }
.summary .read { flex: none; }
.source-note { margin: 6px 0 12px; font-size: 0.82rem; color: var(--ink-2); }

.segmented { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 14px; }
.seg {
  min-height: 48px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--surface); font-weight: 700;
}
.seg.active { background: var(--primary); color: var(--primary-ink); border-color: var(--primary); }

.job-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.job {
  background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden;
}
.job.top { border-color: var(--good); }
.job-main { display: flex; gap: 14px; padding: 16px; width: 100%; text-align: left; background: none; border: 0; }
.fit {
  flex: none; width: 84px; padding: 8px 4px; border-radius: 14px; text-align: center;
  background: var(--good-soft); color: var(--good);
}
.fit small { display: block; font-size: 0.72rem; font-weight: 700; }
.fit strong { display: block; font-size: 1.6rem; line-height: 1.15; font-weight: 800; }
.fit em { display: block; font-style: normal; font-size: 0.72rem; font-weight: 700; }
.fit.mid { background: var(--primary-soft); color: var(--primary); }
.fit.low { background: var(--surface-2); color: var(--ink-2); }
.job-info { min-width: 0; flex: 1; }
.job-no { font-size: 0.8rem; color: var(--ink-2); font-weight: 700; }
.job-title { margin: 2px 0 4px; font-size: 1.08rem; font-weight: 800; line-height: 1.35; }
.job-company { margin: 0; color: var(--ink-2); font-weight: 700; font-size: 0.95rem; }
.job-meta { margin: 6px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 0.92rem; }
.job-meta li { display: inline-flex; align-items: center; gap: 4px; }
.pay { font-weight: 800; }
.deadline { color: var(--warn); font-weight: 700; }
.job-actions { display: flex; border-top: 1px solid var(--line); }
.job-actions button {
  flex: 1; min-height: 52px; border: 0; background: none; font-weight: 700; color: var(--ink-2);
}
.job-actions button + button { border-left: 1px solid var(--line); }
.job-actions .on { color: var(--warn); }
.voice-hint { text-align: center; color: var(--ink-2); font-size: 0.9rem; margin: 18px 0 0; }
.empty { text-align: center; color: var(--ink-2); padding: 36px 0; }

/* 카드/폼 */
.card {
  background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--radius);
  padding: 18px 16px; margin-bottom: 14px; box-shadow: var(--shadow);
}
.card-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.card-head h3 { margin: 0; }
.field { display: block; font-weight: 700; font-size: 0.95rem; margin-bottom: 14px; }
.field small { font-weight: 400; color: var(--ink-2); }
.field input, textarea {
  display: block; width: 100%; margin-top: 6px; min-height: 52px; padding: 10px 14px;
  border: 1.5px solid var(--line); border-radius: 12px; background: var(--bg); font-weight: 400;
}
textarea { resize: vertical; line-height: 1.6; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.file-btn {
  display: flex; align-items: center; justify-content: center; min-height: 48px; margin-top: 10px;
  border: 1.5px dashed var(--line); border-radius: 12px; color: var(--ink-2); font-weight: 700; font-size: 0.92rem;
}
.skill-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.skill-list li { padding: 12px 14px; border-radius: 12px; background: var(--surface-2); }
.skill-list strong { color: var(--primary); }
.skill-list span { display: block; font-size: 0.86rem; color: var(--ink-2); }

/* 하단 메뉴 */
.bottom-nav {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
  display: grid; grid-template-columns: repeat(3, 1fr);
  height: calc(var(--nav-h) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom);
  background: var(--surface); border-top: 1px solid var(--line);
}
.nav-btn {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  border: 0; background: none; color: var(--ink-2); font-weight: 700; font-size: 0.9rem;
}
.nav-btn svg { width: 28px; height: 28px; }
.nav-btn.active { color: var(--primary); }

/* 상세 시트 */
.sheet { position: fixed; inset: 0; z-index: 30; background: var(--bg); overflow-y: auto; }
.sheet-panel { max-width: 560px; margin: 0 auto; padding: 0 16px 40px; }
.sheet-top {
  position: sticky; top: 0; display: flex; justify-content: space-between; padding: 10px 0;
  background: var(--bg); z-index: 1;
}
.d-head { padding: 6px 0 14px; }
.d-company { color: var(--ink-2); font-weight: 700; margin: 0; }
.d-title { font-size: 1.35rem; line-height: 1.35; margin: 2px 0 0; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0 0 14px; }
.facts div { background: var(--surface); border: 1.5px solid var(--line); border-radius: 12px; padding: 10px 12px; }
.facts dt { font-size: 0.8rem; color: var(--ink-2); font-weight: 700; }
.facts dd { margin: 0; font-weight: 800; }
.score-head { display: flex; align-items: baseline; justify-content: space-between; }
.score-head strong { font-size: 2rem; color: var(--good); }
.bar-row { margin-top: 12px; }
.bar-row .lbl { display: flex; justify-content: space-between; font-weight: 700; font-size: 0.92rem; }
.bar { height: 12px; border-radius: 99px; background: var(--surface-2); overflow: hidden; margin-top: 4px; }
.bar i { display: block; height: 100%; border-radius: 99px; background: var(--good); }
.reasons { margin: 0; padding-left: 0; list-style: none; display: grid; gap: 8px; }
.reasons li { padding-left: 28px; position: relative; }
.reasons li::before { content: "✓"; position: absolute; left: 4px; color: var(--good); font-weight: 800; }
.reasons.check li::before { content: "!"; color: var(--warn); left: 9px; }
.ai-note { background: var(--primary-soft); border-radius: 12px; padding: 14px; margin: 0; }
.prep-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-bottom: 12px; }
.prep-body { white-space: pre-wrap; background: var(--bg); border-radius: 12px; padding: 14px; margin: 0; font-size: 0.95rem; }
.prep-body ol { margin: 0; padding-left: 20px; }
.cta-row { display: grid; grid-template-columns: auto 1fr; gap: 8px; }
.cta-row a { display: flex; align-items: center; justify-content: center; text-decoration: none; }
.disclaimer { font-size: 0.8rem; color: var(--ink-2); margin-top: 12px; }

.toast {
  position: fixed; left: 50%; bottom: calc(var(--nav-h) + 16px); transform: translateX(-50%); z-index: 40;
  max-width: calc(100% - 32px); padding: 12px 18px; border-radius: 14px;
  background: var(--ink); color: var(--bg); font-weight: 700; text-align: center;
}

/* 검색 후: 마이크 영역을 줄여 결과가 먼저 보이게 */
.hero.compact { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 4px 14px; padding: 16px 0 6px; text-align: left; }
.hero.compact .hello { display: none; }
.hero.compact .mic { width: 72px; height: 72px; grid-row: span 2; }
.hero.compact .mic svg { width: 34px; height: 34px; }
.hero.compact .mic-status { margin: 0; font-size: 0.88rem; }
.hero.compact .transcript { margin: 0; padding: 8px 12px; font-size: 1rem; }
.card { scroll-margin-top: 80px; }

/* 대화형 답변 */
.answer {
  position: relative; margin: 8px 0 10px; padding: 16px 18px; border-radius: 4px 18px 18px 18px;
  background: var(--primary-soft); color: var(--ink); font-size: 1.05rem; font-weight: 500; line-height: 1.6;
}
.answer strong { color: var(--primary); }
.followups { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.followups:empty { display: none; }
.follow {
  min-height: 48px; padding: 6px 16px; border-radius: 999px; font-weight: 700;
  border: 1.5px solid var(--primary); background: var(--surface); color: var(--primary);
}
.examples .label + .chip { margin-top: 0; }
.examples .label:not(:first-child) { margin-top: 10px; }
.kind {
  flex: none; width: 64px; height: 64px; border-radius: 16px; display: grid; place-items: center;
  font-size: 1.8rem; background: var(--surface-2);
}
.kind.course { background: var(--good-soft); }
.why { margin: 6px 0 0; font-size: 0.88rem; color: var(--good); font-weight: 700; }
.info-block { margin: 0 0 14px; }
.info-block h3 { margin-bottom: 4px; }
.info-block p { margin: 0; white-space: pre-line; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.tag { padding: 4px 12px; border-radius: 999px; background: var(--surface-2); font-size: 0.9rem; font-weight: 700; }
.raw-list { margin: 0; padding: 0; list-style: none; font-size: 0.85rem; color: var(--ink-2); }
.raw-list li { padding: 4px 0; border-bottom: 1px solid var(--line); word-break: break-all; }
.cta-row.one { grid-template-columns: 1fr; }
.cta-row a.ghost-btn { justify-content: center; }
.conditions .cond { min-height: 34px; padding: 4px 12px; font-size: 0.82rem; }
.conditions { gap: 6px; margin-bottom: 6px; }
.big-num { font-size: 1.25rem; font-weight: 800; margin: 0; }
.big-num small { font-size: 0.9rem; font-weight: 700; color: var(--ink-2); }
.bar.mid i { background: var(--primary); }
.bar.down i { background: var(--warn); }
.more-btn { width: 100%; justify-content: center; }

/* ---------- 사용성 기능 ---------- */
.top-actions { display: flex; gap: 8px; }
.top-actions .ghost-btn { min-width: 48px; justify-content: center; font-size: 1.05rem; }

.install-bar {
  display: flex; align-items: center; gap: 10px; padding: 10px 16px;
  background: var(--primary-soft); color: var(--ink); font-weight: 700; font-size: 0.92rem;
}
.install-bar span { flex: 1; }
.primary-btn.small { min-height: 44px; padding: 0 14px; font-size: 0.95rem; }
.x-btn { width: 44px; height: 44px; border: 0; background: none; font-size: 1.5rem; color: var(--ink-2); }

.switch { display: inline-flex; align-items: center; gap: 10px; margin-top: 14px; font-size: 0.92rem; color: var(--ink-2); cursor: pointer; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch .track { position: relative; flex: none; width: 52px; height: 30px; border-radius: 99px; background: var(--line); transition: background .2s; }
.switch .track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform .2s; }
.switch input:checked + .track { background: var(--primary); }
.switch input:checked + .track::after { transform: translateX(22px); }
.switch input:focus-visible + .track { outline: 3px solid var(--primary-soft); }
.hero.compact .switch { grid-column: 1 / -1; margin-top: 4px; }

.topics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; width: 100%; margin-bottom: 8px; }
.topic {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  min-height: 92px; padding: 8px 4px; border-radius: 16px; border: 1.5px solid var(--line);
  background: var(--surface); font-weight: 800; font-size: 0.95rem; box-shadow: var(--shadow);
}
.topic span { font-size: 1.8rem; line-height: 1; }
.topic:active { transform: scale(0.97); }

.modal { position: fixed; inset: 0; z-index: 50; display: grid; place-items: end center; background: rgba(15, 20, 28, 0.55); padding: 16px; }
.modal-panel {
  width: 100%; max-width: 520px; max-height: calc(100vh - 32px); overflow-y: auto;
  background: var(--surface); border-radius: 22px; padding: 22px 18px; box-shadow: 0 12px 40px rgba(0,0,0,.25);
}
.modal-panel h2 { margin: 0 0 4px; }
.steps { list-style: none; margin: 14px 0; padding: 0; display: grid; gap: 12px; }
.steps li { display: flex; gap: 12px; align-items: flex-start; }
.steps b { display: block; }
.steps small { display: block; color: var(--ink-2); font-size: 0.88rem; }
.step-icon { flex: none; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font-size: 1.5rem; background: var(--primary-soft); }
.privacy { font-size: 0.82rem; color: var(--ink-2); margin: 0 0 4px; }

.share-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; }
.share-row .ghost-btn, .share-row a { justify-content: center; text-decoration: none; color: inherit; }
.near { display: inline-block; padding: 2px 8px; border-radius: 99px; background: var(--good-soft); color: var(--good); font-size: 0.8rem; font-weight: 800; }
.big-call { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 60px; border-radius: 14px; background: var(--good); color: #fff; font-weight: 800; font-size: 1.1rem; text-decoration: none; margin-bottom: 8px; }
.share-row.one { grid-template-columns: 1fr; }
.big-call small { font-weight: 700; opacity: 0.9; }
.share-row .ghost-btn { white-space: nowrap; padding: 0 10px; }

/* =====================================================================
   v3 디자인: "쌓아온 경험으로, 다음 일을" — 경력이 주인공
   간격 8·16·24·32, 본문 18px·줄간격 1.6, 버튼 48~56px, 그림자 절제
   ===================================================================== */
:root {
  --bg: #faf9f7;
  --surface: #ffffff;
  --surface-2: #f2f1ee;
  --ink: #1f2328;
  --ink-2: #555b63;
  --line: #e2e0db;
  --primary: #1d4ed8;
  --primary-ink: #ffffff;
  --primary-soft: #e8eefc;
  --good: #11724f;
  --good-soft: #e3f3ec;
  --warn: #9a5b00;
  --warn-soft: #fdf1dc;
  --shadow: none;
  --radius: 14px;
  --s1: 8px; --s2: 16px; --s3: 24px; --s4: 32px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #121417; --surface: #1b1e23; --surface-2: #23272e; --ink: #eef0f2; --ink-2: #b4bac2; --line: #31363e;
    --primary: #6b93ff; --primary-ink: #0b1220; --primary-soft: #1e2a45; --good: #4cc79a; --good-soft: #15342a; --warn: #f0b45a; --warn-soft: #3a2c14;
  }
}
:root[data-theme="dark"] {
  --bg: #121417; --surface: #1b1e23; --surface-2: #23272e; --ink: #eef0f2; --ink-2: #b4bac2; --line: #31363e;
  --primary: #6b93ff; --primary-ink: #0b1220; --primary-soft: #1e2a45; --good: #4cc79a; --good-soft: #15342a; --warn: #f0b45a; --warn-soft: #3a2c14;
}
body { line-height: 1.6; }
main { padding: 0 var(--s2) var(--s4); }
.narrow { max-width: 600px; margin-left: auto; margin-right: auto; }
.card { box-shadow: none; border-width: 1px; padding: var(--s3) var(--s2); margin-bottom: var(--s2); }
.ghost-btn { border-width: 1px; }
.primary-btn { min-height: 56px; border-radius: 12px; }
.primary-btn.small, .ghost-btn.small { min-height: 48px; font-size: 0.95rem; padding: 0 var(--s2); }
.job { box-shadow: none; border-width: 1px; }
h2 { margin: var(--s3) 0 var(--s1); }
.sub { color: var(--ink-2); }

/* 선 아이콘 (굵기·크기 통일) */
svg.ic { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; vertical-align: -0.18em; flex: none; }

/* 상단 */
.topbar .brand { display: flex; align-items: center; gap: 10px; border: 0; background: none; padding: 0; text-align: left; color: inherit; }
.topbar .brand strong { display: block; font-size: 1.1rem; line-height: 1.1; }
.topbar .brand small { color: var(--ink-2); font-size: 0.78rem; }
.top-actions .ghost-btn { font-size: 0.95rem; }
.demo-banner { display: flex; align-items: center; justify-content: space-between; gap: var(--s1); padding: 10px var(--s2); background: var(--warn-soft); color: var(--ink); font-size: 0.92rem; }
.link-btn { border: 0; background: none; padding: 4px 0; color: var(--primary); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.link-btn.center { display: block; margin: var(--s2) auto 0; }

/* 시작 화면 */
.resume { display: inline-block; margin-top: var(--s3); border: 0; background: var(--good-soft); color: var(--good); font-weight: 800; padding: 10px var(--s2); border-radius: 99px; }
.home-title { font-size: 1.75rem; line-height: 1.3; letter-spacing: -0.02em; margin: var(--s4) 0 var(--s1); }
.lead { font-size: 1.05rem; color: var(--ink-2); margin: 0 0 var(--s3); }
.input-label { display: block; font-size: 1.2rem; font-weight: 800; margin-bottom: 4px; }
.hint { font-size: 0.9rem; color: var(--ink-2); margin: 0 0 var(--s1); }
.input-card textarea { margin-top: var(--s1); min-height: 160px; font-size: 1rem; }
.input-actions { display: flex; align-items: center; flex-wrap: wrap; gap: var(--s1) var(--s2); margin: var(--s1) 0 var(--s2); }
.mic-inline { min-height: 48px; }
.mic-inline.listening { border-color: var(--danger); color: var(--danger); }
.mic-status-inline { font-size: 0.9rem; color: var(--ink-2); }
.file-link { font-size: 0.92rem; }
.entry-card { display: flex; flex-direction: column; gap: var(--s2); }
.card-title { font-size: 1.1rem; margin: 0; }
.entry-card .sub { margin: 4px 0 0; }
.entry-card .ghost-btn { justify-content: center; }
.section-title { font-size: 1.1rem; margin: var(--s4) 0 var(--s1); }
.example-flow { display: grid; gap: var(--s1); }
.example-in, .example-out { padding: var(--s2); border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
.example-in p, .example-out p { margin: 4px 0 0; }
.example-arrow { text-align: center; color: var(--ink-2); font-weight: 800; }
.example-head { font-weight: 700; }
.example-sub { font-size: 0.92rem; color: var(--ink-2); }
.tag-label { font-size: 0.78rem; font-weight: 800; color: var(--ink-2); letter-spacing: 0.02em; }
.more-links { margin-top: var(--s3); }
.row-link { display: flex; align-items: center; justify-content: space-between; gap: var(--s2); width: 100%; min-height: 64px; padding: 12px var(--s2); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); text-align: left; }
.row-link b { display: block; }
.row-link small { display: block; color: var(--ink-2); font-size: 0.85rem; }
.row-link > span:last-child { font-size: 1.5rem; color: var(--ink-2); }
.privacy-note { margin-top: var(--s3); font-size: 0.82rem; color: var(--ink-2); line-height: 1.6; }

/* 공통 */
.back-btn { margin-top: var(--s2); min-height: 44px; border: 0; background: none; color: var(--ink-2); font-weight: 700; padding: 0; }
.empty-state { padding-top: var(--s3); }
.page-head { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--s2); }
.page-head h2 { margin-bottom: 0; }
.chips { display: flex; flex-wrap: wrap; gap: var(--s1); }
.choice {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 6px 14px; border-radius: 99px;
  border: 1px solid var(--line); background: var(--surface); font-weight: 700; font-size: 0.92rem; color: var(--ink); text-decoration: none;
}
.choice.on { background: var(--primary); border-color: var(--primary); color: var(--primary-ink); }
fieldset.field { border: 0; padding: 0; margin: 0 0 var(--s2); }
fieldset.field legend { font-weight: 700; font-size: 0.95rem; margin-bottom: 6px; padding: 0; }
.tag { display: inline-block; margin: 2px 6px 2px 0; padding: 4px 10px; border-radius: 8px; background: var(--surface-2); font-size: 0.88rem; font-weight: 700; }
.badges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: var(--s1); }
.badge { display: inline-block; padding: 4px 10px; border-radius: 8px; background: var(--surface-2); color: var(--ink-2); font-size: 0.8rem; font-weight: 700; }
.badge.warn { background: var(--warn-soft); color: var(--warn); }
.note { padding: 12px var(--s2); border-radius: var(--radius); background: var(--surface-2); font-size: 0.9rem; margin: 0 0 var(--s2); }
.source { font-size: 0.8rem; color: var(--ink-2); margin-top: var(--s2); }
.source a { color: var(--primary); font-weight: 700; }
.t-ok { color: var(--good); }
.t-warn { color: var(--warn); }
.mini { margin: 4px 0 0; padding-left: 18px; }
.mini li { margin: 2px 0; }
.mini small { color: var(--ink-2); }
.mini.check li::marker { content: "· "; }

/* 경력 해석 카드 */
.progress { display: flex; align-items: center; gap: 10px; font-size: 0.88rem; color: var(--ink-2); font-weight: 700; }
.progress .bar { flex: 1; max-width: 200px; height: 8px; margin: 0; }
.progress .bar i { background: var(--good); }
.skill-cards { list-style: none; margin: var(--s2) 0 0; padding: 0; display: grid; gap: var(--s2); }
.skill-card { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); padding: var(--s2); }
.skill-card.confirmed { border-color: var(--good); }
.sc-head { margin: 0 0 var(--s1); font-size: 1.05rem; line-height: 1.5; }
.sc-head b { color: var(--primary); }
.sc-body { margin: 0; display: grid; gap: var(--s1); }
.sc-body dt { font-size: 0.8rem; font-weight: 800; color: var(--ink-2); }
.sc-body dd { margin: 0; }
.sc-answer, .sc-edit { display: block; width: 100%; margin-top: 6px; min-height: 48px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); font-size: 0.95rem; }
.sc-btns { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s1); margin-top: var(--s2); }
.sc-btns .primary-btn { min-width: 120px; }
.confirmed { display: inline-flex; align-items: center; gap: 4px; color: var(--good); font-weight: 800; margin-right: auto; }
.confirmed.small { font-size: 0.8rem; }
.removed-list { display: flex; flex-wrap: wrap; gap: var(--s1); align-items: center; }
.removed-list .sub { width: 100%; margin: 0; }
.feedback { margin-top: var(--s3); padding: var(--s2); border-radius: var(--radius); background: var(--surface-2); }
.feedback p { margin: 0 0 var(--s1); font-weight: 700; }
.feedback-btns { display: flex; gap: var(--s1); flex-wrap: wrap; }

/* 경력 전환 경로 */
.paths { display: grid; gap: var(--s2); margin-top: var(--s2); }
.path { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); padding: var(--s2); }
.path header { display: flex; gap: 12px; align-items: flex-start; margin-bottom: var(--s1); }
.path h4 { margin: 0; font-size: 1.05rem; }
.path header p { margin: 2px 0 0; font-size: 0.9rem; color: var(--ink-2); }
.path-num { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--primary-soft); color: var(--primary); font-weight: 800; }
.path-row { margin: var(--s1) 0 0; }
.path-label { display: block; font-size: 0.8rem; font-weight: 800; color: var(--ink-2); margin-bottom: 4px; }
.path .chips { margin-top: var(--s1); }
.path-actions { display: flex; flex-wrap: wrap; gap: var(--s1); margin-top: var(--s2); }
.site-links { margin-top: var(--s2); padding: 12px; border-radius: 10px; background: var(--surface-2); }
.site-links .sub { margin: 0 0 var(--s1); }

/* 공고 비교 */
.compare-result { max-width: 900px; margin: 0 auto; }
.summary-line { font-size: 1.05rem; padding: var(--s2); border-radius: var(--radius); background: var(--surface-2); }
.table-wrap { overflow-x: auto; }
.compare-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.compare-table th { text-align: left; font-size: 0.8rem; color: var(--ink-2); padding: 10px 8px; border-bottom: 2px solid var(--line); }
.compare-table td { vertical-align: top; padding: 12px 8px; border-bottom: 1px solid var(--line); }
.compare-table td small { display: block; color: var(--ink-2); font-size: 0.82rem; margin-top: 2px; }
.judge { display: inline-block; padding: 4px 10px; border-radius: 8px; font-weight: 800; font-size: 0.85rem; white-space: nowrap; }
.judge.ok { background: var(--good-soft); color: var(--good); }
.judge.warn { background: var(--warn-soft); color: var(--warn); }
.judge.muted { background: var(--surface-2); color: var(--ink-2); }
.row-btns { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.row-btns .ghost-btn.small { min-height: 40px; padding: 0 12px; font-size: 0.85rem; }
.sub-title { margin: var(--s3) 0 var(--s1); font-size: 1rem; }
.cond-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s1); }
.cond-list li { display: grid; gap: 2px; padding: 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.cond-list span { font-size: 0.8rem; font-weight: 800; color: var(--ink-2); }
.cond-list em { font-style: normal; font-weight: 700; font-size: 0.9rem; }
.notice { background: var(--warn-soft); }
@media (max-width: 640px) {
  .compare-table thead { display: none; }
  .compare-table, .compare-table tbody, .compare-table tr, .compare-table td { display: block; width: 100%; }
  .compare-table tr { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); padding: 4px 12px; margin-bottom: var(--s1); }
  .compare-table td { border: 0; padding: 8px 0; }
  .compare-table td::before { content: attr(data-label); display: block; font-size: 0.75rem; font-weight: 800; color: var(--ink-2); }
}

/* 지원 준비 한 장 */
.prep-sec { border-top: 1px solid var(--line); padding: var(--s2) 0; }
.prep-sec h3 { margin: 0 0 var(--s1); font-size: 1.05rem; }
.prep-sec h3 small { font-size: 0.75rem; color: var(--ink-2); font-weight: 700; }
.prep-intro { margin: 0; padding: var(--s2); border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); line-height: 1.75; }
.prep-list { margin: 0; padding-left: 20px; display: grid; gap: 10px; }
.prep-list small { color: var(--ink-2); }
.cta-row.three { grid-template-columns: 1fr 1fr 1fr; margin-top: var(--s2); }

/* 저장한 내용 */
.saved-compares { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s1); }
.saved-compare { display: flex; align-items: center; justify-content: space-between; gap: var(--s1); padding: 12px var(--s2); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.saved-compare b { display: block; }
.saved-compare small { color: var(--ink-2); font-size: 0.82rem; }
.small-empty { padding: var(--s2) 0; font-size: 0.92rem; text-align: left; }
.danger-zone { margin-top: var(--s4); }
.danger-zone h3 { margin: 0 0 4px; }
.ghost-btn.danger { color: var(--danger); border-color: var(--danger); }

/* 직업 상세: 요약 먼저, 나머지는 펼쳐보기 */
.folds { display: grid; gap: var(--s1); margin-bottom: var(--s2); }
.fold { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.fold summary { min-height: 52px; display: flex; align-items: center; padding: 0 var(--s2); font-weight: 800; cursor: pointer; list-style: none; }
.fold summary::-webkit-details-marker { display: none; }
.fold summary::after { content: "+"; margin-left: auto; font-size: 1.3rem; color: var(--ink-2); }
.fold[open] summary::after { content: "−"; }
.fold-body { padding: 0 var(--s2) var(--s2); }
.fold-body .info-block h3 { font-size: 0.9rem; color: var(--ink-2); }
.reasons small { color: var(--ink-2); }
.why .ic { color: var(--good); }
.kind { color: var(--primary); }
.kind.course { color: var(--good); }
.kind svg.ic { width: 30px; height: 30px; }
.near { font-size: 0.78rem; }
.steps .step-num { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary); font-weight: 800; }

/* PC: 입력은 한 열, 결과는 두 열 */
@media (min-width: 960px) {
  main { max-width: 1120px; }
  .result-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s4); align-items: start; }
  .home-title { font-size: 2.1rem; }
}

@media print {
  .topbar, .bottom-nav, .install-bar, .demo-banner, .no-print, .toast { display: none !important; }
  body { padding: 0; background: #fff; }
  .tab:not(#tab-prep) { display: none !important; }
}
.skill-card.st-confirmed { border-color: var(--good); }
.sc-more { margin-top: var(--s1); border-top: 1px dashed var(--line); padding-top: var(--s1); }
.sc-more summary { min-height: 40px; display: flex; align-items: center; font-size: 0.85rem; font-weight: 800; color: var(--ink-2); cursor: pointer; }
.sc-more p { margin: 0; font-size: 0.95rem; }
.block-btn { width: 100%; justify-content: center; }
.page-head .ghost-btn { white-space: nowrap; flex: none; }
.sc-more summary::after { content: "+"; margin-left: 8px; font-size: 1.1rem; }
.sc-more[open] summary::after { content: "−"; }
.sc-more summary::-webkit-details-marker { display: none; }
.sc-more summary { list-style: none; }
