/* ======================================================
   BIOLOGY BRAIN
   A1.1 WATER
   DATA INVESTIGATION
====================================================== */


/* ======================================================
   ROOT
====================================================== */

:root {

    --green:
        #1e7e34;

    --green-dark:
        #176329;

    --green-soft:
        #e8f4eb;

    --green-pale:
        #f4faf6;

    --blue:
        #3e7f8d;

    --blue-soft:
        #eef7f9;

    --text:
        #18221c;

    --muted:
        #6a756e;

    --border:
        #d9e4de;

    --background:
        #eef6f3;

    --white:
        #ffffff;

    --paper:
        #fbfdfc;

    --warning:
        #c6972f;

    --correct:
        #1e7e34;

    --incorrect:
        #b94a48;

}


/* ======================================================
   RESET
====================================================== */

*,
*::before,
*::after {

    box-sizing:
        border-box;

}


html {

    scroll-behavior:
        smooth;

}


body {

    margin:
        0;

    min-height:
        100vh;

    background:
        linear-gradient(
            135deg,
            #eef7f4 0%,
            #f5faf8 55%,
            #edf6f8 100%
        );

    color:
        var(--text);

    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Arial,
        Helvetica,
        sans-serif;

}


/* ======================================================
   HEADER
====================================================== */

.investigation-header {

    position:
        sticky;

    top:
        0;

    z-index:
        100;

    width:
        100%;

    min-height:
        106px;

    padding:
        14px 32px;

    display:
        grid;

    grid-template-columns:
        110px
        minmax(0, 1fr)
        auto;

    align-items:
        center;

    gap:
        24px;

    background:
        rgba(
            255,
            255,
            255,
            .96
        );

    border-bottom:
        1px solid
        #d9e4de;

    backdrop-filter:
        blur(10px);

    -webkit-backdrop-filter:
        blur(10px);

}


/* ======================================================
   HEADER LOGO
====================================================== */

.investigation-logo-link {

    display:
        inline-flex;

    align-items:
        center;

    justify-content:
        flex-start;

    width:
        fit-content;

    text-decoration:
        none;

}


.investigation-logo {

    width:
        62px;

    height:
        62px;

    display:
        block;

    object-fit:
        contain;

}


/* ======================================================
   HEADER PROGRESS NAV
====================================================== */

.investigation-progress {

    width:
        min(
            920px,
            100%
        );

    margin:
        0 auto;

    padding:
        0;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    gap:
        10px;

    background:
        transparent;

    border:
        none;

    border-radius:
        0;

    box-shadow:
        none;

}


/* ======================================================
   PROGRESS STEP
====================================================== */

.investigation-progress-step {

    flex:
        0 0 auto;

    padding:
        0;

    display:
        inline-flex;

    align-items:
        center;

    gap:
        8px;

    border:
        none;

    background:
        transparent;

    color:
        #8b9690;

    font:
        inherit;

    cursor:
        pointer;

}


.investigation-progress-step > span {

    width:
        35px;

    height:
        35px;

    display:
        inline-flex;

    align-items:
        center;

    justify-content:
        center;

    border:
        1px solid
        #cfdad4;

    border-radius:
        50%;

    background:
        #f6f9f7;

    color:
        #78847e;

    font-size:
        9px;

    font-weight:
        900;

    transition:
        background-color .18s ease,
        border-color .18s ease,
        color .18s ease;

}


.investigation-progress-step strong {

    white-space:
        nowrap;

    font-size:
        11px;

    font-weight:
        850;

}


/* ======================================================
   ACTIVE STEP
====================================================== */

.investigation-progress-step.active {

    color:
        var(--text);

}


.investigation-progress-step.active
> span {

    border-color:
        var(--green);

    background:
        var(--green);

    color:
        white;

}


/* ======================================================
   PROGRESS CONNECTOR
====================================================== */

.investigation-progress-line {

    flex:
        1 1 70px;

    max-width:
        72px;

    min-width:
        25px;

    height:
        1px;

    background:
        #d3ddd7;

}

/* ======================================================
   HEADER ACTIONS
====================================================== */

.investigation-header-actions {

    justify-self:
        end;

    display:
        flex;

    align-items:
        center;

    gap:
        10px;

}


/* ======================================================
   FULL SCREEN BUTTON
====================================================== */

.investigation-fullscreen {

    padding:
        11px 15px;

    display:
        inline-flex;

    align-items:
        center;

    justify-content:
        center;

    gap:
        7px;

    border:
        1px solid
        #cfdad4;

    border-radius:
        10px;

    background:
        white;

    color:
        var(--text);

    font:
        inherit;

    font-size:
        11px;

    font-weight:
        850;

    white-space:
        nowrap;

    cursor:
        pointer;

    transition:
        border-color .18s ease,
        background-color .18s ease,
        transform .18s ease;

}


.investigation-fullscreen:hover {

    border-color:
        #a9c7b2;

    background:
        #f7faf8;

    transform:
        translateY(-1px);

}


.fullscreen-icon {

    font-size:
        15px;

    line-height:
        1;

}


/* ======================================================
   EXIT BUTTON
====================================================== */

.investigation-exit {

    padding:
        11px 15px;

    border:
        1px solid
        #cfdad4;

    border-radius:
        10px;

    background:
        white;

    color:
        var(--text);

    font-size:
        11px;

    font-weight:
        850;

    text-decoration:
        none;

    white-space:
        nowrap;

    transition:
        border-color .18s ease,
        background-color .18s ease,
        transform .18s ease;

}


.investigation-exit:hover {

    border-color:
        #a9c7b2;

    background:
        #f7faf8;

    transform:
        translateY(-1px);

}


/* ======================================================
   MAIN WORKSHEET
====================================================== */

.investigation-main {

    width:
        min(
            1120px,
            calc(100% - 46px)
        );

    margin:
        28px auto 70px;

}


/* ======================================================
   SECTION FOUNDATION
====================================================== */

.investigation-section {

    position:
        relative;

    margin:
        0 0 30px;

    padding:
        42px;

    background:
        rgba(
            255,
            255,
            255,
            .96
        );

    border:
        1px solid
        var(--border);

    border-radius:
        22px;

    box-shadow:
        0 10px 30px
        rgba(
            35,
            70,
            53,
            .065
        );

}


/* ======================================================
   SECTION NUMBER
====================================================== */

.section-number-label {

    margin-bottom:
        28px;

    display:
        flex;

    align-items:
        center;

    gap:
        10px;

}


.section-number-label > span {

    width:
        34px;

    height:
        34px;

    display:
        inline-flex;

    align-items:
        center;

    justify-content:
        center;

    background:
        var(--green);

    border-radius:
        50%;

    color:
        white;

    font-size:
        10px;

    font-weight:
        900;

}


.section-number-label p {

    margin:
        0;

    color:
        var(--green);

    font-size:
        10px;

    font-weight:
        900;

    letter-spacing:
        .12em;

}


/* ======================================================
   SECTION INTRODUCTION
====================================================== */

.section-introduction {

    max-width:
        720px;

    margin-bottom:
        30px;

}


.section-eyebrow {

    margin:
        0 0 7px;

    color:
        var(--green);

    font-size:
        10px;

    font-weight:
        900;

    letter-spacing:
        .12em;

}


.section-introduction h2 {

    margin:
        0;

    font-size:
        clamp(
            30px,
            4vw,
            42px
        );

    line-height:
        1.05;

    letter-spacing:
        -.035em;

}


.section-introduction > p:last-child {

    margin:
        13px 0 0;

    color:
        var(--muted);

    font-size:
        15px;

    line-height:
        1.6;

}


/* ======================================================
   SECTION 1 — STUDY HERO
====================================================== */

.study-hero {

    display:
        grid;

    grid-template-columns:
        minmax(0, 1.05fr)
        minmax(360px, .95fr);

    gap:
        46px;

    align-items:
        center;

}


/* ======================================================
   STUDY INTRO TEXT
====================================================== */

.study-eyebrow {

    margin:
        0 0 10px;

    color:
        var(--green);

    font-size:
        10px;

    font-weight:
        900;

    letter-spacing:
        .13em;

}


.study-introduction h1 {

    max-width:
        610px;

    margin:
        0;

    font-size:
        clamp(
            40px,
            5vw,
            60px
        );

    font-weight:
        900;

    line-height:
        .98;

    letter-spacing:
        -.05em;

}


.study-lead {

    max-width:
        620px;

    margin:
        21px 0 0;

    color:
        #405048;

    font-size:
        18px;

    font-weight:
        600;

    line-height:
        1.55;

}


.study-copy {

    max-width:
        620px;

    margin:
        15px 0 0;

    color:
        var(--muted);

    font-size:
        14px;

    line-height:
        1.65;

}


/* ======================================================
   BEGIN BUTTON
====================================================== */

.begin-investigation-button {

    margin-top:
        28px;

    padding:
        14px 19px;

    display:
        inline-flex;

    align-items:
        center;

    gap:
        10px;

    border:
        none;

    border-radius:
        12px;

    background:
        var(--green);

    color:
        white;

    font:
        inherit;

    font-size:
        13px;

    font-weight:
        850;

    cursor:
        pointer;

    box-shadow:
        0 8px 18px
        rgba(
            30,
            126,
            52,
            .14
        );

    transition:
        transform .18s ease,
        background-color .18s ease,
        box-shadow .18s ease;

}


.begin-investigation-button:hover {

    transform:
        translateY(-2px);

    background:
        var(--green-dark);

    box-shadow:
        0 12px 22px
        rgba(
            30,
            126,
            52,
            .19
        );

}


/* ======================================================
   STUDY VISUAL
====================================================== */

.study-visual {

    min-width:
        0;

}


.seal-image-frame {

    position:
        relative;

    min-height:
        430px;

    overflow:
        hidden;

    border:
        1px solid
        #d5e3dd;

    border-radius:
        20px;

    background:
        linear-gradient(
            to bottom,
            #d7edf1 0%,
            #b9dde3 52%,
            #8fbfc9 100%
        );

    box-shadow:
        0 14px 28px
        rgba(
            36,
            75,
            70,
            .10
        );

}


/* ======================================================
   TEMPORARY SEAL PLACEHOLDER
====================================================== */

.seal-image-placeholder {

    position:
        absolute;

    inset:
        0;

    display:
        flex;

    flex-direction:
        column;

    align-items:
        center;

    justify-content:
        center;

    gap:
        7px;

    color:
        rgba(
            29,
            64,
            71,
            .52
        );

    text-align:
        center;

}


.seal-image-placeholder span {

    font-size:
        28px;

    font-weight:
        900;

    letter-spacing:
        .08em;

}


