/* Analyses de course (2026-09-28) : fiche technique, ecarts au meilleur temps, detail des intermediaires (maquette de la redaction, validee).
   Couleurs de series validees pour le daltonisme (bleu, orange, vert d'eau), distinctes de l'accent ; theme <html data-theme="dark|light">. */
:root{--ra-s1:#2a78d6;--ra-s2:#eb6834;--ra-s3:#1baf7a;--ra-grid:color-mix(in srgb,currentColor 12%,transparent);--ra-line:color-mix(in srgb,currentColor 16%,transparent);
  --ra-chip:color-mix(in srgb,currentColor 6%,transparent);--ra-muted:var(--muted,#5d6874);--ra-page:var(--card,var(--bg,#fff))}
[data-theme="dark"]{--ra-s1:#3987e5;--ra-s2:#d95926;--ra-s3:#199e70}
.ra-gaps{display:grid;gap:10px;font:400 .95rem/1.45 system-ui,-apple-system,"Segoe UI",sans-serif}
.ra-legend{display:flex;flex-wrap:wrap;gap:6px 18px;font-size:.9rem}
.ra-legend>span{display:inline-flex;align-items:center;gap:6px}
.ra-legend .sw{width:18px;height:2px;border-radius:1px;display:inline-block}
.ra-legend .sw.s1{background:var(--ra-s1)}.ra-legend .sw.s2{background:var(--ra-s2)}.ra-legend .sw.s3{background:var(--ra-s3)}
.ra-multiples{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,420px),1fr));gap:18px}
.ra-panel{display:grid;gap:4px}
.ra-panel h4{margin:0;font:600 .95rem/1.2 system-ui,sans-serif}
.ra-panel .sub,.ra-note{font-size:.82rem;color:var(--ra-muted);margin:0}
.ra-panel svg{display:block;width:100%;height:auto;overflow:visible}
.ra-panel svg text{font-family:system-ui,-apple-system,"Segoe UI",sans-serif;fill:var(--ra-muted);font-size:11.5px}
.ra-panel svg .grid{stroke:var(--ra-grid);stroke-width:1}
.ra-panel svg .ln{fill:none;stroke-width:2;stroke-linejoin:round;stroke-linecap:round}
.ra-panel svg .ln.s1{stroke:var(--ra-s1)}.ra-panel svg .ln.s2{stroke:var(--ra-s2)}.ra-panel svg .ln.s3{stroke:var(--ra-s3)}
.ra-panel svg .pt{stroke:var(--ra-page);stroke-width:2}
.ra-panel svg .pt.s1{fill:var(--ra-s1)}.ra-panel svg .pt.s2{fill:var(--ra-s2)}.ra-panel svg .pt.s3{fill:var(--ra-s3)}
.ra-panel svg .lab{font-size:12px}.ra-panel svg .lab .b{font-weight:600;fill:currentColor}
.ra-gaps details{font-size:.9rem}
.ra-gaps summary{cursor:pointer;font-weight:600}
.ra-tablewrap{overflow-x:auto;margin-top:8px}
.ra-tablewrap table{min-width:560px;width:100%;border-collapse:collapse;font-size:.88rem;font-variant-numeric:tabular-nums;margin-bottom:8px}
.ra-tablewrap th,.ra-tablewrap td{text-align:left;padding:.35em .4em;border-bottom:1px solid var(--ra-line)}
.ra-fiche table{width:100%;border-collapse:collapse;font-variant-numeric:tabular-nums}
.ra-fiche th,.ra-fiche td{text-align:left;vertical-align:baseline;padding:.38em .4em;border-bottom:1px solid var(--ra-line)}
.ra-fiche tr:last-child>*{border-bottom:0}
.ra-fiche tbody th{font-weight:600;color:var(--ra-muted);white-space:nowrap;padding-left:0}
figure.graphe{margin:1.4em 0;clear:both}
figure.graphe figcaption{margin-top:8px;font-size:.84rem;color:var(--ra-muted)}
figure.graphe-fiche{float:right;width:44%;min-width:17rem;margin:.35em 0 1.1em 1.6em;clear:right}
@media (max-width:640px){figure.graphe-fiche{float:none;width:auto;min-width:0;margin:1.2em 0}}
/* detail des intermediaires dans les pages de resultats */
.ra-tog{border:1px solid var(--ra-line);background:none;color:inherit;border-radius:4px;padding:0 .35em;font:600 .78rem/1.5 system-ui,sans-serif;cursor:pointer}
.ra-tog[aria-expanded="true"]{background:var(--ra-chip)}
tr.ra-detail>td{background:var(--ra-chip);padding:.6em .8em}
.ra-detail table{border-collapse:collapse;font-size:.84rem;font-variant-numeric:tabular-nums}
.ra-detail th,.ra-detail td{padding:.25em .6em;text-align:left;white-space:nowrap;border-bottom:1px solid var(--ra-line)}
.ra-detail th{color:var(--ra-muted);font-weight:600}
.ra-detail .sub{color:var(--ra-muted);font-size:.78rem}
.ra-detail .scroll{overflow-x:auto}
/* profil de piste (graphique 1) : tranches de pente, du plus doux au plus raide */
:root{--ra-sl1:#cfe3f5;--ra-sl2:#8fbfe8;--ra-sl3:#e8a15a;--ra-sl4:#c8452c}
[data-theme="dark"]{--ra-sl1:#27435c;--ra-sl2:#34699a;--ra-sl3:#b3702e;--ra-sl4:#b53a22}
.ra-profile{display:grid;gap:8px;font:400 .95rem/1.45 system-ui,-apple-system,"Segoe UI",sans-serif}
.ra-profile svg{display:block;width:100%;height:auto;overflow:visible}
.ra-profile svg text{font-family:system-ui,-apple-system,"Segoe UI",sans-serif;font-size:11.5px;fill:var(--ra-muted)}
.ra-profile svg .grid{stroke:var(--ra-grid);stroke-width:1}
.ra-profile svg .prof{fill:none;stroke:currentColor;stroke-width:1.6}
.ra-profile svg .sl1,.ra-legend .sw.sl1{fill:var(--ra-sl1);background:var(--ra-sl1)}
.ra-profile svg .sl2,.ra-legend .sw.sl2{fill:var(--ra-sl2);background:var(--ra-sl2)}
.ra-profile svg .sl3,.ra-legend .sw.sl3{fill:var(--ra-sl3);background:var(--ra-sl3)}
.ra-profile svg .sl4,.ra-legend .sw.sl4{fill:var(--ra-sl4);background:var(--ra-sl4)}
.ra-legend .sw.sl1,.ra-legend .sw.sl2,.ra-legend .sw.sl3,.ra-legend .sw.sl4{height:10px;width:14px;border-radius:2px}
.ra-leg-t{font-weight:600}
.ra-profile svg .pz{stroke:currentColor;stroke-width:1.2}.ra-profile svg .pz.dash{stroke-dasharray:3 3;opacity:.6}
.ra-profile svg .pn{fill:currentColor;font-size:12px;font-weight:600}
