:root {
  color-scheme: dark;
  --bg: #090b0a;
  --sidebar-bg: #0c0f0d;
  --panel: #111411;
  --panel-2: #151915;
  --panel-3: #1b201b;
  --line: #262c27;
  --line-strong: #39413a;
  --text: #f0eee8;
  --muted: #a09f99;
  --faint: #656b65;
  --accent: #e7bc68;
  --accent-strong: #f2d28f;
  --accent-wash: rgba(231, 188, 104, .1);
  --green: #75d89b;
  --green-wash: rgba(117, 216, 155, .09);
  --red: #ff8585;
  --amber: #efc26a;
  --blue: #89b6f8;
  --sidebar-width: 292px;
  --inspector-width: 320px;
  --head-height: 72px;
  --tabs-height: 48px;
  --radius: 10px;
  --font-display: Bahnschrift, "Aptos Display", "Segoe UI Variable Display", sans-serif;
  --font-body: Aptos, "Segoe UI Variable Text", "Segoe UI", sans-serif;
  --font-mono: "Cascadia Code", "SFMono-Regular", Consolas, monospace;
  font-family: var(--font-body);
}

* { box-sizing: border-box; }
html, body { height: 100%; background: var(--bg); }
body { min-width: 320px; margin: 0; overflow: hidden; color: var(--text); }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
code, kbd { font-family: var(--font-mono); }
[hidden] { display: none !important; }
::selection { background: rgba(231,188,104,.24); color: var(--text); }
* { scrollbar-width: thin; scrollbar-color: #343b35 transparent; }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.eyebrow { margin: 0; color: var(--accent); font: 9px/1 var(--font-mono); letter-spacing: .17em; }
.muted { color: var(--muted); }
.mobile-only { display: none !important; }

.login { min-height: 100vh; min-height: 100dvh; display: grid; place-items: center; padding: 24px; background: radial-gradient(circle at 50% -10%, rgba(231,188,104,.1), transparent 35%), radial-gradient(circle at 10% 100%, rgba(117,216,155,.04), transparent 35%), var(--bg); }
.login::before { content: ""; position: fixed; inset: 0; opacity: .3; pointer-events: none; background-image: radial-gradient(circle, rgba(255,255,255,.16) 1px, transparent 1px); background-size: 28px 28px; mask-image: linear-gradient(to bottom, black, transparent 75%); }
.login-card { position: relative; width: min(450px, 100%); padding: 42px; border: 1px solid var(--line-strong); border-radius: 18px; background: rgba(15,18,15,.95); box-shadow: 0 40px 120px rgba(0,0,0,.55); }
.login-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 56px; font-family: var(--font-display); font-weight: 800; letter-spacing: .14em; }
.login-card h1 { margin: 13px 0 15px; font: 700 36px/1.05 var(--font-display); letter-spacing: -.045em; }
.login-card .muted { margin: 0 0 28px; font-size: 14px; line-height: 1.6; }
.login-card .field { margin-bottom: 6px; }
.wide { width: 100%; justify-content: space-between; margin-top: 8px; }

