/* Performance Dashboard · LEOPON dark command system. */
@font-face { font-family: Arimo; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/arimo-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: Arimo; font-style: italic; font-weight: 400; font-display: swap; src: url('/fonts/arimo-latin-400-italic.woff2') format('woff2'); }
:root {
  color-scheme: dark;
  --bg-primary: #0B123A;
  --bg-secondary: #0D1742;
  --surface-solid: #111D4B;
  --surface-glass: rgba(17,29,75,0.80);
  --surface-glass-strong: rgba(17,29,75,0.93);
  --surface-glass-soft: rgba(17,29,75,0.60);
  --tile-glass: linear-gradient(125deg,rgba(163,222,255,.14),rgba(78,147,205,.035) 38%,rgba(12,31,65,.06) 68%,rgba(116,194,244,.07)),rgba(26,58,92,.26);
  --tile-glass-header: linear-gradient(105deg,rgba(152,219,255,.075),rgba(72,144,199,.015));
  --tile-glass-border: rgba(139,207,255,.22);
  --tile-glass-edge: rgba(171,226,255,.4);
  --tile-glass-shadow: inset 0 1px 0 rgba(235,249,255,.1),inset 0 -1px 0 rgba(126,204,255,.05),0 12px 30px rgba(2,8,30,.16);
  --text-primary: #EEF4FF;
  --ice-white: #EEF4FF;
  --text-secondary: #B8C9EE;
  --text-tertiary: #91A6D2;
  --text-muted: #A1B4DF;
  --neon-cyan: #28D8FF;
  --electric-blue: #578FFF;
  --neon-lavender: #A48BFF;
  --soft-violet: #AF8DFF;
  --iris-pink: #FF55D7;
  --status-success: #67DAFF;
  --status-warning: #FF55D7;
  --status-error: #FF7DBB;
  --status-info: #28D8FF;
  --glow-cyan: rgba(40,216,255,0.10);
  --glow-lavender: rgba(40,216,255,0.04);
  --gradient-primary: linear-gradient(110deg, #28D8FF, #3563FF);
  --gradient-secondary: linear-gradient(110deg, #578FFF, #FF55D7);
  --gradient-soft: linear-gradient(110deg, #182757, #101941);
  /* Luminous semantic inks, measured against dark tinted surfaces. */
  --ink-cyan: #92E8FF;
  --ink-violet: #D0BFFF;
  --ink-success: #9FE5FF;
  --ink-warning: #FFB3E5;
  --ink-error: #FFB8D9;
  --ink-info: #A9D9FF;
  --tint-cyan: #122D58;
  --tint-violet: #26204F;
  --tint-success: #142E51;
  --tint-warning: #352047;
  --tint-error: #3A2047;
  --tint-info: #172B58;
  --tint-neutral: #19254D;
  --accent-pink: #FF55D7;
  --accent-amber: var(--accent-pink); /* Compatibility alias for existing warning components. */
  --border-warning: #844374;
  --border-error: #8E456D;
  --border-success: #2F6388;
  --surface-control: #101C47;
  --surface-hover: rgba(49,91,182,0.20);
  --surface-raised: #1A2B5D;
  --text-on-accent: #081333;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --radius-xs: 3px;
  --radius-sm: 3px;
  --radius-md: 3px;
  --radius-lg: 3px;
  --radius-xl: 3px;
  --radius-pill: 999px;
  --border-width: 1px;
  --border-subtle: #293F75;
  --border-strong: #4673AB;
  --border-glass: rgba(83,139,220,0.15);
  --border-holo: rgba(40,216,255,0.28);
  --border-focus: #9DEAFF;
  --shadow-inset: inset 0 1px 0 rgba(205,231,255,0.025);
  --shadow-panel: 0 8px 22px rgba(0,0,0,0.09);
  --shadow-hover: 0 0 14px rgba(40,216,255,0.045);
  --shadow-dialog: 0 30px 100px rgba(0,0,0,0.65);
  --shadow-holo: 0 0 0 1px rgba(40,216,255,0.025);
  --blur-glass: 5px;
  --blur-overlay: 6px;
  --motion-fast: 140ms;
  --motion-normal: 240ms;
  --motion-slow: 420ms;
  --motion-ambient: 6500ms;
  --motion-orbit: 1800ms;
  --motion-particle-speed: 1;
  --ease-soft: cubic-bezier(.22,.61,.36,1);
  --ease-spring: cubic-bezier(.16,1.22,.3,1);
  --ease-ambient: cubic-bezier(.45,0,.55,1);
  --font-sans: Arimo, Arial, sans-serif;
  --font-mono: var(--font-sans);
  font-synthesis: none;
  --text-xs: 11px;
  --text-sm: 12px;
  --text-base: 14px;
  --text-md: 16px;
  --text-lg: 20px;
  --text-xl: 26px;
  --text-heading: clamp(28px, 2.5vw, 38px);
  --text-kpi: clamp(30px, 2.5vw, 40px);
  --leading-tight: 1.25;
  --leading-normal: 1.6;
  --leading-relaxed: 1.75;
  --weight-normal: 400;
  --weight-medium: 400;
  --weight-semibold: 400;
  --weight-bold: 400;
  --tracking-label: .14em;
  --tracking-heading: -.03em;
  --z-base: 0;
  --z-panel: 1;
  --z-sticky: 20;
  --z-sidebar: 30;
  --z-dialog: 50;
  --z-skip: 100;
  --control-height: 44px;
  --sidebar-width: 258.4px;
  --layout-gutter: 28px;
  --layout-gap: 20px;
  /* Stable aliases for the existing app's semantic variants. */
  --ink: var(--text-primary);
  --muted: var(--text-secondary);
  --subtle: var(--text-muted);
  --line: var(--border-subtle);
  --panel: var(--surface-glass-strong);
  --canvas: var(--bg-primary);
  --cyan: var(--ink-cyan);
  --cyan-soft: var(--tint-cyan);
  --purple: var(--ink-violet);
  --purple-soft: var(--tint-violet);
  --amber: var(--ink-warning);
  --amber-soft: var(--tint-warning);
  --red: var(--ink-error);
  --red-soft: var(--tint-error);
  --green: var(--ink-success);
  --green-soft: var(--tint-success);
  --shadow: var(--shadow-panel);
  --radius: var(--radius-lg);
}
@media (prefers-reduced-motion: reduce) {
  :root { --motion-fast: 1ms; --motion-normal: 1ms; --motion-slow: 1ms; --motion-ambient: 1ms; --motion-orbit: 1ms; }
}
