/* ═══════════════════════════ Les sardines millésimées ═══════════════════════════
 *
 * Servie **seulement** sur sa fiche (`views/product-affiche.liquid`).
 *
 * ── L'étiquette d'une boîte de sardines qui n'existe pas, quatre étiquettes lithographiées ──
 *
 * Le contenu et la structure ne bougent pas : une ligne de qualité, le nom de la conserverie, « Sardines
 * millésimées » sur une plaque, le millésime entre deux filets, la boîte ouverte où chaque personne est une
 * sardine (son prénom sur le flanc), la mise en boîte, une note de dégustation, « Contient 4 sardines » et
 * « Poids net : une famille ». Chaque style est une étiquette qu'on reconnaît sans la nommer :
 * - **Marine et or** : l'étiquette de 1930 — bleu de nuit, double filet d'or, des rayons qui partent du haut,
 *   le nom en capitales de gravure (Playfair Display), les notes en Cormorant ;
 * - **Rouge pop** : les années 60 — un fond rouge tomate, un grand soleil jaune derrière le nom, une bande de
 *   damier en haut, le nom en Anton à l'ombre dure, le reste en Josefin Sans ;
 * - **Kraft et noir** : la conserverie artisanale — papier kraft moucheté, encre noire, un cachet rond en filigrane,
 *   tout en Courier Prime ;
 * - **Menthe** : les cuisines des années 50 — vert d'eau, pois, festons corail en haut et en bas, le nom à la plume
 *   (Damion), le reste en Josefin Sans.
 *
 * Polices servies par nous (point 2) : Playfair Display, Cormorant Garamond et Josefin Sans par `theme.css`,
 * Anton, Courier Prime et Damion ici. **Aucune marque, aucun terme protégé** : ni conserverie, ni logo, ni slogan
 * existant — la sardine est dessinée par nous (`views/sardines-poisson.liquid`), la boîte et les ornements sont du
 * CSS ; aucun filtre SVG (ce qui s'affiche à l'écran se rend à 300 dpi), et **aucune ombre ne tient à
 * `.affiche__affiche` ni à `.sd`** : `cssDeRendu` la remet à zéro à la fabrication, tout cadre est sur l'étiquette,
 * la boîte ou un de leurs pseudo-éléments.
 *
 * ── Les palettes ──
 *
 * **Ce sont des couleurs de produit, pas de charte** (point 6 quater) : en clair, toutes ici, en tête, et nulle part
 * ailleurs. `[data-style]` ne nomme pas `.sd` exprès, pour que les échantillons du formulaire se colorent avec les
 * mêmes variables. --sd-fond : le papier de l'affiche ; --sd-etiq : l'étiquette ; --sd-bord et --sd-filet : le cadre
 * et les filets ; --sd-titre : le nom et le millésime ; --sd-texte : les lignes du bas ; --sd-accent : la ligne de
 * qualité et le pied ; --sd-ruban / --sd-ruban-texte : la plaque « Sardines millésimées » ; --sd-boite, --sd-huile et
 * --sd-huile-2 : le rebord et l'huile de la boîte ; --sd-nom : le prénom sur le flanc ; --sd-dos, --sd-flanc,
 * --sd-ventre, --sd-nag, --sd-trait : la sardine ; puis le décor propre à un style (--sd-rayon, --sd-soleil,
 * --sd-rayure, --sd-ombre, --sd-grain, --sd-feston, --sd-pois).
 */
@font-face {
  font-family: "Anton";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/anton-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: "Anton";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/anton-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: "Courier Prime";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/courier-prime-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: "Courier Prime";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/courier-prime-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: "Courier Prime";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/courier-prime-bold-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: "Courier Prime";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/courier-prime-bold-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: "Damion";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/damion-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: "Damion";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/damion-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;
}

