/* Retain native theme tokens, functional layouts and all status colors. */
html.dark body{background-color:#0b1014;}
html.light body{background-color:#f3f5f2;}
h1,h2,h3{letter-spacing:-.025em;}
/* Keep brand intact and navigation contained on medium desktop widths. */
header a[href="/"]:has(img) {white-space:nowrap;}
header:not(.app-mobile-header)>div {grid-template-columns:auto minmax(0,1fr) auto!important;}
header:not(.app-mobile-header) nav {min-width:0;max-width:100%;overflow-x:auto;scrollbar-width:thin;justify-self:stretch;}
header:not(.app-mobile-header) nav>a {flex-shrink:0;}
/* Info tabs already wrap on desktop and scroll on mobile; keep full labels. */
div.scrollbar-hide.overflow-x-auto>button>span.truncate{max-width:none!important;white-space:nowrap;overflow:visible;text-overflow:clip;}
:focus-visible{outline:2px solid #8ba7be;outline-offset:3px;}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important;}}
