/* Kept identical across independently built Alvend frontends and the entrance page. */
:root {
  --font-sans: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  --text-body: 1rem;
  --text-ui: 0.875rem;
  --text-meta: 0.75rem;
  --text-title: 1.25rem;
  --text-section: 1.125rem;
  --text-metric: 1.75rem;
  --text-display: clamp(2rem, 1.5rem + 2vw, 2.25rem);
  --leading-body: 1.5;
  --leading-title: 1.4;
  --leading-display: 1.25;
  color-scheme: light;
  --background: #f1f1f1;
  --card: #ffffff;
  --muted-bg: #f1f1f1;
  --foreground: #141414;
  --muted: #5a5a5a;
  --border: #e3e3e3;
  --line: var(--border);
  --input: #898989;
  --primary: #0168f9;
  --primary-foreground: #ffffff;
  --primary-hover: #0059d6;
  --brand: #0059d6;
  --brand-hover: #0059d6;
  --brand-subtle: #eaf2ff;
  --success: #047857;
  --success-subtle: #ecfdf5;
  --success-border: #a7f3d0;
  --warning: #92400e;
  --warning-subtle: #fffbeb;
  --warning-border: #fde68a;
  --destructive: #b91c1c;
  --destructive-foreground: #ffffff;
  --destructive-subtle: #fef2f2;
  --destructive-border: #fecdd3;
  --info: #1e40af;
  --info-subtle: #eff6ff;
  --info-border: #bfdbfe;
  --selection: #eaf2ff;
  --selection-foreground: #0059d6;
  --header-background: rgba(241, 241, 241, 0.88);
  --map-land: #f0f5f2;
  --map-line: #adbfbb;
  --heat-low: #f0fdf4;
  --heat-medium: #bbf7d0;
  --heat-high: #4ade80;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --brand: #8eb9ff;
  --background: #171717;
  --card: #262626;
  --muted-bg: #303030;
  --foreground: #fafafa;
  --muted: #a1a1aa;
  --border: #454545;
  --input: #737373;
  --primary: #0168f9;
  --primary-foreground: #ffffff;
  --primary-hover: #0059d6;
  --brand-hover: #8eb9ff;
  --brand-subtle: #203858;
  --success: #6ee7b7;
  --success-subtle: #052e23;
  --success-border: #065f46;
  --warning: #fcd34d;
  --warning-subtle: #352305;
  --warning-border: #854d0e;
  --destructive: #fca5a5;
  --destructive-foreground: #450a0a;
  --destructive-subtle: #3b1019;
  --destructive-border: #881337;
  --info: #93c5fd;
  --info-subtle: #172554;
  --info-border: #1e40af;
  --selection: #203858;
  --selection-foreground: #b2d0ff;
  --header-background: rgba(23, 23, 23, 0.88);
  --map-land: #27272a;
  --map-line: #52525b;
  --heat-low: #052e23;
  --heat-medium: #065f46;
  --heat-high: #047857;
}

/* Approved Alvend outlet symbol; the existing brand tile owns its surface. */
.brand-mark { flex-shrink: 0; }
.brand-mark > img { display: block; width: 84%; height: 84%; }