[data-style="Marine et or"] {
  --sd-fond: #e6d9b8; --sd-etiq: #12294d; --sd-bord: #c9a24b; --sd-filet: #c9a24b;
  --sd-titre: #ebcb78; --sd-texte: #f1e6c8; --sd-accent: #ebcb78;
  --sd-ruban: #d9b25a; --sd-ruban-texte: #12294d;
  --sd-boite: #c9a24b; --sd-huile: #d8b254; --sd-huile-2: #f0d58a; --sd-nom: #0d1b30;
  --sd-dos: #2a4a78; --sd-flanc: #c9d3dc; --sd-ventre: #eef1f3; --sd-nag: #6b7f99; --sd-trait: #0d1b30;
  --sd-rayon: #ebcb7a2e;
}
[data-style="Rouge pop"] {
  --sd-fond: #f3e2bd; --sd-etiq: #b3281a; --sd-bord: #6e150b; --sd-filet: #fff0cf;
  --sd-titre: #fff0cf; --sd-texte: #fff0cf; --sd-accent: #ffd76a;
  --sd-ruban: #fff0cf; --sd-ruban-texte: #6e150b;
  --sd-boite: #fff0cf; --sd-huile: #f2b632; --sd-huile-2: #ffd868; --sd-nom: #10223a;
  --sd-dos: #1d3557; --sd-flanc: #bfd0d6; --sd-ventre: #eef3f3; --sd-nag: #7d96a3; --sd-trait: #10223a;
  --sd-soleil: #ffc83d; --sd-rayure: #fff0cf; --sd-ombre: #6e150b;
}
[data-style="Kraft et noir"] {
  --sd-fond: #8a6a45; --sd-etiq: #cfa876; --sd-bord: #17120d; --sd-filet: #17120d;
  --sd-titre: #17120d; --sd-texte: #231a12; --sd-accent: #2b1d10;
  --sd-ruban: #17120d; --sd-ruban-texte: #ecd3a6;
  --sd-boite: #17120d; --sd-huile: #b08a52; --sd-huile-2: #c9a56a; --sd-nom: #14110d;
  --sd-dos: #3a3f44; --sd-flanc: #b9bcbc; --sd-ventre: #dfe0df; --sd-nag: #7c7f80; --sd-trait: #14110d;
  --sd-grain: #7a5a3066;
}
[data-style="Menthe"] {
  --sd-fond: #bfe3d4; --sd-etiq: #fdf6e3; --sd-bord: #e0715a; --sd-filet: #e0715a;
  --sd-titre: #b6432c; --sd-texte: #2b4f55; --sd-accent: #2f7a7e;
  --sd-ruban: #2f7a7e; --sd-ruban-texte: #fdf6e3;
  --sd-boite: #2f7a7e; --sd-huile: #f0dc96; --sd-huile-2: #fbeeb8; --sd-nom: #1f4a50;
  --sd-dos: #42868d; --sd-flanc: #cfe4e3; --sd-ventre: #f6fbfa; --sd-nag: #8fbfc0; --sd-trait: #1f4a50;
  --sd-feston: #e0715a; --sd-pois: #e6f1e8;
}

/* ── La sardine ──
 *
 * Le dessin n'a que des classes (`views/sardines-poisson.liquid`) : chaque style les recolore par les variables
 * ci-dessus. **Des règles d'une classe seule** : un `<use>` clone le symbole dans un arbre d'ombre, où les Chrome
 * récents n'appliquent plus que les sélecteurs qui s'y tiennent (point 11 sexagies septies). Les variables, elles,
 * s'héritent du `<svg>` qui porte le `<use>`. */
.sd-flanc { fill: var(--sd-flanc); }
.sd-dos { fill: var(--sd-dos); }
.sd-ventre { fill: var(--sd-ventre); }
.sd-nag { fill: var(--sd-nag); }
.sd-oeil { fill: var(--sd-ventre); }
.sd-pupille { fill: var(--sd-trait); }
.sd-point { fill: var(--sd-trait); opacity: .5; }
.sd-reflet { fill: none; stroke: var(--sd-ventre); stroke-width: 1.6; stroke-linecap: round; opacity: .6; }
.sd-ligne { stroke: var(--sd-trait); stroke-width: .9; stroke-linejoin: round; stroke-linecap: round; }
.sd-trait { fill: none; }

