:root{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Microsoft YaHei,sans-serif;color:#27272d;background:#fafafa;font-size:16px;font-synthesis:none;--bg: #fafafa;--panel: #fff;--soft: #f5f5f7;--ink: #27272d;--muted: #8b8b96;--line: #e9e9ed;--accent: #7861d9;--accent-soft: #f0ecfb;--shadow: 0 12px 45px #27272d15;line-height:1.6}:root[data-theme=dark]{color-scheme:dark;--bg: #111115;--panel: #19191f;--soft: #202027;--ink: #e9e8ee;--muted: #92919c;--line: #303039;--accent: #a28be9;--accent-soft: #2d2542;--shadow: 0 12px 45px #0004;color:var(--ink);background:var(--bg)}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer;border:1px solid var(--line);border-radius:8px;background:var(--panel);color:var(--ink);min-height:36px;padding:7px 13px;display:inline-flex;align-items:center;justify-content:center;gap:7px;font-size:14px;font-weight:500;transition:background .15s,border-color .15s}button:hover:not(:disabled){background:var(--soft);border-color:#d7d3e5}button:active:not(:disabled){transform:translateY(1px)}button:disabled{opacity:.45;cursor:not-allowed}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,[tabindex]:focus-visible{outline:2px solid var(--accent);outline-offset:3px}input,textarea,select{border:1px solid var(--line);background:var(--panel);color:var(--ink);border-radius:8px;padding:10px 12px;min-height:42px;width:100%;font-size:15px;outline:none}input:focus,textarea:focus,select:focus{border-color:var(--accent)}textarea{resize:vertical;line-height:1.8}input::placeholder,textarea::placeholder{color:#aaa8b2}select{cursor:pointer;padding-right:26px}label{display:flex;flex-direction:column;gap:7px;font-size:14px;font-weight:500}input[type=checkbox]{width:16px;min-height:16px;height:16px;accent-color:var(--accent)}h1,h2,h3,p{margin:0}h1{font-size:28px;letter-spacing:-1px;line-height:1.4;font-weight:650}h2{font-size:19px;font-weight:600;letter-spacing:-.3px}h3{font-size:16px;font-weight:600}.muted{color:var(--muted)}.small{font-size:13px}.mono{font-family:ui-monospace,Consolas,monospace}.prewrap{white-space:pre-wrap;overflow-wrap:anywhere}.wide{width:100%}.primary{background:var(--accent);border-color:var(--accent);color:#fff}.primary:hover:not(:disabled){background:#6d55cb;border-color:#6d55cb}.icon{width:32px;height:32px;min-height:32px;padding:0;background:transparent;border-color:transparent;flex-shrink:0;color:var(--muted)}.icon:hover:not(:disabled){color:var(--ink)}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.boot{display:grid;place-content:center;min-height:100vh}.app-shell{display:flex;min-height:100vh;background:var(--bg)}.sidebar{width:230px;position:fixed;left:0;top:0;height:100vh;height:100dvh;border-right:1px solid var(--line);background:var(--panel);z-index:20;display:flex;flex-direction:column;padding:24px 14px 0;overflow:hidden}.sidebar-heading{flex-shrink:0;min-width:0}.sidebar-navigation{flex:1 1 auto;min-height:0;min-width:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-width:none;scroll-padding-block:4px;padding-bottom:8px}.sidebar-navigation::-webkit-scrollbar{display:none}.brand{display:flex;align-items:center;gap:10px;padding:0 10px 14px;font-size:21px;font-weight:700;letter-spacing:-.7px}.brand>span{min-width:0;overflow-wrap:anywhere;line-height:1.3}.brand-mark{display:block;flex-shrink:0;width:31px;height:31px;object-fit:contain}.nav-label{padding:0 13px;margin:6px 0 10px;color:var(--muted);font-size:12px;letter-spacing:1px;font-weight:500}.nav-label.second{margin-top:25px}.nav-item{display:flex;justify-content:flex-start;width:100%;height:43px;gap:11px;padding:0 13px;border:0;margin:3px 0;color:#787783;background:transparent;font-size:14px}.nav-item svg{stroke-width:1.6}.nav-item.selected{color:var(--accent);background:var(--accent-soft);font-weight:600}.nav-item small{font-size:12px;font-weight:600;border:1px solid #b6a5e3;padding:0 4px;border-radius:3px;margin-left:auto;line-height:14px}.side-bottom{flex-shrink:0;min-width:0;padding-top:12px;padding-bottom:env(safe-area-inset-bottom);border-top:1px solid var(--line)}.sidebar-funds{display:grid;gap:8px;padding:10px 12px;border:1px solid color-mix(in srgb,var(--accent) 16%,var(--line));border-radius:12px;background:var(--accent-soft)}.sidebar-funds-balance{display:flex;flex-direction:column;min-width:0;gap:2px}.sidebar-funds-balance>span{font-size:12px;color:var(--ink);line-height:1.4}.sidebar-funds-balance>strong{color:var(--accent);font-size:22px;font-weight:600;font-variant-numeric:tabular-nums;line-height:1.3;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sidebar-funds-balance>.sidebar-funds-guest{font-size:14px}.sidebar-recharge{min-height:44px;padding:8px 10px;white-space:nowrap}:root[data-theme=dark] .sidebar-recharge{color:var(--panel)}:root[data-theme=dark] .sidebar-recharge:hover:not(:disabled){color:#fff}.profile{width:100%;margin:8px 0 0;border:0;border-top:1px solid var(--line);border-radius:0;min-height:64px;justify-content:flex-start;padding:10px 4px;gap:9px;background:transparent}.avatar{height:30px;width:30px;border-radius:50%;display:grid;place-content:center;background:var(--accent-soft);color:var(--accent);font-size:14px;flex-shrink:0}.profile-text{display:flex;flex-direction:column;min-width:0;text-align:left;gap:3px;flex:1}.profile-text strong{font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:500}.profile-text small{font-size:12px;color:var(--muted);font-variant-numeric:tabular-nums}.main-shell{margin-left:216px;width:calc(100% - 216px);min-width:0}.topbar{height:64px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line);padding:0 32px;background:var(--panel)}.breadcrumb{display:flex;align-items:center;gap:14px;font-size:13px;color:var(--muted)}.breadcrumb strong{font-weight:500;color:var(--ink)}.slash{color:#cfccd5}.top-actions{display:flex;align-items:center;gap:14px}.language{font-size:12px;color:var(--muted)}.support{font-size:12px;border-color:var(--line);padding:5px 10px;min-height:30px}.notice-button{position:relative}.notice-button .notice-count{position:absolute;right:-5px;top:-3px;min-width:18px;height:18px;padding:0 4px;display:grid;place-items:center;color:#fff;font-size:12px;font-weight:600;line-height:1;font-variant-numeric:tabular-nums;border:2px solid var(--surface);pointer-events:none;background:var(--accent);border-radius:999px}.mobile-menu{display:none}.page{min-height:calc(100vh - 64px)}footer{font-size:12px;color:var(--muted);padding:22px 0 16px;margin-top:40px;border-top:1px solid var(--line)}footer>span{margin-left:6px;font-weight:400}.footer-right{float:right}.agent-layout{display:grid;grid-template-columns:220px minmax(0,1fr);min-height:calc(100vh - 64px)}.conversation-sidebar{border-right:1px solid var(--line);padding:23px 17px;display:flex;flex-direction:column;background:var(--panel)}.conversation-title{display:flex;justify-content:space-between;align-items:center;font-size:14px;margin-bottom:14px}.conversation-title strong{font-weight:600}.new-conversation{min-height:37px;background:var(--soft);font-size:13px;justify-content:flex-start;gap:9px;width:100%;margin-bottom:26px}.conversation-sidebar .nav-label{padding:0;margin-bottom:15px;font-size:12px}.conversation-empty{font-size:12px;color:var(--muted);padding:20px 0;line-height:2}.conversation-empty svg{display:block;color:#c8c4d2;margin-bottom:15px;stroke-width:1.2}.conversation-empty strong{font-weight:500;color:#898592}.conversation-empty p{margin-top:5px;font-size:12px}.conversation-bottom{margin-top:auto;padding:35px 0 10px;font-size:12px;color:var(--muted);line-height:2}.conversation-bottom svg{display:block;margin-bottom:10px;color:var(--accent)}.conversation-bottom strong{font-size:12px;font-weight:500;color:#8d829f}.conversation-bottom p{margin-top:4px}.conversation-list{display:flex;flex-direction:column;gap:4px}.conversation-item{display:flex;align-items:center;border-radius:6px}.conversation-item.selected{background:var(--accent-soft)}.conversation-item>button:first-child{background:transparent;border:0;justify-content:flex-start;min-width:0;padding:8px;font-size:12px;flex:1}.conversation-item span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.delete-conversation{border:0;background:transparent;opacity:0;padding:6px;min-height:28px;color:var(--muted)}.conversation-item:hover .delete-conversation{opacity:1}.agent-main{padding:70px 6% 0;position:relative;display:flex;flex-direction:column;min-width:0}.agent-welcome{text-align:center;margin:23px 0 31px}.agent-eyebrow{font-size:12px;letter-spacing:2px;color:#a19aaa;display:flex;align-items:center;justify-content:center;gap:8px}.agent-eyebrow span{width:4px;height:4px;background:#a89bbf;border-radius:50%}.agent-welcome h1{font-size:33px;font-weight:600;letter-spacing:-1.4px;margin:16px 0 12px}.agent-welcome p{color:var(--muted);font-size:13px}.agent-composer-wrap{max-width:730px;margin:0 auto;width:100%}.agent-composer{border:1px solid #e0dce9;border-radius:16px;background:var(--panel);box-shadow:0 3px 15px #45306904;overflow:hidden}.composer-caption{display:flex;justify-content:space-between;font-size:12px;color:#a296b4;padding:17px 20px 0}.composer-caption>span:first-child{display:flex;gap:7px;align-items:center}.composer-caption>span:last-child{font-size:12px;color:#a39bac}.agent-composer textarea{resize:none;border:0;border-radius:0;font-size:13px;line-height:2;min-height:106px;padding:17px 20px 6px;background:transparent}.agent-composer textarea:focus{outline:none}.composer-actions{display:flex;align-items:center;gap:8px;padding:7px 14px 12px}.composer-actions select{min-height:29px;max-width:220px;width:auto;font-size:12px;border:0;background:var(--soft);padding:4px 24px 4px 10px}.send-button{margin-left:auto;width:30px;height:30px;min-height:30px;padding:0;background:var(--accent);border-color:var(--accent);color:#fff;border-radius:9px}.agent-pricing{font-size:12px;color:var(--muted);text-align:center;margin:10px 0 19px}.context-pricing-toggle{cursor:pointer}.catalog-price-rule summary{font-weight:600}.catalog-price-rule pre{white-space:pre-wrap;overflow-wrap:anywhere;max-height:220px;overflow:auto}.catalog-price-rule-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-top:12px}.context-pricing-toggle:focus-visible{outline:2px solid var(--accent, #6d5ce7);outline-offset:2px}@media(max-width:768px),(pointer:coarse){.context-pricing-toggle{min-height:44px;line-height:44px}}.agent-pricing span{color:#aaa3b0;margin-left:6px}.quick-prompts{display:flex;justify-content:center;gap:8px;flex-wrap:wrap}.quick-prompts button{font-size:12px;min-height:28px;padding:5px 10px;color:#8a8198;border-color:var(--line);background:var(--panel)}.quick-prompts button span{font-size:15px;color:#b4a7c9}.agent-main>footer{margin-top:auto;padding-top:20px}.agent-layout.collapsed{grid-template-columns:1fr}.agent-layout.collapsed .conversation-sidebar{display:none}.show-conversations{position:absolute;top:15px;left:20px;font-size:12px}.messages{max-width:780px;width:100%;margin:0 auto;flex:1;padding-bottom:22px}.chat-title{display:flex;justify-content:space-between;align-items:center;font-size:14px;border-bottom:1px solid var(--line);padding-bottom:16px;margin-bottom:28px}.chat-title button{font-size:12px}.message{display:flex;gap:15px;margin:0 0 28px}.message-avatar{width:29px;height:29px;flex-shrink:0;display:grid;place-content:center;border-radius:9px;background:var(--accent-soft);color:var(--accent);font-size:13px}.message.user .message-avatar{background:var(--soft);color:var(--muted)}.message-content{min-width:0;flex:1;font-size:15px;line-height:1.9}.message-author{color:var(--muted);font-size:12px;margin-bottom:5px}.copy-answer{font-size:12px;padding:3px 8px;min-height:26px;margin-top:10px}.agent-composer-wrap.has-messages{position:sticky;bottom:0;padding:15px 0;background:var(--bg);z-index:3}.has-messages .quick-prompts{display:none}.has-messages .agent-pricing{margin-bottom:0}.studio-layout{padding:35px 32px 0;display:grid;grid-template-columns:minmax(360px,540px) minmax(300px,1fr);gap:24px;align-items:start}.studio-form{min-width:0;padding:24px;max-width:none;border:1px solid var(--line);border-radius:12px;background:var(--panel)}.studio-form .eyebrow,.studio-form .step-label>span{color:var(--accent)}.studio-form .upload-zone,.studio-form .prompt-field{background:var(--bg)}.section-intro{margin-bottom:27px}.eyebrow{font-size:12px;color:#a093b1;letter-spacing:2px;font-weight:500}.section-intro h1{font-size:27px;letter-spacing:-1px;margin:8px 0}.section-intro p{color:var(--muted);font-size:12px}.step-label{font-size:14px;font-weight:600;display:flex;align-items:center;gap:9px;margin:23px 0 12px}.step-label>span{font-size:12px;color:#b2a7c1;font-weight:500}.step-label small{margin-left:auto;font-size:12px;color:var(--muted);font-weight:400}.upload-zone{padding:22px 12px 15px;border:1px dashed #d8d3e1;border-radius:10px;text-align:center;background:var(--panel)}.upload-art{position:relative;display:inline-flex;align-items:center;justify-content:center;width:44px;height:41px;margin-bottom:9px;color:#b0a3be}.upload-art>span{position:absolute;background:var(--panel);right:1px;bottom:2px;border:1px solid #d6cde1;border-radius:50%;width:15px;height:15px;line-height:12px;font-size:14px}.upload-zone>strong{display:block;font-size:13px;font-weight:500;color:#6d6577}.upload-zone p{color:#a49caa;font-size:12px;margin-top:4px}.upload-zone>small{display:block;color:#aaa2b1;font-size:12px;margin:5px 0 14px}.upload-actions{display:flex;justify-content:center;gap:8px}.upload-actions button{font-size:12px;min-height:29px;padding:4px 10px}.reference-strip{display:flex;gap:8px;flex-wrap:wrap;padding:0 3px 12px}.reference-thumb{position:relative;width:70px;height:70px}.reference-preview{display:block;position:relative;width:100%;height:100%;min-height:0;padding:0;border:0;border-radius:7px;overflow:hidden;background:transparent;cursor:zoom-in}.reference-thumb img{width:100%;height:100%;object-fit:cover;border-radius:7px}.reference-preview>.reference-token{position:absolute;bottom:0;left:0;right:0;background:#0008;color:#fff;font-size:12px;border-radius:0 0 7px 7px}.remove-ref{position:absolute;right:-5px;top:-5px;min-height:18px;height:18px;width:18px;padding:0;border-radius:50%;background:var(--panel)}.form-disclaimer{color:#b2a8b8;font-size:12px;margin:-3px 0 10px}.prompt-field{position:relative;border:1px solid var(--line);border-radius:10px;background:var(--panel)}.prompt-field>.icon{position:absolute;right:5px;top:5px}.prompt-field textarea{min-height:155px;border:0;border-radius:10px;resize:vertical;padding:15px 30px 8px 15px;font-size:13px;background:transparent}.prompt-field textarea:focus{outline:none}.textarea-meta{display:flex;justify-content:space-between;padding:0 12px 12px;color:#b2a9bb;font-size:12px}.model-detail{display:flex;justify-content:space-between;gap:12px;font-size:12px;color:var(--muted);margin:9px 0 19px}.model-detail>span:first-child{display:flex;align-items:center;gap:5px}.dot{width:5px;height:5px;background:#b7b1c0;border-radius:50%;display:inline-block}.dot.online{background:#65a78b}.form-columns{display:flex;gap:12px}.form-columns>label{flex:1;min-width:0}.form-columns label{font-size:12px;color:var(--muted)}.form-columns select{margin-top:2px;font-size:13px}.generate-button{width:100%;height:43px;font-size:13px;margin-top:24px}.billing-note{font-size:12px;line-height:1.9;color:#a49aac;text-align:center;margin:10px 3px 0}.creation-history{border:1px solid var(--line);border-radius:12px;min-height:calc(100vh - 145px);background:var(--panel);padding:19px 20px;display:flex;flex-direction:column}.history-header{display:flex;align-items:center;justify-content:space-between}.history-header h2{font-size:15px}.history-header h2 small{font-size:12px;font-weight:400;color:var(--muted);margin-left:4px}.tab-row{display:flex;align-items:center;gap:3px;flex-wrap:wrap}.tab-row button{border:0;border-radius:6px;min-height:28px;font-size:12px;color:var(--muted);padding:4px 12px;background:transparent}.tab-row button.active{background:var(--soft);color:var(--ink)}.creation-history>.tab-row{margin:13px 0 20px}.empty{padding:65px 20px;text-align:center;color:var(--muted);min-height:230px;display:flex;flex-direction:column;align-items:center;justify-content:center}.empty-symbol{font-size:44px;line-height:1.5;color:#d2cadf;font-weight:400;margin-bottom:14px}.empty h3{font-size:14px;color:#8b8297;font-weight:500}.empty p{font-size:12px;line-height:1.9;margin-top:9px}.creation-history>.empty{flex:1;min-height:380px}.pagination{display:flex;align-items:center;justify-content:flex-end;gap:10px;font-size:12px;color:var(--muted);margin-top:auto;padding-top:18px}.pagination button{font-size:12px;padding:3px 8px;min-height:26px}.pagination>span:first-child{margin-right:auto}.history-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:15px}.job-card{border:1px solid var(--line);border-radius:10px;padding:13px;background:var(--panel);min-width:0;align-self:start}.job-card-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.job-card-head>small{font-size:12px;color:var(--muted)}.status{border-radius:5px;padding:3px 7px;font-size:12px;background:var(--soft);color:var(--muted);white-space:nowrap}.status-succeeded{background:#eaf4ed;color:#548466}.status-queued,.status-running,.status-submitting{background:var(--accent-soft);color:var(--accent)}.status-review{background:#fff2db;color:#9e7a31}.status-failed{background:#faeaea;color:#a96767}.result-media{position:relative;margin-bottom:12px;border-radius:6px;overflow:hidden;background:var(--soft)}.result-media img,.result-media video{display:block;width:100%;max-height:360px;object-fit:contain}.media-download{position:absolute;right:8px;bottom:8px;width:29px;height:29px;background:#fff;color:#333;border-radius:7px;display:grid;place-content:center;box-shadow:0 2px 10px #0002}.job-prompt{font-size:13px;line-height:1.8;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.job-meta{display:flex;justify-content:space-between;gap:5px;color:var(--muted);font-size:12px;padding:10px 0}.job-card-foot{display:flex;align-items:center;justify-content:space-between;border-top:1px solid var(--line);padding-top:8px;gap:5px}.job-card-foot>small{font-size:12px;color:var(--muted)}.job-card-foot>div{display:flex;align-items:center;gap:3px}.job-card-foot button{min-height:25px;font-size:12px;padding:3px 6px}.job-card-foot button.icon{width:24px;height:24px}.job-error{font-size:12px;line-height:1.8;color:#b97676;margin-bottom:10px}.result-text{font-size:13px;max-height:300px;overflow:auto;background:var(--soft);padding:14px;border-radius:6px;margin-bottom:10px}.generating{height:160px;display:flex;flex-direction:column;justify-content:center;align-items:center;background:var(--soft);border-radius:8px;margin-bottom:12px;color:var(--muted);font-size:12px}.generating p{margin:16px 10px 4px}.generating small{font-size:12px}.studio-layout>footer{grid-column:1/-1;margin-top:0}.spinner{display:inline-block;width:18px;height:18px;border:1.5px solid #d9cfee;border-top-color:var(--accent);border-radius:50%;animation:spin 1s linear infinite;vertical-align:middle}.small-spinner{width:12px;height:12px;margin-right:6px}.page-error-fallback{width:min(560px,calc(100% - 32px));margin:32px auto;padding:24px;border:1px solid var(--line);border-radius:12px;background:var(--panel);color:var(--ink)}.page-error-fallback h2{font-size:18px}.page-error-fallback p{margin:12px 0 20px;color:var(--muted);line-height:1.7}.page-error-fallback button{min-height:44px}.error-box,.warning-box,.success-box{font-size:13px;padding:13px 15px;border:1px solid #e8caca;border-radius:8px;color:#a66060;background:#fff7f7;margin:12px 0;line-height:1.8;overflow-wrap:anywhere}.error-box button{margin-left:12px;font-size:12px;min-height:25px}.warning-box{background:#fffaf0;color:#947943;border-color:#eee0c2}.success-box{background:#f3faf4;color:#5e8b68;border-color:#d4e9d8}.modal-backdrop{position:fixed;inset:0;background:#211d2b55;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);z-index:100;display:flex;justify-content:center;align-items:center;padding:24px}.modal{position:relative;background:var(--panel);border:1px solid var(--line);border-radius:16px;padding:35px;max-width:470px;width:100%;max-height:90vh;overflow:auto;box-shadow:var(--shadow)}.modal .close{position:absolute;right:12px;top:12px}.modal>h2{margin:6px 0 12px;font-size:23px}.modal>p{font-size:14px;color:var(--muted);line-height:2;margin-bottom:21px}.modal form{display:flex;flex-direction:column;gap:17px}.modal form>.primary{margin-top:6px;min-height:42px}.auth-modal{text-align:center;padding:40px}.auth-modal .brand-mark{margin:0 auto 22px;width:39px;height:39px;font-size:30px}.auth-modal h2{font-size:24px}.auth-recovery{margin-top:24px;text-align:left}.auth-recovery p+p{margin-top:12px}.auth-recovery button{margin-top:24px}.config-dialog.user-action-dialog:not([data-fullscreen=true]){width:min(560px,calc(100vw - 32px));height:fit-content;max-height:calc(100dvh - 32px)}.user-action-form{display:grid;gap:18px}.user-defaults-dialog .switch-label{min-height:44px;margin:0;font-size:14px}.registration-access-button{white-space:nowrap}.admin-section-head>.user-management-actions{display:contents}.registration-access-error{order:1;flex-basis:100%;width:100%;min-width:0}.registration-access-error .error-box{margin:0}.auth-modal form{text-align:left;margin-top:28px}.auth-links{display:flex;justify-content:space-between;margin-top:16px}.auth-links button{font-size:12px;border:0;background:transparent;padding:0;color:var(--muted)}.local-link{background:var(--accent-soft);padding:10px;border-radius:6px;color:var(--accent);font-size:13px;display:flex;align-items:center;justify-content:space-between}.large-modal{max-width:850px}.expanded-prompt{min-height:300px;margin:12px 0 20px}.toast{position:fixed;bottom:30px;left:50%;transform:translate(-50%);padding:12px 20px;max-width:90vw;background:#302b3e;color:#fff;box-shadow:var(--shadow);border-radius:10px;font-size:14px;z-index:200}.workspace-page,.admin-page{padding:38px 38px 0;max-width:1600px;margin:0 auto}.page-title{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:31px}.page-title h1{margin:8px 0;font-size:28px}.page-title p{font-size:13px;color:var(--muted)}.page-title>button{font-size:13px}.toolbar{display:flex;align-items:center;justify-content:space-between;margin:10px 0 24px;gap:15px}.toolbar>.muted{font-size:12px}.search-input{display:flex;flex-direction:row;align-items:center;border:1px solid var(--line);padding:0 10px;border-radius:7px;color:var(--muted);background:var(--panel)}.search-input input{border:0;min-height:34px;font-size:12px;padding:5px;width:170px;background:transparent}.asset-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:20px;margin-top:20px}.asset-page-controls{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;margin-top:24px;padding-top:16px;border-top:1px solid var(--line);font-size:13px}.asset-page-controls .asset-page-summary,.asset-page-controls .asset-page-buttons{display:flex;flex-wrap:wrap;align-items:center;gap:12px}.asset-page-controls .select-trigger{width:132px}.asset-page-controls button{min-height:44px}.asset-card{border:1px solid var(--line);border-radius:10px;overflow:hidden;background:var(--panel)}.asset-preview{position:relative;aspect-ratio:4/3;background:var(--soft);display:flex;align-items:center;justify-content:center}.asset-preview img,.asset-preview video{width:100%;height:100%;object-fit:contain}.asset-preview audio{width:95%}.favorite{position:absolute;right:9px;top:9px;background:var(--panel);box-shadow:0 2px 8px #0001}.is-favorite{color:#b29250}.asset-info{padding:14px}.asset-info>strong{display:block;font-size:13px;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.asset-info>small{font-size:12px;color:var(--muted);display:block;margin:5px 0}.asset-info>div{display:flex;align-items:center}.asset-info .asset-kind{margin-right:auto;color:var(--muted);font-size:12px}.asset-choice{display:block;padding:0;border-radius:8px;overflow:hidden;text-align:left}.asset-choice img{height:150px;width:100%;object-fit:cover}.asset-choice>span:not(.media-frame){display:block;font-size:12px;padding:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.task-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(270px,1fr));gap:20px}.login-required{text-align:center;padding:70px 20px}.login-required .empty{padding-bottom:20px}.account-grid{display:grid;grid-template-columns:1fr 1.2fr;gap:25px}.balance-panel,.redeem-panel{border:1px solid var(--line);border-radius:12px;padding:28px;background:var(--panel)}.balance-panel>svg{color:var(--accent);margin-bottom:14px}.balance-panel>p{font-size:13px;color:var(--muted)}.balance-panel>strong{font-size:35px;font-weight:500;letter-spacing:-1px;display:block;margin:5px 0 20px;font-variant-numeric:tabular-nums}.balance-details{display:flex;justify-content:space-between;font-size:12px;padding:15px 0;border-top:1px solid var(--line)}.balance-details b{font-weight:500;display:block;font-size:17px;margin-top:4px}.balance-panel>small,.redeem-panel>small{font-size:12px;color:var(--muted);display:block;margin-top:12px}.redeem-panel>p{font-size:13px;color:var(--muted);margin:10px 0 25px}.redeem-panel form{display:flex;gap:10px}.redeem-panel input{font-family:monospace;font-size:12px}.redeem-panel .primary{white-space:nowrap}.recharge-link{display:flex;align-items:center;justify-content:center;gap:8px;min-height:44px;margin-top:16px;padding:10px 16px;border:1px solid color-mix(in srgb,var(--accent) 16%,transparent);border-radius:8px;background:var(--accent-soft);color:var(--accent);font-size:14px;font-weight:600}.recharge-link:hover{border-color:var(--accent)}.section-heading{margin:35px 0 20px}.table-scroll{width:100%;overflow:auto;border:1px solid var(--line);border-radius:10px;background:var(--panel)}table{width:100%;border-collapse:collapse;font-size:13px;text-align:left;white-space:nowrap}th{font-weight:500;font-size:12px;color:var(--muted);background:var(--soft);padding:13px 17px}td{padding:15px 17px;border-top:1px solid var(--line);font-variant-numeric:tabular-nums}td button{font-size:12px;min-height:28px;padding:4px 8px}td pre{max-width:350px;max-height:280px;overflow:auto;font-size:12px}.positive{color:#548466}.table-actions{display:flex;gap:8px;align-items:center}.danger{color:#ae6767}.template-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(245px,1fr));gap:22px;margin-top:26px}.template-card{border:1px solid var(--line);border-radius:12px;overflow:hidden;background:var(--panel)}.template-art{height:180px;display:flex;align-items:center;justify-content:center;position:relative;color:#8f8299}.template-art>span{position:absolute;bottom:17px;left:20px;letter-spacing:2px;font-size:12px;color:#a196aa}.template-body{padding:20px}.template-body>small{color:var(--accent);font-size:12px}.template-body h2{font-size:18px;margin:8px 0}.template-body p{font-size:12px;line-height:1.9;color:var(--muted);height:57px;overflow:hidden}.template-body>button{width:100%;justify-content:space-between;margin-top:20px;font-size:12px}.admin-badge{font-size:12px;color:var(--accent);display:flex;align-items:center;gap:7px;background:var(--accent-soft);border-radius:6px;padding:7px 11px}.admin-tabs{display:flex;gap:6px;flex-wrap:wrap;border-bottom:1px solid var(--line);padding-bottom:17px}.admin-tabs button{font-size:12px;border:0;background:transparent;color:var(--muted)}.admin-tabs button.active{background:var(--accent-soft);color:var(--accent)}.admin-section-head{display:flex;gap:12px;justify-content:space-between;align-items:center;margin:27px 0 20px;flex-wrap:wrap}.admin-list-filters{display:flex;flex-wrap:wrap;align-items:end;gap:14px;padding:18px;margin-bottom:20px;background:var(--panel);border:1px solid var(--line);border-radius:12px}.admin-list-filters[hidden]{display:none}.admin-search-toggle[aria-expanded=true]{color:var(--accent);border-color:var(--accent);background:var(--accent-soft)}.admin-list-filters label{display:grid;gap:7px;margin:0;min-width:160px;flex:1}.admin-list-filters label:first-child{min-width:240px;flex:1.5}.admin-list-filters input{width:100%}.admin-list-filters>small{flex-basis:100%}.admin-row-number{color:var(--muted);font-variant-numeric:tabular-nums}.admin-list-date{white-space:nowrap;font-variant-numeric:tabular-nums}.admin-task-table{min-width:1250px}.admin-task-table td{vertical-align:top;padding-top:18px;padding-bottom:18px}.admin-task-table td:nth-child(2){min-width:170px}.admin-task-table td:nth-child(3){min-width:190px;max-width:240px}.admin-task-table td:nth-child(3) small{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.admin-task-prompt{display:block;max-width:230px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.admin-task-time{white-space:nowrap;font-variant-numeric:tabular-nums}.admin-task-time svg{margin-right:5px;vertical-align:-2px;color:var(--accent)}.admin-task-submitted{width:135px;font-variant-numeric:tabular-nums}.admin-task-text{white-space:pre-wrap}.status-awaiting_payment{color:#b45f0b;background:#fff3dc}@media(max-width:600px){.admin-list-filters label,.admin-list-filters label:first-child{min-width:100%}.admin-list-filters .table-actions{width:100%}}.admin-section-head h2{font-size:17px;margin-right:auto}.admin-section-head button{font-size:12px}.stats-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.stat{border:1px solid var(--line);border-radius:10px;padding:24px;background:var(--panel)}.stat>span{color:var(--muted);font-size:13px}.stat>strong{display:block;font-size:29px;letter-spacing:-.8px;font-weight:500;margin-top:10px;font-variant-numeric:tabular-nums}.model-edit-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin-top:22px}.model-editor{padding:24px;border:1px solid var(--line);background:var(--panel);border-radius:10px;display:flex;flex-direction:column;gap:17px}.editor-title{display:flex;align-items:center;justify-content:space-between;font-size:15px}.switch-label{display:flex;flex-direction:row;align-items:center;font-size:12px;gap:6px;font-weight:400}.model-editor>label{font-size:13px}.model-editor .primary{align-self:flex-start}.model-editor p{line-height:1.9}.cards-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:20px}.cards-toolbar h3{font-size:16px;margin-bottom:8px}.cards-filters,.cards-result-actions{display:flex;flex-wrap:wrap;gap:8px;margin:18px 0}.cards-filters button{font-size:13px}.cards-filters button[aria-pressed=true]{color:var(--accent);background:var(--accent-soft);border-color:var(--accent)}.cards-filters span{margin-left:6px;font-variant-numeric:tabular-nums}.card-state-unused{background:var(--accent-soft);color:var(--accent)}.card-state-redeemed{background:#edf8ee;color:#43784e}.card-state-disabled,.card-state-expired{background:var(--bg);color:var(--muted)}.card-modal{margin:auto;max-width:720px;width:calc(100% - 32px);color:var(--ink)}.card-modal button,.card-modal form>.primary{min-height:44px}.card-modal .close{min-width:44px;min-height:44px}.card-modal::backdrop{background:#211d2b55;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.cards-issue-summary{padding:14px;background:var(--accent-soft);border-radius:8px;font-size:14px;line-height:1.8}.cards-code-list{list-style:none;padding:0;max-height:42vh;overflow-y:auto;border:1px solid var(--line);border-radius:8px}.cards-code-list li{display:grid;grid-template-columns:24px minmax(0,1fr) auto;align-items:center;gap:8px;padding:12px;font-size:13px;border-bottom:1px solid var(--line)}.cards-code-list li:last-child{border-bottom:0}.cards-code-list code{overflow-wrap:anywhere;-webkit-user-select:all;user-select:all;font-size:14px}.cards-code-list button{padding:7px;font-size:13px}.cards-modal-done{margin-top:18px;width:100%}.site-nav-toggle{display:flex;flex-direction:row;justify-content:space-between;align-items:center;gap:12px;min-height:44px;padding:6px 8px;border-bottom:1px solid var(--line);border-radius:6px;color:var(--ink);font-size:12px;transition:background .15s}.site-nav-toggle:hover{background:var(--soft)}.site-nav-toggle>span:last-child{display:flex;align-items:center;gap:6px;color:var(--muted);white-space:nowrap}.site-nav-toggle input{accent-color:var(--accent);width:auto}:root[data-theme=dark] .peach,:root[data-theme=dark] .blue,:root[data-theme=dark] .sage,:root[data-theme=dark] .lavender{background:#2e2a37}:root[data-theme=dark] .warning-box{background:#352e20;border-color:#51432c}:root[data-theme=dark] .error-box{background:#322326;border-color:#4f3036}:root[data-theme=dark] .success-box{background:#203026;border-color:#304c38}:root[data-theme=dark] .status-succeeded{background:#24332b;color:#a2c2ad}:root[data-theme=dark] .status-review{background:#362e20;color:#c8ad7e}:root[data-theme=dark] .status-failed{background:#362429;color:#d19ca8}@keyframes spin{to{transform:rotate(360deg)}}@media(min-width:1600px){.agent-main{padding-top:90px}.agent-welcome{margin-top:40px}.agent-welcome h1{font-size:38px}.agent-composer textarea{min-height:125px}.creation-routes{margin-top:58px}.route-illustration{height:125px}.studio-layout{grid-template-columns:600px minmax(0,1fr);gap:40px;padding:42px 45px 0}}@media(max-width:1200px){.agent-layout{grid-template-columns:190px minmax(0,1fr)}.agent-main{padding:50px 5% 0}.agent-welcome h1{font-size:28px}.route-grid{gap:9px}.route-illustration{height:85px}.studio-layout{grid-template-columns:minmax(320px,460px) minmax(250px,1fr);gap:22px;padding:27px 24px 0}.studio-form{padding:20px}.history-grid{grid-template-columns:1fr}.topbar{padding:0 24px}.sidebar{width:200px}.main-shell{margin-left:200px;width:calc(100% - 200px)}.model-edit-grid,.account-grid{grid-template-columns:1fr}}@media(max-width:1000px){.agent-layout{grid-template-columns:1fr}.conversation-sidebar{position:absolute;z-index:8;left:200px;top:64px;bottom:0;width:220px;box-shadow:var(--shadow)}.agent-main{padding:48px 6% 0}.studio-layout{grid-template-columns:minmax(0,1fr)}.studio-form{max-width:none}.creation-history{min-height:400px}.creation-history>.empty{min-height:250px}.history-grid{grid-template-columns:repeat(auto-fill,minmax(240px,1fr))}.studio-layout>footer{margin-top:0}.workspace-page,.admin-page{padding:30px 25px 0}.stats-grid{grid-template-columns:repeat(2,1fr)}.agent-welcome{margin:22px 0 28px}.agent-main footer{margin-top:55px}}@media(max-width:768px){button{min-height:44px}.icon{width:40px;height:40px;min-height:40px}.sidebar{transform:translate(-100%);width:230px;transition:transform .2s}.sidebar.mobile-open{transform:translate(0)}.sidebar-scrim{position:fixed;inset:0;background:#0005;z-index:19}.main-shell{margin-left:0;width:100%}.topbar{height:60px;padding:0 13px}.top-actions{gap:4px}.support{min-height:36px;padding:6px}.support span,.language{display:none}.breadcrumb{gap:8px;font-size:12px}.mobile-menu{display:inline-flex}.conversation-sidebar{left:0;top:60px;width:240px}.agent-main{padding:47px 23px 0}.agent-welcome h1{font-size:29px}.agent-welcome p{font-size:12px}.agent-composer textarea{font-size:14px;min-height:120px}.agent-pricing{font-size:12px;line-height:1.9}.agent-pricing>span{display:block}.route-grid{grid-template-columns:repeat(2,1fr);gap:20px 15px}.route-illustration{height:125px}.creation-route h3{font-size:15px}.creation-route p{font-size:12px}.creation-routes{margin-top:36px}.quick-prompts{gap:5px}.quick-prompts button{min-height:36px;padding:4px 9px;font-size:12px}.agent-main>footer{margin-top:40px}.conversation-title button{min-height:32px}.studio-layout{padding:25px 20px 0;gap:20px}.studio-form{padding:16px}.section-intro h1{font-size:27px}.upload-zone{padding-top:25px}.upload-actions button{min-height:38px}.prompt-field textarea{min-height:180px;font-size:14px}.textarea-meta,.form-disclaimer,.billing-note{font-size:12px}.studio-form select{min-height:44px}.generate-button{height:46px;font-size:15px}.creation-history{padding:17px}.history-grid{grid-template-columns:1fr}.step-label{font-size:15px}.workspace-page,.admin-page{padding:27px 20px 0}.page-title{align-items:flex-start}.page-title h1{font-size:26px}.page-title p{font-size:12px}.toolbar{align-items:flex-start;flex-direction:column}.tab-row button{min-height:36px;font-size:12px}.search-input{width:100%}.search-input input{width:100%;min-height:40px}.asset-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.asset-info{padding:10px}.asset-info>small{font-size:12px}.asset-info>div .icon{width:29px;height:36px}.asset-kind{font-size:12px!important}.template-grid{grid-template-columns:1fr}.template-art{height:200px}.task-grid{grid-template-columns:1fr}.redeem-panel form{flex-direction:column}.balance-panel,.redeem-panel{padding:23px}.stats-grid{gap:12px}.stat{padding:17px}.stat>strong{font-size:27px}.stat>span{font-size:12px}.admin-tabs{gap:0}.admin-tabs button{font-size:12px;padding:6px 9px;min-height:40px}.model-editor{padding:18px}.modal{padding:28px 23px;max-height:92vh}.modal-backdrop{padding:16px}.auth-modal h2{font-size:22px}.modal form label{font-size:14px}.pagination button{min-height:36px}.job-card-foot button{min-height:34px}.job-card-foot button.icon{width:30px}.asset-choice img{height:120px}.messages,.message-content{font-size:14px}.message{gap:11px}}@media(prefers-reduced-motion:reduce){*{animation-duration:.001ms!important;transition-duration:.001ms!important;scroll-behavior:auto!important}}.nav-item{font-size:15px}.nav-label{font-size:13px}.breadcrumb{font-size:14px}.agent-welcome p{font-size:15px}.agent-eyebrow{font-size:12px}.composer-caption{font-size:13px}.composer-caption>span:last-child{font-size:12px}.agent-composer textarea{font-size:15px}.composer-actions select{font-size:13px}.agent-pricing{font-size:12px}.quick-prompts button{font-size:13px;min-height:32px}.creation-routes>p:first-child{font-size:14px}.creation-route h3{font-size:15px}.creation-route p{font-size:13px}.route-footnote{font-size:12px!important}.section-intro p{font-size:14px}.step-label{font-size:15px}.upload-zone>strong{font-size:15px}.upload-zone p{font-size:13px}.upload-zone>small{font-size:12px}.upload-actions button{font-size:13px}.prompt-field textarea{font-size:15px}.textarea-meta,.form-disclaimer{font-size:12px}.model-detail{font-size:13px}.form-columns label,.form-columns select{font-size:14px}.generate-button{font-size:15px}.billing-note{font-size:12px}.history-header h2{font-size:17px}.empty h3{font-size:16px}.empty p,.tab-row button{font-size:14px}.page-title p{font-size:15px}table{font-size:14px}th,.language,.profile-text strong{font-size:13px}.profile-text small{font-size:12px}@media(max-width:768px){.agent-pricing,.quick-prompts button{font-size:12px}.agent-welcome p{font-size:13px}.creation-routes>p:first-child{font-size:13px}.form-disclaimer,.billing-note{font-size:12px}.tab-row button,.page-title p{font-size:13px}}@media(max-height:560px){.sidebar{padding-top:12px}.sidebar .sidebar-funds{padding:8px}.sidebar-funds-balance>strong:not(.sidebar-funds-guest){font-size:18px}.sidebar .profile{min-height:52px;padding-block:6px}}@media(max-width:768px){.sidebar{visibility:hidden}.sidebar.mobile-open{visibility:visible}}.label-hint{display:block;font-size:12px;color:var(--muted);font-weight:400;line-height:1.6}.secret-input{display:flex;align-items:center;border:1px solid var(--line);border-radius:8px;overflow:hidden;min-height:42px}.secret-input:focus-within{border-color:var(--accent)}.secret-input input{border:0;min-width:0;font-family:ui-monospace,Consolas,monospace;font-size:13px}.secret-input input:focus-visible{outline:none}.secret-input .icon{margin-right:5px;min-height:30px;width:30px}.code-input{font-family:ui-monospace,Consolas,monospace!important;font-size:13px!important;line-height:1.9;background:var(--soft)}.debug-action{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:20px;padding-bottom:20px;border-bottom:1px solid var(--line)}.debug-action strong,.debug-invoke>strong{font-size:14px}.debug-action p,.debug-invoke>p{font-size:13px;color:var(--muted);line-height:1.8;margin-top:6px}.debug-action button{white-space:nowrap;font-size:13px}.debug-invoke{padding:0 20px 20px}.debug-invoke>label{margin-top:15px;font-size:13px}.debug-invoke textarea{font-size:14px}.paid-consent{align-items:flex-start;line-height:1.8;font-size:12px!important;font-weight:400;color:#9d7c45}.paid-consent input{margin-top:2px;flex-shrink:0}.debug-invoke>.primary{margin:15px 0 5px;min-height:36px;font-size:14px}.debug-preview{border-top:1px solid var(--line)}.debug-view-tabs{display:flex;align-items:center;gap:4px;padding:12px 16px}.debug-view-tabs>strong{margin-right:auto;font-size:13px;font-weight:500}.debug-view-tabs>button:not(.icon){font-size:12px;min-height:27px;padding:3px 7px;border:0;background:transparent;color:var(--muted)}.debug-view-tabs>button.active{background:var(--accent-soft);color:var(--accent)}.debug-result{padding:20px;border-top:1px solid var(--line)}.debug-result-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.debug-result-heading h3{font-size:14px}.debug-metadata{display:flex;gap:13px;flex-wrap:wrap;font-size:12px;color:var(--muted);margin-bottom:13px;font-variant-numeric:tabular-nums}.debug-result .error-box,.debug-result .warning-box{font-size:13px}.debug-result details{border:1px solid var(--line);border-radius:7px;overflow:hidden;margin-top:10px}.debug-result summary{font-size:13px;padding:10px 12px;cursor:pointer}.debug-result pre{max-height:260px;font-size:12px}.debug-task{display:flex;align-items:center;gap:10px;margin:12px 0;flex-wrap:wrap}.debug-task code{font-size:12px;overflow-wrap:anywhere;flex:1;min-width:0}.debug-task button{font-size:12px;min-height:30px}.debug-history{padding:20px;border-top:1px solid var(--line)}.debug-history-row{display:flex;justify-content:space-between;align-items:center;width:100%;gap:8px;border:0;border-top:1px solid var(--line);border-radius:0;font-size:13px;text-align:left;padding:12px 4px;background:transparent}.debug-history-row.active{background:var(--soft)}.debug-history-row>span:first-child{margin-right:auto}.debug-history-row>span>small{display:block;font-size:12px;color:var(--muted);margin-top:3px}.debug-history-row>small{font-size:12px;color:var(--muted)}@media(max-width:768px){.debug-action{margin:17px;align-items:flex-start}.debug-action button{min-height:38px}.debug-invoke{padding:0 17px 17px}.debug-preview pre{font-size:12px}.debug-history-row{min-height:57px}}.routing-console{font-size:15px;margin-bottom:20px}.model-group-picker{position:relative}.model-group-picker>input{padding-right:44px}.model-group-picker>.icon{position:absolute;right:2px;top:2px;width:40px;min-height:40px;border:0;background:transparent}.model-group-create-note{margin:0;padding:14px;color:var(--muted);font-size:13px}.config-dialog.model-group-dialog:not([data-fullscreen=true]){width:min(560px,calc(100vw - 32px));height:fit-content;max-height:calc(100dvh - 32px)}.model-group-form{display:grid;gap:20px;padding-top:16px}.model-group-form>button{justify-self:end}.model-group-actions{margin-left:auto}.model-group-order{width:80px;font-variant-numeric:tabular-nums}.routing-action-error{display:flex;align-items:center;gap:8px}.routing-action-error>.error-box{flex:1}.routing-intro,.routing-actions,.routing-editor-title{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}.routing-intro{margin-bottom:22px}.routing-intro h3{font-size:20px;margin-bottom:8px}.routing-intro p,.routing-editor-title p{color:var(--muted);line-height:1.8;font-size:14px}.routing-tabs{display:flex;gap:8px;margin-bottom:22px}.routing-tabs button{border:0;background:transparent}.routing-tabs button[aria-pressed=true]{background:var(--accent-soft);color:var(--accent)}.routing-tabs b{font-size:13px;background:var(--bg);border-radius:4px;padding:2px 6px}.routing-actions{margin:16px 0}.routing-actions>input{max-width:420px;flex:1;min-width:180px}.routing-actions>select{width:auto}.routing-main table{font-size:14px}.routing-main th{white-space:nowrap}.routing-main td{max-width:300px;overflow-wrap:anywhere}.routing-main small{margin-top:6px}.routing-reference-pricing-gap{margin:12px 0 20px;padding:12px 16px;border:1px solid var(--line);border-radius:8px;background:var(--accent-soft);font-size:14px}.routing-reference-pricing-gap>div{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px}.routing-reference-pricing-gap p{margin:8px 0;line-height:1.7}.routing-reference-pricing-gap ul{margin:8px 0 0;padding-left:20px;max-height:160px;overflow:auto;line-height:1.8;overflow-wrap:anywhere}.routing-protocol{font-family:monospace;color:var(--accent)}.routing-state{display:inline-block;padding:4px 8px;border-radius:5px;background:var(--bg)}.routing-state.enabled{color:var(--accent);background:var(--accent-soft)}.binding-state-tags{display:flex;align-items:center;flex-wrap:wrap;gap:6px}.routing-empty{padding:40px 20px;text-align:center;border:1px dashed var(--line);color:var(--muted)}.routing-editor{background:var(--panel);border:1px solid var(--line);border-radius:12px;padding:24px;margin-top:24px;scroll-margin-top:80px}.routing-editor-title{border-bottom:1px solid var(--line);padding-bottom:20px;margin-bottom:22px}.routing-editor h4{font-size:16px;margin:24px 0 16px;display:flex;align-items:center;gap:8px}.routing-editor form{display:flex;flex-direction:column;gap:18px}.routing-editor form>.primary{align-self:flex-start}.routing-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.routing-fields label{font-size:14px}.routing-fields .span-two{grid-column:1 / -1}.routing-fields textarea{min-height:80px}.routing-editor details textarea{min-height:180px;font-family:monospace}.routing-checks{display:flex;gap:24px;flex-wrap:wrap}.config-dialog.upstream-actions-dialog:not([data-fullscreen=true]){width:min(860px,calc(100vw - 32px));height:fit-content;max-height:min(850px,calc(100dvh - 40px))}.config-dialog.upstream-actions-dialog .config-dialog-body{display:flex;flex-direction:column;gap:20px;padding:24px}.upstream-actions-dialog .config-dialog-footer{flex-wrap:wrap}.config-dialog.model-removal-dialog:not([data-fullscreen=true]){width:min(1120px,calc(100vw - 32px))}.config-dialog.model-removal-dialog.is-selecting:not([data-fullscreen=true]){height:min(850px,calc(100dvh - 40px))}.config-dialog.model-removal-dialog.is-selecting .config-dialog-body{padding:0;gap:0;overflow:hidden}.model-removal-dialog .admin-pagination{flex-shrink:0;padding:12px 24px;border-top:1px solid var(--line)}.model-removal-dialog .upstream-selection-tools+p{margin:12px 0 0;font-size:12px}.upstream-model-controls{flex-shrink:0;padding:20px 24px 16px;border-bottom:1px solid var(--line)}.upstream-model-controls>p{margin:0 0 16px;color:var(--muted);font-size:14px}.upstream-selection-count{margin-right:auto;color:var(--muted);font-size:14px}.upstream-selection-count b{color:var(--ink);font-variant-numeric:tabular-nums}.upstream-action-copy{display:grid;gap:12px;line-height:1.8}.sync-result-counts{display:flex;flex-wrap:wrap;gap:24px;margin:20px 0}.sync-result-counts dt{color:var(--muted);font-size:14px}.sync-result-counts dd{font-size:26px;margin:8px 0 0;font-variant-numeric:tabular-nums}.sync-exclusion-list{display:grid;gap:12px}.sync-exclusion-row{display:grid;grid-template-columns:150px 120px minmax(100px,1fr) 44px;gap:8px}.sync-exclusion-row>*{min-width:0}.sync-exclusion-row>button:last-child{justify-content:center}.upstream-model-tools{display:flex;flex-wrap:wrap;gap:8px}.upstream-model-tools>input{flex:1 1 240px;min-width:0}.upstream-model-tools>.select-trigger{flex:0 0 170px;width:170px}.upstream-selection-tools{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:12px}.upstream-selection-tools>span{margin-right:auto;color:var(--muted);font-size:13px}.upstream-selection-tools>button{font-size:13px}.upstream-model-list{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;padding:0 24px}.upstream-model-header,.upstream-model-row{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr) minmax(150px,.75fr);column-gap:24px;text-align:left}.upstream-model-header{position:sticky;top:0;z-index:1;padding:12px;background:var(--panel);color:var(--muted);font-size:12px;border-bottom:1px solid var(--line)}.upstream-model-row{align-items:start;padding:14px 12px;border-bottom:1px solid var(--line);border-radius:8px;font-size:14px;line-height:1.5}.upstream-model-row>div{min-width:0}.upstream-model-row[data-selected=true]{background:var(--accent-soft)}.upstream-model-choice{display:flex;flex-direction:row;align-items:center;min-height:44px;gap:10px;margin:0;cursor:pointer}.upstream-model-choice>input{flex:0 0 18px;width:18px;height:18px;margin:0}.upstream-model-name{display:flex;align-items:center;flex:1;min-width:0;gap:8px}.upstream-model-name>strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:15px;color:var(--ink)}.upstream-model-type{flex-shrink:0;font-size:12px;font-weight:400;color:var(--muted);background:var(--soft);padding:2px 6px;border-radius:4px}.upstream-model-description{margin:7px 0 0 28px;display:grid;grid-template-columns:minmax(0,1fr);min-width:0;gap:4px;color:var(--muted);overflow-wrap:anywhere}.upstream-model-description small{font-size:12px}.upstream-model-id summary{display:flex;gap:6px;align-items:center;list-style:none;cursor:pointer;font-size:12px}.upstream-model-id summary::-webkit-details-marker{display:none}.upstream-model-id summary>span{flex-shrink:0}.upstream-model-id summary>code{flex:1;min-width:0;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.upstream-model-id summary:after{content:"展开";flex-shrink:0}.upstream-model-id[open] summary:after{content:"收起"}.upstream-model-id[open] summary>code{display:none}.upstream-model-id:not([open])>code{display:none}.upstream-model-id>code{display:block;font-size:12px;overflow-wrap:anywhere;margin-top:4px;color:var(--ink)}.upstream-model-capabilities,.upstream-model-pricing{display:grid;justify-items:start;gap:4px;overflow-wrap:anywhere}.upstream-model-row small{color:var(--muted);font-size:12px}.upstream-model-quality{font-weight:500}.upstream-reference-limits,.upstream-model-states{display:flex;flex-wrap:wrap;gap:5px}.upstream-reference-limits>span{padding:2px 6px;border:1px solid var(--line);border-radius:4px;color:var(--muted);font-size:12px;white-space:nowrap}.upstream-model-price{font-size:16px;font-weight:600;font-variant-numeric:tabular-nums}.upstream-publish-state,.upstream-visibility-state{font-size:12px;padding:2px 6px;border-radius:4px;background:var(--soft);color:var(--muted)}.upstream-publish-state[data-active=true]{color:var(--accent);background:var(--accent-soft)}.sync-toolbar{display:flex;align-items:center;gap:12px;overflow-x:auto;margin-bottom:12px;scrollbar-width:thin}.sync-scope-toggle{display:flex;flex:0 0 auto;gap:8px}.sync-scope-toggle>button{min-height:44px}.sync-scope-toggle>button[aria-pressed=true]{color:var(--accent);background:var(--accent-soft);border-color:var(--accent)}.sync-directory-tools{display:flex;flex:0 0 auto;align-items:center;gap:8px}.sync-directory-tools>button,.sync-directory-tools>.select-trigger{min-height:44px}.sync-directory-tools>button[aria-expanded=true]{color:var(--accent);border-color:var(--accent)}.sync-directory-tools>.select-trigger{width:160px;flex:0 1 160px}.sync-skipped-results p{display:grid;gap:4px;padding:12px 0;border-bottom:1px solid var(--line);overflow-wrap:anywhere}.sync-skipped-results small{color:var(--muted)}.sync-source-details{grid-column:1 / -1;min-width:0;color:var(--muted);font-size:13px}.sync-source-details>summary{cursor:pointer;min-height:44px;padding:8px 0}.sync-source-details dl{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(240px,100%),1fr));gap:16px;margin:8px 0}.sync-source-details dt{color:var(--ink);margin-bottom:6px}.sync-source-details dd{margin:0}.sync-source-details pre{max-height:300px;overflow:auto;margin:0;white-space:pre-wrap;overflow-wrap:anywhere;padding:10px;background:var(--soft);border-radius:6px;color:var(--ink);font-size:12px}.sync-preview-notes{margin-top:12px;color:var(--muted);font-size:13px}.sync-preview-notes summary{width:fit-content;cursor:pointer}.sync-preview-notes p{max-width:900px;margin-top:8px;line-height:1.8}.sync-preview-dialog .upstream-model-row[data-excluded=true]{background:var(--soft)}.sync-preview-dialog .upstream-model-choice:has(input:disabled){cursor:default}.sync-model-action{font-size:12px;padding:3px 7px;border-radius:4px;background:var(--soft);color:var(--muted)}.sync-model-action[data-action=new],.sync-model-action[data-action=update]{color:var(--accent);background:var(--accent-soft)}.sync-exclusion-reason{color:var(--ink)}.sync-blocking-reasons{border-left:2px solid var(--accent);padding:4px 8px;font-size:12px;line-height:1.6;color:var(--ink);overflow-wrap:anywhere}.sync-blocking-reasons strong{font-size:inherit;font-weight:500}.sync-blocking-reasons ul{margin:2px 0 0;padding-left:16px}.sync-blocking-reasons li+li{margin-top:2px}.sync-ignored-note{padding:16px 12px;color:var(--muted);font-size:13px}.sync-preview-dialog.is-selecting .error-box,.sync-preview-dialog.is-selecting .loading-state{margin:16px 24px;flex-shrink:0}.upstream-confirm-list small{display:block;color:var(--muted);overflow-wrap:anywhere;margin-top:4px}.upstream-skipped-list,.upstream-confirm-list{display:grid;gap:12px;padding-left:20px}.upstream-skipped-list span{display:block;color:var(--muted);margin-top:4px}@media(max-width:760px){.upstream-model-tools.sync-preview-tools{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.sync-preview-tools>input{grid-column:1 / -1}.upstream-model-tools.sync-preview-tools>.select-trigger{width:100%}.sync-preview-notes summary{min-height:44px;display:flex;align-items:center}.upstream-model-controls{padding:16px}.upstream-model-tools{display:grid;grid-template-columns:minmax(0,1fr) 110px}.upstream-model-tools>.select-trigger{width:110px}.upstream-model-list{padding:0 16px}.upstream-model-header{display:none}.upstream-model-row{grid-template-columns:minmax(0,1fr) minmax(0,.9fr);gap:16px;border:1px solid var(--line);border-radius:10px;padding:16px;margin:12px 0}.upstream-model-identity{grid-column:1 / -1}.upstream-selection-tools>span{flex-basis:100%}.upstream-selection-tools>button{padding:8px 6px;font-size:12px;min-height:44px}.upstream-model-id summary{min-height:44px}.upstream-selection-count{flex-basis:100%}}@media(max-width:600px){.config-dialog.upstream-actions-dialog .config-dialog-body{padding:16px}.sync-exclusion-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 44px}.sync-exclusion-row>input{grid-column:1 / 3;grid-row:2}.sync-exclusion-row>button:last-child{grid-column:3;grid-row:1 / 3}.upstream-model-tools>input{flex-basis:100%}}.routing-price-table input:not([type=checkbox]){min-width:110px;max-width:150px;margin:3px 0}.routing-price-table select{min-width:130px}.routing-price-table{border-radius:8px}.routing-debug{border-top:1px solid var(--line);margin-top:25px;padding-top:8px}.routing-debug pre{max-height:340px;overflow:auto;background:var(--bg);padding:16px;font-size:13px;border-radius:8px;margin-top:16px;white-space:pre-wrap;overflow-wrap:anywhere}.markup-rule{display:flex;gap:12px;align-items:center;flex-wrap:wrap;padding:16px 0;margin-bottom:14px;border-top:1px solid var(--line)}.markup-rule label{display:flex;flex-direction:row;align-items:center;gap:10px;font-size:14px}.markup-rule input{width:88px}.markup-rule label{white-space:nowrap;flex-shrink:0}.markup-rule .select-trigger{flex:0 0 160px;width:160px;min-width:160px}.storage-material-actions{display:flex;align-items:center;gap:8px;margin-right:auto}.solid-danger{background:var(--danger, #c12c42);color:#fff;border-color:transparent}.storage-clear-confirm{display:grid;gap:16px}.storage-clear-confirm>svg{color:var(--danger, #c12c42)}.storage-clear-confirm h3,.storage-clear-confirm p{margin:0}.storage-clear-confirm p{line-height:1.8;overflow-wrap:anywhere}@media(max-width:600px){.markup-rule label{width:100%;justify-content:space-between}.markup-rule>button{width:100%;min-height:44px}.storage-grant-dialog .config-dialog-footer{flex-wrap:wrap}.storage-grant-dialog .config-dialog-footer button{min-height:44px}}.markup-rule p{color:var(--muted);font-size:13px;flex:1;min-width:200px;line-height:1.8}.reference-file-label{display:flex;flex-direction:column;justify-content:center;padding:8px;font-size:12px;overflow-wrap:anywhere;height:100%}.reference-thumb video{width:100%;height:100%;object-fit:cover}@media(max-width:768px){.routing-fields{grid-template-columns:minmax(0,1fr)}.routing-editor{padding:16px}.routing-actions>input{max-width:none}.upstream-filters>input{flex-basis:100%}.routing-tabs{flex-wrap:wrap}.routing-console button{min-height:44px}}.agent-composer{overflow:visible}.composer-actions .model-choice{flex:1;max-width:440px;min-width:0;margin-left:auto}.composer-actions .model-choice-trigger{min-height:44px}.routing-actions{justify-content:flex-start}.routing-actions>.primary{margin-left:auto}.upstream-toolbar-actions{display:flex;flex-wrap:wrap;gap:8px;margin-left:auto}.routing-price-table input[type=checkbox]{width:20px;height:20px}.routing-console,.model-choice{--muted: #6c6875}:root[data-theme=dark] .routing-console,:root[data-theme=dark] .model-choice{--muted: #b8b2c3}.routing-console .switch-label{min-height:44px}.routing-reference-toggle{display:flex;align-items:center;justify-content:center;min-width:44px;min-height:44px}:root{--muted: #777381}:root[data-theme=dark]{--muted: #aaa5b6}.ui-popover{position:fixed;inset:auto;margin:0;padding:0;border:1px solid var(--line);border-radius:14px;background:var(--panel);color:var(--ink);box-shadow:0 14px 48px #17122524,0 2px 8px #1712250a;overflow:hidden;z-index:1000}.ui-popover:popover-open{display:flex;flex-direction:column}.ui-popover::backdrop{background:transparent;pointer-events:none}.select-trigger{width:100%;min-width:0;min-height:44px;justify-content:space-between;text-align:left;padding:10px 12px;font-size:14px;font-weight:400}.select-trigger>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.select-trigger>svg{flex-shrink:0;color:var(--muted);transition:rotate .18s}.select-trigger[aria-expanded=true]{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-soft)}.select-trigger[aria-expanded=true]>svg{rotate:180deg}.select-popover{padding:6px;border-radius:10px}.select-options{overflow-y:auto;min-height:0;scrollbar-width:thin;overscroll-behavior:contain}.select-options>button{display:flex;width:100%;min-height:44px;padding:9px 10px;border:0;border-radius:6px;justify-content:space-between;text-align:left;font-size:14px;font-weight:400;gap:12px}.select-options>button.highlighted{background:var(--soft);padding:9px 5px}.select-options>button[aria-selected=true]{color:var(--accent);background:var(--accent-soft);padding:9px 5px}.select-options>button>span{min-width:0;overflow-wrap:anywhere}.select-options>button>svg{flex-shrink:0}.config-dialog{width:min(1160px,calc(100vw - 48px));height:min(88dvh,1000px);max-width:none;max-height:none;padding:0;border:1px solid var(--line);border-radius:16px;color:var(--ink);background:var(--panel);box-shadow:0 24px 100px #17122540;overflow:hidden}.config-dialog[open]{display:flex;flex-direction:column}.config-dialog::backdrop{background:#11101b66}.config-dialog[data-fullscreen=true]{position:fixed;inset:12px;width:calc(100vw - 24px);height:calc(100dvh - 24px);margin:0}.config-dialog-header{flex-shrink:0;display:flex;align-items:center;gap:14px;padding:18px 24px;border-bottom:1px solid var(--line);cursor:grab;touch-action:none;-webkit-user-select:none;user-select:none;background:var(--panel)}.config-dialog-header:active{cursor:grabbing}.config-dialog-header>div:not(.config-dialog-actions){flex:1;min-width:0}.config-dialog-header h2{font-size:19px}.config-dialog-header p{margin-top:4px;font-size:13px;color:var(--muted)}.dialog-drag-icon{color:var(--muted);flex-shrink:0}.config-dialog-actions{display:flex;gap:6px;align-items:center}.config-dialog-actions .icon{height:40px;width:40px;min-height:40px}.config-dialog-body.routing-editor{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:8px 28px 28px;margin:0;border:0;border-radius:0}.config-dialog-body form>.primary{min-height:44px}.config-dialog-body .routing-debug{margin-top:32px;padding-top:12px}.routing-actions{gap:12px}.routing-actions>.select-trigger{width:180px;flex:0 1 180px}.routing-actions>.select-trigger[aria-label=筛选上游渠道]{width:240px;flex-basis:240px}.routing-fields>label,.routing-price-table .select-trigger{min-width:0}.routing-price-table .select-trigger{min-width:132px}.routing-price-table input:not([type=checkbox]){max-width:160px}.routing-console .routing-main .table-scroll{overflow-x:auto}.studio-reference-slot,.studio-reference-slot .upload-zone{min-height:208px}.studio-form .prompt-field textarea{height:170px;min-height:170px}.studio-model-section{min-height:218px}.studio-model-section .model-detail{min-height:42px;margin:8px 0 14px;align-items:start;font-size:12px}.studio-model-section .model-detail>span{flex:1}.studio-model-section .model-detail>span:last-child{text-align:right}.form-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.form-columns:has(>label:nth-child(3)){grid-template-columns:repeat(3,minmax(0,1fr))}.form-columns label{font-size:13px}.generate-button{height:48px;font-size:15px;margin-top:14px}.model-choice-trigger{width:100%;height:84px;min-height:84px;padding:12px 14px;gap:10px;border-color:var(--line)}.model-choice-trigger:hover:not(:disabled){border-color:var(--accent)}.model-choice-trigger[aria-expanded=true]{border-color:var(--accent);background:var(--accent-soft)}.model-choice-trigger>.model-choice-icon{flex:0 0 36px;height:36px;display:grid;place-items:center;border-radius:9px;color:var(--accent);background:var(--accent-soft)}.model-choice-trigger>.model-choice-copy{min-width:0;flex:1}.model-choice-copy>strong{font-size:15px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.model-choice-copy>small{font-size:12px;line-height:18px;height:36px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;text-align:left;margin-top:3px}.model-choice-trigger>b{width:auto;min-width:70px;flex-shrink:0;font-size:14px;text-align:right}.model-choice-trigger>b small{font-size:12px;font-weight:400;margin-top:1px}.model-choice-trigger>svg{flex-shrink:0;color:var(--muted)}.model-picker-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 12px 8px 16px;border-bottom:1px solid var(--line);min-height:48px;flex-shrink:0}.model-picker-heading>span{display:flex;align-items:center;gap:8px;font-size:14px;font-weight:600}.model-picker-heading>span svg{color:var(--accent)}.model-picker-heading .icon{width:44px;height:44px;min-height:44px}.model-picker-columns{flex:1;min-height:0;display:grid;grid-template-columns:142px minmax(0,1fr)}.model-picker .model-group-list,.model-picker .model-route-list{min-height:0;max-height:none;padding:8px;scrollbar-width:thin;overscroll-behavior:contain}.model-picker .model-group-list{border-right:1px solid var(--line)}.model-group-list button{font-size:13px;min-height:44px;padding:10px;line-height:1.5}.model-route-heading{font-size:12px;color:var(--muted);padding:4px 4px 10px;display:flex;align-items:center;gap:8px;flex-wrap:wrap}.model-route-heading>span{margin-left:auto;font-size:12px;white-space:nowrap}.model-picker .model-route-list>button{min-height:104px;padding:12px;align-items:start;display:grid;grid-template-columns:minmax(0,1fr) 76px;gap:8px}.model-route-copy{min-width:0}.model-route-copy strong{font-size:13px;line-height:1.6;min-height:42px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}.model-route-copy small{font-size:12px;line-height:1.5;margin-top:4px}.model-route-copy .model-reference-caps{font-size:12px}.model-route-list .route-price{font-size:13px;white-space:nowrap;width:76px;text-align:right;font-variant-numeric:tabular-nums}.model-route-list .route-price small{font-size:12px;justify-content:flex-end;white-space:nowrap;line-height:1.5;margin-top:8px;gap:3px}.composer-actions .model-choice{max-width:460px}.composer-actions .model-choice-trigger{height:76px;min-height:76px}.workspace-filterbar{border:1px solid var(--line);background:var(--panel);border-radius:12px;padding:10px;gap:16px;min-height:68px;flex-wrap:wrap;margin-bottom:16px}.filter-segments{display:flex;gap:4px;position:relative;border-radius:9px;background:var(--soft);padding:4px;isolation:isolate;max-width:100%;overflow-x:auto;scrollbar-width:thin}.filter-segments>button{min-height:40px;border:0;background:transparent;padding:9px 13px;color:var(--muted);gap:7px;white-space:nowrap;font-size:14px;flex-shrink:0;z-index:1}.filter-segments>button:hover:not(:disabled){background:transparent;color:var(--ink)}.filter-segments>button[aria-pressed=true]{color:var(--accent)}.filter-segments>button b{min-width:20px;height:20px;display:grid;place-items:center;font-size:12px;font-weight:500;background:var(--bg);border-radius:5px}.filter-indicator{position:absolute;height:calc(100% - 8px);top:4px;border:1px solid var(--line);border-radius:7px;background:var(--panel);pointer-events:none;z-index:0;box-shadow:0 1px 3px #17122508}.workspace-filterbar .search-input{min-height:44px;border-radius:8px;background:var(--bg);margin-left:auto}.workspace-filterbar .search-input input{font-size:13px;min-height:42px;width:190px}.workspace-filterbar>.muted{font-size:13px;margin-left:auto;padding:0 8px}@media(max-width:1100px){.routing-actions>.primary,.upstream-toolbar-actions{margin-left:0}.workspace-filterbar>.filter-segments{width:100%}}@media(max-width:768px){.config-dialog{width:calc(100vw - 16px);height:calc(100dvh - 24px);border-radius:12px}.config-dialog[data-fullscreen=true]{inset:0;width:100vw;height:100dvh;border-radius:0}.config-dialog-header{padding:14px 12px;gap:10px;cursor:default}.config-dialog-header h2{font-size:16px}.config-dialog-header p{font-size:12px}.dialog-drag-icon{display:none}.config-dialog-actions{gap:0}.config-dialog-actions .icon{width:40px}.config-dialog-body.routing-editor{padding:0 16px 24px}.routing-actions>.select-trigger,.routing-actions>.select-trigger[aria-label=筛选上游渠道]{flex:1 1 140px;width:auto}.studio-model-section{min-height:228px}.studio-reference-slot,.studio-reference-slot .upload-zone{min-height:220px}.model-picker-columns{grid-template-columns:110px minmax(0,1fr)}.model-picker .model-route-list>button{grid-template-columns:minmax(0,1fr);min-height:140px;gap:4px}.model-route-list .route-price{width:100%;display:flex;justify-content:space-between;align-items:center;gap:6px}.model-route-list .route-price small{margin:0}.model-route-copy strong{min-height:auto}.model-route-copy .model-reference-caps{white-space:normal}.model-group-list button{font-size:12px;padding:10px 6px}.filter-segments>button{min-height:44px;padding:10px 12px}.workspace-filterbar{padding:8px;gap:10px}.workspace-filterbar .search-input,.workspace-filterbar .search-input input{width:100%}.workspace-filterbar>.muted{margin-left:0;padding:3px 4px}.form-columns{gap:8px}.form-columns .select-trigger{padding:10px}}@media(prefers-reduced-motion:reduce){.select-trigger>svg{transition:none}}.model-choice{position:relative;min-width:0}.model-choice-trigger>.model-choice-copy{display:block;text-align:left}.model-choice-copy>strong{display:block;font-weight:600}.model-choice-trigger>b{display:block;font-weight:500;color:var(--accent);white-space:nowrap}.model-choice-trigger>b small{display:block;color:var(--muted)}.model-picker .model-group-list,.model-picker .model-route-list{overflow-y:auto}.model-picker .model-group-list{background:var(--bg)}.model-group-list button{width:100%;justify-content:flex-start;border:0;background:transparent;text-align:left;margin-bottom:4px;overflow-wrap:anywhere}.model-group-list button.active{background:var(--accent-soft);color:var(--accent)}.model-route-list>button{width:100%;text-align:left;margin-bottom:8px}.model-route-list>button.active{border-color:var(--accent);background:var(--accent-soft)}.model-route-copy small{display:block;color:var(--muted);font-weight:400}.model-route-list .route-price{color:var(--accent);font-weight:500}.model-route-list .route-price small{display:flex;color:var(--muted);align-items:center;font-weight:400}.model-picker .model-route-list>button:disabled,.mobile-model-options>button:disabled{opacity:1;color:var(--muted);background:var(--soft);border-color:var(--line)}.model-route-list>button:disabled .route-price,.mobile-model-options>button:disabled .mobile-model-option-price{color:var(--muted)}.model-unavailable{display:inline-flex;align-items:center;padding:1px 7px;border:1px solid var(--line);border-radius:999px;color:var(--muted);background:var(--panel);font-size:12px;font-weight:400;line-height:1.5;white-space:nowrap}.page-title>button{white-space:nowrap;flex-shrink:0}@media(max-width:768px){.config-dialog-actions .icon,.model-picker-heading .icon{width:44px;height:44px;min-height:44px}}.asset-picker-dialog{position:fixed;margin:auto;width:min(850px,calc(100vw - 32px));max-width:none}.asset-picker-dialog::backdrop{background:#11101b66}.asset-picker-dialog .close{width:44px;height:44px;min-height:44px}:root:has(dialog[open]){overflow:hidden}.model-row-actions{display:grid;grid-template-columns:minmax(86px,1.2fr) minmax(74px,1fr) minmax(46px,.7fr);align-items:center;gap:6px;width:100%;white-space:nowrap}.model-bindings-table{container:model-bindings / inline-size;border:1px solid var(--line);border-radius:10px;background:var(--panel)}.model-bindings-table>.table-scroll{border:0;border-radius:0 0 10px 10px}.model-bindings-table>.routing-empty{border:0}.model-bindings-table table{--binding-detail-width: calc(100% - 612px) ;min-width:1120px;table-layout:fixed;white-space:normal}.binding-col-order{width:44px}.binding-col-selection{width:64px}.binding-col-identity{width:calc(var(--binding-detail-width) * .34)}.binding-col-upstream{width:240px}.binding-col-references{width:calc(var(--binding-detail-width) * .16)}.binding-col-pricing{width:calc(var(--binding-detail-width) * .22)}.binding-col-state{width:calc(var(--binding-detail-width) * .28)}.binding-col-actions{width:264px}.model-bindings-table .binding-upstream-id{max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.binding-references>span{display:block;line-height:1.6}.model-row-actions .binding-config-action{color:var(--accent);border-color:color-mix(in srgb,var(--accent) 24%,var(--line));background:var(--accent-soft)}.model-bindings-table .binding-order-column{width:44px;padding:6px 2px;text-align:center}.model-bindings-table .binding-order-grip{min-width:44px;min-height:44px;padding:0;border-color:transparent;background:transparent;color:var(--muted);cursor:grab;touch-action:none;-webkit-user-select:none;user-select:none}.model-bindings-table .binding-order-grip:disabled{cursor:default}.model-bindings-table tr[data-dragging=true]>td{background:var(--accent-soft);border-bottom-color:var(--accent)}.model-bindings-table tr[data-dragging=true] .binding-order-grip{cursor:grabbing}.model-binding-selection-tools{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;min-height:52px;padding:8px 16px;border-bottom:1px solid var(--line);font-size:13px}.model-binding-selection-tools .table-actions{margin-left:auto;flex-wrap:wrap}.model-binding-selection label{display:flex;flex-direction:row;align-items:center;gap:8px;min-height:44px;margin:0}.model-binding-selection label{min-width:44px;justify-content:center}.model-binding-selection{width:80px;text-align:center}.model-bindings-table thead .model-binding-selection label{min-height:32px}@media(max-width:700px),(pointer:coarse){.model-bindings-table thead .model-binding-selection label,.model-binding-selection-tools button,.routing-reference-pricing-gap button{min-height:44px}}.model-row-actions button{min-width:0;width:100%;min-height:32px;padding:5px 8px;font-size:12px;line-height:1.5;white-space:nowrap}.model-bindings-table th,.model-bindings-table td{padding:8px;max-width:none;vertical-align:middle}.model-bindings-table small{margin-top:4px;line-height:1.45}.model-bindings-table .binding-identity,.model-bindings-table .binding-upstream,.model-bindings-table .binding-pricing,.model-bindings-table .binding-state{min-width:0;overflow-wrap:anywhere;white-space:normal}@container model-bindings (max-width: 1100px){.model-bindings-table table,.model-bindings-table thead,.model-bindings-table tbody{display:block;min-width:0}.model-bindings-table colgroup{display:none}.model-bindings-table thead tr{display:flex;padding:4px 14px;background:var(--soft)}.model-bindings-table thead th{display:none}.model-bindings-table thead th.model-binding-selection{display:block;width:auto;padding:0}.model-bindings-table thead .model-binding-selection label{min-height:44px}.model-bindings-table tbody tr{position:relative;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 16px;padding:14px;border-top:1px solid var(--line)}.model-bindings-table tbody td{display:block;min-width:0;width:auto;padding:0;border:0}.model-bindings-table tbody .binding-order-column{position:absolute;left:8px;top:10px;width:44px}.model-bindings-table tbody .model-binding-selection{position:absolute;right:8px;top:10px;width:44px}.model-bindings-table tbody .binding-identity{grid-column:1 / -1;min-height:44px;padding:0 42px}.model-bindings-table .binding-upstream,.model-bindings-table .binding-state,.model-bindings-table .binding-action-cell{grid-column:1 / -1}.model-bindings-table .binding-upstream:before,.model-bindings-table .binding-references:before,.model-bindings-table .binding-pricing:before{content:attr(data-label);display:block;margin-bottom:4px;color:var(--muted);font-size:12px}.model-bindings-table .model-row-actions{max-width:360px;margin-left:auto}.model-bindings-table .model-row-actions button{min-height:44px}}.binding-copy-api{margin:24px 0;padding-top:16px;border-top:1px solid var(--line)}.binding-copy-api-prices label{margin:0 0 8px;font-size:12px}.binding-copy-api-prices input{min-width:150px}.binding-copy-save-actions{position:sticky;bottom:0;z-index:1;display:flex;justify-content:flex-end;gap:8px;padding:12px 0;background:var(--panel);border-top:1px solid var(--line)}.binding-copy-save-actions button{min-height:44px}.binding-copy-save-actions>span{align-self:center;margin-right:auto}@media(max-width:768px),(pointer:coarse){.model-row-actions button{min-height:44px}}.model-enabled-toggle{position:relative}.model-enabled-toggle[aria-busy=true] .model-enabled-label{visibility:hidden}.model-enabled-toggle .spinner{position:absolute;width:14px;height:14px;top:50%;left:50%;margin:-7px 0 0 -7px}.danger-text{color:#bd3f50}.danger{background:#b83447;color:#fff;border-color:#b83447}.danger:hover:not(:disabled){background:#a12c3d;color:#fff;border-color:#a12c3d}:root[data-theme=dark] .danger-text{color:#f39eaa}.config-dialog-footer{flex-shrink:0;border-top:1px solid var(--line);background:var(--panel);padding:16px 24px;display:flex;gap:12px;align-items:center;justify-content:flex-end;margin:0}.config-dialog-footer>button{min-height:44px;white-space:nowrap}.binding-config-tabs{display:flex;flex-shrink:0;gap:6px;padding:10px 28px;border-bottom:1px solid var(--line)}.binding-config-tabs button{min-height:44px;padding:8px 16px;border-color:transparent;background:transparent;color:var(--muted);font-size:13px}.binding-config-tabs button[aria-selected=true]{color:var(--accent);background:var(--accent-soft)}.binding-config-dialog>.config-dialog-body{padding-top:20px}.binding-config-dialog .binding-debug-panel .routing-debug{margin:0;padding:0;border:0}.binding-config-panel[hidden],.binding-debug-panel[hidden],.binding-preview-panel[hidden],.binding-config-save-controls[hidden],.binding-config-debug-controls[hidden]{display:none}.binding-config-footer,.binding-config-debug-controls{width:100%;min-width:0}.binding-config-save-controls,.binding-debug-actions{display:flex;align-items:center;flex-wrap:wrap;gap:12px}.binding-config-save-controls .routing-checks{flex:1;margin:0;display:flex;flex-wrap:wrap;gap:10px 16px}.binding-debug-actions>.switch-label{flex:1 1 260px;margin-right:auto}.binding-config-footer .switch-label{margin-block:0;line-height:1.6}.binding-config-footer input[type=checkbox]{width:16px;height:16px;flex-shrink:0}.binding-config-footer button{min-height:44px;white-space:nowrap;flex-shrink:0}@media(max-width:640px){.binding-config-tabs{padding:8px 16px}.binding-config-tabs button{flex:1;min-height:44px}.binding-config-dialog .binding-config-tabs{gap:4px}.binding-config-dialog .binding-config-tabs button{min-width:0;padding-inline:6px;gap:4px;white-space:nowrap}.binding-config-dialog>.config-dialog-footer{padding:12px 16px}.binding-config-save-controls .routing-checks,.binding-debug-actions>.switch-label{flex-basis:100%}.binding-config-footer button{flex:1 1 132px}}.prompt-editor-dialog .config-dialog-body{display:flex;padding:20px 24px}.prompt-editor-dialog .expanded-prompt{flex:1;min-height:0;resize:none;margin:0;font-size:16px;line-height:1.9;padding:18px}.prompt-editor-dialog .config-dialog-footer>span{margin-right:auto}.delete-model-dialog{width:min(560px,calc(100vw - 32px));height:auto}.delete-model-dialog .config-dialog-body{padding:24px;line-height:1.9;font-size:15px}.delete-model-dialog .dialog-drag-icon,.delete-model-dialog .config-dialog-actions button:first-child{display:none}.model-picker-columns{grid-template-columns:178px minmax(0,1fr)}.model-group-list button{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block}.model-route-copy strong{white-space:nowrap;display:block;min-height:auto;text-overflow:ellipsis;overflow:hidden}.model-picker .model-route-list>button{min-height:82px;grid-template-columns:minmax(0,1fr) max-content;align-items:center}.model-route-list .route-price{width:auto;min-width:90px;display:flex;align-items:center;justify-content:flex-end;gap:8px}.model-choice-copy>small{white-space:nowrap;display:block;text-overflow:ellipsis;height:18px}.model-picker .model-route-heading{font-size:13px}.upload-zone+.error-box{margin-top:12px}@media(min-width:1001px){.creation-history{position:sticky;top:24px;height:calc(100dvh - 48px);min-height:0;overflow:hidden}.creation-history>.history-grid{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;align-content:start}.creation-history>.empty{flex:1;min-height:0}.creation-history>.pagination{flex-shrink:0;margin-top:auto;padding-top:16px}}.agent-home{padding-top:68px}.agent-home .agent-welcome{width:min(900px,100%);text-align:left;margin:0 auto 28px}.home-section-label{display:inline-flex;gap:8px;align-items:center;color:var(--accent);font-size:14px;font-weight:500}.agent-home .agent-welcome h1{font-size:clamp(28px,3vw,38px);letter-spacing:-.8px;margin:12px 0 10px;line-height:1.4}.agent-home .agent-welcome p{font-size:15px;line-height:1.7}.agent-home .agent-composer-wrap{max-width:900px}.agent-home .agent-composer{border-color:var(--line);border-radius:16px;box-shadow:0 8px 36px #45306908}.agent-home .composer-caption{color:var(--muted);font-size:14px;padding:18px 22px 0}.agent-home .agent-composer textarea{min-height:190px;font-size:16px;padding:18px 22px}.agent-home .composer-actions{border-top:1px solid var(--line);padding:14px;margin:0 8px 8px}.agent-home .quick-prompts{justify-content:flex-start;margin:18px 0 0}.agent-home .quick-prompts button{min-height:40px;font-size:13px}.agent-home .agent-pricing{color:var(--muted);font-size:12px;text-align:left;line-height:1.9;margin-top:12px}.agent-home>footer{border-top:0}@media(max-width:768px){.model-picker-columns{grid-template-columns:132px minmax(0,1fr)}.model-picker .model-route-list>button{grid-template-columns:minmax(0,1fr);min-height:110px}.model-route-list .route-price{width:100%;justify-content:space-between}.prompt-editor-dialog .config-dialog-body,.prompt-editor-dialog .config-dialog-footer{padding:12px}.agent-home{padding-top:54px}.agent-home .agent-welcome{margin-bottom:22px}.agent-home .agent-welcome p{font-size:14px}.agent-home .agent-composer textarea{min-height:180px;padding:16px}.agent-home .composer-caption{padding:16px 16px 0}.agent-home .composer-actions{padding:10px 6px;gap:6px}.agent-home .composer-actions .model-choice{max-width:none}.agent-home .model-choice-trigger{padding:10px;gap:6px}.agent-home .model-choice-trigger>.model-choice-icon{display:none}.agent-home .model-choice-trigger>b{min-width:64px}.agent-home .quick-prompts{gap:8px}}.storage-panel{border:1px solid var(--line);border-radius:12px;background:var(--panel);margin:0 0 24px;overflow:hidden}.storage-columns{display:grid;grid-template-columns:minmax(300px,1.4fr) repeat(2,minmax(230px,1fr));gap:28px;padding:24px}.storage-columns>div+div{border-left:1px solid var(--line);padding-left:28px}.storage-section-title,.storage-section-title>span,.storage-columns h3,.storage-admin-header{display:flex;align-items:center;gap:9px}.storage-section-title{justify-content:space-between;font-weight:600;font-size:15px}.storage-columns svg{color:var(--accent);flex-shrink:0}.storage-columns h3{font-size:15px;margin:5px 0 12px}.storage-columns h3 small{color:var(--muted);background:var(--soft);border-radius:5px;padding:3px 7px;font-size:12px;font-weight:400}.storage-columns p{font-size:14px;line-height:1.7;margin:9px 0}.storage-columns .small{font-size:12px}.storage-columns>div>button{width:100%;margin:4px 0;min-height:42px}.storage-amount{display:flex;gap:9px;align-items:baseline;margin-top:14px}.storage-amount strong{font-size:28px;letter-spacing:-.7px;font-variant-numeric:tabular-nums}.storage-amount>span,.storage-capacity-label{font-size:13px;color:var(--muted)}.storage-capacity-label{text-align:right;margin:0 0 8px}.storage-usage progress{display:block;appearance:none;width:100%;height:7px;border:0;border-radius:8px;background:var(--soft);overflow:hidden}.storage-usage progress::-webkit-progress-bar{background:var(--soft);border-radius:8px}.storage-usage progress::-webkit-progress-value{background:var(--accent);border-radius:8px}.storage-usage progress::-moz-progress-bar{background:var(--accent);border-radius:8px}.storage-rules{border-top:1px solid var(--line);padding:14px 24px;font-size:13px}.storage-rules summary{cursor:pointer;color:var(--muted)}.storage-rules summary span{margin-left:16px}.storage-rules>p{margin:14px 0;line-height:1.8}.storage-history{max-height:420px;margin-top:16px}.storage-history-title{margin:28px 0 14px}.storage-admin-form{padding:24px;border:1px solid var(--line);background:var(--panel);border-radius:12px}.storage-admin-header{align-items:flex-start;margin-bottom:24px}.storage-admin-header>svg{color:var(--accent);margin-top:2px}.storage-admin-header h3{font-size:18px;margin-bottom:8px}.storage-settings-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.storage-settings-grid label,#storage-grant label{display:flex;flex-direction:column;gap:8px;font-size:14px}.storage-switches{display:flex;gap:28px;margin:24px 0;flex-wrap:wrap}.storage-switches label{display:flex;align-items:center;gap:8px}.storage-switches input{width:18px;accent-color:var(--accent)}.storage-admin-form>p{margin:16px 0;line-height:1.8}.config-dialog.storage-confirm:not([data-fullscreen=true]){width:min(560px,calc(100vw - 32px));height:fit-content;max-height:calc(100dvh - 32px)}.storage-confirm .config-dialog-body.routing-editor{display:flex;flex-direction:column;flex:0 1 auto;gap:20px;padding:24px}.storage-confirm[data-fullscreen=true] .config-dialog-body{flex:1 1 auto}.storage-confirm .config-dialog-body>*{flex-shrink:0}#storage-grant{display:grid;gap:18px}.storage-grant-usage{padding:16px;border:1px solid var(--line);border-radius:10px;background:var(--soft)}.storage-grant-usage>div{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:8px;font-size:14px}.storage-grant-usage strong{font-size:18px;font-variant-numeric:tabular-nums}.storage-grant-usage small{font-size:13px;font-weight:400;color:var(--muted)}.storage-grant-usage progress{display:block;width:100%;height:6px;margin:14px 0 8px;accent-color:var(--accent)}.storage-confirm .config-dialog-body>p{line-height:1.8}.asset-open{width:100%;height:100%;display:flex;align-items:center;justify-content:center;padding:0;border:0;background:transparent;border-radius:0;position:relative}.asset-open:hover{background:transparent}.asset-open>img,.asset-open>video{height:100%;width:100%;object-fit:contain}.asset-audio-cover{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;color:var(--accent)}.asset-audio-cover>span{font-size:15px;font-weight:500}.asset-audio-cover>small{font-size:12px;color:var(--muted)}.asset-play-badge{position:absolute;display:flex;align-items:center;gap:7px;bottom:12px;padding:7px 12px;border-radius:6px;background:#17171ccc;color:#fff;font-size:13px}.asset-name{display:block;width:100%;padding:0;min-height:24px;border:0;background:transparent;border-radius:0;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:15px;font-weight:500}.asset-name:hover{background:transparent;color:var(--accent)}.asset-info>.asset-actions{display:flex;align-items:center;gap:4px;margin-top:10px;min-height:36px}.asset-actions .asset-kind{margin-right:auto;white-space:nowrap}.asset-info>.asset-actions>.icon{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;min-height:36px;padding:0;flex-shrink:0;line-height:1}.config-dialog.asset-viewer:not([data-fullscreen=true]){width:min(1160px,calc(100vw - 32px));height:min(840px,calc(100dvh - 40px))}.asset-viewer .config-dialog-header h2{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:min(800px,55vw)}.asset-viewer .config-dialog-body{display:flex;flex-direction:column;padding:20px;min-height:0}.asset-viewer-stage{flex:1;min-height:0;display:flex;align-items:center;justify-content:center;background:var(--soft);border-radius:8px;overflow:hidden}.asset-viewer-stage>img,.asset-viewer-stage>video{max-width:100%;max-height:100%;object-fit:contain}.asset-viewer-stage>video{width:100%;height:100%}.asset-audio-player{display:flex;width:min(600px,100%);align-items:center;flex-direction:column;gap:28px;padding:28px;color:var(--accent);min-width:0}.asset-audio-player strong{color:var(--ink);max-width:100%;overflow-wrap:anywhere;text-align:center}.asset-audio-player audio{width:100%}.asset-viewer .config-dialog-footer>span{margin-right:auto}@media(max-width:1200px){.storage-columns{grid-template-columns:1fr 1fr;gap:24px}.storage-columns>.storage-usage{grid-column:1/-1;padding:0 0 12px}.storage-columns>div:nth-child(2){border-left:0;padding-left:0}.storage-settings-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.storage-columns{grid-template-columns:1fr;padding:20px;gap:20px}.storage-columns>div+div{border-left:0;border-top:1px solid var(--line);padding:16px 0 0}.storage-rules{padding:14px 20px}.storage-rules summary span{display:block;margin:8px 0 0 14px}.storage-settings-grid{grid-template-columns:1fr}.storage-admin-form{padding:18px}.asset-viewer .config-dialog-footer{flex-wrap:wrap;gap:8px}.asset-viewer .config-dialog-footer>span{width:100%}.asset-viewer .config-dialog-body{padding:12px}.asset-audio-player{padding:18px}}.storage-admin-head{flex-wrap:wrap}.storage-admin-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;margin-left:auto}.storage-admin-actions button{white-space:nowrap}.admin-task-demo-toggle{gap:6px;white-space:nowrap}.admin-task-demo-toggle[aria-expanded=true]{color:var(--accent);border-color:var(--accent);background:var(--accent-soft)}.admin-task-demo-chevron{transition:transform .16s ease}.admin-task-demo-toggle[aria-expanded=true] .admin-task-demo-chevron{transform:rotate(180deg)}.admin-task-demo-tools,.admin-task-demo-tools>div{display:flex;align-items:center;flex-wrap:wrap;gap:10px}.admin-task-demo-tools{justify-content:space-between;padding:12px 16px;margin-bottom:16px;border:1px solid var(--line);background:var(--panel);border-radius:10px}.admin-task-demo-tools[hidden]{display:none}.admin-task-demo-tools p{display:flex;align-items:center;gap:8px;min-width:0;margin:0;font-size:13px;color:var(--muted)}.admin-task-demo-tools svg{color:var(--accent);flex-shrink:0}.admin-task-demo-label{display:inline-block;margin-right:7px;padding:2px 6px;border-radius:4px;font-size:12px;color:var(--accent);background:var(--accent-soft)}@media(max-width:768px){.admin-task-demo-tools{padding:12px}.admin-task-demo-tools>div{width:100%;gap:8px}.admin-task-demo-tools button{flex:1 1 auto;min-height:44px;white-space:nowrap}}@media(prefers-reduced-motion:reduce){.admin-task-demo-chevron{transition:none}}@media(max-width:600px){.storage-confirm .config-dialog-body.routing-editor{padding:20px}}@media(max-width:768px),(pointer:coarse){.asset-info>.asset-actions>.icon{width:44px;height:44px;min-height:44px}}.storage-switches label{flex-direction:row}:where(.media-frame){position:relative;display:block;width:100%;height:100%;min-width:0;min-height:0;overflow:hidden;background:var(--soft);isolation:isolate}.media-frame>.media-content{display:block;position:absolute;inset:0;width:100%;height:100%;opacity:0}.media-frame>.media-placeholder{display:flex;position:absolute;inset:0;align-items:center;justify-content:center;flex-direction:column;gap:8px;padding:8px;pointer-events:none;background:var(--soft);color:var(--muted);z-index:1}.media-placeholder:before{content:"";position:absolute;inset:0;background:var(--line);opacity:.35;animation:media-loading-pulse 1.5s ease-in-out infinite;z-index:-1}.media-placeholder>small{font-size:12px;font-weight:400}.media-frame[data-state=ready]>.media-placeholder{visibility:hidden}.media-frame[data-state=metadata]>.media-placeholder:before{animation:none}.media-frame[data-poster=true][data-state=loading]>.media-content{opacity:1}.media-frame[data-poster=true][data-state=loading]>.media-placeholder{background:transparent;justify-content:flex-end;padding-bottom:54px}.media-frame[data-poster=true][data-state=loading]>.media-placeholder:before{display:none}.media-frame[data-poster=true][data-state=loading]>.media-placeholder>small{padding:4px 10px;background:var(--panel);border-radius:6px}.asset-thumbnail-unavailable{width:100%;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;background:var(--soft);color:var(--muted)}.media-frame[data-state=error]>.media-placeholder:before,.media-frame[data-state=revealing]>.media-placeholder:before{animation:none}.asset-choice>.media-frame{height:150px}.reference-preview>.media-frame{border-radius:7px}.reference-thumb .media-placeholder>small{display:none}.result-media .media-frame{aspect-ratio:4 / 3;height:auto;max-height:360px}.asset-viewer-stage>.media-frame{flex:1;align-self:stretch}@keyframes media-loading-pulse{50%{opacity:.7}}@media(prefers-reduced-motion:reduce){.media-placeholder:before{animation:none}}.billing-groups-editor{min-width:0;padding:12px;border:1px solid var(--border, #e8e8eb);border-radius:8px}.balance-query-editor{border-top:1px solid var(--line);padding-top:4px;display:grid;gap:16px}.balance-query-editor h4{margin-bottom:0}.balance-query-editor p{line-height:1.7}.balance-query-source{padding:16px;border:1px solid var(--line);border-radius:8px;display:grid;gap:12px;min-width:0}.balance-query-source input{min-width:0;width:100%}.config-dialog.binding-switch-dialog:not([data-fullscreen=true]){width:min(1440px,calc(100vw - 40px))}.binding-switch-dialog>.config-dialog-body{display:flex;flex-direction:column;padding:0;overflow:hidden}.binding-switch-layout{display:grid;grid-template-columns:minmax(280px,.8fr) minmax(0,1.6fr);flex:1;min-height:0}.binding-switch-original{border-right:1px solid var(--line);background:var(--bg)}.binding-switch-layout>aside,.binding-switch-layout>form,.binding-switch-layout>section{min-width:0;overflow-y:auto;overscroll-behavior:contain;padding:24px}.binding-switch-load{display:flex;flex-direction:column;gap:20px}.binding-switch-load .error-box{overflow-wrap:anywhere}.binding-switch-heading{display:grid;gap:6px;padding-bottom:18px;border-bottom:1px solid var(--line)}.binding-switch-heading>span{font-size:12px;font-weight:600;color:var(--accent)}.binding-switch-heading>strong{font-size:18px;overflow-wrap:anywhere}.binding-switch-original dl{margin:16px 0;font-size:13px}.binding-switch-original dl>div{display:grid;grid-template-columns:90px minmax(0,1fr);gap:12px;padding:8px 0}.binding-switch-original dt{color:var(--muted)}.binding-switch-original dd{margin:0;overflow-wrap:anywhere}.binding-switch-original pre{font-size:12px;white-space:pre-wrap;overflow-wrap:anywhere}.binding-switch-original details{margin-top:20px}.binding-switch-rates{max-height:240px;overflow-y:auto;font-size:13px;font-variant-numeric:tabular-nums}.binding-switch-rates>div{display:flex;align-items:start;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid var(--line)}.binding-switch-rates>div>span:last-child{text-align:right;flex-shrink:0}.binding-switch-rates>div{flex-wrap:wrap}.binding-switch-rates small{line-height:1.5}.binding-switch-sections{display:flex;flex-wrap:wrap;gap:6px}.binding-switch-sections button{min-height:36px;padding:6px 12px;font-size:13px}.binding-switch-sections button:hover{color:var(--accent);border-color:var(--accent);background:var(--accent-soft)}.binding-switch-layout h4{scroll-margin-top:16px}.binding-switch-savebar{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-shrink:0;padding:16px 24px;border-top:1px solid var(--line);background:var(--panel)}.binding-switch-savebar>div{margin-right:auto;min-width:0;font-size:13px}.binding-switch-savebar small{margin-top:4px;line-height:1.5}.binding-switch-savebar button{min-height:44px;white-space:nowrap}.binding-switch-blockers{padding:12px 16px;border:1px solid var(--line);border-radius:8px;display:grid;gap:8px;font-size:13px}.binding-switch-blockers>div{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px}.binding-switch-blockers button{min-height:36px;padding:6px 10px;font-size:12px}.binding-switch-confirm{padding:14px;border:1px solid var(--line);border-radius:8px;line-height:1.6}@media(max-width:900px){.binding-switch-layout{display:flex;flex-direction:column;overflow-y:auto}.binding-switch-layout>aside,.binding-switch-layout>form,.binding-switch-layout>section{overflow:visible;padding:20px}.binding-switch-layout>aside,.binding-switch-layout>form{flex-shrink:0}.binding-switch-original{border-right:0;border-bottom:1px solid var(--line)}.binding-switch-blockers button,.binding-switch-sections button{min-height:44px}.binding-switch-savebar{flex-wrap:wrap;padding:12px 16px}.binding-switch-savebar>div{flex-basis:100%}}.billing-groups-editor summary{cursor:pointer;font-weight:500}.billing-group-row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr)) 40px;align-items:end;gap:8px;margin:12px 0}.billing-group-row label{min-width:0;display:flex;flex-direction:column;gap:4px}.billing-group-row input{width:100%;min-width:0}@media(max-width:768px){.billing-group-row{grid-template-columns:repeat(2,minmax(0,1fr))}.billing-group-row button{min-height:44px}}.media-audio{display:block;width:100%;min-width:0}.media-audio audio{width:100%}.media-audio small{display:block;color:var(--muted);margin-top:8px}.text-price-source{display:flex;flex-wrap:wrap;gap:8px 20px;padding:12px 0;border-bottom:1px solid var(--line);margin-bottom:12px}.text-price-source small{flex-basis:100%}.text-price-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px;margin:12px 0}.text-price-grid label,.token-cache-fields label{display:flex;flex-direction:column;gap:6px;min-width:0}.token-cache-fields .switch-label{flex-direction:row;align-items:center}.token-cache-fields{display:grid;gap:10px;padding:10px 0}.token-cache-cell{min-width:260px}.text-rate-tier{border-bottom:1px solid var(--line);padding:12px 0}.text-tier-heading{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;margin-bottom:8px}.text-conversion-rates details{margin:12px 0}.text-conversion-rates summary{cursor:pointer}.text-conversion-rates pre{max-height:240px;overflow:auto}@media(max-width:640px){.text-price-grid{grid-template-columns:1fr 1fr}.text-price-grid input,.token-cache-fields input,.text-conversion-rates button{min-height:44px}.text-tier-heading{align-items:flex-start}}@media(max-width:380px){.text-price-grid{grid-template-columns:1fr}}.text-price-pair{margin:0;min-width:0;border:1px solid var(--line);border-radius:8px;padding:10px;display:grid;gap:10px}.text-price-pair legend{padding:0 4px;font-size:13px}.sidebar-close{display:none}.asset-meta .asset-expiry:before{content:" · "}.mobile-model-sheet{position:fixed;inset:auto 0 0;width:100%;max-width:none;height:90dvh;max-height:calc(100dvh - max(12px,env(safe-area-inset-top)));min-height:0;margin:0;padding:0 0 env(safe-area-inset-bottom);border:1px solid var(--line);border-radius:20px 20px 0 0;background:var(--panel);color:var(--ink);box-shadow:0 -12px 48px #17122526;overflow:hidden}.mobile-model-sheet[open]{display:flex;flex-direction:column}.mobile-model-sheet::backdrop{background:#11101b66}.mobile-model-sheet-header{display:grid;grid-template-columns:44px minmax(0,1fr) 44px;align-items:center;gap:8px;padding:14px 12px;border-bottom:1px solid var(--line);flex-shrink:0}.mobile-model-sheet-header>svg{justify-self:center;color:var(--accent)}.mobile-model-sheet-header h2{margin:0;font-size:18px}.mobile-model-sheet-header p{margin:3px 0 0;font-size:12px;color:var(--muted);overflow-wrap:anywhere}.mobile-model-sheet-header .icon{width:44px;height:44px;min-height:44px}.mobile-model-options{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:2px 16px 16px;scrollbar-width:thin;scroll-padding-block:6px}.mobile-model-options>button{width:100%;display:grid;grid-template-columns:minmax(0,1fr) max-content;align-items:center;gap:12px;min-height:88px;margin-bottom:10px;padding:14px 12px;text-align:left;border-radius:10px}.mobile-model-options>button.selected{background:var(--accent-soft);border-color:var(--accent)}.mobile-model-option-copy{min-width:0}.mobile-model-option-copy strong{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere;font-size:14px;line-height:1.5}.mobile-model-option-copy small{display:block;margin-top:5px;color:var(--muted);font-size:12px;line-height:1.5;overflow-wrap:anywhere}.mobile-model-option-price{display:flex;flex-direction:column;align-items:flex-end;gap:4px;max-width:136px;color:var(--accent);font-size:13px;text-align:right;font-variant-numeric:tabular-nums}.mobile-model-option-price>small{font-size:12px;color:var(--muted)}.mobile-model-empty{padding:30px 12px;color:var(--muted);text-align:center;font-size:14px}.mobile-model-sheet>footer{padding:12px 16px;border-top:1px solid var(--line);color:var(--muted);font-size:12px;flex-shrink:0}@media(max-width:768px){.app-shell .sidebar{width:min(86vw,340px);max-width:calc(100vw - 48px);height:100dvh;bottom:auto;padding:max(16px,env(safe-area-inset-top)) 14px env(safe-area-inset-bottom);overflow:hidden}.sidebar .sidebar-heading{display:flex;align-items:center;gap:8px;padding-bottom:12px}.sidebar .brand{flex:1;min-width:0;padding:0 4px;font-size:20px}.sidebar .brand>span{min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.sidebar .sidebar-close{display:inline-flex;width:44px;height:44px;min-height:44px;flex-shrink:0}.sidebar-navigation .nav-label{margin:10px 12px 8px}.sidebar-navigation .nav-label.second{margin-top:20px}.sidebar-navigation .nav-item{min-width:0;min-height:44px}.sidebar .side-bottom{padding-bottom:0}.sidebar .sidebar-funds{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px}.record-history .record-history-header{gap:8px;padding-bottom:12px}.record-history-header h2{font-size:16px}.record-history-header h2 small{margin-left:4px}.record-history .record-header-actions{gap:2px;flex-wrap:nowrap}.record-history .record-header-actions button{min-width:44px;min-height:44px;padding:6px 8px}.record-history .record-refresh-label,.record-history .record-card-select{display:none}.record-history{min-height:0}.record-history .record-grid{padding-top:12px}.workspace-page .asset-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,168px),1fr));gap:12px}.workspace-page .asset-card{min-width:0;display:flex;flex-direction:column}.workspace-page .asset-preview{aspect-ratio:4 / 3;min-width:0;flex-shrink:0;overflow:hidden}.workspace-page .asset-preview .asset-open{position:absolute;inset:0;min-width:0}.workspace-page .asset-open>.media-frame{width:100%;height:100%;min-width:0;min-height:0}.workspace-page .asset-info{display:flex;flex-direction:column;flex:1;min-width:0;padding:10px}.workspace-page .asset-name{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;min-height:42px;max-height:42px;white-space:normal;overflow-wrap:anywhere;font-size:15px;line-height:1.4}.workspace-page .asset-meta{display:grid;gap:3px;line-height:1.5;overflow-wrap:anywhere}.workspace-page .asset-expiry:before{content:none}.workspace-page .asset-info>.asset-actions{display:grid;grid-template-columns:repeat(3,minmax(44px,1fr));gap:4px;margin-top:auto;padding-top:10px}.workspace-page .asset-actions .asset-kind{grid-column:1 / -1;margin:0 0 2px}.workspace-page .asset-info>.asset-actions>.icon{width:100%;height:44px;min-height:44px}.workspace-page .asset-play-badge{bottom:8px;gap:4px;padding:5px 8px;font-size:12px}}.enterprise-admin{max-width:1500px;margin:auto}.enterprise-toolbar,.enterprise-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.enterprise-toolbar{margin:24px 0}.enterprise-toolbar>input{max-width:320px}.enterprise-task-refresh-note{margin-left:auto;color:var(--muted);font-size:12px;line-height:1.7}.enterprise-actions button{font-size:12px;padding:7px 10px}.enterprise-connection{display:grid;grid-template-columns:1fr 1fr;gap:40px;background:var(--panel);border:1px solid var(--line);border-radius:16px;padding:28px;margin:24px 0}.enterprise-connection h2{display:flex;align-items:center;gap:8px;margin-top:6px}.enterprise-connection form,.enterprise-settings form{display:grid;gap:16px}.enterprise-settings{max-width:680px;background:var(--panel);padding:28px;border:1px solid var(--line);border-radius:16px}.enterprise-admin label{display:grid;gap:6px;font-size:13px}.enterprise-admin .check-row{display:flex;align-items:center;gap:10px}.check-row input{width:auto}.enterprise-key{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line);padding:12px 0}.enterprise-pager{display:flex;justify-content:flex-end;align-items:center;gap:12px;margin-top:18px;font-size:13px}.block{display:block}.enterprise-admin .table-scroll td{vertical-align:middle}.enterprise-admin .table-scroll input{min-width:120px;max-width:200px}.enterprise-admin .section-heading{display:block}.enterprise-admin .section-heading h2{margin-bottom:4px}.enterprise-admin .warning-box{max-width:580px}@media(max-width:780px){.enterprise-connection{grid-template-columns:1fr;gap:16px;padding:20px}.enterprise-admin .admin-tabs{flex-wrap:nowrap;overflow:auto}.enterprise-toolbar>input{max-width:100%}}.enterprise-preview-notice{padding:9px 24px;background:var(--accent-soft);color:var(--accent);border-bottom:1px solid var(--line);font-size:12px}.enterprise-model-select .select-trigger{width:100%;min-width:220px}.enterprise-admin .page-title{margin-bottom:20px}.enterprise-admin .admin-tabs{gap:4px;margin-bottom:24px;border-bottom:1px solid var(--line);padding-bottom:12px}.enterprise-admin .admin-tabs button{min-height:44px;padding:10px 12px;font-size:13px;white-space:nowrap}.enterprise-provider-card,.enterprise-panel{background:var(--panel);border:1px solid var(--line);border-radius:12px}.enterprise-provider-card{overflow:hidden;margin-bottom:20px}.enterprise-provider-identity{display:flex;align-items:center;gap:12px;padding:24px 24px 18px}.enterprise-provider-identity h2{margin:0 0 6px;font-size:20px}.enterprise-provider-identity p{margin:0;font-size:13px;overflow-wrap:anywhere}.enterprise-provider-icon{width:44px;height:44px;display:grid;place-items:center;color:var(--accent);border:1px solid var(--line);border-radius:10px;flex-shrink:0}.enterprise-provider-identity>.enterprise-status{margin-left:auto}.enterprise-status{display:inline-flex;align-items:center;padding:4px 8px;border-radius:6px;font-size:12px;background:var(--bg);color:var(--muted);white-space:nowrap}.enterprise-status.ready{color:var(--accent);background:var(--accent-soft)}.enterprise-provider-facts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));padding:0 24px 20px;gap:16px}.enterprise-provider-facts>div{display:grid;gap:8px;border-left:1px solid var(--line);padding-left:16px}.enterprise-provider-facts>div:first-child{border-left:0;padding-left:0}.enterprise-provider-facts span{color:var(--muted);font-size:12px}.enterprise-provider-facts strong{font-size:14px;font-weight:500;font-variant-numeric:tabular-nums}.enterprise-provider-footer{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:16px;padding:16px 24px;border-top:1px solid var(--line);background:var(--bg)}.enterprise-provider-footer>span{max-width:480px;font-size:12px;line-height:1.6}.enterprise-actions button{min-height:44px;font-size:13px;padding:10px 12px}.enterprise-success{display:flex;align-items:center;gap:8px;color:var(--accent);font-size:13px;margin:12px 0}.enterprise-sync-summary{padding:12px 16px;border-left:2px solid var(--accent);font-size:13px;color:var(--muted);line-height:1.7;background:var(--panel)}.enterprise-section-title{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:24px 0 16px}.enterprise-section-title h2{font-size:19px;margin:0 0 6px}.enterprise-section-title p{margin:0;font-size:13px;line-height:1.6}.enterprise-section-title button{min-height:44px;white-space:nowrap}.enterprise-model-filters{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:16px}.enterprise-search{display:flex!important;align-items:center;gap:8px;flex:1;min-width:220px;border:1px solid var(--line);background:var(--panel);border-radius:8px;padding-left:12px;color:var(--muted)}.enterprise-search input{border:0;background:transparent;min-width:0;box-shadow:none}.enterprise-model-filters .select{min-width:140px}.enterprise-model-table td{padding-top:14px;padding-bottom:14px}.enterprise-model-table td:nth-child(2){min-width:240px;max-width:420px;overflow-wrap:anywhere}.enterprise-model-table .enterprise-model-order-cell{display:flex;align-items:center;gap:8px}.enterprise-model-order-cell>div{min-width:0}.enterprise-order-handle{display:inline-flex;align-items:center;justify-content:center;flex:0 0 44px;width:44px;height:44px;min-height:44px;padding:0;border-color:transparent;background:transparent;color:var(--muted);cursor:grab;touch-action:none;-webkit-user-select:none;user-select:none}.enterprise-order-handle:active{cursor:grabbing;color:var(--accent)}.enterprise-order-handle:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.enterprise-order-handle:disabled{cursor:default}:is(.enterprise-model-table,.enterprise-group-table) tr[data-dragging=true]{opacity:.5}:is(.enterprise-model-table,.enterprise-group-table) tr[data-drop-position=before]>td{box-shadow:inset 0 2px var(--accent)}:is(.enterprise-model-table,.enterprise-group-table) tr[data-drop-position=after]>td{box-shadow:inset 0 -2px var(--accent)}.enterprise-model-order-note{margin:0 0 16px}.enterprise-model-table table{min-width:1080px}.enterprise-model-table .enterprise-actions{min-width:260px}.enterprise-model-table th:first-child,.enterprise-model-table td:first-child{width:76px;min-width:76px;padding-inline:12px;text-align:center}.enterprise-model-table tr[data-selected=true]{background:var(--accent-soft)}.enterprise-admin .enterprise-model-checkbox{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-width:44px;min-height:44px;margin:0;font-size:12px;cursor:pointer}.enterprise-model-checkbox input[type=checkbox]{width:16px;min-width:16px;max-width:16px;height:16px;min-height:16px;margin:0;padding:0;accent-color:var(--accent)}.enterprise-model-checkbox input:focus-visible{outline:2px solid var(--accent);outline-offset:4px}.enterprise-model-bulk-toolbar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;padding:12px 16px;border:1px solid var(--line);border-radius:8px;background:var(--panel);margin-bottom:12px;font-size:13px}.enterprise-model-bulk-toolbar>div:first-child{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px}.enterprise-model-bulk-toolbar strong{color:var(--accent);font-weight:500;font-variant-numeric:tabular-nums}.enterprise-model-bulk-toolbar small{color:var(--muted);font-size:12px}.enterprise-model-bulk-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.enterprise-model-bulk-actions button,.enterprise-model-bulk-actions .select-trigger{min-height:44px;font-size:13px}.enterprise-model-bulk-actions .select-trigger{width:164px}.enterprise-model-delete-note{margin:0 0 16px}.enterprise-model-bulk-dialog{width:min(760px,calc(100vw - 32px))}.enterprise-model-bulk-dialog .config-dialog-body.routing-editor{padding:20px 24px}.enterprise-model-bulk-dialog .config-dialog-actions .icon{min-height:44px;min-width:44px}.enterprise-model-bulk-dialog .enterprise-dialog-form{margin-block:16px}@media(max-width:600px){.enterprise-model-bulk-toolbar{padding:12px}.enterprise-model-bulk-actions{width:100%}.enterprise-model-bulk-actions .select-trigger{flex:1;min-width:148px}.enterprise-model-bulk-dialog .config-dialog-body.routing-editor{padding:16px}}.enterprise-model-table small{margin-top:6px}.enterprise-money{font-variant-numeric:tabular-nums}.enterprise-connection-dialog{width:min(600px,calc(100vw - 32px))}.enterprise-connection-dialog:not([data-fullscreen=true]),.enterprise-price-dialog:not([data-fullscreen=true]),.enterprise-confirm-dialog:not([data-fullscreen=true]){height:fit-content;max-height:calc(100dvh - 48px)}.enterprise-confirm-dialog{width:min(520px,calc(100vw - 32px))}.enterprise-model-filters>.select-trigger{flex:0 0 160px;width:160px;min-height:44px}.enterprise-model-filters .enterprise-search{flex-direction:row;width:auto}.enterprise-model-filters .enterprise-search input{flex:1;width:100%}.enterprise-dialog-form{display:grid;gap:16px}.enterprise-dialog-form label{display:grid;gap:8px;font-size:13px}.enterprise-dialog-form input{min-height:44px}.config-dialog.enterprise-employee-dialog:not([data-fullscreen=true]){width:min(560px,calc(100vw - 32px));height:fit-content;max-height:calc(100dvh - 32px)}.enterprise-employee-dialog .config-dialog-header{gap:12px;padding:18px 20px}.enterprise-employee-dialog .config-dialog-header h2{font-size:18px}.enterprise-employee-dialog .config-dialog-header p{font-size:12px;line-height:1.6}.enterprise-employee-dialog-icon{flex-shrink:0;color:var(--accent)}.enterprise-employee-dialog .config-dialog-actions .icon{min-width:44px;width:44px;height:44px;min-height:44px}.enterprise-employee-dialog .config-dialog-body.routing-editor{flex:0 1 auto;padding:24px}.enterprise-employee-dialog[data-fullscreen=true] .config-dialog-body.routing-editor{flex:1 1 auto}.enterprise-employee-form{display:grid;gap:20px;width:100%;max-width:640px;margin:0 auto}.enterprise-employee-fields{display:grid;gap:20px;min-width:0;margin:0;padding:0;border:0}.enterprise-employee-form .enterprise-employee-fields label{display:grid;gap:8px;font-size:13px}.enterprise-employee-fields input{width:100%;min-width:0;min-height:44px;font-size:14px}.enterprise-employee-target{display:grid;gap:4px;padding:12px 14px;border:1px solid var(--line);border-radius:8px;background:var(--bg)}.enterprise-employee-target>span{color:var(--muted);font-size:12px}.enterprise-employee-target strong{font-size:14px;font-weight:500;overflow-wrap:anywhere}.enterprise-employee-password-field{display:grid;gap:8px}.enterprise-employee-password{position:relative;display:flex;align-items:center}.enterprise-employee-password input{padding-right:48px}.enterprise-employee-password .icon{position:absolute;right:0;top:0;width:44px;min-width:44px;height:44px;min-height:44px}.enterprise-employee-hint{margin:0;color:var(--muted);font-size:12px;line-height:1.6}.enterprise-employee-guidance{display:flex;align-items:flex-start;gap:8px;margin:0;padding:12px 14px;border:1px solid var(--line);border-radius:8px;background:var(--bg);color:var(--muted);font-size:12px;line-height:1.7}.enterprise-employee-guidance svg{flex-shrink:0;margin-top:2px;color:var(--accent)}.enterprise-employee-dialog .config-dialog-footer{padding:16px 24px}@media(max-width:600px){.enterprise-employee-dialog .config-dialog-header{padding:16px;gap:8px}.enterprise-employee-dialog .config-dialog-body.routing-editor{padding:20px 16px}.enterprise-employee-dialog .config-dialog-footer{padding:12px 16px;gap:8px}.enterprise-employee-dialog .config-dialog-footer>button{flex:1}}.enterprise-current-key{display:flex;justify-content:space-between;border:1px solid var(--line);background:var(--bg);padding:14px;border-radius:8px;font-size:13px}.enterprise-current-key strong{font-weight:500}.enterprise-secret-field{display:flex;position:relative}.enterprise-secret-field input{padding-right:48px;width:100%;min-width:0}.enterprise-secret-field button{position:absolute;right:0;top:0;height:44px;width:44px}.enterprise-inline-note{display:flex;align-items:flex-start;gap:8px;color:var(--muted);font-size:12px;line-height:1.7;margin:0}.enterprise-inline-note svg{flex-shrink:0;margin-top:2px}.enterprise-subtabs{display:flex;gap:4px;border-bottom:1px solid var(--line);margin:0 0 24px;overflow:auto}.enterprise-subtabs button{min-height:44px;border:0;border-bottom:2px solid transparent;border-radius:0;background:none;white-space:nowrap}.enterprise-subtabs button[aria-pressed=true]{border-bottom-color:var(--accent);color:var(--accent)}.enterprise-model-tabs{margin-top:24px;margin-bottom:0}.enterprise-model-tabs button{padding-inline:20px;font-size:14px}.enterprise-group-table table{min-width:900px}.enterprise-group-order-cell{display:flex;align-items:center;gap:8px;min-width:88px;font-variant-numeric:tabular-nums}.enterprise-group-table td{padding-block:14px;vertical-align:middle}.enterprise-group-table td:nth-child(2){min-width:200px;overflow-wrap:anywhere}.enterprise-group-table small{margin-top:6px}.enterprise-group-table .enterprise-actions{flex-wrap:nowrap}.enterprise-group-table .enterprise-actions button{white-space:nowrap}.enterprise-group-dialog .config-dialog-actions .icon{min-width:44px;min-height:44px}.enterprise-group-dialog .enterprise-dialog-form{padding-top:12px}.enterprise-group-dialog .enterprise-dialog-form>.enterprise-group-enabled{display:flex;flex-direction:row;align-items:center;gap:10px;min-height:44px}.enterprise-group-dialog .enterprise-group-enabled input{width:18px;height:18px;min-height:18px;margin:0}.enterprise-api-grid{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(280px,1fr);gap:20px;align-items:start}.enterprise-panel{padding:24px;min-width:0}.enterprise-panel-heading{display:flex;gap:12px;align-items:flex-start;margin-bottom:24px}.enterprise-panel-heading>svg{color:var(--accent);margin-top:2px}.enterprise-panel h3{font-size:17px;margin:0 0 8px}.enterprise-panel-heading p{margin:0;font-size:13px}.enterprise-switch-row{display:flex!important;flex-direction:row;align-items:center;justify-content:space-between;gap:16px;padding-bottom:20px;border-bottom:1px solid var(--line)}.enterprise-switch-row small{margin-top:6px;line-height:1.6}.enterprise-switch-row input{width:18px;min-height:18px}.enterprise-limit-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.enterprise-limit-fields input{font-variant-numeric:tabular-nums}.enterprise-limit-fields small{line-height:1.6;font-size:12px}.enterprise-form-footer{display:flex;justify-content:flex-end;gap:8px;padding-top:16px;border-top:1px solid var(--line)}.enterprise-form-footer button{min-height:44px}.enterprise-access-guide>svg{color:var(--accent);margin-bottom:16px}.enterprise-access-guide p{font-size:13px;line-height:1.7}.enterprise-access-guide label{margin:20px 0 12px}.enterprise-access-guide code{padding:12px;border:1px solid var(--line);border-radius:8px;background:var(--bg);overflow-wrap:anywhere;font-size:12px}.enterprise-access-guide hr{border:0;border-top:1px solid var(--line);margin:24px 0}.enterprise-access-guide h4{margin:0 0 12px}.enterprise-text-link{display:inline-flex;align-items:center;min-height:44px;gap:6px;color:var(--accent);font-size:13px}.enterprise-api-page .tools-admin{margin-top:0;border-radius:12px}.enterprise-price-dialog{width:min(1000px,calc(100vw - 32px))}.enterprise-price-dialog .config-dialog-body.routing-editor{padding:20px 24px 24px}.enterprise-pricing-form{display:grid;gap:16px}.enterprise-pricing-identity{display:grid;gap:6px}.enterprise-pricing-identity h3{margin:0;font-size:18px;line-height:1.5;overflow-wrap:anywhere}.enterprise-pricing-identity>span{font-size:12px}.enterprise-pricing-availability{display:flex;align-items:center;justify-content:space-between;gap:20px;border:1px solid var(--line);border-radius:8px;background:var(--bg);padding:16px}.enterprise-pricing-availability strong{font-size:14px;font-weight:500}.enterprise-pricing-availability p{margin:6px 0 0;font-size:12px;color:var(--muted);line-height:1.6}.enterprise-pricing-toggle{display:flex;align-items:center;gap:8px;flex-shrink:0;font-size:12px;color:var(--muted)}.enterprise-pricing-switch{position:relative;display:flex;align-items:center;width:52px;min-width:52px;height:44px;padding:0 4px;border:0;background:none;box-shadow:none}.enterprise-pricing-switch:before{content:"";width:44px;height:26px;border-radius:20px;background:var(--muted)}.enterprise-pricing-switch>span{position:absolute;left:7px;top:12px;width:20px;height:20px;border-radius:50%;background:#fff;transition:transform .16s ease}.enterprise-pricing-switch[aria-checked=true]:before{background:var(--accent)}.enterprise-pricing-switch[aria-checked=true]>span{transform:translate(18px)}.enterprise-pricing-switch:hover{background:none}.enterprise-pricing-switch:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.enterprise-pricing-heading{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;margin-top:4px}.enterprise-pricing-heading h3{margin:0;font-size:15px}.enterprise-pricing-heading p{margin:6px 0 0;color:var(--muted);font-size:12px;line-height:1.6}.enterprise-pricing-heading>span{font-size:12px;font-variant-numeric:tabular-nums}.enterprise-pricing-filters{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.enterprise-pricing-filters .select-trigger{width:180px;min-height:44px}.enterprise-pricing-filters>button{min-height:44px;font-size:13px}.enterprise-pricing-table{max-height:min(48dvh,480px);border:1px solid var(--line);border-radius:8px;overflow:auto}.enterprise-pricing-table table{width:100%;min-width:680px;margin:0}.enterprise-pricing-table th{position:sticky;top:0;z-index:1;background:var(--bg);padding:12px 16px;font-size:12px}.enterprise-pricing-table td{padding:12px 16px;font-size:13px;vertical-align:middle}.enterprise-pricing-table th:first-child{width:26%}.enterprise-pricing-table th:last-child{width:24%}.enterprise-pricing-rate+.enterprise-pricing-rate{border-top:2px solid var(--line)}.enterprise-pricing-table .enterprise-pricing-condition{vertical-align:top}.enterprise-pricing-condition strong{font-size:13px;font-weight:500}.enterprise-pricing-condition small,.enterprise-pricing-table td>small{display:block;margin-top:6px;color:var(--muted);font-size:12px;line-height:1.5}.enterprise-pricing-cost{color:var(--muted);font-variant-numeric:tabular-nums;white-space:nowrap}.enterprise-pricing-input{display:flex;align-items:center;position:relative;min-width:140px}.enterprise-pricing-input>span{position:absolute;left:12px;color:var(--muted);font-size:13px;pointer-events:none}.enterprise-pricing-input input{width:100%;min-width:0;min-height:44px;padding-left:28px;font-size:14px;font-variant-numeric:tabular-nums}.enterprise-pricing-empty{text-align:center;padding:24px;color:var(--muted);font-size:13px}.enterprise-pricing-save-note{margin-right:auto;font-size:12px;color:var(--muted)}.enterprise-price-dialog .config-dialog-footer button{min-height:44px}.enterprise-connection-dialog .config-dialog-actions .icon,.enterprise-price-dialog .config-dialog-actions .icon{min-width:44px;min-height:44px}@media(prefers-reduced-motion:reduce){.enterprise-pricing-switch>span{transition:none}}@media(max-width:680px){.enterprise-price-dialog .config-dialog-body.routing-editor{padding:16px}.enterprise-pricing-availability{gap:8px;padding:12px}.enterprise-pricing-toggle{gap:0}.enterprise-pricing-filters .select-trigger{flex:1 1 140px;width:auto}.enterprise-pricing-table{max-height:52dvh}.enterprise-pricing-table table{min-width:0}.enterprise-pricing-table thead{display:none}.enterprise-pricing-table tbody,.enterprise-pricing-table tr{display:block}.enterprise-pricing-table tr{padding:12px;border-bottom:1px solid var(--line)}.enterprise-pricing-table td{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:4px 0;border:0}.enterprise-pricing-table td:before{content:attr(data-label);color:var(--muted);font-size:12px;flex-shrink:0}.enterprise-pricing-table td:nth-child(2)>small{margin:0 auto 0 0}.enterprise-pricing-table .enterprise-pricing-condition{display:block;padding-bottom:12px;margin-bottom:8px;border-bottom:1px solid var(--line)}.enterprise-pricing-condition:before{display:none}.enterprise-pricing-condition small{display:inline-block;margin:6px 12px 0 0}.enterprise-pricing-input{width:60%}.enterprise-pricing-save-note{flex-basis:100%}.enterprise-price-dialog .config-dialog-footer{flex-wrap:wrap}}@media(max-width:1100px){.enterprise-api-grid{grid-template-columns:1fr}.enterprise-limit-fields{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:600px){.enterprise-provider-identity{padding:16px;flex-wrap:wrap}.enterprise-provider-identity h2{font-size:18px}.enterprise-provider-facts{grid-template-columns:1fr 1fr;padding:0 16px 16px}.enterprise-provider-facts>div:nth-child(3){border-left:0;padding-left:0}.enterprise-provider-footer{padding:16px}.enterprise-provider-footer .enterprise-actions{width:100%}.enterprise-provider-footer button{flex:1;justify-content:center}.enterprise-panel{padding:16px}.enterprise-limit-fields{grid-template-columns:1fr}.enterprise-section-title{align-items:flex-start}.enterprise-model-filters>*{flex:1}.enterprise-model-filters>.select-trigger{flex:1 1 140px;width:auto}.enterprise-model-filters .enterprise-search{flex-basis:100%}.enterprise-model-table{max-width:100%}}.enterprise-admin [hidden]{display:none!important}.enterprise-admin .admin-tabs{gap:4px;padding-bottom:12px;border-bottom:1px solid var(--line)}.enterprise-admin .admin-tabs button,.enterprise-admin .enterprise-toolbar button{min-height:44px}.enterprise-job-filters{margin:24px 0 16px;border:1px solid var(--line);border-radius:12px;background:var(--panel);padding:16px}.enterprise-job-filters .enterprise-toolbar{margin:0}.enterprise-job-filters .enterprise-search{flex:1;min-width:220px}.enterprise-job-advanced{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;padding-top:16px;margin-top:16px;border-top:1px solid var(--line)}.enterprise-job-advanced label{display:grid;align-content:start;gap:8px;font-size:12px;color:var(--muted);min-width:0}.enterprise-job-advanced input,.enterprise-job-advanced .select-trigger{width:100%;min-height:44px;color:var(--ink)}.enterprise-job-advanced>label:last-child{grid-column:span 2}.enterprise-compact-dialog{width:min(560px,calc(100vw - 32px))}.enterprise-delivery-dialog{width:min(760px,calc(100vw - 32px))}.config-dialog.enterprise-compact-dialog:not([data-fullscreen=true]),.config-dialog.enterprise-delivery-dialog:not([data-fullscreen=true]){height:auto;max-height:calc(100dvh - 48px)}.enterprise-compact-dialog .config-dialog-body.routing-editor,.enterprise-delivery-dialog .config-dialog-body.routing-editor{padding:20px 24px;display:grid;gap:16px}.enterprise-compact-dialog .config-dialog-body>label{display:grid;gap:8px}.enterprise-compact-dialog .config-dialog-footer,.enterprise-delivery-dialog .config-dialog-footer{flex-wrap:wrap}.enterprise-compact-dialog button,.enterprise-delivery-dialog button,.enterprise-compact-dialog input,.enterprise-delivery-dialog input{min-height:44px}.enterprise-compact-dialog p{margin:0;line-height:1.7}.enterprise-compact-dialog .enterprise-key{padding:12px 0;border-bottom:1px solid var(--line)}@media(max-width:900px){.enterprise-job-advanced{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.enterprise-job-filters{padding:12px}.enterprise-job-filters .enterprise-toolbar>*{flex:1 1 auto}.enterprise-job-filters .enterprise-search{flex-basis:100%}.enterprise-job-advanced{grid-template-columns:1fr}.enterprise-job-advanced>label:last-child{grid-column:auto}.enterprise-compact-dialog .config-dialog-body.routing-editor,.enterprise-delivery-dialog .config-dialog-body.routing-editor{padding:16px}.enterprise-compact-dialog .config-dialog-footer button,.enterprise-delivery-dialog .config-dialog-footer button{flex:1 1 auto}}
