/* Denser, readable rows: values and their scale share the same sight line. */
:root
    body.observatory-interface
    .ob-reading-upgrade.ob-design-system.ob-gis-upgrade
    .ob-page-heading {
    margin-bottom: 12px;
    align-items: center;
}
:root
    body.observatory-interface
    .ob-reading-upgrade.ob-design-system.ob-gis-upgrade
    .ob-heading-actions {
    flex-direction: row;
    align-items: center;
}
:root
    body.observatory-interface
    .ob-reading-upgrade.ob-design-system.ob-gis-upgrade
    .ob-summary {
    gap: 10px;
    margin-bottom: 12px;
}
:root
    body.observatory-interface
    .ob-reading-upgrade.ob-design-system.ob-gis-upgrade
    .ob-stat {
    padding: 11px 13px;
}
:root
    body.observatory-interface
    .ob-reading-upgrade.ob-design-system.ob-gis-upgrade
    .ob-stat-heading {
    font-size: 13px;
}
:root
    body.observatory-interface
    .ob-reading-upgrade.ob-design-system.ob-gis-upgrade
    .ob-network {
    padding: 10px 12px;
    margin-bottom: 12px;
}
:root
    body.observatory-interface
    .ob-reading-upgrade.ob-design-system.ob-gis-upgrade
    .ob-network
    .ob-section-heading {
    margin-bottom: 6px;
}
:root
    body.observatory-interface
    .ob-reading-upgrade.ob-design-system.ob-gis-upgrade
    .ob-station-tab {
    padding: 7px 9px;
    gap: 2px 6px;
}
:root
    body.observatory-interface
    .ob-reading-upgrade.ob-design-system.ob-gis-upgrade
    .ob-station-name {
    display: flex;
    align-items: baseline;
    gap: 7px;
    flex-wrap: wrap;
}
:root
    body.observatory-interface
    .ob-reading-upgrade.ob-design-system.ob-gis-upgrade
    .ob-station-name
    small {
    font-size: 11px;
}
:root
    body.observatory-interface
    .ob-reading-upgrade.ob-design-system.ob-gis-upgrade
    .ob-live-grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(430px, 1fr);
    gap: 12px;
    margin-bottom: 14px;
}
:root
    body.observatory-interface
    .ob-reading-upgrade.ob-design-system.ob-gis-upgrade
    .station-instrument {
    padding: 12px;
}
:root
    body.observatory-interface
    .ob-reading-upgrade.ob-design-system.ob-gis-upgrade
    .station-instrument
    h2 {
    font-size: 20px;
    margin: 4px 0 6px;
}
:root
    body.observatory-interface
    .ob-reading-upgrade.ob-design-system.ob-gis-upgrade
    .hydro-hero {
    padding: 8px 10px;
}
:root
    body.observatory-interface
    .ob-reading-upgrade.ob-design-system.ob-gis-upgrade
    .hydro-hero
    > p {
    font-size: 13px;
    margin: 3px 0;
}
.reading-column-head {
    display: grid;
    grid-template-columns: minmax(140px, 0.8fr) minmax(0, 1.2fr);
    gap: 12px;
    padding: 8px 10px;
    color: #667b98;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.6px;
    border-bottom: 1px solid #dce6f4;
}
:root
    body.observatory-interface
    .ob-reading-upgrade.ob-design-system.ob-gis-upgrade
    .instrument-readings {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
}
:root
    body.observatory-interface
    .ob-reading-upgrade.ob-design-system.ob-gis-upgrade
    .instrument-readings
    > .metric {
    position: relative;
    display: grid;
    grid-template-columns: minmax(140px, 0.8fr) minmax(0, 1.2fr);
    gap: 0 12px;
    grid-column: 1;
    padding: 11px 10px;
    min-height: 0;
    border: 0;
    border-bottom: 1px solid #e2e9f3;
    border-radius: 0;
    box-shadow: none;
    background: #fff;
    color: #233c60;
    align-items: start;
}
:root
    body.observatory-interface
    .ob-reading-upgrade.ob-design-system.ob-gis-upgrade
    .instrument-readings
    > .metric
    > div:not(.measurement-gauge):not(.metric-icon) {
    grid-column: 1;
    grid-row: 1 / 3;
    padding-left: 28px;
}
:root
    body.observatory-interface
    .ob-reading-upgrade.ob-design-system.ob-gis-upgrade
    .instrument-readings
    > .metric
    > .metric-icon {
    display: flex;
    position: absolute;
    left: 8px;
    right: auto;
    top: 12px;
    width: 21px;
    height: 21px;
    border-radius: 5px;
}
:root
    body.observatory-interface
    .ob-reading-upgrade.ob-design-system.ob-gis-upgrade
    .instrument-readings
    > .metric
    > .metric-icon
    svg {
    width: 15px;
    height: 15px;
}
:root
    body.observatory-interface
    .ob-reading-upgrade.ob-design-system.ob-gis-upgrade
    .instrument-readings
    .metric-label {
    font-size: 13px;
    padding-right: 0;
    margin: 0 0 2px;
    line-height: 1.4;
    color: #496181;
}
:root
    body.observatory-interface
    .ob-reading-upgrade.ob-design-system.ob-gis-upgrade
    .instrument-readings
    .metric-value {
    font-size: 29px;
    color: #173d72;
    line-height: 1.2;
}
:root
    body.observatory-interface
    .ob-reading-upgrade.ob-design-system.ob-gis-upgrade
    .instrument-readings
    .metric-unit {
    font-size: 12px;
    color: #7587a0;
}
:root
    body.observatory-interface
    .ob-reading-upgrade.ob-design-system.ob-gis-upgrade
    .instrument-readings
    .metric-source {
    grid-column: 1;
    grid-row: 3;
    padding-left: 28px;
    font-size: 11px;
    line-height: 1.5;
    margin: 3px 0 0;
    color: #657c9c;
}
:root
    body.observatory-interface
    .ob-reading-upgrade.ob-design-system.ob-gis-upgrade
    .instrument-readings
    .metric-note,
