/* Wave is a full workspace, with the performance surface given the most room. */
body.wave-active .mode-nav,body.wave-active .workspace-bar,body.wave-active #scienceStage,body.wave-active>.research-strip,body.wave-active .studio-nav,body.wave-active #openLabBrowser,body.wave-active #exportButton,body.wave-active #helpButton{display:none!important}
body.wave-active .topbar{grid-template-rows:66px!important;min-height:66px}
#waveRoot[hidden]{display:none!important}
.wv-root{--wv-lime:#d0fb81;--wv-muted:#9bb1c1;--wv-line:#2b414e;color:#e7eef5;max-width:1800px;margin:0 auto;padding:30px 32px 22px;font-family:Manrope,system-ui,sans-serif;background:radial-gradient(ellipse at 30% 18%,#14243a44,transparent 56%)}
.wv-root *{box-sizing:border-box}
.wv-root button,.wv-root input,.wv-root select,.wv-root textarea{font:inherit}
.wv-root button,.wv-root select,.wv-root input,.wv-root textarea{color:inherit}
.wv-root button:focus-visible,.wv-root input:focus-visible,.wv-root select:focus-visible,.wv-root textarea:focus-visible,.wv-root summary:focus-visible,.wv-root canvas:focus-visible{outline:2px solid var(--wv-lime);outline-offset:4px}
.wv-heading{display:flex;align-items:center;justify-content:space-between;gap:22px;margin-bottom:26px}
.wv-eyebrow{font:10px 'DM Mono',ui-monospace,monospace;letter-spacing:.15em;color:#a2b5c5}
.wv-heading h1{font-size:clamp(25px,2.8vw,42px);font-weight:500;letter-spacing:-.055em;margin:8px 0 7px;line-height:1.13}
.wv-heading h1>span{color:var(--wv-lime)}
.wv-heading p{color:var(--wv-muted);margin:0;font-size:13px;line-height:1.6}
.wv-heading-actions,.wv-button-group{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.wv-btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:42px;padding:10px 14px;background:#10212b;border:1px solid #344d5a;border-radius:7px;font-size:12px!important;font-weight:600!important;cursor:pointer;transition:background .15s,border-color .15s;white-space:nowrap}
.wv-btn:hover{background:#1a3340;border-color:#75959d}
.wv-btn:disabled{opacity:.42;cursor:default}
.wv-btn.wv-primary{color:#162014;background:var(--wv-lime);border-color:var(--wv-lime)}
.wv-btn.wv-primary:hover{background:#e0ffaa}
.wv-btn.wv-primary[aria-pressed=true]{background:#213927;color:#d0fb81}
.wv-quiet{border-color:transparent;background:transparent;color:#a5bdcf!important}
.wv-wide{width:100%}
.wv-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:20px;align-items:start}
.wv-instrument{min-width:0}
.wv-stage{overflow:hidden;background:radial-gradient(ellipse at 45% 35%,#132237,#08111f 70%);border:1px solid #344351;border-radius:12px;position:relative}
.wv-stage-head{display:flex;justify-content:space-between;align-items:center;padding:12px 18px;gap:10px;font-size:12px}
.wv-stage-head>div{display:flex;align-items:center;gap:9px;flex-wrap:wrap}
.wv-dot{width:6px;height:6px;border-radius:50%;background:var(--wv-lime);box-shadow:0 0 12px #d0fb8155}
.wv-dot.still{background:#6a7e8c;box-shadow:none}
.wv-stage-tag{font:9px 'DM Mono',monospace;letter-spacing:.08em;color:#96aabc;border-left:1px solid #3b4d59;padding-left:10px;margin-left:4px}
#wvCanvas{width:100%;height:clamp(350px,42vw,580px);display:block;touch-action:none;cursor:crosshair}
.wv-stage-overlay{display:flex;justify-content:space-between;gap:10px;padding:0 20px 15px;pointer-events:none;font:9px 'DM Mono',monospace;letter-spacing:.1em;color:#90a8bb}
.wv-meters{display:grid;grid-template-columns:1fr 1fr 1.1fr 1.6fr 1fr;border-top:1px solid #304251;background:#0b1823dd;padding:17px 10px}
.wv-meters>div{display:flex;flex-direction:column;gap:9px;padding:0 15px;border-left:1px solid #2b3b4b;min-width:0}
.wv-meters>div:first-child{border:0}
.wv-meters span{font:9px 'DM Mono',monospace;color:#9eb2c4;letter-spacing:.08em}
.wv-meters output{font:19px 'DM Mono',ui-monospace,monospace;color:#dce8f1;white-space:nowrap;font-variant-numeric:tabular-nums}
.wv-meters .wv-pitch-meter output{color:var(--wv-lime)}
.wv-transport{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;padding:15px 0}
.wv-sample-state{font:10px 'DM Mono',monospace;color:#96b3a1}
.wv-sample-state.warning{color:#f5b883}
.wv-cursor{display:grid;grid-template-columns:1fr 1fr;gap:16px 26px;padding:16px 19px;background:#0d1b24;border:1px solid var(--wv-line);border-radius:9px}
.wv-cursor>label{display:flex;flex-direction:column;gap:8px;font-size:12px;min-width:0}
.wv-cursor>label>span{display:flex;justify-content:space-between;gap:8px}
.wv-cursor small{color:var(--wv-muted);font:9px 'DM Mono',monospace}
.wv-root input[type=range]{width:100%;accent-color:var(--wv-lime);min-height:26px;margin:0;cursor:pointer}
.wv-cursor-actions{display:flex;gap:8px;flex-wrap:wrap;grid-column:1/-1}
.wv-cursor p{grid-column:1/-1;margin:0;color:var(--wv-muted);font-size:11px;line-height:1.7}
.wv-take{margin-top:20px;background:linear-gradient(115deg,#172431,#0d1b22);border:1px solid #344957;padding:22px;border-radius:10px}
.wv-section-title{display:flex;justify-content:space-between;align-items:center;gap:12px}
.wv-section-title h2{font-size:20px;font-weight:500;letter-spacing:-.035em;margin:8px 0 0}
.wv-take-clock{font:20px 'DM Mono',monospace;color:var(--wv-lime);white-space:nowrap}
.wv-take-timeline{height:6px;border-radius:9px;background:#2a3c49;margin:21px 0;overflow:hidden}
.wv-take-timeline>div{height:100%;width:0;background:linear-gradient(90deg,#a89cf7,#78d3d3,#d0fb81)}
.wv-record{color:#ffc0b7!important}
.wv-record[aria-pressed=true]{background:#592d32;border-color:#f49996}
.wv-check{display:flex;align-items:center;gap:8px;font-size:11px;min-height:42px;color:#c8d6df;cursor:pointer}
.wv-check input{accent-color:var(--wv-lime);width:16px;height:16px}
.wv-take p{font-size:11px;line-height:1.7;color:var(--wv-muted);margin:14px 0}
.wv-studio-send{display:grid;grid-template-columns:1fr minmax(140px,190px) auto;gap:12px;align-items:center;border-top:1px solid #324550;padding-top:19px;margin-top:19px}
.wv-studio-send>div{display:flex;flex-direction:column;gap:7px}
.wv-studio-send b{font-size:12px;font-weight:600}
.wv-studio-send span{font-size:10px;color:var(--wv-muted);line-height:1.5}
.wv-root select,.wv-root textarea,.wv-root input[type=number]{background:#07131d;border:1px solid #3a5060;border-radius:6px;padding:10px;font-size:12px;min-height:42px;width:100%;min-width:0;color-scheme:dark}
.wv-root textarea{resize:vertical;min-height:82px;font:12px/1.7 'DM Mono',monospace;color:#d6d0ff}
.wv-status{font-size:12px;line-height:1.7;margin-top:16px;padding:12px 16px;border-left:2px solid #9fd474;color:#c6d9e7;background:#14241e55;min-height:45px}
.wv-controls{background:#0c1820;border:1px solid var(--wv-line);border-radius:10px;overflow:hidden}
#wvDesign{border:0;padding:0;margin:0;min-width:0}
#wvDesign:disabled .wv-control-section{opacity:.6}
.wv-control-section{padding:21px 20px;border-bottom:1px solid var(--wv-line)}
.wv-control-section:last-child{border:0}
.wv-control-section p{font-size:11px;color:var(--wv-muted);line-height:1.8;margin:13px 0}
.wv-field{display:flex;flex-direction:column;gap:9px;font-size:11px;margin:17px 0 10px}
.wv-parameters{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:18px}
.wv-parameters label{font:12px 'DM Mono',monospace;display:flex;flex-wrap:wrap;justify-content:space-between;gap:5px;min-width:0}
.wv-parameters output{color:#acbad0;font-size:10px}
.wv-slider{display:flex;flex-direction:column;gap:8px;font-size:11px;margin:18px 0}
.wv-slider>span{display:flex;justify-content:space-between}
.wv-slider output{font:11px 'DM Mono',monospace;color:#b8d1a7}
.wv-spectrum{height:6px;border-radius:10px;background:linear-gradient(90deg,hsl(267,61%,23%),hsl(209,61%,36%),hsl(151,61%,50%));margin:21px 0 10px}
.wv-spectrum-labels{display:flex;justify-content:space-between;gap:8px;font:9px 'DM Mono',monospace;color:#b6c7d3}
.wv-mapping{padding-top:6px}
.wv-mapping summary{font-size:11px;cursor:pointer;color:#d0dae1;min-height:32px}
.wv-number-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px 9px;margin:10px 0 14px}
.wv-number-grid label{display:flex;flex-direction:column;gap:7px;font-size:10px;color:#b5c7d3}
.wv-fine{font-size:10px!important;line-height:1.7;color:var(--wv-muted)}
.wv-error:not(:empty){border-left:2px solid #f0aa9e;padding-left:10px;color:#ffc1b4}
.wv-error:empty{display:none}
.wv-listening-tip{background:linear-gradient(150deg,#27352855,transparent)}
.wv-stage:fullscreen{width:100vw;height:100dvh;border:0;border-radius:0;display:flex;flex-direction:column}
.wv-stage:fullscreen #wvCanvas{flex:1;min-height:0;height:0}
.wv-stage:fullscreen .wv-stage-head,.wv-stage:fullscreen .wv-meters{flex-shrink:0}
.wv-fullscreen-only{display:none}
.wv-stage:fullscreen .wv-fullscreen-only{display:inline-flex}
@media(min-width:1600px){.wv-layout{grid-template-columns:minmax(0,1fr) 330px}.wv-controls{font-size:14px}.wv-control-section{padding:24px}}
@media(max-width:1180px){.wv-root{padding:24px 20px}.wv-layout{grid-template-columns:minmax(0,1fr) 270px;gap:15px}.wv-control-section{padding:18px 16px}.wv-studio-send{grid-template-columns:1fr auto}.wv-studio-send>div{grid-column:1/-1}.wv-meters>div{padding:0 9px}.wv-meters output{font-size:16px}.wv-heading-actions{flex-direction:column;align-items:stretch}}
@media(max-width:900px){.wv-layout{grid-template-columns:1fr}.wv-controls{display:grid;grid-template-columns:1fr}.wv-heading-actions{flex-direction:row}.wv-meters output{font-size:20px}#wvCanvas{height:420px}#wvDesign{display:grid;grid-template-columns:repeat(2,1fr)}#wvDesign .wv-control-section:first-of-type{grid-row:span 2;border-right:1px solid var(--wv-line)}.wv-listening-tip{border-top:1px solid var(--wv-line)}}
@media(max-width:620px){.wv-root{padding:20px 12px}.wv-heading{align-items:start;flex-direction:column;gap:16px;margin-bottom:18px}.wv-heading h1{font-size:31px}.wv-heading p{font-size:12px}.wv-heading-actions{width:100%}.wv-heading-actions .wv-btn{flex:1}.wv-stage-head{padding:10px 12px}.wv-stage-tag{display:none}#wvCanvas{height:310px}.wv-stage-overlay{padding:0 12px 12px;font-size:8px}.wv-meters{grid-template-columns:1fr 1fr 1.1fr 1.5fr;padding:13px 4px}.wv-meters>div:last-child{display:none}.wv-meters>div{padding:0 8px}.wv-meters output{font-size:14px}.wv-meters span{font-size:8px}.wv-cursor{padding:14px;gap:13px}.wv-cursor small{display:none}.wv-take{padding:17px 14px}.wv-section-title h2{font-size:18px}.wv-take-clock{font-size:17px}.wv-studio-send{grid-template-columns:1fr}.wv-studio-send>div{grid-column:auto}.wv-take .wv-button-group{gap:7px}.wv-btn{padding:10px 12px}.wv-transport .wv-btn{font-size:11px!important}#wvDesign{display:block}#wvDesign .wv-control-section:first-of-type{border-right:0}.wv-control-section{padding:20px}.experience-switch{margin-left:8px}.experience-switch button{padding:9px 10px}}
@media(pointer:coarse){.wv-root input[type=range]{min-height:42px}}
@media(prefers-reduced-motion:reduce){.wv-btn{transition:none}}
@media(max-width:650px){
  body.wave-active .topbar{grid-template-rows:65px 42px!important;min-height:107px}
  body.wave-active .topbar .top-actions{grid-row:2}
  body.studio-active .topbar{grid-template-rows:65px 40px 44px!important;min-height:149px}
  body.studio-active .topbar .top-actions{grid-row:2;grid-column:1/-1;justify-content:center;padding:4px 8px}
  body.studio-active .experience-switch{grid-column:2/4;justify-self:end;margin-right:12px}
  body.studio-active .studio-nav{grid-row:3}
  .wv-stage:fullscreen .wv-stage-head{flex-wrap:wrap}
}
