@font-face {
  font-family: "Satoshi";
  src: url("/polices/Satoshi-Variable.woff2") format("woff2");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Satoshi";
  src: url("/polices/Satoshi-VariableItalic.woff2") format("woff2");
  font-weight: 300 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Geist Mono";
  src: url("/polices/GeistMono-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; }

button { font: inherit; }

body {
  margin: 0;
  min-height: 100dvh;
  font: 400 var(--taille-corps) / 1.5 "Satoshi", system-ui, sans-serif;
  letter-spacing: -0.01em;
  color: var(--texte-courant);
  background: var(--fond), var(--bg);
  background-attachment: fixed;
}

h1, h2, h3 { margin: 0; color: var(--texte); font-weight: 500; letter-spacing: -0.03em; line-height: 1.15; }
h1 { font-size: var(--taille-h1); }
h2 { font-size: var(--taille-h2); }
h3 { font-size: var(--taille-h3); }
p { margin: 0; }
a { color: var(--accent); text-underline-offset: 4px; }

.donnees { font-family: "Geist Mono", ui-monospace, monospace; font-size: var(--taille-donnees); letter-spacing: 0.02em; }
.etiquette { font-family: "Geist Mono", ui-monospace, monospace; font-size: var(--taille-donnees); letter-spacing: 0.06em; text-transform: uppercase; color: var(--texte-2); }
.invisible { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.icone { flex: none; }

.verre-1, .verre-2, .verre-3 {
  border: 1px solid;
  -webkit-backdrop-filter: blur(var(--flou)) saturate(1.2);
  backdrop-filter: blur(var(--flou)) saturate(1.2);
}
.verre-1 { --flou: var(--flou-1); background: linear-gradient(160deg, var(--verre-1-debut), var(--verre-1-fin)); border-color: var(--verre-1-bordure); border-top-color: var(--verre-1-bordure-haut); box-shadow: var(--verre-1-ombre); }
.verre-2 { --flou: var(--flou-2); background: linear-gradient(160deg, var(--verre-2-debut), var(--verre-2-fin)); border-color: var(--verre-2-bordure); border-top-color: var(--verre-2-bordure-haut); box-shadow: var(--verre-2-ombre); }
.verre-3 { --flou: var(--flou-3); background: linear-gradient(160deg, var(--verre-3-debut), var(--verre-3-fin)); border-color: var(--verre-3-bordure); border-top-color: var(--verre-3-bordure-haut); box-shadow: var(--verre-3-ombre); }

.bouton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--rayon-pilule);
  font: 500 15px / 1 "Satoshi", system-ui, sans-serif;
  color: var(--texte);
  background: transparent;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  transition: transform 0.12s, background-color 0.12s, border-color 0.12s;
  -webkit-tap-highlight-color: transparent;
}
a.bouton { text-decoration: none; }
.bouton:active:not(:disabled) { transform: scale(0.98); }
.bouton--primaire { color: var(--bg-deep); background: var(--accent); border-color: var(--accent); font-weight: 600; }
.bouton--secondaire { border-color: var(--border-strong); }
.bouton--fantome { padding: 0 18px; color: var(--accent); }
.bouton--danger {
  color: var(--erreur);
  background: color-mix(in srgb, var(--erreur) 6%, var(--surface));
  border-color: color-mix(in srgb, var(--erreur) 40%, transparent);
}
.bouton:hover:not(:disabled), .bouton.etat-survol { background-color: var(--surface-3); border-color: var(--border-strong); }
.bouton--primaire:hover:not(:disabled), .bouton--primaire.etat-survol { background: color-mix(in srgb, var(--accent) 88%, var(--texte)); border-color: transparent; }
.bouton--danger:hover:not(:disabled), .bouton--danger.etat-survol { background: color-mix(in srgb, var(--erreur) 8%, var(--surface)); border-color: var(--erreur); }
.bouton.etat-focus { outline: 2px solid var(--accent); outline-offset: 2px; }
.bouton:disabled:not([aria-busy]) { color: var(--desactive); cursor: not-allowed; background: transparent; border: 1px dashed var(--border); }
.bouton[aria-busy="true"] { color: var(--texte-2); cursor: progress; border-style: solid; }
.bouton--primaire[aria-busy="true"] { color: var(--bg-deep); background: color-mix(in srgb, var(--accent) 80%, var(--texte)); }
.bouton--primaire .rotation { border-color: color-mix(in srgb, var(--bg-deep) 35%, transparent); border-top-color: var(--bg-deep); }

.rotation {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid var(--border-strong);
  border-top-color: var(--accent);
  animation: tourne 0.8s linear infinite;
}
@keyframes tourne { to { transform: rotate(360deg); } }

.bouton-icone {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: var(--rayon-pilule);
  background: transparent;
  color: var(--texte-2);
  cursor: pointer;
}
.bouton-icone:hover { background: var(--surface-3); color: var(--texte); }

.champ { display: flex; flex-direction: column; gap: var(--esp-8); }
.champ label { font-size: var(--taille-petit); font-weight: 500; color: var(--texte); }
.champ input, .champ select {
  min-height: 48px;
  padding: 0 var(--esp-16);
  border: 1px solid var(--border-strong);
  border-radius: var(--rayon-petit);
  background: var(--surface);
  color: var(--texte);
  font: inherit;
}
.champ input::placeholder { color: var(--texte-2); }
.champ input:hover:not(:disabled), .champ select:hover:not(:disabled) { background: var(--surface-2); }
.champ input:focus-visible, .champ select:focus-visible { border-color: var(--accent); outline-offset: 0; }
.champ input:disabled { color: var(--desactive); background: transparent; border-style: dashed; border-color: var(--border); cursor: not-allowed; }
.champ__saisie { position: relative; display: flex; }
.champ__saisie input { flex: 1; min-width: 0; padding-right: 52px; }
.champ__oeil { position: absolute; top: 2px; right: 2px; }
.champ__message { display: flex; align-items: center; gap: var(--esp-8); font-size: var(--taille-petit); color: var(--texte-2); }
.champ--erreur input, .champ--erreur select { border-color: var(--erreur); }
.champ--erreur .champ__message { color: var(--erreur); }

.recherche {
  display: flex;
  align-items: center;
  gap: var(--esp-8);
  padding: 6px 6px 6px var(--esp-16);
  border-radius: var(--rayon-pilule);
  color: var(--texte-2);
}
.recherche input { flex: 1; min-width: 0; min-height: 44px; border: 0; background: transparent; color: var(--texte); font: inherit; font-size: 17px; }
.recherche input:focus-visible { outline: none; }
.recherche:focus-within { outline: 2px solid var(--accent); outline-offset: 2px; }

.segments {
  display: flex;
  gap: 4px;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 4px;
  border: 1px solid var(--border);
  border-radius: var(--rayon-pilule);
  background: var(--bg-deep);
  overflow-x: auto;
}
.segments label { flex: 1 1 auto; min-width: 0; position: relative; }
.segments input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.segments span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 12px;
  white-space: nowrap;
  border: 1px solid transparent;
  border-radius: var(--rayon-pilule);
  font-size: var(--taille-petit);
  font-weight: 500;
  color: var(--texte-2);
  white-space: nowrap;
}
.segments input:checked + span {
  color: var(--texte);
  background: linear-gradient(160deg, var(--verre-3-debut), var(--verre-3-fin)), var(--surface-2);
  border-color: var(--verre-3-bordure);
  border-top-color: var(--verre-3-bordure-haut);
}
.segments input:not(:checked):hover + span { color: var(--texte); }
.segments input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }

