:root {
    --paper: #f7fbfe;
    --paper-deep: #edf7fa;
    --white: #ffffff;
    --ink: #28627a;
    --text: #346f82;
    --muted: #517b8c;
    --line: #c8e1e9;
    --aqua: #0a7c80;
    --aqua-light: #b2ebe5;
    --aqua-pale: #dff6f3;
    --orange: #ee8b58;
    --pink: #efb5cb;
    --blue: #356cb0;
    --blue-pale: #e3effb;
    --focus: #e27e52;
    font-family: "Segoe UI", Inter, system-ui, -apple-system, BlinkMacSystemFont, Arial, sans-serif;
    font-synthesis: none;
}

*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: auto;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--text);
    line-height: 1.65;
    min-width: 0;
}

::selection {
    background: var(--aqua-light);
    color: var(--ink);
}

a {
    color: var(--aqua);
    text-decoration: none;
}

a:hover {
    color: var(--blue);
}

a:focus-visible, button:focus-visible, summary:focus-visible {
    outline: 3px solid var(--focus);
    outline-offset: 4px;
    border-radius: 3px;
}

h1, h2, h3, p {
    margin-top: 0;
}

h1, h2, h3 {
    color: var(--ink);
    font-weight: 730;
    letter-spacing: -.045em;
    text-wrap: pretty;
    overflow-wrap: anywhere;
}

h1 {
    font-size: 40px;
    line-height: 1.14;
    letter-spacing: -.055em;
}

h2 {
    font-size: 28px;
    line-height: 1.22;
    margin-bottom: 24px;
}

h3 {
    font-size: 20px;
    line-height: 1.27;
}

p {
    font-size: 16px;
    line-height: 1.77;
    margin-bottom: 18px;
}

.skip-link {
    position: absolute;
    left: 12px;
    top: -80px;
    z-index: 50;
    padding: 10px 15px;
    background: var(--white);
    color: var(--ink);
}

.skip-link:focus {
    top: 12px;
}

.site-header {
    position: relative;
    z-index: 3;
    background: var(--white);
    border-bottom: 1px solid var(--line);
}

.header-inner {
    width: min(100% - 80px, 1472px);
    margin: 0 auto;
    min-height: 86px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 28px;
}

.identity {
    display: flex;
    align-items: center;
    gap: 18px;
    flex: 0 0 auto;
}

.site-sign {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--ink);
    font-weight: 840;
    font-size: 25px;
    text-decoration: none;
    letter-spacing: -.065em;
    line-height: 1;
}

.site-sign:hover {
    color: var(--ink);
}

.sign-mark {
    display: inline-block;
    width: 27px;
    height: 27px;
    border: 6px solid var(--aqua);
    border-right-color: var(--aqua-light);
    border-radius: 50%;
    position: relative;
}

.sign-mark::before {
    content: "";
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--orange);
    border-radius: 50%;
    top: 4px;
    left: 4px;
}

.sign-dot, .footer-monogram span {
    color: var(--orange);
}

.identity-note {
    border-left: 1px solid var(--line);
    padding-left: 18px;
    font-size: 11px;
    font-weight: 740;
    letter-spacing: .105em;
    text-transform: uppercase;
    line-height: 1.4;
    color: var(--muted);
    max-width: 160px;
}

.desktop-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: clamp(12px, 1.8vw, 27px);
    flex-wrap: wrap;
}

.desktop-nav a, .mobile-nav a {
    font-size: 13px;
    font-weight: 700;
    color: var(--text);
    text-decoration: none;
    border-bottom: 2px solid transparent;
    white-space: nowrap;
}

.desktop-nav a:hover, .desktop-nav a[aria-current="page"] {
    color: var(--aqua);
    border-bottom-color: var(--aqua);
}

.mobile-nav {
    display: none;
}