.seal-image-placeholder p {

    margin:
        0;

    font-size:
        12px;

    font-weight:
        700;

}


/* ======================================================
   TEMPERATURE BADGE
====================================================== */

.temperature-badge {

    position:
        absolute;

    left:
        18px;

    bottom:
        18px;

    padding:
        12px 14px;

    display:
        flex;

    flex-direction:
        column;

    gap:
        3px;

    border:
        1px solid
        rgba(
            255,
            255,
            255,
            .5
        );

    border-radius:
        12px;

    background:
        rgba(
            255,
            255,
            255,
            .86
        );

    box-shadow:
        0 6px 18px
        rgba(
            30,
            68,
            70,
            .10
        );

    backdrop-filter:
        blur(8px);

    -webkit-backdrop-filter:
        blur(8px);

}


.temperature-badge span {

    color:
        var(--muted);

    font-size:
        8px;

    font-weight:
        900;

    letter-spacing:
        .09em;

}


.temperature-badge strong {

    color:
        var(--blue);

    font-size:
        23px;

}


/* ======================================================
   SOURCE CARD
====================================================== */

.study-source-card {

    margin-top:
        36px;

    padding:
        18px 20px;

    display:
        flex;

    align-items:
        flex-start;

    gap:
        14px;

    border:
        1px solid
        #dbe8e1;

    border-radius:
        15px;

    background:
        var(--green-pale);

}


.study-source-icon {

    flex:
        0 0 auto;

    width:
        38px;

    height:
        38px;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    background:
        white;

    border:
        1px solid
        var(--border);

    border-radius:
        10px;

    color:
        var(--green);

    font-size:
        18px;

    font-weight:
        900;

}


.study-source-card > div:last-child {

    min-width:
        0;

}


.study-source-label {

    display:
        block;

    margin-bottom:
        4px;

    color:
        var(--green);

    font-size:
        8px;

    font-weight:
        900;

    letter-spacing:
        .12em;

}


.study-source-card strong {

    display:
        block;

    font-size:
        14px;

    line-height:
        1.4;

}


.study-source-card p {

    margin:
        5px 0 0;

    color:
        var(--muted);

    font-size:
        11px;

    line-height:
        1.5;

}


/* ======================================================
   SECTION 2
   EXPERIMENTAL SETUP
====================================================== */

.setup-section {

    padding-top:
        64px;

}


/* ======================================================
   EXPERIMENT LAYOUT
====================================================== */

.experiment-layout {

    display:
        grid;

    grid-template-columns:
        minmax(0, 1.25fr)
        minmax(320px, .75fr);

    gap:
        28px;

    margin-top:
        38px;

    align-items:
        stretch;

}


/* ======================================================
   LEFT — EXPERIMENT CARD
====================================================== */

.experiment-card {

    overflow:
        hidden;

    background:
        #ffffff;

    border:
        1px solid
        var(--border);

    border-radius:
        22px;

    box-shadow:
        0 14px 35px
        rgba(
            24,
            52,
            38,
            .06
        );

}


/* ======================================================
   EXPERIMENT CARD HEADING
====================================================== */

.experiment-card-heading {

    padding:
        22px 26px;

    display:
        flex;

    align-items:
        center;

    justify-content:
        space-between;

    border-bottom:
        1px solid
        #e4ece8;

    background:
        white;

}


.experiment-card-heading > div {

    display:
        flex;

    flex-direction:
        column;

    gap:
        5px;

}


.experiment-card-heading span {

    color:
        var(--green);

    font-size:
        8px;

    font-weight:
        900;

    letter-spacing:
        .14em;

}


.experiment-card-heading strong {

    color:
        var(--text);

    font-size:
        16px;

}


/* ======================================================
   VARIABLE BADGES
====================================================== */

.experiment-variable-badge {

    display:
        inline-flex;

    align-items:
        center;

    justify-content:
        center;

    width:
        fit-content;

    padding:
        6px 10px;

    border-radius:
        999px;

    font-size:
        8px;

    font-weight:
        900;

    letter-spacing:
        .11em;

    white-space:
        nowrap;

}


.experiment-variable-badge.changed {

    background:
        #fff1dd;

    color:
        #a55b00;

}


.experiment-variable-badge.measured {

    background:
        var(--green-soft);

    color:
        var(--green);

}


/* ======================================================
   TEMPERATURE CONTROL
====================================================== */

.temperature-experiment-control {

    padding:
        22px 26px 20px;

    background:
        #f8fbf9;

    border-bottom:
        1px solid
        #dfe9e4;

}


.experiment-variable-heading {

    display:
        flex;

    align-items:
        flex-start;

    gap:
        14px;

}


.experiment-variable-heading > div {

    display:
        flex;

    flex-direction:
        column;

    gap:
        3px;

}


.experiment-variable-heading strong {

    color:
        var(--text);

    font-size:
        15px;

}


.experiment-variable-heading p {

    margin:
        0;

    color:
        var(--muted);

    font-size:
        12px;

    line-height:
        1.45;

}


/* ======================================================
   TEMPERATURE SCALE
====================================================== */

.temperature-scale {

    margin-top:
        20px;

    display:
        grid;

    grid-template-columns:
        auto
        1fr
        auto;

    align-items:
        center;

    gap:
        12px;

}


.temperature-scale > span {

    color:
        #38574b;

    font-size:
        11px;

    font-weight:
        850;

}


.temperature-scale-line {

    position:
        relative;

    height:
        8px;

    border-radius:
        999px;

    background:
        linear-gradient(
            90deg,
            #bde8f1 0%,
            #9edce5 35%,
            #f0d39b 70%,
            #eba15f 100%
        );

}


.temperature-scale-line::before,
.temperature-scale-line::after {

    content:
        "";

    position:
        absolute;

    top:
        50%;

    width:
        14px;

    height:
        14px;

    border:
        3px solid
        var(--green);

    border-radius:
        50%;

    background:
        white;

    transform:
        translateY(-50%);

}


.temperature-scale-line::before {

    left:
        0;

}


.temperature-scale-line::after {

    right:
        0;

}


.temperature-values {

    margin:
        10px 34px 0;

    display:
        grid;

    grid-template-columns:
        repeat(
            6,
            1fr
        );

    text-align:
        center;

}


.temperature-values span {

    color:
        #718078;

    font-size:
        9px;

    font-weight:
        750;

}


/* ======================================================
   EXPERIMENT VISUAL
====================================================== */

.experiment-visual {

    position:
        relative;

}


.experiment-water {

    position:
        relative;

    min-height:
        430px;

    overflow:
        hidden;

    background:
        linear-gradient(
            180deg,
            #dff5f6 0%,
            #c9ebed 30%,
            #a9dce0 100%
        );

}


/* ======================================================
   SUBTLE WATER LINES
====================================================== */

.experiment-water::before,
.experiment-water::after {

    content:
        "";

    position:
        absolute;

    left:
        -5%;

    width:
        110%;

    height:
        1px;

    background:
        rgba(
            55,
            143,
            153,
            .28
        );

}


.experiment-water::before {

    top:
        22%;

}


.experiment-water::after {

    top:
        27%;

}


/* ======================================================
   SEAL GRAPHIC
====================================================== */

.experiment-seal-image {

    position:
        absolute;

    left:
        50%;

    top:
        49%;

    z-index:
        2;

    width:
        86%;

    max-width:
        390px;

    height:
        auto;

    transform:
        translate(
            -50%,
            -50%
        );

    object-fit:
        contain;

    user-select:
        none;

    -webkit-user-drag:
        none;

    pointer-events:
        none;

}


/* ======================================================
   MEASUREMENT CALLOUTS
====================================================== */

.measurement-callout {

    position:
        absolute;

    z-index:
        4;

    width:
        175px;

    padding:
        13px 14px;

    border:
        1px solid
        rgba(
            30,
            126,
            52,
            .18
        );

    border-radius:
        14px;

    background:
        rgba(
            255,
            255,
            255,
            .96
        );

    box-shadow:
        0 8px 24px
        rgba(
            31,
            65,
            49,
            .10
        );

}


.measurement-callout strong {

    display:
        block;

    margin-top:
        8px;

    color:
        var(--text);

    font-size:
        12px;

}


.measurement-callout p {

    margin:
        3px 0 0;

    color:
        var(--muted);

    font-size:
        10px;

    line-height:
        1.35;

}


/* ======================================================
   TRUNK CALLOUT
====================================================== */

.trunk-measurement {

    left:
        24px;

    top:
        55px;

}


/* ======================================================
   FLIPPER CALLOUT
====================================================== */

.flipper-measurement {

    right:
        24px;

    bottom:
        32px;

}
/* ======================================================
   CONNECTOR LINES
   Geometry is controlled by JavaScript
====================================================== */

.measurement-connector {

    position:
        absolute;

    z-index:
        1;

    display:
        block;

    width:
        0;

    height:
        2px;

    background:
        var(--green);

    transform-origin:
        left center;

    pointer-events:
        none;

}


.measurement-connector::after {

    content:
        "";

    position:
        absolute;

    right:
        -4px;

    top:
        50%;

    width:
        8px;

    height:
        8px;

    border-radius:
        50%;

    background:
        var(--green);

    transform:
        translateY(-50%);

}


/* ======================================================
   TRUNK CONNECTOR
====================================================== */

.trunk-connector {

    left:
        0;

    top:
        0;

}


/* ======================================================
   FLIPPER CONNECTOR
====================================================== */

.flipper-connector {

    left:
        0;

    top:
        0;

}

/* ======================================================
   MEASUREMENT TARGETS

   Invisible anchor points positioned over the seal.
   JavaScript connects each callout to these targets.
====================================================== */

.measurement-target {

    position:
        absolute;

    z-index:
        3;

    width:
        8px;

    height:
        8px;

    border-radius:
        50%;

    transform:
        translate(
            -50%,
            -50%
        );

    pointer-events:
        none;

    opacity:
        0;

}


/* ======================================================
   DESKTOP TARGET POSITIONS
====================================================== */

.trunk-target {

    left:
        49%;

    top:
        52%;

}


.flipper-target {

    left:
        61%;

    top:
        61%;

}

/* ======================================================
   RIGHT — EXPERIMENT SUMMARY
====================================================== */

.experiment-summary-card {

    padding:
        28px;

    display:
        flex;

    flex-direction:
        column;

    background:
        white;

    border:
        1px solid
        var(--border);

    border-radius:
        22px;

    box-shadow:
        0 14px 35px
        rgba(
            24,
            52,
            38,
            .06
        );

}


.experiment-summary-card
> .measurements-eyebrow {

    margin:
        0 0 8px;

    color:
        var(--green);

    font-size:
        9px;

    font-weight:
        900;

    letter-spacing:
        .14em;

}