.interrupteur { display: flex; align-items: center; gap: var(--esp-12); min-height: 44px; cursor: pointer; color: var(--texte); }
.interrupteur input {
  appearance: none;
  -webkit-appearance: none;
  position: relative;
  flex: none;
  width: 48px;
  height: 28px;
  margin: 0;
  border: 1px solid var(--border-strong);
  border-radius: var(--rayon-pilule);
  background: var(--border);
  cursor: inherit;
  transition: background-color 0.15s;
}
.interrupteur input::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--texte-2);
  transition: transform 0.15s, background-color 0.15s;
}
.interrupteur input:checked { background: var(--accent); border-color: var(--accent); }
.interrupteur input:checked::after { transform: translateX(20px); background: var(--bg-deep); }
.interrupteur input:disabled { border-style: dashed; background: transparent; }
.interrupteur input:disabled::after { background: var(--desactive); }
.interrupteur:has(input:disabled) { color: var(--desactive); cursor: not-allowed; }

.quantite { display: inline-flex; align-self: flex-start; align-items: center; border: 1px solid var(--border-strong); border-radius: var(--rayon-pilule); }
.quantite__pas {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: var(--rayon-pilule);
  background: transparent;
  color: var(--texte);
  font-size: 20px;
  cursor: pointer;
}
.quantite__pas:hover { background: var(--surface-3); }
.quantite__valeur {
  width: 48px;
  height: 44px;
  border: 0;
  background: transparent;
  color: var(--texte);
  font-size: 15px;
  text-align: center;
  appearance: textfield;
  -moz-appearance: textfield;
}
.quantite__valeur::-webkit-inner-spin-button, .quantite__valeur::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 26px;
  padding: 0 10px;
  border: 1px solid color-mix(in srgb, var(--couleur) 40%, transparent);
  border-radius: var(--rayon-pilule);
  background: color-mix(in srgb, var(--couleur) 6%, var(--surface));
  color: var(--couleur);
  font: 500 var(--taille-donnees) / 1 "Geist Mono", ui-monospace, monospace;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.badge--psa10 { --couleur: var(--attention); }