.home-hero, .topic-hero {
    background:
        radial-gradient(circle at 80% 5%, rgba(190, 241, 236, .46), transparent 34%),
        linear-gradient(140deg, #e9f8fb 0%, #f8fdff 52%, #eaf6fb 100%);
    border-bottom: 1px solid var(--line);
}

.home-hero-inner {
    width: min(100% - 80px, 1472px);
    margin: auto;
    padding: 70px 0 75px;
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(360px, .88fr);
    align-items: stretch;
    gap: clamp(40px, 5vw, 90px);
}

.home-lead {
    align-self: center;
}

.eyebrow {
    display: inline-flex;
    gap: 10px;
    align-items: center;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .13em;
    color: var(--aqua);
    text-transform: uppercase;
    margin-bottom: 22px;
}

.eyebrow-glyph {
    width: 20px;
    height: 20px;
    border: 2px solid var(--aqua);
    border-radius: 50%;
    position: relative;
    flex: 0 0 auto;
}

.eyebrow-glyph::after {
    content: "";
    position: absolute;
    top: 6px;
    left: 6px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--orange);
}

.home-lead h1 {
    max-width: 670px;
    margin-bottom: 28px;
}

.home-lead p {
    max-width: 680px;
}

.hero-lead {
    color: var(--ink);
    font-weight: 530;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 27px;
}

.button-primary, .button-outline {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 47px;
    padding: 11px 22px;
    font-size: 13px;
    font-weight: 780;
    border: 1px solid var(--aqua);
    border-radius: 4px;
    text-decoration: none;
    transition: background .15s ease, color .15s ease, border-color .15s ease;
}

.button-primary {
    background: var(--aqua);
    color: var(--white);
}

.button-primary:hover {
    background: #087075;
    color: var(--white);
    border-color: #087075;
}

.button-outline {
    color: var(--aqua);
    background: var(--white);
}

.button-outline:hover {
    color: var(--ink);
    background: var(--aqua-pale);
}

.hero-instrument {
    background: var(--white);
    border: 1px solid #b9dfe4;
    border-radius: 6px;
    padding: clamp(22px, 3.7vw, 52px);
    align-self: stretch;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 18px 18px 0 rgba(178, 235, 229, .42);
}

.instrument-heading {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--line);
    color: var(--muted);
    font-size: 12px;
    font-weight: 820;
    letter-spacing: .12em;
}

.instrument-heading span:last-child {
    color: var(--aqua);
}

.instrument-reading {
    display: flex;
    align-items: baseline;
    gap: 14px;
    flex-wrap: wrap;
    padding-top: 12px;
    color: var(--aqua);
}

.instrument-main {
    font-size: clamp(78px, 9vw, 146px);
    line-height: 1.12;
    font-weight: 790;
    letter-spacing: -.09em;
}

.instrument-unit {
    font-size: 15px;
    font-weight: 780;
    white-space: nowrap;
}

.instrument-bars {
    display: grid;
    gap: 12px;
    margin: 10px 0 25px;
}

.bar-row {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr) 45px;
    align-items: center;
    gap: 13px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 750;
}

.bar-row b {
    justify-self: end;
    color: var(--ink);
}

.bar-track {
    background: var(--paper-deep);
    height: 13px;
    border-radius: 2px;
}

.bar-fill {
    height: 100%;
    border-radius: inherit;
    display: block;
}

.bar-long {
    width: 100%;
    background: var(--blue);
}

.bar-short {
    width: 33.333%;
    background: var(--aqua);
}

.bar-dryer {
    width: 37.037%;
    background: var(--aqua);
}

.instrument-caption {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.6;
    margin-bottom: 0;
    border-top: 1px solid var(--line);
    padding-top: 18px;
}

.topic-hero-inner {
    width: min(100% - 80px, 1312px);
    margin: auto;
    padding: 67px 0 58px;
}

.topic-hero h1 {
    max-width: 990px;
    margin-bottom: 22px;
}

.topic-hero .hero-lead {
    max-width: 940px;
    margin-bottom: 25px;
}

.hero-measure {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    padding: 13px 22px 13px 0;
    border-top: 2px solid var(--aqua);
    max-width: min(100%, 820px);
}

.hero-measure-number {
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 820;
    letter-spacing: -.055em;
    line-height: 1.2;
    color: var(--aqua);
    white-space: nowrap;
}

.hero-measure-label {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.4;
    font-weight: 720;
}

.content-shell {
    width: min(100% - 80px, 1312px);
    margin: 0 auto;
    padding-bottom: 86px;
}

