:root {
  --cream: #f7f5ef;
  --ink: #14202a;
  --green: #0f6e5f;
  --deep-green: #0d2d26;
  --deepest-green: #081f1a;
  --ochre: #d18b00;
  --lime: #dceea7;
  --muted: #9eb5ad;
  --line: rgba(220, 238, 167, 0.18);
  --nav-height: 72px;
  --safe-top: max(18px, env(safe-area-inset-top));
  --safe-bottom: max(0px, env(safe-area-inset-bottom));
}

* { box-sizing: border-box; }

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  background: var(--deepest-green);
  color: var(--cream);
  font-family: Arial, "Microsoft YaHei", "PingFang SC", sans-serif;
}

button { font: inherit; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.ambient,
.ambient__grid,
.ambient__glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.ambient {
  overflow: hidden;
  background:
    radial-gradient(circle at 55% 35%, rgba(25, 103, 86, 0.22), transparent 38%),
    linear-gradient(145deg, #0c2f27 0%, #071b17 72%);
}

.ambient__grid {
  opacity: 0.32;
  background-image:
    linear-gradient(rgba(220, 238, 167, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(220, 238, 167, 0.045) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black 0%, transparent 82%);
}

.ambient__glow {
  width: 38vw;
  height: 38vw;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.11;
}

.ambient__glow--one {
  inset: -12vw auto auto -8vw;
  background: var(--green);
}

.ambient__glow--two {
  inset: auto -14vw -18vw auto;
  background: var(--ochre);
}

.deck {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-rows: 56px minmax(0, 1fr) calc(var(--nav-height) + var(--safe-bottom));
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--safe-top) clamp(18px, 3vw, 48px) 8px;
  border-bottom: 1px solid var(--line);
}

.brand {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--cream);
  display: inline-flex;
  gap: 8px;
  align-items: baseline;
  padding: 0;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 10px;
  font-weight: 700;
}

.brand__mark { color: var(--lime); }
.brand__divider { color: #e97b5f; }
.brand__context { color: rgba(247, 245, 239, 0.78); }

.topbar__meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.13em;
}

.section-label {
  padding: 5px 9px;
  border: 1px solid rgba(247, 245, 239, 0.22);
  border-radius: 999px;
  color: rgba(247, 245, 239, 0.74);
}

.page-number { font-weight: 700; }

.stage {
  position: relative;
  min-height: 0;
  display: grid;
  place-items: center;
  padding: 12px 22px 14px;
  overflow: hidden;
  touch-action: pan-y;
}

.slide-shell {
  position: relative;
  width: min(calc(100vw - 44px), calc((100vh - var(--nav-height) - 88px) * 16 / 9));
  aspect-ratio: 16 / 9;
  background: var(--cream);
  overflow: hidden;
  border: 1px solid rgba(247, 245, 239, 0.18);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.34);
  transform-origin: center;
  transition: opacity 180ms ease, transform 360ms cubic-bezier(.2,.8,.2,1);
}

.slide-shell.is-leaving {
  opacity: 0;
  transform: scale(0.985) translateY(5px);
  transition-duration: 130ms;
}

.slide-shell.is-entering {
  animation: slide-in 440ms cubic-bezier(.2,.8,.2,1) both;
}

@keyframes slide-in {
  0% { opacity: 0; transform: scale(1.012) translateY(-4px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}

.native-slide {
  --native-scale: 1;
  position: absolute;
  left: 0;
  top: 0;
  width: 1280px;
  height: 720px;
  overflow: hidden;
  isolation: isolate;
  transform: scale(var(--native-scale));
  transform-origin: 0 0;
  color: var(--ink);
}

.native-slide::after {
  content: "";
  position: absolute;
  z-index: 2000;
  top: 0;
  left: -35%;
  width: 30%;
  height: 3px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, var(--green), var(--ochre), transparent);
  opacity: 0;
}

.native-slide.is-active::after {
  animation: native-scan-across 980ms 80ms cubic-bezier(.2,.8,.2,1) both;
}

.native-element {
  --element-rotation: 0deg;
  position: absolute;
  box-sizing: border-box;
  margin: 0;
  opacity: 0;
  transform: translateY(12px) rotate(var(--element-rotation));
  transform-origin: center;
  will-change: transform, opacity, clip-path;
}

.native-element.has-text {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  line-height: 1.12;
}

.native-element.has-text.is-no-wrap { overflow: visible; }

.native-paragraph {
  width: 100%;
  min-height: 0;
  margin: 0;
  padding: 0;
  white-space: inherit;
}

.native-run { vertical-align: baseline; }

.native-element--image {
  overflow: hidden;
  background: #fff;
  clip-path: inset(0 100% 0 0);
}

.native-element--image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: fill;
  user-select: none;
  -webkit-user-drag: none;
}

.native-element--line {
  transform-origin: left center;
}

