/* Sans Détour · pilotage : styles de la page (aucune ressource extérieure). */

@font-face {
  font-family: 'Plus Jakarta Sans';
  src: url('police.woff2') format('woff2');
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light dark;
  --color-bg: #f1f3f6;
  --color-panel: #ffffff;
  --color-fg: #101828;
  --color-fg-muted: #5d6779;
  --color-border-line: #e4e7ec;
  --color-ok: #067647;
  --color-warn: #a04a07;
  --color-bad: #c92a1f;
  --sd-accent: #1aaee0;
  --sd-radius: 16px;
  --sd-font-size-body: 15px;
  --sd-police: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --sd-police-titres: var(--sd-police);
  --sd-text-secondary: #5d6779;
  --sd-chart-grid: #e4e7ec;
  --sd-chart-reference: #98a2b3;
  --sd-surface-popover: #ffffff;
  --sd-border: #e4e7ec;
  --sd-shadow-popover: 0 10px 30px rgba(16, 24, 40, 0.14);
  --sd-dur-slow: 450ms;
  --sd-ease-out: cubic-bezier(0.2, 0.8, 0.2, 1);
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #0c1117;
    --color-panel: #151b23;
    --color-fg: #f2f4f7;
    --color-fg-muted: #98a2b3;
    --color-border-line: #262f3b;
    --color-ok: #32d583;
    --color-warn: #fdb022;
    --color-bad: #f97066;
    --sd-accent: #38c6f4;
    --sd-text-secondary: #98a2b3;
    --sd-chart-grid: #262f3b;
    --sd-chart-reference: #667085;
    --sd-surface-popover: #1d2430;
    --sd-border: #2f3a48;
    --sd-shadow-popover: 0 10px 30px rgba(0, 0, 0, 0.5);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-fg);
  font-family: var(--sd-police);
  padding: max(14px, env(safe-area-inset-top)) max(14px, env(safe-area-inset-right)) max(28px, env(safe-area-inset-bottom)) max(14px, env(safe-area-inset-left));
}
.sd { max-width: 1180px; margin: 0 auto; }
button, input, textarea { font-family: inherit; }
:focus-visible { outline: 2px solid var(--sd-accent); outline-offset: 2px; }
.sd-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.sd { container: sd / inline-size; display: flex; flex-direction: column; gap: 22px; color: var(--color-fg); font-family: var(--sd-police); font-size: var(--sd-font-size-body); line-height: 1.5; -webkit-text-size-adjust: 100%; }
.sd h1, .sd h2, .sd h3, .sd .sd-num { font-family: var(--sd-police-titres); }
.sd a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; text-decoration-color: var(--color-border-line); }
.sd-num { font-weight: 700; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }

/* En-tête */
.sd-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.sd-brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
.sd-logo { width: 36px; height: 36px; flex: none; border-radius: 11px; background: var(--color-fg); color: var(--color-panel); display: grid; place-items: center; font-weight: 800; font-size: 15px; letter-spacing: -0.04em; }
.sd-logo::after { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--sd-accent, var(--color-panel)); margin: 9px 0 0 1px; }
.sd-logo { display: flex; align-items: center; justify-content: center; }
.sd-brand h1 { font-size: 18px; font-weight: 700; line-height: 1.1; margin: 0; letter-spacing: -0.02em; }
.sd-brand-sub { display: block; font-size: 12.5px; color: var(--color-fg-muted); margin-top: 1px; }
.sd-today { font-size: 12px; color: var(--color-fg-muted); text-align: right; line-height: 1.35; }
.sd-today b { display: block; color: var(--color-fg); font-weight: 600; font-size: 13px; }

/* Navigation */
.sd-nav { position: sticky; top: 0; z-index: 3; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 10px 0; margin: -10px 0 -8px; background: var(--color-bg); }
.sd-nav::-webkit-scrollbar { display: none; }
.sd-nav a { flex: none; font-size: 13px; font-weight: 500; text-decoration: none; color: var(--color-fg-muted); background: var(--color-panel); border: 1px solid var(--color-border-line); border-radius: 999px; padding: 7px 14px; }
.sd-nav a:first-child { color: var(--color-panel); background: var(--color-fg); border-color: var(--color-fg); }

