:root{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;color:#242530;background:#f7f8fb;font-synthesis:none;--purple:#7458e8;--line:#e9eaf0;--muted:#818492}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{outline-offset:4px}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{opacity:.5;cursor:wait}button{border:1px solid var(--line);background:white;color:inherit;border-radius:9px;padding:10px 16px;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-size:13px;font-weight:600;transition:.15s}button:hover{background:#f1effb;border-color:#d5ccf4}button.primary{color:white;background:var(--purple);border-color:var(--purple);box-shadow:0 3px 8px #7458e822}button.primary:hover{background:#6347cf}button.danger{color:#c44b59}button.ghost{border-color:transparent;background:transparent}button.icon{padding:8px}a{color:var(--purple);text-decoration:none}svg.icon{height:18px;width:18px;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.shell{min-height:100vh;display:grid;grid-template-columns:222px minmax(0,1fr)}.sidebar{position:fixed;inset:0 auto 0 0;width:222px;background:#15151e;color:#a4a4b4;display:flex;flex-direction:column;padding:29px 18px;z-index:5}.brand{display:flex;gap:11px;align-items:center;padding:0 13px 32px;color:white}.brand-mark{display:grid;place-items:center;background:#8066eb;border-radius:10px;width:34px;height:34px;color:white;font-size:22px;font-weight:800}.brand strong{font-size:25px;letter-spacing:-1px}.brand small{display:block;font-size:10px;color:#9d9ba9;letter-spacing:2px;margin-top:2px}.nav-label{font-size:10px;letter-spacing:1.5px;color:#606070;margin:15px 14px}.nav{display:flex;flex-direction:column;gap:6px}.nav a{display:flex;align-items:center;gap:12px;padding:13px 15px;color:#9e9ead;border-radius:8px;font-size:13px}.nav a:hover{background:#20202c;color:#fff}.nav a.active{background:#2c253f;color:#c8b9ff}.nav a .count{margin-left:auto;font-size:10px;background:#413359;color:#cab5ff;padding:2px 6px;border-radius:4px}.side-bottom{margin-top:auto;padding:22px 13px 0}.server-chip{padding:12px;border:1px solid #2d2e3a;border-radius:9px;font-size:11px;line-height:1.8}.dot{display:inline-block;width:6px;height:6px;background:#75c4a7;border-radius:50%;margin-right:7px}.side-bottom small{font-size:10px;color:#5e5f70;display:block;margin-top:16px}.main{grid-column:2;min-width:0}.topbar{height:74px;background:#fff;border-bottom:1px solid var(--line);padding:0 38px;display:flex;align-items:center;justify-content:space-between;font-size:12px;color:#9395a3}.topbar strong{color:#353644;font-weight:500}.top-actions{display:flex;align-items:center;gap:16px}.avatar{background:#eee9ff;color:#7555d1;border-radius:50%;width:29px;height:29px;display:grid;place-items:center;font-size:11px;font-weight:700}.content{max-width:1440px;margin:auto;padding:35px 38px 60px}.eyebrow{font-size:10px;letter-spacing:2px;color:#a2a1b0;font-weight:600;margin-bottom:10px}.page-head{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:30px}.page-head h1{font-size:27px;letter-spacing:-.8px;margin:0 0 10px;font-weight:650}.page-head p{font-size:12px;color:var(--muted);margin:0;line-height:1.8}.actions{display:flex;gap:9px;flex-wrap:wrap;align-items:center}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:17px;margin-bottom:33px}.stat{background:white;border:1px solid var(--line);border-radius:12px;padding:20px 22px}.stat-top{display:flex;align-items:center;justify-content:space-between;color:#8b8d9c;font-size:11px}.stat-icon{color:#8c79cf;background:#f3f0fc;padding:7px;border-radius:8px;display:flex}.stat strong{font-size:28px;display:block;margin-top:12px;font-weight:600;letter-spacing:-.8px}.stat small{color:#a3a5b2;font-size:10px;display:block;margin-top:6px}.section-head{display:flex;align-items:center;justify-content:space-between;margin:28px 0 18px;gap:14px}.section-head h2{margin:0;font-size:15px;font-weight:600}.subtle{color:var(--muted);font-size:11px;line-height:1.8}.filters{display:flex;gap:7px}.filters button{padding:7px 13px;background:transparent;border-color:transparent;color:#9293a1;font-size:11px}.filters button.active{color:#7356cf;background:#eee9fc}.search{display:flex;align-items:center;gap:8px;border:1px solid var(--line);background:#fff;border-radius:8px;padding:0 12px;max-width:230px}.search input{border:0;padding:9px 0;min-width:0;width:100%;font-size:11px;background:transparent}.project-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.project-card{background:#fff;border:1px solid var(--line);border-radius:12px;overflow:hidden;transition:.15s;position:relative}.project-card:hover{box-shadow:0 9px 25px #3432460b;border-color:#d8d0ed;transform:translateY(-2px)}.card-link{position:absolute;inset:0;z-index:1}.cover{height:180px;position:relative;background:#edeef4;background-image:linear-gradient(135deg,#f4f3fa,#e9e9f2);display:grid;place-items:center;overflow:hidden}.cover video{height:100%;width:100%;object-fit:cover}.cover .cover-icon{width:47px;height:57px;border:1.5px solid #cac8d8;border-radius:7px;color:#b2adca;display:grid;place-items:center}.cover .cover-icon svg{width:24px;height:24px}.cover .badge{position:absolute;left:13px;top:13px}.ratio{position:absolute;bottom:12px;right:13px;background:#fff9;color:#767487;padding:3px 7px;border-radius:4px;font-size:10px}.card-body{padding:17px 18px}.card-body h3{font-size:13px;font-weight:600;margin:0 0 7px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.card-body p{margin:0;color:#999ba8;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.card-meta{display:flex;align-items:center;justify-content:space-between;border-top:1px solid #f2f2f6;margin-top:15px;padding-top:12px;color:#999ba9;font-size:10px}.badge{font-size:10px;display:inline-flex;align-items:center;gap:5px;background:#f0f0f5;color:#8c8d9c;border-radius:5px;padding:4px 8px;white-space:nowrap}.badge.completed{background:#e7f5ee;color:#388e70}.badge.running{background:#eee9fc;color:#7d5ed2}.badge.queued{background:#fff4dc;color:#ab8636}.badge.failed,.badge.attention{background:#fcebed;color:#bf5869}.empty{border:1px dashed #d9d8e5;background:#ffffff91;border-radius:13px;min-height:280px;display:flex;align-items:center;justify-content:center;flex-direction:column;padding:35px;text-align:center}.empty-visual{width:65px;height:65px;background:#f0ebfd;color:#9375dc;border-radius:20px;display:grid;place-items:center;margin-bottom:17px}.empty-visual svg{width:27px;height:27px}.empty h3{font-size:15px;font-weight:600;margin:0 0 9px}.empty p{font-size:12px;line-height:1.9;color:var(--muted);margin:0 0 20px;max-width:390px}.hint{margin-top:25px;display:flex;gap:13px;align-items:flex-start;padding:16px 20px;background:#efedf8;border:1px solid #e7e2f4;border-radius:10px;color:#7c709d;font-size:11px;line-height:1.9}.hint svg{margin-top:2px}.panel{background:#fff;border:1px solid var(--line);border-radius:12px;padding:23px}.two-col{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(300px,.85fr);gap:23px}.panel h2{margin:0 0 21px;font-size:15px;font-weight:600}.field{display:flex;flex-direction:column;gap:8px;margin-bottom:19px;font-size:12px}.field label{font-size:11px;font-weight:600;color:#5d5e6e}.field input,.field select,.field textarea{border:1px solid #e3e3ed;border-radius:8px;padding:11px 12px;background:#fff;color:#333442;font-size:12px;min-width:0;width:100%;line-height:1.6}.field input:focus,.field select:focus,.field textarea:focus{border-color:#a08ae0;outline:2px solid #ece5fc}.field textarea{resize:vertical;min-height:100px}.field textarea.code{font-family:ui-monospace,monospace;font-size:11px;min-height:260px;tab-size:2}.field small{color:#a0a1ae;font-size:10px;line-height:1.7}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:16px}.check{display:flex;align-items:center;gap:8px;font-size:11px;color:#777987;line-height:1.7;margin:12px 0}.check input{accent-color:var(--purple);width:14px;height:14px}.form-actions{display:flex;justify-content:flex-end;gap:9px;padding-top:8px}.preview{background:#16161e;min-height:260px;max-height:540px;border-radius:9px;display:flex;align-items:center;justify-content:center;overflow:hidden}.preview video{display:block;max-height:480px;max-width:100%;width:100%}.preview-placeholder{color:#666575;text-align:center;font-size:11px;line-height:2.4;padding:50px}.preview-placeholder svg{height:37px;width:37px;margin-bottom:9px}.job-row{display:flex;gap:15px;padding:17px 0;border-bottom:1px solid #f0f0f5;align-items:center}.job-row:last-child{border:0}.job-icon{padding:11px;background:#f2effb;border-radius:10px;color:#8a6ad5;display:flex}.job-info{flex:1;min-width:0}.job-info strong{font-size:12px;font-weight:600;display:block;margin-bottom:5px}.job-info p{font-size:10px;color:#9799a6;margin:0;line-height:1.8}.job-row .actions{gap:4px}.job-row .actions button{padding:7px 10px;font-size:10px}.progress{width:100%;height:5px;accent-color:var(--purple);border:0;background:#eeedf4;display:block;margin:14px 0 9px;border-radius:8px;overflow:hidden}.progress::-webkit-progress-bar{background:#eeedf4}.progress::-webkit-progress-value{background:var(--purple)}.logs{margin-top:15px;background:#f8f8fb;border:1px solid var(--line);border-radius:8px;padding:13px;max-height:260px;overflow:auto;font-family:ui-monospace,monospace;font-size:10px;line-height:1.9;color:#777b8b;overflow-wrap:anywhere}.logs time{color:#adafbb;margin-right:8px}.provider-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.provider-top{display:flex;gap:13px;align-items:center}.provider-mark{height:43px;width:43px;display:grid;place-items:center;background:#eee8fc;color:#7653bd;border-radius:12px;font-weight:750;font-size:16px}.provider-top h3{font-size:14px;margin:0 0 5px}.provider-top p{font-size:10px;color:#999ba9;margin:0}.provider-detail{margin:24px 0 19px;display:flex;flex-direction:column;gap:11px;font-size:11px}.provider-detail div{display:flex;justify-content:space-between;gap:18px}.provider-detail span{color:#989aa8}.provider-detail strong{font-weight:400;max-width:75%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.provider-bottom{display:flex;justify-content:space-between;align-items:center;gap:10px;padding-top:16px;border-top:1px solid var(--line)}.provider-bottom button{font-size:11px;padding:7px 10px}.asset-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.asset{border:1px solid var(--line);background:white;border-radius:10px;overflow:hidden;position:relative}.asset-media{height:145px;background:#efeff5;display:grid;place-items:center;overflow:hidden;color:#a4a0b9}.asset-media img,.asset-media video{width:100%;height:100%;object-fit:cover}.asset-body{padding:12px;font-size:11px}.asset-body strong{display:block;font-size:11px;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-bottom:7px}.asset-body small{font-size:9px;color:#9a9baa}.asset-body .actions{margin-top:10px}.asset-body button{padding:5px 8px;font-size:10px}.asset-picker{max-height:240px;overflow:auto;display:grid;grid-template-columns:1fr 1fr;gap:7px}.asset-choice{display:flex;align-items:center;gap:8px;border:1px solid var(--line);padding:9px;border-radius:7px;font-size:10px;cursor:pointer;min-width:0}.asset-choice:has(input:checked){background:#f6f2ff;border-color:#ad98e7}.asset-choice span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.asset-choice img{width:30px;height:30px;border-radius:4px;object-fit:cover}.upload-zone{width:100%;border:1px dashed #cfc5e8;background:#faf8ff;padding:26px 20px;display:flex;flex-direction:column;color:#8d74bf;gap:9px;font-size:12px}.upload-zone small{color:#aaa1bb;font-weight:400;font-size:10px}.upload-zone.dragging{background:#eee6ff;border-color:#7858d0}dialog{border:1px solid var(--line);border-radius:15px;padding:0;width:min(620px,calc(100% - 30px));max-height:90vh;box-shadow:0 25px 100px #15152533}dialog::backdrop{background:#15152866;backdrop-filter:blur(3px)}.modal-head{display:flex;align-items:center;justify-content:space-between;padding:23px 26px 17px;border-bottom:1px solid var(--line)}.modal-head h2{margin:0;font-size:17px}.modal-body{padding:24px 26px}.modal-body .hint{margin:0 0 20px}.error-text{color:#c14d60;font-size:11px;line-height:1.8;margin:10px 0}.login-screen{min-height:100vh;display:grid;place-items:center;background:#f4f2f9;padding:25px}.login-card{width:min(410px,100%);background:#fff;border:1px solid var(--line);border-radius:17px;padding:35px;box-shadow:0 15px 65px #46337209}.login-card .brand{color:#292833;padding:0 0 27px}.login-card h1{font-size:20px;margin:0 0 8px}.login-card>p{font-size:11px;color:#9693a3;line-height:1.8;margin:0 0 25px}.login-card button.primary{width:100%}.login-footer{font-size:10px;color:#b0abbc;text-align:center;margin:25px 0 0}.loading{display:grid;min-height:70vh;place-items:center;font-size:13px;color:var(--muted)}#toast{position:fixed;bottom:28px;left:calc(50% + 90px);transform:translateX(-50%);padding:12px 20px;background:#262331;color:white;border-radius:9px;box-shadow:0 6px 30px #16152922;font-size:12px;z-index:100;max-width:90%;opacity:0;pointer-events:none;transition:.2s}#toast.show{opacity:1}#toast.error{background:#a54359}.footer{margin-top:45px;color:#b4b4c0;font-size:10px;display:flex;justify-content:space-between}.status-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.status-item{padding:15px;border:1px solid var(--line);border-radius:8px;line-height:1.9;font-size:11px}.status-item span{display:block;color:#9899a6}.status-item strong{font-size:12px;font-weight:500;overflow-wrap:anywhere}.spacer{height:15px}.file-input{display:none}.mobile-brand{display:none}.notice{font-size:11px;line-height:1.9;color:#8e899d;border-left:2px solid #d1c5ed;padding-left:12px;margin:18px 0}.inline-error{color:#bd5262;font-size:11px;padding:12px;background:#fdf0f2;border-radius:7px;line-height:1.8}details summary{font-size:11px;color:#8b76b3;cursor:pointer;margin:18px 0}.upload-progress{font-size:11px;color:var(--purple);margin-top:10px}
@media(min-width:1450px){.cover{height:220px}}@media(max-width:1100px){.project-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.asset-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.content{padding:28px}.topbar{padding:0 28px}.two-col{grid-template-columns:1fr}.stats{gap:12px}.stat{padding:16px}}@media(max-width:760px){.shell{grid-template-columns:70px minmax(0,1fr)}.sidebar{width:70px;padding:23px 8px}.sidebar .brand{padding:0 10px 30px}.sidebar .brand>div:last-child,.nav-label,.nav a span,.side-bottom{display:none}.nav a{padding:14px;justify-content:center}.main{grid-column:2}.content{padding:24px 18px}.topbar{height:60px;padding:0 18px}.topbar .subtle{display:none}.stats{grid-template-columns:repeat(2,minmax(0,1fr));margin-bottom:25px}.stat strong{font-size:25px}.page-head{align-items:flex-start;gap:12px}.page-head h1{font-size:23px}.page-head p{font-size:11px}.page-head button{padding:9px 11px;font-size:11px}.project-grid,.provider-grid{grid-template-columns:1fr}.asset-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.section-head{flex-wrap:wrap}.search{max-width:100%}.form-row{grid-template-columns:1fr;gap:0}.asset-picker{grid-template-columns:1fr}.panel{padding:18px}.status-grid{grid-template-columns:1fr}#toast{left:calc(50% + 20px)}.footer{flex-direction:column;gap:10px}.job-row{flex-wrap:wrap}.job-row .actions{margin-left:55px}.modal-body{padding:21px}.cover{height:190px}}
