:root {
  --bg: #f5f5f7;
  --panel: #ffffff;
  --card: #ffffff;
  --text: #1d1d1f;
  --muted: #4b4b52;
  --accent: #0071e3;
  --accent-2: #06c;
  --border: #e5e5e7;
  --shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  --ease-smooth: cubic-bezier(0.22, 0.61, 0.36, 1);
  --radius-xl: 20px;
  --glass: saturate(180%) blur(18px);
  --topbar-height: 72px;
}

.theme-dark {
  --bg: #0b0d12;
  --panel: #121520;
  --card: #141826;
  --text: #f4f6fb;
  --muted: #a9afbf;
  --accent: #5aa7ff;
  --accent-2: #7ab7ff;
  --border: rgba(255, 255, 255, 0.12);
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(0, 113, 227, 0.08), transparent 60%),
    radial-gradient(800px 500px at 10% -20%, rgba(6, 102, 204, 0.08), transparent 60%),
    var(--bg);
  color: var(--text);
  position: relative;
  transition: background 0.45s var(--ease-smooth), color 0.25s var(--ease-smooth);
}

.page-transition {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  background: rgba(246, 247, 251, 0.3);
  backdrop-filter: blur(0px);
  z-index: 120;
  transition: opacity 0.22s ease, backdrop-filter 0.22s ease;
}

.page-transition.is-active {
  opacity: 1;
  backdrop-filter: blur(10px);
}

.page-transition-glow {
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 113, 227, 0.2) 0%, rgba(0, 113, 227, 0.03) 58%, transparent 72%);
  transform: scale(0.88);
  opacity: 0;
}

.page-transition-icon-wrap {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  transform: scale(0.92);
  opacity: 0;
}

.page-transition.is-active .page-transition-glow {
  opacity: 1;
  animation: page-glow 0.9s ease-in-out infinite;
}

.page-transition.is-active .page-transition-icon-wrap {
  opacity: 1;
  animation: page-icon-float 0.82s var(--ease-smooth) infinite alternate;
}

.page-transition-icon {
  width: 52px;
  height: 52px;
  overflow: visible;
}

.page-transition-icon-bg {
  fill: rgba(255, 255, 255, 0.92);
  stroke: rgba(0, 113, 227, 0.1);
  stroke-width: 1.2;
}

.page-transition-icon-line {
  fill: none;
  stroke: #111111;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
}

.page-transition-icon-dot {
  fill: #111111;
  opacity: 0;
  transform-origin: center;
}

.page-transition.is-active .page-transition-icon-line {
  animation: page-line-draw 0.86s var(--ease-smooth) infinite;
}

.page-transition.is-active .page-transition-icon-dot-1 {
  animation: page-dot-pop 0.86s ease-out infinite;
  animation-delay: 0.16s;
}

.page-transition.is-active .page-transition-icon-dot-2 {
  animation: page-dot-pop 0.86s ease-out infinite;
  animation-delay: 0.28s;
}

.page-transition.is-active .page-transition-icon-dot-3 {
  animation: page-dot-pop 0.86s ease-out infinite;
  animation-delay: 0.4s;
}

.page-transition[data-mode="/performance"] .page-transition-glow {
  background: radial-gradient(circle, rgba(0, 113, 227, 0.24) 0%, rgba(0, 113, 227, 0.06) 58%, transparent 74%);
}

.page-transition[data-mode="/performance"] .page-transition-icon-bg {
  stroke: rgba(0, 113, 227, 0.18);
}

.page-transition[data-mode="/performance"] .page-transition-icon-line,
.page-transition[data-mode="/performance"] .page-transition-icon-dot {
  stroke: #0071e3;
  fill: #0071e3;
}

.page-transition.is-active[data-mode="/performance"] .page-transition-icon-wrap {
  animation: page-icon-settle 0.96s var(--ease-smooth) infinite alternate;
}

.page-transition.is-active[data-mode="/performance"] .page-transition-icon-line {
  animation: page-line-draw-steady 1.05s ease-in-out infinite;
}

.page-transition.is-active[data-mode="/performance"] .page-transition-icon-dot-1,
.page-transition.is-active[data-mode="/performance"] .page-transition-icon-dot-2,
.page-transition.is-active[data-mode="/performance"] .page-transition-icon-dot-3 {
  animation: page-dot-glow 1.05s ease-in-out infinite;
}

.page-transition[data-mode="/simulator"] .page-transition-glow {
  background: radial-gradient(circle, rgba(124, 92, 255, 0.22) 0%, rgba(0, 164, 255, 0.08) 55%, transparent 74%);
}

.page-transition[data-mode="/simulator"] .page-transition-icon-bg {
  stroke: rgba(124, 92, 255, 0.16);
}

.page-transition.is-active[data-mode="/simulator"] .page-transition-icon-wrap {
  animation: page-icon-bounce 0.7s var(--ease-smooth) infinite alternate;
}

.page-transition.is-active[data-mode="/simulator"] .page-transition-icon-line {
  animation: page-line-draw-lively 0.78s var(--ease-smooth) infinite;
}

.page-transition.is-active[data-mode="/simulator"] .page-transition-icon-dot-1 {
  animation: page-dot-pop-lively 0.78s ease-out infinite;
  animation-delay: 0.12s;
}

.page-transition.is-active[data-mode="/simulator"] .page-transition-icon-dot-2 {
  animation: page-dot-pop-lively 0.78s ease-out infinite;
  animation-delay: 0.24s;
}

.page-transition.is-active[data-mode="/simulator"] .page-transition-icon-dot-3 {
  animation: page-dot-pop-lively 0.78s ease-out infinite;
  animation-delay: 0.36s;
}

.page-transition[data-mode="/thesis-engine"] {
  background:
    radial-gradient(circle at 50% 50%, rgba(6, 18, 44, 0.18), rgba(5, 8, 18, 0.7)),
    rgba(241, 246, 255, 0.36);
}

.page-transition[data-mode="/thesis-engine"]::before,
.page-transition[data-mode="/thesis-engine"]::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.page-transition[data-mode="/thesis-engine"]::before {
  background-image:
    linear-gradient(rgba(0, 113, 227, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 113, 227, 0.08) 1px, transparent 1px);
  background-size: 34px 34px;
  opacity: 0.34;
  animation: thesis-transition-grid 1.25s linear infinite;
}

.page-transition[data-mode="/thesis-engine"]::after {
  background:
    linear-gradient(90deg, transparent 0%, rgba(90, 167, 255, 0.12) 45%, transparent 100%),
    linear-gradient(180deg, transparent 0%, rgba(90, 167, 255, 0.08) 45%, transparent 100%);
  mix-blend-mode: screen;
  opacity: 0.58;
  animation: thesis-transition-scan 1.15s ease-in-out infinite;
}

.page-transition[data-mode="/thesis-engine"] .page-transition-glow {
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(90, 167, 255, 0.28) 0%, rgba(124, 92, 255, 0.12) 42%, rgba(0, 113, 227, 0.04) 64%, transparent 78%);
}

.page-transition[data-mode="/thesis-engine"] .page-transition-icon-bg {
  stroke: rgba(90, 167, 255, 0.22);
}

.page-transition[data-mode="/thesis-engine"] .page-transition-icon-line,
.page-transition[data-mode="/thesis-engine"] .page-transition-icon-dot {
  stroke: #0071e3;
  fill: #0071e3;
}

.page-transition.is-active[data-mode="/thesis-engine"] .page-transition-icon-wrap {
  animation: thesis-transition-icon 0.9s ease-in-out infinite alternate;
}

.page-transition.is-active[data-mode="/thesis-engine"] .page-transition-icon-line {
  animation: page-line-draw-steady 0.96s ease-in-out infinite;
}

.page-transition.is-active[data-mode="/thesis-engine"] .page-transition-icon-dot-1,
.page-transition.is-active[data-mode="/thesis-engine"] .page-transition-icon-dot-2,
.page-transition.is-active[data-mode="/thesis-engine"] .page-transition-icon-dot-3 {
  animation: page-dot-glow 0.96s ease-in-out infinite;
}

@keyframes thesis-transition-grid {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(0, 34px, 0); }
}

@keyframes thesis-transition-scan {
  0% { transform: translate3d(-10%, -12%, 0); }
  50% { transform: translate3d(8%, 10%, 0); }
  100% { transform: translate3d(-10%, -12%, 0); }
}

@keyframes thesis-transition-icon {
  0% {
    transform: scale(0.96) rotate(-4deg);
    filter: drop-shadow(0 0 0 rgba(90, 167, 255, 0));
  }
  100% {
    transform: scale(1.04) rotate(4deg);
    filter: drop-shadow(0 0 24px rgba(90, 167, 255, 0.34));
  }
}

.brand-scroll-progress {
  position: fixed;
  right: 18px;
  bottom: 20px;
  z-index: 70;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.58);
  box-shadow: 0 18px 34px rgba(15, 23, 42, 0.1);
  backdrop-filter: blur(18px);
}

.brand-scroll-icon {
  width: 34px;
  height: 34px;
}

.brand-scroll-bg {
  fill: rgba(255, 255, 255, 0.92);
}

.brand-scroll-track,
.brand-scroll-line {
  fill: none;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.brand-scroll-track {
  stroke: rgba(120, 128, 150, 0.22);
}

.brand-scroll-line {
  stroke: #0071e3;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  transition: stroke-dashoffset 0.18s linear, filter 0.24s ease;
}

.brand-scroll-dot {
  fill: rgba(0, 113, 227, 0.22);
  transition: fill 0.24s ease, transform 0.24s ease, opacity 0.24s ease;
  transform-origin: center;
}

.brand-scroll-progress.is-complete .brand-scroll-line {
  filter: drop-shadow(0 0 6px rgba(0, 113, 227, 0.28));
}

.brand-scroll-progress.is-complete .brand-scroll-dot {
  fill: #0071e3;
  transform: scale(1.08);
}

.theme-dark .brand-scroll-progress {
  background: rgba(18, 21, 32, 0.78);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.34);
}

.theme-dark .brand-scroll-bg {
  fill: rgba(18, 21, 32, 0.94);
}

.theme-dark .brand-scroll-track {
  stroke: rgba(148, 163, 184, 0.24);
}

.theme-dark .brand-scroll-line {
  stroke: #78b7ff;
}

.theme-dark .brand-scroll-dot {
  fill: rgba(120, 183, 255, 0.3);
}

.theme-dark .brand-scroll-progress.is-complete .brand-scroll-line {
  filter: drop-shadow(0 0 8px rgba(120, 183, 255, 0.32));
}

.theme-dark .brand-scroll-progress.is-complete .brand-scroll-dot {
  fill: #78b7ff;
}

.page-skeleton {
  position: fixed;
  inset: 74px 0 0;
  z-index: 90;
  background: linear-gradient(180deg, rgba(245, 245, 247, 0.92), rgba(245, 245, 247, 0.82));
  backdrop-filter: blur(18px);
  padding: 28px 24px 40px;
  opacity: 1;
  transition: opacity 0.26s ease, transform 0.26s ease;
}

.page-skeleton.hidden {
  display: none;
}

.page-skeleton.page-skeleton-exit {
  opacity: 0;
  transform: translateY(-6px);
}

.page-skeleton-shell {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  gap: 18px;
}

.page-skeleton-row {
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  gap: 18px;
}

.page-skeleton-card {
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.58);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 34px rgba(15, 23, 42, 0.08);
  padding: 24px;
  display: grid;
  gap: 14px;
}

.page-skeleton-card-lg {
  min-height: 220px;
}

.page-skeleton-chart {
  height: 118px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(120, 128, 150, 0.1), rgba(120, 128, 150, 0.04));
  border: 1px solid rgba(120, 128, 150, 0.1);
  position: relative;
  overflow: hidden;
}

.page-skeleton-chart::after {
  content: "";
  position: absolute;
  inset: auto 10px 14px 10px;
  height: 40px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.28) 20%, transparent 40%);
  animation: skeleton-chart-sweep 1.8s linear infinite;
}

.page-skeleton-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.skeleton-chip-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.page-enter .container > *:not(.page-skeleton) {
  animation: page-content-rise 0.42s var(--ease-smooth);
}

.theme-dark {
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(90, 167, 255, 0.08), transparent 60%),
    radial-gradient(800px 500px at 10% -20%, rgba(122, 183, 255, 0.08), transparent 60%),
    var(--bg);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(rgba(17, 24, 39, 0.08) 0.6px, transparent 0.6px),
    radial-gradient(rgba(59, 130, 246, 0.08) 0.6px, transparent 0.6px);
  background-size: 26px 26px, 52px 52px;
  background-position: 0 0, 13px 13px;
  opacity: 0.22;
  pointer-events: none;
  z-index: 0;
}

.theme-dark::before {
  background-image:
    radial-gradient(rgba(255, 255, 255, 0.08) 0.6px, transparent 0.6px),
    radial-gradient(rgba(90, 167, 255, 0.12) 0.6px, transparent 0.6px);
  opacity: 0.18;
}

.theme-dark .page-transition {
  background: rgba(8, 10, 14, 0.4);
}

.theme-dark .page-transition-glow {
  background: radial-gradient(circle, rgba(120, 183, 255, 0.22) 0%, rgba(120, 183, 255, 0.04) 58%, transparent 72%);
}

.theme-dark .page-transition-icon-bg {
  fill: rgba(18, 21, 32, 0.94);
  stroke: rgba(120, 183, 255, 0.14);
}

.theme-dark .page-transition-icon-line,
.theme-dark .page-transition-icon-dot {
  stroke: #f4f6fb;
  fill: #f4f6fb;
}

.theme-dark .page-transition[data-mode="/thesis-engine"] {
  background:
    radial-gradient(circle at 50% 50%, rgba(6, 18, 44, 0.34), rgba(5, 8, 18, 0.88)),
    rgba(8, 10, 14, 0.62);
}

.theme-dark .page-transition[data-mode="/thesis-engine"]::before {
  background-image:
    linear-gradient(rgba(90, 167, 255, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(90, 167, 255, 0.1) 1px, transparent 1px);
}

.theme-dark .page-transition[data-mode="/thesis-engine"]::after {
  background:
    linear-gradient(90deg, transparent 0%, rgba(90, 167, 255, 0.18) 45%, transparent 100%),
    linear-gradient(180deg, transparent 0%, rgba(124, 92, 255, 0.12) 45%, transparent 100%);
}

.theme-dark .page-transition[data-mode="/thesis-engine"] .page-transition-icon-bg {
  fill: rgba(13, 18, 30, 0.96);
  stroke: rgba(120, 183, 255, 0.24);
}

.theme-dark .page-transition[data-mode="/thesis-engine"] .page-transition-icon-line,
.theme-dark .page-transition[data-mode="/thesis-engine"] .page-transition-icon-dot {
  stroke: #8ec8ff;
  fill: #8ec8ff;
}

.theme-dark .page-skeleton {
  background: linear-gradient(180deg, rgba(11, 13, 18, 0.92), rgba(11, 13, 18, 0.84));
}

.theme-dark .page-skeleton-card {
  background: rgba(18, 21, 32, 0.72);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.34);
}

.theme-dark .page-skeleton-chart {
  background: linear-gradient(180deg, rgba(148, 163, 184, 0.1), rgba(148, 163, 184, 0.04));
  border-color: rgba(148, 163, 184, 0.14);
}

@keyframes page-icon-float {
  from {
    transform: translateY(0) scale(0.92);
  }
  to {
    transform: translateY(-2px) scale(0.98);
  }
}

@keyframes page-glow {
  0%, 100% {
    transform: scale(0.88);
    opacity: 0.85;
  }
  50% {
    transform: scale(1.06);
    opacity: 1;
  }
}

@keyframes page-line-draw {
  0% {
    stroke-dashoffset: 100;
    opacity: 0.55;
  }
  30%,
  70% {
    stroke-dashoffset: 0;
    opacity: 1;
  }
  100% {
    stroke-dashoffset: 0;
    opacity: 0.88;
  }
}

@keyframes page-dot-pop {
  0%,
  15% {
    opacity: 0;
    transform: scale(0.6);
  }
  35%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes page-icon-settle {
  from {
    transform: translateY(0) scale(0.92);
  }
  to {
    transform: translateY(-1px) scale(0.95);
  }
}

@keyframes page-icon-bounce {
  from {
    transform: translateY(0) scale(0.91) rotate(-2deg);
  }
  to {
    transform: translateY(-3px) scale(0.99) rotate(2deg);
  }
}

@keyframes page-line-draw-steady {
  0% {
    stroke-dashoffset: 100;
    opacity: 0.4;
  }
  35%,
  80% {
    stroke-dashoffset: 0;
    opacity: 1;
  }
  100% {
    stroke-dashoffset: 0;
    opacity: 0.92;
  }
}

@keyframes page-line-draw-lively {
  0% {
    stroke-dashoffset: 100;
    opacity: 0.45;
  }
  38% {
    stroke-dashoffset: 18;
    opacity: 0.92;
  }
  68% {
    stroke-dashoffset: 0;
    opacity: 1;
  }
  100% {
    stroke-dashoffset: 0;
    opacity: 0.9;
  }
}

@keyframes page-dot-glow {
  0%,
  24% {
    opacity: 0.45;
    transform: scale(0.92);
  }
  50%,
  100% {
    opacity: 1;
    transform: scale(1.08);
  }
}

@keyframes page-dot-pop-lively {
  0%,
  12% {
    opacity: 0;
    transform: scale(0.5);
  }
  26% {
    opacity: 1;
    transform: scale(1.18);
  }
  44%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes page-content-rise {
  from {
    opacity: 0.7;
    transform: translateY(8px) scale(0.995);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes skeleton-chart-sweep {
  from {
    transform: translateX(-110%);
  }
  to {
    transform: translateX(170%);
  }
}

@media (max-width: 900px) {
  .page-skeleton {
    inset: 66px 0 0;
    padding: 20px 16px 28px;
  }

  .page-skeleton-row {
    grid-template-columns: 1fr;
  }
}

.sim-page {
  background:
    radial-gradient(900px 500px at 10% -10%, rgba(0, 164, 255, 0.12), transparent 65%),
    radial-gradient(900px 500px at 90% -20%, rgba(124, 92, 255, 0.12), transparent 65%),
    var(--bg);
}

.theme-dark.sim-page {
  background:
    radial-gradient(900px 500px at 10% -10%, rgba(90, 167, 255, 0.16), transparent 65%),
    radial-gradient(900px 500px at 90% -20%, rgba(142, 117, 255, 0.16), transparent 65%),
    var(--bg);
}

.sim-page::before {
  opacity: 0.16;
  background-size: 34px 34px, 68px 68px;
}

.about-page {
  background:
    radial-gradient(900px 500px at 80% -10%, rgba(64, 120, 90, 0.08), transparent 60%),
    radial-gradient(800px 500px at 10% -20%, rgba(120, 90, 60, 0.08), transparent 60%),
    var(--bg);
}

.about-page::after {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(rgba(80, 60, 40, 0.08) 0.6px, transparent 0.6px),
    radial-gradient(rgba(120, 90, 60, 0.06) 0.6px, transparent 0.6px);
  background-size: 28px 28px, 56px 56px;
  background-position: 0 0, 14px 14px;
  mix-blend-mode: multiply;
  opacity: 0.18;
  pointer-events: none;
  z-index: 0;
}

.theme-dark.about-page {
  background:
    radial-gradient(900px 500px at 80% -10%, rgba(90, 167, 255, 0.08), transparent 60%),
    radial-gradient(800px 500px at 10% -20%, rgba(140, 120, 90, 0.08), transparent 60%),
    var(--bg);
}

.theme-dark.about-page::after {
  mix-blend-mode: screen;
  opacity: 0.12;
}

.about-page .hero-card {
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.82);
}

.theme-dark.about-page .hero-card {
  background: rgba(18, 21, 32, 0.9);
}

.about-page .hero-card::after {
  content: "";
  position: absolute;
  left: -10%;
  top: -120%;
  width: 120%;
  height: 240%;
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0));
  transform: translateY(-60%);
  animation: paperReveal 1.4s ease forwards;
  opacity: 0.6;
}

.theme-dark.about-page .hero-card::after {
  background: linear-gradient(140deg, rgba(90, 167, 255, 0.28), rgba(255, 255, 255, 0));
  opacity: 0.35;
}

@keyframes paperReveal {
  to { transform: translateY(10%); opacity: 0; }
}

.about-page::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(18, 18, 22, 0.35), transparent 20%, transparent 80%, rgba(18, 18, 22, 0.35)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 40%);
  opacity: 0;
  pointer-events: none;
  animation: curtainOpen 1.4s ease forwards;
  z-index: 2;
}

.theme-dark.about-page::before {
  background:
    linear-gradient(90deg, rgba(5, 6, 10, 0.6), transparent 20%, transparent 80%, rgba(5, 6, 10, 0.6)),
    linear-gradient(180deg, rgba(90, 167, 255, 0.12), transparent 40%);
}

@keyframes curtainOpen {
  0% { opacity: 0.65; }
  100% { opacity: 0; }
}

.about-grid-hero,
.about-info-grid {
  display: grid;
  gap: 18px;
}

.about-info-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 0 20px;
}

.about-info-card,
.site-disclosure-card {
  display: grid;
  gap: 14px;
}

.about-note-list {
  display: grid;
  gap: 10px;
}

.about-note-item {
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.05);
  color: var(--text);
  line-height: 1.6;
}

.theme-dark .about-note-item {
  background: rgba(255, 255, 255, 0.06);
}

.site-disclosure-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.site-disclosure-item {
  display: grid;
  gap: 8px;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.72);
}

.theme-dark .site-disclosure-item {
  background: rgba(19, 24, 38, 0.84);
  border-color: rgba(255, 255, 255, 0.08);
}

.site-disclosure-item-wide {
  grid-column: 1 / -1;
}

.site-disclosure-label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-disclosure-value {
  color: var(--text);
  font-size: 15px;
  line-height: 1.6;
  text-decoration: none;
}

.about-link-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(0, 113, 227, 0.16);
  background: rgba(0, 113, 227, 0.08);
  color: #0071e3;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.theme-dark .about-link-pill {
  border-color: rgba(90, 167, 255, 0.2);
  background: rgba(90, 167, 255, 0.14);
  color: #8ec8ff;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 32px;
  border-bottom: 1px solid color-mix(in oklab, var(--border) 82%, transparent);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.82));
  backdrop-filter: var(--glass);
  position: sticky;
  top: 0;
  z-index: 18;
  transition: background 0.25s var(--ease-smooth), box-shadow 0.25s var(--ease-smooth), border-color 0.25s var(--ease-smooth);
}

.topbar.is-scrolled {
  box-shadow: 0 8px 24px rgba(16, 24, 40, 0.08);
}

.topbar nav {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.theme-dark .topbar {
  background: linear-gradient(180deg, rgba(12, 14, 20, 0.92), rgba(12, 14, 20, 0.84));
  border-bottom-color: rgba(255, 255, 255, 0.06);
}

.scroll-progress {
  position: fixed;
  left: 0;
  right: 0;
  top: var(--topbar-height);
  z-index: 12;
  height: 2px;
  transform-origin: 0 50%;
  transform: scaleX(0);
  background: linear-gradient(90deg, rgba(0, 113, 227, 0.95), rgba(124, 92, 255, 0.9));
  box-shadow: 0 0 18px rgba(0, 113, 227, 0.26);
  transition: transform 0.08s linear;
  pointer-events: none;
}

.topbar .brand {
  font-weight: 700;
  letter-spacing: 0.3px;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
}

.brand-icon {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  display: inline-block;
}

.topbar nav a {
  color: var(--text);
  margin-left: 0;
  text-decoration: none;
  font-size: 14px;
  opacity: 0.85;
}

.theme-dark .topbar nav a {
  color: var(--text);
}

.nav-pill {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.nav-pill-tech {
  color: var(--text) !important;
  background: transparent;
  border-color: transparent;
  box-shadow: none;
}

.nav-pill-tech:hover {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.06);
  box-shadow: none;
}

.nav-pill-button {
  background: transparent;
  box-shadow: none;
  color: var(--text);
}

.nav-dropdown.is-open .nav-pill-button {
  background: rgba(0, 113, 227, 0.12);
  border-color: rgba(0, 113, 227, 0.18);
  color: var(--accent);
  box-shadow: 0 10px 24px rgba(0, 113, 227, 0.12);
}

.theme-dark .nav-dropdown.is-open .nav-pill-button {
  background: rgba(90, 167, 255, 0.16);
  border-color: rgba(90, 167, 255, 0.22);
  color: #b7d7ff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.32);
}

.nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-dropdown::after {
  content: "";
  position: absolute;
  left: -4px;
  right: -4px;
  top: 28px;
  height: 14px;
}

.nav-menu {
  position: absolute;
  top: 40px;
  right: 0;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 8px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 6px;
  min-width: 160px;
  opacity: 0;
  transform: translateY(-8px) scaleY(0.92);
  transform-origin: top right;
  clip-path: inset(0 0 100% 0 round 14px);
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease, clip-path 0.24s ease;
  z-index: 20;
}

.nav-menu a {
  text-decoration: none;
  color: var(--text);
  font-size: 13px;
  padding: 8px 10px;
  border-radius: 10px;
}

.nav-menu a:hover {
  background: rgba(0, 0, 0, 0.05);
}

.nav-menu-mobile-only {
  display: none;
}

.theme-dark .nav-menu a:hover {
  background: rgba(255, 255, 255, 0.06);
}

.nav-dropdown:hover .nav-menu,
.nav-dropdown:focus-within .nav-menu,
.nav-dropdown.is-open .nav-menu {
  opacity: 1;
  transform: translateY(0) scaleY(1);
  clip-path: inset(0 0 0 0 round 14px);
  pointer-events: auto;
}

.nav-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(11, 13, 18, 0.08);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease;
  z-index: 9;
}

.nav-menu-overlay.is-active {
  opacity: 1;
  pointer-events: auto;
}

.theme-dark .nav-menu-overlay {
  background: rgba(8, 10, 14, 0.28);
}

@media (max-width: 720px) {
  .nav-dropdown:hover .nav-menu,
  .nav-dropdown:focus-within .nav-menu {
    opacity: 0;
    transform: translateY(-8px) scaleY(0.92);
    clip-path: inset(0 0 100% 0 round 14px);
    pointer-events: none;
  }

  .nav-dropdown.is-open .nav-menu {
    opacity: 1;
    transform: translateY(0) scaleY(1);
    clip-path: inset(0 0 0 0 round 14px);
    pointer-events: auto;
  }
}

.nav-pill:hover {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.06);
  transform: translateY(-1px);
}

.theme-dark .nav-pill:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.08);
}

.theme-dark .nav-pill-tech {
  color: var(--text) !important;
  background: transparent;
  border-color: transparent;
  box-shadow: none;
}

.theme-dark .nav-pill-tech:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.nav-pill.active {
  background: rgba(0, 113, 227, 0.12);
  border-color: rgba(0, 113, 227, 0.2);
  color: #0a64c9;
  opacity: 1;
  box-shadow: 0 10px 24px rgba(0, 113, 227, 0.12);
}

.nav-pill-performance-mobile {
  display: inline-flex;
}

.nav-pill-mobile-core,
.nav-pill-mobile-hidden {
  display: inline-flex;
}

.btn-disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.cooldown-hint {
  font-size: 12px;
  align-self: center;
}

.theme-dark .nav-pill.active {
  background: rgba(90, 167, 255, 0.15);
  border-color: rgba(90, 167, 255, 0.25);
  color: #b7d7ff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.4);
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 28px 24px 56px;
  position: relative;
  z-index: 1;
}

.site-footer {
  max-width: 1240px;
  margin: 0 auto 28px;
  padding: 0 24px 24px;
  position: relative;
  z-index: 1;
}

.site-footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-top: 18px;
  border-top: 1px solid color-mix(in oklab, var(--border) 80%, transparent);
  color: var(--muted);
}

.site-footer-copy {
  display: grid;
  gap: 6px;
  max-width: 720px;
}

.site-footer-copy p {
  margin: 0;
  line-height: 1.7;
}

.site-footer-title {
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
}

.site-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  align-items: flex-start;
  justify-content: flex-end;
}

.site-footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 13px;
}

.site-footer-links a:hover {
  color: var(--accent);
}

.site-footer-links a.site-footer-operator {
  opacity: 0.34;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
}

.site-footer-links a.site-footer-operator:hover,
.site-footer-links a.site-footer-operator:focus-visible {
  opacity: 1;
}

@media print {
  .site-footer {
    display: none;
  }
}

@media (max-width: 960px) {
  .topbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 20px;
  }

  .topbar nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 6px;
    scrollbar-width: none;
  }

  .topbar nav::-webkit-scrollbar {
    display: none;
  }

  .nav-pill {
    white-space: nowrap;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .home-focus-strip {
    grid-template-columns: 1fr;
  }

  .sandbox-event-card {
    grid-template-columns: 1fr;
  }

  .sandbox-event-head {
    flex-direction: column;
  }

  .sandbox-event-badges {
    justify-content: flex-start;
  }

  .sim-evidence-summary {
    grid-template-columns: 1fr;
  }

  .sim-page .focus-jump-btn-floating {
    left: auto;
    right: 18px;
    top: auto;
    bottom: 18px;
    transform: none;
    writing-mode: horizontal-tb;
    text-orientation: mixed;
    max-width: min(calc(100vw - 36px), 280px);
    padding: 10px 14px;
    gap: 8px;
    white-space: nowrap;
  }

  .site-footer-inner,
  .about-info-grid,
  .site-disclosure-grid {
    grid-template-columns: 1fr;
  }

  .site-footer-inner {
    display: grid;
  }
}

@media (max-width: 720px) {
  .topbar {
    gap: 10px;
    padding: 12px 14px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 18;
  }

  .topbar .brand {
    font-size: 14px;
    gap: 8px;
  }

  .brand-icon {
    width: 20px;
    height: 20px;
  }

  .topbar nav {
    gap: 6px;
    padding-bottom: 2px;
  }

  .nav-pill {
    padding: 5px 10px;
    font-size: 12px;
  }

  .nav-pill-optional {
    display: none;
  }

  .nav-pill-mobile-hidden,
  .nav-pill-performance-mobile {
    display: none;
  }

  .nav-pill-mobile-core,
  .nav-dropdown {
    display: inline-flex;
  }

  .nav-menu {
    position: fixed;
    top: calc(var(--topbar-height) + 8px);
    right: 12px;
    min-width: 160px;
    max-width: calc(100vw - 24px);
    z-index: 120;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
  }

  .nav-menu-mobile-only {
    display: block;
  }

  .theme-toggle {
    align-self: flex-end;
    padding: 5px 10px;
    font-size: 11px;
  }

  .container {
    padding: calc(var(--topbar-height) + 20px) 16px 48px;
  }

  .site-footer {
    padding: 0 16px 20px;
    margin-bottom: 20px;
  }

  .site-footer-links {
    justify-content: flex-start;
  }

  .focus-jump-btn-floating {
    left: auto;
    right: 16px;
    top: auto;
    bottom: 16px;
    transform: none;
    writing-mode: horizontal-tb;
    text-orientation: mixed;
    justify-content: center;
    border-radius: 999px;
    max-width: calc(100vw - 32px);
    padding: 10px 14px;
    gap: 8px;
    white-space: nowrap;
  }

  .hero-card {
    padding: 20px;
  }

  .hero h1 {
    font-size: 28px;
  }

  .hero-actions {
    flex-wrap: wrap;
  }

  .filters form {
    grid-template-columns: 1fr;
  }

  .metric-grid {
    grid-template-columns: 1fr;
  }

  .chart-toolbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .chart-stage {
    margin-top: 6px;
  }

  .strategy-meta-grid {
    grid-template-columns: 1fr;
  }

  .strategy-picks-head {
    flex-direction: column;
  }

  .strategy-picks-date {
    text-align: left;
  }

  .table th,
  .table td {
    padding: 6px;
    font-size: 12px;
  }

  #sim-holdings-table thead,
  #performance-holdings-table thead {
    display: none;
  }

  #sim-holdings-table,
  #performance-holdings-table {
    border-collapse: separate;
    border-spacing: 0 10px;
  }

  #sim-holdings-table tbody,
  #performance-holdings-table tbody,
  #sim-holdings-table tr,
  #performance-holdings-table tr,
  #sim-holdings-table td,
  #performance-holdings-table td {
    display: block;
    width: 100%;
  }

  #sim-holdings-table tr,
  #performance-holdings-table tr {
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
    overflow: hidden;
  }

  .theme-dark #sim-holdings-table tr,
  .theme-dark #performance-holdings-table tr {
    background: rgba(16, 19, 28, 0.86);
    border-color: rgba(255, 255, 255, 0.08);
  }

  #sim-holdings-table td,
  #performance-holdings-table td {
    border-bottom: none;
    padding: 6px 0;
    min-height: 20px;
  }

  #sim-holdings-table td::before,
  #performance-holdings-table td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 4px;
    font-size: 11px;
    font-weight: 600;
    color: var(--muted);
  }

  #sim-holdings-table td:first-child,
  #performance-holdings-table td:first-child {
    padding-top: 0;
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
  }

  #sim-holdings-table td:first-child::before,
  #performance-holdings-table td:first-child::before {
    margin-bottom: 2px;
  }

  #sim-holdings-table td:last-child,
  #performance-holdings-table td:last-child {
    padding-bottom: 0;
  }

  #performance-holdings-table .holding-sparkline {
    width: 100%;
    max-width: 160px;
    height: auto;
  }

  .strategy-signal-panel {
    padding: 12px;
    border-radius: 16px;
  }

  .strategy-signal-main {
    flex-direction: column;
    align-items: stretch;
  }

  .strategy-signal-badge,
  .strategy-signal-note {
    justify-content: center;
  }

  .allocation-strip {
    grid-template-columns: 1fr;
  }

  .allocation-card-head {
    align-items: baseline;
  }

  .holding-insights {
    margin-top: 10px;
  }

  .event-card {
    grid-template-columns: 1fr;
  }

  .event-time {
    font-size: 12px;
  }

  .timeline {
    max-height: none;
  }
}

.hero {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
  align-items: center;
  margin: 12px 0 22px;
}

.sim-page .hero {
  grid-template-columns: minmax(0, 1.24fr) minmax(360px, 0.96fr);
  gap: clamp(14px, 1.5vw, 20px);
}

.hero-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: var(--shadow);
  transition: transform 0.28s var(--ease-smooth), box-shadow 0.28s var(--ease-smooth), border-color 0.28s var(--ease-smooth);
}

.theme-dark .hero-card {
  background: var(--bg);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.45);
}

.sim-page .hero-card {
  --mx: 50%;
  --my: 50%;
  background: rgba(255, 255, 255, 0.78);
  border-color: rgba(0, 113, 227, 0.12);
  box-shadow: 0 10px 24px rgba(0, 113, 227, 0.06), 0 0 0 1px rgba(88, 198, 255, 0.08);
  backdrop-filter: none;
  position: relative;
  overflow: hidden;
  transform: translateZ(0);
}

.sim-page .hero {
  perspective: 1200px;
  align-items: start;
  margin: 4px 0 18px;
}

.sim-v3-shell {
  display: block;
}

.sim-v3-main {
  min-width: 0;
}

.sim-v3-rail {
  position: sticky;
  top: 74px;
  z-index: 24;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin: 6px 0 24px;
  padding: 12px 14px 14px;
  border: 1px solid rgba(0, 113, 227, 0.12);
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.995), rgba(248, 250, 255, 0.985));
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.08);
  backdrop-filter: none;
}

.theme-dark .sim-v3-rail {
  border-color: rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(10, 15, 27, 0.995), rgba(12, 18, 31, 0.985));
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.sim-v3-rail-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid transparent;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--text);
  text-align: left;
  cursor: pointer;
  transition:
    transform 0.26s ease,
    border-color 0.26s ease,
    background 0.26s ease,
    box-shadow 0.26s ease;
}

.theme-dark .sim-v3-rail-item {
  background: rgba(255, 255, 255, 0.06);
}

.sim-v3-rail-item:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 113, 227, 0.16);
}

.sim-v3-rail-item.is-active {
  border-color: rgba(0, 113, 227, 0.22);
  background: linear-gradient(135deg, rgba(0, 113, 227, 0.12), rgba(124, 92, 255, 0.08));
  box-shadow: 0 14px 28px rgba(0, 113, 227, 0.1);
}

.theme-dark .sim-v3-rail-item.is-active {
  border-color: rgba(90, 167, 255, 0.24);
  background: linear-gradient(135deg, rgba(90, 167, 255, 0.16), rgba(124, 92, 255, 0.12));
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.36);
}

.sim-v3-rail-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.08);
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.theme-dark .sim-v3-rail-index {
  background: rgba(255, 255, 255, 0.08);
}

.sim-v3-rail-item.is-active .sim-v3-rail-index {
  color: #0a63cf;
  background: rgba(10, 99, 207, 0.12);
}

.theme-dark .sim-v3-rail-item.is-active .sim-v3-rail-index {
  color: #9cc7ff;
  background: rgba(90, 167, 255, 0.16);
}

.sim-v3-rail-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.sim-v3-rail-copy strong {
  font-size: 13px;
  line-height: 1.2;
}

.sim-v3-rail-copy span {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.3;
}

.sim-v3-stage-shell {
  position: relative;
  scroll-margin-top: 122px;
}

.sim-v3-stage-shell::before {
  content: attr(data-stage-label);
  position: absolute;
  left: 18px;
  top: -13px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(0, 113, 227, 0.14);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.06);
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.theme-dark .sim-v3-stage-shell::before {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(10, 15, 27, 0.96);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.26);
}

.sim-v3-stage-shell.is-stage-active::before {
  color: #0a63cf;
  border-color: rgba(0, 113, 227, 0.2);
  box-shadow: 0 14px 28px rgba(0, 113, 227, 0.1);
}

.theme-dark .sim-v3-stage-shell.is-stage-active::before {
  color: #9cc7ff;
  border-color: rgba(90, 167, 255, 0.22);
}

.sim-v3-stage-shell::after {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 30px;
  border: 1px solid rgba(0, 113, 227, 0.08);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease, transform 0.28s ease;
  transform: scale(0.985);
}

.sim-v3-stage-shell.is-stage-active::after {
  opacity: 1;
  transform: scale(1);
}

.sim-page .hero .hero-card.hero-floating {
  will-change: transform;
  align-self: start;
}

@media (min-width: 1180px) {
  .sim-v3-shell {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 22px;
    align-items: start;
  }

  .sim-v3-rail-column {
    position: sticky;
    top: 82px;
    align-self: start;
  }

  .sim-page .hero {
    grid-template-columns:
      minmax(0, clamp(560px, 54vw, 920px))
      minmax(400px, clamp(400px, 34vw, 560px));
    align-items: start;
    gap: clamp(16px, 1.8vw, 28px);
  }

  .sim-page .hero .hero-card.hero-primary {
    position: sticky;
    top: 88px;
    align-self: start;
    display: flex;
    flex-direction: column;
    height: fit-content;
    min-height: auto;
  }

  .sim-page .hero .parallax-card.hero-floating.hero-primary {
    transform: none;
  }

  .sim-page .hero .hero-card.hero-primary .sim-mini-trends {
    margin-top: 18px;
    padding-top: 0;
  }

  .sim-page .hero .hero-card.hero-secondary {
    display: grid;
    grid-auto-rows: min-content;
    align-content: start;
    gap: 14px;
    min-height: auto;
  }

  .sim-v3-rail {
    position: relative;
    top: 0;
    z-index: 1;
    grid-template-columns: 1fr;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    overflow: visible;
  }
}

@media (min-width: 961px) {
  .nav-pill-performance-mobile {
    display: none;
  }
}

@media (min-width: 1180px) and (max-width: 1440px) {
  .sim-page .hero {
    grid-template-columns:
      minmax(0, clamp(520px, 52vw, 760px))
      minmax(380px, clamp(380px, 36vw, 500px));
  }

  .sim-page .hero .hero-card.hero-primary {
    top: 82px;
  }
}

@media (max-width: 1180px) {
  .sim-v3-rail-column {
    display: block;
  }

  .sim-v3-rail {
    position: relative;
    top: 0;
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 10px;
    scroll-snap-type: x proximity;
  }

  .sim-v3-rail-item {
    min-width: 180px;
    scroll-snap-align: start;
  }
}

.sim-page .hero .parallax-card.hero-floating {
  transform: translate3d(0, var(--parallax-y, 0px), 0);
}

.sim-page .hero-card::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, rgba(0, 113, 227, 0.4), rgba(124, 92, 255, 0.35), transparent 70%);
  opacity: 0.7;
}

.sim-page .hero-card.hero-primary::after,
.sim-page .hero-card.hero-secondary::after {
  height: 3px;
}

.sim-page .hero-card.hero-primary::before,
.sim-page .hero-card.hero-secondary::before {
  transition: background-position 0.35s var(--ease-smooth);
}

.sim-page .hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(520px 220px at var(--mx) var(--my), rgba(0, 113, 227, 0.12), transparent 62%),
    radial-gradient(circle at 12% 18%, rgba(0, 113, 227, 0.08) 1px, transparent 2px),
    radial-gradient(circle at 38% 42%, rgba(0, 113, 227, 0.06) 1px, transparent 2px),
    radial-gradient(circle at 68% 28%, rgba(124, 92, 255, 0.05) 1px, transparent 2px),
    radial-gradient(circle at 85% 62%, rgba(124, 92, 255, 0.06) 1px, transparent 2px);
  opacity: 0.35;
  pointer-events: none;
}

.theme-dark.sim-page .hero-card {
  background: var(--bg);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
  backdrop-filter: none;
}

.theme-dark.sim-page .hero-card::after {
  background: linear-gradient(90deg, rgba(90, 167, 255, 0.5), rgba(142, 117, 255, 0.4), transparent 70%);
  opacity: 0.6;
}

.theme-dark.sim-page .hero-card::before {
  background:
    radial-gradient(520px 240px at var(--mx) var(--my), rgba(90, 167, 255, 0.16), transparent 62%),
    radial-gradient(circle at 12% 18%, rgba(90, 167, 255, 0.12) 1px, transparent 2px),
    radial-gradient(circle at 38% 42%, rgba(90, 167, 255, 0.1) 1px, transparent 2px),
    radial-gradient(circle at 68% 28%, rgba(142, 117, 255, 0.1) 1px, transparent 2px),
    radial-gradient(circle at 85% 62%, rgba(142, 117, 255, 0.12) 1px, transparent 2px);
  opacity: 0.28;
  pointer-events: none;
}

.sim-page .hero .hero-card.reveal {
  transition-delay: 0.04s;
}

.sim-page .hero .hero-card.reveal.hero-secondary {
  transition-delay: 0.12s;
}

.hero-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.11), 0 0 0 1px rgba(0, 113, 227, 0.08);
}

.theme-dark .hero-card:hover {
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(90, 167, 255, 0.12);
}

.hero h1 {
  margin: 0 0 10px;
  font-size: 38px;
  font-weight: 700;
  letter-spacing: -0.4px;
}

.hero-tech-title,
.sim-page .hero h1 {
  background: linear-gradient(95deg, #0a63cf, #5c63ff 55%, #00a0ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.home-v3-shell {
  position: relative;
}

.home-v3-hero {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 20px;
}

.home-v3-panel {
  position: relative;
  overflow: hidden;
  border-color: rgba(0, 113, 227, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 249, 255, 0.92));
  box-shadow:
    0 22px 44px rgba(15, 23, 42, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.home-v3-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at top right, rgba(92, 99, 255, 0.12), transparent 36%),
    linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.24) 38%, transparent 64%);
  opacity: 0.78;
}

.home-v3-panel > * {
  position: relative;
  z-index: 1;
}

.home-v3-panel-primary {
  min-height: 100%;
}

.home-v3-panel-secondary {
  display: grid;
  align-content: start;
  align-self: start;
  gap: 8px;
}

.home-v3-lead {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text);
  max-width: 62ch;
}

.home-v3-kicker {
  letter-spacing: 0.12em;
}

.home-v3-actions .pill,
.home-v3-panel-secondary .pill {
  backdrop-filter: blur(18px);
  border-color: rgba(0, 113, 227, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.42);
}

.home-v3-summary-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.home-v3-summary-item {
  border: 1px solid rgba(0, 113, 227, 0.1);
  border-radius: 18px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.home-v3-summary-label {
  display: inline-flex;
  align-items: center;
  margin-bottom: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0a64c9;
}

.home-v3-summary-item strong {
  display: block;
  margin-bottom: 6px;
  font-size: 16px;
  line-height: 1.45;
  color: var(--text);
}

.home-v3-summary-item p {
  margin: 0;
  font-size: 12px;
  line-height: 1.65;
  color: var(--muted);
}

.home-v3-focus-card {
  transition:
    transform 0.48s var(--ease-smooth),
    border-color 0.48s var(--ease-smooth),
    box-shadow 0.48s var(--ease-smooth);
}

.home-v3-focus-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 113, 227, 0.18);
  box-shadow: 0 22px 40px rgba(15, 23, 42, 0.09);
}

.home-v3-timeline .card {
  transition:
    opacity 0.65s var(--ease-smooth),
    transform 0.65s var(--ease-smooth),
    filter 0.65s var(--ease-smooth),
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}

.home-v3-news-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 113, 227, 0.16);
  box-shadow: 0 18px 34px rgba(15, 23, 42, 0.08);
}

.home-v3-reveal {
  opacity: 0;
  filter: blur(10px);
  transform: translateY(26px) scale(0.985);
  transition:
    opacity 0.72s var(--ease-smooth),
    transform 0.72s var(--ease-smooth),
    filter 0.72s var(--ease-smooth);
}

.home-v3-reveal.in-view {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0) scale(1);
}

.home-v3-stagger .home-v3-stagger-item {
  opacity: 0;
  filter: blur(10px);
  transform: translateY(28px) scale(0.985);
  transition:
    opacity 0.72s var(--ease-smooth),
    transform 0.72s var(--ease-smooth),
    filter 0.72s var(--ease-smooth);
}

.home-v3-stagger.in-view .home-v3-stagger-item {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0) scale(1);
}

.home-v3-stagger.in-view .home-v3-stagger-item:nth-child(1) { transition-delay: 0.05s; }
.home-v3-stagger.in-view .home-v3-stagger-item:nth-child(2) { transition-delay: 0.13s; }
.home-v3-stagger.in-view .home-v3-stagger-item:nth-child(3) { transition-delay: 0.21s; }

.theme-dark .home-v3-panel {
  border-color: rgba(90, 167, 255, 0.16);
  background:
    linear-gradient(180deg, rgba(16, 20, 31, 0.96), rgba(11, 14, 24, 0.92));
  box-shadow:
    0 24px 46px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.theme-dark .home-v3-panel::before {
  background:
    radial-gradient(circle at top right, rgba(92, 99, 255, 0.18), transparent 38%),
    linear-gradient(120deg, transparent 0%, rgba(120, 170, 255, 0.08) 38%, transparent 64%);
}

.theme-dark .home-v3-summary-item {
  border-color: rgba(90, 167, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.theme-dark .home-v3-summary-label {
  color: #8cc2ff;
}

.theme-dark .home-v3-focus-card:hover,
.theme-dark .home-v3-news-card:hover {
  box-shadow: 0 22px 40px rgba(0, 0, 0, 0.28);
}

@media (prefers-reduced-motion: reduce) {
  .home-v3-reveal,
  .home-v3-reveal.in-view,
  .home-v3-stagger .home-v3-stagger-item,
  .home-v3-stagger.in-view .home-v3-stagger-item {
    opacity: 1;
    filter: none;
    transform: none;
    transition: none;
  }
}

@media (max-width: 900px) {
  .home-v3-summary-grid {
    grid-template-columns: 1fr;
  }
}

.hero-desc {
  font-size: 13px;
}

.home-focus-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 8px 0 20px;
}

.home-focus-card {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(0, 113, 227, 0.12);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(246, 248, 252, 0.92));
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.06);
  padding: 18px 18px 16px;
}

.home-focus-card::after {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, rgba(0, 113, 227, 0.62), rgba(92, 99, 255, 0.3), transparent);
}

.home-focus-eyebrow {
  display: inline-flex;
  align-items: center;
  margin-bottom: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0a64c9;
}

.home-focus-card h3 {
  margin: 0 0 10px;
  font-size: 19px;
  line-height: 1.35;
  color: var(--text);
}

.home-focus-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.home-focus-meta {
  margin-top: 14px;
  font-size: 12px;
  color: var(--text);
  opacity: 0.76;
}

.theme-dark .home-focus-card {
  border-color: rgba(90, 167, 255, 0.16);
  background: linear-gradient(180deg, rgba(17, 21, 31, 0.95), rgba(12, 15, 24, 0.92));
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.32);
}

.theme-dark .home-focus-eyebrow {
  color: #8cc2ff;
}

.sim-mini-trends {
  margin-top: 18px;
  display: grid;
  gap: 14px;
}

.mini-trend-card {
  border: 1px solid rgba(0, 113, 227, 0.12);
  border-radius: 18px;
  padding: 14px 14px 12px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(246, 249, 255, 0.88));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.theme-dark .mini-trend-card {
  background:
    linear-gradient(180deg, rgba(17, 21, 31, 0.94), rgba(12, 15, 24, 0.92));
  border-color: rgba(90, 167, 255, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.mini-trend-head,
.mini-trend-line-head,
.mini-trend-legend {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.mini-trend-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}

.mini-trend-meta {
  font-size: 11px;
  color: var(--muted);
}

.mini-trend-stack {
  display: grid;
  gap: 10px;
  margin-top: 10px;
}

.mini-trend-line {
  border-radius: 14px;
  padding: 10px 10px 8px;
  background: rgba(255, 255, 255, 0.56);
}

.theme-dark .mini-trend-line {
  background: rgba(255, 255, 255, 0.04);
}

.mini-trend-line-head {
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 6px;
}

.mini-trend-svg {
  width: 100%;
  height: 92px;
  display: block;
}

.mini-trend-stack .mini-trend-line:nth-child(1) polyline {
  stroke: #0a63cf;
}

.mini-trend-stack .mini-trend-line:nth-child(2) polyline {
  stroke: #0f9f8f;
}

.mini-trend-stack .mini-trend-line:nth-child(3) polyline {
  stroke: #f59e0b;
}

.mini-trend-overlay {
  margin-top: 10px;
}

.legend-chip {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 11px;
  border: 1px solid var(--border);
  color: var(--muted);
}

.legend-chip.gate {
  background: rgba(10, 99, 207, 0.08);
}

.legend-chip.ferment {
  background: rgba(245, 158, 11, 0.1);
}

.mini-trend-svg.dual .trend-gate {
  stroke: #0a63cf;
}

.mini-trend-svg.dual .trend-ferment {
  stroke: #f59e0b;
  opacity: 0.9;
}

.mini-trend-empty {
  margin-top: 10px;
  font-size: 12px;
  color: var(--muted);
}

@keyframes focusJumpArrow {
  0% { transform: translateY(0); opacity: 0.76; }
  50% { transform: translateY(3px); opacity: 1; }
  100% { transform: translateY(0); opacity: 0.76; }
}

.hero-actions {
  margin-top: 16px;
  display: flex;
  gap: 12px;
}

.hero-actions-focus {
  margin-top: 14px;
}

.hero-help-links {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.hero-help-link {
  font-size: 12px;
  color: var(--muted);
  text-decoration: none;
  opacity: 0.9;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.hero-help-link:hover {
  color: var(--accent);
  opacity: 1;
}

.manual-shell {
  padding: 28px 30px;
  border: 1px solid var(--border);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.88));
  box-shadow: var(--shadow);
}

.theme-dark .manual-shell {
  background: linear-gradient(180deg, rgba(20, 24, 38, 0.96), rgba(18, 21, 32, 0.92));
}

.manual-header {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
}

.manual-title {
  margin: 8px 0 10px;
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.08;
}

.manual-subtitle,
.manual-updated,
.manual-section-intro,
.manual-faq-item p,
.manual-mini-card p {
  color: var(--muted);
}

.manual-updated {
  margin-top: 8px;
  font-size: 12px;
}

.manual-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.manual-action-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(10, 99, 207, 0.14);
  color: var(--text);
  background: rgba(10, 99, 207, 0.04);
  text-decoration: none;
  font-size: 13px;
}

.manual-action-button {
  cursor: pointer;
  font: inherit;
}

.manual-quickstart,
.manual-section-card {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.manual-section-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}

.manual-section-head h2 {
  margin: 0;
  font-size: 24px;
}

.manual-section-head span {
  color: var(--muted);
  font-size: 12px;
}

.manual-quickstart-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.manual-mini-card,
.manual-faq-item {
  padding: 18px 18px 16px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: rgba(10, 99, 207, 0.03);
}

.manual-mini-index {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.08em;
}

.manual-list {
  margin: 14px 0 0;
  padding-left: 18px;
  color: var(--text);
}

.manual-list li + li {
  margin-top: 10px;
}

.manual-faq-list {
  margin-top: 16px;
  display: grid;
  gap: 14px;
}

.manual-faq-item h3 {
  margin: 0 0 10px;
  font-size: 16px;
}

.manual-print-page .topbar,
.manual-print-page .scroll-progress,
.manual-print-page .brand-scroll-progress,
.manual-print-page .theme-toggle {
  display: none !important;
}

@media (max-width: 900px) {
  .manual-header {
    flex-direction: column;
  }

  .manual-actions {
    justify-content: flex-start;
  }

  .manual-quickstart-grid {
    grid-template-columns: 1fr;
  }
}

.focus-jump-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(10, 99, 207, 0.18);
  background: linear-gradient(135deg, rgba(10, 99, 207, 0.08), rgba(15, 159, 143, 0.08));
  color: var(--text);
  font-size: 12px;
  font-weight: 600;
  box-shadow: 0 10px 24px rgba(10, 99, 207, 0.08);
}

.theme-dark .focus-jump-btn {
  border-color: rgba(90, 167, 255, 0.2);
  background: linear-gradient(135deg, rgba(90, 167, 255, 0.12), rgba(15, 159, 143, 0.1));
}

.focus-jump-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(10, 99, 207, 0.12);
}

.focus-jump-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: #0a63cf;
  animation: focusJumpArrow 1.4s ease-in-out infinite;
}

.theme-dark .focus-jump-arrow {
  background: rgba(255, 255, 255, 0.08);
  color: #9fd7ff;
}

.focus-jump-btn-floating {
  position: fixed;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 120;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  padding: 14px 12px;
  border-radius: 18px;
  gap: 10px;
  box-shadow: 0 16px 34px rgba(10, 99, 207, 0.14);
}

.focus-jump-btn-floating .focus-jump-arrow {
  width: 24px;
  height: 24px;
}

@media (max-width: 960px) {
  .sim-page .focus-jump-btn-floating {
    left: 18px !important;
    right: auto !important;
    top: auto !important;
    bottom: 18px !important;
    transform: none !important;
    writing-mode: horizontal-tb !important;
    text-orientation: mixed !important;
    max-width: min(calc(100vw - 36px), 280px) !important;
    padding: 10px 14px !important;
    gap: 8px !important;
    border-radius: 999px !important;
    white-space: nowrap !important;
  }
}

@media (max-width: 720px) {
  .sim-page .focus-jump-btn-floating {
    left: 12px !important;
    right: auto !important;
    top: 50% !important;
    bottom: auto !important;
    transform: translateY(-50%) !important;
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    max-width: 44px !important;
    padding: 0 !important;
    gap: 0 !important;
    justify-content: center !important;
    border-radius: 999px !important;
  }

  .sim-page .focus-jump-btn-floating .focus-jump-arrow {
    width: 20px !important;
    height: 20px !important;
    animation: none !important;
  }

  .sim-page .focus-jump-btn-floating span:first-child {
    display: none !important;
  }

  .llm-status {
    display: none;
  }
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.84);
  color: var(--muted);
  font-size: 12px;
  backdrop-filter: blur(10px);
}

.theme-dark .pill {
  background: rgba(255, 255, 255, 0.05);
}

.llm-status {
  position: fixed;
  left: 22px;
  bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.85);
  color: var(--muted);
  font-size: 12px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
  z-index: 50;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.theme-dark .llm-status {
  background: rgba(14, 17, 26, 0.9);
}

.llm-status .llm-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(120, 120, 120, 0.6);
  box-shadow: 0 0 8px rgba(120, 120, 120, 0.4);
  transition: transform 0.25s ease, border-radius 0.25s ease, box-shadow 0.25s ease;
}

.llm-status .llm-text {
  display: inline-block;
  max-width: 140px;
  white-space: nowrap;
  overflow: hidden;
  transition: max-width 0.35s ease, opacity 0.35s ease;
}

.llm-status:hover {
  transform: translateY(-1px) scale(1.02);
}

.llm-status:hover .llm-dot {
  transform: scale(1.35) rotate(45deg);
  border-radius: 3px;
  box-shadow: 0 0 12px rgba(90, 167, 255, 0.7);
}

.llm-status.llm-faded {
  opacity: 0.55;
  transform: translateY(2px);
  padding-right: 10px;
}

.llm-status.llm-faded .llm-text {
  opacity: 0;
  max-width: 0;
  overflow: hidden;
}

.llm-status.llm-faded .llm-dot {
  transform: scale(0.95);
  box-shadow: 0 0 6px rgba(59, 130, 246, 0.35);
}

.llm-status.llm-faded:hover .llm-text {
  opacity: 1;
  max-width: 140px;
}

.llm-status[data-state="ok"] .llm-dot {
  background: #22c55e;
  box-shadow: 0 0 10px rgba(34, 197, 94, 0.6);
}

.llm-status[data-state="connecting"] .llm-dot {
  background: #3b82f6;
  box-shadow: 0 0 12px rgba(59, 130, 246, 0.7);
  animation: llmPulse 1.2s ease-in-out infinite;
}

.llm-status[data-state="error"] .llm-dot {
  background: #ef4444;
  box-shadow: 0 0 10px rgba(239, 68, 68, 0.65);
}

.llm-status[data-state="disabled"] .llm-dot {
  background: rgba(120, 120, 120, 0.4);
  box-shadow: none;
}

@keyframes llmPulse {
  0%, 100% { transform: scale(1); opacity: 0.65; }
  50% { transform: scale(1.35); opacity: 1; }
}

.sim-grid {
  display: grid;
  gap: 14px;
}

.sim-card {
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.6);
  box-shadow: var(--shadow);
  transition: transform 0.28s var(--ease-smooth), box-shadow 0.28s var(--ease-smooth), border-color 0.28s var(--ease-smooth);
}

.sim-page .sim-card {
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.06);
}

.sim-page .parallax-card {
  transform: translate3d(0, var(--parallax-y, 0px), 0) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  will-change: transform;
}

.sim-page .reveal {
  opacity: 0;
  transform: translateY(12px) scale(0.985);
  transition: opacity 0.5s ease, transform 0.6s ease;
}

.sim-page .reveal.in-view {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.sim-page .hero .reveal,
.sim-page .hero .reveal.in-view,
.sim-page .hero .title-anim,
.sim-page .hero .title-anim.in-view {
  opacity: 1;
  transform: none;
}

.sim-page .hero #market-panel,
.sim-page .hero #market-panel.reveal,
.sim-page .hero #market-panel.reveal.in-view,
.sim-page .hero #market-panel .reveal,
.sim-page .hero #market-panel .reveal.in-view,
.sim-page .hero #market-panel .title-anim,
.sim-page .hero #market-panel .title-anim.in-view {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

.sim-page .title-anim {
  opacity: 0;
  transform: translateY(6px) scale(0.98);
  transition: opacity 0.4s ease, transform 0.45s ease;
}

.sim-page .title-anim.in-view {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.sim-page .sim-story-stage {
  position: relative;
  isolation: isolate;
}

.sim-page .sim-story-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(circle at top left, rgba(0, 113, 227, 0.12), transparent 42%);
  opacity: 0;
  transition: opacity 0.55s ease;
}

.sim-page .sim-story-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(100deg, transparent 12%, rgba(255, 255, 255, 0.18) 42%, transparent 72%);
  transform: translateX(-120%);
  opacity: 0;
}

.sim-page .sim-story-stage.in-view::before,
.sim-page .hero .sim-story-stage::before {
  opacity: 1;
}

.sim-page .sim-story-stage.in-view::after {
  opacity: 1;
  animation: sim-stage-sweep 0.95s cubic-bezier(0.22, 1, 0.36, 1);
}

.sim-page .sim-story-stage.in-view {
  animation: sim-stage-pop 0.72s cubic-bezier(0.2, 0.9, 0.24, 1);
}

.sim-page .sim-stagger > * {
  opacity: 0;
  filter: blur(8px);
  transform: translateY(28px) scale(0.94);
  transition: opacity 0.58s ease, transform 0.65s cubic-bezier(0.22, 1, 0.36, 1), filter 0.58s ease;
}

.sim-page .sim-stagger.in-view > * {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0) scale(1);
}

.sim-page .sim-stagger.in-view > *:nth-child(1) { transition-delay: 0.03s; }
.sim-page .sim-stagger.in-view > *:nth-child(2) { transition-delay: 0.13s; }
.sim-page .sim-stagger.in-view > *:nth-child(3) { transition-delay: 0.23s; }
.sim-page .sim-stagger.in-view > *:nth-child(4) { transition-delay: 0.33s; }
.sim-page .sim-stagger.in-view > *:nth-child(5) { transition-delay: 0.43s; }
.sim-page .sim-stagger.in-view > *:nth-child(6) { transition-delay: 0.53s; }
.sim-page .sim-stagger.in-view > *:nth-child(7) { transition-delay: 0.63s; }

.sim-page .hero .sim-story-puzzle {
  perspective: 1200px;
}

.sim-page .hero .sim-puzzle-piece {
  opacity: 0;
  filter: blur(6px);
  transform: translateY(24px) scale(0.92) rotateX(-14deg) rotateY(-8deg);
  animation: sim-puzzle-rise 0.82s cubic-bezier(0.2, 0.9, 0.24, 1) forwards;
}

.sim-page .hero .sim-puzzle-piece:nth-child(1) { animation-delay: 0.08s; }
.sim-page .hero .sim-puzzle-piece:nth-child(2) { animation-delay: 0.15s; }
.sim-page .hero .sim-puzzle-piece:nth-child(3) { animation-delay: 0.22s; }
.sim-page .hero .sim-puzzle-piece:nth-child(4) { animation-delay: 0.29s; }

@keyframes sim-puzzle-rise {
  0% {
    opacity: 0;
    filter: blur(6px);
    transform: translateY(24px) scale(0.92) rotateX(-14deg) rotateY(-8deg);
  }
  72% {
    opacity: 1;
    filter: blur(0);
    transform: translateY(-4px) scale(1.02) rotateX(3deg) rotateY(0deg);
  }
  100% {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0) scale(1) rotateX(0deg) rotateY(0deg);
  }
}

@keyframes sim-stage-pop {
  0% {
    transform: translateY(26px) scale(0.965);
  }
  68% {
    transform: translateY(-5px) scale(1.01);
  }
  100% {
    transform: translateY(0) scale(1);
  }
}

@keyframes sim-stage-sweep {
  0% {
    transform: translateX(-120%);
  }
  100% {
    transform: translateX(120%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .sim-page .reveal,
  .sim-page .title-anim,
  .sim-page .sim-stagger > *,
  .sim-page .hero .sim-puzzle-piece,
  .strategy-picks-disclosure-sheet .sim-taglist .sim-tag,
  .strategy-picks-disclosure-sheet .sim-strategy-evolution {
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
  }
}

.sim-page .section-title {
  position: relative;
}

.sim-page .section-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 36px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(0, 113, 227, 0.72), rgba(124, 92, 255, 0.72));
  opacity: 0.65;
}

.theme-dark .sim-card {
  background: rgba(14, 18, 28, 0.85);
}

.sim-card:hover {
  transform: translateY(-3px) scale(1.002);
  box-shadow: 0 20px 38px rgba(0, 0, 0, 0.12);
  border-color: color-mix(in oklab, var(--accent) 25%, var(--border));
}

.sim-head {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.sim-title {
  font-weight: 600;
  font-size: 15px;
}

.sim-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 10px;
  margin: 10px 0 6px;
}

.sim-stat-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.8);
}

.theme-dark .sim-stat-card {
  background: rgba(16, 20, 30, 0.8);
}

.sim-stat-label {
  font-size: 11px;
  color: var(--muted);
}

.sim-stat-value {
  font-size: 14px;
  font-weight: 600;
  margin-top: 4px;
}

.sim-pill {
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--muted);
}

.sim-text {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.72;
}

.sim-thesis-card {
  margin-top: 10px;
  padding: 12px 14px;
  border: 1px solid color-mix(in oklab, var(--accent) 14%, var(--border));
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(0, 113, 227, 0.05), rgba(124, 92, 255, 0.04));
}

.theme-dark .sim-thesis-card {
  background: linear-gradient(180deg, rgba(33, 109, 255, 0.11), rgba(124, 92, 255, 0.08));
}

.sim-meta {
  margin-top: 10px;
  display: flex;
  gap: 16px;
  color: var(--muted);
  font-size: 12px;
  flex-wrap: wrap;
}

.sim-section {
  margin-top: 10px;
}

.sim-section-title {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 6px;
}

.sim-impact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 10px;
}

.sim-impact-item {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.72);
}

.theme-dark .sim-impact-item {
  background: rgba(16, 20, 30, 0.76);
}

.sim-impact-empty {
  grid-column: 1 / -1;
}

.sim-impact-label {
  display: block;
  font-size: 11px;
  color: var(--muted);
}

.sim-impact-value {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  color: var(--text);
  line-height: 1.55;
}

.sim-chain {
  font-size: 12px;
  color: var(--muted);
}

.sim-chain-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.sim-chain-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.76);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.theme-dark .sim-chain-chip {
  background: rgba(16, 20, 30, 0.78);
}

.sim-risk-box {
  padding: 11px 12px;
  border-radius: 12px;
  border: 1px solid color-mix(in oklab, #f97316 18%, var(--border));
  background: linear-gradient(180deg, rgba(249, 115, 22, 0.06), rgba(249, 115, 22, 0.02));
  color: var(--text);
  line-height: 1.65;
}

.theme-dark .sim-risk-box {
  background: linear-gradient(180deg, rgba(249, 115, 22, 0.12), rgba(249, 115, 22, 0.05));
}

.sim-taglist {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.sim-tag {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px 8px;
  font-size: 11px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.7);
}

.theme-dark .sim-tag {
  background: rgba(16, 20, 30, 0.7);
}

.sim-tag-warning {
  border-color: color-mix(in oklab, #f59e0b 34%, var(--border));
  background: color-mix(in oklab, #f59e0b 10%, rgba(255, 255, 255, 0.7));
  color: var(--text);
}

.theme-dark .sim-tag-warning {
  background: color-mix(in oklab, #f59e0b 14%, rgba(16, 20, 30, 0.7));
}

.strategy-signal-panel {
  margin-top: 8px;
  padding: 14px 16px;
  border: 1px solid color-mix(in oklab, #2563eb 18%, var(--border));
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(37, 99, 235, 0.1), rgba(255, 255, 255, 0.68));
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
}

.theme-dark .strategy-signal-panel {
  background: linear-gradient(180deg, rgba(37, 99, 235, 0.24), rgba(16, 20, 30, 0.92));
  border-color: rgba(147, 197, 253, 0.18);
}

.strategy-signal-eyebrow {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.strategy-signal-main {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 8px;
}

.strategy-signal-badge,
.strategy-signal-note {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  border-radius: 999px;
  padding: 6px 12px;
}

.strategy-signal-badge {
  font-size: 12px;
  font-weight: 700;
  color: #1d4ed8;
  background: rgba(37, 99, 235, 0.12);
  border: 1px solid rgba(37, 99, 235, 0.18);
}

.theme-dark .strategy-signal-badge {
  color: #bfdbfe;
  background: rgba(59, 130, 246, 0.18);
  border-color: rgba(147, 197, 253, 0.24);
}

.strategy-signal-note {
  font-size: 12px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(120, 128, 150, 0.12);
}

.theme-dark .strategy-signal-note {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.08);
}

.allocation-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
  margin-top: 10px;
}

.allocation-card {
  padding: 12px;
  border-radius: 16px;
  border: 1px solid color-mix(in oklab, #14b8a6 14%, var(--border));
  background: linear-gradient(180deg, rgba(20, 184, 166, 0.08), rgba(255, 255, 255, 0.82));
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

.theme-dark .allocation-card {
  background: linear-gradient(180deg, rgba(20, 184, 166, 0.16), rgba(16, 19, 28, 0.9));
  border-color: rgba(94, 234, 212, 0.16);
}

.allocation-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.allocation-ticker-wrap {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.allocation-ticker {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
}

.allocation-sparkline {
  width: 132px;
  height: 42px;
  color: #94a3b8;
  opacity: 0.92;
}

.allocation-sparkline.is-up {
  color: #dc2626;
}

.allocation-sparkline.is-down {
  color: #16a34a;
}

.allocation-sparkline.is-flat {
  color: #64748b;
}

.theme-dark .allocation-sparkline {
  color: #94a3b8;
}

.theme-dark .allocation-sparkline.is-up {
  color: #f87171;
}

.theme-dark .allocation-sparkline.is-down {
  color: #4ade80;
}

.theme-dark .allocation-sparkline.is-flat {
  color: #94a3b8;
}

.allocation-weight {
  font-size: 18px;
  font-weight: 700;
  color: #0f766e;
}

.theme-dark .allocation-weight {
  color: #99f6e4;
}

.allocation-card-sub {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.propagation-strip {
  margin-top: 12px;
}

.propagation-card.is-core {
  border-color: color-mix(in oklab, #2563eb 22%, var(--border));
}

.propagation-card.is-adjacent {
  border-color: color-mix(in oklab, #8b5cf6 20%, var(--border));
}

.propagation-card.is-adjacent .allocation-weight {
  color: #7c3aed;
}

.theme-dark .propagation-card.is-adjacent .allocation-weight {
  color: #c4b5fd;
}

.learning-terminal {
  margin-top: 12px;
  padding: 16px 18px;
  border-radius: 20px;
  border: 1px solid color-mix(in oklab, #2563eb 18%, var(--border));
  background:
    linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(124, 58, 237, 0.08)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(248, 250, 252, 0.86));
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
  position: relative;
  overflow: hidden;
}

.learning-terminal::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent, rgba(96, 165, 250, 0.08), transparent),
    repeating-linear-gradient(
      90deg,
      transparent 0,
      transparent 23px,
      rgba(148, 163, 184, 0.06) 24px
    );
  pointer-events: none;
}

.theme-dark .learning-terminal {
  border-color: rgba(96, 165, 250, 0.2);
  background:
    linear-gradient(135deg, rgba(37, 99, 235, 0.16), rgba(124, 58, 237, 0.14)),
    linear-gradient(180deg, rgba(15, 23, 42, 0.92), rgba(2, 6, 23, 0.9));
  box-shadow: 0 18px 40px rgba(2, 6, 23, 0.45);
}

.learning-terminal-head {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 14px;
}

.learning-terminal-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #64748b;
}

.theme-dark .learning-terminal-label {
  color: #94a3b8;
}

.learning-terminal-mode {
  margin-top: 6px;
  font-size: 26px;
  font-weight: 800;
  line-height: 1.05;
  color: var(--text);
}

.learning-terminal-flags {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.learning-terminal-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.learning-terminal-card {
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid color-mix(in oklab, #e2e8f0 70%, var(--border));
  background: rgba(255, 255, 255, 0.78);
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 112px;
}

.theme-dark .learning-terminal-card {
  background: rgba(15, 23, 42, 0.72);
  border-color: rgba(148, 163, 184, 0.16);
}

.learning-terminal-card.is-primary {
  border-color: color-mix(in oklab, #22c55e 25%, var(--border));
}

.learning-terminal-card.is-wide {
  grid-column: 1 / -1;
}

.learning-terminal-card-label {
  font-size: 12px;
  font-weight: 700;
  color: #64748b;
}

.theme-dark .learning-terminal-card-label {
  color: #94a3b8;
}

.learning-terminal-card-value {
  font-size: 28px;
  line-height: 1;
  font-weight: 800;
  color: var(--text);
}

.learning-terminal-card-value.is-text {
  font-size: 20px;
}

.learning-terminal-card-note {
  font-size: 12px;
  line-height: 1.55;
  color: var(--muted);
}

.learning-terminal-card-note.is-body {
  font-size: 13px;
}

.learning-horizon-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.learning-horizon-cell {
  padding: 10px 8px;
  border-radius: 12px;
  background: rgba(37, 99, 235, 0.06);
  border: 1px solid rgba(37, 99, 235, 0.08);
  text-align: center;
}

.theme-dark .learning-horizon-cell {
  background: rgba(37, 99, 235, 0.12);
  border-color: rgba(96, 165, 250, 0.14);
}

.learning-horizon-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: #64748b;
}

.theme-dark .learning-horizon-label {
  color: #94a3b8;
}

.learning-horizon-value {
  display: block;
  margin-top: 4px;
  font-size: 17px;
  font-weight: 800;
  color: var(--text);
}

.allocation-chip {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(15, 118, 110, 0.08);
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
}

.theme-dark .allocation-chip {
  background: rgba(20, 184, 166, 0.12);
}

.entry-plan {
  position: relative;
  margin-top: 8px;
  min-height: 74px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
  overflow: hidden;
}

.theme-dark .entry-plan {
  background: rgba(16, 20, 30, 0.74);
}

.entry-track {
  position: absolute;
  left: 8%;
  right: 8%;
  top: 26px;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(0, 113, 227, 0.28), rgba(124, 92, 255, 0.32));
}

.entry-step {
  position: absolute;
  top: 14px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  animation: entryStepIn 0.5s var(--ease-smooth);
}

.entry-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: radial-gradient(circle at 35% 35%, #9fd7ff, #0071e3);
  box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.18), 0 4px 12px rgba(0, 113, 227, 0.3);
}

.entry-label {
  font-size: 11px;
  color: var(--muted);
  white-space: nowrap;
}

@keyframes entryStepIn {
  0% { opacity: 0; transform: translateX(-50%) translateY(6px) scale(0.96); }
  100% { opacity: 1; transform: translateX(-50%) translateY(0) scale(1); }
}

.top-events {
  display: grid;
  gap: 8px;
}

.top-event-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.75);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.theme-dark .top-event-card {
  background: rgba(16, 20, 30, 0.78);
}

.top-event-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}

.top-event-meta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 11px;
  color: var(--muted);
}

.importance-bar {
  height: 6px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.06);
  overflow: hidden;
  position: relative;
}

.theme-dark .importance-bar {
  background: rgba(255, 255, 255, 0.08);
}

.importance-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(0, 113, 227, 0.75), rgba(124, 92, 255, 0.75));
  box-shadow: 0 0 10px rgba(0, 113, 227, 0.2);
  transition: width 0.6s ease;
}

.pankou-card {
  margin-top: 10px;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow);
}

.theme-dark .pankou-card {
  background: rgba(14, 18, 28, 0.85);
}

.pankou-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.pankou-title {
  font-weight: 600;
  font-size: 13px;
}

.pankou-time {
  font-size: 11px;
  color: var(--muted);
}

.pankou-grid {
  display: grid;
  gap: 6px;
}

.pankou-row {
  display: grid;
  grid-template-columns: 48px 1fr 1fr;
  gap: 8px;
  font-size: 12px;
  color: var(--muted);
}

.pankou-row span:nth-child(2),
.pankou-row span:nth-child(3) {
  text-align: right;
}

.pankou-note {
  margin: 8px 0 0;
  font-size: 11px;
}

.pick-meta {
  margin-top: 6px;
  font-size: 12px;
}

.holding-insights {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.holding-insight-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}

.holding-insight-badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  border: 1px solid rgba(120, 128, 150, 0.16);
  background: rgba(120, 128, 150, 0.08);
  color: var(--muted);
}

.holding-insight-badge.is-allocation {
  color: #0f766e;
  background: rgba(20, 184, 166, 0.12);
  border-color: rgba(20, 184, 166, 0.18);
}

.holding-insight-badge.is-score {
  color: #8a5100;
  background: rgba(245, 158, 11, 0.14);
  border-color: rgba(245, 158, 11, 0.22);
}

.theme-dark .holding-insight-badge {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.08);
}

.theme-dark .holding-insight-badge.is-allocation {
  color: #99f6e4;
  background: rgba(20, 184, 166, 0.16);
  border-color: rgba(94, 234, 212, 0.22);
}

.theme-dark .holding-insight-badge.is-score {
  color: #ffd38a;
  background: rgba(245, 158, 11, 0.14);
  border-color: rgba(245, 158, 11, 0.22);
}

.decision-hero-card {
  margin-top: 10px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(255, 255, 255, 0.68));
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

.sim-strategy-strip {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.sim-strategy-pill {
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.72);
}

.theme-dark .sim-strategy-pill {
  background: rgba(18, 24, 38, 0.82);
}

.sim-strategy-pill.primary {
  border-color: color-mix(in oklab, var(--accent) 30%, var(--border));
}

.sim-strategy-pill.secondary {
  border-color: color-mix(in oklab, #22c55e 24%, var(--border));
}

.sim-strategy-pill.risk {
  border-color: color-mix(in oklab, #f59e0b 28%, var(--border));
}

.sim-strategy-pill.blocked {
  border-color: color-mix(in oklab, #94a3b8 28%, var(--border));
  opacity: 0.92;
}

.sim-strategy-pill-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.sim-strategy-pill-value {
  margin-top: 6px;
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
}

.sim-strategy-pill-note {
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.45;
  color: color-mix(in oklab, var(--muted) 88%, white 12%);
}

.sim-strategy-pill-sub {
  margin-top: 6px;
  font-size: 12px;
  color: var(--muted);
}

.sim-strategy-pill.primary .sim-strategy-pill-value {
  color: color-mix(in oklab, var(--accent) 82%, white 18%);
}

.sim-strategy-pill.risk .sim-strategy-pill-note,
.sim-strategy-pill.blocked .sim-strategy-pill-note {
  max-width: 14ch;
}

.sim-strategy-evolution {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.68);
}

.theme-dark .sim-strategy-evolution {
  background: rgba(16, 20, 30, 0.78);
}

.sim-strategy-evolution.tone-confirmed {
  border-color: color-mix(in oklab, #2563eb 26%, var(--border));
}

.sim-strategy-evolution.tone-rotating {
  border-color: color-mix(in oklab, #f59e0b 26%, var(--border));
}

.sim-strategy-evolution.tone-stable {
  border-color: color-mix(in oklab, #22c55e 22%, var(--border));
}

.sim-strategy-evolution-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.sim-strategy-evolution-label,
.sim-strategy-evolution-status {
  font-size: 12px;
  color: var(--muted);
}

.sim-strategy-evolution-status {
  font-weight: 700;
}

.sim-strategy-evolution-route {
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  color: var(--text);
  font-size: 16px;
}

.sim-strategy-evolution-arrow {
  color: var(--muted);
}

.sim-strategy-evolution-copy {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.theme-dark .decision-hero-card {
  background: linear-gradient(180deg, rgba(16, 20, 30, 0.92), rgba(16, 20, 30, 0.82));
}

.theme-dark .decision-hero-card.tone-trade {
  background: linear-gradient(180deg, rgba(11, 35, 28, 0.96), rgba(16, 20, 30, 0.88));
}

.theme-dark .decision-hero-card.tone-probe {
  background: linear-gradient(180deg, rgba(15, 29, 53, 0.96), rgba(16, 20, 30, 0.88));
}

.theme-dark .decision-hero-card.tone-observe {
  background: linear-gradient(180deg, rgba(46, 30, 10, 0.96), rgba(16, 20, 30, 0.88));
}

.theme-dark .decision-hero-card.tone-wait {
  background: linear-gradient(180deg, rgba(28, 33, 45, 0.96), rgba(16, 20, 30, 0.88));
}

.decision-hero-card.tone-trade {
  border-color: color-mix(in oklab, #059669 28%, var(--border));
  background: linear-gradient(180deg, rgba(236, 253, 245, 0.96), rgba(255, 255, 255, 0.9));
}

.decision-hero-card.tone-probe {
  border-color: color-mix(in oklab, #2563eb 28%, var(--border));
  background: linear-gradient(180deg, rgba(239, 246, 255, 0.96), rgba(255, 255, 255, 0.9));
}

.decision-hero-card.tone-observe {
  border-color: color-mix(in oklab, #f59e0b 28%, var(--border));
  background: linear-gradient(180deg, rgba(255, 251, 235, 0.96), rgba(255, 255, 255, 0.9));
}

.decision-hero-card.tone-wait {
  border-color: color-mix(in oklab, #6b7280 24%, var(--border));
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.96), rgba(255, 255, 255, 0.9));
}

.decision-hero-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.decision-hero-kicker {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.decision-hero-title {
  margin-top: 4px;
  font-size: 18px;
  line-height: 1.4;
  font-weight: 700;
  color: var(--text);
}

.sim-disclaimer {
  margin: 10px 0 14px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(245, 158, 11, 0.18);
  background: rgba(245, 158, 11, 0.08);
  color: #9a6700;
  font-size: 12px;
  line-height: 1.6;
}

.decision-hero-badge {
  flex-shrink: 0;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.76);
  color: var(--text);
  font-size: 12px;
  font-weight: 700;
}

.theme-dark .decision-hero-badge {
  background: rgba(16, 20, 30, 0.78);
}

.decision-hero-card.tone-trade .decision-hero-badge {
  color: #047857;
  border-color: rgba(5, 150, 105, 0.22);
  background: rgba(5, 150, 105, 0.1);
}

.decision-hero-card.tone-probe .decision-hero-badge {
  color: #1d4ed8;
  border-color: rgba(37, 99, 235, 0.24);
  background: rgba(37, 99, 235, 0.1);
}

.decision-hero-card.tone-observe .decision-hero-badge {
  color: #b45309;
  border-color: rgba(245, 158, 11, 0.24);
  background: rgba(245, 158, 11, 0.12);
}

.decision-hero-card.tone-wait .decision-hero-badge {
  color: #4b5563;
  border-color: rgba(107, 114, 128, 0.22);
  background: rgba(107, 114, 128, 0.1);
}

.theme-dark .decision-hero-card.tone-trade .decision-hero-badge {
  color: #6ee7b7;
}

.theme-dark .decision-hero-card.tone-probe .decision-hero-badge {
  color: #93c5fd;
}

.theme-dark .sim-disclaimer {
  border-color: rgba(251, 191, 36, 0.2);
  background: rgba(251, 191, 36, 0.1);
  color: #fcd34d;
}

.theme-dark .decision-hero-card.tone-observe .decision-hero-badge {
  color: #fbbf24;
}

.theme-dark .decision-hero-card.tone-wait .decision-hero-badge {
  color: #d1d5db;
}

.theme-dark .decision-hero-card.tone-trade .decision-hero-title {
  color: #86efac;
}

.theme-dark .decision-hero-card.tone-probe .decision-hero-title {
  color: #93c5fd;
}

.theme-dark .decision-hero-card.tone-observe .decision-hero-title {
  color: #fbbf24;
}

.theme-dark .decision-hero-card.tone-wait .decision-hero-title {
  color: #e2e8f0;
}

.decision-hero-copy {
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.72;
}

.decision-hero-card.tone-trade .decision-hero-title {
  color: #047857;
}

.decision-hero-card.tone-probe .decision-hero-title {
  color: #1d4ed8;
}

.decision-hero-card.tone-observe .decision-hero-title {
  color: #b45309;
}

.decision-hero-card.tone-wait .decision-hero-title {
  color: #334155;
}

.decision-hero-strategic {
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--muted);
}

.decision-hero-strategic-label,
.decision-hero-strategic-bucket {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid color-mix(in oklab, var(--accent) 18%, var(--border));
  background: rgba(255, 255, 255, 0.72);
  color: var(--text);
  font-weight: 700;
}

.theme-dark .decision-hero-strategic-label,
.theme-dark .decision-hero-strategic-bucket {
  background: rgba(20, 27, 43, 0.72);
}

.signal-state-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.76);
  color: var(--text);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.theme-dark .signal-state-pill {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(22, 28, 42, 0.88);
}

.signal-state-pill.tone-watch {
  color: #64748b;
}

.signal-state-pill.tone-triggered {
  color: #2563eb;
  border-color: rgba(37, 99, 235, 0.18);
}

.signal-state-pill.tone-confirmed {
  color: #0f9f6e;
  border-color: rgba(15, 159, 110, 0.2);
}

.signal-state-pill.tone-expanding {
  color: #0f6ad8;
  border-color: rgba(14, 116, 255, 0.2);
}

.signal-state-pill.tone-fading {
  color: #b45309;
  border-color: rgba(245, 158, 11, 0.22);
}

.signal-state-pill.tone-invalid {
  color: #b91c1c;
  border-color: rgba(220, 38, 38, 0.22);
}

.signal-state-pill.signal-state-pill-trend {
  font-weight: 600;
}

.signal-state-pill.signal-state-pill-trend.trend-strengthening {
  color: #d14a73;
  border-color: rgba(209, 74, 115, 0.22);
  background: rgba(255, 241, 246, 0.92);
}

.signal-state-pill.signal-state-pill-trend.trend-stable {
  color: #475569;
  border-color: rgba(100, 116, 139, 0.16);
  background: rgba(248, 250, 252, 0.92);
}

.signal-state-pill.signal-state-pill-trend.trend-weakening {
  color: #b45309;
  border-color: rgba(245, 158, 11, 0.22);
  background: rgba(255, 247, 237, 0.92);
}

.theme-dark .signal-state-pill.signal-state-pill-trend.trend-strengthening {
  background: rgba(120, 24, 74, 0.22);
}

.theme-dark .signal-state-pill.signal-state-pill-trend.trend-stable {
  background: rgba(51, 65, 85, 0.36);
}

.theme-dark .signal-state-pill.signal-state-pill-trend.trend-weakening {
  background: rgba(120, 53, 15, 0.28);
}

.signal-risk-warning {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(245, 158, 11, 0.2);
  background: linear-gradient(135deg, rgba(255, 247, 237, 0.96), rgba(255, 251, 235, 0.92));
  color: rgba(146, 64, 14, 0.88);
  box-shadow: 0 16px 32px rgba(245, 158, 11, 0.08);
}

.signal-risk-warning strong {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.14);
  color: #b45309;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.signal-risk-warning span {
  font-size: 13px;
  line-height: 1.6;
}

.signal-risk-warning em {
  font-style: normal;
  color: rgba(180, 83, 9, 0.92);
  font-size: 12px;
}

.theme-dark .signal-risk-warning {
  border-color: rgba(245, 158, 11, 0.18);
  background: linear-gradient(135deg, rgba(60, 32, 8, 0.82), rgba(41, 22, 7, 0.88));
  color: rgba(253, 230, 138, 0.9);
  box-shadow: 0 16px 32px rgba(245, 158, 11, 0.12);
}

.theme-dark .signal-risk-warning strong {
  background: rgba(245, 158, 11, 0.18);
  color: #fbbf24;
}

.theme-dark .signal-risk-warning em {
  color: rgba(252, 211, 77, 0.92);
}

.signal-state-meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.signal-state-meta strong {
  color: var(--text);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.sim-primary-state-card {
  margin-top: 12px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.72);
}

.theme-dark .sim-primary-state-card {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(16, 20, 30, 0.82);
}

.sim-primary-state-card.tone-watch {
  border-color: color-mix(in oklab, #64748b 22%, var(--border));
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.94), rgba(241, 245, 249, 0.9));
}

.sim-primary-state-card.tone-triggered {
  border-color: color-mix(in oklab, #2563eb 24%, var(--border));
  background: linear-gradient(180deg, rgba(239, 246, 255, 0.96), rgba(233, 241, 255, 0.9));
}

.sim-primary-state-card.tone-confirmed,
.sim-primary-state-card.tone-expanding {
  border-color: color-mix(in oklab, #2563eb 20%, var(--border));
}

.sim-primary-state-card.tone-confirmed {
  background: linear-gradient(180deg, rgba(236, 253, 245, 0.96), rgba(232, 250, 242, 0.9));
}

.sim-primary-state-card.tone-expanding {
  border-color: color-mix(in oklab, #0f6ad8 26%, var(--border));
  background: linear-gradient(180deg, rgba(239, 246, 255, 0.98), rgba(226, 239, 255, 0.9));
}

.sim-primary-state-card.tone-fading,
.sim-primary-state-card.tone-invalid {
  border-color: color-mix(in oklab, #f59e0b 24%, var(--border));
}

.sim-primary-state-card.tone-fading {
  background: linear-gradient(180deg, rgba(255, 247, 237, 0.98), rgba(255, 237, 213, 0.88));
}

.sim-primary-state-card.tone-invalid {
  border-color: color-mix(in oklab, #dc2626 28%, var(--border));
  background: linear-gradient(180deg, rgba(254, 242, 242, 0.98), rgba(254, 226, 226, 0.9));
}

.sim-primary-state-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.sim-primary-state-label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sim-primary-state-title {
  margin-top: 4px;
  color: var(--text);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.2;
}

.sim-primary-state-card.tone-watch .sim-primary-state-title {
  color: #475569;
}

.sim-primary-state-card.tone-triggered .sim-primary-state-title {
  color: #1d4ed8;
}

.sim-primary-state-card.tone-confirmed .sim-primary-state-title {
  color: #047857;
}

.sim-primary-state-card.tone-expanding .sim-primary-state-title {
  color: #0f6ad8;
}

.sim-primary-state-card.tone-fading .sim-primary-state-title {
  color: #c2410c;
}

.sim-primary-state-card.tone-invalid .sim-primary-state-title {
  color: #b91c1c;
}

.sim-primary-state-copy {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.sim-primary-state-meta {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
}

.sim-primary-state-drivers {
  margin-top: 12px;
  display: grid;
  gap: 8px;
}

.sim-signal-risk-warning {
  margin-top: 12px;
}

.sim-primary-driver {
  display: block;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.74);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.sim-primary-driver.tone-upgrade {
  border-color: rgba(209, 74, 115, 0.16);
  background: rgba(255, 241, 246, 0.9);
  color: #9f2f5a;
}

.sim-primary-driver.tone-stable {
  border-color: rgba(100, 116, 139, 0.12);
  background: rgba(248, 250, 252, 0.92);
  color: #475569;
}

.sim-primary-driver.tone-risk {
  border-color: rgba(245, 158, 11, 0.16);
  background: rgba(255, 247, 237, 0.9);
  color: #9a5a05;
}

.theme-dark .sim-primary-driver {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(18, 24, 38, 0.82);
}

.theme-dark .sim-primary-driver.tone-upgrade {
  background: rgba(120, 24, 74, 0.22);
}

.theme-dark .sim-primary-driver.tone-stable {
  background: rgba(51, 65, 85, 0.32);
}

.theme-dark .sim-primary-driver.tone-risk {
  background: rgba(120, 53, 15, 0.24);
}

.theme-dark .sim-primary-state-card.tone-watch {
  border-color: rgba(148, 163, 184, 0.2);
  background: linear-gradient(180deg, rgba(32, 39, 52, 0.96), rgba(16, 20, 30, 0.88));
}

.theme-dark .sim-primary-state-card.tone-triggered {
  border-color: rgba(59, 130, 246, 0.24);
  background: linear-gradient(180deg, rgba(15, 29, 53, 0.96), rgba(16, 20, 30, 0.88));
}

.theme-dark .sim-primary-state-card.tone-confirmed {
  border-color: rgba(16, 185, 129, 0.24);
  background: linear-gradient(180deg, rgba(11, 35, 28, 0.96), rgba(16, 20, 30, 0.88));
}

.theme-dark .sim-primary-state-card.tone-expanding {
  border-color: rgba(59, 130, 246, 0.26);
  background: linear-gradient(180deg, rgba(12, 33, 67, 0.96), rgba(16, 20, 30, 0.88));
}

.theme-dark .sim-primary-state-card.tone-fading {
  border-color: rgba(245, 158, 11, 0.24);
  background: linear-gradient(180deg, rgba(49, 31, 10, 0.96), rgba(16, 20, 30, 0.88));
}

.theme-dark .sim-primary-state-card.tone-invalid {
  border-color: rgba(239, 68, 68, 0.26);
  background: linear-gradient(180deg, rgba(58, 20, 20, 0.96), rgba(16, 20, 30, 0.88));
}

.theme-dark .sim-primary-state-card.tone-watch .sim-primary-state-title {
  color: #cbd5e1;
}

.theme-dark .sim-primary-state-card.tone-triggered .sim-primary-state-title {
  color: #93c5fd;
}

.theme-dark .sim-primary-state-card.tone-confirmed .sim-primary-state-title {
  color: #86efac;
}

.theme-dark .sim-primary-state-card.tone-expanding .sim-primary-state-title {
  color: #93c5fd;
}

.theme-dark .sim-primary-state-card.tone-fading .sim-primary-state-title {
  color: #fdba74;
}

.theme-dark .sim-primary-state-card.tone-invalid .sim-primary-state-title {
  color: #fca5a5;
}

.strategic-bias-card.tone-upgrade {
  border-color: color-mix(in oklab, #16a34a 40%, var(--border));
  background: color-mix(in oklab, #16a34a 10%, var(--card));
}

.strategic-bias-card.tone-downgrade {
  border-color: color-mix(in oklab, #f59e0b 40%, var(--border));
  background: color-mix(in oklab, #f59e0b 10%, var(--card));
}

.strategic-bias-detail {
  margin-top: 6px;
  opacity: 0.86;
}

.watch-signals-card {
  margin-top: 12px;
  padding: 14px 16px;
  border: 1px solid color-mix(in oklab, var(--accent) 16%, var(--border));
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
}

.theme-dark .watch-signals-card {
  background: rgba(16, 20, 30, 0.78);
}

.watch-signals-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.watch-signals-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}

.watch-signals-sub {
  font-size: 11px;
  color: var(--muted);
}

.watch-signals-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.watch-signal-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.64);
  color: var(--text);
  line-height: 1.62;
}

.theme-dark .watch-signal-item {
  background: rgba(255, 255, 255, 0.03);
}

.watch-signal-dot {
  width: 8px;
  height: 8px;
  margin-top: 7px;
  flex-shrink: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #0071e3, #7c5cff);
  box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.12);
}

.strategy-picks-card {
  margin-top: 10px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.74);
}

.theme-dark .strategy-picks-card {
  background: rgba(255, 255, 255, 0.04);
}

.candidate-pool-card {
  margin-top: 10px;
  padding: 18px;
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.78));
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
}

.theme-dark .candidate-pool-card {
  border-color: rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
}

.candidate-pool-list {
  display: grid;
  gap: 10px;
}

.candidate-pool-section-title {
  margin: 18px 0 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.candidate-pool-section-title-inline {
  margin: 0;
}

.candidate-pool-disclosure {
  margin-top: 16px;
  padding-top: 4px;
  border-top: 1px dashed rgba(148, 163, 184, 0.22);
}

.candidate-pool-disclosure-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  list-style: none;
}

.candidate-pool-disclosure-summary::-webkit-details-marker {
  display: none;
}

.candidate-pool-disclosure-meta {
  font-size: 12px;
  color: var(--muted);
}

.candidate-pool-disclosure-note {
  margin: 6px 0 12px;
  font-size: 12px;
  line-height: 1.7;
}

.candidate-pool-list-muted .candidate-pool-item {
  opacity: 0.86;
}

.candidate-pool-item {
  padding: 12px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.62);
}

.theme-dark .candidate-pool-item {
  background: rgba(255, 255, 255, 0.03);
}

.candidate-pool-item-backup {
  opacity: 0.92;
}

.candidate-pool-main,
.candidate-pool-side {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.candidate-pool-item + .candidate-pool-item {
  margin-top: 0;
}

.candidate-pool-item {
  display: grid;
  gap: 10px;
  padding: 16px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.7));
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.06);
}

.candidate-pool-side {
  justify-content: flex-start;
}

.candidate-pool-topline {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}

.candidate-pool-rank {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(10, 99, 207, 0.12);
  color: #0a63cf;
  font-size: 12px;
  font-weight: 700;
}

.theme-dark .candidate-pool-rank {
  background: rgba(90, 167, 255, 0.16);
  color: #8fc4ff;
}

.candidate-pool-ticker {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}

.candidate-pool-name {
  font-size: 14px;
  color: var(--muted);
  font-weight: 600;
}

.candidate-pool-theme,
.candidate-pool-role,
.candidate-pool-priority,
.candidate-pool-score {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 11px;
  color: var(--muted);
  border: 1px solid var(--border);
}

.candidate-pool-score {
  color: #0a7c58;
  border-color: rgba(10, 124, 88, 0.18);
  background: rgba(10, 124, 88, 0.08);
}

.candidate-pool-role {
  color: #3567d6;
  border-color: rgba(53, 103, 214, 0.18);
  background: rgba(53, 103, 214, 0.08);
}

.theme-dark .candidate-pool-score {
  color: #7edeb9;
  border-color: rgba(126, 222, 185, 0.18);
  background: rgba(126, 222, 185, 0.08);
}

.theme-dark .candidate-pool-role {
  color: #9bbcff;
  border-color: rgba(155, 188, 255, 0.2);
  background: rgba(155, 188, 255, 0.1);
}

.candidate-pool-role-accent {
  color: #915f00;
  border-color: rgba(201, 137, 24, 0.2);
  background: rgba(201, 137, 24, 0.12);
}

.theme-dark .candidate-pool-role-accent {
  color: #ffd486;
  border-color: rgba(255, 212, 134, 0.22);
  background: rgba(255, 212, 134, 0.12);
}

.candidate-pool-summary {
  font-size: 13px;
  line-height: 1.7;
  color: var(--text);
}

.candidate-pool-summary-strategic {
  margin-top: 6px;
  color: var(--muted);
}

.candidate-pool-reason {
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
}

.candidate-pool-detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
}

.candidate-detail-card {
  padding: 12px 13px;
  border-radius: 16px;
  border: 1px solid rgba(15, 23, 42, 0.06);
  background: rgba(246, 247, 251, 0.88);
}

.theme-dark .candidate-detail-card {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
}

.candidate-detail-card-accent {
  background: linear-gradient(135deg, rgba(10, 99, 207, 0.08), rgba(15, 159, 143, 0.08));
  border-color: rgba(10, 99, 207, 0.14);
}

.theme-dark .candidate-detail-card-accent {
  background: linear-gradient(135deg, rgba(90, 167, 255, 0.12), rgba(15, 159, 143, 0.12));
  border-color: rgba(90, 167, 255, 0.16);
}

.candidate-detail-label {
  margin-bottom: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.candidate-detail-value {
  font-size: 13px;
  line-height: 1.55;
  color: var(--text);
  font-weight: 600;
}

.candidate-detail-meta {
  margin-top: 5px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
}

.admin-draft-panel {
  margin-top: 14px;
}

.admin-draft-output {
  width: 100%;
  min-height: 220px;
  margin-top: 8px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.78);
  color: var(--text);
  font-size: 13px;
  line-height: 1.7;
  resize: vertical;
}

.theme-dark .admin-draft-output {
  background: rgba(16, 20, 30, 0.82);
}

.strategy-picks-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.strategy-picks-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.strategy-picks-date {
  font-size: 11px;
  color: var(--muted);
  text-align: right;
}

.strategy-picks-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.strategy-picks-disclosure {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(148, 163, 184, 0.18);
}

.strategy-picks-disclosure-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  list-style: none;
}

.strategy-picks-disclosure-summary::-webkit-details-marker {
  display: none;
}

.strategy-picks-disclosure-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
}

.strategy-picks-disclosure-note {
  margin-top: 4px;
  font-size: 12px;
  color: var(--muted);
}

.strategy-picks-disclosure-toggle {
  position: relative;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.52);
}

.theme-dark .strategy-picks-disclosure-toggle {
  background: rgba(255, 255, 255, 0.04);
}

.strategy-picks-disclosure-toggle::before,
.strategy-picks-disclosure-toggle::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 10px;
  height: 1.5px;
  border-radius: 999px;
  background: currentColor;
  transform: translate(-50%, -50%);
  transition: transform 0.28s ease, opacity 0.28s ease;
}

.strategy-picks-disclosure-toggle::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.strategy-picks-disclosure[open] .strategy-picks-disclosure-toggle::after {
  opacity: 0;
  transform: translate(-50%, -50%) rotate(90deg) scaleX(0.4);
}

.strategy-picks-disclosure-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.36s cubic-bezier(0.22, 1, 0.36, 1);
}

.strategy-picks-disclosure[open] .strategy-picks-disclosure-body {
  grid-template-rows: 1fr;
}

.strategy-picks-disclosure-sheet {
  overflow: hidden;
  transform-origin: top center;
}

.strategy-picks-disclosure[open] .strategy-picks-disclosure-sheet {
  animation: strategy-scroll-open 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}

.strategy-picks-disclosure-sheet .sim-taglist {
  margin-top: 14px;
}

.strategy-picks-disclosure-sheet .sim-strategy-evolution {
  margin-top: 12px;
}

.strategy-picks-disclosure-sheet .sim-taglist .sim-tag,
.strategy-picks-disclosure-sheet .sim-strategy-evolution {
  opacity: 0;
  filter: blur(6px);
  transform: translateY(18px) scale(0.96);
}

.strategy-picks-disclosure[open] .strategy-picks-disclosure-sheet .sim-taglist .sim-tag,
.strategy-picks-disclosure[open] .strategy-picks-disclosure-sheet .sim-strategy-evolution {
  animation: sim-detail-chip-rise 0.52s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.strategy-picks-disclosure[open] .strategy-picks-disclosure-sheet .sim-taglist .sim-tag:nth-child(1) { animation-delay: 0.05s; }
.strategy-picks-disclosure[open] .strategy-picks-disclosure-sheet .sim-taglist .sim-tag:nth-child(2) { animation-delay: 0.1s; }
.strategy-picks-disclosure[open] .strategy-picks-disclosure-sheet .sim-taglist .sim-tag:nth-child(3) { animation-delay: 0.15s; }
.strategy-picks-disclosure[open] .strategy-picks-disclosure-sheet .sim-taglist .sim-tag:nth-child(4) { animation-delay: 0.2s; }
.strategy-picks-disclosure[open] .strategy-picks-disclosure-sheet .sim-strategy-evolution { animation-delay: 0.22s; }

@keyframes strategy-scroll-open {
  0% {
    opacity: 0;
    transform: translateY(-10px) scaleY(0.92);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scaleY(1);
  }
}

@keyframes sim-detail-chip-rise {
  0% {
    opacity: 0;
    filter: blur(6px);
    transform: translateY(18px) scale(0.96);
  }
  70% {
    opacity: 1;
    filter: blur(0);
    transform: translateY(-3px) scale(1.02);
  }
  100% {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0) scale(1);
  }
}

.sim-advanced-disclosure {
  margin-top: 18px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.62);
  overflow: hidden;
}

.theme-dark .sim-advanced-disclosure {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
}

.sim-advanced-disclosure-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  cursor: pointer;
  list-style: none;
}

.sim-advanced-disclosure-summary::-webkit-details-marker {
  display: none;
}

.sim-advanced-disclosure-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}

.sim-advanced-disclosure-note {
  margin-top: 5px;
  font-size: 12px;
  color: var(--muted);
}

.sim-advanced-disclosure-toggle {
  position: relative;
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.56);
}

.theme-dark .sim-advanced-disclosure-toggle {
  background: rgba(255, 255, 255, 0.04);
}

.sim-advanced-disclosure-toggle::before,
.sim-advanced-disclosure-toggle::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 10px;
  height: 1.5px;
  border-radius: 999px;
  background: currentColor;
  transform: translate(-50%, -50%);
  transition: transform 0.28s ease, opacity 0.28s ease;
}

.sim-advanced-disclosure-toggle::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.sim-advanced-disclosure[open] .sim-advanced-disclosure-toggle::after {
  opacity: 0;
  transform: translate(-50%, -50%) rotate(90deg) scaleX(0.4);
}

.sim-advanced-disclosure-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}

.sim-advanced-disclosure[open] .sim-advanced-disclosure-body {
  grid-template-rows: 1fr;
}

.sim-advanced-disclosure-sheet {
  min-height: 0;
  overflow: hidden;
  padding: 0 18px 0;
}

.sim-advanced-disclosure-sheet > * {
  opacity: 0;
  filter: blur(6px);
  transform: translateY(20px) scale(0.97);
}

.sim-advanced-disclosure[open] .sim-advanced-disclosure-sheet {
  padding-bottom: 18px;
  animation: sim-scroll-sheet-open 0.44s cubic-bezier(0.22, 1, 0.36, 1);
}

.sim-advanced-disclosure[open] .sim-advanced-disclosure-sheet > * {
  animation: sim-sheet-item-rise 0.52s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.sim-advanced-disclosure[open] .sim-advanced-disclosure-sheet > *:nth-child(1) { animation-delay: 0.04s; }
.sim-advanced-disclosure[open] .sim-advanced-disclosure-sheet > *:nth-child(2) { animation-delay: 0.11s; }
.sim-advanced-disclosure[open] .sim-advanced-disclosure-sheet > *:nth-child(3) { animation-delay: 0.18s; }
.sim-advanced-disclosure[open] .sim-advanced-disclosure-sheet > *:nth-child(4) { animation-delay: 0.25s; }
.sim-advanced-disclosure[open] .sim-advanced-disclosure-sheet > *:nth-child(5) { animation-delay: 0.32s; }
.sim-advanced-disclosure[open] .sim-advanced-disclosure-sheet > *:nth-child(6) { animation-delay: 0.39s; }
.sim-advanced-disclosure[open] .sim-advanced-disclosure-sheet > *:nth-child(7) { animation-delay: 0.46s; }

.sim-advanced-disclosure .section-title:first-child {
  margin-top: 4px;
}

@keyframes sim-scroll-sheet-open {
  0% {
    opacity: 0;
    transform: translateY(-12px) scaleY(0.94);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scaleY(1);
  }
}

@keyframes sim-sheet-item-rise {
  0% {
    opacity: 0;
    filter: blur(6px);
    transform: translateY(20px) scale(0.97);
  }
  72% {
    opacity: 1;
    filter: blur(0);
    transform: translateY(-3px) scale(1.01);
  }
  100% {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0) scale(1);
  }
}

.strategy-pick-chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(10, 99, 207, 0.18);
  background: linear-gradient(135deg, rgba(10, 99, 207, 0.08), rgba(15, 159, 143, 0.06));
  color: var(--text);
  font-size: 12px;
  font-weight: 600;
}

.theme-dark .strategy-pick-chip {
  border-color: rgba(90, 167, 255, 0.18);
  background: linear-gradient(135deg, rgba(90, 167, 255, 0.12), rgba(15, 159, 143, 0.08));
}

.strategy-meta-grid {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.strategy-meta-card {
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.62);
}

.theme-dark .strategy-meta-card {
  background: rgba(255, 255, 255, 0.04);
}

.strategy-meta-label {
  font-size: 11px;
  color: var(--muted);
}

.strategy-meta-value {
  margin-top: 4px;
  font-size: 20px;
  line-height: 1.1;
  font-weight: 700;
  color: var(--text);
}

.strategy-meta-sub {
  margin-top: 6px;
  font-size: 11px;
  color: var(--muted);
  line-height: 1.45;
}

.id-meta {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.id-chip {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 3px 8px;
  font-size: 11px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.74);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  cursor: pointer;
  transition: all 0.2s ease;
}

.id-chip:hover {
  color: var(--text);
  border-color: rgba(0, 113, 227, 0.42);
  box-shadow: 0 4px 12px rgba(0, 113, 227, 0.14);
}

.theme-dark .id-chip {
  background: rgba(16, 20, 30, 0.72);
}

.sim-status {
  margin-top: 14px;
  font-size: 12px;
  color: var(--muted);
}

.sandbox-ai-tags {
  position: absolute;
  inset: 18px 20px auto 20px;
  height: 260px;
  pointer-events: none;
  z-index: 2;
  overflow: hidden;
  transition: opacity 0.24s ease, filter 0.24s ease;
}

.sandbox-ai-tags.is-launching {
  opacity: 0.12;
  filter: blur(4px);
}

.sandbox-ai-tag {
  position: absolute;
  padding: 6px 10px;
  font-size: 12px;
  border-radius: 999px;
  border: 1px solid rgba(90, 167, 255, 0.35);
  color: var(--text);
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 6px 18px rgba(90, 167, 255, 0.18);
  backdrop-filter: blur(8px);
  opacity: 0;
  transform: translate(-50%, -50%) scale(var(--tag-scale, 1));
  animation: aiTagFloat 3.6s ease-in-out infinite;
  animation-delay: var(--tag-delay, 0s);
}

.sandbox-ai-tag.ghost {
  background: rgba(255, 255, 255, 0.46);
  border-color: rgba(90, 167, 255, 0.2);
  box-shadow: 0 4px 14px rgba(90, 167, 255, 0.1);
}

.sandbox-ai-tag.prime {
  box-shadow: 0 0 18px rgba(0, 113, 227, 0.3), 0 10px 24px rgba(90, 167, 255, 0.22);
}

.sandbox-ai-tag.launching {
  animation: aiTagLaunch 0.52s ease forwards;
}

.sandbox-ai-tag.winner {
  box-shadow: 0 0 22px rgba(0, 113, 227, 0.36), 0 10px 26px rgba(90, 167, 255, 0.28);
}

.theme-dark .sandbox-ai-tag {
  background: rgba(16, 20, 32, 0.9);
  border-color: rgba(90, 167, 255, 0.25);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
}

@keyframes aiTagFloat {
  0%, 100% { transform: translate(-50%, -50%) translateY(0) scale(var(--tag-scale, 1)); opacity: 0.9; }
  50% { transform: translate(-50%, -50%) translateY(-8px) scale(calc(var(--tag-scale, 1) + 0.02)); opacity: 1; }
}

@keyframes aiTagLaunch {
  0% { transform: translate(-50%, -50%) translateY(0) scale(var(--tag-scale, 1)); opacity: 0.92; }
  100% { transform: translate(-50%, -50%) translateY(18px) scale(calc(var(--tag-scale, 1) * 0.82)); opacity: 0; }
}

.sim-card.sim-loading {
  background: linear-gradient(110deg, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.7));
  background-size: 200% 100%;
  animation: simShimmer 2s ease-in-out infinite;
}

.theme-dark .sim-card.sim-loading {
  background: linear-gradient(110deg, rgba(20, 24, 36, 0.8), rgba(22, 28, 42, 0.55), rgba(20, 24, 36, 0.8));
}

@keyframes simShimmer {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}

.filters {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px;
  margin-bottom: 20px;
  box-shadow: var(--shadow);
}

.theme-dark .filters {
  background: rgba(16, 19, 28, 0.92);
}

.filters form {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr auto;
  gap: 12px;
}

.controls {
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.muted {
  color: var(--muted);
  font-size: 12px;
}

input, select, button {
  background: #fff;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 14px;
}

.theme-dark input,
.theme-dark select,
.theme-dark button {
  background: rgba(16, 19, 28, 0.92);
  color: var(--text);
  border-color: var(--border);
}

.theme-dark button.ghost {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.12);
}

button {
  cursor: pointer;
  background: var(--accent);
  border-color: transparent;
  font-weight: 600;
  color: #fff;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
  box-shadow: 0 8px 16px rgba(0, 113, 227, 0.18);
}

.theme-dark button {
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
}

button.ghost {
  background: #fff;
  color: var(--text);
  border: 1px solid var(--border);
  box-shadow: none;
}

button.ghost:hover {
  background: #f5f5f7;
}

button:hover {
  background: var(--accent-2);
  transform: translateY(-1px);
}

button:active {
  transform: translateY(0);
}

.timeline {
  display: grid;
  gap: 16px;
}

.card {
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  background: var(--card);
  box-shadow: var(--shadow);
  transition: transform 0.12s ease, border-color 0.12s ease;
}

.card:hover {
  transform: translateY(-1px);
  border-color: #334155;
}

.timeline {
  scroll-behavior: smooth;
  max-height: 70vh;
  overflow: auto;
  padding-right: 6px;
  position: relative;
}

.scroll-fab {
  position: fixed;
  right: 26px;
  bottom: 26px;
  z-index: 120;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  padding: 0;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.14);
  font-size: 16px;
  line-height: 1;
}

.theme-dark .scroll-fab {
  background: rgba(16, 19, 28, 0.9);
}

.new-banner {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  padding: 8px 12px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow);
  font-size: 12px;
  color: var(--text);
}

.new-banner.hidden {
  display: none;
}

.hidden {
  display: none;
}

.new-banner button {
  padding: 4px 10px;
  font-size: 12px;
  border-radius: 999px;
  box-shadow: none;
}

.timeline.dim .card {
  opacity: 0.72;
  transform: scale(0.985);
  filter: saturate(0.95);
}

.card.focused {
  opacity: 1;
  transform: scale(1.02);
  border-color: rgba(0, 113, 227, 0.25);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}

.new-card {
  position: relative;
  overflow: hidden;
}

.new-card-animate {
  animation: newCardIn 0.6s ease-out;
  box-shadow: 0 18px 40px rgba(0, 113, 227, 0.18), 0 0 0 1px rgba(0, 113, 227, 0.25);
}

.new-card-animate::after {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at 30% 20%, rgba(0, 113, 227, 0.35), transparent 45%);
  opacity: 0.35;
  animation: newCardGlow 1.2s ease-out;
  pointer-events: none;
}

@keyframes newCardIn {
  0% { transform: translateY(-6px) scale(0.99); opacity: 0.6; }
  100% { transform: translateY(0) scale(1); opacity: 1; }
}

@keyframes newCardGlow {
  0% { opacity: 0.5; }
  100% { opacity: 0; }
}

.meta {
  display: flex;
  gap: 10px;
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.badge {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 2px 8px;
  font-size: 11px;
  color: var(--muted);
  background: #f7f7f8;
}

.theme-dark .badge {
  background: rgba(255, 255, 255, 0.06);
}

.badge.accent {
  border-color: rgba(0, 113, 227, 0.4);
  color: #0a64c9;
}

.badge.sector {
  border-color: rgba(6, 198, 120, 0.4);
  color: #0a7a50;
}

.title a {
  color: var(--text);
  text-decoration: none;
  line-height: 1.4;
}

.ai-view {
  margin: 6px 0 8px;
  font-size: 12px;
  color: rgba(110, 110, 115, 0.55);
}

.title-large {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.2px;
}

.body-text {
  color: rgba(29, 29, 31, 0.72);
  line-height: 1.6;
  margin: 6px 0 8px;
  font-size: 13px;
}

.single-text {
  margin: 6px 0 8px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
}

.single-text a {
  color: inherit;
  text-decoration: none;
}

.news-summary {
  margin: 0 0 8px;
  color: var(--muted);
  line-height: 1.6;
  font-size: 13px;
}

.calendar-scenarios {
  margin-top: 6px;
  padding-top: 6px;
  border-top: 1px dashed var(--border);
}

.actions {
  margin-top: 8px;
  display: flex;
  gap: 12px;
  font-size: 12px;
}

.actions .link {
  color: var(--accent);
  text-decoration: none;
}

.actions .link:hover {
  text-decoration: underline;
}

.keywords {
  margin-top: 8px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.tag {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 2px 8px;
  font-size: 12px;
  color: var(--muted);
  background: #f7f7f8;
}

.theme-dark .tag {
  background: rgba(255, 255, 255, 0.06);
}

.display-tags {
  margin-top: 8px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.display-tags .tag {
  color: var(--accent-strong);
  background: color-mix(in srgb, var(--accent) 10%, white);
  border-color: color-mix(in srgb, var(--accent) 18%, var(--border));
}

.theme-dark .display-tags .tag {
  background: color-mix(in srgb, var(--accent) 18%, rgba(255, 255, 255, 0.04));
  border-color: rgba(255, 255, 255, 0.14);
}

.thesis-card {
  margin-top: 12px;
  padding: 14px 16px;
  border: 1px solid color-mix(in srgb, var(--accent) 20%, var(--border));
  border-radius: 16px;
  background: color-mix(in srgb, var(--accent) 4%, white);
}

.theme-dark .thesis-card {
  background: color-mix(in srgb, var(--accent) 12%, rgba(255, 255, 255, 0.03));
  border-color: rgba(255, 255, 255, 0.12);
}

.thesis-strip {
  margin-top: 8px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.thesis-strip.compact {
  margin-top: 6px;
}

.thesis-grid {
  margin-top: 12px;
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.thesis-grid strong {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 12px;
}

.thesis-grid p {
  margin: 0;
  line-height: 1.6;
}

.content {
  margin-top: 12px;
  line-height: 1.6;
}

.original {
  margin-top: 16px;
  border-top: 1px solid var(--border);
  padding-top: 12px;
}

.original summary {
  cursor: pointer;
  color: var(--accent);
}

.section-title {
  margin: 18px 0 12px;
  font-size: 18px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-title.section-title-live {
  color: rgba(220, 38, 38, 0.9);
}

.live-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: rgba(220, 38, 38, 0.75);
  border: 1px solid var(--border);
  background: #fff;
  padding: 4px 10px;
  border-radius: 999px;
}

.live-status,
.live-status * {
  color: rgba(220, 38, 38, 0.75);
}

.news-disclaimer {
  margin: 10px 0 18px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(220, 38, 38, 0.16);
  background: rgba(220, 38, 38, 0.06);
  color: rgba(153, 27, 27, 0.92);
  font-size: 13px;
  line-height: 1.6;
  font-weight: 600;
}

.theme-dark .news-disclaimer {
  border-color: rgba(248, 113, 113, 0.2);
  background: rgba(248, 113, 113, 0.08);
  color: #fca5a5;
}

.glass {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--border);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
}

.live-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(220, 38, 38, 0.75);
}

.loading-text {
  margin-top: 8px;
  font-size: 12px;
  color: rgba(29, 29, 31, 0.5);
  letter-spacing: 0.2px;
}

.skeleton {
  position: relative;
  overflow: hidden;
  color: transparent;
  background: rgba(0, 0, 0, 0.06);
}

.theme-dark .skeleton {
  background: rgba(255, 255, 255, 0.08);
}

.skeleton::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  animation: shimmer 1.4s ease infinite;
}

.theme-dark .skeleton::after {
  background: linear-gradient(90deg, transparent, rgba(90, 167, 255, 0.25), transparent);
}

.skeleton-list {
  display: grid;
  gap: 12px;
}

.skeleton-card {
  border-radius: 16px;
  border: 1px solid var(--border);
  padding: 16px;
  background: rgba(255, 255, 255, 0.6);
  box-shadow: var(--shadow);
}

.theme-dark .skeleton-card {
  background: rgba(255, 255, 255, 0.04);
}

.skeleton-line {
  height: 12px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.skeleton-line:last-child {
  width: 70%;
  margin-bottom: 0;
}

.skeleton-chip {
  height: 22px;
  width: 90px;
  border-radius: 999px;
  display: inline-block;
  margin-right: 8px;
}

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.dots::after {
  content: "...";
  display: inline-block;
  width: 1.2em;
  overflow: hidden;
  vertical-align: bottom;
  animation: ellipsis 1.1s steps(4, end) infinite;
}

@keyframes ellipsis {
  0% { width: 0; }
  100% { width: 1.2em; }
}

.table {
  width: 100%;
  border-collapse: collapse;
}

.table th, .table td {
  border-bottom: 1px solid var(--border);
  padding: 8px;
  text-align: left;
}

.theme-dark .table th,
.theme-dark .table td {
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.calendar-grid {
  display: grid;
  gap: 18px;
}

.calendar-day {
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow);
}

.theme-dark .calendar-day {
  background: var(--bg);
}

.calendar-date {
  font-weight: 600;
  letter-spacing: 0.3px;
  margin-bottom: 10px;
}

.event-card {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 12px;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: #fff;
  margin-bottom: 10px;
}

.theme-dark .event-card {
  background: rgba(255, 255, 255, 0.04);
}

.event-time {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  color: var(--muted);
}

.event-title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
}

.event-meta {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.event-stats {
  display: grid;
  gap: 4px;
  margin-top: 8px;
  font-size: 12px;
  color: var(--muted);
}

.event-stat {
  display: flex;
  justify-content: space-between;
  border-top: 1px dashed var(--border);
  padding-top: 4px;
}

.event-stat strong {
  color: var(--text);
  font-weight: 600;
}

.calendar-load {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 8px;
}

.metric {
  padding: 14px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.7);
}

.theme-dark .metric {
  background: rgba(255, 255, 255, 0.04);
}

.metric-label {
  font-size: 12px;
  color: var(--muted);
}

.metric-value {
  font-size: 20px;
  font-weight: 600;
  margin-top: 6px;
}

.memory-grid,
.sandbox-grid {
  display: grid;
  gap: 12px;
}

.memory-card,
.sandbox-card {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.7);
}

.theme-dark .memory-card,
.theme-dark .sandbox-card {
  background: rgba(255, 255, 255, 0.04);
}

.memory-title {
  font-weight: 600;
  margin-bottom: 6px;
}

.memory-count {
  font-size: 12px;
  color: var(--muted);
}

.memory-samples {
  margin-top: 8px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
}

.sandbox-head {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.sandbox-body {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
}

.sandbox-stage {
  position: relative;
  overflow: hidden;
}

.sandbox-hero-shell {
  display: block;
  margin-bottom: 24px;
}

.sandbox-v3-shell {
  display: block;
}

.sandbox-v3-main {
  min-width: 0;
}

.sandbox-v3-rail {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 8px 0 24px;
  position: sticky;
  top: 76px;
  z-index: 8;
  isolation: isolate;
  overflow: hidden;
  padding: 10px 12px 12px;
  border-radius: 28px;
  border: 1px solid rgba(15, 23, 42, 0.06);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.995), rgba(247, 249, 253, 0.985));
  box-shadow: 0 16px 30px rgba(15, 23, 42, 0.08);
  backdrop-filter: none;
}

.sandbox-v3-rail-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: center;
  border: 1px solid rgba(0, 113, 227, 0.12);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 10px 18px rgba(15, 23, 42, 0.04);
  padding: 12px 16px;
  cursor: pointer;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease, background 0.28s ease;
}

.sandbox-v3-rail-item:hover {
  transform: translateY(-1px);
  border-color: rgba(0, 113, 227, 0.18);
  box-shadow: 0 14px 24px rgba(15, 23, 42, 0.08);
}

.sandbox-v3-rail-item.is-active {
  border-color: rgba(0, 113, 227, 0.22);
  background: linear-gradient(180deg, rgba(244, 249, 255, 0.98), rgba(232, 241, 255, 0.9));
  box-shadow: 0 16px 28px rgba(0, 113, 227, 0.1);
}

.sandbox-v3-rail-index {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.05);
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.sandbox-v3-rail-item.is-active .sandbox-v3-rail-index {
  background: rgba(0, 113, 227, 0.12);
  color: #0071e3;
}

.sandbox-v3-rail-copy {
  display: grid;
  gap: 3px;
  text-align: left;
}

.sandbox-v3-rail-copy strong {
  font-size: 14px;
  line-height: 1.15;
}

.sandbox-v3-rail-copy span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.25;
}

.sandbox-v3-rail-item.is-active .sandbox-v3-rail-copy span {
  color: rgba(0, 113, 227, 0.78);
}

.sandbox-v3-stage-shell {
  position: relative;
  scroll-margin-top: 116px;
}

.sandbox-v3-stage-shell::before {
  content: attr(data-stage-label);
  position: absolute;
  left: 0;
  top: -14px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(15, 23, 42, 0.08);
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.05);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.28s ease, transform 0.28s ease, color 0.28s ease, border-color 0.28s ease, background 0.28s ease;
  pointer-events: none;
  z-index: 2;
}

.sandbox-v3-stage-shell.is-stage-active::before {
  opacity: 1;
  transform: translateY(0);
  color: #0071e3;
  border-color: rgba(0, 113, 227, 0.18);
  background: linear-gradient(180deg, rgba(245, 250, 255, 0.98), rgba(234, 244, 255, 0.92));
}

.sandbox-v3-stage-shell::after {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 30px;
  pointer-events: none;
  border: 1px solid transparent;
  opacity: 0;
  transition: opacity 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.sandbox-v3-stage-shell.is-stage-active::after {
  opacity: 1;
  border-color: rgba(0, 113, 227, 0.12);
  box-shadow: 0 18px 38px rgba(0, 113, 227, 0.08);
}

.sandbox-stage-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0, 113, 227, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 249, 254, 0.9));
  box-shadow:
    0 18px 42px rgba(15, 23, 42, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.55);
  transition:
    transform 0.55s var(--ease-smooth),
    border-color 0.55s var(--ease-smooth),
    box-shadow 0.55s var(--ease-smooth),
    background 0.55s var(--ease-smooth);
}

.sandbox-cyber-hero {
  isolation: isolate;
  border-color: rgba(94, 92, 230, 0.16);
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 0, 153, 0.12), transparent 26%),
    radial-gradient(circle at 84% 22%, rgba(0, 209, 255, 0.12), transparent 24%),
    radial-gradient(circle at 52% 78%, rgba(123, 92, 255, 0.12), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(245, 248, 255, 0.92));
}

.sandbox-cyber-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 0, 153, 0.08) 28%, rgba(0, 209, 255, 0.08) 62%, rgba(255, 255, 255, 0) 100%);
  mix-blend-mode: screen;
  opacity: 0.75;
}

.sandbox-hud-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 18px;
  padding: 24px;
  opacity: 0.44;
}

.sandbox-hud-grid span {
  border: 1px solid rgba(94, 92, 230, 0.08);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0));
}

.sandbox-command-layout,
.sandbox-process-panel,
.sandbox-path-stage {
  position: relative;
  z-index: 1;
}

.sandbox-command-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(440px, 1.22fr);
  gap: 20px;
  align-items: stretch;
}

.sandbox-command-main,
.sandbox-command-side {
  min-width: 0;
}

.sandbox-command-main {
  display: grid;
  align-content: start;
  gap: 14px;
}

.sandbox-command-main h1 {
  margin: 0;
  font-size: clamp(52px, 5vw, 88px);
  line-height: 0.92;
  letter-spacing: -0.04em;
}

.sandbox-command-main > p {
  max-width: 560px;
  margin: 0;
  font-size: 16px;
  line-height: 1.82;
}

.sandbox-command-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.sandbox-command-metric,
.sandbox-primary-event-card,
.sandbox-process-node,
.sandbox-path-card {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid rgba(94, 92, 230, 0.14);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(243, 247, 255, 0.7));
  box-shadow: 0 18px 34px rgba(15, 23, 42, 0.08);
}

.sandbox-command-metric {
  padding: 16px 18px;
}

.sandbox-command-label,
.sandbox-primary-kicker,
.sandbox-path-kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(94, 92, 230, 0.9);
}

.sandbox-command-metric strong {
  display: block;
  margin-top: 10px;
  font-size: 20px;
  line-height: 1.45;
}

.sandbox-primary-event-card {
  padding: 22px;
  min-height: 100%;
  background:
    radial-gradient(circle at top right, rgba(0, 209, 255, 0.12), transparent 28%),
    radial-gradient(circle at bottom left, rgba(255, 0, 153, 0.12), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.85), rgba(244, 247, 255, 0.72));
  display: grid;
  align-content: start;
  gap: 0;
}

.sandbox-primary-event-card h2 {
  margin: 14px 0 10px;
  font-size: clamp(34px, 3vw, 50px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.sandbox-primary-event-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.sandbox-primary-meta,
.sandbox-primary-footer,
.sandbox-path-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.sandbox-primary-meta {
  margin-top: 18px;
}

.sandbox-primary-footer {
  margin-top: 16px;
  color: var(--muted);
  font-size: 13px;
  justify-content: space-between;
}

.sandbox-process-panel {
  margin-bottom: 22px;
}

.sandbox-process-strip,
.sandbox-path-grid {
  display: grid;
  gap: 14px;
}

.sandbox-process-strip {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 20px;
}

.sandbox-process-node {
  padding: 22px 20px;
  isolation: isolate;
}

.sandbox-process-node::before,
.sandbox-path-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0) 12%, rgba(0, 209, 255, 0.08) 48%, rgba(255, 0, 153, 0.08) 78%, rgba(255, 255, 255, 0) 100%);
  transform: translateX(-35%);
  opacity: 0;
}

.sandbox-stage-panel.in-view .sandbox-process-node::before,
.sandbox-stage-panel:hover .sandbox-process-node::before,
.sandbox-stage-panel.in-view .sandbox-path-card::before,
.sandbox-stage-panel:hover .sandbox-path-card::before {
  opacity: 1;
  animation: sandboxSweepNeon 2.8s ease-in-out infinite;
}

.sandbox-process-index {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 14px;
  margin-bottom: 14px;
  background: linear-gradient(180deg, rgba(255, 0, 153, 0.18), rgba(94, 92, 230, 0.08));
  color: #7a1ea8;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.sandbox-process-node h3,
.sandbox-path-card h3 {
  margin: 0 0 10px;
  font-size: 20px;
  line-height: 1.35;
}

.sandbox-process-node p,
.sandbox-path-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
}

.sandbox-path-stage {
  margin-bottom: 22px;
}

.sandbox-path-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 20px;
}

.sandbox-path-card {
  padding: 22px 20px;
}

.sandbox-path-card.primary {
  border-color: rgba(255, 0, 153, 0.2);
  box-shadow: 0 18px 34px rgba(255, 0, 153, 0.12);
}

.sandbox-path-card.secondary {
  border-color: rgba(0, 209, 255, 0.18);
  box-shadow: 0 18px 34px rgba(0, 209, 255, 0.1);
}

.sandbox-path-card.risk {
  border-color: rgba(255, 179, 0, 0.2);
  box-shadow: 0 18px 34px rgba(255, 179, 0, 0.1);
}

.sandbox-stage-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.18) 42%, transparent 68%);
  opacity: 0;
  transform: translateX(-18%);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.sandbox-stage-panel:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 113, 227, 0.18);
  box-shadow:
    0 26px 52px rgba(15, 23, 42, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.62);
}

.sandbox-stage-panel.in-view::after,
.sandbox-stage-panel:hover::after {
  opacity: 1;
  transform: translateX(0);
}

.theme-dark .sandbox-stage-panel {
  border-color: rgba(90, 167, 255, 0.14);
  background:
    linear-gradient(180deg, rgba(16, 21, 34, 0.96), rgba(10, 14, 24, 0.92));
  box-shadow:
    0 22px 46px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.theme-dark .sandbox-cyber-hero {
  border-color: rgba(138, 92, 246, 0.18);
  background:
    radial-gradient(circle at 14% 18%, rgba(255, 0, 153, 0.16), transparent 28%),
    radial-gradient(circle at 84% 22%, rgba(0, 209, 255, 0.16), transparent 24%),
    radial-gradient(circle at 52% 78%, rgba(123, 92, 255, 0.18), transparent 34%),
    linear-gradient(180deg, rgba(14, 18, 28, 0.98), rgba(8, 11, 19, 0.95));
}

.theme-dark .sandbox-command-metric,
.theme-dark .sandbox-primary-event-card,
.theme-dark .sandbox-process-node,
.theme-dark .sandbox-path-card {
  border-color: rgba(120, 170, 255, 0.16);
  background: linear-gradient(180deg, rgba(18, 24, 37, 0.88), rgba(11, 15, 24, 0.82));
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.26);
}

.theme-dark .sandbox-command-label,
.theme-dark .sandbox-primary-kicker,
.theme-dark .sandbox-path-kicker {
  color: rgba(139, 233, 253, 0.9);
}

.theme-dark .sandbox-process-index {
  background: linear-gradient(180deg, rgba(255, 0, 153, 0.26), rgba(94, 92, 230, 0.12));
  color: #ffd3f1;
}

.theme-dark .sandbox-stage-panel::after {
  background:
    linear-gradient(120deg, transparent 0%, rgba(120, 170, 255, 0.12) 42%, transparent 68%);
}

.theme-dark .sandbox-stage-panel:hover {
  border-color: rgba(120, 170, 255, 0.24);
  box-shadow:
    0 28px 54px rgba(0, 0, 0, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.theme-dark .sandbox-v3-rail-item {
  border-color: rgba(90, 167, 255, 0.14);
  background: rgba(18, 23, 36, 0.74);
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.18);
}

.theme-dark .sandbox-v3-rail-item:hover {
  border-color: rgba(120, 170, 255, 0.24);
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.22);
}

.theme-dark .sandbox-v3-rail-item.is-active {
  border-color: rgba(120, 170, 255, 0.24);
  background: linear-gradient(180deg, rgba(20, 31, 48, 0.98), rgba(15, 23, 36, 0.94));
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.24);
}

.theme-dark .sandbox-v3-rail-index {
  background: rgba(255, 255, 255, 0.06);
  color: rgba(214, 222, 235, 0.76);
}

.theme-dark .sandbox-v3-rail-item.is-active .sandbox-v3-rail-index {
  background: rgba(90, 167, 255, 0.16);
  color: #8fc4ff;
}

.theme-dark .sandbox-v3-rail-copy span {
  color: rgba(214, 222, 235, 0.76);
}

.theme-dark .sandbox-v3-rail {
  border-color: rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(11, 16, 26, 0.995), rgba(11, 16, 26, 0.985));
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.2);
}

.theme-dark .sandbox-v3-rail-item.is-active .sandbox-v3-rail-copy span {
  color: rgba(143, 196, 255, 0.82);
}

.theme-dark .sandbox-v3-stage-shell::before {
  background: rgba(19, 26, 39, 0.94);
  border-color: rgba(255, 255, 255, 0.08);
  color: rgba(214, 222, 235, 0.72);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.22);
}

@media (min-width: 1180px) {
  .sandbox-v3-shell {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 22px;
    align-items: start;
  }

  .sandbox-v3-rail-column {
    position: sticky;
    top: 82px;
    align-self: start;
  }

  .sandbox-v3-main {
    min-width: 0;
  }

  .sandbox-v3-rail {
    position: relative;
    top: 0;
    z-index: 1;
    grid-template-columns: 1fr;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    overflow: visible;
  }
}

.theme-dark .sandbox-v3-stage-shell.is-stage-active::before {
  background: linear-gradient(180deg, rgba(20, 31, 48, 0.98), rgba(18, 27, 42, 0.94));
  border-color: rgba(90, 167, 255, 0.2);
  color: #8fc4ff;
}

.theme-dark .sandbox-v3-stage-shell.is-stage-active::after {
  border-color: rgba(90, 167, 255, 0.16);
  box-shadow: 0 22px 40px rgba(0, 0, 0, 0.24);
}

.sandbox-stage-large {
  min-height: 320px;
  padding: 32px;
}

.sandbox-layout-wide {
  align-items: stretch;
}

.sandbox-event-board {
  display: grid;
  gap: 16px;
  margin-top: 18px;
}

.sandbox-event-card {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 16px;
  border: 1px solid rgba(0, 113, 227, 0.12);
  border-radius: 20px;
  padding: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 249, 252, 0.92));
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.05);
}

.theme-dark .sandbox-event-card {
  background: linear-gradient(180deg, rgba(18, 22, 34, 0.96), rgba(13, 16, 26, 0.92));
  border-color: rgba(90, 167, 255, 0.16);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.28);
}

.sandbox-event-rank {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  border-radius: 18px;
  font-size: 24px;
  font-weight: 700;
  color: #0a64c9;
  background: linear-gradient(180deg, rgba(0, 113, 227, 0.12), rgba(0, 113, 227, 0.04));
}

.theme-dark .sandbox-event-rank {
  color: #9fd7ff;
  background: linear-gradient(180deg, rgba(90, 167, 255, 0.2), rgba(90, 167, 255, 0.08));
}

.sandbox-event-main {
  min-width: 0;
}

.sandbox-event-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.sandbox-event-head h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.35;
  color: var(--text);
}

.sandbox-event-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.sandbox-event-summary {
  margin: 0 0 8px;
  color: var(--text);
  line-height: 1.7;
}

.sandbox-event-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-top: 12px;
  font-size: 12px;
  color: var(--muted);
}

.sandbox-stage-large.cinematic::before {
  content: "";
  position: absolute;
  inset: -18%;
  pointer-events: none;
  z-index: 1;
  background:
    radial-gradient(circle at 50% 52%, rgba(0, 113, 227, 0.18), transparent 38%),
    radial-gradient(circle at 52% 48%, rgba(56, 189, 248, 0.16), transparent 48%),
    linear-gradient(120deg, rgba(0, 0, 0, 0.1), transparent 35%, rgba(0, 0, 0, 0.08));
  animation: sandboxCinematicPulse 2.6s ease-in-out infinite;
}

.sandbox-stage-large.cinematic::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.02) 0,
      rgba(255, 255, 255, 0.02) 2px,
      transparent 2px,
      transparent 8px
    );
  opacity: 0.45;
  mix-blend-mode: screen;
}

.sandbox-stage-large .sandbox-bin {
  height: 240px;
}

.sandbox-stage-large > :not(.sandbox-graph) {
  position: relative;
  z-index: 2;
}

.sandbox-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  margin-bottom: 20px;
}

.sandbox-reveal-group {
  perspective: 1200px;
}

.keywords-panel .keywords-grid {
  display: grid;
  gap: 10px;
  max-height: 420px;
  overflow: auto;
  padding-right: 4px;
}

.keyword-item {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.7);
  transition: opacity 0.45s ease, transform 0.45s ease, box-shadow 0.45s ease, border-color 0.45s ease;
}

.theme-dark .keyword-item {
  background: rgba(255, 255, 255, 0.05);
}

.keyword-item:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 113, 227, 0.18);
  box-shadow: 0 16px 28px rgba(15, 23, 42, 0.08);
}

.theme-dark .keyword-item:hover {
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.3);
}

.keyword-item.is-flying {
  transform: translateY(-4px);
}

.keyword-item.is-dim {
  opacity: 0.25;
}

.keyword-item.is-winner {
  box-shadow: 0 0 0 1px rgba(0, 113, 227, 0.2), 0 0 24px rgba(0, 113, 227, 0.14);
}

.keyword-title {
  font-weight: 600;
  margin-bottom: 4px;
}

.keyword-count {
  font-size: 12px;
  color: var(--muted);
}

.keyword-samples {
  margin-top: 6px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
}

.learning-panel-title {
  margin-top: 18px;
}

.learning-panel-copy {
  margin: 8px 0 14px;
  line-height: 1.6;
}

.learning-source-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.learning-source-grid-compact {
  margin-top: 18px;
}

.learning-source-card {
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(245, 248, 255, 0.78));
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
  transition:
    transform 0.45s var(--ease-smooth),
    border-color 0.45s var(--ease-smooth),
    box-shadow 0.45s var(--ease-smooth);
}

.theme-dark .learning-source-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
  box-shadow: none;
}

.learning-source-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 34px rgba(15, 23, 42, 0.09);
}

.theme-dark .learning-source-card:hover {
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.28);
}

.learning-source-card.tone-domestic {
  border-color: rgba(34, 197, 94, 0.2);
}

.learning-source-card.tone-global {
  border-color: rgba(59, 130, 246, 0.2);
}

.learning-source-card.tone-market {
  border-color: rgba(245, 158, 11, 0.22);
}

.learning-source-card.tone-x {
  border-color: rgba(168, 85, 247, 0.22);
}

.sim-evidence-card {
  margin-top: 14px;
  border: 1px solid rgba(0, 113, 227, 0.12);
  border-radius: 18px;
  padding: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(246, 248, 252, 0.92));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.theme-dark .sim-evidence-card {
  border-color: rgba(90, 167, 255, 0.18);
  background:
    linear-gradient(180deg, rgba(18, 22, 34, 0.96), rgba(12, 15, 24, 0.92));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.sim-evidence-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 12px;
}

.sim-evidence-stat {
  border-radius: 14px;
  padding: 12px;
  background: rgba(0, 113, 227, 0.05);
}

.theme-dark .sim-evidence-stat {
  background: rgba(90, 167, 255, 0.08);
}

.sim-evidence-label {
  display: block;
  margin-bottom: 4px;
  font-size: 11px;
  color: var(--muted);
}

.sim-evidence-value {
  display: block;
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
}

.sim-evidence-list {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.sim-evidence-item {
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.03);
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
}

.theme-dark .sim-evidence-item {
  background: rgba(255, 255, 255, 0.05);
}

.learning-source-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.learning-source-name {
  font-weight: 700;
  font-size: 14px;
}

.learning-source-freq {
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.06);
  color: var(--muted);
  white-space: nowrap;
}

.theme-dark .learning-source-freq {
  background: rgba(255, 255, 255, 0.08);
}

.learning-source-desc {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
}

@media (max-width: 960px) {
  .sandbox-layout {
    grid-template-columns: 1fr;
  }
}
.sandbox-graph {
  position: absolute;
  inset: -10% -6%;
  opacity: 0.16;
  pointer-events: none;
  z-index: 0;
}

.sandbox-graph-svg {
  width: 100%;
  height: 100%;
}

.sandbox-graph path {
  fill: none;
  stroke: rgba(120, 120, 120, 0.6);
  stroke-width: 1.2;
}

.sandbox-graph circle {
  fill: rgba(255, 255, 255, 0.95);
  stroke: rgba(90, 90, 90, 0.7);
  stroke-width: 1;
}

.theme-dark .sandbox-graph path {
  stroke: rgba(200, 210, 230, 0.45);
}

.theme-dark .sandbox-graph circle {
  fill: rgba(20, 24, 34, 0.9);
  stroke: rgba(120, 150, 200, 0.5);
}

.sandbox-bin {
  position: relative;
  margin-top: 18px;
  height: 300px;
  border-radius: 18px;
  border: 1px solid rgba(0, 113, 227, 0.2);
  background:
    radial-gradient(circle at 50% 50%, rgba(0, 113, 227, 0.18), transparent 34%),
    radial-gradient(circle at 50% 50%, rgba(56, 189, 248, 0.14), transparent 52%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(240, 247, 255, 0.92));
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.3px;
  transition: opacity 0.35s ease, transform 0.35s ease, box-shadow 0.35s ease;
}

.sandbox-bin::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 0, 153, 0.08), transparent 34%),
    linear-gradient(135deg, rgba(0, 209, 255, 0.14), transparent 35%, rgba(255, 0, 153, 0.12) 68%, transparent 100%);
  opacity: 0.78;
}

.sandbox-bin.is-idle {
  opacity: 0.38;
  transform: scale(0.98);
}

.sandbox-vortex-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: visible;
  z-index: 3;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.sandbox-vortex-layer.active {
  opacity: 1;
}

.sandbox-bin canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.theme-dark .sandbox-bin {
  background:
    radial-gradient(circle at 50% 50%, rgba(0, 113, 227, 0.24), transparent 34%),
    radial-gradient(circle at 50% 50%, rgba(56, 189, 248, 0.12), transparent 52%),
    linear-gradient(180deg, rgba(16, 20, 32, 0.86), rgba(11, 18, 30, 0.94));
}

.sandbox-countdown {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 56px;
  font-weight: 700;
  letter-spacing: 1px;
  color: rgba(3, 45, 110, 0.95);
  background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0.02) 58%);
  text-shadow: 0 0 22px rgba(56, 189, 248, 0.35), 0 0 46px rgba(0, 113, 227, 0.32);
  pointer-events: none;
  z-index: 6;
}

.theme-dark .sandbox-countdown {
  color: #d6e9ff;
  background: radial-gradient(circle at 50% 50%, rgba(90, 167, 255, 0.26), rgba(90, 167, 255, 0.02) 62%);
}

.sandbox-bin.active {
  box-shadow: 0 0 24px rgba(0, 113, 227, 0.25);
}

.sandbox-bin.receiving {
  box-shadow: 0 0 44px rgba(0, 113, 227, 0.34), inset 0 0 32px rgba(56, 189, 248, 0.18);
}

.sandbox-bin.stirring {
  box-shadow: 0 0 70px rgba(0, 83, 178, 0.58), inset 0 0 42px rgba(0, 113, 227, 0.34);
}

.sandbox-bin.processing {
  box-shadow: 0 0 36px rgba(3, 45, 110, 0.6);
}

.sandbox-bin.processing .sandbox-core {
  animation: sandboxPulse 1.1s ease-in-out infinite;
}

.sandbox-bin.processing::after {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  border: 1px dashed rgba(3, 45, 110, 0.75);
  animation: sandboxSwirl 4.2s linear infinite;
}

.sandbox-bin.processing::before {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 50%;
  border: 1px solid rgba(3, 45, 110, 0.5);
  animation: sandboxSwirl 5.8s linear reverse infinite;
}

.sandbox-status {
  margin-top: 10px;
  font-size: 12px;
  color: var(--muted);
}

.sandbox-status.hidden,
.hidden {
  display: none !important;
}

.sandbox-label {
  font-weight: 600;
  position: absolute;
  bottom: 10px;
  right: 16px;
  font-size: 11px;
  opacity: 0.7;
}

.sandbox-network {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}

.sandbox-network-meta {
  position: absolute;
  left: 16px;
  top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  z-index: 4;
}

.network-halo {
  fill: rgba(0, 113, 227, 0.08);
  stroke: rgba(56, 189, 248, 0.28);
  stroke-width: 1.5;
  animation: networkHaloPulse 3.4s ease-in-out infinite;
}

.network-core-pulse {
  fill: none;
  stroke: rgba(56, 189, 248, 0.34);
  stroke-width: 1.4;
  opacity: 0;
}

.network-core-pulse.inner {
  stroke: rgba(129, 212, 250, 0.44);
}

.network-link {
  fill: none;
  stroke: rgba(0, 113, 227, 0.28);
  stroke-width: 2;
  stroke-linecap: round;
  opacity: 0.24;
  stroke-dasharray: 10 10;
  transition: opacity 0.3s ease;
}

.network-link-glow {
  fill: none;
  stroke: rgba(255, 89, 190, 0.96);
  stroke-width: 2.8;
  stroke-linecap: round;
  opacity: 0;
  stroke-dasharray: 18 180;
  filter: drop-shadow(0 0 10px rgba(255, 89, 190, 0.55));
}

.network-node {
  opacity: 0;
  transform-origin: center;
}

.network-node circle {
  fill: rgba(255, 255, 255, 0.96);
  stroke: rgba(0, 113, 227, 0.2);
  stroke-width: 1.6;
}

.network-node.center circle {
  fill: rgba(92, 47, 227, 0.94);
  stroke: rgba(255, 89, 190, 0.62);
  stroke-width: 2.4;
}

.network-node.theme circle {
  fill: rgba(0, 209, 255, 0.14);
}

.network-node.sector circle {
  fill: rgba(0, 255, 174, 0.12);
  stroke: rgba(0, 255, 174, 0.3);
}

.network-node.ticker circle {
  fill: rgba(255, 89, 190, 0.12);
  stroke: rgba(255, 89, 190, 0.34);
}

.network-node.impact circle,
.network-node.window circle {
  fill: rgba(255, 179, 0, 0.14);
  stroke: rgba(255, 179, 0, 0.32);
}

.network-label {
  font-size: 11px;
  font-weight: 600;
  text-anchor: middle;
  dominant-baseline: middle;
  fill: #123a70;
}

.network-label.center {
  fill: #ffffff;
  font-size: 13px;
}

.network-sub {
  font-size: 10px;
  text-anchor: middle;
  fill: rgba(255, 255, 255, 0.82);
}

.theme-dark .network-node circle {
  fill: rgba(16, 20, 32, 0.95);
  stroke: rgba(120, 170, 255, 0.24);
}

.theme-dark .network-node.center circle {
  fill: rgba(25, 88, 180, 0.96);
  stroke: rgba(129, 212, 250, 0.54);
}

.theme-dark .network-label {
  fill: #dcecff;
}

.network-orbit-chip {
  opacity: 0;
  transform-origin: center;
}

.network-orbit-chip rect {
  fill: rgba(255, 255, 255, 0.78);
  stroke: rgba(0, 113, 227, 0.16);
  stroke-width: 1;
}

.network-orbit-label {
  font-size: 10px;
  font-weight: 600;
  text-anchor: middle;
  dominant-baseline: middle;
  fill: rgba(18, 58, 112, 0.82);
}

.theme-dark .network-orbit-chip rect {
  fill: rgba(16, 20, 32, 0.82);
  stroke: rgba(120, 170, 255, 0.18);
}

.theme-dark .network-orbit-label {
  fill: rgba(220, 236, 255, 0.82);
}

.sandbox-bin.network-animate .network-link {
  animation: networkLinkPulse 1.2s ease forwards;
  animation-delay: var(--delay, 0s);
}

.sandbox-bin.network-animate .network-link-glow {
  animation: networkLinkGlow 1.6s ease forwards, networkFlow 2.8s linear infinite;
  animation-delay: var(--delay, 0s), calc(var(--delay, 0s) + 0.2s);
}

.sandbox-bin.network-animate .network-node {
  animation: networkNodePop 0.55s ease forwards;
  animation-delay: var(--delay, 0s);
}

.sandbox-bin.network-animate .layer-core {
  animation: networkCorePop 0.52s ease forwards;
  animation-delay: var(--delay, 0s);
}

.sandbox-bin.network-animate .layer-node {
  animation: networkNodePop 0.55s ease forwards;
  animation-delay: var(--delay, 0s);
}

.sandbox-bin.network-animate .network-orbit-chip {
  animation: networkOrbitFade 0.55s ease forwards;
  animation-delay: var(--delay, 0s);
}

.sandbox-bin.network-animate .layer-orbit {
  animation: networkOrbitFade 0.55s ease forwards, networkOrbitFloat 8s ease-in-out infinite;
  animation-delay: var(--delay, 0s), calc(var(--delay, 0s) + 0.6s);
}

.sandbox-bin.network-animate .network-core-pulse.outer {
  animation: networkCorePulse 2.6s ease-out infinite;
}

.sandbox-bin.network-animate .network-core-pulse.inner {
  animation: networkCorePulse 2.6s ease-out infinite 0.5s;
}

.sandbox-stream {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.sandbox-vortex-chip {
  position: absolute;
  left: 0;
  top: 0;
  transform: translate(-50%, -50%);
  pointer-events: none;
  box-shadow: 0 14px 28px rgba(0, 113, 227, 0.2);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(0, 113, 227, 0.3);
  color: #053d8d;
  white-space: nowrap;
  will-change: left, top, transform, opacity;
}

.sandbox-vortex-chip.ghost {
  opacity: 0.5;
  background: rgba(0, 83, 178, 0.08);
  border-color: rgba(0, 83, 178, 0.14);
}

.sandbox-vortex-chip.winner {
  box-shadow: 0 0 26px rgba(0, 113, 227, 0.32), 0 0 54px rgba(56, 189, 248, 0.18);
}

.sandbox-vortex-chip.settled {
  animation: strongestWinnerPulse 0.8s ease-in-out 2;
}

.sandbox-impact {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(129, 212, 250, 0.92), rgba(0, 113, 227, 0.18) 62%, transparent 72%);
  transform: translate(-50%, -50%) scale(0.3);
  opacity: 0;
  pointer-events: none;
  z-index: 5;
}

.sandbox-impact.active {
  animation: sandboxImpactPulse 0.72s ease-out forwards;
}

.sandbox-chip {
  position: absolute;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(0, 83, 178, 0.18);
  color: #053d8d;
  border: 1px solid rgba(0, 83, 178, 0.34);
  font-size: 12px;
  animation: sandboxDrop var(--dropDur, 5.8s) var(--ease-smooth) forwards;
}

.sandbox-reveal {
  opacity: 0;
  filter: blur(8px);
  transform: translateY(28px) scale(0.98);
  transition:
    opacity 0.8s var(--ease-smooth),
    transform 0.8s var(--ease-smooth),
    filter 0.8s var(--ease-smooth);
}

.sandbox-reveal.in-view {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0) scale(1);
}

.sandbox-stagger .sandbox-stagger-item {
  opacity: 0;
  filter: blur(10px);
  transform: translateY(26px) scale(0.98);
  transition:
    opacity 0.78s var(--ease-smooth),
    transform 0.78s var(--ease-smooth),
    filter 0.78s var(--ease-smooth),
    box-shadow 0.45s ease,
    border-color 0.45s ease;
}

.sandbox-stagger.in-view .sandbox-stagger-item {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0) scale(1);
}

.sandbox-stagger.in-view .sandbox-stagger-item:nth-child(1) { transition-delay: 0.04s; }
.sandbox-stagger.in-view .sandbox-stagger-item:nth-child(2) { transition-delay: 0.1s; }
.sandbox-stagger.in-view .sandbox-stagger-item:nth-child(3) { transition-delay: 0.16s; }
.sandbox-stagger.in-view .sandbox-stagger-item:nth-child(4) { transition-delay: 0.22s; }
.sandbox-stagger.in-view .sandbox-stagger-item:nth-child(5) { transition-delay: 0.28s; }
.sandbox-stagger.in-view .sandbox-stagger-item:nth-child(6) { transition-delay: 0.34s; }
.sandbox-stagger.in-view .sandbox-stagger-item:nth-child(7) { transition-delay: 0.4s; }
.sandbox-stagger.in-view .sandbox-stagger-item:nth-child(8) { transition-delay: 0.46s; }

.sandbox-stage-panel.in-view {
  animation: sandboxPanelSettle 1s var(--ease-smooth);
}

.sandbox-stage-large.in-view .sandbox-bin {
  animation: sandboxConsoleRise 0.95s var(--ease-smooth);
}

.sandbox-stage-large.in-view .section-title,
.sandbox-stage-large.in-view .muted,
.sandbox-stage-large.in-view .sandbox-strongest {
  animation: sandboxReveal 0.72s var(--ease-smooth) both;
}

.keywords-panel.in-view .section-title,
.keywords-panel.in-view .muted {
  animation: sandboxReveal 0.68s var(--ease-smooth) both;
}

#sandbox-event-section.in-view .section-title,
#sandbox-event-section.in-view .muted {
  animation: sandboxReveal 0.68s var(--ease-smooth) both;
}

@media (prefers-reduced-motion: reduce) {
  .sandbox-reveal,
  .sandbox-reveal.in-view,
  .sandbox-stagger .sandbox-stagger-item,
  .sandbox-stagger.in-view .sandbox-stagger-item {
    opacity: 1;
    filter: none;
    transform: none;
    transition: none;
    animation: none;
  }
}

.strongest-block {
  margin-top: 14px;
}

.sandbox-strongest {
  position: relative;
  z-index: 2;
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.sandbox-strongest .muted {
  width: 100%;
  margin: 2px 0 0;
}

.sandbox-strongest .hidden {
  display: none;
}

.strongest-arena {
  position: relative;
  width: 100%;
  min-height: 92px;
  border: 1px dashed rgba(0, 113, 227, 0.22);
  border-radius: 14px;
  background: radial-gradient(circle at 50% 50%, rgba(0, 113, 227, 0.06), transparent 70%);
  overflow: hidden;
  display: none;
}

.strongest-arena.active {
  display: block;
  animation: strongestArenaSpin 14s linear infinite;
}

.strongest-arena.impact {
  animation: strongestArenaSpin 14s linear infinite, strongestImpact 0.36s ease-out;
}

.strongest-fx-chip {
  position: absolute;
  transform: translate(-50%, -50%) scale(var(--mag, 1));
  transition: transform 0.62s var(--ease-smooth), opacity 0.62s var(--ease-smooth), filter 0.62s var(--ease-smooth);
  will-change: transform, opacity;
}
.strongest-fx-chip.clash {
  filter: brightness(1.2);
  transform: translate(-50%, -50%) scale(calc(var(--mag, 1) * 1.12));
  box-shadow: 0 0 28px rgba(0, 113, 227, 0.52);
}

.strongest-fx-chip.eliminate {
  opacity: 0;
  filter: blur(3px);
  transform: translate(-50%, -50%) scale(0.52) rotate(-20deg);
  box-shadow: 0 0 36px rgba(0, 113, 227, 0.35);
}

.strongest-fx-chip.winner {
  transform: translate(-50%, -50%) scale(1.52);
  box-shadow: 0 0 56px rgba(0, 113, 227, 0.72), 0 0 120px rgba(56, 189, 248, 0.35);
  background: linear-gradient(135deg, rgba(0, 113, 227, 0.35), rgba(56, 189, 248, 0.3));
  color: #043573;
}

.strongest-fx-chip.boom {
  animation: strongestWinnerPulse 0.9s ease-in-out infinite;
}

.strongest-chip {
  background: linear-gradient(135deg, rgba(0, 113, 227, 0.18), rgba(56, 189, 248, 0.12));
  border-color: rgba(0, 113, 227, 0.35);
  color: #0a4f9e;
  font-weight: 700;
}

.theme-dark .strongest-chip {
  background: linear-gradient(135deg, rgba(90, 167, 255, 0.22), rgba(120, 140, 255, 0.18));
  border-color: rgba(120, 170, 255, 0.5);
  color: #d4e7ff;
}

@keyframes strongestArenaSpin {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes strongestImpact {
  0% { box-shadow: inset 0 0 0 rgba(56, 189, 248, 0); }
  40% { box-shadow: inset 0 0 42px rgba(56, 189, 248, 0.34), 0 0 36px rgba(0, 113, 227, 0.5); }
  100% { box-shadow: inset 0 0 0 rgba(56, 189, 248, 0); }
}

@keyframes sandboxImpactPulse {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.24);
  }
  20% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(6.8);
  }
}

@keyframes networkHaloPulse {
  0%, 100% {
    opacity: 0.5;
    transform: scale(0.98);
  }
  50% {
    opacity: 0.95;
    transform: scale(1.03);
  }
}

@keyframes networkLinkPulse {
  0% {
    opacity: 0;
    stroke-dashoffset: 18;
  }
  100% {
    opacity: 0.88;
    stroke-dashoffset: 0;
  }
}

@keyframes networkLinkGlow {
  0% {
    opacity: 0;
  }
  35% {
    opacity: 0.95;
  }
  100% {
    opacity: 0.65;
  }
}

@keyframes networkFlow {
  0% {
    stroke-dashoffset: 220;
  }
  100% {
    stroke-dashoffset: 0;
  }
}

@keyframes networkCorePop {
  0% {
    opacity: 0;
    transform: scale(0.56);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes networkNodePop {
  0% {
    opacity: 0;
    transform: scale(0.72);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes networkOrbitFade {
  0% {
    opacity: 0;
    transform: translateY(10px) scale(0.92);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes networkOrbitFloat {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-5px) scale(1.02);
  }
}

@keyframes networkCorePulse {
  0% {
    opacity: 0;
    transform: scale(0.68);
  }
  30% {
    opacity: 0.8;
  }
  100% {
    opacity: 0;
    transform: scale(1.52);
  }
}

@keyframes strongestWinnerPulse {
  0% {
    box-shadow: 0 0 20px rgba(0, 113, 227, 0.35), 0 0 0 0 rgba(56, 189, 248, 0.45);
  }
  50% {
    box-shadow: 0 0 40px rgba(0, 113, 227, 0.72), 0 0 0 14px rgba(56, 189, 248, 0);
  }
  100% {
    box-shadow: 0 0 20px rgba(0, 113, 227, 0.35), 0 0 0 0 rgba(56, 189, 248, 0);
  }
}

@keyframes sandboxPulse {
  0% { transform: scale(1); opacity: 0.85; }
  50% { transform: scale(1.18); opacity: 1; }
  100% { transform: scale(1); opacity: 0.85; }
}

@keyframes sandboxSwirl {
  from { transform: rotate(0deg); opacity: 0.6; }
  to { transform: rotate(360deg); opacity: 0.9; }
}

@keyframes sandboxReveal {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes sandboxPanelSettle {
  0% {
    transform: translateY(16px) scale(0.985);
  }
  100% {
    transform: translateY(0) scale(1);
  }
}

@keyframes sandboxConsoleRise {
  0% {
    opacity: 0;
    transform: translateY(24px) scale(0.98);
    filter: blur(10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes sandboxDrop {
  0% {
    transform: translate(0, 0) scale(0.92);
    opacity: 0.15;
  }
  26% {
    transform: translate(calc(var(--jx) * 0.55), calc(var(--jy) * 0.55)) scale(1.04);
    opacity: 0.7;
  }
  58% {
    transform: translate(calc(var(--cx) * 0.7), calc(var(--cy) * -0.5)) scale(1.08);
    opacity: 0.86;
  }
  80% {
    transform: translate(var(--jx), var(--jy)) scale(1.05);
    opacity: 0.55;
  }
  100% {
    transform: translate(var(--dx), var(--dy)) scale(0.32);
    opacity: 0;
  }
}

@keyframes sandboxCinematicPulse {
  0% { opacity: 0.45; transform: scale(0.98); }
  50% { opacity: 0.88; transform: scale(1.03); }
  100% { opacity: 0.45; transform: scale(0.98); }
}

@keyframes sandboxSweepNeon {
  0% {
    opacity: 0;
    transform: translateX(-38%);
  }
  18% {
    opacity: 0.72;
  }
  52% {
    opacity: 0.92;
    transform: translateX(8%);
  }
  100% {
    opacity: 0;
    transform: translateX(38%);
  }
}

.chip-list {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.chip {
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.86);
  font-size: 12px;
  color: var(--muted);
  transition: transform 0.2s var(--ease-smooth), border-color 0.2s var(--ease-smooth), box-shadow 0.2s var(--ease-smooth);
}

.chip:hover {
  transform: translateY(-1px);
  border-color: color-mix(in oklab, var(--accent) 28%, var(--border));
  box-shadow: 0 8px 16px rgba(0, 113, 227, 0.1);
}

.theme-dark .chip {
  background: rgba(255, 255, 255, 0.05);
}

.chip-btn {
  cursor: pointer;
  transition: transform 0.12s ease, background 0.12s ease, color 0.12s ease, border-color 0.12s ease;
}

.chip-btn:hover {
  transform: translateY(-1px);
}

.chip-btn.active {
  background: rgba(0, 113, 227, 0.12);
  color: #0a64c9;
  border-color: rgba(0, 113, 227, 0.25);
}

.chart-wrap {
  margin-top: 8px;
}

.chart-stage {
  position: relative;
  cursor: crosshair;
}

.sim-page .chart-stage::before {
  content: "";
  position: absolute;
  inset: -12px;
  background: radial-gradient(500px 180px at 60% 0%, rgba(0, 113, 227, 0.08), transparent 60%);
  opacity: 0.7;
  pointer-events: none;
}

.theme-dark.sim-page .chart-stage::before {
  background: radial-gradient(500px 180px at 60% 0%, rgba(90, 167, 255, 0.16), transparent 60%);
  opacity: 0.6;
}

.line-chart {
  width: 100%;
  height: 240px;
  background: linear-gradient(180deg, #ffffff 0%, #f6f8fb 100%);
  border: 1px solid var(--border);
  border-radius: 14px;
  transition: transform 0.24s var(--ease-smooth), box-shadow 0.24s var(--ease-smooth);
}

.line-chart.compact {
  height: 140px;
  margin-top: 8px;
}

.theme-dark .line-chart {
  background: linear-gradient(180deg, rgba(18, 21, 32, 0.98) 0%, rgba(12, 14, 21, 0.98) 100%);
}

.chart-stage:hover .line-chart {
  transform: scale(1.01);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.08), 0 0 24px rgba(0, 113, 227, 0.12);
}

.theme-dark .chart-stage:hover .line-chart {
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.55), 0 0 28px rgba(90, 167, 255, 0.18);
}

#line-total {
  stroke: #0071e3;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 6px 10px rgba(0, 113, 227, 0.15));
}

#line-profit {
  stroke: #f97316;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.9;
}

.chart-hover {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.12s ease;
}

.chart-hover.active {
  opacity: 1;
}

.chart-line {
  position: absolute;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: linear-gradient(180deg, rgba(0, 113, 227, 0.05), rgba(0, 113, 227, 0.4), rgba(0, 113, 227, 0.05));
}

.chart-dot {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #9fd7ff, #0071e3);
  box-shadow: 0 0 0 6px rgba(0, 113, 227, 0.12), 0 0 16px rgba(0, 113, 227, 0.25);
}

.chart-tooltip {
  position: absolute;
  padding: 8px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--border);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
  font-size: 12px;
  color: var(--text);
  white-space: nowrap;
  backdrop-filter: saturate(180%) blur(14px);
}

.theme-dark .chart-tooltip {
  background: rgba(16, 19, 28, 0.94);
  border-color: rgba(255, 255, 255, 0.12);
  color: #f4f6fb;
}

.theme-toggle {
  border-radius: 999px;
  font-size: 12px;
  padding: 6px 12px;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
  color: var(--text);
  transition: transform 0.2s var(--ease-smooth), background 0.2s var(--ease-smooth), box-shadow 0.2s var(--ease-smooth);
}

.theme-toggle:hover {
  background: rgba(0, 0, 0, 0.04);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.theme-dark .theme-toggle {
  background: rgba(16, 19, 28, 0.92);
  border-color: rgba(255, 255, 255, 0.12);
}

.modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 30;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.2s var(--ease-smooth), visibility 0.2s var(--ease-smooth);
}

.modal.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(8px);
}

.theme-dark .modal-backdrop {
  background: rgba(0, 0, 0, 0.55);
}

.modal-card {
  position: relative;
  width: min(680px, 92vw);
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: var(--shadow);
  z-index: 1;
  transform: translateY(0) scale(1);
  transition: transform 0.24s var(--ease-smooth), opacity 0.24s var(--ease-smooth);
}

.modal.hidden .modal-card {
  transform: translateY(10px) scale(0.985);
  opacity: 0.8;
}

.table {
  border-radius: 14px;
  overflow: hidden;
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-thumb {
  background: rgba(120, 128, 150, 0.35);
  border-radius: 999px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(120, 128, 150, 0.5);
}

.theme-dark .modal-card {
  background: rgba(16, 19, 28, 0.95);
  border-color: rgba(255, 255, 255, 0.12);
}

.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.modal-title {
  font-size: 16px;
  font-weight: 600;
}

.chart-axis {
  display: flex;
  justify-content: space-between;
  color: rgba(29, 29, 31, 0.55);
  font-size: 11px;
  margin-top: 6px;
  padding: 0 6px;
}

.chart-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.chart-meta {
  display: flex;
  gap: 16px;
  color: var(--muted);
  font-size: 12px;
  margin-top: 8px;
}

.price-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.01em;
  border: 1px solid rgba(120, 128, 150, 0.18);
  background: rgba(120, 128, 150, 0.08);
  color: var(--muted);
}

.price-badge.is-real {
  color: #0a7a46;
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.22);
}

.price-badge.is-estimated {
  color: #666b78;
  background: rgba(120, 128, 150, 0.08);
  border-color: rgba(120, 128, 150, 0.18);
}

.theme-dark .price-badge {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.08);
}

.theme-dark .price-badge.is-real {
  color: #7ef0b5;
  background: rgba(16, 185, 129, 0.16);
  border-color: rgba(16, 185, 129, 0.28);
}

.theme-dark .price-badge.is-estimated {
  color: rgba(226, 232, 240, 0.76);
  background: rgba(148, 163, 184, 0.08);
  border-color: rgba(148, 163, 184, 0.14);
}

.holding-sparkline {
  width: 132px;
  height: 42px;
  color: #0071e3;
  opacity: 0.9;
}

.theme-dark .holding-sparkline {
  color: #78b7ff;
}

.hint {
  color: var(--muted);
  margin-top: 12px;
}

.empty {
  color: var(--muted);
  padding: 24px;
  border: 1px dashed var(--border);
  border-radius: 8px;
  text-align: center;
}

@media (max-width: 920px) {
  .filters form {
    grid-template-columns: 1fr;
  }
  .hero {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .home-hero .home-hero-secondary,
  .home-focus-mobile-extra {
    display: none;
  }

  .topbar {
    gap: 8px;
  }

  .topbar nav {
    width: calc(100% + 4px);
    margin-right: -4px;
    padding-bottom: 0;
  }

  .topbar nav .nav-pill {
    flex: 0 0 auto;
  }

  .topbar nav .nav-pill {
    display: none;
  }

  .topbar nav .nav-pill.nav-pill-mobile-core {
    display: inline-flex;
  }

  .topbar nav .nav-pill.nav-pill-performance-mobile {
    display: none;
  }

  .topbar nav .nav-dropdown .nav-pill-button {
    display: inline-flex;
  }

  .nav-dropdown {
    margin-left: auto;
    display: inline-flex;
  }

  .nav-dropdown .nav-pill-button {
    background: rgba(0, 113, 227, 0.12);
    border-color: rgba(0, 113, 227, 0.24);
    color: var(--accent);
    font-weight: 700;
    box-shadow: 0 8px 18px rgba(0, 113, 227, 0.12);
  }

  .theme-dark .nav-dropdown .nav-pill-button {
    background: rgba(90, 167, 255, 0.16);
    border-color: rgba(90, 167, 255, 0.28);
    color: #c9e1ff;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.24);
  }

  .nav-dropdown .nav-pill-button::after {
    content: "??";
    margin-left: 6px;
    font-size: 10px;
    letter-spacing: 0.04em;
    opacity: 0.9;
  }

  .nav-dropdown.is-open .nav-pill-button::after {
    content: "??";
  }

  .theme-toggle {
    display: none;
  }

  .container {
    padding: calc(var(--topbar-height) + 16px) 12px 36px;
  }

  .hero-card {
    padding: 18px;
    border-radius: 18px;
  }

  .hero h1 {
    font-size: 28px;
    line-height: 1.18;
  }

  .hero-actions {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .hero-actions .pill,
  .hero-actions .ghost {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0;
    display: flex !important;
    flex: none;
    justify-content: center;
    align-items: center;
    text-align: center;
    white-space: normal;
  }

  .home-focus-strip {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .home-focus-card {
    padding: 14px 14px 12px;
  }

  .home-focus-card h3 {
    font-size: 17px;
    margin-bottom: 6px;
  }

  .home-focus-meta {
    margin-top: 10px;
  }

  .news-disclaimer {
    margin: 8px 0 14px;
    padding: 10px 12px;
    font-size: 12px;
  }

  .timeline {
    max-height: none;
    gap: 12px;
  }

  .card {
    padding: 14px;
    border-radius: 16px;
  }

  .single-text {
    font-size: 15px;
    line-height: 1.45;
  }

  .news-summary {
    font-size: 12px;
    line-height: 1.55;
  }

  .sim-page .hero {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 12px;
    width: 100%;
    min-width: 0;
  }

  .sim-page .hero > * {
    min-width: 0;
  }

  .sim-page .hero-card {
    padding: 16px;
    border-radius: 18px;
    width: 100%;
    min-width: 0;
  }

  .sim-page .hero-card::before,
  .sim-page .hero-card::after,
  .sim-page .parallax-card,
  .sim-page .reveal,
  .sim-page .title-anim {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }

  .sim-page .reveal,
  .sim-page .reveal.in-view,
  .sim-page .title-anim,
  .sim-page .title-anim.in-view {
    opacity: 1 !important;
    transform: none !important;
  }

  .sim-page .hero .hero-card.hero-primary .hero-desc,
  .sim-page .hero .hero-card.hero-primary > .muted {
    display: none;
  }

  .sim-page .hero-actions-optional,
  .sim-page .focus-jump-btn-floating,
  .sim-page .mobile-secondary-block,
  .sim-page .market-panel-ops,
  .sim-page .sim-mobile-secondary {
    display: none !important;
  }

  .sim-page .sim-mini-trends {
    display: none;
  }

  .decision-hero-card {
    padding: 14px;
  }

  .sim-strategy-strip {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .decision-hero-head {
    gap: 10px;
    align-items: flex-start;
  }

  .decision-hero-title {
    font-size: 18px;
    line-height: 1.3;
  }

  .decision-hero-copy {
    font-size: 13px;
    line-height: 1.55;
    margin-top: 10px;
  }

  .strategy-picks-card,
  .candidate-pool-card,
  .watch-signals-card,
  .allocation-card,
  .propagation-card,
  .strategy-meta-card {
    padding: 12px;
    border-radius: 16px;
  }

  .strategy-picks-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .strategy-picks-date {
    font-size: 11px;
  }

  .strategy-picks-grid {
    gap: 8px;
  }

  .strategy-pick-chip {
    width: 100%;
    justify-content: center;
  }

  .candidate-pool-list {
    gap: 10px;
  }

  .candidate-pool-item {
    padding: 10px;
  }

  .candidate-pool-main,
  .candidate-pool-side {
    width: 100%;
    flex-wrap: wrap;
    gap: 6px;
  }

  .candidate-pool-topline {
    flex-direction: column;
    align-items: stretch;
  }

  .candidate-pool-side {
    justify-content: flex-start;
    margin-top: 4px;
  }

  .candidate-pool-detail-grid {
    grid-template-columns: 1fr;
  }

  .candidate-detail-card {
    padding: 11px 12px;
  }

  .candidate-detail-card.mobile-hide {
    display: none;
  }

  .candidate-pool-summary {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 13px;
    line-height: 1.55;
  }

  .candidate-pool-reason {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 12px;
    line-height: 1.5;
  }

  .candidate-pool-list .candidate-pool-item:nth-child(n + 5) {
    display: none;
  }

  .sim-page .chart-toolbar,
  .sim-page .sim-stats,
  .sim-page .sim-grid {
    gap: 10px;
  }

  .sim-page .chart-stage,
  .sim-page canvas {
    min-height: 220px;
  }
}

@media (max-width: 560px) {
  .topbar .brand span {
    max-width: 138px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .topbar nav .nav-pill {
    padding: 5px 9px;
    font-size: 11px;
  }

  .hero-card,
  .sim-page .hero-card {
    padding: 14px;
  }

  .hero h1 {
    font-size: 24px;
  }

  .decision-hero-title {
    font-size: 16px;
  }

  .candidate-pool-list .candidate-pool-item:nth-child(n + 4) {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

.thesis-page .container {
  max-width: 1320px;
}

.thesis-hero {
  margin: 10px 0 20px;
  padding: 30px;
}

.thesis-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(0, 113, 227, 0.16);
  background: rgba(0, 113, 227, 0.07);
  color: #0071e3;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.theme-dark .thesis-kicker {
  border-color: rgba(90, 167, 255, 0.2);
  background: rgba(90, 167, 255, 0.12);
  color: #8ec8ff;
}

.thesis-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.75fr);
  gap: 20px;
  align-items: start;
  margin-top: 16px;
}

.thesis-hero-main {
  display: grid;
  gap: 16px;
}

.thesis-title {
  margin: 16px 0 10px;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.thesis-summary {
  margin: 0;
  color: var(--text);
  font-size: 17px;
  line-height: 1.7;
  max-width: 760px;
}

.thesis-public-note {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
  padding: 12px 16px;
  border-radius: 18px;
  border: 1px solid rgba(0, 113, 227, 0.12);
  background: rgba(0, 113, 227, 0.06);
  color: var(--text);
}

.theme-dark .thesis-public-note {
  border-color: rgba(90, 167, 255, 0.18);
  background: rgba(90, 167, 255, 0.1);
}

.thesis-public-note strong {
  color: #0071e3;
  font-size: 13px;
}

.theme-dark .thesis-public-note strong {
  color: #8ec8ff;
}

.thesis-public-note span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.thesis-entry-boot {
  position: fixed;
  inset: 74px 0 0;
  z-index: 110;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 320ms ease, visibility 320ms ease, transform 420ms ease;
  background:
    radial-gradient(circle at 50% 46%, rgba(11, 27, 62, 0.2), rgba(4, 7, 16, 0.82)),
    rgba(238, 244, 255, 0.4);
}

.thesis-entry-boot.is-visible {
  opacity: 1;
  visibility: visible;
}

.thesis-entry-boot.is-exit {
  opacity: 0;
  transform: scale(1.015);
}

.thesis-entry-boot::before,
.thesis-entry-boot::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.thesis-entry-boot::before {
  background-image:
    linear-gradient(rgba(90, 167, 255, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(90, 167, 255, 0.1) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.34;
  animation: thesis-entry-grid-shift 1.3s linear infinite;
}

.thesis-entry-boot::after {
  background:
    linear-gradient(90deg, transparent 0%, rgba(120, 183, 255, 0.16) 45%, transparent 100%),
    linear-gradient(180deg, transparent 0%, rgba(130, 92, 255, 0.14) 45%, transparent 100%);
  mix-blend-mode: screen;
  opacity: 0.68;
  animation: thesis-entry-scan-sweep 1.05s ease-in-out infinite;
}

.thesis-entry-boot-core {
  position: relative;
  width: min(720px, 100%);
  padding: 32px 32px 26px;
  border-radius: 28px;
  border: 1px solid rgba(120, 183, 255, 0.16);
  background: linear-gradient(180deg, rgba(11, 17, 32, 0.92), rgba(9, 12, 24, 0.84));
  box-shadow:
    0 36px 100px rgba(4, 8, 18, 0.44),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  overflow: hidden;
  backdrop-filter: blur(26px);
}

.thesis-entry-boot-core::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0%, rgba(120, 183, 255, 0.08) 36%, rgba(137, 92, 255, 0.12) 58%, transparent 86%);
  transform: translateX(-62%);
  animation: thesis-entry-core-glint 1.8s ease-in-out infinite;
}

.thesis-entry-boot-rings {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 220px;
  height: 220px;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.thesis-entry-boot-rings span {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  border: 1px solid rgba(120, 183, 255, 0.2);
  box-shadow: inset 0 0 28px rgba(120, 183, 255, 0.06);
  animation: thesis-entry-ring-pulse 1.6s ease-out infinite;
}

.thesis-entry-boot-rings span:nth-child(2) {
  inset: 20px;
  animation-delay: 0.18s;
}

.thesis-entry-boot-rings span:nth-child(3) {
  inset: 42px;
  animation-delay: 0.36s;
}

.thesis-entry-boot-copy {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
  max-width: 520px;
}

.thesis-entry-boot-label {
  color: rgba(156, 198, 255, 0.72);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.thesis-entry-boot-copy strong {
  color: #f6f8ff;
  font-size: clamp(28px, 3.8vw, 40px);
  font-weight: 800;
  line-height: 1.05;
}

.thesis-entry-boot-copy span {
  color: rgba(218, 227, 255, 0.76);
  font-size: 14px;
  line-height: 1.65;
}

.thesis-entry-boot-bars {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 8px;
  margin-top: 24px;
}

.thesis-entry-boot-bars span {
  flex: 1;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(90, 167, 255, 0.18), rgba(120, 183, 255, 0.92), rgba(130, 92, 255, 0.22));
  transform-origin: left center;
  animation: thesis-entry-bar-load 1s ease-in-out infinite;
}

.thesis-entry-boot-bars span:nth-child(2) { animation-delay: 0.08s; }
.thesis-entry-boot-bars span:nth-child(3) { animation-delay: 0.16s; }
.thesis-entry-boot-bars span:nth-child(4) { animation-delay: 0.24s; }
.thesis-entry-boot-bars span:nth-child(5) { animation-delay: 0.32s; }

.thesis-entry-shell {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  animation: thesis-entry-shell-rise 900ms cubic-bezier(0.22, 1, 0.36, 1);
}

.thesis-entry-shell::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(125deg, rgba(90, 167, 255, 0.06), transparent 32%, transparent 64%, rgba(130, 92, 255, 0.08));
  pointer-events: none;
}

.thesis-cyber-bg {
  position: fixed;
  inset: 74px 0 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  opacity: 0.92;
}

.thesis-hero,
.thesis-scroll-story-public {
  position: relative;
  z-index: 1;
}

.thesis-cyber-grid {
  position: absolute;
  inset: -12% -4%;
  background-image:
    linear-gradient(rgba(0, 113, 227, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 113, 227, 0.08) 1px, transparent 1px);
  background-size: 56px 56px;
  opacity: 0.26;
  transform: perspective(1200px) rotateX(76deg) scale(1.45) translateY(18%);
  transform-origin: center top;
  mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.68) 22%, rgba(0, 0, 0, 0.95) 58%, transparent 100%);
  animation: thesis-cyber-grid-drift 18s linear infinite;
}

.thesis-cyber-orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(18px);
  opacity: 0.2;
}

.thesis-cyber-orb-a {
  top: 4%;
  left: -6%;
  width: min(34vw, 460px);
  height: min(34vw, 460px);
  background: radial-gradient(circle, rgba(90, 167, 255, 0.2) 0%, rgba(90, 167, 255, 0.04) 58%, transparent 76%);
  animation: thesis-orb-drift-a 18s ease-in-out infinite alternate;
}

.thesis-cyber-orb-b {
  top: 14%;
  right: -8%;
  width: min(28vw, 360px);
  height: min(28vw, 360px);
  background: radial-gradient(circle, rgba(130, 92, 255, 0.18) 0%, rgba(130, 92, 255, 0.04) 60%, transparent 78%);
  animation: thesis-orb-drift-b 16s ease-in-out infinite alternate;
}

.thesis-cyber-orb-c {
  bottom: 6%;
  left: 22%;
  width: min(18vw, 260px);
  height: min(18vw, 260px);
  background: radial-gradient(circle, rgba(77, 208, 225, 0.16) 0%, rgba(77, 208, 225, 0.04) 56%, transparent 74%);
  animation: thesis-orb-drift-c 14s ease-in-out infinite alternate;
}

.thesis-cyber-stream {
  position: absolute;
  width: 42vw;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(120, 183, 255, 0.7) 50%, transparent 100%);
  box-shadow: 0 0 22px rgba(120, 183, 255, 0.22);
  opacity: 0.48;
}

.thesis-cyber-stream-a {
  top: 18%;
  left: -10%;
  transform: rotate(14deg);
  animation: thesis-stream-flow-a 8.2s linear infinite;
}

.thesis-cyber-stream-b {
  top: 46%;
  right: -18%;
  transform: rotate(-16deg);
  animation: thesis-stream-flow-b 9.6s linear infinite;
}

.thesis-cyber-stream-c {
  bottom: 14%;
  left: 16%;
  width: 34vw;
  transform: rotate(-10deg);
  animation: thesis-stream-flow-c 7.8s linear infinite;
}

.thesis-cyber-particles {
  position: absolute;
  inset: 0;
}

.thesis-cyber-particle {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(214, 235, 255, 0.95) 0%, rgba(90, 167, 255, 0.84) 48%, rgba(90, 167, 255, 0) 78%);
  box-shadow: 0 0 12px rgba(120, 183, 255, 0.28);
  animation: thesis-particle-float 9s linear infinite;
}

.thesis-cyber-particle-1 { top: 18%; left: 12%; animation-delay: 0s; }
.thesis-cyber-particle-2 { top: 28%; left: 74%; animation-delay: -1.2s; }
.thesis-cyber-particle-3 { top: 40%; left: 22%; animation-delay: -2.6s; }
.thesis-cyber-particle-4 { top: 58%; left: 64%; animation-delay: -3.4s; }
.thesis-cyber-particle-5 { top: 68%; left: 14%; animation-delay: -4.2s; }
.thesis-cyber-particle-6 { top: 76%; left: 82%; animation-delay: -5.1s; }
.thesis-cyber-particle-7 { top: 24%; left: 48%; animation-delay: -6.4s; }
.thesis-cyber-particle-8 { top: 54%; left: 88%; animation-delay: -7.6s; }

@keyframes thesis-entry-grid-shift {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(0, 32px, 0); }
}

@keyframes thesis-entry-scan-sweep {
  0% { transform: translate3d(-12%, -10%, 0); }
  50% { transform: translate3d(10%, 8%, 0); }
  100% { transform: translate3d(-12%, -10%, 0); }
}

@keyframes thesis-entry-core-glint {
  0% { transform: translateX(-62%); }
  52% { transform: translateX(18%); }
  100% { transform: translateX(44%); }
}

@keyframes thesis-entry-ring-pulse {
  0% {
    transform: scale(0.86);
    opacity: 0.24;
  }
  60% {
    transform: scale(1);
    opacity: 0.72;
  }
  100% {
    transform: scale(1.12);
    opacity: 0;
  }
}

@keyframes thesis-entry-bar-load {
  0% { transform: scaleX(0.2); opacity: 0.34; }
  45% { transform: scaleX(1); opacity: 1; }
  100% { transform: scaleX(0.52); opacity: 0.46; }
}

@keyframes thesis-entry-shell-rise {
  0% {
    opacity: 0;
    transform: translateY(18px) scale(0.985);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes thesis-cyber-grid-drift {
  0% { transform: perspective(1200px) rotateX(76deg) scale(1.45) translate3d(0, 18%, 0); }
  100% { transform: perspective(1200px) rotateX(76deg) scale(1.45) translate3d(0, 8%, 0); }
}

@keyframes thesis-orb-drift-a {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(48px, 32px, 0) scale(1.08); }
}

@keyframes thesis-orb-drift-b {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(-40px, 40px, 0) scale(0.96); }
}

@keyframes thesis-orb-drift-c {
  0% { transform: translate3d(0, 0, 0) scale(0.98); }
  100% { transform: translate3d(18px, -28px, 0) scale(1.08); }
}

@keyframes thesis-stream-flow-a {
  0% { transform: translate3d(-8%, 0, 0) rotate(14deg); opacity: 0; }
  14% { opacity: 0.48; }
  100% { transform: translate3d(110%, -40px, 0) rotate(14deg); opacity: 0; }
}

@keyframes thesis-stream-flow-b {
  0% { transform: translate3d(12%, 0, 0) rotate(-16deg); opacity: 0; }
  18% { opacity: 0.42; }
  100% { transform: translate3d(-120%, 30px, 0) rotate(-16deg); opacity: 0; }
}

@keyframes thesis-stream-flow-c {
  0% { transform: translate3d(-14%, 0, 0) rotate(-10deg); opacity: 0; }
  20% { opacity: 0.4; }
  100% { transform: translate3d(130%, -24px, 0) rotate(-10deg); opacity: 0; }
}

@keyframes thesis-particle-float {
  0% {
    transform: translate3d(0, 14px, 0) scale(0.84);
    opacity: 0;
  }
  18% {
    opacity: 0.92;
  }
  100% {
    transform: translate3d(52px, -64px, 0) scale(1.12);
    opacity: 0;
  }
}

.thesis-signal-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.thesis-signal-stage {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.66);
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  overflow: hidden;
  cursor: pointer;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease, color 220ms ease;
}

.thesis-signal-stage:focus-visible {
  outline: 2px solid rgba(0, 113, 227, 0.38);
  outline-offset: 3px;
}

.thesis-signal-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 0%, rgba(0, 113, 227, 0.14) 45%, transparent 100%);
  transform: translateX(-120%);
  opacity: 0;
}

.thesis-signal-stage.is-active {
  color: #0071e3;
  border-color: rgba(0, 113, 227, 0.2);
  box-shadow: 0 12px 26px rgba(0, 113, 227, 0.12);
  transform: translateY(-1px);
}

.thesis-signal-stage.is-active::after {
  opacity: 1;
  animation: thesis-signal-glide 2.2s linear infinite;
}

.theme-dark .thesis-signal-stage {
  background: rgba(19, 24, 38, 0.82);
  border-color: rgba(255, 255, 255, 0.08);
}

.theme-dark .thesis-signal-stage.is-active {
  color: #8ec8ff;
  border-color: rgba(90, 167, 255, 0.24);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.24);
}

.theme-dark .thesis-signal-stage::after {
  background: linear-gradient(110deg, transparent 0%, rgba(90, 167, 255, 0.18) 45%, transparent 100%);
}

@keyframes thesis-signal-glide {
  0% { transform: translateX(-120%); }
  100% { transform: translateX(120%); }
}

.thesis-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
}

.thesis-scroll-story-public {
  margin-top: 12px;
}

.thesis-origin {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 13px;
}

.thesis-scroll-story {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  margin-top: 18px;
}

.thesis-scroll-story-main {
  min-width: 0;
}

.thesis-step-nav {
  position: sticky;
  top: 92px;
  --thesis-progress-height: 42px;
  overflow: hidden;
  display: grid;
  gap: 10px;
  padding: 14px 12px 14px 18px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.985);
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.07);
}

.thesis-step-nav::before,
.thesis-step-nav::after {
  content: "";
  position: absolute;
  left: 56px;
  border-radius: 999px;
  pointer-events: none;
}

.thesis-step-nav::before {
  top: 32px;
  bottom: 32px;
  width: 2px;
  background: linear-gradient(180deg, rgba(120, 128, 150, 0.06), rgba(120, 128, 150, 0.22), rgba(120, 128, 150, 0.06));
}

.thesis-step-nav::after {
  top: 32px;
  width: 4px;
  height: max(calc(var(--thesis-progress-height, 42px) - 32px), 0px);
  background: linear-gradient(180deg, rgba(120, 183, 255, 0.96), rgba(0, 113, 227, 0.82), rgba(130, 92, 255, 0.92));
  box-shadow: 0 0 18px rgba(90, 167, 255, 0.28);
  transform: translateX(-1px);
  transition: height 260ms ease;
}

.thesis-step-nav-item {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px 12px 10px;
  border-radius: 18px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.62);
  color: inherit;
  text-decoration: none;
  transition: transform 0.24s ease, border-color 0.24s ease, background 0.24s ease, box-shadow 0.24s ease;
}

.thesis-step-nav-item::after {
  content: "";
  position: absolute;
  left: 42px;
  top: 50%;
  width: 22px;
  height: 1px;
  background: linear-gradient(90deg, rgba(0, 113, 227, 0.28), transparent 100%);
  opacity: 0.5;
  transform: translateY(-50%);
  pointer-events: none;
}

.thesis-step-nav-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.06);
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  flex-shrink: 0;
}

.thesis-step-nav-item:hover {
  transform: translateY(-1px);
  border-color: rgba(0, 113, 227, 0.18);
}

.thesis-step-nav-item.active {
  background: linear-gradient(180deg, rgba(237, 244, 255, 0.96), rgba(231, 240, 255, 0.94));
  border-color: rgba(0, 113, 227, 0.18);
  box-shadow: 0 18px 30px rgba(0, 113, 227, 0.08);
}

.thesis-step-nav-item.active .thesis-step-nav-index {
  color: #0a63cf;
  background: rgba(10, 99, 207, 0.12);
}

.thesis-step-nav-dot {
  width: 10px;
  height: 10px;
  margin-top: 5px;
  flex-shrink: 0;
  border-radius: 999px;
  background: rgba(100, 116, 139, 0.32);
  box-shadow: 0 0 0 4px rgba(148, 163, 184, 0.12);
  transition: background 0.24s ease, box-shadow 0.24s ease, transform 0.24s ease;
}

.thesis-step-nav-item.active .thesis-step-nav-dot {
  background: linear-gradient(135deg, #0a63cf, #6f59ff);
  box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.16);
  transform: scale(1.05);
}

.thesis-step-nav-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.thesis-step-nav-copy strong {
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
}

.thesis-step-nav-copy span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.thesis-step-section {
  position: relative;
  scroll-margin-top: 96px;
  transition: border-color 0.28s ease, box-shadow 0.28s ease, transform 0.28s ease;
}

.thesis-v3-step-shell::before {
  content: attr(data-stage-label);
  position: absolute;
  left: 18px;
  top: -13px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(0, 113, 227, 0.14);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.06);
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.thesis-v3-step-shell::after {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 28px;
  border: 1px solid rgba(0, 113, 227, 0.08);
  opacity: 0;
  pointer-events: none;
  transform: scale(0.985);
  transition: opacity 0.28s ease, transform 0.28s ease;
}

.thesis-scroll-ready .thesis-step-section {
  opacity: 0.42;
  transform: translateY(16px);
}

.thesis-scroll-ready .thesis-step-section.in-view {
  opacity: 1;
  transform: translateY(0);
}

.thesis-step-section.is-active {
  border-color: rgba(0, 113, 227, 0.16);
  box-shadow: 0 24px 42px rgba(15, 23, 42, 0.08);
  transform: translateY(-2px);
}

.thesis-step-section.is-active.thesis-v3-step-shell::before {
  color: #0a63cf;
  border-color: rgba(0, 113, 227, 0.2);
  box-shadow: 0 14px 28px rgba(0, 113, 227, 0.1);
}

.thesis-step-section.is-active.thesis-v3-step-shell::after {
  opacity: 1;
  transform: scale(1);
  animation: thesis-shell-pulse 2.8s ease-in-out infinite;
}

.thesis-step-section.is-dim:not(.is-active) {
  box-shadow: none;
}

.thesis-step-section .thesis-subtitle {
  transition: color 0.24s ease, letter-spacing 0.24s ease;
}

.thesis-step-section.is-active .thesis-subtitle {
  color: #0a63cf;
  letter-spacing: 0.03em;
}

.thesis-scroll-ready .thesis-branch-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.42s ease, transform 0.5s ease;
}

.thesis-scroll-ready .strategic-branch-card.in-view .thesis-branch-reveal {
  opacity: 1;
  transform: translateY(0);
}

.thesis-scroll-ready .strategic-branch-card.in-view .thesis-branch-reveal:nth-child(2) {
  transition-delay: 0.08s;
}

.thesis-scroll-ready .strategic-branch-card.in-view .thesis-branch-reveal:nth-child(3) {
  transition-delay: 0.16s;
}

.thesis-flow-reveal {
  will-change: transform, opacity, filter;
}

.thesis-scroll-ready .thesis-step-section .thesis-flow-reveal {
  opacity: 0;
  filter: blur(12px);
  transform: translate3d(0, 24px, 0) scale(0.985);
  transition:
    opacity 0.68s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.72s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.72s cubic-bezier(0.22, 1, 0.36, 1);
}

.thesis-scroll-ready .thesis-step-section.in-view .thesis-flow-reveal {
  opacity: 1;
  filter: blur(0);
  transform: translate3d(0, 0, 0) scale(1);
}

.thesis-scroll-ready .thesis-step-section.is-active {
  opacity: 1;
  transform: translateY(-2px);
}

.thesis-scroll-ready .thesis-step-section.is-active .thesis-flow-reveal,
.thesis-scroll-ready .thesis-step-section.in-view .thesis-branch-reveal,
.thesis-scroll-ready .thesis-step-section.is-active .thesis-branch-reveal {
  opacity: 1;
  filter: blur(0);
  transform: translate3d(0, 0, 0) scale(1);
}

.thesis-scroll-ready .thesis-step-section.in-view .thesis-flow-reveal:nth-of-type(1) { transition-delay: 0.04s; }
.thesis-scroll-ready .thesis-step-section.in-view .thesis-flow-reveal:nth-of-type(2) { transition-delay: 0.1s; }
.thesis-scroll-ready .thesis-step-section.in-view .thesis-flow-reveal:nth-of-type(3) { transition-delay: 0.16s; }
.thesis-scroll-ready .thesis-step-section.in-view .thesis-flow-reveal:nth-of-type(4) { transition-delay: 0.22s; }
.thesis-scroll-ready .thesis-step-section.in-view .thesis-flow-reveal:nth-of-type(5) { transition-delay: 0.28s; }
.thesis-scroll-ready .thesis-step-section.in-view .thesis-flow-reveal:nth-of-type(6) { transition-delay: 0.34s; }

@keyframes thesis-shell-pulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(0, 113, 227, 0.04);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(0, 113, 227, 0.02);
  }
}

.strategic-dashboard {
  margin-top: 20px;
  padding: 18px;
  border-radius: 20px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: linear-gradient(180deg, rgba(244, 247, 253, 0.96), rgba(236, 241, 249, 0.96));
}

.strategic-dashboard-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.strategic-card {
  min-height: 0;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.74);
}

.strategic-card-hero {
  grid-column: span 2;
  background: linear-gradient(135deg, rgba(67, 110, 255, 0.08), rgba(117, 79, 255, 0.03));
}

.strategic-card-warning {
  background: linear-gradient(135deg, rgba(255, 158, 92, 0.07), rgba(255, 255, 255, 0.72));
}

.strategic-card-label {
  margin-bottom: 8px;
  color: rgba(71, 85, 105, 0.82);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.strategic-card-value {
  margin-bottom: 10px;
  color: #0f172a;
  font-size: 32px;
  font-weight: 800;
  line-height: 1.05;
}

.strategic-card-inline {
  margin-bottom: 10px;
  color: #0f172a;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.strategic-card-note {
  margin: -2px 0 10px;
  color: rgba(71, 85, 105, 0.72);
  font-size: 12px;
  line-height: 1.5;
}

.strategic-card-copy {
  margin: 0;
  color: rgba(30, 41, 59, 0.88);
  font-size: 14px;
  line-height: 1.6;
}

.strategic-rotation-card {
  margin-top: 16px;
  padding: 18px;
  border-radius: 20px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: linear-gradient(180deg, rgba(244, 247, 253, 0.96), rgba(236, 241, 249, 0.96));
}

.strategic-rotation-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.strategic-rotation-route {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  color: #0f172a;
  font-size: 18px;
  font-weight: 700;
}

.strategic-rotation-arrow {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  color: rgba(71, 85, 105, 0.62);
}

.thesis-scroll-ready .strategic-rotation-card.in-view .strategic-rotation-arrow {
  animation: thesis-rotation-arrow-nudge 1.8s ease-in-out infinite;
}

.thesis-scroll-ready .strategic-rotation-card.in-view .strategic-rotation-arrow::after {
  content: "";
  position: absolute;
  right: -8px;
  top: 50%;
  width: 12px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(10, 99, 207, 0.26), transparent);
  transform: translateY(-50%);
  animation: thesis-rotation-arrow-trail 1.8s ease-in-out infinite;
}

.strategic-rotation-summary {
  margin: 12px 0 0;
  color: rgba(30, 41, 59, 0.86);
  font-size: 14px;
  line-height: 1.68;
}

.strategic-rotation-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.strategic-rotation-block {
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.72);
}

.strategic-rotation-block-warning {
  background: linear-gradient(135deg, rgba(255, 158, 92, 0.07), rgba(255, 255, 255, 0.72));
}

.thesis-structural-block {
  display: grid;
  gap: 14px;
  border-color: rgba(0, 113, 227, 0.18);
  background: linear-gradient(135deg, rgba(0, 113, 227, 0.08), rgba(255, 255, 255, 0.72));
}

.thesis-structural-block h3 {
  margin: 0;
  font-family: "Sora", sans-serif;
  font-size: 22px;
}

.thesis-structural-quality {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 8px;
  background: rgba(0, 113, 227, 0.08);
}

.thesis-structural-quality span,
.thesis-structural-quality small {
  color: var(--muted);
  font-size: 12px;
}

.thesis-structural-quality strong {
  font-family: "Sora", sans-serif;
  font-size: 13px;
}

.thesis-forecast-contract {
  display: grid;
  gap: 10px;
  padding: 14px;
  border-radius: 8px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: rgba(255, 255, 255, 0.56);
}

.thesis-forecast-contract-head,
.app-forecast-contract-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
}

.thesis-forecast-contract-head span,
.app-forecast-contract-head span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.thesis-forecast-contract-head strong,
.app-forecast-contract-head strong {
  font-family: "Sora", sans-serif;
  font-size: 13px;
}

.thesis-forecast-contract p,
.app-forecast-contract p {
  margin: 0;
  line-height: 1.55;
}

.thesis-contract-probabilities,
.app-contract-probabilities {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.thesis-contract-probabilities span,
.app-contract-probabilities span {
  padding: 6px 9px;
  border-radius: 8px;
  background: rgba(0, 113, 227, 0.1);
  font-size: 12px;
  font-weight: 700;
}

.thesis-command-deck,
.app-command-deck {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  padding: 8px;
  border-radius: 8px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background:
    linear-gradient(135deg, rgba(6, 182, 212, 0.08), rgba(255, 255, 255, 0.44)),
    repeating-linear-gradient(90deg, rgba(15, 23, 42, 0.035) 0 1px, transparent 1px 20px);
}

.thesis-command-tile,
.app-command-tile {
  position: relative;
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 9px;
  border-radius: 8px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.58);
}

.thesis-command-tile::before,
.app-command-tile::before {
  content: "";
  position: absolute;
  inset: 8px auto auto 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(0, 113, 227, 0.78);
  box-shadow: 0 0 10px rgba(0, 113, 227, 0.42);
}

.thesis-command-tile span,
.app-command-tile span {
  padding-left: 13px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.thesis-command-tile strong,
.app-command-tile strong {
  overflow-wrap: anywhere;
  font-family: "Sora", sans-serif;
  font-size: 13px;
}

.thesis-command-tile small,
.app-command-tile small {
  overflow-wrap: anywhere;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.35;
}

.thesis-command-tile-live::before,
.app-command-tile-live::before,
.thesis-command-tile-signal::before,
.app-command-tile-signal::before {
  background: rgba(22, 163, 74, 0.82);
  box-shadow: 0 0 10px rgba(22, 163, 74, 0.38);
}

.thesis-command-tile-red::before,
.app-command-tile-red::before {
  background: rgba(245, 158, 11, 0.88);
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.38);
}

.thesis-delta-tape,
.app-delta-tape {
  display: grid;
  gap: 9px;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-left: 3px solid rgba(0, 113, 227, 0.72);
  background:
    linear-gradient(90deg, rgba(0, 113, 227, 0.1), rgba(255, 255, 255, 0.64)),
    repeating-linear-gradient(0deg, rgba(15, 23, 42, 0.035) 0 1px, transparent 1px 18px);
}

.thesis-delta-tape-moved,
.app-delta-tape-moved {
  border-left-color: rgba(14, 116, 144, 0.88);
  background:
    linear-gradient(90deg, rgba(14, 116, 144, 0.13), rgba(255, 255, 255, 0.62)),
    repeating-linear-gradient(0deg, rgba(15, 23, 42, 0.035) 0 1px, transparent 1px 18px);
}

.thesis-delta-tape-steady,
.app-delta-tape-steady {
  border-left-color: rgba(100, 116, 139, 0.72);
}

.thesis-delta-head,
.app-delta-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
}

.thesis-delta-head span,
.app-delta-head span,
.thesis-delta-grid span,
.app-delta-grid span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.thesis-delta-head strong,
.app-delta-head strong,
.thesis-delta-grid strong,
.app-delta-grid strong {
  overflow-wrap: anywhere;
  font-family: "Sora", sans-serif;
  font-size: 13px;
}

.thesis-delta-grid,
.app-delta-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
}

.thesis-delta-cell,
.app-delta-cell {
  display: grid;
  gap: 3px;
  min-width: 0;
  padding: 8px;
  border-radius: 8px;
  border: 1px solid rgba(15, 23, 42, 0.07);
  background: rgba(255, 255, 255, 0.64);
}

.thesis-delta-cell b,
.app-delta-cell b {
  color: var(--muted);
  font-weight: 900;
}

.thesis-delta-cell-up b,
.app-delta-cell-up b {
  color: #047857;
}

.thesis-delta-cell-down b,
.app-delta-cell-down b {
  color: #b91c1c;
}

.thesis-delta-tape p,
.app-delta-tape p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.thesis-delta-rails,
.app-delta-rails,
.thesis-delta-evidence,
.app-delta-evidence {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.thesis-delta-rails span,
.app-delta-rails span,
.thesis-delta-evidence span,
.app-delta-evidence span {
  padding: 5px 8px;
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.07);
  color: inherit;
  font-size: 11px;
  font-weight: 800;
}

.thesis-trajectory-memory,
.app-trajectory-memory {
  display: grid;
  gap: 9px;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-left: 3px solid rgba(14, 116, 144, 0.72);
  background:
    linear-gradient(90deg, rgba(14, 116, 144, 0.1), rgba(255, 255, 255, 0.66)),
    repeating-linear-gradient(90deg, rgba(15, 23, 42, 0.035) 0 1px, transparent 1px 16px);
}

.thesis-trajectory-memory-risk_rising,
.app-trajectory-memory-risk_rising {
  border-left-color: rgba(220, 38, 38, 0.76);
  background:
    linear-gradient(90deg, rgba(220, 38, 38, 0.1), rgba(255, 255, 255, 0.64)),
    repeating-linear-gradient(90deg, rgba(15, 23, 42, 0.035) 0 1px, transparent 1px 16px);
}

.thesis-trajectory-memory-confirming,
.app-trajectory-memory-confirming,
.thesis-trajectory-memory-broadening,
.app-trajectory-memory-broadening {
  border-left-color: rgba(22, 163, 74, 0.72);
}

.thesis-trajectory-head,
.app-trajectory-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
}

.thesis-trajectory-head span,
.app-trajectory-head span,
.thesis-trajectory-grid span,
.app-trajectory-grid span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.thesis-trajectory-head strong,
.app-trajectory-head strong,
.thesis-trajectory-grid strong,
.app-trajectory-grid strong {
  overflow-wrap: anywhere;
  font-family: "Sora", sans-serif;
  font-size: 13px;
}

.thesis-trajectory-memory p,
.app-trajectory-memory p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.thesis-trajectory-grid,
.app-trajectory-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
}

.thesis-trajectory-grid div,
.app-trajectory-grid div {
  display: grid;
  gap: 3px;
  min-width: 0;
  padding: 8px;
  border-radius: 8px;
  border: 1px solid rgba(15, 23, 42, 0.07);
  background: rgba(255, 255, 255, 0.64);
}

.thesis-trajectory-runs,
.app-trajectory-runs {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.thesis-trajectory-runs span,
.app-trajectory-runs span {
  display: inline-grid;
  gap: 2px;
  min-width: 74px;
  padding: 6px 8px;
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.07);
  font-size: 11px;
  font-weight: 800;
}

.thesis-trajectory-runs small,
.app-trajectory-runs small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
}

.thesis-calibration-ledger,
.app-calibration-ledger {
  position: relative;
  display: grid;
  gap: 9px;
  overflow: hidden;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-left: 3px solid rgba(15, 23, 42, 0.7);
  background:
    linear-gradient(90deg, rgba(15, 23, 42, 0.08), rgba(255, 255, 255, 0.66)),
    repeating-linear-gradient(0deg, rgba(15, 23, 42, 0.035) 0 1px, transparent 1px 17px);
}

.thesis-calibration-ledger::before,
.app-calibration-ledger::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.18), rgba(6, 182, 212, 0.58), transparent);
}

.thesis-calibration-ledger-calibrated,
.app-calibration-ledger-calibrated {
  border-left-color: rgba(22, 163, 74, 0.78);
  background:
    linear-gradient(90deg, rgba(22, 163, 74, 0.11), rgba(255, 255, 255, 0.64)),
    repeating-linear-gradient(0deg, rgba(15, 23, 42, 0.035) 0 1px, transparent 1px 17px);
}

.thesis-calibration-ledger-caution,
.app-calibration-ledger-caution {
  border-left-color: rgba(220, 38, 38, 0.78);
  background:
    linear-gradient(90deg, rgba(220, 38, 38, 0.1), rgba(255, 255, 255, 0.64)),
    repeating-linear-gradient(0deg, rgba(15, 23, 42, 0.035) 0 1px, transparent 1px 17px);
}

.thesis-calibration-ledger-thin,
.app-calibration-ledger-thin,
.thesis-calibration-ledger-warming,
.app-calibration-ledger-warming {
  border-left-color: rgba(245, 158, 11, 0.78);
}

.thesis-calibration-head,
.app-calibration-head {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
}

.thesis-calibration-head span,
.app-calibration-head span,
.thesis-calibration-grid span,
.app-calibration-grid span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.thesis-calibration-head strong,
.app-calibration-head strong,
.thesis-calibration-grid strong,
.app-calibration-grid strong {
  overflow-wrap: anywhere;
  font-family: "Sora", sans-serif;
  font-size: 13px;
}

.thesis-calibration-grid,
.app-calibration-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
}

.thesis-calibration-grid div,
.app-calibration-grid div {
  display: grid;
  gap: 3px;
  min-width: 0;
  padding: 8px;
  border-radius: 8px;
  border: 1px solid rgba(15, 23, 42, 0.07);
  background: rgba(255, 255, 255, 0.62);
}

.thesis-calibration-ledger p,
.app-calibration-ledger p {
  position: relative;
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.thesis-calibration-rails,
.app-calibration-rails,
.thesis-calibration-clock,
.app-calibration-clock,
.thesis-calibration-buckets,
.app-calibration-buckets {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.thesis-calibration-rails span,
.app-calibration-rails span,
.thesis-calibration-clock span,
.app-calibration-clock span,
.thesis-calibration-buckets span,
.app-calibration-buckets span {
  display: inline-grid;
  gap: 2px;
  min-width: 0;
  padding: 6px 8px;
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.07);
  font-size: 11px;
  font-weight: 800;
}

.thesis-calibration-clock span,
.app-calibration-clock span {
  border: 1px solid rgba(6, 182, 212, 0.18);
  background:
    linear-gradient(90deg, rgba(6, 182, 212, 0.12), rgba(15, 23, 42, 0.05)),
    rgba(255, 255, 255, 0.6);
}

.thesis-calibration-clock-awaiting_review,
.app-calibration-clock-awaiting_review {
  border-color: rgba(245, 158, 11, 0.36) !important;
  background:
    linear-gradient(90deg, rgba(245, 158, 11, 0.16), rgba(15, 23, 42, 0.05)),
    rgba(255, 255, 255, 0.62) !important;
}

.thesis-calibration-buckets small,
.app-calibration-buckets small,
.thesis-calibration-clock small,
.app-calibration-clock small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
}

.thesis-integrity-gate,
.app-integrity-gate {
  display: grid;
  gap: 9px;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid rgba(6, 182, 212, 0.22);
  border-left: 3px solid rgba(6, 182, 212, 0.72);
  background: rgba(236, 254, 255, 0.54);
}

.thesis-integrity-gate-watch,
.app-integrity-gate-watch {
  border-color: rgba(245, 158, 11, 0.28);
  border-left-color: rgba(245, 158, 11, 0.78);
  background: rgba(255, 251, 235, 0.58);
}

.thesis-integrity-head,
.app-integrity-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
}

.thesis-integrity-head span,
.app-integrity-head span,
.thesis-integrity-grid span,
.app-integrity-grid span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.thesis-integrity-head strong,
.app-integrity-head strong,
.thesis-integrity-grid strong,
.app-integrity-grid strong {
  overflow-wrap: anywhere;
  font-family: "Sora", sans-serif;
  font-size: 13px;
}

.thesis-integrity-grid,
.app-integrity-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
}

.thesis-integrity-grid div,
.app-integrity-grid div {
  display: grid;
  gap: 3px;
  min-width: 0;
  padding: 8px;
  border-radius: 8px;
  border: 1px solid rgba(15, 23, 42, 0.07);
  background: rgba(255, 255, 255, 0.6);
}

.thesis-integrity-gate p,
.app-integrity-gate p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.thesis-integrity-chips,
.app-integrity-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.thesis-integrity-chips span,
.app-integrity-chips span {
  padding: 5px 8px;
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.07);
  font-size: 11px;
  font-weight: 800;
}

.thesis-coverage-gate,
.app-coverage-gate {
  position: relative;
  display: grid;
  gap: 9px;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid rgba(14, 116, 144, 0.2);
  border-left: 3px solid rgba(14, 116, 144, 0.78);
  background:
    linear-gradient(90deg, rgba(8, 145, 178, 0.11), rgba(255, 255, 255, 0.62)),
    repeating-linear-gradient(90deg, rgba(15, 23, 42, 0.04) 0 1px, transparent 1px 18px);
  overflow: hidden;
}

.thesis-coverage-gate::before,
.app-coverage-gate::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.42), transparent);
  opacity: 0.42;
  transform: translateX(-75%);
}

.thesis-coverage-gate-thin,
.app-coverage-gate-thin,
.thesis-coverage-gate-watch,
.app-coverage-gate-watch {
  border-color: rgba(245, 158, 11, 0.3);
  border-left-color: rgba(245, 158, 11, 0.8);
  background:
    linear-gradient(90deg, rgba(245, 158, 11, 0.12), rgba(255, 255, 255, 0.6)),
    repeating-linear-gradient(90deg, rgba(15, 23, 42, 0.04) 0 1px, transparent 1px 18px);
}

.thesis-coverage-head,
.app-coverage-head {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
}

.thesis-coverage-head span,
.app-coverage-head span,
.thesis-coverage-grid span,
.app-coverage-grid span,
.thesis-coverage-rails span,
.app-coverage-rails span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.thesis-coverage-head strong,
.app-coverage-head strong,
.thesis-coverage-grid strong,
.app-coverage-grid strong,
.thesis-coverage-rails b,
.app-coverage-rails b {
  overflow-wrap: anywhere;
  font-family: "Sora", sans-serif;
  font-size: 13px;
}

.thesis-coverage-grid,
.app-coverage-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
}

.thesis-coverage-grid div,
.app-coverage-grid div,
.thesis-coverage-rails div,
.app-coverage-rails div {
  display: grid;
  gap: 3px;
  min-width: 0;
  padding: 8px;
  border-radius: 8px;
  border: 1px solid rgba(15, 23, 42, 0.07);
  background: rgba(255, 255, 255, 0.6);
}

.thesis-coverage-gate p,
.app-coverage-gate p {
  position: relative;
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.thesis-coverage-rails,
.app-coverage-rails {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}

.thesis-coverage-rails b,
.app-coverage-rails b {
  font-weight: 800;
}

.thesis-probability-update,
.app-probability-update {
  display: grid;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 8px;
  border-left: 3px solid rgba(0, 113, 227, 0.62);
  background: rgba(0, 113, 227, 0.07);
}

.thesis-probability-update-head,
.app-probability-update-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
}

.thesis-probability-update-head span,
.app-probability-update-head span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.thesis-probability-update-head strong,
.app-probability-update-head strong {
  font-family: "Sora", sans-serif;
  font-size: 13px;
}

.thesis-probability-update p,
.app-probability-update p {
  margin: 0;
  line-height: 1.5;
}

.thesis-probability-adjustments,
.app-probability-adjustments {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.thesis-probability-adjustments span,
.app-probability-adjustments span {
  padding: 6px 9px;
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.07);
  font-size: 12px;
  font-weight: 700;
}

.thesis-probability-update-observe,
.app-probability-update-observe {
  border-left-color: rgba(220, 38, 38, 0.72);
  background: rgba(220, 38, 38, 0.07);
}

.thesis-probability-update-extend_watch,
.app-probability-update-extend_watch {
  border-left-color: rgba(245, 158, 11, 0.78);
  background: rgba(245, 158, 11, 0.08);
}

.thesis-probability-update-active,
.app-probability-update-active {
  border-left-color: rgba(22, 163, 74, 0.72);
  background: rgba(22, 163, 74, 0.07);
}

.thesis-scenario-cockpit,
.app-scenario-cockpit {
  position: relative;
  display: grid;
  gap: 9px;
  overflow: hidden;
  padding: 11px 12px;
  border-radius: 8px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: rgba(2, 8, 23, 0.035);
}

.thesis-scenario-cockpit::before,
.app-scenario-cockpit::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: rgba(6, 182, 212, 0.72);
  box-shadow: 0 0 16px rgba(6, 182, 212, 0.34);
}

.thesis-scenario-cockpit-head,
.app-scenario-cockpit-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
}

.thesis-scenario-cockpit-head span,
.app-scenario-cockpit-head span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.thesis-scenario-cockpit-head strong,
.app-scenario-cockpit-head strong {
  font-family: "Sora", sans-serif;
  font-size: 13px;
}

.thesis-scenario-rails,
.app-scenario-rails {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.thesis-contract-scenario-rail,
.app-scenario-rail {
  border-radius: 8px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: rgba(255, 255, 255, 0.56);
}

.thesis-contract-scenario-rail summary,
.app-scenario-rail summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 9px;
  cursor: pointer;
  list-style: none;
}

.thesis-contract-scenario-rail summary::-webkit-details-marker,
.app-scenario-rail summary::-webkit-details-marker {
  display: none;
}

.thesis-contract-scenario-rail summary::before,
.app-scenario-rail summary::before {
  content: "";
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: rgba(0, 113, 227, 0.74);
  box-shadow: 0 0 11px rgba(0, 113, 227, 0.38);
}

.thesis-contract-scenario-rail summary span,
.app-scenario-rail summary span {
  flex: 1;
  color: rgba(15, 23, 42, 0.8);
  font-size: 12px;
  font-weight: 800;
}

.thesis-contract-scenario-rail summary b,
.app-scenario-rail summary b {
  font-family: "Sora", sans-serif;
  font-size: 13px;
}

.thesis-contract-scenario-rail p,
.app-scenario-rail p {
  margin: 0;
  padding: 0 9px 7px;
  line-height: 1.5;
}

.thesis-contract-scenario-rail small,
.app-scenario-rail small {
  display: block;
  padding: 0 9px 9px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.thesis-contract-scenario-rail-extension summary::before,
.app-scenario-rail-extension summary::before {
  background: rgba(245, 158, 11, 0.86);
  box-shadow: 0 0 11px rgba(245, 158, 11, 0.38);
}

.thesis-contract-scenario-rail-break summary::before,
.app-scenario-rail-break summary::before {
  background: rgba(220, 38, 38, 0.84);
  box-shadow: 0 0 11px rgba(220, 38, 38, 0.34);
}

.thesis-contract-scenario-rail[open],
.app-scenario-rail[open] {
  border-color: rgba(6, 182, 212, 0.34);
  box-shadow: inset 0 0 0 1px rgba(6, 182, 212, 0.14);
}

.thesis-operator-loop,
.app-operator-loop {
  position: relative;
  display: grid;
  gap: 10px;
  overflow: hidden;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid rgba(6, 182, 212, 0.24);
  background:
    linear-gradient(135deg, rgba(6, 182, 212, 0.08), rgba(15, 23, 42, 0.03)),
    repeating-linear-gradient(90deg, rgba(15, 23, 42, 0.035) 0 1px, transparent 1px 18px);
}

.thesis-operator-loop::after,
.app-operator-loop::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 2px;
  background: linear-gradient(90deg, rgba(6, 182, 212, 0.7), rgba(0, 113, 227, 0.12), transparent);
}

.thesis-operator-loop-head,
.app-operator-loop-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
}

.thesis-operator-loop-head span,
.app-operator-loop-head span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.thesis-operator-loop-head strong,
.app-operator-loop-head strong {
  font-family: "Sora", sans-serif;
  font-size: 13px;
}

.thesis-operator-loop p,
.app-operator-loop p {
  margin: 0;
  line-height: 1.5;
}

.thesis-operator-meta,
.app-operator-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.thesis-operator-meta span,
.app-operator-meta span {
  padding: 8px 9px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.5);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.thesis-operator-task-grid,
.app-operator-task-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.thesis-operator-task,
.app-operator-task {
  display: grid;
  gap: 5px;
  padding: 9px;
  border-radius: 8px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.58);
}

.thesis-operator-task span,
.app-operator-task span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.thesis-operator-task strong,
.app-operator-task strong {
  font-size: 12px;
}

.thesis-operator-task small,
.app-operator-task small {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.35;
}

.thesis-operator-loop-high,
.app-operator-loop-high {
  border-color: rgba(220, 38, 38, 0.28);
  background:
    linear-gradient(135deg, rgba(220, 38, 38, 0.08), rgba(15, 23, 42, 0.03)),
    repeating-linear-gradient(90deg, rgba(15, 23, 42, 0.035) 0 1px, transparent 1px 18px);
}

.thesis-operator-loop-live,
.app-operator-loop-live {
  border-color: rgba(22, 163, 74, 0.28);
}

.thesis-signpost-matrix,
.app-signpost-matrix {
  display: grid;
  gap: 9px;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: rgba(255, 255, 255, 0.48);
}

.thesis-signpost-head,
.app-signpost-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
}

.thesis-signpost-head span,
.app-signpost-head span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.thesis-signpost-head strong,
.app-signpost-head strong {
  font-family: "Sora", sans-serif;
  font-size: 13px;
}

.thesis-signpost-rows,
.app-signpost-rows {
  display: grid;
  gap: 6px;
}

.thesis-signpost-row,
.app-signpost-row {
  display: grid;
  grid-template-columns: minmax(86px, 0.32fr) minmax(140px, 0.7fr) minmax(180px, 1fr);
  gap: 8px;
  align-items: center;
  padding: 8px 9px;
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.04);
}

.thesis-signpost-row span,
.app-signpost-row span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.thesis-signpost-row strong,
.app-signpost-row strong {
  font-size: 12px;
}

.thesis-signpost-row small,
.app-signpost-row small {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.35;
}

.thesis-signpost-row-confirmed,
.app-signpost-row-confirmed {
  background: rgba(22, 163, 74, 0.08);
}

.thesis-signpost-row-mixed,
.app-signpost-row-mixed {
  background: rgba(245, 158, 11, 0.09);
}

.thesis-signpost-row-contradicted,
.app-signpost-row-contradicted {
  background: rgba(220, 38, 38, 0.08);
}

.thesis-signpost-matrix p,
.app-signpost-matrix p {
  margin: 0;
  line-height: 1.5;
}

.thesis-contract-cases,
.app-contract-cases {
  display: grid;
  gap: 6px;
}

.thesis-contract-review,
.app-contract-review {
  display: grid;
  gap: 8px;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid rgba(12, 74, 110, 0.16);
  background: rgba(14, 165, 233, 0.08);
}

.thesis-contract-review-head,
.app-contract-review-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
}

.thesis-contract-review-head span,
.app-contract-review-head span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.thesis-contract-review-head strong,
.app-contract-review-head strong {
  font-family: "Sora", sans-serif;
  font-size: 13px;
}

.thesis-contract-review-confirmed,
.app-contract-review-confirmed {
  border-color: rgba(22, 163, 74, 0.25);
  background: rgba(22, 163, 74, 0.08);
}

.thesis-contract-review-broken,
.app-contract-review-broken {
  border-color: rgba(220, 38, 38, 0.24);
  background: rgba(220, 38, 38, 0.08);
}

.thesis-red-team-check,
.app-red-team-check {
  display: grid;
  gap: 8px;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid rgba(245, 158, 11, 0.24);
  background: rgba(245, 158, 11, 0.08);
}

.thesis-red-team-head,
.app-red-team-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
}

.thesis-red-team-head span,
.app-red-team-head span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.thesis-red-team-head strong,
.app-red-team-head strong {
  font-family: "Sora", sans-serif;
  font-size: 13px;
}

.thesis-red-team-check p,
.app-red-team-check p {
  margin: 0;
  line-height: 1.55;
}

.thesis-red-team-list,
.app-red-team-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.thesis-red-team-list span,
.app-red-team-list span {
  padding: 6px 9px;
  border-radius: 8px;
  background: rgba(245, 158, 11, 0.12);
  font-size: 12px;
  font-weight: 700;
}

.thesis-red-team-check-contested,
.app-red-team-check-contested {
  border-color: rgba(220, 38, 38, 0.24);
  background: rgba(220, 38, 38, 0.08);
}

.thesis-red-team-check-clean,
.app-red-team-check-clean {
  border-color: rgba(22, 163, 74, 0.2);
  background: rgba(22, 163, 74, 0.07);
}

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

.thesis-structural-grid div {
  display: grid;
  gap: 6px;
  padding: 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.58);
}

.thesis-structural-grid span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.thesis-structural-grid p {
  margin: 0;
  color: rgba(30, 41, 59, 0.86);
  line-height: 1.6;
}

.thesis-structural-lanes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.thesis-structural-lane {
  display: grid;
  gap: 8px;
  padding: 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.5);
}

.thesis-structural-lane > span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.strategic-state-card {
  margin-top: 16px;
  padding: 18px;
  border-radius: 20px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: linear-gradient(180deg, rgba(244, 247, 253, 0.96), rgba(236, 241, 249, 0.96));
}

.strategic-world-card {
  margin-top: 16px;
  padding: 18px;
  border-radius: 20px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: linear-gradient(180deg, rgba(246, 249, 255, 0.98), rgba(237, 243, 252, 0.96));
}

.strategic-world-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.strategic-world-title {
  margin: 4px 0 0;
  color: #0f172a;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.2;
}

.strategic-world-label-tech-red {
  color: #ff5a7a;
}

.strategic-world-label-cool-blue {
  color: #4f7cff;
}

.strategic-world-label-amber {
  color: #d88a16;
}

.strategic-world-summary {
  margin: 12px 0 0;
  color: rgba(30, 41, 59, 0.88);
  font-size: 14px;
  line-height: 1.72;
}

.strategic-world-summary-emphasis {
  position: relative;
  padding-left: 14px;
}

.strategic-world-summary-emphasis::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 4px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 90, 122, 0.94), rgba(255, 118, 143, 0.52));
  box-shadow: 0 0 16px rgba(255, 90, 122, 0.28);
}

.strategic-world-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.strategic-world-grid-branches {
  margin-top: 16px;
}

.strategic-world-block {
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.72);
}

.strategic-world-branch-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.strategic-world-block-primary {
  border-color: rgba(255, 90, 122, 0.18);
  background: linear-gradient(135deg, rgba(255, 90, 122, 0.10), rgba(255, 255, 255, 0.72));
  box-shadow: inset 0 0 0 1px rgba(255, 90, 122, 0.04);
}

.strategic-world-block-counter {
  border-color: rgba(79, 124, 255, 0.18);
  background: linear-gradient(135deg, rgba(79, 124, 255, 0.10), rgba(255, 255, 255, 0.72));
  box-shadow: inset 0 0 0 1px rgba(79, 124, 255, 0.04);
}

.strategic-world-block-surprise {
  border-color: rgba(216, 138, 22, 0.18);
  background: linear-gradient(135deg, rgba(216, 138, 22, 0.12), rgba(255, 255, 255, 0.72));
  box-shadow: inset 0 0 0 1px rgba(216, 138, 22, 0.04);
}

.strategic-world-bridge {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.thesis-chip-tech-red {
  border-color: rgba(255, 90, 122, 0.26);
  background: linear-gradient(135deg, rgba(255, 90, 122, 0.16), rgba(255, 255, 255, 0.86));
  color: #d61f52;
  box-shadow: 0 8px 20px rgba(255, 90, 122, 0.12);
}

.thesis-chip-cool-blue {
  border-color: rgba(79, 124, 255, 0.24);
  background: linear-gradient(135deg, rgba(79, 124, 255, 0.14), rgba(255, 255, 255, 0.86));
  color: #315dd8;
  box-shadow: 0 8px 20px rgba(79, 124, 255, 0.10);
}

.thesis-chip-amber {
  border-color: rgba(216, 138, 22, 0.24);
  background: linear-gradient(135deg, rgba(216, 138, 22, 0.16), rgba(255, 255, 255, 0.86));
  color: #aa6100;
  box-shadow: 0 8px 20px rgba(216, 138, 22, 0.10);
}

.strategic-state-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.strategic-state-title {
  margin-top: 4px;
  color: #0f172a;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.2;
}

.strategic-state-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.strategic-state-summary {
  margin: 12px 0 0;
  color: rgba(30, 41, 59, 0.86);
  font-size: 14px;
  line-height: 1.68;
}

.strategic-state-meta {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
}

.strategic-state-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.strategic-state-block {
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.72);
}

.strategic-state-block-warning {
  background: linear-gradient(135deg, rgba(255, 158, 92, 0.07), rgba(255, 255, 255, 0.72));
}

.strategic-rotation-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.strategic-branch-card {
  margin-top: 16px;
  padding: 18px;
  border-radius: 20px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: linear-gradient(180deg, rgba(244, 247, 253, 0.96), rgba(236, 241, 249, 0.96));
}

.strategic-branch-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.strategic-branch-block {
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.72);
}

.strategic-branch-block-base {
  background: linear-gradient(135deg, rgba(67, 110, 255, 0.06), rgba(255, 255, 255, 0.72));
}

.strategic-branch-block-risk {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.07), rgba(255, 255, 255, 0.72));
}

.strategic-branch-block-invalid {
  background: linear-gradient(135deg, rgba(148, 163, 184, 0.07), rgba(255, 255, 255, 0.72));
}

.strategic-memory-card {
  margin-top: 16px;
  padding: 18px;
  border-radius: 20px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: linear-gradient(180deg, rgba(244, 247, 253, 0.96), rgba(236, 241, 249, 0.96));
}

.strategic-memory-list {
  display: grid;
  gap: 12px;
}

.strategic-memory-item {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.strategic-memory-marker-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  min-height: 100%;
}

.strategic-memory-marker {
  position: relative;
  z-index: 1;
  width: 12px;
  height: 12px;
  margin-top: 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, #0a63cf, #6f59ff);
  box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.12);
}

.strategic-memory-line {
  position: absolute;
  top: 26px;
  bottom: -22px;
  left: 50%;
  width: 2px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(0, 113, 227, 0.22), rgba(148, 163, 184, 0.12));
}

.strategic-memory-body {
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.72);
}

.strategic-memory-item.is-latest .strategic-memory-body {
  background: linear-gradient(135deg, rgba(67, 110, 255, 0.08), rgba(255, 255, 255, 0.76));
  border-color: rgba(0, 113, 227, 0.14);
}

.strategic-memory-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #0f172a;
}

.strategic-memory-head strong {
  font-size: 16px;
}

.strategic-memory-head span,
.strategic-memory-meta,
.strategic-memory-regime {
  color: rgba(71, 85, 105, 0.72);
  font-size: 12px;
}

.thesis-scroll-ready .thesis-memory-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.42s ease, transform 0.5s ease;
}

.thesis-scroll-ready .strategic-memory-card.in-view .thesis-memory-reveal {
  opacity: 1;
  transform: translateY(0);
}

.thesis-scroll-ready .strategic-memory-card.in-view .thesis-memory-reveal:nth-child(2) {
  transition-delay: 0.07s;
}

.thesis-scroll-ready .strategic-memory-card.in-view .thesis-memory-reveal:nth-child(3) {
  transition-delay: 0.14s;
}

.thesis-scroll-ready .strategic-memory-card.in-view .thesis-memory-reveal:nth-child(4) {
  transition-delay: 0.21s;
}

.theme-dark .strategic-dashboard {
  border: 1px solid rgba(128, 154, 255, 0.14);
  background: linear-gradient(180deg, rgba(22, 28, 46, 0.92), rgba(13, 18, 32, 0.92));
}

.theme-dark .strategic-card {
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.03);
}

.theme-dark .strategic-card-hero {
  background: linear-gradient(135deg, rgba(67, 110, 255, 0.16), rgba(117, 79, 255, 0.08));
}

.theme-dark .strategic-card-warning {
  background: linear-gradient(135deg, rgba(255, 158, 92, 0.12), rgba(255, 255, 255, 0.03));
}

.theme-dark .strategic-card-label {
  color: rgba(201, 212, 255, 0.72);
}

.theme-dark .strategic-card-value,
.theme-dark .strategic-card-inline {
  color: #f5f7ff;
}

.theme-dark .strategic-card-note {
  color: rgba(201, 212, 255, 0.56);
}

.theme-dark .strategic-card-copy {
  color: rgba(226, 232, 255, 0.78);
}

.theme-dark .strategic-rotation-card {
  border: 1px solid rgba(128, 154, 255, 0.12);
  background: linear-gradient(180deg, rgba(20, 24, 38, 0.88), rgba(13, 17, 29, 0.92));
}

.theme-dark .strategic-state-card {
  border: 1px solid rgba(128, 154, 255, 0.1);
  background: linear-gradient(180deg, rgba(18, 22, 35, 0.9), rgba(12, 15, 25, 0.92));
}

.theme-dark .strategic-world-card {
  border: 1px solid rgba(128, 154, 255, 0.1);
  background: linear-gradient(180deg, rgba(18, 22, 35, 0.92), rgba(12, 15, 25, 0.94));
}

.theme-dark .strategic-world-title {
  color: #f5f7ff;
}

.theme-dark .strategic-world-label-tech-red {
  color: #ff8fa7;
}

.theme-dark .strategic-world-label-cool-blue {
  color: #8ab1ff;
}

.theme-dark .strategic-world-label-amber {
  color: #ffbf66;
}

.theme-dark .strategic-world-summary {
  color: rgba(226, 232, 255, 0.82);
}

.theme-dark .strategic-world-summary-emphasis::before {
  background: linear-gradient(180deg, rgba(255, 104, 134, 0.96), rgba(255, 137, 163, 0.48));
  box-shadow: 0 0 16px rgba(255, 104, 134, 0.22);
}

.theme-dark .strategic-world-block {
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.03);
}

.theme-dark .strategic-world-block-primary {
  border-color: rgba(255, 104, 134, 0.24);
  background: linear-gradient(135deg, rgba(255, 104, 134, 0.16), rgba(255, 255, 255, 0.03));
  box-shadow: inset 0 0 0 1px rgba(255, 104, 134, 0.06);
}

.theme-dark .strategic-world-block-counter {
  border-color: rgba(102, 146, 255, 0.24);
  background: linear-gradient(135deg, rgba(102, 146, 255, 0.16), rgba(255, 255, 255, 0.03));
  box-shadow: inset 0 0 0 1px rgba(102, 146, 255, 0.06);
}

.theme-dark .strategic-world-block-surprise {
  border-color: rgba(255, 177, 82, 0.24);
  background: linear-gradient(135deg, rgba(255, 177, 82, 0.16), rgba(255, 255, 255, 0.03));
  box-shadow: inset 0 0 0 1px rgba(255, 177, 82, 0.06);
}

.theme-dark .thesis-chip-tech-red {
  border-color: rgba(255, 104, 134, 0.28);
  background: linear-gradient(135deg, rgba(255, 104, 134, 0.18), rgba(255, 255, 255, 0.05));
  color: #ffb5c6;
  box-shadow: 0 10px 22px rgba(255, 104, 134, 0.12);
}

.theme-dark .thesis-chip-cool-blue {
  border-color: rgba(102, 146, 255, 0.28);
  background: linear-gradient(135deg, rgba(102, 146, 255, 0.20), rgba(255, 255, 255, 0.05));
  color: #bed3ff;
  box-shadow: 0 10px 22px rgba(102, 146, 255, 0.10);
}

.theme-dark .thesis-chip-amber {
  border-color: rgba(255, 177, 82, 0.28);
  background: linear-gradient(135deg, rgba(255, 177, 82, 0.18), rgba(255, 255, 255, 0.05));
  color: #ffd7a6;
  box-shadow: 0 10px 22px rgba(255, 177, 82, 0.10);
}

.theme-dark .strategic-state-title {
  color: #f5f7ff;
}

.theme-dark .strategic-state-summary {
  color: rgba(226, 232, 255, 0.82);
}

.theme-dark .strategic-state-block {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
}

.theme-dark .strategic-state-block-warning {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(255, 255, 255, 0.04));
}

.theme-dark .strategic-rotation-route {
  color: #f5f7ff;
}

.theme-dark .strategic-rotation-arrow {
  color: rgba(201, 212, 255, 0.62);
}

.theme-dark .thesis-scroll-ready .strategic-rotation-card.in-view .strategic-rotation-arrow::after {
  background: linear-gradient(90deg, rgba(90, 167, 255, 0.34), transparent);
}

.theme-dark .strategic-rotation-summary {
  color: rgba(226, 232, 255, 0.82);
}

.theme-dark .strategic-rotation-block {
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.03);
}

.theme-dark .strategic-rotation-block-warning {
  background: linear-gradient(135deg, rgba(255, 158, 92, 0.1), rgba(255, 255, 255, 0.03));
}

.theme-dark .thesis-structural-block {
  border-color: rgba(125, 183, 255, 0.2);
  background: linear-gradient(135deg, rgba(66, 153, 225, 0.1), rgba(255, 255, 255, 0.03));
}

.theme-dark .thesis-structural-grid div {
  background: rgba(255, 255, 255, 0.06);
}

.theme-dark .thesis-structural-grid p {
  color: rgba(235, 241, 255, 0.82);
}

.theme-dark .strategic-branch-card {
  border: 1px solid rgba(128, 154, 255, 0.12);
  background: linear-gradient(180deg, rgba(18, 22, 34, 0.9), rgba(12, 16, 28, 0.92));
}

.theme-dark .strategic-branch-block {
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.03);
}

.theme-dark .strategic-branch-block-base {
  background: linear-gradient(135deg, rgba(67, 110, 255, 0.12), rgba(255, 255, 255, 0.03));
}

.theme-dark .strategic-branch-block-risk {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.12), rgba(255, 255, 255, 0.03));
}

.theme-dark .strategic-branch-block-invalid {
  background: linear-gradient(135deg, rgba(148, 163, 184, 0.12), rgba(255, 255, 255, 0.03));
}

.theme-dark .strategic-memory-card {
  border: 1px solid rgba(128, 154, 255, 0.1);
  background: linear-gradient(180deg, rgba(16, 20, 31, 0.9), rgba(11, 14, 24, 0.92));
}

.theme-dark .strategic-memory-marker {
  background: linear-gradient(135deg, #5aa7ff, #8e75ff);
  box-shadow: 0 0 0 4px rgba(90, 167, 255, 0.14);
}

.theme-dark .strategic-memory-line {
  background: linear-gradient(180deg, rgba(90, 167, 255, 0.3), rgba(201, 212, 255, 0.08));
}

.theme-dark .strategic-memory-body {
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.03);
}

.theme-dark .strategic-memory-item.is-latest .strategic-memory-body {
  background: linear-gradient(135deg, rgba(67, 110, 255, 0.12), rgba(255, 255, 255, 0.04));
  border-color: rgba(90, 167, 255, 0.14);
}

.theme-dark .strategic-memory-head {
  color: #f5f7ff;
}

.theme-dark .strategic-memory-head span,
.theme-dark .strategic-memory-meta,
.theme-dark .strategic-memory-regime {
  color: rgba(201, 212, 255, 0.62);
}

.theme-dark .strategic-memory-diff {
  color: rgba(226, 232, 255, 0.8);
}

.theme-dark .strategic-memory-diff strong {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.05);
  color: #f5f7ff;
}

.theme-dark .strategic-memory-reason {
  color: rgba(226, 232, 255, 0.78);
}

.theme-dark .strategic-memory-reason strong {
  border-color: rgba(209, 74, 115, 0.18);
  background: rgba(120, 24, 74, 0.24);
  color: #ffd7e6;
}

.theme-dark .strategic-memory-driver-track {
  color: rgba(226, 232, 255, 0.76);
}

.theme-dark .strategic-memory-driver-track strong {
  border-color: rgba(96, 165, 250, 0.22);
  background: rgba(30, 58, 138, 0.24);
  color: #dbeafe;
}

.theme-dark .strategic-review-block {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(15, 23, 42, 0.82);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.28);
}

.theme-dark .strategic-review-summary,
.theme-dark .strategic-review-item-copy,
.theme-dark .strategic-review-item-meta,
.theme-dark .strategic-review-item-time,
.theme-dark .strategic-review-empty {
  color: rgba(226, 232, 255, 0.74);
}

.theme-dark .strategic-review-stat,
.theme-dark .strategic-review-health-chip {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(30, 41, 59, 0.72);
  color: rgba(226, 232, 255, 0.84);
}

.theme-dark .strategic-review-stat strong,
.theme-dark .strategic-review-item-head strong {
  color: #f8fafc;
}

.theme-dark .strategic-review-badge.tone-success {
  background: rgba(13, 148, 136, 0.18);
  color: #99f6e4;
}

.theme-dark .strategic-review-badge.tone-warning {
  background: rgba(245, 158, 11, 0.18);
  color: #fde68a;
}

.theme-dark .strategic-review-badge.tone-invalid {
  background: rgba(220, 38, 38, 0.18);
  color: #fecaca;
}

.theme-dark .strategic-review-badge.tone-observe {
  background: rgba(96, 165, 250, 0.18);
  color: #bfdbfe;
}

.theme-dark .thesis-step-nav-item {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(19, 24, 38, 0.84);
}

.theme-dark .thesis-step-nav {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(10, 15, 27, 0.78);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.32);
}

.theme-dark .thesis-step-nav::before {
  background: linear-gradient(180deg, rgba(120, 183, 255, 0.04), rgba(120, 183, 255, 0.22), rgba(120, 183, 255, 0.04));
}

.theme-dark .thesis-step-nav::after {
  background: linear-gradient(180deg, rgba(142, 200, 255, 0.96), rgba(90, 167, 255, 0.9), rgba(142, 117, 255, 0.92));
  box-shadow: 0 0 22px rgba(90, 167, 255, 0.28);
}

.theme-dark .thesis-step-nav-item.active {
  background: linear-gradient(180deg, rgba(31, 41, 68, 0.92), rgba(22, 29, 49, 0.92));
  border-color: rgba(90, 167, 255, 0.2);
  box-shadow: 0 20px 32px rgba(0, 0, 0, 0.26);
}

.theme-dark .thesis-step-nav-index {
  background: rgba(255, 255, 255, 0.08);
}

.theme-dark .thesis-step-nav-item.active .thesis-step-nav-index {
  color: #9cc7ff;
  background: rgba(90, 167, 255, 0.16);
}

.theme-dark .thesis-step-nav-dot {
  background: rgba(201, 212, 255, 0.28);
  box-shadow: 0 0 0 4px rgba(201, 212, 255, 0.08);
}

.theme-dark .thesis-step-nav-item.active .thesis-step-nav-dot {
  background: linear-gradient(135deg, #5aa7ff, #8e75ff);
  box-shadow: 0 0 0 4px rgba(90, 167, 255, 0.14);
}

.theme-dark .thesis-step-nav-item::after {
  background: linear-gradient(90deg, rgba(120, 183, 255, 0.3), transparent 100%);
}

.theme-dark .thesis-step-nav-copy strong {
  color: #f5f7ff;
}

.theme-dark .thesis-step-nav-copy span {
  color: rgba(201, 212, 255, 0.62);
}

.theme-dark .thesis-step-section.is-active {
  border-color: rgba(90, 167, 255, 0.16);
  box-shadow: 0 24px 42px rgba(0, 0, 0, 0.26);
}

.theme-dark .thesis-entry-boot {
  background:
    radial-gradient(circle at 50% 46%, rgba(11, 27, 62, 0.3), rgba(4, 7, 16, 0.92)),
    rgba(6, 8, 14, 0.72);
}

.theme-dark .thesis-entry-boot-core {
  border-color: rgba(120, 183, 255, 0.2);
  background: linear-gradient(180deg, rgba(8, 12, 22, 0.94), rgba(6, 8, 16, 0.9));
  box-shadow:
    0 36px 100px rgba(2, 6, 14, 0.68),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.theme-dark .thesis-entry-boot-rings span {
  border-color: rgba(120, 183, 255, 0.26);
  box-shadow: inset 0 0 28px rgba(120, 183, 255, 0.08);
}

.theme-dark .thesis-entry-boot-label {
  color: rgba(182, 214, 255, 0.78);
}

.theme-dark .thesis-entry-boot-copy strong {
  color: #f5f7ff;
}

.theme-dark .thesis-entry-boot-copy span {
  color: rgba(214, 226, 255, 0.8);
}

.theme-dark .thesis-cyber-grid {
  background-image:
    linear-gradient(rgba(90, 167, 255, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(90, 167, 255, 0.1) 1px, transparent 1px);
  opacity: 0.34;
}

.theme-dark .thesis-cyber-orb-a {
  background: radial-gradient(circle, rgba(90, 167, 255, 0.24) 0%, rgba(90, 167, 255, 0.05) 58%, transparent 76%);
}

.theme-dark .thesis-cyber-orb-b {
  background: radial-gradient(circle, rgba(130, 92, 255, 0.22) 0%, rgba(130, 92, 255, 0.06) 60%, transparent 78%);
}

.theme-dark .thesis-cyber-orb-c {
  background: radial-gradient(circle, rgba(77, 208, 225, 0.2) 0%, rgba(77, 208, 225, 0.06) 56%, transparent 74%);
}

.theme-dark .thesis-v3-step-shell::before {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(10, 15, 27, 0.94);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.24);
}

.theme-dark .thesis-step-section.is-active.thesis-v3-step-shell::before {
  color: #9cc7ff;
  border-color: rgba(90, 167, 255, 0.22);
}

.theme-dark .thesis-step-section.is-active .thesis-subtitle {
  color: #8ec8ff;
}

@keyframes thesis-rotation-arrow-nudge {
  0%, 100% {
    transform: translateX(0);
    color: rgba(71, 85, 105, 0.62);
  }
  45% {
    transform: translateX(4px);
    color: #0a63cf;
  }
  60% {
    transform: translateX(2px);
    color: #0a63cf;
  }
}

.theme-dark .thesis-scroll-ready .strategic-rotation-card.in-view .strategic-rotation-arrow {
  animation-name: thesis-rotation-arrow-nudge-dark;
}

@keyframes thesis-rotation-arrow-nudge-dark {
  0%, 100% {
    transform: translateX(0);
    color: rgba(201, 212, 255, 0.62);
  }
  45% {
    transform: translateX(4px);
    color: #8ec8ff;
  }
  60% {
    transform: translateX(2px);
    color: #8ec8ff;
  }
}

@keyframes thesis-rotation-arrow-trail {
  0%, 100% {
    opacity: 0;
    transform: translate(-4px, -50%) scaleX(0.35);
  }
  40% {
    opacity: 0.95;
    transform: translate(0, -50%) scaleX(1);
  }
  70% {
    opacity: 0.18;
    transform: translate(4px, -50%) scaleX(0.6);
  }
}

.strategic-memory-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-top: 8px;
}

.strategic-memory-diff {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  color: rgba(30, 41, 59, 0.82);
  font-size: 12px;
  line-height: 1.5;
}

.strategic-memory-diff strong {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.76);
  color: #0f172a;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.strategic-memory-reason {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  color: rgba(30, 41, 59, 0.82);
  font-size: 12px;
  line-height: 1.55;
}

.strategic-memory-reason strong {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(209, 74, 115, 0.14);
  background: rgba(255, 241, 246, 0.9);
  color: #a33a63;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.strategic-memory-driver-track {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  color: rgba(30, 41, 59, 0.78);
  font-size: 12px;
  line-height: 1.55;
}

.strategic-memory-driver-track strong {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(96, 165, 250, 0.14);
  background: rgba(239, 246, 255, 0.92);
  color: #2563eb;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.strategic-memory-regime {
  margin-top: 8px;
}

.strategic-review-card {
  margin-top: 24px;
}

.strategic-review-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.strategic-review-block {
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 24px 56px rgba(15, 23, 42, 0.08);
  padding: 20px 22px;
}

.strategic-review-block-summary {
  grid-column: span 2;
}

.strategic-review-summary {
  margin-top: 10px;
  color: rgba(30, 41, 59, 0.82);
  font-size: 14px;
  line-height: 1.8;
}

.strategic-review-stats,
.strategic-review-health {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.strategic-review-stat,
.strategic-review-health-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(248, 250, 252, 0.9);
  color: rgba(30, 41, 59, 0.84);
  font-size: 12px;
  line-height: 1.5;
}

.strategic-review-stat strong {
  color: #0f172a;
  font-size: 14px;
}

.strategic-review-list {
  margin-top: 12px;
  display: grid;
  gap: 12px;
}

.strategic-review-item {
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(15, 23, 42, 0.06);
  background: rgba(248, 250, 252, 0.76);
}

.strategic-review-item-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}

.strategic-review-item-head strong {
  color: #0f172a;
  font-size: 14px;
}

.strategic-review-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.strategic-review-badge.tone-success {
  background: rgba(20, 184, 166, 0.12);
  color: #0f766e;
}

.strategic-review-badge.tone-warning {
  background: rgba(245, 158, 11, 0.12);
  color: #b45309;
}

.strategic-review-badge.tone-invalid {
  background: rgba(220, 38, 38, 0.12);
  color: #b91c1c;
}

.strategic-review-badge.tone-observe {
  background: rgba(59, 130, 246, 0.1);
  color: #2563eb;
}

.strategic-review-item-copy,
.strategic-review-item-meta,
.strategic-review-item-time,
.strategic-review-empty {
  margin-top: 8px;
  color: rgba(30, 41, 59, 0.76);
  font-size: 12px;
  line-height: 1.6;
}

.strategic-review-item-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
}

.strategic-review-empty {
  padding: 14px;
  border-radius: 18px;
  background: rgba(248, 250, 252, 0.72);
}

@media (max-width: 900px) {
  .strategic-review-grid {
    grid-template-columns: 1fr;
  }

  .strategic-review-block-summary {
    grid-column: span 1;
  }

  .strategic-review-item-head {
    align-items: flex-start;
    flex-direction: column;
  }
}

.thesis-hero-side {
  display: grid;
  gap: 14px;
}

.thesis-stat-card,
.thesis-note-box {
  border-radius: 22px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.72);
  padding: 18px 20px;
}

.theme-dark .thesis-stat-card,
.theme-dark .thesis-note-box {
  background: rgba(19, 24, 38, 0.84);
  border-color: rgba(255, 255, 255, 0.08);
}

.thesis-stat-label {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.thesis-stat-value {
  margin-top: 8px;
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 700;
  letter-spacing: -0.04em;
}

.thesis-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.thesis-chip-row-tight {
  gap: 8px;
}

.thesis-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.05);
  color: var(--text);
  font-size: 12px;
  font-weight: 600;
}

.theme-dark .thesis-chip {
  background: rgba(255, 255, 255, 0.08);
}

.thesis-chip-accent {
  background: rgba(0, 113, 227, 0.1);
  color: #0071e3;
}

.theme-dark .thesis-chip-accent {
  background: rgba(90, 167, 255, 0.16);
  color: #8ec8ff;
}

.thesis-deep-dive-grid {
  display: grid;
  gap: 18px;
  margin-top: 8px;
}

.thesis-path-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(320px, 0.9fr);
  gap: 18px;
  align-items: start;
}

.thesis-path-main,
.thesis-scenario-rail {
  display: grid;
  gap: 18px;
}

.thesis-deep-card {
  border-radius: 26px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.76);
  padding: 22px 22px 20px;
  display: grid;
  gap: 14px;
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.08);
}

.theme-dark .thesis-deep-card {
  background: rgba(19, 24, 38, 0.9);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.22);
}

.thesis-deep-card-accent {
  background: linear-gradient(180deg, rgba(0, 113, 227, 0.08), rgba(255, 255, 255, 0.76));
}

.theme-dark .thesis-deep-card-accent {
  background: linear-gradient(180deg, rgba(90, 167, 255, 0.12), rgba(19, 24, 38, 0.92));
}

.thesis-scenario-card {
  position: sticky;
  top: 96px;
}

.thesis-scenario-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}

.thesis-scenario-title {
  margin: 6px 0 0;
  font-size: 22px;
  line-height: 1.3;
}

.thesis-scenario-node-kicker {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.thesis-scenario-node-kicker-small {
  font-size: 10px;
}

.thesis-scenario-summary {
  margin: 0;
  color: var(--text);
  line-height: 1.72;
}

.thesis-scenario-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.thesis-scenario-meta span,
.thesis-scenario-child-meta span {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.05);
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.theme-dark .thesis-scenario-meta span,
.theme-dark .thesis-scenario-child-meta span {
  background: rgba(255, 255, 255, 0.06);
}

.thesis-scenario-tree {
  display: grid;
  gap: 14px;
}

.thesis-scenario-node {
  display: grid;
  gap: 10px;
  border-radius: 20px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(15, 23, 42, 0.03);
  padding: 14px 14px 13px;
}

.theme-dark .thesis-scenario-node {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
}

.thesis-scenario-node-level2 {
  border-radius: 16px;
  padding: 12px 12px 11px;
}

.thesis-scenario-prob-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
}

.thesis-scenario-prob-row strong {
  font-size: 15px;
  line-height: 1.5;
}

.thesis-scenario-prob-row span {
  flex-shrink: 0;
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
}

.thesis-scenario-bar {
  height: 8px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.08);
  overflow: hidden;
}

.theme-dark .thesis-scenario-bar {
  background: rgba(255, 255, 255, 0.08);
}

.thesis-scenario-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(0, 113, 227, 0.76), rgba(76, 201, 240, 0.9));
}

.thesis-scenario-bar-small {
  height: 6px;
}

.thesis-scenario-node p {
  margin: 0;
  color: var(--muted);
  line-height: 1.68;
  font-size: 14px;
}

.thesis-scenario-mini-list,
.thesis-scenario-children {
  display: grid;
  gap: 10px;
}

.thesis-scenario-mini-list span {
  position: relative;
  padding-left: 14px;
  color: var(--text);
  font-size: 13px;
  line-height: 1.55;
}

.thesis-scenario-mini-list span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(0, 113, 227, 0.72);
}

.thesis-scenario-child-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.thesis-deep-kicker {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.thesis-deep-title {
  margin: 0;
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.22;
}

.thesis-deep-copy {
  margin: 0;
  color: var(--text);
  font-size: 15px;
  line-height: 1.8;
}

.thesis-deep-section {
  display: grid;
  gap: 10px;
}

.thesis-deep-impact-grid {
  display: grid;
  gap: 14px;
}

.thesis-deep-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.thesis-deep-list {
  display: grid;
  gap: 10px;
}

.thesis-deep-list-item {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.04);
  color: var(--text);
}

.theme-dark .thesis-deep-list-item {
  background: rgba(255, 255, 255, 0.05);
}

.thesis-deep-list-item strong {
  font-size: 14px;
  line-height: 1.5;
}

.thesis-deep-list-item span {
  flex-shrink: 0;
  color: var(--muted);
  font-size: 12px;
}

.thesis-risk-box {
  border-radius: 18px;
  padding: 14px 16px;
  background: rgba(255, 159, 67, 0.08);
  border: 1px solid rgba(255, 159, 67, 0.18);
  color: var(--text);
  line-height: 1.7;
}

.theme-dark .thesis-risk-box {
  background: rgba(255, 159, 67, 0.08);
  border-color: rgba(255, 159, 67, 0.14);
}

.sim-thesis-handoff {
  display: grid;
  gap: 16px;
}

.sim-handoff-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.sim-handoff-card {
  display: grid;
  gap: 12px;
  padding: 20px;
  border-radius: 24px;
  text-decoration: none;
  color: inherit;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.68);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.theme-dark .sim-handoff-card {
  background: rgba(19, 24, 38, 0.84);
  border-color: rgba(255, 255, 255, 0.08);
}

.sim-handoff-card:hover {
  transform: translateY(-2px);
  border-color: rgba(90, 167, 255, 0.3);
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.12);
}

.theme-dark .sim-handoff-card:hover {
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.22);
}

.sim-handoff-card-accent {
  background: linear-gradient(180deg, rgba(0, 113, 227, 0.08), rgba(255, 255, 255, 0.72));
}

.theme-dark .sim-handoff-card-accent {
  background: linear-gradient(180deg, rgba(90, 167, 255, 0.14), rgba(19, 24, 38, 0.9));
}

.sim-handoff-kicker {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sim-handoff-title {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.35;
}

.sim-handoff-copy {
  color: var(--muted);
  line-height: 1.7;
}

.sim-handoff-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.thesis-focus-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin: 0 0 20px;
}

.thesis-focus-grid-compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 18px;
  margin-bottom: 0;
}

.thesis-focus-card {
  display: grid;
  gap: 12px;
  min-height: 220px;
}

.thesis-focus-card p {
  margin: 0;
  line-height: 1.7;
}

.thesis-focus-card-accent {
  background: linear-gradient(180deg, rgba(0, 113, 227, 0.08), rgba(255, 255, 255, 0.7));
}

.theme-dark .thesis-focus-card-accent {
  background: linear-gradient(180deg, rgba(90, 167, 255, 0.12), rgba(19, 24, 38, 0.88));
}

.thesis-focus-card-risk {
  border-color: rgba(255, 159, 67, 0.18);
}

.thesis-step-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 0 0 20px;
}

.thesis-step-card {
  min-height: 240px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.thesis-step-index {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.thesis-step-kicker,
.thesis-subtitle {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.thesis-mini-note {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.thesis-step-card h2 {
  margin: 0;
  font-size: 22px;
  line-height: 1.18;
}

.thesis-step-card p,
.thesis-mapping-copy,
.thesis-evidence-item p {
  margin: 0;
  color: var(--text);
  line-height: 1.65;
}

.thesis-bullets {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 8px;
  color: var(--muted);
}

.thesis-bullets-compact {
  gap: 10px;
}

.thesis-map-card,
.thesis-evidence-card {
  margin-bottom: 20px;
}

.thesis-map-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.thesis-impact-map {
  position: relative;
  overflow: hidden;
}

.thesis-impact-map .sim-impact-grid {
  gap: 12px;
}

.thesis-scroll-ready .thesis-impact-map .thesis-impact-reveal {
  opacity: 0;
  transform: translateY(18px) scale(0.98);
  transition: opacity 0.42s ease, transform 0.5s ease;
}

.thesis-scroll-ready .thesis-impact-map.in-view .thesis-impact-reveal {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.thesis-scroll-ready .thesis-step-section.in-view .thesis-impact-reveal,
.thesis-scroll-ready .thesis-step-section.is-active .thesis-impact-reveal {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.thesis-scroll-ready .thesis-impact-map.in-view .thesis-impact-reveal:nth-child(2) {
  transition-delay: 0.1s;
}

.thesis-scroll-ready .thesis-impact-map.in-view .thesis-impact-reveal:nth-child(3) {
  transition-delay: 0.2s;
}

.thesis-map-column {
  display: grid;
  gap: 12px;
}

.thesis-mapping-item {
  border-radius: 22px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.68);
  padding: 18px;
  display: grid;
  gap: 12px;
}

.theme-dark .thesis-mapping-item {
  background: rgba(19, 24, 38, 0.84);
  border-color: rgba(255, 255, 255, 0.08);
}

.thesis-mapping-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: start;
}

.thesis-mapping-ticker {
  font-size: 18px;
  font-weight: 700;
}

.thesis-mapping-name,
.thesis-mapping-weight {
  color: var(--muted);
  font-size: 13px;
}

.thesis-mapping-stack {
  display: grid;
  gap: 8px;
}

.thesis-mapping-line {
  display: grid;
  gap: 4px;
  color: var(--muted);
  font-size: 13px;
}

.thesis-mapping-line strong {
  color: var(--text);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.thesis-validation-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 20px;
}

.thesis-signal-card-risk {
  border-color: rgba(255, 59, 48, 0.14);
}

.thesis-evidence-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.thesis-evidence-group {
  display: grid;
  gap: 12px;
}

.thesis-evidence-list {
  display: grid;
  gap: 12px;
}

.thesis-evidence-item {
  border-radius: 20px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.68);
  padding: 16px 18px;
  display: grid;
  gap: 10px;
}

.theme-dark .thesis-evidence-item {
  background: rgba(19, 24, 38, 0.84);
  border-color: rgba(255, 255, 255, 0.08);
}

.thesis-evidence-head,
.thesis-evidence-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.thesis-evidence-head span,
.thesis-evidence-meta {
  color: var(--muted);
  font-size: 12px;
}

.thesis-evidence-meta a {
  color: #0071e3;
  text-decoration: none;
}

.thesis-empty-card {
  margin-top: 12px;
}

@media (max-width: 1080px) {
  .thesis-entry-boot-core {
    width: min(640px, 100%);
  }

  .thesis-entry-boot-rings {
    width: 180px;
    height: 180px;
  }

  .thesis-scroll-story {
    grid-template-columns: 1fr;
  }

  .thesis-step-nav {
    position: static;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  }

  .thesis-step-nav::before,
  .thesis-step-nav::after {
    display: none;
  }

  .thesis-step-nav-item::after {
    width: 16px;
  }

  .thesis-step-grid,
  .thesis-map-grid,
  .thesis-evidence-grid {
    grid-template-columns: 1fr 1fr;
  }

  .thesis-hero-grid,
  .thesis-hero-panel-grid,
  .thesis-focus-grid,
  .thesis-path-shell,
  .strategic-dashboard-grid,
  .strategic-world-grid,
  .strategic-rotation-grid,
  .thesis-structural-grid,
  .thesis-structural-lanes,
  .strategic-branch-grid,
  .thesis-validation-grid,
  .thesis-deep-split,
  .sim-handoff-grid {
    grid-template-columns: 1fr;
  }

  .strategic-card-hero {
    grid-column: span 1;
  }
}

@media (max-width: 720px) {
  .thesis-entry-boot {
    padding: 18px;
  }

  .thesis-entry-boot-core {
    padding: 24px 22px 20px;
  }

  .thesis-entry-boot-rings {
    width: 148px;
    height: 148px;
  }

  .thesis-entry-boot-bars {
    margin-top: 18px;
  }

  .thesis-hero {
    padding: 20px;
  }

  .thesis-step-nav {
    grid-template-columns: 1fr;
  }

  .thesis-step-grid,
  .thesis-focus-grid,
  .thesis-map-grid,
  .thesis-evidence-grid,
  .thesis-validation-grid {
    grid-template-columns: 1fr;
  }

  .thesis-meta-row {
    flex-direction: column;
    gap: 6px;
  }

  .strategic-state-grid {
    grid-template-columns: 1fr;
  }

  .strategic-state-head,
  .sim-primary-state-head {
    flex-direction: column;
  }

  .thesis-deep-card,
  .sim-handoff-card {
    padding: 18px;
  }

  .thesis-scenario-card {
    position: static;
  }

  .thesis-title {
    font-size: 28px;
  }

  .thesis-origin {
    flex-direction: column;
    gap: 6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .thesis-entry-boot,
  .thesis-entry-shell,
  .thesis-cyber-grid,
  .thesis-cyber-orb,
  .thesis-cyber-stream,
  .thesis-cyber-particle,
  .thesis-signal-stage.is-active::after,
  .thesis-step-section.is-active.thesis-v3-step-shell::after,
  .thesis-flow-reveal,
  .thesis-entry-boot::before,
  .thesis-entry-boot::after,
  .thesis-entry-boot-core::before,
  .thesis-entry-boot-rings span,
  .thesis-entry-boot-bars span {
    animation: none !important;
    transition: none !important;
  }

  .thesis-entry-boot {
    display: none !important;
  }

  .thesis-scroll-ready .thesis-step-section,
  .thesis-scroll-ready .thesis-step-section .thesis-flow-reveal,
  .thesis-scroll-ready .thesis-branch-reveal {
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
  }
}

.retail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  align-items: start;
}

.retail-status-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 20px;
  align-items: start;
}

.retail-status-card {
  gap: 10px;
}

.retail-status-card p {
  margin: 0;
  color: var(--muted);
}

.retail-status-connected {
  box-shadow: 0 14px 32px rgba(0, 113, 227, 0.08);
}

.retail-status-armed {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(249, 247, 241, 0.92));
}

.retail-status-mapped,
.retail-status-warming {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(245, 247, 250, 0.92));
}

.retail-community-hero {
  min-width: 0;
}

.retail-community-top {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1.85fr) minmax(300px, 0.95fr);
  gap: 20px;
  align-items: start;
}

.retail-community-side {
  display: grid;
  gap: 16px;
}

.retail-community-mini,
.retail-sentiment-gantt {
  padding: 20px 22px;
  border-radius: 28px;
  align-self: start;
}

.retail-community-mini .retail-platform-count {
  font-size: 36px;
  font-weight: 700;
}

.retail-gantt-list {
  display: grid;
  gap: 14px;
}

.retail-gantt-row {
  display: grid;
  gap: 8px;
  padding: 10px 0;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
}

.retail-gantt-row:first-child {
  border-top: 0;
  padding-top: 2px;
}

.retail-gantt-head,
.retail-gantt-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.retail-gantt-head strong {
  font-size: 14px;
  font-weight: 650;
}

.retail-gantt-meta {
  font-size: 11px;
  color: var(--muted);
}

.retail-gantt-track {
  height: 10px;
  border-radius: 999px;
  overflow: hidden;
  background: linear-gradient(90deg, rgba(148, 163, 184, 0.14), rgba(148, 163, 184, 0.22));
}

.retail-gantt-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(0, 113, 227, 0.7), rgba(90, 167, 255, 1));
  box-shadow: 0 4px 12px rgba(0, 113, 227, 0.16);
}

.retail-gantt-row.tone-up .retail-gantt-fill {
  background: linear-gradient(90deg, rgba(255, 90, 122, 0.72), rgba(255, 123, 149, 1));
  box-shadow: 0 4px 12px rgba(255, 90, 122, 0.18);
}

.retail-gantt-row.tone-down .retail-gantt-fill {
  background: linear-gradient(90deg, rgba(79, 124, 255, 0.72), rgba(126, 160, 255, 1));
  box-shadow: 0 4px 12px rgba(79, 124, 255, 0.16);
}

.retail-gantt-row.tone-flat .retail-gantt-fill {
  background: linear-gradient(90deg, rgba(148, 163, 184, 0.72), rgba(182, 193, 208, 1));
  box-shadow: 0 4px 12px rgba(148, 163, 184, 0.12);
}

.theme-dark .retail-gantt-track {
  background: linear-gradient(90deg, rgba(90, 167, 255, 0.12), rgba(90, 167, 255, 0.2));
}

.theme-dark .retail-gantt-fill {
  background: linear-gradient(90deg, rgba(90, 167, 255, 0.8), rgba(129, 190, 255, 1));
}

.theme-dark .retail-gantt-row.tone-up .retail-gantt-fill {
  background: linear-gradient(90deg, rgba(255, 104, 134, 0.86), rgba(255, 143, 167, 1));
}

.theme-dark .retail-gantt-row.tone-down .retail-gantt-fill {
  background: linear-gradient(90deg, rgba(102, 146, 255, 0.82), rgba(143, 178, 255, 1));
}

.theme-dark .retail-gantt-row.tone-flat .retail-gantt-fill {
  background: linear-gradient(90deg, rgba(148, 163, 184, 0.72), rgba(185, 197, 211, 0.96));
}

.theme-dark .retail-gantt-row {
  border-top-color: rgba(255, 255, 255, 0.06);
}

.retail-guba-analysis {
  grid-column: 1 / -1;
}

.retail-reveal {
  opacity: 0;
  transform: translateY(26px) scale(0.97);
  filter: blur(10px);
  transition: opacity 0.7s ease, transform 0.82s cubic-bezier(0.22, 1, 0.36, 1), filter 0.7s ease;
}

.retail-reveal.in-view {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

.retail-stage {
  position: relative;
  overflow: hidden;
}

.retail-stage::before {
  content: none;
}

.retail-stage::after {
  content: none;
}

.retail-stagger > * {
  opacity: 0;
  transform: translateY(22px) scale(0.96);
  filter: blur(8px);
  transition: opacity 0.58s ease, transform 0.68s cubic-bezier(0.22, 1, 0.36, 1), filter 0.58s ease;
}

.retail-stagger.in-view > * {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

.retail-stagger.in-view > *:nth-child(1) { transition-delay: 0.03s; }
.retail-stagger.in-view > *:nth-child(2) { transition-delay: 0.11s; }
.retail-stagger.in-view > *:nth-child(3) { transition-delay: 0.19s; }
.retail-stagger.in-view > *:nth-child(4) { transition-delay: 0.27s; }
.retail-stagger.in-view > *:nth-child(5) { transition-delay: 0.35s; }
.retail-stagger.in-view > *:nth-child(6) { transition-delay: 0.43s; }
.retail-stagger.in-view > *:nth-child(7) { transition-delay: 0.51s; }
.retail-stagger.in-view > *:nth-child(8) { transition-delay: 0.59s; }

.retail-hero .title-large {
  margin: 8px 0 12px;
  font-size: clamp(30px, 4vw, 42px);
  letter-spacing: -0.03em;
}

.retail-hero {
  padding: 28px 34px;
  position: relative;
}

.retail-hero-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.9fr) minmax(280px, 0.85fr);
  gap: 24px;
  align-items: start;
}

.retail-hero-main {
  min-width: 0;
}

.retail-story-shell {
  position: relative;
}

.retail-hero-main.in-view {
  animation: retail-hero-rise 0.88s cubic-bezier(0.2, 0.9, 0.24, 1);
}

.retail-hero-side.in-view {
  animation: retail-side-float 0.92s cubic-bezier(0.2, 0.9, 0.24, 1);
}

.retail-hero-side {
  display: grid;
  align-content: start;
}

.retail-hero > p {
  max-width: 900px;
  line-height: 1.7;
}

.retail-hero .hero-actions {
  margin: 18px 0 14px;
  gap: 10px;
}

.retail-hero .pill {
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.retail-hero .pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 113, 227, 0.08);
  border-color: rgba(0, 113, 227, 0.18);
}

.retail-heat-pill {
  position: relative;
  overflow: hidden;
}

.retail-heat-pill-hot {
  border-color: rgba(255, 90, 122, 0.24);
  background: linear-gradient(135deg, rgba(255, 90, 122, 0.14), rgba(255, 255, 255, 0.88));
  color: #d61f52;
  box-shadow: 0 10px 20px rgba(255, 90, 122, 0.10);
}

.retail-heat-pill-warm {
  border-color: rgba(245, 158, 11, 0.24);
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.16), rgba(255, 255, 255, 0.88));
  color: #b45309;
  box-shadow: 0 10px 20px rgba(245, 158, 11, 0.10);
}

.retail-heat-pill-balanced {
  border-color: rgba(16, 185, 129, 0.24);
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.14), rgba(255, 255, 255, 0.88));
  color: #047857;
  box-shadow: 0 10px 20px rgba(16, 185, 129, 0.10);
}

.retail-heat-pill-cool {
  border-color: rgba(79, 124, 255, 0.24);
  background: linear-gradient(135deg, rgba(79, 124, 255, 0.14), rgba(255, 255, 255, 0.88));
  color: #315dd8;
  box-shadow: 0 10px 20px rgba(79, 124, 255, 0.10);
}

.retail-heat-pill-neutral {
  border-color: rgba(148, 163, 184, 0.22);
  background: linear-gradient(135deg, rgba(148, 163, 184, 0.12), rgba(255, 255, 255, 0.88));
  color: #475569;
}

.retail-community-mini-hero {
  min-height: 100%;
}

.retail-community-stats,
.retail-platform-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.retail-stat-card,
.retail-platform-card {
  display: grid;
  gap: 8px;
  padding: 18px 20px;
  border-radius: 26px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(247, 249, 252, 0.84));
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.04);
  transition: transform 0.32s ease, box-shadow 0.32s ease, border-color 0.32s ease;
}

.theme-dark .retail-stat-card,
.theme-dark .retail-platform-card {
  border-color: rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(28, 34, 48, 0.96), rgba(20, 25, 38, 0.92));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

.retail-stat-label {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.retail-stat-card strong,
.retail-platform-count {
  font-size: 30px;
  line-height: 1;
}

.theme-dark .retail-stat-card strong,
.theme-dark .retail-platform-count,
.theme-dark .retail-platform-head strong {
  color: #f8fbff;
}

.theme-dark .retail-stat-card .muted,
.theme-dark .retail-platform-card .muted,
.theme-dark .retail-platform-card p {
  color: rgba(214, 222, 235, 0.78);
}

.retail-mainline-card {
  grid-column: 1 / -1;
  overflow: hidden;
}

.retail-mainline-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.9fr);
  gap: 22px;
  align-items: start;
}

.retail-mainline-copy,
.retail-mainline-side {
  min-width: 0;
}

.retail-mainline-head {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 4px 0 10px;
}

.retail-mainline-title {
  margin: 0 0 12px;
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.06;
  letter-spacing: -0.04em;
}

.retail-mainline-meta {
  margin-top: 14px;
}

.retail-mainline-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.retail-mainline-column {
  display: grid;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 20px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.9), rgba(241, 245, 249, 0.78));
}

.retail-mainline-column-pressure {
  background: linear-gradient(180deg, rgba(255, 249, 240, 0.9), rgba(255, 244, 234, 0.78));
  border-color: rgba(245, 158, 11, 0.16);
}

.retail-mainline-column-label {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: var(--global-font-mono);
}

.retail-mainline-list {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 8px;
  color: rgba(15, 23, 42, 0.82);
}

.retail-mainline-list li {
  line-height: 1.55;
}

.retail-mainline-side {
  display: grid;
  gap: 12px;
}

.retail-mainline-score,
.retail-mainline-next {
  display: grid;
  gap: 8px;
  padding: 16px 18px;
  border-radius: 22px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.94), rgba(241, 245, 249, 0.84));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.retail-mainline-score span,
.retail-mainline-next span {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: var(--global-font-mono);
}

.retail-mainline-score strong {
  font-size: clamp(44px, 6vw, 62px);
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.retail-mainline-score p,
.retail-mainline-next p {
  margin: 0;
  line-height: 1.6;
}

.retail-mainline-next strong {
  font-size: 18px;
  line-height: 1.2;
}

.retail-mainline-next small {
  color: var(--muted);
  font-size: 12px;
}

.retail-mainline-posterior {
  display: grid;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 22px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.94), rgba(241, 245, 249, 0.84));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.retail-mainline-posterior-row {
  display: grid;
  gap: 6px;
}

.retail-mainline-posterior-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.retail-mainline-posterior-head strong {
  font-size: 13px;
}

.retail-mainline-posterior-head span {
  color: var(--muted);
  font-size: 12px;
}

.retail-mainline-posterior-track {
  height: 8px;
  border-radius: 999px;
  overflow: hidden;
  background: linear-gradient(90deg, rgba(148, 163, 184, 0.16), rgba(148, 163, 184, 0.24));
}

.retail-mainline-posterior-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(0, 113, 227, 0.74), rgba(90, 167, 255, 1));
  box-shadow: 0 4px 12px rgba(0, 113, 227, 0.16);
}

.retail-mainline-posterior-row.tone-extension .retail-mainline-posterior-fill {
  background: linear-gradient(90deg, rgba(245, 158, 11, 0.76), rgba(251, 191, 36, 0.98));
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.16);
}

.retail-mainline-posterior-row.tone-break .retail-mainline-posterior-fill {
  background: linear-gradient(90deg, rgba(148, 163, 184, 0.82), rgba(203, 213, 225, 1));
  box-shadow: 0 4px 12px rgba(148, 163, 184, 0.12);
}

.retail-mainline-status-dominant {
  border-color: rgba(16, 185, 129, 0.24);
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.14), rgba(255, 255, 255, 0.88));
  color: #047857;
}

.retail-mainline-status-holding {
  border-color: rgba(0, 113, 227, 0.18);
  background: linear-gradient(135deg, rgba(0, 113, 227, 0.12), rgba(255, 255, 255, 0.88));
  color: #0f4da8;
}

.retail-mainline-status-contested {
  border-color: rgba(245, 158, 11, 0.24);
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.14), rgba(255, 255, 255, 0.88));
  color: #b45309;
}

.retail-mainline-status-fragile,
.retail-mainline-status-warming {
  border-color: rgba(148, 163, 184, 0.22);
  background: linear-gradient(135deg, rgba(148, 163, 184, 0.12), rgba(255, 255, 255, 0.88));
  color: #475569;
}

.theme-dark .retail-mainline-column,
.theme-dark .retail-mainline-score,
.theme-dark .retail-mainline-next,
.theme-dark .retail-mainline-posterior {
  border-color: rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(24, 30, 43, 0.96), rgba(18, 24, 36, 0.92));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.theme-dark .retail-mainline-column-pressure {
  border-color: rgba(245, 158, 11, 0.2);
  background: linear-gradient(180deg, rgba(41, 31, 20, 0.92), rgba(27, 21, 15, 0.9));
}

.theme-dark .retail-mainline-list {
  color: rgba(226, 232, 255, 0.8);
}

.retail-operator-card {
  grid-column: 1 / -1;
  overflow: hidden;
}

.retail-operator-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.8fr);
  gap: 22px;
  align-items: start;
}

.retail-operator-title {
  max-width: 18ch;
}

.retail-operator-note,
.operator-privacy {
  margin: 14px 0 0;
  line-height: 1.6;
}

.retail-operator-side {
  display: grid;
  gap: 12px;
}

.retail-operator-discipline,
.operator-discipline-grid {
  display: grid;
  gap: 10px;
}

.retail-operator-discipline {
  padding: 14px 16px;
  border-radius: 22px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.94), rgba(241, 245, 249, 0.84));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.retail-operator-discipline-row,
.operator-discipline-tile {
  display: grid;
  gap: 4px;
  padding: 10px 12px;
  border-radius: 16px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.74);
}

.retail-operator-discipline-row span,
.operator-discipline-tile span,
.operator-score-meta span {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: var(--global-font-mono);
}

.retail-operator-discipline-row strong,
.operator-discipline-tile strong,
.operator-score-meta b {
  font-size: 14px;
  line-height: 1.35;
}

.retail-operator-actions {
  margin-top: 4px;
}

.operator-shell {
  display: grid;
  gap: 18px;
}

.operator-panel {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 12px;
  min-width: 0;
  padding: 18px 20px;
  border-radius: 8px;
  border: 1px solid rgba(173, 222, 255, 0.14);
  background:
    linear-gradient(180deg, rgba(13, 21, 34, 0.76), rgba(8, 14, 24, 0.68)),
    linear-gradient(90deg, rgba(124, 190, 255, 0.04), transparent 42%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.operator-panel::before,
.global-home-operator-command-item::before,
.global-home-operator-confirmation-item::before,
.global-home-operator-score::before,
.global-home-operator-primary::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(132, 194, 255, 0.42), rgba(132, 194, 255, 0.08) 58%, transparent 100%);
  pointer-events: none;
}

body:not(.theme-dark) .operator-panel {
  border-color: rgba(15, 23, 42, 0.08);
  background:
    linear-gradient(180deg, rgba(248, 250, 252, 0.96), rgba(241, 245, 249, 0.92)),
    linear-gradient(90deg, rgba(0, 113, 227, 0.03), transparent 42%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.operator-hero {
  position: relative;
  overflow: hidden;
  padding: 24px 28px;
  background:
    linear-gradient(180deg, rgba(8, 15, 25, 0.94), rgba(7, 12, 21, 0.9)),
    linear-gradient(90deg, rgba(124, 190, 255, 0.05), transparent 34%),
    radial-gradient(circle at top right, rgba(78, 142, 212, 0.12), transparent 34%),
    repeating-linear-gradient(180deg, rgba(166, 211, 255, 0.03) 0 1px, transparent 1px 28px);
}

.operator-hero-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.82fr);
  gap: 22px;
  align-items: start;
}

.operator-hero-main,
.operator-hero-side {
  min-width: 0;
}

.operator-hero-side {
  display: grid;
  gap: 12px;
}

.operator-hero::after,
.global-home-operator-snapshot::after {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(128, 202, 255, 0.48), rgba(128, 202, 255, 0.04) 48%, transparent 100%);
  pointer-events: none;
}

.operator-hero-score strong {
  font-size: 22px;
  line-height: 1.18;
  letter-spacing: -0.03em;
}

.operator-hero-ribbon,
.global-home-operator-ribbon {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  margin-top: 12px;
}

.operator-hero-ribbon span,
.global-home-operator-ribbon span {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(132, 194, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(226, 236, 255, 0.72);
  font-size: 11px;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: var(--global-font-mono);
}

body:not(.theme-dark) .operator-hero-ribbon span,
body:not(.theme-dark) .global-home-operator-ribbon span {
  border-color: rgba(15, 23, 42, 0.08);
  background: rgba(8, 19, 30, 0.04);
  color: rgba(15, 23, 42, 0.62);
}

.operator-score-meta {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
}

.operator-readiness-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 10px;
}

.operator-readiness-item {
  display: grid;
  gap: 6px;
  padding: 16px 16px 14px;
  border-radius: 8px;
  border: 1px solid rgba(173, 222, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
}

.operator-readiness-item span,
.operator-readiness-item small {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: var(--global-font-mono);
}

.operator-readiness-item strong {
  font-size: 28px;
  line-height: 1;
  color: #f8fbff;
}

.operator-readiness-item p {
  margin: 0;
  line-height: 1.55;
}

.operator-score-meter,
.global-home-operator-meter {
  position: relative;
  width: 100%;
  height: 6px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(15, 23, 42, 0.08);
}

.operator-score-meter span,
.global-home-operator-meter span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(73, 162, 255, 0.82), rgba(129, 205, 255, 0.96));
  box-shadow: 0 0 18px rgba(73, 162, 255, 0.2);
}

.operator-score-meter.is-blocker span,
.global-home-operator-score.is-blocker .global-home-operator-meter span {
  background: linear-gradient(90deg, rgba(255, 171, 80, 0.92), rgba(255, 213, 128, 0.98));
  box-shadow: 0 0 18px rgba(255, 171, 80, 0.22);
}

.operator-score-meter.is-commit span,
.global-home-operator-score.is-commit .global-home-operator-meter span {
  background: linear-gradient(90deg, rgba(78, 214, 175, 0.88), rgba(146, 255, 207, 0.96));
  box-shadow: 0 0 18px rgba(78, 214, 175, 0.2);
}

.operator-breakdown-list {
  display: grid;
  gap: 8px;
  margin-top: 6px;
}

.operator-breakdown-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 12px;
  align-items: center;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.operator-breakdown-row span,
.operator-breakdown-row small {
  min-width: 0;
}

.operator-breakdown-row span {
  color: #f8fbff;
  font-size: 13px;
  line-height: 1.4;
  letter-spacing: 0;
  text-transform: none;
  font-family: var(--global-font-sans);
}

.operator-breakdown-row strong {
  color: #f8fbff;
  font-size: 13px;
  line-height: 1;
}

.operator-breakdown-row small {
  grid-column: 1 / -1;
  color: rgba(226, 232, 255, 0.74);
  font-size: 12px;
  line-height: 1.45;
  letter-spacing: 0;
  text-transform: none;
  font-family: var(--global-font-sans);
}

.operator-stage-card,
.operator-discipline-card,
.operator-list-card,
.operator-participant-card,
.operator-summary-card {
  min-width: 0;
}

.operator-stage-card,
.operator-participant-card,
.operator-summary-card {
  grid-column: 1 / -1;
}

.operator-stage-rail {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.operator-stage-item {
  display: grid;
  gap: 8px;
  padding: 16px 18px;
  border-radius: 8px;
  border: 1px solid rgba(173, 222, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
}

.operator-stage-head,
.operator-participant-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.operator-stage-head span,
.operator-participant-head span {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: var(--global-font-mono);
}

.operator-stage-item p,
.operator-participant-item p {
  margin: 0;
  line-height: 1.6;
}

.operator-stage-current {
  border-color: rgba(0, 113, 227, 0.22);
  box-shadow: 0 0 0 1px rgba(0, 113, 227, 0.08);
}

.operator-stage-done {
  border-color: rgba(16, 185, 129, 0.22);
}

.operator-stage-ready {
  border-color: rgba(245, 158, 11, 0.22);
}

.operator-stage-locked {
  border-color: rgba(148, 163, 184, 0.18);
}

.operator-next-box {
  margin-top: 10px;
}

.operator-participant-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.operator-participant-item {
  display: grid;
  gap: 8px;
  padding: 16px 18px;
  border-radius: 8px;
  border: 1px solid rgba(173, 222, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
}

.operator-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.operator-summary-item {
  display: grid;
  gap: 8px;
  padding: 16px 18px;
  border-radius: 8px;
  border: 1px solid rgba(173, 222, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
}

.operator-summary-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.operator-summary-head span,
.operator-summary-item small {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: var(--global-font-mono);
}

.operator-summary-item p {
  margin: 0;
  line-height: 1.6;
}

.operator-primary-card {
  display: grid;
  gap: 14px;
}

.operator-primary-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.operator-primary-head strong {
  display: block;
  margin-top: 6px;
  font-size: 22px;
  line-height: 1.16;
  letter-spacing: -0.03em;
  color: #08131e;
}

.operator-primary-score {
  display: grid;
  gap: 4px;
  justify-items: end;
  min-width: 110px;
}

.operator-primary-score b {
  color: #08131e;
  font-size: 28px;
  line-height: 1;
}

.operator-primary-score span,
.operator-primary-meta span,
.operator-primary-item-head span {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: var(--global-font-mono);
}

.operator-primary-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
}

.operator-primary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.operator-primary-item,
.operator-primary-empty {
  display: grid;
  gap: 8px;
  padding: 16px 18px;
  border-radius: 8px;
  border: 1px solid rgba(173, 222, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
}

.operator-primary-item-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.operator-primary-item-head strong {
  color: #08131e;
  font-size: 16px;
  line-height: 1.1;
}

.operator-primary-item p,
.operator-primary-empty {
  margin: 0;
  line-height: 1.55;
}

.operator-confirmation-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.operator-confirmation-item {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.operator-confirmation-item span {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: var(--global-font-mono);
}

.operator-confirmation-item strong {
  color: #08131e;
  font-size: 20px;
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.operator-confirmation-item p {
  margin: 0;
  color: rgba(15, 23, 42, 0.72);
  font-size: 13px;
  line-height: 1.55;
}

.theme-dark .operator-panel,
.theme-dark .retail-operator-discipline,
.theme-dark .retail-operator-discipline-row,
.theme-dark .operator-discipline-tile,
.theme-dark .operator-stage-item,
.theme-dark .operator-participant-item,
.theme-dark .operator-summary-item,
.theme-dark .operator-readiness-item,
.theme-dark .operator-primary-item,
.theme-dark .operator-primary-empty {
  border-color: rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(24, 30, 43, 0.96), rgba(18, 24, 36, 0.92));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.theme-dark .operator-stage-item p,
.theme-dark .operator-participant-item p,
.theme-dark .operator-summary-item p,
.theme-dark .operator-readiness-item p,
.theme-dark .operator-primary-item p,
.theme-dark .operator-primary-empty,
.theme-dark .retail-operator-note,
.theme-dark .operator-privacy {
  color: rgba(226, 232, 255, 0.8);
}

.theme-dark .operator-readiness-item strong,
.theme-dark .operator-primary-head strong,
.theme-dark .operator-primary-score b,
.theme-dark .operator-primary-item-head strong,
.theme-dark .operator-confirmation-item strong {
  color: #f8fbff;
}

.theme-dark .operator-breakdown-row {
  border-top-color: rgba(255, 255, 255, 0.08);
}

.theme-dark .operator-breakdown-row span,
.theme-dark .operator-breakdown-row strong {
  color: #f8fbff;
}

.theme-dark .operator-score-meter,
.theme-dark .global-home-operator-meter {
  background: rgba(255, 255, 255, 0.08);
}

.theme-dark .operator-confirmation-item p {
  color: rgba(226, 232, 255, 0.8);
}

.theme-dark .operator-breakdown-row small {
  color: rgba(226, 232, 255, 0.74);
}

.theme-dark .retail-mainline-score strong,
.theme-dark .retail-mainline-title,
.theme-dark .retail-mainline-next strong,
.theme-dark .retail-mainline-posterior-head strong {
  color: #f8fbff;
}

.theme-dark .retail-mainline-posterior-head span,
.theme-dark .retail-mainline-next small {
  color: rgba(201, 212, 255, 0.62);
}

.theme-dark .retail-mainline-posterior-track {
  background: linear-gradient(90deg, rgba(90, 167, 255, 0.12), rgba(90, 167, 255, 0.22));
}

.theme-dark .retail-mainline-posterior-fill {
  background: linear-gradient(90deg, rgba(90, 167, 255, 0.82), rgba(129, 190, 255, 1));
}

.theme-dark .retail-mainline-posterior-row.tone-extension .retail-mainline-posterior-fill {
  background: linear-gradient(90deg, rgba(255, 177, 82, 0.82), rgba(255, 210, 136, 0.98));
}

.theme-dark .retail-mainline-posterior-row.tone-break .retail-mainline-posterior-fill {
  background: linear-gradient(90deg, rgba(148, 163, 184, 0.74), rgba(185, 197, 211, 0.94));
}

.retail-platform-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.retail-platform-connected {
  box-shadow: 0 14px 32px rgba(0, 113, 227, 0.08);
}

.retail-platform-armed {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(249, 247, 241, 0.92));
}

.retail-platform-pending,
.retail-platform-quiet {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(245, 247, 250, 0.92));
}

.retail-platform-mapped,
.retail-platform-warming {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(245, 242, 255, 0.92));
}

.retail-trend-strip {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 8px;
  align-items: end;
  min-height: 132px;
  padding: 14px 16px;
  border-radius: 28px;
  border: 1px solid rgba(15, 23, 42, 0.06);
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.92), rgba(241, 245, 249, 0.82));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.retail-trend-bar {
  transform-origin: bottom center;
}

.retail-stagger.in-view .retail-trend-bar {
  animation: retail-bar-bounce 0.72s cubic-bezier(0.2, 0.9, 0.24, 1) both;
}

.retail-stagger.in-view .retail-trend-bar:nth-child(1) { animation-delay: 0.04s; }
.retail-stagger.in-view .retail-trend-bar:nth-child(2) { animation-delay: 0.08s; }
.retail-stagger.in-view .retail-trend-bar:nth-child(3) { animation-delay: 0.12s; }
.retail-stagger.in-view .retail-trend-bar:nth-child(4) { animation-delay: 0.16s; }
.retail-stagger.in-view .retail-trend-bar:nth-child(5) { animation-delay: 0.2s; }
.retail-stagger.in-view .retail-trend-bar:nth-child(6) { animation-delay: 0.24s; }
.retail-stagger.in-view .retail-trend-bar:nth-child(7) { animation-delay: 0.28s; }
.retail-stagger.in-view .retail-trend-bar:nth-child(8) { animation-delay: 0.32s; }
.retail-stagger.in-view .retail-trend-bar:nth-child(9) { animation-delay: 0.36s; }
.retail-stagger.in-view .retail-trend-bar:nth-child(10) { animation-delay: 0.4s; }
.retail-stagger.in-view .retail-trend-bar:nth-child(11) { animation-delay: 0.44s; }
.retail-stagger.in-view .retail-trend-bar:nth-child(12) { animation-delay: 0.48s; }

.theme-dark .retail-trend-strip {
  border-color: rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(25, 31, 44, 0.96), rgba(18, 24, 36, 0.92));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.retail-trend-bar {
  display: grid;
  gap: 6px;
  justify-items: center;
}

.retail-trend-value,
.retail-trend-label {
  font-size: 11px;
  color: var(--muted);
}

.retail-trend-track {
  width: 88%;
  min-height: 72px;
  border-radius: 14px;
  padding: 6px 0;
  display: flex;
  align-items: end;
  justify-content: center;
  background: linear-gradient(180deg, rgba(0, 113, 227, 0.05), rgba(0, 113, 227, 0.12));
}

.theme-dark .retail-trend-track {
  background: linear-gradient(180deg, rgba(90, 167, 255, 0.08), rgba(90, 167, 255, 0.18));
}

.retail-trend-fill {
  width: 56%;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(0, 113, 227, 0.65), rgba(0, 113, 227, 0.98));
  box-shadow: 0 6px 16px rgba(0, 113, 227, 0.14);
}

.retail-sector-board-card {
  align-self: start;
}

.retail-sector-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.retail-sector-list {
  display: grid;
  gap: 14px;
}

.retail-board-supplement-list {
  display: grid;
  gap: 12px;
  margin-bottom: 16px;
}

.retail-board-supplement-item {
  display: grid;
  gap: 10px;
  padding: 16px 18px;
  border-radius: 20px;
  border: 1px solid rgba(99, 102, 241, 0.14);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(244, 247, 255, 0.78));
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.04);
}

.retail-board-supplement-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.retail-sector-item {
  display: grid;
  gap: 12px;
  padding: 16px 18px;
  border-radius: 22px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
  transition: transform 0.34s ease, box-shadow 0.34s ease, border-color 0.34s ease;
}

.theme-dark .retail-sector-item,
.theme-dark .retail-post-item,
.theme-dark .retail-board-supplement-item {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(24, 30, 43, 0.92);
}

.theme-dark .retail-sample-live {
  color: #6ee7b7;
  background: rgba(16, 185, 129, 0.18);
  border-color: rgba(16, 185, 129, 0.22);
}

.theme-dark .retail-sample-thin {
  color: #fbbf24;
  background: rgba(245, 158, 11, 0.16);
  border-color: rgba(245, 158, 11, 0.22);
}

.theme-dark .retail-sample-empty {
  color: #94a3b8;
  background: rgba(100, 116, 139, 0.2);
  border-color: rgba(100, 116, 139, 0.24);
}

.theme-dark .retail-sector-item.is-sample-empty {
  border-color: rgba(100, 116, 139, 0.2);
  background: rgba(28, 34, 48, 0.88);
}

.theme-dark .retail-sector-item.is-sample-empty .retail-sector-bar-fill {
  background: linear-gradient(90deg, rgba(100, 116, 139, 0.5), rgba(148, 163, 184, 0.74));
}

.retail-sector-head,
.retail-sector-meta,
.retail-sector-compare {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}

.retail-sector-head-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.retail-sector-meta,
.retail-sector-compare {
  font-size: 12px;
  color: var(--muted);
}

.retail-sector-bar {
  width: 100%;
  height: 10px;
  border-radius: 999px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(0, 113, 227, 0.08), rgba(0, 113, 227, 0.15));
}

.retail-sector-bar-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(0, 113, 227, 0.68), rgba(76, 160, 255, 0.98));
  box-shadow: 0 6px 16px rgba(0, 113, 227, 0.14);
}

.retail-sample-chip {
  font-weight: 700;
}

.retail-sample-live {
  color: #0f766e;
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.18);
}

.retail-sample-thin {
  color: #9a6700;
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(245, 158, 11, 0.18);
}

.retail-sample-empty {
  color: #64748b;
  background: rgba(148, 163, 184, 0.14);
  border-color: rgba(148, 163, 184, 0.2);
}

.retail-sector-item.is-sample-thin {
  border-color: rgba(245, 158, 11, 0.16);
}

.retail-sector-item.is-sample-empty {
  border-color: rgba(148, 163, 184, 0.18);
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.86), rgba(243, 246, 251, 0.78));
}

.retail-sector-item.is-sample-empty .retail-sector-bar-fill {
  background: linear-gradient(90deg, rgba(148, 163, 184, 0.42), rgba(203, 213, 225, 0.72));
  box-shadow: none;
}

.retail-delta {
  font-weight: 700;
}

.retail-delta.tone-up {
  color: #d61f52;
}

.retail-delta.tone-down {
  color: #315dd8;
}

.retail-delta.tone-flat {
  color: #64748b;
}

.retail-stage-chip {
  font-weight: 700;
}

.retail-source-status {
  margin-bottom: 14px;
}

.retail-post-list {
  display: grid;
  gap: 14px;
}

.retail-post-item {
  display: grid;
  gap: 10px;
  padding: 16px 18px;
  border-radius: 22px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
  transition: transform 0.34s ease, box-shadow 0.34s ease, border-color 0.34s ease;
}

.retail-stat-card:hover,
.retail-platform-card:hover,
.retail-sector-item:hover,
.retail-post-item:hover,
.retail-theme-table-card:hover,
.retail-keyword-card:hover,
.retail-hot-posts-card:hover,
.retail-community-table-card:hover,
.retail-sector-board-card:hover,
.retail-community-hero:hover,
.retail-guba-analysis:hover,
.retail-sentiment-meter-card:hover,
.retail-trend-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.08);
  border-color: rgba(0, 113, 227, 0.12);
}

.retail-grid > .hero-card,
.retail-status-grid > .hero-card {
  align-self: start;
}

.theme-dark .retail-post-meta a {
  color: #8fc4ff;
}

.retail-post-head,
.retail-post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.retail-post-head {
  justify-content: space-between;
}

.retail-post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.retail-tone-bullish {
  color: #0f8a4b;
  border-color: rgba(15, 138, 75, 0.18);
  background: rgba(15, 138, 75, 0.08);
}

.retail-tone-bearish {
  color: #b42318;
  border-color: rgba(180, 35, 24, 0.18);
  background: rgba(180, 35, 24, 0.08);
}

.retail-tone-mixed {
  color: #6b7280;
  border-color: rgba(107, 114, 128, 0.18);
  background: rgba(107, 114, 128, 0.08);
}

.theme-dark .retail-heat-pill-hot {
  border-color: rgba(255, 104, 134, 0.28);
  background: linear-gradient(135deg, rgba(255, 104, 134, 0.18), rgba(255, 255, 255, 0.05));
  color: #ffb5c6;
}

.theme-dark .retail-heat-pill-warm {
  border-color: rgba(255, 177, 82, 0.28);
  background: linear-gradient(135deg, rgba(255, 177, 82, 0.18), rgba(255, 255, 255, 0.05));
  color: #ffd7a6;
}

.theme-dark .retail-heat-pill-balanced {
  border-color: rgba(52, 211, 153, 0.28);
  background: linear-gradient(135deg, rgba(52, 211, 153, 0.18), rgba(255, 255, 255, 0.05));
  color: #a7f3d0;
}

.theme-dark .retail-heat-pill-cool {
  border-color: rgba(102, 146, 255, 0.28);
  background: linear-gradient(135deg, rgba(102, 146, 255, 0.20), rgba(255, 255, 255, 0.05));
  color: #bed3ff;
}

.theme-dark .retail-heat-pill-neutral {
  border-color: rgba(148, 163, 184, 0.22);
  background: linear-gradient(135deg, rgba(148, 163, 184, 0.14), rgba(255, 255, 255, 0.04));
  color: #cbd5e1;
}

.theme-dark .retail-delta.tone-up {
  color: #ffb5c6;
}

.theme-dark .retail-delta.tone-down {
  color: #bed3ff;
}

.theme-dark .retail-delta.tone-flat {
  color: #cbd5e1;
}

.retail-post-meta {
  color: var(--muted);
  font-size: 12px;
}

.retail-post-meta a {
  color: #0071e3;
  text-decoration: none;
}

@media (max-width: 980px) {
  .retail-grid {
    grid-template-columns: 1fr;
  }

  .retail-community-top {
    grid-template-columns: 1fr;
  }

  .retail-hero {
    padding: 24px 22px;
  }

  .retail-hero-shell {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .retail-status-grid,
  .retail-community-stats,
  .retail-platform-cards {
    grid-template-columns: 1fr;
  }

  .retail-trend-strip {
    gap: 4px;
    padding: 8px;
  }
}


/* Retail heat layout tightening */
.retail-hero {
  padding: 24px 28px;
}

.retail-hero-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.8fr);
  gap: 18px;
  align-items: start;
}

.retail-hero-main {
  min-width: 0;
}

.retail-hero .title-large {
  margin: 8px 0 10px;
  font-size: clamp(30px, 3.8vw, 40px);
  letter-spacing: -0.035em;
}

.retail-hero > p,
.retail-hero-main > p {
  max-width: 840px;
  line-height: 1.65;
}

.retail-hero .hero-actions {
  margin: 16px 0 12px;
  gap: 8px;
}

.retail-sentiment-gantt-hero {
  padding: 18px 20px;
  border-radius: 24px;
}

.retail-grid {
  grid-template-columns: minmax(320px, 0.92fr) minmax(420px, 1.08fr);
  gap: 16px;
}

.retail-community-top {
  grid-column: 1 / -1;
  grid-template-columns: 1fr;
  gap: 16px;
}

.retail-community-stats {
  gap: 12px;
}

.retail-stat-card {
  padding: 16px 16px;
  border-radius: 22px;
}

.retail-trend-card,
.retail-sector-board-card,
.retail-community-table-card,
.retail-guba-analysis {
  padding: 18px 20px;
  border-radius: 24px;
}

.retail-left-stack {
  grid-column: 1;
  display: grid;
  gap: 16px;
  align-content: start;
}

.retail-trend-card {
  min-height: 0;
}

.retail-sector-board-card {
  grid-column: 2;
}

.retail-community-table-card {
  grid-column: 1 / -1;
}

.retail-guba-analysis {
  grid-column: 1 / -1;
}

.retail-trend-strip {
  gap: 6px;
  padding: 10px 12px;
}

.retail-sentiment-meter-card {
  padding: 18px 20px;
}

.retail-sentiment-meter {
  display: grid;
  gap: 12px;
  justify-items: center;
  margin-top: 12px;
}

.retail-sentiment-gauge {
  --gauge-angle: calc((var(--gauge-value, 0%) / 100%) * 180deg);
  width: 200px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, rgba(10, 14, 22, 0.96) 54%, transparent 55%),
    conic-gradient(from 180deg, rgba(90, 167, 255, 0.18) 0deg, rgba(90, 167, 255, 0.18) calc(180deg - var(--gauge-angle)), rgba(90, 167, 255, 0.92) calc(180deg - var(--gauge-angle)), rgba(132, 196, 255, 1) 180deg, transparent 180deg);
  position: relative;
  overflow: hidden;
}

.retail-sentiment-gauge::after {
  content: "";
  position: absolute;
  inset: 24% 24% 0 24%;
  background: linear-gradient(180deg, rgba(17, 22, 33, 0.98), rgba(11, 15, 24, 0.98));
  border-radius: 999px 999px 0 0;
}

.retail-sentiment-gauge-inner {
  position: absolute;
  inset: auto 0 22px 0;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 4px;
}

.retail-sentiment-gauge-inner strong {
  font-size: 40px;
  line-height: 1;
  color: #f8fbff;
}

.retail-sentiment-gauge-inner span {
  color: var(--muted);
  font-size: 13px;
}

.retail-sentiment-scale {
  width: min(220px, 100%);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 12px;
}

.retail-sector-list,
.retail-post-list,
.retail-gantt-list {
  gap: 12px;
}

@media (max-width: 980px) {
  .retail-hero-shell,
  .retail-grid,
  .retail-community-top,
  .retail-left-stack {
    grid-template-columns: 1fr;
  }

  .retail-left-stack,
  .retail-sector-board-card,
  .retail-community-table-card,
  .retail-guba-analysis {
    grid-column: auto;
  }
}


/* Retail heat V2 polish */
.retail-grid-v2 {
  align-items: start;
}

.retail-community-hero,
.retail-sector-board-card,
.retail-community-table-card,
.retail-theme-table-card,
.retail-keyword-card,
.retail-hot-posts-card,
.retail-guba-analysis {
  min-width: 0;
}

.retail-community-hero > p,
.retail-sector-board-card > p,
.retail-community-table-card > p,
.retail-theme-table-card > p,
.retail-keyword-card > p,
.retail-guba-analysis > p,
.retail-hot-posts-card > p {
  margin: 0 0 14px;
}

.retail-summary-grid {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 16px;
}

.retail-v3-shell {
  display: block;
}

.retail-v3-main {
  min-width: 0;
}

.retail-v3-rail {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin: 8px 0 22px;
  padding: 10px 12px 12px;
  position: sticky;
  top: 76px;
  z-index: 8;
  overflow: hidden;
  border-radius: 30px;
  border: 1px solid rgba(15, 23, 42, 0.06);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.995), rgba(247, 249, 253, 0.985));
  box-shadow: 0 16px 28px rgba(15, 23, 42, 0.08);
  backdrop-filter: none;
}

.retail-v3-rail-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: center;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 10px 18px rgba(15, 23, 42, 0.04);
  padding: 12px 16px;
  cursor: pointer;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease, background 0.28s ease;
}

.retail-v3-rail-item:hover {
  transform: translateY(-1px);
  border-color: rgba(0, 113, 227, 0.16);
  box-shadow: 0 14px 24px rgba(15, 23, 42, 0.07);
}

.retail-v3-rail-item.is-active {
  border-color: rgba(0, 113, 227, 0.2);
  background: linear-gradient(180deg, rgba(241, 247, 255, 0.98), rgba(232, 241, 255, 0.9));
  box-shadow: 0 16px 28px rgba(0, 113, 227, 0.1);
}

.retail-v3-rail-index {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.05);
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.retail-v3-rail-item.is-active .retail-v3-rail-index {
  background: rgba(0, 113, 227, 0.12);
  color: #0071e3;
}

.retail-v3-rail-copy {
  display: grid;
  gap: 3px;
  text-align: left;
}

.retail-v3-rail-copy strong {
  font-size: 14px;
  line-height: 1.15;
}

.retail-v3-rail-copy span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.25;
}

.retail-v3-rail-item.is-active .retail-v3-rail-copy span {
  color: rgba(0, 113, 227, 0.78);
}

.retail-v3-stage-shell {
  position: relative;
  scroll-margin-top: 116px;
}

.retail-v3-stage-shell::before {
  content: attr(data-stage-label);
  position: absolute;
  left: 0;
  top: -14px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(15, 23, 42, 0.08);
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.05);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.28s ease, transform 0.28s ease, color 0.28s ease, border-color 0.28s ease, background 0.28s ease;
  pointer-events: none;
  z-index: 2;
}

.retail-v3-stage-shell.is-stage-active::before {
  opacity: 1;
  transform: translateY(0);
  color: #0071e3;
  border-color: rgba(0, 113, 227, 0.18);
  background: linear-gradient(180deg, rgba(245, 250, 255, 0.98), rgba(234, 244, 255, 0.92));
}

.retail-v3-stage-shell::after {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 30px;
  pointer-events: none;
  border: 1px solid transparent;
  opacity: 0;
  transition: opacity 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.retail-v3-stage-shell.is-stage-active::after {
  opacity: 1;
  border-color: rgba(0, 113, 227, 0.12);
  box-shadow: 0 10px 24px rgba(0, 113, 227, 0.06);
}

.retail-theme-table-card,
.retail-keyword-card,
.retail-hot-posts-card {
  padding: 18px 20px;
  border-radius: 24px;
}

.retail-keyword-card .chip-list {
  gap: 10px;
}

.retail-hot-posts-card {
  grid-column: 1 / -1;
}

.theme-dark .retail-v3-rail-item {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(20, 26, 39, 0.74);
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.18);
}

.theme-dark .retail-v3-rail-item:hover {
  border-color: rgba(90, 167, 255, 0.2);
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.22);
}

.theme-dark .retail-v3-rail-item.is-active {
  border-color: rgba(90, 167, 255, 0.22);
  background: linear-gradient(180deg, rgba(25, 33, 50, 0.96), rgba(18, 26, 41, 0.94));
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.24);
}

.theme-dark .retail-v3-rail-index {
  background: rgba(255, 255, 255, 0.06);
  color: rgba(214, 222, 235, 0.78);
}

.theme-dark .retail-v3-rail-item.is-active .retail-v3-rail-index {
  background: rgba(90, 167, 255, 0.16);
  color: #8fc4ff;
}

.theme-dark .retail-v3-rail-copy span {
  color: rgba(214, 222, 235, 0.76);
}

.theme-dark .retail-v3-rail {
  border-color: rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(11, 16, 26, 0.995), rgba(11, 16, 26, 0.985));
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.2);
}

.theme-dark .retail-v3-rail-item.is-active .retail-v3-rail-copy span {
  color: rgba(143, 196, 255, 0.82);
}

.theme-dark .retail-v3-stage-shell::before {
  background: rgba(19, 26, 39, 0.94);
  border-color: rgba(255, 255, 255, 0.08);
  color: rgba(214, 222, 235, 0.72);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.22);
}

@media (min-width: 1180px) {
  .retail-v3-shell {
    display: grid;
    grid-template-columns: 272px minmax(0, 1fr);
    gap: 28px;
    align-items: start;
  }

  .retail-v3-rail-column {
    position: sticky;
    top: 92px;
    align-self: start;
    padding-top: 8px;
  }

  .retail-v3-main {
    min-width: 0;
    padding-top: 8px;
  }

  .retail-v3-stage-shell {
    scroll-margin-top: 96px;
  }

  .retail-v3-stage-shell::before,
  .retail-v3-stage-shell::after {
    display: none;
  }

  .retail-v3-rail {
    position: relative;
    top: 0;
    z-index: 1;
    grid-template-columns: 1fr;
    margin: 0;
    padding: 14px;
    gap: 14px;
    border-radius: 28px;
    border: 1px solid rgba(15, 23, 42, 0.06);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 249, 255, 0.96));
    box-shadow: 0 18px 34px rgba(15, 23, 42, 0.08);
    overflow: hidden;
  }

  .retail-v3-rail-item {
    min-height: 96px;
    padding: 18px 18px;
    border-radius: 24px;
  }

  .retail-v3-rail-index {
    width: 38px;
    height: 38px;
    border-radius: 14px;
    font-size: 13px;
  }

  .retail-v3-rail-copy {
    gap: 4px;
  }

  .retail-v3-rail-copy strong {
    font-size: 16px;
  }

  .retail-v3-rail-copy span {
    font-size: 13px;
  }

  .theme-dark .retail-v3-rail {
    border-color: rgba(255, 255, 255, 0.08);
    background: linear-gradient(180deg, rgba(11, 16, 26, 0.98), rgba(13, 19, 31, 0.96));
    box-shadow: 0 22px 38px rgba(0, 0, 0, 0.24);
  }
}

@media (max-width: 1180px) {
  .sandbox-command-layout,
  .sandbox-process-strip,
  .sandbox-path-grid {
    grid-template-columns: 1fr;
  }

  .sandbox-command-main h1 {
    font-size: clamp(42px, 10vw, 64px);
    line-height: 0.96;
  }

  .sandbox-command-main > p {
    max-width: none;
    font-size: 15px;
  }

  .sandbox-command-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sandbox-primary-event-card h2 {
    font-size: clamp(28px, 8vw, 42px);
  }
}

@media (max-width: 720px) {
  .sandbox-command-metrics {
    grid-template-columns: 1fr;
  }

  .sandbox-cyber-hero {
    padding: 22px;
  }

  .sandbox-hud-grid {
    gap: 12px;
    padding: 16px;
  }

  .sandbox-command-layout {
    gap: 16px;
  }

  .sandbox-primary-event-card,
  .sandbox-process-node,
  .sandbox-path-card {
    padding: 18px 16px;
  }

  .sandbox-process-node h3,
  .sandbox-path-card h3 {
    font-size: 18px;
  }
}

.theme-dark .retail-v3-stage-shell.is-stage-active::before {
  background: linear-gradient(180deg, rgba(20, 31, 48, 0.98), rgba(18, 27, 42, 0.94));
  border-color: rgba(90, 167, 255, 0.2);
  color: #8fc4ff;
}

.theme-dark .retail-v3-stage-shell.is-stage-active::after {
  border-color: rgba(90, 167, 255, 0.16);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
}

@keyframes retail-hero-rise {
  0% {
    transform: translateY(32px) scale(0.96);
  }
  72% {
    transform: translateY(-5px) scale(1.01);
  }
  100% {
    transform: translateY(0) scale(1);
  }
}

@keyframes retail-side-float {
  0% {
    transform: translateY(28px) scale(0.96) rotateX(-8deg);
  }
  72% {
    transform: translateY(-4px) scale(1.01) rotateX(1deg);
  }
  100% {
    transform: translateY(0) scale(1) rotateX(0deg);
  }
}

@keyframes retail-bar-bounce {
  0% {
    opacity: 0;
    transform: translateY(24px) scaleY(0.3);
  }
  72% {
    opacity: 1;
    transform: translateY(-3px) scaleY(1.04);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scaleY(1);
  }
}

@media (max-width: 980px) {
  .retail-v3-rail {
    grid-template-columns: 1fr;
    position: static;
  }

  .retail-v3-stage-shell::before,
  .retail-v3-stage-shell::after {
    display: none;
  }

  .retail-summary-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .retail-reveal,
  .retail-stagger > *,
  .retail-v3-stage-shell::before,
  .retail-v3-stage-shell::after {
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
  }
}

@media (max-width: 980px) {
  .sandbox-v3-rail {
    grid-template-columns: 1fr;
    position: static;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sandbox-v3-stage-shell::before,
  .sandbox-v3-stage-shell::after {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
  }
}

.shortline-page .page-shell::before {
  content: "";
  position: fixed;
  inset: 72px 0 0;
  background:
    radial-gradient(circle at 18% 10%, rgba(255, 96, 160, 0.08), transparent 30%),
    radial-gradient(circle at 82% 12%, rgba(74, 122, 255, 0.12), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 26%);
  pointer-events: none;
  z-index: -1;
}

.shortline-shell {
  display: grid;
  gap: 28px;
  max-width: 1480px;
  margin: 0 auto;
}

.shortline-hero,
.shortline-grid,
.shortline-grid-secondary {
  display: grid;
  gap: 24px;
}

.shortline-hero {
  grid-template-columns: minmax(0, 1.2fr) minmax(360px, 0.8fr);
  align-items: stretch;
}

.shortline-hero-v4 {
  grid-template-columns: minmax(0, 1.12fr) minmax(380px, 0.88fr);
}

.shortline-grid {
  grid-template-columns: minmax(0, 1.16fr) minmax(340px, 0.84fr);
}

.shortline-grid-secondary {
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 1fr);
}

.shortline-hero-copy,
.shortline-supernews-card,
.shortline-panel {
  position: relative;
  overflow: hidden;
  padding: 32px;
  border-radius: 32px;
}

.shortline-hero-copy {
  display: grid;
  align-content: start;
}

.shortline-headline-stack {
  display: grid;
  gap: 12px;
}

.shortline-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(76, 125, 255, 0.18);
  background: linear-gradient(135deg, rgba(76, 125, 255, 0.1), rgba(255, 91, 143, 0.06));
  color: #3c66d8;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.shortline-hero-copy::before,
.shortline-supernews-card::before,
.shortline-panel::before {
  content: "";
  position: absolute;
  inset: auto;
  width: 220px;
  height: 220px;
  border-radius: 999px;
  pointer-events: none;
  filter: blur(8px);
}

.shortline-hero-copy::before {
  top: -72px;
  right: -44px;
  background: radial-gradient(circle, rgba(80, 126, 255, 0.18), rgba(80, 126, 255, 0));
}

.shortline-supernews-card::before {
  top: -58px;
  left: -54px;
  background: radial-gradient(circle, rgba(255, 96, 160, 0.14), rgba(255, 96, 160, 0));
}

.shortline-panel::before {
  top: -84px;
  left: -58px;
  background: radial-gradient(circle, rgba(94, 140, 255, 0.12), rgba(94, 140, 255, 0));
}

.shortline-hero-topbar,
.shortline-supernews-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}

.shortline-hero-copy h1 {
  margin: 0 0 16px;
  max-width: 8.2ch;
  font-size: clamp(38px, 4.7vw, 60px);
  line-height: 1.02;
  letter-spacing: -0.045em;
  font-weight: 800;
  text-wrap: balance;
}

.shortline-hero-v4 .shortline-hero-copy h1 {
  max-width: none;
  margin-bottom: 10px;
  font-size: clamp(32px, 3.8vw, 52px);
  letter-spacing: -0.05em;
}

.shortline-hero-lead {
  max-width: 42ch;
  margin: 0;
  font-size: 19px;
  line-height: 1.75;
  color: color-mix(in srgb, var(--text) 72%, var(--muted) 28%);
}

.shortline-hero-v4 .shortline-hero-lead {
  max-width: 46ch;
  font-size: 17px;
  line-height: 1.72;
}

.shortline-compass-card {
  margin-top: 24px;
  padding: 24px;
  border-radius: 28px;
  border: 1px solid rgba(123, 141, 188, 0.16);
  background:
    radial-gradient(circle at 50% 50%, rgba(82, 132, 255, 0.08), transparent 56%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(246, 248, 255, 0.72));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.62), 0 26px 60px rgba(111, 130, 176, 0.08);
}

.shortline-compass-head {
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(0, 0.72fr) minmax(260px, 0.64fr);
  align-items: end;
  margin-bottom: 22px;
}

.shortline-compass-head h2 {
  margin: 0;
  font-size: clamp(26px, 2.4vw, 34px);
  letter-spacing: -0.03em;
}

.shortline-compass-head .muted {
  margin: 0;
  max-width: 30ch;
  justify-self: end;
}

.shortline-compass {
  position: relative;
  min-height: 420px;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(123, 141, 188, 0.14);
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, 0.86), rgba(241, 245, 255, 0.42)),
    linear-gradient(135deg, rgba(76, 125, 255, 0.05), rgba(255, 91, 143, 0.04));
}

.shortline-energy-compass {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.56),
    0 0 0 1px rgba(76, 125, 255, 0.04),
    0 32px 72px rgba(82, 110, 176, 0.12);
}

.shortline-compass-sweep,
.shortline-compass-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.shortline-compass-sweep {
  background: conic-gradient(from 0deg, rgba(76, 125, 255, 0.16), transparent 18%, transparent 78%, rgba(255, 91, 143, 0.08));
  mix-blend-mode: screen;
  opacity: 0.52;
  animation: shortlineSweep 11s linear infinite;
}

.shortline-compass-grid.grid-a {
  background-image:
    linear-gradient(rgba(92, 118, 180, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(92, 118, 180, 0.06) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(circle at center, black 42%, transparent 82%);
}

.shortline-compass-grid.grid-b {
  background: radial-gradient(circle at center, rgba(76, 125, 255, 0.08), transparent 56%);
}

@keyframes shortlineSweep {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.shortline-compass-ring,
.shortline-compass-axis {
  position: absolute;
  pointer-events: none;
}

.shortline-compass-ring {
  border: 1px solid rgba(88, 120, 190, 0.14);
  border-radius: 50%;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.shortline-compass-ring.ring-a { width: 168px; height: 168px; }
.shortline-compass-ring.ring-b { width: 264px; height: 264px; }
.shortline-compass-ring.ring-c { width: 348px; height: 348px; }

.shortline-compass-axis {
  background: linear-gradient(90deg, transparent, rgba(88, 120, 190, 0.14), transparent);
}

.shortline-compass-axis.axis-x {
  left: 56px;
  right: 56px;
  top: 50%;
  height: 1px;
}

.shortline-compass-axis.axis-y {
  top: 52px;
  bottom: 52px;
  left: 50%;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(88, 120, 190, 0.14), transparent);
}

.shortline-compass-mark {
  position: absolute;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(76, 95, 138, 0.54);
}

.shortline-compass-mark.mark-n { top: 18px; left: 50%; transform: translateX(-50%); }
.shortline-compass-mark.mark-e { right: 20px; top: 50%; transform: translateY(-50%); }
.shortline-compass-mark.mark-s { bottom: 18px; left: 50%; transform: translateX(-50%); }
.shortline-compass-mark.mark-w { left: 20px; top: 50%; transform: translateY(-50%); }

.shortline-compass-center,
.shortline-compass-node {
  position: absolute;
  display: grid;
  gap: 4px;
  place-items: center;
  text-align: center;
  border-radius: 26px;
  border: 1px solid rgba(123, 141, 188, 0.16);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 24px 48px rgba(111, 130, 176, 0.08);
}

.shortline-compass-center {
  left: 50%;
  top: 50%;
  width: 170px;
  height: 170px;
  transform: translate(-50%, -50%);
  background:
    radial-gradient(circle at 30% 28%, rgba(76, 125, 255, 0.16), transparent 46%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(247, 248, 255, 0.86));
  border-color: rgba(76, 125, 255, 0.24);
  box-shadow:
    0 0 0 1px rgba(76, 125, 255, 0.08),
    0 24px 64px rgba(76, 125, 255, 0.16),
    inset 0 0 48px rgba(76, 125, 255, 0.08);
}

.shortline-compass-center span,
.shortline-compass-node-rank {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.shortline-compass-center strong {
  font-size: 30px;
  line-height: 1;
  letter-spacing: -0.05em;
}

.shortline-compass-center em {
  font-style: normal;
  color: #3c66d8;
  font-weight: 700;
}

.shortline-compass-node {
  width: 136px;
  min-height: 104px;
  padding: 16px 14px;
  backdrop-filter: blur(12px);
}

.shortline-compass-node strong {
  font-size: 20px;
  line-height: 1.15;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.shortline-compass-node span:last-child {
  color: #3c66d8;
  font-weight: 700;
}

.shortline-compass-node.is-north {
  left: 50%;
  top: 38px;
  transform: translateX(-50%);
}

.shortline-compass-node.is-east {
  right: 44px;
  top: 50%;
  transform: translateY(-50%);
}

.shortline-compass-node.is-south {
  left: 50%;
  bottom: 38px;
  transform: translateX(-50%);
}

.shortline-compass-node.is-west {
  left: 44px;
  top: 50%;
  transform: translateY(-50%);
}

.shortline-compass-hud {
  display: grid;
  gap: 14px;
  margin: 18px 0 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.shortline-hud-card {
  padding: 16px 18px;
  border-radius: 22px;
  border: 1px solid rgba(123, 141, 188, 0.16);
  background: rgba(255, 255, 255, 0.68);
}

.shortline-hud-card strong {
  display: block;
  margin: 8px 0 6px;
  font-size: 20px;
  letter-spacing: -0.03em;
}

.shortline-hud-card .muted {
  margin: 0;
  line-height: 1.7;
}

.shortline-command-card {
  margin-top: 24px;
  padding: 22px 24px;
  border-radius: 26px;
  border: 1px solid rgba(123, 141, 188, 0.16);
  background:
    linear-gradient(135deg, rgba(255, 96, 160, 0.08), rgba(87, 130, 255, 0.06)),
    rgba(255, 255, 255, 0.62);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.56);
}

.shortline-command-card h2 {
  margin: 8px 0 10px;
  max-width: 18ch;
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.24;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.shortline-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.shortline-chip-strong {
  border-color: rgba(76, 125, 255, 0.24);
  background: linear-gradient(135deg, rgba(76, 125, 255, 0.14), rgba(255, 96, 160, 0.08));
  color: #2d63dc;
}

.shortline-metrics,
.shortline-path-grid,
.shortline-catalyst-grid,
.shortline-anchor-list,
.shortline-sector-list,
.shortline-timeline {
  display: grid;
  gap: 16px;
}

.shortline-anchor-sections {
  display: grid;
  gap: 18px;
}

.shortline-anchor-group {
  display: grid;
  gap: 14px;
}

.shortline-anchor-group-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.shortline-anchor-group-head strong {
  font-size: 16px;
  line-height: 1.2;
}

.shortline-anchor-group-head span {
  font-size: 12px;
  color: var(--muted);
}

.shortline-anchor-empty {
  padding: 14px 2px 0;
}

.shortline-triple-signal-bar {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.shortline-triple-signal-card {
  border: 1px solid rgba(123, 141, 188, 0.18);
  background: rgba(255, 255, 255, 0.78);
  border-radius: 22px;
  padding: 16px 18px;
  box-shadow: 0 18px 42px rgba(111, 130, 176, 0.08);
}

.shortline-triple-signal-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.shortline-triple-signal-head span {
  font-size: 13px;
  font-weight: 700;
}

.shortline-triple-signal-head strong {
  font-size: 24px;
  line-height: 1;
}

.shortline-triple-signal-track {
  height: 9px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(102, 118, 160, 0.12);
}

.shortline-triple-signal-fill {
  height: 100%;
  border-radius: inherit;
}

.shortline-triple-signal-card small {
  display: block;
  margin-top: 10px;
  font-size: 12px;
  color: var(--muted);
}

.shortline-triple-signal-card.is-policy .shortline-triple-signal-fill {
  background: linear-gradient(90deg, rgba(76, 125, 255, 0.9), rgba(121, 102, 255, 0.95));
}

.shortline-triple-signal-card.is-industry .shortline-triple-signal-fill {
  background: linear-gradient(90deg, rgba(89, 208, 166, 0.92), rgba(65, 160, 255, 0.9));
}

.shortline-triple-signal-card.is-market .shortline-triple-signal-fill {
  background: linear-gradient(90deg, rgba(255, 130, 112, 0.92), rgba(255, 92, 142, 0.95));
}

.shortline-metrics {
  margin-top: 24px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.shortline-metric-card,
.shortline-path-card,
.shortline-catalyst-card,
.shortline-sector-card,
.shortline-anchor-card,
.shortline-timeline-body {
  border: 1px solid rgba(123, 141, 188, 0.16);
  background: rgba(255, 255, 255, 0.78);
  border-radius: 26px;
  box-shadow: 0 24px 54px rgba(111, 130, 176, 0.08);
}

.shortline-metric-card,
.shortline-path-card,
.shortline-catalyst-card,
.shortline-anchor-card,
.shortline-timeline-body {
  padding: 18px 20px;
}

.shortline-metric-label {
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.shortline-metric-card strong {
  display: block;
  font-size: 19px;
  line-height: 1.45;
}

.shortline-supernews-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100%;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(245, 248, 255, 0.74)),
    rgba(255, 255, 255, 0.66);
}

.shortline-supernews-card h2 {
  margin: 0 0 14px;
  font-size: clamp(30px, 3.1vw, 46px);
  line-height: 1.06;
  letter-spacing: -0.04em;
  font-weight: 800;
  max-width: 12ch;
  word-break: break-word;
  overflow-wrap: anywhere;
  text-wrap: pretty;
}

.shortline-supernews-v4 h2 {
  max-width: 10.5ch;
  font-size: clamp(28px, 2.8vw, 40px);
  line-height: 1.08;
}

.shortline-supernews-summary {
  max-width: 36ch;
  font-size: 16px;
  line-height: 1.72;
}

.shortline-terminal-bar {
  display: grid;
  grid-template-columns: repeat(3, max-content);
  gap: 10px;
  margin-bottom: 16px;
  color: rgba(88, 110, 168, 0.72);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.shortline-terminal-feed {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.shortline-terminal-row {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 12px 14px;
  border-radius: 18px;
  border: 1px solid rgba(123, 141, 188, 0.14);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(247, 249, 255, 0.62));
}

.shortline-terminal-copy {
  display: grid;
  gap: 6px;
}

.shortline-terminal-copy strong {
  font-size: 16px;
  line-height: 1.45;
  letter-spacing: -0.02em;
}

.shortline-terminal-copy span {
  color: var(--muted);
  font-size: 13px;
}

.shortline-terminal-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.shortline-terminal-stats > div {
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(123, 141, 188, 0.14);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(246, 248, 255, 0.64));
  display: grid;
  gap: 4px;
}

.shortline-terminal-stats span {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.shortline-terminal-stats strong {
  font-size: 24px;
  line-height: 1;
  letter-spacing: -0.04em;
}

.shortline-pulse-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #ff5b8f;
  box-shadow: 0 0 0 8px rgba(255, 91, 143, 0.14), 0 0 24px rgba(255, 91, 143, 0.44);
}

.shortline-focus-panel {
  margin-top: 24px;
  padding: 20px 22px;
  border-radius: 24px;
  border: 1px solid rgba(123, 141, 188, 0.16);
  background: rgba(255, 255, 255, 0.62);
  backdrop-filter: blur(12px);
}

.shortline-focus-panel h3 {
  margin: 8px 0 10px;
  font-size: 24px;
}

.shortline-focus-panel-v4 {
  margin-top: 18px;
}

.shortline-signal-strip {
  margin-top: 18px;
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.shortline-signal-card {
  position: relative;
  overflow: hidden;
  padding: 16px 18px;
  border-radius: 22px;
  border: 1px solid rgba(123, 141, 188, 0.16);
  background: rgba(255, 255, 255, 0.76);
}

.shortline-signal-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, rgba(76, 125, 255, 0.88), rgba(255, 91, 143, 0.66));
}

.shortline-signal-card.is-trigger::before {
  background: linear-gradient(90deg, rgba(255, 91, 143, 0.9), rgba(255, 168, 94, 0.74));
}

.shortline-signal-card.is-confirm::before {
  background: linear-gradient(90deg, rgba(76, 125, 255, 0.94), rgba(128, 173, 255, 0.72));
}

.shortline-signal-card.is-spread::before {
  background: linear-gradient(90deg, rgba(86, 185, 255, 0.92), rgba(105, 123, 255, 0.74));
}

.shortline-signal-card.is-risk::before {
  background: linear-gradient(90deg, rgba(255, 168, 94, 0.92), rgba(255, 91, 143, 0.72));
}

.shortline-signal-card span {
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.shortline-signal-card strong {
  font-size: 28px;
  line-height: 1;
  letter-spacing: -0.04em;
}

.shortline-desk-table {
  display: grid;
  gap: 10px;
}

.shortline-desk-head,
.shortline-desk-row {
  display: grid;
  grid-template-columns: minmax(220px, 0.86fr) minmax(170px, 0.58fr) minmax(180px, 0.42fr) 92px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}

.shortline-desk-head {
  padding: 0 6px 8px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.shortline-desk-row {
  padding: 18px 16px;
  border-radius: 22px;
  border: 1px solid rgba(123, 141, 188, 0.14);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 18px 44px rgba(111, 130, 176, 0.07);
}

.shortline-desk-row.is-lead {
  border-color: rgba(76, 125, 255, 0.24);
  background:
    linear-gradient(135deg, rgba(76, 125, 255, 0.09), rgba(255, 96, 160, 0.04)),
    rgba(255, 255, 255, 0.82);
  box-shadow: 0 24px 60px rgba(76, 125, 255, 0.14);
}

.shortline-desk-theme {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.shortline-desk-rank {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(74, 122, 255, 0.2), rgba(255, 91, 143, 0.08));
  color: #335fd0;
  font-size: 18px;
  font-weight: 800;
}

.shortline-desk-theme strong,
.shortline-desk-headline strong {
  display: block;
  margin: 0;
  font-size: 18px;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.shortline-desk-theme span,
.shortline-desk-score em,
.shortline-desk-metrics span,
.shortline-desk-risk span,
.shortline-desk-headline span {
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
}

.shortline-desk-score {
  display: grid;
  gap: 6px;
}

.shortline-desk-score strong,
.shortline-desk-risk strong {
  font-size: 28px;
  line-height: 1;
  letter-spacing: -0.04em;
}

.shortline-desk-bar {
  position: relative;
  height: 8px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(109, 129, 179, 0.14);
}

.shortline-desk-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(76, 125, 255, 0.95), rgba(255, 91, 143, 0.72));
  box-shadow: 0 0 16px rgba(76, 125, 255, 0.24);
}

.shortline-desk-metrics {
  display: grid;
  gap: 6px;
}

.shortline-desk-risk {
  display: grid;
  justify-items: start;
  gap: 6px;
}

.shortline-desk-headline {
  display: grid;
  gap: 6px;
}

.shortline-focus-list {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 10px;
  line-height: 1.75;
}

.shortline-panel-head {
  display: grid;
  gap: 10px;
  margin-bottom: 20px;
  align-items: end;
  grid-template-columns: minmax(0, 0.7fr) minmax(260px, 0.56fr);
}

.shortline-logic-head {
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr);
  align-items: end;
}

.shortline-panel-head h2 {
  margin: 0;
  font-size: clamp(27px, 2.6vw, 34px);
  letter-spacing: -0.03em;
}

.shortline-panel-head .muted {
  margin: 0;
  justify-self: end;
  max-width: 34ch;
}

.shortline-logic-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 18px;
}

.shortline-logic-card {
  position: relative;
  overflow: hidden;
  padding: 22px 20px;
  border-radius: 24px;
  border: 1px solid rgba(123, 141, 188, 0.16);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 22px 48px rgba(111, 130, 176, 0.08);
}

.shortline-logic-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, rgba(76, 125, 255, 0.92), rgba(255, 91, 143, 0.72));
}

.shortline-logic-card.is-trigger::before {
  background: linear-gradient(90deg, rgba(255, 91, 143, 0.94), rgba(255, 168, 94, 0.72));
}

.shortline-logic-card.is-confirm::before {
  background: linear-gradient(90deg, rgba(76, 125, 255, 0.92), rgba(110, 156, 255, 0.72));
}

.shortline-logic-card.is-spread::before {
  background: linear-gradient(90deg, rgba(86, 185, 255, 0.92), rgba(105, 123, 255, 0.72));
}

.shortline-logic-card.is-risk::before {
  background: linear-gradient(90deg, rgba(255, 168, 94, 0.92), rgba(255, 91, 143, 0.66));
}

.shortline-logic-label {
  display: block;
  margin-bottom: 10px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.shortline-logic-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 34px;
  line-height: 1;
  letter-spacing: -0.04em;
}

.shortline-sector-card {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  padding: 22px;
}

.shortline-sector-card.is-lead {
  border-color: rgba(76, 125, 255, 0.24);
  box-shadow: 0 26px 64px rgba(76, 125, 255, 0.13);
  background:
    linear-gradient(135deg, rgba(76, 125, 255, 0.08), rgba(255, 96, 160, 0.04)),
    rgba(255, 255, 255, 0.82);
}

.shortline-sector-rank {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(74, 122, 255, 0.2), rgba(255, 91, 143, 0.08));
  color: #335fd0;
  font-size: 24px;
  font-weight: 800;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.62);
}

.shortline-sector-topline {
  display: grid;
  gap: 12px;
  margin-bottom: 12px;
}

.shortline-sector-title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.shortline-sector-topline h3,
.shortline-catalyst-card h3 {
  margin: 0;
  font-size: clamp(22px, 2.1vw, 28px);
  line-height: 1.26;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.shortline-headline-block {
  display: grid;
  gap: 10px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(123, 141, 188, 0.14);
}

.shortline-headline-block strong {
  font-size: 18px;
  line-height: 1.6;
}

.shortline-anchor-card {
  display: grid;
  gap: 12px;
}

.nav-dropdown-logic .nav-menu {
  min-width: 260px;
  left: 0;
  right: auto;
  top: calc(100% + 10px);
  transform: translateY(-8px) scaleY(0.92);
  transform-origin: top left;
}

.nav-dropdown-logic:hover .nav-menu,
.nav-dropdown-logic:focus-within .nav-menu,
.nav-dropdown-logic.is-open .nav-menu {
  transform: translateY(0) scaleY(1);
}

.shortline-anchor-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.shortline-anchor-top strong {
  font-size: 24px;
  letter-spacing: -0.02em;
}

.shortline-timeline {
  position: relative;
  gap: 18px;
}

.shortline-timeline::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 14px;
  bottom: 14px;
  width: 2px;
  background: linear-gradient(180deg, rgba(76, 125, 255, 0.5), rgba(255, 91, 143, 0.12));
}

.shortline-timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.shortline-timeline-node {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-top: 4px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(76, 125, 255, 0.92), rgba(255, 91, 143, 0.82));
  color: #fff;
  font-weight: 700;
  box-shadow: 0 0 0 8px rgba(76, 125, 255, 0.08);
}

.shortline-timeline-top {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.shortline-timeline-body h3 {
  margin: 0 0 10px;
  font-size: 21px;
  line-height: 1.55;
  letter-spacing: -0.02em;
}

.shortline-path-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.shortline-path-card {
  display: grid;
  gap: 12px;
}

.shortline-catalyst-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.theme-dark .shortline-chip-strong {
  border-color: rgba(140, 170, 255, 0.28);
  background: linear-gradient(135deg, rgba(95, 132, 255, 0.22), rgba(255, 91, 143, 0.1));
  color: #c9d6ff;
}

body.theme-dark .shortline-command-card,
body.theme-dark .shortline-focus-panel,
body.theme-dark .shortline-supernews-card,
body.theme-dark .shortline-logic-card,
body.theme-dark .shortline-metric-card,
body.theme-dark .shortline-path-card,
body.theme-dark .shortline-catalyst-card,
body.theme-dark .shortline-sector-card,
body.theme-dark .shortline-anchor-card,
body.theme-dark .shortline-timeline-body {
  background: rgba(18, 24, 38, 0.86);
  border-color: rgba(123, 141, 188, 0.18);
  box-shadow: 0 26px 62px rgba(4, 8, 17, 0.34);
}

body.theme-dark .shortline-supernews-card {
  background:
    linear-gradient(180deg, rgba(18, 24, 38, 0.92), rgba(12, 18, 31, 0.88)),
    rgba(18, 24, 38, 0.86);
}

body.theme-dark .shortline-kicker {
  border-color: rgba(140, 170, 255, 0.24);
  background: linear-gradient(135deg, rgba(95, 132, 255, 0.18), rgba(255, 91, 143, 0.08));
  color: #cad6ff;
}

body.theme-dark .shortline-compass-card,
body.theme-dark .shortline-compass-center,
body.theme-dark .shortline-compass-node,
body.theme-dark .shortline-signal-card {
  background: rgba(18, 24, 38, 0.84);
  border-color: rgba(123, 141, 188, 0.2);
  box-shadow: 0 24px 56px rgba(4, 8, 17, 0.3);
}

body.theme-dark .shortline-compass {
  background:
    radial-gradient(circle at center, rgba(27, 36, 57, 0.92), rgba(12, 18, 31, 0.74)),
    linear-gradient(135deg, rgba(76, 125, 255, 0.08), rgba(255, 91, 143, 0.06));
}

body.theme-dark .shortline-compass-mark {
  color: rgba(190, 205, 255, 0.44);
}

body.theme-dark .shortline-hud-card,
body.theme-dark .shortline-terminal-row,
body.theme-dark .shortline-terminal-stats > div,
body.theme-dark .shortline-desk-row {
  background: rgba(18, 24, 38, 0.84);
  border-color: rgba(123, 141, 188, 0.2);
}

body.theme-dark .shortline-desk-row.is-lead {
  background: linear-gradient(135deg, rgba(76, 125, 255, 0.14), rgba(255, 91, 143, 0.08)), rgba(18, 24, 38, 0.92);
  border-color: rgba(103, 133, 255, 0.34);
}

body.theme-dark .shortline-terminal-bar,
body.theme-dark .shortline-terminal-stats span,
body.theme-dark .shortline-desk-head,
body.theme-dark .shortline-desk-theme span,
body.theme-dark .shortline-desk-score em,
body.theme-dark .shortline-desk-metrics span,
body.theme-dark .shortline-desk-risk span,
body.theme-dark .shortline-desk-headline span {
  color: rgba(196, 210, 245, 0.68);
}

body.theme-dark .shortline-desk-rank {
  color: #d6e2ff;
}

@media (max-width: 1240px) {
  .shortline-hero,
  .shortline-grid,
  .shortline-grid-secondary,
  .shortline-logic-grid {
    grid-template-columns: 1fr;
  }

  .shortline-hero-v4 {
    grid-template-columns: 1fr;
  }

  .shortline-compass-head {
    grid-template-columns: 1fr;
  }

  .shortline-compass-head .muted {
    justify-self: start;
    max-width: none;
  }

  .shortline-desk-head {
    display: none;
  }

  .shortline-desk-row {
    grid-template-columns: minmax(0, 1fr) minmax(140px, 0.55fr);
  }

  .shortline-desk-headline {
    grid-column: 1 / -1;
  }
}

@media (max-width: 820px) {
  .shortline-shell {
    gap: 20px;
  }

  .shortline-hero-copy,
  .shortline-supernews-card,
  .shortline-panel {
    padding: 24px;
    border-radius: 26px;
  }

  .shortline-panel-head {
    grid-template-columns: 1fr;
  }

  .shortline-panel-head .muted {
    justify-self: start;
    max-width: none;
  }

  .shortline-hero-copy h1 {
    max-width: none;
    font-size: 42px;
  }

  .shortline-compass {
    min-height: 360px;
  }

  .shortline-compass-center {
    width: 150px;
    height: 150px;
  }

  .shortline-compass-node {
    width: 116px;
    min-height: 92px;
  }

  .shortline-terminal-stats,
  .shortline-signal-strip {
    grid-template-columns: 1fr 1fr;
  }

  .shortline-compass-hud {
    grid-template-columns: 1fr;
  }

  .shortline-supernews-card h2,
  .shortline-panel-head h2,
  .shortline-sector-topline h3,
  .shortline-timeline-body h3 {
    font-size: 24px;
  }

  .shortline-logic-head {
    grid-template-columns: 1fr;
  }

  .shortline-command-card h2 {
    font-size: 26px;
  }

  .shortline-metrics,
  .shortline-path-grid,
  .shortline-catalyst-grid {
    grid-template-columns: 1fr;
  }

  .shortline-sector-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .shortline-hero-copy h1 {
    font-size: 34px;
    line-height: 1.02;
  }

  .shortline-hero-lead {
    font-size: 16px;
    line-height: 1.7;
  }

  .shortline-hero-topbar,
  .shortline-supernews-head,
  .shortline-anchor-top,
  .shortline-sector-title {
    align-items: flex-start;
    flex-direction: column;
  }

  .shortline-sector-rank {
    width: 50px;
    height: 50px;
    font-size: 20px;
  }

  .shortline-compass {
    min-height: auto;
    display: grid;
    gap: 14px;
    padding: 18px;
  }

  .shortline-compass-ring,
  .shortline-compass-axis,
  .shortline-compass-mark {
    display: none;
  }

  .shortline-compass-center,
  .shortline-compass-node,
  .shortline-compass-node.is-north,
  .shortline-compass-node.is-east,
  .shortline-compass-node.is-south,
  .shortline-compass-node.is-west {
    position: static;
    transform: none;
    width: auto;
    min-height: 0;
  }

  .shortline-compass-center {
    padding: 18px;
  }

  .shortline-terminal-stats,
  .shortline-signal-strip {
    grid-template-columns: 1fr;
  }

  .shortline-desk-row {
    grid-template-columns: 1fr;
  }

  .shortline-desk-score,
  .shortline-desk-metrics,
  .shortline-desk-risk {
    justify-items: start;
  }

  .shortline-timeline::before {
    display: none;
  }

  .shortline-timeline-item {
    grid-template-columns: 1fr;
  }

  .shortline-timeline-node {
    margin-top: 0;
  }
}

@media (min-width: 1241px) {
  .shortline-anchor-panel,
  .shortline-grid-secondary > :last-child {
    position: sticky;
    top: 104px;
    align-self: start;
  }
}

/* Shortline v5 tech terminal */
.shortline-shell-v5 {
  gap: 30px;
}

.shortline-shell-v5 [data-tilt-card] {
  transform-style: preserve-3d;
  transition: transform 180ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.shortline-shell-v5 [data-tilt-card]::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: radial-gradient(circle at var(--pointer-x, 50%) var(--pointer-y, 50%), rgba(255,255,255,0.22), transparent 32%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 180ms ease;
}

.shortline-shell-v5 [data-tilt-card]:hover::after {
  opacity: 1;
}

.shortline-hero-v5 {
  grid-template-columns: minmax(0, 1.08fr) minmax(430px, 0.92fr);
  gap: 28px;
}

.shortline-hero-copy-v5 {
  background:
    radial-gradient(circle at 88% 14%, rgba(76, 125, 255, 0.16), transparent 22%),
    radial-gradient(circle at 12% 92%, rgba(255, 91, 143, 0.12), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(247, 249, 255, 0.8));
}

.shortline-live-ribbon,
.shortline-meta-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.shortline-headline-stack-v5 {
  margin-top: 10px;
  gap: 14px;
}

.shortline-headline-stack-v5 h1 {
  position: relative;
  display: inline-block;
  margin-bottom: 6px;
}

.shortline-headline-stack-v5 h1::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 120px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(76, 125, 255, 0.96), rgba(255, 91, 143, 0.74));
  box-shadow: 0 0 22px rgba(76, 125, 255, 0.32);
}

.shortline-command-card-v5 {
  background:
    linear-gradient(135deg, rgba(76, 125, 255, 0.08), rgba(255, 91, 143, 0.04)),
    rgba(255, 255, 255, 0.76);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.56), 0 26px 60px rgba(99, 114, 155, 0.08);
}

.shortline-compass-card-v5 {
  position: relative;
}

.shortline-compass-card-v5::after {
  content: "";
  position: absolute;
  right: 22px;
  top: 22px;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(76, 125, 255, 0.16), transparent 68%);
  filter: blur(6px);
  pointer-events: none;
}

.shortline-energy-compass-v5 {
  background:
    radial-gradient(circle at center, rgba(247, 250, 255, 0.92), rgba(240, 244, 255, 0.82)),
    linear-gradient(135deg, rgba(76, 125, 255, 0.06), rgba(255, 91, 143, 0.05));
}

.shortline-energy-halo,
.shortline-compass-vector {
  position: absolute;
  pointer-events: none;
}

.shortline-energy-halo {
  left: 50%;
  top: 50%;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  mix-blend-mode: screen;
}

.shortline-energy-halo.halo-a {
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(76, 125, 255, 0.16), transparent 70%);
  animation: shortlinePulse 4.6s ease-in-out infinite;
}

.shortline-energy-halo.halo-b {
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(86, 185, 255, 0.12), transparent 72%);
  animation: shortlinePulse 6.4s ease-in-out infinite reverse;
}

.shortline-energy-halo.halo-c {
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(255, 91, 143, 0.08), transparent 76%);
  animation: shortlinePulse 7.2s ease-in-out infinite;
}

@keyframes shortlinePulse {
  0%, 100% { opacity: 0.44; transform: translate(-50%, -50%) scale(0.96); }
  50% { opacity: 0.88; transform: translate(-50%, -50%) scale(1.04); }
}

.shortline-compass-vector {
  left: 50%;
  top: 50%;
  width: 1px;
  height: 132px;
  transform-origin: top center;
  background: linear-gradient(180deg, rgba(76, 125, 255, 0.32), transparent);
}

.shortline-compass-vector.is-north { transform: translate(-50%, -100%) rotate(0deg); }
.shortline-compass-vector.is-east { transform: translate(-50%, -50%) rotate(90deg); }
.shortline-compass-vector.is-south { transform: translate(-50%, 0%) rotate(180deg); }
.shortline-compass-vector.is-west { transform: translate(-50%, -50%) rotate(-90deg); }

.shortline-compass-center {
  box-shadow:
    0 0 0 1px rgba(76, 125, 255, 0.08),
    0 24px 64px rgba(76, 125, 255, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.58);
}

.shortline-compass-center small,
.shortline-compass-node small {
  color: var(--muted);
  font-size: 12px;
}

.shortline-compass-node {
  box-shadow: 0 18px 40px rgba(97, 118, 164, 0.12);
}

.shortline-compass-node:hover {
  border-color: rgba(76, 125, 255, 0.28);
  box-shadow: 0 24px 54px rgba(76, 125, 255, 0.18);
}

.shortline-supernews-v5 {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(248, 249, 255, 0.84)),
    radial-gradient(circle at 14% 8%, rgba(255, 91, 143, 0.14), transparent 24%),
    radial-gradient(circle at 100% 0%, rgba(76, 125, 255, 0.12), transparent 24%);
}

.shortline-terminal-bar-v5 {
  grid-template-columns: repeat(4, max-content);
  padding: 12px 14px;
  border-radius: 18px;
  border: 1px solid rgba(123, 141, 188, 0.16);
  background: rgba(247, 249, 255, 0.8);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.shortline-signal-screen {
  position: relative;
  overflow: hidden;
  margin-top: 16px;
  padding: 20px 20px 18px;
  border-radius: 28px;
  border: 1px solid rgba(123, 141, 188, 0.16);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.76), rgba(246, 248, 255, 0.78)),
    rgba(255, 255, 255, 0.84);
}

.shortline-signal-screen-grid,
.shortline-signal-screen-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.shortline-signal-screen-grid {
  background-image:
    linear-gradient(rgba(76, 125, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(76, 125, 255, 0.06) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.6), transparent 92%);
}

.shortline-signal-screen-glow {
  background:
    linear-gradient(120deg, transparent 10%, rgba(255,255,255,0.22) 18%, transparent 28%),
    radial-gradient(circle at 100% 0%, rgba(255, 91, 143, 0.12), transparent 28%),
    radial-gradient(circle at 0% 100%, rgba(76, 125, 255, 0.12), transparent 32%);
  animation: shortlineScreenSweep 6.6s linear infinite;
}

@keyframes shortlineScreenSweep {
  0% { transform: translateX(-8%); opacity: 0.28; }
  50% { opacity: 0.62; }
  100% { transform: translateX(8%); opacity: 0.28; }
}

.shortline-supernews-v5 h2,
.shortline-supernews-v5 .shortline-supernews-summary,
.shortline-supernews-v5 .shortline-chip-list,
.shortline-supernews-v5 .shortline-terminal-feed {
  position: relative;
  z-index: 1;
}

.shortline-supernews-v5 h2 {
  max-width: 11ch;
  text-wrap: balance;
}

.shortline-terminal-feed-v5 .shortline-terminal-row {
  padding: 12px 12px 12px 0;
  border-bottom: 1px solid rgba(123, 141, 188, 0.12);
}

.shortline-terminal-feed-v5 .shortline-terminal-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.shortline-terminal-stats-v5 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.shortline-terminal-stats-v5 > div {
  position: relative;
  overflow: hidden;
}

.shortline-terminal-stats-v5 > div::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 2px;
  background: linear-gradient(90deg, rgba(76, 125, 255, 0.98), rgba(255, 91, 143, 0.74));
}

.shortline-signal-strip-v5 .shortline-signal-card {
  box-shadow: 0 18px 40px rgba(84, 103, 144, 0.1);
}

.shortline-logic-panel-v5 {
  background:
    radial-gradient(circle at 0% 0%, rgba(76, 125, 255, 0.08), transparent 22%),
    radial-gradient(circle at 100% 100%, rgba(255, 91, 143, 0.06), transparent 26%),
    rgba(255, 255, 255, 0.88);
}

.shortline-tradingdesk-panel {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.92), rgba(248,249,255,0.84)),
    rgba(255,255,255,0.88);
}

.shortline-desk-table-v5 {
  position: relative;
}

.shortline-desk-table-v5::before {
  content: "";
  position: absolute;
  inset: 38px 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(76, 125, 255, 0.24), transparent);
}

.shortline-desk-row {
  position: relative;
  overflow: hidden;
}

.shortline-desk-row::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 20%, rgba(255,255,255,0.18) 34%, transparent 48%);
  transform: translateX(-120%);
  transition: transform 340ms ease;
  pointer-events: none;
}

.shortline-desk-row:hover::after {
  transform: translateX(120%);
}

.shortline-desk-row:hover {
  border-color: rgba(76, 125, 255, 0.26);
  box-shadow: 0 18px 46px rgba(76, 125, 255, 0.12);
}

.shortline-anchor-panel,
.shortline-grid-secondary > :last-child {
  position: sticky;
  top: 104px;
  align-self: start;
}

@media (max-width: 1240px) {
  .shortline-hero-v5 {
    grid-template-columns: 1fr;
  }

  .shortline-triple-signal-bar,
  .shortline-terminal-stats-v5 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .shortline-hero-topbar,
  .shortline-live-ribbon,
  .shortline-meta-pills {
    align-items: flex-start;
    flex-direction: column;
  }

  .shortline-triple-signal-bar,
  .shortline-terminal-bar-v5,
  .shortline-terminal-stats-v5 {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .shortline-anchor-panel,
  .shortline-grid-secondary > :last-child {
    position: static;
  }

  .shortline-triple-signal-bar,
  .shortline-terminal-bar-v5,
  .shortline-terminal-stats-v5 {
    grid-template-columns: 1fr;
  }
}

body.theme-dark .shortline-hero-copy-v5,
body.theme-dark .shortline-supernews-v5,
body.theme-dark .shortline-logic-panel-v5,
body.theme-dark .shortline-tradingdesk-panel {
  background:
    linear-gradient(180deg, rgba(18, 24, 38, 0.92), rgba(12, 18, 31, 0.88)),
    rgba(18, 24, 38, 0.86);
}

body.theme-dark .shortline-terminal-bar-v5,
body.theme-dark .shortline-signal-screen,
body.theme-dark .shortline-command-card-v5,
body.theme-dark .shortline-hud-card,
body.theme-dark .shortline-terminal-stats-v5 > div {
  background: rgba(18, 24, 38, 0.82);
  border-color: rgba(123, 141, 188, 0.22);
}

body.theme-dark .shortline-signal-screen-grid {
  background-image:
    linear-gradient(rgba(114, 145, 230, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(114, 145, 230, 0.08) 1px, transparent 1px);
}

.health-shell {
  display: grid;
  gap: 20px;
}

.health-hero {
  display: grid;
  gap: 20px;
  grid-template-columns: minmax(0, 1.8fr) minmax(280px, 0.8fr);
  align-items: stretch;
}

.health-hero-copy {
  display: grid;
  gap: 14px;
}

.health-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.health-hero-score {
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 10px;
  padding: 28px;
  border-radius: 28px;
  border: 1px solid rgba(128, 148, 196, 0.18);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(244, 248, 255, 0.88));
}

.health-hero-score-value {
  font-size: clamp(48px, 7vw, 72px);
  font-weight: 800;
  line-height: 1;
}

.health-hero-score-label,
.health-hero-score-text,
.health-module-unit,
.health-source-type,
.health-key-label,
.health-mini-row span,
.health-horizon-item span {
  color: var(--muted);
}

.health-module-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.health-module-card {
  display: grid;
  gap: 10px;
}

.health-module-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.health-module-value {
  font-size: 30px;
  font-weight: 800;
  line-height: 1.05;
}

.health-module-detail {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
}

.health-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
}

.health-panel {
  display: grid;
  gap: 16px;
}

.health-alert-panel {
  align-content: start;
}

.health-alert-list {
  display: grid;
  gap: 12px;
}

.health-alert-item {
  display: grid;
  gap: 6px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(128, 148, 196, 0.18);
  background: rgba(255, 255, 255, 0.62);
}

.health-alert-title {
  font-weight: 700;
}

.health-alert-detail {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.health-key-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.health-key-card,
.health-mini-row,
.health-horizon-item {
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(128, 148, 196, 0.16);
  background: rgba(255, 255, 255, 0.66);
}

.health-key-card {
  display: grid;
  gap: 6px;
}

.health-key-card strong {
  font-size: 22px;
  line-height: 1.1;
}

.health-horizon-list,
.health-mini-list {
  display: grid;
  gap: 10px;
}

.health-mini-row,
.health-horizon-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.health-source-table-wrap {
  overflow-x: auto;
}

.health-source-table {
  width: 100%;
  border-collapse: collapse;
}

.health-source-table th,
.health-source-table td {
  padding: 14px 12px;
  border-bottom: 1px solid rgba(128, 148, 196, 0.16);
  text-align: left;
  vertical-align: top;
}

.health-source-table th {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.health-source-name {
  font-weight: 700;
}

.health-level-pill {
  text-transform: uppercase;
}

.health-level-ok {
  color: #166534;
}

.health-level-warning {
  color: #b45309;
}

.health-level-critical {
  color: #b91c1c;
}

.health-level-info {
  color: #475569;
}

body.theme-dark .health-hero-score,
body.theme-dark .health-module-card,
body.theme-dark .health-panel,
body.theme-dark .health-alert-item,
body.theme-dark .health-key-card,
body.theme-dark .health-mini-row,
body.theme-dark .health-horizon-item {
  background: rgba(16, 22, 38, 0.84);
  border-color: rgba(123, 141, 188, 0.2);
}

body.theme-dark .health-source-table th,
body.theme-dark .health-source-table td {
  border-bottom-color: rgba(123, 141, 188, 0.14);
}

@media (max-width: 1200px) {
  .health-module-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  .health-hero,
  .health-grid {
    grid-template-columns: 1fr;
  }

  .health-module-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .health-module-grid,
  .health-key-grid {
    grid-template-columns: 1fr;
  }

  .health-source-table th,
  .health-source-table td {
    padding: 10px 8px;
  }
}

.retail-lite-shell {
  display: grid;
  gap: 24px;
  min-width: 0;
}

.retail-lite-shell > * {
  min-width: 0;
}

.retail-lite-hero {
  grid-column: 1 / -1;
}

.shortline-shell {
  gap: 24px;
}

.retail-summary-grid {
  align-items: stretch;
}

.retail-social-list {
  display: grid;
  gap: 14px;
}

.retail-social-item {
  border: 1px solid rgba(99, 125, 255, 0.12);
  border-radius: 18px;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.52);
  box-shadow: 0 16px 32px rgba(23, 33, 74, 0.08);
}

.retail-social-item strong {
  display: inline-block;
  margin-right: 10px;
}

.lazy-panel-shell {
  display: grid;
  gap: 18px;
  min-height: 180px;
}

.lazy-panel-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
}

.lazy-panel-status {
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px dashed rgba(99, 125, 255, 0.28);
  background: rgba(99, 125, 255, 0.06);
  color: rgba(58, 72, 133, 0.92);
}

.lazy-panel-status.is-ready {
  border-style: solid;
  background: rgba(99, 125, 255, 0.08);
}

.lazy-panel-shell.is-error .lazy-panel-status {
  border-color: rgba(255, 110, 110, 0.3);
  background: rgba(255, 110, 110, 0.08);
  color: rgba(148, 49, 49, 0.92);
}

.lazy-panel-body {
  display: grid;
  gap: 24px;
}

.shortline-lazy-shell {
  margin-top: 12px;
}

@media (max-width: 980px) {
  .lazy-panel-head {
    flex-direction: column;
  }
}

.pill-link {
  text-decoration: none;
}

.diagnostic-page .container {
  max-width: 1320px;
}

.diagnostic-form {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 18px;
}

.diagnostic-input {
  flex: 1 1 280px;
  min-width: 220px;
  border-radius: 14px;
  border: 1px solid rgba(112, 132, 255, 0.28);
  background: rgba(255, 255, 255, 0.76);
  color: inherit;
  padding: 14px 16px;
  font: inherit;
  outline: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.theme-dark .diagnostic-input {
  background: rgba(9, 16, 36, 0.88);
  border-color: rgba(112, 132, 255, 0.34);
  color: rgba(240, 245, 255, 0.96);
}

.diagnostic-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 18px 0;
}

.diagnostic-card {
  display: grid;
  gap: 16px;
}

.diagnostic-kpi-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.diagnostic-kpi {
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(112, 132, 255, 0.2);
  background: rgba(112, 132, 255, 0.06);
  display: grid;
  gap: 6px;
}

.diagnostic-kpi strong {
  font-size: 1.5rem;
  line-height: 1;
}

.diagnostic-kpi-label {
  font-size: 0.82rem;
  color: var(--muted);
}

.diagnostic-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.diagnostic-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(112, 132, 255, 0.22);
  background: rgba(112, 132, 255, 0.08);
  color: inherit;
  font-size: 0.86rem;
}

.diagnostic-list {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 10px;
}

.diagnostic-error {
  margin: 0;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(255, 121, 121, 0.26);
  background: rgba(255, 121, 121, 0.08);
  color: #b43d3d;
}

.theme-dark .diagnostic-error {
  color: #ffb5b5;
}

.diagnostic-state-ok {
  color: #0f8a5f;
}

.diagnostic-state-blocked {
  color: #c25151;
}

.theme-dark .diagnostic-state-ok {
  color: #74f0be;
}

.theme-dark .diagnostic-state-blocked {
  color: #ffb1b1;
}

.diagnostic-table td {
  vertical-align: top;
}

@media (max-width: 980px) {
  .diagnostic-grid {
    grid-template-columns: 1fr;
  }

  .diagnostic-kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .diagnostic-form {
    flex-direction: column;
    align-items: stretch;
  }
}

@media (max-width: 640px) {
  .diagnostic-kpi-grid {
    grid-template-columns: 1fr;
  }
}

.protocol-shell {
  display: grid;
  gap: 24px;
}

.protocol-hero,
.protocol-panel {
  border-radius: 28px;
  padding: 28px;
}

.protocol-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(300px, 0.95fr);
  gap: 24px;
}

.protocol-kicker,
.protocol-section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #5a6fd6;
  font-weight: 700;
}

.protocol-title {
  margin: 14px 0 12px;
  font-size: clamp(36px, 4vw, 58px);
  line-height: 1.06;
  letter-spacing: -0.04em;
}

.protocol-summary {
  max-width: 780px;
  margin: 0;
  font-size: 18px;
  line-height: 1.75;
  color: rgba(25, 35, 58, 0.78);
}

.protocol-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.protocol-meta-pill {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(89, 112, 214, 0.08);
  color: #4559c9;
  font-size: 13px;
  font-weight: 600;
}

.protocol-live-chip {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(17, 24, 39, 0.06);
  color: rgba(25, 35, 58, 0.72);
  font-size: 13px;
  font-weight: 600;
}

.protocol-live-chip[data-state="loading"] {
  color: #596fd6;
}

.protocol-live-chip[data-state="ok"] {
  color: #11865b;
}

.protocol-live-chip[data-state="error"] {
  color: #c25151;
}

.protocol-hero-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.protocol-stat {
  padding: 18px 18px 16px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(91, 104, 145, 0.08);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.protocol-stat-label,
.protocol-panel-meta {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(74, 86, 125, 0.68);
}

.protocol-stat strong {
  font-size: 28px;
  line-height: 1.05;
}

.protocol-stat p {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: rgba(25, 35, 58, 0.72);
}

.protocol-grid {
  display: grid;
  gap: 24px;
}

.protocol-grid-main {
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, 0.9fr);
}

.protocol-grid-secondary {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.protocol-panel {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.protocol-panel-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
}

.protocol-panel-head h2 {
  margin: 8px 0 0;
  font-size: 28px;
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.protocol-consensus-card {
  padding: 18px 20px;
  border-radius: 22px;
  background: rgba(89, 112, 214, 0.07);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.protocol-consensus-card strong,
.protocol-event-head strong,
.protocol-rank-copy strong,
.protocol-note-item strong,
.protocol-api-item strong {
  font-size: 18px;
  line-height: 1.4;
}

.protocol-consensus-card p,
.protocol-event-item p,
.protocol-api-item p,
.protocol-note-item p {
  margin: 0;
  color: rgba(25, 35, 58, 0.74);
  line-height: 1.72;
}

.protocol-consensus-highlight {
  display: grid;
  gap: 4px;
}

.protocol-consensus-highlight span {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(74, 86, 125, 0.68);
}

.protocol-consensus-highlight b {
  font-size: 34px;
  line-height: 1;
  color: #4a5fdb;
}

.protocol-outcome-list,
.protocol-event-list,
.protocol-rank-list,
.protocol-forecast-list,
.protocol-api-list,
.protocol-note-list {
  display: grid;
  gap: 12px;
}

.protocol-outcome-row,
.protocol-rank-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(120px, 1fr) auto;
  gap: 14px;
  align-items: center;
}

.protocol-outcome-copy,
.protocol-rank-copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.protocol-outcome-copy span,
.protocol-rank-copy span,
.protocol-event-meta,
.protocol-rank-metric span,
.protocol-actor-identity span {
  color: rgba(25, 35, 58, 0.62);
  font-size: 13px;
}

.protocol-outcome-bar {
  height: 8px;
  border-radius: 999px;
  background: rgba(89, 112, 214, 0.12);
  overflow: hidden;
}

.protocol-outcome-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #5970d6 0%, #7d9cff 100%);
}

.protocol-outcome-row b,
.protocol-rank-metric b,
.protocol-actor-metrics b {
  font-size: 18px;
  line-height: 1;
}

.protocol-event-item,
.protocol-api-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(91, 104, 145, 0.08);
  text-decoration: none;
  color: inherit;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.protocol-event-item:hover,
.protocol-api-item:hover {
  transform: translateY(-2px);
  border-color: rgba(89, 112, 214, 0.18);
  box-shadow: 0 16px 36px rgba(75, 96, 174, 0.08);
}

.protocol-event-item.is-active {
  border-color: rgba(89, 112, 214, 0.3);
  background: rgba(89, 112, 214, 0.08);
  box-shadow: 0 18px 40px rgba(75, 96, 174, 0.1);
}

.protocol-event-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}

.protocol-event-head span {
  font-size: 12px;
  color: #4a5fdb;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.protocol-event-meta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.protocol-rank-metric,
.protocol-actor-identity,
.protocol-actor-block,
.protocol-actor-metrics,
.protocol-resolution-block,
.protocol-note-item {
  display: flex;
}

.protocol-rank-metric,
.protocol-actor-identity,
.protocol-resolution-block,
.protocol-note-item {
  flex-direction: column;
  gap: 4px;
}

.protocol-actor-block {
  flex-direction: column;
  gap: 18px;
}

.protocol-resolution-block {
  gap: 16px;
}

.protocol-detail-shell,
.protocol-forecast-card,
.protocol-forecast-bars,
.protocol-forecast-tags,
.protocol-forecast-signals,
.protocol-forecast-signals > div {
  display: flex;
  flex-direction: column;
}

.protocol-detail-shell,
.protocol-forecast-card,
.protocol-forecast-bars,
.protocol-forecast-signals {
  gap: 14px;
}

.protocol-forecast-card {
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.56);
  border: 1px solid rgba(91, 104, 145, 0.08);
}

.protocol-forecast-head,
.protocol-forecast-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.protocol-forecast-head span,
.protocol-forecast-signals span,
.protocol-forecast-tags span {
  font-size: 12px;
  color: rgba(74, 86, 125, 0.68);
}

.protocol-forecast-tags span {
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(89, 112, 214, 0.08);
  color: #4559c9;
  font-weight: 600;
}

.protocol-form {
  display: grid;
  gap: 16px;
}

.protocol-form-grid,
.protocol-form-probs {
  display: grid;
  gap: 12px;
}

.protocol-form-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.protocol-form label {
  display: grid;
  gap: 8px;
}

.protocol-form label span {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.protocol-form input,
.protocol-form select,
.protocol-form textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--panel);
  color: var(--text);
  font: inherit;
}

.protocol-form-full {
  grid-column: 1 / -1;
}

.protocol-form-probs {
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.protocol-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.protocol-form-actions button {
  padding: 12px 18px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), #5aa7ff);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

.protocol-form-actions button[disabled] {
  opacity: 0.45;
  cursor: not-allowed;
}

.protocol-forecast-signals {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.protocol-forecast-signals > div {
  gap: 6px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.52);
}

.protocol-forecast-signals p {
  margin: 0;
}

.protocol-actor-metrics {
  gap: 12px;
  flex-wrap: wrap;
}

.protocol-actor-metrics > div {
  min-width: 150px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.62);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.protocol-actor-metrics span,
.protocol-api-item code {
  font-size: 12px;
  color: rgba(74, 86, 125, 0.68);
}

.protocol-api-item code {
  padding: 8px 10px;
  border-radius: 12px;
  background: rgba(17, 24, 39, 0.06);
  overflow-wrap: anywhere;
}

.protocol-note-item {
  padding: 16px 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(91, 104, 145, 0.08);
}

.theme-dark .protocol-summary,
.theme-dark .protocol-stat p,
.theme-dark .protocol-consensus-card p,
.theme-dark .protocol-event-item p,
.theme-dark .protocol-api-item p,
.theme-dark .protocol-note-item p,
.theme-dark .protocol-outcome-copy span,
.theme-dark .protocol-rank-copy span,
.theme-dark .protocol-event-meta,
.theme-dark .protocol-rank-metric span,
.theme-dark .protocol-actor-identity span,
.theme-dark .protocol-actor-metrics span,
.theme-dark .protocol-api-item code,
.theme-dark .protocol-stat-label,
.theme-dark .protocol-panel-meta,
.theme-dark .protocol-consensus-highlight span {
  color: rgba(231, 236, 255, 0.72);
}

.theme-dark .protocol-meta-pill,
.theme-dark .protocol-live-chip,
.theme-dark .protocol-consensus-card,
.theme-dark .protocol-stat,
.theme-dark .protocol-event-item,
.theme-dark .protocol-forecast-card,
.theme-dark .protocol-forecast-signals > div,
.theme-dark .protocol-api-item,
.theme-dark .protocol-note-item,
.theme-dark .protocol-actor-metrics > div {
  background: rgba(16, 22, 38, 0.72);
  border-color: rgba(151, 164, 220, 0.14);
}

.theme-dark .protocol-event-item.is-active {
  background: rgba(33, 44, 79, 0.88);
  border-color: rgba(151, 164, 220, 0.28);
}

.theme-dark .protocol-forecast-tags span {
  background: rgba(33, 44, 79, 0.88);
  color: rgba(222, 230, 255, 0.88);
}

.theme-dark .protocol-outcome-bar {
  background: rgba(151, 164, 220, 0.14);
}

@media (max-width: 1180px) {
  .protocol-hero,
  .protocol-grid-main,
  .protocol-grid-secondary {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .protocol-title {
    font-size: 34px;
  }

  .protocol-hero,
  .protocol-panel {
    padding: 22px;
    border-radius: 24px;
  }

  .protocol-hero-stats {
    grid-template-columns: 1fr;
  }

  .protocol-outcome-row,
  .protocol-rank-item {
    grid-template-columns: 1fr;
  }

  .protocol-forecast-signals {
    grid-template-columns: 1fr;
  }
}

/* High-impact public surfaces */

.home-v3-stage {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.home-v3-stage::before,
.home-v3-stage::after,
.protocol-shell::before,
.protocol-shell::after {
  content: "";
  position: absolute;
  inset: auto;
  pointer-events: none;
  z-index: -1;
}

.home-v3-stage::before {
  top: -120px;
  left: -80px;
  width: 420px;
  height: 420px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(74, 120, 255, 0.22) 0%, rgba(74, 120, 255, 0.08) 42%, transparent 72%);
  filter: blur(16px);
}

.home-v3-stage::after {
  top: 40px;
  right: -120px;
  width: 520px;
  height: 520px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(101, 76, 255, 0.18) 0%, rgba(101, 76, 255, 0.06) 44%, transparent 72%);
  filter: blur(24px);
}

.home-v3-panel-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.home-v3-signal-meta {
  display: inline-flex;
  gap: 12px;
  flex-wrap: wrap;
  color: rgba(226, 234, 255, 0.78);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-v3-panel-primary {
  min-height: 100%;
  background:
    radial-gradient(circle at top right, rgba(114, 89, 255, 0.12) 0%, transparent 34%),
    radial-gradient(circle at 22% 18%, rgba(74, 120, 255, 0.1) 0%, transparent 32%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(244, 247, 255, 0.96) 55%, rgba(237, 242, 255, 0.98));
  border-color: rgba(124, 152, 255, 0.12);
  box-shadow:
    0 30px 70px rgba(36, 48, 86, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.home-v3-panel-primary::before {
  background:
    linear-gradient(rgba(126, 164, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(126, 164, 255, 0.06) 1px, transparent 1px),
    linear-gradient(125deg, transparent 12%, rgba(148, 178, 255, 0.08) 52%, transparent 84%);
  background-size: 34px 34px, 34px 34px, auto;
  opacity: 0.72;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 92%);
}

.theme-dark .home-v3-panel-primary {
  background:
    radial-gradient(circle at top right, rgba(114, 89, 255, 0.24) 0%, transparent 34%),
    radial-gradient(circle at 22% 18%, rgba(74, 120, 255, 0.24) 0%, transparent 32%),
    linear-gradient(145deg, rgba(7, 12, 24, 0.98), rgba(9, 14, 30, 0.94) 55%, rgba(13, 20, 42, 0.98));
  border-color: rgba(124, 152, 255, 0.18);
  box-shadow:
    0 40px 90px rgba(6, 10, 20, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.theme-dark .home-v3-panel-primary::before {
  background:
    linear-gradient(rgba(126, 164, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(126, 164, 255, 0.08) 1px, transparent 1px),
    linear-gradient(125deg, transparent 12%, rgba(148, 178, 255, 0.14) 52%, transparent 84%);
  opacity: 0.56;
}

.home-v3-panel-primary .home-v3-kicker,
.home-v3-panel-primary .hero-tech-title,
.home-v3-panel-primary .home-v3-summary-item strong,
.home-v3-panel-primary .hero-help-link,
.home-v3-panel-primary .home-v3-summary-label,
.home-v3-panel-primary .pill,
.home-v3-panel-primary .home-v3-lead,
.home-v3-panel-primary .home-v3-summary-item p {
  position: relative;
  z-index: 1;
}

.home-v3-panel-primary .home-v3-kicker {
  color: #4d6fe9;
}

.theme-dark .home-v3-panel-primary .home-v3-kicker {
  color: #8ab8ff;
}

.home-v3-panel-primary .hero-tech-title {
  background: linear-gradient(96deg, #101a33 0%, #2f5fe4 42%, #7262f5 78%, #1f2f67 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  max-width: 18ch;
  font-size: clamp(28px, 3.2vw, 50px);
  line-height: 1.02;
  letter-spacing: -0.05em;
  text-wrap: balance;
}

.theme-dark .home-v3-panel-primary .hero-tech-title {
  background: linear-gradient(96deg, #f5fbff 0%, #a7c9ff 38%, #7b6bff 78%, #eef2ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.home-v3-panel-primary .home-v3-lead {
  color: rgba(17, 24, 39, 0.76);
  max-width: 58ch;
}

.theme-dark .home-v3-panel-primary .home-v3-lead {
  color: rgba(226, 234, 255, 0.82);
}

.home-v3-panel-primary .pill,
.home-v3-panel-primary .hero-help-link {
  color: rgba(17, 24, 39, 0.88);
  border-color: rgba(92, 130, 220, 0.18);
  background: rgba(255, 255, 255, 0.74);
}

.theme-dark .home-v3-panel-primary .pill,
.theme-dark .home-v3-panel-primary .hero-help-link {
  color: rgba(241, 246, 255, 0.94);
  border-color: rgba(138, 184, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
}

.home-v3-panel-primary .pill.pill-accent {
  background: linear-gradient(90deg, rgba(97, 147, 255, 0.18), rgba(122, 97, 255, 0.18));
  border-color: rgba(127, 162, 255, 0.3);
  box-shadow: 0 14px 28px rgba(76, 102, 176, 0.14);
}

.theme-dark .home-v3-panel-primary .pill.pill-accent {
  background: linear-gradient(90deg, rgba(113, 162, 255, 0.22), rgba(126, 103, 255, 0.24));
  border-color: rgba(180, 208, 255, 0.34);
  box-shadow: 0 14px 32px rgba(36, 60, 120, 0.28);
}

.home-v3-panel-primary .pill:hover,
.home-v3-panel-primary .hero-help-link:hover {
  border-color: rgba(124, 152, 255, 0.32);
  background: rgba(255, 255, 255, 0.92);
}

.theme-dark .home-v3-panel-primary .pill:hover,
.theme-dark .home-v3-panel-primary .hero-help-link:hover {
  border-color: rgba(168, 204, 255, 0.34);
  background: rgba(255, 255, 255, 0.1);
}

.home-v3-command-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 920px;
}

.home-v3-summary-item {
  background: rgba(255, 255, 255, 0.76);
  border-color: rgba(124, 152, 255, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.52);
}

.home-v3-summary-item-accent {
  background: linear-gradient(180deg, rgba(100, 117, 255, 0.12), rgba(255, 255, 255, 0.72));
}

.home-v3-panel-primary .home-v3-summary-label {
  color: #4560d6;
}

.home-v3-panel-primary .home-v3-summary-item strong {
  color: #111827;
}

.home-v3-panel-primary .home-v3-summary-item p {
  color: rgba(41, 55, 86, 0.74);
}

.theme-dark .home-v3-summary-item {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(160, 188, 255, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.theme-dark .home-v3-summary-item-accent {
  background: linear-gradient(180deg, rgba(100, 117, 255, 0.18), rgba(255, 255, 255, 0.04));
}

.theme-dark .home-v3-panel-primary .home-v3-summary-label {
  color: #93bcff;
}

.theme-dark .home-v3-panel-primary .home-v3-summary-item strong {
  color: #f5f8ff;
}

.theme-dark .home-v3-panel-primary .home-v3-summary-item p {
  color: rgba(220, 229, 255, 0.66);
}

.home-v3-panel-secondary {
  gap: 14px;
  background:
    radial-gradient(circle at top right, rgba(86, 122, 255, 0.12) 0%, transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(239, 245, 255, 0.88));
}

.home-v3-side-stack {
  display: grid;
  gap: 10px;
}

.home-v3-side-metric {
  padding: 14px 16px;
  border-radius: 20px;
  border: 1px solid rgba(94, 122, 214, 0.14);
  background: rgba(255, 255, 255, 0.62);
}

.home-v3-side-metric span {
  display: block;
  margin-bottom: 6px;
  color: #5267db;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.home-v3-side-metric strong {
  display: block;
  color: var(--text);
  font-size: 18px;
  line-height: 1.2;
}

.home-v3-side-metric p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.protocol-shell {
  position: relative;
  display: grid;
  gap: 24px;
}

.protocol-shell::before {
  top: -160px;
  right: -180px;
  width: 620px;
  height: 620px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(92, 109, 255, 0.22) 0%, rgba(92, 109, 255, 0.08) 40%, transparent 72%);
  filter: blur(26px);
}

.protocol-shell::after {
  top: 220px;
  left: -140px;
  width: 480px;
  height: 480px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(60, 215, 255, 0.16) 0%, rgba(60, 215, 255, 0.06) 42%, transparent 72%);
  filter: blur(22px);
}

.protocol-hero,
.protocol-panel {
  border-radius: 32px;
}

.protocol-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 18%, rgba(89, 115, 255, 0.22) 0%, transparent 28%),
    radial-gradient(circle at 82% 22%, rgba(88, 209, 255, 0.16) 0%, transparent 26%),
    linear-gradient(145deg, rgba(7, 12, 24, 0.98), rgba(10, 16, 32, 0.96) 52%, rgba(14, 22, 44, 0.98));
  border: 1px solid rgba(132, 158, 255, 0.14);
  box-shadow:
    0 34px 90px rgba(6, 10, 20, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.protocol-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(120, 162, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 162, 255, 0.08) 1px, transparent 1px);
  background-size: 34px 34px;
  opacity: 0.34;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.76), transparent 88%);
  pointer-events: none;
}

.protocol-title {
  color: #f5f8ff;
  font-size: clamp(44px, 5vw, 74px);
  line-height: 0.96;
  text-wrap: balance;
}

.protocol-kicker,
.protocol-section-kicker {
  color: #8bb6ff;
}

.protocol-summary {
  color: rgba(226, 234, 255, 0.74);
  max-width: 62ch;
}

.protocol-meta-pill,
.protocol-live-chip,
.protocol-stat,
.protocol-consensus-card,
.protocol-event-item,
.protocol-forecast-card,
.protocol-forecast-signals > div,
.protocol-api-item,
.protocol-note-item,
.protocol-actor-metrics > div,
.protocol-panel {
  border-color: rgba(132, 158, 255, 0.12);
  background: rgba(9, 14, 28, 0.62);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.protocol-panel {
  border: 1px solid rgba(132, 158, 255, 0.12);
}

.protocol-panel-head h2,
.protocol-consensus-card strong,
.protocol-event-head strong,
.protocol-rank-copy strong,
.protocol-note-item strong,
.protocol-api-item strong,
.protocol-forecast-head strong,
.protocol-actor-identity strong,
.protocol-outcome-row b,
.protocol-rank-metric b,
.protocol-actor-metrics b,
.protocol-stat strong,
.protocol-stat p,
.protocol-title,
.protocol-api-item code,
.protocol-forecast-tags span,
.protocol-event-head span {
  color: #f3f7ff;
}

.protocol-summary,
.protocol-consensus-card p,
.protocol-event-item p,
.protocol-api-item p,
.protocol-note-item p,
.protocol-outcome-copy span,
.protocol-rank-copy span,
.protocol-event-meta,
.protocol-rank-metric span,
.protocol-actor-identity span,
.protocol-actor-metrics span,
.protocol-stat-label,
.protocol-panel-meta,
.protocol-consensus-highlight span,
.protocol-forecast-head span,
.protocol-forecast-signals span,
.protocol-meta-pill,
.protocol-live-chip {
  color: rgba(220, 229, 255, 0.68);
}

.protocol-hero-side {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.92fr);
  gap: 16px;
  align-items: stretch;
}

.protocol-hero-visual {
  position: relative;
  min-height: 270px;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(138, 184, 255, 0.12);
  background: linear-gradient(180deg, rgba(8, 14, 28, 0.86), rgba(11, 18, 36, 0.68));
}

.protocol-hero-visual-grid,
.protocol-hero-visual-ring,
.protocol-hero-visual-core,
.protocol-hero-visual-stack {
  position: absolute;
}

.protocol-hero-visual-grid {
  inset: 0;
  background-image:
    linear-gradient(rgba(120, 162, 255, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 162, 255, 0.1) 1px, transparent 1px);
  background-size: 26px 26px;
  opacity: 0.48;
}

.protocol-hero-visual-ring {
  border-radius: 999px;
  border: 1px solid rgba(154, 196, 255, 0.18);
  box-shadow: inset 0 0 26px rgba(154, 196, 255, 0.05);
}

.protocol-hero-visual-ring-a {
  inset: 34px;
  animation: protocol-ring-spin 16s linear infinite;
}

.protocol-hero-visual-ring-b {
  inset: 64px;
  animation: protocol-ring-spin-reverse 12s linear infinite;
}

.protocol-hero-visual-ring-c {
  inset: 92px;
  animation: protocol-ring-spin 9s linear infinite;
}

.protocol-hero-visual-core {
  inset: 50% auto auto 50%;
  width: 156px;
  height: 156px;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  text-align: center;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(107, 142, 255, 0.24) 0%, rgba(11, 18, 36, 0.28) 62%, rgba(11, 18, 36, 0) 100%);
  box-shadow:
    0 0 0 18px rgba(92, 109, 255, 0.05),
    0 0 0 40px rgba(92, 109, 255, 0.03);
}

.protocol-hero-visual-core span {
  color: rgba(177, 204, 255, 0.74);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.protocol-hero-visual-core strong {
  color: #f6f9ff;
  font-size: 38px;
  line-height: 1;
  letter-spacing: -0.08em;
}

.protocol-hero-visual-core p {
  margin: 0;
  max-width: 110px;
  color: rgba(221, 231, 255, 0.68);
  font-size: 12px;
  line-height: 1.5;
}

.protocol-hero-visual-stack {
  right: 18px;
  bottom: 18px;
  display: grid;
  gap: 10px;
  width: min(48%, 190px);
}

.protocol-hero-visual-stack div {
  padding: 10px 12px;
  border-radius: 16px;
  border: 1px solid rgba(132, 158, 255, 0.12);
  background: rgba(8, 12, 24, 0.66);
}

.protocol-hero-visual-stack span {
  display: block;
  margin-bottom: 4px;
  color: rgba(162, 192, 255, 0.7);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.protocol-hero-visual-stack strong {
  color: rgba(245, 248, 255, 0.92);
  font-size: 13px;
  line-height: 1.4;
}

.protocol-event-item:hover,
.protocol-api-item:hover,
.protocol-forecast-card:hover {
  border-color: rgba(146, 190, 255, 0.24);
  box-shadow: 0 18px 40px rgba(4, 8, 18, 0.24);
}

.protocol-event-item.is-active {
  background: linear-gradient(180deg, rgba(40, 51, 92, 0.9), rgba(15, 22, 42, 0.86));
  border-color: rgba(146, 190, 255, 0.26);
}

.protocol-outcome-bar {
  background: rgba(131, 157, 255, 0.12);
}

.protocol-outcome-bar span {
  background: linear-gradient(90deg, #73a6ff 0%, #8966ff 50%, #36d0ff 100%);
}

@keyframes protocol-ring-spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes protocol-ring-spin-reverse {
  0% { transform: rotate(360deg); }
  100% { transform: rotate(0deg); }
}

@media (max-width: 1180px) {
  .protocol-hero-side,
  .home-v3-command-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .home-v3-panel-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .home-v3-panel-primary .hero-tech-title,
  .protocol-title {
    font-size: 38px;
  }

  .protocol-hero-visual {
    min-height: 220px;
  }

  .protocol-hero-visual-stack {
    position: relative;
    right: auto;
    bottom: auto;
    width: auto;
    margin: 154px 16px 16px;
  }
}

/* Immersive thesis + protocol system */

.protocol-page,
.thesis-page {
  --immersive-bg:
    radial-gradient(900px 520px at 12% -8%, rgba(92, 122, 255, 0.14), transparent 62%),
    radial-gradient(920px 520px at 86% -18%, rgba(138, 92, 255, 0.1), transparent 64%),
    radial-gradient(760px 440px at 52% 14%, rgba(35, 196, 255, 0.06), transparent 66%),
    linear-gradient(180deg, #f5f7ff 0%, #edf2ff 100%);
  --immersive-hero-bg:
    radial-gradient(circle at 84% 18%, rgba(92, 109, 255, 0.12) 0%, transparent 24%),
    radial-gradient(circle at 18% 12%, rgba(40, 196, 255, 0.08) 0%, transparent 28%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(241, 246, 255, 0.94) 52%, rgba(233, 239, 255, 0.96));
  --immersive-panel-bg: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(245, 248, 255, 0.86));
  --immersive-card-bg: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(243, 247, 255, 0.88));
  --immersive-stage-bg: linear-gradient(180deg, rgba(244, 248, 255, 0.94), rgba(236, 242, 255, 0.9));
  --immersive-visual-bg:
    radial-gradient(circle at 50% 48%, rgba(95, 122, 255, 0.18) 0%, rgba(95, 122, 255, 0.05) 34%, transparent 56%),
    linear-gradient(180deg, rgba(248, 251, 255, 0.98), rgba(236, 242, 255, 0.94));
  --immersive-border: rgba(102, 128, 210, 0.16);
  --immersive-border-strong: rgba(102, 128, 210, 0.24);
  --immersive-shadow: 0 24px 60px rgba(36, 48, 86, 0.14);
  --immersive-text: #111827;
  --immersive-muted: rgba(41, 55, 86, 0.74);
  --immersive-soft: rgba(56, 78, 122, 0.64);
  --immersive-chip-bg: rgba(82, 110, 214, 0.08);
  --immersive-chip-text: #4560d6;
  --immersive-grid: rgba(120, 162, 255, 0.08);
  --immersive-orbit-bg: rgba(255, 255, 255, 0.74);
  --immersive-orbit-text: rgba(41, 55, 86, 0.82);
  --immersive-core-ring: rgba(92, 109, 255, 0.08);
  background: var(--immersive-bg);
}

.theme-dark.protocol-page,
.theme-dark.thesis-page {
  --immersive-bg:
    radial-gradient(900px 520px at 12% -8%, rgba(62, 107, 255, 0.22), transparent 62%),
    radial-gradient(920px 520px at 86% -18%, rgba(138, 92, 255, 0.18), transparent 64%),
    radial-gradient(760px 440px at 52% 14%, rgba(35, 196, 255, 0.08), transparent 66%),
    #060914;
  --immersive-hero-bg:
    radial-gradient(circle at 84% 18%, rgba(92, 109, 255, 0.18) 0%, transparent 24%),
    radial-gradient(circle at 18% 12%, rgba(40, 196, 255, 0.12) 0%, transparent 28%),
    linear-gradient(145deg, rgba(8, 12, 24, 0.98), rgba(10, 16, 32, 0.96) 52%, rgba(15, 22, 42, 0.98));
  --immersive-panel-bg: linear-gradient(180deg, rgba(10, 15, 30, 0.8), rgba(8, 12, 24, 0.72));
  --immersive-card-bg: linear-gradient(180deg, rgba(14, 20, 38, 0.96), rgba(10, 15, 29, 0.86));
  --immersive-stage-bg: linear-gradient(180deg, rgba(12, 18, 34, 0.92), rgba(8, 12, 25, 0.82));
  --immersive-visual-bg:
    radial-gradient(circle at 50% 48%, rgba(95, 122, 255, 0.16) 0%, transparent 38%),
    linear-gradient(180deg, rgba(9, 14, 30, 0.92), rgba(7, 11, 24, 0.78));
  --immersive-border: rgba(146, 175, 255, 0.16);
  --immersive-border-strong: rgba(146, 190, 255, 0.26);
  --immersive-shadow: 0 24px 60px rgba(0, 0, 0, 0.42);
  --immersive-text: #f4f7ff;
  --immersive-muted: rgba(216, 227, 255, 0.7);
  --immersive-soft: rgba(220, 229, 255, 0.68);
  --immersive-chip-bg: rgba(255, 255, 255, 0.08);
  --immersive-chip-text: rgba(240, 245, 255, 0.92);
  --immersive-grid: rgba(120, 162, 255, 0.09);
  --immersive-orbit-bg: rgba(7, 12, 24, 0.74);
  --immersive-orbit-text: rgba(226, 234, 255, 0.8);
  --immersive-core-ring: rgba(92, 109, 255, 0.05);
}

.protocol-page .topbar,
.thesis-page .topbar {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(249, 251, 255, 0.76));
  border-bottom-color: rgba(32, 47, 89, 0.08);
}

.theme-dark.protocol-page .topbar,
.theme-dark.thesis-page .topbar {
  background: linear-gradient(180deg, rgba(7, 11, 23, 0.92), rgba(7, 11, 23, 0.82));
  border-bottom-color: rgba(255, 255, 255, 0.06);
}

.protocol-page .site-footer,
.thesis-page .site-footer {
  border-top-color: rgba(32, 47, 89, 0.08);
  background: rgba(255, 255, 255, 0.52);
}

.theme-dark.protocol-page .site-footer,
.theme-dark.thesis-page .site-footer {
  border-top-color: rgba(255, 255, 255, 0.06);
  background: rgba(4, 7, 16, 0.72);
}

.protocol-page .container,
.thesis-page .container {
  max-width: 1460px;
}

.protocol-page .protocol-shell,
.thesis-page .thesis-scroll-story-public {
  position: relative;
  z-index: 1;
}

.protocol-page .protocol-hero {
  grid-template-columns: minmax(0, 1.12fr) minmax(420px, 0.88fr);
  gap: 28px;
  padding: 36px;
  background: var(--immersive-hero-bg);
  border: 1px solid var(--immersive-border);
  box-shadow: var(--immersive-shadow);
}

.protocol-page .protocol-hero-copy {
  display: grid;
  align-content: space-between;
  gap: 18px;
}

.protocol-page .protocol-title,
.thesis-page .thesis-title {
  color: var(--immersive-text);
}

.protocol-page .protocol-title {
  max-width: 16ch;
  font-size: clamp(42px, 4.6vw, 68px);
  line-height: 0.96;
  letter-spacing: -0.06em;
}

.protocol-page .protocol-summary {
  max-width: 56ch;
  font-size: 16px;
  line-height: 1.85;
  color: var(--immersive-muted);
}

.protocol-page .protocol-hero-live {
  max-width: 640px;
  padding: 18px 20px;
  border-radius: 22px;
  border: 1px solid var(--immersive-border);
  background: var(--immersive-panel-bg);
  display: grid;
  gap: 8px;
}

.protocol-page .protocol-hero-live strong,
.protocol-page .protocol-charter-card strong,
.protocol-page .protocol-charter-step strong {
  color: var(--immersive-text);
}

.protocol-page .protocol-hero-live strong {
  font-size: 26px;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.protocol-page .protocol-hero-live p,
.protocol-page .protocol-charter-card p,
.protocol-page .protocol-charter-step p,
.protocol-page .protocol-charter-copy,
.protocol-page .protocol-charter-impact {
  margin: 0;
  color: var(--immersive-muted);
  line-height: 1.7;
}

.protocol-page .protocol-meta-pill,
.protocol-page .protocol-live-chip,
.protocol-page .protocol-panel-meta,
.protocol-page .protocol-stat-label,
.protocol-page .protocol-consensus-highlight span,
.protocol-page .protocol-outcome-copy span,
.protocol-page .protocol-event-meta,
.protocol-page .protocol-rank-metric span,
.protocol-page .protocol-actor-identity span,
.protocol-page .protocol-actor-metrics span,
.protocol-page .protocol-api-item code,
.protocol-page .protocol-forecast-head span,
.protocol-page .protocol-forecast-signals span {
  color: rgba(45, 63, 112, 0.84);
}

.protocol-page .protocol-meta-pill,
.protocol-page .protocol-live-chip {
  background: rgba(92, 122, 255, 0.12);
  border-color: rgba(92, 122, 255, 0.18);
  color: #314a94;
}

.theme-dark.protocol-page .protocol-meta-pill,
.theme-dark.protocol-page .protocol-live-chip {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.1);
  color: var(--immersive-chip-text);
}

.protocol-page .protocol-panel-head h2,
.protocol-page .protocol-consensus-card strong,
.protocol-page .protocol-event-head strong,
.protocol-page .protocol-rank-copy strong,
.protocol-page .protocol-note-item strong,
.protocol-page .protocol-api-item strong,
.protocol-page .protocol-forecast-head strong,
.protocol-page .protocol-actor-identity strong,
.protocol-page .protocol-outcome-row b,
.protocol-page .protocol-rank-metric b,
.protocol-page .protocol-actor-metrics b,
.protocol-page .protocol-stat strong,
.protocol-page .protocol-stat p,
.protocol-page .protocol-event-head span,
.protocol-page .protocol-forecast-tags span,
.protocol-page .protocol-consensus-card p,
.protocol-page .protocol-event-item p,
.protocol-page .protocol-api-item p,
.protocol-page .protocol-note-item p,
.protocol-page .protocol-forecast-signals p {
  color: var(--immersive-text);
}

.protocol-page .protocol-hero-side {
  grid-template-columns: 1fr;
  grid-template-rows: minmax(320px, auto) auto;
  gap: 14px;
}

.protocol-page .protocol-hero-visual {
  min-height: 356px;
  background: var(--immersive-visual-bg);
  border: 1px solid var(--immersive-border);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 20px 40px rgba(0, 0, 0, 0.08);
}

.theme-dark.protocol-page .protocol-hero-visual {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 20px 40px rgba(0, 0, 0, 0.18);
}

.protocol-page .protocol-hero-visual-grid,
.thesis-page .thesis-core-grid {
  background-image:
    linear-gradient(var(--immersive-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--immersive-grid) 1px, transparent 1px);
}

.protocol-page .protocol-hero-visual-grid {
  opacity: 0.26;
}

.protocol-page .protocol-hero-visual-core {
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.98) 0%, rgba(240, 245, 255, 0.92) 58%, rgba(214, 225, 255, 0.56) 100%);
  box-shadow: 0 0 0 18px var(--immersive-core-ring), 0 0 0 54px rgba(92, 109, 255, 0.03);
}

.theme-dark.protocol-page .protocol-hero-visual-core {
  background: radial-gradient(circle, rgba(107, 142, 255, 0.24) 0%, rgba(11, 18, 36, 0.28) 62%, rgba(11, 18, 36, 0) 100%);
}

.protocol-page .protocol-hero-visual-core strong {
  font-size: 52px;
  color: var(--immersive-text);
}

.protocol-page .protocol-hero-visual-core span,
.thesis-page .thesis-core-pulse span {
  color: var(--immersive-soft);
}

.protocol-page .protocol-hero-visual-core p,
.thesis-page .thesis-core-pulse p {
  max-width: 126px;
  color: var(--immersive-muted);
}

.protocol-hero-visual-orbit,
.thesis-core-orbit {
  position: absolute;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--immersive-orbit-bg);
  color: var(--immersive-orbit-text);
  border: 1px solid var(--immersive-border);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.protocol-hero-visual-orbit-a,
.thesis-core-orbit-a { top: 18px; left: 18px; }

.protocol-hero-visual-orbit-b,
.thesis-core-orbit-b { top: 42px; right: 18px; }

.protocol-hero-visual-orbit-c,
.thesis-core-orbit-c { bottom: 18px; left: 34px; }

.protocol-page .protocol-metric-band,
.thesis-page .thesis-metric-band {
  display: grid;
  gap: 12px;
}

.protocol-page .protocol-metric-band {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.protocol-grid-charter {
  grid-template-columns: 1fr;
}

.protocol-charter-panel {
  gap: 20px;
}

.protocol-charter-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.protocol-charter-card,
.protocol-charter-block {
  padding: 20px;
  border-radius: 22px;
  border: 1px solid var(--immersive-border);
  background: var(--immersive-card-bg);
}

.protocol-charter-card {
  display: grid;
  gap: 10px;
}

.protocol-charter-card span,
.protocol-charter-step span {
  display: block;
  color: var(--immersive-soft);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.protocol-charter-card strong {
  font-size: 24px;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.protocol-charter-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.35fr) minmax(0, 0.95fr);
  gap: 14px;
}

.protocol-charter-block {
  display: grid;
  align-content: start;
  gap: 14px;
}

.protocol-charter-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.protocol-charter-tag-list span {
  display: inline-flex;
  align-items: center;
  padding: 9px 12px;
  border-radius: 999px;
  background: var(--immersive-chip-bg);
  color: var(--immersive-chip-text);
  border: 1px solid var(--immersive-border);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.protocol-charter-flow {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.protocol-charter-step {
  padding: 16px;
  border-radius: 18px;
  border: 1px solid var(--immersive-border);
  background: var(--immersive-panel-bg);
  display: grid;
  gap: 8px;
}

.protocol-charter-step strong {
  font-size: 18px;
  line-height: 1.18;
}

.thesis-page .thesis-metric-band {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.protocol-page .protocol-stat-band,
.thesis-page .thesis-stat-card-band {
  justify-content: space-between;
  background: var(--immersive-card-bg);
  border: 1px solid var(--immersive-border);
}

.protocol-page .protocol-stat-band {
  min-height: 96px;
  padding: 16px 14px;
}

.protocol-page .protocol-stat-band strong {
  font-size: clamp(28px, 3vw, 42px);
  letter-spacing: -0.05em;
}

.protocol-page .protocol-panel,
.thesis-page .thesis-public-note,
.thesis-page .thesis-step-nav,
.thesis-page .strategic-dashboard,
.thesis-page .thesis-stat-card,
.thesis-page .thesis-note-box,
.thesis-page .strategic-card {
  background: var(--immersive-panel-bg);
  border: 1px solid var(--immersive-border);
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.08);
}

.theme-dark.protocol-page .protocol-panel,
.theme-dark.thesis-page .thesis-public-note,
.theme-dark.thesis-page .thesis-step-nav,
.theme-dark.thesis-page .strategic-dashboard,
.theme-dark.thesis-page .thesis-stat-card,
.theme-dark.thesis-page .thesis-note-box,
.theme-dark.thesis-page .strategic-card {
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.18);
}

.protocol-page .protocol-panel-head h2 {
  font-size: 30px;
}

.protocol-page .protocol-consensus-card,
.protocol-page .protocol-event-item,
.protocol-page .protocol-forecast-card,
.protocol-page .protocol-api-item,
.protocol-page .protocol-note-item,
.protocol-page .protocol-actor-metrics > div,
.protocol-page .protocol-forecast-signals > div {
  background: var(--immersive-card-bg);
  border: 1px solid var(--immersive-border);
}

.protocol-page .protocol-event-item:hover,
.protocol-page .protocol-api-item:hover,
.protocol-page .protocol-forecast-card:hover {
  border-color: var(--immersive-border-strong);
  box-shadow: 0 18px 40px rgba(36, 48, 86, 0.16);
}

.theme-dark.protocol-page .protocol-event-item:hover,
.theme-dark.protocol-page .protocol-api-item:hover,
.theme-dark.protocol-page .protocol-forecast-card:hover {
  box-shadow: 0 18px 40px rgba(4, 8, 18, 0.24);
}

.protocol-page .protocol-event-item.is-active {
  background: linear-gradient(180deg, rgba(224, 232, 255, 0.98), rgba(238, 244, 255, 0.94));
  border-color: var(--immersive-border-strong);
}

.theme-dark.protocol-page .protocol-event-item.is-active {
  background: linear-gradient(180deg, rgba(40, 51, 92, 0.9), rgba(15, 22, 42, 0.86));
}

.protocol-page .protocol-outcome-bar {
  background: rgba(131, 157, 255, 0.12);
}

.protocol-page .protocol-outcome-bar span {
  background: linear-gradient(90deg, #73a6ff 0%, #8966ff 50%, #36d0ff 100%);
}

.thesis-page {
  background: var(--immersive-bg);
}

.thesis-page .thesis-cyber-bg {
  inset: 0;
  opacity: 0.72;
}

.thesis-page .thesis-hero {
  position: relative;
  overflow: hidden;
  padding: 34px;
  border: 1px solid var(--immersive-border);
  background: var(--immersive-hero-bg);
  box-shadow: 0 36px 90px rgba(0, 0, 0, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.theme-dark.thesis-page .thesis-hero {
  box-shadow: 0 36px 90px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.thesis-page .thesis-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--immersive-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--immersive-grid) 1px, transparent 1px);
  background-size: 34px 34px;
  opacity: 0.34;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.72), transparent 88%);
  pointer-events: none;
}

.thesis-page .thesis-title {
  max-width: 11ch;
  font-size: clamp(54px, 6vw, 86px);
  line-height: 0.95;
  letter-spacing: -0.07em;
}

.thesis-page .thesis-summary,
.thesis-page .strategic-card-copy,
.thesis-page .strategic-card-note,
.thesis-page .thesis-step-nav-copy span,
.thesis-page .thesis-meta-row,
.thesis-page .thesis-public-note span {
  color: var(--immersive-muted);
}

.thesis-page .thesis-public-note strong,
.thesis-page .strategic-card-value,
.thesis-page .strategic-card-inline,
.thesis-page .thesis-step-nav-copy strong,
.thesis-page .thesis-stat-inline,
.thesis-page .thesis-stat-value {
  color: var(--immersive-text);
}

.thesis-page .thesis-chip {
  background: var(--immersive-chip-bg);
  color: var(--immersive-chip-text);
}

.thesis-page .thesis-chip-accent {
  background: rgba(0, 113, 227, 0.1);
  color: #2f69e9;
}

.theme-dark.thesis-page .thesis-chip-accent {
  background: rgba(90, 167, 255, 0.16);
  color: #9fd0ff;
}

.thesis-page .thesis-hero-grid {
  grid-template-columns: minmax(0, 1.08fr) minmax(400px, 0.92fr);
  gap: 28px;
}

.thesis-page .thesis-hero-main {
  gap: 18px;
}

.thesis-page .thesis-hero-notes {
  margin-top: 4px;
}

.thesis-page .thesis-hero-side {
  gap: 14px;
}

.thesis-core-stage {
  position: relative;
  min-height: 320px;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid var(--immersive-border);
  background: var(--immersive-visual-bg);
}

.thesis-core-grid,
.thesis-core-ring,
.thesis-core-pulse,
.thesis-core-orbit {
  position: absolute;
}

.thesis-core-grid {
  inset: 0;
  opacity: 0.28;
}

.thesis-core-ring {
  border-radius: 999px;
  border: 1px solid var(--immersive-border);
  box-shadow: inset 0 0 24px rgba(154, 196, 255, 0.04);
}

.thesis-core-ring-a { inset: 32px; animation: protocol-ring-spin 16s linear infinite; }
.thesis-core-ring-b { inset: 58px; animation: protocol-ring-spin-reverse 13s linear infinite; }
.thesis-core-ring-c { inset: 92px; animation: protocol-ring-spin 10s linear infinite; }

.thesis-core-pulse {
  inset: 50% auto auto 50%;
  width: 180px;
  height: 180px;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  text-align: center;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(99, 130, 255, 0.24) 0%, rgba(11, 18, 36, 0.12) 64%, rgba(11, 18, 36, 0) 100%);
  box-shadow: 0 0 0 20px var(--immersive-core-ring), 0 0 0 52px rgba(92, 109, 255, 0.03);
}

.thesis-core-pulse strong {
  color: var(--immersive-text);
  font-size: 34px;
  line-height: 1;
  letter-spacing: -0.05em;
}

.thesis-core-pulse p {
  margin: 0;
  max-width: 118px;
  font-size: 12px;
  line-height: 1.5;
}

.thesis-metric-band .thesis-stat-card-band {
  min-height: 122px;
  justify-content: space-between;
}

.thesis-page .thesis-step-nav-item {
  background: rgba(255, 255, 255, 0.72);
}

.theme-dark.thesis-page .thesis-step-nav-item {
  background: rgba(11, 17, 30, 0.86);
}

@keyframes protocol-ring-spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes protocol-ring-spin-reverse {
  0% { transform: rotate(360deg); }
  100% { transform: rotate(0deg); }
}

@media (max-width: 1180px) {
  .protocol-page .protocol-hero,
  .thesis-page .thesis-hero-grid,
  .protocol-page .protocol-metric-band,
  .thesis-page .thesis-metric-band {
    grid-template-columns: 1fr;
  }

  .protocol-charter-grid,
  .protocol-charter-band {
    grid-template-columns: 1fr;
  }

  .protocol-charter-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .protocol-page .protocol-hero,
  .thesis-page .thesis-hero {
    padding: 24px;
  }

  .protocol-page .protocol-title,
  .thesis-page .thesis-title {
    font-size: 40px;
  }

  .protocol-page .protocol-hero-live,
  .protocol-charter-card,
  .protocol-charter-block {
    padding: 18px;
  }

  .protocol-charter-flow {
    grid-template-columns: 1fr;
  }
}

body.global-site-shell {
  color-scheme: light;
  --global-font-display: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --global-font-ui: "Avenir Next", "Segoe UI", "Helvetica Neue", sans-serif;
  --global-shell-bg:
    linear-gradient(180deg, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0)),
    radial-gradient(1200px 760px at 100% -12%, rgba(111, 212, 255, 0.2), transparent 60%),
    radial-gradient(980px 680px at -8% 0%, rgba(87, 150, 214, 0.14), transparent 56%),
    #f3f6fb;
  --global-shell-overlay:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), transparent 18%),
    linear-gradient(90deg, rgba(5, 14, 24, 0.02), transparent 18%, transparent 82%, rgba(5, 14, 24, 0.02));
  --global-shell-topbar-bg: rgba(249, 252, 255, 0.82);
  --global-shell-topbar-border: rgba(8, 19, 30, 0.08);
  --global-shell-topbar-shadow: 0 22px 48px rgba(15, 23, 42, 0.08);
  --global-shell-topbar-scrolled-bg: rgba(252, 254, 255, 0.92);
  --global-shell-topbar-scrolled-shadow: 0 24px 56px rgba(15, 23, 42, 0.12);
  --global-shell-topbar-text: #07131f;
  --global-shell-brand-icon-shadow: drop-shadow(0 0 16px rgba(89, 164, 222, 0.18));
  --global-shell-pill-border: rgba(8, 19, 30, 0.08);
  --global-shell-pill-bg: rgba(255, 255, 255, 0.72);
  --global-shell-pill-text: #0a1521;
  --global-shell-pill-hover-border: rgba(95, 171, 219, 0.24);
  --global-shell-pill-hover-bg: rgba(111, 212, 255, 0.12);
  --global-shell-pill-hover-text: #083754;
  --global-shell-menu-bg: rgba(255, 255, 255, 0.96);
  --global-shell-menu-border: rgba(8, 19, 30, 0.08);
  --global-shell-menu-shadow: 0 22px 44px rgba(15, 23, 42, 0.12);
  --global-shell-menu-link: #08131f;
  --global-shell-menu-hover-bg: rgba(111, 212, 255, 0.12);
  --global-shell-menu-hover-text: #083754;
  --global-shell-scroll-progress: linear-gradient(90deg, #42b7eb, #9be9ff);
  --global-shell-footer-bg:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(244, 249, 255, 0.98)),
    #f5f8fc;
  --global-shell-footer-text: rgba(8, 19, 30, 0.74);
  --global-shell-footer-muted: rgba(8, 19, 30, 0.62);
  --global-shell-footer-border: rgba(8, 19, 30, 0.08);
  --global-shell-footer-title: #08131f;
  --global-home-transition-bg: rgba(232, 240, 248, 0.64);
  --global-home-transition-icon-bg: rgba(255, 255, 255, 0.96);
  --global-home-stage-bg:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96) 0%, rgba(244, 249, 255, 0.96) 48%, rgba(235, 244, 252, 0.98) 100%);
  --global-home-stage-border: rgba(111, 170, 215, 0.18);
  --global-home-stage-shadow: 0 32px 80px rgba(15, 23, 42, 0.1);
  --global-home-stage-overlay:
    linear-gradient(120deg, rgba(255, 255, 255, 0.32), rgba(255, 255, 255, 0) 28%),
    linear-gradient(90deg, transparent 0%, rgba(111, 212, 255, 0.14) 48%, transparent 100%);
  --global-home-stage-overlay-blend: normal;
  --global-home-stage-overlay-opacity: 0.9;
  --global-home-stage-grid:
    linear-gradient(rgba(8, 19, 30, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(8, 19, 30, 0.05) 1px, transparent 1px);
  --global-home-stage-grid-opacity: 0.06;
  --global-home-kicker: #0b5a7f;
  --global-home-kicker-meta: rgba(8, 19, 30, 0.58);
  --global-home-panel-label: rgba(8, 19, 30, 0.52);
  --global-home-title: #07131f;
  --global-home-title-muted: rgba(8, 19, 30, 0.64);
  --global-home-lead: rgba(8, 19, 30, 0.74);
  --global-home-pill-border: rgba(8, 19, 30, 0.1);
  --global-home-pill-bg: rgba(255, 255, 255, 0.72);
  --global-home-pill-text: #08131f;
  --global-home-pill-hover-bg: rgba(111, 212, 255, 0.16);
  --global-home-pill-hover-text: #083754;
  --global-home-pill-accent-bg: #0b6287;
  --global-home-pill-accent-text: #ffffff;
  --global-home-pill-accent-border: rgba(11, 98, 135, 0.84);
  --global-home-pill-accent-shadow: 0 14px 30px rgba(46, 156, 209, 0.22);
  --global-home-pill-accent-hover-bg: #084866;
  --global-home-pill-accent-hover-text: #ffffff;
  --global-home-status-bg: rgba(255, 255, 255, 0.56);
  --global-home-status-border: rgba(111, 170, 215, 0.16);
  --global-home-status-label: rgba(8, 19, 30, 0.62);
  --global-home-status-strong: #08131e;
  --global-home-body-copy: rgba(8, 19, 30, 0.72);
  --global-home-surface-bg:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(244, 249, 255, 0.76)),
    rgba(233, 242, 249, 0.8);
  --global-home-surface-border: rgba(111, 170, 215, 0.18);
  --global-home-surface-head-border: rgba(8, 19, 30, 0.08);
  --global-home-surface-head-text: rgba(8, 19, 30, 0.6);
  --global-home-surface-title: #08131e;
  --global-home-list-border: rgba(8, 19, 30, 0.08);
  --global-home-list-text: rgba(8, 19, 30, 0.88);
  --global-home-list-dot: linear-gradient(180deg, #3cbce9, #8fe7ff);
  --global-home-list-dot-shadow: 0 0 12px rgba(111, 212, 255, 0.28);
  --global-home-linkrail-border: rgba(8, 19, 30, 0.08);
  --global-home-linkrail-text: #08131f;
  --global-home-linkrail-muted: rgba(8, 19, 30, 0.62);
  --global-home-linkrail-hover: #0a5d87;
  --global-home-deck-bg: rgba(255, 255, 255, 0.88);
  --global-home-deck-border: rgba(9, 24, 39, 0.06);
  --global-home-deck-shadow: 0 22px 50px rgba(16, 24, 40, 0.08);
  --global-home-deck-label: rgba(7, 20, 32, 0.52);
  --global-home-deck-title: #08131e;
  --global-home-deck-body: rgba(8, 19, 30, 0.72);
  --global-home-deck-meta: rgba(8, 19, 30, 0.48);
  --global-home-filters-bg: rgba(255, 255, 255, 0.84);
  --global-home-filters-border: rgba(8, 19, 30, 0.08);
  --global-home-filters-shadow: 0 22px 48px rgba(15, 23, 42, 0.08);
  --global-home-input-bg: rgba(255, 255, 255, 0.82);
  --global-home-input-border: rgba(8, 19, 30, 0.1);
  --global-home-input-text: #08131e;
  --global-home-input-placeholder: rgba(8, 19, 30, 0.44);
  --global-home-filter-button-bg: #0b6287;
  --global-home-filter-button-text: #ffffff;
  --global-home-feed-title: #08131f;
  --global-home-feed-copy: rgba(8, 19, 30, 0.68);
  --global-home-feed-pill-bg: rgba(255, 255, 255, 0.82);
  --global-home-feed-pill-border: rgba(8, 19, 30, 0.08);
  --global-home-feed-pill-text: #08131e;
  --global-home-card-bg: rgba(255, 255, 255, 0.88);
  --global-home-card-border: rgba(8, 19, 30, 0.08);
  --global-home-card-shadow: 0 18px 38px rgba(8, 19, 30, 0.08);
  --global-home-card-hover-border: rgba(99, 177, 232, 0.28);
  --global-home-card-hover-shadow: 0 24px 46px rgba(8, 19, 30, 0.12);
  --global-home-badge-bg: rgba(8, 19, 30, 0.06);
  --global-home-badge-text: rgba(8, 19, 30, 0.68);
  --global-home-badge-accent-bg: rgba(111, 212, 255, 0.14);
  --global-home-badge-accent-text: #0b4f75;
  --global-home-badge-sector-bg: rgba(8, 19, 30, 0.08);
  --global-home-headline: #06101a;
  --global-home-muted-link: rgba(8, 19, 30, 0.66);
  --global-home-tag-bg: rgba(8, 19, 30, 0.06);
  --global-home-tag-text: rgba(8, 19, 30, 0.68);
  --global-home-link-hover: #0a5d87;
  --global-home-network-bg: rgba(255, 255, 255, 0.82);
  --global-home-network-border: rgba(8, 19, 30, 0.08);
  --global-home-network-shadow: 0 24px 54px rgba(15, 23, 42, 0.08);
  --global-home-network-card-bg: rgba(255, 255, 255, 0.66);
  --global-home-network-card-border: rgba(8, 19, 30, 0.08);
  --global-home-network-title: #08131f;
  --global-home-network-copy: rgba(8, 19, 30, 0.72);
  --global-home-network-metric-label: rgba(8, 19, 30, 0.58);
  --global-home-network-point-bg: rgba(8, 19, 30, 0.06);
  --global-home-network-point-text: #0b5a7f;
  --global-home-network-step-bg: rgba(255, 255, 255, 0.8);
  background:
    linear-gradient(180deg, rgba(6, 12, 20, 0.02), rgba(6, 12, 20, 0)),
    radial-gradient(1200px 760px at 100% -12%, rgba(66, 146, 214, 0.14), transparent 60%),
    radial-gradient(980px 680px at -8% 0%, rgba(7, 83, 132, 0.12), transparent 56%),
    #f3f6fb;
  font-family: var(--global-font-ui);
}

.theme-dark.global-site-shell {
  color-scheme: dark;
  --global-shell-bg:
    radial-gradient(900px 500px at 85% -10%, rgba(90, 167, 255, 0.08), transparent 60%),
    radial-gradient(800px 500px at 10% -20%, rgba(122, 183, 255, 0.08), transparent 60%),
    linear-gradient(180deg, rgba(7, 12, 21, 0.98), rgba(7, 12, 21, 0.98)),
    #0b0d12;
  --global-shell-overlay:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 18%),
    linear-gradient(90deg, rgba(90, 167, 255, 0.03), transparent 18%, transparent 82%, rgba(90, 167, 255, 0.03));
  --global-shell-topbar-bg: rgba(7, 14, 24, 0.82);
  --global-shell-topbar-border: rgba(157, 214, 255, 0.12);
  --global-shell-topbar-shadow: 0 22px 48px rgba(3, 9, 17, 0.16);
  --global-shell-topbar-scrolled-bg: rgba(7, 14, 24, 0.92);
  --global-shell-topbar-scrolled-shadow: 0 24px 56px rgba(3, 9, 17, 0.22);
  --global-shell-topbar-text: #edf6ff;
  --global-shell-brand-icon-shadow: drop-shadow(0 0 18px rgba(110, 197, 255, 0.3));
  --global-shell-pill-border: rgba(157, 214, 255, 0.14);
  --global-shell-pill-bg: rgba(255, 255, 255, 0.04);
  --global-shell-pill-text: #eaf3ff;
  --global-shell-pill-hover-border: rgba(157, 214, 255, 0.28);
  --global-shell-pill-hover-bg: rgba(122, 198, 255, 0.1);
  --global-shell-pill-hover-text: #ffffff;
  --global-shell-menu-bg: rgba(8, 16, 28, 0.94);
  --global-shell-menu-border: rgba(157, 214, 255, 0.12);
  --global-shell-menu-shadow: 0 22px 44px rgba(0, 0, 0, 0.34);
  --global-shell-menu-link: #e6f1ff;
  --global-shell-menu-hover-bg: rgba(122, 198, 255, 0.08);
  --global-shell-menu-hover-text: #ffffff;
  --global-shell-scroll-progress: linear-gradient(90deg, #6fd4ff, #dff7ff);
  --global-shell-footer-bg:
    linear-gradient(180deg, rgba(8, 14, 23, 0.94), rgba(6, 10, 18, 0.98)),
    #050b13;
  --global-shell-footer-text: rgba(232, 241, 252, 0.82);
  --global-shell-footer-muted: rgba(232, 241, 252, 0.72);
  --global-shell-footer-border: rgba(157, 214, 255, 0.1);
  --global-shell-footer-title: #f3f8ff;
  --global-home-transition-bg: rgba(3, 8, 14, 0.52);
  --global-home-transition-icon-bg: rgba(7, 14, 24, 0.94);
  --global-home-stage-bg:
    linear-gradient(135deg, rgba(8, 16, 28, 0.98) 0%, rgba(8, 19, 31, 0.92) 48%, rgba(6, 13, 23, 0.98) 100%);
  --global-home-stage-border: rgba(145, 209, 255, 0.12);
  --global-home-stage-shadow: 0 32px 80px rgba(3, 10, 19, 0.24);
  --global-home-stage-overlay:
    linear-gradient(120deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0) 28%),
    linear-gradient(90deg, transparent 0%, rgba(111, 212, 255, 0.08) 48%, transparent 100%);
  --global-home-stage-overlay-blend: screen;
  --global-home-stage-overlay-opacity: 0.6;
  --global-home-stage-grid:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  --global-home-stage-grid-opacity: 0.08;
  --global-home-kicker: #dff5ff;
  --global-home-kicker-meta: rgba(223, 245, 255, 0.76);
  --global-home-panel-label: rgba(223, 245, 255, 0.74);
  --global-home-title: #f6fbff;
  --global-home-title-muted: rgba(226, 242, 255, 0.84);
  --global-home-lead: rgba(234, 245, 255, 0.84);
  --global-home-pill-border: rgba(173, 222, 255, 0.28);
  --global-home-pill-bg: rgba(255, 255, 255, 0.08);
  --global-home-pill-text: #f5fbff;
  --global-home-pill-hover-bg: rgba(111, 212, 255, 0.18);
  --global-home-pill-hover-text: #ffffff;
  --global-home-pill-accent-bg: #dff7ff;
  --global-home-pill-accent-text: #07141f;
  --global-home-pill-accent-border: rgba(223, 247, 255, 0.8);
  --global-home-pill-accent-shadow: 0 14px 30px rgba(151, 232, 255, 0.18);
  --global-home-pill-accent-hover-bg: #ffffff;
  --global-home-pill-accent-hover-text: #05111a;
  --global-home-status-bg: rgba(255, 255, 255, 0.06);
  --global-home-status-border: rgba(173, 222, 255, 0.14);
  --global-home-status-label: rgba(223, 245, 255, 0.72);
  --global-home-status-strong: #f3f8ff;
  --global-home-body-copy: rgba(231, 243, 255, 0.8);
  --global-home-surface-bg:
    linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.04)),
    rgba(4, 10, 18, 0.6);
  --global-home-surface-border: rgba(173, 222, 255, 0.16);
  --global-home-surface-head-border: rgba(173, 222, 255, 0.14);
  --global-home-surface-head-text: rgba(231, 244, 255, 0.82);
  --global-home-surface-title: #f7fbff;
  --global-home-list-border: rgba(173, 222, 255, 0.14);
  --global-home-list-text: rgba(244, 249, 255, 0.94);
  --global-home-list-dot: linear-gradient(180deg, #6ed4ff, #dff7ff);
  --global-home-list-dot-shadow: 0 0 12px rgba(111, 212, 255, 0.44);
  --global-home-linkrail-border: rgba(157, 214, 255, 0.1);
  --global-home-linkrail-text: #eef6ff;
  --global-home-linkrail-muted: rgba(223, 241, 255, 0.72);
  --global-home-linkrail-hover: #ffffff;
  --global-home-deck-bg: rgba(8, 16, 27, 0.82);
  --global-home-deck-border: rgba(157, 214, 255, 0.12);
  --global-home-deck-shadow: 0 22px 50px rgba(3, 10, 19, 0.2);
  --global-home-deck-label: rgba(223, 245, 255, 0.6);
  --global-home-deck-title: #f3f8ff;
  --global-home-deck-body: rgba(231, 243, 255, 0.8);
  --global-home-deck-meta: rgba(223, 241, 255, 0.56);
  --global-home-filters-bg: rgba(8, 14, 24, 0.88);
  --global-home-filters-border: rgba(157, 214, 255, 0.12);
  --global-home-filters-shadow: 0 22px 48px rgba(6, 12, 20, 0.12);
  --global-home-input-bg: rgba(255, 255, 255, 0.06);
  --global-home-input-border: rgba(157, 214, 255, 0.12);
  --global-home-input-text: #eef7ff;
  --global-home-input-placeholder: rgba(223, 241, 255, 0.46);
  --global-home-filter-button-bg: #dff7ff;
  --global-home-filter-button-text: #05111a;
  --global-home-feed-title: #eef7ff;
  --global-home-feed-copy: rgba(223, 241, 255, 0.72);
  --global-home-feed-pill-bg: rgba(8, 14, 24, 0.88);
  --global-home-feed-pill-border: rgba(157, 214, 255, 0.12);
  --global-home-feed-pill-text: #eef7ff;
  --global-home-card-bg: rgba(10, 20, 33, 0.82);
  --global-home-card-border: rgba(157, 214, 255, 0.12);
  --global-home-card-shadow: 0 18px 38px rgba(3, 10, 19, 0.18);
  --global-home-card-hover-border: rgba(111, 212, 255, 0.3);
  --global-home-card-hover-shadow: 0 24px 46px rgba(3, 10, 19, 0.24);
  --global-home-badge-bg: rgba(255, 255, 255, 0.08);
  --global-home-badge-text: rgba(223, 241, 255, 0.74);
  --global-home-badge-accent-bg: rgba(111, 212, 255, 0.2);
  --global-home-badge-accent-text: #9adfff;
  --global-home-badge-sector-bg: rgba(255, 255, 255, 0.1);
  --global-home-headline: #eef7ff;
  --global-home-muted-link: rgba(223, 241, 255, 0.72);
  --global-home-tag-bg: rgba(255, 255, 255, 0.08);
  --global-home-tag-text: rgba(223, 241, 255, 0.74);
  --global-home-link-hover: #8edcff;
  --global-home-network-bg: rgba(8, 14, 24, 0.84);
  --global-home-network-border: rgba(157, 214, 255, 0.12);
  --global-home-network-shadow: 0 24px 54px rgba(3, 10, 19, 0.22);
  --global-home-network-card-bg: rgba(255, 255, 255, 0.06);
  --global-home-network-card-border: rgba(157, 214, 255, 0.12);
  --global-home-network-title: #eef7ff;
  --global-home-network-copy: rgba(223, 241, 255, 0.72);
  --global-home-network-metric-label: rgba(223, 241, 255, 0.58);
  --global-home-network-point-bg: rgba(255, 255, 255, 0.08);
  --global-home-network-point-text: #dff7ff;
  --global-home-network-step-bg: rgba(255, 255, 255, 0.05);
}

.global-site-shell::after {
  content: "";
  position: fixed;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), transparent 18%),
    linear-gradient(90deg, rgba(5, 14, 24, 0.02), transparent 18%, transparent 82%, rgba(5, 14, 24, 0.02));
  pointer-events: none;
  z-index: 0;
}

.global-site-shell .topbar {
  background: rgba(7, 14, 24, 0.82);
  border-bottom: 1px solid rgba(157, 214, 255, 0.12);
  box-shadow: 0 22px 48px rgba(3, 9, 17, 0.16);
  backdrop-filter: blur(18px) saturate(150%);
}

.global-site-shell .topbar.is-scrolled {
  background: rgba(7, 14, 24, 0.92);
  box-shadow: 0 24px 56px rgba(3, 9, 17, 0.22);
}

.global-site-shell .topbar .brand,
.global-site-shell .topbar nav a,
.global-site-shell .theme-toggle {
  color: #edf6ff;
}

.global-site-shell .brand-icon {
  filter: drop-shadow(0 0 18px rgba(110, 197, 255, 0.3));
}

.global-site-shell .topbar .brand span {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.global-site-shell .nav-pill,
.global-site-shell .nav-dropdown-toggle,
.global-site-shell .theme-toggle {
  border-color: rgba(157, 214, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: #eaf3ff;
}

.global-site-shell .nav-pill:hover,
.global-site-shell .nav-dropdown-toggle:hover,
.global-site-shell .theme-toggle:hover,
.global-site-shell .nav-pill.active,
.global-site-shell .nav-dropdown-toggle.active {
  border-color: rgba(157, 214, 255, 0.28);
  background: rgba(122, 198, 255, 0.1);
  color: #ffffff;
}

.global-site-shell .nav-menu {
  background: rgba(8, 16, 28, 0.94);
  border: 1px solid rgba(157, 214, 255, 0.12);
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.34);
}

.global-site-shell .nav-menu a {
  color: #e6f1ff;
}

.global-site-shell .nav-menu a:hover {
  background: rgba(122, 198, 255, 0.08);
  color: #ffffff;
}

.global-site-shell .scroll-progress {
  background: linear-gradient(90deg, #6fd4ff, #dff7ff);
}

.global-site-shell .container {
  max-width: 1440px;
  padding-top: calc(var(--topbar-height) + 34px);
}

.global-site-shell .site-footer {
  margin-top: 72px;
  background:
    linear-gradient(180deg, rgba(8, 14, 23, 0.94), rgba(6, 10, 18, 0.98)),
    #050b13;
  color: rgba(232, 241, 252, 0.82);
  border-top: 1px solid rgba(157, 214, 255, 0.1);
}

.global-site-shell .site-footer-copy p,
.global-site-shell .site-footer-links a {
  color: rgba(232, 241, 252, 0.72);
}

.global-site-shell .site-footer-title {
  color: #f3f8ff;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.global-home-shell .page-transition {
  background: rgba(3, 8, 14, 0.52);
}

.global-home-shell .page-transition-icon-bg {
  fill: rgba(7, 14, 24, 0.94);
}

body.brand-intro-active {
  overflow: hidden;
}

.brand-intro {
  --intro-progress: 0;
  position: fixed;
  inset: 0;
  z-index: 180;
  overflow: hidden;
  background:
    radial-gradient(900px 520px at 100% 50%, rgba(67, 164, 255, 0.12), transparent 62%),
    linear-gradient(180deg, #010407 0%, #04101a 48%, #061521 100%);
  transition: opacity 0.72s ease, visibility 0.72s ease;
}

.brand-intro::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 42px 42px;
  opacity: 0.26;
}

.brand-intro.is-finished {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.brand-intro-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.brand-intro-copy {
  position: absolute;
  left: 36px;
  right: 36px;
  bottom: 34px;
  z-index: 2;
  display: grid;
  gap: 10px;
  max-width: 520px;
  color: #eff8ff;
  opacity: calc(0.24 + var(--intro-progress) * 0.88);
  transform: translateY(calc(14px - var(--intro-progress) * 14px));
  transition: opacity 0.48s ease, transform 0.48s ease;
}

.brand-intro.is-revealing .brand-intro-copy {
  opacity: 1;
  transform: translateY(0);
}

.brand-intro-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(224, 242, 255, 0.72);
}

.brand-intro-title {
  font-family: var(--global-font-display);
  font-size: clamp(42px, 8vw, 84px);
  line-height: 0.92;
  letter-spacing: -0.03em;
}

.brand-intro-subtitle {
  margin: 0;
  max-width: 500px;
  font-size: 15px;
  line-height: 1.55;
  color: rgba(224, 242, 255, 0.72);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.brand-intro-subnote {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(194, 232, 255, 0.58);
}

.brand-intro-live {
  display: grid;
  gap: 6px;
  max-width: 500px;
  padding: 11px 13px;
  border-radius: 8px;
  border: 1px solid rgba(129, 203, 255, 0.18);
  background: linear-gradient(180deg, rgba(8, 18, 30, 0.74), rgba(8, 18, 30, 0.46));
  box-shadow: 0 18px 40px rgba(3, 10, 19, 0.18);
}

.brand-intro-live span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(194, 232, 255, 0.62);
}

.brand-intro-live strong {
  font-size: 14px;
  line-height: 1.48;
  font-weight: 600;
  color: rgba(238, 249, 255, 0.94);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.brand-intro-skip {
  position: absolute;
  right: 28px;
  bottom: 28px;
  z-index: 2;
  padding: 11px 16px;
  border-radius: 8px;
  border: 1px solid rgba(157, 214, 255, 0.2);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(239, 248, 255, 0.88);
  font: inherit;
  cursor: pointer;
}

.brand-intro-skip:hover {
  background: rgba(111, 212, 255, 0.12);
  color: #ffffff;
}

.global-home-shell .global-home-stage,
.global-home-shell .global-home-deck,
.global-home-shell .global-home-filters,
.global-home-shell .global-home-feed-head,
.global-home-shell .global-home-feed {
  position: relative;
  z-index: 1;
}

.global-home-stage {
  position: relative;
  padding: 34px;
  border-radius: 32px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(8, 16, 28, 0.98) 0%, rgba(8, 19, 31, 0.92) 48%, rgba(6, 13, 23, 0.98) 100%);
  box-shadow: 0 32px 80px rgba(3, 10, 19, 0.24);
  border: 1px solid rgba(145, 209, 255, 0.12);
}

.global-home-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0) 28%),
    linear-gradient(90deg, transparent 0%, rgba(111, 212, 255, 0.08) 48%, transparent 100%);
  mix-blend-mode: screen;
  opacity: 0.6;
  pointer-events: none;
}

.global-home-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 58px 58px;
  opacity: 0.08;
  pointer-events: none;
}

.global-home-stage-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(380px, 0.92fr);
  gap: 30px;
  align-items: stretch;
}

.global-home-copy,
.global-home-surface {
  position: relative;
  z-index: 1;
}

.global-home-copy {
  display: grid;
  align-content: space-between;
  gap: 22px;
}

.global-home-kicker-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.global-home-kicker,
.global-home-kicker-meta,
.global-home-panel-label,
.global-home-deck-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.global-home-kicker {
  color: #dff5ff;
}

.global-home-kicker-meta {
  color: rgba(223, 245, 255, 0.76);
}

.global-home-panel-label {
  color: rgba(223, 245, 255, 0.74);
}

.global-home-title {
  margin: 0;
  display: grid;
  gap: 6px;
  font-family: var(--global-font-display);
  font-size: clamp(54px, 7vw, 110px);
  line-height: 0.9;
  letter-spacing: -0.05em;
  color: #f6fbff;
}

.global-home-title span:last-child {
  color: rgba(226, 242, 255, 0.84);
}

.global-home-lead {
  margin: 0;
  max-width: 620px;
  font-size: 18px;
  line-height: 1.7;
  color: rgba(234, 245, 255, 0.84);
}

.global-home-action-row,
.global-home-feed-status {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.global-home-platform-brief {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
  max-width: 820px;
}

.global-home-brief-card {
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(173, 222, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  display: grid;
  gap: 8px;
}

.global-home-brief-card span {
  color: rgba(223, 245, 255, 0.72);
  font-family: var(--global-font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.global-home-brief-card strong {
  font-family: var(--global-font-display);
  font-size: 20px;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #f6fbff;
}

.global-home-brief-card p {
  margin: 0;
  color: rgba(234, 245, 255, 0.76);
  line-height: 1.62;
}

.global-home-shell .pill {
  border-radius: 8px;
  border: 1px solid rgba(173, 222, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
  color: #f5fbff;
  font-weight: 600;
}

.global-home-shell .pill.pill-accent {
  background: #dff7ff;
  color: #07141f;
  border-color: rgba(223, 247, 255, 0.8);
  box-shadow: 0 14px 30px rgba(151, 232, 255, 0.18);
}

.global-home-shell .pill:hover {
  background: rgba(111, 212, 255, 0.18);
  color: #ffffff;
}

.global-home-shell .pill.pill-accent:hover {
  background: #ffffff;
  color: #05111a;
}

.global-home-status-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.global-home-status-item {
  padding: 18px 18px 20px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(173, 222, 255, 0.14);
}

.global-home-status-item span,
.global-home-source-cloud span {
  display: block;
  margin-bottom: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(223, 245, 255, 0.72);
}

.global-home-status-item strong,
.global-home-source-cloud strong {
  display: block;
  margin-bottom: 10px;
  font-size: 18px;
  line-height: 1.35;
  color: #f3f8ff;
}

.global-home-status-item p,
.global-home-source-cloud p,
.global-home-surface-primary p,
.global-home-feed-copy p,
.global-home-deck-item p,
.global-home-deck-item small {
  margin: 0;
  color: rgba(231, 243, 255, 0.8);
  line-height: 1.6;
}

.global-home-surface {
  padding: 24px;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.04)),
    rgba(4, 10, 18, 0.6);
  border: 1px solid rgba(173, 222, 255, 0.16);
  backdrop-filter: blur(16px);
  display: grid;
  gap: 20px;
}

.global-home-surface-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(173, 222, 255, 0.14);
  color: rgba(231, 244, 255, 0.82);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.global-home-surface-primary {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(220px, 0.72fr);
  gap: 18px;
}

.global-home-surface-primary h2 {
  margin: 0 0 10px;
  font-family: var(--global-font-display);
  font-size: clamp(34px, 3vw, 52px);
  line-height: 0.96;
  letter-spacing: -0.04em;
  color: #f7fbff;
}

.global-home-surface-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.global-home-list-block {
  padding-top: 4px;
  border-top: 1px solid rgba(173, 222, 255, 0.14);
}

.global-home-list {
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.global-home-list li {
  position: relative;
  padding-left: 18px;
  color: rgba(244, 249, 255, 0.94);
  line-height: 1.55;
}

.global-home-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: linear-gradient(180deg, #6ed4ff, #dff7ff);
  box-shadow: 0 0 12px rgba(111, 212, 255, 0.44);
}

.global-home-linkrail {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  margin-top: 28px;
  border-top: 1px solid rgba(157, 214, 255, 0.1);
}

.global-home-linkrail a {
  padding: 18px 18px 0 0;
  color: #eef6ff;
  text-decoration: none;
  display: grid;
  gap: 8px;
}

.global-home-linkrail a + a {
  padding-left: 18px;
  border-left: 1px solid rgba(157, 214, 255, 0.08);
}

.global-home-linkrail a span {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.global-home-linkrail a small {
  color: rgba(223, 241, 255, 0.72);
  line-height: 1.55;
}

.global-home-linkrail a:hover span,
.global-home-linkrail a:hover small {
  color: #ffffff;
}

.global-home-deck {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: 26px;
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid rgba(9, 24, 39, 0.06);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 22px 50px rgba(16, 24, 40, 0.08);
  backdrop-filter: blur(18px);
}

.global-home-deck,
.global-home-network-band,
.global-home-network-flow,
.global-home-network-points,
.global-home-network-impact {
  display: none !important;
}

.global-home-filters {
  margin-top: 24px;
  border-radius: 20px;
  background: rgba(8, 14, 24, 0.88);
  border: 1px solid rgba(157, 214, 255, 0.12);
  box-shadow: 0 22px 48px rgba(6, 12, 20, 0.12);
}

.global-home-filters form {
  gap: 12px;
}

.global-home-filters input,
.global-home-filters select {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(157, 214, 255, 0.12);
  color: #eef7ff;
}

.global-home-filters input::placeholder {
  color: rgba(223, 241, 255, 0.46);
}

.global-home-filters button {
  border-radius: 8px;
  background: #dff7ff;
  color: #05111a;
  border: none;
}

.global-home-feed-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-top: 28px;
}

.global-home-feed-copy {
  max-width: 760px;
  display: grid;
  gap: 10px;
}

.global-home-feed-copy .section-title {
  color: #08131f;
}

.global-home-feed-copy p {
  color: rgba(8, 19, 30, 0.68);
}

.global-home-feed-status .pill {
  background: rgba(8, 14, 24, 0.88);
  color: #eef7ff;
}

.global-home-feed {
  margin-top: 14px;
}

.global-home-shell .home-v3-news-card {
  border-radius: 20px;
  border: 1px solid rgba(8, 19, 30, 0.08);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 38px rgba(8, 19, 30, 0.08);
}

.global-home-shell .home-v3-news-card:hover {
  transform: translateY(-4px);
  border-color: rgba(99, 177, 232, 0.28);
  box-shadow: 0 24px 46px rgba(8, 19, 30, 0.12);
}

.global-home-shell .badge {
  border-radius: 999px;
  background: rgba(8, 19, 30, 0.06);
  color: rgba(8, 19, 30, 0.68);
}

.global-home-shell .badge.accent {
  background: rgba(111, 212, 255, 0.14);
  color: #0b4f75;
}

.global-home-shell .badge.sector {
  background: rgba(8, 19, 30, 0.08);
}

.global-home-shell .single-text a {
  color: #06101a;
  font-size: 24px;
  line-height: 1.18;
  letter-spacing: -0.03em;
}

.global-home-shell .news-summary,
.global-home-shell .muted,
.global-home-shell .actions .link {
  color: rgba(8, 19, 30, 0.66);
}

.global-home-shell .display-tags .tag {
  border-radius: 999px;
  background: rgba(8, 19, 30, 0.06);
  color: rgba(8, 19, 30, 0.68);
}

.global-home-shell .actions .link:hover,
.global-home-shell .single-text a:hover {
  color: #0a5d87;
}

body.global-site-shell {
  background: var(--global-shell-bg);
}

.global-site-shell::after {
  background: var(--global-shell-overlay);
}

.global-site-shell .topbar {
  background: var(--global-shell-topbar-bg);
  border-bottom-color: var(--global-shell-topbar-border);
  box-shadow: var(--global-shell-topbar-shadow);
}

.global-site-shell .topbar.is-scrolled {
  background: var(--global-shell-topbar-scrolled-bg);
  box-shadow: var(--global-shell-topbar-scrolled-shadow);
}

.global-site-shell .topbar .brand,
.global-site-shell .topbar nav a,
.global-site-shell .theme-toggle {
  color: var(--global-shell-topbar-text);
}

.global-site-shell .brand-icon {
  filter: var(--global-shell-brand-icon-shadow);
}

.global-site-shell .nav-pill,
.global-site-shell .nav-dropdown-toggle,
.global-site-shell .theme-toggle {
  border-color: var(--global-shell-pill-border);
  background: var(--global-shell-pill-bg);
  color: var(--global-shell-pill-text);
}

.global-site-shell .nav-pill:hover,
.global-site-shell .nav-dropdown-toggle:hover,
.global-site-shell .theme-toggle:hover,
.global-site-shell .nav-pill.active,
.global-site-shell .nav-dropdown-toggle.active {
  border-color: var(--global-shell-pill-hover-border);
  background: var(--global-shell-pill-hover-bg);
  color: var(--global-shell-pill-hover-text);
}

.global-site-shell .nav-menu {
  background: var(--global-shell-menu-bg);
  border-color: var(--global-shell-menu-border);
  box-shadow: var(--global-shell-menu-shadow);
}

.global-site-shell .nav-menu a {
  color: var(--global-shell-menu-link);
}

.global-site-shell .nav-menu a:hover {
  background: var(--global-shell-menu-hover-bg);
  color: var(--global-shell-menu-hover-text);
}

.global-site-shell .scroll-progress {
  background: var(--global-shell-scroll-progress);
}

.global-site-shell .site-footer {
  background: var(--global-shell-footer-bg);
  color: var(--global-shell-footer-text);
  border-top-color: var(--global-shell-footer-border);
}

.global-site-shell .site-footer-copy p,
.global-site-shell .site-footer-links a {
  color: var(--global-shell-footer-muted);
}

.global-site-shell .site-footer-title {
  color: var(--global-shell-footer-title);
}

.global-home-shell .page-transition {
  background: var(--global-home-transition-bg);
}

.global-home-shell .page-transition-icon-bg {
  fill: var(--global-home-transition-icon-bg);
}

.global-home-stage {
  background: var(--global-home-stage-bg);
  box-shadow: var(--global-home-stage-shadow);
  border-color: var(--global-home-stage-border);
}

.global-home-stage::before {
  background: var(--global-home-stage-overlay);
  mix-blend-mode: var(--global-home-stage-overlay-blend);
  opacity: var(--global-home-stage-overlay-opacity);
}

.global-home-stage::after {
  background-image: var(--global-home-stage-grid);
  opacity: var(--global-home-stage-grid-opacity);
}

.global-home-kicker {
  color: var(--global-home-kicker);
}

.global-home-kicker-meta {
  color: var(--global-home-kicker-meta);
}

.global-home-panel-label {
  color: var(--global-home-panel-label);
}

.global-home-title {
  color: var(--global-home-title);
}

.global-home-title span:last-child {
  color: var(--global-home-title-muted);
}

.global-home-lead {
  color: var(--global-home-lead);
}

.global-home-shell .pill {
  border-color: var(--global-home-pill-border);
  background: var(--global-home-pill-bg);
  color: var(--global-home-pill-text);
}

.global-home-shell .pill.pill-accent {
  background: var(--global-home-pill-accent-bg);
  color: var(--global-home-pill-accent-text);
  border-color: var(--global-home-pill-accent-border);
  box-shadow: var(--global-home-pill-accent-shadow);
}

.global-home-shell .pill:hover {
  background: var(--global-home-pill-hover-bg);
  color: var(--global-home-pill-hover-text);
}

.global-home-shell .pill.pill-accent:hover {
  background: var(--global-home-pill-accent-hover-bg);
  color: var(--global-home-pill-accent-hover-text);
}

.global-home-status-item {
  background: var(--global-home-status-bg);
  border-color: var(--global-home-status-border);
}

.global-home-status-item span,
.global-home-source-cloud span {
  color: var(--global-home-status-label);
}

.global-home-status-item strong,
.global-home-source-cloud strong {
  color: var(--global-home-status-strong);
}

.global-home-status-item p,
.global-home-source-cloud p,
.global-home-surface-primary p,
.global-home-feed-copy p,
.global-home-deck-item p,
.global-home-deck-item small {
  color: var(--global-home-body-copy);
}

.global-home-surface {
  background: var(--global-home-surface-bg);
  border-color: var(--global-home-surface-border);
}

.global-home-surface-head {
  border-bottom-color: var(--global-home-surface-head-border);
  color: var(--global-home-surface-head-text);
}

.global-home-surface-primary h2 {
  color: var(--global-home-surface-title);
}

.global-home-list-block {
  border-top-color: var(--global-home-list-border);
}

.global-home-list li {
  color: var(--global-home-list-text);
}

.global-home-list li::before {
  background: var(--global-home-list-dot);
  box-shadow: var(--global-home-list-dot-shadow);
}

.global-home-linkrail {
  border-top-color: var(--global-home-linkrail-border);
}

.global-home-linkrail a {
  color: var(--global-home-linkrail-text);
}

.global-home-linkrail a + a {
  border-left-color: var(--global-home-linkrail-border);
}

.global-home-linkrail a small {
  color: var(--global-home-linkrail-muted);
}

.global-home-linkrail a:hover span,
.global-home-linkrail a:hover small {
  color: var(--global-home-linkrail-hover);
}

.global-home-deck {
  border-color: var(--global-home-deck-border);
  background: var(--global-home-deck-bg);
  box-shadow: var(--global-home-deck-shadow);
}

.global-home-deck-item + .global-home-deck-item {
  border-left-color: var(--global-home-deck-border);
}

.global-home-deck-label {
  color: var(--global-home-deck-label);
}

.global-home-deck-item strong {
  color: var(--global-home-deck-title);
}

.global-home-deck-item p {
  color: var(--global-home-deck-body);
}

.global-home-deck-item small {
  color: var(--global-home-deck-meta);
}

.global-home-network {
  position: relative;
  z-index: 1;
  margin-top: 18px;
  padding: 24px;
  border-radius: 28px;
  border: 1px solid var(--global-home-network-border);
  background: var(--global-home-network-bg);
  box-shadow: var(--global-home-network-shadow);
  display: grid;
  gap: 16px;
  overflow: hidden;
}

.global-home-network::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0) 28%),
    linear-gradient(90deg, transparent 0%, rgba(111, 212, 255, 0.08) 52%, transparent 100%);
  pointer-events: none;
  opacity: 0.72;
}

.global-home-network-head,
.global-home-network-grid {
  position: relative;
  z-index: 1;
}

.global-home-network-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 18px;
}

.global-home-network-copy {
  max-width: 760px;
  display: grid;
  gap: 10px;
}

.global-home-network-title {
  margin: 0;
  font-family: var(--global-font-display);
  font-size: clamp(38px, 5vw, 64px);
  line-height: 0.95;
  letter-spacing: -0.05em;
  color: var(--global-home-network-title);
}

.global-home-network-summary,
.global-home-network-card p,
.global-home-network-participation {
  margin: 0;
  color: var(--global-home-network-copy);
  line-height: 1.68;
}

.global-home-network-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.global-home-network-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.global-home-network-card {
  padding: 20px;
  border-radius: 22px;
  border: 1px solid var(--global-home-network-card-border);
  background: var(--global-home-network-card-bg);
  display: grid;
  gap: 12px;
}

.global-home-network-card strong {
  font-size: 26px;
  line-height: 1.12;
  letter-spacing: -0.04em;
  color: var(--global-home-network-title);
}

.global-home-network-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.global-home-network-metrics div,
.global-home-network-step {
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid var(--global-home-network-card-border);
  background: var(--global-home-network-step-bg);
}

.global-home-network-metrics span,
.global-home-network-step span {
  display: block;
  margin-bottom: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--global-home-network-metric-label);
}

.global-home-network-metrics b,
.global-home-network-step strong {
  color: var(--global-home-network-title);
}

.global-home-network-metrics b {
  font-size: 20px;
  line-height: 1.2;
}

.global-home-filters {
  background: var(--global-home-filters-bg);
  border-color: var(--global-home-filters-border);
  box-shadow: var(--global-home-filters-shadow);
}

.global-home-filters input,
.global-home-filters select {
  background: var(--global-home-input-bg);
  border-color: var(--global-home-input-border);
  color: var(--global-home-input-text);
}

.global-home-filters input::placeholder {
  color: var(--global-home-input-placeholder);
}

.global-home-filters button {
  background: var(--global-home-filter-button-bg);
  color: var(--global-home-filter-button-text);
}

.global-home-feed-copy .section-title {
  color: var(--global-home-feed-title);
}

.global-home-feed-copy p {
  color: var(--global-home-feed-copy);
}

.global-home-feed-status .pill {
  background: var(--global-home-feed-pill-bg);
  border-color: var(--global-home-feed-pill-border);
  color: var(--global-home-feed-pill-text);
}

.global-home-shell .home-v3-news-card {
  border-color: var(--global-home-card-border);
  background: var(--global-home-card-bg);
  box-shadow: var(--global-home-card-shadow);
}

.global-home-shell .home-v3-news-card:hover {
  border-color: var(--global-home-card-hover-border);
  box-shadow: var(--global-home-card-hover-shadow);
}

.global-home-shell .badge {
  background: var(--global-home-badge-bg);
  color: var(--global-home-badge-text);
}

.global-home-shell .badge.accent {
  background: var(--global-home-badge-accent-bg);
  color: var(--global-home-badge-accent-text);
}

.global-home-shell .badge.sector {
  background: var(--global-home-badge-sector-bg);
}

.global-home-shell .single-text a {
  color: var(--global-home-headline);
}

.global-home-shell .news-summary,
.global-home-shell .muted,
.global-home-shell .actions .link {
  color: var(--global-home-muted-link);
}

.global-home-shell .display-tags .tag {
  background: var(--global-home-tag-bg);
  color: var(--global-home-tag-text);
}

.global-home-shell .actions .link:hover,
.global-home-shell .single-text a:hover {
  color: var(--global-home-link-hover);
}

@media (max-width: 1180px) {
  .global-home-stage-grid,
  .global-home-surface-primary,
  .global-home-surface-grid,
  .global-home-status-grid,
  .global-home-platform-brief {
    grid-template-columns: 1fr;
  }

  .global-home-network-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .global-home-network-card-live {
    grid-column: 1 / -1;
  }

  .global-home-linkrail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 0;
  }

  .global-home-linkrail a:nth-child(odd) {
    padding-left: 0;
    border-left: none;
  }
}

@media (max-width: 820px) {
  .brand-intro-copy {
    left: 22px;
    right: 22px;
    bottom: 22px;
  }

  .brand-intro-skip {
    right: 20px;
    bottom: 20px;
  }

  .global-home-stage {
    padding: 24px;
    border-radius: 24px;
  }

  .global-home-feed-head {
    align-items: start;
    flex-direction: column;
  }

  .global-home-network {
    padding: 24px;
    border-radius: 24px;
  }

  .global-home-network-head {
    align-items: start;
    flex-direction: column;
  }

  .global-home-network-grid {
    grid-template-columns: 1fr;
  }

  .global-home-linkrail {
    grid-template-columns: 1fr;
  }

  .global-home-linkrail a,
  .global-home-linkrail a + a {
    padding-left: 0;
    border-left: none;
    border-top: 1px solid rgba(157, 214, 255, 0.08);
  }
}

@media (max-width: 640px) {
  .global-site-shell .container {
    padding-top: calc(var(--topbar-height) + 24px);
  }

  .global-home-title {
    font-size: clamp(42px, 15vw, 72px);
  }

  .global-home-lead {
    font-size: 16px;
  }

  .global-home-action-row,
  .global-home-feed-status {
    gap: 10px;
  }

  .global-home-network-actions .pill {
    width: 100%;
    justify-content: center;
  }

  .global-home-network-metrics {
    grid-template-columns: 1fr;
  }

  .global-home-action-row .pill,
  .global-home-feed-status .pill {
    width: 100%;
    justify-content: center;
  }

  .global-home-brief-card,
  .global-home-status-item,
  .global-home-surface,
  .global-home-network,
  .global-home-network-card {
    padding-left: 18px;
    padding-right: 18px;
  }

  .global-home-shell .single-text a {
    font-size: 21px;
  }
}

:root {
  --font-body: "IBM Plex Sans", "Segoe UI", sans-serif;
  --font-display: "Sora", "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  --global-font-display: var(--font-display);
  --global-font-body: var(--font-body);
  --global-font-mono: var(--font-mono);
}

body {
  font-family: var(--global-font-body);
  letter-spacing: -0.01em;
}

code,
pre,
.protocol-meta-pill,
.protocol-live-chip,
.terminal-meta-chip,
.nav-terminal-tag,
.global-home-kicker,
.global-home-kicker-meta,
.section-title,
.protocol-section-kicker,
.site-disclosure-label,
.manual-updated,
.manual-mini-index {
  font-family: var(--global-font-mono);
}

h1,
h2,
h3,
.title-large,
.manual-title,
.protocol-title,
.global-home-title,
.global-home-network-title,
.thesis-title,
.global-hero h1 {
  font-family: var(--global-font-display);
}

.section-title,
.global-eyebrow,
.protocol-kicker,
.manual-updated {
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.topbar {
  gap: 20px;
  padding: 14px 24px;
}

.topbar .brand {
  gap: 12px;
  min-width: 0;
}

.brand-lockup {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.brand-lockup strong {
  font-family: var(--global-font-display);
  font-size: 15px;
  line-height: 1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.brand-lockup small {
  color: var(--muted);
  font-family: var(--global-font-mono);
  font-size: 11px;
  line-height: 1.2;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.topbar-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex: 1;
  min-width: 0;
}

.nav-core,
.nav-utility {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-core {
  flex-wrap: wrap;
}

.nav-utility {
  margin-left: auto;
}

.nav-terminal-tag {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(157, 214, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(234, 243, 255, 0.72);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav-pill,
.nav-dropdown-toggle,
.theme-toggle {
  min-height: 38px;
  padding: 8px 14px;
  font-family: var(--global-font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.nav-pill-tech {
  font-family: var(--global-font-display);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.container > section:first-child {
  margin-top: 2px;
}

.terminal-meta-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.terminal-meta-strip-compact {
  margin-top: 12px;
}

.terminal-meta-chip {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(132, 194, 255, 0.16);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(232, 241, 252, 0.84);
  font-size: 11px;
  line-height: 1;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.theme-dark .terminal-meta-chip {
  background: rgba(255, 255, 255, 0.05);
}

body:not(.theme-dark) .terminal-meta-chip {
  background: rgba(8, 19, 30, 0.04);
  border-color: rgba(8, 19, 30, 0.08);
  color: rgba(8, 19, 30, 0.66);
}

.terminal-inline-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.terminal-inline-note::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(180deg, #53c5f3, #c8f7ff);
  box-shadow: 0 0 14px rgba(83, 197, 243, 0.4);
}

.global-hero,
.manual-shell,
.retail-lite-shell,
.protocol-shell {
  position: relative;
  z-index: 1;
}

.global-hero {
  padding: 32px;
  border: 1px solid rgba(132, 194, 255, 0.12);
  border-radius: 30px;
  background:
    linear-gradient(145deg, rgba(9, 18, 30, 0.96), rgba(10, 22, 36, 0.88)),
    radial-gradient(circle at top right, rgba(90, 167, 255, 0.14), transparent 38%);
  box-shadow: 0 30px 72px rgba(3, 10, 18, 0.22);
}

.global-hero-copy p,
.global-stage-panel p {
  max-width: 68ch;
  line-height: 1.72;
}

.global-hero h1 {
  max-width: 12ch;
  font-size: clamp(42px, 5.8vw, 72px);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.about-info-card,
.site-disclosure-card,
.manual-shell,
.manual-mini-card,
.manual-faq-item,
.protocol-panel,
.retail-summary-grid > article {
  box-shadow: 0 22px 52px rgba(5, 12, 20, 0.12);
}

.manual-shell {
  overflow: hidden;
  border-color: rgba(132, 194, 255, 0.12);
}

.manual-header {
  padding-bottom: 26px;
  border-bottom: 1px solid rgba(132, 194, 255, 0.12);
}

.manual-title {
  max-width: 12ch;
  font-size: clamp(38px, 5vw, 58px);
  letter-spacing: -0.05em;
}

.manual-subtitle,
.manual-section-intro,
.manual-faq-item p,
.manual-mini-card p,
.site-disclosure-card .muted {
  line-height: 1.72;
}

.manual-quickstart,
.manual-section-card {
  margin-top: 28px;
  padding-top: 28px;
}

.manual-mini-card,
.manual-faq-item {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.74), rgba(243, 248, 255, 0.96)),
    radial-gradient(circle at top right, rgba(90, 167, 255, 0.08), transparent 45%);
}

.theme-dark .manual-mini-card,
.theme-dark .manual-faq-item {
  background:
    linear-gradient(180deg, rgba(17, 24, 36, 0.94), rgba(13, 19, 29, 0.96)),
    radial-gradient(circle at top right, rgba(90, 167, 255, 0.08), transparent 45%);
}

.retail-hero,
.protocol-hero,
.thesis-hero {
  overflow: hidden;
}

.retail-terminal-band,
.protocol-hero-summary-grid,
.thesis-terminal-band {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.retail-terminal-band,
.protocol-hero-summary-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.thesis-terminal-band {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.retail-terminal-chip,
.protocol-hero-summary-card,
.thesis-terminal-band-card {
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(132, 194, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  display: grid;
  gap: 8px;
}

.retail-terminal-chip span,
.protocol-hero-summary-card span,
.thesis-terminal-band-card span {
  color: rgba(224, 241, 255, 0.7);
  font-family: var(--global-font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.retail-terminal-chip strong,
.protocol-hero-summary-card strong,
.thesis-terminal-band-card strong {
  font-family: var(--global-font-display);
  font-size: 18px;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: #f5fbff;
}

.retail-terminal-chip p,
.protocol-hero-summary-card p,
.thesis-terminal-band-card p {
  margin: 0;
  color: rgba(224, 241, 255, 0.76);
  line-height: 1.6;
}

body:not(.theme-dark) .retail-terminal-chip,
body:not(.theme-dark) .protocol-hero-summary-card,
body:not(.theme-dark) .thesis-terminal-band-card {
  background: rgba(8, 19, 30, 0.04);
  border-color: rgba(8, 19, 30, 0.08);
}

body:not(.theme-dark) .retail-terminal-chip span,
body:not(.theme-dark) .protocol-hero-summary-card span,
body:not(.theme-dark) .thesis-terminal-band-card span {
  color: rgba(8, 19, 30, 0.5);
}

body:not(.theme-dark) .retail-terminal-chip strong,
body:not(.theme-dark) .protocol-hero-summary-card strong,
body:not(.theme-dark) .thesis-terminal-band-card strong {
  color: #08131f;
}

body:not(.theme-dark) .retail-terminal-chip p,
body:not(.theme-dark) .protocol-hero-summary-card p,
body:not(.theme-dark) .thesis-terminal-band-card p {
  color: rgba(8, 19, 30, 0.68);
}

.protocol-summary,
.thesis-summary,
.retail-hero-main > p,
.global-home-lead {
  max-width: 66ch;
}

.site-disclosure-card {
  overflow: hidden;
}

.site-disclosure-grid {
  gap: 14px;
}

.site-disclosure-item {
  padding: 16px 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(132, 194, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
}

body:not(.theme-dark) .site-disclosure-item {
  background: rgba(8, 19, 30, 0.03);
  border-color: rgba(8, 19, 30, 0.06);
}

.site-disclosure-value {
  line-height: 1.5;
}

@media (max-width: 1180px) {
  .thesis-terminal-band {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .topbar {
    flex-wrap: wrap;
    align-items: flex-start;
  }

  .topbar-nav {
    width: 100%;
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
  }

  .nav-core,
  .nav-utility {
    width: 100%;
    flex-wrap: wrap;
  }

  .nav-utility {
    margin-left: 0;
    justify-content: space-between;
  }

  .retail-terminal-band,
  .protocol-hero-summary-grid {
    grid-template-columns: 1fr;
  }

  .retail-mainline-shell {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .topbar {
    padding: 12px 14px;
  }

  .brand-lockup strong {
    font-size: 14px;
  }

  .brand-lockup small,
  .nav-terminal-tag {
    font-size: 10px;
  }

  .nav-utility {
    gap: 6px;
  }

  .nav-terminal-tag {
    min-height: 32px;
    padding: 0 10px;
  }

  .global-hero,
  .manual-shell {
    padding: 22px;
    border-radius: 24px;
  }
}

@media (max-width: 640px) {
  .terminal-meta-strip {
    gap: 8px;
  }

  .terminal-meta-chip {
    width: 100%;
    justify-content: center;
  }

  .thesis-terminal-band {
    grid-template-columns: 1fr;
  }

  .global-hero h1,
  .manual-title {
    max-width: none;
  }

  .retail-mainline-columns {
    grid-template-columns: 1fr;
  }
}

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

.nav-cta {
  min-height: 40px;
  box-shadow: 0 10px 24px rgba(0, 113, 227, 0.18);
}

.pricing-hero .global-hero-copy,
.pricing-cta-card,
.pricing-grid {
  max-width: 100%;
}

.pricing-grid {
  margin-bottom: 24px;
}

.pricing-cta-card p {
  max-width: 780px;
}

.app-shell-body {
  min-height: 100vh;
  background:
    radial-gradient(720px 420px at 10% 0%, rgba(0, 113, 227, 0.1), transparent 62%),
    radial-gradient(860px 520px at 100% 0%, rgba(6, 102, 204, 0.08), transparent 58%),
    var(--bg);
}

.app-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
}

.app-sidebar {
  position: sticky;
  top: 0;
  min-height: 100vh;
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  background: rgba(255, 255, 255, 0.86);
  border-right: 1px solid rgba(17, 24, 39, 0.08);
  backdrop-filter: blur(20px);
}

.theme-dark .app-sidebar {
  background: rgba(10, 13, 20, 0.9);
  border-right-color: rgba(255, 255, 255, 0.08);
}

.app-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
}

.app-brand span {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.app-brand strong {
  font-size: 15px;
}

.app-brand small,
.app-sidebar-copy span,
.app-sidebar-user small {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
}

.app-sidebar-copy {
  display: grid;
  gap: 8px;
}

.app-sidebar-copy p,
.app-sidebar-user span,
.app-sidebar-user small,
.app-sidebar-user {
  margin: 0;
}

.app-sidebar-copy p {
  color: var(--muted);
  line-height: 1.6;
}

.app-nav {
  display: grid;
  gap: 8px;
}

.app-nav a {
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 8px;
  color: inherit;
  text-decoration: none;
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.56);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.theme-dark .app-nav a {
  background: rgba(255, 255, 255, 0.04);
}

.app-nav a:hover,
.app-nav a.is-active {
  border-color: rgba(0, 113, 227, 0.2);
  background: rgba(0, 113, 227, 0.1);
  transform: translateY(-1px);
}

.app-sidebar-footer {
  margin-top: auto;
  display: grid;
  gap: 14px;
}

.app-sidebar-user {
  display: grid;
  gap: 4px;
  padding: 14px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(17, 24, 39, 0.06);
}

.theme-dark .app-sidebar-user {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
}

.app-sidebar-user span {
  font-weight: 600;
}

.app-sidebar-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.app-sidebar-actions form {
  margin: 0;
}

.app-main {
  padding: 28px;
  display: grid;
  gap: 24px;
}

.app-page-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: end;
}

.app-page-head h1 {
  margin: 8px 0 10px;
  font-family: "Sora", sans-serif;
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.1;
}

.app-page-head p {
  margin: 0;
  max-width: 760px;
  color: var(--muted);
  line-height: 1.7;
}

.app-stat-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.app-stat-card {
  min-width: 132px;
  padding: 14px 16px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(17, 24, 39, 0.06);
  display: grid;
  gap: 4px;
}

.theme-dark .app-stat-card {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.08);
}

.app-stat-card span,
.app-table-meta span,
.app-list-item span,
.app-rule-card span,
.app-preference-form label span,
.app-toggle-row span {
  color: var(--muted);
}

.app-stat-card strong {
  font-size: 24px;
}

.app-grid {
  display: grid;
  gap: 18px;
}

.app-grid-top {
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.9fr);
}

.app-grid-main {
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.9fr);
}

.app-lead-card,
.app-alert-card,
.app-hit-card,
.app-side-card,
.app-event-card,
.app-simulation-card,
.pricing-cta-card {
  border-radius: 8px;
}

.app-simulation-card {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.7fr);
  gap: 18px;
  align-items: start;
}

.app-simulation-card-pending {
  border-style: dashed;
}

.app-simulation-main {
  display: grid;
  gap: 12px;
}

.app-simulation-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  justify-content: space-between;
}

.app-simulation-card h2 {
  margin: 0;
  font-family: "Sora", sans-serif;
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.12;
}

.app-simulation-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.app-simulation-risk {
  padding: 12px 14px;
  border-radius: 8px;
  background: rgba(245, 158, 11, 0.1);
  color: var(--text) !important;
}

.app-simulation-status {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(0, 113, 227, 0.12);
  color: var(--accent);
  font-weight: 700;
}

.app-simulation-side {
  display: grid;
  gap: 12px;
}

.app-simulation-meter,
.app-simulation-chain,
.app-simulation-impact div {
  display: grid;
  gap: 6px;
  padding: 14px 16px;
  border-radius: 8px;
  border: 1px solid rgba(17, 24, 39, 0.06);
  background: rgba(255, 255, 255, 0.58);
}

.theme-dark .app-simulation-meter,
.theme-dark .app-simulation-chain,
.theme-dark .app-simulation-impact div {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
}

.app-simulation-meter span,
.app-simulation-chain span,
.app-simulation-impact span {
  color: var(--muted);
  font-size: 12px;
}

.app-simulation-meter strong {
  font-size: 24px;
}

.app-simulation-chain ol {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.6;
}

.app-simulation-impact {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.app-structural-read {
  display: grid;
  gap: 12px;
  margin-top: 6px;
  padding: 14px;
  border-radius: 8px;
  border: 1px solid rgba(0, 113, 227, 0.16);
  background: rgba(0, 113, 227, 0.06);
}

.app-structural-read-head {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  align-items: center;
}

.app-structural-read-head span,
.app-structural-grid span,
.app-structural-chain span {
  color: var(--muted);
  font-size: 12px;
}

.app-structural-read-head strong {
  font-family: "Sora", sans-serif;
}

.app-structural-quality {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 8px;
  background: rgba(0, 113, 227, 0.08);
}

.app-structural-quality span,
.app-structural-quality small {
  color: var(--muted);
  font-size: 12px;
}

.app-structural-quality strong {
  font-family: "Sora", sans-serif;
  font-size: 13px;
}

.app-forecast-contract {
  display: grid;
  gap: 10px;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid rgba(17, 24, 39, 0.1);
  background: rgba(255, 255, 255, 0.56);
}

.app-structural-lanes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

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

.app-structural-grid div {
  display: grid;
  gap: 5px;
  padding: 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.6);
}

.app-structural-chain {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: flex-start;
  padding: 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.52);
}

.app-structural-chain b {
  padding: 6px 9px;
  border-radius: 8px;
  background: rgba(17, 24, 39, 0.08);
  font-size: 12px;
}

.app-structural-chain-benefit b {
  background: rgba(0, 113, 227, 0.12);
}

.app-structural-analog {
  padding-top: 10px;
  border-top: 1px solid rgba(17, 24, 39, 0.08);
}

.theme-dark .app-structural-read {
  border-color: rgba(125, 183, 255, 0.22);
  background: rgba(66, 153, 225, 0.08);
}

.theme-dark .app-structural-quality,
.theme-dark .thesis-structural-quality,
.theme-dark .app-forecast-contract,
.theme-dark .thesis-forecast-contract,
.theme-dark .app-probability-update,
.theme-dark .thesis-probability-update,
.theme-dark .app-integrity-gate,
.theme-dark .thesis-integrity-gate,
.theme-dark .app-delta-tape,
.theme-dark .thesis-delta-tape,
.theme-dark .app-trajectory-memory,
.theme-dark .thesis-trajectory-memory,
.theme-dark .app-calibration-ledger,
.theme-dark .thesis-calibration-ledger,
.theme-dark .app-coverage-gate,
.theme-dark .thesis-coverage-gate,
.theme-dark .app-command-deck,
.theme-dark .thesis-command-deck,
.theme-dark .app-signpost-matrix,
.theme-dark .thesis-signpost-matrix,
.theme-dark .app-scenario-cockpit,
.theme-dark .thesis-scenario-cockpit,
.theme-dark .app-operator-loop,
.theme-dark .thesis-operator-loop,
.theme-dark .app-contract-review,
.theme-dark .thesis-contract-review,
.theme-dark .app-red-team-check,
.theme-dark .thesis-red-team-check {
  background: rgba(125, 183, 255, 0.08);
}

.theme-dark .app-probability-adjustments span,
.theme-dark .thesis-probability-adjustments span,
.theme-dark .app-integrity-grid div,
.theme-dark .thesis-integrity-grid div,
.theme-dark .app-integrity-chips span,
.theme-dark .thesis-integrity-chips span,
.theme-dark .app-delta-cell,
.theme-dark .thesis-delta-cell,
.theme-dark .app-delta-rails span,
.theme-dark .thesis-delta-rails span,
.theme-dark .app-delta-evidence span,
.theme-dark .thesis-delta-evidence span,
.theme-dark .app-trajectory-grid div,
.theme-dark .thesis-trajectory-grid div,
.theme-dark .app-trajectory-runs span,
.theme-dark .thesis-trajectory-runs span,
.theme-dark .app-calibration-grid div,
.theme-dark .thesis-calibration-grid div,
.theme-dark .app-calibration-rails span,
.theme-dark .thesis-calibration-rails span,
.theme-dark .app-calibration-clock span,
.theme-dark .thesis-calibration-clock span,
.theme-dark .app-calibration-buckets span,
.theme-dark .thesis-calibration-buckets span,
.theme-dark .app-coverage-grid div,
.theme-dark .thesis-coverage-grid div,
.theme-dark .app-coverage-rails div,
.theme-dark .thesis-coverage-rails div,
.theme-dark .app-command-tile,
.theme-dark .thesis-command-tile,
.theme-dark .app-scenario-rail,
.theme-dark .thesis-contract-scenario-rail,
.theme-dark .app-operator-meta span,
.theme-dark .thesis-operator-meta span,
.theme-dark .app-operator-task,
.theme-dark .thesis-operator-task,
.theme-dark .app-signpost-row,
.theme-dark .thesis-signpost-row {
  background: rgba(255, 255, 255, 0.07);
}

.theme-dark .app-scenario-rail summary span,
.theme-dark .thesis-contract-scenario-rail summary span {
  color: rgba(235, 241, 255, 0.82);
}

.theme-dark .app-structural-grid div,
.theme-dark .app-structural-chain b {
  background: rgba(255, 255, 255, 0.06);
}

.theme-dark .app-structural-chain {
  background: rgba(255, 255, 255, 0.05);
}

.app-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.app-list,
.app-table,
.app-watchlist-rule-grid {
  display: grid;
  gap: 12px;
}

.app-list-item,
.app-table-row,
.app-rule-card {
  display: grid;
  gap: 6px;
  padding: 14px 16px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(17, 24, 39, 0.06);
  color: inherit;
  text-decoration: none;
}

.theme-dark .app-list-item,
.theme-dark .app-table-row,
.theme-dark .app-rule-card {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
}

.app-table-row {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 16px;
}

.app-table-row p,
.app-list-item p,
.app-rule-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.app-table-row strong,
.app-list-item strong,
.app-rule-card strong {
  display: block;
}

.app-table-row:hover {
  border-color: rgba(0, 113, 227, 0.2);
  background: rgba(0, 113, 227, 0.08);
}

.app-table-row-static:hover {
  background: rgba(255, 255, 255, 0.6);
}

.theme-dark .app-table-row-static:hover {
  background: rgba(255, 255, 255, 0.04);
}

.app-table-meta {
  display: grid;
  gap: 6px;
  justify-items: end;
  text-align: right;
}

.app-table-meta b {
  font-size: 20px;
}

.app-side-stack {
  display: grid;
  gap: 18px;
}

.app-inline-form,
.app-preference-form,
.app-auth-form {
  display: grid;
  gap: 12px;
}

.app-section-break {
  margin-top: 18px;
}

.app-inline-form {
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.6fr) auto;
  align-items: center;
}

.app-inline-form-wide {
  grid-template-columns: 140px minmax(0, 1fr) minmax(0, 0.8fr) auto;
}

.app-inline-form input,
.app-inline-form select,
.app-auth-form input,
.app-auth-form select,
.app-preference-form input,
.app-preference-form select {
  width: 100%;
  min-height: 42px;
  border-radius: 8px;
  border: 1px solid rgba(17, 24, 39, 0.12);
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
  padding: 0 14px;
  font: inherit;
}

.theme-dark .app-inline-form input,
.theme-dark .app-inline-form select,
.theme-dark .app-auth-form input,
.theme-dark .app-auth-form select,
.theme-dark .app-preference-form input,
.theme-dark .app-preference-form select {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(15, 20, 30, 0.92);
}

.app-watchlist-rule-grid {
  margin-top: 18px;
}

.app-rule-actions,
.app-auth-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.app-danger-form {
  margin-top: 18px;
}

.app-auth-shell {
  min-height: calc(100vh - 56px);
  display: grid;
  place-items: center;
}

.app-auth-card {
  width: min(100%, 520px);
  border-radius: 8px;
}

.app-auth-card h1 {
  margin: 8px 0 10px;
  font-family: "Sora", sans-serif;
  font-size: clamp(28px, 3.2vw, 36px);
  line-height: 1.08;
}

.app-auth-card p {
  color: var(--muted);
  line-height: 1.7;
}

.app-auth-form label,
.app-preference-form label {
  display: grid;
  gap: 8px;
}

.app-auth-error {
  color: #b42318;
  font-weight: 600;
}

.theme-dark .app-auth-error {
  color: #f97066;
}

.app-auth-links a {
  color: var(--accent);
  text-decoration: none;
}

.pricing-operator-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 24px;
  align-items: stretch;
  padding: 28px 0 18px;
}

.pricing-operator-copy {
  align-self: center;
}

.pricing-deal-panel {
  display: grid;
  gap: 12px;
  align-content: start;
  padding: 22px;
  border-radius: 8px;
  border: 1px solid rgba(17, 24, 39, 0.1);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.08);
}

.theme-dark .pricing-deal-panel {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.055);
  box-shadow: none;
}

.pricing-deal-price,
.pricing-deal-row {
  display: grid;
  gap: 6px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(17, 24, 39, 0.08);
}

.theme-dark .pricing-deal-price,
.theme-dark .pricing-deal-row {
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.pricing-deal-price strong {
  font-family: "Sora", sans-serif;
  font-size: 48px;
  line-height: 1;
}

.pricing-deal-price span,
.pricing-deal-price small,
.pricing-deal-row span {
  color: var(--muted);
}

.pricing-deal-row {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

.pricing-deal-row strong {
  text-align: right;
}

.pricing-decision-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 18px 0;
}

.pricing-decision-card {
  border-radius: 8px;
}

.pricing-process-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid rgba(17, 24, 39, 0.08);
  background: rgba(17, 24, 39, 0.08);
  margin: 18px 0;
}

.theme-dark .pricing-process-strip {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.08);
}

.pricing-process-strip div {
  display: grid;
  gap: 8px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.72);
}

.theme-dark .pricing-process-strip div {
  background: rgba(255, 255, 255, 0.045);
}

.pricing-process-strip span {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
}

.pricing-process-strip p,
.pricing-cta-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.pricing-cta-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
}

.beta-apply-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.68fr);
  gap: 22px;
  align-items: start;
  padding: 28px 0 18px;
}

.beta-apply-copy,
.beta-apply-card {
  border-radius: 8px;
}

.beta-apply-copy h1 {
  margin: 10px 0 12px;
  font-family: "Sora", sans-serif;
  font-size: 52px;
  line-height: 1.02;
}

.beta-apply-copy p,
.beta-apply-card p {
  color: var(--muted);
  line-height: 1.7;
}

.beta-qualification-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.beta-qualification-grid div {
  display: grid;
  gap: 7px;
  padding: 14px;
  border-radius: 8px;
  border: 1px solid rgba(17, 24, 39, 0.08);
  background: rgba(255, 255, 255, 0.58);
}

.theme-dark .beta-qualification-grid div {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.045);
}

.beta-qualification-grid span,
.beta-qualification-grid p {
  color: var(--muted);
}

.beta-qualification-grid p {
  margin: 0;
}

.beta-apply-steps {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.beta-apply-steps span {
  padding: 12px 14px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(17, 24, 39, 0.08);
  color: var(--muted);
}

.theme-dark .beta-apply-steps span {
  background: rgba(255, 255, 255, 0.045);
  border-color: rgba(255, 255, 255, 0.08);
}

.beta-apply-form {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.beta-apply-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.beta-apply-form label {
  display: grid;
  gap: 8px;
}

.beta-apply-form input,
.beta-apply-form select,
.beta-apply-form textarea {
  width: 100%;
  border-radius: 8px;
  border: 1px solid rgba(17, 24, 39, 0.12);
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
  padding: 0 14px;
  font: inherit;
}

.beta-apply-form input,
.beta-apply-form select {
  min-height: 42px;
}

.beta-apply-form textarea {
  min-height: 112px;
  padding-top: 12px;
  resize: vertical;
}

.theme-dark .beta-apply-form input,
.theme-dark .beta-apply-form select,
.theme-dark .beta-apply-form textarea {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(15, 20, 30, 0.92);
}

.beta-apply-check {
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: start;
  color: var(--muted);
  line-height: 1.5;
}

.beta-apply-check input {
  width: 18px;
  height: 18px;
  min-height: 18px;
  padding: 0;
  margin-top: 3px;
}

.beta-apply-links {
  margin-top: 16px;
}

.beta-leads-shell {
  display: grid;
  gap: 18px;
  padding: 28px 0 18px;
}

.beta-leads-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: end;
}

.beta-leads-head h1,
.beta-leads-forbidden h1 {
  margin: 8px 0 8px;
  font-family: "Sora", sans-serif;
  font-size: 44px;
  line-height: 1.05;
}

.beta-leads-head p,
.beta-leads-forbidden p,
.beta-leads-empty p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.beta-leads-actions,
.beta-leads-filters,
.beta-lead-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.beta-leads-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(126px, 1fr));
  gap: 12px;
}

.beta-lead-stat {
  display: grid;
  gap: 8px;
  border-radius: 8px;
}

.beta-lead-stat span,
.beta-lead-meta span,
.beta-lead-title a {
  color: var(--muted);
}

.beta-lead-stat strong {
  font-family: "Sora", sans-serif;
  font-size: 34px;
  line-height: 1;
}

.beta-leads-notify-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 14px 16px;
  border-radius: 8px;
  border: 1px solid rgba(17, 24, 39, 0.08);
  background: rgba(255, 255, 255, 0.62);
}

.theme-dark .beta-leads-notify-form {
  border-color: rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.045);
}

.beta-leads-notify-form p,
.beta-lead-notify-error {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.beta-leads-source-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.2fr);
  gap: 16px;
  padding: 16px;
  border-radius: 8px;
  border: 1px solid rgba(17, 24, 39, 0.08);
  background: rgba(255, 255, 255, 0.66);
}

.theme-dark .beta-leads-source-panel {
  border-color: rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.045);
}

.beta-leads-source-panel p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.beta-leads-source-panel strong {
  display: block;
  margin-top: 6px;
}

.beta-leads-source-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.beta-leads-source-row {
  min-height: 82px;
  display: grid;
  align-content: center;
  gap: 5px;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid rgba(17, 24, 39, 0.08);
  background: rgba(255, 255, 255, 0.72);
}

.theme-dark .beta-leads-source-row {
  border-color: rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.045);
}

.beta-leads-source-row span,
.beta-leads-source-row small {
  color: var(--muted);
}

.beta-leads-source-row strong {
  margin: 0;
  font-family: "Sora", sans-serif;
  font-size: 28px;
  line-height: 1;
}

.beta-lead-notify-error {
  color: #b54708;
}

.beta-lead-invite {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid rgba(0, 113, 227, 0.16);
  background: rgba(0, 113, 227, 0.06);
}

.beta-lead-invite div {
  display: inline-grid;
  gap: 3px;
}

.beta-lead-invite span,
.beta-lead-invite a {
  color: var(--muted);
}

.beta-lead-invite code {
  padding: 5px 8px;
  border-radius: 8px;
  background: rgba(17, 24, 39, 0.08);
  color: var(--text);
  font-family: "IBM Plex Mono", monospace;
  font-size: 13px;
  overflow-wrap: anywhere;
}

.beta-lead-invite form {
  margin-left: auto;
}

.beta-lead-invite-form {
  justify-content: space-between;
}

.beta-lead-invite-used {
  border-color: rgba(18, 183, 106, 0.18);
  background: rgba(18, 183, 106, 0.08);
}

.theme-dark .beta-lead-invite {
  border-color: rgba(125, 183, 255, 0.22);
  background: rgba(66, 153, 225, 0.08);
}

.theme-dark .beta-lead-invite code {
  background: rgba(255, 255, 255, 0.08);
}

.beta-leads-filters a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border-radius: 999px;
  border: 1px solid rgba(17, 24, 39, 0.09);
  color: var(--text);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.55);
}

.theme-dark .beta-leads-filters a {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.045);
}

.beta-leads-filters a.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.beta-leads-list {
  display: grid;
  gap: 12px;
}

.beta-lead-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.42fr);
  gap: 18px;
  padding: 16px;
  border-radius: 8px;
  border: 1px solid rgba(17, 24, 39, 0.08);
  background: rgba(255, 255, 255, 0.68);
}

.theme-dark .beta-lead-row {
  border-color: rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.045);
}

.beta-lead-main {
  display: grid;
  gap: 10px;
}

.beta-lead-main p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.beta-lead-title {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
}

.beta-lead-title div {
  display: grid;
  gap: 4px;
}

.beta-lead-status {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(0, 113, 227, 0.12);
  color: var(--accent);
  font-weight: 700;
}

.beta-lead-status-approved {
  background: rgba(18, 183, 106, 0.12);
  color: #087443;
}

.beta-lead-status-rejected {
  background: rgba(240, 68, 56, 0.12);
  color: #b42318;
}

.beta-lead-status-waitlist {
  background: rgba(247, 144, 9, 0.14);
  color: #b54708;
}

.beta-lead-status-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  align-content: start;
}

.beta-lead-status-form select,
.beta-lead-status-form input {
  width: 100%;
  min-height: 40px;
  border-radius: 8px;
  border: 1px solid rgba(17, 24, 39, 0.12);
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
  padding: 0 12px;
  font: inherit;
}

.theme-dark .beta-lead-status-form select,
.theme-dark .beta-lead-status-form input {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(15, 20, 30, 0.92);
}

.x-drafts-shell {
  display: grid;
  gap: 18px;
  padding: 28px 0 18px;
}

.x-drafts-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: end;
}

.x-drafts-head h1 {
  margin: 8px 0;
  font-family: "Sora", sans-serif;
  font-size: 44px;
  line-height: 1.05;
}

.x-drafts-head p,
.x-draft-main p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.x-drafts-actions,
.x-draft-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.x-drafts-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.x-draft-stat,
.x-drafts-rulebar,
.x-draft-row {
  border: 1px solid rgba(17, 24, 39, 0.08);
  background: rgba(255, 255, 255, 0.68);
  border-radius: 8px;
}

.theme-dark .x-draft-stat,
.theme-dark .x-drafts-rulebar,
.theme-dark .x-draft-row {
  border-color: rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.045);
}

.x-draft-stat {
  display: grid;
  gap: 7px;
  padding: 14px;
}

.x-draft-stat span,
.x-draft-title span,
.x-draft-title em,
.x-drafts-rulebar span {
  color: var(--muted);
}

.x-draft-stat strong {
  font-family: "Sora", sans-serif;
  font-size: 20px;
  line-height: 1.18;
}

.x-drafts-rulebar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 12px;
}

.x-drafts-rulebar span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(0, 113, 227, 0.08);
  font-size: 13px;
}

.theme-dark .x-drafts-rulebar span {
  background: rgba(90, 167, 255, 0.12);
}

.x-premium-post,
.x-thread-pack {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(0, 113, 227, 0.08), transparent 38%),
    rgba(255, 255, 255, 0.68);
}

.theme-dark .x-premium-post,
.theme-dark .x-thread-pack {
  border-color: rgba(255, 255, 255, 0.1);
  background:
    linear-gradient(135deg, rgba(90, 167, 255, 0.12), transparent 38%),
    rgba(255, 255, 255, 0.045);
}

.x-premium-post-head,
.x-thread-pack-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: start;
}

.x-premium-post-head h2,
.x-thread-pack-head h2 {
  margin: 6px 0;
  font-family: "Sora", sans-serif;
  font-size: 24px;
}

.x-premium-post-head p,
.x-thread-pack-head p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.x-premium-post-head em,
.x-thread-pack-head em,
.x-thread-post-meta span {
  color: var(--muted);
  font-family: "IBM Plex Mono", monospace;
  font-size: 13px;
  font-style: normal;
}

.x-premium-post-text {
  min-height: 430px;
}

.x-thread-posts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 10px;
}

.x-thread-post {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.x-thread-post-meta {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
}

.x-thread-post-meta strong {
  font-family: "Sora", sans-serif;
}

.x-thread-post-text {
  min-height: 210px;
  font-size: 12px;
}

.x-drafts-list {
  display: grid;
  gap: 12px;
}

.x-draft-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(190px, 0.24fr);
  gap: 16px;
  padding: 16px;
}

.x-draft-main {
  display: grid;
  gap: 10px;
}

.x-draft-title {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
}

.x-draft-title div {
  display: grid;
  gap: 4px;
}

.x-draft-title strong {
  font-family: "Sora", sans-serif;
  font-size: 20px;
}

.x-draft-title em {
  font-style: normal;
  font-family: "IBM Plex Mono", monospace;
  font-size: 13px;
}

.x-draft-attachment {
  padding: 9px 10px;
  border-radius: 8px;
  background: rgba(247, 144, 9, 0.1);
  color: #b54708;
  font-size: 13px;
}

.theme-dark .x-draft-attachment {
  color: #ffd087;
  background: rgba(247, 144, 9, 0.14);
}

.x-draft-text {
  width: 100%;
  min-height: 172px;
  resize: vertical;
  border-radius: 8px;
  border: 1px solid rgba(17, 24, 39, 0.1);
  background: rgba(255, 255, 255, 0.88);
  color: var(--text);
  padding: 12px;
  font: 14px/1.58 "IBM Plex Mono", monospace;
}

.theme-dark .x-draft-text {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(12, 17, 27, 0.92);
}

.x-draft-actions {
  align-content: start;
  align-items: start;
}

.x-drafts-logout {
  display: inline-flex;
  margin: 0;
}

.x-drafts-login-shell {
  min-height: 58vh;
  display: grid;
  place-items: center;
  padding: 56px 0 18px;
}

.x-drafts-login-card {
  width: min(440px, 100%);
  display: grid;
  gap: 16px;
  padding: 24px;
  border: 1px solid rgba(17, 24, 39, 0.09);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(246, 249, 252, 0.78)),
    rgba(255, 255, 255, 0.82);
  box-shadow: 0 22px 70px rgba(10, 18, 32, 0.12);
}

.theme-dark .x-drafts-login-card {
  border-color: rgba(255, 255, 255, 0.1);
  background:
    linear-gradient(135deg, rgba(12, 18, 28, 0.96), rgba(8, 13, 22, 0.9)),
    rgba(8, 13, 22, 0.9);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.36);
}

.x-drafts-login-card h1 {
  margin: 0;
  font-family: "Sora", sans-serif;
  font-size: 34px;
  line-height: 1.08;
}

.x-drafts-login-card p,
.x-drafts-login-back {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.x-drafts-login-form {
  display: grid;
  gap: 10px;
}

.x-drafts-login-form label {
  color: var(--muted);
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
}

.x-drafts-login-form input {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(17, 24, 39, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--text);
  padding: 0 12px;
  font: 15px "IBM Plex Sans", sans-serif;
}

.theme-dark .x-drafts-login-form input {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
}

.x-drafts-login-error {
  border: 1px solid rgba(217, 45, 32, 0.16);
  border-radius: 8px;
  background: rgba(217, 45, 32, 0.08);
  color: #b42318;
  padding: 9px 10px;
  font-size: 13px;
}

.theme-dark .x-drafts-login-error {
  color: #ffb4a9;
  background: rgba(255, 90, 76, 0.12);
}

.x-drafts-login-back {
  font-size: 13px;
  text-decoration: none;
}

.x-drafts-login-back:hover {
  color: var(--accent);
}

.app-toggle-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.app-toggle-row input {
  width: 18px;
  height: 18px;
  min-height: 18px;
  padding: 0;
}

/* Retail pivot: keep the homepage focused on conversion and one live readout. */
.global-home-stage {
  padding: 28px;
  border-radius: 8px;
}

.global-home-stage-grid-compact {
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.68fr);
  gap: 22px;
  align-items: center;
}

.global-home-stage-grid-compact .global-home-copy {
  align-content: center;
  gap: 18px;
}

.global-home-stage-grid-compact .global-home-title {
  gap: 4px;
  font-size: 68px;
  line-height: 0.94;
  max-width: 880px;
}

.global-home-stage-grid-compact .global-home-lead {
  max-width: 720px;
  font-size: 17px;
  line-height: 1.62;
}

.global-home-proof-list {
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
}

.global-home-proof-list li {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 8px;
  border: 1px solid rgba(173, 222, 255, 0.18);
  background: rgba(255, 255, 255, 0.07);
  color: rgba(238, 247, 255, 0.88);
  font-weight: 700;
  font-size: 13px;
}

.global-home-stage-grid-compact .global-home-surface {
  border-radius: 8px;
  padding: 20px;
  align-content: start;
  gap: 16px;
}

.global-home-stage-grid-compact .global-home-surface-primary {
  grid-template-columns: 1fr;
  gap: 12px;
}

.global-home-stage-grid-compact .global-home-surface-primary h2 {
  font-size: 32px;
  line-height: 1.06;
}

.global-home-source-cloud {
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid rgba(173, 222, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
}

.global-home-stage-grid-compact .global-home-surface-grid {
  gap: 14px;
}

.global-home-stage-grid-compact .global-home-list-block {
  padding-top: 12px;
}

.global-home-stage-grid-compact .global-home-list {
  gap: 8px;
}

.global-home-stage-grid-compact .global-home-list li {
  font-size: 14px;
  line-height: 1.45;
}

.global-home-surface-link {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border-radius: 8px;
  border: 1px solid rgba(223, 247, 255, 0.32);
  background: rgba(223, 247, 255, 0.94);
  color: #04111b;
  text-decoration: none;
  font-weight: 800;
}

.global-home-operator-snapshot {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 16px;
  margin-top: 18px;
  padding: 20px 22px;
  border-radius: 8px;
  border: 1px solid rgba(173, 222, 255, 0.14);
  background:
    linear-gradient(180deg, rgba(8, 16, 28, 0.82), rgba(7, 13, 24, 0.76)),
    linear-gradient(90deg, rgba(124, 190, 255, 0.05), transparent 34%),
    radial-gradient(circle at top right, rgba(78, 142, 212, 0.12), transparent 34%),
    repeating-linear-gradient(180deg, rgba(173, 222, 255, 0.025) 0 1px, transparent 1px 26px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.global-home-operator-head,
.global-home-operator-footer,
.global-home-operator-next {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.global-home-operator-copy {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.global-home-operator-copy strong,
.global-home-operator-next strong {
  color: #eef7ff;
  font-size: 20px;
  line-height: 1.16;
}

.global-home-operator-copy p,
.global-home-operator-next p {
  margin: 0;
  color: rgba(223, 241, 255, 0.78);
  font-size: 14px;
  line-height: 1.55;
}

.global-home-operator-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.global-home-operator-ribbon {
  margin-top: -2px;
}

.global-home-operator-command {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.global-home-operator-command-item,
.global-home-operator-confirmation-item {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 8px;
  min-width: 0;
  padding: 15px 16px 14px;
  border-radius: 8px;
  border: 1px solid rgba(173, 222, 255, 0.14);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.03));
}

.global-home-operator-command-item span,
.global-home-operator-confirmation-item span {
  color: rgba(223, 241, 255, 0.62);
  font-family: var(--global-font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.global-home-operator-command-item strong,
.global-home-operator-confirmation-item strong {
  color: #f7fbff;
  font-size: 18px;
  line-height: 1.14;
}

.global-home-operator-command-item p,
.global-home-operator-confirmation-item p {
  margin: 0;
  color: rgba(223, 241, 255, 0.78);
  font-size: 13px;
  line-height: 1.5;
}

.global-home-operator-score-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.global-home-operator-score {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 6px;
  padding: 15px 16px 14px;
  border-radius: 8px;
  border: 1px solid rgba(173, 222, 255, 0.14);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.035));
  min-width: 0;
}

.global-home-operator-score > span,
.global-home-operator-score > small {
  color: rgba(223, 241, 255, 0.62);
  font-family: var(--global-font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.global-home-operator-score > strong {
  color: #f7fbff;
  font-size: 26px;
  line-height: 1;
}

.global-home-operator-score > p {
  margin: 0;
  color: rgba(223, 241, 255, 0.78);
  font-size: 13px;
  line-height: 1.5;
}

.global-home-operator-breakdown {
  display: grid;
  gap: 6px;
  margin-top: 4px;
}

.global-home-operator-confirmation-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.global-home-operator-breakdown-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 6px;
  border-top: 1px solid rgba(173, 222, 255, 0.12);
}

.global-home-operator-breakdown-row span {
  color: rgba(223, 241, 255, 0.72);
  font-size: 12px;
  line-height: 1.4;
}

.global-home-operator-breakdown-row strong {
  color: #f7fbff;
  font-size: 12px;
  line-height: 1;
}

.global-home-operator-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.global-home-operator-block {
  display: grid;
  gap: 10px;
  min-width: 0;
  padding-top: 10px;
  border-top: 1px solid rgba(173, 222, 255, 0.12);
}

.global-home-operator-block > span,
.global-home-operator-next > span {
  color: rgba(223, 241, 255, 0.62);
  font-family: var(--global-font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.global-home-operator-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.global-home-operator-list li {
  color: rgba(238, 247, 255, 0.88);
  font-size: 14px;
  line-height: 1.52;
}

.global-home-operator-list-summary li {
  display: grid;
  gap: 4px;
}

.global-home-operator-list-summary li strong {
  color: #f7fbff;
  font-size: 14px;
  line-height: 1.3;
}

.global-home-operator-list-summary li small {
  color: rgba(223, 241, 255, 0.72);
  font-size: 13px;
  line-height: 1.45;
}

.global-home-operator-primary {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 10px;
  padding: 15px 16px 14px;
  border-radius: 8px;
  border: 1px solid rgba(173, 222, 255, 0.14);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.03));
}

.global-home-operator-primary-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.global-home-operator-primary-head span,
.global-home-operator-primary-score small,
.global-home-operator-primary-meta span {
  color: rgba(223, 241, 255, 0.62);
  font-family: var(--global-font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.global-home-operator-primary-head strong {
  display: block;
  margin-top: 6px;
  color: #f7fbff;
  font-size: 18px;
  line-height: 1.16;
}

.global-home-operator-primary-score {
  display: grid;
  gap: 4px;
  justify-items: end;
}

.global-home-operator-primary-score b {
  color: #f7fbff;
  font-size: 24px;
  line-height: 1;
}

.global-home-operator-primary > p {
  margin: 0;
  color: rgba(223, 241, 255, 0.78);
  font-size: 14px;
  line-height: 1.55;
}

.global-home-operator-primary-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
}

.global-home-operator-footer {
  padding-top: 10px;
  border-top: 1px solid rgba(173, 222, 255, 0.12);
}

.global-home-operator-next {
  flex: 1 1 auto;
}

.global-home-operator-next strong {
  font-size: 16px;
}

.global-home-operator-link {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border-radius: 8px;
  border: 1px solid rgba(223, 247, 255, 0.24);
  color: #eef7ff;
  text-decoration: none;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.04);
  white-space: nowrap;
}

.global-home-linkrail {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 22px;
}

.global-home-linkrail a {
  padding-top: 14px;
}

.global-home-linkrail a small {
  max-width: 32ch;
}

.global-home-feed-head {
  margin-top: 22px;
}

.global-home-feed-copy {
  max-width: 680px;
}

.global-home-filters {
  margin-top: 12px;
  border-radius: 8px;
  padding: 0;
}

.global-home-filter-details {
  padding: 12px 14px;
}

.global-home-filter-details summary {
  cursor: pointer;
  color: #eef7ff;
  font-weight: 800;
  list-style: none;
}

.global-home-filter-details summary::-webkit-details-marker {
  display: none;
}

.global-home-filter-details summary::after {
  content: "+";
  float: right;
  color: rgba(238, 247, 255, 0.72);
}

.global-home-filter-details[open] summary::after {
  content: "-";
}

.global-home-filter-details form {
  margin-top: 12px;
}

@media (max-width: 1160px) {
  .app-shell {
    grid-template-columns: 1fr;
  }

  .app-sidebar {
    position: static;
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid rgba(17, 24, 39, 0.08);
  }

  .theme-dark .app-sidebar {
    border-bottom-color: rgba(255, 255, 255, 0.08);
  }
}

@media (max-width: 980px) {
  .topbar-actions {
    width: 100%;
    justify-content: flex-end;
  }

  .app-page-head,
  .app-simulation-card,
  .app-simulation-impact,
  .app-grid-top,
  .app-grid-main,
  .beta-apply-shell,
  .pricing-operator-hero,
  .pricing-decision-grid,
  .pricing-process-strip,
  .pricing-cta-card,
  .beta-leads-head,
  .beta-leads-notify-form,
  .beta-leads-source-panel,
  .beta-lead-row,
  .x-drafts-head,
  .x-draft-row,
  .x-thread-posts {
    grid-template-columns: 1fr;
  }

  .pricing-deal-panel {
    width: min(100%, 420px);
  }

  .app-inline-form,
  .app-inline-form-wide {
    grid-template-columns: 1fr;
  }

  .operator-stage-rail,
  .operator-participant-grid,
  .operator-summary-grid,
  .operator-primary-grid,
  .operator-confirmation-strip,
  .global-home-operator-grid,
  .global-home-operator-command,
  .global-home-operator-confirmation-strip,
  .operator-readiness-grid,
  .global-home-operator-score-grid {
    grid-template-columns: 1fr;
  }

  .operator-primary-head,
  .global-home-operator-primary-head,
  .global-home-operator-head,
  .global-home-operator-footer,
  .global-home-operator-next {
    display: grid;
    grid-template-columns: 1fr;
  }

  .global-home-operator-meta {
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  .topbar-actions {
    justify-content: space-between;
  }

  .nav-cta {
    flex: 1 1 auto;
    justify-content: center;
  }

  .app-main {
    padding: 18px 14px 28px;
  }

  .app-sidebar {
    padding: 18px 14px;
  }

  .app-table-row {
    grid-template-columns: 1fr;
  }

  .app-table-meta {
    justify-items: start;
    text-align: left;
  }

  .beta-apply-copy h1 {
    font-size: 36px;
  }

  .beta-apply-form-grid,
  .beta-qualification-grid,
  .app-structural-grid,
  .app-structural-lanes,
  .beta-leads-source-list,
  .beta-leads-stats,
  .x-drafts-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .beta-leads-head h1,
  .beta-leads-forbidden h1,
  .x-drafts-head h1 {
    font-size: 34px;
  }

  .x-premium-post-head,
  .x-thread-pack-head {
    grid-template-columns: 1fr;
  }

  .x-premium-post-text {
    min-height: 360px;
  }

  .pricing-deal-price strong {
    font-size: 38px;
  }

  .app-command-deck,
  .thesis-command-deck,
  .app-integrity-grid,
  .thesis-integrity-grid,
  .app-delta-grid,
  .thesis-delta-grid,
  .app-trajectory-grid,
  .thesis-trajectory-grid,
  .app-coverage-grid,
  .thesis-coverage-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
.app-structural-grid,
  .app-structural-lanes,
  .beta-leads-source-list,
  .x-drafts-stats {
    grid-template-columns: 1fr;
  }

  .app-signpost-row,
  .thesis-signpost-row,
  .app-command-deck,
  .thesis-command-deck,
  .app-integrity-grid,
  .thesis-integrity-grid,
  .app-delta-grid,
  .thesis-delta-grid,
  .app-trajectory-grid,
  .thesis-trajectory-grid,
  .app-coverage-grid,
  .thesis-coverage-grid,
  .app-coverage-rails,
  .thesis-coverage-rails,
  .app-scenario-rails,
  .thesis-scenario-rails,
  .app-operator-meta,
  .thesis-operator-meta,
  .app-operator-task-grid,
  .thesis-operator-task-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1080px) {
  .global-home-stage-grid-compact {
    grid-template-columns: 1fr;
  }

  .global-home-stage-grid-compact .global-home-title {
    font-size: 54px;
  }
}

@media (max-width: 720px) {
  .global-home-stage {
    padding: 18px;
  }

  .global-home-stage-grid-compact .global-home-title {
    font-size: 38px;
    line-height: 1.02;
  }

  .global-home-stage-grid-compact .global-home-lead {
    font-size: 15px;
  }

  .global-home-stage-grid-compact .global-home-surface-primary h2 {
    font-size: 25px;
  }

  .global-home-stage-grid-compact .global-home-surface-grid,
  .global-home-linkrail {
    grid-template-columns: 1fr;
  }

  .global-home-operator-snapshot {
    padding: 16px 14px;
  }

  .global-home-operator-copy strong {
    font-size: 18px;
  }

  .global-home-operator-list li,
  .global-home-operator-list-summary li small {
    font-size: 13px;
  }
}

/* Mobile radar cockpit polish: keep the phone UI dense, readable, and instrument-grade. */
@media (max-width: 760px) {
  :root {
    --topbar-height: 90px;
  }

  body.global-site-shell {
    overflow-x: hidden;
    background:
      linear-gradient(180deg, rgba(244, 248, 252, 0.96), rgba(238, 244, 250, 0.92)),
      #f3f6fb;
  }

  .theme-dark.global-site-shell,
  .theme-dark.app-shell-body {
    background:
      linear-gradient(180deg, #050b12 0%, #07111d 46%, #08131f 100%);
  }

  .thesis-entry-boot {
    display: none !important;
  }

  .brand-intro.is-mobile-intro {
    inset: 0 0 auto 0;
    height: 76px;
    min-height: 76px;
    z-index: 181;
    pointer-events: none;
    background:
      linear-gradient(180deg, rgba(3, 8, 14, 0.94) 0%, rgba(5, 15, 25, 0.78) 72%, rgba(5, 15, 25, 0) 100%);
    border-bottom: 1px solid rgba(117, 211, 255, 0.14);
    transition: opacity 0.28s ease, visibility 0.28s ease;
  }

  .brand-intro.is-mobile-intro::before {
    background:
      linear-gradient(90deg, rgba(105, 213, 255, 0.16), transparent 64%),
      linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 100% 100%, 22px 22px;
    opacity: 0.46;
  }

  .brand-intro.is-mobile-intro .brand-intro-copy,
  .brand-intro.is-mobile-intro .brand-intro-skip {
    display: none;
  }

  .global-site-shell .topbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    max-width: 100vw;
    align-items: center;
    gap: 8px 10px;
    padding: 10px 12px 9px;
    border-bottom: 1px solid rgba(64, 126, 168, 0.16);
    background: rgba(249, 252, 255, 0.94);
    box-shadow: 0 12px 26px rgba(8, 19, 30, 0.12);
  }

  .theme-dark.global-site-shell .topbar {
    background: rgba(4, 11, 19, 0.94);
    border-bottom-color: rgba(119, 190, 235, 0.16);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.34);
  }

  .topbar .brand {
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
  }

  .brand-lockup {
    min-width: 0;
  }

  .brand-lockup strong,
  .brand-lockup small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .brand-lockup small {
    font-size: 10px;
  }

  .topbar-actions {
    grid-column: 2;
    grid-row: 1;
    width: auto;
    justify-content: flex-end;
    gap: 8px;
  }

  .global-site-shell .topbar-actions {
    display: none;
  }

  .nav-cta {
    flex: 0 0 auto;
    max-width: 110px;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 34px;
    padding: 8px 10px;
    font-size: 12px;
    border-radius: 8px;
    white-space: nowrap;
  }

  .topbar nav,
  .topbar-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 0 1px 2px;
    scrollbar-width: none;
  }

  .topbar nav::-webkit-scrollbar,
  .topbar-nav::-webkit-scrollbar,
  .thesis-signal-strip::-webkit-scrollbar,
  .thesis-step-nav::-webkit-scrollbar,
  .global-home-linkrail::-webkit-scrollbar {
    display: none;
  }

  .nav-core,
  .nav-utility {
    display: inline-flex;
    gap: 7px;
    align-items: center;
    flex: 0 0 auto;
  }

  .nav-terminal-tag {
    display: none;
  }

  .topbar nav .nav-pill,
  .nav-pill {
    min-height: 32px;
    padding: 7px 10px;
    border-radius: 8px;
    font-size: 12px;
    background: rgba(8, 19, 30, 0.045);
    border-color: rgba(8, 19, 30, 0.075);
    opacity: 1;
  }

  .theme-dark .topbar nav .nav-pill,
  .theme-dark .nav-pill {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.09);
  }

  .nav-menu {
    top: calc(var(--topbar-height) - 4px);
    right: 12px;
    border-radius: 8px;
    clip-path: inset(0 0 100% 0 round 8px);
  }

  .nav-dropdown:hover .nav-menu,
  .nav-dropdown:focus-within .nav-menu {
    clip-path: inset(0 0 100% 0 round 8px);
  }

  .nav-dropdown.is-open .nav-menu {
    clip-path: inset(0 0 0 0 round 8px);
  }

  .container {
    padding: calc(var(--topbar-height) + 12px) 12px 38px;
  }

  .global-home-stage {
    margin-top: 0;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 18px 42px rgba(8, 19, 30, 0.16);
  }

  .global-home-stage *,
  .thesis-page *,
  .app-shell-body * {
    min-width: 0;
  }

  .global-home-stage::before {
    opacity: 0.36;
  }

  .global-home-stage::after {
    background-size: 34px 34px;
    opacity: 0.06;
  }

  .global-home-stage-grid-compact,
  .global-home-copy,
  .global-home-surface {
    gap: 14px;
  }

  .global-home-kicker-row {
    gap: 8px;
  }

  .global-home-kicker,
  .global-home-kicker-meta,
  .global-home-panel-label {
    font-size: 10px;
    letter-spacing: 0.13em;
  }

  .global-home-stage-grid-compact .global-home-title {
    font-size: clamp(29px, 8.7vw, 35px);
    line-height: 1.04;
    letter-spacing: -0.035em;
  }

  .global-home-title span {
    max-width: 100%;
    overflow-wrap: break-word;
  }

  .global-home-stage-grid-compact .global-home-lead {
    max-width: 34rem;
    font-size: 14px;
    line-height: 1.6;
  }

  .global-home-action-row,
  .global-home-feed-status {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .global-home-action-row .pill,
  .global-home-feed-status .pill,
  .global-home-surface-link {
    width: 100%;
    justify-content: center;
    text-align: center;
    border-radius: 8px;
  }

  .global-home-proof-list {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    overflow-x: auto;
    padding: 0 0 2px;
  }

  .global-home-proof-list li {
    flex: 0 0 auto;
    padding: 7px 9px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(173, 222, 255, 0.14);
    color: rgba(234, 245, 255, 0.86);
    font-size: 12px;
  }

  .global-home-surface {
    padding: 13px;
    border-radius: 8px;
    backdrop-filter: none;
  }

  .global-home-surface-head {
    gap: 8px;
    padding-bottom: 10px;
    font-size: 10px;
    letter-spacing: 0.11em;
  }

  .global-home-stage-grid-compact .global-home-surface-primary,
  .global-home-surface-primary {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .global-home-stage-grid-compact .global-home-surface-primary h2 {
    font-size: 24px;
    line-height: 1.05;
    letter-spacing: -0.035em;
  }

  .global-home-source-cloud,
  .global-home-list-block {
    padding: 10px;
    border: 1px solid rgba(173, 222, 255, 0.12);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.055);
  }

  .global-home-stage-grid-compact .global-home-surface-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .global-home-list {
    gap: 8px;
  }

  .global-home-list li {
    padding-left: 14px;
    font-size: 13px;
    line-height: 1.48;
  }

  .global-home-list li::before {
    top: 9px;
    width: 5px;
    height: 5px;
  }

  .global-home-linkrail {
    display: flex;
    grid-template-columns: none;
    gap: 8px;
    overflow-x: auto;
    margin-top: 14px;
    padding: 0 0 4px;
    border-top: 0;
    scroll-snap-type: x mandatory;
  }

  .global-home-linkrail a,
  .global-home-linkrail a + a {
    flex: 0 0 min(240px, 78vw);
    min-height: 112px;
    padding: 12px;
    border: 1px solid var(--global-home-linkrail-border);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.055);
    scroll-snap-align: start;
  }

  .global-home-linkrail a span {
    font-size: 14px;
  }

  .global-home-linkrail a small {
    font-size: 12px;
  }

  .global-home-feed-head {
    display: grid;
    align-items: start;
    margin-top: 18px;
    gap: 12px;
  }

  .global-home-feed-copy {
    gap: 6px;
  }

  .global-home-feed-copy p {
    font-size: 13px;
    line-height: 1.55;
  }

  .global-home-filters {
    margin-top: 14px;
    border-radius: 8px;
  }

  .global-home-filter-details summary {
    min-height: 42px;
    padding: 0 12px;
    display: flex;
    align-items: center;
    font-size: 13px;
  }

  .global-home-filters form {
    gap: 8px;
  }

  .global-home-filters input,
  .global-home-filters select,
  .global-home-filters button {
    min-height: 42px;
    border-radius: 8px;
    font-size: 13px;
  }

  .global-home-feed {
    margin-top: 10px;
  }

  .global-home-shell .home-v3-news-card {
    padding: 12px;
    border-radius: 8px;
    box-shadow: 0 12px 28px rgba(8, 19, 30, 0.08);
  }

  .global-home-shell .home-v3-news-card:hover {
    transform: none;
  }

  .global-home-shell .meta {
    gap: 6px;
  }

  .global-home-shell .badge {
    max-width: 100%;
    padding: 5px 7px;
    border-radius: 8px;
    font-size: 10px;
  }

  .global-home-shell .single-text {
    margin: 8px 0 0;
  }

  .global-home-shell .single-text a {
    font-size: 17px;
    line-height: 1.28;
    letter-spacing: -0.025em;
  }

  .global-home-shell .news-summary {
    margin-top: 8px;
    font-size: 12px;
    line-height: 1.52;
  }

  .global-home-shell .actions {
    margin-top: 10px;
    gap: 8px;
  }

  .global-home-shell .actions .link {
    min-height: 32px;
    padding: 7px 9px;
    border-radius: 8px;
    background: rgba(8, 19, 30, 0.045);
  }

  .thesis-cyber-orb,
  .thesis-cyber-particles,
  .thesis-cyber-stream {
    display: none;
  }

  .thesis-page .thesis-cyber-bg {
    opacity: 0.32;
  }

  .thesis-page .thesis-hero,
  .thesis-hero {
    padding: 16px;
    border-radius: 8px;
  }

  .thesis-page .thesis-title,
  .thesis-title {
    max-width: none;
    font-size: clamp(30px, 9vw, 38px);
    line-height: 1;
    letter-spacing: -0.055em;
  }

  .thesis-summary {
    font-size: 14px;
    line-height: 1.58;
  }

  .thesis-public-note {
    padding: 12px;
    border-radius: 8px;
    gap: 8px;
  }

  .thesis-signal-strip {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 8px;
    padding-bottom: 3px;
  }

  .thesis-signal-stage {
    flex: 0 0 auto;
    min-height: 34px;
    padding: 8px 10px;
    border-radius: 8px;
    font-size: 11px;
    white-space: nowrap;
  }

  .thesis-terminal-band {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .thesis-terminal-band-card,
  .thesis-stat-card,
  .strategic-card,
  .thesis-v3-step-shell,
  .strategic-world-card,
  .strategic-rotation-card {
    border-radius: 8px;
  }

  .thesis-core-stage {
    min-height: 190px;
    border-radius: 8px;
  }

  .thesis-core-ring-a { inset: 18px; }
  .thesis-core-ring-b { inset: 42px; }
  .thesis-core-ring-c { inset: 68px; }

  .thesis-core-pulse {
    width: 132px;
    height: 132px;
  }

  .thesis-core-pulse strong {
    font-size: 22px;
  }

  .thesis-core-pulse p,
  .thesis-core-orbit {
    display: none;
  }

  .thesis-step-nav {
    display: flex;
    grid-template-columns: none;
    gap: 8px;
    overflow-x: auto;
    padding: 0 0 4px;
  }

  .thesis-step-nav-item {
    flex: 0 0 168px;
    min-height: 64px;
    padding: 10px;
    border-radius: 8px;
  }

  .thesis-step-nav-index {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    font-size: 11px;
  }

  .thesis-step-nav-copy span {
    display: none;
  }

  .thesis-step-nav-copy strong {
    font-size: 12px;
    line-height: 1.25;
  }

  .thesis-step-section,
  .thesis-v3-step-shell {
    padding: 14px;
  }

  .thesis-command-deck,
  .app-command-deck {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
    padding: 7px;
    border-radius: 8px;
  }

  .thesis-command-tile:first-child,
  .app-command-tile:first-child {
    grid-column: 1 / -1;
  }

  .thesis-command-tile,
  .app-command-tile {
    min-height: 82px;
    padding: 9px;
    border-radius: 8px;
  }

  .thesis-command-tile strong,
  .app-command-tile strong {
    font-size: 12px;
    line-height: 1.25;
  }

  .thesis-command-tile small,
  .app-command-tile small {
    font-size: 10px;
  }

  .thesis-integrity-grid,
  .app-integrity-grid,
  .thesis-calibration-grid,
  .app-calibration-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .thesis-forecast-contract,
  .app-forecast-contract,
  .thesis-calibration-ledger,
  .app-calibration-ledger,
  .thesis-integrity-gate,
  .app-integrity-gate,
  .thesis-scenario-cockpit,
  .app-scenario-cockpit,
  .thesis-operator-loop,
  .app-operator-loop,
  .thesis-signpost-matrix,
  .app-signpost-matrix,
  .thesis-probability-update,
  .app-probability-update {
    padding: 10px;
    border-radius: 8px;
  }

  .thesis-contract-probabilities,
  .app-contract-probabilities,
  .thesis-probability-adjustments,
  .app-probability-adjustments {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }

  .thesis-contract-probabilities span,
  .app-contract-probabilities span,
  .thesis-probability-adjustments span,
  .app-probability-adjustments span {
    padding: 7px 6px;
    border-radius: 8px;
    text-align: center;
    font-size: 11px;
  }

  .thesis-scenario-rails,
  .app-scenario-rails,
  .thesis-operator-task-grid,
  .app-operator-task-grid {
    grid-template-columns: 1fr;
  }

  .thesis-operator-meta,
  .app-operator-meta {
    grid-template-columns: 1fr;
  }

  .thesis-signpost-row,
  .app-signpost-row {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 5px;
    padding: 9px;
    border-radius: 8px;
  }

  .thesis-signpost-row span,
  .app-signpost-row span {
    width: fit-content;
    padding: 4px 7px;
    border-radius: 8px;
    background: rgba(0, 113, 227, 0.1);
  }

  .app-shell {
    min-height: 100vh;
  }

  .app-sidebar {
    padding: 12px;
  }

  .app-sidebar-copy {
    display: none;
  }

  .app-nav {
    display: flex;
    overflow-x: auto;
    gap: 8px;
    padding-bottom: 2px;
  }

  .app-nav a {
    flex: 0 0 auto;
    min-height: 34px;
    padding: 8px 10px;
    border-radius: 8px;
    white-space: nowrap;
  }

  .app-sidebar-footer {
    gap: 8px;
  }

  .app-main {
    padding: 14px 12px 30px;
    gap: 14px;
  }

  .app-page-head {
    gap: 12px;
  }

  .app-page-head h1 {
    font-size: 26px;
    line-height: 1.08;
  }

  .app-page-head p {
    font-size: 13px;
    line-height: 1.55;
  }

  .app-stat-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
    gap: 8px;
  }

  .app-stat-card {
    min-width: 0;
    padding: 10px;
    border-radius: 8px;
  }

  .app-stat-card strong {
    font-size: 20px;
  }

  .app-simulation-card {
    padding: 14px;
    border-radius: 8px;
    gap: 12px;
  }

  .app-simulation-card h2 {
    font-size: 24px;
    line-height: 1.12;
  }

  .app-simulation-card p {
    font-size: 13px;
    line-height: 1.55;
  }

  .app-simulation-status {
    min-height: 26px;
    border-radius: 8px;
    font-size: 12px;
  }

  .app-structural-read,
  .app-structural-grid div,
  .app-structural-chain,
  .app-simulation-meter,
  .app-simulation-chain,
  .app-simulation-impact div {
    border-radius: 8px;
  }
}

@media (max-width: 420px) {
  :root {
    --topbar-height: 92px;
  }

  .nav-cta {
    max-width: 96px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .global-home-stage-grid-compact .global-home-title {
    font-size: 32px;
  }

  .global-home-surface-head {
    display: grid;
  }

  .thesis-contract-probabilities,
  .app-contract-probabilities,
  .thesis-probability-adjustments,
  .app-probability-adjustments {
    grid-template-columns: 1fr;
  }
}
.signal-product-map {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 22px 0;
}

.signal-product-card {
  position: relative;
  min-height: 220px;
  padding: 24px;
  overflow: hidden;
  border: 1px solid var(--global-home-surface-border);
  border-radius: 28px;
  background:
    radial-gradient(circle at 100% 0%, rgba(111, 212, 255, 0.12), transparent 0 34%),
    var(--global-home-deck-bg);
  box-shadow: var(--global-home-deck-shadow);
}

.signal-product-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent 36%);
  pointer-events: none;
}

.signal-product-card span {
  position: absolute;
  top: 18px;
  right: 22px;
  color: var(--global-home-deck-meta);
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  font-weight: 800;
  letter-spacing: -0.08em;
  opacity: 0.28;
}

.signal-product-card strong,
.signal-product-card p,
.signal-product-card a {
  position: relative;
  z-index: 1;
}

.signal-product-card strong {
  display: block;
  margin-top: 74px;
  color: var(--global-home-deck-title);
  font-size: clamp(1.2rem, 2vw, 1.7rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.signal-product-card p {
  margin: 14px 0 18px;
  color: var(--global-home-deck-body);
  line-height: 1.6;
}

.signal-product-card a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 13px;
  border: 1px solid var(--global-home-pill-border);
  border-radius: 999px;
  background: var(--global-home-pill-bg);
  color: var(--global-home-pill-text);
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
}

.global-home-advanced-drawer {
  display: block;
}

.global-home-advanced-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
  padding: 20px 22px;
  border: 1px solid var(--global-home-surface-border);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(111, 212, 255, 0.1), rgba(255, 255, 255, 0.03)),
    var(--global-home-deck-bg);
  color: var(--global-home-deck-title);
  cursor: pointer;
  list-style: none;
}

.global-home-advanced-summary::-webkit-details-marker {
  display: none;
}

.global-home-advanced-summary strong {
  display: block;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}

.global-home-advanced-summary em {
  display: block;
  margin-top: 6px;
  color: var(--global-home-deck-body);
  font-style: normal;
  line-height: 1.5;
}

.global-home-advanced-summary b {
  flex: 0 0 auto;
  min-height: 38px;
  padding: 9px 13px;
  border: 1px solid var(--global-home-pill-border);
  border-radius: 999px;
  background: var(--global-home-pill-bg);
  color: var(--global-home-pill-text);
  font-size: 0.82rem;
}

.global-home-advanced-drawer:not([open]) > :not(summary) {
  display: none;
}

.signal-product-loop {
  display: grid;
  grid-template-columns: minmax(240px, 0.72fr) minmax(0, 1.28fr);
  gap: 22px;
  margin: 22px 0;
  padding: 26px;
  overflow: hidden;
  border: 1px solid var(--global-home-surface-border);
  border-radius: 32px;
  background:
    linear-gradient(135deg, rgba(8, 14, 24, 0.92), rgba(15, 32, 48, 0.82)),
    radial-gradient(circle at 8% 12%, rgba(120, 219, 255, 0.16), transparent 0 30%);
  box-shadow: var(--global-home-deck-shadow);
}

.signal-product-loop-copy h2 {
  margin: 16px 0 12px;
  color: rgba(244, 251, 255, 0.96);
  font-size: clamp(2rem, 4vw, 4.6rem);
  line-height: 0.95;
  letter-spacing: -0.07em;
}

.signal-product-loop-copy p {
  max-width: 520px;
  color: rgba(209, 226, 235, 0.78);
  font-size: 1rem;
  line-height: 1.7;
}

.signal-product-loop-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.signal-product-loop-steps article {
  min-height: 260px;
  padding: 18px;
  border: 1px solid rgba(206, 242, 255, 0.15);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.03)),
    rgba(255, 255, 255, 0.04);
}

.signal-product-loop-steps span,
.signal-product-fit-card span {
  display: inline-flex;
  color: rgba(120, 219, 255, 0.82);
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.signal-product-loop-steps strong {
  display: block;
  margin: 70px 0 12px;
  color: rgba(244, 251, 255, 0.96);
  font-size: clamp(1.4rem, 2.8vw, 2.2rem);
  letter-spacing: -0.05em;
}

.signal-product-loop-steps p {
  margin: 0;
  color: rgba(209, 226, 235, 0.74);
  font-size: 0.92rem;
  line-height: 1.6;
}

.signal-product-fit-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
  margin: 22px 0;
}

.signal-product-fit-card {
  min-height: 240px;
  padding: 24px;
  border: 1px solid var(--global-home-surface-border);
  border-radius: 28px;
  background:
    radial-gradient(circle at 100% 0%, rgba(111, 212, 255, 0.1), transparent 0 34%),
    var(--global-home-deck-bg);
  box-shadow: var(--global-home-deck-shadow);
}

.signal-product-fit-card-primary {
  background:
    linear-gradient(135deg, rgba(246, 255, 244, 0.92), rgba(216, 244, 255, 0.84)),
    var(--global-home-deck-bg);
}

.theme-dark .signal-product-fit-card-primary {
  background:
    linear-gradient(135deg, rgba(27, 52, 46, 0.9), rgba(9, 20, 30, 0.9)),
    var(--global-home-deck-bg);
}

.signal-product-fit-card strong {
  display: block;
  margin: 52px 0 12px;
  color: var(--global-home-deck-title);
  font-size: clamp(1.35rem, 2.6vw, 2.25rem);
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.signal-product-fit-card p {
  margin: 0;
  color: var(--global-home-deck-body);
  font-size: 0.96rem;
  line-height: 1.65;
}

.global-home-stage-grid-compact .global-home-proof-list li {
  border-color: rgba(8, 36, 56, 0.12);
  background: rgba(8, 36, 56, 0.07);
  color: rgba(9, 24, 36, 0.86);
}

.theme-dark .global-home-stage-grid-compact .global-home-proof-list li {
  border-color: rgba(173, 222, 255, 0.18);
  background: rgba(255, 255, 255, 0.07);
  color: rgba(238, 247, 255, 0.88);
}

.global-home-shell {
  --sr-boundary-border: rgba(71, 104, 126, 0.32);
  --sr-boundary-border-strong: rgba(33, 71, 96, 0.46);
  --sr-boundary-card-bg: rgba(255, 255, 255, 0.94);
  --sr-boundary-card-bg-soft: rgba(247, 251, 253, 0.96);
  --sr-boundary-shadow: 0 18px 42px rgba(27, 51, 69, 0.13), 0 2px 0 rgba(255, 255, 255, 0.9) inset;
  --sr-boundary-shadow-strong: 0 30px 70px rgba(25, 49, 68, 0.18), 0 0 0 1px rgba(255, 255, 255, 0.72) inset;
}

.theme-dark.global-home-shell {
  --sr-boundary-border: rgba(153, 196, 225, 0.2);
  --sr-boundary-border-strong: rgba(170, 222, 255, 0.34);
  --sr-boundary-card-bg: rgba(13, 21, 31, 0.9);
  --sr-boundary-card-bg-soft: rgba(18, 30, 43, 0.92);
  --sr-boundary-shadow: 0 20px 48px rgba(0, 0, 0, 0.38), 0 1px 0 rgba(255, 255, 255, 0.06) inset;
  --sr-boundary-shadow-strong: 0 34px 78px rgba(0, 0, 0, 0.48), 0 0 0 1px rgba(255, 255, 255, 0.07) inset;
}

.global-home-shell .global-home-stage {
  border: 1px solid var(--sr-boundary-border-strong);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(231, 246, 255, 0.82)),
    radial-gradient(circle at 12% 8%, rgba(20, 110, 148, 0.08), transparent 0 36%);
  box-shadow: 0 36px 90px rgba(31, 63, 84, 0.14);
}

.theme-dark.global-home-shell .global-home-stage {
  background:
    linear-gradient(180deg, rgba(10, 18, 28, 0.96), rgba(12, 28, 40, 0.94)),
    radial-gradient(circle at 12% 8%, rgba(88, 183, 223, 0.12), transparent 0 36%);
}

.global-home-shell .global-home-surface,
.global-home-shell .signal-product-card,
.global-home-shell .signal-product-fit-card,
.global-home-shell .global-home-advanced-summary,
.global-home-shell .home-v3-news-card,
.global-home-shell .global-home-feed-head,
.global-home-shell .global-home-filter-details,
.global-home-shell .global-home-linkrail {
  border: 1px solid var(--sr-boundary-border-strong);
  background: var(--sr-boundary-card-bg);
  box-shadow: var(--sr-boundary-shadow);
}

.global-home-shell .global-home-surface,
.global-home-shell .signal-product-card,
.global-home-shell .signal-product-fit-card {
  outline: 1px solid rgba(255, 255, 255, 0.68);
  outline-offset: -3px;
}

.global-home-shell .global-home-surface {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(243, 249, 252, 0.98));
  box-shadow: var(--sr-boundary-shadow-strong);
}

.global-home-shell .signal-product-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 252, 254, 0.96)),
    radial-gradient(circle at 100% 0%, rgba(15, 118, 158, 0.1), transparent 0 36%);
}

.global-home-shell .signal-product-card::after,
.global-home-shell .signal-product-fit-card::after {
  content: "";
  position: absolute;
  top: 18px;
  bottom: 18px;
  left: 0;
  width: 4px;
  border-radius: 0 999px 999px 0;
  background: linear-gradient(180deg, #05739d, rgba(5, 115, 157, 0.18));
}

.global-home-shell .signal-product-fit-card {
  position: relative;
}

.global-home-shell .signal-product-loop {
  border: 1px solid rgba(18, 48, 69, 0.72);
  box-shadow: 0 34px 82px rgba(14, 29, 42, 0.28);
}

.global-home-shell .signal-product-loop-steps article {
  border: 1px solid rgba(206, 242, 255, 0.32);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.055)),
    rgba(255, 255, 255, 0.035);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.18);
}

.global-home-shell .global-home-surface-grid,
.global-home-shell .global-home-operator-command,
.global-home-shell .global-home-linkrail {
  border-top: 1px solid rgba(71, 104, 126, 0.22);
}

.global-home-shell .global-home-list-block,
.global-home-shell .global-home-operator-command-item,
.global-home-shell .global-home-linkrail a {
  border-color: rgba(71, 104, 126, 0.22);
}

.global-home-shell .home-v3-news-card {
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(250, 252, 253, 0.98));
}

.global-home-shell .home-v3-news-card + .home-v3-news-card {
  margin-top: 14px;
}

.global-home-shell .home-v3-news-card:hover,
.global-home-shell .signal-product-card:hover,
.global-home-shell .signal-product-fit-card:hover {
  border-color: rgba(5, 115, 157, 0.58);
  box-shadow: 0 28px 68px rgba(24, 57, 78, 0.2), 0 0 0 1px rgba(5, 115, 157, 0.08) inset;
}

.theme-dark.global-home-shell .global-home-surface,
.theme-dark.global-home-shell .signal-product-card,
.theme-dark.global-home-shell .signal-product-fit-card,
.theme-dark.global-home-shell .global-home-advanced-summary,
.theme-dark.global-home-shell .home-v3-news-card,
.theme-dark.global-home-shell .global-home-feed-head,
.theme-dark.global-home-shell .global-home-filter-details,
.theme-dark.global-home-shell .global-home-linkrail {
  background: var(--sr-boundary-card-bg);
  border-color: var(--sr-boundary-border-strong);
  outline-color: rgba(255, 255, 255, 0.06);
}

@media (max-width: 980px) {
  .signal-product-map {
    grid-template-columns: 1fr;
  }

  .signal-product-loop,
  .signal-product-fit-grid {
    grid-template-columns: 1fr;
  }

  .signal-product-loop-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .global-home-advanced-summary {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 620px) {
  .signal-product-loop,
  .signal-product-fit-card {
    border-radius: 22px;
    padding: 18px;
  }

  .signal-product-loop-steps {
    grid-template-columns: 1fr;
  }

  .signal-product-loop-steps article {
    min-height: 210px;
  }
}
