/* css/tokens.css
   The one file of the look (Greg, 27.10.2026: "si un jour on doit changer
   la couleur de fond ou la police d'ecriture, que ca se fasse simplement et
   dans un seul fichier"). Every colour, font, text size, spacing, radius,
   shadow and duration of the site is defined here and only here; the other
   sheets write var(--cs-...). tools/check-css-tokens.mjs holds every sheet
   written in layers to it.

   The order of the cascade is declared once, below: a rule of a higher
   layer wins over a lower one whatever its selector, so no sheet needs
   !important nor :not(#cs-none) (Greg, 27.10.2026: "je crois que je
   deviens allergique a !important").
     tokens       this file
     base         the page itself: the ground, the text, the links, focus
     composants   the shared pieces: bar, tabs, menu, rows, fields,
                  switches, chips, buttons, side panel, confirmations,
                  toasts, save bar, banner
     pages        what one page or one zone has of its own
     utilitaires  the few one-purpose classes (hidden, visually hidden)
   A sheet outside every layer would win over all of them: the rewritten
   pages load no such sheet.

   The values are the console's (Greg 18.10 and
   25.10.2026: "graphite doux" at night, "porcelaine" by day, metallic gold
   lines, Atkinson Hyperlegible Next), carried over as they are so that a
   rewritten page looks the same. The names keep the console's "cs-"
   prefix. */

@layer tokens, base, composants, pages, utilitaires;

/* ---- Faces, served by the site (no third-party font: the privacy text
   names no such transfer) ---- */
@font-face { font-family: "Atkinson Hyperlegible Next"; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/atkinson/AtkinsonHyperlegibleNext-Regular.woff2) format("woff2"); }
@font-face { font-family: "Atkinson Hyperlegible Next"; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/atkinson/AtkinsonHyperlegibleNext-Medium.woff2) format("woff2"); }
@font-face { font-family: "Atkinson Hyperlegible Next"; font-style: normal; font-weight: 600 700; font-display: swap; src: url(../fonts/atkinson/AtkinsonHyperlegibleNext-SemiBold.woff2) format("woff2"); }
/* The platform's face since 15.11.2026, Lexend (Greg: Atkinson's 0 and q
   read with trouble); one variable file per subset, every weight. Its
   line box is Atkinson's (ascent 98 %, descent 32 %, 1.30 where Lexend's
   own is 1.25): a control sized by its line keeps its height and its
   baseline (Greg: the sizes do not change). */
