* {
    box-sizing: border-box;
}

:root {
    --color-ink: #f8fafc;
    --color-muted: #c9d4e5;
    --color-panel: rgba(168, 190, 215, 0.1);
    --color-line: rgba(219, 232, 246, 0.2);
    --color-lab-light: rgba(117, 163, 209, 0.2);
    --color-cta: rgba(10, 22, 35, 0.72);
    --color-cta-text: #eaf5ff;
    --color-cta-border: rgba(129, 180, 225, 0.48);
    --duration-slow: 1400ms;
    --duration-medium: 900ms;
    --duration-fast: 320ms;
    --duration-threshold: 3200ms;
    --duration-establishing: 2400ms;
    --ease-cinematic: cubic-bezier(0.2, 0.8, 0.2, 1);
    --presentation-top-safe: 68px;
    --presentation-bottom-safe: 56px;
    --presentation-side-safe: 28px;
    --presenter-rail-width: 286px;
    --presentation-horizontal-gap: 14px;
    --presentation-content-height: calc(100dvh - var(--presentation-top-safe) - var(--presentation-bottom-safe));
    --guided-panel-gap: 16px;
}

html,
body {
    width: 100%;
    height: 100%;
    margin: 0;
    overflow: hidden;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: var(--color-ink);
    background: #05080d;
}

html.is-landing-mode,
body.is-landing-mode {
    height: auto;
    min-height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    scroll-behavior: smooth;
}

body.is-landing-mode {
    background:
        radial-gradient(ellipse at 50% -8%, rgba(102, 160, 213, 0.22), transparent 48%),
        linear-gradient(180deg, #07111d 0%, #08101a 42%, #05080d 100%);
}

body.is-landing-mode .welcome-screen,
.public-landing[hidden],
.landing-modal[hidden] {
    display: none !important;
}

.public-landing {
    min-height: 100%;
    color: rgba(242, 248, 253, 0.96);
}

.landing-hero,
.landing-main,
.landing-footer {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.landing-hero {
    min-height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(18px, 3vh, 28px) 0 clamp(42px, 7vh, 72px);
}

.landing-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 52px;
    margin-bottom: clamp(18px, 4vh, 40px);
}

.landing-nav__brand,
.landing-nav a,
.landing-footer a,
.landing-footer button {
    color: rgba(225, 243, 253, 0.88);
    text-decoration: none;
}

.landing-nav__brand {
    font-weight: 900;
    letter-spacing: 0.18em;
}

.landing-nav__links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px 18px;
    font-size: 0.86rem;
    font-weight: 700;
}

.landing-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 0.94fr) minmax(420px, 1.06fr);
    gap: clamp(24px, 4vw, 52px);
    align-items: center;
}

.landing-section {
    scroll-margin-top: 22px;
}

.landing-eyebrow,
.landing-section__kicker {
    margin: 0 0 10px;
    color: rgba(145, 207, 237, 0.84);
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.landing-hero h1 {
    max-width: 780px;
    margin: 0;
    font-size: clamp(2.45rem, 5.2vw, 4.8rem);
    line-height: 0.99;
}

.landing-hero__lead {
    max-width: 720px;
    margin: 16px 0 0;
    color: rgba(231, 243, 250, 0.92);
    font-size: clamp(1rem, 1.7vw, 1.24rem);
    line-height: 1.55;
}

.landing-hero__audience,
.landing-saved-progress,
.landing-note {
    color: rgba(199, 218, 232, 0.84);
    line-height: 1.5;
}

.landing-saved-progress {
    width: fit-content;
    margin: 14px 0 0;
    padding: 8px 10px;
    border: 1px solid rgba(145, 207, 237, 0.26);
    border-radius: 6px;
    background: rgba(9, 24, 38, 0.68);
    font-weight: 800;
}

.landing-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 18px;
}

.landing-button,
.landing-footer button {
    min-height: 42px;
    border: 1px solid rgba(145, 207, 237, 0.36);
    border-radius: 7px;
    padding: 10px 14px;
    color: rgba(239, 250, 254, 0.96);
    background: rgba(8, 20, 32, 0.72);
    font: inherit;
    font-size: 0.9rem;
    font-weight: 900;
    cursor: pointer;
}

.landing-button--primary {
    border-color: rgba(162, 221, 248, 0.62);
    background:
        linear-gradient(180deg, rgba(42, 101, 139, 0.82), rgba(10, 31, 50, 0.92)),
        rgba(10, 28, 43, 0.88);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 16px 42px rgba(0, 0, 0, 0.24);
}

.landing-button--quiet {
    color: rgba(200, 224, 239, 0.9);
    background: transparent;
}

.landing-button:hover,
.landing-button:focus-visible,
.landing-footer a:focus-visible,
.landing-footer button:hover,
.landing-footer button:focus-visible,
.landing-nav a:focus-visible,
.landing-faq summary:focus-visible {
    border-color: rgba(172, 226, 251, 0.78);
    outline: 2px solid rgba(221, 244, 255, 0.82);
    outline-offset: 3px;
}

.landing-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
}

.landing-meta li {
    padding: 9px 10px;
    border: 1px solid rgba(145, 207, 237, 0.18);
    border-radius: 7px;
    color: rgba(221, 236, 246, 0.88);
    background: rgba(6, 17, 28, 0.5);
    font-size: 0.86rem;
    font-weight: 800;
}

.landing-hero__visual {
    position: relative;
    margin: 0;
    overflow: hidden;
    border: 1px solid rgba(155, 207, 240, 0.28);
    border-radius: 10px;
    background: rgba(5, 13, 22, 0.82);
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.38);
}

.landing-hero__visual::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(4, 12, 20, 0.05), rgba(3, 9, 15, 0.48)),
        radial-gradient(ellipse at 58% 24%, rgba(126, 201, 241, 0.16), transparent 46%);
}

.landing-hero__visual img {
    display: block;
    width: 100%;
    max-height: min(48vh, 420px);
    aspect-ratio: 16 / 9;
    object-fit: contain;
    background: rgba(3, 10, 17, 0.72);
}

.landing-hero__visual figcaption {
    position: absolute;
    z-index: 2;
    left: 14px;
    bottom: 12px;
    max-width: calc(100% - 28px);
    color: rgba(232, 246, 253, 0.9);
    font-size: 0.78rem;
    font-weight: 800;
}

.landing-marker {
    position: absolute;
    z-index: 3;
    padding: 5px 8px;
    border: 1px solid rgba(162, 221, 248, 0.38);
    border-radius: 999px;
    color: rgba(235, 249, 255, 0.92);
    background: rgba(4, 14, 24, 0.72);
    font-size: 0.72rem;
    font-weight: 900;
}

.landing-marker--sample { left: 8%; top: 42%; }
.landing-marker--analyst { left: 28%; top: 34%; }
.landing-marker--lims { left: 45%; top: 58%; }
.landing-marker--hplc { right: 14%; top: 36%; }
.landing-marker--result { right: 24%; bottom: 22%; }
.landing-marker--review { right: 8%; top: 18%; }

.landing-main {
    display: grid;
    gap: 28px;
    padding: 0 0 64px;
}

.landing-section {
    padding: clamp(26px, 4vw, 44px);
    border: 1px solid rgba(145, 207, 237, 0.18);
    border-radius: 10px;
    background:
        linear-gradient(180deg, rgba(13, 32, 48, 0.74), rgba(5, 15, 26, 0.78)),
        rgba(6, 17, 28, 0.72);
}

.landing-section > :last-child,
.landing-section--split > div > :last-child,
.landing-section--notice > :last-child {
    margin-bottom: 0;
}

.landing-section--split {
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
    gap: 28px;
    align-items: start;
}

.landing-section h2 {
    margin: 0 0 14px;
    font-size: clamp(1.45rem, 3vw, 2.45rem);
    line-height: 1.08;
}

.landing-section h3,
.landing-section p {
    margin-top: 0;
}

.landing-section p,
.landing-section li,
.landing-section dd {
    color: rgba(222, 237, 246, 0.9);
    line-height: 1.55;
}

.landing-value-grid,
.landing-preview-grid,
.landing-requirements {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.landing-value-grid article,
.landing-preview-grid article,
.landing-requirements div,
.landing-faq details {
    padding: 16px;
    border: 1px solid rgba(145, 207, 237, 0.16);
    border-radius: 8px;
    background: rgba(5, 16, 27, 0.48);
}

.landing-preview-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.landing-preview-grid span {
    color: rgba(145, 207, 237, 0.78);
    font-size: 0.76rem;
    font-weight: 900;
}

.landing-check-list,
.landing-outcomes {
    display: grid;
    gap: 10px;
    margin: 0;
    padding-left: 18px;
}

.landing-journey,
.landing-steps {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: landing-step;
}

.landing-journey {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.landing-journey li,
.landing-steps li {
    position: relative;
    min-width: 0;
    padding: 16px;
    border: 1px solid rgba(145, 207, 237, 0.16);
    border-radius: 8px;
    background: rgba(5, 16, 27, 0.48);
    counter-increment: landing-step;
}

.landing-journey li::before,
.landing-steps li::before {
    content: counter(landing-step, decimal-leading-zero);
    display: block;
    margin-bottom: 10px;
    color: rgba(145, 207, 237, 0.78);
    font-size: 0.76rem;
    font-weight: 900;
}

.landing-journey strong,
.landing-journey span,
.landing-steps strong,
.landing-steps span {
    display: block;
}

.landing-journey span,
.landing-steps span {
    margin-top: 8px;
    color: rgba(209, 228, 240, 0.86);
    font-size: 0.92rem;
    line-height: 1.45;
}

.landing-section--outcomes {
    background:
        radial-gradient(ellipse at 85% 0%, rgba(91, 162, 211, 0.12), transparent 46%),
        linear-gradient(180deg, rgba(13, 32, 48, 0.74), rgba(5, 15, 26, 0.78));
}

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

.landing-requirements {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.landing-requirements dt {
    color: rgba(145, 207, 237, 0.78);
    font-size: 0.72rem;
    font-weight: 900;
    text-transform: uppercase;
}

.landing-requirements dd {
    margin: 5px 0 0;
    font-weight: 800;
}

.landing-section--notice {
    border-color: rgba(219, 185, 115, 0.3);
    background:
        linear-gradient(180deg, rgba(42, 34, 18, 0.28), rgba(5, 15, 26, 0.78)),
        rgba(6, 17, 28, 0.72);
}

.landing-section--notice,
.landing-section--split {
    align-content: start;
}

.landing-faq {
    display: grid;
    gap: 10px;
}

.landing-faq summary {
    color: rgba(239, 250, 254, 0.96);
    cursor: pointer;
    font-weight: 900;
}

.landing-faq p {
    margin: 10px 0 0;
}

.landing-final-cta {
    text-align: center;
}

.landing-final-cta .landing-hero__actions {
    justify-content: center;
}

.landing-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 0 0 34px;
    color: rgba(204, 224, 238, 0.82);
}

.landing-footer div,
.landing-footer nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
    align-items: center;
}

.landing-footer button {
    min-height: 0;
    padding: 0;
    border: 0;
    background: transparent;
}

.landing-modal {
    position: fixed;
    z-index: 3000;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 24px;
    background: rgba(2, 8, 14, 0.72);
    backdrop-filter: blur(10px);
}

.landing-modal__card {
    width: min(560px, calc(100vw - 48px));
    max-height: calc(100dvh - 48px);
    overflow: auto;
    padding: 24px;
    border: 1px solid rgba(145, 207, 237, 0.36);
    border-radius: 10px;
    background: linear-gradient(180deg, rgba(14, 34, 50, 0.97), rgba(5, 16, 27, 0.97));
    box-shadow: 0 26px 70px rgba(0, 0, 0, 0.44);
}

@media (max-width: 1100px) {
    .landing-hero__grid,
    .landing-section--split {
        grid-template-columns: 1fr;
    }

    .landing-hero__visual {
        max-width: 760px;
    }

    .landing-journey,
    .landing-preview-grid,
    .landing-requirements,
    .landing-outcomes {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .landing-hero,
    .landing-main,
    .landing-footer {
        width: min(100% - 28px, 1180px);
    }

    .landing-hero {
        min-height: auto;
        padding-bottom: 34px;
    }

    .landing-nav {
        align-items: flex-start;
        flex-direction: column;
    }

    .landing-nav__links {
        justify-content: flex-start;
    }

    .landing-meta,
    .landing-value-grid,
    .landing-journey,
    .landing-preview-grid,
    .landing-requirements,
    .landing-outcomes {
        grid-template-columns: 1fr;
    }

    .landing-section {
        padding: 22px;
    }

    .landing-footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .landing-marker {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    html.is-landing-mode,
    body.is-landing-mode {
        scroll-behavior: auto;
    }
}

body.is-pilot-mode .demo-tools,
body.is-pilot-mode .demo-notes,
body.is-pilot-mode .demo-closing {
    display: none !important;
}

body.is-pilot-mode .presentation-shell-status {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
}

body.is-demo-notes-open {
    --presenter-rail-width: 286px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) var(--presenter-rail-width);
    grid-template-rows: auto minmax(0, 1fr);
    column-gap: var(--presentation-horizontal-gap);
    height: 100dvh;
    padding-right: 10px;
}

body.is-demo-notes-open .welcome-screen {
    grid-column: 1;
    grid-row: 1 / span 2;
    width: 100%;
    min-width: 0;
    min-height: 100dvh;
}

.welcome-screen {
    position: relative;
    min-height: 100svh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(24px, 5vw, 64px);
    overflow: hidden;
    perspective: 900px;
    background:
        linear-gradient(180deg, rgba(5, 8, 13, 0.1), rgba(5, 8, 13, 0.9)),
        radial-gradient(ellipse at 50% 0%, rgba(148, 189, 220, 0.18), transparent 42%),
        radial-gradient(circle at 50% 16%, rgba(63, 96, 136, 0.2), transparent 34%),
        linear-gradient(145deg, #0d1726 0%, #080d15 56%, #111318 100%);
    transition: background-color var(--duration-threshold) var(--ease-cinematic);
}

.presentation-shell {
    position: absolute;
    inset: 0;
    z-index: 40;
    pointer-events: none;
}

.presentation-shell__top,
.presentation-shell__bottom {
    position: absolute;
    left: 50%;
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(236, 246, 255, 0.92);
    background: rgba(5, 13, 22, 0.68);
    border: 1px solid rgba(137, 190, 230, 0.22);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 18px 45px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(14px);
    pointer-events: auto;
}

.presentation-shell__top {
    top: 8px;
    width: min(900px, calc(100vw - 36px));
    min-height: 50px;
    justify-content: space-between;
    padding: 6px 12px;
    transform: translateX(-50%);
}

.presentation-shell__bottom {
    bottom: 8px;
    width: auto;
    min-width: min(520px, calc(100vw - 36px));
    justify-content: center;
    padding: 6px;
    transform: translateX(-50%);
}

.pilot-tools {
    position: fixed;
    z-index: 2300;
    right: 14px;
    top: 14px;
    display: flex;
    gap: 8px;
    pointer-events: auto;
}

.pilot-tools[hidden],
.pilot-panel[hidden],
.pilot-welcome[hidden] {
    display: none !important;
}

.pilot-tools button,
.pilot-panel button {
    border: 1px solid rgba(145, 207, 237, 0.34);
    border-radius: 6px;
    color: rgba(239, 250, 254, 0.94);
    background: rgba(7, 18, 28, 0.82);
    font: inherit;
    font-size: 0.78rem;
    font-weight: 800;
    cursor: pointer;
}

.pilot-tools button {
    padding: 7px 10px;
}

.pilot-tools button:hover,
.pilot-tools button:focus-visible,
.pilot-panel button:hover,
.pilot-panel button:focus-visible {
    border-color: rgba(165, 224, 250, 0.72);
    outline: 2px solid rgba(220, 244, 255, 0.74);
    outline-offset: 2px;
}

.pilot-welcome {
    display: grid;
    gap: 8px;
    width: min(620px, 92vw);
    margin: 18px auto 0;
    color: rgba(219, 235, 247, 0.84);
    font-size: clamp(0.78rem, 1.2vw, 0.92rem);
    line-height: 1.45;
}

.pilot-welcome p,
.pilot-welcome ul {
    margin: 0;
}

.pilot-welcome ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px 14px;
    padding-left: 18px;
}

.pilot-panel {
    position: fixed;
    inset: 0;
    z-index: 2400;
    display: grid;
    place-items: center;
    padding: var(--presentation-top-safe) 24px var(--presentation-bottom-safe);
    background: rgba(2, 8, 14, 0.62);
    backdrop-filter: blur(10px);
}

.pilot-panel__card {
    width: min(720px, calc(100vw - 48px));
    max-height: calc(100dvh - var(--presentation-top-safe) - var(--presentation-bottom-safe) - 24px);
    overflow: auto;
    padding: 20px 22px;
    border: 1px solid rgba(145, 207, 237, 0.38);
    border-radius: 8px;
    background:
        linear-gradient(180deg, rgba(13, 33, 48, 0.96), rgba(5, 16, 27, 0.96)),
        radial-gradient(ellipse at 18% 0%, rgba(146, 218, 249, 0.12), transparent 44%);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.42);
}

.pilot-panel__eyebrow {
    margin: 0 0 8px;
    color: rgba(151, 211, 241, 0.82);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.pilot-panel h2,
.pilot-panel h3,
.pilot-panel p,
.pilot-panel ul,
.pilot-panel ol,
.pilot-panel dl {
    margin-top: 0;
}

.pilot-panel h2 {
    margin-bottom: 10px;
    font-size: clamp(1.2rem, 2vw, 1.7rem);
}

.pilot-panel li,
.pilot-panel p,
.pilot-panel dd {
    color: rgba(230, 243, 250, 0.9);
    line-height: 1.45;
}

.pilot-panel__note {
    padding: 10px 12px;
    border: 1px solid rgba(145, 207, 237, 0.18);
    border-radius: 6px;
    background: rgba(7, 18, 28, 0.46);
}

.pilot-panel__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.pilot-panel__actions button {
    min-height: 36px;
    padding: 8px 12px;
}

.pilot-completion-summary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.pilot-completion-summary div {
    padding: 10px;
    border: 1px solid rgba(145, 207, 237, 0.16);
    border-radius: 6px;
    background: rgba(5, 16, 27, 0.48);
}

.pilot-completion-summary dt {
    color: rgba(151, 211, 241, 0.78);
    font-size: 0.72rem;
    font-weight: 900;
    text-transform: uppercase;
}

.pilot-completion-summary dd {
    margin: 4px 0 0;
    font-weight: 800;
}

@media (max-width: 900px) {
    body.is-pilot-mode::before {
        position: fixed;
        z-index: 2600;
        inset: auto 12px 12px;
        padding: 10px 12px;
        border: 1px solid rgba(145, 207, 237, 0.34);
        border-radius: 7px;
        color: rgba(239, 250, 254, 0.94);
        background: rgba(5, 16, 27, 0.94);
        content: "IPLS pilot is best viewed on a desktop or laptop.";
        font-size: 0.78rem;
        font-weight: 800;
        text-align: center;
    }

    .pilot-welcome ul,
    .pilot-completion-summary {
        grid-template-columns: 1fr;
    }
}

.presentation-shell p,
.presentation-shell h2 {
    margin: 0;
}

.presentation-shell__brand {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(156, 211, 247, 0.86);
}

.presentation-shell__mode,
.presentation-shell__context p,
.presentation-shell__progress span {
    font-size: 0.68rem;
    color: rgba(201, 218, 234, 0.72);
}

.presentation-shell__context {
    min-width: 0;
    text-align: center;
}

.presentation-shell__context h2 {
    max-width: 460px;
    overflow: hidden;
    font-size: clamp(0.9rem, 1.15vw, 1.04rem);
    font-weight: 650;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.presentation-shell__progress {
    width: 136px;
}

.presentation-shell__bar {
    width: 100%;
    height: 4px;
    margin-top: 6px;
    overflow: hidden;
    background: rgba(123, 163, 202, 0.18);
}

.presentation-shell__bar span {
    display: block;
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, rgba(111, 190, 238, 0.7), rgba(211, 236, 255, 0.9));
    transition: width var(--duration-fast) var(--ease-cinematic);
}

.presentation-shell__button,
.journey-map button {
    font: inherit;
}

.presentation-shell__button {
    min-height: 28px;
    padding: 5px 10px;
    color: rgba(235, 247, 255, 0.9);
    background: rgba(12, 29, 45, 0.82);
    border: 1px solid rgba(130, 190, 232, 0.32);
    cursor: pointer;
}

.presentation-shell__button--quiet {
    color: rgba(204, 224, 239, 0.82);
    background: rgba(7, 18, 29, 0.68);
}

.presentation-shell__button:hover:not(:disabled),
.presentation-shell__button:focus-visible {
    border-color: rgba(164, 218, 255, 0.62);
    box-shadow: 0 0 0 3px rgba(95, 178, 235, 0.18);
}

.presentation-shell__button:focus-visible,
.journey-map button:focus-visible {
    outline: 2px solid rgba(174, 224, 255, 0.9);
    outline-offset: 2px;
}

.presentation-shell__button:disabled {
    color: rgba(170, 188, 205, 0.46);
    border-color: rgba(130, 160, 190, 0.14);
    cursor: not-allowed;
}

.demo-tools[hidden],
.demo-notes[hidden],
.demo-closing[hidden] {
    display: none !important;
}

.demo-tools,
.demo-notes,
.demo-closing {
    font-family: Arial, Helvetica, sans-serif;
}

.demo-tools {
    position: fixed;
    right: 14px;
    top: 72px;
    z-index: 2200;
    width: min(276px, calc(100vw - 28px));
    padding: 8px;
    color: rgba(232, 244, 255, 0.9);
    background: rgba(4, 12, 20, 0.78);
    border: 1px solid rgba(139, 197, 238, 0.24);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(14px);
}

.is-demo-notes-open .demo-tools {
    position: relative;
    grid-column: 2;
    grid-row: 1;
    align-self: start;
    justify-self: stretch;
    right: auto;
    top: auto;
    z-index: 70;
    width: 100%;
    margin-top: 72px;
}

.demo-tools__row,
.demo-timer,
.demo-recovery__actions,
.demo-closing__actions {
    display: flex;
    gap: 6px;
}

.demo-tools__row {
    align-items: center;
    justify-content: space-between;
}

.demo-timer {
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
    font-size: 0.68rem;
}

.demo-timer span {
    min-width: 42px;
    color: rgba(174, 220, 250, 0.9);
    font-variant-numeric: tabular-nums;
}

.demo-tools button,
.demo-notes button,
.demo-recovery summary {
    font: inherit;
}

.demo-tools button,
.demo-notes button {
    min-height: 24px;
    padding: 4px 7px;
    color: rgba(231, 244, 255, 0.9);
    background: rgba(12, 30, 48, 0.84);
    border: 1px solid rgba(128, 190, 232, 0.28);
    cursor: pointer;
}

.demo-tools button:hover,
.demo-tools button:focus-visible,
.demo-notes button:hover,
.demo-notes button:focus-visible {
    border-color: rgba(170, 222, 255, 0.66);
    box-shadow: 0 0 0 3px rgba(88, 171, 232, 0.18);
}

.demo-tools button:focus-visible,
.demo-notes button:focus-visible,
.demo-recovery summary:focus-visible {
    outline: 2px solid rgba(182, 228, 255, 0.88);
    outline-offset: 2px;
}

.demo-recovery {
    margin-top: 6px;
    font-size: 0.72rem;
}

.demo-recovery summary {
    width: fit-content;
    color: rgba(180, 214, 236, 0.82);
    cursor: pointer;
}

.demo-recovery__actions {
    flex-wrap: wrap;
    margin-top: 6px;
}

.demo-notes {
    position: fixed;
    right: 14px;
    top: 146px;
    z-index: 2190;
    width: min(286px, calc(100vw - 28px));
    max-height: calc(100svh - 216px);
    overflow: auto;
    padding: 12px;
    color: rgba(236, 246, 255, 0.92);
    background: rgba(5, 14, 24, 0.9);
    border: 1px solid rgba(139, 197, 238, 0.3);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.36), inset 0 1px 0 rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(16px);
}

.is-demo-notes-open .demo-notes {
    position: relative;
    grid-column: 2;
    grid-row: 2;
    align-self: stretch;
    justify-self: stretch;
    right: auto;
    top: auto;
    z-index: 70;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    width: 100%;
    max-height: none;
    min-height: 0;
    margin-bottom: calc(var(--presentation-bottom-safe) + 10px);
}

.demo-notes__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.demo-notes p,
.demo-notes h2,
.demo-notes dl {
    margin: 0;
}

.demo-notes__header p,
.demo-notes dt {
    font-size: 0.64rem;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: rgba(148, 209, 247, 0.76);
}

.demo-notes h2 {
    margin-top: 3px;
    font-size: 0.96rem;
    line-height: 1.2;
}

.demo-notes__list {
    display: grid;
    gap: 8px;
    min-height: 0;
    overflow-y: auto;
}

.demo-notes__list div {
    padding-top: 8px;
    border-top: 1px solid rgba(133, 184, 220, 0.16);
}

.demo-notes dd {
    margin: 4px 0 0;
    font-size: 0.78rem;
    line-height: 1.38;
    color: rgba(219, 235, 247, 0.88);
}

.demo-notes.is-syncing {
    border-color: rgba(145, 207, 237, 0.62);
    box-shadow: 0 0 0 1px rgba(145, 207, 237, 0.18), 0 18px 34px rgba(0, 0, 0, 0.28);
    transition: border-color 240ms ease, box-shadow 240ms ease;
}

@media (prefers-reduced-motion: reduce) {
    .demo-notes.is-syncing {
        transition: none;
    }
}

.is-demo-notes-open .guided-overview-modal,
.is-demo-notes-open .lims-document-modal,
.is-demo-notes-open .resource-modal,
.is-demo-notes-open .preparation-media-modal,
.is-demo-notes-open .preparation-image-viewer {
    z-index: 2250;
}

.demo-closing {
    position: fixed;
    inset: 0;
    z-index: 2300;
    display: grid;
    place-items: center;
    padding: 24px;
    background: rgba(3, 8, 14, 0.74);
    backdrop-filter: blur(10px);
}

.demo-closing__panel {
    width: min(560px, calc(100vw - 48px));
    padding: 24px;
    color: rgba(237, 247, 255, 0.94);
    background: rgba(6, 18, 30, 0.92);
    border: 1px solid rgba(149, 207, 246, 0.3);
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.46), inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.demo-closing h2 {
    margin: 8px 0 10px;
    font-size: clamp(1.35rem, 3vw, 2rem);
}

.demo-closing p {
    margin: 0;
    color: rgba(217, 235, 248, 0.9);
    line-height: 1.55;
}

.demo-closing__actions {
    flex-wrap: wrap;
    margin-top: 18px;
}

.welcome-screen::after {
    position: absolute;
    inset: 0;
    content: "";
    background: rgba(3, 6, 10, 0.86);
    opacity: 1;
    transition: opacity var(--duration-slow) var(--ease-cinematic);
    pointer-events: none;
}

.welcome-screen.is-ready::after {
    opacity: 0;
}

.welcome-screen.is-transitioning {
    cursor: progress;
}

.welcome-screen.is-transitioning::after {
    opacity: 0.34;
    transition-duration: var(--duration-threshold);
}

.welcome-screen.is-threshold::after {
    opacity: 0.08;
}

.lab-atmosphere {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform-origin: 72% 52%;
    transform: scale(1.02);
    transition:
        opacity var(--duration-slow) var(--ease-cinematic) 180ms,
        transform var(--duration-slow) var(--ease-cinematic) 180ms;
}

.welcome-screen.is-ready .lab-atmosphere {
    opacity: 1;
    transform: scale(1);
}

.welcome-screen.is-transitioning .lab-atmosphere {
    opacity: 1;
    transform: translate3d(-8vw, 1vh, 170px) scale(1.28);
    transition:
        opacity var(--duration-threshold) var(--ease-cinematic),
        transform var(--duration-threshold) var(--ease-cinematic);
}

.welcome-screen.is-threshold .lab-atmosphere {
    opacity: 1;
    transform: translate3d(-10vw, 1vh, 210px) scale(1.34);
}

.lab-atmosphere::before,
.lab-atmosphere::after {
    position: absolute;
    content: "";
    pointer-events: none;
}

.lab-atmosphere::before {
    inset: 0;
    background:
        linear-gradient(90deg, transparent 0 12%, rgba(255, 255, 255, 0.03) 12% 12.2%, transparent 12.2% 100%),
        linear-gradient(180deg, transparent 0 44%, rgba(255, 255, 255, 0.045) 44% 44.3%, transparent 44.3% 100%);
}

.lab-atmosphere::after {
    width: min(62vw, 760px);
    height: 34vh;
    left: 50%;
    top: -2vh;
    transform: translateX(-50%);
    background: radial-gradient(ellipse at center, rgba(178, 214, 242, 0.22), transparent 68%);
    filter: blur(20px);
    transition:
        opacity var(--duration-threshold) var(--ease-cinematic),
        background var(--duration-threshold) var(--ease-cinematic);
}

.welcome-screen.is-transitioning .lab-atmosphere::after,
.welcome-screen.is-threshold .lab-atmosphere::after {
    background: radial-gradient(ellipse at center, rgba(202, 232, 252, 0.34), transparent 68%);
}

.lab-wall {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, transparent 0 49.8%, rgba(217, 232, 247, 0.04) 50%, transparent 50.2%),
        linear-gradient(180deg, transparent 0 68%, rgba(217, 232, 247, 0.08) 68.3%, transparent 68.6%);
}

.lab-window {
    position: absolute;
    width: min(46vw, 560px);
    height: min(25vh, 230px);
    left: 50%;
    top: 10vh;
    transform: translateX(-50%);
    border: 1px solid rgba(226, 239, 255, 0.08);
    background:
        linear-gradient(90deg, transparent 0 32%, rgba(226, 239, 255, 0.06) 32% 32.5%, transparent 32.5% 66%, rgba(226, 239, 255, 0.06) 66% 66.5%, transparent 66.5%),
        linear-gradient(180deg, rgba(123, 161, 198, 0.11), rgba(42, 61, 82, 0.035));
}

.lab-doorway {
    position: absolute;
    width: min(24vw, 300px);
    height: 58vh;
    right: clamp(28px, 8vw, 140px);
    bottom: 18vh;
    border: 1px solid rgba(199, 224, 247, 0.09);
    border-bottom: 0;
    background:
        linear-gradient(90deg, rgba(213, 235, 255, 0.04), transparent 14% 86%, rgba(213, 235, 255, 0.04)),
        linear-gradient(180deg, rgba(93, 129, 164, 0.08), rgba(9, 15, 22, 0.04));
    box-shadow: inset 0 0 0 1px rgba(163, 205, 238, 0);
    transition:
        border-color var(--duration-threshold) var(--ease-cinematic),
        box-shadow var(--duration-threshold) var(--ease-cinematic),
        background var(--duration-threshold) var(--ease-cinematic);
}

.welcome-screen.is-transitioning .lab-doorway,
.welcome-screen.is-threshold .lab-doorway {
    border-color: rgba(185, 222, 247, 0.24);
    background:
        linear-gradient(90deg, rgba(213, 235, 255, 0.08), transparent 14% 86%, rgba(213, 235, 255, 0.08)),
        linear-gradient(180deg, rgba(145, 185, 216, 0.18), rgba(27, 52, 70, 0.08));
    box-shadow:
        inset 0 0 0 1px rgba(163, 205, 238, 0.08),
        inset 0 0 48px rgba(120, 184, 224, 0.08);
}

.lab-bench {
    position: absolute;
    width: min(88vw, 1180px);
    height: 19vh;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    border-top: 1px solid rgba(232, 242, 255, 0.18);
    background:
        linear-gradient(90deg, transparent 0 10%, rgba(159, 195, 226, 0.08) 10% 28%, transparent 28% 72%, rgba(159, 195, 226, 0.06) 72% 90%, transparent 90%),
        linear-gradient(180deg, rgba(38, 51, 64, 0.66), rgba(10, 15, 22, 0.94));
}

.lab-monitor {
    position: absolute;
    width: min(13vw, 150px);
    height: min(8vh, 78px);
    left: clamp(36px, 14vw, 220px);
    bottom: 23vh;
    border: 1px solid rgba(143, 198, 235, 0.22);
    border-radius: 4px;
    background:
        linear-gradient(90deg, transparent 0 18%, rgba(125, 205, 228, 0.18) 18% 19%, transparent 19% 100%),
        linear-gradient(180deg, rgba(71, 158, 188, 0.26), rgba(16, 39, 54, 0.18));
    box-shadow: inset 0 0 22px rgba(93, 187, 218, 0.12);
}

.lab-monitor::after {
    position: absolute;
    width: 34%;
    height: 1px;
    left: 33%;
    top: 52%;
    content: "";
    background: rgba(166, 228, 245, 0.42);
}

.lab-glassware {
    position: absolute;
    bottom: 18vh;
    width: 48px;
    height: 96px;
    border: 1px solid rgba(232, 242, 255, 0.16);
    border-top: 0;
    background: linear-gradient(180deg, transparent 0 48%, rgba(125, 170, 202, 0.09) 48% 100%);
    opacity: 0.68;
}

.lab-glassware::before {
    position: absolute;
    left: 50%;
    bottom: 100%;
    width: 18px;
    height: 48px;
    content: "";
    transform: translateX(-50%);
    border: 1px solid rgba(232, 242, 255, 0.14);
    border-bottom: 0;
}

.lab-glassware-primary {
    right: clamp(42px, 17vw, 260px);
}

.lab-glassware-secondary {
    left: clamp(42px, 18vw, 280px);
    width: 66px;
    height: 72px;
}

.welcome-content {
    position: relative;
    z-index: 1;
    width: min(920px, 100%);
    text-align: center;
}

.welcome-kicker,
.welcome-content h1 {
    opacity: 0;
    transform: translateY(18px);
    transition:
        opacity var(--duration-medium) var(--ease-cinematic),
        transform var(--duration-medium) var(--ease-cinematic);
}

.welcome-kicker {
    margin: 0 0 18px;
    font-size: clamp(0.72rem, 1.5vw, 0.9rem);
    font-weight: 700;
    letter-spacing: 0.24em;
    color: #96b9dc;
}

.welcome-content h1 {
    margin: 0;
    font-size: clamp(2.25rem, 6.1vw, 4.8rem);
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0;
}

.welcome-content h1 span {
    display: block;
}

.welcome-subtitle,
.welcome-cta,
.welcome-orientation {
    opacity: 0;
    transform: translateY(18px);
    transition:
        opacity var(--duration-medium) var(--ease-cinematic),
        transform var(--duration-medium) var(--ease-cinematic),
        background-color var(--duration-fast) ease,
        border-color var(--duration-fast) ease,
        color var(--duration-fast) ease,
        box-shadow var(--duration-fast) ease;
}

.welcome-subtitle {
    margin: 22px 0 36px;
    font-size: clamp(1.125rem, 2.4vw, 1.75rem);
    line-height: 1.5;
    color: var(--color-muted);
}