/* Carte d'ouverture */
.sd-hero { position: relative; overflow: hidden; border: 1px solid var(--color-border-line); border-radius: calc(var(--sd-radius) + 4px); padding: 20px 18px 16px; color: var(--color-fg);
  background:
    repeating-radial-gradient(circle at 112% -18%, transparent 0 44px, color-mix(in srgb, var(--color-panel) 75%, transparent) 44px 47px),
    radial-gradient(140% 130% at 105% -5%, color-mix(in srgb, var(--sd-accent, var(--color-border-line)) 62%, var(--color-panel)) 0%, color-mix(in srgb, var(--sd-accent, var(--color-border-line)) 16%, var(--color-panel)) 42%, var(--color-panel) 72%); }
.sd-hero-label { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 13px; color: var(--color-fg-muted); font-weight: 500; }
.sd-hero-label .sd-pill { background: var(--color-panel); }
.sd-countdown { display: flex; align-items: baseline; gap: 2px; margin-top: 14px; }
.sd-countdown .sd-num { font-size: 64px; line-height: 0.95; }
.sd-countdown small { font-size: 15px; color: var(--color-fg-muted); margin-left: 8px; font-weight: 500; }
.sd-hero-title { font-family: var(--sd-police-titres); font-size: 19px; line-height: 1.3; margin: 12px 0 2px; font-weight: 650; letter-spacing: -0.01em; max-width: 26ch; }
.sd-hero-date { font-size: 13px; color: var(--color-fg-muted); }
.sd-hero-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 18px; }
.sd-hero-stats > div { background: color-mix(in srgb, var(--color-panel) 82%, transparent); border: 1px solid var(--color-border-line); border-radius: 12px; padding: 10px 10px 9px; min-width: 0; backdrop-filter: blur(6px); }
.sd-hero-stats .sd-num { display: block; font-size: 24px; line-height: 1.05; }
.sd-hero-stats .sd-lbl { display: block; font-size: 11.5px; color: var(--color-fg-muted); line-height: 1.3; margin-top: 4px; }

/* Sections */
.sd-sec { scroll-margin-top: 60px; }
.sd-sec-head { margin: 6px 0 12px; }
.sd-sec-head h2 { font-size: 19px; font-weight: 700; line-height: 1.2; margin: 2px 0 0; letter-spacing: -0.02em; }
.sd-sec-head p { margin: 4px 0 0; color: var(--color-fg-muted); font-size: 13px; max-width: 70ch; }
.sd-eyebrow { font-size: 11.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--sd-accent-texte, var(--color-fg-muted)); }
.sd-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.sd-card { background: var(--color-panel); border: 1px solid var(--color-border-line); border-radius: var(--sd-radius); padding: 16px; min-width: 0; }
.sd-card-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.sd-card h3 { font-size: 15px; font-weight: 700; margin: 0; line-height: 1.3; letter-spacing: -0.01em; }
.sd-card-note { font-size: 12.5px; color: var(--color-fg-muted); margin: -6px 0 12px; }

/* Indicateurs */
.sd-kpis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.sd-kpi { background: var(--color-panel); border: 1px solid var(--color-border-line); border-radius: var(--sd-radius); padding: 14px; min-width: 0; display: flex; flex-direction: column; }
.sd-kpi .sd-lbl { font-size: 12.5px; color: var(--color-fg-muted); line-height: 1.3; font-weight: 500; }
.sd-kpi .sd-num { display: block; font-size: 28px; line-height: 1.1; margin-top: 10px; min-height: 1.1em; }
.sd-kpi .sd-sub { font-size: 12px; color: var(--color-fg-muted); margin-top: auto; padding-top: 6px; line-height: 1.35; }

