/* Jetons repris de .claude/skills/proto/gabarit-interface.html (palette provisoire, décision d11 ouverte). */
:root {
  --fond: #f5f7fa;
  --surface: #ffffff;
  --texte: #1f2933;
  --texte-2: #52606d;
  --bordure: #dde3ea;
  --accent: #1f4e79;
  --accent-clair: #e6eef6;
  --succes: #0b6e4f;
  --avertissement: #8a5a00;
  --avertissement-clair: #fff4dc;
  --rayon: 8px;
  --ombre: 0 1px 2px rgb(16 24 40 / 6%), 0 1px 3px rgb(16 24 40 / 10%);
  --police: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --police-code: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--police);
  font-size: 16px;
  line-height: 1.6;
  color: var(--texte);
  background: var(--fond);
}

a {
  color: var(--accent);
}

.page {
  max-width: 800px;
  margin: 0 auto;
  padding: 24px 16px 64px;
}

.marque {
  margin: 0 0 24px;
  font-weight: 700;
  color: var(--accent);
}

.marque a {
  text-decoration: none;
}

h1 {
  margin: 0 0 12px;
  font-size: 30px;
  line-height: 1.2;
}

h2 {
  margin: 0;
  font-size: 22px;
  line-height: 1.3;
}

h3 {
  margin: 24px 0 8px;
  font-size: 17px;
}

.chapeau {
  margin: 0 0 24px;
  font-size: 18px;
  color: var(--texte-2);
}

.secondaire {
  color: var(--texte-2);
  font-size: 14px;
}

.carte {
  margin: 0 0 20px;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--bordure);
  border-radius: var(--rayon);
  box-shadow: var(--ombre);
}

.carte > :last-child {
  margin-bottom: 0;
}

.sommaire h2 {
  font-size: 17px;
  margin-bottom: 8px;
}

.sommaire ol {
  margin: 0;
  padding-left: 22px;
}

.etape-entete {
  display: flex;
  gap: 12px;
  align-items: baseline;
  margin-bottom: 12px;
}

.numero {
  flex: none;
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent);
  color: #ffffff;
  font-weight: 700;
  transform: translateY(-2px);
}

.duree {
  display: block;
  font-size: 14px;
  font-weight: 400;
  color: var(--texte-2);
}

.chemin,
.verifications {
  padding-left: 22px;
}

.chemin > li + li,
.verifications > li + li {
  margin-top: 8px;
}

.info,
.attention {
  margin: 16px 0;
  padding: 12px 14px;
  border-radius: 0 var(--rayon) var(--rayon) 0;
}

.info {
  border-left: 3px solid var(--accent);
  background: var(--accent-clair);
}

.attention {
  border-left: 3px solid var(--avertissement);
  background: var(--avertissement-clair);
  color: var(--avertissement);
}

.info p,
.attention p {
  margin: 0;
}

.info p + p,
.attention p + p {
  margin-top: 6px;
}

code {
  font-family: var(--police-code);
  font-size: 0.92em;
}

.url {
  display: block;
  margin: 8px 0 4px;
  padding: 10px 12px;
  border: 1px solid var(--bordure);
  border-radius: var(--rayon);
  background: var(--fond);
  overflow-wrap: anywhere;
  user-select: all;
}

figure {
  margin: 16px 0;
}

figure img {
  display: block;
  max-width: 100%;
  height: auto;
  border: 1px solid var(--bordure);
  border-radius: var(--rayon);
}

figcaption {
  margin-top: 6px;
  font-size: 14px;
  color: var(--texte-2);
}

.table-defilante {
  overflow-x: auto;
  margin: 16px 0;
  border: 1px solid var(--bordure);
  border-radius: var(--rayon);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

th,
td {
  padding: 8px 12px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--bordure);
}

thead th {
  background: var(--fond);
  font-size: 14px;
}

tbody tr:last-child > * {
  border-bottom: 0;
}

.pied {
  margin-top: 32px;
  font-size: 14px;
  color: var(--texte-2);
}

@media (max-width: 480px) {
  h1 {
    font-size: 25px;
  }

  .carte {
    padding: 16px;
  }
}