.experiment-summary-card > h3 {

    margin:
        0 0 24px;

    color:
        var(--text);

    font-size:
        21px;

    line-height:
        1.2;

}


/* ======================================================
   DESIGN SUMMARY GROUPS
====================================================== */

.design-summary-group {

    padding:
        18px 0;

    border-top:
        1px solid
        #e5ece8;

}


.design-summary-heading {

    margin-bottom:
        14px;

    display:
        flex;

    align-items:
        center;

    justify-content:
        space-between;

    gap:
        12px;

}


.design-summary-heading > strong {

    color:
        var(--muted);

    font-size:
        11px;

}


/* ======================================================
   DESIGN SUMMARY ITEMS
====================================================== */

.design-summary-item {

    padding:
        11px 0;

    display:
        grid;

    grid-template-columns:
        38px
        1fr;

    gap:
        12px;

    align-items:
        flex-start;

}


.design-summary-item +
.design-summary-item {

    border-top:
        1px solid
        #edf1ef;

}


.design-summary-icon,
.design-summary-number {

    width:
        34px;

    height:
        34px;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    border-radius:
        9px;

    background:
        #edf7f0;

    color:
        var(--green);

    font-size:
        10px;

    font-weight:
        900;

}


.design-summary-icon {

    font-size:
        16px;

}


.design-summary-item strong {

    display:
        block;

    margin-bottom:
        3px;

    color:
        var(--text);

    font-size:
        13px;

}


.design-summary-item p {

    margin:
        0;

    color:
        var(--muted);

    font-size:
        10px;

    line-height:
        1.4;

}


/* ======================================================
   THINK LIKE A SCIENTIST
====================================================== */

.experiment-design-hint {

    margin-top:
        auto;

    padding:
        17px 18px;

    border:
        1px solid
        #d8e8dc;

    border-radius:
        14px;

    background:
        #f3f8f4;

}


.experiment-design-hint > span {

    display:
        block;

    margin-bottom:
        7px;

    color:
        var(--green);

    font-size:
        8px;

    font-weight:
        900;

    letter-spacing:
        .12em;

}


.experiment-design-hint p {

    margin:
        0;

    color:
        #56675e;

    font-size:
        10px;

    line-height:
        1.5;

}


/* ======================================================
   SECTION 2 — WORKSHEET TASK
====================================================== */

.setup-section
.worksheet-task {

    margin-top:
        32px;

    padding:
        28px;

    border:
        1px solid
        #d9e5df;

    border-radius:
        22px;

    background:
        white;

    box-shadow:
        0 12px 30px
        rgba(
            24,
            52,
            38,
            .05
        );

}


/* ======================================================
   TASK HEADING
====================================================== */

.setup-section
.worksheet-task-heading {

    margin-bottom:
        26px;

    display:
        flex;

    align-items:
        flex-start;

    gap:
        16px;

}


.setup-section
.task-badge {

    flex:
        0 0 auto;

    padding:
        7px 10px;

    border-radius:
        8px;

    background:
        var(--green);

    color:
        white;

    font-size:
        8px;

    font-weight:
        900;

    letter-spacing:
        .1em;

    white-space:
        nowrap;

}


.setup-section
.worksheet-task-heading h3 {

    margin:
        0 0 4px;

    color:
        var(--text);

    font-size:
        20px;

}


.setup-section
.worksheet-task-heading p {

    margin:
        0;

    color:
        var(--muted);

    font-size:
        12px;

    line-height:
        1.5;

}


/* ======================================================
   VARIABLE QUESTIONS
====================================================== */

.setup-section
.variable-question {

    padding:
        20px 0;

    display:
        grid;

    grid-template-columns:
        42px
        1fr;

    gap:
        16px;

    border-top:
        1px solid
        #e5ece8;

}


.setup-section
.variable-question-number {

    width:
        38px;

    height:
        38px;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    border:
        none;

    border-radius:
        50%;

    background:
        #edf7f0;

    color:
        var(--green);

    font-size:
        11px;

    font-weight:
        900;

}


.setup-section
.variable-question-content {

    display:
        flex;

    flex-direction:
        column;

    align-items:
        flex-start;

    min-width:
        0;

}


.setup-section
.variable-question-content label {

    display:
        block;

    margin-bottom:
        12px;

    color:
        #25332b;

    font-size:
        13px;

    font-weight:
        750;

    line-height:
        1.45;

}


.setup-section
.variable-question-content select {

    width:
        min(
            440px,
            100%
        );

    padding:
        12px 40px 12px 14px;

    border:
        1px solid
        #cad8d1;

    border-radius:
        10px;

    background:
        white;

    color:
        #26352d;

    font:
        inherit;

    font-size:
        12px;

    outline:
        none;

    cursor:
        pointer;

}


.setup-section
.variable-question-content select:focus {

    border-color:
        var(--green);

    box-shadow:
        0 0 0 3px
        rgba(
            30,
            126,
            52,
            .10
        );

}


/* ======================================================
   VARIABLE FEEDBACK
====================================================== */

.setup-section
.variable-feedback {

    min-height:
        20px;

    margin-top:
        9px;

    font-size:
        11px;

    font-weight:
        750;

}


.setup-section
.variable-feedback.correct {

    color:
        var(--correct);

}


.setup-section
.variable-feedback.incorrect {

    color:
        var(--incorrect);

}


/* ======================================================
   CHECK ANSWERS
====================================================== */

.setup-section
.check-variables-button {

    margin-top:
        10px;

    padding:
        13px 22px;

    border:
        none;

    border-radius:
        10px;

    background:
        var(--green);

    color:
        white;

    font:
        inherit;

    font-size:
        12px;

    font-weight:
        850;

    cursor:
        pointer;

    transition:
        transform .18s ease,
        box-shadow .18s ease,
        background-color .18s ease;

}


.setup-section
.check-variables-button:hover {

    transform:
        translateY(-2px);

    background:
        var(--green-dark);

    box-shadow:
        0 8px 18px
        rgba(
            30,
            126,
            52,
            .18
        );

}


/* ======================================================
   SECTION 2 — TABLET
====================================================== */

@media (
    max-width:
    1050px
) {

    .experiment-layout {

        grid-template-columns:
            1fr;

    }


    .experiment-summary-card {

        min-height:
            auto;

    }


    .experiment-design-hint {

        margin-top:
            20px;

    }

}


/* ======================================================
   SECTION 2 — SMALL TABLET
====================================================== */

@media (
    max-width:
    700px
) {

    .trunk-target {

        left:
            49%;
    
        top:
            51%;
    
    }
    
    
    .flipper-target {
    
        left:
            61%;
    
        top:
            60%;
    
    }

    .setup-section {

        padding-top:
            42px;

    }


    .experiment-card-heading,
    .temperature-experiment-control,
    .experiment-summary-card,
    .setup-section
    .worksheet-task {

        padding-left:
            18px;

        padding-right:
            18px;

    }


    .experiment-water {

        min-height:
            380px;

    }


    .experiment-seal-image {

        width:
            65%;

    }


    .measurement-callout {

        width:
            145px;

        padding:
            10px 11px;

    }


    .trunk-measurement {

        left:
            12px;

        top:
            35px;

    }


    .flipper-measurement {

        right:
            12px;

        bottom:
            22px;

    }


    .temperature-values {

        margin-left:
            20px;

        margin-right:
            20px;

    }


    .experiment-variable-heading {

        flex-direction:
            column;

    }


    .setup-section
    .variable-question {

        grid-template-columns:
            1fr;

    }

}


/* ======================================================
   SECTION 2 — PHONE
====================================================== */

@media (
    max-width:
    500px
) {

    .trunk-target {

        left:
            49%;
    
        top:
            50%;
    
    }
    
    
    .flipper-target {
    
        left:
            61%;
    
        top:
            59%;
    
    }


    .experiment-water {

        min-height:
            420px;

    }


    .experiment-seal-image {

        width:
            78%;

        top:
            52%;

    }


    .measurement-callout {

        width:
            135px;

    }


    .measurement-callout p {

        display:
            none;

    }


    .temperature-values span {

        font-size:
            8px;

    }


    .setup-section
    .worksheet-task-heading {

        flex-direction:
            column;

    }

}


/* ======================================================
   SECTION BACKGROUNDS
====================================================== */

.data-section,
.analysis-section,
.conclusion-section {

    min-height:
        240px;

}


.data-section {

    background:
        linear-gradient(
            145deg,
            #ffffff 0%,
            #f6fbfc 100%
        );

}


.analysis-section {

    background:
        linear-gradient(
            145deg,
            #ffffff 0%,
            #f8fbf8 100%
        );

}


.conclusion-section {

    background:
        linear-gradient(
            145deg,
            #ffffff 0%,
            #f6faf7 100%
        );

}


/* ======================================================
   FOOTER
====================================================== */

.investigation-footer {

    width:
        min(
            1050px,
            calc(100% - 44px)
        );

    margin:
        0 auto 32px;

    padding:
        22px 0 0;

    display:
        grid;

    grid-template-columns:
        minmax(0, 1.4fr)
        minmax(0, 1fr)
        auto;

    gap:
        28px;

    align-items:
        start;

    border-top:
        1px solid
        rgba(
            105,
            117,
            110,
            .18
        );

    color:
        #7d8882;

}


.investigation-footer strong {

    display:
        block;

    margin-bottom:
        5px;

    color:
        #526159;

    font-size:
        10px;

}


.investigation-footer p {

    margin:
        0;

    font-size:
        9px;

    line-height:
        1.55;

}


.data-disclaimer {

    color:
        #8b9690;

}


.investigation-footer a {

    color:
        var(--green);

    font-size:
        10px;

    font-weight:
        850;

    text-decoration:
        none;

    white-space:
        nowrap;

}


.investigation-footer a:hover {

    text-decoration:
        underline;

}


/* ======================================================
   GENERAL TABLET
====================================================== */

@media (
    max-width:
    980px
) {

    .study-hero {

        grid-template-columns:
            1fr;

    }


    .seal-image-frame {

        min-height:
            350px;

    }


    .experiment-layout {

        grid-template-columns:
            1fr;

    }


    .investigation-footer {

        grid-template-columns:
            1fr;

        gap:
            14px;

    }

}


/* ======================================================
   GENERAL SMALL TABLET
====================================================== */

@media (
    max-width:
    760px
) {

    .investigation-header {

        padding:
            9px 18px;

    }


    .investigation-logo {

        width:
            54px;

        height:
            54px;

    }


    .investigation-progress {

        width:
            calc(100% - 24px);

        overflow-x:
            auto;

        justify-content:
            flex-start;

    }


    .investigation-main {

        width:
            calc(100% - 28px);

        margin-top:
            20px;

    }


    .investigation-section {

        padding:
            28px;

    }


    .study-introduction h1 {

        font-size:
            43px;

    }


    .seal-image-frame {

        min-height:
            310px;

    }

}


