/* Base styles adapted from Bulma. See BULMA-LICENSE.txt. */
@font-face {
    font-family: Inter;
    src: url("../fonts/inter-latin.ttf") format("truetype");
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
}
:root {
    color-scheme: light;
    --paper: #ffffff;
    --heading: #303030;
    --ink: #1c3044;
    --prose: #394b58;
    --muted: #536573;
    --line: #d6dfe5;
    --surface: #f2f5f8;
    --accent: #355b83;
    --accent-hover: #233e5d;
    --teal: #286c70;
    --focus: var(--accent);
    --hero-rgb: 16 16 16;
    --hero-ink: rgb(var(--hero-rgb));
    --mono: ui-monospace, "SFMono-Regular", Consolas, monospace;
    --width: 1256px;
}
*,
::before,
::after {
    box-sizing: border-box;
}
html {
    background: var(--paper);
    overflow-y: scroll;
    text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    scroll-behavior: smooth;
    scroll-padding-top: 24px;
}
body,
button,
select,
input {
    font-family: Inter, Arial, sans-serif;
    color: var(--ink);
}
body {
    margin: 0;
    background: var(--paper);
    font-size: 16px;
    line-height: 1.5;
}
a {
    color: var(--accent);
    text-decoration: none;
    text-underline-offset: 0.22em;
}
.hero {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
a:hover {
    color: var(--accent-hover);
}
button {
    cursor: pointer;
}
button:disabled {
    cursor: default;
}
:focus-visible {
    outline: 3px solid var(--focus);
    outline-offset: 4px;
}
[hidden] {
    display: none !important;
}
.wrap {
    width: min(calc(100% - clamp(36px, 7vw, 112px)), var(--width));
    margin-inline: auto;
}
.skip,
.sr {
    position: absolute;
    clip-path: inset(50%);
    width: 1px;
    height: 1px;
    overflow: hidden;
}
.skip:focus {
    clip-path: none;
    width: auto;
    height: auto;
    background: var(--paper);
    z-index: 10;
    padding: 10px;
}
.site-nav {
    min-height: 76px;
    display: flex;
    align-items: center;
    gap: 42px;
    font-size: 14px;
    font-weight: 550;
}
.brand {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-right: auto;
    color: var(--heading);
    font-size: 22px;
    font-weight: 650;
    letter-spacing: -0.055em;
    line-height: 1;
}
.brand img {
    display: block;
    width: 54px;
    height: 48px;
}
.nav-links {
    display: flex;
    gap: 34px;
}
.nav-links a {
    color: var(--ink);
}
.site-nav a:hover {
    color: var(--accent-hover);
}
.nav-citation {
    border-left: 1px solid var(--line);
    padding-left: 32px;
}
.cover {
    /* The 1808 × 744 video includes a 16 px gutter and a 352 px comparison column. */
    --cover-rail: calc(100% * 368 / 1808);
    --render-background: #e7ebee;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    border-radius: 9px;
    /* Match the video beneath its clipped, antialiased edges. */
    background: linear-gradient(
        to left,
        var(--render-background) var(--cover-rail),
        var(--hero-ink) var(--cover-rail)
    );
    --focus: #fff;
    color: #fff;
    aspect-ratio: 1808 / 744;
    display: flex;
    align-items: center;
}
.cover-media,
.cover-media video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}
.cover-media video {
    object-fit: cover;
    object-position: right center;
}
.cover-views {
    position: absolute;
    inset: 0 0 0 auto;
    aspect-ratio: 352 / 744;
    display: grid;
    grid-template-rows: repeat(3, 1fr);
    row-gap: calc(100% * 12 / 744);
    pointer-events: none;
}
.cover-views span {
    align-self: start;
    justify-self: start;
    margin: 7px 9px;
    color: var(--heading);
    font-size: clamp(11px, 0.95vw, 14px);
    font-weight: 600;
}
.cover-media:after {
    content: "";
    position: absolute;
    inset: 0 var(--cover-rail) 0 0;
    background:
        linear-gradient(
            90deg,
            var(--hero-ink) 0%,
            rgb(var(--hero-rgb) / 96%) 22%,
            rgb(var(--hero-rgb) / 76%) 40%,
            transparent 66%
        ),
        linear-gradient(152deg, var(--hero-ink) 8%, transparent 46%),
        linear-gradient(0deg, rgb(10 10 10 / 28%), transparent 22%);
    pointer-events: none;
}
.hero-body {
    z-index: 1;
    padding: 32px clamp(24px, 4.5vw, 76px);
    flex: 0 1 auto;
}
h1,
h2,
h3,
p,
dl,
dd,
pre,
figure {
    margin: 0;
}
.term {
    white-space: nowrap;
}
.publication-title {
    font-size: 1em;
    font-weight: 500;
    letter-spacing: -0.035em;
}
.display-title {
    display: block;
    letter-spacing: -0.082em;
    font-size: clamp(84px, 8.5vw, 142px);
    font-weight: 650;
    line-height: 0.94;
    color: #fff;
    margin-left: -0.06em;
}
.paper-title {
    display: block;
    max-width: 20em;
    font-size: clamp(19px, 1.65vw, 25px);
    line-height: 1.32;
    letter-spacing: -0.027em;
    font-weight: 430;
    margin-top: 23px;
    color: #f5f5f5;
    text-wrap: balance;
}
.cover-caption {
    position: absolute;
    bottom: 20px;
    right: calc(var(--cover-rail) + 16px);
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
}
.capture-caption {
    font: 500 11px var(--mono);
    letter-spacing: 0.02em;
    background: rgb(var(--hero-rgb) / 84%);
    padding: 5px 8px;
    border-radius: 4px;
}
.capture-caption span {
    opacity: 0.6;
    padding: 0 4px;
}
.play-cover {
    display: grid;
    width: 43px;
    height: 43px;
    place-items: center;
    border: 1px solid #ffffff80;
    border-radius: 50%;
    background: rgb(var(--hero-rgb) / 84%);
    color: white;
}
.play-cover:hover {
    background: #303030;
}
.play-icon {
    width: 0;
    height: 0;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 9px solid currentColor;
    margin-left: 3px;
}
.play-cover.is-playing .play-icon {
    border: 0;
    border-left: 3px solid currentColor;
    border-right: 3px solid currentColor;
    width: 10px;
    height: 13px;
    margin-left: 0;
}
.publication-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 25px 0 28px;
    border-bottom: 1px solid var(--line);
}
.publication-authors {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    column-gap: 20px;
    row-gap: 5px;
    font-weight: 550;
    font-size: 16px;
}
.publication-authors a {
    color: inherit;
    text-decoration: none;
}
.publication-authors > * {
    white-space: nowrap;
}
.publication-authors sup {
    margin-left: 4px;
    font-size: 0.65em;
    vertical-align: super;
}
.corresponding-mark {
    width: 14px;
    height: 14px;
    vertical-align: -0.15em;
}
.affiliation {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 14px;
    color: var(--muted);
    font-size: 13px;
    margin-top: 6px;
}
.credit-note {
    font-size: 12px;
}
.credit-note .corresponding-mark {
    width: 12px;
    height: 12px;
    margin-right: 2px;
}
.publication-links {
    display: flex;
    gap: 9px;
    align-items: center;
    flex-wrap: wrap;
}
.resource-status {
    border-radius: 6px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 15px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    border: 1px solid var(--line);
    color: var(--accent);
}
.resource-status:hover {
    color: var(--accent-hover);
    border-color: currentColor;
}
.resource-status img {
    height: auto;
}
.dataset-block {
    display: grid;
    grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.2fr);
    align-items: start;
    gap: clamp(32px, 5.5vw, 80px);
    padding: 48px 0 44px;
}
.section-intro {
    display: grid;
    gap: clamp(8px, 0.8vw, 12px);
}
h2,
h3,
.coverage caption {
    color: var(--heading);
}
h2 {
    font-size: clamp(30px, 3vw, 48px);
    line-height: 1.09;
    letter-spacing: -0.06em;
    font-weight: 590;
    text-wrap: balance;
}
.section-intro > p {
    color: var(--prose);
    font-size: clamp(15px, 1.15vw, 18px);
    line-height: 1.58;
    max-width: 680px;
}
.dataset-summary {
    max-width: 46ch;
    font-size: clamp(15px, 1.15vw, 18px);
}
.dataset-summary > p {
    margin-top: 14px;
    color: var(--prose);
    line-height: 1.58;
}
.dataset-summary strong {
    color: var(--teal);
    font-weight: 650;
}
.dataset-counts {
    display: grid;
    grid-template-columns: repeat(4, max-content);
    justify-content: space-between;
    margin-top: 22px;
    border-top: 1px solid var(--line);
    padding-top: 12px;
    text-align: center;
}
.dataset-counts > div {
    display: flex;
    flex-direction: column-reverse;
}
.dataset-counts dt {
    color: var(--muted);
    font-size: 12px;
}
.dataset-counts dd {
    color: var(--accent);
    font-size: clamp(24px, 2.3vw, 31px);
    font-variant-numeric: lining-nums tabular-nums;
    letter-spacing: -0.05em;
    line-height: 1.25;
}
.coverage {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    font-variant-numeric: tabular-nums;
}
.coverage caption {
    margin-bottom: 10px;
    text-align: left;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: -0.03em;
}
.coverage thead {
    border-bottom: 1px solid var(--line);
}
.coverage thead th {
    padding-bottom: 6px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 500;
}
.coverage tbody th {
    width: 100%;
    padding: 7px 0;
    font-weight: 500;
}
.coverage th div {
    display: grid;
    grid-template-columns: 12.5em 1fr;
    align-items: center;
    gap: 10px;
}
.coverage :is(th, td) {
    padding: 0;
    text-align: left;
    vertical-align: top;
}
.coverage th {
    color: var(--prose);
}
.coverage :is(th, td):not(:first-child) {
    padding-left: 16px;
    text-align: center;
}
.coverage td:last-child {
    color: var(--muted);
}
.coverage tbody td {
    vertical-align: middle;
}
/* Use the same task-family colors in the chart and the atlas controls. */
[data-family="In-hand rotation"] {
    --family-color: #496da3;
}
[data-family="Toss and catch"] {
    --family-color: #337b80;
}
[data-family="Nut twisting"] {
    --family-color: #a27640;
}
[data-family="Pen spinning"] {
    --family-color: #ad5662;
}
[data-family="Two-ball rotation"] {
    --family-color: #74835b;
}
[data-family="Block flicking"] {
    --family-color: #85688b;
}
.coverage meter {
    appearance: none;
    display: block;
    width: 100%;
    min-width: 0;
    height: clamp(9px, 1vw, 12px);
    border: 0;
    background: transparent;
}
.coverage meter::-webkit-meter-inner-element {
    display: block;
}
.coverage meter::-webkit-meter-bar {
    position: static;
    height: 100%;
    border: 0;
    border-radius: 0;
    background: transparent;
}
.coverage meter::-webkit-meter-optimum-value {
    background: var(--family-color);
    border-radius: 0 2px 2px 0;
}
.coverage meter::-moz-meter-bar {
    background: var(--family-color);
    border-radius: 0 2px 2px 0;
}
.atlas-block {
    --control-edge: #82939e;
    --stage: #f3f7f9;
    --hover-surface: #e5edf2;
    padding: 48px 0 44px;
    background: #edf3f6;
    box-shadow: inset 0 1px var(--line), inset 0 -1px var(--line);
    color: var(--ink);
}
.families {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 10px;
    margin: 26px 0 16px;
}
.family {
    position: relative;
    min-width: 0;
    display: block;
    text-align: left;
    padding: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: color-mix(in srgb, var(--family-color) 7%, white);
    color: var(--ink);
    font-size: 13px;
    font-weight: 560;
}
.family img {
    width: 100%;
    height: auto;
    aspect-ratio: 2.38;
    object-fit: cover;
    display: block;
}
.family span {
    position: relative;
    display: block;
    padding: 8px 10px;
}
.family span::before {
    content: "";
    position: absolute;
    inset-inline-start: 0;
    top: 24%;
    bottom: 24%;
    width: 3px;
    background: var(--family-color);
}
.family:hover {
    border-color: var(--family-color);
    background: color-mix(in srgb, var(--family-color) 13%, white);
}
.family[aria-pressed="true"] {
    border-color: var(--family-color);
    background: color-mix(in srgb, var(--family-color) 74%, var(--ink));
    color: white;
}
.family[aria-pressed="true"] span {
    font-weight: 650;
}
.family[aria-pressed="true"] span::before {
    background: currentColor;
}
.viewer {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--paper);
    overflow: hidden;
}
.viewer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 16px 21px;
}
.viewer h3 {
    font-size: 22px;
    font-weight: 600;
    letter-spacing: -0.048em;
    line-height: 1.2;
}
.viewer-sub {
    font: normal 12px/1.5 var(--mono);
    color: var(--muted);
    margin-top: 3px;
}
.sample-select {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
}
.sample-select label {
    color: var(--muted);
}
select {
    background: var(--paper);
    border: 1px solid var(--control-edge);
    border-radius: 4px;
    padding: 7px 24px 7px 10px;
    font-size: 14px;
    max-width: 100%;
}
.sequence-pair {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-top: 1px solid var(--line);
}
.sequence-panel {
    min-width: 0;
}
.sequence-panel + .sequence-panel {
    border-left: 1px solid var(--line);
}
.channel {
    height: 34px;
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 0 12px;
    border-bottom: 1px solid var(--line);
    background: var(--stage);
    font: 500 11px/1.4 var(--mono);
    color: var(--ink);
}
.reset-view {
    margin-left: auto;
    min-height: 32px;
    touch-action: manipulation;
    background: transparent;
    border: none;
    color: var(--accent);
    padding: 4px;
    font: inherit;
    text-decoration: underline;
    text-underline-offset: 0.18em;
}
.reset-view:hover:enabled {
    color: var(--accent-hover);
}
.reset-view:disabled {
    color: var(--muted);
    opacity: 0.45;
}
.sequence-panel video,
.model-stage {
    display: block;
    position: relative;
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
    background: var(--surface);
}
.model-stage canvas,
.model-stage img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
}
.model-stage canvas {
    touch-action: none;
    cursor: grab;
    visibility: hidden;
}
.model-stage canvas:active {
    cursor: grabbing;
}
.model-stage canvas:focus-visible {
    outline-offset: -3px;
}
.model-status {
    position: absolute;
    bottom: 8px;
    left: 8px;
    pointer-events: none;
    padding: 3px 6px;
    background: var(--stage);
    color: var(--ink);
    font: 500 11px/1.5 var(--mono);
    border-radius: 3px;
}
.model-help {
    color: var(--muted);
    font-size: 12px;
}
.channel-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--teal);
}
.mesh-dot {
    background: var(--accent);
}
.cam {
    border-left: 1px solid var(--line);
    color: var(--muted);
    margin-left: 2px;
    padding-left: 7px;
}
.sequence-tools,
.frame-tools,
.speed-select {
    display: flex;
    align-items: center;
}
.sequence-tools {
    justify-content: space-between;
    gap: 12px;
    padding: 10px 18px;
}
.frame-tools,
.speed-select {
    gap: 10px;
    font: 500 12px/1.4 var(--mono);
}
#frame-readout {
    min-width: 10ch;
    text-align: center;
}
.sequence-error {
    margin: 8px 18px;
    color: #973d36;
}
.step {
    background: transparent;
    border: 1px solid var(--control-edge);
    border-radius: 50%;
    height: 38px;
    width: 38px;
    font-size: 18px;
    flex: none;
}
.step:hover:enabled {
    background: var(--hover-surface);
    border-color: var(--ink);
}
.step:disabled {
    opacity: 0.35;
}
.annotations {
    padding: 52px 0;
}
.sample-intro {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 6px 24px;
    margin: 12px 0 20px;
    color: var(--prose);
    font-size: clamp(15px, 1.15vw, 18px);
}
.sample-intro span {
    color: var(--teal);
    font: 12px/1.5 var(--mono);
}
.annotation-plates,
.sequence-reference {
    display: grid;
    align-items: start;
    gap: clamp(12px, 1.5vw, 22px);
}
.annotation-plates {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}
.annotation-plates img,
.reference-stage {
    display: block;
    width: 100%;
    border-radius: 6px;
    overflow: hidden;
}
.annotation-plates img {
    height: auto;
    background: #edf1f4;
}
.annotations figcaption {
    margin-top: 10px;
}
.annotations h3 {
    font-size: 17px;
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: -0.03em;
}
.annotations figcaption p {
    margin-top: 4px;
    color: var(--prose);
    font-size: 14px;
    line-height: 1.5;
}
.sequence-reference {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 28px;
    border-top: 1px solid var(--line);
    padding-top: 24px;
}
.reference-stage {
    position: relative;
    aspect-ratio: 2 / 1;
    border: 1px solid var(--line);
    background: var(--paper);
}
.reference-stage img,
.reference-stage iframe {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    border: 0;
}
.reference-heading {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
}
.reference-heading a,
.reference-heading button {
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--teal);
    font-size: 13px;
    font-weight: 550;
    white-space: nowrap;
    text-decoration: underline;
    text-underline-offset: 0.22em;
}
.citation {
    --ink: var(--heading);
    --line: #d9d9d9;
    --focus: var(--ink);
    color: var(--ink);
    border-top: 1px solid var(--line);
    padding-block: 44px 52px;
}
.citation-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}
.citation-head button {
    padding: 6px 12px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: var(--paper);
    color: var(--ink);
    font-size: 13px;
    font-weight: 600;
}
.citation-head button:hover {
    background: #f3f3f3;
}
.citation pre {
    padding: clamp(16px, 2vw, 26px);
    border-radius: 7px;
    background: #f5f5f5;
    font: 13px/1.65 var(--mono);
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}
.citation code {
    font-family: monospace;
}
footer {
    border-top: 1px solid var(--line);
}
.footer-inner {
    display: flex;
    gap: 20px;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    font-size: 12px;
    color: #606060;
}
.footer-inner > span {
    font-weight: 600;
}
.footer-slash {
    margin: 0 6px;
}
.footer-inner a {
    color: inherit;
    text-decoration: underline;
}
@media (max-width: 900px) {
    .coverage th div {
        grid-template-columns: 1fr;
        gap: 3px;
    }
    .coverage tbody td {
        vertical-align: top;
        padding-top: 7px;
    }
    .paper-title {
        max-width: 16em;
        font-size: 18px;
    }
    .publication-meta {
        align-items: flex-start;
        flex-direction: column;
        gap: 14px;
    }
    .families {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .family img {
        aspect-ratio: 3.2;
    }
}
@media (max-width: 820px) {
    .annotation-plates {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 18px;
    }
    .dataset-block {
        grid-template-columns: 1fr;
        gap: 26px;
    }
    .dataset-summary {
        max-width: 60ch;
    }
    .cover {
        aspect-ratio: auto;
        flex-direction: column;
        align-items: stretch;
        background: var(--render-background);
    }
    .hero-body {
        order: -1;
        padding: 24px;
        background: var(--hero-ink);
    }
    .cover-media {
        position: relative;
        aspect-ratio: 1808 / 744;
    }
    .cover-media:after {
        background: linear-gradient(180deg, var(--hero-ink), transparent 30%);
    }
}
@media (min-width: 641px) and (max-width: 820px) {
    .publication-title {
        display: flex;
        align-items: center;
        gap: 24px;
    }
    .display-title {
        font-size: clamp(60px, 9vw, 74px);
    }
    .paper-title {
        max-width: 28em;
        margin-top: 0;
    }
}
@media (max-width: 640px) {
    .wrap {
        width: calc(100% - 32px);
    }
    .site-nav {
        min-height: 62px;
        flex-wrap: wrap;
        gap: 4px 12px;
        padding-block: 8px;
        font-size: 12px;
    }
    .brand {
        gap: 4px;
        font-size: 17px;
    }
    .brand img {
        width: 36px;
        height: 32px;
    }
    .nav-links {
        gap: 13px;
    }
    .nav-citation {
        padding-left: 0;
        border: 0;
    }
    .hero-body {
        padding: 27px 21px 14px;
    }
    .display-title {
        font-size: 77px;
    }
    .paper-title {
        font-size: 18px;
        max-width: 27em;
        margin-top: 12px;
        line-height: 1.3;
        text-wrap: pretty;
    }
    .cover-media {
        aspect-ratio: 1080 / 880;
    }
    .cover-media:after {
        inset: 0 0 auto;
        height: calc(100% * 628 / 880);
    }
    .cover-views {
        inset: auto 0 0;
        height: calc(100% * 240 / 880);
        aspect-ratio: auto;
        grid-template: 1fr / repeat(3, minmax(0, 1fr));
        gap: 0 calc(100% * 12 / 1080);
    }
    .cover-views span {
        margin: 2px 4px;
        font-size: 10px;
    }
    .cover-caption {
        bottom: calc(100% * 252 / 880 + 6px);
        right: 8px;
        gap: 5px;
    }
    .capture-caption {
        font-size: 10px;
    }
    .play-cover {
        width: 36px;
        height: 36px;
    }
    .publication-meta {
        padding: 18px 0 20px;
    }
    .publication-authors {
        column-gap: 14px;
        font-size: 14px;
    }
    .affiliation {
        font-size: 12px;
    }
    .resource-status {
        font-size: 12px;
        min-height: 40px;
        padding: 7px 10px;
    }
    .dataset-block,
    .atlas-block,
    .citation,
    .annotations {
        padding-block: 32px;
    }
    .section-intro > p {
        font-size: 15px;
    }
    .dataset-summary > p {
        margin-top: 10px;
    }
    .dataset-counts {
        margin-top: 16px;
    }
    .coverage :is(th, td):not(:first-child) {
        padding-left: 10px;
    }
    .families {
        margin: 19px 0 11px;
        gap: 7px;
    }
    .family span {
        font-size: 11px;
        padding: 6px;
    }
    .family img {
        aspect-ratio: 2.1;
    }
    .viewer-head {
        padding: 12px;
        align-items: flex-start;
    }
    .viewer h3 {
        font-size: 18px;
    }
    .viewer-sub {
        font-size: 10px;
    }
    .sample-select {
        max-width: 48%;
    }
    .sample-select label {
        position: absolute;
        clip-path: inset(50%);
    }
    select {
        font-size: 12px;
        padding: 5px;
        min-height: 34px;
    }
    .channel {
        padding: 0 8px;
        gap: 4px;
        font-size: 10px;
    }
    .cam {
        display: none;
    }
    .channel-dot {
        width: 5px;
        height: 5px;
    }
    .sequence-tools {
        gap: 7px;
        padding: 7px 10px;
        flex-wrap: wrap;
    }
    .step {
        width: 32px;
        height: 32px;
    }
    .model-help {
        order: 1;
        width: 100%;
        font-size: 11px;
    }
    .reset-view {
        padding-inline: 1px;
        font-size: 10px;
    }
    .model-status {
        font-size: 10px;
        bottom: 3px;
        left: 3px;
    }
    .frame-tools,
    .speed-select {
        gap: 5px;
    }
    .reference-stage:has(iframe) {
        aspect-ratio: 4 / 3;
    }
    .sequence-reference {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .annotations h3 {
        font-size: 15px;
    }
    .annotations figcaption p {
        font-size: 13px;
    }
    .footer-inner {
        align-items: flex-start;
        flex-direction: column;
        gap: 7px;
    }
}
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}
