/* scout : la palette tient dans ce seul bloc, clair à gauche, sombre à droite. La remplacer suffit à rhabiller l'appli. */
:root {
  color-scheme: light dark;
  --bg: light-dark(#F5F6F7, #121416);
  --surface: light-dark(#FFFFFF, #1B1F22);
  --line: light-dark(#D9DDE0, #30363A);
  --head: light-dark(#E6EEF0, #22292D);
  --ink: light-dark(#1B2226, #EEF1F2);
  --text: light-dark(#3A4348, #C9CFD2);
  --muted: light-dark(#5B656B, #979FA4);
  --accent: light-dark(#0A6E7C, #5CD3DF);
  --accent2: light-dark(#3D5AA8, #B9A8F5);
  --alert: light-dark(#A8263A, #FF8A80);
  --alert-bg: light-dark(#FAE8EA, #3A1F22);
  --ok-bg: light-dark(#DDEFF1, #163A3F);
  --ok: light-dark(#0A5964, #8FE3EB);
  --unk-bg: light-dark(#E7EAF6, #2A2741);
  --unk: light-dark(#34498A, #CFC3FA);
  --no-bg: light-dark(#EEF0F1, #24292C);
  --no: light-dark(#5B656B, #979FA4);
  --warn-bg: light-dark(#FFF1D6, #3A2E14);
  --warn: light-dark(#7A4B00, #F5CF85);
  --nav-h: 64px;
}
[data-theme="light"] { color-scheme: light; }
[data-theme="dark"] { color-scheme: dark; }

@font-face { font-family: "IBM Plex Sans"; font-weight: 400; font-display: swap; src: url(polices/IBMPlexSans-Regular-Latin1.woff2) format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 600; font-display: swap; src: url(polices/IBMPlexSans-SemiBold-Latin1.woff2) format("woff2"); }

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; min-height: 100%; }
body { background: var(--bg); color: var(--text); font: 400 16px/1.5 "IBM Plex Sans", system-ui, sans-serif; -webkit-text-size-adjust: 100%; }
h1, h2 { color: var(--ink); font-weight: 600; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
h1[tabindex="-1"]:focus { outline: none; }

.barre { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: calc(4px + env(safe-area-inset-top)) calc(4px + env(safe-area-inset-right)) 4px calc(16px + env(safe-area-inset-left)); background: var(--surface); border-bottom: 1px solid var(--line); }
.barre .titres { flex: 1; min-width: 0; }
.barre h1 { margin: 0; font-size: 20px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.barre .sous { font-size: 13px; color: var(--muted); min-height: 0; }
.barre .sous:empty { display: none; }
#main { max-width: 480px; margin: 0 auto; padding: 16px calc(16px + env(safe-area-inset-right)) calc(var(--nav-h) + 32px + env(safe-area-inset-bottom)) calc(16px + env(safe-area-inset-left)); }

.icone { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; flex: none; padding: 0; background: none; border: 0; border-radius: 12px; color: var(--ink); font: inherit; font-size: 28px; cursor: pointer; }
svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.porte { max-width: 420px; margin: 0 auto; padding: calc(24px + env(safe-area-inset-top)) calc(16px + env(safe-area-inset-right)) calc(32px + env(safe-area-inset-bottom)) calc(16px + env(safe-area-inset-left)); display: flex; flex-direction: column; gap: 12px; }
.porte h1 { margin: 8px 0 0; font-size: 22px; }
.porte h2 { margin: 12px 0 0; font-size: 18px; }
.porte p { margin: 0; }
.porte form { display: flex; flex-direction: column; gap: 12px; }
.porte label { display: flex; flex-direction: column; gap: 4px; font-weight: 600; color: var(--ink); }
.porte input:not([type="radio"]) { font: 400 16px/1.5 "IBM Plex Sans", system-ui, sans-serif; color: var(--ink); background: var(--surface); border: 1px solid var(--muted); border-radius: 12px; min-height: 48px; padding: 0 12px; width: 100%; }
.porte input[readonly] { background: var(--head); }
.mdp { position: relative; display: block; }
.mdp input { padding-right: 52px !important; }
.oeil { position: absolute; right: 0; top: 0; width: 48px; height: 48px; padding: 12px; background: none; border: 0; color: var(--muted); cursor: pointer; }
.oeil[aria-pressed="true"] { color: var(--accent); }
.btn { font: 600 16px/1.2 "IBM Plex Sans", system-ui, sans-serif; color: var(--ink); background: var(--surface); border: 1px solid var(--muted); border-radius: 12px; min-height: 48px; padding: 0 16px; width: 100%; cursor: pointer; }
.btn.princ { background: var(--accent); border-color: var(--accent); color: var(--bg); }
.btn:disabled { opacity: .6; }
.lien { background: none; border: 0; color: var(--accent); font: inherit; text-decoration: underline; min-height: 48px; min-width: 48px; padding: 0; cursor: pointer; align-self: flex-start; }
.msg { padding: 10px 12px; border-radius: 12px; background: var(--alert-bg); color: var(--alert); }
.msg.bon { background: var(--head); color: var(--ink); }
.liste { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.liste:empty { display: none; }
.liste li { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.liste li span:last-child { text-align: right; overflow-wrap: anywhere; }
.tete { display: flex; align-items: center; gap: 4px; margin: -16px -8px 0; }
.tete h1 { margin: 0; flex: 1; }
.lienc { overflow-wrap: anywhere; background: var(--head); color: var(--ink); padding: 8px; border-radius: 8px; font-size: 15px; }
.segments { display: flex; border: 1px solid var(--muted); border-radius: 12px; overflow: hidden; }
.segments label { flex: 1; position: relative; font-weight: 400; }
.segments input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.segments span { display: flex; align-items: center; justify-content: center; min-height: 48px; color: var(--ink); }
.segments input:checked + span { background: var(--accent); color: var(--bg); font-weight: 600; }
.segments input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: -4px; }

.vide { margin: 48px 0; text-align: center; color: var(--muted); }
.bloc-erreur { display: flex; flex-direction: column; gap: 12px; }
.bloc-erreur p { margin: 0; }
.charge { display: flex; flex-direction: column; gap: 12px; }
.charge i { display: block; height: 56px; border-radius: 12px; background: var(--head); animation: pulse 1.2s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .5; } }
#snack { position: fixed; z-index: 60; left: 16px; right: 16px; bottom: calc(var(--nav-h) + 16px + env(safe-area-inset-bottom)); max-width: 420px; margin: 0 auto; padding: 12px 16px; border-radius: 12px; background: var(--ink); color: var(--bg); opacity: 0; pointer-events: none; transition: opacity .2s; }
#snack.vu { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .charge i { animation: none; } #snack { transition: none; } }

/* ---------- Scout : onglets, Radar ---------- */
.toast { position: fixed; z-index: 60; left: 16px; right: 16px; bottom: calc(var(--nav-h) + 16px + env(safe-area-inset-bottom)); max-width: 420px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 4px 4px 4px 16px; border-radius: 12px; background: var(--ink); color: var(--bg); }
.toast button { min-height: 48px; min-width: 48px; padding: 0 12px; border: 0; background: none; color: var(--ok-bg); font: 600 16px/1 "IBM Plex Sans", system-ui, sans-serif; cursor: pointer; }
nav.bas { position: fixed; bottom: 0; left: 0; right: 0; z-index: 30; background: var(--surface); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); }
nav.bas .in { max-width: 480px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); height: var(--nav-h); }
nav.bas button { position: relative; border: 0; background: none; display: grid; justify-items: center; align-content: center; gap: 2px; cursor: pointer; color: var(--muted); font: 400 12px/1.2 "IBM Plex Sans", system-ui, sans-serif; }
nav.bas .pil { width: 56px; height: 30px; border-radius: 15px; display: grid; place-items: center; }
nav.bas button[aria-current="page"] { color: var(--ink); font-weight: 600; }
nav.bas button[aria-current="page"] .pil { background: var(--ok-bg); color: var(--ok); }
nav.bas .badge { position: absolute; top: 4px; left: calc(50% + 8px); min-width: 18px; height: 18px; border-radius: 9px; padding: 0 4px; display: grid; place-items: center; background: var(--accent); color: var(--surface); font-size: 11px; font-weight: 600; }
nav.bas .badge.alerte { background: var(--alert); }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
#main h2 { font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin: 22px 0 8px; display: flex; justify-content: space-between; align-items: baseline; }
#main > h2:first-child { margin-top: 4px; }
#main h2 .n { letter-spacing: 0; font-variant-numeric: tabular-nums; }
.bandeau { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; min-width: 0; }
.stat b { display: block; font-size: 22px; font-weight: 600; color: var(--ink); line-height: 1.2; font-variant-numeric: tabular-nums; }
.stat span { font-size: 12px; color: var(--muted); line-height: 1.3; display: block; }
.recherche { display: block; margin-top: 12px; }
.recherche input { width: 100%; min-height: 48px; padding: 0 14px; border: 1px solid var(--muted); border-radius: 24px; background: var(--surface); color: var(--ink); font: 400 16px/1.5 "IBM Plex Sans", system-ui, sans-serif; }
.puces { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 12px; }
.puce { min-height: 48px; padding: 0 14px; border: 1px solid var(--line); border-radius: 24px; background: var(--surface); color: var(--text); font: 400 14px/1.2 "IBM Plex Sans", system-ui, sans-serif; cursor: pointer; }
.puce[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.puce .n { margin-left: 6px; font-variant-numeric: tabular-nums; }
.puce:disabled { opacity: .5; cursor: default; }
.rail { position: relative; margin-bottom: 10px; border-radius: 14px; overflow: hidden; content-visibility: auto; contain-intrinsic-size: auto 300px; }
.carte { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px; touch-action: pan-y; }
.carte .ouvre { display: block; width: 100%; padding: 0; border: 0; background: none; color: inherit; text-align: left; font: inherit; cursor: pointer; }
.carte .ouvre > span { display: block; }
.carte .nom { font-weight: 600; color: var(--ink); font-size: 17px; }
.carte .ligne { font-size: 14px; margin-top: 2px; }
.carte .origine { font-size: 13px; color: var(--accent2); font-weight: 600; margin-top: 4px; }
.carte .ecartee { font-size: 13px; color: var(--warn); margin-top: 4px; }
.carte .nouveau { display: flex !important; gap: 6px; align-items: baseline; font-size: 13px; color: var(--muted); margin-top: 6px; }
.carte .nouveau .quand { white-space: nowrap; color: var(--accent); font-weight: 600; font-variant-numeric: tabular-nums; }
.crit-liste { display: grid !important; gap: 4px; margin-top: 10px; }
.crit-liste .li { display: grid; grid-template-columns: 18px auto 1fr; gap: 6px; align-items: baseline; font-size: 13px; }
.crit-liste .m { width: 18px; height: 18px; border-radius: 9px; display: grid; place-items: center; align-self: center; }
.crit-liste .m svg { width: 11px; height: 11px; }
.m.oui { background: var(--ok-bg); color: var(--ok); } .m.non { background: var(--no-bg); color: var(--no); } .m.inconnu { background: var(--unk-bg); color: var(--unk); }
.crit-liste b { font-weight: 600; color: var(--ink); white-space: nowrap; }
.crit-liste .p { color: var(--muted); min-width: 0; }
.carte .pied { display: flex !important; justify-content: space-between; align-items: baseline; gap: 8px; margin-top: 10px; font-size: 13px; color: var(--muted); }
.carte .gens { min-width: 0; }
.carte .manque { color: var(--unk); }
.carte .intros { flex: none; white-space: nowrap; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.actions-carte { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.actions-carte button { min-height: 48px; border-radius: 24px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font: 600 15px/1 "IBM Plex Sans", system-ui, sans-serif; cursor: pointer; }
.actions-carte button.pipe { background: var(--accent); border-color: var(--accent); color: var(--surface); }
.bouton { display: block; width: 100%; min-height: 48px; margin: 12px 0; border: 0; border-radius: 24px; background: var(--accent); color: var(--surface); font: 600 15px/1 "IBM Plex Sans", system-ui, sans-serif; cursor: pointer; }
.bouton.secondaire { background: transparent; color: var(--accent); border: 1px solid var(--line); }

/* ---------- Scout : filtres sur une rangée, fiche, formulaire Pipe ---------- */
.defile { position: relative; margin: 0 -16px; }
.defile .puces { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding: 12px 16px 0; }
.defile .puces::-webkit-scrollbar { display: none; }
.defile .puce { flex: none; white-space: nowrap; }
.defile .sep { flex: none; width: 1px; align-self: center; height: 28px; background: var(--line); }
.defile::before, .defile::after { content: ""; position: absolute; top: 12px; bottom: 0; width: 40px; pointer-events: none; opacity: 0; transition: opacity .15s; z-index: 1; }
.defile::before { left: 0; background: linear-gradient(to right, var(--bg) 20%, transparent); }
.defile::after { right: 0; background: linear-gradient(to left, var(--bg) 20%, transparent); }
.defile.g::before, .defile.d::after { opacity: 1; }
body.fige { overflow: hidden; }
.fiche { position: fixed; inset: 0; z-index: 40; background: var(--bg); overflow-y: auto; overscroll-behavior: contain; }
.fiche .barre { padding-left: calc(4px + env(safe-area-inset-left)); justify-content: flex-start; }
.fiche .barre .sous { font-size: 15px; font-weight: 600; color: var(--ink); }
.fiche .corps { max-width: 480px; margin: 0 auto; padding: 8px calc(16px + env(safe-area-inset-right)) calc(40px + env(safe-area-inset-bottom)) calc(16px + env(safe-area-inset-left)); }
.tete-fiche h2 { margin: 6px 0 0; font-size: 24px; line-height: 1.2; }
.tete-fiche p { margin: 4px 0 0; }
.tete-fiche .origine { font-size: 13px; color: var(--accent2); font-weight: 600; }
.tete-fiche .ecartee { font-size: 13px; color: var(--warn); }
.bloc { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px; margin-top: 12px; }
.bloc h3 { margin: 0 0 10px; font-size: 15px; font-weight: 600; color: var(--ink); display: flex; justify-content: space-between; gap: 8px; align-items: baseline; flex-wrap: wrap; }
.bloc h3 .n { font-weight: 400; color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; }
.ident { display: grid; grid-template-columns: 7em 1fr; gap: 6px 10px; margin: 0; font-size: 14px; }
.ident dt { color: var(--muted); } .ident dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.ident .tag { grid-column: 1 / -1; color: var(--text); font-style: italic; margin-bottom: 4px; }
.lienext { display: inline-flex; align-items: center; gap: 4px; min-height: 24px; color: var(--accent); font-size: 14px; }
.lienext .ext { width: 14px; height: 14px; flex: none; }
.evt { display: flex; gap: 12px; align-items: flex-start; padding: 8px 0; border-top: 1px solid var(--line); font-size: 14px; }
.evt:first-of-type { border-top: 0; padding-top: 0; }
.evt .date { flex: none; min-width: 64px; font-size: 13px; color: var(--accent); font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; padding-top: 1px; }
.signal-neuf { font-size: 12px; font-weight: 600; color: var(--surface); background: var(--accent2); border-radius: 6px; padding: 1px 8px; margin-right: auto; }
.rangee { display: grid; grid-template-columns: 22px 1fr; gap: 2px 8px; padding: 8px 0; border-top: 1px solid var(--line); }
.rangee:first-of-type { border-top: 0; padding-top: 0; }
.rangee .m { width: 22px; height: 22px; border-radius: 11px; display: grid; place-items: center; }
.rangee .m svg { width: 14px; height: 14px; }
.rangee b { color: var(--ink); font-weight: 600; font-size: 14px; }
.rangee .preuve { grid-column: 2; font-size: 14px; color: var(--muted); }
.fondateur + .fondateur { border-top: 1px solid var(--line); margin-top: 12px; padding-top: 12px; }
.fondateur .qui { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; }
.fondateur .qui b { color: var(--ink); }
.fondateur .titre { font-size: 14px; margin-top: 2px; }
.fondateur .lieu { font-size: 13px; color: var(--muted); margin-top: 2px; }
.sous-titre { font-size: 12px; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); margin-top: 10px; }
.liste-mini { list-style: none; margin: 4px 0 0; padding: 0; font-size: 14px; }
.liste-mini li { display: flex; justify-content: space-between; gap: 10px; padding: 3px 0; }
.liste-mini li span:first-child { min-width: 0; overflow-wrap: anywhere; }
.liste-mini .an { font-variant-numeric: tabular-nums; color: var(--muted); white-space: nowrap; }
.manque-ligne { margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--line); font-size: 14px; color: var(--unk); }
.connue { font-weight: 600; color: var(--ok); background: var(--ok-bg); border-radius: 8px; padding: 6px 10px; margin-bottom: 10px; font-size: 14px; }
.chemin { padding: 10px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; }
.chemin:first-of-type { border-top: 0; padding-top: 0; }
.chemin b { color: var(--ink); font-weight: 600; }
.chemin .comment { grid-column: 1 / -1; font-size: 14px; }
.chemin .titre { grid-column: 1 / -1; font-size: 13px; color: var(--muted); overflow-wrap: anywhere; }
.chemin .rang { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.muet { color: var(--muted); font-size: 14px; margin: 0; }
.statuts { display: flex; flex-wrap: wrap; gap: 8px; }
.statuts .puce { min-height: 48px; }
.champ { display: flex; flex-direction: column; gap: 4px; margin-top: 14px; font-size: 14px; font-weight: 600; color: var(--ink); }
.champ input, .champ textarea { font: 400 16px/1.5 "IBM Plex Sans", system-ui, sans-serif; color: var(--ink); background: var(--surface); border: 1px solid var(--muted); border-radius: 12px; min-height: 48px; padding: 10px 12px; width: 100%; }
.champ textarea { resize: vertical; }
.suggestions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.suggestions button { min-height: 48px; border: 1px dashed var(--accent); color: var(--accent); background: transparent; border-radius: 24px; padding: 4px 14px; font: 400 14px/1.3 "IBM Plex Sans", system-ui, sans-serif; text-align: left; cursor: pointer; }
.bloc .bouton { margin: 16px 0 0; }
.bouton:disabled { opacity: .6; }
@media (prefers-reduced-motion: reduce) { .defile::before, .defile::after { transition: none; } }

/* ---------- Scout : feuille Pipe, balayage des cartes ---------- */
.rail .dessous { position: absolute; inset: 0; display: flex; align-items: center; justify-content: space-between; padding: 0 20px; font-weight: 600; font-size: 15px; }
.rail .dessous .g { color: var(--surface); } .rail .dessous .d { color: var(--ink); }
.rail.vers-droite .dessous { background: var(--accent); } .rail.vers-gauche .dessous { background: var(--no-bg); }
.rail:not(.vers-droite):not(.vers-gauche) .dessous, .rail.vers-droite .dessous .d, .rail.vers-gauche .dessous .g { visibility: hidden; }
.rail .carte { margin: 0; transition: transform .2s ease; }
.rail .carte.tire { transition: none; }
.voile { position: fixed; inset: 0; z-index: 50; background: rgba(0, 0, 0, .4); }
.voile[hidden] { display: none; }
.feuille { position: absolute; left: 0; right: 0; bottom: 0; max-width: 480px; max-height: 88vh; overflow-y: auto; overscroll-behavior: contain; margin: 0 auto; background: var(--surface); border-radius: 18px 18px 0 0; padding: 10px 16px calc(20px + env(safe-area-inset-bottom)); }
.feuille .poignee { width: 36px; height: 4px; border-radius: 2px; background: var(--muted); margin: 0 auto 12px; }
.feuille h2 { margin: 0; font-size: 18px; color: var(--ink); }
.feuille .sous { font-size: 14px; color: var(--muted); margin-top: 2px; }
@media (prefers-reduced-motion: reduce) { .rail .carte { transition: none; } }
#form-feuille { margin-top: 12px; }

/* ---------- Scout : Pipe ---------- */
.action, .ligne-suivi { width: 100%; text-align: left; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 12px; margin-bottom: 8px; cursor: pointer; font: inherit; color: var(--text); min-height: 56px; }
.action { display: grid; grid-template-columns: 4.6em 1fr; gap: 10px; align-items: start; }
.action .jour { font-variant-numeric: tabular-nums; font-size: 13px; color: var(--accent); line-height: 1.3; }
.action .jour.passe, .ligne-suivi .q.passe { color: var(--alert); font-weight: 600; }
.action b, .ligne-suivi b { color: var(--ink); font-weight: 600; }
.action .quoi { font-size: 14px; }
.ligne-suivi { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.ligne-suivi .sous { font-size: 13px; color: var(--muted); }
.ligne-suivi .prochaine { font-size: 13px; margin-top: 2px; }
.ligne-suivi .q { font-variant-numeric: tabular-nums; color: var(--accent); }
.ligne-suivi .signal-neuf { flex: none; margin: 0; }
/* Sources */
.stat b.alerte { color: var(--alert); }
.etat-global { margin-top: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 0 12px; }
.etat-ligne { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 0; font-size: 14px; border-top: 1px solid var(--line); }
.etat-ligne:first-child { border-top: 0; }
.etat-ligne b { display: block; color: var(--ink); font-weight: 600; }
.etat-ligne .det { display: block; color: var(--muted); font-size: 13px; }
.pastille { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; white-space: nowrap; }
.pastille::before { content: ""; width: 8px; height: 8px; border-radius: 4px; background: currentColor; }
.pastille.ok { color: var(--ok); } .pastille.rien { color: var(--accent2); } .pastille.echec { color: var(--alert); }
.pastille.non_branche { color: var(--muted); } .pastille.degrade { color: var(--warn); }
.groupe { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 0 12px; }
.source { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); }
.source:first-child { border-top: 0; }
.source .nom { color: var(--ink); font-size: 15px; min-width: 0; overflow-wrap: anywhere; min-height: 24px; display: inline-flex; align-items: center; }
a.nom { text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; }
.source .det { grid-column: 1 / -1; font-size: 13px; color: var(--muted); display: flex; gap: 4px 10px; flex-wrap: wrap; }