.badge--en-vente { --couleur: var(--succes); }
.badge--reservee { --couleur: var(--attention); }
.badge--verifie { --couleur: var(--info); }
.badge--ebay { --couleur: var(--texte); }
.badge--brouillon { --couleur: var(--texte-2); background: transparent; border: 1px dashed var(--border-strong); }
.badge__point { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

.toast {
  display: flex;
  align-items: center;
  gap: var(--esp-12);
  padding: var(--esp-12) var(--esp-8) var(--esp-12) var(--esp-16);
  border-radius: var(--rayon-moyen);
  color: var(--texte);
}
.toast > .icone { color: var(--couleur); }
.toast--succes { --couleur: var(--succes); }
.toast--info { --couleur: var(--info); }
.toast--attention { --couleur: var(--attention); }
.toast--erreur { --couleur: var(--erreur); }
.toast__texte { flex: 1; min-width: 0; display: flex; flex-direction: column; font-size: var(--taille-petit); }
.toast__texte span { color: var(--texte-courant); }

.modale {
  width: min(420px, calc(100vw - 32px));
  padding: 0;
  border-radius: var(--rayon-grand);
  color: var(--texte-courant);
}
.modale::backdrop { background: color-mix(in srgb, var(--bg-deep) 70%, transparent); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.modale form { display: flex; flex-direction: column; gap: var(--esp-16); padding: var(--esp-24); }
.modale h2 { font-size: 24px; }
.modale__actions { display: flex; justify-content: flex-end; gap: var(--esp-8); flex-wrap: wrap; }

.feuille {
  width: 100%;
  max-width: 560px;
  margin: auto auto 0;
  padding: var(--esp-12) var(--esp-16) calc(var(--esp-24) + env(safe-area-inset-bottom));
  border-radius: var(--rayon-grand) var(--rayon-grand) 0 0;
  color: var(--texte-courant);
}
@media (scripting: none) { [data-avec-script] { display: none !important; } }
.feuille[open] { display: flex; flex-direction: column; gap: var(--esp-12); }
.feuille::before { content: ""; align-self: center; width: 40px; height: 4px; border-radius: 4px; background: var(--border-strong); }
.feuille::backdrop { background: color-mix(in srgb, var(--bg-deep) 70%, transparent); }
.feuille h2 { font-size: var(--taille-h3); }
.feuille form, .feuille .bouton { display: flex; width: 100%; }

.ecran-etape__haut { display: flex; align-items: center; gap: var(--esp-8); margin-left: calc(-1 * var(--esp-12)); }
.ecran-etape__haut h1 { font-size: var(--taille-h3); }
.ecran-etape__pied {
  position: sticky;
  bottom: 0;
  display: flex;
  flex-direction: column;
  gap: var(--esp-8);
  margin-top: auto;
  padding: var(--esp-12) 0 calc(var(--esp-16) + env(safe-area-inset-bottom));
  background: linear-gradient(to top, var(--bg) 75%, transparent);
}
.ecran-etape__pied:empty { display: none; }
.ecran-etape__pied form, .ecran-etape__pied .bouton { display: flex; width: 100%; }
.ecran-etape { min-height: 100dvh; padding-bottom: 0; }

.ecran-etape__pas { margin-left: auto; color: var(--texte-2); }
.question { color: var(--texte); font-size: var(--taille-h2); font-weight: 500; letter-spacing: -0.02em; line-height: 1.2; }
.liste-aide { margin: 0; padding-left: var(--esp-24); display: flex; flex-direction: column; gap: var(--esp-8); }
.etape-plein { width: 100%; max-width: 100%; height: 100dvh; max-height: 100dvh; margin: 0; padding: 0; border: 0; background: var(--bg); color: var(--texte-courant); }
.etape-plein::backdrop { background: var(--bg); }
.etape-plein form { height: 100%; }
.etape-plein__pas { display: flex; flex-direction: column; gap: var(--esp-16); width: min(100%, 720px); min-height: 100%; margin: 0 auto; padding: var(--esp-24) var(--esp-16) 0; }
.etape-plein__pas[hidden] { display: none; }

.resume-champ { display: flex; flex-direction: column; gap: var(--esp-12); border-radius: var(--rayon-moyen); }
.resume-champ.verre-1 { padding: var(--esp-16); }
.resume-champ summary { display: flex; justify-content: space-between; gap: var(--esp-12); color: var(--texte); cursor: pointer; list-style: none; }
.resume-champ summary::-webkit-details-marker { display: none; }
.resume-champ[open] { gap: var(--esp-16); }
.resume-champ[open] summary .lien { display: none; }
.lien { color: var(--accent); }

.contact-gros {
  display: flex;
  flex-direction: column;
  gap: var(--esp-8);
  padding: var(--esp-16);
  border-radius: var(--rayon-grand);
  background: color-mix(in srgb, var(--accent) 10%, var(--surface));
  border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent);
}
.contact-gros__valeur { font-size: var(--taille-h3); color: var(--texte); overflow-wrap: anywhere; }
.contact-gros small { color: var(--texte-2); }
.contact-gros .rangee { flex-wrap: nowrap; gap: var(--esp-8); }
.page-classeur .contact-gros .rangee .bouton { flex: 1 1 0; min-width: 0; padding: 0 var(--esp-12); }
.rappel { font-size: var(--taille-petit); color: var(--texte-2); border-left: 2px solid var(--border-strong); padding-left: var(--esp-12); }
.aide { font-size: var(--taille-petit); color: var(--texte-2); }

.onglets { display: flex; padding: var(--esp-4); border-radius: var(--rayon-pilule); background: var(--surface-2); }
.onglets label { flex: 1; text-align: center; padding: var(--esp-8); border-radius: var(--rayon-pilule); font-size: var(--taille-petit); color: var(--texte-2); cursor: pointer; }
.onglets input:checked + label { background: var(--surface-3); color: var(--texte); }
.onglets input:focus-visible + label { outline: 2px solid var(--accent); outline-offset: 2px; }

.squelette {
  display: block;
  border-radius: var(--rayon-petit);
  background: linear-gradient(90deg, var(--surface-2) 0%, var(--surface-3) 50%, var(--surface-2) 100%);
  background-size: 200% 100%;
  animation: brille 1.4s ease-in-out infinite;
}
.squelette--image { aspect-ratio: 5 / 7; border-radius: var(--rayon-moyen); }
.squelette--ligne { height: 14px; }
.squelette--courte { width: 60%; }
.squelette--rond { width: 48px; height: 48px; border-radius: 50%; flex: none; }
.squelettes { display: grid; grid-template-columns: 140px 1fr; gap: var(--esp-16); align-items: start; }
.squelette-carte { display: flex; flex-direction: column; gap: var(--esp-8); }
.squelette-rang { display: flex; gap: var(--esp-12); align-items: center; }
.squelette-rang__texte { flex: 1; display: flex; flex-direction: column; gap: var(--esp-8); }
@keyframes brille { from { background-position: 100% 0; } to { background-position: -100% 0; } }
@media (prefers-reduced-motion: reduce) {
  .squelette, .rotation { animation: none; }
  * { transition: none !important; }
}

/*
 * Barre du bas mobile : un seul bouton flottant, qui ouvre Ajouter au classeur et Vendre une carte (choix B de Clovis du 06/11/2026).
 * --marge-barre-basse : la place que le contenu des pages laisse sous la barre, zone sûre iOS comprise.
 */
:root { --marge-barre-basse: calc(112px + env(safe-area-inset-bottom)); }
@media (min-width: 960px) { :root { --marge-barre-basse: calc(var(--esp-96) + env(safe-area-inset-bottom)); } }
.barre-basse { position: fixed; z-index: 10; }
.barre-basse__choix {
  border: 1px solid var(--verre-2-bordure);
  background: color-mix(in srgb, var(--surface-2) 78%, transparent);
  -webkit-backdrop-filter: blur(var(--flou-1)) saturate(1.2);
  backdrop-filter: blur(var(--flou-1)) saturate(1.2);
  box-shadow: 0 14px 30px rgb(0 0 0 / 0.45);
}
.barre-basse a, .barre-basse__plus { color: var(--texte); text-decoration: none; }

.barre-basse--bouton { right: 20px; bottom: max(24px, env(safe-area-inset-bottom)); }
.barre-basse__plus {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  padding: 0;
  border: 0;
  border-radius: 22px;
  background: var(--accent);
  color: var(--bg-deep);
  box-shadow: 0 14px 30px color-mix(in srgb, var(--accent) 25%, transparent), 0 6px 16px rgb(0 0 0 / 0.4);
}
.barre-basse__choix {
  inset: auto 20px calc(max(24px, env(safe-area-inset-bottom)) + 62px + var(--esp-12)) auto;
  margin: 0;
  padding: 6px;
  border-radius: var(--rayon-grand);
  color: var(--texte);
}
.barre-basse__choix:popover-open { display: flex; flex-direction: column; gap: 2px; }
.barre-basse__choix a { display: flex; align-items: center; gap: var(--esp-12); min-height: 48px; padding: 0 var(--esp-16); border-radius: var(--rayon-moyen); font-size: var(--taille-petit); font-weight: 600; white-space: nowrap; }
.barre-basse__choix a:hover { background: var(--surface-3); }
.barre-basse__choix .icone { color: var(--accent); }
.barre-basse__choix .choix-ajout { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.barre-basse__choix .choix-ajout__ligne { border: 0; background: none; }
.barre-basse__choix .choix-ajout__ligne:hover { background: var(--surface-3); }

.page-design, .page-compte, .page-classeur {
  display: flex;
  flex-direction: column;
  gap: var(--esp-16);
  width: min(100%, 720px);
  margin: 0 auto;
  padding: var(--esp-24) var(--esp-16) var(--marge-barre-basse);
}
.entete { display: flex; flex-direction: column; gap: var(--esp-12); padding-bottom: var(--esp-8); }
.entete__liens { display: flex; flex-wrap: wrap; gap: var(--esp-8); }
.bloc { display: flex; flex-direction: column; gap: var(--esp-16); padding: var(--esp-24) var(--esp-16); border-radius: var(--rayon-grand); }
.bloc h2 { font-size: 24px; }
.rangee { display: flex; flex-wrap: wrap; gap: var(--esp-12); align-items: center; }
.etats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--esp-16) var(--esp-8); }
.etats__cellule { display: flex; flex-direction: column; align-items: flex-start; gap: var(--esp-8); }
.champs { display: flex; flex-direction: column; gap: var(--esp-16); }
.toasts { display: flex; flex-direction: column; gap: var(--esp-12); }