/* Jauges des jalons */
.sd-goals { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; min-height: 120px; }
.sd-goal-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin-bottom: 4px; }
.sd-goal-title { font-weight: 700; font-size: 14px; }
.sd-goal-date { font-size: 12px; color: var(--color-fg-muted); }
.sd-goal { margin-top: 12px; }
.sd-goal-top { display: flex; justify-content: space-between; gap: 8px; font-size: 13.5px; }
.sd-goal-val { font-variant-numeric: tabular-nums; color: var(--color-fg-muted); white-space: nowrap; }
.sd-goal-val b { color: var(--color-fg); font-weight: 700; }
.sd-track { display: block; height: 8px; border-radius: 99px; background: color-mix(in srgb, var(--color-fg) 7%, var(--color-panel)); overflow: hidden; margin-top: 7px; }
.sd-track > span { display: block; height: 100%; border-radius: 99px; min-width: 0; }

/* Entonnoir */
.sd-fun { display: flex; flex-direction: column; gap: 14px; }
.sd-fun-top { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; font-size: 13.5px; }
.sd-fun-top b { font-size: 16px; font-weight: 700; font-variant-numeric: tabular-nums; }
.sd-fun .sd-track { height: 10px; }
.sd-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.sd-chip { display: inline-flex; align-items: baseline; gap: 8px; font-size: 13px; background: var(--color-bg); border-radius: 10px; padding: 8px 12px; }
.sd-chip b { font-weight: 700; font-variant-numeric: tabular-nums; }
.sd-foot { font-size: 12.5px; color: var(--color-fg-muted); margin: 16px 0 0; }

/* Listes (tableaux présentés en lignes) */
table.sd-list { width: 100%; border-collapse: collapse; }
table.sd-list thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
table.sd-list tbody, table.sd-list tr, table.sd-list td { display: block; }
table.sd-list tr { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; padding: 12px 0; border-bottom: 1px solid var(--color-border-line); }
table.sd-list tr:first-child { padding-top: 2px; }
table.sd-list tr:last-child { border-bottom: 0; padding-bottom: 0; }
table.sd-list td { padding: 0; border: 0; }
table.sd-list td.t { flex: 1 1 55%; min-width: 0; font-weight: 600; font-size: 14px; line-height: 1.35; }
table.sd-list td.p { flex: none; margin-left: auto; }
table.sd-list td.m { flex: none; font-size: 12.5px; color: var(--color-fg-muted); font-variant-numeric: tabular-nums; }
table.sd-list td.m:empty { display: none; }
table.sd-list td.m[data-label]::before { content: attr(data-label) " "; }
table.sd-list td.full { flex: 1 1 100%; }
table.sd-list td.sd-message { flex: 1 1 100%; color: var(--color-fg-muted); font-size: 13px; font-weight: 400; }
.sd-replie tbody tr:nth-child(n+7) { display: none; }
.sd-more { margin-top: 12px; width: 100%; }

/* Tableaux chiffrés */
.sd-tablewrap { overflow-x: auto; }
table.sd-table { width: 100%; border-collapse: collapse; font-size: 13px; font-variant-numeric: tabular-nums; }
.sd-table th { text-align: left; font-weight: 500; font-size: 12px; color: var(--color-fg-muted); background: var(--color-bg); padding: 8px; white-space: nowrap; }
.sd-table th:first-child { border-radius: 8px 0 0 8px; }
.sd-table th:last-child { border-radius: 0 8px 8px 0; }
.sd-table td { border-bottom: 1px solid var(--color-border-line); padding: 10px 8px; vertical-align: top; }
.sd-table tr:last-child td { border-bottom: 0; }
.sd-table .num { text-align: right; white-space: nowrap; }
.sd-table td.t { font-weight: 600; }
.sd-table td.sd-message { color: var(--color-fg-muted); }