:root
    body.observatory-interface
    .ob-reading-upgrade.ob-design-system.ob-gis-upgrade
    .instrument-readings
    .metric-quality {
    font-size: 11px;
    line-height: 1.5;
}
:root
    body.observatory-interface
    .ob-reading-upgrade.ob-design-system.ob-gis-upgrade
    .instrument-readings
    .metric-spark {
    display: none;
}
:root
    body.observatory-interface
    .ob-reading-upgrade.ob-design-system.ob-gis-upgrade
    .instrument-readings
    > .metric
    > .measurement-gauge {
    grid-column: 2;
    grid-row: 1 / span 5;
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    align-self: center;
    color: #415d81;
}
:root
    body.observatory-interface
    .ob-reading-upgrade.ob-design-system.ob-gis-upgrade
    .instrument-readings
    .metric[data-parameter="DO"] {
    background: linear-gradient(110deg, #edf4ff, #f8fbff);
    border-left: 3px solid #3780ec;
    padding-left: 7px;
}
:root
    body.observatory-interface
    .ob-reading-upgrade.ob-design-system.ob-gis-upgrade
    .instrument-readings
    .metric[data-parameter="DO"]
    .metric-value {
    font-size: 32px;
    color: #195abd;
}
:root
    body.observatory-interface
    .ob-reading-upgrade.ob-design-system.ob-gis-upgrade
    .instrument-readings
    .metric[data-parameter="DO"]
    .measurement-gauge {
    color: #405d80;
}
:root
    body.observatory-interface
    .ob-reading-upgrade.ob-design-system.ob-gis-upgrade
    .instrument-readings
    .gauge-visual {
    padding-top: 27px;
    margin: 0 0 4px;
}
:root
    body.observatory-interface
    .ob-reading-upgrade.ob-design-system.ob-gis-upgrade
    .instrument-readings
    .gauge-heading {
    display: none;
}
:root
    body.observatory-interface
    .ob-reading-upgrade.ob-design-system.ob-gis-upgrade
    .instrument-readings
    .gauge-scale {
    display: flex;
    font-size: 10px;
    color: #687d9b;
    margin-top: 2px;
}
:root
    body.observatory-interface
    .ob-reading-upgrade.ob-design-system.ob-gis-upgrade
    .instrument-readings
    .gauge-rules {
    gap: 3px 8px;
    font-size: 11px;
    margin: 2px 0;
}
:root
    body.observatory-interface
    .ob-reading-upgrade.ob-design-system.ob-gis-upgrade
    .instrument-readings
    .gauge-reading-note {
    display: block;
    font-size: 11px;
    font-weight: 650;
    line-height: 1.4;
    margin: 3px 0;
    color: #805727;
}
:root
    body.observatory-interface
    .ob-reading-upgrade.ob-design-system.ob-gis-upgrade
    .instrument-readings
    .gauge-details {
    margin: 4px 0;
    padding: 0;
    border: 0;
    background: transparent;
}
:root
    body.observatory-interface
    .ob-reading-upgrade.ob-design-system.ob-gis-upgrade
    .instrument-readings
    .gauge-details
    summary {
    font-size: 11px;
    color: #4774b1;
}
.gauge-provenance {
    display: flex;
    flex-direction: column;
    gap: 1px;
    font-size: 11px;
    line-height: 1.45;
    margin: 4px 0;
    color: #647b99;
    overflow-wrap: anywhere;
}
.gauge-provenance b {
    font-weight: 600;
    color: #526785;
}
.reading-scale-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 5px;
    flex-wrap: wrap;
    color: #73849b;
    font-size: 9px;
    line-height: 1.5;
    letter-spacing: 0.3px;
}
:root body.observatory-interface .reading-scale-heading small {
    font-size: 10px;
    color: #72839b;
    letter-spacing: 0;
}
.reading-visual {
    padding-top: 11px;
}
.reading-track {
    position: relative;
    height: 8px;
    border-radius: 6px;
    background: linear-gradient(90deg, #dbeafe, #91befa);
    box-shadow: inset 0 0 0 1px #699bf229;
}
.reading-track > i {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 1px;
    background: #fff9;
}
.reading-pointer {
    position: absolute;
    left: var(--reading-position);
    top: -4px;
    width: 4px;
    height: 16px;
    background: #2463c5;
    border-radius: 2px;
    transform: translateX(-50%);
    box-shadow: 0 0 0 2px #fff;
}
.reading-pointer:before {
    content: "";
    position: absolute;
    top: -4px;
    left: -3px;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid #2463c5;
}
.reading-ticks {
    display: flex;
    justify-content: space-between;
    gap: 3px;
    margin-top: 4px;
    font-size: 10px;
    color: #73839b;
    font-variant-numeric: tabular-nums;
}
.reading-muted .reading-track {
    background: #e3e9f1;
}
.reading-muted .reading-pointer {
    background: #94a3b8;
}
.reading-muted .reading-pointer:before {
    border-top-color: #94a3b8;
}
.reading-reference {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-top: 6px;
    font-size: 11px;
    line-height: 1.45;
    color: #687e9b;
    overflow-wrap: anywhere;
}
.reading-reference a {
    color: #346fc0;
    text-decoration: none;
    font-weight: 550;
}
.reading-reference a:hover {
    text-decoration: underline;
}
.reading-reference.no-qcvn {
    margin-top: 5px;
    color: #8390a4;
    font-size: 10px;
}
:root
    body.observatory-interface
    .ob-reading-upgrade.ob-design-system.ob-gis-upgrade
    .ob-extra-readings {
    margin-top: 6px;
}
:root
    body.observatory-interface
    .ob-reading-upgrade.ob-design-system.ob-gis-upgrade
    .ob-extra-readings
    > summary {
    font-size: 13px;
}
:root
    body.observatory-interface
    .ob-reading-upgrade.ob-design-system.ob-gis-upgrade
    .ob-secondary-readings {
    padding: 0;
}
:root
    body.observatory-interface
    .ob-reading-upgrade.ob-design-system.ob-gis-upgrade
    .ob-measurement-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 6px;
    padding-top: 8px;
}
:root
    body.observatory-interface
    .ob-reading-upgrade.ob-design-system.ob-gis-upgrade
    .instrument-provenance {
    flex: 1;
    min-width: 0;
}
:root
    body.observatory-interface
    .ob-reading-upgrade.ob-design-system.ob-gis-upgrade
    .instrument-provenance
    > span:last-child {
    display: none;
}
:root
    body.observatory-interface
    .ob-reading-upgrade.ob-design-system.ob-gis-upgrade
    .instrument-detail {
    width: auto;
    font-size: 12px;
    margin: 0;
}
:root
    body.observatory-interface
    .ob-reading-upgrade.ob-design-system.ob-gis-upgrade
    .river-analysis {
    gap: 12px;
    grid-template-columns: minmax(0, 1.3fr) minmax(330px, 1fr);
    align-items: start;
}
:root
    body.observatory-interface
    .ob-reading-upgrade.ob-design-system.ob-gis-upgrade
    .data-context {
    padding: 16px;
    min-height: 0;
    align-self: start;
}
:root
    body.observatory-interface
    .ob-reading-upgrade.ob-design-system.ob-gis-upgrade
    .data-context
    > h2 {
    font-size: 20px;
    margin: 7px 0;
}
:root
    body.observatory-interface
    .ob-reading-upgrade.ob-design-system.ob-gis-upgrade
    .data-context
    > p {
    font-size: 13px;
    margin: 4px 0 8px;
}
:root
    body.observatory-interface
    .ob-reading-upgrade.ob-design-system.ob-gis-upgrade
    .ob-data-coverage {
    gap: 12px;
    margin: 8px 0;
}
:root
    body.observatory-interface
    .ob-reading-upgrade.ob-design-system.ob-gis-upgrade
    .ob-data-coverage
    > strong {
    font-size: 34px;
}
:root
    body.observatory-interface
    .ob-reading-upgrade.ob-design-system.ob-gis-upgrade
    .ob-data-progress {
    height: 5px;
    margin: 8px 0;
}
:root
    body.observatory-interface
    .ob-reading-upgrade.ob-design-system.ob-gis-upgrade
    .context-row {
    padding: 6px 0;
    font-size: 13px;
}
.reference-guide {
    margin-top: 12px;
    border-top: 1px solid #d5e2f4;
    padding-top: 12px;
    color: #526b8e;
    font-size: 12px;
    line-height: 1.55;
}
.reference-guide-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    flex-wrap: wrap;
}
.reference-guide-head > strong {
    font-size: 15px;
    color: #284c80;
}
.reference-guide-head > span {
    font-size: 10px;
    background: #e5edff;
    color: #546d96;
    border-radius: 4px;
    padding: 2px 5px;
}
.reference-active {
    margin: 6px 0 10px;
    font-size: 12px;
    line-height: 1.55;
    overflow-wrap: anywhere;
}
.reference-guide-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 7px;
}
.reference-guide-grid > div {
    display: flex;
    flex-direction: column;
    border: 1px solid #d9e3f2;
    border-radius: 6px;
    padding: 8px;
    background: #ffffff9c;
}
.reference-guide-grid > div:last-child {
    grid-column: 1/-1;
}
.reference-guide-grid b {
    color: #365d96;
    margin-bottom: 3px;
}
.reference-guide > a {
    display: inline-block;
    margin: 8px 0;
    color: #2f6bbf;
    font-weight: 600;
    font-size: 12px;
}
.reference-guide details {
    border-top: 1px solid #dbe5f4;
    padding-top: 6px;
}
.reference-guide summary {
    font-size: 12px;
    color: #506d94;
    cursor: pointer;
}
.reference-guide details p {
    font-size: 12px;
    line-height: 1.6;
    margin: 8px 0;
}
:root
    body.observatory-interface
    .ob-reading-upgrade
    .gis-map
    .river-instruction,
