/* Graphique des sillons Arverne (arverne-sillons.html) */
.sg-cadre { display: flex; overflow: hidden; color: var(--color-encre, #1e2229); }
.sg-gares { flex: 0 0 auto; width: 10.5rem; border-right: 1px solid var(--color-trait, rgba(128, 128, 128, 0.3)); }
.sg-defil { flex: 1 1 auto; min-width: 0; overflow-x: auto; overscroll-behavior-x: contain; }
.sg-defil:focus-visible { outline: 2px solid #c8461c; outline-offset: -2px; }
.sg-cadre svg { display: block; font-family: inherit; }
.sg-cadre text { fill: currentColor; }
.sg-grille-h { stroke: currentColor; stroke-opacity: 0.18; }
.sg-grille-v { stroke: currentColor; stroke-opacity: 0.1; }
.sg-grille-v.sg-heure { stroke-opacity: 0.22; }
.sg-nuit { fill: currentColor; opacity: 0.05; }
.sg-maintenant { stroke: #c8461c; stroke-width: 2; }
.sg-maintenant-t { fill: #c8461c !important; font-weight: 800; }
.sg-train path { fill: none; stroke-linejoin: round; stroke-linecap: round; }
.sg-train .sg-trait { stroke-width: 2.5; }
.sg-train .sg-touche { stroke: transparent; stroke-width: 12; pointer-events: stroke; cursor: pointer; }
.sg-train .sg-reel { stroke: #ff8a4c; stroke-width: 2; stroke-dasharray: 5 3; }
.sg-train.sg-supprime .sg-trait { stroke-dasharray: 2 5; opacity: 0.55; }
.sg-train.sg-actif .sg-trait, .sg-train:hover .sg-trait { stroke-width: 4.5; }
.sg-train .sg-num { font-size: 11px; font-weight: 800; paint-order: stroke; stroke: var(--color-carte, #fff); stroke-width: 3px; pointer-events: none; }
.sg-gares text { font-size: 12px; font-weight: 700; }
.sg-gares .sg-siege { font-weight: 900; }
.sg-bulle { position: fixed; z-index: 60; max-width: 18rem; padding: 0.6rem 0.75rem; font-size: 0.8rem; line-height: 1.35; background: #1e2229; color: #f4efe6; box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35); pointer-events: none; }
.sg-bulle strong { display: block; font-size: 0.9rem; }
.sg-bulle table { margin-top: 0.35rem; border-collapse: collapse; }
.sg-bulle td { padding: 0 0.6rem 0 0; font-variant-numeric: tabular-nums; }
.sg-bulle[hidden] { display: none; }
.sg-pastille { display: inline-block; width: 1.4rem; height: 0.2rem; vertical-align: middle; margin-right: 0.35rem; }
@media (max-width: 640px) { .sg-gares { width: 7.5rem; } .sg-gares text { font-size: 10.5px; } }
.sg-train.sg-travaux .sg-trait { stroke-dasharray: 10 4; stroke-width: 2; }
