.commandbar{display:flex;flex-direction:column;align-items:stretch;gap:2px;height:75px;min-height:75px;padding:3px 8px 4px;line-height:1.3;background:var(--panel-deep);font:12px Tahoma,"Noto Sans Thai",system-ui,sans-serif}
.command-hint{display:flex;align-items:center;gap:5px;min-width:0;height:17px;color:var(--muted)}
.command-hint #hint{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.command-hint .prompt-arrow{font-size:16px;line-height:1;color:var(--accent)}
.command-output{height:17px;min-height:17px;overflow:auto;scrollbar-width:thin;color:var(--text);font-variant-numeric:tabular-nums}
.command-output>div{white-space:pre-wrap;overflow-wrap:anywhere}
.command-output .command-error{color:#ffb0a8}
.command-entry{display:flex;align-items:center;gap:7px;height:27px;min-width:0}
.command-entry label{color:var(--accent);font:600 12px system-ui,sans-serif;white-space:nowrap}
.command-entry input{height:26px;padding:3px 7px;flex:1;min-width:0;border-radius:3px;background:var(--bg);font:12px ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}
.command-entry button{height:25px;min-width:28px;padding:0 5px;border:1px solid var(--line);font-size:16px;color:var(--muted)}
.commandbar.expanded{height:180px;min-height:180px}
.commandbar.expanded .command-output{height:122px;min-height:122px}
[data-theme="light"] .commandbar{background:#e1e7ec}
[data-theme="light"] .command-entry input{background:#f8fafb}
[data-theme="light"] .command-output .command-error{color:#b72822}
@media(max-width:520px){.commandbar{height:78px;min-height:78px}.command-entry label{font-size:11px}.command-entry input{font-size:11px}.commandbar.expanded{height:170px;min-height:170px}.commandbar.expanded .command-output{height:108px;min-height:108px}}