.pastilles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--esp-12) var(--esp-8); }
.pastilles li { display: flex; flex-direction: column; gap: 2px; font-size: var(--taille-petit); }
.pastille { height: 44px; margin-bottom: var(--esp-4); border: 1px solid var(--border-strong); border-radius: var(--rayon-petit); }
.pastille__nom { color: var(--texte); font-weight: 500; }

.typographie { display: flex; flex-direction: column; gap: var(--esp-8); }
.typographie__ligne { display: flex; flex-direction: column; gap: 2px; }
.typographie__echantillon { color: var(--texte); font-weight: 500; letter-spacing: -0.03em; line-height: 1.15; overflow-wrap: anywhere; }
.espacements { display: flex; flex-direction: column; gap: var(--esp-8); }
.espacements__ligne { display: flex; align-items: center; gap: var(--esp-12); }
.espacements__ligne .donnees { width: 24px; }
.espacements__barre { height: 12px; border-radius: 2px; background: var(--accent); }
.rayons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--esp-16) var(--esp-8); }
.rayons__exemple { display: flex; flex-direction: column; gap: var(--esp-8); }
.rayons__forme { height: 56px; border: 1px solid var(--border-strong); background: var(--surface-2); }
.verres { display: flex; flex-direction: column; gap: var(--esp-12); padding: var(--esp-16); border-radius: var(--rayon-moyen); background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 35%, var(--bg)), color-mix(in srgb, var(--info) 35%, var(--bg))); }
.verre-demo { display: flex; flex-direction: column; gap: 4px; padding: var(--esp-16); border-radius: var(--rayon-moyen); color: var(--texte); }
.verre-demo .donnees { color: var(--texte-courant); }

