:root { color-scheme: light; --ink:#172033; --muted:#5b667a; --line:#d9e0ea; --bg:#f6f8fc; --accent:#1d4ed8; }
* { box-sizing:border-box; }
body { margin:0; font:16px/1.6 system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif; color:var(--ink); background:#fff; }
.wrap { max-width:920px; margin:0 auto; padding:24px 18px 72px; }
.site-head { display:flex; align-items:center; justify-content:space-between; gap:14px; flex-wrap:wrap; border-bottom:1px solid var(--line); padding-bottom:14px; margin-bottom:26px; }
.site-head .brand { font-weight:700; font-size:15px; color:var(--ink); text-decoration:none; letter-spacing:-.01em; }
.site-head .brand .logo { font-family:ui-monospace,SFMono-Regular,Consolas,monospace; color:var(--accent); }
.site-head .local { color:var(--muted); font-size:13px; }
h1 { font-size:clamp(26px,4.4vw,38px); line-height:1.2; margin:0 0 10px; letter-spacing:-.02em; }
.lede { color:var(--muted); margin:0 0 20px; max-width:70ch; }
.panel { border:1px solid var(--line); border-radius:12px; background:var(--bg); padding:18px; }
.row { display:grid; grid-template-columns:minmax(0,1.5fr) minmax(0,.9fr) auto auto; gap:12px; align-items:end; }
label { font-weight:600; font-size:14px; display:block; margin-bottom:6px; }
input[type=file], select { font:inherit; padding:9px 10px; border:1px solid var(--line); border-radius:8px; background:#fff; max-width:100%; }
button { font:inherit; font-weight:600; padding:10px 16px; border-radius:8px; border:1px solid var(--accent); background:var(--accent); color:#fff; cursor:pointer; }
button[disabled] { opacity:.5; cursor:not-allowed; }
button.secondary { background:#fff; color:var(--accent); }
.hint { color:var(--muted); font-size:14px; margin:10px 0 0; }
#status { margin:14px 0 0; font-weight:600; }
#stats { width:100%; border-collapse:collapse; margin-top:14px; font-size:14px; }
#stats th, #stats td { border:1px solid var(--line); padding:7px 9px; text-align:left; vertical-align:top; }
#stats th { background:#fff; width:34%; }
#warnings { margin:12px 0 0; padding-left:20px; color:#8a4b00; font-size:14px; }
pre { background:#101828; color:#e8eefb; padding:14px; border-radius:10px; overflow:auto; font-size:13px; line-height:1.5; }
h2 { font-size:23px; margin:38px 0 12px; }
h3 { font-size:17px; margin:24px 0 6px; }
p, li { max-width:78ch; }
table.data { width:100%; border-collapse:collapse; font-size:14px; margin:12px 0; }
table.data th, table.data td { border:1px solid var(--line); padding:8px 9px; text-align:left; }
table.data th { background:var(--bg); }
figure { margin:18px 0; }
figure img, figure svg { max-width:100%; height:auto; border:1px solid var(--line); border-radius:10px; }
figcaption { color:var(--muted); font-size:13px; margin-top:6px; }
.boundary { border-left:4px solid #d97706; padding:6px 0 6px 14px; }
.related { border-top:1px solid var(--line); margin-top:38px; padding-top:8px; }
.related ul { padding-left:20px; }
.related li { margin:6px 0; }
.fixtures { background:var(--bg); border:1px solid var(--line); border-radius:10px; padding:14px 18px; }
.fixtures ul { margin:8px 0 0; padding-left:20px; }
a { color:var(--accent); }
footer { color:var(--muted); font-size:13px; margin-top:44px; border-top:1px solid var(--line); padding-top:14px; }
.site-meta-links { display:flex; gap:16px; flex-wrap:wrap; margin-top:10px; }
@media (max-width:600px) { .wrap { padding:18px 14px 56px; } .panel { padding:14px; } .row { grid-template-columns:1fr; } .row > * { width:100%; } button { width:100%; } }
