/* One header for both pages (Vishnu 2026-11-15: switching Specification <-> Live must not move anything).
   Loaded LAST on both pages, after app.css (spec) / app.css + ddna.css (live); same markup on both, built by build_site.py. */
body{background:#f3f4f6}
.hdr{max-width:1600px;margin:0 auto;padding:12px 12px 0;color:#1E1611;font:14px/1.45 system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif}
.hdr .top{margin:0 0 8px}
.hdr .live{display:flex;align-items:center;gap:8px;font-weight:600;color:#37872D;margin-left:auto}
.hdr .live i{width:8px;height:8px;border-radius:50%;background:currentColor;animation:hping 1.6s infinite}
.hdr .live small{color:#555;font-weight:500;display:inline-block;min-width:5.6em}.hdr .live.stale{color:#888}.hdr .live.stale i{animation:none}
@keyframes hping{0%{box-shadow:0 0 0 0 #73bf6980}70%{box-shadow:0 0 0 7px #73bf6900}100%{box-shadow:0 0 0 0 #73bf6900}}
@media (min-width:960px){.hdr .brandmark img{width:300px}}
.hdr + .wrap{padding-top:0}.hdr + main{padding-top:0}
@media (prefers-reduced-motion:reduce){.hdr .live i{animation:none}}

/* Header tabs: the black pill slides to the new tab across the page change (Vishnu 2026-11-17).
   Cross-document view transitions (Chrome / Edge 126+, Safari 18.2+); other browsers just switch as before.
   The pill is a ::before so it travels on its own, without the label text inside it. Each label is a named layer of its
   own (set inline by build_site.py), painted after the pill, so the text stays visible on top of it while it moves and
   fades between grey and white in place (2026-11-17 fix: the labels were in the page layer, hidden under the pill). */
.hdr .tabs a span{display:inline-block}
/* The @view-transition opt-in itself is inline in each page's <head> (build_site.py VT_JS): it must be known when <body> is parsed. */
.hdr .tabs a{position:relative;z-index:0}
.hdr .tabs a[aria-current]{background:transparent}
.hdr .tabs a[aria-current]::before{content:"";position:absolute;inset:0;z-index:-1;border-radius:999px;background:#1E1611;view-transition-name:tabpill}
::view-transition-group(tabpill){animation-duration:.32s;animation-timing-function:cubic-bezier(.3,.8,.3,1)}   /* no overshoot: over this distance a bounce reads as a wobble */
::view-transition-old(tabpill),::view-transition-new(tabpill){height:100%}
::view-transition-group(tabpill){z-index:1}
::view-transition-group(tab-0),::view-transition-group(tab-1),::view-transition-group(tab-2){z-index:2;animation-duration:.34s}
::view-transition-old(root),::view-transition-new(root){animation-duration:.22s}
