mm-terminal{display:block;min-width:0;width:100%;height:100%;color-scheme:dark;container-type:inline-size}
.st-window{display:flex;flex-direction:column;height:100%;min-height:0;background:#1d1e20;color:#e5e6e7;font:400 clamp(10px,2.6cqw,15px)/1.44 ui-monospace,SFMono-Regular,Menlo,monospace}
.st-window [hidden]{display:none!important}
.st-title{display:flex;align-items:center;justify-content:center;position:relative;flex:none;min-height:clamp(17px,4.5cqw,30px);background:#323336;color:#e1e2e3;box-shadow:inset 0 -1px #0004;font:540 .94em/1.2 -apple-system,BlinkMacSystemFont,sans-serif}
.st-lights{position:absolute;left:1.6cqw;display:flex;gap:.65cqw}
.st-lights button,.br-frame .st-lights button{width:1.18cqw;height:1.18cqw;min-width:4px;min-height:4px;padding:0;border-radius:50%;background:#ed6a5d}
.st-lights button:nth-child(2),.br-frame .st-lights button:nth-child(2){background:#efba4b}.st-lights button:nth-child(3),.br-frame .st-lights button:nth-child(3){background:#61c355}
.st-scroll{min-height:0;flex:1;overflow:auto;padding:1.7cqw 2.7cqw 2cqw;overscroll-behavior:contain;scrollbar-width:thin}
.st-lines{margin:0;font:inherit;white-space:pre-wrap;overflow-wrap:anywhere;tab-size:2}
.st-lines:not(:empty){margin-bottom:.3em}
.st-command,.st-command label{display:flex;align-items:center;gap:.5em;margin:0;min-width:0}
.st-command label{flex:1;color:#92b7e1}
.st-command input,.br-frame .st-command input{width:100%;min-width:0;flex:1;border:0;background:transparent;font:inherit;color:#f2f2f3;caret-color:#b9cee8;outline:0}
.br-frame .st-command button,.st-command button{flex:none;padding:.05em .5em;font:inherit;color:#bcc3cb}
.st-actions{display:flex;align-items:center;gap:.45em;min-height:2em;padding:.12em 2.7cqw;border-top:1px solid #ffffff13;font-size:.82em;color:#babdc3}
.st-actions button,.br-frame .st-actions button{padding:.2em .5em;border-radius:.3em;color:inherit;font:inherit}
.st-actions button:hover{background:#ffffff12}.st-actions span{margin-left:auto;color:#959ca4}
mm-terminal[compact]{height:100%;min-height:100px}
mm-terminal[compact] .st-lights{display:none}
mm-terminal[compact] .st-title{justify-content:flex-start;padding-inline:2.7cqw;background:#26272b}
.mmp-pane[data-pane=terminal]{width:100%;height:100%}
.mmp-pane[data-pane=terminal] mm-terminal{height:100%;border-radius:0 0 18px 18px;overflow:hidden}
#tool-product .ios-sheet.terminal-sheet{padding:0;overflow:hidden;background:#1d1e20;min-height:0}
.terminal-sheet mm-terminal{height:clamp(155px,22vw,230px)}

mm-terminal[compact] .st-command{flex:none;padding:.34em 2.7cqw .38em;border-top:1px solid #ffffff0e;background:#212225}
mm-terminal[compact] .st-actions{flex:none}.mmp-pane[data-pane=terminal] .st-scroll{min-height:0}
