/* Maquette journal facon Liberation : papier blanc, encre noire, un seul rouge.
   Memes tokens que l'email (digest_writer._STYLE_BLOCK) et que l'ancien site PHP —
   toute retouche doit rester dans cette identite. */
:root {
  --paper: #ffffff; --ink: #111111; --body: #2e2e2e; --soft: #6a6a6a;
  --red: #e4032e; --hairline: #e3e3e3; --wash: #f5f5f3;
  --sans: "Libre Franklin", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #121214; --ink: #f4f4f2; --body: #cfcfc9; --soft: #98989e;
    --red: #ff5566; --hairline: #2a2a2e; --wash: #1a1a1e;
  }
}
* { box-sizing: border-box; }
body {
  margin: 0; background: var(--paper); color: var(--body);
  font-family: var(--serif); font-size: 16px; line-height: 1.65;
  -webkit-text-size-adjust: 100%;
}
.sheet { max-width: 760px; margin: 0 auto; padding: 44px 24px 80px; }
.sheet.wide { max-width: 940px; }

.masthead {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 16px;
  flex-wrap: wrap; padding-bottom: 18px; border-bottom: 3px solid var(--ink);
}
.wordmark {
  font-family: var(--sans); font-size: clamp(34px, 7vw, 48px); font-weight: 900;
  letter-spacing: -0.02em; line-height: 1; color: var(--ink); margin: 0 0 6px;
  text-decoration: none; display: block;
}
.wordmark .dot { color: var(--red); }
.tagline {
  font-family: var(--serif); font-size: 16px; font-style: italic; color: var(--soft);
  margin: 0; text-wrap: balance;
}
.meta {
  font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; color: var(--soft); text-align: right; line-height: 1.9;
}
.meta a { color: var(--ink); }

h2.rubric {
  font-family: var(--sans); font-size: 12px; font-weight: 800; letter-spacing: .1em;
  text-transform: uppercase; color: var(--red); margin: 44px 0 14px;
  padding-top: 12px; border-top: 2px solid var(--ink);
}
h3 { font-family: var(--sans); font-size: 17px; font-weight: 800; margin: 0 0 6px; color: var(--ink); }
p { margin: 0 0 14px; }
a { color: var(--red); }
.lede { font-size: 17.5px; line-height: 1.7; color: var(--body); }

.numbers { display: flex; flex-wrap: wrap; gap: 26px; margin: 22px 0 4px; }
.numbers div { min-width: 92px; }
.numbers b {
  display: block; font-family: var(--sans); font-size: 30px; font-weight: 900;
  color: var(--ink); line-height: 1.1;
}
.numbers span {
  font-family: var(--sans); font-size: 10.5px; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; color: var(--soft);
}

form { margin: 0; }
label {
  display: block; font-family: var(--sans); font-size: 11px; font-weight: 700;
  letter-spacing: .07em; text-transform: uppercase; color: var(--soft); margin: 18px 0 6px;
}
input[type=text], input[type=email], input[type=url], input[type=number], select, textarea {
  width: 100%; padding: 11px 13px; background: var(--paper); color: var(--ink);
  border: 1px solid var(--ink); border-radius: 0; font-family: var(--serif); font-size: 16px;
}
textarea { font-size: 15px; line-height: 1.6; resize: vertical; }
input:focus, textarea:focus, select:focus { outline: 2px solid var(--red); outline-offset: -2px; }
.row { display: flex; gap: 14px; flex-wrap: wrap; }
.row > * { flex: 1 1 150px; }
.hint { font-family: var(--sans); font-size: 12px; color: var(--soft); margin: 6px 0 0; }

button, .btn {
  display: inline-block; margin-top: 18px; padding: 12px 20px; cursor: pointer;
  background: var(--ink); color: var(--paper); border: 1px solid var(--ink);
  font-family: var(--sans); font-size: 12px; font-weight: 800; letter-spacing: .08em;
  text-transform: uppercase; text-decoration: none;
}
button.ghost, .btn.ghost { background: transparent; color: var(--ink); }
button.small { margin: 0; padding: 7px 11px; font-size: 10.5px; }

/* Un message se signale par un filet horizontal, comme un encadre de presse — pas par un
   onglet lateral colle sur le cote. Le rouge distingue l'erreur du simple accuse de reception. */
.notice, .error {
  font-family: var(--sans); font-size: 13px; padding: 11px 14px 12px; margin: 20px 0;
  background: var(--wash); color: var(--ink); border-top: 2px solid var(--ink);
}
.error { font-weight: 600; border-top-color: var(--red); color: var(--red); }

table { width: 100%; border-collapse: collapse; margin-top: 8px; }
th {
  font-family: var(--sans); font-size: 10.5px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--soft); text-align: left;
  padding: 8px 10px 8px 0; border-bottom: 2px solid var(--ink);
}
td { padding: 11px 10px 11px 0; border-bottom: 1px solid var(--hairline); vertical-align: top; }
td.actions { text-align: right; white-space: nowrap; }
.tag {
  font-family: var(--sans); font-size: 10px; font-weight: 700; letter-spacing: .07em;
  text-transform: uppercase; color: var(--red); border: 1px solid var(--red);
  padding: 2px 6px; white-space: nowrap;
}
.url { font-family: var(--mono); font-size: 11.5px; color: var(--soft); word-break: break-all; }

/* Contrepartie discrete de .tag : les deux occupent la meme colonne, pour que l'oeil
   compare les etats en descendant plutot que de chercher lequel porte une marque. */
.state-off {
  font-family: var(--sans); font-size: 10px; font-weight: 700; letter-spacing: .07em;
  text-transform: uppercase; color: var(--soft); border: 1px solid var(--hairline);
  padding: 2px 6px; white-space: nowrap;
}
.table-wrap { overflow-x: auto; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.card {
  max-width: 460px; margin: 12vh auto; padding: 34px; text-align: center;
  border: 1px solid var(--ink); border-top: 5px solid var(--ink);
}
footer {
  margin-top: 56px; padding-top: 16px; border-top: 2px solid var(--ink);
  font-family: var(--sans); font-size: 11px; letter-spacing: .05em; color: var(--soft);
  display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap;
}