.article-topline {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    padding: 24px 0;
    border-bottom: 1px solid var(--line);
    margin-bottom: 48px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .12em;
}

.section-heading {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 23px;
}

.section-heading h2 {
    margin: 0;
}

.section-rule {
    display: block;
    width: 55px;
    height: 5px;
    background: var(--aqua);
    margin-bottom: 16px;
    border-radius: 1px;
}

.feature-section, .calculation-section, .all-topics, .related-section {
    margin-bottom: 58px;
}

.feature-section > p, .calculation-section > p {
    max-width: 1090px;
    margin-bottom: 24px;
}

.table-scroll {
    width: 100%;
    overflow-x: auto;
    border: 1px solid var(--line);
    background: var(--white);
}

table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 14px;
    line-height: 1.56;
}

thead {
    background: #dff4f5;
}

th, td {
    padding: 16px 23px;
    vertical-align: top;
    border-bottom: 1px solid var(--line);
}

thead th {
    font-size: 11px;
    font-weight: 820;
    letter-spacing: .11em;
    color: var(--ink);
    text-transform: uppercase;
}

tbody th {
    color: var(--ink);
    font-weight: 750;
    width: 27%;
}

tbody tr:last-child th, tbody tr:last-child td {
    border-bottom: 0;
}

tbody tr:nth-child(even) {
    background: #f7fcfd;
}

.text-section {
    max-width: 1120px;
    padding: 0 0 21px 27px;
    border-left: 3px solid var(--line);
    margin-bottom: 45px;
}

.text-section h2 {
    margin-bottom: 18px;
}

.text-section p:last-child {
    margin-bottom: 0;
}

.text-section a {
    color: #087b80;
    text-decoration: none;
    font-weight: inherit;
}

.text-section a:hover {
    color: var(--blue);
}

.related-section {
    background: #eaf7fa;
    border: 1px solid #cae5ec;
    padding: 30px 34px 34px;
}

.related-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 27px;
}

.related-link {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--ink);
    font-size: 15px;
    font-weight: 710;
    padding: 15px 0;
    border-bottom: 1px solid var(--line);
}

.related-link:hover {
    color: var(--aqua);
    border-color: var(--aqua);
}

.related-count {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
    color: var(--aqua);
}

.regions-section {
    margin-top: 48px;
    margin-bottom: 42px;
}

.regions-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.regions-grid a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 4px;
    background: var(--white);
    color: var(--ink);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
    text-align: center;
}

.regions-grid a:hover {
    background: var(--aqua-pale);
    border-color: var(--aqua);
    color: var(--aqua);
}

.sources {
    border-top: 1px solid var(--line);
    padding-top: 27px;
    margin-top: 10px;
}

.sources h2 {
    font-size: 28px;
    margin-bottom: 20px;
}

.sources ol {
    padding-left: 20px;
    margin: 0;
    display: grid;
    gap: 10px;
}

.sources li {
    padding-left: 7px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.68;
}

.all-topics {
    padding-top: 17px;
}

.topic-groups {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px 38px;
}

.topic-group {
    border-top: 1px solid var(--aqua);
    padding-top: 20px;
}

.topic-group:last-child {
    grid-column: 1 / -1;
}

.topic-group:last-child .topic-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 38px;
}

.topic-group h3 {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 20px;
    margin-bottom: 16px;
}

.topic-group h3 span {
    display: inline-block;
    color: var(--aqua);
    font-size: 14px;
    letter-spacing: -.02em;
    font-weight: 840;
}

.topic-list {
    display: grid;
}

.topic-list a {
    display: block;
    padding: 11px 0;
    border-bottom: 1px solid var(--line);
    text-decoration: none;
    color: var(--text);
    font-size: 15px;
    font-weight: 680;
    line-height: 1.4;
}

.topic-list a:hover {
    padding-left: 7px;
    color: var(--aqua);
    border-color: var(--aqua);
}

.site-footer {
    background: #deeff5;
    border-top: 1px solid #b7dbe4;
}

.footer-inner {
    width: min(100% - 80px, 1472px);
    padding: 35px 0;
    margin: auto;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    padding-bottom: 23px;
    border-bottom: 1px solid #bfdce4;
    color: var(--muted);
    font-size: 12px;
    font-weight: 730;
    letter-spacing: .08em;
}

