@import url("https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;700&family=Noto+Sans+SC:wght@400;500;700;800&display=swap");

:root {
  color-scheme: dark;
  --primary: #ff5168;
  --primary-dim: #ffb3b6;
  --secondary: #82cfff;
  --tertiary: #02e600;
  --bg-dark: #0d0d0e;
  --bg-base: #131313;
  --surface-low: #1b1b1b;
  --surface-container: #1f1f1f;
  --surface-high: #2a2a2a;
  --surface-highest: #353535;
  --border: rgba(255, 255, 255, 0.1);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #e2e2e2;
  --muted: #8e8e93;
  --bad: #ff5168;
  --warn: #ffb800;
  --good: #02e600;
  --font-sans: "Inter", ui-sans-serif, system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  --font-display: "Bebas Neue", "Arial Narrow", "Bahnschrift Condensed", Impact, sans-serif;
  --font-zh: "Noto Sans SC", "PingFang SC", "Microsoft YaHei UI", "Microsoft YaHei", "Heiti SC", sans-serif;
  --font-zh-mono: "JetBrains Mono", "Noto Sans SC", "Microsoft YaHei UI", Consolas, monospace;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg-base);
}

body {
  margin: 0;
  min-height: 100dvh;
  overflow: hidden;
  background: var(--bg-base);
  color: var(--text);
  font-family: var(--font-sans);
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
}

html:lang(zh-CN) {
  --font-sans: var(--font-zh);
  --font-mono: var(--font-zh-mono);
  --font-display: var(--font-zh);
}

html:lang(zh-CN) body {
  font-family: var(--font-zh);
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

a {
  color: var(--secondary);
  text-decoration: none;
}

a:hover {
  color: var(--primary-dim);
}

.app-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 16px;
  border-bottom: 1px solid var(--border);
  background: rgba(19, 19, 19, 0.82);
  backdrop-filter: blur(18px);
}

.brand-button {
  border: 0;
  background: transparent;
  padding: 0;
}

.brand-name {
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--primary);
}

.top-nav {
  display: flex;
  gap: 24px;
  align-items: center;
}

.top-nav-item {
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: var(--muted);
  padding: 8px 0 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.top-nav-item:hover,
.top-nav-item.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.command-search {
  position: relative;
  width: min(320px, 32vw);
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--surface-low);
  padding: 8px 10px;
  font-family: var(--font-mono);
}

.command-search span {
  color: var(--primary);
  font-weight: 700;
}

.command-search input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font-size: 12px;
  text-transform: uppercase;
}

.command-search input::placeholder {
  color: rgba(142, 142, 147, 0.55);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--surface-low);
  padding: 7px 9px;
  font-family: var(--font-mono);
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.language-switch select {
  min-width: 132px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  letter-spacing: 0;
}

.language-switch option {
  background: var(--surface-low);
  color: var(--text);
}

