/* BoozaThink 2.0 — Premium Business Fintech Design System (Toss Business × Stripe) */
:root {
  --font: 'Pretendard Variable', Pretendard, 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Malgun Gothic', system-ui, sans-serif;
  --bg: #f6f8fb; --bg-elev: #ffffff; --bg-soft: #eef2f8; --bg-hero: linear-gradient(180deg, #eef4ff 0%, #f6f8fb 100%);
  --text: #191f28; --text-2: #4e5968; --text-3: #8b95a1; --line: #e5e8eb; --line-2: #d1d6db;
  --brand: #1b64da; --brand-2: #3182f6; --brand-soft: #e8f3ff; --brand-ink: #0f4bb4; --indigo: #5b5bd6;
  --good: #0e9f6e; --good-soft: #e6f7f0; --warn: #d97706; --warn-soft: #fff4e0; --bad: #e5484d; --bad-soft: #feecec;
  --radius: 16px; --radius-sm: 10px; --shadow: 0 1px 2px rgba(16,24,40,.04), 0 4px 16px rgba(16,24,40,.06); --shadow-lg: 0 12px 40px rgba(16,24,40,.12);
  --w: 1180px; --gnb-h: 64px;
  color-scheme: light;
}
[data-theme="dark"] {
  --bg: #0b1220; --bg-elev: #121a2b; --bg-soft: #18223a; --bg-hero: linear-gradient(180deg, #0f1b33 0%, #0b1220 100%);
  --text: #e8edf5; --text-2: #aab4c3; --text-3: #7d8899; --line: #222d43; --line-2: #2d3a55;
  --brand: #4c8dff; --brand-2: #6aa1ff; --brand-soft: #16264a; --brand-ink: #9cc0ff; --indigo: #8b8bf0;
  --good: #34d399; --good-soft: #0f2b24; --warn: #fbbf24; --warn-soft: #2e2410; --bad: #f87171; --bad-soft: #3a1618;
  --shadow: 0 1px 2px rgba(0,0,0,.3), 0 4px 16px rgba(0,0,0,.25); --shadow-lg: 0 12px 40px rgba(0,0,0,.45);
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--gnb-h) + 16px); }
body { margin: 0; font-family: var(--font); background: var(--bg); color: var(--text); font-size: 16px; line-height: 1.65; letter-spacing: -0.01em; word-break: keep-all; overflow-wrap: anywhere; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
button, input, select { font: inherit; color: inherit; }
.tnum, .tnum * { font-variant-numeric: tabular-nums; font-feature-settings: 'tnum' 1; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--brand); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--brand) 55%, transparent); outline-offset: 2px; border-radius: 6px; }
.container { max-width: var(--w); margin: 0 auto; padding: 0 20px; }
.container.narrow { max-width: 820px; }
.main { min-height: 60vh; padding-bottom: 64px; }
.card { background: var(--bg-elev); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px; }
.pill { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 999px; background: var(--brand-soft); color: var(--brand-ink); font-size: 12.5px; font-weight: 700; }
.eyebrow { display: inline-block; color: var(--brand); font-weight: 700; font-size: 14px; margin-bottom: 10px; }

/* GNB */
.gnb { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg-elev) 88%, transparent); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid var(--line); }
.gnb-inner { max-width: var(--w); margin: 0 auto; padding: 0 20px; height: var(--gnb-h); display: flex; align-items: center; gap: 20px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none !important; flex-shrink: 0; }
.logo-mark { width: 32px; height: 32px; border-radius: 9px; background: linear-gradient(135deg, var(--brand-2), var(--indigo)); color: #fff; font-weight: 800; display: grid; place-items: center; font-size: 17px; box-shadow: 0 4px 12px rgba(27,100,218,.35); }
.logo-text { display: inline-flex; align-items: baseline; gap: 7px; white-space: nowrap; }
.logo-text strong { font-size: 18px; font-weight: 800; letter-spacing: -0.02em; }
.logo-sep { color: var(--line-2); }
.logo-sub { font-size: 13px; color: var(--text-2); font-weight: 600; }
.gnb-nav { flex: 1; }
.gnb-list { list-style: none; display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; }
.gnb-list > li > a, .dd-btn { display: inline-flex; align-items: center; gap: 4px; padding: 8px 11px; border-radius: 10px; color: var(--text-2); font-weight: 600; font-size: 14.5px; background: none; border: 0; cursor: pointer; white-space: nowrap; text-decoration: none; }
.gnb-list > li > a:hover, .dd-btn:hover, .gnb-list > li > a[aria-current] { background: var(--bg-soft); color: var(--text); text-decoration: none; }
.dd-btn { color: var(--brand); }
.has-dd { position: relative; }
.dd { position: absolute; top: calc(100% + 8px); left: 0; width: 420px; list-style: none; margin: 0; padding: 8px; background: var(--bg-elev); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(-4px); transition: .16s ease; }
.has-dd.open .dd, .has-dd:hover .dd, .has-dd:focus-within .dd { opacity: 1; visibility: visible; transform: none; }
.dd a { display: flex; gap: 12px; padding: 10px 12px; border-radius: 10px; color: var(--text); text-decoration: none; }
.dd a:hover { background: var(--bg-soft); text-decoration: none; }
.dd-ico { font-size: 22px; line-height: 1.2; }
.dd strong { display: block; font-size: 14.5px; }
.dd small { display: block; color: var(--text-3); font-size: 12.5px; line-height: 1.45; }
.dd-all a { justify-content: flex-end; color: var(--brand); font-weight: 700; font-size: 13.5px; }
.gnb-actions { display: flex; gap: 6px; margin-left: auto; }
.icon-btn { width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg-elev); cursor: pointer; display: grid; place-items: center; font-size: 16px; }
.icon-btn:hover { background: var(--bg-soft); }
.i-moon { display: none; }
[data-theme="dark"] .i-sun { display: none; }
[data-theme="dark"] .i-moon { display: inline; }
.menu-btn { display: none; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 10px 16px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--bg-elev); color: var(--text); font-weight: 700; font-size: 14.5px; cursor: pointer; text-decoration: none !important; transition: transform .08s ease, background .15s ease; }
.btn:hover { background: var(--bg-soft); }
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--brand); border-color: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-ink); }
[data-theme="dark"] .btn-primary:hover { background: var(--brand-2); }
.btn-ghost { background: transparent; border-color: transparent; color: var(--text-2); }
.btn-lg { padding: 14px 22px; font-size: 16px; border-radius: 14px; }
.chip { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--bg-elev); font-size: 13px; font-weight: 600; cursor: pointer; }
.chip:hover { border-color: var(--brand); color: var(--brand); }

