
/* Stage C: compact directory, physical panels, analog rack. */
:root{
 --b-directory-icon:32px;--b-directory-height:64px;--b-knob:52px;--b-knob-mobile:44px;
 --b-vu-height:54px;--b-vu-light:#f4db94;--b-vu-dark:#ac8746;--b-vu-mark:#252217;--b-vu-red:#ba542e;
 --b-hardware-rim:#8d9b81;--b-hardware-label:#e5dbbf;--b-hardware-black:#050906;
 --b-hardware-top:#4d584b;--b-hardware-side:#1c271e;--b-hardware-groove:#080e09;
 --b-led-off:#182e1f;--b-led-hot:#ef9360;
}
body .capabilities{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:0!important;
 padding:var(--b-s2)!important;border:1px solid var(--b-edge);border-radius:var(--b-radius);
 background:var(--b-panel);box-shadow:inset 1px 1px var(--b-highlight),var(--b-shadow-depth)}
body .capabilities .capability{display:flex!important;align-items:center!important;justify-content:flex-start!important;text-align:left!important;
 min-height:var(--b-directory-height)!important;height:auto!important;padding:var(--b-s2) var(--b-s3)!important;
 gap:var(--b-s3)!important;border:0!important;border-radius:0!important;border-bottom:1px solid var(--b-edge)!important;
 box-shadow:none!important;background:transparent!important;transform:none!important;min-width:0}
