/* Live audio-level bar shared with the Devices tab. views-rx.css fits the bar into the vitals cell. Was #rxv-audio-levels-css.
   Hashed into the shell by scripts/build.mjs (ensure, after views-admin).
   The view appends this link at render so it still follows sheets injected later. */
/* Live level on a licensed Dante/AES67 row: a bar (-60..0 dBFS) and its text. */
.as-level{display:inline-flex;align-items:center;gap:6px;margin-left:auto;min-width:0;font-size:12px;font-family:var(--font-mono);color:var(--text-2)}
.as-level-bar{position:relative;flex:0 0 auto;width:72px;height:6px;border-radius:3px;background:var(--border);overflow:hidden}
.as-level-fill{position:absolute;left:0;top:0;bottom:0;width:0;background:var(--ok);transition:width .2s linear}
.as-level-text{white-space:nowrap}
.as-level[data-state="clip"] .as-level-fill{background:var(--danger)}
.as-level[data-state="clip"] .as-level-text{color:var(--danger);font-weight:600}
.as-level[data-state="waiting"],.as-level[data-state="silent"]{color:var(--text-muted)}
.as-level[data-state="stale"]{opacity:.5;color:var(--text-muted)}
@media (max-width:480px){.as-level{flex-basis:100%;margin-left:0}.as-level-bar{width:56px}}
