
/* =============================================================================
   EXACTESTATE DESIGN SYSTEM - TOKENS
   =============================================================================
   GENERATED FILE - do not edit by hand.
   Source: ee_tokens.json (beside this file).
   Regenerate: node frontend/scripts/generate-ee-tokens.mjs
   The same source generates the Angular :root block
   (frontend/src/styles/_ee-tokens.generated.scss).

   USAGE:
   Include this file FIRST before any other EE style files.


   All other EE style files depend on these variables.
   ============================================================================= */

:root {
    /* =========================================================================
       PRIMARY BRAND COLORS
       ========================================================================= */
    --ee-indigo: #3f51b5;
    --ee-indigo-rgb: 63, 81, 181;
    --ee-indigo-dark: #303f9f;
    --ee-indigo-light: #5c6bc0;
    --ee-indigo-bg: rgba(63, 81, 181, 0.08);
    --ee-indigo-bg-hover: rgba(63, 81, 181, 0.12);

    --ee-teal: #14b8a6;
    --ee-teal-dark: #0d9488;
    --ee-teal-light: #2dd4bf;
    --ee-teal-bg: rgba(20, 184, 166, 0.1);

    --ee-cyan: #00acc1;
    --ee-cyan-dark: #00838f;
    --ee-cyan-bg: rgba(0, 172, 193, 0.1);

    /* =========================================================================
       SEMANTIC COLORS
       ========================================================================= */
    --ee-success: #10b981;
    --ee-success-dark: #059669;
    /* Text-safe success ink: #10b981 (2.53:1) and #059669 fail WCAG AA 4.5:1 on white; #047857 passes (5.48:1). */
    --ee-success-text: #047857;
    --ee-success-light: #34d399;
    --ee-success-bg: rgba(16, 185, 129, 0.1);

    --ee-warning: #f59e0b;
    --ee-warning-dark: #d97706;
    --ee-warning-text: #92400e;
    --ee-warning-light: #fbbf24;
    /* 0.1 like every other semantic -bg. --ee-warning-text (#92400e) on it is 6.57:1 (AA); .ee-badge-warning / .ee-chip-warning still use --ee-warning-dark (#d97706), ~2.95:1 here (3.07:1 at 0.05) - below AA before and after. */
    --ee-warning-bg: rgba(245, 158, 11, 0.1);

    --ee-danger: #ef4444;
    --ee-danger-dark: #dc2626;
    --ee-danger-light: #f87171;
    --ee-danger-bg: rgba(239, 68, 68, 0.1);

    --ee-info: #3b82f6;
    --ee-info-dark: #2563eb;
    --ee-info-light: #60a5fa;
    --ee-info-bg: rgba(59, 130, 246, 0.1);

    /* =========================================================================
       BACKGROUND & SURFACE COLORS
       ========================================================================= */
    --ee-bg-page: #f8fafc;
    --ee-bg-card: #ffffff;
    --ee-bg-hover: #f1f5f9;
    --ee-bg-active: #e2e8f0;
    --ee-bg-inverse-hover: rgba(255, 255, 255, 0.12);
    --ee-bg-inverse-active: rgba(255, 255, 255, 0.2);

    /* =========================================================================
       TEXT COLORS
       ========================================================================= */
    --ee-text-primary: #1e293b;
    --ee-text-secondary: #475569;
    --ee-text-muted: #64748b;
    --ee-text-dim: #94a3b8;
    --ee-text-inverse: #ffffff;

    /* =========================================================================
       BORDER COLORS
       ========================================================================= */
    --ee-border-light: #e2e8f0;
    --ee-border-default: #cbd5e1;
    --ee-border-dark: #94a3b8;
    --ee-border-inverse-muted: rgba(255, 255, 255, 0.5);

    /* =========================================================================
       OFFER COLORS (public application offers)
       ========================================================================= */
    --ee-offer-gold: #f5b942;
    --ee-offer-navy: #14213d;
    --ee-offer-emerald: #087f5b;

    /* =========================================================================
       BORDER RADIUS
       ========================================================================= */
    --ee-radius-xs: 4px;
    --ee-radius-sm: 6px;
    --ee-radius-md: 8px;
    --ee-radius-lg: 12px;
    --ee-radius-xl: 16px;
    --ee-radius-full: 9999px;

    /* =========================================================================
       SHADOWS
       ========================================================================= */
    --ee-shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.05);
    --ee-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --ee-shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --ee-shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
    --ee-shadow-xl: 0 12px 32px rgba(0, 0, 0, 0.15);
    --ee-shadow-card: 0 1px 2px rgba(16, 24, 40, 0.06), 0 6px 16px -4px rgba(48, 63, 159, 0.12);
    --ee-shadow-card-hover: 0 2px 4px rgba(16, 24, 40, 0.08), 0 12px 24px -6px rgba(48, 63, 159, 0.18);

    /* =========================================================================
       SPACING SCALE
       ========================================================================= */
    --ee-space-1: 0.25rem;
    --ee-space-2: 0.5rem;
    --ee-space-3: 0.75rem;
    --ee-space-4: 1rem;
    --ee-space-5: 1.25rem;
    --ee-space-6: 1.5rem;
    --ee-space-8: 2rem;
    --ee-space-10: 2.5rem;
    --ee-space-12: 3rem;
    --ee-space-16: 4rem;
    --ee-space-20: 5rem;

    /* =========================================================================
       PAGE LAYOUT (ee-page-shell presets, lane LAYOUT-ONE 2026-11-20): every New page's regions, card grid and field columns read these only; a page sets none. The phone break is 47.99rem (a media query cannot read a custom property; ee-page-shell holds the one copy)
       ========================================================================= */
    /* Between the shell's regions (needs line, tabs or toolbar row, strip, main, aside, footer). */
    --ee-layout-region-gap: var(--ee-space-5);
    /* The same on a phone. */
    --ee-layout-region-gap-phone: var(--ee-space-3);
    /* The dashboard preset's card grid gutter, both ways. */
    --ee-layout-card-gap: var(--ee-space-6);
    /* The same on a phone. */
    --ee-layout-card-gap-phone: var(--ee-space-3);
    /* The form preset's field columns gutter. */
    --ee-layout-field-gap: var(--ee-space-4);
    /* A toolbar or filters row: the gap between its controls (space-2, the tightest common page row gap, so converted rows never widen). */
    --ee-layout-row-gap: var(--ee-space-2);
    /* The aside column of the workspace and detail presets. */
    --ee-layout-aside-width: 20rem;
    /* ee-list opens_beside: the record pane drawn beside the list on a wide screen (the list takes the rest). */
    --ee-layout-beside-width: 28rem;
    /* The step strip as a side rail (steps / workspace presets on a wide screen). */
    --ee-layout-strip-width: 16rem;
    /* ee-shell-split--three: the ONE left rail column (portal steps, submission sections); main, then the aside. */
    --ee-layout-rail-width: 16rem;
    /* Owner rule 20: the longest blank run inside a card; the shell's column balancer never grows a panel past it. */
    --ee-layout-blank-max: 48px;
    /* The most one list row grows when the shell's balancer shares a column's slack (every row of the list the same). */
    --ee-layout-row-grow-max: 24px;
    /* The shared filter row (ee-shell-filters): the search's least width; it takes the rest of the row. */
    --ee-layout-filter-search-min: 18rem;
    /* The shared filter row: each narrow select's width. */
    --ee-layout-filter-select-width: 12rem;
    /* The shared filter row's report form option: the narrowest field column. */
    --ee-layout-filter-field-min: 12rem;
    /* The shared filter row's report form option: the space between its groups and its actions line. */
    --ee-layout-filter-group-gap: var(--ee-space-4);
    /* ee-shell-tiles--sm: the least width of one tile (as many columns as fit). */
    --ee-layout-tile-min-sm: 10rem;
    /* ee-shell-tiles: the least width of one tile. */
    --ee-layout-tile-min: 14rem;
    /* ee-shell-tiles--md: the least width of one tile. */
    --ee-layout-tile-min-md: 16rem;
    /* ee-shell-tiles--lg: the least width of one tile. */
    --ee-layout-tile-min-lg: 18rem;
    /* ee-shell-split--2-1: the narrow side's least width. */
    --ee-layout-split-min: 16rem;
    /* ee-shell-row: a growing item's (ee-shell-grow) least width. */
    --ee-layout-grow-min: 16rem;
    /* ee-shell-stack--tight: label / value pairs and short lists. */
    --ee-layout-stack-gap-tight: var(--ee-space-2);
    /* The record preset's narrow strip (a jump rail): layout { strip: 'narrow' }. */
    --ee-layout-strip-width-narrow: 11rem;
    /* ee-shell-gallery: the least width of one 4:3 photo tile. */
    --ee-layout-gallery-min: 8.5rem;

    /* =========================================================================
       TYPOGRAPHY
       ========================================================================= */
    --ee-font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --ee-font-mono: 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', Consolas, monospace;

    --ee-text-xs: 0.6875rem;
    --ee-text-sm: 0.8125rem;
    --ee-text-base: 0.875rem;
    --ee-text-lg: 1rem;
    --ee-text-xl: 1.125rem;
    --ee-text-2xl: 1.5rem;
    --ee-text-3xl: 2rem;

    --ee-font-weight-regular: 400;
    --ee-font-weight-medium: 500;
    --ee-font-weight-semibold: 600;
    --ee-font-weight-bold: 700;

    --ee-leading-tight: 1.25;
    --ee-leading-normal: 1.5;
    --ee-leading-relaxed: 1.625;

    --ee-tracking-tight: -0.01em;
    --ee-tracking-normal: 0;
    --ee-tracking-wide: 0.03em;

    /* =========================================================================
       CONTROL & ICON SIZES
       ========================================================================= */
    /* Compact controls (inputs, toolbar buttons). */
    --ee-control-height-sm: 2rem;
    /* Default .ee-btn / .ee-button rendered height (text-sm x 1.4 + space-2 x 2 + 2px border x 2). */
    --ee-control-height-md: 2.375rem;
    /* Large buttons and touch-first controls. */
    --ee-control-height-lg: 2.75rem;

    --ee-icon-size-xs: 0.75rem;
    --ee-icon-size-sm: 1rem;
    --ee-icon-size-md: 1.25rem;
    --ee-icon-size-lg: 1.5rem;
    /* Empty-state icon disc (.ee-empty-state-icon), Old pages. */
    --ee-icon-size-xl: 4rem;
    /* The New empty state's muted outline icon (ee-empty-state, no disc). */
    --ee-icon-size-empty: 2.5rem;

    /* =========================================================================
       TRANSITIONS
       ========================================================================= */
    --ee-transition-fast: 0.15s ease;
    --ee-transition-normal: 0.2s ease;
    --ee-transition-slow: 0.3s ease;

    /* =========================================================================
       Z-INDEX SCALE
       ========================================================================= */
    --ee-z-dropdown: 100;
    --ee-z-sticky: 200;
    --ee-z-fixed: 300;
    --ee-z-modal-backdrop: 400;
    --ee-z-modal: 500;
    --ee-z-popover: 600;
    --ee-z-tooltip: 700;

    /* =========================================================================
       LAYERED LOOK (owner 2026-11-08; eeva-components.html, ExactEstate theme)
       ========================================================================= */
    /* EE indigo from ExactEstate/static/css/main.css (.background-pattern stops #4253bc / #3f51b5 / #3b4ba9) and the MDB scale #3949ab / #303f9f / #283593. Never #7986cb; no purple. White on every stop >= 6.57:1. */
    --ee-lx-action-hi: #4253bc;
    --ee-lx-action: #3f51b5;
    --ee-lx-action-lo: #3b4ba9;
    --ee-lx-action-new: #3949ab;
    --ee-lx-action-deep: #303f9f;
    --ee-lx-action-band: #283593;
    /* Chip / quiet fill. --ee-lx-action-deep on it 7.50:1. */
    --ee-lx-tint: #e8eaf6;
    --ee-lx-tint-2: #f3f4fb;
    --ee-lx-tint-line: #c5cae9;

    --ee-lx-canvas: #eef0f8;
    --ee-lx-surface: #ffffff;
    --ee-lx-surface-2: #f6f7fc;
    --ee-lx-surface-3: #eceff8;
    --ee-lx-ink: #1e293b;
    /* On --ee-lx-surface-3 6.59:1. */
    --ee-lx-ink-quiet: #475569;
    --ee-lx-hair: rgba(48, 63, 159, 0.10);
    --ee-lx-hair-2: rgba(48, 63, 159, 0.16);
    --ee-lx-hair-strong: rgba(48, 63, 159, 0.24);

    /* Layered elevation: a contact shadow, an ambient shadow and a top highlight. */
    --ee-lx-hi: inset 0 1px 0 rgba(255, 255, 255, 0.85);
    --ee-lx-e1: 0 1px 1px rgba(26, 35, 126, 0.04), 0 1px 3px rgba(26, 35, 126, 0.07);
    --ee-lx-e2: 0 1px 2px rgba(26, 35, 126, 0.05), 0 4px 10px rgba(26, 35, 126, 0.06), 0 14px 30px -10px rgba(26, 35, 126, 0.16);
    --ee-lx-e3: 0 2px 4px rgba(26, 35, 126, 0.05), 0 10px 24px rgba(26, 35, 126, 0.09), 0 30px 60px -18px rgba(26, 35, 126, 0.28);
    --ee-lx-e4: 0 4px 10px rgba(26, 35, 126, 0.10), 0 24px 48px rgba(26, 35, 126, 0.16), 0 60px 120px -30px rgba(26, 35, 126, 0.45);
    --ee-lx-ring: 0 0 0 4px rgba(63, 81, 181, 0.22);
    --ee-lx-glow: 0 8px 20px -6px rgba(63, 81, 181, 0.55);
    --ee-lx-glow-go: 0 8px 20px -6px rgba(32, 122, 60, 0.50);

    --ee-lx-primary: linear-gradient(180deg, #4253bc 0%, #3f51b5 55%, #3b4ba9 100%);
    /* A real raised button, never flat white. */
    --ee-lx-secondary: linear-gradient(180deg, #ffffff 0%, #f3f4fb 100%);
    /* Cancel: a quiet tinted button, never bare text. */
    --ee-lx-quiet: linear-gradient(180deg, #f3f4fb 0%, #e8eaf6 100%);
    /* The one main step per action group. White 4.25:1 at the top stop, 5.37:1 at the middle, 6.78:1 at the bottom. */
    --ee-lx-go: linear-gradient(180deg, #2a8c48 0%, #207a3c 55%, #17692f 100%);
    --ee-lx-go-edge: #17692f;
    /* White >= 4.54:1 on every stop. */
    --ee-lx-danger: linear-gradient(180deg, #d93a40 0%, #c62828 55%, #b42318 100%);
    --ee-lx-danger-soft: linear-gradient(180deg, #ffffff 0%, #fdf1ef 100%);
    --ee-lx-danger-ink: #b42318;
    /* The header band of heroes, card headers, modals, drawers and the toast. */
    --ee-lx-band: radial-gradient(520px 120px at 15% 0%, rgba(255, 255, 255, 0.14), transparent 70%), linear-gradient(180deg, #3f51b5 0%, #3949ab 55%, #303f9f 100%);
    --ee-lx-band-edge: linear-gradient(90deg, transparent, rgba(197, 202, 233, 0.75), transparent);
    /* Frosted glass buttons on the band. */
    --ee-lx-glass: linear-gradient(180deg, rgba(255, 255, 255, 0.26) 0%, rgba(255, 255, 255, 0.12) 55%, rgba(255, 255, 255, 0.08) 100%);
    --ee-lx-glass-hover: linear-gradient(180deg, rgba(255, 255, 255, 0.34) 0%, rgba(255, 255, 255, 0.14) 100%);
    --ee-lx-glass-edge: rgba(255, 255, 255, 0.30);
    --ee-lx-glass-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), 0 8px 18px -8px rgba(0, 0, 0, 0.45);
    --ee-lx-toast: linear-gradient(180deg, rgba(57, 73, 171, 0.96) 0%, rgba(40, 53, 147, 0.97) 100%);
    /* On #3949ab 6.07:1. */
    --ee-lx-on-band-quiet: #dfe3f7;
    /* The page behind a floating modal or drawer: a faint indigo veil (with a 2px blur), never a black slab. */
    --ee-lx-scrim: rgba(26, 35, 126, 0.28);

    /* Card tones (both themes): green #3fd065 -> #15993f, amber #ffd03a -> #f39a0b, red #ff6e72 -> #e22d3a. Borders and washes use them as given; a glyph tile uses a stop pair that keeps the glyph >= 3:1. */
    --ee-lx-green-hi: #3fd065;
    --ee-lx-green: #15993f;
    --ee-lx-green-tile: linear-gradient(160deg, #2fb457, #15993f);
    --ee-lx-green-ink: #1f6b33;
    --ee-lx-green-wash: rgba(22, 163, 106, 0.20);
    --ee-lx-green-base: #eefaf3;
    --ee-lx-amber-hi: #ffd03a;
    --ee-lx-amber: #f39a0b;
    --ee-lx-amber-tile: linear-gradient(160deg, #ffd03a, #f39a0b);
    /* White on amber is 2.23:1; the glyph on an amber tile is this dark ink (6.22:1). */
    --ee-lx-amber-glyph: #3b2a00;
    --ee-lx-amber-ink: #8a5000;
    --ee-lx-amber-wash: rgba(245, 166, 35, 0.24);
    --ee-lx-amber-base: #fff6e6;
    --ee-lx-red-hi: #ff6e72;
    --ee-lx-red: #e22d3a;
    --ee-lx-red-tile: linear-gradient(160deg, #ff6e72, #e22d3a);
    --ee-lx-red-ink: #b42318;
    --ee-lx-red-wash: rgba(226, 45, 58, 0.16);
    --ee-lx-red-base: #fff1f1;
    --ee-lx-blue-tile: linear-gradient(160deg, #4253bc, #3b4ba9);
    --ee-lx-blue-wash: rgba(63, 81, 181, 0.20);
    --ee-lx-blue-base: #eef0fa;

    --ee-lx-scroll-thumb: rgba(48, 63, 159, 0.45);
    --ee-lx-scroll-thumb-hover: rgba(48, 63, 159, 0.70);
    --ee-lx-scroll-track: rgba(48, 63, 159, 0.06);
    --ee-lx-scroll-shade: rgba(48, 63, 159, 0.22);
    --ee-lx-ease: cubic-bezier(0.2, 0.8, 0.2, 1);

    /* THE one count badge (.ee-new-mark, round 16): a green badge with a 2px white ring carrying the count of unseen items, hidden at 0; no glyph (the sparkle is EEva / AI only). The go green, so its 10.5px figures pass: white 5.37:1 at the middle stop where they sit (the artifact's #43b864 top stop is 2.54:1). */
    --ee-lx-new: linear-gradient(180deg, #2a8c48 0%, #207a3c 55%, #17692f 100%);
    --ee-lx-new-glow: 0 0 0 2px #ffffff, 0 4px 10px -2px rgba(39, 128, 63, 0.7);
    /* Input-icon SSOT: every leading field icon is this size in --ee-lx-in-ico-c (one rule, ee_core.html 17.11). */
    --ee-lx-in-ico: 20px;
    --ee-lx-in-ico-c: #3f51b5;

    /* =========================================================================
       OWNER LOOK (approved 2026-11-19, OWNER-RULES-20261118.md: card top, zebra, pills, one control size, banner, tabs). Tokens that reference --ee-indigo / --ee-info / --ee-info-dark follow a client accent; literal meaning pills never do.
       ========================================================================= */
    /* Rule 1: every card's top border. */
    --ee-card-top-border-w: 3px;
    /* Rule 1/10: the lighter blue; a state card replaces it with its meaning colour (.ee-card-state-danger / -due). */
    --ee-card-top-border: var(--ee-info);

    /* Rule 3: every second row of every list and table. */
    --ee-row-zebra: #eef1f6;
    --ee-row-hover: #f1f3f7;
    /* The chosen row: the accent's soft fill. */
    --ee-row-selected: var(--ee-pill-chosen-bg);

    /* A filled button that cannot be pressed yet reads as disabled (grey, no glow), its reason beside it; every filled kind (go, indigo, info, danger). */
    --ee-btn-disabled-bg: #e4e7ec;
    /* 6.1:1 on --ee-btn-disabled-bg. */
    --ee-btn-disabled-ink: #475467;

    /* Rule 6: opaque soft pills, ink on bg >= 4.5:1 (TOKENS-INSPECT.md 44-51). neutral 9.23:1 */
    --ee-pill-neutral-bg: #eef1f5;
    --ee-pill-neutral-ink: #344054;
    /* 5.85:1, follows the accent */
    --ee-pill-info-bg: #e8f0fe;
    --ee-pill-info-ink: #1d4ed8;
    /* 5.97:1 */
    --ee-pill-good-bg: #e6f4ea;
    --ee-pill-good-ink: #17692f;
    /* 6.11:1 */
    --ee-pill-warn-bg: #fdefe1;
    --ee-pill-warn-ink: #9a3d06;
    /* 6.61:1 */
    --ee-pill-danger-bg: #fdeceb;
    --ee-pill-danger-ink: #a3201a;
    /* A chosen chip: the accent's soft fill, 6.07:1, follows the accent */
    --ee-pill-chosen-bg: #eef4ff;
    --ee-pill-chosen-ink: #1d4ed8;
    /* 8.33:1 */
    --ee-pill-program-hud-bg: #eceffa;
    --ee-pill-program-hud-ink: #2f3d91;
    /* the neutral pill (no purple): 9.23:1 */
    --ee-pill-program-lihtc-bg: #eef1f5;
    --ee-pill-program-lihtc-ink: #344054;
    /* 6.66:1 */
    --ee-pill-program-usda-bg: #e9f3ee;
    --ee-pill-program-usda-ink: #1f5f45;
    /* A pill on the indigo banner, follows the accent */
    --ee-pill-onbanner-bg: #e8ebfa;
    --ee-pill-onbanner-ink: #26307a;

    /* Rule 7: ONE height (32px) for buttons, inputs, selects, date selectors, search, switches, the pager. */
    --ee-control-h: var(--ee-control-height-sm);
    /* 88px: every text button. */
    --ee-control-min-w: 5.5rem;
    /* 28px: actions repeated on table rows. */
    --ee-row-action-h: 1.75rem;
    /* Owner 19d: every status pill in a list row is this one width, in one aligned column. */
    --ee-list-pill-w: 7.5rem;
    /* Owner 19d: every row button in a list row is this one width, in one aligned column. */
    --ee-list-action-w: 6.5rem;
    /* Owner: 'When hovered it should be tinted blue': the light indigo fill of a clickable row or card on hover. */
    --ee-press-hover-tint: #eef2ff;
    /* Owner: 'Entity all should be blue': a scope selector in a tab strip or toolbar is solid indigo. */
    --ee-scope-bg: var(--ee-indigo);
    /* The words and chevron on a scope selector. */
    --ee-scope-ink: #ffffff;
    /* Owner: 'Radios need border too': the 1px ring of a radio, like an input. */
    --ee-radio-border: var(--ee-n-400);
    /* A picked radio's dot. */
    --ee-radio-dot: var(--ee-indigo);
    /* 44px: one table row (zebra rows on every list). */
    --ee-table-row-h: 2.75rem;
    /* 64px: one compact list row on a phone (name + one quiet line, the touch actions at the right). */
    --ee-phone-row-min-h: 4rem;
    /* 44px: every control on a phone. */
    --ee-touch-h: var(--ee-control-height-lg);
    /* 56px: the conduct dock. */
    --ee-touch-glove-h: 3.5rem;
    /* The conduct flow bar's place name (mock p03: 16px / 600). */
    --ee-flow-title: var(--ee-text-lg);
    /* A required check's question and its Yes / No (mock p03: 14px / 600). */
    --ee-check-question: var(--ee-text-base);
    /* 64px: one Yes / No part of a required check. */
    --ee-check-answer-w: 4rem;
    /* The conduct dock's two actions (mock p03: 16px / 600). */
    --ee-dock-text: var(--ee-text-lg);
    /* A place not visited yet, on the flow bar's banner. */
    --ee-flow-seg-todo: rgb(255 255 255 / 28%);
    /* A place done, on the flow bar's banner. */
    --ee-flow-seg-done: #ffffff;
    /* The place you are in, on the flow bar's banner. */
    --ee-flow-seg-here: #a9c3fb;
    /* The saved tick on the flow bar's banner. */
    --ee-flow-saved-ink: #bfe8cb;
    /* The flow dock's scrim: the light band under a photo's controls. */
    --ee-flow-dock-scrim: rgb(255 255 255 / 94%);

    /* Rule 8/10: one flat page banner, no gradient, follows the accent. */
    --ee-banner-bg: var(--ee-indigo);
    --ee-banner-ink: #ffffff;
    /* The facts line on the banner. */
    --ee-banner-ink-2: #dfe3fb;
    /* Rule 9: the 1px bar between tabs. */
    --ee-tab-divider: var(--ee-border-default);
    /* Rule 9: the active tab's 2px underline, follows the accent. */
    --ee-tab-active-line: var(--ee-info);
    /* The active tab's words (.ee-tab.active). Dark: the chosen ink, 4.5:1 or better on every dark surface. */
    --ee-tab-active-ink: var(--ee-indigo);

    /* =========================================================================
       HOME BOARD (DASH-STYLE2, approved 2026-11-19; TOKENS-DASH.md D1-D15, D30-D43): the board grid, the dashboard card anatomy and the data colours; the shared card and the board read these only
       ========================================================================= */
    /* D1: ONE row unit of the board grid (a card is rows x 80 + (rows - 1) x gap). */
    --ee-board-row: 80px;
    /* D2: the board gutter, both ways. */
    --ee-board-gap: 24px;
    /* D26: the phone board gutter. */
    --ee-board-gap-phone: 12px;
    /* D3: dashboard card padding, top and bottom. */
    --ee-board-pad-y: 16px;
    /* D3: dashboard card padding, left and right. */
    --ee-board-pad-x: 20px;

    /* D30: card title, 600. */
    --ee-board-title: 14px;
    /* D30: period words, labels, comparisons, footer link. */
    --ee-board-meta: 12px;
    /* D4: the ONE headline figure of a number / progress card, 600. */
    --ee-board-figure: 28px;
    /* D5: a group cell, a deadline window, a split / bars / trend total, 600. */
    --ee-board-figure-2: 20px;
    /* Figures and titles. */
    --ee-board-ink: #1d2939;
    /* Labels, comparison words. */
    --ee-board-ink-2: #475467;
    /* Period words, quiet notes. */
    --ee-board-ink-3: #667085;
    /* D35: the line between group cells and table rows. */
    --ee-board-hairline: #eaecf0;

    /* D12: THE data colour (trend, sparkline, progress fill, every bar, first split part): the Home accent (apps/home/widget_palette.py indigo; owner 2026-11-19 "gray graph why"). */
    --ee-data-accent: #3f51b5;
    /* The second split part: the kit chart series 2 (blue, the one accent; widget_palette.py). */
    --ee-data-part-2: #2f8fd8;
    /* The third split part: the kit chart series 3 (slate; widget_palette.py). */
    --ee-data-part-3: #60697e;
    /* The fourth split part: the kit chart series 4 (deep indigo; widget_palette.py). No violet. */
    --ee-data-part-4: #2a3786;
    /* D9: progress track, bar track, a deadline window's rule. */
    --ee-data-track: #e9edf3;
    /* D13: a good comparison arrow; a progress fill whose goal is met. */
    --ee-data-good: #17692f;
    /* D14: a bad comparison arrow; a window due within 30 days; a Needs-you dot. */
    --ee-data-attention: #b54708;
    /* D15: a Needs-you dot for late / eviction. */
    --ee-data-danger: #b42318;
    /* D33: a flat comparison arrow; a neutral Needs-you dot. */
    --ee-data-flat: #98a2b3;

    /* D37: a bar's thickness. */
    --ee-board-bar-h: 12px;
    /* D38: the stacked split bar. */
    --ee-board-split-h: 12px;
    /* D36: the progress track. */
    --ee-board-progress-h: 8px;
    /* D41: one Needs-you row. */
    --ee-board-status-row: 44px;
    /* D42: one table row. */
    --ee-board-table-row: 36px;
    /* D40: a deadline window's top rule. */
    --ee-board-rule: 3px;
    /* D37/D38: the corner of a bar, the split bar and a legend swatch. */
    --ee-board-mark-radius: 3px;

    /* The board in Customize (beside the docked picker): its real layout on a compact row unit, never a zoom. */
    --ee-board-compact-row: 56px;
    /* The compact board's gutter. */
    --ee-board-compact-gap: 12px;
    /* The compact card's padding. */
    --ee-board-compact-pad: 10px;
    /* The compact card's title. */
    --ee-board-compact-title: 12px;
    /* The compact card's words. */
    --ee-board-compact-meta: 10px;
    /* The compact card's figure. */
    --ee-board-compact-figure: 18px;
    /* The compact card's cell figure. */
    --ee-board-compact-figure-2: 14px;
    /* The docked picker's share of the page in Customize (approved customize.png: the picker 56 %, the compact board 44 %, so a card row's words stay on one line). */
    --ee-board-dock-w: 56%;

    /* =========================================================================
       FULLCALENDAR OVERRIDES (used by ee_calendar.html)
       ========================================================================= */
    --fc-border-color: var(--ee-border-light);
    --fc-button-bg-color: var(--ee-indigo);
    --fc-button-border-color: var(--ee-indigo);
    --fc-button-hover-bg-color: var(--ee-indigo-dark);
    --fc-button-hover-border-color: var(--ee-indigo-dark);
    --fc-button-active-bg-color: var(--ee-indigo-dark);
    --fc-button-active-border-color: var(--ee-indigo-dark);
    --fc-today-bg-color: var(--ee-indigo-bg);
    --fc-event-bg-color: var(--ee-indigo);
    --fc-event-border-color: var(--ee-indigo);
    --fc-event-text-color: #ffffff;
    --fc-page-bg-color: var(--ee-bg-card);
    --fc-neutral-bg-color: var(--ee-bg-hover);
    --fc-list-event-hover-bg-color: var(--ee-indigo-bg);
}

/* =============================================================================
   DARK MODE TOKENS (Optional - activate with .ee-dark class)
   ============================================================================= */
.ee-dark {
    --ee-card-top-border: #6b9cf5;
    --ee-row-zebra: #1a2130;
    --ee-row-hover: #212a3b;
    --ee-row-selected: #1a2540;
    --ee-btn-disabled-bg: #283142;
    --ee-btn-disabled-ink: #98a2b3;
    --ee-pill-neutral-bg: #283142;
    --ee-pill-neutral-ink: #d5dbe6;
    --ee-pill-info-bg: #1a2a4a;
    --ee-pill-info-ink: #a9c5fa;
    --ee-pill-good-bg: #16301f;
    --ee-pill-good-ink: #9ad8ad;
    --ee-pill-warn-bg: #3a2810;
    --ee-pill-warn-ink: #f3c08a;
    --ee-pill-danger-bg: #3d1c1a;
    --ee-pill-danger-ink: #f5a9a1;
    --ee-pill-chosen-bg: #1a2a4a;
    --ee-pill-chosen-ink: #a9c5fa;
    --ee-pill-program-hud-bg: #232a52;
    --ee-pill-program-hud-ink: #bcc4f2;
    --ee-pill-program-lihtc-bg: #283142;
    --ee-pill-program-lihtc-ink: #d5dbe6;
    --ee-pill-program-usda-bg: #17302a;
    --ee-pill-program-usda-ink: #a5d9c3;
    --ee-banner-bg: #2b3577;
    --ee-banner-ink-2: #c9cff0;
    --ee-tab-active-line: #6b9cf5;
    --ee-tab-active-ink: #a9c5fa;

    --ee-bg-page: #0f172a;
    --ee-bg-card: #1e293b;
    --ee-bg-hover: #334155;
    --ee-bg-active: #475569;

    --ee-text-primary: #f1f5f9;
    --ee-text-secondary: #cbd5e1;
    --ee-text-muted: #94a3b8;
    --ee-text-dim: #64748b;

    --ee-border-light: #334155;
    --ee-border-default: #475569;
    --ee-border-dark: #64748b;

    --ee-board-ink: #e4e7ec;
    --ee-board-ink-2: #c1c7d0;
    --ee-board-ink-3: #98a2b3;
    --ee-board-hairline: #2a3344;
    --ee-data-accent: #a5b4fc;
    --ee-data-part-2: #7dd3fc;
    --ee-data-part-3: #c8cedb;
    --ee-data-part-4: #c5cbee;
    --ee-data-track: #232b3a;
    --ee-data-good: #277e43;
    --ee-data-attention: #f0a868;
    --ee-data-danger: #f08a80;
    --ee-data-flat: #667085;
}

/* Auto dark mode (respects system preference) */
@media (prefers-color-scheme: dark) {
    .ee-auto-dark {
        --ee-card-top-border: #6b9cf5;
        --ee-row-zebra: #1a2130;
        --ee-row-hover: #212a3b;
        --ee-row-selected: #1a2540;
        --ee-btn-disabled-bg: #283142;
        --ee-btn-disabled-ink: #98a2b3;
        --ee-pill-neutral-bg: #283142;
        --ee-pill-neutral-ink: #d5dbe6;
        --ee-pill-info-bg: #1a2a4a;
        --ee-pill-info-ink: #a9c5fa;
        --ee-pill-good-bg: #16301f;
        --ee-pill-good-ink: #9ad8ad;
        --ee-pill-warn-bg: #3a2810;
        --ee-pill-warn-ink: #f3c08a;
        --ee-pill-danger-bg: #3d1c1a;
        --ee-pill-danger-ink: #f5a9a1;
        --ee-pill-chosen-bg: #1a2a4a;
        --ee-pill-chosen-ink: #a9c5fa;
        --ee-pill-program-hud-bg: #232a52;
        --ee-pill-program-hud-ink: #bcc4f2;
        --ee-pill-program-lihtc-bg: #283142;
        --ee-pill-program-lihtc-ink: #d5dbe6;
        --ee-pill-program-usda-bg: #17302a;
        --ee-pill-program-usda-ink: #a5d9c3;
        --ee-banner-bg: #2b3577;
        --ee-banner-ink-2: #c9cff0;
        --ee-tab-active-line: #6b9cf5;
        --ee-tab-active-ink: #a9c5fa;

        --ee-bg-page: #0f172a;
        --ee-bg-card: #1e293b;
        --ee-bg-hover: #334155;
        --ee-bg-active: #475569;

        --ee-text-primary: #f1f5f9;
        --ee-text-secondary: #cbd5e1;
        --ee-text-muted: #94a3b8;
        --ee-text-dim: #64748b;

        --ee-border-light: #334155;
        --ee-border-default: #475569;
        --ee-border-dark: #64748b;

        --ee-board-ink: #e4e7ec;
        --ee-board-ink-2: #c1c7d0;
        --ee-board-ink-3: #98a2b3;
        --ee-board-hairline: #2a3344;
        --ee-data-accent: #a5b4fc;
        --ee-data-part-2: #7dd3fc;
        --ee-data-part-3: #c8cedb;
        --ee-data-part-4: #c5cbee;
        --ee-data-track: #232b3a;
        --ee-data-good: #277e43;
        --ee-data-attention: #f0a868;
        --ee-data-danger: #f08a80;
        --ee-data-flat: #667085;
    }
}
