:root {
  color-scheme: light;
  --bg: #f0f4f8;
  --surf: #ffffff;
  --surf2: #f4f7fa;
  --brd: #dde3ec;
  --acc: #2563eb;
  --acc-strong: #1d4ed8;
  --txt: #1a2332;
  --mut: #6b7f96;
  --op: #15803d;
  --con: #0284c7;
  --sus: #f59e0b;
  --off: #dc2626;
  --dec: #64748b;
  --pla: #8b5cf6;
  --rev: #0d9488;
  --fm: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --shadow-soft: 0 10px 24px rgba(20, 35, 50, 0.08);
  --shadow-panel: 0 16px 36px rgba(20, 35, 50, 0.1);
  --ink: var(--txt);
  --muted: var(--mut);
  --paper: var(--surf);
  --line: var(--brd);
  --accent: var(--acc);
  --accent-soft: #eff6ff;
  --good: var(--op);
  --warn: var(--con);
  --hot: var(--sus);
  --cold: var(--dec);
  --plan: var(--pla);
  --radius: 18px;

  --page-bg: radial-gradient(920px 540px at 10% -10%, #dce9fb 0%, transparent 58%), linear-gradient(180deg, #f5f9fd 0%, #eef4fa 46%, var(--bg) 100%);
  --header-bg: rgba(255, 255, 255, 0.92);
  --header-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  --brand-mark-bg: #0f766e;
  --brand-mark-color: #ffffff;
  --brand-mark-shadow: 0 8px 18px rgba(15, 118, 110, 0.24);
  --control-bg: rgba(255, 255, 255, 0.96);
  --control-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
  --control-hover-bg: #eff6ff;
  --control-hover-border: #bfd2fb;
  --control-hover-text: #1d4ed8;
  --control-active-bg: #dbeafe;
  --control-active-border: #93c5fd;
  --control-active-text: #1e40af;
  --subtle-hover-bg: #eef2f7;
  --subtle-hover-border: #cbd5e1;
  --subtle-hover-text: #334155;
  --panel-shadow: 0 -2px 20px rgba(0, 0, 0, 0.10);
  --resizer-hover: #93c5fd;
  --resizer-active: #94a3b8;
  --map-bg: var(--bg);
  --map-tile-filter: none;
  --leaflet-container-bg: #d4e6f1;
  --leaflet-tooltip-bg: #ffffff;
  --leaflet-tooltip-border: #dde3ec;
  --leaflet-tooltip-text: #1a2332;
  --leaflet-tooltip-accent: #2563eb;
  --marker-outline: #ffffff;
  --marker-text-dark: #0f172a;
  --nuclear-country-fill: #bbf7d0;
  --event-active-bg: #eaf2ff;
  --event-active-border: #7da7f2;
  --event-active-shadow: #2563eb;
  --warning-bg: #fff7ed;
  --warning-text: #9a3412;
  --warning-border: #fdba74;
  --info-soft-bg: #f7fbff;
  --info-soft-border: #d7deeb;
  --news-card-bg: #fffaf1;
  --news-card-border: #f1dfbd;
  --link-card-bg: #f8fafc;
  --link-card-border: #dbe3ee;
  --empty-bg: #f1f5f9;
  --empty-text: #64748b;
  --map-control-lane-width: 58px;
  --sidebar-width: 250px;
  --sidebar-min-width: 300px;
  --sidebar-max-width-ratio: 0.45;
  --sidebar-default-max-width: 560px;
  --sidebar-mobile-max-width: 420px;
  --sidebar-desktop-default-ratio: 0.35;
  --sidebar-mobile-default-ratio: 0.88;
  --bottom-panel-min-height: 180px;
  --bottom-panel-default-height-ratio: 0.55;
  --bottom-panel-default-max-height: 380px;
  --bottom-panel-max-height-ratio: 0.82;

  --history-ink: #172033;
  --history-muted: #637083;
  --history-line: #d9e1eb;
  --history-panel: rgba(255, 255, 255, .94);
  --history-panel-solid: rgba(255, 255, 255, .98);
  --history-panel-shadow: 0 14px 38px rgba(15, 23, 42, .16);
  --history-accent: #2563eb;
  --history-primary-text: #1d4ed8;
  --history-current: #e11d48;
  --history-control-bg: #ffffff;
  --history-control-hover-bg: #f8fbff;
  --history-control-primary-bg: #eaf1ff;
  --history-current-bg: #eaf1ff;
  --history-current-border: #93b4f7;
  --history-action-border: #b8cdfb;
  --history-media-bg: #eef3f8;
  --history-progress-bg: #e8eef6;
  --history-row-timer-bg: #cbd8ea;
  --history-row-timer-bar: linear-gradient(90deg, #e11d48, #f59e0b);
  --history-ok: #0f766e;
  --history-timing-bg: rgba(255, 255, 255, .82);
  --history-marker-bg: rgba(255, 255, 255, .96);
  --history-marker-outline: rgba(255, 255, 255, .96);
  --history-row-timer-glow: 0 0 0 1px rgba(255, 255, 255, .35) inset, 0 0 12px rgba(225, 29, 72, .35);
  --history-next-bg: rgba(255, 255, 255, .94);
  --history-route-target: #f59e0b;
  --history-popup-text: #2b3548;
  --history-year-pill-border: #4fc3f7;
  --history-conclusio-bg: linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(247, 250, 255, .98)), #f8fbff;
  --history-conclusio-border: #c9d9f5;
  --history-conclusio-text: #142033;
  --history-conclusio-shadow: 0 10px 28px rgba(15, 23, 42, .08);
  --history-signature-text: #475569;
  --history-signature-rule: #94a3b8;
  --history-scrollbar-track: #eef3f8;
  --history-scrollbar-thumb: #b9c7d8;
  --history-scrollbar-thumb-hover: #94a3b8;

  --fleet-toggle-bg: var(--surf2);
  --fleet-toggle-border: var(--line);
  --fleet-toggle-active-bg: #ffffff;
  --fleet-toggle-active-text: var(--acc-strong);
  --fleet-toggle-active-shadow: 0 1px 2px rgba(20, 35, 50, 0.12);
  --fleet-stat-bg: var(--surf2);
  --fleet-stat-border: var(--line);
  --fleet-card-bg: #ffffff;
  --fleet-card-border: var(--line);
  --fleet-card-current-bg: #eff6ff;
  --fleet-card-current-border: var(--acc);
  --fleet-card-current-shadow: 0 0 0 2px rgba(37, 99, 235, 0.12);
  --fleet-card-hover-shadow: 0 8px 20px rgba(20, 35, 50, 0.08);
  --fleet-type-chip-bg: #eff6ff;
  --fleet-type-chip-border: #bfd2fb;
  --fleet-type-chip-text: #143f9f;

  --cfp-page-bg: var(--page-bg);
  --cfp-surface-bg: rgba(255, 255, 255, 0.92);
  --cfp-panel-bg: rgba(255, 255, 255, 0.92);
  --cfp-panel-shadow: 0 12px 28px rgba(20, 35, 50, 0.08);
  --cfp-panel-title: #0f172a;
  --cfp-panel-copy: #64748b;
  --cfp-panel-soft-bg: #f8fbff;
  --cfp-panel-soft-border: #dbe3ef;
  --cfp-ink: #0f172a;
  --cfp-muted-strong: #475569;
  --cfp-muted-soft: #64748b;
  --cfp-control-bg: #eff6ff;
  --cfp-control-border: #bfd2fb;
  --cfp-control-text: #143f9f;
  --cfp-input-bg: #ffffff;
  --cfp-chip-bg: rgba(255, 255, 255, 0.86);
  --cfp-list-bg: rgba(255, 255, 255, 0.76);
  --cfp-list-row-border: #e1e8f2;
  --cfp-list-selected-bg: #eef5ff;
  --cfp-map-bg: #c5ced5;
  --cfp-map-canvas-bg: #d7e3ec;
  --cfp-map-overlay-bg: rgba(255, 255, 255, 0.9);
  --cfp-map-label-bg: rgba(255, 255, 255, 0.94);
  --cfp-map-label-border: rgba(15, 23, 42, 0.28);
  --cfp-map-label-text: #0f172a;
  --cfp-chart-bg: #f8fbff;
  --cfp-chart-grid: #dbe5f2;
  --cfp-danger-bg: #fff1f2;
  --cfp-danger-border: #fecaca;
  --cfp-danger-text: #9f1239;

  --clean-firm-pill-bg: rgba(255, 255, 255, 0.92);
  --clean-firm-pill-border: #dbe4f3;
  --clean-firm-pill-label: #6a7890;
  --clean-firm-pill-shadow: 0 4px 14px rgba(20, 35, 50, 0.06);
  --clean-firm-pill-value-bg: rgba(255, 255, 255, 0.84);

  --clean-firm-red-text: #b91c1c;
  --clean-firm-red-bg: #fef2f2;
  --clean-firm-red-border: #fca5a5;
  --clean-firm-red-value-bg: #fee2e2;
  --clean-firm-orange-text: #c2410c;
  --clean-firm-orange-bg: #fff7ed;
  --clean-firm-orange-border: #fdba74;
  --clean-firm-orange-value-bg: #ffedd5;
  --clean-firm-yellow-text: #b45309;
  --clean-firm-yellow-bg: #fffbeb;
  --clean-firm-yellow-border: #fcd34d;
  --clean-firm-yellow-value-bg: #fef3c7;
  --clean-firm-green-text: #15803d;
  --clean-firm-green-bg: #f0fdf4;
  --clean-firm-green-border: #86efac;
  --clean-firm-green-value-bg: #dcfce7;
  --clean-firm-darkgreen-text: #047857;
  --clean-firm-darkgreen-bg: #ecfdf5;
  --clean-firm-darkgreen-border: #34d399;
  --clean-firm-darkgreen-value-bg: #d1fae5;
}

:root:not([data-map-theme]),
:root[data-map-theme="dark"] {
  color-scheme: dark;
  --bg: #0b1120;
  --surf: #111827;
  --surf2: #182235;
  --brd: #2f3b52;
  --acc: #60a5fa;
  --acc-strong: #93c5fd;
  --txt: #e5edf8;
  --mut: #9fb0c7;
  --op: #22c55e;
  --con: #38bdf8;
  --sus: #fbbf24;
  --off: #f87171;
  --dec: #94a3b8;
  --pla: #a78bfa;
  --rev: #2dd4bf;
  --shadow-soft: 0 10px 24px rgba(0, 0, 0, 0.34);
  --shadow-panel: 0 18px 42px rgba(0, 0, 0, 0.42);
  --accent-soft: rgba(96, 165, 250, 0.16);
  --page-bg: radial-gradient(900px 560px at 10% -10%, rgba(59, 130, 246, 0.20) 0%, transparent 60%), linear-gradient(180deg, #0f172a 0%, #0b1120 54%, #070b14 100%);
  --header-bg: rgba(12, 18, 32, 0.90);
  --header-shadow: 0 1px 0 rgba(255, 255, 255, 0.04);
  --brand-mark-bg: #6ee7b7;
  --brand-mark-color: #052e1a;
  --brand-mark-shadow: 0 0 0 1px rgba(167, 243, 208, 0.34), 0 10px 24px rgba(110, 231, 183, 0.22);
  --control-bg: rgba(17, 24, 39, 0.96);
  --control-shadow: 0 10px 28px rgba(0, 0, 0, 0.32);
  --control-hover-bg: rgba(96, 165, 250, 0.18);
  --control-hover-border: rgba(147, 197, 253, 0.62);
  --control-hover-text: #bfdbfe;
  --control-active-bg: rgba(96, 165, 250, 0.24);
  --control-active-border: rgba(147, 197, 253, 0.70);
  --control-active-text: #dbeafe;
  --subtle-hover-bg: #1e293b;
  --subtle-hover-border: #475569;
  --subtle-hover-text: #dbeafe;
  --panel-shadow: 0 -2px 24px rgba(0, 0, 0, 0.42);
  --resizer-hover: #60a5fa;
  --resizer-active: #64748b;
  --map-bg: #0b1120;
  --map-tile-filter: none;
  --leaflet-container-bg: #0f172a;
  --leaflet-tooltip-bg: #111827;
  --leaflet-tooltip-border: #334155;
  --leaflet-tooltip-text: #e5edf8;
  --leaflet-tooltip-accent: #93c5fd;
  --marker-outline: #0b1120;
  --marker-text-dark: #06111f;
  --nuclear-country-fill: #22c55e;
  --event-active-bg: rgba(96, 165, 250, 0.18);
  --event-active-border: rgba(147, 197, 253, 0.66);
  --event-active-shadow: #60a5fa;
  --warning-bg: rgba(251, 146, 60, 0.14);
  --warning-text: #fed7aa;
  --warning-border: #fb923c;
  --info-soft-bg: #101a2b;
  --info-soft-border: #2f3b52;
  --news-card-bg: rgba(251, 191, 36, 0.12);
  --news-card-border: rgba(251, 191, 36, 0.34);
  --link-card-bg: #151f31;
  --link-card-border: #334155;
  --empty-bg: #151f31;
  --empty-text: #9fb0c7;

  --history-ink: #071327;
  --history-muted: #52657c;
  --history-line: #b9c7d8;
  --history-panel: rgba(224, 231, 241, .96);
  --history-panel-solid: rgba(224, 231, 241, .98);
  --history-panel-shadow: 0 14px 38px rgba(0, 0, 0, .32);
  --history-accent: #2563eb;
  --history-primary-text: #1d4ed8;
  --history-current: #c51643;
  --history-control-bg: #e3eaf3;
  --history-control-hover-bg: #d9e4f2;
  --history-control-primary-bg: #d7e5ff;
  --history-current-bg: #d8e6ff;
  --history-current-border: #7da2ef;
  --history-action-border: #9eb8e7;
  --history-media-bg: #d9e3ef;
  --history-progress-bg: #cfdceb;
  --history-row-timer-bg: #b9c7d8;
  --history-row-timer-bar: linear-gradient(90deg, #c51643, #d97706);
  --history-ok: #0f766e;
  --history-timing-bg: rgba(224, 231, 241, .86);
  --history-marker-bg: rgba(224, 231, 241, .96);
  --history-marker-outline: rgba(224, 231, 241, .96);
  --history-row-timer-glow: 0 0 0 1px rgba(224, 231, 241, .38) inset, 0 0 10px rgba(197, 22, 67, .28);
  --history-next-bg: rgba(224, 231, 241, .94);
  --history-route-target: #d97706;
  --history-popup-text: #172033;
  --history-year-pill-border: #5aa8da;
  --history-conclusio-bg: linear-gradient(180deg, rgba(224, 231, 241, .98), rgba(212, 223, 238, .98)), #dce6f2;
  --history-conclusio-border: #9fb4d2;
  --history-conclusio-text: #071327;
  --history-conclusio-shadow: 0 10px 28px rgba(0, 0, 0, .16);
  --history-signature-text: #334155;
  --history-signature-rule: #64748b;
  --history-scrollbar-track: #d7e1ee;
  --history-scrollbar-thumb: #8da0b6;
  --history-scrollbar-thumb-hover: #6f8299;

  --fleet-toggle-bg: #0f172a;
  --fleet-toggle-border: var(--brd);
  --fleet-toggle-active-bg: var(--surf2);
  --fleet-toggle-active-text: #bfdbfe;
  --fleet-toggle-active-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
  --fleet-stat-bg: var(--surf2);
  --fleet-stat-border: var(--brd);
  --fleet-card-bg: var(--surf2);
  --fleet-card-border: var(--brd);
  --fleet-card-current-bg: rgba(96, 165, 250, 0.16);
  --fleet-card-current-border: rgba(147, 197, 253, 0.56);
  --fleet-card-current-shadow: 0 0 0 2px rgba(96, 165, 250, 0.18);
  --fleet-card-hover-shadow: 0 8px 20px rgba(0, 0, 0, 0.26);
  --fleet-type-chip-bg: rgba(96, 165, 250, 0.16);
  --fleet-type-chip-border: rgba(147, 197, 253, 0.48);
  --fleet-type-chip-text: #bfdbfe;

  --cfp-page-bg: var(--page-bg);
  --cfp-surface-bg: rgba(17, 24, 39, 0.94);
  --cfp-panel-bg: rgba(17, 24, 39, 0.94);
  --cfp-panel-shadow: 0 16px 36px rgba(0, 0, 0, 0.34);
  --cfp-panel-title: #dbeafe;
  --cfp-panel-copy: #a9bad1;
  --cfp-panel-soft-bg: #151f31;
  --cfp-panel-soft-border: #334155;
  --cfp-ink: #e5edf8;
  --cfp-muted-strong: #b6c4d8;
  --cfp-muted-soft: #9fb0c7;
  --cfp-control-bg: rgba(96, 165, 250, 0.16);
  --cfp-control-border: rgba(147, 197, 253, 0.48);
  --cfp-control-text: #bfdbfe;
  --cfp-input-bg: #0f172a;
  --cfp-chip-bg: rgba(15, 23, 42, 0.72);
  --cfp-list-bg: rgba(15, 23, 42, 0.72);
  --cfp-list-row-border: #2a374d;
  --cfp-list-selected-bg: rgba(96, 165, 250, 0.18);
  --cfp-map-bg: #0f172a;
  --cfp-map-canvas-bg: #0b1120;
  --cfp-map-overlay-bg: rgba(15, 23, 42, 0.88);
  --cfp-map-label-bg: rgba(15, 23, 42, 0.92);
  --cfp-map-label-border: rgba(147, 197, 253, 0.42);
  --cfp-map-label-text: #e5edf8;
  --cfp-chart-bg: #101a2b;
  --cfp-chart-grid: #2f3b52;
  --cfp-danger-bg: rgba(244, 63, 94, 0.14);
  --cfp-danger-border: rgba(251, 113, 133, 0.42);
  --cfp-danger-text: #fecdd3;

  --clean-firm-pill-bg: rgba(15, 23, 42, 0.58);
  --clean-firm-pill-border: rgba(148, 163, 184, 0.36);
  --clean-firm-pill-label: #b6c4d8;
  --clean-firm-pill-shadow: 0 8px 20px rgba(0, 0, 0, 0.22);
  --clean-firm-pill-value-bg: rgba(255, 255, 255, 0.10);

  --clean-firm-red-text: #fecdd3;
  --clean-firm-red-bg: rgba(244, 63, 94, 0.18);
  --clean-firm-red-border: rgba(251, 113, 133, 0.54);
  --clean-firm-red-value-bg: rgba(244, 63, 94, 0.22);
  --clean-firm-orange-text: #fed7aa;
  --clean-firm-orange-bg: rgba(249, 115, 22, 0.18);
  --clean-firm-orange-border: rgba(251, 146, 60, 0.56);
  --clean-firm-orange-value-bg: rgba(249, 115, 22, 0.22);
  --clean-firm-yellow-text: #fde68a;
  --clean-firm-yellow-bg: rgba(234, 179, 8, 0.18);
  --clean-firm-yellow-border: rgba(250, 204, 21, 0.56);
  --clean-firm-yellow-value-bg: rgba(234, 179, 8, 0.22);
  --clean-firm-green-text: #bbf7d0;
  --clean-firm-green-bg: rgba(34, 197, 94, 0.18);
  --clean-firm-green-border: rgba(74, 222, 128, 0.54);
  --clean-firm-green-value-bg: rgba(34, 197, 94, 0.22);
  --clean-firm-darkgreen-text: #a7f3d0;
  --clean-firm-darkgreen-bg: rgba(16, 185, 129, 0.18);
  --clean-firm-darkgreen-border: rgba(52, 211, 153, 0.54);
  --clean-firm-darkgreen-value-bg: rgba(16, 185, 129, 0.22);
}

:root[data-map-theme="nuclear"] {
  color-scheme: dark;
  --bg: #07120d;
  --surf: #0b1713;
  --surf2: #12231c;
  --brd: #244537;
  --acc: #a3e635;
  --acc-strong: #bef264;
  --txt: #e8f3ea;
  --mut: #9db2a4;
  --op: #2ccf6b;
  --con: #38bdf8;
  --sus: #eab308;
  --off: #fb7185;
  --dec: #94a3b8;
  --pla: #a78bfa;
  --rev: #2dd4bf;
  --shadow-soft: 0 10px 24px rgba(0, 0, 0, 0.34);
  --shadow-panel: 0 18px 42px rgba(0, 0, 0, 0.42);
  --accent-soft: rgba(163, 230, 53, 0.14);
  --page-bg: radial-gradient(900px 560px at 10% -10%, rgba(132, 204, 22, 0.18) 0%, transparent 58%), linear-gradient(180deg, #0a1710 0%, #07120d 54%, #030604 100%);
  --header-bg: rgba(5, 13, 10, 0.92);
  --header-shadow: 0 1px 0 rgba(255, 255, 255, 0.04);
  --brand-mark-bg: #a3e635;
  --brand-mark-color: #07120d;
  --brand-mark-shadow: 0 0 0 1px rgba(217, 249, 157, 0.36), 0 10px 24px rgba(163, 230, 53, 0.26);
  --control-bg: rgba(11, 23, 19, 0.96);
  --control-shadow: 0 10px 28px rgba(0, 0, 0, 0.32);
  --control-hover-bg: rgba(163, 230, 53, 0.14);
  --control-hover-border: rgba(190, 242, 100, 0.52);
  --control-hover-text: #d9f99d;
  --control-active-bg: rgba(163, 230, 53, 0.22);
  --control-active-border: rgba(217, 249, 157, 0.70);
  --control-active-text: #ecfccb;
  --subtle-hover-bg: #132820;
  --subtle-hover-border: #315744;
  --subtle-hover-text: #d9f99d;
  --panel-shadow: 0 -2px 24px rgba(0, 0, 0, 0.42);
  --resizer-hover: #a3e635;
  --resizer-active: #5f7f2d;
  --map-bg: #07120d;
  --map-tile-filter: none;
  --leaflet-container-bg: #07120d;
  --leaflet-tooltip-bg: #0b1713;
  --leaflet-tooltip-border: #315744;
  --leaflet-tooltip-text: #e8f3ea;
  --leaflet-tooltip-accent: #bef264;
  --marker-outline: #07120d;
  --marker-text-dark: #07120d;
  --nuclear-country-fill: #3f6212;
  --event-active-bg: rgba(163, 230, 53, 0.14);
  --event-active-border: rgba(190, 242, 100, 0.60);
  --event-active-shadow: #a3e635;
  --warning-bg: rgba(251, 146, 60, 0.14);
  --warning-text: #fed7aa;
  --warning-border: #fb923c;
  --info-soft-bg: #0e1e17;
  --info-soft-border: #244537;
  --news-card-bg: rgba(234, 179, 8, 0.13);
  --news-card-border: rgba(234, 179, 8, 0.42);
  --link-card-bg: #0e1e17;
  --link-card-border: #244537;
  --empty-bg: #0e1e17;
  --empty-text: #9db2a4;

  --history-ink: #10200f;
  --history-muted: #607458;
  --history-line: #b6c8a5;
  --history-panel: rgba(229, 242, 220, .96);
  --history-panel-solid: rgba(229, 242, 220, .98);
  --history-panel-shadow: 0 14px 38px rgba(0, 0, 0, .32);
  --history-accent: #84cc16;
  --history-primary-text: #3f6212;
  --history-current: #c51643;
  --history-control-bg: #dfead6;
  --history-control-hover-bg: #d2e2c2;
  --history-control-primary-bg: #eaf8d6;
  --history-current-bg: #eaf8d6;
  --history-current-border: #a3e635;
  --history-action-border: #a9bd86;
  --history-media-bg: #d5e3cb;
  --history-progress-bg: #ccdbc1;
  --history-row-timer-bg: #b6c8a5;
  --history-row-timer-bar: linear-gradient(90deg, #c51643, #d97706);
  --history-ok: #0f766e;
  --history-timing-bg: rgba(229, 242, 220, .86);
  --history-marker-bg: rgba(229, 242, 220, .96);
  --history-marker-outline: rgba(229, 242, 220, .96);
  --history-row-timer-glow: 0 0 0 1px rgba(229, 242, 220, .38) inset, 0 0 10px rgba(197, 22, 67, .28);
  --history-next-bg: rgba(229, 242, 220, .94);
  --history-route-target: #d97706;
  --history-popup-text: #10200f;
  --history-year-pill-border: #a3e635;
  --history-conclusio-bg: linear-gradient(180deg, rgba(229, 242, 220, .98), rgba(215, 230, 205, .98)), #e5f2dc;
  --history-conclusio-border: #a9bd86;
  --history-conclusio-text: #10200f;
  --history-conclusio-shadow: 0 10px 28px rgba(0, 0, 0, .16);
  --history-signature-text: #3f4f3a;
  --history-signature-rule: #6f8265;
  --history-scrollbar-track: #d7e6cf;
  --history-scrollbar-thumb: #91a582;
  --history-scrollbar-thumb-hover: #708362;

  --fleet-toggle-bg: #07120d;
  --fleet-toggle-border: var(--brd);
  --fleet-toggle-active-bg: var(--surf2);
  --fleet-toggle-active-text: #d9f99d;
  --fleet-toggle-active-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
  --fleet-stat-bg: var(--surf2);
  --fleet-stat-border: var(--brd);
  --fleet-card-bg: var(--surf2);
  --fleet-card-border: var(--brd);
  --fleet-card-current-bg: rgba(163, 230, 53, 0.14);
  --fleet-card-current-border: rgba(190, 242, 100, 0.56);
  --fleet-card-current-shadow: 0 0 0 2px rgba(163, 230, 53, 0.16);
  --fleet-card-hover-shadow: 0 8px 20px rgba(0, 0, 0, 0.26);
  --fleet-type-chip-bg: rgba(163, 230, 53, 0.14);
  --fleet-type-chip-border: rgba(190, 242, 100, 0.48);
  --fleet-type-chip-text: #d9f99d;

  --cfp-page-bg: var(--page-bg);
  --cfp-surface-bg: rgba(11, 23, 19, 0.94);
  --cfp-panel-bg: rgba(11, 23, 19, 0.94);
  --cfp-panel-shadow: 0 16px 36px rgba(0, 0, 0, 0.34);
  --cfp-panel-title: #ecfccb;
  --cfp-panel-copy: #aabd9f;
  --cfp-panel-soft-bg: #0e1e17;
  --cfp-panel-soft-border: #244537;
  --cfp-ink: #e8f3ea;
  --cfp-muted-strong: #c0d0c4;
  --cfp-muted-soft: #9db2a4;
  --cfp-control-bg: rgba(163, 230, 53, 0.14);
  --cfp-control-border: rgba(190, 242, 100, 0.48);
  --cfp-control-text: #d9f99d;
  --cfp-input-bg: #07120d;
  --cfp-chip-bg: rgba(7, 18, 13, 0.72);
  --cfp-list-bg: rgba(7, 18, 13, 0.72);
  --cfp-list-row-border: #1d382d;
  --cfp-list-selected-bg: rgba(163, 230, 53, 0.16);
  --cfp-map-bg: #07120d;
  --cfp-map-canvas-bg: #030604;
  --cfp-map-overlay-bg: rgba(7, 18, 13, 0.88);
  --cfp-map-label-bg: rgba(7, 18, 13, 0.92);
  --cfp-map-label-border: rgba(190, 242, 100, 0.38);
  --cfp-map-label-text: #e8f3ea;
  --cfp-chart-bg: #0e1e17;
  --cfp-chart-grid: #244537;
  --cfp-danger-bg: rgba(244, 63, 94, 0.14);
  --cfp-danger-border: rgba(251, 113, 133, 0.42);
  --cfp-danger-text: #fecdd3;

  --clean-firm-pill-bg: rgba(7, 18, 13, 0.58);
  --clean-firm-pill-border: rgba(157, 178, 164, 0.36);
  --clean-firm-pill-label: #c0d0c4;
  --clean-firm-pill-shadow: 0 8px 20px rgba(0, 0, 0, 0.22);
  --clean-firm-pill-value-bg: rgba(255, 255, 255, 0.10);

  --clean-firm-red-text: #fecdd3;
  --clean-firm-red-bg: rgba(244, 63, 94, 0.18);
  --clean-firm-red-border: rgba(251, 113, 133, 0.54);
  --clean-firm-red-value-bg: rgba(244, 63, 94, 0.22);
  --clean-firm-orange-text: #fed7aa;
  --clean-firm-orange-bg: rgba(249, 115, 22, 0.18);
  --clean-firm-orange-border: rgba(251, 146, 60, 0.56);
  --clean-firm-orange-value-bg: rgba(249, 115, 22, 0.22);
  --clean-firm-yellow-text: #fde68a;
  --clean-firm-yellow-bg: rgba(234, 179, 8, 0.18);
  --clean-firm-yellow-border: rgba(250, 204, 21, 0.56);
  --clean-firm-yellow-value-bg: rgba(234, 179, 8, 0.22);
  --clean-firm-green-text: #bbf7d0;
  --clean-firm-green-bg: rgba(34, 197, 94, 0.18);
  --clean-firm-green-border: rgba(74, 222, 128, 0.54);
  --clean-firm-green-value-bg: rgba(34, 197, 94, 0.22);
  --clean-firm-darkgreen-text: #a7f3d0;
  --clean-firm-darkgreen-bg: rgba(16, 185, 129, 0.18);
  --clean-firm-darkgreen-border: rgba(52, 211, 153, 0.54);
  --clean-firm-darkgreen-value-bg: rgba(16, 185, 129, 0.22);
}
