:root{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Microsoft YaHei,sans-serif;color:#1f2937;background:#f5f6f8;font-size:14px;line-height:1.55;--ink:#1f2937;--muted:#78838f;--primary:#2563eb;--line:#e5e7eb}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{opacity:.45;cursor:not-allowed}a{color:var(--primary);text-decoration:none}a:hover{text-decoration:underline}button,input,select,textarea,a{outline-offset:3px}button:focus-visible,a:focus-visible{outline:2px solid #93b4ff}input,select,textarea{width:100%;min-height:39px;padding:8px 10px;background:#fff;border:1px solid #d7dce2;border-radius:5px;color:var(--ink)}input:hover,select:hover,textarea:hover{border-color:#aebac7}input:focus,select:focus,textarea:focus{border-color:#729bf1;outline:2px solid #2563eb12}input[type=checkbox]{width:15px;height:15px;min-height:0;margin:0 8px 0 0;vertical-align:middle;accent-color:var(--primary)}textarea{resize:vertical;min-height:86px}label{display:block;font-size:12px;font-weight:550;margin-bottom:6px;color:#485361}label small{font-weight:400;color:var(--muted)}.field{margin-bottom:17px;min-width:0}.hint,.muted{font-size:12px;color:var(--muted)}.hint{margin-top:6px;line-height:1.6}.btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:8px 13px;min-height:35px;border:1px solid #d7dce2;border-radius:5px;background:#fff;color:#374151;font-size:12px;font-weight:500;white-space:nowrap}.btn:hover{background:#f6f8fb;border-color:#b7c2cf;text-decoration:none}.btn.primary{background:var(--primary);border-color:var(--primary);color:#fff}.btn.primary:hover{background:#1d4ed8}.btn.danger{color:#dc2626;border-color:#e8caca}.btn.small{padding:5px 9px;min-height:29px;font-size:12px}.btn svg{width:14px;height:14px}.btn.full{width:100%}.icon-btn{display:inline-grid;place-items:center;width:28px;height:28px;border:1px solid #e1e6ed;background:#fff;color:#64748b;border-radius:4px;flex-shrink:0}.icon-btn:hover{color:#1d4ed8;background:#eff5ff}.icon-btn svg{width:15px;height:15px}.subtle-link{background:none;border:0;padding:0;font-size:12px;color:var(--primary);cursor:pointer}.actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.hide{display:none!important}.nowrap{white-space:nowrap}.error-text{color:#dc2626}.money{font-variant-numeric:tabular-nums;font-weight:550;color:#334155}code,pre{font-family:Cascadia Code,Consolas,monospace;font-size:12px}pre{margin:0;padding:16px;background:#f7f9fc;color:#334155;white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word;overflow:visible;max-height:none;line-height:1.85;border-radius:5px}.footnote,.callout{font-size:12px;color:#5c6c82;margin:18px 0 0}.form-note,.notice{padding:11px 14px;border:1px solid #dce5f3;background:#f4f7fc;border-radius:5px;color:#5e718a;font-size:12px;line-height:1.65;margin:14px 0}.notice{margin:0 0 20px}.form-note.warning{border-color:#ecdfbf;background:#fffcf3;color:#8a6d32}.error-note{margin:14px 0;padding:12px 14px;background:#fef4f3;border:1px solid #f0d4d1;border-radius:5px;color:#a13c3c;font-size:12px;overflow-wrap:anywhere}.error-note p{margin:6px 0 0}.boot{padding:65px 20px;text-align:center;color:#5c6c82;font-size:12px}.spinner{width:27px;height:27px;border:2px solid #e5eaf0;border-top-color:#5b82cf;border-radius:50%;animation:spin 1s linear infinite;margin:0 auto 18px}@keyframes spin{to{transform:rotate(360deg)}}.login-page{min-height:100vh;display:grid;place-items:center;padding:30px;background:#f5f6f8}.login-box{width:370px;max-width:100%;padding:34px;background:#fff;border:1px solid #e3e7ec;border-radius:9px;box-shadow:0 3px 15px #23334d06}.login-brand{display:flex;align-items:center;justify-content:center;gap:12px}.login-brand img{width:43px;height:43px;object-fit:contain}.login-brand h1{font-size:25px;letter-spacing:-.4px;font-weight:650;margin:0;color:#1f2937}.login-subtitle{text-align:center;margin:10px 0 28px;font-size:13px;color:#5c6c82}.login-note{text-align:center;font-size:12px;line-height:2;margin:23px 0 0;color:#5c6c82}.login-error{color:#c54b4b;font-size:12px;margin:8px 0}.app{display:grid;grid-template-columns:218px minmax(0,1fr);min-height:100vh}.sidebar{width:218px;position:fixed;inset:0 auto 0 0;background:#fff;border-right:1px solid #e2e6ec;padding:22px 14px;display:flex;flex-direction:column;z-index:8}.brand{display:flex;align-items:center;gap:10px;padding:0 10px 25px;font-size:19px;font-weight:650;color:#253242}.brand img{width:34px;height:34px;object-fit:contain}.brand small{display:block;color:#5c6c82;font-size:12px;font-weight:400;letter-spacing:.2px;margin-top:-1px}.nav-section{font-size:12px;color:#5c6c82;margin:15px 13px 7px}.nav-btn{border:0;background:none;width:100%;padding:10px 13px;display:flex;align-items:center;gap:12px;border-radius:5px;color:#66717f;font-size:12px;line-height:1.5;text-align:left;margin:2px 0}.nav-btn:hover{background:#f6f8fb;color:#24364b}.nav-btn.active{background:#edf3ff;color:#2563eb;font-weight:550}.nav-btn svg{width:17px;height:17px;flex-shrink:0}.sidebar-foot{margin-top:auto;padding-top:26px}.sidebar-account{border-top:1px solid #edf0f4;padding:17px 11px 0;font-size:12px;color:#5c6c82}.sidebar-account strong{display:block;overflow-wrap:anywhere;font-size:12px;font-weight:500;color:#5b6877;margin-bottom:3px}.sidebar-account .btn{margin-top:12px;width:100%;font-size:12px;min-height:31px;color:#6b7684}.main{grid-column:2;min-width:0}.topbar{display:flex;align-items:center;justify-content:space-between;gap:14px;height:62px;padding:0 30px;background:#fff;border-bottom:1px solid var(--line)}.breadcrumb{font-size:12px;color:#5c6c82}.breadcrumb strong{font-weight:500;color:#647185}.balance{display:flex;align-items:center;gap:13px;font-size:12px;color:#5c6c82}.balance b{font-size:15px;color:#3d4b5e;font-weight:600;font-variant-numeric:tabular-nums}.content{max-width:1680px;padding:27px 30px 45px;margin:auto}.page-head{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:23px}.page-head h1{font-size:23px;font-weight:600;letter-spacing:-.5px;line-height:1.4;margin:0 0 5px}.page-head p{font-size:12px;color:#5c6c82;margin:0}.card{background:#fff;border:1px solid var(--line);border-radius:7px;overflow:hidden}.card+.card{margin-top:22px}.card-head{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:17px 20px;border-bottom:1px solid #e9edf2}.card-head h2{font-size:13px;font-weight:600;margin:0}.card-body{padding:21px}.empty{padding:45px 22px;text-align:center;font-size:12px;color:#5c6c82;line-height:1.8}.empty strong{display:block;color:#5f6e80;font-size:14px;font-weight:500;margin-bottom:5px}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:23px}.stats>.card+.card{margin:0}.stat{padding:19px 21px;min-height:118px}.stat-label{font-size:12px;color:#5c6c82}.stat-value{font-size:27px;color:#334155;font-weight:600;letter-spacing:-.7px;line-height:1.3;margin:7px 0;font-variant-numeric:tabular-nums}.stat-value small{font-size:12px;font-weight:400;letter-spacing:0;margin-left:4px}.stat-sub{font-size:12px;color:#5c6c82;line-height:1.6}.section-title{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:25px 0 12px}.section-title h2{font-size:13px;font-weight:600;margin:0}.health-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin-bottom:23px}.health-grid>.card+.card{margin:0}.channel-card{padding:18px}.channel-title{display:flex;justify-content:space-between;align-items:center;gap:10px}.channel-title h3{font-size:13px;margin:0;font-weight:600}.channel-description{font-size:12px;color:#5c6c82;line-height:1.65;margin:8px 0;white-space:pre-line;overflow-wrap:anywhere}.badge{display:inline-flex;align-items:center;gap:5px;padding:3px 7px;border-radius:4px;background:#f1f3f6;color:#5c6c82;font-size:12px;white-space:nowrap;font-weight:400}.badge:before{content:"";display:block;width:5px;height:5px;border-radius:50%;background:currentColor}.badge.healthy,.badge.succeeded{color:#31815d;background:#eef7f1}.badge.unhealthy,.badge.failed{color:#bf5d57;background:#fdf0ee}.badge.running,.badge.queued{color:#4b7db9;background:#eef4fb}.badge.uncertain,.badge.stale{color:#5c6c82;background:#fff8e8}.uptime{display:flex;gap:3px;height:23px;margin:17px 0 12px}.tick{flex:1;min-width:2px;background:#eef1f4;border-radius:1px}.tick.ok{background:#a9cbb6}.tick.bad{background:#dda7a4}.channel-meta{display:flex;justify-content:space-between;gap:8px;font-size:12px;color:#5c6c82}.table-wrap{overflow-x:auto;max-width:100%}table{width:100%;border-collapse:collapse;font-size:12px;white-space:nowrap}th{text-align:left;padding:11px 16px;background:#f8f9fb;border-bottom:1px solid #e5eaf0;font-size:12px;font-weight:500;color:#5c6c82}td{padding:14px 16px;border-bottom:1px solid #edf0f4;color:#596779;vertical-align:middle}tbody tr:last-child td{border-bottom:0}tbody tr:hover{background:#fcfdff}.model-cell strong{display:block;color:#3a485b;font-size:12px;font-weight:550}.model-cell small{display:block;font-size:12px;color:#5c6c82;max-width:250px;overflow:hidden;text-overflow:ellipsis}.pill{display:inline-block;background:#f1f4f8;color:#5c6c82;font-size:12px;padding:3px 6px;border-radius:3px}.two-col{display:grid;grid-template-columns:350px minmax(0,1fr);align-items:start;gap:21px}.two-col>.card+.card{margin:0}.grid2,.settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 17px}.checkbox-row{display:flex;align-items:center;gap:20px;flex-wrap:wrap;margin:5px 0 20px}.checkbox-row label{font-size:12px;font-weight:400;margin:0}.form-title{font-size:12px;letter-spacing:.7px;color:#5c6c82;margin:25px 0 14px}.estimate{display:flex;align-items:center;justify-content:space-between;margin:18px 0 16px;font-size:12px;color:#5c6c82}.estimate b{font-size:21px;font-weight:600;color:#43546b}.estimate small{font-size:12px}.workspace-result{min-height:560px;display:flex;flex-direction:column}.result-empty{margin:auto;text-align:center;padding:70px 22px;color:#5c6c82}.result-icon{font-size:32px;color:#5c6c82;margin:0 0 15px}.result-empty h3{font-weight:500;font-size:15px;color:#5c6c82}.result-empty p{font-size:12px}.result-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;padding:20px}.result-gallery figure{margin:0;min-width:0}.result-gallery img{display:block;width:100%;max-height:560px;object-fit:contain;background:#f5f7fa;border:1px solid #edf0f5;border-radius:5px}.result-gallery figcaption{display:flex;align-items:center;justify-content:space-between;font-size:12px;padding:9px 0}.result-info{margin-top:auto;border-top:1px solid var(--line);padding:16px 20px;font-size:12px;color:#5c6c82;line-height:1.8;overflow-wrap:anywhere}.status-message{margin:12px 0 0;color:#6a7e98;font-size:12px}.price-cell{display:flex;gap:15px}.price-cell span{display:block;font-size:12px;color:#5c6c82}.price-cell>div{min-width:34px}.admin-table td{max-width:290px;overflow:hidden;text-overflow:ellipsis}.catalog-section{margin:0 0 29px}.catalog-section-head{display:flex;align-items:start;justify-content:space-between;gap:15px;margin:20px 0 14px}.catalog-section-head h2{display:flex;align-items:center;gap:10px;margin:0;font-weight:600;font-size:16px}.catalog-section-head p{font-size:12px;white-space:pre-line;overflow-wrap:anywhere;line-height:1.7;color:#5c6c82;margin:6px 0 0}.catalog-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.catalog-grid>.card+.card{margin:0}.model-card{padding:21px;display:flex;flex-direction:column}.model-card h3{font-size:14px;font-weight:600;margin:0 0 6px}.model-id{font-size:12px;color:#5c6c82;overflow-wrap:anywhere;word-break:break-word}.pricing-rows{margin:19px 0 16px;min-height:72px}.pricing-row{display:flex;justify-content:space-between;padding:7px 0;border-bottom:1px solid #edf0f4;font-size:12px}.pricing-row b{font-weight:550;color:#526682}.pricing-row small{font-size:12px;font-weight:400;color:#5c6c82}.model-spec{font-size:12px;color:#5c6c82;line-height:1.9;margin-bottom:18px}.model-card>.btn{margin-top:auto}.channel-tabs,.segmented{display:flex;align-items:center;gap:3px;flex-wrap:wrap;border-bottom:1px solid var(--line);margin-bottom:15px}.tab{border:0;border-bottom:2px solid transparent;background:none;padding:10px 15px;color:#5c6c82;font-size:12px;white-space:nowrap}.tab span{font-size:12px;margin-left:5px;color:#5c6c82}.tab:hover{color:#3465c3;background:#f2f5fa}.tab.active{color:#2563eb;border-bottom-color:#2563eb;font-weight:550}.segmented{display:inline-flex;background:#f3f5f8;border-radius:5px;padding:3px;border:0;margin:3px 0 5px}.segmented .tab{border:0;border-radius:3px;padding:7px 18px}.segmented .tab.active{background:#fff;box-shadow:0 1px 3px #1f293710}.keys-table td{vertical-align:top}.key-copy-row{display:flex;align-items:start;gap:9px;max-width:410px}.key-value{display:block;white-space:normal;overflow-wrap:anywhere;word-break:break-all;font-size:12px;line-height:1.9;color:#536478;max-width:350px}.route-chips{display:flex;align-items:center;gap:5px;flex-wrap:wrap;min-width:150px;max-width:260px}.route-chip{padding:3px 6px;border:1px solid #e0e6ef;border-radius:3px;font-size:12px;color:#71829a;white-space:nowrap}.route-chip.disabled{color:#5c6c82;background:#f4f5f7}.route-arrow{color:#5c6c82;font-size:12px}.channel-choice{display:flex;justify-content:space-between;gap:12px;border:1px solid #e2e7ee;border-radius:5px;padding:12px;margin:8px 0}.channel-choice.selected{border-color:#c8d8f4;background:#f8faff}.channel-choice label{display:flex;align-items:start;gap:5px;margin:0;min-width:0}.channel-choice input{margin-top:3px;flex-shrink:0}.channel-choice strong{font-size:12px;font-weight:550}.channel-choice small{display:block;font-size:12px;line-height:1.7;color:#5c6c82;white-space:pre-line;margin-top:4px}.priority-controls{display:flex;align-items:center;gap:4px;flex-shrink:0}.priority-controls>span{font-size:12px;color:#5c6c82;margin-right:5px}.doc-settings{display:grid;grid-template-columns:1.2fr 1.4fr .6fr;gap:15px;margin-top:16px}.tutorial-step{display:grid;grid-template-columns:28px minmax(0,1fr);gap:14px;margin-bottom:29px}.step-number{display:grid;place-items:center;width:25px;height:25px;border:1px solid #d8e2f4;background:#f1f5fd;color:#4871b3;font-size:12px;font-weight:550;border-radius:50%;margin-top:1px}.tutorial-step h3{margin:0 0 8px;font-size:14px;font-weight:550;color:#45546a}.tutorial-step p{margin:7px 0 13px;font-size:12px;line-height:1.75;color:#5c6c82}.routing-explanation{font-size:12px;color:#5c6c82;line-height:1.8;margin:3px 0 10px}.code-panel{border:1px solid #e2e7ef;border-radius:5px;margin:12px 0 15px;overflow:visible;min-width:0}.code-head{display:flex;align-items:center;justify-content:space-between;padding:8px 13px;background:#f3f6fb;border-bottom:1px solid #e4eaf2;font-size:12px;color:#5c6c82;border-radius:5px 5px 0 0}.code-panel pre{border-radius:0 0 5px 5px;min-width:0;max-width:100%;white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word;overflow:visible}.retention-note{font-size:12px;color:#5c6c82;margin:-11px 0 22px}.record-filters{display:flex;gap:14px;flex-wrap:wrap;align-items:end;padding:20px;border-bottom:1px solid var(--line)}.filter-field{width:170px;min-width:0}.filter-field.date-filter{width:195px}.filter-field label{font-size:12px;color:#5c6c82}.filter-field input,.filter-field select{min-height:35px;font-size:12px}.filter-actions{display:flex;gap:7px;margin-left:auto}.records-summary{padding:12px 18px;display:flex;justify-content:space-between;gap:15px;font-size:12px;color:#5c6c82;border-bottom:1px solid #edf1f5}.records-table table{min-width:100%;font-size:12px}.records-table th{font-size:12px}.records-table td{font-size:12px;padding:12px 14px}.request-id{display:block;max-width:115px;overflow:hidden;text-overflow:ellipsis;font-size:12px}.user-cell strong{display:block;font-size:12px;font-weight:500}.user-cell small{display:block;font-size:12px;color:#5c6c82}.text-preview{display:block;border:0;background:none;padding:0;text-align:left;font-size:12px;color:#5c6c82;max-width:135px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.8}.text-preview:hover{color:#2563eb}.thumb-button{display:block;border:0;padding:0;background:none}.record-thumb{display:block;width:48px;height:48px;object-fit:cover;border-radius:4px;border:1px solid #e4e9f1;background:#f4f6f9}.error-code{font-size:12px;color:#ba7068;white-space:normal;overflow-wrap:anywhere;max-width:115px;display:block}.sticky-actions{position:sticky;right:0;background:#fff;box-shadow:-2px 0 4px #cbd5e110}.records-table th.sticky-actions{background:#f8f9fb}.pagination{padding:14px 18px;border-top:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;font-size:12px;color:#5c6c82;gap:15px}.page-size-label{display:flex;align-items:center;gap:7px;font-size:12px;margin:0;font-weight:400}.page-size-label select{min-height:28px;font-size:12px;padding:4px 8px;width:59px}.column-options{display:grid;grid-template-columns:repeat(3,1fr);gap:15px 10px}.column-options label{font-size:12px;font-weight:400;margin:0}.detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px 20px;margin-bottom:24px}.detail-grid>div{font-size:12px;color:#526177;min-width:0;overflow-wrap:anywhere}.detail-grid span{display:block;font-size:12px;color:#5c6c82;margin-bottom:4px}.detail-grid .badge{display:inline-flex;margin:0}.detail-grid code{font-size:12px}.detail-section{margin:20px 0}.detail-section h3,.section-heading h3{font-size:12px;font-weight:600;margin:0 0 9px}.section-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}.section-heading h3{margin:0}.prompt{white-space:pre-wrap;overflow-wrap:anywhere;background:#f7f9fc;border:1px solid #e6ebf3;border-radius:5px;padding:13px;font-size:12px;line-height:1.8;color:#6a7d96}.params-code{font-size:12px;border:1px solid #e6ebf3}.detail-section .result-gallery{padding:0}.recharge-layout{display:grid;grid-template-columns:minmax(300px,400px) minmax(0,1fr);gap:22px;margin-bottom:22px;align-items:start}.recharge-layout>.card+.card{margin:0}.amount-presets{display:flex;gap:10px;margin-bottom:20px}.amount-presets .btn{flex:1}.recharge-preview{padding:18px 0;display:flex;justify-content:space-between;align-items:center;border-top:1px solid #eef1f6;border-bottom:1px solid #eef1f6;margin-top:15px;color:#5c6c82;font-size:12px}.recharge-preview strong{font-size:24px;font-weight:600;color:#435670}.checkout-body{text-align:center}.pay-amount{display:block;font-size:30px;font-weight:600;color:#374963}.pay-amount small{font-size:12px;font-weight:400;color:#5c6c82}.checkout-body p{font-size:12px;color:#5c6c82}.payment-qr{display:block;width:240px;height:240px;margin:20px auto;max-width:90%;object-fit:contain;border:1px solid #e6ebf2;padding:10px}.checkout-meta{text-align:left;display:grid;grid-template-columns:90px minmax(0,1fr);gap:9px 15px;margin:25px 0;font-size:12px;color:#5c6c82}.checkout-meta>span{color:#5c6c82}.checkout-meta code{overflow-wrap:anywhere}.checkout-body .actions{justify-content:center}.order-state{font-size:12px;color:#6281ad}#card-payment{margin:20px 0}#stripe-pay{margin-top:15px}.clipboard-helper{position:fixed;left:-10000px;top:0;width:2px;height:2px}.copy-manual{min-height:150px;font-family:Consolas,monospace;font-size:12px}#toast{position:fixed;top:21px;left:50%;transform:translate(-50%);z-index:1000;max-width:90vw;padding:11px 20px;background:#334155;color:#fff;box-shadow:0 3px 15px #33415518;border-radius:6px;display:none;font-size:12px}#toast.show{display:block}dialog{padding:0;border:1px solid #dce2eb;border-radius:8px;width:700px;max-width:94vw;max-height:90vh;color:#334155;box-shadow:0 15px 60px #1e293b2b}dialog::backdrop{background:#1e293b66}.dialog-head{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:17px 23px;border-bottom:1px solid var(--line)}.dialog-head h2{font-size:16px;font-weight:600;margin:0}.close{border:0;background:none;font-size:23px;line-height:1;color:#5c6c82;padding:0 3px}.dialog-content{max-height:72vh;overflow:auto;padding:22px 23px}.dialog-foot{display:flex;justify-content:end;gap:9px;padding:14px 23px;border-top:1px solid var(--line);background:#fcfdff}@media(max-width:1250px){.health-grid,.catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.sidebar{width:195px;padding:22px 12px}.app{grid-template-columns:195px minmax(0,1fr)}.content{padding:24px}.topbar{padding:0 24px}.brand{font-size:17px;padding-left:8px;gap:8px}.brand img{width:31px;height:31px}.stat{padding:17px}.stat-value{font-size:25px}.two-col{grid-template-columns:320px minmax(0,1fr)}}@media(max-width:950px){.doc-settings{grid-template-columns:1fr 1fr}.doc-settings .field:last-child{grid-column:1/-1;max-width:200px}.two-col{grid-template-columns:1fr}.workspace-result{min-height:350px}.recharge-layout{grid-template-columns:1fr 1fr}.filter-actions{margin-left:0}.filter-field{width:calc(33.33% - 10px)}.filter-field.date-filter{width:calc(50% - 7px)}}@media(max-width:780px){.app{display:block}.sidebar{position:static;width:100%;padding:13px 16px;flex-direction:row;flex-wrap:wrap;align-items:center;gap:4px;border-right:0;border-bottom:1px solid var(--line)}.brand{padding:0 14px 0 0;font-size:15px}.brand img{width:27px;height:27px}.brand small,.nav-section,.sidebar-foot{display:none}.nav-btn{width:auto;white-space:nowrap;font-size:12px;padding:7px 8px;margin:0;gap:0}.nav-btn svg{display:none}.topbar{height:53px;padding:0 19px}.content{padding:23px 18px}.stats{gap:10px}.stat{padding:16px 13px}.stat-label{font-size:12px}.stat-value{font-size:23px}.stat-sub{font-size:12px}.page-head{align-items:start;gap:12px}.page-head h1{font-size:22px}.balance{gap:9px}.filter-field,.filter-field.date-filter{width:calc(50% - 7px)}.doc-settings{grid-template-columns:1fr}.doc-settings .field:last-child{grid-column:auto;max-width:none}}@media(max-width:540px){.stats{grid-template-columns:repeat(2,minmax(0,1fr))}.health-grid,.catalog-grid{grid-template-columns:1fr}.page-head{flex-direction:column}.page-head .actions{width:100%}.card-head{padding:15px 16px}.card-body{padding:17px}.content{padding:21px 14px}.recharge-layout,.grid2,.settings-grid{grid-template-columns:1fr}.record-filters{padding:16px;gap:12px}.filter-field,.filter-field.date-filter,.filter-actions{width:100%}.record-filters input,.record-filters select{font-size:12px}.pagination{flex-direction:column;align-items:start}.column-options{grid-template-columns:repeat(2,1fr)}.dialog-content{padding:18px}.dialog-head{padding:15px 18px}.dialog-foot{padding:13px 18px}.detail-grid{gap:15px}.tutorial-step{grid-template-columns:23px minmax(0,1fr);gap:9px}.step-number{width:22px;height:22px}.channel-choice{flex-direction:column}.priority-controls{justify-content:end}.result-gallery{grid-template-columns:1fr}.login-box{padding:29px}.topbar{padding:0 14px}.breadcrumb{font-size:12px}.balance b{font-size:14px}.sidebar{padding:11px}.nav-btn{font-size:12px;padding:6px 7px}.brand{font-size:14px;padding-right:9px}.code-panel pre{padding:12px;font-size:12px}.records-summary{font-size:12px;gap:6px}}.studio-layout{display:grid;grid-template-columns:minmax(360px,470px) minmax(0,1fr);gap:22px;align-items:start}.studio-layout>.card+.card{margin:0}.studio-form .card-body{padding:22px}.studio-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 16px}.studio-form textarea#prompt{min-height:140px;line-height:1.8}.studio-result{min-height:640px;display:flex;flex-direction:column;position:sticky;top:20px}.studio-result .result-gallery{grid-template-columns:1fr;padding:20px}.studio-result .result-gallery img{max-height:600px}.result-details{margin-top:auto;padding:18px 22px;border-top:1px solid #e7ecf3;display:grid;gap:10px}.result-details>div{display:flex;justify-content:space-between;gap:18px;font-size:12px;line-height:1.7}.result-details>div>span{color:#5c6c82;white-space:nowrap}.result-details strong{font-weight:500;text-align:right;color:#657790}.result-details code{font-size:12px;overflow-wrap:anywhere;text-align:right}.elapsed-time{font-variant-numeric:tabular-nums;white-space:nowrap;min-width:54px;display:inline-block}.result-progress{text-align:center;padding:85px 25px;flex:1}.result-progress h3{font-size:16px;color:#5b6c84;font-weight:500}.result-progress>p{font-size:14px;color:#5c6c82}.result-progress .btn{margin-top:15px}.result-progress .hint{font-size:12px;max-width:320px;margin:12px auto}.empty-preview-icon{font-size:42px;color:#5c6c82;line-height:1.4;margin-bottom:12px}.references-panel{padding:17px;border:1px solid #e1e7ef;border-radius:6px;background:#fbfcfe;margin-top:22px}.references-panel .section-heading{margin-bottom:14px}.references-panel h3{font-size:12px}.references-panel h3>span{font-size:12px;font-weight:400;color:#5c6c82;margin-left:8px}.reference-add{display:flex;align-items:center;gap:10px;flex-wrap:wrap;border:1px dashed #cbd7e8;border-radius:5px;padding:13px;background:#fff}.reference-add.dragover{border-color:#7299e5;background:#eff5ff}.reference-add>.hint{font-size:12px;margin:0}.reference-upload{position:relative;overflow:hidden;margin:0;font-size:12px;font-weight:400}.reference-upload input{position:absolute;inset:0;opacity:0;cursor:pointer;min-height:0;padding:0}.reference-url-row{display:flex;align-items:start;gap:8px;margin:12px 0 6px}.reference-url-row textarea{min-height:64px;font-size:12px;line-height:1.7;resize:vertical;background:#fff}.reference-url-row .btn{font-size:12px;min-height:33px;margin-top:1px;flex-shrink:0}.reference-list{list-style:none;padding:0;margin:15px 0 0;display:flex;flex-direction:column;gap:8px}.reference-item{display:flex;align-items:center;gap:10px;border:1px solid #e0e7f2;background:#fff;border-radius:5px;padding:9px;min-width:0;position:relative}.reference-number{position:absolute;left:8px;top:8px;display:grid;place-items:center;width:17px;height:17px;border-radius:3px;background:#416da8;color:#fff;font-size:12px;border:1px solid #fff}.reference-item>img{width:52px;height:52px;flex-shrink:0;object-fit:cover;background:#f0f3f8;border:1px solid #e4eaf2;border-radius:4px}.reference-label{flex:1;min-width:0}.reference-label strong{display:block;font-size:12px;font-weight:500;color:#667b97}.reference-label>span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;color:#5c6c82;max-width:190px}.reference-label small{display:block;font-size:12px;color:#5c6c82}.reference-actions{display:flex;gap:3px;flex-shrink:0}.reference-actions .icon-btn{width:23px;height:25px;font-size:12px}.reference-order-note{font-size:12px;line-height:1.8;color:#5c6c82;margin:11px 0 0}.preview-unavailable{font-size:12px;color:#5c6c82}.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}.studio-form .estimate{margin:22px 0 15px}.studio-form .estimate strong{font-size:25px;color:#506885;font-weight:600}.studio-form .estimate small{display:block;color:#5c6c82;font-size:12px;margin-top:4px}.probe-preview{display:flex;gap:12px;padding:12px 0 16px;align-items:start}.probe-preview>a{display:block;flex-shrink:0}.probe-preview img{display:block;width:100px;height:100px;object-fit:cover;border:1px solid #e0e7ef;background:#f6f8fb;border-radius:5px}.probe-preview>div{display:flex;flex-direction:column;gap:4px;min-width:0}.probe-preview strong{font-size:12px;font-weight:500;color:#5c7290;overflow-wrap:anywhere}.probe-preview span{font-size:12px;color:#5c6c82;line-height:1.6}.probe-preview .probe-label{font-size:12px;color:#5c6c82}.probe-preview .probe-previous{color:#5c6c82}.probe-empty{font-size:12px;color:#5c6c82;background:#f7f9fc;border-radius:4px;padding:20px 8px;text-align:center;margin-bottom:14px}.health-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.quality-prices{grid-template-columns:repeat(3,minmax(0,1fr))}.channel-card .channel-meta{border-top:1px solid #edf1f6;padding-top:12px}.studio-reference-warning{color:#5c6c82}.record-filters .filter-actions .live-indicator{font-size:12px;color:#5c6c82}@media(min-width:1600px){.studio-layout{grid-template-columns:minmax(420px,520px) minmax(0,1fr)}.probe-preview img{width:112px;height:112px}.probe-preview span{font-size:12px}}@media(max-width:1150px){.studio-layout{grid-template-columns:minmax(320px,390px) minmax(0,1fr)}.studio-form .card-body{padding:17px}.references-panel{padding:13px}.reference-label>span{max-width:130px}.reference-item{gap:8px}.reference-actions{flex-direction:column;gap:2px}.reference-actions .icon-btn{height:19px;font-size:12px}.probe-preview img{width:90px;height:90px}}@media(max-width:950px){.studio-layout{grid-template-columns:1fr}.studio-result{position:static;min-height:420px}.studio-result .result-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}.reference-actions{flex-direction:row}.reference-actions .icon-btn{height:25px}.reference-label>span{max-width:400px}.probe-preview{flex-direction:column}.probe-preview img{width:120px;height:120px}.result-progress{padding:55px 22px}}@media(max-width:540px){.studio-layout{gap:17px}.studio-form .card-body{padding:17px}.reference-url-row{flex-direction:column}.reference-url-row .btn{align-self:end}.reference-label>span{max-width:150px}.studio-options{gap:0 12px}.studio-result .result-gallery,.health-grid{grid-template-columns:1fr}.probe-preview{flex-direction:row}.probe-preview img{width:112px;height:112px}.quality-prices{grid-template-columns:1fr}}.completion-time{font-size:12px;line-height:1.65;font-variant-numeric:tabular-nums}.completion-time>small{display:block;font-size:12px;color:#5c6c82;font-weight:400;margin-top:3px}.completion-time .elapsed-time{font-size:12px}.user-statistics{margin:24px 0!important}.user-statistics .card-head{padding:14px 20px}.statistics-period{margin:0}.user-stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));padding:22px 12px}.user-stat-value{padding:2px 20px;border-right:1px solid #edf0f5;display:flex;flex-direction:column;gap:7px}.user-stat-value:last-child{border:0}.user-stat-value>span{font-size:12px;color:#5c6c82}.user-stat-value>strong{font-size:27px;font-weight:600;color:#4c617e;font-variant-numeric:tabular-nums}.user-stat-value.rejected>strong{color:#5c6c82}.user-stat-value.succeeded>strong{color:#5d8d77}.user-stat-value.failed>strong{color:#5c6c82}.statistics-note{padding:10px 20px;border-top:1px solid #edf0f5;font-size:12px;line-height:1.7;color:#5c6c82}.probe-model{overflow-wrap:anywhere;color:#5c6c82!important}@media(max-width:540px){.user-stats-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 0}.user-stat-value:nth-child(2){border:0}.user-stat-value>strong{font-size:25px}.statistics-period .tab{padding:6px 11px;font-size:12px}.user-statistics .card-head{gap:8px}.completion-time{font-size:12px}}.overview-health-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.overview-health-grid .channel-card{padding:14px}.overview-health-grid .channel-title h3{font-size:12px}.overview-health-grid .uptime{margin:12px 0 8px;height:17px;gap:2px}.overview-health-grid .probe-preview{gap:9px;padding:9px 0 12px}.overview-health-grid .probe-preview img{width:76px;height:76px}.overview-health-grid .probe-preview>div{gap:2px}.overview-health-grid .probe-preview strong{font-size:12px}.overview-health-grid .probe-preview span{font-size:12px;line-height:1.5}.overview-health-grid .channel-meta{font-size:12px;padding-top:9px}.overview-health-grid .channel-description{font-size:12px;margin:7px 0}.overview-health-grid .probe-empty{padding:16px 7px;font-size:12px}@media(max-width:950px){.overview-health-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.overview-health-grid .probe-preview{flex-direction:row}}@media(max-width:650px){.overview-health-grid{grid-template-columns:1fr}.overview-health-grid .probe-preview img{width:84px;height:84px}.overview-health-grid .probe-preview span{font-size:12px}}.boot-logo{display:block;margin:0 auto 12px;object-fit:contain}.users-filters{display:flex;gap:16px;align-items:end;flex-wrap:wrap;padding:20px;border-bottom:1px solid var(--line)}.users-filters .filter-field:first-child{width:300px}.members-table .user-cell strong,.members-table td{font-size:12px}.member-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:15px 0 22px}.member-stats>div{padding:12px;background:#f7f9fc;border:1px solid #e7ecf3;border-radius:5px}.member-stats span{display:block;font-size:12px;color:#5c6c82}.member-stats strong{display:block;margin-top:6px;font-size:21px;font-weight:550;color:#5e7492}@media(max-width:540px){.users-filters .filter-field,.users-filters .filter-field:first-child{width:100%}.member-stats{grid-template-columns:repeat(2,1fr)}}.doc-settings{grid-template-columns:1fr 1fr}.doc-settings .field:last-child{grid-column:auto;max-width:none}@media(max-width:650px){.doc-settings{grid-template-columns:1fr}}.channel-drag-handle{display:inline-grid;place-items:center;width:20px;height:25px;flex-shrink:0;border-radius:3px;color:#5c6c82;cursor:grab;touch-action:none;user-select:none}.channel-drag-handle:hover{color:#507fb9;background:#eaf1fc}.channel-drag-handle:active{cursor:grabbing}.channel-drag-handle svg{width:10px;height:16px;pointer-events:none}.draggable-routes{max-width:370px;gap:5px}.draggable-routes .route-chip{display:inline-flex;align-items:center;gap:4px;padding:3px 6px 3px 2px}.drag-source{opacity:.45}.drag-target{outline:2px solid #83a7de;outline-offset:2px;background:#eef5ff!important}.saving-order .channel-drag-handle{pointer-events:none;opacity:.4}.channel-choice .priority-controls{min-width:90px}.unselected-channel{font-size:12px;color:#5c6c82;white-space:nowrap;align-self:center;padding:0 5px}.channel-choice[data-selected=false]{background:#fafbfd}.channel-choice[data-selected=false] .channel-drag-handle{display:none}.keys-table{min-width:920px}.keys-table td{vertical-align:middle;padding-top:16px;padding-bottom:16px}.keys-table th:nth-child(1){width:16%}.keys-table th:nth-child(2){width:30%}.keys-table th:nth-child(3){width:28%}.keys-table th:nth-child(4){width:13%}.keys-table th:nth-child(5){width:13%}.key-name-cell{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:9px;min-width:110px}.key-name-cell>strong{font-size:12px;font-weight:550;overflow-wrap:anywhere}.key-copy-row{align-items:center;min-height:31px}.keys-table .actions{flex-wrap:nowrap;min-height:31px}.key-last-used{font-size:12px;line-height:1.8;white-space:normal;font-variant-numeric:tabular-nums}.key-switch{display:inline-flex;align-items:center;gap:7px;border:0;background:transparent;padding:2px 0;color:#5c6c82;font-size:12px;line-height:18px}.key-switch-track{position:relative;display:block;width:29px;height:17px;border-radius:10px;background:#ced6e1;transition:background .18s ease}.key-switch-track:after{content:"";position:absolute;left:2px;top:2px;width:13px;height:13px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #243b5326;transition:transform .18s ease}.key-switch[aria-checked=true]{color:#4e7dba}.key-switch[aria-checked=true] .key-switch-track{background:#7197cc}.key-switch[aria-checked=true] .key-switch-track:after{transform:translate(12px)}.key-switch:hover .key-switch-track{box-shadow:0 0 0 3px #7197cc14}.key-switch[aria-busy=true]{cursor:wait}.overview-balance{grid-template-columns:minmax(0,320px)}.user-stats-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.user-stat-value.pending>strong{color:#5c6c82}.channel-drag-ghost{position:fixed!important;left:0;top:0;z-index:10000;pointer-events:none!important;display:flex;align-items:center;gap:4px;border:1px solid #8aace0!important;border-radius:5px;background:#f4f8ff!important;box-shadow:0 9px 24px #31527c30;opacity:1!important;will-change:transform;transform-origin:center}.channel-drag-ghost.channel-choice{justify-content:space-between;padding:12px}.channel-drag-ghost.route-chip{padding:3px 6px 3px 2px;font-size:12px;white-space:nowrap;color:#5879a4}.channel-drag-ghost *{pointer-events:none!important}.channel-drag-ghost .channel-drag-handle{cursor:grabbing}.dragging{user-select:none}.dragging .channel-drag-handle{cursor:grabbing}.drag-source{opacity:.18!important;border-style:dashed!important;background:#edf3fc!important}.channel-insertion-marker{position:fixed;z-index:9999;pointer-events:none;background:#7197cc;border-radius:3px;box-shadow:0 0 0 2px #fff9}.channel-drag-handle:focus-visible{outline:2px solid #93b4ff;outline-offset:2px}@media(max-width:700px){.user-stats-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px 0}.user-stat-value:nth-child(3){border-right:0}.user-stat-value{padding:2px 16px}.overview-balance{grid-template-columns:minmax(0,1fr)}}@media(max-width:540px){.user-stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.user-stat-value:nth-child(3){border-right:1px solid #edf0f5}.user-stat-value:nth-child(2n),.user-stat-value:last-child{border-right:0}}@media(prefers-reduced-motion:reduce){.key-switch-track,.key-switch-track:after{transition:none}}.keys-table{table-layout:fixed;min-width:760px}.keys-table th,.keys-table td{padding-left:12px;padding-right:12px}.keys-table th:nth-child(1){width:18%}.keys-table th:nth-child(2){width:28%}.keys-table th:nth-child(3){width:26%}.keys-table th:nth-child(4),.keys-table th:nth-child(5){width:14%}.keys-table .actions{gap:6px}.keys-table .key-value{min-width:0}.keys-table .key-copy-row{gap:7px}.keys-table .draggable-routes{min-width:0}:root{font-family:Segoe UI,Microsoft YaHei,PingFang SC,Noto Sans CJK SC,system-ui,sans-serif;--muted:#5c6c82;color:#253348}body{font-weight:400}.hint,.muted,.model-spec,.catalog-section-head p,.page-head p,.tutorial-step p,.routing-explanation,.form-note,.notice,.retention-note,.footnote,.callout,.reference-order-note,.channel-description{font-size:13px;line-height:1.8;color:#53647a}.model-card h3{font-size:16px}.model-spec{margin-top:9px}.channel-choice small{font-size:13px;line-height:1.75;color:#53647a}.probe-preview span,.overview-health-grid .probe-preview span{font-size:12px;line-height:1.7}.overview-health-grid .probe-preview strong,.overview-health-grid .channel-description{font-size:13px}.overview-health-grid .probe-preview{flex-wrap:wrap}.overview-health-grid .probe-preview>div{flex:1;min-width:100px}.user-stat-value>span{font-size:13px}.api-doc .card-body{padding:24px}.api-doc .tutorial-step h3{font-size:16px}.api-doc pre,.api-doc code{font-size:12px;line-height:1.85}.protocol-tabs{margin:0}.request-endpoint{display:flex;flex-direction:column;gap:7px;padding:12px 14px;background:#f2f5fa;border:1px solid #dde5ef;border-radius:5px;margin:14px 0}.request-endpoint>span{font-size:12px;color:#53647a}.request-endpoint code{overflow-wrap:anywhere;color:#334d70}.reference-example{margin:18px 0;padding:14px;border:1px solid #dde5ef;border-radius:5px}.reference-example summary{cursor:pointer;font-size:13px;font-weight:600;color:#425b7b}.response-format-help{padding:1px 14px;background:#f5f8fc;border-radius:5px}.quality-controls{padding:15px;background:#f8faff;border:1px solid #e1e8f2;border-radius:5px;margin:15px 0}.quality-controls .checkbox-row{margin-bottom:13px}.quality-controls input:disabled{background:#f0f2f5}.resolution-options{display:flex;gap:14px;flex-wrap:wrap;margin:10px 0 18px}.resolution-options label{font-size:13px}.login-oauth{margin-top:16px}.oauth-divider{display:flex;align-items:center;gap:10px;font-size:12px;color:#637187;margin:17px 0}.oauth-divider:before,.oauth-divider:after{content:"";height:1px;flex:1;background:#e3e8f0}.login-linuxdo{min-height:40px}.record-loading{padding:35px;font-size:13px;color:#53647a}.records-table .model-cell small{font-size:12px}.overview-balance{grid-template-columns:repeat(2,minmax(0,1fr));max-width:760px}.user-stats-grid{grid-template-columns:repeat(6,minmax(0,1fr))}.user-stat-value{padding:2px 16px}.user-stat-value.success-rate>strong{color:#52816e}.overview-health-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));column-gap:16px;row-gap:0;align-items:stretch}.overview-health-grid>.channel-card{display:grid;grid-template-rows:subgrid;grid-row:span 5;margin:0!important;padding:18px 16px;min-width:0}.overview-health-grid .channel-title{align-self:start;min-height:26px}.overview-health-grid .channel-description{white-space:pre-wrap;overflow-wrap:anywhere;margin:10px 0 14px;align-self:start}.overview-health-grid .uptime{margin:0 0 15px}.overview-health-grid .probe-preview{padding:0 0 16px;align-content:start;flex-wrap:nowrap;align-items:start}.overview-health-grid .probe-preview>div{min-width:0}.overview-health-grid .channel-meta{margin-top:0;align-self:stretch;padding-top:12px}.topbar-wallet{display:inline-flex;align-items:center;gap:9px}#wallet-topbar{display:flex;align-items:center;gap:22px;flex-wrap:wrap}.ldc-balance-card{background:#fbfcff}.ldc-coming-soon{padding:28px;max-width:760px}.ldc-coming-soon h2{font-size:18px;margin:0 0 14px}.ldc-coming-soon p{font-size:14px;line-height:1.9;color:#53647a}.ldc-coming-soon .btn{margin-top:10px}@media(max-width:1100px){.user-stats-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px 0}.user-stat-value:nth-child(3n){border-right:0}.user-stat-value:nth-child(2){border-right:1px solid #edf0f5}.topbar{height:auto;min-height:62px;padding-top:12px;padding-bottom:12px}}@media(max-width:650px){.overview-health-grid,.overview-balance{grid-template-columns:1fr}.user-stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.user-stat-value:nth-child(3){border-right:1px solid #edf0f5}.user-stat-value:nth-child(2n){border-right:0}#wallet-topbar{gap:7px;flex-direction:column;align-items:flex-end}.balance{gap:10px}.topbar-wallet{font-size:11px}}@media(max-width:950px)and (min-width:651px){.overview-health-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}.model-title{display:flex;align-items:center;gap:8px;flex-wrap:wrap;overflow-wrap:anywhere}.model-alias{display:inline-block;font-size:13px;font-weight:400;padding:2px 7px;border:1px solid #dce5f0;border-radius:4px;color:#53647a;background:#f7f9fc}.alias-edit{margin-top:8px}.model-card .pricing-rows{margin-top:16px}.model-alias-list{display:flex;flex-wrap:wrap;gap:7px}.model-title .model-alias{overflow-wrap:anywhere;max-width:100%}.model-title{row-gap:7px}.ldc-quota{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;padding:15px 0}.ldc-quota span,.ldc-conversion span{display:block;color:var(--muted);font-size:13px;margin-bottom:8px}.ldc-quota strong{font-size:18px;font-weight:550}.ldc-amount-row{display:flex;gap:24px;align-items:center;max-width:650px}.ldc-amount-row>.field{flex:1}.ldc-conversion strong{font-size:26px}.ldc-verify{margin-top:22px;max-width:580px}.ldc-amount-row~.actions{flex-wrap:wrap}@media(max-width:700px){.ldc-quota{grid-template-columns:repeat(2,minmax(0,1fr))}.ldc-amount-row{display:block}}
