/* perf.css — controller-renderer performance overrides, loaded AFTER shell.css.
   The reference's decorative GPU effects (a full-width backdrop blur on the fixed top bar)
   force the compositor to re-blur the whole bar every frame anything behind it animates.
   The cost scales with the DOM behind it, so it freezes large planes (Entities) while small
   ones (Horizon) survive. The bar background is already ~92% opaque, so dropping the blur is
   visually near-identical and removes the hotspot. Layout/geometry is untouched. */

.mx-bar { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }

/* chrome.js locks html/body to the viewport (height:100%; overflow:hidden) — that design
   scrolls an inner content column, but the GOTTH renderer mounts the plane body directly in
   the flow, so any content taller than the viewport was clipped and unreachable (couldn't
   scroll to reach lower rows or the Add drawer's buttons). The rails/bar are position:fixed,
   so letting the page scroll vertically keeps them pinned while the body scrolls under them. */
html { height: auto !important; overflow-y: auto !important; overflow-x: hidden !important; }
body { height: auto !important; min-height: 100%; overflow-y: auto !important; overflow-x: hidden !important; }

/* Transpiled DC plane roots pin themselves to height:100vh + overflow:hidden — the DC design
   scrolls an INNER region, but the GOTTH page scrolls the body, so a pinned root clipped
   everything below the fold (verdict-ledger, validation, entities, …). Relax any viewport-
   height / overflow-hidden container inside the plane so it flows with its content.
   Mission Control is the exception: its cockpit IS a split of the viewport (44 % tiles · 56 % Ask), and unpinning
   it sent Ask below the fold — it keeps its own 100vh root and scrolls inside, as designed.
   The Situation canvas is the same kind of screen: evidence · graph · actions side by side, each column
   scrolling inside the viewport — unpinned, the page grew to 2,100 px and pushed the graph and the scrubber off the screen.
   Investigate too: a log explorer — the facets, the chart and the table each scroll in their own pane, so every
   column of the ledger is reachable and its header stays on top. Fabric too: its header, strip and map stay, and its pane of
   records scrolls below them. */
#mx-plane:not([data-plane="mission-control"]):not([data-plane="situation"]):not([data-plane="verdict-ledger"]):not([data-plane="fabric"]) div[style*="100vh"] { height: auto !important; min-height: 100vh; max-height: none !important; overflow: visible !important; }

/* NOTE: do NOT `contain: layout` #mx-plane — the fixed rails/bar render inside it, and a
   containing block breaks their position:fixed (rails detach from the viewport). */

/* scrollbars half as thick — 4 px instead of 9, on every screen; the thumb keeps its visible grey
   (shell.css / planes.css) so a pane that scrolls still shows it. Loaded last, so it wins over each plane's own 8–9 px rule. */
::-webkit-scrollbar{width:4px !important;height:4px !important}
::-webkit-scrollbar-thumb{border-radius:4px !important}