.native-element--line.is-vertical-line { transform-origin: center top; }

.native-element--line.is-diagonal-line {
  overflow: visible;
  background: transparent;
}

.native-element--line.is-diagonal-line::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: var(--diagonal-length);
  height: 2px;
  background: var(--diagonal-color);
  transform: rotate(var(--diagonal-angle));
  transform-origin: left center;
}

.native-slide.is-active .native-element--shape {
  animation: native-element-in 560ms var(--enter-delay) cubic-bezier(.2,.8,.2,1) both;
}

.native-slide.is-active .native-element--shape.is-panel:not(.has-text) {
  animation-name: native-panel-in;
  animation-duration: 700ms;
}

.native-slide.is-active .native-element--image {
  animation: native-image-in 760ms var(--enter-delay) cubic-bezier(.16,.85,.28,1) both;
}

.native-slide.is-active .native-element--line.is-horizontal-line {
  animation: native-line-x 680ms var(--enter-delay) cubic-bezier(.2,.8,.2,1) both;
}

.native-slide.is-active .native-element--line.is-vertical-line {
  animation: native-line-y 680ms var(--enter-delay) cubic-bezier(.2,.8,.2,1) both;
}

.native-slide.is-active .native-element--line.is-diagonal-line {
  animation: native-element-in 680ms var(--enter-delay) cubic-bezier(.2,.8,.2,1) both;
}

.native-slide.is-active .native-element.is-slide-heading {
  animation-name: native-heading-in;
  animation-duration: 720ms;
}

.native-slide.is-active .native-element.is-metric {
  animation-name: native-metric-in;
  animation-duration: 740ms;
}

.native-slide.is-active .native-element--image.is-major-media img {
  animation: native-media-breathe 8s 1.1s ease-in-out infinite alternate;
}

.native-element.is-decorative-custom:not(.has-text) { display: none; }

@keyframes native-element-in {
  0% { opacity: 0; transform: translateY(12px) rotate(var(--element-rotation)); }
  100% { opacity: 1; transform: translateY(0) rotate(var(--element-rotation)); }
}

@keyframes native-panel-in {
  0% { opacity: 0; transform: scale(.96) rotate(var(--element-rotation)); }
  100% { opacity: 1; transform: scale(1) rotate(var(--element-rotation)); }
}

@keyframes native-heading-in {
  0% { opacity: 0; transform: translateY(18px) rotate(var(--element-rotation)); clip-path: inset(0 0 100% 0); }
  100% { opacity: 1; transform: translateY(0) rotate(var(--element-rotation)); clip-path: inset(0); }
}

@keyframes native-metric-in {
  0% { opacity: 0; transform: scale(.72) rotate(var(--element-rotation)); }
  65% { opacity: 1; transform: scale(1.05) rotate(var(--element-rotation)); }
  100% { opacity: 1; transform: scale(1) rotate(var(--element-rotation)); }
}

@keyframes native-image-in {
  0% { opacity: 0; transform: scale(.985) rotate(var(--element-rotation)); clip-path: inset(0 100% 0 0); }
  100% { opacity: 1; transform: scale(1) rotate(var(--element-rotation)); clip-path: inset(0); }
}

@keyframes native-line-x {
  0% { opacity: 0; transform: scaleX(0) rotate(var(--element-rotation)); }
  100% { opacity: 1; transform: scaleX(1) rotate(var(--element-rotation)); }
}

@keyframes native-line-y {
  0% { opacity: 0; transform: scaleY(0) rotate(var(--element-rotation)); }
  100% { opacity: 1; transform: scaleY(1) rotate(var(--element-rotation)); }
}

@keyframes native-media-breathe {
  from { transform: scale(1); }
  to { transform: scale(1.018); }
}

@keyframes native-scan-across {
  0% { left: -35%; opacity: 0; }
  18% { opacity: .75; }
  100% { left: 105%; opacity: 0; }
}

.slide-shadow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(20, 32, 42, 0.05);
}

.evidence-layer,
.live-layer {
  position: absolute;
  inset: 0;
}

.evidence-layer {
  z-index: 4;
  pointer-events: none;
}

.live-layer { z-index: 5; pointer-events: none; }
.live-layer .pdp-frame { pointer-events: auto; }

