/* Fits inside the existing compact header, independently of navigation tabs. */
.header-status{display:flex;align-items:center;gap:16px;flex-shrink:0;font-variant-numeric:tabular-nums}
.header-clock{display:flex;flex-direction:column;gap:1px;min-width:60px;padding-left:16px;border-left:1px solid var(--line);line-height:1.2}
.header-clock time{font-size:1.13rem;font-weight:650;letter-spacing:.015em;color:var(--ink)}
.header-clock>span:not(.sr-only){font-size:.66rem;color:var(--muted);white-space:nowrap}
.header-weather{position:relative;max-width:116px}
.header-weather summary{display:flex;align-items:center;justify-content:center;gap:7px;position:relative;min-height:44px;padding:4px 0;cursor:pointer;list-style:none;white-space:nowrap;border-radius:8px}
.header-weather summary::-webkit-details-marker{display:none}
.header-weather summary:focus-visible{outline:2px solid var(--forest);outline-offset:5px}
.header-weather summary strong{font-size:1.05rem;font-weight:600;line-height:1.2}
.weather-icon{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;color:var(--forest);flex-shrink:0}
.weather-caption{font-size:.64rem;color:var(--muted);position:absolute;bottom:-5px;left:31px}
.header-weather.is-stale summary strong::after{content:'·';color:#b27619;margin-left:2px}
.weather-panel{position:absolute;right:0;top:calc(100% + 12px);z-index:60;width:280px;max-width:calc(100vw - 32px);padding:17px;border:1px solid var(--line);border-radius:13px;background:var(--paper);box-shadow:0 14px 40px #10372d20;font-variant-numeric:normal;line-height:1.5}
.weather-panel>strong{font-size:.92rem}.weather-panel p{margin:9px 0;font-size:.82rem}.weather-panel .weather-note,.weather-panel .weather-updated{color:var(--muted);font-size:.75rem}.weather-panel small{display:block;font-size:.66rem;color:var(--muted);border-top:1px solid var(--line);padding-top:10px;margin-top:12px}.weather-panel a{color:var(--forest);text-underline-offset:2px}
@media(max-width:1100px){.header-status{gap:12px}.header-clock{padding-left:12px;min-width:58px}}
@media(max-width:800px){.header-status{gap:9px}.header-clock{padding-left:9px;min-width:56px}.header-clock time{font-size:1.02rem}.header-weather summary{gap:4px}.weather-icon{width:23px;height:23px}.weather-caption{display:none}.header-weather summary strong{font-size:.94rem}.weather-panel{position:fixed;top:calc(var(--sticky-header-height) + 8px);right:16px}}
@media(max-width:500px){.header-tools{gap:9px}.header-status{gap:8px}.header-clock{min-width:48px;padding-left:8px}.header-clock time{font-size:.97rem}.header-clock>span:not(.sr-only){font-size:.57rem}.header-weather summary strong{font-size:.88rem}.weather-icon{width:21px;height:21px}.site-header .brand small{display:none}}
@media(prefers-reduced-motion:reduce){.header-status *{transition:none!important}}
