/* Islas Travel Hub G design tokens (copied from redesign/G/tokens.css) + old --dtt-* variables mapped onto the G palette.
   Loaded last (g-shell.php). Contrast table: redesign/G/DESIGN.md. */
:root {
  /* Forest (sidebar) */
  --forest-950: #0c2516;
  --forest-900: #12321f;
  --forest-800: #183f27;
  --forest-700: #1f5130;
  --on-forest: #f1f7f2;
  --on-forest-muted: #b8ccbd;

  /* Emerald accent */
  --emerald-800: #155c30;
  --emerald-700: #19693a;
  --emerald-600: #1e7f43;
  --emerald-500: #2f9a56;

  /* Mint tints */
  --mint-50: #f2f7ee;
  --mint-100: #e5f1df;
  --mint-200: #d6eaca;
  --mint-300: #bcdcac;
  --mint-400: #9acb88;

  /* Neutrals (warm, faint sage) */
  --canvas: #f5f6f1;
  --surface: #ffffff;
  --surface-sunk: #eef3ea;
  --ink: #15261b;
  --ink-2: #33443a;
  --muted: #5c6b61;
  --border: #e2e7dc;
  --border-strong: #cdd6c7;
  --border-input: #869489; /* 3:1 vs white for form-field boundaries (WCAG 1.4.11) */

  /* Status */
  --ok-bg: #d7edcf;   --ok-fg: #175c2c;
  --open-bg: #ebf5e6; --open-fg: #2a6a2f;
  --warn-bg: #fcefd2; --warn-fg: #7a4f00;
  --bad-bg: #fbe3e1;  --bad-fg: #a1261d;
  --info-bg: #e2ecf6; --info-fg: #23557f;
  --neutral-bg: #edefe9; --neutral-fg: #444f47;

  /* Chart */
  --chart-line: #1e7f43;
  --chart-area: #2f9a56;
  --chart-grid: #e9ede4;
  --bar-1: #d3e9c8; --bar-2: #c0dfb2; --bar-3: #a9d39a; --bar-4: #8fc67f; --bar-5: #6fb064; --bar-hi: #1d6a37;

  /* Type */
  --font-display: "Segoe UI Variable Display", "Segoe UI Semibold", "Segoe UI", system-ui, sans-serif;
  --font-text: "Segoe UI Variable Text", "Segoe UI", system-ui, sans-serif;
  --fs-xs: 12px; --fs-sm: 13px; --fs-md: 14px; --fs-lg: 17px; --fs-xl: 21px; --fs-2xl: 25px; --fs-kpi: 28px;

  /* Space, radius, shadow */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 20px; --s-6: 24px; --s-7: 28px; --s-8: 32px;
  --r-sm: 8px; --r-md: 10px; --r-lg: 12px; --r-xl: 16px; --r-pill: 999px;
  --shadow-card: 0 1px 2px rgb(21 38 27 / 0.04), 0 6px 18px rgb(21 38 27 / 0.045);
  --shadow-pop: 0 2px 6px rgb(21 38 27 / 0.08), 0 14px 34px rgb(21 38 27 / 0.12);
  --focus: 0 0 0 3px rgb(47 154 86 / 0.35);

  --sidebar-w: 252px;
  --topbar-h: 64px;
}

/* Old theme variables follow the G palette, so inner pages that are not redesigned yet turn forest/emerald. */
:root {
  --dtt-header: var(--forest-900);
  --dtt-navy: var(--forest-800);
  --dtt-ink: var(--ink);
  --dtt-muted: var(--muted);
  --dtt-line: var(--border);
  --dtt-surface: var(--surface);
  --dtt-surface-soft: var(--mint-50);
  --dtt-bg: var(--canvas);
  --dtt-accent: var(--emerald-500);
  --dtt-accent-strong: var(--emerald-700);
  --dtt-teal: var(--emerald-500);
  --dtt-teal-dark: var(--emerald-700);
  --dtt-teal-text: var(--emerald-700);
  --dtt-mockup-teal-strong: var(--emerald-700);
  --dtt-mockup-teal-strong-hover: var(--emerald-800);
  --dtt-mockup-teal-strong-active: var(--forest-800);
  --dtt-green: var(--emerald-600);
  --dtt-yellow: #e9b949;
  --dtt-red: var(--bad-fg);
  --dtt-radius: var(--r-lg);
  --dtt-radius-control: var(--r-md);
  --dtt-radius-panel: var(--r-lg);
  --dtt-shadow: var(--shadow-card);
  --dtt-mockup-navy: var(--forest-900);
  --dtt-mockup-ink: var(--ink);
  --dtt-mockup-blue: var(--emerald-700);
  --dtt-mockup-teal: var(--emerald-500);
  --dtt-mockup-bg: var(--canvas);
  --dtt-mockup-line: var(--border);
  --dtt-mockup-muted: var(--muted);
}
