@layer reset{*,:before,:after{box-sizing:border-box;min-width:0}:root{interpolate-size:allow-keywords;scrollbar-gutter:stable;text-wrap:pretty;overflow-wrap:break-word;font-synthesis:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;-webkit-text-size-adjust:100%;-moz-text-size-adjust:100%;text-size-adjust:100%;-webkit-tap-highlight-color:transparent}body{min-height:100svh;margin:0}h1,h2,h3,h4{text-wrap:balance}img,svg,video{flex:none;max-width:100%;height:auto;display:block}button,input,select,textarea{font:inherit;color:inherit}input,textarea,select{font-size:max(16px,1rem)}textarea{text-wrap:stable}button,a,[role=button]{touch-action:manipulation}button,[role=button]{-webkit-user-select:none;user-select:none}[hidden]{display:none!important}:focus-visible{outline:max(2px, .08em) solid var(--focus-color,currentColor);outline-offset:.2em}}@layer tokens{:root{color-scheme:dark;--terminal-background:oklch(14.5% 0 none);--terminal-surface:oklch(16.8% 0 none);--terminal-surface-raised:oklch(19.1% 0 none);--terminal-surface-hover:oklch(21.8% 0 none);--terminal-border-subtle:oklch(23% 0 none);--terminal-border:oklch(26% 0 none);--terminal-border-strong:oklch(33.3% 0 none);--terminal-text:oklch(94.6% 0 none);--terminal-text-muted:oklch(70.6% 0 none);--terminal-text-faint:oklch(52.8% 0 none);--terminal-accent:oklch(68.4% .212 40.6);--terminal-accent-hover:color-mix(in oklch, var(--terminal-accent), white 15%);--terminal-accent-soft:color-mix(in oklch, var(--terminal-accent) 12%, transparent);--terminal-on-accent:var(--terminal-background);--terminal-success:oklch(77.2% .154 154.2);--terminal-warning:oklch(84.3% .141 85.5);--terminal-danger:oklch(72.1% .174 18.3);--terminal-info:oklch(76.9% .117 261.6);--ease-out:cubic-bezier(.23, 1, .32, 1);--ease-in-out:cubic-bezier(.77, 0, .175, 1);--duration-press:.16s;--duration-popover:.2s;--duration-drawer:.3s;--press-scale:.97;--popup-radius:.625rem;--popup-row-radius:.375rem;--popup-shadow:0 12px 32px oklch(0% none none/.5);--dialog-shadow:0 24px 64px oklch(0% none none/.6);--backdrop:oklch(0% none none/.65);--focus-color:var(--terminal-accent)}}.live-status{letter-spacing:.06em;text-transform:uppercase;color:var(--terminal-text-faint);font-size:.6875rem;font-weight:500}.live-status--live{color:var(--terminal-success)}.live-status--waiting{color:var(--terminal-warning)}.live-status--trouble,.live-status--blocked{color:var(--terminal-danger)}.live-status__announcement{clip-path:inset(50%);white-space:nowrap;block-size:1px;inline-size:1px;position:absolute;overflow:hidden}.live-rejections{gap:.25rem;margin:0;padding:0;list-style:none;display:grid}.live-rejection{border:1px solid color-mix(in oklch, var(--terminal-danger) 40%, transparent);background:color-mix(in oklch, var(--terminal-danger) 10%, transparent);color:var(--terminal-text);border-radius:.375rem;align-items:center;gap:.5rem;padding-block:.375rem;padding-inline:.625rem;display:flex}.live-rejection__reason{flex:1}.live-rejection__dismiss{color:var(--terminal-text-muted);font:inherit;cursor:pointer;background:0 0;border:0}@media (hover:hover) and (pointer:fine){.live-rejection__dismiss:hover{color:var(--terminal-text)}}.popup{overscroll-behavior:contain;border:1px solid var(--terminal-border-strong);border-radius:var(--popup-radius);background:var(--terminal-surface-raised);box-shadow:var(--popup-shadow);scrollbar-color:var(--terminal-border-strong) transparent;scrollbar-width:thin}:where(.popup:is([popover],dialog)){color:inherit;padding:0}.popup:is([popover]:not(:popover-open),dialog:not([open])){display:none}:where(.popup[popover]){position-try-fallbacks:flip-block, flip-inline, flip-block flip-inline}.popup--dialog{box-shadow:var(--dialog-shadow)}dialog.popup::backdrop{background:var(--backdrop);backdrop-filter:blur(3px)}:root:has(dialog.popup:modal){overflow:hidden}.popup-anchor{pointer-events:none;position:absolute}.popup__row{border-radius:var(--popup-row-radius)}.popup__row:is([aria-selected=true],:focus-visible){background:var(--terminal-surface-hover)}@media (hover:hover) and (pointer:fine){.popup__row:hover:not(:disabled){background:var(--terminal-surface-hover)}}.popup__title,.popup__heading{color:var(--terminal-text-faint);font-family:var(--font-mono,ui-monospace, monospace);font-size:var(--text-micro,.625rem);letter-spacing:.08em;text-transform:uppercase;margin:0;font-weight:600}.popup__heading{color:var(--terminal-text-muted);font-size:var(--text-meta,.75rem)}@media (prefers-reduced-motion:no-preference){.popup:is([popover],dialog){transition:opacity var(--duration-popover) var(--ease-out), translate var(--duration-popover) var(--ease-out), display var(--duration-popover) allow-discrete, overlay var(--duration-popover) allow-discrete}.popup:is([popover]:not(:popover-open),dialog:not([open])){opacity:0;translate:0 .25rem}@starting-style{.popup:is([popover],dialog){opacity:0;translate:0 .25rem}}dialog.popup::backdrop{transition:opacity var(--duration-popover) var(--ease-out), display var(--duration-popover) allow-discrete, overlay var(--duration-popover) allow-discrete}dialog.popup:not([open])::backdrop{opacity:0}@starting-style{dialog.popup[open]::backdrop{opacity:0}}}:root{--background:var(--terminal-background);--surface:oklch(19.2% .004 286);--surface-raised:oklch(22.8% .006 285.9);--surface-pressed:oklch(27% .007 285.9);--surface-active:oklch(31.1% .009 285.9);--surface-sunken:oklch(15.5% .004 285.9);--glass:oklch(17.4% .004 286/.78);--hairline:oklch(100% 5.96046e-8 none/.07);--hairline-strong:oklch(100% 5.96046e-8 none/.13);--hairline-focus:oklch(100% 5.96046e-8 none/.3);--text:oklch(96.1% 0 none);--text-secondary:oklch(71.8% .01 286.1);--text-tertiary:oklch(53.4% .012 286);--blue:oklch(69.7% .16 258.2);--green:oklch(76.2% .154 159.4);--amber:oklch(81.6% .14 77.3);--red:oklch(71.2% .181 22.8);--purple:oklch(75.2% .141 293.4);--pr-review:oklch(86.3% .135 93.4);--on-amber:oklch(18.8% .03 81.9);--added-bg:color-mix(in oklch, var(--green) 13%, transparent);--added-text:oklch(84.9% .109 163.1);--removed-bg:color-mix(in oklch, var(--red) 13%, transparent);--removed-text:oklch(80.7% .11 19.7);--focus-color:var(--blue);--cursor-mark-light:oklch(28.7% .009 285.8);--cursor-mark-dark:oklch(18.3% .004 286);--avatar-light:oklch(35.2% .014 285.7);--avatar-dark:oklch(22.8% .008 285.8);--swipe-more:oklch(35.1% .01 285.9);--syntax-comment:oklch(58.3% .015 285.9);--syntax-string:oklch(82.9% .083 145.8);--syntax-keyword:oklch(74.3% .135 311.1);--syntax-type:oklch(82.8% .088 212.4);--syntax-function:oklch(74.4% .131 264.3);--syntax-constant:oklch(78.7% .137 50.6);--syntax-property:oklch(74.9% .125 14.3);--syntax-attribute:oklch(76% .108 292.7);--syntax-number:var(--amber);--syntax-punctuation:var(--text-tertiary);--glyph-neutral:oklch(83.8% .008 286.2);--glyph-brand:oklch(94.7% .004 286.3);--glyph-red:oklch(73.6% .161 21.8);--glyph-orange:oklch(79.1% .135 51.1);--glyph-yellow:oklch(85.1% .147 88.6);--glyph-green:oklch(78.7% .145 161.5);--glyph-teal:oklch(77.9% .122 185.6);--glyph-cyan:oklch(81.3% .114 220.2);--glyph-blue:oklch(72.7% .143 257.1);--glyph-purple:var(--purple);--glyph-magenta:oklch(78.2% .182 322.7);--glyph-pink:oklch(78.4% .145 353.3);--radius-small:9px;--radius:14px;--radius-large:22px;--font:-apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", Roboto, system-ui, sans-serif;--font-mono:"SF Mono", "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;--safe-top:env(safe-area-inset-top,0px);--safe-bottom:env(safe-area-inset-bottom,0px);--content-width:760px}html,body{background:var(--background);height:100%;color:var(--text);font-family:var(--font);overscroll-behavior:none;font-size:16px;line-height:1.4}button{cursor:pointer;background:0 0;border:0;padding:0}button:disabled{cursor:default}a{color:inherit;text-decoration:none}#app,.app{height:100%}.visually-hidden{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.mono{font-family:var(--font-mono)}.icon{flex:none;width:20px;height:20px}.icon--small{width:16px;height:16px}.icon--tiny{width:13px;height:13px}.icon--hero{width:40px;height:40px;color:var(--text-tertiary)}.icon--muted{color:var(--text-tertiary)}.icon--danger{color:var(--red)}.icon--filled path{fill:currentColor}.cursor-mark{background:linear-gradient(145deg, var(--cursor-mark-light), var(--cursor-mark-dark));width:28px;height:28px;box-shadow:inset 0 0 0 1px var(--hairline-strong);color:var(--text);border-radius:8px;flex:none;place-items:center;display:inline-grid}.cursor-mark__icon{stroke-width:1.6px;width:60%;height:60%}.cursor-mark--small{border-radius:6px;width:22px;height:22px}.cursor-mark--large{border-radius:18px;width:64px;height:64px}.cursor-mark--hero{width:88px;height:88px;box-shadow:inset 0 0 0 1px var(--hairline-strong), 0 24px 80px -12px color-mix(in oklch, var(--blue) 35%, transparent), 0 0 0 8px oklch(100% 5.96046e-8 none/.02);border-radius:24px;position:relative}@media (prefers-reduced-motion:no-preference){.cursor-mark--hero{animation:float 6s var(--ease-in-out) infinite}}@keyframes float{50%{transform:translateY(-6px)}}.button{min-height:46px;transition:opacity .12s var(--ease-out), background .12s var(--ease-out);border-radius:999px;flex:none;justify-content:center;align-items:center;gap:8px;padding:0 20px;font-size:15px;font-weight:600;display:inline-flex}.button:active:not(:disabled){transform:scale(var(--press-scale))}@media (prefers-reduced-motion:no-preference){.button{transition:opacity .12s var(--ease-out), background .12s var(--ease-out), transform var(--duration-press) var(--ease-out)}}.button:disabled{opacity:.45}.button--primary{background:var(--text);color:var(--background)}.button--quiet{background:var(--surface-raised);box-shadow:inset 0 0 0 1px var(--hairline)}.button--wide{width:100%}.button--small{white-space:nowrap;min-height:38px;padding:0 14px;font-size:14px}.button--large{min-height:54px;font-size:16px}.text-button{color:var(--blue);flex:none;padding:6px 4px;font-size:15px;font-weight:500}.text-button--strong{font-weight:600}.text-button:disabled{color:var(--text-tertiary)}.text-button:active:not(:disabled){transform:scale(var(--press-scale))}.icon-button{width:38px;height:38px;color:var(--text);background:var(--surface-raised);box-shadow:inset 0 0 0 1px var(--hairline);border-radius:999px;flex:none;place-items:center;display:inline-grid}.icon-button:active:not(:disabled){transform:scale(var(--press-scale))}.icon-button:disabled{opacity:.4}.icon-button--spinning .icon{animation:1.2s ease-in-out infinite pulse}.round-button{background:var(--text);width:34px;height:34px;color:var(--background);transition:opacity .12s var(--ease-out);border-radius:999px;flex:none;place-items:center;display:inline-grid}.round-button:disabled{opacity:.25}.round-button:active:not(:disabled){transform:scale(var(--press-scale))}@media (prefers-reduced-motion:no-preference){.text-button,.icon-button{transition:transform var(--duration-press) var(--ease-out)}.icon-button--spinning .icon{animation:.9s linear infinite spin}.round-button{transition:opacity .12s var(--ease-out), transform var(--duration-press) var(--ease-out)}}.round-button .icon{stroke-width:2.4px;width:18px;height:18px}.round-button--stop .icon{width:13px;height:13px}.spinner{border:2px solid oklch(100% 5.96046e-8 none/.18);border-color:oklch(100% 5.96046e-8 none/.18) oklch(100% 5.96046e-8 none/.18) oklch(100% 5.96046e-8 none/.18) oklch(100% 5.96046e-8 none/.18);border-block-start-color:currentColor;border-radius:999px;flex:none;width:15px;height:15px;animation:1.2s ease-in-out infinite pulse;display:inline-block}@media (prefers-reduced-motion:no-preference){.spinner{animation:.7s linear infinite spin}}.button--primary .spinner,.round-button .spinner{border-color:oklch(0% none none/.2) oklch(0% none none/.2) oklch(0% none none/.2) oklch(0% none none/.2);border-block-start-color:var(--background)}@keyframes spin{to{transform:rotate(360deg)}}.status-dot{border-radius:999px;flex:none;width:9px;height:9px;display:block;position:relative}.status-dot--running{background:var(--blue);box-shadow:0 0 12px color-mix(in oklch, var(--blue) 80%, transparent)}@media (prefers-reduced-motion:no-preference){.status-dot--running:after{content:"";border:1.5px solid var(--blue);animation:ring 1.6s var(--ease-out) infinite;border-radius:999px;position:absolute;inset:-5px}}.status-dot--idle{background:var(--green)}.status-dot--archived{box-shadow:inset 0 0 0 1.5px var(--text-tertiary);background:0 0}@keyframes ring{0%{opacity:.9;transform:scale(.6)}to{opacity:0;transform:scale(1.4)}}.run-badge{letter-spacing:.01em;color:var(--text-tertiary);flex:none;align-items:center;gap:6px;font-size:12px;font-weight:600;display:inline-flex}.run-badge--running,.run-badge--creating{color:var(--blue)}.run-badge--finished{color:var(--green)}.run-badge--error,.run-badge--expired{color:var(--red)}.run-badge--cancelled{color:var(--amber)}.run-badge__pulse{background:currentColor;border-radius:999px;flex:none;width:6px;height:6px;animation:1.2s ease-in-out infinite pulse}@keyframes pulse{50%{opacity:.25}}.notice{border-radius:var(--radius);text-align:start;align-items:flex-start;gap:10px;margin:0;padding:12px 14px;font-size:14px;line-height:1.45;display:flex}.notice--error{color:var(--removed-text);background:var(--removed-bg)}.notice--info{color:var(--text-secondary);background:var(--surface-raised)}.notice__icon{width:17px;height:17px;margin-block-start:1px}.screen{flex-direction:column;height:100dvh;display:flex;overflow:hidden}.screen__scroll{overscroll-behavior:contain;-webkit-overflow-scrolling:touch;padding:4px 16px calc(24px + var(--safe-bottom));flex:1;overflow-y:auto}.screen--agents .screen__scroll{padding-block-end:calc(110px + var(--safe-bottom))}.screen>.notice{margin:8px 16px 0}.large-header{padding:calc(10px + var(--safe-top)) 16px 10px;background:linear-gradient(var(--background) 70%, transparent)}.large-header__bar{justify-content:flex-end;align-items:center;gap:10px;min-height:40px;display:flex}.large-header__title{letter-spacing:-.025em;margin:4px 0 14px;font-size:34px;font-weight:700}.avatar-link{flex:none;display:inline-flex}.avatar{object-fit:cover;width:36px;height:36px;color:var(--text);background:linear-gradient(145deg, var(--avatar-light), var(--avatar-dark));box-shadow:inset 0 0 0 1px var(--hairline-strong);border-radius:999px;flex:none;place-items:center;font-size:13px;font-weight:700;display:inline-grid}.avatar--large{width:56px;height:56px;font-size:19px}.segmented{background:var(--surface-raised);border-radius:12px;gap:2px;padding:3px;display:flex}.segmented--tabs{margin:8px 16px 4px}.segmented__option{height:32px;color:var(--text-secondary);transition:background .16s var(--ease-out), color .16s var(--ease-out);border-radius:9px;flex:1;justify-content:center;align-items:center;gap:6px;font-size:14px;font-weight:500;display:inline-flex}.segmented__option:active{transform:scale(var(--press-scale))}@media (prefers-reduced-motion:no-preference){.segmented__option{transition:background .16s var(--ease-out), color .16s var(--ease-out), transform var(--duration-press) var(--ease-out)}}.segmented__option--active{color:var(--text);background:var(--surface-pressed);box-shadow:0 1px 2px oklch(0% none none/.4), inset 0 0 0 1px var(--hairline)}.segmented__count{font-variant-numeric:tabular-nums;min-width:20px;color:var(--background);background:var(--text);border-radius:999px;flex:none;padding:1px 6px;font-size:11px;font-weight:700}.agent-sections{max-width:var(--content-width);flex-direction:column;gap:22px;margin:0 auto;display:flex}.agent-section__title{letter-spacing:.02em;color:var(--text-tertiary);text-overflow:ellipsis;white-space:nowrap;align-items:baseline;gap:8px;margin:0 0 8px 4px;font-size:13px;font-weight:600;display:flex;overflow:hidden}.agent-section__header{align-items:baseline;gap:12px;display:flex}.agent-section__header .agent-section__title{flex:1}.agent-section__name{text-overflow:ellipsis;overflow:hidden}.agent-section__select{flex-shrink:0;margin:-6px 0 -6px auto;padding:6px 4px;font-size:13px}.agent-section__count{font-variant-numeric:tabular-nums;color:var(--text-tertiary);opacity:.7;font-weight:500}.agent-section--pinned .agent-section__title{color:var(--amber)}.agent-row{-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}.agent-row__pin{color:var(--amber);vertical-align:-1px;margin-inline-end:5px;display:inline-block}.agent-list{border-radius:var(--radius);background:var(--surface);box-shadow:inset 0 0 0 1px var(--hairline);margin:0;padding:0;list-style:none;overflow:clip}.agent-list__item+.agent-list__item .agent-row{box-shadow:inset 0 1px 0 var(--hairline)}.agent-row{min-height:68px;transition:background .12s var(--ease-out);grid-template-columns:22px 1fr auto;align-items:center;gap:12px;padding:12px 12px 12px 16px;display:grid}.agent-row:active{background:var(--surface-pressed)}.agent-row__status{place-items:center;display:grid}.agent-row__body{flex-direction:column;gap:4px;display:flex}.agent-row__title{-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:16px;font-weight:500;line-height:1.3;display:-webkit-box;overflow:hidden}.agent-row__role{color:var(--text-secondary);text-overflow:ellipsis;white-space:nowrap;font-size:13px;line-height:1.3;overflow:hidden}.agent-row__meta{color:var(--text-secondary);align-items:center;gap:5px;font-size:13px;display:flex}.agent-row__repository{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.agent-row__running{color:var(--blue);flex:none}.agent-row__machine{text-overflow:ellipsis;white-space:nowrap;flex-shrink:1;align-items:center;gap:3px;max-width:35%;display:inline-flex;overflow:hidden}.agent-row__trailing{align-items:center;gap:4px;display:flex}.agent-row__age{color:var(--text-tertiary);font-variant-numeric:tabular-nums;font-size:13px}.agent-row--selectable{text-align:start;grid-template-columns:24px 22px 1fr auto;width:100%}.agent-row--selected{background:color-mix(in oklch, var(--blue) 10%, transparent)}.agent-row__check{color:#0000;width:24px;height:24px;box-shadow:inset 0 0 0 2px var(--hairline-strong);transition:background .12s var(--ease-out), color .12s var(--ease-out);border-radius:999px;place-items:center;display:grid}.agent-row--selected .agent-row__check{color:var(--background);background:var(--blue);box-shadow:none}.agent-row__check-mark{stroke-width:3.5px}.large-header__bar--selecting{justify-content:space-between}.selection-count{text-align:center;text-overflow:ellipsis;white-space:nowrap;font-variant-numeric:tabular-nums;flex:1;font-size:16px;font-weight:600;overflow:hidden}.screen--selecting .nav-header>:first-child{justify-self:start}.screen--selecting .screen__scroll{padding-block-end:calc(96px + var(--safe-bottom))}.selection-bar{z-index:3;padding:6px 16px calc(6px + var(--safe-bottom));background:var(--glass);-webkit-backdrop-filter:blur(24px)saturate(160%);box-shadow:inset 0 1px 0 var(--hairline);justify-content:center;gap:8px;display:flex;position:fixed;inset-block-end:0;inset-inline:0}.selection-bar__action{max-width:120px;color:var(--text);letter-spacing:.01em;transition:opacity .16s var(--ease-out);flex-direction:column;flex:1;align-items:center;gap:2px;padding:4px 0 2px;font-size:11px;font-weight:600;display:flex}.selection-bar__action:active:not(:disabled){transform:scale(var(--press-scale))}@media (prefers-reduced-motion:no-preference){.selection-bar__action{transition:opacity .16s var(--ease-out), transform var(--duration-press) var(--ease-out)}}.selection-bar__action--danger{color:var(--red)}.selection-bar__action:disabled{opacity:.35}.selection-bar__icon{width:24px;height:24px}.agent-list--skeleton{max-width:var(--content-width);margin:0 auto}.skeleton{background:linear-gradient(90deg, var(--surface-raised), var(--surface-pressed), var(--surface-raised));background-size:200% 100%;border-radius:6px;display:block}@media (prefers-reduced-motion:no-preference){.skeleton{animation:1.4s linear infinite shimmer}}.skeleton--dot{border-radius:999px;justify-self:center;width:9px;height:9px}.skeleton--title{width:70%;height:14px}.skeleton--meta{width:40%;height:11px}@keyframes shimmer{to{background-position:-200% 0}}.empty-state{text-align:center;flex-direction:column;align-items:center;gap:14px;max-width:360px;margin:12vh auto 0;display:flex}.empty-state--patient{opacity:0;animation:empty-state-in .2s var(--ease-out) .4s forwards}@keyframes empty-state-in{to{opacity:1}}.empty-state__title{margin:4px 0 0;font-size:20px;font-weight:650}.empty-state__body{color:var(--text-secondary);margin:0;font-size:15px;line-height:1.5}.compose-bar{max-width:var(--content-width);background:var(--glass);-webkit-backdrop-filter:blur(24px)saturate(160%);min-height:56px;box-shadow:inset 0 0 0 1px var(--hairline-strong), 0 12px 40px oklch(0% none none/.55);border-radius:999px;align-items:center;gap:12px;margin:0 auto;padding:8px 8px 8px 20px;display:flex;position:fixed;inset-block-end:calc(14px + var(--safe-bottom));inset-inline:12px}.compose-bar:active{transform:scale(.985)}@media (prefers-reduced-motion:no-preference){.compose-bar{transition:transform var(--duration-press) var(--ease-out)}}.compose-bar__placeholder{color:var(--text-tertiary);text-overflow:ellipsis;white-space:nowrap;flex:1;font-size:15px;overflow:hidden}.compose-bar__button{background:var(--text);width:40px;height:40px;color:var(--background);border-radius:999px;flex:none;place-items:center;display:grid}.nav-header{z-index:2;padding:calc(8px + var(--safe-top)) 12px 8px;background:var(--glass);-webkit-backdrop-filter:blur(24px)saturate(160%);box-shadow:inset 0 -1px 0 var(--hairline);grid-template-columns:minmax(80px,auto) 1fr minmax(80px,auto);align-items:center;gap:8px;display:grid;position:relative}.nav-header>:last-child{justify-self:end}.nav-header__back{color:var(--blue);min-height:40px;align-items:center;gap:2px;min-inline-size:40px;font-size:16px;display:inline-flex}.nav-header__back .icon{width:24px;height:24px;margin-inline-start:-6px}.nav-header__titles{text-align:center;flex-direction:column;align-items:center;display:flex}.nav-header__title{text-overflow:ellipsis;white-space:nowrap;max-width:100%;font-size:16px;font-weight:600;overflow:hidden}.nav-header__subtitle{max-width:100%;color:var(--text-secondary);text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.nav-header__spacer{width:38px}.conversation{overscroll-behavior:contain;-webkit-overflow-scrolling:touch;flex-direction:column-reverse;flex:1;display:flex;overflow-y:auto}.conversation__content{width:100%;max-width:var(--content-width);flex-direction:column;gap:28px;margin:0 auto;padding:12px 16px 20px;display:flex}.run{animation:fade-in .28s var(--ease-out);flex-direction:column;gap:12px;display:flex}@media (prefers-reduced-motion:no-preference){.run{animation:rise .28s var(--ease-out)}}@keyframes fade-in{0%{opacity:0}}@keyframes rise{0%{opacity:0;transform:translateY(8px)}}.prompt{flex-direction:column;align-items:flex-end;gap:4px;display:flex}.prompt__bubble{background:var(--surface-raised);max-width:86%;box-shadow:inset 0 0 0 1px var(--hairline);white-space:pre-wrap;overflow-wrap:anywhere;border-radius:20px 20px 6px;padding:10px 15px;font-size:15.5px;line-height:1.45}.prompt__bubble--external{color:var(--text-tertiary);font-size:14px;font-style:italic}.assistant{color:var(--text);overflow-wrap:anywhere;font-size:15.5px;line-height:1.6}.assistant+.assistant{margin-block-start:-6px}.assistant--streaming>:last-child:after{content:"";background:var(--blue);vertical-align:-.15em;border-radius:2px;width:.45em;height:1.05em;margin-inline-start:3px;animation:1.1s step-end infinite caret;display:inline-block}@keyframes caret{50%{opacity:0}}.thinking--live .thinking__header{background:linear-gradient(90deg, var(--text-tertiary) 0%, var(--text) 50%, var(--text-tertiary) 100%);color:#0000;background-size:200% 100%;background-clip:text}@media (prefers-reduced-motion:no-preference){.thinking--live .thinking__header{animation:1.6s linear infinite shimmer}}.prompt--pending .prompt__bubble{opacity:.6}.agent-row__pull-request{color:var(--green);margin-inline-start:4px}.run__footer{align-items:center;gap:10px;display:flex}.run__duration{color:var(--text-tertiary);font-variant-numeric:tabular-nums;font-size:12px}.typing{gap:5px;padding:6px 2px;display:inline-flex}.typing__dot{background:var(--text-secondary);border-radius:999px;flex:none;width:7px;height:7px;animation:1.2s ease-in-out infinite typing-fade}@media (prefers-reduced-motion:no-preference){.typing__dot{animation-name:typing}}.typing__dot:nth-child(2){animation-delay:.15s}.typing__dot:nth-child(3){animation-delay:.3s}@keyframes typing-fade{0%,60%,to{opacity:.25}30%{opacity:1}}@keyframes typing{0%,60%,to{opacity:.25;transform:translateY(0)}30%{opacity:1;transform:translateY(-3px)}}.stream-note{color:var(--text-tertiary);align-items:center;gap:8px;margin:0;font-size:13px;display:flex}.stream-note--warning{color:var(--amber)}.pull-request{border-radius:var(--radius);background:linear-gradient(135deg, color-mix(in oklch, var(--green) 12%, transparent), color-mix(in oklch, var(--green) 4%, transparent));box-shadow:inset 0 0 0 1px color-mix(in oklch, var(--green) 25%, transparent);align-items:center;gap:12px;padding:12px 14px;display:flex}.pull-request__icon{color:var(--green)}.pull-request__body{flex-direction:column;flex:1;display:flex}.pull-request__title{font-size:14px;font-weight:600}.pull-request__url{font-size:12px;font-family:var(--font-mono);color:var(--text-secondary);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.markdown{flex-direction:column;gap:10px;display:flex}.markdown__paragraph,.markdown__list,.markdown__quote{margin:0}.markdown__heading{margin:6px 0 0;font-size:17px;font-weight:650;line-height:1.35}.markdown__subheading{margin:4px 0 0;font-size:15.5px;font-weight:650;line-height:1.4}.markdown__minor-heading{letter-spacing:.02em;text-transform:uppercase;color:var(--text-secondary);margin:2px 0 0;font-size:13px;font-weight:650}.markdown__list{flex-direction:column;gap:8px;padding-inline-start:22px;display:flex}.markdown__list--tight{gap:3px}.markdown__item{display:list-item}.markdown__item>*+*{margin-block-start:6px}.markdown__list--tight .markdown__item>*+*,.markdown__list .markdown__list{margin-block-start:3px}.markdown__item::marker{color:var(--text-tertiary);font-variant-numeric:tabular-nums}.markdown__item--task{margin-inline-start:-20px;padding-inline-start:24px;list-style:none;position:relative}.markdown__check{width:15px;height:15px;box-shadow:inset 0 0 0 1.5px var(--text-tertiary);border-radius:4px;position:absolute;inset-block-start:.32em;inset-inline-start:0}.markdown__check--done{background:var(--blue);box-shadow:none}.markdown__check--done:after{content:"";border:2px solid #fff;border-width:0 2px 2px 0;width:4px;height:8px;position:absolute;inset-block-start:2px;inset-inline-start:5px;transform:rotate(45deg)}.markdown__quote{border-inline-start:3px solid var(--hairline-strong);color:var(--text-secondary);flex-direction:column;gap:8px;padding-inline-start:12px;display:flex}.markdown del{color:var(--text-tertiary)}.markdown__artifact,.markdown__file{text-align:inherit;overflow-wrap:anywhere;cursor:pointer;background:0 0;border:0;padding:0;display:inline}.markdown__artifact{color:var(--blue);text-decoration:underline;text-decoration-color:color-mix(in oklch, var(--blue) 40%, transparent);text-underline-offset:2px}.markdown__file{color:var(--text-secondary);text-decoration:underline dotted var(--text-tertiary);text-underline-offset:2px}.markdown__reference{background:var(--surface-pressed);vertical-align:bottom;white-space:nowrap;overflow-wrap:normal;border-radius:6px;align-items:center;gap:5px;max-inline-size:100%;padding:0 7px 0 6px;text-decoration:none;display:inline-flex}.markdown__reference-icon{flex:none;block-size:.9em;inline-size:.9em}.markdown__reference-name,.markdown__reference-folder{text-overflow:ellipsis;min-inline-size:0;overflow:hidden}.markdown__reference-name{font-weight:550}.markdown__reference-folder{color:var(--text-tertiary);flex-shrink:2;font-size:.86em}.markdown__commit{background:var(--surface-pressed);color:var(--blue);font:inherit;font-family:var(--font-mono);vertical-align:bottom;white-space:nowrap;cursor:pointer;border:0;border-radius:6px;align-items:center;gap:4px;padding:0 6px 0 5px;font-size:.86em;display:inline-flex}.markdown__commit-icon{flex:none;block-size:1em;inline-size:1em}.markdown__code{font-family:var(--font-mono);background:var(--surface-pressed);border-radius:5px;padding:1px 5px;font-size:.86em}.markdown__block{font-family:var(--font-mono);overscroll-behavior-x:contain;tab-size:2;margin:0;padding:12px 14px;font-size:12.5px;line-height:1.55;overflow-x:auto}.code-block{border-radius:var(--radius-small);background:var(--surface);box-shadow:inset 0 0 0 1px var(--hairline);overflow:clip}.code-block__header{border-block-end:1px solid var(--hairline);background:var(--surface-raised);justify-content:space-between;align-items:center;padding:4px 6px 4px 14px;display:flex}.code-block__language{font-family:var(--font-mono);letter-spacing:.02em;color:var(--text-tertiary);font-size:11px}.code-block__copy{color:var(--text-secondary);background:0 0;border:0;border-radius:6px;flex:none;padding:4px 10px;font-size:12px;font-weight:550}.code-block__copy:active{background:var(--surface-pressed);transform:scale(var(--press-scale))}@media (prefers-reduced-motion:no-preference){.code-block__copy{transition:transform var(--duration-press) var(--ease-out)}}.code-block__copy[data-copied]{color:var(--green)}.code-block__diff .diff{box-shadow:none;border-radius:0}.markdown__media-link{color:var(--blue);text-align:inherit;cursor:pointer;background:0 0;border:0;padding:0;text-decoration:none;display:inline}.markdown__media-link.markdown__file{color:var(--text-secondary)}.composer>.artifacts{pointer-events:none;width:auto;max-width:calc(100% - 24px);flex-direction:column;align-items:flex-end;gap:8px;margin:0;padding-block-end:8px;display:flex;position:absolute;inset-block-end:100%;inset-inline-end:max(12px, (100% - var(--content-width)) / 2)}.artifacts>*{pointer-events:auto}.screen--agent:has(.composer>.artifacts) .conversation__content{padding-block-end:52px}.artifacts__toggle{min-block-size:30px;color:var(--text-secondary);background:var(--glass);-webkit-backdrop-filter:blur(24px)saturate(160%);box-shadow:inset 0 0 0 1px var(--hairline-strong);border-radius:999px;align-items:center;gap:5px;padding:0 11px 0 9px;font-size:13px;font-weight:600;display:inline-flex}.artifacts__toggle--open{color:var(--text);background:var(--surface-raised)}.artifacts__toggle--failed{color:var(--red)}.artifacts__toggle:active{transform:scale(var(--press-scale))}.artifacts__count{font-variant-numeric:tabular-nums}.artifacts__drawer{border-radius:var(--radius);background:var(--glass);-webkit-backdrop-filter:blur(24px)saturate(160%);max-inline-size:100%;box-shadow:inset 0 0 0 1px var(--hairline-strong), 0 12px 32px oklch(0% none none/.45);padding:8px}@media (prefers-reduced-motion:no-preference){.artifacts__toggle{transition:transform var(--duration-press) var(--ease-out), background-color .15s var(--ease-out)}.artifacts__drawer{transform-origin:100% 100%;animation:artifacts-drawer-in .18s var(--ease-out)}}@keyframes artifacts-drawer-in{0%{opacity:0;transform:translateY(6px)scale(.96)}}.artifacts__strip{overscroll-behavior-x:contain;scroll-snap-type:x proximity;scrollbar-width:none;gap:8px;display:flex;overflow-x:auto}.artifact{scroll-snap-align:start;flex-direction:column;flex:none;gap:4px;width:132px;margin:0;display:flex}.artifact__frame{aspect-ratio:16/10;border-radius:var(--radius-small);background:var(--surface);width:100%;box-shadow:inset 0 0 0 1px var(--hairline);display:block;position:relative;overflow:clip}button.artifact__frame:active{transform:scale(var(--press-scale))}@media (prefers-reduced-motion:no-preference){.artifact__frame{transition:transform var(--duration-press) var(--ease-out)}}.artifact__media{object-fit:cover;border-radius:inherit;background:var(--surface-sunken);width:100%;height:100%}.artifact--video .artifact__media{object-fit:contain}.artifact__play{backdrop-filter:blur(8px);background:oklch(0% none none/.55);border-radius:999px;width:32px;height:32px;margin:auto;position:absolute;inset:0}.artifact__play:after{content:"";border:7px solid #0000;border-left:11px solid #fff;border-right-width:0;position:absolute;inset-block-start:9px;inset-inline-start:12px}.artifact__placeholder{color:var(--text-tertiary);background:linear-gradient(100deg, var(--surface) 30%, var(--surface-raised) 50%, var(--surface) 70%);background-size:300% 100%;place-items:center;font-size:11px;display:grid;position:absolute;inset:0}@media (prefers-reduced-motion:no-preference){.artifact__placeholder{animation:1.4s linear infinite shimmer}}.artifact__placeholder--failed{background:var(--surface);animation:none}.artifact__document{color:var(--text-secondary);background:linear-gradient(160deg, var(--surface-raised), var(--surface));border:0;flex-direction:column;justify-content:center;align-items:center;gap:4px;padding:0;display:flex}.artifact__extension{font-family:var(--font-mono);letter-spacing:.04em;text-transform:uppercase;color:var(--text-tertiary);font-size:10px}.artifact__caption{text-overflow:ellipsis;white-space:nowrap;color:var(--text-tertiary);font-size:11px;overflow:hidden}.markdown__link{color:var(--blue);text-decoration:underline;text-decoration-color:color-mix(in oklch, var(--blue) 40%, transparent);text-underline-offset:2px}.markdown__figure,.markdown__preview{border-radius:var(--radius-small);background:var(--surface-sunken);box-shadow:inset 0 0 0 1px var(--hairline);cursor:pointer;border:0;padding:0;display:block;position:relative;overflow:clip}.markdown__figure{inline-size:fit-content;max-inline-size:100%;margin-block:8px}.markdown__figure:active,.markdown__preview:active{transform:scale(var(--press-scale))}@media (prefers-reduced-motion:no-preference){.markdown__figure,.markdown__preview{transition:transform var(--duration-press) var(--ease-out)}}.markdown__picture{border-radius:inherit;block-size:auto;max-inline-size:100%;display:block}.markdown__figure .markdown__picture{object-fit:contain;max-block-size:60svh}.markdown__figure--video .markdown__picture{aspect-ratio:16/10;background:#000;inline-size:100%}.markdown__previews{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin-block-start:8px;display:grid}.markdown__previews:has(>:only-child){grid-template-columns:minmax(0,1fr)}.markdown__preview .markdown__picture{aspect-ratio:16/10;object-fit:cover;block-size:100%;inline-size:100%}.markdown__previews:has(>:only-child) .markdown__picture{aspect-ratio:auto;object-fit:contain;block-size:auto;max-block-size:60svh}.markdown__preview--video .markdown__picture,.markdown__previews:has(>:only-child) .markdown__preview--video .markdown__picture{aspect-ratio:16/10;object-fit:contain;background:#000}.markdown__play{backdrop-filter:blur(8px);background:oklch(0% none none/.55);border-radius:999px;width:40px;height:40px;margin:auto;position:absolute;inset:0}.markdown__play:after{content:"";border:9px solid #0000;border-left:14px solid #fff;border-right-width:0;position:absolute;inset-block-start:11px;inset-inline-start:15px}.markdown__rule{border:0;border-block-start:1px solid var(--hairline);width:100%}.markdown__table-scroll{overscroll-behavior-x:contain;border-radius:var(--radius-small);max-width:100%;box-shadow:inset 0 0 0 1px var(--hairline);background:var(--surface);-webkit-overflow-scrolling:touch;overflow-x:auto}.markdown__table{border-collapse:collapse;font-variant-numeric:tabular-nums;width:max-content;min-width:100%;font-size:13.5px;line-height:1.45}.markdown__cell{text-align:start;vertical-align:top;overflow-wrap:break-word;max-width:18rem;padding:7px 11px}.markdown__table th{color:var(--text-secondary);white-space:nowrap;background:var(--surface-raised);border-block-end:1px solid var(--hairline-strong);font-size:12.5px;font-weight:650}.markdown__table td{border-block-start:1px solid var(--hairline)}.markdown__table tbody tr:first-child td{border-block-start:0}.markdown__table tbody tr:nth-child(2n){background:oklch(100% 5.96046e-8 none/.025)}.markdown__table th+th,.markdown__table td+td{border-inline-start:1px solid var(--hairline)}.markdown__cell--center{text-align:center}.markdown__cell--right{text-align:end}.steps,.step{flex-direction:column;display:flex}.steps__header,.step__header,.thinking__header{text-align:start;width:100%;min-height:30px;color:var(--text-tertiary);transition:color .15s var(--ease-out);align-items:center;gap:8px;padding:3px 0;font-size:13.5px;display:flex}.steps__header:active,.step__header:active:not(:disabled){color:var(--text-secondary)}.steps__summary{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.steps__chevron{opacity:.7;margin-inline-start:-3px}@media (prefers-reduced-motion:no-preference){.steps__chevron{transition:transform .2s var(--ease-out)}}.steps--open .steps__chevron{transform:rotate(90deg)}.steps__trailing{flex:none;align-items:center;gap:8px;margin-inline-start:auto;display:inline-flex}.steps__list{border-inline-start:1px solid var(--hairline-strong);animation:fade-in .22s var(--ease-out);flex-direction:column;margin:2px 0 4px 6px;padding-inline-start:13px;display:flex}@media (prefers-reduced-motion:no-preference){.steps__list{animation:rise .22s var(--ease-out)}}.step__icon{opacity:.8}.step--running .step__icon{color:var(--blue);opacity:1}.step__title{text-overflow:ellipsis;white-space:nowrap;flex:1;overflow:hidden}.step--open .step__title{color:var(--text-secondary)}.step--failed .step__title{color:var(--removed-text)}.step--thinking .step__title{font-style:italic}.steps__header .spinner,.step__header .spinner{border-width:1.5px;width:12px;height:12px}.step__body{animation:fade-in .2s var(--ease-out);flex-direction:column;gap:8px;margin:2px 0 8px;display:flex}@media (prefers-reduced-motion:no-preference){.step__body{animation:rise .2s var(--ease-out)}}.step__loading{color:var(--text-tertiary);padding:6px 0;display:flex}.step__thought{color:var(--text-tertiary);white-space:pre-wrap;margin:0 0 8px;font-size:13px;line-height:1.55}.detail-failed{color:var(--removed-text);align-items:center;gap:12px;font-size:13px;display:flex}.detail-failed__message{flex:1}.detail-failed__retry{background:var(--surface-raised);box-shadow:inset 0 0 0 1px var(--hairline);color:var(--text-secondary);border-radius:999px;flex:none;padding:4px 10px;font-size:12.5px}.detail-failed__retry:active{transform:scale(var(--press-scale))}@media (prefers-reduced-motion:no-preference){.detail-failed__retry{transition:transform var(--duration-press) var(--ease-out)}}.tool__tag{text-transform:uppercase;letter-spacing:.04em;color:var(--removed-text);font-size:11px;font-weight:600}.tool__output{overscroll-behavior:contain;background:var(--surface-sunken);max-height:260px;font-family:var(--font-mono);color:var(--text-secondary);white-space:pre-wrap;border-radius:8px;margin:0;padding:10px 12px;font-size:12px;line-height:1.5;overflow:auto}.thinking__header{gap:7px;font-style:italic}.todos{flex-direction:column;gap:6px;margin:0;padding:0;list-style:none;display:flex}.todos__item{color:var(--text-secondary);align-items:flex-start;gap:8px;font-size:13.5px;display:flex}.todos__item .icon{margin-block-start:2px}.todos__item--completed{color:var(--text-tertiary)}.todos__item--completed .todos__text{text-decoration:line-through}.todos__item--completed .icon{color:var(--green)}.todos__item--inprogress{color:var(--text)}.todos__item--inprogress .icon{color:var(--blue)}.plan-card{border-radius:var(--radius);background:var(--surface-raised);box-shadow:inset 0 0 0 1px var(--hairline);flex-direction:column;gap:6px;padding:12px 14px;display:flex}.plan-card__eyebrow,.plan__eyebrow{color:var(--text-tertiary);align-items:center;gap:6px;font-size:12.5px;font-weight:600;display:flex}.plan-card__eyebrow>.icon:first-child,.plan__eyebrow>.icon:first-child{color:var(--purple)}.plan-card__title{color:var(--text);overflow-wrap:anywhere;margin:0;font-size:15.5px;font-weight:600;line-height:1.35}.plan-card--running .plan-card__title,.plan-card--failed .plan-card__title{color:var(--text-secondary)}.plan-card__actions{flex-wrap:wrap;gap:8px;margin-block-start:6px;display:flex}.plan{align-content:start;gap:16px;display:grid}.plan__header{gap:6px;padding-inline:4px;display:grid}.plan__progress{font-weight:500}.plan__name{color:var(--text);overflow-wrap:anywhere;margin:0;font-size:21px;font-weight:700;line-height:1.25}.plan__overview{color:var(--text-secondary);margin:0;font-size:14.5px;line-height:1.5}.plan__todos{border-radius:var(--radius);background:var(--surface-pressed);padding:12px 14px}.plan__markdown{padding-inline:4px}.plan__note{color:var(--text-tertiary);margin:0;padding-inline:4px;font-size:13px}.plan__footer{padding-block:10px calc(10px + var(--safe-bottom));border-block-start:1px solid var(--hairline);flex:none}.commit__body{align-content:start;gap:14px;min-inline-size:0;display:grid}.commit__body>.changes,.commit__body>.changes__summary{inline-size:100%;margin-block:0}.commit__header{gap:8px;padding-inline:4px;display:grid}.commit__title{color:var(--text);overflow-wrap:anywhere;margin:0;font-size:19px;font-weight:700;line-height:1.3}.commit__description{color:var(--text-secondary);white-space:pre-wrap;overflow-wrap:anywhere;margin:0;font-size:14px;line-height:1.45}.commit__author{color:var(--text-secondary);align-items:center;gap:8px;font-size:13.5px;display:flex}.commit__name{color:var(--text);font-weight:600}.commit__parents{color:var(--text-tertiary);margin:0;font-size:13px}.commit__sha{background:var(--surface-pressed);color:var(--blue);font-family:var(--font-mono);cursor:pointer;border:0;border-radius:5px;padding:1px 6px;font-size:12.5px}.commit__more{justify-content:center;padding-block:8px;display:flex}.commit__connect{gap:12px}.document__body{align-content:start;gap:16px;min-inline-size:0;display:grid}.document__name{font-size:18px}.document__refreshing{justify-content:flex-end;padding-inline:4px;display:flex}.document__picture{object-fit:contain;border-radius:var(--radius);background:var(--surface-pressed);max-block-size:70dvh;inline-size:100%;display:block}.question-card{border-radius:var(--radius);background:var(--surface-raised);box-shadow:inset 0 0 0 1px var(--hairline);flex-direction:column;gap:14px;padding:14px;display:flex}.question-card--asked{background:color-mix(in oklch, var(--purple) 6%, var(--surface-raised));box-shadow:inset 0 0 0 1px color-mix(in oklch, var(--purple) 32%, transparent)}.question-card__eyebrow{color:var(--text-tertiary);align-items:center;gap:6px;font-size:12.5px;font-weight:600;display:flex}.question-card__eyebrow>.icon:first-child{color:var(--purple)}.question-card__done{color:var(--green)}.question-card__title{overflow-wrap:anywhere;margin:0;font-size:15.5px;font-weight:600;line-height:1.35}.question{gap:10px;min-inline-size:0;display:grid}.question+.question{border-block-start:1px solid var(--hairline);padding-block-start:14px}.question__prompt{overflow-wrap:anywhere;font-size:15.5px;font-weight:500;line-height:1.5}.question--answered .question__prompt,.question--skipped .question__prompt{color:var(--text-secondary);font-size:14px;font-weight:400}.question__options{gap:6px;display:grid}.question__option{border-radius:var(--radius-small);background:var(--surface);min-block-size:48px;box-shadow:inset 0 0 0 1px var(--hairline-strong);color:var(--text);text-align:start;transition:background .12s var(--ease-out), box-shadow .12s var(--ease-out);align-items:center;gap:12px;padding:10px 14px;font-size:15px;line-height:1.35;display:flex}.question__option--selected{background:color-mix(in oklch, var(--purple) 14%, var(--surface));box-shadow:inset 0 0 0 1.5px var(--purple)}.question__option:active{background:var(--surface-pressed)}.question__option--selected:active{background:color-mix(in oklch, var(--purple) 22%, var(--surface))}@media (prefers-reduced-motion:no-preference){.question__option{transition:background .12s var(--ease-out), box-shadow .12s var(--ease-out), transform var(--duration-press) var(--ease-out)}.question__option:active{transform:scale(var(--press-scale))}}.question__mark{color:#0000;block-size:22px;inline-size:22px;box-shadow:inset 0 0 0 2px var(--hairline-strong);transition:background .12s var(--ease-out), color .12s var(--ease-out);border-radius:999px;flex:none;place-items:center;display:grid}.question__mark--multiple{border-radius:6px}.question__option--selected .question__mark{background:var(--purple);color:var(--background);box-shadow:none}.question__check{stroke-width:3.5px;block-size:14px;inline-size:14px}.question__label{overflow-wrap:anywhere;flex:1;min-inline-size:0}.question__note{resize:none;border-radius:var(--radius-small);background:var(--surface);min-block-size:46px;max-block-size:40dvh;inline-size:100%;box-shadow:inset 0 0 0 1px var(--hairline-strong);field-sizing:content;border:0;outline-color:#0000;padding:12px 14px;font-size:15px;line-height:1.45}.question__note:focus{box-shadow:inset 0 0 0 1px var(--hairline-focus)}.question__note::placeholder{color:var(--text-tertiary)}.question__chosen{flex-wrap:wrap;gap:6px;margin:0;padding:0;list-style:none;display:flex}.question__chip{background:color-mix(in oklch, var(--purple) 14%, transparent);max-inline-size:100%;color:var(--text);overflow-wrap:anywhere;border-radius:999px;align-items:center;gap:6px;padding:6px 12px;font-size:14px;font-weight:500;display:inline-flex}.question__chip>.icon{color:var(--purple);stroke-width:3px}.question__said{border-inline-start:2px solid color-mix(in oklch, var(--purple) 45%, transparent);white-space:pre-wrap;overflow-wrap:anywhere;margin:0;padding-inline-start:12px;font-size:14.5px;line-height:1.5}.question-card--skipped .question__prompt,.question-card--failed .question__prompt{color:var(--text-tertiary)}.question-card--sending{opacity:.75}.question-card__error{color:var(--red);align-items:center;gap:8px;margin:0;font-size:13.5px;line-height:1.4;display:flex}.question-card__actions{justify-content:flex-end;gap:8px;display:flex}.question-card__actions>.button{min-block-size:44px}.diff-counts{font-family:var(--font-mono);font-variant-numeric:tabular-nums;flex:none;gap:6px;font-size:12px;font-weight:600;display:inline-flex}.diff-counts__added{color:var(--green)}.diff-counts__removed{color:var(--red)}.diff,.tool__output,.markdown__block{font-variant-ligatures:none}.diff{background:var(--surface-sunken);box-shadow:inset 0 0 0 1px var(--hairline);overscroll-behavior-x:contain;font-family:var(--font-mono);border-radius:8px;font-size:12px;line-height:1.6;overflow-x:auto}.diff--pickable{container-type:inline-size}.diff--pickable .diff__line:not(.diff__line--hunk){cursor:pointer;-webkit-tap-highlight-color:transparent}.diff__line--picked{background-image:linear-gradient(color-mix(in oklch, var(--blue) 18%, transparent), color-mix(in oklch, var(--blue) 18%, transparent));box-shadow:inset 3px 0 0 var(--blue)}.diff__aside{border-block:1px solid var(--hairline);background:var(--surface);inline-size:100cqi;font-family:var(--font);padding:8px;line-height:1.4;position:sticky;inset-inline-start:0}.review{gap:8px;display:grid}.review__head{align-items:center;gap:6px;display:flex}.review__label{min-inline-size:0;color:var(--text-secondary);flex:1;font-size:13px;font-weight:600}.review__input{resize:none;border-radius:var(--radius-small);background:var(--surface-sunken);min-block-size:2lh;max-block-size:40dvh;inline-size:100%;box-shadow:inset 0 0 0 1px var(--hairline-strong);color:var(--text);field-sizing:content;border:0;outline-color:#0000;padding:10px 12px;font-size:16px;line-height:1.45}.review__input:focus{box-shadow:inset 0 0 0 1px var(--hairline-focus)}.review__input::placeholder{color:var(--text-tertiary)}.review__sent{color:var(--green);align-items:center;gap:6px;margin:0;font-size:13px;font-weight:600;display:flex}.diff__line{grid-template-columns:38px 16px 1fr;min-width:max-content;display:grid}.diff__line--added{background:var(--added-bg);color:var(--added-text)}.diff__line--removed{background:var(--removed-bg);color:var(--removed-text)}.diff__line--context{color:var(--text-secondary)}.diff__line--hunk{color:var(--blue);background:color-mix(in oklch, var(--blue) 8%, transparent);padding:3px 12px;display:block}.diff__number{text-align:end;color:var(--text-tertiary);font-variant-numeric:tabular-nums;-webkit-user-select:none;user-select:none;padding-inline-end:8px}.diff__sign{-webkit-user-select:none;user-select:none}.diff__text{white-space:pre;padding-inline-end:14px}.diff__empty,.step__empty{color:var(--text-tertiary);margin:0;font-size:13px}.changes__summary{max-width:var(--content-width);color:var(--text-secondary);justify-content:space-between;align-items:center;margin:12px auto 10px;padding:0 4px;font-size:13px;font-weight:600;display:flex}.changes__source{max-width:var(--content-width);color:var(--text-tertiary);margin:-4px auto 10px;padding:0 4px;font-size:12px}.commits{max-width:var(--content-width);gap:10px;margin:20px auto 0;display:grid}.commits__heading{color:var(--text-secondary);margin:0 0 6px;padding-inline:4px;font-size:13px;font-weight:600}.commits__list{background:var(--surface);box-shadow:inset 0 0 0 1px var(--hairline);border-radius:12px;margin:0;padding:0;list-style:none;display:grid;overflow:hidden}.commits__list>li+li{border-block-start:1px solid var(--hairline)}.commit-row{inline-size:100%;color:var(--text);font:inherit;text-align:start;cursor:pointer;background:0 0;border:0;grid-template-columns:auto 1fr;gap:2px 10px;padding:10px 12px;display:grid}.commit-row__sha{grid-row:span 2;align-self:start}.commit-row__title{text-overflow:ellipsis;white-space:nowrap;font-size:14px;font-weight:550;overflow:hidden}.commit-row__meta{color:var(--text-tertiary);font-size:12px}.commits__status{color:var(--text-tertiary);margin:0;padding-inline:4px;font-size:13px}.commits__paste{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.commits__paste>.commits__status{flex-basis:100%}.screen--agent .screen__scroll>.pull-request{max-width:var(--content-width);margin:12px auto 0}.changes{max-width:var(--content-width);flex-direction:column;gap:8px;margin:0 auto;padding:0;list-style:none;display:flex}.file{background:var(--surface);box-shadow:inset 0 0 0 1px var(--hairline);border-radius:12px;overflow:clip}.file__header{text-align:start;align-items:center;gap:10px;width:100%;min-height:48px;padding:10px 12px;display:flex}.file__icon--modified{color:var(--blue)}.file__icon--created{color:var(--green)}.file__icon--deleted{color:var(--red)}.file__path{font-family:var(--font-mono);text-overflow:ellipsis;white-space:nowrap;text-align:end;direction:rtl;flex:1;font-size:13px;overflow:hidden}.file__directory{color:var(--text-tertiary)}.file__name{color:var(--text)}.file__body{flex-direction:column;gap:8px;padding:0 10px 10px;display:flex}.composer{z-index:2;padding:8px 12px calc(10px + var(--safe-bottom));background:var(--glass);-webkit-backdrop-filter:blur(24px)saturate(160%);box-shadow:inset 0 1px 0 var(--hairline);flex-direction:column;gap:8px;display:flex;position:relative}.composer>*{width:100%;max-width:var(--content-width);margin:0 auto}.composer--archived{color:var(--text-secondary);flex-direction:row;justify-content:safe center;align-items:center;gap:14px;font-size:14px}.composer--archived>*{width:auto;margin:0}.composer__box{border-radius:var(--radius-large);background:var(--surface-raised);box-shadow:inset 0 0 0 1px var(--hairline-strong);flex-direction:column;gap:6px;padding:12px 10px 8px;display:flex}.composer__field{padding-inline:4px}.composer__tools{color:var(--text);background:var(--surface-pressed);margin-inline-end:8px}.composer__tools--plan{color:var(--background);background:var(--amber)}.composer__summary{min-inline-size:0;color:var(--text-secondary);flex:1;align-items:center;gap:6px;margin-inline-end:8px;font-size:13px;font-weight:500;display:inline-flex}.composer__summary-mode{flex:none}.composer__summary-label{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.composer__summary--plan{color:var(--amber)}.composer__box:has(.composer__input:focus-visible){box-shadow:inset 0 0 0 1px var(--hairline-focus)}.composer__input{resize:none;field-sizing:content;background:0 0;border:0;outline-color:#0000;width:100%;min-height:1lh;max-height:7lh;font-size:16px;line-height:1.45}.composer__input::placeholder{color:var(--text-tertiary)}.composer__row{justify-content:space-between;align-items:center;display:flex}.composer__actions{flex:none;align-items:center;gap:8px;display:inline-flex}.queue{flex-direction:column;gap:6px;padding:0 4px;display:flex}.queue__header{font-variant-numeric:tabular-nums;color:var(--text-secondary);align-items:center;gap:4px;padding:0 8px;font-size:12px;font-weight:600;display:flex}.queue__marks{align-items:center;gap:8px;display:inline-flex}.queue__list{overscroll-behavior:contain;flex-direction:column;gap:4px;max-height:30vh;margin:-4px -6px;padding:4px 6px;list-style:none;display:flex;overflow-y:auto}.queue__item{border-radius:var(--radius);background:var(--surface);box-shadow:inset 0 0 0 1px var(--hairline);align-items:center;gap:8px;padding:8px 8px 8px 12px;display:flex}.queue__item--failed{box-shadow:inset 0 0 0 1px color-mix(in oklch, var(--red) 35%, transparent)}.queue__item--sortable{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;transition:box-shadow .16s var(--ease-out), background-color .16s var(--ease-out);gap:6px;padding-inline-start:2px}@media (prefers-reduced-motion:no-preference){.queue__item--sortable{transition:scale .16s var(--ease-out), box-shadow .16s var(--ease-out), background-color .16s var(--ease-out)}}.queue__item--sortable[data-sortable-lifted]{background:var(--surface-raised);box-shadow:inset 0 0 0 1px var(--hairline-strong), 0 10px 24px oklch(0% none none/.4);scale:1.02}.queue__handle{border-radius:var(--radius);width:28px;height:36px;color:var(--text-tertiary);touch-action:none;cursor:grab;flex:none;place-items:center;display:inline-grid}.queue__item--sortable[data-sortable-lifted] .queue__handle{color:var(--text-secondary)}terminal-sortable-list[data-sortable-active]{cursor:grabbing}.queue__body{flex-direction:column;flex:1;gap:3px;display:flex}.queue__text{-webkit-line-clamp:2;color:var(--text-secondary);overflow-wrap:anywhere;-webkit-box-orient:vertical;font-size:14px;line-height:1.35;display:-webkit-box;overflow:hidden}.queue__mode{color:var(--amber);align-items:center;gap:4px;font-size:11.5px;font-weight:600;display:inline-flex}.queue__failure{color:var(--red);font-size:12px;line-height:1.3}.queue__interrupt{color:var(--amber);align-items:center;gap:4px;font-size:11.5px;font-weight:600;display:inline-flex}.queue__actions{flex:none;gap:6px;display:inline-flex}.queue__button{width:28px;height:28px;color:var(--text-secondary);background:var(--surface-pressed);border-radius:999px;flex:none;place-items:center;display:inline-grid}.queue__button:active:not(:disabled){transform:scale(var(--press-scale))}@media (prefers-reduced-motion:no-preference){.queue__button{transition:transform var(--duration-press) var(--ease-out)}}.sheet{--terminal-bottom-sheet-surface:var(--surface-raised);--terminal-bottom-sheet-scrim:oklch(0% none none/.55);--terminal-bottom-sheet-edge:var(--hairline-strong)}.sheet__title{color:var(--text-tertiary);text-align:center;text-overflow:ellipsis;white-space:nowrap;margin:0 8px 8px;font-size:13px;font-weight:600;overflow:hidden}.sheet__heading{grid-template-columns:40px minmax(0,1fr) 40px;align-items:center;margin:-6px 0 8px;display:grid}.sheet__heading .sheet__title{margin:0}.sheet__back{block-size:36px;inline-size:40px;color:var(--text-secondary);border-radius:999px;place-items:center;display:grid}.sheet__back:active{background:var(--surface-pressed)}.tiles{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-block-end:14px;display:grid}.tile{border-radius:var(--radius);min-inline-size:0;color:var(--text);background:var(--surface-pressed);text-align:start;cursor:pointer;flex-direction:column;align-items:flex-start;gap:2px;padding:14px;display:flex;position:relative}.tile:active:not(.tile--disabled){background:var(--surface-active);transform:scale(var(--press-scale))}.tile:focus-within{outline:2px solid var(--blue);outline-offset:2px}.tile>.icon{block-size:22px;inline-size:22px;color:var(--text-secondary);margin-block-end:10px}.tile__label{font-size:15px;font-weight:600}.tile__detail,.tile__label{text-overflow:ellipsis;white-space:nowrap;max-inline-size:100%;overflow:hidden}.tile__detail{color:var(--text-tertiary);font-size:12.5px}.tile--active{--tile-tint:color-mix(in oklch, var(--amber) 14%, transparent);background:linear-gradient(var(--tile-tint), var(--tile-tint)), var(--surface-pressed);box-shadow:inset 0 0 0 1px color-mix(in oklch, var(--amber) 45%, transparent)}.tile--active>.icon{color:var(--amber)}.tile--disabled{opacity:.45;cursor:default}@media (prefers-reduced-motion:no-preference){.tile{transition:background .15s var(--ease-out), box-shadow .15s var(--ease-out), transform var(--duration-press) var(--ease-out)}}.sheet__body{color:var(--text-secondary);text-align:center;margin:0 12px 12px;font-size:14px;line-height:1.5}.sheet__action{border-radius:var(--radius);text-align:start;background:var(--surface-pressed);align-items:center;gap:12px;min-height:52px;padding:0 16px;font-size:16px;display:flex}.sheet__action:active{background:var(--surface-active)}.sheet__action--danger{color:var(--red)}.sheet__action--cancel{justify-content:center;margin-block-start:6px;font-weight:600}.sheet--tall::part(sheet){height:min(88dvh,760px);padding-block-end:0}.sheet--tall .search-field{background:var(--surface-pressed);flex:none;margin:0 4px 8px}.sheet__scroll{min-height:0;padding:4px 10px calc(16px + var(--safe-bottom));overscroll-behavior:contain;-webkit-overflow-scrolling:touch;flex:1;margin:0 -10px;overflow-y:auto}.sheet__status{color:var(--text-tertiary);flex:none;align-items:center;gap:8px;margin:0 8px 6px;font-size:12.5px;display:flex}.sheet__status .text-button{margin-inline-start:auto;font-size:13px}.sheet__status--warning{color:var(--amber)}.sheet__hint{color:var(--text-tertiary);margin:4px 8px 12px;font-size:13px;line-height:1.4}.icon--faded{opacity:.45}.list-section{flex-direction:column;gap:6px;margin-block-end:14px;display:flex}.list-section__title{letter-spacing:.02em;text-transform:uppercase;color:var(--text-tertiary);margin:0 12px;font-size:12.5px;font-weight:600}.list-section__rows{border-radius:var(--radius);background:var(--surface-raised);flex-direction:column;display:flex;overflow:clip}.sheet .list-section__rows{background:var(--surface-pressed)}.list-section__rows>*+*{box-shadow:inset 0 1px 0 var(--hairline)}.list-row{text-align:start;width:100%;min-height:50px;color:var(--text);align-items:center;gap:12px;padding:8px 14px 8px 16px;font-size:16px;display:flex}button.list-row:active{background:var(--surface-active)}.list-row--selected .list-row__title{color:var(--blue);font-weight:600}.list-row__check{color:var(--blue);flex:none}.list-row__body{flex-direction:column;flex:1;gap:1px;display:flex}.list-row__title,.list-row__subtitle,.list-row__value{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.list-row__subtitle{color:var(--text-tertiary);font-size:13px}.list-row__trailing{max-width:60%;color:var(--text-secondary);flex:none;align-items:center;gap:6px;display:inline-flex}.list-row__value{align-items:center;gap:8px;font-size:15px;display:inline-flex}.list-row__count{color:var(--text-tertiary);font-variant-numeric:tabular-nums;margin-inline-end:6px;font-size:14px}.list-row__source{opacity:.7;padding:0 6px;display:inline-flex}.list-row--field .list-row__title{flex:none}.list-row__input{height:32px;color:var(--text);font-family:var(--font-mono);text-align:end;background:0 0;border:0;flex:1;font-size:15px}.list-row__input::placeholder{color:var(--text-tertiary);font-family:var(--font)}.list-row--editing{gap:8px;padding:6px 8px 6px 12px}.model-settings{flex-direction:column;gap:12px;padding:4px 14px 14px 16px;display:flex}.model-setting{flex-direction:column;gap:6px;display:flex}.model-setting .toggle{padding:4px 0}.model-setting__label{color:var(--text-secondary);font-size:13px}.segmented--compact{background:var(--surface)}.segmented--compact .segmented__option{height:30px;font-size:13px}.new-agent{max-width:var(--content-width);flex-direction:column;gap:22px;width:100%;margin:0 auto;padding-block-start:16px;display:flex}.prompt-field{resize:none;border-radius:var(--radius-large);background:var(--surface);width:100%;min-height:6lh;box-shadow:inset 0 0 0 1px var(--hairline-strong);field-sizing:content;border:0;outline-color:#0000;max-height:45vh;padding:16px;font-size:17px;line-height:1.5}.prompt-field:focus{box-shadow:inset 0 0 0 1px var(--hairline-focus)}.prompt-field::placeholder{color:var(--text-tertiary)}.field{flex-direction:column;gap:8px;display:flex}.field__label{color:var(--text-secondary);padding-inline-start:4px;font-size:13px;font-weight:600}.field__control{background:var(--surface);width:100%;height:46px;box-shadow:inset 0 0 0 1px var(--hairline-strong);appearance:none;border:0;border-radius:12px;outline-color:#0000;padding:0 14px;font-size:16px}.field__control:focus{box-shadow:inset 0 0 0 1px var(--hairline-focus)}.field__control:disabled{opacity:.45}.field__control--mono{font-family:var(--font-mono);font-size:14px}.toggle{text-align:start;align-items:center;gap:14px;width:100%;padding:14px 16px;display:flex}.toggle+.toggle{box-shadow:inset 0 1px 0 var(--hairline)}.toggle__text{flex-direction:column;flex:1;gap:3px;display:flex}.toggle__label{font-size:16px}.toggle__description{color:var(--text-tertiary);font-size:13px;line-height:1.4}.switch{background:var(--surface-pressed);width:51px;height:31px;transition:background .2s var(--ease-out);border-radius:999px;flex:none;position:relative}.switch--on{background:var(--green)}.switch__thumb{background:#fff;border-radius:999px;width:27px;height:27px;position:absolute;inset-block-start:2px;inset-inline-start:2px;box-shadow:0 2px 6px oklch(0% none none/.35)}.switch--on .switch__thumb{transform:translate(20px)}@media (prefers-reduced-motion:no-preference){.switch__thumb{transition:transform .22s var(--ease-in-out)}}.connect,.welcome,.splash{min-height:100dvh;padding:calc(24px + var(--safe-top)) 24px calc(24px + var(--safe-bottom));text-align:center;background:radial-gradient(60% 40% at 50% 0%, color-mix(in oklch, var(--blue) 12%, transparent), transparent 70%), var(--background);flex-direction:column;justify-content:center;align-items:center;gap:22px;display:flex}.connect__card{flex-direction:column;align-items:center;gap:16px;width:100%;max-width:400px;display:flex}.connect__title,.welcome__title{letter-spacing:-.02em;margin:6px 0 0;font-size:28px;font-weight:700}.connect__lead,.welcome__lead{max-width:340px;color:var(--text-secondary);margin:0;font-size:15.5px;line-height:1.5}.connect__form{text-align:start;flex-direction:column;gap:14px;width:100%;margin-block-start:8px;display:flex}.connect__link{color:var(--blue);align-items:center;gap:8px;font-size:14px;display:inline-flex}.connect__footer{color:var(--text-tertiary);align-items:center;gap:10px;font-size:13px;display:flex}.welcome{justify-content:space-between}.welcome__hero{flex-direction:column;flex:1;justify-content:center;align-items:center;gap:14px;display:flex}.welcome__actions{flex-direction:column;gap:14px;width:100%;max-width:400px;display:flex}.welcome__fine{color:var(--text-tertiary);margin:0;font-size:12.5px}.settings{flex-direction:column;gap:12px;width:100%;max-width:620px;margin:0 auto;padding-block-start:20px;display:flex}.settings__heading{color:var(--text-tertiary);margin:12px 0 0 4px;font-size:13px;font-weight:600}.settings-card{border-radius:var(--radius);background:var(--surface);box-shadow:inset 0 0 0 1px var(--hairline);flex-direction:column;display:flex;overflow:clip}.settings-card--profile{flex-direction:row;align-items:center;gap:14px;padding:16px}.settings-card__identity{flex-direction:column;gap:2px;display:flex}.settings-card__name{font-size:18px;font-weight:600}.settings-card__email{color:var(--text-secondary);font-size:14px}.settings-row{justify-content:space-between;align-items:center;gap:16px;min-height:48px;padding:0 16px;font-size:15px;display:flex}.settings-row+.settings-row,.settings-row+.settings-card__action{box-shadow:inset 0 1px 0 var(--hairline)}.settings-row--control{padding-block:8px}.settings-row--control>.segmented{flex:1}.settings-row__label{color:var(--text-secondary);flex:none}.settings-row__value{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.settings-card__action{justify-content:safe center;align-items:center;gap:10px;min-height:50px;font-size:16px;font-weight:500;display:flex}.settings-card__action:active{background:var(--surface-pressed)}.settings-card__action--danger{color:var(--red)}.settings-card__action-detail{color:var(--text-tertiary);font-size:14px;font-weight:400}.settings__hint{color:var(--text-tertiary);margin:-4px 4px 0;font-size:12.5px;line-height:1.5}.settings__footnote{color:var(--text-tertiary);text-align:center;margin:8px 4px 0;font-size:12.5px;line-height:1.5}@media (width>=900px){.large-header,.agent-sections{width:100%;max-width:var(--content-width);margin-inline:auto}}.agent-row__project{background:var(--surface-pressed);max-width:40%;color:var(--text-secondary);text-overflow:ellipsis;white-space:nowrap;border-radius:999px;flex-shrink:0;padding:1px 7px;font-size:11.5px;overflow:hidden}.sheet__detail{color:var(--text-tertiary);text-overflow:ellipsis;white-space:nowrap;margin-inline-start:auto;font-size:14px;overflow:hidden}.sheet__inline-form{align-items:center;gap:8px;margin-block-end:10px;display:flex}.sheet__input{background:var(--surface);height:42px;box-shadow:inset 0 0 0 1px var(--hairline-strong);color:var(--text);border:0;border-radius:12px;outline-color:#0000;flex:1;padding:0 14px;font-size:16px}.sheet__input:focus{box-shadow:inset 0 0 0 1px var(--hairline-focus)}.icon-button--small{width:34px;height:34px}.icon-button--danger{color:var(--red)}.window-edge{justify-content:center;min-height:1px;display:flex}.screen--tabbed .screen__scroll{padding-block-end:calc(172px + var(--safe-bottom))}.screen--project .screen__scroll{padding-block-start:14px}.screen--tabbed .compose-bar{inset-block-end:calc(68px + var(--safe-bottom))}.tab-bar{z-index:3;padding:6px 16px calc(6px + var(--safe-bottom));background:var(--glass);-webkit-backdrop-filter:blur(24px)saturate(160%);box-shadow:inset 0 1px 0 var(--hairline);justify-content:center;gap:8px;display:flex;position:fixed;inset-block-end:0;inset-inline:0}.tab-bar__tab{max-width:180px;color:var(--text-tertiary);letter-spacing:.01em;transition:color .16s var(--ease-out);flex-direction:column;flex:1;align-items:center;gap:2px;padding:4px 0 2px;font-size:11px;font-weight:600;display:flex}.tab-bar__tab--active{color:var(--text)}.tab-bar__icon{fill:none;stroke:currentColor;width:24px;height:24px}.search-field{background:var(--surface-raised);height:38px;color:var(--text-tertiary);border-radius:11px;align-items:center;gap:8px;margin:0 0 10px;padding:0 10px;display:flex}.search-field:has(.search-field__input:focus-visible){box-shadow:inset 0 0 0 1px var(--hairline-focus)}.search-field__input{height:100%;color:var(--text);appearance:none;background:0 0;border:0;outline-color:#0000;flex:1;font-size:16px}.search-field__input::placeholder{color:var(--text-tertiary)}.search-field__input::-webkit-search-cancel-button{display:none}.search-field__clear{background:var(--text-tertiary);width:20px;height:20px;color:var(--surface);border-radius:999px;flex:none;place-items:center;display:grid}.search-field__clear:active{transform:scale(var(--press-scale))}@media (prefers-reduced-motion:no-preference){.search-field__clear{transition:transform var(--duration-press) var(--ease-out)}}.project-glyph{--tone:var(--glyph-neutral);--tone-soft:oklch(100% 5.96046e-8 none/.08);background:var(--tone-soft);width:28px;height:28px;color:var(--tone);border-radius:8px;flex:none;place-items:center;display:inline-grid;box-shadow:inset 0 0 0 1px oklch(100% 5.96046e-8 none/.04)}.project-glyph--large{border-radius:12px;width:44px;height:44px}.project-glyph__icon{fill:none;stroke:currentColor;width:16px;height:16px}.project-glyph--large .project-glyph__icon{width:22px;height:22px}.project-glyph--brand{--tone:var(--background);--tone-soft:var(--glyph-brand)}.project-glyph--red{--tone:var(--glyph-red);--tone-soft:color-mix(in oklch, var(--red) 16%, transparent)}.project-glyph--orange{--tone:var(--glyph-orange);--tone-soft:color-mix(in oklch, var(--tone) 16%, transparent)}.project-glyph--yellow{--tone:var(--glyph-yellow);--tone-soft:color-mix(in oklch, var(--tone) 16%, transparent)}.project-glyph--green{--tone:var(--glyph-green);--tone-soft:color-mix(in oklch, var(--green) 16%, transparent)}.project-glyph--teal{--tone:var(--glyph-teal);--tone-soft:color-mix(in oklch, var(--tone) 16%, transparent)}.project-glyph--cyan{--tone:var(--glyph-cyan);--tone-soft:color-mix(in oklch, var(--tone) 16%, transparent)}.project-glyph--blue{--tone:var(--glyph-blue);--tone-soft:color-mix(in oklch, var(--blue) 16%, transparent)}.project-glyph--purple{--tone:var(--glyph-purple);--tone-soft:color-mix(in oklch, var(--tone) 16%, transparent)}.project-glyph--magenta{--tone:var(--glyph-magenta);--tone-soft:color-mix(in oklch, var(--tone) 16%, transparent)}.project-glyph--pink{--tone:var(--glyph-pink);--tone-soft:color-mix(in oklch, var(--tone) 16%, transparent)}.project-link{grid-template-columns:28px 1fr auto}.project-detail{max-width:var(--content-width);flex-direction:column;gap:22px;margin:0 auto;display:flex}.project-conversation{border-radius:var(--radius);background:var(--surface);box-shadow:inset 0 0 0 1px var(--hairline);transition:background .12s var(--ease-out);align-items:center;gap:14px;padding:14px 12px 14px 14px;display:flex}.project-conversation:active{background:var(--surface-pressed)}.project-conversation__body{flex-direction:column;flex:1;gap:4px;display:flex}.project-conversation__label{font-size:16px;font-weight:600}.project-conversation__status{color:var(--text-secondary);align-items:center;gap:7px;font-size:13px;display:flex}.empty-state__glyph{background:var(--surface-raised);width:64px;height:64px;color:var(--text-secondary);border-radius:18px;place-items:center;display:grid}.empty-state--inline{margin:8px auto 0}.agent-row__count{white-space:nowrap;flex:none}.routes,.route-page,.tab-screen{height:100%}.tab-screen--hidden{display:none}.status-dot--failed{background:var(--red)}.pull-request__state{color:var(--green);margin-inline-start:6px;font-size:12px;font-weight:600}.agent-row__pull-request--merged,.pull-request--merged .pull-request__icon,.pull-request__state--merged{color:var(--purple)}.agent-row__pull-request--closed,.pull-request--closed .pull-request__icon,.pull-request__state--closed{color:var(--red)}.agent-row__pull-request--draft,.pull-request--draft .pull-request__icon,.pull-request__state--draft{color:var(--text-tertiary)}.stream-note--error{color:var(--text-secondary);flex-direction:column;align-items:center;gap:10px;display:flex}.project-done{flex-direction:column;gap:8px;display:flex}.project-done__toggle{letter-spacing:.02em;color:var(--text-tertiary);align-self:flex-start;align-items:baseline;gap:8px;margin:0 0 0 4px;padding:4px 0;font-size:13px;font-weight:600;display:flex}.project-done__chevron{align-self:center}@media (prefers-reduced-motion:no-preference){.project-done__chevron{transition:transform .16s var(--ease-out)}}.project-done__chevron--open{transform:rotate(180deg)}.project-detail .agent-sections{width:100%}.status-dot--needs-input{background:var(--amber);box-shadow:0 0 10px color-mix(in oklch, var(--amber) 60%, transparent)}.agent-row--unread .agent-row__title{font-weight:700}.agent-row__unread{background:var(--blue);vertical-align:middle;border-radius:999px;width:7px;height:7px;margin:0 6px 2px 0;display:inline-block}.agent-row__needs-input{color:var(--amber);flex:none}.agent-row__pull-request--conflict{color:var(--amber)}.agent-row__pull-request--failing{color:var(--red)}.agent-row__pull-request--ready,.agent-row__pull-request--open{color:var(--green)}.agent-row__pull-request--review{color:var(--pr-review)}.live-pill{z-index:60;border:1px solid var(--hairline-strong);background:var(--glass);backdrop-filter:blur(14px);color:var(--text-secondary);white-space:nowrap;pointer-events:none;opacity:0;animation:live-pill-in .3s var(--ease-out) 3s forwards;border-radius:999px;padding:5px 12px;font-size:12px;line-height:16px;position:fixed}.live-pill--bar{inset-block-start:calc(var(--safe-top) + 17px);inset-inline-start:calc(env(safe-area-inset-left,0px) + 16px)}.live-pill--below-nav,.live-pill--below-tabs{inset-block-start:calc(var(--safe-top) + 64px);inset-inline-start:50%;transform:translate(-50%)}.live-pill--below-tabs{inset-block-start:calc(var(--safe-top) + 112px)}@keyframes live-pill-in{to{opacity:1}}.app-update{z-index:5;background:var(--surface-raised);height:38px;box-shadow:inset 0 0 0 1px var(--hairline-strong);color:var(--text);white-space:nowrap;border-radius:999px;align-items:center;gap:6px;padding:0 14px 0 12px;font-size:14px;font-weight:600;display:inline-flex;position:fixed;inset-block-start:calc(var(--safe-top) + 11px);inset-inline-start:calc(env(safe-area-inset-left,0px) + 16px)}.app-update:active{transform:scale(var(--press-scale))}@media (prefers-reduced-motion:no-preference){.app-update{transition:transform var(--duration-press) var(--ease-out)}}.app-update .icon{width:16px;height:16px;color:var(--green)}.app-update--installing{color:var(--text-secondary)}.settings__group{display:contents}.window-edge__loading{color:var(--text-tertiary);align-items:center;gap:8px;font-size:12.5px;display:inline-flex}.run-origin{color:var(--text-tertiary);margin:0;font-size:12.5px}.run-origin__link{color:var(--text-secondary);text-decoration:underline;text-decoration-color:var(--hairline-strong);text-underline-offset:2px}.run-updates__list{border-inline-start:1px solid var(--hairline);flex-direction:column;gap:2px;margin:4px 0 0;padding:0 0 0 12px;list-style:none;display:flex}.run-updates__row{min-height:28px;color:var(--text-secondary);justify-content:space-between;align-items:center;gap:8px;font-size:13px;display:flex}.run-updates__text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.worker-report{border-radius:var(--radius-small);background:var(--surface);box-shadow:inset 0 0 0 1px var(--hairline);flex-direction:column;gap:6px;padding:10px 12px;display:flex}.worker-report__header{align-items:center;gap:6px;font-size:13px;font-weight:600;display:flex}.worker-report__icon{color:var(--text-tertiary);flex:none}.worker-report__name{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.worker-report__name .run-origin__link{color:var(--text);text-decoration:none}.worker-report__state{color:var(--green);background:color-mix(in oklch, var(--green) 12%, transparent);border-radius:999px;flex:none;margin-inline-start:auto;padding:1px 8px;font-size:11.5px;font-weight:600}.worker-report__state--failed{color:var(--red);background:color-mix(in oklch, var(--red) 12%, transparent)}.worker-report__summary{color:var(--text-secondary);-webkit-line-clamp:3;-webkit-box-orient:vertical;font-size:13.5px;line-height:1.5;display:-webkit-box;overflow:hidden}.run-origin--trouble{color:var(--amber);align-items:center;gap:6px;display:flex}.voice{align-items:center;gap:8px;margin-inline:auto 8px;display:inline-flex}.voice__notice{text-align:end;max-width:170px;color:var(--text-tertiary);font-size:12px;line-height:1.3}.round-button--quiet{background:var(--surface-pressed);color:var(--text-secondary)}.round-button--recording{background:var(--red)}@media (prefers-reduced-motion:no-preference){.round-button--recording{animation:1.4s ease-out infinite voice-ring}}.voice__meter{flex:none;align-items:center;gap:3px;height:22px;display:inline-flex}.voice__bar{background:var(--text-tertiary);width:3px;height:5px;transition:background .12s var(--ease-out);border-radius:999px}@media (prefers-reduced-motion:no-preference){.voice__bar{transition:height .12s var(--ease-out), background .12s var(--ease-out)}}.voice__bar--lit{background:var(--text)}.voice__bar--lit:first-child,.voice__bar--lit:nth-child(5){height:10px}.voice__bar--lit:nth-child(2),.voice__bar--lit:nth-child(4){height:16px}.voice__bar--lit:nth-child(3){height:22px}.voice__pulse{background:var(--red);border-radius:999px;flex:none;width:10px;height:10px;animation:1.2s ease-in-out infinite pulse}@keyframes voice-ring{0%{box-shadow:0 0 0 0 color-mix(in oklch, var(--red) 45%, transparent)}to{box-shadow:0 0 0 10px #0000}}.prompt-voice{justify-content:flex-end;margin-block-start:-6px;display:flex}.prompt-voice .voice{margin-inline-end:0}.attach-button{cursor:pointer;flex:none;margin-inline-end:8px;position:relative}.attach-button:focus-within{outline:2px solid var(--blue);outline-offset:2px}.attach-button--disabled{opacity:.25;cursor:default}.attach-button:active:not(.attach-button--disabled){transform:scale(var(--press-scale))}.attachments{flex-direction:column;gap:6px;display:flex}.attachments__list{overscroll-behavior-x:contain;gap:8px;margin:0;padding:6px 0 0;list-style:none;display:flex;overflow-x:auto}.attachment{flex:none;width:56px;height:56px;position:relative}.attachment__image,.attachment__placeholder{border-radius:var(--radius-small);width:100%;height:100%;box-shadow:inset 0 0 0 1px var(--hairline-strong)}.attachment__image{object-fit:cover}.attachment__placeholder{color:var(--text-tertiary);background:var(--surface-pressed);place-items:center;display:grid}.attachment__overlay{border-radius:var(--radius-small);background:oklch(0% none none/.45);place-items:center;display:grid;position:absolute;inset:0}.attachment__retry{color:var(--text)}.attachment--failed .attachment__image,.attachment--failed .attachment__placeholder{box-shadow:inset 0 0 0 2px var(--red)}.attachment__remove{width:22px;height:22px;color:var(--text);background:var(--surface-pressed);box-shadow:0 0 0 2px var(--surface-raised);border-radius:999px;place-items:center;display:grid;position:absolute;inset-block-start:-6px;inset-inline-end:-6px}.attachment__remove:active{transform:scale(var(--press-scale))}@media (prefers-reduced-motion:no-preference){.attachment__remove{transition:transform var(--duration-press) var(--ease-out)}}.attachments__notice{color:var(--text-tertiary);margin:0;font-size:12px;line-height:1.3}.prompt__images,.prompt__steer,.queue__images{color:var(--text-tertiary);align-items:center;gap:4px;font-size:12px;display:inline-flex}.list-row--more{min-height:42px;color:var(--blue);justify-content:center;font-size:14px}terminal-scroll-area{display:block}.pull-refresh{--terminal-pull-refresh-color:var(--text-secondary);min-height:100%}terminal-action-drawer{--terminal-action-drawer-lift-surface:var(--surface-raised);--terminal-action-drawer-lift-radius:var(--radius);--terminal-action-drawer-text:var(--text);--terminal-action-drawer-danger:var(--red);--terminal-action-drawer-focus:var(--blue)}.agent-swipe{--terminal-swipe-leading-fill:var(--amber);--terminal-swipe-trailing-fill:var(--red)}.agent-swipe--archived{--terminal-swipe-trailing-fill:var(--amber)}.swipe-action{color:#fff;font:600 12px/1.1 var(--font);border:0;flex-direction:column;justify-content:center;align-items:center;gap:4px;padding:0 6px;display:flex}.swipe-action--pin{background:var(--amber);color:var(--on-amber)}.swipe-action--more{background:var(--swipe-more)}.swipe-action--archive{background:var(--red)}.swipe-action__icon{width:20px;height:20px}.toast{z-index:4;max-width:calc(var(--content-width) - 32px);border-radius:var(--radius);background:var(--surface-raised);min-height:48px;box-shadow:inset 0 0 0 1px var(--hairline-strong), 0 12px 32px oklch(0% none none/.45);animation:fade-in .22s var(--ease-out);align-items:center;gap:12px;margin:0 auto;padding:6px 6px 6px 16px;display:flex;position:fixed;inset-block-end:calc(24px + var(--safe-bottom));inset-inline:16px}@media (prefers-reduced-motion:no-preference){.toast{animation:toast-in .22s var(--ease-out)}}.screen--tabbed .toast{inset-block-end:calc(136px + var(--safe-bottom))}.toast__text{text-overflow:ellipsis;white-space:nowrap;color:var(--text);flex:1;font-size:15px;overflow:hidden}.toast__action{border-radius:var(--radius-small);color:var(--blue);font:600 15px var(--font);background:0 0;border:0;flex:none;padding:8px 12px}.toast__action:active{background:var(--surface-pressed);transform:scale(var(--press-scale))}@media (prefers-reduced-motion:no-preference){.toast__action{transition:transform var(--duration-press) var(--ease-out)}}@keyframes toast-in{0%{opacity:0;transform:translateY(12px)}}.activity{flex-direction:column;gap:6px;padding:2px 0;display:flex}.activity__line{min-height:26px;color:var(--text-secondary);align-items:center;gap:8px;font-size:13.5px;display:flex}.activity__dot{background:var(--blue);border-radius:999px;flex:none;width:7px;height:7px;animation:1.2s ease-in-out infinite pulse}.activity__line--waiting .activity__dot{background:var(--amber);animation-duration:2.4s}.activity__dot--quiet{background:var(--text-tertiary);animation:none}.activity__label{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.activity__line--working .activity__label{background:linear-gradient(90deg, var(--text-secondary) 0%, var(--text) 50%, var(--text-secondary) 100%);color:#0000;background-size:200% 100%;background-clip:text}@media (prefers-reduced-motion:no-preference){.activity__line--working .activity__label{animation:2.4s linear infinite shimmer}}.activity__code{font-family:var(--font-mono);margin-inline-start:6px;font-size:12.5px}.activity__line--working .activity__code{color:var(--text)}.activity__separator,.activity__elapsed{color:var(--text-tertiary);font-variant-numeric:tabular-nums;flex:none;font-size:12.5px}.activity__line--quiet{color:var(--text-tertiary)}.activity__refresh{background:var(--surface-raised);box-shadow:inset 0 0 0 1px var(--hairline);color:var(--text-secondary);border-radius:999px;flex:none;align-items:center;gap:6px;margin-inline-start:auto;padding:4px 10px;font-size:12.5px;display:inline-flex}.activity__refresh .icon,.activity__refresh .spinner{width:13px;height:13px}.activity__refresh:active:not(:disabled){background:var(--surface-pressed);transform:scale(var(--press-scale))}@media (prefers-reduced-motion:no-preference){.activity__refresh{transition:transform var(--duration-press) var(--ease-out)}}.activity__thought{-webkit-line-clamp:2;line-clamp:2;text-align:start;color:var(--text-tertiary);white-space:pre-wrap;overflow-wrap:anywhere;-webkit-box-orient:vertical;margin-inline-start:15px;padding:0;font-size:12.5px;font-style:italic;line-height:1.5;display:-webkit-box;overflow:hidden}.activity__thought--open{overscroll-behavior:contain;-webkit-line-clamp:unset;line-clamp:unset;max-height:40vh;display:block;overflow:auto}.activity__todos{flex-direction:column;gap:8px;margin-inline-start:15px;display:flex}.activity__todos-summary{text-align:start;color:var(--text-tertiary);align-items:center;gap:7px;padding:0;font-size:12.5px;display:flex}.activity__todos-count{color:var(--text-secondary);font-variant-numeric:tabular-nums;flex:none}.activity__todos-current{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.activity__chevron{opacity:.7;flex:none}@media (prefers-reduced-motion:no-preference){.activity__chevron{transition:transform .2s var(--ease-out)}}.activity__todos-summary[aria-expanded=true] .activity__chevron{transform:rotate(90deg)}.feedback{block-size:100dvh;max-block-size:none;inline-size:100%;max-inline-size:none;padding:calc(8px + var(--safe-top)) 12px calc(12px + var(--safe-bottom));grid-template-rows:auto minmax(0,1fr) auto auto auto;gap:10px;margin:0;display:grid}.feedback__bar{justify-content:space-between;align-items:center;gap:12px;display:flex}.feedback__destination{border-radius:var(--radius-small);color:var(--text);grid-template-columns:auto auto;place-items:center;column-gap:4px;padding:4px 12px;display:grid}.feedback__destination .popup__heading{grid-column:1/-1}.feedback__destination:active{background:var(--surface-pressed)}.feedback__destination-name{align-items:center;gap:6px;font-weight:600;display:inline-flex}.feedback__stage{place-items:center;min-block-size:0;display:grid;container-type:size}.feedback__shot{inline-size:min(100cqi, 100cqb * var(--shot-ratio));border:1px solid var(--hairline-strong);border-radius:var(--radius);position:relative;overflow:hidden}.feedback__image,.feedback__canvas{block-size:100%;inline-size:100%;position:absolute;inset:0}.feedback__image{pointer-events:none;-webkit-user-select:none;user-select:none;display:block}.feedback__canvas{touch-action:none}.feedback__stroke{fill:none;stroke:var(--ink);stroke-width:var(--feedback-stroke);stroke-linecap:round;stroke-linejoin:round}.feedback__ink--red{--ink:var(--red)}.feedback__ink--yellow{--ink:var(--amber)}.feedback__ink--blue{--ink:var(--blue)}.feedback__ink--white{--ink:var(--text)}.feedback__tools{justify-content:space-between;align-items:center;gap:12px;display:flex}.feedback__swatches{gap:14px;padding-inline:6px;display:flex}.feedback__swatch{background:var(--ink);border-radius:999px;block-size:28px;inline-size:28px}.feedback__swatch[aria-checked=true]{box-shadow:0 0 0 3px var(--background), 0 0 0 5px var(--ink)}.feedback__note{resize:none;border:1px solid var(--hairline-strong);border-radius:var(--radius);background:var(--surface);inline-size:100%;color:var(--text);font:inherit;padding:10px 14px}.feedback__note::placeholder{color:var(--text-tertiary)}
