:root {
  color-scheme: light dark;   /* cases, listes et sélecteurs de date suivent le thème */
  --bg: #eef2f6;
  --card: #ffffff;
  --ink: #16263a;
  --muted: #5d6b7c;
  --line: #dde3ea;
  --brand: #1f3a5f;
  --accent: #e08a1e;
  --dry: #3fa66b;
  --dry-soft: #dcf2e4;
  --rain-1: #9cc7ef;
  --rain-2: #4a90d9;
  --rain-3: #1d4f91;
  --rain-soft: #e3eefb;
  --warn: #b4531a;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(22, 38, 58, .06), 0 4px 16px rgba(22, 38, 58, .06);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e1620;
    --card: #17222f;
    --ink: #e7edf4;
    --muted: #93a2b3;
    --line: #26354a;
    --brand: #9cc2ec;
    --dry-soft: #173525;
    --rain-soft: #172a42;
    --shadow: none;
  }
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  font: 16px/1.45 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--ink);
  padding-bottom: calc(72px + env(safe-area-inset-bottom));
}
h1 { font-size: 1.25rem; margin: 0; letter-spacing: -.01em; }
h2 { font-size: 1.02rem; margin: 0 0 .6rem; }
.sub { margin: 0; color: var(--muted); font-size: .85rem; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.hidden { display: none !important; }

.top {
  position: sticky; top: 0; z-index: 5;
  display: flex; justify-content: space-between; align-items: center;
  padding: calc(.8rem + env(safe-area-inset-top)) 1rem .8rem;
  background: var(--bg);
}
main { max-width: 720px; margin: 0 auto; padding: 0 .8rem; }
.view { display: none; }
.view.active { display: block; }

.card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1rem;
  margin-bottom: .8rem;
}
.card-head { display: flex; justify-content: space-between; align-items: baseline; gap: .5rem; }
.eyebrow { margin: 0 0 .2rem; font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }

