/* Widget sizing (t-p19-rxmjoo). Owner 2026-10-20: this replaces the 2026-10-15 "nothing scrolls" rule for list widgets only.
   A widget whose spec says scrolls: true (_cockpit.js and _widgetHost.js mark its frame data-scrolls) scrolls vertically inside its
   frame with a thin, visible scrollbar and takes the keyboard (the body has tabindex 0, so the arrow keys scroll it). Every other
   frame is never crushed and never scrolls: hudLayoutModel.allocateRows keeps at least its compact height, and when the window is too
   short for all of them the cockpit grid itself scrolls (data-overflow), never the page. Loads after hud.css; hud.css's hidden
   scrollbar rules have less specificity than these. */
body[data-hud-fit="true"] :is(#v-my-hq,.wh-widgets) .cockpit-frame[data-scrolls="true"]>.cockpit-fb{overflow-x:hidden;overflow-y:auto;scrollbar-width:thin;scrollbar-color:var(--hud-line-hi,#3A5A78) transparent}
body[data-hud-fit="true"] :is(#v-my-hq,.wh-widgets) .cockpit-frame[data-scrolls="true"]>.cockpit-fb::-webkit-scrollbar{display:block;width:8px;height:8px}
body[data-hud-fit="true"] :is(#v-my-hq,.wh-widgets) .cockpit-frame[data-scrolls="true"]>.cockpit-fb::-webkit-scrollbar-track{background:rgba(11,19,29,.6)}
body[data-hud-fit="true"] :is(#v-my-hq,.wh-widgets) .cockpit-frame[data-scrolls="true"]>.cockpit-fb::-webkit-scrollbar-thumb{background:var(--hud-line-hi,#3A5A78);border:1px solid #0B131D}
body[data-hud-fit="true"] :is(#v-my-hq,.wh-widgets) .cockpit-frame[data-scrolls="true"]>.cockpit-fb::-webkit-scrollbar-thumb:hover{background:var(--hud-cyan,#4DE3F5)}
:is(#v-my-hq,.wh-widgets) .cockpit-frame[data-scrolls="true"]>.cockpit-fb:focus-visible{outline:2px solid var(--hud-cyan,#4DE3F5);outline-offset:-2px}
/* the grid: too short for every frame at its compact height */
body[data-hud-fit="true"] #v-my-hq .cockpit>.cockpit-grid[data-overflow]{overflow-x:hidden;overflow-y:auto;scrollbar-width:thin;scrollbar-color:var(--hud-line-hi,#3A5A78) transparent}
body[data-hud-fit="true"] #v-my-hq .cockpit>.cockpit-grid[data-overflow]::-webkit-scrollbar{width:8px}
body[data-hud-fit="true"] #v-my-hq .cockpit>.cockpit-grid[data-overflow]::-webkit-scrollbar-thumb{background:var(--hud-line-hi,#3A5A78);border:1px solid #0B131D}

/* an inactive screen panel stays hidden even if it carries .wh-widgets (hud.css display:flex outranks app.css .tab-panel-v; t-p15-chql31) */
body[data-hud-fit="true"] .tab-panel-v.wh-widgets:not(.active){display:none}
