/* Jimmy design tokens. Loaded before every other stylesheet.
   style.css maps the older --oe-* names onto these, so templates and JS that
   still say var(--oe-teal) read the same values.

   Phase 4c (2026-11-11, Victor + Pawel): the green blue theme
   (docs/ux/4c/DECISIONES.md). Before it: the designer's #1B6F8C with a yellow
   highlight (2026-11-10), and teal #3BA981 before that (4b).
   - One accent: --brand. Navbar, primary button, the TOTAL block, the MAIN
     label, section numbers, active links. --brand-dark is its hover and the
     text on tinted surfaces; --brand-tint the highlight (section heads,
     badges, active tabs and filters).
   - Surfaces: the centre is white with white cards bordered --brand-line, no
     shadow; --brand-panel is the side panels and the deal bar; --brand-soft
     the table heads and the Morning/Lunch/Afternoon bands.
   - Lines: --brand-line around cards and main separators, --row-line between
     rows, --line-control around buttons and fields.
   - Green / amber / red speak only about state; the amber pair is for
     warnings only. Amounts are never coloured. Salmon is gone: errors and
     destructive actions are --red.
   - The 4b names (--teal, --teal-ink, --teal-soft …) stay as aliases of the
     brand so markup and scripts written against them keep working.
   - Inter everywhere (tabular figures), Manrope 700 on the deal name and the
     section titles, Josefin Sans on the logo only. No dark mode. */
:root {
    /* Brand: green blue */
    --brand: #0F6E7A;          /* white on it 5.9:1; on white 5.9:1 */
    --brand-dark: #0B5761;     /* on --brand-tint 7.0:1; white on it 8.2:1 */
    --brand-tint: #E0F0F1;
    --brand-panel: #ECF5F6;
    --brand-soft: #F4F9FA;
    --brand-line: #CDE4E6;
    --brand-rgb: 15, 110, 122;  /* --brand for Bootstrap's rgba() variables */
    --drop-line: #9FC9CE;      /* dashed outline of an empty program slot */
    --row-line: #ECEEF1;
    --text: #2E3338;
    --muted: #5F6B76;          /* 5.5:1 on white, 4.9:1 on --brand-panel, 4.6:1 on --brand-tint */
    --surface: #ffffff;

    /* Warnings only */
    --amber: #6B4E00;          /* on --amber-soft 7.0:1 */
    --amber-soft: #FDF3D8;

    /* State */
    --ok: #2f6f3e;
    --ok-soft: #e7f2ea;
    --red: #b42318;
    --red-soft: #fdecea;
    --neutral-soft: #EEF1F3;   /* ALT labels and other neutral chips; --muted on it 4.8:1 */

    /* 4b names, now the brand */
    --teal: var(--brand);
    --teal-ink: var(--brand);
    --teal-ink-hover: var(--brand-dark);
    --teal-soft: var(--brand-tint);
    --teal-soft-ink: var(--brand-dark);
    --teal-glow: rgba(15, 110, 122, .2);
    --fg: var(--text);
    --line: var(--brand-line);
    --line-row: var(--row-line);
    --line-control: #A9BFC2;
    --bg: var(--brand-soft);   /* hover and quiet fills; pages are white */

    /* Type: 18 / 14 / 13 / 11 px, 400 / 600 */
    --font-ui: 'Inter', 'Segoe UI', system-ui, sans-serif;
    --font-display: 'Manrope', 'Inter', 'Segoe UI', system-ui, sans-serif;
    --font-logo: 'Josefin Sans', 'Inter', sans-serif;
    --fs-title: 18px;
    --fs-body: 14px;
    --fs-small: 13px;
    --fs-label: 11px;
    /* The right panel's figures (phase 4c): TOTAL, PER PERSON / MARGIN, FINAL NET */
    --fs-total: 20px;
    --fs-kpi: 17px;
    --fs-net: 15px;
    --fw-regular: 400;
    --fw-bold: 600;
    --ls-label: .06em;

    /* Shape */
    --r-control: 6px;   /* buttons, badges, inputs */
    --r-card: 8px;      /* cards, panels */
    --r-panel: 10px;    /* the right panel's cards */

    /* Row heights */
    --row-program: 30px;
    --row-list: 34px;
    --row-deals: 38px;

    /* Focus: 2 px brand ring, visible on white and on tints */
    --focus-ring: 2px solid var(--brand);
    --tap-min: 24px;
    --tap-touch: 40px;  /* touch targets in the 4c panels, the search and the offers */
}
