:root { font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; color:#252a30; background:#fff; font-size:15px; color-scheme:light; }
* { box-sizing:border-box; letter-spacing:0; }
body { margin:0; }
a { color:#235cac; text-underline-offset:3px; }
header { min-height:64px; border-bottom:1px solid #d9dfe4; display:flex; flex-wrap:wrap; align-items:center; gap:16px; padding:12px 24px; }
header > a:last-child { margin-left:auto; }
.brand { display:flex; align-items:center; gap:9px; color:inherit; font-weight:700; text-decoration:none; }
.layout { display:grid; grid-template-columns:270px minmax(0,1fr); max-width:1280px; margin:auto; }
aside { position:sticky; top:0; align-self:start; height:100dvh; overflow:auto; padding:24px 18px; background:#f7f8fa; border-right:1px solid #d9dfe4; }
aside summary { font-weight:700; cursor:pointer; margin-bottom:16px; }
nav { display:grid; gap:2px; margin-top:18px; }
nav a { display:block; text-decoration:none; font-size:13px; padding:7px 4px; line-height:1.6; }
nav a:hover { background:#e5edf5; }
label { display:block; font-size:13px; font-weight:600; margin-bottom:6px; }
input,button { font:inherit; border:1px solid #bcc7d0; border-radius:4px; background:#fff; color:inherit; padding:8px; }
input { width:100%; min-width:0; }
.search-row { display:flex; gap:6px; }
button { cursor:pointer; }
button:hover { background:#e5edf5; }
:focus-visible { outline:3px solid #3989d2; outline-offset:2px; }
main { min-width:0; padding:36px 40px 64px; line-height:1.9; }
h1 { font-size:28px; margin:0 0 12px; }
h2 { font-size:22px; margin:0; }
h3 { font-size:18px; margin:0 0 12px; }
p { margin:10px 0; }
.intro { padding-bottom:28px; border-bottom:1px solid #d9dfe4; }
.quick-links { display:flex; flex-wrap:wrap; gap:8px 22px; margin-top:18px; }
.guide-group { padding-top:32px; }
.guide-group > h2 { padding-bottom:12px; border-bottom:2px solid #b4c8bd; }
.guide-topic { padding:26px 0; border-bottom:1px solid #e3e7ea; scroll-margin-top:16px; overflow-wrap:anywhere; }
figure { margin:22px 0 0; }
figure img { display:block; width:100%; height:auto; border:1px solid #d9dfe4; }
figcaption,.muted { font-size:13px; color:#586773; }
.note { border-left:3px solid #b58035; padding:8px 14px; background:#faf7ee; }
#searchStatus { font-size:12px; min-height:1.5em; }
[hidden] { display:none !important; }
@media(max-width:760px) {
  header { padding:12px 16px; font-size:13px; gap:10px; }
  .brand img { width:24px; height:24px; }
  .layout { display:block; }
  aside { position:static; height:auto; border-right:0; border-bottom:1px solid #d9dfe4; padding:18px; }
  nav { max-height:190px; overflow:auto; }
  main { padding:24px 18px 48px; }
  h1 { font-size:24px; }
  h2 { font-size:20px; }
}
@media print {
  aside,header,.quick-links { display:none; }
  .layout { display:block; } main { padding:0; }
  .guide-topic { break-inside:avoid; } a { color:inherit; }
}