.welcome-cta {
    min-width: 248px;
    min-height: 58px;
    padding: 0 32px;
    border: 1px solid var(--color-cta-border);
    border-radius: 8px;
    color: var(--color-cta-text);
    background: var(--color-cta);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.16),
        inset 0 -18px 32px rgba(74, 137, 185, 0.08);
    font: inherit;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    backdrop-filter: blur(8px);
}

.welcome-cta:hover {
    color: #ffffff;
    background: rgba(16, 35, 53, 0.86);
    border-color: rgba(154, 207, 247, 0.72);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.22),
        inset 0 -18px 32px rgba(93, 164, 214, 0.12),
        0 0 0 1px rgba(108, 169, 219, 0.08);
}

.welcome-cta:focus-visible {
    outline: 2px solid #9acff7;
    outline-offset: 5px;
    border-color: rgba(174, 222, 255, 0.82);
}

.welcome-cta:disabled {
    cursor: progress;
}

.welcome-orientation {
    margin: 18px 0 0;
    font-size: clamp(0.82rem, 1.5vw, 0.95rem);
    line-height: 1.5;
    color: rgba(202, 218, 233, 0.68);
}

.welcome-screen.is-ready .welcome-kicker {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 650ms;
}

.welcome-screen.is-ready .welcome-content h1 {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 950ms;
}

.welcome-screen.is-ready .welcome-subtitle {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 1250ms;
}

.welcome-screen.is-ready .welcome-cta {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 1550ms, 1550ms, 0ms, 0ms, 0ms, 0ms;
}

.welcome-screen.is-ready .welcome-orientation {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 1800ms, 1800ms, 0ms, 0ms, 0ms, 0ms;
}

.welcome-screen.is-transitioning .welcome-content {
    opacity: 0;
    transform: translate3d(0, -10px, -80px) scale(0.96);
    transition:
        opacity 1000ms var(--ease-cinematic),
        transform 1000ms var(--ease-cinematic);
}

.threshold-content {
    position: absolute;
    z-index: 2;
    left: 50%;
    bottom: clamp(108px, 17vh, 154px);
    width: min(760px, calc(100% - 48px));
    text-align: center;
    transform: translateX(-50%);
    pointer-events: none;
}

.threshold-title,
.threshold-time {
    margin: 0;
    opacity: 0;
    transform: translateY(14px);
    transition:
        opacity var(--duration-medium) var(--ease-cinematic),
        transform var(--duration-medium) var(--ease-cinematic);
}

.threshold-title {
    font-size: clamp(1.45rem, 3.2vw, 2.75rem);
    font-weight: 700;
    line-height: 1.12;
    color: #f4f9ff;
}

.threshold-time {
    margin-top: 14px;
    font-size: clamp(0.86rem, 1.6vw, 1rem);
    font-weight: 700;
    letter-spacing: 0.18em;
    color: rgba(187, 218, 242, 0.78);
    text-transform: uppercase;
}

.welcome-screen.is-threshold .threshold-title {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 180ms;
}

.welcome-screen.is-arrived .threshold-time {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 120ms;
}

.welcome-screen.is-establishing-lab .threshold-title,
.welcome-screen.is-establishing-lab .threshold-time {
    opacity: 0;
    transform: translateY(-12px);
    transition-delay: 0ms;
}

.welcome-screen.is-establishing-lab::after,
.welcome-screen.is-lab-established::after {
    opacity: 0;
    transition-duration: var(--duration-establishing);
}

.welcome-screen.is-establishing-lab .lab-atmosphere,
.welcome-screen.is-lab-established .lab-atmosphere {
    opacity: 0;
    transform: translate3d(-14vw, 2vh, 260px) scale(1.42);
    transition:
        opacity 1200ms var(--ease-cinematic),
        transform var(--duration-establishing) var(--ease-cinematic);
}

.establishing-lab {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
    opacity: 0;
    transform: translate3d(0, 2vh, -90px) scale(0.98);
    transform-origin: 50% 62%;
    pointer-events: none;
    background:
        radial-gradient(ellipse at 48% 4%, rgba(207, 232, 247, 0.2), transparent 38%),
        linear-gradient(180deg, rgba(18, 38, 54, 0.72), rgba(8, 16, 24, 0.96));
    transition:
        opacity 1100ms var(--ease-cinematic),
        transform var(--duration-establishing) var(--ease-cinematic);
}

.welcome-screen.is-establishing-lab .establishing-lab,
.welcome-screen.is-lab-established .establishing-lab {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
}

.ceiling-panels {
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 20vh;
    background:
        linear-gradient(90deg, transparent 0 18%, rgba(222, 239, 249, 0.1) 18.2% 18.5%, transparent 18.5% 40%, rgba(222, 239, 249, 0.08) 40.2% 40.5%, transparent 40.5% 62%, rgba(222, 239, 249, 0.08) 62.2% 62.5%, transparent 62.5% 82%, rgba(222, 239, 249, 0.1) 82.2% 82.5%, transparent 82.5%),
        radial-gradient(ellipse at 22% 8%, rgba(207, 232, 247, 0.2), transparent 22%),
        radial-gradient(ellipse at 68% 10%, rgba(207, 232, 247, 0.16), transparent 24%);
    opacity: 0.82;
}

.service-wall {
    position: absolute;
    top: 18vh;
    left: clamp(24px, 8vw, 120px);
    width: min(32vw, 420px);
    height: 28vh;
    background:
        linear-gradient(90deg, transparent 0 26%, rgba(215, 234, 247, 0.08) 26.2% 26.7%, transparent 26.7% 54%, rgba(215, 234, 247, 0.06) 54.2% 54.7%, transparent 54.7%),
        linear-gradient(180deg, rgba(189, 213, 226, 0.04), rgba(10, 20, 30, 0.02));
}

.service-wall::before,
.service-wall::after {
    position: absolute;
    content: "";
    border: 1px solid rgba(204, 225, 238, 0.12);
    background: rgba(12, 25, 36, 0.22);
}

.service-wall::before {
    left: 7%;
    top: 18%;
    width: 26%;
    height: 32%;
}

.service-wall::after {
    right: 12%;
    top: 22%;
    width: 34%;
    height: 14%;
}

.lab-depth-floor {
    position: absolute;
    inset: 52% -8% -8%;
    background:
        linear-gradient(90deg, transparent 0 49.8%, rgba(218, 235, 247, 0.12) 50%, transparent 50.2%),
        linear-gradient(118deg, transparent 0 44%, rgba(218, 235, 247, 0.09) 44.2%, transparent 44.6%),
        linear-gradient(62deg, transparent 0 55%, rgba(218, 235, 247, 0.09) 55.2%, transparent 55.6%),
        repeating-linear-gradient(180deg, transparent 0 11%, rgba(218, 235, 247, 0.035) 11.2% 11.6%, transparent 11.8% 22%),
        linear-gradient(180deg, rgba(28, 50, 66, 0.42), rgba(6, 11, 17, 0.9));
    clip-path: polygon(27% 0, 73% 0, 100% 100%, 0 100%);
}

.arrival-frame {
    position: absolute;
    top: 0;
    bottom: 0;
    width: clamp(18px, 4vw, 58px);
    background: linear-gradient(90deg, rgba(202, 224, 241, 0.2), rgba(8, 15, 23, 0.7));
    opacity: 0.62;
}

.arrival-frame-left {
    left: 0;
}

.arrival-frame-right {
    right: 0;
    transform: scaleX(-1);
}

.instrument-zone {
    position: absolute;
    top: 9vh;
    right: clamp(34px, 8vw, 132px);
    width: min(34vw, 430px);
    height: 36vh;
    border: 1px solid rgba(203, 226, 241, 0.14);
    background:
        linear-gradient(90deg, rgba(219, 236, 247, 0.08), transparent 28% 72%, rgba(219, 236, 247, 0.06)),
        linear-gradient(180deg, rgba(50, 86, 111, 0.18), rgba(12, 25, 36, 0.16));
}

.instrument-partition {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, transparent 0 32%, rgba(226, 240, 249, 0.12) 32.3% 32.8%, transparent 32.8% 66%, rgba(226, 240, 249, 0.12) 66.3% 66.8%, transparent 66.8%),
        linear-gradient(180deg, transparent 0 48%, rgba(226, 240, 249, 0.08) 48.3% 48.8%, transparent 48.8%);
}

.instrument-sign {
    position: absolute;
    top: 16px;
    left: 50%;
    margin: 0;
    padding: 5px 12px;
    transform: translateX(-50%);
    border: 1px solid rgba(179, 214, 236, 0.28);
    border-radius: 4px;
    color: rgba(235, 247, 255, 0.86);
    background: rgba(8, 18, 28, 0.62);
    font-size: clamp(0.62rem, 1.1vw, 0.78rem);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
}

.instrument-silhouette {
    position: absolute;
    bottom: 22px;
    width: 84px;
    height: 96px;
    border: 1px solid rgba(207, 225, 238, 0.1);
    border-radius: 5px 5px 2px 2px;
    background:
        linear-gradient(180deg, transparent 0 31%, rgba(231, 242, 248, 0.08) 31.5% 32.5%, transparent 33% 63%, rgba(231, 242, 248, 0.08) 63.5% 64.5%, transparent 65%),
        linear-gradient(180deg, rgba(177, 203, 219, 0.16), rgba(13, 25, 34, 0.78));
}

.instrument-silhouette::before {
    position: absolute;
    top: 12px;
    right: 10px;
    width: 20px;
    height: 12px;
    content: "";
    border: 1px solid rgba(124, 209, 231, 0.22);
    background: rgba(76, 184, 211, 0.14);
}

.instrument-silhouette::after {
    position: absolute;
    left: 9px;
    right: 9px;
    bottom: 17px;
    height: 1px;
    content: "";
    background: rgba(228, 241, 248, 0.12);
}

.instrument-silhouette-primary {
    right: 76px;
}

.instrument-silhouette-secondary {
    right: 168px;
    width: 64px;
    height: 82px;
}

.instrument-monitor {
    position: absolute;
    right: 26px;
    bottom: 58px;
    width: 52px;
    height: 34px;
    border: 1px solid rgba(127, 211, 234, 0.28);
    background: rgba(70, 175, 206, 0.18);
    box-shadow: inset 0 0 18px rgba(104, 213, 238, 0.12);
}

.solvent-bottles {
    position: absolute;
    right: 82px;
    bottom: 120px;
    width: 88px;
    height: 34px;
    background:
        radial-gradient(circle at 12% 72%, rgba(220, 237, 245, 0.24) 0 9%, transparent 10%),
        radial-gradient(circle at 36% 68%, rgba(220, 237, 245, 0.22) 0 8%, transparent 9%),
        radial-gradient(circle at 60% 72%, rgba(220, 237, 245, 0.2) 0 8%, transparent 9%),
        linear-gradient(90deg, rgba(220, 237, 245, 0.12), transparent 72%);
}

.wet-lab {
    position: absolute;
    bottom: 16vh;
    width: min(38vw, 510px);
    height: 22vh;
}

.wet-lab::before {
    position: absolute;
    left: 8%;
    right: 8%;
    top: -20%;
    height: 42%;
    content: "";
    background: radial-gradient(ellipse at center, rgba(198, 226, 241, 0.12), transparent 68%);
    pointer-events: none;
}

.wet-lab-left {
    left: clamp(28px, 7vw, 118px);
}

.wet-lab-right {
    right: clamp(36px, 10vw, 170px);
    bottom: 13vh;
    width: min(34vw, 450px);
}

.wet-bench {
    position: absolute;
    left: 0;
    right: 0;
    top: 34%;
    height: 24%;
    border-top: 1px solid rgba(232, 244, 250, 0.18);
    background: linear-gradient(180deg, rgba(80, 107, 123, 0.38), rgba(20, 34, 45, 0.8));
}

.learner-workstation {
    border-color: rgba(159, 213, 238, 0.4);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.12),
        0 0 0 1px rgba(132, 198, 229, 0.08);
}

.bench-drawers {
    position: absolute;
    left: 5%;
    right: 5%;
    top: 58%;
    height: 34%;
    background:
        linear-gradient(90deg, transparent 0 32%, rgba(220, 236, 247, 0.08) 32.4% 32.8%, transparent 32.8% 66%, rgba(220, 236, 247, 0.08) 66.4% 66.8%, transparent 66.8%),
        linear-gradient(180deg, rgba(21, 35, 45, 0.8), rgba(8, 15, 22, 0.9));
}

.reagent-row {
    position: absolute;
    left: 12%;
    top: 8%;
    width: 42%;
    height: 30%;
    background:
        linear-gradient(180deg, transparent 0 38%, rgba(190, 225, 237, 0.28) 39% 72%, rgba(190, 225, 237, 0.12) 73%),
        radial-gradient(circle at 10% 70%, rgba(190, 225, 237, 0.28) 0 7%, transparent 8%),
        radial-gradient(circle at 28% 62%, rgba(190, 225, 237, 0.24) 0 6%, transparent 7%),
        radial-gradient(circle at 46% 68%, rgba(190, 225, 237, 0.2) 0 6%, transparent 7%);
}

.glassware-rack {
    position: absolute;
    left: 48%;
    top: 11%;
    width: 20%;
    height: 25%;
    border-bottom: 2px solid rgba(209, 230, 242, 0.2);
    background:
        linear-gradient(90deg, transparent 0 12%, rgba(209, 230, 242, 0.2) 12% 14%, transparent 14% 32%, rgba(209, 230, 242, 0.2) 32% 34%, transparent 34% 52%, rgba(209, 230, 242, 0.18) 52% 54%, transparent 54%),
        linear-gradient(180deg, transparent 0 70%, rgba(108, 177, 201, 0.12) 71%);
}

.pipette-stand {
    position: absolute;
    right: 19%;
    top: 4%;
    width: 42px;
    height: 54px;
    border-left: 2px solid rgba(210, 230, 241, 0.16);
    background:
        linear-gradient(76deg, transparent 0 46%, rgba(210, 230, 241, 0.22) 47% 49%, transparent 50%),
        linear-gradient(104deg, transparent 0 50%, rgba(210, 230, 241, 0.18) 51% 53%, transparent 54%);
}

.tissue-box {
    position: absolute;
    left: 70%;
    top: 22%;
    width: 48px;
    height: 22px;
    border: 1px solid rgba(226, 238, 245, 0.14);
    background:
        linear-gradient(180deg, rgba(226, 238, 245, 0.09), rgba(32, 50, 62, 0.5));
}

.tissue-box::before {
    position: absolute;
    left: 35%;
    top: -8px;
    width: 18px;
    height: 10px;
    content: "";
    background: rgba(226, 238, 245, 0.12);
    border-radius: 9px 9px 0 0;
}

.waste-container {
    position: absolute;
    left: 4%;
    bottom: 0;
    width: 36px;
    height: 48px;
    border: 1px solid rgba(226, 238, 245, 0.12);
    border-top-width: 4px;
    background: linear-gradient(180deg, rgba(41, 69, 81, 0.36), rgba(8, 14, 20, 0.72));
}

.reserved-monitor {
    position: absolute;
    right: 18%;
    top: 5%;
    width: 68px;
    height: 42px;
    border: 1px solid rgba(128, 209, 232, 0.28);
    background: rgba(81, 174, 202, 0.16);
}

.reserved-stool {
    position: absolute;
    right: 25%;
    bottom: 0;
    width: 42px;
    height: 50px;
    border-top: 5px solid rgba(185, 207, 219, 0.18);
    background: linear-gradient(90deg, transparent 45%, rgba(185, 207, 219, 0.14) 46% 54%, transparent 55%);
}

.workstation-light {
    position: absolute;
    left: 42%;
    top: -18%;
    width: 42%;
    height: 42%;
    background: radial-gradient(ellipse at center, rgba(187, 225, 242, 0.16), transparent 66%);
    pointer-events: none;
}

.analyst,
.mentor-figure {
    position: absolute;
    width: 42px;
    height: 112px;
    opacity: 0.72;
}

.analyst::before,
.mentor-figure::before {
    position: absolute;
    top: 0;
    left: 50%;
    width: 20px;
    height: 20px;
    content: "";
    transform: translateX(-50%);
    border-radius: 50%;
    background: rgba(210, 222, 229, 0.34);
}

.analyst::after,
.mentor-figure::after {
    position: absolute;
    top: 24px;
    left: 50%;
    width: 34px;
    height: 74px;
    content: "";
    transform: translateX(-50%);
    border-radius: 14px 14px 5px 5px;
    background:
        linear-gradient(110deg, transparent 0 47%, rgba(235, 242, 246, 0.18) 48% 49%, transparent 50%),
        linear-gradient(90deg, rgba(18, 34, 44, 0.44), transparent 42% 58%, rgba(18, 34, 44, 0.44)),
        linear-gradient(180deg, rgba(221, 232, 238, 0.32), rgba(128, 154, 166, 0.18));
}

.analyst-one,
.analyst-two,
.analyst-three,
.mentor-figure {
    filter: drop-shadow(0 0 10px rgba(161, 207, 226, 0.04));
}

.analyst-one {
    left: 26%;
    bottom: 35vh;
    transform: scale(0.76);
}

.analyst-one {
    background:
        linear-gradient(110deg, transparent 0 51%, rgba(226, 238, 244, 0.28) 52% 55%, transparent 56%) 32px 52px / 48px 5px no-repeat,
        radial-gradient(circle at 82% 44%, rgba(190, 226, 238, 0.28) 0 5px, transparent 6px);
}

.analyst-two {
    left: 43%;
    bottom: 31vh;
    transform: scale(0.68) rotate(-2deg);
}

.analyst-two {
    background:
        linear-gradient(78deg, transparent 0 43%, rgba(226, 238, 244, 0.24) 44% 47%, transparent 48%) -14px 48px / 58px 6px no-repeat,
        linear-gradient(180deg, rgba(190, 226, 238, 0.2), rgba(190, 226, 238, 0.04)) 2px 82px / 28px 34px no-repeat;
}

.analyst-three {
    right: 31%;
    bottom: 34vh;
    transform: scale(0.62);
    opacity: 0.5;
}

.analyst-three {
    background: linear-gradient(100deg, transparent 0 48%, rgba(226, 238, 244, 0.18) 49% 52%, transparent 53%) 25px 56px / 42px 5px no-repeat;
}

.mentor-figure {
    right: 23%;
    bottom: 35vh;
    width: 48px;
    height: 126px;
    transform: scale(0.92) rotate(2deg);
    opacity: 0.82;
    background:
        linear-gradient(88deg, transparent 0 44%, rgba(78, 107, 123, 0.46) 45% 68%, transparent 69%) -12px 58px / 54px 38px no-repeat,
        linear-gradient(180deg, rgba(175, 208, 223, 0.32), rgba(42, 64, 76, 0.3)) 2px 58px / 22px 30px no-repeat;
    filter: drop-shadow(0 0 11px rgba(178, 222, 241, 0.12));
}

.mentor-figure::after {
    width: 38px;
    height: 84px;
    background:
        linear-gradient(110deg, transparent 0 47%, rgba(245, 249, 250, 0.22) 48% 49%, transparent 50%),
        linear-gradient(90deg, rgba(21, 39, 50, 0.5), transparent 42% 58%, rgba(21, 39, 50, 0.5)),
        linear-gradient(180deg, rgba(232, 238, 240, 0.42), rgba(121, 146, 156, 0.24));
}

.mentor-figure::before {
    width: 22px;
    height: 22px;
    background: rgba(222, 232, 236, 0.4);
    box-shadow: 10px 42px 0 -5px rgba(198, 225, 237, 0.28);
}

.establishing-lab > * {
    opacity: 0;
    transition: opacity var(--duration-medium) var(--ease-cinematic);
}

.welcome-screen.is-establishing-lab .lab-depth-floor,
.welcome-screen.is-lab-established .lab-depth-floor,
.welcome-screen.is-establishing-lab .arrival-frame,
.welcome-screen.is-lab-established .arrival-frame,
.welcome-screen.is-establishing-lab .ceiling-panels,
.welcome-screen.is-lab-established .ceiling-panels,
.welcome-screen.is-establishing-lab .service-wall,
.welcome-screen.is-lab-established .service-wall {
    opacity: 1;
    transition-delay: 300ms;
}

.welcome-screen.is-establishing-lab .instrument-zone,
.welcome-screen.is-lab-established .instrument-zone,
.welcome-screen.is-establishing-lab .wet-lab,
.welcome-screen.is-lab-established .wet-lab {
    opacity: 1;
    transition-delay: 700ms;
}

.welcome-screen.is-establishing-lab .analyst,
.welcome-screen.is-lab-established .analyst,
.welcome-screen.is-establishing-lab .mentor-figure,
.welcome-screen.is-lab-established .mentor-figure {
    opacity: 1;
    transition-delay: 1100ms;
}

.welcome-screen.is-establishing-lab .analyst-three,
.welcome-screen.is-lab-established .analyst-three {
    opacity: 0.56;
}

/* PM-002A.2 final laboratory recomposition */
.establishing-lab {
    background:
        radial-gradient(ellipse at 50% 0%, rgba(231, 244, 250, 0.24), transparent 38%),
        linear-gradient(180deg, rgba(31, 58, 73, 0.92), rgba(11, 23, 33, 0.98));
}

.qc-architecture {
    position: absolute;
    inset: 0;
}

.qc-ceiling {
    position: absolute;
    inset: 0 7% auto;
    height: 26vh;
    background:
        linear-gradient(90deg, transparent 0 14%, rgba(238, 247, 251, 0.14) 14.2% 14.6%, transparent 14.8% 35%, rgba(238, 247, 251, 0.12) 35.2% 35.6%, transparent 35.8% 64%, rgba(238, 247, 251, 0.12) 64.2% 64.6%, transparent 64.8% 86%, rgba(238, 247, 251, 0.14) 86.2% 86.6%, transparent 86.8%),
        radial-gradient(ellipse at 25% 10%, rgba(231, 244, 250, 0.22), transparent 22%),
        radial-gradient(ellipse at 74% 10%, rgba(231, 244, 250, 0.2), transparent 24%);
}

.qc-corridor {
    position: absolute;
    left: 27%;
    right: 29%;
    top: 22vh;
    bottom: -4vh;
    background:
        linear-gradient(90deg, rgba(229, 242, 248, 0.16), transparent 2% 98%, rgba(229, 242, 248, 0.16)),
        repeating-linear-gradient(180deg, transparent 0 13%, rgba(226, 240, 247, 0.055) 13.2% 13.7%, transparent 14% 27%),
        linear-gradient(180deg, rgba(77, 111, 130, 0.34), rgba(13, 25, 34, 0.92));
    clip-path: polygon(37% 0, 63% 0, 100% 100%, 0 100%);
}

.qc-entry-frame {
    position: absolute;
    inset: 10vh 3% 0;
    border-left: clamp(18px, 3vw, 42px) solid rgba(6, 13, 20, 0.56);
    border-right: clamp(18px, 3vw, 42px) solid rgba(6, 13, 20, 0.48);
    background:
        linear-gradient(90deg, rgba(238, 247, 251, 0.16), transparent 7% 93%, rgba(238, 247, 251, 0.12)),
        linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.16));
}

.qc-service-points {
    position: absolute;
    left: 8%;
    right: 8%;
    top: 28vh;
    height: 18vh;
    background:
        linear-gradient(90deg, rgba(232, 243, 248, 0.08) 0 9%, transparent 9% 24%, rgba(232, 243, 248, 0.08) 24% 35%, transparent 35% 66%, rgba(232, 243, 248, 0.07) 66% 78%, transparent 78%),
        linear-gradient(180deg, transparent 0 48%, rgba(232, 243, 248, 0.065) 48.3% 49%, transparent 49.2%);
}

.qc-zone {
    position: absolute;
    border: 1px solid rgba(217, 235, 245, 0.2);
    background:
        linear-gradient(90deg, rgba(235, 246, 251, 0.08), transparent 18% 82%, rgba(235, 246, 251, 0.06)),
        linear-gradient(180deg, rgba(71, 111, 132, 0.22), rgba(15, 32, 44, 0.34));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.zone-sign {
    position: absolute;
    z-index: 3;
    top: 10px;
    left: 50%;
    margin: 0;
    padding: 5px 11px;
    transform: translateX(-50%);
    border: 1px solid rgba(181, 215, 232, 0.34);
    border-radius: 4px;
    color: rgba(246, 251, 255, 0.9);
    background: rgba(9, 22, 32, 0.7);
    font-size: clamp(0.56rem, 0.9vw, 0.76rem);
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    white-space: nowrap;
}

.glass-grid {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, transparent 0 31%, rgba(230, 243, 249, 0.12) 31.4% 31.8%, transparent 32% 65%, rgba(230, 243, 249, 0.1) 65.4% 65.8%, transparent 66%),
        linear-gradient(180deg, transparent 0 48%, rgba(230, 243, 249, 0.09) 48.4% 49%, transparent 49.2%);
    pointer-events: none;
}

.sample-receipt-zone {
    left: 8%;
    top: 54vh;
    width: 22vw;
    height: 25vh;
    transform: skewY(-4deg);
}

.wet-chemistry-zone {
    left: 8%;
    top: 16vh;
    width: 38vw;
    height: 36vh;
    transform: skewY(-3deg);
}

.instrument-lab-zone {
    right: 8%;
    top: 15vh;
    width: 38vw;
    height: 39vh;
    transform: skewY(3deg);
}

.sample-counter,
.zone-bench,
.instrument-desk {
    position: absolute;
    border-top: 1px solid rgba(239, 249, 252, 0.24);
    background: linear-gradient(180deg, rgba(95, 127, 143, 0.46), rgba(18, 37, 49, 0.88));
}

.sample-counter {
    left: 10%;
    right: 8%;
    top: 48%;
    height: 20%;
}

.sample-racks {
    position: absolute;
    left: 16%;
    top: 28%;
    width: 44%;
    height: 24%;
    background:
        radial-gradient(circle at 14% 64%, rgba(213, 235, 244, 0.32) 0 5%, transparent 6%),
        radial-gradient(circle at 32% 64%, rgba(213, 235, 244, 0.28) 0 5%, transparent 6%),
        radial-gradient(circle at 50% 64%, rgba(213, 235, 244, 0.26) 0 5%, transparent 6%),
        linear-gradient(180deg, transparent 0 70%, rgba(213, 235, 244, 0.18) 71%);
}

.zone-bench {
    height: 18%;
}

.bench-a {
    left: 8%;
    right: 12%;
    top: 47%;
}

.learner-bench {
    left: 44%;
    right: 8%;
    top: 72%;
    border-color: rgba(165, 220, 242, 0.46);
    box-shadow: 0 -18px 40px rgba(187, 225, 242, 0.1);
}

.bench-drawers {
    position: absolute;
    left: 4%;
    right: 4%;
    top: 100%;
    height: 68%;
    background:
        linear-gradient(90deg, transparent 0 31%, rgba(230, 243, 249, 0.12) 31.5% 32%, transparent 32.5% 64%, rgba(230, 243, 249, 0.1) 64.5% 65%, transparent 65.5%),
        linear-gradient(180deg, rgba(13, 27, 37, 0.82), rgba(8, 16, 24, 0.9));
}

.bench-reagents,
.bench-glassware,
.pipette-stand,
.clean-surface,
.tucked-stool {
    position: absolute;
}

.bench-reagents {
    left: 12%;
    top: -60%;
    width: 34%;
    height: 54%;
    background:
        radial-gradient(circle at 12% 70%, rgba(220, 239, 247, 0.34) 0 8%, transparent 9%),
        radial-gradient(circle at 34% 64%, rgba(220, 239, 247, 0.28) 0 7%, transparent 8%),
        radial-gradient(circle at 58% 70%, rgba(220, 239, 247, 0.22) 0 7%, transparent 8%);
}

.bench-glassware {
    left: 52%;
    top: -56%;
    width: 24%;
    height: 50%;
    border-bottom: 2px solid rgba(220, 239, 247, 0.22);
    background:
        linear-gradient(90deg, transparent 0 18%, rgba(220, 239, 247, 0.24) 18% 20%, transparent 20% 42%, rgba(220, 239, 247, 0.2) 42% 44%, transparent 44% 66%, rgba(220, 239, 247, 0.18) 66% 68%, transparent 68%);
}

.pipette-stand {
    right: 12%;
    top: -72%;
    width: 34px;
    height: 48px;
    border-left: 2px solid rgba(220, 239, 247, 0.18);
    background:
        linear-gradient(76deg, transparent 0 45%, rgba(220, 239, 247, 0.28) 46% 48%, transparent 49%),
        linear-gradient(102deg, transparent 0 48%, rgba(220, 239, 247, 0.22) 49% 51%, transparent 52%);
}

.clean-surface {
    left: 12%;
    right: 18%;
    top: -18%;
    height: 16%;
    background: rgba(230, 243, 249, 0.1);
}

.tucked-stool {
    right: 17%;
    top: 82%;
    width: 38px;
    height: 44px;
    border-top: 5px solid rgba(218, 234, 242, 0.2);
    background: linear-gradient(90deg, transparent 44%, rgba(218, 234, 242, 0.16) 45% 55%, transparent 56%);
}

.hplc-stack {
    position: absolute;
    bottom: 14%;
    width: 86px;
    height: 116px;
    border: 1px solid rgba(221, 237, 246, 0.16);
    border-radius: 4px;
    background:
        linear-gradient(180deg, transparent 0 29%, rgba(239, 248, 251, 0.1) 29.6% 30.6%, transparent 31% 61%, rgba(239, 248, 251, 0.1) 61.6% 62.6%, transparent 63%),
        linear-gradient(180deg, rgba(193, 218, 230, 0.2), rgba(13, 28, 39, 0.86));
}

.hplc-one {
    right: 18%;
}

.hplc-two {
    right: 43%;
    bottom: 18%;
    width: 74px;
    height: 102px;
}

.solvent-set {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 106%;
    height: 28px;
    background:
        radial-gradient(circle at 18% 70%, rgba(230, 243, 249, 0.3) 0 12%, transparent 13%),
        radial-gradient(circle at 48% 66%, rgba(230, 243, 249, 0.25) 0 11%, transparent 12%),
        radial-gradient(circle at 76% 70%, rgba(230, 243, 249, 0.22) 0 10%, transparent 11%);
}

.hplc-display {
    position: absolute;
    right: 10px;
    top: 13px;
    width: 22px;
    height: 13px;
    border: 1px solid rgba(126, 214, 236, 0.28);
    background: rgba(82, 185, 211, 0.2);
}

.instrument-desk {
    left: 10%;
    right: 58%;
    bottom: 18%;
    height: 16%;
}

.lab-person {
    position: absolute;
    width: 44px;
    height: 118px;
}

.lab-person::before {
    position: absolute;
    top: 0;
    left: 50%;
    width: 20px;
    height: 20px;
    content: "";
    transform: translateX(-50%);
    border-radius: 50%;
    background: rgba(224, 235, 240, 0.44);
}

.lab-person::after {
    position: absolute;
    top: 24px;
    left: 50%;
    width: 36px;
    height: 76px;
    content: "";
    transform: translateX(-50%);
    border-radius: 15px 15px 5px 5px;
    background:
        linear-gradient(112deg, transparent 0 47%, rgba(248, 251, 252, 0.24) 48% 49%, transparent 50%),
        linear-gradient(180deg, rgba(236, 243, 246, 0.44), rgba(128, 157, 170, 0.24));
}

.sample-analyst {
    right: 17%;
    bottom: 16%;
    transform: scale(0.58) rotate(-4deg);
    background: linear-gradient(74deg, transparent 0 45%, rgba(232, 241, 246, 0.28) 46% 50%, transparent 51%) -16px 48px / 62px 7px no-repeat;
}

.wet-analyst-one {
    left: 18%;
    bottom: 24%;
    transform: scale(0.64) rotate(-2deg);
    background:
        linear-gradient(108deg, transparent 0 50%, rgba(232, 241, 246, 0.3) 51% 54%, transparent 55%) 31px 52px / 54px 7px no-repeat,
        radial-gradient(circle at 88% 45%, rgba(220, 239, 247, 0.32) 0 5px, transparent 6px);
}

.wet-analyst-two {
    left: 58%;
    bottom: 42%;
    transform: scale(0.55);
    background: linear-gradient(78deg, transparent 0 42%, rgba(232, 241, 246, 0.24) 43% 47%, transparent 48%) -18px 50px / 58px 7px no-repeat;
}

.instrument-analyst {
    left: 22%;
    bottom: 20%;
    transform: scale(0.6) rotate(3deg);
    background: linear-gradient(102deg, transparent 0 49%, rgba(232, 241, 246, 0.24) 50% 53%, transparent 54%) 30px 52px / 54px 7px no-repeat;
}

.mentor-station {
    position: absolute;
    left: 47%;
    bottom: 26vh;
    width: 64px;
    height: 138px;
}

.mentor-station .mentor-figure {
    position: absolute;
    inset: auto auto 0 0;
    width: 50px;
    height: 132px;
    transform: scale(0.9);
    background:
        linear-gradient(88deg, transparent 0 42%, rgba(78, 107, 123, 0.52) 43% 68%, transparent 69%) -12px 58px / 56px 38px no-repeat,
        linear-gradient(180deg, rgba(188, 220, 232, 0.36), rgba(42, 64, 76, 0.32)) 2px 58px / 24px 30px no-repeat;
    filter: drop-shadow(0 0 12px rgba(197, 231, 244, 0.16));
}

.mentor-station .mentor-figure::after {
    width: 40px;
    height: 86px;
}

.welcome-screen.is-establishing-lab .qc-architecture,
.welcome-screen.is-lab-established .qc-architecture,
.welcome-screen.is-establishing-lab .qc-zone,
.welcome-screen.is-lab-established .qc-zone,
.welcome-screen.is-establishing-lab .mentor-station,
.welcome-screen.is-lab-established .mentor-station {
    opacity: 1;
}

.welcome-screen.is-establishing-lab .qc-zone,
.welcome-screen.is-lab-established .qc-zone {
    transition-delay: 620ms;
}

.welcome-screen.is-establishing-lab .mentor-station,
.welcome-screen.is-lab-established .mentor-station {
    transition-delay: 980ms;
}