/* ======================================================
   GENERAL PHONE
====================================================== */
/* ======================================================
   MOBILE HEADER
====================================================== */

@media (
    max-width:
    540px
) {

    .investigation-header {

        min-height:
            auto;

        padding:
            8px 12px 10px;

        grid-template-columns:
            38px
            minmax(
                0,
                1fr
            );

        grid-template-areas:
            "logo progress"
            "actions actions";

        gap:
            8px 10px;

        align-items:
            center;

    }


    /* =========================
       LOGO
    ========================= */

    .investigation-logo-link {

        grid-area:
            logo;

    }


    .investigation-logo {

        width:
            34px;

        height:
            34px;

    }


    /* =========================
       PROGRESS
    ========================= */

    .investigation-progress {

        grid-area:
            progress;

        width:
            100%;

        margin:
            0;

        gap:
            5px;

        overflow:
            visible;

        justify-content:
            space-between;

    }


    .investigation-progress-step {

        gap:
            0;

    }


    .investigation-progress-step > span {

        width:
            28px;

        height:
            28px;

        font-size:
            8px;

    }


    /*
        Hide the words Study, Setup, Data,
        Analyze and Conclusion on phones.

        The numbered circles are enough.
    */

    .investigation-progress-step strong {

        display:
            none;

    }


    .investigation-progress-line {

        flex:
            1 1 auto;

        min-width:
            8px;

        max-width:
            none;

    }


    /* =========================
       ACTION BUTTON ROW
    ========================= */

    .investigation-header-actions {

        grid-area:
            actions;

        width:
            100%;

        display:
            grid;

        grid-template-columns:
            1fr
            1fr;

        gap:
            8px;

    }


    .investigation-fullscreen,
    .investigation-exit {

        width:
            100%;

        min-height:
            36px;

        padding:
            8px 10px;

        display:
            inline-flex;

        align-items:
            center;

        justify-content:
            center;

        border-radius:
            8px;

        font-size:
            9px;

        text-align:
            center;

    }


    .fullscreen-icon {

        font-size:
            12px;

    }




    .investigation-main {

        width:
            calc(100% - 20px);

    }


    .investigation-section {

        padding:
            22px;

        border-radius:
            18px;

    }


    .section-number-label {

        margin-bottom:
            22px;

    }


    .study-introduction h1 {

        font-size:
            38px;

    }


    .study-lead {

        font-size:
            16px;

    }


    .seal-image-frame {

        min-height:
            275px;

    }


    .study-source-card {

        flex-direction:
            column;

    }


    .worksheet-task {

        padding:
            20px;

    }


    .worksheet-task-heading {

        flex-direction:
            column;

    }


    .variable-question {

        grid-template-columns:
            1fr;

    }


    .variable-question-number {

        width:
            30px;

        height:
            30px;

    }

}


/* ======================================================
   REDUCED MOTION
====================================================== */

@media (
    prefers-reduced-motion:
    reduce
) {

    *,
    *::before,
    *::after {

        scroll-behavior:
            auto !important;

        transition:
            none !important;

        animation:
            none !important;

    }

}

/* ======================================================
   SECTION 3
   DATA + GRAPH WORKSPACE
====================================================== */

.data-workspace {

    display:
        grid;

    grid-template-columns:
        minmax(390px, .82fr)
        minmax(650px, 1.45fr);

    gap:
        26px;

    align-items:
        stretch;

}


/* ======================================================
   DATA TABLE CARD
====================================================== */

.data-table-card {

    min-width:
        0;

    padding:
        26px;

    background:
        #ffffff;

    border:
        1px solid
        var(--border);

    border-radius:
        20px;

    display:
        flex;

    flex-direction:
        column;

}


/* ======================================================
   GRAPH CARD
====================================================== */

.graph-card {

    min-width:
        0;

    padding:
        26px;

    background:
        #ffffff;

    border:
        1px solid
        var(--border);

    border-radius:
        20px;

    display:
        flex;

    flex-direction:
        column;

}

/* ======================================================
   SECTION 3 — WIDER DATA WORKSPACE
====================================================== */

@media (
    min-width:
    1200px
) {

    .investigation-main {

        width:
            min(
                1320px,
                calc(100% - 60px)
            );

    }

}


/* ======================================================
   DATA TABLE HEADING
====================================================== */

.data-table-heading {

    display:
        flex;

    align-items:
        flex-start;

    justify-content:
        space-between;

    gap:
        16px;

}


.data-table-heading > div {

    min-width:
        0;

}


.data-table-eyebrow {

    display:
        block;

    margin-bottom:
        5px;

    color:
        var(--green);

    font-size:
        8px;

    font-weight:
        900;

    letter-spacing:
        .12em;

}


.data-table-heading h3 {

    margin:
        0;

    font-size:
        22px;

    line-height:
        1.15;

}


.simulated-data-badge {

    flex:
        0 0 auto;

    padding:
        7px 10px;

    border:
        1px solid
        #dfd4a6;

    border-radius:
        999px;

    background:
        #fff9e8;

    color:
        #80631b;

    font-size:
        7px;

    font-weight:
        900;

    letter-spacing:
        .08em;

}


.data-table-copy {

    margin:
        13px 0 20px;

    color:
        var(--muted);

    font-size:
        12px;

    line-height:
        1.55;

}


/* ======================================================
   TABLE WRAPPER
====================================================== */

.data-table-wrapper {

    width:
        100%;

    overflow-x:
        auto;

    border:
        1px solid
        #dce5e0;

    border-radius:
        14px;

    background:
        white;

}


/* ======================================================
   DATA TABLE
====================================================== */

.seal-data-table {

    width:
        100%;

    border-collapse:
        collapse;

    table-layout:
        fixed;

}


.seal-data-table th {

    padding:
        15px 12px;

    background:
        #f2f7f4;

    border-bottom:
        1px solid
        #dce5e0;

    color:
        #48564e;

    text-align:
        left;

    vertical-align:
        bottom;

    font-size:
        10px;

    font-weight:
        900;

    line-height:
        1.3;

}


.seal-data-table th span {

    display:
        block;

    margin-top:
        4px;

    color:
        #7b8881;

    font-size:
        8px;

    font-weight:
        700;

    line-height:
        1.3;

}


.seal-data-table th:nth-child(1) {

    width:
        31%;

}


.seal-data-table th:nth-child(2) {

    width:
        46%;

}


.seal-data-table th:nth-child(3) {

    width:
        23%;

}


.seal-data-table td {

    padding:
        17px 12px;

    border-bottom:
        1px solid
        #edf1ef;

    color:
        #37433c;

    font-size:
        14px;

    font-weight:
        800;

}


.seal-data-table tbody tr:last-child td {

    border-bottom:
        none;

}


/* ======================================================
   DATA ROW STATES
====================================================== */

.data-row {

    transition:
        background-color .18s ease,
        box-shadow .18s ease,
        opacity .18s ease;

}


.data-row.active {

    background:
        #eef8f1;

    box-shadow:
        inset 4px 0 0
        var(--green);

}


.data-row.plotted {

    background:
        #f7faf8;

}


.data-row.waiting {

    opacity:
        .58;

}


/* ======================================================
   PLOT STATUS
====================================================== */

.plot-status {

    display:
        inline-flex;

    align-items:
        center;

    justify-content:
        center;

    min-width:
        56px;

    padding:
        6px 8px;

    border-radius:
        999px;

    background:
        #eef2ef;

    color:
        #78857e;

    font-size:
        8px;

    font-weight:
        850;

}


.data-row.active
.plot-status {

    background:
        var(--green);

    color:
        white;

}


.data-row.plotted
.plot-status {

    background:
        var(--green-soft);

    color:
        var(--green);

}


/* ======================================================
   CURRENT POINT INSTRUCTION
====================================================== */

.plot-instruction-card {

    margin-top:
        20px;

    padding:
        17px 18px;

    border:
        1px solid
        #d6e5db;

    border-radius:
        14px;

    background:
        linear-gradient(
            145deg,
            #f5faf6 0%,
            #eef7f1 100%
        );

}


.plot-instruction-label {

    display:
        block;

    margin-bottom:
        5px;

    color:
        var(--green);

    font-size:
        8px;

    font-weight:
        900;

    letter-spacing:
        .11em;

}


.plot-instruction-card strong {

    display:
        block;

    font-size:
        18px;

}


.plot-instruction-card p {

    margin:
        6px 0 0;

    color:
        var(--muted);

    font-size:
        11px;

    line-height:
        1.5;

}


/* ======================================================
   GRAPH CARD
====================================================== */

.graph-card {

    min-width:
        0;

    padding:
        26px;

    display:
        flex;

    flex-direction:
        column;

    background:
        white;

    border:
        1px solid
        var(--border);

    border-radius:
        18px;

    box-shadow:
        0 7px 22px
        rgba(
            32,
            70,
            48,
            .04
        );

}


/* ======================================================
   GRAPH CARD HEADING
====================================================== */

.graph-card-heading {

    display:
        flex;

    align-items:
        flex-start;

    justify-content:
        space-between;

    gap:
        20px;

}


.graph-card-eyebrow {

    display:
        block;

    margin-bottom:
        5px;

    color:
        var(--green);

    font-size:
        8px;

    font-weight:
        900;

    letter-spacing:
        .12em;

}


.graph-card-heading h3 {

    margin:
        0;

    font-size:
        22px;

    line-height:
        1.15;

}


.graph-progress {

    flex:
        0 0 auto;

    display:
        flex;

    flex-direction:
        column;

    align-items:
        flex-end;

    gap:
        2px;

}


.graph-progress strong {

    color:
        var(--green);

    font-size:
        23px;

    line-height:
        1;

}


.graph-progress span {

    color:
        var(--muted);

    font-size:
        8px;

    font-weight:
        750;

}


/* ======================================================
   GRAPH AXIS SUMMARY
====================================================== */

.graph-start-note {

    margin-top:
        20px;

    padding:
        14px 16px;

    border:
        1px solid
        #dce6e0;

    border-radius:
        12px;

    background:
        #f7faf8;

}


.graph-start-note > span {

    display:
        block;

    margin-bottom:
        5px;

    color:
        var(--green);

    font-size:
        8px;

    font-weight:
        900;

    letter-spacing:
        .11em;

}


.graph-start-note p {

    margin:
        0;

    color:
        #58665e;

    font-size:
        10px;

    line-height:
        1.5;

}


