/* BENTO IDE: the Terminal collapsed to its header bar (js/terminal-collapse.js, owner 2026-10-30) */
.terminal-panel.term-collapsed { height: auto !important; min-height: 0 !important; }
.terminal-panel.term-collapsed > :not(.terminal-header) { display: none !important; }
.terminal-panel.term-collapsed .terminal-header { cursor: pointer; border-bottom: 0; }
.v-resize-handle.term-collapsed-handle { display: none !important; }
.term-collapse-btn svg { transition: transform 0.15s ease; }
.term-collapse-btn.is-collapsed svg { transform: rotate(180deg); }
/* new output while collapsed */
.terminal-header.term-unread .panel-title::after {
    content: ''; display: inline-block; width: 8px; height: 8px; margin-left: 8px; border-radius: 50%;
    background: var(--color-warning, #f6c000); vertical-align: middle;
}
/* the splitter on the Terminal's top edge (drag, double-click, arrows): a wider grip; frames ignore the pointer mid-drag */
.v-resize-handle { touch-action: none; }
.v-resize-handle:focus-visible { outline: 2px solid var(--tesa-primary); outline-offset: -2px; }
html.term-resizing iframe { pointer-events: none; }
