:root{font-family:Inter,"Segoe UI","Microsoft YaHei",sans-serif;color:#243044;background:#f5f6fa;font-synthesis:none;--accent:#6c58de;--accent-dark:#5d48d0;--border:#e8eaf0;--muted:#8a92a2;--navy:#171d2e;--shadow:0 5px 25px #25334d05}
*{box-sizing:border-box}body{margin:0;font-size:14px;line-height:1.55}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.45}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #b8acf4;outline-offset:3px}input,select,textarea{border:1px solid #dfe3eb;background:#fff;border-radius:8px;color:#273247}input,select{min-height:40px;padding:9px 12px}textarea{padding:12px;resize:vertical;line-height:1.7}input::placeholder,textarea::placeholder{color:#a2a8b4}.hidden{display:none!important}.sidebar{position:fixed;inset:0 auto 0 0;width:220px;background:var(--navy);color:#e8eaf3;padding:36px 18px 22px;display:flex;flex-direction:column;z-index:20}.brand{display:flex;align-items:center;gap:12px;font-size:22px;font-weight:750;letter-spacing:-.7px;padding:0 16px;white-space:nowrap}.brand-light{font-size:13px;font-weight:400;margin-left:9px;letter-spacing:0;color:#a5acc1}.brand-mark{display:grid;grid-template-columns:8px 8px;gap:4px;transform:rotate(-8deg)}.brand-mark i{height:8px;border-radius:2px;background:#a698fb}.brand-mark i:nth-child(2){background:#ddd8ff}.brand-mark i:nth-child(3){background:#6c58de}.sidebar-label{font-size:10px;letter-spacing:2px;color:#69718b;padding:0 17px;margin-top:47px;margin-bottom:15px}.nav-item{display:flex;gap:13px;align-items:center;padding:12px 16px;margin:5px 0;border-radius:8px;font-size:13px;color:#a4abc0;transition:background .15s,color .15s}.nav-item:hover{background:#ffffff06;color:#fff}.nav-item.active{background:#7060d625;color:#cfc6ff}.nav-item svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.nav-arrow{margin-left:auto;font-size:21px;opacity:0}.nav-item.active .nav-arrow{opacity:1}.sidebar-footer{margin-top:auto;border-top:1px solid #ffffff0b;padding:22px 13px 0;font-size:11px;color:#a1a9bd}.sidebar-footer small{display:block;color:#626c86;font-size:10px;margin-top:9px}.connection-dot,.live-indicator i{display:inline-block;width:6px;height:6px;border-radius:100%;background:#58b58d;margin-right:7px}.connection-dot.offline{background:#dc7779}.workspace{margin-left:220px;min-height:100vh}.topbar{height:74px;padding:0 40px;border-bottom:1px solid var(--border);background:#fff;display:flex;align-items:center;justify-content:space-between}.breadcrumb{font-size:12px;color:#969dad}.breadcrumb span{padding:0 13px;color:#cbd0db}.breadcrumb strong{font-weight:500;color:#4a556c}.topbar-right{display:flex;align-items:center;gap:23px}.live-indicator{font-size:11px;color:#8b93a2}.avatar{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;font-size:11px;color:#7563c9;background:#f0edfa;border:1px solid #e9e4f7}main{max-width:1660px;margin:0 auto;padding:36px 40px 16px}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:29px}.eyebrow{font-size:9px;letter-spacing:2px;font-weight:650;color:#9c98b2;margin:0 0 8px}h1{font-size:27px;letter-spacing:-.8px;line-height:1.3;margin:0 0 8px;font-weight:650;color:#273148}.page-description{font-size:12px;color:#8a93a4;margin:0}.heading-actions{display:flex;gap:10px}.button{min-height:38px;padding:8px 16px;border-radius:7px;font-size:12px;line-height:1.6;font-weight:500;display:inline-flex;align-items:center;justify-content:center;gap:6px;white-space:nowrap;transition:background .15s,box-shadow .15s;border:1px solid transparent}.button-primary{background:var(--accent);color:#fff;box-shadow:0 3px 8px #6c58de19}.button-primary:hover:not(:disabled){background:var(--accent-dark)}.button-secondary{background:#fff;color:#647087;border-color:#e1e5ee}.button-secondary:hover:not(:disabled){background:#f8f9fc}.button-small{min-height:30px;padding:4px 11px;font-size:11px}.button-danger{color:#ce6469;background:#fff;border-color:#f0d8dc}.button-danger:hover:not(:disabled){background:#fff3f4}.button-text{border:0;background:none;font-size:11px;color:#7563d5;min-height:28px;padding:4px 6px}.button-text:hover:not(:disabled){background:#f3f0fd}.button-text.danger{color:#c97379}.button-text.danger:hover:not(:disabled){background:#fff3f4}.stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px;margin-bottom:26px}.stat-card{border:1px solid var(--border);background:#fff;border-radius:10px;padding:20px 21px;box-shadow:var(--shadow);display:flex;align-items:center;justify-content:space-between}.stat-label{font-size:11px;color:#9097a5;margin:0 0 8px}.stat-value{font-size:26px;font-weight:600;line-height:1;letter-spacing:-.7px;color:#303a50}.stat-icon{width:39px;height:39px;border-radius:10px;background:#f0edfc;color:#9d8ee4;display:grid;place-items:center;font-size:17px}.stat-icon.green{background:#eaf6f0;color:#7eb9a0}.stat-icon.amber{background:#fcf4e7;color:#d5b57e}.stat-icon.blue{background:#edf2fb;color:#89a7d8}.panel{border:1px solid var(--border);background:#fff;border-radius:11px;box-shadow:var(--shadow);overflow:hidden}.panel-top{padding:24px 24px 20px;display:flex;justify-content:space-between;align-items:center}.panel-top h2{font-size:14px;margin:0;font-weight:600;color:#344057;display:flex;align-items:center;gap:9px}.panel-top p{margin:7px 0 0;font-size:11px;color:#9aA1af}.count-pill{font-size:10px;min-width:22px;padding:1px 6px;text-align:center;border:1px solid #e8e5f8;color:#8e7cc8;background:#f7f5fd;border-radius:5px}.filters{display:flex;align-items:center;gap:10px;padding:0 24px 22px}.search-field{position:relative;display:flex;align-items:center;max-width:360px;width:100%}.search-field svg{width:15px;height:15px;position:absolute;left:12px;fill:none;stroke:#a3aab8;stroke-width:1.7}.search-field input{width:100%;padding-left:36px;font-size:11px;min-height:36px}.filters select{min-width:130px;font-size:11px;min-height:36px}.filters .button{min-height:36px}.table-wrap{width:100%;overflow:auto}table{border-collapse:collapse;width:100%;text-align:left;font-size:11px}th{font-size:10px;font-weight:500;letter-spacing:.3px;color:#8c95a7;background:#fafbfe;border-top:1px solid #edf0f5;border-bottom:1px solid #edf0f5;padding:12px 18px;white-space:nowrap}th:first-child,td:first-child{padding-left:25px}th:last-child,td:last-child{padding-right:25px}td{padding:18px;border-bottom:1px solid #f0f2f7;color:#657088;vertical-align:middle}tbody tr:last-child td{border-bottom:0}tbody tr:hover{background:#fdfdff}.task-name{font-size:11px;color:#3b4760;font-weight:550;display:flex;align-items:center;gap:7px}.task-subline{font-size:10px;color:#a1a8b6;margin-top:5px;max-width:280px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-family:ui-monospace,SFMono-Regular,Consolas,monospace}.subtle{font-size:10px;color:#a0a7b5;margin-top:4px}.status{display:inline-flex;align-items:center;gap:5px;border:1px solid transparent;border-radius:5px;padding:3px 7px;font-size:10px;white-space:nowrap}.status:before{content:"";height:4px;width:4px;border-radius:50%;background:currentColor}.status.waiting{background:#fff8eb;color:#c29846;border-color:#f7eccf}.status.submitting,.status.running{background:#eef2ff;color:#7b8ad0;border-color:#e7ebfc}.status.succeeded,.status.available{background:#edf8f2;color:#65a687;border-color:#e1f2e8}.status.failed,.status.invalid{background:#fdf0f1;color:#c97d83;border-color:#f8e3e5}.status.cancelled,.status.disabled{background:#f1f3f7;color:#99a0ad;border-color:#e8ebf1}.status.uncertain,.status.insufficient{background:#fff6eb;color:#c6945f;border-color:#f8e6d3}.row-actions{display:flex;align-items:center;gap:7px;white-space:nowrap}.empty-cell{text-align:center!important;padding:65px 24px!important;color:#9ca4b3}.empty-state{text-align:center;padding:60px 28px}.empty-state .empty-icon{margin:auto auto 15px;width:48px;height:48px;border-radius:13px;background:#f2effd;display:grid;place-items:center;font-size:22px;color:#ad9de1}.empty-state h3{font-size:14px;color:#536079;margin:0 0 8px;font-weight:550}.empty-state p{font-size:12px;color:#929bad;line-height:1.8;margin:0 auto;max-width:460px}.empty-state button{margin-top:18px}.pagination{display:flex;justify-content:space-between;align-items:center;border-top:1px solid #edf0f5;padding:17px 24px;color:#a0a7b7;font-size:10px}.pagination>div{display:flex;align-items:center;gap:13px}.notice{margin:0 0 22px;padding:12px 16px;border-radius:8px;border:1px solid #e7e2fa;background:#f2effc;color:#8975b8;font-size:11px;line-height:1.8}.notice-error{color:#bc6974;border-color:#f4d8de;background:#fff2f4}.credential{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;color:#9a9fb1;font-size:10px;white-space:nowrap}.credential+ .credential{margin-top:5px}.reason-cell{max-width:240px;word-break:break-word;font-size:10px;line-height:1.8}.account-email{font-weight:550;color:#4d5870;word-break:break-word}.account-dot{height:7px;width:7px;border-radius:50%;background:#b5aadf;display:inline-block;margin-right:8px}.page-footer{margin-top:28px;display:flex;justify-content:space-between;font-size:10px;color:#b4bac6;padding:0 2px}.model-source{padding:18px 23px;margin-bottom:20px;font-size:12px;color:#8b94a6;display:flex;justify-content:space-between;gap:15px;align-items:center}.model-source strong{font-size:12px;color:#5a667b;display:block;font-weight:550;margin-bottom:4px}.model-source a{color:#8a79d5;word-break:break-all;font-size:11px}.model-content{display:grid;grid-template-columns:255px minmax(0,1fr);gap:20px;align-items:start}.model-content:has(>.empty-state){display:block;background:#fff;border:1px solid var(--border);border-radius:10px}.model-list{display:flex;flex-direction:column;gap:8px}.model-button{text-align:left;padding:15px 16px;border:1px solid var(--border);background:#fff;color:#526079;border-radius:8px;width:100%}.model-button.active{border-color:#d9d0fb;background:#f4f1fd;color:#7561cb}.model-button strong{font-size:12px;font-weight:600;display:block}.model-button small{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:10px;display:block;color:#a0a6b6;margin-top:5px;word-break:break-all}.model-details{padding:24px}.model-details h2{font-size:18px;font-weight:600;margin:0 0 8px;color:#39465e}.model-id{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:10px;color:#9c94b1;margin-bottom:17px;word-break:break-all}.model-description{font-size:12px;line-height:1.9;color:#8993a5;white-space:pre-line}.model-details h3,.detail-section h3{font-size:12px;font-weight:600;margin:25px 0 12px;color:#58637a}.parameter-table{border:1px solid var(--border);border-radius:7px;overflow:auto}.parameter-table th,.parameter-table td{padding:11px!important;font-size:10px;vertical-align:top}.parameter-table code{font-size:10px;color:#82749f}.parameter-table .required{color:#b18b66}.code-block{margin:0;padding:15px;background:#f8f9fc;border:1px solid #e9edf3;border-radius:8px;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:11px;line-height:1.8;overflow:auto;max-height:350px;white-space:pre-wrap;word-break:break-word;color:#6d7890}.dialog{padding:0;border:1px solid #e2e6ee;border-radius:14px;box-shadow:0 25px 100px #161d3030;width:min(480px,calc(100% - 32px));max-height:calc(100vh - 60px);color:#364259}.dialog::backdrop{background:#141b354d;backdrop-filter:blur(3px)}.dialog-wide{width:min(650px,calc(100% - 32px))}.detail-dialog{width:min(820px,calc(100% - 32px))}.dialog-header{display:flex;justify-content:space-between;align-items:center;padding:24px 26px 20px;border-bottom:1px solid #edf0f6}.dialog-header h2{font-size:19px;font-weight:600;margin:0}.dialog-header .eyebrow{font-size:8px;margin-bottom:5px}.close-button{height:28px;width:28px;border:0;background:#f5f6f9;border-radius:7px;color:#9aa1af;font-size:21px;line-height:1}.dialog-body{padding:23px 26px;overflow:auto;max-height:calc(100vh - 250px)}.dialog-footer{display:flex;justify-content:flex-end;gap:9px;padding:16px 26px;border-top:1px solid #edf0f6;background:#fcfcfe}.form-field{display:flex;flex-direction:column;gap:8px;font-size:12px;font-weight:550;color:#657087;margin-bottom:18px}.form-field input,.form-field select,.form-field textarea{width:100%;font-size:12px;font-weight:400}.form-field textarea{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:11px}.field-hint{font-size:10px;color:#a2a8b5;font-weight:400}.form-help{font-size:10px;line-height:1.9;color:#a1a7b6;margin:-1px 0 13px}.inline-error{font-size:11px;color:#be6e79;background:#fff2f4;border:1px solid #f7dde2;padding:9px 12px;border-radius:7px;margin-top:13px}.detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px 25px}.detail-field dt{font-size:10px;color:#a1a8b7;margin-bottom:5px}.detail-field dd{margin:0;font-size:12px;color:#626e84;word-break:break-word}.detail-grid .span-full{grid-column:1/-1}.detail-warning{margin:20px 0 0;font-size:11px;color:#bc9160;background:#fff8ee;border:1px solid #f5e8d5;padding:10px 13px;border-radius:7px}.attempt{position:relative;border-left:2px solid #e9e5f8;padding:0 0 20px 17px;margin-left:5px}.attempt:before{content:"";position:absolute;left:-5px;top:4px;height:8px;width:8px;border:2px solid #fff;border-radius:50%;background:#b3a2e4}.attempt:last-child{padding-bottom:0}.attempt-title{font-size:11px;color:#7c699d}.attempt-title span{float:right;font-size:10px;color:#a6a9b8}.attempt p{font-size:11px;color:#9ba0b0;margin:5px 0}.attempt .code-block{font-size:10px;margin-top:8px}.result-link{display:block;color:#7f6dc4;text-decoration:underline;font-size:11px;word-break:break-all;margin:8px 0}.toast{position:fixed;z-index:200;bottom:30px;left:calc(50% + 110px);transform:translateX(-50%);border:1px solid #e4def4;background:#fff;padding:12px 22px;border-radius:9px;box-shadow:0 6px 30px #25233b15;color:#7a699e;font-size:12px;max-width:calc(100% - 40px)}
.parameter-rules{margin-top:22px;font-size:11px;color:#9185ad}.parameter-rules summary{cursor:pointer;padding:7px 0}.parameter-rules .code-block{margin-top:10px;font-size:10px}
.model-references .parameter-table td{min-width:100px;line-height:1.9;overflow-wrap:anywhere}.model-references .parameter-table td:nth-child(2){min-width:175px}.reference-example{margin-top:14px;border:1px solid var(--border);border-radius:7px;padding:12px 14px}.reference-example h4{margin:0;font-size:11px;font-weight:550;color:#7563b2}.reference-caption{font-size:10px;color:#8993a5;line-height:1.8;margin:10px 0}.reference-example .code-block{font-size:10px;max-height:320px}
.login-page{min-height:100vh}.login-shell{min-height:100vh;display:grid;place-items:center;padding:24px;margin:0 auto}.login-panel{width:min(440px,100%)}.login-brand{font-size:22px;font-weight:700;color:var(--accent)}
#account-stats{grid-template-columns:minmax(220px,1.5fr) repeat(4,minmax(0,1fr))}.stat-description{font-size:10px;line-height:1.8;color:#9aa2b1;margin:9px 0 0;max-width:245px}.account-credits{font-size:13px;font-weight:600;color:#536779}.credits-error{font-size:10px;color:#c97d83;line-height:1.8;max-width:210px;overflow-wrap:anywhere;margin-top:5px}
@media(max-width:1250px){#account-stats{grid-template-columns:repeat(3,minmax(0,1fr))}#account-stats>.stat-card:first-child{grid-column:span 2}}
@media(max-width:850px){#account-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(min-width:1500px){main{padding-top:43px}.stat-card{padding:23px}.panel-top{padding-top:26px}td{padding-top:21px;padding-bottom:21px}}
@media(max-width:1100px){.sidebar{width:188px;padding-left:12px;padding-right:12px}.workspace{margin-left:188px}.brand{font-size:20px;padding-left:12px;gap:10px}.brand-light{font-size:11px;margin-left:6px}.topbar{padding:0 25px}main{padding:27px 25px 16px}.stat-grid{gap:11px}.stat-card{padding:17px 15px}.stat-value{font-size:23px}.stat-icon{width:31px;height:31px;font-size:14px}.model-content{grid-template-columns:210px minmax(0,1fr)}.toast{left:calc(50% + 94px)}}
@media(max-width:850px){.sidebar{width:72px;align-items:center;padding:25px 10px}.brand{padding:0}.brand>span:last-child,.sidebar-label,.sidebar-footer{display:none}.brand-mark{margin-bottom:30px}.sidebar nav{width:100%}.nav-item{justify-content:center;padding:14px 12px;font-size:0;gap:0;margin:8px 0}.nav-item svg{width:21px;height:21px}.nav-arrow{display:none}.workspace{margin-left:72px}.topbar{height:60px}.page-heading{align-items:flex-start}.heading-actions{padding-top:16px}.stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.model-content{grid-template-columns:1fr}.model-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.toast{left:calc(50% + 36px)}}
@media(max-width:570px){main{padding:22px 14px 14px}.topbar{padding:0 16px}.live-indicator{display:none}.breadcrumb{font-size:10px}.page-heading{display:block;margin-bottom:20px}h1{font-size:24px}.page-description{font-size:11px}.heading-actions{padding-top:18px}.heading-actions .button{flex:1}.stat-grid{gap:9px;margin-bottom:19px}.stat-card{padding:15px 12px}.stat-label{font-size:10px}.stat-icon{display:none}.stat-value{font-size:24px}.panel-top{padding:20px 16px 16px}.panel-top p{font-size:10px}.filters{padding:0 15px 18px;flex-wrap:wrap;gap:8px}.search-field{max-width:100%}.filters select{flex:1}.pagination{padding:14px 15px;gap:10px;align-items:flex-start;flex-direction:column}.pagination>div{align-self:flex-end}.model-source{display:block;padding:16px}.model-source>span{display:inline-block;margin-top:9px}.model-list{grid-template-columns:1fr}.model-details{padding:19px}.model-details h2{font-size:16px}.detail-grid{grid-template-columns:1fr}.dialog-header{padding:19px}.dialog-body{padding:19px}.dialog-footer{padding:14px 19px}.page-footer{font-size:9px}.toast{bottom:18px;font-size:11px}}
