/* A compact age history sits beside the live trade animation and shares its controls. */
.cns-fifo-flow-age-chart {
 min-width:0; max-width:100%; margin:0; padding:8px;
 border:1px solid #c1acf53d; border-radius:9px;
 background:radial-gradient(ellipse at 0 0,#c1acf509,transparent 65%),#10151f;
 color:#bdafcd;
}
.cns-fifo-flow-age-chart,
.cns-fifo-flow-age-chart * { box-sizing:border-box; }
.cns-fifo-flow-age-chart .cns-fifo-flow-age-heading { min-width:0; margin:0; }
.cns-fifo-flow-age-chart .cns-fifo-flow-age-heading h5 {
 max-width:none; margin:0; color:#e5d7f2;
 font:600 16px/1.35 'IBM Plex Sans',sans-serif; letter-spacing:-.015em;
}
.cns-fifo-flow-age-chart p.cns-fifo-flow-age-subtitle {
 max-width:none; margin:4px 0 0; color:#ac9fbe;
 font:400 10px/1.4 'IBM Plex Sans',sans-serif;
}
.cns-fifo-flow-age-chart .cns-fifo-flow-age-readings {
 display:grid; grid-template-columns:minmax(0,1fr); gap:3px;
 min-width:0; margin:5px 0; padding:0;
}
.cns-fifo-flow-age-chart p.cns-fifo-flow-age-reading {
 min-width:0; max-width:none; margin:0;
 color:#c5e6d9; font:500 11px/1.4 'IBM Plex Sans',sans-serif;
 font-variant-numeric:tabular-nums; overflow-wrap:break-word;
}
.cns-fifo-flow-age-chart p.cns-fifo-flow-age-target {
 min-width:0; max-width:none; margin:0;
 color:#d5b491; font:400 10px/1.4 'IBM Plex Sans',sans-serif;
 font-variant-numeric:tabular-nums; overflow-wrap:break-word;
}
.cns-fifo-flow-age-chart :is(.cns-fifo-flow-age-reading,.cns-fifo-flow-age-target) strong { color:inherit; font-weight:600; }
.cns-fifo-flow-age-chart .cns-fifo-flow-age-svg {
 display:block; width:100%; min-width:0; max-width:100%; height:160px; overflow:hidden;
 border:1px solid #c1acf51c; border-radius:6px; background:#0b111a;
}
.cns-fifo-flow-age-chart :is(.flow-age-grid,.flow-age-axis,.flow-age-reference,.flow-age-history,.flow-age-forecast,.flow-age-live-connector) { vector-effect:non-scaling-stroke; }
.cns-fifo-flow-age-chart .flow-age-grid { fill:none; stroke:#c1acf51c; stroke-width:1; }
.cns-fifo-flow-age-chart .flow-age-axis { fill:none; stroke:#b7a2d147; stroke-width:1; }
.cns-fifo-flow-age-chart .flow-age-tick { fill:#a89ab9; font:10px 'IBM Plex Mono',monospace; font-variant-numeric:tabular-nums; }
.cns-fifo-flow-age-chart .flow-age-axis-label { fill:#b9aaca; font:11px 'IBM Plex Sans',sans-serif; }
.cns-fifo-flow-age-chart .flow-age-reference { fill:none; stroke:#e2b17c9c; stroke-width:1.2; stroke-dasharray:3 4; }
.cns-fifo-flow-age-chart .flow-age-reference-label { fill:#d5b08c; font:10px 'IBM Plex Sans',sans-serif; }
.cns-fifo-flow-age-chart .flow-age-area { stroke:none; opacity:.75; }
.cns-fifo-flow-age-chart .flow-age-history { fill:none; stroke:#99dec0; stroke-width:2.4; stroke-linecap:round; stroke-linejoin:round; }
.cns-fifo-flow-age-chart .flow-age-forecast { fill:none; stroke:#bda8e0; stroke-width:1.6; stroke-dasharray:4 5; stroke-linecap:round; stroke-linejoin:round; opacity:.75; }
.cns-fifo-flow-age-chart .flow-age-live-connector { fill:none; stroke:#edbe94; stroke-width:1.5; stroke-dasharray:2 3; stroke-linecap:round; }
.cns-fifo-flow-age-chart .flow-age-live-halo { fill:#c1acf51c; stroke:#c1acf54d; stroke-width:1; }
.cns-fifo-flow-age-chart .flow-age-live-point { stroke:#10151f; stroke-width:2; }
.cns-fifo-flow-age-chart p.cns-fifo-flow-age-caption {
 max-width:none; margin:5px 0 0; color:#a89ab7;
 font:400 9px/1.45 'IBM Plex Sans',sans-serif;
}
.cns-fifo-flow-age-chart :is(.flow-age-legend-solid,.flow-age-legend-dashed) {
 display:inline-flex; align-items:center; gap:5px; margin-right:10px; white-space:nowrap;
}
.cns-fifo-flow-age-chart :is(.flow-age-legend-solid,.flow-age-legend-dashed)::before { content:""; display:inline-block; width:18px; height:0; border-top:2px solid #99dec0; }
.cns-fifo-flow-age-chart .flow-age-legend-dashed::before { border-top:1.5px dashed #bda8e0; }
@media (max-width:600px) {
 .cns-fifo-flow-age-chart { padding:8px; border-radius:7px; }
 .cns-fifo-flow-age-chart .cns-fifo-flow-age-heading h5 { font-size:16px; }
 .cns-fifo-flow-age-chart p.cns-fifo-flow-age-subtitle { font-size:10px; }
 .cns-fifo-flow-age-chart .cns-fifo-flow-age-readings { gap:3px; margin-block:5px; }
 .cns-fifo-flow-age-chart p.cns-fifo-flow-age-reading { font-size:10px; }
 .cns-fifo-flow-age-chart p.cns-fifo-flow-age-target { font-size:9px; }
 .cns-fifo-flow-age-chart .cns-fifo-flow-age-svg { height:160px; }
 .cns-fifo-flow-age-chart .flow-age-tick { font-size:9px; }
 .cns-fifo-flow-age-chart :is(.flow-age-axis-label,.flow-age-reference-label) { font-size:9px; }
 .cns-fifo-flow-age-chart p.cns-fifo-flow-age-caption { font-size:9px; }
 .cns-fifo-flow-age-chart :is(.flow-age-legend-solid,.flow-age-legend-dashed) { margin-right:10px; }
}
@media (prefers-reduced-motion:reduce) {
 .cns-fifo-flow-age-chart,
 .cns-fifo-flow-age-chart * { animation:none!important; transition:none!important; }
}