.graph-start-note strong {

    color:
        #334139;

    font-weight:
        850;

}
/* ======================================================

   GRAPH STAGE

====================================================== */

.graph-stage {

    position:

        relative;

    width:

        100%;

    margin-top:

        22px;

    padding:

        0;

    overflow:

        hidden;

    border:

        1px solid

        #d5e0da;

    border-radius:

        16px;

    background:

        #ffffff;

}

/* ======================================================
   GRAPH PAPER MAJOR LINES
====================================================== */

.graph-stage::before {

    content:
        "";

    position:
        absolute;

    inset:
        0;

    z-index:
        0;

    pointer-events:
        none;

    background-image:
        linear-gradient(
            rgba(
                62,
                127,
                141,
                .08
            )
            1px,
            transparent
            1px
        ),
        linear-gradient(
            90deg,
            rgba(
                62,
                127,
                141,
                .08
            )
            1px,
            transparent
            1px
        );

    background-size:
        120px 120px;

}


/* ======================================================

   GRAPH CANVAS

====================================================== */

#seal-data-graph {

    display:

        block;

    width:

        100%;

    height:

        auto;

    background:

        #ffffff;

    cursor:

        crosshair;

    touch-action:

        none;

}

/* ======================================================

   OLD HTML AXIS LABELS

   Safety rule in case any remain elsewhere.

====================================================== */

.graph-x-axis-title,

.graph-y-axis-title {

    display:

        none !important;

}
/* ======================================================
   GRAPH FEEDBACK
====================================================== */

.graph-feedback {

    min-height:
        21px;

    margin-top:
        12px;

    padding:
        0 2px;

    color:
        var(--muted);

    font-size:
        11px;

    font-weight:
        750;

}


.graph-feedback.correct {

    color:
        var(--correct);

}


.graph-feedback.incorrect {

    color:
        var(--incorrect);

}


/* ======================================================
   GRAPH COMPLETION CONTROLS
====================================================== */

.graph-completion-controls {

    margin-top:
        18px;

    padding:
        18px;

    border:
        1px solid
        #d5e4da;

    border-radius:
        14px;

    background:
        var(--green-pale);

}


.graph-completion-controls[hidden] {

    display:
        none;

}


.graph-completion-controls > div:first-child {

    margin-bottom:
        14px;

}


.graph-complete-label {

    display:
        block;

    margin-bottom:
        4px;

    color:
        var(--green);

    font-size:
        8px;

    font-weight:
        900;

    letter-spacing:
        .1em;

}


.graph-completion-controls strong {

    font-size:
        14px;

}


/* ======================================================
   FINISH OPTIONS
====================================================== */

.graph-finish-options {

    display:
        grid;

    grid-template-columns:
        repeat(
            3,
            minmax(
                0,
                1fr
            )
        );

    gap:
        9px;

}


.graph-finish-option {

    min-height:
        72px;

    padding:
        10px;

    border:
        1px solid
        #cfded5;

    border-radius:
        10px;

    background:
        white;

    color:
        #3b4941;

    font:
        inherit;

    font-size:
        9px;

    font-weight:
        750;

    line-height:
        1.35;

    cursor:
        pointer;

    transition:
        transform .18s ease,
        border-color .18s ease,
        background-color .18s ease;

}


.graph-finish-option:hover {

    transform:
        translateY(-2px);

    border-color:
        #9fc6aa;

    background:
        #f9fcfa;

}


.graph-finish-option.correct {

    border-color:
        var(--green);

    background:
        var(--green-soft);

    color:
        var(--green-dark);

}


.graph-finish-option.incorrect {

    border-color:
        #deb7b5;

    background:
        #fff5f4;

    color:
        var(--incorrect);

}


/* ======================================================
   FINISH FEEDBACK
====================================================== */

.graph-finish-feedback {

    min-height:
        18px;

    margin-top:
        11px;

    color:
        var(--muted);

    font-size:
        10px;

    font-weight:
        750;

}


.graph-finish-feedback.correct {

    color:
        var(--correct);

}


.graph-finish-feedback.incorrect {

    color:
        var(--incorrect);

}


/* ======================================================
   GRAPH INTERPRETATION TASK
====================================================== */

.graph-interpretation-task {

    margin-top:
        26px;

    padding:
        28px;

    border:
        1px solid
        #d5e4da;

    border-radius:
        18px;

    background:
        linear-gradient(
            145deg,
            #f7fbf8 0%,
            #f1f8f3 100%
        );

}


.graph-interpretation-task[hidden] {

    display:
        none;

}


/* ======================================================
   INTERPRETATION OPTIONS
====================================================== */

.interpretation-options {

    margin-top:
        20px;

    display:
        grid;

    grid-template-columns:
        repeat(
            2,
            minmax(
                0,
                1fr
            )
        );

    gap:
        11px;

}


.interpretation-option {

    min-height:
        100px;

    padding:
        16px;

    display:
        grid;

    grid-template-columns:
        auto
        1fr;

    gap:
        12px;

    align-items:
        flex-start;

    border:
        1px solid
        #d2ded7;

    border-radius:
        13px;

    background:
        white;

    color:
        var(--text);

    text-align:
        left;

    font:
        inherit;

    cursor:
        pointer;

    transition:
        transform .18s ease,
        border-color .18s ease,
        background-color .18s ease;

}


.interpretation-option:hover {

    transform:
        translateY(-2px);

    border-color:
        #9ec6aa;

}


.interpretation-option > span {

    width:
        30px;

    height:
        30px;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    border:
        1px solid
        #d2ddd6;

    border-radius:
        8px;

    background:
        #f5f8f6;

    color:
        var(--green);

    font-size:
        10px;

    font-weight:
        900;

}


.interpretation-option p {

    margin:
        2px 0 0;

    color:
        #46534b;

    font-size:
        11px;

    line-height:
        1.5;

}


.interpretation-option.correct {

    border-color:
        var(--green);

    background:
        var(--green-soft);

}


.interpretation-option.correct
> span {

    border-color:
        var(--green);

    background:
        var(--green);

    color:
        white;

}


.interpretation-option.incorrect {

    border-color:
        #ddb3b0;

    background:
        #fff5f4;

}


.interpretation-option.incorrect
> span {

    border-color:
        #dca9a6;

    background:
        #fbe7e5;

    color:
        var(--incorrect);

}


/* ======================================================
   INTERPRETATION FEEDBACK
====================================================== */

.interpretation-feedback {

    min-height:
        21px;

    margin-top:
        14px;

    color:
        var(--muted);

    font-size:
        11px;

    font-weight:
        750;

}


.interpretation-feedback.correct {

    color:
        var(--correct);

}


.interpretation-feedback.incorrect {

    color:
        var(--incorrect);

}


/* ======================================================
   EDUCATIONAL DATA NOTE
====================================================== */

.educational-data-note {

    margin-top:
        24px;

    padding:
        17px 19px;

    border:
        1px solid
        #dce5e0;

    border-radius:
        13px;

    background:
        #f7faf8;

}


.educational-data-note strong {

    display:
        block;

    margin-bottom:
        5px;

    color:
        #445149;

    font-size:
        10px;

}


.educational-data-note p {

    margin:
        0;

    color:
        var(--muted);

    font-size:
        9px;

    line-height:
        1.55;

}


/* ======================================================
   SECTION 3 — TABLET
====================================================== */

@media (
    max-width:
    1050px
) {

    .data-workspace {

        grid-template-columns:
            1fr;

    }


    .data-table-card {

        order:
            1;

    }


    .graph-card {

        order:
            2;

    }


    .graph-stage {

        min-height:
            480px;

    }

}


/* ======================================================
   SECTION 3 — SMALL TABLET
====================================================== */

@media (
    max-width:
    760px
) {

    .graph-start-note {

        margin-top:
            16px;

    }


    .graph-finish-options {

        grid-template-columns:
            1fr;

    }


    .interpretation-options {

        grid-template-columns:
            1fr;

    }


    .graph-stage {

        min-height:
            420px;

        padding:
            16px 12px 40px 50px;

        background-size:
            20px 20px;

    }


    .graph-stage::before {

        background-size:
            100px 100px;

    }


    .graph-y-axis-title {

        left:
            8px;

        width:
            215px;

        font-size:
            8px;

    }


    .graph-x-axis-title {

        font-size:
            9px;

    }

}


/* ======================================================
   SECTION 3 — PHONE
====================================================== */

@media (
    max-width:
    540px
) {

    .data-table-card,
    .graph-card {

        padding:
            18px;

    }


    .data-table-heading,
    .graph-card-heading {

        flex-direction:
            column;

        align-items:
            flex-start;

    }


    .graph-progress {

        align-items:
            flex-start;

    }


    .seal-data-table th,
    .seal-data-table td {

        padding:
            12px 8px;

    }


    .seal-data-table th {

        font-size:
            8px;

    }


    .seal-data-table td {

        font-size:
            12px;

    }


    .plot-status {

        min-width:
            45px;

        font-size:
            7px;

    }


    .graph-start-note p {

        font-size:
            9px;

    }


    .graph-stage {

        min-height:
            350px;

        margin-left:
            -5px;

        margin-right:
            -5px;

        padding:
            12px 8px 38px 44px;

        background-size:
            18px 18px;

    }


    .graph-stage::before {

        background-size:
            90px 90px;

    }


    .graph-y-axis-title {

        left:
            4px;

        width:
            190px;

        font-size:
            7px;

    }


    .graph-x-axis-title {

        bottom:
            9px;

        font-size:
            8px;

    }


    .graph-interpretation-task {

        padding:
            20px;

    }


    .interpretation-option {

        min-height:
            90px;

        padding:
            13px;

    }

}


/* ======================================================
   SECTION 4
   ANALYSIS
====================================================== */

.analysis-section {

    background:
        rgba(
            255,
            255,
            255,
            .96
        );

}


/* ======================================================
   ANALYSIS TASK
====================================================== */

.analysis-task {

    margin-top:
        22px;

    padding:
        26px;

    border:
        1px solid
        var(--border);

    border-radius:
        18px;

    background:
        #fbfdfc;

}


.analysis-task + .analysis-task {

    margin-top:
        18px;

}


/* ======================================================
   ANALYSIS TASK HEADING
====================================================== */

.analysis-task-heading {

    margin-bottom:
        18px;

    display:
        flex;

    align-items:
        flex-start;

    gap:
        13px;

}


.analysis-task-number {

    flex:
        0 0 auto;

    width:
        38px;

    height:
        38px;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    border-radius:
        10px;

    background:
        var(--green-soft);

    color:
        var(--green);

    font-size:
        10px;

    font-weight:
        900;

}