@media (max-width: 640px) {
    .presentation-shell__top {
        top: 8px;
        align-items: flex-start;
        gap: 8px;
        width: calc(100vw - 18px);
        min-height: 54px;
        padding: 7px 9px;
    }

    .presentation-shell__context {
        text-align: left;
    }

    .presentation-shell__context h2 {
        max-width: 52vw;
        font-size: 0.78rem;
    }

    .presentation-shell__context p,
    .presentation-shell__mode,
    .presentation-shell__progress {
        display: none;
    }

    .presentation-shell__bottom {
        bottom: 8px;
        flex-wrap: wrap;
        width: calc(100vw - 18px);
        gap: 6px;
        padding: 6px;
    }

    .presentation-shell__button {
        min-height: 28px;
        padding: 5px 8px;
        font-size: 0.72rem;
    }

    .preparation-readiness-overview,
    .analytical-preparation-overview {
        inset: 88px 12px 74px;
        width: auto;
    }

    .preparation-readiness-overview__layout {
        grid-template-columns: 1fr;
        overflow: auto;
    }

    .guided-overview__layout {
        grid-template-columns: 1fr;
        overflow: auto;
    }

    .guided-overview__pathway {
        grid-template-columns: 1fr;
    }

    .guided-overview__visual.has-chromatogram .guided-overview__pathway,
    .guided-overview-modal__notes {
        grid-template-columns: 1fr;
    }

    .preparation-readiness-overview__matrix {
        grid-template-columns: 1fr;
    }

    .preparation-readiness-overview__sample,
    .preparation-readiness-overview__decision dl,
    .guided-overview__sample,
    .guided-overview__decision dl {
        grid-template-columns: 1fr;
    }

    .welcome-screen {
        padding: 24px;
    }

    .lab-window {
        width: 72vw;
    }

    .lab-doorway {
        right: -8vw;
        width: 40vw;
        opacity: 0.62;
    }

    .lab-bench {
        width: 100vw;
    }

    .lab-monitor {
        width: 96px;
        left: 20px;
        opacity: 0.62;
    }

    .lab-glassware {
        opacity: 0.42;
    }

    .welcome-content h1 {
        font-size: clamp(2rem, 10vw, 3.35rem);
    }

    .welcome-subtitle {
        margin-bottom: 30px;
    }

    .welcome-cta {
        width: min(100%, 280px);
    }

    .threshold-content {
        bottom: clamp(88px, 16vh, 118px);
    }

    .instrument-zone {
        top: 10vh;
        right: 20px;
        width: 48vw;
        height: 30vh;
    }

    .instrument-sign {
        font-size: 0.58rem;
        padding-inline: 8px;
    }

    .wet-lab {
        width: 52vw;
        bottom: 13vh;
    }

    .wet-lab-left {
        left: -8vw;
    }

    .wet-lab-right {
        right: -7vw;
        width: 50vw;
    }

    .reserved-monitor,
    .instrument-silhouette-secondary,
    .analyst-three {
        display: none;
    }

    .analyst-one {
        left: 24%;
        bottom: 34vh;
    }

    .analyst-two {
        left: 48%;
        bottom: 30vh;
    }

    .mentor-figure {
        right: 20%;
        bottom: 34vh;
    }

    .qc-corridor {
        left: 24%;
        right: 24%;
        top: 24vh;
    }

    .sample-receipt-zone {
        left: 5%;
        top: 56vh;
        width: 27vw;
        height: 23vh;
    }

    .wet-chemistry-zone {
        left: 4%;
        top: 18vh;
        width: 43vw;
        height: 34vh;
    }

    .instrument-lab-zone {
        right: 4%;
        top: 17vh;
        width: 43vw;
        height: 35vh;
    }

    .zone-sign {
        top: 7px;
        max-width: 92%;
        overflow: hidden;
        font-size: 0.52rem;
        text-overflow: ellipsis;
    }

    .hplc-stack {
        width: 56px;
        height: 82px;
    }

    .hplc-two {
        right: 49%;
        width: 50px;
        height: 74px;
    }

    .lab-person {
        width: 34px;
        height: 90px;
    }

    .mentor-station {
        left: 45%;
        bottom: 25vh;
        transform: scale(0.82);
    }

    .sample-analyst {
        right: 7%;
    }

    .wet-analyst-two {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 180ms !important;
        transition-delay: 0ms !important;
    }

    .welcome-kicker,
    .welcome-content h1,
    .welcome-subtitle,
    .welcome-cta,
    .welcome-orientation,
    .lab-atmosphere,
    .threshold-title,
    .threshold-time,
    .establishing-lab,
    .welcome-screen.is-transitioning .welcome-content {
        transform: none;
    }

    .welcome-screen.is-transitioning .lab-atmosphere,
    .welcome-screen.is-threshold .lab-atmosphere,
    .welcome-screen.is-establishing-lab .lab-atmosphere,
.welcome-screen.is-lab-established .lab-atmosphere {
        transform: none;
    }
}

/* PM-002A.3 hybrid scene foundation.
   Expected artwork: ../assets/scenes/qc-laboratory-establishing.webp
   Recommended aspect ratio: 16:9
   Recommended working size: 1920 x 1080 or larger
   Artwork must align with the semantic percentage zone map. */
.lab-scene {
    position: absolute;
    left: 50%;
    top: 50%;
    width: min(100vw, 177.78svh);
    height: min(100svh, 56.25vw);
    aspect-ratio: 16 / 9;
    overflow: hidden;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.welcome-screen.is-establishing-lab .lab-scene,
.welcome-screen.is-lab-established .lab-scene {
    opacity: 1;
    transition-delay: 0ms;
}

.welcome-screen.is-lab-established .lab-scene {
    pointer-events: auto;
}

.lab-scene__visual,
.lab-scene__lighting,
.lab-scene__interaction-map,
.lab-scene__foreground,
.lab-scene__accessibility {
    position: absolute;
    inset: 0;
}

.lab-scene__visual,
.lab-scene__lighting,
.lab-scene__interaction-map,
.lab-scene__foreground,
.lab-scene__accessibility {
    pointer-events: none;
}

.lab-scene__visual {
    z-index: 1;
}

.lab-scene__artwork {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0;
    background-image: url("../assets/scenes/qc-laboratory-establishing.webp");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    transition: opacity var(--duration-medium) var(--ease-cinematic);
}

.lab-scene.has-artwork .lab-scene__artwork {
    opacity: 1;
}

.lab-scene.has-artwork .lab-scene__fallback {
    opacity: 0;
}

.lab-scene__fallback {
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: 1;
    transition: opacity var(--duration-medium) var(--ease-cinematic);
}

.lab-scene__lighting {
    z-index: 3;
    mix-blend-mode: screen;
}

.lab-light {
    position: absolute;
    inset: 0;
}

.lab-light--cool {
    background:
        radial-gradient(ellipse at 50% 5%, rgba(236, 248, 252, 0.2), transparent 34%),
        linear-gradient(180deg, rgba(210, 236, 247, 0.08), transparent 48%);
}

.lab-light--corridor {
    background: radial-gradient(ellipse at 50% 58%, rgba(178, 222, 242, 0.12), transparent 34%);
}

.lab-light--spotlight {
    opacity: 0;
    background:
        radial-gradient(ellipse at 30% 42%, rgba(182, 225, 243, 0.14), transparent 18%),
        radial-gradient(ellipse at 66% 42%, rgba(182, 225, 243, 0.13), transparent 18%);
    transition: opacity var(--duration-medium) var(--ease-cinematic);
}

.welcome-screen.is-lab-established .lab-light--spotlight {
    opacity: 1;
}

.lab-scene__foreground {
    z-index: 5;
}

.foreground-shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, transparent 0 58%, rgba(3, 8, 13, 0.3) 100%),
        radial-gradient(ellipse at 50% 112%, rgba(0, 0, 0, 0.54), transparent 50%);
}

.glass-reflection {
    position: absolute;
    inset: 0;
    opacity: 0.42;
    background:
        linear-gradient(116deg, transparent 0 18%, rgba(241, 250, 253, 0.08) 18.3% 18.8%, transparent 19.2% 44%, rgba(241, 250, 253, 0.055) 44.4% 44.9%, transparent 45.4%),
        linear-gradient(72deg, transparent 0 64%, rgba(241, 250, 253, 0.05) 64.3% 64.8%, transparent 65.2%);
}

.mentor-focus-layer,
.mentor-edge-light {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity var(--duration-medium) var(--ease-cinematic);
    pointer-events: none;
}

.mentor-focus-layer {
    background:
        radial-gradient(ellipse at 50% 64%, transparent 0 11%, rgba(5, 12, 18, 0.28) 36%, rgba(5, 12, 18, 0.42) 100%),
        linear-gradient(90deg, rgba(5, 12, 18, 0.16), transparent 42% 58%, rgba(5, 12, 18, 0.16));
}

.mentor-edge-light {
    background: radial-gradient(ellipse at 50% 62%, rgba(166, 221, 244, 0.24), transparent 13%);
    mix-blend-mode: screen;
}

.welcome-screen.is-mentor-aware .mentor-focus-layer {
    opacity: 1;
}

.welcome-screen.is-mentor-aware .mentor-edge-light {
    opacity: 0.86;
}

.welcome-screen.is-mentor-aware .lab-scene__visual {
    transform: scale(1.012) translate3d(-0.4%, 0.2%, 0);
    transform-origin: 50% 63%;
    transition: transform 1200ms var(--ease-cinematic);
}

.welcome-screen.is-mentor-aware .lab-light--spotlight {
    opacity: 1;
}

.welcome-screen.is-mentor-aware .mentor-visual,
.welcome-screen.is-mentor-aware .mentor-station {
    filter: drop-shadow(0 0 12px rgba(182, 228, 246, 0.22));
}

.welcome-screen.is-mentor-aware .mentor-visual .mentor-figure {
    transform: scale(0.94) translateY(-2px);
    transition: transform 900ms var(--ease-cinematic);
}

.mentor-dialogue {
    position: absolute;
    z-index: 6;
    left: 56%;
    top: 51%;
    width: min(390px, 38%);
    padding: 17px 19px;
    border: 1px solid rgba(142, 204, 235, 0.42);
    border-radius: 8px;
    color: #edf8ff;
    background:
        linear-gradient(180deg, rgba(13, 29, 42, 0.86), rgba(7, 17, 26, 0.9));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 18px 46px rgba(0, 0, 0, 0.28);
    opacity: 0;
    pointer-events: auto;
    transform: translateY(10px);
    transition:
        opacity var(--duration-medium) var(--ease-cinematic),
        transform var(--duration-medium) var(--ease-cinematic);
}

.welcome-screen.is-mentor-speaking .mentor-dialogue {
    opacity: 1;
    transform: translateY(0);
}

.mentor-dialogue__role {
    margin: 0 0 8px;
    color: rgba(159, 207, 231, 0.74);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    line-height: 1.2;
    text-transform: uppercase;
}

.mentor-dialogue__text {
    margin: 0;
    font-size: clamp(1rem, 1.32vw, 1.1rem);
    line-height: 1.55;
}

.mentor-dialogue__continue {
    min-height: 36px;
    margin-top: 14px;
    padding: 0 15px;
    border: 1px solid rgba(142, 204, 235, 0.36);
    border-radius: 7px;
    color: #eef9ff;
    background: rgba(18, 39, 55, 0.62);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
    font: inherit;
    font-size: 0.94rem;
    font-weight: 700;
    pointer-events: auto;
    cursor: pointer;
    transition:
        background-color var(--duration-fast) ease,
        border-color var(--duration-fast) ease,
        box-shadow var(--duration-fast) ease;
}

.mentor-dialogue__continue:hover {
    background: rgba(28, 59, 79, 0.76);
    border-color: rgba(163, 218, 243, 0.58);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 0 0 1px rgba(125, 196, 229, 0.08);
}

.mentor-dialogue__continue:focus-visible {
    outline: 2px solid #9ad4f4;
    outline-offset: 3px;
    border-color: rgba(176, 226, 249, 0.66);
}

.mentor-dialogue__continue:disabled {
    cursor: default;
    opacity: 0.72;
}

.lab-scene__interaction-map {
    z-index: 4;
    pointer-events: none;
}

.lab-scene__information-network {
    position: absolute;
    inset: 0;
    z-index: 4;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--duration-medium) var(--ease-cinematic);
}

.trace-path {
    position: absolute;
    height: 1px;
    opacity: 0;
    background: linear-gradient(90deg, transparent, rgba(156, 218, 246, 0.76), transparent);
    box-shadow: 0 0 12px rgba(112, 196, 235, 0.14);
    transform-origin: left center;
    transition:
        opacity var(--duration-medium) var(--ease-cinematic),
        transform var(--duration-medium) var(--ease-cinematic),
        filter var(--duration-medium) var(--ease-cinematic);
}

.trace-entity,
.lims-node {
    position: absolute;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 24px;
    padding: 4px 9px;
    border: 1px solid rgba(160, 219, 246, 0.34);
    border-radius: 999px;
    color: rgba(231, 247, 253, 0.9);
    background: rgba(7, 18, 28, 0.58);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
    font-size: clamp(0.58rem, 0.78vw, 0.72rem);
    font-weight: 700;
    letter-spacing: 0.06em;
    line-height: 1;
    opacity: 0;
    text-transform: uppercase;
    transform: translate(-50%, -50%) scale(0.96);
    transition:
        opacity var(--duration-medium) var(--ease-cinematic),
        transform var(--duration-medium) var(--ease-cinematic),
        border-color var(--duration-medium) var(--ease-cinematic),
        box-shadow var(--duration-medium) var(--ease-cinematic);
    white-space: nowrap;
}

.lims-node {
    left: 50%;
    top: 50%;
    min-width: 74px;
    min-height: 38px;
    border-radius: 8px;
    border-color: rgba(180, 230, 250, 0.58);
    background: rgba(10, 34, 51, 0.78);
    color: rgba(242, 251, 254, 0.98);
    font-size: clamp(0.74rem, 1vw, 0.92rem);
    letter-spacing: 0.1em;
}

.trace-path--receipt-wet {
    --trace-angle: -74deg;
    left: 20%;
    top: 62%;
    width: 33%;
    transform: rotate(var(--trace-angle)) scaleX(0.72);
}

.trace-path--wet-instrument {
    --trace-angle: -2deg;
    left: 34%;
    top: 35%;
    width: 33%;
    transform: rotate(var(--trace-angle)) scaleX(0.72);
}

.trace-path--sample-lims {
    --trace-angle: -39deg;
    left: 23%;
    top: 73%;
    width: 33%;
    transform: rotate(var(--trace-angle)) scaleX(0.82);
}

.trace-path--test-lims {
    --trace-angle: 55deg;
    left: 39%;
    top: 26%;
    width: 22%;
    transform: rotate(var(--trace-angle)) scaleX(0.82);
}

.trace-path--analyst-lims {
    --trace-angle: 24deg;
    left: 38%;
    top: 43%;
    width: 16%;
    transform: rotate(var(--trace-angle)) scaleX(0.82);
}

.trace-path--instrument-lims {
    --trace-angle: -34deg;
    left: 51%;
    top: 50%;
    width: 20%;
    transform: rotate(var(--trace-angle)) scaleX(0.82);
}

.trace-path--result-lims {
    --trace-angle: 28deg;
    left: 52%;
    top: 51%;
    width: 24%;
    transform: rotate(var(--trace-angle)) scaleX(0.82);
}

.trace-path--status-lims {
    --trace-angle: 76deg;
    left: 50%;
    top: 51%;
    width: 26%;
    transform: rotate(var(--trace-angle)) scaleX(0.82);
}

.trace-path--lims-receipt {
    --trace-angle: -31deg;
    left: 25%;
    top: 66%;
    width: 30%;
    transform: rotate(var(--trace-angle)) scaleX(0.82);
}

.trace-path--lims-wet {
    --trace-angle: 31deg;
    left: 31%;
    top: 36%;
    width: 24%;
    transform: rotate(var(--trace-angle)) scaleX(0.82);
}

.trace-path--lims-instrument {
    --trace-angle: -30deg;
    left: 52%;
    top: 47%;
    width: 25%;
    transform: rotate(var(--trace-angle)) scaleX(0.82);
}

.trace-entity--sample {
    left: 22%;
    top: 76%;
}

.trace-entity--test {
    left: 38%;
    top: 24%;
}

.trace-entity--analyst {
    left: 37%;
    top: 43%;
}

.trace-entity--instrument {
    left: 73%;
    top: 34%;
}

.trace-entity--result {
    left: 75%;
    top: 62%;
}

.trace-entity--status {
    left: 53%;
    top: 78%;
}

.welcome-screen.is-lims-introduction .lab-scene__visual {
    transform: none;
    transition: transform 900ms var(--ease-cinematic);
}

.welcome-screen.is-lims-introduction .mentor-focus-layer {
    opacity: 0.7;
}

.welcome-screen.is-lims-introduction .mentor-edge-light {
    opacity: 0.28;
    background: radial-gradient(ellipse at 50% 52%, rgba(166, 221, 244, 0.2), transparent 22%);
}

.welcome-screen.is-lims-introduction .mentor-dialogue {
    left: 54%;
    top: 56%;
    width: min(440px, 42%);
}

.welcome-screen.is-lims-introduction .lab-scene__information-network {
    opacity: 1;
}

.welcome-screen[data-lims-state="journey-overview"] .trace-path--receipt-wet,
.welcome-screen[data-lims-state="journey-overview"] .trace-path--wet-instrument,
.welcome-screen[data-lims-state="traceability-entities"] .trace-path--receipt-wet,
.welcome-screen[data-lims-state="traceability-entities"] .trace-path--wet-instrument,
.welcome-screen[data-lims-state="traceability-entities"] .trace-path--sample-lims,
.welcome-screen[data-lims-state="traceability-entities"] .trace-path--test-lims,
.welcome-screen[data-lims-state="traceability-entities"] .trace-path--analyst-lims,
.welcome-screen[data-lims-state="traceability-entities"] .trace-path--instrument-lims,
.welcome-screen[data-lims-state="traceability-entities"] .trace-path--result-lims,
.welcome-screen[data-lims-state="traceability-entities"] .trace-path--status-lims,
.welcome-screen[data-lims-state="fragmented-records"] .trace-path,
.welcome-screen[data-lims-state="lims-reveal"] .trace-path,
.welcome-screen[data-lims-state="lims-role"] .trace-path,
.welcome-screen[data-lims-state="complete"] .trace-path {
    opacity: 1;
    transform: rotate(var(--trace-angle, 0deg)) scaleX(1);
}

.welcome-screen[data-lims-state="traceability-entities"] .trace-entity,
.welcome-screen[data-lims-state="fragmented-records"] .trace-entity,
.welcome-screen[data-lims-state="lims-reveal"] .trace-entity,
.welcome-screen[data-lims-state="lims-role"] .trace-entity,
.welcome-screen[data-lims-state="complete"] .trace-entity {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.welcome-screen[data-lims-state="fragmented-records"] .trace-path {
    opacity: 0.72;
    background: repeating-linear-gradient(
        90deg,
        rgba(156, 218, 246, 0.72) 0 10px,
        transparent 10px 17px
    );
    filter: saturate(0.75);
}

.welcome-screen[data-lims-state="fragmented-records"] .trace-entity {
    border-color: rgba(199, 222, 234, 0.3);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.welcome-screen[data-lims-state="lims-reveal"] .lims-node,
.welcome-screen[data-lims-state="lims-role"] .lims-node,
.welcome-screen[data-lims-state="complete"] .lims-node {
    opacity: 1;
    border-color: rgba(191, 234, 252, 0.78);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.14),
        0 0 28px rgba(111, 200, 238, 0.18);
    transform: translate(-50%, -50%) scale(1);
}

.welcome-screen[data-lims-state="lims-reveal"] .trace-path,
.welcome-screen[data-lims-state="lims-role"] .trace-path,
.welcome-screen[data-lims-state="complete"] .trace-path {
    opacity: 0.92;
    background: linear-gradient(90deg, transparent, rgba(183, 231, 250, 0.82), transparent);
}

.lims-workflow {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.lims-workflow__stage {
    position: absolute;
    display: inline-flex;
    align-items: center;
    min-height: 25px;
    padding: 5px 9px;
    border: 1px solid rgba(151, 210, 238, 0.26);
    border-radius: 999px;
    color: rgba(229, 246, 253, 0.86);
    background: rgba(7, 20, 31, 0.58);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
    font-size: clamp(0.56rem, 0.76vw, 0.7rem);
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.96);
    transition:
        opacity var(--duration-medium) var(--ease-cinematic),
        transform var(--duration-medium) var(--ease-cinematic),
        border-color var(--duration-medium) var(--ease-cinematic),
        box-shadow var(--duration-medium) var(--ease-cinematic),
        background-color var(--duration-medium) var(--ease-cinematic);
    white-space: nowrap;
}

.lims-workflow__stage--sample-registration {
    left: 21%;
    top: 70%;
}

.lims-workflow__stage--test-assignment {
    left: 36%;
    top: 57%;
}

.lims-workflow__stage--analyst-allocation {
    left: 36%;
    top: 35%;
}

.lims-workflow__stage--instrument-execution {
    left: 71%;
    top: 30%;
}

.lims-workflow__stage--result-entry {
    left: 82%;
    top: 46%;
}

.lims-workflow__stage--review-approval {
    left: 39%;
    top: 80%;
}

.lims-workflow__connector {
    position: absolute;
    height: 1px;
    opacity: 0;
    background: linear-gradient(90deg, transparent, rgba(174, 226, 248, 0.62), transparent);
    transform-origin: left center;
    transition:
        opacity var(--duration-medium) var(--ease-cinematic),
        transform var(--duration-medium) var(--ease-cinematic);
}

.lims-workflow__connector--one {
    left: 25%;
    top: 67%;
    width: 15%;
    transform: rotate(-38deg) scaleX(0.75);
}

.lims-workflow__connector--two {
    left: 38%;
    top: 53%;
    width: 17%;
    transform: rotate(-76deg) scaleX(0.75);
}

.lims-workflow__connector--three {
    left: 40%;
    top: 35%;
    width: 31%;
    transform: rotate(-7deg) scaleX(0.75);
}

.lims-workflow__connector--four {
    left: 70%;
    top: 34%;
    width: 25%;
    transform: rotate(83deg) scaleX(0.75);
}

.lims-workflow__connector--five {
    left: 59%;
    top: 73%;
    width: 17%;
    transform: rotate(-44deg) scaleX(0.75);
}

.welcome-screen.is-lims-workflow .lims-node {
    opacity: 1;
    border-color: rgba(191, 234, 252, 0.82);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.14),
        0 0 30px rgba(111, 200, 238, 0.2);
    transform: translate(-50%, -50%) scale(1);
}

.welcome-screen.is-lims-workflow .mentor-dialogue {
    left: 55%;
    top: 63%;
    width: min(430px, 40%);
}

.welcome-screen.is-lims-workflow .trace-path,
.welcome-screen.is-lims-workflow .trace-entity {
    opacity: 0.52;
}

.welcome-screen[data-lims-workflow-state="sample-registration"] .lims-workflow__stage--sample-registration,
.welcome-screen[data-lims-workflow-state="test-assignment"] .lims-workflow__stage--test-assignment,
.welcome-screen[data-lims-workflow-state="analyst-allocation"] .lims-workflow__stage--analyst-allocation,
.welcome-screen[data-lims-workflow-state="instrument-execution"] .lims-workflow__stage--instrument-execution,
.welcome-screen[data-lims-workflow-state="result-entry"] .lims-workflow__stage--result-entry,
.welcome-screen[data-lims-workflow-state="review-approval"] .lims-workflow__stage--review-approval {
    opacity: 1;
    border-color: rgba(191, 234, 252, 0.78);
    background: rgba(10, 37, 56, 0.78);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.12),
        0 0 22px rgba(111, 200, 238, 0.18);
    transform: translate(-50%, -50%) scale(1);
}

.welcome-screen[data-lims-workflow-state="test-assignment"] .lims-workflow__stage--sample-registration,
.welcome-screen[data-lims-workflow-state="analyst-allocation"] .lims-workflow__stage--sample-registration,
.welcome-screen[data-lims-workflow-state="analyst-allocation"] .lims-workflow__stage--test-assignment,
.welcome-screen[data-lims-workflow-state="instrument-execution"] .lims-workflow__stage--sample-registration,
.welcome-screen[data-lims-workflow-state="instrument-execution"] .lims-workflow__stage--test-assignment,
.welcome-screen[data-lims-workflow-state="instrument-execution"] .lims-workflow__stage--analyst-allocation,
.welcome-screen[data-lims-workflow-state="result-entry"] .lims-workflow__stage--sample-registration,
.welcome-screen[data-lims-workflow-state="result-entry"] .lims-workflow__stage--test-assignment,
.welcome-screen[data-lims-workflow-state="result-entry"] .lims-workflow__stage--analyst-allocation,
.welcome-screen[data-lims-workflow-state="result-entry"] .lims-workflow__stage--instrument-execution,
.welcome-screen[data-lims-workflow-state="review-approval"] .lims-workflow__stage--sample-registration,
.welcome-screen[data-lims-workflow-state="review-approval"] .lims-workflow__stage--test-assignment,
.welcome-screen[data-lims-workflow-state="review-approval"] .lims-workflow__stage--analyst-allocation,
.welcome-screen[data-lims-workflow-state="review-approval"] .lims-workflow__stage--instrument-execution,
.welcome-screen[data-lims-workflow-state="review-approval"] .lims-workflow__stage--result-entry,
.welcome-screen[data-lims-workflow-state="workflow-summary"] .lims-workflow__stage,
.welcome-screen[data-lims-workflow-state="complete"] .lims-workflow__stage {
    opacity: 0.66;
    transform: translate(-50%, -50%) scale(1);
}

.welcome-screen[data-lims-workflow-state="workflow-summary"] .lims-workflow__stage,
.welcome-screen[data-lims-workflow-state="complete"] .lims-workflow__stage {
    opacity: 0.92;
    border-color: rgba(159, 218, 246, 0.48);
}

.welcome-screen[data-lims-workflow-state="workflow-summary"] .lims-workflow__connector,
.welcome-screen[data-lims-workflow-state="complete"] .lims-workflow__connector {
    opacity: 1;
    transform: rotate(var(--workflow-angle, 0deg)) scaleX(1);
}

.lims-workflow__connector--one {
    --workflow-angle: -38deg;
}

.lims-workflow__connector--two {
    --workflow-angle: -76deg;
}

.lims-workflow__connector--three {
    --workflow-angle: -7deg;
}

.lims-workflow__connector--four {
    --workflow-angle: 83deg;
}

.lims-workflow__connector--five {
    --workflow-angle: -44deg;
}

.welcome-screen[data-lims-workflow-state="sample-registration"] .map-zone--sample-receipt::before,
.welcome-screen[data-lims-workflow-state="analyst-allocation"] .map-zone--wet-chemistry::before,
.welcome-screen[data-lims-workflow-state="instrument-execution"] .map-zone--instrument-lab::before,
.welcome-screen[data-lims-workflow-state="instrument-execution"] .map-zone--hplc-system::before,
.welcome-screen[data-lims-workflow-state="result-entry"] .map-zone--learner-workstation::before {
    border-color: rgba(181, 231, 252, 0.76);
    background: rgba(91, 177, 219, 0.1);
    box-shadow:
        inset 0 0 34px rgba(103, 194, 232, 0.12),
        0 0 26px rgba(103, 194, 232, 0.16);
}

.welcome-screen[data-lims-workflow-state="sample-registration"] .trace-path--lims-receipt,
.welcome-screen[data-lims-workflow-state="sample-registration"] .trace-entity--sample,
.welcome-screen[data-lims-workflow-state="test-assignment"] .trace-path--sample-lims,
.welcome-screen[data-lims-workflow-state="test-assignment"] .trace-path--test-lims,
.welcome-screen[data-lims-workflow-state="test-assignment"] .trace-entity--sample,
.welcome-screen[data-lims-workflow-state="test-assignment"] .trace-entity--test,
.welcome-screen[data-lims-workflow-state="analyst-allocation"] .trace-path--analyst-lims,
.welcome-screen[data-lims-workflow-state="analyst-allocation"] .trace-path--test-lims,
.welcome-screen[data-lims-workflow-state="analyst-allocation"] .trace-entity--analyst,
.welcome-screen[data-lims-workflow-state="analyst-allocation"] .trace-entity--test,
.welcome-screen[data-lims-workflow-state="instrument-execution"] .trace-path--instrument-lims,
.welcome-screen[data-lims-workflow-state="instrument-execution"] .trace-path--analyst-lims,
.welcome-screen[data-lims-workflow-state="instrument-execution"] .trace-path--test-lims,
.welcome-screen[data-lims-workflow-state="instrument-execution"] .trace-entity--instrument,
.welcome-screen[data-lims-workflow-state="instrument-execution"] .trace-entity--analyst,
.welcome-screen[data-lims-workflow-state="instrument-execution"] .trace-entity--test,
.welcome-screen[data-lims-workflow-state="result-entry"] .trace-path--result-lims,
.welcome-screen[data-lims-workflow-state="result-entry"] .trace-path--sample-lims,
.welcome-screen[data-lims-workflow-state="result-entry"] .trace-path--test-lims,
.welcome-screen[data-lims-workflow-state="result-entry"] .trace-entity--result,
.welcome-screen[data-lims-workflow-state="result-entry"] .trace-entity--sample,
.welcome-screen[data-lims-workflow-state="result-entry"] .trace-entity--test,
.welcome-screen[data-lims-workflow-state="review-approval"] .trace-path--result-lims,
.welcome-screen[data-lims-workflow-state="review-approval"] .trace-path--status-lims,
.welcome-screen[data-lims-workflow-state="review-approval"] .trace-entity--result,
.welcome-screen[data-lims-workflow-state="review-approval"] .trace-entity--status {
    opacity: 1;
    border-color: rgba(191, 234, 252, 0.72);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.12),
        0 0 22px rgba(111, 200, 238, 0.16);
}

.welcome-screen.is-lims-workflow .lab-scene__information-network::before {
    position: absolute;
    inset: clamp(68px, 10vh, 96px) clamp(18px, 4vw, 56px) clamp(56px, 10vh, 86px);
    content: "";
    background: rgba(5, 18, 28, 0.18);
    border: 1px solid rgba(122, 183, 220, 0.12);
    backdrop-filter: blur(1px);
    pointer-events: none;
}

.welcome-screen.is-lims-workflow .lab-scene__information-network {
    opacity: 1;
    pointer-events: auto;
}

.welcome-screen.is-lims-workflow .trace-path,
.welcome-screen.is-lims-workflow .trace-entity,
.welcome-screen.is-lims-workflow .lims-node,
.welcome-screen.is-lims-workflow .lims-workflow__connector,
.welcome-screen.is-lims-workflow .lims-workflow__current {
    pointer-events: none;
}

