/* Tokens: the look's fixed values (look port from the Cater HQ spec (Nov 2026), under license from Jef).
   Loaded first on every staff page, before ce.css and dock.css. The company color's scale (--brand-50 to
   --brand-950, the text on each, --brand-text) is written into :root by base_site.html from
   core/brand_scale.py, so it is not here. Status colors never follow the company color. */

@font-face { font-family: "Bricolage Grotesque CE"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("fonts/bricolage-grotesque-700-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Bricolage Grotesque CE"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("fonts/bricolage-grotesque-700-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Instrument Sans CE"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("fonts/instrument-sans-var-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Instrument Sans CE"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("fonts/instrument-sans-var-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  /* neutrals */
  --tk-white: #FFFFFF;    /* cards, fields, the raised surfaces */
  --tk-ground: #F3F4F6;   /* the page behind the cards */
  --tk-tray: #F7F8F9;     /* card footers, sub-areas inside a card */
  --tk-line: #ECEDF0;     /* hairlines, sunken tracks */
  --tk-slate: #5B616B;    /* secondary text, labels */
  --tk-charcoal: #16181B; /* text, the frame, primary buttons */
  --tk-charcoal-2: #23262B; /* a step up from charcoal: hover and the search well inside the frame */
  --tk-text-2: #2B2F35;   /* body text a shade softer than charcoal */
  --tk-line-strong: #D5D8DE; /* the odd edge that must show on white (a checkbox, a divider in a tray) */
  --tk-quiet-dark: #B4B9C1; /* quieter words on charcoal: the dock's search, the money card's labels */

  /* status: booked green, overdue red, warning amber (never the company color) */
  --tk-ok: #12B76A; --tk-bad: #F04438; --tk-warn: #F79009;
  --tk-bad-rgb: 240 68 56; --tk-ink-rgb: 22 24 27; /* for halos and scrims: rgb(var(--tk-bad-rgb) / .14) */
  /* the flat tints for messages and warnings (never raised): the status 10% on white; its words (-ink) are the status
     mixed toward charcoal until they read on the tint (4.5:1; also red money and late dates on white). --tk-bad-light is
     the red that reads on charcoal (a count on the rail) */
  --tk-ok-tint: #E7F8F0; --tk-ok-ink: #14774A;
  --tk-bad-tint: #FEECEB; --tk-bad-ink: #BA3931; --tk-bad-light: #F8ABA5;
  --tk-warn-tint: #FEF4E6; --tk-warn-ink: #9D6010;

  /* the dots in front of card titles (look-4a): a small fixed set of label colors, one per kind of card on the setup and
     vendor screens (they were the old colored header bars). They never follow the company color. */
  --tk-dot-green: #166534; --tk-dot-blue: #2563EB; --tk-dot-violet: #7C3AED; --tk-dot-teal: #0E7490; --tk-dot-amber: #B45309; --tk-dot-slate: #475467;
  /* the Venue manager's accent for an off-site venue nobody gave a color (venue-manager-look; venues/views.py VENUE_PLAIN):
     a warm stone, so it doesn't read gray on gray; white words on it pass 4.5:1 */
  --tk-venue-plain: #78716C;
  /* the floor plan's drawing (events/_fp_editor.html reads these, so a saved JPG or PDF keeps them): Walls, the floor, the 1 ft and 5 ft grid, areas, quiet words (sizes, area names), labels, text pieces,
     the "fits" outline. Warning outlines are the status colors; the picked piece and the drag box are the company color. */
  --tk-fp-ground: #F2F4F7; --tk-fp-floor: #FFFFFF; --tk-fp-wall: #344054; --tk-fp-grid: #E4E7EC; --tk-fp-grid-5: #D0D5DD;
  --tk-fp-area: #98A2B3; --tk-fp-quiet: #667085; --tk-fp-label: #475467; --tk-fp-text: #101828; --tk-fp-fits: #16A34A; --tk-fp-outdoor: #ECFDF3;
  /* the 3D room: its backdrop and the table linens (the same values core/static/ce/room3d.js draws with) */
  --tk-room-sky: #ECE7DF;
  --tk-linen-white: #F7F6F2; --tk-linen-ivory: #F1E8D2; --tk-linen-champagne: #E4CFA6; --tk-linen-blush: #E9C3BE; --tk-linen-sage: #A7B79C;
  --tk-linen-navy: #22314F; --tk-linen-black: #1E1E20;
  /* colors that carry meaning on the money, sales and stock screens (look-4b). Each points at a status or dot color, so a
     meaning looks the same everywhere and never follows the company color. Words in one of these colors use .ce-ink
     (ce.css), which darkens it on white until it reads. */
  --tk-out-won: var(--tk-ok); --tk-out-cancelled: var(--tk-bad); --tk-out-lost: var(--tk-dot-slate); --tk-out-open: var(--tk-dot-violet);
  --tk-out-days: var(--tk-dot-teal);          /* how a proposal ended (closing report) and the average days to close */
  --tk-give-donation: var(--tk-dot-green); --tk-give-comp: var(--tk-dot-violet); --tk-give-cost: var(--tk-dot-teal); /* a giveaway's kind */
  --tk-ver-approved: var(--tk-dot-green); --tk-ver-reforecast: var(--tk-dot-violet); --tk-ver-draft: var(--tk-dot-amber); /* a budget's version */
  --tk-level-ok: var(--tk-ok); --tk-level-low: var(--tk-warn); --tk-level-short: var(--tk-bad); /* stock (enough, low, short) and dates (fine, soon, expired) */
  --tk-level-down: var(--tk-dot-slate);       /* a vehicle out of service, a date never entered */

  /* type */
  --tk-font: "Instrument Sans CE", "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --tk-font-display: "Bricolage Grotesque CE", "Instrument Sans CE", "Segoe UI", system-ui, sans-serif;
  --tk-text-body: 15px; --tk-line-body: 22px;     /* body 15/22 */
  --tk-text-label: 12.5px; --tk-weight-label: 600; /* labels 12 to 13 at 600 */
  --tk-text-figure: 24px;                         /* figures 22 to 26 */
  --tk-text-big: 56px;                            /* the one or two big numerals on a screen: 40 to 72 */

  /* shape */
  --tk-r-pill: 999px; /* chips and buttons */
  --tk-r-card: 18px;
  --tk-r-field: 12px; --tk-r-inner: 14px;
  --tk-r-swatch: 10px;

  /* space: a 4px step; touch rows and controls 44 to 48 */
  --tk-s1: 4px; --tk-s2: 8px; --tk-s3: 12px; --tk-s4: 16px; --tk-s5: 20px; --tk-s6: 24px; --tk-s8: 32px; --tk-s10: 40px; --tk-s12: 48px;
  --tk-touch: 44px; --tk-touch-lg: 48px;

  /* depth (ink = rgba(22,24,27,a)) */
  --tk-depth-well: inset 0 1px 2px rgba(22,24,27,.08), inset 0 0 0 1px rgba(22,24,27,.05);
  --tk-depth-ground: none;
  --tk-depth-card: 0 0 0 1px rgba(22,24,27,.06), 0 1px 0 rgba(22,24,27,.04), 0 1px 3px rgba(22,24,27,.05), 0 8px 20px -12px rgba(22,24,27,.12);
  --tk-depth-raised: 0 0 0 1px rgba(22,24,27,.08), 0 1px 1px rgba(22,24,27,.06), 0 3px 6px -2px rgba(22,24,27,.10), 0 14px 28px -14px rgba(22,24,27,.22);
  --tk-depth-float: inset 0 1px 0 rgba(255,255,255,.10), 0 0 0 1px rgba(22,24,27,.90), 0 2px 2px rgba(22,24,27,.10), 0 8px 16px -6px rgba(22,24,27,.22), 0 28px 48px -16px rgba(22,24,27,.38);
  /* charcoal and brand fills: a white top highlight and an ink bottom edge */
  --tk-fill-edge: inset 0 1px 0 rgba(255,255,255,.16), inset 0 -1px 0 rgba(22,24,27,.20);
}
.num, td.num, .tabular { font-variant-numeric: tabular-nums; }
/* the screens' font: Instrument Sans everywhere (the user guide keeps its own font, assistant/kb.html) */
html:root { --ce-font: var(--tk-font); }
