:root {
  --paper: #f7faff;
  --paper-solid: #ffffff;
  --paper-deep: #edf4fd;
  --ink: #14233d;
  --ink-soft: #405675;
  --muted: #64748b;
  --line: rgba(30, 71, 126, 0.16);
  --line-strong: rgba(30, 71, 126, 0.28);
  --blue: #2f6fd5;
  --blue-deep: #1b4f9c;
  --blue-dark: #103b79;
  --blue-soft: #dbe9fb;
  --blue-pale: #eef5ff;
  --cyan: #bfe0e7;
  --teal: #bfe5da;
  --red: #e8b6ba;
  --max: 1120px;
  --radius: 16px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 1px 1px, rgba(47, 111, 213, 0.09) 1px, transparent 1.1px) 0 0 / 24px 24px fixed,
    var(--paper);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::selection { background: var(--blue-soft); }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
img { max-width: 100%; }

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--ink);
  color: white;
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }

.conference-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 30px;
}
.conference-badge img { display: block; width: 132px; height: 66px; object-fit: contain; }
.conference-year { color: #b95600; font-size: 42px; line-height: 1; font-weight: 500; letter-spacing: -0.055em; }
.conference-badge:focus-visible { outline: 2px solid var(--blue); outline-offset: 6px; border-radius: 4px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  width: 100%;
  height: 64px;
  padding: 0 max(24px, calc((100vw - var(--max)) / 2));
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid rgba(30, 71, 126, 0.11);
  background: rgba(247, 250, 255, 0.9);
  backdrop-filter: blur(18px) saturate(1.2);
}

.wordmark,
.desktop-nav,
.header-paper {
  font-size: 13px;
  font-weight: 750;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  justify-self: start;
}

.wordmark-mark {
  position: relative;
  width: 26px;
  height: 12px;
  display: block;
}

.wordmark-mark::before {
  content: "";
  position: absolute;
  top: 5px;
  left: 3px;
  right: 3px;
  height: 1px;
  background: var(--blue-deep);
}

.wordmark-mark i {
  position: absolute;
  top: 2px;
  width: 7px;
  height: 7px;
  border: 1px solid var(--blue-deep);
  border-radius: 50%;
  background: var(--paper);
}
.wordmark-mark i:nth-child(1) { left: 0; }
.wordmark-mark i:nth-child(2) { left: 9px; background: #8fb9f2; }
.wordmark-mark i:nth-child(3) { right: 0; }

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 27px;
  color: #50627d;
}

.header-paper { justify-self: end; }
.desktop-nav a, .header-paper, .wordmark { transition: color 180ms ease, opacity 180ms ease; }
.desktop-nav a:hover, .header-paper:hover, .wordmark:hover { color: var(--blue); }

.hero {
  position: relative;
  min-height: min(860px, calc(100vh - 64px));
  padding: clamp(64px, 7vw, 88px) 24px 64px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero-background {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-background video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.96;
  filter: saturate(1.06) contrast(1.02);
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 40%, rgba(247, 250, 255, 0.76), rgba(247, 250, 255, 0.38) 46%, rgba(247, 250, 255, 0.12) 74%),
    linear-gradient(180deg, rgba(247, 250, 255, 0.91) 0%, rgba(247, 250, 255, 0.34) 44%, rgba(247, 250, 255, 0.92) 100%);
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(1080px, 100%);
  margin: 0 auto;
  text-align: center;
}

.eyebrow,
.kicker,
.media-topline,
.card-index {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow { margin: 0 0 24px; color: var(--blue-deep); }
h1, h2, h3, p { margin-top: 0; }

h1 {
  margin-bottom: 26px;
  font-size: clamp(52px, 6.3vw, 80px);
  line-height: 0.98;
  letter-spacing: -0.052em;
  font-weight: 820;
}

h1 span {
  display: block;
  max-width: 900px;
  margin: 0.15em auto 0;
  color: #3f587c;
  font-size: 0.61em;
  line-height: 1.04;
  letter-spacing: -0.038em;
  font-weight: 670;
}

.author-block { margin: 0 auto 30px; max-width: 1000px; }
.authors { margin-bottom: 22px; font-size: 18px; line-height: 1.6; letter-spacing: -0.015em; }
.author-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 26px; }
.author-row + .author-row { margin-top: 8px; }
.author-row > span { white-space: nowrap; }
.author-row strong { font-weight: 650; }
.author-block sup { color: var(--muted); font-size: .65em; font-weight: 500; line-height: 0; margin-left: 3px; vertical-align: super; letter-spacing: 0; }
.affiliations { color: var(--ink-soft); font-size: 13px; line-height: 1.8; }
.affiliations p { margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 0 22px; }
.affiliations .corresponding-authors { margin-top: 8px; font-size: 12px; }

.hero-deck {
  width: min(760px, 100%);
  margin: 0 auto;
  color: #405675;
  font-size: clamp(19px, 2vw, 25px);
  line-height: 1.42;
  letter-spacing: -0.015em;
}

.hero-actions {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.button {
  min-height: 48px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  font-weight: 750;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}
.button:hover { transform: translateY(-2px); border-color: rgba(27, 79, 156, 0.5); background: white; }
.button-primary { border-color: var(--blue-deep); background: var(--blue-deep); color: white; }
.button-primary:hover { border-color: var(--blue-dark); background: var(--blue-dark); }
.resource-icon { flex-shrink: 0; width: 22px; height: 22px; }
.button-coming-soon { cursor: default; color: var(--ink); opacity: 1; }
.button-coming-soon:hover { transform: none; border-color: var(--line-strong); background: rgba(255, 255, 255, 0.8); }
.coming-soon { color: var(--muted); font-weight: 500; }
.button-quiet { border-color: transparent; background: rgba(247, 250, 255, 0.42); }

.hero-data {
  margin-top: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #607694;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.hero-data span { padding: 0 18px; }
.hero-data span + span { border-left: 1px solid rgba(30, 71, 126, 0.24); }

.section-shell { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; padding: clamp(82px, 9vw, 124px) 0; }
.section-band { border-block: 1px solid var(--line); background: rgba(237, 244, 253, 0.88); }

.film { padding-top: clamp(76px, 8vw, 108px); }
.compact-intro { align-items: end; }

.section-intro {
  margin-bottom: clamp(42px, 5vw, 66px);
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: clamp(40px, 7vw, 94px);
  align-items: start;
}

.section-intro h2,
.section-heading h2,
.results-heading h2 {
  margin: 20px 0 0;
  font-size: clamp(38px, 4.8vw, 62px);
  line-height: 1.01;
  letter-spacing: -0.046em;
}

.section-intro > p,
.section-intro > div:last-child p,
.results-heading > p {
  margin: 30px 0 0;
  color: var(--ink-soft);
  font-size: clamp(17px, 1.65vw, 20px);
  line-height: 1.64;
  letter-spacing: -0.01em;
}

.kicker { color: var(--blue-deep); }

.film-frame {
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  background: #06101e;
  box-shadow: 0 30px 80px rgba(31, 74, 130, 0.17);
}

.media-topline {
  min-height: 42px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid rgba(30, 71, 126, 0.15);
  background: var(--blue-soft);
  color: #3c5b87;
  letter-spacing: 0.07em;
}

.film-frame video { width: 100%; display: block; aspect-ratio: 16 / 9; object-fit: cover; background: #02070d; }

.proof { border-block: 1px solid var(--line); background: rgba(229, 239, 252, 0.92); }
.proof-intro, .proof-grid { width: min(var(--max), calc(100% - 48px)); margin-inline: auto; }

.proof-intro {
  padding: 44px 0 27px;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
  border-bottom: 1px solid var(--line);
}

.proof-intro p { max-width: 690px; margin: 0; font-size: clamp(22px, 3vw, 36px); line-height: 1.14; letter-spacing: -0.03em; font-weight: 650; }
.proof-grid { padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); }
.proof-grid > div { min-height: 220px; padding: 38px 32px 36px 0; }
.proof-grid > div + div { padding-left: 32px; border-left: 1px solid var(--line); }
.proof-grid dt { color: var(--blue-deep); font-size: clamp(54px, 7vw, 82px); font-weight: 820; line-height: 1; letter-spacing: -0.055em; }
.proof-grid dd { max-width: 255px; margin: 16px 0 0; color: var(--muted); font-size: 14px; line-height: 1.5; }

.abstract { display: grid; grid-template-columns: 1.03fr 0.97fr; gap: clamp(54px, 8vw, 112px); align-items: start; }
.abstract-copy { padding-top: 30px; }
.abstract-copy p { margin-bottom: 24px; color: #3d506e; font-size: clamp(17px, 1.7vw, 20px); line-height: 1.72; letter-spacing: -0.01em; }

.contrast-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.contrast-card {
  min-height: 360px;
  padding: clamp(26px, 4vw, 42px);
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.75);
  box-shadow: 0 16px 44px rgba(30, 71, 126, 0.07);
}
.card-index { color: var(--blue-deep); }
.trajectory-line { position: relative; height: 78px; margin: auto 0 34px; display: flex; align-items: center; justify-content: space-between; }
.trajectory-line::before { content: ""; position: absolute; left: 7px; right: 7px; top: 39px; height: 3px; border-radius: 99px; background: var(--blue); }
.trajectory-line i { position: relative; z-index: 1; width: 15px; height: 15px; border: 3px solid white; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 1px var(--blue); }
.success-line i:nth-child(3) { transform: translateY(28px); background: #df7d86; box-shadow: 0 0 0 1px #df7d86; }
.success-line::before { clip-path: polygon(0 46%, 43% 46%, 53% 82%, 64% 46%, 100% 46%, 100% 54%, 64% 54%, 53% 95%, 43% 54%, 0 54%); height: 78px; top: 0; }
.failure-line::before { background: linear-gradient(90deg, #df7d86 0 36%, var(--blue) 36% 100%); }
.failure-line i:first-child, .failure-line i:nth-child(2) { background: #df7d86; box-shadow: 0 0 0 1px #df7d86; }
.contrast-card h3 { margin: 0 0 12px; font-size: clamp(25px, 2.8vw, 36px); line-height: 1.08; letter-spacing: -0.03em; }
.contrast-card p { margin: 0; color: var(--ink-soft); font-size: 17px; line-height: 1.6; }

.paper-figure { margin: 0; }
.figure-zoom {
  position: relative;
  width: 100%;
  padding: clamp(12px, 2vw, 22px);
  display: block;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  cursor: zoom-in;
  box-shadow: 0 18px 52px rgba(30, 71, 126, 0.08);
}
.figure-zoom img { width: 100%; display: block; }
.zoom-hint { position: absolute; right: 16px; bottom: 16px; padding: 8px 11px; border-radius: 8px; background: rgba(16, 59, 121, 0.9); color: white; font-size: 11px; font-weight: 750; opacity: 0; transform: translateY(5px); transition: opacity 180ms ease, transform 180ms ease; }
.figure-zoom:hover .zoom-hint, .figure-zoom:focus-visible .zoom-hint { opacity: 1; transform: none; }
.paper-figure figcaption { max-width: 860px; margin: 15px 4px 0; color: var(--muted); font-size: 13px; line-height: 1.5; }

.method-steps { margin-top: 34px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.method-step { min-height: 310px; padding: 28px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255, 255, 255, 0.78); }
.method-letter { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--blue-deep); color: white; font-size: 13px; font-weight: 800; }
.step-cyan .method-letter { background: #237e9a; }
.step-teal .method-letter { background: #16806d; }
.method-step h3 { margin: 70px 0 14px; font-size: 24px; line-height: 1.1; letter-spacing: -0.025em; }
.method-step p { margin: 0; color: var(--ink-soft); font-size: 15px; line-height: 1.62; }
.math { font-family: Georgia, "Times New Roman", serif; color: var(--ink); }

.potential-note { margin-top: 24px; padding: 24px 28px; display: grid; grid-template-columns: 104px 1fr; gap: 28px; align-items: center; border: 1px solid rgba(47, 111, 213, 0.27); border-radius: 14px; background: rgba(219, 233, 251, 0.72); }
.note-mark { min-height: 72px; display: grid; place-items: center; border-right: 1px solid var(--line-strong); color: var(--blue-deep); font-family: Georgia, "Times New Roman", serif; font-size: 30px; }
.potential-note p { margin: 0; color: #344d70; font-size: 16px; line-height: 1.62; }

.task-list { margin-top: 26px; display: grid; grid-template-columns: repeat(4, 1fr); border-block: 1px solid var(--line); }
.task-list span { padding: 18px 12px; text-align: center; color: var(--ink-soft); font-size: 13px; font-weight: 750; }
.task-list span + span { border-left: 1px solid var(--line); }

.metric-grid { margin-top: 30px; display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.7); }
.metric-grid > div { min-height: 170px; padding: 28px; }
.metric-grid > div + div { border-left: 1px solid var(--line); }
.metric-grid dt { color: var(--blue-deep); font-size: clamp(38px, 4vw, 54px); font-weight: 820; letter-spacing: -0.04em; }
.metric-grid dd { margin: 14px 0 0; color: var(--muted); font-size: 13px; line-height: 1.45; }

.table-wrap { margin-top: 24px; overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; background: white; }
table { width: 100%; min-width: 680px; border-collapse: collapse; font-size: 14px; }
th, td { padding: 15px 18px; border-bottom: 1px solid var(--line); text-align: left; }
thead th { color: #526985; font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; }
tbody th { font-weight: 750; }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: var(--blue-pale); }
tbody .ours { background: rgba(219, 233, 251, 0.62); color: var(--blue-dark); }

.results-heading { margin-bottom: 52px; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 70px; align-items: end; }
.results-heading h2 span { color: var(--blue); }
.result-explorer { margin-top: 36px; padding: clamp(24px, 4vw, 40px); border: 1px solid var(--line); border-radius: var(--radius); background: white; box-shadow: 0 16px 46px rgba(30,71,126,.07); }
.explorer-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.explorer-head h3 { margin: 12px 0 0; font-size: 30px; letter-spacing: -0.03em; }
.task-tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.task-tabs button { min-height: 38px; padding: 0 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); color: var(--ink-soft); font-size: 12px; font-weight: 750; cursor: pointer; }
.task-tabs button[aria-selected="true"] { border-color: var(--blue-deep); background: var(--blue-deep); color: white; }
.bar-chart { margin-top: 36px; display: grid; gap: 17px; }
.bar-row { display: grid; grid-template-columns: 76px 1fr 52px; gap: 16px; align-items: center; font-size: 13px; font-weight: 750; }
.bar-row i { height: 24px; display: block; overflow: hidden; border-radius: 5px; background: #edf2f7; }
.bar-row b { width: 0; height: 100%; display: block; border-radius: inherit; background: #9cb9dd; transition: width 750ms cubic-bezier(.2,.7,.2,1); }
.bar-row strong { text-align: right; font-variant-numeric: tabular-nums; }
.ours-bar { color: var(--blue-deep); }
.ours-bar b { background: var(--blue); }

.ablation { margin-top: 24px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.7); }
.ablation summary { padding: 22px 24px; display: grid; grid-template-columns: 1fr 2fr; gap: 30px; cursor: pointer; list-style: none; }
.ablation summary::-webkit-details-marker { display: none; }
.ablation summary span { color: var(--blue-deep); font-size: 12px; font-weight: 750; text-transform: uppercase; letter-spacing: .08em; }
.ablation summary strong { font-size: 18px; }
.ablation[open] summary { border-bottom: 1px solid var(--line); }
.ablation-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.ablation-grid div { padding: 26px 24px; display: flex; flex-direction: column; gap: 8px; }
.ablation-grid div + div { border-left: 1px solid var(--line); }
.ablation-grid strong { color: var(--blue-deep); font-size: 28px; }
.ablation-grid span { color: var(--muted); font-size: 12px; line-height: 1.4; }
.ablation > p { margin: 0; padding: 0 24px 26px; color: var(--ink-soft); font-size: 14px; line-height: 1.6; }

.limitations .section-intro { margin-bottom: 0; }
.limitations .section-intro > div:last-child { padding-top: 28px; }

.citation-box { position: relative; overflow: hidden; border: 1px solid rgba(89, 145, 219, 0.28); border-radius: 14px; background: #10233e; box-shadow: 0 18px 50px rgba(15,44,83,.16); }
.citation-box pre { margin: 0; padding: 34px; overflow-x: auto; color: #e5effe; font: 13px/1.65 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.copy-button { position: absolute; top: 14px; right: 14px; min-height: 36px; padding: 0 12px; border: 1px solid rgba(255,255,255,.2); border-radius: 8px; background: rgba(255,255,255,.09); color: white; font-size: 11px; font-weight: 750; cursor: pointer; }

.site-footer { min-height: 150px; padding: 36px max(24px, calc((100vw - var(--max)) / 2)); display: flex; align-items: center; justify-content: space-between; gap: 28px; background: #10213a; color: rgba(255,255,255,.68); font-size: 12px; }
.site-footer > div { display: flex; gap: 24px; }
.site-footer .footer-title { color: white; font-weight: 750; }
.footer-links a:hover { color: white; }

.back-to-top { position: fixed; right: 22px; bottom: 22px; z-index: 22; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; background: var(--blue-deep); color: white; cursor: pointer; box-shadow: 0 12px 30px rgba(16,59,121,.24); opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity 180ms ease, transform 180ms ease; }
.back-to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }

.figure-dialog { width: min(96vw, 1500px); max-height: 94vh; padding: 50px 20px 20px; border: 1px solid var(--line-strong); border-radius: 16px; background: white; }
.figure-dialog::backdrop { background: rgba(5,16,32,.82); backdrop-filter: blur(5px); }
.figure-dialog img { width: 100%; max-height: calc(94vh - 80px); display: block; object-fit: contain; }
.dialog-close { position: absolute; top: 11px; right: 12px; min-height: 32px; padding: 0 10px; border: 1px solid var(--line); border-radius: 7px; background: var(--paper); color: var(--ink); cursor: pointer; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 700ms ease, transform 700ms cubic-bezier(.2,.7,.2,1); }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 920px) {
  .desktop-nav { display: none; }
  .site-header { grid-template-columns: 1fr auto; padding-inline: 20px; }
  .hero { min-height: 760px; }
  .section-intro, .results-heading, .abstract { grid-template-columns: 1fr; gap: 28px; }
  .section-intro > p, .results-heading > p { margin-top: 0; }
  .abstract-copy { padding-top: 0; }
  .method-steps { grid-template-columns: 1fr; }
  .method-step { min-height: auto; }
  .method-step h3 { margin-top: 46px; }
  .metric-grid { grid-template-columns: repeat(2, 1fr); }
  .metric-grid > div:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }
  .metric-grid > div:nth-child(4) { border-top: 1px solid var(--line); }
  .task-list { grid-template-columns: repeat(2, 1fr); }
  .task-list span:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }
  .task-list span:nth-child(4) { border-top: 1px solid var(--line); }
  .ablation-grid { grid-template-columns: repeat(2, 1fr); }
  .ablation-grid div:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }
  .ablation-grid div:nth-child(4) { border-top: 1px solid var(--line); }
}

@media (max-width: 700px) {
  .section-shell, .proof-intro, .proof-grid { width: min(100% - 32px, var(--max)); }
  .hero { min-height: 720px; padding: 56px 16px 54px; }
  .authors { font-size: 16px; }
  .author-row { gap: 8px 18px; }
  .affiliations { font-size: 12px; }
  .affiliations p { gap: 3px 14px; }
  .affiliations p + p { margin-top: 5px; }
  .hero-actions { width: min(360px, 100%); margin-inline: auto; }
  h1 { font-size: clamp(43px, 12vw, 60px); }
  h1 span { margin-top: .24em; font-size: .56em; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-data { gap: 10px; flex-wrap: wrap; }
  .hero-data span { padding: 0 10px; }
  .hero-data span + span { border-left: 0; }
  .media-topline span:last-child { display: none; }
  .proof-intro { grid-template-columns: 1fr; gap: 17px; }
  .proof-grid { grid-template-columns: 1fr; }
  .proof-grid > div { min-height: auto; padding: 30px 0; }
  .proof-grid > div + div { padding-left: 0; border-top: 1px solid var(--line); border-left: 0; }
  .proof-grid dd { max-width: none; }
  .contrast-grid { grid-template-columns: 1fr; }
  .contrast-card { min-height: 330px; }
  .potential-note { grid-template-columns: 1fr; }
  .note-mark { min-height: auto; padding-bottom: 15px; justify-content: start; border-right: 0; border-bottom: 1px solid var(--line-strong); }
  .metric-grid { grid-template-columns: 1fr; }
  .metric-grid > div + div, .metric-grid > div:nth-child(3) { border-top: 1px solid var(--line); border-left: 0; }
  .explorer-head { align-items: flex-start; flex-direction: column; }
  .task-tabs { width: 100%; display: grid; grid-template-columns: repeat(2, 1fr); }
  .bar-row { grid-template-columns: 60px 1fr 42px; gap: 10px; }
  .ablation summary { grid-template-columns: 1fr; gap: 8px; }
  .ablation-grid { grid-template-columns: 1fr; }
  .ablation-grid div + div, .ablation-grid div:nth-child(3) { border-top: 1px solid var(--line); border-left: 0; }
  .site-footer, .site-footer > div { align-items: flex-start; flex-direction: column; }
  .site-footer { justify-content: center; }
  .citation-box pre { padding: 72px 20px 24px; font-size: 11px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}


/* Interactive trajectory observatory. */
.trajectory-section { width: min(1240px, calc(100% - 64px)); margin: 0 auto; padding: 96px 0 104px; }
.trajectory-intro { display: grid; grid-template-columns: 1.2fr .8fr; gap: 70px; align-items: end; margin-bottom: 32px; }
.trajectory-intro h2 { margin: 14px 0 0; font-size: clamp(36px, 4.4vw, 60px); line-height: 1.04; letter-spacing: -.05em; font-weight: 750; }
.trajectory-intro h2 em { color: var(--blue); font-style: normal; }
.trajectory-intro > p { margin: 0 0 3px; font-size: 16px; color: var(--ink-soft); line-height: 1.75; }
.trajectory-index { display: flex; flex-wrap: wrap; gap: 8px; margin: 30px 0 44px; }
.trajectory-index a { padding: 9px 15px; border: 1px solid var(--line); border-radius: 30px; background: rgba(255,255,255,.65); font-size: 12px; font-weight: 600; color: var(--ink-soft); transition: background .2s, border-color .2s; }
.trajectory-index a:hover { color: var(--blue-deep); border-color: #9bbbe9; background: var(--blue-pale); }
.trajectory-index a span { color: #90a5c0; margin-right: 8px; font: 11px ui-monospace,monospace; }
#trajectory-modules { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; align-items: stretch; }
#trajectory-modules > .trajectory-loading, #trajectory-modules > .trajectory-load-error { grid-column: 1 / -1; }
.trajectory { display: flex; flex-direction: column; min-width: 0; margin: 0; border: 1px solid #d6e1ef; border-radius: 22px; background: rgba(255,255,255,.96); box-shadow: 0 12px 45px -28px #234d8b45; overflow: clip; scroll-margin-top: 84px; }
.trajectory-header { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; padding: 16px 18px; border-bottom: 1px solid #e5edf6; background: linear-gradient(100deg,#f9fbff,#fff); }
.trajectory-identity { display: flex; align-items: center; gap: 11px; }
.trajectory-number { height: 36px; width: 36px; flex-shrink: 0; display: grid; place-items: center; border: 1px solid #d3e3f8; border-radius: 13px; color: #3f75bc; background: #edf4ff; font: 500 15px ui-monospace,monospace; }
.trajectory-overline { display: block; color: #7b8da6; font: 600 9px ui-monospace,monospace; letter-spacing: .12em; }
.trajectory-header h3 { margin: 4px 0 0; font-size: 19px; letter-spacing: -.035em; line-height: 1.2; }
.trajectory-tags { display: flex; flex-wrap: wrap; gap: 9px; color: #8292a9; font-size: 10px; }
.trajectory-tags span:last-child { display: none; }
.trajectory-tags span:first-child { color: #428477; display: inline-flex; align-items: center; gap: 6px; }
.trajectory-tags i { width: 5px; height: 5px; border-radius: 50%; background: #65a797; }
.trajectory-workspace { display: grid; grid-template-columns: minmax(0,1fr); gap: 18px; padding: 18px 18px 8px; }
.camera-deck { display: grid; grid-template-columns: 2fr 1fr; gap: 7px; position: relative; align-content: start; }
.camera-view { position: relative; border: 1px solid #ccd9eb; border-radius: 10px; padding: 0; overflow: hidden; background: #13213a; cursor: pointer; min-width: 0; aspect-ratio: 4/3; transition: border-color .2s, box-shadow .2s; }
.camera-view.is-main { grid-column: 1; grid-row: 1 / 3; order: -1; aspect-ratio: auto; border-color: #97b7e3; }
.camera-view:not(.is-main) { grid-column: 2; aspect-ratio: 16/9; }
.camera-view:not(.is-main) .camera-label span { display: none; }
.camera-view:not(.is-main) .camera-frame { top: 5px; right: 5px; padding: 3px 4px; font-size: 7px; }
.camera-view video { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: contain; }
.camera-view:hover { border-color: #2f6fd5; box-shadow: 0 0 0 2px #2f6fd518; }
.camera-view:focus-visible, .trajectory button:focus-visible, .trajectory select:focus-visible, .trajectory-slider:focus-visible { outline: 3px solid #669ae0; outline-offset: 3px; }
.camera-label { position: absolute; inset: auto 0 0; padding: 12px 10px 8px; background: linear-gradient(transparent,#0b1838b3); color: white; display: flex; align-items: center; justify-content: space-between; font-size: 10px; text-align: left; }
.camera-label span { color: #c6daf8; font: 7px ui-monospace,monospace; letter-spacing: .06em; }
.camera-frame { position: absolute; top: 9px; right: 9px; padding: 4px 6px; color: #e4ecf9; background: #14233d70; border-radius: 4px; font: 8px ui-monospace,monospace; font-variant-numeric: tabular-nums; }
.camera-sync { position: absolute; top: 9px; left: 9px; color: #e0edff; font: 7px ui-monospace,monospace; letter-spacing: .06em; background: #13213a80; border-radius: 4px; padding: 4px 6px; pointer-events: none; }
.camera-intervention { position: absolute; left: 8px; bottom: 32px; display: inline-flex; align-items: center; gap: 5px; padding: 4px 6px; border: 1px solid #f4c99b; border-radius: 5px; background: #fff0dce8; color: #97602e; font: 500 8px ui-monospace,monospace; opacity: 0; pointer-events: none; transition: opacity .16s ease; }
.camera-intervention::before { content: ''; width: 4px; height: 4px; border-radius: 50%; background: #d39450; }
.is-intervention .camera-intervention { opacity: 1; }
.camera-deck.is-intervention .camera-view { border-color: #e6bb88; }
.camera-view:not(.is-main) .camera-intervention { left: 5px; bottom: 26px; padding: 3px 4px; font-size: 7px; }
.is-seeking .camera-sync::after { content: ' · SEEKING'; }
.is-loading .camera-sync::after { content: ' · LOADING'; }
.signal-panel { display: flex; flex-direction: column; min-width: 0; }
.signal-heading { display: flex; justify-content: space-between; align-items: start; gap: 10px; }
.signal-heading h4 { font-size: 13px; font-weight: 650; letter-spacing: -.025em; margin: 0; }
.signal-heading .trajectory-overline { display: none; }
.chart-mode, .dip-tools button { border: 1px solid #d8e3f2; border-radius: 7px; padding: 6px 10px; font-size: 10px; color: #627792; cursor: pointer; background: #fff; white-space: nowrap; }
.chart-mode[aria-pressed="true"], .dip-tools button[aria-pressed="true"] { color: #245ba7; border-color: #a9c4e9; background: #edf4ff; }
.signal-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 9px 0 10px; }
.signal-metrics > div { display: flex; align-items: center; flex-wrap: wrap; gap: 3px; position: relative; padding-left: 10px; border-left: 1px solid #e2eaf5; }
.signal-metrics span { font-size: 10px; color: #7b8ca3; }
.signal-metrics strong { display: block; margin-left: auto; font: 500 23px ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: -.055em; color: #2f6fd5; font-variant-numeric: tabular-nums; }
.signal-metrics > div:nth-child(2) strong { color: #bd7979; }
.metric-dot { display: inline-block; width: 5px; height: 5px; margin-right: 5px; border-radius: 50%; }
.progress-dot { background: #2f6fd5; }.weight-dot { background: #bd7979; }
.trace-chart { --trace-height: 190px; width: 100%; height: var(--trace-height); flex: none; min-height: 0; touch-action: none; cursor: crosshair; user-select: none; }
.trace-chart svg { display: block; width: 100%; height: var(--trace-height); overflow: visible; }
.trace-chart text { fill: #8493a9; font: 14px ui-monospace,monospace; }
.trace-chart .weight-axis-title { font-size: 11px; letter-spacing: 1px; fill: #ba8585; }
.trace-chart .drop-chart-label { fill: #b67969; font-size: 11px; }
.chart-grid { fill: none; stroke: #e4ebf5; stroke-width: 1; stroke-dasharray: 3 5; }
.intervention-region { fill: #edac64; opacity: .13; }
.intervention-edge { fill: none; stroke: #dba466; stroke-width: 2; opacity: .55; vector-effect: non-scaling-stroke; }
.intervention-legend { display: inline-flex; align-items: center; gap: 4px; color: #a47c52; }
.intervention-legend i { display: block; width: 7px; height: 7px; border: 1px solid #e5bb8b; background: #fbead5; border-radius: 2px; }
.signal-panel.is-intervention .intervention-legend { color: #9a632b; }
.signal-panel.is-intervention .intervention-legend i { background: #e6b079; }
.signal-panel.is-intervention .chart-cursor .progress-point { fill: #cf985d; }
.drop-region { fill: #e8b6ba; opacity: .16; }
.progress-trace { stroke: #2f6fd5; stroke-width: 2.5; fill: none; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.weight-trace { stroke: #c58b88; stroke-width: 1.5; fill: none; vector-effect: non-scaling-stroke; }
.chart-cursor > path { stroke: #637f9f; stroke-width: 1; stroke-dasharray: 4 3; }
.chart-cursor circle { stroke: #fff; stroke-width: 2; fill: #2f6fd5; }
.chart-cursor .weight-point { fill: #c58b88; }
.signal-footnote { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px; color: #90a0b5; font-size: 9px; margin-top: 4px; }
.trajectory-transport { padding: 8px 18px 18px; display: flex; align-items: center; flex-wrap: wrap; gap: 9px; }
.transport-play { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 0 12px; min-width: 80px; height: 38px; border: none; border-radius: 9px; background: #2359a6; color: white; font-size: 11px; font-weight: 600; cursor: pointer; transition: background .2s; }
.transport-play:hover { background: #173d79; }.transport-play svg { width: 17px; height: 17px; }
.frame-step { display: flex; gap: 3px; }.frame-step button { width: 28px; height: 30px; border: 1px solid #e0e8f3; background: #f8faff; border-radius: 6px; font: 10px ui-monospace,monospace; color: #6e819d; cursor: pointer; }
.timeline-control { position: relative; order: 3; flex: 1 0 100%; min-width: 0; padding: 5px 0 0; }
.timeline-labels { display: flex; justify-content: space-between; color: #7890ab; font: 9px ui-monospace,monospace; font-variant-numeric: tabular-nums; margin-bottom: 3px; }
.timeline-labels [data-readout="time"] { color: #2b65b7; }
.trajectory-slider { appearance: none; display: block; width: 100%; height: 22px; margin: 0; background: transparent; cursor: ew-resize; touch-action: none; }
.trajectory-slider::-webkit-slider-runnable-track { height: 5px; border-radius: 6px; background: linear-gradient(to right,#2f6fd5 var(--played,0%),#e4ecf7 var(--played,0%)); }
.trajectory-slider::-moz-range-track { height: 5px; border-radius: 6px; background: #e4ecf7; }.trajectory-slider::-moz-range-progress { background: #2f6fd5; height: 5px; }
.trajectory-slider::-webkit-slider-thumb { appearance: none; width: 13px; height: 13px; border-radius: 50%; border: 3px solid #fff; background: #2f6fd5; margin-top: -4px; box-shadow: 0 1px 5px #3767a666; }
.trajectory-slider::-moz-range-thumb { width: 9px; height: 9px; border-radius: 50%; border: 3px solid #fff; background: #2f6fd5; }
.timeline-events { position: relative; height: 10px; }.timeline-events button { position: absolute; top: -3px; transform: translateX(-50%); border: none; padding: 4px 2px; background: transparent; color: #bb7d70; font: 8px ui-monospace,monospace; cursor: pointer; }
.speed-control { display: flex; align-items: center; gap: 8px; margin-left: auto; color: #8392a7; font-size: 8px; }.speed-control select { color: #415d80; background: #f4f8fd; border: 1px solid #dfe8f4; border-radius: 6px; padding: 6px 5px; font-size: 11px; }
.dip-explorer { flex: 1; border-top: 1px solid #e1e9f4; background: linear-gradient(130deg,#f5f8fd,#fafcff); padding: 16px 18px 18px; }
.dip-selector { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.dip-selector > .trajectory-overline { flex-basis: 100%; }
.dip-buttons { display: flex; gap: 7px; }.dip-buttons button { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border: 1px solid #dce5f0; border-radius: 8px; background: #fff; color: #8b9bb0; cursor: pointer; transition: border-color .15s,box-shadow .15s; }
.dip-buttons button > span { color: #b57c70; font: 600 9px ui-monospace,monospace; }.dip-buttons strong { font: 500 12px ui-monospace,monospace; color: #5e718c; }.dip-buttons small { display: none; }
.dip-buttons button[aria-pressed="true"] { border-color: #b6cbe9; box-shadow: 0 0 0 2px #2f6fd50c; background: #eef5ff; }
.dip-tools { display: flex; gap: 6px; margin-left: auto; }.dip-tools button:disabled { opacity: .4; cursor: default; }
.dip-detail { display: grid; grid-template-columns: minmax(0,1fr); gap: 14px; margin-top: 16px; align-items: center; min-height: 95px; }
.dip-copy h4 { margin: 7px 0 6px; font-size: 15px; font-weight: 650; letter-spacing: -.02em; }.dip-copy p { font-size: 11px; line-height: 1.65; color: #70829c; margin: 0; }.dip-caption { color: #a27e72; font: 8px ui-monospace,monospace; letter-spacing: .06em; }
.dip-keyframes:empty { display: none; }
.dip-keyframes { display: grid; grid-template-columns: repeat(4,1fr); gap: 8px; }.keyframe-button { padding: 0; overflow: hidden; border: 1px solid #d6e0ef; border-radius: 8px; background: white; text-align: left; cursor: pointer; transition: border-color .15s; }
.keyframe-button img { display: block; width: 100%; height: auto; aspect-ratio: 4/3; object-fit: cover; }.keyframe-button > span { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 2px; padding: 7px; color: #536b8d; font-size: 10px; text-transform: capitalize; }.keyframe-button small { font: 8px ui-monospace,monospace; color: #96a3b6; }
.keyframe-button:hover,.keyframe-button.is-current { border-color: #3f7bcf; box-shadow: 0 0 0 2px #2f6fd514; }
.trajectory-status:empty { display: none; }.trajectory-status { padding: 12px 26px; color: #92584b; background: #fff8f4; font-size: 12px; }
.trajectory-method-note { max-width: 880px; margin: 26px auto 0; color: #8694a8; font-size: 11px; line-height: 1.8; text-align: center; }.trajectory-method-note strong { color: #607692; font-weight: 600; }
.trajectory-loading { padding: 60px; text-align: center; color: #7890ad; }.trajectory-load-error { padding: 30px; color: #9b5148; }
.camera-dialog { width: min(940px,94vw); max-height: 92dvh; padding: 22px; border: 1px solid #cddbef; border-radius: 18px; background: #f7faff; box-shadow: 0 25px 100px #0d21414d; }
.expanded-camera { position: relative; }
.expanded-camera .camera-intervention { bottom: 12px; left: 12px; font-size: 11px; padding: 7px 10px; }
.camera-dialog::backdrop { background: #0d2141a8; backdrop-filter: blur(8px); }.camera-dialog header { display: flex; justify-content: space-between; gap: 15px; align-items: center; margin-bottom: 16px; }.camera-dialog h3 { margin: 4px 0 0; font-size: 22px; }.camera-dialog button { border: 1px solid #d1deef; background: white; color: #526b8d; padding: 8px 12px; border-radius: 7px; cursor: pointer; }.camera-dialog video { display: block; width: 100%; max-height: 65dvh; background: #14233d; }.camera-dialog p { font-size: 12px; color: #7890ad; margin: 12px 0 0; }
@media (max-width: 1100px) and (min-width: 781px) {
  .trajectory-section { width: calc(100% - 40px); }
  #trajectory-modules { gap: 18px; }
  .trajectory-tags { flex-basis: 100%; margin-left: 47px; }
  .signal-metrics strong { font-size: 21px; }
  .dip-tools { margin-left: 0; }
  .camera-sync { font-size: 6px; }
}
@media (max-width: 780px) {
  .trajectory-section { width: min(100% - 28px,600px); padding-top: 64px; }
  #trajectory-modules { grid-template-columns: minmax(0,1fr); gap: 20px; }
  .trajectory-intro { grid-template-columns: 1fr; gap: 22px; }
  .trajectory-intro > p { font-size: 14px; }
  .trajectory-index { gap: 6px; margin: 25px 0 30px; }
  .trajectory-index a { font-size: 10px; padding: 8px 11px; }
  .trajectory { border-radius: 16px; }
  .trajectory-header { padding: 16px; }
  .trajectory-tags { flex-basis: 100%; margin-left: 47px; }
  .trajectory-workspace { padding: 16px 14px 8px; gap: 16px; }
  .camera-deck { gap: 5px; }
  .camera-label { padding: 10px 6px 5px; font-size: 9px; }
  .camera-label span { display: none; }
  .camera-sync { top: 6px; left: 6px; font-size: 6px; }
  .camera-view.is-main .camera-frame { top: 24px; right: 6px; font-size: 7px; padding: 3px 4px; }
  .camera-view:not(.is-main) .camera-frame { display: none; }
  .camera-view:not(.is-main) .camera-intervention { bottom: 21px; font-size: 6px; gap: 3px; padding: 2px 3px; }
  .signal-metrics > div { gap: 1px; padding-left: 7px; }
  .signal-metrics strong { font-size: 21px; }
  .signal-metrics span { font-size: 9px; }
  .trace-chart { --trace-height: 185px; }
  .trajectory-transport { padding: 8px 14px 18px; }
  .transport-play { height: 35px; }
  .dip-explorer { padding: 16px 14px; }
  .dip-buttons button { padding: 8px; gap: 5px; }
  .dip-tools { margin-left: 0; }
  .dip-keyframes { gap: 5px; }
  .keyframe-button > span { font-size: 9px; padding: 5px; }
  .signal-footnote { font-size: 8px; }
  .trajectory-method-note { font-size: 10px; padding-inline: 10px; }
}
@media (prefers-reduced-motion: reduce) { .trajectory *, .trajectory-index a { transition: none !important; } }

.dip-copy .camera-hint { color: #8697af; font-size: 10px; margin-top: 6px; }

/* A wide, tactile shelf; shared camera frames and curves unfold into the live grid. */
.trajectory-collection { position: relative; isolation: isolate; }
.trajectory-collection.is-transitioning { overflow: clip; overflow-anchor: none; }
.trajectory-collection.is-transitioning .trajectory { will-change: opacity; }
.trajectory-rack[hidden], .collection-open[hidden], .dip-panel[hidden] { display: none; }
.rack-ghost { position: absolute !important; inset: 0 0 auto; z-index: 5; pointer-events: none; }
.collection-morph-card { position: absolute; left: 0; top: 0; margin: 0; border: 1px solid #cad8eb; background: linear-gradient(160deg,#fff,#f7faff); box-shadow: 0 12px 30px -12px #365a8d36; transform-origin: 50% 85%; pointer-events: none; will-change: transform; }
.collection-morph-card .morph-part { position: absolute; left: -1px; top: -1px; margin: 0; transform-origin: 0 0; will-change: transform; }
.collection-morph-card .morph-title { font-size: 19px; line-height: 1.2; letter-spacing: -.035em; }
.collection-morph-card .morph-camera { display: block; object-fit: contain; border-radius: 7px; background: #14233d; }
.collection-morph-card .morph-trace { overflow: visible; }
.collection-morph-card .morph-trace path { stroke: #5686ca; stroke-width: 1.6; fill: none; stroke-linejoin: round; vector-effect: non-scaling-stroke; }

.trajectory-rack { position: relative; padding: 30px 20px 26px; text-align: center; border: 1px solid #dce6f3; border-radius: 28px; background: radial-gradient(ellipse at 50% 40%,#eaf2ff80,transparent 65%),linear-gradient(155deg,#ffffffd9,#f4f8fe80); overflow: clip; }
.rack-eyebrow { display: flex; justify-content: center; align-items: center; gap: 14px; color: #8296b2; font: 9px ui-monospace,monospace; letter-spacing: .16em; }
.rack-eyebrow > span { width: 32px; height: 1px; background: #cad9ed; }
.rack-stage { position: relative; width: min(960px,100%); height: 350px; --spread: clamp(110px,14vw,180px); margin: 17px auto 0; }
.rack-halo { position: absolute; inset: 55% 8% 1%; border-radius: 50%; background: #739bd424; filter: blur(22px); }
.rack-back { position: absolute; bottom: 31px; left: 3%; right: 3%; height: 95px; border: 1px solid #bacde7; border-radius: 12px 12px 19px 19px; background: linear-gradient(180deg,#dae7f899,#c8d9ef80); box-shadow: inset 0 2px 5px #fff8; transform: perspective(700px) rotateX(13deg); }
.rack-card { position: absolute; left: 50%; top: 28px; width: clamp(246px,29vw,340px); transform: translate(calc(-50% + var(--slot) * var(--spread)),var(--lift)); padding: 0; border: 0; color: var(--ink); background: none; text-align: left; cursor: pointer; z-index: var(--depth); -webkit-tap-highlight-color: transparent; }
.rack-mini { display: block; padding: 12px; background: linear-gradient(160deg,#fff,#f7faff); border: 1px solid #cad8eb; border-radius: 15px; box-shadow: 0 10px 22px -8px #365a8d38,0 2px 4px #20457e14,inset 0 1px #fff; transform: rotate(var(--angle)); transform-origin: 50% 85%; transition: border-color .2s,box-shadow .2s; }
.rack-card:hover .rack-mini,.rack-card:focus-visible .rack-mini { border-color: #82a7dc; box-shadow: 0 16px 28px -8px #365a8d44,0 2px 4px #20457e14; }
.rack-mini-header { display: flex; align-items: center; gap: 8px; margin-bottom: 11px; font-size: 12px; font-weight: 650; letter-spacing: -.02em; }
.rack-mini-number { display: grid; place-items: center; width: 23px; height: 23px; flex-shrink: 0; border: 1px solid #dbe6f6; border-radius: 7px; background: #edf4ff; color: #6488b8; font: 9px ui-monospace,monospace; }
.rack-mini-dot { width: 4px; height: 4px; margin-left: auto; border-radius: 50%; background: #88b7a8; }
.rack-mini-cameras { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: repeat(2,72px); gap: 5px; }
.rack-mini-cameras img { display: block; width: 100%; height: 100%; object-fit: contain; border-radius: 5px; background: #14233d; }
.rack-mini-cameras img:first-child { grid-row: 1 / 3; }
.rack-mini-trace { display: block; width: 100%; height: 29px; margin: 10px 0 5px; overflow: visible; }
.rack-mini-trace path { stroke: #5686ca; stroke-width: 1.6; fill: none; stroke-linejoin: round; }
.rack-mini-trace .rack-mini-axis { stroke: #d8e4f4; stroke-width: 1; }
.rack-mini-footer { display: flex; justify-content: space-between; font: 7px ui-monospace,monospace; letter-spacing: .04em; color: #93a4bc; }
.rack-front { position: absolute; bottom: 18px; left: 1%; right: 1%; height: 53px; z-index: 5; display: flex; align-items: center; justify-content: space-between; padding: 0 24px; border: 1px solid #c5d7ee; border-top-color: #fff; border-radius: 8px 8px 16px 16px; background: linear-gradient(120deg,#eff6ffe6,#dce9fae8 55%,#f4f8fff2); box-shadow: 0 15px 21px -15px #315c9e5c,inset 0 1px #fff,inset 0 -3px #c4d7ed55; backdrop-filter: blur(9px); pointer-events: none; }
.rack-front::before { content: ''; position: absolute; top: 6px; left: 12px; right: 12px; height: 1px; background: linear-gradient(90deg,transparent,#ffffffd9,transparent); }
.rack-front > span:last-child { font: 8px ui-monospace,monospace; letter-spacing: .1em; color: #8196b6; }
.rack-mark { display: inline-flex; align-items: center; gap: 9px; color: #55759f; font-size: 11px; font-weight: 700; letter-spacing: .09em; }
.rack-mark i { width: 4px; height: 4px; border-radius: 50%; background: #8cadd9; box-shadow: 7px 0 #b0c4e0,14px 0 #d1dff1; }
.collection-expand { display: inline-flex; align-items: center; gap: 12px; min-height: 43px; padding: 9px 18px; color: #365f98; border: 1px solid #c9d9ef; border-radius: 40px; background: #ffffffad; box-shadow: 0 3px 7px #597ba908; font-size: 12px; font-weight: 600; cursor: pointer; transition: color .2s,background .2s,box-shadow .2s; }
.collection-expand:hover { color: #1b4f9c; background: #fff; box-shadow: 0 5px 15px #597ba91c; }
.collection-expand svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s; }
.collection-expand:hover svg { transform: translateY(3px); }
.rack-hint { margin: 12px 0 0; color: #92a2b9; font-size: 10px; }
.collection-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 8px 0 0; }
.collection-toolbar-title { display: block; margin-top: 6px; font-size: 17px; font-weight: 600; letter-spacing: -.025em; color: #405f87; }
.collection-collapse { display: inline-flex; align-items: center; gap: 7px; padding: 9px 12px; border: 1px solid #ccdbee; border-radius: 8px; color: #6480a2; background: #fff9; font-size: 11px; cursor: pointer; white-space: nowrap; transition: background .2s,color .2s; }
.collection-collapse:hover { background: #fff; color: #295c9f; }
.collection-collapse svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linejoin: round; }
.collection-open .trajectory-index { margin: 22px 0 25px; }
#trajectory-modules { align-items: start; }
.trajectory { transform-origin: 50% 50%; overflow-anchor: none; cursor: pointer; transition: transform .48s cubic-bezier(.2,.75,.25,1),box-shadow .48s,border-color .48s; }
.trajectory > * { flex-shrink: 0; }
.trajectory.is-details-open { cursor: default; }
.trajectory .trajectory-transport[hidden] { display: none; }
.trajectory:not(.is-details-open) .trace-chart { height: calc(var(--trace-height) * 200 / 338); overflow: clip; }
.trajectory:not(.is-details-open) .signal-metrics > div:nth-child(2), .trajectory:not(.is-details-open) .weight-axis-title { visibility: hidden; }
.trajectory.is-details-open .progress-time-axis { display: none; }
.trajectory-collection.is-transitioning .trajectory { transform: none; transition: none; }
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .trajectory-collection:not(.is-transitioning) .trajectory:hover { transform: translateY(-6px) scale(1.006); border-color: #acc5e7; box-shadow: 0 24px 55px -24px #315d9a48,0 6px 18px -9px #426faa20; }
  .trajectory-collection:not(.is-transitioning) .trajectory:hover .dip-toggle { background: #edf4fe; color: #275da5; }
}
.trajectory:focus { outline: none; }
.trajectory:focus-visible { outline: 2px solid #b5cce9; outline-offset: 4px; }
.collection-expand:focus-visible,.collection-collapse:focus-visible,.rack-card:focus-visible { outline: 3px solid #80a7dd; outline-offset: 5px; }
.dip-toggle { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; background: linear-gradient(110deg,#f7faff,#f2f7fe); color: #4e719e; border: 0; border-top: 1px solid #e1eaf6; text-align: left; cursor: pointer; transition: background .2s,color .2s; }
.dip-toggle > span { display: flex; align-items: baseline; gap: 10px; }
.dip-toggle [data-detail-label] { font-size: 11px; font-weight: 600; }
.dip-toggle small { font-size: 9px; font-weight: 400; color: #94a5bd; }
.dip-toggle svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linejoin: round; flex-shrink: 0; transition: transform .35s cubic-bezier(.22,.8,.25,1); }
.dip-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.dip-toggle:hover { color: #275da5; background: #edf4fe; }
.dip-panel { overflow: clip; }
.dip-panel .dip-explorer { border-top: 0; }
@media (max-width: 780px) {
  .trajectory-rack { padding: 24px 12px; border-radius: 20px; }
  .rack-eyebrow { gap: 8px; font-size: 7px; letter-spacing: .1em; }
  .rack-eyebrow > span { width: 20px; }
  .rack-stage { height: 285px; margin-top: 20px; --spread: clamp(25px,9vw,64px); }
  .rack-card { width: 216px; top: 24px; }
  .rack-card:nth-child(1) { --lift: 18px !important; }
  .rack-card:nth-child(2) { --lift: 4px !important; }
  .rack-card:nth-child(3) { --lift: -10px !important; }
  .rack-card:nth-child(4) { --lift: -24px !important; }
  .rack-mini { padding: 9px; border-radius: 12px; }
  .rack-mini-header { font-size: 9px; gap: 5px; margin-bottom: 8px; }
  .rack-mini-number { width: 19px; height: 19px; font-size: 8px; }
  .rack-mini-cameras { grid-template-rows: repeat(2,48px); gap: 4px; }
  .rack-mini-trace { height: 26px; margin: 8px 0 4px; }
  .rack-mini-footer { font-size: 6px; letter-spacing: 0; }
  .rack-front { left: 1%; right: 1%; height: 46px; bottom: 17px; padding-inline: 15px; }
  .rack-front > span:last-child { font-size: 6px; letter-spacing: .03em; }
  .rack-back { left: 3%; right: 3%; bottom: 26px; }
  .collection-toolbar-title { font-size: 14px; }
  .collection-collapse { font-size: 10px; padding: 8px; }
  .collection-open .trajectory-index { margin: 19px 0 20px; }
  .dip-toggle { padding: 13px 14px; }
  .dip-toggle > span { flex-direction: column; gap: 3px; }
}
@media (max-width: 360px) {
  .rack-stage { --spread: 25px; }
  .rack-card { width: calc(100vw - 136px); }
}
@media (prefers-reduced-motion: reduce) {
  .trajectory-collection *, .trajectory-collection *::before { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
