:root {
  --paper: #f3f0ea; --surface: #fffefb; --ink: #181817; --muted: #74716c;
  --line: #1d1c1a; --soft-line: #d9d5ce; --pink: #f4acc2; --pink-deep: #df7ea0;
  --screen: #102936; --wave: #d5f3ff; --green: #4b9d70;
  --sans: Inter, "Noto Sans", "Segoe UI", Arial, sans-serif;
  --mono: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
}
* { box-sizing: border-box; }
html { min-width: 320px; background: var(--paper); }
body { margin: 0; min-height: 100vh; color: var(--ink); background: var(--paper); font-family: var(--sans); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
svg { width: 21px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
:focus-visible { outline: 3px solid rgba(223, 126, 160, .4); outline-offset: 3px; }
.shell { min-height: 100vh; }

.rack { position: sticky; top: 0; z-index: 20; height: 72px; display: flex; align-items: center; gap: 32px; padding: 0 max(28px, calc((100vw - 1440px) / 2)); border-bottom: 1.5px solid var(--line); background: rgba(255, 254, 251, .94); backdrop-filter: blur(16px); }
.brand { display: grid; grid-template-columns: auto auto; align-items: center; gap: 0 11px; color: var(--ink); text-decoration: none; }
.brand-mark { grid-row: span 2; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; gap: 3px; border: 1.5px solid var(--line); border-radius: 50%; background: var(--pink); }
.brand-mark i { display: block; width: 2px; border-radius: 2px; background: var(--ink); }
.brand-mark i:nth-child(1) { height: 7px; }.brand-mark i:nth-child(2) { height: 15px; }.brand-mark i:nth-child(3) { height: 10px; }
.brand-name { font-size: 14px; font-weight: 800; letter-spacing: .28em; }
.brand-sub { color: var(--muted); font: 8px var(--mono); letter-spacing: .16em; }
.nav-list { display: flex; align-self: stretch; gap: 6px; }
.nav-item { display: flex; align-items: center; gap: 8px; padding: 0 16px; border: 0; border-bottom: 4px solid transparent; color: var(--muted); background: transparent; font: 700 11px var(--mono); text-transform: uppercase; letter-spacing: .12em; }
.nav-item svg { width: 17px; }.nav-item:hover { color: var(--ink); }.nav-item.active { color: var(--ink); border-bottom-color: var(--pink-deep); }
.rack-right { display: flex; align-items: center; gap: 20px; margin-left: auto; }
.onair { display: flex; align-items: center; gap: 8px; padding: 7px 11px; border: 1px solid var(--soft-line); border-radius: 99px; color: var(--muted); background: #fff; font: 700 9px var(--mono); letter-spacing: .17em; }
.onair-bulb { width: 7px; height: 7px; border-radius: 50%; background: #b9b6b0; }.onair.live { color: #8e2745; border-color: var(--pink-deep); }.onair.live .onair-bulb { background: #dc426d; box-shadow: 0 0 0 4px rgba(220,66,109,.15); animation: pulse 1.2s infinite; }
@keyframes pulse { 50% { opacity: .45; } }
.clock { display: grid; justify-items: end; font-family: var(--mono); }.clock strong { font-size: 15px; }.clock span { color: var(--muted); font-size: 8px; text-transform: uppercase; letter-spacing: .1em; }

main { width: min(1440px, 100%); margin: 0 auto; padding: 34px 34px 60px; }
.deck-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.eyebrow,.step { font: 700 9px var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }.eyebrow { margin: 0 0 7px; }.eyebrow span { color: #ac4165; }
h1,h2 { margin: 0; line-height: 1.05; } h1 { font-size: clamp(30px, 3vw, 46px); letter-spacing: -.045em; } h2 { margin-top: 5px; font-size: 17px; letter-spacing: -.02em; }
.device-card { display: flex; align-items: center; gap: 8px; margin: 0; padding: 8px 12px; border: 1px solid var(--soft-line); border-radius: 99px; background: var(--surface); color: var(--muted); font: 10px var(--mono); }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(75,157,112,.12); }
.view { display: none; }.view.active { display: block; animation: view-in .25s ease both; } @keyframes view-in { from { opacity: 0; transform: translateY(5px); } }

.broadcast-layout { display: grid; grid-template-columns: minmax(560px, 1.42fr) minmax(360px, .78fr); gap: 26px; align-items: start; }
.broadcast-device { overflow: hidden; min-width: 0; border: 1.5px solid var(--line); border-radius: 15px; background: var(--surface); box-shadow: 7px 7px 0 rgba(24,24,23,.08); }
.device-topline { height: 44px; display: flex; align-items: center; justify-content: space-between; padding: 0 16px; border-bottom: 1.5px solid var(--line); }
.device-wordmark { font: 700 10px var(--mono); letter-spacing: .18em; }.ready-badge { padding: 5px 9px; border: 1px solid var(--soft-line); border-radius: 99px; color: var(--muted); font: 700 8px var(--mono); letter-spacing: .14em; text-transform: uppercase; }.ready-badge.live { color: #922a4d; border-color: var(--pink-deep); background: #fff3f7; }
.monitor { padding: 13px 14px 0; }.monitor + .monitor { padding-top: 14px; }.audio-monitor { position: relative; }.monitor-label { display: flex; justify-content: space-between; margin-bottom: 7px; color: var(--muted); font: 700 9px var(--mono); letter-spacing: .11em; text-transform: uppercase; }.monitor-label span:last-child { color: var(--ink); }
.camera-frame { position: relative; height: clamp(240px, 29vw, 415px); overflow: hidden; border: 1.5px solid var(--line); border-radius: 10px; background: #e8e6e0; }
.camera-frame iframe { width: 100%; height: 100%; border: 0; background: #fff; }.camera-frame:not(.connected) iframe { display: none; }
.secondary-camera { display: block; padding: 0; }.record-timer { position: absolute; right: 10px; bottom: 8px; z-index: 2; color: rgba(213,243,255,.75); font: 10px var(--mono); }
.camera-empty { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 7px; background: linear-gradient(135deg, #f3f1ec, #e4e1da); color: var(--muted); text-align: center; }.camera-empty::before,.camera-empty::after { content: ""; position: absolute; background: rgba(24,24,23,.06); }.camera-empty::before { width: 1px; height: 140%; left: 50%; top: -20%; transform: rotate(48deg); }.camera-empty::after { height: 1px; width: 140%; top: 50%; left: -20%; transform: rotate(-13deg); }.camera-empty svg,.camera-empty strong,.camera-empty span { position: relative; z-index: 1; }.camera-empty svg { width: 30px; }.camera-empty strong { color: var(--ink); font-size: 13px; }.camera-empty span { font-size: 10px; }.camera-frame.connected .camera-empty { display: none; }
.audio-display { min-height: 112px; display: grid; grid-template-columns: 180px 1fr; align-items: center; gap: 28px; padding: 14px 20px; border: 1.5px solid var(--line); border-radius: 10px 10px 0 0; background: #f8f7f3; }
.time-block { display: grid; gap: 3px; padding-right: 24px; border-right: 1px solid var(--soft-line); }.time-block span,.live-chip { color: var(--muted); font: 700 9px var(--mono); letter-spacing: .15em; text-transform: uppercase; }.time-block time { font: 700 clamp(35px,4vw,56px) var(--mono); letter-spacing: -.08em; font-variant-numeric: tabular-nums; }
.audio-copy p { max-width: 420px; margin: 8px 0 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.waveform { position: relative; height: 92px; overflow: hidden; margin-top: -1.5px; border: 1.5px solid var(--line); border-radius: 0 0 10px 10px; background: var(--screen); }
.waveform::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(90deg, transparent 0 39px, rgba(213,243,255,.06) 40px), linear-gradient(transparent 49%, rgba(213,243,255,.16) 50%, transparent 51%); }
.waveform canvas { position: absolute; inset: 0; width: 100%; height: 100%; }.wave-idle { position: absolute; left: 3%; right: 3%; top: 50%; height: 1px; background: rgba(213,243,255,.6); }.waveform.active .wave-idle { display: none; }
.device-controls { height: 100px; display: grid; grid-template-columns: 1fr 150px 1fr; align-items: center; padding: 0 18px; }
.mode-shortcut,.collapse-button { justify-self: start; display: flex; align-items: center; gap: 9px; border: 0; background: transparent; font: 700 10px var(--mono); }.mode-shortcut span { font: 27px Georgia, serif; }.mode-shortcut small,.collapse-button small { color: var(--muted); font: 9px var(--mono); text-transform: uppercase; letter-spacing: .1em; }.collapse-button { justify-self: end; flex-direction: row-reverse; }.collapse-button svg { width: 24px; }
.record-button { justify-self: center; width: 72px; height: 72px; padding: 0; border: 1.5px solid var(--line); border-radius: 50%; background: var(--pink); box-shadow: 0 4px 0 #b86c86; transition: transform .12s, box-shadow .12s; }.record-button:hover { transform: translateY(-2px); box-shadow: 0 6px 0 #b86c86; }.record-button:active { transform: translateY(3px); box-shadow: 0 1px 0 #b86c86; }.record-ring { display: grid; place-items: center; width: 100%; height: 100%; }.record-ring svg { width: 34px; stroke-width: 2.2; }.record-button.recording { background: #e86087; animation: record-glow 1.4s infinite; }.record-button.recording svg rect { fill: var(--ink); rx: 1; }.record-button.recording svg path { opacity: 0; }
@keyframes record-glow { 50% { box-shadow: 0 4px 0 #a54162, 0 0 0 10px rgba(232,96,135,.13); } }

.operator-column { display: grid; gap: 20px; }.panel { padding: 22px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--surface); box-shadow: 5px 5px 0 rgba(24,24,23,.07); }.panel-head,.section-heading { display: flex; align-items: start; justify-content: space-between; gap: 16px; padding-bottom: 15px; border-bottom: 1px solid var(--soft-line); }.format-pill { padding: 5px 8px; border: 1px solid var(--soft-line); border-radius: 99px; color: var(--muted); font: 8px var(--mono); }
.setup-backdrop,.sheet-close { display: none; }.panel-actions { display: flex; align-items: center; gap: 8px; }
.locked-source { display: flex; align-items: center; gap: 11px; margin-top: 17px; padding: 12px; border: 1px solid var(--soft-line); border-radius: 7px; background: #f5f3ee; }.locked-source svg { flex: 0 0 auto; width: 20px; }.locked-source strong,.locked-source small { display: block; }.locked-source strong { font-size: 11px; }.locked-source small { margin-top: 3px; color: var(--muted); font-size: 9px; line-height: 1.4; }
.mobile-system-settings { display: none; }
.field-label { display: block; margin: 17px 0 7px; color: var(--muted); font: 700 9px var(--mono); letter-spacing: .13em; text-transform: uppercase; }
input[type="text"],input[type="url"],select,textarea { width: 100%; min-height: 42px; padding: 10px 11px; border: 1.5px solid var(--line); border-radius: 7px; background: #fff; font: 12px var(--mono); }.inline-field { display: grid; grid-template-columns: 1fr auto; }.inline-field input { min-width: 0; border-radius: 7px 0 0 7px; }.inline-field button { padding: 0 13px; border: 1.5px solid var(--line); border-left: 0; border-radius: 0 7px 7px 0; background: var(--pink); font: 700 9px var(--mono); text-transform: uppercase; }
select { appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%23181817' stroke-width='1.5'/%3E%3C/svg%3E") right 12px center/12px auto no-repeat; }
input:focus,select:focus,textarea:focus { outline: none; box-shadow: 0 0 0 3px rgba(244,172,194,.35); }.helper { margin: 8px 0 0; color: var(--muted); font-size: 10px; line-height: 1.45; }
#endpointField[hidden],.audio-preview[hidden] { display: none; }.audio-preview { display: flex; align-items: center; gap: 8px; margin-top: 18px; padding: 8px; border: 1px solid var(--soft-line); border-radius: 7px; background: #f5f3ee; }.audio-preview audio { min-width: 0; width: 100%; height: 34px; }.icon-button { width: 34px; height: 34px; flex: 0 0 auto; display: grid; place-items: center; border: 0; background: transparent; }.icon-button:hover { color: #ac4165; }
.primary-button { width: 100%; min-height: 46px; display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 18px; border: 1.5px solid var(--line); border-radius: 7px; color: #fff; background: var(--ink); font: 700 10px var(--mono); letter-spacing: .12em; text-transform: uppercase; }.primary-button:hover:not(:disabled) { color: var(--ink); background: var(--pink); }.primary-button:disabled { cursor: not-allowed; color: #8f8c87; background: #ddd9d2; border-color: #b9b5ae; }.primary-button svg { width: 16px; }
.login-link { text-decoration: none; }
.live-button.streaming { color: var(--ink); background: var(--pink); }
.section-heading { align-items: center; }.text-button { padding: 6px 9px; border: 1px solid var(--soft-line); border-radius: 6px; color: var(--muted); background: #fff; font: 700 8px var(--mono); text-transform: uppercase; }.recordings { max-height: 285px; overflow: auto; }.recording-row { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; padding: 13px 0; border-bottom: 1px solid var(--soft-line); }.recording-row strong,.recording-row small { display: block; }.recording-row strong { font-size: 12px; }.recording-row small { color: var(--muted); font: 9px var(--mono); }.recording-row audio { grid-column: 1 / -1; width: 100%; height: 30px; }.download-link { align-self: start; color: #9c395b; font: 700 8px var(--mono); text-transform: uppercase; }.empty { margin: 18px 0 2px; color: var(--muted); font-size: 11px; }

.tts-layout { display: grid; grid-template-columns: minmax(0,1.5fr) minmax(340px,.7fr); gap: 24px; }.script-panel,.voice-panel { padding: 24px; }.char-count { color: var(--muted); font: 10px var(--mono); }.script-panel textarea { height: 360px; margin-top: 18px; resize: vertical; font: 21px/1.65 Georgia, serif; background: #f8f6f1; }.quick-lines { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 13px; }.quick-lines button { padding: 7px 10px; border: 1px solid var(--line); border-radius: 99px; background: #fff; font: 9px var(--mono); }.quick-lines button:hover { background: var(--pink); }.range-field { margin-top: 20px; }.range-field label { display: flex; justify-content: space-between; margin-bottom: 7px; color: var(--muted); font: 700 9px var(--mono); text-transform: uppercase; }.range-field output { color: var(--ink); } input[type="range"] { width: 100%; accent-color: var(--pink-deep); }.speak-button { background: var(--pink); color: var(--ink); }.speak-button.speaking { color: #fff; background: #c8446e; }
.toast { position: fixed; right: 24px; bottom: 24px; z-index: 30; max-width: 360px; padding: 13px 16px; border: 1.5px solid var(--line); border-radius: 8px; color: #fff; background: var(--ink); box-shadow: 4px 4px 0 rgba(24,24,23,.2); font-size: 11px; opacity: 0; transform: translateY(12px); pointer-events: none; transition: .2s; }.toast.show { opacity: 1; transform: none; }.toast.error { background: #a73154; }
.auth-gate { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; background: var(--paper); transition: opacity .2s, visibility .2s; }.auth-gate.hidden { opacity: 0; visibility: hidden; pointer-events: none; }.login-card { width: min(420px, 100%); padding: 34px; border: 1.5px solid var(--line); border-radius: 13px; background: var(--surface); box-shadow: 8px 8px 0 rgba(24,24,23,.09); }.login-card > .brand-mark { margin-bottom: 30px; }.login-card h1 { font-size: clamp(34px, 6vw, 50px); }.login-card > p:not(.eyebrow):not(.login-error) { margin: 13px 0 26px; color: var(--muted); font-size: 12px; line-height: 1.55; }.login-error { min-height: 17px; margin: 11px 0 0; color: #a73154; font-size: 11px; }

.receiver-page { background: #e8e4dc; }.receiver-shell { width: min(1100px, 100%); padding: 34px 28px 60px; }.receiver-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 24px; border-bottom: 1.5px solid var(--line); }.receiver-hero { padding: 56px 0 30px; }.receiver-hero h1 { font-size: clamp(42px, 7vw, 78px); }.receiver-hero > p:last-child { max-width: 610px; color: var(--muted); line-height: 1.6; }.receiver-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 22px; }.receiver-live,.receiver-files { min-height: 410px; }.speaker-visual { height: 90px; display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 25px; border-radius: 8px; background: var(--screen); }.speaker-visual i { width: 5px; height: 18px; border-radius: 5px; background: var(--wave); animation: speaker 1.1s ease-in-out infinite alternate; }.speaker-visual i:nth-child(2),.speaker-visual i:nth-child(4) { animation-delay: -.3s; }.speaker-visual i:nth-child(3) { animation-delay: -.6s; } @keyframes speaker { to { height: 58px; } }.receiver-live audio { width: 100%; height: 35px; margin-top: 14px; }.receiver-live-lamp { background: #dc426d; box-shadow: 0 0 0 5px rgba(220,66,109,.15); }.device-files { margin-top: 16px; }.device-file { display: grid; grid-template-columns: 1fr auto; gap: 9px 12px; padding: 14px 0; border-bottom: 1px solid var(--soft-line); }.device-file strong,.device-file small { display: block; }.device-file strong { font-size: 12px; }.device-file small { margin-top: 3px; color: var(--muted); font: 9px var(--mono); }.device-file audio { grid-column: 1 / -1; width: 100%; height: 30px; }.device-file button { grid-column: 2; grid-row: 1; padding: 6px 9px; border: 1px solid var(--line); border-radius: 5px; background: var(--pink); font: 700 8px var(--mono); text-transform: uppercase; }

@media (max-width: 1050px) { .broadcast-layout { grid-template-columns: 1fr; }.operator-column { grid-template-columns: minmax(320px,.8fr) 1fr; }.camera-frame { height: clamp(300px,45vw,480px); }.tts-layout { grid-template-columns: 1fr; } }
@media (max-width: 720px) { .rack { height: auto; min-height: 66px; flex-wrap: wrap; gap: 8px 14px; padding: 10px 14px; }.brand-sub,.clock { display: none; }.nav-list { order: 3; width: 100%; height: 42px; }.nav-item { flex: 1; justify-content: center; padding: 0; }.onair { margin-left: auto; } main { padding: 24px 14px 50px; }.deck-head { align-items: start; }.device-card { display: none; }.broadcast-layout { display: block; }.broadcast-device { border-radius: 11px; box-shadow: 4px 4px 0 rgba(24,24,23,.08); }.camera-frame { height: 52vw; min-height: 205px; }.audio-display { grid-template-columns: 1fr; gap: 10px; }.time-block { padding: 0; border: 0; }.audio-copy { display: none; }.waveform { height: 72px; }.device-controls { height: 90px; grid-template-columns: 1fr 110px 1fr; }.record-button { width: 66px; height: 66px; }.operator-column { grid-template-columns: 1fr; margin-top: 18px; }.panel { padding: 19px 16px; box-shadow: 3px 3px 0 rgba(24,24,23,.07); }.tts-layout { display: block; }.voice-panel { margin-top: 18px; }.script-panel textarea { height: 260px; font-size: 18px; } }
@media (max-width: 720px) { .receiver-shell { padding: 22px 14px 40px; }.receiver-hero { padding-top: 38px; }.receiver-grid { grid-template-columns: 1fr; }.receiver-live,.receiver-files { min-height: 0; } }
@media (max-width: 720px) {
  body:not(.receiver-page):not(.tts-active) { height: 100dvh; overflow: hidden; background: #fff; }
  body:not(.receiver-page):not(.tts-active) .rack,
  body:not(.receiver-page):not(.tts-active) .deck-head { display: none; }
  body:not(.receiver-page):not(.tts-active) main { width: 100%; height: 100dvh; padding: 7px; }
  body:not(.receiver-page):not(.tts-active) #recorderView,
  body:not(.receiver-page):not(.tts-active) .broadcast-layout { height: 100%; }
  body:not(.receiver-page):not(.tts-active) .broadcast-device {
    height: 100%; display: flex; flex-direction: column; border: 1.5px solid #111;
    border-radius: 10px; box-shadow: none; background: #fff;
  }
  body:not(.receiver-page):not(.tts-active) .device-topline { display: none; }
  body:not(.receiver-page):not(.tts-active) .monitor { min-height: 0; padding: 9px 10px 0; }
  body:not(.receiver-page):not(.tts-active) .monitor-label { display: none; }
  body:not(.receiver-page):not(.tts-active) .camera-monitor { flex: 1.08 1 0; display: flex; }
  body:not(.receiver-page):not(.tts-active) .camera-frame {
    flex: 1; width: 100%; height: auto; min-height: 0; border: 1.5px solid #111; border-radius: 9px;
  }
  body:not(.receiver-page):not(.tts-active) .camera-empty { background: #fff; }
  body:not(.receiver-page):not(.tts-active) .camera-empty::before,
  body:not(.receiver-page):not(.tts-active) .camera-empty::after { display: none; }
  body:not(.receiver-page):not(.tts-active) .camera-empty > * { display: none; }
  body:not(.receiver-page):not(.tts-active) .audio-monitor { flex: .92 1 0; display: flex; flex-direction: column; padding-top: 8px; }
  body:not(.receiver-page):not(.tts-active) .audio-display {
    flex: 1; min-height: 0; display: block; padding: 0;
    border: 1.5px solid #111; border-radius: 9px; background: #fff;
  }
  body:not(.receiver-page):not(.tts-active) .time-block { display: none; }
  body:not(.receiver-page):not(.tts-active) .audio-copy { display: none; }
  body:not(.receiver-page):not(.tts-active) .waveform {
    flex: 0 0 62px; height: 62px; margin-top: 7px; border: 1.5px solid #111; border-radius: 8px;
  }
  body:not(.receiver-page):not(.tts-active) .record-timer { display: none; }
  body:not(.receiver-page):not(.tts-active) .device-controls {
    flex: 0 0 82px; height: 82px; grid-template-columns: 1fr 86px 1fr; padding: 0 12px;
  }
  body:not(.receiver-page):not(.tts-active) .record-button { width: 62px; height: 62px; box-shadow: none; }
  body:not(.receiver-page):not(.tts-active) .record-button:hover { transform: none; box-shadow: none; }
  body:not(.receiver-page):not(.tts-active) .record-ring svg { width: 31px; }
  body:not(.receiver-page):not(.tts-active) .mode-shortcut span { font-size: 29px; }
  body:not(.receiver-page):not(.tts-active) .mode-shortcut small,
  body:not(.receiver-page):not(.tts-active) .collapse-button small { display: none; }
  body:not(.receiver-page):not(.tts-active) .collapse-button svg { width: 28px; }

  body:not(.receiver-page):not(.tts-active) .setup-backdrop {
    display: block; position: fixed; inset: 0; z-index: 39; border: 0; background: rgba(0,0,0,.22);
    opacity: 0; pointer-events: none; transition: opacity .2s;
  }
  body:not(.receiver-page):not(.tts-active) .operator-column {
    position: fixed; left: 7px; right: 7px; bottom: 7px; z-index: 40; display: block;
    max-height: min(78dvh, 680px); overflow-y: auto; overscroll-behavior: contain;
    margin: 0; padding: 0; border: 1.5px solid #111; border-radius: 10px; background: #fff;
    box-shadow: 0 -12px 40px rgba(0,0,0,.16); transform: translateY(calc(100% + 18px)); transition: transform .25s ease;
  }
  body:not(.receiver-page):not(.tts-active).setup-open .setup-backdrop { opacity: 1; pointer-events: auto; }
  body:not(.receiver-page):not(.tts-active).setup-open .operator-column { transform: translateY(0); }
  body:not(.receiver-page):not(.tts-active) .operator-column .panel { border: 0; border-radius: 0; box-shadow: none; }
  body:not(.receiver-page):not(.tts-active) .operator-column .panel + .panel { border-top: 1px solid var(--soft-line); }
  body:not(.receiver-page):not(.tts-active) .sheet-close { display: grid; place-items: center; width: 32px; height: 32px; padding: 0; border: 0; background: transparent; }
  body:not(.receiver-page):not(.tts-active) .sheet-close svg { width: 24px; }
  body:not(.receiver-page):not(.tts-active) .mobile-system-settings { display: block; padding: 0; }
  .system-row { width: 100%; min-height: 51px; display: grid; grid-template-columns: 26px 1fr 24px; align-items: center; gap: 8px; padding: 0 13px; border: 0; border-bottom: 1px solid var(--soft-line); background: #fff; text-align: left; font-size: 11px; }
  .system-row > svg { width: 19px; }.system-row > svg:last-child { justify-self: end; width: 17px; }.volume-row { grid-template-columns: 26px 1fr 42px; }.volume-row input { min-height: 0; }.volume-row output { justify-self: end; font: 10px var(--mono); }.account-row { min-height: 58px; grid-template-columns: 32px 1fr 38px; border-bottom: 0; }.account-row button { width: 38px; height: 38px; display: grid; place-items: center; border: 0; background: transparent; }.user-avatar { width: 27px; height: 27px; display: grid; place-items: center; border: 1.5px solid var(--line); border-radius: 50%; background: #fff; font: 700 11px var(--mono); }

  body.tts-active .rack { position: static; }
  body.tts-active .brand, body.tts-active .rack-right { display: none; }
  body.tts-active .nav-list { order: 0; }
  body.tts-active main { padding-top: 22px; }
  body.tts-active .deck-head { display: none; }
  .auth-gate { align-items: end; padding: 7px; background: #fff; }.login-card { width: 100%; padding: 28px 22px max(28px, env(safe-area-inset-bottom)); border-radius: 10px; box-shadow: none; }.login-card > .brand-mark { margin-bottom: 36px; }.login-card h1 { font-size: 38px; }
}
@media (prefers-reduced-motion: reduce) { *,*::before,*::after { animation-duration: .001ms !important; transition-duration: .001ms !important; } }
