.workspace-usage{max-width:1120px;padding-top:4px;font-variant-numeric:tabular-nums}.workspace-usage .muted{color:var(--muted)}.workspace-usage .danger{color:var(--danger)}.usage-topbar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px 20px}.usage-crumbs{display:flex;flex-wrap:wrap;align-items:center;gap:8px;min-width:0;color:var(--muted);font-size:13px}.usage-crumbs h2{margin:0;font-size:15px;font-weight:600;color:var(--text)}.usage-filter select{max-width:220px;-webkit-appearance:none;-moz-appearance:none;appearance:none;border:0;border-radius:6px;padding:5px 24px 5px 8px;background:transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%238491a5' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 8px center;color:var(--text);font-size:13px;text-overflow:ellipsis;cursor:pointer}.usage-filter select:hover,.usage-filter select:focus-visible{background-color:var(--surface-2)}.usage-filter select option{background:var(--surface-2);color:var(--text)}.usage-clear{display:inline-flex;align-items:center;gap:5px;border:1px solid var(--border);border-radius:999px;background:none;padding:3px 9px;color:var(--secondary);font-size:11px;cursor:pointer}.usage-clear:hover{background:var(--surface-2);color:var(--text)}.usage-controls{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-left:auto}.usage-segmented{display:inline-flex;padding:2px;border:1px solid var(--border);border-radius:7px;background:var(--surface-1)}.usage-segmented button{border:0;border-radius:5px;background:none;padding:4px 10px;color:var(--muted);font-size:12px;white-space:nowrap;cursor:pointer}.usage-segmented button:hover:not(:disabled){color:var(--text)}.usage-segmented button[aria-checked=true]{background:var(--surface-3);color:var(--text);box-shadow:0 1px #00000040}.usage-segmented[aria-disabled] button{cursor:default;opacity:.45}.usage-period{margin:10px 0 0;font-size:12px;color:var(--muted)}.usage-notice{margin:16px 0 0;padding:10px 12px;border:1px solid var(--border);border-radius:8px;font-size:12px;color:var(--secondary)}.workspace-usage>p.live-muted{margin-top:24px}.usage-overview{display:flex;flex-direction:column;gap:30px;margin-top:26px}.usage-overview.refreshing .usage-hero,.usage-overview.refreshing .usage-totals dd,.usage-overview.refreshing .usage-shares,.usage-overview.refreshing tbody{opacity:.45;transition:opacity .15s .15s}.usage-hero{display:grid;grid-template-columns:minmax(0,18rem) minmax(0,1fr);gap:28px}.usage-hero-figures{display:flex;flex-direction:column;gap:18px;min-width:0}.usage-headline{display:flex;flex-direction:column;gap:4px}.usage-headline strong{font-size:36px;line-height:1.1;font-weight:600;letter-spacing:-.5px}.usage-headline>span{display:inline-flex;align-items:center;gap:5px;font-size:12px;color:var(--muted)}.usage-info{display:inline-flex;cursor:help}.usage-provider-row{display:flex;flex-direction:column;gap:3px}.usage-provider-row>div{display:flex;align-items:baseline;justify-content:space-between;gap:16px;font-size:13px}.usage-provider-row>div>span{display:flex;align-items:center;gap:8px;min-width:0}.usage-provider-row i,.usage-share li i,.usage-name i,.usage-limit-account header i{display:inline-block;flex:none;width:8px;height:8px;border-radius:50%}.usage-provider-row small{font-size:11px;color:var(--muted)}.usage-provider-row strong{font-weight:500}.usage-chart{margin:0;min-width:0}.usage-chart figcaption,.usage-totals h2,.usage-share h3,.usage-breakdown h2{margin:0 0 12px;font-size:13px;font-weight:500;color:var(--text)}.usage-chart-plot{position:relative;padding-top:14px}.usage-chart svg{display:block;width:100%;height:180px;overflow:visible}.usage-chart-peak{position:absolute;top:0;right:0;font-size:10px;color:var(--muted)}.usage-chart-ticks{display:flex;justify-content:space-between;margin-top:6px;font-size:10px;color:var(--muted)}.usage-chart-axis,.usage-chart-grid{vector-effect:non-scaling-stroke}.usage-chart-axis{stroke:var(--border);stroke-width:1}.usage-chart-grid{stroke:var(--border);stroke-width:1;stroke-dasharray:2 4}.usage-chart-bar{fill:var(--accent)}.usage-chart-hit{fill:transparent}.usage-chart g{outline:none;cursor:default}.usage-chart g.active .usage-chart-hit{fill:#90b6ff12}.usage-chart g.active .usage-chart-bar{fill:#b5ceff}.usage-chart-tooltip{position:absolute;top:0;transform:translate(-50%,-100%);display:flex;flex-direction:column;gap:2px;padding:7px 9px;border:1px solid var(--border);border-radius:7px;background:var(--surface-2);font-size:11px;white-space:nowrap;pointer-events:none;box-shadow:0 6px 18px #00000059}.usage-chart-tooltip strong{font-weight:500;color:var(--text)}.usage-chart-tooltip span{color:var(--secondary)}.usage-totals dl{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px 24px;margin:0}.usage-totals dt{font-size:11px;color:var(--muted)}.usage-totals dd{margin:3px 0 0;font-size:15px;font-weight:500}.usage-errors{font-size:11px;font-weight:400;color:var(--warning)}.usage-shares{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:26px 48px}.usage-share-bar{display:flex;gap:2px;height:8px}.usage-share-bar i{min-width:4px;border-radius:2px}.usage-share-bar i:first-child{border-radius:4px 2px 2px 4px}.usage-share-bar i:last-child{border-radius:2px 4px 4px 2px}.usage-share-bar i:only-child{border-radius:4px}.usage-share ul{display:flex;flex-wrap:wrap;gap:6px 16px;margin:10px 0 0;padding:0;list-style:none;font-size:12px}.usage-share li{display:flex;align-items:center;gap:6px;min-width:0}.usage-share li i{border-radius:2px}.usage-share li span{color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:180px}.usage-share li strong{font-weight:400;color:var(--text)}.usage-breakdown-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:6px}.usage-breakdown-heading h2{margin:0}.usage-table-wrap{overflow-x:auto}.usage-table{width:100%;border-collapse:collapse;font-size:13px}.usage-table th{padding:8px 0 8px 22px;border-bottom:1px solid var(--border);text-align:right;font-size:11px;font-weight:400;color:var(--muted);white-space:nowrap}.usage-table th button{display:inline-flex;align-items:center;gap:3px;border:0;background:none;padding:0;color:inherit;font:inherit;cursor:pointer}.usage-table th button:hover,.usage-table th[aria-sort=ascending] button,.usage-table th[aria-sort=descending] button{color:var(--text)}.usage-table td{padding:10px 0 10px 22px;border-bottom:1px solid rgba(39,47,60,.6);text-align:right;color:var(--secondary);white-space:nowrap;vertical-align:top}.usage-table tbody tr:hover,.usage-table tbody tr.active{background:var(--surface-1)}.usage-table .usage-rank{width:1%;padding-left:6px;text-align:left;font-size:11px;color:var(--muted)}.usage-table .usage-name{width:100%;text-align:left;white-space:normal}.usage-name button,.usage-static{display:inline-flex;align-items:center;gap:8px;border:0;background:none;padding:0;color:var(--text);font:inherit;text-align:left;overflow-wrap:anywhere}.usage-name button{cursor:pointer}.usage-name button:hover span,.usage-name button[aria-pressed=true] span{text-decoration:underline;text-underline-offset:3px}.usage-name small{display:block;margin-top:2px;font-size:11px;color:var(--muted)}.usage-row-bar{height:2px;max-width:12rem;margin-top:7px}.usage-row-bar i{display:block;height:100%;border-radius:2px}.usage-table-empty{padding:28px 0!important;text-align:center!important;color:var(--muted)!important}.usage-footnote{margin:10px 0 0;font-size:11px;line-height:1.5;color:var(--muted)}.usage-limits{display:flex;flex-direction:column;gap:30px;margin-top:26px}.usage-limit-account header{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:12px}.usage-limit-account h3{margin:0;font-size:14px;font-weight:500;overflow-wrap:anywhere}.usage-limit-account header>span{font-size:12px;color:var(--muted)}.usage-state{margin-left:auto;color:var(--success)!important;font-size:11px!important}.usage-state.muted{color:var(--muted)!important}.usage-state.danger{color:var(--danger)!important}.usage-limit-bucket h4{margin:14px 0 6px;font-size:12px;font-weight:500;color:var(--muted)}.usage-limit-bucket h4 span{margin-left:8px;font-size:10px;border:1px solid var(--border);border-radius:4px;padding:1px 5px}.usage-limit-row{display:grid;grid-template-columns:13rem minmax(0,1fr) 11rem;align-items:center;gap:4px 18px;padding:4px 0;font-size:12px}.usage-limit-label{display:flex;justify-content:space-between;gap:10px;color:var(--muted)}.usage-limit-label strong{font-weight:500;color:var(--text)}.usage-limit-track{height:10px;padding:2px 0;border-radius:999px}.usage-limit-track:before{content:"";display:block;height:6px;border-radius:999px;background:var(--surface-3)}.usage-limit-track i{display:block;height:6px;margin-top:-6px;border-radius:999px}.usage-limit-row.warning .usage-limit-track i{background:var(--warning)}.usage-limit-row.danger .usage-limit-track i{background:var(--danger)}.usage-limit-reset{display:flex;align-items:center;justify-content:flex-end;gap:5px;color:var(--muted);white-space:nowrap}.usage-limit-facts{display:flex;flex-wrap:wrap;gap:4px 18px;margin:10px 0 0;font-size:11px;color:var(--muted)}.usage-empty{margin-top:26px;padding:28px;border:1px dashed var(--border);border-radius:10px;text-align:center}.usage-empty h3{margin:0;font-size:14px}.usage-empty p{margin:8px 0 14px;font-size:12px;color:var(--muted)}.usage-empty a{color:var(--accent);font-size:12px}@media(max-width:860px){.usage-hero{grid-template-columns:minmax(0,1fr)}.usage-totals dl{grid-template-columns:repeat(2,minmax(0,1fr))}.usage-controls{margin-left:0}.usage-limit-row{grid-template-columns:minmax(0,1fr) auto}.usage-limit-track{grid-column:1/-1;grid-row:2}}@media(max-width:560px){.usage-table .usage-optional{display:none}.usage-breakdown-heading{flex-direction:column;align-items:flex-start}.usage-headline strong{font-size:30px}.usage-filter select{max-width:150px}}.usage-limit-account .usage-notice{margin:0 0 8px}.usage-limit-reset svg,.usage-clear svg{flex:none}.workspace-users{max-width:920px;padding-top:6px}.users-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px}.users-heading h2{margin:0;font-size:20px;font-weight:600}.users-heading p{margin:7px 0 0;color:var(--muted);font-size:13px}.users-actions{display:flex;align-items:center;gap:8px}.users-notice{font-size:12px;line-height:1.6;border:1px solid var(--border);padding:10px 12px;border-radius:8px;color:var(--warning);margin:0 0 16px}.users-notice.danger{color:var(--danger)}.users-notice.success{color:var(--success)}.users-table-wrap{border:1px solid var(--border);border-radius:12px;background:var(--surface-1);overflow-x:auto}.users-table{width:100%;border-collapse:collapse;font-size:13px}.users-table th{text-align:left;font-size:11px;font-weight:500;color:var(--muted);padding:12px 18px;border-bottom:1px solid var(--border);white-space:nowrap}.users-table td{padding:14px 18px;border-bottom:1px solid var(--border);vertical-align:middle;white-space:nowrap;color:var(--secondary)}.users-table tr:last-child td{border-bottom:0}.users-identity{display:flex;align-items:center;gap:12px;min-width:0}.users-identity>span:last-child{display:flex;flex-direction:column;gap:4px;min-width:0}.users-identity strong{display:flex;align-items:center;gap:8px;color:var(--text);font-weight:500}.users-identity .badge{padding:1px 5px;line-height:1.4}.users-identity small{color:var(--muted);font-size:12px;overflow:hidden;text-overflow:ellipsis}.users-avatar{width:32px;height:32px;flex:none;display:grid;place-items:center;border-radius:50%;background:#90b6ff1f;color:var(--accent);font-weight:600;font-size:13px}.users-status{display:inline-flex;align-items:center;gap:6px;font-size:12px}.users-status:before{content:"";width:6px;height:6px;border-radius:50%;background:currentColor}.users-status.success{color:var(--success)}.users-status.warning{color:var(--warning)}.users-status.muted{color:var(--muted)}.users-dialog{width:min(500px,calc(100vw - 24px));max-height:90dvh;overflow-y:auto}.users-dialog form{gap:0}.users-dialog form>label{margin:20px 0 0;font-size:13px;font-weight:600;color:var(--text)}.users-optional{color:var(--muted);font-weight:400}.users-dialog form>label:first-of-type{margin-top:0}.users-dialog form>input,.users-dialog form>select,.users-dialog .users-password{margin-top:10px}.users-dialog form>.button{margin-top:22px;align-self:flex-start}.users-dialog form>.users-notice{margin:18px 0 0}.users-password{display:flex;align-items:center;gap:8px}.users-password input{flex:1;font-family:ui-monospace,var(--mono)}.users-password .icon-button{height:38px;width:38px}.users-password .button{min-height:38px}.users-created>p,.users-reauth>p{color:var(--secondary);font-size:13px;line-height:1.65;margin:0 0 18px}.users-created dl{margin:0 0 18px;border:1px solid var(--border);border-radius:10px;background:var(--surface-0)}.users-created dl>div{padding:12px 14px;border-bottom:1px solid var(--border)}.users-created dl>div:last-child{border-bottom:0}.users-created dt{font-size:11px;color:var(--muted)}.users-created dd{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:6px 0 0}.users-created code{font-family:ui-monospace,var(--mono);font-size:13px;color:var(--text);overflow-wrap:anywhere;-webkit-user-select:all;user-select:all}.users-hint{display:flex;align-items:center;gap:8px}.users-hint svg{flex:none;color:var(--accent)}.users-reauth{display:flex;flex-direction:column;align-items:flex-start}.users-reauth>svg{color:var(--accent);margin-bottom:12px}.users-table td.users-row-actions{width:1%;text-align:right;padding-left:0}.users-row-actions .button{min-height:30px}.users-manage{width:min(560px,calc(100vw - 24px))}.users-manage .modal-heading{margin-bottom:14px}.users-manage-identity{margin-bottom:16px}.users-manage-note{color:var(--secondary);font-size:12px;line-height:1.6;margin:0 0 14px}.users-manage [aria-live] .users-notice{margin:0 0 14px}.users-manage-section{display:flex;flex-direction:column;padding:18px 0;border-top:1px solid var(--border);gap:0}.users-manage-section h3{margin:0;font-size:13px;font-weight:600;color:var(--text)}.users-manage-section .project-field-help{margin:6px 0 12px}.users-manage-section>.button{align-self:flex-start}.users-manage-row{display:flex;gap:8px;align-items:center}.users-manage-row>input,.users-manage-row>select{flex:1;min-width:0}.users-manage-row>.button{min-height:38px}.users-manage-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:12px;flex-wrap:wrap}.users-manage-confirm{margin-top:8px}.users-manage-confirm p{margin:0;font-size:13px;line-height:1.6;color:var(--text)}.users-projects{list-style:none;margin:0;padding:0;border:1px solid var(--border);border-radius:10px;background:var(--surface-0);max-height:260px;overflow-y:auto}.users-projects li{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;border-bottom:1px solid var(--border)}.users-projects li:last-child{border-bottom:0}.users-projects li>span{display:flex;flex-direction:column;gap:3px;min-width:0}.users-projects label{font-size:13px;color:var(--text);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.users-projects small{font-size:11px;color:var(--muted)}.users-projects select{width:150px;flex:none;background:var(--surface-1);color:var(--text);border:1px solid var(--border);border-radius:5px;padding:7px 10px;font:inherit;font-size:12px}.users-projects select:disabled{opacity:.6}.users-dialog .button.danger{background:#3b222a;border-color:#8c4348;color:#f7a29d}.users-dialog .button.danger:hover:not(:disabled){background:#4a2731}.users-dialog .button:disabled{opacity:.5;cursor:default}@media(max-width:650px){.users-heading{align-items:flex-start}.users-heading h2{font-size:19px}.users-table th:nth-child(4),.users-table td:nth-child(4){display:none}.users-table th,.users-table td{padding:12px}.users-table td:nth-child(3){white-space:normal}.users-password{flex-wrap:wrap}.users-password input{flex-basis:100%}.users-row-actions .button span,.users-table .users-avatar{display:none}.users-identity>span:last-child{max-width:140px}.users-identity strong,.users-identity small{overflow:hidden;text-overflow:ellipsis}.users-manage-row{flex-wrap:wrap}.users-manage-row>input,.users-manage-row>select{flex-basis:100%}.users-projects select{width:128px}}.ai-providers{--pv-wash-critical: #2a1c1f;--pv-wash-accent: #90b6ff14;color:var(--text);font-size:13px;line-height:1.6}.ai-providers.settings{max-width:980px;padding-top:6px}.ai-providers p,.ai-providers h2,.ai-providers h3,.ai-providers h4{margin:0}.ai-providers .pv-btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:33px;margin:0;padding:7px 12px;border:1px solid #354052;border-radius:6px;background:var(--surface-2);color:var(--secondary);font:inherit;font-size:12px;font-weight:500;line-height:1.2;text-decoration:none;white-space:nowrap;cursor:pointer}.ai-providers .pv-btn:hover:not(:disabled){background:var(--surface-3);color:var(--text);border-color:#435066}.ai-providers .pv-btn.primary{background:#7da7f7;border-color:#7da7f7;color:#0a1730;font-weight:600}.ai-providers .pv-btn.primary:hover:not(:disabled){background:#9abaff;border-color:#9abaff;color:#0a1730}.ai-providers .pv-btn.ghost{background:transparent;border-color:transparent;color:var(--secondary)}.ai-providers .pv-btn.ghost:hover:not(:disabled){background:var(--surface-3);border-color:transparent;color:var(--text)}.ai-providers .pv-btn.ghost.danger{color:var(--danger)}.ai-providers .pv-btn.primary.danger{background:#3b222a;border-color:#8c4348;color:#f7a29d}.ai-providers .pv-btn.primary.danger:hover:not(:disabled){background:#4a2731;border-color:#a24f55;color:#ffb7b2}.ai-providers .pv-btn.small{min-height:28px;padding:4px 9px}.ai-providers .pv-btn:disabled{opacity:.45;cursor:not-allowed}.ai-providers .pv-icon{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;min-height:0;margin:0;padding:0;border:0;border-radius:6px;background:transparent;color:var(--muted);cursor:pointer}.ai-providers .pv-icon:hover:not(:disabled){background:var(--surface-3);color:var(--text)}.ai-providers .pv-icon.small{width:24px;height:24px}.ai-providers .pv-icon:disabled{opacity:.45;cursor:not-allowed}.ai-providers .pv-muted{color:var(--muted);font-size:12px;line-height:1.6}.ai-providers .pv-mono{font-family:ui-monospace,var(--mono);font-size:11.5px;color:var(--muted)}.ai-providers .pv-error{color:var(--danger);font-size:12px;line-height:1.6;border:1px solid #62403e;background:#241b1c;border-radius:8px;padding:9px 12px}.ai-providers .pv-error.banner{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}.ai-providers .pv-warning{color:var(--warning)}.ai-providers .pv-reauth{display:flex;align-items:center;gap:12px;margin-bottom:18px;padding:10px 12px;border:1px solid var(--border);border-radius:8px;color:var(--secondary)}.ai-providers .pv-reauth svg{color:var(--accent);flex:none}.ai-providers .pv-reauth p{flex:1;font-size:12px}.ai-providers .pv-reauth-panel{display:flex;flex-direction:column;align-items:flex-start;gap:12px;padding:14px;border:1px solid #354052;border-radius:10px;background:var(--surface-0);color:var(--secondary);font-size:12.5px;line-height:1.6}.ai-providers .pv-reauth-panel>svg{color:var(--accent)}.ai-providers .pv-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:20px}.ai-providers .pv-heading-actions{display:flex;align-items:center;gap:8px;flex:none}.ai-providers .pv-page-heading h2{font-size:20px;font-weight:600}.ai-providers .pv-page-heading p{margin-top:7px;color:var(--muted)}.ai-providers .pv-section-title{font-size:14px;font-weight:600}.ai-providers .pv-provider+.pv-provider{margin-top:26px}.ai-providers .pv-provider-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.ai-providers .pv-provider-head h3{font-size:15px;font-weight:600}.ai-providers .pv-provider-head p{color:var(--muted);font-size:12px}.ai-providers .pv-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,340px),1fr));gap:14px}.ai-providers .pv-empty{border:1px dashed #354052;border-radius:12px;padding:22px;text-align:center;color:var(--muted);font-size:12px}.ai-providers .pv-card{display:flex;flex-direction:column;gap:12px;min-width:0;padding:16px;border:1px solid var(--border);border-radius:12px;background:var(--surface-1)}.ai-providers.setup .pv-card{background:var(--surface-0)}.ai-providers .pv-card.is-disabled{opacity:.72}.ai-providers .pv-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.ai-providers .pv-card-title{display:flex;flex-direction:column;gap:2px;min-width:0}.ai-providers .pv-card-title h4{font-size:14px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ai-providers .pv-health{display:inline-flex;align-items:center;gap:6px;flex:none;height:24px;padding:0 10px;border-radius:999px;background:var(--surface-2);font-size:11.5px;font-weight:600;white-space:nowrap}.ai-providers .pv-dot{width:7px;height:7px;flex:none;border-radius:50%;background:var(--muted)}.ai-providers .pv-dot.good{background:var(--success)}.ai-providers .pv-dot.warning{background:var(--warning)}.ai-providers .pv-dot.critical{background:var(--danger)}.ai-providers .pv-badge{align-self:flex-start;padding:2px 8px;border:1px solid #3b4d6e;border-radius:999px;background:var(--pv-wash-accent);color:var(--accent);font-size:11px;font-weight:500}.ai-providers .pv-issues{display:flex;flex-direction:column;gap:6px;margin:0;padding:0;list-style:none}.ai-providers .pv-issue{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:7px 10px;border-radius:8px;background:var(--surface-2);font-size:12px}.ai-providers .pv-issue.critical{background:var(--pv-wash-critical)}.ai-providers .pv-issue>span{display:flex;align-items:center;gap:8px}.ai-providers .pv-identity{display:flex;flex-wrap:wrap;gap:4px 14px;color:var(--secondary);font-size:12px}.ai-providers .pv-identity strong{color:var(--text);font-weight:550}.ai-providers .pv-note{color:var(--muted);font-size:11.5px}.ai-providers .pv-status{display:flex;align-items:center;gap:8px;padding:7px 10px;border-radius:8px;background:var(--surface-2);color:var(--secondary);font-size:12px}.ai-providers .pv-status>span:not(.pv-spinner){flex:1}.ai-providers .pv-status.failed{background:var(--pv-wash-critical);color:var(--danger)}.ai-providers .pv-status.succeeded{color:var(--success)}.ai-providers .pv-accounts>.pv-status{margin-bottom:16px}.ai-providers .pv-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:2px;margin-top:auto;border-top:1px solid var(--border);padding-top:10px}.ai-providers .pv-spinner{width:13px;height:13px;flex:none;border:2px solid #46536a;border-top-color:var(--accent);border-radius:50%;animation:spin .9s linear infinite}.ai-providers .pv-waiting{display:flex;align-items:center;gap:10px;min-height:20px;color:var(--secondary);font-size:12px}.ai-providers .pv-waiting:empty{display:none}.ai-providers .pv-waiting.success{color:var(--success)}.ai-providers .pv-default{margin-top:30px;padding-top:24px;border-top:1px solid var(--border)}.ai-providers .pv-default-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:16px}.ai-providers .pv-default-head h3{font-size:15px;font-weight:600}.ai-providers .pv-default-head p{margin-top:4px;color:var(--muted);font-size:12px}.ai-providers .pv-verified{display:inline-flex;align-items:center;gap:6px;flex:none;color:var(--warning);font-size:12px;font-weight:500}.ai-providers .pv-verified.good{color:var(--success)}.ai-providers .pv-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:0;margin:0 0 14px;border:1px solid var(--border);border-radius:10px;background:var(--surface-0);overflow:hidden}.ai-providers .pv-summary>div{padding:11px 14px;border-right:1px solid var(--border);min-width:0}.ai-providers .pv-summary>div:last-child{border-right:0}.ai-providers .pv-summary dt{color:var(--muted);font-size:11px}.ai-providers .pv-summary dd{margin:4px 0 0;color:var(--text);overflow-wrap:anywhere}.ai-providers .pv-default>.pv-muted,.ai-providers .pv-default>.pv-waiting,.ai-providers .pv-default>.pv-error{margin-bottom:14px}.ai-providers .pv-row-actions,.ai-providers .pv-dialog-actions,.ai-providers .pv-setup-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}.ai-providers .pv-setup-actions{margin-top:24px}.ai-providers .pv-inline-note{display:flex;align-items:center;justify-content:space-between;gap:10px;color:var(--muted);font-size:12px}.ai-providers .pv-form{display:flex;flex-direction:column;gap:16px}.ai-providers .pv-form-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px}.ai-providers .pv-field{display:flex;flex-direction:column;gap:7px;margin:0;color:var(--text);font-size:12px;font-weight:600}.ai-providers .pv-field>span{color:var(--text)}.ai-providers .pv-field small,.ai-providers .pv-choice small{display:block;margin:0;color:var(--muted);font-size:11.5px;font-weight:400;line-height:1.55}.ai-providers .pv-field input,.ai-providers .pv-field select,.ai-providers .pv-code input{display:block;width:100%;min-width:0;min-height:38px;margin:0;padding:8px 11px;border:1px solid var(--border);border-radius:6px;background:var(--surface-0);color:var(--text);font:inherit;font-size:13px;font-weight:400;line-height:1.4}.ai-providers .pv-field input:focus,.ai-providers .pv-field select:focus,.ai-providers .pv-code input:focus{border-color:#516382;outline:2px solid #90b6ff40;outline-offset:1px}.ai-providers .pv-choices{display:flex;flex-direction:column;gap:8px;min-width:0;margin:0;padding:0;border:0}.ai-providers .pv-choices legend{margin-bottom:7px;padding:0;color:var(--text);font-size:12px;font-weight:600}.ai-providers .pv-choice-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:8px}.ai-providers .pv-choice{display:flex;align-items:flex-start;gap:10px;margin:0;padding:10px 12px;border:1px solid #354052;border-radius:10px;color:var(--text);font-size:13px;cursor:pointer}.ai-providers .pv-choice:has(input:checked){border-color:var(--accent);background:var(--pv-wash-accent)}.ai-providers .pv-choice:has(input:disabled){opacity:.6;cursor:default}.ai-providers .pv-choice input{width:auto;min-height:0;margin:4px 0 0;flex:none;accent-color:var(--accent)}.ai-providers .pv-choice>span{display:flex;flex-direction:column;gap:2px;min-width:0}.ai-providers .pv-choice strong{font-weight:550}.ai-providers .pv-consent{display:flex;align-items:flex-start;gap:10px;margin:0;color:var(--secondary);font-size:12px;line-height:1.6}.ai-providers .pv-consent input{width:16px;min-height:16px;margin:3px 0 0;flex:none;accent-color:var(--accent)}.ai-providers .pv-details{color:var(--muted);font-size:12px}.ai-providers .pv-details summary{width:fit-content;padding:4px 0;color:var(--secondary);cursor:pointer}.ai-providers .pv-details>.pv-field,.ai-providers .pv-details>p,.ai-providers .pv-details>small{margin-top:10px}.ai-providers .pv-details small{display:block;color:var(--muted);font-size:11.5px}.ai-providers.modal-backdrop{z-index:90}.ai-providers .pv-dialog{display:flex;flex-direction:column;gap:18px;width:min(480px,calc(100vw - 24px));max-height:90dvh;overflow-y:auto}.ai-providers .pv-dialog.wide{width:min(580px,calc(100vw - 24px))}.ai-providers .pv-dialog-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.ai-providers .pv-dialog-head h2{font-size:18px;font-weight:500;line-height:1.35}.ai-providers .pv-dialog-head p{margin-top:6px;color:var(--muted);font-size:12.5px}.ai-providers .pv-dialog-actions{margin-top:4px}.ai-providers .pv-confirm{color:var(--secondary);line-height:1.65}.ai-providers .pv-steps{display:flex;flex-direction:column;gap:6px;margin:0;padding-left:20px;color:var(--text);font-size:13px}.ai-providers .pv-steps a{display:inline-flex;align-items:center;gap:4px;color:var(--accent);font-weight:500;overflow-wrap:anywhere}.ai-providers .pv-code{display:flex;gap:8px}.ai-providers .pv-code input{flex:1;height:52px;text-align:center;font-family:ui-monospace,var(--mono);font-size:24px;font-weight:650;letter-spacing:.12em}.ai-providers .pv-code .pv-btn{height:52px}@media(max-width:650px){.ai-providers .pv-heading{flex-direction:column;align-items:stretch}.ai-providers .pv-heading-actions{justify-content:flex-end}.ai-providers .pv-provider-head{flex-wrap:wrap}.ai-providers .pv-summary>div{border-right:0;border-bottom:1px solid var(--border)}.ai-providers .pv-summary>div:last-child{border-bottom:0}.ai-providers .pv-default-head{flex-direction:column;gap:8px}.ai-providers .pv-code input{font-size:19px}}@media(prefers-reduced-motion:reduce){.ai-providers .pv-spinner{animation:none}}.project-metrics{display:grid;gap:24px;min-width:0}.metrics-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap}.metrics-toolbar h2{margin:0;font-size:20px}.metrics-toolbar p,.metrics-card>p,.metrics-footnote{color:var(--muted,#8b98aa);font-size:13px;line-height:1.6}.metrics-controls{display:flex;align-items:end;gap:10px;flex-wrap:wrap}.metrics-controls label{display:grid;gap:6px;font-size:12px;color:var(--muted,#8b98aa)}.metrics-controls select,.metrics-controls button{color:inherit;background:var(--panel,#171d27);border:1px solid var(--border,#303b4b);border-radius:8px;padding:9px 12px;min-height:38px}.metrics-controls button{cursor:pointer}.metrics-controls button:disabled{opacity:.5}.metrics-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.metrics-card{border:1px solid var(--border,#303b4b);border-radius:14px;padding:20px;min-width:0;background:var(--panel,#141b25)}.metrics-card header{display:flex;justify-content:space-between;gap:10px;align-items:center}.metrics-card h3{margin:0;font-size:15px}.metrics-delayed{font-size:11px;color:#d4b679}.metrics-plot{display:block;width:100%;margin:18px 0;color:var(--muted,#8b98aa);overflow:visible}.metrics-legend{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px;font-size:12px}.metrics-legend span{display:flex;align-items:center;gap:7px}.metrics-legend i{width:7px;height:7px;border-radius:50%}.metrics-legend b{font-variant-numeric:tabular-nums;font-weight:500}.metrics-card details{font-size:12px;color:var(--muted,#8b98aa)}.metrics-card summary{cursor:pointer}.metrics-table{max-height:280px;overflow:auto;margin-top:12px}.metrics-table table{border-collapse:collapse;width:100%;font-size:11px}.metrics-table td,.metrics-table th{border-bottom:1px solid var(--border,#303b4b);padding:8px;text-align:left;white-space:nowrap}.metrics-table caption{text-align:left;padding:8px}.metrics-no-data{min-height:150px;display:flex;align-items:center;justify-content:center;text-align:center;font-size:13px;line-height:1.7;color:var(--muted,#8b98aa);padding:20px}.metrics-guidance{padding:18px 20px;border:1px solid var(--border,#303b4b);border-radius:12px;font-size:14px;line-height:1.6}.metrics-guidance p{margin:8px 0 0;color:var(--muted,#8b98aa)}.metrics-problem{min-height:100px;color:#efb0aa!important}.metrics-footnote{margin:0}@media(max-width:700px){.metrics-grid{grid-template-columns:1fr}.metrics-card{padding:16px}.metrics-controls{width:100%}.metrics-controls label{flex:1}.metrics-controls select{max-width:100%}.metrics-toolbar{gap:12px}}.metrics-card:last-child{grid-column:1/-1}.metrics-business-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.metrics-business-series{min-width:0}@media(max-width:700px){.metrics-business-grid{grid-template-columns:1fr}}.live-architecture-page{max-width:none}.architecture-shell{container-type:inline-size;position:relative;height:max(540px,calc(100dvh - 245px));min-width:0;overflow:hidden;border:1px solid var(--border, #293240);border-radius:12px;background:#10141c}.architecture-canvas{position:absolute;top:0;right:0;bottom:0;left:0;overflow:hidden;touch-action:none;cursor:grab;background-image:radial-gradient(circle,#56617655 1px,transparent 1px)}.architecture-canvas.is-dragging{cursor:grabbing}.architecture-world{position:absolute;top:0;left:0;width:0;height:0;transform-origin:0 0}.architecture-links{position:absolute;overflow:visible;pointer-events:none}.architecture-frame{fill:#14192340;stroke:#394353;stroke-width:1;stroke-dasharray:5 7}.architecture-frame-label{fill:#8c98ab;font:12px system-ui}.architecture-link{fill:none;stroke:#61718c;stroke-width:2;stroke-dasharray:4 6;transition:opacity .15s,stroke .15s}.architecture-link.active{stroke:#b39cfb;stroke-width:2.5}.architecture-link.dimmed{opacity:.2}@media(prefers-reduced-motion:no-preference){.architecture-link:not(.stale){animation:architecture-flow 1.5s linear infinite}}@keyframes architecture-flow{to{stroke-dashoffset:-20}}.architecture-node-slot{position:absolute;width:244px}.architecture-node{display:flex;flex-direction:column;width:244px;height:142px;padding:18px;background:#1b202b;color:#e3e8f1;border:1px solid #3b4555;border-radius:12px;box-shadow:0 8px 24px #0003;text-align:left;cursor:grab;-webkit-user-select:none;user-select:none;touch-action:none;transition:border-color .15s,box-shadow .15s,opacity .15s}.architecture-node:hover,.architecture-node:focus-visible{border-color:#8d9db6;outline:2px solid #829bd444;outline-offset:3px}.architecture-node.selected{border-color:#aa92ea;box-shadow:0 0 0 3px #a88ce92c,0 8px 24px #0003}.architecture-node.dimmed{opacity:.45}.architecture-node-heading{display:flex;gap:12px;align-items:center}.architecture-node-heading strong{font-size:15px;font-weight:600}.architecture-node-icon{display:grid;place-items:center;width:36px;height:36px;flex:0 0 36px;background:#273248;color:#a4c0f5;border:1px solid #394866;border-radius:9px}.postgres .architecture-node-icon,.architecture-node-icon.postgres{background:#243249;color:#92baf6}.data .architecture-node-icon,.architecture-node-icon.data{background:#30283e;color:#c2a7f2;border-color:#493959}.collector .architecture-node-icon,.architecture-node-icon.collector{background:#28352e;color:#a6d6b7;border-color:#374f42}.architecture-node-description{margin-top:10px;font-size:12px;color:#95a0b3}.architecture-node-status{display:flex;width:100%;justify-content:space-between;align-items:center;margin-top:auto;padding-top:12px;font-size:11px;color:#8995a8}.architecture-status{display:inline-flex;align-items:center;gap:6px;color:#b0bac9;font-size:12px}.architecture-status i{width:6px;height:6px;border-radius:50%;background:#7b879a}.architecture-status.ready{color:#a7d6b5}.architecture-status.ready i{background:#80cb9f}.architecture-volume{display:flex;align-items:center;gap:8px;margin:7px 8px 0;padding:9px 10px;background:#181d27;border:1px solid #343e4e;border-radius:8px;color:#aab5c7;font-size:11px}.architecture-volume small{margin-left:auto;font-size:10px;color:#8794a8}.architecture-canvas-header{position:absolute;inset:0 0 auto;padding:19px 22px;display:flex;justify-content:space-between;gap:12px;color:#a9b5c8;font-size:12px;background:linear-gradient(#10141cf0,#10141c00);cursor:default}.architecture-canvas-header>span{display:flex;align-items:center;gap:8px}.architecture-canvas-header small{font-size:11px;color:#8390a4}.architecture-live-dot{width:6px;height:6px;border-radius:50%;background:#88b6ff}.architecture-live-dot.stale{background:#c49e6d}.architecture-controls{position:absolute;bottom:18px;left:18px;display:flex;align-items:center;padding:4px;border:1px solid #394454;background:#1a202bdc;border-radius:9px;cursor:default}.architecture-controls button{display:grid;place-items:center;width:34px;height:34px;padding:0;background:none;border:0;color:#b7c2d4;border-radius:5px;cursor:pointer}.architecture-controls button:hover{background:#303b4d;color:#fff}.architecture-controls>span{min-width:42px;text-align:center;font:11px ui-monospace,monospace;color:#8e9db3}.architecture-controls>i{height:20px;border-left:1px solid #394454;margin:0 4px}.architecture-hint{position:absolute;bottom:30px;right:20px;display:flex;align-items:center;gap:6px;color:#7e8ca2;font-size:11px;pointer-events:none}.architecture-stale{position:absolute;top:52px;left:18px;right:18px;color:#dac19e;font-size:12px;pointer-events:none}.architecture-empty{position:absolute;top:90px;right:24px;bottom:90px;left:24px;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;pointer-events:none;color:#8f9cb0}.architecture-empty h2{color:#d2dae6;font-size:18px;margin:20px 0 4px}.architecture-empty p{font-size:13px;line-height:1.6;max-width:380px}.architecture-panel{position:absolute;inset:0 0 0 auto;width:340px;max-width:100%;display:flex;flex-direction:column;background:#171d27;border-left:1px solid #3b4657;box-shadow:-12px 0 30px #0002;z-index:5;color:#dbe2ee}.architecture-panel>header{display:flex;align-items:center;gap:12px;padding:22px 20px}.architecture-panel h2{font-size:16px;margin:0 0 6px}.architecture-panel>header>button{margin-left:auto;align-self:flex-start;border:0;background:none;color:#a0adc0;padding:5px;cursor:pointer}.architecture-panel>nav{display:flex;padding:0 20px;border-bottom:1px solid #313b4b;gap:22px}.architecture-panel>nav button{border:0;border-bottom:2px solid transparent;padding:10px 0 12px;background:none;color:#8e9cb1;font-size:12px;cursor:pointer}.architecture-panel>nav button[aria-current]{color:#e7ddff;border-bottom-color:#ac93ea}.architecture-panel-body{overflow:auto;padding:20px;min-height:0;font-size:13px;overscroll-behavior:contain}.architecture-panel-body dl{margin:0}.architecture-panel-body dl>div{margin-bottom:20px}.architecture-panel-body dt{color:#8796ad;font-size:11px;margin-bottom:7px;display:flex;gap:6px}.architecture-panel-body dd{margin:0;overflow-wrap:anywhere;line-height:1.5}.architecture-panel-body code{font-size:11px}.architecture-panel-note{color:#8d9cb2;font-size:12px;line-height:1.6;overflow-wrap:anywhere}.architecture-panel-note strong{color:#bdc8d9;font-weight:500}.architecture-panel-note p{margin:6px 0}.architecture-network-row{display:block;width:100%;text-align:left;background:#202735;border:1px solid #343e4f;border-radius:8px;padding:12px;margin:10px 0;color:#c5cfe0;cursor:pointer}.architecture-network-row>span{display:flex;align-items:center;gap:7px;font-size:12px}.architecture-network-row small{display:block;margin-top:6px;color:#8596af;font-size:10px}@media(max-width:700px){.live-page.live-architecture-page{padding:20px 14px}.architecture-shell{height:max(540px,calc(100dvh - 230px))}}@container (max-width: 700px){.architecture-canvas-header{padding:15px 14px;flex-wrap:wrap;gap:6px}.architecture-canvas-header small{font-size:10px}.architecture-hint{display:none}.architecture-controls{bottom:12px;left:12px}.architecture-controls button{width:44px;height:44px}.architecture-panel{top:44%;left:0;width:100%;border:1px solid #3b4657;border-bottom:0;border-radius:16px 16px 0 0;box-shadow:0 -12px 30px #0003}.architecture-panel>header{padding:16px 18px}.architecture-panel>header>button{min-width:44px;min-height:44px;margin-top:-8px;margin-right:-8px}.architecture-panel-body{padding:16px 18px}}.live-page.live-architecture-page{display:flex;flex-direction:column;min-height:0}.live-architecture-page>.live-page-heading,.live-architecture-page>.live-tabs{flex-shrink:0}.live-architecture-page>.architecture-shell{flex:1;min-height:360px;height:auto}.ai-integration .architecture-node-icon,.architecture-node-icon.ai-integration{background:#302742;border-color:#59456c;color:#d0adf5}.architecture-node.ai-integration{border-color:#65517c;background:#221e2d}.architecture-node-description{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.architecture-status.configured{color:#c4a4e8}.architecture-status.configured i{background:#bc94e6}.architecture-status.warning{color:#ddbe8b}.architecture-status.warning i{background:#d9ad68}.architecture-link.integration{stroke:#a58ac5;stroke-dasharray:7 5}.architecture-mini-dot.configured{fill:#bc94e6}.project-overview{display:grid;gap:22px;min-width:0}.overview-intro{display:flex;align-items:center;justify-content:space-between;gap:20px}.overview-intro>p{margin:0;max-width:700px;color:var(--secondary);font-size:13px;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere}.overview-runtime,.overview-access{display:inline-flex;align-items:center;gap:6px;flex-shrink:0;font-size:11px;color:var(--muted)}.project-overview .success{color:var(--success)}.project-overview .warning{color:var(--warning)}.project-overview .danger{color:var(--danger)}.project-overview .accent{color:var(--accent)}.project-overview .muted{color:var(--muted)}.overview-progress{margin:-6px 0 0;color:var(--secondary);font-size:12px}.overview-connections{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(280px,1fr);gap:18px}.overview-card{border:1px solid var(--border);border-radius:13px;overflow:hidden;min-width:0;background:#141923}.overview-card>header{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;padding:17px 18px;border-bottom:1px solid var(--border)}.overview-card h2,.overview-pulse-heading h2{display:flex;align-items:center;gap:8px;font-size:13px;font-weight:550;margin:0}.overview-card h2>svg,.overview-pulse-heading h2>svg{color:var(--muted)}.overview-card>header>span{font-size:10px;color:var(--muted)}.architecture-mini{display:flex;flex-direction:column;width:100%;height:330px;padding:20px 18px 12px;border:0;text-align:left;color:var(--secondary);cursor:pointer;background:radial-gradient(circle,#53607940 1px,transparent 1px) 0 0 / 18px 18px,#10151e}.architecture-mini:hover{background-color:#141c28}.architecture-mini>svg{display:block;width:100%;height:100%;min-height:0;flex:1}.architecture-mini-node{fill:#1b2330;stroke:#39485c;stroke-width:1.5}.architecture-mini-link{fill:none;stroke:#7189b2;stroke-width:2;stroke-dasharray:5 6}.architecture-mini-icon{color:#a2b9e3}.architecture-mini-name{fill:var(--text);font-size:16px;font-weight:550}.architecture-mini-description,.architecture-mini-state{fill:#9caabe;font-size:12px}.architecture-mini-dot{fill:var(--muted)}.architecture-mini-dot.ready{fill:var(--success)}.architecture-mini-dot.warning{fill:var(--warning)}.architecture-mini-footer{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;padding-top:16px;font-size:10px;color:var(--muted)}.architecture-mini-footer>span:last-child{display:flex;align-items:center;gap:6px;color:var(--accent)}.architecture-mini-empty{display:flex;flex:1;flex-direction:column;align-items:center;justify-content:center;gap:13px;text-align:center;font-size:12px;line-height:1.6}.architecture-mini-empty>strong{font-size:14px;font-weight:500;color:var(--text)}.overview-apps{display:flex;flex-direction:column}.overview-app-list{flex:1;padding:0 18px}.overview-app{padding:20px 0}.overview-app+.overview-app{border-top:1px solid var(--border)}.overview-app-heading{display:flex;align-items:center;gap:10px;min-width:0}.overview-app-heading>strong{min-width:0;overflow:hidden;text-overflow:ellipsis;font-size:13px;font-weight:550}.overview-app-icon{display:grid;place-items:center;width:32px;height:32px;flex-shrink:0;border:1px solid #90b6ff24;border-radius:9px;background:#90b6ff0d;color:var(--accent)}.overview-access{margin-left:auto;font-size:10px}.overview-app-link{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:16px;border:1px solid #90b6ff30;border-radius:8px;padding:11px 12px;color:var(--accent);font-size:12px}.overview-app-link:hover{background:#90b6ff0e;border-color:#90b6ff60}.overview-app-link>span:first-child{overflow-wrap:anywhere;min-width:0}.overview-app-link>svg{flex-shrink:0}.overview-app p{font-size:12px;line-height:1.7;color:var(--muted);margin:12px 0 0}.overview-app small{display:flex;align-items:center;gap:5px;margin-top:10px;color:var(--muted);font-size:10px}.overview-permission{display:flex;align-items:center;gap:7px;padding:14px 18px;margin:0;border-top:1px solid var(--border);color:var(--muted);font-size:10px;line-height:1.6}.overview-permission>svg{flex-shrink:0}.overview-pulse-heading{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:14px;margin-top:5px}.overview-pulse-heading>div{display:flex;align-items:center;flex-wrap:wrap;gap:16px}.overview-service{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:11px}.overview-service select{border:1px solid var(--border);border-radius:6px;background:var(--surface-2);color:var(--text);padding:6px 8px;max-width:160px;font-size:11px}.overview-pulse-heading button{display:flex;align-items:center;gap:6px;padding:6px 0;border:0;background:none;color:var(--accent);font-size:11px}.overview-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.overview-stat{display:flex;align-items:center;gap:12px;padding:20px 16px;text-align:left;background:#141923;border:1px solid var(--border);border-radius:12px;color:var(--text);min-width:0}.overview-stat:hover{border-color:#90b6ff60;background:#18202c}.overview-stat-copy{display:flex;flex:1;min-width:0;flex-direction:column;gap:10px}.overview-stat-copy>span{font-size:11px;color:var(--secondary);line-height:1.5}.overview-stat strong{display:flex;align-items:baseline;gap:5px;font-size:25px;font-weight:500;letter-spacing:-.7px;font-variant-numeric:tabular-nums}.overview-stat strong em{font-style:normal;font-size:11px;letter-spacing:0;color:var(--muted)}.overview-stat small{font-size:10px;line-height:1.6;color:var(--muted)}.overview-gauge{width:60px;height:60px;flex-shrink:0}.overview-gauge-track,.overview-gauge-value{fill:none;stroke-width:5}.overview-gauge-track{stroke:#2b3545}.overview-gauge-value{stroke:currentColor;stroke-linecap:round}.overview-gauge>svg{opacity:.75}.overview-trend{width:65px;height:40px;flex-shrink:0;fill:none;stroke:var(--accent);stroke-width:2}.overview-trend-axis{stroke:#354156;stroke-width:1}.overview-footnote{margin:-6px 0 0;font-size:10px;line-height:1.7;color:var(--muted)}@media(max-width:1250px){.overview-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:1000px){.overview-connections{grid-template-columns:minmax(0,1fr)}}@media(max-width:600px){.overview-intro{align-items:flex-start;flex-direction:column-reverse;gap:12px}.architecture-mini{height:280px;padding:12px}.overview-stats{gap:10px}.overview-stat{flex-direction:column-reverse;align-items:flex-start;padding:14px;gap:12px}.overview-stat-copy{flex:auto}.overview-stat strong{font-size:23px;flex-wrap:wrap}.overview-gauge{height:48px;width:48px}.overview-trend{height:48px}.overview-pulse-heading>div{justify-content:space-between;width:100%}}.live-console .brand{text-decoration:none;color:var(--text)}.live-console .brand svg{color:var(--accent)}.live-console .main-shell{min-width:0}.live-search{display:flex;align-items:center;gap:6px;margin-bottom:14px;padding:5px 6px;border:1px solid var(--border);border-radius:6px;color:var(--muted)}.live-search input{background:none;border:0;min-width:0;width:100%;color:var(--text);font-size:11px;padding:5px 0}.live-person{display:flex;justify-content:space-between;align-items:center;padding:16px 9px;gap:8px}.live-person span{display:flex;flex-direction:column;gap:4px;min-width:0;font-size:12px}.live-person small{color:var(--muted);font-size:10px}.live-person strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.live-console .topbar{justify-content:space-between}.live-alert,.live-notice{display:flex;gap:15px;align-items:center;justify-content:space-between;margin:12px 24px 0;padding:12px 15px;border:1px solid #62403e;border-radius:6px;background:#241b1c;color:var(--danger);font-size:12px}.live-notice{border-color:#2d4a40;background:#15251e;color:var(--success)}.live-connect{display:flex;flex:1;flex-direction:column;align-items:center;justify-content:center;padding:30px;text-align:center;gap:16px}.live-connect>svg{color:var(--accent)}.live-connect h1{font-size:24px;margin:0}.live-connect p{font-size:13px;color:var(--muted);max-width:400px;line-height:1.6;margin:0}.live-new-thread{width:min(840px,100%);padding:clamp(48px,13vh,132px) 36px 48px;margin:0 auto;overflow-y:auto}.live-new-thread h1{font-size:clamp(30px,3.5vw,44px);line-height:1.3;letter-spacing:-1.5px;font-weight:500;margin:23px 0 18px;text-wrap:balance}.live-new-thread>p,.live-muted{color:var(--muted);font-size:13px;line-height:1.7}.live-console form{display:flex;flex-direction:column;gap:10px}.live-console form label{font-size:11px;color:var(--secondary);margin-top:6px}.live-console form :is(input,select,textarea){background:var(--surface-0);color:var(--text);border:1px solid var(--border);border-radius:5px;padding:10px 12px;min-width:0;width:100%;font:inherit;font-size:13px}.live-console form textarea{resize:vertical;min-height:75px}.live-form-footer{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-top:10px}.live-form-footer>span{color:var(--muted);font-size:10px}.live-page{overflow-y:auto;padding:28px;flex:1}.live-page h1{font-size:25px;font-weight:500;margin:8px 0 24px}.live-page-heading{display:flex;justify-content:space-between;align-items:center;gap:15px}.live-project-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:16px;margin-top:8px}.live-project-card{display:block;position:relative;text-align:left;background:var(--surface-1);border:1px solid var(--border);border-radius:8px;padding:20px;color:var(--text)}.live-project-card:hover{border-color:#516382;background:var(--surface-2)}.live-project-card>.badge{float:right}.live-project-card>svg{color:var(--accent)}.live-project-card h2{font-size:16px;margin:22px 0 8px}.live-project-card p{font-size:12px;color:var(--secondary);line-height:1.5}.live-project-card small{font:11px var(--mono);color:var(--muted);overflow-wrap:anywhere}.live-empty{text-align:center;padding:45px 20px;color:var(--muted)}.live-empty h2{font-size:16px;font-weight:500;color:var(--secondary);margin:15px 0 10px}.live-empty p{font-size:12px;line-height:1.7;max-width:380px;margin:0 auto 18px}.live-tabs{display:flex;gap:25px;border-bottom:1px solid var(--border);margin-bottom:25px;overflow:auto}.live-tabs button,.live-tabs a{display:inline-flex;align-items:center;gap:7px;flex-shrink:0;background:none;border:0;padding:12px 0;color:var(--muted);font-size:12px;text-decoration:none;white-space:nowrap}.live-tabs [aria-current]{color:var(--text);box-shadow:inset 0 -2px var(--accent)}.live-facts{max-width:720px}.live-facts>div{display:flex;justify-content:space-between;gap:20px;padding:18px 0;border-bottom:1px solid var(--border);font-size:12px}.live-facts span{color:var(--muted)}.live-facts strong{font-weight:400;text-align:right;overflow-wrap:anywhere}.live-thread{display:flex;flex-direction:column;flex:1;overflow-y:auto;padding:24px}.live-thread-heading h1{font-size:20px;margin:0 0 8px}.live-thread-heading>button{background:none;border:0;color:var(--accent);display:flex;align-items:center;gap:6px;font-size:12px}.live-thread>.live-empty{margin:auto}.live-composer{display:flex;align-items:flex-end;border:1px solid var(--border);border-radius:8px;padding:12px}.live-composer textarea{background:none;color:var(--muted);border:0;resize:none;flex:1;min-width:0;font:inherit;font-size:13px}.live-settings-form{max-width:460px}.live-settings-form>button{align-self:flex-start;margin-top:10px}.live-settings-links{margin-top:32px;max-width:460px}.live-settings-links a{display:flex;justify-content:space-between;color:var(--text);text-decoration:none;font-size:13px}.live-settings-links p{color:var(--muted);font-size:12px;line-height:1.6}.live-project-dialog{width:min(480px,calc(100vw - 24px));max-height:90dvh;overflow-y:auto}.live-project-dialog form>.button{margin-top:8px}.live-domain-state{font-size:11px;color:var(--muted);line-height:1.6;overflow-wrap:anywhere;min-height:35px}.live-console .sidebar-backdrop{display:none}@media(max-width:700px){.live-console .sidebar{position:fixed;inset:0 auto 0 0;z-index:40;transform:translate(-100%);width:260px}.live-console .sidebar.open{transform:translate(0)}.live-console .sidebar-backdrop{display:block;position:fixed;top:0;right:0;bottom:0;left:0;background:#0009;z-index:39;border:0}.live-console .mobile-menu{display:flex}.live-console .main-shell{width:100%}.live-new-thread{padding:48px 20px 28px}.live-new-thread h1{font-size:30px;letter-spacing:-1px}.live-form-footer>span{max-width:120px}.live-page,.live-thread{padding:20px 18px}.live-alert,.live-notice{margin:10px 12px 0;flex-wrap:wrap}.live-facts>div{flex-direction:column;gap:8px}.live-facts strong{text-align:left}.live-console .topbar{padding:0 12px}.live-tabs{gap:22px}}.thread-intro{text-align:center}.thread-intro>p{max-width:440px;margin:0 auto;color:var(--muted);font-size:13px;line-height:1.8}.thread-project-anchor{display:inline-block;max-width:100%;vertical-align:baseline}.thread-project-trigger{display:inline-flex;align-items:center;gap:9px;max-width:100%;padding:0 0 3px;border:0;border-bottom:1px solid #90b6ff80;background:transparent;color:var(--accent);font:inherit;letter-spacing:inherit;text-align:left;transition:color .15s,border-color .15s}.thread-project-trigger:hover,.thread-project-trigger[aria-expanded=true]{color:#c4d8ff;border-color:#c4d8ff}.thread-project-trigger>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:22ch}.thread-project-trigger>svg{flex-shrink:0}.thread-picker-anchor{position:relative;z-index:5;width:min(390px,100%);margin:0 auto}.thread-project-picker{position:absolute;top:12px;left:0;width:100%;padding:7px;border:1px solid #364255;border-radius:14px;background:#171c25;box-shadow:0 20px 65px #0009,0 1px #ffffff08 inset}.thread-project-search{display:flex;align-items:center;gap:10px;padding:10px 12px 13px;color:var(--muted);border-bottom:1px solid var(--border)}.thread-project-search input{width:100%;min-width:0;padding:3px 0;border:0;background:transparent;color:var(--text);font-size:13px}.thread-project-search input:focus{outline:none}.thread-project-search:focus-within{border-bottom-color:var(--accent)}.thread-project-options{max-height:min(240px,32dvh);overflow-y:auto;padding-top:5px}.thread-project-options>button{display:flex;align-items:center;gap:11px;width:100%;padding:10px;border:0;border-radius:8px;text-align:left;color:var(--text);background:transparent}.thread-project-options>button:is(:hover,.highlighted){background:#242e3d}.thread-project-icon{display:grid;place-items:center;flex-shrink:0;width:32px;height:32px;border:1px solid #364255;border-radius:8px;color:var(--accent)}.thread-project-options>button>span:nth-child(2){display:grid;gap:4px;min-width:0;flex:1}.thread-project-options strong{font-size:13px;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.thread-project-options small{font-size:11px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.thread-project-options>button>svg{flex-shrink:0;color:var(--accent)}.thread-project-empty{color:var(--muted);font-size:12px;line-height:1.6;padding:10px 12px}.thread-create-project{display:flex;gap:10px;align-items:center;width:100%;padding:13px 12px 8px;margin-top:5px;border:0;border-top:1px solid var(--border);background:transparent;color:var(--accent);font-size:12px;text-align:left}.thread-create-project:hover{color:#c4d8ff}.live-new-thread .thread-draft{margin-top:35px;padding:22px;gap:0;background:linear-gradient(150deg,#19212e80,#11151c 65%);border:1px solid #344155;border-radius:18px;box-shadow:0 12px 48px #0002;transition:border-color .15s,box-shadow .15s}.live-new-thread .thread-draft:focus-within{border-color:#718fb9;box-shadow:0 0 0 3px #90b6ff0a,0 12px 48px #0002}.live-new-thread .thread-draft textarea{padding:0;border:0;border-radius:0;background:transparent;outline:none;font-size:15px;line-height:1.8;min-height:108px;resize:vertical}.thread-draft textarea::placeholder{color:#8995a9}.thread-draft-footer{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:18px}.thread-draft-footer>span{color:var(--muted);font-size:11px;line-height:1.6;overflow-wrap:anywhere}.thread-start{flex-shrink:0;border-radius:9px;padding:11px 14px}.thread-start:disabled{opacity:1;color:#8796ac;background:#263143;border-color:#354156}.thread-afterword{display:flex;justify-content:center;margin-top:18px;color:var(--muted);text-align:center;font-size:11px;line-height:1.7}.thread-create-first{display:flex;align-items:center;gap:6px;padding:4px;border:0;background:transparent;color:var(--accent);font-size:12px}.thread-runtime-note{font-size:11px;color:var(--muted);text-align:center;line-height:1.7}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}@media(max-width:700px){.thread-intro>p{font-size:12px}.thread-project-trigger{gap:7px}.thread-project-trigger>span{max-width:17ch}.live-new-thread .thread-draft{padding:18px;margin-top:28px}.thread-draft-footer{align-items:flex-end}.thread-draft-footer>span{max-width:130px}.thread-start{padding:10px 12px;font-size:11px}}.thread-messages{display:grid;gap:22px;padding:24px 0}.thread-message{padding:18px 20px;border:1px solid var(--border);border-radius:14px;min-width:0}.thread-message-user{background:#19212e}.thread-message>strong{color:var(--muted);font-size:12px;font-weight:500}.thread-message>p{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.7;margin:12px 0 0}.thread-progress{color:var(--muted);font-size:13px;line-height:1.6}.chat-thread{display:flex;flex-direction:column;flex:1;min-height:0;min-width:0;position:relative}.chat-thread-context{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 24px;color:var(--muted);font-size:11px}.chat-thread-context>button{display:flex;align-items:center;gap:7px;padding:3px 0;background:none;border:0;color:var(--secondary);font:inherit}.chat-timeline{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable both-edges}.chat-lane{width:min(100%,864px);padding:28px 48px 40px;margin:0 auto;display:flex;flex-direction:column;gap:28px}.chat-message{min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:7px;font-size:14px;line-height:1.75}.chat-message-user{align-items:flex-end}.chat-user-bubble{max-width:80%;padding:12px 16px;border-radius:18px;background:#202733;color:#e0e5ee;white-space:pre-wrap;overflow-wrap:anywhere}.chat-copy{display:inline-flex;align-items:center;gap:5px;border:0;background:transparent;color:var(--muted);border-radius:6px;padding:5px 7px;font-size:11px;opacity:0;transition:opacity .15s,color .15s}.chat-message:hover .chat-copy,.chat-copy:focus-visible{opacity:1}.chat-copy:hover{color:var(--text);background:#ffffff06}.chat-markdown{width:100%;min-width:0;overflow-wrap:anywhere}.chat-markdown>:first-child{margin-top:0}.chat-markdown>:last-child{margin-bottom:0}.chat-markdown p{margin:0 0 16px}.chat-markdown :is(h1,h2,h3,h4){font-size:16px;line-height:1.5;font-weight:600;margin:24px 0 12px}.chat-markdown ul,.chat-markdown ol{padding-left:24px;margin:12px 0 18px}.chat-markdown li{padding-left:3px;margin:5px 0}.chat-markdown a{color:var(--accent);text-underline-offset:3px}.chat-markdown blockquote{margin:16px 0;padding:0 16px;border-left:2px solid #465368;color:var(--secondary)}.chat-markdown code{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:.88em;background:#ffffff08;border-radius:4px;padding:2px 5px}.chat-markdown pre{max-width:100%;overflow-x:auto;padding:16px;background:#0d1118;border:1px solid var(--border);border-radius:10px}.chat-markdown pre code{padding:0;background:none;white-space:pre}.chat-markdown table{display:block;max-width:100%;overflow-x:auto;border-collapse:collapse;margin:16px 0;font-size:13px}.chat-markdown th,.chat-markdown td{border:1px solid var(--border);padding:8px 12px;text-align:left}.chat-markdown hr{border:0;border-top:1px solid var(--border);margin:24px 0}.chat-activity{display:flex;align-items:center;gap:9px;color:var(--muted);font-size:12px;line-height:1.6}.chat-activity>svg{flex-shrink:0}.chat-activity-error{color:var(--danger)}.chat-spin{animation:chat-spin 1.5s linear infinite}@keyframes chat-spin{to{transform:rotate(360deg)}}.chat-composer-dock{position:relative;flex-shrink:0;width:min(100%,864px);padding:8px 48px max(12px,env(safe-area-inset-bottom));margin:0 auto}.live-console form.chat-composer{position:relative;gap:0;padding:0;border:1px solid #364152;border-radius:22px;background:#1a202a;box-shadow:0 4px 18px #0002;transition:border-color .15s}.live-console form.chat-composer:focus-within{border-color:#657c9d}.live-console form.chat-composer textarea{display:block;width:100%;min-height:76px;max-height:220px;resize:none;padding:17px 18px 8px;border:0;border-radius:22px 22px 0 0;outline:none;background:none;color:var(--text);line-height:1.65;font-size:14px;box-shadow:none}.chat-composer textarea::placeholder{color:#8290a4}.chat-composer-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 12px 12px 18px}.chat-composer-context{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--muted);font-size:11px}.chat-composer-notice{white-space:normal;color:var(--danger)}.chat-attach{display:grid;place-items:center;width:34px;height:34px;margin-left:-8px;flex-shrink:0;border:0;border-radius:50%;background:transparent;color:var(--muted)}.chat-attach:hover:not(:disabled){color:var(--text);background:#ffffff0a}.chat-attach:disabled{opacity:.4;cursor:default}.chat-composer-dragging{border-color:var(--accent)!important}.chat-drop-hint{position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;display:grid;place-items:center;border-radius:22px;background:#1a202ad9;color:var(--text);font-size:13px;pointer-events:none}.chat-attachments{display:flex;flex-wrap:wrap;gap:12px;list-style:none;margin:0;padding:14px 18px 0}.chat-attachment{position:relative;width:76px}.chat-attachment img{display:block;width:76px;height:76px;object-fit:cover;border:1px solid #364152;border-radius:10px;background:#0d1118}.chat-attachment-label{display:block;margin-top:4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--muted);font-size:10px}.chat-attachment-remove{position:absolute;top:-7px;right:-7px;width:22px;height:22px;display:grid;place-items:center;border:1px solid #414d5f;border-radius:50%;background:#202733;color:var(--text)}.chat-attachment-remove:hover:not(:disabled){background:#2c3644}.chat-images{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px;max-width:80%}.chat-image img{display:block;max-width:min(100%,320px);max-height:240px;border:1px solid #364152;border-radius:12px;background:#0d1118}.chat-image-chip{display:inline-flex;align-items:center;gap:6px;padding:6px 10px;border:1px dashed #414d5f;border-radius:10px;color:var(--muted);font-size:12px}.chat-image-loading{animation:chat-pulse 1.2s ease-in-out infinite alternate}@keyframes chat-pulse{to{opacity:.45}}.chat-send{display:grid;place-items:center;width:34px;height:34px;flex-shrink:0;border:0;border-radius:50%;background:#dce7fa;color:#152034}.chat-send:hover:not(:disabled){background:#fff}.chat-send:disabled{background:#303b4c;color:#8493a8;cursor:default}.chat-composer-help{text-align:center;color:var(--muted);font-size:10px;margin:9px 0 0}.chat-limit{padding:0 18px 12px;color:var(--muted);font-size:11px}.chat-jump{position:absolute;right:50%;transform:translate(50%);top:-38px;width:32px;height:32px;display:grid;place-items:center;border:1px solid #414d5f;border-radius:50%;background:#202733;color:var(--text);box-shadow:0 3px 12px #0005}.new-thread-composer{margin-top:32px}@media(max-width:700px){.chat-thread-context{padding:10px 18px}.chat-lane{padding:22px 18px 28px;gap:24px}.chat-user-bubble,.chat-images{max-width:88%}.chat-image img{max-width:min(100%,240px);max-height:200px}.chat-composer-dock{padding:8px 14px max(10px,env(safe-area-inset-bottom))}.live-console form.chat-composer textarea{font-size:16px}.chat-copy{opacity:1}}@media(prefers-reduced-motion:reduce){.chat-spin,.chat-image-loading{animation:none}}.chat-deployment{padding:20px;border:1px solid var(--border);border-radius:14px;margin:20px 0}.chat-deployment h2{font-size:16px;margin:0 0 10px}.chat-deployment p{color:var(--muted);font-size:14px;line-height:1.6}.chat-deployment code{display:block;overflow-wrap:anywhere;font-size:12px;margin:14px 0}.chat-deployment button{background:var(--accent);color:#10203b;padding:10px 16px;border:0;border-radius:8px;cursor:pointer;font-weight:600}.chat-deployment button:disabled{opacity:.5;cursor:wait}.live-project-dialog{width:min(540px,calc(100vw - 24px))}.live-project-dialog .modal-heading{margin-bottom:24px}.live-project-dialog form{gap:0}.live-project-dialog form>label{margin:22px 0 0;font-size:13px;font-weight:600;color:var(--text)}.live-project-dialog form>label:first-of-type{margin-top:0}.live-project-dialog form>input,.live-project-dialog form>select,.live-project-dialog form>textarea{margin-top:10px}.live-project-dialog form>textarea{min-height:82px}.project-field-help{margin:5px 0 0;font-size:12px;line-height:1.6;color:var(--muted)}.project-url-preview{overflow-wrap:anywhere}.project-url-preview>span{color:var(--secondary)}.live-project-dialog .live-domain-state{padding-top:8px}.live-console .main-nav{margin-bottom:10px}.live-console .live-search{margin-bottom:12px}.thread-row{position:relative;margin-bottom:5px;border-radius:9px;color:var(--text)}.thread-row:hover{background:#ffffff05}.thread-row.active{background:#90b6ff16}.thread-row-open{width:100%;display:grid;gap:8px;padding:10px 10px 12px;border:0;border-radius:inherit;background:transparent;color:inherit;text-align:left}.thread-row-meta{display:flex;gap:8px;align-items:center;min-width:0;height:24px;color:var(--muted);font-size:11px;line-height:1}.thread-project-monogram{display:grid;place-items:center;width:22px;height:22px;flex:0 0 auto;border-radius:5px;background:#90b6ff20;color:var(--accent);font-size:9px;font-weight:650;line-height:1}.thread-row-project{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.thread-row-state{margin-left:auto;display:flex;align-items:center;gap:5px;flex-shrink:0;font-size:10px;height:24px}.thread-row-state.completed{color:var(--success)}.thread-row-state.working{color:#69baff}.thread-row-state>svg{flex-shrink:0}.thread-project-tone-1{color:#eeb977;background:#eeb97720}.thread-project-tone-2{color:#ed91ad;background:#ed91ad20}.thread-project-tone-3{color:#a995ed;background:#a995ed20}.thread-project-tone-4{color:#72cfa4;background:#72cfa420}.thread-row-state.failed{color:var(--danger)}.thread-row-title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;line-height:1.5}.thread-running{animation:spin 1.5s linear infinite}.thread-archive-action{position:absolute;right:6px;top:7px;opacity:0;width:32px;height:32px;pointer-events:none}.thread-row:hover .thread-archive-action,.thread-row:focus-within .thread-archive-action{opacity:1;pointer-events:auto}.thread-row:hover .thread-row-state,.thread-row:focus-within .thread-row-state{visibility:hidden}.thread-archive-action:disabled{cursor:wait}.thread-archive-section{flex-shrink:0;margin-top:auto;padding:12px 0}.thread-archive-toggle{display:flex;align-items:center;gap:7px;width:100%;padding:8px 10px;color:var(--muted);background:transparent;border:0;text-align:left;font-size:11px}.thread-archive-toggle:hover,.thread-archive-toggle[aria-expanded=true]{color:var(--accent)}.thread-archive-rule{height:1px;background:var(--border);flex:1}.thread-archive-toggle[aria-expanded=true]>svg:last-child{transform:rotate(180deg)}.archived-thread-list{max-height:28dvh;overflow:auto;margin-top:6px}.thread-list-empty,.thread-archive-error{padding:0 10px;color:var(--muted);font-size:11px;line-height:1.6}.thread-archive-error{color:var(--danger)}@media(hover:none),(pointer:coarse){.thread-archive-action{opacity:1;pointer-events:auto;width:40px;height:40px;top:2px;right:2px}.thread-row-state{margin-right:32px}.thread-row:hover .thread-row-state,.thread-row:focus-within .thread-row-state{visibility:visible}}@media(prefers-reduced-motion:reduce){.thread-running{animation:none}}.chat-action-summary{display:flex;align-items:flex-start;gap:9px;min-width:0;color:var(--muted);font-size:13px;line-height:1.8;padding:3px 0}.chat-action-summary>svg{flex-shrink:0;margin-top:4px}.chat-action-summary>p{margin:0;min-width:0;overflow-wrap:anywhere}.chat-action-separator{color:var(--muted);padding:0 3px}.chat-action-running{color:var(--accent)}.chat-action-failed{color:var(--danger)}.chat-history-load{align-self:center;padding:8px 12px;border:1px solid var(--border);border-radius:8px;color:var(--secondary);background:transparent;font-size:12px}.chat-history-load:hover{color:var(--text);background:var(--surface-2)}.chat-history-note{margin:0;color:var(--muted);font-size:12px;line-height:1.6}.project-deletion{margin-top:32px;padding:24px;border:1px solid var(--border,#303744);border-radius:14px;max-width:720px}.project-deletion h2{display:flex;align-items:center;gap:8px;font-size:17px}.project-deletion p{color:var(--muted,#9aa7b7);line-height:1.6}.project-deletion label{display:block;margin:20px 0}.project-deletion label>input:not([type=checkbox]){display:block;width:100%;margin-top:8px;padding:10px;background:var(--surface,#171e29);color:inherit;border:1px solid var(--border,#303744);border-radius:8px}.project-deletion .project-delete-ack{display:flex;align-items:flex-start;gap:10px;line-height:1.5}.project-delete-ack input{margin-top:5px}.project-delete-actions{display:flex;justify-content:flex-end;gap:12px;flex-wrap:wrap}.project-deletion button{display:inline-flex;align-items:center;gap:8px;padding:10px 14px;border-radius:8px;border:1px solid var(--border,#303744);background:var(--surface,#171e29);color:inherit}.project-deletion .project-delete-button{color:#f7a29d;border-color:#8c4348;background:#3b222a}.project-deletion button:disabled{opacity:.45;cursor:default}.project-deletion [role=alert]{color:#f7a29d}.live-console .project-deletion .project-delete-ack input[type=checkbox]{flex:0 0 16px;width:16px;height:16px;padding:0;margin:1px 0 0;accent-color:var(--accent)}.project-delete-ack span{min-width:0}.badge.project-status{align-items:center;gap:5px;width:fit-content;line-height:1.4;--status-color: var(--accent);color:var(--status-color);border-color:color-mix(in srgb,var(--status-color) 35%,transparent);background:color-mix(in srgb,var(--status-color) 11%,transparent)}.project-status svg{flex-shrink:0}.project-status.ready{--status-color: var(--success)}.project-status.waiting,.project-status.deleting{--status-color: var(--warning)}.project-status.failed{--status-color: var(--danger)}.live-console :is(.live-project-card,.thread-row-open,.sidebar-workspace-settings){text-decoration:none}.live-console .live-project-card{color:var(--text)}.live-console .main-nav a{display:flex;align-items:center;gap:10px;width:100%;padding:10px;border:0;border-radius:5px;color:var(--secondary);text-decoration:none;font-size:12px}.live-console .main-nav a:is(:hover,.selected){color:var(--text);background:var(--surface-3)}:root{font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color-scheme:dark;--surface-0: #0d1016;--surface-1: #11151c;--surface-2: #171c25;--surface-3: #1d2430;--border: #272f3c;--text: #e0e6ef;--secondary: #b0bbca;--muted: #8491a5;--accent: #90b6ff;--success: #72cfa4;--warning: #e8bd79;--danger: #f19891;--mono: "SFMono-Regular", Consolas, monospace;background:var(--surface-0);color:var(--text);font-synthesis:none;text-rendering:optimizeLegibility}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}button:focus-visible,a:focus-visible{outline:2px solid var(--accent);outline-offset:3px}input:focus,textarea:focus,select:focus{outline:2px solid #90b6ff66;outline-offset:1px}a{color:var(--accent)}::selection{background:#375580;color:#fff}::-webkit-scrollbar{width:5px;height:5px}::-webkit-scrollbar-thumb{background:#333e50;border-radius:4px}.app-shell{height:100dvh;display:flex;overflow:hidden}.sidebar{width:238px;flex-shrink:0;background:var(--surface-0);border-right:1px solid var(--border);padding:22px 14px 0;display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:10px;margin:0 8px 25px;font-size:17px}.brand strong{font-weight:550}.main-shell{flex:1;display:flex;flex-direction:column;background:var(--surface-1);min-width:0}.topbar{height:51px;min-height:51px;display:flex;align-items:center;padding:0 24px;border-bottom:1px solid var(--border)}.breadcrumbs{display:flex;align-items:center;gap:10px;min-width:0;font-size:11px}.breadcrumbs>span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.breadcrumb-root,.breadcrumbs>svg{color:var(--muted)}.mobile-menu{display:none!important}.main-nav{margin-bottom:22px}.main-nav button{display:flex;align-items:center;gap:10px;width:100%;padding:10px;border:0;background:none;color:var(--secondary);font-size:12px;border-radius:5px}.main-nav button:hover,.main-nav button.selected{background:var(--surface-3);color:var(--text)}.nav-count{margin-left:auto;font:10px var(--mono);color:var(--muted)}.sidebar-section-label{font-size:9px;letter-spacing:1px;color:var(--muted);padding:0 10px 12px}.recent-thread-list{flex:1;min-height:0;overflow:auto}.recent-thread{display:block;width:100%;text-align:left;border:0;background:none;color:var(--secondary);padding:10px;border-radius:5px;margin-bottom:3px}.recent-thread:hover,.recent-thread.active{background:var(--surface-3);color:var(--text)}.recent-thread-title{display:flex;gap:8px;align-items:center;font-size:12px;min-width:0}.recent-thread-title>svg{flex-shrink:0;color:var(--muted)}.recent-thread-title strong{font-weight:450;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.recent-thread-meta{font-size:10px;color:var(--muted);margin:7px 0 0 22px}.sidebar-bottom{margin-top:auto;border-top:1px solid var(--border);padding-top:8px}.sidebar-workspace-settings{display:flex;align-items:center;gap:9px;width:100%;padding:10px;border:0;border-radius:5px;background:none;color:var(--secondary);font-size:11px;text-align:left}.sidebar-workspace-settings:hover{background:var(--surface-3)}.button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:33px;padding:7px 12px;font-size:11px;border:1px solid var(--border);border-radius:5px;white-space:nowrap;text-decoration:none}.button.primary{background:#7da7f7;border-color:#7da7f7;color:#0a1730;font-weight:600}.button.primary:hover:not(:disabled){background:#9abaff}.button.secondary{background:var(--surface-2);border-color:#354052;color:var(--secondary)}.icon-button{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;flex-shrink:0;border:0;border-radius:5px;background:none;color:var(--muted)}.icon-button:hover:not(:disabled){background:var(--surface-3);color:var(--text)}.badge{display:inline-flex;font-size:9px;padding:3px 6px;border:1px solid #3b4351;border-radius:4px;background:#242831;color:#b8c0ce}.eyebrow{font-size:9px;letter-spacing:1px;color:var(--muted);text-transform:uppercase}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:80;display:flex;align-items:center;justify-content:center;background:#0009;padding:12px}.modal{background:var(--surface-1);border:1px solid #364153;border-radius:10px;padding:22px;box-shadow:0 20px 90px #0006;max-height:calc(100dvh - 24px);overflow-y:auto}.modal-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}.modal-heading h2{font-size:18px;font-weight:500;margin:0}.spin{animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.spin{animation:none}}@media(max-width:700px){.mobile-menu{display:inline-flex!important}}
