/* 공개 웹 스타일.
   이 사이트만의 핵심 요소는 형광펜이다: 확인이 필요한 행은 형광펜으로 표시하고, 사유는 빨간 펜으로 적는다. */

@font-face {
  font-family: "Wanted Sans Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 400 1000;
  src: url("/static/site/WantedSansVariable.woff2") format("woff2-variations");
}

:root {
  --black: #000;
  --white: #fff;
  --paper: #eeeef3;          /* 밝은 구간의 바탕 */
  --ink: #0d0d12;
  --mute: #5a5a68;
  --line: #d6d6e0;
  --violet: #5b5ceb;         /* 누르는 것 */
  --violet-deep: #4546cf;
  --mark: #e6f25a;           /* 형광펜: 먼저 볼 줄 */
  --pen: #d4351f;            /* 빨간 펜: 걸린 이유 */
  --on-dark-mute: #a9a9b8;
  --dark-line: rgba(255, 255, 255, .16);
  --glow-warm: #ff8a73;
  --glow-cool: #35bfae;
  --wrap: 1160px;
  --gutter: clamp(20px, 4vw, 40px);
  --r-card: 28px;
  --r-field: 14px;
  --font: "Wanted Sans Variable", "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.65 var(--font);
  font-feature-settings: "tnum" 1;
  word-break: keep-all;
  overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
[tabindex="-1"] { scroll-margin-top: 96px; }
[tabindex="-1"]:focus { outline: none; }
:target { scroll-margin-top: 80px; }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; border-radius: 4px; }
.on-dark :focus-visible, .top :focus-visible, .foot :focus-visible { outline-color: var(--mark); }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: 16px; top: -60px; z-index: 50; background: var(--mark); color: var(--ink); padding: 10px 16px; border-radius: 999px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ---------- 버튼 · 알약 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 26px; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 600; font-size: 17px; line-height: 1; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .15s, border-color .15s, color .15s;
}
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 15px; }
.btn-primary { background: var(--violet); color: var(--white); }
.btn-primary:hover { background: var(--violet-deep); }
.btn-line { border-color: var(--ink); background: transparent; color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--white); }
.on-dark .btn-line { border-color: var(--dark-line); color: var(--white); }
.on-dark .btn-line:hover { background: var(--white); color: var(--black); border-color: var(--white); }
.btn:disabled { opacity: .5; cursor: default; }
.link { background: none; border: 0; padding: 0; color: var(--violet-deep); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.on-dark .link { color: var(--white); }

.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill {
  min-height: 42px; padding: 0 18px; border-radius: 999px; border: 0; cursor: pointer;
  background: #dcdce6; color: var(--ink); font-weight: 500; font-size: 15px;
}
.pill:hover { background: #cfcfdc; }
.pill[aria-pressed="true"] { background: var(--ink); color: var(--white); }

.tag { display: inline-flex; align-items: center; min-height: 26px; padding: 0 10px; border-radius: 999px; font-size: 13px; font-weight: 600; background: #e4e4ee; color: var(--ink); white-space: nowrap; }
.tag-example { background: var(--ink); color: var(--white); }
.tag-pen { background: #fbe4df; color: #a3220f; }
.tag-mark { background: var(--mark); }

/* ---------- 머리 · 발 ---------- */
.top { position: sticky; top: 0; z-index: 20; background: var(--black); color: var(--white); border-bottom: 1px solid var(--dark-line); }
.top-in { display: flex; align-items: center; gap: 12px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 19px; letter-spacing: -.01em; text-decoration: none; white-space: nowrap; }
.brand svg { flex: none; }

.foot { background: var(--black); color: var(--on-dark-mute); padding: 56px 0 64px; font-size: 15px; border-top: 1px solid var(--dark-line); }
.foot-in { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; }
.foot h2 { font-size: 15px; font-weight: 600; color: var(--white); margin-bottom: 10px; }
.foot li + li { margin-top: 6px; }
.foot a { color: var(--white); text-underline-offset: 3px; }

/* ---------- 구간 ---------- */
.sec { padding: clamp(72px, 9vw, 128px) 0; }
.on-dark { background: var(--black); color: var(--white); }
.sec-head { max-width: 760px; margin-bottom: clamp(32px, 4vw, 56px); }
.sec-head h2 { font-size: clamp(32px, 4.8vw, 62px); font-weight: 500; line-height: 1.12; letter-spacing: -.028em; }
.sec-head p { margin-top: 18px; font-size: clamp(17px, 1.5vw, 20px); color: var(--mute); max-width: 44em; }
.on-dark .sec-head p { color: var(--on-dark-mute); }

/* ---------- 첫 화면 = 검사 화면 ---------- */
.app { position: relative; overflow: hidden; padding: clamp(36px, 6vw, 72px) 0 clamp(44px, 6vw, 80px); }
.app::before, .app::after {
  content: ""; position: absolute; width: 40vw; height: 40vw; max-width: 560px; max-height: 560px;
  border-radius: 50%; filter: blur(110px); opacity: .42; pointer-events: none; bottom: -18%;
}
.app::before { left: -12%; background: var(--glow-cool); }
.app::after { right: -12%; background: var(--glow-warm); }
.app-in { position: relative; z-index: 1; max-width: 880px; }
.app-title { font-size: clamp(32px, 5.4vw, 64px); font-weight: 500; line-height: 1.1; letter-spacing: -.032em; }
.app-card { margin-top: clamp(24px, 3.4vw, 40px); background: var(--white); color: var(--ink); border-radius: var(--r-card); padding: clamp(20px, 3vw, 36px); }
.app-card .field:first-child { margin-top: 0; }
.app-card :focus-visible { outline-color: var(--violet); }
.on-dark .app-card .btn-line { border-color: var(--ink); color: var(--ink); }
.on-dark .app-card .btn-line:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.on-dark .app-card .link { color: var(--violet-deep); }
textarea.input.ask-input { min-height: 0; }
.drop { margin-top: 10px; border: 2px dashed var(--line); border-radius: 18px; padding: 10px; transition: border-color .15s, background-color .15s; }
.drop.is-over { border-color: var(--violet); background: #f1f1ff; }
textarea.input.drop-text { margin-top: 0; border: 0; min-height: 150px; white-space: pre; overflow: auto; overflow-wrap: normal; font-size: 14px; background: transparent; }
textarea.input.drop-text:focus { outline-offset: -3px; }
.drop-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; padding: 6px 6px 2px; }
.drop-file { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; padding: 14px 10px; }
.drop-file-name { font-weight: 700; overflow-wrap: anywhere; }
.trust { margin-top: 14px; }

.result { padding: clamp(28px, 4vw, 48px) 0 clamp(56px, 7vw, 96px); }
.verdict-sub { margin-top: 10px; color: var(--mute); font-size: 16px; }
.verdict-sub:empty { display: none; }
.conds { margin-top: 26px; padding: 18px 20px; border-radius: 18px; background: var(--paper); }
.conds-h { font-size: 15px; font-weight: 600; color: var(--mute); }
.conds-h + .cond-list { margin-top: 6px; }
.cond-list + .conds-h, .no-ask + .conds-h { margin-top: 18px; }
.cond { display: grid; grid-template-columns: 1.4em 1fr auto; gap: 10px; align-items: baseline; padding: 7px 0; border-top: 1px solid var(--line); font-size: 15px; }
.cond:first-child { border-top: 0; }
.cond-mark { font-weight: 700; color: #2f7d4f; }
.cond.bad .cond-mark, .cond.bad .cond-n { color: var(--pen); font-weight: 600; }
.cond-n { white-space: nowrap; color: var(--mute); text-align: right; }
.no-ask { margin-top: 6px; }
.no-ask label { font-weight: 600; font-size: 15px; }
.no-ask .btn { margin-top: 10px; }
.edit { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); }
.edit summary { cursor: pointer; font-weight: 600; color: var(--violet-deep); width: fit-content; }
.edit[open] summary { margin-bottom: 8px; }
.take { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 10px; }
.unmeasured .btn-line { border-color: var(--dark-line); color: var(--white); }
.unmeasured .btn-line:hover { background: var(--white); color: var(--black); border-color: var(--white); }
.talk { margin-top: 24px; padding: 20px 22px; border-radius: 18px; border: 2px solid var(--ink); }
.talk h3 { font-size: 19px; font-weight: 600; }
.talk p { margin-top: 6px; color: var(--mute); font-size: 15px; }
.row-actions.end { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); }

/* ---------- 정밀 검사: 크레딧 ---------- */
.packs { margin-top: 20px; display: grid; gap: 12px; }
.pack { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; padding: 18px 20px; border-radius: 18px; background: var(--paper); }
.pack .price { font-size: clamp(30px, 4vw, 44px); }

/* ---------- 맨 아래: 만든 사람 · 사업자 정보 ---------- */
.maker { margin-top: 22px; color: var(--white); }
.biz { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 13px; }
.foot .biz li + li { margin-top: 0; }
.biz span { color: #7d7d8c; }

/* ---------- 채점표 ---------- */
.boards-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.legend { display: flex; flex-wrap: wrap; gap: 16px; font-size: 14px; color: var(--mute); }
.legend span { display: inline-flex; align-items: center; gap: 7px; }
.cell { display: inline-block; width: 16px; height: 16px; border-radius: 4px; background: #d3d3de; flex: none; }
.cell.g-condition { background: var(--mark); box-shadow: inset 0 0 0 1.5px #b9c52e; }
.cell.g-fact { background: var(--pen); }
.cell.g-unknown { background: transparent; box-shadow: inset 0 0 0 1.5px #9b9bab; }

.board { background: var(--white); border-radius: var(--r-card); padding: clamp(22px, 3.4vw, 44px); }
.board + .board { margin-top: 20px; }
.board-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; color: var(--mute); }
.board h3 { margin-top: 14px; font-size: clamp(22px, 2.4vw, 30px); font-weight: 600; line-height: 1.25; letter-spacing: -.02em; }
.board-note { margin-top: 12px; padding: 12px 16px; border-radius: 12px; background: var(--ink); color: var(--white); font-size: 15px; }
.board-q { margin-top: 16px; }
.board-q summary { cursor: pointer; font-weight: 600; font-size: 15px; color: var(--violet-deep); width: fit-content; }
.board-q p { margin-top: 10px; padding: 16px 18px; border-radius: 14px; background: var(--paper); font-size: 15px; line-height: 1.7; }
.tools { margin-top: 28px; display: grid; gap: 18px; }
.tool { display: grid; grid-template-columns: 110px 1fr; gap: 6px 20px; align-items: start; }
.tool-name { font-weight: 600; }
.strip { display: flex; flex-wrap: wrap; gap: 4px; padding-top: 6px; }
.tool-counts { grid-column: 2; display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 14px; color: var(--mute); }
.tool-counts b { color: var(--ink); font-weight: 600; }
.wrongs { margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--line); }
.wrongs h4 { margin: 0 0 14px; font-size: 16px; font-weight: 600; }
.wrongs ul { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.wrong { padding: 16px 18px; border-radius: 16px; background: var(--paper); font-size: 15px; }
.wrong-row { margin-top: 10px; font-weight: 600; }
.wrong-why { margin-top: 4px; color: var(--pen); }
.board-basis { margin-top: 20px; font-size: 14px; color: var(--mute); }
.board-cta { margin-top: 26px; }
.empty { padding: 40px; border-radius: var(--r-card); background: var(--white); color: var(--mute); text-align: center; }

/* ---------- 안쪽 화면의 머리 ---------- */
.page-head { padding: clamp(44px, 6vw, 80px) 0 clamp(40px, 5vw, 64px); }
.page-head h1 { font-size: clamp(36px, 5.6vw, 72px); font-weight: 500; line-height: 1.1; letter-spacing: -.03em; }
.page-head p { margin-top: 18px; max-width: 38em; font-size: clamp(17px, 1.5vw, 20px); color: var(--on-dark-mute); }
.page-body { padding: clamp(32px, 4vw, 56px) 0 clamp(72px, 8vw, 120px); }
.narrow { max-width: 760px; }

/* ---------- 카드 · 입력 ---------- */
.card { background: var(--white); border-radius: var(--r-card); padding: clamp(22px, 3vw, 40px); }
.card + .card { margin-top: 20px; }
.card h2 { font-size: clamp(22px, 2.2vw, 28px); font-weight: 600; letter-spacing: -.02em; line-height: 1.25; }
.card h2 + p { margin-top: 8px; color: var(--mute); font-size: 16px; }
.field { margin-top: 22px; }
.field label, .label { display: block; font-weight: 600; font-size: 16px; }
.hint { display: block; margin-top: 4px; font-size: 14px; font-weight: 400; color: var(--mute); }
.input, textarea.input, select.input {
  width: 100%; margin-top: 10px; padding: 14px 16px; border-radius: var(--r-field);
  border: 1.5px solid var(--line); background: var(--white); font-size: 16px; line-height: 1.55;
}
textarea.input { min-height: 140px; resize: vertical; }
textarea.input.tall { min-height: 220px; white-space: pre; overflow: auto; overflow-wrap: normal; font-size: 14px; }
.input:focus { outline: 3px solid var(--violet); outline-offset: 0; border-color: var(--violet); }
.row-actions { margin-top: 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.fine { font-size: 14px; color: var(--mute); }
.fine-list { margin-top: 18px; display: grid; gap: 6px; font-size: 14px; color: var(--mute); }
.fine-list li { padding-left: 16px; position: relative; }
.fine-list li::before { content: ""; position: absolute; left: 0; top: .72em; width: 6px; height: 2px; background: currentColor; }
.msg { margin-top: 16px; padding: 12px 16px; border-radius: 12px; font-size: 15px; }
.msg-error { background: #fbe4df; color: #8f1d0c; }
.msg-ok { background: var(--mark); color: var(--ink); font-weight: 500; }
.msg-info { background: var(--paper); color: var(--ink); }

/* ---------- 무료 검사 ---------- */
.stage-title { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 16px; }
.items { margin-top: 22px; display: grid; gap: 10px; }
.item { border: 1.5px solid var(--line); border-radius: 16px; padding: 14px 16px; }
.item-top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.item-label { flex: 1 1 260px; font-weight: 500; }
.item-why { margin-top: 4px; font-size: 14px; color: var(--mute); }
.item-btns { display: flex; gap: 14px; font-size: 15px; }
.item-edit { margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--line); display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; align-items: end; }
.item-edit label { font-size: 14px; font-weight: 600; }
.item-edit .input { margin-top: 6px; padding: 10px 12px; font-size: 15px; }
.item-edit .check { display: flex; align-items: center; gap: 8px; font-weight: 500; min-height: 44px; }
.add-row { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.add-row select.input { width: auto; margin-top: 0; padding: 10px 12px; font-size: 15px; }

.verdict { font-size: clamp(28px, 4vw, 48px); font-weight: 500; line-height: 1.18; letter-spacing: -.028em; }
.verdict mark { background: var(--mark); color: inherit; padding: 0 .18em; border-radius: 6px; }
.notes { margin-top: 18px; display: grid; gap: 8px; }
.notes li { color: var(--pen); font-weight: 500; }
.notes li span { color: var(--ink); font-weight: 400; }
.unmeasured { margin-top: 24px; padding: 20px 22px; border-radius: 18px; background: var(--black); color: var(--white); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; }
.unmeasured p { flex: 1 1 320px; font-size: 16px; color: var(--on-dark-mute); }
.unmeasured b { display: block; color: var(--white); font-weight: 600; font-size: 18px; }
.checks { margin-top: 20px; display: grid; gap: 0; }
.checks li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 15px; }
.checks li:first-child { border-top: 0; }
.checks .n { white-space: nowrap; color: var(--mute); }
.checks .n.hit { color: var(--pen); font-weight: 600; }
.result-bar { margin-top: 26px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.table-box { margin-top: 14px; border: 1.5px solid var(--line); border-radius: 16px; overflow: auto; max-height: 70vh; }
table.rows { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 1.45; }
table.rows th { position: sticky; top: 0; z-index: 1; background: var(--paper); text-align: left; font-weight: 600; font-size: 13px; padding: 10px 12px; white-space: nowrap; }
table.rows td { padding: 10px 12px; border-top: 1px solid #e6e6ee; vertical-align: top; min-width: 90px; max-width: 320px; }
table.rows td.no { min-width: 0; color: var(--mute); white-space: nowrap; }
table.rows td.hit { background: var(--mark); }
table.rows tr.why td { border-top: 0; padding-top: 0; color: var(--pen); font-weight: 500; max-width: none; }
table.rows tr.why li + li { margin-top: 2px; }
table.rows tr.flag td.no { color: var(--ink); font-weight: 700; }
table.rows tr.why td:first-child { min-width: 0; padding: 0; }

/* ---------- 정밀 검사 ---------- */
.compare { width: 100%; border-collapse: collapse; font-size: 16px; }
.compare th, .compare td { text-align: left; vertical-align: top; padding: 14px 16px 14px 0; border-top: 1px solid var(--line); }
.compare thead th { border-top: 0; font-size: 15px; font-weight: 600; color: var(--mute); }
.compare tbody th { width: 9em; font-weight: 600; }
.compare .now { font-weight: 600; }
.price-card { display: grid; grid-template-columns: 1fr auto; gap: 20px 32px; align-items: center; }
.price { font-size: clamp(40px, 5.6vw, 64px); font-weight: 500; letter-spacing: -.03em; line-height: 1; }
.price small { font-size: 18px; font-weight: 400; color: var(--mute); letter-spacing: 0; margin-left: 8px; }
.door { margin-top: 24px; padding: 22px; border-radius: 18px; background: var(--paper); }
.door h3 { font-size: 20px; font-weight: 600; }
.door p { margin-top: 6px; color: var(--mute); font-size: 16px; }
.inline-form { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 10px; }
.inline-form .input { flex: 1 1 240px; margin-top: 0; }

/* ---------- 신호판 ---------- */
.funnel { margin-top: 20px; display: grid; gap: 8px; }
.funnel li { display: grid; grid-template-columns: 6em 4em 1fr; gap: 16px; align-items: start; padding: 12px 0; border-top: 1px solid var(--line); font-size: 16px; font-weight: 600; }
.funnel li:first-child { border-top: 0; }
.funnel .num { text-align: right; font-weight: 600; font-size: 20px; line-height: 1.3; }
.funnel .bar { display: block; height: 12px; margin-top: 7px; border-radius: 6px; background: var(--paper); overflow: hidden; }
.funnel .bar i { display: block; height: 100%; border-radius: 6px; background: var(--violet); }
.funnel .sub { display: block; margin-top: 6px; color: var(--mute); font-size: 14px; font-weight: 400; }
table.plain { width: 100%; border-collapse: collapse; font-size: 15px; margin-top: 16px; }
table.plain th, table.plain td { text-align: left; padding: 9px 12px 9px 0; border-top: 1px solid var(--line); vertical-align: top; }
table.plain thead th { border-top: 0; font-size: 13px; color: var(--mute); font-weight: 600; white-space: nowrap; }
table.plain td.num, table.plain th.num { text-align: right; }
.scroll-x { overflow-x: auto; }

/* 베타: 머리의 표시와 '의견 보내기' */
.beta-tag { display: inline-flex; align-items: center; min-height: 22px; padding: 0 8px; border-radius: 999px; border: 1px solid var(--dark-line); font-size: 11px; font-weight: 600; letter-spacing: .05em; color: var(--on-dark-mute); }
.top-link { margin-left: auto; color: var(--white); font-size: 15px; font-weight: 500; text-underline-offset: 3px; }

/* 결과 평가 · 동의 · 표가 안 읽힐 때 알려 주기 */
.rate { margin-top: 24px; padding: 18px 20px; border-radius: 18px; background: var(--paper); }
.rate-h { font-size: 17px; font-weight: 600; margin-bottom: 10px; }
.rate .pill:disabled { cursor: default; }
.rate .pill:disabled:not([aria-pressed="true"]) { opacity: .45; }
.rate-form { margin-top: 6px; display: grid; gap: 12px; }
.rate-form .field { margin-top: 6px; }
.rate-form .input { background: var(--white); }
.check { display: flex; align-items: flex-start; gap: 8px; font-size: 15px; font-weight: 500; cursor: pointer; }
.check input { width: 18px; height: 18px; margin: 3px 0 0; flex: none; accent-color: var(--violet); }
.check .hint { display: inline; margin: 0 0 0 4px; }
.consent { margin-top: 12px; display: grid; gap: 6px; }
.consent .fine a, .report a { color: var(--violet-deep); }
.report { margin-top: 8px; }

/* 개인정보 처리방침 */
.policy h2 { margin-top: 36px; font-size: 20px; }
.policy h2:first-child { margin-top: 0; }
.policy > p, .policy .scroll-x { margin-top: 12px; }
.policy > p { font-size: 16px; line-height: 1.75; }
.policy table.plain { font-size: 14px; }
.policy table.plain th[scope="row"] { white-space: nowrap; padding-right: 16px; color: var(--mute); font-weight: 600; }
.lead-q { max-width: 46em; white-space: pre-wrap; }

/* ---------- 신호판 (더) ---------- */
.hypo { margin-top: 10px; font-size: 16px; }
.state { margin-top: 14px; font-size: 16px; color: var(--mute); }
.state-pill { display: inline-flex; align-items: center; min-height: 34px; padding: 0 16px; border-radius: 999px; font-weight: 700; font-size: 17px; color: var(--white); background: var(--mute); margin-right: 6px; }
.state-pill.s-continue { background: #2f7d4f; }
.state-pill.s-narrow { background: #b7791f; }
.state-pill.s-stop { background: var(--pen); }
.judge { margin-top: 16px; display: grid; gap: 8px; font-size: 16px; }
.credit-form { margin-top: 16px; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; align-items: end; }
.credit-form label { font-size: 14px; font-weight: 600; }
.credit-form .input { margin-top: 6px; padding: 10px 12px; font-size: 15px; }
.input.input-sm { margin-top: 0; padding: 6px 10px; font-size: 14px; width: auto; }
table.plain tr.lv5 td:first-child, table.plain tr.lv4 td:first-child { font-weight: 700; color: var(--violet-deep); }

/* ---------- 좁은 화면 ---------- */
@media (max-width: 900px) {
  .foot-in { grid-template-columns: 1fr; }
  .price-card { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .tool { grid-template-columns: 1fr; }
  .tool-counts { grid-column: 1; }
  .compare tbody th { width: 5.5em; }
  .btn { min-height: 50px; }
  /* 좁은 화면에서는 표의 한 줄을 카드 하나로 세운다(가로로 밀지 않아도 이유가 보이게) */
  .table-box { max-height: none; border: 0; border-radius: 0; overflow: visible; }
  table.rows, table.rows tbody { display: block; }
  table.rows thead { display: none; }
  table.rows tr { display: block; border: 1.5px solid var(--line); border-radius: 16px; margin-top: 10px; padding: 8px 0; }
  table.rows tr.flag { border-bottom: 0; border-radius: 16px 16px 0 0; padding-bottom: 4px; }
  table.rows tr.why { margin-top: 0; border-top: 0; border-radius: 0 0 16px 16px; padding: 4px 14px 12px; }
  table.rows td { display: grid; grid-template-columns: 7.5em 1fr; gap: 10px; border: 0; padding: 5px 14px; min-width: 0; max-width: none; }
  table.rows td::before { content: attr(data-label); color: var(--mute); font-size: 13px; }
  table.rows td.hit::before { color: var(--ink); }
  table.rows tr.why td { display: block; padding: 0; }
  table.rows tr.why td::before { content: none; }
  table.rows tr.why td:first-child { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .drop { transition: none; }
}
@media print {
  .top, .foot, .app::before, .app::after { display: none; }
}
