/* Ontario government-reported road surface geolocation, not a tile provider. */
.on-segment-map{margin:17px 0 20px;padding:20px;border:1px solid #cbdce0;border-radius:17px;background:#f8fcfd;color:#234451}
.on-segment-map[hidden]{display:none}
.on-segment-map h3{font-size:21px;line-height:1.3;margin:0 0 8px;color:#173c4e}
.on-segment-lead,.on-segment-legend,.on-segment-details{font-size:14px;line-height:1.6;color:#385662;margin:0 0 13px}
.on-segment-svg{display:block;width:100%;max-height:460px;aspect-ratio:920/470;background:#e9f3f5;border:1px solid #bed4d8;border-radius:12px}
.on-segment-background{fill:#eaf3f5}
.on-segment-gridline{stroke:#bed9df;stroke-width:1}
.on-segment-line{stroke-width:7;stroke-linecap:round;stroke-linejoin:round;cursor:pointer;transition:stroke-width .15s,filter .15s}
.on-segment-line.on-normal{stroke:#237f8e}
.on-segment-line.on-adverse{stroke:#be6909}
.on-segment-line.on-selected,.on-segment-line:hover,.on-segment-line:focus-visible{stroke-width:13;filter:drop-shadow(0 0 4px #2d5356aa);outline:none}
.on-segment-incident{fill:#b52d3b;stroke:#fff;stroke-width:3}
.on-segment-legend{margin:10px 0 13px;font-weight:700}
.on-segment-details{padding:11px 13px;background:#fff;border:1px solid #d7e6e8;border-radius:10px}
.on-segment-link{display:inline-flex;align-items:center;min-height:44px;padding:9px 14px;background:#fff;border:1px solid #8baeb6;border-radius:10px;color:#125264;font-size:14px;font-weight:800}
.on-segment-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.on-segment-choice{flex:1 1 210px;min-height:44px;padding:9px 12px;border:1px solid #b8cdd1;background:#fff;border-radius:10px;color:#234451;text-align:left;font-size:14px;cursor:pointer;font-weight:700}
.on-segment-choice:hover,.on-segment-choice:focus-visible{outline:3px solid #9bc8ca;outline-offset:1px}
.on-segment-empty{padding:15px;background:#fff;border-left:4px solid #bf7d36;border-radius:8px;font-size:14px;line-height:1.65}
@media(max-width:600px){.on-segment-map{padding:13px}.on-segment-map h3{font-size:19px}.on-segment-svg{max-height:310px}.on-segment-choice{flex:1 1 100%}}
@media(prefers-reduced-motion:reduce){.on-segment-line{transition:none}}
