:root {
  color-scheme: light;
  --fond: #f6f4ee;
  --papier: #fffefb;
  --encre: #203b32;
  --doux: #5b685f;
  --ligne: #d9ded3;
  --accent: #d6e5b0;
  --rouge: #a73c32;
  --orange: #a3630c;
  --vert: #357252;
}
.dashboard-entete { display: flex; align-items: center; gap: 24px; padding: 18px 0; }
.dashboard-entete h3 { margin: 0 0 10px; font-size: 23px; line-height: 1.3; }
.dashboard-avertissement { font-size: 14px; font-weight: 600; }
.jauge { width: 138px; height: 138px; flex: 0 0 138px; position: relative; }
.jauge svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.jauge circle { fill: none; stroke-width: 8; }
.jauge .piste { stroke: var(--ligne); }
.jauge .arc { stroke: currentColor; stroke-linecap: round; }
.score-valeur { position: absolute; inset: 0; display: grid; place-items: center; font-size: 38px; }
.rouge { color: var(--rouge); }
.orange { color: var(--orange); }
.vert { color: var(--vert); }
.neutre { color: var(--doux); }
.dashboard-themes { display: grid; gap: 13px; padding: 16px 0 24px; }
.theme-score { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; font-size: 13px; }
.theme-score span { color: var(--encre); }
.theme-score progress { grid-column: 1 / -1; width: 100%; height: 8px; border: 0; border-radius: 8px; overflow: hidden; background: var(--ligne); }
.theme-score progress::-webkit-progress-bar { background: var(--ligne); }
.theme-score progress::-webkit-progress-value { background: currentColor; }
.theme-score progress::-moz-progress-bar { background: currentColor; }
.dashboard-compteurs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 25px; }
.compteur { display: flex; flex-direction: column; padding: 12px 8px; border: 1px solid var(--ligne); border-radius: 10px; font-size: 11px; text-align: center; }
.compteur strong { font-size: 25px; }
.compteur.a_corriger { color: var(--rouge); }
.compteur.a_verifier { color: var(--orange); }
.compteur.conforme { color: var(--vert); }
.dashboard-section { margin: 20px 0; }
.dashboard-section h3 { font-size: 19px; }
.carte-point { border: 1px solid var(--ligne); border-left: 3px solid var(--doux); border-radius: 8px; padding: 14px 16px; margin: 10px 0; overflow-wrap: anywhere; }
.carte-point.a_corriger { border-left-color: var(--rouge); }
.carte-point.a_verifier { border-left-color: var(--orange); }
.carte-point.conforme { border-left-color: var(--vert); }
.carte-point h4 { margin: 3px 0 8px; font-size: 16px; }
.carte-point p { margin: 5px 0; }
.carte-meta { color: var(--doux); font-size: 11px; }
.carte-action { font-weight: 600; font-size: 14px; }
.carte-preuve, .carte-point a { font-size: 12px; }
#detail-rapport { margin-top: 22px; }
@media (max-width: 500px) {
  .dashboard-entete { flex-direction: column; align-items: flex-start; gap: 12px; }
  .dashboard-compteurs { grid-template-columns: repeat(2, 1fr); }
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--fond);
  color: var(--encre);
  font:
    15px/1.6 system-ui,
    sans-serif;
}
.barre,
main,
footer {
  width: min(1360px, 92%);
  margin: auto;
}
.barre {
  padding: 21px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--ligne);
}
.marque {
  font:
    bold 35px Georgia,
    serif;
  color: var(--encre);
  text-decoration: none;
  letter-spacing: -2px;
}
.marque span:first-child {
  font-style: italic;
}
.point {
  color: #74924c;
}
.etiquette,
.surtitre {
  font-size: 10px;
  letter-spacing: 2px;
  font-weight: 650;
}
.etiquette {
  border: 1px solid var(--ligne);
  padding: 6px 12px;
  border-radius: 30px;
}
.introduction {
  padding: 42px 0 32px;
}
.surtitre {
  color: var(--doux);
  margin: 0 0 14px;
}
h1 {
  font:
    52px/1.08 Georgia,
    serif;
  letter-spacing: -1.7px;
  margin: 0 0 20px;
}
h1 em {
  font-weight: normal;
  color: #6a8052;
}
.accroche {
  max-width: 660px;
  color: var(--doux);
  font-size: 16px;
  margin: 0;
}
.espace-travail {
  display: grid;
  grid-template-columns: minmax(300px, 0.85fr) minmax(0, 1.6fr);
  gap: 22px;
  align-items: start;
}
.carte {
  background: var(--papier);
  border: 1px solid var(--ligne);
  border-radius: 12px;
  padding: 26px;
}
.entete-carte {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
}
.numero {
  font-size: 11px;
  background: #eef0e8;
  border-radius: 50%;
  padding: 5px 9px;
}
h2 {
  font-size: 17px;
  margin: 0;
  font-weight: 650;
}
h3 {
  font-size: 15px;
  margin-top: 26px;
}
label {
  display: block;
  font-size: 13px;
  font-weight: 650;
  margin-bottom: 10px;
}
textarea {
  width: 100%;
  resize: vertical;
  min-height: 175px;
  border: 1px solid #c4cec0;
  background: #fcfcf8;
  border-radius: 7px;
  padding: 15px;
  font: inherit;
  font-size: 14px;
  color: var(--encre);
}
textarea::placeholder {
  color: #748074;
}
textarea:focus-visible,
button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 3px solid #94ab6e;
  outline-offset: 3px;
}
.aide {
  font-size: 12px;
  color: var(--doux);
}
.saisie .aide {
  margin: 10px 0 20px;
}
button {
  background: var(--encre);
  color: white;
  border: 1px solid var(--encre);
  border-radius: 7px;
  padding: 12px 18px;
  font:
    600 14px system-ui,
    sans-serif;
  cursor: pointer;
}
form button {
  width: 100%;
  display: flex;
  justify-content: space-between;
}
button:hover {
  background: #304f40;
}
button:disabled {
  opacity: 0.6;
  cursor: wait;
}
.secondaire {
  margin-left: auto;
  padding: 6px 10px;
  color: var(--encre);
  background: var(--fond);
  font-size: 11px;
  white-space: nowrap;
}
.secondaire:hover {
  background: var(--accent);
}
.configuration {
  font-size: 11px;
  color: var(--doux);
  margin: 12px 0 24px;
}
.note {
  border-top: 1px solid var(--ligne);
  padding-top: 20px;
  font-size: 12px;
  color: var(--doux);
}
.note strong {
  color: var(--encre);
}
.note p {
  margin: 6px 0 0;
}
.resultat {
  min-height: 491px;
}
.attente {
  text-align: center;
  padding: 40px 25px 35px;
}
.symbole {
  font:
    54px Georgia,
    serif;
  color: #78935c;
  background: #eff2e8;
  width: 86px;
  height: 86px;
  line-height: 86px;
  margin: auto;
  border-radius: 50%;
}
.attente h3 {
  font:
    24px Georgia,
    serif;
  margin: 24px 0 12px;
}
.attente p {
  color: var(--doux);
  max-width: 360px;
  margin: auto;
  font-size: 13px;
}
.legende {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.legende span,
.statut {
  padding: 4px 8px;
  border-radius: 4px;
  background: #eef1e7;
  font-size: 10px;
  white-space: nowrap;
}
.legende span:nth-child(2),
.manquant {
  background: #f9e8de;
  color: #853a21;
}
.legende span:nth-child(3),
.a_verifier {
  background: #f7efcf;
  color: #725a13;
}
.conforme {
  color: #325122;
  background: #e7efdc;
}
.erreur {
  background: #f9e8de;
  border-left: 3px solid #9b4a32;
  padding: 12px;
  color: #76331f;
}
.tableau {
  overflow-x: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}
th {
  text-align: left;
  font-weight: 650;
  background: #f3f4ec;
}
th,
td {
  padding: 11px 9px;
  border-bottom: 1px solid var(--ligne);
  vertical-align: top;
  overflow-wrap: anywhere;
}
td:first-child {
  min-width: 110px;
}
td:nth-child(3) {
  min-width: 140px;
}
td a {
  color: #405c26;
}
#manquantes {
  padding-left: 20px;
  font-size: 13px;
  color: var(--doux);
  overflow-wrap: anywhere;
}
details {
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px solid var(--ligne);
  font-size: 12px;
}
summary {
  cursor: pointer;
  font-weight: 650;
}
#outils {
  padding-left: 20px;
  overflow-wrap: anywhere;
}
#progression {
  color: var(--doux);
  background: #f0f3e8;
  padding: 14px;
  border-radius: 6px;
  font-size: 13px;
}
.methode {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin: 30px 0 35px;
}
.methode p {
  color: var(--doux);
  font-size: 12px;
}
.methode strong {
  display: block;
  color: var(--encre);
  margin-bottom: 6px;
  font-size: 12px;
}
footer {
  border-top: 1px solid var(--ligne);
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--doux);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
[hidden] {
  display: none !important;
}
@media (max-width: 850px) {
  .espace-travail {
    grid-template-columns: 1fr;
  }
  .introduction {
    padding-top: 30px;
  }
  h1 {
    font-size: 44px;
  }
  .resultat {
    min-height: 380px;
  }
}
@media (max-width: 500px) {
  .etiquette {
    font-size: 8px;
    letter-spacing: 1px;
    padding: 4px 7px;
  }
  h1 {
    font-size: 36px;
  }
  .carte {
    padding: 20px 16px;
  }
  .methode {
    grid-template-columns: 1fr;
    gap: 0;
    margin: 15px 0;
  }
  .methode p {
    margin: 8px 0;
  }
  footer {
    display: block;
  }
  footer span {
    display: block;
  }
  .attente {
    padding: 24px 0;
  }
}
