/* SUMO listening hardware: anodized enclosure, recessed display, tactile controls. */
:root{--metal-top:#f3f3f5;--metal-mid:#e9e9ec;--metal-bottom:#dcdde1;--metal-edge:#bfc0c8;--metal-highlight:#fff;--key-top:#fff;--key-bottom:#e9eaee;--key-shadow:#b9bbc4;--screen:#232429;--screen-ink:#f1f1f4;--screen-muted:#bebec8;--screen-line:#44454e;--key-active:#35363d;--hardware-accent:#b76a3c}
:root[data-theme=dark]{--metal-top:#36373d;--metal-mid:#303138;--metal-bottom:#25262c;--metal-edge:#4b4c55;--metal-highlight:#ffffff29;--key-top:#505159;--key-bottom:#37383f;--key-shadow:#15161b;--screen:#131418;--screen-ink:#eeeef3;--screen-muted:#b9bac5;--screen-line:#34353e;--key-active:#d8d9df;--hardware-accent:#e6ad81}
.focused-studio{background:var(--bg)}
.focused-studio .studio-shell{max-width:1180px;padding-top:25px}
.focused-studio .welcome-row{margin-bottom:22px}
.focused-studio .welcome-row h1{font-size:30px;font-weight:600}
.focused-studio .workspace-nav{padding:7px;border-radius:17px;background:linear-gradient(180deg,var(--metal-top),var(--metal-bottom));border:1px solid var(--metal-edge);box-shadow:inset 0 1px 0 var(--metal-highlight),0 4px 9px #00000009;backdrop-filter:none}
.focused-studio .tabs{gap:9px}
.focused-studio .tabs::before{display:none}
.focused-studio .tabs button{position:relative;background:linear-gradient(var(--key-top),var(--key-bottom));border:1px solid var(--metal-edge);border-radius:10px;box-shadow:inset 0 1px 0 var(--metal-highlight),0 2px 0 var(--key-shadow),0 3px 5px #00000009;min-height:44px;font-size:16px;padding:9px 19px;color:var(--muted);transition:transform .12s,box-shadow .12s,background .12s}
.focused-studio .tabs button[aria-selected=true]{background:var(--paper);color:var(--ink);border-color:var(--metal-edge);box-shadow:inset 0 2px 4px #00000014,0 1px 0 var(--metal-highlight);transform:translateY(1px)}
.focused-studio .tabs button::after{content:'';display:block;position:absolute;bottom:5px;left:calc(50% - 8px);width:16px;height:2px;border-radius:2px;background:transparent;transition:background .18s}
.focused-studio .tabs button[aria-selected=true]::after{display:block;background:var(--hardware-accent);box-shadow:0 0 5px #cb83483b}
.focused-studio .tabs button:active{transform:translateY(2px);box-shadow:inset 0 2px 4px #0002}
.focused-studio .tabs button:hover{background:linear-gradient(var(--key-top),var(--key-bottom))}
.focused-studio .tabs button[aria-selected=true]:hover{background:var(--paper)}
.focused-studio .work-card{position:relative;background:linear-gradient(165deg,var(--metal-top),var(--metal-mid) 44%,var(--metal-bottom));border:1px solid var(--metal-edge);border-radius:23px;box-shadow:inset 0 1px 0 var(--metal-highlight),inset 0 -3px 0 #00000006,0 14px 32px #1616230a;padding:29px 33px;min-height:650px}
.focused-studio .work-card::before,.focused-studio .work-card::after{content:'';position:absolute;top:14px;width:5px;height:5px;border:1px solid var(--metal-edge);border-radius:50%;box-shadow:inset 0 1px 1px #0002;background:var(--metal-bottom);pointer-events:none}
.focused-studio .work-card::before{left:14px}.focused-studio .work-card::after{right:14px}
.focused-studio .panel-heading{margin-bottom:25px}.focused-studio .panel-heading h2{font-size:26px;font-weight:600;letter-spacing:0}
.focused-studio .panel-heading p{font-size:16px;color:var(--muted)}
.focused-studio .dropzone,.focused-studio #panel-upload:not(.has-file) .dropzone{background:var(--screen);border:1px solid #111217;border-radius:16px;color:var(--screen-ink);box-shadow:inset 0 3px 10px #0006,0 1px 0 var(--metal-highlight);min-height:328px}
.focused-studio .dropzone:hover,.focused-studio .dropzone:focus-within{background:var(--screen);border-color:var(--hardware-accent)}
.focused-studio .dropzone h3{color:var(--screen-ink);font-size:25px}
.focused-studio .dropzone p,.focused-studio .file-requirements{color:var(--screen-muted);font-size:15px}
.focused-studio #panel-upload:not(.has-file) .upload-emblem{background:linear-gradient(#45464e,#303139);border-color:#5b5c64;color:#fafafa;border-radius:14px;box-shadow:inset 0 1px 0 #ffffff1f,0 3px 0 #111216,0 8px 17px #0003;width:61px;height:59px}
.focused-studio #panel-upload:not(.has-file) .dropzone:hover .upload-emblem{transform:translateY(-2px)}
.focused-studio .dropzone.is-dragging{border:2px solid var(--hardware-accent);box-shadow:inset 0 0 0 4px #ba7a421a,0 0 0 3px #ba7a4218}
.focused-studio .has-file .dropzone{min-height:105px;border-bottom:0;border-radius:16px 16px 0 0;padding:23px 24px 13px;box-shadow:inset 0 3px 8px #0003}
.focused-studio .has-file .selected-icon{background:#ffffff0c;border:1px solid var(--screen-line);color:#e5ad86;border-radius:11px}
.focused-studio .has-file #selectedMeta{color:var(--screen-muted)}
.focused-studio .has-file .selected-change{color:var(--screen-ink);font-size:14px;background:#ffffff08;border:1px solid var(--screen-line);border-radius:8px;padding:7px 13px}
.focused-studio .audio-preview{display:block;padding:0;background:none;border:0;border-radius:0;min-height:0;margin:0 0 24px}
.audio-screen{background:var(--screen);border:1px solid #111217;border-top:0;border-radius:0 0 16px 16px;padding:8px 24px 18px;box-shadow:inset 0 -2px 5px #0003,0 1px 0 var(--metal-highlight);color:var(--screen-ink);--wave-rest:#9293a3;--accent:#e1ac83}
.screen-caption{display:flex;align-items:center;justify-content:space-between;border-top:1px solid var(--screen-line);padding-top:15px;margin-bottom:10px;gap:15px}
.screen-caption>span:first-child{display:flex;align-items:center;gap:8px;color:var(--screen-muted);font-size:13px}
.play-light{display:block;width:5px;height:5px;background:#767780;border-radius:50%;transition:background .16s,box-shadow .16s}
.is-playing .play-light{background:#e1ac83;box-shadow:0 0 8px #e1ac834d}
.focused-studio .audio-times,.focused-studio .audio-times #inlineTime{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;color:var(--screen-muted);font-size:14px}
.focused-studio .audio-times #inlineTime{color:var(--screen-ink)}
.focused-studio .waveform-control,.focused-studio .record-wave{height:58px}
.focused-studio .waveform-control:focus-within{outline-color:#e1ac83;outline-offset:3px}
.transport-row{display:flex;align-items:center;gap:13px;padding:20px 0 0}
.focused-studio .inline-play{background:linear-gradient(var(--key-top),var(--key-bottom));color:var(--ink);height:49px;min-width:101px;padding:0 19px;justify-content:center;border:1px solid var(--metal-edge);border-radius:10px;box-shadow:inset 0 1px 0 var(--metal-highlight),0 3px 0 var(--key-shadow),0 5px 10px #0000000b;position:relative;transition:transform .12s,box-shadow .12s}
.focused-studio .inline-play:hover{filter:brightness(1.04)}
.focused-studio .inline-play:active,.focused-studio .is-playing .inline-play{transform:translateY(2px);box-shadow:inset 0 2px 4px #00000015,0 1px 0 var(--metal-highlight)}
.focused-studio .is-playing .inline-play::after{content:'';position:absolute;height:2px;bottom:6px;left:30px;right:30px;background:var(--hardware-accent);border-radius:2px}
.focused-studio .audio-preview .remove-audio{height:42px;width:37px;color:var(--muted);margin-right:auto}
.hardware-meter{width:215px;max-width:30%;flex-shrink:1;background:var(--screen);border:1px solid #17181d;border-radius:9px;padding:10px 14px 12px;box-shadow:inset 0 2px 6px #0005,0 1px 0 var(--metal-highlight);color:var(--screen-muted)}
.meter-caption{font-size:12px;line-height:1.5;color:var(--screen-muted);margin-bottom:6px;letter-spacing:.3px}
.meter-row{display:flex;align-items:center;gap:6px;margin:4px 0 0}
.meter-row>span{font:10px ui-monospace,Consolas,monospace;color:var(--screen-muted);width:8px}
.meter-leds{display:flex;gap:3px;flex:1;height:6px}
.meter-leds i{display:block;flex:1;background:#ffffff12;border-radius:1px;transition:background .05s}
.meter-leds i.lit{background:#d1b28b;box-shadow:0 0 4px #d1b28b25}
.meter-leds i.peak{background:#f7dbb3}.meter-leds i.hot{background:#e48366;box-shadow:0 0 4px #e4836640}
.volume-control{display:flex;align-items:center;gap:16px;margin-left:10px;flex-shrink:0}
.volume-label{display:flex;flex-direction:column;gap:5px;align-items:flex-end;min-width:64px}
.volume-label label{font-size:13px;color:var(--muted)}
.volume-label output{font:15px ui-monospace,SFMono-Regular,Consolas,monospace;color:var(--ink)}
.knob-shell{position:relative;width:76px;height:76px;--knob-angle:27deg;--knob-sweep:162deg;touch-action:none}
.knob-ring{position:absolute;inset:0;border-radius:50%;background:conic-gradient(from 225deg,var(--hardware-accent) 0deg var(--knob-sweep),var(--metal-edge) var(--knob-sweep) 270deg,transparent 270deg);mask-image:radial-gradient(circle,transparent 65%,#000 67%);-webkit-mask-image:radial-gradient(circle,transparent 65%,#000 67%)}
.knob-face{position:absolute;inset:8px;border-radius:50%;background:conic-gradient(from 25deg,#e5e6e9,#fbfbfc 42deg,#b8bac4 102deg,#eeeff2 160deg,#b6b8c2 218deg,#f5f5f7 287deg,#e5e6e9);border:1px solid #c9cbd3;box-shadow:inset 0 0 0 3px #ffffff55,inset 0 -2px 4px #00000020,0 3px 0 #a4a6b0,0 6px 9px #00000025}
[data-theme=dark] .knob-face{background:conic-gradient(from 25deg,#858690,#c4c5ce 42deg,#696b78 102deg,#c3c4ce 160deg,#696b77 218deg,#c5c7d0 287deg,#858690);border-color:#8a8c98;box-shadow:inset 0 0 0 3px #ffffff19,inset 0 -2px 4px #0004,0 3px 0 #101117,0 6px 9px #0005}
.knob-pointer{position:absolute;inset:0;transform:rotate(var(--knob-angle));border-radius:50%;pointer-events:none}
.knob-pointer::after{content:'';position:absolute;top:5px;left:calc(50% - 1px);width:2px;height:12px;background:#383941;border-radius:1px;box-shadow:1px 0 0 #ffffff70}
.knob-shell input{position:absolute;inset:0;width:100%;height:100%;min-height:0;margin:0;padding:0;opacity:0;cursor:ns-resize;touch-action:none}
.knob-shell:focus-within{outline:2px solid var(--focus);outline-offset:5px;border-radius:50%}
.knob-shell.adjusting .knob-face{box-shadow:inset 0 0 0 3px #ffffff20,0 2px 0 var(--key-shadow),0 3px 7px #0003}
.focused-studio .field input,.focused-studio textarea,.focused-studio select{background:var(--paper);border-color:var(--metal-edge);box-shadow:inset 0 2px 4px #00000006,0 1px 0 var(--metal-highlight);border-radius:10px}
.focused-studio .upload-mode,.focused-studio .format-option{background:linear-gradient(var(--key-top),var(--key-bottom));border:1px solid var(--metal-edge);border-radius:11px;box-shadow:inset 0 1px 0 var(--metal-highlight),0 2px 0 var(--key-shadow);transition:box-shadow .15s,transform .15s}
.focused-studio .upload-mode:has(input:checked),.focused-studio .format-option:has(input:checked){background:var(--paper);border-color:var(--metal-edge);box-shadow:inset 0 2px 5px #0000000d,0 1px 0 var(--metal-highlight);transform:translateY(1px)}
.focused-studio .radio-mark{width:8px;height:8px;border:1px solid var(--metal-edge);background:var(--metal-bottom);box-shadow:inset 0 1px 2px #0002}
.focused-studio .upload-mode:has(input:checked) .radio-mark,.focused-studio .format-option:has(input:checked) .radio-mark{border:1px solid #a0653c;background:var(--hardware-accent);box-shadow:0 0 5px #c9874538}
.focused-studio .button.primary{background:linear-gradient(#45464e,#2b2c32);border:1px solid #25262d;border-radius:10px;color:#fff;box-shadow:inset 0 1px 0 #ffffff30,0 3px 0 #16171b,0 6px 10px #00000012;min-height:49px;font-size:16px}
.focused-studio .button.primary:hover:not(:disabled){background:linear-gradient(#50515a,#34353d);color:#fff;filter:none;box-shadow:inset 0 1px 0 #ffffff30,0 3px 0 #16171b,0 6px 10px #00000012}
.focused-studio .button.primary:active:not(:disabled){transform:translateY(2px);box-shadow:inset 0 1px 3px #0004,0 1px 0 #16171b}
.focused-studio .format-field{margin-bottom:33px}
.focused-studio .task-dock{background:linear-gradient(var(--metal-top),var(--metal-bottom));border-color:var(--metal-edge);box-shadow:inset 0 1px 0 var(--metal-highlight),0 5px 12px #00000007}
.focused-studio .progress-track{background:#18191e;box-shadow:inset 0 1px 2px #0005;height:5px}.focused-studio .progress-track>span{background:var(--hardware-accent);box-shadow:0 0 6px #c68b4c55}
@media(max-width:950px){.focused-studio .work-card{min-height:670px}.hardware-meter{width:170px;max-width:27%}.volume-control{gap:10px;margin-left:4px}}
@media(max-width:600px){
 .focused-studio .studio-shell{padding-top:23px}.focused-studio .welcome-row h1{font-size:28px}
 .focused-studio .workspace-nav{padding:6px;top:78px;border-radius:13px}.focused-studio .tabs{gap:5px}.focused-studio .tabs button{font-size:14px;padding:10px 5px;border-radius:7px;min-height:43px}
 .focused-studio .work-card{padding:25px 21px;min-height:695px;border-radius:18px}
 .focused-studio #panel-upload:not(.has-file) .dropzone{min-height:295px}.focused-studio .dropzone h3{font-size:22px}.focused-studio .dropzone p,.focused-studio .file-requirements{font-size:14px}
 .focused-studio .has-file .dropzone{padding:19px 17px 12px;min-height:112px}.focused-studio .has-file .selected-change{font-size:13px;padding:5px 9px;margin-top:9px}
 .audio-screen{padding:0 17px 15px}.screen-caption{gap:8px;padding-top:13px}.screen-caption>span:first-child{font-size:12px}.focused-studio .audio-times,.focused-studio .audio-times #inlineTime{font-size:12px}
 .focused-studio .waveform-control,.focused-studio .record-wave{height:53px}
 .transport-row{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:14px 12px;padding-top:18px}
 .focused-studio .inline-play{height:44px;min-width:85px;font-size:15px;padding:0 13px;grid-column:1;grid-row:1}
 .focused-studio .audio-preview .remove-audio{grid-column:2;grid-row:1;margin:0;justify-self:start;width:30px;height:36px}
 .hardware-meter{grid-column:1/3;grid-row:2;width:100%;max-width:100%;padding:7px 10px 10px;border-radius:7px}.meter-caption{font-size:11px;margin-bottom:4px}.meter-leds{height:4px;gap:2px}
 .volume-control{grid-column:3;grid-row:1/3;flex-direction:column-reverse;gap:8px;margin:0;width:78px}
 .volume-label{align-items:center;gap:2px;min-width:0}.volume-label label{font-size:12px}.volume-label output{font-size:13px}
 .knob-shell{width:68px;height:68px}.knob-face{inset:7px}.knob-pointer::after{height:10px}
 .focused-studio .upload-mode-options{gap:13px}.focused-studio .upload-mode{padding:14px 16px}.focused-studio .button.primary{font-size:16px}
}
@media(max-width:360px){.focused-studio .tabs button{font-size:12px;padding:9px 4px}.focused-studio .work-card{padding:23px 17px}.transport-row{gap:12px 8px}.volume-control{width:66px}.knob-shell{width:62px;height:62px}.focused-studio .inline-play{min-width:80px}}
@media(prefers-reduced-motion:reduce){.focused-studio .tabs button,.focused-studio .button,.focused-studio .upload-mode,.focused-studio .format-option{transition:none}}