/* Pastilles et états */
.sd-pill { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; white-space: nowrap; color: var(--color-fg-muted); background: var(--color-bg); }
.sd-pill.bad { color: var(--color-bad); background: color-mix(in srgb, var(--color-bad) 12%, var(--color-panel)); }
.sd-pill.warn { color: var(--color-warn); background: color-mix(in srgb, var(--color-warn) 13%, var(--color-panel)); }
.sd-pill.ok { color: var(--color-ok); background: color-mix(in srgb, var(--color-ok) 12%, var(--color-panel)); }
.sd-pill.info { color: var(--color-fg); background: color-mix(in srgb, var(--sd-accent, var(--color-bg)) 18%, var(--color-panel)); }
.sd-bad { color: var(--color-bad); }
.sd-empty { color: var(--color-fg-muted); font-size: 13px; margin: 0; padding: 8px 0; }
.sd-err { color: var(--color-bad); font-size: 13px; margin: 0; }

/* Graphiques */
.sd-chart { position: relative; min-height: 210px; }
.sd-chart.sd-low { min-height: 190px; }
.sd-chart svg { display: block; overflow: visible; }
.sd-chart svg text { fill: var(--sd-text-secondary); font-size: 11.5px; font-family: var(--sd-police); }
.sd-chart .grid line { stroke: var(--sd-chart-grid); stroke-dasharray: 3 4; }
.sd-tip { position: absolute; pointer-events: none; background: var(--sd-surface-popover); border: 1px solid var(--sd-border); box-shadow: var(--sd-shadow-popover); border-radius: 12px; padding: 8px 10px; font-size: 12.5px; white-space: nowrap; z-index: 2; line-height: 1.5; }
.sd-tip .t { color: var(--sd-text-secondary); margin-bottom: 2px; }
.sd-legend { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 12px; color: var(--color-fg-muted); }
.sd-legend i { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 6px; vertical-align: 0; }
.sd-legend i.sd-line { height: 3px; width: 14px; border-radius: 2px; vertical-align: 3px; }
.sd-seg { display: inline-flex; background: var(--color-bg); border-radius: 999px; padding: 3px; gap: 2px; }
.sd-seg button { font: inherit; font-size: 12.5px; font-weight: 600; border: 0; background: transparent; color: var(--color-fg-muted); padding: 6px 12px; border-radius: 999px; cursor: pointer; }
.sd-seg button[aria-pressed="true"] { background: var(--color-panel); color: var(--color-fg); box-shadow: 0 1px 2px color-mix(in srgb, var(--color-fg) 15%, transparent); }

/* Formulaire */
details.sd-acc { background: var(--color-panel); border: 1px solid var(--color-border-line); border-radius: var(--sd-radius); }
details.sd-acc > summary { list-style: none; cursor: pointer; padding: 15px 16px; font-weight: 700; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
details.sd-acc > summary::-webkit-details-marker { display: none; }
details.sd-acc > summary::after { content: '+'; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 18px; font-weight: 500; line-height: 1; color: var(--color-panel); background: var(--color-fg); }
details.sd-acc[open] > summary::after { content: '\2212'; }
.sd-acc-body { padding: 0 16px 16px; }
.sd-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.sd-form label { display: flex; flex-direction: column; gap: 6px; font-size: 12.5px; color: var(--color-fg-muted); font-weight: 500; min-width: 0; }
.sd-form input, .sd-form textarea { font: inherit; font-size: 16px; color: var(--color-fg); background: var(--color-bg); border: 1px solid transparent; border-radius: 12px; padding: 10px 12px; min-width: 0; width: 100%; box-sizing: border-box; }
.sd-form input:focus, .sd-form textarea:focus { outline: 2px solid var(--sd-accent, var(--color-fg)); outline-offset: 1px; background: var(--color-panel); }
.sd-form .sd-full { grid-column: 1 / -1; }
.sd-fieldset-title { grid-column: 1 / -1; font-size: 11.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-fg-muted); margin-top: 6px; }
.sd-actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-top: 16px; }
.sd-btn { font: inherit; font-size: 14.5px; font-weight: 600; padding: 11px 20px; border-radius: 999px; border: 1px solid var(--color-fg); background: var(--color-fg); color: var(--color-panel); cursor: pointer; }
.sd-btn.ghost { background: var(--color-panel); color: var(--color-fg); border-color: var(--color-border-line); font-weight: 600; }
.sd-btn.sd-sm { font-size: 12.5px; padding: 5px 12px; }

