
:root {
  --fond: #FBFAFF;
  --blanc: #FFFFFF;
  --encre: #24304C;
  --discret: #5B6482;
  --trait: #E6E2F4;
  --doux: #EEEAFB;
  --lavande: #DED8F6;
  --lavande-bord: #A99CE0;
  --lavande-fonce: #6A5BB8;
  --citron: #F5EBB0;
  --citron-encre: #3D3410;
  --menthe: #CBEBDC;
  --menthe-encre: #1F4A3A;
  --erreur: #B3261E;
  --titres: ui-rounded, "SF Pro Rounded", "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  --texte: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--fond);
  color: var(--encre);
  font: 1.0625rem/1.6 var(--texte);
}
a { color: var(--lavande-fonce); text-underline-offset: 0.15em; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid var(--lavande-bord); outline-offset: 2px; }
.bandeau, main, footer { max-width: 46rem; margin: 0 auto; padding: 0 16px; }
.bandeau {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding-top: 16px; padding-bottom: 16px; border-bottom: 1.5px dashed var(--lavande-bord);
}
.marque {
  display: inline-flex; align-items: center; gap: 10px; min-height: 48px;
  font: 600 1.375rem var(--titres); color: var(--encre); text-decoration: none;
}
.marque img { border-radius: 10px; }
.langue { min-height: 48px; display: inline-flex; align-items: center; }
main { padding-top: 8px; padding-bottom: 40px; }
h1, h2, h3 { font-family: var(--titres); line-height: 1.25; }
h1 { font-size: 2rem; font-weight: 600; margin: 24px 0 4px; }
h2 { font-size: 1.375rem; font-weight: 600; margin: 32px 0 8px; }
h3 { font-size: 1.125rem; font-weight: 600; margin: 24px 0 8px; }
.date, .discret, .note { color: var(--discret); }
.date { margin-top: 0; }
.note { font-size: 0.9375rem; margin-top: 32px; }
ul { padding-left: 1.25rem; }
li + li { margin-top: 6px; }

/* L'étiquette de pelote : le résumé, comme le bandeau du compte dans l'app (couture en tirets). */
.etiquette {
  background: var(--doux); border-radius: 16px; padding: 20px 22px; margin: 24px 0;
  outline: 1.5px dashed var(--lavande-bord); outline-offset: -8px;
}
.etiquette h2 { margin-top: 0; }
.etiquette ul, .etiquette p { margin-bottom: 0; }
.attention { background: var(--citron); color: var(--citron-encre); border-radius: 12px; padding: 14px 16px; }

table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 0.9375rem; }
th, td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--trait); }
thead th { font-family: var(--titres); font-weight: 600; border-bottom: 2px solid var(--lavande-bord); }
.fiche th { width: 34%; font-weight: 600; }
@media (max-width: 640px) {
  table.donnees thead { display: none; }
  table.donnees, table.donnees tbody, table.donnees tr, table.donnees td { display: block; }
  table.donnees tr { background: var(--blanc); border: 1px solid var(--trait); border-radius: 14px; padding: 6px 0; margin: 12px 0; }
  table.donnees td { border: 0; padding: 6px 14px; }
  table.donnees td::before { content: attr(data-label); display: block; font-weight: 600; color: var(--discret); font-size: 0.8125rem; }
  .fiche th, .fiche td { display: block; width: auto; border: 0; padding: 2px 0; }
  .fiche tr { display: block; padding: 8px 0; border-bottom: 1px solid var(--trait); }
}

.accueil { text-align: center; padding: 24px 0 8px; }
.accueil img { border-radius: 22px; }
.accueil h1 { font-size: 2.5rem; margin-top: 12px; }
.chapo { font-size: 1.1875rem; max-width: 30rem; margin: 8px auto 20px; }
.stores { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.bouton, button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px;
  border-radius: 24px; border: 0; background: var(--lavande-fonce); color: var(--blanc);
  font: 600 1rem var(--texte); text-decoration: none; cursor: pointer;
}
button:disabled { opacity: 0.6; cursor: default; }

form { display: grid; gap: 6px; max-width: 24rem; }
label { font-weight: 600; }
input[type=email], input[type=password] {
  min-height: 48px; padding: 0 14px; border: 1.5px solid var(--lavande-bord); border-radius: 12px;
  background: var(--blanc); color: var(--encre); font: inherit; margin-bottom: 10px;
}
form button { margin-top: 6px; justify-self: start; }
.case { display: flex; gap: 10px; align-items: center; min-height: 48px; font-weight: 600; }
.case input { width: 22px; height: 22px; accent-color: var(--lavande-fonce); }
#google { min-height: 48px; }
#etat { min-height: 1.6em; font-weight: 600; }
#etat.erreur { color: var(--erreur); }
.fait { background: var(--menthe); color: var(--menthe-encre); border-radius: 12px; padding: 14px 16px; font-weight: 600; }

pre { white-space: pre-wrap; word-break: break-word; background: var(--blanc); border: 1px solid var(--trait); border-radius: 12px; padding: 14px; font-size: 0.8125rem; }

footer { border-top: 1.5px dashed var(--lavande-bord); padding-top: 16px; padding-bottom: 32px; color: var(--discret); font-size: 0.9375rem; }
footer nav { display: flex; flex-wrap: wrap; gap: 4px 18px; }
footer nav a { min-height: 44px; display: inline-flex; align-items: center; }