/* ── L'affiche ──
 *
 * Tout est en `cqw`. L'étiquette prend toute la hauteur de l'affiche ; la boîte prend ce que le texte lui laisse,
 * et l'écart entre les formats s'absorbe dans sa hauteur (les sardines gardent leur taille, la boîte s'agrandit),
 * jamais dans une taille de texte. `--sd-t` est la taille du texte du bas et des sardines, 1 ou moins : le serveur
 * l'estime, le script la reprend au pixel. `--sd-n` est le nombre de sardines. */
.sd {
  --sd-t: 1; --sd-n: 4;
  --sd-f-titre: "Playfair Display", Georgia, serif; --sd-f-corps: "Cormorant Garamond", Georgia, serif; --sd-f-nom: "Cormorant Garamond", Georgia, serif;
  --sd-nom-t: 6.2cqw; --sd-mille-t: 11cqw;
  display: flex; flex-direction: column; padding: 4.4cqw;
  background-color: var(--sd-fond); color: var(--sd-texte); font-family: var(--sd-f-corps); line-height: 1.2;
}
.sd :where(p, ol) { margin: 0; padding: 0; }
.sd__etiquette {
  flex: 1; min-height: 0; display: flex; flex-direction: column; align-items: center; text-align: center; position: relative;
  background: var(--sd-etiq); border: .6cqw solid var(--sd-bord); padding: 3.6cqw 5cqw 3cqw;
}
/* Le fond : une couche décorative, rognée à l'étiquette ; chaque style y pose les siens. Tout ce qui s'écrit passe au-dessus. */
.sd__fond { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.sd__fond::before, .sd__fond::after { content: ""; position: absolute; display: none; }
.sd__tete, .sd__titre, .sd__millesime, .sd__boite, .sd__mise, .sd__mention, .sd__pied { position: relative; z-index: 1; }

/* La tête : la ligne de qualité et le nom de la conserverie, sur une ligne qui se resserre. */
.sd__tete { flex: none; width: 100%; display: flex; flex-direction: column; align-items: center; }
.sd__kicker { font-weight: 700; font-size: 2.1cqw; letter-spacing: .3em; text-transform: uppercase; color: var(--sd-accent); }
.sd__nom {
  flex: none; width: 100%; white-space: nowrap; margin-top: 1.2cqw; font-family: var(--sd-f-titre); font-weight: 700; text-transform: uppercase;
  letter-spacing: .05em; color: var(--sd-titre); font-size: calc(var(--sd-nom-t) * var(--ech, 1)); line-height: 1.15;
}
/* La plaque « Sardines millésimées ». */
.sd__titre { flex: none; width: 100%; margin-top: 1.8cqw; }
.sd__titre span {
  display: inline-block; max-width: 100%; padding: .7cqw 3cqw; background: var(--sd-ruban); color: var(--sd-ruban-texte);
  font-family: var(--sd-f-titre); font-weight: 700; font-size: 3.7cqw; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap;
}
/* Le millésime entre deux filets. */
.sd__millesime {
  flex: none; width: 100%; display: flex; align-items: center; gap: 3cqw; margin-top: 1.2cqw;
  font-family: var(--sd-f-titre); font-weight: 400; font-size: var(--sd-mille-t); line-height: 1.05; color: var(--sd-titre); font-variant-numeric: lining-nums;
}
.sd__millesime span { flex: none; }
.sd__trait { flex: 1; height: 0; border-top: .35cqw solid var(--sd-filet); }

/* La boîte : un rebord, de l'huile, un reflet. Elle prend la place qui reste ; les sardines y sont tête-bêche. */
.sd__boite {
  flex: 1; min-height: 0; width: 100%; margin-top: 2.2cqw; display: flex; align-items: center; justify-content: center;
  border: 1cqw solid var(--sd-boite); border-radius: 3.6cqw; padding: 1.6cqw 1.4cqw;
  background: radial-gradient(ellipse at 30% 18%, var(--sd-huile-2), var(--sd-huile) 70%);
}
.sd__poissons {
  --sd-h: calc(min(15cqw, 56cqw / var(--sd-n)) * var(--sd-t));
  list-style: none; display: flex; flex-direction: column; align-items: center; gap: calc(var(--sd-h) * .05);
}
.sd__rang { position: relative; flex: none; height: var(--sd-h); width: calc(var(--sd-h) * 4.8); }
.sd__poisson { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.sd__rang[data-sens="d"] .sd__poisson { transform: scaleX(-1); }
/* Le prénom est du vrai texte posé sur le flanc, jamais retourné : de la tête à la queue, entre l'opercule et le pédoncule. */
.sd__prenom {
  position: absolute; top: 7%; bottom: 0; left: 25%; right: 21%; display: flex; align-items: center; justify-content: center;
  white-space: nowrap; color: var(--sd-nom); font-family: var(--sd-f-nom); font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
  font-size: calc(var(--sd-h) * .38 * var(--sd-ech, 1)); line-height: 1;
}
.sd__rang[data-sens="d"] .sd__prenom { left: 21%; right: 25%; }

/* Le bas : la mise en boîte, la note, puis le contenu et le poids net sous un filet. */
.sd__mise { flex: none; width: 100%; margin-top: 2cqw; font-size: calc(3.1cqw * var(--sd-t)); font-weight: 600; letter-spacing: .05em; color: var(--sd-texte); overflow-wrap: anywhere; text-wrap: balance; }
.sd__mention {
  flex: none; width: 100%; margin-top: .8cqw; white-space: nowrap; font-style: italic; font-weight: 600; color: var(--sd-texte);
  font-size: calc(3.3cqw * var(--ech, 1) * var(--sd-t));
}
.sd__pied {
  flex: none; width: 100%; margin-top: 2cqw; padding-top: 1.4cqw; border-top: .3cqw solid var(--sd-filet); display: flex; flex-wrap: wrap; justify-content: center; gap: .4cqw 3cqw;
  font-size: calc(2.2cqw * var(--sd-t)); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--sd-accent);
}
.sd [hidden] { display: none; }

/* ── Marine et or : rayons dorés et double filet ── */
.sd[data-style="Marine et or"] .sd__fond::before {
  display: block; left: 0; right: 0; top: 0; height: 52cqw;
  background: repeating-conic-gradient(from 90deg at 50% 0, var(--sd-rayon) 0 5deg, transparent 5deg 12deg);
  -webkit-mask-image: linear-gradient(to bottom, black, transparent); mask-image: linear-gradient(to bottom, black, transparent);
}
.sd[data-style="Marine et or"] .sd__fond::after { display: block; inset: 1.5cqw; border: .3cqw solid var(--sd-filet); }
.sd[data-style="Marine et or"] .sd__etiquette { padding: 5cqw 6cqw 4.4cqw; }

/* ── Rouge pop : un grand soleil derrière le nom, un damier en haut ── */
.sd[data-style="Rouge pop"] { --sd-f-titre: "Anton", Impact, sans-serif; --sd-f-corps: "Josefin Sans", Helvetica, sans-serif; --sd-f-nom: "Anton", Impact, sans-serif; --sd-nom-t: 8.4cqw; --sd-mille-t: 12cqw; }
.sd[data-style="Rouge pop"] .sd__etiquette { padding-top: 6.6cqw; }
.sd[data-style="Rouge pop"] .sd__fond::before {
  display: block; left: 50%; top: -34cqw; width: 96cqw; height: 96cqw; margin-left: -48cqw; border-radius: 50%; background: var(--sd-soleil);
  box-shadow: 0 0 0 1.4cqw var(--sd-etiq), 0 0 0 2.2cqw var(--sd-soleil);
}
.sd[data-style="Rouge pop"] .sd__fond::after {
  display: block; left: 0; right: 0; top: 0; height: 3.2cqw;
  background: repeating-linear-gradient(90deg, var(--sd-rayure) 0 3.2cqw, transparent 3.2cqw 6.4cqw);
}
.sd[data-style="Rouge pop"] .sd__nom { letter-spacing: .04em; color: var(--sd-ombre); }
.sd[data-style="Rouge pop"] .sd__kicker { color: var(--sd-ombre); }
/* Le millésime est une plaque crème : lisible sur le jaune du soleil comme sur le rouge, là où il le déborde. */
.sd[data-style="Rouge pop"] .sd__millesime span { padding: 0 3cqw; background: var(--sd-rayure); color: var(--sd-ombre); }
.sd[data-style="Rouge pop"] .sd__titre span { font-weight: 400; font-size: 4.4cqw; letter-spacing: .1em; }
.sd[data-style="Rouge pop"] .sd__prenom { letter-spacing: .06em; font-weight: 400; font-size: calc(var(--sd-h) * .42 * var(--sd-ech, 1)); }
.sd[data-style="Rouge pop"] .sd__kicker, .sd[data-style="Rouge pop"] .sd__pied, .sd[data-style="Rouge pop"] .sd__mise { font-weight: 700; }

/* ── Kraft et noir : papier kraft moucheté, cachet en filigrane, tout en machine à écrire ── */
.sd[data-style="Kraft et noir"] { --sd-f-titre: "Courier Prime", "Courier New", monospace; --sd-f-corps: "Courier Prime", "Courier New", monospace; --sd-f-nom: "Courier Prime", "Courier New", monospace; --sd-nom-t: 6.4cqw; --sd-mille-t: 10.5cqw; }
.sd[data-style="Kraft et noir"] .sd__etiquette { border-width: 1cqw; }
.sd[data-style="Kraft et noir"] .sd__fond::before {
  display: block; inset: 0;
  background: radial-gradient(circle at 20% 30%, var(--sd-grain) 0 .22cqw, transparent .3cqw) 0 0 / 5cqw 4cqw,
              radial-gradient(circle at 70% 60%, var(--sd-grain) 0 .18cqw, transparent .26cqw) 0 0 / 3.7cqw 4.6cqw;
}
.sd[data-style="Kraft et noir"] .sd__fond::after {
  display: block; left: 50%; top: 4cqw; width: 52cqw; height: 52cqw; margin-left: -26cqw; border-radius: 50%;
  border: .45cqw solid var(--sd-filet); outline: .3cqw solid var(--sd-filet); outline-offset: .9cqw; opacity: .35;
}
.sd[data-style="Kraft et noir"] .sd__nom { letter-spacing: .02em; }
.sd[data-style="Kraft et noir"] .sd__titre span { letter-spacing: .12em; font-size: 3.5cqw; }
.sd[data-style="Kraft et noir"] .sd__prenom { letter-spacing: .02em; }
.sd[data-style="Kraft et noir"] .sd__mention { font-style: normal; font-weight: 400; }
.sd[data-style="Kraft et noir"] .sd__mise { font-weight: 400; }
.sd[data-style="Kraft et noir"] .sd__boite { border-radius: 1.4cqw; }

/* ── Menthe : des pois, un feston corail en haut et en bas, le nom à la plume ── */
.sd[data-style="Menthe"] { --sd-f-titre: "Damion", "Brush Script MT", cursive; --sd-f-corps: "Josefin Sans", Helvetica, sans-serif; --sd-f-nom: "Josefin Sans", Helvetica, sans-serif; --sd-nom-t: 9cqw; --sd-mille-t: 11cqw; }
.sd[data-style="Menthe"] .sd__etiquette { padding-top: 6.4cqw; padding-bottom: 5cqw; }
.sd[data-style="Menthe"] .sd__fond { background: radial-gradient(var(--sd-pois) 16%, transparent 17%) 0 0 / 5.6cqw 5.6cqw; }
.sd[data-style="Menthe"] .sd__fond::before {
  display: block; left: 0; right: 0; top: 0; height: 3cqw;
  background: radial-gradient(circle at 50% 0, var(--sd-feston) 0 1.55cqw, transparent 1.65cqw) 0 0 / 3.4cqw 3cqw repeat-x;
}
.sd[data-style="Menthe"] .sd__fond::after {
  display: block; left: 0; right: 0; bottom: 0; height: 3cqw;
  background: radial-gradient(circle at 50% 100%, var(--sd-feston) 0 1.55cqw, transparent 1.65cqw) 0 100% / 3.4cqw 3cqw repeat-x;
}
.sd[data-style="Menthe"] .sd__nom { font-weight: 400; text-transform: none; letter-spacing: .02em; line-height: 1.1; }
.sd[data-style="Menthe"] .sd__titre span { font-family: var(--sd-f-corps); font-size: 3.4cqw; letter-spacing: .16em; border-radius: 4cqw; padding: .8cqw 4cqw; }
.sd[data-style="Menthe"] .sd__millesime { font-family: var(--sd-f-titre); font-size: 13cqw; }
.sd[data-style="Menthe"] .sd__mention { font-style: normal; }
.sd[data-style="Menthe"] .sd__boite { border-radius: 6cqw; }

/* ── Le formulaire ── */
.sd-champs input[type="text"] { width: 100%; font-size: 1.6rem; min-height: 4.4rem; }
.sd-date__label { display: block; margin-top: 1rem; font-size: 1.3rem; }
.sd-date { width: 100%; max-width: 22rem; }
.sd-styles input, .sd-nombres input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.sd-styles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
.sd-styles label {
  display: flex; flex-direction: column; align-items: center; gap: .3rem; cursor: pointer; margin: 0;
  font-size: 1.4rem; font-weight: 600; text-align: center; line-height: 1.25;
  border: .15rem solid rgba(var(--color-foreground), .15); border-radius: .8rem; padding: .8rem .6rem;
}
.sd-styles label small { font-weight: 400; font-size: 1.2rem; opacity: .8; }
.sd-styles input:checked + label, .sd-nombres input:checked + label { border-color: rgb(var(--color-foreground)); }
.sd-styles input:focus-visible + label, .sd-nombres input:focus-visible + label { outline: .2rem solid rgb(var(--bleu-focus)); outline-offset: .2rem; }
/* L'échantillon montre une étiquette et sa sardine, aux couleurs du style. */
.sd-echantillon {
  display: block; width: 100%; max-width: 12rem; padding: .7rem .6rem; background: var(--sd-etiq); border: .25rem solid var(--sd-bord); border-radius: .4rem;
}
.sd-echantillon svg { display: block; width: 100%; height: auto; padding: .3rem .2rem; border-radius: .6rem; background: var(--sd-huile); }
.sd-nombres { display: flex; flex-wrap: wrap; gap: .8rem; }
.sd-nombres label {
  display: grid; place-items: center; min-width: 4.4rem; min-height: 4.4rem; cursor: pointer; font-size: 1.6rem;
  border: .2rem solid rgba(var(--color-foreground), .15); border-radius: .8rem;
}
.sd-nombre[hidden] { display: none; }
.sd-bloc { border: 0; padding: 0; margin: 0; }
.sd-lignes { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.sd-saisie { margin: 0; }
.sd-saisie[hidden] { display: none; }
.sd-saisie__nom { display: block; font-size: 1.3rem; margin-bottom: .3rem; }
.sd-idees { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .6rem; }
.sd-idees[hidden] { display: none; }
.sd-idees button {
  min-height: 4.4rem; padding: .4rem 1.2rem; border: .1rem solid currentColor; border-radius: 99rem; background: transparent;
  font: inherit; font-size: 1.3rem; cursor: pointer; text-align: left; max-width: 100%;
}
@media (min-width: 750px) { .sd-styles { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