.analysis-task-label {

    margin:
        0 0 3px;

    color:
        var(--green);

    font-size:
        8px;

    font-weight:
        900;

    letter-spacing:
        .11em;

}


.analysis-task-heading h3 {

    margin:
        0;

    font-size:
        20px;

}


/* ======================================================
   ANALYSIS QUESTION TEXT
====================================================== */

.analysis-question-copy {

    margin:
        0 0 10px;

    color:
        var(--muted);

    font-size:
        12px;

    line-height:
        1.55;

}


.analysis-question {

    margin:
        0 0 18px;

    color:
        #37443c;

    font-size:
        14px;

    font-weight:
        650;

    line-height:
        1.5;

}


/* ======================================================
   CALCULATION WORKSPACE
====================================================== */

.calculation-workspace {

    display:
        flex;

    align-items:
        center;

    justify-content:
        space-between;

    gap:
        20px;

    padding:
        18px;

    border:
        1px solid
        #dce6e0;

    border-radius:
        14px;

    background:
        var(--green-pale);

}


.calculation-expression {

    display:
        flex;

    align-items:
        center;

    flex-wrap:
        wrap;

    gap:
        9px;

}


.calculation-value {

    min-width:
        46px;

    padding:
        10px 12px;

    display:
        inline-flex;

    align-items:
        center;

    justify-content:
        center;

    border:
        1px solid
        #d3dfd7;

    border-radius:
        9px;

    background:
        white;

    color:
        var(--text);

    font-size:
        17px;

    font-weight:
        850;

}


.calculation-symbol {

    color:
        #6f7c75;

    font-size:
        19px;

    font-weight:
        850;

}


.calculation-input-wrapper {

    display:
        flex;

    align-items:
        center;

    gap:
        8px;

}


.calculation-input-wrapper input {

    width:
        76px;

    padding:
        10px;

    border:
        2px solid
        #bfd3c5;

    border-radius:
        9px;

    background:
        white;

    color:
        var(--text);

    font:
        inherit;

    font-size:
        16px;

    font-weight:
        850;

    text-align:
        center;

    outline:
        none;

}


.calculation-input-wrapper input:focus {

    border-color:
        var(--green);

    box-shadow:
        0 0 0 3px
        rgba(
            30,
            126,
            52,
            .08
        );

}


.calculation-input-wrapper span {

    color:
        var(--muted);

    font-size:
        10px;

    font-weight:
        700;

}


/* ======================================================
   ANALYSIS CHECK BUTTON
====================================================== */

.analysis-check-button {

    flex:
        0 0 auto;

    padding:
        11px 15px;

    border:
        none;

    border-radius:
        9px;

    background:
        var(--green);

    color:
        white;

    font:
        inherit;

    font-size:
        10px;

    font-weight:
        850;

    cursor:
        pointer;

    transition:
        background-color .18s ease,
        transform .18s ease;

}


.analysis-check-button:hover {

    background:
        var(--green-dark);

    transform:
        translateY(-1px);

}


/* ======================================================
   ANALYSIS OPTIONS
====================================================== */

.analysis-option-grid {

    display:
        grid;

    grid-template-columns:
        repeat(
            2,
            minmax(
                0,
                1fr
            )
        );

    gap:
        11px;

}


.analysis-option {

    min-height:
        112px;

    padding:
        16px;

    display:
        grid;

    grid-template-columns:
        auto
        1fr;

    gap:
        12px;

    align-items:
        flex-start;

    border:
        1px solid
        #d2ded7;

    border-radius:
        13px;

    background:
        white;

    color:
        var(--text);

    text-align:
        left;

    font:
        inherit;

    cursor:
        pointer;

    transition:
        border-color .18s ease,
        background-color .18s ease,
        transform .18s ease;

}


.analysis-option:hover {

    transform:
        translateY(-2px);

    border-color:
        #9fc7aa;

}


.analysis-option-letter {

    width:
        30px;

    height:
        30px;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    border:
        1px solid
        #d4ded8;

    border-radius:
        8px;

    background:
        #f5f8f6;

    color:
        var(--green);

    font-size:
        10px;

    font-weight:
        900;

}


.analysis-option p {

    margin:
        1px 0 0;

    color:
        #47544c;

    font-size:
        11px;

    line-height:
        1.5;

}


.analysis-option.correct {

    border-color:
        var(--green);

    background:
        var(--green-soft);

}


.analysis-option.correct
.analysis-option-letter {

    border-color:
        var(--green);

    background:
        var(--green);

    color:
        white;

}


.analysis-option.incorrect {

    border-color:
        #ddb6b3;

    background:
        #fff5f4;

}


.analysis-option.incorrect
.analysis-option-letter {

    border-color:
        #dda9a6;

    background:
        #fbe7e5;

    color:
        var(--incorrect);

}


/* ======================================================
   COMPARISON CHOICES
====================================================== */

.comparison-choice-grid {

    display:
        grid;

    grid-template-columns:
        repeat(
            2,
            minmax(
                0,
                1fr
            )
        );

    gap:
        12px;

}


.comparison-choice {

    padding:
        18px;

    display:
        grid;

    grid-template-columns:
        auto
        1fr;

    gap:
        13px;

    align-items:
        flex-start;

    border:
        1px solid
        #d2ded7;

    border-radius:
        13px;

    background:
        white;

    color:
        var(--text);

    text-align:
        left;

    font:
        inherit;

    cursor:
        pointer;

    transition:
        transform .18s ease,
        border-color .18s ease,
        background-color .18s ease;

}


.comparison-choice:hover {

    transform:
        translateY(-2px);

    border-color:
        #9fc7aa;

}


.comparison-choice-icon {

    width:
        34px;

    height:
        34px;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    border:
        1px solid
        #d5dfd9;

    border-radius:
        9px;

    background:
        #f5f8f6;

    color:
        var(--green);

    font-size:
        13px;

    font-weight:
        900;

}


.comparison-choice strong {

    display:
        block;

    font-size:
        13px;

}


.comparison-choice p {

    margin:
        5px 0 0;

    color:
        var(--muted);

    font-size:
        10px;

    line-height:
        1.5;

}


.comparison-choice.correct {

    border-color:
        var(--green);

    background:
        var(--green-soft);

}


.comparison-choice.incorrect {

    border-color:
        #ddb6b3;

    background:
        #fff5f4;

}


/* ======================================================
   ANALYSIS FEEDBACK
====================================================== */

.analysis-feedback {

    min-height:
        21px;

    margin-top:
        13px;

    color:
        var(--muted);

    font-size:
        10px;

    font-weight:
        750;

}


.analysis-feedback.correct {

    color:
        var(--correct);

}


.analysis-feedback.incorrect {

    color:
        var(--incorrect);

}


/* ======================================================
   ANALYSIS COMPLETE
====================================================== */

.analysis-complete-card {

    margin-top:
        24px;

    padding:
        20px;

    display:
        grid;

    grid-template-columns:
        auto
        minmax(
            0,
            1fr
        )
        auto;

    gap:
        15px;

    align-items:
        center;

    border:
        1px solid
        #bcd9c4;

    border-radius:
        15px;

    background:
        var(--green-pale);

}


.analysis-complete-card[hidden] {

    display:
        none;

}


.analysis-complete-icon {

    width:
        42px;

    height:
        42px;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    border-radius:
        50%;

    background:
        var(--green);

    color:
        white;

    font-size:
        18px;

    font-weight:
        900;

}


.analysis-complete-label {

    display:
        block;

    margin-bottom:
        3px;

    color:
        var(--green);

    font-size:
        8px;

    font-weight:
        900;

    letter-spacing:
        .1em;

}


.analysis-complete-card strong {

    display:
        block;

    font-size:
        14px;

}


.analysis-complete-card p {

    margin:
        4px 0 0;

    color:
        var(--muted);

    font-size:
        10px;

}


.continue-conclusion-button {

    padding:
        11px 14px;

    border:
        none;

    border-radius:
        9px;

    background:
        var(--green);

    color:
        white;

    font:
        inherit;

    font-size:
        10px;

    font-weight:
        850;

    cursor:
        pointer;

}


/* ======================================================
   SECTION 5
   CONCLUSION
====================================================== */

.conclusion-section {

    background:
        linear-gradient(
            145deg,
            #ffffff 0%,
            #f4faf6 100%
        );

}


/* ======================================================
   CONCLUSION BUILDER
====================================================== */

.conclusion-builder {

    padding:
        30px;

    border:
        1px solid
        #cfe0d4;

    border-radius:
        19px;

    background:
        white;

    box-shadow:
        0 7px 22px
        rgba(
            32,
            70,
            48,
            .05
        );

}


.conclusion-builder-heading {

    padding-bottom:
        18px;

    border-bottom:
        1px solid
        #e3ebe6;

}


.conclusion-builder-heading > span {

    display:
        block;

    margin-bottom:
        4px;

    color:
        var(--green);

    font-size:
        9px;

    font-weight:
        900;

    letter-spacing:
        .12em;

}


.conclusion-builder-heading p {

    margin:
        0;

    color:
        var(--muted);

    font-size:
        11px;

}


/* ======================================================
   CONCLUSION SENTENCES
====================================================== */

.conclusion-sentence {

    padding:
        20px 0;

    display:
        flex;

    align-items:
        center;

    flex-wrap:
        wrap;

    gap:
        8px;

    border-bottom:
        1px solid
        #e5ece8;

    color:
        #344139;

    font-size:
        15px;

    font-weight:
        600;

    line-height:
        1.65;

}


.conclusion-sentence select {

    padding:
        8px 10px;

    border:
        2px solid
        #c9d9cf;

    border-radius:
        8px;

    background:
        var(--green-pale);

    color:
        var(--green-dark);

    font:
        inherit;

    font-size:
        13px;

    font-weight:
        800;

    outline:
        none;

    cursor:
        pointer;

}


.conclusion-sentence select:focus {

    border-color:
        var(--green);

    box-shadow:
        0 0 0 3px
        rgba(
            30,
            126,
            52,
            .08
        );

}


.conclusion-sentence select.correct {

    border-color:
        var(--green);

    background:
        var(--green-soft);

}


.conclusion-sentence select.incorrect {

    border-color:
        #d69d99;

    background:
        #fff4f3;

}


/* ======================================================
   CHECK CONCLUSION
====================================================== */

.check-conclusion-button {

    margin-top:
        20px;

    padding:
        12px 17px;

    border:
        none;

    border-radius:
        10px;

    background:
        var(--green);

    color:
        white;

    font:
        inherit;

    font-size:
        11px;

    font-weight:
        850;

    cursor:
        pointer;

    transition:
        background-color .18s ease,
        transform .18s ease;

}


