.footfall-map-active .leaflet-tile-pane{filter:saturate(.3) brightness(1.06) contrast(.93)}
.footfall-panel{border-top:1px solid var(--line,#e2e7ef);padding:10px 0;margin:0;background:#fff;color:var(--ink,#0f183a);font-size:12px;line-height:1.5;min-width:0}
.footfall-toggle{display:flex;align-items:center;gap:8px;min-height:30px;color:var(--navy,#1f3075);font-size:14px;font-weight:600;cursor:pointer}
.footfall-toggle input{width:16px;height:16px;min-height:16px;margin:0;padding:0;accent-color:var(--cyan-dark,#007f94)}
.footfall-period{margin-left:auto;color:var(--muted,#647086);font-size:11px;font-weight:400;white-space:nowrap}
.footfall-details{margin:2px 0 0 24px;color:var(--muted,#647086)}
.footfall-details summary{width:fit-content;font-size:11px;color:var(--muted,#647086);cursor:pointer}
.footfall-details>p{margin:8px 0;font-size:12px;line-height:1.5;max-width:65ch}
.footfall-details>a{display:block;width:fit-content;margin:5px 0;font-size:11px;color:var(--navy,#1f3075)}
.footfall-radius-label{display:flex;align-items:center;gap:10px;margin:10px 0;color:var(--muted,#647086);font-size:11px}
.footfall-radius-label select{width:90px;min-height:30px;padding:4px 7px;border:1px solid var(--line,#e2e7ef);border-radius:3px;background:#fff;color:var(--navy,#1f3075);font:inherit}
.footfall-action{min-height:30px;padding:4px 8px;border:1px solid var(--line,#e2e7ef);border-radius:3px;background:#fff;color:var(--navy,#1f3075);font-size:11px;cursor:pointer}
.footfall-action:hover{background:#f1f7fa}.footfall-action:disabled{opacity:.55;cursor:default}
.footfall-toggle input:focus-visible,.footfall-details summary:focus-visible,.footfall-action:focus-visible,.footfall-radius-label select:focus-visible{outline:2px solid var(--cyan-dark,#007f94);outline-offset:3px}
.footfall-motion-note{margin-left:7px;font-size:11px;color:var(--muted,#647086)}
.footfall-status{display:flex;align-items:center;gap:8px;margin:5px 0 5px 24px;font-size:11px}
.footfall-loading{color:var(--muted,#647086)}.footfall-error{color:#985b13}
.footfall-legend{min-width:220px;max-width:360px;padding:10px 0;color:var(--navy,#1f3075)}
.footfall-legend>strong{display:block;margin-bottom:7px;font-size:13px;font-weight:600}
.footfall-legend-bar{height:7px;border-radius:2px;background:linear-gradient(90deg,#008a48 0%,#e6b519 33.333%,#f07216 66.667%,#d62235 100%)}
.footfall-legend-ticks{display:flex;justify-content:space-between;margin-top:3px;font-size:12px;font-variant-numeric:tabular-nums}
.footfall-legend small{display:block;margin-top:3px;color:var(--muted,#647086);font-size:11px;line-height:1.4}
.leaflet-footfallStreets-pane .footfall-flow{animation:footfall-stream 4.8s linear infinite}
.footfall-motion-paused .footfall-flow{animation-play-state:paused}
@keyframes footfall-stream{from{stroke-dashoffset:0}to{stroke-dashoffset:-92}}
@media(prefers-reduced-motion:reduce){.leaflet-footfallStreets-pane .footfall-flow{animation:none;stroke-dashoffset:0}}
@media(max-width:600px){.footfall-toggle{font-size:12px}.footfall-period{font-size:11px}.footfall-legend{max-width:none;min-width:0}}

.detail-content .footfall-panel{margin:0;padding:8px 0}
.detail-content .footfall-details{margin:2px 0 0 24px;padding:0;border:0}
.footfall-panel .footfall-details>summary{margin:0;font-size:12px;line-height:1.5}
.footfall-panel .footfall-details[open]>summary{margin-bottom:7px}
.footfall-panel .footfall-details>p{font-size:12px;line-height:1.55}
.footfall-panel .footfall-details>a{font-size:12px}
.footfall-legend small{font-size:11px}