.command-search i {
  width: 6px;
  height: 16px;
  background: var(--primary);
  animation: blink 1s steps(2, start) infinite;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

.search-results {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  display: none;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  background: rgba(27, 27, 27, 0.96);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.search-results.active {
  display: block;
}

.search-result {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: transparent;
  color: var(--text);
  padding: 10px 12px;
  text-align: left;
}

.search-result:hover {
  background: rgba(255, 255, 255, 0.05);
}

.ticker-tape {
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  z-index: 30;
  height: 32px;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(27, 27, 27, 0.88);
  backdrop-filter: blur(10px);
}

.ticker-track {
  display: flex;
  width: max-content;
  min-width: 200%;
  gap: 32px;
  align-items: center;
  height: 100%;
  animation: ticker-scroll 30s linear infinite;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
}

.ticker-track:hover {
  animation-play-state: paused;
}

@keyframes ticker-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.ticker-card {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  padding: 0 8px;
  color: var(--muted);
}

.ticker-card strong {
  color: var(--text);
}

.ticker-price {
  color: #fff;
}

.change.up {
  color: var(--tertiary);
}

.change.down {
  color: var(--primary);
}

.workspace {
  display: flex;
  height: 100dvh;
  padding-top: 96px;
}

.sidebar {
  position: fixed;
  top: 96px;
  bottom: 0;
  left: 0;
  z-index: 20;
  width: 256px;
  display: flex;
  flex-direction: column;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(27, 27, 27, 0.94);
  backdrop-filter: blur(14px);
  box-shadow: 8px 0 28px rgba(0, 0, 0, 0.25);
}

.profile-box {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.avatar {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--surface-high);
  color: var(--secondary);
  font-family: var(--font-mono);
  font-weight: 700;
}

.profile-box strong,
.profile-box span {
  display: block;
  font-family: var(--font-mono);
}

.profile-box strong {
  color: var(--secondary);
  font-size: 14px;
}

.profile-box span {
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.12em;
}

.primary-action {
  margin: 16px;
  border: 0;
  border-radius: 7px;
  background: var(--primary);
  color: white;
  padding: 11px 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  box-shadow: 0 12px 38px rgba(255, 81, 104, 0.22);
  transition: transform 180ms ease, background 180ms ease;
}

.primary-action:hover {
  background: #ff6579;
  transform: translateY(-1px);
}

.primary-action:active {
  transform: translateY(1px);
}

.side-nav {
  display: grid;
  gap: 4px;
  padding: 8px;
}

.side-nav-item {
  width: 100%;
  border: 0;
  border-right: 2px solid transparent;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  padding: 12px 16px;
  text-align: left;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform 180ms ease, color 180ms ease, background 180ms ease;
}

.side-nav-item:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.side-nav-item.active {
  color: var(--secondary);
  border-right-color: var(--secondary);
  background: rgba(130, 207, 255, 0.1);
  transform: translateX(4px);
}

.rail-note {
  margin: auto 16px 44px;
  display: grid;
  gap: 8px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.18);
  padding: 12px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10px;
}

.rail-note strong {
  color: var(--text);
  font-size: 12px;
  line-height: 1.45;
}

.main {
  width: calc(100% - 256px);
  margin-left: 256px;
  padding: 24px 24px 48px;
  overflow-y: auto;
}

.view {
  display: none;
  animation: enter 320ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.view.active {
  display: block;
}

@keyframes enter {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.page-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  padding-bottom: 18px;
  margin-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 8px;
  font-family: var(--font-mono);
  color: white;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.page-head p {
  max-width: 780px;
  margin-bottom: 0;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.6;
}

.daily-core {
  display: grid;
  gap: 4px;
  max-width: 980px;
  line-height: 1.45;
}

.daily-core span {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.daily-core b {
  display: inline-block;
  min-width: 58px;
  margin-right: 8px;
  color: var(--secondary);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.daily-core strong {
  color: white;
  font-weight: 700;
}

.daily-core strong.up {
  color: var(--tertiary);
}

.daily-core strong.down {
  color: var(--primary);
}

.status-chip {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid rgba(2, 230, 0, 0.24);
  border-radius: 999px;
  background: rgba(2, 230, 0, 0.06);
  color: var(--tertiary);
  padding: 8px 12px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.status-chip.secondary {
  border-color: rgba(130, 207, 255, 0.28);
  background: rgba(130, 207, 255, 0.08);
  color: var(--secondary);
}

.status-chip b,
.status-footer b {
  font: inherit;
  color: inherit;
}

.status-chip span,
.status-footer i {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: currentColor;
  animation: pulse 1.6s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 currentColor;
    opacity: 0.95;
  }
  70% {
    box-shadow: 0 0 0 9px transparent;
    opacity: 0.5;
  }
  100% {
    box-shadow: 0 0 0 0 transparent;
  }
}

.grid {
  display: grid;
  gap: 24px;
}

.framework-grid,
.index-grid {
  display: grid;
  gap: 14px;
  margin-bottom: 24px;
}

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

.index-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.framework-card,
.index-card {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(27, 27, 27, 0.66);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(20px);
  padding: 15px;
}

.framework-card span,
.index-card header {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.framework-card p,
.index-card p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.framework-card {
  min-height: 210px;
  display: grid;
  gap: 10px;
  position: relative;
  overflow: hidden;
}

.framework-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.framework-card strong {
  color: var(--secondary);
  font-family: var(--font-mono);
  font-size: 15px;
}

.framework-card h3 {
  margin: 0;
  color: white;
  font-size: 18px;
  line-height: 1.18;
}

.framework-card small {
  align-self: end;
  color: var(--primary-dim);
  font-family: var(--font-mono);
  font-size: 10px;
}

.index-card {
  min-height: 190px;
  display: grid;
  gap: 10px;
}

.index-card header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.index-card h3 {
  margin: 0;
  color: white;
  font-family: var(--font-mono);
  font-size: 18px;
}

.index-price {
  color: white;
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 700;
}

.index-price b {
  margin-left: 8px;
  font-size: 12px;
}

.index-price b.up {
  color: var(--tertiary);
}

.index-price b.down {
  color: var(--primary);
}

.dma-inline {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--muted);
}

.dashboard-grid {
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.8fr);
  align-items: start;
}

.glass-panel {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(27, 27, 27, 0.66);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(20px);
  overflow: hidden;
  transition: border-color 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

.glass-panel:hover,
.glass-panel:focus-within {
  border-color: rgba(255, 81, 104, 0.36);
  box-shadow: 0 0 18px rgba(255, 81, 104, 0.14), 0 4px 30px rgba(0, 0, 0, 0.5);
}

.verdict-panel {
  margin-bottom: 24px;
}

.verdict-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  padding: 16px;
}

.verdict-card,
.evidence-card,
.log-row,
.about-card,
.about-signal,
.about-step,
.about-meta article {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(42, 42, 42, 0.38);
}

.verdict-card {
  position: relative;
  min-height: 148px;
  display: grid;
  gap: 8px;
  align-content: start;
  overflow: hidden;
  padding: 12px;
  background:
    linear-gradient(180deg, rgba(130, 207, 255, 0.07), transparent 74%),
    rgba(42, 42, 42, 0.38);
}

.verdict-card::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 4px;
  background:
    linear-gradient(90deg, var(--c) var(--w), rgba(255, 255, 255, 0.08) var(--w));
}

.verdict-card span,
.evidence-map > header span,
.evidence-card span,
.log-row header span,
.about-card span,
.about-signal span,
.about-step span,
.about-meta span,
.about-chain > header span {
  color: var(--secondary);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.verdict-card strong,
.evidence-card strong,
.log-row header strong,
.about-signal strong,
.about-step strong {
  color: white;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.35;
}

.verdict-card p,
.evidence-card p,
.log-row p,
.about-card p,
.about-signal p,
.about-step p,
.about-meta p,
.about-hero-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.evidence-map {
  display: grid;
  gap: 10px;
}

.evidence-map > header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 20px;
}

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

.evidence-card {
  min-height: 128px;
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 12px;
  background:
    linear-gradient(180deg, rgba(130, 207, 255, 0.06), transparent 72%),
    rgba(42, 42, 42, 0.38);
}

.evidence-card strong {
  overflow-wrap: anywhere;
}

.research-log {
  display: grid;
  gap: 10px;
  padding: 16px;
}

.log-row {
  display: grid;
  gap: 9px;
  padding: 14px 16px;
  background:
    linear-gradient(90deg, rgba(130, 207, 255, 0.06), transparent 64%),
    rgba(42, 42, 42, 0.38);
}

.log-row header {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 16px;
}

.log-row header div {
  display: grid;
  gap: 6px;
}

.log-row header b {
  flex: 0 0 auto;
  color: white;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.35;
  text-align: right;
}

.log-row p b {
  color: white;
}

.log-row small {
  color: var(--primary-dim);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.04em;
  overflow-wrap: anywhere;
}

.log-row a,
.about-card a,
.about-meta a {
  color: var(--secondary);
  text-decoration: none;
}

.log-row a:hover,
.about-card a:hover,
.about-meta a:hover {
  color: white;
}

.about-grid {
  display: grid;
  gap: 18px;
  padding: 0;
}

.about-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(310px, 0.58fr);
  gap: 22px;
  min-height: 420px;
  overflow: hidden;
  border: 1px solid rgba(130, 207, 255, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(255, 81, 104, 0.16), transparent 34%),
    linear-gradient(180deg, rgba(130, 207, 255, 0.08), rgba(2, 230, 0, 0.03) 60%, transparent),
    rgba(16, 17, 15, 0.88);
}

.about-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(90deg, black, transparent 86%);
  pointer-events: none;
}

.about-hero::after {
  content: "H^3";
  position: absolute;
  right: 28px;
  bottom: -26px;
  color: rgba(255, 255, 255, 0.035);
  font-family: var(--font-mono);
  font-size: clamp(110px, 12vw, 210px);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 0.82;
  pointer-events: none;
  animation: aboutGhostPulse 6s ease-in-out infinite;
}

.about-hero-copy {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: center;
  gap: 24px;
  padding: clamp(28px, 4.4vw, 68px);
}

.about-hero-copy h2 {
  max-width: 720px;
  margin: 0;
  color: var(--primary);
  font-family: var(--font-display);
  font-size: 82px;
  font-weight: 400;
  line-height: 0.82;
  letter-spacing: 0.015em;
  text-transform: uppercase;
}

.about-hero-copy h2 span {
  display: block;
  opacity: 0;
  transform: translateY(18px);
  animation: aboutTitleIn 680ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.about-hero-copy h2 span:nth-child(1) {
  animation-delay: 40ms;
}

.about-hero-copy h2 span:nth-child(2) {
  margin-left: 36px;
  animation-delay: 120ms;
}

.about-hero-copy h2 span:nth-child(3),
.about-hero-copy h2 span:nth-child(4) {
  color: color-mix(in srgb, var(--primary) 76%, var(--primary-dim));
}

.about-hero-copy h2 span:nth-child(3) {
  animation-delay: 200ms;
}

.about-hero-copy h2 span:nth-child(4) {
  animation-delay: 280ms;
}

.about-hero-lede {
  max-width: 760px;
  border-left: 3px solid var(--primary);
  background: linear-gradient(90deg, rgba(255, 81, 104, 0.1), transparent 78%);
  padding: 12px 0 12px 18px;
  color: rgba(255, 218, 222, 0.78);
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.72;
  opacity: 0;
  transform: translateY(10px);
  animation: aboutFadeIn 620ms cubic-bezier(0.16, 1, 0.3, 1) 360ms forwards;
}

.about-signal-stack {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
  align-content: center;
  padding: 20px;
}

.about-signal {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 6px 12px;
  padding: 14px;
  background: rgba(0, 0, 0, 0.28);
  opacity: 0;
  transform: translateX(16px);
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
  animation: aboutSignalIn 560ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.about-signal:nth-child(1) {
  animation-delay: 220ms;
}

.about-signal:nth-child(2) {
  animation-delay: 320ms;
}

.about-signal:nth-child(3) {
  animation-delay: 420ms;
}

.about-signal:hover {
  border-color: rgba(255, 81, 104, 0.38);
  background:
    linear-gradient(90deg, rgba(255, 81, 104, 0.08), transparent 72%),
    rgba(0, 0, 0, 0.32);
  transform: translateX(-3px);
}

.about-signal span {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(2, 230, 0, 0.32);
  border-radius: 50%;
  color: var(--tertiary);
  transition: border-color 180ms ease, color 180ms ease;
}

.about-signal:hover span {
  border-color: rgba(255, 81, 104, 0.54);
  color: var(--primary);
}

.about-chain {
  display: grid;
  gap: 10px;
}

.about-chain > header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.about-chain > header::after {
  content: "";
  height: 1px;
  flex: 1;
  background: linear-gradient(90deg, rgba(130, 207, 255, 0.42), transparent);
}

.about-chain-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(20, 21, 19, 0.72);
}

.about-step {
  position: relative;
  min-height: 188px;
  display: grid;
  align-content: start;
  gap: 10px;
  border-width: 0 1px 0 0;
  border-radius: 0;
  padding: 16px;
  background: transparent;
}

.about-step:last-child {
  border-right: 0;
}

.about-step::after {
  content: "";
  position: absolute;
  top: 25px;
  right: -6px;
  z-index: 1;
  width: 10px;
  height: 10px;
  border-top: 1px solid rgba(130, 207, 255, 0.5);
  border-right: 1px solid rgba(130, 207, 255, 0.5);
  background: #11120f;
  transform: rotate(45deg);
}

.about-step:last-child::after {
  display: none;
}

.about-step span {
  color: var(--primary);
}

.about-editorial {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.3fr);
  gap: 20px;
  align-items: start;
}

.about-editorial-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.about-card {
  position: relative;
  min-height: 170px;
  grid-column: span 2;
  display: grid;
  align-content: start;
  gap: 16px;
  overflow: hidden;
  padding: 18px 18px 20px;
  background:
    linear-gradient(180deg, rgba(255, 81, 104, 0.04), transparent 72%),
    rgba(24, 25, 23, 0.72);
}

.about-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(180deg, var(--primary), transparent 72%);
}

