/* OUTDOOR GLASS — a garden patio, lawn and tall pine forest behind the real station.
   The saved deep-space-glass id is intentionally retained. Near patio stone,
   a mid-distance grass lawn and tall pines with exposed bark trunks continue
   through clear outer panes. Only reading areas and controls carry stronger tint.
   Static material: no parallax, pointer tilt, animation or brightness cap. */
html[data-appearance=deep-space-glass] body.station-page {
 --appearance-line:#dcebef55;
 --appearance-control-line:#bbd7df99;
 --scene-ink:#f4fafb;
 --scene-muted:#d7e4e9;
 --scene-accent:#c4f1ed;
 --appearance-muted:var(--scene-muted);
 --scene-pane-surface:linear-gradient(120deg,#edf9ff08,transparent 32%,#f6deb304 70%,transparent),#08202a38;
 --scene-well-surface:#071c26b3;
 --scene-label-shadow:0 1px 2px #031119,0 0 2px #031119cc;
 --scene-control-surface:#0a2733b8;
 background:#78939c none center/cover no-repeat fixed!important;
 color:var(--scene-ink)!important;
}
/* The image is the material backdrop even with Focus on and Motion off.
   Hide only legacy decorative scenery, never operational instrument pixels. */
html[data-appearance=deep-space-glass] body.station-page :is(.ambient,.ambient-light,.space-scene,.aurora-veil,#surface-scene,#signal-field,#waterfall-spill,#radiance-background-embed,.page-pulse,.control-ripple) {
 opacity:0!important;
 visibility:hidden!important;
 pointer-events:none!important;
}
html[data-appearance=deep-space-glass] body.station-page :is(button,button:not(:disabled):hover,button:focus-visible,button:not(:disabled):active) {
 animation:none!important;
 transition:none!important;
 transform:none!important;
 translate:none!important;
}

/* Lightly smoked outer glass; recognizable architecture remains continuous. */
html[data-appearance=deep-space-glass] body.station-page>header,
html[data-appearance=deep-space-glass] body.station-page>:is(#dmr-dashboard,#mesh-bar) {
 background:var(--scene-pane-surface)!important;
 border-color:var(--appearance-line)!important;
 box-shadow:inset 0 1px 0 #f0fafb66,0 5px 22px #06182326;
 backdrop-filter:blur(4px);
 -webkit-backdrop-filter:blur(4px);
}
html[data-appearance=deep-space-glass] body.station-page>header :is(nav,.view-controls,.transport) {
 background:transparent!important;
}
/* Preferences remain recognizable controls, separate from text navigation.
   Match the shared header rule's ID specificity for Appearance. */
html[data-appearance=deep-space-glass] body.station-page>header :is(.view-controls button,#radiance-appearance-button) {
 background:var(--scene-control-surface)!important;
 color:var(--scene-ink)!important;
 box-shadow:inset 0 1px 0 #e9f8fa33!important;
}
/* Explicit Focus selectors beat the shared opaque-surface reset without
   changing original tracks, pane size, spacing, radius or hit targets. */
html[data-appearance=deep-space-glass] body.station-page .workspace>.station-column>.panel,
html[data-appearance=deep-space-glass] body.station-page .workspace>.decoder-panel,
html[data-appearance=deep-space-glass] body.station-page .workspace>.chat,
html[data-appearance=deep-space-glass] body.station-page.focus-mode .workspace>.station-column>.panel,
html[data-appearance=deep-space-glass] body.station-page.focus-mode .workspace>.decoder-panel,
html[data-appearance=deep-space-glass] body.station-page.focus-mode .workspace>.chat {
 background:var(--scene-pane-surface)!important;
 border-color:#dcebef80!important;
 box-shadow:inset 0 1px 0 #f5fcff80,inset 1px 0 0 #f3faff38,inset 0 -1px 0 #96c6d53d,0 12px 30px #06182340;
 backdrop-filter:blur(4px);
 -webkit-backdrop-filter:blur(4px);
}
/* Fine reflections are background paint and inset edges, not an overlay. */
html[data-appearance=deep-space-glass] body.station-page .workspace>.station-column>.panel::after,
html[data-appearance=deep-space-glass] body.station-page .workspace>.decoder-panel::after,
html[data-appearance=deep-space-glass] body.station-page .workspace>.chat::after {
 content:none;
 animation:none;
 transition:none;
}
html[data-appearance=deep-space-glass] body.station-page .workspace :is(.decoder-content,.heading,.tools,.notearea,.chat-compose,.decoder-commandbar,.chat-heading) {
 background:transparent!important;
}

/* Headings, status and labels stand on the glass without badges or strips.
   A restrained glyph shadow helps against patio/grass highlights; it is not
   a contrast guarantee. Only actual reading wells and controls keep backing. */
html[data-appearance=deep-space-glass] body.station-page>header :is(.wordmark,.transport>span),
html[data-appearance=deep-space-glass] body.station-page>header :is(nav .nav-link,nav button,#radiance-appearance-button):not(#radiance-appearance-button),
html[data-appearance=deep-space-glass] body.station-page>:is(#dmr-dashboard,#mesh-bar) :is(.radio-feature-title,.radio-feature-status,#dmr-speaker,#dmr-talkgroup-name,#dmr-feed-status,.mesh-facts>span,#mesh-delivery-warning):not(:empty),
html[data-appearance=deep-space-glass] body.station-page .workspace :is(#station-title,#decoder-title,#decoder-mode-badge,.radio-health>h2,.radio-health>p,.radio-health>small,.freq,.health>div,.health b,.chat-heading h2,.waterfall-section>.heading h3,.notearea>.heading .section-label,.scale,.rtl-controls label,.rtl-control-status,.compact-playback label,#recording-position,.review .heading>strong,.review .heading>small,.review label),
html[data-appearance=deep-space-glass] body.station-page .workspace :is(#source-status,#file-check,#chatstatus,#test-group-status,#notestatus,#wfstatus,#waterfall-selection,#savedcount):not(:empty),
html[data-appearance=deep-space-glass] body.station-page #station-footer>span:not(:empty),
html[data-appearance=deep-space-glass] body.station-page .feedback-invite :is(strong,span) {
 background:transparent!important;
 color:var(--scene-ink)!important;
 box-shadow:none!important;
 font-weight:700!important;
 text-shadow:var(--scene-label-shadow)!important;
}
/* Match the shared header reset's ID specificity, excluding Appearance.
   Navigation stays standalone on hover; keyboard focus outlines remain intact. */
html[data-appearance=deep-space-glass] body.station-page>header :is(nav .nav-link,nav button,#radiance-appearance-button):not(#radiance-appearance-button) {
 border-color:transparent!important;
}
/* These wrappers contain real controls, but are not controls themselves.
   Clearing their strip paint must not flatten the inputs, buttons or menus. */
html[data-appearance=deep-space-glass] body.station-page .workspace :is(.health,.decoder-heading,.waterfall-section>.heading,.notearea>.heading,.rtl-controls,.compact-playback,.review) {
 background:transparent!important;
 box-shadow:none!important;
}
/* Bold label typography must not cascade into nested editable field values. */
html[data-appearance=deep-space-glass] body.station-page .workspace :is(.rtl-controls,.compact-playback,.review) label :is(input,select) {
 font-weight:400;
 text-shadow:none;
}
/* Saved notes are user-authored reading content, not another heading strip. */
html[data-appearance=deep-space-glass] body.station-page .workspace #savedlist:not(:empty) {
 background:var(--scene-well-surface)!important;
 color:var(--scene-ink)!important;
 border-radius:6px;
 box-shadow:inset 0 1px 0 #e6f5f21a;
}
html[data-appearance=deep-space-glass] body.station-page .feedback-invite {
 background:transparent!important;
 border-color:var(--appearance-line)!important;
}
html[data-appearance=deep-space-glass] body.station-page .feedback-invite button {
 background:#c4f1ed!important;
 color:#09232e!important;
}
html[data-appearance=deep-space-glass] body.station-page .workspace :is(.health,.waterfall-section,.notearea,.club-message) {
 border-color:#c1dce33d!important;
}

/* Dark nested reading wells, still translucent: no full-pane blackout.
   At 70% tint, muted copy clears 4.5:1 even on an unblurred white highlight. */
html[data-appearance=deep-space-glass] body.station-page .workspace :is(#transcript,.chatspace,#operate-voice),
html[data-appearance=deep-space-glass] body.station-page.focus-mode .workspace :is(#transcript,.chatspace,#operate-voice) {
 background:var(--scene-well-surface)!important;
 border-color:#c1dce355!important;
 box-shadow:inset 0 2px 10px #03172138,inset 0 -1px 0 #d5eeef26;
 color:var(--scene-ink)!important;
 scrollbar-color:#9bbac4 #0c2633;
}
html[data-appearance=deep-space-glass] body.station-page .workspace :is(.empty,.empty p,.message-placeholder,.chatspace>p,.health b,.rx-label,#source-status,#display-current,#waterfall-selection,#voice-status,.scale) {
 color:var(--scene-muted)!important;
}
html[data-appearance=deep-space-glass] body.station-page .workspace :is(.empty strong,.decode-live,.club-message p,.section-label) {
 color:var(--scene-ink)!important;
}
html[data-appearance=deep-space-glass] body.station-page .workspace :is(#source-status.beta-error,#file-check[data-state=error]) {
 color:#ffddba!important;
}
html[data-appearance=deep-space-glass] body.station-page .workspace #file-check[data-state=ready] {
 color:#c4f1d9!important;
}
html[data-appearance=deep-space-glass] body.station-page .workspace :is(.freq,#decoder-mode-badge,.station-setup-launcher,#mode-picker) {
 color:var(--scene-accent)!important;
}
html[data-appearance=deep-space-glass] body.station-page .workspace #decoder-mode-badge {
 border-color:transparent!important;
}
/* The instrument surround only: real waterfall pixels, status colors and
   measured levels retain their original rendering and semantics. */
html[data-appearance=deep-space-glass] body.station-page .workspace #waterfall[data-design] {
 border-color:#c1dce366!important;
 box-shadow:inset 0 0 0 1px #03172140;
}
html[data-appearance=deep-space-glass] body.station-page .workspace .sdr-meter {
 background:var(--scene-well-surface)!important;
 border-color:#c1dce34d!important;
 box-shadow:inset 0 1px 5px #03172142;
}

/* Native controls keep their dimensions and listeners. :where() prevents
   generic surface paint from overpowering action/selected-state rules. */
html[data-appearance=deep-space-glass] body.station-page :where(header,.workspace,#dmr-dashboard,#mesh-bar,dialog:not(#radiance-appearance-dialog)) :is(button,.compact-config>summary,.dmr-talkgroup-picker>summary,.chat-actions>summary,.mesh-lab-link,.nav-link) {
 background:var(--scene-control-surface)!important;
 border-color:var(--appearance-control-line)!important;
 color:var(--scene-ink)!important;
 box-shadow:inset 0 1px 0 #e9f8fa33,0 2px 5px #03172126;
 text-shadow:none;
}
html[data-appearance=deep-space-glass] body.station-page :where(header,.workspace,#dmr-dashboard,#mesh-bar,dialog:not(#radiance-appearance-dialog)) :is(button:not(:disabled):not([aria-disabled=true]),.mesh-lab-link,.nav-link):hover {
 background:#234553!important;
 border-color:#c4f1ed!important;
 box-shadow:inset 0 1px 0 #e9f8fa55;
}
html[data-appearance=deep-space-glass] body.station-page :where(.workspace,#dmr-dashboard,#mesh-bar,dialog:not(#radiance-appearance-dialog)) :is(input:not([type=range]):not([type=checkbox]):not([type=radio]):not([type=file]),textarea,select) {
 background:#0a222ee6!important;
 border-color:var(--appearance-control-line)!important;
 color:var(--scene-ink)!important;
 box-shadow:inset 0 1px 5px #03172140;
}
html[data-appearance=deep-space-glass] body.station-page #operate-voice .voice-text textarea {
 background:#0a222ee6!important;
 color:var(--scene-ink)!important;
}
html[data-appearance=deep-space-glass] body.station-page .decoder-panel input[type=file] {
 background:var(--scene-control-surface)!important;
 color:var(--scene-muted)!important;
}
html[data-appearance=deep-space-glass] body.station-page .decoder-panel input[type=file]::file-selector-button {
 background:#234553;
 color:var(--scene-ink);
 border-color:#bbd7df99;
}
html[data-appearance=deep-space-glass] body.station-page :is(input[type=range],input[type=checkbox],progress) {
 accent-color:var(--scene-accent);
}
html[data-appearance=deep-space-glass] body.station-page :is(.workspace,#dmr-dashboard,.station-setup-dialog) :is(button.primary,button.compact-primary,#dmr-dashboard-play,#dmr-dashboard-quiet,[role=tab][aria-selected=true]) {
 background:#c4f1ed!important;
 color:#09232e!important;
 border-color:#e3faf6!important;
 box-shadow:inset 0 1px 0 #ffffff66;
 text-shadow:none;
}
html[data-appearance=deep-space-glass] body.station-page .workspace :is(.station-column,.decoder-panel) :is(.station-setup-launcher,#mode-picker) {
 background:var(--scene-control-surface)!important;
 color:var(--scene-accent)!important;
}
/* Disabled controls stay readable rather than fading through to the scene. */
html[data-appearance=deep-space-glass] body.station-page :where(header,.workspace,#dmr-dashboard,#mesh-bar,dialog:not(#radiance-appearance-dialog)) :is(button:disabled,button[aria-disabled=true]) {
 opacity:1!important;
 color:var(--scene-muted)!important;
}
html[data-appearance=deep-space-glass] body.station-page :is(.workspace,#dmr-dashboard,.station-setup-dialog) :is(button.primary:disabled,button.compact-primary:disabled,#dmr-dashboard-play:disabled,#dmr-dashboard-quiet:disabled) {
 background:#15323e!important;
 color:var(--scene-muted)!important;
 border-color:#96b3bc!important;
}

/* Open menus/dialogs are opaque reading surfaces, not decorative glass. */
html[data-appearance=deep-space-glass] body.station-page :is(.config-window,.station-setup-dialog,.dmr-picker-panel,.chat-actions>div,#mode-menu,#mesh-details,#notebook,#online-radios,#club-admin-dialog,#club-report-dialog) {
 background:#102e3a!important;
 color:var(--scene-ink)!important;
 border-color:#bbd7df99!important;
 box-shadow:inset 0 1px 0 #e9f8fa33,0 14px 38px #03172180;
}
html[data-appearance=deep-space-glass] body.station-page .station-setup-dialog .source-journey {
 background:#153845!important;
 border-color:#c1dce34d!important;
}
html[data-appearance=deep-space-glass] body.station-page :is(.station-setup-dialog,.dmr-picker-panel,#mode-menu) :is([role=menuitemradio][aria-checked=true],[data-groups] button[aria-pressed=true]) {
 background:#28515c!important;
 color:var(--scene-ink)!important;
}
html[data-appearance=deep-space-glass] body.station-page :is(a,button,input,select,textarea,summary):focus-visible {
 outline-color:var(--scene-accent)!important;
}
/* Without backdrop-filter the same scene remains sharper, never hidden by
   an opaque fallback. Reading wells and controls retain their local surfaces. */
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))) {
 html[data-appearance=deep-space-glass] body.station-page {
  --scene-pane-surface:linear-gradient(120deg,#edf9ff08,transparent 32%,#f6deb304 70%,transparent),#08202a47;
 }
}