.welcome-screen.is-lims-workflow .trace-path {
    height: 3px;
    min-width: 90px;
    opacity: 0.52;
    background: linear-gradient(90deg, rgba(7, 18, 28, 0), var(--trace-color, rgba(156, 218, 246, 0.78)) 12% 88%, rgba(7, 18, 28, 0));
    box-shadow:
        0 0 0 1px rgba(2, 8, 13, 0.58),
        0 0 16px color-mix(in srgb, var(--trace-color, #9cdaf6) 36%, transparent);
}

.welcome-screen.is-lims-workflow .trace-path::after,
.welcome-screen.is-lims-workflow .lims-workflow__connector::after {
    position: absolute;
    right: -1px;
    top: 50%;
    width: 0;
    height: 0;
    content: "";
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 8px solid var(--trace-color, rgba(156, 218, 246, 0.86));
    filter: drop-shadow(0 0 4px rgba(2, 8, 13, 0.7));
    transform: translateY(-50%);
}

.trace-path--sample-lims,
.trace-path--lims-receipt {
    --trace-color: #f0b84d;
}

.trace-path--test-lims {
    --trace-color: #65a7ff;
}

.trace-path--analyst-lims,
.trace-path--lims-wet {
    --trace-color: #57d2c4;
}

.trace-path--instrument-lims,
.trace-path--lims-instrument {
    --trace-color: #a996ff;
}

.trace-path--result-lims {
    --trace-color: #71d98d;
}

.trace-path--status-lims {
    --trace-color: #62d6ef;
}

.welcome-screen.is-lims-workflow .trace-entity {
    min-height: 34px;
    padding: 7px 12px 7px 14px;
    border-width: 2px;
    border-color: color-mix(in srgb, var(--node-color, #9cdaf6) 68%, rgba(255, 255, 255, 0.18));
    color: rgba(247, 252, 255, 0.96);
    background:
        linear-gradient(90deg, var(--node-color, #9cdaf6) 0 4px, transparent 4px),
        rgba(7, 18, 28, 0.84);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 8px 26px rgba(0, 0, 0, 0.28);
    font-size: clamp(0.72rem, 0.9vw, 0.84rem);
    opacity: 0.74;
}

.trace-entity--sample {
    --node-color: #f0b84d;
}

.trace-entity--test {
    --node-color: #65a7ff;
}

.trace-entity--analyst {
    --node-color: #57d2c4;
}

.trace-entity--instrument {
    --node-color: #a996ff;
}

.trace-entity--result {
    --node-color: #71d98d;
}

.trace-entity--status {
    --node-color: #62d6ef;
}

.welcome-screen.is-lims-workflow .lims-node {
    left: 50%;
    top: 43%;
    flex-direction: column;
    min-width: 142px;
    min-height: 76px;
    gap: 5px;
    border-width: 2px;
    border-color: rgba(99, 219, 242, 0.9);
    color: rgba(244, 253, 255, 0.98);
    background:
        radial-gradient(circle at 50% 0%, rgba(93, 219, 242, 0.24), transparent 66%),
        rgba(7, 27, 42, 0.92);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.16),
        0 0 34px rgba(77, 203, 234, 0.28),
        0 16px 40px rgba(0, 0, 0, 0.34);
}

.lims-node strong {
    font-size: 1.05rem;
    letter-spacing: 0.14em;
}

.lims-node em {
    max-width: 110px;
    color: rgba(187, 231, 246, 0.88);
    font-size: 0.62rem;
    font-style: normal;
    letter-spacing: 0.04em;
    line-height: 1.15;
    text-align: center;
    text-transform: none;
}

.lims-workflow__current {
    position: absolute;
    left: 48%;
    top: 17%;
    z-index: 2;
    width: min(330px, 30vw);
    padding: 12px 14px;
    border: 1px solid rgba(128, 209, 239, 0.42);
    border-radius: 8px;
    color: rgba(238, 249, 255, 0.94);
    background: rgba(6, 19, 31, 0.84);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 16px 42px rgba(0, 0, 0, 0.32);
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -8px);
    transition:
        opacity var(--duration-medium) var(--ease-cinematic),
        transform var(--duration-medium) var(--ease-cinematic);
}

.welcome-screen.is-lims-workflow .lims-workflow__current {
    opacity: 1;
    transform: translate(-50%, 0);
}

.lims-workflow__current span {
    display: block;
    margin-bottom: 5px;
    color: rgba(151, 213, 239, 0.78);
    font-size: 0.64rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.lims-workflow__current strong {
    display: block;
    margin-bottom: 6px;
    font-size: 0.94rem;
}

.lims-workflow__current p {
    margin: 0;
    color: rgba(216, 233, 243, 0.84);
    font-size: 0.76rem;
    line-height: 1.35;
}

.welcome-screen.is-lims-workflow .lims-workflow {
    pointer-events: none;
}

.welcome-screen.is-lims-workflow .lims-workflow__stage {
    --step-color: #83d5f5;
    justify-content: flex-start;
    gap: 8px;
    min-width: 168px;
    min-height: 38px;
    padding: 7px 12px;
    border-width: 2px;
    border-color: color-mix(in srgb, var(--step-color) 58%, rgba(255, 255, 255, 0.16));
    border-radius: 8px;
    color: rgba(247, 252, 255, 0.94);
    background:
        linear-gradient(90deg, color-mix(in srgb, var(--step-color) 26%, transparent) 0 4px, transparent 4px),
        rgba(7, 18, 28, 0.86);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.09),
        0 10px 26px rgba(0, 0, 0, 0.28);
    font: inherit;
    font-size: clamp(0.76rem, 0.92vw, 0.88rem);
    line-height: 1.15;
    opacity: 0.88;
    pointer-events: auto;
    text-align: left;
    white-space: normal;
    cursor: pointer;
}

.lims-workflow__stage span {
    display: inline-grid;
    flex: 0 0 auto;
    place-items: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    color: rgba(4, 13, 20, 0.96);
    background: var(--step-color);
    font-size: 0.74rem;
    font-weight: 900;
}

.lims-workflow__stage--sample-registration {
    --step-color: #f0b84d;
}

.lims-workflow__stage--test-assignment {
    --step-color: #65a7ff;
}

.lims-workflow__stage--analyst-allocation {
    --step-color: #57d2c4;
}

.lims-workflow__stage--instrument-execution {
    --step-color: #a996ff;
}

.lims-workflow__stage--result-entry {
    --step-color: #71d98d;
}

.lims-workflow__stage--review-approval {
    --step-color: #62d6ef;
}

.lims-workflow__stage.is-active,
.welcome-screen[data-lims-workflow-state="sample-registration"] .lims-workflow__stage--sample-registration,
.welcome-screen[data-lims-workflow-state="test-assignment"] .lims-workflow__stage--test-assignment,
.welcome-screen[data-lims-workflow-state="analyst-allocation"] .lims-workflow__stage--analyst-allocation,
.welcome-screen[data-lims-workflow-state="instrument-execution"] .lims-workflow__stage--instrument-execution,
.welcome-screen[data-lims-workflow-state="result-entry"] .lims-workflow__stage--result-entry,
.welcome-screen[data-lims-workflow-state="review-approval"] .lims-workflow__stage--review-approval {
    opacity: 1;
    border-color: var(--step-color);
    background:
        linear-gradient(90deg, color-mix(in srgb, var(--step-color) 38%, transparent) 0 5px, transparent 5px),
        rgba(8, 31, 47, 0.94);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.14),
        0 0 0 3px color-mix(in srgb, var(--step-color) 18%, transparent),
        0 14px 36px rgba(0, 0, 0, 0.34);
    transform: translate(-50%, -50%) scale(1.03);
}

.lims-workflow__stage.is-complete::after {
    margin-left: auto;
    color: rgba(205, 245, 226, 0.9);
    content: "✓";
    font-weight: 900;
}

.lims-workflow__stage:focus-visible {
    outline: 2px solid rgba(236, 250, 255, 0.95);
    outline-offset: 3px;
}

.welcome-screen.is-lims-workflow .lims-workflow__connector {
    height: 3px;
    opacity: 0.54;
    background: linear-gradient(90deg, rgba(7, 18, 28, 0), var(--workflow-color, rgba(174, 226, 248, 0.82)) 12% 88%, rgba(7, 18, 28, 0));
    box-shadow:
        0 0 0 1px rgba(2, 8, 13, 0.58),
        0 0 14px color-mix(in srgb, var(--workflow-color, #9cdaf6) 34%, transparent);
}

.lims-workflow__connector--one {
    --workflow-color: #f0b84d;
}

.lims-workflow__connector--two {
    --workflow-color: #65a7ff;
}

.lims-workflow__connector--three {
    --workflow-color: #57d2c4;
}

.lims-workflow__connector--four {
    --workflow-color: #a996ff;
}

.lims-workflow__connector--five {
    --workflow-color: #71d98d;
}

.welcome-screen[data-lims-workflow-state="test-assignment"] .lims-workflow__connector--one,
.welcome-screen[data-lims-workflow-state="analyst-allocation"] .lims-workflow__connector--one,
.welcome-screen[data-lims-workflow-state="analyst-allocation"] .lims-workflow__connector--two,
.welcome-screen[data-lims-workflow-state="instrument-execution"] .lims-workflow__connector--one,
.welcome-screen[data-lims-workflow-state="instrument-execution"] .lims-workflow__connector--two,
.welcome-screen[data-lims-workflow-state="instrument-execution"] .lims-workflow__connector--three,
.welcome-screen[data-lims-workflow-state="result-entry"] .lims-workflow__connector--one,
.welcome-screen[data-lims-workflow-state="result-entry"] .lims-workflow__connector--two,
.welcome-screen[data-lims-workflow-state="result-entry"] .lims-workflow__connector--three,
.welcome-screen[data-lims-workflow-state="result-entry"] .lims-workflow__connector--four,
.welcome-screen[data-lims-workflow-state="review-approval"] .lims-workflow__connector--one,
.welcome-screen[data-lims-workflow-state="review-approval"] .lims-workflow__connector--two,
.welcome-screen[data-lims-workflow-state="review-approval"] .lims-workflow__connector--three,
.welcome-screen[data-lims-workflow-state="review-approval"] .lims-workflow__connector--four,
.welcome-screen[data-lims-workflow-state="review-approval"] .lims-workflow__connector--five,
.welcome-screen[data-lims-workflow-state="workflow-summary"] .lims-workflow__connector,
.welcome-screen[data-lims-workflow-state="complete"] .lims-workflow__connector {
    opacity: 0.82;
    transform: rotate(var(--workflow-angle, 0deg)) scaleX(1);
}

.welcome-screen[data-lims-workflow-state="sample-registration"] .trace-path--lims-receipt,
.welcome-screen[data-lims-workflow-state="test-assignment"] .trace-path--sample-lims,
.welcome-screen[data-lims-workflow-state="test-assignment"] .trace-path--test-lims,
.welcome-screen[data-lims-workflow-state="analyst-allocation"] .trace-path--analyst-lims,
.welcome-screen[data-lims-workflow-state="analyst-allocation"] .trace-path--test-lims,
.welcome-screen[data-lims-workflow-state="instrument-execution"] .trace-path--instrument-lims,
.welcome-screen[data-lims-workflow-state="instrument-execution"] .trace-path--analyst-lims,
.welcome-screen[data-lims-workflow-state="result-entry"] .trace-path--result-lims,
.welcome-screen[data-lims-workflow-state="result-entry"] .trace-path--sample-lims,
.welcome-screen[data-lims-workflow-state="review-approval"] .trace-path--result-lims,
.welcome-screen[data-lims-workflow-state="review-approval"] .trace-path--status-lims {
    opacity: 1;
    filter: saturate(1.25);
}

.welcome-screen.is-lims-workflow .mentor-dialogue {
    border-color: rgba(159, 219, 247, 0.54);
    color: rgba(250, 254, 255, 0.98);
    background:
        linear-gradient(180deg, rgba(14, 33, 48, 0.92), rgba(7, 18, 28, 0.94));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.13),
        0 22px 54px rgba(0, 0, 0, 0.36);
    backdrop-filter: blur(16px);
}

.welcome-screen.is-lims-workflow .mentor-dialogue__role {
    color: rgba(169, 224, 247, 0.92);
}

.welcome-screen.is-lims-workflow .mentor-dialogue__text {
    color: rgba(250, 254, 255, 0.98);
}

.welcome-screen.is-lims-workflow .lims-workflow__current {
    border-color: rgba(151, 219, 247, 0.5);
    background: rgba(7, 22, 35, 0.9);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.13),
        0 18px 46px rgba(0, 0, 0, 0.34);
    backdrop-filter: blur(14px);
}

.welcome-screen.is-lims-workflow .lims-workflow__current span {
    color: rgba(166, 224, 247, 0.94);
}

.welcome-screen.is-lims-workflow .lims-workflow__current strong,
.welcome-screen.is-lims-workflow .lims-workflow__current p {
    color: rgba(248, 253, 255, 0.96);
}

.lims-workflow__stage[hidden] {
    display: none !important;
}

.welcome-screen.is-lims-workflow .trace-path,
.welcome-screen.is-lims-workflow .lims-workflow__connector,
.welcome-screen.is-lims-workflow .trace-entity {
    opacity: 0;
    pointer-events: none;
}

.welcome-screen.is-lims-workflow .lims-node {
    opacity: 1;
}

.welcome-screen.is-lims-workflow .lims-workflow__connector {
    display: none;
}

.welcome-screen.is-lims-workflow .lims-workflow__stage {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, -50%) scale(1.03);
}

.welcome-screen[data-lims-workflow-state="sample-registration"] .trace-path--lims-receipt,
.welcome-screen[data-lims-workflow-state="test-assignment"] .trace-path--test-lims,
.welcome-screen[data-lims-workflow-state="analyst-allocation"] .trace-path--analyst-lims,
.welcome-screen[data-lims-workflow-state="instrument-execution"] .trace-path--instrument-lims,
.welcome-screen[data-lims-workflow-state="result-entry"] .trace-path--result-lims,
.welcome-screen[data-lims-workflow-state="review-approval"] .trace-path--status-lims {
    opacity: 1;
    transform: rotate(var(--trace-angle, 0deg)) scaleX(1);
}

.welcome-screen[data-lims-workflow-state="sample-registration"] .trace-entity--sample,
.welcome-screen[data-lims-workflow-state="test-assignment"] .trace-entity--test,
.welcome-screen[data-lims-workflow-state="analyst-allocation"] .trace-entity--analyst,
.welcome-screen[data-lims-workflow-state="instrument-execution"] .trace-entity--instrument,
.welcome-screen[data-lims-workflow-state="result-entry"] .trace-entity--result,
.welcome-screen[data-lims-workflow-state="review-approval"] .trace-entity--status {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.lims-workflow__progress {
    position: absolute;
    left: 43%;
    bottom: clamp(74px, 10vh, 88px);
    z-index: 3;
    display: inline-flex;
    gap: 8px;
    padding: 8px 10px;
    border: 1px solid rgba(140, 203, 235, 0.25);
    border-radius: 999px;
    background: rgba(5, 16, 27, 0.76);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.24);
    opacity: 0;
    pointer-events: none;
    transform: translateX(-50%);
    transition: opacity var(--duration-medium) var(--ease-cinematic);
}

.welcome-screen.is-lims-workflow .lims-workflow__progress {
    opacity: 1;
}

.lims-workflow__progress span {
    display: inline-grid;
    place-items: center;
    width: 22px;
    height: 22px;
    border: 1px solid rgba(153, 205, 232, 0.28);
    border-radius: 50%;
    color: rgba(211, 231, 242, 0.72);
    background: rgba(10, 26, 40, 0.78);
    font-size: 0.68rem;
    font-weight: 900;
}

.lims-workflow__progress span.is-current {
    color: rgba(4, 13, 20, 0.96);
    background: rgba(119, 211, 240, 0.96);
    border-color: rgba(200, 243, 255, 0.86);
}

.lims-workflow__progress span.is-complete {
    color: rgba(216, 248, 231, 0.96);
    border-color: rgba(126, 220, 166, 0.5);
    background: rgba(20, 74, 52, 0.82);
}

.lims-workflow__progress span.is-complete::before {
    content: "✓";
}

.lims-workflow__progress span.is-complete {
    font-size: 0;
}

.lims-workstation {
    position: absolute;
    z-index: 5;
    left: 44%;
    top: 55%;
    width: 47%;
    aspect-ratio: 16 / 7.6;
    opacity: 0;
    pointer-events: none;
    transform: translate3d(0, 12px, 0) scale(0.96);
    transform-origin: 50% 100%;
    transition:
        opacity var(--duration-medium) var(--ease-cinematic),
        transform var(--duration-medium) var(--ease-cinematic);
}

.lims-workstation[hidden] {
    display: none !important;
}

.lims-workstation__monitor {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    overflow: hidden;
    border: 1px solid rgba(145, 207, 237, 0.44);
    border-radius: 7px;
    background:
        linear-gradient(180deg, rgba(17, 48, 68, 0.96), rgba(5, 16, 27, 0.96)),
        radial-gradient(ellipse at 20% 0%, rgba(155, 221, 249, 0.18), transparent 42%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.12),
        0 18px 38px rgba(0, 0, 0, 0.32);
}

.lims-workstation__monitor > .lims-view {
    min-height: 0;
}

.lims-workstation__monitor::after {
    position: absolute;
    inset: 0;
    z-index: 0;
    content: "";
    background:
        linear-gradient(110deg, rgba(255, 255, 255, 0.1), transparent 18% 60%, rgba(116, 198, 232, 0.06)),
        linear-gradient(180deg, transparent 0 49%, rgba(255, 255, 255, 0.035) 49.5% 50%, transparent 50.5%);
    opacity: 0.42;
    pointer-events: none;
}

.lims-workstation__header {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 12px;
    padding: 12px 14px 8px;
    border-bottom: 1px solid rgba(142, 204, 232, 0.2);
}

.lims-workstation__header p,
.lims-workstation__header span {
    margin: 0;
}

.lims-workstation__header p {
    color: rgba(238, 249, 253, 0.96);
    font-size: clamp(0.72rem, 1vw, 0.92rem);
    font-weight: 800;
    letter-spacing: 0.02em;
}

.lims-workstation__header span {
    color: rgba(162, 211, 234, 0.76);
    font-size: clamp(0.58rem, 0.78vw, 0.7rem);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
}

.lims-sample-queue {
    position: relative;
    z-index: 1;
    min-height: 0;
    padding: 9px 10px 12px;
    overflow: auto;
    opacity: 0;
    transform: translateY(6px);
    transition:
        opacity var(--duration-medium) var(--ease-cinematic),
        transform var(--duration-medium) var(--ease-cinematic);
}

.lims-sample-queue table {
    width: 100%;
    border-collapse: collapse;
    color: rgba(231, 245, 251, 0.9);
    font-size: clamp(0.52rem, 0.72vw, 0.66rem);
    line-height: 1.2;
    table-layout: fixed;
}

.lims-sample-queue caption {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
}

.lims-sample-queue th,
.lims-sample-queue td {
    overflow: hidden;
    padding: 7px 6px;
    border-bottom: 1px solid rgba(135, 198, 229, 0.14);
    text-align: left;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.lims-sample-queue thead th {
    color: rgba(164, 214, 238, 0.74);
    font-size: 0.58em;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.lims-sample-queue tbody th {
    color: rgba(241, 251, 254, 0.96);
    font-weight: 800;
}

.lims-sample-queue__row {
    background: rgba(255, 255, 255, 0.015);
}

.lims-sample-queue__row--selected {
    outline: 1px solid rgba(165, 224, 250, 0.56);
    outline-offset: -1px;
    background: rgba(79, 166, 210, 0.16);
    box-shadow: inset 3px 0 0 rgba(142, 220, 253, 0.72);
}

.lims-status {
    display: inline-flex;
    align-items: center;
    min-height: 17px;
    padding: 2px 7px;
    border-radius: 999px;
    font-size: 0.9em;
    font-weight: 800;
    line-height: 1;
}

.lims-status--new {
    border: 1px solid rgba(161, 222, 250, 0.5);
    color: rgba(232, 249, 255, 0.96);
    background: rgba(60, 145, 190, 0.28);
}

.lims-status--assigned {
    border: 1px solid rgba(165, 224, 250, 0.5);
    color: rgba(232, 249, 255, 0.96);
    background: rgba(60, 132, 178, 0.32);
}

.lims-status--planned {
    border: 1px solid rgba(174, 226, 250, 0.48);
    color: rgba(232, 249, 255, 0.96);
    background: rgba(76, 124, 157, 0.34);
}

.lims-view[hidden] {
    display: none !important;
}

.lims-analyst-worklist {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
    box-sizing: border-box;
    padding: 10px 12px 11px;
    overflow: auto;
    color: rgba(233, 247, 253, 0.92);
    opacity: 0;
    pointer-events: none;
    transform: translateY(8px);
    transition:
        opacity var(--duration-medium) var(--ease-cinematic),
        transform var(--duration-medium) var(--ease-cinematic);
}

.lims-analyst-worklist__header {
    display: grid;
    grid-template-columns: minmax(130px, 1fr) auto;
    align-items: center;
    gap: 12px;
    flex: 0 0 auto;
    padding-bottom: 6px;
    border-bottom: 1px solid rgba(142, 204, 232, 0.18);
}

.lims-analyst-worklist__header h2,
.lims-analyst-worklist__header p,
.lims-analyst-worklist__header dl,
.lims-analyst-worklist__header dt,
.lims-analyst-worklist__header dd {
    margin: 0;
}

.lims-analyst-worklist__header h2 {
    color: rgba(242, 251, 254, 0.98);
    font-size: clamp(1.08rem, 1.48vw, 1.34rem);
    letter-spacing: 0.02em;
}

.lims-analyst-worklist__header dl {
    display: grid;
    grid-template-columns: repeat(2, auto);
    gap: 8px 12px;
}

.lims-analyst-worklist__header dt {
    color: rgba(162, 211, 234, 0.68);
    font-size: clamp(0.5rem, 0.66vw, 0.6rem);
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.lims-analyst-worklist__header dd {
    color: rgba(239, 250, 254, 0.94);
    font-size: clamp(0.6rem, 0.78vw, 0.72rem);
    font-weight: 800;
}

.lims-worklist-summary {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
    padding: 6px 0;
}

.lims-worklist-summary h3,
.lims-worklist-table h3,
.lims-analysis-plan h3,
.lims-doc-preview h4 {
    margin: 0;
    color: rgba(178, 224, 244, 0.82);
    font-size: clamp(0.6rem, 0.8vw, 0.74rem);
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.lims-worklist-summary dl {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 5px;
    margin: 0;
}

.lims-worklist-summary div {
    display: grid;
    grid-template-columns: auto auto;
    justify-content: start;
    gap: 5px;
    padding: 4px 6px;
    border: 1px solid rgba(135, 198, 229, 0.14);
    border-radius: 5px;
    background: rgba(5, 18, 29, 0.3);
}

.lims-worklist-summary dt,
.lims-worklist-summary dd {
    margin: 0;
    font-size: clamp(0.52rem, 0.69vw, 0.64rem);
    line-height: 1.2;
}

.lims-worklist-summary dt {
    color: rgba(157, 205, 229, 0.72);
    font-weight: 800;
}

.lims-worklist-summary dd {
    color: rgba(239, 250, 254, 0.94);
    font-weight: 900;
}

.lims-worklist-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
    gap: 8px;
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
}

.lims-worklist-stage[hidden],
.lims-document-modal[hidden] {
    display: none !important;
}

.lims-worklist-stage {
    flex: 1 1 auto;
    min-height: 0;
    overflow: auto;
}

.lims-worklist-stage--worklist {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    gap: 12px;
}

.lims-worklist-stage--assignment,
.lims-worklist-stage--planning,
.lims-worklist-stage--complete {
    display: grid;
}

.lims-worklist-table,
.lims-work-item-detail,
.lims-analysis-plan {
    min-width: 0;
    min-height: 0;
    overflow: auto;
    box-sizing: border-box;
    border: 1px solid rgba(135, 198, 229, 0.16);
    border-radius: 6px;
    background: rgba(5, 18, 29, 0.36);
}

.lims-worklist-table {
    padding: 8px;
}

.lims-worklist-table table {
    width: 100%;
    margin-top: 6px;
    border-collapse: collapse;
    table-layout: fixed;
    color: rgba(231, 245, 251, 0.9);
    font-size: clamp(0.52rem, 0.69vw, 0.64rem);
    line-height: 1.22;
}

.lims-worklist-table caption {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
}

.lims-worklist-table th,
.lims-worklist-table td {
    overflow: hidden;
    padding: 6px 5px;
    border-bottom: 1px solid rgba(135, 198, 229, 0.12);
    text-align: left;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.lims-worklist-table thead th {
    color: rgba(164, 214, 238, 0.72);
    font-size: 0.82em;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.lims-worklist-row--new {
    outline: 1px solid rgba(165, 224, 250, 0.54);
    outline-offset: -1px;
    background: rgba(79, 166, 210, 0.14);
    box-shadow: inset 3px 0 0 rgba(142, 220, 253, 0.68);
}

.lims-worklist-open,
.lims-doc-button,
.lims-begin-planning,
.lims-back-assignment,
.lims-plan-confirm,
.lims-plan-continue,
.lims-document-modal__close {
    min-height: 28px;
    padding: 5px 10px;
    border: 1px solid rgba(148, 205, 232, 0.3);
    border-radius: 5px;
    color: rgba(224, 244, 252, 0.9);
    background: rgba(9, 26, 39, 0.62);
    font: inherit;
    font-size: clamp(0.54rem, 0.7vw, 0.65rem);
    font-weight: 800;
    cursor: pointer;
    white-space: normal;
    transition:
        border-color var(--duration-fast) ease,
        background-color var(--duration-fast) ease,
        color var(--duration-fast) ease;
}

.lims-doc-button {
    width: 100%;
}

.lims-worklist-open:hover,
.lims-doc-button:hover,
.lims-begin-planning:hover:not(:disabled),
.lims-back-assignment:hover,
.lims-plan-confirm:hover:not(:disabled),
.lims-plan-continue:hover,
.lims-document-modal__close:hover {
    border-color: rgba(170, 226, 250, 0.48);
    color: rgba(240, 251, 254, 0.96);
    background: rgba(19, 49, 68, 0.72);
}

.lims-worklist-open:focus-visible,
.lims-doc-button:focus-visible,
.lims-begin-planning:focus-visible,
.lims-back-assignment:focus-visible,
.lims-plan-confirm:focus-visible,
.lims-plan-continue:focus-visible,
.lims-document-modal__close:focus-visible,
.lims-plan-checks input:focus-visible {
    outline: 2px solid #9ad4f4;
    outline-offset: 2px;
}

.lims-begin-planning:disabled,
.lims-plan-confirm:disabled {
    opacity: 0.46;
    cursor: not-allowed;
}

.lims-work-item-detail {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    gap: 10px;
    padding: 8px;
}

.lims-work-item-detail[hidden],
.lims-analysis-plan[hidden] {
    display: none !important;
}

.lims-work-item-detail > header {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    align-items: start;
    flex: 0 0 auto;
}

.lims-work-item-detail h3,
.lims-work-item-detail p,
.lims-work-item-detail dl,
.lims-work-item-detail dt,
.lims-work-item-detail dd,
.lims-work-item-detail header div {
    margin: 0;
}

.lims-work-item-detail h3 {
    color: rgba(242, 251, 254, 0.98);
    font-size: clamp(1rem, 1.35vw, 1.2rem);
}

.lims-work-item-status-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
}

.lims-work-item-status-row div {
    display: grid;
    gap: 4px;
    min-width: 0;
    padding: 7px 8px;
    border: 1px solid rgba(135, 198, 229, 0.14);
    border-radius: 5px;
    background: rgba(5, 18, 29, 0.3);
    align-items: center;
}

.lims-work-item-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    min-height: 0;
    align-content: start;
}

.lims-work-item-grid dl,
.lims-doc-preview dl {
    display: grid;
    gap: 0;
    min-width: 0;
    margin: 0;
}

.lims-work-item-grid div,
.lims-document-modal dl div,
.lims-plan-complete dl div,
.lims-plan-summary div {
    display: grid;
    grid-template-columns: minmax(128px, 0.82fr) minmax(0, 1fr);
    gap: 10px;
    min-width: 0;
    padding: 7px 0;
    border-bottom: 1px solid rgba(135, 198, 229, 0.08);
}

.lims-work-item-detail dt,
.lims-document-modal dt,
.lims-plan-complete dt,
.lims-plan-summary dt {
    color: rgba(157, 205, 229, 0.72);
    font-size: clamp(0.72rem, 0.88vw, 0.82rem);
    font-weight: 800;
}

.lims-work-item-detail dd,
.lims-document-modal dd,
.lims-plan-complete dd,
.lims-plan-summary dd {
    min-width: 0;
    overflow-wrap: anywhere;
    color: rgba(239, 250, 254, 0.94);
    font-size: clamp(0.74rem, 0.92vw, 0.86rem);
    font-weight: 700;
    line-height: 1.35;
}

.lims-controlled-docs {
    display: grid;
    grid-template-columns: repeat(2, minmax(180px, 1fr));
    gap: 10px;
    align-items: center;
    flex: 0 0 auto;
    position: sticky;
    bottom: 0;
    z-index: 2;
    padding-top: 8px;
    background: linear-gradient(180deg, rgba(5, 18, 29, 0), rgba(5, 18, 29, 0.92) 30%);
}

.lims-controlled-docs .lims-begin-planning {
    grid-column: 1 / -1;
}

.lims-analysis-plan {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    gap: 10px;
    padding: 8px;
}

.lims-analysis-plan header {
    display: grid;
    gap: 10px;
}

.lims-plan-summary {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
    margin: 0;
}

.lims-plan-summary div {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3px;
    padding: 8px;
    border: 1px solid rgba(135, 198, 229, 0.14);
    border-radius: 5px;
    background: rgba(5, 18, 29, 0.3);
}

.lims-plan-body {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 18px;
    min-height: 0;
    overflow: auto;
}

.lims-plan-checks {
    display: grid;
    grid-template-columns: 1fr;
    align-content: start;
    gap: 9px;
}

.lims-plan-checks label {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 9px;
    align-items: center;
    color: rgba(231, 245, 251, 0.9);
    font-size: clamp(0.74rem, 0.92vw, 0.86rem);
    font-weight: 700;
    line-height: 1.35;
}

.lims-plan-context {
    display: grid;
    align-content: start;
    gap: 7px;
    color: rgba(191, 224, 238, 0.78);
    font-size: clamp(0.74rem, 0.92vw, 0.86rem);
    font-weight: 700;
    line-height: 1.35;
}

.lims-plan-context p,
.lims-plan-context ol {
    margin: 0;
}

.lims-plan-context ol {
    padding-left: 16px;
}

.lims-plan-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 8px;
}

.lims-plan-complete {
    display: grid;
    align-content: center;
    gap: 16px;
    margin: 0;
    padding: 22px;
    border: 1px solid rgba(165, 224, 250, 0.34);
    border-radius: 5px;
    color: rgba(232, 249, 255, 0.94);
    background: rgba(60, 132, 178, 0.16);
    font-size: clamp(0.78rem, 0.98vw, 0.92rem);
    font-weight: 800;
    line-height: 1.4;
}

.lims-plan-complete h3,
.lims-plan-complete p,
.lims-plan-complete dl {
    margin: 0;
}

.lims-plan-complete h3 {
    color: rgba(242, 251, 254, 0.98);
    font-size: clamp(1.08rem, 1.45vw, 1.32rem);
}

.lims-plan-complete dl {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 18px;
}

.lims-document-modal {
    position: absolute;
    inset: 0;
    z-index: 8;
    display: grid;
    place-items: center;
    padding: 24px;
}

.lims-document-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(1, 9, 15, 0.72);
}

.lims-document-modal__panel {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 14px;
    width: min(560px, 84%);
    padding: 22px 24px;
    border: 1px solid rgba(165, 224, 250, 0.46);
    border-radius: 7px;
    background:
        linear-gradient(180deg, rgba(20, 55, 76, 0.98), rgba(5, 18, 29, 0.98)),
        radial-gradient(ellipse at 20% 0%, rgba(155, 221, 249, 0.16), transparent 45%);
    box-shadow: 0 22px 48px rgba(0, 0, 0, 0.42);
}

.lims-document-modal h3,
.lims-document-modal p,
.lims-document-modal dl,
.lims-document-modal dt,
.lims-document-modal dd {
    margin: 0;
}

.lims-document-modal h3 {
    color: rgba(242, 251, 254, 0.98);
    font-size: clamp(1.05rem, 1.4vw, 1.3rem);
}

.lims-document-modal dl {
    display: grid;
    gap: 0;
}

.lims-document-modal p {
    color: rgba(211, 237, 247, 0.88);
    font-size: clamp(0.78rem, 0.98vw, 0.92rem);
    font-weight: 700;
    line-height: 1.42;
}

.workstation-transfer[hidden],
.workstation-transfer__card[hidden] {
    display: none !important;
}

.workstation-transfer {
    position: absolute;
    inset: 0;
    z-index: 5;
    pointer-events: none;
}

.workstation-transfer__scene {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.workstation-transfer__analyst {
    position: absolute;
    left: 48%;
    top: 54%;
    width: 34px;
    height: 96px;
    opacity: 0;
    transform: translate3d(0, 14px, 0);
    transition:
        left 1200ms var(--ease-cinematic),
        top 1200ms var(--ease-cinematic),
        opacity var(--duration-medium) var(--ease-cinematic),
        transform 1200ms var(--ease-cinematic);
}

.workstation-transfer__analyst::before,
.workstation-transfer__analyst span {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    content: "";
}

.workstation-transfer__analyst::before {
    top: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(214, 230, 237, 0.9);
    box-shadow: 0 0 12px rgba(172, 219, 238, 0.26);
}

.workstation-transfer__analyst span {
    top: 23px;
    width: 32px;
    height: 68px;
    border-radius: 8px 8px 4px 4px;
    background:
        linear-gradient(90deg, rgba(222, 235, 241, 0.86), rgba(166, 197, 213, 0.78)),
        linear-gradient(180deg, rgba(255, 255, 255, 0.16), transparent);
}

.workstation-transfer__sample {
    position: absolute;
    left: 53%;
    top: 65%;
    min-width: 72px;
    padding: 5px 7px;
    border: 1px solid rgba(169, 224, 248, 0.48);
    border-radius: 4px;
    color: rgba(240, 251, 254, 0.96);
    background: rgba(9, 26, 39, 0.84);
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    opacity: 0;
    transform: translate3d(0, 12px, 0);
    text-align: center;
    transition:
        left 1200ms var(--ease-cinematic),
        top 1200ms var(--ease-cinematic),
        opacity var(--duration-medium) var(--ease-cinematic),
        transform 1200ms var(--ease-cinematic);
}

.workstation-transfer__bench {
    position: absolute;
    left: 43%;
    bottom: 10%;
    width: clamp(360px, 32vw, 500px);
    height: clamp(170px, 21vh, 230px);
    opacity: 0;
    transform: translateY(10px);
    transition:
        opacity var(--duration-medium) var(--ease-cinematic),
        transform var(--duration-medium) var(--ease-cinematic);
}

.workstation-transfer__bench p {
    margin: 0 0 7px;
    color: rgba(215, 242, 252, 0.94);
    font-size: clamp(0.72rem, 0.94vw, 0.88rem);
    font-weight: 900;
    letter-spacing: 0.04em;
}

.workstation-transfer__surface {
    height: 30%;
    border: 1px solid rgba(168, 220, 242, 0.24);
    border-radius: 5px 5px 2px 2px;
    background:
        linear-gradient(180deg, rgba(138, 182, 204, 0.2), rgba(30, 62, 78, 0.3)),
        linear-gradient(90deg, rgba(255, 255, 255, 0.08), transparent 20% 80%, rgba(255, 255, 255, 0.05));
}

.workstation-transfer__storage {
    display: grid;
    place-items: center;
    height: 48%;
    margin-top: 5px;
    border: 1px solid rgba(169, 224, 248, 0.24);
    border-radius: 3px;
    background: rgba(5, 18, 29, 0.46);
}

.workstation-transfer__storage span {
    color: rgba(189, 224, 239, 0.86);
    font-size: clamp(0.56rem, 0.74vw, 0.68rem);
    font-weight: 800;
}

.workstation-transfer__card {
    position: absolute;
    right: clamp(24px, 4vw, 64px);
    top: 44%;
    width: min(390px, 34%);
    max-width: 420px;
    max-height: calc(100dvh - var(--presentation-top-safe) - var(--presentation-bottom-safe) - 44px);
    padding: 16px 18px;
    border: 1px solid rgba(145, 207, 237, 0.42);
    border-radius: 7px;
    color: rgba(233, 247, 253, 0.94);
    background:
        linear-gradient(180deg, rgba(16, 45, 64, 0.94), rgba(5, 17, 28, 0.94)),
        radial-gradient(ellipse at 20% 0%, rgba(155, 221, 249, 0.14), transparent 45%);
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.32);
    transform: translateY(-50%);
    overflow: auto;
    pointer-events: auto;
}

.workstation-transfer__card h2,
.workstation-transfer__card p,
.workstation-transfer__card dl,
.workstation-transfer__card dt,
.workstation-transfer__card dd {
    margin: 0;
}

.workstation-transfer__card h2 {
    margin-bottom: 12px;
    color: rgba(242, 251, 254, 0.98);
    font-size: clamp(1.02rem, 1.28vw, 1.18rem);
}

.workstation-transfer__card dl {
    display: grid;
    gap: 0;
    margin-bottom: 14px;
}

.workstation-transfer__card dl div {
    display: grid;
    grid-template-columns: minmax(128px, 0.9fr) minmax(0, 1fr);
    gap: 10px;
    padding: 6px 0;
    border-bottom: 1px solid rgba(135, 198, 229, 0.1);
}

.workstation-transfer__card dt {
    color: rgba(157, 205, 229, 0.74);
    font-size: 0.78rem;
    font-weight: 800;
}

.workstation-transfer__card dd,
.workstation-transfer__card p {
    color: rgba(239, 250, 254, 0.94);
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.38;
}

.workstation-transfer__button {
    width: 100%;
    min-height: 36px;
    margin-top: 2px;
    border: 1px solid rgba(148, 205, 232, 0.34);
    border-radius: 5px;
    color: rgba(230, 248, 255, 0.94);
    background: rgba(9, 26, 39, 0.7);
    font: inherit;
    font-size: 0.82rem;
    font-weight: 900;
    cursor: pointer;
}

.workstation-transfer__button:hover {
    border-color: rgba(170, 226, 250, 0.52);
    background: rgba(19, 49, 68, 0.78);
}

.workstation-transfer__button:focus-visible {
    outline: 2px solid #9ad4f4;
    outline-offset: 3px;
}

.workstation-transfer__storage-label {
    display: grid;
    gap: 3px;
    margin: 12px 0 14px;
    padding: 10px;
    border: 1px solid rgba(169, 224, 248, 0.34);
    border-radius: 5px;
    background: rgba(5, 18, 29, 0.5);
}

.workstation-transfer__storage-label strong,
.workstation-transfer__storage-label span {
    color: rgba(238, 249, 253, 0.96);
    font-size: 0.78rem;
}

.analysis-sequencing[hidden],
.analysis-sequencing__card[hidden] {
    display: none !important;
}

.analysis-sequencing {
    position: absolute;
    inset: 0;
    z-index: 6;
    pointer-events: none;
}

.analysis-sequencing__card {
    position: absolute;
    right: clamp(24px, 4vw, 64px);
    top: 43%;
    width: min(470px, 37%);
    max-height: calc(100dvh - var(--presentation-top-safe) - var(--presentation-bottom-safe) - 44px);
    overflow: auto;
    padding: 16px 18px;
    border: 1px solid rgba(145, 207, 237, 0.42);
    border-radius: 7px;
    color: rgba(233, 247, 253, 0.94);
    background:
        linear-gradient(180deg, rgba(16, 45, 64, 0.95), rgba(5, 17, 28, 0.95)),
        radial-gradient(ellipse at 20% 0%, rgba(155, 221, 249, 0.13), transparent 45%);
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.32);
    transform: translateY(-50%);
    pointer-events: auto;
}

.analysis-sequencing__card dd {
    overflow-wrap: anywhere;
}

.analysis-sequencing__card h2,
.analysis-sequencing__card p,
.analysis-sequencing__card dl,
.analysis-sequencing__card dt,
.analysis-sequencing__card dd,
.analysis-sequencing__card ul,
.analysis-sequencing__card ol {
    margin: 0;
}

.analysis-sequencing__card h2 {
    margin-bottom: 10px;
    color: rgba(242, 251, 254, 0.98);
    font-size: clamp(1.02rem, 1.28vw, 1.18rem);
}

.analysis-sequencing__card dl {
    display: grid;
    gap: 0;
    margin-bottom: 10px;
}

.analysis-sequencing__card dl div {
    display: grid;
    grid-template-columns: minmax(128px, 0.9fr) minmax(0, 1fr);
    gap: 10px;
    padding: 5px 0;
    border-bottom: 1px solid rgba(135, 198, 229, 0.1);
}

.analysis-sequencing__card dt {
    color: rgba(157, 205, 229, 0.74);
    font-size: 0.76rem;
    font-weight: 800;
}

.analysis-sequencing__card dd,
.analysis-sequencing__card p,
.analysis-sequencing__card li,
.analysis-sequencing__card label {
    color: rgba(239, 250, 254, 0.94);
    font-size: 0.8rem;
    font-weight: 700;
    line-height: 1.35;
}

.analysis-sequencing__checks,
.analysis-sequencing__groups {
    display: grid;
    gap: 7px;
    margin: 12px 0;
}

.analysis-sequencing__checks label,
.analysis-sequencing__groups label,
.analysis-sequencing__statement {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 8px;
    align-items: start;
}

.analysis-sequencing__groups strong {
    display: block;
    color: rgba(181, 224, 244, 0.9);
}

.analysis-sequencing__activity-list,
.analysis-sequencing__summary-list {
    display: grid;
    gap: 4px;
    margin: 10px 0 12px;
    padding-left: 18px;
}

.analysis-sequencing__order {
    display: grid;
    gap: 4px;
    max-height: 390px;
    margin: 10px 0 12px;
    padding-left: 20px;
    overflow: auto;
}

.analysis-sequencing__order li {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 5px;
    align-items: center;
    min-width: 0;
}

.analysis-sequencing__order button {
    min-height: 22px;
    padding: 2px 5px;
    border: 1px solid rgba(148, 205, 232, 0.3);
    border-radius: 4px;
    color: rgba(224, 244, 252, 0.9);
    background: rgba(9, 26, 39, 0.62);
    font: inherit;
    font-size: 0.62rem;
    font-weight: 800;
    cursor: pointer;
}

.analysis-sequencing__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 12px;
}

.analysis-sequencing__button {
    width: 100%;
    min-height: 36px;
    margin-top: 2px;
    border: 1px solid rgba(148, 205, 232, 0.34);
    border-radius: 5px;
    color: rgba(230, 248, 255, 0.94);
    background: rgba(9, 26, 39, 0.7);
    font: inherit;
    font-size: 0.82rem;
    font-weight: 900;
    cursor: pointer;
}

.analysis-sequencing__button:hover:not(:disabled),
.analysis-sequencing__order button:hover {
    border-color: rgba(170, 226, 250, 0.52);
    background: rgba(19, 49, 68, 0.78);
}

.analysis-sequencing__button:focus-visible,
.analysis-sequencing__order button:focus-visible,
.analysis-sequencing input:focus-visible {
    outline: 2px solid #9ad4f4;
    outline-offset: 3px;
}

.analysis-sequencing__button:disabled {
    cursor: not-allowed;
    opacity: 0.48;
}

.resource-exploration[hidden],
.resource-exploration__card[hidden],
.material-staging[hidden],
.material-staging__card[hidden],
.mobile-phase-preparation[hidden],
.mobile-phase-preparation__card[hidden],
.resource-modal[hidden],
.preparation-media-modal[hidden],
.preparation-image-viewer[hidden] {
    display: none !important;
}

.resource-exploration {
    --resource-edge-pad: clamp(24px, 2.5vw, 28px);
    --resource-mentor-zone: clamp(300px, 22vw, 320px);
    --resource-hotspot-zone: clamp(190px, 15vw, 210px);
    --resource-review-zone: clamp(300px, 24vw, 320px);
    position: absolute;
    inset: 0;
    z-index: 7;
    pointer-events: none;
}

.resource-exploration__hotspots {
    position: absolute;
    left: 0;
    right: 0;
    top: 29%;
    bottom: 18%;
    z-index: 1;
    display: grid;
    grid-template-columns:
        var(--resource-mentor-zone)
        var(--resource-hotspot-zone)
        var(--resource-hotspot-zone)
        var(--resource-review-zone);
    column-gap: clamp(24px, 2.4vw, 36px);
    align-items: center;
    justify-content: space-between;
    padding: 0 var(--resource-edge-pad);
    pointer-events: none;
}

.resource-hotspot-stack {
    display: flex;
    flex-direction: column;
    gap: clamp(14px, 1.7vh, 18px);
    width: min(190px, 100%);
    pointer-events: none;
}

.resource-hotspot-stack--left {
    grid-column: 2;
    justify-self: center;
}

.resource-hotspot-stack--right {
    grid-column: 3;
    justify-self: center;
}

.resource-hotspot {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    box-sizing: border-box;
    width: 100%;
    min-width: 145px;
    max-width: 190px;
    min-height: 42px;
    padding: 8px 12px;
    border: 1px solid rgba(130, 208, 238, 0.42);
    border-radius: 999px;
    color: rgba(235, 249, 253, 0.95);
    background: rgba(8, 26, 36, 0.78);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 10px 26px rgba(1, 8, 13, 0.34);
    cursor: pointer;
    font: inherit;
    font-size: clamp(0.62rem, 0.78vw, 0.76rem);
    font-weight: 800;
    letter-spacing: 0.01em;
    line-height: 1.2;
    text-align: center;
    opacity: 0;
    pointer-events: auto;
    transform: translateY(8px);
    transition:
        opacity var(--duration-medium) var(--ease-cinematic),
        transform var(--duration-medium) var(--ease-cinematic),
        border-color var(--duration-fast) ease,
        background var(--duration-fast) ease;
}

.resource-hotspot span {
    white-space: normal;
}

.resource-hotspot::before {
    content: "";
    width: 9px;
    height: 9px;
    flex: 0 0 auto;
    border-radius: 999px;
    background: rgba(115, 213, 246, 0.95);
    box-shadow: 0 0 0 4px rgba(84, 185, 226, 0.15), 0 0 18px rgba(97, 202, 240, 0.34);
    animation: resourcePulse 2400ms ease-in-out infinite;
}

.resource-hotspot:hover,
.resource-hotspot:focus-visible,
.resource-hotspot.is-reviewed {
    border-color: rgba(178, 229, 249, 0.68);
    background: rgba(13, 42, 57, 0.9);
}

.resource-hotspot:focus-visible {
    outline: 2px solid #9ad4f4;
    outline-offset: 3px;
}

.resource-hotspot.is-reviewed::before {
    background: rgba(164, 232, 204, 0.95);
    box-shadow: 0 0 0 4px rgba(99, 211, 169, 0.15);
    animation: none;
}

.resource-exploration__card {
    position: absolute;
    right: var(--resource-edge-pad);
    top: 41%;
    width: var(--resource-review-zone);
    max-height: calc(100dvh - var(--presentation-top-safe) - var(--presentation-bottom-safe) - 48px);
    padding: 18px;
    border: 1px solid rgba(132, 202, 232, 0.28);
    border-radius: 8px;
    color: rgba(235, 249, 253, 0.94);
    background: linear-gradient(145deg, rgba(8, 24, 34, 0.91), rgba(15, 39, 52, 0.86));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.07),
        0 22px 54px rgba(0, 7, 12, 0.46);
    overflow: auto;
    pointer-events: auto;
}

