#cueModal{padding:12px;align-items:center;overflow:hidden}
#cueModal .cue-modal{width:min(960px,calc(100vw - 24px));max-height:calc(100dvh - 24px);padding:0;border-radius:10px;overflow-x:hidden;overflow-y:auto;box-shadow:0 24px 70px rgba(8,18,15,.28)}
#cueModal .modal-close{position:absolute;top:15px;right:15px;z-index:8;width:32px;height:32px;border:0;border-radius:50%;background:#eef2f0;color:#34413e}
#cueModal .modal-close:hover{background:#e2e9e6;color:#17201f}
#cueModal>.cue-modal>.eyebrow{margin:23px 62px 0 24px;color:#6f807b;font-size:9px;letter-spacing:1.3px}
#cueModal #cueTitle{margin:6px 64px 18px 24px!important;max-width:820px;font-size:clamp(18px,2.2vw,24px)!important;line-height:1.25;font-weight:650;letter-spacing:-.35px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
#cueModal .transport{margin:0 24px;padding:14px 16px;grid-template-columns:164px minmax(0,1fr);gap:8px 18px;border-radius:8px;background:#1b2926}
#cueModal .transport-buttons{justify-content:flex-start;gap:3px}
#cueModal .transport-buttons button{width:34px;height:34px;color:#b8c7c2}
#cueModal .transport-buttons button:hover,#cueModal .transport-buttons button:focus-visible{background:#2a3b37;color:#fff}
#cueModal .transport-buttons .transport-play{width:44px;height:44px;margin:0 4px;background:#e5f0eb;color:#174f42;box-shadow:none}
#cueModal .transport-buttons .transport-play:hover,#cueModal .transport-buttons .transport-play:focus-visible{background:#fff;color:#174f42;transform:none}
#cueModal .transport-buttons small{font-size:7px;color:#91a39d}
#cueModal .waveform-stage,#cueModal .waveform-stage .waveform{height:64px}
#cueModal .waveform-stage{background:#15221f;border-radius:5px}
#cueModal .waveform i{background:#637670}
#cueModal .waveform i.active{background:#a8d1bf}
#cueModal .player-timeline{padding-bottom:15px}
#cueModal .player-timeline>input{height:14px;accent-color:#79ae9c}
#cueModal .transport-time{margin-top:-2px;color:#a9bab4}
#cueModal .cue-playhead{background:#f7faf9;box-shadow:none}
#cueModal .cue-playhead .cue-playhead-handle{width:16px;height:25px;top:4px;border:0;border-radius:8px;background:#f7faf9;color:#384743;box-shadow:0 2px 5px rgba(0,0,0,.24)}
#cueModal .cue-playhead .cue-playhead-handle:active,.dragging-cue-position #cueModal .cue-playhead-handle{background:#dbe9e3}
#cueModal .cue-playhead .cue-playhead-time{background:#263531;color:#fff;border-radius:3px;padding:2px 5px}
#cueModal .cue-marker span{top:5px;min-width:18px;height:18px;border-radius:4px;box-shadow:none;font-size:8px}
#cueModal .cue-audio-state{margin:11px 24px 0;padding:9px 11px;border:0;border-left:3px solid #82b7a4;border-radius:4px;background:#eef6f2;gap:12px;min-width:0}
#cueModal .cue-audio-state span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#35675a}
#cueModal .cue-audio-state .secondary{height:32px;flex:0 0 auto;border-color:#d5e1dc;background:rgba(255,255,255,.8);font-size:9px}
#cueModal .cue-table-head{margin:17px 24px 6px;padding:0 9px;color:#71807c;font-size:8px}
#cueModal .cue-points{margin:0 24px}
#cueModal .cue-table-head,#cueModal .cue-row{grid-template-columns:124px minmax(180px,1fr) 90px 116px 32px;gap:8px}
#cueModal .cue-row{border:0!important;border-bottom:1px solid #e4eae7!important;border-left:2px solid var(--cue-color)!important;padding:9px 7px 9px 10px;background:#fff;overflow:hidden}
#cueModal .cue-row:first-child{border-top:1px solid #e4eae7!important}
#cueModal .cue-row input,#cueModal .cue-row select{height:34px;border:1px solid #d8e0dd;border-radius:5px;background:#fff;font-size:10px}
#cueModal .cue-slot-wrap{gap:6px}
#cueModal .cue-trigger{width:42px!important;height:30px!important;flex-basis:42px;border:1px solid var(--cue-color)!important;border-radius:6px;background:color-mix(in srgb,var(--cue-color) 11%,#fff)!important;color:#22312d!important;padding:0 7px!important}
#cueModal .cue-trigger b{font-size:10px}
#cueModal .cue-trigger svg{width:10px;height:10px}
#cueModal .cue-trigger:hover,#cueModal .cue-trigger:focus-visible{filter:none;transform:none;background:color-mix(in srgb,var(--cue-color) 20%,#fff)!important;outline:0}
#cueModal .set-playhead{height:34px;border:1px solid #cfdad6!important;border-radius:5px;background:#f4f7f6!important;color:#34564d!important;font-size:8px}
#cueModal .delete-cue{width:30px;height:30px;border:0;background:transparent;color:#b95b4a;border-radius:50%}
#cueModal .delete-cue:hover{background:#f8ebe8}
#cueModal .add-cue-row{margin-top:9px;border:0;border-radius:5px;background:#f1f5f3;text-align:center;color:#376b5d}
#cueModal .modal-actions{position:sticky;bottom:0;z-index:6;margin:15px 0 0;padding:14px 24px 18px;background:rgba(255,255,255,.96);backdrop-filter:blur(8px);border-color:#e1e7e4}
#cueModal .modal-actions .primary{height:34px;background:#20302c;border-color:#20302c}
@media(max-width:780px){#cueModal{padding:6px}#cueModal .cue-modal{width:calc(100vw - 12px);max-height:calc(100dvh - 12px);border-radius:7px}#cueModal .transport{grid-template-columns:1fr;gap:9px}#cueModal .transport-buttons{justify-content:center}#cueModal .transport-time{grid-column:1}#cueModal .cue-table-head{display:none}#cueModal .cue-points{margin-top:13px}#cueModal .cue-row{grid-template-columns:124px minmax(0,1fr) 82px 32px;grid-template-areas:'slot name time delete' 'slot set set delete';align-items:center}#cueModal .cue-slot-wrap{grid-area:slot}#cueModal .cue-row>input[data-cue-field=name]{grid-area:name}#cueModal .cue-row>input[data-cue-field=position]{grid-area:time}#cueModal .set-playhead{grid-area:set}#cueModal .delete-cue{grid-area:delete;align-self:center}}
@media(max-width:540px){#cueModal>.cue-modal>.eyebrow{margin:18px 52px 0 16px}#cueModal #cueTitle{margin:5px 52px 14px 16px!important;font-size:18px!important;-webkit-line-clamp:2}#cueModal .transport,#cueModal .cue-audio-state,#cueModal .cue-points{margin-left:16px;margin-right:16px}#cueModal .transport{padding:12px}#cueModal .cue-audio-state{align-items:stretch}#cueModal .cue-audio-state span{white-space:normal;line-height:1.4}#cueModal .cue-audio-state .secondary{width:100%}#cueModal .cue-row{grid-template-columns:minmax(0,1fr) 32px;grid-template-areas:'slot delete' 'name name' 'time set';gap:7px}#cueModal .cue-slot-wrap{width:auto}#cueModal .set-playhead{min-width:110px}#cueModal .modal-actions{padding:12px 16px 15px;align-items:stretch}#cueModal .modal-actions .primary{width:100%}}
