/* Charte de Vlad (design/README.md) : noir, blanc, rouge sang, habillage vampire.
   Le vert reste celui des gains, l'ambre celui du compte démo et des alertes douces. */
@font-face { font-family: "Cinzel"; src: url("/static/fonts/cinzel-latin.woff2") format("woff2"); font-weight: 400 900; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/static/fonts/inter-latin.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
:root {
  --bg: #0c0a0f; --card: #16121b; --raised: #211a28; --ink: #f3eff6; --muted: #b0a8b9; --faint: #8d8496; --line: #2c2433;
  --brand: #000000; --blood: #b3121f; --accent: #ef4a55; --up: #4fc97f; --down: #ef4a55; --wait: #f2c46b;
  --parchment: #1c1712; --parchment-ink: #efe6d6; --parchment-line: #3a2f22;
  --title: "Cinzel", Georgia, serif;
  --text: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; font: 15px/1.5 var(--text); background: var(--bg); color: var(--ink); }
a { color: var(--accent); }
a:hover { color: #ff7a82; }

/* Bandeau */
.top { background: var(--brand); border-bottom: 1px solid var(--line); color: #fff; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 26px; padding: 10px 20px; }
.brand { color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: 12px; }
.brand img { height: 34px; width: auto; display: block; }
.brand .name { display: flex; flex-direction: column; line-height: 1.1; }
.brand .name strong { font-family: var(--title); font-size: 22px; letter-spacing: .18em; }
.brand .name span { font-size: 11px; color: var(--muted); letter-spacing: .04em; }
.top nav { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.top nav a { display: inline-flex; align-items: center; gap: 7px; color: #d6d0dc; text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; }
.top nav a.on { color: #fff; font-weight: 600; border-bottom-color: var(--blood); }
.top nav a.logout { color: var(--faint); }
.ico { width: 26px; height: 26px; flex: none; display: inline-block; vertical-align: middle; }
.ico.sm { width: 20px; height: 20px; }
.ico.lg { width: 34px; height: 34px; }
/* Tall or wide originals look smaller in a square: give them a little more room in the tabs */
.top nav .ico.big { width: 33px; height: 33px; margin: -4px -2px; }

/* Bandeau d'état */
.status { padding: 9px 20px; font-size: 14px; border-bottom: 1px solid var(--line); background: #120f17; color: #c4bccd; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.status strong { color: var(--wait); }
.status.ok strong { color: #7fe0a5; }
.status.arret { background: #2e1116; color: #ffb3b6; }
.status.arret strong { color: #ff8a8f; }
.status.pause strong { color: var(--ink); }
.status .mode { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--wait); color: var(--wait); border-radius: 999px; padding: 1px 12px 1px 6px; font-weight: 600; font-size: 13px; }

/* Mise en page */
main { max-width: 1180px; margin: 0 auto; padding: 22px 20px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 18px 20px; margin-bottom: 16px; overflow-x: auto; }
.card.narrow { max-width: 460px; margin: 40px auto; }
.card.parchment { background: var(--parchment); border-color: var(--parchment-line); color: var(--parchment-ink); }
h1, h2 { font-family: var(--title); font-weight: 700; letter-spacing: .03em; }
h1 { font-size: 24px; margin: 0 0 12px; }
h2 { font-size: 19px; margin: 0 0 10px; }
.head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.head h1, .head h2 { margin: 0; }
.head .small { margin-left: 2px; }
.tile { flex: none; width: 52px; height: 52px; border-radius: 15px; background: var(--raised); display: inline-flex; align-items: center; justify-content: center; }
.tile .ico { width: 40px; height: 40px; }
dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; margin: 0; }
dt { color: var(--muted); }
dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; }
.small { color: var(--muted); font-size: 13px; }
.empty { color: var(--muted); font-style: italic; }
.error { background: #2e1116; color: #ff8a8f; padding: 8px 12px; border-radius: 10px; }
.notice { background: var(--raised); border-left: 3px solid var(--wait); padding: 10px 14px; border-radius: 10px; }
hr { border: 0; border-top: 1px solid var(--line); margin: 14px 0; }
[hidden] { display: none !important; }

/* Tableaux */
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { text-align: left; padding: 8px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--muted); font-weight: 600; }
td { font-variant-numeric: tabular-nums; }
.report table { margin: 10px 0 20px; }
/* Reading guide of a report, right under its title */
.guide { margin: 12px 0 20px; padding: 12px 16px; background: var(--raised); border-left: 3px solid var(--blood); border-radius: 12px; }
.guide h2 { display: flex; align-items: center; gap: 8px; margin: 4px 0 8px; font-size: 16px; }
.guide ul { margin: 0 0 8px; padding-left: 18px; }
.guide li { margin: 5px 0; }
.guide p { margin: 6px 0; }
progress { accent-color: var(--blood); vertical-align: middle; }

/* Formulaires */
form label { display: block; margin: 12px 0; font-weight: 600; }
input, textarea { display: block; width: 100%; margin-top: 4px; padding: 10px 12px; font: inherit; font-size: 16px; color: var(--ink); background: #0f0c13; border: 1px solid var(--line); border-radius: 10px; }
input:focus, textarea:focus { outline: 2px solid var(--blood); outline-offset: 1px; }
button, .button { display: inline-block; margin-top: 8px; padding: 10px 20px; min-height: 44px; font: inherit; font-size: 16px; font-weight: 600; color: #fff; background: var(--blood); border: 0; border-radius: 999px; text-decoration: none; cursor: pointer; }
button:hover, .button:hover { background: #c81a28; color: #fff; }
button.secondary { background: #3a3142; }
button.secondary:hover { background: #4a3f52; }
.buttons { display: flex; flex-wrap: wrap; gap: 10px; }
.buttons form { margin: 0; }
.limit { margin: 14px 0 6px; }
.limit input[type="range"] { padding: 0; border: 0; background: none; accent-color: var(--blood); }
.limit .change { margin-top: 6px; }
.steps li { margin-bottom: 12px; }
.qr svg { width: 220px; height: 220px; display: block; margin: 10px 0; padding: 8px; background: #fff; border-radius: 10px; }
code { background: var(--raised); color: var(--ink); padding: 2px 6px; border-radius: 6px; word-break: break-all; }
.code-big code { font-size: 22px; padding: 6px 10px; }

/* Tendances, graphiques, agent */
.trend { font-weight: 600; }
.trend.hausse { color: var(--up); }
.trend.baisse { color: var(--down); }
.trend.neutre, .trend.insuffisant, .trend.pas-de-données { color: var(--muted); }
/* Arrows instead of words: up-right for a rise, down-right for a fall, flat for neutral */
.trend .arrow { width: 26px; height: 26px; display: inline-block; vertical-align: middle; fill: none; stroke: currentColor; stroke-width: 2.8; stroke-linecap: round; stroke-linejoin: round; }
.trend.hausse .arrow { transform: rotate(-45deg); }
.trend.baisse .arrow { transform: rotate(45deg); }
.trend.legend .arrow { width: 18px; height: 18px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* Report titles and chart links in white, red only on hover */
.plain a { color: var(--ink); text-decoration: none; }
.plain a:hover { color: var(--accent); text-decoration: underline; }
.chart { width: 100%; height: 460px; }
.key { display: inline-block; padding-left: 16px; margin-right: 8px; background: linear-gradient(currentColor, currentColor) left center / 12px 3px no-repeat; }
.key.tenkan { color: #58a6ff; } .key.kijun { color: #ff7b72; } .key.cloud-a { color: #4fc97f; } .key.cloud-b { color: #f2c46b; }
.ai h2 + p.small { margin-top: -6px; }
.question { background: var(--raised); padding: 8px 12px; border-radius: 10px; }
.lesson h3 { font-size: 18px; margin: 4px 0 10px; }

/* Accueil, dans l'esprit de la maquette */
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr)); gap: 16px; }
.kpis .card, .duo .card { margin: 0; }
.kpi { display: flex; align-items: center; gap: 14px; }
.kpi .label { color: var(--muted); font-size: 13px; }
.kpi .value { font-size: 30px; font-weight: 700; line-height: 1.15; font-variant-numeric: tabular-nums; }
.kpi .value.up { color: var(--up); } .kpi .value.down { color: var(--down); }
.tile.blood { background: #2e1116; }
.kpi-note { margin: 8px 2px 16px; }
.duo { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 16px; margin-bottom: 16px; }
.vlado { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; }
.vlado .head { margin: 0; }
.vlado .drops { display: flex; flex-wrap: wrap; gap: 6px; }
.vlado .drop { margin: 0; width: 60px; display: flex; flex-direction: column; align-items: center; gap: 2px; text-align: center; }
.vlado .drop img { width: 36px; height: 36px; }
.vlado .drop figcaption { font-size: 11px; line-height: 1.25; color: var(--muted); display: flex; flex-direction: column; align-items: center; }
.vlado .drop .trend.legend .arrow { width: 15px; height: 15px; }
h2.family { display: flex; align-items: center; gap: 8px; margin: 18px 0 6px; font-size: 17px; }
.stale { color: var(--wait); font-size: 12px; font-weight: 600; }
details.fold summary { cursor: pointer; list-style: none; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
details.fold summary::-webkit-details-marker { display: none; }
details.fold summary h2 { margin: 0; }
details.fold summary h2::before { content: "▸ "; color: var(--faint); }
details.fold[open] summary h2::before { content: "▾ "; }
details.fold[open] summary { margin-bottom: 10px; }
.vlado .drops img.empty { filter: grayscale(1) brightness(.75); opacity: .6; }
.vlado .count { font-size: 26px; font-weight: 700; font-variant-numeric: tabular-nums; }
.pill { border-radius: 999px; padding: 2px 12px; font-weight: 700; font-size: 14px; background: var(--raised); color: var(--muted); }
.pill.blood { background: #2e1116; color: #ff8a8f; }
.vlado .scale { margin-left: auto; color: var(--faint); font-size: 13px; }
.vlado .explain { flex-basis: 100%; color: var(--muted); font-size: 13px; }
.vlado .explain p { margin: 0 0 6px; }
.vlado .explain strong { color: var(--ink); }
.drop-key { white-space: nowrap; }
.drop-key img { width: 18px; height: 18px; vertical-align: -4px; }
.drop-key img.empty { filter: grayscale(1) brightness(.75); opacity: .6; }
.hunt-empty { display: flex; align-items: center; gap: 10px; }
.vials { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; text-align: center; }
.vials img { width: 60px; height: 60px; display: block; margin: 0 auto 6px; }
.vials strong { display: block; font-size: 14px; }
.route { list-style: none; margin: 0 0 10px; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; }
.route li { border: 1px solid var(--line); border-radius: 14px; padding: 10px 12px; font-weight: 600; }
.route li > span:first-child { display: block; font-size: 12px; font-weight: 700; color: var(--faint); letter-spacing: .04em; }
.route li.fait { border-color: #1f5a35; background: #0f2418; }
.route li.fait > span:first-child { color: #7fe0a5; }
.route li.en-cours { border-color: var(--wait); background: #261f10; }
.route li.en-cours > span:first-child { color: var(--wait); }

footer { text-align: center; color: var(--faint); font-size: 12px; padding: 20px 16px 32px; }

/* Téléphone : les onglets passent en barre fixe en bas de l'écran */
@media (max-width: 700px) {
  .top { padding: 10px 16px; }
  .brand .name span { display: none; }
  .top nav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 10; background: var(--brand); border-top: 1px solid var(--line);
    flex-wrap: nowrap; gap: 0; overflow-x: auto; padding: 4px 4px calc(6px + env(safe-area-inset-bottom)); }
  .top nav a { flex: 1 0 68px; flex-direction: column; gap: 2px; font-size: 11px; padding: 6px 2px; min-height: 52px; justify-content: center; border-bottom: 0; }
  .top nav a.on { border-bottom: 0; color: #fff; }
  .top nav a.on .ico { filter: drop-shadow(0 0 6px rgba(179, 18, 31, .9)); }
  .top nav .ico.big { margin: -4px 0 -1px; }
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .kpi { flex-direction: column; align-items: flex-start; gap: 8px; }
  .kpi .value { font-size: 24px; }
  .status { padding: 8px 16px; font-size: 13px; }
  main { padding: 16px 14px; }
  body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  .card { padding: 14px 16px; }
}
/* Same columns in every trends table (families and forex) */
table.trends { table-layout: fixed; min-width: 720px; }
table.trends th { white-space: nowrap; }
table.trends th:nth-child(1) { width: 21%; } table.trends th:nth-child(2) { width: 11%; }
table.trends th:nth-child(3) { width: 14%; } table.trends th:nth-child(4) { width: 19%; } table.trends th:nth-child(5) { width: 15%; }
/* (i) bubbles: a short explanation of a technical word, top right of it */
.info { position: relative; display: inline-flex; vertical-align: super; margin-left: 3px; cursor: pointer; line-height: 1; }
.info-i { width: 15px; height: 15px; border: 1.5px solid var(--faint); border-radius: 50%; color: var(--muted);
  font: italic 700 10px/12px Georgia, serif; text-align: center; letter-spacing: 0; text-transform: none; }
.info:hover .info-i, .info:focus-visible .info-i, .info.open .info-i { border-color: var(--accent); color: var(--accent); }
.info:focus { outline: none; }
.info-text { display: none; position: fixed; z-index: 50; top: 0; left: 0;
  width: max-content; max-width: min(280px, 80vw); padding: 10px 12px; background: #241d2a; color: var(--ink);
  border: 1px solid #4a3f52; border-radius: 12px; box-shadow: 0 8px 24px rgba(0, 0, 0, .5);
  font: 400 13px/1.45 var(--text); letter-spacing: normal; text-transform: none; text-align: left; white-space: normal; }
/* Open on a click or a tap only, never on hover: one bubble at a time (Philippe, 2026-11-16) */
.info.open .info-text { display: block; }
h1 .info, h2 .info { vertical-align: super; }

/* Accueil refait autour de la démo fantôme (spec refonte-application §4.1) */
.vlado .drop .ring { display: inline-flex; padding: 3px; border: 2px dashed var(--wait); border-radius: 50%; }
.vlado .drop .ring img { filter: grayscale(1) brightness(.9); opacity: .8; }
.drop-key .ring { display: inline-flex; padding: 1px; border: 2px dashed var(--wait); border-radius: 50%; vertical-align: -6px; }
.drop-key .ring img { vertical-align: 0; filter: grayscale(1) brightness(.9); opacity: .8; }
.gate { flex-basis: 100%; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 12px; background: var(--raised); border-left: 3px solid var(--wait); }
.gate strong { color: var(--wait); }
.gate.open { border-left-color: var(--up); }
.gate.open strong { color: var(--up); }
.gate .ico { width: 30px; height: 30px; }
.hunts h3 { font-family: var(--title); font-size: 15px; margin: 14px 0 4px; letter-spacing: .03em; }
.r.up { color: var(--up); font-weight: 600; } .r.down { color: var(--down); font-weight: 600; }
.lines { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 12px; }
.lines span { display: inline-flex; align-items: center; gap: 8px; }
.lines .ico { width: 24px; height: 24px; }
.cloud { color: var(--muted); }
.events { list-style: none; margin: 0; padding: 0; }
.events li { display: grid; grid-template-columns: 82px 1fr; gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--parchment-line); }
.events li:last-child { border-bottom: 0; }
.events .when { color: #b9a98c; font-variant-numeric: tabular-nums; font-size: 13px; }
.events .who { font-weight: 700; }
.parchment a { color: #f0a27a; }
table.crypt { min-width: 760px; }
table.crypt td:nth-child(2), table.crypt td:nth-child(6), table.crypt th:nth-child(2), table.crypt th:nth-child(6) { text-align: right; }
.tag { display: inline-block; border-radius: 999px; padding: 1px 9px; font-size: 12px; font-weight: 700; background: var(--raised); color: var(--muted); white-space: nowrap; }
.tag.hunt { background: #2e1116; color: #ff8a8f; }
.tag.order { background: #2a2210; color: var(--wait); }
.tag.low { background: #2e1116; color: #ff8a8f; }
.tag.contact { background: #0f2418; color: #7fe0a5; }
@media (max-width: 700px) { .events li { grid-template-columns: 1fr; gap: 2px; } }

/* Positions et grimoire (spec refonte-application §4.2, §4.4) */
dl.summary { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr)); gap: 10px; margin: 4px 0 6px; }
dl.summary > div { background: var(--raised); border-radius: 12px; padding: 10px 12px; }
dl.summary dt { font-size: 12px; }
dl.summary dd { text-align: left; font-size: 20px; }
dl.summary dd.small { font-size: 12px; font-weight: 400; }
dl.summary dd.up { color: var(--up); } dl.summary dd.down { color: var(--down); }
.filters { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px 16px; margin: 6px 0 14px; }
.filters label { margin: 0; font-size: 13px; color: inherit; }
select { display: block; margin-top: 4px; min-height: 44px; padding: 8px 12px; font: inherit; font-size: 15px; color: var(--ink);
  background: #0f0c13; border: 1px solid var(--line); border-radius: 10px; }
select:focus { outline: 2px solid var(--blood); outline-offset: 1px; }
.filters button { margin-top: 0; }
.tag.up { background: #0f2418; color: #7fe0a5; }
.events.grimoire li { grid-template-columns: 110px 1fr; }
.events.grimoire .tag { margin-left: 6px; vertical-align: 1px; }
.plain-list { margin: 0; padding-left: 18px; }
.plain-list li { margin: 6px 0; }
@media (max-width: 700px) { .events.grimoire li { grid-template-columns: 1fr; } }
.key.ma-long { color: #8d8496; } .key.level { color: #c9a24a; } .key.entry { color: #58a6ff; } .key.order { color: #f2c46b; } .key.stop { color: #ef4a55; }
/* La crypte sur Tendances */
table.crypt-full { min-width: 980px; }
table.crypt-full td, table.crypt-full th { white-space: nowrap; }
table.levels-r { min-width: 720px; }
table.levels-r td.near { color: var(--wait); font-weight: 700; }
.pos { color: var(--up); } .neg { color: var(--down); } .entry-key { color: #58a6ff; font-weight: 600; }
/* Mode d'emploi : lien dans le bandeau d'état, page de lecture */
.status .guide-link { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 13px; }
.status .guide-link:hover { color: var(--accent); }
.status .guide-link + .mode { margin-left: 8px; }
.guide-page { max-width: 900px; margin-left: auto; margin-right: auto; }
.guide-page h2 { margin-top: 26px; }
.guide-page p, .guide-page li { max-width: 72ch; }
.guide-page blockquote { margin: 0 0 14px; padding: 8px 14px; border-left: 3px solid var(--blood); background: var(--raised); border-radius: 10px; color: var(--muted); }

/* Mode d'emploi dans un panneau à côté de la page ; boutons « ? » (2026-11-17) */
.help { display: inline-flex; align-items: center; justify-content: center; width: 21px; height: 21px; margin-left: 8px; vertical-align: middle;
  border-radius: 50%; border: 1px solid #5a4a1e; background: #2a2210; color: var(--wait); text-decoration: none;
  font: 700 12px/1 var(--text); letter-spacing: 0; text-transform: none; }
.help:hover, .help:focus-visible { background: var(--wait); color: #1a1408; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 40; width: min(440px, 100vw); display: flex; flex-direction: column;
  background: var(--card); border-left: 1px solid var(--line); box-shadow: -12px 0 30px rgba(0, 0, 0, .45); }
.drawer-head { display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: var(--brand); border-bottom: 1px solid var(--line); }
.drawer-head strong { font-family: var(--title); font-size: 17px; letter-spacing: .03em; }
.drawer-head a { margin-left: auto; color: var(--muted); }
button.drawer-close { margin: 0; min-height: 36px; padding: 2px 13px; font-size: 22px; line-height: 1; background: #3a3142; }
.drawer-body { position: relative; flex: 1; overflow-y: auto; padding: 4px 18px 48px; font-size: 14px; line-height: 1.55; }
.drawer-body h1 { font-size: 20px; margin-top: 12px; }
.drawer-body h2 { font-size: 17px; margin: 22px 0 8px; }
.drawer-body h3 { font-family: var(--title); font-size: 16px; margin: 20px 0 6px; color: var(--wait); }
.drawer-body h4 { font-size: 14px; margin: 14px 0 4px; }
.drawer-body table { font-size: 12.5px; }
.drawer-body th, .drawer-body td { padding: 6px 6px; }
.drawer-body blockquote, .guide-page blockquote { margin: 0 0 14px; padding: 8px 12px; border-left: 3px solid var(--blood); background: var(--raised); border-radius: 10px; color: var(--muted); }
.drawer-body .flash, .guide-page .flash { animation: guide-flash 1.8s ease-out; border-radius: 6px; }
@keyframes guide-flash { from { background: rgba(242, 196, 107, .35); } to { background: transparent; } }
@media (prefers-reduced-motion: reduce) { .drawer-body .flash { animation: none; outline: 2px solid var(--wait); } }
.guide-page h3 { color: var(--wait); }
p.read { max-width: 95ch; }
/* Wide screens: the page shrinks and the guide sits beside it. Narrower: the guide rises from the bottom. */
@media (min-width: 1100px) { body.with-guide { padding-right: 440px; } }
@media (max-width: 1099px) {
  .drawer { top: auto; height: 55vh; width: 100%; border-left: 0; border-top: 1px solid var(--line); border-radius: 16px 16px 0 0; }
  body.with-guide { padding-bottom: 56vh; }
}
@media (max-width: 700px) {
  .drawer { bottom: calc(64px + env(safe-area-inset-bottom)); height: 48vh; }
  body.with-guide { padding-bottom: calc(48vh + 80px + env(safe-area-inset-bottom)); }
}

.week-detail { margin: 8px 0 16px; padding: 10px 14px; background: var(--raised); border-radius: 12px; }
.week-detail ul { margin: 4px 0 8px; padding-left: 18px; }
.week-detail li { margin: 3px 0; }
.week-detail .week-head { margin: 8px 0 2px; color: var(--ink); font-weight: 600; }

.key.ma-trend { color: #c084fc; }
.observation { border-style: dashed; }

/* Ce que tu as à faire (D-049) */
.todo-list { list-style: none; margin: 0; padding: 0; }
.todo-list li { display: grid; grid-template-columns: 110px 1fr; gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--line); }
.todo-list li:last-child { border-bottom: 0; }
.todo-list .when { font-variant-numeric: tabular-nums; color: var(--muted); font-size: 13px; }
.todo-list li.decision .when { color: var(--wait); font-weight: 700; }
.todo-list li.soon .when { color: var(--ink); font-weight: 700; }
.todo-list li.late .when { color: var(--down); font-weight: 700; }
@media (max-width: 700px) { .todo-list li { grid-template-columns: 1fr; gap: 2px; } }
