:root {
  /* Mise en page : une colonne sur mobile ; à partir de 900 px, héros en deux colonnes (texte + étiquette) et grille produits 2 → 3 → 4 colonnes, largeur max 1180 px. */
  color-scheme: light;
  --papier: #eef0ec;
  --etiquette: #fcfcfa;
  --encre: #15181c;
  --gris: #59616a;
  --trait: #c5cac4;
  --ruban: #f6c90e;
  --alerte: #a6281c;
  --f-texte: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --f-donnee: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --large: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--papier); color: var(--encre); font-family: var(--f-texte); font-size: 1rem; line-height: 1.5; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--encre); outline-offset: 2px; }
.sur-encre :focus-visible, .btn:focus-visible { outline-color: var(--ruban); outline-offset: 3px; box-shadow: 0 0 0 2px var(--encre); }
.cache { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.cadre { width: min(100% - 2rem, var(--large)); margin-inline: auto; }
#contenu:focus { outline: none; }

/* Écritures */
.titre { font-stretch: 125%; font-weight: 800; line-height: 1; letter-spacing: -0.01em; text-wrap: balance; }
.repere { font-stretch: 75%; font-weight: 600; font-size: .74rem; letter-spacing: .09em; text-transform: uppercase; color: var(--gris); }
.donnee { font-family: var(--f-donnee); font-variant-numeric: tabular-nums; }
mark { background: var(--ruban); color: var(--encre); padding: 0 .2em; }

/* Ruban de couturière : la barre d'annonce */
.ruban { background: var(--ruban); color: var(--encre); text-align: center; padding: .45rem 1rem .8rem; font-family: var(--f-donnee); font-size: .74rem; font-weight: 500; letter-spacing: .04em; text-transform: uppercase;
  background-image: repeating-linear-gradient(90deg, var(--encre) 0 1px, transparent 1px 8px), repeating-linear-gradient(90deg, var(--encre) 0 2px, transparent 2px 40px);
  background-size: auto 5px, auto 10px; background-position: 0 100%, 0 100%; background-repeat: repeat-x; }
.demo { background: var(--etiquette); border-bottom: 1px solid var(--trait); padding: .5rem 1rem; text-align: center; font-size: .86rem; }
.demo strong { font-family: var(--f-donnee); font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; background: var(--encre); color: var(--papier); padding: .1rem .4rem; margin-right: .4rem; }
.apercu-barre { position: sticky; top: 0; z-index: 30; background: var(--encre); color: var(--papier); padding: .55rem 1rem; display: flex; gap: .8rem; justify-content: center; align-items: center; flex-wrap: wrap; font-size: .88rem; }
.apercu-barre a { color: var(--ruban); font-weight: 700; }

/* En-tête */
.entete { border-bottom: 1px solid var(--encre); background: var(--papier); position: sticky; top: 0; z-index: 20; }
.apercu-barre + .ruban + .entete, .apercu-barre ~ .entete { position: static; }
.entete .cadre { display: flex; align-items: center; gap: 1rem; min-height: 3.6rem; }
.marque { font-stretch: 125%; font-weight: 800; text-transform: uppercase; letter-spacing: .02em; text-decoration: none; font-size: 1.02rem; margin-right: auto; }
.nav { display: none; gap: 1.4rem; font-size: .93rem; font-weight: 600; }
.nav a { text-decoration: none; padding: .4rem 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--encre); }
.btn-panier { background: none; border: 1px solid var(--encre); border-radius: 2px; padding: .45rem .8rem; font-weight: 700; display: inline-flex; gap: .5rem; align-items: center; }
.btn-panier .compte { font-family: var(--f-donnee); background: var(--encre); color: var(--papier); min-width: 1.5rem; padding: 0 .35rem; text-align: center; font-size: .82rem; }
.btn-panier:hover { background: var(--ruban); }
@media (min-width: 720px) { .nav { display: flex; } }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; background: var(--encre); color: var(--papier); border: 1px solid var(--encre); border-radius: 2px; padding: .8rem 1.25rem; font-weight: 700; font-stretch: 108%; text-decoration: none; text-align: center; transition: background-color .15s, color .15s; }
.btn:hover { background: var(--ruban); color: var(--encre); }
.btn-ruban { background: var(--ruban); color: var(--encre); }
.btn-ruban:hover { background: var(--encre); color: var(--papier); }
.btn-fin { background: transparent; color: var(--encre); padding: .5rem .8rem; font-size: .9rem; }
.btn-danger { background: transparent; color: var(--alerte); border-color: var(--alerte); padding: .5rem .8rem; font-size: .9rem; }
.btn-danger:hover { background: var(--alerte); color: var(--etiquette); }
.btn[disabled], .btn[aria-disabled="true"] { background: var(--trait); border-color: var(--trait); color: var(--gris); cursor: not-allowed; }
.btn-bloc { width: 100%; }
.lien { background: none; border: 0; padding: 0; text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }

