:root {
  --ground: #F5F7FA;
  --surface: #FFFFFF;
  --line: #E2E8F0;
  --line-soft: #EEF2F6;
  --ink: #0F172A;
  --ink-2: #334155;
  --muted: #475569;
  --faint: #64748B;
  --accent: #1D4ED8;
  --accent-dark: #1E3A8A;
  --accent-soft: #EFF4FF;
  --accent-line: #C7D7FE;
  --ok: #15803D; --ok-bg: #ECFDF3; --ok-ink: #166534;
  --warn: #B45309; --warn-bg: #FFF7ED; --warn-ink: #9A3412;
  --bad: #B91C1C; --bad-bg: #FEF2F2; --bad-ink: #991B1B;
  --info: #334155; --info-bg: #F1F5F9;
  --dark: #0F172A;
  --radius: 18px;
  --font: 'IBM Plex Sans KR', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --display: 'Space Grotesk', var(--font);
  --mono: 'IBM Plex Mono', ui-monospace, monospace;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: var(--font); line-height: 1.5; }
a { color: var(--accent); }
a:hover { color: var(--accent-dark); }
button, input, select { font: inherit; }
:focus-visible { outline: 3px solid #93B4FF; outline-offset: 2px; }
h1, h2, h3 { margin: 0; }
[hidden] { display: none !important; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -9999px; top: 8px; background: var(--surface); padding: 8px 12px; border-radius: 8px; z-index: 10; }
.skip-link:focus { left: 8px; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.tiny { font-size: 12px; }
.strong { font-weight: 600; }
.big { font-size: 18px; font-weight: 700; }
.pre { white-space: pre-line; }

/* header */
.topbar { position: sticky; top: 0; z-index: 30; background: rgba(255,255,255,.92); backdrop-filter: saturate(180%) blur(10px); -webkit-backdrop-filter: saturate(180%) blur(10px); border-bottom: 1px solid var(--line); }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand .logo { flex: none; }
.brand span { font-family: var(--display); font-weight: 700; font-size: 20px; letter-spacing: -0.01em; }
.lang-switch { display: flex; padding: 3px; border-radius: 999px; background: #EEF2F6; }
.lang-switch a { min-width: 44px; min-height: 34px; display: inline-flex; align-items: center; justify-content: center; padding: 0 12px; border-radius: 999px; font-size: 13px; font-weight: 700; letter-spacing: .04em; color: var(--muted); text-decoration: none; }
.lang-switch a:hover { color: var(--ink); }
.lang-switch a[aria-current="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px rgba(15,23,42,.14); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 0 18px; border-radius: 10px; font-size: 14px; font-weight: 600; cursor: pointer; text-decoration: none; border: 1px solid transparent; }
.btn:disabled { opacity: .6; cursor: progress; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); color: #fff; }
.btn-outline { background: var(--surface); border-color: #CBD5E1; color: var(--ink); }
.btn-outline:hover { border-color: var(--muted); color: var(--ink); }
.btn-link { color: var(--accent); }
.btn-sm { min-height: 40px; padding: 0 12px; font-weight: 500; }
.btn-lg { min-height: 52px; padding: 0 28px; font-size: 16px; border-radius: 12px; }

/* hero & tabs */
.hero { text-align: center; padding: 56px 0 28px; }
.hero h1 { font-size: clamp(28px, 5vw, 40px); line-height: 1.25; letter-spacing: -0.02em; }
.hero p { margin: 14px auto 0; max-width: 560px; font-size: 17px; color: var(--muted); }
.tabs { display: flex; gap: 6px; padding: 6px; background: #E8EDF3; border-radius: 14px; max-width: 520px; margin: 0 auto 28px; }
.tabs [role="tab"] { flex: 1 1 0; min-height: 48px; border: 0; border-radius: 10px; background: transparent; color: var(--muted); font-size: 16px; font-weight: 500; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px; }
.tabs [role="tab"][aria-selected="true"] { background: var(--surface); color: var(--ink); font-weight: 600; box-shadow: 0 1px 3px rgba(15,23,42,.12); }
.tabs [role="tab"][aria-selected="true"] svg { color: var(--accent); }

/* layout */
.stack { display: flex; flex-direction: column; gap: 20px; }
.stack-sm { display: flex; flex-direction: column; gap: 14px; }
.split { display: flex; flex-wrap: wrap; gap: 20px; }
.split > :first-child { flex: 3 1 420px; min-width: 0; }
.split > :last-child { flex: 2 1 300px; min-width: 0; }
.grid3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.row { display: flex; flex-wrap: wrap; gap: 10px; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card.flush { padding: 8px 0; }
.card-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 24px 8px; }
.card-head h2 { font-size: 20px; }
.card-pad { padding: 8px 24px 16px; margin: 0; }
.card h3 { font-size: 16px; }
.card.loading { text-align: center; padding: 40px 24px; color: var(--ink-2); }
.error-card { color: var(--bad-ink); background: var(--bad-bg); border-color: #FCA5A5; }
.plain-list { margin: 10px 0 0; padding-left: 18px; font-size: 14px; color: var(--muted); line-height: 1.8; }

/* IP summary */
.ip-card { display: flex; flex-direction: column; gap: 20px; padding: 28px; }
.ip-line { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 6px; }
.ip-addr { font-family: var(--display); font-size: clamp(26px, 5vw, 40px); font-weight: 700; word-break: break-all; }
.facts { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 24px; }
.facts dt { font-size: 13px; color: var(--faint); }
.facts dd { margin: 4px 0 0; font-size: 16px; font-weight: 500; word-break: break-word; }
.ip-card p { margin: 0; }

.score-card { background: var(--dark); color: #fff; border: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; text-align: center; padding: 28px; }
.ring { position: relative; width: 140px; height: 140px; }
.ring-text { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.ring-num { font-family: var(--display); font-size: 44px; font-weight: 700; line-height: 1; }
.ring-of { font-size: 13px; color: #CBD5E1; margin-top: 4px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.pill-dark { font-size: 14px; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: #334155; color: #F1F5F9; }
.pill-dark.risk-low { background: #14532D; color: #DCFCE7; }
.pill-dark.risk-medium { background: #7C2D12; color: #FFEDD5; }
.pill-dark.risk-high { background: #7F1D1D; color: #FEE2E2; }
.score-line { margin: 0; font-size: 14px; color: #CBD5E1; }

/* check rows */
.check-list { list-style: none; margin: 0; padding: 0; }
.check-row { border-top: 1px solid var(--line-soft); }
.row-toggle, .row-static { width: 100%; display: flex; align-items: center; gap: 12px 16px; padding: 16px 24px; text-align: left; font: inherit; color: inherit; }
.row-toggle { border: 0; background: transparent; cursor: pointer; }
.row-toggle:hover { background: #F8FAFC; }
.row-toggle:focus-visible { outline-offset: -3px; }
.check-text { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.check-title { font-size: 16px; font-weight: 600; }
.check-desc { font-size: 14px; color: var(--muted); word-break: break-word; }
.check-why { font-size: 14px; color: var(--ink-2); line-height: 1.55; margin-top: 2px; }
.check-meta { font-size: 12px; color: var(--faint); margin-top: 4px; }
.more-label { flex: none; display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 600; color: var(--accent); }
.chev { transition: transform .2s; }
.row-toggle[aria-expanded="true"] .chev { transform: rotate(180deg); }
.check-row .pill { flex: none; }
.badge-icon { width: 36px; height: 36px; border-radius: 10px; display: flex; align-items: center; justify-content: center; flex: none; }
.pill { font-size: 13px; font-weight: 600; padding: 5px 10px; border-radius: 999px; }
.s-ok { background: var(--ok-bg); color: var(--ok); }
.s-warn { background: var(--warn-bg); color: var(--warn); }
.s-bad { background: var(--bad-bg); color: var(--bad); }
.s-info { background: var(--info-bg); color: var(--info); }
.s-skip { background: var(--info-bg); color: var(--faint); }
.pill.s-ok { color: var(--ok-ink); }
.pill.s-warn { color: var(--warn-ink); }
.pill.s-bad { color: var(--bad-ink); }
.pill.s-skip { color: var(--muted); }
.s-na { background: #F1F5F9; color: #94A3B8; }
.pill.s-na { color: #64748B; }
.sev { font-size: 13px; font-weight: 700; padding: 5px 10px; border-radius: 8px; flex: none; }
.sev-urgent { background: var(--bad-bg); color: var(--bad-ink); }
.sev-rec { background: var(--warn-bg); color: var(--warn-ink); }
.sev-note { background: var(--info-bg); color: var(--info); }

.fix { margin: 0 24px 16px 76px; padding: 16px 18px; background: #F8FAFC; border: 1px solid var(--line); border-radius: 12px; display: flex; flex-direction: column; gap: 10px; font-size: 14px; line-height: 1.65; }
.fix p { margin: 0; word-break: break-word; }
.fix .good-note { padding: 10px 14px; background: var(--ok-bg, #ECFDF3); border-radius: 10px; }
.fix .lead-note { padding: 12px 14px; background: var(--warn-bg); border-radius: 10px; color: var(--ink); font-weight: 600; }
.detail-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 6px 16px; }
.detail-list li { display: flex; justify-content: space-between; gap: 10px; border-bottom: 1px dashed var(--line); padding: 4px 0; }
.detail-list li span:first-child { color: var(--faint); }
.guides { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }

.more { border-top: 1px solid var(--line-soft); padding: 14px 24px; }
.more summary { cursor: pointer; font-weight: 600; display: flex; align-items: center; gap: 8px; min-height: 32px; }
.inline-icon { width: 26px; height: 26px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; }
.inline-icon svg { width: 16px; height: 16px; }
.mini-list { margin: 10px 0 0; padding-left: 20px; font-size: 14px; color: var(--muted); line-height: 1.8; }
.mini-list strong { color: var(--ink); margin-right: 6px; }

/* callouts */
.callout { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; background: var(--accent-soft); border: 1px solid var(--accent-line); border-radius: 16px; padding: 20px 24px; }
.callout-text { flex: 1 1 320px; min-width: 0; }
.callout-strong { background: var(--surface); border: 2px solid var(--accent); border-radius: var(--radius); padding: 24px; }
.accent { color: var(--accent); display: flex; }

/* domain form */
.label { font-size: 15px; font-weight: 600; }
#domain-input { flex: 1 1 280px; min-width: 0; min-height: 52px; padding: 0 16px; font-size: 17px; border: 1px solid #CBD5E1; border-radius: 12px; color: var(--ink); background: var(--surface); }
#verify-password { width: 100%; max-width: 320px; min-height: 48px; padding: 0 14px; font-size: 16px; border: 1px solid #CBD5E1; border-radius: 12px; color: var(--ink); background: var(--surface); }
.examples { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; color: var(--faint); }
.chip { min-height: 36px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); background: #F8FAFC; color: var(--ink-2); font-size: 14px; cursor: pointer; display: inline-flex; align-items: center; }
.chip-link { border-color: var(--accent-line); background: var(--surface); color: var(--accent); text-decoration: none; font-weight: 500; }
.error { margin: 0; color: var(--bad-ink); font-size: 14px; font-weight: 500; }
form p { margin: 0; }

/* domain result */
.grade-card { background: var(--dark); color: #fff; border: 0; display: flex; align-items: center; gap: 22px; padding: 28px; }
.grade { width: 104px; height: 104px; border-radius: 24px; background: #1E3A8A; display: flex; align-items: center; justify-content: center; font-family: var(--display); font-size: 64px; font-weight: 700; flex: none; }
.grade-A { background: #166534; }
.grade-C { background: #92400E; }
.grade-D, .grade-F { background: #991B1B; }
.grade-meta { min-width: 0; color: #CBD5E1; font-size: 15px; display: flex; flex-direction: column; gap: 4px; }
.grade-domain { font-size: 20px; font-weight: 700; color: #fff; word-break: break-all; }
.bars { display: flex; flex-direction: column; gap: 16px; justify-content: center; padding: 24px 28px; }
.bar-label { display: flex; justify-content: space-between; font-size: 15px; }
.bar-track { height: 10px; border-radius: 999px; background: var(--line); margin-top: 6px; overflow: hidden; }
.bar-fill { height: 10px; width: 0; border-radius: 999px; background: var(--accent); transition: width .4s ease; }

/* footer */
.footer { margin-top: 40px; padding-top: 24px; padding-bottom: 40px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.footer-note { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: var(--ink-2); }
.footer-note svg { color: var(--ok); }
.footer-links { display: flex; flex-wrap: wrap; gap: 16px; font-size: 14px; }
.footer-disclaimer { flex-basis: 100%; margin: 0; }

/* deep check & verification */
.deep-card { display: flex; flex-direction: column; gap: 12px; border: 2px solid var(--accent); }
.deep-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.deep-head h2 { font-size: 20px; }
.deep-card p { margin: 0; }
.deep-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.verified { display: flex; align-items: center; gap: 8px; color: var(--ok-ink); font-weight: 600; }
.verified svg { color: var(--ok); }
.notice { padding: 12px 14px; border-radius: 12px; font-size: 15px; }
.notice.ok { background: var(--ok-bg); color: var(--ok-ink); }
.notice.blocker { margin: 0; background: var(--warn-bg); color: var(--warn-ink); border: 1px solid #FED7AA; }
.deep-results { margin-top: 8px; border-top: 1px solid var(--line-soft); }
.deep-results .row-toggle, .deep-results .row-static { padding-left: 0; padding-right: 0; }
.deep-results .fix { margin-left: 0; margin-right: 0; }
.flush-x { padding-left: 0; padding-right: 0; }
.card-head h3 { font-size: 18px; margin: 0; }
.verify { display: flex; flex-direction: column; gap: 14px; }
.verify h3 { font-size: 18px; }
.methods { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.method { text-align: left; min-height: 64px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); display: flex; flex-direction: column; gap: 2px; cursor: pointer; color: var(--ink); }
.method.active { border: 2px solid var(--accent); background: var(--accent-soft); }
.method:disabled { opacity: .55; cursor: not-allowed; }
.verify-steps { display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.copy-row { display: flex; flex-direction: column; gap: 4px; }
.copy-label { font-size: 13px; color: var(--faint); }
.copy-value { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.copy-value code { flex: 1 1 240px; min-width: 0; font-family: var(--mono); font-size: 14px; background: var(--dark); color: #E2E8F0; padding: 10px 12px; border-radius: 10px; word-break: break-all; }

/* fingerprint */
.fp-inline { display: flex; flex-direction: column; gap: 12px; padding-top: 4px; }
.fp-inline p { margin: 0; }
.fp-summary { display: flex; flex-wrap: wrap; gap: 16px; align-items: stretch; }
.fp-summary > div:first-child { flex: 1 1 220px; padding: 16px 18px; border-radius: 14px; background: var(--dark); color: #fff; }
.fp-summary .muted { color: #94A3B8; }
.fp-id { font-family: var(--mono); font-size: 22px; letter-spacing: .06em; margin-top: 4px; }
.fp-level { flex: 2 1 300px; padding: 16px 18px; border-radius: 14px; display: flex; flex-direction: column; justify-content: center; gap: 4px; }
.fp-high { background: var(--warn-bg); color: var(--warn-ink); }
.fp-medium { background: var(--info-bg); color: var(--info); }
.fp-low { background: var(--ok-bg); color: var(--ok-ink); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; }
.fp-table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 520px; }
.fp-table th, .fp-table td { padding: 10px 14px; text-align: left; border-top: 1px solid var(--line-soft); vertical-align: middle; }
.fp-table thead th { border-top: 0; background: #F8FAFC; color: var(--muted); font-weight: 600; font-size: 13px; }
.fp-table tbody th { font-weight: 600; white-space: nowrap; }
.fp-val { color: var(--ink-2); word-break: break-all; font-family: var(--mono); font-size: 13px; }
.fp-w { width: 120px; }
.meter { display: block; width: 96px; height: 8px; border-radius: 99px; background: var(--line); overflow: hidden; }
.meter-fill { display: block; height: 100%; width: 0; background: var(--accent); border-radius: 99px; }

/* blocklist table */
.lists { display: flex; flex-direction: column; gap: 8px; }
.lists .table-wrap { background: var(--surface); }
.lists-table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 360px; }
.lists-table th, .lists-table td { padding: 9px 12px; text-align: left; border-top: 1px solid var(--line-soft); }
.lists-table thead th { border-top: 0; background: #F8FAFC; color: var(--muted); font-weight: 600; font-size: 13px; }
.lists-table tbody th { font-weight: 600; }

/* VPN before/after */
.compare { display: flex; flex-direction: column; gap: 10px; border: 2px solid #86EFAC; }
.compare h2 { font-size: 18px; }
.compare p { margin: 0; }
.compare td:last-child { color: var(--ok); font-weight: 800; text-align: center; }
.callout-vpn { border-width: 2px; }
.callout-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.facts .span2 { grid-column: 1 / -1; }
.facts .span2 a { margin-left: 6px; white-space: nowrap; }

/* policy pages */
.policy { margin: 40px 0 0; padding: 32px; line-height: 1.75; }
.policy h1 { font-size: clamp(26px, 4vw, 34px); letter-spacing: -0.02em; }
.policy h2 { font-size: 19px; margin: 32px 0 10px; }
.policy p, .policy ul { margin: 0 0 12px; }
.policy ul { padding-left: 20px; }
.policy table { width: 100%; border-collapse: collapse; margin: 8px 0 14px; font-size: 14px; display: block; overflow-x: auto; }
.policy th, .policy td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
.policy thead th { background: #F8FAFC; white-space: nowrap; }
.policy mark { background: #FEF3C7; color: #92400E; padding: 0 4px; border-radius: 4px; }
@media (max-width: 560px) { .policy { padding: 20px 16px; } }

/* Korean: break lines between words, not inside them */
html[lang="ko"] body { word-break: keep-all; overflow-wrap: anywhere; }

@media (max-width: 560px) {
  /* fingerprint table: stack each row (name + meter, then the value) */
  .fp-table { min-width: 0; }
  .fp-table thead { display: none; }
  .fp-table tr { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; padding: 10px 12px; border-top: 1px solid var(--line-soft); }
  .fp-table tbody tr:first-child { border-top: 0; }
  .fp-table th, .fp-table td { padding: 0; border: 0; }
  .fp-table tbody th { white-space: normal; }
  .fp-table .fp-w { width: auto; grid-column: 2; grid-row: 1; align-self: center; }
  .fp-table .fp-val { grid-column: 1 / -1; grid-row: 2; overflow-wrap: anywhere; }
  .meter { width: 72px; }
  .lists-table { min-width: 0; }
  .wrap { padding: 0 16px; }
  .topbar-inner { height: 56px; }
  .hero { padding-top: 36px; }
  .row-toggle, .row-static { padding: 14px 16px; flex-wrap: wrap; }
  .row-toggle .check-text, .row-static .check-text { flex-basis: calc(100% - 52px); }
  .more-label { margin-left: auto; }
  .fix { margin: 0 16px 14px; }
  .card-head, .more { padding-left: 16px; padding-right: 16px; }
  .grade { width: 80px; height: 80px; font-size: 48px; }
}

@media print {
  .topbar, .hero, .tabs, #domain-form, .actions, .callout, .footer-links, .skip-link, .more-label { display: none !important; }
  body { background: #fff; }
  .fix[hidden] { display: flex !important; }
  .card, .check-row { break-inside: avoid; }
}

/* ---------- admin dashboard ---------- */
.admin-main { padding-top: 24px; padding-bottom: 48px; display: flex; flex-direction: column; gap: 16px; }
.admin-badge { margin-left: 8px; font-family: var(--font); font-size: 12px; font-weight: 600; padding: 2px 8px; border-radius: 999px; background: #EEF2FF; color: #3730A3; }
.admin-login { max-width: 420px; margin: 40px auto; padding: 28px; }
.admin-login h1 { margin: 0 0 12px; font-size: 22px; }
.admin-form { display: flex; flex-direction: column; gap: 10px; }
.admin-form input { min-height: 48px; padding: 0 14px; font-size: 16px; border: 1px solid #CBD5E1; border-radius: 12px; color: var(--ink); background: var(--surface); }
.admin-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.admin-head h1 { margin: 0; font-size: 24px; }
.admin-controls { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--surface); }
.seg button { border: 0; background: transparent; padding: 8px 12px; font: inherit; font-size: 14px; color: var(--muted); cursor: pointer; }
.seg button + button { border-left: 1px solid var(--line); }
.seg button[aria-checked="true"] { background: #EFF6FF; color: #1D4ED8; font-weight: 600; }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.stat { padding: 16px 18px; }
.stat-label { font-size: 13px; color: var(--muted); font-weight: 600; }
.stat-value { font-family: var(--display); font-size: 32px; font-weight: 700; line-height: 1.2; margin-top: 4px; }
.admin-card { padding: 18px 20px; }
.admin-card h2 { margin: 0 0 10px; font-size: 16px; }
.stack-tables { display: flex; flex-direction: column; gap: 16px; }
.admin-2col { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.lists-table.admin-table { min-width: 0; }
.lists-table.admin-table.wide { min-width: 620px; }
.admin-table td, .admin-table th { white-space: nowrap; }
.admin-table td.text { white-space: normal; overflow-wrap: anywhere; min-width: 110px; }
.admin-table td.num, .admin-table th.num { text-align: right; font-variant-numeric: tabular-nums; }
.chart-wrap { position: relative; }
.chart-wrap svg { width: 100%; height: auto; display: block; }
.chart-wrap .bar { fill: #2563EB; }
.chart-wrap .bar-g.on .bar { fill: #1D4ED8; }
.chart-wrap .grid { stroke: #E2E8F0; stroke-width: 1; }
.chart-wrap .axis { fill: #64748B; font-size: 11px; font-family: var(--font); }
.chart-tip { position: absolute; top: 0; width: 200px; padding: 8px 10px; background: #0F172A; color: #F8FAFC; border-radius: 8px; font-size: 12px; line-height: 1.5; pointer-events: none; }
@media (max-width: 640px) { .stat-value { font-size: 26px; } .admin-card { padding: 14px; } }

/* ---------- FAQ (also read by search engines) ---------- */
.faq { margin: 40px 0 8px; }
.faq h2 { font-size: 20px; margin: 0 0 12px; }
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 0 16px; margin-bottom: 8px; }
.faq-item summary { cursor: pointer; padding: 14px 0; font-weight: 600; list-style-position: outside; }
.faq-item p { margin: 0 0 14px; color: var(--ink-2); line-height: 1.7; }

/* ---------- security guides ---------- */
.guide { padding-bottom: 32px; }
.crumbs { margin: 20px 0 12px; color: var(--muted); }
.crumbs a { color: inherit; }
.guide-article { padding: 28px clamp(18px, 4vw, 40px); line-height: 1.8; }
.guide-article h1 { font-size: clamp(24px, 4vw, 32px); line-height: 1.35; margin: 0 0 6px; letter-spacing: -0.01em; }
.guide-article h2 { font-size: 20px; margin: 28px 0 8px; }
.guide-article p, .guide-article li { color: var(--ink-2); font-size: 16px; }
.guide-article ul, .guide-article ol { padding-left: 22px; }
.guide-article li { margin-bottom: 6px; }
.guide-tip { background: #EFF6FF; border-left: 3px solid #2563EB; padding: 12px 16px; border-radius: 8px; color: var(--ink) !important; }
.guide-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 20px 0; }
.guide-more { margin-top: 28px; }
.guide-more h2 { font-size: 18px; }
.guide-more li { margin-bottom: 6px; }
.guide-list { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 14px; }
.guide-item a { display: block; padding: 6px 4px; color: inherit; text-decoration: none; }
.guide-item h2 { font-size: 17px; margin: 0 0 6px; line-height: 1.45; }
.guide-item:hover { border-color: #93C5FD; }
