/* Compact operational forecast; chart values, scales and race colours are unchanged. */
.flow-page{min-width:0}
.flow-days{display:flex;gap:5px;flex-wrap:nowrap;margin:6px 0 8px;border-bottom:1px solid #ddd8d8;padding:0 0 1px;overflow-x:auto}
.flow-days button{min-height:34px;padding:7px 10px;border:1px solid #ddd8d8;border-bottom:3px solid transparent;border-radius:6px 6px 0 0;font-size:11px;font-weight:600;background:#fff;color:#51444c;white-space:nowrap}
.flow-days button[aria-pressed=true]{background:#fceaf5;color:#bd006d;border-bottom-color:#ce007f}
.flow-point-label{display:block;font-size:11px;font-weight:600;margin:0}
#flow-point{font:inherit;width:100%;max-width:420px;min-height:30px;padding:5px 8px;background:#fff;border:1px solid #d9ccd4;border-radius:5px}
#app .flow-page .ds-filter-block{margin:4px 0}
#app .flow-page .ds-filter-toolbar{min-height:29px;margin:0}
.flow-legend{display:flex;gap:12px;flex-wrap:wrap;align-items:center;margin:5px 0;font-size:11px;font-weight:600}
.flow-legend>span{display:inline-flex;align-items:center;gap:4px}
.flow-dot{display:inline-block;width:8px;height:8px;min-width:8px;border-radius:2px;margin-right:4px}
.flow-estimate{font-size:9px;letter-spacing:.04em;background:#fff2d7;color:#705711;padding:3px 6px;border-radius:4px}
.flow-help{font-size:10px;line-height:1.35;color:#756b70;margin:4px 0 7px}
#app .flow-page .flow-station{padding:10px 11px;margin:8px 0;min-width:0;border-radius:6px}
.flow-station-heading{display:flex;justify-content:space-between;align-items:center;gap:8px}
#app .flow-page .flow-station-heading h3{margin:0;font-size:14px;line-height:1.3;color:#231f20}
#app .flow-page .flow-station-heading p{margin:2px 0 0;font-size:10px;line-height:1.3;color:#756b70}
.flow-badge{white-space:nowrap;background:#f6eaf1;color:#8f1a59;border-radius:4px;padding:3px 6px;font-size:9px}
.flow-metrics{display:grid;grid-template-columns:1fr 1fr 1.3fr;gap:6px;margin:7px 0}
.flow-metrics>div{display:flex;align-items:baseline;gap:7px;flex-wrap:wrap;padding:6px 8px;background:#f6f5f4;border-radius:5px}
.flow-metrics dt{font-size:10px;color:#756b70;margin:0}
.flow-metrics dd{margin:0;font-size:17px;line-height:1.3;font-weight:700;color:#231f20;font-variant-numeric:tabular-nums}
.flow-metrics dd small{font-size:10px;font-weight:500}
.flow-metrics .flow-peak-metric{background:#fce8f2}
.flow-peak-metric>small{font-size:10px;color:#83234e;line-height:1.3}
.flow-chart-scroll{overflow-x:auto;overscroll-behavior-x:contain;border:1px solid #e6dfe3;border-radius:5px;max-width:100%;scrollbar-width:thin}
.flow-chart-scroll:focus-visible{outline:2px solid #ce007f;outline-offset:2px}
.flow-table{border-collapse:separate;border-spacing:0;table-layout:fixed;width:100%;min-width:calc(100px + var(--flow-columns)*58px);font-size:10px}
.flow-table th,.flow-table td{padding:4px;text-align:center;border-bottom:1px solid #eee8ec}
.flow-table th:first-child{position:sticky;left:0;z-index:2;width:100px;background:#fff;text-align:left;padding-left:8px;font-weight:600}
.flow-table thead th{background:#f6f3f5;font-weight:500;white-space:nowrap}
.flow-table .flow-clock{font-size:11px;font-weight:700;color:#4e2d40}
.flow-table .flow-peak{background:#fce9f3}
.flow-table .flow-bar-row td{padding:4px 5px 0}
.flow-bar-row th small{display:block;font-size:9px;font-weight:400;margin-top:2px}
.flow-bar-space{height:72px;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:3px}
.flow-bar-space>strong{font-size:10px;line-height:12px;color:#342530}
.flow-bar-stack{display:flex;flex-direction:column-reverse;flex-shrink:0;width:62%;max-width:30px;overflow:hidden;border-radius:2px 2px 0 0}
.flow-bar-stack>span{display:block;flex-shrink:0}
.flow-race-row td{font-variant-numeric:tabular-nums}
.flow-race-row th{white-space:nowrap}
.flow-note{font-size:10px;line-height:1.4;margin-top:10px}
.flow-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:720px){
 .flow-days button{min-height:36px;font-size:11px;padding:7px 8px}
 #app .flow-page .flow-station{padding:8px;margin:7px 0}
 .flow-station-heading{align-items:flex-start}
 #app .flow-page .flow-station-heading h3{font-size:13px}
 .flow-badge{font-size:8px;padding:3px 4px}
 .flow-metrics{gap:4px;margin:6px 0}
 .flow-metrics>div{padding:5px 6px;gap:2px 4px;align-content:start}
 .flow-metrics dt{flex-basis:100%;font-size:9px}
 .flow-metrics dd{font-size:15px}
 .flow-metrics dd small,.flow-peak-metric>small{font-size:9px}
 .flow-help{font-size:10px}
 .flow-table{min-width:calc(88px + var(--flow-columns)*52px)}
 .flow-table th:first-child{width:88px;font-size:9px}
 .flow-legend{gap:8px;font-size:10px}
}
/* Match Logística tabs despite the shared legacy button reset. */
body #app.epic-system[data-ds-surface=module] .flow-page .flow-days.desk-section-tabs>button.desk-tab{min-height:34px;padding:8px 11px;border:1px solid #ddd8d8;border-bottom:3px solid transparent;border-radius:6px 6px 0 0;background:#fff;color:#51444c;font-weight:600;white-space:nowrap}
body #app.epic-system[data-ds-surface=module] .flow-page .flow-days.desk-section-tabs>button.desk-tab[aria-pressed=true]{background:#fceaf5;color:#bd006d;border-bottom-color:#ce007f}