/* ----- bandeau ----- */
.banner {
  background: #fff4e5; color: #7a3c00; border-radius: 12px;
  padding: .6rem .8rem; margin-bottom: .8rem; font-size: .9rem;
}
@media (prefers-color-scheme: dark) { .banner { background: #3a2610; color: #ffd6a8; } }

/* ----- maintenant ----- */
.now { transition: background .3s; }
.now.is-dry { background: linear-gradient(135deg, var(--dry-soft), var(--card) 70%); }
.now.is-wet { background: linear-gradient(135deg, var(--rain-soft), var(--card) 70%); }
.now.is-hot { background: linear-gradient(135deg, rgba(224, 110, 30, .22), var(--card) 70%); }
.now-main { display: flex; gap: .9rem; align-items: center; }
.now-icon { font-size: 2.6rem; line-height: 1; }
.now-text { font-size: 1.25rem; font-weight: 650; margin: 0; }
.now-meta { margin: .1rem 0 0; }

/* ----- prochaine sortie ----- */
.next-walk { font-size: 1.1rem; margin-bottom: .8rem; }
.next-walk strong { font-size: 1.6rem; display: block; letter-spacing: -.01em; }
.next-walk .q, .plan .q { display: inline-block; font-size: .8rem; padding: .1rem .5rem; border-radius: 999px; margin-left: .3rem; vertical-align: middle; }
.q.dry { background: var(--dry-soft); color: var(--dry); }
.q.wet { background: var(--rain-soft); color: var(--rain-3); }
@media (prefers-color-scheme: dark) { .q.wet { color: var(--rain-1); } }

.btn {
  border: 0; border-radius: 12px; padding: .7rem 1rem; font: inherit; font-weight: 600;
  cursor: pointer; background: var(--line); color: var(--ink);
}
.btn.primary { background: var(--accent); color: #fff; }
.btn.big { width: 100%; padding: .9rem; font-size: 1.05rem; }
.btn.ghost { background: transparent; border: 1px solid var(--line); }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .6; }
.small-btn { padding: .45rem .8rem; font-size: .9rem; }
.icon-btn {
  border: 0; background: var(--card); color: var(--ink); width: 42px; height: 42px;
  border-radius: 50%; font-size: 1.3rem; box-shadow: var(--shadow); cursor: pointer;
}
.icon-btn.spin { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.chips { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .7rem; }
.chip {
  display: inline-flex; align-items: center; gap: .3rem; font-size: .85rem;
  background: var(--dry-soft); color: var(--ink); border-radius: 999px; padding: .25rem .4rem .25rem .7rem;
}
.chip button { border: 0; background: transparent; color: var(--muted); cursor: pointer; font-size: 1rem; padding: 0 .2rem; }
.chip button.del { margin-left: .5rem; padding: 0 .35rem; border-left: 1px solid var(--line); }

/* ----- verdict ----- */
.verdict { font-size: .85rem; padding: .2rem .6rem; border-radius: 999px; background: var(--line); white-space: nowrap; }
.verdict.sec { background: var(--dry-soft); }
.verdict.mitige { background: #fff1d6; }
.verdict.pluvieux, .verdict.tres_pluvieux { background: var(--rain-soft); }
@media (prefers-color-scheme: dark) { .verdict.mitige { background: #3a2f17; } }

/* ----- frise ----- */
.timeline { position: relative; margin: .8rem 0 .4rem; user-select: none; }
.bars { position: relative; display: flex; align-items: flex-end; height: 86px; gap: 1px; border-bottom: 1px solid var(--line); }
.bar { flex: 1; position: relative; height: 100%; display: flex; align-items: flex-end; cursor: pointer; }
.bar .fill { width: 100%; border-radius: 2px 2px 0 0; background: var(--rain-1); min-height: 0; }
.bar.l2 .fill { background: var(--rain-2); }
.bar.l3 .fill { background: var(--rain-3); }
.bar.dry .fill { background: var(--dry); height: 3px !important; opacity: .55; border-radius: 2px; }
.bar.past { opacity: .35; }
.bar.unsure::after {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px;
  background: repeating-linear-gradient(45deg, var(--warn) 0 2px, transparent 2px 4px); opacity: .7;
}
.walk-mark {
  position: absolute; top: -2px; height: calc(100% + 4px); border-radius: 6px;
  background: rgba(224, 138, 30, .16); border: 2px solid var(--accent); pointer-events: none;
}
.walk-mark span { position: absolute; top: -1.35rem; left: 50%; transform: translateX(-50%); font-size: .9rem; }
.now-line { position: absolute; top: -6px; bottom: -6px; width: 2px; background: var(--ink); opacity: .8; pointer-events: none; }
.axis { position: relative; height: 1.2rem; font-size: .7rem; color: var(--muted); }
.axis span { position: absolute; transform: translateX(-50%); top: .2rem; }
.timeline .empty { padding: 1rem 0; color: var(--muted); font-size: .9rem; }

.plan { list-style: none; margin: .6rem 0 .4rem; padding: 0; }
.plan li { display: flex; gap: .6rem; align-items: baseline; padding: .4rem 0; border-top: 1px solid var(--line); }
.plan li:first-child { border-top: 0; }
.plan .t { font-weight: 650; min-width: 8.6rem; white-space: nowrap; }
.plan .done { opacity: .45; text-decoration: line-through; }

.legend { display: flex; flex-wrap: wrap; gap: .4rem .9rem; font-size: .8rem; color: var(--muted); }
.lg { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: .3rem; vertical-align: -1px; }
.lg.dry { background: var(--dry); opacity: .55; height: 4px; vertical-align: 2px; }
.lg.light { background: var(--rain-1); }
.lg.mod { background: var(--rain-2); }
.lg.heavy { background: var(--rain-3); }
.lg.walk { border: 2px solid var(--accent); background: rgba(224, 138, 30, .16); }
.lg.unsure { background: repeating-linear-gradient(45deg, var(--warn) 0 2px, transparent 2px 4px); }

/* ----- formulaires ----- */
.form h2 { margin-top: 1.2rem; }
.form h2:first-child { margin-top: 0; }
.form label { display: block; font-size: .85rem; color: var(--muted); margin-bottom: .6rem; }
.form input[type=text], .form input[type=number], .form input[type=time], .form input[type=url], .form input[type=password] {
  display: block; width: 100%; margin-top: .25rem; padding: .6rem .7rem; border-radius: 10px;
  border: 1px solid var(--line); background: var(--bg); color: var(--ink); font: inherit;
}
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
.form .row.align { align-items: center; }
.form .row.align input[type=time] { margin: 0 0 .6rem; }
.form label.check { display: flex; gap: .5rem; align-items: center; color: var(--ink); font-size: .95rem; }
.form label.check input { width: 1.15rem; height: 1.15rem; accent-color: var(--accent); }
.actions { display: flex; align-items: center; gap: .8rem; margin-top: 1rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: .8rem; }
.preview { white-space: pre-wrap; background: var(--bg); padding: .8rem; border-radius: 10px; font: .85rem/1.45 ui-monospace, monospace; }

/* ----- historique ----- */
.history { list-style: none; margin: 0; padding: 0; }
.history li { padding: .6rem 0; border-top: 1px solid var(--line); }
.history li:first-child { border-top: 0; }
.history .meta { font-size: .75rem; color: var(--muted); }
.history .title { font-weight: 600; }
.history .msg { font-size: .88rem; white-space: pre-line; color: var(--muted); }
.history .err { color: var(--warn); }

/* ----- divers ----- */
.tooltip {
  position: fixed; z-index: 20; background: var(--ink); color: var(--card); font-size: .8rem;
  padding: .4rem .6rem; border-radius: 8px; pointer-events: none; max-width: 240px;
}
.toast {
  position: fixed; left: 50%; bottom: calc(84px + env(safe-area-inset-bottom)); transform: translateX(-50%);
  background: var(--ink); color: var(--card); padding: .6rem 1rem; border-radius: 12px; z-index: 30;
  font-size: .9rem; max-width: 90vw;
}
.tabs {
  position: fixed; bottom: 0; left: 0; right: 0; display: flex; z-index: 10;
  background: var(--card); border-top: 1px solid var(--line);
  padding-bottom: env(safe-area-inset-bottom);
}
.tabs button {
  flex: 1; border: 0; background: none; padding: .55rem 0 .6rem; color: var(--muted);
  font: 600 .72rem system-ui, sans-serif; cursor: pointer;
}
.tabs button span { display: block; font-size: 1.25rem; margin-bottom: .1rem; filter: grayscale(1); opacity: .7; }
.tabs button.active { color: var(--ink); }
.tabs button.active span { filter: none; opacity: 1; }

/* ======================= V2 ======================= */
:root { --s-dry: #3fa66b; --s-wet: #4a90d9; --c-good: #3fa66b; --c-mid: #e3b341; --c-bad: #d9534f; --hot: rgba(224, 110, 30, .14); }
.grow { flex: 1; min-width: 0; }
h3 { font-size: .9rem; margin: 1rem 0 .5rem; color: var(--ink); }
.err { color: var(--warn); }
.where {
  border: 0; background: none; color: var(--muted); font: inherit; font-size: .85rem; padding: 0; cursor: pointer;
  text-align: left;
}
.where .trip { background: var(--accent); color: #fff; border-radius: 999px; padding: 0 .45rem; margin-left: .3rem; font-size: .72rem; }

/* confort */
.comfort-badge {
  flex: none; text-align: center; border-radius: 14px; padding: .4rem .55rem; min-width: 3.6rem;
  background: var(--bg); font-weight: 700; line-height: 1.1;
}
.comfort-badge b { display: block; font-size: 1.45rem; }
.comfort-badge small { font-weight: 500; font-size: .66rem; color: var(--muted); }
.comfort-badge.good b { color: var(--c-good); }
.comfort-badge.mid b { color: #b8860b; }
.comfort-badge.bad b { color: var(--c-bad); }
.comfort-strip { display: flex; gap: 1px; height: 6px; margin-top: 4px; }
.comfort-strip i { flex: 1; border-radius: 2px; background: var(--c-good); opacity: .75; }
.comfort-strip i.mid { background: var(--c-mid); }
.comfort-strip i.bad { background: var(--c-bad); }
.comfort-strip i.past { opacity: .25; }
.bar.hot { background: var(--hot); }
.bar.p1 .fill { opacity: .35; }
.bar.p2 .fill { opacity: .65; }
.lg.faint { background: var(--rain-2); opacity: .35; }
.lg.c-good { background: var(--c-good); margin-right: 1px; }
.lg.c-mid { background: var(--c-mid); margin-right: 1px; }
.lg.c-bad { background: var(--c-bad); }
.lg.hot { background: rgba(224, 110, 30, .3); }
.pill { display: inline-block; font-size: .75rem; padding: .05rem .45rem; border-radius: 999px; background: var(--bg); color: var(--muted); margin-left: .25rem; white-space: nowrap; }
.chip .who { color: var(--muted); font-size: .78rem; }

/* listes de réglages */
.list { list-style: none; margin: 0 0 .6rem; padding: 0; }
.list li { display: flex; align-items: center; gap: .5rem; padding: .5rem 0; border-top: 1px solid var(--line); font-size: .92rem; }
.list li:first-child { border-top: 0; }
.list li .grow small { display: block; color: var(--muted); font-size: .78rem; }
.list li button { flex: none; }
.results li { cursor: pointer; }
.results li:hover { background: var(--bg); }
.badge { font-size: .7rem; border-radius: 999px; padding: .05rem .45rem; background: var(--dry-soft); color: var(--ink); }
.badge.on { background: var(--accent); color: #fff; }
.linkish { border: 0; background: none; color: var(--accent); font: inherit; cursor: pointer; padding: 0; text-decoration: underline; }
.form select {
  display: block; width: 100%; margin-top: .25rem; padding: .6rem .5rem; border-radius: 10px;
  border: 1px solid var(--line); background: var(--bg); color: var(--ink); font: inherit;
}
.form input[type=date], .form input[type=search] {
  display: block; width: 100%; margin-top: .25rem; padding: .55rem .6rem; border-radius: 10px;
  border: 1px solid var(--line); background: var(--bg); color: var(--ink); font: inherit;
}
.row3 { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: .5rem; }
.copy-row { display: flex; gap: .4rem; margin-top: .25rem; }
.copy-row input { flex: 1; margin: 0 !important; font-size: .75rem !important; }
.steps { padding-left: 1.2rem; margin: .4rem 0 .8rem; }
.steps li { margin-bottom: .25rem; }
.form.readonly input, .form.readonly select { pointer-events: none; opacity: .65; }
.form.readonly .actions { display: none; }

/* statistiques */
.seg { display: inline-flex; background: var(--bg); border-radius: 10px; padding: 2px; }
.seg button { border: 0; background: none; padding: .3rem .65rem; border-radius: 8px; font: 600 .8rem system-ui, sans-serif; color: var(--muted); cursor: pointer; }
.seg button.active { background: var(--card); color: var(--ink); box-shadow: var(--shadow); }
.kpis { display: grid; grid-template-columns: repeat(2, 1fr); gap: .6rem; margin: .8rem 0 1rem; }
.kpi { background: var(--bg); border-radius: 12px; padding: .7rem .8rem; }
.kpi b { display: block; font-size: 1.5rem; letter-spacing: -.01em; }
.kpi span { font-size: .78rem; color: var(--muted); }
.chart-legend { margin-bottom: .5rem; }
.lg.s-dry { background: var(--s-dry); }
.lg.s-wet { background: var(--s-wet); }
.lg.s-unk { background: var(--line); }
.stats-chart { display: flex; align-items: flex-end; gap: 2px; height: 140px; border-bottom: 1px solid var(--line); position: relative; }
.stats-chart .col { flex: 1; height: 100%; display: flex; flex-direction: column-reverse; gap: 2px; cursor: pointer; min-width: 3px; }
.stats-chart .seg-dry { background: var(--s-dry); }
.stats-chart .seg-wet { background: var(--s-wet); }
.stats-chart .seg-unk { background: var(--line); }
.stats-chart .col > i:last-child { border-radius: 4px 4px 0 0; }
.stats-chart .col:hover > i { filter: brightness(1.12); }
.stats-axis { display: flex; justify-content: space-between; font-size: .7rem; color: var(--muted); margin: .3rem 0 .6rem; }
.walk-table { width: 100%; border-collapse: collapse; font-size: .85rem; }
.walk-table th { text-align: left; font-weight: 600; color: var(--muted); font-size: .75rem; padding: .3rem 0; }
.walk-table td { padding: .4rem 0; border-top: 1px solid var(--line); }

/* connexion */
.login-body { padding-bottom: 0; }
.login { max-width: 380px; margin: 0 auto; padding: calc(3rem + env(safe-area-inset-top)) 1rem 2rem; text-align: center; }
.login h1 { font-size: 1.6rem; margin-top: .6rem; }
.login form { text-align: left; margin-top: 1.4rem; }

/* ======================= V3 ======================= */
.day-tools { display: flex; justify-content: space-between; align-items: center; gap: .5rem; margin-top: .8rem; flex-wrap: wrap; }
label.inline { display: flex; align-items: center; gap: .4rem; font-size: .85rem; color: var(--muted); }
label.inline select { padding: .35rem .5rem; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); font: inherit; font-size: .9rem; }
.busy-panel { background: var(--bg); border-radius: 12px; padding: .7rem; margin-top: .6rem; }
.busy-panel input[type=time] { display: block; width: 100%; margin-top: .25rem; padding: .5rem; border-radius: 10px; border: 1px solid var(--line); background: var(--card); color: var(--ink); font: inherit; }
.busy-panel .row { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; margin: .4rem 0; font-size: .85rem; color: var(--muted); }
.chip.busy { background: var(--line); }
.busy-mark { position: absolute; top: 0; bottom: 0; pointer-events: none;
  background: repeating-linear-gradient(135deg, rgba(93, 107, 124, .22) 0 3px, transparent 3px 7px); border-radius: 4px; }
.habit-mark { position: absolute; bottom: -9px; width: 7px; height: 7px; margin-left: -3.5px; border-radius: 50%;
  border: 2px solid var(--muted); background: var(--card); pointer-events: none; }
.lg.busy { background: repeating-linear-gradient(135deg, rgba(93, 107, 124, .45) 0 2px, transparent 2px 4px); }
.lg.habit { border-radius: 50%; border: 2px solid var(--muted); width: 9px; height: 9px; }
.fb { border: 0; background: var(--card); border-radius: 999px; padding: 0 .35rem; cursor: pointer; font-size: .85rem; line-height: 1.5; }
.fb-done { font-size: .85rem; }
.calib-table { width: 100%; border-collapse: collapse; font-size: .85rem; margin-top: .5rem; }
.calib-table th { text-align: left; color: var(--muted); font-weight: 600; font-size: .75rem; padding: .25rem 0; }
.calib-table td { padding: .35rem 0; border-top: 1px solid var(--line); }
.meter { display: inline-block; width: 70px; height: 6px; border-radius: 3px; background: var(--line); vertical-align: middle; margin-right: .4rem; overflow: hidden; }
.meter i { display: block; height: 100%; background: var(--s-dry); }
.profile { border-top: 1px solid var(--line); padding-top: .7rem; margin-top: .7rem; }
.profile:first-child { border-top: 0; margin-top: 0; padding-top: 0; }
.profile .grid4 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: .5rem; }
.profile input { padding: .45rem .5rem !important; }
.week { display: grid; grid-template-columns: repeat(7, 1fr); gap: .3rem; }
.week label { text-align: center; font-size: .72rem; margin: 0; }
.week select { padding: .35rem .1rem !important; font-size: .72rem !important; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: .25rem .8rem; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; }
.ok { color: var(--s-dry); font-weight: 600; }
.card-head { flex-wrap: wrap; }
.verdict { white-space: normal; max-width: 100%; }
.week { grid-template-columns: repeat(2, 1fr); gap: .4rem .8rem; }
.week label { display: flex; align-items: center; gap: .5rem; text-align: left; font-size: .85rem; }
.week label select { margin: 0 !important; font-size: .85rem !important; padding: .35rem .4rem !important; }

/* ======================= Assistants IA ======================= */
.token-new { background: var(--dry-soft); border-radius: 12px; padding: .7rem; margin: .6rem 0; font-size: .85rem; }
.token-new code, .history code { word-break: break-all; }
.token-new .copy-row input { font-family: ui-monospace, monospace; }
.scope { font-size: .7rem; border-radius: 999px; padding: .05rem .45rem; background: var(--line); }
.scope.write { background: #fde7cf; color: #7a3c00; }
@media (prefers-color-scheme: dark) { .scope.write { background: #3a2610; color: #ffd6a8; } }
.ev { display: inline-flex; gap: .3rem; align-items: center; font-size: .8rem; background: var(--bg); border-radius: 999px; padding: .2rem .6rem; color: var(--ink); }
.ev input { margin: 0; }
.history .ko { color: var(--warn); }

/* ---------------------------------------------------------------- perspectives (V5) */
#outlook { margin-top: 14px; display: grid; gap: 14px; }
.ol-ctx { margin: 0; font-size: .85rem; color: var(--muted, #667); }
.ol-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin-bottom: 6px; }
.ol-title { font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted, #667); white-space: nowrap; }
.ol-verdict { font-weight: 600; text-align: right; font-size: .95rem; }
.ol-strip { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 3px; }
.ol-q { height: 30px; border-radius: 6px; display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: .8rem; }
.ol-strip.big .ol-q { height: 64px; border-radius: 10px; }
.ol-strip.big .ol-ic { font-size: 1.2rem; line-height: 1.1; }
.ol-word { font-size: .78rem; font-weight: 600; }
.ol-q.off { opacity: .4; }
.ol-ticks { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 3px; font-size: .7rem; color: var(--muted, #667); margin-top: 3px; }
.ol-ticks.big { text-align: center; font-size: .75rem; }
.lv3 { background: #2e9d5b; color: #fff; }
.lv2 { background: #a7dcb2; color: #154b27; }
.lv1 { background: #f5c451; color: #5a4100; }
.lv0 { background: #e2605a; color: #fff; }
.ol-next { border-radius: 14px; padding: 12px 14px; }
.ol-next .eyebrow { margin: 0; opacity: .85; color: inherit; }
.ol-next-when { font-size: 1.6rem; font-weight: 800; margin: 2px 0; }
.ol-next .small { margin: 0; }
.ol-legend { display: flex; gap: 14px; font-size: .75rem; color: var(--muted, #667); }
.ol-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 4px; vertical-align: -1px; }

/* ======================= Accueil public (4.2.0) ======================= */
.pub-only { display: none; }
body.public .pub-only { display: block; }
body.public a.pub-only { display: inline-block; }
body.public .priv, body.public .plan { display: none !important; }
body.public { padding-bottom: calc(1.5rem + env(safe-area-inset-bottom)); }
#login-link { text-decoration: none; color: var(--ink); white-space: nowrap; }
.pub-intro { margin: 0; }
.pub-intro a { color: var(--accent); }
#place-panel { margin-top: .8rem; }
#place-panel .btn-row { margin: .4rem 0 0; }
.where .chg { color: var(--accent); margin-left: .3rem; }

/* ======================= Contrôle automatique (4.3.0) ======================= */
.verif-leads { margin: .2rem 0 .4rem; }
.calib-table tr.app td { font-weight: 600; }
.meter.bad i { background: var(--c-bad); }
.verif-note { margin: .6rem 0 0; }

/* ======================= Pluie à 5 min près (4.4.0) ======================= */
.nc-strip { display: grid; grid-template-columns: repeat(12, 1fr); gap: 2px; }
.nc-q { display: block; height: 14px; border-radius: 3px; background: var(--rain-1); }
.nc-q.dry { background: var(--dry); opacity: .35; }
.nc-q.l2 { background: var(--rain-2); }
.nc-q.l3 { background: var(--rain-3); }
.nc-ticks { display: grid; grid-template-columns: repeat(12, 1fr); gap: 2px; font-size: .7rem; color: var(--muted, #667); margin-top: 3px; white-space: nowrap; }
.nc-src { margin: .3rem 0 0; font-size: .72rem; color: var(--muted, #667); }
