:root{--bg:#f5f8ff;--panel:#ffffffd9;--solid:#fff;--ink:#1d2a4a;--muted:#8490aa;--primary:#5d7ff1;--primary-dark:#4567dd;--blue:#6096f5;--line:#e5ebf7;--soft:#eef4ff;--green:#36ae8c;--red:#e47985;--shadow:0 16px 50px #52699b0a;--sidebar:228px;--radius:18px;--font:"Microsoft YaHei","PingFang SC",system-ui,sans-serif}
*{box-sizing:border-box}body{margin:0;font:13px/1.7 var(--font);color:var(--ink);background:var(--bg);-webkit-font-smoothing:antialiased}button,input,textarea,select{font:inherit}button{cursor:pointer}a{color:inherit;text-decoration:none}button{border:0}svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}input,textarea,select{color:var(--ink);outline:none}input::placeholder,textarea::placeholder{color:#b0b9cd}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #8aafff70;outline-offset:2px}::selection{background:#d6e5ff}.hidden{display:none!important}.muted{color:var(--muted)}.mono{font-family:Consolas,monospace}.ellipsis{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.boot{height:100vh;display:grid;place-content:center;justify-items:center;background:radial-gradient(ellipse at 50% 35%,#deebff,transparent 65%);color:#8192b8;gap:16px}.brand-symbol{width:35px;height:35px;position:relative;display:inline-block;flex-shrink:0}.brand-symbol i{position:absolute;width:22px;height:22px;border:2px solid currentColor;border-radius:7px;transform:rotate(30deg) skew(-5deg);color:#6288ed}.brand-symbol i:nth-child(1){left:0;top:8px}.brand-symbol i:nth-child(2){left:9px;top:0;opacity:.6}.brand-symbol i:nth-child(3){left:13px;top:11px;opacity:.28}.brand-symbol.large{transform:scale(1.7);margin-bottom:15px}.brand{display:flex;align-items:center;gap:10px;font-size:19px;font-weight:650;letter-spacing:1px;white-space:nowrap}.brand small{font:9px var(--font);letter-spacing:2px;color:#a0acc4;display:block;line-height:1.3}.brand-name{line-height:1.4}.brand.compact{font-size:16px}.brand.compact small{display:none}.brand.compact .brand-symbol{transform:scale(.8)}
.auth-shell{min-height:100vh;display:grid;grid-template-columns:1.2fr minmax(460px,.8fr);background:#fff}.auth-visual{position:relative;padding:48px 60px;overflow:hidden;background:linear-gradient(140deg,#edf5ff 0%,#dceaff 55%,#f3f5ff 100%);display:flex;flex-direction:column}.auth-visual:before,.auth-visual:after{content:"";position:absolute;border-radius:50%;filter:blur(3px);pointer-events:none}.auth-visual:before{width:650px;height:650px;background:radial-gradient(circle,#c3ddff99,transparent 65%);right:-180px;top:8%}.auth-visual:after{width:500px;height:500px;background:radial-gradient(circle,#e0dbff80,transparent 70%);left:-160px;bottom:-100px}.auth-visual .brand{position:relative;z-index:1}.auth-hero{position:relative;z-index:1;margin:auto 0;max-width:540px}.auth-kicker{font-size:10px;letter-spacing:3px;color:#7c98d0;margin-bottom:24px}.auth-hero h1{font-size:52px;line-height:1.45;font-weight:500;letter-spacing:1px;margin:0 0 22px}.auth-hero h1 em{font-style:normal;background:linear-gradient(100deg,#5e87eb,#839ce8);-webkit-background-clip:text;background-clip:text;color:transparent}.auth-hero>p{color:#8190ae;font-size:14px;line-height:2.1}.auth-pills{display:flex;gap:9px;margin-top:32px}.auth-pills span{padding:5px 13px;border-radius:30px;background:#ffffff85;border:1px solid #fff;color:#8092b9;font-size:11px}.auth-canvas-art{height:160px;position:relative;margin-top:45px}.floating-card{position:absolute;border:1px solid #ffffffd9;background:#ffffff91;backdrop-filter:blur(15px);border-radius:16px;box-shadow:0 15px 30px #5572a10c;padding:14px;color:#8294bc;font-size:10px}.floating-card.one{width:190px;left:0;top:20px;transform:rotate(-6deg)}.floating-card.two{width:185px;left:220px;top:65px;transform:rotate(5deg)}.art-gradient{height:60px;border-radius:10px;margin-bottom:9px;background:linear-gradient(120deg,#b5d4fb,#e0e6ff 50%,#c1d7ff)}.art-lines{display:grid;gap:8px}.art-lines i{height:5px;background:#dfe8f8;border-radius:5px}.art-lines i:nth-child(2){width:75%}.art-lines i:nth-child(3){width:45%}.auth-foot{position:relative;z-index:1;font-size:10px;letter-spacing:1px;color:#9aa9c7}.auth-form-side{display:flex;align-items:center;justify-content:center;padding:45px}.auth-form{width:100%;max-width:360px}.auth-form h2{font-size:29px;font-weight:500;letter-spacing:1px;margin:0 0 10px}.auth-form .subtitle{color:var(--muted);margin:0 0 32px}.auth-tabs{display:flex;gap:25px;border-bottom:1px solid var(--line);margin-bottom:28px}.auth-tabs button{background:none;padding:10px 0;color:#a2acc1;position:relative;font-size:13px}.auth-tabs button.active{color:var(--primary);font-weight:600}.auth-tabs button.active:after{content:"";position:absolute;bottom:-1px;left:0;right:0;height:2px;border-radius:2px;background:var(--primary)}.field{display:block;font-size:11px;color:#7d89a4;margin-bottom:18px}.field>span{display:block;margin-bottom:7px}.input-wrap{position:relative}.input-wrap svg{position:absolute;left:13px;top:14px;width:17px;color:#a3b0c9}.input-wrap input{padding-left:40px}.field input,.field textarea,.field select{width:100%;border:1px solid #e2e9f5;border-radius:11px;background:#f8faff;padding:12px 14px;transition:border-color .2s,box-shadow .2s}.field textarea{resize:vertical;min-height:100px}.field input:focus,.field textarea:focus,.field select:focus{border-color:#a2bdf9;box-shadow:0 0 0 3px #edf3ff}.primary-button{display:inline-flex;align-items:center;justify-content:center;gap:9px;background:linear-gradient(110deg,#6d97f6,#647de8);color:#fff;border-radius:11px;padding:11px 20px;box-shadow:0 6px 15px #7392e825;transition:transform .2s,box-shadow .2s}.primary-button:hover{transform:translateY(-1px);box-shadow:0 8px 20px #7392e83a}.primary-button:disabled{opacity:.55;cursor:wait;transform:none}.auth-submit{width:100%;margin-top:10px;padding:13px}.auth-agreement{font-size:10px;color:#a3aec3;text-align:center;margin-top:20px}.form-error{font-size:11px;color:var(--red);min-height:22px;margin-top:10px}
.app-shell{display:grid;grid-template-columns:var(--sidebar) 1fr;min-height:100vh}.sidebar{position:fixed;inset:0 auto 0 0;width:var(--sidebar);background:#ffffffed;border-right:1px solid var(--line);padding:25px 17px 18px;z-index:30;display:flex;flex-direction:column;backdrop-filter:blur(20px)}.sidebar .brand{padding:0 10px;margin-bottom:38px}.sidebar-nav{display:grid;gap:5px}.nav-section{font-size:9px;color:#b0bacf;letter-spacing:1.5px;padding:20px 13px 8px}.nav-item{display:flex;align-items:center;gap:12px;color:#8b97b1;padding:11px 13px;border-radius:11px;transition:background .2s,color .2s;cursor:pointer}.nav-item svg{width:18px}.nav-item:hover{background:#f4f7ff;color:#6386df}.nav-item.active{background:linear-gradient(110deg,#eaf1ff,#f0f3ff);color:#5a7ce0;font-weight:600}.nav-item .nav-badge{margin-left:auto;font-size:9px;background:#f0f4fc;border-radius:6px;padding:0 6px;color:#96a4c1}.sidebar-bottom{margin-top:auto;display:grid;gap:16px}.storage-card{padding:14px;background:#f7faff;border:1px solid #edf2fb;border-radius:12px}.storage-card p{font-size:10px;color:#8f9db7;margin:0 0 9px;display:flex;justify-content:space-between}.storage-track{height:4px;background:#e5edfa;border-radius:5px;overflow:hidden}.storage-track i{display:block;height:100%;width:3%;background:linear-gradient(90deg,#7aa6f7,#7392f2);border-radius:5px}.user-chip{display:flex;align-items:center;gap:10px;padding:7px 8px;cursor:pointer;border-radius:10px}.user-chip:hover{background:#f6f8fe}.avatar{display:grid;place-items:center;width:33px;height:33px;border-radius:11px;background:linear-gradient(130deg,#d2e3ff,#e3e6ff);color:#6383d7;font-weight:600;flex-shrink:0}.user-chip .user-meta{min-width:0;flex:1}.user-chip strong{font-size:11px;font-weight:500;display:block}.user-chip small{font-size:9px;color:#a4aec3;display:block}.user-chip svg{width:15px;color:#a8b4ca}.workspace{grid-column:2;min-width:0}.topbar{height:75px;padding:0 38px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #e8eef880;background:#f5f8ffad;backdrop-filter:blur(20px);position:sticky;top:0;z-index:20}.breadcrumbs{display:flex;align-items:center;gap:9px;color:#a0acc2;font-size:11px}.breadcrumbs strong{font-weight:500;color:#61708d}.top-actions{display:flex;align-items:center;gap:12px}.credit-pill{border:1px solid #e3eafb;background:#fff;padding:6px 13px;border-radius:30px;display:flex;align-items:center;gap:7px;font-size:11px;color:#7887a9}.credit-pill svg{width:15px;color:#7b9af0}.credit-pill strong{color:#5879d4;font-weight:600}.icon-button{background:#fff;border:1px solid var(--line);border-radius:10px;width:34px;height:34px;display:grid;place-items:center;color:#8f9db8;transition:color .2s,border-color .2s}.icon-button:hover{color:var(--primary);border-color:#b8c9f2}.icon-button svg{width:17px}.mobile-menu{display:none}.main-content{padding:32px 38px 50px;max-width:1600px;margin:auto}.page-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:28px}.page-heading h1{font-size:26px;font-weight:500;letter-spacing:1px;margin:0 0 5px}.page-heading p{font-size:11px;color:var(--muted);margin:0}.heading-actions{display:flex;gap:10px}.outline-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;background:#fff;border:1px solid #e1e9f7;border-radius:10px;padding:9px 15px;color:#7d8cac;font-size:11px;transition:border-color .2s,color .2s}.outline-button:hover{border-color:#afc5f3;color:#6385de}.outline-button svg{width:15px}.small-button{padding:7px 12px;font-size:11px;border-radius:9px}
.create-hero{position:relative;overflow:hidden;border:1px solid #e1eaff;background:linear-gradient(120deg,#eaf3ff,#f1f2ff 75%,#edf5ff);border-radius:24px;padding:42px 45px 35px;box-shadow:var(--shadow);margin-bottom:25px}.create-hero:before{content:"";position:absolute;width:500px;height:500px;right:-130px;top:-250px;border-radius:50%;background:radial-gradient(circle,#d1d5ff70,transparent 68%)}.create-hero:after{content:"";position:absolute;width:300px;height:300px;left:45%;bottom:-250px;border-radius:50%;background:#c9e2ff70;filter:blur(35px)}.hero-heading{position:relative;z-index:1;text-align:center;margin-bottom:26px}.hero-heading .mini-label{font-size:9px;letter-spacing:2px;color:#8fa6d7;margin-bottom:10px}.hero-heading h2{font-size:29px;font-weight:500;letter-spacing:2px;margin:0 0 8px}.hero-heading p{font-size:11px;color:#94a3c2;margin:0}.creation-box{max-width:840px;margin:auto;background:#ffffffd9;border:1px solid #fff;border-radius:17px;padding:17px 19px 13px;box-shadow:0 15px 45px #6b83b00d;position:relative;z-index:1;backdrop-filter:blur(10px)}.creation-modes{display:flex;gap:6px;margin-bottom:13px}.creation-modes button{padding:5px 12px;background:transparent;color:#9aa7bf;border-radius:7px;font-size:11px;display:flex;align-items:center;gap:5px}.creation-modes svg{width:14px}.creation-modes button.active{background:#edf3ff;color:#6285e4}.creation-box textarea{border:0;background:transparent;width:100%;min-height:70px;resize:none;font-size:12px;line-height:1.9}.creation-tools{display:flex;align-items:center;gap:8px;border-top:1px solid #eef2fa;padding-top:12px}.tool-select{border:1px solid #e8eef8;border-radius:8px;padding:5px 9px;background:#f9fbff;color:#8190ae;font-size:10px;max-width:190px}.creation-tools .spacer{flex:1}.creation-tools .primary-button{padding:8px 17px;font-size:11px}.home-bottom-grid{display:grid;grid-template-columns:1.5fr 1fr;gap:23px}.section-title{display:flex;align-items:center;justify-content:space-between;margin:0 0 15px}.section-title h3{font-size:14px;font-weight:500;margin:0}.section-title a,.section-title button{font-size:10px;color:#91a1c0;background:none;display:flex;align-items:center;gap:4px}.section-title svg{width:13px}.project-mini-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.project-card{background:#fff;border:1px solid #e7edf8;border-radius:15px;overflow:hidden;transition:transform .2s,box-shadow .2s;cursor:pointer}.project-card:hover{transform:translateY(-3px);box-shadow:0 10px 30px #6983b112}.project-cover{height:125px;position:relative;background:linear-gradient(130deg,#edf4ff,#e5e9ff);overflow:hidden}.project-cover:before{content:"";position:absolute;inset:0;background:linear-gradient(120deg,transparent 30%,#ffffff65 45%,transparent 60%);transform:translateX(-100%);transition:transform .7s}.project-card:hover .project-cover:before{transform:translateX(100%)}.cover-art{position:absolute;inset:0;display:flex;align-items:center;justify-content:center}.cover-art svg{width:47px;height:47px;stroke-width:.7;color:#a8bde9}.cover-art .orb{position:absolute;width:90px;height:90px;border-radius:45% 55% 60% 40%;background:linear-gradient(120deg,#b8d8ff,#c2c3fa);opacity:.6;transform:rotate(25deg);right:15px;top:24px}.project-card:nth-child(2) .project-cover{background:linear-gradient(140deg,#f0efff,#e8f4ff)}.project-card:nth-child(3) .project-cover{background:linear-gradient(130deg,#eef7ff,#e8f1fc)}.project-card-body{padding:13px 14px}.project-card-body h4{margin:0 0 5px;font-weight:500;font-size:12px}.project-card-body p{margin:0;color:#a1aec5;font-size:9px}.inspiration-list{display:grid;gap:11px}.inspiration-item{display:flex;align-items:center;gap:13px;border:1px solid #e8eef8;background:#fff;border-radius:13px;padding:12px 15px;cursor:pointer;transition:border-color .2s}.inspiration-item:hover{border-color:#bbcff6}.inspiration-icon{width:37px;height:37px;border-radius:11px;background:#eef4ff;display:grid;place-items:center;color:#81a1e6}.inspiration-icon svg{width:18px}.inspiration-item:nth-child(2) .inspiration-icon{background:#f0edff;color:#9890df}.inspiration-item:nth-child(3) .inspiration-icon{background:#edf7fa;color:#81b5c5}.inspiration-item h4{margin:0;font-size:11px;font-weight:500}.inspiration-item p{margin:1px 0 0;font-size:9px;color:#a3aec2}.inspiration-item>svg{margin-left:auto;width:15px;color:#bbc5d8}.empty-mini{grid-column:1/-1;border:1px dashed #dce6f7;padding:30px;border-radius:14px;text-align:center;color:#9babc8;background:#ffffff60;font-size:11px}
.stats-row{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:27px}.stat-card{padding:20px;background:#fff;border:1px solid var(--line);border-radius:15px;display:flex;align-items:center;gap:15px}.stat-icon{width:41px;height:41px;border-radius:12px;display:grid;place-items:center;background:#edf3ff;color:#7094e9}.stat-card:nth-child(2) .stat-icon{background:#eff8f5;color:#70b8a1}.stat-card:nth-child(3) .stat-icon{background:#f1efff;color:#948cda}.stat-card:nth-child(4) .stat-icon{background:#fff5ed;color:#d5a478}.stat-card p{margin:0;font-size:10px;color:#9ca8bd}.stat-card strong{font-size:22px;font-weight:500;display:block;line-height:1.4}.filter-bar{display:flex;align-items:center;gap:11px;margin-bottom:20px}.search-box{position:relative;flex:1;max-width:270px}.search-box svg{position:absolute;left:11px;top:9px;width:15px;color:#a4b0c5}.search-box input{width:100%;border:1px solid #e4ebf7;background:#fff;border-radius:9px;padding:8px 12px 8px 34px;font-size:11px}.filter-spacer{flex:1}.filter-bar select{background:#fff;border:1px solid #e4ebf7;border-radius:9px;padding:8px 12px;color:#8b99b4;font-size:11px}.project-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}.project-grid .project-cover{height:165px}.new-project-card{min-height:235px;border:1px dashed #ccdaf3;background:#ffffff65;border-radius:15px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:9px;color:#91a5cd;cursor:pointer}.new-project-card:hover{background:#edf4ff;border-color:#a4bff0}.new-project-card .plus-circle{width:39px;height:39px;border-radius:50%;background:#eaf2ff;display:grid;place-items:center;color:#7696e5}.new-project-card p{font-size:11px;margin:0}.empty-state{padding:70px 25px;border:1px dashed #d7e2f5;border-radius:18px;background:#ffffff80;text-align:center;color:#97a7c3}.empty-state .empty-icon{width:64px;height:64px;background:#edf3ff;border-radius:21px;display:grid;place-items:center;margin:0 auto 17px;color:#90a9e0;transform:rotate(-5deg)}.empty-state .empty-icon svg{width:29px;height:29px}.empty-state h3{color:#647593;font-size:15px;font-weight:500;margin:0 0 8px}.empty-state p{font-size:11px;margin:0 0 20px}.empty-state .primary-button{font-size:11px}
.table-card{border:1px solid var(--line);background:#fff;border-radius:16px;overflow:hidden;box-shadow:var(--shadow)}.data-table{width:100%;border-collapse:collapse;text-align:left}.data-table th{font-size:10px;color:#9ca9bf;font-weight:400;background:#f8faff;padding:13px 20px;border-bottom:1px solid var(--line)}.data-table td{padding:15px 20px;font-size:11px;border-bottom:1px solid #f0f3f9;color:#72809c;vertical-align:middle}.data-table tr:last-child td{border-bottom:0}.data-table tbody tr:hover{background:#fbfcff}.task-title{color:#51617f;max-width:340px}.task-title p{margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.task-title small{font-size:9px;color:#a7b2c5}.status{display:inline-flex;align-items:center;gap:5px;border-radius:20px;padding:3px 9px;font-size:9px}.status:before{content:"";width:4px;height:4px;border-radius:50%;background:currentColor}.status.success{background:#edf8f4;color:#5caa91}.status.failed{background:#fff1f3;color:#d78994}.status.pending{background:#fff8e8;color:#c4a263}.type-tag{display:inline-block;background:#f0f4fc;color:#8295bc;padding:3px 8px;border-radius:6px;font-size:9px}.table-actions{display:flex;gap:7px}.table-actions button{background:none;color:#8da1ca;padding:3px}.table-actions svg{width:15px}.task-preview{width:48px;height:36px;border-radius:7px;object-fit:cover;background:#edf3ff}.task-main{display:flex;align-items:center;gap:12px}.model-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:17px}.model-card{background:#fff;border:1px solid var(--line);border-radius:16px;padding:20px;transition:transform .2s,box-shadow .2s}.model-card:hover{transform:translateY(-2px);box-shadow:var(--shadow)}.model-head{display:flex;align-items:center;gap:12px;margin-bottom:15px}.model-logo{width:41px;height:41px;border-radius:12px;background:linear-gradient(140deg,#eaf2ff,#eeebff);color:#7c92e1;display:grid;place-items:center}.model-logo svg{width:22px}.model-head h3{font-size:13px;margin:0;font-weight:500}.model-head p{font-size:9px;color:#a3aec3;margin:0}.model-head .status{margin-left:auto}.model-description{font-size:10px;color:#98a5bc;height:36px;margin:0 0 15px}.model-meta{display:flex;justify-content:space-between;border-top:1px solid #edf1f8;padding-top:12px;color:#a1aec3;font-size:10px}.model-meta strong{color:#6d8cdd;font-weight:500}.asset-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:16px}.asset-card{background:#fff;border:1px solid var(--line);border-radius:13px;overflow:hidden}.asset-thumb{aspect-ratio:1.25;overflow:hidden;background:#eef3fc;position:relative;display:grid;place-items:center;color:#adc0e5}.asset-thumb img,.asset-thumb video{width:100%;height:100%;object-fit:cover}.asset-thumb svg{width:30px;height:30px}.asset-info{padding:10px 12px}.asset-info h4{font-size:10px;font-weight:400;margin:0 0 4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.asset-info p{font-size:8px;color:#a7b3c7;margin:0}.asset-actions{display:flex;justify-content:space-between;align-items:center}.asset-actions button{background:none;color:#8da1c7;padding:3px}.asset-actions svg{width:14px}
.settings-layout{display:grid;grid-template-columns:200px 1fr;gap:23px}.settings-nav{display:grid;align-content:start;gap:4px}.settings-nav button{text-align:left;background:transparent;padding:10px 14px;border-radius:9px;color:#93a1bb;font-size:11px}.settings-nav button.active{color:#6387df;background:#eaf1ff}.settings-panel{background:#fff;border:1px solid var(--line);border-radius:17px;padding:28px;max-width:800px}.settings-panel h3{font-weight:500;font-size:16px;margin:0 0 5px}.settings-panel>.muted{font-size:11px;margin:0 0 24px}.profile-row{display:flex;gap:14px;align-items:center;margin-bottom:24px}.profile-row .avatar{width:48px;height:48px;font-size:17px;border-radius:15px}.profile-row strong{display:block;font-weight:500}.profile-row span{font-size:10px;color:#9daac0}.settings-field{max-width:450px}.info-banner{background:#f0f5ff;border:1px solid #e1eaff;border-radius:11px;padding:13px 16px;color:#8196be;font-size:10px;display:flex;gap:10px;align-items:start}.info-banner svg{width:17px;margin-top:2px}.code-box{background:#f5f8ff;border:1px solid #e6edfa;padding:12px 15px;border-radius:9px;color:#8295bd;font-size:11px;word-break:break-all}.admin-tabs{display:flex;gap:10px;margin-bottom:20px}.admin-tabs button{background:#fff;border:1px solid var(--line);padding:8px 16px;border-radius:10px;color:#95a2ba}.admin-tabs button.active{background:#eaf1ff;color:#6486de;border-color:#d9e5ff}.credit-input{width:90px;padding:5px;border:1px solid var(--line);border-radius:6px}
.editor-shell{position:fixed;inset:0;background:#f1f5fc;z-index:50;display:flex;flex-direction:column}.editor-topbar{height:64px;background:#ffffffed;border-bottom:1px solid #e1e8f6;display:flex;align-items:center;justify-content:space-between;padding:0 21px;gap:20px;z-index:5;backdrop-filter:blur(15px)}.editor-left,.editor-right{display:flex;align-items:center;gap:13px}.editor-back{width:31px;height:31px;background:#f4f7fd;border-radius:9px;display:grid;place-items:center;color:#8d9ebc}.editor-title{font-size:12px;font-weight:500;border:0;background:transparent;width:170px;padding:5px}.save-status{font-size:9px;color:#a0aec4;display:flex;align-items:center;gap:5px}.save-status i{width:5px;height:5px;border-radius:50%;background:#7fbca4}.editor-canvas{flex:1;position:relative;overflow:hidden;cursor:grab;background-color:#f2f6fc;background-image:radial-gradient(#cbd7ec 1px,transparent 1px);background-size:24px 24px}.editor-canvas.panning{cursor:grabbing}.editor-canvas.adding{cursor:crosshair}.canvas-world{position:absolute;left:0;top:0;transform-origin:0 0;width:1px;height:1px}.canvas-node{position:absolute;width:240px;background:#fff;border:1px solid #dde6f6;border-radius:14px;box-shadow:0 8px 25px #59739c0a;overflow:visible;user-select:none}.canvas-node.selected{border-color:#84a6ef;box-shadow:0 0 0 3px #a8c3f733,0 8px 25px #59739c15}.node-header{height:38px;display:flex;align-items:center;gap:7px;padding:0 12px;cursor:move;color:#8192b0;font-size:10px}.node-header svg{width:14px}.node-header span{flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.node-header button{padding:0;background:none;color:#a8b4c9}.node-header button svg{width:12px}.node-body{min-height:110px;border-top:1px solid #eef2f9;padding:14px;display:flex;align-items:center;justify-content:center;color:#a6b3c9;font-size:10px;overflow:hidden;border-radius:0 0 14px 14px}.node-body img,.node-body video{width:100%;max-height:260px;object-fit:contain}.node-body.text-node{display:block;line-height:1.9;white-space:pre-wrap}.node-port{position:absolute;top:50%;width:9px;height:9px;background:#fff;border:2px solid #94b0e9;border-radius:50%;z-index:2}.node-port.input{left:-5px}.node-port.output{right:-5px}.edges-layer{position:absolute;overflow:visible;pointer-events:none;left:0;top:0}.edges-layer path{fill:none;stroke:#a7bde7;stroke-width:1.5}.editor-toolbar{position:absolute;left:50%;bottom:28px;transform:translateX(-50%);display:flex;gap:4px;background:#ffffffed;border:1px solid #e1e9f6;border-radius:13px;padding:6px;box-shadow:0 10px 30px #59739c15;z-index:4;backdrop-filter:blur(15px)}.editor-toolbar button{width:36px;height:34px;background:transparent;color:#8fa0bd;border-radius:8px;display:grid;place-items:center}.editor-toolbar button:hover,.editor-toolbar button.active{background:#ebf2ff;color:#6489e3}.editor-toolbar svg{width:17px}.toolbar-divider{width:1px;background:#e9eef8;margin:6px 3px}.editor-zoom{position:absolute;right:20px;bottom:28px;display:flex;align-items:center;background:#fff;border:1px solid #e2eaf7;border-radius:10px;overflow:hidden;z-index:4}.editor-zoom button{background:none;color:#8da0c0;width:31px;height:32px}.editor-zoom span{font-size:10px;width:45px;text-align:center;color:#8193b3}.editor-tip{position:absolute;top:20px;left:50%;transform:translateX(-50%);padding:7px 14px;border:1px solid #e3ebf9;border-radius:20px;background:#ffffffd9;color:#9baac2;font-size:9px;pointer-events:none;backdrop-filter:blur(10px)}
.modal-backdrop{position:fixed;inset:0;background:#273a6450;backdrop-filter:blur(5px);display:grid;place-items:center;padding:20px;z-index:100;animation:fadeIn .2s}.modal{width:100%;max-width:450px;max-height:90vh;overflow:auto;background:#fff;border:1px solid #ffffffbd;border-radius:20px;box-shadow:0 25px 80px #273a6425;padding:27px;animation:slideUp .25s}.modal.wide{max-width:600px}.modal-header{display:flex;align-items:start;justify-content:space-between;margin-bottom:22px}.modal-header h2{font-size:18px;font-weight:500;margin:0 0 5px}.modal-header p{font-size:10px;color:#9ba9bf;margin:0}.modal-close{background:#f5f7fc;border-radius:8px;color:#9aa9bf;width:27px;height:27px;display:grid;place-items:center}.modal-close svg{width:15px}.modal-footer{display:flex;justify-content:flex-end;gap:9px;margin-top:24px}.toast-root{position:fixed;top:85px;right:25px;z-index:200;display:grid;gap:10px}.toast{background:#fffffff2;border:1px solid #e4ebf8;box-shadow:0 10px 35px #51688f18;border-radius:12px;padding:12px 17px;display:flex;align-items:center;gap:10px;min-width:230px;max-width:400px;font-size:11px;color:#7184a8;animation:slideUp .25s}.toast svg{width:17px;color:#6c91e8}.toast.error svg{color:var(--red)}.loading-spinner{display:inline-block;width:15px;height:15px;border:2px solid #ffffff50;border-top-color:#fff;border-radius:50%;animation:spin .8s linear infinite}.skeleton{background:linear-gradient(100deg,#edf2fb 30%,#f8faff 50%,#edf2fb 70%);background-size:200% 100%;animation:shimmer 1.5s infinite}.admin-note{font-size:10px;color:#9baac3;margin-bottom:16px}.danger-button{color:#d78b97;background:none;font-size:10px}.dropdown-menu{position:fixed;background:#fff;border:1px solid var(--line);border-radius:12px;padding:6px;box-shadow:0 10px 40px #4d638e1c;z-index:90;min-width:145px}.dropdown-menu button{display:flex;gap:9px;align-items:center;width:100%;text-align:left;padding:8px 10px;background:none;border-radius:7px;color:#7f8fac;font-size:11px}.dropdown-menu button:hover{background:#f1f5ff;color:#6486dc}.dropdown-menu svg{width:15px}@keyframes spin{to{transform:rotate(360deg)}}@keyframes fadeIn{from{opacity:0}to{opacity:1}}@keyframes slideUp{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}@keyframes shimmer{to{background-position:-200% 0}}
@media(min-width:1500px){.main-content{padding:40px 48px}.create-hero{padding:47px 55px 40px}.project-grid{grid-template-columns:repeat(4,1fr)}.project-grid .project-cover{height:185px}}
@media(max-width:1200px){:root{--sidebar:200px}.main-content{padding:28px}.topbar{padding:0 28px}.project-grid{grid-template-columns:repeat(3,1fr)}.asset-grid{grid-template-columns:repeat(4,1fr)}.auth-shell{grid-template-columns:1fr 460px}.auth-visual{padding:40px}.auth-hero h1{font-size:43px}.floating-card.two{left:170px}.home-bottom-grid{grid-template-columns:1.3fr 1fr}.project-mini-grid{grid-template-columns:repeat(2,1fr)}.project-mini-grid .project-card:nth-child(3){display:none}.model-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:850px){.auth-shell{grid-template-columns:1fr}.auth-visual{min-height:300px;padding:28px 35px}.auth-hero{margin:55px 0 0}.auth-hero h1{font-size:38px}.auth-canvas-art,.auth-foot{display:none}.auth-form-side{padding:45px 30px}.app-shell{display:block}.sidebar{transform:translateX(-100%);transition:transform .25s;width:230px;box-shadow:15px 0 50px #3d578a15}.sidebar.open{transform:none}.workspace{width:100%}.mobile-menu{display:grid}.topbar{height:65px;padding:0 20px}.main-content{padding:25px 20px}.home-bottom-grid{grid-template-columns:1fr}.project-mini-grid{grid-template-columns:repeat(3,1fr)}.project-mini-grid .project-card:nth-child(3){display:block}.project-grid{grid-template-columns:repeat(2,1fr)}.asset-grid{grid-template-columns:repeat(3,1fr)}.stats-row{grid-template-columns:repeat(2,1fr)}.settings-layout{grid-template-columns:1fr}.settings-nav{display:flex;overflow:auto}.settings-nav button{white-space:nowrap}.data-table{min-width:700px}.table-card{overflow:auto}.editor-title{width:120px}.save-status{display:none}.create-hero{padding:35px 25px}.editor-tip{display:none}}
@media(max-width:550px){.auth-visual{min-height:255px;padding:24px}.auth-hero{margin-top:35px}.auth-hero h1{font-size:31px}.auth-hero>p{font-size:11px}.auth-pills{margin-top:20px}.auth-form-side{padding:35px 25px}.page-heading{align-items:start;flex-direction:column;margin-bottom:22px}.page-heading h1{font-size:23px}.heading-actions{width:100%}.heading-actions>*{flex:1}.topbar{padding:0 14px}.breadcrumbs{font-size:10px}.top-actions{gap:7px}.credit-pill{padding:5px 9px}.main-content{padding:22px 15px}.create-hero{padding:30px 14px 20px;border-radius:19px}.hero-heading h2{font-size:23px}.hero-heading p{font-size:10px}.creation-box{padding:14px}.creation-tools{flex-wrap:wrap}.tool-select{max-width:130px}.creation-tools .spacer{display:none}.creation-tools .primary-button{margin-left:auto}.project-mini-grid{grid-template-columns:repeat(2,1fr)}.project-mini-grid .project-card:nth-child(3){display:none}.project-grid{grid-template-columns:1fr 1fr;gap:12px}.project-grid .project-cover{height:120px}.project-card-body{padding:10px}.project-card-body h4{font-size:10px}.asset-grid{grid-template-columns:repeat(2,1fr)}.model-grid{grid-template-columns:1fr}.stats-row{gap:10px}.stat-card{padding:15px 12px;gap:10px}.stat-icon{width:35px;height:35px}.stat-card strong{font-size:19px}.settings-panel{padding:20px}.filter-bar{flex-wrap:wrap}.search-box{max-width:none;width:100%;flex:auto}.editor-topbar{padding:0 10px;gap:8px;height:58px}.editor-left,.editor-right{gap:7px}.editor-left .brand-symbol{display:none}.editor-title{width:105px;font-size:11px}.editor-right .outline-button{font-size:0;padding:8px}.editor-right .outline-button svg{margin:0}.editor-toolbar{bottom:22px}.editor-zoom{bottom:75px;right:15px}.canvas-node{width:210px}.modal{padding:22px}.toast-root{top:75px;left:15px;right:15px}.toast{max-width:none;min-width:0}.editor-back{flex-shrink:0}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}

/* ---- 管理后台 ---- */
.admin-root{--admin-gap:14px}
.admin-body{min-height:240px}
.admin-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}
@media(max-width:900px){.admin-grid{grid-template-columns:1fr}}
.kv-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px}
.kv-grid>div{background:#f1f3f9;border:1px solid #e3e6ef;border-radius:10px;padding:11px 13px}
.kv-grid span{display:block;font-size:10px;color:#98a2b8;margin-bottom:4px}
.kv-grid strong{font-size:13px;font-weight:500;color:#4d536b}
.admin-pager{display:flex;align-items:center;gap:12px;justify-content:flex-end;margin-top:14px;font-size:10px;color:#98a2b8}
.admin-pager button:disabled{opacity:.45;cursor:not-allowed}
.admin-loading{padding:40px;text-align:center;color:#98a2b8;font-size:11px}
.admin-tabs button{white-space:nowrap}
.announcement-bar{display:flex;gap:10px;align-items:flex-start;background:#eef4ed;border:1px solid #dbe6d8;color:#6d7d63;border-radius:12px;padding:12px 15px;font-size:11px;margin-bottom:18px}
.announcement-bar svg{width:16px;margin-top:1px;flex-shrink:0}
.announcement-bar button{margin-left:auto;background:none;color:#93a186;font-size:10px}


/* INPUT-ICON-FIX 图标与文字重叠修复 */
.field .input-wrap input{padding-left:42px}
.input-wrap svg{left:14px;top:50%;transform:translateY(-50%);width:16px;height:16px;pointer-events:none}
.field .input-wrap input::placeholder{color:#b3bdd0;opacity:1}
.auth-form .field>span{letter-spacing:.2px}

/* ANNOUNCE-FIX 公告换行与关闭按钮 */
.announcement-bar .announcement-text{white-space:pre-wrap;line-height:1.65}
.announcement-bar button{align-self:flex-start;background:none;border:0;color:#93a186;font-size:10px;cursor:pointer;padding:2px 4px;opacity:.85}
.announcement-bar button:hover{opacity:1;text-decoration:underline}

/* GUEST-HOME 访客浏览态 */
.guest-card{background:#f4f6fc;border:1px solid #e4e9f5;border-radius:12px;padding:14px}
.guest-card p{font-size:10px;color:#8c98b2;margin:0 0 10px;line-height:1.6}
.guest-card .primary-button{width:100%;justify-content:center;font-size:11px;padding:10px 12px}
.nav-item .guest-lock{margin-left:auto;opacity:.35;display:inline-flex}
.nav-item .guest-lock svg{width:13px;height:13px}
.guest-footer-cta{display:flex;gap:16px;align-items:center;justify-content:space-between;flex-wrap:wrap;background:linear-gradient(120deg,#f3f6fd,#eef4f1);border:1px solid #e2e9f5;border-radius:16px;padding:22px 24px;margin-top:28px}
.guest-footer-cta h3{margin:0 0 6px;font-size:15px;font-weight:500;color:#4a4d63}
.guest-footer-cta p{margin:0;font-size:11px;color:#8c98b2}
.guest-cta-actions{display:flex;gap:10px;flex-wrap:wrap}

/* GUEST-TOPBAR 右上角对齐 */
.topbar-right{display:flex;align-items:center;gap:10px;flex-wrap:nowrap}
.topbar-right .credit-pill,.topbar-right .outline-button{white-space:nowrap}

/* GUEST-HERO 访客首页横幅高度 */
.guest-hero{min-height:auto;padding:46px 40px;align-items:center;text-align:center}
.guest-hero .hero-heading{margin:0 auto}

/* GUEST-MOBILE 移动端适配 */
@media(max-width:850px){
  .topbar-right{gap:8px}
  .topbar-right .credit-pill{display:none}
  .topbar-right .outline-button{padding:7px 14px;font-size:10px}
  .guest-hero{padding:32px 20px;text-align:center}
  .guest-hero .hero-heading h2{font-size:24px}
  .guest-hero .hero-heading p{font-size:11px}
  .model-grid{grid-template-columns:1fr}
  .guest-footer-cta{flex-direction:column;align-items:stretch;padding:18px}
  .guest-cta-actions{width:100%}
  .guest-cta-actions .primary-button,.guest-cta-actions .outline-button{flex:1;justify-content:center}
  .announcement-bar{font-size:10px;padding:10px 12px}
  .guest-card{padding:12px}
  .sidebar .sidebar-bottom{margin-top:auto}
}
@media(max-width:550px){
  .model-card{padding:14px}
  .model-head h3{font-size:13px}
  .topbar .breadcrumbs{font-size:10px}
}

/* MOBILE-POLISH 小屏细节 */
@media(max-width:550px){
  .announcement-bar button{white-space:nowrap;align-self:flex-start}
  .creation-modes{gap:6px}
  .creation-modes button{font-size:10px;padding:7px 10px;white-space:nowrap}
  .creation-modes button svg{width:13px;height:13px}
  .model-head h3{font-size:13px}
  .guest-footer-cta h3{font-size:14px}
}

/* FORM-ROW 表单单行布局 */
.form-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:12px}
@media(max-width:550px){.form-row{grid-template-columns:1fr}}
.code-result textarea{font-family:ui-monospace,Consolas,monospace;font-size:12px;letter-spacing:1px}

/* MODEL 计费说明与分类 */
.model-credit-note{margin:8px 0 0;font-size:10px;line-height:1.5;color:#a3adc2;border-top:1px dashed #eceff6;padding-top:8px}

/* TASK 多图角标 */
.task-preview{position:relative}
.task-count{position:absolute;right:-6px;bottom:-6px;background:#7b8fc4;color:#fff;font-size:9px;line-height:1;padding:3px 5px;border-radius:8px;border:2px solid #fff}

/* TASK-PREVIEW 缩略图尺寸约束 */
.task-preview{width:56px;height:56px;min-width:56px;border-radius:10px;overflow:hidden;display:flex;align-items:center;justify-content:center;background:#f1f4fb;color:#b3bdd0}
.task-preview img{width:100%;height:100%;object-fit:cover;display:block}
.task-main{display:flex;gap:12px;align-items:center}
.task-title p{margin:0;font-size:12px;color:#4a4d63}
.task-title small{font-size:10px;color:#a6b1c5}
.task-count{position:absolute;right:2px;bottom:2px;background:#7b8fc4;color:#fff;font-size:9px;line-height:1;padding:3px 5px;border-radius:8px;border:2px solid #fff}

/* PROGRESS 生成进度 */
.spinner{display:inline-block;width:10px;height:10px;margin-right:5px;border:2px solid #c9d3e6;border-top-color:#7b8fc4;border-radius:50%;animation:spin .8s linear infinite;vertical-align:-1px}
@keyframes spin{to{transform:rotate(360deg)}}
.progress-banner{display:flex;gap:12px;align-items:flex-start;background:#eef3fd;border:1px solid #dbe5f7;border-radius:12px;padding:12px 15px;margin-bottom:18px}
.progress-banner .spinner{width:14px;height:14px;margin-top:2px;border-width:2px}
.progress-banner strong{display:block;font-size:12px;font-weight:500;color:#54628a;margin-bottom:3px}
.progress-banner span{font-size:11px;color:#8c98b2;line-height:1.6}
.status .spinner{margin-right:4px}

/* VIEWER 素材预览 */
.viewer-backdrop{position:fixed;inset:0;background:#20263a99;backdrop-filter:blur(6px);display:flex;align-items:center;justify-content:center;z-index:120;padding:24px}
.viewer-panel{background:#fff;border-radius:16px;max-width:min(92vw,1100px);max-height:92vh;display:flex;flex-direction:column;overflow:hidden;box-shadow:0 30px 80px #1b213530}
.viewer-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 20px;border-bottom:1px solid #eef1f7}
.viewer-head strong{display:block;font-size:13px;font-weight:500;color:#4a4d63}
.viewer-head span{font-size:10px;color:#a3adc2}
.viewer-body{flex:1;min-height:0;display:flex;align-items:center;justify-content:center;background:#f6f8fc;padding:16px}
.viewer-body img,.viewer-body video{max-width:100%;max-height:66vh;border-radius:10px;display:block}
.viewer-foot{display:flex;gap:10px;padding:14px 20px;border-top:1px solid #eef1f7;flex-wrap:wrap}
.asset-card,.task-preview{cursor:pointer}

/* VIEWER-MULTI 多图预览 */
.viewer-body{position:relative;gap:10px}
.viewer-nav{position:absolute;top:50%;transform:translateY(-50%);width:38px;height:38px;border-radius:50%;border:1px solid #e2e9f5;background:#ffffffe6;color:#6f7d99;display:flex;align-items:center;justify-content:center;cursor:pointer;z-index:2}
.viewer-nav svg{width:16px}
.viewer-nav.prev{left:16px;transform:translateY(-50%) rotate(180deg)}
.viewer-nav.next{right:16px}
.viewer-nav:hover{color:#5a6c92;border-color:#c8d6ee}
.viewer-strip{display:flex;gap:8px;padding:10px 20px 0;overflow-x:auto;border-top:1px solid #eef1f7}
.viewer-thumb{width:56px;height:56px;min-width:56px;border-radius:8px;overflow:hidden;border:2px solid transparent;background:#f1f4fb;padding:0;cursor:pointer}
.viewer-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.viewer-thumb.active{border-color:#7b8fc4}

/* ==== READABILITY：整体字体加粗加深 ==== */
body{font-weight:500;letter-spacing:.2px}
h1,h2,h3,h4,strong{font-weight:600;color:#2f3550}
.muted,small,.stat-card p,.project-card p,.model-description{color:#7f8aa3;font-weight:450}
.tool-select,.field input,.field select,textarea{font-weight:500;color:#3a4058}
button{font-weight:550}
.mini-label{letter-spacing:2px;font-weight:600;color:#8c98b2}

/* ==== MODEL PICKER（按厂商分组） ==== */
.model-picker{position:relative;min-width:230px}
.model-picker-btn{display:flex;align-items:center;gap:10px;width:100%;padding:10px 12px;border:1px solid #e2e9f5;border-radius:12px;background:#fff;cursor:pointer;transition:.18s}
.model-picker-btn:hover{border-color:#c9d6ee;box-shadow:0 4px 14px #7b8fc418}
.mp-avatar,.mp-logo,.mp-item-logo{width:26px;height:26px;min-width:26px;border-radius:8px;display:flex;align-items:center;justify-content:center;background:#f2f5fb;overflow:hidden}
.mp-avatar img,.mp-logo img,.mp-item-logo img{width:16px;height:16px;display:block}
.mp-avatar svg{width:14px;height:14px;color:#7b8fc4}
.mp-text{flex:1;text-align:left;display:flex;flex-direction:column;line-height:1.25;overflow:hidden}
.mp-text strong{font-size:12px;color:#3a4058;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mp-text small{font-size:9.5px;color:#9aa5bc;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mp-caret{font-size:10px;color:#a8b3ca}
.model-panel{position:absolute;left:0;bottom:calc(100% + 10px);width:min(520px,88vw);max-height:420px;overflow:auto;background:#fff;border:1px solid #e6ecf7;border-radius:14px;box-shadow:0 22px 50px #22304a26;padding:10px;z-index:60}
.model-panel[hidden]{display:none}
.mp-group{margin-bottom:8px}
.mp-group:last-child{margin-bottom:0}
.mp-group-head{display:flex;align-items:center;gap:8px;font-size:10px;font-weight:600;color:#8c98b2;letter-spacing:.6px;padding:6px 8px}
.mp-item{display:flex;align-items:center;gap:10px;width:100%;padding:9px 10px;border:none;background:transparent;border-radius:10px;cursor:pointer;text-align:left;transition:.15s}
.mp-item:hover{background:#f4f7fd}
.mp-item.active{background:#eef3fd;box-shadow:inset 0 0 0 1px #d7e3f8}
.mp-item-main{flex:1;display:flex;flex-direction:column;gap:2px;min-width:0}
.mp-item-main strong{font-size:12px;color:#3a4058}
.mp-item-main small{font-size:9.5px;color:#98a3ba}
.mp-chips{display:flex;gap:5px;flex-wrap:wrap;margin-top:3px}
.mp-chips em{font-style:normal;font-size:8.5px;color:#6f7f9e;background:#eef2fa;border-radius:6px;padding:2px 6px}
.mp-rate{font-size:10px;font-weight:600;padding:2px 7px;border-radius:8px;background:#eef2fa;color:#6f7f9e}
.mp-rate.good{background:#e9f7ee;color:#2f9e63}
.mp-rate.mid{background:#fdf5e6;color:#c08a25}
.mp-rate.low{background:#fdecec;color:#cf5b5b}
.mp-empty{padding:18px;text-align:center;color:#9aa5bc;font-size:11px}

/* ==== 时长滑杆 ==== */
.duration-wrap{display:flex;align-items:center;gap:9px;padding:7px 12px;border:1px solid #e2e9f5;border-radius:12px;background:#fff}
.duration-wrap[hidden]{display:none}
.duration-label{display:flex;align-items:center;gap:5px;font-size:10px;color:#8c98b2;white-space:nowrap}
.duration-label svg{width:12px;height:12px}
.duration-wrap input[type=range]{width:110px;accent-color:#7b8fc4;cursor:pointer}
.duration-value{font-size:11px;font-weight:600;color:#5a6c92;min-width:34px;text-align:right}

/* ==== 模型广场：厂商分组 ==== */
.vendor-section{margin-bottom:26px}
.vendor-head{display:flex;align-items:center;gap:10px;margin-bottom:12px}
.vendor-logo{width:30px;height:30px;border-radius:9px;background:#f2f5fb;display:flex;align-items:center;justify-content:center;overflow:hidden}
.vendor-logo img{width:18px;height:18px}
.vendor-head h3{font-size:14px;margin:0;color:#3a4058}
.vendor-count{font-size:10px;color:#9aa5bc;background:#f1f4fa;border-radius:8px;padding:3px 8px}
.model-head .model-logo{overflow:hidden}
.model-head .model-logo img{width:18px;height:18px;display:block}
.ref-chips{display:flex;gap:6px;flex-wrap:wrap;margin:0 0 12px}
.ref-chips em{font-style:normal;font-size:9px;color:#6f7f9e;background:#eef2fa;border-radius:7px;padding:3px 8px}
.rate-badge{font-size:9.5px;font-weight:600;padding:3px 8px;border-radius:8px;background:#eef2fa;color:#6f7f9e;margin-right:6px}
.rate-badge.good{background:#e9f7ee;color:#2f9e63}
.rate-badge.mid{background:#fdf5e6;color:#c08a25}
.rate-badge.low{background:#fdecec;color:#cf5b5b}
.rate-badge.idle{background:#f4f6fb;color:#a8b3ca}
.runs{font-weight:450;font-size:9px;color:#a8b3ca}
.model-meta span{display:flex;align-items:center;gap:2px}

/* MODEL PICKER 两列布局（厂商 → 模型） */
.model-panel{width:min(720px,92vw);max-height:460px;padding:0;overflow:hidden}
.model-panel[hidden]{display:none}
.mp-layout{display:flex;max-height:460px}
.mp-left{width:210px;min-width:210px;border-right:1px solid #eef2fa;background:#fbfcff;padding:10px;overflow-y:auto}
.mp-vendor{display:flex;align-items:center;gap:10px;width:100%;padding:11px 12px;margin-bottom:6px;border:none;border-radius:11px;background:transparent;cursor:pointer;text-align:left;color:#3a4058}
.mp-vendor:hover{background:#f4f7fd}
.mp-vendor .mp-logo{width:24px;height:24px;min-width:24px;border-radius:7px;background:#fff;display:flex;align-items:center;justify-content:center;border:1px solid #eef2fa}
.mp-vendor .mp-logo img{width:15px;height:15px}
.mp-vendor-name{flex:1;font-size:12.5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.mp-vendor-count{font-size:10px;color:#a8b3ca}
.mp-right{flex:1;min-width:0;padding:12px;overflow-y:auto;display:flex;flex-direction:column;gap:10px}
.mp-card{display:block;width:100%;text-align:left;padding:14px 15px;border:1px solid #eef2fa;border-radius:13px;background:#fff;cursor:pointer;transition:.15s}
.mp-card:hover{border-color:#d7e3f8;box-shadow:0 6px 18px #7b8fc412}
.mp-card.active{border-color:#cfe0ff;background:#f5f9ff}
.mp-card-top{display:flex;align-items:center;gap:10px;justify-content:space-between}
.mp-card-top strong{font-size:13.5px;color:#3a4058;font-weight:600}
.mp-card-meta{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:8px;font-size:11px;color:#8c98b2}
.mp-card-meta em{font-style:normal;font-size:10px;padding:3px 8px;border-radius:7px;background:#eef3fd;color:#5a6c92}

/* 平台选择面板：向下展开 + 限高滚动 */
.model-panel{top:calc(100% + 10px);bottom:auto;max-height:430px;overflow:hidden}
.mp-right{overflow-y:auto;max-height:430px}
.mp-left{overflow-y:auto;max-height:430px}


/* 平台模型面板：fixed 定位，避免被容器裁剪 */
.model-panel{position:fixed;z-index:150;top:auto;bottom:auto;width:min(720px,92vw);max-height:430px;overflow:hidden}
.model-panel .mp-right,.model-panel .mp-left{max-height:428px;overflow-y:auto}

/* 平台模型面板：按参考图缩小 */
.model-panel{width:520px!important;max-width:min(520px,92vw)!important}
.model-panel .mp-layout{max-height:330px}
.model-panel .mp-left{width:170px;min-width:170px;padding:8px;max-height:330px}
.model-panel .mp-vendor{padding:8px 9px;margin-bottom:4px;border-radius:9px;gap:8px}
.model-panel .mp-vendor .mp-logo{width:20px;height:20px;min-width:20px;border-radius:6px}
.model-panel .mp-vendor .mp-logo img{width:13px;height:13px}
.model-panel .mp-vendor-name{font-size:12px}
.model-panel .mp-right{padding:9px;gap:7px;max-height:330px}
.model-panel .mp-card{padding:10px 11px;border-radius:10px}
.model-panel .mp-card-top strong{font-size:12.5px}
.model-panel .mp-card-meta{margin-top:5px;gap:6px;font-size:10.5px}
.model-panel .mp-card-meta em{font-size:9.5px;padding:2px 6px;border-radius:6px}
