*{box-sizing:border-box} :root{color-scheme:dark;font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#eeece7;background:#141619;font-size:16px}body{margin:0}button,input{font:inherit}button{cursor:pointer;touch-action:manipulation;color:inherit;background:#30343b;border:1px solid #464b54;border-radius:8px;padding:11px 15px;min-height:44px;font-weight:600}button:hover{border-color:#e9b766}button:disabled{cursor:default;opacity:.45}button:focus-visible,input:focus-visible{outline:3px solid #f3cb85;outline-offset:3px}header{min-height:105px;padding:20px 30px;border-bottom:1px solid #33363c;display:flex;align-items:center;justify-content:space-between;gap:20px;background:#191b1f}.brand{display:flex;align-items:center;gap:16px}.brandmark{width:46px;height:46px;display:grid;place-items:center;background:#e9b766;color:#191b1f;border-radius:12px;font-size:23px}.eyebrow{font-size:.75rem;font-weight:650;letter-spacing:.14em;color:#a9aab0;margin:0 0 6px}h1{font-family:Georgia,serif;font-size:1.85rem;font-weight:normal;margin:0;color:#f4e9d6}.head-actions{display:flex;align-items:center;gap:10px}.badge{font-size:.8rem;padding:7px 10px;color:#aaaeb5;border:1px solid #3c4148;border-radius:30px}.badge.ready{color:#9edab6;border-color:#365143}.quiet{background:transparent;font-size:.875rem}.head-actions #help{border-radius:50%;width:44px;padding:0}main{display:grid;grid-template-columns:minmax(0,1fr) 190px;min-height:calc(100dvh - 105px)}.desk{padding:22px 28px}.toolbar{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px;gap:12px}.toolbar .eyebrow{font-size:.85rem}.count{color:#a9aab0;font-size:.85rem;margin-left:18px}.cues{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px}.cue-wrap{position:relative;min-width:0}.cue{position:relative;text-align:left;width:100%;min-height:146px;padding:18px;background:#30353d;border:1px solid #4a505b;border-bottom:3px solid #727a87;display:flex;flex-direction:column;gap:10px;overflow:hidden;transition:background .16s}.cue-top{display:flex;justify-content:space-between;align-items:center;width:100%;font-size:.75rem;color:#c0c5ce;letter-spacing:.06em}.number{font-size:1.05rem;font-variant-numeric:tabular-nums;color:#e9b766}.cuetitle{font-size:1rem;line-height:1.35;overflow-wrap:anywhere;font-weight:650}.note{font-size:.8rem;font-weight:400;color:#b4bac4;line-height:1.35;overflow-wrap:anywhere}.cue.empty{background:#202329;border:1px dashed #41454d;color:#9b9fa8}.cue.empty .number{color:#777e89}.cue.done{background:#191c21;border-color:#30353d;color:#8c929c}.cue.done .number,.cue.done .note,.cue.done .cue-top{color:#818792}.cue.active{background:#e9b766;color:#241b0f;border-color:#ffdb9b;border-bottom-color:#ac792c}.cue.active .number,.cue.active .cue-top,.cue.active .note{color:#4a3520}.cue .progress{position:absolute;bottom:0;left:0;height:4px;background:#4a3520;width:0}.reorder{display:flex;justify-content:flex-end;gap:5px;margin-top:5px}.reorder button{padding:4px 12px;min-height:36px}footer{display:flex;justify-content:space-between;gap:15px;color:#9097a2;font-size:.8rem;margin-top:24px;padding-top:18px;border-top:1px solid #30343b}kbd{background:#30343b;border:1px solid #484f59;border-radius:4px;padding:2px 5px}aside{position:sticky;top:0;align-self:start;height:100dvh;max-height:calc(100dvh - 0px);background:#1c1f24;border-left:1px solid #363a43;padding:27px 20px 20px;display:flex;align-items:center;flex-direction:column;gap:15px}.master-title{font-size:.75rem;letter-spacing:.12em;text-align:center;color:#b1b6bf;line-height:1.5}output{font-size:2.8rem;font-weight:300;font-variant-numeric:tabular-nums;color:#f0d2a1}output span{font-size:1rem;margin-left:3px}.fader{flex:1;min-height:140px;max-height:330px;position:relative;width:95px;display:flex;justify-content:center;padding:10px 0}.fader input{writing-mode:vertical-lr;direction:rtl;width:48px;height:100%;min-height:120px;accent-color:#e9b766;cursor:ns-resize;touch-action:none}.top-scale,.bottom-scale{position:absolute;right:0;font-size:.75rem;color:#9ba3ae}.top-scale{top:10px}.bottom-scale{bottom:10px}.onair{width:100%;padding-top:20px;border-top:1px solid #363c45;margin-top:5px}#playing{font-size:.85rem;color:#b3bbc5;line-height:1.5;max-height:145px;overflow:auto}.track{display:flex;align-items:center;justify-content:space-between;gap:6px;margin-top:8px}.track span{overflow-wrap:anywhere}.track button{min-height:36px;padding:4px 9px;color:#e9b766}.stop{background:#532b2c;color:#ffd1cc;border:1px solid #995451;width:100%;margin-top:auto;font-size:.9rem;min-height:55px}.stop:hover{background:#763b3c;border-color:#e99587}#editbar{background:#22262c;padding:15px;border:1px solid #414750;border-radius:9px;margin-bottom:18px}#editbar button{margin-right:6px}#editbar p{font-size:.85rem;color:#acb5c2;margin:12px 0 0}dialog{width:min(560px,calc(100% - 30px));border:1px solid #58616e;background:#22262d;color:#eaeef4;border-radius:14px;padding:24px;max-height:90dvh}dialog::backdrop{background:#000b}h2{margin:0;font-family:Georgia,serif;font-weight:400;font-size:1.6rem}h3{font-size:1rem;color:#e9b766}dialog p,dialog li{line-height:1.65;color:#bbc3ce}dialog li{margin-bottom:10px}dialog ol{padding-left:22px}.dialog-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:20px}.dialog-head button{padding:8px 12px}label{display:block;margin:18px 0;font-size:.9rem;color:#bec8d5}label input{width:100%;margin-top:9px;border:1px solid #535d6c;border-radius:6px;padding:11px;background:#181c22;color:#f0f3f8;min-width:0}input[type=file]{font-size:.85rem}.hint{font-size:.85rem;overflow-wrap:anywhere}.dialog-actions{display:flex;justify-content:space-between;gap:12px;margin-top:25px}.primary{background:#e9b766;color:#251b0f;border-color:#e9b766}.danger{color:#f0a5a1;background:transparent;font-size:.85rem}#toast{position:fixed;bottom:24px;left:24px;max-width:min(540px,calc(100% - 48px));padding:14px 20px;background:#e9b766;color:#201a12;box-shadow:0 8px 30px #0007;border-radius:8px;z-index:20;font-size:.95rem}body.editing #edit{background:#e9b766;color:#251b0f}body.editing .cue{min-height:146px} @media(min-width:1500px){.cues{grid-template-columns:repeat(5,minmax(0,1fr))}} @media(max-width:1050px){.cues{grid-template-columns:repeat(3,minmax(0,1fr))}.desk{padding:20px}header{padding:18px 20px}.badge{max-width:150px;text-align:center}.count{display:block;margin:6px 0 0}} @media(max-width:750px){h1{font-size:1.4rem}header{align-items:flex-start;flex-wrap:wrap;gap:14px}.brandmark{width:38px;height:38px}.head-actions{width:100%;justify-content:flex-end}.head-actions .badge{margin-right:auto;max-width:none}main{grid-template-columns:minmax(0,1fr) 120px}.cues{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.desk{padding:15px 10px}.cue{padding:12px;min-height:150px}.cue-top{font-size:.68rem;letter-spacing:0}.toolbar{align-items:flex-start}.toolbar .eyebrow{font-size:.7rem}.toolbar button{font-size:.75rem;padding:8px}.count{font-size:.75rem}aside{padding:20px 10px;gap:12px}.master-title{font-size:.67rem}output{font-size:2.2rem}.stop{font-size:.75rem;padding:8px}.fader{width:85px}footer{flex-direction:column}#editbar button{margin:4px 0;font-size:.8rem}.cuetitle{font-size:.9rem}} @media(max-width:420px){.cues{grid-template-columns:1fr}.cue{min-height:125px}}@media(prefers-reduced-motion:reduce){*{transition:none!important}}

/* Strong cue-state separation for a dark theatre. */
.cue:not(.empty):not(.done):not(.active){background:#687a92;border-color:#97aac1;border-bottom-color:#c6d6eb;color:#fff}.cue:not(.empty):not(.done):not(.active) .cue-top,.cue:not(.empty):not(.done):not(.active) .note{color:#f0f4fa}.cue:not(.empty):not(.done):not(.active) .number{color:#fff0bf}.cue.done{background:#111317;border-color:#292e36;border-bottom-color:#292e36;color:#8f97a4}.cue.done .note,.cue.done .cue-top,.cue.done .number{color:#88919f}.cue.active{background:#e9b766;border-color:#ffdb9b;color:#241b0f}.reorder{flex-wrap:wrap}.reorder .move-position{font-size:.8rem;padding:4px 8px}

.head-actions{flex-wrap:wrap}#version{white-space:nowrap}

.volume-label{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:4px}.volume-label output{font-size:1.3rem;font-weight:600}#cuevolume{width:100%;min-height:44px;accent-color:#e9b766;cursor:pointer;touch-action:pan-y}.cue-volume{font-size:.75rem;font-weight:500;margin-top:auto;opacity:.9}

.trim-row{display:grid;grid-template-columns:1fr 1fr;gap:14px}.check-label{display:flex;align-items:center;gap:10px}.check-label input{width:20px;height:20px;margin:0}#mixvolume,#mix2volume{width:100%;min-height:44px;accent-color:#e9b766}#editor h3{border-top:1px solid #49515e;padding-top:18px}
