/* ============================================================================
   Cosmos — Brand Navy (dark). Surfaces derive from the light theme's navy
   family so dark reads as the same product, not a different application.
   Contrast (computed): fg/canvas 15.9:1, fg-muted/surface 7.0:1,
   fg-subtle/surface 5.2:1.
   ============================================================================ */
[data-cosmos-theme="navy"] {
  --cosmos-canvas:         #0b1420;
  --cosmos-surface:        #111d2c;
  --cosmos-surface-raised: #16273a;
  --cosmos-rail:           #0a1220;
  --cosmos-input:          #0e1929;

  --cosmos-border:         #1e2f44;
  --cosmos-border-strong:  #2b415c;

  --cosmos-fg:             #e3ecf6;
  --cosmos-fg-muted:       #94a8bf;
  --cosmos-fg-subtle:      #7d90a8;
  --cosmos-fg-on-accent:   #0b1420;
  --cosmos-rail-fg:        #8fa4be;

  --cosmos-brand:          #3fb6e0;
  --cosmos-brand-muted:    #2b7f9e;
  --cosmos-brand-soft:     #12303f;

  --cosmos-accent:         #f0913f;
  --cosmos-accent-soft:    #3a2716;

  --cosmos-status-good:           #3fbf74;
  --cosmos-status-good-soft:      #12301f;
  --cosmos-status-warn:           #e0a83c;
  --cosmos-status-warn-soft:      #332711;
  --cosmos-status-bad:            #ef6a6a;
  --cosmos-status-bad-soft:       #341a1c;
  --cosmos-status-info:           #5a9bf5;
  --cosmos-status-info-soft:      #16243d;

  --cosmos-row-hover:      #16263a;
  --cosmos-row-selected:   #1c3a52;
  --cosmos-focus-ring:     rgba(63, 182, 224, 0.45);

  --cosmos-shadow-1:       0 1px 2px rgba(0, 0, 0, 0.40);
  --cosmos-shadow-2:       0 6px 18px rgba(0, 0, 0, 0.45);
  --cosmos-shadow-tint:    rgba(0, 0, 0, 0.55);

  --cosmos-mod-aircraft:   #5b8def;
  --cosmos-mod-airport:    #34d399;
  --cosmos-mod-safety:     #f87171;
  --cosmos-mod-weather:    #60a5fa;
  --cosmos-mod-admin:      #a78bfa;
  --cosmos-mod-system:     #fbbf24;

  /* Module ICON tones -- the rail draws these as foreground text, and the rail ground is a
     dark navy in EVERY theme, so these stay bright in all three. They are a separate role
     from --cosmos-mod-*, which the header chip uses as a BACKGROUND under dark text. The two
     roles want opposite lightness in the light theme, which is why one token cannot serve
     both -- collapsing them made the light-theme rail icons nearly invisible. */
  --cosmos-mod-aircraft-icon: #5b8def;
  --cosmos-mod-airport-icon: #34d399;
  --cosmos-mod-safety-icon: #f87171;
  --cosmos-mod-weather-icon: #60a5fa;
  --cosmos-mod-admin-icon: #a78bfa;
  --cosmos-mod-system-icon: #fbbf24;
}