details.sd-notes summary { cursor: pointer; color: var(--color-fg-muted); font-size: 13px; }
details.sd-notes ul { padding-left: 1.2em; }
details.sd-notes li { font-size: 12.5px; color: var(--color-fg-muted); line-height: 1.55; margin-bottom: 5px; }
.sd b:empty, .sd span.sd-v:empty, .sd .sd-num:empty { display: inline-block; min-width: 2ch; min-height: 1em; }

/* Écrans étroits : tableaux chiffrés en fiches */
@container sd (max-width: 599px) {
  table.sd-table.sd-resp, table.sd-table.sd-resp tbody, table.sd-table.sd-resp tr, table.sd-table.sd-resp td { display: block; }
  table.sd-table.sd-resp thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  table.sd-table.sd-resp tr { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px 10px; padding: 12px 0; border-bottom: 1px solid var(--color-border-line); }
  table.sd-table.sd-resp tr:first-child { padding-top: 0; }
  table.sd-table.sd-resp tr:last-child { border-bottom: 0; }
  table.sd-table.sd-resp td { border: 0; padding: 0; text-align: left; font-size: 14px; font-weight: 600; }
  table.sd-table.sd-resp td.t { grid-column: 1 / -1; font-weight: 700; }
  table.sd-table.sd-resp td.sd-message, table.sd-table.sd-resp td.a { grid-column: 1 / -1; font-weight: 400; }
  table.sd-table.sd-resp td[data-label]::before { content: attr(data-label); display: block; font-size: 11.5px; color: var(--color-fg-muted); font-weight: 500; }
  table.sd-table.sd-resp td:empty { display: none; }
}