.welcome-screen.is-resource-exploration .mentor-dialogue {
    left: var(--resource-edge-pad);
    width: clamp(290px, 22vw, 310px);
}

.resource-exploration__eyebrow,
.resource-exploration__card h2,
.resource-exploration__card p,
.resource-exploration__card dl {
    margin: 0;
}

.resource-exploration__eyebrow {
    margin-bottom: 7px;
    color: rgba(157, 205, 229, 0.74);
    font-size: 0.64rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.resource-exploration__card h2 {
    margin-bottom: 10px;
    color: rgba(244, 252, 254, 0.98);
    font-size: clamp(1.02rem, 1.24vw, 1.18rem);
}

.resource-exploration__card p,
.resource-exploration__card li,
.resource-exploration__card dt,
.resource-exploration__card dd {
    font-size: 0.8rem;
    line-height: 1.45;
}

.resource-exploration__progress {
    margin-top: 12px !important;
    color: rgba(177, 226, 246, 0.92);
    font-weight: 900;
}

.resource-exploration__list {
    display: grid;
    gap: 6px;
    margin: 12px 0 14px;
    padding: 0;
    list-style: none;
    max-height: min(260px, 34dvh);
    overflow-y: auto;
}

.resource-exploration__list li {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    min-height: 29px;
    padding: 6px 8px;
    border: 1px solid rgba(132, 202, 232, 0.16);
    border-radius: 6px;
    background: rgba(5, 18, 26, 0.34);
}

.resource-exploration__list strong {
    color: rgba(168, 209, 229, 0.84);
    font-size: 0.68rem;
    text-transform: uppercase;
}

.resource-exploration__list li.is-reviewed {
    border-color: rgba(132, 219, 190, 0.32);
    background: rgba(27, 67, 58, 0.3);
}

.resource-exploration__list li.is-reviewed strong {
    color: rgba(177, 236, 211, 0.92);
}

.resource-exploration__button {
    min-height: 34px;
    width: 100%;
    padding: 0 14px;
    border: 1px solid rgba(148, 205, 232, 0.34);
    border-radius: 6px;
    color: rgba(239, 250, 254, 0.96);
    background: rgba(15, 42, 58, 0.78);
    cursor: pointer;
    font: inherit;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.02em;
}

.resource-exploration__button:hover:not(:disabled),
.resource-exploration__button:focus-visible {
    border-color: rgba(178, 229, 249, 0.62);
    background: rgba(23, 58, 77, 0.9);
}

.resource-exploration__button:focus-visible,
.resource-modal__close:focus-visible {
    outline: 2px solid #9ad4f4;
    outline-offset: 3px;
}

.resource-exploration__button:disabled {
    cursor: not-allowed;
    opacity: 0.46;
}

.resource-exploration__card dl {
    display: grid;
    gap: 3px;
    margin: 12px 0;
}

.resource-exploration__card dl div {
    display: grid;
    grid-template-columns: minmax(126px, 0.88fr) minmax(0, 1fr);
    gap: 10px;
}

.resource-exploration__card dt {
    color: rgba(157, 205, 229, 0.74);
    font-weight: 900;
}

.resource-exploration__card dd {
    color: rgba(241, 251, 254, 0.96);
    font-weight: 800;
}

.resource-modal {
    position: absolute;
    inset: 0;
    z-index: 1000;
    display: grid;
    place-items: center;
    padding: 24px;
    background: rgba(0, 8, 13, 0.34);
    pointer-events: auto;
}

.resource-modal__panel {
    position: relative;
    display: grid;
    grid-template-columns: minmax(280px, 0.82fr) minmax(320px, 1fr);
    gap: 20px;
    width: min(880px, 88vw);
    max-height: 82vh;
    padding: 20px;
    border: 1px solid rgba(146, 211, 238, 0.34);
    border-radius: 9px;
    background: linear-gradient(145deg, rgba(8, 23, 32, 0.96), rgba(15, 41, 55, 0.94));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 28px 70px rgba(0, 6, 10, 0.6);
    overflow: hidden;
}

.resource-modal__close {
    position: absolute;
    right: 14px;
    top: 12px;
    min-height: 28px;
    padding: 4px 9px;
    border: 1px solid rgba(148, 205, 232, 0.28);
    border-radius: 5px;
    color: rgba(215, 239, 249, 0.9);
    background: rgba(9, 27, 37, 0.82);
    cursor: pointer;
    font: inherit;
    font-size: 0.68rem;
    font-weight: 900;
}

.resource-modal__visual {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 0;
    border: 1px solid rgba(129, 195, 224, 0.2);
    border-radius: 8px;
    background:
        linear-gradient(rgba(255, 255, 255, 0.96), rgba(224, 232, 236, 0.95));
    overflow: hidden;
    padding: 12px;
}

.resource-modal__visual::before,
.resource-modal__visual::after {
    display: none;
}

.resource-modal__content {
    display: flex;
    flex-direction: column;
    min-height: 0;
    padding-top: 0;
    overflow: hidden;
}

.resource-modal__content h2 {
    margin: 0 76px 12px 0;
    color: rgba(244, 252, 254, 0.98);
    font-size: clamp(1.08rem, 1.35vw, 1.28rem);
}

.resource-modal__content dl {
    display: grid;
    flex: 1 1 auto;
    gap: 7px;
    margin: 0 0 14px;
    min-height: 0;
    overflow: auto;
}

.resource-modal__content .resource-exploration__button {
    flex: 0 0 auto;
}

.resource-modal__image-frame {
    display: grid;
    place-items: center;
    min-height: 0;
    padding: 10px;
    overflow: auto;
    background: rgba(238, 244, 248, 0.92);
    scrollbar-gutter: stable;
}

.resource-modal__image-frame img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: min(340px, 48vh);
    object-fit: contain;
    object-position: center;
    border-radius: 6px;
}

.resource-modal__gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
}

.resource-modal__gallery-button {
    min-height: 28px;
    padding: 5px 7px;
    border: 1px solid rgba(65, 97, 112, 0.22);
    border-radius: 5px;
    color: rgba(16, 34, 44, 0.92);
    background: rgba(255, 255, 255, 0.72);
    cursor: pointer;
    font: inherit;
    font-size: 0.68rem;
    font-weight: 900;
}

.resource-modal__gallery-button[aria-pressed="true"],
.resource-modal__gallery-button:hover,
.resource-modal__gallery-button:focus-visible {
    border-color: rgba(44, 127, 161, 0.5);
    background: rgba(216, 239, 248, 0.88);
}

.resource-modal__gallery-button:focus-visible {
    outline: 2px solid #236d90;
    outline-offset: 2px;
}

.resource-placeholder {
    display: grid;
    place-items: center;
    gap: 12px;
    min-height: 300px;
    color: rgba(18, 39, 49, 0.88);
    text-align: center;
}

.resource-placeholder__box {
    display: grid;
    place-items: center;
    gap: 7px;
    width: min(230px, 80%);
    padding: 20px;
    border: 1px solid rgba(74, 107, 120, 0.22);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.72);
}

.resource-placeholder__vial {
    position: relative;
    width: 54px;
    height: 118px;
    border: 2px solid rgba(73, 96, 107, 0.5);
    border-radius: 12px 12px 18px 18px;
    background: linear-gradient(90deg, rgba(153, 108, 43, 0.56), rgba(230, 207, 160, 0.3), rgba(124, 82, 34, 0.5));
}

.resource-placeholder__vial::before {
    content: "";
    position: absolute;
    left: 9px;
    right: 9px;
    top: -13px;
    height: 16px;
    border-radius: 4px 4px 2px 2px;
    background: rgba(70, 82, 91, 0.82);
}

.resource-placeholder__box strong,
.resource-placeholder strong {
    font-size: 0.86rem;
}

.resource-placeholder__box em,
.resource-placeholder p {
    max-width: 280px;
    color: rgba(49, 70, 80, 0.76);
    font-size: 0.72rem;
    font-style: normal;
    line-height: 1.4;
}

.resource-placeholder__rack {
    display: flex;
    align-items: end;
    gap: 10px;
    padding: 20px 22px 12px;
    border: 1px solid rgba(74, 107, 120, 0.22);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.76);
}

.resource-placeholder__rack span {
    width: 26px;
    height: 96px;
    border: 2px solid rgba(73, 96, 107, 0.44);
    border-radius: 8px 8px 13px 13px;
    background: linear-gradient(rgba(225, 244, 250, 0.72), rgba(166, 210, 226, 0.18));
}

.resource-placeholder__rack span::before {
    content: "";
    display: block;
    height: 12px;
    margin: -12px 3px 0;
    border-radius: 3px 3px 1px 1px;
    background: rgba(61, 85, 96, 0.68);
}

.resource-modal__content div {
    display: grid;
    gap: 3px;
}

.resource-modal__content dt {
    color: rgba(157, 205, 229, 0.78);
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.resource-modal__content dd {
    margin: 0;
    color: rgba(239, 250, 254, 0.94);
    font-size: 0.8rem;
    line-height: 1.4;
}

.preparation-media-strip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(118px, 1fr));
    gap: 6px;
    margin: 9px 0 10px;
}

.preparation-media-strip button {
    min-height: 29px;
    padding: 5px 8px;
    border: 1px solid rgba(139, 202, 232, 0.28);
    border-radius: 6px;
    color: rgba(231, 246, 253, 0.94);
    background: rgba(10, 31, 43, 0.72);
    cursor: pointer;
    font: inherit;
    font-size: 0.68rem;
    font-weight: 900;
    line-height: 1.2;
}

.preparation-media-strip button:hover,
.preparation-media-strip button:focus-visible {
    border-color: rgba(178, 229, 249, 0.62);
    background: rgba(18, 49, 66, 0.92);
}

.preparation-media-strip button:focus-visible,
.preparation-media-modal__close:focus-visible {
    outline: 2px solid #9ad4f4;
    outline-offset: 3px;
}

.preparation-media-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: grid;
    place-items: center;
    padding: 24px;
    background: rgba(0, 8, 13, 0.48);
    pointer-events: auto;
}

.preparation-media-modal__panel {
    position: relative;
    display: grid;
    grid-template-columns: minmax(360px, 1.1fr) minmax(300px, 0.9fr);
    gap: 18px;
    width: min(1040px, calc(100vw - 48px));
    max-height: min(780px, calc(100svh - 48px));
    padding: 18px;
    border: 1px solid rgba(146, 211, 238, 0.34);
    border-radius: 9px;
    color: rgba(235, 249, 253, 0.94);
    background: linear-gradient(145deg, rgba(8, 23, 32, 0.97), rgba(15, 41, 55, 0.95));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 30px 76px rgba(0, 6, 10, 0.64);
    overflow: hidden;
}

.preparation-media-modal__close {
    position: absolute;
    right: 14px;
    top: 12px;
    min-height: 28px;
    padding: 4px 9px;
    border: 1px solid rgba(148, 205, 232, 0.28);
    border-radius: 5px;
    color: rgba(215, 239, 249, 0.9);
    background: rgba(9, 27, 37, 0.82);
    cursor: pointer;
    font: inherit;
    font-size: 0.68rem;
    font-weight: 900;
}

.preparation-media-modal__gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    min-height: 0;
    overflow: auto;
}

.preparation-media-modal__figure {
    position: relative;
    display: grid;
    gap: 6px;
    min-width: 0;
    padding: 8px;
    border: 1px solid rgba(129, 195, 224, 0.18);
    border-radius: 8px;
    background: rgba(235, 242, 246, 0.96);
}

.preparation-media-modal__figure img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: contain;
    border-radius: 5px;
}

.preparation-media-modal__figure span {
    color: rgba(25, 45, 58, 0.9);
    font-size: 0.76rem;
    font-weight: 900;
    line-height: 1.22;
}

.preparation-media-modal__content {
    display: flex;
    flex-direction: column;
    min-height: 0;
    padding: 8px 4px 0 0;
    overflow: hidden;
}

.preparation-media-modal__content h2,
.preparation-media-modal__content p,
.preparation-media-modal__content dl {
    margin: 0;
}

.preparation-media-modal__content h2 {
    margin-right: 70px;
    color: rgba(244, 252, 254, 0.98);
    font-size: clamp(1.1rem, 1.45vw, 1.35rem);
}

.preparation-media-modal__content p {
    margin-top: 9px;
    color: rgba(207, 228, 239, 0.82);
    font-size: 0.84rem;
    line-height: 1.42;
}

.preparation-media-modal__content dl {
    display: grid;
    gap: 9px;
    margin-top: 14px;
    overflow: auto;
}

.preparation-media-modal__content div {
    display: grid;
    gap: 3px;
    padding-top: 8px;
    border-top: 1px solid rgba(145, 199, 224, 0.16);
}

.preparation-media-modal__content dt {
    color: rgba(157, 205, 229, 0.78);
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.preparation-media-modal__content dd {
    margin: 0;
    color: rgba(239, 250, 254, 0.94);
    font-size: 0.82rem;
    line-height: 1.4;
}

.resource-modal__image-frame {
    position: relative;
}

.resource-modal__enlarge,
.preparation-media-modal__enlarge {
    width: 100%;
    min-height: 28px;
    color: rgba(235, 247, 255, 0.92);
    font: inherit;
    font-size: 0.66rem;
    font-weight: 700;
    background: rgba(12, 29, 45, 0.88);
    border: 1px solid rgba(141, 204, 239, 0.34);
    cursor: zoom-in;
}

.resource-modal__enlarge {
    margin-top: 8px;
}

.resource-modal__enlarge:hover,
.resource-modal__enlarge:focus-visible,
.preparation-media-modal__enlarge:hover,
.preparation-media-modal__enlarge:focus-visible {
    border-color: rgba(174, 224, 255, 0.74);
    box-shadow: 0 0 0 3px rgba(95, 178, 235, 0.18);
}

.resource-modal__enlarge:focus-visible,
.preparation-media-modal__enlarge:focus-visible {
    outline: 2px solid rgba(174, 224, 255, 0.92);
    outline-offset: 2px;
}

.preparation-image-viewer {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: grid;
    place-items: center;
    padding: 24px;
    pointer-events: auto;
}

.preparation-image-viewer__backdrop {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: rgba(3, 8, 13, 0.78);
    backdrop-filter: blur(10px);
}

.preparation-image-viewer__panel {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    width: min(1100px, 92vw);
    height: min(760px, 86vh);
    overflow: hidden;
    color: rgba(238, 248, 255, 0.94);
    background: linear-gradient(180deg, rgba(10, 23, 36, 0.96), rgba(5, 14, 23, 0.98));
    border: 1px solid rgba(152, 210, 243, 0.36);
    border-radius: 8px;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.preparation-image-viewer__header,
.preparation-image-viewer__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 14px;
    background: rgba(7, 18, 29, 0.86);
}

.preparation-image-viewer__header {
    border-bottom: 1px solid rgba(137, 190, 230, 0.2);
}

.preparation-image-viewer__footer {
    align-items: flex-start;
    border-top: 1px solid rgba(137, 190, 230, 0.2);
}

.preparation-image-viewer__header h2,
.preparation-image-viewer__footer p {
    margin: 0;
}

.preparation-image-viewer__header h2 {
    font-size: clamp(1rem, 1.4vw, 1.24rem);
}

.preparation-image-viewer__footer p {
    max-width: 760px;
    color: rgba(210, 228, 240, 0.82);
    font-size: 0.76rem;
    line-height: 1.35;
}

.preparation-image-viewer__body {
    box-sizing: border-box;
    display: block;
    width: 100%;
    max-width: 100%;
    min-height: 0;
    padding: 12px 18px;
    overflow-x: hidden;
    overflow-y: auto;
    background: rgba(226, 236, 242, 0.08);
    scrollbar-gutter: stable;
}

.preparation-image-viewer__body img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    margin: 0 auto;
    object-fit: contain;
    object-position: center;
    background: rgba(238, 244, 248, 0.96);
    border: 1px solid rgba(7, 18, 29, 0.28);
    border-radius: 6px;
}

.preparation-image-viewer__body img.is-document-asset {
    width: 100%;
    height: auto;
    max-width: 100%;
    max-height: none;
    object-fit: contain;
    object-position: center;
}

.preparation-image-viewer__body img.is-resource-photo {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center;
}

.preparation-image-viewer__close,
.preparation-image-viewer__button {
    min-height: 30px;
    padding: 6px 12px;
    color: rgba(235, 247, 255, 0.92);
    font: inherit;
    font-size: 0.72rem;
    font-weight: 700;
    background: rgba(12, 29, 45, 0.88);
    border: 1px solid rgba(141, 204, 239, 0.36);
    cursor: pointer;
}

.preparation-image-viewer__close:hover,
.preparation-image-viewer__close:focus-visible,
.preparation-image-viewer__button:hover,
.preparation-image-viewer__button:focus-visible {
    border-color: rgba(174, 224, 255, 0.74);
    box-shadow: 0 0 0 3px rgba(95, 178, 235, 0.18);
}

.preparation-image-viewer__close:focus-visible,
.preparation-image-viewer__button:focus-visible {
    outline: 2px solid rgba(174, 224, 255, 0.92);
    outline-offset: 2px;
}

.welcome-screen.is-resource-exploration .resource-hotspot {
    opacity: 1;
    transform: translateY(0);
}

.welcome-screen.is-resource-exploration .analysis-sequencing__card {
    display: none !important;
}

.welcome-screen.is-resource-exploration .workstation-transfer__bench,
.welcome-screen.is-resource-exploration .workstation-transfer__sample,
.welcome-screen.is-resource-exploration .workstation-transfer__analyst {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

.material-staging {
    position: absolute;
    inset: 0;
    z-index: 7;
    pointer-events: none;
}

.material-staging__visual {
    position: absolute;
    left: 36%;
    bottom: 8%;
    width: min(470px, 39vw);
    height: min(245px, 28vh);
    opacity: 0;
    transform: translateY(10px);
    transition:
        opacity var(--duration-medium) var(--ease-cinematic),
        transform var(--duration-medium) var(--ease-cinematic);
    pointer-events: none;
}

.material-staging__zone {
    position: absolute;
    display: grid;
    place-items: center;
    min-width: 118px;
    min-height: 48px;
    padding: 8px 10px;
    border: 1px solid rgba(144, 211, 239, 0.27);
    border-radius: 7px;
    color: rgba(224, 246, 253, 0.92);
    background: rgba(7, 24, 34, 0.78);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 14px 28px rgba(0, 7, 12, 0.32);
    font-size: clamp(0.62rem, 0.78vw, 0.74rem);
    font-weight: 900;
    line-height: 1.2;
    text-align: center;
    opacity: 0;
    transform: translateY(12px);
    transition:
        opacity var(--duration-medium) var(--ease-cinematic),
        transform var(--duration-medium) var(--ease-cinematic),
        border-color var(--duration-fast) ease;
}

.material-staging__zone::before {
    content: "";
    width: 58px;
    height: 20px;
    margin-bottom: 6px;
    border-radius: 4px;
    background:
        linear-gradient(90deg, rgba(185, 224, 239, 0.25), rgba(246, 252, 254, 0.52), rgba(150, 206, 229, 0.22));
}

.material-staging__zone--glassware {
    left: 4%;
    top: 32%;
}

.material-staging__zone--reagents {
    right: 5%;
    top: 34%;
}

.material-staging__zone--standard {
    left: 32%;
    top: 7%;
}

.material-staging__zone--hplc {
    right: 10%;
    bottom: 5%;
}

.material-staging__card {
    position: absolute;
    right: clamp(18px, 2.5vw, 34px);
    top: clamp(84px, 16vh, 124px);
    width: clamp(300px, 25vw, 348px);
    max-height: calc(100svh - var(--presentation-top-safe) - var(--presentation-bottom-safe) - 36px);
    padding: 14px;
    border: 1px solid rgba(132, 202, 232, 0.28);
    border-radius: 8px;
    color: rgba(235, 249, 253, 0.94);
    background: linear-gradient(145deg, rgba(8, 24, 34, 0.92), rgba(15, 39, 52, 0.88));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.07),
        0 22px 54px rgba(0, 7, 12, 0.46);
    overflow: auto;
    pointer-events: auto;
}

.material-staging__eyebrow,
.material-staging__card h2,
.material-staging__card h3,
.material-staging__card p,
.material-staging__card ul,
.material-staging__card dl {
    margin: 0;
}

.material-staging__eyebrow {
    margin-bottom: 7px;
    color: rgba(157, 205, 229, 0.74);
    font-size: 0.64rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.material-staging__card h2 {
    margin-bottom: 10px;
    color: rgba(244, 252, 254, 0.98);
    font-size: clamp(1.02rem, 1.24vw, 1.18rem);
}

.material-staging__card h3 {
    margin-bottom: 4px;
    color: rgba(178, 224, 244, 0.9);
    font-size: 0.66rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.material-staging__card p,
.material-staging__card li,
.material-staging__card dt,
.material-staging__card dd,
.material-staging__card label {
    color: rgba(239, 250, 254, 0.94);
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1.38;
}

.material-staging__groups {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 10px;
    max-height: min(190px, 22vh);
    overflow: auto;
}

.material-staging__groups section {
    min-width: 0;
    padding: 8px;
    border: 1px solid rgba(132, 202, 232, 0.15);
    border-radius: 6px;
    background: rgba(5, 18, 26, 0.3);
}

.material-staging__groups ul {
    display: grid;
    gap: 2px;
    padding-left: 14px;
}

.material-staging__groups--verification {
    grid-template-columns: 1fr;
    gap: 7px;
    max-height: min(210px, 24vh);
}

.material-staging__checks {
    display: grid;
    gap: 5px;
    margin: 8px 0 10px;
}

.material-staging__card[data-material-stage="confirm-staging"] .material-staging__checks {
    grid-template-columns: 1fr 1fr;
}

.material-staging__checks label,
.material-staging__statement {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 8px;
    align-items: start;
}

.material-staging__note {
    margin-bottom: 12px !important;
    color: rgba(179, 222, 241, 0.82) !important;
}

.material-staging__card dl {
    display: grid;
    gap: 3px;
    margin: 10px 0 12px;
}

.material-staging__card dl div {
    display: grid;
    grid-template-columns: minmax(116px, 0.82fr) minmax(0, 1fr);
    gap: 9px;
}

.material-staging__card dt {
    color: rgba(157, 205, 229, 0.74);
    font-weight: 900;
}

.material-staging__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 9px;
}

.material-staging__button {
    width: 100%;
    min-height: 34px;
    padding: 0 12px;
    border: 1px solid rgba(148, 205, 232, 0.34);
    border-radius: 6px;
    color: rgba(239, 250, 254, 0.96);
    background: rgba(15, 42, 58, 0.78);
    cursor: pointer;
    font: inherit;
    font-size: 0.76rem;
    font-weight: 900;
}

.material-staging__button:hover:not(:disabled),
.material-staging__button:focus-visible {
    border-color: rgba(178, 229, 249, 0.62);
    background: rgba(23, 58, 77, 0.9);
}

.material-staging__button:focus-visible,
.material-staging input:focus-visible {
    outline: 2px solid #9ad4f4;
    outline-offset: 3px;
}

.material-staging__button:disabled {
    cursor: not-allowed;
    opacity: 0.46;
}

.welcome-screen.is-material-staging .resource-exploration,
.welcome-screen.is-material-staging .resource-exploration__card,
.welcome-screen.is-material-staging .resource-exploration__hotspots {
    display: none !important;
}

.welcome-screen.is-material-staging .analysis-sequencing__card,
.welcome-screen.is-material-staging .workstation-transfer__card {
    display: none !important;
}

.welcome-screen.is-material-staging .workstation-transfer__bench,
.welcome-screen.is-material-staging .workstation-transfer__sample,
.welcome-screen.is-material-staging .workstation-transfer__analyst {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

.welcome-screen.is-material-staging .mentor-dialogue {
    left: clamp(18px, 3vw, 34px);
    top: 50%;
    width: min(320px, 25%);
    transform: translateY(-50%);
}

.welcome-screen.is-material-staging[data-material-staging-state="stage-materials"] .material-staging__visual,
.welcome-screen.is-material-staging[data-material-staging-state="confirm-staging"] .material-staging__visual,
.welcome-screen.is-material-staging[data-material-staging-state="complete"] .material-staging__visual {
    opacity: 1;
    transform: translateY(0);
}

.welcome-screen.is-material-staging[data-material-staging-state="stage-materials"] .material-staging__zone,
.welcome-screen.is-material-staging[data-material-staging-state="confirm-staging"] .material-staging__zone,
.welcome-screen.is-material-staging[data-material-staging-state="complete"] .material-staging__zone {
    opacity: 1;
    transform: translateY(0);
}

.mobile-phase-preparation {
    position: absolute;
    inset: 0;
    z-index: 7;
    pointer-events: none;
}

.mobile-phase-preparation__visual {
    position: absolute;
    left: 37%;
    top: 52%;
    bottom: auto;
    display: grid;
    grid-template-columns: minmax(150px, 1fr) minmax(92px, 0.55fr);
    gap: 12px;
    width: min(430px, 35vw);
    min-height: min(250px, 29vh);
    opacity: 0;
    transform: translateY(10px);
    transition:
        opacity var(--duration-medium) var(--ease-cinematic),
        transform var(--duration-medium) var(--ease-cinematic);
    pointer-events: none;
}

.mobile-phase-preparation__image,
.mobile-phase-preparation__support,
.mobile-phase-preparation__bottle {
    border: 1px solid rgba(144, 211, 239, 0.24);
    border-radius: 8px;
    background: rgba(7, 24, 34, 0.78);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 14px 28px rgba(0, 7, 12, 0.32);
}

.mobile-phase-preparation__image {
    display: grid;
    place-items: center;
    min-height: 150px;
    padding: 10px;
    overflow: hidden;
}

.mobile-phase-preparation__image img,
.mobile-phase-preparation__support img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 5px;
}

.mobile-phase-preparation__support {
    display: grid;
    gap: 7px;
    padding: 7px;
}

.mobile-phase-preparation__support img {
    max-height: 58px;
    background: rgba(232, 240, 244, 0.94);
}

.mobile-phase-preparation__bottle {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    min-height: 46px;
    padding: 9px 12px;
    color: rgba(235, 249, 253, 0.94);
}

.mobile-phase-preparation__bottle span,
.mobile-phase-preparation__bottle strong {
    font-size: 0.78rem;
    font-weight: 900;
}

.mobile-phase-preparation__bottle strong {
    color: rgba(178, 224, 244, 0.92);
}

.mobile-phase-preparation__card {
    position: absolute;
    right: clamp(18px, 2.5vw, 34px);
    top: clamp(84px, 16vh, 124px);
    width: clamp(300px, 25vw, 348px);
    max-height: calc(100svh - var(--presentation-top-safe) - var(--presentation-bottom-safe) - 36px);
    padding: 14px;
    border: 1px solid rgba(132, 202, 232, 0.28);
    border-radius: 8px;
    color: rgba(235, 249, 253, 0.94);
    background: linear-gradient(145deg, rgba(8, 24, 34, 0.92), rgba(15, 39, 52, 0.88));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.07),
        0 22px 54px rgba(0, 7, 12, 0.46);
    overflow: auto;
    pointer-events: auto;
}

.mobile-phase-preparation__eyebrow,
.mobile-phase-preparation__card h2,
.mobile-phase-preparation__card h3,
.mobile-phase-preparation__card p,
.mobile-phase-preparation__card ul,
.mobile-phase-preparation__card ol,
.mobile-phase-preparation__card dl {
    margin: 0;
}