.check-conclusion-button:hover {

    background:
        var(--green-dark);

    transform:
        translateY(-1px);

}


.conclusion-feedback {

    min-height:
        22px;

    margin-top:
        12px;

    color:
        var(--muted);

    font-size:
        10px;

    font-weight:
        750;

}


.conclusion-feedback.correct {

    color:
        var(--correct);

}


.conclusion-feedback.incorrect {

    color:
        var(--incorrect);

}


/* ======================================================
   INVESTIGATION COMPLETE
====================================================== */

.investigation-complete-card {

    margin-top:
        28px;

    padding:
        34px;

    border:
        1px solid
        #b9d8c2;

    border-radius:
        20px;

    background:
        linear-gradient(
            145deg,
            #f1f9f3 0%,
            #e8f5ec 100%
        );

    text-align:
        center;

}


.investigation-complete-card[hidden] {

    display:
        none;

}


.investigation-complete-icon {

    width:
        62px;

    height:
        62px;

    margin:
        0 auto 14px;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    border-radius:
        50%;

    background:
        var(--green);

    color:
        white;

    font-size:
        28px;

    font-weight:
        900;

    box-shadow:
        0 8px 20px
        rgba(
            30,
            126,
            52,
            .18
        );

}


.investigation-complete-eyebrow {

    margin:
        0 0 5px;

    color:
        var(--green);

    font-size:
        9px;

    font-weight:
        900;

    letter-spacing:
        .12em;

}


.investigation-complete-card h3 {

    margin:
        0;

    font-size:
        28px;

}


.investigation-complete-copy {

    max-width:
        610px;

    margin:
        10px auto 22px;

    color:
        var(--muted);

    font-size:
        12px;

    line-height:
        1.6;

}


/* ======================================================
   COMPLETE SUMMARY
====================================================== */

.investigation-complete-summary {

    max-width:
        760px;

    margin:
        0 auto 22px;

    display:
        grid;

    grid-template-columns:
        repeat(
            4,
            minmax(
                0,
                1fr
            )
        );

    gap:
        10px;

}


.investigation-complete-summary > div {

    padding:
        14px 10px;

    border:
        1px solid
        #cfe0d4;

    border-radius:
        11px;

    background:
        rgba(
            255,
            255,
            255,
            .72
        );

}


.investigation-complete-summary span {

    display:
        block;

    color:
        #849188;

    font-size:
        8px;

    font-weight:
        900;

}


.investigation-complete-summary p {

    min-height:
        30px;

    margin:
        5px 0;

    color:
        #48564e;

    font-size:
        9px;

    font-weight:
        750;

}


.investigation-complete-summary strong {

    color:
        var(--green);

    font-size:
        17px;

}


/* ======================================================
   COMPLETE BUTTON
====================================================== */

.complete-investigation-button {

    padding:
        13px 19px;

    display:
        inline-flex;

    align-items:
        center;

    justify-content:
        center;

    border-radius:
        11px;

    background:
        var(--green);

    color:
        white;

    font-size:
        12px;

    font-weight:
        850;

    text-decoration:
        none;

    transition:
        background-color .18s ease,
        transform .18s ease;

}


.complete-investigation-button:hover {

    background:
        var(--green-dark);

    transform:
        translateY(-2px);

}


.investigation-complete-note {

    margin:
        11px 0 0;

    color:
        #79877f;

    font-size:
        9px;

}


/* ======================================================
   ANALYSIS / CONCLUSION — TABLET
====================================================== */

@media (
    max-width:
    760px
) {

    .analysis-option-grid,
    .comparison-choice-grid {

        grid-template-columns:
            1fr;

    }


    .calculation-workspace {

        align-items:
            flex-start;

        flex-direction:
            column;

    }


    .analysis-complete-card {

        grid-template-columns:
            auto
            1fr;

    }


    .continue-conclusion-button {

        grid-column:
            1 / -1;

        width:
            100%;

    }


    .investigation-complete-summary {

        grid-template-columns:
            repeat(
                2,
                minmax(
                    0,
                    1fr
                )
            );

    }

}


/* ======================================================
   ANALYSIS / CONCLUSION — PHONE
====================================================== */

@media (
    max-width:
    540px
) {

    .analysis-task {

        padding:
            20px;

    }


    .calculation-expression {

        align-items:
            flex-start;

    }


    .calculation-input-wrapper {

        width:
            100%;

    }


    .conclusion-builder {

        padding:
            20px;

    }


    .conclusion-sentence {

        align-items:
            flex-start;

        font-size:
            13px;

    }


    .conclusion-sentence select {

        max-width:
            100%;

    }


    .investigation-complete-card {

        padding:
            25px 18px;

    }


    .investigation-complete-summary {

        grid-template-columns:
            1fr;

    }


    .complete-investigation-button {

        width:
            100%;

    }

}


/* ======================================================
   SECTION 1
   HARP SEAL PHOTO
====================================================== */

.harp-seal-photo {

    position:
        absolute;

    inset:
        0;

    width:
        100%;

    height:
        100%;

    object-fit:
        cover;

    object-position:
        center;

    display:
        block;

    user-select:
        none;

    -webkit-user-drag:
        none;

}

/* ======================================================
   SECTION 3
   COMPACT LAPTOP / FULLSCREEN LAYOUT

   Goal:
   Keep the data table + graph visible together
   with minimal vertical scrolling.
====================================================== */

@media (
    min-width: 1100px
) and (
    max-height: 950px
) {


    /* ==================================================
       HEADER
    ================================================== */

    .investigation-header {

        min-height:
            78px;

        padding:
            8px 28px;

    }


    .investigation-logo {

        width:
            48px;

        height:
            48px;

    }


    .investigation-progress-step > span {

        width:
            31px;

        height:
            31px;

    }


    .investigation-progress-step strong {

        font-size:
            10px;

    }


    .investigation-fullscreen,
    .investigation-exit {

        padding:
            9px 13px;

        font-size:
            10px;

    }


    /* ==================================================
       MAIN PAGE
    ================================================== */

    .investigation-main {

        width:
            min(
                1380px,
                calc(100% - 34px)
            );

        margin:
            14px auto 40px;

    }


    /* ==================================================
       SECTION 3
    ================================================== */

    .data-section {

        padding:
            22px 28px 26px;

    }


    .data-section
    .section-number-label {

        margin-bottom:
            10px;

    }


    .data-section
    .section-introduction {

        max-width:
            none;

        margin-bottom:
            18px;

    }


    .data-section
    .section-eyebrow {

        margin-bottom:
            4px;

        font-size:
            8px;

    }


    .data-section
    .section-introduction h2 {

        font-size:
            clamp(
                28px,
                3vw,
                38px
            );

        line-height:
            1;

    }


    .data-section
    .section-introduction > p:last-child {

        margin-top:
            7px;

        font-size:
            11px;

        line-height:
            1.4;

    }


    /* ==================================================
       DATA + GRAPH WORKSPACE
    ================================================== */

    .data-workspace {

        grid-template-columns:
            minmax(360px, .72fr)
            minmax(650px, 1.55fr);

        gap:
            20px;

        align-items:
            stretch;

    }


    /* ==================================================
       LEFT DATA CARD
    ================================================== */

    .data-table-card {

        padding:
            20px;

    }


    .data-table-heading h3 {

        font-size:
            18px;

    }


    .data-table-copy {

        margin:
            8px 0 12px;

        font-size:
            10px;

        line-height:
            1.35;

    }


    .seal-data-table th {

        padding:
            9px 9px;

        font-size:
            8px;

    }


    .seal-data-table td {

        padding:
            10px 9px;

        font-size:
            11px;

    }


    .plot-status {

        min-width:
            48px;

        padding:
            4px 6px;

        font-size:
            7px;

    }


    .plot-instruction-card {

        margin-top:
            12px;

        padding:
            12px 14px;

    }


    .plot-instruction-card strong {

        font-size:
            14px;

    }


    .plot-instruction-card p {

        margin-top:
            3px;

        font-size:
            9px;

    }


    /* ==================================================
       GRAPH CARD
    ================================================== */

    .graph-card {

        padding:
            20px;

    }


    .graph-card-heading h3 {

        font-size:
            18px;

    }


    .graph-progress strong {

        font-size:
            18px;

    }

    /* ==================================================
       GRAPH STAGE
    ================================================== */

    .graph-stage {

        margin-top:
            14px;

        max-height:
            545px;

    }


    #seal-data-graph {

        width:
            100%;

        height:
            auto;

        max-height:
            545px;

        object-fit:
            contain;

    }


    /* ==================================================
       FEEDBACK
    ================================================== */

    .graph-feedback {

        margin-top:
            7px;

        min-height:
            16px;

        font-size:
            9px;

    }


    /* ==================================================
       CONTROLS BELOW GRAPH
    ================================================== */

    .graph-completion-controls {

        margin-top:
            12px;

        padding:
            14px;

    }


    .graph-finish-option {

        min-height:
            58px;

        padding:
            8px;

        font-size:
            8px;

    }

}
/* ======================================================
   SECTION 3
   TYPOGRAPHY NORMALIZATION
====================================================== */

.data-table-eyebrow,
.graph-card-eyebrow,
.plot-instruction-label,
.graph-start-note > span,
.graph-complete-label {

    font-size:
        10px;

}


.data-table-copy {

    font-size:
        14px;

    line-height:
        1.5;

}


.seal-data-table th {

    font-size:
        12px;

}


.seal-data-table th span {

    font-size:
        10px;

}


.plot-status {

    font-size:
        10px;

}


.plot-instruction-card p {

    font-size:
        13px;

}


.graph-progress span {

    font-size:
        10px;

}


.graph-start-note p {

    font-size:
        12px;

}


.graph-completion-controls strong {

    font-size:
        16px;

    line-height:
        1.4;

}


.graph-finish-option {

    min-height:
        68px;

    padding:
        12px 14px;

    font-size:
        12px;

    line-height:
        1.4;

}


.graph-finish-feedback {

    font-size:
        12px;

}


.interpretation-option p {

    font-size:
        13px;

    line-height:
        1.5;

}


.interpretation-feedback {

    font-size:
        12px;

}


.educational-data-note strong {

    font-size:
        12px;

}


.educational-data-note p {

    font-size:
        11px;

    line-height:
        1.55;

}

/* ======================================================
   SECTION 4
   TYPOGRAPHY NORMALIZATION
====================================================== */

.analysis-task-label {

    font-size:
        10px;

}


.analysis-question-copy {

    font-size:
        14px;

    line-height:
        1.55;

}


.analysis-question {

    font-size:
        15px;

    line-height:
        1.55;

}


.analysis-option p {

    font-size:
        13px;

    line-height:
        1.5;

}


