.auv-flow-section {margin:64px 0 22px;scroll-margin-top:110px;}
.auv-flow-section h2 {margin:12px 0 18px;}
.auv-flow-section .flow-intro {max-width:710px;color:#b8c7ce;}
.auv-flow-viewer {overflow:hidden;border:1px solid #29404b;border-radius:22px;background:#060b10;min-width:0;}
.flow-topline {display:flex;justify-content:space-between;align-items:center;gap:12px;padding:20px 24px;border-bottom:1px solid #cedae2;background:#e7eff5;color:#516572;font-size:12px;letter-spacing:.04em;}
.flow-topline span:first-child {color:#243f50;display:flex;align-items:center;gap:9px;}
.flow-topline i {width:7px;height:7px;border-radius:50%;background:#208cae;}
.auv-flow-viewer .auv-model-stage {aspect-ratio:16/9;}
.auv-flow-viewer.is-ready canvas {visibility:visible;}
.auv-flow-viewer.is-ready .auv-model-poster {visibility:hidden;}
.flow-stage-note {position:absolute;left:24px;bottom:20px;display:flex;flex-direction:column;gap:2px;pointer-events:none;color:#596f7d;font-size:11px;letter-spacing:.03em;}
.flow-stage-note span:first-child {color:#264d67;font-size:10px;letter-spacing:.16em;}
.flow-colour-key {position:absolute;right:24px;bottom:20px;display:flex;flex-direction:column;gap:8px;color:#596f7d;font-size:10px;pointer-events:none;}
.flow-colour-ramp {width:165px;height:4px;border-radius:3px;background:linear-gradient(90deg,#0030cb,#00a9ff,#00eecc,#76fa33,#ffee00,#ff4e00,#b00000);}
.auv-flow-viewer .auv-model-controls {border-top:1px solid #20333e;}
.auv-flow-viewer [data-action="play"] {color:#bbf1fc;border-color:#42636c;min-width:93px;}
.auv-flow-viewer [data-action="flow"] {min-width:92px;}
.flow-control-divider {width:1px;align-self:stretch;background:#29404b;margin:5px 5px;}
.auv-flow-section .flow-caption {font-size:13px;line-height:1.65;color:#91a3ac;margin:15px 0 0;max-width:860px;}
.flow-calculations {border-top:1px solid #29383f;border-bottom:1px solid #29383f;margin:28px 0 60px;}
.flow-calculations>summary {padding:20px 0;color:#bbccd4;font-size:15px;cursor:pointer;}
.flow-calculations>summary:focus-visible {outline:2px solid #75d2e5;outline-offset:4px;}
.flow-calculations>.auv-hydro {margin-top:24px;}
@media(max-width:720px){.flow-topline{padding:15px;font-size:10px;}.auv-flow-viewer .auv-model-stage{aspect-ratio:4/3;}.flow-stage-note{left:15px;bottom:15px;font-size:10px;}.flow-colour-key{right:15px;bottom:15px;font-size:8px;}.flow-colour-ramp{width:130px;}.flow-control-divider{display:none;}.auv-flow-viewer .auv-model-controls button{min-height:42px;}.auv-flow-section{margin-top:42px;}.flow-caption{font-size:12px;}}

.flow-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:26px 0;}
.flow-metrics>div{border-left:2px solid #39626e;padding:4px 18px;display:flex;flex-direction:column;gap:7px;}
.flow-metrics strong{font-size:27px;color:#e6f4f6;font-weight:500;letter-spacing:-.04em;}.flow-metrics small{font-size:15px;letter-spacing:0;}
.flow-metrics span{font-size:11px;color:#91a3ac;line-height:1.5;}
.flow-ticks{display:flex;justify-content:space-between;font-variant-numeric:tabular-nums;}.flow-colour-key{width:180px;gap:5px;}.flow-colour-ramp{width:100%;height:8px;border-radius:2px;background:linear-gradient(90deg,#000080 0%,#0000ff 12.5%,#0080ff 25%,#00ffff 37.5%,#80ff80 50%,#ffff00 62.5%,#ff8000 75%,#ff0000 87.5%,#800000 100%);}
.flow-fields{background:#101d25;}.flow-fields button[aria-pressed="true"]{border-color:#8ae0e9;background:#203c48;color:#e9ffff;}
.flow-findings{margin-top:34px;}.flow-findings h3{font-size:20px;margin-bottom:14px;}.flow-findings p,.flow-method p{font-size:14px;line-height:1.75;color:#b2c4cd;max-width:900px;}
.flow-table-wrap{overflow-x:auto;margin:20px 0;border:1px solid #29404b;border-radius:12px;}.auv-flow-section table{width:100%;border-collapse:collapse;text-align:left;font-size:12px;color:#bed0d8;}.auv-flow-section th,.auv-flow-section td{padding:13px 16px;border-bottom:1px solid #233640;vertical-align:top;}.auv-flow-section th{color:#eef7f9;background:#11232c;font-weight:500;}.auv-flow-section tbody tr:last-child td{border:0;}
.flow-findings .flow-small{font-size:12px;color:#8cabb8;}.flow-method{margin-top:28px;border-top:1px solid #29404b;padding-top:18px;}.flow-method summary{cursor:pointer;color:#ccedf2;font-size:14px;}.flow-method summary:focus-visible{outline:2px solid #75d2e5;outline-offset:5px;}.flow-download{display:inline-block;padding:11px 16px;border:1px solid #42636c;border-radius:8px;}
@media(max-width:720px){.flow-metrics{gap:8px;}.flow-metrics>div{padding:2px 10px;}.flow-metrics strong{font-size:21px;}.flow-metrics span{font-size:10px;}.flow-topline{flex-wrap:wrap;gap:6px;}.flow-colour-key{width:126px;}.flow-stage-note{max-width:115px;font-size:8px;}.auv-flow-section th,.auv-flow-section td{padding:11px 10px;min-width:84px;font-size:11px;}.auv-flow-section th:first-child,.auv-flow-section td:first-child{min-width:128px;}.flow-fields{display:flex;gap:7px;}.flow-fields button{flex:1;}}

/* Neutral-grey presentation; computation and colour scale unchanged. */
.flow-topline{background:#d7d9dc;border-bottom-color:#bfc3c7;}
.auv-flow-viewer .auv-model-stage{background:#dedfe0;}

/* Dark neutral background; numerical fields and colours remain unchanged. */
.flow-topline{background:#303336;border-bottom-color:#50555a;color:#c5ccd2;}
.flow-topline span:first-child{color:#eef1f3;}
.auv-flow-viewer .auv-model-stage{background:#3d4042;}
.flow-colour-key{color:#edf1f4;text-shadow:0 1px 2px #202224;}
