.excerpt-editor{margin:16px 0 20px;padding:15px 14px 13px;border:1px solid var(--line,#30383c);border-radius:11px;background:#101517;min-width:0}
.excerpt-heading{display:flex;align-items:baseline;justify-content:space-between;gap:10px;flex-wrap:wrap;font-size:11px;margin-bottom:8px}.excerpt-heading>strong{font-size:12px;color:var(--text,#f3f5f4)}.excerpt-heading>span{color:var(--muted,#9aa6ad);font-size:10px}.excerpt-heading output{font-variant-numeric:tabular-nums;color:var(--text,#f3f5f4)}
.excerpt-stage{position:relative;height:138px;margin:34px 10px 32px;touch-action:none;user-select:none;border-radius:5px;background:#0c1113;border:1px solid #293237;isolation:isolate}.excerpt-stage:before{content:"";position:absolute;inset:0;background:repeating-linear-gradient(to right,transparent 0,transparent calc(25% - 1px),#ffffff07 calc(25% - 1px),#ffffff07 25%);pointer-events:none}.excerpt-wave{position:absolute;inset:12px 0;width:100%;height:calc(100% - 24px);overflow:hidden;pointer-events:none}.excerpt-wave path{fill:none;stroke-linecap:round;stroke-width:6}.excerpt-wave-base{stroke:#53626a;opacity:.74}.excerpt-wave-active{stroke:var(--lime,#d1f47b)}
.excerpt-selection{position:absolute;top:0;bottom:0;left:var(--excerpt-start);right:calc(100% - var(--excerpt-end));border-top:2px solid var(--lime,#d1f47b);border-bottom:2px solid var(--lime,#d1f47b);background:#d1f47b0c;cursor:grab;touch-action:none;min-width:1px;z-index:1}.excerpt-selection:active{cursor:grabbing}.excerpt-selection:focus-visible{outline:2px solid #edf8dc;outline-offset:5px}
.excerpt-editor .excerpt-handle{position:absolute;top:0;bottom:0;width:44px;min-height:44px;transform:translateX(-50%);padding:0;border:0;border-radius:0;background:transparent;color:#17200f;overflow:visible;touch-action:none;cursor:ew-resize;z-index:3}.excerpt-editor .excerpt-handle-start{left:var(--excerpt-start)}.excerpt-editor .excerpt-handle-end{left:var(--excerpt-end);z-index:4}.excerpt-handle-line{position:absolute;top:-2px;bottom:-2px;width:3px;background:var(--lime,#d1f47b);left:calc(50% - 1.5px);box-shadow:0 0 0 1px #17200f}.excerpt-handle-grip{position:absolute;top:calc(50% - 16px);left:calc(50% - 6px);width:12px;height:32px;display:grid;place-items:center;border:1px solid #d9f69d;border-radius:4px;background:var(--lime,#d1f47b);font-size:20px;line-height:1}.excerpt-handle-label{position:absolute;left:50%;top:-29px;transform:translateX(-50%);display:flex;align-items:center;gap:5px;white-space:nowrap;background:var(--lime,#d1f47b);color:#17200f;border-radius:4px;padding:5px 7px;font-size:10px;line-height:1;font-weight:650;box-shadow:0 2px 8px #0005}/* Position = ratio * (stage width - label width), keeping both badges inside the waveform at either edge. */
.excerpt-handle-start .excerpt-handle-label{transform:translateX(calc(0% - var(--excerpt-start)))}.excerpt-handle-end .excerpt-handle-label{top:auto;bottom:-29px;transform:translateX(calc(0% - var(--excerpt-end)))}.excerpt-handle-label output{font-variant-numeric:tabular-nums}.excerpt-editor .excerpt-handle:focus-visible{outline:none}.excerpt-handle:focus-visible .excerpt-handle-grip,.excerpt-handle:focus-visible .excerpt-handle-label{outline:2px solid #fff;outline-offset:3px}.excerpt-handle:disabled{cursor:default;opacity:.5}
.excerpt-playhead{position:absolute;top:0;bottom:0;width:1px;background:#fff;box-shadow:0 0 7px #ffffff70;pointer-events:none;z-index:2}.excerpt-playhead:before{content:"";position:absolute;top:0;left:-3px;border-left:4px solid transparent;border-right:4px solid transparent;border-top:5px solid white}.excerpt-axis{display:flex;justify-content:space-between;gap:12px;font-size:10px;color:var(--muted,#9aa6ad);font-variant-numeric:tabular-nums;margin:-21px 10px 14px;pointer-events:none}.excerpt-tools{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.excerpt-editor .excerpt-preview{min-height:40px;padding:9px 13px;font-size:11px;gap:8px}.excerpt-preview[aria-pressed=true]{border-color:var(--lime,#d1f47b);color:var(--lime,#d1f47b)}.excerpt-position{font-size:11px;color:var(--muted,#9aa6ad);font-variant-numeric:tabular-nums}.excerpt-hint,.excerpt-unavailable{font-size:10px!important;color:var(--muted,#9aa6ad);line-height:1.6!important;margin:11px 0 0!important}.excerpt-unavailable{margin:0 0 12px!important}.excerpt-error{font-size:11px;color:var(--danger,#ff9d9d);line-height:1.5;margin:10px 0 0}
@media(max-width:540px){.excerpt-editor{padding:13px 11px}.excerpt-stage{height:122px;margin-left:8px;margin-right:8px}.excerpt-heading{gap:6px}.excerpt-heading>span{font-size:9px}.excerpt-handle-label{font-size:9px;padding:6px}.excerpt-position{font-size:10px}.excerpt-hint{font-size:10px!important}.excerpt-editor .excerpt-preview{min-height:44px}}
@media(forced-colors:active){.excerpt-handle-line,.excerpt-handle-grip,.excerpt-handle-label{background:Highlight;color:HighlightText}.excerpt-selection{border-color:Highlight}.excerpt-wave-base{stroke:GrayText}.excerpt-wave-active{stroke:Highlight}.excerpt-playhead{background:CanvasText}}
