/* Azure Local Radar — design tokens and base styles for the standalone app (light and dark). */
#alr-app {
  --color-fg: #17171C; --color-fg-muted: #5E5E6B; --color-bg: #F7F7FA; --color-panel: #FFFFFF; --color-border-line: #E3E3EA;
  --color-ok: #15803D; --color-warn: #B45309; --color-bad: #B91C1C;
  --cds-chart-grid: #ECECF2; --cds-chart-axis: #A1A1AE; --cds-chart-muted: #9CA3AF; --cds-chart-reference: #6B7280; --cds-chart-status-critical: #DC2626;
  --cds-text-secondary: #5E5E6B; --cds-border: #E3E3EA; --cds-surface-popover: #FFFFFF; --cds-shadow-popover: 0 8px 24px rgba(15, 15, 30, .14); --cds-radius: 12px;
  --cds-font-size-caption: .8125rem; --cds-font-size-body: .9375rem; --cds-font-size-heading: 1.125rem; --cds-font-size-title: 1.75rem;
  --cds-gap-xs: 4px; --cds-gap-sm: 8px; --cds-gap-md: 12px; --cds-gap-lg: 20px;
  --cds-pad-xs: 4px; --cds-pad-sm: 8px; --cds-pad-md: 12px; --cds-pad-lg: 20px; --cds-dur-slow: .25s;
  --font-anthropic-sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-anthropic-serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  color-scheme: light dark;
  background: var(--color-bg); color: var(--color-fg);
  font-family: var(--font-anthropic-sans); font-size: 16px; line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
@media (prefers-color-scheme: dark) {
  #alr-app:not([data-theme=light]) {
    --color-fg: #EDEDF2; --color-fg-muted: #A3A3B2; --color-bg: #0B0B10; --color-panel: #15151C; --color-border-line: #2A2A35;
    --color-ok: #4ADE80; --color-warn: #FBBF24; --color-bad: #F87171;
    --cds-chart-grid: #24242E; --cds-chart-axis: #4A4A58; --cds-chart-muted: #6B6B7A; --cds-chart-reference: #8A8A99; --cds-chart-status-critical: #F87171;
    --cds-text-secondary: #A3A3B2; --cds-border: #2A2A35; --cds-surface-popover: #1C1C25; --cds-shadow-popover: 0 8px 24px rgba(0, 0, 0, .5);
  }
}
#alr-app *, #alr-app *::before, #alr-app *::after { box-sizing: border-box; }
#alr-app #dash-root { max-width: 1680px; margin: 0 auto; padding: 16px; }
#alr-app table { border-collapse: collapse; width: 100%; }
#alr-app h1, #alr-app h2, #alr-app h3, #alr-app p { margin-top: 0; }
#alr-app button, #alr-app input, #alr-app select { font: inherit; }
#alr-app img { max-width: 100%; }
#alr-app .dash-skeleton { position: relative; min-height: 1.2em; }
#alr-app .dash-skeleton:empty::after { content: ""; position: absolute; inset: 0; border-radius: 8px; background: linear-gradient(90deg, var(--color-border-line), var(--color-panel), var(--color-border-line)); background-size: 200% 100%; animation: alr-shimmer 1.2s linear infinite; opacity: .6; }
@keyframes alr-shimmer { to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { #alr-app .dash-skeleton:empty::after { animation: none; } }
/* Site chrome around the standalone app */
.alr-shell { margin: 0; background: #0B0B10; }
.alr-topbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 10px 16px; background: #0B0B10; color: #EDEDF2; font: 600 14px/1.4 ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; }
.alr-topbar a { color: #EDEDF2; text-decoration: none; }
.alr-topbar a:hover { text-decoration: underline; }
.alr-crumbs { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 0; padding: 0; list-style: none; }
.alr-crumbs li + li::before { content: "›"; margin-right: 6px; opacity: .6; }
.alr-crumbs [aria-current] { opacity: .8; }
.alr-skip { position: absolute; left: -9999px; }
.alr-skip:focus { left: 12px; top: 12px; z-index: 10; background: #fff; color: #000; padding: 8px 12px; border-radius: 8px; }
/* Crawlable, visible summary below the app */
.alr-seo { max-width: 1680px; margin: 0 auto; padding: 8px 16px 40px; }
.alr-seo-in { background: var(--color-panel); border: 1px solid var(--color-border-line); border-radius: 16px; padding: 20px; display: grid; gap: 18px; }
.alr-seo h2 { margin: 0 0 6px; font-size: 1.25rem; }
.alr-seo h3 { margin: 0 0 6px; font-size: 1rem; }
.alr-seo p, .alr-seo li, .alr-seo td, .alr-seo th { font-size: .9375rem; }
.alr-seo table { border-collapse: collapse; width: 100%; }
.alr-seo th, .alr-seo td { text-align: left; padding: 6px 8px; border-bottom: 1px solid var(--color-border-line); vertical-align: top; }
.alr-seo .alr-scrollx { overflow-x: auto; }
.alr-seo a { color: inherit; }
.alr-seo .muted { color: var(--color-fg-muted); }
.alr-foot { text-align: center; padding: 16px; font: 13px/1.5 ui-sans-serif, system-ui, sans-serif; color: #A3A3B2; background: #0B0B10; }
.alr-foot a { color: #EDEDF2; }
.alr-seo-in > * { min-width: 0; }
