.entry-bootstrap-shell{min-height:100dvh;color:var(--text);background:var(--canvas);place-items:center;padding:24px;display:grid}.entry-bootstrap-card{border:1px solid var(--border);background:var(--surface);width:min(100%,440px);box-shadow:var(--shadow-float);text-align:center;border-radius:16px;padding:32px}.entry-bootstrap-mark{width:40px;height:40px;color:var(--danger);background:color-mix(in srgb, var(--danger) 10%, transparent);border-radius:50%;place-items:center;margin:0 auto 18px;font-weight:700;display:grid}.entry-bootstrap-card h1{margin:0;font-size:22px}.entry-bootstrap-card p{color:var(--text-secondary);margin:12px 0 24px;line-height:1.5}.entry-bootstrap-card button,.entry-bootstrap-authorization-link{border:1px solid var(--border-strong);min-width:112px;min-height:38px;color:var(--text);background:var(--surface);cursor:pointer;border-radius:9px;justify-content:center;align-items:center;padding:8px 18px;font-weight:600;text-decoration:none;display:inline-flex}.entry-bootstrap-card button:hover,.entry-bootstrap-authorization-link:hover{background:var(--surface-hover)}.entry-bootstrap-loading{color:var(--text-secondary);justify-items:center;gap:16px;display:grid}.web-update-notice{z-index:100;top:calc(max(12px, env(safe-area-inset-top)) + 52px);right:max(12px, env(safe-area-inset-right));border:1px solid var(--border-strong);background:var(--surface);max-width:calc(100vw - 24px);color:var(--text);box-shadow:var(--shadow-float);border-radius:12px;flex-wrap:wrap;align-items:center;gap:12px;padding:12px 16px;font-size:14px;display:flex;position:fixed}.web-update-notice button{border:1px solid var(--border-strong);min-height:44px;color:var(--text);background:var(--surface-hover);cursor:pointer;border-radius:8px;padding:8px 14px}:root{color:#1f1f1f;font-synthesis:none;--canvas:#fff;--sidebar:#f7f6f3;--surface:#fff;--surface-subtle:#f7f7f5;--surface-hover:#efeeeb;--text:#1f1f1f;--text-secondary:#66645f;--text-tertiary:#85827c;--border:#e4e2de;--border-strong:#cbc8c1;--focus:#1677ff;--success:#18794e;--warning:#946800;--danger:#b42318;--mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;--shadow-float:0 12px 32px #1e1c181a, 0 2px 8px #1e1c180f;--surface-secondary:var(--surface-subtle);--text-primary:var(--text);--code-added:#e7f5eb;--code-deleted:#ffebe9;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--shadow-modal:0 24px 64px #1e1c182e;background:#fff;font-family:system-ui,PingFang SC,Microsoft YaHei,Noto Sans CJK SC,sans-serif}*{box-sizing:border-box}html,body,#root{min-width:320px;min-height:100%}body{background:var(--canvas);margin:0;overflow:hidden}button,input,select,textarea{font:inherit}button{color:inherit}button,select{min-height:40px}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid var(--focus);outline-offset:2px}button:disabled{cursor:default;opacity:.48}.app{grid-template-columns:272px minmax(0,1fr);height:100dvh;display:grid;overflow:hidden}.sidebar{background:var(--sidebar);border-right:1px solid var(--border);flex-direction:column;min-height:0;padding:18px 12px 14px;display:flex}.side-head{justify-content:space-between;align-items:center;margin:0 6px 22px;display:flex}.logo{color:var(--text);align-items:center;gap:10px;font-size:14px;font-weight:650;display:flex}.logo>span{color:#fff;width:30px;height:30px;font:600 13px var(--mono);background:#242424;border-radius:8px;place-items:center;display:grid}.logo div{line-height:1}.logo small{color:var(--text-tertiary);font:500 8px var(--mono);letter-spacing:.08em;margin-top:5px;display:block}.eyebrow{color:var(--text-tertiary);font:600 10px var(--mono);letter-spacing:.08em;text-transform:uppercase;margin:0 7px 7px}.projects-heading{z-index:15;justify-content:space-between;align-items:center;min-height:30px;padding:0 5px 5px 7px;display:flex;position:relative}.projects-heading>.eyebrow{margin:0}.remote-project-actions{position:relative}.remote-project-action-group{align-items:center;gap:2px;display:flex}.project-add-trigger,.project-share-trigger{width:28px;min-height:28px;color:var(--text-secondary);cursor:pointer;background:0 0;border:0;border-radius:7px;place-items:center;padding:0;font-size:20px;line-height:1;display:grid}.project-add-trigger:hover,.project-add-trigger[aria-expanded=true],.project-share-trigger:hover,.project-share-trigger[aria-expanded=true]{color:var(--text);background:var(--surface-hover)}.project-share-trigger{font-size:17px}.project-add-menu,.remote-project-management{z-index:70;border:1px solid var(--border);background:var(--surface);box-shadow:var(--shadow-float);position:absolute;top:-2px;left:calc(100% + 8px)}.project-add-menu{border-radius:11px;width:220px;padding:5px;display:grid}.project-add-menu button{text-align:left;cursor:pointer;background:0 0;border:0;border-radius:7px;grid-template-columns:22px minmax(0,1fr);align-items:center;min-height:38px;padding:6px 9px;font-size:12px;display:grid}.project-add-menu button:hover,.project-add-menu button:focus-visible{background:var(--surface-hover)}.project-add-menu button span{color:var(--text-tertiary);font-size:15px}.remote-project-management{border-radius:13px;gap:14px;width:min(360px,100vw - 316px);max-height:calc(100dvh - 32px);padding:16px;display:grid;overflow-y:auto}.remote-project-management>header{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.remote-project-management h2,.remote-project-management p{margin:0}.remote-project-management header span{color:var(--text-tertiary);font:600 9px var(--mono);letter-spacing:.08em;text-transform:uppercase}.remote-project-management h2{margin-top:4px;font-size:15px}.remote-project-management form,.remote-project-management output{gap:8px;display:grid}.project-authorization-tabs{background:var(--surface-subtle);border-radius:9px;grid-template-columns:1fr 1fr;gap:3px;padding:3px;display:grid}.project-authorization-tabs button{min-height:34px;color:var(--text-secondary);cursor:pointer;background:0 0;border:0;border-radius:7px;padding:0 8px;font-size:11px;font-weight:600}.project-authorization-tabs button[aria-selected=true]{color:var(--text);background:var(--surface);box-shadow:0 1px 3px #00000014}.remote-project-management [role=tabpanel]{display:grid}.remote-project-management label{color:var(--text-secondary);font-size:11px;font-weight:600}.remote-project-management input,.remote-project-management select{border:1px solid var(--border-strong);background:var(--surface);border-radius:8px;width:100%;min-height:40px;padding:0 10px}.remote-project-management form>button{color:#fff;cursor:pointer;background:#242424;border:1px solid #242424;border-radius:8px;min-height:40px;padding:0 12px}.remote-project-management small,.remote-project-management output span{color:var(--text-tertiary);font-size:10px;line-height:1.45}.remote-project-management output{color:var(--success);background:color-mix(in srgb, var(--success) 8%, var(--surface));border-radius:8px;padding:10px}.remote-project-success{pointer-events:none;z-index:70;border:1px solid color-mix(in srgb, var(--success) 35%, var(--border));width:min(360px,100vw - 316px);color:var(--success);background:color-mix(in srgb, var(--success) 8%, var(--surface));box-shadow:var(--shadow-float);border-radius:8px;gap:3px;padding:10px 12px;font-size:11px;line-height:1.45;display:grid;position:absolute;top:-2px;left:calc(100% + 8px)}.remote-project-success span{color:var(--text-tertiary);font-size:10px}.workspace-selector{grid-template-columns:minmax(0,1fr) auto;align-items:stretch;margin-bottom:7px;display:grid;position:relative}.workspace-selector>.project-switcher{grid-area:1/1}.workspace-selector>.workspace-activity{grid-area:1/2}.workspace-selector>.bounded-index-status{min-width:0;color:var(--text-tertiary);overflow-wrap:anywhere;grid-area:2/1/auto/-1;padding:5px 2px 0;font-size:10px;line-height:1.5}.workspace-selector:not(:has(.workspace-activity)) .project-switcher{grid-column:1/-1}.workspace-selector:not(:has(.workspace-activity)) .project-switcher-trigger{border-radius:9px}.project-switcher-trigger:disabled{cursor:default}.project-switcher{min-width:0;position:relative}.project-switcher-trigger{border:1px solid var(--border);background:var(--surface);text-align:left;cursor:pointer;border-radius:9px 0 0 9px;align-items:center;gap:9px;width:100%;min-width:0;height:100%;min-height:48px;padding:6px 10px;display:flex}.project-switcher-trigger:hover,.project-switcher-trigger[aria-expanded=true]{border-color:var(--border-strong);background:var(--surface-hover)}.project-trigger-copy,.project-option-copy{min-width:0;display:grid}.project-trigger-copy strong,.project-trigger-copy small,.project-option-copy strong,.project-option-copy small,.project-option-copy span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.project-trigger-copy strong,.project-option-copy strong{color:var(--text);font-size:12px;font-weight:620}.project-trigger-copy small,.project-option-copy small{color:var(--text-tertiary);margin-top:2px;font-size:10px}.project-chevron{color:var(--text-tertiary);margin-left:auto}.project-switcher-popover{z-index:20;min-inline-size:0;border:1px solid var(--border);background:var(--surface);width:min(360px,100%);max-height:min(480px,65dvh);box-shadow:var(--shadow-float);border-radius:11px;flex-direction:column;margin:0;padding:0;display:flex;position:absolute;top:calc(100% + 6px);left:0;overflow:hidden}.project-switcher-heading{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;padding:12px 14px;font-size:12px;display:flex}.project-switcher-heading>span{color:var(--text-tertiary);font-variant-numeric:tabular-nums}.project-switcher-options{overscroll-behavior:contain;scrollbar-width:thin;min-height:0;padding:6px;overflow-y:auto}.project-switcher-footer{border-top:1px solid var(--border);background:var(--surface);flex-shrink:0;gap:8px;padding:10px 12px;display:grid}.project-switcher-footer small{color:var(--text-tertiary);overflow-wrap:anywhere;font-size:11px;line-height:1.5}.project-switcher-popover [role=option]{text-align:left;cursor:pointer;background:0 0;border:0;border-radius:7px;grid-template-columns:10px minmax(0,1fr) auto;align-items:center;gap:9px;width:100%;min-height:54px;padding:7px 9px;display:grid}.project-switcher-popover [role=option]:hover,.project-switcher-popover [role=option]:focus-visible,.project-switcher-popover [role=option][aria-selected=true]{background:var(--surface-hover)}.project-switcher-popover [role=option][aria-selected=true]{box-shadow:inset 2px 0 var(--text-secondary)}.project-switcher-popover [role=option]:disabled{opacity:1;cursor:not-allowed}.project-switcher-popover [role=option]:disabled .project-option-copy strong,.project-switcher-popover [role=option]:disabled .project-option-copy span{color:var(--text-tertiary)}.project-option-copy span{color:var(--text-secondary);margin-top:3px;font-size:10px}.project-option-counts{max-width:105px;color:var(--text-secondary);text-align:right;font-size:9px;line-height:1.4}.workspace-activity{z-index:2;display:flex;position:relative}.workspace-activity>button{border:1px solid var(--border);min-width:40px;height:100%;min-height:48px;color:var(--text-secondary);background:var(--surface);cursor:pointer;border-left:0;border-radius:0 9px 9px 0;align-items:center;gap:6px;padding:0 9px;font-size:10px;font-weight:600;display:flex}.status-dot,.thread-dot{background:#aaa7a0;border-radius:50%;flex:none;width:8px;height:8px}.status-dot.running,.thread-dot.running{background:var(--success)}.thread-dot.starting{background:#4a83c6}.thread-dot.waitingInput{background:#d29128}.thread-dot.failed{background:var(--danger)}.status-dot.unknown,.thread-dot.unknown{background:0 0;border:1px solid #8c8982}.workspace-activity-popover{z-index:5;overflow-wrap:anywhere;border:1px solid var(--border);min-width:0;max-height:200px;color:var(--text-secondary);background:var(--surface);border-radius:9px;margin-top:6px;padding:10px 12px;font-size:11px;line-height:1.7;display:grid;position:absolute;inset:100% 0 auto;overflow-y:auto;box-shadow:0 12px 30px #0000001a}.workspace-activity-counts{flex-wrap:wrap;gap:0 10px;display:flex}.workspace-activity-popover strong{color:var(--text)}.workspace-activity-popover small{color:var(--text-tertiary);line-height:1.4}.workspace-activity-popover button{min-height:32px;color:var(--text-secondary);text-align:left;background:0 0;border:0;border-radius:6px;align-items:center;gap:8px;padding:4px 6px;display:flex}.workspace-activity-popover button>span[data-i18n-ignore]{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.workspace-activity-popover button:hover{background:var(--surface-hover)}.add-workspace,.new-thread{text-align:left;cursor:pointer;background:0 0;border:0;border-radius:7px;align-items:center;gap:9px;width:100%;padding:0 10px;display:flex}.add-workspace{color:var(--text-secondary)}.new-thread{color:var(--text);margin-top:2px;font-weight:550}.add-workspace:hover,.new-thread:hover{background:var(--surface-hover)}.new-thread kbd{margin-left:auto}.thread-label{color:var(--text-tertiary);font:10px var(--mono);align-items:center;gap:6px;margin:24px 7px 8px;display:flex}.thread-label .eyebrow{margin:0 auto 0 0}.navigation-stale-notice{color:var(--text-tertiary);margin:0 7px 8px;font-size:11px;line-height:1.4}.thread-tools{gap:7px;margin:0 5px 10px;display:grid}.thread-search{border:1px solid var(--border);min-height:34px;color:var(--text-tertiary);background:var(--surface);border-radius:8px;align-items:center;gap:7px;padding:0 10px;display:flex}.thread-search:focus-within{border-color:var(--focus);box-shadow:0 0 0 2px var(--focus-ring)}.thread-search input{min-width:0;color:var(--text);font:12px var(--sans);background:0 0;border:0;outline:0;padding:0}.thread-filters{border:0;gap:5px;margin:0;padding:0;display:flex}.thread-filters button{min-height:28px;color:var(--text-tertiary);background:0 0;border:1px solid #0000;border-radius:999px;padding:0 9px;font-size:11px}.thread-filters button[aria-pressed=true]{border-color:var(--border);color:var(--text);background:var(--surface)}.thread-filters button span{color:var(--warning);font:10px var(--mono);margin-left:5px}.thread-lifecycle-filter{border:1px solid var(--border);background:var(--surface);max-width:100%;min-height:28px;color:var(--text);font:12px var(--sans);cursor:pointer;border-radius:6px;flex:none;padding:0 3px}.thread-lifecycle-filter:focus-visible{outline:2px solid var(--focus);outline-offset:1px}.task-lifecycle-controls{flex:none;align-items:center;gap:6px;display:flex}.task-lifecycle-controls button{white-space:nowrap}.task-lifecycle-notice{padding:8px 16px;display:block}@media (max-width:760px),(max-width:1000px) and (max-height:500px){.thread-lifecycle-filter{min-height:32px}.task-lifecycle-controls{flex-direction:column;align-items:stretch;width:100%}.top-actions .task-lifecycle-controls button{text-align:left;min-height:42px}}.thread-empty{color:var(--text-tertiary);text-align:center;margin:22px 10px;font-size:12px}.threads{flex-direction:column;flex:1;gap:2px;min-height:0;margin-inline:5px;display:flex;overflow:auto}.thread-load-more{border:1px solid var(--border);color:var(--text-secondary);background:var(--surface);cursor:pointer;border-radius:999px;align-self:center;margin:10px;padding:7px 12px}.thread-load-more:disabled{cursor:wait;opacity:.65}.thread-group{border:0;flex-direction:column;gap:2px;min-width:0;margin:0;padding:0;display:flex}.thread-group+.thread-group{margin-top:12px}.thread-group-label{color:var(--text-tertiary);font:600 9px var(--mono);letter-spacing:.08em;text-transform:uppercase;margin:2px 10px 4px}.thread-row{min-width:0;display:flex;position:relative}.threads .thread-open{min-height:46px;color:var(--text-secondary);text-align:left;cursor:pointer;background:0 0;border:0;border-radius:7px;flex:1;align-items:center;gap:9px;padding:7px 10px;display:flex}.threads .thread-open:hover,.thread-row.active .thread-open{color:var(--text);background:var(--surface-hover)}.thread-row.active .thread-open{box-shadow:inset 0 0 0 1px var(--border-strong)}.threads .thread-more{z-index:1;background:color-mix(in srgb, var(--surface-hover) 88%, transparent);text-align:center;border:0;border-radius:6px;justify-content:center;min-width:28px;min-height:28px;padding:0;display:none;position:absolute;top:4px;right:4px}.thread-row:hover .thread-more,.thread-row:focus-within .thread-more,.thread-more[aria-expanded=true]{display:flex}.thread-row:has(.thread-more) .thread-open{padding-right:38px}.thread-task-menu{z-index:20;border:1px solid var(--border);background:var(--surface);min-width:132px;box-shadow:var(--shadow-lg);border-radius:9px;padding:5px;display:grid;position:absolute;top:44px;right:4px}.threads .thread-task-menu button{min-height:34px;color:var(--text);text-align:left;background:0 0;border:0;border-radius:6px;padding:6px 9px}.threads .thread-task-menu button:hover,.threads .thread-task-menu button:focus-visible{background:var(--surface-hover)}.task-dialog-backdrop{z-index:80;background:#1212125c;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.task-dialog{border:1px solid var(--border);background:var(--surface);width:min(390px,100%);box-shadow:var(--shadow-lg);border-radius:14px;gap:14px;padding:20px;display:grid}.task-dialog h2,.task-dialog p{margin:0}.task-dialog label{gap:7px;display:grid}.task-dialog input{border:1px solid var(--border-strong);border-radius:8px;min-height:42px;padding:0 11px}.task-dialog>div{justify-content:flex-end;gap:8px;display:flex}.task-dialog button{border:1px solid var(--border);background:var(--surface);border-radius:8px;min-height:38px;padding:0 13px}.task-dialog button:first-child{color:#fff;background:#242424;border-color:#242424}.thread-title{flex:1;gap:2px;min-width:0;display:grid}.threads strong{white-space:nowrap;text-overflow:ellipsis;max-width:100%;display:block;overflow:hidden}.thread-updated-at{color:var(--text-tertiary);font:10px / 1.2 var(--mono);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.thread-token-usage{color:var(--text-secondary);font:10px / 1.2 var(--mono);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.thread-date-group{border:0;flex-direction:column;gap:2px;min-width:0;margin:0;padding:0;display:flex}.thread-date-group+.thread-date-group{margin-top:8px}.thread-date-label{color:var(--text-tertiary);margin:2px 10px;font-size:10px;font-weight:500}.rich-workspace-file{color:var(--accent);font:inherit;cursor:pointer;background:0 0;border:0;padding:0;text-decoration:underline;display:inline}.thread-comments{border:1px solid var(--border);background:var(--surface);border-radius:20px;gap:12px;padding:16px;display:grid}.thread-comments h2{margin:0;font-size:15px}.thread-comment-list{gap:8px;max-height:220px;display:grid;overflow:auto}.thread-comment-list article{background:var(--surface-muted);border-radius:12px;padding:10px 12px}.thread-comment-list p{margin:0}.thread-comment-list time{color:var(--muted);font-size:12px}.thread-comments form{gap:8px;display:flex}.thread-comments textarea{resize:vertical;flex:1;min-height:64px}.threads strong{font-size:13px;font-weight:550}.thread-activity-status{color:var(--success);font:10px / 1.2 var(--mono);white-space:nowrap;flex:none;align-items:center;gap:5px;display:inline-flex}.thread-activity-status.starting{color:#4a83c6}.thread-activity-status.waitingInput{color:#d29128}.thread-activity-status.failed{color:var(--danger)}.thread-activity-indicator{border:1.5px solid;border-radius:50%;flex:none;width:12px;height:12px}.thread-activity-indicator.starting,.thread-activity-indicator.running{border-color:color-mix(in srgb, currentColor 28%, transparent);border-top-color:currentColor;animation:.8s linear infinite thread-activity-spin}.thread-activity-indicator.waitingInput,.thread-activity-indicator.failed{background:currentColor;border:0;width:8px;height:8px}@keyframes thread-activity-spin{to{transform:rotate(360deg)}}@media (prefers-reduced-motion:reduce){.thread-activity-indicator.starting,.thread-activity-indicator.running{animation:none}}.connection{border-top:1px solid var(--border);align-items:center;gap:9px;margin-top:auto;padding:14px 7px 0;display:flex}.connection i{background:var(--danger);border-radius:50%;flex:none;width:8px;height:8px}.connection i.online,.live.online:before{background:var(--success)}.connection strong,.connection small{display:block}.connection strong{font-size:11px;font-weight:600}.connection small{color:var(--text-tertiary);font:9px var(--mono);margin-top:3px}.connection .remote-authorization-scope{max-width:210px;color:var(--text-secondary);white-space:nowrap;text-overflow:ellipsis;margin-top:5px;font-size:10px;font-weight:600;display:block;overflow:hidden}.connection .remote-management-link{color:var(--accent);margin-top:6px;font-size:10px;font-weight:700;display:inline-flex}.connection .remote-management-link:hover{text-decoration:underline}.workspace-dialog-backdrop{z-index:50;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:#211f1b47;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.review-backdrop{z-index:55;background:#211f1b2e;justify-content:flex-end;display:flex;position:fixed;inset:0}.review-changes{border-left:1px solid var(--border);width:min(720px,72vw);height:100dvh;color:var(--text);background:var(--surface);box-shadow:var(--shadow-modal);grid-template-rows:auto minmax(0,1fr);display:grid}.review-changes>header{border-bottom:1px solid var(--border);justify-content:space-between;align-items:flex-start;gap:16px;padding:18px 20px;display:flex}.review-changes h2,.review-changes p{margin:0}.review-changes h2{font-size:16px}.review-changes p{color:var(--text-secondary);margin-top:4px;font-size:12px}.review-content{grid-template-columns:220px minmax(0,1fr);min-height:0;display:grid;overflow:hidden}.review-files{border-right:1px solid var(--border);background:var(--surface-subtle);min-width:0;padding:10px;overflow:auto}.review-files button{width:100%;min-height:42px;color:var(--text-secondary);text-align:left;background:0 0;border:1px solid #0000;border-radius:7px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:8px;padding:7px 9px;display:grid}.review-files button:hover,.review-files button.selected{border-color:var(--border);color:var(--text);background:var(--surface)}.review-kind{color:var(--text-tertiary);font:9px var(--mono);text-transform:uppercase}.review-kind.added{color:var(--success)}.review-kind.deleted{color:var(--danger)}.review-kind.renamed,.review-kind.binary,.review-kind.unknown{color:var(--warning)}.review-path{font:11px var(--mono);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.review-counts{font:10px var(--mono);white-space:nowrap}.review-file{min-width:0;overflow:auto}.review-file>header{z-index:1;border-bottom:1px solid var(--border);background:var(--surface);font:11px var(--mono);justify-content:space-between;gap:12px;padding:12px 16px;display:flex;position:sticky;top:0}.review-file>header span{color:var(--text-secondary)}.review-empty{color:var(--text-secondary);grid-column:1/-1;margin:auto}.review-content .diff{background:var(--surface-subtle);min-width:max-content;font:11px / 1.65 var(--mono);padding:10px 0 18px;overflow:auto}.native-review-backdrop{z-index:60;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:#211f1b47;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.native-review-dialog{border:1px solid var(--border);width:min(520px,100%);max-height:min(760px,100dvh - 40px);color:var(--text);background:var(--surface);box-shadow:var(--shadow-modal);border-radius:14px;gap:16px;padding:20px;display:grid;overflow:auto}.account-popover>header,.native-review-dialog>header,.native-review-dialog>footer{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.native-review-dialog h2,.native-review-dialog p{margin:0}.native-review-dialog h2{font-size:17px}.native-review-dialog header p{color:var(--text-secondary);margin-top:5px;font-size:12px}.native-review-targets{border:0;gap:7px;min-width:0;margin:0;padding:0;display:grid}.native-review-targets legend{color:var(--text-secondary);margin-bottom:7px;font-size:11px;font-weight:600}.native-review-targets label{border:1px solid var(--border);background:var(--surface-subtle);cursor:pointer;border-radius:9px;grid-template-columns:auto minmax(0,1fr);align-items:start;gap:10px;padding:10px 11px;display:grid}.native-review-targets label.selected{border-color:var(--border-strong);background:var(--surface)}.native-review-targets input{margin-top:2px}.native-review-targets strong,.native-review-targets small{display:block}.native-review-targets strong{font-size:12px}.native-review-targets small{color:var(--text-secondary);margin-top:2px;font-size:10px}.native-review-detail label{gap:6px;font-size:11px;font-weight:600;display:grid}.native-review-detail input,.native-review-detail textarea{border:1px solid var(--border-strong);width:100%;min-width:0;color:var(--text);background:var(--surface);font:12px var(--sans);border-radius:8px;padding:9px 10px}.native-review-detail textarea{resize:vertical;min-height:100px}.native-review-error{color:var(--danger);font-size:11px}.native-review-dialog>footer{justify-content:flex-end}.native-review-dialog>footer button{min-height:36px}.workspace-access{border:1px solid var(--border);width:min(560px,100%);max-height:min(720px,100dvh - 40px);color:var(--text);background:var(--surface);box-shadow:var(--shadow-modal);border-radius:14px;gap:16px;padding:22px;display:grid;overflow:auto}.workspace-dialog-header{justify-content:space-between;align-items:flex-start;gap:18px;display:flex}.workspace-dialog-header h2{letter-spacing:-.01em;margin:0;font-size:18px}.workspace-dialog-header p{color:var(--text-secondary);margin:6px 0 0;font-size:13px;line-height:1.45}.workspace-access [role=tablist]{background:var(--surface-subtle);border-radius:9px;grid-template-columns:repeat(3,1fr);gap:4px;padding:4px;display:grid}.workspace-access [role=tab]{color:var(--text-secondary);cursor:pointer;background:0 0;border:0;border-radius:6px;font-size:12px}.workspace-access [role=tab][aria-selected=true]{color:var(--text);background:var(--surface);box-shadow:0 1px 3px #1e1c181a}.workspace-access [role=tabpanel]{gap:10px;min-width:0;display:grid}.workspace-access input{border:1px solid var(--border-strong);width:100%;min-width:0;height:42px;color:var(--text);background:var(--surface);font:12px var(--mono);border-radius:7px;padding:0 11px}.workspace-access [role=tabpanel]>button,.workspace-preview button{border:1px solid var(--border);min-height:40px;color:var(--text);background:var(--surface);text-align:left;cursor:pointer;border-radius:7px;padding:8px 12px}.workspace-access [role=tabpanel]>button:hover{background:var(--surface-subtle)}.workspace-access [aria-label=Codex\ projects]>button strong{margin-bottom:4px;display:block}.workspace-preview{border:1px solid var(--border);background:var(--surface-subtle);border-radius:10px;gap:7px;min-width:0;margin:0;padding:16px;display:grid}.workspace-preview span,.workspace-preview small{color:var(--text-secondary);overflow-wrap:anywhere}.workspace-preview div{gap:8px;margin-top:6px;display:flex}.workspace-preview button:first-child{color:#fff;background:#242424;border-color:#242424}.revoke-workspace{min-height:36px;color:var(--danger);cursor:pointer;background:0 0;border:0;justify-self:start;padding:0;font-size:12px}main{--dock-reserved-height:250px;background:var(--canvas);flex-direction:column;min-width:0;min-height:0;display:flex;position:relative;overflow:hidden}.topbar{border-bottom:1px solid var(--border);background:var(--surface);flex:none;align-items:center;gap:12px;height:64px;padding:0 24px;display:flex}.codex-account-status{border-bottom:1px solid var(--border);color:var(--text-secondary);background:var(--surface-subtle);flex:none;align-items:flex-start;gap:10px;padding:9px 24px;display:flex}.codex-account-status-indicator{background:var(--warning);border-radius:50%;flex:none;width:7px;height:7px;margin-top:4px}.codex-account-status.ready .codex-account-status-indicator{background:var(--success)}.codex-account-status.login-active .codex-account-status-indicator{background:var(--warning)}.codex-account-status.unavailable .codex-account-status-indicator{background:var(--danger)}.codex-account-status>div{gap:2px;min-width:0;display:grid}.codex-account-status strong{color:var(--text-secondary);font-size:11px;font-weight:650}.codex-account-status div>span{color:var(--text-tertiary);font-size:10px;line-height:1.35}.codex-account-login{gap:6px;padding-top:3px;display:grid}.codex-account-login>span[role=alert]{color:var(--danger)}.codex-account-actions{flex-wrap:wrap;gap:8px;padding-top:4px;display:flex}.codex-account-actions button{border:1px solid var(--border-strong);min-height:44px;color:var(--text-primary);background:var(--surface);cursor:pointer;border-radius:8px;padding:0 12px;font-size:10px;font-weight:650}.codex-account-actions button:first-child{color:#fff;background:#242424;border-color:#242424}.codex-account-actions button:hover:not(:disabled){border-color:var(--text-tertiary)}.codex-account-actions button:disabled{cursor:wait;opacity:.55}.conversation-context{flex:1 1 0;min-width:0}.topbar h1{text-overflow:ellipsis;white-space:nowrap;margin:0 0 4px;font-size:14px;font-weight:650;overflow:hidden}.conversation-context>span{color:var(--text-tertiary);font:10px var(--mono);text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.thread-token-summary{border-bottom:1px solid var(--border);background:var(--surface-subtle);color:var(--text-tertiary);font:10px / 1.2 var(--mono);flex-wrap:wrap;flex:none;align-items:center;gap:8px;padding:8px 24px;display:flex}.thread-token-summary strong{color:var(--text-secondary);font-weight:650}.top-actions{flex:none;align-items:center;gap:8px;min-width:0;margin-left:auto;display:flex;position:relative}.top-actions button{border:1px solid var(--border);background:var(--surface);cursor:pointer;border-radius:7px;min-height:36px;padding:0 12px;font-size:12px}.top-action-link{border:1px solid var(--border);background:var(--surface);min-height:36px;color:var(--text);border-radius:7px;align-items:center;padding:0 12px;font-size:12px;text-decoration:none;display:inline-flex}.remote-authorization-page-icon{display:none}.top-actions>button{white-space:nowrap}.top-more-actions{position:relative}.top-actions .project-settings-trigger{place-items:center;min-width:40px;min-height:40px;padding-inline:0;display:inline-grid}.project-settings-trigger svg{width:24px;height:24px}.top-actions .mobile-actions-trigger{place-items:center;width:36px;padding:0;font-size:22px;display:inline-grid}.top-action-overflow,.account-popover{z-index:55;border:1px solid var(--border);background:var(--surface);width:min(260px,100vw - 24px);min-width:0;max-height:calc(100dvh - 88px);box-shadow:var(--shadow-md);border-radius:10px;margin:0;padding:6px;display:none;position:absolute;top:calc(100% + 8px);right:0;overflow-y:auto}.top-action-overflow.open:not([hidden]){display:grid}.top-action-overflow[hidden]{display:none}.top-action-group{gap:2px;padding:4px 0;display:grid}.top-action-group:empty{display:none}.top-action-group+.top-action-group{border-top:1px solid var(--border)}.top-action-overflow .task-lifecycle-controls{gap:2px;width:100%;display:grid}.top-action-overflow .top-action-group>button,.top-action-overflow .top-action-link,.top-action-overflow .task-lifecycle-controls>button,.top-action-overflow .remote-access-panel>button,.top-action-overflow .remote-authorization-page-link{width:100%;min-height:40px;color:var(--text);text-align:left;white-space:nowrap;background:0 0;border:0;border-radius:6px;justify-content:flex-start;align-items:center;padding:0 12px;font-size:12px;text-decoration:none;display:flex}.top-action-overflow button:hover:not(:disabled),.top-action-overflow a:hover{background:var(--surface-subtle)}.top-action-overflow button:focus-visible,.top-action-overflow a:focus-visible{outline:2px solid var(--focus);outline-offset:-2px}.top-action-overflow .language-switcher{margin:4px 8px;position:static}.top-action-overflow .remote-authorization-page-label{white-space:normal;display:inline}.top-action-overflow .remote-authorization-page-icon{display:none}.connection-status{min-height:36px;color:var(--text-secondary);white-space:nowrap;align-items:center;gap:8px;padding-left:4px;display:flex}.connection-status>span{background:var(--warning);border-radius:50%;flex:none;width:6px;height:6px}.connection-status.online>span{background:var(--success)}.connection-status.offline>span{background:var(--danger)}.connection-status>div{gap:2px;display:grid}.connection-status strong{color:var(--text-secondary);font:600 10px var(--mono)}.connection-status .remote-authorization-time{color:var(--text-tertiary);font:9px var(--mono)}.workspace-file-explorer{--workspace-file-columns:minmax(0, min(var(--file-navigation-width,240px), 35%)) minmax(0, 1fr);z-index:45;border-left:1px solid var(--border);width:auto;color:var(--text);background:var(--surface);grid-template-rows:auto minmax(0,1fr);display:grid;position:absolute;inset:64px 0 0;box-shadow:-12px 0 32px #1f1d1a1a}.workspace-shell.code-open:not(.files-docked) .workbench,.workspace-shell.code-open:not(.files-docked) :is(.dock,.scroll-latest){visibility:hidden}.workspace-shell.files-docked .workspace-file-explorer{z-index:8;left:0;right:var(--code-task-width);border-left:0;border-right:1px solid var(--border);width:auto;box-shadow:none}.workspace-shell.files-docked .workbench,.workspace-shell.files-docked.wide-layout .workbench{margin-left:calc(100% - var(--code-task-width));padding:20px 16px calc(var(--dock-reserved-height) + 24px);margin-right:0}.workspace-shell.files-docked .dock,.workspace-shell.files-docked.wide-layout .dock{left:calc(100% - var(--code-task-width));padding-inline:16px;right:0}.workspace-shell.files-docked .scroll-latest{right:calc(var(--code-task-width) / 2)}.workspace-file-explorer[hidden],.workspace-file-body[hidden],.workspace-file-explorer>header .code-return-task{display:none}.code-task-heading{color:var(--text-secondary);font:600 12px var(--mono);margin:0 0 16px}@media (max-width:1099px){.workspace-shell.code-open .workbench,.workspace-shell.code-open :is(.dock,.scroll-latest){visibility:hidden}.workspace-shell.files-docked .workspace-file-explorer{z-index:20;width:100%;left:0;right:0}.workspace-shell.files-docked .workbench{margin-left:0}.workspace-shell.files-docked .dock{left:0}.workspace-file-explorer>header .code-return-task{display:inline-flex}.workspace-file-explorer .workspace-file-dock{display:none}}.workspace-file-explorer>header{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:16px;min-height:58px;padding:8px 12px 8px 16px;display:flex}.workspace-file-explorer>header>div:first-of-type{flex:1;gap:3px;min-width:0;display:grid}.workspace-file-explorer>header>div:first-of-type span{color:var(--text-tertiary);font:600 9px var(--mono);letter-spacing:.08em;text-transform:uppercase}.workspace-file-explorer>header>div:first-of-type strong{text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.workspace-file-explorer>header>div:last-child{align-items:center;gap:6px;display:flex}.workspace-file-explorer>header button,.workspace-file-explorer>header label{border:1px solid var(--border);background:var(--surface);cursor:pointer;border-radius:7px;place-items:center;min-height:34px;padding:0 10px;font-size:11px;display:grid}.workspace-file-explorer>header label{position:relative;overflow:hidden}.workspace-file-explorer>header label.disabled{cursor:default;opacity:.48}.workspace-file-explorer>header input[type=file]{opacity:0;width:1px;height:1px;position:absolute}.workspace-file-body{grid-template-columns:var(--workspace-file-columns);min-height:0;display:grid}.workspace-file-body>nav{border-right:1px solid var(--border);background:var(--surface-subtle);min-width:0;padding:8px 6px 20px;overflow:auto}.workspace-file-scope{border:1px solid var(--border);background:var(--surface);color:var(--text-secondary);cursor:pointer;border-radius:6px;align-items:center;gap:7px;margin:0 2px 8px;padding:7px 8px;font-size:10px;display:flex}.workspace-file-scope>input{width:14px;height:14px;accent-color:var(--text-primary);margin:0}.workspace-upload-safety{background:var(--surface);color:var(--text-tertiary);border-radius:6px;margin:0 2px 8px;padding:7px 8px;font-size:10px;line-height:1.4}.workspace-file-body ul{margin:0;padding:0;list-style:none}.workspace-file-row{grid-template-columns:minmax(0,1fr) auto;align-items:center;width:100%;display:grid}.workspace-file-row>button:first-child{padding-block:7px;text-align:left;cursor:pointer;width:100%;min-height:30px;font:11px var(--mono);background:0 0;border:0;border-radius:5px;grid-template-columns:14px minmax(0,1fr);align-items:start;gap:4px;padding-right:8px;display:grid;overflow:hidden}.workspace-file-row>button:first-child:hover,.workspace-file-row>button:first-child.selected{background:var(--surface-hover)}.workspace-file-download{width:28px;height:28px;color:var(--text-secondary);cursor:pointer;background:0 0;border:0;border-radius:5px;place-items:center;padding:0;display:grid}.workspace-file-download.downloading{width:42px;font:9px var(--mono)}.workspace-file-download:hover:not(:disabled),.workspace-file-download:focus-visible{background:var(--surface-hover);color:var(--text-primary)}.workspace-file-download:disabled{cursor:wait;opacity:.5}.workspace-file-name{overflow-wrap:anywhere;white-space:normal;line-height:1.45}.workspace-file-preview{min-width:0;min-height:0;padding:16px;overflow:auto}.workspace-file-preview>p,.workspace-file-preview>div>p{color:var(--text-secondary);font-size:12px}.workspace-file-preview figure{align-content:center;place-items:center;gap:12px;min-height:100%;margin:0;display:grid}.workspace-file-preview img{object-fit:contain;max-width:100%;max-height:calc(100dvh - 180px)}.workspace-file-preview figcaption{color:var(--text-secondary);font:10px var(--mono)}.workspace-text-preview{grid-template-rows:auto minmax(0,1fr);gap:10px;min-height:100%;display:grid}.workspace-text-preview>header{color:var(--text-secondary);font:10px var(--mono);justify-content:space-between;gap:12px;display:flex}.workspace-text-preview pre{white-space:pre;min-width:max-content;font:11px / 1.55 var(--mono);margin:0}.workspace-file-error{z-index:1;color:var(--danger);background:color-mix(in srgb, var(--danger) 8%, var(--surface));padding:8px 12px;font-size:11px;position:absolute;top:58px;left:0;right:0}.icon{width:40px;min-height:40px;color:var(--text-secondary);cursor:pointer;background:0 0;border:0;border-radius:7px;flex-shrink:0;place-items:center;padding:0;font-size:18px;display:grid}.icon:hover{background:var(--surface-hover)}.mobile{display:none}.workspace-shell{--chat-width:840px}.workspace-shell.wide-layout{--chat-width:1040px}.workbench{min-height:0;padding:36px max(16px, calc((100% - var(--chat-width,760px)) / 2)) calc(var(--dock-reserved-height) + 24px);flex:1;overflow:hidden auto}.thread-loading-shell{width:100%;max-width:760px;color:var(--text-secondary);flex-direction:column;gap:12px;margin:0 auto;display:flex}.thread-loading-shell.failed{border:1px solid var(--border);background:var(--surface-subtle);border-radius:16px;align-items:flex-start;padding:22px}.thread-loading-shell.failed strong{color:var(--text)}.thread-loading-shell.failed button{border:1px solid var(--border);min-height:36px;color:var(--text);background:var(--surface);cursor:pointer;border-radius:10px;padding:0 14px}.task-read-actions{flex-wrap:wrap;gap:8px;display:flex}.task-read-actions button:disabled{cursor:default;opacity:.65}.task-read-details{align-self:stretch}.task-read-details pre{white-space:pre-wrap;overflow-wrap:anywhere;font:12px / 1.6 var(--mono);margin:6px 0}.task-read-details output{margin-top:6px;display:block}.thread-status-stack{z-index:1;gap:8px;width:100%;max-width:760px;margin:0 auto 18px;display:grid;position:relative}.thread-status-notice{box-sizing:border-box;border:1px solid var(--border);width:100%;color:var(--text-secondary);background:var(--surface-subtle);border-radius:10px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px 16px;margin:0;padding:10px 12px;font-size:12px;line-height:1.45;display:flex;position:relative}.thread-status-notice>span{overflow-wrap:anywhere;flex:320px;min-width:0}.thread-freshness-warning{border-color:color-mix(in srgb, var(--danger) 24%, var(--border))}.thread-status-notice button{border:1px solid var(--border);min-height:32px;color:var(--text-secondary);background:var(--surface);cursor:pointer;border-radius:8px;flex:none;padding:0 10px}.thread-freshness-warning button{color:var(--danger)}.thread-status-notice button:hover{color:var(--text);background:var(--surface-hover)}.thread-loading-line{background:var(--surface-subtle);border-radius:999px;width:100%;height:14px;animation:1.3s ease-in-out infinite thread-loading-pulse}.thread-loading-line.title{width:48%;height:18px}.thread-loading-line.short{width:68%}@keyframes thread-loading-pulse{50%{opacity:.45}}@media (prefers-reduced-motion:reduce){.thread-loading-line{animation:none}}.empty{max-width:420px;color:var(--text-secondary);text-align:center;margin:17vh auto 0}.empty-mark{border:1px solid var(--border);width:48px;height:48px;color:var(--text);background:var(--surface-subtle);border-radius:14px;place-items:center;margin:auto;font-size:22px;display:grid}.empty h2{color:var(--text);margin:20px 0 7px;font-size:20px}.empty p{margin:0;font-size:13px;line-height:1.5}.timeline{width:100%;max-width:var(--chat-width,760px);flex-direction:column;gap:40px;margin:0 auto;display:flex}.timeline-window-nav{min-height:34px;color:var(--text-tertiary);justify-content:center;align-items:center;gap:10px;font-size:12px;display:flex}.timeline-window-nav button{border:1px solid var(--border);color:var(--text-secondary);background:var(--surface);border-radius:999px;box-shadow:0 2px 8px #0000000f}.timeline-turn{content-visibility:auto;contain-intrinsic-size:auto 320px;flex-direction:column;gap:4px;min-width:0;scroll-margin-block:24px;display:flex;position:relative}.timeline-turn:focus-visible{outline:2px solid var(--accent);outline-offset:8px}.timeline-turn+.timeline-turn:before{border-top:1px solid color-mix(in srgb, var(--border) 70%, transparent);content:"";position:absolute;top:-20px;left:0;right:0}.approval-history{color:var(--text-secondary);background:#fffaf0;border:1px solid #e2ce8a;border-radius:12px;padding:12px 14px}.approval-history>strong{color:var(--text);font-size:11px}.approval-history ol,.approval-history ul{margin:8px 0 0;padding-left:18px}.approval-history ol{gap:10px;display:grid}.approval-history li>div{gap:3px;display:grid}.approval-history li>div strong{color:var(--text);font-size:11px}.approval-history li>div span{font-size:11px;line-height:1.45}.approval-history small{color:var(--text-tertiary);font:9px var(--mono);margin-top:4px;display:block}.approval-history ul{overflow-wrap:anywhere;font-size:10px}.history-loader{width:100%;max-width:760px;min-height:34px;color:var(--text-tertiary);flex-wrap:wrap;justify-content:center;align-items:center;gap:8px 12px;margin:0 auto 14px;font-size:12px;display:flex}.history-loader>span{text-align:center;overflow-wrap:anywhere;min-width:0}.history-loader button{max-width:100%;min-height:36px;font:inherit;cursor:pointer;padding:6px 12px;line-height:1.5}.history-loader button:hover:not(:disabled){background:var(--surface-hover)}.history-loader button,.scroll-latest{border:1px solid var(--border);color:var(--text-secondary);background:var(--surface);border-radius:999px;box-shadow:0 2px 8px #0000000f}.scroll-latest{z-index:3;right:50%;bottom:calc(var(--dock-reserved-height,0px) + 18px);min-height:44px;color:var(--text);font:12px var(--font);white-space:nowrap;cursor:pointer;align-items:center;gap:8px;padding:0 13px;display:inline-flex;position:absolute;translate:50%}.scroll-latest:hover{background:var(--surface-hover)}.scroll-latest-arrow{width:20px;height:24px;display:block;position:relative}.scroll-latest-arrow:before{content:"";background:currentColor;border-radius:999px;width:2px;height:19px;position:absolute;top:1px;left:9px}.scroll-latest-arrow:after{content:"";border-bottom:2px solid;border-right:2px solid;width:11px;height:11px;position:absolute;bottom:2px;right:3px;transform:rotate(45deg)}.scroll-latest-activity{align-items:center;gap:5px;display:flex}.scroll-latest-activity i{background:currentColor;border-radius:50%;width:6px;height:6px;animation:1.2s ease-in-out infinite scroll-latest-pulse}.scroll-latest-activity i:nth-child(2){animation-delay:.15s}.scroll-latest-activity i:nth-child(3){animation-delay:.3s}@keyframes scroll-latest-pulse{0%,60%,to{opacity:.35;transform:translateY(0)}30%{opacity:1;transform:translateY(-2px)}}@media (prefers-reduced-motion:reduce){.scroll-latest-activity i{opacity:.7;animation:none}}.message{width:100%;min-width:0}.message-actions{align-items:center;gap:8px;margin-top:6px;display:flex}.message-time{color:var(--text-tertiary);font-variant-numeric:tabular-nums;font-size:11px}.message-actions:empty{display:none}.message-copy{width:26px;height:26px;min-height:26px;color:var(--text-tertiary);cursor:pointer;background:0 0;border:0;border-radius:7px;place-items:center;padding:0;font-size:12px;display:inline-grid}.message-copy:hover,.message-copy:focus-visible{color:var(--text);background:var(--surface-hover)}.message-copy.copied{color:var(--success)}.message-copy.failed{color:var(--danger)}.message p{color:var(--text);overflow-wrap:anywhere;white-space:pre-wrap;margin:0;font-size:14px;line-height:1.72}.message.userMessage{border:1px solid var(--border);background:var(--surface-subtle);border-radius:16px;align-self:flex-end;width:fit-content;max-width:min(82%,620px);padding:12px 15px}.message-skills{border:0;flex-wrap:wrap;gap:5px;margin-bottom:7px;padding:0;display:flex}.message-skills span{border:1px solid var(--border);color:var(--text-secondary);background:var(--surface);border-radius:999px;padding:3px 7px;font-size:10px}.message-resources{border:0;flex-wrap:wrap;gap:6px;min-width:0;margin:0 0 7px;padding:0;display:flex}.message-resource{border:1px solid var(--border);background:var(--surface);min-height:30px;color:inherit;border-radius:8px;align-items:center;gap:5px;padding:4px 8px;text-decoration:none;display:inline-flex}.message-resource.available:is(button,a){cursor:pointer}.message-resource.available:is(button,a):hover{border-color:var(--border-strong);background:var(--surface-hover)}.workspace-shell.wide-layout :is(.thread-loading-shell,.thread-status-stack,.timeline,.history-loader,.follow-up-queue,.composer,.disclaimer,.approval,.blocking-interaction){max-width:1040px}@media (max-width:600px){.thread-status-notice{flex-direction:column;align-items:stretch}.thread-status-notice>span{flex-basis:auto}.thread-status-notice button{width:100%}}.message-resource>img{object-fit:cover;border-radius:5px;width:28px;height:28px}.message-resource-thumbnail{background:var(--surface-subtle);width:28px;height:28px;color:var(--text-tertiary);border-radius:5px;flex:0 0 28px;place-items:center;display:grid}.message-resource strong{font-size:10px}.message-resource small{color:var(--text-tertiary);font-size:9px}.message-resource:not(.available){opacity:.72;border-style:dashed}.resource-preview-backdrop{z-index:60;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#19181694;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.resource-preview{border:1px solid var(--border);background:var(--surface);width:min(920px,92vw);height:min(780px,90dvh);box-shadow:var(--shadow-modal);border-radius:12px;grid-template-rows:auto minmax(0,1fr) auto;display:grid;overflow:hidden}.resource-preview>header,.resource-preview>footer{align-items:center;gap:10px;padding:12px 16px;display:flex}.resource-preview>header{border-bottom:1px solid var(--border);justify-content:space-between}.resource-preview>footer{border-top:1px solid var(--border);justify-content:flex-end}.resource-preview>footer span{color:var(--text-secondary);margin-right:auto;font-size:12px}.resource-preview>footer a{border:1px solid var(--border);min-height:40px;color:inherit;border-radius:8px;place-items:center;padding:0 13px;text-decoration:none;display:inline-grid}.resource-preview-image{background:var(--surface-subtle);place-items:center;min-height:0;padding:20px;display:grid;overflow:auto}.resource-preview-image img{object-fit:contain;max-width:100%;max-height:100%}.image-process{grid-template-columns:auto minmax(0,1fr) auto auto;align-items:center}.image-process-copy{gap:2px;min-width:0;display:grid}.image-process-copy small{color:var(--text-secondary);text-overflow:ellipsis;white-space:nowrap;font-size:11px;overflow:hidden}.image-process-copy .image-tombstone{color:var(--text-tertiary)}.image-process-preview{border:1px solid var(--border);background:var(--surface-subtle);border-radius:7px;width:42px;height:42px;padding:0;overflow:hidden}.image-process-preview:hover,.image-process-preview:focus-visible{border-color:var(--border-strong)}.image-process-preview img{object-fit:cover;width:100%;height:100%}.message.agentMessage{margin:10px 0;padding:2px 0 6px}.message.agentMessage.phase-commentary{color:var(--text-secondary)}.rich-text{font-synthesis:weight style;min-width:0;color:var(--text);overflow-wrap:anywhere;font-size:14px;line-height:1.72}.rich-text>:first-child{margin-top:0}.rich-text>:last-child{margin-bottom:0}.rich-text :is(h1,h2,h3,h4,h5,h6){color:var(--text);letter-spacing:-.012em;margin:1.2em 0 .45em;line-height:1.3}.rich-text h1{font-size:20px}.rich-text h2{font-size:18px}.rich-text h3{font-size:16px}.rich-text :is(h4,h5,h6){font-size:14px}.rich-text p{margin:0 0 .85em}.rich-text :is(ul,ol){margin:0 0 .85em;padding-left:1.55em}.rich-text li+li{margin-top:.2em}.rich-text blockquote{border-left:3px solid var(--border-strong);color:var(--text-secondary);white-space:pre-wrap;margin:0 0 .85em;padding:2px 0 2px 13px}.rich-text a{color:var(--focus);text-decoration:underline;-webkit-text-decoration-color:color-mix(in srgb, currentColor 42%, transparent);text-decoration-color:color-mix(in srgb, currentColor 42%, transparent);text-underline-offset:2px}.rich-text :not(pre)>code{border:1px solid var(--border);background:var(--surface-subtle);font:.9em / 1.45 var(--mono);border-radius:5px;padding:.12em .35em}.rich-mermaid{background:#fff;max-width:100%;height:auto;display:block}.rich-mermaid-staging{visibility:hidden;pointer-events:none;position:fixed;inset:0}.rich-code{border:1px solid var(--border);background:var(--surface-subtle);border-radius:10px;margin:0 0 .9em;overflow:hidden}.rich-code summary{min-height:36px;color:var(--text-secondary);cursor:pointer;font:11px var(--mono);grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;padding:0 10px 0 12px;list-style:none;display:grid}.rich-code summary::-webkit-details-marker{display:none}.rich-code summary:after{color:var(--text-tertiary);content:"⌄";font-size:11px;transition:transform .16s}.rich-code details[open]>summary{border-bottom:1px solid var(--border)}.rich-code details[open]>summary:after{transform:rotate(180deg)}.rich-code summary:focus-visible{outline:2px solid var(--focus);outline-offset:-2px}.rich-code-body>header{border-bottom:1px solid var(--border);min-height:34px;color:var(--text-secondary);font:11px var(--mono);grid-template-columns:minmax(0,1fr) auto;gap:10px;margin:0;padding:0 8px;display:grid}.rich-code-body>header [role=status]{color:var(--text-tertiary)}.rich-code-body>header button{min-height:26px;color:var(--text-secondary);background:0 0;border:0;padding:0 8px;font-size:11px}.rich-code-body>header button:hover{background:var(--surface-hover);color:var(--text)}.rich-code pre{color:var(--text);font:12px / 1.65 var(--mono);tab-size:2;background:0 0;margin:0;padding:14px;overflow:auto}.rich-table-wrap{border:1px solid var(--border);border-radius:9px;max-width:100%;margin:0 0 .9em;overflow-x:auto}.rich-text table{border-collapse:collapse;width:100%;font-size:12px}.rich-text :is(th,td){border-bottom:1px solid var(--border);text-align:left;vertical-align:top;padding:8px 10px}.rich-text th{background:var(--surface-subtle);font-weight:650}.rich-text tbody tr:last-child td{border-bottom:0}.reply-preview-ellipsis{color:var(--text-secondary);display:block}.reply-preview-toggle{min-height:40px;color:var(--text);font:inherit;cursor:pointer;background:0 0;border:0;align-items:center;gap:8px;padding:0 4px;display:inline-flex}.reply-preview-toggle:hover{text-decoration:underline}.reply-preview-toggle:after{content:"";border:1px solid;border-width:0 1px 1px 0;width:6px;height:6px;transform:translateY(-2px)rotate(45deg)}.reply-preview-toggle[aria-expanded=true]:after{transform:translateY(2px)rotate(225deg)}.message.agentMessage.phase-commentary .rich-text{border-left:0;padding-left:0}.message.agentMessage.phase-commentary .rich-text :is(p,li,blockquote){color:color-mix(in srgb, var(--text) 82%, var(--text-secondary))}.message-activity{color:var(--text-tertiary);font:9px var(--mono);text-transform:uppercase}.running-indicator{align-items:center;gap:5px;display:inline-flex}.running-indicator-visual{border:1.5px solid color-mix(in srgb, currentColor 28%, transparent);border-top-color:currentColor;border-radius:50%;flex:none;width:9px;height:9px;animation:.8s linear infinite running-indicator-spin}@keyframes running-indicator-spin{to{transform:rotate(360deg)}}.process{background:0 0;border:0;border-radius:0;width:100%}.process-marker{color:var(--text-tertiary);grid-template-columns:22px minmax(0,1fr) auto;align-items:center;gap:10px;margin:4px 0;padding:2px 4px;font-size:.82rem;display:grid}.process-marker strong{color:var(--text-secondary);font-weight:560}.process-summary{min-width:0;color:var(--text-tertiary);white-space:nowrap;text-overflow:ellipsis;font-size:11px;overflow:hidden}.process-marker .process-summary{grid-column:2}.process>summary{min-height:32px;color:var(--text-tertiary);cursor:pointer;align-items:center;gap:8px;padding:2px 4px;list-style:none;display:flex}.process>summary::-webkit-details-marker{display:none}.process>summary:after{content:"⌄";color:var(--text-tertiary);margin-left:0;font-size:12px;transition:transform .16s}.process[open]>summary:after{transform:rotate(180deg)}.process>summary:focus-visible{outline:2px solid var(--text);outline-offset:2px;border-radius:9px}.process>summary strong{white-space:nowrap;text-overflow:ellipsis;flex:0 auto;min-width:0;font-size:12px;font-weight:540;overflow:hidden}.process-icon{width:22px;height:22px;color:var(--text-secondary);font:9px var(--mono);background:0 0;border-radius:6px;flex:0 0 22px;place-items:center;display:grid}.process.command .process-icon{border:1px solid;border-radius:4px;flex-basis:18px;width:18px;height:18px;margin-right:4px;font-size:11px}.process-body{padding:0 8px 10px 34px}.process-body p{color:var(--text);white-space:pre-wrap;margin:2px 0 0;font-size:12.5px;line-height:1.65}.process-metadata{gap:5px;display:grid}.process-metadata small{color:var(--text-tertiary);font:10px var(--mono)}.process pre,.approval code{border:1px solid var(--border);color:#34322e;background:var(--surface-subtle);max-width:100%;font:11px / 1.65 var(--mono);border-radius:8px;padding:14px;overflow:auto}.process-body>button{min-height:36px;color:var(--text-secondary);cursor:pointer;background:0 0;border:0;padding:0;font-size:11px}.activity-cluster{width:100%;margin:4px 0}.activity-cluster>summary{min-height:36px;color:var(--text-tertiary);cursor:pointer;align-items:center;gap:8px;padding:2px 4px;list-style:none;display:flex}.activity-cluster>summary::-webkit-details-marker{display:none}.activity-cluster>summary:after{content:"⌄";font-size:11px;transition:transform .16s}.activity-cluster[open]>summary:after{transform:rotate(180deg)}.activity-cluster>summary:focus-visible{outline:2px solid var(--focus);outline-offset:2px;border-radius:8px}.activity-cluster>summary strong{text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:12px;font-weight:540;overflow:hidden}.activity-cluster-icon{flex:0 0 22px;place-items:center;font-size:13px;display:grid}.activity-cluster-body{gap:4px;padding:0 0 4px 28px;display:grid}.activity-cluster-body .process{background:0 0;border:0}.activity-cluster-body .process>summary{min-height:32px;padding:0 4px}.activity-cluster-body .process-body{padding:0 8px 10px 36px}.activity-cluster-body .process-icon{background:0 0;width:20px;height:20px}.activity-cluster-body .badge.completed,.process.completed>summary .badge.completed,.process-marker.completed .badge.completed,.activity-cluster>summary .badge.completed{display:none}.reasoning-cluster-summary{color:var(--text-tertiary);white-space:nowrap;font-size:10px}.reasoning-cluster-body{gap:6px;padding:3px 8px 8px 32px}.reasoning-cluster-item{border-left:2px solid var(--border);min-width:0;padding-left:10px}.reasoning-cluster-item p{color:var(--text-secondary);white-space:pre-wrap;margin:0;font-size:12.5px;line-height:1.6}.subagent-activity-cluster{width:100%;margin:2px 0}.subagent-activity-cluster>summary{min-height:36px;color:var(--text-tertiary);cursor:pointer;grid-template-columns:22px minmax(0,1fr) auto 12px;align-items:center;gap:8px;padding:2px 4px;list-style:none;display:grid}.subagent-activity-cluster>summary::-webkit-details-marker{display:none}.subagent-activity-cluster>summary:after{content:"⌄";font-size:11px;transition:transform .16s}.subagent-activity-cluster[open]>summary:after{transform:rotate(180deg)}.subagent-activity-cluster>summary:focus-visible{outline:2px solid var(--focus);outline-offset:2px;border-radius:8px}.subagent-activity-cluster>summary strong{color:var(--text);text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:600;overflow:hidden}.subagent-activity-cluster>summary>span:last-of-type{white-space:nowrap;font-size:10px}.subagent-activity-icon{place-items:center;font-size:11px;display:grid}.subagent-activity-cluster ul{gap:1px;margin:0;padding:2px 4px 5px 30px;list-style:none;display:grid}.subagent-activity-cluster li{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;min-height:34px;padding:3px 4px;display:grid}.subagent-activity-cluster li>span:first-child{align-items:baseline;gap:8px;min-width:0;display:flex}.subagent-activity-cluster li strong,.subagent-activity-cluster li small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.subagent-activity-cluster li strong{color:var(--text-secondary);font-size:11px;font-weight:560}.subagent-activity-cluster li small{color:var(--text-tertiary);font-size:10px}.subagent-activity-cluster .badge.completed{display:none}.file-changes-card{width:100%;border:1px solid var(--border);background:color-mix(in srgb, var(--surface) 94%, var(--surface-subtle));border-radius:14px;min-inline-size:0;margin:3px 0;padding:0;overflow:hidden}.file-changes-card>header{grid-template-columns:28px minmax(0,1fr) auto;align-items:center;gap:10px;min-height:50px;padding:7px 12px;display:grid}.file-changes-icon{border:1px solid var(--border);width:26px;height:26px;color:var(--text-secondary);background:var(--surface);font:12px var(--mono);border-radius:7px;place-items:center;display:grid}.file-changes-heading{gap:2px;min-width:0;display:grid}.file-changes-heading strong{color:var(--text);font-size:13px}.file-changes-heading small{color:var(--text-tertiary);font-size:10px}.file-changes-card>header button{border:1px solid var(--border);min-height:30px;color:var(--text);background:var(--surface);cursor:pointer;border-radius:9px;padding:0 11px;font-size:12px;font-weight:600}.file-changes-card>header button:hover:not(:disabled){background:var(--surface-subtle)}.file-changes-card>header button:disabled{cursor:wait;opacity:.6}.file-changes-card ul{border-top:1px solid var(--border);margin:0;padding:0;list-style:none}.file-changes-card li{min-height:32px;color:var(--text-secondary);font:11.5px var(--mono);justify-content:space-between;align-items:center;gap:16px;padding:5px 12px;display:flex}.file-changes-card li+li{border-top:1px solid color-mix(in srgb, var(--border) 70%, transparent)}.file-changes-card li>:first-child{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.file-change-counts{flex:none;gap:5px;display:flex}.file-change-counts strong{font-weight:650}.file-change-counts .additions{color:#099250}.file-change-counts .deletions{color:#d92d20}.collaboration-progress{border:1px solid var(--border);background:color-mix(in srgb, var(--surface-subtle) 72%, transparent);border-radius:12px;width:100%;margin:4px 0;overflow:hidden}.collaboration-progress summary{cursor:pointer;grid-template-columns:26px minmax(0,1fr) auto 12px;align-items:center;gap:10px;min-height:52px;padding:8px 12px;list-style:none;display:grid}.collaboration-progress summary::-webkit-details-marker{display:none}.collaboration-progress summary:after{content:"⌄";color:var(--text-tertiary);font-size:12px;transition:transform .16s}.collaboration-progress details[open] summary:after{transform:rotate(180deg)}.collaboration-progress summary:focus-visible{outline:2px solid var(--focus);outline-offset:-2px;border-radius:11px}.collaboration-progress.collaboration-task-children>summary{grid-template-columns:minmax(0,1fr) 12px}.collaboration-progress.collaboration-task-children{background:0 0;border:0;border-radius:0;margin:2px 0}.collaboration-progress.collaboration-task-children>summary{min-height:36px;padding:2px 4px}.collaboration-progress.collaboration-task-children>summary>strong{min-width:0;color:var(--text);white-space:nowrap;text-overflow:ellipsis;font-size:12px;font-weight:650;overflow:hidden}.collaboration-progress.collaboration-task-children[open]>summary:after{transform:rotate(180deg)}.collaboration-icon{width:24px;height:24px;color:var(--text-secondary);background:var(--surface);font:11px var(--mono);border-radius:7px;place-items:center;display:grid}.collaboration-heading{gap:1px;min-width:0;display:grid}.collaboration-heading strong{color:var(--text);font-size:12px;font-weight:650}.collaboration-heading small{color:var(--text-tertiary);white-space:nowrap;text-overflow:ellipsis;font-size:10px;overflow:hidden}.collaboration-summary{color:var(--text-tertiary);white-space:nowrap;font-size:10px}.collaboration-members{border-left:1px solid var(--border);gap:3px;margin:0 12px 12px 24px;padding:0 0 0 23px;list-style:none;display:grid}.collaboration-members li{min-width:0;color:var(--text-secondary);grid-template-columns:10px minmax(0,1fr) auto;align-items:center;gap:8px;padding:7px 0;font-size:11px;display:grid}.collaboration-member-dot{width:7px;height:7px;color:var(--text-tertiary);background:var(--surface);border:1px solid;border-radius:50%}.collaboration-members li.running .collaboration-member-dot{color:var(--focus);background:var(--focus)}.collaboration-members li.completed .collaboration-member-dot{color:var(--success);background:var(--success)}.collaboration-members li.failed .collaboration-member-dot{color:var(--danger);background:var(--danger)}.collaboration-child-tasks{color:var(--text-tertiary);gap:6px;margin:0 12px 12px 47px;font-size:11px;display:grid}.collaboration-task-children>.collaboration-child-tasks{margin-left:12px}.collaboration-task-failure{max-width:320px;color:var(--danger);flex-wrap:wrap;align-items:center;gap:6px 10px;margin:6px 0 0 12px;font-size:11px;display:flex}.collaboration-task-failure button{border:1px solid var(--border);min-height:26px;color:var(--danger);background:var(--surface);cursor:pointer;border-radius:7px;padding:0 8px}.collaboration-child-tasks ul{gap:4px;margin:0;padding:0;list-style:none;display:grid}.collaboration-child-task>details{border:1px solid var(--border);background:var(--surface);border-radius:8px;overflow:hidden}.collaboration-child-task>details>summary{width:100%;min-height:34px;color:var(--text-secondary);cursor:pointer;justify-content:space-between;align-items:center;gap:8px;padding:7px 9px;list-style:none;display:flex}.collaboration-child-task>details>summary::-webkit-details-marker{display:none}.collaboration-child-task>details>summary:after{content:"⌄";color:var(--text-tertiary);font-size:10px;transition:transform .16s}.collaboration-child-task>details[open]>summary:after{transform:rotate(180deg)}.collaboration-child-task>details>summary>strong{text-overflow:ellipsis;white-space:nowrap;flex:auto;min-width:0;overflow:hidden}.collaboration-child-task>details>summary>span{color:var(--text-tertiary);white-space:nowrap}.child-task-content{border-top:1px solid var(--border);gap:8px;max-height:min(420px,52vh);padding:10px;display:grid;overflow:auto}.child-task-content>p,.child-task-message p,.child-task-activity p{margin:0}.child-task-message{gap:3px;padding:7px 8px;display:grid}.child-task-message.userMessage{background:var(--surface-subtle);border-radius:10px}.child-task-activity>strong{font-size:10px}.child-task-message .rich-text,.child-task-message>p,.child-task-activity>p{font-size:14px;line-height:1.65}.child-task-activity{min-width:0;padding:5px 8px}.child-task-activity>summary{color:var(--text-secondary);cursor:pointer}.child-task-activity pre{background:var(--surface-subtle);max-width:100%;font:10px / 1.55 var(--mono);border-radius:6px;padding:8px;overflow:auto}.child-task-activity-marker,.child-task-history-status{color:var(--text-tertiary);font-size:11px}.child-task-history-status{background:var(--surface-subtle);border-radius:7px;padding:7px 8px}.child-task-content button{border:1px solid var(--border);width:fit-content;min-height:28px;color:var(--text-secondary);background:var(--surface);cursor:pointer;border-radius:7px;padding:0 9px}.timeline-content-load{margin-top:8px}.timeline-content-status{color:var(--text-tertiary);font-size:11px}.collaboration-member-copy{gap:1px;min-width:0;display:grid}.collaboration-member-copy strong,.collaboration-member-copy span{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.collaboration-member-copy strong{color:var(--text);font-size:11px;font-weight:620}.collaboration-member-copy span,.collaboration-member-status{color:var(--text-tertiary);font-size:10px}.collaboration-members li.failed .collaboration-member-status{color:var(--danger)}.collaboration-member-status{white-space:nowrap}.plan-progress{border:1px solid var(--border);background:color-mix(in srgb, var(--surface-subtle) 72%, transparent);border-radius:12px;width:100%;margin:4px 0}.plan-progress details>summary{cursor:pointer;grid-template-columns:26px minmax(0,1fr) minmax(72px,112px) 12px;align-items:center;gap:10px;min-height:52px;padding:8px 12px;list-style:none;display:grid}.plan-progress details>summary::-webkit-details-marker{display:none}.plan-progress details>summary:after{content:"⌄";color:var(--text-tertiary);font-size:12px;transition:transform .16s}.plan-progress details[open]>summary:after{transform:rotate(180deg)}.plan-progress details>summary:focus-visible{outline:2px solid var(--focus);outline-offset:2px;border-radius:11px}.plan-progress-icon{width:24px;height:24px;color:var(--text-secondary);background:var(--surface);font:11px var(--mono);border-radius:7px;place-items:center;display:grid}.plan-progress.complete .plan-progress-icon{color:var(--success)}.plan-progress-summary{gap:1px;min-width:0;display:grid}.plan-progress-summary strong{color:var(--text);font-size:12px;font-weight:650}.plan-progress-summary small,.plan-progress-summary>span{color:var(--text-tertiary);white-space:nowrap;text-overflow:ellipsis;font-size:10px;overflow:hidden}.plan-progress progress{width:100%;height:4px;color:var(--success);background:var(--border);border:0;border-radius:999px;overflow:hidden}.plan-progress progress::-webkit-progress-bar{background:var(--border)}.plan-progress progress::-webkit-progress-value{background:var(--success)}.plan-progress progress::-moz-progress-bar{background:var(--success)}.plan-progress-body{padding:0 12px 12px 48px}.plan-progress-body>p{color:var(--text-secondary);margin:0 0 10px;font-size:12px;line-height:1.55}.plan-progress-body ol{gap:7px;margin:0;padding:0;list-style:none;display:grid}.plan-progress-body li{color:var(--text-secondary);grid-template-columns:18px minmax(0,1fr) auto;align-items:start;gap:7px;font-size:12px;line-height:1.45;display:grid}.plan-progress-body li.completed>span:nth-child(2){color:var(--text-tertiary);text-decoration:line-through;-webkit-text-decoration-color:color-mix(in srgb, currentColor 45%, transparent);text-decoration-color:color-mix(in srgb, currentColor 45%, transparent)}.plan-progress-body li.inProgress>span:nth-child(2){color:var(--text);font-weight:620}.plan-progress-body li small{color:var(--text-tertiary);white-space:nowrap;font-size:9px}.plan-step-icon{color:var(--text-tertiary);font:11px var(--mono)}.goal-card,.goal-create{width:min(100%,760px);margin:0 auto .65rem}.goal-card{border:1px solid var(--border);background:var(--surface);border-radius:14px;min-width:0;padding:14px 16px;font-size:13px;line-height:1.5}.goal-card>header,.goal-actions,.goal-create,.sketch-pad>footer{align-items:center;gap:.5rem;display:flex}.goal-card>header{justify-content:space-between;gap:12px}.goal-card>header>strong{color:var(--text-secondary);font-size:11px;font-weight:600}.goal-status{background:var(--surface-subtle);color:var(--text-secondary);border-radius:6px;align-items:center;gap:6px;padding:2px 8px;font-size:11px;display:inline-flex}.goal-status:before{content:"";background:currentColor;border-radius:50%;flex-shrink:0;width:5px;height:5px}.goal-card:is([data-status=active],[data-status=complete]) .goal-status{color:var(--success)}.goal-card:is([data-status=paused],[data-status=blocked],[data-status=usageLimited],[data-status=budgetLimited]) .goal-status{color:var(--warning)}.goal-card>p{overflow-wrap:anywhere;white-space:pre-wrap;margin:8px 0 6px;font-size:14px;font-weight:500}.goal-usage{color:var(--text-tertiary);font-variant-numeric:tabular-nums;overflow-wrap:anywhere;font-size:11px;display:block}.goal-actions{border-top:1px solid var(--border);flex-wrap:wrap;margin-top:12px;padding-top:10px}.goal-actions>button{border:1px solid var(--border);background:var(--surface);min-height:32px;color:var(--text-secondary);cursor:pointer;border-radius:7px;padding:5px 10px;font-size:12px;line-height:20px}.goal-actions>button:hover:not(:disabled){background:var(--surface-hover);color:var(--text)}.goal-actions>.goal-action-primary{background:var(--text);border-color:var(--text);color:var(--surface)}.goal-actions>.goal-action-primary:hover:not(:disabled){background:var(--text-secondary);border-color:var(--text-secondary);color:var(--surface)}.goal-actions>.goal-action-clear{color:var(--text-tertiary);background:0 0;border-color:#0000;margin-left:auto}.goal-actions>.goal-action-clear:hover:not(:disabled){color:var(--danger)}@media (pointer:coarse){.goal-actions>button{min-height:44px}}.goal-create>input{flex:1;min-width:0}.sketch-pad canvas{aspect-ratio:16/9;touch-action:none;border:1px solid var(--border);background:var(--surface);border-radius:10px;width:min(80vw,900px);max-width:100%;display:block}.sketch-pad>footer{justify-content:flex-end;margin-top:.75rem}.plan-progress-body li.completed .plan-step-icon{color:var(--success)}.plan-progress-body li.inProgress .plan-step-icon{color:var(--focus)}.badge{color:var(--text-tertiary);font:9px var(--mono);text-transform:uppercase;white-space:nowrap;flex:none}.badge.passed,.badge.completed{color:var(--success)}.badge.failed{color:var(--danger)}.diff-line{grid-template-columns:44px 44px minmax(max-content,1fr);min-height:19px;display:grid}.diff-line-number{color:var(--text-tertiary);border-right:1px solid var(--border);text-align:right;-webkit-user-select:none;user-select:none;padding:0 8px}.diff-code{white-space:pre;padding:0 10px}.diff-line.add{color:#17663f;background:#eaf6ef}.diff-line.del{color:#9e2f28;background:#fbeceb}.diff-line.hunk{color:#345785;background:#edf4fb}.diff-line.meta{color:var(--text-secondary);background:var(--surface)}.dock{max-height:var(--dock-max-height,calc(100dvh - 96px));padding:28px max(16px, calc((100% - var(--chat-width,760px)) / 2)) max(10px, env(safe-area-inset-bottom));overscroll-behavior:contain;pointer-events:none;background:0 0;position:absolute;bottom:0;left:0;right:0;overflow-y:auto}.dock>*{pointer-events:auto}.thread-execution-access.transient{border:1px solid color-mix(in srgb, var(--warning) 18%, transparent);width:fit-content;max-width:min(100%,520px);color:var(--text-tertiary);background:color-mix(in srgb, var(--surface) 88%, transparent);font:10px / 1.3 var(--mono);text-align:center;pointer-events:none;border-radius:999px;margin:0 auto -36px;padding:5px 10px}.composer{width:100%;max-width:var(--chat-width,760px);border:1px solid var(--border);background:var(--surface);border-radius:22px;margin:0 auto;position:relative;box-shadow:0 3px 18px #0000000a;container-type:inline-size}.composer:has(.composer-taskbar){margin-top:46px}.composer.status-active{border-color:color-mix(in srgb, var(--border-strong) 72%, transparent);box-shadow:0 16px 38px #26242014}.composer-taskbar{border:1px solid var(--border);min-width:0;height:44px;color:var(--text-secondary);background:var(--surface);border-bottom:0;border-radius:14px 14px 0 0;justify-content:space-between;align-items:center;gap:12px;margin:0;padding:0 14px 3px;display:flex;position:absolute;bottom:calc(100% - 1px);left:16px;right:16px;overflow:hidden;box-shadow:0 -4px 18px #2624200a}.composer-taskbar-context{flex:auto;align-items:center;gap:12px;min-width:0;display:flex}.composer-taskbar strong{flex:auto;align-items:center;gap:8px;min-width:0;font-size:12px;font-weight:560;display:flex}.composer-taskbar strong>span:last-child{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.composer-taskbar button{min-height:28px;color:var(--text-tertiary);cursor:pointer;background:0 0;border:0;border-radius:8px;flex:none;align-items:center;gap:5px;padding:0 7px;font-size:10px;display:inline-flex}.composer-taskbar button:hover,.composer-taskbar button:focus-visible{color:var(--text);background:var(--surface-hover)}.composer-taskbar button:disabled{cursor:default;opacity:.5}.follow-up-queue-summary{overflow-wrap:anywhere;min-width:0;max-width:760px;margin:0 auto 10px}.follow-up-queue-summary strong{font-size:inherit;font-weight:600}.load-error-details{flex:1 0 100%;min-width:0}.load-error-details summary{color:var(--text-tertiary);cursor:pointer;font-size:11px}.load-error-details p{font:11px / 1.6 var(--mono);margin:6px 0 0}.follow-up-queue{border:1px solid var(--border);background:var(--surface);width:calc(100% - 24px);max-width:760px;max-height:min(36dvh,320px);box-shadow:var(--shadow-float);border-radius:16px 16px 8px 8px;margin:0 auto;overflow:auto}.follow-up-queue>header{z-index:1;border-bottom:1px solid var(--border);background:var(--surface);justify-content:space-between;padding:9px 12px;font-size:11px;display:flex;position:sticky;top:0}.follow-up-queue>header span,.follow-up-queue small{color:var(--text-tertiary);font:9px var(--mono)}.follow-up-queue>p[role=alert]{color:var(--danger);margin:8px 12px;font-size:10px}.follow-up-queue ol{gap:0;margin:0;padding:0;list-style:none;display:grid}.follow-up-queue li{border-bottom:1px solid var(--border);grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;padding:9px 12px;display:grid}.follow-up-queue li:last-child{border-bottom:0}.follow-up-copy{gap:3px;min-width:0;display:grid}.follow-up-copy strong{text-overflow:ellipsis;white-space:nowrap;font-size:11px;font-weight:550;overflow:hidden}.follow-up-copy input{border:1px solid var(--border-strong);border-radius:6px;min-width:0;height:30px;padding:0 8px}.follow-up-failure{color:var(--danger);font-size:9px}.follow-up-actions{gap:4px;display:flex}.follow-up-actions button,.queue-follow-up{border:1px solid var(--border);min-height:30px;color:var(--text-secondary);background:var(--surface);cursor:pointer;border-radius:7px;padding:0 8px;font-size:10px}.follow-up-actions .follow-up-steer-now{background:0 0;border-color:#0000;font-weight:550}.follow-up-actions .follow-up-steer-now:before{content:"↪";margin-inline-end:4px}.follow-up-actions button:disabled,.queue-follow-up:disabled{cursor:default;opacity:.45}.composer-status{border:1px solid color-mix(in srgb, var(--border) 82%, transparent);min-height:26px;color:var(--text-tertiary);background:color-mix(in srgb, var(--surface-subtle) 74%, transparent);text-overflow:ellipsis;white-space:nowrap;border-radius:999px;flex:none;align-items:center;padding:0 9px;font-size:12px;line-height:1;display:inline-flex;overflow:hidden}.composer:focus-within{border-color:#9c9992}.composer.drag-active{border-color:var(--focus);box-shadow:0 0 0 3px color-mix(in srgb, var(--focus) 18%, transparent), var(--shadow-float)}.composer-drop-indicator{z-index:10;border-radius:inherit;color:var(--text);background:color-mix(in srgb, var(--surface) 92%, var(--focus));pointer-events:none;place-items:center;font-size:13px;font-weight:600;display:grid;position:absolute;inset:0}.composer-inputs{border:0;flex-wrap:wrap;gap:6px;padding:10px 12px 0;display:flex}.composer-attachments{border:0;flex-wrap:wrap;align-content:start;gap:6px;min-width:0;max-height:min(22dvh,128px);margin:0;padding:8px 12px 3px;display:flex;overflow-y:auto}.attachment-chip{border:1px solid var(--border);background:var(--surface-subtle);border-radius:10px;align-items:center;gap:7px;width:min(100%,224px);min-height:42px;padding:4px 6px;display:flex}.attachment-chip.uploading,.attachment-chip.validating{border-color:color-mix(in srgb, var(--focus) 32%, var(--border))}.attachment-chip.ready{border-color:color-mix(in srgb, var(--success) 28%, var(--border))}.attachment-chip.failed,.attachment-chip.expired{border-color:color-mix(in srgb, var(--danger) 35%, var(--border))}.attachment-chip img,.attachment-icon{object-fit:cover;border-radius:5px;width:28px;height:28px}.attachment-icon{color:var(--text-tertiary);background:var(--surface);flex:none;place-items:center;display:grid}.attachment-details{flex:1;gap:2px;min-width:0;display:grid}.attachment-details strong,.attachment-details small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.attachment-details strong{font-size:11px}.attachment-details small{color:var(--text-tertiary);font-size:10px}.attachment-status{justify-content:space-between;align-items:baseline;gap:8px;min-width:0;display:flex}.attachment-status small:first-child{color:var(--text-secondary);font-weight:600}.attachment-chip.failed .attachment-status small:first-child,.attachment-chip.expired .attachment-status small:first-child{color:var(--danger)}.attachment-details progress{width:100%;height:6px;accent-color:var(--focus);border:0;border-radius:999px;display:block;overflow:hidden}.attachment-details progress::-webkit-progress-bar{background:color-mix(in srgb, var(--focus) 12%, var(--surface));border-radius:999px}.attachment-details progress::-webkit-progress-value{background:var(--focus);border-radius:999px}.attachment-details progress::-moz-progress-bar{background:var(--focus);border-radius:999px}.attachment-chip>button{width:26px;height:26px;min-height:26px;color:var(--text-tertiary);cursor:pointer;background:0 0;border:0;border-radius:50%;flex:none;place-items:center;padding:0;display:grid}.attachment-chip>button:hover{color:var(--text);background:var(--surface-hover)}.sr-only,.visually-hidden-input,.composer-add-actions input{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;padding:0;position:absolute;overflow:hidden}.skill-chip,.mention-chip{border:1px solid var(--border);min-height:28px;color:var(--text-secondary);background:var(--surface-subtle);border-radius:999px;align-items:center;gap:5px;padding:0 5px 0 9px;font-size:11px;display:inline-flex}.skill-chip button,.mention-chip button{width:22px;height:22px;min-height:22px;color:var(--text-tertiary);cursor:pointer;background:0 0;border:0;border-radius:50%;place-items:center;padding:0;display:grid}.skill-chip button:hover,.mention-chip button:hover{color:var(--text);background:var(--surface-hover)}.mention-chip{max-width:min(100%,280px)}.mention-chip>span:nth-child(2){text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.composer textarea{field-sizing:content;resize:none;width:100%;height:auto;min-height:42px;max-height:min(26dvh,180px);color:var(--text);background:0 0;border:0;outline:0;padding:10px 14px;font-size:13.5px;line-height:1.5;display:block}.composer-foot{min-height:44px;color:var(--text-tertiary);font:12px var(--font);flex-wrap:wrap;align-items:center;gap:6px;padding:0 12px 12px 16px;display:flex}.composer-add{position:relative}.composer-add-button{border:1px solid var(--border);width:32px;height:32px;min-height:32px;color:var(--text-secondary);background:var(--surface);cursor:pointer;border-radius:50%;place-items:center;padding:0;font-size:18px;line-height:1;display:grid}.skill-picker{z-index:12;border:1px solid var(--border);background:var(--surface);width:min(340px,100vw - 16px);box-shadow:var(--shadow-float);color:var(--text);font-family:var(--font);border-radius:20px;padding:8px;position:absolute;bottom:calc(100% + 8px);left:0}.skill-picker-title{justify-content:space-between;align-items:baseline;gap:12px;padding:2px 2px 8px;display:flex}.composer-add-actions{border:0;gap:2px;min-width:0;margin:0;padding:0;display:grid}.composer-add-actions[hidden]{display:none}.composer-add-ported,.composer-add-ported>.task-actions,.composer-add-ported>.task-actions>div{display:contents}.composer-add-heading{color:var(--text-tertiary);padding:3px 8px 4px;font-size:12px;font-weight:500}.composer-add-heading.composer-add-plugins{margin-top:8px}.composer-add-actions label,.composer-add-actions>button,.composer-add-row{min-width:0;min-height:29px;color:var(--text);cursor:pointer;border-radius:14px;align-items:center;gap:8px;padding:4px 8px;font-size:13px;display:flex}.composer-add-actions>button,button.composer-add-row{text-align:left;background:0 0;border:0;width:100%}.composer-add-icon{width:16px;height:16px;color:var(--text-secondary);flex:0 0 16px}.composer-add-icon[data-icon=sketch]{color:#008e82}.composer-add-copy{align-items:baseline;gap:8px;min-width:0;display:flex}.composer-add-copy strong,.composer-add-copy small{text-overflow:ellipsis;white-space:nowrap;font-size:13px;overflow:hidden}.composer-add-copy strong{flex-shrink:0;font-weight:500}.composer-add-copy small{color:var(--text-tertiary)}.composer-add-state{color:var(--focus);margin-inline-start:auto;font-size:13px}.composer-add-actions label:hover,.composer-add-actions label:focus-within,.composer-add-actions>button:is(:hover,:focus-visible),.composer-add-row:is(:hover,:focus-visible){background:var(--surface-hover)}.mention-picker{z-index:13;border:1px solid var(--border);width:min(390px,100vw - 48px);color:var(--text);background:var(--surface);box-shadow:var(--shadow-float);font-family:var(--font);border-radius:12px;padding:10px;position:absolute;bottom:calc(100% + 8px);left:0}.mention-picker-backdrop{display:none}.mention-picker .skill-picker-title{align-items:center}.mention-picker .skill-picker-title>span{z-index:auto;margin-left:auto;position:static;bottom:auto}.mention-picker .skill-picker-title>button{border:1px solid var(--border);width:30px;height:30px;color:var(--text-secondary);background:var(--surface);cursor:pointer;border-radius:50%;flex:none;place-items:center;padding:0;font-size:17px;display:grid}.mention-picker .skill-picker-title>button:is(:hover,:focus-visible){background:var(--surface-hover)}.mention-picker>input{border:1px solid var(--border);background:var(--surface-subtle);border-radius:7px;width:100%;min-height:34px;padding:0 10px;font-size:12px}.mention-options{gap:2px;max-height:min(320px,45vh);margin-top:6px;display:grid;overflow-y:auto}.mention-options>button{width:100%;min-height:48px;color:var(--text);text-align:left;cursor:pointer;background:0 0;border:0;border-radius:7px;padding:7px 8px;display:flex}.mention-options>button:hover:not(:disabled),.mention-options>button[aria-selected=true]{background:var(--surface-hover)}.mention-options>button:disabled{opacity:.5}.mention-options>button>span{gap:3px;min-width:0;display:grid}.mention-options strong,.mention-options small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.mention-options strong{font-size:11px}.mention-options small,.mention-picker-state{color:var(--text-tertiary);font-size:9px}.mention-picker-state{justify-content:space-between;align-items:center;min-height:48px;padding:8px;display:flex}.mention-load-more{width:100%;min-height:32px;color:var(--text-secondary);background:var(--surface-subtle);border:0;border-radius:7px;margin-top:6px}.skill-picker-title strong{font-size:12px}.skill-picker-title span,.skill-picker-state,.skill-picker-empty{color:var(--text-tertiary);font-size:10px}.skill-picker input{border:1px solid var(--border);background:var(--surface-subtle);border-radius:7px;width:100%;min-height:34px;padding:0 10px;font-size:12px}.skill-options{gap:2px;max-height:260px;margin-top:6px;display:grid;overflow-y:auto}.skill-options button{width:100%;min-height:48px;color:var(--text);text-align:left;cursor:pointer;background:0 0;border:0;border-radius:7px;justify-content:space-between;align-items:center;gap:12px;padding:7px 8px;display:flex}.skill-options button:hover:not(:disabled),.skill-options button:focus-visible{background:var(--surface-hover)}.skill-options button:disabled{opacity:.55}.skill-options button>span{gap:3px;min-width:0;display:grid}.skill-options strong,.skill-options small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.skill-options strong{font-size:11px}.skill-options small{color:var(--text-tertiary);font-size:9px}.skill-picker-state{justify-content:space-between;align-items:center;gap:8px;min-height:42px;padding:5px 2px;display:flex}.skill-picker-state button{border:1px solid var(--border);min-height:30px;color:var(--text-secondary);background:var(--surface);border-radius:6px}.skill-picker-empty{padding:12px 8px}.composer-mode{position:relative}.composer-mode-trigger{border:1px solid var(--border);min-height:32px;color:var(--text-secondary);background:var(--surface);cursor:pointer;border-radius:16px;align-items:center;gap:6px;padding:0 9px;font-size:10px;display:flex}.composer-mode-trigger>span:last-child{color:var(--text-tertiary)}.composer-mode-trigger:disabled{cursor:default;opacity:.55}.composer-mode-menu{color:var(--text);font-family:var(--font);display:grid}.composer-mode-heading{color:var(--text-tertiary);padding:4px 8px 7px;font-size:10px}.composer-mode-menu button{width:100%;min-height:48px;color:var(--text-secondary);text-align:left;cursor:pointer;background:0 0;border:0;border-radius:7px;grid-template-columns:18px minmax(0,1fr) 16px;align-items:start;gap:7px;padding:7px 8px;display:grid}.composer-mode-menu button:hover,.composer-mode-menu button:focus-visible{background:var(--surface-hover)}.composer-mode-copy{gap:3px;display:grid}.composer-mode-menu strong{color:var(--text);font-size:11px}.composer-mode-menu small{color:var(--text-tertiary);font-size:9px;line-height:1.35}.new-thread kbd{border:1px solid var(--border);color:var(--text-tertiary);background:var(--surface);font:8px var(--mono);border-radius:4px;padding:1px 4px}.send,.stop{color:#fff;cursor:pointer;background:#242424;border:0;border-radius:50%;flex-shrink:0;place-items:center;width:34px;min-height:34px;margin-left:auto;display:grid}.send{font-size:18px}.queue-follow-up{margin-left:auto}.queue-follow-up+.send,.stop+.send,.status-active .send,.status-active .stop{margin-left:6px}.send:disabled{color:#aaa;background:#e7e5e1}.stop{z-index:1;padding:0;font-size:9px;position:relative}.status-active .queue-follow-up{order:3;margin-left:auto}.status-active .send{order:4}.status-active .stop{order:5}.disclaimer{background:var(--canvas);max-width:760px;color:var(--text-tertiary);text-align:center;font:9px var(--mono);border-radius:6px;margin:6px auto 0;padding:2px 6px}.approval{background:#fffaf0;border:1px solid #e2ce8a;border-radius:12px;width:100%;max-width:760px;margin:0 auto 10px;padding:14px;box-shadow:0 8px 24px #58410a14}.approval-title{align-items:center;gap:10px;display:flex}.approval-title>span{width:28px;height:28px;color:var(--warning);background:#f8e7ad;border-radius:7px;place-items:center;font-weight:700;display:grid}.approval-title strong,.approval-title small{display:block}.approval-title strong{font-size:12px}.approval-title small{color:var(--text-secondary);font:9px var(--mono);margin-top:3px}.approval p{color:var(--text-secondary);font-size:11px}.approval-actions{justify-content:flex-end;gap:8px;display:flex}.approval-actions button{border:1px solid var(--border-strong);background:var(--surface);cursor:pointer;border-radius:7px;min-height:36px;padding:0 12px;font-size:10px}.approval-actions .approve{color:#fff;background:#242424;border-color:#242424}.blocking-interaction{background:var(--surface);border:1px solid #ddd9d2;border-radius:14px;width:100%;max-width:760px;max-height:min(56dvh,620px);margin:0 auto 10px;overflow:auto;box-shadow:0 10px 30px #1f1d1a17}.interaction-header{grid-template-columns:30px minmax(0,1fr) auto;align-items:center;gap:10px;padding:14px 16px 10px;display:grid}.interaction-mark{color:#765b12;background:#f6e8b9;border-radius:8px;place-items:center;width:28px;height:28px;font-weight:700;display:grid}.interaction-eyebrow,.interaction-queue{color:var(--text-tertiary);font:9px var(--mono);letter-spacing:.02em}.interaction-header h2{outline:0;margin:2px 0 0;font-size:13px;line-height:1.35}.interaction-summary{color:var(--text-secondary);overflow-wrap:anywhere;margin:4px 16px 12px;font-size:11px;line-height:1.55}.interaction-expiry{color:var(--text-tertiary);font:9px var(--mono);margin:-5px 16px 10px 56px}.interaction-context{color:var(--text-secondary);margin:0 16px 12px;font-size:10px}.interaction-context summary{cursor:pointer;min-height:32px}.interaction-context ul{overflow-wrap:anywhere;margin:5px 0 0;padding-left:20px}.interaction-fields{gap:12px;padding:0 16px 12px;display:grid}.interaction-fields fieldset{border:1px solid var(--border);border-radius:10px;min-width:0;margin:0;padding:11px}.interaction-fields legend,.interaction-input>span{color:var(--text-primary);font-size:11px;font-weight:600}.interaction-fields fieldset>p,.interaction-input>small{color:var(--text-tertiary);margin:3px 0 8px;font-size:9px;line-height:1.45;display:block}.interaction-option,.interaction-check{cursor:pointer;border-radius:8px;align-items:flex-start;gap:9px;min-height:44px;padding:8px;display:flex}.interaction-option:hover,.interaction-check:hover{background:var(--surface-subtle)}.interaction-option input,.interaction-check input{flex:none;margin-top:2px}.interaction-option span,.interaction-option strong,.interaction-option small{min-width:0;display:block}.interaction-option strong,.interaction-check span{font-size:10px}.interaction-option small{color:var(--text-tertiary);margin-top:2px;font-size:9px}.interaction-input{gap:6px;min-width:0;display:grid}.interaction-input input{border:1px solid var(--border-strong);background:var(--surface);width:100%;min-width:0;min-height:40px;font:11px var(--sans);border-radius:8px;padding:0 10px}.interaction-external{min-height:44px;color:var(--text-primary);align-items:center;margin:0 16px 12px;font-size:11px;font-weight:600;display:inline-flex}.interaction-actions{border-top:1px solid var(--border);background:var(--surface);flex-wrap:wrap;justify-content:flex-end;gap:8px;padding:10px 16px 14px;display:flex}.interaction-actions.sticky{z-index:1;position:sticky;bottom:0}.interaction-actions button{border:1px solid var(--border-strong);background:var(--surface);cursor:pointer;border-radius:8px;min-height:44px;padding:0 14px;font-size:10px}.interaction-actions button.primary{color:#fff;background:#242424;border-color:#242424}.interaction-actions button.session{color:var(--text-primary);background:#f4f3ef;border-color:#a9a7a1;font-weight:650}.interaction-actions button:disabled{cursor:default;opacity:.48}.interaction-session-scope{border:1px solid var(--border);color:var(--text-secondary);background:var(--surface-subtle);border-radius:8px;gap:3px;margin:10px 16px 0;padding:10px 12px;font-size:10px;line-height:1.45;display:grid}.interaction-session-scope strong{color:var(--text-primary);font-size:11px}.interaction-error{color:var(--danger);margin:0 16px 12px;font-size:10px}.runtime-queue-notice{color:#75520a;background:#fff8df;border-bottom:1px solid #ead79f;padding:8px 20px;font-size:11px}.error-banner{overflow-wrap:anywhere;color:#8f201a;background:#fff0ef;border-bottom:1px solid #f1c0bd;flex-wrap:wrap;align-items:center;gap:8px;min-height:46px;padding:7px 20px;font-size:12px;display:flex}.error-banner:before{content:"!";width:18px;height:18px;font:700 10px var(--mono);border:1px solid;border-radius:50%;flex:none;place-items:center;display:grid}.error-banner span{margin-right:auto}.error-banner button{border:1px solid color-mix(in srgb, currentColor 28%, transparent);min-height:32px;color:inherit;cursor:pointer;background:#ffffff8a;border-radius:6px;padding:0 10px}.scrim{display:none}@media (prefers-reduced-motion:reduce){.running-indicator-visual{animation:none}*,:before,:after{scroll-behavior:auto;transition:none;animation:none}}.remote-entry{text-align:center;background:var(--surface);color:#171717;place-content:center;justify-items:center;gap:.75rem;min-height:100vh;padding:2rem;display:grid}.authorization-workspace{touch-action:pan-y;height:100dvh;min-height:0;color:var(--text,#17191f);background:radial-gradient(circle at 100% 0,#2b66c626,#0000 32rem),#f5f7fa;padding:clamp(1rem,3vw,2rem);overflow-y:auto}.authorization-workspace-header{justify-content:space-between;align-items:flex-start;gap:2rem;max-width:76rem;margin:0 auto 1.5rem;display:flex}.authorization-workspace-header h1{letter-spacing:-.05em;margin:.25rem 0 .75rem;font-size:clamp(1.5rem,3vw,2rem)}.authorization-workspace-header p{max-width:42rem;color:var(--muted,#606673)}.authorization-workspace .primary-action,.authorization-card button{color:#fff;font:inherit;cursor:pointer;white-space:nowrap;background:#3155d9;border:0;border-radius:999px;padding:.75rem 1rem;font-weight:650;text-decoration:none}.authorization-grid{grid-template-columns:minmax(0,1fr);gap:0;max-width:76rem;margin:0 auto;display:grid}.authorization-card,.authorization-empty{background:#ffffffe0;border:1px solid #17191f1a;border-radius:1.4rem;padding:1.25rem;box-shadow:0 1rem 3rem #20263612}.authorization-card{flex-direction:column;justify-content:space-between;align-items:stretch;gap:1rem;display:flex}.authorization-card h2{margin:.35rem 0;font-size:1.15rem}.authorization-card p,.authorization-card small{color:var(--muted,#606673)}.authorization-card p{margin:.35rem 0 0}.authorization-status{align-items:center;gap:.4rem;font-size:.8rem;font-weight:700;display:inline-flex}.authorization-status:before{content:"";background:#89909d;border-radius:50%;width:.55rem;height:.55rem}.authorization-status.online:before{background:#16834b}.authorization-status.offline:before,.authorization-status.expired:before,.authorization-status.revoked:before{background:#c53b3b}.authorization-status.checking:before{background:#3155d9}.authorization-reauthorize{color:#3155d9;white-space:nowrap;font-weight:650}.authorization-empty{text-align:center;max-width:76rem;margin:0 auto}@media (max-width:42rem){.authorization-grid{grid-template-columns:minmax(0,1fr)}.authorization-workspace-header{flex-direction:column;align-items:stretch}}.remote-entry h1,.remote-entry p{margin:0}.remote-entry-nav{background:#f5f6f8;border:1px solid #e1e3e8;border-radius:999px;gap:.35rem;padding:.3rem;display:inline-flex}.remote-entry-nav-current,.remote-entry-nav-link{color:#555b67;border-radius:999px;padding:.45rem .75rem;font-size:.85rem;text-decoration:none}.remote-entry-nav-current{color:#fff;background:#3155d9}.remote-entry-nav-link:hover{color:#171717;background:var(--surface)}.remote-entry-note{color:#666;max-width:34rem}.remote-home-link{color:#171717;background:var(--surface);border:1px solid #d6d6d6;border-radius:.5rem;justify-content:center;align-items:center;min-height:2.75rem;padding:0 1rem;text-decoration:none;display:inline-flex}.remote-home-link:hover{background:#f5f5f5}.device-access-form{text-align:left;gap:.6rem;width:min(100%,30rem);display:grid}.device-access-form input{letter-spacing:.08em;text-transform:uppercase;border:1px solid #cfcfcf;border-radius:.5rem;min-height:2.75rem;padding:0 .8rem;font:600 1rem/1.2 ui-monospace,SFMono-Regular,Menlo,monospace}.device-access-form button{min-height:2.75rem}.relay-authorization-form select{min-height:2.75rem;padding:0 .8rem}.relay-authorization-form input{font:inherit;letter-spacing:normal;text-transform:none}.authorized-relay-list{gap:.75rem;width:min(100%,42rem);padding:0;list-style:none;display:grid}.authorized-relay-item{text-align:left;border:1px solid #d6d6d6;border-radius:.65rem;gap:.45rem;padding:.85rem;display:grid}.authorized-relay-item>span{color:var(--text-secondary)}.authorized-relay-item>div{flex-wrap:wrap;gap:.5rem;display:flex}.authorized-relay-list button{min-height:2.75rem}.relay-list-message,.relay-last-enabled-warning{color:var(--text-secondary);background:var(--surface-subtle);border-radius:.5rem;margin:0;padding:.75rem}.relay-list-message.error,.relay-last-enabled-warning{color:var(--warning);border:1px solid color-mix(in srgb, var(--warning) 30%, transparent)}.relay-list-message.error button{min-height:2.75rem;margin-top:.5rem}.remote-access-panel{position:relative}.remote-access-mobile-label{display:none}.remote-access-popover{z-index:50;overscroll-behavior:contain;border:1px solid var(--border);background:var(--surface);text-align:left;border-radius:.75rem;gap:.65rem;width:min(24rem,100vw - 2rem);max-height:calc(100dvh - 88px);padding:.9rem;display:grid;position:fixed;top:72px;right:16px;overflow-y:auto;box-shadow:0 12px 30px #1f1d1a29}.remote-access-popover header,.remote-access-popover form,.remote-access-popover li{gap:.45rem;display:grid}.remote-access-popover header span,.remote-access-popover li span,.remote-access-popover small{color:var(--muted)}.remote-access-popover ul{gap:.6rem;max-height:16rem;margin:0;padding:0;list-style:none;display:grid;overflow:auto}.remote-access-popover .remote-access-pairing{border-top:1px solid var(--border);padding-top:.6rem}.remote-access-popover .remote-access-code{overflow-wrap:anywhere;font-size:.75rem}.status-dot{background:#9ca3af;border-radius:50%;width:.75rem;height:.75rem}.status-dot.connected{background:#22c55e}.status-dot.connecting{background:#3b82f6}.status-dot.offline{background:#9ca3af}.status-dot.expired,.status-dot.revoked,.status-dot.error{background:#ef4444}.remote-project-authorization{gap:1.25rem;width:min(52rem,100% - 2rem);margin:2rem auto;display:grid}.remote-project-authorization header,.remote-project-authorization section{border:1px solid var(--border);background:var(--surface);border-radius:.9rem;gap:.75rem;padding:1.25rem;display:grid}.remote-project-authorization form{gap:.6rem;display:grid}.remote-project-authorization input,.remote-project-authorization select,.remote-access-popover select{width:100%}.remote-project-sharing{position:relative}.remote-project-sharing .remote-project-sharing-dialog{gap:12px;width:min(480px,100vw - 32px);padding:0;top:-2px;left:calc(100% + 8px);right:auto;overflow:hidden auto}.project-sharing-header{border-bottom:1px solid var(--border);padding:18px 18px 16px}.remote-project-management .project-sharing-header p{max-width:34ch;color:var(--text-tertiary);margin-top:6px;font-size:11px;line-height:1.45}.project-sharing-section,.project-sharing-result{border:1px solid var(--border);background:var(--surface);border-radius:11px;gap:12px;margin:0 12px;padding:14px;display:grid}.project-sharing-section-heading{grid-template-columns:28px minmax(0,1fr);align-items:flex-start;gap:10px;display:grid}.remote-project-management :is(.project-sharing-section-heading,.project-sharing-history-heading) h3{margin:1px 0 0;font-size:12px}.remote-project-management :is(.project-sharing-section-heading,.project-sharing-history-heading) p{color:var(--text-tertiary);margin-top:4px;font-size:10px;line-height:1.45}.project-sharing-step,.project-sharing-success{width:28px;height:28px;color:var(--text-secondary);background:var(--surface-subtle);font:700 11px var(--mono);border-radius:8px;place-items:center;display:grid}.project-sharing-success{color:var(--success);background:color-mix(in srgb, var(--success) 10%, var(--surface))}.project-sharing-choice{min-height:58px}.project-sharing-choice label{gap:6px;display:grid}.remote-project-management .project-sharing-choice-copy{color:var(--text-secondary);background:var(--surface-subtle);border-radius:8px;padding:10px 11px;font-size:11px;line-height:1.5}.project-sharing-lifetime{color:var(--text-secondary);gap:6px;font-size:11px;font-weight:650;display:grid}.project-sharing-lifetime select{min-height:38px}.project-sharing-lifetime small{color:var(--text-tertiary);font-size:10px;font-weight:400}.project-sharing-expiry{color:var(--text-tertiary);align-items:center;gap:8px;display:flex}.project-sharing-expiry>span{flex:none;font-size:13px}.remote-project-management .project-sharing-expiry p{font-size:10px;line-height:1.4}.remote-project-management .project-sharing-primary,.remote-project-management .project-sharing-copy{cursor:pointer;border-radius:8px;min-height:40px;padding:0 12px;font-weight:650}.remote-project-management .project-sharing-primary{color:#fff;background:#242424;border:1px solid #242424}.remote-project-management .project-sharing-primary:disabled,.remote-project-management .project-sharing-copy:disabled{cursor:wait;opacity:.55}.project-sharing-result{border-color:color-mix(in srgb, var(--success) 25%, var(--border));background:color-mix(in srgb, var(--success) 3%, var(--surface))}.remote-project-management .project-sharing-result output{border:1px solid var(--border);min-width:0;color:var(--text);background:var(--surface);border-radius:8px;gap:5px;padding:11px;display:grid}.project-sharing-result output code{color:var(--text);font:600 10px / 1.45 var(--mono);text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.project-sharing-result output strong{color:var(--text-secondary);font-family:var(--mono)}.remote-project-management .project-sharing-copy{border:1px solid var(--border-strong);color:var(--text);background:var(--surface);justify-content:center;align-items:center;gap:8px;display:flex}.remote-project-management .project-sharing-copy:hover{background:var(--surface-hover)}.remote-project-management .project-sharing-copy-error{color:var(--danger,#b42318);font-size:10px}.project-sharing-history{background:var(--surface-subtle);border:0;margin-bottom:12px}.project-sharing-history-heading{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.project-sharing-count{min-width:24px;height:24px;color:var(--text-secondary);background:var(--surface);font:700 10px var(--mono);border-radius:999px;place-items:center;padding:0 7px;display:grid}.remote-project-sharing .remote-project-management ul{gap:8px;margin:0;padding:0;list-style:none;display:grid}.remote-project-sharing .remote-project-management li{border:1px solid var(--border);background:var(--surface);border-radius:8px;justify-content:space-between;align-items:center;gap:12px;padding:10px;display:flex}.project-sharing-item-copy{gap:5px;min-width:0;display:grid}.project-sharing-item-copy>div{align-items:center;gap:7px;min-width:0;display:flex}.project-sharing-item-copy strong{text-overflow:ellipsis;white-space:nowrap;font-size:11px;overflow:hidden}.project-sharing-item-copy>span{color:var(--text-tertiary);text-overflow:ellipsis;white-space:nowrap;font-size:9px;overflow:hidden}.project-sharing-status{color:var(--text-tertiary);background:var(--surface-subtle);font:700 8px var(--mono);text-transform:uppercase;border-radius:999px;flex:none;padding:2px 6px}.project-sharing-status.active{color:var(--success);background:color-mix(in srgb, var(--success) 9%, var(--surface))}.remote-project-sharing .remote-project-management li>button{border:1px solid var(--border);min-height:30px;color:var(--text-secondary);cursor:pointer;background:0 0;border-radius:7px;padding:0 9px;font-size:10px}.remote-project-sharing .remote-project-management li>button:hover{color:var(--text);background:var(--surface-hover)}.project-sharing-empty{border:1px dashed var(--border-strong);min-height:82px;color:var(--text-tertiary);border-radius:8px;place-items:center;gap:5px;display:grid}.project-sharing-empty>span{font-size:17px}.remote-project-management .project-sharing-empty p{font-size:10px}.localized-application{display:contents}.language-switcher{background:var(--surface);border:1px solid var(--border);pointer-events:auto;right:16px;top:max(12px, env(safe-area-inset-top));z-index:1000;border-radius:8px;align-items:center;gap:2px;padding:2px;font-size:11px;display:flex;position:fixed}.language-switcher-host{align-items:center;display:flex}.language-switcher-host .language-switcher{z-index:auto;position:static}.language-switcher button{color:var(--text-tertiary);cursor:pointer;font:inherit;pointer-events:auto;background:0 0;border:0;border-radius:6px;min-height:30px;padding:4px 8px}.language-switcher button.active{background:var(--surface-hover);color:var(--text)}.language-switcher>span{color:#0000;background:var(--border);width:1px;height:14px;overflow:hidden}.language-switcher .mobile-label{display:none}.composer-approval{min-width:0;color:var(--text-tertiary);flex-shrink:0;align-items:center;gap:4px;display:flex}.composer-approval select,.composer-model select{min-width:0;max-width:12rem;height:36px;color:inherit;font:13px var(--font);background:0 0;border:0;border-radius:8px;padding:0 4px}.composer-approval select:focus-visible,.composer-model select:focus-visible{outline:2px solid var(--text-secondary);outline-offset:2px}.composer-model{min-width:0;color:var(--text);font-family:var(--font);flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:4px;margin-left:auto;display:flex}.composer-model>select{field-sizing:content;flex:none;max-width:100%}.composer-model .composer-provider{color:var(--text-tertiary)}.composer-model .composer-reasoning{color:var(--text-secondary)}.composer-model button{min-width:28px;min-height:32px;color:var(--text-tertiary);font:12px var(--font);cursor:pointer;background:0 0;border:0;border-radius:8px;padding:0 4px}.composer-model button:disabled{cursor:default;opacity:.55}.composer-model small{display:none}.composer-foot>.composer-mode{flex-shrink:0;order:1}.composer-foot .composer-mode-trigger{white-space:nowrap}.composer-foot>.composer-model{border-top:1px solid var(--border);flex:1 0 100%;order:4;justify-content:flex-start;margin-left:0;padding-top:6px}@container (width>=680px){.composer-foot>.composer-model{border-top:0;flex-wrap:nowrap;flex:1 1 0;order:2;justify-content:flex-end;padding-top:0}.composer-model>.composer-model-select{text-overflow:ellipsis;flex-shrink:1;min-width:0}}.composer-model>.model-selection-label{white-space:nowrap}.composer-foot>.send,.composer-foot>.stop{flex-shrink:0;order:3;width:38px;min-height:38px;margin-left:auto}.composer-foot>.stop+.send{margin-left:2px}.composer-taskbar>button.composer-stop-action,.composer-foot>.send:not(:disabled),.composer-foot>.stop{background:#3982f7}.composer-taskbar>button.composer-stop-action{color:#fff}.composer-foot>.stop{font-size:13px}.composer-foot .composer-add-button{background:0 0;border:0;font-size:28px}.composer-foot .composer-mode-trigger{padding:0 4px;font-size:11px}.turn-failure{border:1px solid var(--danger,#b64a43);overflow-wrap:anywhere;border-radius:8px;margin:12px 0;padding:12px 16px}.turn-failure strong{color:var(--danger,#b64a43)}.turn-failure p{white-space:pre-wrap;margin:6px 0 0}.authorization-card>div,.device-directory-details{overflow-wrap:anywhere;flex:1;min-width:0}.device-directory-actions,.device-directory-heading,.device-note-actions{flex-wrap:wrap;align-items:center;gap:.75rem;display:flex}.device-directory-actions .device-secondary-action,.authorization-card .device-secondary-action{color:#3155d9;font:inherit;cursor:pointer;background:#fff;border:1px solid #c7cbd5;border-radius:.6rem;padding:.6rem .8rem}.authorization-card .device-note-button{color:#3155d9;text-align:start;white-space:normal;overflow-wrap:anywhere;background:0 0;border-radius:.25rem;padding:.2rem 0}.authorization-card .device-note-add{font-size:.85rem}.device-note-editor{gap:.5rem;margin:.75rem 0;display:grid}.device-note-editor label{gap:.3rem;display:grid}.device-note-editor input{box-sizing:border-box;width:100%;min-width:0;font:inherit;border:1px solid #9ca5b6;border-radius:.5rem;padding:.65rem}.device-identity-fields{gap:.4rem;margin:.75rem 0;display:grid}.device-identity-fields>div{grid-template-columns:5.5rem minmax(0,1fr);gap:.5rem;display:grid}.device-identity-fields dt,.device-directory-time{color:var(--muted,#606673);font-size:.85rem}.device-identity-fields dd{overflow-wrap:anywhere;margin:0}.device-identity-fields summary{cursor:pointer;color:#3155d9;font-size:.85rem}.authorization-workspace :is(button,input,summary,a):focus-visible{outline-offset:3px;outline:2px solid #3155d9}@media (max-width:760px),(max-width:1000px) and (max-height:500px){.mention-picker-backdrop{z-index:60;touch-action:none;background:#1f1d1a52;border:0;width:100%;height:100%;padding:0;display:block;position:fixed;inset:0}.mention-picker{z-index:61;width:100%;max-height:min(72dvh,620px);padding:14px 14px max(14px, env(safe-area-inset-bottom));border-width:1px 0 0;border-radius:18px 18px 0 0;flex-direction:column;display:flex;position:fixed;bottom:0;left:0;right:0;box-shadow:0 -18px 48px #1f1d1a2e}.mention-options{overscroll-behavior:contain;flex:auto;min-height:96px;max-height:none}body{overflow-x:hidden}.app{grid-template-columns:minmax(0,1fr)}.sidebar{z-index:30;width:min(88vw,320px);padding-top:max(18px, env(safe-area-inset-top));transition:transform .18s;position:fixed;inset:0 auto 0 0;transform:translate(-100%)}.sidebar.open{transform:none}.scrim{z-index:20;background:#1f1d1a66;border:0;display:block;position:fixed;inset:0}.mobile{display:grid}.topbar{height:calc(60px + env(safe-area-inset-top));padding:env(safe-area-inset-top) 8px 0;gap:4px}.codex-account-status,.thread-token-summary{padding:8px 12px}.topbar h1{margin-bottom:2px;font-size:13px}.conversation-context{flex:100px;min-width:0}.conversation-context>span{font-size:9px}.top-actions>button{min-height:40px;padding-inline:6px}.top-actions{flex:none;gap:2px;margin-left:0}.workspace-file-explorer{top:calc(60px + env(safe-area-inset-top));border-left:0;width:100%}.workspace-file-body{grid-template-rows:minmax(160px,40%) minmax(0,1fr);grid-template-columns:minmax(0,1fr)}.workspace-file-body>nav{border-right:0;border-bottom:1px solid var(--border)}.workspace-file-row>button:first-child{align-items:center;padding-block:0}.workspace-file-name{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.workbench{padding:24px 16px calc(var(--dock-reserved-height) + 24px)}.dock{padding:24px 16px max(7px, env(safe-area-inset-bottom))}.composer-taskbar{height:42px;padding-inline:11px;left:8px;right:8px}.composer{margin-top:0}.composer-taskbar-context{gap:8px}.composer-status{min-height:24px;padding-inline:8px;font-size:11px}.follow-up-queue li{grid-template-columns:minmax(0,1fr)}.follow-up-actions{flex-wrap:wrap}.follow-up-actions button{min-width:38px}.composer textarea{min-height:44px;padding:10px 12px;font-size:16px}.message-copy,.attachment-chip>button,.skill-chip button,.mention-chip button,.composer-add-button{width:40px;height:40px;min-height:40px}.message.userMessage{max-width:90%}.process-body{padding-left:12px}.process>summary{flex-wrap:wrap;align-items:flex-start;padding-block:9px}.process>summary .process-summary{order:4;width:calc(100% - 32px);margin-left:32px}.collaboration-progress summary{grid-template-columns:26px minmax(0,1fr) 12px}.collaboration-summary{white-space:normal;grid-column:2}.collaboration-members{margin-left:12px;padding-left:13px}.collaboration-members li{grid-template-columns:10px minmax(0,1fr)}.collaboration-member-status{grid-column:2}.approval{max-height:36vh;overflow:auto}.blocking-interaction{border-radius:14px 14px 10px 10px;max-height:50dvh}.interaction-header{grid-template-columns:30px minmax(0,1fr)}.interaction-queue{grid-column:2}.interaction-actions{padding-bottom:max(14px, env(safe-area-inset-bottom));grid-template-columns:repeat(auto-fit,minmax(120px,1fr));display:grid}.interaction-actions button{width:100%}.workspace-dialog-backdrop{background:#1f1d1a5c;align-items:end;padding:0}.native-review-backdrop{align-items:end;padding:0}.native-review-dialog{width:100%;max-height:min(92dvh,760px);padding:18px 16px max(18px, env(safe-area-inset-bottom));border-width:1px 0 0;border-radius:16px 16px 0 0;overflow-x:hidden}.native-review-dialog>footer{bottom:calc(-1 * max(18px, env(safe-area-inset-bottom)));padding:10px 0 max(18px, env(safe-area-inset-bottom));background:var(--surface);position:sticky}.native-review-dialog>footer button{flex:1 1 0}.workspace-access{width:100%;max-height:min(88dvh,760px);padding:20px 16px max(20px, env(safe-area-inset-bottom));border-width:1px 0 0;border-radius:16px 16px 0 0}.review-changes{border-left:0;width:100%}.review-content{flex-direction:column;display:flex}.review-files{border-right:0;border-bottom:1px solid var(--border);flex:none;gap:6px;padding:8px 12px;display:flex;overflow-x:auto}.review-files button{flex:none;width:min(260px,78vw);min-height:44px}.review-file{flex:auto}.resource-preview-backdrop{padding:0}.resource-preview{border:0;border-radius:0;width:100%;height:100dvh}.image-process-preview{width:46px;height:46px}.workspace-access [role=tablist]{grid-template-columns:repeat(3,minmax(118px,1fr));overflow-x:auto}.remote-access-popover{top:calc(60px + max(8px, env(safe-area-inset-top)));width:auto;max-height:calc(100dvh - 76px - env(safe-area-inset-top) - env(safe-area-inset-bottom));padding-bottom:max(.9rem, env(safe-area-inset-bottom));left:8px;right:8px}.project-add-menu,.remote-project-management,.remote-project-success{top:calc(60px + max(8px, env(safe-area-inset-top)));width:auto;position:fixed;left:8px;right:8px}.remote-project-sharing .remote-project-sharing-dialog{top:calc(60px + max(8px, env(safe-area-inset-top)));width:auto;max-height:calc(100dvh - 76px - env(safe-area-inset-top) - env(safe-area-inset-bottom));padding-bottom:max(0px, env(safe-area-inset-bottom));position:fixed;left:8px;right:8px}.language-switcher button{min-width:34px;min-height:40px;padding:4px 6px}.remote-access-desktop-label{display:none}.remote-access-mobile-label{font-size:15px;display:inline}.remote-access-panel>button,.thread-lifecycle-action{width:100%}.thread-lifecycle-action:before{display:none}.connection-status{min-width:18px;min-height:40px;padding:0 4px}.connection-status>div{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.top-action-overflow,.account-popover{top:calc(60px + max(8px, env(safe-area-inset-top)));width:min(280px,100vw - 16px);max-height:calc(100dvh - 80px);position:fixed;right:8px}.top-action-overflow .remote-access-desktop-label{display:inline}.top-action-overflow .remote-access-mobile-label{display:none}.topbar .icon.mobile,.mobile-actions-trigger{width:44px;height:44px}.composer:has(.composer-taskbar){margin-top:44px}.composer-foot{flex-wrap:wrap;gap:2px;padding:0 6px 6px}.composer-approval{flex:60px;max-width:90px}.composer-approval select{width:100%}.composer-approval>span{display:none}.composer-foot .composer-add-button,.composer-foot>.send,.composer-foot>.stop{width:44px;height:44px}.composer-model>.model-selection-label{flex-basis:100%;order:-1;line-height:16px}.composer-model button{width:44px;min-height:44px}.composer-model select,.composer-approval select{height:44px;font-size:16px}.composer-foot .composer-mode-trigger{min-height:44px}}@media (max-width:1000px) and (max-height:500px){.thread-token-summary,.suggested-actions,.disclaimer{display:none}.dock{padding-top:4px}.composer textarea{min-height:40px;padding-block:8px}}.authorization-grid{border:1px solid var(--border);background:var(--surface);border-radius:12px}.authorization-card{border:0;border-bottom:1px solid var(--border);box-shadow:none;background:0 0;border-radius:0;flex-flow:wrap;align-items:center;padding:1rem 1.25rem}.authorization-card:last-child{border-bottom:0}.authorization-card>div{flex-basis:60%}.authorization-card>button{border-radius:8px;order:1}.authorization-card>.authorization-reauthorize{order:1}.device-projects{flex:0 0 100%;order:2;min-width:0}.device-projects summary{cursor:pointer;color:#3155d9}.device-projects ul{margin:.75rem 0 0;padding:0;list-style:none}.device-projects li{overflow-wrap:anywhere;gap:.25rem;padding:.5rem 0;display:grid}.device-projects li span{color:var(--text-secondary);font-size:.85rem}.device-identity-fields{grid-template-columns:repeat(3,minmax(0,1fr))}.device-identity-fields>div{grid-template-columns:minmax(0,1fr);gap:.15rem}@media (max-width:42rem){.authorization-workspace-header{gap:1rem}.authorization-card{flex-flow:column;align-items:stretch;padding:1rem}.authorization-card>div{flex-basis:auto}.device-identity-fields{grid-template-columns:minmax(0,1fr)}.device-identity-fields>div{grid-template-columns:5rem minmax(0,1fr)}.device-projects{flex-basis:auto;width:100%}}.rich-math{overflow-wrap:normal;word-break:normal}.rich-math-display{max-width:100%;margin:.75em 0;display:block;overflow:auto hidden}.rich-math[data-math-state=pending],.rich-math[data-math-state=literal],.rich-math[data-math-state=loading]{white-space:pre-wrap;overflow-wrap:anywhere}.rich-math .katex-display{margin:0}.model-execution-label,.model-selection-feedback{color:var(--text-tertiary);overflow-wrap:anywhere;font-size:12px;display:block}.composer-foot>:is(.model-execution-label,.model-selection-feedback){flex-basis:100%;order:5}.timeline-turn>.model-execution-label{margin-bottom:6px}.model-selection-label{color:var(--text-tertiary);font-size:12px}.error-banner-summary{flex:240px;min-width:0}.error-banner>button{flex:none}.error-banner button:disabled{opacity:.6;cursor:wait}.error-banner-details{flex:0 auto;min-width:0;max-width:100%}.error-banner-details[open]{flex:100%;order:1}.error-banner-details p{white-space:pre-wrap;overflow-wrap:anywhere;margin:8px 0 0}@media (max-width:600px){.error-banner-summary{flex-basis:calc(100% - 36px)}}.error-banner-details summary{color:inherit}summary.composer-add-row{list-style:none}summary.composer-add-row::-webkit-details-marker{display:none}.composer-session-actions .composer-add-icon:before{content:"›"}.composer-task-action[open] .composer-session-actions .composer-add-icon:before{content:"⌄"}.composer-task-action .task-goal-form{min-width:0;margin:4px 10px}.composer-task-action .task-goal-form input{min-width:0}@media (max-width:700px){.thread-token-summary{scrollbar-width:thin;flex-wrap:nowrap;gap:10px;padding:7px 10px;overflow-x:auto}.thread-token-summary>*{white-space:nowrap;flex:none}.error-banner{gap:6px;padding:8px 10px}.error-banner-summary{flex:120px;min-width:0}.error-banner>button{min-width:40px;min-height:40px}.conversation-context{flex-basis:0}.top-actions>button{text-overflow:ellipsis;max-width:112px;overflow:hidden}}.error-banner-guidance{margin-top:4px;font-size:.9em;font-weight:400;display:block}.workspace-file-body>nav>strong{padding:8px;font-size:12px;display:block}.workspace-file-body>nav>button{text-align:left;width:100%;color:var(--text-secondary);cursor:pointer;background:0 0;border:0;padding:8px;font-size:12px;display:block}.workspace-file-body>nav>button:hover,.workspace-file-body>nav>button[aria-current=true]{background:var(--surface-hover);color:var(--text)}.app.code-workspace{grid-template-columns:minmax(0,1fr)}.code-workspace>.sidebar{z-index:70;width:var(--code-task-width);border-left:1px solid var(--border);position:fixed;inset:64px 0 0 auto;transform:none}.code-workspace>.sidebar:not(.open){display:none}.code-workspace>.sidebar .mobile{display:grid}.code-workspace>.scrim{z-index:65;background:#0003;display:block;position:fixed;inset:64px 0 0}.code-task-heading{z-index:5;background:var(--surface);justify-content:space-between;align-items:center;gap:8px;display:flex;position:relative}.code-task-heading button:first-child{text-align:left;flex:1}.panel-resizer{cursor:col-resize;touch-action:none;z-index:10;border:0;width:8px;margin:0;position:absolute}.panel-resizer:hover,.panel-resizer:focus-visible{background:var(--accent);outline:2px solid var(--accent)}.workspace-file-explorer>.panel-resizer{top:64px;bottom:0;left:calc(min(var(--file-navigation-width,240px), 35%) - 4px)}.task-panel-resizer{top:64px;bottom:0;right:calc(var(--code-task-width) - 4px);z-index:12;width:8px;position:absolute}.task-panel-resizer>.panel-resizer{inset:0}.workspace-file-body>nav[hidden]{display:none}.workspace-file-body>.workspace-file-preview{grid-column:2}.navigation-collapsed{--workspace-file-columns:0 minmax(0, 1fr)}@media (max-width:1099px){.panel-resizer,.task-panel-resizer{display:none}.code-workspace>.sidebar{width:min(90vw,400px);top:60px}.code-workspace>.scrim{top:60px}}@media (max-width:760px){.workspace-file-explorer>header{gap:8px;padding-inline:10px}.workspace-file-explorer>header>div:first-of-type{display:none}.workspace-file-explorer>header>div:last-child{flex-wrap:wrap;justify-content:flex-end;gap:4px;min-width:0}.workspace-file-explorer>header button,.workspace-file-explorer>header label{min-height:40px}.workspace-file-body>.workspace-file-preview{grid-column:1}.workspace-file-explorer.navigation-collapsed .workspace-file-body{grid-template-rows:minmax(0,1fr)}}:root[data-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--canvas:#1e1e1e;--sidebar:#252526;--surface:#1e1e1e;--surface-subtle:#252526;--surface-hover:#333337;--text:#d4d4d4;--text-secondary:#b0b0b0;--text-tertiary:#929292;--border:#3c3c3c;--border-strong:#666;--focus:#75beff;--success:#73c991;--warning:#cca700;--danger:#f48771;--code-added:#203d2c;--code-deleted:#442323;color:var(--text);background:var(--canvas)}[data-theme=dark] .code-token{--token-current:var(--token-dark)}.theme-preference{justify-content:space-between;align-items:center;gap:8px;padding:8px;display:flex}
