/* The approved concept is the material reference: a playable pixel-art studio. */
:root {
  --font: 'Silkscreen', monospace;
  --purps-text: 'Silkscreen', monospace;
  --purps-number: 'Silkscreen', monospace;
  --hw-edge: #ae88c7;
  --hw-shadow: #090911;
}
body { font-family: var(--purps-text); font-size: 13px; }
:root #shell { font-family: var(--purps-text); }
:root #shell .app-header {
  min-height: 70px; height: 70px; padding-inline: 18px; gap: 16px;
  border: 3px solid #88609f; background: #18151e;
  box-shadow: inset 0 3px #c394df, inset 0 -4px #30223d, 0 3px #080a0d;
}
:root #shell .brand { font-size: 32px; gap: 10px; text-shadow: 2px 2px #512b67; }
:root #shell .brand-symbol { width: 50px; height: 50px; object-fit: contain; image-rendering: pixelated; }
:root #shell .project-name { min-width: 112px; overflow: hidden; }
:root #shell .project-name input { font: 14px var(--purps-display); text-overflow: ellipsis; }
:root #shell :is(.shell-key,.text-button,.flip-button,.export-button,.icon-button) {
  font-family: var(--purps-display); border-radius: 0;
  border: 2px solid #8c909b; background: #252834;
  box-shadow: inset 2px 2px #54556b, inset -2px -3px #11131b;
  color: #eee7f4; font-size: 11px; min-height: 34px;
}
:root #shell :is(.shell-key,.text-button,.flip-button,.export-button,.icon-button):hover { background: #3b3549; border-color: #d0a3ee; }
:root #shell :is(.shell-key,.text-button,.flip-button,.export-button,.icon-button):active { box-shadow: inset 2px 3px #10121a; transform: translateY(1px); }
:root #shell .shell-key[aria-pressed=true] { background: #96d9c5; border-color: #d8ffeb; color: #17282a; box-shadow: inset 2px 2px #c9f7e1, inset -2px -3px #498e81; }
:root #shell .header-actions { gap: 6px; }
:root #shell .header-actions :is(button) { padding: 7px 9px; }
:root #shell .shell-history .text-button { width: 30px; padding: 4px; }
:root #shell .shell-history { gap: 4px; padding-left: 8px; }
:root #shell .shell-document-truth { font-family: var(--purps-display); font-size: 9px; line-height: 1.5; overflow: hidden; }
:root #shell .shell-document-truth span { font-size: inherit; }
:root #shell :is(.library-title,.rack-toolbar,.inspector-head) {
  background: #24212d; border-top: 2px solid #7e688f; border-bottom: 3px solid #0c1015;
  box-shadow: inset 0 2px #4a3e56;
}
:root #shell :is(.library-title h1,.rack-title h2,.inspector-head h2) { font-size: 15px; font-weight: 700; color: #ece1f4; }
:root #shell .library { background: #13171d; border-right: 3px solid #675375; }
:root #shell .library-title { min-height: 52px; }
:root #shell .search-box { border: 2px solid #92829f; padding: 7px; box-shadow: inset 3px 3px #08090f; min-height: 44px; }
:root #shell .search-box input { font-family: var(--purps-display); font-size: 11px; }
:root #shell :is(.shell-library-controls,.shell-library-sort) { font-size: 10px; gap: 8px; }
:root #shell .library-list { padding: 8px; }
:root #shell .shell-library-row { margin-bottom: 8px; min-height: 90px; border: 2px solid #63566f; background: #242731; box-shadow: inset 2px 2px #4d465d, inset -2px -3px #0e1218; }
:root #shell .library-device { padding: 9px 4px 9px 8px; gap: 10px; border: 0; }
:root #shell .library-device::before { display: none; }
:root #shell .library-device strong { font: 700 12px/1.4 var(--purps-display); color: #f2e7f7; white-space: normal; overflow-wrap: anywhere; }
:root #shell .library-device small { font: 10px/1.6 var(--purps-display); color: #c7becf; margin-top: 5px; }
:root #shell .library-device-sprite { display: grid; place-items: center; width: 46px; height: 54px; flex: 0 0 46px; border: 2px solid color-mix(in srgb,var(--item-color) 70%,#aaa); background: #14151e; box-shadow: inset 2px 2px #555064, inset -2px -3px #080a10; color: var(--item-color); }
:root #shell .library-device-sprite svg { width: 36px; height: 40px; image-rendering: pixelated; shape-rendering: crispEdges; }
:root #shell .shell-favorite { width: 26px; min-width: 26px; padding: 4px; color: #c6accf; }
:root #shell .shell-favorite[aria-pressed=true] { color: #ffd490; }
:root #shell .library-device .add-device { font: 18px var(--purps-display); }
:root #shell .library-footer { border-top: 3px solid #716079; box-shadow: inset 0 2px #30263b; background: #1d1b26; }
:root #shell .library-footer p { font-size: 11px; line-height: 1.8; }
:root #shell .rack-scroll { padding: 10px 10px 30px; background: #10121a; }
:root #shell .rack-world { max-width: 1600px; padding-inline: 10px; }
:root #shell .rack-devices { gap: 14px; }
:root #shell .rail { width: 10px; border: 2px solid #77648b; background-color: #32283e; box-shadow: inset 2px 0 #a07bbb, inset -2px 0 #080c12; }
:root #shell .rack-device {
  --rail-width: 16px;
  border: 3px solid color-mix(in srgb,var(--purps-rule) 75%,#d4bfdf);
  outline: 2px solid #0a0b12; outline-offset: 1px;
  background: var(--purps-face);
  box-shadow: inset 0 4px color-mix(in srgb,var(--purps-rule) 65%,#ece0fc), inset 0 -5px color-mix(in srgb,var(--purps-face) 60%,#050608), 0 5px #07080c;
}
:root #shell .rack-device::before,:root #shell .rack-device::after { background: color-mix(in srgb,var(--purps-rule) 40%,var(--purps-face)); border-color: #15111e; box-shadow: inset 2px 0 #ffffff22, inset -2px 0 #0008; }
:root #shell .rack-device .face-screw { width: 14px; height: 14px; border: 2px solid #14111b; background: #c9becd; box-shadow: inset 2px 2px #f2e8f3, inset -2px -2px #65616d, 1px 2px #000; clip-path: polygon(25% 0,75% 0,100% 25%,100% 75%,75% 100%,25% 100%,0 75%,0 25%); }
:root #shell .rack-device .face-screw::after { width: 8px; height: 3px; left: 1px; top: 4px; background: #332d3b; box-shadow: none; transform: none; }
:root #shell .rack-device .face-screw::before { content: ''; position: absolute; top: 1px; left: 4px; height: 8px; width: 3px; background: #332d3b; }
:root #shell .rack-device :is(.face-name,.device-title) { font-size: clamp(24px,3cqw,38px); font-weight: 700; text-shadow: 2px 2px color-mix(in srgb,var(--purps-face) 50%,#000); }
:root #shell .rack-device .face-subtitle { font: 11px/1.6 var(--purps-display); color: var(--purps-secondary); }
:root #shell .rack-device .face-hardware { min-height: 82px; padding-block: 14px; flex-wrap: wrap; }
:root #shell .rack-device .plate-name { max-width: min(360px,100%); flex-basis: 30%; flex-shrink: 0; min-width: min-content; }
:root #shell .rack-device .plate-name .face-name { white-space: normal; overflow-wrap: normal; word-break: normal; }
/* Ironvoice shares its nameplate with SYNC: reserve room for both pieces. */
:root #shell .rack-device[data-type=monologue] .monologue-header .plate-name { flex: 0 0 min(370px,100%); min-width: 0; max-width: 100%; }
:root #shell .rack-device[data-type=monologue] .monologue-header .face-name { white-space: nowrap; overflow-wrap: normal; }
:root #shell .rack-device :is(button,select,summary,input,textarea) { font-family: var(--purps-display); }
:root #shell .rack-device :where(p,small,span,output,label,figcaption,legend,li) { font-family: var(--purps-display); }
:root #shell .rack-device :is(.panel-key,.face-action,.hardware-action,.roll-key,.face-clock,select) {
  min-height: 34px; border: 2px solid var(--purps-rule); padding: 6px 9px;
  background: var(--purps-lift); color: var(--purps-face-ink);
  box-shadow: inset 2px 2px color-mix(in srgb,var(--purps-rule) 65%,white), inset -2px -3px var(--purps-well);
  font-size: 11px; font-weight: 400;
}
:root #shell .rack-device :is(.panel-key,.face-clock,.roll-key)[aria-pressed=true] { background: var(--purps-accent); border-color: #f7ebff; color: #1c1520; box-shadow: inset 2px 2px #ffffff55, inset -2px -3px #0004; }
:root #shell .rack-device .face-control { gap: 7px; }
:root #shell .rack-device .param-label { font: 12px/1.3 var(--purps-display); text-transform: uppercase; color: var(--purps-secondary); }
:root #shell .rack-device .param-readout { font: 13px/1.3 var(--purps-display); color: #f5edeb; }
:root #shell .rack-device .rotary { width: 56px; height: 56px; }
:root #shell .rack-device .dial-disc {
  inset: 8%; border: 0; border-radius: 50%; background: var(--purps-well); box-shadow: none;
  clip-path: polygon(30% 0,70% 0,70% 5%,85% 5%,85% 15%,95% 15%,95% 30%,100% 30%,100% 70%,95% 70%,95% 85%,85% 85%,85% 95%,70% 95%,70% 100%,30% 100%,30% 95%,15% 95%,15% 85%,5% 85%,5% 70%,0 70%,0 30%,5% 30%,5% 15%,15% 15%,15% 5%,30% 5%);
}
:root #shell .rack-device .dial-disc::before { content: ''; position: absolute; inset: 3px; border-radius: 50%; background: color-mix(in srgb,var(--purps-accent) 22%,var(--purps-lift)); box-shadow: inset 3px 3px color-mix(in srgb,var(--purps-accent) 62%,#f8e8ff), inset -4px -4px color-mix(in srgb,var(--purps-well) 70%,#080a0e); clip-path: inherit; }
:root #shell .rack-device .dial-disc::after { content: ''; position: absolute; inset: 8px; border: 1px solid color-mix(in srgb,var(--purps-accent) 30%,var(--purps-well)); border-radius: 50%; clip-path: inherit; }
:root #shell .rack-device .dial-disc i { z-index: 2; }
:root #shell .rack-device .dial-disc i::after { width: 4px; height: 40%; top: 4%; left: calc(50% - 2px); background: #fff1df; box-shadow: 2px 1px #15121a; }
:root #shell .rack-device .dial-ticks path { stroke-width: 1.8; shape-rendering: crispEdges; }
:root #shell .rack-device .socket-label { font: 10px var(--purps-display); }
/* Every real host socket shares one front-on pixel part, regardless of plugin or kind. */
:root #shell .rack-device button.jack[data-port][data-kind] {
  --jack-target: 44px;
  --jack-metal: #baa2ca;
  --jack-highlight: #fff0d3;
  --jack-shadow: #665075;
  position: relative;
  display: grid;
  place-items: center;
  width: var(--jack-target);
  height: var(--jack-target);
  min-width: var(--jack-target);
  min-height: var(--jack-target);
  flex: 0 0 var(--jack-target);
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transform: none;
  filter: none;
  appearance: none;
  isolation: isolate;
  cursor: crosshair;
  touch-action: none;
}
:root #shell .rack-device button.jack[data-port][data-kind]::before {
  content: '';
  position: absolute;
  inset: calc(50% - 16px);
  width: 32px;
  height: 32px;
  border: 2px solid #30243d;
  border-radius: 0;
  background: var(--jack-metal);
  box-shadow: inset 3px 3px var(--jack-highlight), inset -3px -3px var(--jack-shadow);
  transform: none;
  filter: none;
  clip-path: polygon(8px 0,24px 0,24px 2px,28px 2px,28px 4px,30px 4px,30px 8px,32px 8px,32px 24px,30px 24px,30px 28px,28px 28px,28px 30px,24px 30px,24px 32px,8px 32px,8px 30px,4px 30px,4px 28px,2px 28px,2px 24px,0 24px,0 8px,2px 8px,2px 4px,4px 4px,4px 2px,8px 2px);
  z-index: 0;
  pointer-events: none;
}
:root #shell .rack-device button.jack[data-port][data-kind]::after {
  content: '';
  position: absolute;
  width: 4px;
  height: 4px;
  top: calc(50% + 10px);
  left: calc(50% + 9px);
  background: var(--socket-ink, #d7acf0);
  border: 0;
  border-radius: 0;
  box-shadow: 1px 1px #201729;
  transform: none;
  z-index: 3;
  pointer-events: none;
}
:root #shell .rack-device button.jack[data-port][data-kind] > i {
  position: absolute;
  inset: calc(50% - 8px);
  width: 16px;
  height: 16px;
  margin: 0;
  border: 3px solid #594365;
  border-radius: 0;
  background: #080a10;
  box-shadow: inset 2px 2px #020409, 1px 1px #f4e7e4;
  transform: none;
  filter: none;
  clip-path: polygon(4px 0,12px 0,12px 2px,14px 2px,14px 4px,16px 4px,16px 12px,14px 12px,14px 14px,12px 14px,12px 16px,4px 16px,4px 14px,2px 14px,2px 12px,0 12px,0 4px,2px 4px,2px 2px,4px 2px);
  z-index: 1;
  pointer-events: none;
}
:root #shell .rack-device button.jack[data-port][data-kind] > i::before,
:root #shell .rack-device button.jack[data-port][data-kind] > i::after { content: none; }
:root #shell .rack-device button.jack[data-port][data-kind="audio"] { --socket-ink: #e2a2db; }
:root #shell .rack-device button.jack[data-port][data-kind="cv"] { --socket-ink: #bde68e; }
:root #shell .rack-device button.jack[data-port][data-kind="gate"] { --socket-ink: #ffb77d; }
:root #shell .rack-device button.jack[data-port][data-kind="note"] { --socket-ink: #95dfee; }
:root #shell .rack-device button.jack[data-port][data-kind].connected > i {
  border-color: #6c567d;
  background: #d8ccdf;
  box-shadow: inset 2px 2px #fff5de, inset -2px -2px #887193;
}
:root #shell .rack-device button.jack[data-port][data-kind]:is(:hover,:focus-visible,.pending,.selected,.patch-origin) {
  --jack-metal: #d3b8e4;
  --jack-highlight: #fff4e1;
  --jack-shadow: #79528d;
}
:root #shell .rack-device button.jack[data-port][data-kind]:is(:hover,:focus-visible,.pending,.selected,.patch-origin) > i { border-color: var(--socket-ink); }
:root #shell .rack-device button.jack[data-port][data-kind]:focus-visible { outline: 2px solid #ffe2a5; outline-offset: 0; }
:root #shell .rack-device button.jack[data-port][data-kind].patch-target-valid { --jack-metal: #b3cbbb; --jack-highlight: #e8ffe2; --jack-shadow: #547a67; }
:root #shell .rack-device button.jack[data-port][data-kind].patch-target-valid > i { border-color: #95e0b6; }
:root #shell .rack-device button.jack[data-port][data-kind].patch-target-hover { --jack-metal: #ccefd6; --jack-highlight: #ffffe8; --jack-shadow: #5c9f7a; }
:root #shell .rack-device button.jack[data-port][data-kind].patch-target-hover > i { border-color: #c2ffd8; }
:root #shell .rack-device button.jack[data-port][data-kind].patch-target-invalid { --jack-metal: #dca4b3; --jack-highlight: #ffe1e5; --jack-shadow: #935468; }
:root #shell .rack-device button.jack[data-port][data-kind].patch-target-invalid > i { border-color: #ff93af; }
:root #shell .rack-device button.jack[data-port][data-kind].patch-target-invalid::after { background: #ff789b; }
/* Dense performance headers retain their footprint; the actual 32px part is identical. */
:root #shell .rack-device :is(.face-hardware,.giga-header,.fm-header,.serum-header,.td-header,.r808-output,.orbit-header) .front-jack button.jack[data-port][data-kind] { --jack-target: 34px; }
:root #shell .rack-device.rear button.jack[data-port][data-kind],
:root #shell .rack-device .purps-mx-patch-banks button.jack[data-port][data-kind] { --jack-target: 44px; }
:root #shell .rack-device input[type=range]:not(.rack-rotary-range) { accent-color: #eadabd; border-radius: 0; }
:root #shell .rack-device .rack-fader-range::-webkit-slider-thumb { width: 28px; height: 18px; background: linear-gradient(#fff4dd 0 3px,#e8d8b7 3px 7px,#93836c 7px 9px,#f3e3c9 9px 14px,#b8a78b 14px); border: 2px solid #f3e7d4; border-radius: 0; box-shadow: 2px 3px #080b13; }
:root #shell .rack-device .rack-fader-range::-moz-range-thumb { width: 25px; height: 15px; background: #f2e4c9; border: 2px solid #f3e7d4; border-radius: 0; box-shadow: inset 0 3px white, inset 0 -3px #9b8d74,2px 3px #080b13; }
:root #shell .rack-device :is(.hardware-drawer,.rack-drawer,.plugin-workbench)>summary { font-size: 13px; padding-block: 12px; background: var(--purps-well); border-top: 2px solid var(--purps-rule); }
:root #shell :is(.inspector,.shell-modal,.tl-overlay) { background: #1a1a24; color: #eee4ef; font-family: var(--purps-display); }
:root #shell :is(.inspector-head,.shell-dialog-head) { border: 3px solid #9878ac; box-shadow: inset 0 3px #b79ac6, inset 0 -3px #3b2a4b; padding: 12px; }
:root #shell .shell-modal { border: 4px solid #b28ec8; box-shadow: inset 0 4px #dab6ed,inset 0 -5px #2d1e3b,8px 9px #080b13; }
:root #shell .shell-modal button { min-height: 38px; border: 2px solid #8e879f; background: #30303e; box-shadow: inset 2px 2px #696078,inset -2px -3px #14141e; font-family: var(--purps-display); }
:root #shell .shell-modal button:hover { background: #51405c; border-color: #d9b5e9; }
:root #shell .shell-modal button[aria-pressed=true] { color: #162b27; background: #a4dcc5; border-color: #d5ffe7; box-shadow: inset 2px 2px #e0ffed,inset -2px -3px #5c9784; }
:root #shell .shell-modal button:active { box-shadow: inset 2px 3px #16111f; }
:root #shell :is(.shell-dialog-body,.inspector-body) { font-size: 12px; line-height: 1.8; }
:root #shell :is(input[type=text],input[type=number],textarea,select):not(#project-name):not(#tempo):not(.device-label-field input) { border: 2px solid #85728c; background-color: #11131c; color: #f3e8ed; border-radius: 0; box-shadow: inset 2px 2px #080a0f; }
:root #shell :is(.shell-modal,.inspector) label { font-family: var(--purps-display); }
:root #shell :is(.shell-modal,.inspector) input[type=range] { accent-color: #dfb4ee; }
:root #shell .timeline { border-top: 4px solid #947ba7; box-shadow: inset 0 3px #c8addb; }
:root #shell .timeline :is(.timeline-toolbar,.track-heading,.tl-workbench-heading) { background: #292735; box-shadow: inset 0 2px #73607f; }
:root #shell .timeline :is(button,input,select) { font-family: var(--purps-display); }
:root #shell .timeline .timeline-clip { border: 2px solid currentColor; box-shadow: inset 0 3px #ffffff40, inset 0 -3px #0007; }
:root #shell .timeline .timeline-clip.selected { outline: 2px solid #f5e2ff; outline-offset: 1px; box-shadow: inset 0 3px #ffffff50,inset 0 -3px #0008; }
:root #shell .timeline .track-heading { border: 2px solid #59616e; box-shadow: inset 2px 2px #7d768a,inset -2px -3px #161c25; }
:root #shell .timeline .track-heading button { text-shadow: 1px 1px #0b0d12; }
:root #shell .timeline .timeline-clip>span { font: 11px var(--purps-display); }
:root #shell .timeline :is(.track-name,.ruler-label,.bar-label) { font-family: var(--purps-display); }
:root #shell .transport { background: #1c1c28; border: 3px solid #9981aa; box-shadow: inset 0 3px #c6acdb,inset 0 -4px #30243b; padding-top: 11px; }
:root #shell .play-button { border: 3px solid #c4f6df; background: #9bd7be; box-shadow: inset 3px 3px #d4ffe7,inset -3px -4px #4c9a80; }
:root #shell .play-button.playing { border-color: #f8e0ff; background: #d9a3ee; box-shadow: inset 3px 3px #f2d7ff,inset -3px -4px #8d56a2; }
:root #shell .shell-play-keys .icon-button { min-width: 38px; height: 42px; }
:root #shell :is(#position-display,#tempo) { color: #f7e5f7; text-shadow: 2px 2px #5e3974; }
:root #shell .icon,:root #shell .face-icon { stroke-linecap: square; stroke-linejoin: miter; shape-rendering: crispEdges; }
:root #shell .rack-add-slot { border: 3px dashed #9a7cac; color: #d3b9dd; font-family: var(--purps-display); padding-block: 24px; background: #19151f; }
:root #shell :is(.shell-modal,.master-media,.rack-device) input[type=range]:not(.rack-rotary-range):not(.rack-fader-range):not(.mm-rotary input) { appearance: none; height: 10px; min-height: 10px; background: #12141b; border: 2px solid #7e7487; box-shadow: inset 0 2px #06080d; border-radius: 0; }
:root #shell :is(.shell-modal,.master-media,.rack-device) input[type=range]:not(.rack-rotary-range):not(.rack-fader-range):not(.mm-rotary input)::-webkit-slider-thumb { appearance: none; width: 20px; height: 23px; border: 2px solid #f8ecd8; border-radius: 0; background: #d7c6a9; box-shadow: inset 2px 3px #fff4dd,inset -2px -3px #978575,2px 2px #080b11; }
:root #shell :is(.shell-modal,.master-media,.rack-device) input[type=range]:not(.rack-rotary-range):not(.rack-fader-range):not(.mm-rotary input)::-moz-range-thumb { width: 17px; height: 20px; border: 2px solid #f8ecd8; border-radius: 0; background: #d7c6a9; box-shadow: inset 2px 3px #fff4dd,inset -2px -3px #978575,2px 2px #080b11; }
@media(max-width:1100px) { :root #shell .app-header { padding-inline: 10px; gap: 10px; } :root #shell .brand {font-size:26px;} :root #shell .brand-symbol {width:42px;height:42px;} :root #shell .header-actions :is(button) {padding:6px;} }
@media(max-width:720px) {
  :root #shell .app-header {height:62px;min-height:62px;gap:5px;padding:4px 6px;}
  :root #shell .brand {font-size:16px;gap:3px;} :root #shell .brand-symbol {width:30px;height:32px;}
  :root #shell .project-name {min-width:70px;} :root #shell .project-name input {font-size:11px;}
  :root #shell .header-actions [data-shell-action=projects] {width:64px;padding:4px;font-size:10px;}
  :root #shell .shell-document-truth {font-size:8px;} :root #shell .shell-responsive-workspace {border-bottom:3px solid #8c709f;background:#221c2b;gap:4px;padding:5px;}
  :root #shell .rack-scroll {padding:8px 4px 25px;}
  :root #shell .library {border-right-width:3px;} :root #shell .rack-device .face-hardware {gap:12px;}
  :root #shell .rack-device .plate-name {min-width:min-content;max-width:100%;}
  :root #shell .rack-device :is(.face-name,.device-title) {font-size:24px;}
  :root #shell .rack-device .param-label {font-size:11px;}
  :root #shell .rack-device .param-readout {font-size:12px;}
  :root #shell .rack-device .rotary {width:48px;height:48px;}
  :root #shell .transport {padding:9px 6px 6px;}
}
@media(prefers-reduced-motion:reduce) { :root #shell button:active {transform:none;} }

/* Shared text controls: match the pixel font's real width and line box. */
:root #shell :is(.shell-key,.text-button,.flip-button,.export-button) {line-height:1.4;padding:6px 10px;}
:root #shell .shell-modal button {padding:8px 12px;line-height:1.4;white-space:normal;}
:root #shell .rack-device :is(.panel-key,.face-action,.hardware-action,.roll-key) {height:auto;min-height:34px;padding:6px 8px;line-height:1.4;white-space:normal;overflow-wrap:normal;}
:root #shell .rack-device .face-clock {width:auto;min-width:max-content;flex-shrink:0;padding:6px 10px;line-height:1.4;}
:root #shell .rack-device summary {white-space:normal;line-height:1.5;}
:root #shell .rack-device :is(.undertow-detail,.monologue-disclosure,.sf-workbench,.orbit-fold,.chorus-workbench,.doubler-detail)>summary {height:auto;flex-wrap:wrap;gap:8px;padding:10px 8px;}
:root #shell .rack-device summary>span {min-width:0;max-width:100%;white-space:normal;overflow-wrap:anywhere;}
:root #shell .rack-device .undertow-detail>summary span {flex:1 1 160px;}
:root #shell .rack-device .orbit-summary-value {float:none;display:block;max-inline-size:100%;text-align:start;}
:root #shell .rack-device .chorus-face summary {width:100%;flex-wrap:wrap;}
:root #shell .rack-device .dnb-seed-link {height:auto;min-height:34px;padding:6px 8px;white-space:normal;line-height:1.5;}
:root #shell .rack-device .voice-key small {white-space:normal;overflow-wrap:anywhere;line-height:1.4;}
:root #shell .rack-device .giga-footer>[data-giga-audio-status] {height:auto;white-space:normal;min-height:34px;}
:root #shell .shell-health {width:auto;min-width:0;white-space:normal;overflow-wrap:anywhere;padding:6px 4px;line-height:1.4;}
:root #shell #position-display {font-size:20px;line-height:1.3;white-space:nowrap;}
@media(max-width:720px) {
 :root #shell .shell-responsive-workspace .shell-key {padding:6px;}
 :root #shell .shell-health {width:44px;font-size:9px;}
 :root #shell .shell-narrow-range {white-space:normal;font-size:10px;padding:4px 6px;}
 :root #shell #position-display {font-size:18px;}
}

:root #shell .rack-device .monologue-patch-actions {flex-wrap:wrap;}
:root #shell .rack-device .monologue-patch-actions .panel-key {flex:1 1 max-content;}
:root #shell .shell-more-transport {padding:4px;font-size:10px;}
@media(max-width:720px) {
 :root #shell .rack-device[data-type=tr808] .panel-key {font-size:10px;padding-inline:6px;}
}
/* Voice names need room for whole words as the rack narrows. */
:root #shell .rack-device[data-type=tr808] .r808-parts {grid-template-columns:repeat(auto-fit,minmax(min(94px,100%),1fr));}
:root #shell .rack-device[data-type=tr808] .r808-parts .voice-key {padding:6px 8px;white-space:normal;overflow-wrap:normal;line-height:1.4;}
:root #shell .rack-device .step-pad .pad-index {line-height:1.5;}
@container hardware (max-width:599px) {
 :root #shell .rack-device[data-type=giga] .giga-patch-row {grid-template-columns:minmax(0,1fr) 44px 44px 88px;}
}
