.conditions-traffic { padding-block: 44px 12px; }
.traffic-status { padding: 12px 16px; border-left: 3px solid var(--clay); background: var(--paper-2); font-size: 14px; margin-bottom: 20px; }
.traffic-layout { display: grid; grid-template-columns: minmax(0, 2.6fr) minmax(260px, 1fr); border: 1px solid var(--rule-2); border-radius: 20px; overflow: hidden; background: var(--paper-2); }
.traffic-map-panel { min-width: 0; }
.traffic-map-tools { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; padding: 12px; }
.page-conditions .traffic-map-tools button { padding: 8px 12px; font-size: 12px; }
.traffic-map-tools label { display: flex; align-items: center; gap: 5px; font-size: 12px; margin-left: 4px; min-height: 44px; }
.traffic-map-tools input { accent-color: var(--forest); width: 16px; height: 16px; }
.traffic-zoom { display: flex; gap: 6px; margin-left: auto; }
.page-conditions .traffic-zoom button { font-size: 24px; width: 44px; padding: 0; }
.traffic-map-stage { position: relative; background: #e7e4d9; aspect-ratio: 4/3; overflow: hidden; }
.traffic-map-stage svg { width: 100%; height: 100%; display: block; touch-action: pan-y; cursor: grab; }
.traffic-map-stage svg:active { cursor: grabbing; }
.traffic-map-stage svg:focus-visible { outline: 3px solid var(--clay); outline-offset: -4px; }
[data-map-loading] { position: absolute; inset: 44% 20px auto; text-align: center; pointer-events: none; }
.traffic-relief { opacity: .48; }
.traffic-road-outline { fill: none; stroke: #faf8f2; stroke-width: 6px; vector-effect: non-scaling-stroke; }
.traffic-road-line { fill: none; stroke: #8b918c; stroke-width: 2.2px; vector-effect: non-scaling-stroke; }
.traffic-road-group.is-selected .traffic-road-line { stroke: #4b5750; stroke-width: 4px; }
.traffic-road-hit { fill: none; stroke: transparent; stroke-width: 16px; vector-effect: non-scaling-stroke; cursor: pointer; }
.traffic-road-group:focus-visible .traffic-road-line { stroke: #4b5750; stroke-width: 4px; }
.traffic-road-badge rect { fill: #faf8f2; stroke: #6b695f; stroke-width: 1; vector-effect: non-scaling-stroke; }
.traffic-road-badge text { fill: #303c32; text-anchor: middle; dominant-baseline: central; font-family: var(--sans); font-weight: 600; }
.traffic-town text { font-family: var(--sans); fill: #253b2f; stroke: #faf8f2; stroke-width: 3px; paint-order: stroke; font-weight: 600; }
.traffic-town { pointer-events: none; }
.traffic-town circle { fill: #faf8f2; stroke: #203d33; stroke-width: 1.5px; vector-effect: non-scaling-stroke; }
.traffic-town.is-park text { font-weight: 800; }
.traffic-camera { cursor: pointer; }
.traffic-camera circle { fill: #24636c; stroke: #faf8f2; stroke-width: 1.5px; vector-effect: non-scaling-stroke; }
.traffic-camera:focus-visible circle { stroke: #934c2e; stroke-width: 4px; }
.traffic-condition-path { fill: none; stroke-width: 5px; vector-effect: non-scaling-stroke; cursor: pointer; stroke-linecap: round; }
.traffic-event-point { stroke: #faf8f2; stroke-width: 2px; vector-effect: non-scaling-stroke; cursor: pointer; }
.traffic-map-legend { display: flex; gap: 8px 16px; flex-wrap: wrap; padding: 12px 16px 4px; font-size: 11px; }
.traffic-map-legend span { display: inline-flex; align-items: center; gap: 6px; }
.traffic-map-legend i { width: 18px; height: 3px; background: #8b918c; display: inline-block; }
.traffic-map-legend .legend-condition { background: #2b8050; }
.traffic-map-legend .legend-caution { background: #b27616; }
.traffic-map-legend .legend-closure { width:12px; height:12px; border-radius:50%; background:linear-gradient(#fffaf0,#fffaf0) center/7px 2px no-repeat,#b73535; }
.map-closure-symbol { cursor:pointer; }
.map-closure-symbol:focus-visible { outline:2px solid #203d33; outline-offset:3px; }
.traffic-map-legend .legend-camera { background: #24636c; width: 8px; height: 8px; border-radius: 50%; }
.traffic-map-credit { font-size: 11px; line-height: 1.5; padding: 8px 16px 16px; margin: 0; color: var(--ink-3); }
.traffic-reports { padding: 20px; border-left: 1px solid var(--rule); background: var(--paper); max-height: 800px; overflow-y: auto; }
.traffic-reports > label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 8px; }
.traffic-reports select { width: 100%; font: 14px var(--sans); min-height: 44px; padding: 8px 12px; border: 1px solid var(--rule-2); border-radius: 8px; background: var(--paper); color: var(--forest); }
.traffic-coverage { font-size: 12px; line-height: 1.5; color: var(--ink-3); margin: 14px 0; }
.traffic-report { padding-block: 16px; border-top: 1px solid var(--rule); }
.traffic-report h3 { font: 600 14px/1.5 var(--sans); margin: 0 0 6px; }
.traffic-report p { font-size: 13px; line-height: 1.5; margin: 6px 0; }
.traffic-report small { font-size: 11px; line-height: 1.5; color: var(--ink-3); display: block; margin-top: 8px; }
.traffic-report a { font-size: 12px; display: inline-block; padding-block: 6px; }
.traffic-report.is-selected { border-left: 3px solid var(--clay); padding-left: 12px; }
.traffic-limit { font-size: 13px; line-height: 1.6; color: var(--ink-3); }
@media (max-width: 900px) {
 .traffic-layout { grid-template-columns: minmax(0, 1fr); }
 .traffic-reports { border-left: 0; border-top: 1px solid var(--rule); max-height: 480px; }
 .traffic-map-tools { gap: 6px; }
}
@media (max-width: 420px) {
 .traffic-map-tools { padding: 8px; }
 .page-conditions .traffic-map-tools button { padding: 7px 9px; font-size: 11px; }
 .traffic-zoom { margin-left: 0; }
 .page-conditions .traffic-zoom button { font-size: 22px; }
}
