.fishway-history { margin-top:20px; padding-top:16px; border-top:1px solid #dbe5ef; color:#143653; }
.fishway-history h3 { font-size:16px; margin:0; }
.fish-history-heading { display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap; }
.fishway-history fieldset { display:flex; flex-wrap:wrap; gap:12px; border:0; padding:0; margin:0; }
.fishway-history legend { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
.fishway-history label { display:inline-flex; align-items:center; gap:5px; font-size:13px; }
.fishway-history p { font-size:13px; line-height:1.5; margin:10px 0; }
.fishway-history svg { width:100%; display:block; }
.fishway-history [data-chart] { position:relative; }
.fishway-history svg { cursor:crosshair; touch-action:pan-y; }
.fish-history-crosshair { pointer-events:none; }
.fish-history-crosshair[hidden], .fish-history-tooltip[hidden] { display:none; }
.fish-history-crosshair line { stroke:#60768a; stroke-width:1; stroke-dasharray:4 3; }
.fish-history-crosshair circle { fill:none; stroke:#123452; stroke-width:2; }
.fish-history-tooltip { position:absolute; z-index:2; pointer-events:none; max-width:calc(100% - 16px); padding:8px 10px; border-radius:7px; background:#123452; color:white; font-size:12px; line-height:1.45; }
.fishway-history .fish-history-tooltip small { color:#d6e4ef; }
.fishway-history svg text { font-size:12px; fill:#526d82; font-family:inherit; }
.fish-history-grid { stroke:#e3ebf1; stroke-width:1; }
.fish-history-legend { display:flex; gap:16px; font-size:13px; }
.fishway-history details { margin-top:12px; font-size:13px; }
.fishway-history summary { cursor:pointer; font-weight:600; padding:6px 0; }
.fish-history-table { max-height:340px; overflow:auto; margin-top:8px; }
.fishway-history table { width:100%; border-collapse:collapse; font-size:13px; }
.fishway-history th, .fishway-history td { text-align:left; padding:8px; border-bottom:1px solid #e3ebf1; vertical-align:top; }
.fishway-history th { background:#f5f8fb; position:sticky; top:0; }
.fishway-history small { display:block; color:#617b90; font-size:12px; max-width:320px; }
.fishway-history circle:focus { outline:2px solid #143653; }
@media(max-width:600px) { .fish-history-table table { min-width:460px; } }
