/* Mission Control panels (ui/panels.js): resize bars, collapsed-panel tabs. Shared by every page. */
.mcp-bar { position: fixed; z-index: 40; touch-action: none; background: transparent; outline: none; }
.mcp-bar.mcp-v { width: 8px; cursor: col-resize; }
.mcp-bar.mcp-h { height: 8px; cursor: row-resize; }
.mcp-bar[hidden], .mcp-tab[hidden] { display: none; }
body.mcp-dragging { user-select: none; }
body.mcp-dragging-v, body.mcp-dragging-v * { cursor: col-resize !important; }
body.mcp-dragging-h, body.mcp-dragging-h * { cursor: row-resize !important; }
body.mcp-dragging iframe { pointer-events: none; }
.mcp-off { display: none !important; }
.mcp-tab { position: fixed; z-index: 41; width: 16px; height: 44px; padding: 0; display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
  background: var(--panel2, var(--panel, #222)); color: var(--ph, #aaf); border: 1px solid var(--gd-edge, var(--edge, #444)); box-sizing: border-box; }
/* open: sits inside the panel against its inner edge, like the main menu's tab */
.mcp-tab-right { border-right: 0; border-radius: 5px 0 0 5px; }
.mcp-tab-left { border-left: 0; border-radius: 0 5px 5px 0; }
/* hidden: on the page edge, flipped */
.mcp-tab-right.off { border-right: 1px solid var(--gd-edge, var(--edge, #444)); border-left: 0; border-radius: 0 5px 5px 0; color: var(--gold, var(--ph, #aaf)); }
.mcp-tab-left.off { border-left: 1px solid var(--gd-edge, var(--edge, #444)); border-right: 0; border-radius: 5px 0 0 5px; color: var(--gold, var(--ph, #aaf)); }
.mcp-tab.off svg { transform: rotate(180deg); }
.mcp-tab:hover { background: var(--gd-hover, rgba(255, 255, 255, .08)); color: var(--ph-bright, var(--ph, #ccf)); }
.mcp-tab svg { width: 14px; height: 14px; transition: transform .15s; }
/* touch: a wider grip */
@media (pointer: coarse) { .mcp-bar.mcp-v { width: 18px; margin-left: -5px; } .mcp-bar.mcp-h { height: 18px; margin-top: -5px; } .mcp-tab { width: 40px; height: 56px; } }
/* 2026-11-08 ("fix every app for all screen sizes"): a fold tab on a touch screen is a 40 px target, like every button */