.comparison-choice strong {

    font-size:
        15px;

}


.comparison-choice p {

    font-size:
        13px;

    line-height:
        1.5;

}


.analysis-check-button {

    padding:
        12px 18px;

    font-size:
        12px;

}


.analysis-feedback {

    font-size:
        12px;

}


.analysis-complete-label {

    font-size:
        10px;

}


.analysis-complete-card strong {

    font-size:
        16px;

}


.analysis-complete-card p {

    font-size:
        12px;

    line-height:
        1.5;

}


.continue-conclusion-button {

    font-size:
        12px;

}

.calculation-bracket {

    color:
        #6f7c75;

    font-size:
        22px;

    font-weight:
        850;

}

/* ======================================================
   SECTION 5
   TYPOGRAPHY NORMALIZATION
====================================================== */

.conclusion-builder-heading > span {

    font-size:
        10px;

}


.conclusion-builder-heading p {

    font-size:
        13px;

}


.check-conclusion-button {

    font-size:
        12px;

}


.conclusion-feedback {

    font-size:
        12px;

}


.investigation-complete-eyebrow {

    font-size:
        10px;

}


.investigation-complete-copy {

    font-size:
        14px;

}


.investigation-complete-summary span {

    font-size:
        10px;

}


.investigation-complete-summary p {

    font-size:
        11px;

}


.investigation-complete-note {

    font-size:
        11px;

}

/* ======================================================
   PHONE LAYOUT FIX
   iPhone / narrow mobile
====================================================== */

@media (max-width: 540px) {

    html,
    body {
        width: 100%;
        max-width: 100%;
    }


    /* ===============================================
       HEADER
    =============================================== */

    .investigation-header {
        width: 100%;

        min-height: auto;

        padding: 10px 12px;

        display: grid;

        grid-template-columns:
            auto 1fr;

        gap: 8px 10px;
    }


    .investigation-logo {
        width: 42px;
        height: 42px;
    }


    .investigation-progress {
        width: 100%;

        min-width: 0;

        overflow-x: auto;

        justify-content: flex-start;

        gap: 6px;

        scrollbar-width: none;
    }


    .investigation-progress::-webkit-scrollbar {
        display: none;
    }


    .investigation-progress-step {
        flex-shrink: 0;
    }


    .investigation-progress-step > span {
        width: 28px;
        height: 28px;

        font-size: 8px;
    }


    .investigation-progress-step strong {
        display: none;
    }


    .investigation-progress-line {
        min-width: 18px;
        max-width: 24px;
    }


    .investigation-header-actions {
        grid-column:
            1 / -1;

        width: 100%;

        display: grid;

        grid-template-columns:
            1fr 1fr;

        gap: 8px;
    }


    .investigation-fullscreen,
    .investigation-exit {
        width: 100%;

        min-width: 0;

        padding: 9px 8px;

        font-size: 9px;

        text-align: center;
    }


    /* ===============================================
       MAIN PAGE
    =============================================== */

    .investigation-main {
        width:
            calc(100% - 16px);

        margin:
            12px auto 40px;
    }


    .investigation-section {
        width: 100%;

        min-width: 0;

        padding: 18px 14px;

        border-radius: 16px;
    }


    /* ===============================================
       HERO
    =============================================== */

    .study-hero {
        display: flex;

        flex-direction: column;

        gap: 24px;
    }


    .study-introduction,
    .study-visual {
        width: 100%;

        min-width: 0;
    }


    .study-introduction h1 {
        font-size: 34px;

        line-height: 1.02;
    }


    .study-lead {
        font-size: 16px;
    }


    .study-copy {
        font-size: 13px;
    }


    .seal-image-frame {
        width: 100%;

        min-height: 250px;
    }


    /* ===============================================
       EXPERIMENT SECTION
    =============================================== */

    .experiment-layout {
        display: flex;

        flex-direction: column;

        gap: 18px;
    }


    .experiment-card,
    .experiment-summary-card {
        width: 100%;

        min-width: 0;
    }


    .experiment-water {
        width: 100%;

        min-height: 360px;
    }


    .experiment-seal-image {
        width: 68%;
    }


    .measurement-callout {
        width: 125px;

        padding: 9px 10px;
    }


    .measurement-callout strong {
        font-size: 11px;
    }


    .measurement-callout p {
        display: none;
    }


    .trunk-measurement {
        left: 10px;
        top: 30px;
    }


    .flipper-measurement {
        right: 10px;
        bottom: 22px;
    }


    /* ===============================================
       WORKSHEET
    =============================================== */

    .setup-section .worksheet-task {
        width: 100%;

        padding: 16px;
    }


    .setup-section .variable-question {
        grid-template-columns: 1fr;

        gap: 10px;
    }


    .setup-section
    .variable-question-content select {
        width: 100%;
    }


    /* ===============================================
       DATA SECTION
    =============================================== */

    .data-workspace {
        display: flex;

        flex-direction: column;

        gap: 18px;
    }


    .data-table-card,
    .graph-card {
        width: 100%;

        min-width: 0;

        padding: 14px;
    }


    .data-table-wrapper {
        width: 100%;

        overflow-x: auto;
    }


    .seal-data-table {
        min-width: 360px;
    }


    /* ===============================================
       GRAPH
    =============================================== */

    .graph-stage {
        width: 100%;

        min-height: 0;

        margin:
            14px 0 0;

        padding: 0;

        overflow: hidden;
    }


    #seal-data-graph {
        display: block;

        width: 100% !important;

        height: auto !important;

        max-width: 100%;
    }


    .graph-finish-options,
    .interpretation-options {
        grid-template-columns: 1fr;
    }


    /* ===============================================
       ANALYSIS
    =============================================== */

    .analysis-task {
        width: 100%;

        padding: 16px;
    }


    .analysis-option-grid,
    .comparison-choice-grid {
        grid-template-columns: 1fr;
    }


    .calculation-workspace {
        flex-direction: column;

        align-items: stretch;
    }


    .calculation-expression {
        width: 100%;

        justify-content: flex-start;
    }


    .calculation-input-wrapper {
        width: auto;
    }


    /* ===============================================
       CONCLUSION
    =============================================== */

    .conclusion-builder {
        width: 100%;

        padding: 16px;
    }


    .conclusion-sentence {
        align-items: flex-start;

        gap: 7px;

        font-size: 14px;
    }


    .conclusion-sentence select {
        max-width: 100%;
    }


    /* ===============================================
       COMPLETION
    =============================================== */

    .investigation-complete-card {
        width: 100%;

        padding: 22px 14px;
    }


    .investigation-complete-summary {
        grid-template-columns: 1fr;
    }


    .complete-investigation-button {
        width: 100%;
    }


    /* ===============================================
       FOOTER
    =============================================== */

    .investigation-footer {
        width:
            calc(100% - 24px);

        grid-template-columns: 1fr;

        gap: 14px;
    }

}
/* ======================================================
   MOBILE CONNECTOR POSITIONING
====================================================== */

.trunk-connector {
    left: 88%;
    top: 62%;

    width: 165px;

    transform-origin:
        left center;

    transform:
        rotate(14deg);
}


.flipper-connector {
    right: 88%;
    top: 4%;

    width: 135px;

    transform-origin:
        right center;

    transform:
        rotate(31deg);
}

/* ======================================================
   MOBILE DATA POINT CARD
====================================================== */

.mobile-data-point-card {

    display:
        none;

}


/* ======================================================
   MOBILE GRAPH / DATA EXPERIENCE
====================================================== */

@media (
    max-width:
    540px
) {

    /* ================================================
       HIDE DESKTOP DATA TABLE
    ================================================ */

    .data-table-wrapper {

        display:
            none;

    }


    .data-table-copy {

        display:
            none;

    }


    /* ================================================
       MOBILE CURRENT POINT CARD
    ================================================ */

    .mobile-data-point-card {

        display:
            block;

        margin-top:
            14px;

        padding:
            18px;

        border:
            1px solid
            #d4e3d9;

        border-radius:
            15px;

        background:
            linear-gradient(
                145deg,
                #f5faf6 0%,
                #edf7f0 100%
            );

    }


    .mobile-data-point-header {

        display:
            flex;

        align-items:
            center;

        justify-content:
            space-between;

        gap:
            12px;

        margin-bottom:
            16px;

    }


    .mobile-data-point-label {

        color:
            var(--green);

        font-size:
            10px;

        font-weight:
            900;

        letter-spacing:
            .1em;

    }


    .mobile-data-point-header strong {

        color:
            #5d6a63;

        font-size:
            12px;

        white-space:
            nowrap;

    }


    .mobile-data-point-values {

        display:
            grid;

        grid-template-columns:
            repeat(
                2,
                minmax(
                    0,
                    1fr
                )
            );

        gap:
            10px;

    }


    .mobile-data-point-values > div {

        padding:
            14px;

        border:
            1px solid
            #d8e4dc;

        border-radius:
            12px;

        background:
            white;

    }


    .mobile-data-point-values span {

        display:
            block;

        margin-bottom:
            5px;

        color:
            var(--muted);

        font-size:
            11px;

        line-height:
            1.35;

    }


    .mobile-data-point-values strong {

        display:
            block;

        color:
            var(--text);

        font-size:
            24px;

        line-height:
            1;

    }


    .mobile-data-point-card > p {

        margin:
            14px 0 0;

        color:
            #526159;

        font-size:
            12px;

        line-height:
            1.5;

    }


    /* ================================================
       GRAPH CARD MOBILE
    ================================================ */

    .graph-card {

        margin-top:
            16px;

        padding:
            16px;

    }


    .graph-card-heading {

        gap:
            10px;

    }


    .graph-card-heading h3 {

        font-size:
            21px;

    }


    .graph-progress strong {

        font-size:
            21px;

    }


    .graph-start-note {

        margin-top:
            14px;

        padding:
            12px;

    }


    .graph-start-note p {

        font-size:
            10px;

        line-height:
            1.45;

    }


    /* ================================================
       IMPORTANT:
       REMOVE OLD MOBILE CANVAS PADDING
    ================================================ */

    .graph-stage {

        width:
            100%;

        min-height:
            0;

        margin:
            14px 0 0;

        padding:
            0;

        overflow:
            hidden;

        border-radius:
            14px;

    }


    #seal-data-graph {

        display:
            block;

        width:
            100%;

        height:
            auto;

    }

}

@media (
    max-width:
    540px
) {

    .mobile-data-point-card.complete {

        border-color:
            #b7d8c0;

        background:
            #eaf6ed;

    }


    .mobile-data-point-card.complete
    .mobile-data-point-values strong {

        color:
            var(--green);

    }

}