/* Stop page only. Reserve the scrollbar lane independently of numeric labels. */
#stopsPage{display:flex;flex-direction:column;gap:16px;min-width:0}
#stopsPage #stopsTable{display:contents}
#stopsPage .stop-period{order:1}
#stopsPage #stopsTable>.filters{order:2;background:#061a2a;border:1px solid var(--line);border-radius:16px;padding:14px;align-items:end;gap:12px}
#stopsPage #stopsTable>.filters label{font-size:11px;min-width:125px;gap:6px}
#stopsPage #stopsTable>.filters input,#stopsPage #stopsTable>.filters select{font-size:12px;max-width:220px}
#stopsPage #stopsTable>.filters label:first-child{flex:1;min-width:220px}
#stopsPage #stopsTable>.filters label:first-child input{max-width:none}
#stopsPage #stopsTotals{order:0}
#stopsPage .stop-metrics{display:grid;grid-template-columns:1.1fr 1.6fr 1fr 1fr 1fr;gap:12px}
#stopsPage .stop-metric{border:1px solid #24607880;border-radius:17px;padding:18px;background:linear-gradient(140deg,#0c2b40,#061522);min-width:0;display:flex;flex-direction:column;gap:8px}
#stopsPage .stop-metric label{font-size:11px;color:#b8d3e3;letter-spacing:.7px;text-transform:uppercase}
#stopsPage .stop-metric strong{font-size:32px;font-weight:750;color:var(--cyan);line-height:1.2;font-variant-numeric:tabular-nums;white-space:nowrap}
#stopsPage .stop-metric strong em{font-size:14px;font-style:normal;font-weight:500;margin-left:6px}
#stopsPage .stop-metric small{font-size:11px;line-height:1.6}
#stopsPage .stop-metric.warn strong{color:var(--amber)}
#stopsPage .stop-scope{font-size:11px;margin:12px 2px 0;line-height:1.7;color:var(--muted)}
#stopsPage .stop-rankings{order:3;gap:16px}
#stopsPage .stop-rankings .panel{margin:0;min-width:0}
#stopsPage .stop-rankings h2{font-size:13px;margin-bottom:8px}
#stopsPage .stop-rankings .page-note{font-size:11px;line-height:1.6;margin-bottom:16px}
#stopsPage .stop-bars{max-height:300px;overflow-y:auto;overflow-x:hidden;scrollbar-gutter:stable;padding:0 22px 0 0;scrollbar-width:thin;scrollbar-color:#335b70 #091c2a}
#stopsPage .stop-bars::-webkit-scrollbar{width:9px}
#stopsPage .stop-bars::-webkit-scrollbar-thumb{background:#335b70;border-radius:6px}
#stopsPage .stop-bars .rank-row{font-size:12px;align-items:start;gap:18px;padding:11px 0 18px}
#stopsPage .stop-bars .rank-row span{max-width:none;flex:1;min-width:0;overflow-wrap:anywhere}
#stopsPage .stop-bars .rank-row b{min-width:65px;text-align:right;flex-shrink:0;font-variant-numeric:tabular-nums}
#stopsPage .stop-detail-grid{order:4;gap:16px}
#stopsPage .stop-detail-grid .panel{margin:0;min-width:0}
#stopsPage #stopsHistoryHeading{order:5;margin:8px 0 0}
#stopsPage #stopsTable>.table-tools-export{order:6;margin:0}
#stopsPage #stopsTable>.column-tools{order:7}
#stopsPage #stopsTable>[data-summary]{order:8}
#stopsPage #stopsTable>[data-rows]{order:9}
#stopsPage #stopsTable>.paging{order:10}
#stopsPage #stopsSource{order:11;border:1px solid var(--line);border-radius:14px;padding:16px;background:#061522}
#stopsPage #stopsSource summary{cursor:pointer;font-size:12px;color:var(--cyan)}
#stopsPage .stop-detail-grid table{width:100%;font-size:12px}
#stopsPage th,#stopsPage td{font-size:11px;padding:12px;white-space:normal;line-height:1.5}
#stopsPage #stopsTable>[data-rows] th,#stopsPage #stopsTable>[data-rows] td{min-width:120px}
#stopsPage #stopsTable>[data-rows] td:nth-child(6){min-width:300px;max-width:460px}
#stopsPage .stop-detail-grid .table-scroll{max-height:360px;scrollbar-gutter:stable}
#stopsPage .stop-footnote{font-size:11px;line-height:1.7;color:var(--muted)}
@media(max-width:1200px){#stopsPage .stop-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}#stopsPage .stop-metric strong{font-size:28px}}
@media print{#stopsPage .stop-bars,#stopsPage .table-scroll{max-height:none;overflow:visible}#stopsPage .stop-metrics{grid-template-columns:repeat(3,1fr)}}