.shell { height: 100vh; height: 100dvh; display: grid; grid-template-columns: var(--sidebar-width) 5px minmax(0,1fr); overflow: hidden; background: var(--bg); transition: grid-template-columns .18s ease; }
.shell.sidebar-collapsed { grid-template-columns: 68px 0 minmax(0,1fr); }
.sidebar { z-index: 30; min-width: 0; display: flex; flex-direction: column; overflow: hidden; border-right: 1px solid var(--line); background: var(--sidebar-bg); }
.sidebar-head { height: var(--head-height); display: flex; align-items: center; gap: 8px; flex: 0 0 auto; padding: 0 14px; border-bottom: 1px solid var(--line); }
.brand { min-width: 0; display: flex; align-items: center; gap: 11px; }
.brand-mark { width: 34px; height: 34px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 9px; background: var(--accent); color: #18140d; font: 900 18px var(--font-display); box-shadow: 0 0 28px rgba(231,188,104,.11); }
.brand-copy { min-width: 0; }
.brand-copy b, .brand-copy small { display: block; white-space: nowrap; }
.brand-copy b { font: 800 13px var(--font-display); letter-spacing: .16em; }
.brand-copy small { margin-top: 3px; color: var(--faint); font: 7px var(--font-mono); letter-spacing: .13em; }
.sidebar-head .quiet-icon { margin-left: auto; }
.quiet-icon { width: 34px; height: 34px; display: grid; place-items: center; flex: 0 0 auto; padding: 0; border: 1px solid transparent; border-radius: 8px; background: transparent; color: var(--muted); cursor: pointer; }
.quiet-icon:hover { border-color: var(--line); background: var(--panel-2); color: var(--text); }
.quiet-icon:disabled { opacity: .45; cursor: wait; }
.sidebar-body { min-height: 0; display: flex; flex-direction: column; flex: 1; padding: 14px 10px 8px; }
.workspace-picker { min-height: 54px; display: flex; align-items: center; gap: 10px; padding: 7px 9px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); cursor: pointer; }
.workspace-picker:hover { border-color: var(--line-strong); }
.workspace-glyph { width: 27px; height: 27px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 7px; background: var(--accent-wash); color: var(--accent); }
.workspace-picker-copy { min-width: 0; display: grid; flex: 1; }
.workspace-picker-copy small { color: var(--faint); font: 7px var(--font-mono); letter-spacing: .12em; }
.workspace-picker select { width: 100%; height: 22px; padding: 0 20px 0 0; overflow: hidden; border: 0; outline: 0; appearance: none; background: transparent; color: var(--text); font-size: 12px; text-overflow: ellipsis; cursor: pointer; }
.workspace-picker > span:last-child { color: var(--faint); font-size: 10px; }
.new-task { min-height: 40px; display: flex; align-items: center; gap: 9px; margin-top: 12px; padding: 0 11px; border: 1px solid var(--accent); border-radius: 9px; background: var(--accent); color: #19150d; font-size: 12px; font-weight: 750; cursor: pointer; }
.new-task:hover { background: var(--accent-strong); }
.new-task > span:first-child { font-size: 17px; font-weight: 400; }
.new-task kbd { margin-left: auto; color: rgba(25,21,13,.55); font-size: 8px; }
.thread-search { height: 36px; display: flex; align-items: center; gap: 8px; margin-top: 12px; padding: 0 10px; border: 1px solid transparent; border-radius: 8px; color: var(--faint); }
.thread-search:focus-within { border-color: var(--line); background: var(--panel); }
.thread-search input { min-width: 0; flex: 1; border: 0; outline: 0; background: transparent; color: var(--text); font-size: 11px; }
.thread-search input::placeholder { color: var(--faint); }
.thread-search kbd { padding: 2px 4px; border: 1px solid var(--line); border-radius: 4px; color: var(--faint); font-size: 7px; }
.thread-list { min-height: 0; flex: 1; margin-top: 8px; overflow: auto; }
.thread-section { margin-bottom: 18px; }
.thread-section > header { height: 30px; display: flex; align-items: center; padding: 0 8px; color: var(--faint); font: 8px var(--font-mono); letter-spacing: .12em; }
.thread-section > header i { margin-left: auto; font-style: normal; letter-spacing: 0; }
.thread { position: relative; width: 100%; min-height: 58px; display: grid; grid-template-columns: 8px minmax(0,1fr) auto; align-items: center; gap: 8px; padding: 8px 9px; border: 0; border-radius: 8px; background: transparent; text-align: left; cursor: pointer; }
.thread:hover { background: var(--panel); }
.thread.selected { background: var(--panel-2); box-shadow: inset 2px 0 var(--accent); }
.thread-state { width: 6px; height: 6px; border-radius: 50%; background: var(--faint); }
.thread-state.running, .thread-state.active { background: var(--green); box-shadow: 0 0 8px rgba(117,216,155,.5); }
.thread-state.failed, .thread-state.crashed, .thread-state.auth_error, .thread-state.protocol_error { background: var(--red); }
.thread-state.timeout, .thread-state.cancelled { background: var(--amber); }
.thread-copy { min-width: 0; }
.thread-copy b, .thread-copy small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.thread-copy b { color: #d9ddd8; font-size: 11px; font-weight: 550; }
.thread-copy small { margin-top: 5px; color: var(--faint); font: 8px var(--font-mono); }
.thread-time { align-self: end; padding-bottom: 3px; }
.mini-trace { display: flex; align-items: center; gap: 3px; }
.mini-trace i { width: 4px; height: 4px; border-radius: 50%; background: #444b45; }
.mini-trace i.done { background: var(--green); }
.mini-trace i.active { background: var(--accent); box-shadow: 0 0 5px var(--accent); }
.mini-trace i.failed { background: var(--red); }
.thread-empty { margin: 5px 8px; color: var(--faint); font-size: 10px; }
.sidebar-foot { min-height: 64px; display: flex; align-items: center; gap: 8px; flex: 0 0 auto; padding: 9px 13px; border-top: 1px solid var(--line); }
.system-state { min-width: 0; display: flex; align-items: center; gap: 9px; }
.system-state b, .system-state small { display: block; white-space: nowrap; }
.system-state b { font-size: 10px; }
.system-state small { margin-top: 3px; color: var(--faint); font-size: 8px; }
.pulse { width: 7px; height: 7px; flex: 0 0 auto; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(117,216,155,.06), 0 0 10px rgba(117,216,155,.55); }
.system-state.degraded .pulse { background: var(--amber); box-shadow: 0 0 0 4px rgba(239,194,106,.06), 0 0 10px rgba(239,194,106,.45); }
.system-state.offline .pulse { background: var(--red); box-shadow: 0 0 0 4px rgba(255,133,133,.06), 0 0 10px rgba(255,133,133,.45); }
.system-state.unknown .pulse { background: var(--faint); box-shadow: none; }
.sidebar-foot-actions { display: flex; margin-left: auto; }
.sidebar-foot-actions .quiet-icon { width: 29px; height: 29px; }
.unavailable { pointer-events: none; opacity: .38; }

.sidebar-collapsed .sidebar { align-items: center; }
.sidebar-collapsed .sidebar-head { width: 100%; justify-content: center; padding: 0; }
.sidebar-collapsed .brand-copy, .sidebar-collapsed .workspace-picker-copy, .sidebar-collapsed .workspace-picker > span:last-child, .sidebar-collapsed .new-task .sidebar-label, .sidebar-collapsed .new-task kbd, .sidebar-collapsed .thread-search, .sidebar-collapsed .thread-list, .sidebar-collapsed .sidebar-foot .sidebar-label { display: none; }
.sidebar-collapsed .sidebar-head .quiet-icon { position: absolute; left: 51px; width: 20px; background: var(--panel-2); transform: rotate(180deg); }
.sidebar-collapsed .sidebar-body { width: 100%; align-items: center; padding: 14px 8px; }
.sidebar-collapsed .workspace-picker { width: 44px; justify-content: center; padding: 0; }
.sidebar-collapsed .new-task { width: 44px; justify-content: center; padding: 0; }
.sidebar-collapsed .sidebar-foot { width: 100%; justify-content: center; padding: 9px 5px; }
.sidebar-collapsed .sidebar-foot-actions { margin: 0; }
.sidebar-collapsed .sidebar-foot-actions a { display: none; }
.sidebar-collapsed .system-state { display: none; }

.resize-handle { position: relative; z-index: 25; cursor: col-resize; touch-action: none; }
.resize-handle::after { content: ""; position: absolute; inset: 0 2px; background: transparent; transition: background .15s; }
.resize-handle:hover::after, body.resizing .resize-handle::after { background: var(--accent); }
body.resizing { cursor: col-resize; user-select: none; }

.workbench { min-width: 0; min-height: 0; display: flex; flex-direction: column; overflow: hidden; }
.workbench-head { height: var(--head-height); display: flex; align-items: center; gap: 13px; flex: 0 0 auto; padding: 0 16px 0 22px; border-bottom: 1px solid var(--line); background: rgba(9,11,10,.94); backdrop-filter: blur(16px); }
.context-title { min-width: 0; }
.context-line { display: flex; align-items: center; gap: 7px; margin-bottom: 5px; color: var(--faint); font: 8px var(--font-mono); letter-spacing: .12em; }
.context-line span:first-child { color: var(--accent); }
.title-line { min-width: 0; display: flex; align-items: center; gap: 10px; }
.title-line h1 { max-width: min(58vw, 780px); margin: 0; overflow: hidden; font: 650 15px var(--font-display); letter-spacing: -.015em; text-overflow: ellipsis; white-space: nowrap; }
.head-actions { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.live-agents { height: 32px; display: flex; align-items: center; gap: 5px; margin-right: 4px; padding: 0 9px; border: 1px solid var(--line); border-radius: 8px; color: var(--faint); font: 8px var(--font-mono); }
.live-agents i { width: 5px; height: 5px; border-radius: 50%; background: var(--faint); }
.live-agents b { color: var(--muted); }
.live-agents.active i { background: var(--green); box-shadow: 0 0 7px var(--green); }
.live-agents.active b { color: var(--green); }
.connection-error { flex: 0 0 auto; margin: 9px 12px 0; padding: 9px 12px; border: 1px solid rgba(255,133,133,.25); border-radius: 8px; background: rgba(255,133,133,.08); color: #ffc0c0; font-size: 11px; }
.workbench-body { min-height: 0; display: grid; grid-template-columns: minmax(0,1fr) 5px var(--inspector-width); flex: 1; overflow: hidden; transition: grid-template-columns .18s ease; }
.inspector-collapsed .workbench-body { grid-template-columns: minmax(0,1fr) 0 0; }
.inspector-collapsed .inspector, .inspector-collapsed .inspector-resize { visibility: hidden; overflow: hidden; }

.stage { min-width: 0; min-height: 0; display: flex; flex-direction: column; overflow: hidden; }
.stage-tabs { height: var(--tabs-height); display: flex; align-items: stretch; gap: 2px; flex: 0 0 auto; padding: 0 14px; border-bottom: 1px solid var(--line); background: #0d100e; }
.stage-tab { position: relative; min-width: 82px; display: flex; align-items: center; justify-content: center; gap: 7px; padding: 0 13px; border: 0; background: transparent; color: var(--faint); font-size: 10px; cursor: pointer; }
.stage-tab span { font: 12px var(--font-mono); }
.stage-tab:hover { color: var(--text); }
.stage-tab.active { color: var(--text); }
.stage-tab.active::after { content: ""; position: absolute; right: 11px; bottom: -1px; left: 11px; height: 2px; background: var(--accent); }
.tab-panel { min-height: 0; display: none; flex: 1; }
.tab-panel.active { display: flex; }
.chat-panel { flex-direction: column; background: radial-gradient(circle at 50% 20%, rgba(231,188,104,.025), transparent 35%), var(--bg); }
.chat-stream { min-height: 0; flex: 1; overflow-y: auto; overscroll-behavior: contain; }
.empty-workspace { width: min(680px, calc(100% - 42px)); min-height: 100%; display: flex; align-items: center; flex-direction: column; justify-content: center; margin: auto; padding: 44px 0 80px; text-align: center; }
.empty-orbit { position: relative; width: 112px; height: 112px; display: grid; place-items: center; margin-bottom: 34px; border: 1px solid var(--line); border-radius: 50%; }
.empty-orbit::before, .empty-orbit::after { content: ""; position: absolute; inset: 16px; border: 1px dashed rgba(231,188,104,.2); border-radius: 50%; }
.empty-orbit::after { inset: 35px; border-style: solid; background: var(--accent-wash); }
.empty-orbit span { position: relative; z-index: 2; color: var(--accent); font: 800 22px var(--font-display); }
.empty-orbit i { position: absolute; width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); }
.empty-orbit i:nth-of-type(1) { top: 12px; left: 28px; }
.empty-orbit i:nth-of-type(2) { right: 2px; bottom: 38px; background: var(--accent); }
.empty-orbit i:nth-of-type(3) { bottom: 3px; left: 28px; background: var(--blue); }
.empty-workspace h2 { margin: 13px 0 14px; font: 650 clamp(28px,4vw,43px)/1.02 var(--font-display); letter-spacing: -.05em; }
.empty-workspace > p:not(.eyebrow) { max-width: 570px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.65; }
.workspace-vitals { display: flex; gap: 28px; margin-top: 30px; color: var(--faint); font: 9px var(--font-mono); text-transform: uppercase; }
.workspace-vitals b { margin-right: 4px; color: var(--text); font-size: 13px; }
.conversation { width: min(880px, calc(100% - 44px)); margin: 0 auto; padding: 34px 0 80px; }
.message { display: grid; grid-template-columns: 34px minmax(0,1fr); gap: 14px; margin-bottom: 30px; }
.message-avatar { width: 32px; height: 32px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 9px; background: var(--panel-2); color: var(--muted); font: 700 8px var(--font-mono); }
.mayor-avatar { border-color: rgba(231,188,104,.28); background: var(--accent-wash); color: var(--accent); font-size: 13px; }
.message-body { min-width: 0; padding-top: 5px; }
.message-body > header { min-height: 24px; display: flex; align-items: center; gap: 10px; }
.message-body > header b { font-size: 11px; }
.message-body > header time { color: var(--faint); font: 8px var(--font-mono); }
.message-body > header .status { margin-left: auto; }
.message-text { margin-top: 9px; color: #d9ddd8; font-size: 13px; line-height: 1.7; white-space: pre-wrap; overflow-wrap: anywhere; }
.user-message .message-text { max-width: 720px; }
.execution-card { margin-top: 13px; overflow: hidden; border: 1px solid var(--line); border-radius: 11px; background: rgba(17,20,17,.76); }
.execution-head { height: 39px; display: flex; align-items: center; padding: 0 13px; border-bottom: 1px solid var(--line); color: var(--faint); font: 8px var(--font-mono); letter-spacing: .1em; }
.execution-head span { display: flex; align-items: center; gap: 8px; }
.execution-head button { margin-left: auto; border: 0; background: transparent; color: var(--muted); font-size: 9px; cursor: pointer; }
.execution-head button:hover { color: var(--accent); }
.activity-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); animation: breathe 1.7s ease-in-out infinite; }
.trace-flow { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); margin: 0; padding: 15px; list-style: none; }
.trace-step { position: relative; min-width: 0; display: grid; grid-template-columns: 20px minmax(0,1fr); gap: 7px; align-items: start; color: var(--faint); }
.trace-step:not(:first-child)::before { content: ""; position: absolute; top: 9px; right: calc(100% - 1px); width: calc(100% - 19px); height: 1px; background: var(--line-strong); }
.trace-index { position: relative; z-index: 1; width: 20px; height: 20px; display: grid; place-items: center; border: 1px solid var(--line-strong); border-radius: 50%; background: var(--panel); font: 7px var(--font-mono); }
.trace-step b, .trace-step small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.trace-step b { color: var(--muted); font: 8px var(--font-mono); }
.trace-step small { margin-top: 4px; color: var(--faint); font: 7px var(--font-mono); }
.trace-step.done .trace-index { border-color: rgba(117,216,155,.45); color: var(--green); }
.trace-step.done:not(:first-child)::before { background: rgba(117,216,155,.32); }
.trace-step.active .trace-index { border-color: var(--accent); background: var(--accent-wash); color: var(--accent); box-shadow: 0 0 0 4px rgba(231,188,104,.06); }
.trace-step.active b { color: var(--accent); }
.trace-step.failed .trace-index, .trace-step.failed b { border-color: rgba(255,133,133,.5); color: var(--red); }
.event-stream { margin: 10px 0 0 13px; padding: 5px 0 5px 18px; border-left: 1px solid var(--line); }
.event-stream > div { min-height: 29px; display: grid; grid-template-columns: 16px minmax(0,1fr) auto; align-items: center; gap: 8px; color: var(--muted); }
.event-stream > div > span { color: var(--accent); font-family: var(--font-mono); }
.event-stream b { overflow: hidden; font: 9px var(--font-mono); text-overflow: ellipsis; white-space: nowrap; }
.event-stream small { color: var(--faint); font: 7px var(--font-mono); }
.agent-result { margin-top: 18px; padding: 17px 18px; border-left: 2px solid var(--accent); background: linear-gradient(90deg, rgba(231,188,104,.055), transparent 65%); }
.agent-result .message-text { margin-top: 10px; }
.thinking { display: flex; align-items: center; gap: 4px; margin-top: 17px; color: var(--faint); font-size: 10px; }
.thinking i { width: 4px; height: 4px; border-radius: 50%; background: var(--muted); animation: thinking 1.2s infinite; }
.thinking i:nth-child(2) { animation-delay: .15s; }
.thinking i:nth-child(3) { animation-delay: .3s; }
.thinking span { margin-left: 6px; }
.quiet-note { color: var(--faint); font-size: 10px; }
.cancel-action { margin-top: 18px; padding: 7px 10px; border: 1px solid rgba(255,133,133,.25); border-radius: 7px; background: rgba(255,133,133,.05); color: var(--red); font-size: 9px; cursor: pointer; }
.composer { flex: 0 0 auto; padding: 0 22px max(16px, env(safe-area-inset-bottom)); background: linear-gradient(to top, var(--bg) 75%, transparent); }
.composer-box { width: min(900px, 100%); margin: 0 auto; overflow: hidden; border: 1px solid var(--line-strong); border-radius: 13px; background: var(--panel); box-shadow: 0 18px 55px rgba(0,0,0,.32); transition: border-color .15s, box-shadow .15s; }
.composer-box:focus-within { border-color: rgba(231,188,104,.52); box-shadow: 0 18px 55px rgba(0,0,0,.38), 0 0 0 3px rgba(231,188,104,.05); }
.prompt-label { display: block; }
.prompt-label textarea { width: 100%; min-height: 72px; max-height: 220px; padding: 15px 16px 7px; resize: vertical; border: 0; outline: 0; background: transparent; color: var(--text); font-size: 12px; line-height: 1.55; }
.prompt-label textarea::placeholder { color: #626862; }
.composer-controls { min-height: 44px; display: flex; align-items: flex-end; gap: 9px; padding: 5px 7px 7px 11px; }
.composer-options { min-width: 0; display: flex; align-items: center; gap: 5px; flex: 1; overflow-x: auto; }
.compact-field { height: 29px; display: flex; align-items: center; gap: 5px; flex: 0 0 auto; padding: 0 7px; border: 1px solid var(--line); border-radius: 7px; color: var(--faint); }
.compact-field > span { font: 7px var(--font-mono); text-transform: uppercase; }
.compact-field select { width: 78px; height: 27px; padding: 0 3px; border: 0; outline: 0; background: var(--panel); color: var(--muted); font-size: 9px; }
.compact-field:first-child select { width: 110px; }
.write-toggle { height: 29px; display: flex; align-items: center; gap: 5px; flex: 0 0 auto; padding: 0 8px; border: 1px solid var(--line); border-radius: 7px; color: var(--faint); cursor: pointer; }
.write-toggle input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.write-toggle b { font-size: 8px; font-weight: 500; }
.write-toggle:has(input:checked) { border-color: rgba(231,188,104,.35); background: var(--accent-wash); color: var(--accent); }
.timeout-field { height: 29px; display: flex; align-items: center; gap: 3px; flex: 0 0 auto; padding: 0 5px; border: 1px solid var(--line); border-radius: 7px; color: var(--faint); }
.timeout-field input { width: 27px; border: 0; outline: 0; background: transparent; color: var(--muted); font-size: 8px; }
.send-button { width: 32px; height: 32px; display: grid; place-items: center; flex: 0 0 auto; border: 0; border-radius: 8px; background: var(--accent); color: #17130c; font-size: 18px; font-weight: 800; cursor: pointer; }
.send-button:hover { background: var(--accent-strong); }
.send-button:disabled { opacity: .45; cursor: wait; }
.composer-foot { width: min(900px, 100%); min-height: 19px; display: flex; justify-content: space-between; margin: 0 auto; color: var(--faint); font-size: 8px; }
.composer-foot span { padding-top: 4px; }
.form-error { min-height: 12px; margin: 4px 0 0; color: var(--red); font-size: 9px; }

.graph-panel { min-width: 0; flex-direction: column; overflow: hidden; background: #080a09; }
.graph-toolbar { min-height: 46px; display: flex; align-items: center; gap: 14px; flex: 0 0 auto; padding: 0 14px; border-bottom: 1px solid var(--line); }
.segmented { height: 28px; display: flex; padding: 2px; border: 1px solid var(--line); border-radius: 7px; background: var(--panel); }
.segmented button { padding: 0 9px; border: 0; border-radius: 5px; background: transparent; color: var(--faint); font-size: 8px; cursor: pointer; }
.segmented button.active { background: var(--panel-3); color: var(--text); }
.graph-legend { display: flex; gap: 12px; margin-left: auto; color: var(--faint); font: 7px var(--font-mono); text-transform: uppercase; }
.graph-legend span { display: flex; align-items: center; gap: 5px; }
.graph-legend i { width: 5px; height: 5px; border-radius: 50%; background: var(--faint); }
.graph-legend i.done { background: var(--green); }
.graph-legend i.active { background: var(--accent); box-shadow: 0 0 6px var(--accent); }
.graph-canvas { min-width: 0; min-height: 0; flex: 1; overflow: auto; outline: 0; background-color: #080a09; background-image: radial-gradient(circle, rgba(210,216,210,.14) 1px, transparent 1px), linear-gradient(rgba(255,255,255,.012) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.012) 1px, transparent 1px); background-size: 20px 20px, 100px 100px, 100px 100px; }
.graph-frame { position: relative; min-height: 100%; }
.graph-world { position: relative; width: 1060px; height: 580px; min-height: 100%; }
.graph-world { transform-origin: 0 0; }
.graph-world > svg { position: absolute; inset: 0; width: 1060px; height: 580px; overflow: visible; }
.graph-world marker path { fill: #434a44; }
.graph-wire { fill: none; stroke: #343b35; stroke-width: 1.2; }
.graph-wire.done { stroke: rgba(117,216,155,.43); }
.graph-wire.active { stroke: var(--accent); stroke-dasharray: 7 5; animation: wire-flow 1.25s linear infinite; filter: drop-shadow(0 0 3px rgba(231,188,104,.4)); }
.graph-node { position: absolute; width: 154px; height: 74px; display: block; padding: 9px 11px; border: 1px solid var(--line-strong); border-radius: 9px; background: rgba(17,20,17,.94); box-shadow: 0 10px 25px rgba(0,0,0,.25); text-align: left; cursor: pointer; }
.graph-node:hover, .graph-node.selected { border-color: rgba(231,188,104,.58); transform: translateY(-1px); }
.graph-node.selected { box-shadow: 0 0 0 3px rgba(231,188,104,.07), 0 14px 30px rgba(0,0,0,.32); }
.graph-node .node-top { display: flex; align-items: center; justify-content: space-between; }
.graph-node .node-top small { color: var(--faint); font: 7px var(--font-mono); letter-spacing: .12em; }
.graph-node .node-top i { width: 5px; height: 5px; border-radius: 50%; background: var(--faint); }
.graph-node > b, .graph-node > span:last-child { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.graph-node > b { margin-top: 8px; color: #e2e4df; font-size: 11px; }
.graph-node > span:last-child { margin-top: 4px; color: var(--faint); font: 7px var(--font-mono); }
.graph-node.done { border-color: rgba(117,216,155,.27); }
.graph-node.done .node-top i { background: var(--green); }
.graph-node.active { border-color: rgba(231,188,104,.55); background: linear-gradient(135deg, rgba(231,188,104,.09), rgba(17,20,17,.96)); box-shadow: 0 0 26px rgba(231,188,104,.07); }
.graph-node.active .node-top i { background: var(--accent); box-shadow: 0 0 7px var(--accent); animation: breathe 1.7s infinite; }
.graph-node.failed { border-color: rgba(255,133,133,.48); }
.graph-node.failed .node-top i { background: var(--red); }
.graph-node.observed { border-style: dashed; opacity: .76; }
.node-port { position: absolute; top: 32px; width: 7px; height: 7px; border: 1px solid var(--line-strong); border-radius: 50%; background: #090b0a; }
.node-port.input { left: -4px; }
.node-port.output { right: -4px; }
.graph-caption { position: absolute; left: 18px; bottom: 18px; display: flex; align-items: center; gap: 10px; padding: 8px 11px; border: 1px solid var(--line); border-radius: 8px; background: rgba(11,14,12,.9); }
.graph-caption b, .graph-caption small { display: block; }
.graph-caption b { font-size: 9px; }
.graph-caption small { margin-top: 3px; color: var(--faint); font: 6px var(--font-mono); letter-spacing: .1em; }
.graph-minimap { position: absolute; right: 18px; bottom: 18px; width: 130px; height: 72px; overflow: hidden; border: 1px solid var(--line); border-radius: 7px; background: rgba(11,14,12,.92); }
.graph-minimap i { position: absolute; width: 9px; height: 5px; border-radius: 2px; background: #424942; transform: translate(-50%,-50%); }
.graph-minimap i.done { background: var(--green); }
.graph-minimap i.active { background: var(--accent); }

.utility-panel { display: none; overflow-y: auto; padding: 30px; background: var(--bg); }
.utility-panel.active { display: block; }
.utility-panel > div { width: min(900px, 100%); margin: 0 auto; }
.utility-head { display: flex; align-items: flex-start; gap: 20px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.utility-head h2 { margin: 8px 0 6px; font: 650 23px var(--font-display); letter-spacing: -.035em; }
.utility-head p:last-child { max-width: 670px; margin: 0; overflow: hidden; color: var(--faint); font: 8px var(--font-mono); text-overflow: ellipsis; white-space: nowrap; }
.utility-head > .status, .diff-total { margin-left: auto; }
.repository-card { margin-top: 22px; overflow: hidden; border: 1px solid var(--line); border-radius: 11px; background: var(--panel); }
.repo-tree { height: 49px; display: flex; align-items: center; gap: 9px; padding: 0 14px; border-bottom: 1px solid var(--line); }
.repo-tree > span { color: var(--faint); }
.repo-tree > i { color: var(--accent); font-style: normal; }
.repo-tree b { font-size: 11px; }
.repo-tree small { margin-left: auto; color: var(--faint); font: 8px var(--font-mono); }
.repo-focus { display: flex; align-items: flex-start; gap: 15px; padding: 22px; }
.repo-icon { width: 42px; height: 42px; display: grid; place-items: center; flex: 0 0 auto; border: 1px solid var(--line); border-radius: 9px; color: var(--blue); }
.repo-focus h3 { margin: 7px 0 5px; font-size: 13px; }
.repo-focus p:last-child { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.5; }
.boundary-note { display: flex; gap: 12px; margin-top: 15px; padding: 15px; border: 1px dashed var(--line-strong); border-radius: 9px; color: var(--muted); }
.boundary-note > span { width: 21px; height: 21px; display: grid; place-items: center; flex: 0 0 auto; border: 1px solid var(--line-strong); border-radius: 50%; font: 10px var(--font-mono); }
.boundary-note b { font-size: 10px; }
.boundary-note p { margin: 6px 0 0; color: var(--faint); font-size: 9px; line-height: 1.55; }
.diff-total { color: var(--text); font: 700 28px var(--font-display); text-align: right; }
.diff-total small { display: block; margin-top: 4px; color: var(--faint); font: 7px var(--font-mono); letter-spacing: .12em; }
.diff-summary { display: flex; align-items: center; gap: 16px; margin-top: 22px; padding: 21px; border: 1px solid var(--line); border-radius: 11px; background: var(--panel); }
.diff-summary > span { width: 42px; height: 42px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 9px; background: var(--green-wash); color: var(--green); font: 20px var(--font-mono); }
.diff-summary.dirty > span { background: var(--accent-wash); color: var(--accent); }
.diff-summary h3 { margin: 0 0 6px; font-size: 12px; }
.diff-summary p { margin: 0; color: var(--faint); font-size: 9px; line-height: 1.55; }
.commit-row { display: grid; grid-template-columns: 90px 70px minmax(0,1fr) auto; align-items: center; gap: 12px; margin-top: 13px; padding: 14px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 9px; }
.commit-row > span { color: var(--faint); font: 7px var(--font-mono); }
.commit-row code { color: var(--accent); font-size: 8px; }
.commit-row b { overflow: hidden; font-weight: 500; text-overflow: ellipsis; white-space: nowrap; }
.commit-row time { color: var(--faint); }
.utility-empty { min-height: 300px; display: grid; place-items: center; color: var(--faint); font-size: 11px; }

.inspector { min-width: 0; min-height: 0; display: flex; flex-direction: column; overflow: hidden; border-left: 1px solid var(--line); background: var(--sidebar-bg); }
.inspector-head { min-height: var(--tabs-height); display: flex; align-items: center; gap: 10px; flex: 0 0 auto; padding: 0 10px 0 15px; border-bottom: 1px solid var(--line); }
.inspector-head h2 { margin: 5px 0 0; font-size: 10px; }
.inspector-head .quiet-icon { margin-left: auto; width: 28px; height: 28px; }
.inspector-body { min-height: 0; flex: 1; overflow-y: auto; padding: 15px; }
.inspector-identity { display: flex; align-items: flex-start; gap: 11px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.identity-mark { width: 38px; height: 38px; display: grid; place-items: center; flex: 0 0 auto; border: 1px solid var(--line-strong); border-radius: 9px; background: var(--panel-2); color: var(--muted); font: 700 12px var(--font-mono); }
.identity-mark.running, .identity-mark.active { border-color: rgba(117,216,155,.35); background: var(--green-wash); color: var(--green); }
.inspector-identity > div { min-width: 0; }
.inspector-identity h3 { margin: 6px 0 5px; overflow: hidden; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.inspector-identity code { display: block; overflow: hidden; color: var(--faint); font-size: 7px; text-overflow: ellipsis; white-space: nowrap; }
.inspector-node { margin-bottom: 13px; padding: 13px; border: 1px solid rgba(231,188,104,.24); border-radius: 9px; background: var(--accent-wash); }
.inspector-node > div { display: flex; align-items: center; gap: 8px; margin-top: 9px; }
.inspector-node h3 { margin: 0; font-size: 11px; }
.node-state { width: 6px; height: 6px; border-radius: 50%; background: var(--faint); }
.node-state.done { background: var(--green); }
.node-state.active { background: var(--accent); box-shadow: 0 0 6px var(--accent); }
.node-state.failed { background: var(--red); }
.inspector-node > p { margin: 7px 0; color: var(--muted); font-size: 9px; }
.inspector-node > small { color: var(--faint); font: 7px var(--font-mono); text-transform: uppercase; }
.inspector-section { padding: 15px 0; border-bottom: 1px solid var(--line); }
.inspector-section h3 { display: flex; margin: 0 0 11px; color: var(--faint); font: 7px var(--font-mono); letter-spacing: .12em; text-transform: uppercase; }
.inspector-section h3 span { margin-left: auto; }
.inspector-section dl { display: grid; gap: 8px; margin: 0; }
.network-widget { margin-bottom: 4px; padding: 14px; overflow: hidden; border: 1px solid var(--line); border-radius: 11px; background: linear-gradient(145deg, rgba(137,182,248,.055), transparent 55%), var(--panel); }
.network-widget > header { display: flex; align-items: flex-start; gap: 12px; }
.network-widget > header > div { min-width: 0; flex: 1; }
.network-widget h3 { margin: 7px 0 0; color: var(--text); font-size: 11px; font-weight: 600; }
.network-widget > header strong { color: var(--green); font: 650 22px/1 var(--font-display); letter-spacing: -.04em; }
.network-widget.degraded > header strong { color: var(--amber); }
.network-widget.offline > header strong { color: var(--red); }
.network-widget.unknown > header strong { color: var(--faint); }
.network-timeline { height: 38px; display: flex; align-items: flex-end; gap: 2px; margin-top: 16px; padding: 7px 0 5px; border-top: 1px solid rgba(255,255,255,.035); border-bottom: 1px solid rgba(255,255,255,.035); background-image: linear-gradient(to bottom, transparent 49%, rgba(255,255,255,.025) 50%, transparent 51%); }
.network-timeline i { min-width: 1px; height: 28%; flex: 1; border-radius: 2px 2px 1px 1px; background: #353b36; }
.network-timeline i.stable { height: 54%; background: var(--green); opacity: .76; }
.network-timeline i.degraded { height: 76%; background: var(--amber); }
.network-timeline i.offline { height: 100%; background: var(--red); }
.network-metrics { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; margin-top: 12px; }
.network-metrics div { min-width: 0; }
.network-metrics span, .network-metrics b { display: block; }
.network-metrics span { color: var(--faint); font-size: 7px; text-transform: uppercase; }
.network-metrics b { margin-top: 4px; overflow: hidden; color: var(--muted); font: 8px var(--font-mono); text-overflow: ellipsis; white-space: nowrap; }
.network-path { display: flex; align-items: center; gap: 6px; margin-top: 13px; color: var(--faint); font: 7px var(--font-mono); }
.network-path span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.network-path span::before { content: ""; width: 4px; height: 4px; display: inline-block; margin-right: 5px; border-radius: 50%; background: var(--faint); }
.network-path span.connected::before, .network-path span.online::before { background: var(--green); box-shadow: 0 0 5px var(--green); }
.network-path span.disconnected::before, .network-path span.offline::before { background: var(--red); }
.network-path i { font-style: normal; }
.network-incident { display: grid; grid-template-columns: 1fr auto; gap: 4px 8px; margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--line); }
.network-incident span { color: var(--faint); font-size: 7px; text-transform: uppercase; }
.network-incident b { color: var(--muted); font-size: 8px; font-weight: 500; }
.network-incident small { grid-column: 1 / -1; color: var(--red); font: 7px var(--font-mono); }
.network-incident.clear b { color: var(--green); }
.definition { display: grid; grid-template-columns: 88px minmax(0,1fr); gap: 10px; align-items: baseline; }
.definition dt { color: var(--faint); font-size: 8px; }
.definition dd { margin: 0; overflow: hidden; color: var(--muted); font: 8px var(--font-mono); text-align: right; text-overflow: ellipsis; white-space: nowrap; }
.definition.good dd { color: var(--green); }
.definition.warn dd { color: var(--amber); }
.definition.status-value.running dd, .definition.status-value.active dd { color: var(--green); }
.definition.status-value.failed dd, .definition.status-value.crashed dd { color: var(--red); }
.fleet-list { display: grid; gap: 9px; }
.fleet-list > div { display: grid; grid-template-columns: 28px minmax(0,1fr) 6px; align-items: center; gap: 8px; }
.fleet-list > div > span { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 7px; background: var(--panel-2); color: var(--blue); font: 7px var(--font-mono); }
.fleet-list p { min-width: 0; margin: 0; }
.fleet-list b, .fleet-list small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fleet-list b { color: var(--muted); font-size: 8px; }
.fleet-list small { margin-top: 3px; color: var(--faint); font: 6px var(--font-mono); }
.fleet-list i { width: 5px; height: 5px; border-radius: 50%; background: var(--green); box-shadow: 0 0 5px var(--green); }
.inspector-empty { margin: 0; color: var(--faint); font-size: 9px; }
.blockers p { margin: 6px 0; padding: 8px; border-left: 2px solid var(--red); background: rgba(255,133,133,.05); color: var(--muted); font-size: 8px; }

.field { display: grid; gap: 7px; }
.field > span { color: var(--muted); font-size: 10px; }
.field input { width: 100%; height: 42px; padding: 0 12px; border: 1px solid var(--line); border-radius: 9px; outline: 0; background: var(--panel-2); color: var(--text); }
.field input:focus { border-color: rgba(231,188,104,.62); box-shadow: 0 0 0 3px rgba(231,188,104,.07); }
.button { min-height: 42px; display: inline-flex; align-items: center; gap: 12px; padding: 0 15px; border: 1px solid var(--line); border-radius: 9px; background: var(--panel-2); color: var(--text); font-size: 11px; font-weight: 650; cursor: pointer; }
.button.primary { border-color: var(--accent); background: var(--accent); color: #17130c; }
.status { display: inline-flex; align-items: center; gap: 5px; width: max-content; padding: 3px 6px; border-radius: 6px; background: rgba(140,149,141,.08); color: var(--muted); font: 7px var(--font-mono); text-transform: uppercase; }
.status::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: currentColor; }
.status.running, .status.active { background: var(--green-wash); color: var(--green); }
.status.success, .status.completed, .status.done { color: var(--green); }
.status.failed, .status.crashed, .status.auth_error, .status.protocol_error { color: var(--red); }
.status.timeout, .status.cancelled, .status.stale { color: var(--amber); }
.status.ready { color: var(--blue); }
.toast { position: fixed; right: 18px; bottom: 18px; z-index: 100; max-width: 360px; padding: 10px 13px; border: 1px solid var(--line-strong); border-radius: 9px; background: var(--panel-3); color: var(--text); font-size: 10px; opacity: 0; transform: translateY(7px); pointer-events: none; transition: .18s; box-shadow: 0 15px 50px rgba(0,0,0,.4); }
.toast.show { opacity: 1; transform: translateY(0); }
.mobile-scrim, .mobile-tabs { display: none; }

button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, [tabindex]:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
@keyframes thinking { 0%,100% { opacity: .25; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-2px); } }
@keyframes breathe { 50% { opacity: .5; box-shadow: 0 0 13px currentColor; } }
@keyframes wire-flow { to { stroke-dashoffset: -12; } }

@media (max-width: 1180px) and (min-width: 961px) {
  :root { --sidebar-width: 250px; --inspector-width: 275px; }
  .live-agents span { display: none; }
  .compact-field > span, .write-toggle b { display: none; }
  .compact-field:first-child select { width: 92px; }
}

@media (max-width: 960px) {
  :root { --head-height: 61px; --tabs-height: 43px; }
  body { overflow: hidden; }
  .desktop-only { display: none !important; }
  .mobile-only { display: grid !important; }
  .shell, .shell.sidebar-collapsed { display: block; height: 100dvh; }
  .sidebar { position: fixed; inset: 0 auto 0 0; z-index: 80; width: min(330px, calc(100vw - 44px)); align-items: stretch !important; transform: translateX(-102%); transition: transform .2s ease; box-shadow: 28px 0 70px rgba(0,0,0,.55); }
  body.sidebar-open .sidebar { transform: translateX(0); }
  .sidebar-collapsed .brand-copy, .sidebar-collapsed .workspace-picker-copy, .sidebar-collapsed .workspace-picker > span:last-child, .sidebar-collapsed .new-task .sidebar-label, .sidebar-collapsed .new-task kbd, .sidebar-collapsed .thread-search, .sidebar-collapsed .thread-list, .sidebar-collapsed .sidebar-foot .sidebar-label { display: initial; }
  .sidebar-collapsed .sidebar-head { width: auto; justify-content: flex-start; padding: 0 14px; }
  .sidebar-collapsed .sidebar-body { width: auto; align-items: stretch; padding: 14px 10px 8px; }
  .sidebar-collapsed .workspace-picker, .sidebar-collapsed .new-task { width: auto; justify-content: flex-start; padding: 0 11px; }
  .sidebar-collapsed .sidebar-foot { width: auto; justify-content: flex-start; padding: 9px 13px; }
  .sidebar-collapsed .sidebar-foot-actions { display: flex; margin-left: auto; }
  .sidebar-collapsed .sidebar-foot-actions a, .sidebar-collapsed .system-state { display: flex; }
  .sidebar-head .mobile-only { margin-left: auto; }
  .mobile-scrim { position: fixed; inset: 0; z-index: 70; background: rgba(0,0,0,.62); backdrop-filter: blur(2px); }
  body.sidebar-open .mobile-scrim, body.inspector-open .mobile-scrim { display: block; }
  .sidebar-resize, .inspector-resize { display: none; }
  .workbench { height: 100dvh; }
  .workbench-head { padding: 0 9px; }
  .context-line { display: none; }
  .title-line h1 { max-width: calc(100vw - 205px); font-size: 13px; }
  .title-line .status { display: none; }
  .live-agents { display: none; }
  .workbench-body, .inspector-collapsed .workbench-body { display: block; min-height: 0; flex: 1; overflow: hidden; }
  .stage { height: 100%; padding-bottom: calc(56px + env(safe-area-inset-bottom)); }
  .stage-tabs { display: none; }
  .inspector, .inspector-collapsed .inspector { position: fixed; right: 0; bottom: 0; left: 0; z-index: 90; width: 100%; max-height: min(74dvh, 680px); display: flex; visibility: visible; border: 1px solid var(--line-strong); border-radius: 18px 18px 0 0; transform: translateY(103%); transition: transform .22s ease; box-shadow: 0 -30px 80px rgba(0,0,0,.55); }
  body.inspector-open .inspector { transform: translateY(0); }
  .inspector-head { min-height: 54px; }
  .inspector-body { padding-bottom: calc(20px + env(safe-area-inset-bottom)); }
  .mobile-tabs { position: fixed; right: 0; bottom: 0; left: 0; z-index: 50; height: calc(56px + env(safe-area-inset-bottom)); display: grid; grid-template-columns: repeat(4,1fr); padding-bottom: env(safe-area-inset-bottom); border-top: 1px solid var(--line); background: rgba(12,15,13,.96); backdrop-filter: blur(16px); }
  .mobile-tabs button { display: grid; place-items: center; align-content: center; gap: 3px; border: 0; background: transparent; color: var(--faint); font-size: 8px; }
  .mobile-tabs button span { font: 13px var(--font-mono); }
  .mobile-tabs button.active { color: var(--accent); }
  .chat-stream { padding-bottom: 0; }
  .empty-workspace { padding-bottom: 45px; }
  .empty-workspace h2 { font-size: 30px; }
  .workspace-vitals { gap: 14px; }
  .conversation { width: calc(100% - 24px); padding-top: 22px; }
  .message { grid-template-columns: 29px minmax(0,1fr); gap: 9px; }
  .message-avatar { width: 28px; height: 28px; }
  .trace-flow { min-width: 430px; }
  .execution-card { overflow-x: auto; }
  .composer { padding: 0 8px 8px; }
  .composer-box { border-radius: 12px; }
  .prompt-label textarea { min-height: 62px; max-height: 145px; }
  .composer-controls { padding-left: 7px; }
  .compact-field > span, .write-toggle b { display: none; }
  .compact-field select { width: 67px; }
  .compact-field:first-child select { width: 88px; }
  .composer-foot { display: none; }
  .graph-toolbar { padding: 0 8px; }
  .graph-legend { display: none; }
  .utility-panel { padding: 20px 14px; }
  .utility-head h2 { font-size: 19px; }
  .commit-row { grid-template-columns: 70px 55px minmax(0,1fr); }
  .commit-row time { display: none; }
  .toast { right: 10px; bottom: calc(66px + env(safe-area-inset-bottom)); left: 10px; max-width: none; }
}

@media (max-width: 470px) {
  .login-card { padding: 30px 24px; }
  .login-brand { margin-bottom: 42px; }
  .login-card h1 { font-size: 31px; }
  .head-actions .quiet-icon:first-of-type { display: none; }
  .title-line h1 { max-width: calc(100vw - 125px); }
  .empty-workspace { width: calc(100% - 28px); }
  .empty-workspace > p:not(.eyebrow) { font-size: 12px; }
  .workspace-vitals { width: 100%; display: grid; grid-template-columns: repeat(3,1fr); gap: 0; }
  .workspace-vitals span { display: grid; gap: 3px; }
  .workspace-vitals b { margin: 0; }
  .message-text { font-size: 12px; }
  .event-stream small { display: none; }
  .compact-field:nth-of-type(3), .timeout-field { display: none; }
  .utility-head { align-items: flex-start; }
  .utility-head > .status { display: none; }
  .diff-summary { align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