:root body.observatory-interface .ob-reading-upgrade .gis-map .river-header p {
    font-size: 12px;
}
:root
    body.observatory-interface
    .ob-reading-upgrade
    .gis-map
    .map-alert-legend {
    font-size: 12px;
}
@media (max-width: 1100px) {
    :root
        body.observatory-interface
        .ob-reading-upgrade.ob-design-system.ob-gis-upgrade
        .ob-live-grid {
        grid-template-columns: minmax(0, 1fr) minmax(400px, 1fr);
    }
    :root
        body.observatory-interface
        .ob-reading-upgrade.ob-design-system.ob-gis-upgrade
        .river-analysis {
        grid-template-columns: minmax(0, 1.2fr) minmax(300px, 1fr);
    }
}
@media (max-width: 900px) {
    :root
        body.observatory-interface
        .ob-reading-upgrade.ob-design-system.ob-gis-upgrade
        .ob-live-grid {
        grid-template-columns: 1fr;
    }
    :root
        body.observatory-interface
        .ob-reading-upgrade.ob-design-system.ob-gis-upgrade
        .river-analysis {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 600px) {
    :root
        body.observatory-interface
        .ob-reading-upgrade.ob-design-system.ob-gis-upgrade
        .ob-heading-actions {
        justify-content: space-between;
        width: 100%;
    }
    :root
        body.observatory-interface
        .ob-reading-upgrade.ob-design-system.ob-gis-upgrade
        .ob-summary {
        gap: 8px;
    }
    :root
        body.observatory-interface
        .ob-reading-upgrade.ob-design-system.ob-gis-upgrade
        .ob-stat {
        padding: 10px;
    }
    :root
        body.observatory-interface
        .ob-reading-upgrade.ob-design-system.ob-gis-upgrade
        .instrument-readings
        > .metric {
        grid-template-columns: minmax(115px, 0.8fr) minmax(0, 1.2fr);
        gap: 0 10px;
        padding: 10px 8px;
    }
    :root
        body.observatory-interface
        .ob-reading-upgrade.ob-design-system.ob-gis-upgrade
        .instrument-readings
        > .metric
        > div:not(.measurement-gauge):not(.metric-icon) {
        padding-left: 0;
    }
    :root
        body.observatory-interface
        .ob-reading-upgrade.ob-design-system.ob-gis-upgrade
        .instrument-readings
        .metric-source {
        padding-left: 0;
    }
    :root
        body.observatory-interface
        .ob-reading-upgrade.ob-design-system.ob-gis-upgrade
        .instrument-readings
        > .metric
        > .metric-icon {
        display: none;
    }
    :root
        body.observatory-interface
        .ob-reading-upgrade.ob-design-system.ob-gis-upgrade
        .instrument-readings
        .metric-value {
        font-size: 27px;
    }
    .reading-column-head {
        grid-template-columns: minmax(115px, 0.8fr) minmax(0, 1.2fr);
        padding: 8px;
        font-size: 9px;
        gap: 10px;
    }
    .reading-scale-heading > span {
        display: none;
    }
    .reading-ticks {
        font-size: 9px;
    }
    :root
        body.observatory-interface
        .ob-reading-upgrade.ob-design-system.ob-gis-upgrade
        .instrument-readings
        .gauge-rules {
        font-size: 10px;
    }
    :root
        body.observatory-interface
        .ob-reading-upgrade.ob-design-system.ob-gis-upgrade
        .ob-measurement-footer {
        flex-wrap: wrap;
    }
    :root
        body.observatory-interface
        .ob-reading-upgrade.ob-design-system.ob-gis-upgrade
        .instrument-detail {
        width: 100%;
    }
}
@media (max-width: 380px) {
    :root
        body.observatory-interface
        .ob-reading-upgrade.ob-design-system.ob-gis-upgrade
        .instrument-readings
        > .metric {
        grid-template-columns: 1fr;
        gap: 5px;
    }
    :root
        body.observatory-interface
        .ob-reading-upgrade.ob-design-system.ob-gis-upgrade
        .instrument-readings
        > .metric
        > .measurement-gauge {
        grid-column: 1;
        grid-row: 4;
        align-self: start;
    }
    :root
        body.observatory-interface
        .ob-reading-upgrade.ob-design-system.ob-gis-upgrade
        .instrument-readings
        .metric-value {
        font-size: 30px;
    }
    .reading-column-head {
        display: none;
    }
}

:root
    body.observatory-interface
    .ob-reading-upgrade
    .metric[data-parameter="DO"]
    .metric-label {
    color: #365b8b !important;
}
:root
    body.observatory-interface
    .ob-reading-upgrade
    .metric[data-parameter="DO"]
    .metric-source {
    color: #657c9c !important;
}
:root
    body.observatory-interface
    .ob-reading-upgrade
    .metric[data-parameter="DO"]
    .metric-unit {
    color: #7587a0 !important;
}
:root
    body.observatory-interface
    .ob-reading-upgrade
    .metric[data-parameter="DO"]
    .metric-icon {
    color: #3276cb !important;
    background: #e3edff !important;
}
:root
    body.observatory-interface
    .ob-reading-upgrade
    .instrument-readings
    .gauge-details
    summary {
    min-height: 0;
    padding: 0;
    line-height: 1.4;
}
:root
    body.observatory-interface
    .ob-reading-upgrade
    .reading-scale-heading
    > span {
    display: none;
}
:root body.observatory-interface .ob-reading-upgrade .gauge-provenance {
    display: block;
    line-height: 1.4;
}
:root body.observatory-interface .ob-reading-upgrade .gauge-provenance span {
    display: block;
    font-size: 10px;
}
:root body.observatory-interface .ob-reading-upgrade .reading-reference > div {
    line-height: 1.5;
}

:root
    body.observatory-interface
    .ob-reading-upgrade.ob-design-system.ob-gis-upgrade
    .instrument-readings
    > .metric {
    padding-top: 7px;
    padding-bottom: 7px;
}
:root
    body.observatory-interface
    .ob-reading-upgrade.ob-design-system.ob-gis-upgrade
    .instrument-readings
    > .metric
    > .metric-icon {
    top: 8px;
}
:root body.observatory-interface .ob-reading-upgrade .reading-visual {
    padding-top: 8px;
}
:root body.observatory-interface .ob-reading-upgrade .reading-track {
    height: 7px;
}
:root body.observatory-interface .ob-reading-upgrade .reading-ticks {
    line-height: 1.2;
    margin-top: 3px;
}
:root body.observatory-interface .ob-reading-upgrade .reading-scale-heading {
    line-height: 1.4;
}
:root body.observatory-interface .ob-reading-upgrade .reading-reference {
    margin-top: 4px;
}
:root
    body.observatory-interface
    .ob-reading-upgrade
    .metric[data-parameter="DO"]
    .gauge-provenance
    span {
    display: none;
}
:root
    body.observatory-interface
    .ob-reading-upgrade
    .metric[data-parameter="DO"]
    .reading-reference
    > span {
    display: none;
}

:root
    body.observatory-interface
    .ob-reading-upgrade.ob-design-system
    .ob-primary-readings
    > .metric:last-child
    .metric-spark {
    display: none !important;
}
:root
    body.observatory-interface
    .ob-reading-upgrade.ob-design-system
    .ob-primary-readings
    > .metric:last-child
    > .measurement-gauge {
    grid-column: 2 !important;
    grid-row: 1 / span 5 !important;
}
@media (max-width: 380px) {
    :root
        body.observatory-interface
        .ob-reading-upgrade.ob-design-system
        .ob-primary-readings
        > .metric:last-child
        > .measurement-gauge {
        grid-column: 1 !important;
        grid-row: 4 !important;
    }
}

:root
    body.observatory-interface
    .ob-reading-upgrade.ob-design-system
    .ob-context-heading {
    margin-bottom: 8px;
}
:root
    body.observatory-interface
    .ob-reading-upgrade.ob-design-system
    .ob-data-coverage {
    align-items: center;
}
:root
    body.observatory-interface
    .ob-reading-upgrade.ob-design-system
    .ob-data-coverage
    > span {
    font-size: 12px;
    line-height: 1.4;
}
:root
    body.observatory-interface
    .ob-reading-upgrade.ob-design-system
    .context-row {
    padding: 3px 0;
}
:root body.observatory-interface .ob-reading-upgrade .reference-guide-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
}
:root
    body.observatory-interface
    .ob-reading-upgrade
    .reference-guide-grid
    > div {
    display: grid;
    grid-template-columns: 105px minmax(0, 1fr);
    gap: 1px 10px;
    border: 0;
    border-bottom: 1px solid #dce6f3;
    border-radius: 0;
    background: transparent;
    padding: 6px 0;
}
:root
    body.observatory-interface
    .ob-reading-upgrade
    .reference-guide-grid
    > div
    b {
    grid-column: 1;
    grid-row: 1 / 3;
    margin: 0;
}
:root
    body.observatory-interface
    .ob-reading-upgrade
    .reference-guide-grid
    > div
    span {
    grid-column: 2;
}
:root body.observatory-interface .ob-reading-upgrade .reference-active {
    font-size: 11px;
    margin: 5px 0 6px;
}
:root body.observatory-interface .ob-reading-upgrade .reference-guide {
    padding-top: 8px;
    margin-top: 8px;
}
:root
    body.observatory-interface
    .ob-reading-upgrade
    .reference-guide-head
    > span {
    display: none;
}