/* Héros */
.hero { padding-block: clamp(2rem, 6vw, 4.5rem) clamp(2rem, 5vw, 3.5rem); display: grid; gap: 2rem; align-items: end; }
.hero h1 { font-size: clamp(2.1rem, 6.4vw, 4.5rem); margin-block: .7rem 1.1rem; max-width: 17ch; }
.hero .chapo { font-size: clamp(1rem, 1.6vw, 1.15rem); max-width: 52ch; color: var(--gris); margin-bottom: 1.5rem; }
@media (min-width: 900px) { .hero { grid-template-columns: minmax(0, 1.5fr) minmax(280px, .7fr); gap: 3.5rem; } }

/* L'étiquette de composition : le motif du site */
.fiche { background: var(--etiquette); border: 1px solid var(--encre); padding: 1.5rem 1.1rem 1.1rem; position: relative; }
.fiche::before { content: ""; position: absolute; inset: .5rem .5rem auto; border-top: 1px dashed var(--encre); }
.fiche-titre { display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; margin-bottom: .7rem; }
.fiche-poids { font-family: var(--f-donnee); font-weight: 600; font-size: clamp(2.8rem, 8vw, 4.2rem); line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.fiche-poids small { font-size: .32em; font-weight: 500; letter-spacing: 0; margin-left: .3em; color: var(--gris); }
.fiche dl { margin-top: .9rem; font-family: var(--f-donnee); font-size: .82rem; }
.ligne { display: flex; align-items: baseline; gap: .45rem; padding-block: .28rem; }
.ligne dt { flex: none; text-transform: uppercase; letter-spacing: .05em; font-size: .72rem; color: var(--gris); }
.ligne dd { flex: 1 1 auto; min-width: 0; display: flex; align-items: baseline; gap: .45rem; text-align: right; font-weight: 500; }
.ligne dd::before { content: ""; flex: 1 1 1rem; min-width: 1rem; border-bottom: 1px dotted var(--gris); transform: translateY(-.2em); }
.fiche-pied { margin-top: .9rem; padding-top: .7rem; border-top: 1px solid var(--trait); font-size: .8rem; color: var(--gris); }
@media (prefers-reduced-motion: no-preference) {
  .fiche-hero.entree { animation: pose .7s cubic-bezier(.2, .7, .2, 1) both; }
  @keyframes pose { from { opacity: 0; transform: translateY(14px) rotate(-1.2deg); } to { opacity: 1; transform: none; } }
}

/* Collection */
.collection { padding-block: 1rem 3rem; border-top: 1px solid var(--encre); }
.collection-tete { display: flex; flex-wrap: wrap; gap: .8rem 1.5rem; align-items: baseline; justify-content: space-between; margin-block: 1.2rem; }
.collection-tete h2 { font-size: clamp(1.3rem, 3vw, 1.9rem); }
.filtres { display: flex; gap: .4rem; flex-wrap: wrap; }
.puce { border: 1px solid var(--trait); background: var(--etiquette); border-radius: 2px; padding: .42rem .75rem; font-family: var(--f-donnee); font-size: .8rem; font-weight: 500; }
.puce:hover { border-color: var(--encre); }
.puce[aria-pressed="true"] { background: var(--encre); border-color: var(--encre); color: var(--papier); }
.puce[aria-pressed="true"] .pastille circle { stroke: var(--papier); }
.puce[disabled] { color: var(--gris); text-decoration: line-through; cursor: not-allowed; background: transparent; }
.grille { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.6rem .8rem; }
@media (min-width: 720px) { .grille { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem 1.2rem; } }
@media (min-width: 1080px) { .grille.quatre { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.carte { display: flex; flex-direction: column; gap: .3rem; text-decoration: none; }
.visuel-hote { position: relative; display: block; }
.visuel { position: relative; aspect-ratio: 4 / 5; background: var(--etiquette); border: 1px solid var(--trait); overflow: hidden; display: grid; place-items: center; }
.visuel img { width: 100%; height: 100%; object-fit: cover; }
.visuel svg { width: 78%; height: auto; }
.carte:hover .visuel { border-color: var(--encre); }
.badges { position: absolute; top: .5rem; left: .5rem; display: flex; flex-direction: column; gap: .3rem; align-items: flex-start; }
.badge { font-family: var(--f-donnee); font-size: .68rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; background: var(--encre); color: var(--papier); padding: .15rem .4rem; }
.badge-ex { background: var(--ruban); color: var(--encre); }
.carte-nom { font-weight: 700; margin-top: .4rem; line-height: 1.25; }
.carte-bas { display: flex; justify-content: space-between; gap: .5rem; align-items: center; }
.prix { font-family: var(--f-donnee); font-weight: 600; font-variant-numeric: tabular-nums; }
.pastilles { display: inline-flex; gap: .25rem; }
.pastille { width: .85rem; height: .85rem; flex: none; }
.pastille circle { stroke: var(--encre); stroke-width: 1; }
.carte-meta { font-family: var(--f-donnee); font-size: .74rem; color: var(--gris); }
.vide { border: 1px dashed var(--encre); padding: 2.2rem 1.2rem; text-align: center; background: var(--etiquette); }
.vide p + p { margin-top: .5rem; color: var(--gris); }

/* Engagements */
.engagements { border-top: 1px solid var(--encre); padding-block: 2rem 3rem; }
.engagements ol { display: grid; gap: 1.4rem; counter-reset: e; }
.engagements li { counter-increment: e; padding-top: .8rem; border-top: 1px dashed var(--encre); }
.engagements li::before { content: "0" counter(e); font-family: var(--f-donnee); font-size: .78rem; color: var(--gris); }
.engagements h3 { font-size: 1.05rem; font-stretch: 112%; margin-block: .2rem .25rem; }
.engagements p { color: var(--gris); font-size: .95rem; }
@media (min-width: 800px) { .engagements ol { grid-template-columns: repeat(3, 1fr); gap: 2rem; } }

/* Page produit */
.fil { padding-block: 1rem; font-size: .86rem; color: var(--gris); }
.produit { display: grid; gap: 1.6rem; padding-bottom: 3rem; }
@media (min-width: 900px) { .produit { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 3rem; align-items: start; } .produit-infos { position: sticky; top: 5rem; } }
.galerie .visuel { aspect-ratio: 4 / 5; }
.vignettes { display: flex; gap: .5rem; margin-top: .5rem; flex-wrap: wrap; }
.vignette { width: 4rem; aspect-ratio: 4 / 5; padding: 0; border: 1px solid var(--trait); background: var(--etiquette); overflow: hidden; }
.vignette[aria-pressed="true"] { border: 2px solid var(--encre); }
.vignette img { width: 100%; height: 100%; object-fit: cover; }
.produit h1 { font-size: clamp(1.7rem, 4.4vw, 2.7rem); margin-block: .4rem .5rem; }
.produit .prix-grand { font-size: 1.35rem; }
.bloc { margin-top: 1.3rem; }
.bloc > .repere { display: block; margin-bottom: .45rem; }
.choix { display: flex; flex-wrap: wrap; gap: .4rem; }
.puce-couleur { display: inline-flex; align-items: center; gap: .45rem; }
.quantite { display: inline-flex; border: 1px solid var(--encre); border-radius: 2px; background: var(--etiquette); }
.quantite button { background: none; border: 0; width: 2.5rem; height: 2.5rem; font-size: 1.15rem; font-weight: 600; }
.quantite button:hover { background: var(--ruban); }
.quantite output { min-width: 2.4rem; display: grid; place-items: center; font-family: var(--f-donnee); font-weight: 600; }
.achat { display: flex; gap: .7rem; flex-wrap: wrap; align-items: center; margin-top: 1.3rem; }
.achat .btn { flex: 1 1 12rem; }
.erreur { color: var(--alerte); font-weight: 600; font-size: .92rem; margin-top: .5rem; }
.description { margin-top: 1.3rem; white-space: pre-line; max-width: 60ch; }
.mesures { width: 100%; border-collapse: collapse; font-family: var(--f-donnee); font-size: .82rem; font-variant-numeric: tabular-nums; }
.mesures th, .mesures td { border-bottom: 1px solid var(--trait); padding: .4rem .5rem; text-align: right; }
.mesures th:first-child, .mesures td:first-child { text-align: left; }
.mesures thead th { font-weight: 500; color: var(--gris); text-transform: uppercase; font-size: .7rem; letter-spacing: .05em; }
.note { font-size: .86rem; color: var(--gris); margin-top: .5rem; }

/* Pages de texte */
.page { padding-block: 2rem 3.5rem; max-width: 46rem; }
.page h1 { font-size: clamp(1.8rem, 5vw, 2.8rem); margin-bottom: 1.4rem; }
.page h2 { font-size: 1.15rem; font-stretch: 112%; margin-block: 1.7rem .5rem; padding-top: .8rem; border-top: 1px dashed var(--encre); }
.page p + p { margin-top: .6rem; }
.page ul { list-style: square; padding-left: 1.2rem; }
.page .fiche { margin-top: 1rem; }

/* Pied */
.pied { border-top: 1px solid var(--encre); padding-block: 1.6rem 5rem; font-size: .9rem; }
.pied .cadre { display: grid; gap: 1.2rem; }
.pied ul { display: flex; flex-wrap: wrap; gap: .4rem 1.3rem; }
.pied small { color: var(--gris); font-size: .82rem; }
@media (min-width: 800px) { .pied .cadre { grid-template-columns: 1fr auto; align-items: start; } }

/* Panier */
.voile { position: fixed; inset: 0; background: rgb(21 24 28 / .5); z-index: 40; border: 0; width: 100%; cursor: default; }
.panier { position: fixed; inset: 0 0 0 auto; width: min(440px, 100%); background: var(--papier); border-left: 1px solid var(--encre); z-index: 41; overflow-y: auto; padding: 1rem 1.1rem 2rem; }
.panier-tete { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.panier-tete h2 { font-size: 1.5rem; }
.lignes li { display: grid; grid-template-columns: 3.6rem 1fr auto; gap: .7rem; padding-block: .8rem; border-top: 1px solid var(--trait); align-items: start; }
.lignes .visuel { aspect-ratio: 4 / 5; }
.lignes .visuel svg { width: 88%; }
.ligne-nom { font-weight: 700; line-height: 1.25; }
.ligne-detail { font-family: var(--f-donnee); font-size: .78rem; color: var(--gris); }
.ligne-qte { display: inline-flex; align-items: center; gap: .1rem; margin-top: .35rem; border: 1px solid var(--trait); background: var(--etiquette); }
.ligne-qte button { background: none; border: 0; width: 2rem; height: 2rem; font-weight: 700; }
.ligne-qte output { font-family: var(--f-donnee); min-width: 1.6rem; text-align: center; }
.ligne-droite { text-align: right; display: grid; gap: .3rem; justify-items: end; }
.totaux { border-top: 1px solid var(--encre); margin-top: .3rem; padding-top: .7rem; font-family: var(--f-donnee); font-size: .9rem; }
.totaux div { display: flex; justify-content: space-between; gap: 1rem; padding-block: .15rem; }
.totaux .total { font-weight: 600; font-size: 1.05rem; border-top: 1px dashed var(--encre); margin-top: .4rem; padding-top: .5rem; }
.message-apercu { font-family: var(--f-donnee); font-size: .76rem; white-space: pre-wrap; background: var(--etiquette); border: 1px solid var(--trait); padding: .7rem; margin-top: .6rem; max-height: 12rem; overflow: auto; }

/* Formulaires */
.champs { display: grid; gap: .9rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.champs.espace { margin-top: .5rem; }
.champ { display: grid; gap: .25rem; align-content: start; }
.champ.long { grid-column: 1 / -1; }
.champ > label, .champ > .lib { font-size: .84rem; font-weight: 600; }
.champ small { color: var(--gris); font-size: .8rem; }
input[type="text"], input[type="number"], input[type="tel"], input[type="url"], input[type="password"], select, textarea { width: 100%; border: 1px solid var(--gris); background: var(--etiquette); border-radius: 2px; padding: .6rem .65rem; }
textarea { min-height: 6rem; resize: vertical; line-height: 1.45; }
textarea.haut { min-height: 18rem; font-family: var(--f-donnee); font-size: .84rem; }
input[type="color"] { width: 2.8rem; height: 2.6rem; padding: .15rem; border: 1px solid var(--gris); background: var(--etiquette); border-radius: 2px; }
input[type="checkbox"] { width: 1.15rem; height: 1.15rem; accent-color: var(--encre); }
.case { display: flex; gap: .55rem; align-items: flex-start; font-size: .95rem; }
.case input { margin-top: .2rem; flex: none; }

/* Gestion */
.adm-tete { background: var(--encre); color: var(--papier); }
.adm-tete .cadre { display: flex; flex-wrap: wrap; gap: .6rem 1.2rem; align-items: center; min-height: 3.6rem; padding-block: .6rem; }
.adm-tete .marque { color: var(--papier); margin-right: 0; }
.adm-tete .repere { margin-right: auto; }
.adm-tete a { color: var(--papier); font-size: .9rem; font-weight: 600; }
.adm-tete .repere { color: var(--ruban); }
.onglets { border-bottom: 1px solid var(--encre); background: var(--papier); position: sticky; top: 0; z-index: 20; }
.onglets .cadre { display: flex; gap: 1.3rem; overflow-x: auto; }
.onglets a { flex: none; text-decoration: none; font-weight: 600; font-size: .93rem; padding: .8rem 0 .65rem; border-bottom: 4px solid transparent; }
.onglets a[aria-current="page"] { border-bottom-color: var(--ruban); }
.adm { padding-block: 1.5rem 5rem; max-width: 62rem; }
.adm h1 { font-size: clamp(1.5rem, 4vw, 2.1rem); margin-bottom: 1rem; }
.adm-barre { display: flex; flex-wrap: wrap; gap: .7rem; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.adm-barre h1 { margin: 0; }
.adm-carte { background: var(--etiquette); border: 1px solid var(--trait); padding: 1.1rem; margin-bottom: 1rem; }
.adm-carte > h2 { font-size: 1.08rem; font-stretch: 112%; margin-bottom: .8rem; }
.adm-carte > h2 + .note { margin-top: -.5rem; margin-bottom: .8rem; }
.adm-carte.attente { background: var(--ruban); border-color: var(--encre); }
.adm-carte.ok { border-color: var(--encre); }
.adm-carte .btn { margin-top: .8rem; }
.chiffres { display: grid; grid-template-columns: repeat(3, 1fr); gap: .7rem; margin-bottom: 1rem; }
.chiffre { background: var(--etiquette); border: 1px solid var(--trait); padding: .8rem; }
.chiffre b { display: block; font-family: var(--f-donnee); font-size: 1.9rem; font-weight: 600; line-height: 1.1; }
.controle li { display: grid; grid-template-columns: 4.6rem 1fr; gap: .7rem; padding-block: .5rem; border-top: 1px solid var(--trait); align-items: start; }
.controle li:first-child { border-top: 0; }
.etat { font-family: var(--f-donnee); font-size: .68rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; text-align: center; padding: .2rem .3rem; border: 1px solid var(--encre); }
.etat.fait { background: var(--encre); color: var(--papier); }
.adm-produits li { display: grid; grid-template-columns: 3.4rem 1fr; gap: .8rem; padding: .8rem; background: var(--etiquette); border: 1px solid var(--trait); margin-bottom: .6rem; }
.adm-produits .visuel svg { width: 88%; }
.adm-produits .ligne-nom { font-size: 1.02rem; }
.adm-produits .etats { display: flex; gap: .35rem; flex-wrap: wrap; margin-top: .3rem; }
.adm-produits .actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: .4rem; }
@media (min-width: 860px) { .adm-produits li { grid-template-columns: 3.4rem 1fr auto; align-items: center; } .adm-produits .actions { grid-column: auto; justify-content: flex-end; max-width: 26rem; } }
.rangee { display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; margin-bottom: .5rem; }
.rangee input[type="text"] { flex: 1 1 10rem; width: auto; }
.table-tailles { width: 100%; border-collapse: collapse; font-size: .88rem; }
.table-tailles th, .table-tailles td { padding: .35rem .3rem; border-bottom: 1px solid var(--trait); text-align: left; }
.table-tailles th { font-size: .74rem; font-weight: 600; color: var(--gris); }
.table-tailles input[type="number"] { padding: .4rem; min-width: 4rem; }
.defile { overflow-x: auto; }
.photos { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: .7rem; }
.photo { width: 6.2rem; }
.photo .visuel { aspect-ratio: 4 / 5; }
.photo .rangee { margin: .3rem 0 0; gap: .2rem; }
.photo button { font-size: .76rem; padding: .2rem .35rem; border: 1px solid var(--trait); background: var(--etiquette); border-radius: 2px; }
.pied-form { position: sticky; bottom: 0; background: var(--papier); border-top: 1px solid var(--encre); padding: .8rem 0; display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; z-index: 5; }
.phrase { font-family: var(--f-donnee); background: var(--encre); color: var(--papier); padding: .8rem 1rem; display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; justify-content: space-between; }
.phrase button { background: var(--ruban); color: var(--encre); border: 0; padding: .45rem .8rem; font-weight: 700; border-radius: 2px; font-family: var(--f-texte); }
.etapes { list-style: decimal; padding-left: 1.3rem; display: grid; gap: .4rem; }
.centre { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 2rem 1rem; }
.centre > div { max-width: 30rem; display: grid; gap: .9rem; justify-items: center; }
.centre h1 { font-size: clamp(1.5rem, 5vw, 2.2rem); }

/* Pilule propriétaire, message, dialogue */
.pilule { position: fixed; left: 1rem; bottom: 1rem; z-index: 25; background: var(--encre); color: var(--papier); text-decoration: none; font-weight: 700; font-size: .88rem; padding: .6rem .9rem; border-radius: 99px; border: 2px solid var(--ruban); }
.message { position: fixed; left: 50%; bottom: 1.2rem; transform: translateX(-50%); z-index: 60; background: var(--encre); color: var(--papier); padding: .65rem 1rem; border-radius: 2px; font-size: .92rem; font-weight: 600; max-width: calc(100% - 2rem); border-left: 6px solid var(--ruban); }
.message:empty { display: none; }
.dialogue { position: fixed; inset: 0; z-index: 70; display: grid; place-items: center; padding: 1rem; background: rgb(21 24 28 / .5); }
.dialogue > div { background: var(--etiquette); border: 1px solid var(--encre); padding: 1.3rem; max-width: 26rem; width: 100%; }
.dialogue h2 { font-size: 1.15rem; margin-bottom: .5rem; }
.dialogue .rangee { margin: 1.1rem 0 0; justify-content: flex-end; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }

/* Accès à la gestion */
.acces { text-align: left; justify-items: stretch !important; max-width: 36rem !important; }
.acces h1, .acces > p { text-align: center; }
.acces form { display: grid; gap: .9rem; }
details.adm-carte summary { cursor: pointer; font-weight: 700; }
details.adm-carte[open] summary { margin-bottom: .8rem; }
.etapes li a { font-weight: 600; }
.etapes code, .page code { font-family: var(--f-donnee); font-size: .88em; background: var(--papier); padding: 0 .25em; border: 1px solid var(--trait); }