@font-face { font-family: "Lexend"; font-style: normal; font-weight: 100 900; font-display: swap; ascent-override: 98%; descent-override: 32%; line-gap-override: 0%; src: url(../fonts/lexend/lexend-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: "Lexend"; font-style: normal; font-weight: 100 900; font-display: swap; ascent-override: 98%; descent-override: 32%; line-gap-override: 0%; src: url(../fonts/lexend/lexend-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; }
/* The logo's face (Pepper Type, bought for RESTO ONE): the written brand
   only. */
@font-face { font-family: "Alethia Next"; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/AlethiaNext-Regular.otf) format("opentype"); }
/* The icons, drawn by ligature (the text "undo" draws the arrow): every
   icon span carries aria-hidden="true", or its word is read with the
   button's name. */
/* Roboto: the lock screen's face (css/verrouillage.css), as before the
   rewrite. */
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 100 900; font-display: swap; src: url(../fonts/md/roboto-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: "Roboto"; font-style: normal; font-weight: 100 900; font-display: swap; src: url(../fonts/md/roboto-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; }
/* --cs-dense: Roboto's files with Atkinson's line box, as Lexend. */
@font-face { font-family: "Roboto Dense"; font-style: normal; font-weight: 100 900; font-display: swap; ascent-override: 98%; descent-override: 32%; line-gap-override: 0%; src: url(../fonts/md/roboto-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: "Roboto Dense"; font-style: normal; font-weight: 100 900; font-display: swap; ascent-override: 98%; descent-override: 32%; line-gap-override: 0%; src: url(../fonts/md/roboto-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; }
/* The booking widget's faces (css/widget.css, lot R7c), one per theme
   (SIL Open Font License 1.1, see fonts/wg/*-OFL.txt). */
@font-face{font-family:'Roboto W';font-style:normal;font-weight:400;font-display:swap;src:url('../fonts/wg/roboto-400.woff2') format('woff2')}
@font-face{font-family:'Roboto W';font-style:normal;font-weight:500;font-display:swap;src:url('../fonts/wg/roboto-500.woff2') format('woff2')}
@font-face{font-family:'Roboto W';font-style:normal;font-weight:700;font-display:swap;src:url('../fonts/wg/roboto-700.woff2') format('woff2')}
@font-face{font-family:'Playfair Display W';font-style:normal;font-weight:700;font-display:swap;src:url('../fonts/wg/playfair-display-700.woff2') format('woff2')}
@font-face{font-family:'DM Serif Display W';font-style:normal;font-weight:400;font-display:swap;src:url('../fonts/wg/dm-serif-display-400.woff2') format('woff2')}
@font-face{font-family:'DM Sans W';font-style:normal;font-weight:400;font-display:swap;src:url('../fonts/wg/dm-sans-400.woff2') format('woff2')}
@font-face{font-family:'DM Sans W';font-style:normal;font-weight:500;font-display:swap;src:url('../fonts/wg/dm-sans-500.woff2') format('woff2')}
@font-face{font-family:'DM Sans W';font-style:normal;font-weight:700;font-display:swap;src:url('../fonts/wg/dm-sans-700.woff2') format('woff2')}
@font-face{font-family:'Fraunces W';font-style:normal;font-weight:600;font-display:swap;src:url('../fonts/wg/fraunces-600.woff2') format('woff2')}
@font-face{font-family:'Work Sans W';font-style:normal;font-weight:400;font-display:swap;src:url('../fonts/wg/work-sans-400.woff2') format('woff2')}
@font-face{font-family:'Work Sans W';font-style:normal;font-weight:500;font-display:swap;src:url('../fonts/wg/work-sans-500.woff2') format('woff2')}
@font-face{font-family:'Work Sans W';font-style:normal;font-weight:600;font-display:swap;src:url('../fonts/wg/work-sans-600.woff2') format('woff2')}
@font-face{font-family:'Manrope W';font-style:normal;font-weight:400;font-display:swap;src:url('../fonts/wg/manrope-400.woff2') format('woff2')}
@font-face{font-family:'Manrope W';font-style:normal;font-weight:500;font-display:swap;src:url('../fonts/wg/manrope-500.woff2') format('woff2')}
@font-face{font-family:'Manrope W';font-style:normal;font-weight:700;font-display:swap;src:url('../fonts/wg/manrope-700.woff2') format('woff2')}
@font-face{font-family:'Space Grotesk W';font-style:normal;font-weight:400;font-display:swap;src:url('../fonts/wg/space-grotesk-400.woff2') format('woff2')}
@font-face{font-family:'Space Grotesk W';font-style:normal;font-weight:500;font-display:swap;src:url('../fonts/wg/space-grotesk-500.woff2') format('woff2')}
@font-face{font-family:'Space Grotesk W';font-style:normal;font-weight:700;font-display:swap;src:url('../fonts/wg/space-grotesk-700.woff2') format('woff2')}
@font-face{font-family:'Bebas Neue W';font-style:normal;font-weight:400;font-display:swap;src:url('../fonts/wg/bebas-neue-400.woff2') format('woff2')}
@font-face { font-family: "Material Symbols Rounded"; font-style: normal; font-weight: 400; font-display: block; src: url(../fonts/md/material-symbols-rounded.woff2) format("woff2"); }

@layer tokens {
  /* ---- Night, the default (no data-theme). A screen that stays at night
     whatever the theme (Greg,
     01.10.2026, for the tablet's lock screen; the sign-in pages follow
     the theme since the one style of 25.10.2026): such a screen carries
     data-nuit on <html>. ---- */
  :root {
    /* Grounds, from the back to the front */
    --cs-ground: #222120; --cs-ground-solid: #222120;
    --cs-bar: #282725;
    --cs-bg: #252422;
    --cs-panel: #2d2c2a; --cs-panel-2: #383633;
    /* The gold (Greg, 01.11.2026: "Et tous les dorés aussi"): one metal, the
       logo's, in four shades from the light to the deep, the same in both
       themes; its flat colour for the logo; the gold of a link, an icon, an
       active tab or a control that fills (the slider), and the inks on it.
       Every other gold of the site is computed from these: the lines, the
       sheen, the faint and the glowing golds, the tints. */
    --cs-logo-gold-hi: #f4d996; --cs-logo-gold-mid: #e0b863; --cs-logo-gold-lo: #c79a45; --cs-logo-gold-deep: #987331;
    --cs-logo-gold: #d4b24e;
    --cs-gold: #d7b56b; --cs-gold-ink: #1f1b16; --cs-gold-solid-ink: #1f1b16;
    /* Lines: the metal, a true hairline on a 2x screen */
    --cs-line: color-mix(in srgb, var(--cs-logo-gold-mid) 40%, transparent);
    --cs-line-2: color-mix(in srgb, var(--cs-logo-gold-mid) 55%, transparent);
    --cs-line-grad: linear-gradient(100deg, color-mix(in srgb, var(--cs-logo-gold-deep) 62%, transparent) 0%, color-mix(in srgb, var(--cs-logo-gold-hi) 62%, transparent) 22%, color-mix(in srgb, var(--cs-logo-gold-lo) 62%, transparent) 45%, color-mix(in srgb, var(--cs-logo-gold-hi) 62%, transparent) 68%, color-mix(in srgb, var(--cs-logo-gold-deep) 62%, transparent) 100%);
    --cs-lw: 1px; --cs-lwn: 1;
    /* The sheen: active tab, gauge, switch, Enregistrer */
    --cs-sheen: linear-gradient(135deg, var(--cs-logo-gold-hi) 0%, var(--cs-logo-gold-mid) 38%, var(--cs-logo-gold-lo) 72%, var(--cs-logo-gold-deep) 100%);
    /* Text, from the most to the least read; each at 4.5:1 at least on
       cs-bg, cs-panel and cs-panel-2 (the tables' heads), in both themes
       (01.11.2026, tools/bench/resto-contrastes-jetons.mjs). */
    --cs-fg: #e4e1dc; --cs-fg-2: #bdb9b2; --cs-fg-3: #a39f99;
    /* States */
    --cs-ok: #5fbf8a; --cs-ok-bg: #173226;
    --cs-warn: #e5a94a; --cs-warn-bg: #3a2c12;
    --cs-crit: #ef6b62; --cs-crit-bg: #3d1a18; --cs-crit-ink: #1f1b16;
    --cs-info: #7aa7d9; --cs-info-bg: #182a3d;
    /* "Look here": a value unlike the others, a field just reached, a
       season that closes a room (an orange, not an alarm). */
    --cs-attn: #ffb74d; --cs-attn-bg: rgba(255, 152, 0, .15); --cs-attn-line: rgba(255, 152, 0, .3);
    /* A guest who did not come (the history's "Non venu"): a quiet brown. */
    --cs-blocked: #d2c5b4; --cs-blocked-bg: #39342e;
    /* Veils and shadows */
    --cs-scrim: rgba(0, 0, 0, .35); --cs-scrim-2: rgba(0, 0, 0, .55);
    /* The lunch in the platform's report (the dinner is the gold). */
    --cs-lunch: #b3cea8;
    /* The tick of the plans' comparison (pricing.html, the console's
       Formule): its own green, the same in both themes. */
    --cs-check: #4caf50;
    /* A gold wash, top to bottom: the main button of the guest's pages. */
    --cs-gold-wash: linear-gradient(180deg, color-mix(in srgb, var(--cs-gold) 18%, transparent), color-mix(in srgb, var(--cs-gold) 6%, transparent));
    --cs-shadow: rgba(0, 0, 0, .25);
    --cs-shadow-soft: rgba(0, 0, 0, .14);
    /* A menu, a list open: two soft shadows (Material's level 2, kept). */
    --cs-elev-1: 0 1px 2px rgba(0, 0, 0, .3), 0 1px 3px 1px rgba(0, 0, 0, .15);
    --cs-elev-2: 0 1px 2px rgba(0, 0, 0, .3), 0 2px 6px 2px rgba(0, 0, 0, .15);
    --cs-elev-3: 0 1px 3px rgba(0, 0, 0, .3), 0 4px 8px 3px rgba(0, 0, 0, .15);
    /* A table or an element lifted while it is dragged on the plan. */
    --cs-elev-5: 0 4px 4px rgba(0, 0, 0, .3), 0 8px 12px 6px rgba(0, 0, 0, .15);
    /* The tooltips, on the inverse surface. */
    --cs-tip-bg: #ebe1d9; --cs-tip-fg: #353029;
    --cs-scheme: dark;

    /* The night of the brand (01.10.2026): the splash over the sign-in
       pages, near-black with a gold glow, a brushed texture and a gold
       rule; the logo's gold for the die and the name. */
    --cs-night: #0c0b09; --cs-night-edge: #060606;
    --cs-night-brush: rgba(255, 255, 255, .011);
    --cs-night-texture: repeating-linear-gradient(0deg, var(--cs-night-brush) 0 1px, transparent 1px 3px);
    --cs-night-vignette: radial-gradient(ellipse 125% 105% at 50% 45%, var(--cs-night) 45%, var(--cs-night-edge) 100%);
    --cs-night-rule-line: linear-gradient(90deg, transparent, color-mix(in srgb, var(--cs-logo-gold) 62%, transparent), transparent);
    --cs-logo-glint: rgba(255, 247, 226, .75);
    /* The lock screen of a service device (css/verrouillage.css, lot R6d):
       always on that night, in the colours and the face it has had since
       01.10.2026, the same in both themes. Its glow behind the logo, its
       rule, its texts from the most to the least read, its gold and the ink
       on it, its error, its keys and tiles (a glass with a gold hairline,
       lighter under the finger, tonal when pressed), the circle of a
       person's initial and of the team, the rings of the dots and the
       languages. */
    --cs-lock-sans: Roboto, "Segoe UI", system-ui, sans-serif;
    --cs-lock-glow: rgba(214, 171, 82, .085);
    --cs-lock-rule-line: linear-gradient(90deg, transparent, rgba(214, 171, 82, .62), transparent);
    --cs-lock-fg: #ebe1d9; --cs-lock-fg-2: #d2c5b4; --cs-lock-fg-muted: #9a8b72;
    --cs-lock-gold: #d7b56b; --cs-lock-gold-ink: #2b1f08; --cs-lock-gold-faint: color-mix(in srgb, #d7b56b 8%, transparent);
    --cs-lock-crit: #ffb4ab;
    --cs-lock-key: rgba(43, 37, 29, .62); --cs-lock-key-hover: rgba(58, 50, 39, .72); --cs-lock-key-line: rgba(214, 171, 82, .24);
    --cs-lock-pressed: #54452a; --cs-lock-pressed-ink: #f7dfbb;
    --cs-lock-initial: #5e4200; --cs-lock-initial-ink: #ffdea8;
    --cs-lock-team: #364d2e; --cs-lock-team-ink: #cfebc1;
    --cs-lock-line: #9b8f80; --cs-lock-line-2: #4e4539;
    /* A tile's password field: its ground, its text, its line, and the ring
       around it while it is typed in (its line then the logo's gold). */
    --cs-lock-field: rgba(22, 22, 28, .65); --cs-lock-field-fg: #f1f1f1;
    --cs-lock-field-line: rgba(212, 178, 78, .22); --cs-lock-field-ring: rgba(212, 178, 78, .12);

    /* The bug-report tab (Greg, 17.10.2026): coral, its ink near-black. */
    --cs-languette: #e57373; --cs-languette-ink: #1e2124;

    /* A QR code: dark on white in both themes, so that any camera reads it. */
    --cs-qr-bg: #ffffff;
    --cs-map-ctl: #ffffff; --cs-map-ctl-off: #f0f0f0; --cs-map-ctl-ink: #333333; --cs-map-ctl-ink-2: #666666;
    --cs-map-ctl-shadow: 0 1px 4px rgba(0, 0, 0, .3);
    --cs-preview-paper: #ffffff;
    /* The plate under the restaurant's logo in the bar, when the logo would
       vanish on it (js/logo-tone.js): dark under a light logo, white under
       a dark one. */
    --cs-logo-plate-dark: #2f2a24; --cs-logo-plate-light: #ffffff;

    /* The restaurant's page as its guests see it, the same in both themes:
       the three templates drawn small (a paper, a photo, an ink) and the
       veils over a photo. */
    --cs-tpl-classic-paper: #faf7f2; --cs-tpl-classic-photo: linear-gradient(135deg, #8a7a66, #4a4036);
    --cs-tpl-modern-photo: linear-gradient(135deg, #7d8794, #3c4450); --cs-tpl-modern-ink: #111418;
    --cs-tpl-bistro-paper: #f3ebdd; --cs-tpl-bistro-photo: linear-gradient(135deg, #a88b6a, #6f5a45); --cs-tpl-bistro-ink: #2a241c;
    --cs-tpl-bistro-board: #23211d; --cs-tpl-bistro-wood: #6f5a45;
    --cs-photo-veil: rgba(0, 0, 0, .65); --cs-photo-fade: linear-gradient(180deg, transparent, rgba(0, 0, 0, .7));
    --cs-swatch-ring: rgba(255, 255, 255, .2);

    /* The three plans, each its colour (the plan's pill wherever a page
       names it, its tint and its line computed from it); Gastro is the gold. */
    --cs-plan-bistro: #8fb3cc;
    --cs-plan-resto: #5fb8b0;
    --cs-plan-gastro: var(--cs-gold);

    /* ---- The hours, the week (js/week-grid.js, css/semaine.css) and the
       questionnaire's editors (css/questionnaire.css) alike, in the states'
       colours since 01.11.2026 (Greg: "beaucoup trop" de couleurs): opening
       --cs-ok, a service --cs-info, the kitchen --cs-warn, the last booking
       and a closed day --cs-crit, each tint computed from them where it is
       drawn; the bookings' zone keeps its cyan (Greg, 01.11.2026: "sauf
       effectivement l'or autour des zones de réservation", then "Cyan, comme
       avant"); the shadows under their words. ---- */
    --cs-wk-zone: #64c8ff;
    --cs-wk-ink-shadow: 0 1px 3px rgba(0, 0, 0, .6);
    --cs-wk-zone-shadow: 0 1px 3px rgba(0, 0, 0, .6);
    --cs-ob-shadow: 0 1px 3px rgba(0, 0, 0, .6);
    --cs-ob-strip-shadow: 0 10px 14px -12px rgba(0, 0, 0, .9);

    /* A mask that keeps everything: with a content-box copy, a frame of the
       padding's width (the gold frames of the questionnaire's cards). */
    --cs-mask-fill: linear-gradient(#000 0 0);

    /* ---- The Edition (lot R5b, 01.11.2026) ---- */
    /* The dot of a tab with something to see: the logo's light gold. */
    --cs-ed-dot: var(--cs-logo-gold-hi);
    /* A code to copy (the widget's embed code): a monospace face, unlike
       --cs-mono, which only aligns the figures. */
    --cs-code: ui-monospace, "Cascadia Mono", Consolas, "SFMono-Regular", Menlo, "Liberation Mono", monospace;
    /* The save bar and the empty foot run to the card's edges by its
       padding (14 and 16 px on a narrow screen, below). */
    --cs-ed-bleed: 22px; --cs-ed-foot-pad: 22px;
    /* The bars over the page, the top bar and the tabs' band (46 and 42 px):
       the side column sticks under them. */
    --cs-ed-toph: 88px;
    /* ---- The plan (lot R6b): its drawing, in the Service and the Edition,
       and the event layouts' sketch (Mises en place) alike, by night;
       the ivory block below gives what changes by day. ---- */
    /* The floor and its grid, the walls, the windows and their glass. */
    --cs-pl-floor: #1f1b16; --cs-pl-grid: rgba(235, 225, 217, .035); --cs-pl-grid-major: rgba(235, 225, 217, .07);
    --cs-pl-wall: #7d7468; --cs-pl-window: #8ccfc6; --cs-pl-glass: #8ccfc6;
    /* The tables in warm wood (the rim stands out from every floor, the ink
       reads on the top) and the chairs in a quiet taupe; a cushion, a baby
       seat. */
    --cs-pl-table: #e8cfa4; --cs-pl-table-rim: #cca677; --cs-pl-table-ink: #2a1d10; --cs-pl-chair: #b8ae9f;
    --cs-pl-chair-seat: #c4baab; --cs-pl-cushion: rgba(255, 245, 225, .26); --cs-pl-baby: #f4a6c0;
    /* The objects: leather, wood, a column, the plants and their pot, the
       hearth, the wine, a sofa; a parasol's veil, the shadow under them. */
    --cs-pl-leather: #c69a74; --cs-pl-wood: #c8a070; --cs-pl-column: #4e4539; --cs-pl-plant: #3f5f35;
    --cs-pl-leaf: #8cbf76; --cs-pl-pot: #b06e46; --cs-pl-hearth: #39342e; --cs-pl-ember: #ffb59a;
    --cs-pl-heat: #e6782a; --cs-pl-wine: #8c3246; --cs-pl-sofa: #6d4c41; --cs-pl-canopy: #7fb58c;
    --cs-pl-canopy-veil: color-mix(in srgb, var(--cs-pl-canopy) 12%, transparent);
    --cs-pl-shadow: drop-shadow(0 1px 2px rgba(0, 0, 0, .55));
    /* The zones and the ways through, the same in both themes; a passage
       narrower than the room's gap (amber, a warning); an extra chair the
       team adds. */
    --cs-pl-zone-kitchen: #e8864a; --cs-pl-zone-private: #a082d2; --cs-pl-zone-buffet: #d670a0;
    --cs-pl-ramp: #3278ff; --cs-pl-passage: #787878; --cs-pl-gap-warn: #ffb74d; --cs-pl-gap-warn-ink: #2b1700;
    /* A table or an element where it may not stand: its edge, its top, its
       name (Material's error colours, kept: 3:1 on every floor). */
    --cs-pl-invalid: #ffb4ab; --cs-pl-invalid-bg: #93000a; --cs-pl-invalid-ink: #ffdad6;
    --cs-pl-extra-chair: #80deea; --cs-pl-extra-chair-ring: #e0f7fa;
    /* The nine materials of the floor, and the pattern js/floor-motifs.js
       lays over each (its colour, its opacity). */
    --cs-pl-mat-tile: #2c3236; --cs-pl-mat-wood: #463424; --cs-pl-mat-concrete: #34322f; --cs-pl-mat-pavers: #3c2e29;
    --cs-pl-mat-slabs: #38362f; --cs-pl-mat-grass: #25381f; --cs-pl-mat-gravel: #3a3732; --cs-pl-mat-sand: #473c27;
    --cs-pl-mat-carpet: #382833; --cs-pl-motif-opacity: 0.08; --cs-pl-mat-tile-motif: #e6eef2;
    --cs-pl-mat-wood-motif: #f0d9b8; --cs-pl-mat-concrete-motif: #ece6dc; --cs-pl-mat-pavers-motif: #f0d6c8;
    --cs-pl-mat-slabs-motif: #ece6d6; --cs-pl-mat-grass-motif: #cfeec0; --cs-pl-mat-gravel-motif: #ece4d4;
    --cs-pl-mat-sand-motif: #f6e6c0; --cs-pl-mat-carpet-motif: #f0dcea;
    /* The plan's measures: centimetres to pixels at zoom 1, the walls, a
       bench's seats, the magnets' reach. */
    --cs-pl-px-per-cm: 0.6; --cs-pl-wall-width: 14px; --cs-pl-seat-width: 26px; --cs-pl-seat-depth: 11px;
    --cs-pl-seat-gap: 4px; --cs-pl-pad-depth: 16px; --cs-pl-magnet-reach: 8px;
    /* The editor's marks on the drawing: the outline's handles and their
       refusal, a table's faint edge. */
    --cs-pl-outline: #c8a45c; --cs-pl-refused: #d9534f; --cs-pl-table-edge: #82a0d2;
    /* The benches: the pad, its edge, the backrest, a seat's light and its
       shadow. */
    --cs-pl-bench-pad: #a07846; --cs-pl-bench-edge: #be965a; --cs-pl-bench-back: #5c3e1e; --cs-pl-cream: #fff5e1;
    --cs-pl-bench-shadow: #281a0c;
    /* A table's state where the plan tints it (booked, arrived), and a high
       table's chairs. */
    --cs-pl-st-booked: #c89632; --cs-pl-st-booked-edge: #dcaa3c; --cs-pl-st-arrived: #46a050;
    --cs-pl-st-arrived-edge: #64be6e; --cs-pl-high-chair: #b49b5a; --cs-pl-high-edge: #dcb950;
    /* The templates' list: a template of the system, one for a high capacity. */
    /* The elements' kinds in the editor (a zone, a piece of furniture,
       safety, outdoors), drawn and in the library. */
    --cs-pl-el-kitchen: #ff8c32; --cs-pl-el-wc: #6496ff; --cs-pl-el-bar: #b49b50; --cs-pl-el-reception: #64c896;
    --cs-pl-el-cloakroom: #9682b4; --cs-pl-el-buffet: #c86496; --cs-pl-el-private: #8c6ec8; --cs-pl-el-kids: #ffbe50;
    --cs-pl-el-smoking: #828282; --cs-pl-el-delivery: #78a06e; --cs-pl-el-furniture: #967346;
    --cs-pl-el-safety: #d74637; --cs-pl-el-outdoor: #5aa06e;
    /* A delete under the pointer, the "saved" toast, a backdrop's edge, the
       calibration of a backdrop (its veil, its words, its marks). */
    --cs-pl-delete: #ff3c3c; --cs-pl-toast-ok: #50b45a; --cs-pl-backdrop-edge: #9696a5; --cs-pl-calib-veil: #14141a;
    /* The toolbar's previews of a window, a radiator, a photo and a passage. */
    --cs-pl-pv-glass: rgba(150, 220, 255, .5); --cs-pl-pv-glass-edge: rgba(150, 220, 255, .8); --cs-pl-pv-heat: rgba(255, 100, 50, .4);
    --cs-pl-pv-photo: linear-gradient(160deg, rgba(200, 169, 81, .3), rgba(120, 120, 130, .16)); --cs-pl-pv-photo-edge: rgba(150, 150, 165, .6); --cs-pl-pv-peak: rgba(255, 255, 255, .35);
    --cs-pl-pv-aisle: rgba(150, 150, 150, .06); --cs-pl-pv-aisle-edge: rgba(150, 150, 150, .5);
    --cs-pl-calib-ink: #1a1a1f; --cs-pl-calib-mark: #ffffff;
    /* The events' hues (Mises en place, the Service's banner and plan): the
       chip, the dot and the note of an event. */
    --cs-ev-neutral: #dac3a0; --cs-ev-rose: #f08aa5; --cs-ev-gold: #d7b56b; --cs-ev-blue: #8fb8e8;
    --cs-ev-green: #a6d38f; --cs-ev-violet: #c3a8f0; --cs-ev-teal: #7fd3cf;
    /* The services' palette (lot E2, 20.10.2026): amber (--cs-warn), lilac,
       lagoon, raspberry, lake blue, olive, hazel, grey; lighter at night,
       deeper by day. */
    --cs-svc-2: #c3a0e8; --cs-svc-3: #7fd3cf; --cs-svc-4: #f08aa5;
    --cs-svc-5: #8fb8e8; --cs-svc-6: #a6d38f; --cs-svc-7: #d8b48c; --cs-svc-8: #b8ae9f;
    /* A season with no colour of its own: four tints, by its place in the
       year. */
    --cs-season-0: #5e4200; --cs-season-1: #364d2e; --cs-season-2: #54452a; --cs-season-3: #39342e;
    /* The export's paper preview, the same paper in both themes. */
    --cs-paper-head: #f5ece3; --cs-paper-head-ink: #4e4539;
    --cs-paper-line: #e0d6ca; --cs-paper-rule: #ece3d8; --cs-paper-mute: #807667;
    /* The site's sketch: its accent deepens towards black. */
    --cs-sketch-shade: #000000;
    /* The widget editor's panels: by day a soft shadow and buttons of a
       lighter ground. */
    --cs-we-panel-shadow: 0 8px 18px rgba(0, 0, 0, .35);
    --cs-we-btn-from: rgba(32, 32, 38, .92); --cs-we-btn-to: rgba(24, 24, 30, .92);

    /* ---- Fonts ---- */
    --cs-sans: Lexend, "Segoe UI", system-ui, sans-serif;
    /* The values: the same face with tabular figures (Greg 25.10.2026: not
       the monospace look); a monospace face may come behind this name. */
    --cs-mono: Lexend, "Segoe UI", system-ui, sans-serif;
    --cs-brand: "Alethia Next", Lexend, "Segoe UI", system-ui, sans-serif;
    /* Where the room is tight, the room plan and the week's blocks: Lexend
       runs about 7 % wider, Roboto as narrow as the face before it (Greg,
       15.11.2026). */
    --cs-dense: "Roboto Dense", "Segoe UI", system-ui, sans-serif;
    --cs-icons: "Material Symbols Rounded";

    /* ---- Text sizes: the steps the pages use (measured 27.10.2026). In
       the console, 13 the running text and the tabs, 12 a second line, 11
       an uppercase label, 14 a section's title, 20 a page's title, 22 a
       figure; on the sign-in pages 22 the title, 15 the button. A size met
       on one element only stays written where it is. ---- */
    --cs-fs-xs: 11px; --cs-fs-sm: 12px; --cs-fs-md: 13px; --cs-fs-lg: 14px;
    --cs-fs-xl: 15px; --cs-fs-2xl: 20px; --cs-fs-3xl: 22px;
    --cs-lh: 1.45; --cs-lh-title: 1.3;

    /* ---- Spacing: the steps the console uses ---- */
    --cs-sp-1: 2px; --cs-sp-2: 4px; --cs-sp-3: 6px; --cs-sp-4: 8px; --cs-sp-5: 10px;
    --cs-sp-6: 12px; --cs-sp-7: 14px; --cs-sp-8: 16px; --cs-sp-9: 20px; --cs-sp-10: 24px;

    /* ---- Radii ---- */
    --cs-r-s: 3px; --cs-r-m: 4px; --cs-r-l: 6px; --cs-r-xl: 12px; --cs-r-pill: 999px;

    /* ---- Motion ---- */
    --cs-dur: .15s;

    /* ---- The two sizes (Greg, 27.10.2026): "Souris" here, "Doigt" below.
       --cs-target is what a tap or a click reaches, 48 px in both (the touch
       area Material gave stays; 26.10.2026 the switches drawn at 32 px had
       lost it); --cs-control is the height a button or a field is drawn.
       The other "Doigt" values (text, rows, gaps) are set with lot R6,
       tried by Greg on a real tablet. ---- */
    --cs-target: 48px;
    --cs-control: 32px;
    /* The finger's least size (lot R6c): none in "Souris", where the
       Service's controls keep their size; in "Doigt" a control, a chip and
       a row of its lists are drawn at max(their size, these). */
    --cs-finger: 0px;
    --cs-finger-chip: 0px;
    --cs-finger-row: 0px;
    /* The Service's top bar (css/service.css): it holds the account at
       48 px, Today and the search at 44, where the Edition's is 46 px high
       (lot R6a); in "Doigt" it grows with the controls (lot R6c). */
    --cs-sv-top-h: 56px;
    /* The top bar's height where a page lays itself out under it: the
       Edition's, and the Service's below (lot R6b: the plan has both). */
    --cs-top-h: 46px;
    /* The plan's frame (lot R6b): the Edition's rail beside it, the footer
       under it; none in the Service, none framed in the Edition's page
       (js/plan-embed.js, html.rp-embed). */
    --cs-rail-w: 88px;
    --cs-footer-h: 28px;
    /* The plan's editing drawer: its tool rail, the panel beside it, the
       two together, the room's header over the panel (narrower under
       1280 px, below). */
    --cs-rpe-rail: 84px; --cs-rpe-panel: 312px; --cs-rpe-drawer: 396px; --cs-rpe-head: 60px;
  }
  :root:has(> body.sv-on) { --cs-top-h: var(--cs-sv-top-h); --cs-rail-w: 0px; }
  :root.rp-embed { --cs-top-h: 0px; --cs-rail-w: 0px; --cs-footer-h: 0px; }

  @media (min-resolution: 2dppx) { :root { --cs-lw: .5px; --cs-lwn: .5; } }
  @media (max-width: 1280px) { :root { --cs-rpe-panel: 264px; --cs-rpe-drawer: 348px; } }
  @media (max-width: 860px) { :root { --cs-ed-bleed: 14px; --cs-ed-foot-pad: 16px; } }

  /* ---- Day, "porcelaine" ---- */
  :root[data-theme="ivory"]:not([data-nuit]) {
    --cs-ground: radial-gradient(700px 380px at 20% 0%, #ffffff, transparent 65%), linear-gradient(180deg, #fdfcfa, #f6f4f0); --cs-ground-solid: #f6f4f0;
    --cs-bar: #ffffff;
    --cs-bg: #fffdfb;
    --cs-panel: #ffffff; --cs-panel-2: #f1ece3;
    /* By day the lines take the metal's lower shade, to stay seen on white. */
    --cs-line: color-mix(in srgb, var(--cs-logo-gold-lo) 50%, transparent);
    --cs-line-2: color-mix(in srgb, var(--cs-logo-gold-lo) 70%, transparent);
    --cs-gold: #8a6620; --cs-gold-solid-ink: #ffffff;
    --cs-gold-wash: linear-gradient(180deg, color-mix(in srgb, var(--cs-gold) 15%, transparent), color-mix(in srgb, var(--cs-gold) 6%, transparent));
    --cs-fg: #1f1b16; --cs-fg-2: #4e4539; --cs-fg-3: #72695b;
    --cs-ok: #1b7847; --cs-ok-bg: #e3f4ea;
    --cs-warn: #9a6200; --cs-warn-bg: #fdf1dc;
    --cs-crit: #c0362c; --cs-crit-bg: #fde6e4; --cs-crit-ink: #ffffff;
    --cs-info: #2f6aa8; --cs-info-bg: #e5eef8;
    --cs-attn: #a85000; --cs-attn-bg: rgba(230, 126, 0, .12); --cs-attn-line: rgba(230, 126, 0, .25);
    --cs-blocked: #4e4539; --cs-blocked-bg: #e9e1d8;
    --cs-tip-bg: #353029; --cs-tip-fg: #f8efe7;
    --cs-scheme: light;
    --cs-lunch: #4d6544;
    --cs-wk-zone: #1e78c8;
    --cs-wk-ink-shadow: 0 1px 2px rgba(255, 255, 255, .7);
    --cs-wk-zone-shadow: 0 1px 2px rgba(255, 255, 255, .6);
    --cs-ob-shadow: 0 1px 2px rgba(255, 255, 255, .7);
    --cs-ob-strip-shadow: 0 10px 14px -12px rgba(80, 60, 20, .35);
    --cs-plan-bistro: #3d6a8c;
    --cs-plan-resto: #1f7d75;
    --cs-ed-dot: var(--cs-logo-gold-mid);
    /* The plan by day (lot R6b). */
    --cs-pl-floor: #ffffff; --cs-pl-grid: rgba(78, 69, 57, .05); --cs-pl-grid-major: rgba(78, 69, 57, .1);
    --cs-pl-wall: #4d463e; --cs-pl-window: #2c7a76; --cs-pl-glass: #2c7a76;
    --cs-pl-table: #ecd3a6; --cs-pl-table-rim: #7a5734; --cs-pl-chair: #635a51; --cs-pl-chair-seat: #6a6158;
    --cs-pl-baby: #c2577f;
    --cs-pl-leather: #7d5c42; --cs-pl-wood: #8a6440; --cs-pl-column: #d2c5b4; --cs-pl-plant: #b9dca8;
    --cs-pl-leaf: #3f6b38; --cs-pl-hearth: #4e4539; --cs-pl-ember: #e8864a; --cs-pl-sofa: #d7b7a8;
    --cs-pl-canopy: #3f7a52; --cs-pl-canopy-veil: color-mix(in srgb, var(--cs-pl-canopy) 14%, transparent);
    --cs-pl-shadow: drop-shadow(0 1px 2px rgba(74, 52, 30, .30));
    --cs-pl-gap-warn: #f29d0c; --cs-pl-extra-chair: #00838f; --cs-pl-extra-chair-ring: #004d55;
    --cs-pl-invalid: #ba1a1a; --cs-pl-invalid-bg: #ffdad6; --cs-pl-invalid-ink: #410002;
    --cs-pl-mat-tile: #e2eaee; --cs-pl-mat-wood: #ecd8bb; --cs-pl-mat-concrete: #e4e1dc; --cs-pl-mat-pavers: #ead7cc;
    --cs-pl-mat-slabs: #ebe6da; --cs-pl-mat-grass: #d4ebc7; --cs-pl-mat-gravel: #e2ddd2; --cs-pl-mat-sand: #f3e5c3;
    --cs-pl-mat-carpet: #e8d9e5; --cs-pl-motif-opacity: 0.09; --cs-pl-mat-tile-motif: #3c4a52;
    --cs-pl-mat-wood-motif: #5a3f24; --cs-pl-mat-concrete-motif: #4a4640; --cs-pl-mat-pavers-motif: #5a3a2c;
    --cs-pl-mat-slabs-motif: #4c4638; --cs-pl-mat-grass-motif: #2e5a22; --cs-pl-mat-gravel-motif: #4e4638;
    --cs-pl-mat-sand-motif: #6a5428; --cs-pl-mat-carpet-motif: #5a3a52;
    --cs-ev-neutral: #6d5c3f; --cs-ev-rose: #b0405f; --cs-ev-gold: #8a6100; --cs-ev-blue: #2f6aa8;
    --cs-ev-green: #3b6d2e; --cs-ev-violet: #6c4fa8; --cs-ev-teal: #00696b;
    --cs-svc-2: #8a5bb5; --cs-svc-3: #2f7f78; --cs-svc-4: #b5485f;
    --cs-svc-5: #4a73b5; --cs-svc-6: #5f8a2f; --cs-svc-7: #8a6a4a; --cs-svc-8: #6b6b6b;
    --cs-season-0: #ffdea8; --cs-season-1: #cfebc1; --cs-season-2: #f7dfbb; --cs-season-3: #e9e1d8;
    --cs-we-panel-shadow: 0 3px 12px rgba(80, 60, 20, .1);
    --cs-we-btn-from: rgba(253, 252, 248, .99); --cs-we-btn-to: rgba(244, 241, 232, .99);
  }

  /* ---- "Doigt": automatic on a touch screen without a mouse, or chosen
     for the device in Appareils (data-taille on <html>, lot R6) ---- */
  @media (pointer: coarse) and (hover: none) { :root:not([data-taille="souris"]) { --cs-control: 48px; --cs-finger: 48px; --cs-finger-chip: 36px; --cs-finger-row: 56px; --cs-sv-top-h: 72px; } }
  :root[data-taille="doigt"] { --cs-control: 48px; --cs-finger: 48px; --cs-finger-chip: 36px; --cs-finger-row: 56px; --cs-sv-top-h: 72px; }

  /* ---- The plan's editor inside the Edition (html.rp-embed): its floor is
     the console's ground, in both themes (28.10.2026) ---- */
  :root.rp-embed, :root.rp-embed[data-theme="ivory"]:not([data-nuit]) { --cs-pl-floor: var(--cs-bg); }

  /* ---- The public pages (widget, booking, the restaurant's site) wear the
     restaurant's colours and face (Greg, 27.10.2026): its script sets these
     same variables on <html>, from the restaurant's choices. ---- */
  /* The booking widget (widget.html, lot R7c): its eight themes, chosen by
     the restaurant (data-theme on <html>, js/widget-theme.js): grounds,
     text, outline, primary and its container, error, faces, corners and
     shadow. */
  :root[data-theme="nuit"] {
    --w-bg: #17130e; --w-s: #231f1a; --w-s2: #2e2924; --w-on: #ebe1d9; --w-onv: #bcb0a0; --w-ol: #4e4539;
    --w-pri: #f8bc49; --w-onp: #412d00; --w-pc: #5e4200; --w-opc: #ffdea8; --w-err: #ffb4ab; --w-errc: #5c1310;
    --w-hf: "Roboto W", system-ui, sans-serif; --w-bf: "Roboto W", system-ui, sans-serif; --w-hw: 400; --w-hls: 0;
    --w-r: 28px; --w-cr: 12px; --w-shadow: 0 1px 3px rgba(0,0,0,.3), 0 8px 24px rgba(0,0,0,.25);
  }
  :root[data-theme="ivoire"] {
    --w-bg: #fff8f3; --w-s: #f5ece3; --w-s2: #efe6dd; --w-on: #1f1b16; --w-onv: #4e4539; --w-ol: #d2c5b4;
    --w-pri: #7c5800; --w-onp: #ffffff; --w-pc: #ffdea8; --w-opc: #271900; --w-err: #ba1a1a; --w-errc: #ffdad6;
    --w-hf: "Roboto W", system-ui, sans-serif; --w-bf: "Roboto W", system-ui, sans-serif; --w-hw: 400; --w-hls: 0;
    --w-r: 28px; --w-cr: 12px; --w-shadow: 0 1px 3px rgba(0,0,0,.08), 0 8px 24px rgba(0,0,0,.08);
  }
  :root[data-theme="bistrot"] {
    --w-bg: #f6efe4; --w-s: #ece2d2; --w-s2: #e3d6c3; --w-on: #2b1d16; --w-onv: #6b5647; --w-ol: #d8c7b1;
    --w-pri: #8c1c2b; --w-onp: #ffffff; --w-pc: #f3d4d4; --w-opc: #3d0a12; --w-err: #ba1a1a; --w-errc: #ffdad6;
    --w-hf: "Playfair Display W", Georgia, serif; --w-bf: "Roboto W", system-ui, sans-serif; --w-hw: 700; --w-hls: 0;
    --w-r: 6px; --w-cr: 4px; --w-shadow: 0 1px 3px rgba(43,29,22,.12), 0 8px 24px rgba(43,29,22,.10);
  }
  :root[data-theme="medit"] {
    --w-bg: #fbfaf7; --w-s: #f1ede5; --w-s2: #e8e2d7; --w-on: #1f2a33; --w-onv: #5a6570; --w-ol: #dcd6ca;
    --w-pri: #c4622d; --w-onp: #ffffff; --w-pc: #f7dccb; --w-opc: #4a1d05; --w-err: #ba1a1a; --w-errc: #ffdad6;
    --w-hf: "DM Serif Display W", Georgia, serif; --w-bf: "DM Sans W", system-ui, sans-serif; --w-hw: 400; --w-hls: 0;
    --w-r: 24px; --w-cr: 20px; --w-shadow: 0 1px 3px rgba(31,42,51,.10), 0 8px 24px rgba(31,42,51,.08);
  }
  :root[data-theme="jardin"] {
    --w-bg: #eef3ea; --w-s: #e1eadb; --w-s2: #d4e0cc; --w-on: #1d2a1f; --w-onv: #4d5d4f; --w-ol: #c7d4c0;
    --w-pri: #3f6b47; --w-onp: #ffffff; --w-pc: #cfe6cf; --w-opc: #0e2a15; --w-err: #ba1a1a; --w-errc: #ffdad6;
    --w-hf: "Fraunces W", Georgia, serif; --w-bf: "Work Sans W", system-ui, sans-serif; --w-hw: 600; --w-hls: 0;
    --w-r: 24px; --w-cr: 14px; --w-shadow: 0 1px 3px rgba(29,42,31,.10), 0 8px 24px rgba(29,42,31,.08);
  }
  :root[data-theme="leman"] {
    --w-bg: #f3f7fa; --w-s: #e5edf3; --w-s2: #d8e3ec; --w-on: #0f2433; --w-onv: #4a5f6e; --w-ol: #cbd8e2;
    --w-pri: #1f5f8b; --w-onp: #ffffff; --w-pc: #d3e6f5; --w-opc: #062238; --w-err: #ba1a1a; --w-errc: #ffdad6;
    --w-hf: "Manrope W", system-ui, sans-serif; --w-bf: "Manrope W", system-ui, sans-serif; --w-hw: 700; --w-hls: 0;
    --w-r: 16px; --w-cr: 10px; --w-shadow: 0 1px 3px rgba(15,36,51,.10), 0 8px 24px rgba(15,36,51,.08);
  }
  :root[data-theme="ardoise"] {
    --w-bg: #1c1f22; --w-s: #272b2f; --w-s2: #31363b; --w-on: #e8e6e1; --w-onv: #a4a7a8; --w-ol: #3b4045;
    --w-pri: #e8e6e1; --w-onp: #1c1f22; --w-pc: #3b4045; --w-opc: #e8e6e1; --w-err: #ffb4ab; --w-errc: #5c1310;
    --w-hf: "Space Grotesk W", system-ui, sans-serif; --w-bf: "Space Grotesk W", system-ui, sans-serif; --w-hw: 500; --w-hls: 0;
    --w-r: 8px; --w-cr: 6px; --w-shadow: 0 1px 3px rgba(0,0,0,.3), 0 8px 24px rgba(0,0,0,.25);
  }
  :root[data-theme="brasserie"] {
    --w-bg: #102a43; --w-s: #1a3a57; --w-s2: #234866; --w-on: #f0f4f8; --w-onv: #9fb3c8; --w-ol: #2f4b66;
    --w-pri: #f0b429; --w-onp: #102a43; --w-pc: #3b3a1f; --w-opc: #fce588; --w-err: #ffb4ab; --w-errc: #5c1310;
    --w-hf: "Bebas Neue W", Impact, sans-serif; --w-bf: "Manrope W", system-ui, sans-serif; --w-hw: 400; --w-hls: .04em;
    --w-r: 14px; --w-cr: 10px; --w-shadow: 0 1px 3px rgba(0,0,0,.3), 0 8px 24px rgba(0,0,0,.25);
  }
  /* The classic booking page (booking.html, lot R7c): the restaurant's
     three colours (--widget-bg, --widget-accent, --widget-text, replaced on
     <html> by js/booking-theme.js from its address; the accent's tint
     follows it), the page's grounds, and every tone derived from them
     (--bk-*), at night and by day
     (theme=light, html.theme-light). */
  :root {
    --widget-bg: #12121a;
    --widget-accent: #d4b24e;
    --widget-text: #ffffff;
    --widget-body-bg: #0a0a0c;
    --widget-input-bg: #1e1e2a;
    --widget-input-border: rgba(200, 162, 74, 0.25);
    --widget-submit-text: #000;
    --widget-accent-tint: #c8a24a;
    --bk-bg: var(--widget-bg);
    --bk-on: var(--widget-text);
    --bk-pri: var(--widget-accent);
    --bk-on-pri: var(--widget-submit-text);
    --bk-s2: color-mix(in srgb, var(--widget-text) 8%, var(--widget-bg));
    --bk-s3: color-mix(in srgb, var(--widget-text) 12%, var(--widget-bg));
    --bk-onv: color-mix(in srgb, var(--widget-text) 72%, var(--widget-bg));
    --bk-ol: color-mix(in srgb, var(--widget-text) 38%, var(--widget-bg));
    --bk-olv: color-mix(in srgb, var(--widget-text) 16%, var(--widget-bg));
    --bk-pc: color-mix(in srgb, var(--widget-accent) 24%, var(--widget-bg));
    --bk-on-pc: color-mix(in srgb, var(--widget-accent) 45%, var(--widget-text));
    --bk-err: #ffb4ab;
    --bk-ec: color-mix(in srgb, #93000a 60%, var(--widget-bg));
    --bk-ok: #7fd6a0;
    --bk-oc: color-mix(in srgb, #1e5236 70%, var(--widget-bg));
    --bk-font: Roboto, "Segoe UI", system-ui, -apple-system, Helvetica, Arial, sans-serif;
    --bk-cal-mark: rgba(255, 255, 255, 0.5);
    --bk-slot-line-day: #d5cfc5;
    --bk-step-label-day: #999999;
    --bk-shade-12: rgba(0, 0, 0, .12); --bk-shade-18: rgba(0, 0, 0, .18); --bk-shade-20: rgba(0, 0, 0, .2); --bk-shade-25: rgba(0, 0, 0, .25);
  }
  :root.theme-light {
    --widget-bg: #ffffff;
    --widget-text: #1a1a1a;
    --widget-body-bg: #f5f3ee;
    --widget-input-bg: #fafaf8;
    --widget-input-border: #e0dcd4;
    --widget-submit-text: #fff;
    --bk-err: #ba1a1a;
    --bk-ec: #ffdad6;
    --bk-ok: #1b6c43;
    --bk-oc: #d7f5e1;
  }
  /* Every theme: the events' hues (the console's by day, on the widget's
     light and dark grounds alike) and the bar's list of the phone. */
  :root {
    --w-ev-neutral: #6d5c3f; --w-ev-rose: #b0405f; --w-ev-gold: #8a6100; --w-ev-blue: #2f6aa8;
    --w-ev-green: #3b6d2e; --w-ev-violet: #6c4fa8; --w-ev-teal: #00696b;
    --w-opt-fg: #1f1b16; --w-opt-bg: #ffffff;
  }
  /* The restaurant's own page (site.html, lot R7d): its three templates,
     chosen by data-template on <html> (js/site.js), classic by default;
     the restaurant's colour (--site-accent, and the ink that reads on it,
     --site-on-accent) set on <html> by js/site.js. The faces are the
     widget's, the same files. */
  :root {
    --site-accent: #9a3412; --site-on-accent: #ffffff;
    --site-bg: #faf7f2; --site-fg: #1f1b16; --site-muted: #6b6155; --site-surface: #ffffff; --site-line: #e7dfd3;
    --site-font-head: "Playfair Display W", Georgia, "Times New Roman", serif;
    --site-font-body: "DM Sans W", "Segoe UI", system-ui, sans-serif;
    --site-head-weight: 700; --site-radius: 4px;
    /* the grounds a logo gets (js/logo-tone.js), the framed photo's
       shadow, the chalkboard of the bistro's menu, the enlarged photo's
       scrim, the preview's yellow bar */
    --site-logo-dark: #2f2a24; --site-logo-light: #ffffff;
    --site-shade: rgba(42, 36, 28, .18);
    --site-board: #23211d; --site-board-ink: #f3ebdd; --site-board-frame: #6f5a45; --site-board-shade: rgba(0, 0, 0, .45);
    --site-board-rule: rgba(243, 235, 221, .2); --site-board-dots: rgba(243, 235, 221, .45); --site-board-muted: rgba(243, 235, 221, .7);
    --site-scrim: rgba(0, 0, 0, .82); --site-scrim-button: rgba(255, 255, 255, .14); --site-scrim-ink: #ffffff;
    --site-note-bg: #fff4d6; --site-note-ink: #5e4200; --site-note-line: #f0d58f;
    --site-note-button: #ffffff; --site-note-button-line: #c79a2a; --site-note-button-hover: #ffe9ad;
  }
  :root[data-template="modern"] {
    --site-bg: #ffffff; --site-fg: #111418; --site-muted: #5b6270; --site-surface: #f4f5f7; --site-line: #e3e6ea;
    --site-font-head: "Space Grotesk W", "Segoe UI", system-ui, sans-serif;
    --site-font-body: "Manrope W", "Segoe UI", system-ui, sans-serif;
    --site-radius: 14px;
  }
  :root[data-template="bistro"] {
    --site-bg: #f3ebdd; --site-fg: #2a241c; --site-muted: #6e604c; --site-surface: #fbf6ec; --site-line: #dccfb8;
    --site-font-head: "Fraunces W", Georgia, serif;
    --site-font-body: "Work Sans W", "Segoe UI", system-ui, sans-serif;
    --site-head-weight: 600; --site-radius: 8px;
  }
  /* The booking form inside the page (css/widget.css) takes the
     template's fonts, colours and corners; in modern it sits on the grey
     band, the form on white. */
  :root[data-template] {
    --w-bg: var(--site-surface);
    --w-s: color-mix(in srgb, var(--site-fg) 5%, var(--site-surface));
    --w-s2: color-mix(in srgb, var(--site-fg) 10%, var(--site-surface));
    --w-on: var(--site-fg); --w-onv: var(--site-muted); --w-ol: var(--site-line);
    --w-pri: var(--site-accent); --w-onp: var(--site-on-accent);
    --w-pc: color-mix(in srgb, var(--site-accent) 16%, var(--site-surface));
    --w-opc: var(--site-fg);
    --w-err: #b3261e; --w-errc: #fde7e4;
    --w-hf: var(--site-font-head); --w-bf: var(--site-font-body); --w-hw: var(--site-head-weight); --w-hls: 0;
    --w-r: var(--site-radius); --w-cr: var(--site-radius); --w-shadow: none;
  }
  :root[data-template="modern"] { --w-bg: var(--site-bg); }
  /* The directory's map (directory.html, js/directory-map.js, lot R7d): a
     restaurant's pin in the brand's gold, the one chosen in green, their
     ink and edge. */
  :root { --cs-map-pin: var(--cs-gold); --cs-map-pin-on: #b3cea8; --cs-map-pin-ink: var(--cs-panel); }
  :root[data-theme="ivory"]:not([data-nuit]) { --cs-map-pin-on: #4d6544; }
}
