/* aide.css — VAGUE 3 : page Aide (#/aide) et rapport de prospection (#/rapport-prospection). Noir + rouge REP. */
.aide { max-width: 920px; }
.aide-titre { font-size: 24px; margin-bottom: 8px; }
.aide-tete p { color: var(--muted); margin: 0 0 10px; }
.aide-note { margin: 10px 0; padding: 10px 14px; border-left: 3px solid var(--red); background: var(--red-bg); border-radius: 0 8px 8px 0; color: var(--text); }
.aide-outils { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin: 14px 0 6px; position: sticky; top: 0; z-index: 5; background: var(--bg); padding: 8px 0; }
.aide-outils .in { flex: 1; min-width: 220px; }
.aide-boutons { display: flex; gap: 6px; }
.aide-resultat { min-height: 18px; margin-bottom: 6px; font-size: 13px; }
.aide-sommaire { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 14px; }
.aide-puce { border: 1px solid var(--line-2); background: var(--panel); color: var(--text); border-radius: 99px; padding: 5px 12px; cursor: pointer; font-size: 13px; }
.aide-puce:hover, .aide-puce:focus-visible { border-color: var(--red); outline: none; }
.aide-sec { padding: 0; }
.aide-sec + .aide-sec { margin-top: 10px; }
.aide-sec > summary { display: flex; align-items: center; gap: 10px; padding: 14px 16px; cursor: pointer; list-style: none; }
.aide-sec > summary::-webkit-details-marker, .aide-sous > summary::-webkit-details-marker { display: none; }
.aide-sec > summary::before, .aide-sous > summary::before { content: "›"; color: var(--red-2); font-weight: 700; font-size: 18px; line-height: 1; transition: transform .15s; }
.aide-sec[open] > summary::before, .aide-sous[open] > summary::before { transform: rotate(90deg); }
.aide-sec > summary h2 { margin: 0; flex: 1; font-size: 16px; }
.aide-corps { padding: 0 16px 14px; }
.aide-sous { border-top: 1px solid var(--line); }
.aide-sous > summary { display: flex; align-items: center; gap: 10px; padding: 11px 2px; cursor: pointer; list-style: none; font-weight: 600; }
.aide-texte { padding: 0 2px 12px 22px; }
.aide-corps p { margin: 8px 0; }
.aide-liste { margin: 8px 0; padding-left: 22px; }
.aide-liste li { margin: 4px 0; }
.aide-liste ul { padding-left: 18px; margin: 4px 0; }
.aide-table { overflow-x: auto; margin: 10px 0; }
.aide-table .t { width: 100%; }
.aide code { background: var(--panel-2); border: 1px solid var(--line); border-radius: 4px; padding: 0 4px; font-size: 12.5px; }
.aide mark { background: var(--red); color: #fff; border-radius: 3px; padding: 0 2px; }
.aide-pied { margin-top: 16px; }
@media (max-width: 760px) {
  .aide-titre { font-size: 20px; }
  .aide-outils { top: 51px; }
  .aide-texte { padding-left: 4px; }
  .aide-sommaire { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; }
  .aide-puce { white-space: nowrap; }
}

/* ----- Rapport mensuel de prospection ----- */
.rp-objectif { margin: 14px 0; }
.rp-barre { height: 12px; background: var(--panel-2); border: 1px solid var(--line); border-radius: 99px; overflow: hidden; margin: 8px 0 6px; position: relative; }
.rp-barre > span { display: block; height: 100%; background: var(--red); border-radius: 99px; }
.rp-barre > i { position: absolute; top: -2px; bottom: -2px; width: 2px; background: var(--amber); }
.rp-mois { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.rp-mois button { border: 1px solid var(--line-2); background: var(--panel); color: var(--muted); border-radius: 8px; padding: 5px 10px; cursor: pointer; }
.rp-mois button.on { border-color: var(--red); color: var(--text); background: var(--red-bg); }
.rp-constats { margin: 0; padding-left: 20px; }
.rp-constats li { margin: 4px 0; }
.rp-t td.num, .rp-t th.num { text-align: right; }
.rp-t tr.total td { font-weight: 700; border-top: 1px solid var(--line-2); }
.rp-def { margin: 0; padding-left: 20px; color: var(--muted); }
.rp-def li { margin: 3px 0; }
@media (max-width: 760px) {
  .rp-mois { flex-wrap: nowrap; overflow-x: auto; }
  .rp-mois button { white-space: nowrap; }
}
.aide-onglets { display: flex; gap: 8px; flex-wrap: wrap; margin: 14px 0 4px; }
.aide-onglets button { border: 1px solid var(--line-2); background: transparent; color: var(--muted); padding: 8px 16px; border-radius: 999px; font: inherit; font-weight: 600; cursor: pointer; }
.aide-onglets button.on { background: var(--text); color: #000; border-color: var(--text); }
.aide-hors { display: none !important; }