@media (min-width: 720px) {
  .pastilles { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .etats { grid-template-columns: repeat(5, auto); }
  .bloc { padding: var(--esp-24); }
}
.invitations { display: flex; flex-direction: column; gap: var(--esp-8); padding: 0; list-style: none; }
.invitations li { display: flex; flex-wrap: wrap; align-items: center; gap: var(--esp-8); }
.lien-invitation { overflow-wrap: anywhere; user-select: all; }
.pile__sans-image { display: block; flex: none; width: 56px; aspect-ratio: 63 / 88; border-radius: var(--rayon-petit); background: var(--surface-2); }
.pile__details { color: var(--texte-2); font-size: 11px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.resultats { display: flex; flex-direction: column; gap: var(--esp-8); padding: 0; list-style: none; }
.resultat { display: flex; align-items: center; gap: var(--esp-12); padding: var(--esp-8); border-radius: var(--rayon-moyen); color: inherit; text-decoration: none; }
.resultat img { width: 56px; aspect-ratio: 63 / 88; object-fit: contain; }
.segments--colonne { flex-direction: column; align-items: stretch; border-radius: var(--rayon-grand); }
.segments--colonne span { border-radius: var(--rayon-moyen); }
.gradee { display: flex; flex-direction: column; gap: var(--esp-8); }
.gradee label { display: flex; justify-content: space-between; gap: var(--esp-8); }

.profil .bloc, .page-compte > .bloc { gap: var(--esp-12); }
.membre-tete { display: flex; align-items: center; gap: var(--esp-12); }
.membre-tete .annonce__texte, .invitation .annonce__texte { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.page-compte [data-inviter] { width: 100%; }
.membre-tete .annonce__texte small, .invitation small { color: var(--texte-2); }
.page-compte .membre__avatar { width: 44px; height: 44px; flex: none; display: grid; place-items: center; border-radius: var(--rayon-pilule); background: var(--surface-3); color: var(--texte); font-weight: 600; }
.invitations { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--esp-8); }
.invitation { display: flex; width: 100%; align-items: center; gap: var(--esp-12); padding: var(--esp-12); border-radius: var(--rayon-moyen); color: var(--texte); font: inherit; text-align: left; cursor: pointer; }
.invitation__icone { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: var(--rayon-moyen); background: var(--surface-3); }
.invitation__icone--ok { color: var(--succes); background: color-mix(in srgb, var(--succes) 16%, var(--surface)); }
.invitations__tete { justify-content: space-between; }
.illustration { width: 96px; height: 96px; display: grid; place-items: center; border-radius: 28px; font-size: 44px; background: color-mix(in srgb, var(--accent) 14%, var(--surface)); border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent); }
.illustration--eteinte { background: var(--surface-2); border-color: var(--border); }
.message-pret { padding: var(--esp-16); border-radius: var(--rayon-moyen); background: var(--surface-2); border-left: 3px solid var(--accent); color: var(--texte); }
.suppression summary { color: var(--erreur); }
.etapes-boite { margin: 0; padding-left: var(--esp-24); display: flex; flex-direction: column; gap: var(--esp-8); color: var(--texte); }
.page-compte .ecran-etape__pied, .page-compte .ecran-etape__pied form { display: flex; flex-direction: column; gap: var(--esp-8); }
.accord { padding-top: var(--esp-8); border-top: 1px solid var(--border); }
.case { display: flex; align-items: flex-start; gap: var(--esp-12); min-height: 44px; cursor: pointer; color: var(--texte); }
.case input { flex: none; width: 24px; height: 24px; margin: 10px 0 0; accent-color: var(--accent); }
.case input:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.case span { padding: var(--esp-8) 0; }
.accord__phrase:not([data-actif]) { display: none; }
.accord:has([name="langue_textes"]:checked) .accord__phrase { display: none; }
.accord:has([name="langue_textes"][value="fr"]:checked) .accord__phrase[data-langue-textes="fr"],
.accord:has([name="langue_textes"][value="en"]:checked) .accord__phrase[data-langue-textes="en"],
.accord:has([name="langue_textes"][value="pl"]:checked) .accord__phrase[data-langue-textes="pl"] { display: inline; }
.accord__langue { display: flex; flex-direction: column; gap: var(--esp-8); }
.accord__langue > p:first-child { margin: 0; color: var(--texte); }
.liens-publics { display: flex; flex-wrap: wrap; gap: var(--esp-8) var(--esp-16); font-size: var(--taille-petit); }
.liens-publics p { display: flex; flex-wrap: wrap; gap: var(--esp-8) var(--esp-12); margin: 0; width: 100%; }
.liens-publics span { color: var(--texte-2); }
.page-texte { padding-bottom: calc(var(--esp-48) + env(safe-area-inset-bottom)); }
.langues-textes { display: flex; flex-wrap: wrap; gap: var(--esp-8) var(--esp-16); }
.langues-textes [aria-current] { color: var(--texte); font-weight: 600; }
.texte-juridique { display: flex; flex-direction: column; gap: var(--esp-12); color: var(--texte-courant); line-height: 1.6; overflow-wrap: anywhere; }
.texte-juridique h1 { font-size: var(--taille-h2); line-height: 1.2; }
.texte-juridique h2 { margin-top: var(--esp-16); font-size: var(--taille-h3); }
.texte-juridique h3 { margin-top: var(--esp-8); font-size: var(--taille-corps); }
.texte-juridique p, .texte-juridique ul { margin: 0; }
.texte-juridique ul { padding-left: var(--esp-24); display: flex; flex-direction: column; gap: var(--esp-8); }

/* Navigation des pages membres : barre latérale au-delà de 960 px ; en dessous, en-tête avec Menu, tiroir (popover) et barre basse. */
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--texte); text-decoration: none; }
.logo b { font-size: 22px; font-weight: 600; letter-spacing: -0.03em; }
.logo--page { align-self: flex-start; }
.logo__marque { flex: none; fill: currentColor; }

