:root{--ink:#1d2329;--muted:#5b6670;--line:#d9dee3;--bg:#ffffff;--soft:#f4f6f8;--accent:#b5520d;--accent-soft:#fbeee4;--max:760px}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--bg);color:var(--ink);font:17px/1.65 Georgia,"Times New Roman",serif}
a{color:var(--accent)}
a:hover{text-decoration-thickness:2px}
.wrap{max-width:var(--max);margin:0 auto;padding:0 16px}
header.site{border-bottom:1px solid var(--line);background:var(--soft)}
header.site .wrap{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;padding-top:12px;padding-bottom:12px}
.brand{font:700 16px/1.2 system-ui,-apple-system,Segoe UI,Roboto,sans-serif;color:var(--ink);text-decoration:none}
nav.top a{font:14px system-ui,-apple-system,Segoe UI,Roboto,sans-serif;color:var(--muted);margin-left:14px;text-decoration:none}
nav.top a:first-child{margin-left:0}
h1,h2,h3{font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif;line-height:1.25;color:var(--ink)}
h1{font-size:2rem;margin:28px 0 8px}
h2{font-size:1.45rem;margin:44px 0 10px;padding-top:8px;border-top:1px solid var(--line)}
h3{font-size:1.15rem;margin:28px 0 6px}
.meta{font:14px system-ui,-apple-system,Segoe UI,Roboto,sans-serif;color:var(--muted);margin:0 0 18px}
.answer{background:var(--accent-soft);border-left:4px solid var(--accent);padding:14px 16px;margin:18px 0;border-radius:4px}
.answer p{margin:0}
.toc{background:var(--soft);border:1px solid var(--line);border-radius:6px;padding:12px 18px;margin:20px 0;font:15px/1.6 system-ui,-apple-system,Segoe UI,Roboto,sans-serif}
.toc ol{margin:6px 0 0;padding-left:20px}
.tablewrap{overflow-x:auto;margin:16px 0;border:1px solid var(--line);border-radius:6px}
table{border-collapse:collapse;width:100%;font:14px/1.45 system-ui,-apple-system,Segoe UI,Roboto,sans-serif;min-width:560px}
th,td{text-align:left;vertical-align:top;padding:9px 10px;border-bottom:1px solid var(--line)}
th{background:var(--soft)}
tr:last-child td{border-bottom:0}
.card{border:1px solid var(--line);border-radius:6px;padding:4px 18px 12px;margin:18px 0}
.card h3{margin-top:16px}
.facts{font:14px/1.6 system-ui,-apple-system,Segoe UI,Roboto,sans-serif;color:var(--muted);margin:4px 0 8px;padding:0;list-style:none}
.facts li{margin:0}
.note{font-size:15px;color:var(--muted)}
figure{margin:22px 0}
figure svg{width:100%;height:auto;display:block;border:1px solid var(--line);border-radius:6px;background:var(--soft)}
figcaption{font:14px system-ui,-apple-system,Segoe UI,Roboto,sans-serif;color:var(--muted);margin-top:6px}
details{border:1px solid var(--line);border-radius:6px;padding:10px 14px;margin:10px 0}
summary{cursor:pointer;font:600 16px/1.4 system-ui,-apple-system,Segoe UI,Roboto,sans-serif}
details p{margin:10px 0 2px}
footer.site{margin-top:56px;border-top:1px solid var(--line);background:var(--soft);font:14px/1.6 system-ui,-apple-system,Segoe UI,Roboto,sans-serif;color:var(--muted)}
footer.site .wrap{padding-top:18px;padding-bottom:26px}
footer.site a{color:var(--muted)}
@media (max-width:600px){body{font-size:16px}h1{font-size:1.6rem}h2{font-size:1.3rem}nav.top a{margin-left:10px}}
/* v2 */
.brand{display:inline-flex;align-items:center;gap:10px}
.brand .logo{width:30px;height:30px;flex:none}
header.site{background:#1d2329;border-bottom:0}
header.site .brand,header.site nav.top a{color:#fff}
header.site nav.top a{opacity:.85}
header.site nav.top a:hover{opacity:1}
.crumbs{font:13px system-ui,-apple-system,Segoe UI,Roboto,sans-serif;color:var(--muted);margin:18px 0 0}
.crumbs a{color:var(--muted)}
.meta::before{content:"✓ ";color:#2e7d32;font-weight:700}
.method{font:15px/1.6 system-ui,-apple-system,Segoe UI,Roboto,sans-serif;background:var(--soft);border:1px solid var(--line);border-radius:6px;padding:14px 16px;margin:40px 0 0}
.related{margin-top:28px}
.related h2{border-top:0;margin-top:0;font-size:1.2rem}
.related ul,.postlist{padding-left:20px}
.related li,.postlist li{margin:8px 0}
.footlinks{columns:2;column-gap:24px;padding-left:18px;margin:8px 0 12px}
@media (max-width:600px){.footlinks{columns:1}}
table tbody tr:nth-child(even) td{background:#fafbfc}
td:first-child{font-weight:600}
h2{scroll-margin-top:12px}