/* Legacy mobile card rules must not change the row's grid contract. */
:root
    body.observatory-interface
    .ob-reading-upgrade.ob-design-system.ob-gis-upgrade
    .instrument-readings
    > .metric {
    display: grid !important;
}
:root
    body.observatory-interface
    .ob-reading-upgrade.ob-design-system.ob-gis-upgrade
    .instrument-readings
    > .metric
    > .measurement-gauge {
    grid-column: 2 !important;
    grid-row: 1 / span 5 !important;
}
@media (max-width: 600px) {
    :root
        body.observatory-interface
        .ob-reading-upgrade.ob-design-system.ob-gis-upgrade
        .instrument-readings
        > .metric[data-parameter="DO"] {
        grid-template-columns: 1fr !important;
        gap: 4px;
    }
    :root
        body.observatory-interface
        .ob-reading-upgrade.ob-design-system.ob-gis-upgrade
        .instrument-readings
        > .metric[data-parameter="DO"]
        > div:not(.measurement-gauge):not(.metric-icon),
    :root
        body.observatory-interface
        .ob-reading-upgrade.ob-design-system.ob-gis-upgrade
        .instrument-readings
        > .metric[data-parameter="DO"]
        > .metric-source,
    :root
        body.observatory-interface
        .ob-reading-upgrade.ob-design-system.ob-gis-upgrade
        .instrument-readings
        > .metric[data-parameter="DO"]
        > .measurement-gauge {
        grid-column: 1 !important;
        grid-row: auto !important;
    }
}
@media (max-width: 380px) {
    :root
        body.observatory-interface
        .ob-reading-upgrade.ob-design-system.ob-gis-upgrade
        .instrument-readings
        > .metric {
        grid-template-columns: 1fr !important;
    }
    :root
        body.observatory-interface
        .ob-reading-upgrade.ob-design-system.ob-gis-upgrade
        .instrument-readings
        > .metric
        > .measurement-gauge {
        grid-column: 1 !important;
        grid-row: 4 !important;
    }
    :root
        body.observatory-interface
        .ob-reading-upgrade.ob-design-system.ob-gis-upgrade
        .instrument-readings
        > .metric[data-parameter="DO"]
        > .measurement-gauge {
        grid-row: auto !important;
    }
}

