/* Bashouk — source de vérité CSS. Tokens et règles : DESIGN_SYSTEM.md (Option 1 Minimaliste).
   RTL : uniquement des propriétés logiques (inline-start/end), jamais left/right. */

/* ---------- Fonts (self-hostées : latin = Inter/Playfair, hébreu = Heebo/Frank Ruhl) ---------- */
@font-face { font-family: 'Frank Ruhl Libre'; font-style: normal; font-weight: 300; font-display: swap;
  src: url('../fonts/frankruhl-he-300.woff2') format('woff2');
  unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; }
@font-face { font-family: 'Frank Ruhl Libre'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('../fonts/frankruhl-he-400.woff2') format('woff2');
  unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; }
@font-face { font-family: 'Frank Ruhl Libre'; font-style: normal; font-weight: 500; font-display: swap;
  src: url('../fonts/frankruhl-he-500.woff2') format('woff2');
  unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; }
@font-face { font-family: 'Heebo'; font-style: normal; font-weight: 300; font-display: swap;
  src: url('../fonts/heebo-he-300.woff2') format('woff2');
  unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; }
@font-face { font-family: 'Heebo'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('../fonts/heebo-he-400.woff2') format('woff2');
  unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; }
@font-face { font-family: 'Heebo'; font-style: normal; font-weight: 500; font-display: swap;
  src: url('../fonts/heebo-he-500.woff2') format('woff2');
  unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 300; font-display: swap;
  src: url('../fonts/inter-la-300.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC, U+2122; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('../fonts/inter-la-400.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC, U+2122; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap;
  src: url('../fonts/inter-la-500.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC, U+2122; }
@font-face { font-family: 'Playfair Display'; font-style: italic; font-weight: 400; font-display: swap;
  src: url('../fonts/playfair-la-400i.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC, U+2122; }
@font-face { font-family: 'Playfair Display'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('../fonts/playfair-la-400.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC, U+2122; }
@font-face { font-family: 'Playfair Display'; font-style: normal; font-weight: 600; font-display: swap;
  src: url('../fonts/playfair-la-600.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC, U+2122; }

/* ---------- Tokens ---------- */
:root {
  --ground: #FAFAFA; --surface: #FFFFFF;
  /* --ink-3 : #707070 et pas #999 — 4.6:1 sur --ground, minimum WCAG AA pour les hints (12.5px) */
  --ink: #111111; --ink-2: #666666; --ink-3: #707070; --line: #EAEAEA;
  --brand: #111111; --brand-soft: #F0F0F0; --btn-ink: #FFFFFF;
  --brand-hover: #2E2E2E;
  --accent: #333333; --accent-soft: #F5F5F5;
  /* Sémantique (palette 1A) : même luminosité/chroma (oklch ≈ 0.48/0.05) — vert = succès, brique = destructif.
     Réservés au sens (payé, marge, erreurs, actions destructives), jamais décoratifs.
     Valeurs thème sombre quand il arrivera : --ok #93A487, --danger #B07A72. */
  --ok: #57674E; --ok-soft: #EEF1EB;
  --danger: #7A4038; --danger-soft: #F3EBEA; --danger-hover: #5E322C;
  --st-pend: #666666; --st-pend-bg: #F0F0F0;
  --st-conf: #111111; --st-conf-bg: #EAEAEA;
  --st-ready: #111111; --st-ready-bg: #FFFFFF;
  --st-done: #111111; --st-done-bg: #E0E0E0;
  --st-cancel: #707070; --st-cancel-bg: transparent;
  --st-unpaid: #111111; --st-unpaid-bg: transparent;
  --shadow: none; /* Plus d'ombres */
  /* Séries graphiques (Monochrome) */
  --c1: #111111; --c2: #888888;
  --grid-line: #EAEAEA;
}

/* ---------- Base ---------- */
* { box-sizing: border-box; }
/* clip et non hidden : hidden crée un conteneur de défilement qui casse position:sticky (panier magasin) */
html, body { overflow-x: clip; width: 100%; max-width: 100vw; }
body {
  margin: 0; background: var(--ground); color: var(--ink);
  font-family: 'Inter', 'Heebo', system-ui, -apple-system, sans-serif;
  font-size: 15px; line-height: 1.6; font-weight: 300;
  /* Sticky footer : le footer est toujours en bas de l'écran, jamais au milieu du vide */
  min-block-size: 100vh;
  min-block-size: 100dvh;
  display: flex; flex-direction: column;
}
h1, h2, .display { font-family: 'Inter', 'Heebo', system-ui, -apple-system, sans-serif; font-weight: 500; line-height: 1.2; text-wrap: balance; letter-spacing: -0.03em; }
h1 { font-size: 28px; margin-block: 0 4px; font-weight: 500; letter-spacing: -0.035em; }
h2 { font-size: 22px; margin-block: 0 4px; font-weight: 500; letter-spacing: -0.025em; }
h3 { font-size: 16px; margin-block: 0 4px; font-weight: 500; letter-spacing: -0.015em; }
a { color: var(--ink); text-decoration: underline; }
:focus-visible { outline: 1px solid var(--ink); outline-offset: 2px; border-radius: 0; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
.num { font-variant-numeric: tabular-nums; }
.muted { color: var(--ink-2); }
.hint { color: var(--ink-3); font-size: 12.5px; }
/* Masqué visuellement mais focusable (input fichier derrière un label-bouton) */
.vh { position: absolute; inline-size: 1px; block-size: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.vh:focus-visible + label { outline: 1px solid var(--ink); outline-offset: 2px; }

.wrap { max-inline-size: 1040px; inline-size: 100%; margin-inline: auto; padding-inline: 20px; padding-block-end: 64px; flex: 1; }
.narrow { max-inline-size: 440px; }

/* ---------- Header ---------- */
header.site {
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  padding: 14px 20px; background: var(--surface); border-block-end: 1px solid var(--line);
}
/* Desktop : largeur au contenu → logo et nav restent sur la même ligne.
   Mobile (media 768px) : passe en 100% pour poser le hamburger au bord. */
.brand-bar { display: flex; align-items: center; gap: 12px; flex: 1; justify-content: space-between; }
/* 500 et non 600 : seuls Inter 300/400/500 sont self-hostés — demander 600 faisait fabriquer un
   faux-gras par le navigateur, différent du wordmark des fichiers logo (générés en Inter 500). */
.logo { font-family: 'Inter', 'Heebo', system-ui, -apple-system, sans-serif; font-size: 22px; color: var(--ink); text-decoration: none; font-weight: 500; letter-spacing: -0.04em; }
.logo span { color: var(--ink-2); }
header.site nav { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-inline-start: auto; }
.hamburger { display: none; background: none; border: none; cursor: pointer; color: var(--ink); padding: 4px; transition: transform .2s ease; }
.hamburger[aria-expanded="true"] { transform: rotate(90deg); }

/* Animations d'ouverture (menu mobile + accordéons) */
@keyframes nav-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@keyframes acc-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
header.site nav a { color: var(--ink-2); text-decoration: none; font-weight: 400; font-size: 14px; padding: 6px 10px; border-radius: 0; }
header.site nav a:hover { color: var(--ink); background: var(--brand-soft); text-decoration: none; }
.lang-switch { display: flex; gap: 2px; margin-inline-start: 8px; }
.lang-switch a { font-size: 12.5px; padding: 4px 7px; text-decoration: none; }
.lang-switch a.on { color: var(--ink); background: var(--brand-soft); }

/* ---------- Bandeau email non confirmé (mode doux — n'empêche rien) ---------- */
.verify-banner {
  display: flex; gap: 10px; align-items: center; justify-content: space-between; flex-wrap: wrap;
  margin-block-start: 14px; padding: 8px 14px; font-size: 13px; color: var(--ink-2);
  background: var(--surface); border: 1px solid var(--line); border-inline-start: 3px solid var(--ink);
}

/* ---------- Flash ---------- */
.flashes { display: grid; gap: 8px; margin-block: 16px; }
.flash { padding: 10px 16px; border: 1px solid var(--line); border-radius: 0; font-weight: 400; font-size: 14px; background: var(--surface); }
.flash.success { border-color: var(--ok); color: var(--ok); background: var(--ok-soft); }
.flash.error { border-color: var(--danger); color: var(--danger); background: var(--danger-soft); }

/* ---------- Cards, sections ---------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 2px; padding: 24px; }
section.block { margin-block-start: 32px; }
.section-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-block-end: 12px; border-block-end: 1px solid var(--line); padding-block-end: 8px; }
.section-head h1, .section-head h2 { margin: 0; }
.section-head .spacer { flex: 1; }

/* ---------- Forms ---------- */
form.stack { display: grid; gap: 16px; }
.field { position: relative; margin-block-start: 12px; }
.field > label {
  position: absolute;
  inset-block-start: 14px;
  inset-inline-start: 8px;
  font-size: 15px;
  color: var(--ink-3);
  background: var(--surface);
  padding: 0 4px;
  pointer-events: none;
  transition: all 0.2s cubic-bezier(0.2, 0.7, 0.3, 1);
  margin: 0;
  font-weight: 400;
  transform-origin: left top;
}
[dir="rtl"] .field > label { transform-origin: right top; }
.field:focus-within > label,
.field.has-val > label {
  transform: translateY(-24px) scale(0.75);
  color: var(--ink);
}
input[type="text"], input[type="email"], input[type="password"], input[type="tel"],
input[type="number"], input[type="url"], select, textarea {
  font: inherit; color: var(--ink); background: var(--surface);
  border: 1px solid var(--line); border-radius: 4px; padding: 14px 12px; inline-size: 100%; transition: border-color 0.2s, box-shadow 0.2s;
}
input::placeholder, textarea::placeholder { color: var(--ink-3); opacity: 0; transition: opacity 0.2s; }
.field:focus-within input::placeholder, .field.has-val input::placeholder { opacity: 1; }
input:focus, select:focus, textarea:focus { border-color: var(--ink); outline: none; box-shadow: 0 0 0 1px var(--ink); }
/* Alignement en haut : un champ suivi d'un hint est plus haut que ses voisins ; aligner en bas
   décalerait les inputs entre eux (ex. durée de créneau vs prix du créneau). */
.row { display: flex; gap: 12px; flex-wrap: wrap; align-items: flex-start; }
.row .field { flex: 1; min-inline-size: 140px; }

/* Champ fichier : le label flottant de .field ne peut pas se poser sur un <input type=file>
   (il chevauchait le bouton natif). Input masqué + label-bouton, comme les cartes catalogue. */
.field-file { margin-block-start: 12px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.field-file > .ff-label { font-size: 12.5px; color: var(--ink-3); }
.field-file > .ff-name { color: var(--ink-2); font-size: 12.5px; overflow-wrap: anywhere; }
.check { display: flex; align-items: center; gap: 8px; font-weight: 400; }

/* ---------- Buttons ---------- */
.btn {
  font-family: 'Inter', 'Heebo', sans-serif; font-weight: 500; letter-spacing: .05em; text-transform: uppercase;
  border-radius: 0; padding: 12px 24px;
  border: 1px solid transparent; cursor: pointer; min-block-size: 44px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none;
  font-size: 13px;
}
.btn-pri { background: var(--brand); color: var(--btn-ink); border-color: var(--brand); }
.btn-pri:hover { background: var(--brand-hover); border-color: var(--brand-hover); }
.btn-sec { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-sec:hover { background: var(--brand-soft); border-color: var(--ink); }
/* Tertiaire : actions rares ou de repli — texte souligné, sans cadre */
.btn-ter { background: none; border-color: transparent; color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; padding-inline: 8px; }
.btn-ter:hover { color: var(--ink); }
/* Destructif : hue brique, mêmes 3 rangs. Plein = irréversible uniquement. */
.btn-dan { background: var(--danger); color: var(--btn-ink); border-color: var(--danger); }
.btn-dan:hover { background: var(--danger-hover); border-color: var(--danger-hover); }
.btn-dan-sec { background: transparent; color: var(--danger); border-color: var(--line); }
.btn-dan-sec:hover { background: var(--danger-soft); border-color: var(--danger); }
.btn-dan-ter { background: none; border-color: transparent; color: var(--danger); text-decoration: underline; text-underline-offset: 3px; padding-inline: 8px; }
.btn-dan-ter:hover { color: var(--danger-hover); }
.btn-sm { padding: 8px 16px; min-block-size: 32px; font-size: 11px; }
/* États : désactivé (gris) + envoi… (spinner, le rang garde ses couleurs) */
.btn:disabled, .btn[aria-disabled="true"] { background: var(--line); color: var(--ink-3); border-color: var(--line); cursor: not-allowed; }
.btn-ter:disabled, .btn-dan-ter:disabled { background: none; border-color: transparent; }
.btn.is-loading { pointer-events: none; cursor: progress; }
.btn.is-loading::before {
  content: ""; inline-size: 12px; block-size: 12px; flex: none; border-radius: 50%;
  border: 1.5px solid currentColor; border-inline-start-color: transparent;
  animation: btn-spin .7s linear infinite;
}
@keyframes btn-spin { to { transform: rotate(360deg); } }
/* Sans motion, le cercle cassé statique ferait bizarre : le libellé « Envoi… » suffit */
@media (prefers-reduced-motion: reduce) { .btn.is-loading::before { display: none; } }

/* ---------- Pills (statuts) ---------- */
.pill { display: inline-flex; align-items: center; gap: 6px; border-radius: 0; padding: 4px 10px; font-size: 12px; font-weight: 500; white-space: nowrap; border: 1px solid var(--line); text-transform: uppercase; letter-spacing: 0.05em; }
.pill::before { content: ""; inline-size: 6px; block-size: 6px; background: currentColor; }
.p-pending { color: var(--st-pend); background: var(--st-pend-bg); border-color: var(--line); }
.p-confirmed { color: var(--st-conf); background: var(--st-conf-bg); }
.p-ready { color: var(--st-ready); background: var(--st-ready-bg); border-color: var(--ink); }
.p-delivered, .p-picked_up { color: var(--st-done); background: var(--st-done-bg); }
.p-cancelled { color: var(--st-cancel); background: var(--st-cancel-bg); text-decoration: line-through; }
.p-paid { color: var(--ok); background: var(--ok-soft); border-color: var(--ok); }
.p-paid::before { content: "✓"; background: none; inline-size: auto; block-size: auto; }
.p-unpaid { color: var(--st-unpaid); background: var(--surface); text-decoration: underline; border-color: transparent; padding-inline: 0; }
.p-unpaid::before { display: none; }

/* ---------- Landing ---------- */
.hero { text-align: center; padding-block: 80px 60px; }
.hero .lockup { font-size: clamp(48px, 9vw, 80px); font-family: 'Inter', 'Heebo', system-ui, -apple-system, sans-serif; font-weight: 500; letter-spacing: -0.04em; }
.hero .lockup span { color: var(--ink-2); }
.hero .tagline { font-size: 19px; color: var(--ink-2); margin-block: 16px 12px; font-weight: 300; }
.hero .sub { color: var(--ink-2); max-inline-size: 56ch; margin-inline: auto; font-size: 15px; }
.hero .ctas { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-block-start: 36px; }

/* ---------- Stats tiles ---------- */
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; }
.tile { background: var(--surface); padding: 20px 16px; border: 1px solid var(--line); border-radius: 2px; }
.tile .k { font-size: 11px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
[dir="rtl"] .tile .k { letter-spacing: 0; font-weight: 500; }
.tile .v { font-family: 'Inter', 'Heebo', system-ui, -apple-system, sans-serif; font-weight: 500; font-size: 32px; letter-spacing: -0.04em; margin-block-start: 8px; }
.tile .v.pos { color: var(--ok); }

/* ---------- Tables ---------- */
.tbl-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 2px; }
table { border-collapse: collapse; inline-size: 100%; font-size: 13.5px; }
th { text-align: start; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2);
  padding: 12px 16px; border-block-end: 1px solid var(--line); font-weight: 500; white-space: nowrap; background: var(--surface); }
[dir="rtl"] th { letter-spacing: 0; }
td { padding: 12px 16px; border-block-end: 1px solid var(--line); vertical-align: top; background: var(--surface); }
tr:last-child td { border-block-end: none; }
td.amt { text-align: end; font-weight: 400; font-variant-numeric: tabular-nums; }

/* ---------- Invite link ---------- */
.invite { display: flex; align-items: stretch; flex-wrap: wrap; border: 1px solid var(--line); background: var(--surface); }
.invite input { flex: 1; min-inline-size: 220px; font-family: 'Inter', ui-monospace, monospace; font-size: 13px; border: none; }
.invite input:focus { box-shadow: inset 0 0 0 1px var(--ink); }
.invite form { display: contents; }
.invite .btn { border: none; border-inline-start: 1px solid var(--line); min-block-size: 0; white-space: nowrap; text-decoration: none; }
.invite .btn:hover { background: var(--brand-soft); opacity: 1; }

/* Listes à barres (meilleures ventes, compta) */
.bars-list { display: grid; gap: 12px; }
.bar-head { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.bar-track { background: var(--grid-line); block-size: 6px; margin-block-start: 4px; }
.bar-fill { background: var(--c1); block-size: 6px; }
/* Barres animées (Meilleures ventes) : largeur cible portée par --w, poussée à l'apparition.
   Scopé à .bars-anim → n'affecte pas les .bars-list de la compta. */
.bars-anim .bar-fill { inline-size: 0; transition: inline-size .8s cubic-bezier(.2, .7, .3, 1); }
.bars-anim.on .bar-fill { inline-size: var(--w, 0); }
.hero-num { font-family: 'Inter', 'Heebo', system-ui, -apple-system, sans-serif; font-weight: 500; font-size: 40px; line-height: 1.1; letter-spacing: -0.04em; }

/* Pulse de la cellule stock après mise à jour AJAX */
@keyframes stock-pulse { 0% { background: var(--brand-soft); } 100% { background: transparent; } }
.stock-flash { animation: stock-pulse .7s ease; }

/* ============================================================
   MOBILE — hybride : tableaux sur desktop, cartes au pouce.
   RTL-safe : uniquement des propriétés logiques.
   ============================================================ */

/* Le graphique tient toujours dans sa carte (barres proportionnelles) : jamais de scroll. */
.chart-scroll { overflow: visible; position: relative; }
/* État vide : message centré à la place d'une grille vide + dates « flottantes ». */
.chart-empty { display: none; position: absolute; inset: 0; align-items: center; justify-content: center; text-align: center; padding-inline: 16px; font-size: 13px; }
.chart-scroll.is-empty .chart-empty { display: flex; }
.chart-scroll.is-empty .xlab, .chart-scroll.is-empty .bar { visibility: hidden; }

/* Les liens/instructions de paiement ne débordent jamais */
.pay-item { flex-wrap: wrap; }
.pay-item a { word-break: break-all; min-inline-size: 0; }

@media (max-width: 768px) {

  /* ----- Tableaux → cartes (via data-label sur chaque td) ----- */
  .tbl-wrap { overflow-x: visible; }
  .tbl-wrap table, .tbl-wrap tbody, .tbl-wrap tr, .tbl-wrap td { display: block; inline-size: 100%; }
  .tbl-wrap thead { display: none; }
  .tbl-wrap tr {
    border: 1px solid var(--line); background: var(--surface);
    padding: 4px 14px; margin-block-end: 12px;
  }
  .tbl-wrap tr:last-child { margin-block-end: 0; }
  .tbl-wrap td {
    display: flex; justify-content: space-between; align-items: baseline;
    gap: 12px; flex-wrap: wrap; text-align: end;
    padding: 9px 0; border-block-end: 1px solid var(--line);
  }
  .tbl-wrap tr td:last-child { border-block-end: none; }
  .tbl-wrap td::before {
    content: attr(data-label);
    font-size: 11px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase;
    color: var(--ink-2); text-align: start; flex-shrink: 0;
  }
  [dir="rtl"] .tbl-wrap td::before { letter-spacing: 0; }
  .tbl-wrap td.amt { text-align: end; }
  /* Cellules contenant des formulaires (stock, actions commandes) : empilées proprement */
  .tbl-wrap td form.row, .tbl-wrap td .row { justify-content: flex-end; }
  .tbl-wrap td form.row input { flex: 1; min-inline-size: 0; max-inline-size: none !important; }

  /* Accordéon sur les tables (Commandes) */
  .tbl-wrap tr { cursor: pointer; position: relative; padding-inline-end: 32px; transition: background 0.2s; }
  .tbl-wrap tr::after { content: "↓"; position: absolute; inset-inline-end: 14px; inset-block-start: 14px; color: var(--ink-3); font-size: 14px; font-family: sans-serif; transition: transform 0.2s; }
  .tbl-wrap tr.open::after { transform: rotate(180deg); }
  /* Masquage scopé à tr:not(.open) : ainsi aucune règle ne doit "gagner" contre lui à l'ouverture
     (les :not() comptent dans la spécificité — un display:flex sur tr.open td perdrait toujours).
     .stock-val reste visible ligne fermée : le niveau de stock est L'info du tableau. */
  .tbl-wrap tr:not(.open) td:not(:first-child):not(.amt):not(.stock-val) { display: none; }
  .tbl-wrap tr:not(.open) td.amt, .tbl-wrap tr:not(.open) td.stock-val { border-block-end: none; }
  .tbl-wrap tr.open td { display: flex; animation: acc-in .22s ease backwards; }
  .tbl-wrap tr.open td:nth-child(3) { animation-delay: .03s; }
  .tbl-wrap tr.open td:nth-child(4) { animation-delay: .06s; }
  .tbl-wrap tr.open td:nth-child(5) { animation-delay: .09s; }
  .tbl-wrap tr.open td:nth-child(6) { animation-delay: .12s; }

  /* ----- Formulaires : une seule colonne au pouce ----- */
  .row .field { flex: 1 1 100%; }
  input[type="file"] { max-inline-size: 100%; font-size: 13px; }
  .hint { font-size: 13px; }

  /* ----- iOS : police < 16px dans un champ = zoom forcé au focus ----- */
  input[type="text"], input[type="email"], input[type="password"], input[type="tel"],
  input[type="number"], input[type="url"], select, textarea { font-size: 16px; }

  /* ----- Confort général petit écran ----- */
  .wrap { padding-inline: 16px; }
  header.site { padding: 12px 16px; flex-direction: column; align-items: flex-start; position: relative; }
  .brand-bar { inline-size: 100%; justify-content: space-between; }
  .hamburger { display: block; }
  /* Menu mobile en overlay : ancré sous le header, par-dessus le contenu (pas de push-down du reste de la page). Fond opaque + ligne de séparation, pas d'ombre (design flat). */
  header.site nav { display: none; position: absolute; inset-block-start: 100%; inset-inline: 0; z-index: 50; margin-inline-start: 0; flex-direction: column; align-items: stretch; gap: 8px; padding: 12px 16px; background: var(--surface); border-block-end: 1px solid var(--line); }
  header.site nav.open { display: flex; animation: nav-in .25s cubic-bezier(.2, .7, .3, 1); }
  header.site nav form { display: flex; }
  header.site nav form .btn { width: 100%; justify-content: flex-start; }
  header.site nav .lang-switch { margin-inline-start: 0; margin-block-start: 8px; }
  .brand-bar .lang-switch { margin-block-start: 0; }
  
  .card { padding: 20px; border-radius: 2px; border: 1px solid var(--line); }
  .hero { padding-block: 48px 32px; }
  
  /* Formulaires et tuiles adaptées */
  .invite { display: grid; grid-template-columns: 1fr auto; align-items: stretch; border-radius: 2px; }
  .invite input { grid-column: 1; border-block-end: 1px solid var(--line); border-inline-end: 1px solid var(--line); padding: 12px; min-inline-size: 0; }
  .invite > .btn { grid-column: 2; width: auto; border: none; border-block-end: 1px solid var(--line); }
  .invite form { grid-column: 1 / -1; display: block; }
  .invite form .btn { width: 100%; border: none; justify-content: center; }

  .tiles { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .tile { padding: 16px 12px; }
  .tile .v { font-size: 24px; }

  /* Accordéon sur les produits — jamais sur le magasin client (.static) :
     ses cartes vivent dans le <form> de commande, le clic n'y bascule donc jamais l'accordéon,
     et le client doit toujours voir qualité/description/« Plus que N » */
  .prod-card:not(.static) { cursor: pointer; position: relative; }
  .prod-card:not(.static)::after { content: "↓"; position: absolute; inset-inline-end: 16px; inset-block-end: 16px; color: var(--ink-3); font-size: 14px; font-family: sans-serif; transition: transform 0.2s; }
  .prod-card.open::after { transform: rotate(180deg); }
  .prod-card:not(.static) .in > form, .prod-card:not(.static) .in > .btn,
  .prod-card:not(.static) .in > span.hint, .prod-card:not(.static) .in > .acts { display: none; }
  .prod-card.open .in > form { display: flex; } /* stack = grid/flex, the class .stack handles it usually, but we use display:grid or flex */
  .prod-card.open .in > form.stack { display: grid; }
  .prod-card.open .in > .btn { display: inline-flex; }
  .prod-card.open .in > span.hint { display: inline; }
  .prod-card.open .in > .acts { display: flex; }
}

@media (max-width: 400px) {
  .tiles { grid-template-columns: 1fr; }
}

/* ----- Cibles tactiles : 40px minimum quand on vise au doigt ----- */
@media (pointer: coarse) {
  .btn-sm { min-block-size: 40px; }
  .lang-switch a { padding: 8px 10px; }
  header.site nav a { padding: 10px 12px; }
}

/* ---------- Produits (vendeur + magasin) ---------- */
.prod-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 24px; }
.prod-card { background: var(--surface); border: 1px solid var(--line); border-radius: 2px; overflow: hidden; display: flex; flex-direction: column; }
.prod-card .ph { aspect-ratio: 4 / 3; background: var(--brand-soft); display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif; font-size: 24px; color: var(--ink-3); overflow: hidden; font-style: italic; }
.prod-card .ph img { inline-size: 100%; block-size: 100%; object-fit: cover; }
/* overflow-wrap : un nom de produit ou un montant sans espace ne déborde jamais d'une carte */
.prod-card .in { padding: 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; align-items: stretch; overflow-wrap: anywhere; }
.tile .v { overflow-wrap: anywhere; }
.prod-card .nm { font-family: 'Playfair Display', serif; font-size: 18px; font-weight: 400; }
.prod-card .pr { font-weight: 400; font-size: 15px; color: var(--ink); }
/* Zone d'actions du catalogue vendeur : rangée compacte, épinglée en bas de carte, séparée d'une ligne */
.prod-card .acts { display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
  margin-block-start: auto; padding-block-start: 12px; border-block-start: 1px solid var(--line); }
.prod-card .acts form { display: contents; }
.prod-card .qty { display: flex; align-items: center; gap: 8px; margin-block-start: 12px; }
.prod-card .qty input { inline-size: 76px; text-align: center; }

/* ---------- Magasin ---------- */
.shop-cover { border: 1px solid var(--line); padding: 40px 24px; color: var(--ink); background: var(--surface);
  margin-block-end: 32px; text-align: center; }
.shop-cover h1 { margin: 0; font-size: 36px; }
.shop-cover .by { opacity: .7; font-size: 13px; text-transform: uppercase; letter-spacing: .05em; margin-block-start: 8px; }
/* Layout boutique cliente : 2 colonnes avec panier à droite sur desktop */
.shop-layout { display: flex; flex-direction: column; gap: 32px; margin-block-start: 16px; }
.shop-layout .prod-grid { flex: 1; }
.order-box { padding: 20px; }
@media (min-width: 900px) {
  .shop-layout { flex-direction: row; align-items: flex-start; }
  .order-box { flex: 0 0 340px; position: sticky; inset-block-start: 24px; margin-block-start: 0; }
}

/* ---------- Dashboard Vendeur (Sleek Executive Layout PC & Mobile) ---------- */
.invite-bar {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  background: var(--surface); border: 1px solid var(--line); border-radius: 2px;
  padding: 10px 16px; margin-block: 14px 20px;
}
.invite-bar .invite-label {
  font-size: 13px; font-weight: 500; color: var(--ink-2); white-space: nowrap;
}
.invite-bar input {
  flex: 1; min-inline-size: 220px; border: 1px solid var(--line); background: var(--ground);
  padding: 8px 12px; font-size: 13px; font-family: 'Inter', ui-monospace, monospace; border-radius: 2px; color: var(--ink);
}
.invite-bar input:focus { outline: none; border-color: var(--ink); }
.invite-bar .invite-acts { display: flex; gap: 8px; align-items: center; }

.kpi-strip {
  display: flex; flex-wrap: wrap; gap: 14px; margin-block-end: 24px;
}
.kpi-strip .tile {
  flex: 1 1 calc(20% - 14px); min-inline-size: 150px;
  background: var(--surface); border: 1px solid var(--line); padding: 16px 18px; border-radius: 2px;
  display: flex; flex-direction: column; justify-content: space-between; transition: border-color .2s ease;
}
.kpi-strip .tile:hover { border-color: var(--ink-2); }
@media (max-width: 600px) {
  .kpi-strip { gap: 10px; }
  .kpi-strip .tile {
    flex: 1 1 calc(50% - 10px); min-inline-size: 130px; padding: 12px 14px;
  }
  .kpi-strip .tile .v { font-size: 24px; }
}

.shop-tabs {
  display: flex; gap: 6px; border-block-end: 1px solid var(--line); margin-block-end: 24px;
  overflow-x: auto; -webkit-overflow-scrolling: touch;
}
.shop-tab-btn {
  background: none; border: none; border-block-end: 2px solid transparent;
  padding: 12px 20px; font-family: 'Inter', 'Heebo', sans-serif; font-size: 14px; font-weight: 400;
  color: var(--ink-2); cursor: pointer; white-space: nowrap; transition: all 0.2s ease;
}
.shop-tab-btn:hover { color: var(--ink); background: var(--brand-soft); }
.shop-tab-btn.active {
  color: var(--ink); border-block-end-color: var(--ink); font-weight: 500;
}
.shop-tab-content { display: none; }
.shop-tab-content.active {
  display: block; animation: tab-in 0.25s cubic-bezier(0.2, 0.7, 0.3, 1);
}
@keyframes tab-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.grid-2-chart {
  display: grid; grid-template-columns: 3fr 2fr; gap: 16px; margin-block-end: 24px;
}
@media (max-width: 900px) {
  .grid-2-chart { grid-template-columns: 1fr; }
}

.add-product-wrap {
  display: none; margin-block: 16px 24px; border: 1px solid var(--ink);
}
.add-product-wrap.open {
  display: block; animation: tab-in 0.25s ease;
}
.stock-row-form {
  display: flex; align-items: center; gap: 6px; flex-wrap: nowrap;
}
@media (max-width: 600px) {
  .stock-row-form { flex-wrap: wrap; }
}

/* ---------- Paiement (après commande) ---------- */
.pay-list { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.pay-item { display: flex; gap: 16px; align-items: center; padding: 16px; background: var(--surface); }
.pay-item .m { font-weight: 500; min-inline-size: 100px; text-transform: uppercase; font-size: 12px; letter-spacing: .05em; }

/* ---------- Calendrier / réservations (vendeur) ---------- */
/* Chaque plage sur UNE ligne : jour + horaire, la suppression (✕) épinglée en fin de ligne */
.avail-row { display: flex; align-items: center; gap: 10px; padding-block: 10px; border-block-start: 1px solid var(--line); }
.avail-row .avail-del { margin-inline-start: auto; }
.avail-row .avail-del .btn { min-inline-size: 36px; padding-inline: 10px; }
/* Sélecteur multi-jours : cases cochables en chips, plusieurs jours d'un coup pour une même plage */
.weekday-picker { display: flex; flex-wrap: wrap; gap: 8px; }
.wd-check { display: inline-flex; align-items: center; gap: 6px; padding: 8px 11px; border: 1px solid var(--line);
  cursor: pointer; font-size: 14px; user-select: none; font-weight: 400; }
.wd-check:has(input:checked) { border-color: var(--ink); background: var(--brand-soft); }
/* Récap panier dans la modale de confirmation de commande */
.order-recap-row { display: flex; justify-content: space-between; gap: 12px; padding-block: 7px; border-block-start: 1px solid var(--line); }
.order-recap-row:first-child { border-block-start: none; }
/* Une réservation = infos, note, pastilles, actions — chaque groupe sur sa ligne, espacements réguliers */
.booking-row { padding-block: 12px; border-block-start: 1px solid var(--line); }
.booking-head { line-height: 1.5; }
.booking-note { margin-block: 4px 0; }
.booking-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-block-start: 8px; }
.booking-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-block-start: 8px; }

/* ---------- Footer ---------- */
footer.site { text-align: center; color: var(--ink-3); font-size: 12px; padding-block: 20px; border-block-start: 1px solid var(--line); }

@media (max-width: 560px) {
  .prod-grid { grid-template-columns: repeat(1, 1fr); gap: 16px; }
  h1 { font-size: 24px; }
}

/* ============================================================
   MOTION — un moment orchestré, le reste discret.
   ============================================================ */

/* Entrée du hero (landing) — cascade */
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.hero > * { animation: rise .6s ease-out backwards; }
.hero > *:nth-child(1) { animation-delay: .05s; }
.hero > *:nth-child(2) { animation-delay: .15s; }
.hero > *:nth-child(3) { animation-delay: .25s; }
.hero > *:nth-child(4) { animation-delay: .35s; }

/* Canvas ambiant derrière le hero — le hero se centre dans l'espace disponible */
.hero-wrap { position: relative; display: grid; place-items: center; min-block-size: min(62dvh, 560px); }
.hero-wrap canvas { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; pointer-events: none; opacity: 0.3; }
.hero-wrap .hero { position: relative; }

/* Révélation au scroll */
.reveal { opacity: 0; transform: translateY(10px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* Micro-interactions */
.btn { transition: background .15s ease, color .15s ease, border-color .15s ease; }
.tile, .prod-card { transition: border-color .2s ease; }
a.tile:hover, .prod-card:hover { border-color: var(--ink); }

/* Carte produit sélectionnée (quantité > 0) */
.prod-card.picked { border-color: var(--ink); border-width: 2px; }

/* Flash : entrée + auto-dismiss */
@keyframes flash-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.flash { animation: flash-in .3s ease backwards; }
.flash.bye { opacity: 0; transition: opacity .4s ease; }

/* Feedback bouton copier */
@keyframes pulse-ok { 0% { background: var(--brand-soft); } 100% { background: transparent; } }
.copied-pulse { animation: pulse-ok .5s ease; color: var(--ink); }

/* Total live du magasin */
.total-row { display: flex; justify-content: space-between; align-items: baseline; font-size: 15px; text-transform: uppercase; letter-spacing: .05em;
  border-block-start: 1px solid var(--line); margin-block-start: 16px; padding-block-start: 16px; }
.total-row strong { font-family: 'Playfair Display', serif; font-size: 24px; font-weight: 400; transition: color .15s ease; letter-spacing: 0; }
.total-row strong.tick { color: var(--ink-2); }

/* ============================================================
   GRAPHIQUE — CA vs dépenses (monochrome)
   ============================================================ */
.legend { display: flex; gap: 24px; font-size: 11px; color: var(--ink-2); margin-block-end: 16px; flex-wrap: wrap; text-transform: uppercase; letter-spacing: .05em; }
.legend i { display: inline-block; inline-size: 12px; block-size: 12px; margin-inline-end: 8px; border: 1px solid var(--line); }
/* Sélecteur de portée du graphe (7/14/30 j) — segmented control plat */
.chart-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.chart-ranges { display: inline-flex; gap: 2px; border: 1px solid var(--line); padding: 2px; border-radius: 4px; }
.chart-range { appearance: none; border: none; background: none; cursor: pointer; font: inherit; font-size: 12px; color: var(--ink-2); padding: 4px 10px; border-radius: 3px; transition: background .15s ease, color .15s ease; }
.chart-range:hover { color: var(--ink); background: var(--brand-soft); }
.chart-range.on { background: var(--brand); color: var(--btn-ink); }
.chart-range.on:hover { background: var(--brand-hover); }
.chart { position: relative; block-size: 240px; display: flex; padding-inline-start: 40px; border-block-end: 1px solid var(--ink); border-inline-start: 1px solid var(--line); }
.gridlines { position: absolute; inset: 0; inset-inline-start: 40px; inset-block-end: 0; }
.gridlines i { position: absolute; inset-inline: 0; border-block-start: 1px dashed var(--grid-line); }
.ylab { position: absolute; inset-inline-start: -8px; inset-block: 0 0; font-size: 10px; color: var(--ink-3); text-align: end; inline-size: 36px; }
.ylab i { position: absolute; inset-inline-end: 0; transform: translateY(-50%); font-style: normal; }
.groups { display: flex; flex: 1; align-items: flex-end; justify-content: space-around; position: relative; }
/* Groupes flexibles sans largeur mini : ils rétrécissent pour que 7/14/30 jours tiennent toujours. */
.grp { display: flex; flex-direction: column; align-items: center; flex: 1 1 0; min-inline-size: 0; block-size: 100%; justify-content: flex-end; position: relative; }
/* La paire de barres occupe une fraction du groupe (plafonnée) → s'amincit avec 30 j, s'élargit avec 7 j. */
.bars { display: flex; gap: 0; align-items: flex-end; block-size: 100%; inline-size: 66%; max-inline-size: 40px; }
.bar { flex: 1 1 0; min-inline-size: 0; border: 1px solid var(--surface); cursor: pointer; position: relative;
  transform: scaleY(0); transform-origin: bottom; transition: transform .8s ease, filter .15s ease; }
.chart.on .bar { transform: scaleY(1); }
.bar:hover { filter: brightness(1.2); }
.b1 { background: var(--c1); } .b2 { background: var(--c2); }
.xlab { position: absolute; inset-block-end: -28px; font-size: 11px; color: var(--ink-2); inline-size: 100%; text-align: center; white-space: nowrap; text-transform: uppercase; letter-spacing: .05em; }
.tip { position: absolute; pointer-events: none; background: var(--surface); color: var(--ink); border: 1px solid var(--line); font-size: 11px; font-weight: 500;
  padding: 6px 10px; transform: translate(-50%, -120%); white-space: nowrap; opacity: 0; transition: opacity .15s ease; z-index: 3; box-shadow: 0 4px 12px rgba(0,0,0,0.05); }
.tip.on { opacity: 1; }

/* ---------- Dialog / Modal ---------- */
dialog {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  padding: 32px;
  border-radius: 2px;
  max-width: 440px;
  inline-size: 90%;
  margin: auto;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}
dialog::backdrop {
  background: rgba(250, 250, 250, 0.85); /* ground */
  backdrop-filter: blur(4px);
}
dialog[open] {
  animation: modal-in 0.3s cubic-bezier(0.2, 0.7, 0.3, 1);
}
@keyframes modal-in {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
dialog .dialog-close {
  position: absolute;
  inset-block-start: 16px;
  inset-inline-end: 16px;
  background: none;
  border: none;
  font-size: 24px;
  line-height: 1;
  color: var(--ink-3);
  cursor: pointer;
}
dialog .dialog-close:hover { color: var(--ink); }

/* ============================================================
   SLEEK EXECUTIVE MOBILE UX (Zero Horizontal Scroll & Cards)
   ============================================================ */
html, body {
  overflow-x: hidden;
}

/* 1. Mobile Tab Switcher Dropdown (remplace les onglets horizontaux sur smartphone) */
.mobile-tab-bar {
  display: none;
}
@media (max-width: 767px) {
  .shop-tabs {
    display: none !important;
  }
  .mobile-tab-bar {
    display: block;
    position: relative;
    margin-block-end: 20px;
  }
  .mobile-tab-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    inline-size: 100%;
    background: var(--surface);
    border: 1px solid var(--ink);
    border-radius: 0;
    padding: 14px 16px;
    cursor: pointer;
    font-family: 'Inter', 'Heebo', sans-serif;
    color: var(--ink);
    box-shadow: none;
    transition: all 0.2s ease;
  }
  .mobile-tab-toggle:hover {
    background: var(--brand-soft);
  }
  .mtt-left {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: -0.01em;
  }
  .mtt-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ink);
    line-height: 0;
  }
  .mtt-badge {
    font-size: 11px;
    font-weight: 500;
    color: var(--ink-2);
    background: var(--ground);
    padding: 4px 10px;
    border-radius: 0;
    border: 1px solid var(--line);
    text-transform: uppercase;
    letter-spacing: 0.08em;
  }
  .mobile-tab-menu {
    display: none;
    position: absolute;
    inset-block-start: 100%;
    inset-inline: 0;
    z-index: 100;
    background: var(--surface);
    border: 1px solid var(--ink);
    border-radius: 0;
    margin-block-start: 4px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    overflow: hidden;
  }
  .mobile-tab-bar.open .mobile-tab-menu {
    display: flex;
    flex-direction: column;
    animation: menu-slide-in 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
  }
  @keyframes menu-slide-in {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
  }
  .mobile-tab-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    background: var(--surface);
    border: none;
    border-block-end: 1px solid var(--line);
    text-align: start;
    cursor: pointer;
    transition: background 0.15s ease;
    color: var(--ink);
    font-family: 'Inter', 'Heebo', sans-serif;
  }
  .mobile-tab-item:last-child {
    border-block-end: none;
  }
  .mobile-tab-item:hover, .mobile-tab-item.active {
    background: var(--brand-soft);
  }
  .mobile-tab-item.active {
    border-inline-start: 3px solid var(--ink);
  }
  .mti-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ink);
    opacity: 0.9;
    line-height: 0;
  }
  .mti-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
  }
  .mti-text strong {
    font-weight: 500;
    font-size: 14px;
    letter-spacing: -0.01em;
  }
  .mti-text small {
    font-size: 12.5px;
    color: var(--ink-2);
  }
}

/* 2. Responsive Mobile Table Cards (zéro scroll horizontal pour Commandes & Stock) */
@media (max-width: 767px) {
  .tbl-wrap {
    border: none;
    overflow-x: visible;
  }
  .tbl-wrap table,
  .tbl-wrap thead,
  .tbl-wrap tbody,
  .tbl-wrap tr,
  .tbl-wrap td {
    display: block;
    inline-size: 100%;
  }
  .tbl-wrap thead {
    display: none;
  }
  .tbl-wrap tr {
    border: 1px solid var(--line);
    border-radius: 4px;
    margin-block-end: 12px;
    background: var(--surface);
    padding: 8px 14px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.02);
  }
  .tbl-wrap td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-block-end: 1px solid var(--line);
    text-align: end;
  }
  .tbl-wrap td:last-child {
    border-block-end: none;
  }
  .tbl-wrap td::before {
    content: attr(data-label);
    font-weight: 500;
    font-size: 12px;
    color: var(--ink-2);
    text-align: start;
    margin-inline-end: 12px;
  }
  .stock-row-form {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: flex-end;
  }
  .stock-row-form input {
    max-inline-size: 75px !important;
  }
}


/* 4. Bandeau d'invitation responsif sur smartphone */
@media (max-width: 600px) {
  .invite-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 12px;
  }
  .invite-bar .invite-label {
    text-align: center;
    font-size: 12px;
  }
  .invite-bar input {
    min-inline-size: 100%;
    text-align: center;
  }
  .invite-bar .invite-acts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .invite-bar .invite-acts .btn {
    inline-size: 100%;
    justify-content: center;
  }
}

/* 5. Chart responsif mobile — le graphe tient toujours dans l'écran (barres proportionnelles, aucun scroll) */
@media (max-width: 600px) {
  .chart {
    padding-inline-start: 28px;
  }
  .ylab {
    inline-size: 24px;
    font-size: 9px;
  }
  .xlab {
    font-size: 10px;
  }
}