/* Hero */
.hero { background: var(--bg-hero); border-bottom: 1px solid var(--line); }
.hero-inner { display: grid; grid-template-columns: 1.25fr .75fr; gap: 48px; align-items: center; padding-top: 64px; padding-bottom: 64px; }
.hero h1 { font-size: clamp(34px, 5.2vw, 56px); line-height: 1.15; letter-spacing: -0.035em; margin: 0 0 18px; font-weight: 800; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, var(--brand), var(--indigo)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 17.5px; color: var(--text-2); margin: 0 0 22px; line-height: 1.7; }
.hero-cta { display: flex; gap: 10px; flex-wrap: wrap; }
.hero-stats { list-style: none; display: flex; gap: 32px; padding: 0; margin: 32px 0 0; }
.hero-stats strong { display: block; font-size: 28px; font-weight: 800; }
.hero-stats span { color: var(--text-3); font-size: 13.5px; }
.receipt { --paper: #fffdf7; background: var(--paper); color: #222; font-family: 'D2Coding', 'Nanum Gothic Coding', ui-monospace, Consolas, monospace; padding: 22px 20px 26px; border-radius: 6px 6px 0 0; box-shadow: var(--shadow-lg); transform: rotate(1.5deg); position: relative; max-width: 340px; margin-left: auto; font-size: 13.5px; }
.receipt::after { content: ''; position: absolute; left: 0; right: 0; bottom: -10px; height: 10px; background: linear-gradient(-45deg, transparent 7px, var(--paper) 0) 0 0/14px 10px, linear-gradient(45deg, transparent 7px, var(--paper) 0) 0 0/14px 10px; }
.receipt p { display: flex; justify-content: space-between; margin: 5px 0; font-variant-numeric: tabular-nums; }
.receipt hr { border: 0; border-top: 1.5px dashed #999; margin: 12px 0; }
.r-title { justify-content: center !important; font-weight: 800; font-size: 16px; letter-spacing: .04em; }
.r-sub { justify-content: center !important; color: #666; font-size: 12px; }
.r-total { font-weight: 800; font-size: 16px; }
.r-foot { justify-content: center !important; color: #888; font-size: 11px; letter-spacing: .25em; margin-top: 14px !important; }

/* Sections & grids */
.sec { margin-top: 56px; }
.sec-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 14px; }
.sec-head h2 { font-size: 24px; letter-spacing: -0.025em; margin: 0; }
.sec-head a { font-weight: 700; font-size: 14.5px; white-space: nowrap; }
.sec-desc { color: var(--text-2); margin: -4px 0 18px; }
.calc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.calc-card { display: flex; flex-direction: column; gap: 6px; color: var(--text); text-decoration: none !important; transition: transform .15s ease, box-shadow .15s ease, border-color .15s; }
.calc-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--brand); }
.calc-card h2, .calc-card h3 { font-size: 17px; margin: 6px 0 2px; line-height: 1.4; letter-spacing: -0.02em; }
.calc-card p { color: var(--text-2); font-size: 14px; margin: 0; flex: 1; }
.cc-ico { font-size: 30px; }
.cc-cta { color: var(--brand); font-weight: 700; font-size: 14px; margin-top: 10px; }
.a-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.a-card { display: flex; flex-direction: column; gap: 6px; color: var(--text); text-decoration: none !important; transition: transform .15s, box-shadow .15s; }
.a-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.a-card h3 { font-size: 17px; line-height: 1.45; margin: 2px 0; letter-spacing: -0.02em; }
.a-card p { font-size: 14px; color: var(--text-2); margin: 0; flex: 1; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.a-cat { font-size: 12.5px; font-weight: 700; color: var(--brand); }
.a-meta { font-size: 12.5px; color: var(--text-3); margin-top: 8px; }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.why-grid h3 { margin-top: 0; font-size: 17px; }
.why-grid p { margin: 0; color: var(--text-2); font-size: 14.5px; }

/* Page head & breadcrumb */
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 20px 0 0; font-size: 13px; color: var(--text-3); }
.crumbs li + li::before { content: '›'; margin-right: 6px; color: var(--line-2); }
.crumbs a { color: var(--text-3); }
.page-head { padding: 26px 0 22px; }
.page-head h1 { font-size: clamp(26px, 3.6vw, 38px); line-height: 1.25; letter-spacing: -0.03em; margin: 0 0 12px; }
.badges { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; }
.badges li { font-size: 13px; font-weight: 600; padding: 5px 11px; border-radius: 999px; background: var(--bg-elev); border: 1px solid var(--line); color: var(--text-2); }
.cat-calc { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; color: var(--text); text-decoration: none !important; background: linear-gradient(120deg, var(--brand-soft), var(--bg-elev)); }
.cat-calc p { margin: 2px 0 0; color: var(--text-2); font-size: 14.5px; }
.cat-calc .cc-cta { margin: 0 0 0 auto; white-space: nowrap; }

/* Calculator layout */
.calc { display: grid; grid-template-columns: minmax(0, 440px) minmax(0, 1fr); gap: 20px; align-items: start; }
.calc-form { position: sticky; top: calc(var(--gnb-h) + 14px); max-height: calc(100vh - var(--gnb-h) - 28px); overflow: auto; padding: 18px 20px; }
.calc-form fieldset { border: 0; padding: 0; margin: 0 0 14px; }
.calc-form legend { font-weight: 800; font-size: 15px; margin-bottom: 8px; color: var(--text); padding: 0; }
.field { padding: 9px 0; border-bottom: 1px dashed var(--line); }
.field:last-child { border-bottom: 0; }
.field > label, .field .label { display: block; font-size: 13.5px; font-weight: 700; color: var(--text-2); margin-bottom: 6px; }
.hint { color: var(--text-3); font-weight: 500; font-size: 12px; }
.field-row { display: grid; grid-template-columns: 1fr 138px; gap: 12px; align-items: center; }
.num { display: flex; align-items: center; border: 1px solid var(--line-2); border-radius: 10px; background: var(--bg); padding: 0 10px; transition: border-color .15s, box-shadow .15s; }
.num:focus-within { border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 18%, transparent); }
.num input { width: 100%; border: 0; background: transparent; padding: 8px 0; text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; outline: none; -moz-appearance: textfield; }
.num input::-webkit-outer-spin-button, .num input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.unit { color: var(--text-3); font-size: 13px; margin-left: 6px; white-space: nowrap; }
select { width: 100%; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--bg); font-weight: 600; font-size: 14.5px; }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 99px; background: linear-gradient(to right, var(--brand) 0%, var(--brand) var(--p, 50%), var(--line) var(--p, 50%)); outline: none; cursor: pointer; }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 2px solid var(--brand); box-shadow: 0 2px 6px rgba(0,0,0,.18); }
input[type=range]::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 2px solid var(--brand); }
.seg { display: flex; flex-wrap: wrap; background: var(--bg-soft); border-radius: 11px; padding: 3px; gap: 3px; }
.seg-opt { flex: 1 1 auto; min-width: 72px; position: relative; }
.seg-opt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.seg-opt span { display: block; text-align: center; padding: 7px 8px; border-radius: 9px; font-size: 13px; font-weight: 700; color: var(--text-2); white-space: nowrap; }
.seg-opt input:checked + span { background: var(--bg-elev); color: var(--brand); box-shadow: var(--shadow); }
.seg-opt input:focus-visible + span { outline: 2px solid var(--brand); }
.field > label.switch, .switch { display: flex; align-items: center; gap: 12px; margin-bottom: 0; cursor: pointer; position: relative; }
.switch input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.track { display: inline-block; width: 44px; height: 26px; border-radius: 99px; background: var(--line-2); position: relative; flex: 0 0 44px; transition: background .15s; }
.track::after { content: ''; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .15s; box-shadow: 0 1px 3px rgba(0,0,0,.25); }
.switch input:checked + .track { background: var(--brand); }
.switch input:checked + .track::after { transform: translateX(18px); }
.switch input:focus-visible + .track { outline: 3px solid color-mix(in srgb, var(--brand) 40%, transparent); }
.switch-label { flex: 1; min-width: 0; font-size: 13.8px; font-weight: 650; color: var(--text-2); line-height: 1.45; }

