:root{color-scheme:light;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#1d2329;background:#eef1f4}*{box-sizing:border-box}body{margin:0;min-width:320px;background:#eef1f4;color:#1d2329;overflow-x:hidden}button,input,select,textarea{font:inherit}button,select,input,textarea{border:1px solid #c6cdd5;border-radius:8px}button{min-height:42px;background:#175cd3;color:#fff;border-color:#175cd3;padding:0 14px;font-weight:700}button:disabled{opacity:.45}label{display:grid;gap:6px;font-size:.82rem;font-weight:700;color:#46515d}select,input,textarea{width:100%;background:#fff;color:#1d2329;padding:10px 11px}textarea{resize:vertical}.loading,.login-shell{min-height:100svh;display:grid;place-items:center;padding:18px}.login-panel{width:min(420px,100%);display:grid;gap:16px;padding:22px;background:#fff;border:1px solid #d7dde3;border-radius:8px}.login-panel h1,.brand-row h1{margin:0;font-size:1.2rem}.login-brand,.app-brand{min-width:0;display:flex;align-items:center;gap:10px}.login-brand img,.app-brand img{width:42px;height:42px;flex:0 0 auto;border-radius:10px}.app-brand h1{overflow-wrap:anywhere}.app-shell{height:100svh;display:grid;grid-template-columns:340px 1fr;grid-template-rows:auto minmax(0,1fr);max-width:100vw;overflow-x:hidden}.global-topbar{grid-column:1 / -1;min-height:52px;padding:7px 12px;background:#fff;border-bottom:1px solid #d8dee5;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;max-width:100%}.global-topbar-brand{min-width:0;display:flex;align-items:center;gap:10px;flex:1 1 320px}.global-topbar-brand>div{min-width:0}.global-topbar-brand img{width:30px;height:30px;border-radius:8px;flex:0 0 auto}.global-topbar-brand strong{display:block;font-size:.92rem;line-height:1.15}.global-topbar-meta{display:flex;align-items:center;gap:4px 10px;flex-wrap:wrap}.global-topbar-brand small{display:inline-block;font-size:.78rem;line-height:1.2;color:#667085}.global-topbar-brand .project-name{color:#475467;font-weight:700}.global-topbar-brand .codex-week-usage{color:#175cd3;font-weight:700}.global-topbar-brand .active-chat-model{color:#344054;font-weight:700}.global-topbar-brand .last-deployment-status{font-weight:700;color:#475467}.deployment-status-row{display:inline-flex;align-items:center;gap:6px}.git-pending-wrap{position:relative;display:inline-flex;align-items:center}.git-pending-indicator{width:18px;height:18px;display:inline-grid;place-items:center;border-radius:999px;border:1px solid #f79009;background:#f790091f;color:#f79009;min-height:18px;padding:0;cursor:pointer}.git-pending-indicator svg{width:12px;height:12px;fill:currentColor;stroke:currentColor;stroke-width:1.2;stroke-linecap:round;stroke-linejoin:round}.git-info-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:45;background:#0f172a6b;display:grid;place-items:center;padding:16px}.git-info-modal{width:min(420px,100%);display:grid;gap:10px;padding:14px;border-radius:10px;border:1px solid #facc7a;background:#fffdf6;color:#6a4b00;box-shadow:0 20px 50px #0f172a47}.git-info-modal h2{margin:0;font-size:.96rem}.git-info-modal p{margin:0;font-size:.84rem;font-weight:700;line-height:1.35;overflow-wrap:anywhere}.global-topbar-brand .last-deployment-status.done{color:#027a48}.global-topbar-brand .last-deployment-status.running{color:#f79009}.global-topbar-brand .last-deployment-status.error{color:#b42318}.global-topbar-controls,.mobile-menu-toggle,.mobile-drawer-tabs{display:none}.global-topbar-actions{display:flex;align-items:center;gap:8px;min-width:0;max-width:100%;overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch;scrollbar-width:none}.global-topbar-actions::-webkit-scrollbar{display:none}.global-topbar-actions>button{flex:0 0 auto;white-space:nowrap}.mobile-drawer-backdrop{display:none}.monitoring-modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:30;background:#0f172a6b;display:grid;place-items:center;padding:16px}.monitoring-modal{width:min(860px,100%);max-height:min(84svh,760px);overflow:auto;padding:14px;border-radius:12px;border:1px solid #d8dee5;background:#fff;display:grid;gap:12px;box-shadow:0 20px 50px #0f172a52}.monitoring-modal-head{display:flex;justify-content:space-between;align-items:start;gap:10px}.monitoring-modal-head h2{margin:0;font-size:1rem}.monitoring-modal-head small{color:#667085;font-size:.78rem}.monitoring-modal-actions{display:flex;gap:8px}.monitoring-kpi-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.monitoring-kpi{display:grid;gap:4px;padding:10px;border-radius:8px;border:1px solid #d8dee5;background:#f8fafc}.monitoring-kpi small{color:#667085;font-size:.74rem;font-weight:700}.monitoring-kpi strong{font-size:1rem}.monitoring-status.ok{color:#027a48}.monitoring-status.warning{color:#b54708}.monitoring-status.critical{color:#b42318}.monitoring-alerts-row{display:flex;flex-wrap:wrap;gap:8px}.monitoring-alerts-row small{display:inline-block;padding:4px 8px;border-radius:999px;border:1px solid #d8dee5;background:#fff;color:#475467;font-size:.75rem;font-weight:700}.monitoring-history{display:grid;gap:8px}.monitoring-history h3{margin:0;font-size:.9rem}.monitoring-history-list{display:grid;gap:6px}.monitoring-history-item{display:flex;flex-wrap:wrap;gap:10px;padding:8px 10px;border-radius:8px;border:1px solid #d8dee5;background:#f8fafc}.project-picker{min-width:min(320px,52vw)}.project-picker select{min-width:220px}.sidebar-project-picker,.sidebar-project-picker select{min-width:0}.sidebar-actions{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px}.sidebar-actions button{min-height:38px;padding:0}.conversation-search{display:grid;gap:6px}.mobile-tabs{display:none}.sidebar{grid-row:2;min-height:0;overflow:auto;background:#fff;border-right:1px solid #d8dee5;padding:16px;display:grid;align-content:start;gap:14px}.brand-row{display:flex;gap:12px;align-items:center;justify-content:space-between}.brand-actions{flex:0 0 auto;display:flex;gap:8px;align-items:center}.brand-project{color:#667085;font-size:.8rem;font-weight:700}.icon-action{width:42px;padding:0;font-size:1.25rem;line-height:1}.ghost{background:#fff;color:#475467;border-color:#c6cdd5}.control-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:10px}.compact-select{min-width:0}.compact-select select{width:100%;min-width:0}.settings-panel{display:grid;gap:10px;padding:12px;background:#f8fafc;border:1px solid #d8dee5;border-radius:8px}.section-title{display:flex;align-items:center;justify-content:space-between;gap:10px}.section-title h2{margin:0;font-size:.95rem}.section-title span{color:#667085;font-size:.78rem;font-weight:700}.project-create{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:end}.project-create button{min-width:86px}.warning{margin:0;padding:10px;background:#fff3cd;border:1px solid #e5c56e;border-radius:8px;color:#6a4b00;font-weight:700}.public-warning{margin:0;padding:12px;background:#b42318;border:1px solid #912018;border-radius:8px;color:#fff;font-weight:800}.conversation-list{display:grid;gap:8px}.conversation{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;padding:10px;background:#f7f9fb;color:#1d2329;border-color:#dbe1e7}.conversation.active{border-color:#175cd3;background:#eef5ff}.conversation-open{width:100%;min-width:0;min-height:48px;border:0;background:transparent;text-align:left;display:grid;gap:4px;padding:0;color:inherit}.conversation-title-row{display:flex;align-items:center;gap:8px;min-width:0}.conversation-delete{width:36px;height:36px;border-radius:8px;border:1px solid transparent;background:transparent;color:#b42318;display:inline-grid;place-items:center;font-size:1rem;line-height:1}.conversation-actions{display:inline-flex;align-items:center;gap:4px}.conversation-delete:hover:not(:disabled){background:#fff1f0;border-color:#fecdca}.conversation-delete:disabled{opacity:.55;cursor:wait}.conversation-title-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:700;line-height:1.25;min-width:0;flex:1 1 auto}.conversation-thinking-indicator{width:18px;height:18px;flex:0 0 auto;display:inline-grid;place-items:center;border-radius:999px;font-size:.72rem;line-height:1;color:#0b84ff;background:#0b84ff29;border:1px solid rgba(11,132,255,.34);transform-origin:center;animation:thread-vibrate .7s linear infinite}.conversation small{display:block;line-height:1.2}.conversation-rename{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:6px}.conversation-rename input{min-width:0}.conversation-edit{width:36px;height:36px;border-radius:8px;border:1px solid transparent;background:transparent;color:#175cd3;display:inline-grid;place-items:center;padding:0;font-size:1rem;line-height:1}.conversation-edit:hover:not(:disabled){background:#edf4ff;border-color:#c9ddff}.conversation-edit:disabled{opacity:.55;cursor:wait}.conversation.editing{grid-template-columns:1fr;align-items:stretch}.conversation small,.muted{color:#667085}.workspace{grid-row:2;min-width:0;min-height:0;width:100%;max-width:100%;overflow:hidden;position:relative;display:grid;grid-template-columns:minmax(0,1fr) 360px;grid-template-rows:auto 1fr auto}.pull-refresh-indicator{position:absolute;top:8px;left:50%;transform:translate(-50%);z-index:6;pointer-events:none;min-height:30px;display:grid;place-items:center;padding:4px 12px;border-radius:999px;border:1px solid #bad5ff;background:#eef5ff;color:#175cd3;font-size:.78rem;font-weight:800}.pull-refresh-indicator.ready{background:#175cd3;border-color:#175cd3;color:#fff}.chat-phase-overlay{position:absolute;top:12px;right:14px;z-index:7;pointer-events:none;display:flex;gap:8px;align-items:center}.chat-phase-badge{--phase-bg: #2563eb;--phase-ring: rgba(37, 99, 235, .42);--phase-text-bg: rgba(37, 99, 235, .14);--phase-text-color: #1e3a8a;display:inline-flex;align-items:center;gap:6px}.chat-phase-badge.reflection{--phase-bg: #2563eb;--phase-ring: rgba(37, 99, 235, .42);--phase-text-bg: rgba(37, 99, 235, .14);--phase-text-color: #1e3a8a}.chat-phase-badge.git{--phase-bg: #d97706;--phase-ring: rgba(217, 119, 6, .42)}.chat-phase-badge.deploy{--phase-bg: #16a34a;--phase-ring: rgba(22, 163, 74, .42)}.chat-phase-logo{width:28px;height:28px;border-radius:999px;display:grid;place-items:center;background:var(--phase-bg);color:#fff;font-size:.9rem;font-weight:800;box-shadow:0 8px 16px #0f172a38;animation:phase-pop .18s ease-out,phase-pulse 1.25s ease-out infinite}.chat-phase-text{margin:0;padding:4px 8px;border-radius:999px;background:var(--phase-text-bg);color:var(--phase-text-color);font-size:.74rem;font-weight:800;letter-spacing:.01em}@keyframes phase-pop{0%{transform:scale(.72);opacity:0}to{transform:scale(1);opacity:1}}@keyframes phase-pulse{0%{box-shadow:0 0 0 0 var(--phase-ring)}80%{box-shadow:0 0 0 8px #0f172a00}to{box-shadow:0 0 #0f172a00}}.error-banner{grid-column:1 / -1;width:100%;background:#b42318;border-radius:0;border:0}.chat{min-height:0;overflow:auto;padding:18px;display:grid;align-content:start;gap:12px}.empty{margin:auto;color:#667085}.message{width:min(760px,100%);background:#fff;border:1px solid #d8dee5;border-radius:8px;padding:12px}.message.user{justify-self:end;background:#e7f0ff;border-color:#bad5ff}.message.error{background:#fff1f0;border-color:#ffb3ad}.message.draft{border-color:#8cc2ff;box-shadow:0 0 0 2px #175cd314}.message-meta{display:flex;justify-content:space-between;align-items:center;gap:8px;color:#667085;font-size:.78rem;font-weight:700}.message-meta-info{display:flex;flex-wrap:wrap;gap:8px;min-width:0}.message-copy{min-width:56px;min-height:28px;padding:3px 8px;border:1px solid #c6d0dc;border-radius:6px;background:#f8fafc;color:#344054;font-size:.76rem;font-weight:700;cursor:pointer}.message-copy:hover,.message-copy:focus-visible{background:#eef4ff;border-color:#9bbcff;color:#175cd3}.message p{white-space:pre-wrap;overflow-wrap:anywhere;margin:8px 0 0;line-height:1.45}.message-turn-signals{margin-top:10px;display:flex;justify-content:end;gap:6px}.turn-signal{width:26px;height:26px;border-radius:999px;display:inline-grid;place-items:center;border:1px solid #cdd5df;background:#eef2f7;filter:grayscale(1);opacity:.58;transition:filter .12s ease,opacity .12s ease,transform .12s ease}.turn-signal.done{filter:none;opacity:1}.turn-signal.code.done{background:#e6f6ff;border-color:#90d4ff}.turn-signal.commit.done{background:#eaf9ef;border-color:#9cdbb3}.turn-signal.deploy.done{background:#efeaff;border-color:#b8a4ff}.turn-signal:hover{transform:translateY(-1px)}@keyframes thread-vibrate{0%,to{transform:translate(0) rotate(0)}25%{transform:translate(-1px) rotate(-6deg)}50%{transform:translate(1px) rotate(6deg)}75%{transform:translate(-1px) rotate(-4deg)}}.activity{min-height:0;overflow:auto;background:#f8fafc;border-left:1px solid #d8dee5;padding:14px;display:grid;align-content:start;gap:16px}.activity-section{display:grid;gap:8px}.right-panel-tabs{display:grid;grid-template-columns:1fr 1fr;gap:8px}.right-panel-tabs button{min-height:36px;background:#fff;color:#344054;border-color:#d8dee5}.right-panel-tabs button.active{background:#175cd3;color:#fff;border-color:#175cd3}.deployment-list{display:grid;gap:10px}.dashboard-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.dashboard-kpi{padding:10px;border:1px solid #d8dee5;border-radius:8px;background:#fff;display:grid;gap:4px}.dashboard-kpi small{color:#667085;font-size:.74rem;font-weight:700}.dashboard-kpi strong{font-size:1.1rem}.dashboard-kpi.status-running{border-color:#facc7a}.dashboard-kpi.status-error{border-color:#ffb3ad}.dashboard-kpi.status-done{border-color:#9ed4b1}.deployment-item{display:grid;gap:5px;padding:10px;border-radius:8px;border:1px solid #d8dee5;background:#fff}.deployment-top{display:flex;justify-content:space-between;gap:10px}.deployment-item.status-done{border-color:#9ed4b1}.deployment-item.status-error{border-color:#ffb3ad}.deployment-item.status-running{border-color:#facc7a}.deployment-item p{margin:0;font-size:.86rem}.deployment-item small{color:#667085;overflow-wrap:anywhere}.deployment-error{color:#b42318!important;font-weight:700}.failure-section{display:grid;gap:8px;margin-top:4px}.failure-section-head{display:flex;justify-content:space-between;gap:10px;align-items:baseline}.failure-section-head small{color:#667085}.failure-list{display:grid;gap:10px}.failure-item{display:grid;gap:6px;padding:10px;border-radius:8px;border:1px solid #d8dee5;background:#fff}.failure-item.deployment-related{border-color:#facc7a;background:#fffdf6}.failure-item-top{display:flex;justify-content:space-between;gap:10px}.failure-item code{display:block;white-space:pre-wrap;overflow-wrap:anywhere;font-size:.75rem;color:#344054;background:#f8fafc;border:1px solid #e4e7ec;padding:6px;border-radius:6px}.failure-cause,.failure-suggestion{margin:0;font-size:.83rem}.failure-cause{color:#b42318;font-weight:700}.failure-suggestion{color:#175cd3}.failure-output{color:#667085;overflow-wrap:anywhere}.compact-status{padding:10px;background:#fff;border:1px solid #d8dee5;border-radius:8px}.compact-status p{margin:0;font-weight:800}.compact-status small{color:#667085}.codex-usage-block{display:grid;gap:8px;padding:10px;border:1px solid #d8dee5;border-radius:8px;background:#f8fafc}.codex-usage-header{display:flex;justify-content:space-between;align-items:center;gap:10px}.codex-usage-header strong{font-size:.86rem}.codex-usage-grid{display:grid;gap:8px}.codex-usage-card{display:grid;gap:6px;padding:8px;border:1px solid #d8dee5;border-radius:8px;background:#fff}.codex-usage-card.unavailable{border-style:dashed}.codex-usage-top{display:flex;justify-content:space-between;gap:8px;align-items:center}.codex-usage-top strong{font-size:.82rem}.codex-usage-top span{color:#175cd3;font-size:.82rem;font-weight:800}.codex-gauge-canvas{width:100%;height:164px}.codex-usage-card small{color:#667085;font-size:.75rem}.wow-card{padding:12px;border:1px solid rgba(56,189,248,.3);border-radius:12px;background:radial-gradient(circle at 18% 20%,rgba(56,189,248,.16),transparent 46%),radial-gradient(circle at 85% 10%,rgba(129,140,248,.13),transparent 36%),linear-gradient(160deg,#0f172a,#111827 62%,#0b1220);box-shadow:inset 0 1px #ffffff0d}.wow-card-head{display:flex;justify-content:space-between;align-items:center;gap:10px;color:#e2e8f0;margin-bottom:8px}.wow-card-head strong{font-size:.9rem}.wow-card-head small{color:#93c5fd;font-size:.74rem;font-weight:700}.wow-chart-canvas{width:100%;height:290px}.live-flux{display:grid;gap:10px}.live-steps{display:flex;flex-wrap:wrap;gap:6px}.live-step-chip{display:inline-flex;align-items:center;gap:6px;padding:5px 9px;border-radius:999px;border:1px solid rgba(148,163,184,.38);background:#0f172a85;color:#dbeafe;font-size:.72rem;font-weight:700}.live-step-dot{width:7px;height:7px;border-radius:999px;background:#64748b;box-shadow:0 0 #64748b99}.live-step-chip.done{border-color:#22c55e73;color:#dcfce7}.live-step-chip.done .live-step-dot{background:#22c55e}.live-step-chip.current{border-color:#38bdf88c;background:#0e74905c}.live-step-chip.current .live-step-dot{background:#22d3ee;box-shadow:0 0 #22d3ee94;animation:live-pulse 1.25s ease-out infinite}.live-task-stream{display:grid;gap:8px}.live-task-item{position:relative;overflow:hidden;display:grid;gap:4px;padding:9px 11px;border-radius:10px;border:1px solid rgba(148,163,184,.32);background:#0f172a94}.live-task-item:after{content:"";position:absolute;top:0;left:-110%;width:60%;height:100%;background:linear-gradient(90deg,transparent 0%,rgba(56,189,248,.17) 50%,transparent 100%);animation:live-sweep 2.8s linear infinite}.live-task-item strong{color:#dbeafe;font-size:.73rem}.live-task-item p{margin:0;color:#f8fafc;font-size:.78rem;line-height:1.35;overflow-wrap:anywhere}.live-task-item small{color:#93c5fd;font-size:.7rem;font-weight:700}.live-task-item.running{border-color:#f59e0b99}.live-task-item.running strong{color:#fbbf24}.live-task-item.done{border-color:#22c55e66}@keyframes live-pulse{0%{box-shadow:0 0 #22d3eeb3}70%{box-shadow:0 0 0 10px #22d3ee00}to{box-shadow:0 0 #22d3ee00}}@keyframes live-sweep{0%{left:-110%}to{left:120%}}.process-progress{height:8px;border-radius:999px;overflow:hidden;background:#dfe7ef}.process-progress span{display:block;height:100%;background:#98a2b3;transition:width .22s ease}.process-progress.running span{background:#f79009}.process-progress.done span{background:#16a34a}.process-steps{display:grid;gap:6px}.process-step{display:flex;align-items:center;gap:8px;color:#667085;font-size:.82rem;font-weight:700}.process-step .marker{width:16px;text-align:center}.process-step.done,.process-step.done .marker{color:#16a34a}.process-step.current,.process-step.current .marker{color:#f79009}.activity h2{margin:0;font-size:.95rem}.system-check dl{display:grid;grid-template-columns:minmax(110px,1fr) minmax(0,1fr);gap:6px 10px;margin:0;font-size:.82rem}.system-check dt{color:#667085;font-weight:700}.system-check dd{margin:0;overflow-wrap:anywhere}.activity code{display:block;padding:8px;border-radius:6px;background:#fff;border:1px solid #d8dee5;overflow-wrap:anywhere}details{background:#fff;border:1px solid #d8dee5;border-radius:8px;padding:8px 10px}summary{cursor:pointer;display:flex;justify-content:space-between;gap:12px;color:#344054;font-size:.82rem;font-weight:700}pre{max-height:240px;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;margin:10px 0 0;font-size:.76rem}.composer{grid-column:1 / -1;border-top:1px solid #d8dee5;background:#fff;padding:12px;display:grid;grid-template-columns:1fr auto;gap:10px}.composer-main{min-width:0;display:grid;gap:8px}.composer-input-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:end}.composer-actions{display:grid;gap:8px;align-content:end}.composer-send-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}.prompt-select{-webkit-appearance:none;-moz-appearance:none;appearance:none;padding-right:34px;border-radius:10px;border-color:#b8c3d1;background:linear-gradient(45deg,transparent 50%,#5f6b7a 50%) calc(100% - 16px) calc(50% - 2px) / 6px 6px no-repeat,linear-gradient(135deg,#5f6b7a 50%,transparent 50%) calc(100% - 11px) calc(50% - 2px) / 6px 6px no-repeat,linear-gradient(180deg,#fff,#f8fbff);box-shadow:inset 0 1px #ffffffe6;transition:border-color .15s ease,box-shadow .15s ease}.prompt-select:focus{outline:none;border-color:#175cd3;box-shadow:0 0 0 3px #175cd324}.prompt-editor{display:grid;gap:10px;padding:10px;border:1px solid #d8dee5;border-radius:8px;background:#f8fafc}.prompt-editor-header{display:flex;align-items:center;justify-content:space-between;gap:10px}.prompt-editor-header-actions{display:flex;gap:8px}.prompt-editor-list{display:grid;gap:10px}.prompt-editor-item{display:grid;gap:8px;padding:10px;border:1px solid #d8dee5;border-radius:8px;background:#fff}.attachment-strip{display:flex;flex-wrap:wrap;gap:8px}.attachment-chip{min-height:34px;max-width:100%;display:inline-flex;align-items:center;gap:6px;background:#eef5ff;color:#175cd3;border-color:#bad5ff;padding:0 10px;overflow:hidden;text-overflow:ellipsis}.attachment-chip span,.attachment-chip small{flex:0 0 auto;color:#475467;font-size:.75rem;font-weight:800}.file-button{min-height:42px;display:grid;place-items:center;padding:0 12px;background:#fff;color:#475467;border:1px solid #c6cdd5;border-radius:8px;font-size:1rem}.file-button input{display:none}.mic-button{min-height:42px;width:42px;padding:0;display:grid;place-items:center;font-size:1.05rem}.mic-button.active{background:#175cd3;border-color:#175cd3;color:#fff}.follow-button{position:absolute;left:max(18px,calc((100% - 360px)/2 - 70px));bottom:100px;z-index:5;min-height:36px;background:#1d2329;border-color:#1d2329}.danger{background:#b42318;border-color:#b42318}.error{margin:0;color:#b42318;font-weight:700}:root[data-theme=dark]{color-scheme:dark;color:#e2e8f0;background:#0b1220}:root[data-theme=dark] body{background:#0b1220;color:#e2e8f0}:root[data-theme=dark] label,:root[data-theme=dark] .global-topbar-brand small:not(.last-deployment-status),:root[data-theme=dark] .brand-project,:root[data-theme=dark] .conversation small,:root[data-theme=dark] .muted,:root[data-theme=dark] .empty,:root[data-theme=dark] .dashboard-kpi small,:root[data-theme=dark] .deployment-item small,:root[data-theme=dark] .failure-section-head small,:root[data-theme=dark] .failure-output,:root[data-theme=dark] .compact-status small,:root[data-theme=dark] .codex-usage-card small,:root[data-theme=dark] .system-check dt,:root[data-theme=dark] .monitoring-kpi small,:root[data-theme=dark] .monitoring-modal-head small{color:#9fb0c9}:root[data-theme=dark] select,:root[data-theme=dark] input,:root[data-theme=dark] textarea{background:#0f1a2a;color:#e2e8f0;border-color:#334155}:root[data-theme=dark] .prompt-select{background:linear-gradient(45deg,transparent 50%,#8fa4c5 50%) calc(100% - 16px) calc(50% - 2px) / 6px 6px no-repeat,linear-gradient(135deg,#8fa4c5 50%,transparent 50%) calc(100% - 11px) calc(50% - 2px) / 6px 6px no-repeat,linear-gradient(180deg,#0f1a2a,#122238);border-color:#3a4c66;box-shadow:inset 0 1px #ffffff08}:root[data-theme=dark] .login-panel,:root[data-theme=dark] .global-topbar,:root[data-theme=dark] .sidebar,:root[data-theme=dark] .settings-panel,:root[data-theme=dark] .conversation,:root[data-theme=dark] .message,:root[data-theme=dark] .activity,:root[data-theme=dark] .dashboard-kpi,:root[data-theme=dark] .deployment-item,:root[data-theme=dark] .failure-item,:root[data-theme=dark] .compact-status,:root[data-theme=dark] .codex-usage-card,:root[data-theme=dark] .activity code,:root[data-theme=dark] details,:root[data-theme=dark] .composer,:root[data-theme=dark] .prompt-editor-item,:root[data-theme=dark] .monitoring-modal{background:#111b2d;border-color:#2a3a52}:root[data-theme=dark] .codex-usage-block,:root[data-theme=dark] .prompt-editor,:root[data-theme=dark] .monitoring-kpi,:root[data-theme=dark] .monitoring-history-item{background:#0f1a2a;border-color:#2a3a52}:root[data-theme=dark] .activity,:root[data-theme=dark] .sidebar{border-color:#2a3a52}:root[data-theme=dark] .message.user{background:#1c2f4b;border-color:#335889}:root[data-theme=dark] .message.error{background:#3a1f24;border-color:#8f3842}:root[data-theme=dark] .message-copy,:root[data-theme=dark] .file-button,:root[data-theme=dark] .ghost,:root[data-theme=dark] .right-panel-tabs button{background:#162338;color:#d1d9e6;border-color:#334155}:root[data-theme=dark] .conversation-delete:hover:not(:disabled){background:#3a1f24;border-color:#8f3842}:root[data-theme=dark] .conversation{color:#e6edf8;background:#13243b;border-color:#304868}:root[data-theme=dark] .conversation.active{background:#1a365f;border-color:#4a85e8;box-shadow:inset 0 0 0 1px #9ec5ff2e}:root[data-theme=dark] .conversation-title-text{color:#f5f8ff}:root[data-theme=dark] .conversation small{color:#bfd0ea}:root[data-theme=dark] .conversation-thinking-indicator{color:#9ec5ff;background:#175cd34d;border-color:#9ec5ff80}:root[data-theme=dark] .conversation-open:focus-visible{outline:2px solid #7fb0ff;outline-offset:2px;border-radius:6px}:root[data-theme=dark] .conversation-delete{color:#ffb3ad;border-color:#fda29b4d;background:#b4231814}:root[data-theme=dark] .turn-signal{background:#192a42;border-color:#3a4f70}:root[data-theme=dark] .turn-signal.code.done{background:#15314a;border-color:#2f6ea1}:root[data-theme=dark] .turn-signal.commit.done{background:#173726;border-color:#2e7d53}:root[data-theme=dark] .turn-signal.deploy.done{background:#2d224f;border-color:#6f58bc}:root[data-theme=dark] .conversation-edit{color:#9ec5ff;border-color:#9ec5ff47;background:#175cd31f}:root[data-theme=dark] .conversation-edit:hover:not(:disabled){background:#175cd342;border-color:#9ec5ff6b}:root[data-theme=dark] .right-panel-tabs button.active,:root[data-theme=dark] .mobile-tabs button.active,:root[data-theme=dark] .mobile-drawer-tabs button.active{background:#175cd3;color:#fff;border-color:#175cd3}:root[data-theme=dark] .message-copy:hover,:root[data-theme=dark] .message-copy:focus-visible{background:#203552;border-color:#3a5f8f;color:#9ec5ff}:root[data-theme=dark] .attachment-chip{background:#1a2b45;color:#9ec5ff;border-color:#355780}:root[data-theme=dark] .attachment-chip span,:root[data-theme=dark] .attachment-chip small{color:#c3d2e8}:root[data-theme=dark] summary,:root[data-theme=dark] .failure-item code,:root[data-theme=dark] .active-chat-model,:root[data-theme=dark] .project-name{color:#d1d9e6}:root[data-theme=dark] .mobile-tabs{background:#111b2d;border-bottom-color:#2a3a52}:root[data-theme=dark] .mobile-tabs button{background:#162338;color:#d1d9e6;border-color:#334155}:root[data-theme=dark] .mobile-drawer-tabs button{background:#162338;color:#d1d9e6;border-color:#334155}:root[data-theme=dark] .git-pending-indicator{border-color:#f79009;background:#f790092e;color:#fbbf24}:root[data-theme=dark] .git-info-modal{border-color:#f79009;background:#3a2a10;color:#facc7a;box-shadow:0 20px 50px #00000073}:root[data-theme=dark] .global-topbar-brand .last-deployment-status.done{color:#027a48}:root[data-theme=dark] .global-topbar-brand .last-deployment-status.running{color:#f79009}:root[data-theme=dark] .global-topbar-brand .last-deployment-status.error{color:#b42318}:root[data-theme=dark] .monitoring-alerts-row small{background:#162338;border-color:#334155;color:#d1d9e6}:root[data-theme=dark] .monitoring-modal-backdrop{background:#0206179e}:root[data-theme=dark] .global-topbar-controls.mobile-open{background:#111b2d;border-left-color:#2a3a52}:root[data-theme=dark] .mobile-drawer-backdrop{background:#020617ad}@media(max-width:980px){.app-shell{height:100svh;grid-template-columns:1fr;grid-template-rows:auto minmax(0,1fr);overflow:hidden;padding-bottom:env(safe-area-inset-bottom)}.global-topbar{grid-row:1;padding-top:max(6px,env(safe-area-inset-top));padding-right:max(8px,env(safe-area-inset-right));padding-bottom:6px;padding-left:max(8px,env(safe-area-inset-left));min-height:0;gap:6px;align-items:center;flex-direction:row;justify-content:space-between}.global-topbar-brand{width:auto;min-width:0;gap:8px;flex:0 0 auto}.mobile-menu-toggle{display:inline-grid;place-items:center;min-height:34px;min-width:40px;width:40px;padding:0;font-size:1.15rem;line-height:1;background:#175cd3;border-color:#175cd3;color:#fff;z-index:42}.mobile-menu-toggle.active{background:#0f4ebf;border-color:#0f4ebf}.global-topbar-controls{position:fixed;top:0;right:0;z-index:43;width:min(88vw,360px);height:100svh;padding-top:max(12px,calc(12px + env(safe-area-inset-top)));padding-right:max(12px,env(safe-area-inset-right));padding-bottom:max(12px,calc(12px + env(safe-area-inset-bottom)));padding-left:12px;background:#fff;border-left:1px solid #d8dee5;box-shadow:-16px 0 28px #0f172a2e;transform:translate(110%);transition:transform .18s ease;pointer-events:none;overflow:auto;display:grid;grid-template-columns:minmax(0,1fr);align-items:stretch;align-content:start;gap:10px;flex:0 0 auto}.global-topbar-controls.mobile-open{transform:translate(0);pointer-events:auto}.mobile-drawer-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.mobile-drawer-tabs button{min-height:38px;padding:0 8px;font-size:1.05rem;line-height:1;background:#f7f9fb;color:#344054;border-color:#d8dee5;white-space:normal;overflow-wrap:anywhere}.mobile-drawer-tabs button.active{background:#175cd3;color:#fff;border-color:#175cd3}.mobile-drawer-backdrop{display:block;position:fixed;top:0;right:0;bottom:0;left:0;z-index:41;border:0;padding:0;margin:0;border-radius:0;background:#0f172a59}.global-topbar-actions{width:100%;display:grid;grid-template-columns:minmax(0,1fr);gap:6px;overflow:visible;padding-bottom:0}.global-topbar-actions>button{width:100%;min-height:34px;padding:0 10px;font-size:1.05rem;white-space:normal;line-height:1.15}.global-topbar-actions .icon-action{width:100%}.monitoring-modal{max-height:88svh;padding:12px}.monitoring-modal-head{flex-direction:column;align-items:stretch}.monitoring-modal-actions{width:100%;justify-content:end;flex-wrap:wrap}.monitoring-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.project-picker{min-width:0;width:100%}.project-picker select{min-width:0}.control-grid{grid-template-columns:1fr}.mobile-tabs{display:none}.sidebar{display:none;grid-row:2;min-height:0;border-right:0;border-bottom:0}.sidebar .brand-row{display:none}.sidebar.mobile-visible{display:grid}.workspace{display:none;grid-row:2;min-height:0;grid-template-columns:1fr;grid-template-rows:minmax(0,1fr) auto}.workspace.mobile-chat,.workspace.mobile-activity,.workspace.mobile-deployment{display:grid}.workspace.mobile-chat .activity{display:none}.workspace.mobile-activity,.workspace.mobile-deployment{grid-template-rows:minmax(0,1fr)}.workspace.mobile-activity .chat,.workspace.mobile-activity .composer,.workspace.mobile-activity .follow-button,.workspace.mobile-deployment .chat,.workspace.mobile-deployment .composer,.workspace.mobile-deployment .follow-button{display:none}.chat-phase-overlay{top:10px;right:10px}.dashboard-grid{grid-template-columns:1fr}.wow-chart-canvas{height:214px}.live-step-chip{font-size:.68rem;padding:4px 8px}.live-task-item{padding:8px 9px}.live-task-item p{font-size:.75rem}.right-panel-tabs{display:none}.activity{min-height:0;border-left:0;border-top:0;max-height:none}.composer{grid-template-columns:1fr;position:sticky;bottom:0;padding-right:max(12px,env(safe-area-inset-right));padding-bottom:max(12px,calc(12px + env(safe-area-inset-bottom)));padding-left:max(12px,env(safe-area-inset-left))}.composer.editing-prompts{position:static}.prompt-editor{max-height:44svh}.prompt-editor-list{overflow:auto;max-height:32svh;padding-right:2px}.prompt-editor-header-actions{flex-wrap:wrap;justify-content:end}.composer-input-row{grid-template-columns:minmax(0,1fr)}.composer-input-row .mic-button{display:none}.composer-actions{grid-template-columns:auto auto minmax(0,1fr) auto;gap:6px;align-items:end}.composer-send-row{display:contents}.composer-actions .file-button,.composer-actions .danger,.composer-actions .composer-send-row>select,.composer-actions .composer-send-row>button{min-height:38px;padding:0 8px;font-size:.82rem}.composer-actions .composer-send-row>select{min-width:0}.follow-button{left:50%;transform:translate(-50%);bottom:160px}}@media(max-width:560px){.mobile-drawer-tabs,.global-topbar-actions{grid-template-columns:minmax(0,1fr)}}
