/* Static site pages (exams/, guides/, about, privacy, contact), generated by tools/site/build.py.
   cert-bank's own look: a reference desk, not a magazine (the blog is the warm, editorial one; owner 2026-11-13).
   Calm slate + one blue accent (same tokens as index.html), IBM Plex type stack, square-ish corners, rules instead of
   shadows, dense tables, a sticky "On this page" column on exam hubs. No web fonts here (privacy page). */
:root{
  color-scheme: light dark;
  --bg:#F3F5F8; --surface:#FFFFFF; --surface-2:#EAEDF2; --ink:#16202C; --muted:#5C6773; --line:#DCE1E7;
  --accent:#1E5AA8; --on-accent:#FFFFFF; --accent-ink:#0F3A73; --accent-bg:#E7EFFA;
  --amber:#85590A; --amber-bg:#FBF0DA;
  --font:"IBM Plex Sans","IBM Plex Sans KR",system-ui,-apple-system,"Segoe UI",Roboto,"Apple SD Gothic Neo","Malgun Gothic",sans-serif;
  --mono:"IBM Plex Mono",ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
}
@media (prefers-color-scheme: dark){
  :root{
    --bg:#10151C; --surface:#161D26; --surface-2:#1D2530; --ink:#E7ECF2; --muted:#95A1AF; --line:#2A323D;
    --accent:#7AB0EC; --on-accent:#0B1620; --accent-ink:#CFE3FA; --accent-bg:#152738;
    --amber:#E3AE5C; --amber-bg:#2C230F;
  }
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--bg);color:var(--ink);font:16px/1.65 var(--font)}
a{color:var(--accent)}
.in{max-width:1080px;margin:0 auto;padding:0 16px}
@media (min-width:700px){.in{padding:0 24px}}

/* header and footer: assets/chrome.css (shared with the question bank, study and support pages) */

/* content column; hubs add a sticky table of contents on the left */
main.in{padding-top:20px;padding-bottom:4px}
.content{min-width:0;max-width:780px}
main.wide .content{max-width:none}
main.docs{display:grid;grid-template-columns:210px minmax(0,1fr);gap:36px;align-items:start}
.toc{position:sticky;top:calc(var(--gh-h) + 16px);font-size:.86rem;border-left:1px solid var(--line);padding:2px 0 2px 14px;max-height:calc(100vh - var(--gh-h) - 32px);overflow:auto}
.toc p{margin:0 0 6px;font-size:.74rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}
.toc a{display:block;padding:3px 0;color:var(--muted);text-decoration:none;line-height:1.4}
.toc a:hover{color:var(--accent)}
.toc a.sub{padding-left:10px;font-size:.82rem}
@media (max-width:900px){main.docs{display:block}.toc{display:none}}

.pagehead{padding-bottom:16px;margin-bottom:8px;border-bottom:1px solid var(--line)}
.crumbs{font-size:.84rem;color:var(--muted);margin:0 0 4px}
.crumbs a{color:var(--muted)}
h1{font-size:1.5rem;line-height:1.3;margin:4px 0 12px;letter-spacing:-.01em}
h2{font-size:1.22rem;margin:32px 0 10px;line-height:1.35;padding-bottom:6px;border-bottom:1px solid var(--line);scroll-margin-top:calc(var(--gh-h) + 12px)}
h2 .n{font:500 .8rem var(--mono);color:var(--muted);margin-left:4px}
h3{font-size:1.04rem;margin:24px 0 6px;line-height:1.4;scroll-margin-top:calc(var(--gh-h) + 12px)}
h3 .w{color:var(--muted);font-weight:500;font-size:.88rem;margin-left:4px}
.code,td.code{font-family:var(--mono);font-weight:600}
.lead{font-size:1rem;color:var(--muted);margin:0 0 12px}
.notice{background:var(--amber-bg);color:var(--ink);border-left:3px solid var(--amber);padding:9px 13px;border-radius:4px}
.label{font-weight:600;margin:10px 0 2px;color:var(--muted);font-size:.88rem}
.jump{font-size:.88rem;color:var(--muted);margin:10px 0 0}

