.aq-ml-page {
    --aq-night: #061a27;
    --aq-deep: #0a2634;
    --aq-ink: #12303d;
    --aq-cyan: #48dfcf;
    --aq-teal: #188f91;
    --aq-blue: #68b8f3;
    --aq-amber: #efa652;
    --aq-muted: #687f89;
    --aq-line: #cfdee1;
    --aq-paper: #f3f7f8;
    overflow-x: hidden;
    color: var(--aq-ink);
    background: var(--aq-paper);
    font-family: Inter, "Segoe UI", Arial, sans-serif;
}

.aq-ml-page main { overflow: hidden; }

.aq-ml-page h1,
.aq-ml-page h2,
.aq-ml-page h3,
.aq-ml-page strong {
    font-family: Manrope, Inter, sans-serif;
    letter-spacing: -0.035em;
}

.aq-ml-page sub { font-size: 0.64em; vertical-align: -0.2em; }

/* Hero and real prediction workspace */

.forecast-stage {
    position: relative;
    min-height: 600px;
    overflow: hidden;
    padding: 20px 0 30px;
    color: #edf9fb;
    background:
        radial-gradient(circle at 78% 18%, rgba(40, 144, 166, 0.2), transparent 27%),
        linear-gradient(135deg, #04131f, #092432 68%, #061925);
}

.forecast-stage::before {
    position: absolute;
    top: -45%;
    right: -12%;
    width: min(72vw, 920px);
    aspect-ratio: 1;
    content: "";
    background: radial-gradient(circle, rgba(74, 224, 208, 0.09), transparent 64%);
    filter: blur(10px);
    animation: moving-light 10s ease-in-out infinite alternate;
}

.airfield {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0.72;
}

.forecast-aurora,
.forecast-aurora i { position: absolute; pointer-events: none; }
.forecast-aurora { inset: 0; overflow: hidden; }

.forecast-aurora i {
    display: block;
    width: 270px;
    height: 270px;
    background: rgba(67, 221, 207, 0.08);
    border-radius: 50%;
    filter: blur(58px);
    animation: haze-drift 12s ease-in-out infinite alternate;
}

.forecast-aurora i:nth-child(1) { top: 8%; left: 34%; }
.forecast-aurora i:nth-child(2) { right: 1%; bottom: -18%; width: 360px; height: 360px; background: rgba(76, 140, 225, 0.09); animation-delay: -4s; }
.forecast-aurora i:nth-child(3) { bottom: 0; left: -9%; width: 210px; height: 210px; background: rgba(73, 226, 207, 0.05); animation-delay: -8s; }

.forecast-stage .container { position: relative; z-index: 2; }

.forecast-topline {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.forecast-topline a,
.forecast-topline p {
    margin: 0;
    color: #95aeb8;
    font-size: 0.78rem;
    font-weight: 700;
}

.forecast-topline a { display: inline-flex; align-items: center; gap: 9px; }
.forecast-topline a span { color: var(--aq-cyan); transition: transform 180ms ease; }
.forecast-topline a:hover span { transform: translateX(-4px); }
.forecast-topline p { letter-spacing: 0.06em; text-transform: uppercase; }

.forecast-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.72fr) minmax(560px, 1.28fr);
    align-items: center;
    gap: clamp(34px, 4.5vw, 60px);
}

.forecast-intro { max-width: 545px; }

