/* Mobile range gestures and optional vocabulary overlay; original palette stays intact. */
.editor-screen .wave-area{user-select:none;-webkit-user-select:none;-webkit-touch-callout:none;}
.editor-screen .wave-panel-top>span:first-child{font-size:14px;}
.editor-screen .selection-window{left:calc(3px + (100% - 6px) * var(--selection-start,.25));width:calc((100% - 6px) * (var(--selection-end,.416667) - var(--selection-start,.25)));}
.selection-handle{position:absolute;z-index:8;bottom:-9px;width:44px;height:44px;padding:0;transform:translateX(-50%);touch-action:none;cursor:ew-resize;}
.selection-handle[data-selection-handle=start]{left:clamp(20px,calc(3px + (100% - 6px) * var(--selection-start,.25)),calc(100% - 20px));}
.selection-handle[data-selection-handle=end]{left:clamp(20px,calc(3px + (100% - 6px) * var(--selection-end,.416667)),calc(100% - 20px));}
.selection-handle:after{content:"";position:absolute;left:19px;top:13px;width:6px;height:20px;border:1px solid #dffff9;border-radius:5px;background:#edfffc;box-shadow:0 1px 5px #00323890;}
.selection-handle:focus-visible{outline:1.5px solid #d7fff7;outline-offset:-7px;border-radius:13px;}
.selection-hint{position:absolute;bottom:5px;left:0;right:0;text-align:center;font-size:8px;letter-spacing:.25px;color:#9fd9dc;pointer-events:none;}
.wave-panel.collapsed .selection-hint{display:none;}
.timeline-selection{position:absolute;top:1px;bottom:1px;border-left:1px solid #c8fff5;border-right:1px solid #c8fff5;border-radius:3px;background:#b3ffed4f;pointer-events:none;}
.editor-screen .selection-context{font-size:12px;letter-spacing:0;color:#b4e9e7;font-variant-numeric:tabular-nums;}
.editor-screen .tool-panel{transition:border-color 160ms,box-shadow 160ms;}
.editor-screen.is-selecting .tool-panel{border-color:#bafff2;box-shadow:inset 0 1px 2px #e5ffff99,0 0 13px #72ffe833,0 8px 0 #04728147;}
.editor-screen.is-selecting .selection-window{background:#baffef52;}
.editor-footer{height:27px;position:relative;display:flex;align-items:center;justify-content:center;}
.editor-footer .pagination{height:27px;}
.region-label-toggle{position:absolute;right:9px;bottom:0;height:27px;min-width:65px;padding:0 7px;font-size:9px;color:#a4cdd4;border-radius:13px;}
.region-label-toggle[aria-pressed=true]{color:#edffff;background:#d1fff40e;}
.editor-zone{position:relative;}
.editor-zone-label,.collapse-label{display:none;pointer-events:none;}
.show-region-labels .editor-zone{outline:1px dashed #d4fff0b3;outline-offset:-2px;}
.show-region-labels .editor-zone-label{position:absolute;display:block;z-index:15;top:2px;left:14px;font-size:9px;line-height:16px;padding:0 5px;color:#e7fff8;background:#002b32ec;border:1px solid #b5eee759;border-radius:4px;white-space:nowrap;letter-spacing:.1px;font-weight:500;}
.show-region-labels [data-zone=navigation]>.editor-zone-label{top:-5px;left:5px;}
.show-region-labels [data-zone=selection]>.editor-zone-label{top:-18px;left:10px;}
.show-region-labels [data-zone=timeline]>.editor-zone-label{left:auto;right:15px;top:2px;}
.show-region-labels [data-zone=tools]>.editor-zone-label{left:auto;right:12px;top:3px;}
.show-region-labels [data-zone=pages]>.editor-zone-label{top:5px;left:auto;right:calc(100% + 5px);}
.show-region-labels .collapse-label{display:block;position:absolute;right:7px;bottom:0;font-size:8px;color:#dcfff7;}
.editor-screen .wave-annotation{position:absolute;}
@media(prefers-reduced-motion:reduce){.editor-screen .tool-panel{transition:none;}}

/* Zoom changes the time window inside the upper panel, never the page scale. */
.editor-screen .wave-panel{touch-action:none;}
.editor-screen .wave-area{display:block;padding:0;background:none;}
.wave-content{position:absolute;inset:0;overflow:hidden;border-radius:3px;background:repeating-linear-gradient(133deg,transparent 0px,transparent 4px,#07c2d069 4px,#07c2d069 5.3px,transparent 5.3px,transparent 8.2px);}
.whole-song .wave-content,.fine-view .wave-content{background:none;}
.editor-screen .wave-area .audio-section{position:absolute;top:0;bottom:0;padding:0 1px;}
.editor-screen .wave-area .audio-section[hidden],.editor-screen .selection-handle[hidden]{display:none;}
.editor-screen .wave-area .wave-bar{opacity:var(--block-opacity,1);transition:none;}
.editor-screen .wave-area .selection-window{left:calc(100% * var(--selection-start,.25));width:calc(100% * (var(--selection-end,.416667) - var(--selection-start,.25)));}
.fine-waveform{position:absolute;inset:0;width:100%;height:100%;opacity:var(--fine-opacity,0);pointer-events:none;z-index:2;overflow:hidden;}
.fine-waveform line{stroke:#78cfd0;stroke-width:1.4;stroke-linecap:round;vector-effect:non-scaling-stroke;}
.fine-waveform line.selected{stroke:#e0fff8;}
.wave-annotation.offscreen{opacity:.9;}
.selection-return-hint{display:block;margin-top:3px;font-size:8px;font-weight:500;line-height:1.2;color:#21555a;}
.selection-return-hint[hidden]{display:none;}
.wave-annotation.offscreen::after,.wave-annotation.offscreen .annotation-dot{display:none;}
.wave-zoom-controls{position:absolute;left:8px;right:8px;bottom:0;height:44px;pointer-events:none;z-index:10;}
.wave-zoom-controls button{pointer-events:auto;position:absolute;top:0;width:40px;height:40px;padding:0;color:#c0edeb;font-size:20px;border-radius:20px;background:transparent;}
.wave-zoom-controls button:hover{background:#c4ffff0a;}
.wave-zoom-controls button:disabled{opacity:.25;}
.wave-zoom-controls [data-wave-zoom=out]{left:0;}
.wave-zoom-controls [data-wave-zoom=in]{right:0;}
.wave-zoom-controls .wave-view-label{right:37px;width:73px;font-size:9px;letter-spacing:.1px;}
.wave-panel.is-zooming .wave-view-label{color:#fff;}
.wave-panel.collapsed .wave-zoom-controls{bottom:-3px;}
.wave-panel.collapsed .wave-area{top:45px;height:74px;}
.whole-song .selection-window{background:#befff318;border-color:#b9fff2aa;}

/* Capsule multiselect and whole-section trimming are separate visual modes. */
.swipe-mode .selection-window,.swipe-mode .selection-handle{display:none;}
.editor-screen .swipe-mode .audio-section.selected{background:transparent;border:0;}
.trim-mode .wave-content{border-radius:22px;background:#002c3270;box-shadow:inset 0 0 0 1px #8bdbd630;}
.trim-mode .wave-area .audio-section{visibility:hidden;}
.trim-mode .fine-waveform{opacity:1;}
.trim-mode .fine-waveform line{stroke:#5c9d9f;}
.trim-mode .fine-waveform line.selected{stroke:#dbfff7;}
.wave-trim-toggle{height:44px;margin:-13px 0 -12px -9px;padding:0 9px;display:inline-flex;align-items:center;gap:6px;font-size:14px;border-radius:12px;color:#e5fffb;background:transparent;}
.wave-trim-toggle .icon{width:17px;height:17px;stroke-width:1.7;}
.wave-trim-toggle[aria-pressed=true]{background:#c7fff315;box-shadow:inset 0 0 0 1px #b8f4ec42;}
.selection-shade{display:none;position:absolute;top:0;bottom:0;z-index:3;background:#00191d70;pointer-events:none;}
.trim-mode .selection-shade{display:block;}
.shade-before{left:0;width:clamp(0%,calc(100% * var(--selection-start)),100%);}
.shade-after{right:0;left:clamp(0%,calc(100% * var(--selection-end)),100%);}
.trim-mode .selection-window{border:1px solid #c7fff0;border-radius:5px;background:#befff318;z-index:4;}
.editor-screen .selection-handle{top:0;bottom:0;height:100%;width:44px;}
.editor-screen .selection-handle[data-selection-handle=start]{left:clamp(10px,calc(100% * var(--selection-start)),calc(100% - 10px));}
.editor-screen .selection-handle[data-selection-handle=end]{left:clamp(10px,calc(100% * var(--selection-end)),calc(100% - 10px));}
.editor-screen .selection-handle:before{content:"";position:absolute;left:17px;top:-1px;bottom:-1px;width:10px;border-radius:5px;background:#cefff2;box-shadow:0 1px 5px #002c3066;}
.editor-screen .selection-handle:after{left:21px;top:50%;height:19px;width:2px;transform:translateY(-50%);border:0;background:#2e827e;box-shadow:none;border-radius:2px;}
.editor-screen .narrow-selection .selection-handle[data-selection-handle=start]{height:48%;bottom:auto;}
.editor-screen .narrow-selection .selection-handle[data-selection-handle=end]{height:48%;top:auto;}
.swipe-mode .wave-area{cursor:crosshair;}

/* Real project markers replace the decorative timeline pins. */
.wave-primary-actions{display:flex;align-items:center;gap:3px;min-width:0;}
.wave-add-marker{height:44px;margin:-13px 0 -12px;padding:0 6px;display:inline-flex;align-items:center;gap:4px;color:#d9f9f2;font-size:12px;white-space:nowrap;border-radius:12px;}
.wave-add-marker .icon{width:15px;height:15px;stroke-width:1.6;}
.wave-add-marker:active{background:#cefff217;}
.wave-marker-count{height:44px;width:28px;margin:-13px 0 -12px;display:grid;place-items:center;font-size:10px;color:#aed5d5;}
.wave-marker-count span{min-width:19px;height:19px;padding:0 4px;border:1px solid #b7eddf40;border-radius:10px;display:grid;place-items:center;}
.editor-screen .wave-panel-top>span[data-selection-count]{font-size:12px;align-self:center;white-space:nowrap;}
.wave-play-position{position:absolute;top:0;bottom:0;width:1px;background:#f2fffbd0;z-index:5;pointer-events:none;}
.wave-play-position:before{content:"";position:absolute;top:0;left:-3px;border:3.5px solid transparent;border-top:5px solid #edfff7;}
.wave-marker-layer{position:absolute;inset:0;pointer-events:none;z-index:7;}
.wave-cue{position:absolute;top:0;bottom:0;width:0;}
.wave-cue>i{position:absolute;top:25px;bottom:0;border-left:1px dashed #b8eee582;}
.wave-cue>button{position:absolute;left:0;top:-7px;width:38px;height:36px;transform:translateX(-50%);display:flex;align-items:center;justify-content:center;gap:1px;pointer-events:auto;color:#c2ede5;isolation:isolate;}
.wave-cue>button:before{content:"";position:absolute;inset:8px 5px 8px 6px;background:#06414bed;border:1px solid #abebdb66;border-radius:5px;z-index:-1;}
.wave-cue .icon{width:12px;height:16px;fill:#04434f;stroke-width:1.9;filter:drop-shadow(0 1px 2px #001e28);}
.wave-cue small{font-size:8px;text-shadow:0 1px 3px #001a20;}
.wave-cue.is-current>i{border-left-style:solid;border-color:#d3fff4cc;}
.wave-cue.is-current>button{color:#f1fff8;}
.wave-cue.is-current .icon{fill:#6bb8a866;}
.timeline-markers{position:absolute;left:22px;right:22px;top:-2px;height:24px;pointer-events:none;z-index:5;}
.overview-marker{position:absolute;top:0;width:32px;height:24px;transform:translateX(-50%);padding:4px 9px;pointer-events:auto;color:#92cec5;}
.overview-marker .icon{width:12px;height:15px;stroke-width:1.7;fill:#06464b;}
.overview-marker.is-current{color:#f0fff9;}
.marker-list{display:grid;gap:6px;max-height:290px;overflow-y:auto;}
.marker-list-row{display:flex;align-items:center;border:1px solid #4daca738;border-radius:13px;background:#b6ffec06;}
.marker-list-jump{display:flex;align-items:center;gap:12px;flex:1;min-width:0;text-align:left;padding:12px;}
.marker-list-jump>.icon{width:19px;height:22px;color:#c2ede3;}
.marker-list-jump span{min-width:0;display:grid;gap:3px;}
.marker-list-jump strong{font-size:13px;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.marker-list-jump small{font-size:11px;color:#9fc8c9;font-variant-numeric:tabular-nums;}
.marker-list-edit{width:44px;height:48px;padding:12px;color:#b1d6d4;}
.marker-list-edit .icon{width:17px;height:17px;}
.marker-empty{font-size:13px;line-height:1.8;padding:16px 0;color:#aed0d0;}
.marker-restore,.marker-delete{min-height:44px;margin-top:8px;font-size:12px;color:#b3d5d3;width:100%;}

/* Changes stay anchored to song time, separate from selection and key points. */
.editor-screen .wave-annotation{color:#061b20;cursor:pointer;text-align:center;max-width:224px;font-weight:650;}
.wave-annotation [data-selection-backing]{font-size:11px;line-height:1.3;}
.wave-annotation.has-changes [data-selection-backing]{color:#18585c;}
.wave-annotation:focus-visible{outline:2px solid #ccfff4;outline-offset:3px;}
.wave-changes{position:absolute;left:0;right:0;bottom:-3px;height:27px;pointer-events:none;z-index:6;}
.wave-change{position:absolute;top:0;height:27px;padding:0 2px;pointer-events:auto;color:#c3fff1;touch-action:manipulation;}
.wave-change:after{content:"";position:absolute;left:1px;right:1px;bottom:3px;height:2px;border-radius:2px;background:#a0e5cf;box-shadow:0 1px 3px #002327;}
.wave-change.ambience{color:#c6e2f4;}
.wave-change.ambience:after{background:#9dc4df;}
.wave-change.combined:after{background:linear-gradient(90deg,#a0e5cf 50%,#9dc4df 50%);}
.wave-change>span{position:relative;margin:0 auto 8px;padding:2px 4px;width:max-content;max-width:100%;height:17px;display:flex;align-items:center;justify-content:center;gap:3px;background:#06333de8;border:1px solid #a6ead243;border-radius:5px;overflow:hidden;}
.wave-change .icon{width:10px;height:10px;flex-shrink:0;stroke-width:1.7;}
.wave-change small{font-size:8px;line-height:1;white-space:nowrap;}
.wave-change.compact>span{padding:2px;width:15px;}
.wave-change.compact small{display:none;}
.wave-change:focus-visible{outline:1px solid #dafff4;border-radius:5px;}
.wave-fx-layer{position:absolute;inset:0;pointer-events:none;z-index:7;}
.wave-fx-change{position:absolute;top:52%;width:32px;height:34px;transform:translate(-50%,-50%);padding:6px;pointer-events:auto;touch-action:manipulation;}
.wave-fx-change>span{display:flex;align-items:center;justify-content:center;gap:1px;height:22px;min-width:22px;padding:2px;border-radius:7px;background:#063e4aea;border:1px solid #c6eff2a1;box-shadow:0 1px 5px #00171e55;color:#e3fcff;}
.wave-fx-change .icon{width:13px;height:14px;flex-shrink:0;}
.wave-fx-change small{font-size:7px;}
.wave-fx-change:focus-visible{outline:1px solid #e7fff9;border-radius:8px;}
.wave-all-changes{position:absolute;left:46px;bottom:7px;min-height:25px;padding:0 4px;z-index:11;font-size:9px;color:#bce5e3;}
.wave-all-changes[hidden]{display:none;}
.wave-panel.collapsed .wave-all-changes{bottom:-1px;}
.timeline-changes{position:absolute;left:22px;right:22px;top:39px;height:3px;pointer-events:none;}
.timeline-changes .overview-change{position:absolute;top:0;height:2px;background:#a0e5cf;border-radius:1px;}
.timeline-changes .overview-change.has-ambience{background:#aacde1;}
.timeline-changes .overview-fx{position:absolute;top:-1px;width:4px;height:4px;border-radius:1px;transform:translateX(-50%) rotate(45deg);background:#ecfff9;}
.audio-change-list{display:grid;gap:7px;max-height:300px;overflow:auto;}
.audio-change-row{display:flex;align-items:center;gap:12px;padding:13px 10px;border:1px solid #a0ddd027;border-radius:12px;background:#bdffed05;}
.audio-change-row>.icon{width:20px;height:20px;flex-shrink:0;color:#b7dfdb;}
.audio-change-row>div{display:grid;gap:5px;min-width:0;}
.audio-change-row strong{font-size:13px;line-height:1.45;font-weight:500;overflow-wrap:anywhere;}
.audio-change-row small{font-size:11px;color:#a5c8ca;}

/* Reuse the existing tool card and sheet for precise effect placement. */
.audio-edit-heading{display:flex;align-items:center;justify-content:space-between;gap:7px;}
.add-fx-shortcut{display:flex;align-items:center;gap:4px;min-height:36px;font-size:11px;color:#b6dbdc;white-space:nowrap;}
.add-fx-shortcut .icon{width:15px;height:15px;}
.fx-placement-modes{display:flex;padding:3px;gap:3px;border:1px solid #a9e7de30;border-radius:13px;background:#001d244d;margin-bottom:16px;}
.fx-placement-modes button{flex:1;min-height:41px;border-radius:10px;color:#a3c8ca;font-size:13px;}
.fx-placement-modes button[aria-pressed=true]{background:#b5efdf15;color:#eafff9;box-shadow:inset 0 0 0 1px #b6e9dc35;}
.fx-time-fields{display:flex;gap:12px;}
.fx-time-fields>label{flex:1;min-width:0;color:#b4d4d3;font-size:12px;}
.fx-time-fields>label[hidden]{display:none;}
.sheet .fx-time-fields input{font-size:23px;font-variant-numeric:tabular-nums;padding:13px 12px;margin-top:6px;}
.fx-placement-shortcuts{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:5px;}
.fx-placement-shortcuts button{min-height:39px;display:flex;align-items:center;gap:4px;color:#acd0ce;font-size:11px;}
.fx-placement-shortcuts .icon{width:13px;height:13px;}
.fx-placement-summary{padding:11px 2px 0;font-size:13px;color:#ddf8f0;font-variant-numeric:tabular-nums;min-height:30px;}
.audio-change-row>div{flex:1;}
.placed-fx-edit{width:36px;min-height:40px;flex-shrink:0;display:grid;place-items:center;color:#aed0cf;}
.placed-fx-edit .icon{width:17px;height:17px;}
.add-range-effect{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;margin-top:12px;}
.add-range-effect .icon{width:16px;height:16px;}
.wave-fx-range{position:absolute;top:68%;height:25px;display:flex;align-items:center;justify-content:center;padding:0 2px;pointer-events:auto;touch-action:manipulation;color:#d9f5f0;}
.wave-fx-range:before{content:"";position:absolute;inset:3px 0;background:#548d9b38;border:1px solid #b2e3e56e;border-radius:4px;}
.wave-fx-range>span{position:relative;display:flex;align-items:center;justify-content:center;gap:3px;max-width:100%;padding:2px 4px;border-radius:4px;background:#06414ce6;overflow:hidden;}
.wave-fx-range .icon{width:11px;height:12px;flex-shrink:0;}
.wave-fx-range small{font-size:8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.wave-fx-range.compact small{display:none;}
.wave-fx-range.compact>span{padding:2px;}
.wave-fx-range:focus-visible{outline:1px solid #dbfff2;border-radius:4px;}
.timeline-changes .overview-fx-range{position:absolute;top:3px;height:2px;background:#c0e4e6;border-radius:1px;}
.sheet.dark .fx-time-fields input{display:block;width:100%;min-width:0;box-sizing:border-box;border:1px solid #9ad9d14a;border-radius:12px;color:#ecfff9;background:#022d36b3;outline:none;}
.sheet.dark .fx-time-fields input:focus{border-color:#c0f4e5;box-shadow:0 0 0 2px #b9f2e212;}

/* First tool page: describe an edit; second tool page: browse built-in sounds. */
.ai-demo-label{font-size:10px;letter-spacing:.1px;color:#9bc6cb;white-space:nowrap;}
.ai-current-status{font-size:10px;line-height:1.4;max-width:280px;max-height:29px;overflow:hidden;text-align:center;color:#a4ced2;margin:3px 0 0;}
.ai-assist-row .ai-assist{display:flex;flex-direction:column;justify-content:center;align-items:center;padding:8px;gap:4px;}
.ai-assist-row .ai-assist>.icon{width:24px;height:24px;stroke-width:1.5;}
.ai-assist-row .ai-assist small{margin-top:0;font-size:12px;}
.ai-assist-row .ai-assist:disabled{opacity:.45;cursor:default;}
.ai-assist-row .ai-audition{display:flex;flex-direction:column;justify-content:center;gap:5px;}
.ai-assist-row .ai-audition small{margin-top:0;font-size:11px;}
.ai-entry-tabs{display:flex;gap:6px;margin-bottom:11px;}
.ai-entry-tabs button{display:flex;align-items:center;justify-content:center;gap:6px;min-height:38px;padding:0 17px;border-radius:11px;color:#a9cecd;border:1px solid #bdddd626;font-size:13px;}
.ai-entry-tabs button[aria-pressed=true]{background:#c0f0df13;border-color:#b7e8dd60;color:#effff8;}
.ai-entry-tabs .icon{width:17px;height:17px;}
.ai-input-note{color:#b4d1d2;font-size:12px;line-height:1.5;margin:0 0 15px;}
.ai-input-limit{color:#96b8ba;font-size:10px;line-height:1.4;text-align:center;margin:9px 0 0;}
.library-context{display:flex;align-items:center;gap:4px;margin-top:4px;min-height:29px;}
.library-context .panel-subtitle{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;font-size:11px!important;letter-spacing:0;margin:0!important;font-variant-numeric:tabular-nums;}
.library-controls{display:flex;align-items:center;gap:4px;}
.fx-page-controls{display:flex;align-items:center;gap:1px;color:#a3cbce;}
.fx-page-controls button{width:24px;min-height:28px;display:grid;place-items:center;}
.fx-page-controls .icon{width:12px;height:12px;}
.fx-page-controls button:disabled{opacity:.3;}
.fx-page-controls small{font-size:9px;min-width:17px;text-align:center;}
.fx-multi-toggle{min-height:28px;padding:0 4px;font-size:11px;color:#c7e8e5;white-space:nowrap;}
.fx-multi-toggle[aria-pressed=true]{color:#fff;}
.effects-page .genre-chips{margin-top:4px;gap:5px;overflow-x:auto;scrollbar-width:none;}
.effects-page .genre-chips button{flex-shrink:0;white-space:nowrap;padding:7px 9px;}
.effect-card.is-picked{box-shadow:inset 0 0 0 2px #d8fff5,inset 1px 1px 2px #edffff65;}
.effect-pick-mark{position:absolute;right:13px;top:29px;width:19px;height:19px;border:1px solid #d4f7ee90;border-radius:50%;background:#073039b5;display:grid;place-items:center;transform:rotate(15deg);}
.effect-card:nth-child(2) .effect-pick-mark{transform:rotate(-15deg);top:34px;}
.effect-card:nth-child(3) .effect-pick-mark{transform:rotate(12deg);}
.effect-pick-mark .icon{width:12px;height:12px;color:#effff6;}
.is-multi-select .effect-card{touch-action:manipulation;}
.effect-batch-bar{position:absolute;left:16px;right:16px;bottom:7px;z-index:6;min-height:33px;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:0 7px 0 12px;border:1px solid #abe6da61;background:#07333ceb;backdrop-filter:blur(8px);border-radius:14px;box-shadow:0 3px 12px #001b2440;}
.effect-batch-bar>span{font-size:10px;color:#bfded8;}
.effect-batch-bar button{display:flex;align-items:center;gap:5px;min-height:33px;font-size:11px;color:#edfff8;padding:0 7px;}
.effect-batch-bar button:disabled{opacity:.35;}
.effect-batch-bar .icon{width:14px;height:14px;}
.fx-batch-names{font-size:11px;line-height:1.6;margin:0 0 12px;color:#b0cece;max-height:53px;overflow:auto;}
.audio-edit-page .ai-current-status{margin:0;line-height:13px;max-height:26px;min-height:13px;}
.editor-screen .tool-panel{overflow:clip;}
.is-multi-select .effect-name{top:38px;}
.is-multi-select .effect-card:nth-child(2) .effect-name{top:48px;}

/* A quiet receipt between the audio and tools; it never covers either panel. */
.editor-activity-status{position:absolute;top:40px;left:50%;transform:translateX(-50%);width:196px;height:36px;padding:2px 5px;display:flex;align-items:center;justify-content:center;gap:5px;border-radius:10px;color:#90b8bc;background:transparent;transition:color .2s,background .2s;}
.editor-activity-status>.icon{width:12px;height:12px;flex-shrink:0;stroke-width:1.7;}
.editor-activity-status>span{display:grid;gap:1px;min-width:0;}
.editor-activity-status strong{font-size:10px;font-weight:450;line-height:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.editor-activity-status small{font-size:9px;line-height:12px;color:#a6d6d1;font-variant-numeric:tabular-nums;}
.editor-activity-status.is-complete{color:#e0fff3;background:#a3eed00b;}
.editor-activity-status.is-complete>.icon{color:#b8f5dd;width:14px;height:14px;}
.editor-activity-status:focus-visible{outline:1px solid #b1e7dd;outline-offset:-2px;}
.wave-feedback-layer{position:absolute;inset:0;pointer-events:none;z-index:5;overflow:hidden;border-radius:4px;}
.wave-feedback-layer>i{position:absolute;top:0;bottom:0;background:#b7ffe724;border:1px solid #d0fff5b0;border-radius:5px;box-shadow:inset 0 0 13px #c7ffdf20;animation:activity-settle 1.8s ease-out both;}
.wave-feedback-layer>i.is-point{min-width:12px;transform:translateX(-50%);}
@keyframes activity-settle{0%{opacity:.15}18%{opacity:1}100%{opacity:0}}
.activity-list{display:grid;gap:6px;max-height:360px;overflow-y:auto;overscroll-behavior:contain;}
.activity-row{display:flex;align-items:flex-start;gap:10px;padding:13px 6px;border-bottom:1px solid #b5d8d21d;}
.activity-row>.icon{width:17px;height:17px;flex-shrink:0;color:#bae2d2;margin-top:1px;}
.activity-row>div{flex:1;min-width:0;}
.activity-row strong{display:block;font-size:13px;font-weight:550;color:#ecfff7;line-height:1.4;overflow-wrap:anywhere;}
.activity-row small{display:block;font-size:11px;line-height:1.6;color:#bad8d4;margin-top:3px;font-variant-numeric:tabular-nums;}
.activity-row p{font-size:11px;line-height:1.5;color:#9fc6c4;margin:3px 0;overflow-wrap:anywhere;}
.activity-row time{display:block;font-size:9px;color:#8dadb0;margin-top:6px;}
.activity-row>button{display:flex;align-items:center;justify-content:center;gap:1px;min-width:44px;min-height:44px;font-size:11px;color:#bbdcd6;flex-shrink:0;}
.activity-row>button .icon{width:13px;height:13px;}
@media(prefers-reduced-motion:reduce){.wave-feedback-layer>i{animation:none;opacity:.35;}.editor-activity-status{transition:none;}}

/* Pick up the audio itself, then let it settle or fly into a recoverable shelf. */
.editor-header{position:relative;}
.clip-bin-button{position:absolute;right:48px;top:22px;min-width:32px;height:40px;display:grid;place-items:center;color:#b5ded9;}
.clip-bin-button>.icon{width:18px;height:19px;stroke-width:1.4;}
.clip-bin-button small{position:absolute;right:0;top:1px;font-size:8px;min-width:12px;line-height:12px;border-radius:6px;background:#064551;color:#d9f7f0;}
.wave-panel.is-grip-ready .selection-window{box-shadow:inset 0 0 14px #b0ffef45;border-color:#edfff7;}
.wave-panel.is-lifting .audio-section.selected{opacity:.17;}
.wave-panel.is-lifting .selection-handle{opacity:.3;pointer-events:none;}
.wave-panel.is-lifting .selection-window{background:#c6fff40b;border-style:dashed;border-color:#b6e9df6e;}
.wave-panel.is-lifting .selection-hint{color:#d9fff1;}
.lifted-audio-clip{position:fixed;display:flex;align-items:center;gap:3px;padding:0 3px;z-index:1100;pointer-events:none;border:1px solid #e0fff3aa;border-radius:10px;background:linear-gradient(130deg,#145967ed,#013039ee);box-shadow:0 14px 24px #00181c4d,inset 0 1px 1px #d3fff055;will-change:transform;transform:scale(1.035);}
.lifted-audio-clip>i{flex:1;min-width:0;max-height:92%;border-radius:22px;background:linear-gradient(105deg,#b7fff3,#79e7d8);box-shadow:inset 1px 1px 2px #ecfffba3;}
.lifted-audio-clip>small{position:absolute;bottom:calc(100% + 8px);left:50%;transform:translateX(-50%);font-size:11px;white-space:nowrap;color:#e2fff6;text-shadow:0 1px 5px #00252c;background:#053944bf;border-radius:8px;padding:4px 7px;}
.lifted-audio-clip.will-discard{border-color:#f0fff8;box-shadow:0 20px 30px #00181c55,inset 0 0 10px #d3fff01c;}
.clip-undo{position:absolute;right:68px;top:40px;height:36px;min-width:44px;padding:0 5px;color:#c3f0df;font-size:10px;text-decoration:underline;text-underline-offset:3px;}
.clip-undo[hidden]{display:none;}
.editor-activity-status.has-clip-undo{left:calc(50% - 18px);width:152px;}
.clip-bin-list{display:grid;gap:10px;max-height:340px;overflow:auto;}
.clip-bin-row{display:flex;align-items:center;gap:10px;padding:13px 0;border-bottom:1px solid #c2e9dd22;}
.clip-bin-row>div{flex:1;min-width:0;}
.clip-bin-row strong{font-size:12px;font-weight:500;display:block;}
.clip-bin-row small{font-size:10px;color:#aacbc8;display:block;margin-top:5px;}
.clip-bin-row>button{display:flex;align-items:center;gap:4px;font-size:12px;min-height:44px;padding:0 7px;color:#cef7e8;}
.clip-bin-row>button .icon{width:14px;height:14px;}
.clip-mini-wave{width:42px;height:48px;display:flex;align-items:center;justify-content:center;gap:3px;padding:5px;background:#baffed0c;border:1px solid #bee6d933;border-radius:10px;}
.clip-mini-wave>i{display:block;flex:1;min-width:1px;max-height:32px;border-radius:3px;background:#aadace;}
