:root {
  color-scheme: dark;
  --bg: #07070b;
  --text: #f5f5f7;
  --muted: rgba(235, 235, 245, 0.55);
  --faint: rgba(235, 235, 245, 0.38);
  --line: rgba(255, 255, 255, 0.09);
  --surface: rgba(255, 255, 255, 0.055);
  --surface-strong: rgba(255, 255, 255, 0.09);
  --cyan: #7dd3fc;
  --violet: #a5b4fc;
  --green: #6ee7b7;
  --amber: #fbbf24;
  --red: #fca5a5;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html, body { min-height: 100%; }
body { margin: 0; overflow: hidden; background: var(--bg); color: var(--text); }
button, input, select, textarea { color: inherit; font: inherit; }
button { border: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
svg { fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.5; }
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { border-radius: 99px; background: rgba(255, 255, 255, 0.14); }

@keyframes anxPulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
@keyframes anxFade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes anxSpin { to { transform: rotate(360deg); } }

.skip-link { position: fixed; left: 12px; top: -80px; z-index: 9999; padding: 10px 14px; border-radius: 10px; background: white; color: black; }
.skip-link:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }

.anx-ambient, .anx-auth-ambient { position: fixed; z-index: 0; border-radius: 50%; pointer-events: none; filter: blur(115px); }
.anx-ambient-one, .anx-auth-ambient-one { left: -160px; top: -180px; width: 660px; height: 660px; background: oklch(42% 0.13 275 / 0.5); }
.anx-ambient-two, .anx-auth-ambient-two { right: -120px; top: -60px; width: 520px; height: 520px; background: oklch(45% 0.15 200 / 0.4); }
.anx-ambient-three, .anx-auth-ambient-three { left: 30%; bottom: -260px; width: 700px; height: 600px; background: oklch(38% 0.14 330 / 0.4); }

.anx-brand { display: flex; min-width: 0; align-items: center; gap: 10px; }
.anx-brand-mark { display: grid; width: 30px; height: 30px; flex: none; place-items: center; border-radius: 9px; background: linear-gradient(135deg, #7dd3fc, #818cf8 55%, #e879f9); box-shadow: 0 4px 14px rgba(129, 140, 248, 0.4); color: #0b0b10; font-size: 15px; font-weight: 800; }
.anx-brand > span:last-child { display: flex; min-width: 0; align-items: center; gap: 8px; }
.anx-brand strong { white-space: nowrap; font-size: 15px; letter-spacing: 0; }
.anx-brand small { border: 1px solid var(--line); border-radius: 99px; background: rgba(255, 255, 255, 0.08); color: var(--muted); font: 600 9.5px ui-monospace, Menlo, monospace; padding: 2px 6px; white-space: nowrap; }

/* The supplied sign-in component, translated from its inline handoff styles. */
.anx-auth { position: relative; z-index: 1; display: flex; min-height: 100vh; overflow: auto; animation: anxFade 0.3s; }
.anx-auth-story { display: flex; min-width: 0; flex: 1.2; flex-direction: column; gap: 28px; padding: clamp(20px, 4vh, 36px) 48px; }
.anx-auth-brand > span:last-child { display: block; }
.anx-auth-brand strong { display: block; font-size: 16px; }
.anx-auth-brand small { display: block; margin-top: 2px; border: 0; background: transparent; padding: 0; letter-spacing: 0.16em; }
.anx-auth-hero { max-width: 560px; margin: auto 0; }
.anx-auth-hero > p, .anx-auth-card > div > p { margin: 0; color: rgba(235, 235, 245, 0.5); font-size: 10.5px; font-weight: 700; letter-spacing: 0.16em; }
.anx-auth-hero h1 { margin: 14px 0 0; font-size: clamp(32px, 4.5vw, 58px); font-weight: 800; letter-spacing: 0; line-height: 1.02; }
.anx-auth-hero > span { display: block; margin-top: 16px; color: rgba(235, 235, 245, 0.65); font-size: 15px; line-height: 1.55; }
.anx-security-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: clamp(14px, 2.6vh, 26px); }
.anx-security-pills b { border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 99px; background: rgba(255, 255, 255, 0.06); color: rgba(235, 235, 245, 0.6); font: 600 10.5px ui-monospace, Menlo, monospace; padding: 5px 11px; backdrop-filter: blur(20px); }
.anx-live-foot { display: flex; align-items: center; gap: 8px; color: rgba(235, 235, 245, 0.45); font-size: 11px; font-weight: 600; letter-spacing: 0.1em; white-space: nowrap; }
.anx-live-foot i, .anx-status i { width: 7px; height: 7px; border-radius: 50%; background: #34d399; animation: anxPulse 2s infinite; }
.anx-auth-side { display: flex; flex: 1; align-items: center; justify-content: center; padding: 36px; }
.anx-auth-card { width: min(400px, 100%); padding: 32px 30px 26px; border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 26px; background: rgba(255, 255, 255, 0.06); box-shadow: 0 30px 90px rgba(0, 0, 0, 0.5), inset 0 1px rgba(255, 255, 255, 0.1); backdrop-filter: blur(40px) saturate(170%); }
.anx-auth-card h2 { margin: 9px 0 0; font-size: 27px; font-weight: 800; letter-spacing: 0; }
.anx-auth-card > div > span { display: block; margin-top: 8px; color: var(--muted); font-size: 12.5px; }
.auth-form { display: grid; gap: 15px; margin-top: 22px; }
.auth-form label, .inline-form label, .stack-form label, .ingest-search { display: grid; gap: 7px; color: rgba(235, 235, 245, 0.65); font-size: 12px; font-weight: 600; }
.auth-form input, .inline-form input, .inline-form select, .stack-form input, .stack-form select, .ingest-search input, .ops-toolbar-controls select { width: 100%; min-height: 44px; border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 13px; outline: none; background: rgba(0, 0, 0, 0.28); padding: 11px 14px; }
.auth-form input:focus, input:focus, select:focus { border-color: rgba(125, 211, 252, 0.5); box-shadow: 0 0 0 3px rgba(125, 211, 252, 0.08); }
.auth-form .button { margin-top: 7px; border-radius: 99px; background: #f5f5f7; color: #0b0b10; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4); }
.anx-auth-footnote { margin: 16px 0 0; text-align: center; color: rgba(235, 235, 245, 0.45); font-size: 11.5px; }

/* The supplied application shell. */
.anx-shell { position: relative; z-index: 1; display: flex; height: 100vh; }
.anx-sidebar { position: relative; display: flex; width: 236px; flex: none; flex-direction: column; margin: 20px 0 20px 20px; overflow: hidden; border: 1px solid var(--line); border-radius: 24px; background: var(--surface); padding: 16px 13px 14px; box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35), inset 0 1px rgba(255, 255, 255, 0.08); backdrop-filter: blur(36px) saturate(160%); transition: width 0.35s cubic-bezier(0.32, 0.72, 0, 1); }
.anx-shell.is-collapsed .anx-sidebar { width: 64px; }
.anx-sidebar-head { display: flex; min-width: 0; align-items: center; gap: 10px; padding: 0 4px 14px; }
.anx-shell.is-collapsed .anx-sidebar-head { flex-direction: column; }
.anx-shell.is-collapsed .anx-brand > span:last-child, .anx-shell.is-collapsed .anx-nav-label, .anx-shell.is-collapsed .anx-sidebar-pipeline, .anx-shell.is-collapsed .anx-profile > span:last-child { display: none; }
.anx-round-button { display: grid; width: 28px; height: 28px; flex: none; cursor: pointer; place-items: center; border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 50%; background: rgba(255, 255, 255, 0.08); color: rgba(235, 235, 245, 0.72); }
.anx-sidebar-head .anx-round-button { width: 22px; height: 22px; margin-left: auto; }
.anx-shell.is-collapsed .anx-sidebar-head .anx-round-button { margin-left: 0; }
.anx-round-button:hover { background: rgba(255, 255, 255, 0.16); color: white; }
.anx-nav { display: flex; flex-direction: column; gap: 2px; }
.anx-nav-item { display: flex; min-width: 0; min-height: 44px; align-items: center; gap: 11px; border-radius: 12px; padding: 9px 10px; color: rgba(235, 235, 245, 0.72); font-size: 13.5px; font-weight: 500; white-space: nowrap; }
.anx-nav-item:hover { background: rgba(255, 255, 255, 0.1); color: white; }
.anx-nav-item[aria-current="page"] { background: rgba(255, 255, 255, 0.14); box-shadow: inset 0 1px rgba(255, 255, 255, 0.12), 0 6px 16px rgba(0, 0, 0, 0.25); color: white; font-weight: 600; }
.anx-nav-icon { display: inline-flex; width: 16px; height: 16px; flex: none; }
.anx-nav-icon svg { width: 16px; height: 16px; }
.anx-sidebar-pipeline { margin: 14px 6px 0; border-top: 1px solid rgba(255, 255, 255, 0.08); padding-top: 13px; }
.anx-sidebar-pipeline > span { color: rgba(235, 235, 245, 0.45); font-size: 10px; font-weight: 700; letter-spacing: 0.12em; }
.anx-sidebar-pipeline p { display: flex; align-items: center; gap: 8px; margin: 9px 0 0; color: rgba(235, 235, 245, 0.7); font-size: 12px; }
.anx-sidebar-pipeline i { width: 7px; height: 7px; border-radius: 50%; }
.anx-sidebar-pipeline i.cyan { background: var(--cyan); animation: anxPulse 1.6s infinite; }
.anx-sidebar-pipeline i.violet { background: var(--violet); }
.anx-sidebar-pipeline i.amber { background: var(--amber); }
.anx-profile { display: flex; min-width: 0; min-height: 48px; align-items: center; gap: 10px; margin-top: auto; border-top: 1px solid rgba(255, 255, 255, 0.08); border-radius: 10px; background: transparent; padding: 10px 2px 0; text-align: left; cursor: pointer; }
.anx-profile:hover { background: rgba(255, 255, 255, 0.04); }
.anx-avatar { display: grid; width: 30px; height: 30px; flex: none; place-items: center; border-radius: 50%; background: linear-gradient(135deg, #f0abfc, #818cf8); color: #0b0b10; font-size: 11px; font-weight: 800; }
.anx-profile strong, .anx-profile small { display: block; white-space: nowrap; }
.anx-profile strong { font-size: 12.5px; }
.anx-profile small { margin-top: 2px; color: var(--muted); font-size: 10.5px; }
.anx-workspace { display: flex; min-width: 0; flex: 1; flex-direction: column; padding: 20px 24px 0; }
.anx-topbar { display: flex; flex: none; align-items: center; gap: 14px; padding-bottom: 16px; }
.anx-route-title { min-width: 0; }
.anx-route-title strong, .anx-route-title span { display: block; }
.anx-route-title strong { font-size: 22px; font-weight: 800; letter-spacing: 0; }
.anx-route-title span { margin-top: 1px; color: rgba(235, 235, 245, 0.5); font-size: 12px; }
.anx-search { display: flex; width: 250px; min-height: 38px; align-items: center; gap: 8px; margin-left: auto; border: 1px solid var(--line); border-radius: 99px; background: rgba(255, 255, 255, 0.07); padding: 8px 14px; backdrop-filter: blur(20px); }
.anx-search svg { width: 13px; height: 13px; flex: none; color: var(--muted); }
.anx-search input { width: 100%; border: 0; outline: 0; background: transparent; font-size: 12.5px; }
.anx-search button { width: 22px; height: 22px; border-radius: 50%; background: rgba(255, 255, 255, 0.08); cursor: pointer; }
.anx-search-static { color: var(--faint); font-size: 12.5px; }
.anx-search-static span:nth-child(2) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.anx-search kbd { margin-left: auto; border-radius: 5px; background: rgba(255, 255, 255, 0.1); color: var(--muted); font: 600 10px ui-monospace, Menlo, monospace; padding: 1px 5px; }
.anx-status { display: flex; align-items: center; gap: 10px; color: var(--muted); font: 600 10px ui-monospace, Menlo, monospace; }
.anx-status > span { display: flex; align-items: center; gap: 6px; }
.anx-main { flex: 1; min-height: 0; overflow: auto; padding-bottom: 24px; animation: anxFade 0.25s; }

/* Library components are recreated from the handoff rather than the former list renderer. */
.anx-library { display: flex; flex-direction: column; gap: 20px; }
.anx-section-heading, .anx-catalog-heading { display: flex; align-items: baseline; gap: 12px; margin-bottom: 11px; }
.anx-section-heading h3, .anx-catalog-heading h3 { margin: 0; font-size: 17px; font-weight: 700; letter-spacing: 0; }
.anx-section-heading span, .anx-catalog-heading > span { color: var(--muted); font-size: 12px; }
.anx-promoted-rail { display: flex; gap: 14px; overflow-x: auto; padding: 0 0 4px; }
.anx-poster-card { min-width: 0; cursor: pointer; background: transparent; padding: 0; text-align: left; transition: transform 0.2s; }
.anx-poster-card:hover { transform: translateY(-3px); }
.anx-poster-card:focus-visible { outline: 2px solid var(--cyan); outline-offset: 4px; border-radius: 12px; }
.anx-poster-card-promoted { width: 122px; flex: none; }
.anx-poster { display: block; overflow: hidden; aspect-ratio: 2 / 3; border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 12px; background: rgba(255, 255, 255, 0.06); box-shadow: 0 10px 26px rgba(0, 0, 0, 0.45); }
.anx-poster img { width: 100%; height: 100%; object-fit: cover; }
.anx-poster-fallback { display: block; width: 100%; height: 100%; background: linear-gradient(165deg, oklch(45% 0.08 260), oklch(12% 0.03 280)); }
.anx-poster-copy { display: block; min-width: 0; margin-top: 7px; }
.anx-poster-copy strong, .anx-poster-copy small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.anx-poster-copy strong { font-size: 12px; line-height: 1.3; }
.anx-poster-copy small { margin-top: 3px; color: var(--muted); font-size: 10.5px; }
.anx-poster-stats { display: flex; min-width: 0; gap: 5px; margin-top: 4px; color: var(--faint); font-size: 9.5px; }
.anx-poster-stats span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.anx-catalog-heading { align-items: center; margin-bottom: 12px; }
.anx-catalog-heading > span { margin-left: auto; }
.anx-filter { display: flex; gap: 4px; border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 99px; background: rgba(255, 255, 255, 0.06); padding: 4px; }
.anx-filter-chip { min-height: 34px; cursor: pointer; border-radius: 99px; background: transparent; padding: 5px 13px; color: rgba(235, 235, 245, 0.6); font-size: 12px; font-weight: 500; }
.anx-filter-chip[aria-pressed="true"] { background: rgba(255, 255, 255, 0.14); color: white; font-weight: 600; }
.anx-title-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(122px, 152px)); justify-content: space-between; gap: 20px 14px; }
.anx-library-detail { margin-top: 20px; }
.anx-exact-tools { margin-top: 20px; }

/* Detail, episode and player surfaces use the same handoff glass language. */
.anx-surface, .panel, .health-card { border: 1px solid var(--line); border-radius: 20px; background: var(--surface); box-shadow: inset 0 1px rgba(255, 255, 255, 0.08); backdrop-filter: blur(36px) saturate(160%); }
.panel { padding: 18px 20px; }
.library-series-panel { overflow: hidden; padding: 0; }
.library-series-heading { position: relative; display: flex; min-height: 190px; align-items: flex-end; gap: 20px; overflow: hidden; padding: 24px; background: linear-gradient(90deg, rgba(7, 7, 11, 0.98), rgba(7, 7, 11, 0.54)), var(--series-backdrop, none) center / cover; }
.library-series-poster { display: block; width: 110px; flex: none; overflow: hidden; aspect-ratio: 2 / 3; border-radius: 12px; background: rgba(255, 255, 255, 0.06); }
.library-series-poster img { width: 100%; height: 100%; object-fit: cover; }
.library-series-copy h2 { margin: 6px 0; font-size: 28px; }
.library-series-copy p, .library-series-copy small { color: var(--muted); }
.library-season-tabs { display: flex; gap: 6px; overflow-x: auto; border-bottom: 1px solid var(--line); padding: 12px 18px; }
.library-season-tabs button { min-height: 38px; cursor: pointer; border-radius: 99px; background: transparent; padding: 7px 14px; color: var(--muted); }
.library-season-tabs button[aria-selected="true"] { background: rgba(255, 255, 255, 0.14); color: white; }
.library-season-panel { padding: 18px; }
.library-episode-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.library-episode-card { min-width: 0; }
.episode-thumbnail { position: relative; display: block; width: 100%; overflow: hidden; aspect-ratio: 16 / 9; cursor: pointer; border-radius: 12px; background: #111118; padding: 0; }
.episode-thumbnail img { width: 100%; height: 100%; object-fit: cover; }
.episode-thumbnail::after { position: absolute; inset: 0; background: linear-gradient(transparent 55%, rgba(0, 0, 0, 0.72)); content: ""; }
.episode-play { position: absolute; z-index: 2; left: 50%; top: 50%; display: grid; width: 42px; height: 42px; place-items: center; border-radius: 50%; background: rgba(245, 245, 247, 0.94); color: #0b0b10; opacity: 0; transform: translate(-50%, -45%); transition: 0.2s; }
.episode-play svg { width: 20px; height: 20px; }
.episode-thumbnail:hover .episode-play, .episode-thumbnail:focus-visible .episode-play { opacity: 1; transform: translate(-50%, -50%); }
.episode-duration { position: absolute; z-index: 2; right: 8px; bottom: 7px; font: 700 10px ui-monospace, Menlo, monospace; }
.episode-card-copy { margin-top: 9px; }
.episode-card-copy span { display: block; color: var(--faint); font: 700 9px ui-monospace, Menlo, monospace; letter-spacing: 0.12em; }
.episode-card-copy strong { display: block; margin-top: 3px; overflow: hidden; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.episode-card-meta { display: flex; gap: 7px; margin-top: 6px; color: var(--muted); font-size: 10px; }
.episode-card-meta .missing { color: var(--red); }
.library-episode-card > p { overflow: hidden; margin: 5px 0 0; color: var(--faint); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }

.player-panel { position: fixed; z-index: 500; inset: 18px; display: flex; flex-direction: column; overflow: auto; border-radius: 22px; background: rgba(7, 7, 11, 0.97); box-shadow: 0 40px 120px rgba(0, 0, 0, 0.75); backdrop-filter: blur(36px); }
.player-panel::before { position: fixed; z-index: -1; inset: 0; background: rgba(0, 0, 0, 0.72); content: ""; }
.player-heading { display: flex; align-items: flex-start; gap: 20px; padding: 18px 20px; }
.player-heading h2 { margin: 4px 0; }
.player-close { margin-left: auto; }
.player-panel video { width: 100%; max-height: calc(100vh - 210px); flex: 1; background: black; }
.player-controls { display: flex; flex-wrap: wrap; gap: 10px; padding: 16px 20px; }
.player-status { color: var(--muted); font-size: 12px; }

/* Remaining live route components. They use one visual system, never the former app shell. */
.page-header { display: none; }
.eyebrow { margin: 0; color: var(--muted); font: 700 10px ui-monospace, Menlo, monospace; letter-spacing: 0.14em; text-transform: uppercase; }
h1, h2, h3, p { letter-spacing: 0; }
h2 { margin: 5px 0 10px; }
.muted, .subline { color: var(--muted); }
.section-title, .queue-toolbar, .ops-toolbar, .rail-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.button { min-height: 44px; cursor: pointer; border: 1px solid var(--line); border-radius: 12px; background: rgba(255, 255, 255, 0.09); padding: 9px 15px; font-weight: 650; }
.button:hover { background: rgba(255, 255, 255, 0.15); }
.button.primary { background: #f5f5f7; color: #0b0b10; }
.button.danger { border-color: rgba(248, 113, 113, 0.3); color: var(--red); }
.button.wide { width: 100%; }
.form-error { border-radius: 10px; background: rgba(248, 113, 113, 0.1); padding: 10px; color: var(--red); font-size: 12px; }
.inline-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); align-items: end; gap: 12px; }
.stack-form { display: grid; gap: 14px; }
.notice { border: 1px solid rgba(251, 191, 36, 0.22); border-radius: 12px; background: rgba(251, 191, 36, 0.08); padding: 12px; }
.notice strong, .notice span { display: block; }
.notice span { margin-top: 4px; color: var(--muted); font-size: 12px; }
.anx-exact-tools { padding: 0; }
.anx-exact-tools summary, .secondary-stream summary { display: flex; cursor: pointer; align-items: center; justify-content: space-between; padding: 16px 18px; }
.anx-exact-tools summary span, .secondary-stream summary span { display: grid; gap: 3px; }
.anx-exact-tools summary small, .secondary-stream summary small { color: var(--muted); }
.anx-exact-tools form, .anx-exact-tools > p, .anx-exact-tools > div { margin: 0 18px 18px; }

.telemetry-hero-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(260px, 0.7fr); gap: 14px; }
.telemetry-hero { min-height: 250px; }
.telemetry-side-stack { display: grid; gap: 14px; }
.bottleneck-card { display: grid; min-width: 0; align-content: start; gap: 16px; }
.bottleneck-identity { display: grid; min-width: 0; grid-template-columns: 36px minmax(0, 1fr); align-items: center; gap: 12px; }
.bottleneck-identity > span { display: grid; width: 36px; height: 36px; place-items: center; border: 1px solid var(--line); border-radius: 11px; background: rgba(255, 255, 255, 0.08); color: rgba(235, 235, 245, 0.84); }
.bottleneck-identity > span svg { display: block; width: 18px; height: 18px; max-width: 18px; max-height: 18px; }
.bottleneck-identity strong, .bottleneck-identity small { display: block; min-width: 0; }
.bottleneck-identity strong { font-size: 15px; line-height: 1.3; }
.bottleneck-identity small { margin-top: 3px; color: var(--muted); font: 600 10px/1.4 ui-monospace, Menlo, monospace; }
.bottleneck-card dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0; }
.bottleneck-card dl > div { min-width: 0; border: 1px solid rgba(255, 255, 255, 0.07); border-radius: 11px; background: rgba(255, 255, 255, 0.05); padding: 10px; }
.bottleneck-card dt, .bottleneck-card dd { display: block; margin: 0; }
.bottleneck-card dt { overflow: hidden; color: var(--muted); font: 600 9px ui-monospace, Menlo, monospace; text-overflow: ellipsis; white-space: nowrap; }
.bottleneck-card dd { margin-top: 6px; font-size: 18px; font-weight: 750; }
.attention-card { display: grid; min-height: 68px; grid-template-columns: 28px minmax(0, 1fr) 18px; align-items: center; gap: 10px; border: 1px solid rgba(248, 113, 113, 0.3); border-radius: 16px; background: rgba(248, 113, 113, 0.1); padding: 12px 14px; }
.attention-card > span { display: grid; width: 26px; height: 26px; place-items: center; border: 1px solid currentColor; border-radius: 50%; color: var(--red); font-weight: 800; }
.attention-card strong, .attention-card small { display: block; }
.attention-card strong { font-size: 12.5px; }
.attention-card small { margin-top: 3px; color: var(--muted); font: 600 10px ui-monospace, Menlo, monospace; }
.attention-card > b { justify-self: end; color: var(--muted); }
.attention-card.clear { border-color: rgba(52, 211, 153, 0.25); background: rgba(52, 211, 153, 0.08); }
.attention-card.clear > span { color: var(--green); }
.telemetry-kicker, .telemetry-inline-stats, .telemetry-caption { display: flex; justify-content: space-between; gap: 14px; color: var(--muted); font: 600 10px ui-monospace, Menlo, monospace; }
.telemetry-live, .topbar-live, .heartbeat-meta, .live-chip { display: inline-flex; align-items: center; gap: 6px; }
.telemetry-live i, .heartbeat-meta i, .live-chip i { width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.telemetry-primary { display: flex; align-items: center; gap: 18px; margin: 30px 0 20px; }
.telemetry-primary > strong { font-size: clamp(42px, 6vw, 76px); line-height: 0.9; }
.telemetry-primary span { font: 600 12px ui-monospace, Menlo, monospace; }
.telemetry-primary small { color: var(--muted); }
.stage-pressure { display: flex; height: 8px; overflow: hidden; margin-top: 28px; border-radius: 99px; background: rgba(255, 255, 255, 0.08); }
.telemetry-strip { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
.telemetry-card { min-width: 0; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); padding: 13px; }
.telemetry-card span, .telemetry-card small, .telemetry-card strong { display: block; }
.telemetry-card span, .telemetry-card small { color: var(--muted); font: 600 10px ui-monospace, Menlo, monospace; }
.telemetry-card strong { margin: 8px 0 4px; font-size: 22px; }
.telemetry-detail-grid, .cockpit-lower { display: grid; grid-template-columns: 1.4fr 0.6fr; gap: 14px; margin-top: 14px; }
.queue-workbench, .operations-panel { margin-top: 14px; }
.operations-table, .job-list, .stream-list { display: grid; gap: 6px; margin-top: 14px; }
.operations-table-head, .operations-row { display: grid; grid-template-columns: minmax(220px, 1.3fr) 0.7fr 1fr 0.5fr 0.6fr; align-items: center; gap: 12px; padding: 9px 12px; }
.operations-table-head { color: var(--faint); font: 700 9px ui-monospace, Menlo, monospace; letter-spacing: 0.1em; text-transform: uppercase; }
.operations-row, .job-card { border: 1px solid rgba(255, 255, 255, 0.06); border-radius: 12px; background: rgba(0, 0, 0, 0.18); }
.job-card { padding: 13px; }
.job-primary, .job-state, .job-actions, .ops-toolbar-controls, .queue-tools { display: flex; align-items: center; gap: 10px; }
.job-primary { justify-content: space-between; }
.job-details { margin-top: 10px; }
.job-guidance { color: var(--muted); }
.ops-strip, .metric-grid, .health-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; margin: 14px 0; }
.metric, .health-card { padding: 15px; }
.service-banner { display: flex; align-items: center; gap: 10px; border: 1px solid rgba(52, 211, 153, 0.22); border-radius: 14px; background: rgba(52, 211, 153, 0.06); padding: 12px 16px; }
.health-light { width: 8px; height: 8px; border-radius: 50%; background: var(--red); }
.health-light.good { background: var(--green); }
.table-scroll { overflow: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { border-bottom: 1px solid rgba(255, 255, 255, 0.06); padding: 12px 10px; text-align: left; font-size: 12px; }
th { color: var(--muted); font: 700 9px ui-monospace, Menlo, monospace; letter-spacing: 0.1em; text-transform: uppercase; }
.pill, .state, .count-badge { display: inline-flex; border: 1px solid var(--line); border-radius: 99px; background: rgba(255, 255, 255, 0.07); padding: 3px 8px; font-size: 10px; }
.state.positive { color: var(--green); }
.state.negative { color: var(--red); }
.scope-list { display: flex; flex-wrap: wrap; gap: 5px; }
.manual-intro, .manual-section { margin-bottom: 14px; }
.rule-grid, .manual-status-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 8px; }
.rule-grid > div, .manual-status-grid > div, .endpoint-list > div { border: 1px solid var(--line); border-radius: 10px; background: rgba(0, 0, 0, 0.2); padding: 10px; }
.endpoint-list { display: grid; gap: 8px; }
.endpoint-list > div { display: flex; justify-content: space-between; gap: 12px; }
.manual-code { overflow: auto; border: 1px solid var(--line); border-radius: 12px; background: rgba(0, 0, 0, 0.35); padding: 14px; color: rgba(235, 235, 245, 0.75); font: 500 11.5px/1.7 ui-monospace, Menlo, monospace; }
.empty, .loading, .error-state { display: grid; min-height: 180px; place-items: center; align-content: center; gap: 8px; color: var(--muted); text-align: center; }
.spinner { width: 24px; height: 24px; border: 2px solid rgba(255, 255, 255, 0.15); border-top-color: var(--cyan); border-radius: 50%; animation: anxSpin 0.8s linear infinite; }
.boot-screen { display: grid; min-height: 100vh; place-items: center; }

@media (max-width: 980px) {
  .anx-auth-story { padding-inline: 28px; }
  .anx-auth-side { padding: 28px; }
  .anx-sidebar { width: 72px; }
  .anx-sidebar .anx-brand > span:last-child, .anx-sidebar .anx-nav-label, .anx-sidebar .anx-sidebar-pipeline, .anx-sidebar .anx-profile > span:last-child { display: none; }
  .anx-sidebar-head { flex-direction: column; }
  .anx-sidebar-head .anx-round-button { margin-left: 0; }
  .telemetry-hero-grid, .telemetry-detail-grid, .cockpit-lower { grid-template-columns: 1fr; }
  .telemetry-strip { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 720px) {
  .bottleneck-card dl { grid-template-columns: 1fr; }
  .bottleneck-card dt { white-space: normal; }
  body { overflow: auto; }
  .anx-auth { display: block; }
  .anx-auth-story { min-height: 52vh; padding: 24px 20px; }
  .anx-auth-side { padding: 0 20px 32px; }
  .anx-security-pills { display: none; }
  .anx-shell { min-height: 100vh; height: auto; padding-bottom: 78px; }
  .anx-sidebar { position: fixed; z-index: 100; inset: auto 10px 10px; width: auto; height: 64px; margin: 0; border-radius: 20px; padding: 8px; }
  .anx-sidebar-head, .anx-sidebar-pipeline, .anx-profile { display: none; }
  .anx-nav { height: 100%; flex-direction: row; justify-content: space-around; overflow-x: auto; }
  .anx-nav-item { min-width: 48px; justify-content: center; padding: 8px; }
  .anx-nav-label { display: none; }
  .anx-workspace { padding: 14px 14px 0; }
  .anx-topbar { flex-wrap: wrap; }
  .anx-search { order: 3; width: 100%; }
  .anx-status { margin-left: auto; }
  .anx-status time { display: none; }
  .anx-title-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 10px; }
  .anx-catalog-heading { flex-wrap: wrap; }
  .anx-catalog-heading > span { width: 100%; margin-left: 0; }
  .library-episode-grid { grid-template-columns: 1fr; }
  .library-series-heading { align-items: center; }
  .library-series-poster { width: 82px; }
  .telemetry-strip { grid-template-columns: repeat(2, 1fr); }
  .operations-table-head { display: none; }
  .operations-row { grid-template-columns: 1fr; }
  .player-panel { inset: 0; border-radius: 0; }
}

@media (max-width: 420px) {
  .anx-title-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .anx-auth-hero h1 { font-size: 36px; }
}
