.tp-workspace{display:flex;flex-direction:column;min-width:0;height:calc(100dvh - 122px);min-height:490px;max-height:1400px}.tp-workspace .ex-workspace-head{flex:none;margin-bottom:20px}.tp-workspace .ex-workspace-head .ex-hero-art>.cc-icon{width:34px;height:34px}.tp-toolbar{display:flex;align-items:center;gap:10px;flex:none;margin-bottom:10px}.tp-toolbar>.ex-search{min-width:150px;max-width:420px;flex:1}.tp-toolbar select{width:100%;border:0;background:transparent;color:var(--ink);font-size:12px;min-width:0;outline:none;padding:10px 6px}.tp-toolbar select option{background:var(--panel)}.tp-workspace-state{font-size:10px;color:var(--muted);min-height:23px;flex:none}.tp-tabs{display:flex;overflow-x:auto;flex:none;gap:6px;border-bottom:1px solid var(--border);padding:0 0 9px}.tp-tabs:empty{display:none}.tp-tabs button{display:grid;grid-template-columns:8px minmax(0,1fr);gap:3px 9px;padding:11px 15px;border:1px solid var(--border);background:var(--panel);border-radius:10px 10px 4px 4px;color:var(--ink);font-size:11px;white-space:nowrap;min-width:145px;text-align:left;transition:border-color 150ms,background 150ms}.tp-tabs button[aria-selected=true]{border-color:var(--pw-accent);background:var(--pw-soft)}.tp-tabs button small{grid-column:2;font-size:9px;color:var(--muted)}.tp-status-dot{height:6px;width:6px;background:var(--muted);border-radius:50%;margin-top:4px}.tp-status-dot.connected{background:#92cfbd;box-shadow:0 0 9px #92cfbd4f}.tp-stage{flex:1;min-height:190px;min-width:0;position:relative;border:1px solid var(--border);border-radius:12px;background:#0c1018;overflow:hidden;margin-top:10px}#tp-terminal-surface{height:100%;min-width:0;padding:12px 10px}.tp-terminal-element{height:100%;width:100%;min-width:0}.tp-terminal-element .xterm{height:100%;padding:0}.tp-terminal-element .xterm-viewport{scrollbar-width:thin}.tp-detached{color:#dae3ef;max-width:450px;padding:24px;font-size:12px;line-height:1.7}.tp-detached strong{font-size:18px}.tp-detached p{color:#8c9aae}#tp-empty{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#dae3ef}#tp-empty[hidden]{display:none}#tp-empty>span>.cc-icon{width:38px;height:38px;color:#92cfbd;margin-bottom:15px}#tp-empty p{max-width:400px;color:#8c9aae}.tp-session-controls{display:flex;flex:none;gap:15px;justify-content:space-between;align-items:center;padding:13px 3px}.tp-session-controls>div:first-child{min-width:0;display:grid;gap:5px}.tp-session-controls strong{color:var(--ink);font-size:11px}.tp-session-controls span{color:var(--muted);font-size:10px;line-height:1.6;overflow-wrap:anywhere}.tp-session-controls small{color:var(--muted);font-size:9px}.tp-control-buttons{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}.tp-control-buttons button{font-size:10px;min-height:33px;white-space:nowrap}.tp-disconnect{color:#e7a49e!important}.tp-policy{color:var(--muted);font-size:9px;line-height:1.7;flex:none;margin:5px 0 0}.tp-review-target{display:flex;gap:13px;align-items:center;margin:10px 0 20px}.tp-review-target>.cc-icon{width:36px;height:36px;color:var(--pw-accent)}.tp-review-target strong{font-size:18px}.tp-review-target p{font-size:11px;color:var(--muted);margin:7px 0}.tp-review-dialog form{display:grid;gap:8px;margin-top:20px}.tp-review-dialog label{font-size:11px;color:var(--muted)}.tp-review-dialog input{width:100%;border:1px solid var(--border);border-radius:8px;padding:11px;color:var(--ink);background:var(--pw-soft)}.tp-confirm-label{padding:13px;border:1px solid var(--border);border-radius:8px;font-family:Consolas,monospace;overflow-wrap:anywhere;font-size:12px;line-height:1.6}.tp-review-dialog #tp-review-error{font-size:11px;color:#e7a49e}.tp-access-shortcut{display:inline-flex;gap:7px;align-items:center;margin-top:12px}.tp-access-shortcut .cc-icon{height:15px;width:15px}.tp-tabs button:focus-visible,.tp-toolbar select:focus-visible{outline:2px solid var(--pw-accent);outline-offset:3px}
@media(max-width:1100px){.tp-session-controls{align-items:flex-start;flex-direction:column;gap:10px}.tp-control-buttons{justify-content:flex-start}.tp-workspace{height:calc(100dvh - 115px)}}
@media(max-width:650px){.tp-workspace{height:calc(100dvh - 108px);min-height:540px}.tp-workspace .ex-workspace-head{margin-bottom:14px}.tp-toolbar{flex-wrap:wrap;gap:7px}.tp-toolbar>.ex-search{max-width:none;flex:1 0 100%}.tp-toolbar button{font-size:10px;min-height:35px}.tp-tabs button{padding:9px 12px;min-width:130px;font-size:10px}.tp-stage{border-radius:9px;margin-top:7px;min-height:215px}#tp-terminal-surface{padding:10px 7px}.tp-policy{font-size:8px}.tp-session-controls{padding:10px 1px}.tp-session-controls span{font-size:9px}.tp-session-controls small{font-size:8px}.tp-control-buttons{gap:5px}.tp-control-buttons button{font-size:9px;padding:7px 9px}.tp-review-target strong{font-size:16px}.tp-confirm-label{font-size:10px}}
:root[data-reduced-motion=true] .tp-tabs button{transition:none}
