
*{box-sizing:border-box}body{margin:0;background:#f7f5ef;color:#233d39;font:16px/1.5 "Source Sans 3",system-ui,sans-serif}header{padding:16px max(5vw,calc((100vw - 1050px)/2));border-bottom:1px solid #c8d0c5;background:#fffdf8;display:flex;align-items:center;justify-content:space-between}header b{font-size:21px}small,.hint{color:#526662;font-size:14px}main{max-width:1090px;padding:32px 20px;margin:auto}h1,h2{font-family:"Hedvig Letters Serif",Georgia,serif;font-weight:500;line-height:1.15}h1{font-size:clamp(34px,5vw,54px);margin:0}h2{font-size:26px;margin:0 0 18px}.intro{max-width:620px;margin:12px 0 28px}.layout{display:grid;grid-template-columns:minmax(240px,1fr) minmax(0,1.8fr);gap:20px;align-items:start}section{background:#fffefa;border:1px solid #ccd3c8;border-radius:12px;padding:24px}label{display:block;font-weight:650;margin-top:16px}input,select,button{font:inherit;color:inherit;border:1px solid #9faea5;border-radius:5px;background:white;padding:9px;max-width:100%}input,select{width:100%;margin-top:4px}button{cursor:pointer}button:disabled{opacity:.45;cursor:default}.hint{margin:7px 0}.strip{display:flex;border:1px solid #758e85;margin:15px 0 4px}.strip span{padding:10px 0;text-align:center;min-width:0;font-weight:600;overflow:hidden}.face{background:#d9e8df}.fold{background:repeating-linear-gradient(135deg,#efe0bf 0 5px,#f8efd9 5px 10px);border-left:1px dashed #917c59}table{width:100%;border-collapse:collapse;font-size:14px}th,td{text-align:right;padding:8px 4px;border-bottom:1px solid #dee3d9}th:first-child,td:first-child{text-align:left}caption{text-align:left;font-weight:bold;margin:16px 0 5px}nav[aria-label="Marking table pages"]{display:flex;align-items:center;justify-content:space-between;margin-top:12px}.error{color:#864623}button:focus-visible,select:focus-visible,input:focus-visible{outline:3px solid #497869} [hidden]{display:none!important}@media(max-width:700px){.layout{grid-template-columns:1fr}section{padding:18px}main{padding:24px 14px}}

:root{--bg:#f7f8f6;--surface:#fff;--text:#18202a;--muted:#697481;--line:#dde2e6;--accent:#356b8c;--max:1180px}
body{background:var(--bg);color:var(--text)}.wrap{width:min(calc(100% - 40px),var(--max));margin:auto}header{padding:0;background:var(--surface);border-bottom:1px solid var(--line)}.nav{height:72px;display:flex;align-items:center;justify-content:space-between}.brand{font-weight:750;letter-spacing:-.03em;text-decoration:none;color:var(--text)}.mark{display:inline-grid;place-items:center;width:30px;height:30px;margin-right:9px;border-radius:9px;background:var(--text);color:var(--bg);font-size:13px}.nav-right{display:flex;gap:24px;align-items:center;color:var(--muted)}.nav-right a{color:inherit;text-decoration:none}.theme{display:inline-grid;place-items:center;width:38px;height:38px;border:1px solid var(--line);border-radius:11px;background:var(--surface);cursor:pointer;padding:8px}header span{letter-spacing:normal;text-transform:none}footer{border-top:1px solid var(--line);padding:26px 0}.foot{display:flex;justify-content:space-between;color:var(--muted);font-size:13px}.foot nav{display:flex;gap:20px;flex-wrap:wrap}.foot a{color:inherit}.crumbs{font-size:12px;margin-bottom:18px;color:var(--muted)}

header{display:block}button.theme{color:var(--text)}footer nav{margin-top:0}a{color:var(--accent)}.faq{margin:24px 0}.faq details{margin:.75em 0}.faq summary{cursor:pointer}.related{margin:18px 0}
[data-theme=dark]{--bg:#101417;--surface:#171c20;--text:#eef2f4;--muted:#b1bcc3;--line:#39464c;--accent:#b6d8e8;color-scheme:dark}
[data-theme=dark] section,[data-theme=dark] select,[data-theme=dark] input,[data-theme=dark] button{background:var(--surface);color:var(--text);border-color:var(--line)}
[data-theme=dark] .hint,[data-theme=dark] small{color:var(--muted)}[data-theme=dark] .error{color:#ffd09a}[data-theme=dark] .strip{color:#233d39}
@media(max-width:700px){.nav{height:64px}.nav-right a{display:none}.foot{flex-direction:column;gap:16px}}
