:root{font-family:Inter,"Segoe UI","Microsoft YaHei",sans-serif;color:#eaf0f7;background:#0e141d;--line:#2a3543;--muted:#9ba9ba;--panel:#151e2a;--accent:#c4ddff;--button:#b6d4ff}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{outline-offset:4px}button{cursor:pointer;border:1px solid var(--line);border-radius:9px;background:#1a2635;color:#e7eef7;padding:10px 15px;font-size:13px}button:hover{border-color:#7b9bc1;background:#213145}button:disabled{opacity:.45;cursor:wait}.primary{background:var(--button);color:#102238;font-weight:650;border-color:transparent}.primary:hover{background:#d1e4ff}.quiet{border-color:transparent;background:transparent;color:var(--muted)}a{color:var(--accent);text-decoration:none}.link-button{display:inline-flex;padding:9px 13px;border:1px solid var(--line);border-radius:9px;font-size:12px}h1,h2,h3,p{margin:0}h1{font-size:38px;line-height:1.3;letter-spacing:-1px;font-weight:600}h2{font-size:17px}h3{font-size:14px}.muted{color:var(--muted);line-height:1.7}.small{font-size:12px}.eyebrow{font-size:10px;letter-spacing:2px;color:#91b6e8;font-weight:700;margin-bottom:17px}label{display:grid;gap:9px;font-size:12px;color:#c4cfdd}input,select,textarea{background:#0e1722;border:1px solid #354459;border-radius:8px;padding:12px;color:#eff5ff;width:100%;min-width:0}textarea{resize:vertical;line-height:1.65}input[type=checkbox]{width:auto;accent-color:#b6d4ff}[hidden]{display:none!important}.topbar{height:86px;max-width:1440px;margin:0 auto;padding:0 44px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line)}.brand{display:flex;gap:12px;align-items:center;color:#eaf0f7;font-size:16px}.brand span{font-size:11px;color:var(--muted);border-left:1px solid var(--line);padding-left:15px;letter-spacing:1px}.topbar nav{display:flex;gap:8px}main{max-width:1352px;margin:0 auto;padding:0 32px}.intro{display:flex;justify-content:space-between;gap:40px;align-items:center;padding:54px 0 42px}.intro .muted{font-size:13px;margin-top:19px}.upload-card{min-width:320px;border:1px dashed #52739a;background:linear-gradient(135deg,#1c2b40,#17202d);padding:28px 36px;border-radius:16px;cursor:pointer;justify-items:start;gap:12px}.upload-card:hover{border-color:#a5c6ef}.upload-card strong{font-size:17px}.upload-card>span:last-of-type{font-size:11px;color:var(--muted)}.upload-icon{font-size:29px;color:var(--accent);line-height:1}.notice{font-size:12px;color:#c4dcfc;line-height:1.8}.notice:empty{display:none}.notice:not(:empty){margin-bottom:16px;padding:10px 14px;border-radius:8px;background:#1b2a3d}.desk{display:grid;grid-template-columns:290px minmax(0,1fr);gap:22px;min-height:600px;margin-bottom:40px}.library,.detail{border:1px solid var(--line);border-radius:15px;background:var(--panel)}.library{padding:18px 14px;align-self:start}.section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}.section-head h2{font-size:14px}.section-head h2 span{font-size:11px;margin-left:7px;color:var(--muted)}#video-list{display:grid;gap:9px;max-height:780px;overflow:auto}.video-item{width:100%;text-align:left;padding:14px;background:#101925;display:grid;gap:8px}.video-item.selected{background:#22334a;border-color:#7c9fcd}.video-item strong{font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:500}.video-item span{font-size:10px;color:var(--muted)}.video-item em{font-style:normal;color:#b4d5ff;font-size:10px}.detail{padding:24px;min-width:0}.empty{min-height:360px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;text-align:center;padding:30px}.empty p{font-size:12px;color:var(--muted);line-height:1.8;max-width:350px}.detail-head{display:flex;justify-content:space-between;gap:20px;align-items:start;margin-bottom:20px}.detail-head h2{overflow-wrap:anywhere}.detail-head p{margin-top:8px;color:var(--muted);font-size:11px}.media-layout{display:grid;grid-template-columns:160px minmax(0,1fr);gap:17px;margin-bottom:24px}.source-video{width:100%;max-height:320px;border-radius:10px;background:#070d15}.grid-image{width:100%;max-height:420px;object-fit:contain;border-radius:10px;background:#0b121b;cursor:zoom-in}.media-caption{font-size:10px;color:var(--muted);margin-top:8px;line-height:1.6}.frame-strip{display:grid;grid-template-columns:repeat(9,minmax(0,1fr));gap:5px;margin-top:10px}.frame-strip img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:5px;cursor:zoom-in}.frame-strip span{font-size:9px;color:var(--muted)}.analysis-panel{border-top:1px solid var(--line);padding-top:23px}.analysis-options{display:grid;grid-template-columns:1fr 1fr;gap:13px;margin:17px 0}.check{display:flex;align-items:center;font-size:11px;gap:8px;color:var(--muted);margin:15px 0}.actions{display:flex;flex-wrap:wrap;gap:9px;align-items:center}.analysis-panel>label{margin-top:15px}.job-tabs{display:flex;gap:7px;overflow:auto;margin:23px 0 17px}.job-tabs button{white-space:nowrap;font-size:11px}.job-tabs .active{border-color:#91b6e8;background:#25374f}.result-head{display:flex;gap:12px;justify-content:space-between;align-items:center;margin:23px 0 12px}.result-head span{font-size:11px;color:var(--muted)}.result-editor{font-family:ui-monospace,Consolas,monospace;font-size:12px;min-height:330px}.result-note{font-size:11px;color:var(--muted);line-height:1.7;margin:10px 0}.job-progress{border:1px solid #3a536e;background:#15283c;padding:20px;border-radius:10px;display:grid;gap:10px}.job-progress p{font-size:12px;line-height:1.8;color:#b9cde6}.error{color:#ffb8aa!important;white-space:pre-wrap}.page-footer{border-top:1px solid var(--line);padding:22px 44px;display:flex;justify-content:space-between;color:#73849b;font-size:10px;letter-spacing:1px}.login-screen{min-height:100vh;display:grid;place-items:center;padding:30px;background:radial-gradient(ellipse at 75% 15%,#263e5b66,transparent 55%)}.login-card{width:min(430px,100%);display:grid;gap:20px;padding:38px;border:1px solid var(--line);border-radius:20px;background:#141d2aea;box-shadow:0 30px 100px #0004}.login-card .eyebrow{margin:0}.login-card h1{font-size:31px}.login-card .muted{font-size:12px}.login-card .primary{display:flex;justify-content:space-between}#login-error{font-size:12px;color:#ffb8aa;white-space:pre-wrap}dialog{background:#151f2c;color:#eaf0f7;border:1px solid #40526a;border-radius:16px;padding:26px;width:min(520px,94vw);max-width:94vw;max-height:90vh;overflow:auto}dialog::backdrop{background:#000a;backdrop-filter:blur(5px)}dialog header{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:18px}dialog label{margin:19px 0}dialog .muted{font-size:12px}.wide-dialog{width:min(1000px,94vw)}#skill-form textarea{font-size:12px;font-family:ui-monospace,Consolas,monospace;margin:18px 0}#frame-large{display:block;width:100%;max-height:75vh;object-fit:contain}dialog [data-feedback]{font-size:12px;line-height:1.7;margin-top:15px;color:#bbdbff}#toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);border-radius:10px;background:#d3e5fc;color:#102238;font-size:12px;padding:12px 18px;box-shadow:0 8px 30px #0005;max-width:90vw;z-index:10}#toast:empty{display:none}@media(max-width:900px){.topbar{padding:0 22px}.brand span{display:none}.intro{gap:24px}.intro h1{font-size:29px}.upload-card{min-width:245px;padding:25px}.desk{grid-template-columns:220px minmax(0,1fr);gap:14px}.media-layout{grid-template-columns:1fr}.source-video{height:180px;object-fit:contain}.detail{padding:18px}}@media(max-width:650px){.topbar{height:auto;min-height:82px;flex-wrap:wrap;gap:12px;padding:18px}.topbar nav{width:100%}main{padding:0 16px}.intro{align-items:stretch;flex-direction:column;padding:32px 0}.intro h1{font-size:30px}.upload-card{min-width:0;padding:22px;grid-template-columns:auto 1fr;align-items:center}.upload-card>span:last-of-type{grid-column:2}.desk{grid-template-columns:1fr}.library{padding:14px}#video-list{max-height:210px;grid-template-columns:repeat(2,minmax(0,1fr))}.analysis-options{grid-template-columns:1fr 1fr}.page-footer{padding:20px 16px;gap:15px}.page-footer span{letter-spacing:0}.detail-head{flex-wrap:wrap}.frame-strip{grid-template-columns:repeat(5,minmax(0,1fr))}.login-card{padding:28px}}
