/* trip1view colour theme "CP-T1V" (owner 2026-11-12) — palette from web/brand (Trip1View_Brand_Assets "CP- t1v"):
   teal #0D9488 · mint #F0FDFA · blue #0EA5E9 · warm grey #78716C · green #65A30D.
   Loaded after styles.css only while the switch is on (server/features.py T1V_THEME, FLOWMAP_THEME_T1V=off reverts to
   the indigo theme — nothing else changes). Only colour variables live here; text colours are darkened steps of the
   palette where the pure colour is too light to read on white (WCAG AA 4.5:1). */
:root {
  --primary: #0f766e;            /* teal, one step darker than #0D9488 so white button text reads (5.5:1) */
  --primary-hover: #115e59;
  --primary-tint: rgba(13, 148, 136, .12);
  --on-primary: #ffffff;
  --bg: #eef6f4;                 /* mint-tinted page */
  --surface: #ffffff;
  --surface-2: #f5fbf9;
  --surface-3: #e6f1ee;
  --canvas: #edf5f3;
  --dots: #c2d3cf;
  --border: #dce8e5;
  --border-strong: #c2d4d0;
  --text: #22201e;               /* warm near-black */
  --text-2: #57534e;             /* warm grey family */
  --muted: #78716c;              /* palette warm grey (4.8:1 on white) */
  --success: #4d7c0f;            /* palette green, darkened for text (5.0:1) */
  --info: #0369a1;               /* palette blue, darkened for text */
  --edge: #9fb3ae;
  --node-border: #bfd0cc;
  --expr: #0f766e;
  --expr-bg: rgba(13, 148, 136, .07);
  --viz-1: #0ea5e9;              /* palette blue for single-series charts */
  --viz-track: #dff3fc;
  --brand-teal: #0d9488; --brand-mint: #f0fdfa; --brand-blue: #0ea5e9; --brand-grey: #78716c; --brand-green: #65a30d;
}
:root[data-theme="dark"] {
  --primary: #2dd4bf;            /* teal lightened for a dark background */
  --primary-hover: #5eead4;
  --primary-tint: rgba(45, 212, 191, .15);
  --on-primary: #042f2e;
  --bg: #101716;
  --surface: #172020;
  --surface-2: #1d2827;
  --surface-3: #25312f;
  --canvas: #131b1a;
  --dots: #2f3b39;
  --border: #2a3634;
  --border-strong: #3a4846;
  --text: #e8eeec;
  --text-2: #b7c3c0;
  --muted: #8d9895;
  --success: #84cc16;            /* palette green, lightened */
  --info: #38bdf8;               /* palette blue, lightened */
  --edge: #5f6f6c;
  --node-border: #46534f;
  --expr: #5eead4;
  --expr-bg: rgba(94, 234, 212, .08);
  --viz-1: #38bdf8;
  --viz-track: #13303d;
}
/* the planned-trip dot on the dashboard globe followed the old indigo */
.tmap { --t-plan: #0ea5e9; }
