:root { color-scheme:light; --ink:#19382e; --muted:#486354; --line:#cddbd0; --wash:#f2f6ef; }
* { box-sizing:border-box; }
body { margin:0; color:var(--ink); background:white; font:17px/1.64 "DM Sans",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; }
a { color:#12603e; text-underline-offset:3px; }
a:hover { color:#603f12; }
a:focus-visible,input:focus-visible,summary:focus-visible { outline:3px solid #a7660d; outline-offset:3px; }
.shell { width:min(1120px,91%); margin:auto; }
header { border-bottom:1px solid var(--line); }
header .shell { display:flex; align-items:center; justify-content:space-between; gap:14px; min-height:72px; }
.brand { display:flex; gap:11px; align-items:center; font-weight:750; text-decoration:none; color:var(--ink); }
.brand img { border-radius:10px; }
.home { font-size:15px; font-weight:650; }
.hero { background:#123e31; color:white; padding:48px 0 46px; }
.hero p { max-width:650px; color:#deebe1; margin:12px 0 0; }
h1,h2 { font-family:Georgia,serif; font-weight:500; line-height:1.12; letter-spacing:-.033em; }
h1 { font-size:clamp(38px,6vw,68px); margin:8px 0; }
h2 { font-size:clamp(27px,3vw,38px); margin:1.25em 0 .45em; }
h3 { line-height:1.3; margin:1.55em 0 .35em; font-size:1.23em; }
h4 { margin-bottom:.25em; }
p { margin:.5em 0 1em; }
li { margin:.35em 0; }
.kicker { color:#f0ce85; font-size:14px; font-weight:650; }
.hero a { color:#fff; }
.searchbox { margin:24px 0 0; max-width:670px; }
.searchbox label { display:block; font-size:15px; margin-bottom:5px; }
input { width:100%; font:inherit; padding:13px 16px; border:1px solid #607d6c; border-radius:8px; }
.cards { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; margin:0 0 46px; }
.card { display:block; padding:22px; border:1px solid var(--line); border-radius:14px; color:var(--ink); text-decoration:none; }
.card:hover { background:var(--wash); }
.card b { display:block; font:500 25px/1.2 Georgia,serif; }
.card span { display:block; margin-top:8px; color:var(--muted); }
.layout { display:grid; grid-template-columns:245px minmax(0,1fr); gap:55px; padding:30px 0 50px; }
aside details { position:sticky; top:20px; padding:14px 16px; background:var(--wash); border-radius:10px; max-height:90vh; overflow:auto; }
summary { font-weight:700; cursor:pointer; }
aside a,.toc a { display:block; margin:.55em 0; }
article { min-width:0; overflow-wrap:anywhere; }
section[id],h2[id],h3[id],h4[id] { scroll-margin-top:16px; }
article section+section { border-top:1px solid var(--line); margin-top:32px; }
table { width:100%; border-collapse:collapse; font-size:16px; margin:20px 0; }
caption { text-align:left; font-weight:700; padding-bottom:8px; }
th,td { text-align:left; vertical-align:top; padding:12px; border-bottom:1px solid var(--line); }
th { background:var(--wash); }
figure { margin:20px 0 26px; }
figure img,article img { max-width:100%; height:auto; max-height:530px; object-fit:contain; border-radius:10px; }
figcaption { font-size:14px; color:var(--muted); }
footer { background:var(--wash); padding:28px 0; }
footer a { display:inline-block; margin:5px 16px 0 0; }
#results ul { padding-left:20px; }
#results li { padding:5px 0; }
#results small { display:block; color:var(--muted); }
@media(max-width:780px){ .layout { grid-template-columns:1fr; gap:10px; } aside details { position:static; max-height:240px; } .cards { grid-template-columns:1fr; } th,td { padding:7px 5px; font-size:14px; } .hero { padding:30px 0; } }
.quick { margin:16px 0 50px; border-top:1px solid var(--line); }
article article+article { border-top:1px solid var(--line); }
article a:has(>img) { display:inline-block; }
.card { display:grid; grid-template-columns:minmax(0,1fr) 78px; gap:18px; align-items:start; overflow:hidden; }
.card img { display:block; width:78px; height:112px; object-fit:cover; object-position:top; border-radius:6px; border:1px solid var(--line); }
@media(max-width:400px){.card {padding:16px;gap:10px;grid-template-columns:minmax(0,1fr) 60px}.card img{width:60px;height:95px}}
.related { margin-top:32px; padding:22px; background:var(--wash); border-radius:12px; }
.related b,.related a { display:block; }
.related a { margin-top:7px; }
.quicklinks { display:flex; flex-wrap:wrap; gap:7px 16px; margin:24px 0; font-size:15px; }
article details { margin:12px 0 20px; padding:10px 14px; background:var(--wash); border-radius:8px; }
article details summary { color:#17553c; }
article details figure { margin-bottom:6px; }