.evidence-hotspot {
  position: absolute;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 8px;
  appearance: none;
  border: 2px solid transparent;
  border-radius: 3px;
  color: #fff;
  background: transparent;
  cursor: zoom-in;
  pointer-events: auto;
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.evidence-hotspot:hover,
.evidence-hotspot:focus-visible {
  border-color: rgba(15, 110, 95, 0.92);
  background: linear-gradient(to top, rgba(8, 63, 53, .18), transparent 34%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.68), 0 8px 26px rgba(20,32,42,.15);
}

.evidence-hotspot__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: calc(100% - 4px);
  padding: 6px 8px;
  border: 1px solid rgba(255,255,255,.8);
  border-radius: 3px;
  color: #fff;
  background: rgba(8, 63, 53, .92);
  box-shadow: 0 5px 16px rgba(20,32,42,.22);
  font-size: clamp(9px, .85vw, 12px);
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.evidence-hotspot__badge i {
  font-style: normal;
  font-size: 15px;
  font-weight: 400;
}

.evidence-hotspot__badge b {
  display: grid;
  min-width: 19px;
  height: 19px;
  padding: 0 4px;
  place-items: center;
  border-radius: 99px;
  color: var(--deep-green);
  background: var(--lime);
  font-size: 9px;
}

.evidence-hotspot--metric {
  align-items: flex-end;
  justify-content: flex-end;
  border: 0;
  padding: 7px;
}

.evidence-hotspot--metric:hover,
.evidence-hotspot--metric:focus-visible {
  background: rgba(15, 110, 95, .055);
  box-shadow: inset 0 0 0 2px rgba(15, 110, 95, .72);
}

.evidence-hotspot--detail {
  isolation: isolate;
  overflow: hidden;
  border-color: rgba(15,110,95,.24);
  background: #f7f8f4;
}

.evidence-hotspot--detail::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  content: "";
  background: linear-gradient(to top, rgba(8,63,53,.42), transparent 52%);
  pointer-events: none;
}

.evidence-hotspot__preview {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transform: scale(1.002);
  transition: transform 220ms ease, filter 220ms ease;
}

.evidence-hotspot--detail .evidence-hotspot__badge {
  position: relative;
  z-index: 2;
}

.evidence-hotspot--detail:hover .evidence-hotspot__preview,
.evidence-hotspot--detail:focus-visible .evidence-hotspot__preview {
  filter: saturate(.92) contrast(1.02);
  transform: scale(1.025);
}

.evidence-source-link {
  position: absolute;
  z-index: 12;
  left: 3.8%;
  bottom: 1.65%;
  width: 70%;
  height: 4.5%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  color: var(--green);
  text-decoration: none;
  pointer-events: auto;
}

.evidence-source-link span {
  display: inline-flex;
  align-items: center;
  min-height: 21px;
  padding: 4px 8px;
  border: 1px solid rgba(15,110,95,.22);
  border-radius: 99px;
  background: rgba(247,250,247,.94);
  box-shadow: 0 3px 10px rgba(20,32,42,.08);
  font-size: clamp(7px, .72vw, 10px);
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  transition: color 150ms ease, background 150ms ease, border-color 150ms ease;
}

.evidence-source-link:hover span,
.evidence-source-link:focus-visible span {
  color: #fff;
  background: var(--green);
  border-color: var(--green);
}

.pdp-frame {
  position: absolute;
  overflow: hidden;
  background: white;
  border-radius: 1px;
  box-shadow:
    0 0 0 2px rgba(15, 110, 95, 0.48),
    0 10px 30px rgba(20, 32, 42, 0.22);
  opacity: 0;
  transform: scale(0.98);
  animation: frame-reveal 520ms 180ms cubic-bezier(.2,.8,.2,1) forwards;
}

@keyframes frame-reveal {
  to { opacity: 1; transform: scale(1); }
}

.pdp-viewport {
  position: absolute;
  inset: 0;
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
  cursor: ns-resize;
  background: #fff;
}

.pdp-viewport::-webkit-scrollbar,
.focus__viewport::-webkit-scrollbar { display: none; }

.pdp-viewport img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin-left: 0;
  user-select: none;
  -webkit-user-drag: none;
}

.pdp-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(15, 110, 95, 0.18), transparent 10%, transparent 88%, rgba(15, 110, 95, 0.18)),
    linear-gradient(90deg, rgba(255,255,255,.18), transparent 12%, transparent 88%, rgba(255,255,255,.18));
}

.pdp-expand {
  position: absolute;
  z-index: 3;
  top: 6px;
  right: 6px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 50%;
  color: white;
  background: rgba(13, 45, 38, 0.86);
  box-shadow: 0 4px 14px rgba(0,0,0,.22);
  cursor: pointer;
  opacity: 0;
  transform: translateY(-3px);
  transition: opacity 160ms ease, transform 160ms ease, background 160ms ease;
}

.pdp-expand svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pdp-frame:hover .pdp-expand,
.pdp-expand:focus-visible { opacity: 1; transform: translateY(0); }
.pdp-expand:hover { background: var(--green); }

.pdp-track {
  position: absolute;
  z-index: 2;
  top: 6px;
  bottom: 6px;
  right: 2px;
  width: 3px;
  border-radius: 999px;
  background: rgba(20, 32, 42, 0.12);
  pointer-events: none;
}