@media (max-width: 600px) {
    :root
        body.observatory-interface
        .ob-reading-upgrade.ob-design-system.ob-gis-upgrade
        .instrument-readings
        > .metric[data-parameter="DO"]
        > .measurement-gauge {
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
    }
    :root
        body.observatory-interface
        .ob-reading-upgrade.ob-design-system.ob-gis-upgrade
        .instrument-readings
        > .metric[data-parameter="DO"]
        > div:not(.measurement-gauge):not(.metric-icon) {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
    }
    :root
        body.observatory-interface
        .ob-reading-upgrade.ob-design-system.ob-gis-upgrade
        .instrument-readings
        > .metric[data-parameter="DO"]
        .metric-label {
        max-width: 46%;
        margin: 0;
    }
    :root
        body.observatory-interface
        .ob-reading-upgrade.ob-design-system.ob-gis-upgrade
        .instrument-readings
        > .metric[data-parameter="DO"]
        .metric-value {
        white-space: nowrap;
    }
}

:root
    body.observatory-interface
    .ob-reading-upgrade.ob-design-system.ob-gis-upgrade
    .context-row {
    padding: 3px 0;
}
:root
    body.observatory-interface
    .ob-reading-upgrade.ob-design-system.ob-gis-upgrade
    .ob-data-coverage
    > strong {
    line-height: 1.1;
}
:root
    body.observatory-interface
    .ob-reading-upgrade.ob-design-system.ob-gis-upgrade
    .reference-guide
    p {
    font-size: 12px;
    line-height: 1.5;
    margin: 6px 0;
}