/* Écrans larges */
@container sd (min-width: 720px) {
  .sd { gap: 28px; }
  .sd-hero { padding: 28px 28px 24px; }
  .sd-hero-main { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: end; }
  .sd-countdown .sd-num { font-size: 88px; }
  .sd-hero-title { font-size: 22px; margin-top: 0; }
  .sd-hero-stats { max-width: 640px; }
  .sd-hero-stats .sd-num { font-size: 30px; }
  .sd-kpis { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .sd-grid.sd-two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sd-grid.sd-three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sd-goals { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
  .sd-card { padding: 20px; }
  .sd-form { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .sd-sec-head h2 { font-size: 22px; }
}
@media print { .sd-nav, .sd-seg, .sd-more, details.sd-acc { display: none; } .sd-replie tbody tr { display: flex !important; } }
@media (prefers-reduced-motion: no-preference) { .sd-track > span { transition: width var(--sd-dur-slow) var(--sd-ease-out); } }

/* ---------- Ajouts de la version hébergée ---------- */

/* Chargement */
.sd-squelette {
  color: transparent !important;
  border-radius: 8px;
  background: linear-gradient(90deg, color-mix(in srgb, var(--color-fg) 6%, var(--color-panel)) 0%, color-mix(in srgb, var(--color-fg) 11%, var(--color-panel)) 50%, color-mix(in srgb, var(--color-fg) 6%, var(--color-panel)) 100%);
  background-size: 200% 100%;
  min-width: 3ch;
}
@media (prefers-reduced-motion: no-preference) {
  .sd-squelette { animation: sd-reflet 1.4s ease-in-out infinite; }
  .sd-charge #actualiser svg { animation: sd-tourne 0.9s linear infinite; }
}
@keyframes sd-reflet { from { background-position: 100% 0; } to { background-position: -100% 0; } }
@keyframes sd-tourne { to { transform: rotate(360deg); } }

/* En-tête */
.sd-entete-droite { display: flex; align-items: center; gap: 10px; min-width: 0; }
.sd-rond { flex: none; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--color-border-line); background: var(--color-panel); color: var(--color-fg); display: grid; place-items: center; cursor: pointer; padding: 0; }
.sd-rond:disabled { opacity: 0.6; cursor: progress; }

/* Marges */
.sd-mt { margin-top: 12px; }
.sd-mt-s { margin-top: 10px; }

/* Alertes de sources */
.sd-alertes { border: 1px solid color-mix(in srgb, var(--color-bad) 35%, var(--color-border-line)); background: color-mix(in srgb, var(--color-bad) 7%, var(--color-panel)); color: var(--color-fg); border-radius: var(--sd-radius); padding: 12px 14px; font-size: 13px; line-height: 1.45; }
.sd-alertes b { color: var(--color-bad); }
.sd-alertes ul { margin: 6px 0 0; padding-left: 1.1em; }

/* Nombre écrit en toutes lettres (première source) */
.sd-kpi .sd-num.sd-num-texte { font-size: 20px; line-height: 1.2; letter-spacing: -0.01em; }

/* Bouton « Fait » des actions */
table.sd-list td.b { flex: none; margin-left: auto; }
.sd-fait { font: inherit; font-size: 12.5px; font-weight: 700; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--color-border-line); background: var(--color-panel); color: var(--color-fg); cursor: pointer; min-height: 32px; }
.sd-fait[data-etat="confirmer"] { background: var(--color-fg); color: var(--color-panel); border-color: var(--color-fg); }
.sd-fait[data-etat="annuler"] { color: var(--color-fg-muted); }
.sd-fait:disabled { opacity: 0.6; cursor: progress; }
table.sd-list tr.sd-faite td.t, table.sd-list tr.sd-faite td.t a { color: var(--color-fg-muted); text-decoration: line-through; }
table.sd-list td.sd-retour { flex: 1 1 100%; font-size: 12.5px; color: var(--color-fg-muted); }
table.sd-list td.sd-retour.sd-bad { color: var(--color-bad); }

/* Formulaire : champs de prospection remplis par le journal */
.sd-groupe-prospection { display: contents; }
.sd-note-journal { display: none; grid-column: 1 / -1; margin: 6px 0 0; font-size: 12.5px; color: var(--color-fg-muted); }
.sd-form.sd-journal .sd-groupe-prospection { display: none; }
.sd-form.sd-journal .sd-note-journal { display: block; }

/* Pied de page */
.sd-pied { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 16px; font-size: 12.5px; color: var(--color-fg-muted); padding: 8px 0 4px; }
.sd-pied form { margin: 0; }
.sd-lien { font: inherit; font-size: 12.5px; color: var(--color-fg); background: none; border: 0; padding: 0; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* Page de connexion */
.sd-page-connexion { min-height: 100vh; min-height: 100dvh; display: grid; place-items: center; }
.sd-connexion { width: 100%; max-width: 380px; background: var(--color-panel); border: 1px solid var(--color-border-line); border-radius: calc(var(--sd-radius) + 4px); padding: 32px 24px 26px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.sd-connexion h1 { font-size: 24px; font-weight: 700; letter-spacing: -0.02em; margin: 16px 0 0; }
.sd-connexion-sous { margin: 2px 0 22px; color: var(--color-fg-muted); font-size: 14px; }
.sd-connexion-erreur { margin: 0 0 16px; font-size: 13.5px; color: var(--color-bad); }
.sd-connexion-note { margin: 18px 0 0; font-size: 12px; color: var(--color-fg-muted); }
.sd-logo-grand { width: 56px; height: 56px; border-radius: 17px; font-size: 24px; }
.sd-logo-grand::after { width: 8px; height: 8px; margin: 14px 0 0 2px; }
.sd-btn-google { display: inline-flex; align-items: center; justify-content: center; gap: 10px; width: 100%; text-decoration: none; background: var(--color-panel); color: var(--color-fg); border-color: var(--color-border-line); padding: 13px 20px; }
.sd-tip-point { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; vertical-align: 0; }
