  :root {
    --bg:#ffffff; --bg2:#fbf8f4; --card:#ffffff; --line:#eee8df; --line2:#f4efe8;
    --ink:#16181d; --soft:#6f7480; --dim:#a4a8b0;
    --a0:#ff8a3d; --a1:#e85d04; --a2:#c94a00; --tint:#fff4ec; --tint2:#ffe8d6;
    --good:#14875c; --bad:#d93a26;
    --shadow:0 1px 2px rgba(22,24,29,.04), 0 8px 24px rgba(22,24,29,.06);
  }
  * { box-sizing:border-box; }
  html { background:var(--bg); }
  body { margin:0; min-height:100vh; color:var(--ink); font-family:"Pretendard", -apple-system, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
    background:radial-gradient(90% 40% at 100% 0%, var(--tint) 0%, transparent 60%), var(--bg); letter-spacing:-.015em; }
  main { max-width:480px; margin:0 auto; padding:24px 16px 56px; }
  .brand { display:flex; align-items:center; gap:8px; font-size:11px; color:var(--soft); letter-spacing:.18em; font-weight:600; }
  .brand i { width:7px; height:7px; border-radius:50%; background:var(--a1); }
  h1 { font-size:27px; line-height:1.32; margin:14px 0 20px; font-weight:800; }
  h1 em { font-style:normal; color:var(--a1); }

  .tabs { display:flex; gap:4px; padding:4px; background:rgba(255,255,255,.85); border:1px solid var(--line); border-radius:14px; margin-bottom:14px; position:sticky; top:8px; z-index:5; backdrop-filter:blur(12px); box-shadow:var(--shadow); }
  .tabs button { flex:1; height:42px; border:0; border-radius:10px; background:transparent; color:var(--soft); font:inherit; font-size:14px; font-weight:600; cursor:pointer; }
  .tabs button b { font-size:11px; margin-right:6px; color:var(--dim); }
  .tabs button.on { background:var(--ink); color:#fff; }
  .tabs button.on b { color:var(--a0); }

  .card { background:var(--card); border:1px solid var(--line); border-radius:20px; padding:20px 18px; margin-bottom:12px; box-shadow:var(--shadow); }
  .ttl { font-size:13px; color:var(--soft); margin:0 0 14px; font-weight:600; }
  label { display:block; font-size:14px; font-weight:700; margin:18px 0 8px; }
  label:first-of-type { margin-top:0; }
  .hint { font-weight:400; color:var(--dim); font-size:12px; margin-left:4px; }
  .field { display:flex; align-items:center; height:52px; padding:0 16px; border:1px solid var(--line); border-radius:14px; background:var(--bg2); transition:border-color .15s, background .15s; }
  .field:focus-within { border-color:var(--a1); background:#fff; box-shadow:0 0 0 4px rgba(232,93,4,.08); }
  .field input { flex:1; min-width:0; border:0; outline:0; background:transparent; color:var(--ink); font:inherit; font-size:18px; font-weight:700; }
  .field input::placeholder { color:var(--dim); font-weight:500; }
  .field span { font-size:14px; color:var(--soft); }
  .seg { display:flex; gap:6px; min-width:0; }
  .pair { display:grid; grid-template-columns:1fr 1fr; gap:8px; }
  .field { min-width:0; }
  .seg button { flex:1; height:46px; border:1px solid var(--line); border-radius:14px; background:var(--bg2); font:inherit; font-size:14px; color:var(--soft); cursor:pointer; transition:.15s; white-space:nowrap; min-width:0; padding:0 4px; }
  .seg button.on { border-color:var(--a1); background:var(--tint); color:var(--a1); font-weight:700; }

  .hero { position:relative; overflow:hidden; border-radius:24px; padding:24px 20px 20px; margin-bottom:12px; color:#fff;
    background:linear-gradient(140deg, var(--a0) 0%, var(--a1) 55%, var(--a2) 100%); box-shadow:0 14px 34px rgba(232,93,4,.28); }
  .hero::before { content:""; position:absolute; right:-70px; top:-70px; width:220px; height:220px; border-radius:50%; border:1px solid rgba(255,255,255,.25); }
  .hero::after { content:""; position:absolute; right:-30px; top:-30px; width:140px; height:140px; border-radius:50%; border:1px solid rgba(255,255,255,.18); }
  .hero small { font-size:13px; color:rgba(255,255,255,.85); font-weight:600; }
  .big { font-size:44px; font-weight:800; margin:6px 0 12px; letter-spacing:-.035em; }
  .block { display:inline-flex; align-items:center; gap:6px; font-size:14px; font-weight:700; color:var(--a2); background:#fff; padding:8px 14px; border-radius:999px; }
  .vs { font-size:13px; color:rgba(255,255,255,.9); margin-top:14px; }
  .tgt { margin-top:14px; padding:12px 14px; border-radius:14px; background:rgba(255,255,255,.16); font-size:15px; font-weight:700; }
  .vs b { color:#fff; text-decoration:underline; text-underline-offset:3px; }

  .lim { display:grid; gap:14px; }
  .lim .row { display:grid; grid-template-columns:72px 1fr 70px; align-items:center; gap:10px; font-size:13px; color:var(--soft); }
  .lim .bar { height:10px; border-radius:6px; background:var(--line2); overflow:hidden; }
  .lim .bar i { display:block; height:100%; border-radius:6px; background:#d9d4cb; transition:width .4s cubic-bezier(.2,.8,.2,1); }
  .lim .row b { text-align:right; color:var(--ink); }
  .lim .row.hit { color:var(--a1); font-weight:700; }
  .lim .row.hit .bar i { background:linear-gradient(90deg,var(--a0),var(--a1)); }
  .lim .row.hit b { color:var(--a1); }

  input[type=range] { -webkit-appearance:none; appearance:none; width:100%; height:6px; border-radius:3px; background:linear-gradient(90deg,var(--a1) var(--p,100%), var(--line2) var(--p,100%)); outline:0; margin:16px 0 6px; }
  input[type=range]::-webkit-slider-thumb { -webkit-appearance:none; width:26px; height:26px; border-radius:50%; background:#fff; border:5px solid var(--a1); box-shadow:0 3px 10px rgba(232,93,4,.35); cursor:pointer; }
  input[type=range]::-moz-range-thumb { width:18px; height:18px; border-radius:50%; background:#fff; border:5px solid var(--a1); cursor:pointer; }
  .slide-out { display:grid; grid-template-columns:1fr 1fr; gap:8px; margin-top:14px; }
  .kv { background:var(--bg2); border:1px solid var(--line2); border-radius:14px; padding:14px; }
  .kv small { display:block; font-size:12px; color:var(--soft); margin-bottom:4px; }
  .kv b { font-size:19px; }

  .lines { margin:0; padding:0; list-style:none; }
  .lines li { display:flex; justify-content:space-between; gap:10px; padding:12px 0; border-bottom:1px solid var(--line2); font-size:14px; color:var(--soft); }
  .lines li b { color:var(--ink); white-space:nowrap; }
  .lines li:last-child { border-bottom:0; }
  .lines li.sum { color:var(--ink); font-weight:700; }
  .lines li.sum b { color:var(--a1); font-size:17px; }

  .tl { position:relative; margin:0; padding:0 0 0 24px; list-style:none; }
  .tl::before { content:""; position:absolute; left:6px; top:8px; bottom:10px; width:2px; background:linear-gradient(var(--a1), var(--tint2)); }
  .tl > li { position:relative; margin-bottom:18px; }
  .tl > li:last-child { margin-bottom:0; }
  .tl > li::before { content:""; position:absolute; left:-23px; top:4px; width:14px; height:14px; border-radius:50%; background:#fff; border:3px solid var(--a1); }
  .tl h3 { display:flex; justify-content:space-between; margin:0 0 6px; font-size:15px; }
  .tl h3 span { color:var(--a1); }
  .tl p { margin:0; font-size:13px; color:var(--soft); line-height:1.7; }
  .verdict { border-radius:16px; padding:15px 18px; font-size:15px; font-weight:700; margin-bottom:12px; }
  .verdict.ok { background:#eaf7f0; border:1px solid #bfe6d2; color:var(--good); }
  .verdict.no { background:#fdecea; border:1px solid #f6c5bf; color:var(--bad); }

  .btns { display:flex; gap:8px; }
  .btn { flex:1; height:54px; border:0; border-radius:16px; font:inherit; font-size:15px; font-weight:700; cursor:pointer; }
  .btn.pri { background:linear-gradient(135deg,var(--a0),var(--a1)); color:#fff; box-shadow:0 8px 20px rgba(232,93,4,.28); }
  .btn.sec { background:#fff; color:var(--ink); border:1px solid var(--line); }
  .note { font-size:12px; color:var(--dim); line-height:1.7; margin:16px 2px 0; }
  .cta { display:block; text-align:center; margin-top:18px; font-size:14px; color:var(--a1); font-weight:700; text-decoration:none; }
  .toast { position:fixed; left:50%; bottom:28px; transform:translate(-50%,20px); opacity:0; background:var(--ink); color:#fff; padding:11px 20px; border-radius:999px; font-size:14px; font-weight:700; transition:.25s; pointer-events:none; }
  .toast.on { opacity:1; transform:translate(-50%,0); }
  [hidden] { display:none !important; }

  @media print {
    body { background:#fff !important; }
    .tabs, .btns, .cta, .more, .noprint, h1 { display:none !important; }
    #printTitle { display:block !important; font-size:20px; margin:0 0 12px; }
    .card { box-shadow:none !important; break-inside:avoid; }
  }

  /* 사이트 공통: 상단 바 · 본문 글 · 허브 카드 */
  .top { display:flex; align-items:center; justify-content:space-between; margin-bottom:6px; }
  .top a { font-size:13px; color:var(--soft); text-decoration:none; font-weight:600; }
  .top a.home { display:flex; align-items:center; gap:8px; font-size:11px; letter-spacing:.18em; color:var(--soft); }
  .top a.home i { width:7px; height:7px; border-radius:50%; background:var(--a1); }
  .lead { font-size:14px; color:var(--soft); line-height:1.7; margin:-8px 0 18px; }
  .article { margin-top:28px; }
  .article h2 { font-size:19px; margin:28px 0 10px; }
  .article h3 { font-size:16px; margin:20px 0 8px; }
  .article p, .article li { font-size:14px; line-height:1.8; color:#3a3e47; }
  .article ul, .article ol { padding-left:20px; }
  .tbl { width:100%; border-collapse:collapse; font-size:13px; margin:10px 0 4px; background:#fff; border-radius:14px; overflow:hidden; box-shadow:var(--shadow); }
  .tbl th, .tbl td { padding:10px 8px; border-bottom:1px solid var(--line2); text-align:left; vertical-align:top; }
  .tbl th { background:var(--bg2); color:var(--soft); font-weight:600; }
  .tbl tr:last-child td { border-bottom:0; }
  .faq details { background:#fff; border:1px solid var(--line); border-radius:14px; padding:14px 16px; margin-bottom:8px; }
  .faq summary { font-weight:700; font-size:14px; cursor:pointer; }
  .faq details p { margin:10px 0 0; }
  .hub { display:grid; gap:10px; }
  .hub a { display:block; text-decoration:none; color:var(--ink); background:#fff; border:1px solid var(--line); border-radius:20px; padding:18px; box-shadow:var(--shadow); transition:transform .15s, border-color .15s; }
  .hub a:hover { transform:translateY(-2px); border-color:var(--a1); }
  .hub a.main { background:linear-gradient(140deg,var(--a0),var(--a1) 55%,var(--a2)); color:#fff; border:0; box-shadow:0 14px 34px rgba(232,93,4,.25); }
  .hub small { display:inline-block; font-size:11px; font-weight:700; color:var(--a1); background:var(--tint); padding:3px 8px; border-radius:999px; margin-bottom:8px; }
  .hub a.main small { color:var(--a2); background:#fff; }
  .hub b { display:block; font-size:18px; margin-bottom:4px; }
  .hub span { font-size:13px; color:var(--soft); line-height:1.6; }
  .hub a.main span { color:rgba(255,255,255,.9); }
  .hub em { display:block; font-style:normal; font-size:13px; font-weight:700; color:var(--a1); margin-top:10px; }
  .hub a.main em { color:#fff; }
  .more { margin-top:30px; }
  .more a { display:block; text-align:center; padding:16px; border-radius:16px; background:var(--ink); color:#fff; text-decoration:none; font-weight:700; font-size:15px; }
  .check li { list-style:none; display:flex; gap:10px; align-items:flex-start; padding:11px 0; border-bottom:1px solid var(--line2); font-size:14px; line-height:1.6; }
  .check { padding:0; margin:0; }
  .check input { width:20px; height:20px; accent-color:var(--a1); margin-top:2px; flex:none; }
  .check li.done span { color:var(--dim); text-decoration:line-through; }
  .prog { font-size:13px; color:var(--soft); margin:0 0 12px; }
  .prog b { color:var(--a1); }
  .scroll { overflow-x:auto; }
