/* Module Transports */
.tn-transports__top { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); gap: 1rem; align-items: start; margin-bottom: 1.25rem; }
.tn-departures h2, .tn-traffic h2 { margin-top: 0; }
.tn-departures__form label { font-weight: 700; display: block; margin-bottom: 0.25rem; }
.tn-departures__row { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.tn-departures__row select { flex: 1 1 12rem; min-width: 0; max-width: 100%; }
.tn-departures__list { list-style: none; margin: 0.5rem 0 0; padding: 0; display: grid; gap: 0.5rem; }
.tn-departure { display: flex; gap: 0.75rem; align-items: flex-start; padding: 0.625rem 0.75rem; border: 1px solid var(--tn-border); border-radius: 10px; background: var(--tn-bg-2); }
.tn-departure.is-interrompu { border-left: 5px solid var(--tn-danger); }
.tn-departure.is-perturbe { border-left: 5px solid var(--tn-warn); }
.tn-departure__body { flex: 1; min-width: 0; }
.tn-departure__body p { margin: 0 0 0.125rem; }
.tn-departure__in { font-size: 1.25rem; }
.tn-departure__warn { font-weight: 600; }
/* Code de ligne : texte toujours lisible, la couleur n'est qu'un repère en plus (bordure) */
.tn-line-code { --line: var(--tn-accent); display: inline-grid; place-items: center; min-width: 2.75rem; padding: 0.25rem 0.5rem; border-radius: 8px; border: 3px solid var(--line); background: var(--tn-bg); color: var(--tn-text); font-weight: 800; letter-spacing: .03em; }
.tn-line-code--big { font-size: 1.25rem; min-width: 3.5rem; min-height: 3rem; }
.tn-traffic.has-issues { border-color: var(--tn-warn); }
.tn-traffic__ok { font-size: 1.0625rem; margin: 0; }
.tn-traffic__list { list-style: none; margin: 0; padding: 0; }
.tn-traffic__agent { margin-top: 0.75rem; }
.tn-traffic__agent > summary { cursor: pointer; font-weight: 700; min-height: 2.75rem; display: flex; align-items: center; }
.tn-traffic__form fieldset { border: 1px solid var(--tn-border); border-radius: 10px; padding: 0.75rem; margin: 0 0 0.75rem; display: grid; gap: 0.375rem; min-width: 0; }
.tn-lines { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); gap: 1rem; margin-bottom: 1.25rem; }
.tn-line__head { display: flex; gap: 0.75rem; align-items: center; margin-bottom: 0.5rem; }
.tn-line__head h3 { margin: 0 0 0.25rem; }
.tn-line__stops { list-style: none; margin: 0 0 0.75rem; padding: 0 0 0 1rem; border-left: 3px solid var(--tn-border); }
.tn-line__stops li { position: relative; padding: 0.125rem 0; }
.tn-line__stops li::before { content: ""; position: absolute; left: -1.4rem; top: 0.55em; width: 0.6rem; height: 0.6rem; border-radius: 50%; background: var(--tn-bg); border: 2px solid var(--tn-text); }
.tn-line__facts { display: grid; gap: 0.375rem; margin: 0 0 0.5rem; }
.tn-line__facts > div { display: grid; grid-template-columns: 9rem 1fr; gap: 0.5rem; }
.tn-line__facts dt { color: var(--tn-muted); }
.tn-line__facts dd { margin: 0; }
@media (max-width: 40rem) { .tn-line__facts > div { grid-template-columns: 1fr; gap: 0; } }
html[data-tn-big="1"] .tn-line__facts > div { grid-template-columns: 1fr; gap: 0; }
.tn-transports__todo { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.tn-transports__todo a { font-weight: 700; }
.tn-line__head { flex-wrap: wrap; min-width: 0; }
.tn-line__head > div { min-width: 0; }