.entete-mobile { display: flex; align-items: center; gap: var(--esp-8); padding: var(--esp-12) var(--esp-12) 0; padding-top: max(var(--esp-12), env(safe-area-inset-top)); }
.entete-mobile .logo { margin-right: auto; }
.entete-mobile .bouton-icone { position: relative; }
.entete-mobile__point { position: absolute; top: 9px; right: 9px; width: 10px; height: 10px; border-radius: 50%; background: var(--dore); box-shadow: 0 0 0 2px var(--bg); }
.entete-mobile .logo b { font-size: 20px; }

.laterale {
  flex-direction: column;
  gap: var(--esp-32);
  margin: 0;
  padding: var(--esp-32) 20px var(--esp-24);
  border: 0;
  border-right: 1px solid var(--border);
  color: var(--texte-courant);
  background: var(--surface);
  overflow-y: auto;
}
.laterale__haut { display: flex; align-items: center; justify-content: space-between; padding: 0 var(--esp-4) 0 var(--esp-12); }
.laterale__nav { display: flex; flex-direction: column; gap: 2px; }
.laterale__nav a { display: flex; align-items: center; gap: var(--esp-12); min-height: 48px; padding: 0 var(--esp-12); border-radius: var(--rayon-pilule); color: var(--texte-courant); font-size: 15px; font-weight: 500; text-decoration: none; }
.laterale__nav a:hover { background: var(--surface-2); }
.laterale__nav a[aria-current="page"] { color: var(--texte); background: var(--surface-3); }
.laterale__nav a[aria-current="page"] .icone { color: var(--accent); }
.laterale__pastille { margin-left: auto; min-width: 20px; height: 20px; padding: 0 6px; border-radius: var(--rayon-pilule); background: var(--dore); color: var(--sur-dore); font: 700 11px / 20px "Satoshi", system-ui, sans-serif; text-align: center; }
.laterale__vendre { margin-top: auto; width: 100%; }