.about-card span {
  color: var(--primary);
}

.about-card.wide {
  grid-column: span 3;
  min-height: 190px;
  background:
    linear-gradient(180deg, rgba(130, 207, 255, 0.055), transparent 70%),
    rgba(42, 42, 42, 0.34);
}

.about-card p {
  color: rgba(226, 226, 226, 0.74);
  font-size: 13px;
  line-height: 1.7;
}

.about-card.wide p {
  max-width: 720px;
  font-size: 14px;
}

.about-meta {
  display: grid;
  gap: 10px;
}

.about-meta article {
  position: relative;
  display: grid;
  gap: 9px;
  min-height: 86px;
  overflow: hidden;
  padding: 15px 16px;
  background:
    linear-gradient(90deg, rgba(255, 81, 104, 0.08), transparent 64%),
    rgba(0, 0, 0, 0.3);
}

.about-meta article::after {
  content: "";
  position: absolute;
  right: 12px;
  bottom: 10px;
  width: 42px;
  height: 1px;
  background: var(--primary);
  opacity: 0.7;
}

.about-meta span {
  color: var(--primary);
}

.about-meta p {
  color: rgba(255, 218, 222, 0.86);
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.about-meta .contact p {
  color: var(--secondary);
  font-size: 14px;
  font-weight: 700;
}

.about-meta .boundary p {
  color: rgba(226, 226, 226, 0.72);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.62;
}

@keyframes aboutTitleIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes aboutFadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes aboutSignalIn {
  from {
    opacity: 0;
    transform: translateX(16px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes aboutGhostPulse {
  0%,
  100% {
    opacity: 0.8;
  }
  50% {
    opacity: 0.35;
  }
}

.panel-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(0, 0, 0, 0.22);
}

.panel-title h2 {
  margin: 0;
  color: white;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.panel-title small {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 9px;
}

.heatmap {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  padding: 16px;
}

.heat-cell,
.pass-item,
.research-core-card,
.validation-item,
.quality-metric,
.watch-item,
.source-link,
.macro-card {
  border: 1px solid var(--border);
  border-radius: 9px;
  background: rgba(42, 42, 42, 0.38);
}

.heat-cell {
  min-height: 124px;
  display: grid;
  align-content: space-between;
  padding: 12px;
  background:
    linear-gradient(180deg, rgba(255, 81, 104, var(--a)), transparent 80%),
    rgba(42, 42, 42, 0.38);
  transition: transform 180ms ease, background 180ms ease;
}

.heat-cell.up {
  background:
    linear-gradient(180deg, rgba(2, 230, 0, var(--a)), transparent 80%),
    rgba(42, 42, 42, 0.38);
}

.heat-cell.down {
  background:
    linear-gradient(180deg, rgba(255, 81, 104, var(--a)), transparent 80%),
    rgba(42, 42, 42, 0.38);
}

.heat-cell:hover {
  transform: translateY(-2px);
}

.heat-cell.up:hover {
  background:
    linear-gradient(180deg, rgba(2, 230, 0, calc(var(--a) + 0.12)), transparent 80%),
    rgba(42, 42, 42, 0.45);
}

.heat-cell.down:hover {
  background:
    linear-gradient(180deg, rgba(255, 81, 104, calc(var(--a) + 0.12)), transparent 80%),
    rgba(42, 42, 42, 0.45);
}

.heat-cell span,
.heat-cell small,
.pass-item span,
.watch-item span,
.macro-card span,
.macro-card small {
  color: var(--muted);
  line-height: 1.45;
}

.heat-cell span,
.heat-cell small {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
}

.heat-cell .heat-market {
  width: fit-content;
  margin-bottom: 8px;
  border: 1px solid rgba(130, 207, 255, 0.28);
  border-radius: 5px;
  background: rgba(130, 207, 255, 0.08);
  color: var(--secondary);
  padding: 3px 6px;
  font-size: 9px;
}

.heat-cell strong {
  display: block;
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 24px;
}

.heat-cell.up strong {
  color: var(--tertiary);
}

.heat-cell.down strong {
  color: var(--primary);
}

.pass-list,
.research-core-grid,
.validation-list,
.watch-items,
.sources {
  display: grid;
  gap: 10px;
  padding: 16px;
}

.watch-items {
  padding-bottom: 10px;
}

.research-core-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.validation-stack {
  display: grid;
  gap: 14px;
  padding: 16px;
}

.validation-list {
  padding: 0;
}

.pass-item,
.research-core-card,
.watch-item,
.validation-item {
  display: grid;
  gap: 7px;
  padding: 12px;
}

.pass-item strong,
.research-core-card strong,
.watch-item strong {
  color: white;
  font-family: var(--font-mono);
  font-size: 12px;
}

.watch-item header,
.company-state {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 10px;
}

.watch-item header span,
.watch-item small,
.company-state span {
  color: var(--secondary);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.watch-item p {
  margin: 0;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 1.45;
}

.watch-item p b {
  color: var(--text);
}

.watch-radar {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 0 16px 16px;
}

.watch-radar-card {
  display: grid;
  gap: 7px;
  min-height: 104px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 9px;
  background:
    linear-gradient(180deg, rgba(255, 81, 104, 0.06), transparent 74%),
    rgba(0, 0, 0, 0.24);
  padding: 11px;
}

.watch-radar-card.up {
  background:
    linear-gradient(180deg, rgba(2, 230, 0, 0.08), transparent 74%),
    rgba(0, 0, 0, 0.24);
}

.watch-radar-card span,
.watch-radar-footer span {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.watch-radar-card strong {
  color: white;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.4;
}

.watch-radar-card.up strong {
  color: var(--tertiary);
}

.watch-radar-card.down strong {
  color: var(--primary);
}

.watch-radar-card p {
  margin: 0;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 1.45;
}

.watch-radar-footer {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid rgba(130, 207, 255, 0.16);
  border-radius: 9px;
  background: rgba(130, 207, 255, 0.05);
  padding: 10px 11px;
}

.watch-radar-footer strong {
  color: var(--secondary);
  font-family: var(--font-mono);
  font-size: 10px;
  text-align: right;
}

.research-core-card {
  position: relative;
  min-height: 156px;
  overflow: hidden;
  align-content: start;
  background:
    linear-gradient(180deg, rgba(130, 207, 255, 0.08), transparent 70%),
    rgba(42, 42, 42, 0.38);
}

.research-core-card::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 4px;
  background:
    linear-gradient(90deg, var(--c) var(--w), rgba(255, 255, 255, 0.08) var(--w));
}

.research-core-card span {
  color: var(--secondary);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.research-core-card strong {
  font-size: 14px;
  line-height: 1.45;
}

.research-core-card p {
  margin: 0;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 1.5;
}

.validation-item {
  min-height: 138px;
  background:
    linear-gradient(90deg, rgba(130, 207, 255, 0.08), transparent 65%),
    rgba(42, 42, 42, 0.38);
}

.validation-item header {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}

.validation-item header span,
.validation-item small {
  color: var(--secondary);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.validation-item header strong {
  color: var(--tertiary);
  font-family: var(--font-mono);
  font-size: 13px;
}

.validation-item h3 {
  margin: 2px 0 0;
  color: white;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.35;
}

.validation-item p {
  margin: 0;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 1.45;
}

.validation-item p b {
  color: var(--text);
  font-weight: 700;
}

.quality-console {
  display: grid;
  gap: 10px;
  border: 1px solid rgba(2, 230, 0, 0.18);
  border-radius: 9px;
  background: rgba(2, 230, 0, 0.04);
  padding: 12px;
}

.quality-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
}

.quality-head strong {
  color: white;
  font-size: 12px;
}

.quality-head span {
  color: var(--tertiary);
  font-size: 11px;
  font-weight: 700;
}

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

.quality-metric {
  display: grid;
  gap: 5px;
  padding: 9px;
}

.quality-metric:first-child {
  grid-column: 1 / -1;
}

.quality-metric span {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 9px;
  text-transform: uppercase;
}

.quality-metric strong {
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.35;
}

.quality-console p {
  margin: 0;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 1.45;
}

.guardrail-panel,
.research-core-panel {
  margin-top: 24px;
}

.pass-list.compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.company-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.company-card {
  min-height: 280px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(27, 27, 27, 0.66);
  padding: 16px;
  backdrop-filter: blur(20px);
  transition: border-color 220ms ease, transform 220ms ease, box-shadow 220ms ease;
}

.company-card:hover {
  border-color: rgba(130, 207, 255, 0.34);
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.32);
}

.company-card header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.company-card h3 {
  margin: 0 0 6px;
  color: white;
  font-family: var(--font-mono);
  font-size: 18px;
}

.company-card header span:not(.tag),
.company-card p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.company-state {
  border: 1px solid rgba(130, 207, 255, 0.16);
  border-radius: 8px;
  background: rgba(130, 207, 255, 0.05);
  padding: 8px 9px;
}

.company-state strong {
  color: white;
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.35;
  text-align: right;
}

.tag {
  flex: 0 0 auto;
  width: fit-content;
  height: fit-content;
  border: 1px solid rgba(130, 207, 255, 0.28);
  border-radius: 6px;
  background: rgba(130, 207, 255, 0.08);
  color: var(--secondary);
  padding: 4px 7px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
}

.metric-bars {
  display: grid;
  gap: 9px;
}

.metric {
  display: grid;
  gap: 5px;
}

.metric label {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10px;
}

.bar {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
}

.bar span {
  display: block;
  width: var(--w);
  height: 100%;
  border-radius: inherit;
  background: var(--c, var(--primary));
}

.company-card .action {
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 12px;
  color: var(--text);
}

.detail-button,
.row-detail-button,
.detail-close {
  border: 1px solid rgba(130, 207, 255, 0.24);
  border-radius: 7px;
  background: rgba(130, 207, 255, 0.08);
  color: var(--secondary);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.detail-button {
  width: 100%;
  padding: 9px 10px;
}

.row-detail-button {
  margin-top: 8px;
  padding: 5px 7px;
}

.detail-close {
  width: 30px;
  height: 30px;
  padding: 0;
  color: var(--text);
  font-size: 18px;
  line-height: 1;
}

.detail-button:hover,
.row-detail-button:hover,
.detail-close:hover {
  border-color: rgba(255, 81, 104, 0.46);
  color: var(--primary-dim);
}

.company-detail-panel {
  margin: 24px 0;
}

.company-detail-panel[hidden] {
  display: none;
}

.company-detail {
  display: grid;
  gap: 16px;
  padding: 16px;
}

.detail-summary {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.detail-summary > div,
.score-pill,
.framework-read,
.discipline-card,
.event-row {
  border: 1px solid var(--border);
  border-radius: 9px;
  background: rgba(42, 42, 42, 0.38);
}

.detail-summary > div,
.score-pill {
  position: relative;
  min-height: 86px;
  display: grid;
  gap: 7px;
  align-content: start;
  overflow: hidden;
  padding: 11px;
}

.score-pill::after,
.framework-read::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 4px;
  background:
    linear-gradient(90deg, var(--c) var(--w), rgba(255, 255, 255, 0.08) var(--w));
}

.detail-summary span,
.detail-copy span,
.score-pill span,
.framework-read span {
  color: var(--secondary);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.detail-summary strong,
.score-pill strong {
  color: white;
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 1.35;
}

.detail-copy {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.detail-copy > div {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 9px;
  background: rgba(0, 0, 0, 0.18);
  padding: 12px;
}

.detail-copy p,
.framework-read p,
.discipline-card p,
.event-row p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

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

.discipline-card {
  min-height: 112px;
  padding: 12px;
  background:
    linear-gradient(180deg, rgba(255, 81, 104, 0.06), transparent 76%),
    rgba(42, 42, 42, 0.38);
}

.discipline-card span,
.event-log > header span,
.event-row header span,
.event-row small {
  color: var(--secondary);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.event-log {
  display: grid;
  gap: 10px;
}

.event-log > header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding-bottom: 8px;
}

.event-list {
  display: grid;
  gap: 10px;
}

.event-row {
  display: grid;
  gap: 7px;
  padding: 12px;
  background:
    linear-gradient(90deg, rgba(130, 207, 255, 0.08), transparent 70%),
    rgba(42, 42, 42, 0.38);
}

.event-row header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.event-row header strong {
  color: white;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.35;
  text-align: right;
}

.event-row p b {
  color: var(--text);
}

.framework-read-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.framework-read {
  position: relative;
  min-height: 134px;
  overflow: hidden;
  padding: 12px;
}

.framework-read header {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.framework-read strong {
  color: white;
  font-family: var(--font-mono);
  font-size: 13px;
}

.flow {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  padding: 16px;
}

.flow-step {
  position: relative;
  min-height: 156px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.2);
  padding: 13px;
}

.flow-step::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: var(--w);
  height: 4px;
  background: var(--primary);
}

.flow-step strong {
  display: block;
  margin-bottom: 12px;
  color: var(--secondary);
  font-family: var(--font-mono);
  font-size: 12px;
}

.flow-step span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.research-table-wrap {
  margin-top: 24px;
  overflow-x: auto;
}

.research-table {
  width: 100%;
  min-width: 1080px;
  border-collapse: collapse;
}

th,
td {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 13px 14px;
  text-align: left;
  vertical-align: top;
  line-height: 1.45;
}

th {
  background: rgba(0, 0, 0, 0.28);
  color: var(--secondary);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

td {
  color: var(--muted);
  font-size: 12px;
}

td strong {
  color: white;
}

.macro-grid {
  display: grid;
  gap: 12px;
  padding: 16px;
}

.macro-regime {
  display: grid;
  gap: 12px;
  border: 1px solid rgba(255, 81, 104, 0.28);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(255, 81, 104, 0.11), transparent 58%),
    rgba(13, 13, 14, 0.48);
  padding: 15px;
}

.macro-regime-head {
  display: grid;
  gap: 8px;
}

.macro-regime-head span,
.macro-regime-next span,
.macro-regime-metrics span {
  color: var(--primary);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.macro-regime-head strong {
  color: white;
  font-family: var(--font-mono);
  font-size: 20px;
  line-height: 1.25;
}

.macro-regime-head p,
.macro-regime-next p {
  margin: 0;
  color: rgba(226, 226, 226, 0.72);
  font-size: 13px;
  line-height: 1.6;
}

.macro-regime-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.macro-regime-metrics article {
  display: grid;
  gap: 8px;
  min-height: 82px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.24);
  padding: 11px;
}

.macro-regime-metrics strong {
  color: white;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.macro-regime-metrics article.up strong {
  color: var(--tertiary);
}

.macro-regime-metrics article.down strong {
  color: var(--primary);
}

.macro-regime-next {
  display: grid;
  gap: 7px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 12px;
}

.valuation-temp {
  display: grid;
  gap: 13px;
  border: 1px solid rgba(130, 207, 255, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(2, 230, 0, 0.07), transparent 38%),
    linear-gradient(270deg, rgba(255, 81, 104, 0.09), transparent 42%),
    rgba(13, 13, 14, 0.48);
  padding: 15px;
}

.valuation-temp-head {
  display: grid;
  gap: 8px;
}

.valuation-temp-head span,
.valuation-temp-grid span,
.valuation-temp-next span {
  color: var(--secondary);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.valuation-temp-head strong {
  color: white;
  font-family: var(--font-mono);
  font-size: 20px;
  line-height: 1.25;
}

.valuation-temp-head p,
.valuation-temp-grid p,
.valuation-temp-next p {
  margin: 0;
  color: rgba(226, 226, 226, 0.7);
  font-size: 13px;
  line-height: 1.58;
}

.valuation-temp-scale {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--muted);
}

.valuation-temp-scale i {
  position: relative;
  height: 8px;
  border-radius: 999px;
  background:
    linear-gradient(90deg, rgba(2, 230, 0, 0.55), rgba(130, 207, 255, 0.5), rgba(255, 81, 104, 0.72));
}

.valuation-temp-scale i::before,
.valuation-temp-scale i::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.valuation-temp-scale i::before {
  left: var(--discount);
  border: 1px solid var(--tertiary);
  background: rgba(2, 230, 0, 0.25);
}

.valuation-temp-scale i::after {
  left: var(--bubble);
  border: 1px solid var(--primary);
  background: rgba(255, 81, 104, 0.28);
}

.valuation-temp-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.valuation-temp-grid article {
  display: grid;
  gap: 7px;
  min-height: 108px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.24);
  padding: 11px;
}

.valuation-temp-grid strong {
  color: white;
  font-family: var(--font-mono);
  font-size: 15px;
  line-height: 1.35;
}

.valuation-temp-grid article.up strong {
  color: var(--tertiary);
}

.valuation-temp-grid article.down strong {
  color: var(--primary);
}

.valuation-temp-next {
  display: grid;
  gap: 7px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 12px;
}

.macro-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.macro-card {
  display: grid;
  gap: 8px;
  min-width: 0;
  min-height: 168px;
  padding: 13px;
  align-content: start;
}

.macro-card .macro-indicator {
  color: var(--secondary);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
}

.macro-card .macro-value {
  color: white;
  font-family: var(--font-mono);
  font-size: 30px;
  line-height: 1.05;
  overflow-wrap: anywhere;
}

.macro-card .macro-value.up,
.macro-card .macro-period.up {
  color: var(--tertiary);
}

.macro-card .macro-value.down,
.macro-card .macro-period.down {
  color: var(--primary);
}

.macro-card .macro-read {
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
}

.macro-card .macro-period {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.35;
}

.macro-card .macro-source {
  color: rgba(255, 255, 255, 0.42);
  font-family: var(--font-mono);
  font-size: 9px;
  line-height: 1.3;
  text-decoration: none;
}

.macro-card .macro-source:hover {
  color: var(--secondary);
}

.source-link {
  padding: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
}

.macro-signal-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  padding: 16px;
}

.macro-signal-card {
  min-height: 166px;
  display: grid;
  gap: 9px;
  align-content: start;
  border: 1px solid var(--border);
  border-radius: 9px;
  background:
    linear-gradient(180deg, rgba(130, 207, 255, 0.08), transparent 75%),
    rgba(42, 42, 42, 0.38);
  padding: 13px;
}

.macro-signal-card header {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.macro-signal-card header span,
.macro-signal-card p {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 1.5;
}

.macro-signal-card header strong {
  color: var(--secondary);
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
}

.macro-signal-scope {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
  border: 1px solid rgba(130, 207, 255, 0.18);
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.2);
  padding: 6px 8px;
}

.macro-signal-scope span,
.macro-signal-scope strong {
  font-family: var(--font-mono);
  font-size: 9px;
  line-height: 1;
  text-transform: uppercase;
}

.macro-signal-scope span {
  color: var(--muted);
}

.macro-signal-scope strong {
  color: white;
  overflow-wrap: anywhere;
  text-align: right;
}

.macro-signal-card b {
  color: white;
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 1.45;
}

.macro-signal-card p {
  margin: 0;
}

.status-footer {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 256px;
  z-index: 45;
  height: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(27, 27, 27, 0.92);
  backdrop-filter: blur(14px);
  padding: 0 16px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.status-footer span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.status-footer i {
  display: inline-block;
  color: var(--tertiary);
}

::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.2);
}

::-webkit-scrollbar-thumb {
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.16);
}

@media (max-width: 1180px) {
  body {
    overflow: auto;
  }

  .app-header {
    position: sticky;
  }

  .ticker-tape {
    position: sticky;
    top: 64px;
  }

  .workspace {
    display: block;
    height: auto;
    padding-top: 0;
  }

  .sidebar {
    position: static;
    width: auto;
    flex-direction: row;
    align-items: stretch;
    overflow-x: auto;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .profile-box,
  .primary-action,
  .rail-note {
    display: none;
  }

  .side-nav {
    display: flex;
    width: 100%;
  }

  .side-nav-item {
    text-align: center;
  }

  .main {
    width: auto;
    margin-left: 0;
  }

  .status-footer {
    left: 0;
  }

  .about-hero,
  .about-editorial {
    grid-template-columns: 1fr;
  }

  .about-hero-copy h2 {
    font-size: 68px;
  }

  .about-hero-copy h2 span:nth-child(2) {
    margin-left: 0;
  }

  .about-chain-grid {
    grid-template-columns: 1fr;
  }

  .about-step {
    min-height: auto;
    border-width: 0 0 1px 0;
  }

  .about-step::after {
    top: auto;
    right: 18px;
    bottom: -6px;
    transform: rotate(135deg);
  }

  .about-step:last-child {
    border-bottom: 0;
  }

  .dashboard-grid,
  .flow,
  .framework-grid,
  .index-grid,
  .verdict-grid,
  .evidence-grid,
  .macro-card-grid,
  .macro-regime-metrics,
  .valuation-temp-grid,
  .detail-summary,
  .detail-copy,
  .discipline-grid,
  .framework-read-grid,
  .macro-signal-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 980px) {
  .macro-card-grid,
  .macro-regime-metrics,
  .valuation-temp-grid,
  .research-core-grid,
  .framework-read-grid,
  .verdict-grid,
  .evidence-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .about-card,
  .about-card.wide {
    grid-column: span 1;
  }
}

@media (max-width: 760px) {
  .app-header {
    height: auto;
    min-height: 64px;
    flex-wrap: wrap;
    padding: 12px;
  }

  .top-nav {
    order: 3;
    width: 100%;
    justify-content: space-between;
    gap: 8px;
  }

  .command-search {
    width: min(100%, 210px);
  }

  .header-actions {
    width: 100%;
    order: 2;
    justify-content: space-between;
  }

  .language-switch {
    flex: 0 0 auto;
  }

  .language-switch select {
    min-width: 118px;
  }

  .ticker-tape {
    top: 154px;
  }

  .main {
    padding: 18px 14px 54px;
  }

  .page-head {
    display: grid;
    align-items: start;
  }

  .heatmap,
  .company-grid,
  .macro-grid,
  .macro-card-grid,
  .macro-regime-metrics,
  .valuation-temp-grid,
  .research-core-grid,
  .verdict-grid,
  .evidence-grid,
  .about-editorial-grid,
  .detail-summary,
  .detail-copy,
  .discipline-grid,
  .framework-read-grid,
  .watch-radar,
  .macro-signal-grid,
  .framework-grid,
  .index-grid,
  .pass-list.compact {
    grid-template-columns: 1fr;
  }

  .status-footer {
    justify-content: start;
    overflow-x: auto;
  }

  .about-hero {
    min-height: auto;
  }

  .about-hero-copy,
  .about-signal-stack {
    padding: 18px;
  }

  .about-hero-copy h2 {
    font-size: 44px;
    line-height: 0.9;
  }

  .about-signal {
    grid-template-columns: 1fr;
  }

  .about-signal span {
    grid-row: auto;
  }

  .log-row header {
    display: grid;
  }

  .log-row header b {
    text-align: left;
  }
}

html:lang(zh-CN) .page-head h1,
html:lang(zh-CN) .about-hero-copy h2 {
  font-family: var(--font-zh);
  font-weight: 800;
  letter-spacing: 0;
  text-transform: none;
}

html:lang(zh-CN) .about-hero-copy h2 {
  max-width: 780px;
  font-size: 58px;
  line-height: 1.12;
}

html:lang(zh-CN) .about-hero-copy h2 span:nth-child(2) {
  margin-left: 0;
}

html:lang(zh-CN) .about-hero-lede {
  max-width: 820px;
  color: rgba(255, 226, 229, 0.82);
  font-family: var(--font-zh);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.9;
}

html:lang(zh-CN) .about-card span,
html:lang(zh-CN) .about-signal span,
html:lang(zh-CN) .about-step span,
html:lang(zh-CN) .about-meta span,
html:lang(zh-CN) .about-chain > header span,
html:lang(zh-CN) .macro-regime-head span,
html:lang(zh-CN) .macro-regime-next span,
html:lang(zh-CN) .macro-regime-metrics span,
html:lang(zh-CN) .valuation-temp-head span,
html:lang(zh-CN) .valuation-temp-grid span,
html:lang(zh-CN) .valuation-temp-next span {
  font-family: var(--font-zh);
  font-size: 11px;
  letter-spacing: 0.08em;
}

html:lang(zh-CN) .about-card p,
html:lang(zh-CN) .about-signal p,
html:lang(zh-CN) .about-step p,
html:lang(zh-CN) .about-meta p,
html:lang(zh-CN) .macro-regime-head p,
html:lang(zh-CN) .macro-regime-next p,
html:lang(zh-CN) .valuation-temp-head p,
html:lang(zh-CN) .valuation-temp-grid p,
html:lang(zh-CN) .valuation-temp-next p {
  font-family: var(--font-zh);
  font-size: 14px;
  line-height: 1.82;
}

html:lang(zh-CN) .about-card.wide p {
  font-size: 15px;
  line-height: 1.86;
}

html:lang(zh-CN) .about-meta .contact p,
html:lang(zh-CN) .macro-regime-metrics strong,
html:lang(zh-CN) .valuation-temp-grid strong {
  font-family: var(--font-zh-mono);
}

html:lang(zh-CN) .macro-card .macro-indicator,
html:lang(zh-CN) .macro-card .macro-read,
html:lang(zh-CN) .watch-item p,
html:lang(zh-CN) .validation-item p,
html:lang(zh-CN) .research-core-card p,
html:lang(zh-CN) .framework-read p {
  font-family: var(--font-zh);
  line-height: 1.72;
}

@media (max-width: 1180px) {
  html:lang(zh-CN) .about-hero-copy h2 {
    font-size: 48px;
  }
}

@media (max-width: 760px) {
  html:lang(zh-CN) .about-hero-copy h2 {
    font-size: 34px;
    line-height: 1.18;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