.footer-monogram {
    font-size: 30px;
    line-height: 1;
    font-weight: 830;
    letter-spacing: -.07em;
    color: var(--ink);
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 27px;
    padding-top: 20px;
}

.footer-nav a {
    color: var(--ink);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.footer-nav a:hover {
    color: var(--aqua);
}

@media (min-width: 1920px) {
    .home-hero-inner {
        padding-top: 90px;
        padding-bottom: 92px;
    }
}

@media (max-width: 1240px) {
    .header-inner {
        width: min(100% - 54px, 1472px);
    }

    .identity-note {
        display: none;
    }

    .home-hero-inner {
        width: min(100% - 54px, 1472px);
        grid-template-columns: minmax(0, 1fr) minmax(320px, .8fr);
        gap: 34px;
    }

    .content-shell, .topic-hero-inner, .footer-inner {
        width: min(100% - 54px, 1312px);
    }
}

@media (max-width: 970px) {
    .regions-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .desktop-nav {
        display: none;
    }

    .mobile-nav {
        display: block;
        position: relative;
    }

    .mobile-nav summary {
        cursor: pointer;
        list-style: none;
        color: var(--ink);
        background: var(--paper-deep);
        border: 1px solid var(--line);
        border-radius: 3px;
        padding: 8px 15px;
        font-size: 14px;
        font-weight: 780;
    }

    .mobile-nav summary::-webkit-details-marker {
        display: none;
    }

    .mobile-nav summary::after {
        content: "+";
        margin-left: 12px;
        color: var(--aqua);
    }

    .mobile-nav[open] summary::after {
        content: "−";
    }

    .mobile-nav nav {
        position: absolute;
        right: 0;
        top: calc(100% + 8px);
        min-width: 220px;
        background: var(--white);
        box-shadow: 0 14px 35px rgba(73, 127, 153, .15);
        border: 1px solid var(--line);
        display: grid;
        padding: 9px;
    }

    .mobile-nav a {
        padding: 10px 13px;
        border-bottom: 1px solid var(--line);
    }

    .mobile-nav a:last-child {
        border-bottom: 0;
    }

    .home-hero-inner {
        grid-template-columns: minmax(0, 1fr);
        padding: 47px 0 62px;
        gap: 34px;
    }

    .hero-instrument {
        box-shadow: 12px 12px 0 rgba(178, 235, 229, .42);
    }

    .instrument-main {
        font-size: 98px;
    }

    .topic-hero-inner {
        padding: 48px 0;
    }
}

@media (max-width: 690px) {
    .header-inner, .home-hero-inner, .content-shell, .topic-hero-inner, .footer-inner {
        width: calc(100% - 38px);
    }

    .header-inner {
        min-height: 73px;
    }

    .home-hero-inner {
        padding-top: 37px;
        padding-bottom: 53px;
    }

    .home-lead h1 {
        margin-bottom: 24px;
    }

    .hero-instrument {
        padding: 24px;
        box-shadow: 7px 7px 0 rgba(178, 235, 229, .45);
    }

    .content-shell {
        padding-bottom: 60px;
    }

    .article-topline {
        margin-bottom: 36px;
        flex-direction: column;
        gap: 4px;
        font-size: 10px;
    }

    .topic-groups, .related-links {
        grid-template-columns: minmax(0, 1fr);
    }

    .topic-group:last-child .topic-list {
        grid-template-columns: minmax(0, 1fr);
    }

    .topic-group h3 {
        margin-bottom: 10px;
    }

    .topic-group {
        padding-top: 18px;
    }

    .feature-section, .calculation-section, .all-topics, .related-section {
        margin-bottom: 47px;
    }

    .text-section {
        padding-left: 16px;
        margin-bottom: 36px;
    }

    .related-section {
        padding: 25px 21px;
    }

    .hero-measure {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
    }

    th, td {
        padding: 13px 14px;
    }

    table, tbody, tr, th, td {
        display: block;
        width: 100%;
    }

    table {
        min-width: 0;
    }

    thead {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border: 0;
    }

    tbody tr {
        padding: 13px 10px;
        border-bottom: 1px solid var(--line);
    }

    tbody tr:last-child {
        border-bottom: 0;
    }

    tbody th, tbody td {
        padding: 3px 5px;
        border: 0;
    }

    tbody th {
        font-size: 15px;
    }

    .footer-top {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }

    .footer-nav {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 390px) {
    .regions-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .header-inner, .home-hero-inner, .content-shell, .topic-hero-inner, .footer-inner {
        width: calc(100% - 28px);
    }

    .hero-actions a {
        width: 100%;
    }

    .hero-instrument {
        padding: 18px;
    }

    .bar-row {
        grid-template-columns: 56px minmax(0, 1fr) 40px;
        gap: 8px;
    }

    .instrument-main {
        font-size: 84px;
    }
}

.deep-analysis {
    background: var(--white);
    border: 1px solid var(--line);
    border-top: 5px solid var(--aqua);
    padding: clamp(23px, 3.2vw, 43px);
    margin: 14px 0 43px;
}

.deep-analysis h2, .deep-note h2 {
    margin-bottom: 19px;
}

.deep-analysis h3 {
    margin: 25px 0 13px;
}

.analysis-kicker {
    display: block;
    margin-bottom: 13px;
    font-size: 11px;
    color: var(--aqua);
    font-weight: 820;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.deep-note {
    background: #e9f6f8;
    border-left: 4px solid var(--orange);
    margin: 6px 0 45px;
    padding: 24px 32px 12px;
}

.deep-analysis p:last-child, .deep-note p:last-child {
    margin-bottom: 0;
}

.decision-track, .horizon-ruler, .stock-strip, .water-units, .drying-pair, .access-axes, .label-mapping, .symptom-branches, .pump-columns, .heat-equations, .sensor-matrix {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin: 25px 0;
}

.decision-node {
    padding: 22px;
    border: 1px solid #bcdee4;
    background: #f1fafc;
}

.decision-node h3 {
    margin: 9px 0 12px;
}

.decision-node p, .horizon p, .water-units p, .drying-cell p, .access-axes p, .cohort-steps p, .label-mapping p, .symptom-branches p, .pump-columns p, .sensor-matrix p {
    margin-bottom: 0;
    line-height: 1.65;
}

.node-no {
    font-size: 13px;
    font-weight: 820;
    color: var(--aqua);
}

.horizon-ruler {
    background: #eaf7f8;
    padding: 8px;
}

.horizon {
    background: var(--white);
    padding: 20px;
    border-left: 4px solid var(--blue);
}

.horizon span, .stock-strip span, .water-units span, .drying-cell span, .heat-equations span, .sensor-matrix span {
    font-size: 13px;
    color: var(--muted);
    font-weight: 740;
}

.horizon strong, .stock-strip strong, .water-units strong, .drying-cell strong, .db-differences strong, .heat-equations strong {
    display: block;
    font-size: clamp(21px, 2.3vw, 31px);
    line-height: 1.27;
    color: var(--aqua);
    margin: 10px 0;
    letter-spacing: -.04em;
}

.denominator-ledger {
    border-top: 1px solid var(--aqua);
    margin: 25px 0;
}

.denominator-line {
    display: grid;
    grid-template-columns: minmax(0, .8fr) minmax(0, .8fr) minmax(0, 1.4fr);
    align-items: center;
    gap: 20px;
    padding: 16px 18px;
    border-bottom: 1px solid var(--line);
    font-size: 14px;
}

.denominator-line b {
    color: var(--ink);
    font-size: 18px;
}

.denominator-line.is-result {
    background: #e7f5f2;
}

.denominator-line.is-result b {
    color: var(--aqua);
}

.invoice-ledger {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 26px 0;
}

.invoice-ledger > div {
    border-bottom: 2px solid var(--line);
    background: #f3f9fc;
    padding: 21px 24px;
}

.invoice-ledger dt {
    color: var(--ink);
    font-weight: 790;
    font-size: 18px;
}

.invoice-ledger dd {
    margin: 9px 0 0;
    font-size: 15px;
    line-height: 1.65;
}

.stock-strip {
    background: #eaf5fd;
    padding: 12px;
}

.stock-strip > div {
    background: var(--white);
    padding: 24px 16px;
    text-align: center;
}

.stock-strip small {
    display: block;
    font-size: 12px;
    color: var(--muted);
}

.cycle-meter {
    display: grid;
    gap: 14px;
    margin: 26px 0;
}

.cycle-row {
    display: grid;
    grid-template-columns: 100px minmax(0, 1fr) 115px;
    align-items: center;
    gap: 18px;
    font-size: 14px;
}

.cycle-row b, .cycle-row strong {
    color: var(--ink);
}

.cycle-row strong {
    text-align: right;
}

.meter-rail {
    height: 19px;
    background: #e3f0f4;
    display: block;
}

.meter-fill {
    display: block;
    height: 100%;
    background: var(--aqua);
}

.meter-wash { width: 47.7%; }
.meter-dish { width: 60.3%; background: var(--blue); }
.meter-dry { width: 29.3%; background: var(--orange); }

.delta-lines {
    margin: 22px 0;
    border-top: 1px solid var(--line);
}

.delta-lines > div {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 105px;
    align-items: center;
    gap: 20px;
    padding: 18px 14px;
    border-bottom: 1px solid var(--line);
}

.delta-lines span {
    font-weight: 750;
}

.delta-lines b {
    font-size: 15px;
    color: var(--ink);
}

.delta-lines strong {
    font-size: 22px;
    color: var(--aqua);
    white-space: nowrap;
    text-align: right;
}

.water-units > div {
    padding: 20px 22px;
    border-top: 4px solid var(--blue);
    background: #ecf5fd;
}

.drying-pair, .pump-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.drying-cell {
    border-left: 5px solid var(--aqua);
    background: #e9f7f4;
    padding: 23px 27px;
}

.drying-cell:last-child {
    border-color: var(--orange);
    background: #f6f2f6;
}

.cooling-equation {
    display: grid;
    grid-template-columns: 1fr .7fr 1fr;
    align-items: center;
    gap: 15px;
    margin: 24px 0;
    padding: 23px;
    background: #ebf7fa;
    text-align: center;
}

.cooling-equation span, .cooling-equation strong {
    font-size: clamp(17px, 2.2vw, 27px);
    font-weight: 820;
    color: var(--ink);
}

.cooling-equation b {
    color: var(--muted);
    font-size: 15px;
}

.cooling-equation strong {
    color: var(--aqua);
}

.spin-scale {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
    margin: 25px 0;
}

.spin-scale > div {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
    text-align: center;
    padding: 17px 8px;
    background: #e8f5f9;
    border-bottom: 4px solid var(--aqua);
}

.spin-scale > div:nth-child(2), .spin-scale > div:nth-child(4) {
    border-color: var(--blue);
}

.spin-scale > div:last-child {
    border-color: var(--orange);
}

.spin-scale strong {
    color: var(--ink);
    font-size: 24px;
}

.spin-scale span {
    font-size: 12px;
    font-weight: 730;
    line-height: 1.4;
}

.db-differences {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    padding: 14px;
    background: #eaf6fc;
    margin: 23px 0;
}

.db-differences > div {
    flex: 1 1 160px;
    background: var(--white);
    padding: 18px;
}

.db-differences span, .db-differences small {
    font-weight: 750;
    color: var(--muted);
}

.db-differences small {
    display: block;
    font-size: 12px;
}

.spares-chronology {
    display: grid;
    margin: 24px 0;
}

.spares-chronology > div {
    display: grid;
    grid-template-columns: minmax(0, 180px) minmax(0, 1fr);
    gap: 16px;
    padding: 18px 20px;
    border-left: 5px solid var(--aqua);
    border-bottom: 1px solid var(--line);
    background: #f1f9fb;
}

.spares-chronology > div:nth-child(even) {
    background: #e9f5fa;
    border-left-color: var(--blue);
}

.spares-chronology b {
    color: var(--ink);
}

.access-axes section, .label-mapping > div, .symptom-branches > div, .pump-columns section, .sensor-matrix > div {
    background: #eef8fa;
    padding: 20px 23px;
    border-top: 3px solid var(--aqua);
}

.access-axes h3, .label-mapping h3, .symptom-branches h3, .pump-columns h3 {
    margin: 0 0 10px;
}

.access-axes section:nth-child(2), .sensor-matrix > div:nth-child(2) {
    border-color: var(--blue);
}

.access-axes section:nth-child(3), .sensor-matrix > div:nth-child(3) {
    border-color: var(--orange);
}

.cohort-steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    margin: 25px 0;
    background: #eaf5fb;
}

.cohort-steps > div {
    border-right: 1px solid var(--line);
    padding: 23px 18px;
}

.cohort-steps > div:last-child {
    border-right: 0;
}

.cohort-steps span {
    color: var(--aqua);
    font-weight: 800;
    display: block;
    margin-bottom: 12px;
}

.label-mapping {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.symptom-root {
    text-align: center;
    padding: 17px;
    background: #dff2f4;
    color: var(--ink);
    font-weight: 820;
    margin: 24px 0 0;
    border-bottom: 4px solid var(--aqua);
}

.symptom-branches {
    margin-top: 10px;
}

.symptom-branches > div:nth-child(2) {
    border-color: var(--blue);
}

.symptom-branches > div:nth-child(3) {
    border-color: var(--orange);
}

.pump-columns section:last-child {
    border-color: var(--blue);
}

.heat-equations > div {
    background: #eaf7f9;
    padding: 23px;
    border-bottom: 4px solid var(--aqua);
}

.heat-equations > div:nth-child(2) {
    border-color: var(--blue);
}

.heat-equations > div:nth-child(3) {
    border-color: var(--orange);
}

.heat-equations small {
    display: block;
    font-size: 12px;
    color: var(--muted);
    line-height: 1.5;
}

.sensor-matrix span {
    display: block;
    margin-bottom: 9px;
}

.sensor-matrix b {
    display: block;
    font-size: 18px;
    color: var(--ink);
    margin-bottom: 3px;
}

@media (max-width: 970px) {
    .decision-track, .horizon-ruler, .stock-strip, .water-units, .access-axes, .symptom-branches, .heat-equations, .sensor-matrix {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .decision-track > :last-child, .horizon-ruler > :last-child, .stock-strip > :last-child, .water-units > :last-child, .access-axes > :last-child, .symptom-branches > :last-child, .heat-equations > :last-child, .sensor-matrix > :last-child {
        grid-column: 1 / -1;
    }

    .spin-scale {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .spin-scale > div:nth-last-child(-n+2) {
        grid-column: auto;
    }

    .spin-scale > div:nth-child(4) {
        grid-column: 1 / 2;
    }

    .spin-scale > div:nth-child(5) {
        grid-column: 2 / 4;
    }

    .cohort-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 690px) {
    .deep-analysis {
        padding: 24px 17px;
    }

    .deep-note {
        padding: 22px 19px 12px;
    }

    .decision-track, .horizon-ruler, .stock-strip, .water-units, .drying-pair, .access-axes, .label-mapping, .symptom-branches, .pump-columns, .heat-equations, .sensor-matrix, .invoice-ledger {
        grid-template-columns: minmax(0, 1fr);
    }

    .decision-track > :last-child, .horizon-ruler > :last-child, .stock-strip > :last-child, .water-units > :last-child, .access-axes > :last-child, .symptom-branches > :last-child, .heat-equations > :last-child, .sensor-matrix > :last-child {
        grid-column: auto;
    }

    .denominator-line, .delta-lines > div {
        grid-template-columns: minmax(0, 1fr);
        gap: 4px;
    }

    .delta-lines strong {
        text-align: left;
    }

    .cycle-row {
        grid-template-columns: minmax(0, 1fr) 100px;
        gap: 5px 10px;
    }

    .cycle-row b {
        grid-column: 1;
    }

    .cycle-row strong {
        grid-column: 2;
    }

    .meter-rail {
        grid-column: 1 / -1;
        grid-row: 2;
    }

    .cooling-equation, .cohort-steps {
        grid-template-columns: minmax(0, 1fr);
    }

    .spares-chronology > div {
        grid-template-columns: minmax(0, 1fr);
        gap: 7px;
    }

    .spin-scale {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .spin-scale > div:nth-child(4) {
        grid-column: auto;
    }

    .spin-scale > div:nth-child(5) {
        grid-column: 1 / -1;
    }

    .cohort-steps > div {
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }
}
