:root{color:#26364a;background:#f4f7fb;font-family:ui-sans-serif,SF Pro Text,Segoe UI,sans-serif;font-synthesis:none;line-height:1.5;text-rendering:optimizeLegibility}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh;background:#f4f7fb}button,input,textarea,select{font:inherit}button{cursor:pointer}.admin-shell{display:grid;grid-template-columns:270px minmax(0,1fr);min-height:100vh}.login-shell{display:grid;min-height:100vh;place-items:center;background:#f4f7fb;padding:20px}.login-panel{width:min(390px,100%);border:1px solid #d7e1ee;border-radius:8px;background:#fff;box-shadow:0 16px 42px #26364a24}.login-brand{display:flex;align-items:center;gap:10px;border-bottom:1px solid #edf2f7;padding:16px}.login-brand>div:last-child{display:grid;gap:1px}.login-brand strong{color:#26364a;font-size:16px}.login-brand span{color:#7d8da3;font-size:12px;font-weight:800}.login-form{display:grid;gap:12px;padding:16px}.remember-login{display:inline-flex;align-items:center;gap:8px;color:#53657d;font-size:12px;font-weight:850;line-height:1.2}.remember-login input{width:14px;min-height:14px;accent-color:#5b35f6}.toast-message{position:fixed;top:14px;right:18px;z-index:80;max-width:min(360px,calc(100vw - 36px));border:1px solid #91e6bf;border-radius:4px;background:#effdf6;color:#047857;box-shadow:0 10px 28px #0f172a24;padding:10px 12px;font-size:13px;font-weight:850;line-height:1.4;overflow-wrap:anywhere}.toast-message.is-error{border-color:#fecaca;background:#fff5f5;color:#b91c1c}.sidebar{position:sticky;top:0;display:flex;flex-direction:column;height:100vh;background:#0d1728;color:#d9e4f2;padding:0}.brand-lockup{display:flex;align-items:center;gap:10px;height:46px;border-bottom:1px solid #1c2b42;padding:0 14px}.brand-lockup strong{font-size:15px}.brand-mark{display:grid;place-items:center;width:25px;height:25px;border-radius:5px;background:#5b4dff;color:#fff}.settings-button{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-height:28px;margin-left:auto;border:1px solid #263852;border-radius:4px;background:#111d31;color:#cbd6e6;padding:0 8px;font-size:12px;font-weight:850}.settings-button:hover{background:#18263d;color:#fff}.sidebar-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;border-bottom:1px solid #1c2b42;padding:9px 8px}.sidebar-tabs button{min-height:30px;border:0;border-radius:4px;background:transparent;color:#7f90a8;font-size:13px;font-weight:800}.sidebar-tabs button.is-active{background:#24334d;color:#fff}.sidebar-search{display:flex;align-items:center;gap:8px;margin:9px 8px;border:1px solid #1c2b42;border-radius:4px;background:#111d31;color:#6f8199;padding:0 9px}.sidebar-search input{min-height:30px;border:0;background:transparent;color:#d9e4f2;padding:0}.sidebar-search input::placeholder{color:#60738e}.side-nav{display:grid;align-content:start;gap:2px;overflow:auto;padding:0 8px 8px}.side-nav-item{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:8px;min-height:32px;border:0;border-radius:4px;background:transparent;color:#8798ad;padding:0 8px;text-align:left}.sortable-side-item{display:grid;grid-template-columns:18px minmax(0,1fr);align-items:center;gap:2px;min-height:32px}.sortable-side-item.is-dragging{position:relative;z-index:2}.sortable-side-item.is-dragging .side-nav-item{background:#25344b;color:#fff}.side-nav-drag-handle,.side-nav-drag-placeholder{width:18px;height:28px}.side-nav-drag-handle{display:inline-grid;place-items:center;border:0;border-radius:4px;background:transparent;color:#53657b;cursor:grab;touch-action:none}.side-nav-drag-handle:hover,.side-nav-drag-handle:focus-visible{background:#18243a;color:#d9e4f2;outline:none}.side-nav-drag-handle:active{cursor:grabbing}.side-nav-drag-placeholder{display:block}.side-nav-item:hover,.side-nav-item.is-active{background:#5b35f6;color:#fff}.side-nav-item span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:700}.side-nav-item small{min-width:20px;border-radius:999px;background:#ffffff14;padding:1px 6px;color:inherit;font-size:11px;text-align:center}.overview-item{margin-bottom:3px}.empty-note{margin:8px;color:#71839b;font-size:13px}.sidebar-create-button{display:flex;align-items:center;justify-content:center;gap:8px;min-height:34px;margin:auto 8px 8px;border:1px solid #263852;border-radius:4px;background:#111d31;color:#d9e4f2;font-size:13px;font-weight:800}.sidebar-create-button:hover{background:#18263d}.sidebar-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;border-top:1px solid #1c2b42;padding:8px;color:#71839b;font-size:12px}.sidebar-footer button{display:inline-flex;align-items:center;gap:5px;border:0;background:transparent;color:#95a4b8;padding:0;font-size:12px;font-weight:800}.sidebar-footer button:hover{color:#fff}.content{min-width:0}.page-header{display:flex;align-items:center;justify-content:space-between;gap:18px;height:46px;border-bottom:1px solid #e3eaf3;background:#fff;padding:0 22px}.page-header.is-detail{height:56px}.page-title{display:flex;align-items:center;gap:10px;min-width:0}.page-title h1{margin:0;color:#26364a;font-size:16px;line-height:1}.page-title small{border:1px solid #e3eaf3;border-radius:4px;background:#f7faff;color:#7c8ca4;padding:2px 8px;font-size:12px;white-space:nowrap}.page-header.is-detail .page-title h1{font-size:18px}.entity-title-actions{display:inline-flex;align-items:center;flex-wrap:wrap;gap:6px}.test-button{display:inline-flex;align-items:center;gap:6px;min-height:30px;border:1px solid #91e6bf;border-radius:6px;background:#effdf6;color:#059669;padding:0 10px;font-size:13px;font-weight:900}.test-button:disabled{cursor:wait;opacity:.72}.model-stat-strip{display:flex;align-items:center;gap:16px;height:40px;border-bottom:1px solid #e3eaf3;background:#fff;padding:0 22px;color:#8493a7;font-size:13px}.model-stat-strip span{display:inline-flex;align-items:center;gap:5px}.model-stat-strip span+span{border-left:1px solid #edf2f7;padding-left:16px}.model-stat-strip strong{color:#5f7088;font-weight:900}.page-icon{display:grid;place-items:center;width:27px;height:27px;border-radius:6px;background:#eef0ff;color:#5b35f6}.header-actions{display:flex;align-items:center;gap:8px}.connection-state{display:inline-flex;align-items:center;gap:6px;max-width:420px;color:#63758d;font-size:12px}.primary-button,.secondary-button,.icon-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:32px;border:1px solid #d7e1ee;border-radius:4px;background:#fff;color:#53657d;padding:0 10px;font-weight:800;font-size:13px}.primary-button{border-color:#5b35f6;background:#5b35f6;color:#fff}.primary-button.compact,.secondary-button.compact{min-height:28px;padding:0 8px;font-size:12px}.primary-button.full{width:100%}.icon-button{width:32px;padding:0}.icon-button.ghost{background:transparent}.danger-button{border-color:#fecaca;color:#b91c1c}.danger-button:hover{background:#fff5f5}.primary-button:disabled,.secondary-button:disabled,.icon-button:disabled{cursor:not-allowed;opacity:.55}.is-spinning{animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.overview-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;max-width:none;margin:14px 0 10px;padding:0 10px}.metric{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:5px 10px;border:1px solid #e3eaf3;border-radius:6px;background:#fff;min-height:72px;padding:13px 14px}.metric-icon{display:grid;place-items:center;width:28px;height:28px;border-radius:5px;background:#f0f3f8;color:#65758c}.metric>span:not(.metric-icon){color:#7d8da3;font-size:12px;font-weight:800}.metric strong{grid-column:1 / -1;overflow-wrap:anywhere;color:#26364a;font-size:20px;line-height:1.1}.workspace-grid{display:grid;grid-template-columns:minmax(0,1fr) 340px;align-items:start;gap:14px;max-width:1190px;margin:0 auto;padding:0 18px 26px}.workspace-grid.is-overview{grid-template-columns:1fr;max-width:none;padding:0 10px 22px}.workspace-grid.is-model-detail{max-width:none;padding-top:18px}.model-page{display:grid;gap:16px}.usage-analytics-grid{display:grid;grid-template-columns:minmax(360px,.9fr) minmax(520px,1.4fr);gap:14px}.data-panel{min-width:0;border:1px solid #e3eaf3;border-radius:12px;background:#fff}.chart-panel{overflow:hidden;box-shadow:0 1px 3px #26364a14}.chart-panel-header{display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid #edf2f7;padding:12px 14px}.chart-panel-header>div{display:grid;gap:3px}.chart-panel-header strong{color:#26364a;font-size:13px;font-weight:900}.chart-panel-header span{color:#7d8da3;font-size:11px;font-weight:800}.chart-panel-header .chart-time-range{display:inline-flex;align-items:center;min-height:28px;border:1px solid #dfe7f2;border-radius:8px;background:#fff;padding:0 12px;color:#26364a;white-space:nowrap}.chart-stage{position:relative;padding:10px 18px 14px}.chart-canvas{width:100%;height:260px}.chart-canvas.compact{height:150px}.chart-empty{position:absolute;inset:52px 18px 36px;display:grid;align-content:center;justify-items:center;gap:6px;border:1px dashed #dbe4ef;border-radius:10px;background:#ffffffe6;color:#7d8da3;text-align:center}.chart-empty strong{color:#40536b;font-size:14px}.chart-empty span{font-size:12px}.channel-route-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.model-state-line{grid-column:1 / -1;display:flex;align-items:center;flex-wrap:wrap;gap:8px;border:1px solid #e3eaf3;border-radius:6px;background:#fff;padding:10px 12px}.model-state-line span:not(.status-badge){border-radius:4px;background:#f3f6fa;color:#66778e;padding:3px 7px;font-size:11px;font-weight:800}.model-state-line span.is-ok:not(.status-badge){background:#f0fdf4;color:#047857}.model-state-line span.is-error:not(.status-badge){background:#fff7f7;color:#b91c1c}.channel-route-card{min-width:0;border:1px solid #e3eaf3;border-radius:10px;background:#fff;padding:14px;box-shadow:0 1px 3px #26364a0f}.add-route-card{display:grid;place-items:center;align-content:center;gap:10px;min-height:158px;border:1px dashed #cbd5e1;border-radius:10px;background:#fbfdff;color:#8a99ac;cursor:pointer;font-size:13px}.add-route-card:hover{border-color:#5b35f6;background:#f7f5ff;color:#5b35f6}.channel-route-card.is-muted{opacity:.55}.channel-route-head{display:grid;grid-template-columns:auto minmax(0,1fr) auto auto auto;align-items:center;gap:8px}.channel-route-head strong{overflow:hidden;color:#26364a;font-size:15px;text-overflow:ellipsis;white-space:nowrap}.route-priority-chip{border-radius:4px;background:#eef0ff;color:#5b35f6;padding:2px 7px;font-size:12px;font-weight:900}.route-priority-chip.is-unavailable{background:#fff1f2;color:#be123c}.route-runtime-tags{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}.runtime-tag{border-radius:4px;background:#f3f6fa;color:#66778e;padding:3px 7px;font-size:11px;font-weight:900}.runtime-tag.is-current{background:#e9f8f1;color:#047857}.runtime-tag.is-alternate{background:#f1f5f9;color:#475569}.runtime-tag.is-cooldown{background:#fff7ed;color:#c2410c}.route-edit-button{display:inline-grid;place-items:center;width:24px;height:24px;border:1px solid #d7e1ee;border-radius:4px;background:#fff;color:#63758d;padding:0}.route-edit-button:hover{border-color:#b9c7d9;background:#f8fbff;color:#314258}.route-edit-button.is-danger{border-color:#fecaca;color:#b91c1c}.route-edit-button.is-danger:hover{border-color:#fca5a5;background:#fff5f5;color:#991b1b}.route-switch{position:relative;width:36px;height:20px;border:1px solid #cbd5e1;border-radius:999px;background:#e8eef6;padding:0}.route-switch span{position:absolute;top:2px;left:2px;width:14px;height:14px;border-radius:999px;background:#fff;box-shadow:0 1px 2px #26364a38;transition:left .16s ease,background .16s ease}.route-switch.is-on{border-color:#34d399;background:#10b981}.route-switch.is-on span{left:18px}.route-stat-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(86px,1fr));gap:8px 12px;margin-top:12px;border-top:1px solid #edf2f7;padding-top:10px}.route-stat{min-width:0;padding:0}.route-stat span{display:block;overflow:hidden;color:#7d8da3;font-size:11px;font-weight:800;text-overflow:ellipsis;white-space:normal}.route-stat strong{display:block;margin-top:2px;color:#26364a;font-size:13px}.route-availability-detail{margin-top:10px;border-top:1px solid #edf2f7;padding-top:10px}.route-availability-head,.availability-penalty-line,.availability-metric-list,.availability-history-row{display:flex;align-items:center;flex-wrap:wrap;gap:6px 10px}.route-availability-head{justify-content:space-between}.route-availability-head strong{color:#40536b;font-size:12px}.route-availability-head span,.availability-penalty-line span,.availability-metric-list span,.availability-history-row span,.availability-history-row strong{border-radius:4px;background:#f7fafc;color:#66778e;padding:3px 6px;font-size:11px;font-weight:800}.availability-metric-list .probe-metric-tag.is-count{background:#eef6ff;color:#2563eb}.availability-metric-list .probe-metric-tag.is-latency{background:#f0fdf4;color:#047857}.availability-metric-list .probe-metric-tag.is-ok{background:#e9f8f1;color:#047857}.availability-metric-list .probe-metric-tag.is-slow{background:#fff7ed;color:#c2410c}.availability-metric-list .probe-metric-tag.is-failed{background:#fff1f2;color:#be123c}.availability-metric-list .probe-metric-tag.is-empty{background:#f1f5f9;color:#64748b}.availability-penalty-line{margin-top:7px}.availability-metric-section{display:grid;gap:6px;margin-top:8px}.availability-metric-section strong,.route-availability-section>strong{color:#40536b;font-size:12px}.route-availability-section{display:grid;gap:6px;margin-top:10px}.availability-history-list{display:grid;gap:5px}.availability-history-row{min-width:0}.availability-history-row strong{background:#eef0ff;color:#5b35f6}.availability-history-empty{margin:0;color:#8a99ac;font-size:12px}.route-availability-chart{margin-top:10px;border-top:1px solid #edf2f7;padding:8px 0 0}.call-detail-panel{overflow:hidden}.call-table{--call-row-columns: 34px 74px 84px 126px minmax(150px, .9fr) minmax(170px, .95fr) minmax(260px, 1.45fr) 76px minmax(210px, 1.1fr) 120px 92px minmax(104px, .7fr) minmax(118px, .7fr);--call-attempt-columns: 40px 74px 76px minmax(220px, 1.25fr) minmax(140px, .75fr) 94px 92px minmax(190px, 1fr) minmax(300px, 1.45fr) minmax(260px, 1.2fr);display:grid;overflow-x:auto}.call-row{display:grid;grid-template-columns:var(--call-row-columns);align-items:center;column-gap:10px;row-gap:6px;min-width:1580px;min-height:44px;border-bottom:1px solid #edf2f7;padding:8px 14px;color:#5f7088;font-size:12px}.call-row.is-expanded{background:#f8fbff}.call-row>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.call-log-id{color:#314258;font-variant-numeric:tabular-nums;font-weight:900}.call-head{min-height:36px;padding-top:0;padding-bottom:0;color:#7d8da3;font-weight:900}.call-head-center,.call-head-right{justify-self:stretch;text-align:left}.call-status{display:inline-flex;align-items:center;justify-content:center;width:fit-content;max-width:100%;min-height:22px;border-radius:4px;padding:0 7px;font-size:11px;font-weight:900;white-space:nowrap}.call-status.is-success{background:#e8fbf5;color:#0f9f78}.call-status.is-failure{background:#fff0f4;color:#e43e65}.call-status.is-partial{background:#fff7ed;color:#c2410c}.call-status.is-canceled{background:#f1f5f9;color:#64748b}.request-type-badge{display:inline-flex;align-items:center;justify-content:center;width:fit-content;max-width:100%;min-height:22px;border-radius:4px;padding:0 8px;font-size:11px;font-weight:900;line-height:1;white-space:nowrap}.call-row>.request-type-badge{justify-self:start;overflow:visible}.request-type-badge.is-stream{background:#dbeafe;color:#1e40af}.request-type-badge.is-sync{background:#f1f5f9;color:#334155}.request-type-badge.is-unknown{background:#fef3c7;color:#92400e}.call-row>.call-token-cell{display:block;overflow:hidden;white-space:normal}.call-token-stack{display:grid;gap:3px;min-width:0}.call-token-line{display:flex;align-items:center;gap:9px;min-width:0}.call-token-line.is-secondary{gap:8px}.call-token-part{display:inline-flex;align-items:center;gap:4px;min-width:0;color:#26364a;font-size:12px;font-variant-numeric:tabular-nums;font-weight:800;line-height:1.2;white-space:nowrap}.call-token-part svg{flex:0 0 auto}.call-token-label{color:#7d8da3;font-size:10px;font-weight:900}.call-token-part strong{overflow:hidden;color:#26364a;font-size:12px;font-weight:900;text-overflow:ellipsis}.call-token-line.is-secondary .call-token-part{font-size:11px}.call-token-line.is-secondary .call-token-part svg{width:13px;height:13px}.call-token-line.is-secondary .call-token-part strong{font-size:11px}.call-token-part.is-input svg{color:#059669}.call-token-part.is-output svg{color:#7c3aed}.call-token-part.is-cache{color:#0284c7}.call-token-part.is-cache svg{color:#0284c7}.call-token-part.is-image{color:#4f46e5}.call-token-part.is-image svg{color:#4f46e5}.call-token-empty{overflow:hidden;color:#94a3b8;font-size:12px;font-weight:800;text-overflow:ellipsis;white-space:nowrap}.call-metric{display:grid;justify-items:start;gap:2px;min-width:0;color:#64748b;font-size:12px;font-variant-numeric:tabular-nums;font-weight:800;line-height:1.2;text-align:left;white-space:nowrap}.call-metric-cost{color:#16a34a;font-weight:900}.call-metric strong,.call-metric small{overflow:hidden;max-width:100%;text-overflow:ellipsis;white-space:nowrap}.call-metric strong{color:inherit;font-size:12px;font-weight:900}.call-metric small{color:#64748b;font-size:11px;font-weight:800}.call-stack{display:grid;gap:2px;min-width:0}.call-stack strong{overflow:hidden;color:#26364a;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.call-stack small,.call-muted{overflow:hidden;color:#7d8da3;font-size:11px;font-weight:800;text-overflow:ellipsis;white-space:nowrap}.call-stack small.is-error,.empty-panel.is-error,.toolbar-error{color:#e43e65}.call-route-path strong{color:#172033;font-weight:950}.call-route-path small{color:#53657d}.call-row code{border:1px solid #e0e7f0;border-radius:4px;background:#f9fbfe;color:#e43e65;padding:2px 6px}.call-row-group{display:grid}.call-expand-button{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border:1px solid #d9e2ee;border-radius:4px;background:#fff;color:#52677f}.call-expand-button:hover:not(:disabled){border-color:#9eb2cb;color:#26364a}.call-expand-button:disabled{cursor:not-allowed;opacity:.45}.call-attempt-detail{display:grid;gap:0;border-bottom:1px solid #dbe5f0;background:#f1f5fa;color:#526176;min-width:1580px;padding:0 14px 0 72px;font-size:12px;font-weight:800}.call-attempt-detail.is-error{color:#e43e65;padding-top:10px;padding-bottom:10px}.call-attempt-head,.call-attempt-row{display:grid;grid-template-columns:var(--call-attempt-columns);align-items:center;gap:10px}.call-attempt-head{min-height:30px;border-top:1px solid #dbe5f0;color:#6f8198;font-size:10px;font-weight:950;letter-spacing:0;text-transform:uppercase}.call-attempt-row{min-height:36px;border-top:1px solid #dbe5f0;padding:6px 0}.call-attempt-row-group{display:grid}.call-attempt-row.is-clickable{width:100%;border-right:0;border-bottom:0;border-left:0;background:transparent;color:inherit;cursor:pointer;font:inherit;text-align:left}.call-attempt-row.is-clickable:hover,.call-attempt-row.is-clickable:focus-visible{background:#eaf1f8}.call-attempt-row.is-clickable:focus-visible{outline:2px solid #9eb2cb;outline-offset:-2px}.call-attempt-head>span,.call-attempt-row>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.call-attempt-index{color:#314258;font-weight:900}.call-attempt-status{justify-self:start}.call-attempt-reason{color:#64748b;font-weight:800}.call-attempt-reason.is-error{color:#e43e65}.attempt-failover-meta{display:grid;gap:2px;min-width:0;color:#536176;font-size:11px;font-weight:800;line-height:1.35}.attempt-failover-meta span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.call-debug-detail{display:grid;gap:12px;min-width:0;background:#f1f5fa;color:#526176;padding:12px 14px 14px;font-size:12px;font-weight:800}.call-debug-detail.is-error{color:#e43e65}.debug-payload-dialog-body>.call-debug-detail{min-height:120px}.attempt-debug-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(132px,1fr));gap:8px 12px;border-top:1px solid #dbe5f0;border-bottom:1px solid #dbe5f0;background:#f8fbff;padding:10px 14px}.attempt-debug-summary span{display:grid;gap:2px;min-width:0}.attempt-debug-summary small{overflow:hidden;color:#7d8da3;font-size:10px;font-weight:900;text-overflow:ellipsis;text-transform:uppercase;white-space:nowrap}.attempt-debug-summary strong{overflow:hidden;color:#26364a;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:11px;font-weight:850;text-overflow:ellipsis;white-space:nowrap}.attempt-debug-summary .is-error strong{color:#e43e65}.call-debug-entry{display:grid;gap:8px;min-width:0}.call-debug-entry-head{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:28px;border-top:1px solid #dbe5f0;padding-top:8px}.call-debug-entry-head strong{color:#314258;font-size:12px;font-weight:950}.call-debug-entry-head span{color:#6f8198;font-size:11px;font-weight:850;white-space:nowrap}.call-debug-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:12px}.call-debug-panel{display:grid;align-content:start;gap:10px;min-width:0;border:1px solid #dbe5f0;border-radius:4px;background:#fff;padding:10px}.call-debug-panel header{display:flex;align-items:center;justify-content:space-between;min-height:20px}.call-debug-panel header strong{color:#26364a;font-size:12px;font-weight:950}.call-debug-meta{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 10px}.call-debug-meta span{display:grid;gap:2px;min-width:0}.call-debug-meta small{overflow:hidden;color:#7d8da3;font-size:10px;font-weight:900;text-overflow:ellipsis;text-transform:uppercase;white-space:nowrap}.call-debug-meta strong{overflow:hidden;color:#26364a;font-size:11px;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-weight:850;text-overflow:ellipsis;white-space:nowrap}.call-debug-meta .is-error strong{color:#e43e65}.code-viewer{display:grid;gap:6px;min-width:0;border-top:1px solid #edf2f7;padding-top:8px}.code-viewer>header{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0}.code-viewer-title{display:inline-flex;align-items:center;min-width:0;gap:8px}.code-viewer-title strong{overflow:hidden;color:#26364a;font-size:11px;font-weight:950;text-overflow:ellipsis;text-transform:uppercase;white-space:nowrap}.code-viewer-title span{border-radius:4px;background:#edf2f7;color:#66778e;padding:2px 6px;font-size:10px;font-weight:900;text-transform:uppercase}.code-viewer-actions{display:inline-flex;flex:0 0 auto;align-items:center;gap:4px}.code-viewer-editor{min-width:0;overflow:hidden;border:1px solid #dfe7f2;border-radius:4px;background:#fbfdff}.code-viewer-editor .monaco-editor,.code-viewer-editor .monaco-editor-background,.code-viewer-editor .monaco-editor .margin{background:#fbfdff}.code-viewer-editor .monaco-editor{font-size:12px}.stream-diagnostics{display:grid;gap:8px;border-top:1px solid #edf2f7;padding-top:8px}.stream-diagnostics-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(112px,1fr));gap:6px 10px}.stream-diagnostics-grid span{display:grid;gap:2px;min-width:0}.stream-diagnostics-grid small{overflow:hidden;color:#7d8da3;font-size:10px;font-weight:900;text-overflow:ellipsis;text-transform:uppercase;white-space:nowrap}.stream-diagnostics-grid strong{overflow:hidden;color:#26364a;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:11px;font-weight:850;text-overflow:ellipsis;white-space:nowrap}.stream-chunks-detail{display:grid;min-width:0;border-top:1px solid #edf2f7;padding-top:8px}.stream-chunks-detail summary{display:flex;align-items:center;justify-content:space-between;gap:10px;color:#53657d;font-size:11px;font-weight:900;list-style-position:inside}.stream-chunks-detail .code-viewer{margin-top:8px}.stream-chunks-detail p{margin:8px 0 0;color:#7d8da3;font-size:11px}.stream-chunks-truncated{border:1px solid #fed7aa;border-radius:4px;background:#fff7ed;color:#c2410c;padding:2px 6px;font-size:10px;font-weight:950;white-space:nowrap}.table-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px;border-bottom:1px solid #edf2f7;padding:0 14px}.table-toolbar strong{color:#314258;font-size:14px}.table-toolbar-title{display:inline-flex;align-items:center;gap:10px;min-width:0}.table-toolbar span{margin:0;color:#7d8da3;font-size:12px;font-weight:800}.toolbar-actions{display:inline-flex;align-items:center;gap:8px}.data-table{display:grid}.channel-overview-table{overflow-x:auto}.failover-policy{overflow:hidden;border-radius:8px}.failover-policy-single{display:grid;min-height:0}.failover-editor-head code,.failover-editor-actions code,.failover-inherit-preview code{border-radius:4px;background:#eef3f9;color:#40536b;padding:2px 5px;font-size:11px;font-weight:900}.failover-policy-detail{display:grid;align-content:start;gap:0;min-width:0}.failover-editor{display:grid;gap:0;border-bottom:1px solid #edf2f7;background:#fff;padding:0}.route-failover-section{display:grid;gap:0;overflow:hidden;border:1px solid #dfe7f2;border-radius:6px;background:#fff;padding:0}.route-failover-section .failover-editor{border:0;border-top:1px solid #edf2f7;border-radius:0;background:#fff}.failover-inherit-preview{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;border:0;border-top:1px solid #edf2f7;border-radius:0;background:#fbfdff;padding:12px 14px}.failover-inherit-preview span{color:#66778e;font-size:12px;font-weight:800}.failover-editor.is-readonly{background:#fbfdff}.failover-editor-head,.failover-detail-head,.failover-editor-actions{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;min-width:0}.failover-editor-head,.failover-detail-head{border-bottom:1px solid #edf2f7;background:#fbfdff;padding:12px 14px}.failover-editor-actions{border-top:1px solid #edf2f7;background:#fbfdff;padding:12px 14px}.failover-editor-head>div,.failover-detail-head>div{display:grid;gap:2px;min-width:0}.failover-editor-head strong,.failover-detail-head strong{color:#314258;font-size:13px}.failover-editor-head span,.failover-detail-head span,.failover-editor-actions span{color:#7d8da3;font-size:12px;font-weight:800}.failover-policy-fields{display:grid;grid-template-columns:repeat(2,minmax(150px,190px));align-items:end;gap:12px;border-bottom:1px solid #edf2f7;padding:12px 14px}.failover-policy-fields .field-label{gap:5px}.failover-policy-fields input{min-height:32px;font-size:12px}.failover-rule-table{display:grid;overflow-x:auto}.failover-rule-row{display:grid;grid-template-columns:minmax(104px,.78fr) minmax(150px,1.25fr) minmax(160px,1fr) minmax(86px,.52fr) minmax(74px,.45fr) minmax(64px,.36fr) 32px;gap:8px;align-items:center;min-width:900px;min-height:42px;border-bottom:1px solid #edf2f7;padding:6px 14px}.failover-rule-row.is-head{color:#7d8da3;font-size:11px;font-weight:900;min-height:34px;background:#f8fbff;padding-top:0;padding-bottom:0}.failover-rule-row input,.failover-rule-row select,.failover-rule-row textarea{width:100%;min-height:30px;min-width:0;border:1px solid #dbe4ef;border-radius:4px;background:#fff;color:#40536b;font:inherit;font-size:12px;padding:0 8px}.failover-rule-row textarea{min-height:32px;padding:6px 8px;resize:vertical}.failover-rule-match{display:grid;gap:6px;align-items:center;min-width:0}.failover-rule-match.is-combined{grid-template-columns:minmax(64px,.36fr) minmax(0,1fr)}.failover-rule-na{display:inline-flex;align-items:center;justify-content:center;min-height:32px;color:#9aa8bb;font-size:12px;font-weight:900}.failover-editor>.secondary-button{justify-self:start;margin:12px 14px 14px}.inline-check{display:inline-flex;align-items:center;gap:7px;color:#66778e;font-size:12px;font-weight:800;line-height:1;white-space:nowrap}.inline-check input[type=checkbox]{flex:0 0 14px;width:14px;height:14px;min-height:14px;border:0;background:transparent;margin:0;padding:0;accent-color:#5b35f6;box-shadow:none}.failover-editor-head .inline-check{min-height:28px;border:1px solid #dfe7f2;border-radius:4px;background:#fff;padding:0 8px;font-weight:900}.failover-rule-row .inline-check{justify-content:center;gap:5px;color:#53657d;font-size:11px;font-weight:900}.segmented{display:inline-flex;align-items:center;border:1px solid #dbe4ef;border-radius:8px;background:#fff;padding:2px}.segmented button{border:0;border-radius:6px;background:transparent;color:#66778e;padding:6px 10px;font-size:12px;font-weight:900}.segmented button.is-active{background:#edf4ff;color:#1f4f8f}.table-row{display:grid;grid-template-columns:minmax(220px,1.5fr) minmax(90px,.8fr) minmax(90px,.8fr) minmax(90px,.8fr);align-items:center;gap:12px;width:100%;min-height:38px;border:0;border-bottom:1px solid #edf2f7;background:transparent;color:#5f7088;padding:0 14px;text-align:left}.channel-table-row{grid-template-columns:minmax(150px,.86fr) minmax(136px,.74fr) minmax(72px,.32fr) minmax(62px,.3fr) minmax(112px,.56fr) minmax(260px,1.42fr) minmax(72px,.34fr) minmax(76px,.36fr) minmax(76px,.36fr) minmax(70px,.33fr) minmax(108px,.52fr) minmax(128px,.58fr);gap:10px;min-width:1210px;min-height:44px;padding-inline:10px;font-size:12px}.table-row[role=button]{cursor:pointer}.channel-table-row:not(.table-head){color:#53657d;font-weight:760}.channel-table-row.table-head{min-height:34px;background:#fbfdff;color:#8b9ab0;font-size:11px;letter-spacing:0}.channel-table-row.table-head span{color:inherit;font-weight:850}.channel-name-cell{overflow:hidden;color:#2f4057;font-size:12.5px;font-weight:900;line-height:1.25;text-overflow:ellipsis;white-space:nowrap}.channel-protocol-cell{display:flex;align-items:center;flex-wrap:wrap;gap:4px;min-width:0}.protocol-pill{border:1px solid #dbe5f1;border-radius:4px;background:#f6f9fd;color:#50647d;padding:2px 5px;font-size:11px;font-weight:850;line-height:1.25;white-space:nowrap}.channel-status-cell,.channel-upstream-cell{display:grid;align-content:center;gap:2px;min-width:0}.channel-status-cell small,.channel-upstream-cell small{overflow:hidden;color:#94a1b3;font-size:10.5px;font-weight:750;line-height:1.2;text-overflow:ellipsis;white-space:nowrap}.channel-status-cell .status-badge{justify-self:start;min-height:18px;padding:0 6px;font-size:10.5px;font-weight:850}.channel-upstream-cell strong{overflow:hidden;color:#2f4057;font-size:12.5px;font-weight:850;line-height:1.25;text-overflow:ellipsis;white-space:nowrap}.channel-budget-cell,.channel-metric-cell,.channel-placeholder-cell,.channel-image-cell{overflow:hidden;color:#53657d;font-variant-numeric:tabular-nums;text-overflow:ellipsis;white-space:nowrap}.channel-budget-cell{color:#455970;font-weight:850}.channel-metric-cell{color:#354960;font-weight:850}.channel-placeholder-cell{color:#a1adbd;font-weight:750}.channel-image-cell{display:inline-grid;align-items:center;justify-items:start}.image-support-tag{border:1px solid #e5eaf1;border-radius:4px;background:#f8fafc;color:#7c8ca4;padding:2px 6px;font-size:11px;font-weight:850;line-height:1.25;white-space:nowrap}.image-support-tag.is-supported{border-color:#bbf7d0;background:#effdf6;color:#0f9f78}.channel-actions-cell{display:inline-flex;align-items:center;justify-content:flex-start;gap:5px;min-width:0}.channel-actions-cell .route-switch{flex:0 0 auto}.table-row:not(.table-head):hover{background:#f8fbff}.table-row>span:first-child{color:#40536b;font-weight:900}.channel-table-row>span:first-child{color:inherit;font-weight:inherit}.table-head{color:#7d8da3;font-size:12px;font-weight:900}.table-head>span:first-child{color:#7d8da3}.route-stack{display:grid}.route-row{display:grid;grid-template-columns:34px minmax(0,1fr) auto;gap:12px;border-bottom:1px solid #edf2f7;padding:12px 14px}.route-row.is-muted{background:#fafcff}.route-index{display:grid;place-items:center;width:24px;height:24px;border-radius:5px;background:#eef3f9;color:#708199;font-size:12px;font-weight:900}.route-row strong{color:#40536b;font-size:13px}.route-row p,.channel-detail p{margin:3px 0 0;color:#7d8da3;font-size:12px;overflow-wrap:anywhere}.route-tags{display:flex;align-items:center;flex-wrap:wrap;gap:6px;margin-top:8px}.route-tags span,.channel-detail>span:not(.status-badge){border-radius:4px;background:#f3f6fa;padding:3px 7px;color:#66778e;font-size:11px;font-weight:800}.channel-detail{display:flex;align-items:center;flex-wrap:wrap;gap:8px;border-bottom:1px solid #edf2f7;padding:12px 14px}.channel-detail p{flex-basis:100%}.stack-form{display:grid;gap:10px;padding:14px}.inline-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.four-fields{grid-template-columns:repeat(4,minmax(0,1fr))}.three-fields{grid-template-columns:repeat(3,minmax(0,1fr))}.field-label{display:grid;gap:6px;color:#53657d;font-size:12px;font-weight:900}.field-label>span{color:#53657d;line-height:1.2}.check-row{display:inline-flex;align-items:center;gap:8px;width:fit-content;color:#314258;font-size:12px;font-weight:900}.check-row input{width:auto}.form-section-title{border-top:1px solid #edf2f7;padding-top:12px;color:#314258;font-size:12px;font-weight:900}.compact-note{margin:-4px 0 0}input,textarea,select,fieldset{width:100%;border:1px solid #d7e1ee;border-radius:4px;background:#fff;color:#314258;outline:none}fieldset{margin:0;padding:10px}legend{padding:0 4px;color:#7d8da3;font-size:12px;font-weight:900}input,select{min-height:36px;padding:0 10px}textarea{min-height:92px;resize:vertical;padding:9px 10px}.checkbox-group{display:flex;flex-wrap:wrap;gap:8px}.checkbox-group label{display:inline-flex;align-items:center;gap:7px;min-height:30px;border:1px solid #e3eaf3;border-radius:4px;background:#f8fbff;padding:0 10px;color:#53657d;font-size:12px;font-weight:800}.checkbox-group input{width:14px;min-height:14px;accent-color:#5b35f6}.protocol-fieldset{background:#fbfdff}.protocol-checkbox-group{gap:6px}.channel-test-area{display:grid;gap:10px;border-top:1px solid #edf2f7;padding-top:10px}.test-toolbar{display:grid;grid-template-columns:minmax(150px,1fr) auto auto;align-items:center;gap:8px}.switch-field{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:36px;border:1px solid #d7e1ee;border-radius:4px;background:#fff;color:#53657d;padding:0 10px;font-size:12px;font-weight:900;white-space:nowrap}.switch-field input{width:14px;min-height:14px;accent-color:#5b35f6}.switch-field span{display:inline-flex;align-items:center;color:#5b35f6}.request-preview-meta{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:8px;border:1px solid #e3eaf3;border-radius:4px;background:#f8fbff;padding:7px 9px}.request-preview-meta span{border-radius:4px;background:#e8fbf5;color:#059669;padding:2px 6px;font-size:11px;font-weight:900}.request-preview-meta code{overflow:hidden;color:#53657d;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.request-preview-grid{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:10px}.request-preview-grid label{display:grid;gap:6px;color:#7d8da3;font-size:12px;font-weight:900}.request-preview-grid textarea{min-height:170px;border-color:#dfe7f2;background:#fbfdff;color:#314258;font-family:ui-monospace,SF Mono,Menlo,Consolas,monospace;font-size:12px;line-height:1.55}.protocol-test-actions{display:flex;flex-wrap:wrap;gap:8px}.test-chip{display:inline-flex;align-items:center;gap:6px;min-height:30px;border:1px solid #d7e1ee;border-radius:4px;background:#fff;color:#53657d;padding:0 9px;font-size:12px;font-weight:900}.test-chip.is-ok{border-color:#91e6bf;background:#effdf6;color:#059669}.test-chip.is-error{border-color:#fecaca;background:#fff5f5;color:#dc2626}.test-chip span{color:inherit;font-size:11px;opacity:.8}.probe-status{margin:0;border:1px solid #d7e1ee;border-radius:4px;background:#f8fbff;color:#53657d;padding:8px 10px;font-size:12px;font-weight:800;line-height:1.5;overflow-wrap:anywhere}.probe-status.is-success{border-color:#91e6bf;background:#effdf6;color:#047857}.probe-status.is-error{border-color:#fecaca;background:#fff5f5;color:#b91c1c}.model-test-dialog{display:grid;gap:8px;padding:10px}.model-test-toolbar{display:grid;grid-template-columns:minmax(200px,1fr) minmax(150px,190px) minmax(150px,210px) auto;align-items:end;gap:8px}.model-test-summary{display:flex;flex-wrap:wrap;gap:6px;border:1px solid #e3eaf3;border-radius:4px;background:#f8fbff;padding:6px}.model-test-summary span{border-radius:4px;background:#fff;color:#66778e;padding:3px 7px;font-size:11px;font-weight:850}.model-channel-test-list{display:grid;gap:6px}.model-channel-test-row{display:grid;grid-template-columns:minmax(220px,1.2fr) minmax(140px,.55fr) minmax(120px,.45fr) auto;align-items:center;gap:8px;border:1px solid #e3eaf3;border-left-width:3px;border-radius:6px;background:#fff;padding:7px 8px}.model-channel-test-row.is-running{border-left-color:#5b35f6}.model-channel-test-row.is-success{border-left-color:#059669}.model-channel-test-row.is-error{border-left-color:#dc2626}.model-channel-test-row.is-skipped{border-left-color:#94a3b8;background:#f8fafc}.model-channel-test-row>div{display:grid;gap:4px;min-width:0}.model-channel-test-row strong{color:#26364a;font-size:13px}.model-channel-test-row span,.model-channel-test-row code,.model-channel-test-row p{min-width:0;margin:0;color:#7d8da3;font-size:12px}.model-test-metric{display:inline-grid;grid-template-columns:62px minmax(0,max-content);align-items:baseline;gap:6px}.model-test-token-column{border-left:1px solid #edf2f7;padding-left:10px}.model-test-metric>span{color:#7d8da3}.model-test-metric b{color:#3b5bdc;font-size:12px;font-weight:900}.model-test-metric b.is-ok{color:#059669}.model-test-metric b.is-error{color:#dc2626}.model-channel-test-row code,.model-channel-test-row p{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.model-channel-test-output{grid-column:1 / -1;border:1px solid #e6edf6;border-radius:4px;background:#f8fbff;color:#53657d;padding:6px 8px}.model-channel-test-row.is-success .model-channel-test-output{border-color:#bbf7d0;background:#f0fdf4;color:#047857}.model-channel-test-row.is-error .model-channel-test-output{border-color:#fecaca;background:#fff5f5;color:#b91c1c}.model-channel-test-row.is-skipped .model-channel-test-output{border-color:#e2e8f0;background:#f8fafc;color:#64748b}.model-channel-test-row>button{justify-self:start}.model-test-detail-dialog{display:grid;align-content:start;gap:10px;min-height:0;padding:12px}.modal-card.model-test-detail-modal{display:grid;grid-template-rows:auto minmax(0,1fr);width:min(1440px,100%);height:min(900px,calc(100dvh - clamp(16px,3dvh,28px)))}.modal-card.model-test-detail-modal .model-test-detail-dialog{overflow:auto}.detail-back-button{justify-self:start}.detail-back-button svg{flex:0 0 auto}.model-test-detail-meta{display:flex;flex-wrap:wrap;gap:6px}.model-test-detail-meta span{border-radius:4px;background:#f3f6fa;color:#66778e;padding:3px 7px;font-size:11px;font-weight:850}.model-test-code-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:12px;min-width:0}.response-image-panel{display:grid;gap:8px;border:1px solid #d7e1ee;border-radius:4px;background:#fbfdff;padding:10px}.response-image-panel header{display:flex;align-items:center;justify-content:space-between;gap:8px;color:#53657d;font-size:12px;font-weight:900}.response-image-panel header span{border-radius:4px;background:#e8fbf5;color:#059669;padding:2px 6px;font-size:11px}.response-image-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:10px}.response-image-card{display:grid;gap:6px;min-width:0;margin:0}.response-image-card a{display:grid;place-items:center;min-height:180px;overflow:hidden;border:1px solid #e3eaf3;border-radius:4px;background:linear-gradient(45deg,#edf2f7 25%,transparent 25%),linear-gradient(-45deg,#edf2f7 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#edf2f7 75%),linear-gradient(-45deg,transparent 75%,#edf2f7 75%);background-color:#fff;background-position:0 0,0 8px,8px -8px,-8px 0;background-size:16px 16px}.response-image-card img{display:block;width:100%;max-height:420px;object-fit:contain}.response-image-card figcaption{display:flex;align-items:center;justify-content:space-between;gap:8px;color:#66778e;font-size:11px;font-weight:850}.response-image-card code{overflow:hidden;max-width:130px;color:#7d8da3;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.modal-error{margin:0;border:1px solid #fecaca;border-radius:4px;background:#fff5f5;color:#b91c1c;padding:9px 10px;font-size:12px;font-weight:850;line-height:1.5;overflow-wrap:anywhere}.test-result-list{display:grid;gap:5px}.test-result-list p{display:grid;grid-template-columns:minmax(120px,auto) 52px minmax(0,1fr);gap:8px;margin:0;border:1px solid #edf2f7;border-radius:4px;background:#fafcff;padding:6px 8px;color:#66778e;font-size:12px}.test-result-list p.is-ok{border-color:#bbf7d0;background:#f0fdf4}.test-result-list p.is-error{border-color:#fecaca;background:#fff7f7}.test-result-list span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.test-result-list code{grid-column:1 / -1;overflow:hidden;color:#7d8da3;font-size:11px;text-overflow:ellipsis;white-space:nowrap}input:focus,textarea:focus,select:focus{border-color:#5b35f6;box-shadow:0 0 0 2px #5b35f61a}.field-note{margin:0;color:#7d8da3;font-size:12px}.pattern-list{display:flex;align-items:center;flex-wrap:wrap;gap:6px;margin-top:8px}.pattern-list>span,.pattern-list code,.pattern-empty{border-radius:4px;background:#f3f6fa;color:#66778e;font-size:11px}.pattern-list>span{padding:3px 7px;font-weight:900}.pattern-list code{padding:2px 6px;overflow-wrap:anywhere}.pattern-empty{display:inline-flex;margin:8px 0 0;padding:3px 7px;font-weight:800}.status-badge{display:inline-flex;align-items:center;justify-content:center;min-height:22px;border-radius:4px;padding:0 7px;font-size:11px;font-weight:900;white-space:nowrap}.status-badge.is-enabled{color:#0f9f78;background:#e8fbf5}.status-badge.is-disabled{color:#e43e65;background:#fff0f4}.empty-panel{margin:0;padding:18px 14px;color:#7d8da3;font-size:13px}.modal-backdrop{position:fixed;inset:0;z-index:20;display:grid;place-items:center;background:#0d17286b;padding:14px;padding:clamp(8px,1.5dvh,14px)}.modal-card{display:grid;grid-template-rows:auto minmax(0,1fr);width:min(1040px,100%);max-height:calc(100vh - 28px);max-height:calc(100dvh - clamp(16px,3dvh,28px));overflow:hidden;border:1px solid #d7e1ee;border-radius:6px;background:#fff;box-shadow:0 20px 70px #0d172840}.modal-card>:not(.modal-header){min-height:0;overflow:auto;overscroll-behavior:contain}.modal-card.debug-payload-modal{display:grid;grid-template-rows:auto minmax(0,1fr);width:min(1320px,100%);height:min(900px,calc(100dvh - clamp(16px,3dvh,28px)))}.debug-payload-dialog-body{display:grid;gap:0;min-width:0;min-height:0;overflow:auto;overscroll-behavior:contain}.debug-payload-dialog-meta{display:flex;flex-wrap:wrap;gap:8px;border-bottom:1px solid #edf2f7;padding:10px 14px}.debug-payload-dialog-meta span{border-radius:4px;background:#f3f6fa;color:#53657d;padding:3px 7px;font-size:11px;font-weight:850}.modal-header{display:flex;align-items:center;justify-content:space-between;gap:16px;border-bottom:1px solid #edf2f7;padding:14px}.modal-header p,.modal-header h2{margin:0}.modal-header p{color:#7d8da3;font-size:12px;font-weight:900;text-transform:uppercase}.modal-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:10px}.modal-actions.split-actions{align-items:center;justify-content:flex-start}.modal-action-spacer{flex:1 1 16px}.settings-dialog{display:grid;gap:12px;padding:14px}.settings-copy{display:grid;gap:4px;border:1px solid #dfe7f2;border-radius:4px;background:#f8fbff;padding:10px}.settings-debug-panel{display:grid;gap:8px;border:1px solid #dfe7f2;border-radius:4px;background:#fff;padding:10px}.settings-debug-switch{min-height:30px}.settings-debug-meta{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.settings-debug-meta span{border:1px solid #e3eaf3;border-radius:4px;background:#f8fbff;color:#53657d;padding:3px 6px;font-size:11px;font-weight:900}.settings-debug-note{margin:0;color:#9a6a14;font-size:12px;font-weight:850}.settings-proxy-panel{display:grid;gap:8px;border:1px solid #dfe7f2;border-radius:4px;background:#fff;padding:10px}.settings-proxy-fields{display:grid;gap:8px}.settings-proxy-error{color:#c53030;font-size:12px;font-weight:700}.settings-snapshot-panel{display:grid;gap:9px;border:1px solid #dfe7f2;border-radius:4px;background:#fff;padding:10px}.settings-snapshot-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.settings-snapshot-actions input[type=file]{display:none}.settings-snapshot-preview{display:grid;gap:8px;border-top:1px solid #edf2f7;padding-top:8px}.settings-snapshot-preview>strong{color:#314258;font-size:12px}.settings-snapshot-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.settings-snapshot-summary span,.settings-snapshot-errors span{display:grid;gap:2px;border:1px solid #e3eaf3;border-radius:4px;background:#f8fbff;color:#53657d;padding:6px;font-size:11px;font-weight:850}.settings-snapshot-summary strong{color:#314258}.settings-snapshot-errors{display:grid;gap:5px}.settings-snapshot-errors span{border-color:#ffd0da;background:#fff6f8;color:#b42345}.settings-copy strong,.settings-section-head strong{color:#314258;font-size:13px}.settings-copy p,.settings-section-head span{margin:0;color:#7d8da3;font-size:12px;font-weight:800}.settings-section-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.settings-section-head>div{display:grid;gap:2px;min-width:0}.settings-section-head>.settings-section-actions{display:inline-flex;align-items:center;justify-content:flex-end;gap:8px;flex-shrink:0;flex-wrap:nowrap}.inbound-key-list{display:grid;overflow:hidden;border:1px solid #e3eaf3;border-radius:4px;background:#fff}.inbound-key-row{display:grid;grid-template-columns:minmax(110px,1fr) minmax(130px,.9fr) 72px minmax(130px,1fr) minmax(92px,.8fr) minmax(170px,auto);align-items:center;gap:8px;min-height:42px;border-bottom:1px solid #edf2f7;padding:7px 10px;color:#5f7088;font-size:12px}.inbound-key-row:last-child{border-bottom:0}.inbound-key-head{min-height:34px;background:#f8fbff;color:#7d8da3;font-weight:900}.inbound-key-row strong,.inbound-key-row code,.inbound-key-row>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.inbound-key-row strong{color:#314258}.inbound-key-row code{border:1px solid #e0e7f0;border-radius:4px;background:#f9fbfe;color:#40536b;padding:2px 6px}.inbound-key-actions{display:inline-flex;align-items:center;justify-content:flex-end;gap:3px}.inbound-key-secret{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:8px;border:1px solid #91e6bf;border-radius:4px;background:#effdf6;padding:8px 10px}.inbound-key-secret span{color:#047857;font-size:12px;font-weight:900}.inbound-key-secret code{overflow:hidden;border:1px solid #bbf7d0;border-radius:4px;background:#fff;color:#065f46;padding:4px 7px;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.cidr-editor{border:1px solid #e3eaf3;border-radius:4px;background:#fbfdff;padding:12px}.cidr-editor textarea{min-height:116px;font-family:ui-monospace,SF Mono,Menlo,Consolas,monospace;font-size:12px}@media(max-width:1100px){.admin-shell{grid-template-columns:1fr}.sidebar{position:static;height:auto}.side-nav{max-height:280px}}@media(max-width:1200px){.channel-route-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.usage-analytics-grid{grid-template-columns:1fr}}@media(max-width:760px){.modal-backdrop{padding:8px}.modal-card{max-height:calc(100vh - 16px);max-height:calc(100dvh - 16px)}.page-header,.header-actions{align-items:flex-start;flex-direction:column;height:auto;padding:12px}.overview-grid,.workspace-grid,.usage-analytics-grid,.failover-policy-fields,.call-debug-grid,.model-test-code-grid,.table-row,.route-row,.call-row,.call-attempt-row,.channel-route-grid,.inline-fields,.channel-table-row,.inbound-key-row,.inbound-key-secret,.test-toolbar,.request-preview-grid{grid-template-columns:1fr}.call-table .call-row{grid-template-columns:var(--call-row-columns);min-width:1580px}.channel-overview-table .channel-table-row{min-width:0}.call-table .call-attempt-row{grid-template-columns:var(--call-attempt-columns)}.call-attempt-detail{padding:0 12px}.failover-policy-single{min-height:0}.failover-rule-row{grid-template-columns:1fr;min-width:0}.model-test-toolbar,.model-channel-test-row{grid-template-columns:1fr}.chart-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}}