.forecast-eyebrow {
    margin: 0 0 13px;
    color: var(--aq-cyan);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.forecast-intro h1 {
    margin: 0;
    color: #effbfc;
    font-size: clamp(2.55rem, 4.25vw, 4.1rem);
    font-weight: 700;
    line-height: 0.97;
}

.forecast-intro h1 span {
    display: block;
    color: transparent;
    background: linear-gradient(90deg, var(--aq-cyan), var(--aq-blue));
    background-clip: text;
}

.forecast-deck {
    max-width: 540px;
    margin: 15px 0 0;
    color: #b8ccd4;
    font-size: 1rem;
    line-height: 1.55;
}

.forecast-facts {
    display: grid;
    margin: 18px 0 0;
    border-top: 1px solid rgba(145, 202, 216, 0.2);
    border-bottom: 1px solid rgba(145, 202, 216, 0.2);
}

.forecast-facts > div {
    display: grid;
    grid-template-columns: 118px 1fr;
    padding: 7px 0;
    border-bottom: 1px solid rgba(145, 202, 216, 0.12);
    gap: 12px;
}

.forecast-facts > div:last-child { border-bottom: 0; }
.forecast-facts dt,
.forecast-facts dd { margin: 0; }
.forecast-facts dt { color: #7896a2; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; }
.forecast-facts dd { color: #e8f4f6; font-size: 0.82rem; font-weight: 700; }
.station-note { margin: 12px 0 0; color: #7e9aa5; font-size: 0.78rem; }
.station-note span { margin-right: 9px; color: #b9cdd5; }

.prediction-workbench {
    padding: 18px 20px 16px;
    color: var(--aq-ink);
    background: rgba(249, 252, 252, 0.965);
    border: 1px solid rgba(151, 202, 211, 0.38);
    border-radius: 10px;
    box-shadow: 0 26px 60px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(9px);
}

.workbench-heading {
    display: flex;
    justify-content: space-between;
    align-items: start;
    padding-bottom: 9px;
    border-bottom: 1px solid var(--aq-line);
    gap: 20px;
}

.workbench-heading p,
.workbench-heading h2 { margin: 0; }
.workbench-heading p { color: #267d83; font-size: 0.75rem; font-weight: 800; letter-spacing: 0.09em; text-transform: uppercase; }
.workbench-heading h2 { margin-top: 3px; color: #15333f; font-size: 1.12rem; }
.workbench-heading > span { color: #718992; font-size: 0.75rem; font-weight: 700; }

.forecast-form { margin-top: 10px; }
.forecast-form label { display: block; margin-bottom: 6px; color: #526c76; font-size: 0.8rem; font-weight: 700; }
.forecast-form > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.forecast-form input,
.forecast-form button { min-height: 38px; border-radius: 5px; font: inherit; font-size: 0.82rem; }
.forecast-form input { width: 100%; padding: 0 12px; color: #183541; background: #fff; border: 1px solid #bfd1d5; outline: none; }
.forecast-form input:focus { border-color: #2b9fa0; box-shadow: 0 0 0 3px rgba(43, 159, 160, 0.1); }
.forecast-form button { padding: 0 17px; cursor: pointer; color: #062027; background: var(--aq-cyan); border: 0; font-weight: 800; transition: background 180ms ease, transform 180ms ease; }
.forecast-form button:hover { background: #6be8da; transform: translateY(-1px); }
.forecast-form > small { display: block; margin-top: 5px; color: #738991; font-size: 0.75rem; }

.forecast-result {
    display: grid;
    grid-template-columns: minmax(170px, 0.78fr) minmax(290px, 1.22fr);
    align-items: stretch;
    margin-top: 12px;
    padding: 11px 0;
    border-top: 1px solid var(--aq-line);
    border-bottom: 1px solid var(--aq-line);
}

.primary-reading { display: grid; align-content: center; padding-right: 18px; border-right: 1px solid var(--aq-line); }
.primary-reading span,
.primary-reading strong,
.primary-reading small { display: block; }
.primary-reading span { color: #496670; font-size: 0.76rem; font-weight: 700; }
.primary-reading strong { margin-top: 2px; color: #147d80; font-size: clamp(2rem, 3.4vw, 2.7rem); font-variant-numeric: tabular-nums; }
.primary-reading small { color: #789097; font-size: 0.75rem; }

.supporting-readings {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    margin: 0;
    padding-left: 19px;
}

.supporting-readings div { padding: 5px 9px; }
.supporting-readings dt,
.supporting-readings dd { margin: 0; }
.supporting-readings dt { color: #758b93; font-size: 0.75rem; }
.supporting-readings dd { margin-top: 2px; color: #213f4a; font-size: 0.88rem; font-weight: 800; font-variant-numeric: tabular-nums; }

.history-chart { margin: 9px 0 0; }
.history-chart figcaption { display: flex; justify-content: space-between; align-items: center; color: #405f69; font-size: 0.76rem; font-weight: 700; gap: 14px; }
.chart-legend { display: flex; align-items: center; color: #748a92; font-size: 0.72rem; gap: 6px; }
.chart-legend i { width: 15px; height: 2px; background: #478692; }
.chart-legend i:nth-child(2) { margin-left: 7px; background: var(--aq-cyan); }
.chart-legend i:nth-child(3) { margin-left: 7px; background: var(--aq-amber); }
.chart-frame { position: relative; margin-top: 6px; padding-left: 22px; }
.chart-frame svg { display: block; width: 100%; height: 95px; overflow: visible; }
.axis-high,
.axis-low { position: absolute; left: 0; color: #8a9ba1; font-size: 0.68rem; }
.axis-high { top: 5px; }
.axis-low { bottom: 6px; }
.chart-grid { fill: none; stroke: #dce6e8; stroke-width: 1; }
.observed-line { fill: none; stroke: #477e89; stroke-width: 2.1; stroke-linejoin: round; stroke-linecap: round; }
.forecast-segment { fill: none; stroke: var(--aq-cyan); stroke-width: 2.5; stroke-dasharray: 5 4; }
.observed-line.is-drawing { animation: chart-draw 650ms ease both; }
.current-point { fill: #477e89; }
.forecast-point { fill: var(--aq-cyan); stroke: #fff; stroke-width: 2; }
.actual-point { fill: var(--aq-amber); stroke: #fff; stroke-width: 1.5; }
.chart-dates { display: flex; justify-content: space-between; padding-left: 24px; color: #82969d; font-size: 0.7rem; }
.console-message { margin: 7px 0 0; color: #72878f; font-size: 0.72rem; line-height: 1.4; }

/* Verified metric line */

.evidence-strip { color: #dbecef; background: #071a27; border-top: 1px solid rgba(143, 204, 217, 0.16); }
.evidence-grid { display: grid; grid-template-columns: repeat(5, 1fr); }
.evidence-grid > div { padding: 13px 18px; border-right: 1px solid rgba(143, 204, 217, 0.16); }
.evidence-grid > div:first-child { padding-left: 0; }
.evidence-grid > div:last-child { border-right: 0; }
.evidence-grid span,
.evidence-grid strong { display: block; }
.evidence-grid span { color: #7f9aa5; font-size: 0.74rem; }
.evidence-grid strong { margin-top: 3px; color: #eefafb; font-size: 1.05rem; }
.evidence-grid small { color: #8ba3ad; font-size: 0.7em; }

/* Chronological validation */

.validation-section { padding: 46px 0; background: #fff; }
.validation-layout { display: grid; grid-template-columns: minmax(300px, 0.72fr) minmax(520px, 1.28fr); align-items: center; gap: clamp(38px, 5vw, 62px); }

.section-copy > p:first-child,
.section-heading > p,
.workflow-heading > div > p,
.responsible-heading > p,
.source-shell > div > p {
    margin: 0;
    color: #177b81;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.section-copy h2,
.section-heading h2,
.workflow-heading h2,
.responsible-heading h2,
.source-shell h2 {
    margin: 6px 0 0;
    color: #112f3c;
    font-size: clamp(1.65rem, 2.45vw, 2.25rem);
    line-height: 1.13;
}

.section-copy > p:last-of-type { margin: 11px 0 0; color: #5e7680; font-size: 0.9rem; line-height: 1.55; }
.validation-summary { display: flex; margin: 17px 0 0; border-top: 1px solid var(--aq-line); border-bottom: 1px solid var(--aq-line); }
.validation-summary div { flex: 1; padding: 9px 12px; border-right: 1px solid var(--aq-line); }
.validation-summary div:first-child { padding-left: 0; }
.validation-summary div:last-child { border-right: 0; }
.validation-summary dt,
.validation-summary dd { margin: 0; }
.validation-summary dt { color: #748991; font-size: 0.73rem; }
.validation-summary dd { margin-top: 4px; color: #1c4855; font-size: 0.9rem; font-weight: 800; }

.fold-chart { margin: 0; padding: 5px 0; }
.fold-chart figcaption { display: flex; justify-content: space-between; align-items: center; margin-bottom: 17px; gap: 18px; }
.fold-chart figcaption strong { color: #294b57; font-size: 0.86rem; }
.fold-chart figcaption > span { display: flex; align-items: center; color: #72878f; font-size: 0.72rem; gap: 6px; }
.fold-chart figcaption i { width: 7px; height: 7px; background: #34b9b4; border-radius: 50%; }
.fold-chart figcaption i:nth-of-type(2) { margin-left: 7px; background: var(--aq-amber); }
.fold-row { display: grid; grid-template-columns: 50px minmax(0, 1fr) 80px; align-items: center; margin-bottom: 9px; gap: 12px; }
.fold-row > b { color: #768b93; font-family: Inter, sans-serif; font-size: 0.74rem; letter-spacing: 0; }
.fold-row > div { display: grid; gap: 4px; }
.fold-row i { display: block; width: var(--bar); min-width: 55px; height: 14px; overflow: hidden; font-style: normal; background: linear-gradient(90deg, #178e91, #43c8bf); border-radius: 0 9px 9px 0; transform-origin: left; }
.fold-row i.baseline-bar { background: linear-gradient(90deg, #d78b3c, #f2b668); }
.fold-row i span { display: block; padding-right: 6px; color: #082b32; font-size: 0.67rem; font-weight: 800; line-height: 14px; text-align: right; }
.fold-row > em { color: #267468; font-size: 0.7rem; font-style: normal; font-weight: 800; text-align: right; }
.fold-chart.is-visible .fold-row i { animation: bar-grow 650ms cubic-bezier(0.2, 0.8, 0.2, 1) both; }

/* Data and model evidence */

.evidence-section { padding: 46px 0 48px; background: #eef4f5; }
.section-heading { max-width: 640px; }
.evidence-columns { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 22px; border-top: 1px solid #bfd2d6; border-bottom: 1px solid #bfd2d6; }
.evidence-columns article { padding: 18px 22px; border-right: 1px solid #c9dadd; }
.evidence-columns article:first-child { padding-left: 0; }
.evidence-columns article:last-child { padding-right: 0; border-right: 0; }
.evidence-columns article > span { color: #177c82; font-size: 0.75rem; font-weight: 800; text-transform: uppercase; }
.evidence-columns h3 { margin: 6px 0 0; color: #1b3d4a; font-size: 1rem; }
.evidence-columns ul { margin: 10px 0 0; padding-left: 17px; }
.evidence-columns li { margin-bottom: 6px; color: #5b747e; font-size: 0.78rem; line-height: 1.45; }

.model-results { max-width: 880px; margin-top: 24px; }
.results-heading { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; gap: 18px; }
.results-heading span { color: #254956; font-size: 0.85rem; font-weight: 800; }
.results-heading small { color: #748b94; font-size: 0.72rem; }
.result-row { display: grid; grid-template-columns: minmax(180px, 0.8fr) minmax(280px, 1.5fr) 55px; align-items: center; min-height: 32px; gap: 14px; }
.result-row > span { color: #536f79; font-size: 0.78rem; }
.result-row > i { display: block; height: 6px; background: #d7e3e5; }
.result-row > i b { display: block; width: var(--result); height: 100%; background: #7799a0; transform-origin: left; }
.result-row > strong { color: #3b5963; font-family: Inter, sans-serif; font-size: 0.78rem; letter-spacing: 0; text-align: right; }
.result-row.is-selected > span,
.result-row.is-selected > strong { color: #13787c; font-weight: 800; }
.result-row.is-selected > i b { background: var(--aq-teal); }
.model-results.is-visible .result-row > i b { animation: bar-grow 650ms ease both; }

/* Pipeline retained from the approved direction */

.model-workflow {
    position: relative;
    overflow: hidden;
    padding: 46px 0 48px;
    color: #dcecef;
    background:
        radial-gradient(circle at 12% 90%, rgba(73, 226, 207, 0.09), transparent 26%),
        linear-gradient(125deg, #061624, #0a2432 62%, #061a27);
}

.model-workflow::after {
    position: absolute;
    right: -130px;
    bottom: -190px;
    width: 450px;
    height: 450px;
    content: "";
    border: 1px solid rgba(76, 196, 204, 0.09);
    border-radius: 50%;
    box-shadow: 0 0 0 60px rgba(76, 196, 204, 0.025), 0 0 0 120px rgba(76, 196, 204, 0.018);
    animation: moving-light 10s ease-in-out infinite alternate;
}

.model-workflow .container { position: relative; z-index: 1; }
.workflow-heading { display: flex; justify-content: space-between; align-items: end; gap: 32px; }
.workflow-heading > div > p { color: var(--aq-cyan); }
.workflow-heading h2 { color: #effafb; }
.workflow-heading > p { max-width: 440px; margin: 0; color: #91aab5; font-size: 0.9rem; line-height: 1.62; }

.workflow-track { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); margin: 28px 0 23px; padding: 0; list-style: none; }
.workflow-track::before { position: absolute; top: 22px; right: 8%; left: 8%; height: 1px; content: ""; background: linear-gradient(90deg, rgba(73, 226, 207, 0.1), rgba(73, 226, 207, 0.65), rgba(110, 185, 255, 0.25)); }
.workflow-track::after { position: absolute; top: 19px; left: 7%; width: 7px; height: 7px; content: ""; background: var(--aq-cyan); border-radius: 50%; box-shadow: 0 0 13px var(--aq-cyan); animation: pipeline-travel 6s ease-in-out infinite; }
.workflow-track li { position: relative; z-index: 1; display: grid; justify-items: center; padding: 0 14px; text-align: center; }
.workflow-track li > span { display: grid; place-items: center; width: 44px; height: 44px; color: var(--aq-cyan); background: #092333; border: 1px solid rgba(73, 226, 207, 0.36); border-radius: 50%; box-shadow: 0 0 0 6px rgba(73, 226, 207, 0.025); font-size: 0.75rem; font-weight: 800; transition: transform 200ms ease, box-shadow 200ms ease; }
.workflow-track li:hover > span { transform: translateY(-4px); box-shadow: 0 0 0 8px rgba(73, 226, 207, 0.06), 0 0 20px rgba(73, 226, 207, 0.12); }
.workflow-track li div { margin-top: 10px; }
.workflow-track strong { color: #edfafa; font-size: 0.84rem; }
.workflow-track p { margin: 6px 0 0; color: #809ca8; font-size: 0.76rem; line-height: 1.48; }

.model-specification { display: grid; grid-template-columns: minmax(300px, 0.72fr) minmax(470px, 1.28fr); color: #d9e9ed; border-top: 1px solid rgba(144, 211, 225, 0.18); border-bottom: 1px solid rgba(144, 211, 225, 0.18); }
.spec-code { display: grid; align-content: center; min-height: 135px; padding: 18px 26px 18px 0; border-right: 1px solid rgba(144, 211, 225, 0.18); }
.spec-code > span { color: #7797a4; font-size: 0.75rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.spec-code p { margin: 8px 0 6px; color: var(--aq-cyan); font-family: Manrope, sans-serif; font-size: 1.55rem; font-weight: 700; }
.spec-code small { color: #829eaa; font-size: 0.75rem; }
.model-specification dl { display: grid; grid-template-columns: repeat(3, 1fr); align-content: center; margin: 0; padding: 12px 0 12px 24px; }
.model-specification dl div { padding: 8px 11px; }
.model-specification dt,
.model-specification dd { margin: 0; }
.model-specification dt { color: #7795a2; font-size: 0.7rem; text-transform: uppercase; }
.model-specification dd { margin-top: 4px; color: #e3f1f3; font-size: 0.75rem; font-weight: 700; }

/* Responsible use and source */

.responsible-model { padding: 44px 0; background: #fff; }
.responsible-layout { display: grid; grid-template-columns: minmax(270px, 0.68fr) minmax(550px, 1.32fr); gap: 35px; }
.responsible-heading h2 { font-size: clamp(1.6rem, 2.25vw, 2.1rem); }
.responsible-columns { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--aq-line); border-bottom: 1px solid var(--aq-line); }
.responsible-columns article { padding: 14px; border-right: 1px solid var(--aq-line); }
.responsible-columns article:last-child { border-right: 0; }
.responsible-columns article > span { color: #177b81; font-size: 0.75rem; font-weight: 800; text-transform: uppercase; }
.responsible-columns p { margin: 8px 0 0; color: #5d757f; font-size: 0.78rem; line-height: 1.48; }

.project-source { padding: 36px 0; color: #d9e9ed; background: #061723; }
.source-shell { display: flex; justify-content: space-between; align-items: center; gap: 32px; }
.source-shell > div:first-child { max-width: 610px; }
.source-shell > div > p { color: var(--aq-cyan); }
.source-shell h2 { color: #eefafb; font-size: clamp(1.45rem, 2vw, 1.9rem); }
.source-shell > div:first-child > span { display: block; margin-top: 8px; color: #89a3ae; font-size: 0.78rem; line-height: 1.5; }
.source-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 9px 17px; }
.source-actions a { color: #abc3cc; font-size: 0.75rem; font-weight: 800; transition: color 180ms ease, transform 180ms ease; }
.source-actions a:hover,
.source-actions a:focus-visible { color: #fff; transform: translateY(-2px); }
.source-actions a.source-primary { padding: 10px 14px; color: #062027; background: var(--aq-cyan); border-radius: 5px; }

@keyframes moving-light {
    from { opacity: 0.55; transform: translate3d(-3%, -2%, 0) scale(0.94); }
    to { opacity: 1; transform: translate3d(5%, 4%, 0) scale(1.07); }
}

@keyframes haze-drift {
    from { transform: translate3d(-18px, -10px, 0) scale(0.92); }
    to { transform: translate3d(36px, 22px, 0) scale(1.08); }
}

@keyframes pipeline-travel {
    0% { left: 7%; opacity: 0; }
    8% { opacity: 1; }
    92% { opacity: 1; }
    100% { left: 92%; opacity: 0; }
}

@keyframes chart-draw { from { stroke-dashoffset: 1200; } to { stroke-dashoffset: 0; } }
@keyframes bar-grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }

@media (max-width: 1080px) {
    .forecast-layout { grid-template-columns: 1fr; gap: 33px; }
    .forecast-intro { max-width: 720px; }
    .prediction-workbench { max-width: 790px; }
    .evidence-grid { grid-template-columns: repeat(3, 1fr); }
    .evidence-grid > div:nth-child(3) { border-right: 0; }
    .evidence-grid > div:nth-child(n+4) { border-top: 1px solid rgba(143, 204, 217, 0.16); }
    .validation-layout { grid-template-columns: 1fr; gap: 35px; }
    .section-copy { max-width: 720px; }
    .workflow-heading { align-items: flex-start; flex-direction: column; gap: 17px; }
    .responsible-layout { grid-template-columns: 1fr; gap: 25px; }
}

@media (max-width: 860px) {
    .evidence-columns { grid-template-columns: 1fr; }
    .evidence-columns article,
    .evidence-columns article:first-child,
    .evidence-columns article:last-child { padding: 18px 0; border-right: 0; border-bottom: 1px solid #c9dadd; }
    .evidence-columns article:last-child { border-bottom: 0; }
    .model-specification { grid-template-columns: 1fr; }
    .spec-code { min-height: 0; padding: 24px 0; border-right: 0; border-bottom: 1px solid rgba(144, 211, 225, 0.18); }
    .model-specification dl { padding-left: 0; }
    .source-shell { align-items: flex-start; flex-direction: column; }
    .source-actions { justify-content: flex-start; }
}

@media (max-width: 700px) {
    .forecast-stage { min-height: 0; padding-top: 20px; }
    .forecast-topline p { display: none; }
    .forecast-intro h1 { font-size: clamp(2.5rem, 12vw, 3.5rem); }
    .forecast-facts > div { grid-template-columns: 110px 1fr; }
    .prediction-workbench { padding: 16px 14px 14px; }
    .forecast-form > div { grid-template-columns: 1fr; }
    .forecast-result { grid-template-columns: 1fr; }
    .primary-reading { padding: 0 0 12px; border-right: 0; border-bottom: 1px solid var(--aq-line); }
    .supporting-readings { padding: 10px 0 0; }
    .chart-frame svg { height: 88px; }
    .evidence-grid { grid-template-columns: repeat(2, 1fr); }
    .evidence-grid > div,
    .evidence-grid > div:first-child { padding: 11px 10px; border-right: 1px solid rgba(143, 204, 217, 0.16); border-top: 1px solid rgba(143, 204, 217, 0.16); }
    .evidence-grid > div:nth-child(-n+2) { border-top: 0; }
    .evidence-grid > div:nth-child(2n) { border-right: 0; }
    .validation-section,
    .evidence-section,
    .model-workflow,
    .responsible-model { padding: 36px 0; }
    .fold-row { grid-template-columns: 44px minmax(0, 1fr) 70px; gap: 8px; }
    .result-row { grid-template-columns: minmax(145px, 0.9fr) minmax(100px, 1.1fr) 48px; gap: 8px; }
    .workflow-track { grid-template-columns: 1fr; gap: 15px; }
    .workflow-track::before { top: 22px; bottom: 22px; left: 22px; width: 1px; height: auto; }
    .workflow-track::after { display: none; }
    .workflow-track li { grid-template-columns: 44px 1fr; justify-items: start; padding: 0; text-align: left; gap: 14px; }
    .workflow-track li div { margin-top: 0; }
    .model-specification dl { grid-template-columns: repeat(2, 1fr); }
    .responsible-columns { grid-template-columns: 1fr; }
    .responsible-columns article { border-right: 0; border-bottom: 1px solid var(--aq-line); }
    .responsible-columns article:last-child { border-bottom: 0; }
    .source-actions { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 480px) {
    .workbench-heading { align-items: flex-start; flex-direction: column; gap: 5px; }
    .supporting-readings { grid-template-columns: 1fr 1fr; }
    .history-chart figcaption { align-items: flex-start; flex-direction: column; gap: 5px; }
    .fold-chart figcaption { align-items: flex-start; flex-direction: column; gap: 6px; }
    .fold-row { grid-template-columns: 42px minmax(0, 1fr); }
    .fold-row > em { grid-column: 2; text-align: left; }
    .results-heading { align-items: flex-start; flex-direction: column; gap: 4px; }
    .result-row { grid-template-columns: 1fr 48px; }
    .result-row > i { grid-column: 1 / -1; }
    .model-specification dl { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    .forecast-stage::before,
    .forecast-aurora i,
    .model-workflow::after,
    .workflow-track::after,
    .observed-line.is-drawing,
    .fold-chart.is-visible .fold-row i,
    .model-results.is-visible .result-row > i b { animation: none; }

    .forecast-form button,
    .workflow-track li > span,
    .source-actions a { transition: none; }
}