/* facts strip: key/value cells in one bordered row */
dl.strip{display:flex;flex-wrap:wrap;margin:0;border:1px solid var(--line);border-radius:6px;background:var(--surface);overflow:hidden}
dl.strip div{flex:1 1 105px;padding:7px 12px;border-right:1px solid var(--line);border-bottom:1px solid var(--line);margin:0 -1px -1px 0}
dl.strip dt{font-size:.72rem;font-weight:600;letter-spacing:.05em;text-transform:uppercase;color:var(--muted)}
dl.strip dd{margin:0;font:600 .98rem var(--mono)}

.actions{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0 0}
.btn{display:inline-flex;align-items:center;min-height:38px;padding:0 14px;border-radius:6px;border:1px solid var(--line);background:var(--surface);
  color:var(--accent-ink);text-decoration:none;font-weight:600;font-size:.9rem}
.btn:hover{border-color:var(--accent)}
.btn.primary{background:var(--accent);color:var(--on-accent);border-color:var(--accent)}

/* tables: dense, ruled */
table{border-collapse:collapse;width:100%;background:var(--surface);border:1px solid var(--line);font-size:.92rem}
th,td{text-align:left;padding:6px 10px;border-bottom:1px solid var(--line);vertical-align:top}
thead th{background:var(--surface-2);font-size:.76rem;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:var(--muted)}
tbody tr:hover{background:var(--accent-bg)}
.num{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}
.facts th{width:36%;font-weight:600}
.doms td:nth-child(2),.doms td:nth-child(3){white-space:nowrap;font-variant-numeric:tabular-nums}
table.list a{text-decoration:none}
table.list a:hover{text-decoration:underline}
table.list td:nth-child(3){color:var(--muted);white-space:nowrap}
@media (max-width:640px){table.list th:nth-child(3),table.list td:nth-child(3),table.list th:nth-child(5),table.list td:nth-child(5),
  table.list th:nth-child(6),table.list td:nth-child(6){display:none}}
.tag{display:inline-block;margin-right:6px;padding:0 6px;border:1px solid var(--line);border-radius:4px;font:600 .74rem/1.6 var(--mono);color:var(--muted);background:var(--surface-2)}
.tag.end{color:var(--amber);border-color:var(--amber);background:var(--amber-bg);margin:0 0 0 6px;font-family:var(--font);font-weight:500}
details{margin:8px 0;background:var(--surface);border:1px solid var(--line);border-radius:6px;padding:7px 12px}
summary{cursor:pointer;font-weight:600;color:var(--accent-ink);font-size:.92rem}
ul.tasks{margin:6px 0 2px;padding-left:18px;font-size:.9rem}
ul.tasks a{font-family:var(--mono);margin-right:4px}
ul.changes,ul.guides,ol.plan{padding-left:20px}
ul.rows{list-style:none;margin:0;padding:0;border:1px solid var(--line);background:var(--surface)}
ul.rows li{padding:8px 12px;border-bottom:1px solid var(--line)}
ul.rows li:last-child{border-bottom:0}
ul.rows a{text-decoration:none;font-weight:500}
ul.rows a:hover{text-decoration:underline}

code{font-family:var(--mono);font-size:.9em;background:var(--surface-2);padding:1px 4px;border-radius:3px}

/* Guides: their HTML carries inline light-theme styles (written for a white page), so the article stays on paper. */
.paper{background:#fff;color:#1c1b29;color-scheme:light;border:1px solid var(--line);border-radius:6px;padding:6px 20px 20px;margin:8px 0 0;overflow-wrap:anywhere}
.paper a{color:#1E5AA8}
.paper h1{color:#16202C;margin-top:16px}
.paper h2{border-bottom:0}
.paper img{max-width:100%;height:auto}
.paper table{display:block;overflow-x:auto;max-width:100%;background:#fff;color:#1c1b29;border-color:#e4e2ee}
.paper thead th{background:#f4f3f8;color:#4b4a5c}
.paper tbody tr:hover{background:#f7f6fb}
.paper details{background:#f6f4fb;border-color:#d9d4ec}
@media (max-width:560px){.paper{padding:6px 12px 14px}}
.langswitch{margin:0 0 6px;font-size:.9rem}
td.code{white-space:nowrap}
/* guide tables on phones: keep columns readable and scroll sideways instead of squeezing words */
.paper th,.paper td{min-width:6.5em}
.paper td:first-child,.paper th:first-child{min-width:7.5em}
/* 320px reflow (WCAG 1.4.10): long codes such as TF-IEP002 plus header labels */
@media (max-width:360px){table.list{font-size:.84rem}table.list th,table.list td{padding:6px 6px}}
