.terminal-trigger { appearance:none; border:0; padding:0; color:inherit; background:none; font:inherit; letter-spacing:inherit; line-height:inherit; text-align:inherit; cursor:pointer; }
.terminal-trigger:focus-visible { outline:2px solid #f4ab64; outline-offset:8px; border-radius:3px; }
#workbench { width:min(1050px, 94vw); max-width:94vw; height:min(720px, 88dvh); max-height:90dvh; margin:auto; padding:0; border:1px solid #58616b; border-radius:10px; background:#0a0e13; color:#d8e3e7; box-shadow:0 30px 120px #000b; font:12px 'IBM Plex Mono',monospace; overflow:hidden; }
#workbench[open] { display:flex; flex-direction:column; }
#workbench::backdrop { background:#020609c9; backdrop-filter:blur(7px); }
.terminal-chrome { display:flex; align-items:center; justify-content:space-between; padding:10px 16px; background:#151b23; border-bottom:1px solid #303944; }
.terminal-chrome>div { display:flex; align-items:center; gap:10px; }
.terminal-chrome strong { font-size:12px; font-weight:500; }
.terminal-led { width:7px; height:7px; border-radius:50%; background:#e7a96c; box-shadow:0 0 12px #e7a96c55; }
#terminal-close { font:24px monospace; color:#b8c5cd; background:transparent; border:0; cursor:pointer; padding:0 8px; min-width:36px; min-height:36px; }
#terminal-close:hover,#terminal-close:focus-visible { background:#303944; color:white; }
.terminal-meta,.terminal-foot { display:flex; justify-content:space-between; gap:12px; padding:10px 16px; color:#8c9aa8; font-size:10px; letter-spacing:.06em; }
#terminal-stage { color:#e7a96c; }
#terminal-screen { flex:1; min-height:0; padding:8px 16px; }
#terminal-screen .xterm { height:100%; }
.terminal-foot { border-top:1px solid #26313d; }
#workbench[data-universe="true"] { border-color:#6376a2; }
#workbench[data-universe="true"] .terminal-led { background:#a4baff; box-shadow:0 0 12px #a4baff88; }
#workbench[data-universe="true"] #terminal-stage { color:#a4baff; }
@media(max-width:600px) { #workbench { width:98vw; max-width:98vw; height:90dvh; } #terminal-screen { padding:6px; } .terminal-meta span:last-child { display:none; } .terminal-foot { letter-spacing:0; } }
