:root{color-scheme:dark;font-family:"Segoe UI",system-ui,sans-serif;color:#ecf3f1;background:#0e171b}*{box-sizing:border-box}body{margin:0}
header,main{max-width:940px;margin:auto;padding:22px clamp(18px,4vw,44px)}
header{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #334749}
header b{color:#9ae2cd;font-size:1.3rem}a{color:#a0ebd7;text-underline-offset:3px}
h1{font-size:clamp(2.1rem,5vw,3.4rem);line-height:1.05;letter-spacing:-.04em;margin:.45em 0}
p{line-height:1.55;max-width:75ch;color:#c2d4d1}.choose{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:24px 0}
select{font:inherit;padding:9px 12px;color:inherit;background:#17252a;border:1px solid #526d70;border-radius:6px;max-width:100%}
#resultCount{font-size:.85rem;color:#99ada9}.model{border-top:1px solid #344648;background:#152024}
.model>summary{cursor:pointer;padding:15px 16px;line-height:1.4}.model>summary span{display:inline-block;color:#9ab8b0;font-size:.88rem;margin-left:14px}
.body{padding:0 20px 18px}.body h2,.notes h2{font-size:1rem;color:#ecf3f1;margin:18px 0 4px}.body p{margin:6px 0}
.links{display:flex;gap:14px;flex-wrap:wrap;margin:12px 0}.sources{margin-top:15px}.sources summary{cursor:pointer;color:#a8c1be}.sources a{overflow-wrap:anywhere}
.notes{padding:12px 0 32px}:focus-visible{outline:3px solid #f3c58e;outline-offset:3px}[hidden]{display:none!important}
@media(max-width:600px){.model>summary span{display:block;margin:4px 0 0 15px}.choose{align-items:flex-start;flex-direction:column}.choose select{width:100%}}
.how-to nav{display:flex;flex-wrap:wrap;gap:0 1.1rem;border-block:1px solid #344648;margin:1.5rem 0}
.how-to nav a{padding:.8rem 0}
.how-to details > summary { padding: .5rem 0; cursor: pointer; }
.how-to section{display:flow-root;padding:.5rem 0 1rem;border-bottom:1px solid #344648;scroll-margin:1rem}
.how-to h2{font-size:clamp(1.25rem,3vw,1.7rem);line-height:1.2;margin:1.1rem 0 .5rem}
.how-to figure{float:right;max-width:34%;margin:.4rem 0 1rem 1.5rem}
.how-to figure img{display:block;width:100%;height:auto;border-radius:8px}
.how-to figcaption{margin-top:.45rem;color:#c2d4d1;font-size:.9rem;line-height:1.45}
@media(max-width:600px){.how-to figure{float:none;max-width:22rem;margin:1rem 0}.how-to nav{gap:0 1rem}}
@media screen and (prefers-color-scheme: light) {
  :root { color-scheme: light; background: #f1f5f5; color: #162d32; }
  a, header b { color: #00634c; }
  p, #resultCount, .model > summary span, .sources summary, .how-to figcaption { color: #435961; }
  .body h2, .notes h2 { color: #162d32; }
  .model, select { background: #fff; border-color: #8da3a5; }
  :focus-visible { outline-color: #006492; }
}