.pdp-thumb {
  position: absolute;
  top: calc(var(--overview-padding) * -1);
  left: 0;
  width: 100%;
  min-height: 10px;
  border-radius: inherit;
  background: var(--ochre);
  box-shadow: 0 0 6px rgba(209, 139, 0, 0.45);
}

.scan-line {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  height: 1px;
  top: 18%;
  background: linear-gradient(90deg, transparent, rgba(220, 238, 167, .95), transparent);
  box-shadow: 0 0 8px rgba(220, 238, 167, .75);
  opacity: .6;
  pointer-events: none;
  animation: scan 3.8s ease-in-out infinite alternate;
}

@keyframes scan { to { top: 82%; } }

.keyboard-hint {
  position: absolute;
  left: 50%;
  bottom: 5px;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 9px;
  color: rgba(247, 245, 239, 0.46);
  border: 1px solid rgba(247, 245, 239, 0.07);
  border-radius: 999px;
  background: rgba(8, 31, 26, 0.46);
  font-size: 9px;
  letter-spacing: 0.04em;
  animation: hint-fade 6s 2s both;
}

.keyboard-hint kbd {
  min-width: 18px;
  padding: 2px 4px;
  border: 0;
  border-radius: 3px;
  background: rgba(247, 245, 239, 0.08);
  color: inherit;
  text-align: center;
}

@keyframes hint-fade {
  0%, 60% { opacity: 1; }
  100% { opacity: 0; visibility: hidden; }
}

.controls {
  min-width: 0;
  display: grid;
  grid-template-columns: auto minmax(80px, 1fr) auto auto;
  align-items: center;
  gap: clamp(14px, 2.2vw, 32px);
  padding: 0 clamp(18px, 2.5vw, 36px) var(--safe-bottom);
  background: rgba(6, 25, 21, 0.94);
  border-top: 1px solid rgba(247, 245, 239, 0.06);
  backdrop-filter: blur(14px);
}

.controls__identity {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  letter-spacing: .14em;
  font-weight: 700;
}

