:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;color:#f0f3f1;background:#0c100f;font-size:16px;color-scheme:dark}*{box-sizing:border-box}[hidden]{display:none!important}body{margin:0}button,input,textarea{font:inherit}button{cursor:pointer}button:disabled,textarea:disabled{opacity:.5;cursor:default}button:focus-visible,summary:focus-visible{outline:2px solid #b6ff61;outline-offset:4px}.shell{display:grid;grid-template-columns:272px minmax(0,1fr);min-height:100vh}.sidebar{min-width:0;display:flex;flex-direction:column;border-right:1px solid #29302c;background:#111713;padding:28px 16px 18px}.brand{display:flex;align-items:center;gap:10px;padding:0 10px;font-size:21px;font-weight:750;letter-spacing:-.04em}.brand-mark{display:grid;place-items:center;width:32px;height:32px;border-radius:9px;background:#b6ff61;color:#14220c;font-size:19px}.section-tabs{display:grid;gap:8px;margin:40px 0 24px}.section-tabs button{display:flex;align-items:center;justify-content:space-between;gap:10px;text-align:left;border:1px solid transparent;background:transparent;color:#a5b1a9;border-radius:10px;padding:13px 12px;font-size:14px;font-weight:650}.section-tabs button[aria-pressed=true]{background:#b6ff61;color:#14220c}.section-tabs span{font-size:12px;opacity:.7}#videos{display:grid;align-content:start;gap:4px;min-width:0}.video-item{width:100%;padding:13px 12px;border:1px solid transparent;border-radius:10px;background:transparent;color:#c7d0c9;text-align:left;display:grid;gap:7px;min-width:0}.video-item:hover{background:#1b251e}.video-item.active{background:#233026;border-color:#3c5140;color:#f1ffed}.video-item strong{font-size:15px;font-weight:650;overflow-wrap:anywhere}.video-item small{color:#9baa9e;font-size:12px;line-height:1.4}.side-foot{margin-top:auto;padding:36px 10px 8px;color:#b4c0b7;font-size:13px;display:flex;align-items:flex-start;gap:9px}.side-foot small{display:block;color:#7f9386;font-size:11px;margin-top:6px}.dot{flex-shrink:0;width:7px;height:7px;border-radius:100%;background:#718076;margin-top:5px}.dot.ok{background:#b6ff61}.main{min-width:0;padding:32px clamp(18px,3vw,48px);display:flex;flex-direction:column}.top{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:28px}.eyebrow{margin:0 0 7px;color:#94ab96;font-size:10px;font-weight:750;letter-spacing:.15em}.top h1{margin:0;font-size:clamp(24px,2.5vw,34px);font-weight:700;letter-spacing:-.04em;overflow-wrap:anywhere}.quiet-button{min-height:36px;padding:7px 12px;border:1px solid #3a4a3f;border-radius:8px;background:transparent;color:#c8d4ca;font-size:12px;font-weight:600;white-space:nowrap}.quiet-button:hover{background:#223026}.workspace{display:grid;grid-template-columns:minmax(0,1fr);gap:20px;align-items:start;min-width:0}.workspace.with-chat{grid-template-columns:minmax(0,1.35fr) minmax(300px,.85fr)}.content-column{display:grid;gap:20px;min-width:0}.player-panel,.chat-panel,.progress-panel{border:1px solid #2c3930;border-radius:14px;background:#141d17;overflow:hidden}.player-wrap{background:#060a07;aspect-ratio:16/9;display:grid;place-items:center;min-width:0}.player-wrap video{display:block;width:100%;height:100%;max-height:65vh;object-fit:contain;background:#060a07}.player-bar{display:flex;align-items:center;flex-wrap:wrap;gap:10px;padding:14px;font-size:12px;color:#9aafa0}.player-bar>span{flex:1 1 150px}#approve{border:0;border-radius:8px;padding:10px 16px;background:#b6ff61;color:#16220d;font-size:13px;font-weight:750}.progress-panel{padding:25px}.progress-heading{display:flex;align-items:center;gap:14px}.progress-heading h2{font-size:21px;font-weight:650;letter-spacing:-.025em;margin:0}.live-dot{height:12px;width:12px;flex-shrink:0;border-radius:50%;border:2px solid #6b8471;background:#293b2d}.live-dot.active{background:#b6ff61;border-color:#b6ff61;box-shadow:0 0 0 6px #b6ff6110}#stage-detail{font-size:14px;line-height:1.65;color:#bcccbf;white-space:pre-wrap;overflow-wrap:anywhere;margin:20px 0 8px}.muted{color:#7c9383;font-size:11px}.progress-panel details{margin-top:28px;border-top:1px solid #2b3b30;padding-top:18px}.progress-panel summary{font-size:13px;color:#a6baa9;cursor:pointer}#timeline{list-style:none;padding:0;margin:20px 0 0;max-height:430px;overflow:auto}#timeline li{position:relative;padding:0 0 24px 20px;border-left:1px solid #344a39;margin-left:4px}#timeline li:before{content:"";position:absolute;top:3px;left:-4px;width:7px;height:7px;background:#6a8c72;border-radius:50%}#timeline li:first-child:before{background:#b6ff61}#timeline time{display:block;font-size:10px;color:#7d9686;margin-bottom:6px}#timeline strong{display:block;font-size:13px;font-weight:600}#timeline p{font-size:12px;line-height:1.5;color:#91aa99;margin:5px 0 0;white-space:pre-wrap;overflow-wrap:anywhere}#download-progress{display:flex;gap:12px;align-items:center;font-size:11px;color:#a6bfac;margin:20px 0}progress{height:6px;flex:1;width:100%;accent-color:#b6ff61}.chat-panel{min-width:0;display:flex;flex-direction:column;min-height:560px;max-height:calc(100vh - 150px)}.chat-head{display:flex;justify-content:space-between;align-items:center;padding:21px;border-bottom:1px solid #2b3b30;gap:10px}.chat-head h2{margin:0;font-size:18px}.chat-head p{margin:6px 0 0;color:#91a898;font-size:12px;line-height:1.5}.chat-state{color:#b6ff61;font-size:11px;white-space:nowrap}.messages{flex:1;min-height:140px;overflow:auto;padding:20px 16px;display:flex;flex-direction:column;gap:14px}.bubble{max-width:94%;padding:12px 14px;border-radius:12px;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px}.bubble.user{align-self:flex-end;background:#304e36;color:#f1ffed;border-bottom-right-radius:4px}.bubble.assistant{align-self:flex-start;background:#212e25;color:#dce9df;border-bottom-left-radius:4px}.bubble.error{background:#452e29;color:#ffe0d6}.composer{display:flex;gap:8px;align-items:flex-end;border-top:1px solid #2b3b30;padding:12px}.composer textarea{min-width:0;flex:1;resize:vertical;min-height:70px;max-height:180px;border:1px solid #3b5142;border-radius:9px;background:#0d160f;color:#efffee;padding:11px;outline:none;font-size:13px}.composer textarea:focus{border-color:#b6ff61}.composer button{border:0;border-radius:8px;background:#b6ff61;color:#17220e;padding:12px;font-weight:700;min-height:40px;font-size:12px}.question-box{margin:14px 14px 0;padding:14px;border:1px solid #777345;border-radius:9px;background:#303321;font-size:13px}.question-box p{margin:8px 0 0;white-space:pre-wrap;line-height:1.6}.empty-state{border:1px dashed #34483b;border-radius:16px;padding:70px 28px;text-align:center;margin:auto 0;min-height:380px;display:grid;align-content:center;justify-items:center}.empty-icon{color:#b6ff61;border:1px solid #3e5844;border-radius:15px;padding:10px 18px;font-size:30px}.empty-state h2{font-size:22px;letter-spacing:-.03em;margin:24px 0 10px}.empty-state p{max-width:460px;color:#8fa997;line-height:1.8;font-size:14px;margin:0}.notice{font-size:13px;color:#e9bb94;overflow-wrap:anywhere}.notice:empty{display:none}.login-body{min-height:100vh;display:grid;place-items:center;padding:24px}.login-card{width:min(420px,100%);padding:30px;border:1px solid #34483b;border-radius:18px;background:#141d17}.login-card .brand{padding:0}.login-card h1{font-size:28px;margin:28px 0 8px}.login-card p{color:#a6bdae;line-height:1.5}.login-card form,.login-card label{display:grid;gap:10px}.login-card form{gap:18px;margin-top:24px}.login-card input{min-width:0;width:100%;border:1px solid #45594c;border-radius:9px;background:#0c180f;color:#fff;padding:12px}.login-card button{padding:12px;background:#b6ff61;border:0;border-radius:9px;font-weight:700}.login-card #login-error{margin:0;color:#ffbaba}.login-card code{display:block;overflow-wrap:anywhere;margin-top:10px}.login-card img{display:block;max-width:100%;height:auto;margin:12px auto}.login-card details{font-size:14px;color:#cbded0}
.top-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.stop-button{margin-top:12px;border:1px solid #935b50;border-radius:8px;padding:10px 14px;background:#38251f;color:#f3c8b9;font-size:13px}.stop-button:hover{background:#503228}
@media(min-width:1100px){.workspace:not(.with-chat) .content-column{max-width:900px}.sidebar{position:sticky;top:0;height:100vh;overflow-y:auto}}@media(max-width:1100px){.workspace.with-chat{grid-template-columns:1fr}.chat-panel{max-height:none;min-height:450px}.main{padding:24px}.progress-panel{padding:20px}}@media(max-width:650px){.shell{grid-template-columns:1fr}.sidebar{padding:16px;border-right:0;border-bottom:1px solid #29392e}.brand{font-size:18px}.section-tabs{grid-template-columns:1fr 1.6fr;margin:20px 0 14px;gap:6px}.section-tabs button{font-size:12px;padding:11px 10px}.side-foot{padding:14px 8px 0;align-items:center}.side-foot small{margin-top:3px}#videos{display:flex;overflow:auto}.video-item{flex-shrink:0;width:190px}.main{padding:22px 16px}.top{align-items:flex-start;margin-bottom:20px;flex-wrap:wrap}.top-actions{justify-content:flex-start}.workspace{gap:16px}.progress-heading h2{font-size:19px}.chat-panel{min-height:460px}.empty-state{padding:45px 20px;min-height:330px}.empty-state h2{font-size:20px}.empty-state p{font-size:13px}.player-bar{padding:12px}.composer{flex-wrap:wrap}.composer textarea{flex-basis:100%}.composer button{margin-left:auto}}

.resume-button{margin-top:12px;border:0;border-radius:8px;padding:11px 20px;background:#b6ff61;color:#17220e;font-weight:700;font-size:14px}
