.platform-home {
  --night: #0d1925;
  --night-ink: #eef4f8;
  --night-muted: #afc1d1;
  --night-line: #324657;
  --sand: #78bafb;
  --paper: #f3f6f8;
  --ink: #122232;
  --muted: #405568;
  --rule: #cdd8e2;
  --rust: #12598e;
  --frame: min(calc(100% - 96px), 1480px);
  min-width: 1024px;
  color: var(--night-ink);
  background: var(--night);
}
.platform-home .platform-header-inner { width: var(--frame) }
.platform-home :focus-visible { outline-color: #7ebdff }
.cover {
  position: relative;
  isolation: isolate;
  min-height: 468px;
  background: #1b3042;
}
.cover-photo {
  position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 49%;
}
.cover::before {
  content: ""; position: absolute; z-index: -1; inset: 0;
  background: linear-gradient(90deg,#071524fa 0%,#09192ae8 20%,#102033a0 42%,#10203318 73%),
    linear-gradient(0deg,#091626a0 0%,transparent 41%);
}
.cover-inner { position: relative; display: flex; align-items: center; min-height: inherit; padding-block: 50px 56px }
.cover-intro { width: 480px; max-width: 44%; position: relative; z-index: 2 }
.cover h1 {
  font: 600 clamp(4.2rem,5.4vw,5.6rem)/1.05 "Atlas Display", "Microsoft YaHei UI", sans-serif;
  letter-spacing: -.028em; color: #f5f8fc;
}
.cover-subtitle { margin-top: 12px; font-size: clamp(1.18rem,1.55vw,1.48rem); line-height: 1.55; color: #eef2f7 }
.cover .intro-actions { margin-top: 27px; gap: 11px }
.cover .action, .cover-secondary {
  display: inline-flex; min-height: 46px; align-items: center; padding-inline: 18px;
  border: 1px solid #7ca3c47a; border-radius: 4px; font-size: .91rem; font-weight: 650; text-decoration: none;
}
.cover .action { color: #fff; background: #155d9f; border-color: #5ea3df; gap: 20px }
.cover .action:hover { background: #1a72ba }
.cover-secondary { color: #f1f7fc; background: #0b1d2bce }
.cover-secondary:hover { color: #fff; background: #193a54 }
.cover-credit { position: absolute; right: 0; bottom: 15px; color: #ddeaf5; font-size: .82rem; text-underline-offset: 4px }
.home-search { position: relative; max-width: 353px; margin-top: 21px }
.search-field { min-height: 43px; display: flex; border: 1px solid #7994aa; border-radius: 4px; background: #0e2030e8 }
.search-field:focus-within { outline: 2px solid #88c4ff; outline-offset: 2px }
.search-field input { width: 100%; min-width: 0; color: #f5f8fc; border: 0; background: none; padding: 7px 0 7px 12px; font-size: .88rem }
.search-field input:focus-visible { outline: none }
.search-field input::placeholder { color: #c2d1df }
.search-field button { width: 43px; flex: 0 0 43px; display: grid; place-items: center; color: #d1e8fe; background: none; border: 0 }
.search-field button:hover { background: #274763 }
.search-field svg,.stage-expand svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.55 }
.search-results,.search-status {
  position: absolute; inset: calc(100% + 6px) 0 auto; list-style: none; padding: 4px;
  background: #162b3e; border: 1px solid #819bad; color: #eef6fc; box-shadow: 0 9px 22px #0006;
}
.search-results li { display: block; padding: 7px 9px; cursor: pointer }
.search-results li[aria-selected=true],.search-results li:hover { background: #234765 }
.search-results strong,.search-results small { display: block }
.search-results strong { font-size: .94rem }
.search-results small,.search-status { font-size: .86rem; color: #d2e1ed }
.search-status { padding: 9px 11px }
.cover-foot { background: #eaf1f7; color: #13283b; border-bottom: 1px solid #b5c7d7 }
.cover-index { display: grid; grid-template-columns: repeat(4,1fr) minmax(180px,1fr) }
.cover-index a {
  display: flex; min-height: 80px; justify-content: center; gap: 13px; align-items: baseline; align-content: center;
  flex-wrap: wrap; padding: 23px 12px 13px; text-decoration: none; border-right: 1px solid #bfd0df;
}
.cover-index a:first-child { border-left: 1px solid #bfd0df }
.cover-index a:hover { background: #d9e8f6 }
.cover-index strong { color: #174f80; font: 600 1.63rem/1 Arial,sans-serif; font-variant-numeric: tabular-nums }
.cover-index span { color: #2a435c; font-size: .89rem }
.cover-index .cover-workbench strong { font: 650 1rem/1.6 "Atlas Display", "Microsoft YaHei UI", sans-serif }
.cover-index a:focus-visible { outline-color: #155c91 }
.home-cases { padding-block: 28px 32px; scroll-margin-top: 25px }
.home-section-heading { display: flex; gap: 12px; align-items: baseline; justify-content: space-between; margin-bottom: 13px }
.home-section-heading h2 { font: 600 clamp(1.45rem,2.2vw,2rem)/1.22 "Atlas Display", "Microsoft YaHei UI", sans-serif; letter-spacing: -.015em }
.home-section-heading > a { color: #a8d4fd; font-size: .9rem; white-space: nowrap }
.home-case-list { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 12px }
.home-case-list button {
  min-width: 0; padding: 0; overflow: hidden; border: 1px solid #3b5368; text-align: left;
  background: #152637; color: #eff5fb; border-radius: 5px;
}
.home-case-list button[aria-pressed=true] { border-color: #6eafea; background: #1c3b55 }
.home-case-list button:hover { background: #23425a; border-color: #9bd2ff }
.home-case-list img { width: 100%; height: auto; aspect-ratio: 2.6; object-fit: cover }
.case-heading { display: flex; align-items: baseline; flex-wrap: wrap; justify-content: space-between; gap: 0 7px; padding: 8px 10px 1px }
.case-heading strong { font-size: .94rem }
.case-magnitude { color: #ffce9d; font-size: .88rem; white-space: nowrap }
.home-case-list time { display: block; padding: 1px 10px 9px; color: #c2d1de; font-size: .79rem }
.platform-home .night { background: #101d29; overflow: visible; padding-top: 25px; border-block: 1px solid #304759; scroll-margin-top: 12px }
.observation-heading { margin-bottom: 13px }
.opening {
  grid-template: "scene sequence" auto "play play" auto / minmax(0,1fr) minmax(260px, 28%);
  gap: 13px 16px; padding: 0 0 17px; align-items: stretch;
}
.stage { grid-area: scene; margin: 0; min-width: 0; border: 1px solid #426074; background: #12212e; border-radius: 5px; overflow: hidden }
.stage-head,.stage-caption { padding-inline: 14px; background: #172a3b }
.stage-head { min-height: 43px; border-bottom: 1px solid #395266 }
.stage-head strong { font-size: .95rem }
.view-switch { border: 0 }
.view-switch button { color: #bacee0; font-size: .87rem }
.view-switch button[aria-pressed=true] { color: #f7fbff; box-shadow: 0 2px #82c0fb }
.stage-graphic {
  margin: 0; height: auto; min-height: 0; aspect-ratio: 2.16;
  background: radial-gradient(ellipse at var(--frame-x,58%) var(--frame-y,38%),#344a54 0%,transparent 69%),
    linear-gradient(135deg,#23394a,#12202c 73%);
}
.survey-line { display: none }
.plate { max-width: 82.6% }
.plate[data-view=map] { width: 67.3%; max-width: 67.3% }
.plate picture img { filter: brightness(1.15) contrast(1.04) drop-shadow(0 10px 8px #0009) }
#map-picture { filter: saturate(.63) brightness(1.15); border: 0 }
.stage-caption { min-height: 38px; border-top: 1px solid #395266; color: #c1d0dd; font-size: .82rem }
.stage-expand {
  position: absolute; right: 10px; top: 10px; width: 42px; height: 42px; display: grid; place-items: center;
  border: 1px solid #7398b3; border-radius: 4px; background: #152b3de8; color: #e0effb;
}
.stage-expand:hover { background: #2a4b64 }
#probe { background: #102336; border-color: #7398b3; color: #eff6fd }
.home-sequence { grid-area: sequence; align-self: stretch; min-width: 0; padding: 17px; border: 1px solid #426074; background: #172a3b; border-radius: 5px }
.sequence-head { display: flex; gap: 8px; align-items: center; justify-content: space-between }
.sequence-head h2 { font: 600 1.22rem/1.18 "Atlas Display","Microsoft YaHei UI",sans-serif; white-space: nowrap; letter-spacing: 0 }
.sequence-head select { min-width: 0; max-width: 136px; min-height: 36px; border: 1px solid #647f94; background: #15273a; color: #eff5fa; font-size: .87rem; padding-inline: 8px }
.sequence-date { margin-top: 9px; color: #bbcfde; display: flex; flex-wrap: wrap; gap: 3px 12px; font-size: .87rem }
.sequence-measures { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); margin: 15px 0 0; border-block: 1px solid #4c6478 }
.sequence-measures div { padding-block: 11px; min-width: 0 }
.sequence-measures div + div { border-left: 1px solid #4c6478; padding-left: 13px }
.sequence-measures dt { color: #c6d5e2; font-size: .84rem }
.sequence-measures dd { margin: 3px 0 0; font: 600 clamp(1.5rem,2.4vw,2.25rem)/1.14 Arial,sans-serif; white-space: nowrap }
.sequence-measures div:last-child dd { color: #a7d3ff }
.sequence-figure { margin-top: 17px; min-width: 0 }
.sequence-figure figcaption { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 2px 8px; font-size: .85rem; color: #dce8f2 }
.sequence-plot { display: grid; grid-template: "num bars" auto ". axis" auto / 3ch minmax(0,1fr); gap: 4px 6px; margin-top: 10px }
.sequence-y { grid-area: num; display: flex; flex-direction: column; justify-content: space-between; align-items: end; font-size: .78rem; color: #bdcfdf }
.frequency {
  grid-area: bars; display: flex; gap: 2px; height: clamp(110px,12vw,181px);
  align-items: stretch; border-block: 1px solid #758b9c; background: linear-gradient(transparent 49%,#9fb7cb40 49%,#9fb7cb40 50%,transparent 50%);
}
.frequency button { display: flex; align-items: end; flex: 1; min-width: 0; position: relative; padding: 0; border: 0; background: transparent; color: inherit }
.frequency button span { width: 100%; height: var(--height); min-height: 1px; background: #90a7b9; pointer-events: none; opacity: .64 }
.frequency button[data-included] span { background: #66aff2; opacity: 1 }
.frequency button:hover,.frequency button:focus-visible { background: #ffffff2e; z-index: 1 }
.frequency button[aria-pressed=true]::after { content: ""; position: absolute; inset: 0 auto 0 50%; width: 1px; background: #badeff; pointer-events: none }
.sequence-x { grid-area: axis; display: flex; justify-content: space-between; color: #bdcfdf; font-size: .78rem }
.sequence-foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 2px 9px; font-size: .84rem; color: #ccdae6; border-top: 1px solid #4c6478; margin-top: 12px; padding-top: 11px }
.sequence-foot a { color: #afd8ff }
.playbar { grid-area: play; margin: 0; grid-template-columns: minmax(130px,17%) 1fr minmax(150px,17%); min-height: 66px; padding: 7px 0; border-color: #48647b }
#play { background: #17354c; border-color: #6a95b8 }
#play:hover { background: #255881 }
.scrubber { grid-column: auto; grid-row: auto }
.home-directory { padding-block: 25px }
.module-links { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); border-block: 1px solid #466074 }
.module-links a {
  min-height: 65px; display: grid; align-content: center; gap: 3px; padding: 8px 13px;
  border-right: 1px solid #466074; text-decoration: none; transition: background-color 150ms ease;
}
.module-links a:first-child { padding-left: 2px }
.module-links a:last-child { border-right: 0 }
.module-links a:hover { background: #183145; color: #c9e3ff }
.module-links strong { font-size: .96rem }
.module-links span { color: #b6cadb; font-size: .83rem }
.evidence { padding-block: 49px }
.evidence .outline:hover:not(:disabled),.evidence tr[data-selected] { background: #d9e8f6 }
.evidence :focus-visible { outline-color: #165b92 }
.evidence .bars button[data-included] span { background: #2c73a9 }
.evidence .bars button:hover { background: #dce8f4 }
.evidence .bars button[aria-pressed=true]::after { background: #21598696 }
.evidence .records a,.evidence .evidence-method { color: #135182 }
.evidence-head h2 { font-size: clamp(1.9rem,3.1vw,3rem) }
.platform-home .research,.platform-home .foot { background: #101d29 }
@media (max-width: 1240px) {
  .platform-home { --frame: calc(100% - 60px) }
  .cover { min-height: 426px }
  .cover-inner { padding-block: 39px 54px }
  .cover h1 { font-size: 4rem }
  .cover-intro { width: 395px }
  .home-sequence { padding: 13px }
  .frequency { height: 112px }
  .sequence-measures { margin-top: 12px }
  .sequence-measures div { padding-block: 8px }
  .sequence-figure { margin-top: 12px }
  .sequence-foot { margin-top: 9px; padding-top: 8px }
  .module-links a { padding-inline: 10px }
}
@media (prefers-reduced-motion: reduce) {
  .module-links a { transition: none }
}
@media print {
  .platform-header,.cover,.cover-foot,.home-directory,.home-cases { display: none }
}

/* V7 atlas binding and responsive reading order */
.platform-home {
  --night:var(--obs-bg);
  --night-ink:var(--obs-text);
  --night-muted:var(--obs-muted);
  --night-line:var(--obs-line);
  --sand:var(--obs-action);
  --paper:var(--paper-bg);
  --ink:var(--paper-ink);
  --muted:var(--paper-muted);
  --rule:var(--paper-line);
  --rust:var(--paper-link);
  --frame:var(--v7-frame);
  min-width:0;
}
.platform-home :focus-visible {outline-color:var(--obs-focus)}
.platform-home .evidence :focus-visible {outline-color:var(--paper-link)}
.platform-home .cover {
  min-height:clamp(465px,40vw,645px);
  background:var(--obs-shell);
  border-bottom:1px solid var(--obs-line);
}
.cover-photo {left:auto;width:78%;object-position:54% 52%}
.platform-home .cover::before {
  background:linear-gradient(90deg,var(--obs-shell) 22%,color-mix(in srgb,var(--obs-shell) 91%,transparent) 33%,transparent 64%),
    linear-gradient(0deg,color-mix(in srgb,var(--obs-bg) 83%,transparent),transparent 36%);
}
.platform-home .cover-inner {padding-block:var(--v7-space-8)}
.platform-home .cover-intro {width:490px;max-width:53%}
.platform-home .cover h1 {
  font:600 var(--v7-display)/1.09 var(--font-display);
  letter-spacing:-.035em;
  color:var(--obs-text);
}
.platform-home .cover-subtitle {color:var(--obs-text);max-width:22ch}
.platform-home .cover .action {background:var(--obs-action);border-color:var(--obs-action);color:var(--obs-bg)}
.platform-home .cover .action:hover {background:var(--obs-text)}
.platform-home .cover-secondary {border-color:var(--obs-line);background:var(--obs-panel);color:var(--obs-text)}
.platform-home .cover-secondary:hover {background:var(--obs-raised)}
.cover-index {grid-template-columns:repeat(5,minmax(0,1fr))}
.cover-index a {justify-content:flex-start;min-height:74px;padding:var(--v7-space-4)}
.cover-foot {background:var(--paper-bg);color:var(--paper-ink);border-color:var(--paper-line)}
.cover-index a,.cover-index a:first-child {border-color:var(--paper-line)}
.cover-index strong {color:var(--paper-link)}
.cover-index span {color:var(--paper-muted)}
.platform-home .night {
  background:var(--obs-bg);padding-top:var(--v7-space-7);
  border-color:var(--obs-line);
}
.platform-home .home-section-heading h2,.platform-home .evidence-head h2 {font-size:var(--v7-heading)}
.platform-home .opening {gap:0;grid-template-columns:minmax(0,1fr) minmax(260px,28%)}
.stage,.home-sequence {border-radius:0;border-color:var(--obs-line)}
.stage-head,.stage-caption,.home-sequence {background:var(--obs-panel)}
.home-sequence {border-left:0;padding:var(--v7-space-5)}
.stage-graphic {aspect-ratio:2.05;background:var(--obs-raised)}
.plate[data-view=relief] {max-width:94%}
.playbar {border-top:0;border-color:var(--obs-line);margin-top:0}
.platform-home .evidence {padding-block:var(--v7-space-8)}
.evidence-head a {color:var(--paper-link);text-underline-offset:.2em}
.home-case-list {grid-template-columns:repeat(6,minmax(0,1fr));gap:var(--v7-space-2)}
.home-case-list button {
  display:grid;grid-template-rows:auto 1fr auto;border-radius:0;
  background:var(--obs-panel);border-color:var(--obs-line);
}
.home-case-list button[aria-pressed=true] {border-color:var(--obs-focus);background:var(--obs-raised)}
.home-case-list button[aria-pressed=true] img {filter:saturate(1.25) brightness(1.12)}
.home-case-list button img {display:block}
.home-case-list .case-magnitude {color:var(--signal-b-night)}
.home-cases,.home-directory {padding-block:var(--v7-space-7)}
.platform-home .module-links a {border-color:var(--obs-line)}
.platform-home .module-links span {color:var(--obs-muted)}
@media (max-width:1000px) {
  .platform-home .cover-intro {max-width:58%}
  .home-case-list,.module-links {grid-template-columns:repeat(3,minmax(0,1fr))}
  .home-sequence {padding:var(--v7-space-3)}
  .cover-index a {gap:var(--v7-space-2)}
}
@media (max-width:790px) {
  .platform-home .opening {
    grid-template:"play" auto "scene" auto "sequence" auto / minmax(0,1fr);
    padding-top:0;
  }
  .home-sequence {border-left:1px solid var(--obs-line);border-top:0}
  .playbar {grid-column:auto;border-top:1px solid var(--obs-line);margin-bottom:var(--v7-space-3)}
  .platform-home .cover-index {grid-template-columns:repeat(3,minmax(0,1fr))}
  .cover-index a:nth-child(n+4) {border-top:1px solid var(--paper-line)}
  .cover-index a:nth-child(4) {border-left:1px solid var(--paper-line)}
  .cover-index span {font-size:.85rem}
  .cover-index a {display:grid;align-content:center;padding:var(--v7-space-3)}
}
@media (max-width:570px) {
  .platform-home .cover {min-height:460px}
  .cover-photo {width:100%;height:74%;object-position:60% 50%}
  .platform-home .cover::before {
    background:linear-gradient(0deg,var(--obs-shell) 22%,color-mix(in srgb,var(--obs-shell) 85%,transparent) 43%,transparent 84%);
  }
  .platform-home .cover-inner {align-items:flex-end;padding-block:158px 46px}
  .platform-home .cover-intro {width:100%;max-width:none}
  .platform-home .cover-subtitle {font-size:1rem;max-width:24ch}
  .platform-home .intro-actions {margin-top:var(--v7-space-4);flex-wrap:wrap}
  .platform-home .cover .action,.platform-home .cover-secondary {min-height:44px;padding-inline:var(--v7-space-3);gap:var(--v7-space-2)}
  .home-search {margin-top:var(--v7-space-3)}
  .cover-credit {font-size:.76rem}
  .platform-home .cover-index {grid-template-columns:repeat(2,minmax(0,1fr))}
  .cover-index a:nth-child(3) {border-top:1px solid var(--paper-line);border-left:1px solid var(--paper-line)}
  .cover-index a:nth-child(4) {border-left:0}
  .cover-index a:nth-child(5) {grid-column:1/-1;border-left:1px solid var(--paper-line);min-height:48px}
  .cover-index strong {font-size:1.35rem}
  .home-case-list,.module-links {grid-template-columns:repeat(2,minmax(0,1fr))}
  .module-links a {border-bottom:1px solid var(--obs-line)}
  .platform-home .night,.platform-home .evidence,.home-cases,.home-directory {padding-block:var(--v7-space-6)}
  .home-section-heading {gap:var(--v7-space-2);flex-wrap:wrap}
  .stage-graphic {aspect-ratio:1.38}
  .stage-head,.stage-caption {padding-inline:var(--v7-space-2);flex-wrap:wrap}
  .stage-caption {gap:var(--v7-space-1)}
  .playbar {grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:var(--v7-space-2)}
  .play-name {gap:var(--v7-space-2)}
  .scrubber {grid-column:1/-1;grid-row:2}
  .shot-total {grid-column:2;grid-row:1}
  .ticks button {min-height:var(--v7-control)}
  .evidence .difference {gap:var(--v7-space-2)}
  .evidence .difference strong {font-size:clamp(1.35rem,8vw,2.55rem)}
  .evidence .difference span {white-space:normal}
  .evidence .records-head {flex-wrap:wrap}
}

.platform-home .cover-subtitle {max-width:19em;text-wrap:balance}
@media (min-width:791px) {.platform-home .cover {min-height:clamp(438px,34vw,540px)}}
@media (max-width:570px) {.platform-home .cover-subtitle {max-width:19em}}

.cover-subtitle span {display:inline-block}

.platform-home .frequency {position:relative;background:transparent}
.platform-home .frequency::before {
  content:"";position:absolute;inset:50% 0 auto;border-top:1px solid var(--obs-line);pointer-events:none
}
.platform-home .view-switch button[aria-pressed=true] {
  box-shadow:none;border-bottom:2px solid var(--signal-a-night)
}
.platform-home .difference strong,.platform-home .shot-total strong {
  font-family:var(--font);font-variant-numeric:tabular-nums;letter-spacing:-.02em
}
.platform-home .difference div:first-child strong {color:var(--atlas-a)}
.platform-home .difference div:nth-child(2) strong {color:var(--atlas-b)}
.platform-home .stage-legend .point {background:var(--signal-a-night)}
.platform-home .stage-legend .new-point {background:var(--signal-b-night)}