.controls__identity i { color: #e97b5f; font-style: normal; }

.progress {
  position: relative;
  height: 1px;
  background: rgba(247, 245, 239, 0.15);
  overflow: visible;
}

.progress__bar {
  position: absolute;
  inset: 0 auto 0 0;
  width: 3.333%;
  background: linear-gradient(90deg, var(--lime), var(--ochre));
  box-shadow: 0 0 10px rgba(220, 238, 167, 0.4);
  transition: width 420ms cubic-bezier(.2,.8,.2,1);
}

.controls__status {
  display: inline-flex;
  gap: 7px;
  color: rgba(247, 245, 239, 0.58);
  font-size: 10px;
  letter-spacing: .13em;
}

.controls__status span:first-child { color: var(--cream); font-weight: 700; }
.controls__slash { opacity: .35; }

.controls__actions { display: flex; gap: 8px; align-items: center; }

.icon-button,
.menu-button,
.focus-control,
.dialog-close {
  border: 1px solid rgba(247, 245, 239, 0.08);
  color: rgba(247, 245, 239, 0.78);
  background: rgba(247, 245, 239, 0.055);
  cursor: pointer;
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.icon-button {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 8px;
}

.icon-button svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.menu-button {
  height: 40px;
  padding: 0 16px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 700;
}

.icon-button:hover,
.menu-button:hover,
.focus-control:hover,
.dialog-close:hover {
  color: white;
  border-color: rgba(247,245,239,.22);
  background: rgba(247,245,239,.11);
}

.icon-button:active,
.menu-button:active,
.focus-control:active { transform: translateY(1px); }

.icon-button:disabled { opacity: .25; cursor: not-allowed; }

.icon-button--primary {
  color: var(--deepest-green);
  background: var(--lime);
  border-color: var(--lime);
}

.icon-button--primary:hover { color: var(--deepest-green); background: #ecf7c7; border-color: #ecf7c7; }

dialog {
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  color: var(--cream);
  background: transparent;
}

dialog::backdrop {
  background: rgba(3, 18, 15, 0.82);
  backdrop-filter: blur(12px);
}

.overview[open],
.focus[open],
.evidence[open] { animation: dialog-in 220ms ease both; }

@keyframes dialog-in { from { opacity: 0; } to { opacity: 1; } }

.overview__panel {
  --overview-padding: clamp(20px, 4vw, 58px);
  width: 100%;
  height: 100%;
  overflow: auto;
  padding: var(--overview-padding);
  background:
    linear-gradient(rgba(220, 238, 167, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(220, 238, 167, 0.035) 1px, transparent 1px),
    #0a2721;
  background-size: 48px 48px;
}

.overview__header,
.focus__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.overview__header {
  position: sticky;
  z-index: 5;
  top: 0;
  margin: calc(var(--overview-padding) * -1) calc(var(--overview-padding) * -1) 30px;
  padding: var(--overview-padding) var(--overview-padding) 20px;
  background: linear-gradient(to bottom, #0a2721 76%, rgba(10, 39, 33, 0));
}

.eyebrow {
  display: block;
  margin-bottom: 6px;
  color: var(--lime);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .16em;
}

.overview h2,
.focus h2 {
  margin: 0;
  font-family: Georgia, "Songti SC", serif;
  font-weight: 400;
}

.overview h2 { font-size: clamp(28px, 4vw, 54px); }

.dialog-close {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-size: 24px;
  line-height: 1;
}

.overview__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 18px;
}

.overview-card {
  appearance: none;
  min-width: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(247, 245, 239, 0.12);
  border-radius: 5px;
  background: rgba(247, 245, 239, 0.045);
  color: var(--cream);
  cursor: pointer;
  text-align: left;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.overview-card:hover {
  transform: translateY(-3px);
  border-color: rgba(220, 238, 167, 0.5);
  background: rgba(247, 245, 239, 0.075);
}

.overview-card.is-current { box-shadow: 0 0 0 2px var(--ochre); }

.overview-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--cream);
}

.overview-card__visual {
  position: relative;
  display: grid;
  min-height: 132px;
  padding: 14px;
  overflow: hidden;
  align-content: space-between;
  background:
    linear-gradient(rgba(15, 110, 95, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 110, 95, .06) 1px, transparent 1px),
    linear-gradient(145deg, #fbfcf8, #e9f0eb);
  background-size: 24px 24px, 24px 24px, auto;
  border-bottom: 1px solid rgba(15, 110, 95, .11);
}

.overview-card__visual::after {
  content: "";
  position: absolute;
  right: -18px;
  bottom: -32px;
  width: 104px;
  height: 104px;
  border: 1px solid rgba(15, 110, 95, .18);
  border-radius: 50%;
  box-shadow: 0 0 0 20px rgba(15, 110, 95, .035), 0 0 0 40px rgba(209, 139, 0, .025);
  transition: transform 300ms ease;
}

.overview-card:hover .overview-card__visual::after { transform: scale(1.12) rotate(12deg); }

.overview-card__section {
  position: relative;
  z-index: 1;
  color: var(--green);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .12em;
}

.overview-card__hero-number {
  position: relative;
  z-index: 1;
  color: var(--ink);
  font-family: Georgia, "Songti SC", serif;
  font-size: 44px;
  line-height: .9;
}

.overview-card__signal {
  position: absolute;
  z-index: 1;
  right: 14px;
  top: 14px;
  display: flex;
  gap: 4px;
}

.overview-card__signal i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green);
  animation: overview-signal 1.6s ease-in-out infinite alternate;
}

.overview-card__signal i:nth-child(2) { animation-delay: 160ms; background: var(--ochre); }
.overview-card__signal i:nth-child(3) { animation-delay: 320ms; }

@keyframes overview-signal { to { transform: translateY(6px); opacity: .35; } }

.overview-card__meta {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: start;
  padding: 12px;
}

.overview-card__number {
  color: var(--ochre);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
}

.overview-card__title {
  display: -webkit-box;
  min-height: 32px;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  color: rgba(247,245,239,.82);
  font-size: 12px;
  line-height: 1.35;
}

.focus {
  padding: clamp(12px, 3vw, 34px);
}

.focus__panel {
  position: relative;
  width: min(1660px, 100%);
  height: 100%;
  margin: auto;
  display: grid;
  grid-template-rows: 74px minmax(0, 1fr) 4px;
  overflow: hidden;
  border: 1px solid rgba(247,245,239,.14);
  border-radius: 8px;
  background: #e8efec;
  box-shadow: 0 35px 100px rgba(0,0,0,.5);
}

.focus__header {
  min-width: 0;
  padding: 12px 16px 12px 22px;
  background: var(--deep-green);
  border-bottom: 1px solid rgba(247,245,239,.08);
}

.focus__title-wrap { min-width: 0; }
.focus h2 { font-size: clamp(16px, 2vw, 25px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.focus__actions { display: flex; gap: 7px; align-items: center; }

.focus-control {
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
  border-radius: 7px;
  font-size: 12px;
}

.focus-control--wide { min-width: 60px; }
.focus-control--zoom { min-width: 38px; padding-inline: 9px; font-size: 16px; }
.focus-control--zoom-label { min-width: 58px; padding-inline: 9px; font-variant-numeric: tabular-nums; }
.focus__header .dialog-close { width: 38px; height: 38px; }

.focus__viewport {
  overflow: auto;
  overscroll-behavior: contain;
  background:
    linear-gradient(90deg, rgba(20,32,42,.06) 1px, transparent 1px),
    #fff;
  background-size: 12.5% 100%;
  scrollbar-width: none;
}

.focus__viewport img {
  display: block;
  width: auto;
  max-width: none;
  height: auto;
  margin: 0 auto;
  image-rendering: auto;
  box-shadow: 0 0 0 1px rgba(20,32,42,.06), 0 18px 48px rgba(20,32,42,.12);
}

.focus__progress { background: rgba(20,32,42,.13); }
.focus__progress span { display: block; width: 0; height: 100%; background: linear-gradient(90deg, var(--green), var(--ochre)); transition: width 100ms linear; }

.evidence {
  padding: clamp(10px, 2.5vw, 30px);
}

.evidence__panel {
  width: min(1320px, 100%);
  height: 100%;
  margin: auto;
  display: grid;
  grid-template-rows: 72px minmax(0, 1fr) 94px;
  overflow: hidden;
  border: 1px solid rgba(15, 110, 95, .18);
  border-radius: 10px;
  background: #f7f8f4;
  box-shadow: 0 32px 96px rgba(37,67,58,.28);
}

.evidence.is-detail {
  padding: clamp(4px, 1vw, 12px);
}

.evidence.is-detail .evidence__panel {
  width: min(1500px, 100%);
}

.evidence.is-detail .evidence__figure {
  grid-template-columns: minmax(0, 1.45fr) minmax(290px, 370px);
}

.evidence__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 11px 14px 11px 22px;
  border-bottom: 1px solid rgba(15,110,95,.13);
  background: #f3f7f3;
}

.evidence__title-wrap { min-width: 0; }

.evidence__title-wrap h2 {
  max-width: 72vw;
  margin: 0;
  overflow: hidden;
  color: var(--ink);
  font-family: Georgia, "Songti SC", serif;
  font-size: clamp(17px, 2vw, 26px);
  font-weight: 400;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.evidence__header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.evidence__counter {
  color: var(--green);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
}

.evidence__body {
  min-height: 0;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) 46px;
  align-items: stretch;
  gap: 10px;
  padding: 14px;
}

.evidence__figure {
  min-width: 0;
  min-height: 0;
  margin: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 330px);
  overflow: hidden;
  border: 1px solid rgba(15,110,95,.15);
  border-radius: 6px;
  background: #fff;
}

.evidence__media {
  min-width: 0;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background:
    linear-gradient(rgba(15,110,95,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15,110,95,.04) 1px, transparent 1px),
    #edf2ee;
  background-size: 28px 28px;
}

.evidence__media img,
.evidence__media video {
  display: block;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.evidence__media img {
  user-select: none;
  -webkit-user-drag: none;
}

.evidence__media video {
  width: 100%;
  height: 100%;
  background: #111;
}

.evidence__media [hidden] { display: none; }

.evidence__media.is-scroll {
  align-items: flex-start;
  overflow: auto;
  overscroll-behavior: contain;
}

.evidence__media.is-scroll img {
  width: min(100%, 980px);
  max-width: none;
  max-height: none;
  height: auto;
  margin: 0 auto;
}

.evidence__caption {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(20px, 3vw, 38px);
  border-left: 1px solid rgba(15,110,95,.13);
  background: #fff;
}

.evidence__index {
  margin-bottom: 12px;
  color: var(--ochre);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .15em;
}

.evidence__caption h3 {
  margin: 0 0 14px;
  color: var(--ink);
  font-family: Georgia, "Songti SC", serif;
  font-size: clamp(21px, 2.2vw, 34px);
  font-weight: 400;
  line-height: 1.15;
}

.evidence__caption p {
  margin: 0;
  color: rgba(20,32,42,.76);
  font-size: clamp(13px, 1.1vw, 16px);
  line-height: 1.65;
}

.evidence__source {
  margin-top: 22px;
  padding-top: 14px;
  border-top: 1px solid rgba(15,110,95,.12);
  color: rgba(20,32,42,.5);
  font-size: 10px;
  line-height: 1.5;
}

.evidence__source a {
  color: inherit;
  text-decoration-color: rgba(15,110,95,.32);
  text-underline-offset: 3px;
}

.evidence__source a:hover,
.evidence__source a:focus-visible {
  color: var(--green);
}

.evidence__nav {
  align-self: center;
  width: 44px;
  height: 58px;
  border: 1px solid rgba(15,110,95,.18);
  border-radius: 6px;
  color: var(--green);
  background: rgba(255,255,255,.9);
  cursor: pointer;
  font-size: 22px;
  transition: background 150ms ease, color 150ms ease, transform 150ms ease;
}

.evidence__nav:hover {
  color: #fff;
  background: var(--green);
  transform: translateY(-1px);
}

.evidence__nav:disabled { opacity: .25; cursor: default; }

.evidence__thumbs {
  min-width: 0;
  display: flex;
  gap: 9px;
  align-items: center;
  overflow-x: auto;
  padding: 10px 18px 14px;
  border-top: 1px solid rgba(15,110,95,.11);
  background: #f2f6f2;
  scrollbar-width: thin;
}

.evidence-thumb {
  position: relative;
  flex: 0 0 108px;
  height: 66px;
  padding: 0;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 4px;
  background: #fff;
  cursor: pointer;
  opacity: .62;
  transition: opacity 150ms ease, border-color 150ms ease, transform 150ms ease;
}

.evidence-thumb:hover { opacity: .9; transform: translateY(-1px); }
.evidence-thumb.is-active { opacity: 1; border-color: var(--ochre); }

.evidence-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.evidence-thumb span {
  position: absolute;
  right: 4px;
  bottom: 4px;
  min-width: 20px;
  padding: 3px 4px;
  border-radius: 2px;
  color: #fff;
  background: rgba(8,63,53,.88);
  font-size: 8px;
  font-weight: 700;
  line-height: 1;
}

.evidence-thumb em {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: rgba(8,63,53,.88);
  box-shadow: 0 2px 10px rgba(0,0,0,.22);
  font-size: 10px;
  font-style: normal;
  z-index: 1;
  transform: translate(-50%, -50%);
}

button:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 2px;
}

/* Slides stay still; motion is reserved for evidence that the user explicitly opens. */
.slide-shell,
.slide-shell.is-leaving,
.slide-shell.is-entering {
  opacity: 1;
  transform: none;
  transition: none;
  animation: none;
}

.native-slide::after { display: none; }

.native-element,
.native-slide.is-active .native-element--shape,
.native-slide.is-active .native-element--image,
.native-slide.is-active .native-element--line,
.native-slide.is-active .native-element.is-slide-heading,
.native-slide.is-active .native-element.is-metric {
  opacity: 1;
  transform: rotate(var(--element-rotation));
  clip-path: none;
  animation: none !important;
  will-change: auto;
}

.native-slide.is-active .native-element--image.is-major-media img { animation: none !important; }

@media (max-width: 720px) {
  :root { --nav-height: 62px; }
  .deck { grid-template-rows: 46px minmax(0, 1fr) calc(var(--nav-height) + var(--safe-bottom)); }
  .topbar { padding-inline: 14px; }
  .brand__context,
  .section-label,
  .controls__identity,
  .controls__status { display: none; }
  .stage { padding: 10px 10px 14px; }
  .slide-shell { width: min(calc(100vw - 20px), calc((100vh - var(--nav-height) - 70px) * 16 / 9)); }
  .controls { grid-template-columns: minmax(50px, 1fr) auto; gap: 10px; padding-inline: 12px; }
  .progress { order: 0; }
  .controls__actions { order: 1; }
  #fullscreenButton { display: none; }
  .icon-button { width: 38px; height: 38px; }
  .menu-button { height: 38px; padding: 0 12px; }
  .keyboard-hint { display: none; }
  .pdp-expand { opacity: 1; transform: none; width: 24px; height: 24px; top: 3px; right: 3px; }
  .overview__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .overview-card__meta { padding: 8px; }
  .overview-card__title { display: none; }
  .focus { padding: 0; }
  .focus__panel { border: 0; border-radius: 0; }
  .focus__header { padding: 10px 9px 10px 14px; }
  .focus__title-wrap .eyebrow { display: none; }
  .focus h2 { max-width: 36vw; font-size: 14px; }
  .focus-control { min-width: 34px; height: 34px; padding: 0 8px; }
  .focus-control--zoom-label { min-width: 48px; }
  .focus__header .dialog-close { width: 34px; height: 34px; }
  .evidence-hotspot { padding: 3px; }
  .evidence-hotspot__badge { gap: 3px; padding: 4px 5px; font-size: 7px; }
  .evidence-hotspot__badge i { font-size: 10px; }
  .evidence-hotspot__badge b { min-width: 15px; height: 15px; font-size: 7px; }
  .evidence { padding: 0; }
  .evidence__panel { border: 0; border-radius: 0; grid-template-rows: 62px minmax(0, 1fr) 76px; }
  .evidence__header { padding: 8px 9px 8px 13px; }
  .evidence__title-wrap .eyebrow { display: none; }
  .evidence__title-wrap h2 { max-width: 64vw; font-size: 15px; }
  .evidence__counter { font-size: 9px; }
  .evidence__body { grid-template-columns: 34px minmax(0, 1fr) 34px; gap: 4px; padding: 6px; }
  .evidence__figure { grid-template-columns: 1fr; grid-template-rows: minmax(0, 1fr) auto; }
  .evidence__caption { padding: 10px 12px; border-left: 0; border-top: 1px solid rgba(15,110,95,.13); }
  .evidence__index { display: none; }
  .evidence__caption h3 { margin-bottom: 5px; font-size: 16px; }
  .evidence__caption p { font-size: 11px; line-height: 1.4; }
  .evidence__source { margin-top: 7px; padding-top: 6px; font-size: 8px; }
  .evidence__nav { width: 32px; height: 48px; font-size: 17px; }
  .evidence__thumbs { gap: 6px; padding: 7px 9px 9px; }
  .evidence-thumb { flex-basis: 82px; height: 52px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .scan-line { display: none; }
}

/* Light presentation chrome */
html,
body {
  background: #edf2ee;
  color: var(--ink);
}

.ambient {
  background:
    radial-gradient(circle at 52% 32%, rgba(255, 255, 255, 0.94), transparent 42%),
    radial-gradient(circle at 8% 88%, rgba(209, 139, 0, 0.08), transparent 30%),
    linear-gradient(145deg, #f7f8f4 0%, #e6eee9 70%, #eef2e8 100%);
}

.ambient__grid {
  opacity: 0.7;
  background-image:
    linear-gradient(rgba(15, 110, 95, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 110, 95, 0.055) 1px, transparent 1px);
  mask-image: linear-gradient(to bottom, black 0%, rgba(0,0,0,.62) 72%, transparent 100%);
}

.ambient__glow {
  opacity: 0.16;
  filter: blur(100px);
}

.topbar {
  background: rgba(250, 251, 248, 0.84);
  border-bottom-color: rgba(15, 110, 95, 0.13);
  backdrop-filter: blur(14px);
}

.brand { color: var(--ink); }
.brand__mark { color: var(--green); }
.brand__context { color: rgba(20, 32, 42, 0.72); }

.topbar__meta { color: var(--ink); }

.section-label {
  color: var(--green);
  border-color: rgba(15, 110, 95, 0.22);
  background: rgba(255, 255, 255, 0.7);
}

.page-number { color: var(--ink); }

.slide-shell {
  border-color: rgba(15, 110, 95, 0.17);
  box-shadow:
    0 28px 72px rgba(37, 67, 58, 0.16),
    0 4px 16px rgba(37, 67, 58, 0.08);
}

.pdp-frame {
  box-shadow:
    0 0 0 2px rgba(15, 110, 95, 0.52),
    0 12px 28px rgba(37, 67, 58, 0.19);
}

.keyboard-hint {
  color: rgba(20, 32, 42, 0.5);
  border-color: rgba(15, 110, 95, 0.11);
  background: rgba(255, 255, 255, 0.72);
}

.keyboard-hint kbd { background: rgba(15, 110, 95, 0.08); }

.controls {
  background: rgba(249, 251, 248, 0.94);
  border-top-color: rgba(15, 110, 95, 0.13);
  box-shadow: 0 -8px 28px rgba(37, 67, 58, 0.06);
}

.controls__identity { color: var(--ink); }
.progress { background: rgba(15, 110, 95, 0.14); }

.controls__status { color: rgba(20, 32, 42, 0.5); }
.controls__status span:first-child { color: var(--ink); }

.icon-button,
.menu-button,
.focus-control,
.dialog-close {
  color: var(--green);
  background: rgba(15, 110, 95, 0.055);
  border-color: rgba(15, 110, 95, 0.13);
}

.icon-button:hover,
.menu-button:hover,
.focus-control:hover,
.dialog-close:hover {
  color: #0a5145;
  border-color: rgba(15, 110, 95, 0.3);
  background: rgba(15, 110, 95, 0.11);
}

.icon-button--primary {
  color: #fff;
  background: var(--green);
  border-color: var(--green);
}

.icon-button--primary:hover {
  color: #fff;
  background: #0b5d50;
  border-color: #0b5d50;
}

dialog { color: var(--ink); }

dialog::backdrop {
  background: rgba(222, 231, 225, 0.86);
  backdrop-filter: blur(14px);
}

.overview__panel {
  background:
    linear-gradient(rgba(15, 110, 95, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 110, 95, 0.045) 1px, transparent 1px),
    #f3f6f2;
  background-size: 48px 48px;
}

.overview__header {
  background: linear-gradient(to bottom, #f3f6f2 76%, rgba(243, 246, 242, 0));
}

.eyebrow { color: var(--green); }
.overview h2,
.focus h2 { color: var(--ink); }

.overview-card {
  color: var(--ink);
  border-color: rgba(15, 110, 95, 0.13);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 7px 20px rgba(37, 67, 58, 0.06);
}

.overview-card:hover {
  border-color: rgba(15, 110, 95, 0.4);
  background: #fff;
  box-shadow: 0 12px 28px rgba(37, 67, 58, 0.11);
}

.overview-card__title { color: rgba(20, 32, 42, 0.8); }

.focus__panel {
  border-color: rgba(15, 110, 95, 0.16);
  background: #fff;
  box-shadow: 0 30px 90px rgba(37, 67, 58, 0.25);
}

.focus__header {
  background: #f5f8f4;
  border-bottom-color: rgba(15, 110, 95, 0.13);
}

.focus__viewport {
  background:
    linear-gradient(90deg, rgba(15, 110, 95, 0.045) 1px, transparent 1px),
    #fff;
}
