/* One navigation and reading-control design for every field guide. */
:root{--guide-header-height:80px;scroll-padding-top:calc(var(--guide-header-height) + 24px)}
.guide-site-header{--gh-bg:#14221c;--gh-panel:#1c2b23;--gh-text:#f1eedf;--gh-muted:#bdc7bb;--gh-line:#ffffff24;--gh-accent:#d5c18a;position:sticky;top:0;z-index:70;display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:80px;margin:0;padding:14px max(32px,calc((100vw - 1504px)/2));background:var(--gh-bg);color:var(--gh-text);border-bottom:1px solid var(--gh-line);font:15px/1.4 "Segoe UI",system-ui,sans-serif;isolation:isolate}
:root[data-theme="light"] .guide-site-header{--gh-bg:#f5f3e9;--gh-panel:#fffef8;--gh-text:#24382b;--gh-muted:#596657;--gh-line:#29402c30;--gh-accent:#78612c}
.guide-site-header *{box-sizing:border-box}
.guide-site-header [hidden]{display:none!important}
.guide-site-header a{color:inherit;text-decoration:none}
.guide-site-header button{font:inherit;color:inherit;cursor:pointer;margin:0;letter-spacing:normal}
.guide-site-header :is(a,button,input):focus-visible{outline:2px solid var(--gh-accent);outline-offset:4px}
.gh-brand{display:flex;align-items:center;gap:11px;flex-shrink:0;font-size:14px;line-height:1.3;font-weight:750;letter-spacing:.1em;white-space:nowrap}
.gh-brand img{display:block;width:30px;height:30px}
.gh-brand small{display:block;margin-top:5px;font-size:9px;letter-spacing:.17em;font-weight:500;color:var(--gh-muted)}
.gh-actions{display:flex;align-items:center;gap:10px;flex-shrink:0}
.gh-button{display:flex;align-items:center;justify-content:center;gap:8px;min-height:48px;border:1px solid var(--gh-line);border-radius:5px;background:transparent;padding:8px 13px}
.gh-button:hover,.gh-button[aria-expanded="true"]{background:var(--gh-panel);border-color:var(--gh-accent)}
.gh-icon{display:block;flex-shrink:0;width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}
.gh-guide-button>.gh-icon:last-child{width:15px;height:15px}
.gh-aa{font:normal 22px/1 Georgia,serif}
.gh-theme-button{width:48px;padding:0}
.gh-calculator-link{display:flex;align-items:center;gap:8px;min-height:44px;padding:8px 12px;font-size:15px;color:var(--gh-muted)!important;white-space:nowrap}
.gh-calculator-link:hover{color:var(--gh-text)!important;text-decoration:underline}
.gh-calculator-link[aria-current="page"],.gh-calculator-menu-link[aria-current="page"]{color:var(--gh-accent)!important;font-weight:650}
.gh-popover{position:relative}
.gh-panel{position:absolute;top:calc(100% + 12px);right:0;width:min(360px,calc(100vw - 32px));max-height:calc(100dvh - var(--guide-header-height) - 32px);overflow:auto;background:var(--gh-panel);border:1px solid var(--gh-line);border-radius:8px;box-shadow:0 18px 48px #0004;text-align:left;line-height:1.5;font-size:15px}
.gh-panel-heading{margin:0!important;padding:18px 20px 12px;font-size:12px!important;font-weight:650;letter-spacing:.07em;text-transform:uppercase;color:var(--gh-muted)!important}
.gh-guide-link{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 20px;border-block:1px solid transparent}
.gh-guide-link strong{display:block;font-size:17px;font-weight:650}
.gh-guide-link small{display:block;margin-top:5px;font-size:13px;color:var(--gh-muted)}
.gh-guide-link:hover,.gh-guide-link[aria-current="page"]{background:var(--gh-bg);border-color:var(--gh-line)}
.gh-current{flex-shrink:0;font-size:11px;letter-spacing:.04em;text-transform:uppercase;color:var(--gh-accent)}
.gh-calculator-menu-link{display:flex;justify-content:space-between;gap:16px;padding:16px 20px;border-top:1px solid var(--gh-line);font-size:15px}
.gh-calculator-menu-link:hover{text-decoration:underline}
.gh-reading-panel{padding:22px}
.gh-reading-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:18px;font-size:18px}
.gh-reading-heading output{font-size:16px;color:var(--gh-accent)}
.gh-reading-panel label{display:block;font-size:14px;color:var(--gh-muted)}
#gh-text-size{width:100%;min-height:28px;margin:15px 0;accent-color:var(--gh-accent)}
.gh-presets{display:flex;gap:8px}
.gh-presets button{flex:1;border:1px solid var(--gh-line);border-radius:4px;background:transparent;padding:9px 6px;font-size:14px}
.gh-presets button[aria-pressed="true"]{background:var(--gh-accent);color:var(--gh-bg);border-color:var(--gh-accent)}
.gh-reading-panel p{font-size:13px!important;line-height:1.6!important;color:var(--gh-muted)!important;margin:18px 0 0!important}
.gh-fallback{display:flex;align-items:center;flex-wrap:wrap;gap:16px;font-size:14px}
@media(max-width:900px){.guide-site-header{padding-inline:24px;gap:16px}.gh-calculator-link{display:none}}
@media(max-width:560px){.guide-site-header{min-height:68px;padding:10px 16px;gap:10px}.gh-brand{font-size:12px;letter-spacing:.06em;gap:8px}.gh-brand img{width:26px;height:26px}.gh-brand small{font-size:8px;letter-spacing:.1em}.gh-actions{gap:7px}.gh-button{min-height:46px;padding:8px 10px;gap:5px;font-size:14px}.gh-guide-button>.gh-icon:first-child{display:none}.gh-theme-button{width:44px;padding:0}.gh-reading-label{display:none}.gh-popover{position:static}.gh-panel{position:fixed;left:16px;right:16px;top:calc(var(--guide-header-height) + 8px);width:auto}.gh-aa{font-size:22px}.gh-fallback{font-size:12px;gap:8px}}
@media(max-width:370px){.guide-site-header{padding-inline:14px;gap:8px}.gh-brand{font-size:10.5px;gap:6px;letter-spacing:.035em}.gh-brand img{width:24px;height:24px}.gh-brand small{font-size:7px;letter-spacing:.05em}.gh-actions{gap:6px}.gh-guide-label{display:none}.gh-guide-button>.gh-icon:first-child{display:block;width:18px;height:18px}.gh-guide-button{padding-inline:7px}.gh-button{min-height:44px}.gh-reading-panel{padding:18px}}
@media print{.guide-site-header{display:none!important}}
