/* MiStudio 0.5.2 UI round (Maysam's round 2 feedback of November 20, 2026, items U1-U11) */

/* U3: Settings search, kept at the top of the panel while the list scrolls */
.st-search { position: sticky; top: -1px; z-index: 2; background: var(--panel); padding: 2px 0 8px; display: flex; gap: 6px; align-items: center; }
.st-search input { flex: 1; min-width: 0; text-align: left; }
.st-search .st-n { color: var(--mute); font-size: 11px; white-space: nowrap; }
.st-none { color: var(--mute); padding: 10px 2px; }

/* U9: the small "default" link next to a tool panel's Preview check */
.tp-prev .tp-def { border: 0; background: none; color: var(--mute); font-size: 11px; padding: 0 2px; cursor: pointer; text-decoration: underline dotted; }
.tp-prev .tp-def:hover { color: var(--ink); }

/* U6: the Inspector (right pane) is wider while the Activity Control Center is open, and its left edge drags */
.fp-wide { width: 24px; height: 24px; border: 0; border-radius: 6px; background: transparent; color: var(--mute); display: inline-grid; place-items: center; flex: none; }
.fp-wide svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.fp-wide:hover { background: var(--hover); color: var(--ink); }
.fp-wide.on { color: var(--acc, #0a84ff); }
.dsplit.right:hover::after, .dsplit.left:hover::after { content: ""; position: absolute; top: 50%; left: 2px; width: 2px; height: 36px; margin-top: -18px; border-radius: 1px; background: var(--acc, #0a84ff); }

/* U10: Kill in the ACC's own title row while a killable task runs (visible with the ACC collapsed too) */
.fpanel.acc-running > .fp-head > .fp-run { display: inline-flex; }
.fpanel.acc-running > .fp-head > .fp-run .fp-time:empty { display: none; }

/* U8: the "thru" pick list (what lies under the cursor, front to back) */
.thru-pop { position: fixed; z-index: 60; background: var(--panel); color: var(--ink); border: 1px solid rgba(127, 127, 127, .35); border-radius: 8px; box-shadow: 0 6px 24px rgba(0, 0, 0, .25); padding: 4px; min-width: 220px; max-width: 360px; font-size: 12px; }
.thru-pop .h { color: var(--mute); font-size: 11px; padding: 3px 8px 5px; }
.thru-pop .it { display: flex; gap: 8px; align-items: center; padding: 4px 8px; border-radius: 5px; cursor: pointer; }
.thru-pop .it:hover, .thru-pop .it.on { background: rgba(10, 132, 255, .16); }
.thru-pop .it .d { color: var(--mute); margin-left: auto; font-variant-numeric: tabular-nums; }
.thru-pop .it .sel { color: #0a84ff; width: 10px; }

/* U2 view history: moved into the view station (web/v072station.css, 0.7.2) */
