:root{color-scheme:dark}*{box-sizing:border-box}body{margin:0;background:#07101c;color:#deebfb;font:15px/1.6 system-ui,sans-serif}header{display:flex;justify-content:space-between;align-items:center;padding:20px 4%;gap:15px;border-bottom:1px solid #223b56}a{color:#91caff}.brand{display:flex;align-items:center;gap:10px;text-decoration:none;font-weight:700}.brand small{font-size:11px;color:#a7bdd4}main{max-width:1450px;margin:auto;padding:30px 4% 70px}.workspace-title{display:flex;align-items:center;justify-content:space-between;gap:20px}.eyebrow{font-size:11px;letter-spacing:2px;color:#8cbbf0}h1{font-size:clamp(30px,5vw,48px);line-height:1.2;margin:12px 0}h1 span{color:#6bb9ff}h2{font-size:19px;margin:0 0 20px}h3{margin:25px 0 10px;font-size:16px}p{color:#afc5df}.sync-layout{display:grid;grid-template-columns:1.1fr 1fr;gap:20px;align-items:start}.panel{min-width:0;padding:22px;border:1px solid #28425e;border-radius:14px;background:#0c192b;margin:0 0 20px}.fields{display:grid;grid-template-columns:1fr 1fr;gap:12px}label{display:flex;flex-direction:column;gap:6px;font-size:13px;margin:12px 0;color:#bdd5ee}input,select,textarea{font:inherit;min-width:0;width:100%;padding:11px;background:#081423;color:#deebfb;border:1px solid #385576;border-radius:7px}input[type=file]{max-width:100%;font-size:12px}input[type=checkbox]{width:auto}.check{flex-direction:row;align-items:center}.actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:12px 0}button{font:600 13px/1.4 system-ui;color:#d9eeff;background:#173c60;border:1px solid #42739d;border-radius:7px;padding:10px 14px;cursor:pointer;min-height:42px}button:hover:enabled{background:#24567e}button:disabled{opacity:.45;cursor:default}:focus-visible{outline:2px solid #8fd5ff;outline-offset:3px}.hint,#sync-file-info,#sync-summary{font-size:12px;color:#adc0d7}#sync-status{padding:12px 15px;border:1px solid #315575;background:#0e2339;border-radius:8px;overflow-wrap:anywhere}video{width:100%;max-height:420px;background:black}#sync-preview{min-height:50px;white-space:pre-line;text-align:center;font-weight:600;background:#081321;padding:12px;border-radius:7px;overflow-wrap:anywhere}#sync-anchors{padding-left:20px;font-size:12px}#sync-anchors button{margin-left:10px;padding:3px 8px;min-height:32px}.cue-row{display:grid;grid-template-columns:55px 200px minmax(0,1fr) auto;gap:12px;border-top:1px solid #253e57;padding:12px 0;align-items:center}.cue-row p{margin:0;white-space:pre-line;overflow-wrap:anywhere;font-size:13px}.cue-row small{font-size:11px;color:#a9c2dd}.cue-row.active{background:#16314b}#sync-editor{border-top:1px solid #385576;margin-top:20px}#sync-suggestion{font-size:13px;overflow-wrap:anywhere}[hidden]{display:none!important}@media(max-width:800px){.sync-layout{grid-template-columns:1fr}.workspace-title{align-items:start;flex-wrap:wrap}.cue-row{grid-template-columns:35px minmax(0,1fr) auto}.cue-row p{grid-column:2/4}.cue-row small{font-size:10px}.panel{padding:16px}main{padding:22px 14px}header{padding:14px}.brand small{display:none}}@media(max-width:400px){.fields{grid-template-columns:1fr}.workspace-title .nexus-help-button{margin-left:0}header{font-size:12px}}
@media(max-width:800px){.cue-row button{grid-column:3;grid-row:1}.cue-row p{grid-row:2}}

details{border-top:1px solid #28425e;margin-top:18px;padding-top:14px}summary{cursor:pointer;font-size:13px;font-weight:600;color:#bad6f3;min-height:32px}details[open]>summary{margin-bottom:16px}.sync-download{border-top:1px solid #28425e;margin-top:20px}#sync-export{margin-top:14px}

.sync-video-stage{position:relative;width:100%;min-width:0;background:#000;line-height:0}.sync-video-stage>video{display:block;width:100%;max-height:460px;object-fit:contain}.sync-caption-overlay{position:absolute;left:4%;right:4%;bottom:6%;z-index:2;pointer-events:none;text-align:center;white-space:pre-line;overflow-wrap:anywhere;color:white;font:600 clamp(16px,2.3vw,26px)/1.35 system-ui;text-shadow:0 1px 3px #000,1px 0 2px #000,-1px 0 2px #000;background:#0009;border-radius:5px;padding:5px 9px}.nexus-player:fullscreen .sync-video-stage{height:calc(100% - 80px)}.nexus-player:fullscreen .sync-video-stage>video{height:100%;max-height:none}#sync-preview-warning{color:#ffd6a0}#sync-resume{margin-bottom:16px}