/* Le lien d'évitement : invisible, il apparaît au premier Tab, avant l'en-tête. */
.lien-evitement { position: absolute; top: 8px; left: 8px; z-index: 20; padding: 10px 16px; border-radius: var(--rayon-pilule); background: var(--accent); color: var(--bg-deep); font-weight: 600; text-decoration: none; transform: translateY(-200%); }
.lien-evitement:focus { transform: none; }

@media (max-width: 959.98px) {
  body:has(> .entete-mobile) { display: flex; flex-direction: column; }
  .laterale:popover-open { display: flex; }
  .laterale {
    position: fixed;
    inset: 0 auto 0 0;
    width: min(304px, 86vw);
    height: 100dvh;
    max-height: none;
    padding-top: max(var(--esp-24), env(safe-area-inset-top));
    padding-bottom: max(var(--esp-24), env(safe-area-inset-bottom));
    border-radius: 0 var(--rayon-grand) var(--rayon-grand) 0;
    box-shadow: var(--verre-3-ombre);
    transform: translateX(-100%);
    transition: transform 0.22s ease, display 0.22s allow-discrete, overlay 0.22s allow-discrete;
  }
  .laterale:popover-open { transform: none; }
  @starting-style { .laterale:popover-open { transform: translateX(-100%); } }
  .laterale::backdrop { background: rgb(0 0 0 / 0.36); }
}