body .capabilities .capability:nth-child(odd){border-right:1px solid var(--b-edge)!important}
body .capabilities .capability:last-child{border-bottom:0!important}
body .capabilities .capability .cap-art{width:var(--b-directory-icon)!important;height:var(--b-directory-icon)!important;flex:none;filter:drop-shadow(1px 2px 2px #0009)}
body .capabilities .capability>div{min-width:0}
body .capabilities .capability strong{display:block;font-size:14px!important;line-height:1.25!important;color:var(--b-cream)!important;letter-spacing:0!important;font-weight:750!important;margin:0!important}
body .capabilities .capability small{display:block;font-size:var(--b-small)!important;line-height:1.4!important;color:var(--b-muted)!important;margin-top:var(--b-s1)!important}
@media(hover:hover){body .capabilities .capability:hover{background:linear-gradient(90deg,rgba(217,169,63,.09),transparent)!important}body .capabilities .capability:hover strong{color:var(--b-gold)!important}}
body .mat-surface,body .service-grid .service-card.mat-surface{border-radius:var(--b-radius)!important;border-color:var(--b-edge)!important}
body #studio-deck.mat-surface{
 isolation:isolate;position:relative;border-radius:var(--b-radius-sm)!important;border:1px solid var(--b-hardware-rim)!important;
 background:repeating-linear-gradient(0deg,#ffffff05 0 1px,#00000006 1px 2px,transparent 2px 4px),
 linear-gradient(150deg,var(--b-hardware-top),var(--b-hardware-side) 12%,var(--b-hardware-black) 64%,var(--b-hardware-side) 94%)!important;
 box-shadow:inset 1px 1px var(--b-highlight),inset -1px -2px #000b,0 4px #050906,0 8px 0 -2px #111911,0 16px 28px #000a!important;
}
body #studio-deck .compact-head{border-bottom:1px solid var(--b-edge-hover)!important;padding-bottom:var(--b-s2)!important}
body #studio-deck .compact-head small,body #studio-deck .deck-channel>span:first-child{color:var(--b-hardware-label)!important;text-shadow:0 1px var(--b-black);font-weight:800!important}
body #studio-deck .deck-display{background:linear-gradient(155deg,var(--b-hardware-black),var(--b-base))!important;border:1px solid var(--b-edge)!important;border-radius:var(--b-radius-sm)!important;box-shadow:inset 0 3px 9px #000e,0 1px var(--b-highlight)!important}
body #studio-deck .deck-mix{border-radius:var(--b-radius-sm)!important;background:linear-gradient(145deg,var(--b-metal-mid),var(--b-metal-dark))!important;box-shadow:inset 1px 1px var(--b-highlight),inset -1px -1px #0009,0 3px 6px #0008!important}
body #studio-deck .knob-well{width:var(--b-knob)!important;min-width:var(--b-tap);max-width:100%;height:auto}
body #studio-deck .knob-body{background:repeating-conic-gradient(from -10deg,var(--b-metal-light) 0deg 2deg,var(--b-metal-mid) 2deg 5deg,var(--b-metal-dark) 5deg 8deg)!important;border:1px solid var(--b-hardware-rim)!important;box-shadow:0 4px var(--b-hardware-black),0 7px 9px #000b,inset 0 1px var(--b-highlight)!important}
body #studio-deck .knob-body::before{background:conic-gradient(from -40deg,var(--b-metal-light),var(--b-metal-dark),var(--b-metal-light),var(--b-metal-mid),var(--b-metal-light))!important;box-shadow:inset 0 1px var(--b-highlight),inset 0 -2px 4px #000b,0 0 0 1px var(--b-hardware-black)!important}
body #studio-deck .knob-body::after{background:var(--b-gold)!important}
body #studio-deck .knob-well:focus-within{outline:2px solid var(--b-gold);outline-offset:2px;border-radius:var(--b-radius-round)}
body #studio-deck .rack-screw{background:conic-gradient(var(--b-metal-mid),var(--b-metal-light),var(--b-metal-dark),var(--b-metal-light),var(--b-metal-mid))!important;box-shadow:0 1px 3px #000b}
body #studio-deck .deck-transport button,body #studio-deck .deck-reset,body #studio-deck .screw-button,body #studio-deck .deck-track,body #studio-deck .deck-playlist summary{min-height:var(--b-tap)!important}
body #studio-deck .deck-transport button{min-width:var(--b-tap)!important;flex-shrink:0;color:var(--b-cream)!important;background:linear-gradient(var(--b-metal-mid),var(--b-metal-dark))!important;border:1px solid var(--b-hardware-rim)!important;border-radius:var(--b-radius-xs)!important;box-shadow:inset 0 1px var(--b-highlight),inset 0 -3px var(--b-hardware-black),0 3px 5px #0009!important}
body #studio-deck .deck-transport button:active{transform:translateY(1px);box-shadow:inset 0 2px 5px #000b!important}
body #studio-deck .meter-track{background:var(--b-hardware-black)!important;box-shadow:inset 0 1px 4px #000}
body #studio-deck .meter-track i{background:var(--b-led-off)!important}
body #studio-deck .meter-track i.on{background:var(--b-green)!important;box-shadow:0 0 5px var(--b-green)}
body #studio-deck .meter-track i.on:nth-last-child(-n+4){background:var(--b-gold)!important;box-shadow:0 0 5px var(--b-gold-mid)}
body #studio-deck .meter-track i.on:last-child{background:var(--b-led-hot)!important}
body #studio-deck .b-vu{display:block;width:100%;height:var(--b-vu-height);margin:var(--b-s1) 0;filter:drop-shadow(0 2px 3px #000a)}
.b-vu .b-needle{transform-origin:100px 83px;transform:rotate(var(--b-needle,-47deg));transition:transform 130ms ease-out}
body #studio-deck .deck-seek{min-height:var(--b-tap)!important}
@media(max-width:700px){
 body .capabilities{grid-template-columns:1fr!important;padding:0!important}
 body .capabilities .capability:nth-child(odd){border-right:0!important}
 body #studio-deck .knob-well{width:var(--b-knob-mobile)!important}
 body #studio-deck .deck-faders{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:var(--b-s2)!important}
 body #studio-deck .deck-transport{flex-wrap:wrap}
}
@media(prefers-reduced-motion:reduce){.b-vu .b-needle{transition:none!important}body #studio-deck .deck-transport button:active{transform:none!important}}

/* Keep mobile transport and form controls comfortably tappable. */
body #studio-deck .deck-transport button{width:var(--b-tap)!important;min-width:var(--b-tap)!important;flex:0 0 var(--b-tap)!important}
body .v2-form input:not([type=checkbox]):not([type=radio]),body .v2-form select,body .v2-form textarea,body .v2-form button{min-height:var(--b-tap)!important}
body #studio-deck .deck-seek{touch-action:pan-y}
