.performance-loop-recorder{border:1px solid #66877b;border-radius:8px;background:#111c20c9;padding:12px;margin:12px 0}.performance-loop-head,.performance-loop-controls,.performance-loop-slots,.performance-loop-chain{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.performance-loop-head{justify-content:space-between}.performance-loop-head h3{margin:0}.performance-loop-slots{margin:10px 0}.performance-loop-slots button{width:48px;height:48px;border:1px dashed #647a75}.performance-loop-slots button[data-filled=true]{border-style:solid;background:#284d48}.performance-loop-slots button[data-playing=true]{box-shadow:0 0 13px #97ffd5;border-color:#b0ffdf}.performance-loop-controls button,.performance-loop-chain button{min-height:44px}.performance-loop-recorder button[aria-pressed=true]{outline:2px solid #a2e9d1}.performance-loop-recorder[data-recording=true]{border-color:#ff9789}.performance-loop-chain{margin-top:8px}.performance-loop-chain span{display:inline-flex;gap:2px}.performance-loop-controls label{display:flex;gap:6px;align-items:center}.performance-loop-controls select{min-height:44px}@media(prefers-reduced-motion:no-preference){.performance-loop-recorder[data-recording=true] .performance-loop-head output{animation:loop-record-pulse 1s ease-in-out infinite alternate}@keyframes loop-record-pulse{to{opacity:.45}}}
.performance-effects{margin:16px 0;border:1px solid #667d85;border-radius:8px;padding:12px}.performance-effects>summary{cursor:pointer;font-weight:bold;padding:10px}.performance-effects-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:12px 0}.performance-effect-tile{border:1px solid #5a7378;border-radius:8px;padding:10px;display:flex;flex-wrap:wrap;gap:8px}.performance-effect-tile select,.performance-effect-tile>output,.performance-effect-tile>p{width:100%}.performance-effect-tile button{min-height:44px;flex:1}.performance-effect-tile button[aria-pressed=true]{background:#a5d9ee;color:#091a26}.performance-effect-xy{position:relative;touch-action:none;width:100%;height:160px;border:1px solid #8ac5da;background:linear-gradient(90deg,#142429aa,#314f68aa),linear-gradient(#354e58aa,#112a2aaa);overflow:hidden}.performance-effect-xy i{position:absolute;width:16px;height:16px;transform:translate(-50%,-50%);background:#b6ffde;border-radius:50%;box-shadow:0 0 13px #a5e8d5}.performance-effect-tile label{display:flex;align-items:center;gap:5px;width:calc(50% - 4px)}.performance-effect-tile input{width:100%;min-width:0}.performance-slice-pads{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:6px;margin:10px 0}.performance-slice-pads button{min-height:44px}.performance-slice-pads button[aria-pressed=true]{background:#f6c577;color:#201a12}.mpc-disco-controls{display:inline-flex;align-items:center;gap:4px;flex-wrap:wrap}@media(max-width:700px){.performance-effects-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.performance-slice-pads{grid-template-columns:repeat(4,minmax(0,1fr))}}
.vox-instrument{--accent:#a5dec4}.vox-waveform{width:100%;height:150px;border:1px solid #6c9a8e;margin:14px 0}.vox-stages{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.vox-stage{padding:12px;border:1px solid #617d75;border-radius:7px;background:#172825aa}.vox-stage[data-playing=true]{border-color:#a5ffda;box-shadow:0 0 8px #8affc377}.vox-stage label{display:block;margin:7px 0}.vox-stage input[type=range]{width:100%}.vox-cut-controls{display:flex;flex-wrap:wrap;gap:8px;padding:10px}.vox-cut-controls label{width:140px}.vox-beat-light{font-size:32px;color:#405b55}.vox-beat-light[data-on=true]{color:#94ffd4;text-shadow:0 0 15px #94ffd4}.vox-beat-light[data-on=true][data-downbeat=true]{color:#ffd994}.vox-instrument select,.vox-instrument button{min-height:44px}@media(max-width:800px){.vox-stages{grid-template-columns:repeat(2,minmax(0,1fr))}}

.performance-loop-timing{display:grid;gap:6px;margin-top:8px;font-size:.9rem;font-variant-numeric:tabular-nums}
.performance-loop-timing[data-closing=true]{color:#ffdb92}
.performance-loop-timing progress{width:100%;height:10px;accent-color:#a2e9d1}
.performance-loop-timing[data-closing=true] progress{accent-color:#ffdb92}
.performance-loop-slots button{display:grid;place-content:center;width:58px;line-height:1.05;gap:3px}
.performance-loop-slot-length{font-size:.68rem;font-weight:400;white-space:nowrap}
.performance-loop-controls input[type=number]{width:5em;min-height:44px}

.performance-fx-targets{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:4px}
.performance-fx-targets button{font-size:10px;min-height:30px;padding:4px 6px}
.performance-fx-targets button[aria-pressed=true]{border-color:var(--accent);box-shadow:inset 0 -2px var(--accent)}

.performance-talking{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.4rem;box-sizing:border-box;width:100%;min-width:0}
.performance-talking[hidden]{display:none}
.performance-talking label{display:grid;width:auto;min-width:0;font-size:.75rem}
.performance-talking input:disabled{opacity:.45}
.performance-talking output{font-size:.7rem;color:var(--muted)}