.mobile-phase-preparation__eyebrow {
    margin-bottom: 7px;
    color: rgba(157, 205, 229, 0.74);
    font-size: 0.64rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.mobile-phase-preparation__card h2 {
    margin-bottom: 10px;
    color: rgba(244, 252, 254, 0.98);
    font-size: clamp(1.02rem, 1.24vw, 1.18rem);
}

.mobile-phase-preparation__card h3 {
    margin-bottom: 4px;
    color: rgba(178, 224, 244, 0.9);
    font-size: 0.66rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.mobile-phase-preparation__card p,
.mobile-phase-preparation__card li,
.mobile-phase-preparation__card dt,
.mobile-phase-preparation__card dd,
.mobile-phase-preparation__card label {
    color: rgba(239, 250, 254, 0.94);
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1.38;
}

.mobile-phase-preparation__card dl {
    display: grid;
    gap: 3px;
    margin: 10px 0 12px;
}

.mobile-phase-preparation__card dl div {
    display: grid;
    grid-template-columns: minmax(116px, 0.82fr) minmax(0, 1fr);
    gap: 9px;
}

.mobile-phase-preparation__card dt {
    color: rgba(157, 205, 229, 0.74);
    font-weight: 900;
}

.mobile-phase-preparation__groups {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 10px;
    max-height: min(180px, 21vh);
    overflow: auto;
}

.mobile-phase-preparation__groups section {
    min-width: 0;
    padding: 8px;
    border: 1px solid rgba(132, 202, 232, 0.15);
    border-radius: 6px;
    background: rgba(5, 18, 26, 0.3);
}

.mobile-phase-preparation__groups ul {
    display: grid;
    gap: 2px;
    padding-left: 14px;
}

.mobile-phase-preparation__sequence {
    display: grid;
    gap: 4px;
    max-height: min(190px, 22vh);
    margin: 0 0 10px;
    padding-left: 18px;
    overflow: auto;
}

.mobile-phase-preparation__checks {
    display: grid;
    gap: 5px;
    margin: 8px 0 10px;
}

.mobile-phase-preparation__checks label {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 8px;
    align-items: start;
}

.mobile-phase-preparation__note {
    margin-bottom: 12px !important;
    color: rgba(179, 222, 241, 0.82) !important;
}

.mobile-phase-preparation__label {
    padding: 8px;
    border: 1px solid rgba(170, 224, 246, 0.2);
    border-radius: 7px;
    background: rgba(232, 240, 244, 0.08);
}

.mobile-phase-preparation__label dl {
    margin: 0;
}

.mobile-phase-preparation__context {
    margin: 8px 0 10px;
    padding: 7px 8px;
    border: 1px solid rgba(170, 224, 246, 0.18);
    border-radius: 7px;
    background: rgba(232, 240, 244, 0.06);
}

.mobile-phase-preparation__context summary {
    cursor: pointer;
    color: rgba(178, 224, 244, 0.9);
    font-size: 0.7rem;
    font-weight: 900;
}

.mobile-phase-preparation__context dl {
    margin-top: 8px;
}

.mobile-phase-preparation__button {
    width: 100%;
    min-height: 34px;
    padding: 0 12px;
    border: 1px solid rgba(148, 205, 232, 0.34);
    border-radius: 6px;
    color: rgba(239, 250, 254, 0.96);
    background: rgba(15, 42, 58, 0.78);
    cursor: pointer;
    font: inherit;
    font-size: 0.76rem;
    font-weight: 900;
}

.mobile-phase-preparation__button:hover:not(:disabled),
.mobile-phase-preparation__button:focus-visible {
    border-color: rgba(178, 229, 249, 0.62);
    background: rgba(23, 58, 77, 0.9);
}

.mobile-phase-preparation__button:focus-visible,
.mobile-phase-preparation input:focus-visible {
    outline: 2px solid #9ad4f4;
    outline-offset: 3px;
}

.mobile-phase-preparation__button:disabled {
    cursor: not-allowed;
    opacity: 0.46;
}

.welcome-screen.is-mobile-phase-preparation .resource-exploration,
.welcome-screen.is-mobile-phase-preparation .material-staging,
.welcome-screen.is-mobile-phase-preparation .analysis-sequencing__card,
.welcome-screen.is-mobile-phase-preparation .workstation-transfer__card {
    display: none !important;
}

.welcome-screen.is-mobile-phase-preparation .workstation-transfer__bench,
.welcome-screen.is-mobile-phase-preparation .workstation-transfer__sample,
.welcome-screen.is-mobile-phase-preparation .workstation-transfer__analyst {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

.welcome-screen.is-mobile-phase-preparation .mentor-dialogue {
    left: clamp(18px, 3vw, 34px);
    top: 50%;
    width: min(320px, 25%);
    transform: translateY(-50%);
}

.welcome-screen.is-mobile-phase-preparation .mobile-phase-preparation__visual {
    opacity: 1;
    transform: translateY(0);
}

.welcome-screen.is-mobile-phase-preparation.is-complete .mobile-phase-preparation__visual {
    left: 39%;
    top: 52%;
    grid-template-columns: 1fr;
    width: min(410px, 32vw);
    min-height: 0;
}

.welcome-screen.is-mobile-phase-preparation.is-complete .mobile-phase-preparation__support {
    display: none;
}

.welcome-screen.is-mobile-phase-preparation.is-complete .mobile-phase-preparation__image {
    min-height: 170px;
    max-height: 220px;
}

.welcome-screen.is-mobile-phase-preparation.is-complete .mobile-phase-preparation__bottle {
    min-height: 42px;
}

.welcome-screen.is-mobile-phase-preparation.is-complete .workstation-transfer__bench,
.welcome-screen.is-mobile-phase-preparation.is-complete .workstation-transfer__sample,
.welcome-screen.is-mobile-phase-preparation.is-complete .workstation-transfer__analyst {
    opacity: 0;
}

.welcome-screen.is-mobile-phase-preparation.is-complete .mobile-phase-preparation__card {
    top: clamp(92px, 18vh, 132px);
    max-height: calc(100svh - var(--presentation-top-safe) - var(--presentation-bottom-safe) - 50px);
}

.welcome-screen.is-mobile-phase-preparation[data-mobile-phase-state="preparation"] .mobile-phase-preparation__bottle strong,
.welcome-screen.is-mobile-phase-preparation[data-mobile-phase-state="label-record"] .mobile-phase-preparation__bottle strong {
    color: rgba(247, 224, 159, 0.95);
}

.welcome-screen.is-mobile-phase-preparation[data-mobile-phase-state="complete"] .mobile-phase-preparation__bottle strong {
    color: rgba(177, 236, 211, 0.95);
}

.preparation-readiness-overview[hidden],
.analytical-preparation-overview[hidden],
.journey-map[hidden] {
    display: none;
}

.preparation-readiness-overview,
.analytical-preparation-overview {
    position: absolute;
    inset: var(--presentation-top-safe) var(--presentation-side-safe) var(--presentation-bottom-safe) clamp(320px, 24vw, 360px);
    z-index: 11;
    pointer-events: auto;
    min-height: 0;
    overflow: hidden;
}

.analytical-preparation-overview {
    left: var(--presentation-side-safe);
}

.preparation-readiness-overview__layout {
    display: grid;
    grid-template-columns: minmax(210px, 0.72fr) minmax(410px, 1.48fr) minmax(238px, 0.82fr);
    gap: var(--guided-panel-gap);
    height: 100%;
    min-height: 0;
    align-items: stretch;
}

.preparation-readiness-overview__intro,
.preparation-readiness-overview__decision,
.analytical-preparation-overview__card {
    min-width: 0;
    padding: clamp(13px, 1.35vw, 18px);
    color: rgba(235, 246, 255, 0.94);
    background: rgba(5, 14, 24, 0.78);
    border: 1px solid rgba(132, 190, 232, 0.28);
    border-radius: 8px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 24px 70px rgba(0, 0, 0, 0.32);
    backdrop-filter: blur(16px);
}

.preparation-readiness-overview__intro,
.preparation-readiness-overview__decision {
    align-self: center;
    max-height: 100%;
    overflow: auto;
}

.preparation-readiness-overview__eyebrow,
.preparation-readiness-overview h2,
.preparation-readiness-overview h3,
.preparation-readiness-overview p,
.preparation-readiness-overview dl,
.analytical-preparation-overview h2,
.analytical-preparation-overview p {
    margin: 0;
}

.preparation-readiness-overview__eyebrow {
    margin-bottom: 8px;
    font-size: 0.68rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(137, 207, 247, 0.78);
}

.preparation-readiness-overview h2 {
    font-size: clamp(1.35rem, 2vw, 1.75rem);
    line-height: 1.12;
}

.preparation-readiness-overview p {
    margin-top: 9px;
    color: rgba(207, 224, 240, 0.76);
    font-size: clamp(0.78rem, 0.9vw, 0.9rem);
    line-height: 1.42;
}

.preparation-readiness-overview__sample,
.preparation-readiness-overview__decision dl {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 7px 10px;
    margin-top: 12px;
}

.preparation-readiness-overview__sample div,
.preparation-readiness-overview__decision dl div {
    min-width: 0;
    padding-top: 7px;
    border-top: 1px solid rgba(147, 190, 224, 0.16);
}

.preparation-readiness-overview dt {
    font-size: 0.66rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(166, 199, 224, 0.64);
}

.preparation-readiness-overview dd {
    margin: 3px 0 0;
    font-size: clamp(0.75rem, 0.88vw, 0.86rem);
    color: rgba(239, 248, 255, 0.92);
}

.preparation-readiness-overview__matrix {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 9px;
    align-self: center;
    min-height: 0;
}

.readiness-tile {
    min-width: 0;
    min-height: 0;
    padding: clamp(9px, 1vw, 12px);
    color: rgba(235, 247, 255, 0.94);
    background: linear-gradient(145deg, rgba(8, 23, 34, 0.82), rgba(12, 34, 45, 0.72));
    border: 1px solid rgba(139, 199, 238, 0.22);
    border-radius: 8px;
    box-shadow: inset 3px 0 0 rgba(104, 202, 192, 0.58);
}

.readiness-tile__group {
    display: block;
    margin-bottom: 5px;
    color: rgba(151, 202, 229, 0.72);
    font-size: clamp(0.57rem, 0.68vw, 0.66rem);
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.readiness-tile h3 {
    color: rgba(245, 252, 255, 0.97);
    font-size: clamp(0.76rem, 0.9vw, 0.9rem);
    line-height: 1.15;
}

.readiness-tile p {
    margin-top: 5px;
    font-size: clamp(0.68rem, 0.78vw, 0.78rem);
    line-height: 1.26;
}

.readiness-tile strong {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: rgba(170, 239, 220, 0.94);
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.readiness-tile strong::before {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: rgba(118, 222, 199, 0.88);
    content: "";
}

.preparation-readiness-overview__decision h3 {
    color: rgba(242, 251, 255, 0.98);
    font-size: clamp(1.12rem, 1.7vw, 1.45rem);
}

.preparation-readiness-overview__note {
    padding: 9px 10px;
    border: 1px solid rgba(248, 215, 142, 0.22);
    border-radius: 7px;
    background: rgba(91, 67, 18, 0.18);
    color: rgba(255, 230, 174, 0.9) !important;
    font-weight: 700;
}

.preparation-readiness-overview__actions {
    display: grid;
    gap: 9px;
    margin-top: 12px;
}

.preparation-readiness-overview__button {
    min-height: 36px;
    padding: 8px 12px;
    color: rgba(235, 248, 255, 0.94);
    background: rgba(12, 29, 45, 0.82);
    border: 1px solid rgba(132, 190, 232, 0.34);
    border-radius: 6px;
    cursor: pointer;
    font: inherit;
    font-size: clamp(0.75rem, 0.9vw, 0.86rem);
    font-weight: 800;
}

.preparation-readiness-overview__button--primary {
    border-color: rgba(141, 218, 239, 0.58);
    background: rgba(18, 53, 68, 0.88);
}

.preparation-readiness-overview__button:hover,
.preparation-readiness-overview__button:focus-visible {
    border-color: rgba(178, 229, 249, 0.66);
    box-shadow: 0 0 0 3px rgba(95, 178, 235, 0.18);
}

.preparation-readiness-overview__button:focus-visible {
    outline: 2px solid #9ad4f4;
    outline-offset: 3px;
}

.analytical-preparation-overview {
    display: grid;
    place-items: center;
}

.analytical-preparation-overview__card {
    width: min(460px, calc(100vw - 48px));
}

.analytical-preparation-overview h2 {
    font-size: clamp(1.35rem, 2vw, 1.65rem);
}

.analytical-preparation-overview p {
    margin-top: 10px;
    color: rgba(207, 224, 240, 0.78);
    line-height: 1.45;
}

.guided-overview__layout {
    display: grid;
    grid-template-columns: minmax(220px, 0.72fr) minmax(420px, 1.65fr) minmax(238px, 0.82fr);
    gap: var(--guided-panel-gap);
    width: 100%;
    height: 100%;
    min-height: 0;
    align-items: stretch;
}

.guided-overview__intro,
.guided-overview__visual,
.guided-overview__decision,
.guided-overview-modal__panel {
    min-width: 0;
    padding: clamp(13px, 1.35vw, 18px);
    color: rgba(235, 246, 255, 0.94);
    background: rgba(5, 14, 24, 0.78);
    border: 1px solid rgba(132, 190, 232, 0.28);
    border-radius: 8px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 24px 70px rgba(0, 0, 0, 0.32);
    backdrop-filter: blur(16px);
}

.guided-overview__intro,
.guided-overview__decision {
    align-self: center;
    max-height: 100%;
    overflow: auto;
}

.guided-overview__intro,
.guided-overview__visual,
.guided-overview__decision {
    min-height: 0;
}

.guided-overview h2,
.guided-overview h3,
.guided-overview p,
.guided-overview dl,
.guided-overview ol,
.guided-overview-modal h2,
.guided-overview-modal p {
    margin: 0;
}

.guided-overview h2 {
    font-size: clamp(1.3rem, 1.8vw, 1.62rem);
    line-height: 1.12;
}

.guided-overview h3 {
    font-size: clamp(1.02rem, 1.4vw, 1.25rem);
}

.guided-overview p {
    margin-top: 8px;
    color: rgba(207, 224, 240, 0.78);
    font-size: clamp(0.78rem, 0.9vw, 0.9rem);
    line-height: 1.38;
}

.guided-overview__sample,
.guided-overview__decision dl {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 7px 10px;
    margin-top: 12px;
}

.guided-overview__sample div,
.guided-overview__decision dl div {
    min-width: 0;
    padding-top: 7px;
    border-top: 1px solid rgba(147, 190, 224, 0.16);
}

.guided-overview dt {
    color: rgba(166, 199, 224, 0.64);
    font-size: 0.66rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.guided-overview dd {
    margin: 3px 0 0;
    color: rgba(239, 248, 255, 0.92);
    font-size: clamp(0.75rem, 0.88vw, 0.86rem);
}

.guided-overview__visual {
    align-self: center;
    display: grid;
    gap: 10px;
    max-height: 100%;
    overflow: auto;
}

.guided-overview__pathway {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 0;
    list-style: none;
}

.guided-overview__pathway li {
    min-height: 74px;
    padding: 9px;
    background: linear-gradient(145deg, rgba(8, 23, 34, 0.82), rgba(12, 34, 45, 0.72));
    border: 1px solid rgba(139, 199, 238, 0.22);
    border-radius: 8px;
    box-shadow: inset 3px 0 0 rgba(104, 202, 192, 0.58);
}

.guided-overview__pathway span {
    display: block;
    color: rgba(151, 202, 229, 0.72);
    font-size: 0.62rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.guided-overview__pathway strong {
    display: block;
    margin-top: 5px;
    color: rgba(245, 252, 255, 0.97);
    font-size: clamp(0.78rem, 0.92vw, 0.92rem);
}

.guided-overview__pathway p {
    margin-top: 4px;
    font-size: clamp(0.68rem, 0.78vw, 0.78rem);
    line-height: 1.22;
}

.guided-overview__chromatogram {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto auto;
    min-height: 0;
    padding: 10px;
    border: 1px solid rgba(132, 190, 232, 0.22);
    border-radius: 8px;
    background: rgba(232, 237, 242, 0.96);
    color: rgba(23, 36, 50, 0.96);
}

.guided-overview__chromatogram[hidden] {
    display: none;
}

.guided-overview__chromatogram h3 {
    color: rgba(23, 36, 50, 0.96);
    font-size: clamp(0.9rem, 1vw, 1.02rem);
}

.guided-overview__chromatogram img,
.guided-overview-modal__image {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    border: 1px solid rgba(127, 142, 160, 0.36);
    border-radius: 7px;
    background: #eef2f6;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}

.guided-overview__chromatogram img {
    width: 100%;
    height: 100%;
    max-height: min(360px, 40vh);
    margin-top: 7px;
    object-fit: contain;
}

.guided-overview__visual.has-chromatogram {
    grid-template-rows: auto minmax(0, 1fr);
}

.guided-overview__visual.has-chromatogram .guided-overview__pathway {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
}

.guided-overview__visual.has-chromatogram .guided-overview__pathway li {
    min-height: 48px;
    padding: 7px;
    box-shadow: inset 2px 0 0 rgba(104, 202, 192, 0.5);
}

.guided-overview__visual.has-chromatogram .guided-overview__pathway p {
    display: none;
}

.guided-overview__visual.has-chromatogram .guided-overview__pathway strong {
    margin-top: 3px;
    font-size: clamp(0.68rem, 0.78vw, 0.8rem);
}

.guided-overview__decision {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.guided-overview__decision p,
.guided-overview__decision dl,
.guided-overview__decision .preparation-readiness-overview__actions {
    margin-top: 0;
}

.guided-overview__decision .preparation-readiness-overview__note {
    padding: 8px 9px;
}

.guided-overview__decision .preparation-readiness-overview__actions {
    grid-template-columns: 1fr;
    gap: 7px;
}

.guided-overview__decision .preparation-readiness-overview__button {
    min-height: 32px;
    padding: 7px 10px;
}

.welcome-screen[data-guided-overview-stage="lifecycle-summary"] .guided-overview__decision .preparation-readiness-overview__actions {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
}

.welcome-screen[data-guided-overview-stage="lifecycle-summary"] .guided-overview__decision .preparation-readiness-overview__button--primary {
    grid-column: 1 / -1;
}

.is-demo-notes-open .analytical-preparation-overview {
    right: clamp(312px, 23vw, 340px);
}

.is-demo-notes-open .preparation-readiness-overview {
    left: clamp(292px, 23vw, 340px);
    right: var(--presentation-side-safe);
    overflow: auto;
}

.is-demo-notes-open .preparation-readiness-overview__layout {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    gap: 10px;
    height: auto;
    min-height: 100%;
}

.is-demo-notes-open .preparation-readiness-overview__decision {
    grid-column: auto;
}

.is-demo-notes-open .preparation-readiness-overview__matrix {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-self: stretch;
}

.is-demo-notes-open .preparation-readiness-overview__intro,
.is-demo-notes-open .preparation-readiness-overview__decision {
    align-self: stretch;
    max-height: none;
    overflow: visible;
}

.is-demo-notes-open .guided-overview__layout {
    grid-template-columns: minmax(190px, 0.72fr) minmax(320px, 1.42fr) minmax(210px, 0.78fr);
}

.is-demo-notes-open .guided-overview__sample,
.is-demo-notes-open .guided-overview__decision dl,
.is-demo-notes-open .preparation-readiness-overview__sample,
.is-demo-notes-open .preparation-readiness-overview__decision dl {
    grid-template-columns: 1fr;
}

.is-demo-notes-open .guided-overview__pathway {
    grid-template-columns: 1fr;
}

.is-demo-notes-open .guided-overview__pathway li {
    min-height: 0;
}

.guided-overview__trace {
    position: relative;
    height: 96px;
    margin-top: 10px;
    border-bottom: 1px solid rgba(180, 216, 238, 0.32);
    background: linear-gradient(180deg, rgba(107, 170, 210, 0.06), rgba(107, 170, 210, 0.01));
}

.guided-overview__peak {
    position: absolute;
    bottom: 0;
    width: 54px;
    background: linear-gradient(180deg, rgba(148, 224, 246, 0.72), rgba(75, 168, 210, 0.18));
    clip-path: polygon(50% 0, 100% 100%, 0 100%);
}

.guided-overview__peak--standard {
    left: 27%;
    height: 64px;
}

.guided-overview__peak--sample {
    left: 62%;
    height: 78px;
}

.guided-overview__trace-description {
    color: rgba(54, 73, 93, 0.82) !important;
    font-size: 0.74rem !important;
}

.guided-overview__trace-note {
    margin-top: 5px !important;
    color: rgba(87, 62, 18, 0.92) !important;
    font-size: 0.72rem !important;
    font-weight: 800;
}

.guided-overview-modal[hidden] {
    display: none;
}

.guided-overview-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: grid;
    place-items: center;
    padding: 24px;
    background: rgba(3, 8, 14, 0.66);
    pointer-events: auto;
}

.guided-overview-modal__panel {
    width: min(1040px, calc(100vw - 48px));
    max-height: min(820px, calc(100svh - 48px));
    overflow: auto;
}

.guided-overview-modal__image {
    max-height: min(560px, 58vh);
    margin-top: 14px;
}

.guided-overview-modal__notes {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin-top: 14px;
}

.guided-overview-modal__notes--calculation {
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}

.guided-overview-modal__notes div {
    min-width: 0;
    padding: 10px;
    border: 1px solid rgba(132, 190, 232, 0.2);
    border-radius: 7px;
    background: rgba(7, 22, 34, 0.48);
}

.guided-overview-modal__notes dt {
    color: rgba(176, 226, 247, 0.94);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.guided-overview-modal__notes dd {
    margin: 5px 0 0;
    color: rgba(235, 247, 255, 0.9);
    font-size: 0.82rem;
    line-height: 1.35;
}

.guided-overview-modal__notes--calculation div {
    background:
        linear-gradient(135deg, rgba(17, 48, 68, 0.82), rgba(6, 19, 31, 0.76)),
        radial-gradient(ellipse at 18% 0%, rgba(139, 211, 244, 0.12), transparent 54%);
}

.guided-overview-modal__notes--calculation div:nth-child(2),
.guided-overview-modal__notes--calculation div:nth-child(3) {
    box-shadow: inset 3px 0 0 rgba(125, 205, 238, 0.5);
}

.guided-overview-modal__notes--calculation div:nth-child(4),
.guided-overview-modal__notes--calculation div:nth-child(5) {
    box-shadow: inset 3px 0 0 rgba(121, 214, 185, 0.5);
}

.guided-overview-modal__close {
    float: right;
    padding: 6px 10px;
    color: rgba(230, 243, 252, 0.86);
    background: rgba(12, 27, 42, 0.82);
    border: 1px solid rgba(133, 190, 232, 0.24);
    border-radius: 5px;
    cursor: pointer;
}

@media (max-width: 1366px) {
    :root {
        --presentation-top-safe: 64px;
        --presentation-bottom-safe: 52px;
        --presentation-side-safe: 22px;
        --guided-panel-gap: 12px;
    }

    .presentation-shell__top {
        min-height: 46px;
        padding: 5px 10px;
    }

    .presentation-shell__bottom {
        min-width: auto;
        padding: 5px;
    }

    .presentation-shell__button {
        min-height: 26px;
        padding: 4px 9px;
        font-size: 0.78rem;
    }

    .guided-overview__layout {
        grid-template-columns: minmax(205px, 0.68fr) minmax(390px, 1.62fr) minmax(220px, 0.78fr);
    }

    .guided-overview__intro,
    .guided-overview__visual,
    .guided-overview__decision {
        padding: 12px;
    }

    .guided-overview p {
        font-size: 0.78rem;
        line-height: 1.35;
    }

    .guided-overview__pathway li {
        min-height: 66px;
        padding: 8px;
    }

    .guided-overview__chromatogram img {
        max-height: min(330px, 39vh);
    }
}

@media (max-width: 1280px) {
    :root {
        --presentation-top-safe: 62px;
        --presentation-bottom-safe: 50px;
        --presentation-side-safe: 18px;
        --guided-panel-gap: 10px;
    }

    .guided-overview__layout {
        grid-template-columns: minmax(190px, 0.64fr) minmax(370px, 1.66fr) minmax(200px, 0.7fr);
    }

    .guided-overview h2 {
        font-size: 1.28rem;
    }

    .guided-overview h3 {
        font-size: 1rem;
    }

    .guided-overview dd,
    .guided-overview__pathway strong,
    .preparation-readiness-overview__button {
        font-size: 0.76rem;
    }

    .guided-overview__sample,
    .guided-overview__decision dl {
        gap: 5px 8px;
    }

    .guided-overview__chromatogram img {
        max-height: min(305px, 38vh);
    }
}

@media (max-width: 900px) {
    .preparation-media-modal__panel {
        grid-template-columns: 1fr;
        overflow: auto;
    }

    .preparation-media-modal__gallery {
        grid-template-columns: 1fr 1fr;
        max-height: 46vh;
    }
}

@media (min-width: 1366px) and (max-width: 1499px) {
    body.is-demo-notes-open {
        --presenter-rail-width: 252px;
        --presentation-horizontal-gap: 10px;
        padding-right: 8px;
    }

    .is-demo-notes-open .demo-tools,
    .is-demo-notes-open .demo-notes {
        font-size: 0.92rem;
    }
}

@media (max-width: 1359px) {
    body.is-demo-notes-open {
        display: block;
        padding-right: 0;
    }

    body.is-demo-notes-open .welcome-screen {
        width: 100%;
        min-height: 100dvh;
    }

    .is-demo-notes-open .demo-tools {
        position: fixed;
        right: 12px;
        top: 72px;
        width: min(250px, calc(100vw - 24px));
        margin-top: 0;
    }

    .is-demo-notes-open .demo-notes {
        display: none;
    }

    .is-demo-notes-open .demo-tools::after {
        display: block;
        margin-top: 6px;
        color: rgba(190, 222, 240, 0.78);
        font-size: 0.68rem;
        line-height: 1.25;
        content: "Notes rail collapsed at this width.";
    }

    .is-demo-notes-open .welcome-screen.is-sample-record-opening .lims-workstation,
    .is-demo-notes-open .welcome-screen.is-sample-record-visible .lims-workstation,
    .is-demo-notes-open .welcome-screen.is-sample-record-ready .lims-workstation,
    .is-demo-notes-open .welcome-screen.is-sample-record-ready.is-sample-assignment-open .lims-workstation,
    .is-demo-notes-open .welcome-screen.is-sample-record-ready.is-sample-assignment-confirmed .lims-workstation {
        left: 39%;
        right: 12px;
        top: calc(var(--presentation-top-safe) + 36px);
        height: calc(100dvh - var(--presentation-top-safe) - var(--presentation-bottom-safe) - 58px);
        width: auto;
        aspect-ratio: auto;
    }

    .is-demo-notes-open .welcome-screen.is-analyst-worklist .lims-workstation {
        left: 300px;
        right: 12px;
        top: calc(var(--presentation-top-safe) + 18px);
        height: calc(100dvh - var(--presentation-top-safe) - var(--presentation-bottom-safe) - 40px);
        transform: none;
    }
}

.welcome-screen.is-preparation-readiness-overview .mentor-dialogue {
    left: clamp(20px, 2vw, 30px);
    right: auto;
    top: 50%;
    bottom: auto;
    width: min(300px, 23vw);
    transform: translateY(-50%);
}

.welcome-screen.is-analytical-preparation-overview .mentor-dialogue {
    display: none;
}

.journey-map {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: grid;
    place-items: center;
    padding: 24px;
    background: rgba(3, 8, 14, 0.66);
    pointer-events: auto;
}

.journey-map__panel {
    width: min(680px, calc(100vw - 48px));
    max-height: min(720px, calc(100svh - 48px));
    overflow: auto;
    padding: 22px;
    color: rgba(238, 248, 255, 0.94);
    background: rgba(5, 15, 26, 0.94);
    border: 1px solid rgba(139, 199, 238, 0.28);
    border-radius: 8px;
    box-shadow: 0 28px 90px rgba(0, 0, 0, 0.46);
}

.journey-map__panel h2 {
    margin: 6px 0 18px;
    font-size: 1.35rem;
}

.journey-map__branch {
    margin: -8px 0 16px;
    padding: 8px 10px;
    color: rgba(183, 226, 244, 0.9);
    background: rgba(15, 44, 60, 0.6);
    border: 1px solid rgba(132, 202, 232, 0.22);
    border-radius: 6px;
    font-size: 0.82rem;
}

.journey-map__close {
    float: right;
    padding: 6px 10px;
    color: rgba(230, 243, 252, 0.86);
    background: rgba(12, 27, 42, 0.82);
    border: 1px solid rgba(133, 190, 232, 0.24);
    border-radius: 5px;
    cursor: pointer;
}

.journey-map__chapters {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.journey-map__chapters button {
    display: grid;
    width: 100%;
    gap: 4px;
    padding: 13px 14px;
    color: rgba(232, 245, 255, 0.9);
    text-align: left;
    background: rgba(15, 32, 48, 0.78);
    border: 1px solid rgba(132, 184, 222, 0.2);
    border-radius: 7px;
    cursor: pointer;
}

.journey-map__chapters button[disabled] {
    color: rgba(178, 195, 210, 0.5);
    cursor: not-allowed;
}

.journey-map__chapters li.is-current button {
    border-color: rgba(160, 220, 255, 0.62);
    box-shadow: inset 3px 0 0 rgba(108, 196, 246, 0.72);
}

.journey-map__chapters li.is-complete button {
    background: rgba(21, 45, 54, 0.72);
}

.journey-map__chapters span {
    color: rgba(198, 218, 232, 0.68);
    font-size: 0.82rem;
}

@keyframes resourcePulse {
    0%,
    100% {
        transform: scale(1);
        opacity: 0.86;
    }

    50% {
        transform: scale(1.18);
        opacity: 1;
    }
}

.welcome-screen.is-analysis-sequencing .workstation-transfer__card {
    display: none !important;
}

.welcome-screen.is-analysis-sequencing .workstation-transfer__bench,
.welcome-screen.is-analysis-sequencing .workstation-transfer__sample,
.welcome-screen.is-analysis-sequencing .workstation-transfer__analyst {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

.welcome-screen.is-wet-chemistry-workstation .lims-workstation {
    display: none;
    opacity: 0;
    pointer-events: none;
}

.welcome-screen.is-wet-chemistry-workstation .lab-scene__information-network,
.welcome-screen.is-wet-chemistry-workstation .trace-path,
.welcome-screen.is-wet-chemistry-workstation .trace-entity,
.welcome-screen.is-wet-chemistry-workstation .lims-node,
.welcome-screen.is-wet-chemistry-workstation .lims-workflow {
    opacity: 0;
    pointer-events: none;
}

.welcome-screen.is-wet-chemistry-workstation .workstation-transfer__analyst,
.welcome-screen.is-wet-chemistry-workstation .workstation-transfer__sample {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

.welcome-screen.is-wet-chemistry-workstation .workstation-transfer__bench {
    opacity: 1;
    transform: translateY(0);
}

.welcome-screen[data-workstation-transfer-state="sample-handover"] .workstation-transfer__analyst {
    left: 43%;
    top: 54%;
}

.welcome-screen[data-workstation-transfer-state="sample-handover"] .workstation-transfer__sample {
    left: 49%;
    top: 65%;
}

.welcome-screen[data-workstation-transfer-state="workstation-walkover"] .workstation-transfer__sample,
.welcome-screen[data-workstation-transfer-state="workstation-confirmation"] .workstation-transfer__sample {
    left: 45%;
    top: 50%;
}

.welcome-screen[data-workstation-transfer-state="workstation-walkover"] .workstation-transfer__analyst,
.welcome-screen[data-workstation-transfer-state="workstation-confirmation"] .workstation-transfer__analyst {
    left: 39%;
    top: 42%;
}

.welcome-screen[data-workstation-transfer-state="sample-storage"] .workstation-transfer__analyst,
.welcome-screen[data-workstation-transfer-state="workstation-complete"] .workstation-transfer__analyst {
    left: 49%;
    top: 53%;
}

.welcome-screen[data-workstation-transfer-state="sample-storage"] .workstation-transfer__sample {
    left: 56%;
    top: 81%;
    min-width: 86px;
    padding: 4px 6px;
    font-size: 0.62rem;
    background: rgba(7, 24, 34, 0.94);
}

.welcome-screen[data-workstation-transfer-state="workstation-complete"] .workstation-transfer__sample {
    left: 56%;
    top: 81%;
    min-width: 86px;
    padding: 4px 6px;
    font-size: 0.62rem;
    background: rgba(7, 24, 34, 0.94);
}

.lims-priority {
    display: inline-flex;
    align-items: center;
    min-height: 17px;
    padding: 2px 7px;
    border-radius: 999px;
    font-size: 0.9em;
    font-weight: 800;
    line-height: 1;
}

.lims-priority--high {
    border: 1px solid rgba(187, 222, 243, 0.46);
    color: rgba(244, 251, 254, 0.94);
    background: rgba(87, 128, 154, 0.32);
}

.lims-sample-record {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
    padding: 12px;
    overflow: hidden;
    color: rgba(233, 247, 253, 0.92);
    opacity: 0;
    pointer-events: none;
    transform: translateY(8px);
    transition:
        opacity var(--duration-medium) var(--ease-cinematic),
        transform var(--duration-medium) var(--ease-cinematic);
}

.lims-sample-record__header {
    display: grid;
    grid-template-columns: minmax(110px, 1fr) auto;
    align-items: center;
    gap: 12px;
    flex: 0 0 auto;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(142, 204, 232, 0.18);
}

.lims-sample-record__eyebrow,
.lims-sample-record__header h2,
.lims-sample-record__badges,
.lims-sample-record__badges dt,
.lims-sample-record__badges dd {
    margin: 0;
}

.lims-sample-record__eyebrow {
    color: rgba(162, 211, 234, 0.78);
    font-size: clamp(0.54rem, 0.72vw, 0.66rem);
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.lims-sample-record__header h2 {
    color: rgba(242, 251, 254, 0.98);
    font-size: clamp(1rem, 1.45vw, 1.28rem);
    letter-spacing: 0.03em;
}

.lims-sample-record__badges {
    display: flex;
    gap: 8px;
}

.lims-sample-record__badges div {
    display: grid;
    gap: 3px;
}

.lims-sample-record__badges dt {
    color: rgba(162, 211, 234, 0.68);
    font-size: clamp(0.48rem, 0.64vw, 0.58rem);
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.lims-sample-record__back {
    display: none;
    min-height: 27px;
    padding: 5px 9px;
    border: 1px solid rgba(148, 205, 232, 0.28);
    border-radius: 5px;
    color: rgba(206, 232, 244, 0.82);
    background: rgba(9, 26, 39, 0.58);
    font: inherit;
    font-size: clamp(0.54rem, 0.7vw, 0.64rem);
    font-weight: 800;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition:
        border-color var(--duration-fast) ease,
        background-color var(--duration-fast) ease,
        color var(--duration-fast) ease;
}

.lims-sample-record__back:hover {
    border-color: rgba(170, 226, 250, 0.44);
    color: rgba(234, 249, 254, 0.94);
    background: rgba(19, 49, 68, 0.68);
}

.lims-sample-record__back:focus-visible {
    outline: 2px solid #9ad4f4;
    outline-offset: 2px;
}

.lims-record-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    flex: 1 1 auto;
    min-height: 0;
    overflow: visible;
    padding-top: 10px;
}

.lims-record-section {
    min-width: 0;
    min-height: 0;
    overflow: hidden;
    border: 1px solid rgba(135, 198, 229, 0.16);
    border-radius: 6px;
    background: rgba(5, 18, 29, 0.38);
    transition:
        border-color var(--duration-medium) var(--ease-cinematic),
        background-color var(--duration-medium) var(--ease-cinematic),
        box-shadow var(--duration-medium) var(--ease-cinematic);
}

.lims-record-section h3 {
    margin: 0;
    padding: 8px 9px 6px;
    border-bottom: 1px solid rgba(135, 198, 229, 0.13);
    color: rgba(178, 224, 244, 0.82);
    font-size: clamp(0.58rem, 0.78vw, 0.7rem);
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.lims-record-section dl {
    display: grid;
    gap: 0;
    margin: 0;
    padding: 5px 9px 8px;
    overflow: hidden;
}

.lims-record-section div {
    display: grid;
    grid-template-columns: minmax(86px, 0.92fr) minmax(0, 1fr);
    gap: 8px;
    align-items: baseline;
    padding: 4px 0;
    border-bottom: 1px solid rgba(135, 198, 229, 0.08);
}

.lims-record-section div:last-child {
    border-bottom: 0;
}

.lims-record-section dt,
.lims-record-section dd {
    min-width: 0;
    margin: 0;
    font-size: clamp(0.55rem, 0.72vw, 0.66rem);
    line-height: 1.22;
}

.lims-record-section dt {
    color: rgba(157, 205, 229, 0.72);
    font-weight: 800;
}

.lims-record-section dd {
    overflow: visible;
    color: rgba(239, 250, 254, 0.94);
    font-weight: 700;
    text-overflow: clip;
    white-space: normal;
}

.lims-record-role {
    display: block;
    margin-top: 2px;
    color: rgba(162, 211, 234, 0.76);
    font-size: 0.88em;
    font-weight: 700;
}

.lims-assignment-panel {
    display: none;
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
    gap: 8px;
    flex: 1 1 auto;
    margin-top: 6px;
    padding-top: 6px;
    border-top: 1px solid rgba(142, 204, 232, 0.18);
    min-height: 0;
    max-height: min(342px, calc(var(--presentation-content-height) - 166px));
    overflow: hidden;
}

.lims-assignment-form {
    display: grid;
    min-height: 0;
    min-width: 0;
    height: 100%;
    max-height: 100%;
    overflow: hidden;
}

.lims-assignment-form fieldset {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    gap: 4px;
    min-height: 0;
    min-width: 0;
    height: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    overflow: hidden;
}

.lims-analyst-list {
    display: grid;
    gap: 4px;
    min-height: 0;
    height: 100%;
    max-height: 190px;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding-right: 8px;
    padding-bottom: 8px;
    scrollbar-gutter: stable;
}

.lims-assignment-form legend {
    margin: 0 0 2px;
    color: rgba(178, 224, 244, 0.84);
    font-size: clamp(0.56rem, 0.74vw, 0.68rem);
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.lims-analyst-option {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 7px;
    align-items: start;
    min-height: 0;
    padding: 4px 6px;
    border: 1px solid rgba(135, 198, 229, 0.16);
    border-radius: 5px;
    background: rgba(5, 18, 29, 0.34);
    cursor: pointer;
    transition:
        border-color var(--duration-fast) ease,
        background-color var(--duration-fast) ease,
        box-shadow var(--duration-fast) ease;
}

.lims-analyst-option:has(input:checked) {
    border-color: rgba(174, 226, 250, 0.58);
    background: rgba(64, 145, 188, 0.14);
    box-shadow: inset 3px 0 0 rgba(142, 220, 253, 0.68);
}

.lims-analyst-option--disabled {
    color: rgba(198, 219, 229, 0.68);
    background: rgba(5, 18, 29, 0.2);
    cursor: not-allowed;
}

.lims-analyst-option input {
    width: 14px;
    height: 14px;
    margin-top: 1px;
    accent-color: #8edcff;
}

.lims-analyst-option input:disabled {
    cursor: not-allowed;
}

.lims-analyst-option input:focus-visible {
    outline: 2px solid #9ad4f4;
    outline-offset: 2px;
}

.lims-analyst-option > span {
    display: grid;
    grid-template-columns: minmax(82px, 0.86fr) minmax(0, 1fr);
    gap: 2px 7px;
    align-items: center;
    min-width: 0;
}

.lims-analyst-option strong,
.lims-analyst-option span span {
    overflow: visible;
    color: rgba(238, 249, 253, 0.94);
    font-size: clamp(0.49rem, 0.64vw, 0.59rem);
    line-height: 1.08;
    text-overflow: clip;
    white-space: normal;
}

.lims-analyst-option strong {
    align-self: start;
}

.lims-analyst-option span span {
    color: rgba(164, 214, 238, 0.78);
    font-weight: 700;
}

.lims-analyst-option span span:nth-of-type(n + 2) {
    grid-column: 1 / -1;
}

.lims-allocation-blocked {
    grid-column: 1 / -1;
    overflow: visible !important;
    color: rgba(245, 204, 174, 0.94) !important;
    font-weight: 800 !important;
    text-overflow: clip !important;
    white-space: normal !important;
}

.lims-assignment-summary {
    display: grid;
    align-content: start;
    gap: 0;
    min-width: 0;
    margin: 0;
    padding: 13px 8px 7px;
    border: 1px solid rgba(135, 198, 229, 0.16);
    border-radius: 5px;
    background: rgba(5, 18, 29, 0.34);
    opacity: 0.48;
    transition: opacity var(--duration-medium) var(--ease-cinematic);
}

.lims-assignment-summary div {
    display: grid;
    grid-template-columns: minmax(88px, 0.94fr) minmax(0, 1fr);
    gap: 7px;
    padding: 2px 0;
    border-bottom: 1px solid rgba(135, 198, 229, 0.08);
}

.lims-assignment-summary div:last-child {
    border-bottom: 0;
}

.lims-assignment-summary dt,
.lims-assignment-summary dd {
    min-width: 0;
    margin: 0;
    overflow: visible;
    font-size: clamp(0.49rem, 0.64vw, 0.59rem);
    line-height: 1.12;
    text-overflow: clip;
    white-space: normal;
}

.lims-assignment-summary dt {
    color: rgba(157, 205, 229, 0.72);
    font-weight: 800;
}

.lims-assignment-summary dd {
    color: rgba(239, 250, 254, 0.94);
    font-weight: 700;
}

.lims-assignment-success {
    display: none;
    grid-column: 1 / -1;
    margin: 0;
    padding: 6px 8px;
    border: 1px solid rgba(165, 224, 250, 0.38);
    border-radius: 5px;
    color: rgba(232, 249, 255, 0.94);
    background: rgba(60, 132, 178, 0.18);
    font-size: clamp(0.55rem, 0.74vw, 0.66rem);
    font-weight: 800;
}

.welcome-screen.is-sample-record-opening .lims-sample-queue,
.welcome-screen.is-sample-record-visible .lims-sample-queue,
.welcome-screen.is-sample-record-ready .lims-sample-queue {
    opacity: 0;
    pointer-events: none;
    transform: translateY(-6px);
}

.welcome-screen.is-sample-record-queue-preview .lims-sample-queue {
    opacity: 1;
    transform: translateY(0);
}

.welcome-screen.is-sample-record-queue-preview .lims-sample-record {
    opacity: 0;
}

.welcome-screen.is-sample-record-opening .lims-sample-record,
.welcome-screen.is-sample-record-visible .lims-sample-record,
.welcome-screen.is-sample-record-ready .lims-sample-record {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.welcome-screen.is-sample-record-opening .lims-sample-record__back,
.welcome-screen.is-sample-record-visible .lims-sample-record__back,
.welcome-screen.is-sample-record-ready .lims-sample-record__back {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.welcome-screen.is-sample-record-queue-preview .lims-sample-record__back {
    display: none;
}

.welcome-screen.is-sample-identity-focus .lims-record-section--identity,
.welcome-screen.is-testing-requirements-focus .lims-record-section--workflow,
.welcome-screen.is-sample-status-focus .lims-record-field--status,
.welcome-screen.is-sample-status-focus .lims-record-field--analyst {
    border-color: rgba(174, 226, 250, 0.54);
    background: rgba(64, 145, 188, 0.12);
    box-shadow: inset 0 0 22px rgba(111, 200, 238, 0.08);
}

.welcome-screen.is-sample-status-focus .lims-record-section--workflow {
    border-color: rgba(174, 226, 250, 0.36);
}

.welcome-screen.is-sample-assignment-open .lims-assignment-panel,
.welcome-screen.is-sample-assignment-confirmed .lims-assignment-panel {
    display: grid;
}

.welcome-screen.is-sample-assignment-open .lims-workstation,
.welcome-screen.is-sample-assignment-confirmed .lims-workstation {
    top: 42%;
    width: min(760px, 52vw);
    height: min(68dvh, calc(100dvh - var(--presentation-top-safe) - var(--presentation-bottom-safe) - 42px));
    max-height: calc(100dvh - var(--presentation-top-safe) - var(--presentation-bottom-safe) - 42px);
    aspect-ratio: auto;
}

.welcome-screen.is-sample-assignment-open .mentor-dialogue,
.welcome-screen.is-sample-assignment-confirmed .mentor-dialogue {
    left: clamp(18px, 3vw, 34px);
    top: 50%;
    width: min(320px, 25%);
    transform: translateY(-50%);
}

.welcome-screen.is-sample-assignment-open .lims-assignment-option {
    min-height: 0;
    padding: 5px 8px;
}

.welcome-screen.is-sample-assignment-open .lims-assignment-option__details {
    gap: 2px;
}

.welcome-screen.is-sample-assignment-open .lims-assignment-option__details span,
.welcome-screen.is-sample-assignment-open .lims-assignment-option__details small,
.welcome-screen.is-sample-assignment-open .lims-assignment-blocked {
    font-size: clamp(0.48rem, 0.62vw, 0.58rem);
    line-height: 1.12;
}

.welcome-screen.is-assignment-summary-visible .lims-assignment-summary,
.welcome-screen.is-sample-assignment-confirmed .lims-assignment-summary {
    opacity: 1;
}

.welcome-screen.is-sample-assignment-confirmed .lims-assignment-form {
    display: none;
}

.welcome-screen.is-sample-assignment-confirmed .lims-assignment-summary {
    grid-column: 1 / -1;
    padding-top: 8px;
}

.welcome-screen.is-sample-assignment-confirmed .lims-assignment-success {
    display: block;
}

.welcome-screen.is-sample-assignment-open .lims-record-grid,
.welcome-screen.is-sample-assignment-confirmed .lims-record-grid {
    gap: 8px;
    flex: 0 0 auto;
    min-height: auto;
    overflow: visible;
    padding-top: 8px;
}

.welcome-screen.is-sample-assignment-open .lims-record-section h3,
.welcome-screen.is-sample-assignment-confirmed .lims-record-section h3 {
    padding: 6px 8px 5px;
}

.welcome-screen.is-sample-assignment-open .lims-record-section dl,
.welcome-screen.is-sample-assignment-confirmed .lims-record-section dl {
    padding: 4px 8px 6px;
}

.welcome-screen.is-sample-assignment-open .lims-record-section div,
.welcome-screen.is-sample-assignment-confirmed .lims-record-section div {
    padding: 3px 0;
}

.welcome-screen.is-lims-workstation-opening .lab-scene__information-network {
    opacity: 0.28;
}

.welcome-screen.is-lims-workstation-opening .trace-path,
.welcome-screen.is-lims-workstation-opening .trace-entity,
.welcome-screen.is-lims-workstation-opening .lims-workflow__stage,
.welcome-screen.is-lims-workstation-opening .lims-workflow__connector {
    opacity: 0.12;
}

.welcome-screen.is-lims-workstation-opening .lims-node {
    opacity: 0.42;
}

.welcome-screen.is-lims-workstation-opening .lab-scene__visual {
    transform: scale(1.035) translate3d(-1.2%, -1.4%, 0);
    transition: transform 1200ms var(--ease-cinematic);
}

.welcome-screen.is-lims-workstation-opening .mentor-focus-layer {
    opacity: 0.82;
}

.welcome-screen.is-lims-workstation-opening .mentor-edge-light {
    opacity: 0.5;
    background: radial-gradient(ellipse at 67% 78%, rgba(166, 221, 244, 0.24), transparent 17%);
}

.welcome-screen.is-lims-workstation-opening .map-zone--learner-workstation::before {
    border-color: rgba(181, 231, 252, 0.78);
    background: rgba(91, 177, 219, 0.14);
    box-shadow:
        inset 0 0 46px rgba(103, 194, 232, 0.16),
        0 0 34px rgba(103, 194, 232, 0.2);
}

.welcome-screen.is-lims-workstation-opening .mentor-dialogue {
    left: clamp(18px, 3vw, 34px);
    top: 48%;
    width: min(320px, 25%);
}

.welcome-screen.is-lims-monitor-active .lims-workstation,
.welcome-screen.is-sample-queue-visible .lims-workstation,
.welcome-screen.is-lims-workstation-ready .lims-workstation,
.welcome-screen.is-sample-record-opening .lims-workstation,
.welcome-screen.is-sample-record-visible .lims-workstation,
.welcome-screen.is-sample-record-ready .lims-workstation,
.welcome-screen.is-analyst-worklist .lims-workstation {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
}

.welcome-screen.is-sample-queue-visible .lims-workstation__monitor,
.welcome-screen.is-lims-workstation-ready .lims-workstation__monitor,
.welcome-screen.is-sample-record-opening .lims-workstation__monitor,
.welcome-screen.is-sample-record-visible .lims-workstation__monitor,
.welcome-screen.is-sample-record-ready .lims-workstation__monitor,
.welcome-screen.is-analyst-worklist .lims-workstation__monitor {
    border-color: rgba(170, 226, 250, 0.56);
}

.welcome-screen.is-sample-queue-visible .lims-sample-queue,
.welcome-screen.is-lims-workstation-ready .lims-sample-queue {
    opacity: 1;
    transform: translateY(0);
}

.welcome-screen.is-sample-record-opening .mentor-dialogue,
.welcome-screen.is-sample-record-visible .mentor-dialogue,
.welcome-screen.is-sample-record-ready .mentor-dialogue {
    left: clamp(18px, 3vw, 34px);
    top: 47%;
    width: min(320px, 25%);
}

.welcome-screen.is-sample-record-opening .lims-workstation,
.welcome-screen.is-sample-record-visible .lims-workstation,
.welcome-screen.is-sample-record-ready .lims-workstation {
    top: 48%;
    aspect-ratio: 16 / 9.2;
    max-height: calc(100svh - 154px);
}

.welcome-screen.is-sample-record-ready.is-sample-assignment-open .lims-workstation,
.welcome-screen.is-sample-record-ready.is-sample-assignment-confirmed .lims-workstation {
    top: 42%;
    width: min(760px, 52vw);
    height: min(68dvh, calc(100dvh - var(--presentation-top-safe) - var(--presentation-bottom-safe) - 42px));
    max-height: calc(100dvh - var(--presentation-top-safe) - var(--presentation-bottom-safe) - 42px);
    aspect-ratio: auto;
}

.welcome-screen.is-sample-record-visible .lims-workstation,
.welcome-screen.is-sample-record-ready .lims-workstation {
    pointer-events: auto;
}

.welcome-screen.is-analyst-worklist .lims-workstation {
    left: clamp(340px, 27vw, 380px);
    right: clamp(18px, 2vw, 28px);
    top: 48%;
    width: auto;
    height: min(72vh, 590px);
    max-height: calc(100svh - 138px);
    aspect-ratio: auto;
    pointer-events: auto;
    transform: translateY(-48%);
}

.is-demo-notes-open .welcome-screen.is-sample-record-opening .lims-workstation,
.is-demo-notes-open .welcome-screen.is-sample-record-visible .lims-workstation,
.is-demo-notes-open .welcome-screen.is-sample-record-ready .lims-workstation {
    left: clamp(336px, 26vw, 390px);
    right: clamp(16px, 2vw, 28px);
    top: calc(var(--presentation-top-safe) + 48px);
    width: auto;
    height: calc(100dvh - var(--presentation-top-safe) - var(--presentation-bottom-safe) - 74px);
    max-height: none;
    aspect-ratio: auto;
    transform: none;
}

.is-demo-notes-open .welcome-screen.is-sample-record-ready.is-sample-assignment-open .lims-workstation,
.is-demo-notes-open .welcome-screen.is-sample-record-ready.is-sample-assignment-confirmed .lims-workstation {
    left: clamp(336px, 26vw, 390px);
    right: clamp(16px, 2vw, 28px);
    top: calc(var(--presentation-top-safe) + 34px);
    width: auto;
    height: calc(100dvh - var(--presentation-top-safe) - var(--presentation-bottom-safe) - 56px);
    max-height: none;
    aspect-ratio: auto;
    transform: none;
}

.is-demo-notes-open .welcome-screen.is-analyst-worklist .lims-workstation {
    left: clamp(306px, 24vw, 360px);
    right: clamp(16px, 2vw, 28px);
    top: calc(var(--presentation-top-safe) + 20px);
    height: calc(100dvh - var(--presentation-top-safe) - var(--presentation-bottom-safe) - 42px);
    max-height: none;
    transform: none;
}

.is-demo-notes-open .welcome-screen.is-analyst-worklist .mentor-dialogue,
.is-demo-notes-open .welcome-screen.is-sample-record-opening .mentor-dialogue,
.is-demo-notes-open .welcome-screen.is-sample-record-visible .mentor-dialogue,
.is-demo-notes-open .welcome-screen.is-sample-record-ready .mentor-dialogue {
    width: min(292px, 22vw);
}

.welcome-screen.is-analyst-worklist .mentor-dialogue {
    left: clamp(18px, 3vw, 34px);
    top: 50%;
    width: clamp(270px, 21vw, 306px);
    transform: translateY(-50%);
}

.welcome-screen.is-analyst-worklist .lims-analyst-worklist {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.map-zone {
    position: absolute;
    pointer-events: none;
}

.map-zone::before {
    position: absolute;
    inset: 0;
    content: "";
    border: 1px solid rgba(133, 207, 240, 0);
    border-radius: 10px;
    background: rgba(91, 177, 219, 0);
    box-shadow: 0 0 0 rgba(111, 200, 238, 0);
    transition:
        border-color var(--duration-medium) var(--ease-cinematic),
        background-color var(--duration-medium) var(--ease-cinematic),
        box-shadow var(--duration-medium) var(--ease-cinematic),
        opacity var(--duration-medium) var(--ease-cinematic);
}

.zone-map-label {
    position: absolute;
    left: 12px;
    top: 10px;
    padding: 5px 10px;
    border: 1px solid rgba(169, 219, 242, 0.42);
    border-radius: 4px;
    color: rgba(238, 249, 253, 0.92);
    background: rgba(7, 18, 28, 0.72);
    font-size: clamp(0.58rem, 0.9vw, 0.74rem);
    font-weight: 700;
    letter-spacing: 0.07em;
    line-height: 1.2;
    opacity: 0;
    text-transform: uppercase;
    transform: translateY(4px);
    transition:
        opacity var(--duration-medium) var(--ease-cinematic),
        transform var(--duration-medium) var(--ease-cinematic);
    white-space: nowrap;
}

.map-zone--sample-receipt {
    left: 8%;
    top: 54%;
    width: 22%;
    height: 25%;
}

.map-zone--wet-chemistry {
    left: 8%;
    top: 16%;
    width: 38%;
    height: 36%;
}

.map-zone--learner-workstation {
    left: 44%;
    top: 72%;
    width: 48%;
    height: 18%;
}

.map-zone--instrument-lab {
    left: 54%;
    top: 15%;
    width: 38%;
    height: 39%;
}

.map-zone--hplc-system {
    left: 52%;
    top: 45%;
    width: 34%;
    height: 38%;
}

.map-zone--mentor {
    left: 47%;
    top: 58%;
    width: 6%;
    height: 20%;
}

.welcome-screen.is-orienting .mentor-focus-layer {
    opacity: 0.72;
}

.welcome-screen.is-orienting .mentor-edge-light {
    opacity: 0.38;
}

.welcome-screen.is-orienting .lab-scene__visual {
    transition: transform 900ms var(--ease-cinematic);
}

.welcome-screen[data-active-zone="sample-receipt"] .lab-scene__visual {
    transform: scale(1.018) translate3d(1.1%, -0.6%, 0);
}

.welcome-screen.is-sample-walkover .lab-scene__visual {
    transform: scale(1.035) translate3d(2.2%, -1.8%, 0);
    transition: transform 1400ms var(--ease-cinematic);
}

.welcome-screen[data-active-zone="wet-chemistry"] .lab-scene__visual {
    transform: scale(1.018) translate3d(1%, 0.8%, 0);
}

.welcome-screen.is-wet-chemistry-walkover .lab-scene__visual {
    transform: scale(1.035) translate3d(1.9%, 1%, 0);
    transition: transform 1400ms var(--ease-cinematic);
}

.welcome-screen[data-active-zone="instrument-lab"] .lab-scene__visual {
    transform: scale(1.018) translate3d(-1%, 0.7%, 0);
}

.welcome-screen.is-instrument-lab-walkover .lab-scene__visual {
    transform: scale(1.035) translate3d(-2.1%, 0.5%, 0);
    transition: transform 1400ms var(--ease-cinematic);
}

.welcome-screen[data-active-zone="sample-receipt"] .map-zone--sample-receipt::before,
.welcome-screen[data-active-zone="wet-chemistry"] .map-zone--wet-chemistry::before,
.welcome-screen[data-active-zone="instrument-lab"] .map-zone--instrument-lab::before,
.welcome-screen[data-active-zone="learner-workstation"] .map-zone--learner-workstation::before,
.welcome-screen[data-active-zone="hplc-system"] .map-zone--hplc-system::before {
    border-color: rgba(144, 218, 249, 0.72);
    background: rgba(91, 177, 219, 0.08);
    box-shadow:
        inset 0 0 34px rgba(103, 194, 232, 0.1),
        0 0 24px rgba(103, 194, 232, 0.14);
}

.welcome-screen[data-active-zone="sample-receipt"] .map-zone--sample-receipt .zone-map-label,
.welcome-screen[data-active-zone="wet-chemistry"] .map-zone--wet-chemistry .zone-map-label,
.welcome-screen[data-active-zone="instrument-lab"] .map-zone--instrument-lab .zone-map-label {
    opacity: 1;
    transform: translateY(0);
}

.welcome-screen.is-wet-chemistry-walkover .mentor-focus-layer {
    opacity: 0.78;
}

.welcome-screen.is-wet-chemistry-walkover .mentor-edge-light {
    opacity: 0.46;
    background: radial-gradient(ellipse at 28% 42%, rgba(166, 221, 244, 0.22), transparent 18%);
}

.welcome-screen.is-wet-chemistry-walkover .mentor-visual {
    left: 31%;
    bottom: 41%;
    transform: scale(0.78);
    transition:
        left 1300ms var(--ease-cinematic),
        bottom 1300ms var(--ease-cinematic),
        transform 1300ms var(--ease-cinematic);
}

.welcome-screen.is-wet-chemistry-walkover .mentor-dialogue {
    left: 47%;
    top: 47%;
    width: min(440px, 44%);
    transition:
        left 900ms var(--ease-cinematic),
        top 900ms var(--ease-cinematic),
        opacity var(--duration-medium) var(--ease-cinematic),
        transform var(--duration-medium) var(--ease-cinematic);
}

.welcome-screen.is-wet-chemistry-workstation .mentor-dialogue {
    left: clamp(18px, 3vw, 34px);
    top: 50%;
    width: min(360px, 30%);
    transform: translateY(-50%);
}

.welcome-screen.is-wet-chemistry-workstation.is-mobile-phase-preparation .mentor-dialogue {
    left: clamp(18px, 3vw, 34px);
    right: auto;
    top: 50%;
    width: min(320px, 25%);
    transform: translateY(-50%);
}

.welcome-screen.is-wet-chemistry-walkover .map-zone--wet-chemistry::before {
    border-color: rgba(160, 226, 252, 0.82);
    background: rgba(91, 177, 219, 0.12);
    box-shadow:
        inset 0 0 44px rgba(103, 194, 232, 0.14),
        0 0 32px rgba(103, 194, 232, 0.18);
}

.welcome-screen.is-learner-workstation-focus .map-zone--wet-chemistry::before {
    border-color: rgba(144, 218, 249, 0.34);
    background: rgba(91, 177, 219, 0.04);
    box-shadow: inset 0 0 24px rgba(103, 194, 232, 0.08);
}

.welcome-screen.is-learner-workstation-focus .map-zone--learner-workstation::before {
    border-color: rgba(187, 234, 255, 0.88);
    background: rgba(117, 198, 232, 0.18);
    box-shadow:
        inset 0 0 38px rgba(129, 213, 245, 0.18),
        0 0 34px rgba(129, 213, 245, 0.24);
}

.welcome-screen.is-instrument-lab-walkover .mentor-focus-layer {
    opacity: 0.78;
}

.welcome-screen.is-instrument-lab-walkover .mentor-edge-light {
    opacity: 0.48;
    background: radial-gradient(ellipse at 71% 42%, rgba(166, 221, 244, 0.22), transparent 18%);
}

.welcome-screen.is-instrument-lab-walkover .mentor-visual {
    left: 61%;
    bottom: 42%;
    transform: scale(0.76);
    transition:
        left 1300ms var(--ease-cinematic),
        bottom 1300ms var(--ease-cinematic),
        transform 1300ms var(--ease-cinematic);
}

.welcome-screen.is-instrument-lab-walkover .mentor-dialogue {
    left: 18%;
    top: 48%;
    width: min(440px, 42%);
    transition:
        left 900ms var(--ease-cinematic),
        top 900ms var(--ease-cinematic),
        opacity var(--duration-medium) var(--ease-cinematic),
        transform var(--duration-medium) var(--ease-cinematic);
}

.welcome-screen.is-instrument-lab-walkover .map-zone--instrument-lab::before {
    border-color: rgba(160, 226, 252, 0.82);
    background: rgba(91, 177, 219, 0.12);
    box-shadow:
        inset 0 0 44px rgba(103, 194, 232, 0.14),
        0 0 32px rgba(103, 194, 232, 0.18);
}

.welcome-screen.is-hplc-system-focus .map-zone--instrument-lab::before {
    border-color: rgba(144, 218, 249, 0.34);
    background: rgba(91, 177, 219, 0.04);
    box-shadow: inset 0 0 24px rgba(103, 194, 232, 0.08);
}

.welcome-screen.is-hplc-system-focus .map-zone--hplc-system::before {
    border-color: rgba(187, 234, 255, 0.9);
    background: rgba(117, 198, 232, 0.18);
    box-shadow:
        inset 0 0 40px rgba(129, 213, 245, 0.2),
        0 0 36px rgba(129, 213, 245, 0.24);
}

.welcome-screen.is-sample-walkover .mentor-focus-layer {
    opacity: 0.82;
}

.welcome-screen.is-sample-walkover .mentor-edge-light {
    opacity: 0.52;
    background: radial-gradient(ellipse at 20% 66%, rgba(166, 221, 244, 0.24), transparent 16%);
}

.welcome-screen.is-sample-walkover .mentor-visual {
    left: 23%;
    bottom: 18%;
    transform: scale(0.86);
    transition:
        left 1300ms var(--ease-cinematic),
        bottom 1300ms var(--ease-cinematic),
        transform 1300ms var(--ease-cinematic);
}

.welcome-screen.is-sample-walkover .mentor-dialogue {
    left: 36%;
    top: 57%;
    width: min(420px, 42%);
    transition:
        left 900ms var(--ease-cinematic),
        top 900ms var(--ease-cinematic),
        opacity var(--duration-medium) var(--ease-cinematic),
        transform var(--duration-medium) var(--ease-cinematic);
}

.welcome-screen.is-sample-walkover .map-zone--sample-receipt::before {
    border-color: rgba(160, 226, 252, 0.82);
    background: rgba(91, 177, 219, 0.12);
    box-shadow:
        inset 0 0 42px rgba(103, 194, 232, 0.14),
        0 0 32px rgba(103, 194, 232, 0.18);
}

.welcome-screen.is-sample-receipt-focus .map-zone--sample-receipt::before {
    background: rgba(91, 177, 219, 0.16);
    box-shadow:
        inset 0 0 54px rgba(103, 194, 232, 0.18),
        0 0 38px rgba(103, 194, 232, 0.22);
}

.lab-scene__accessibility {
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
}

.fallback-zone {
    position: absolute;
    border: 1px solid rgba(217, 235, 245, 0.2);
    background:
        linear-gradient(90deg, rgba(235, 246, 251, 0.08), transparent 18% 82%, rgba(235, 246, 251, 0.06)),
        linear-gradient(180deg, rgba(71, 111, 132, 0.22), rgba(15, 32, 44, 0.34));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.sample-receipt-visual {
    left: 8%;
    top: 54%;
    width: 22%;
    height: 25%;
    transform: skewY(-4deg);
}

.wet-chemistry-visual {
    left: 8%;
    top: 16%;
    width: 38%;
    height: 36%;
    transform: skewY(-3deg);
}

.instrument-lab-visual {
    right: 8%;
    top: 15%;
    width: 38%;
    height: 39%;
    transform: skewY(3deg);
}

.learner-bench-visual {
    left: 44%;
    right: 8%;
    top: 72%;
    border-color: rgba(165, 220, 242, 0.46);
    box-shadow: 0 -18px 40px rgba(187, 225, 242, 0.1);
}

.mentor-visual {
    position: absolute;
    left: 47%;
    bottom: 26%;
    width: 64px;
    height: 138px;
}

.mentor-visual .mentor-figure {
    position: absolute;
    inset: auto auto 0 0;
    width: 50px;
    height: 132px;
    transform: scale(0.9);
}

@media (max-width: 640px) {
    .lab-scene {
        width: 100vw;
        height: 56.25vw;
    }

    .map-zone--sample-receipt,
    .sample-receipt-visual {
        left: 5%;
        top: 56%;
        width: 27%;
        height: 23%;
    }

    .map-zone--wet-chemistry,
    .wet-chemistry-visual {
        left: 4%;
        top: 18%;
        width: 43%;
        height: 34%;
    }

    .map-zone--instrument-lab,
    .instrument-lab-visual {
        left: 53%;
        top: 17%;
        width: 43%;
        height: 35%;
    }

    .map-zone--hplc-system {
        left: 48%;
        top: 46%;
        width: 42%;
        height: 36%;
    }

    .map-zone--mentor {
        left: 45%;
        top: 58%;
        width: 8%;
        height: 18%;
    }

    .mentor-visual {
        left: 45%;
        bottom: 25%;
        transform: scale(0.82);
    }

    .mentor-dialogue {
        left: 48%;
        top: 53%;
        width: min(320px, 48%);
        padding: 13px 14px;
    }

    .mentor-dialogue__continue {
        width: 100%;
    }

    .zone-map-label {
        left: 7px;
        top: 7px;
        max-width: calc(100% - 14px);
        overflow: hidden;
        font-size: 0.52rem;
        text-overflow: ellipsis;
    }

    .welcome-screen.is-sample-walkover .mentor-visual {
        left: 18%;
        bottom: 20%;
        transform: scale(0.72);
    }

    .welcome-screen.is-sample-walkover .mentor-dialogue {
        left: 34%;
        top: 55%;
        width: min(330px, 58%);
    }

    .welcome-screen.is-wet-chemistry-walkover .mentor-visual {
        left: 30%;
        bottom: 39%;
        transform: scale(0.66);
    }

    .welcome-screen.is-wet-chemistry-walkover .mentor-dialogue {
        left: 42%;
        top: 46%;
        width: min(340px, 54%);
    }

    .welcome-screen.is-instrument-lab-walkover .mentor-visual {
        left: 60%;
        bottom: 39%;
        transform: scale(0.66);
    }

    .welcome-screen.is-instrument-lab-walkover .mentor-dialogue {
        left: 8%;
        top: 50%;
        width: min(340px, 52%);
    }

    .welcome-screen.is-lims-introduction .mentor-dialogue {
        left: 7%;
        top: 56%;
        width: min(340px, 52%);
    }

    .trace-entity,
    .lims-node {
        min-height: 21px;
        padding: 4px 7px;
        font-size: 0.52rem;
    }

    .lims-node {
        min-width: 58px;
        min-height: 32px;
    }

    .welcome-screen.is-lims-workflow .mentor-dialogue {
        left: 7%;
        top: 56%;
        width: min(340px, 52%);
    }

    .workstation-transfer__card {
        right: 14px;
        top: 43%;
        width: min(300px, 42%);
        padding: 12px 13px;
    }

    .analysis-sequencing__card {
        right: 14px;
        top: 43%;
        width: min(340px, 46%);
        max-height: 78vh;
        padding: 12px 13px;
    }

    .resource-exploration__card {
        right: 14px;
        top: 41%;
        width: min(286px, 40%);
        max-height: 64vh;
        padding: 13px;
    }

    .resource-exploration {
        --resource-edge-pad: 14px;
        --resource-mentor-zone: 268px;
        --resource-hotspot-zone: minmax(118px, 138px);
        --resource-review-zone: min(286px, 40vw);
    }

    .resource-exploration__hotspots {
        top: 32%;
        bottom: 17%;
        grid-template-columns:
            var(--resource-mentor-zone)
            var(--resource-hotspot-zone)
            var(--resource-hotspot-zone)
            var(--resource-review-zone);
        column-gap: 16px;
        padding: 0 var(--resource-edge-pad);
    }

    .welcome-screen.is-resource-exploration .mentor-dialogue {
        left: var(--resource-edge-pad);
        width: 254px;
    }

    .resource-hotspot {
        min-width: 112px;
        max-width: 138px;
        min-height: 26px;
        padding: 4px 7px;
        font-size: 0.62rem;
    }

    .resource-hotspot-stack {
        gap: 10px;
        width: min(138px, 100%);
    }

    .resource-modal__panel {
        grid-template-columns: 1fr;
        width: min(520px, 72vw);
        max-height: 76vh;
        padding: 13px;
    }

    .resource-modal__visual {
        min-height: 0;
    }

    .resource-modal__image-frame img {
        max-height: 190px;
    }

    .resource-placeholder {
        min-height: 170px;
    }

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

    .analysis-sequencing__card dl div,
    .workstation-transfer__card dl div {
        grid-template-columns: minmax(96px, 0.86fr) minmax(0, 1fr);
        gap: 7px;
    }

    .analysis-sequencing__card dd,
    .analysis-sequencing__card p,
    .analysis-sequencing__card li,
    .analysis-sequencing__card label {
        font-size: 0.68rem;
    }

    .resource-exploration__card p,
    .resource-exploration__card li,
    .resource-exploration__card dt,
    .resource-exploration__card dd,
    .material-staging__card p,
    .material-staging__card li,
    .material-staging__card dt,
    .material-staging__card dd,
    .material-staging__card label,
    .mobile-phase-preparation__card p,
    .mobile-phase-preparation__card li,
    .mobile-phase-preparation__card dt,
    .mobile-phase-preparation__card dd,
    .mobile-phase-preparation__card label,
    .resource-modal__content dd {
        font-size: 0.68rem;
    }

    .material-staging__card {
        right: 14px;
        top: 35%;
        width: min(310px, 42%);
        max-height: 66vh;
        padding: 12px 13px;
    }

    .material-staging__groups {
        gap: 6px;
    }

    .material-staging__groups section {
        padding: 6px;
    }

    .material-staging__visual {
        left: 33%;
        bottom: 8%;
        width: min(390px, 37%);
        height: 190px;
    }

    .material-staging__zone {
        min-width: 96px;
        min-height: 40px;
        padding: 6px 8px;
        font-size: 0.6rem;
    }

    .mobile-phase-preparation__card {
        right: 14px;
        top: 35%;
        width: min(310px, 42%);
        max-height: 66vh;
        padding: 12px 13px;
    }

    .mobile-phase-preparation__groups {
        gap: 6px;
    }

    .mobile-phase-preparation__groups section {
        padding: 6px;
    }

    .mobile-phase-preparation__visual {
        left: 33%;
        bottom: 8%;
        width: min(390px, 37%);
        min-height: 190px;
    }

    .mobile-phase-preparation__support img {
        max-height: 45px;
    }

    .mobile-phase-preparation__sequence {
        max-height: 170px;
    }

    .workstation-transfer__bench {
        left: 34%;
        bottom: 8%;
        width: min(390px, 36%);
        height: 170px;
    }

    .lims-workstation {
        left: 40%;
        top: 57%;
        width: 57%;
        aspect-ratio: 16 / 8.8;
    }

    .welcome-screen.is-lims-workstation-opening .mentor-dialogue {
        left: 5%;
        top: 43%;
        width: min(300px, 38%);
    }

    .lims-workstation__header {
        grid-template-columns: minmax(0, 1fr) auto auto;
        gap: 8px;
        padding: 8px 9px 5px;
    }

    .lims-workstation__header p {
        font-size: 0.58rem;
    }

    .lims-workstation__header span {
        font-size: 0.48rem;
    }

    .lims-sample-queue {
        padding: 6px 6px 8px;
    }

    .lims-sample-queue table {
        font-size: 0.46rem;
    }

    .lims-sample-queue th,
    .lims-sample-queue td {
        padding: 5px 4px;
    }

    .welcome-screen.is-sample-record-opening .mentor-dialogue,
    .welcome-screen.is-sample-record-visible .mentor-dialogue,
    .welcome-screen.is-sample-record-ready .mentor-dialogue {
        left: 5%;
        top: 42%;
        width: min(300px, 38%);
    }

    .welcome-screen.is-sample-record-opening .lims-workstation,
    .welcome-screen.is-sample-record-visible .lims-workstation,
    .welcome-screen.is-sample-record-ready .lims-workstation {
        left: 39%;
        top: 53%;
        width: 59%;
        aspect-ratio: 16 / 10;
    }

    .welcome-screen.is-analyst-worklist .lims-workstation {
        left: 300px;
        right: 12px;
        top: 50%;
        width: auto;
        height: min(78vh, 560px);
        aspect-ratio: auto;
        transform: translateY(-48%);
    }

    .welcome-screen.is-analyst-worklist .mentor-dialogue {
        left: 12px;
        top: 50%;
        width: 268px;
        transform: translateY(-50%);
    }

    .lims-analyst-worklist {
        padding: 7px;
    }

    .lims-analyst-worklist__header {
        gap: 6px;
        padding-bottom: 5px;
    }

    .lims-analyst-worklist__header dl,
    .lims-worklist-summary dl {
        gap: 4px;
    }

    .lims-worklist-layout {
        gap: 5px;
    }

    .lims-worklist-table,
    .lims-work-item-detail,
    .lims-analysis-plan {
        padding: 5px;
    }

    .lims-controlled-docs {
        gap: 8px;
    }

    .lims-doc-preview {
        max-height: 96px;
        padding: 5px 6px;
    }

    .lims-worklist-table table,
    .lims-work-item-detail dt,
    .lims-work-item-detail dd,
    .lims-doc-preview dt,
    .lims-doc-preview dd,
    .lims-plan-checks label,
    .lims-plan-context {
        font-size: 0.48rem;
    }

    .lims-work-item-grid {
        gap: 5px;
    }

    .lims-sample-record {
        padding: 7px;
    }

    .lims-sample-record__header {
        grid-template-columns: 1fr auto;
        gap: 6px;
        padding-bottom: 5px;
    }

    .lims-sample-record__header h2 {
        font-size: 0.76rem;
    }

    .lims-sample-record__badges {
        gap: 5px;
    }

    .lims-sample-record__back {
        grid-column: auto;
        justify-self: end;
        min-height: 22px;
        padding: 3px 7px;
        font-size: 0.48rem;
    }

    .lims-record-grid {
        grid-template-columns: 1fr 1fr;
        gap: 6px;
        padding-top: 6px;
    }

    .lims-record-section h3 {
        padding: 5px 6px 4px;
        font-size: 0.48rem;
    }

    .lims-record-section dl {
        padding: 3px 6px 5px;
    }

    .lims-record-section div {
        grid-template-columns: 0.9fr 1fr;
        gap: 5px;
        padding: 2px 0;
    }

    .lims-record-section dt,
    .lims-record-section dd {
        font-size: 0.45rem;
    }

    .lims-assignment-panel {
        grid-template-columns: 1fr;
        gap: 5px;
        margin-top: 5px;
        padding-top: 5px;
    }

    .lims-assignment-form legend {
        font-size: 0.46rem;
    }

    .lims-analyst-option {
        min-height: 24px;
        padding: 3px 5px;
    }

    .lims-analyst-option > span {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 3px 5px;
    }

    .lims-analyst-option strong,
    .lims-allocation-blocked {
        grid-column: 1 / -1;
    }

    .lims-analyst-option strong,
    .lims-analyst-option span span,
    .lims-assignment-summary dt,
    .lims-assignment-summary dd,
    .lims-assignment-success {
        font-size: 0.43rem;
    }

    .lims-assignment-summary {
        padding: 5px 6px;
    }

    .lims-workflow__stage {
        min-height: 21px;
        padding: 4px 7px;
        font-size: 0.5rem;
    }

    .lims-workflow__stage--sample-registration {
        left: 20%;
        top: 70%;
    }

    .lims-workflow__stage--test-assignment {
        left: 36%;
        top: 59%;
    }

    .lims-workflow__stage--analyst-allocation {
        left: 35%;
        top: 34%;
    }

    .lims-workflow__stage--instrument-execution {
        left: 72%;
        top: 31%;
    }

    .lims-workflow__stage--result-entry {
        left: 74%;
        top: 57%;
    }

    .lims-workflow__stage--review-approval {
        left: 55%;
        top: 75%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .welcome-screen.is-mentor-aware .lab-scene__visual,
    .welcome-screen.is-mentor-aware .mentor-visual .mentor-figure,
    .welcome-screen[data-active-zone] .lab-scene__visual,
    .welcome-screen.is-sample-walkover .lab-scene__visual,
    .welcome-screen.is-wet-chemistry-walkover .lab-scene__visual,
    .welcome-screen.is-instrument-lab-walkover .lab-scene__visual,
    .welcome-screen.is-lims-introduction .lab-scene__visual,
    .welcome-screen.is-lims-workstation-opening .lab-scene__visual {
        transform: none;
    }

    .welcome-screen.is-sample-walkover .mentor-visual,
    .welcome-screen.is-sample-walkover .mentor-dialogue,
    .welcome-screen.is-wet-chemistry-walkover .mentor-visual,
    .welcome-screen.is-wet-chemistry-walkover .mentor-dialogue,
    .welcome-screen.is-instrument-lab-walkover .mentor-visual,
    .welcome-screen.is-instrument-lab-walkover .mentor-dialogue,
    .welcome-screen.is-lims-introduction .mentor-dialogue,
    .trace-path,
    .trace-entity,
    .lims-node,
    .lims-workflow__stage,
    .lims-workflow__connector,
    .lims-workstation,
    .lims-sample-queue,
    .lims-sample-record,
    .workstation-transfer__analyst,
    .workstation-transfer__sample,
    .workstation-transfer__bench,
    .workstation-transfer__card,
    .analysis-sequencing__card,
    .resource-hotspot,
    .resource-exploration__card,
    .material-staging__visual,
    .material-staging__zone,
    .material-staging__card,
    .mobile-phase-preparation__visual,
    .mobile-phase-preparation__card,
    .presentation-shell__bar span,
    .journey-map__panel,
    .preparation-readiness-overview__intro,
    .preparation-readiness-overview__decision,
    .readiness-tile,
    .analytical-preparation-overview__card,
    .guided-overview__intro,
    .guided-overview__visual,
    .guided-overview__decision,
    .guided-overview-modal__panel,
    .resource-modal__panel,
    .welcome-screen.is-lims-workstation-opening .mentor-dialogue {
        transition-duration: 180ms;
    }

    .resource-hotspot::before {
        animation: none;
    }

    .welcome-screen.is-lims-workflow .trace-path,
    .welcome-screen.is-lims-workflow .trace-entity,
    .welcome-screen.is-lims-workflow .lims-node,
    .welcome-screen.is-lims-workflow .lims-workflow__stage,
    .welcome-screen.is-lims-workflow .lims-workflow__current,
    .welcome-screen.is-lims-workflow .lims-workflow__progress {
        transition: none;
    }
}

.welcome-screen.is-mobile-phase-preparation .mentor-dialogue {
    left: clamp(18px, 3vw, 34px);
    right: auto;
    top: 50%;
    width: min(320px, 25%);
    transform: translateY(-50%);
}

.welcome-screen.is-mobile-phase-preparation.is-mentor-speaking .mentor-dialogue {
    transform: translateY(-50%);
}

body.is-content-modal-open .mentor-dialogue {
    visibility: hidden;
    pointer-events: none;
}

.welcome-screen.is-analysis-sequencing .analysis-sequencing__card {
    top: calc(var(--presentation-top-safe) + 12px);
    max-height: calc(100dvh - var(--presentation-top-safe) - var(--presentation-bottom-safe) - 24px);
    transform: none;
}

.welcome-screen.is-analyst-worklist .lims-worklist-stage--planning {
    min-height: 0;
    overflow: hidden;
}

.welcome-screen.is-analyst-worklist .lims-analysis-plan {
    max-height: calc(100dvh - var(--presentation-top-safe) - var(--presentation-bottom-safe) - 92px);
    overflow: auto;
}

body.is-demo-notes-open .welcome-screen.is-analyst-worklist .lims-analysis-plan {
    max-height: calc(var(--presentation-content-height) - 96px);
}

.welcome-screen.is-lims-workflow .trace-entity--result {
    left: 76%;
    top: 35%;
}

.welcome-screen.is-lims-workflow .trace-entity--status {
    left: 44%;
    top: 68%;
}

.welcome-screen.is-lims-workflow .trace-path--result-lims {
    --trace-angle: -20deg;
    left: 53%;
    top: 43%;
    width: 23%;
}

.welcome-screen.is-lims-workflow .trace-path--status-lims {
    --trace-angle: 104deg;
    left: 48%;
    top: 51%;
    width: 18%;
}

.welcome-screen.is-lims-workflow .lims-workflow__stage--result-entry {
    left: 79%;
    top: 47%;
}

.welcome-screen.is-lims-workflow .lims-workflow__stage--review-approval {
    left: 35%;
    top: 72%;
}

.welcome-screen.is-lims-workflow .lims-workflow__connector--five {
    left: 43%;
    top: 66%;
    width: 18%;
    transform: rotate(-32deg) scaleX(0.75);
}

.welcome-screen.is-lims-workflow .lims-workflow__progress {
    left: 43%;
    bottom: calc(var(--presentation-bottom-safe) + 18px);
}

.welcome-screen[data-lims-workflow-state="review-approval"] .trace-path--result-lims,
.welcome-screen[data-lims-workflow-state="review-approval"] .trace-entity--result,
.welcome-screen[data-lims-workflow-state="review-approval"] .lims-workflow__stage--result-entry {
    opacity: 0.2;
    filter: saturate(0.65);
}

.welcome-screen[data-lims-workflow-state="review-approval"] .trace-path--status-lims,
.welcome-screen[data-lims-workflow-state="review-approval"] .trace-entity--status,
.welcome-screen[data-lims-workflow-state="review-approval"] .lims-workflow__stage--review-approval {
    opacity: 1;
}

/* DEMO-001A.2: authoritative notes-open layout stabilisation. */
body.is-demo-notes-open {
    --presentation-top-safe: 72px;
    --presentation-bottom-safe: 62px;
    --presentation-content-height: calc(100dvh - var(--presentation-top-safe) - var(--presentation-bottom-safe));
}

body.is-demo-notes-open .presentation-shell__top {
    width: min(900px, calc(100% - 36px));
}

body.is-demo-notes-open .presentation-shell__bottom {
    max-width: calc(100% - 36px);
}

.is-demo-notes-open .lims-workstation__monitor,
.is-demo-notes-open .lims-sample-record,
.is-demo-notes-open .lims-analyst-worklist,
.is-demo-notes-open .lims-worklist-stage,
.is-demo-notes-open .lims-work-item-detail,
.is-demo-notes-open .lims-analysis-plan,
.is-demo-notes-open .lims-record-grid,
.is-demo-notes-open .lims-assignment-panel {
    min-height: 0;
}

.is-demo-notes-open .welcome-screen.is-sample-record-opening .lims-workstation,
.is-demo-notes-open .welcome-screen.is-sample-record-visible .lims-workstation,
.is-demo-notes-open .welcome-screen.is-sample-record-ready .lims-workstation,
.is-demo-notes-open .welcome-screen.is-sample-record-ready.is-sample-assignment-open .lims-workstation,
.is-demo-notes-open .welcome-screen.is-sample-record-ready.is-sample-assignment-confirmed .lims-workstation,
.is-demo-notes-open .welcome-screen.is-analyst-worklist .lims-workstation {
    max-height: none;
    transform: none;
}

.is-demo-notes-open .welcome-screen.is-sample-record-opening .lims-workstation,
.is-demo-notes-open .welcome-screen.is-sample-record-visible .lims-workstation,
.is-demo-notes-open .welcome-screen.is-sample-record-ready .lims-workstation {
    left: clamp(326px, 25vw, 390px);
    right: clamp(16px, 2vw, 28px);
    top: calc(var(--presentation-top-safe) + 42px);
    width: auto;
    height: calc(var(--presentation-content-height) - 58px);
    aspect-ratio: auto;
}

.is-demo-notes-open .welcome-screen.is-sample-record-ready.is-sample-assignment-open .lims-workstation,
.is-demo-notes-open .welcome-screen.is-sample-record-ready.is-sample-assignment-confirmed .lims-workstation {
    top: calc(var(--presentation-top-safe) + 26px);
    height: calc(var(--presentation-content-height) - 36px);
}

.is-demo-notes-open .welcome-screen.is-analyst-worklist .lims-workstation {
    left: clamp(300px, 23vw, 356px);
    right: clamp(16px, 2vw, 28px);
    top: calc(var(--presentation-top-safe) + 16px);
    width: auto;
    height: calc(var(--presentation-content-height) - 28px);
    aspect-ratio: auto;
}

.is-demo-notes-open .lims-analyst-list {
    max-height: min(360px, 38dvh);
    overflow-y: auto;
}

.is-demo-notes-open .lims-controlled-docs {
    grid-template-columns: repeat(2, minmax(180px, 1fr));
}

.is-demo-notes-open .lims-controlled-docs .lims-begin-planning {
    grid-column: 1 / -1;
}

.is-demo-notes-open .workstation-transfer__card,
.is-demo-notes-open .analysis-sequencing__card,
.is-demo-notes-open .resource-exploration__card,
.is-demo-notes-open .material-staging__card,
.is-demo-notes-open .mobile-phase-preparation__card {
    right: clamp(18px, 2vw, 28px);
    max-height: calc(var(--presentation-content-height) - 36px);
    overflow-y: auto;
}

.is-demo-notes-open .workstation-transfer__card {
    width: min(420px, 36%);
}

.is-demo-notes-open .analysis-sequencing__card {
    width: min(470px, 39%);
}

.is-demo-notes-open .resource-exploration__card {
    top: calc(var(--presentation-top-safe) + 42px);
    width: clamp(286px, 27%, 340px);
    transform: none;
}

.is-demo-notes-open .resource-exploration__hotspots {
    right: clamp(330px, 30%, 390px);
    grid-template-columns: var(--resource-mentor-zone) var(--resource-hotspot-zone) var(--resource-hotspot-zone);
}

.is-demo-notes-open .mobile-phase-preparation__card {
    width: clamp(292px, 28%, 348px);
}

.is-demo-notes-open .mobile-phase-preparation__visual {
    left: clamp(330px, 32%, 440px);
    width: min(410px, 34%);
}

.is-demo-notes-open .preparation-readiness-overview {
    left: clamp(292px, 23vw, 340px);
    right: var(--presentation-side-safe);
    max-height: var(--presentation-content-height);
    overflow-y: auto;
}

.is-demo-notes-open .preparation-readiness-overview__layout {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    height: auto;
    min-height: 100%;
}

.is-demo-notes-open .preparation-readiness-overview__intro,
.is-demo-notes-open .preparation-readiness-overview__decision {
    align-self: stretch;
    max-height: none;
    overflow: visible;
}

.is-demo-notes-open .preparation-readiness-overview__matrix {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.is-demo-notes-open .welcome-screen[data-guided-overview-stage="lifecycle-summary"] .guided-overview__decision .preparation-readiness-overview__actions {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
}

.welcome-screen.is-sample-record-visible .lab-scene__information-network,
.welcome-screen.is-sample-record-ready .lab-scene__information-network,
.welcome-screen.is-sample-assignment-open .lab-scene__information-network,
.welcome-screen.is-sample-assignment-confirmed .lab-scene__information-network,
.welcome-screen.is-analyst-worklist .lab-scene__information-network,
.welcome-screen.is-wet-chemistry-workstation .lab-scene__information-network,
.welcome-screen.is-analysis-sequencing .lab-scene__information-network,
.welcome-screen.is-resource-exploration .lab-scene__information-network,
.welcome-screen.is-material-staging .lab-scene__information-network,
.welcome-screen.is-mobile-phase-preparation .lab-scene__information-network,
.welcome-screen.is-preparation-readiness-overview .lab-scene__information-network,
.welcome-screen.is-analytical-preparation-overview .lab-scene__information-network {
    display: none;
}

.welcome-screen.is-sample-assignment-open .lims-assignment-panel,
.welcome-screen.is-sample-assignment-confirmed .lims-assignment-panel {
    min-height: 0;
    max-height: none;
    overflow: hidden;
}

.welcome-screen.is-sample-assignment-open .lims-sample-record,
.welcome-screen.is-sample-assignment-confirmed .lims-sample-record {
    height: 100%;
}

.welcome-screen.is-sample-assignment-open .lims-assignment-panel {
    grid-template-columns: minmax(0, 1.08fr) minmax(220px, 0.82fr);
    grid-template-rows: minmax(0, 1fr);
}

.welcome-screen.is-sample-assignment-open .lims-assignment-form,
.welcome-screen.is-sample-assignment-open .lims-assignment-form fieldset {
    display: grid;
    min-height: 0;
    height: 100%;
    overflow: hidden;
}

.welcome-screen.is-sample-assignment-open .lims-assignment-form fieldset {
    grid-template-rows: auto minmax(0, 1fr);
}

.welcome-screen.is-sample-assignment-open .lims-analyst-list {
    height: 100%;
    max-height: none;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding-bottom: 10px;
    scrollbar-gutter: stable;
}

.welcome-screen.is-sample-assignment-open .lims-assignment-summary {
    align-self: start;
}

@media (min-width: 1366px) and (max-width: 1499px) {
    body.is-demo-notes-open {
        --presenter-rail-width: 252px;
        --presentation-horizontal-gap: 10px;
    }
}

@media (max-width: 1359px) {
    body.is-demo-notes-open {
        display: block;
        padding-right: 0;
    }

    .is-demo-notes-open .demo-tools {
        position: fixed;
        right: 12px;
        top: 72px;
        width: min(250px, calc(100vw - 24px));
        margin-top: 0;
    }

    .is-demo-notes-open .demo-notes {
        display: none;
    }

    .is-demo-notes-open .demo-tools::after {
        display: block;
        margin-top: 6px;
        color: rgba(190, 222, 240, 0.78);
        font-size: 0.68rem;
        line-height: 1.25;
        content: "Notes rail collapsed at this width.";
    }

    .is-demo-notes-open .welcome-screen.is-sample-record-opening .lims-workstation,
    .is-demo-notes-open .welcome-screen.is-sample-record-visible .lims-workstation,
    .is-demo-notes-open .welcome-screen.is-sample-record-ready .lims-workstation,
    .is-demo-notes-open .welcome-screen.is-sample-record-ready.is-sample-assignment-open .lims-workstation,
    .is-demo-notes-open .welcome-screen.is-sample-record-ready.is-sample-assignment-confirmed .lims-workstation {
        left: 39%;
        right: 12px;
        top: calc(var(--presentation-top-safe) + 34px);
        height: calc(var(--presentation-content-height) - 48px);
        width: auto;
    }

    .is-demo-notes-open .welcome-screen.is-analyst-worklist .lims-workstation {
        left: 300px;
        right: 12px;
        top: calc(var(--presentation-top-safe) + 16px);
        height: calc(var(--presentation-content-height) - 34px);
    }
}

/* DEMO-002B.5 final lock: Sample Assignment owns its panel bounds and scroll chain. */
.welcome-screen.is-sample-assignment-open,
.welcome-screen.is-sample-assignment-confirmed {
    --sample-assignment-left: clamp(310px, 24vw, 372px);
    --sample-assignment-right-safe: 28px;
    --sample-assignment-width: min(940px, calc(100vw - var(--sample-assignment-left) - var(--sample-assignment-right-safe)));
}

.is-demo-notes-open .welcome-screen.is-sample-assignment-open,
.is-demo-notes-open .welcome-screen.is-sample-assignment-confirmed {
    --sample-assignment-left: clamp(450px, 33vw, 468px);
    --sample-assignment-right-safe: calc(var(--presenter-rail-width, 252px) + 28px);
    --sample-assignment-width: min(900px, calc(100vw - var(--sample-assignment-left) - var(--sample-assignment-right-safe)));
}

.welcome-screen.is-sample-assignment-open .lims-workstation,
.welcome-screen.is-sample-assignment-confirmed .lims-workstation,
.welcome-screen.is-sample-record-ready.is-sample-assignment-open .lims-workstation,
.welcome-screen.is-sample-record-ready.is-sample-assignment-confirmed .lims-workstation {
    left: var(--sample-assignment-left);
    right: auto;
    top: calc(var(--presentation-top-safe) + 18px);
    width: max(640px, var(--sample-assignment-width));
    height: calc(100dvh - var(--presentation-top-safe) - var(--presentation-bottom-safe) - 72px);
    max-width: var(--sample-assignment-width);
    max-height: calc(100dvh - var(--presentation-top-safe) - var(--presentation-bottom-safe) - 54px);
    aspect-ratio: auto;
    transform: none;
}

.welcome-screen.is-sample-assignment-open .mentor-dialogue,
.welcome-screen.is-sample-assignment-confirmed .mentor-dialogue {
    left: clamp(14px, 2vw, 26px);
    top: 50%;
    width: clamp(268px, 22vw, 314px);
    transform: translateY(-50%);
}

.is-demo-notes-open .welcome-screen.is-sample-assignment-open .mentor-dialogue,
.is-demo-notes-open .welcome-screen.is-sample-assignment-confirmed .mentor-dialogue {
    left: 12px;
    width: 200px;
}

.welcome-screen.is-sample-assignment-open .lims-sample-record,
.welcome-screen.is-sample-assignment-confirmed .lims-sample-record {
    display: grid;
    grid-template-rows: auto auto minmax(0, 1fr);
    gap: 7px;
    height: 100%;
    min-height: 0;
    padding: 9px;
    overflow: hidden;
}

.welcome-screen.is-sample-assignment-open .lims-sample-record__header,
.welcome-screen.is-sample-assignment-confirmed .lims-sample-record__header {
    gap: 8px;
    padding-bottom: 4px;
}

.welcome-screen.is-sample-assignment-open .lims-sample-record__header h2,
.welcome-screen.is-sample-assignment-confirmed .lims-sample-record__header h2 {
    font-size: clamp(0.82rem, 1vw, 0.98rem);
}

.welcome-screen.is-sample-assignment-open .lims-sample-record__badges,
.welcome-screen.is-sample-assignment-confirmed .lims-sample-record__badges {
    gap: 6px;
}

.welcome-screen.is-sample-assignment-open .sample-assignment-overview,
.welcome-screen.is-sample-assignment-confirmed .sample-assignment-overview {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 10px;
    flex: 0 0 auto;
    min-width: 0;
    min-height: 0;
    padding-top: 0;
    overflow: visible;
}

.welcome-screen.is-sample-assignment-open .lims-record-section,
.welcome-screen.is-sample-assignment-confirmed .lims-record-section {
    min-width: 0;
    min-height: 0;
    overflow: hidden;
}

.welcome-screen.is-sample-assignment-open .lims-record-section h3,
.welcome-screen.is-sample-assignment-confirmed .lims-record-section h3 {
    padding: 5px 8px 4px;
    font-size: clamp(0.5rem, 0.64vw, 0.62rem);
}

.welcome-screen.is-sample-assignment-open .lims-record-section dl,
.welcome-screen.is-sample-assignment-confirmed .lims-record-section dl {
    padding: 4px 8px 6px;
}

.welcome-screen.is-sample-assignment-open .lims-record-section div,
.welcome-screen.is-sample-assignment-confirmed .lims-record-section div {
    grid-template-columns: minmax(78px, 0.82fr) minmax(0, 1fr);
    gap: 6px;
    padding: 2px 0;
}

.welcome-screen.is-sample-assignment-open .lims-record-section dt,
.welcome-screen.is-sample-assignment-open .lims-record-section dd,
.welcome-screen.is-sample-assignment-confirmed .lims-record-section dt,
.welcome-screen.is-sample-assignment-confirmed .lims-record-section dd {
    min-width: 0;
    overflow-wrap: anywhere;
    font-size: clamp(0.45rem, 0.58vw, 0.56rem);
    line-height: 1.14;
    white-space: normal;
}

.welcome-screen.is-sample-assignment-open .lims-assignment-panel,
.welcome-screen.is-sample-assignment-confirmed .lims-assignment-panel {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: minmax(0, 1fr) auto;
    gap: 6px;
    min-height: 0;
    max-height: none;
    margin-top: 0;
    padding-top: 6px;
    overflow: hidden;
}

.welcome-screen.is-sample-assignment-open .lims-assignment-workspace,
.welcome-screen.is-sample-assignment-confirmed .lims-assignment-workspace {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(220px, 0.75fr);
    gap: 12px;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
}

.welcome-screen.is-sample-assignment-confirmed .lims-assignment-workspace {
    grid-template-columns: minmax(0, 1fr);
}

.welcome-screen.is-sample-assignment-open .sample-assignment-analyst-column,
.welcome-screen.is-sample-assignment-open .sample-assignment-analyst-column fieldset {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    min-width: 0;
    min-height: 0;
    height: 100%;
    overflow: hidden;
}

.welcome-screen.is-sample-assignment-confirmed .sample-assignment-analyst-column {
    display: none;
}

.welcome-screen.is-sample-assignment-open .lims-assignment-form legend {
    margin-bottom: 5px;
    font-size: clamp(0.52rem, 0.68vw, 0.65rem);
}

.welcome-screen.is-sample-assignment-open .lims-analyst-list,
.is-demo-notes-open .welcome-screen.is-sample-assignment-open .lims-analyst-list {
    display: grid;
    gap: 6px;
    min-height: 0;
    height: 100%;
    max-height: none;
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior: contain;
    padding: 0 8px 12px 0;
    scrollbar-gutter: stable;
}

.welcome-screen.is-sample-assignment-open .lims-analyst-option {
    min-height: 0;
    padding: 5px 7px;
}

.welcome-screen.is-sample-assignment-open .lims-analyst-option > span {
    grid-template-columns: minmax(82px, 0.7fr) minmax(0, 1fr);
    gap: 3px 8px;
}

.welcome-screen.is-sample-assignment-open .lims-analyst-option strong,
.welcome-screen.is-sample-assignment-open .lims-analyst-option span span,
.welcome-screen.is-sample-assignment-open .lims-allocation-blocked {
    min-width: 0;
    overflow-wrap: anywhere;
    font-size: clamp(0.48rem, 0.6vw, 0.58rem);
    line-height: 1.16;
    white-space: normal;
}

.welcome-screen.is-sample-assignment-open .lims-allocation-blocked {
    grid-column: 1 / -1;
}

.welcome-screen.is-sample-assignment-open .lims-assignment-summary,
.welcome-screen.is-sample-assignment-confirmed .lims-assignment-summary {
    align-self: start;
    min-width: 0;
    max-width: 100%;
    max-height: 100%;
    padding: 7px 8px;
    overflow: hidden;
    overflow-wrap: anywhere;
}

.welcome-screen.is-assignment-summary-visible .lims-assignment-summary,
.welcome-screen.is-sample-assignment-confirmed .lims-assignment-summary {
    opacity: 1;
}

.welcome-screen.is-sample-assignment-open .lims-assignment-summary div,
.welcome-screen.is-sample-assignment-confirmed .lims-assignment-summary div {
    grid-template-columns: minmax(74px, 0.76fr) minmax(0, 1fr);
    gap: 6px;
    padding: 3px 0;
}

.welcome-screen.is-sample-assignment-open .lims-assignment-summary dt,
.welcome-screen.is-sample-assignment-open .lims-assignment-summary dd,
.welcome-screen.is-sample-assignment-confirmed .lims-assignment-summary dt,
.welcome-screen.is-sample-assignment-confirmed .lims-assignment-summary dd,
.welcome-screen.is-sample-assignment-confirmed .lims-assignment-success {
    min-width: 0;
    overflow-wrap: anywhere;
    font-size: clamp(0.46rem, 0.58vw, 0.56rem);
    line-height: 1.16;
    white-space: normal;
}

.welcome-screen.is-sample-assignment-confirmed .lims-assignment-success {
    display: block;
    margin: 0;
    padding: 6px 8px;
}

@media (max-width: 1359px) {
    .welcome-screen.is-sample-assignment-open,
    .welcome-screen.is-sample-assignment-confirmed {
        --sample-assignment-left: 300px;
        --sample-assignment-right-safe: 16px;
        --sample-assignment-width: calc(100vw - var(--sample-assignment-left) - var(--sample-assignment-right-safe));
    }

    .is-demo-notes-open .welcome-screen.is-sample-assignment-open,
    .is-demo-notes-open .welcome-screen.is-sample-assignment-confirmed {
        --sample-assignment-right-safe: 16px;
    }

    .welcome-screen.is-sample-assignment-open .lims-workstation,
    .welcome-screen.is-sample-assignment-confirmed .lims-workstation,
    .welcome-screen.is-sample-record-ready.is-sample-assignment-open .lims-workstation,
    .welcome-screen.is-sample-record-ready.is-sample-assignment-confirmed .lims-workstation {
        top: calc(var(--presentation-top-safe) + 14px);
        height: calc(100dvh - var(--presentation-top-safe) - var(--presentation-bottom-safe) - 52px);
    }

    .welcome-screen.is-sample-assignment-open .mentor-dialogue,
    .welcome-screen.is-sample-assignment-confirmed .mentor-dialogue {
        left: 12px;
        width: 272px;
    }

    .welcome-screen.is-sample-assignment-open .lims-assignment-workspace,
    .welcome-screen.is-sample-assignment-confirmed .lims-assignment-workspace {
        grid-template-columns: 1fr;
        grid-template-rows: minmax(0, 1fr) auto;
        gap: 7px;
    }

    .welcome-screen.is-sample-assignment-open .lims-assignment-summary,
    .welcome-screen.is-sample-assignment-confirmed .lims-assignment-summary {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 3px 8px;
        padding: 6px 8px;
    }

    .welcome-screen.is-sample-assignment-open .lims-assignment-summary div,
    .welcome-screen.is-sample-assignment-confirmed .lims-assignment-summary div,
    .welcome-screen.is-sample-assignment-open .lims-analyst-option > span {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* DEMO-002B.6: analyst card content containment. */
.welcome-screen.is-sample-assignment-open .lims-analyst-list,
.is-demo-notes-open .welcome-screen.is-sample-assignment-open .lims-analyst-list {
    display: grid;
    align-content: start;
    grid-auto-rows: max-content;
    gap: 6px;
    padding-right: 10px;
}

.welcome-screen.is-sample-assignment-open .lims-analyst-option {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) minmax(112px, 0.32fr);
    align-items: start;
    gap: 6px 10px;
    box-sizing: border-box;
    width: 100%;
    height: auto;
    min-height: 58px;
    max-height: none;
    padding: 7px 9px;
    overflow: hidden;
    transform: none;
}

.welcome-screen.is-sample-assignment-open .lims-analyst-option input {
    align-self: start;
    margin-top: 2px;
}

.welcome-screen.is-sample-assignment-open .lims-analyst-option__details {
    display: grid;
    gap: 2px;
    min-width: 0;
    overflow: hidden;
}

.welcome-screen.is-sample-assignment-open .lims-analyst-option__role {
    align-self: start;
    min-width: 0;
    max-width: 160px;
    color: rgba(162, 211, 234, 0.82);
    font-weight: 800;
    text-align: right;
    overflow-wrap: anywhere;
    word-break: normal;
    white-space: normal;
}

.welcome-screen.is-sample-assignment-open .lims-analyst-option__details strong,
.welcome-screen.is-sample-assignment-open .lims-analyst-option__details span,
.welcome-screen.is-sample-assignment-open .lims-analyst-option__role,
.welcome-screen.is-sample-assignment-open .lims-allocation-blocked {
    min-width: 0;
    overflow: visible;
    overflow-wrap: anywhere;
    word-break: normal;
    text-overflow: clip;
    white-space: normal;
    line-height: 1.16;
}

.welcome-screen.is-sample-assignment-open .lims-analyst-option__details strong {
    color: rgba(238, 249, 253, 0.96);
    font-size: clamp(0.52rem, 0.62vw, 0.62rem);
}

.welcome-screen.is-sample-assignment-open .lims-analyst-option__details span,
.welcome-screen.is-sample-assignment-open .lims-analyst-option__role,
.welcome-screen.is-sample-assignment-open .lims-allocation-blocked {
    font-size: clamp(0.47rem, 0.56vw, 0.56rem);
}

.welcome-screen.is-sample-assignment-open .lims-allocation-blocked {
    display: block;
}

@media (max-width: 1359px) {
    .welcome-screen.is-sample-assignment-open .lims-analyst-option {
        grid-template-columns: auto minmax(0, 1fr);
        gap: 5px 8px;
        padding: 6px 8px;
    }

    .welcome-screen.is-sample-assignment-open .lims-analyst-option__role {
        grid-column: 2;
        max-width: none;
        text-align: left;
    }
}
