.wed{gap:.75rem;min-width:0;display:grid}.wed__bar{flex-wrap:wrap;align-items:center;gap:.5rem .75rem;display:flex}.wed__play{background:var(--text);width:2.75rem;height:2.75rem;color:var(--bg);cursor:pointer;border:0;border-radius:50%;flex:none;place-items:center;display:inline-grid}.wed__play svg{fill:currentColor;width:1.25rem;height:1.25rem}.wed__stop{border:1px solid var(--border);background:var(--surface);color:var(--text)}.wed__stop svg{width:1.05rem;height:1.05rem}.wed__time{font-variant-numeric:tabular-nums;font-size:.9375rem;font-weight:700}.wed__time span{color:var(--text-muted);font-weight:500}.wed__zoom{flex-wrap:nowrap;flex-shrink:0;align-items:center;gap:.35rem;margin-left:auto;display:inline-flex}.wed__span{box-sizing:border-box;white-space:nowrap;text-align:center;width:7rem;min-width:7rem;color:var(--text-muted);font-variant-numeric:tabular-nums;flex:none;font-size:.8125rem}.wed__btn{border:1px solid var(--border);background:var(--surface);min-width:2.75rem;min-height:2.75rem;color:var(--text);font:inherit;cursor:pointer;touch-action:manipulation;border-radius:10px;place-items:center;padding:0 .7rem;font-weight:700;display:inline-grid}.wed__btn:disabled{opacity:.4;cursor:default}.wed__btn--text{white-space:nowrap;font-size:.8125rem;font-weight:600}.wed__zoom .wed__btn{flex:none}.wed__btn--icon{min-width:2.25rem;padding:0}.wed__wave{gap:.3rem;min-width:0;display:grid}.wed__ruler{cursor:col-resize;touch-action:pan-y;-webkit-user-select:none;user-select:none;border-bottom:1px solid var(--border);height:1.5rem;margin:0 1px;position:relative;overflow:hidden}.wed__tick{white-space:nowrap;color:var(--text-muted);font-variant-numeric:tabular-nums;pointer-events:none;padding-bottom:.15rem;font-size:.6875rem;line-height:1;position:absolute;bottom:0;transform:translate(-50%)}.wed__tick:after{content:"";background:var(--border);width:1px;height:.3rem;position:absolute;bottom:-1px;left:50%}.wed__tick[data-align=start]{transform:none}.wed__tick[data-align=start]:after{left:0}.wed__tick[data-align=end]{transform:translate(-100%)}.wed__tick[data-align=end]:after{left:100%}.wed__stage{border:1px solid var(--border);background:var(--bg);touch-action:pan-y;-webkit-user-select:none;user-select:none;cursor:pointer;border-radius:12px;height:7.5rem;position:relative;overflow:hidden}.wed__stage[data-zoomed]{cursor:grab}.wed__stage:focus-visible{outline:3px solid var(--brand-hover);outline-offset:2px}.wed__canvas,.wed__over-canvas{--wave-played:#f8f8fa;--wave-rest:#ffffff4d;width:100%;height:100%;position:absolute;inset:0}.wed__region{background:color-mix(in srgb, var(--brand) 16%, transparent);border-left:1px solid color-mix(in srgb, var(--brand-hover) 55%, transparent);border-right:1px solid color-mix(in srgb, var(--brand-hover) 55%, transparent);position:absolute;top:0;bottom:0}.wed__region[data-sel]{background:color-mix(in srgb, var(--brand) 34%, transparent);border-color:var(--brand-hover)}.wed__region[data-open]{border-right:0;min-width:2px}.wed__label{white-space:nowrap;text-overflow:ellipsis;color:var(--text);text-shadow:0 1px 4px #000c;pointer-events:none;font-size:.75rem;font-weight:600;position:absolute;top:.3rem;left:.35rem;right:.35rem;overflow:hidden}.wed__handle{pointer-events:none;z-index:2;width:0;position:absolute;top:0;bottom:0}.wed__handle:before{content:"";background:var(--brand-hover);width:2px;position:absolute;top:0;bottom:0;left:-1px}.wed__grip{cursor:ew-resize;touch-action:none;pointer-events:auto;width:2.75rem;height:3.25rem;margin:-1.625rem 0 0 -1.375rem;position:absolute;top:50%;left:0}.wed__grip:after{content:"";background:var(--brand-hover);border-radius:6px;width:1rem;height:2.25rem;margin:-1.125rem 0 0 -.5rem;position:absolute;top:50%;left:50%;box-shadow:0 2px 8px #00000080}.wed__handle:focus-visible{outline:none}.wed__handle:focus-visible .wed__grip:after{outline:3px solid var(--text);outline-offset:2px}.wed__cursor{background:var(--text);pointer-events:none;z-index:3;width:2px;margin-left:-1px;position:absolute;top:0;bottom:0}.wed__selbar{background:color-mix(in srgb, var(--brand) 10%, transparent);border-radius:8px;height:1.5rem;margin:0 1px;position:relative;overflow:hidden}.wed__selbar-thumb{background:var(--brand-hover);cursor:grab;touch-action:none;-webkit-user-select:none;user-select:none;border-radius:6px;min-width:.75rem;position:absolute;top:.2rem;bottom:.2rem}.wed__selbar-thumb:active{cursor:grabbing}.wed__selbar-thumb:after{content:"";position:absolute;inset:-.2rem 0}.wed__selbar-thumb:focus-visible{outline:3px solid var(--text);outline-offset:-3px}.wed__over{border:1px solid var(--border);background:var(--bg);cursor:pointer;touch-action:none;border-radius:8px;height:2.25rem;position:relative;overflow:hidden}.wed__over .wed__over-canvas{opacity:.55}.wed__over:focus-visible{outline:3px solid var(--brand-hover);outline-offset:2px}.wed__window{border:2px solid var(--brand-hover);background:color-mix(in srgb, var(--brand) 18%, transparent);pointer-events:none;border-radius:6px;min-width:4px;position:absolute;top:0;bottom:0}.wed__marks{flex-wrap:wrap;gap:.5rem;display:flex}.wed__tap{gap:.35rem;display:grid}.wed__tap-btn{touch-action:manipulation;min-height:3.25rem;font-size:1.0625rem}.wed__help{margin:0}.wed__keys{color:var(--text-muted);font-size:.8125rem}.wed__keys summary{cursor:pointer;width:fit-content}.wed__keys summary:focus-visible{outline:2px solid var(--brand-hover);outline-offset:2px}.wed__keys .hint{margin:.35rem 0 0}@media (hover:none) and (pointer:coarse){.wed__keys{display:none}}@media (max-width:639px){.wed__stage{height:8.5rem}.wed__zoom{margin-left:0}.wed__marks .btn{white-space:normal;text-align:center;flex:9rem;min-height:2.75rem}}@media (max-width:420px){.wed__zoom{flex:1 0 100%;justify-content:flex-start;margin-left:0}.wed__span{width:6.25rem;min-width:6.25rem}.wed__zoom .wed__btn--text{white-space:normal;flex:0 auto;min-width:0;padding:0 .5rem;line-height:1.15}}
