.financial-report-intro { margin: 0 0 1.25rem; }
.financial-report-intro p { max-width: 80ch; line-height: 1.65; }
.financial-report-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1rem; }
.financial-report-actions .owner-only { border-style: dashed; }
/* Fermée, la liste des états tient à côté du bouton du rapport; ouverte, elle prend sa propre ligne. */
.financial-statements[open] { flex-basis: 100%; }
.financial-statements summary { display: inline-flex; cursor: pointer; list-style: none; }
.financial-statements summary::-webkit-details-marker { display: none; }
.financial-statements ul { columns: 2 18rem; gap: 1.5rem; list-style: none; margin: 0.75rem 0 0; padding: 0; }
.financial-statements li { break-inside: avoid; padding: 0.3rem 0; }
.financial-statements .statement-link { color: var(--rouge); text-underline-offset: 0.2em; }
.financial-report-note { color: var(--encre-douce); font-size: 0.85rem; margin-top: 0.75rem; }
/* The report sends its content height: the frame grows with it, so the hub page scrolls and the frame never does.
   Until the first message, a viewport-high frame keeps the page usable. */
.financial-report-frame { display: block; width: 100%; height: 85vh; min-height: 620px; border: 1px solid var(--filet); border-radius: var(--rayon-carte); background: var(--craie); box-shadow: var(--ombre-douce); }
.financial-report-frame.sized { min-height: 0; }
@media (max-width: 600px) {
  .financial-report-frame { min-height: 640px; border-radius: var(--rayon); }
  .financial-report-actions .btn { flex: 1 1 auto; text-align: center; }
}
/* Repères d'industrie et cibles : la catégorie en tête de ligne, les lignes au-dessus de la cible marquées d'un filet rouge. */
.benchmark-table th[scope="row"] { font-weight: 600; }
.benchmark-table td .sub { display: block; font-weight: 400; color: var(--encre-douce); font-size: 0.82rem; white-space: normal; }
.benchmark-table td .sub .chip { margin-top: 0.2rem; }
/* 12rem : le tableau tient dans la page à 1 366 px sans couper sa dernière colonne. */
.benchmark-table td.adjust { min-width: 12rem; color: var(--encre-douce); }
.benchmark-table tr.over td.adjust { color: inherit; }
.benchmark-table tr.over th[scope="row"] { box-shadow: inset 3px 0 0 var(--rouge); }
.benchmark-table tfoot th { background: var(--craie); border-top: 1px solid var(--filet); border-bottom: 0; }
.benchmark-sources a { display: inline-block; padding-block: 0.1rem; overflow-wrap: anywhere; }
.benchmark-table td.num .sub { white-space: nowrap; }
.benchmark-table tfoot td.adjust { font-weight: 400; }
/* Sur un téléphone, le tableau défilait de côté et sa dernière colonne, hors de l'écran, étirait chaque ligne sur 240 px
   de vide. Chaque catégorie devient une fiche : son nom, quatre repères sur deux colonnes, puis quoi ajuster. */
@media (max-width: 640px) {
  .benchmark-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .benchmark-table, .benchmark-table tbody, .benchmark-table tfoot { display: block; }
  .benchmark-table tr { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.5rem 0.85rem; padding: 0.85rem 0.85rem 0.9rem; border-bottom: 1px solid var(--filet-doux); }
  .benchmark-table tfoot tr { border-bottom: 0; background: var(--craie); }
  .benchmark-table tr > th[scope="row"] { grid-column: 1 / -1; display: block; padding: 0; border: 0; background: none; font-size: 1rem; position: static; min-width: 0; }
  .benchmark-table tr.over { box-shadow: inset 3px 0 0 var(--rouge); }
  .benchmark-table tr.over th[scope="row"] { box-shadow: none; }
  .benchmark-table td, .benchmark-table td.num { display: block; padding: 0; border: 0; text-align: left; min-width: 0; }
  .benchmark-table td[data-label]::before { content: attr(data-label); display: block; font-size: 0.75rem; font-weight: 600; color: var(--encre-douce); }
  .benchmark-table td.num .sub { white-space: normal; }
  .benchmark-table td.adjust { grid-column: 1 / -1; min-width: 0; }
}
/* Leviers du mois : une liste numérotée; le titre, la fourchette en dollars et la fiabilité sur une ligne, le reste dessous. */
.lever-list { list-style: none; counter-reset: lever; margin: 0.75rem 0 0; padding: 0; }
.lever-list[start="6"] { counter-reset: lever 5; }
.lever { counter-increment: lever; position: relative; padding: 0.85rem 0 0.85rem 2.4rem; border-top: 1px solid var(--filet-doux); }
.lever:first-child { border-top: 0; }
.lever::before { content: counter(lever); position: absolute; left: 0; top: 0.8rem; width: 1.7rem; height: 1.7rem; border-radius: 50%; background: var(--craie); border: 1px solid var(--filet); font-weight: 600; font-size: 0.85rem; display: grid; place-items: center; }
/* Le titre seul sur la première ligne; la fourchette en dollars et sa pastille (mesuré ou estimé) sur la seconde, toujours côte à côte. */
.lever-head { display: grid; gap: 0.2rem; }
.lever-figure { display: flex; align-items: baseline; gap: 0.75rem; }
.lever-figure > .lever-gain { min-width: 0; }
.lever-figure > .chip { flex: none; white-space: nowrap; }
.lever-title { font-family: var(--titre); font-size: 1.02rem; }
.lever-gain { font-weight: 600; color: var(--rouge-fonce); white-space: nowrap; }
.lever p { margin: 0.3rem 0 0; max-width: 80ch; }
.lever-where { color: var(--encre-douce); }
.lever-more { margin-top: 0.3rem; }
.lever-more summary { cursor: pointer; color: var(--encre-douce); font-size: 0.85rem; }
.lever-more ul { margin: 0.3rem 0 0; padding-left: 1.1rem; font-size: 0.88rem; }
@media (max-width: 600px) { .lever { padding-left: 2.1rem; } .lever-gain { white-space: normal; } }
.lever-initiative { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem 0.75rem; margin-top: 0.45rem; }
.lever-initiative a { color: var(--rouge); text-underline-offset: 0.2em; }
.lever-guardrail { flex-basis: 100%; color: var(--rouge-fonce); font-size: 0.88rem; }

