.modal-backdrop{z-index:100;background:#18181b47;justify-content:center;align-items:center;padding:18px;display:flex;position:fixed;inset:0}.modal{background:var(--surface);border-radius:12px;width:min(720px,100%);max-height:calc(100vh - 44px);overflow:auto;box-shadow:0 20px 60px #00000038}.provider-modal{width:min(1080px,100%)}.provider-wizard-modal{width:min(980px,100%)}.identity-provider-modal{width:min(900px,100%)}.user-import-modal{width:min(760px,100%)}.api-key-wizard-modal{width:min(980px,100%)}.playground-modal{width:min(880px,100%);overflow:hidden}.playground-page{background:var(--surface);border:0;border-radius:14px;min-height:calc(100vh - 58px);overflow:hidden}.confirm-modal{background:var(--surface);border-radius:12px;width:min(420px,100%);padding:18px;box-shadow:0 20px 60px #00000038}.modal-header.slim{min-height:60px}.confirm-modal p{color:var(--muted);margin:8px 0 14px;line-height:1.55}.issued-key-modal{gap:14px;width:min(560px,100%);padding:18px;display:grid}.issued-key-modal h2{margin:0}.issued-key-modal p{margin:8px 0 0}.issued-key-icon{background:var(--accent-weak);width:38px;height:38px;color:var(--accent);border-radius:12px;justify-content:center;align-items:center;display:inline-flex}.issued-key-field{border:1px solid var(--border);background:var(--surface-soft);border-radius:12px;gap:8px;min-width:0;padding:10px;display:grid}.issued-key-field span{color:var(--muted);font-size:11px;font-weight:720}.issued-key-field textarea{resize:vertical;background:var(--surface);width:100%;min-height:74px;color:var(--text);border:0;border-radius:8px;padding:10px;font-family:SFMono-Regular,Consolas,monospace;font-size:12px;line-height:1.6}.issued-key-modal .modal-actions{min-height:0;margin:0 -18px -18px}.issued-key-modal .secondary-button{align-items:center;gap:7px;display:inline-flex}.danger-confirm{background:var(--red);color:#fff;cursor:pointer;border-radius:8px;height:32px;padding:0 11px;font-size:12px;font-weight:650}.modal-header{border-bottom:1px solid var(--border);justify-content:space-between;gap:16px;min-height:64px;padding:14px 18px;display:flex}.modal-body{grid-template-columns:1fr 1fr;gap:12px;padding:16px 18px;display:grid}.user-import-body{grid-template-columns:1fr}.user-import-textarea{min-height:180px;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,monospace;line-height:1.55}.user-import-example{border:1px solid var(--border);background:var(--surface-soft);border-radius:8px;gap:7px;padding:10px 11px;display:grid}.user-import-example strong{color:var(--text);font-size:12px}.user-import-example code{color:var(--muted-strong);overflow-wrap:anywhere;font-size:12px}.user-import-example span{color:var(--muted);font-size:11px;line-height:1.5}.wizard-stepper{border-bottom:1px solid var(--border);grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;padding:12px 18px;display:grid}.wizard-step{border:1px solid var(--border);background:var(--surface-soft);min-width:0;min-height:42px;color:var(--muted-strong);cursor:pointer;border-radius:10px;align-items:center;gap:8px;padding:7px 9px;display:flex}.wizard-step:disabled{cursor:default;opacity:.72}.wizard-step span{background:var(--surface);width:24px;height:24px;color:var(--muted);border-radius:8px;flex:none;justify-content:center;align-items:center;display:inline-flex}.wizard-step strong{white-space:nowrap;text-overflow:ellipsis;min-width:0;font-size:12px;font-weight:720;overflow:hidden}.wizard-step.active{border-color:color-mix(in srgb, var(--accent) 38%, var(--border));background:var(--accent-weak);color:var(--accent)}.wizard-step.active span,.wizard-step.done span{background:var(--accent);color:var(--accent-ink)}.api-key-wizard-body{padding:16px 18px}.wizard-panel{align-content:start;gap:14px;min-height:360px;display:grid}.wizard-panel-head{gap:5px;display:grid}.wizard-panel-head h3{color:var(--text);margin:0;font-size:16px;font-weight:780}.wizard-panel-head p{max-width:720px;color:var(--muted);margin:0;font-size:12px;line-height:1.55}.wizard-project-grid,.wizard-choice-row,.wizard-review-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.wizard-project-card,.wizard-choice,.wizard-review-item{border:1px solid var(--border);background:var(--surface);border-radius:10px;gap:7px;min-width:0;padding:12px;display:grid}.wizard-project-card,.wizard-choice{text-align:left;color:var(--text);cursor:pointer}.wizard-project-card:hover,.wizard-project-card.active,.wizard-choice:hover,.wizard-choice.active{border-color:color-mix(in srgb, var(--accent) 38%, var(--border));background:var(--accent-weak)}.wizard-project-card.active,.wizard-choice.active{box-shadow:inset 3px 0 0 var(--accent)}.wizard-project-card strong,.wizard-choice strong,.wizard-review-item strong{min-width:0;color:var(--text);overflow-wrap:anywhere;font-size:13px;font-weight:760}.wizard-project-card span,.wizard-choice span,.wizard-review-item span{color:var(--muted);font-size:11px;line-height:1.45}.wizard-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.wizard-form-grid .field{margin-bottom:0}.wizard-model-list{border:1px solid var(--border);background:var(--surface-soft);border-radius:10px;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;max-height:280px;padding:8px;display:grid;overflow:auto}.wizard-model-option{border:1px solid var(--border);background:var(--surface);border-radius:8px;align-items:flex-start;gap:9px;min-width:0;padding:9px;display:flex}.wizard-model-option input{margin-top:2px}.wizard-model-option span{gap:3px;min-width:0;display:grid}.wizard-model-option strong{color:var(--text);overflow-wrap:anywhere;font-size:12px}.wizard-model-option em{color:var(--muted);font-size:11px;font-style:normal}.wizard-empty{text-align:center;place-items:center;min-height:140px;display:grid}.wizard-actions{gap:8px}.provider-modal-body{grid-template-columns:260px minmax(0,1fr);gap:14px;min-height:560px;padding:16px 18px;display:grid}.provider-modal-body.provider-wizard-single{grid-template-columns:1fr}.identity-provider-body{gap:14px;padding:16px 18px;display:grid}.identity-provider-wizard-stepper{grid-template-columns:repeat(4,minmax(0,1fr))}.identity-provider-wizard-body{align-content:start;min-height:430px}.identity-provider-section,.identity-provider-advanced,.identity-provider-template-panel{border:1px solid var(--border);background:var(--surface-soft);border-radius:12px;padding:14px}.identity-provider-section-head{justify-content:space-between;align-items:baseline;gap:14px;margin-bottom:12px;display:flex}.identity-provider-section-head h3{color:var(--text);letter-spacing:0;margin:0;font-size:14px;font-weight:780}.identity-provider-section-head span,.identity-provider-advanced summary span{color:var(--muted);font-size:12px;line-height:1.45}.identity-provider-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.identity-provider-grid.compact{grid-template-columns:repeat(2,minmax(0,1fr))}.identity-provider-doc-help{border:1px solid color-mix(in srgb, var(--accent) 24%, var(--border));background:color-mix(in srgb, var(--accent) 5%, var(--surface));border-radius:10px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px 14px;margin:-2px 0 12px;padding:10px 12px;display:flex}.identity-provider-doc-help>span{min-width:0;color:var(--muted);flex:360px;align-items:flex-start;gap:8px;font-size:12px;line-height:1.5;display:flex}.identity-provider-doc-help>span>svg{color:var(--accent);flex:none;margin-top:1px}.identity-provider-doc-help a{color:var(--accent);white-space:nowrap;align-items:center;gap:5px;font-size:12px;font-weight:740;text-decoration:none;display:inline-flex}.identity-provider-doc-help a:hover{text-decoration:underline}.identity-template-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;display:grid}.identity-template-card{border:1px solid var(--border);text-align:left;background:var(--surface);min-width:0;min-height:120px;color:var(--text);cursor:pointer;border-radius:10px;align-content:start;gap:7px;padding:11px;display:grid}.identity-template-card:hover,.identity-template-card.active{border-color:color-mix(in srgb, var(--accent) 42%, var(--border));background:color-mix(in srgb, var(--accent) 6%, var(--surface))}.identity-template-card.active{box-shadow:inset 3px 0 0 var(--accent)}.identity-template-card strong,.identity-template-card em,.identity-template-card small{min-width:0}.identity-template-card strong{color:var(--text);font-size:13px;font-weight:760}.identity-template-card em{color:var(--accent);font-size:11px;font-style:normal;font-weight:720}.identity-template-card small{color:var(--muted);font-size:11px;line-height:1.45}.identity-template-summary{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:12px;display:grid}.identity-provider-modal .field{margin-bottom:0}.identity-provider-modal .field small{margin-top:-2px}.identity-provider-advanced{padding:0;overflow:hidden}.identity-provider-advanced summary{cursor:pointer;justify-content:space-between;align-items:center;gap:14px;min-height:48px;padding:0 14px;list-style:none;display:flex}.identity-provider-advanced summary::-webkit-details-marker{display:none}.identity-provider-advanced summary strong{color:var(--text);font-size:14px;font-weight:780}.identity-provider-advanced[open] summary{border-bottom:1px solid var(--border)}.identity-provider-advanced .identity-provider-grid{padding:14px}
.playground-shell{background:#fff;grid-template-columns:300px minmax(0,1fr);height:calc(100vh - 58px);min-height:620px;display:grid}.playground-config{border-right:1px solid var(--border);background:#fbfbfc;grid-template-rows:auto minmax(0,1fr);min-width:0;display:grid}.playground-model-select{border-bottom:1px solid var(--border);align-items:center;min-height:58px;padding:12px 16px;display:flex}.playground-model-select select,.playground-field select{width:100%;height:38px;color:var(--text);background:#fff;border:1px solid #d9d9dd;border-radius:7px;padding:0 11px;font-size:13px;font-weight:650}.playground-config-body{align-content:start;gap:12px;min-height:0;padding:16px;display:grid;overflow:auto}.playground-config-body h2{color:var(--text);margin:0 0 2px;font-size:16px;font-weight:780}.playground-field{gap:7px;display:grid}.playground-field span,.playground-slider span{color:#55565b;font-size:12px;font-weight:660}.playground-field textarea{resize:vertical;width:100%;min-height:52px;color:var(--text);background:#fff;border:1px solid #dedee2;border-radius:7px;padding:10px 11px;font-size:13px;line-height:1.45}.playground-slider{gap:6px;display:grid}.playground-slider>div{grid-template-columns:minmax(0,1fr) 76px;align-items:center;gap:8px;display:grid}.playground-slider input[type=number]{width:76px;height:30px;color:var(--text);background:#fff;border:1px solid #dedee2;border-radius:7px;padding:0 9px;font-size:12px;font-weight:650}.playground-slider input[type=range]{accent-color:#1473e6;width:100%;height:18px}.playground-functions{gap:9px;margin-top:2px;display:grid}.playground-functions strong{color:var(--text);font-size:14px;font-weight:760}.playground-main{background:#fff;grid-template-rows:auto auto auto auto auto minmax(0,1fr) auto;min-width:0;height:100%;min-height:0;display:grid;position:relative;overflow:hidden}.playground-model-bar{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:14px;min-height:58px;padding:10px 14px 10px 18px;display:flex}.playground-model-title{gap:3px;min-width:0;display:grid}.playground-copy-model{width:fit-content;max-width:100%;color:var(--text);cursor:pointer;background:0 0;border:0;align-items:center;gap:5px;padding:0;display:inline-flex}.playground-copy-model strong{text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:14px;font-weight:760;overflow:hidden}.playground-copy-model svg{color:var(--muted);flex:none}.playground-model-title>span{color:#5d5e64;white-space:nowrap;align-items:center;gap:7px;min-width:0;font-size:12px;display:flex;overflow:hidden}.playground-model-title em{background:#d5d5d9;flex:none;width:1px;height:12px}.playground-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;display:flex}.playground-actions .secondary-button{justify-content:center;align-items:center;gap:8px;min-width:104px;height:38px;padding:0 14px;line-height:1;display:inline-flex}.playground-actions .secondary-button svg{stroke-width:2.3px;flex:0 0 16px;width:16px;height:16px;display:block}.secondary-button.active{color:#135fbd;background:#eff6ff;border-color:#b9d4ff}.playground-detail-strip{border-bottom:1px solid var(--border);background:#fbfbfc;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;padding:10px 18px;display:grid}.playground-code-drawer{border-bottom:1px solid var(--border);background:#fff;max-height:360px;overflow:auto}.playground-code-drawer .api-example-panel{border:0;border-radius:0}.playground-route{border-bottom:1px solid var(--border);background:#fafafa;align-items:center;gap:8px;min-height:36px;padding:8px 18px;display:flex}.playground-route span{color:var(--text);font-size:12px;font-weight:730}.playground-route em{color:var(--muted-strong);font-size:12px;font-style:normal}.playground-route small,.playground-foot{color:var(--muted);font-size:11px}.playground-error{margin:8px 18px 0}.playground-chat{background:#fff;flex-direction:column;grid-row:6;gap:12px;min-height:0;padding:18px;display:flex;overflow:auto}.playground-empty{color:#67686e;text-align:center;align-content:center;place-items:center;gap:8px;min-height:100%;display:grid}.playground-empty svg{color:#33343a}.playground-empty strong{color:var(--text);font-size:17px;font-weight:780}.playground-empty span{font-size:13px}.playground-message{gap:5px;width:min(76%,720px);display:grid}.playground-message span{color:var(--muted);font-size:11px;font-weight:700}.playground-message p{border:1px solid var(--border);color:var(--text);white-space:pre-wrap;overflow-wrap:anywhere;background:#fbfbfc;border-radius:8px;margin:0;padding:10px 12px;font-size:13px;line-height:1.58}.playground-message.user{align-self:flex-end}.playground-message.user span{text-align:right}.playground-message.user p{background:#f4f8ff;border-color:#cfe0f8}.playground-composer{background:#fff;border:1px solid #dedee2;border-radius:8px;grid-row:7;grid-template-rows:minmax(44px,1fr) auto;gap:8px;min-height:104px;margin:0 18px 18px;padding:10px;display:grid}.playground-composer textarea{resize:vertical;width:100%;min-height:44px;max-height:120px;color:var(--text);background:0 0;border:0;outline:0;padding:0;font-size:13px;line-height:1.5}.playground-composer-actions{grid-template-columns:auto minmax(0,1fr) 38px;align-items:end;gap:10px;display:grid}.playground-send-button{color:#fff;cursor:pointer;background:#777a80;border-radius:8px;place-items:center;width:38px;height:38px;display:grid}.playground-stop-button{color:#b42318;cursor:pointer;background:#fff4f4;border:1px solid #f0b8b8;border-radius:8px;place-items:center;width:38px;height:38px;display:grid}.playground-send-button:disabled{cursor:not-allowed;opacity:.45}.playground-foot{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:10px;min-width:0;display:flex}.playground-advanced{border:1px solid var(--border);background:#fff;border-radius:8px}.playground-advanced>summary{color:#55565b;cursor:pointer;padding:10px 11px;font-size:12px;font-weight:700}.playground-advanced>div{border-top:1px solid var(--border);gap:12px;padding:11px;display:grid}.playground-capability-note{border-top:1px solid var(--border);gap:5px;padding-top:12px;display:grid}.playground-capability-note strong{color:var(--text);font-size:12px}.playground-capability-note span{color:var(--muted);overflow-wrap:anywhere;font-size:11px;line-height:1.5}.playground-model-change{background:#fff9e8;border-bottom:1px solid #f2d58a;align-items:center;gap:8px;min-height:46px;padding:7px 18px;display:flex}.playground-model-change>span{color:#6f5311;margin-right:auto;font-size:12px}.playground-model-change .text-button{color:#6f5311}.playground-turn{flex-direction:column;gap:9px;width:100%;display:flex}.playground-turn+.playground-turn{border-top:1px solid var(--border);padding-top:18px}.playground-turn .playground-message.user{width:min(76%,720px)}.playground-candidate-head{justify-content:space-between;align-items:center;gap:12px;width:min(92%,920px);display:flex}.playground-candidate-head>span{min-width:0;color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:11px;font-weight:700;overflow:hidden}.playground-candidate-head>div{align-items:center;gap:4px;display:flex}.playground-candidate-head button{border:1px solid var(--border);min-width:26px;height:26px;color:var(--muted-strong);cursor:pointer;background:#fff;border-radius:7px;justify-content:center;align-items:center;gap:4px;padding:0 7px;font-size:11px;font-weight:700;display:inline-flex}.playground-candidate-head button.active,.playground-candidate-head button:hover{color:#145fae;background:#edf5ff;border-color:#aac8f4}.playground-candidate-head button:disabled{cursor:not-allowed;opacity:.55}.playground-message.assistant{gap:7px;width:min(92%,920px)}.playground-message.assistant>p{min-height:42px}.playground-message.assistant.cancelled>p{background:#fffaf0;border-color:#e5c884}.playground-message.assistant.failed>p{background:#fff5f4;border-color:#efb0aa}.playground-live-metrics,.playground-metric-summary,.playground-usage-summary{color:var(--muted);flex-wrap:wrap;align-items:center;gap:7px;font-size:11px;display:flex}.playground-live-metrics strong{color:var(--text);font-size:11px}.playground-live-dot{background:#2f80ed;border-radius:50%;width:7px;height:7px;animation:1.2s ease-in-out infinite playground-pulse;box-shadow:0 0 0 4px #e8f2ff}@keyframes playground-pulse{50%{opacity:.45}}.playground-metric-summary>span,.playground-usage-summary>span{border:1px solid var(--border);background:#f8f8f9;border-radius:7px;align-items:center;min-height:23px;padding:3px 7px;display:inline-flex}.playground-metric-summary>span:first-child{color:#135fbd;background:#eff6ff;border-color:#b9d4ff;font-weight:720}.playground-metric-summary.cancelled>span:first-child{color:#7a5810;background:#fff7df;border-color:#e8cc89}.playground-metric-summary.failed>span:first-child{color:#a72d24;background:#fff1f0;border-color:#efb8b3}.playground-candidate-error{color:#a72d24;font-size:11px;line-height:1.5}.playground-diagnostics{border:1px solid var(--border);background:#fff;border-radius:9px;overflow:hidden}.playground-diagnostics>summary{cursor:pointer;color:var(--muted-strong);padding:9px 11px;font-size:11px;font-weight:720}.playground-diagnostics-body{border-top:1px solid var(--border);background:#fbfbfc;gap:14px;padding:12px;display:grid}.playground-diagnostic-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;display:grid}.playground-route-diagnostics{gap:8px;display:grid}.playground-route-diagnostics h4,.playground-payload-grid h4{color:var(--text);margin:0;font-size:12px;font-weight:760}.playground-route-summary{color:var(--muted);flex-wrap:wrap;align-items:center;gap:7px;font-size:11px;display:flex}.playground-route-summary strong,.playground-route-summary span{border:1px solid var(--border);background:#fff;border-radius:6px;padding:3px 6px}.playground-route-summary strong{color:var(--text)}.playground-attempts{gap:6px;display:grid}.playground-attempts>div{color:var(--muted);background:#fff;border-left:3px solid #b8bec8;border-radius:5px;grid-template-columns:20px minmax(120px,1fr) auto auto;align-items:center;gap:8px;padding:7px 9px;font-size:11px;display:grid}.playground-attempts>div.success{border-left-color:#2a9d68}.playground-attempts>div.failed{border-left-color:#d34b40}.playground-attempts strong{color:var(--text)}.playground-attempts em{font-style:normal}.playground-attempts .playground-attempt-usage{grid-column:2/-1}.playground-attempts p{color:#a72d24;grid-column:2/-1;margin:0}.playground-payload-grid{grid-template-columns:minmax(0,1fr);gap:10px;display:grid}.playground-payload-grid section{gap:7px;min-width:0;display:grid}.playground-payload-grid pre{border:1px solid var(--border);color:#33353a;white-space:pre-wrap;word-break:break-word;background:#fff;border-radius:7px;max-height:280px;margin:0;padding:10px;font:11px/1.5 SFMono-Regular,Consolas,monospace;overflow:auto}.playground-new-content{z-index:3;color:#145fae;cursor:pointer;background:#fff;border:1px solid #b9d4ff;border-radius:18px;align-items:center;gap:5px;height:32px;padding:0 12px;font-size:11px;font-weight:720;display:inline-flex;position:absolute;bottom:150px;right:24px;box-shadow:0 5px 18px #0000001f}.playground-ephemeral{color:var(--muted);font-size:11px}@media (max-width:1100px){.playground-shell{grid-template-columns:250px minmax(0,1fr)}.playground-actions .secondary-button{min-width:38px;padding:0 9px;font-size:0}.playground-detail-strip,.playground-diagnostic-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.playground-payload-grid{grid-template-columns:1fr}}.api-example-panel{border:1px solid var(--border);background:var(--surface);border-radius:8px;overflow:hidden}.api-example-header{border-bottom:1px solid var(--border);background:#fbfbfc;justify-content:space-between;align-items:center;gap:10px;min-height:54px;padding:10px 12px;display:flex}.api-example-header strong{color:var(--text);font-size:13px;font-weight:760;display:block}.api-example-header span{color:var(--muted);margin-top:3px;font-size:12px;display:block}.icon-button.subtle{color:var(--muted-strong);background:0 0;border-color:#0000}.icon-button.subtle:hover{border-color:var(--border);background:var(--surface);color:var(--text)}.api-example-tabs{border-bottom:1px solid var(--border);background:#f3f3f4;gap:4px;min-height:44px;padding:7px 12px;display:flex;overflow-x:auto}.api-example-tab{min-width:74px;height:30px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:7px;padding:0 12px;font-size:12px;font-weight:720}.api-example-tab:hover,.api-example-tab.active{background:var(--surface);color:var(--text)}.api-example-meta{border-bottom:1px solid var(--border);min-height:42px;color:var(--muted-strong);background:#f8f8f9;align-items:center;gap:8px;padding:8px 12px;font-size:12px;display:flex}.api-example-meta span{border:1px solid var(--border);background:var(--surface);min-height:26px;color:var(--text);border-radius:7px;align-items:center;padding:5px 10px;font-weight:720;display:inline-flex}.api-example-meta em{color:var(--muted);font-style:normal}.api-code-block{color:#24292f;tab-size:2;background:#fff;max-height:420px;margin:0;padding:16px 18px;font-size:12px;line-height:1.62;overflow:auto}.api-code-block code{white-space:pre;font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace}
.provider-catalog-pane,.provider-config-pane{min-width:0}.provider-wizard-stepper{grid-template-columns:repeat(4,minmax(0,1fr))}.provider-wizard-panel{gap:12px;margin-bottom:12px;display:grid}.provider-access-options{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.provider-access-card{border:1px solid var(--border);background:var(--surface);min-height:184px;color:var(--text);text-align:left;cursor:pointer;border-radius:10px;align-content:start;gap:9px;padding:14px;display:grid}.provider-access-card:hover,.provider-access-card.active{border-color:color-mix(in srgb, var(--accent) 42%, var(--border));background:var(--accent-weak)}.provider-access-card.active{box-shadow:inset 3px 0 0 var(--accent)}.provider-access-card>span{background:var(--surface-soft);width:32px;height:32px;color:var(--accent);border-radius:9px;justify-content:center;align-items:center;display:inline-flex}.provider-access-card strong{color:var(--text);font-size:14px;font-weight:780}.provider-access-card em,.provider-access-card small,.provider-account-channel-note span{color:var(--muted);font-size:12px;font-style:normal;line-height:1.5}.provider-access-card small{border-top:1px solid var(--border);margin-top:2px;padding-top:8px}.provider-account-channel-note{border:1px solid var(--border);background:var(--surface-soft);border-radius:8px;gap:4px;padding:10px 11px;display:grid}.provider-account-channel-note strong{color:var(--text);font-size:12px;font-weight:740}.provider-create-review{grid-template-columns:repeat(4,minmax(0,1fr))}.provider-catalog-head,.provider-model-head{min-height:32px;color:var(--text);justify-content:space-between;align-items:center;gap:10px;display:flex}.provider-catalog-head strong,.provider-model-head strong{font-size:13px;font-weight:720}.provider-catalog-head span,.provider-model-head span,.provider-import-hint{color:var(--muted);font-size:11px}.provider-template-search{border:1px solid var(--border);background:var(--surface-soft);height:30px;color:var(--muted);border-radius:8px;align-items:center;gap:6px;margin:4px 0 8px;padding:0 8px;display:flex}.provider-template-search input{width:100%;min-width:0;color:var(--text);background:0 0;border:0;outline:0;font-size:12px}.provider-catalog-list{gap:5px;max-height:528px;padding-right:3px;display:grid;overflow:auto}.provider-catalog-list.compact{max-height:288px}.provider-category-list{gap:5px;max-height:184px;padding-right:3px;display:grid;overflow:auto}.provider-category-item{border:1px solid var(--border);background:var(--surface);width:100%;min-height:38px;color:var(--text);text-align:left;cursor:pointer;border-radius:8px;justify-content:space-between;align-items:center;gap:8px;padding:7px 9px;display:flex}.provider-category-item:hover,.provider-category-item.active{border-color:var(--border-strong);background:var(--surface-soft)}.provider-category-item strong{font-size:12px;font-weight:720}.provider-category-item span{color:var(--muted);white-space:nowrap;font-size:11px}.provider-catalog-subhead{margin-top:12px}.provider-selected-summary{border:1px solid var(--border);background:var(--surface-soft);border-radius:8px;align-items:center;gap:8px;min-height:44px;margin-bottom:12px;padding:8px 10px;display:flex}.provider-selected-summary strong{color:var(--blue);background:#dbeafe;border-radius:999px;padding:3px 7px;font-size:11px;font-weight:760}.provider-selected-summary span{text-overflow:ellipsis;white-space:nowrap;min-width:0;color:var(--text);font-size:13px;font-weight:720;overflow:hidden}.provider-account-channel-select{border:1px solid var(--border);background:var(--surface);min-width:200px;max-width:360px;height:34px;color:var(--text);border-radius:7px;padding:0 30px 0 10px;font-size:13px;font-weight:720}.provider-selected-summary em{color:var(--muted);white-space:nowrap;margin-left:auto;font-size:11px;font-style:normal}.provider-account-selector{border:1px solid var(--border);background:var(--surface-soft);border-radius:8px;grid-template-columns:minmax(0,1fr) minmax(280px,46%);align-items:center;gap:14px;min-height:64px;margin-bottom:12px;padding:9px 10px;display:grid}.provider-account-selector>div{gap:3px;min-width:0;display:grid}.provider-account-selector strong{color:var(--text);font-size:12px}.provider-account-selector span{color:var(--muted-strong);font-size:11px;line-height:1.4}.provider-account-selector select{border:1px solid var(--border);background:var(--surface);min-width:0;height:36px;color:var(--text);border-radius:7px;padding:0 30px 0 10px}.provider-editor-tabs{background:var(--surface-soft);border-radius:10px;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;margin:-2px 0 14px;padding:4px;display:grid;overflow-x:auto}.provider-editor-tabs button{color:var(--muted-strong);font:inherit;white-space:nowrap;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:8px;padding:9px 12px;font-size:12px;font-weight:680}.provider-editor-tabs button:hover,.provider-editor-tabs button.active{border-color:var(--border);background:var(--surface);color:var(--text);box-shadow:var(--shadow-sm)}.compact-empty{padding:10px 4px;font-size:12px}.catalog-item{border:1px solid var(--border);background:var(--surface);width:100%;min-height:48px;color:var(--text);text-align:left;cursor:pointer;border-radius:8px;gap:3px;padding:8px 9px;display:grid}.catalog-item:hover,.catalog-item.active{border-color:var(--border-strong);background:var(--surface-soft)}.catalog-item strong{text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:700;overflow:hidden}.catalog-item span{color:var(--muted);font-size:11px}.custom-provider-button{background:var(--surface);width:100%;min-height:54px;color:var(--text);cursor:pointer;text-align:left;border:1px dashed #b9b9bd;border-radius:8px;grid-template-columns:16px minmax(0,1fr);align-items:center;gap:2px 8px;margin-bottom:8px;padding:9px 10px;display:grid}.custom-provider-button:hover,.custom-provider-button.active{border-color:var(--blue);background:#f4f8ff}.custom-provider-button svg{color:var(--blue);grid-row:span 2}.custom-provider-button span{text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:730;overflow:hidden}.custom-provider-button em{text-overflow:ellipsis;white-space:nowrap;color:var(--muted);font-size:11px;font-style:normal;overflow:hidden}.provider-form-grid{grid-template-columns:1fr 1fr;gap:12px;display:grid}.provider-edit-section{margin-bottom:14px}.provider-connect-form-grid{grid-template-columns:1fr}.provider-credential-panel{border:1px solid var(--border);background:var(--surface);border-radius:8px;margin-bottom:12px;padding:10px}.provider-credential-head{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.provider-credential-head>div,.provider-account-inline-head{gap:3px;min-width:0;display:grid}.provider-credential-head strong,.provider-account-inline-head strong{color:var(--text);font-size:12px;font-weight:740}.provider-credential-head span,.provider-account-inline-head span,.provider-credential-note{color:var(--muted-strong);font-size:11px;line-height:1.45}.provider-credential-options{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:10px;display:grid}.provider-credential-option{border:1px solid var(--border);background:var(--surface-soft);min-height:82px;color:var(--text);text-align:left;cursor:pointer;border-radius:8px;grid-template-columns:18px minmax(0,1fr);align-items:flex-start;gap:8px;padding:10px;display:grid}.provider-credential-option:hover,.provider-credential-option.active{border-color:var(--blue);background:#f4f8ff}.provider-credential-option svg{color:var(--blue);margin-top:1px}.provider-credential-option span{gap:4px;min-width:0;display:grid}.provider-credential-option strong{color:var(--text);font-size:12px;font-weight:740}.provider-credential-option em{color:var(--muted);font-size:11px;font-style:normal;line-height:1.4}.provider-account-inline{border-top:1px solid var(--border);margin-top:10px;padding-top:10px}.provider-quota-panel{border:1px solid var(--border);background:var(--surface-soft);border-radius:8px;padding:12px}.provider-quota-list{gap:10px;margin-top:10px;display:grid}.provider-quota-card{border:1px solid var(--border);background:var(--surface);border-radius:8px;padding:12px}.provider-quota-card-head{justify-content:space-between;align-items:center;gap:12px;display:flex}.provider-quota-account{gap:3px;min-width:0;display:grid}.provider-quota-account strong{overflow-wrap:anywhere;color:var(--text);font-size:13px}.provider-quota-account>span{color:var(--muted-strong);font-size:10px}.provider-quota-card-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;display:flex}.provider-quota-card-actions button{justify-content:center;align-items:center;gap:5px;display:inline-flex}.provider-account-disable-button{color:var(--warn)}.provider-account-delete-button{width:auto;height:34px;min-height:34px;padding:0 10px}.provider-account-confirmation-modal{width:min(460px,100vw - 32px)}.provider-account-confirmation-target{border:1px solid var(--border);background:var(--surface-soft);border-radius:8px;gap:3px;padding:10px 12px;display:grid}.provider-account-confirmation-target span{color:var(--muted);font-size:11px}.provider-account-confirmation-target strong{overflow-wrap:anywhere;color:var(--text);font-size:13px}.provider-account-delete-confirmation-field code{background:var(--surface-soft);width:max-content;color:var(--neg);letter-spacing:.04em;border-radius:6px;padding:5px 8px;font-size:12px;font-weight:760}.provider-quota-status{border-radius:999px;padding:4px 8px;font-size:10px;font-weight:740}.provider-quota-status.available{color:var(--pos);background:color-mix(in srgb, var(--pos) 12%, transparent)}.provider-quota-status.limited{color:var(--neg);background:color-mix(in srgb, var(--neg) 10%, transparent)}.provider-image-capability{white-space:nowrap;border-radius:999px;padding:4px 8px;font-size:10px;font-weight:740}.provider-image-capability.supported{color:var(--pos);background:color-mix(in srgb, var(--pos) 12%, transparent)}.provider-image-capability.unsupported{color:var(--neg);background:color-mix(in srgb, var(--neg) 10%, transparent)}.provider-image-capability.unknown{color:var(--muted-strong);background:var(--surface-soft)}.provider-quota-summary{grid-template-columns:minmax(160px,.8fr) minmax(0,2.2fr);gap:8px;margin-top:12px;display:grid}.provider-quota-usage{background:var(--surface-soft);border-radius:7px;align-content:center;gap:6px;padding:10px;display:grid}.provider-quota-usage>span{color:var(--muted);font-size:10px}.provider-quota-usage>strong{color:var(--text);font-size:24px;line-height:1}.provider-quota-progress{background:var(--border);border-radius:999px;height:5px;overflow:hidden}.provider-quota-progress span{border-radius:inherit;background:var(--accent);height:100%;display:block}.provider-quota-highlights{grid-template-columns:.7fr .7fr 1.6fr;gap:8px;display:grid}.provider-quota-fetched-at{color:var(--muted);text-align:right;margin-top:7px;font-size:9px}.provider-quota-details{border-top:1px solid var(--border);margin-top:8px;padding-top:8px}.provider-quota-details summary{cursor:pointer;width:max-content;color:var(--muted-strong);font-size:10px;font-weight:700}.provider-quota-details[open] summary{color:var(--text)}.provider-quota-grid,.provider-account-detail-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:10px;display:grid}.provider-quota-metric{background:var(--surface-soft);border-radius:7px;gap:4px;min-width:0;padding:8px;display:grid}.provider-quota-metric span{color:var(--muted);font-size:10px}.provider-quota-metric strong{overflow-wrap:anywhere;color:var(--text);font-size:12px}.provider-quota-error{color:var(--neg);margin:10px 0 0;font-size:11px}.provider-codex-test-controls{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:10px;display:grid}.provider-codex-test-account,.provider-codex-test-prompt{grid-column:1/-1}.provider-codex-test-prompt textarea{resize:vertical;min-height:76px}.provider-codex-test-result{margin-top:10px}.provider-account-intersection-note{border:1px solid color-mix(in srgb, var(--blue) 24%, var(--border));background:color-mix(in srgb, var(--blue) 7%, var(--surface));color:var(--muted-strong);border-radius:8px;margin:10px 0 0;padding:9px 10px;font-size:11px;line-height:1.5}.provider-codex-test-actions{justify-content:flex-end;margin-top:10px;display:flex}.provider-test-status{background:var(--surface-soft);color:var(--muted-strong);border-radius:999px;padding:3px 7px;font-size:10px}.provider-test-status.success{background:var(--pos-weak);color:var(--pos)}.provider-test-status.error{background:color-mix(in srgb, var(--red) 10%, transparent);color:var(--red)}.provider-account-selection-empty{border:1px dashed var(--border-strong);min-height:220px;color:var(--muted);text-align:center;border-radius:10px;place-content:center;justify-items:center;gap:8px;display:grid}.provider-account-selection-empty strong{color:var(--text);font-size:14px}.provider-account-selection-empty span{max-width:420px;font-size:12px;line-height:1.5}.provider-codex-test-result pre{border:1px solid var(--border);color:#e2e8f0;white-space:pre-wrap;overflow-wrap:anywhere;background:#0f172a;border-radius:7px;max-height:260px;margin:10px 0 0;padding:10px;font:12px/1.55 ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;overflow:auto}.provider-account-auth-grid{grid-template-columns:1fr 1fr;gap:12px;margin-top:10px;display:grid}.provider-account-auth-wide{grid-column:1/-1}.field-action-row{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;display:grid}.field-action-row .secondary-button{white-space:nowrap;min-height:38px}.provider-account-auth-actions{grid-column:1/-1;justify-content:space-between;align-items:center;gap:12px;display:flex}.provider-oauth-callback-backdrop{z-index:30}.provider-oauth-notice-backdrop{z-index:31;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:#0f172a8a}.provider-oauth-notice-modal{border:1px solid color-mix(in srgb, var(--warn) 36%, var(--border));gap:14px;width:min(560px,100%);display:grid;box-shadow:0 24px 80px #0f172a4d}.provider-oauth-notice-heading{align-items:center;gap:12px;display:flex}.provider-oauth-notice-heading h2,.provider-oauth-notice-heading p{margin:0}.provider-oauth-notice-icon{background:var(--warn-weak);width:42px;height:42px;color:var(--warn);border-radius:12px;flex:none;justify-content:center;align-items:center;display:inline-flex}.provider-oauth-notice-callout{border:1px solid color-mix(in srgb, var(--warn) 34%, var(--border));background:var(--warn-weak);border-radius:10px;gap:4px;padding:11px 12px;display:grid}.provider-oauth-notice-callout strong{color:var(--text);font-size:13px}.provider-oauth-notice-callout span{color:var(--muted-strong);font-size:12px;line-height:1.55}.provider-oauth-notice-steps{color:var(--muted-strong);gap:8px;margin:0;padding-left:22px;font-size:12px;line-height:1.55;display:grid}.provider-oauth-notice-error{font-size:12px;color:var(--red)!important;margin:0!important}.provider-oauth-callback-modal{gap:14px;width:min(560px,100%);display:grid}.provider-oauth-callback-modal>p{margin:0}.provider-oauth-callback-heading{align-items:center;gap:12px;display:flex}.provider-oauth-callback-heading h2,.provider-oauth-callback-heading p{margin:0}.provider-oauth-callback-icon{background:var(--accent-weak);width:38px;height:38px;color:var(--accent);border-radius:10px;flex:none;justify-content:center;align-items:center;display:inline-flex}.provider-oauth-callback-modal textarea{min-height:112px}.provider-oauth-callback-modal .provider-oauth-callback-error{color:var(--neg);margin:0;font-size:12px}.provider-account-token-status{border:1px solid var(--border);background:var(--surface-soft);min-width:0;color:var(--muted-strong);border-radius:8px;flex-wrap:wrap;align-items:center;gap:7px;padding:8px 10px;font-size:12px;line-height:1.35;display:flex}.provider-account-token-status.ready{border-color:color-mix(in srgb, var(--pos) 28%, var(--border));background:var(--pos-weak);color:var(--pos)}.provider-account-token-status span{font-weight:720}.provider-account-token-status em{background:var(--surface);color:var(--text);border-radius:999px;padding:2px 7px;font-size:11px;font-style:normal}.provider-account-runtime{border:1px solid var(--border);background:var(--surface-soft);border-radius:8px;margin-top:12px;padding:10px}.provider-account-runtime summary{cursor:pointer;color:var(--text);font-size:12px}.provider-account-runtime summary strong{margin-right:6px;font-weight:730}.provider-account-runtime summary span{color:var(--muted-strong);font-size:11px}.provider-account-name-field.conflict>span{color:var(--red);font-weight:760}.provider-account-name-field.conflict>input{border-color:var(--red);background:color-mix(in srgb, var(--red) 5%, var(--surface));box-shadow:0 0 0 3px color-mix(in srgb, var(--red) 12%, transparent)}.provider-account-name-conflict{border:1px solid color-mix(in srgb, var(--red) 32%, var(--border));background:color-mix(in srgb, var(--red) 7%, var(--surface));color:var(--red);border-radius:9px;align-items:flex-start;gap:8px;padding:9px 10px;display:flex}.provider-account-name-conflict>svg{flex:none;margin-top:1px}.provider-account-name-conflict>div{gap:2px;display:grid}.provider-account-name-conflict strong{font-size:12px;line-height:1.4}.provider-account-name-conflict span{color:color-mix(in srgb, var(--red) 78%, var(--text));font-size:11px;line-height:1.45}.provider-account-fields{grid-template-columns:1fr 1fr;gap:12px;margin-top:10px;display:grid}.provider-account-fields.compact{grid-template-columns:repeat(4,minmax(0,1fr))}.provider-direct-key-fields{border-top:1px solid var(--border);margin-top:10px;padding-top:10px}.provider-account-fields .field[data-field-key=id_token]{grid-column:1/-1}.provider-credential-note{margin:10px 0 0}.provider-account-advanced{border:1px solid var(--border);background:var(--surface-soft);border-radius:8px;margin-top:12px;padding:10px}.provider-account-advanced summary{cursor:pointer;color:var(--text);font-size:12px;font-weight:730}.provider-account-advanced p{color:var(--muted-strong);margin:8px 0 0;font-size:11px;line-height:1.45}.provider-import-options{border:1px solid var(--border);background:var(--surface-soft);border-radius:8px;justify-content:space-between;align-items:center;gap:12px;min-height:52px;margin:12px 0;padding:9px 10px;display:flex}.provider-import-options>div:first-child{gap:3px;min-width:0;display:grid}.provider-import-options strong{color:var(--text);font-size:12px;font-weight:730}.provider-import-options span{color:var(--muted-strong);font-size:11px;line-height:1.45}.model-option input{flex:none;width:14px;height:14px}.multi-select-field{grid-column:1/-1}.multi-select-tools{grid-template-columns:minmax(0,1fr) auto auto;gap:8px;display:grid}.multi-select-tools input{min-width:0}.multi-select-list{border:1px solid var(--border);background:var(--surface);border-radius:8px;max-height:260px;overflow:auto}.multi-select-option{border-bottom:1px solid var(--border);cursor:pointer;grid-template-columns:16px minmax(0,1fr);align-items:center;gap:9px;min-height:38px;padding:8px 10px;display:grid}.multi-select-option:last-child{border-bottom:0}.multi-select-option:hover{background:var(--surface-soft)}.multi-select-option input{width:14px;height:14px}.multi-select-option span{min-width:0;color:var(--text);overflow-wrap:anywhere;font-size:12px;font-weight:650;line-height:1.35}.provider-route-toggle{flex:none}.provider-model-tools{justify-content:flex-end;align-items:center;gap:8px;min-width:min(390px,58%);display:flex}.provider-model-tools input{border:1px solid var(--border);background:var(--surface);width:min(260px,50%);height:30px;color:var(--text);border-radius:8px;padding:0 9px;font-size:12px}.provider-model-tools .secondary-button{height:30px}.provider-model-list{border:1px solid var(--border);border-radius:8px;max-height:340px;overflow:auto}.model-option{border-bottom:1px solid var(--border);cursor:pointer;grid-template-columns:16px minmax(0,1fr);gap:9px;min-height:76px;padding:9px 10px;display:grid}.model-option:last-child{border-bottom:0}.model-option:hover{background:var(--surface-soft)}.model-option strong,.model-option span,.model-option small{display:block}.model-option strong{font-size:12px;font-weight:720}.model-option span{color:var(--muted-strong);margin-top:2px;font-family:SFMono-Regular,Consolas,monospace;font-size:11px}.model-option small{color:var(--muted);margin-top:4px;font-size:11px}.capability-row{flex-wrap:wrap;gap:4px;margin-top:6px;display:flex}.capability-row em{color:#57575c;background:#f0f0f0;border-radius:999px;min-height:20px;padding:3px 6px;font-size:10px;font-style:normal;font-weight:680}.provider-import-hint{margin:8px 0 0}.field{gap:6px;display:grid}.field span{color:var(--muted);font-size:11px;font-weight:680}.field small{color:var(--muted);font-size:11px;line-height:1.45}.field input,.field select,.field textarea{border:1px solid var(--border);width:100%;min-height:32px;color:var(--text);background:var(--surface);border-radius:8px;padding:0 9px;font-size:12px}.field textarea{resize:vertical;min-height:84px;padding:9px}.boolean-toggle{border:1px solid var(--border);background:var(--surface-soft);border-radius:8px;grid-template-columns:1fr 1fr;gap:3px;width:fit-content;min-height:32px;padding:3px;display:inline-grid}.boolean-toggle button{min-width:56px;height:24px;color:var(--muted-strong);cursor:pointer;border-radius:6px;padding:0 10px;font-size:12px;font-weight:680}.boolean-toggle button.active{background:var(--surface);color:var(--text);box-shadow:0 1px 3px #00000014}.boolean-toggle button:disabled{cursor:not-allowed;opacity:.6}.modal-actions{border-top:1px solid var(--border);justify-content:flex-end;align-items:center;gap:8px;min-height:54px;padding:11px 18px;display:flex}
.provider-reset-credit-picker{border:1px solid var(--border);border-radius:10px;margin:12px 0;padding:10px}.provider-reset-credit-picker legend{color:var(--muted-strong);padding:0 6px;font-size:12px;font-weight:700}.provider-reset-credit-options{grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:8px;display:grid}.provider-reset-credit-option{border:1px solid var(--border);background:var(--surface-soft);cursor:pointer;border-radius:8px;align-items:center;gap:9px;padding:10px;display:flex}.provider-reset-credit-option.selected{border-color:var(--accent);box-shadow:0 0 0 2px var(--accent-weak)}.provider-reset-credit-option span{gap:2px;display:grid}.provider-reset-credit-option small{color:var(--muted)}.provider-account-reset-progress-modal{text-align:center;align-content:center;place-items:center;gap:24px;width:min(560px,100vw - 32px);min-height:320px;display:grid}.provider-account-reset-progress-modal h2{margin:8px 0 0;font-size:clamp(26px,4vw,38px)}.provider-account-reset-spinner{color:var(--accent);animation:1.1s linear infinite provider-account-reset-spin}@keyframes provider-account-reset-spin{to{transform:rotate(360deg)}}
.provider-api-quick-layout{grid-template-columns:280px minmax(0,1fr)}.provider-quick-catalog-pane{flex-direction:column;min-height:0;display:flex}.provider-quick-search{background:var(--surface);height:38px;margin:8px 0 10px;padding:0 10px}.provider-quick-catalog-list{align-content:start;gap:6px;min-height:0;max-height:430px;padding-right:3px;display:grid;overflow:auto}.provider-quick-catalog-item{width:100%;min-height:58px;color:var(--text);text-align:left;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:10px;grid-template-columns:34px minmax(0,1fr) 18px;align-items:center;gap:9px;padding:8px 10px;display:grid}.provider-quick-catalog-item:hover,.provider-quick-catalog-item.active{border-color:var(--border);background:var(--surface-soft)}.provider-quick-catalog-item.active{border-color:color-mix(in srgb, var(--accent) 30%, var(--border));box-shadow:inset 3px 0 0 var(--accent)}.provider-quick-catalog-avatar{background:var(--accent-weak);width:34px;height:34px;color:var(--accent);border-radius:10px;justify-content:center;align-items:center;font-size:12px;font-weight:800;display:inline-flex}.provider-quick-catalog-copy{gap:3px;min-width:0;display:grid}.provider-quick-catalog-copy strong,.provider-quick-catalog-copy em{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.provider-quick-catalog-copy strong{font-size:13px;font-weight:740}.provider-quick-catalog-copy em{color:var(--muted);font-size:10px;font-style:normal}.provider-quick-catalog-item>svg{color:var(--accent)}.provider-quick-custom{flex:none;margin:10px 0 0}.provider-api-quick-connect{align-content:start;gap:14px;display:grid}.provider-quick-tabs{margin:0}.provider-quick-tab-panel{align-content:start;gap:14px;display:grid}.provider-api-quick-hero{border:1px solid var(--border);background:var(--surface-soft);border-radius:12px;justify-content:space-between;align-items:flex-start;gap:16px;min-height:90px;padding:14px 16px;display:flex}.provider-api-quick-hero>div{gap:4px;min-width:0;display:grid}.provider-api-quick-hero span,.provider-api-quick-hero p{color:var(--muted);font-size:11px}.provider-api-quick-hero h3,.provider-api-quick-hero p{margin:0}.provider-api-quick-hero h3{text-overflow:ellipsis;white-space:nowrap;color:var(--text);font-size:18px;overflow:hidden}.provider-api-quick-hero p{overflow-wrap:anywhere}.provider-api-quick-hero>strong{border:1px solid var(--border);background:var(--surface);color:var(--muted-strong);white-space:nowrap;border-radius:999px;padding:5px 8px;font-size:10px}.provider-api-quick-intro{grid-template-columns:36px minmax(0,1fr);align-items:center;gap:10px;display:grid}.provider-api-quick-intro>span{background:var(--accent-weak);width:36px;height:36px;color:var(--accent);border-radius:10px;justify-content:center;align-items:center;display:inline-flex}.provider-api-quick-intro strong{color:var(--text);font-size:13px}.provider-api-quick-intro p{color:var(--muted);margin:3px 0 0;font-size:11px;line-height:1.45}.provider-quick-required-grid{grid-template-columns:1fr 1fr;gap:12px;display:grid}.provider-quick-key-field{margin:0}.provider-quick-key-input{border:1px solid var(--border-strong);background:var(--surface);border-radius:10px;grid-template-columns:minmax(0,1fr) 42px;display:grid;overflow:hidden}.provider-quick-key-input:focus-within{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-weak)}.provider-quick-key-input input{border:0;border-radius:0;outline:0;height:46px}.provider-quick-key-input button{border:0;border-left:1px solid var(--border);color:var(--muted);cursor:pointer;background:0 0}.provider-quick-key-field>a{width:fit-content;color:var(--accent);font-size:11px;text-decoration:none}.provider-quick-test-row{flex-wrap:wrap;align-items:center;gap:10px;min-height:32px;display:flex}.provider-quick-test-button{flex:none;align-items:center;gap:6px;display:inline-flex}.provider-quick-test-button:disabled{cursor:not-allowed;opacity:.55}.provider-quick-test-button.testing svg{animation:.8s linear infinite provider-quick-test-spin}.provider-quick-test-status{min-width:0;color:var(--muted-strong);align-items:center;gap:6px;font-size:11px;display:flex}.provider-quick-test-status span{overflow-wrap:anywhere;min-width:0}.provider-quick-test-status strong{font-variant-numeric:tabular-nums;flex:none}.provider-quick-test-status.success{color:var(--pos)}.provider-quick-test-status.error{color:var(--red)}@keyframes provider-quick-test-spin{to{transform:rotate(360deg)}}.provider-quick-custom-note{color:var(--muted);font-size:10px;font-style:normal}.provider-quick-advanced-grid{margin-top:0}.provider-quick-model-summary{justify-content:space-between;align-items:center;gap:12px;display:flex}.provider-quick-model-summary strong{color:var(--text);font-size:13px}.provider-quick-model-summary span{color:var(--muted);font-size:11px}.provider-quick-model-tools{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;display:grid}.provider-quick-model-search{margin:0}.provider-quick-model-tools .secondary-button{height:38px}.provider-quick-model-list{gap:6px;max-height:320px;display:grid;overflow:auto}.provider-quick-model-item{border:1px solid var(--border);background:var(--surface);border-radius:9px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;padding:9px 10px;display:grid}.provider-quick-model-item.active{border-color:var(--accent);background:var(--accent-weak)}.provider-quick-model-item>div{gap:3px;min-width:0;display:grid}.provider-quick-model-item strong,.provider-quick-model-item>div>span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.provider-quick-model-item strong{color:var(--text);font-size:12px}.provider-quick-model-item>div>span{color:var(--muted);font-size:10px}.provider-quick-model-switch{background:var(--border-strong);cursor:pointer;border:0;border-radius:999px;width:36px;height:22px;transition:background .14s;position:relative}.provider-quick-model-switch:after{background:var(--surface);content:"";border-radius:50%;width:16px;height:16px;transition:transform .14s;position:absolute;top:3px;left:3px;box-shadow:0 1px 3px #0003}.provider-quick-model-switch.active{background:var(--accent)}.provider-quick-model-switch.active:after{transform:translate(14px)}.provider-quick-model-switch:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.provider-quick-custom-note{margin:0;line-height:1.5}
.provider-model-inventory{border:1px solid var(--border);background:var(--surface);border-radius:10px;margin:12px 0 16px;overflow:hidden}.provider-model-inventory-head{background:var(--surface-soft);justify-content:space-between;align-items:center;gap:16px;padding:12px 14px;display:flex}.provider-model-inventory-head>div{gap:4px;display:grid}.provider-model-inventory-head strong,.provider-model-inventory-table strong{color:var(--text);font-size:12px}.provider-model-inventory-head span,.provider-model-inventory-table td>span,.provider-inventory-empty span{color:var(--muted);font-size:10px}.provider-model-inventory-head em{background:var(--accent-weak);min-width:28px;color:var(--accent);text-align:center;border-radius:999px;padding:4px 8px;font-size:11px;font-style:normal;font-weight:750}.provider-model-inventory-table-wrap{overflow-x:auto}.provider-model-inventory-table{border-collapse:collapse;width:100%}.provider-model-inventory-table th,.provider-model-inventory-table td{border-top:1px solid var(--border);text-align:left;padding:9px 10px}.provider-model-inventory-table th{color:var(--muted);white-space:nowrap;font-size:10px}.provider-model-inventory-table td:first-child{gap:3px;min-width:180px;display:grid}.provider-model-inventory-table input{border:1px solid var(--border);background:var(--surface);width:108px;min-height:30px;color:var(--text);border-radius:7px;padding:0 8px;font-size:11px}.provider-cost-save{white-space:nowrap;align-items:center;gap:5px;display:inline-flex}.provider-inventory-notice{margin:0;padding:8px 14px;font-size:11px}.provider-inventory-notice.success{color:var(--pos);background:var(--pos-weak)}.provider-inventory-notice.error{color:var(--red);background:color-mix(in srgb, var(--red) 10%, transparent)}.provider-inventory-empty{border:1px dashed var(--border);border-radius:9px;gap:4px;margin:12px 0;padding:14px;display:grid}
.database-status{gap:16px;display:grid}.database-status-actions{justify-content:flex-end;display:flex}.database-status-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.database-status-card,.database-status-details{border:1px solid var(--border);background:var(--surface-2);min-width:0;box-shadow:var(--shadow-sm);border-radius:14px;padding:18px}.database-status-card{min-height:132px}.database-status-card-header{align-items:center;gap:10px;margin-bottom:18px;display:flex}.database-status-card-header h2{color:var(--ink-2);margin:0;font-size:13px;font-weight:650}.database-status-card-icon{border-radius:10px;flex:none;justify-content:center;align-items:center;width:34px;height:34px;display:inline-flex}.database-status-card-icon svg{width:18px;height:18px}.database-status-card-icon.database{background:var(--accent-weak);color:var(--accent)}.database-status-card-icon.runtime,.database-status-card-icon.version{color:#7c3aed;background:#7c3aed1f}.database-status-card-icon.connection{background:var(--pos-weak);color:var(--pos)}.database-status-card-icon.details{background:var(--surface-3);color:var(--ink-2)}.database-status-card-value{min-width:0;color:var(--ink);overflow-wrap:anywhere;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:25px;font-weight:720;line-height:1.2}.database-status-value-row{align-items:center;gap:9px;display:flex}.database-status-indicator{background:var(--ink-4);border-radius:999px;flex:none;width:10px;height:10px}.database-status-indicator.active{background:var(--pos)}.database-status-state-icon{width:24px;height:24px}.database-status-state,.database-status-state-icon.normal{color:var(--pos)}.database-status-state.error,.database-status-state-icon.error{color:var(--red)}.database-status-state{font-size:20px;font-weight:720}.database-status-version,.database-status-url{color:var(--ink-2);overflow-wrap:anywhere;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}.database-status-version{font-size:13px;line-height:1.6}.database-status-url{background:var(--surface-3);border-radius:9px;padding:11px 12px;font-size:12px;line-height:1.6}.database-status-note{color:var(--ink-3);margin-top:8px;font-size:11px}.database-status-message{min-height:160px;color:var(--ink-3);justify-content:center;align-items:center;display:flex}.database-status-error{border:1px solid color-mix(in srgb, var(--red) 28%, var(--border));background:color-mix(in srgb, var(--red) 8%, var(--surface));color:var(--red);border-radius:12px;align-items:center;gap:9px;padding:13px 14px;display:flex}.database-status-error svg{flex:none;width:19px;height:19px}@media (max-width:720px){.database-status-grid{grid-template-columns:1fr}.database-status-card{min-height:120px}}
@media (max-width:1440px){.app-shell{grid-template-columns:220px minmax(0,1fr)}.app-shell.sidebar-collapsed{grid-template-columns:68px minmax(0,1fr)}.top-links{display:none}.content-panel{padding:26px 30px 42px}.playground-content-panel{padding:0}.gateway-quick-grid,.reports-export-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:980px){.login-shell{padding:14px}.login-card{width:100%}.app-shell{grid-template-columns:1fr}.sidebar{display:none}.workspace{padding:0 12px}.topbar{flex-wrap:wrap;align-items:center;height:auto;padding:12px 0}.content-panel{margin:0;padding:20px 16px 28px}.playground-content-panel{padding:0}.gateway-hero{flex-direction:column;padding:18px}.gateway-quick-grid,.resource-detail-layout.with-panel{grid-template-columns:1fr}.team-members-panel,.project-quota-panel{max-height:none}.project-quota-grid,.project-team-link-form{grid-template-columns:1fr}.project-workspace-backdrop{padding:10px}.project-workspace{max-height:calc(100dvh - 20px)}.project-workspace-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.project-workspace-summary>span:nth-child(2){border-right:0}.project-workspace-summary>span:nth-child(3),.project-workspace-summary>span:nth-child(4){border-top:1px solid var(--border);padding-top:8px}.project-basics-grid,.project-readonly-grid,.project-team-editor-grid,.project-team-draft-row,.project-workspace-quota .project-quota-grid{grid-template-columns:1fr}.project-team-remove{width:fit-content;margin-top:0}.metrics,.two-column,.modal-body,.identity-provider-grid,.identity-provider-grid.compact,.identity-template-grid,.identity-template-summary,.wizard-stepper,.wizard-project-grid,.wizard-choice-row,.wizard-form-grid,.wizard-model-list,.wizard-review-grid,.provider-modal-body,.provider-form-grid,.provider-access-options,.provider-credential-options,.provider-account-auth-grid,.provider-account-fields,.playground-shell,.playground-detail-strip,.model-catalog,.route-matrix,.request-history-layout,.reports-export-grid{grid-template-columns:1fr}.request-history-toolbar{flex-direction:column;align-items:stretch}.request-search{width:100%;min-width:0}.request-filter-tabs{overflow-x:auto}.request-detail-panel{min-height:0}.playground-shell{height:auto;min-height:0}.playground-config{border-right:0;border-bottom:1px solid var(--border)}.playground-main{min-height:560px}.playground-page{min-height:0}.playground-model-bar{flex-direction:column;align-items:stretch}.playground-actions{justify-content:flex-start}.playground-composer-actions{grid-template-columns:minmax(0,1fr) 38px}.playground-composer-actions .playground-foot{grid-column:1/-1;justify-content:flex-start}.playground-message{width:100%}.provider-catalog-list,.provider-model-list,.provider-quick-catalog-list{max-height:260px}.provider-quick-required-grid,.provider-quick-model-tools{grid-template-columns:1fr}.provider-model-head{flex-direction:column;align-items:stretch}.provider-model-tools{justify-content:stretch;min-width:0}.multi-select-tools{grid-template-columns:1fr 1fr}.multi-select-tools input{grid-column:1/-1}.multi-select-list{max-height:220px}.provider-model-tools input{width:100%}.workflow-hint{flex-direction:column;align-items:stretch}.workflow-hint-stats{flex-wrap:wrap}.search-box{width:100%;min-width:0}.model-provider-list{grid-template-columns:repeat(auto-fill,minmax(128px,1fr));max-height:none}.model-category-strip{grid-template-columns:1fr;gap:8px}.model-category-tabs{overflow-x:auto}.model-filterbar{flex-direction:column;align-items:stretch}.model-capability-tabs{flex-wrap:nowrap;padding-bottom:2px;overflow-x:auto}.model-catalog-actions{flex-direction:column;align-items:stretch;width:100%}.model-catalog-table-mode .model-catalog-actions .button{align-self:flex-start;width:fit-content}.model-search{width:100%}.route-model-head{flex-direction:column;align-items:stretch}.route-model-stats{justify-items:start}.route-provider-row{grid-template-columns:26px 30px minmax(0,1fr) auto;align-items:start}.route-provider-row.route-policy-row{grid-template-columns:26px 44px minmax(0,1fr) auto;width:100%;min-width:0}.route-provider-main,.route-upstream-model{grid-column:3/-1}.route-provider-row>.pill{grid-column:3/4;justify-self:start}.route-policy-row .route-policy-parameters,.route-policy-row .route-policy-order-value{grid-column:3/-1;justify-self:stretch}.route-policy-row .route-policy-parameters{flex-wrap:wrap;justify-content:flex-start;min-width:0}.route-policy-row .route-policy-order-value{text-align:left;min-width:0}.route-policy-row>.pill{grid-row:4}.route-policy-row .route-row-actions{grid-area:4/4/auto/5;align-self:center}.table-toolbar{flex-direction:column;align-items:stretch}.table-toolbar-actions{white-space:normal;flex-wrap:wrap;justify-content:flex-start}.pagination{flex-direction:column;align-items:stretch}.pagination-controls{justify-content:space-between}}@media (max-width:640px){h1{font-size:22px}.project-workspace-backdrop{padding:0}.project-workspace{border:0;border-radius:0;width:100%;min-height:100dvh;max-height:100dvh}.project-workspace-header{min-height:0;padding:13px 14px}.project-workspace-icon,.project-workspace-title>div>p:last-child{display:none}.project-workspace-header-actions .secondary-button,.project-workspace-header-actions .button{color:#0000;gap:0;width:34px;min-width:34px;padding:0;font-size:0;overflow:hidden}.project-workspace-header-actions .secondary-button svg,.project-workspace-header-actions .button svg{color:currentColor}.project-workspace-header-actions .secondary-button svg{color:var(--text)}.project-workspace-header-actions .button svg{color:#fff}.project-workspace-summary{padding:8px 14px}.project-workspace-body,.project-workspace-section-head,.project-workspace-section-body{padding:12px}.project-workspace-section-head{align-items:flex-start}.project-workspace-section-head>button{white-space:nowrap;width:auto;max-width:92px}.project-team-card-title,.project-additional-teams-head,.project-team-access-row,.project-workspace-actions{flex-direction:column;align-items:stretch}.project-workspace-actions{padding:10px 12px}.project-workspace-actions>div:first-child{display:none}.project-workspace-actions>div:last-child,.project-workspace-actions>div:last-child button{width:100%}.metric{min-height:96px}.metric-value{margin-top:20px}.request-detail-grid,.request-usage-strip,.request-usage-breakdown,.request-usage-total{grid-template-columns:1fr}.request-list-row{grid-template-columns:minmax(0,1fr)}.request-row-tail{grid-area:auto/1;justify-content:space-between}.model-card-grid{grid-template-columns:1fr}.model-card{padding:12px}.model-route-policy-head{flex-direction:column;align-items:stretch}.route-policy-save{width:fit-content}.route-strategy-guide-grid{grid-template-columns:1fr}.route-strategy-guide-grid>div+div{border-top:1px solid var(--border);border-left:0}.route-strategy-guide-head{align-items:flex-start}.model-card-pricing{gap:9px}.wizard-step strong{white-space:normal}.api-key-wizard-body{padding:14px}.wizard-panel,.identity-provider-wizard-body,.identity-template-card{min-height:0}}
*{scrollbar-color:var(--border-2) transparent}::-webkit-scrollbar{width:10px;height:10px}::-webkit-scrollbar-thumb{background:var(--border-2);background-clip:content-box;border:3px solid #0000;border-radius:8px}button,a,input,select,textarea{transition:background .15s,border-color .15s,color .15s,box-shadow .15s,transform .15s,filter .15s}button:active,a:active{transform:scale(.985)}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid color-mix(in srgb, var(--accent) 34%, transparent);outline-offset:2px}.login-shell{min-height:100dvh;color:var(--ink);background:radial-gradient(900px 420px at 50% -10%,#ffffffb8,#0000 72%),linear-gradient(135deg,#edf5ff 0%,#f6f9ff 52%,#e8f1ff 100%);place-items:center;padding:clamp(24px,4vw,56px);display:grid;position:relative;overflow:hidden auto}.login-theme-toggle{z-index:5;color:#536174;cursor:pointer;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:#ffffffd1;border:1px solid #a2b0c661;border-radius:12px;justify-content:center;align-items:center;width:42px;height:42px;display:inline-flex;position:absolute;top:clamp(22px,3.2vw,42px);right:clamp(22px,3.2vw,42px);box-shadow:0 10px 24px #1d427a14}.login-theme-toggle:hover{color:#1f2a3d;border-color:#487ef157;transform:translateY(-1px)}.login-stage{background:#fff;border:1px solid #cdd8e7eb;border-radius:24px;grid-template-columns:minmax(360px,1.06fr) minmax(300px,.94fr);width:min(860px,100%);height:auto;min-height:480px;display:grid;overflow:hidden;box-shadow:0 20px 54px #2648761f,0 3px 14px #26487614}.login-hero-panel{isolation:isolate;background-color:#f8f1e7;background-image:linear-gradient(151deg,#ffffffad 0 1px,#0000 1px 100%),linear-gradient(29deg,#dfd5c485 0 1px,#0000 1px 100%);background-size:126px 74px;border-right:1px solid #e0dacfc7;place-items:center;display:grid;position:relative;overflow:hidden}.login-hero-panel:before,.login-hero-panel:after{content:"";z-index:-1;pointer-events:none;position:absolute;inset:-20%}.login-hero-panel:before{background:radial-gradient(circle at 46%,#3e7bf621,#0000 24%),radial-gradient(circle at 58% 47%,#0fa4781a,#0000 20%);animation:10s ease-in-out infinite login-ambient}.login-hero-panel:after{opacity:.38;background:linear-gradient(90deg,#0000 0%,#ffffff57 46%,#0000 56%);animation:4.2s cubic-bezier(.16,1,.3,1) infinite login-scan;transform:translate(-65%)}.login-hero-orbit{z-index:1;pointer-events:none;position:absolute;inset:0}.login-hero-orbit:before{content:"";aspect-ratio:1;border:1px solid #3e7bf61a;border-radius:36px;width:min(28vw,280px);animation:4.2s cubic-bezier(.16,1,.3,1) infinite login-frame-reveal;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)rotate(45deg)}.login-flow-scene{z-index:2;contain:layout style paint;width:min(440px,94%);height:320px;position:relative}.login-flow-svg{z-index:1;position:absolute;inset:0;overflow:visible}.login-flow-link{fill:none;stroke:#3e7bf642;stroke-width:2.4px;stroke-linecap:round;stroke-dasharray:5 8;animation:3.1s linear infinite login-flow-dash}.login-provider-flow{stroke:#0fa47857;stroke-width:3px}.login-flow-token{fill:#3e7bf6;opacity:.92;filter:drop-shadow(0 0 7px #3e7bf673);animation:1.55s ease-in-out infinite login-token-pulse}.login-key-stack{z-index:3;gap:36px;display:grid;position:absolute;top:64px;left:26px}.login-key-chip{color:#506079;letter-spacing:0;background:#ffffffb8;border:1px solid #ffffffc2;border-radius:12px;align-items:center;gap:8px;width:94px;height:36px;padding:0 11px;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:11px;font-weight:760;animation:3.1s ease-in-out infinite login-key-pulse;display:inline-flex;box-shadow:0 12px 24px #21355414,inset 0 1px #ffffffd6}.login-key-chip.key-two{animation-delay:.35s}.login-key-chip.key-three{animation-delay:.7s}.login-key-icon{color:#2f6df3;background:radial-gradient(circle at 32% 28%,#fffffff5,#0000 42%),#3e7bf61a;border:1px solid #3e7bf633;border-radius:8px;flex:none;justify-content:center;align-items:center;width:20px;height:20px;display:inline-flex;box-shadow:0 8px 16px #3e7bf624}.login-hub-node{z-index:4;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:#fffc;border:1px solid #ffffffd1;border-radius:22px;place-items:center;gap:7px;width:98px;min-height:88px;padding:11px 10px 10px;animation:3.1s ease-in-out infinite login-hub-breathe;display:grid;position:absolute;top:117px;left:187px;box-shadow:0 24px 46px #21355421,inset 0 1px #ffffffeb}.login-logo-tile{border-radius:12px;justify-content:center;align-items:center;width:42px;height:42px;display:inline-flex}.login-logo-tile img{object-fit:contain;width:100%;height:100%}.login-hub-copy{justify-items:center;gap:1px;display:grid}.login-hub-copy strong{color:#1e293b;letter-spacing:0;font-size:13px;font-weight:820;line-height:1}.login-hub-copy small{color:#7b879b;letter-spacing:.06em;text-transform:uppercase;font-size:9px;font-weight:720;line-height:1}.login-provider-stack{z-index:3;gap:14px;display:grid;position:absolute;top:46px;right:8px}.login-provider-node{-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);color:#1f2a3d;background:#ffffffa8;border:1px solid #ffffffb8;border-radius:15px;grid-template-columns:24px minmax(0,1fr);align-content:center;place-items:center;gap:4px 8px;width:112px;min-height:60px;padding:8px 14px 8px 10px;animation:3.1s ease-in-out infinite login-provider-card;display:grid;box-shadow:0 16px 32px #2135541a,inset 0 1px #fffc}.login-provider-node.provider-two{animation-delay:.28s}.login-provider-node.provider-three{animation-delay:.56s}.login-provider-icon{color:#fff;background:linear-gradient(135deg,#3e7bf6f2,#0fa478eb),#3e7bf6;border-radius:8px;justify-content:center;align-items:center;width:24px;height:24px;animation:3.1s ease-in-out infinite login-provider-ready;display:inline-flex;box-shadow:0 10px 22px #3e7bf642}.login-provider-icon svg{filter:drop-shadow(0 1px 2px #1118272e)}.login-provider-node strong{white-space:nowrap;justify-self:start;min-width:0;padding-right:4px;font-size:10px;font-weight:800;line-height:1}.login-provider-bars{grid-column:1/-1;justify-self:end;gap:3px;width:72px;display:grid}.login-provider-bars span{background:#3e7bf63d;border-radius:999px;height:2px;animation:1.7s ease-in-out infinite login-provider-bar}.login-provider-bars span:nth-child(2){width:76%;animation-delay:.18s}.login-provider-bars span:nth-child(3){width:58%;animation-delay:.36s}.login-signal-strip{z-index:2;gap:9px;display:inline-flex;position:absolute;bottom:42px;left:50%;transform:translate(-50%)}.login-signal-strip span{transform-origin:0;background:#3e7bf642;border-radius:999px;width:34px;height:3px;animation:2.4s ease-in-out infinite login-signal}.login-signal-strip span:nth-child(2){animation-delay:.25s}.login-signal-strip span:nth-child(3){animation-delay:.5s}.login-card{width:min(292px,100% - 48px);box-shadow:none;background:0 0;border:0;border-radius:0;place-self:center;gap:0;padding:clamp(28px,3vw,38px) 0;display:grid}.login-card-head{grid-template-columns:minmax(0,1fr);align-items:start;gap:0;margin-bottom:22px;display:grid}.login-card-head h1{color:#202638;letter-spacing:0;white-space:nowrap;margin:0;font-size:28px;font-weight:800;line-height:1.08}.login-language-switcher{justify-self:start;margin:0}.field{align-content:start;align-self:start;gap:7px;margin-bottom:18px}.field>span:first-child,.field>small{color:var(--ink-2);font-size:12.5px;font-weight:500}.field input,.field select,.field textarea,.playground-field textarea,.playground-field select,.playground-slider input[type=number],.provider-model-tools input,.provider-template-search,.search-box,.request-search{border-color:var(--border-2);background:var(--surface-2);color:var(--ink);border-radius:11px}.field input,.field select{min-height:44px;padding:0 14px;font-size:14px}.field textarea{min-height:96px;padding:12px 14px;font-size:13px;line-height:1.55}.field input:focus,.field select:focus,.field textarea:focus,.playground-field textarea:focus,.playground-field select:focus,.playground-slider input[type=number]:focus{border-color:var(--accent);background:var(--surface);box-shadow:0 0 0 3px var(--accent-weak);outline:0}.login-card .field{gap:7px;margin-bottom:15px}.login-card .field>span:first-child{color:#667086;font-size:14px;font-weight:700}.login-card .field input{color:#202638;letter-spacing:0;background:#fff;border:1px solid #d5deeb;border-radius:13px;min-height:48px;padding:0 16px;font-size:16px;font-weight:700;box-shadow:0 1px #ffffffd9,inset 0 0 0 1px #ffffff75}.login-card .field input:focus{background:#fff;border-color:#3e7bf6c7;box-shadow:0 0 0 4px #3e7bf621}.password-field{color:inherit;font-size:inherit;font-weight:inherit;display:block;position:relative}.password-field input{padding-right:52px}.password-toggle{color:#9aa6b8;cursor:pointer;background:0 0;border-radius:10px;justify-content:center;align-items:center;width:38px;height:38px;display:inline-flex;position:absolute;top:7px;right:7px}.password-toggle:hover{color:#68758a;background:#f1f5fb}.login-helper-row{justify-content:space-between;align-items:center;gap:12px;margin:0 0 18px;display:flex}.login-helper-row>span{color:#667086;align-items:center;gap:9px;font-size:14px;font-weight:700;display:inline-flex}.login-checkmark{color:#fff;background:#407df2;border-radius:7px;flex:none;justify-content:center;align-items:center;width:24px;height:24px;display:inline-flex}.login-helper-row button{color:#3477f6;cursor:pointer;white-space:nowrap;background:0 0;font-size:14px;font-weight:700}.login-helper-row button:hover{text-underline-offset:4px;text-decoration:underline}.login-submit{color:#fff;background:#437df1;border-radius:13px;width:100%;height:48px;font-size:16px;font-weight:760;box-shadow:0 12px 22px #3e7bf633}.login-submit:hover{filter:brightness(1.06);transform:translateY(-1px)}.login-error{border-color:color-mix(in srgb, var(--red) 28%, transparent);background:color-mix(in srgb, var(--red) 8%, var(--surface));color:var(--red);border-radius:12px;margin-bottom:18px;padding:12px 14px;font-size:13px}.login-divider{grid-template-columns:1fr auto 1fr;align-items:center;gap:12px;margin:22px 0;display:grid}.login-divider span{background:var(--border);height:1px}.login-divider small{color:var(--ink-3);font-size:11.5px}.login-sso-list{gap:10px;display:grid}.login-sso-list.multi{grid-template-columns:repeat(3,minmax(0,1fr))}.login-sso-list.multi.count-2{grid-template-columns:repeat(2,minmax(0,1fr))}.login-sso-button{border:1px solid var(--border-2);background:var(--surface);width:100%;height:44px;color:var(--ink);cursor:pointer;border-radius:11px;justify-content:center;align-items:center;gap:9px;font-size:13.5px;font-weight:500;text-decoration:none;display:inline-flex}.login-sso-list.multi .login-sso-button{gap:7px;height:50px;padding:0 8px}.login-sso-icon{background:color-mix(in srgb, var(--accent) 10%, var(--surface));width:24px;height:24px;color:var(--accent);border-radius:8px;flex:none;justify-content:center;align-items:center;display:inline-flex}.login-sso-list.multi .login-sso-icon{border-radius:7px;width:22px;height:22px}.login-sso-icon.dingtalk,.login-sso-icon.feishu,.login-sso-icon.wecom{background:#f4f9ff}.login-sso-icon.gitlab{color:#d65a1f;background:#fff2e8}.login-sso-icon.github{color:#24292f;background:#eef2f7}.login-sso-icon.google{color:#2472d8;background:#eef6ff}.login-sso-icon.microsoft{color:#18884f;background:#edf7f0}.login-sso-icon.okta,.login-sso-icon.keycloak,.login-sso-icon.oidc{color:#5c55d6;background:#f0efff}.login-sso-icon.oauth2{color:#16866f;background:#eef8f5}.login-sso-icon.saml{color:#a96d00;background:#fff7df}.login-sso-icon.ldap{color:#475569;background:#f1f5f9}.login-sso-icon svg{display:block}.login-sso-label{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.login-sso-list.multi .login-sso-label{font-size:12.5px}.login-sso-button:hover{border-color:var(--ink-3)}.login-sso-button:disabled,.login-sso-button[aria-disabled=true]{cursor:not-allowed;opacity:.62}@media (max-width:360px){.login-sso-list.multi{grid-template-columns:repeat(2,minmax(0,1fr))}}@keyframes login-ambient{0%,to{opacity:.78;transform:translate(-1.5%,-1%)scale(1)}50%{opacity:1;transform:translate(1.5%,1%)scale(1.04)}}@keyframes login-scan{0%,34%{opacity:0;transform:translate(-72%)}50%{opacity:.7}76%,to{opacity:0;transform:translate(72%)}}@keyframes login-frame-reveal{0%,12%{opacity:0;transform:translate(-50%,-50%)rotate(45deg)scale(.72)}34%,84%{opacity:1;transform:translate(-50%,-50%)rotate(45deg)scale(1)}to{opacity:0;transform:translate(-50%,-50%)rotate(45deg)scale(1.02)}}@keyframes login-flow-dash{0%{stroke-dashoffset:26px}to{stroke-dashoffset:0}}@keyframes login-token-pulse{0%,to{opacity:.48;transform:scale(.86)}50%{opacity:1;transform:scale(1.1)}}@keyframes login-key-pulse{0%,to{border-color:#ffffffc2;transform:translate(0,0)}40%{border-color:#3e7bf670;transform:translate(4px)}}@keyframes login-hub-breathe{0%,to{transform:scale(1);box-shadow:0 24px 46px #21355421,inset 0 1px #ffffffeb}50%{transform:scale(1.025);box-shadow:0 28px 54px #3e7bf62b,inset 0 1px #fffffff0}}@keyframes login-provider-ready{0%,to{filter:saturate();transform:scale(1)}50%{filter:saturate(1.18);transform:scale(1.08)}}@keyframes login-provider-card{0%,to{border-color:#ffffffb8;transform:translate(0,0)}44%{border-color:#0fa47861;transform:translate(-3px)}}@keyframes login-provider-bar{0%,to{opacity:.32;transform:scaleX(.55)}50%{opacity:.84;transform:scaleX(1)}}@keyframes login-signal{0%,to{opacity:.35;transform:scaleX(.55)}50%{opacity:.82;transform:scaleX(1)}}[data-theme=dark].login-shell{background:radial-gradient(800px 420px at 50% -10%,#5b92ff24,#0000 70%),linear-gradient(135deg,#0c111c 0%,#111827 54%,#0b1020 100%)}[data-theme=dark] .login-theme-toggle{color:#a8b4c6;background:#141a26d1;border-color:#68799557;box-shadow:0 14px 34px #00000047}[data-theme=dark] .login-stage{background:#101725;border-color:#4e5c7494;box-shadow:0 30px 90px #00000061}[data-theme=dark] .login-hero-panel{background-color:#131927;background-image:linear-gradient(151deg,#ffffff17 0 1px,#0000 1px 100%),linear-gradient(29deg,#5b92ff24 0 1px,#0000 1px 100%);border-right-color:#4e5c7480}[data-theme=dark] .login-logo-tile{background:0 0}[data-theme=dark] .login-key-chip,[data-theme=dark] .login-hub-node,[data-theme=dark] .login-provider-node{background:#0f172abd;border-color:#ffffff1f;box-shadow:0 22px 48px #00000047,inset 0 1px #ffffff14}[data-theme=dark] .login-key-chip,[data-theme=dark] .login-hub-copy small{color:#a9b4c6}[data-theme=dark] .login-key-icon{color:#8ab2ff;background:radial-gradient(circle at 32% 28%,#ffffff2e,#0000 42%),#5b92ff29;border-color:#5b92ff47;box-shadow:0 8px 18px #0000002e}[data-theme=dark] .login-hub-copy strong,[data-theme=dark] .login-provider-node,[data-theme=dark] .login-card-head h1{color:#f4f7fb}[data-theme=dark] .login-flow-link{stroke:#5b92ff52}[data-theme=dark] .login-provider-flow{stroke:#2fd8a857}[data-theme=dark] .login-card .field>span:first-child,[data-theme=dark] .login-helper-row>span{color:#a9b4c6}[data-theme=dark] .login-card .field input{color:#f4f7fb;background:#101827;border-color:#334059;box-shadow:inset 0 0 0 1px #ffffff08}[data-theme=dark] .password-toggle:hover{color:#d5deec;background:#172235}@media (prefers-reduced-motion:reduce){.login-hero-panel:before,.login-hero-panel:after,.login-hero-orbit:before,.login-flow-link,.login-flow-token,.login-key-chip,.login-hub-node,.login-provider-icon,.login-provider-bars span,.login-signal-strip span{animation:none}.login-flow-token{display:none}}
.app-shell{background:var(--bg);height:100dvh;min-height:100dvh;color:var(--ink);grid-template-columns:256px minmax(0,1fr);display:grid;overflow:hidden}.app-shell.sidebar-collapsed{grid-template-columns:76px minmax(0,1fr)}.sidebar{border-right:1px solid var(--border);background:var(--surface);height:100dvh;color:var(--ink-2);padding:0;overflow:visible}.brand{border-bottom:1px solid var(--border);min-height:76px;color:var(--ink);letter-spacing:0;grid-template-columns:44px minmax(0,1fr);grid-template-areas:"logo name""logo version";gap:7px 12px;padding:0 44px 0 18px;font-size:20px;font-weight:780;position:relative}.brand-logo{object-fit:contain;border-radius:0;width:44px;height:44px}.brand-name{align-self:end;font-size:20px;font-weight:780;line-height:1}.sidebar-version-status{grid-area:version;min-width:0}.version{background:var(--surface-3);height:24px;color:var(--ink-3);letter-spacing:0;border-radius:999px;align-self:start;padding:0 11px;font-size:14px;font-weight:760}.version-trigger{cursor:pointer;border:1px solid #0000;gap:6px;transition:border-color .18s,background .18s,color .18s}.version-trigger:hover{border-color:var(--border-2);background:var(--surface-2);color:var(--ink-2)}.version-trigger:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.version-trigger.update-available{background:var(--warn-weak);color:var(--warn)}.version-update-dot{background:var(--warn);width:7px;height:7px;box-shadow:0 0 0 3px color-mix(in srgb, var(--warn) 18%, transparent);border-radius:50%;flex:0 0 7px}.version-modal-backdrop{z-index:100;padding:20px}.version-modal{border:1px solid var(--border);background:var(--surface);width:min(560px,100%);max-height:min(820px,100dvh - 40px);box-shadow:var(--shadow-lg);border-radius:16px;flex-direction:column;display:flex;overflow:hidden}.version-modal-header{border-bottom:1px solid var(--border);flex:none;justify-content:space-between;align-items:center;gap:16px;min-height:64px;padding:10px 14px 10px 22px;display:flex}.version-modal-header h2{color:var(--ink);letter-spacing:0;margin:0;font-size:18px;font-weight:720}.version-modal-actions{align-items:center;gap:4px;display:flex}.version-modal-actions .icon-button{cursor:pointer;justify-content:center;align-items:center;width:44px;height:44px;display:inline-flex}.version-modal-actions .icon-button:disabled{cursor:not-allowed;opacity:.45}.version-modal-body{grid-auto-rows:max-content;align-content:start;gap:14px;min-height:0;padding:26px 28px 28px;display:grid;overflow-y:auto}.modal-backdrop.version-confirm-backdrop{z-index:20;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#0b0b0f7a;padding:18px}.confirm-modal.version-confirm-modal{border:1px solid var(--border);border-radius:14px;width:min(440px,100%);padding:0;animation:.18s ease-out version-confirm-enter;overflow:hidden}.version-confirm-head{grid-template-columns:42px minmax(0,1fr);align-items:start;gap:12px;padding:20px 20px 12px;display:grid}.version-confirm-icon{background:color-mix(in srgb, var(--red) 12%, var(--surface));width:42px;height:42px;color:var(--red);border-radius:10px;justify-content:center;align-items:center;display:inline-flex}.version-confirm-head h2{color:var(--ink);letter-spacing:0;margin:1px 0 4px;font-size:17px;font-weight:720;line-height:1.35}.version-confirm-head p{color:var(--ink-3);margin:0;font-size:12px;line-height:1.5}.version-confirm-route{border:1px solid var(--border);background:var(--surface-2);border-radius:10px;grid-template-columns:minmax(0,1fr) 24px minmax(0,1fr);align-items:center;gap:8px;min-height:70px;margin:0 20px 14px;padding:10px 14px;display:grid}.version-confirm-route>span{gap:3px;min-width:0;display:grid}.version-confirm-route>span:last-child{text-align:right}.version-confirm-route small{color:var(--ink-3);font-size:10.5px;line-height:1.3}.version-confirm-route strong{color:var(--ink);font-variant-numeric:tabular-nums;letter-spacing:0;font-size:15px}.version-confirm-route>svg{color:var(--ink-4)}.version-confirm-warning{border:1px solid color-mix(in srgb, var(--warn) 30%, var(--border));background:var(--warn-weak);color:var(--warn);border-radius:9px;align-items:flex-start;gap:8px;margin:0 20px 18px;padding:10px 11px;font-size:11.5px;line-height:1.5;display:flex}.version-confirm-warning svg{flex:none;margin-top:1px}.version-confirm-modal .modal-actions{background:var(--surface);min-height:68px;padding:12px 20px}.version-confirm-modal .secondary-button,.version-confirm-modal .danger-confirm{justify-content:center;align-items:center;gap:7px;min-height:44px;padding:0 16px;font-size:12px;display:inline-flex}.version-confirm-modal .danger-confirm{height:auto;transition:filter .18s,opacity .18s}.version-confirm-modal .danger-confirm:hover{filter:brightness(.92)}.version-confirm-modal .secondary-button:focus-visible,.version-confirm-modal .danger-confirm:focus-visible{outline:3px solid color-mix(in srgb, var(--accent) 25%, transparent);outline-offset:2px}@keyframes version-confirm-enter{0%{opacity:0;transform:translateY(6px)scale(.985)}to{opacity:1;transform:translateY(0)scale(1)}}.sidebar-toggle{position:absolute;top:50%;right:14px;transform:translateY(-50%)}.sidebar-toggle,.account-logout,.toolbar-icon,.icon-button,.top-icon-button{color:var(--ink-3);border-radius:8px}.sidebar-toggle:hover,.account-logout:hover,.toolbar-icon:hover,.icon-button:hover,.top-icon-button:hover{background:var(--surface-3);color:var(--ink)}.sidebar-nav-scroll{gap:14px;padding:12px}.nav-title{min-height:26px;color:var(--ink-3);letter-spacing:.08em;text-transform:uppercase;padding:6px 10px 4px;font-size:10.5px;font-weight:600}.nav-title:hover{background:var(--surface-3);color:var(--ink-2)}.nav-item{min-height:40px;color:var(--ink-2);border-radius:10px;gap:11px;padding:0 11px;font-size:13.5px;font-weight:500}.nav-item:hover,.nav-parent.active-parent{background:var(--surface-3);color:var(--ink);box-shadow:none}.nav-item.active{background:var(--accent-weak);color:var(--accent);box-shadow:none;font-weight:600}.nav-subnav{gap:3px;padding-left:16px}.nav-child{min-height:36px}.sidebar.collapsed .brand{justify-content:flex-start;align-items:center;min-height:56px;padding:8px 0 0;position:relative}.sidebar.collapsed .sidebar-version-status{display:none}.sidebar.collapsed .brand-logo{opacity:1;flex:0 0 34px;width:34px;height:34px;transition:opacity .12s}.sidebar.collapsed .sidebar-toggle{opacity:0;pointer-events:none;border-radius:10px;width:34px;height:34px;transition:opacity .12s;top:8px;left:50%;right:auto;transform:translate(-50%)}.sidebar.collapsed .brand:hover .brand-logo{opacity:0}.sidebar.collapsed .brand:hover .sidebar-toggle,.sidebar.collapsed .sidebar-toggle:focus-visible{opacity:1;pointer-events:auto}.sidebar.collapsed .sidebar-nav-scroll{padding:12px 10px}.sidebar.collapsed .nav-title{min-height:8px}.sidebar-account{border-top:1px solid var(--border);grid-template-columns:32px minmax(0,1fr) 30px;gap:10px;min-height:58px;padding:12px}.account-avatar{background:var(--accent);color:#fff;border-radius:10px;width:32px;height:32px;font-size:13px;font-weight:700}.account-meta strong{color:var(--ink);font-size:13px;font-weight:600}.account-meta span{color:var(--ink-3);font-size:11px}.workspace{flex-direction:column;min-width:0;min-height:0;padding:0;display:flex;overflow:hidden}.topbar{border-bottom:1px solid var(--border);background:color-mix(in srgb, var(--surface) 82%, transparent);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);flex:0 0 60px;justify-content:flex-start;gap:12px;height:60px;padding:0 22px}.top-version-status{align-items:center;display:none}.top-version-status .version{align-self:auto;height:36px}.top-search-wrap{flex:480px;min-width:220px;max-width:560px;position:relative}.top-search{border:1px solid var(--border);background:var(--surface-3);width:100%;height:36px;color:var(--ink-3);border-radius:10px;align-items:center;gap:9px;padding:0 10px 0 13px;display:flex}.top-search.active,.top-search:focus-within{border-color:color-mix(in srgb, var(--accent) 38%, var(--border));background:var(--surface);box-shadow:0 0 0 3px color-mix(in srgb, var(--accent) 10%, transparent)}.top-search input{min-width:0;color:var(--ink);background:0 0;border:0;outline:0;flex:1;font-size:13px}.top-search span{border:1px solid var(--border-2);color:var(--ink-4);border-radius:5px;padding:1px 5px;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:11px}.top-search-panel{z-index:60;border:1px solid var(--border);background:var(--surface);width:min(560px,100vw - 32px);max-height:min(420px,100vh - 88px);box-shadow:var(--shadow-lg);border-radius:12px;gap:4px;padding:6px;display:grid;position:absolute;top:calc(100% + 8px);left:0;overflow:auto}.top-search-result{text-align:left;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:9px;grid-template-columns:34px minmax(0,1fr) auto;align-items:center;gap:10px;min-width:0;min-height:56px;padding:8px;display:grid}.top-search-result:hover,.top-search-result.active{border-color:var(--border);background:var(--surface-2)}.top-search-result-icon{width:34px;height:34px;color:var(--accent);background:color-mix(in srgb, var(--accent) 9%, var(--surface));border-radius:9px;justify-content:center;align-items:center;display:inline-flex}.top-search-result-icon.entity{color:var(--pos);background:color-mix(in srgb, var(--pos) 10%, var(--surface))}.top-search-result-icon.recent{color:var(--warn);background:color-mix(in srgb, var(--warn) 12%, var(--surface))}.top-search-result-body{gap:3px;min-width:0;display:grid}.top-search-result-body strong{color:var(--ink);text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:720;line-height:1.25;overflow:hidden}.top-search-result-body small{color:var(--ink-3);text-overflow:ellipsis;white-space:nowrap;font-size:12px;line-height:1.35;overflow:hidden}.top-search-result-action{color:var(--ink-4);font-size:11px;font-weight:700}.top-search-empty{align-content:center;gap:5px;min-height:74px;padding:14px;display:grid}.top-search-empty strong{color:var(--ink);font-size:13px}.top-search-empty span{color:var(--ink-3);font-size:12px;line-height:1.45}.topbar-spacer{flex:1}.topbar-actions{align-items:center;gap:10px;display:inline-flex}.top-quick-actions{align-items:center;gap:6px;display:inline-flex}.top-icon-button{border:1px solid var(--border);background:var(--surface);width:36px;height:36px;color:var(--ink-2);cursor:pointer;border-radius:10px;justify-content:center;align-items:center;display:inline-flex}.top-icon-button:hover,.top-icon-button.active{border-color:color-mix(in srgb, var(--accent) 28%, var(--border));color:var(--accent);background:color-mix(in srgb, var(--accent) 7%, var(--surface))}.top-scope-pill{border:1px solid var(--border);background:var(--surface);border-radius:10px;align-items:center;gap:7px;min-width:0;height:36px;padding:0 10px 0 7px;display:inline-flex}.top-scope-pill span{background:var(--accent);color:#fff;border-radius:7px;justify-content:center;align-items:center;width:22px;height:22px;font-size:11px;font-weight:760;display:inline-flex}.top-scope-pill strong{color:var(--ink-2);white-space:nowrap;font-size:12px;font-weight:720}.content-panel{min-height:0;box-shadow:none;background:0 0;border-radius:0;flex:1;margin:0;padding:26px 30px 44px;overflow:auto}.playground-content-panel{padding:0}.page-header{margin-bottom:12px}.page-context-header{justify-content:space-between;align-items:center;gap:16px;min-height:42px;display:flex}.page-context-main{align-items:center;min-width:0;display:flex}.page-breadcrumb{max-width:min(56vw,760px);color:var(--ink-3);white-space:nowrap;text-overflow:ellipsis;align-items:center;gap:8px;font-size:14px;font-weight:680;line-height:1.3;display:flex;overflow:hidden}.page-breadcrumb-separator{color:var(--ink-4);flex:none}.page-breadcrumb .current{color:var(--ink);font-weight:780}.page-context-side{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;display:flex}.scope-chip,.page-context-chip{border:1px solid var(--border);background:var(--surface);border-radius:999px;align-items:center;gap:6px;min-height:30px;padding:4px 9px;display:inline-flex}.scope-chip{color:var(--accent);font-size:12px;font-weight:760}.page-context-chip strong{color:var(--ink);font-size:12.5px;font-weight:780}.page-context-chip em{color:var(--ink-3);font-size:11.5px;font-style:normal;font-weight:650}.eyebrow{color:var(--ink-3);letter-spacing:.04em;text-transform:uppercase;margin-bottom:4px;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:12px}h1{color:var(--ink);letter-spacing:0;font-size:23px;font-weight:700}h2{color:var(--ink);font-size:15px;font-weight:600}.page-desc{color:var(--ink-2);font-size:13px}.divider{display:none}.status-line{border:1px solid var(--border);background:var(--surface);box-shadow:var(--shadow-sm);border-radius:10px;grid-template-columns:18px minmax(0,1fr) 28px;align-items:center;gap:8px;margin:0 0 14px;padding:10px 12px;display:grid}.status-stack{gap:8px;display:grid}.status-line span{overflow-wrap:anywhere;min-width:0}.status-line.error{border-color:color-mix(in srgb, var(--red) 24%, var(--border));background:color-mix(in srgb, var(--red) 7%, var(--surface));color:var(--red)}.status-line.success{border-color:color-mix(in srgb, var(--pos) 24%, var(--border));background:color-mix(in srgb, var(--pos) 7%, var(--surface));color:var(--pos)}.metrics{grid-template-columns:repeat(4,minmax(150px,1fr));gap:14px;margin-bottom:16px}.metric,.section,.overview-announcements,.gateway-copy-card,.gateway-code-block,.audit-tabs,.request-list-panel,.request-detail-panel,.report-export-card,.language-card,.model-catalog-sidebar,.model-card,.route-model-card,.route-empty,.api-example-panel,.modal,.confirm-modal,.team-members-panel,.project-quota-panel{border:1px solid var(--border);background:var(--surface);box-shadow:var(--shadow-sm);border-radius:14px}.metric{min-height:110px;padding:16px}.compact-metric{min-height:104px}.metric-label{color:var(--ink-2);font-size:12.5px;font-weight:500}.metric-label svg{color:var(--accent)}.metric-value{color:var(--ink);letter-spacing:0;margin-top:18px;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:26px;font-weight:700}.section{border-radius:16px;overflow:hidden}.section-header{border-bottom-color:var(--border);min-height:52px;padding:0 18px}.section-body{padding:16px 18px}.two-column{gap:14px}.table-wrap{border:1px solid var(--border);background:var(--surface);box-shadow:var(--shadow-sm);border-radius:14px}table{font-size:12.5px}th{background:var(--surface-2);color:var(--ink-3);letter-spacing:.04em;padding:11px 12px;font-size:11.5px;font-weight:600}td{color:var(--ink-2);border-bottom-color:var(--border);padding:12px}tr.clickable-row:hover td,tr.selected-row td{background:var(--surface-2)}tr.selected-row td:first-child{box-shadow:inset 3px 0 0 var(--accent)}.button,.secondary-button,.text-button,.danger-confirm,.danger-button{border-radius:10px;font-weight:600}.button{background:var(--accent);min-height:34px;color:var(--accent-ink)}.secondary-button{border-color:var(--border);background:var(--surface);min-height:34px;color:var(--ink)}.secondary-button:hover,.text-button:hover{border-color:var(--ink-3);background:var(--surface-3)}.text-button{background:var(--surface-3);color:var(--ink-2)}.danger-button{background:color-mix(in srgb, var(--red) 12%, var(--surface))}.search-box,.request-search{height:36px;padding:0 12px}.table-toolbar{gap:12px;margin-bottom:14px}.table-toolbar-actions{gap:8px}.table-result-count{border:1px solid var(--border);min-height:28px;color:var(--ink-3);background:var(--surface);border-radius:999px;align-items:center;padding:4px 9px;font-size:11.5px;font-weight:700;display:inline-flex}.system-settings-preference{border-bottom:1px solid var(--border);justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:16px;padding-bottom:16px;display:flex}.system-settings-preference strong{color:var(--ink);margin-top:4px;font-size:15px;font-weight:760;display:block}.system-settings-preference span,.system-settings-preference small{color:var(--ink-3);font-size:12px;line-height:1.5}.system-settings-preference span{margin-top:3px;display:block}.system-settings-intro{justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:16px;display:flex}.system-settings-intro h3{color:var(--ink);letter-spacing:0;margin-top:4px;font-size:18px;font-weight:760}.system-settings-intro p:not(.eyebrow){max-width:680px;color:var(--ink-2);margin-top:6px;font-size:13px;line-height:1.6}.system-settings-summary{border:1px solid var(--border);background:var(--border);border-radius:14px;grid-template-columns:repeat(2,minmax(0,1fr));gap:1px;display:grid;overflow:hidden}.system-setting-item{background:var(--surface);align-content:start;gap:7px;min-height:104px;padding:14px;display:grid}.system-setting-item span{color:var(--ink-3);font-size:11.5px;font-weight:700}.system-setting-item strong{color:var(--ink);overflow-wrap:anywhere;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:14px;font-weight:760}.system-setting-item small{max-width:52ch;color:var(--ink-3);font-size:12px;line-height:1.5}.system-settings-meta,.system-settings-meta div,.system-settings-note{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.system-settings-meta{color:var(--ink-3);justify-content:space-between;margin-top:12px;font-size:12px}.system-settings-meta code{border:1px solid var(--border);background:var(--surface-2);color:var(--ink-2);border-radius:8px;padding:3px 7px}.system-settings-note{border:1px solid color-mix(in srgb, var(--accent) 24%, var(--border));background:var(--accent-weak-2);color:var(--ink-2);border-radius:12px;margin-top:12px;padding:10px 12px;font-size:12.5px;line-height:1.5}.system-settings-note svg{color:var(--accent);flex:none}.resource-empty{border:1px dashed var(--border-strong);text-align:center;background:var(--surface-2);border-radius:14px;align-content:center;justify-items:center;gap:9px;min-height:220px;padding:24px;display:grid}.resource-empty-icon{width:38px;height:38px;color:var(--accent);background:color-mix(in srgb, var(--accent) 9%, var(--surface));border-radius:12px;justify-content:center;align-items:center;display:inline-flex}.resource-empty strong{color:var(--ink);font-size:15px;font-weight:760}.resource-empty span{max-width:420px;color:var(--ink-3);font-size:13px;line-height:1.55}.skeleton-table{border:1px solid var(--border);background:var(--surface);border-radius:12px;gap:7px;padding:8px;display:grid}.skeleton-row{grid-template-columns:repeat(var(--skeleton-columns,4), minmax(0, 1fr));gap:8px;display:grid}.skeleton-row span{background:linear-gradient(90deg, var(--surface-2), var(--surface-3), var(--surface-2));background-size:200% 100%;border-radius:8px;height:30px;animation:1.2s ease-in-out infinite skeleton-pulse}@keyframes skeleton-pulse{0%{background-position:100%}to{background-position:0}}.pill,.category-tab em,.reports-export-head span,.report-export-card em,.workflow-hint-stats span,.overview-announcement>span,.route-provider-chip{border-color:var(--border);background:var(--surface-3);color:var(--ink-2)}.pill.ok{background:var(--pos-weak);color:var(--pos)}.pill.warn{background:var(--warn-weak);color:var(--warn)}.pill.error{background:color-mix(in srgb, var(--red) 12%, transparent);color:var(--red)}.status-switch{border-color:var(--border-2);background:var(--surface-3);color:var(--ink-2)}.status-switch.active{border-color:color-mix(in srgb, var(--pos) 24%, var(--border));background:var(--pos-weak);color:var(--pos)}.status-switch.active .status-switch-track{background:var(--pos)}.overview-playground-card,.flow-row,.overview-announcement,.gateway-api-note,.workflow-hint,.quota-status-row,.quota-request-banner,.detail-field,.usage-stat,.attempt-content,.payload-block,.request-id-line,.secret,.model-catalog-empty,.catalog-item,.provider-category-item,.provider-selected-summary,.custom-provider-button,.provider-import-options,.multi-select-list,.provider-model-list,.model-option,.route-provider-row{border-color:var(--border);background:var(--surface-2);border-radius:12px}.overview-playground-card:hover,.flow-row:hover,.catalog-item:hover,.provider-category-item:hover,.custom-provider-button:hover,.model-option:hover,.route-provider-row:hover{border-color:color-mix(in srgb, var(--accent) 32%, var(--border));background:var(--accent-weak-2)}.overview-playground-icon,.step-no,.route-order-badge,.model-card-brand>span{background:var(--accent);color:var(--accent-ink);border-radius:9px}.overview-announcements{border-radius:16px}.overview-announcements-head{border-bottom-color:var(--border);min-height:52px;padding:0 18px}.overview-announcement.popup{border-color:color-mix(in srgb, var(--accent) 28%, var(--border));background:var(--accent-weak-2)}
.version-summary{text-align:center;justify-items:center;gap:7px;padding:4px 0 8px;display:grid}.version-summary-line{align-items:center;gap:10px;min-height:48px;display:inline-flex}.version-summary-line strong{color:var(--ink);letter-spacing:0;font-size:34px;font-weight:780;line-height:1}.version-summary-line svg.current{color:var(--pos)}.version-summary-line svg.update{color:var(--warn)}.version-summary-line .neutral{color:var(--ink-3);display:inline-flex}.version-summary p{color:var(--ink-2);margin:0;font-size:13px;line-height:1.5}.version-build-type{border:1px solid var(--border);background:var(--surface-2);min-height:22px;color:var(--ink-3);border-radius:999px;align-items:center;padding:2px 9px;font-size:11px;font-weight:650;display:inline-flex}.version-release-link{width:fit-content;min-height:44px;color:var(--ink-2);justify-content:center;align-items:center;gap:8px;margin:0 auto;padding:0 10px;font-size:13px;font-weight:600;text-decoration:none;transition:color .18s;display:inline-flex}.version-release-link:hover{color:var(--accent)}.version-release-card{border:1px solid color-mix(in srgb, var(--warn) 30%, var(--border));background:var(--warn-weak);border-radius:10px;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:11px;min-height:68px;padding:12px;display:grid}.version-release-icon{background:color-mix(in srgb, var(--warn) 16%, var(--surface));width:38px;height:38px;color:var(--warn);border-radius:9px;justify-content:center;align-items:center;display:inline-flex}.version-release-copy{grid-template-columns:auto 1fr;align-items:baseline;gap:2px 8px;min-width:0;display:grid}.version-release-copy span,.version-release-copy small{color:var(--ink-3);font-size:11px}.version-release-copy strong{color:var(--ink);letter-spacing:0;font-size:16px}.version-release-copy small{grid-column:1/-1}.version-release-card>a{min-height:40px;color:var(--warn);align-items:center;gap:5px;padding:0 8px;font-size:12px;font-weight:680;text-decoration:none;display:inline-flex}.version-message{border:1px solid var(--border);min-height:44px;color:var(--ink-2);border-radius:9px;align-items:center;gap:9px;padding:9px 10px;font-size:12px;line-height:1.45;display:flex}.version-message svg{flex:none}.version-message span{flex:1;min-width:0}.version-message.warning{border-color:color-mix(in srgb, var(--warn) 30%, var(--border));background:var(--warn-weak);color:var(--warn)}.version-message.neutral{background:var(--surface-2)}.version-message button{color:currentColor;cursor:pointer;background:0 0;border-radius:7px;min-height:32px;padding:0 8px;font-weight:700}.version-message button:hover{background:color-mix(in srgb, currentColor 9%, transparent)}.version-native-action{background:var(--ink);width:100%;min-height:44px;color:var(--surface);cursor:pointer;border-radius:9px;justify-content:center;align-items:center;gap:8px;padding:0 14px;font-size:12px;font-weight:700;transition:filter .18s,opacity .18s;display:inline-flex}.version-native-action.rollback{background:var(--red);color:#fff}.version-native-action:hover:not(:disabled){filter:brightness(.94)}.version-native-action:focus-visible,.version-native-result button:focus-visible{outline:3px solid color-mix(in srgb, var(--accent) 25%, transparent);outline-offset:2px}.version-native-action:disabled,.version-native-result button:disabled{cursor:not-allowed;opacity:.48}.version-native-result{border:1px solid color-mix(in srgb, var(--pos) 30%, var(--border));background:var(--pos-weak);min-height:68px;color:var(--pos);border-radius:10px;grid-template-columns:24px minmax(0,1fr) auto;align-items:center;gap:10px;padding:10px 10px 10px 12px;display:grid}.version-native-result>div{gap:3px;min-width:0;display:grid}.version-native-result strong{color:var(--ink);font-size:12px}.version-native-result span{color:var(--ink-3);font-size:11px;line-height:1.4}.version-native-result button{background:var(--ink);min-width:104px;min-height:44px;color:var(--surface);cursor:pointer;border-radius:8px;justify-content:center;align-items:center;gap:7px;padding:0 12px;font-size:11px;font-weight:700;display:inline-flex}.version-rollback{border-top:1px solid var(--border);margin-top:2px;padding-top:10px}.version-rollback-trigger{background:var(--surface-2);width:100%;min-height:44px;color:var(--ink-2);cursor:pointer;border-radius:9px;justify-content:space-between;align-items:center;padding:0 10px;display:flex}.version-rollback-trigger>span{align-items:center;gap:8px;font-size:13px;font-weight:650;display:inline-flex}.version-rollback-trigger>svg{transition:transform .18s}.version-rollback.open .version-rollback-trigger>svg{transform:rotate(180deg)}.version-rollback-trigger:hover{background:var(--surface-3);color:var(--ink)}.version-rollback-content{gap:10px;padding-top:12px;display:grid}.version-rollback-content>p{color:var(--ink-3);margin:0 2px;font-size:11.5px}.version-list-state{border:1px dashed var(--border-2);min-height:72px;color:var(--ink-3);border-radius:10px;justify-content:center;align-items:center;gap:8px;font-size:12px;display:flex}.version-options{border:0;gap:8px;min-width:0;margin:0;padding:0;display:grid}.version-option{border:1px solid var(--border);background:var(--surface);border-radius:10px;grid-template-columns:minmax(0,1fr) 40px;align-items:center;min-height:54px;padding:0 7px 0 12px;transition:border-color .18s,background .18s;display:grid}.version-option:hover{border-color:var(--border-strong);background:var(--surface-2)}.version-option.selected{border-color:color-mix(in srgb, var(--warn) 48%, var(--border));background:var(--warn-weak)}.version-option label{cursor:pointer;grid-template-columns:18px minmax(0,1fr) auto;align-items:center;gap:10px;min-width:0;min-height:52px;display:grid}.version-option input{width:16px;height:16px;accent-color:var(--warn);margin:0}.version-option strong{color:var(--ink);letter-spacing:0;font-size:14px}.version-option label span{color:var(--ink-3);font-variant-numeric:tabular-nums;font-size:11px}.version-option>a{width:40px;height:40px;color:var(--ink-3);border-radius:8px;justify-content:center;align-items:center;display:inline-flex}.version-option>a:hover{background:var(--surface-3);color:var(--accent)}.version-rollback-warning{color:var(--warn);align-items:flex-start;gap:7px;font-size:11px;line-height:1.5;display:flex}.version-rollback-warning svg{flex:none;margin-top:1px}.version-modal .sr-only{clip:rect(0, 0, 0, 0);border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.version-modal .spin{animation:.8s linear infinite version-spin}@keyframes version-spin{to{transform:rotate(360deg)}}
.api-key-empty-state{background:var(--surface);align-content:start;justify-items:center;gap:46px;min-height:500px;padding:38px 24px 28px;display:grid}.api-key-empty-heading{text-align:center;justify-items:center;display:grid}.api-key-empty-emblem{width:62px;height:58px;color:color-mix(in srgb, var(--accent) 40%, var(--ink-3));background:color-mix(in srgb, var(--accent) 9%, var(--surface));border-radius:8px;place-items:center;margin-bottom:16px;display:grid;position:relative;transform:rotate(-8deg)}.api-key-empty-emblem:after{content:"";z-index:-1;border:1px solid color-mix(in srgb, var(--accent) 12%, var(--border));background:color-mix(in srgb, var(--accent) 12%, var(--surface));border-radius:6px;width:30px;height:36px;position:absolute;bottom:-3px;right:-14px;transform:rotate(22deg)}.api-key-empty-sparkle{color:var(--ink);position:absolute;top:-6px;right:-9px;transform:rotate(8deg)}.api-key-empty-heading h3{color:var(--ink);letter-spacing:0;margin:0;font-size:17px;font-weight:720;line-height:1.4}.api-key-empty-heading p{max-width:520px;color:var(--ink-3);margin:13px 0 20px;font-size:13px;line-height:1.65}.api-key-empty-create{border-radius:6px;min-height:38px;padding:0 16px}.api-key-empty-flow{background:var(--surface-2);grid-template-columns:150px 104px 174px 118px 132px;justify-content:center;align-items:center;width:min(100%,760px);min-height:206px;padding:18px 20px;display:grid}.api-key-flow-node{border:1px solid var(--border-2);text-align:center;background:var(--surface);flex-direction:column;justify-content:center;align-items:center;width:100%;height:168px;display:flex}.api-key-flow-icon{border:1px solid var(--border);width:28px;height:28px;color:var(--ink-2);background:var(--surface-2);border-radius:5px;place-items:center;margin-bottom:8px;display:grid}.api-key-flow-icon.accent{border-color:color-mix(in srgb, var(--accent) 18%, var(--border));color:var(--accent);background:var(--accent-weak)}.api-key-flow-node strong{color:var(--ink);font-size:13px;font-weight:690;line-height:1.4}.api-key-flow-node>span:last-of-type{color:var(--ink-2);margin-top:17px;font-size:12px;line-height:1.45}.api-key-flow-key>span:last-of-type{margin-top:11px}.api-key-flow-key>strong{color:var(--accent)}.api-key-flow-key small{color:var(--pos);align-items:center;gap:4px;margin-top:10px;font-size:11px;font-weight:650;display:inline-flex}.api-key-flow-link{height:42px;color:var(--accent);justify-content:center;align-items:center;display:flex;position:relative}.api-key-flow-link:before{content:"";background:var(--accent);height:1px;position:absolute;top:50%;left:0;right:4px}.api-key-flow-link span,.api-key-flow-branch-label{z-index:1;border:1px solid var(--accent);color:var(--accent);background:var(--surface);white-space:nowrap;border-radius:999px;padding:3px 7px;font-size:11px;line-height:1.35}.api-key-flow-arrow-right{color:var(--accent);background:var(--surface-2);padding-left:2px;position:absolute;top:13px;right:-2px}.api-key-flow-arrow-down{display:none}.api-key-flow-branch{width:100%;height:168px;color:var(--accent);position:relative}.api-key-flow-branch:before{content:"";background:var(--accent);height:1px;position:absolute;top:50%;left:0;right:68px}.api-key-flow-branch:after{content:"";background:var(--accent);width:1px;position:absolute;top:24px;bottom:24px;right:67px}.api-key-flow-branch-label{position:absolute;top:50%;left:0;transform:translateY(-50%)}.api-key-flow-branch-line{background:var(--accent);height:1px;position:absolute;left:50px;right:0}.api-key-flow-branch-line.top{top:24px}.api-key-flow-branch-line.middle{top:calc(50% - .5px)}.api-key-flow-branch-line.bottom{bottom:24px}.api-key-flow-branch-line svg{background:var(--surface-2);padding-left:2px;position:absolute;top:-7px;right:-3px}.api-key-flow-branch-down{display:none}.api-key-flow-models{grid-template-rows:repeat(3,1fr);gap:12px;height:168px;display:grid}.api-key-flow-model{border:1px solid var(--border-2);min-width:0;color:var(--ink-2);background:var(--surface);align-items:center;gap:9px;padding:0 12px;display:flex}.api-key-flow-model>span{border:1px solid var(--border);width:26px;height:26px;color:var(--ink-2);background:var(--surface-2);border-radius:4px;flex:0 0 26px;place-items:center;display:grid}.api-key-flow-model strong{min-width:0;color:var(--ink);font-size:12px;font-weight:650;line-height:1.3}@media (max-width:760px){.api-key-empty-state{gap:34px;min-height:0;padding:30px 8px 12px}.api-key-empty-flow{grid-template-rows:auto 64px auto 82px auto;grid-template-columns:minmax(0,320px);width:100%;min-height:0;padding:20px 14px}.api-key-flow-node{height:132px}.api-key-flow-link{width:100%;height:64px}.api-key-flow-link:before{width:1px;height:auto;inset:0 auto 4px 50%}.api-key-flow-arrow-right{display:none}.api-key-flow-arrow-down{background:var(--surface-2);padding-top:2px;display:block;position:absolute;bottom:-2px;left:calc(50% - 8px)}.api-key-flow-branch{width:100%;height:82px}.api-key-flow-branch:before{width:1px;height:auto;inset:0 auto 42px 50%}.api-key-flow-branch:after{width:auto;height:1px;inset:40px 16.67% auto}.api-key-flow-branch-label{top:19px;left:50%;transform:translate(-50%,-50%)}.api-key-flow-branch-line{display:none}.api-key-flow-branch-down{color:var(--accent);background:var(--surface-2);padding-top:2px;display:block;position:absolute;top:36px}.api-key-flow-branch-down.left{left:calc(16.67% - 7px)}.api-key-flow-branch-down.center{left:calc(50% - 7px)}.api-key-flow-branch-down.right{left:calc(83.33% - 7px)}.api-key-flow-models{grid-template-rows:56px;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;width:100%;height:auto}.api-key-flow-model{justify-content:center;gap:5px;padding:0 7px}.api-key-flow-model>span{flex-basis:22px;width:22px;height:22px}.api-key-flow-model strong{font-size:11px}}
.model-governance-empty-state{background:var(--surface);align-content:start;justify-items:center;gap:46px;min-height:500px;padding:42px 24px 30px;display:grid}.model-governance-empty-heading{text-align:center;justify-items:center;display:grid}.model-governance-empty-emblem{border:1px solid color-mix(in srgb, var(--accent) 14%, var(--border));width:62px;height:62px;color:var(--accent);background:color-mix(in srgb, var(--accent) 8%, var(--surface));box-shadow:0 10px 28px color-mix(in srgb, var(--accent) 10%, transparent);border-radius:18px;place-items:center;margin-bottom:16px;display:grid;position:relative}.model-governance-empty-emblem:after{content:"";border:4px solid var(--surface);background:var(--accent);border-radius:50%;width:21px;height:21px;position:absolute;bottom:-7px;right:-7px}.model-governance-empty-emblem.models:after{background:color-mix(in srgb, var(--accent) 72%, #6d28d9)}.model-governance-empty-emblem.routes:after{background:color-mix(in srgb, var(--accent) 65%, #0891b2)}.model-governance-empty-heading h3{color:var(--ink);margin:0;font-size:18px;font-weight:740;line-height:1.4}.model-governance-empty-heading p{max-width:620px;color:var(--ink-3);margin:12px 0 20px;font-size:13px;line-height:1.7}.model-governance-empty-action{border-radius:7px;min-height:38px;padding:0 16px}.model-governance-empty-state .model-governance-flow{border-color:var(--border-2);background:var(--surface);width:min(100%,1100px);min-height:88px;box-shadow:0 12px 34px #0f172a0d}.model-governance-empty-state .model-governance-flow-step{gap:12px;min-height:86px;padding:16px 20px}.model-governance-empty-state .model-governance-flow-step>span{width:30px;height:30px;color:var(--accent);background:var(--accent-weak);font-size:12px}.model-governance-empty-state .model-governance-flow-step strong{color:var(--ink);font-size:13px;font-weight:720}.model-governance-empty-state .model-governance-flow-step small{color:var(--ink-3);font-size:11px;line-height:1.5}.model-governance-empty-state .model-governance-flow-step.is-current{background:color-mix(in srgb, var(--accent) 5%, var(--surface))}.model-governance-empty-state .model-governance-flow-step.is-current>span{color:#fff;background:var(--accent);box-shadow:0 0 0 5px color-mix(in srgb, var(--accent) 10%, transparent)}.model-governance-empty-state .model-governance-flow-step.is-upcoming>span{color:var(--accent);background:var(--accent-weak)}.model-governance-empty-state .model-governance-flow-step>svg{color:var(--border-strong)}@media (max-width:720px){.model-governance-empty-state{gap:32px;min-height:0;padding:30px 16px 20px}.model-governance-empty-state .model-governance-flow-step{min-height:98px;padding:16px 18px}}