@media (min-width: 960px) {
  .entete-mobile, .laterale__fermer, body:has(.laterale) .barre-basse { display: none; }
  .laterale { display: flex; position: fixed; inset: 0 auto 0 0; z-index: 10; width: 264px; height: 100dvh; background: color-mix(in srgb, var(--surface) 70%, transparent); }
  body:has(.laterale) { padding-left: 264px; }
}

/* Marges plus larges des pages membres (maquette du 30/10) : 24 px sur les côtés au téléphone, 56 px à l'ordinateur. */
body:has(.laterale) :is(.page-classeur, .page-compte) { gap: var(--esp-24); padding-left: var(--esp-24); padding-right: var(--esp-24); }
body:has(.laterale) .bloc { padding: var(--esp-24); }
body:has(.laterale) .classeur { padding-left: var(--esp-24); padding-right: var(--esp-24); }
.classeur > .entete-mobile { margin: 0 calc(-1 * var(--esp-24)); padding-top: 0; }
@media (min-width: 960px) {
  body:has(.laterale) :is(.page-classeur, .page-compte) { width: min(100%, 832px); gap: var(--esp-32); padding: var(--esp-48) 56px var(--esp-64); }
  body:has(.laterale) .bloc { padding: 28px; }
  body:has(.laterale) .classeur { padding: var(--esp-32) 56px var(--esp-32); }
}

/* Le menu compte, sous les parties : Profil, Aide. */
.laterale__compte { margin: var(--esp-24) 0 var(--esp-4); padding: 0 var(--esp-12); }

/* Les raccourcis en haut d'une partie : Je cherche et Mes achats dans Collect, Mes annonces et Mes ventes dans le Classeur. */
.raccourci { display: flex; justify-content: space-between; margin-bottom: var(--esp-8); padding: var(--esp-12) var(--esp-16); border-radius: var(--rayon-moyen); color: var(--texte); text-decoration: none; background: color-mix(in srgb, var(--accent) 9%, var(--surface)); border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent); }

/* MeshCLCT (`MESH_MARQUE=meshclct`) : le lockup de Pablo en deux images, le thème n'en montre qu'une ; les initiales sous la connexion et l'accueil vide. */
.logo__lockup { display: block; height: 24px; width: auto; }
.entete-mobile .logo__lockup { height: 22px; }
.logo__lockup--clair, :root[data-theme="clair"] .logo__lockup--sombre { display: none; }
:root[data-theme="clair"] .logo__lockup--clair { display: block; }
.marque__initiales { display: flex; flex-wrap: wrap; gap: var(--esp-4) var(--esp-12); margin: 0; font-family: "Geist Mono", ui-monospace, monospace; font-size: var(--taille-donnees); letter-spacing: 0.02em; color: var(--texte-2); }