/* Custom Vector Icons & Craft Badges */
.ico { display: inline-block; vertical-align: -0.18em; flex-shrink: 0; }
.ico-box { width: 40px; height: 40px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); display: inline-grid; place-items: center; flex-shrink: 0; }
.ico-box-sm { width: 32px; height: 32px; border-radius: 9px; background: var(--brand-soft); color: var(--brand); display: inline-grid; place-items: center; flex-shrink: 0; }
.status-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 6px; vertical-align: middle; background: var(--good); }
.status-dot.caution { background: var(--warn); }
.status-dot.danger { background: var(--bad); }
.biz-feedback { margin-top: 8px; padding: 11px 13px; border-radius: 11px; background: var(--bg-soft); border: 1px solid var(--line); font-size: 13px; color: var(--text-2); line-height: 1.55; }
.biz-feedback strong { color: var(--text); }
.biz-feedback-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 5px; }
.btn-xs { padding: 4px 10px; font-size: 12px; border-radius: 7px; border: 1px solid var(--brand); background: var(--bg-elev); color: var(--brand); font-weight: 700; cursor: pointer; }
.btn-xs:hover { background: var(--brand); color: #fff; }
.footnote-meta { font-size: 12.5px; color: var(--text-3); margin-top: 8px; }

/* Startup Master & Funding & Commercial Lab */
.prof-toolbar { display: grid; gap: 8px; margin-bottom: 10px; }
.prof-search { width: 100%; border: 1px solid var(--line-2); border-radius: 9px; background: var(--bg); padding: 8px 11px; font: inherit; font-size: 13px; color: var(--text); }
.prof-search:focus { outline: none; border-color: var(--brand); }
.prof-chips { display: flex; flex-wrap: wrap; gap: 5px; }
.prof-chip { padding: 5px 9px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--bg); font-size: 12px; font-weight: 700; color: var(--text-2); cursor: pointer; }
.prof-chip.active, .prof-chip:hover { background: var(--brand); border-color: var(--brand); color: #fff; }
.profile-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 7px; margin-bottom: 8px; max-height: 295px; overflow-y: auto; padding-right: 3px; }
.prof-btn[hidden] { display: none !important; }
.prof-btn { text-align: left; padding: 9px 11px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--bg); cursor: pointer; font-size: 13px; font-weight: 700; color: var(--text-2); transition: .12s; }
.prof-btn small { display: block; font-size: 11px; color: var(--text-3); font-weight: 500; }
.prof-btn.active, .prof-btn:hover { border-color: var(--brand); background: var(--brand-soft); color: var(--brand-ink); }
.season-chart { display: grid; grid-template-columns: repeat(12, 1fr); gap: 6px; align-items: end; height: 170px; padding: 22px 4px 0; }
.m-col { display: flex; flex-direction: column; align-items: center; height: 100%; justify-content: flex-end; font-size: 11px; }
.m-bar-wrap { width: 100%; flex: 1; display: flex; align-items: flex-end; justify-content: center; }
.m-bar { width: 100%; max-width: 26px; border-radius: 5px 5px 2px 2px; background: var(--brand-2); transition: height .18s ease; }
.m-bar.peak { background: var(--good); }
.m-bar.low { background: var(--warn); }
.m-bar.neg { background: var(--bad); }
.m-lbl { margin-top: 5px; font-weight: 700; color: var(--text-2); }
.m-val { font-size: 10px; color: var(--text-3); white-space: nowrap; }
.tip-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.tip-list li { padding: 12px 14px; border-radius: 11px; background: var(--bg-soft); font-size: 14px; line-height: 1.6; border-left: 3px solid var(--brand); }
.rate-board { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; font-size: 14px; background: var(--bg-elev); }
.rate-board th, .rate-board td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.rate-board thead th { background: var(--bg-soft); font-weight: 800; font-size: 13px; color: var(--text-2); }
.rate-board tbody tr:last-child td { border-bottom: 0; }
.rate-num { font-weight: 800; color: var(--brand-ink); white-space: nowrap; font-size: 15px; }
.ladder-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ladder-item { display: flex; gap: 12px; padding: 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg); }
.ladder-step { width: 28px; height: 28px; border-radius: 8px; background: var(--brand); color: #fff; font-weight: 800; font-size: 13px; display: grid; place-items: center; flex-shrink: 0; }
.pro-gate { position: relative; border: 2px solid color-mix(in srgb, var(--brand) 45%, var(--line)); background: linear-gradient(155deg, var(--brand-soft), var(--bg-elev)); }
.craft-banner { display: flex; align-items: center; gap: 14px; padding: 16px 20px; border-radius: 14px; background: var(--bg-elev); border: 1px solid var(--line); margin-top: 22px; font-size: 14px; color: var(--text-2); }
.craft-banner strong { color: var(--text); }
.plan-note, .fx-note { font-size: 12.5px; color: var(--text-3); background: var(--bg-soft); padding: 8px 10px; border-radius: 8px; margin: 0 0 4px; }
.preset-row { display: flex; gap: 6px; flex-wrap: wrap; margin: -2px 0 6px; }
.calc-out { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.card-h { font-size: 16px; margin: 0 0 14px; letter-spacing: -0.02em; }
.result-hero { background: linear-gradient(135deg, var(--brand), var(--indigo)); color: #fff; border: 0; padding: 26px; }
.result-hero[data-status="caution"] { background: linear-gradient(135deg, #c27803, #e3a008); }
.result-hero[data-status="danger"] { background: linear-gradient(135deg, #c81e1e, #e5484d); }
.rh-label { margin: 0; font-weight: 700; opacity: .9; font-size: 14.5px; }
.rh-value { margin: 6px 0; font-size: clamp(36px, 5vw, 50px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; }
.rh-sub { margin: 0; opacity: .95; font-size: 14.5px; }
.kpi-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.kpi-grid > div { background: var(--bg-soft); border-radius: 12px; padding: 12px 14px; }
.kpi-grid > div.wide { grid-column: 1 / -1; }
.kpi-grid span { display: block; font-size: 12.5px; color: var(--text-3); font-weight: 600; }
.kpi-grid strong { font-size: 19px; font-weight: 800; letter-spacing: -0.02em; }
.kpi-grid .hl { background: var(--brand-soft); }
.kpi-grid .hl strong { color: var(--brand-ink); }
.chart { width: 100%; min-height: 40px; margin-top: 12px; }
.chart svg { width: 100%; height: auto; overflow: visible; }
.chart text { fill: var(--text-2); font-family: var(--font); font-size: 11px; font-variant-numeric: tabular-nums; }
.mini-table { width: 100%; border-collapse: collapse; margin-top: 12px; font-size: 13.5px; }
.mini-table th { text-align: left; font-weight: 600; color: var(--text-2); padding: 6px 0; border-bottom: 1px solid var(--line); }
.mini-table td { text-align: right; padding: 6px 0 6px 10px; border-bottom: 1px solid var(--line); font-weight: 700; }
.mini-table tr:last-child th, .mini-table tr:last-child td { border-bottom: 0; color: var(--brand); }
.killer { border: 2px solid var(--brand); background: linear-gradient(180deg, var(--brand-soft), var(--bg-elev)); }
.killer-text { margin: 0; font-size: 16.5px; line-height: 1.7; }
.killer-text strong { color: var(--brand-ink); }
.killer-text.sub { font-size: 14.5px; color: var(--text-2); margin-top: 10px; }
.signal-row { display: flex; gap: 8px; margin-bottom: 14px; }
.sig { flex: 1; text-align: center; padding: 9px; border-radius: 10px; font-weight: 800; font-size: 14px; background: var(--bg-soft); color: var(--text-3); opacity: .55; }
.signal-row[data-signal="safe"] .sig-safe { background: var(--good-soft); color: var(--good); opacity: 1; box-shadow: inset 0 0 0 2px var(--good); }
.signal-row[data-signal="caution"] .sig-caution { background: var(--warn-soft); color: var(--warn); opacity: 1; box-shadow: inset 0 0 0 2px var(--warn); }
.signal-row[data-signal="danger"] .sig-danger { background: var(--bad-soft); color: var(--bad); opacity: 1; box-shadow: inset 0 0 0 2px var(--bad); }
.note { font-size: 13px; color: var(--text-3); margin: 10px 0 0; }
.bench { border-style: dashed; }
.bench-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 8px; }
.bench-src { font-size: 12px; color: var(--text-3); }
.bench-text { margin: 0; font-size: 15px; }
.bench-text strong { color: var(--brand-ink); }
.calc-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.toast { font-size: 13.5px; color: var(--good); font-weight: 700; }
.prog-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.prog { border: 1px solid var(--line); border-radius: 14px; padding: 16px; background: var(--bg); }
.prog-head { display: flex; align-items: center; gap: 10px; }
.prog-head h3 { font-size: 15.5px; margin: 0; flex: 1; line-height: 1.4; }
.prog-rank { width: 26px; height: 26px; border-radius: 8px; background: var(--brand); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 13px; flex-shrink: 0; }
.fit { font-size: 12.5px; font-weight: 800; color: var(--good); background: var(--good-soft); padding: 3px 8px; border-radius: 99px; }
.prog-why { margin: 8px 0; font-size: 14px; color: var(--text-2); }
.prog-dl { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 14px; margin: 0; font-size: 13.5px; }
.prog-dl dt { color: var(--text-3); font-size: 12px; font-weight: 700; }
.prog-dl dd { margin: 0; font-weight: 600; }
.docs { margin-top: 10px; font-size: 13.5px; }
.docs summary { cursor: pointer; font-weight: 700; color: var(--brand); }
.checklist { list-style: none; padding: 8px 0 0; margin: 0; display: grid; gap: 4px; }

/* Prose (articles & guides) */
.prose { max-width: 780px; font-size: 16.5px; line-height: 1.85; }
.calc-guide { margin-top: 48px; }
.prose h2 { font-size: 24px; line-height: 1.4; letter-spacing: -0.025em; margin: 48px 0 14px; }
.prose h3 { font-size: 19px; margin: 30px 0 10px; letter-spacing: -0.02em; }
.prose p { margin: 0 0 16px; }
.prose ul, .prose ol { padding-left: 22px; margin: 0 0 16px; }
.prose li { margin: 6px 0; }
.prose strong { font-weight: 750; }
.prose table { width: 100%; border-collapse: separate; border-spacing: 0; margin: 18px 0 22px; font-size: 14.5px; line-height: 1.55; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; display: block; overflow-x: auto; font-variant-numeric: tabular-nums; }
.prose thead th { background: var(--bg-soft); font-weight: 800; text-align: left; }
.prose th, .prose td { padding: 10px 14px; border-bottom: 1px solid var(--line); vertical-align: top; min-width: 90px; }
.prose tbody tr:last-child td { border-bottom: 0; }
.prose blockquote { margin: 18px 0; padding: 14px 18px; border-left: 4px solid var(--brand); background: var(--bg-soft); border-radius: 0 12px 12px 0; color: var(--text-2); }
.callout { margin: 18px 0; padding: 14px 18px; border-radius: 12px; background: var(--brand-soft); color: var(--text); font-size: 15.5px; }
.callout.warn { background: var(--warn-soft); }
.formula { margin: 16px 0; padding: 14px 18px; border-radius: 12px; background: var(--bg-elev); border: 1px solid var(--line-2); font-weight: 700; font-variant-numeric: tabular-nums; box-shadow: var(--shadow); font-size: 15.5px; }
.rel-list li { margin: 8px 0; }

/* Article */
.article-wrap .article { max-width: 780px; }
.a-head { padding: 26px 0 18px; }
.a-head h1 { font-size: clamp(27px, 3.8vw, 40px); line-height: 1.3; letter-spacing: -0.03em; margin: 4px 0 14px; }
.a-byline { color: var(--text-3); font-size: 13.5px; margin: 0; }
.tldr { margin: 8px 0 16px; background: linear-gradient(135deg, var(--brand-soft), var(--bg-elev)); }
.tldr h2, .toc h2 { font-size: 16px; margin: 0 0 8px; }
.tldr ul { margin: 0; padding-left: 20px; }
.tldr li { margin: 5px 0; font-weight: 600; }
.toc ol { margin: 0; padding-left: 20px; columns: 2; column-gap: 28px; font-size: 14.5px; }
.toc li { margin: 4px 0; break-inside: avoid; }
.a-body section { scroll-margin-top: calc(var(--gnb-h) + 16px); }
.cases { margin-top: 12px; }
.case { border-radius: 14px; padding: 18px 20px; margin: 16px 0; border: 1px solid var(--line); background: var(--bg-elev); }
.case-fail { border-left: 5px solid var(--bad); }
.case-success { border-left: 5px solid var(--good); }
.case h3 { margin: 6px 0 10px; font-size: 18px; }
.case-tag { font-size: 13px; font-weight: 800; }
.case-fail .case-tag { color: var(--bad); }
.case-success .case-tag { color: var(--good); }
.cta-box { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 32px 0; background: linear-gradient(120deg, var(--brand-soft), var(--bg-elev)); }
.cta-box p { margin: 4px 0 0; color: var(--text-2); font-size: 14px; }

/* Mini calculator */
.mini-calc { margin: 28px 0; border: 2px solid color-mix(in srgb, var(--brand) 35%, var(--line)); font-size: 15px; line-height: 1.5; }
.mc-head h3 { margin: 8px 0 14px !important; font-size: 18px !important; }
.mc-body { display: grid; grid-template-columns: 1.1fr .9fr; gap: 20px; align-items: start; }
.mc-field { margin-bottom: 12px; }
.mc-field label { display: flex; justify-content: space-between; gap: 8px; font-size: 13.5px; font-weight: 700; color: var(--text-2); margin-bottom: 6px; }
.mc-field output { color: var(--brand-ink); font-weight: 800; }
.mc-out { margin: 0; display: grid; gap: 8px; }
.mc-out > div { background: var(--bg-soft); border-radius: 10px; padding: 10px 12px; }
.mc-out dt { font-size: 12.5px; color: var(--text-3); font-weight: 700; }
.mc-out dd { margin: 0; font-size: 17px; font-weight: 800; }
.mc-out .good dd { color: var(--good); }
.mc-out .warn dd { color: var(--warn); }
.mc-out .bad dd { color: var(--bad); }
.mc-cta { margin-top: 14px; width: 100%; }

/* FAQ & trust */
.faq { max-width: 780px; margin-top: 48px; }
.faq h2 { font-size: 24px; letter-spacing: -0.025em; }
.faq-item { background: var(--bg-elev); border: 1px solid var(--line); border-radius: 14px; margin: 10px 0; overflow: hidden; }
.faq-item summary { cursor: pointer; padding: 16px 18px; font-weight: 700; list-style: none; display: flex; gap: 8px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; margin-left: auto; color: var(--text-3); font-size: 20px; line-height: 1; }
.faq-item[open] summary::after { content: '−'; }
.faq-item .q { color: var(--brand); }
.faq-a { padding: 0 18px 16px; color: var(--text-2); }
.faq-a p { margin: 0; }
.trust-box { max-width: 780px; margin-top: 36px; padding: 20px 22px; border-radius: 14px; background: var(--bg-soft); border: 1px solid var(--line); font-size: 14px; color: var(--text-2); }
.trust-box h2 { font-size: 16px; margin: 0 0 10px; color: var(--text); }
.trust-box p { margin: 6px 0; }
.legal h1 { font-size: 32px; letter-spacing: -0.03em; margin: 28px 0 18px; }

/* Footer */
.footer { background: var(--bg-elev); border-top: 1px solid var(--line); padding: 44px 0 28px; font-size: 14px; color: var(--text-2); }
.footer-inner { max-width: var(--w); margin: 0 auto; padding: 0 20px; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 28px; }
.f-brand p { margin: 12px 0 0; font-size: 13.5px; line-height: 1.7; }
.f-col h3 { font-size: 14px; margin: 4px 0 10px; color: var(--text); }
.f-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 7px; }
.f-col a { color: var(--text-2); }
.footer-src { max-width: var(--w); margin: 28px auto 0; padding: 20px 20px 0; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--text-3); }
.footer-src p { margin: 4px 0; }
.footer-src a { color: var(--text-2); }

/* Season Bar, Year-End Free Access Notice, 6-Grid, Contact Form & Site-Kit Admin */
.season-bar { background: linear-gradient(90deg, #0f2942, #1b64da); color: #fff; font-size: 13px; border-bottom: 1px solid rgba(255,255,255,.14); }
.season-inner { display: flex; align-items: center; gap: 10px; padding-top: 8px; padding-bottom: 8px; flex-wrap: wrap; }
.season-pill { background: #fbbf24; color: #111827; padding: 3px 10px; border-radius: 999px; font-weight: 850; font-size: 11.5px; white-space: nowrap; letter-spacing: -0.01em; }
.season-msg { font-weight: 650; opacity: .97; flex: 1; min-width: 200px; line-height: 1.4; }
.season-link { color: #fde68a; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.free-open-box { margin: 16px 0 6px; padding: 13px 15px; border-radius: 13px; background: color-mix(in srgb, var(--brand) 7%, var(--bg-elev)); border: 1.5px solid color-mix(in srgb, var(--brand) 32%, var(--line)); font-size: 13.8px; line-height: 1.55; color: var(--text-2); display: flex; align-items: flex-start; gap: 10px; flex-wrap: wrap; }
.free-open-badge { background: var(--brand); color: #fff; font-size: 11.5px; font-weight: 800; padding: 3px 9px; border-radius: 999px; white-space: nowrap; margin-top: 1px; }
.free-open-body { flex: 1; min-width: 210px; }
.free-open-body strong { color: var(--text); }
.free-save-tip { font-size: 12.8px; color: var(--brand-ink); background: var(--brand-soft); border-radius: 10px; padding: 9px 12px; margin: 0; font-weight: 650; line-height: 1.45; }
.calc-grid-6 { grid-template-columns: repeat(3, 1fr); }
.cat-calc-stack { display: grid; gap: 12px; margin-bottom: 22px; }
.cat-calc-stack .cat-calc { margin-bottom: 0; }
.contact-card { margin: 22px 0 32px; }
.contact-card h2 { margin-top: 0 !important; font-size: 20px !important; }
.contact-ta, .admin-input { width: 100%; border: 1px solid var(--line-2); border-radius: 10px; background: var(--bg); padding: 10px 12px; font: inherit; color: var(--text); resize: vertical; }
.contact-ta:focus, .admin-input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 18%, transparent); }

.admin-login { margin-top: 48px; max-width: 520px; margin-left: auto; margin-right: auto; }
.admin-login h1 { margin: 12px 0 8px; font-size: 26px; }
.admin-form { display: grid; gap: 14px; margin-top: 12px; }
.admin-wrap { padding-top: 26px; }
.admin-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.admin-head h1 { margin: 8px 0 0; font-size: 28px; letter-spacing: -0.03em; }
.admin-controls { display: flex; align-items: center; gap: 10px; }
.seg-link { padding: 7px 13px; border-radius: 9px; font-size: 13.5px; font-weight: 700; color: var(--text-2); text-decoration: none !important; }
.seg-link.active { background: var(--bg-elev); color: var(--brand); box-shadow: var(--shadow); }
.admin-kpis { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin-bottom: 18px; }
.admin-kpis .card { padding: 16px; }
.ak-label { display: block; font-size: 12.5px; color: var(--text-3); font-weight: 700; }
.ak-val { display: block; font-size: 24px; font-weight: 800; margin: 4px 0 2px; letter-spacing: -0.02em; }
.admin-kpis small { color: var(--text-3); font-size: 11.5px; }
.admin-sec { margin-bottom: 18px; }
.admin-two { display: grid; grid-template-columns: 1.45fr 1fr; gap: 18px; align-items: start; }
.daily-bars { display: flex; align-items: flex-end; gap: 8px; height: 160px; padding-top: 18px; overflow-x: auto; }
.d-col { flex: 1; min-width: 40px; display: flex; flex-direction: column; align-items: center; height: 100%; justify-content: flex-end; font-size: 11.5px; }
.d-bar-wrap { width: 100%; max-width: 28px; flex: 1; display: flex; align-items: flex-end; margin: 4px 0; }
.d-bar { width: 100%; background: linear-gradient(180deg, var(--brand-2), var(--brand)); border-radius: 6px 6px 2px 2px; }
.d-num { font-weight: 800; color: var(--brand-ink); }
.d-day { font-weight: 700; color: var(--text-2); }
.table-scroll { overflow-x: auto; }
.admin-table thead th { text-align: right; font-size: 12px; color: var(--text-3); padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.admin-table thead th:first-child { text-align: left; }
.admin-table tbody tr:last-child th, .admin-table tbody tr:last-child td { color: inherit; }
.path-sub { display: block; color: var(--text-3); font-size: 11.5px; font-weight: 500; }
.stat-bars { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.sb-row { display: flex; justify-content: space-between; font-size: 13.5px; margin-bottom: 4px; }
.sb-track { height: 7px; background: var(--bg-soft); border-radius: 99px; overflow: hidden; }
.sb-fill { height: 100%; background: var(--brand); border-radius: 99px; }
.sub-h { font-size: 14px; margin: 18px 0 8px; color: var(--text-2); }
.env-list, .inq-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.env-list li { display: flex; align-items: center; gap: 10px; font-size: 13.5px; padding: 8px 10px; border-radius: 10px; background: var(--bg-soft); }
.env-list small { display: block; color: var(--text-3); font-size: 12px; }
.env-dot { font-size: 12px; font-weight: 800; white-space: nowrap; }
.inq-list li { padding: 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); }
.inq-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 13px; margin-bottom: 6px; }
.inq-url { font-size: 12px; color: var(--text-3); margin: 0 0 4px; }
.inq-msg { margin: 0; font-size: 14px; white-space: pre-wrap; }

/* Survival Calendar & Field Checklists */
.cal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cal-card { display: flex; flex-direction: column; gap: 10px; }
.cal-card.cal-cur { border: 2px solid var(--brand); box-shadow: 0 10px 28px color-mix(in srgb, var(--brand) 14%, transparent); }
.cal-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.cal-m { font-size: 22px; font-weight: 900; color: var(--brand-ink); letter-spacing: -0.03em; }
.cal-card h3 { margin: 0; font-size: 16px; line-height: 1.45; }
.cal-list { margin: 0; padding-left: 18px; font-size: 13.5px; color: var(--text-2); display: grid; gap: 5px; }
.cal-trap { padding: 10px 12px; border-radius: 10px; background: var(--bg-soft); border: 1px solid var(--line); font-size: 13px; color: var(--text-2); line-height: 1.55; }
.detail-chk { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 8px; }
.detail-chk li label { display: flex; align-items: flex-start; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); cursor: pointer; font-size: 13.5px; line-height: 1.5; transition: border-color .15s, background .15s; }
.detail-chk li label:hover { border-color: var(--brand); }
.detail-chk input[type="checkbox"] { margin-top: 3px; width: 17px; height: 17px; accent-color: var(--brand); flex-shrink: 0; }
.detail-chk li label:has(input:checked) { background: color-mix(in srgb, var(--brand) 7%, var(--bg)); border-color: color-mix(in srgb, var(--brand) 38%, var(--line)); }
.detail-sub { display: block; font-size: 12.5px; color: var(--text-3); margin-top: 2px; }

/* Personas, 4-Cut Comic Ads & 365 Chronological Timeline */
.persona-tabs { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 14px; }
.persona-panel[hidden], [data-comic-wrap][hidden] { display: none !important; }
.comic-board { border: 2px solid var(--line-2); border-radius: 16px; padding: 20px; background: var(--bg-elev); box-shadow: var(--shadow); }
.comic-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; flex-wrap: wrap; margin-bottom: 16px; }
.comic-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.comic-cell { border: 2px solid var(--line-2); border-radius: 14px; padding: 14px; background: var(--bg); display: flex; flex-direction: column; gap: 10px; }
.comic-excited { border-color: color-mix(in srgb, var(--brand) 48%, var(--line)); }
.comic-shock { border-color: color-mix(in srgb, var(--warn) 55%, var(--line)); }
.comic-panic { border-color: color-mix(in srgb, var(--bad) 55%, var(--line)); }
.comic-wise { border-color: color-mix(in srgb, var(--good) 55%, var(--line)); }
.comic-cell-head { display: flex; align-items: center; gap: 8px; font-size: 15px; }
.comic-num { padding: 3px 8px; border-radius: 7px; background: var(--text); color: var(--bg); font-size: 12px; font-weight: 800; }
.cm-ill { width: 100%; max-height: 96px; display: block; border-radius: 8px; }
.comic-bubble { position: relative; padding: 11px 13px; border-radius: 12px; background: var(--bg-elev); border: 1.5px solid var(--line-2); }
.comic-spk { display: block; font-size: 12px; font-weight: 800; color: var(--brand-ink); margin-bottom: 3px; }
.comic-bubble p { margin: 0; font-size: 14px; font-weight: 700; line-height: 1.5; }
.comic-cap { margin: auto 0 0; font-size: 12.5px; color: var(--text-3); padding-top: 4px; border-top: 1px dashed var(--line); }
.tl-stack { display: grid; gap: 18px; }
.tl-stage-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; flex-wrap: wrap; padding-bottom: 12px; border-bottom: 1px solid var(--line); }

/* v2.6 Stepper Wizard, Selectable Industry Cards, Hover Tooltips, Menu Builder & Live Map */
[data-calc="startup-master"] { grid-template-columns: minmax(0, 490px) minmax(0, 1fr); }
.stepper-wrap { background: var(--bg-soft); border: 1px solid var(--line-2); border-radius: 14px; padding: 12px; margin-bottom: 16px; }
.stepper-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 10px; flex-wrap: wrap; }
.stepper-status { font-size: 13px; font-weight: 800; color: var(--brand-ink); }
.stepper-bar { display: flex; align-items: stretch; gap: 4px; overflow-x: auto; padding-bottom: 2px; }
.step-tab { flex: 1 1 0; min-width: 72px; border: 1.5px solid var(--line-2); border-radius: 10px; background: var(--bg-elev); padding: 7px 6px; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 3px; text-align: center; transition: .15s; color: var(--text-2); font: inherit; }
.step-tab:hover { border-color: var(--brand); color: var(--brand-ink); }
.step-num { width: 22px; height: 22px; border-radius: 99px; background: var(--bg-soft); color: var(--text-3); font-size: 11.5px; font-weight: 800; display: grid; place-items: center; }
.step-lbl { font-size: 11.5px; font-weight: 750; line-height: 1.2; white-space: nowrap; }
.step-arrow { align-self: center; color: var(--text-3); font-weight: 800; font-size: 13px; flex-shrink: 0; user-select: none; }
.step-tab.active { background: var(--brand); border-color: var(--brand); color: #fff; box-shadow: 0 4px 12px color-mix(in srgb, var(--brand) 28%, transparent); }
.step-tab.active .step-num { background: #fff; color: var(--brand); }
.step-tab.done:not(.active) { border-color: color-mix(in srgb, var(--brand) 45%, var(--line)); background: var(--brand-soft); color: var(--brand-ink); }
.step-tab.done:not(.active) .step-num { background: var(--brand); color: #fff; }
.step-pane[hidden] { display: none !important; }
.step-pane-head { display: flex; align-items: center; gap: 8px; padding-bottom: 8px; margin-bottom: 8px; border-bottom: 2px solid var(--brand-soft); }
.step-badge { background: var(--brand); color: #fff; font-size: 11.5px; font-weight: 800; padding: 3px 8px; border-radius: 99px; white-space: nowrap; }
.step-nav { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); }
.step-nav .btn { padding: 9px 14px; font-size: 13.5px; }

/* Selectable Industry Cards with Radio Dot */
.sel-prof-banner { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 9px 12px; border-radius: 10px; background: var(--brand-soft); border: 1.5px solid color-mix(in srgb, var(--brand) 40%, var(--line)); margin-bottom: 9px; font-size: 13px; color: var(--brand-ink); }
.prof-btn { display: flex; align-items: flex-start; gap: 8px; text-align: left; padding: 10px 11px; border-radius: 11px; border: 1.5px solid var(--line-2); background: var(--bg-elev); cursor: pointer; font-size: 13px; font-weight: 750; color: var(--text); transition: transform .12s, border-color .12s, background .12s, box-shadow .12s; position: relative; }
.prof-btn:hover { border-color: var(--brand); transform: translateY(-1px); box-shadow: var(--shadow); }
.prof-radio { width: 17px; height: 17px; border-radius: 50%; border: 2px solid var(--line-2); flex-shrink: 0; margin-top: 2px; display: grid; place-items: center; background: var(--bg); }
.prof-radio::after { content: ''; width: 9px; height: 9px; border-radius: 50%; background: transparent; transition: .12s; }
.prof-btn-body { flex: 1; min-width: 0; }
.prof-btn-body > span { display: block; line-height: 1.3; }
.prof-btn.active { border: 2px solid var(--brand); background: var(--brand-soft); color: var(--brand-ink); box-shadow: 0 3px 10px color-mix(in srgb, var(--brand) 16%, transparent); }
.prof-btn.active .prof-radio { border-color: var(--brand); background: #fff; }
.prof-btn.active .prof-radio::after { background: var(--brand); }

/* Hover & Tap Friendly Help Tooltips */
.field { position: relative; }
.tip-wrap { display: inline-flex; align-items: center; vertical-align: middle; margin-left: 4px; }
.tip-btn { width: 18px; height: 18px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--bg-soft); color: var(--text-2); font-size: 11px; font-weight: 800; line-height: 1; display: inline-grid; place-items: center; cursor: help; padding: 0; }
.tip-btn:hover, .tip-btn:focus { background: var(--brand); border-color: var(--brand); color: #fff; outline: none; }
.tip-pop { display: none; position: absolute; left: 0; right: 0; top: 32px; z-index: 35; padding: 10px 12px; border-radius: 10px; background: var(--text); color: var(--bg); font-size: 12.5px; font-weight: 500; line-height: 1.55; box-shadow: var(--shadow-lg); pointer-events: none; }
.tip-wrap:hover .tip-pop, .tip-btn:focus + .tip-pop { display: block; }

/* Multi-Category Menu & COGS Builder */
.menu-builder { background: var(--bg-soft); border: 1px solid var(--line-2); border-radius: 12px; padding: 11px; margin: 6px 0 10px; }
.menu-cat-head { display: grid; grid-template-columns: 1.35fr 1fr .75fr .75fr 28px; gap: 6px; font-size: 11.5px; font-weight: 800; color: var(--text-3); padding: 0 2px 6px; }
.menu-cat-list { display: grid; gap: 7px; }
.menu-cat-row { display: grid; grid-template-columns: 1.35fr 1fr .75fr .75fr 28px; gap: 6px; align-items: center; }
.menu-cat-row input { width: 100%; border: 1px solid var(--line-2); border-radius: 8px; background: var(--bg-elev); padding: 7px 7px; font: inherit; font-size: 12.5px; font-weight: 700; color: var(--text); min-width: 0; }
.menu-cat-row input[type="number"] { text-align: right; font-variant-numeric: tabular-nums; }
.menu-cat-row input:focus { outline: none; border-color: var(--brand); }
.menu-del-btn { width: 28px; height: 30px; border-radius: 8px; border: 1px solid var(--line-2); background: var(--bg-elev); color: var(--text-3); font-weight: 800; cursor: pointer; padding: 0; display: grid; place-items: center; }
.menu-del-btn:hover { border-color: var(--bad); color: var(--bad); background: var(--bad-soft); }
.menu-cat-foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 9px; padding-top: 9px; border-top: 1px dashed var(--line-2); }
.menu-cat-sum { font-size: 12.5px; color: var(--text-2); line-height: 1.5; }
.menu-cat-sum strong { color: var(--brand-ink); }

/* Region Recommendation & Loan Diagnosis Sub-boxes */
.rec-box { margin-top: 8px; padding: 11px 13px; border-radius: 11px; background: var(--bg-soft); border: 1px solid var(--line-2); font-size: 12.8px; line-height: 1.55; color: var(--text-2); display: grid; gap: 5px; }
.rec-box strong { color: var(--text); }
.loan-diag-inline { margin-top: 10px; padding: 13px 14px; border-radius: 12px; border: 1.5px solid var(--line-2); background: var(--bg-soft); font-size: 13px; line-height: 1.55; }
.loan-diag-inline[data-status="safe"] { border-color: var(--good); background: var(--good-soft); }
.loan-diag-inline[data-status="caution"] { border-color: var(--warn); background: var(--warn-soft); }
.loan-diag-inline[data-status="danger"] { border-color: var(--bad); background: var(--bad-soft); }
.sub-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-top: 6px; }
.mini-num-field { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; }
.mini-num-field label { display: block; font-size: 12px; font-weight: 700; color: var(--text-2); margin-bottom: 5px; }

/* Interactive Real Map on Commercial Lab */
.map-card { margin-bottom: 18px; }
.map-search-bar { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 9px; }
.map-search-bar input { flex: 1 1 220px; }
.map-presets { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.map-box { width: 100%; height: 390px; border-radius: 14px; border: 1.5px solid var(--line-2); overflow: hidden; background: var(--bg-soft); z-index: 1; }
.map-poi-summary { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 10px; }
.map-poi-pill { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 10px; padding: 9px 11px; font-size: 12.5px; }
.map-poi-pill span { display: block; color: var(--text-3); font-size: 11.5px; font-weight: 600; }
.map-poi-pill strong { font-size: 16px; font-weight: 800; color: var(--brand-ink); }

/* v2.7 Scenario Comparison Tray & Tool Request/Vote Board */
.saved-tray { background: var(--bg-elev); border: 1px solid var(--line-2); border-radius: 12px; padding: 12px 14px; margin-top: 4px; }
.saved-tray-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 12.5px; color: var(--text-3); margin-bottom: 8px; }
.saved-tray-head strong { color: var(--text); font-size: 13px; }
.saved-tray-list { display: flex; flex-wrap: wrap; gap: 7px; }
.saved-chip { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: 999px; background: var(--bg-soft); overflow: hidden; }
.saved-load { border: 0; background: transparent; padding: 6px 10px 6px 12px; font: inherit; font-size: 12.5px; color: var(--text-2); cursor: pointer; }
.saved-load strong { color: var(--brand-ink); }
.saved-load:hover { background: var(--brand-soft); }
.saved-del { border: 0; border-left: 1px solid var(--line); background: transparent; padding: 6px 9px; font-weight: 800; color: var(--text-3); cursor: pointer; }
.saved-del:hover { color: var(--bad); background: var(--bad-soft); }
.req-nudge { margin: 4px 0 0; font-size: 13px; color: var(--text-3); }
.req-nudge a { font-weight: 750; color: var(--brand-ink); }
.req-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.req-card { display: flex; flex-direction: column; gap: 10px; }
.req-card-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.req-card h3 { margin: 0; font-size: 17.5px; line-height: 1.4; letter-spacing: -0.02em; }
.req-card p { margin: 0; font-size: 14px; color: var(--text-2); line-height: 1.6; flex: 1; }
.req-card-foot { margin-top: 6px; padding-top: 10px; border-top: 1px dashed var(--line); }
.btn-vote { width: 100%; justify-content: space-between; border: 1.5px solid var(--brand); background: var(--brand-soft); color: var(--brand-ink); font-weight: 800; }
.btn-vote:hover { background: var(--brand); color: #fff; }
.btn-vote.voted { background: var(--good-soft); border-color: var(--good); color: var(--good); }

/* Responsive */
@media (max-width: 1080px) {
  .calc-grid, .calc-grid-6, .cal-grid { grid-template-columns: repeat(2, 1fr); }
  .admin-kpis { grid-template-columns: repeat(3, 1fr); }
  .admin-two { grid-template-columns: 1fr; }
  .logo-sub, .logo-sep { display: none; }
}
@media (max-width: 920px) {
  .menu-btn { display: grid; }
  .gnb-nav { position: fixed; top: var(--gnb-h); left: 0; right: 0; bottom: 0; background: var(--bg-elev); padding: 12px 16px 40px; overflow: auto; display: none; }
  .gnb-nav.open { display: block; }
  .gnb-list { flex-direction: column; align-items: stretch; gap: 4px; }
  .gnb-list > li > a, .dd-btn { width: 100%; padding: 13px 12px; font-size: 16px; }
  .dd { position: static; width: auto; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 6px; display: none; }
  .has-dd.open .dd { display: block; }
  .has-dd:hover .dd { display: none; }
  .has-dd.open:hover .dd { display: block; }
  .hero-inner { grid-template-columns: 1fr; gap: 32px; padding-top: 40px; padding-bottom: 48px; }
  .receipt { margin: 0 auto; }
  .calc, [data-calc="startup-master"] { grid-template-columns: 1fr; }
  .calc-form { position: static; max-height: none; }
  .a-grid, .why-grid, .map-poi-summary { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .mc-body { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  body { font-size: 15.5px; }
  .container { padding: 0 16px; }
  .calc-grid, .calc-grid-6, .cal-grid, .comic-grid, .a-grid, .why-grid, .sub-grid-2, .profile-grid, .req-grid { grid-template-columns: 1fr; }
  .menu-cat-head { display: none; }
  .menu-cat-row { grid-template-columns: 1fr 1fr 1fr 28px; }
  .menu-cat-row input:first-child { grid-column: 1 / -1; }
  .admin-kpis { grid-template-columns: repeat(2, 1fr); }
  .season-inner { justify-content: space-between; row-gap: 4px; }
  .season-msg { font-size: 12px; flex: 1 1 100%; order: 3; opacity: .92; }
  .card { padding: 18px; }
  .field-row { grid-template-columns: 1fr 120px; }
  .kpi-grid strong { font-size: 17px; }
  .prog-dl { grid-template-columns: 1fr; }
  .toc ol { columns: 1; }
  .prose { font-size: 16px; }
  .cta-box { flex-direction: column; align-items: stretch; }
  .hero-stats { gap: 22px; }
  .footer-inner { grid-template-columns: 1fr; }
  .calc-actions .btn { flex: 1 1 100%; }
}
/* Crowd Percentile Gauge & Side-by-Side Candidate Comparison Matrix */
.bench-gauge-wrap { margin-top: 12px; padding-top: 10px; border-top: 1px dashed var(--border); }
.bench-gauge-bar { position: relative; height: 10px; border-radius: 999px; background: var(--bg-soft, rgba(148,163,184,0.22)); margin: 14px 0 8px; }
.bench-gauge-fill { height: 100%; border-radius: 999px; background: linear-gradient(90deg, #60a5fa, #2563eb, #059669); }
.bench-gauge-dot { position: absolute; top: -7px; transform: translateX(-50%); background: #2563eb; color: #fff; font-size: 11px; font-weight: 800; padding: 2px 8px; border-radius: 999px; white-space: nowrap; box-shadow: 0 2px 8px rgba(37,99,235,0.32); }
.bench-gauge-meta { display: flex; justify-content: space-between; font-size: 12px; color: var(--text-3); gap: 8px; flex-wrap: wrap; }

.saved-ren { border: 0; background: transparent; color: var(--text-3); cursor: pointer; font-size: 13px; padding: 2px 5px; border-radius: 4px; }
.saved-ren:hover { color: var(--brand); background: rgba(37,99,235,0.08); }
.tray-hint { margin: 10px 0 0; font-size: 13px; color: var(--text-2); line-height: 1.45; }
.tray-compare-wrap { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--border); }
.tray-compare-title { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.tray-compare-title strong { font-size: 15px; color: var(--text-1); }
.tray-compare-title span { font-size: 12.5px; color: var(--text-3); }
.tray-compare-table th, .tray-compare-table td { font-size: 13.5px; vertical-align: top; }
.cmp-badge { display: inline-block; background: #dbeafe; color: #1d4ed8; font-size: 11.5px; font-weight: 800; padding: 2px 8px; border-radius: 999px; margin-bottom: 3px; }
.cmp-hero-row { background: rgba(37,99,235,0.06); }
.cmp-hero-row td strong { font-size: 15px; color: var(--brand); display: block; }
.cmp-sub { display: block; font-size: 11.5px; color: var(--text-3); margin-top: 2px; font-weight: 500; }
.cmp-bold-row { font-weight: 700; }

/* Decision Workbench (2~3 Options Save, Load & Live Compare, PNG/A4 Export) */
.wb-card { border: 2px solid rgba(37, 99, 235, 0.35); background: linear-gradient(180deg, rgba(239, 246, 255, 0.55) 0%, var(--bg-elev, #ffffff) 110px); }
.wb-pill { background: #2563eb !important; color: #ffffff !important; font-weight: 800; }
.wb-desc { margin: 4px 0 0; font-size: 13.5px; color: var(--text-2); line-height: 1.5; }
.wb-save-bar { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.wb-name-input { flex: 1 1 240px; min-height: 42px; padding: 8px 13px; border-radius: 10px; border: 1.5px solid var(--border); background: var(--bg, #fff); color: var(--text-1); font-size: 14px; }
.wb-name-input:focus { outline: none; border-color: #2563eb; box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.14); }
.wb-empty { margin-top: 12px; padding: 11px 14px; border-radius: 10px; background: rgba(148, 163, 184, 0.08); font-size: 13.5px; color: var(--text-2); }

.wb-slots { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 10px; margin-top: 14px; }
.wb-slot { padding: 12px 14px; border-radius: 13px; border: 1.5px solid var(--border); background: var(--bg, #fff); display: flex; flex-direction: column; gap: 5px; }
.wb-slot.active-base { border-color: #2563eb; box-shadow: 0 4px 14px rgba(37, 99, 235, 0.10); }
.wb-slot-top { display: flex; justify-content: space-between; align-items: center; gap: 6px; }
.wb-slot-title { font-size: 14px; font-weight: 800; color: var(--text-1); line-height: 1.3; }
.wb-slot-val { font-size: 15.5px; font-weight: 900; color: var(--brand); }
.wb-slot-btns { display: flex; gap: 5px; flex-wrap: wrap; margin-top: 4px; }
.wb-btn-load { background: #eff6ff !important; color: #1d4ed8 !important; border-color: #93c5fd !important; font-weight: 800 !important; }
.wb-edit-row { display: flex; gap: 6px; margin-top: 4px; }
.wb-inline-inp { flex: 1; min-width: 0; padding: 5px 8px; border: 1.5px solid #2563eb; border-radius: 7px; font-size: 13px; background: var(--bg, #fff); color: var(--text-1); }

.wb-live-delta { margin-top: 12px; padding: 13px 15px; border-radius: 13px; background: rgba(37, 99, 235, 0.06); border: 1.5px solid rgba(37, 99, 235, 0.28); }
.wb-live-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 9px; font-size: 13.5px; color: var(--text-1); }
.wb-live-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.wb-btn-save-new { background: #2563eb !important; color: #ffffff !important; border-color: #2563eb !important; font-weight: 800 !important; }
.wb-delta-list { display: flex; flex-direction: column; gap: 6px; }
.wb-delta { display: inline-block; padding: 6px 10px; border-radius: 8px; font-size: 13px; background: var(--bg, #fff); border: 1px solid var(--border); }
.wb-delta.good { border-color: rgba(16, 185, 129, 0.45); color: #047857; background: rgba(236, 253, 245, 0.75); }
.wb-delta.bad { border-color: rgba(239, 68, 68, 0.38); color: #b91c1c; background: rgba(254, 242, 242, 0.75); }
.wb-delta.same { color: var(--text-3); }

.wb-verdict-box { margin-bottom: 12px; padding: 11px 14px; border-radius: 11px; background: rgba(16, 185, 129, 0.10); border: 1.5px solid rgba(16, 185, 129, 0.42); color: #065f46; font-size: 13.5px; font-weight: 800; line-height: 1.45; }
[data-theme="dark"] .wb-verdict-box { color: #6ee7b7; }
[data-theme="dark"] .wb-delta.good { color: #6ee7b7; background: rgba(6, 95, 70, 0.35); }
[data-theme="dark"] .wb-delta.bad { color: #fca5a5; background: rgba(127, 29, 29, 0.35); }

.wb-export-bar { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.wb-export-btns { display: flex; gap: 6px; flex-wrap: wrap; }
.btn-sm { padding: 7px 12px; font-size: 13px; border-radius: 9px; }

.cmp-badge.win { background: #d1fae5; color: #065f46; }
.cmp-badge.draft { background: #fef3c7; color: #92400e; }
.wb-win-col { background: rgba(16, 185, 129, 0.06); }

/* Mobile 375px Grid Overflow Prevention (Google Mobile-First Indexing & AdSense) */
.calc > *, .calc-form, .calc-out, .card { min-width: 0; max-width: 100%; }
.step-nav, .season-chart { max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
@media (max-width: 520px) {
  .season-chart { gap: 3px; }
  .season-chart .m-val { font-size: 10px; }
  .season-chart .m-lbl { font-size: 10.5px; }
}

/* Dedicated Printable A4 Comparison Sheet */
.bt-print-sheet { display: none; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
@media print {
  .gnb, .season-bar, .footer, .calc-actions, .bench, .mini-calc { display: none !important; }
  body.bt-printing-compare > *:not(#bt-print-compare-sheet) { display: none !important; }
  body.bt-printing-compare #bt-print-compare-sheet {
    display: block !important;
    padding: 16px 20px;
    color: #0f172a;
    background: #ffffff;
    font-family: 'Pretendard Variable', Pretendard, 'Malgun Gothic', sans-serif;
  }
  .ps-head { display: flex; justify-content: space-between; align-items: flex-end; border-bottom: 2.5px solid #1e3a8a; padding-bottom: 12px; margin-bottom: 14px; }
  .ps-kicker { font-size: 11px; font-weight: 800; color: #2563eb; display: block; margin-bottom: 3px; }
  .ps-head h1 { font-size: 20px; margin: 0; color: #0f172a; }
  .ps-date { font-size: 11px; color: #475569; text-align: right; line-height: 1.4; }
  .ps-verdict { padding: 10px 14px; border: 1.5px solid #059669; background: #ecfdf5; color: #065f46; border-radius: 8px; font-size: 13px; font-weight: 800; margin-bottom: 14px; }
  .ps-table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
  .ps-table th, .ps-table td { border: 1px solid #cbd5e1; padding: 8px 10px; text-align: left; vertical-align: top; }
  .ps-table thead th { background: #f1f5f9; font-weight: 800; }
  .ps-table .hero-tr th, .ps-table .hero-tr td { background: #eff6ff; font-size: 13.5px; }
  .ps-table .win-col { background: #f0fdf4 !important; }
  .ps-table .bold-tr th, .ps-table .bold-tr td { font-weight: 800; }
  .ps-table .sub { font-size: 11px; color: #475569; margin-top: 2px; }
  .ps-foot { margin-top: 14px; font-size: 11px; color: #64748b; }
}
