:root {
  color-scheme: dark;
  --bg: #030709;
  --bg-soft: #071014;
  --panel: rgba(8, 15, 19, 0.88);
  --panel-solid: #091116;
  --panel-raised: #0d171c;
  --ink: #f4f8f6;
  --muted: #9ba9a5;
  --dim: #65736f;
  --line: rgba(198, 231, 220, 0.11);
  --line-strong: rgba(198, 231, 220, 0.22);
  --mint: #6df2b6;
  --cyan: #6edff2;
  --blue: #7398ff;
  --gold: #f5c568;
  --red: #ff6f7d;
  --accent: #9eea52;
  --accent-soft: rgba(158, 234, 82, 0.16);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.42);
  --header-height: 76px;
  --rail-width: 184px;
}

* { box-sizing: border-box; }
html { min-width: 320px; background: var(--bg); scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 78% -10%, rgba(72, 167, 144, 0.12), transparent 34%),
    radial-gradient(circle at 8% 42%, rgba(74, 117, 165, 0.08), transparent 30%),
    var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}

button, input, select { font: inherit; }
button, select { color: inherit; }
button { border: 0; }
a { color: inherit; text-decoration: none; }
svg, canvas { display: block; }
::selection { color: #02100b; background: var(--mint); }

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

.skip-link {
  position: fixed;
  top: 8px;
  left: 12px;
  z-index: 200;
  padding: 10px 14px;
  border-radius: 10px;
  color: #02110c;
  background: var(--mint);
  transform: translateY(-150%);
}
.skip-link:focus { transform: none; }

button:focus-visible, a:focus-visible, select:focus-visible, input:focus-visible {
  outline: 2px solid var(--mint);
  outline-offset: 3px;
}

.app-boot {
  position: fixed;
  z-index: 300;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  padding: 28px;
  background:
    radial-gradient(circle at 50% 43%, rgba(109, 242, 182, 0.12), transparent 28%),
    radial-gradient(circle at 72% 16%, rgba(110, 223, 242, 0.1), transparent 24%),
    #020608;
  transition: opacity 360ms ease, visibility 360ms ease;
}
.app-boot::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(circle at center, black, transparent 75%);
}
.app-boot.is-ready { opacity: 0; visibility: hidden; pointer-events: none; }
.app-boot-world { position: relative; width: clamp(124px, 18vw, 180px); aspect-ratio: 1; animation: boot-world 2.8s ease-in-out infinite; }
.app-boot-world::after { content: ""; position: absolute; inset: 12%; border-radius: 50%; box-shadow: 0 0 62px rgba(109,242,182,.2); }
.app-boot-world img { position: relative; z-index: 1; display: block; width: 100%; height: 100%; }
.app-boot-copy { display: grid; justify-items: center; gap: 2px; margin-top: 22px; }
.app-boot-copy strong { font-size: clamp(1.65rem, 4vw, 2.3rem); letter-spacing: -.06em; line-height: 1; }
.app-boot-copy strong span { color: var(--mint); }
.app-boot-copy small { margin-top: 8px; color: var(--muted); font-size: .86rem; }
.app-boot-progress { width: min(240px, 62vw); height: 2px; margin-top: 34px; overflow: hidden; border-radius: 999px; background: rgba(255,255,255,.08); }
.app-boot-progress i { display: block; width: 46%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, transparent, var(--mint), var(--cyan), transparent); animation: boot-progress 1.45s ease-in-out infinite; }
.app-boot p { margin: 14px 0 0; color: var(--dim); font: 700 .7rem/1 ui-monospace, monospace; letter-spacing: .11em; text-transform: uppercase; }
@keyframes boot-world { 0%,100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-7px) scale(1.015); } }
@keyframes boot-progress { 0% { transform: translateX(-110%); } 100% { transform: translateX(240%); } }
@media (prefers-reduced-motion: reduce) { .app-boot-world, .app-boot-progress i { animation: none; } }

.app-shell { min-height: 100vh; }
.app-shell.is-loading .app-main { opacity: 0; }
.app-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 80;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 0 24px;
  border-bottom: 1px solid var(--line);
  background: rgba(3, 7, 9, 0.84);
  backdrop-filter: blur(22px) saturate(1.2);
}

.brand { display: inline-flex; align-items: center; gap: 13px; min-width: 250px; }
.brand-mark { display: block; width: 42px; height: 42px; flex: 0 0 auto; filter: drop-shadow(0 0 16px rgba(109,242,182,.13)); }
.brand-copy { display: grid; gap: 1px; }
.brand-copy strong { font-size: 1rem; letter-spacing: -0.04em; }
.brand-copy strong span { color: var(--mint); }
.brand-copy small { color: var(--dim); font-size: 0.75rem; letter-spacing: 0.02em; }

.header-actions { display: flex; align-items: center; gap: 12px; }
.company-switch {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 202px;
  padding: 8px 12px 8px 9px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: rgba(13, 23, 28, 0.7);
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease;
}
.company-switch:hover { border-color: var(--line-strong); background: var(--panel-raised); }
.company-switch-sigil {
  display: grid;
  width: 35px;
  height: 35px;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 11px;
  color: #06100b;
  background: var(--accent);
  font: 800 0.75rem/1 ui-monospace, SFMono-Regular, Menlo, monospace;
}
.company-switch > span:nth-child(2) { display: grid; min-width: 0; text-align: left; }
.company-switch small { color: var(--dim); font-size: 0.7rem; }
.company-switch strong { max-width: 116px; overflow: hidden; font-size: 0.86rem; text-overflow: ellipsis; white-space: nowrap; }
.company-switch > i {
  width: 8px;
  height: 8px;
  margin-left: auto;
  border-right: 1px solid var(--muted);
  border-bottom: 1px solid var(--muted);
  transform: rotate(45deg) translateY(-2px);
}
.data-scope {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 174px;
  padding: 9px 12px;
  border-left: 1px solid var(--line);
}
.data-scope > span:last-child { display: grid; }
.data-scope strong { font: 700 0.7rem/1.2 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: 0.08em; }
.data-scope small { margin-top: 3px; color: var(--dim); font-size: 0.68rem; }
.live-dot { width: 7px; height: 7px; flex: 0 0 auto; border-radius: 50%; background: var(--mint); box-shadow: 0 0 12px rgba(109, 242, 182, 0.8); }
.mobile-menu { display: none; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 13px; background: var(--panel); cursor: pointer; }
.mobile-menu span { display: block; width: 17px; height: 1px; margin: 5px auto; background: var(--ink); }

.app-rail {
  position: fixed;
  inset: var(--header-height) auto 0 0;
  z-index: 60;
  width: var(--rail-width);
  display: flex;
  flex-direction: column;
  padding: 22px 14px 18px;
  border-right: 1px solid var(--line);
  background: rgba(3, 8, 10, 0.78);
  backdrop-filter: blur(18px);
}
.primary-nav { display: grid; gap: 5px; }
.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 0 13px;
  border: 1px solid transparent;
  border-radius: 14px;
  color: var(--dim);
  background: transparent;
  cursor: pointer;
  text-align: left;
  transition: 160ms ease;
}
.nav-item:hover { color: var(--ink); background: rgba(255, 255, 255, 0.025); }
.nav-item.is-active { color: var(--ink); border-color: var(--line); background: linear-gradient(120deg, rgba(109, 242, 182, 0.1), rgba(110, 223, 242, 0.035)); }
.nav-item.is-active .nav-glyph { color: var(--mint); box-shadow: 0 0 18px rgba(109, 242, 182, 0.12); }
.nav-item > span:last-child { font-size: 0.87rem; font-weight: 650; }
.nav-glyph { position: relative; width: 22px; height: 22px; flex: 0 0 auto; color: currentColor; }
.glyph-pulse::before { content: ""; position: absolute; inset: 5px; border: 1px solid currentColor; border-radius: 50%; }
.glyph-pulse::after { content: ""; position: absolute; left: 1px; right: 1px; top: 10px; height: 1px; background: currentColor; box-shadow: 6px -5px 0 -0.2px currentColor, 11px 4px 0 -0.2px currentColor; transform: skewY(-18deg); }
.glyph-world { border: 1px solid currentColor; border-radius: 50%; }
.glyph-world::before, .glyph-world::after { content: ""; position: absolute; border: 1px solid currentColor; border-radius: 50%; }
.glyph-world::before { inset: 4px; }
.glyph-world::after { width: 4px; height: 4px; right: -2px; top: 2px; background: currentColor; }
.glyph-learn::before { content: ""; position: absolute; inset: 3px 2px; border: 1px solid currentColor; border-radius: 4px 9px 4px 4px; transform: skewY(-7deg); }
.glyph-learn::after { content: ""; position: absolute; left: 10px; top: 4px; bottom: 4px; width: 1px; background: currentColor; }
.glyph-leaders::before { content: ""; position: absolute; left: 1px; bottom: 2px; width: 5px; height: 9px; border: 1px solid currentColor; box-shadow: 7px -5px 0 -1px var(--bg), 7px -5px 0 0 currentColor, 14px 2px 0 -1px var(--bg), 14px 2px 0 0 currentColor; }
.glyph-compare::before, .glyph-compare::after { content: ""; position: absolute; top: 4px; width: 9px; height: 14px; border: 1px solid currentColor; border-radius: 4px; }
.glyph-compare::before { left: 0; }.glyph-compare::after { right: 0; }
.glyph-agents::before { content: ""; position: absolute; inset: 3px; border: 1px solid currentColor; border-radius: 7px; }
.glyph-agents::after { content: ""; position: absolute; width: 4px; height: 4px; top: 9px; left: 9px; border-radius: 50%; background: currentColor; box-shadow: -5px 0 0 -1px currentColor, 5px 0 0 -1px currentColor; }
.glyph-brief::before { content: ""; position: absolute; inset: 2px 3px; border: 1px solid currentColor; border-radius: 3px; }
.glyph-brief::after { content: ""; position: absolute; left: 7px; right: 7px; top: 7px; height: 1px; background: currentColor; box-shadow: 0 4px currentColor, 0 8px currentColor; }
.rail-watch { margin-top: auto; padding: 16px 13px; border: 1px solid var(--line); border-radius: 16px; background: rgba(9, 18, 22, 0.62); }
.rail-watch span { color: var(--dim); font: 700 0.7rem/1 ui-monospace, monospace; letter-spacing: 0.12em; }
.rail-watch strong { display: block; margin: 9px 0 2px; font-size: 1.8rem; line-height: 1; }
.rail-watch small { color: var(--dim); font-size: 0.7rem; }
.rail-mark { display: grid; place-items: center; margin: 15px 0 0; opacity: .42; }
.rail-mark img { display: block; width: 30px; height: 30px; }

.app-main {
  min-height: 100vh;
  margin-left: var(--rail-width);
  padding: calc(var(--header-height) + 48px) clamp(24px, 4vw, 72px) 80px;
  transition: opacity 180ms ease;
}
.view { display: none; max-width: 1480px; margin: 0 auto; animation: view-in 340ms ease both; }
.view.is-active { display: block; }
@keyframes view-in { from { opacity: 0; transform: translateY(10px); } }

.eyebrow { margin: 0 0 13px; color: var(--mint); font: 750 0.72rem/1.2 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: 0.14em; }
.view-hero { display: flex; align-items: end; justify-content: space-between; gap: 36px; margin-bottom: 30px; }
.view-hero h1 { margin: 0; max-width: 860px; font-size: clamp(3rem, 6.4vw, 6.6rem); font-weight: 590; line-height: 0.92; letter-spacing: -0.072em; }
.view-hero h1 span { color: var(--cyan); }
.compact-hero h1 { font-size: clamp(2.7rem, 5.3vw, 5.6rem); }
.hero-copy { max-width: 690px; margin: 23px 0 0; color: var(--muted); font-size: 1rem; line-height: 1.65; }
.hero-aside { display: grid; min-width: 220px; gap: 9px; padding: 16px 0 5px 22px; border-left: 1px solid var(--line); color: var(--dim); font: 650 0.75rem/1.2 ui-monospace, monospace; letter-spacing: 0.04em; }

.surface {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, rgba(12, 22, 27, 0.9), rgba(5, 11, 14, 0.94));
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.025), var(--shadow);
}
.surface-head { display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.surface-head p { margin: 0 0 6px; color: var(--dim); font: 700 0.69rem/1 ui-monospace, monospace; letter-spacing: 0.13em; }
.surface-head h2 { margin: 0; font-size: 1.2rem; letter-spacing: -0.03em; }
.soft-badge { padding: 7px 9px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: 0.7rem; }

.segmented { display: inline-flex; padding: 4px; border: 1px solid var(--line); border-radius: 15px; background: rgba(8, 16, 20, 0.72); }
.segmented button { min-height: 38px; padding: 0 16px; border-radius: 11px; color: var(--dim); background: transparent; cursor: pointer; font-size: 0.78rem; font-weight: 650; }
.segmented button:hover { color: var(--ink); }
.segmented button.is-active { color: #04100b; background: var(--mint); box-shadow: 0 8px 22px rgba(109, 242, 182, 0.14); }
.market-scope { margin: 0 0 14px; }

.market-stage { position: relative; overflow: hidden; min-height: 650px; }
.stage-head { position: absolute; z-index: 6; inset: 0 0 auto 0; padding: 22px 24px; background: linear-gradient(180deg, rgba(4, 10, 12, 0.95), rgba(4, 10, 12, 0)); pointer-events: none; }
.stage-head > * { pointer-events: auto; }
.stage-badges { display: flex; align-items: center; gap: 9px; }
.stage-badges span, .stage-badges button { padding: 8px 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); background: rgba(5, 13, 15, 0.7); font-size: 0.69rem; }
.stage-badges button { cursor: pointer; }
.market-scene { position: absolute; inset: 0; display: none; }
.market-scene.is-active { display: block; }
#market-canvas { width: 100%; height: 100%; min-height: 650px; cursor: crosshair; touch-action: none; }
.market-vignette { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 52% 45%, transparent 26%, rgba(3, 8, 10, 0.12) 58%, rgba(3, 8, 10, 0.9) 100%), linear-gradient(90deg, rgba(3, 8, 10, 0.45), transparent 30%, transparent 74%, rgba(3, 8, 10, 0.38)); }
.market-reading { position: absolute; z-index: 4; left: 26px; bottom: 112px; max-width: 370px; }
.market-reading span { color: var(--dim); font: 700 0.68rem/1 ui-monospace, monospace; letter-spacing: 0.14em; }
.market-reading strong { display: block; margin: 10px 0 7px; color: var(--mint); font-size: clamp(2.8rem, 5vw, 5.2rem); font-weight: 560; line-height: 0.9; letter-spacing: -0.07em; text-shadow: 0 0 36px rgba(109, 242, 182, 0.16); }
.market-reading p { margin: 0; color: var(--muted); }
.market-prompt { position: absolute; z-index: 4; right: 25px; bottom: 118px; color: var(--dim); font: 650 0.68rem/1 ui-monospace, monospace; letter-spacing: 0.06em; }
.breadth-strip { position: absolute; z-index: 6; left: 20px; right: 20px; bottom: 18px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.breadth-item { min-height: 70px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; background: rgba(4, 12, 15, 0.8); backdrop-filter: blur(12px); }
.breadth-item span { color: var(--dim); font-size: 0.7rem; }
.breadth-item strong { display: block; margin-top: 4px; font-size: 1.08rem; }
.breadth-item small { color: var(--muted); font-size: 0.68rem; }
.market-stage.is-city { min-height: 0; }
.market-stage.is-city .market-scene[data-market-scene="city"] { position: relative; inset: auto; min-height: 900px; padding: 92px 20px 112px; background: radial-gradient(circle at 25% 12%, rgba(110,223,242,.08), transparent 28%), radial-gradient(circle at 78% 38%, rgba(155,140,255,.07), transparent 30%), #04090c; }
.city-command-bar { display: flex; align-items: end; justify-content: space-between; gap: 22px; padding: 0 2px 14px; border-bottom: 1px solid var(--line); }
.city-command-copy { display: grid; gap: 4px; }
.city-command-copy > span, .city-data-stamp span, .city-filter-group > span, .city-panel-kicker { color: var(--dim); font: 750 .68rem/1 ui-monospace, monospace; letter-spacing: .12em; }
.city-command-copy > strong { font-size: 1.2rem; letter-spacing: -.025em; }
.city-command-copy > small { color: var(--muted); font-size: .76rem; }
.city-data-stamp { display: grid; min-width: 150px; gap: 5px; padding: 11px 13px; border: 1px solid var(--line); border-radius: 13px; background: rgba(255,255,255,.018); }
.city-data-stamp strong { font-size: .75rem; }
.city-filter-deck { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 16px; padding: 14px 0; }
.city-filter-group { min-width: 0; display: grid; gap: 8px; }
.city-sector-filters, .city-movement-filters { display: flex; gap: 6px; min-width: 0; overflow-x: auto; padding: 2px 2px 6px; scrollbar-width: thin; }
.city-sector-filters button, .city-movement-filters button { min-height: 36px; flex: 0 0 auto; padding: 0 11px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); background: rgba(255,255,255,.018); cursor: pointer; font-size: .72rem; }
.city-sector-filters button:hover, .city-movement-filters button:hover { color: var(--ink); border-color: var(--line-strong); }
.city-sector-filters button.is-active, .city-movement-filters button.is-active { color: #06100c; border-color: var(--mint); background: var(--mint); }
.city-movement-filters button { display: inline-flex; align-items: center; gap: 7px; }
.city-movement-filters b { display: grid; min-width: 19px; height: 19px; place-items: center; border-radius: 999px; color: var(--ink); background: rgba(255,255,255,.08); font-size: .62rem; }
.city-movement-filters button.is-active b { color: var(--mint); background: rgba(4,16,11,.7); }
.city-layout { display: grid; grid-template-columns: minmax(0,1fr) 310px; gap: 12px; align-items: start; }
#market-city.sector-city-map { width: 100%; min-height: 0; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 9px; background: none; }
.sector-district { position: relative; min-width: 0; min-height: 270px; overflow: hidden; border: 1px solid color-mix(in srgb,var(--district-color) 28%,var(--line)); border-radius: 18px; background: radial-gradient(circle at 50% 105%,color-mix(in srgb,var(--district-color) 16%,transparent),transparent 48%),linear-gradient(145deg,rgba(14,24,29,.96),rgba(6,12,15,.98)); box-shadow: inset 0 1px rgba(255,255,255,.03); }
.sector-district::before { content:""; position:absolute; inset:0; pointer-events:none; background: linear-gradient(90deg,transparent 49.7%,rgba(255,255,255,.025) 50%,transparent 50.3%),linear-gradient(rgba(255,255,255,.018) 1px,transparent 1px); background-size:100% 100%,100% 25px; mask-image:linear-gradient(to bottom,transparent 22%,#000 55%); }
.sector-district::after { content:""; position:absolute; inset:0 auto 0 0; width:2px; background:var(--district-color); opacity:.72; }
.sector-district.is-focused { grid-column: 1 / -1; min-height: 330px; }
.sector-district.has-selected { border-color: color-mix(in srgb,var(--district-color) 56%,var(--line)); box-shadow: 0 0 36px color-mix(in srgb,var(--district-color) 10%,transparent),inset 0 1px rgba(255,255,255,.04); }
.district-select { position:relative; z-index:2; width:100%; display:grid; grid-template-columns:minmax(0,1fr) auto; gap:9px; align-items:start; min-height:78px; padding:15px 14px 4px; color:var(--ink); background:transparent; cursor:pointer; text-align:left; }
.district-select > span:first-child { display:grid; min-width:0; gap:7px; }
.district-select > span:first-child small { color:var(--district-color); font:750 .6rem/1 ui-monospace,monospace; letter-spacing:.1em; }
.district-select > span:first-child strong { font-size:.9rem; line-height:1.15; letter-spacing:-.025em; }
.district-direction { display:grid; gap:5px; text-align:right; }
.district-direction b { font-size:.7rem; }
.district-direction small { color:var(--muted); font-size:.61rem; white-space:nowrap; }
.district-direction.expansion b { color:var(--mint); }.district-direction.mixed b { color:var(--gold); }.district-direction.pressure b { color:var(--red); }
.district-skyline { position:relative; z-index:1; height:136px; display:flex; align-items:flex-end; justify-content:center; gap:5px; padding:5px 12px 0; }
.district-skyline::before { content:""; position:absolute; left:8px; right:8px; bottom:0; height:1px; background:linear-gradient(90deg,transparent,var(--district-color),transparent); opacity:.38; }
.sector-district.is-focused .district-skyline { height:190px; gap:16px; padding-inline:28px; }
.city-company-node { --movement-color:var(--gold); position:relative; z-index:2; min-width:0; max-width:50px; flex:1 1 0; display:flex; flex-direction:column; align-items:center; justify-content:flex-end; gap:3px; padding:0 0 8px; color:var(--ink); background:transparent; cursor:pointer; }
.city-company-node.expanding { --movement-color:var(--mint); }.city-company-node.contracting { --movement-color:var(--red); }
.city-company-node strong { margin-top:4px; font:780 .61rem/1 ui-monospace,monospace; }
.city-company-node small { color:var(--movement-color); font-size:.56rem; }
.city-building { position:relative; display:block; width:var(--tower-width); max-width:90%; height:var(--tower-height); border:1px solid color-mix(in srgb,var(--tower-color) 70%,rgba(255,255,255,.18)); border-radius:4px 4px 1px 1px; background:linear-gradient(90deg,color-mix(in srgb,var(--tower-color) 45%,#071014),color-mix(in srgb,var(--tower-color) 20%,#071014) 58%,#071014); box-shadow:0 12px 24px rgba(0,0,0,.36),0 0 18px color-mix(in srgb,var(--tower-color) 9%,transparent); transition:transform 160ms ease,filter 160ms ease; }
.city-building::before { content:""; position:absolute; left:20%; right:20%; top:-5px; height:4px; border:1px solid color-mix(in srgb,var(--tower-color) 65%,transparent); border-bottom:0; background:#091318; }
.city-building::after { content:""; position:absolute; inset:10px 4px 7px; opacity:.42; background:repeating-linear-gradient(to bottom,var(--movement-color) 0 1px,transparent 1px 10px); mask-image:linear-gradient(90deg,#000 40%,transparent 40% 58%,#000 58%); }
.city-building i { position:absolute; z-index:2; left:4px; width:3px; height:3px; border-radius:1px; background:var(--movement-color); box-shadow:0 0 7px var(--movement-color); }.city-building i:nth-child(1){top:18%;}.city-building i:nth-child(2){top:46%;}.city-building i:nth-child(3){top:74%;}
.city-company-node:hover .city-building,.city-company-node.is-selected .city-building { transform:translateY(-5px); filter:brightness(1.35); }
.city-company-node.is-selected .city-building { box-shadow:0 14px 30px rgba(0,0,0,.38),0 0 26px color-mix(in srgb,var(--tower-color) 42%,transparent); }
.city-company-node.is-selected strong { color:var(--district-color); }
.sector-district footer { position:relative; z-index:2; display:grid; grid-template-columns:repeat(3,1fr); gap:4px; padding:8px 11px 11px; border-top:1px solid var(--line); color:var(--dim); font-size:.57rem; }
.sector-district footer span:nth-child(2) { text-align:center; }.sector-district footer span:last-child { text-align:right; }
.city-district-panel { min-height: 523px; padding:19px; border:1px solid color-mix(in srgb,var(--district-color) 30%,var(--line)); border-radius:19px; background:radial-gradient(circle at 100% 0,color-mix(in srgb,var(--district-color) 12%,transparent),transparent 35%),rgba(8,16,20,.94); }
.city-district-panel h3 { margin:9px 0 14px; font-size:1.45rem; line-height:1.08; letter-spacing:-.045em; }
.city-panel-signal { display:flex; align-items:end; justify-content:space-between; gap:10px; padding:11px 0; border-block:1px solid var(--line); }
.city-panel-signal strong { font-size:1.05rem; }.city-panel-signal span { color:var(--muted); font-size:.67rem; text-align:right; }.city-panel-signal.expansion strong{color:var(--mint);}.city-panel-signal.mixed strong{color:var(--gold);}.city-panel-signal.pressure strong{color:var(--red);}
.city-district-panel > p { margin:14px 0; color:var(--muted); font-size:.78rem; line-height:1.55; }
.city-panel-stats { display:grid; grid-template-columns:1fr 1fr; gap:6px; }
.city-panel-stats > div { min-height:72px; display:flex; flex-direction:column; justify-content:center; padding:10px; border:1px solid var(--line); border-radius:11px; background:rgba(255,255,255,.015); }
.city-panel-stats span { color:var(--dim); font-size:.56rem; letter-spacing:.06em; }.city-panel-stats strong { margin-top:5px; font-size:.92rem; }.city-panel-stats small { color:var(--muted); font-size:.59rem; }
.city-panel-company-list { display:grid; max-height:210px; gap:5px; margin-top:12px; padding-right:2px; overflow-y:auto; }
.city-panel-company-list button { display:grid; grid-template-columns:34px minmax(0,1fr) auto; gap:8px; align-items:center; min-height:46px; padding:5px 7px; border:1px solid transparent; border-radius:10px; color:var(--ink); background:rgba(255,255,255,.014); cursor:pointer; text-align:left; }
.city-panel-company-list button:hover,.city-panel-company-list button.is-active { border-color:color-mix(in srgb,var(--company-color) 36%,var(--line)); background:color-mix(in srgb,var(--company-color) 7%,transparent); }
.city-panel-company-list .mini-sigil { width:32px; height:32px; border-radius:9px; }.city-panel-company-list button > span { display:grid; min-width:0; }.city-panel-company-list button > span strong { overflow:hidden; font-size:.71rem; text-overflow:ellipsis; white-space:nowrap; }.city-panel-company-list button > span small { color:var(--dim); font-size:.58rem; }.city-panel-company-list button > b { color:var(--mint); font-size:.65rem; }
.city-panel-source { display:grid; gap:4px; margin-top:12px; padding-top:11px; border-top:1px solid var(--line); }.city-panel-source strong { color:var(--district-color); font-size:.65rem; }.city-panel-source span { color:var(--dim); font-size:.61rem; line-height:1.45; }
.city-no-results { min-height:520px; grid-column:1/-1; display:grid; place-content:center; gap:7px; border:1px dashed var(--line); border-radius:18px; color:var(--muted); text-align:center; }.city-no-results strong{color:var(--ink);}

.today-grid { display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: 14px; margin-top: 14px; }
.signal-card, .pulse-card { min-height: 244px; padding: 20px; }
.signal-card .signal-kicker { color: var(--dim); font: 700 0.68rem/1 ui-monospace, monospace; letter-spacing: 0.12em; }
.signal-company { display: flex; align-items: center; gap: 12px; margin-top: 17px; }
.mini-sigil { display: grid; width: 46px; height: 46px; place-items: center; border-radius: 14px; color: #07100d; background: var(--company-color, var(--mint)); font: 800 0.78rem/1 ui-monospace, monospace; }
.signal-company h2 { margin: 0; font-size: 1.25rem; }
.signal-company p { margin: 2px 0 0; color: var(--dim); font-size: 0.74rem; }
.signal-score { margin: 17px 0 8px; font-size: 2.4rem; font-weight: 680; line-height: 1; letter-spacing: -0.06em; }
.signal-card > p { margin: 0; color: var(--muted); font-size: 0.83rem; line-height: 1.55; }
.pulse-card { display: flex; flex-direction: column; }
.watch-pulse-empty { display: grid; min-height: 95px; place-items: center; margin-top: 18px; border: 1px dashed var(--line); border-radius: 14px; color: var(--dim); text-align: center; }
.pulse-list { display: grid; gap: 7px; margin-top: 14px; }
.pulse-row { display: grid; grid-template-columns: 44px 1fr auto; gap: 10px; align-items: center; padding: 9px 10px; border: 1px solid var(--line); border-radius: 12px; }
.pulse-row strong { font: 750 0.78rem/1 ui-monospace, monospace; }
.pulse-row span { color: var(--muted); font-size: 0.75rem; }
.pulse-row small { color: var(--mint); font-size: 0.7rem; }
.text-button { align-self: flex-start; margin-top: auto; padding: 7px 0 0; color: var(--mint); background: transparent; cursor: pointer; font-size: 0.76rem; font-weight: 700; }

.watch-toggle, .primary-button, .secondary-button {
  min-height: 44px;
  padding: 0 17px;
  border-radius: 14px;
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 730;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}
.watch-toggle { display: inline-flex; align-items: center; gap: 9px; border: 1px solid var(--line-strong); background: var(--panel); }
.watch-toggle[aria-pressed="true"] { color: #04100b; border-color: var(--mint); background: var(--mint); }
.primary-button { color: #04100b; background: var(--mint); }
.secondary-button { border: 1px solid var(--line-strong); background: var(--panel); }
.profile-hero-actions .secondary-button { display: inline-flex; align-items: center; justify-content: center; text-align: center; }
.primary-button:hover, .secondary-button:hover, .watch-toggle:hover { transform: translateY(-1px); }
.secondary-button.compact { min-height: 38px; padding-inline: 13px; font-size: 0.75rem; }

.company-identity { display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center; padding: 22px 24px; margin-bottom: 14px; }
.identity-sigil { display: grid; width: 64px; height: 64px; place-items: center; border-radius: 20px; color: #06100c; background: var(--company-color); box-shadow: 0 0 28px color-mix(in srgb, var(--company-color) 22%, transparent); font: 850 1rem/1 ui-monospace, monospace; }
.identity-copy h2 { margin: 0; font-size: 1.55rem; letter-spacing: -0.04em; }
.identity-copy p { margin: 4px 0 0; color: var(--muted); font-size: 0.86rem; }
.identity-copy small { color: var(--dim); }
.identity-score { display: flex; align-items: center; gap: 12px; }
.identity-score strong { font-size: 2.4rem; letter-spacing: -0.07em; }
.identity-score span { display: grid; color: var(--muted); font-size: 0.72rem; }
.explorer-tabs { margin-bottom: 14px; }
.explore-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(330px, 0.55fr); gap: 14px; }
.explorer-stage { position: relative; min-height: 690px; overflow: hidden; }
.explorer-scene { display: none; min-height: 690px; }
.explorer-scene.is-active { display: block; }
.explorer-scene svg { width: 100%; min-height: 690px; }
.ecosystem-link { stroke: rgba(174, 209, 198, 0.18); stroke-width: 1.5; }
.ecosystem-ring { fill: none; stroke: rgba(174, 209, 198, 0.1); stroke-dasharray: 5 12; }
.ecosystem-node { cursor: default; }
.ecosystem-node .node-glow { opacity: 0.16; }
.ecosystem-node .node-body { fill: rgba(12, 25, 29, 0.92); stroke: var(--node-color); stroke-width: 1.2; }
.ecosystem-node .node-value { fill: #f5fbf7; font: 700 16px ui-sans-serif, sans-serif; text-anchor: middle; }
.ecosystem-node .node-label { fill: #81918b; font: 11px ui-monospace, monospace; letter-spacing: 0.08em; text-anchor: middle; }
.ecosystem-core { fill: var(--company-color); }
.ecosystem-core-text { fill: #04100b; font: 850 20px ui-monospace, monospace; text-anchor: middle; }
.tree-branch { fill: none; stroke-linecap: round; }
.tree-label { fill: #e8f2ed; font: 700 13px ui-sans-serif, sans-serif; }
.tree-value { fill: #82928d; font: 11px ui-monospace, monospace; }
.earnings-engine { position: relative; min-height: 690px; overflow: hidden; background: radial-gradient(circle at center, var(--accent-soft), transparent 43%), linear-gradient(rgba(122, 164, 151, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(122, 164, 151, 0.05) 1px, transparent 1px); background-size: auto, 30px 30px, 30px 30px; }
.engine-core { position: absolute; left: 50%; top: 47%; width: 230px; height: 230px; transform: translate(-50%, -50%); border: 1px solid var(--company-color); border-radius: 50%; box-shadow: 0 0 70px color-mix(in srgb, var(--company-color) 18%, transparent), inset 0 0 50px color-mix(in srgb, var(--company-color) 10%, transparent); }
.engine-core::before, .engine-core::after { content: ""; position: absolute; border: 1px dashed rgba(217, 241, 231, 0.18); border-radius: 50%; animation: spin 18s linear infinite; }
.engine-core::before { inset: -35px; }.engine-core::after { inset: 31px; animation-direction: reverse; animation-duration: 11s; }
.engine-core-content { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.engine-core-content span { color: var(--dim); font: 700 0.68rem/1 ui-monospace, monospace; letter-spacing: 0.12em; }
.engine-core-content strong { margin-top: 8px; font-size: 2.3rem; letter-spacing: -0.06em; }
.engine-input, .engine-output { position: absolute; top: 42%; width: 180px; padding: 17px; border: 1px solid var(--line); border-radius: 17px; background: rgba(7, 16, 19, 0.84); }
.engine-input { left: 7%; }.engine-output { right: 7%; }
.engine-input span, .engine-output span { color: var(--dim); font-size: 0.7rem; }
.engine-input strong, .engine-output strong { display: block; margin-top: 5px; font-size: 1.35rem; }
.engine-pipe { position: absolute; top: 50%; height: 2px; background: linear-gradient(90deg, transparent, var(--company-color), transparent); overflow: visible; }
.engine-pipe.left { left: calc(7% + 180px); right: calc(50% + 115px); }.engine-pipe.right { left: calc(50% + 115px); right: calc(7% + 180px); }
.engine-pipe i { position: absolute; width: 7px; height: 7px; top: -2px; border-radius: 50%; background: var(--company-color); box-shadow: 0 0 10px var(--company-color); animation: flow 2.4s linear infinite; }
.engine-gauges { position: absolute; left: 5%; right: 5%; bottom: 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.engine-gauge { padding: 14px; border: 1px solid var(--line); border-radius: 15px; background: rgba(7, 15, 18, 0.78); }
.engine-gauge span { color: var(--dim); font-size: 0.69rem; }
.engine-gauge strong { display: block; margin: 6px 0; }
.engine-gauge div { height: 4px; border-radius: 99px; background: rgba(255, 255, 255, 0.07); overflow: hidden; }
.engine-gauge i { display: block; height: 100%; width: var(--gauge-width); background: var(--company-color); box-shadow: 0 0 10px var(--company-color); }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes flow { from { left: 0; } to { left: calc(100% - 7px); } }

.decision-lens { min-height: 690px; padding: 24px; }
.decision-lens h2 { margin: 7px 0 5px; font-size: 1.7rem; letter-spacing: -0.05em; }
.decision-lens > p { margin: 0; color: var(--muted); }
.lens-score { display: flex; align-items: end; justify-content: space-between; margin: 23px 0; padding: 18px; border: 1px solid var(--line); border-radius: 17px; background: rgba(255, 255, 255, 0.018); }
.lens-score strong { font-size: 3rem; line-height: 0.9; letter-spacing: -0.07em; }
.lens-score span { color: var(--dim); font-size: 0.7rem; text-align: right; }
.lens-section { padding: 15px 0; border-top: 1px solid var(--line); }
.lens-section > span { color: var(--dim); font: 700 0.66rem/1 ui-monospace, monospace; letter-spacing: 0.12em; }
.lens-section p { margin: 7px 0 0; color: #c4d0cc; font-size: 0.82rem; line-height: 1.55; }
.lens-list { display: grid; gap: 7px; margin: 9px 0 0; padding: 0; list-style: none; }
.lens-list li { position: relative; padding-left: 15px; color: var(--muted); font-size: 0.78rem; }
.lens-list li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 5px; height: 5px; border-radius: 50%; background: var(--mint); }
.lens-list.contradictions li::before { background: var(--gold); }
.evidence-ledger { margin-top: 14px; padding: 22px 24px; }
.ledger-head { display: flex; justify-content: space-between; gap: 20px; align-items: center; }
.ledger-head h2 { margin: 0; font-size: 1.2rem; }
.ledger-head p { margin: 4px 0 0; color: var(--dim); font-size: 0.75rem; }
.coverage-meter { display: flex; align-items: center; gap: 10px; }
.coverage-meter div { width: 150px; height: 6px; border-radius: 99px; background: rgba(255, 255, 255, 0.07); overflow: hidden; }
.coverage-meter i { display: block; width: var(--coverage); height: 100%; background: var(--mint); }
.coverage-meter strong { font-size: 0.78rem; }
.ledger-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; margin-top: 16px; }
.ledger-item { padding: 13px; border: 1px solid var(--line); border-radius: 14px; }
.ledger-item span { color: var(--dim); font-size: 0.68rem; }
.ledger-item strong { display: block; margin-top: 5px; font-size: 0.94rem; }
.ledger-source { display: inline-flex; margin-top: 16px; color: var(--mint); font-size: 0.76rem; font-weight: 700; }

.lesson-progress { min-width: 225px; }
.lesson-progress span { color: var(--muted); font-size: 0.75rem; }
.lesson-progress > div { height: 5px; margin-top: 8px; border-radius: 99px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.lesson-progress i { display: block; width: 20%; height: 100%; background: var(--mint); transition: width 240ms ease; }
.lesson { min-height: 570px; display: grid; grid-template-columns: 0.9fr 1.1fr; overflow: hidden; }
.lesson-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(28px, 5vw, 70px); }
.lesson-copy > span { color: var(--mint); font: 700 0.7rem/1 ui-monospace, monospace; letter-spacing: 0.13em; }
.lesson-copy h2 { margin: 16px 0 12px; font-size: clamp(2.2rem, 4vw, 4.5rem); line-height: 0.98; letter-spacing: -0.06em; }
.lesson-copy p { max-width: 570px; margin: 0; color: var(--muted); font-size: 1rem; line-height: 1.7; }
.lesson-question { margin-top: 25px; padding: 14px 16px; border-left: 2px solid var(--mint); color: #d9e5e1; background: rgba(109, 242, 182, 0.045); }
.lesson-visual { position: relative; min-height: 570px; display: grid; place-items: center; overflow: hidden; border-left: 1px solid var(--line); background: radial-gradient(circle at center, rgba(109, 242, 182, 0.08), transparent 52%); }
.lesson-metaphor { position: relative; width: min(80%, 520px); aspect-ratio: 1; }
.lesson-orb { position: absolute; display: grid; place-items: center; border-radius: 50%; text-align: center; }
.lesson-orb strong { display: block; font-size: 1.35rem; }.lesson-orb span { color: var(--dim); font-size: 0.72rem; }
.lesson-orb.primary { inset: 21%; border: 1px solid var(--mint); background: rgba(109, 242, 182, 0.08); box-shadow: 0 0 60px rgba(109, 242, 182, 0.1); }
.lesson-orb.satellite { width: 118px; height: 118px; border: 1px solid var(--line-strong); background: var(--panel-solid); }
.lesson-orb.one { left: 0; top: 5%; }.lesson-orb.two { right: 0; top: 18%; }.lesson-orb.three { left: 13%; bottom: 0; }.lesson-orb.four { right: 5%; bottom: 5%; }
.lesson-line { position: absolute; height: 1px; background: linear-gradient(90deg, transparent, rgba(109, 242, 182, 0.45), transparent); transform-origin: left center; }
.lesson-actions { display: flex; justify-content: space-between; gap: 12px; margin: 14px 0; }
.learn-apply { padding: 21px 24px; }
.apply-row { display: grid; grid-template-columns: auto 1fr repeat(3, minmax(110px, auto)); gap: 16px; align-items: center; }
.apply-row h2 { margin: 0; font-size: 1.1rem; }.apply-row p { margin: 4px 0 0; color: var(--muted); font-size: 0.78rem; }
.apply-stat span { display: block; color: var(--dim); font-size: 0.68rem; }.apply-stat strong { font-size: 1rem; }

.metric-picker { display: grid; gap: 6px; min-width: 240px; }
.metric-picker label, .compare-selectors label { color: var(--dim); font-size: 0.7rem; }
select {
  min-height: 42px;
  padding: 0 38px 0 12px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  appearance: none;
  background-color: var(--panel-solid);
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 16px) 18px, calc(100% - 11px) 18px;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}
.trust-strip { display: flex; gap: 10px; align-items: baseline; margin-bottom: 14px; padding: 13px 16px; border: 1px solid rgba(245, 197, 104, 0.22); border-radius: 14px; color: #dac89e; background: rgba(245, 197, 104, 0.045); font-size: 0.78rem; }
.leader-podium { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 14px; }
.podium-card { position: relative; min-height: 235px; padding: 22px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-lg); background: radial-gradient(circle at 100% 0, color-mix(in srgb, var(--company-color) 14%, transparent), transparent 45%), var(--panel-solid); cursor: pointer; }
.podium-card:first-child { border-color: color-mix(in srgb, var(--company-color) 36%, var(--line)); }
.podium-rank { color: var(--dim); font: 700 0.7rem/1 ui-monospace, monospace; letter-spacing: 0.12em; }
.podium-company { display: flex; align-items: center; gap: 11px; margin-top: 18px; }
.podium-company h2 { margin: 0; font-size: 1.15rem; }.podium-company p { margin: 2px 0 0; color: var(--dim); font-size: 0.72rem; }
.podium-value { display: block; margin-top: 28px; font-size: 3.5rem; font-weight: 680; line-height: 0.9; letter-spacing: -0.08em; }
.podium-label { color: var(--muted); font-size: 0.72rem; }
.leader-board { padding: 0 22px; }
.leader-row { display: grid; grid-template-columns: 45px minmax(180px, 1.4fr) 0.8fr 0.8fr 0.8fr 0.8fr 32px; gap: 16px; align-items: center; min-height: 78px; border-bottom: 1px solid var(--line); cursor: pointer; }
.leader-row:last-child { border-bottom: 0; }
.leader-row:hover { background: rgba(255, 255, 255, 0.015); }
.leader-rank { color: var(--dim); font: 700 0.75rem/1 ui-monospace, monospace; }
.leader-name { display: flex; align-items: center; gap: 10px; }.leader-name h3 { margin: 0; font-size: 0.9rem; }.leader-name span { color: var(--dim); font-size: 0.7rem; }
.leader-metric span { display: block; color: var(--dim); font-size: 0.65rem; }.leader-metric strong { font-size: 0.82rem; }
.leader-open { color: var(--mint); font-size: 1.1rem; }

.compare-selectors { display: flex; align-items: end; gap: 10px; }
.compare-selectors label { display: grid; gap: 6px; }.compare-selectors select { min-width: 170px; }.compare-selectors > span { padding-bottom: 12px; color: var(--dim); font: 750 0.7rem/1 ui-monospace, monospace; }
.compare-verdict { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 20px; padding: 24px; margin-bottom: 14px; }
.verdict-icon { display: grid; width: 58px; height: 58px; place-items: center; border: 1px solid var(--mint); border-radius: 18px; color: var(--mint); font-size: 1.5rem; }
.verdict-copy span { color: var(--mint); font: 700 0.68rem/1 ui-monospace, monospace; letter-spacing: 0.1em; }.verdict-copy h2 { margin: 7px 0 4px; font-size: 1.5rem; }.verdict-copy p { margin: 0; color: var(--muted); font-size: 0.82rem; }
.verdict-edge { text-align: right; }.verdict-edge strong { display: block; font-size: 2rem; line-height: 1; }.verdict-edge span { color: var(--dim); font-size: 0.68rem; }
.compare-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(330px, 0.75fr); gap: 14px; }
.radar-card { padding: 22px; }.radar-card svg { width: 100%; height: 510px; margin-top: 10px; }
.radar-grid { fill: none; stroke: rgba(182, 216, 205, 0.12); stroke-width: 1; }.radar-axis { stroke: rgba(182, 216, 205, 0.1); }.radar-label { fill: #8e9d98; font: 12px ui-sans-serif, sans-serif; text-anchor: middle; }.radar-area { stroke-width: 2; }.radar-dot { stroke: #06100c; stroke-width: 2; }
.compare-reasons { padding: 22px; }.compare-reasons h2 { margin: 0; font-size: 1.2rem; }.reason-company { margin-top: 20px; padding-top: 17px; border-top: 1px solid var(--line); }.reason-company h3 { margin: 0 0 10px; font-size: 0.9rem; }.reason-list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }.reason-list li { padding: 10px 11px; border: 1px solid var(--line); border-radius: 12px; color: var(--muted); font-size: 0.77rem; }.reason-list strong { color: var(--ink); }
.factor-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 14px; }.factor-card { padding: 16px; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); }.factor-card > span { color: var(--dim); font-size: 0.68rem; }.factor-scoreline { display: flex; justify-content: space-between; gap: 8px; margin: 12px 0 8px; }.factor-scoreline strong { font-size: 0.82rem; }.factor-track { position: relative; height: 5px; background: rgba(255,255,255,.07); border-radius: 99px; overflow: hidden; }.factor-track i { position: absolute; top: 0; bottom: 0; }.factor-track .left { right: 50%; background: var(--left-color); }.factor-track .right { left: 50%; background: var(--right-color); }

.agent-summary { display: grid; padding: 14px 17px; border: 1px solid var(--line); border-radius: 15px; }.agent-summary strong { font-size: 1rem; }.agent-summary span { color: var(--dim); font-size: 0.7rem; }
.agent-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }.agent-card { padding: 22px; }.agent-card-head { display: flex; justify-content: space-between; gap: 14px; }.agent-card-head p { margin: 0 0 7px; color: var(--dim); font: 700 0.67rem/1 ui-monospace, monospace; letter-spacing: .1em; }.agent-card h2 { margin: 0; font-size: 1.2rem; }.agent-card-head button { min-width: 62px; height: 32px; border: 1px solid var(--line-strong); border-radius: 999px; color: var(--dim); background: rgba(255,255,255,.02); cursor: pointer; font-size: .68rem; }.agent-card-head button[aria-pressed="true"] { color: #04100b; border-color: var(--mint); background: var(--mint); }.agent-rule { margin: 13px 0; color: var(--muted); font-size: .8rem; }.agent-results { display: flex; flex-wrap: wrap; gap: 7px; }.agent-result { display: inline-flex; gap: 7px; align-items: center; padding: 8px 10px; border: 1px solid var(--line); border-radius: 11px; background: rgba(255,255,255,.018); }.agent-result strong { font: 750 .74rem/1 ui-monospace, monospace; }.agent-result span { color: var(--muted); font-size: .7rem; }.agent-empty { color: var(--dim); font-size: .78rem; }.watchlist-workspace { margin-top: 14px; padding: 22px; }.saved-worlds { display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; margin-top: 16px; }.saved-world { padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.018); }.saved-world-head { display: flex; justify-content: space-between; align-items: center; }.saved-world h3 { margin: 10px 0 2px; font-size: .9rem; }.saved-world p { margin: 0; color: var(--dim); font-size: .7rem; }.saved-world button { color: var(--dim); background: transparent; cursor: pointer; font-size: .68rem; }.saved-empty { grid-column: 1 / -1; padding: 35px; border: 1px dashed var(--line); border-radius: 15px; color: var(--dim); text-align: center; }

.briefing-stamp { display: grid; gap: 4px; min-width: 185px; padding: 14px 16px; border-top: 1px solid var(--line-strong); background: linear-gradient(180deg, rgba(109,242,182,.05), transparent); }.briefing-stamp span { color: var(--dim); font: 700 .68rem/1 ui-monospace, monospace; letter-spacing: .1em; }.briefing-stamp strong { font-size: .8rem; }.briefing-lead { padding: clamp(26px,4vw,54px); background: radial-gradient(circle at 100% 0, rgba(109,242,182,.11), transparent 45%), linear-gradient(145deg, rgba(12,22,27,.92), rgba(5,11,14,.95)); }.briefing-lead > span { color: var(--mint); font: 700 .7rem/1 ui-monospace, monospace; letter-spacing: .12em; }.briefing-lead h2 { max-width: 1050px; margin: 16px 0 13px; font-size: clamp(2rem,4.4vw,4.5rem); line-height: 1.02; letter-spacing: -.055em; }.briefing-lead p { max-width: 880px; margin: 0; color: var(--muted); font-size: 1rem; line-height: 1.7; }.briefing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 14px; }.brief-card { min-height: 235px; padding: 22px; }.brief-card > span { color: var(--dim); font: 700 .67rem/1 ui-monospace, monospace; letter-spacing: .1em; }.brief-card h3 { margin: 13px 0 9px; font-size: 1.25rem; }.brief-card p { margin: 0; color: var(--muted); font-size: .82rem; line-height: 1.6; }.brief-stat { display: block; margin-top: 24px; font-size: 2.8rem; font-weight: 680; line-height: .9; letter-spacing: -.07em; }.source-note { display: grid; grid-template-columns: 1fr auto; gap: 22px; align-items: center; margin-top: 14px; padding: 21px 24px; }.source-note h2 { margin: 0; font-size: 1rem; }.source-note p { margin: 5px 0 0; color: var(--muted); font-size: .78rem; }.source-note a { color: var(--mint); font-size: .78rem; font-weight: 700; }

.drawer-backdrop { position: fixed; inset: 0; z-index: 110; background: rgba(0,0,0,.62); backdrop-filter: blur(5px); }.company-drawer { position: fixed; z-index: 120; top: 0; right: 0; bottom: 0; width: min(470px, 100%); padding: 26px; border-left: 1px solid var(--line-strong); background: #071014; box-shadow: -35px 0 90px rgba(0,0,0,.5); animation: drawer-in 220ms ease both; }.company-drawer[hidden], .drawer-backdrop[hidden] { display: none; }.company-drawer header { display: flex; justify-content: space-between; align-items: start; }.company-drawer h2 { margin: 0; font-size: 1.7rem; }.company-drawer header button { padding: 8px 0; color: var(--muted); background: transparent; cursor: pointer; }.company-search input { width: 100%; min-height: 48px; margin: 24px 0 15px; padding: 0 14px; border: 1px solid var(--line); border-radius: 14px; color: var(--ink); background: var(--panel-solid); }.drawer-company-list { display: grid; max-height: calc(100vh - 165px); gap: 7px; overflow-y: auto; padding-right: 4px; }.drawer-company { display: grid; grid-template-columns: 45px 1fr auto; gap: 11px; align-items: center; min-height: 64px; padding: 9px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.016); cursor: pointer; text-align: left; }.drawer-company:hover, .drawer-company.is-active { border-color: color-mix(in srgb, var(--company-color) 45%, var(--line)); background: color-mix(in srgb, var(--company-color) 7%, var(--panel-solid)); }.drawer-company h3 { margin: 0; font-size: .86rem; }.drawer-company p { margin: 2px 0 0; color: var(--dim); font-size: .68rem; }.drawer-company > strong { font-size: .9rem; }.drawer-sigil { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 12px; color: #06100b; background: var(--company-color); font: 800 .7rem/1 ui-monospace, monospace; }
@keyframes drawer-in { from { opacity: 0; transform: translateX(24px); } }
.toast { position: fixed; z-index: 150; right: 24px; bottom: 24px; max-width: 360px; padding: 12px 15px; border: 1px solid var(--line-strong); border-radius: 13px; color: var(--ink); background: #0c1c1a; box-shadow: var(--shadow); opacity: 0; transform: translateY(12px); pointer-events: none; transition: 200ms ease; }.toast.is-visible { opacity: 1; transform: none; }.noscript { margin: 100px auto; max-width: 600px; padding: 20px; color: var(--ink); text-align: center; }

@media (max-width: 1180px) {
  :root { --rail-width: 92px; }
  .app-rail { padding-inline: 10px; }
  .nav-item { justify-content: center; padding-inline: 8px; }
  .nav-item > span:last-child { display: none; }
  .rail-watch { text-align: center; padding-inline: 7px; }.rail-watch span, .rail-watch small { display: none; }
  .today-grid { grid-template-columns: 1fr 1fr; }.pulse-card { grid-column: 1 / -1; }
  .explore-grid, .compare-grid { grid-template-columns: 1fr; }.decision-lens { min-height: 0; }
  .leader-row { grid-template-columns: 38px minmax(165px, 1.5fr) repeat(3, .8fr) 26px; }.leader-row .leader-metric:nth-of-type(4) { display: none; }
  .saved-worlds { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 860px) {
  :root { --header-height: 68px; }
  .app-header { padding: 0 14px; }.brand { min-width: 0; }.brand-copy small, .data-scope { display: none; }
  .company-switch { min-width: 0; }.company-switch > span:nth-child(2) { display: none; }.company-switch > i { margin-left: 1px; }
  .mobile-menu { display: block; }
  .app-rail { inset: var(--header-height) 0 auto 0; width: auto; height: auto; padding: 10px 12px; border: 0; border-bottom: 1px solid var(--line); transform: translateY(-125%); transition: transform 180ms ease; }
  .app-rail.is-open { transform: none; }
  .primary-nav { grid-template-columns: repeat(4, 1fr); }.nav-item { justify-content: flex-start; padding: 0 10px; }.nav-item > span:last-child { display: inline; }.rail-watch, .rail-mark { display: none; }
  .app-main { margin-left: 0; padding: calc(var(--header-height) + 34px) 15px 70px; }
  .view-hero { align-items: flex-start; flex-direction: column; }.view-hero h1 { font-size: clamp(2.8rem, 12vw, 5.2rem); }.compact-hero h1 { font-size: clamp(2.7rem, 11vw, 4.8rem); }
  .hero-aside, .metric-picker, .agent-summary, .briefing-stamp { min-width: 0; width: 100%; }
  .market-stage, #market-canvas, #market-city { min-height: 610px; }.breadth-strip { grid-template-columns: repeat(2, 1fr); }.breadth-item { min-height: 60px; }.market-reading { bottom: 170px; }.market-prompt { display: none; }.city-legend { display: none; }
  .today-grid, .leader-podium, .briefing-grid { grid-template-columns: 1fr; }.pulse-card { grid-column: auto; }
  .company-identity { grid-template-columns: auto 1fr; }.identity-score { grid-column: 1 / -1; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 14px; }
  .explorer-stage, .explorer-scene, .explorer-scene svg, .earnings-engine { min-height: 590px; }.engine-input { left: 3%; }.engine-output { right: 3%; }.engine-pipe.left { left: calc(3% + 180px); }.engine-pipe.right { right: calc(3% + 180px); }
  .ledger-grid, .factor-grid { grid-template-columns: repeat(2, 1fr); }
  .lesson { grid-template-columns: 1fr; }.lesson-visual { min-height: 480px; border-left: 0; border-top: 1px solid var(--line); }.apply-row { grid-template-columns: auto 1fr; }.apply-stat { padding-top: 10px; }
  .compare-selectors { width: 100%; }.compare-selectors label { flex: 1; }.compare-selectors select { min-width: 0; width: 100%; }.compare-verdict { grid-template-columns: auto 1fr; }.verdict-edge { grid-column: 1 / -1; text-align: left; border-top: 1px solid var(--line); padding-top: 14px; }
  .agent-grid { grid-template-columns: 1fr; }.saved-worlds { grid-template-columns: repeat(2, 1fr); }.source-note { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .brand-copy strong { font-size: .9rem; }.brand-mark { width: 36px; height: 36px; }.header-actions { gap: 7px; }
  .primary-nav { grid-template-columns: repeat(2, 1fr); }.nav-item { justify-content: flex-start; }.app-main { padding-inline: 10px; }
  .view-hero { margin-bottom: 22px; }.hero-copy { font-size: .9rem; }.surface { border-radius: 20px; }
  .segmented { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }.explorer-tabs { grid-template-columns: repeat(3, 1fr); }.segmented button { padding-inline: 8px; }
  .market-stage, #market-canvas, #market-city { min-height: 650px; }.stage-head { padding: 17px; }.stage-badges span { display: none; }.market-reading { left: 18px; right: 18px; bottom: 185px; }.market-reading strong { font-size: 3.25rem; }.breadth-strip { left: 10px; right: 10px; bottom: 10px; }.breadth-item { padding: 9px; }.breadth-item strong { font-size: .92rem; }
  .signal-card, .pulse-card { min-height: 0; }.company-identity { padding: 17px; }.identity-sigil { width: 52px; height: 52px; }.identity-copy p { display: none; }
  .explorer-stage, .explorer-scene, .explorer-scene svg, .earnings-engine { min-height: 530px; }.engine-core { width: 175px; height: 175px; }.engine-input, .engine-output { top: 12%; width: calc(50% - 24px); }.engine-input { left: 10px; }.engine-output { right: 10px; }.engine-pipe { display: none; }.engine-core-content strong { font-size: 1.7rem; }.engine-gauges { left: 10px; right: 10px; grid-template-columns: 1fr; bottom: 13px; }.engine-gauge { padding: 9px; }
  .ledger-head { align-items: flex-start; flex-direction: column; }.ledger-grid { grid-template-columns: 1fr 1fr; }
  .lesson-copy { padding: 28px 22px; }.lesson-copy h2 { font-size: 2.4rem; }.lesson-visual { min-height: 380px; }.lesson-orb.satellite { width: 86px; height: 86px; }.lesson-orb strong { font-size: 1rem; }.lesson-actions { display: grid; grid-template-columns: 1fr; }.lesson-actions button { width: 100%; }.apply-row { grid-template-columns: 1fr 1fr; }.apply-row > div:nth-child(2) { grid-column: 2; }.apply-stat { grid-column: auto; }
  .trust-strip { align-items: flex-start; flex-direction: column; }.leader-board { padding-inline: 12px; }.leader-row { grid-template-columns: 30px 1fr auto; gap: 8px; }.leader-row .leader-metric { display: none; }.leader-row .leader-metric:first-of-type { display: block; }.leader-name .mini-sigil { width: 36px; height: 36px; border-radius: 11px; }.leader-open { display: none; }
  .compare-selectors { align-items: stretch; flex-direction: column; }.compare-selectors > span { padding: 0; text-align: center; }.radar-card { padding: 14px; }.radar-card svg { height: auto; }.factor-grid { grid-template-columns: 1fr 1fr; }
  .saved-worlds { grid-template-columns: 1fr; }.briefing-lead, .brief-card { padding: 20px; }.briefing-lead h2 { font-size: 2.2rem; }.company-drawer { padding: 20px 14px; }
}

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

/* Guided / Analyst experience model */
.experience-picker {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
  padding: 4px;
  margin-bottom: 8px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(255,255,255,.02);
}
.experience-picker button {
  min-height: 34px;
  border-radius: 9px;
  color: var(--dim);
  background: transparent;
  cursor: pointer;
  font-size: .72rem;
  font-weight: 750;
}
.experience-picker button.is-active { color: #04100b; background: var(--mint); }
.experience-note { min-height: 34px; margin: 0 7px 14px; color: var(--dim); font-size: .68rem; line-height: 1.45; }
.nav-set[hidden] { display: none !important; }
body[data-experience="guided"] .agent-grid,
body[data-experience="guided"] .agent-summary { display: none; }
body[data-experience="guided"] .watchlist-workspace { margin-top: 0; }

/* Calm beginner home */
.guided-hero {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 36px;
  margin-bottom: 32px;
}
.guided-hero h1 {
  margin: 0;
  font-size: clamp(4rem, 8vw, 8.4rem);
  font-weight: 590;
  line-height: .86;
  letter-spacing: -.078em;
}
.guided-hero h1 span { color: var(--cyan); }
.guided-hero > div:first-child > p:last-child { max-width: 660px; margin: 25px 0 0; color: var(--muted); font-size: 1.1rem; line-height: 1.7; }
.compact-guided-hero h1 { font-size: clamp(3.2rem, 6vw, 6.4rem); }
.guided-badge { display: grid; min-width: 230px; gap: 6px; padding: 17px 19px; border: 1px solid var(--line); border-radius: 17px; background: rgba(255,255,255,.02); }
.guided-badge span { color: var(--mint); font: 750 .7rem/1 ui-monospace, monospace; letter-spacing: .12em; }
.guided-badge strong { font-size: .86rem; }
.today-story { display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, .72fr); min-height: 470px; overflow: hidden; }
.story-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: clamp(30px, 5vw, 72px); }
.story-kicker { color: var(--mint); font: 750 .72rem/1 ui-monospace, monospace; letter-spacing: .13em; }
.story-copy h2 { max-width: 720px; margin: 18px 0 14px; font-size: clamp(2.35rem, 4.4vw, 4.8rem); line-height: .98; letter-spacing: -.06em; }
.story-copy > p { max-width: 650px; margin: 0; color: var(--muted); font-size: 1rem; line-height: 1.75; }
.story-meaning { display: grid; gap: 5px; margin: 26px 0; padding: 14px 17px; border-left: 2px solid var(--cyan); background: rgba(110,223,242,.045); }
.story-meaning span { color: var(--dim); font-size: .72rem; }.story-meaning strong { font-size: .95rem; }
.market-mood { position: relative; min-height: 470px; overflow: hidden; border-left: 1px solid var(--line); background: radial-gradient(circle at center, rgba(109,242,182,.12), transparent 42%), linear-gradient(145deg, #071115, #030709); }
.mood-orbit { position: absolute; inset: 50% auto auto 50%; width: min(62%, 330px); aspect-ratio: 1; transform: translate(-50%,-50%); border: 1px solid rgba(109,242,182,.25); border-radius: 50%; box-shadow: 0 0 90px rgba(109,242,182,.08), inset 0 0 60px rgba(109,242,182,.04); }
.mood-orbit::before, .mood-orbit::after { content: ""; position: absolute; border-radius: 50%; border: 1px solid rgba(110,223,242,.14); }
.mood-orbit::before { inset: 17%; }.mood-orbit::after { inset: 37%; background: var(--mood-color, var(--mint)); border: 0; box-shadow: 0 0 55px var(--mood-color, var(--mint)); animation: mood-breathe 4s ease-in-out infinite; }
.mood-copy { position: absolute; inset: 50% 0 auto; z-index: 2; display: grid; gap: 5px; transform: translateY(-50%); text-align: center; }
.mood-copy span { color: var(--dim); font: 700 .69rem/1 ui-monospace, monospace; letter-spacing: .12em; }.mood-copy strong { color: #04100b; font-size: 1rem; }
.mood-counts { position: absolute; left: 22px; right: 22px; bottom: 22px; display: grid; grid-template-columns: repeat(3,1fr); gap: 7px; }
.mood-count { padding: 11px; border: 1px solid var(--line); border-radius: 13px; background: rgba(3,8,10,.68); text-align: center; }.mood-count strong { display: block; font-size: 1.05rem; }.mood-count span { color: var(--dim); font-size: .68rem; }
@keyframes mood-breathe { 50% { transform: scale(1.08); opacity: .82; } }
.guided-paths { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin-top: 14px; }
.guided-path { min-height: 210px; padding: 24px; cursor: pointer; text-align: left; transition: transform 180ms ease, border-color 180ms ease; }
.guided-path:hover { transform: translateY(-3px); border-color: var(--line-strong); }
.guided-path > span { color: var(--mint); font: 750 .7rem/1 ui-monospace, monospace; letter-spacing: .11em; }.guided-path strong { display: block; margin-top: 23px; font-size: 1.35rem; }.guided-path p { margin: 10px 0 0; color: var(--muted); font-size: .88rem; line-height: 1.6; }
.guided-focus { display: grid; grid-template-columns: auto 1fr auto; gap: 20px; align-items: center; margin-top: 14px; padding: 22px 24px; }
.guided-focus-copy span { color: var(--dim); font: 700 .68rem/1 ui-monospace, monospace; letter-spacing: .1em; }.guided-focus-copy h2 { margin: 6px 0 4px; font-size: 1.45rem; }.guided-focus-copy p { margin: 0; color: var(--muted); font-size: .84rem; }
.guided-focus-stat { text-align: right; }.guided-focus-stat strong { display: block; color: var(--mint); font-size: 1.45rem; }.guided-focus-stat span { color: var(--dim); font-size: .7rem; }

/* Universe-first exploration */
.universe-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-bottom: 14px; }
.universe-card { position: relative; min-height: 245px; padding: 22px; overflow: hidden; border: 1px solid var(--line); border-radius: 22px; color: var(--ink); background: radial-gradient(circle at 100% 0, color-mix(in srgb, var(--universe-color) 16%, transparent), transparent 48%), var(--panel-solid); cursor: pointer; text-align: left; transition: transform 180ms ease, border-color 180ms ease; }
.universe-card:hover, .universe-card.is-active { transform: translateY(-3px); border-color: color-mix(in srgb, var(--universe-color) 50%, var(--line)); }
.universe-card > span { color: var(--universe-color); font: 750 .67rem/1.25 ui-monospace, monospace; letter-spacing: .11em; }.universe-card strong { display: block; margin-top: 25px; font-size: 1.45rem; }.universe-card p { margin: 9px 0 20px; color: var(--muted); font-size: .8rem; line-height: 1.55; }.universe-card footer { position: absolute; left: 22px; right: 22px; bottom: 19px; display: flex; align-items: end; justify-content: space-between; color: var(--dim); font-size: .68rem; }.universe-card footer b { color: var(--ink); font-size: 1.45rem; line-height: 1; }
.universe-browser { padding: clamp(20px,3vw,34px); }
.universe-browser-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; padding-bottom: 23px; border-bottom: 1px solid var(--line); }.universe-browser-head > div:first-child > span { color: var(--mint); font: 750 .69rem/1 ui-monospace, monospace; letter-spacing: .11em; }.universe-browser-head h2 { margin: 9px 0 6px; font-size: 2rem; letter-spacing: -.05em; }.universe-browser-head p { max-width: 680px; margin: 0; color: var(--muted); }
.universe-coverage { text-align: right; }.universe-coverage strong { display: block; font-size: 1.1rem; }.universe-coverage span { color: var(--dim); font-size: .72rem; }
.sector-chips { display: flex; flex-wrap: wrap; gap: 7px; margin: 18px 0; }.sector-chip { min-height: 36px; padding: 0 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); background: rgba(255,255,255,.015); cursor: pointer; font-size: .74rem; }.sector-chip.is-active { color: #04100b; border-color: var(--mint); background: var(--mint); }
.universe-company-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 9px; }
.universe-company { display: grid; grid-template-columns: 48px 1fr auto; gap: 12px; align-items: center; min-height: 84px; padding: 13px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.015); cursor: pointer; text-align: left; }.universe-company:hover { border-color: color-mix(in srgb, var(--company-color) 48%, var(--line)); }.universe-company h3 { margin: 0; font-size: .9rem; }.universe-company p { margin: 3px 0 0; color: var(--dim); font-size: .7rem; }.universe-company > strong { font-size: .78rem; }.universe-company .mini-sigil { width: 44px; height: 44px; }
.universe-source { margin-top: 20px; padding-top: 17px; border-top: 1px solid var(--line); color: var(--dim); font-size: .72rem; }.universe-source a { color: var(--mint); font-weight: 700; }
.mobile-explore-dashboard { display:none; }

/* Beginner company view */
.guided-company-hero { margin-bottom: 24px; }.back-button { padding: 0 0 16px; color: var(--mint); background: transparent; cursor: pointer; font-size: .8rem; font-weight: 700; }
.guided-company-heading { display: flex; align-items: center; gap: 18px; }.guided-company-heading .identity-sigil { width: 76px; height: 76px; }.guided-company-heading h1 { margin: 0; font-size: clamp(3rem,6vw,6rem); line-height: .92; letter-spacing: -.07em; }.guided-company-heading p { max-width: 700px; margin: 9px 0 0; color: var(--muted); font-size: 1rem; }
.company-simple-map { display: grid; grid-template-columns: minmax(0,.85fr) minmax(440px,1.15fr); min-height: 430px; overflow: hidden; }.simple-map-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(28px,4vw,58px); }.simple-map-copy > span { color: var(--mint); font: 750 .7rem/1 ui-monospace, monospace; letter-spacing: .12em; }.simple-map-copy h2 { margin: 15px 0 12px; font-size: clamp(2rem,3.6vw,3.8rem); line-height: 1; letter-spacing: -.055em; }.simple-map-copy p { margin: 0; color: var(--muted); font-size: 1rem; line-height: 1.7; }
.business-river { position: relative; min-height: 430px; display: grid; grid-template-columns: repeat(3,1fr); align-items: center; gap: 8px; padding: 35px; border-left: 1px solid var(--line); background: radial-gradient(circle at center, var(--accent-soft), transparent 50%); }.river-line { position: absolute; left: 16%; right: 16%; top: 50%; height: 2px; background: linear-gradient(90deg, var(--cyan), var(--mint), var(--gold)); opacity: .5; }.river-step { position: relative; z-index: 2; display: grid; place-items: center; aspect-ratio: 1; padding: 15px; border: 1px solid var(--line-strong); border-radius: 50%; background: var(--panel-solid); text-align: center; }.river-step strong { font-size: clamp(1.2rem,2.3vw,2rem); }.river-step span { margin-top: 5px; color: var(--dim); font-size: .72rem; }.river-step small { margin-top: 8px; color: var(--muted); font-size: .7rem; }
.company-simple-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin-top: 14px; }.simple-signal { min-height: 220px; padding: 23px; }.simple-signal > span { color: var(--dim); font: 750 .68rem/1 ui-monospace, monospace; letter-spacing: .1em; }.simple-signal strong { display: block; margin: 22px 0 9px; font-size: 1.55rem; }.simple-signal p { margin: 0; color: var(--muted); font-size: .86rem; line-height: 1.6; }
.company-simple-next { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 14px; padding: 25px; }.company-simple-next span { color: var(--mint); font: 750 .68rem/1 ui-monospace, monospace; letter-spacing: .1em; }.company-simple-next h2 { margin: 8px 0 5px; font-size: 1.5rem; }.company-simple-next p { max-width: 750px; margin: 0; color: var(--muted); font-size: .84rem; }.company-simple-next > div:last-child { display: flex; gap: 9px; flex: 0 0 auto; }

/* First-launch orientation */
.welcome { position: fixed; inset: 0; z-index: 220; display: grid; place-items: center; padding: 18px; overflow-y: auto; background: rgba(1,4,6,.92); backdrop-filter: blur(20px); }.welcome[hidden] { display: none; }
.welcome-panel { width: min(760px,100%); min-height: min(720px,calc(100vh - 36px)); display: flex; flex-direction: column; padding: clamp(22px,4vw,42px); border: 1px solid var(--line-strong); border-radius: 30px; background: radial-gradient(circle at 10% 0, rgba(245,197,104,.09), transparent 38%), radial-gradient(circle at 100% 100%, rgba(110,223,242,.08), transparent 38%), #050a0d; box-shadow: 0 35px 120px rgba(0,0,0,.65); }.welcome-panel > header { display: flex; align-items: center; justify-content: space-between; }.welcome-panel > header button { min-height: 44px; padding: 0 12px; color: var(--muted); background: transparent; cursor: pointer; }.welcome-progress { display: grid; grid-template-columns: repeat(3,1fr); gap: 7px; margin: 25px 0 40px; }.welcome-progress i { height: 4px; border-radius: 99px; background: rgba(255,255,255,.1); }.welcome-progress i.is-active { background: var(--gold); }
.welcome-step { display: none; flex: 1; }.welcome-step.is-active { display: block; }.welcome-step > p:first-child { margin: 0; color: var(--gold); font: 750 .71rem/1 ui-monospace, monospace; letter-spacing: .13em; }.welcome-step h1 { max-width: 650px; margin: 18px 0; font-size: clamp(2.7rem,7vw,5.6rem); line-height: .94; letter-spacing: -.07em; }.welcome-step h1 span { color: var(--cyan); }.welcome-step > p:last-child { max-width: 590px; margin: 0; color: var(--muted); font-size: 1.05rem; line-height: 1.75; }
.welcome-destinations { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-top: 30px; }.welcome-destinations div { padding: 17px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.02); }.welcome-destinations strong { display: block; font-size: 1rem; }.welcome-destinations span { display: block; margin-top: 5px; color: var(--muted); font-size: .82rem; }
.welcome-choices { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 30px; }.welcome-choices button { min-height: 160px; padding: 22px; border: 1px solid var(--line); border-radius: 18px; color: var(--ink); background: rgba(255,255,255,.02); cursor: pointer; text-align: left; }.welcome-choices button:hover { border-color: var(--mint); }.welcome-choices strong { display: block; font-size: 1.2rem; }.welcome-choices span { display: block; margin-top: 9px; color: var(--muted); font-size: .84rem; line-height: 1.6; }.welcome-panel > footer { display: flex; justify-content: space-between; gap: 12px; margin-top: 30px; }.welcome-panel > footer button { min-width: 130px; }

@media (max-width: 1180px) {
  .experience-picker { grid-template-columns: 1fr; }.experience-note { display: none; }
  .universe-grid { grid-template-columns: repeat(3,1fr); }.universe-company-grid { grid-template-columns: repeat(2,1fr); }
  .guided-paths { grid-template-columns: 1fr 1fr; }.guided-path:last-child { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  .experience-picker { grid-template-columns: 1fr 1fr; margin-bottom: 8px; }.experience-note { display: block; min-height: 0; margin-bottom: 8px; }
  .nav-set[data-nav-mode="analyst"] { grid-template-columns: repeat(3,1fr); }
  .guided-hero { align-items: flex-start; flex-direction: column; }.guided-hero h1 { font-size: clamp(4rem,15vw,7rem); }.compact-guided-hero h1 { font-size: clamp(3.2rem,13vw,5.4rem); }.guided-badge { width: 100%; min-width: 0; }
  .today-story { grid-template-columns: 1fr; }.market-mood { min-height: 400px; border-left: 0; border-top: 1px solid var(--line); }
  .universe-grid { grid-template-columns: 1fr 1fr; }.universe-company-grid { grid-template-columns: 1fr 1fr; }
  .company-simple-map { grid-template-columns: 1fr; }.business-river { min-height: 390px; border-left: 0; border-top: 1px solid var(--line); }.company-simple-grid { grid-template-columns: 1fr; }.company-simple-next { align-items: flex-start; flex-direction: column; }.company-simple-next > div:last-child { width: 100%; }
}

@media (max-width: 560px) {
  .app-rail { max-height: calc(100vh - var(--header-height)); overflow-y: auto; }
  .experience-picker { margin-bottom: 4px; }.experience-note { margin: 0 5px 7px; }
  .nav-set[data-nav-mode="analyst"] { grid-template-columns: repeat(2,1fr); }
  .guided-hero { margin-bottom: 22px; }.guided-hero h1 { font-size: clamp(3.55rem,18vw,5.3rem); }.guided-hero > div:first-child > p:last-child { font-size: .95rem; }
  .story-copy { padding: 28px 21px; }.story-copy h2 { font-size: 2.55rem; }.market-mood { min-height: 360px; }.mood-counts { left: 10px; right: 10px; bottom: 10px; }.mood-count { padding: 8px 4px; }
  .guided-paths, .universe-grid, .universe-company-grid { grid-template-columns: 1fr; }.guided-path:last-child { grid-column: auto; }.guided-focus { grid-template-columns: auto 1fr; }.guided-focus-stat { grid-column: 1 / -1; padding-top: 12px; border-top: 1px solid var(--line); text-align: left; }
  .universe-card { min-height: 205px; }.universe-browser-head { align-items: flex-start; flex-direction: column; }.universe-coverage { text-align: left; }
  .guided-company-heading { align-items: flex-start; flex-direction: column; }.guided-company-heading h1 { font-size: 3.6rem; }.business-river { grid-template-columns: 1fr; min-height: auto; padding: 25px; }.river-line { top: 15%; bottom: 15%; left: 50%; right: auto; width: 2px; height: auto; }.river-step { width: min(75%,230px); margin: 0 auto; }.company-simple-next > div:last-child { display: grid; }.company-simple-next button { width: 100%; }
  .welcome { padding: 0; }.welcome-panel { min-height: 100vh; border: 0; border-radius: 0; }.welcome-progress { margin-bottom: 30px; }.welcome-destinations, .welcome-choices { grid-template-columns: 1fr; }.welcome-choices button { min-height: 120px; }.welcome-step h1 { font-size: 3rem; }.welcome-panel > footer button { min-width: 0; flex: 1; }
}

/* Full CoinArena-style product layer */
.glyph-home::before { content: ""; position: absolute; inset: 5px 3px 3px; border: 1px solid currentColor; border-radius: 3px; }
.glyph-home::after { content: ""; position: absolute; left: 4px; top: 2px; width: 13px; height: 13px; border-top: 1px solid currentColor; border-left: 1px solid currentColor; transform: rotate(45deg); }
.glyph-pro::before { content: ""; position: absolute; inset: 2px; border: 1px solid currentColor; border-radius: 50%; box-shadow: inset 0 0 0 5px var(--bg); }
.glyph-pro::after { content: ""; position: absolute; inset: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 12px currentColor; }

body[data-view="landing"] .app-header,
body[data-view="landing"] .app-rail { display: none; }
body[data-view="landing"] .app-main { margin-left: 0; padding: 0; }
body[data-view="landing"] { background: #020507; }

.landing-view { min-height: 100vh; overflow: hidden; }
.landing-nav { position: relative; z-index: 3; display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 82px; padding: 0 clamp(20px,5vw,76px); border-bottom: 1px solid var(--line); background: rgba(2,5,7,.78); backdrop-filter: blur(20px); }
.landing-nav > div { display: flex; align-items: center; gap: 8px; }
.landing-nav button, .landing-footer button { min-height: 44px; padding: 0 15px; border-radius: 12px; color: var(--muted); background: transparent; cursor: pointer; font-size: .9rem; font-weight: 700; }
.landing-nav button:hover, .landing-footer button:hover { color: var(--ink); background: rgba(255,255,255,.045); }
.landing-nav .landing-nav-pro { color: #02100b; background: var(--mint); }
.landing-hero { position: relative; display: grid; grid-template-columns: minmax(0,1.05fr) minmax(450px,.95fr); align-items: center; gap: clamp(42px,7vw,110px); min-height: calc(100vh - 82px); padding: clamp(70px,9vw,140px) clamp(20px,6vw,100px); background: radial-gradient(circle at 77% 35%, rgba(110,223,242,.12), transparent 32%), radial-gradient(circle at 12% 0, rgba(109,242,182,.09), transparent 28%); }
.landing-hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px); background-size: 56px 56px; mask-image: linear-gradient(to bottom, black, transparent 88%); }
.landing-hero-copy { position: relative; z-index: 1; }
.landing-hero h1 { max-width: 920px; margin: 20px 0 25px; font-size: clamp(4.4rem,7.5vw,9.4rem); font-weight: 570; line-height: .86; letter-spacing: -.085em; }
.landing-hero h1 span, .landing-section h2 span { color: var(--cyan); }
.landing-hero-copy > p:not(.eyebrow) { max-width: 760px; margin: 0; color: var(--muted); font-size: clamp(1.05rem,1.5vw,1.35rem); line-height: 1.7; }
.landing-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.landing-proof { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 30px; color: var(--dim); font-size: .88rem; }
.landing-proof span::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 10px rgba(109,242,182,.6); }
.landing-preview { position: relative; z-index: 1; min-height: 610px; padding: 24px; overflow: hidden; background: radial-gradient(circle at 75% 0, rgba(110,223,242,.11), transparent 36%), #071014; box-shadow: 0 40px 120px rgba(0,0,0,.52); }
.landing-preview-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.landing-preview-head span, .landing-demo-head span { color: var(--mint); font: 750 .72rem/1 ui-monospace, monospace; letter-spacing: .12em; }
.landing-preview-head h2 { margin: 8px 0 0; font-size: 1.45rem; }
.landing-live-pill { padding: 7px 10px; border: 1px solid rgba(109,242,182,.2); border-radius: 999px; color: var(--mint); background: rgba(109,242,182,.06); font-size: .75rem; font-weight: 750; }
.landing-company-list { display: grid; gap: 8px; margin-top: 16px; }
.landing-company-row { display: grid; grid-template-columns: 42px 1fr auto; gap: 12px; align-items: center; min-height: 76px; padding: 12px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.02); cursor: pointer; text-align: left; }
.landing-company-row h3 { margin: 0; font-size: .96rem; }.landing-company-row p { margin: 3px 0 0; color: var(--dim); font-size: .78rem; }
.landing-company-row > strong { color: var(--mint); font-size: 1.35rem; }
.landing-preview-flow { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; margin-top: 18px; }
.landing-preview-flow div { min-height: 104px; padding: 15px; border: 1px solid var(--line); border-radius: 15px; background: rgba(255,255,255,.018); }.landing-preview-flow span { color: var(--cyan); font: 750 .7rem/1 ui-monospace, monospace; }.landing-preview-flow strong { display: block; margin-top: 12px; font-size: .95rem; }.landing-preview-flow p { margin: 5px 0 0; color: var(--dim); font-size: .76rem; }
.landing-section { padding: clamp(76px,10vw,150px) clamp(20px,8vw,140px); }
.landing-section > h2, .landing-section > div > h2 { margin: 18px 0 0; font-size: clamp(3.4rem,6vw,7.2rem); font-weight: 580; line-height: .9; letter-spacing: -.075em; }
.landing-path-section { background: linear-gradient(180deg,#020507,#050a0d); }
.landing-path-grid { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 12px; margin-top: 55px; }
.landing-path-grid button { min-height: 280px; padding: 25px; border: 1px solid var(--line); border-radius: 24px; color: var(--ink); background: radial-gradient(circle at 100% 0, rgba(109,242,182,.06), transparent 45%), rgba(255,255,255,.015); cursor: pointer; text-align: left; transition: 180ms ease; }
.landing-path-grid button:hover { transform: translateY(-5px); border-color: var(--line-strong); }
.landing-path-grid span { color: var(--mint); font: 750 .76rem/1 ui-monospace, monospace; letter-spacing: .13em; }.landing-path-grid strong { display: block; margin-top: 78px; font-size: 1.35rem; }.landing-path-grid p { margin: 10px 0 0; color: var(--muted); font-size: .95rem; line-height: 1.6; }
.landing-profile-story { display: grid; grid-template-columns: minmax(0,.8fr) minmax(520px,1.2fr); align-items: center; gap: clamp(45px,8vw,125px); background: radial-gradient(circle at 85% 35%, rgba(115,152,255,.12), transparent 34%); }
.landing-profile-story > div > p:not(.eyebrow), .landing-pro-story > div > p:not(.eyebrow) { max-width: 680px; color: var(--muted); font-size: 1.05rem; line-height: 1.8; }
.landing-profile-story .secondary-button { margin-top: 22px; }
.landing-profile-demo { min-height: 570px; padding: 25px; overflow: hidden; }
.landing-demo-head { display: flex; justify-content: space-between; gap: 20px; }.landing-demo-head h3 { margin: 8px 0 0; font-size: 2rem; }.landing-demo-score { color: var(--mint); font-size: 3rem; font-weight: 780; }
.landing-demo-chart { width: 100%; height: auto; margin-top: 20px; }
.landing-demo-chart .grid-line { stroke: rgba(255,255,255,.075); }.landing-demo-chart .area { fill: url(#landing-area); }.landing-demo-chart .line { fill: none; stroke: var(--cyan); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }.landing-demo-chart text { fill: var(--dim); font-size: 12px; }
.landing-demo-equation { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; margin-top: 20px; padding: 18px; border: 1px solid var(--line); border-radius: 17px; background: rgba(255,255,255,.02); }.landing-demo-equation span { color: var(--dim); font-size: .78rem; }.landing-demo-equation code { color: var(--ink); font: 700 .88rem/1.5 ui-monospace, monospace; }.landing-demo-equation strong { color: var(--mint); font-size: 1.2rem; }
.landing-pro-story { display: grid; grid-template-columns: minmax(0,1fr) minmax(450px,.7fr) auto; align-items: end; gap: 40px; background: radial-gradient(circle at 10% 100%, rgba(109,242,182,.13), transparent 35%), #050a0d; }
.landing-pro-modules { display: grid; grid-template-columns: repeat(2,1fr); gap: 8px; }.landing-pro-modules span { padding: 16px; border: 1px solid var(--line); border-radius: 14px; color: var(--muted); background: rgba(255,255,255,.02); font-size: .9rem; font-weight: 700; }
.landing-footer { display: grid; grid-template-columns: 1fr 1fr auto; align-items: center; gap: 30px; padding: 34px clamp(20px,5vw,76px); border-top: 1px solid var(--line); }.landing-footer p { color: var(--dim); font-size: .82rem; }.landing-footer > div { display: flex; }

/* Full company profiles */
.profile-hero { display: grid; grid-template-columns: auto minmax(0,1fr) auto; gap: 24px; align-items: center; min-height: 240px; margin-bottom: 14px; padding: clamp(24px,4vw,46px); overflow: hidden; background: radial-gradient(circle at 87% 20%, var(--accent-soft), transparent 42%), var(--panel-solid); }
.profile-hero .identity-sigil { width: 92px; height: 92px; border-radius: 26px; font-size: 1.25rem; }
.profile-hero-copy > span { color: var(--muted); font: 750 .75rem/1 ui-monospace, monospace; letter-spacing: .12em; }.profile-hero-copy :is(h1,h2) { margin: 10px 0 7px; font-size: clamp(3.1rem,6vw,6.5rem); line-height: .88; letter-spacing: -.075em; }.profile-hero-copy p { max-width: 820px; margin: 0; color: var(--muted); font-size: 1rem; line-height: 1.65; }
.profile-hero-actions { display: grid; min-width: 210px; gap: 9px; }.profile-hero-actions button { width: 100%; }.profile-memberships { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 15px; }.profile-memberships span { padding: 6px 9px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); background: rgba(255,255,255,.02); font-size: .72rem; }
.profile-tabs { position: sticky; z-index: 20; top: calc(var(--header-height) + 8px); width: 100%; margin-bottom: 14px; background: rgba(5,10,13,.92); backdrop-filter: blur(18px); }.profile-tabs button { flex: 1; min-height: 48px; font-size: .86rem; }
.profile-panel { display: none; }.profile-panel.is-active { display: block; }
.profile-overview-grid { display: grid; grid-template-columns: minmax(0,1fr) 330px; gap: 14px; }.profile-overview-grid .company-simple-map { grid-template-columns: 1fr; }.profile-overview-grid .business-river { min-height: 330px; border-left: 0; border-top: 1px solid var(--line); }
.profile-score-card { position: sticky; top: calc(var(--header-height) + 74px); align-self: start; padding: 25px; }.profile-score-kicker { color: var(--mint); font: 750 .72rem/1 ui-monospace, monospace; letter-spacing: .12em; }.profile-score-number { display: block; margin-top: 20px; color: var(--mint); font-size: 6rem; line-height: .85; letter-spacing: -.07em; }.profile-score-card h2 { margin: 15px 0 8px; font-size: 1.45rem; }.profile-score-card > p { color: var(--muted); font-size: .86rem; line-height: 1.65; }.profile-score-track { height: 8px; margin: 22px 0; overflow: hidden; border-radius: 99px; background: rgba(255,255,255,.08); }.profile-score-track i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg,var(--cyan),var(--mint)); }.profile-score-mini { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }.profile-score-mini div { padding: 12px; border: 1px solid var(--line); border-radius: 13px; }.profile-score-mini span { display: block; color: var(--dim); font-size: .7rem; }.profile-score-mini strong { display: block; margin-top: 4px; font-size: .95rem; }
.profile-key-stats { display: grid; grid-template-columns: repeat(6,1fr); gap: 9px; margin-top: 14px; }.profile-stat { min-height: 120px; padding: 17px; border: 1px solid var(--line); border-radius: 17px; background: rgba(255,255,255,.018); }.profile-stat span { color: var(--dim); font-size: .72rem; }.profile-stat strong { display: block; margin-top: 15px; font-size: 1.25rem; }.profile-stat small { display: block; margin-top: 6px; color: var(--muted); font-size: .68rem; }
.profile-chart-card { padding: clamp(20px,3vw,34px); }.profile-metric-tabs { display: flex; flex-wrap: wrap; gap: 6px; }.profile-metric-tabs button { min-height: 38px; padding: 0 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); background: transparent; cursor: pointer; font-size: .75rem; font-weight: 700; }.profile-metric-tabs button.is-active { color: #04100b; border-color: var(--mint); background: var(--mint); }
#profile-chart, #compare-trend { width: 100%; height: auto; margin-top: 20px; overflow: visible; }.financial-chart .chart-grid { stroke: rgba(255,255,255,.075); stroke-width: 1; }.financial-chart .chart-axis { fill: var(--dim); font-size: 13px; }.financial-chart .chart-area { opacity: .16; }.financial-chart .chart-line { fill: none; stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }.financial-chart .chart-point { stroke: #06100b; stroke-width: 4; }.financial-chart .chart-value { fill: var(--ink); font-size: 13px; font-weight: 750; }
.chart-reading { display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center; margin-top: 14px; padding: 17px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.018); }.chart-reading p { margin: 0; color: var(--muted); }.chart-reading strong { color: var(--mint); font-size: 1.35rem; }
.profile-history-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin-top: 14px; }.history-card { padding: 22px; }.history-card > span { color: var(--dim); font: 750 .7rem/1 ui-monospace, monospace; letter-spacing: .1em; }.history-card strong { display: block; margin-top: 18px; font-size: 1.5rem; }.history-card p { margin: 8px 0 0; color: var(--muted); font-size: .85rem; line-height: 1.55; }
.profile-section-intro { margin: 35px 0 28px; }.profile-section-intro h2 { margin: 12px 0; font-size: clamp(3rem,5.5vw,6rem); line-height: .9; letter-spacing: -.07em; }.profile-section-intro h2 span { color: var(--cyan); }.profile-section-intro > p:last-child { max-width: 760px; color: var(--muted); font-size: 1rem; line-height: 1.7; }
.equation-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 14px; }.equation-card { min-height: 320px; padding: 25px; }.equation-card > span { color: var(--mint); font: 750 .72rem/1 ui-monospace, monospace; letter-spacing: .12em; }.equation-card h3 { margin: 16px 0 8px; font-size: 1.55rem; }.equation-card > p { margin: 0; color: var(--muted); font-size: .86rem; line-height: 1.6; }.equation-formula { margin: 24px 0 14px; padding: 18px; overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; color: var(--ink); background: #050a0d; font: 700 .9rem/1.7 ui-monospace, monospace; }.equation-substitution { color: var(--dim); font: 650 .78rem/1.7 ui-monospace, monospace; }.equation-answer { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }.equation-answer span { color: var(--dim); font-size: .75rem; }.equation-answer strong { color: var(--mint); font-size: 1.7rem; }
.score-equation { margin-top: 14px; padding: clamp(24px,4vw,42px); }.score-equation-head { display: flex; align-items: end; justify-content: space-between; gap: 25px; }.score-equation-head h2 { margin: 9px 0 0; font-size: 2.2rem; }.score-equation-total { color: var(--mint); font-size: 3.2rem; font-weight: 800; }.score-components { display: grid; grid-template-columns: repeat(4,1fr); gap: 9px; margin-top: 25px; }.score-component { padding: 17px; border: 1px solid var(--line); border-radius: 15px; background: rgba(255,255,255,.018); }.score-component span { color: var(--dim); font-size: .72rem; }.score-component strong { display: block; margin: 9px 0; font-size: 1.35rem; }.score-component div { height: 6px; overflow: hidden; border-radius: 99px; background: rgba(255,255,255,.07); }.score-component i { display: block; height: 100%; border-radius: inherit; background: var(--mint); }
.profile-system-preview { min-height: 470px; padding: 28px; background: radial-gradient(circle at 50% 50%, var(--accent-soft), transparent 34%), var(--panel-solid); }.profile-system-nodes { position: relative; min-height: 410px; }.profile-system-node { position: absolute; display: grid; place-items: center; width: 150px; height: 150px; padding: 18px; border: 1px solid var(--line-strong); border-radius: 50%; background: var(--panel-solid); text-align: center; }.profile-system-node strong { font-size: 1.2rem; }.profile-system-node span { margin-top: 6px; color: var(--dim); font-size: .72rem; }.profile-system-node.core { left: 50%; top: 50%; width: 190px; height: 190px; transform: translate(-50%,-50%); border-color: var(--accent); box-shadow: 0 0 75px var(--accent-soft); }.profile-system-node.revenue { left: 4%; top: 8%; }.profile-system-node.profit { right: 4%; top: 8%; }.profile-system-node.cash { left: 12%; bottom: 0; }.profile-system-node.balance { right: 12%; bottom: 0; }.profile-system-line { position: absolute; left: 50%; top: 50%; width: 36%; height: 1px; transform-origin: 0 0; background: linear-gradient(90deg,var(--accent),transparent); opacity: .5; }.profile-system-line.one { transform: rotate(-151deg); }.profile-system-line.two { transform: rotate(-29deg); }.profile-system-line.three { transform: rotate(143deg); }.profile-system-line.four { transform: rotate(37deg); }.profile-system-cta { margin-top: 14px; }

/* Compare, watchlist, and Pro */
.compare-scoreboard { display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px; align-items: stretch; margin-bottom: 14px; }.compare-score-card { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 20px; border: 1px solid var(--line); border-radius: 20px; background: rgba(255,255,255,.018); }.compare-score-card h2 { margin: 0; font-size: 1.35rem; }.compare-score-card p { margin: 4px 0 0; color: var(--dim); font-size: .76rem; }.compare-score-card > strong { color: var(--company-color); font-size: 2.7rem; }.compare-score-vs { display: grid; width: 58px; place-items: center; color: var(--dim); font: 800 .72rem/1 ui-monospace, monospace; }
.compare-trend-card { margin: 14px 0; padding: clamp(20px,3vw,32px); }
.watchlist-summary { display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; margin-bottom: 14px; }.watch-summary-card { min-height: 135px; padding: 19px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.018); }.watch-summary-card span { color: var(--dim); font-size: .74rem; }.watch-summary-card strong { display: block; margin-top: 16px; font-size: 1.5rem; }.watch-summary-card p { margin: 7px 0 0; color: var(--muted); font-size: .75rem; }
.pro-hero { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 50px; min-height: 430px; padding: clamp(32px,5vw,72px); overflow: hidden; background: radial-gradient(circle at 83% 45%, rgba(109,242,182,.14), transparent 30%), radial-gradient(circle at 18% 0, rgba(115,152,255,.1), transparent 36%), var(--panel-solid); }.pro-hero h1 { margin: 18px 0; font-size: clamp(4rem,7vw,8rem); line-height: .86; letter-spacing: -.08em; }.pro-hero h1 span { color: var(--mint); }.pro-hero p:last-child { max-width: 720px; margin: 0; color: var(--muted); font-size: 1.05rem; line-height: 1.75; }
.pro-orbit { position: relative; display: grid; width: min(28vw,330px); aspect-ratio: 1; place-items: center; border: 1px solid rgba(109,242,182,.28); border-radius: 50%; box-shadow: 0 0 100px rgba(109,242,182,.09), inset 0 0 80px rgba(109,242,182,.04); }.pro-orbit::before,.pro-orbit::after,.pro-orbit i { content: ""; position: absolute; border-radius: 50%; }.pro-orbit::before { inset: 15%; border: 1px solid rgba(110,223,242,.24); }.pro-orbit::after { inset: 36%; background: var(--mint); box-shadow: 0 0 55px rgba(109,242,182,.65); }.pro-orbit i:nth-child(1) { width: 12px; height: 12px; top: 9%; left: 48%; background: var(--cyan); }.pro-orbit i:nth-child(2) { width: 9px; height: 9px; right: 10%; bottom: 28%; background: var(--gold); }.pro-orbit i:nth-child(3) { width: 7px; height: 7px; left: 13%; bottom: 23%; background: var(--blue); }.pro-orbit strong { z-index: 2; color: #02100b; font: 900 1.1rem/1 ui-monospace, monospace; }
.pro-snapshot { display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; margin: 14px 0; }.pro-snapshot-card { min-height: 130px; padding: 20px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.018); }.pro-snapshot-card span { color: var(--dim); font-size: .72rem; }.pro-snapshot-card strong { display: block; margin-top: 17px; color: var(--mint); font-size: 1.6rem; }.pro-snapshot-card p { margin: 6px 0 0; color: var(--muted); font-size: .75rem; }
.pro-module-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }.pro-module-grid button { min-height: 255px; padding: 24px; border: 1px solid var(--line); border-radius: 22px; color: var(--ink); background: radial-gradient(circle at 100% 0, rgba(109,242,182,.08), transparent 43%), var(--panel-solid); cursor: pointer; text-align: left; transition: 180ms ease; }.pro-module-grid button:hover { transform: translateY(-4px); border-color: rgba(109,242,182,.3); }.pro-module-grid span { color: var(--mint); font: 750 .72rem/1 ui-monospace, monospace; letter-spacing: .12em; }.pro-module-grid strong { display: block; margin-top: 65px; font-size: 1.35rem; }.pro-module-grid p { margin: 10px 0 0; color: var(--muted); font-size: .88rem; line-height: 1.6; }
.pro-workflow { display: grid; grid-template-columns: 1fr 1fr; gap: 35px; align-items: center; margin-top: 14px; padding: clamp(25px,4vw,46px); }.pro-workflow h2 { margin: 10px 0; font-size: 2.2rem; }.pro-workflow p { max-width: 650px; margin: 0; color: var(--muted); }.pro-workflow-steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 8px; }.pro-workflow-steps span { padding: 16px; border: 1px solid var(--line); border-radius: 14px; color: var(--dim); font: 700 .72rem/1.5 ui-monospace, monospace; }.pro-workflow-steps b { color: var(--ink); font-size: .82rem; }

@media (max-width: 1180px) {
  .landing-hero { grid-template-columns: 1fr; }.landing-preview { width: 100%; max-width: 760px; }.landing-path-grid { grid-template-columns: 1fr 1fr; }.landing-profile-story { grid-template-columns: 1fr; }.landing-profile-demo { width: 100%; max-width: 900px; }.landing-pro-story { grid-template-columns: 1fr 1fr; }.landing-pro-story > button { grid-column: 1 / -1; justify-self: start; }
  .profile-overview-grid { grid-template-columns: 1fr; }.profile-score-card { position: static; }.profile-key-stats { grid-template-columns: repeat(3,1fr); }.pro-module-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .landing-nav { min-height: 68px; padding-inline: 15px; }.landing-nav > div button:not(.landing-nav-pro) { display: none; }.landing-nav .brand-copy small { display: block; }
  .landing-hero { min-height: auto; padding-top: 90px; }.landing-hero h1 { font-size: clamp(4rem,15vw,7.2rem); }.landing-preview { min-height: 0; }.landing-section { padding-block: 90px; }.landing-section > h2, .landing-section > div > h2 { font-size: clamp(3.4rem,12vw,6rem); }.landing-profile-story { gap: 45px; }.landing-pro-story { grid-template-columns: 1fr; }.landing-pro-story > button { grid-column: auto; }
  .landing-footer { grid-template-columns: 1fr; }.landing-footer > div { display: none; }
  .profile-hero { grid-template-columns: auto 1fr; }.profile-hero-actions { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; width: 100%; }.profile-tabs { top: calc(var(--header-height) + 4px); grid-template-columns: repeat(4,1fr); }.profile-key-stats { grid-template-columns: repeat(2,1fr); }.profile-history-grid, .equation-grid { grid-template-columns: 1fr; }.score-components { grid-template-columns: 1fr 1fr; }
  .watchlist-summary, .pro-snapshot { grid-template-columns: 1fr 1fr; }.pro-hero { grid-template-columns: 1fr; }.pro-orbit { width: min(60vw,300px); }.pro-workflow { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .landing-nav .brand { gap: 9px; }.landing-nav .landing-nav-pro { padding-inline: 10px; font-size: .75rem; }.landing-hero { padding: 72px 14px; }.landing-hero h1 { font-size: clamp(3.7rem,18vw,5.4rem); }.landing-actions { display: grid; }.landing-actions button { width: 100%; }.landing-proof { display: grid; gap: 10px; }
  .landing-preview { padding: 14px; border-radius: 22px; }.landing-preview-flow { grid-template-columns: 1fr; }.landing-company-row { grid-template-columns: 38px 1fr auto; }.landing-section { padding: 72px 14px; }.landing-path-grid { grid-template-columns: 1fr; }.landing-path-grid button { min-height: 220px; }.landing-path-grid strong { margin-top: 52px; }.landing-profile-demo { min-height: 0; padding: 17px; }.landing-demo-head { align-items: flex-start; flex-direction: column; }.landing-demo-equation { grid-template-columns: 1fr; }.landing-pro-modules { grid-template-columns: 1fr; }
  .profile-hero { grid-template-columns: 1fr; padding: 21px; }.profile-hero .identity-sigil { width: 70px; height: 70px; }.profile-hero-copy :is(h1,h2) { font-size: 3.6rem; }.profile-hero-actions { grid-template-columns: 1fr; }.profile-tabs { position: static; grid-template-columns: 1fr 1fr; }.profile-key-stats, .score-components, .watchlist-summary, .pro-snapshot { grid-template-columns: 1fr 1fr; }.profile-stat { min-height: 105px; }.profile-chart-card { padding: 16px; }.profile-chart-card .surface-head { align-items: flex-start; flex-direction: column; }.chart-reading { grid-template-columns: 1fr; }.score-equation-head { align-items: flex-start; flex-direction: column; }.profile-system-node { position: relative; inset: auto !important; width: 150px; height: 150px; margin: 10px auto; transform: none !important; }.profile-system-node.core { width: 175px; height: 175px; }.profile-system-line { display: none; }.profile-system-nodes { min-height: 0; }.profile-system-preview { min-height: 0; }
  .compare-scoreboard { grid-template-columns: 1fr; }.compare-score-vs { width: 100%; height: 32px; }.compare-score-card { grid-template-columns: auto 1fr auto; }.pro-module-grid { grid-template-columns: 1fr; }.pro-workflow-steps { grid-template-columns: 1fr 1fr; }.pro-hero h1 { font-size: 3.7rem; }
}

/* CoinArena continuity pass · editorial reads, visible drivers, and page identity */
body { --page-accent: var(--mint); }
body[data-view="today"] { --page-accent: var(--cyan); }
body[data-view="market"] { --page-accent: var(--mint); }
body[data-view="universes"] { --page-accent: #8b7cff; }
body[data-view="company"] { --page-accent: var(--accent); }
body[data-view="ecosystem"] { --page-accent: var(--accent); }
body[data-view="learn"] { --page-accent: var(--cyan); }
body[data-view="leaders"] { --page-accent: var(--gold); }
body[data-view="compare"] { --page-accent: #a879ff; }
body[data-view="agents"] { --page-accent: #8068ff; }
body[data-view="pro"] { --page-accent: var(--mint); }
body[data-view="briefing"] { --page-accent: #72a8ff; }
.app-main { position: relative; isolation: isolate; }
.app-main::before {
  content: "";
  position: fixed;
  z-index: -1;
  top: var(--header-height);
  right: -10vw;
  width: 68vw;
  height: 68vw;
  max-width: 1100px;
  max-height: 1100px;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--page-accent) 9%, transparent), transparent 66%);
  pointer-events: none;
  transition: background 280ms ease;
}
.view { position: relative; z-index: 1; }
.view.is-active > * { animation: editorial-rise 440ms cubic-bezier(.2,.7,.2,1) both; }
.view.is-active > *:nth-child(2) { animation-delay: 35ms; }
.view.is-active > *:nth-child(3) { animation-delay: 70ms; }
@keyframes editorial-rise { from { opacity: 0; transform: translateY(12px); } }
body:not([data-view="landing"]) .view-hero h1 span,
body:not([data-view="landing"]) .guided-hero h1 span { color: var(--page-accent); }
.surface { box-shadow: inset 0 1px 0 rgba(255,255,255,.018), 0 22px 70px rgba(0,0,0,.12); }

/* Today and market reads */
.today-signal-ribbon {
  display: grid;
  grid-template-columns: 1.4fr 1fr .75fr;
  gap: 1px;
  margin-bottom: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--line);
}
.today-signal-ribbon > div { min-height: 106px; display: flex; flex-direction: column; justify-content: center; padding: 18px 21px; background: linear-gradient(135deg, rgba(110,223,242,.055), rgba(6,12,15,.96)); }
.today-signal-ribbon > div:first-child { background: radial-gradient(circle at 0 50%, rgba(110,223,242,.14), transparent 56%), #071014; }
.today-signal-ribbon span, .market-read-ribbon span { color: var(--dim); font: 750 .7rem/1 ui-monospace, monospace; letter-spacing: .11em; }
.today-signal-ribbon strong { margin-top: 9px; font-size: 1.05rem; }
.today-signal-ribbon > div:first-child strong { color: var(--cyan); font-size: 1.2rem; }
.today-signal-ribbon small { margin-top: 5px; color: var(--muted); font-size: .76rem; }
.market-read-ribbon {
  display: grid;
  grid-template-columns: minmax(350px,1.5fr) repeat(3,minmax(135px,.55fr));
  gap: 1px;
  margin-bottom: 14px;
  padding: 0;
  overflow: hidden;
  background: var(--line);
}
.market-read-ribbon > div { min-height: 124px; display: flex; flex-direction: column; justify-content: center; padding: 20px 22px; background: #081014; }
.market-read-copy { background: radial-gradient(circle at 0 50%, rgba(109,242,182,.13), transparent 55%), #071014 !important; }
.market-read-copy h2 { margin: 9px 0 5px; font-size: 1.55rem; letter-spacing: -.035em; }
.market-read-copy p { max-width: 680px; margin: 0; color: var(--muted); font-size: .82rem; }
.market-read-stat strong { margin-top: 12px; font-size: 1.65rem; }
.market-read-stat small { margin-top: 5px; color: var(--dim); font-size: .72rem; }
.market-read-stat.is-positive strong { color: var(--mint); }
.market-read-stat.is-warning strong { color: var(--gold); }

/* Universe atlas */
.universe-atlas {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(360px,.65fr);
  align-items: center;
  min-height: 380px;
  margin-bottom: 14px;
  padding: clamp(28px,4vw,54px);
  overflow: hidden;
  background: radial-gradient(circle at 84% 50%, color-mix(in srgb, var(--universe-color) 17%, transparent), transparent 28%), linear-gradient(135deg,#091217,#05090c);
}
.atlas-copy > span { color: var(--universe-color); font: 750 .72rem/1 ui-monospace, monospace; letter-spacing: .13em; }
.atlas-copy h2 { max-width: 760px; margin: 16px 0 13px; font-size: clamp(2.4rem,4.4vw,4.8rem); line-height: .96; letter-spacing: -.06em; }
.atlas-copy p { max-width: 720px; margin: 0; color: var(--muted); font-size: 1rem; line-height: 1.75; }
.atlas-orbit { position: relative; width: min(31vw,350px); aspect-ratio: 1; justify-self: center; border: 1px solid color-mix(in srgb, var(--universe-color) 35%, transparent); border-radius: 50%; background: conic-gradient(var(--universe-color) var(--atlas-coverage), rgba(255,255,255,.055) 0); box-shadow: 0 0 90px color-mix(in srgb, var(--universe-color) 10%, transparent); }
.atlas-orbit::before { content:""; position:absolute; inset:7px; border-radius:50%; background:#071014; }
.atlas-orbit > div { position:absolute; z-index:2; inset:50% auto auto 50%; display:grid; width:58%; aspect-ratio:1; place-content:center; transform:translate(-50%,-50%); border:1px solid var(--line-strong); border-radius:50%; text-align:center; background:radial-gradient(circle,color-mix(in srgb,var(--universe-color) 16%,#081014),#071014 70%); }
.atlas-orbit > div strong { font-size:4rem; line-height:.8; letter-spacing:-.08em; }.atlas-orbit > div span { margin-top:12px; color:var(--universe-color); font:750 .7rem/1 ui-monospace,monospace; letter-spacing:.12em; }.atlas-orbit > div small { margin-top:7px; color:var(--dim); font-size:.7rem; }
.atlas-node { position:absolute; z-index:3; display:grid; width:70px; height:70px; place-content:center; border:1px solid color-mix(in srgb,var(--company-color) 55%,var(--line)); border-radius:50%; color:var(--ink); background:#071014; box-shadow:0 0 32px color-mix(in srgb,var(--company-color) 18%,transparent); cursor:pointer; }.atlas-node b { color:var(--company-color); font:800 .72rem/1 ui-monospace,monospace; }.atlas-node small { margin-top:5px; color:var(--muted); }.atlas-node.node-1 { top:-16px; left:50%; transform:translateX(-50%); }.atlas-node.node-2 { right:-8px; bottom:17%; }.atlas-node.node-3 { left:0; bottom:12%; }

/* Company profile · thesis first, then evidence */
.profile-hero { grid-template-columns:auto minmax(0,1fr) minmax(285px,340px); min-height:330px; background:radial-gradient(circle at 88% 50%,var(--accent-soft),transparent 30%),radial-gradient(circle at 0 0,color-mix(in srgb,var(--company-color) 9%,transparent),transparent 36%),var(--panel-solid); }
.profile-hero-intelligence { display:grid; justify-items:center; gap:16px; }
.profile-score-orbit { position:relative; width:210px; aspect-ratio:1; border-radius:50%; background:conic-gradient(var(--company-color) calc(var(--score) * 1%),rgba(255,255,255,.07) 0); box-shadow:0 0 70px color-mix(in srgb,var(--company-color) 12%,transparent); }
.profile-score-orbit::before { content:""; position:absolute; inset:8px; border-radius:50%; background:radial-gradient(circle,color-mix(in srgb,var(--company-color) 10%,#071014),#071014 72%); }
.profile-score-orbit > div { position:absolute; inset:0; display:grid; place-content:center; text-align:center; }.profile-score-orbit span { color:var(--dim); font:750 .66rem/1.35 ui-monospace,monospace; letter-spacing:.1em; }.profile-score-orbit strong { margin:8px 0 4px; color:var(--company-color); font-size:4.6rem; line-height:.8; letter-spacing:-.09em; }.profile-score-orbit small { max-width:145px; color:var(--muted); font-size:.7rem; }
.profile-hero-actions { width:100%; min-width:0; grid-template-columns:1.25fr .8fr .9fr; gap:7px; }.profile-hero-actions .primary-button,.profile-hero-actions .secondary-button { min-height:42px; padding-inline:10px; font-size:.72rem; }
.profile-chapter-rail { display:grid; grid-template-columns:repeat(4,1fr); gap:8px; margin-bottom:10px; }
.profile-chapter-rail button { display:grid; grid-template-columns:auto 1fr; grid-template-rows:auto auto; column-gap:10px; min-height:78px; padding:13px 15px; border:1px solid var(--line); border-radius:15px; color:var(--muted); background:rgba(255,255,255,.015); cursor:pointer; text-align:left; }.profile-chapter-rail button:hover,.profile-chapter-rail button.is-active { border-color:color-mix(in srgb,var(--company-color) 45%,var(--line)); background:linear-gradient(135deg,color-mix(in srgb,var(--company-color) 9%,transparent),rgba(255,255,255,.015)); }.profile-chapter-rail span { grid-row:1/3; color:var(--company-color); font:800 .72rem/1 ui-monospace,monospace; }.profile-chapter-rail strong { color:var(--ink); font-size:.84rem; }.profile-chapter-rail small { color:var(--dim); font-size:.68rem; }
.profile-decoded { display:grid; grid-template-columns:minmax(0,1.35fr) minmax(310px,.65fr); min-height:510px; margin-bottom:14px; overflow:hidden; background:radial-gradient(circle at 0 0,color-mix(in srgb,var(--company-color) 14%,transparent),transparent 40%),linear-gradient(145deg,#0a1419,#05090c); }
.decoded-copy { display:flex; flex-direction:column; justify-content:center; padding:clamp(30px,5vw,64px); }.decoded-copy > span,.decoded-drivers > div:first-child > span { color:var(--company-color); font:750 .72rem/1 ui-monospace,monospace; letter-spacing:.12em; }.decoded-copy > h2 { max-width:900px; margin:17px 0 12px; font-size:clamp(2.35rem,4vw,4.35rem); line-height:.97; letter-spacing:-.058em; }.decoded-copy > p { max-width:760px; margin:0; color:var(--muted); font-size:.96rem; line-height:1.7; }
.decoded-questions { display:grid; grid-template-columns:repeat(3,1fr); gap:8px; margin-top:30px; }.decoded-questions > div { min-height:165px; padding:17px; border:1px solid var(--line); border-radius:16px; background:rgba(255,255,255,.018); }.decoded-questions span { color:var(--dim); font:750 .65rem/1.25 ui-monospace,monospace; letter-spacing:.08em; }.decoded-questions strong { display:block; margin:16px 0 7px; font-size:1.05rem; }.decoded-questions p { margin:0; color:var(--muted); font-size:.75rem; line-height:1.55; }.decoded-questions .is-support { border-top-color:rgba(109,242,182,.5); }.decoded-questions .is-support strong { color:var(--mint); }.decoded-questions .is-tension { border-top-color:rgba(245,197,104,.5); }.decoded-questions .is-tension strong { color:var(--gold); }.decoded-questions .is-question { border-top-color:color-mix(in srgb,var(--company-color) 55%,transparent); }
.decoded-drivers { display:flex; flex-direction:column; justify-content:center; gap:20px; padding:34px; border-left:1px solid var(--line); background:rgba(2,7,9,.55); }.decoded-drivers > div:first-child { display:grid; gap:7px; }.decoded-drivers > div:first-child small,.decoded-drivers > p { color:var(--dim); font-size:.72rem; }.decoded-driver { display:grid; grid-template-columns:1fr auto; gap:8px 12px; }.decoded-driver > span { color:var(--muted); font-size:.78rem; }.decoded-driver > strong { color:var(--ink); font-size:.78rem; }.decoded-driver > div { grid-column:1/-1; height:7px; overflow:hidden; border-radius:99px; background:rgba(255,255,255,.07); }.decoded-driver i { display:block; height:100%; border-radius:inherit; background:linear-gradient(90deg,var(--cyan),var(--company-color)); box-shadow:0 0 18px color-mix(in srgb,var(--company-color) 35%,transparent); }

/* Living system and learning chapters */
.ecosystem-story-strip,.learn-pathway { display:grid; grid-template-columns:repeat(3,1fr); gap:8px; margin:0 0 14px; }
.ecosystem-story-strip button,.learn-pathway button { display:grid; grid-template-columns:auto 1fr; grid-template-rows:auto auto; column-gap:12px; min-height:90px; padding:16px 18px; border:1px solid var(--line); border-radius:17px; color:var(--muted); background:rgba(255,255,255,.016); cursor:pointer; text-align:left; }.ecosystem-story-strip button.is-active,.learn-pathway button.is-active { border-color:color-mix(in srgb,var(--page-accent) 48%,var(--line)); background:linear-gradient(135deg,color-mix(in srgb,var(--page-accent) 11%,transparent),rgba(255,255,255,.015)); }.ecosystem-story-strip span,.learn-pathway span { grid-row:1/3; color:var(--page-accent); font:800 .72rem/1 ui-monospace,monospace; }.ecosystem-story-strip strong,.learn-pathway strong { color:var(--ink); font-size:.85rem; }.ecosystem-story-strip small,.learn-pathway small { color:var(--dim); font-size:.7rem; }
.learn-pathway { grid-template-columns:repeat(5,1fr); }.learn-pathway button { min-height:82px; padding:13px; }.learn-pathway button.is-complete { border-color:rgba(109,242,182,.2); }.learn-pathway button.is-complete span { color:var(--mint); }

/* Leaders and compare arena */
.leader-context { display:grid; grid-template-columns:minmax(0,1fr) minmax(430px,.8fr); gap:35px; align-items:center; min-height:190px; margin:14px 0; padding:28px; background:radial-gradient(circle at 0 50%,rgba(245,197,104,.11),transparent 42%),var(--panel-solid); }.leader-context > div:first-child > span { color:var(--gold); font:750 .7rem/1 ui-monospace,monospace; letter-spacing:.12em; }.leader-context h2 { margin:11px 0 7px; font-size:1.9rem; letter-spacing:-.04em; }.leader-context p { max-width:720px; margin:0; color:var(--muted); font-size:.84rem; line-height:1.6; }.leader-context-stats { display:grid; grid-template-columns:repeat(3,1fr); gap:7px; }.leader-context-stats div { padding:16px; border:1px solid var(--line); border-radius:14px; background:rgba(0,0,0,.18); }.leader-context-stats span { color:var(--dim); font-size:.66rem; }.leader-context-stats strong { display:block; margin-top:9px; font-size:.88rem; }
.compare-context { display:grid; grid-template-columns:1fr minmax(280px,.45fr); gap:30px; align-items:center; min-height:185px; margin-bottom:14px; padding:28px; background:radial-gradient(circle at 100% 0,rgba(168,121,255,.13),transparent 42%),radial-gradient(circle at 0 100%,rgba(109,242,182,.07),transparent 36%),var(--panel-solid); }.compare-context > div:first-child > span,.compare-context-question span { color:#bd9cff; font:750 .7rem/1 ui-monospace,monospace; letter-spacing:.12em; }.compare-context h2 { margin:11px 0 7px; font-size:1.85rem; letter-spacing:-.04em; }.compare-context p { max-width:760px; margin:0; color:var(--muted); font-size:.84rem; }.compare-context-question { padding:18px; border:1px solid rgba(168,121,255,.2); border-radius:16px; background:rgba(168,121,255,.04); }.compare-context-question strong { display:block; margin:12px 0 6px; font-size:1.05rem; }.compare-context-question small { color:var(--muted); }
.compare-scoreboard { grid-template-columns:minmax(0,1fr) minmax(210px,.42fr) minmax(0,1fr); gap:10px; align-items:stretch; }
.compare-battle-card { display:flex; flex-direction:column; align-items:stretch; min-height:330px; padding:25px; border-color:color-mix(in srgb,var(--company-color) 25%,var(--line)); background:radial-gradient(circle at 0 0,color-mix(in srgb,var(--company-color) 12%,transparent),transparent 48%),var(--panel-solid); }.battle-identity { display:flex; align-items:center; gap:13px; }.battle-identity > div > span { color:var(--company-color); font:750 .66rem/1 ui-monospace,monospace; letter-spacing:.1em; }.battle-identity h2 { margin:5px 0 1px; }.compare-battle-card > strong { display:block; margin:45px 0 7px; color:var(--company-color); font-size:5rem; line-height:.75; letter-spacing:-.09em; }.battle-metrics { display:grid; grid-template-columns:repeat(3,1fr); gap:6px; margin-top:auto; }.battle-metrics span { padding:11px; border:1px solid var(--line); border-radius:12px; color:var(--dim); font-size:.66rem; }.battle-metrics b { display:block; margin-bottom:5px; color:var(--ink); font-size:.8rem; }
.compare-score-center { display:flex; flex-direction:column; align-items:center; justify-content:center; min-height:330px; padding:22px; border:1px solid rgba(168,121,255,.27); border-radius:20px; background:radial-gradient(circle at center,rgba(168,121,255,.13),transparent 58%),#090d13; text-align:center; }.compare-score-center > span { color:#bd9cff; font:750 .66rem/1.3 ui-monospace,monospace; letter-spacing:.1em; }.compare-score-center > strong { margin:22px 0 13px; color:var(--mint); font-size:3rem; line-height:.8; }.compare-score-center h3 { margin:0; font-size:1.1rem; }.compare-score-center small { margin-top:9px; color:var(--dim); font-size:.7rem; }
.compare-verdict { min-height:130px; background:linear-gradient(110deg,rgba(109,242,182,.055),rgba(168,121,255,.04)); }

/* Watchlist intelligence field */
.watchlist-command { display:grid; grid-template-columns:minmax(0,1.35fr) minmax(330px,.65fr); gap:14px; margin-bottom:14px; }
.watchlist-command .watchlist-summary { grid-template-columns:repeat(2,1fr); gap:10px; margin:0; }.watch-summary-card { min-height:160px; background:linear-gradient(145deg,rgba(128,104,255,.055),rgba(255,255,255,.014)); }.watch-summary-card:nth-child(1) strong { color:#9d8aff; }.watch-summary-card:nth-child(2) strong { color:var(--cyan); }.watch-summary-card:nth-child(3) strong { color:var(--mint); }.watch-summary-card:nth-child(4) strong { color:var(--gold); }
.watchlist-intelligence { display:flex; flex-direction:column; justify-content:center; min-height:330px; padding:28px; background:radial-gradient(circle at 100% 0,rgba(128,104,255,.18),transparent 45%),linear-gradient(145deg,#0c1120,#06090f); }.watchlist-intelligence > span { color:#9d8aff; font:750 .7rem/1 ui-monospace,monospace; letter-spacing:.12em; }.watchlist-intelligence h2 { margin:14px 0 9px; font-size:2rem; line-height:1.05; letter-spacing:-.045em; }.watchlist-intelligence > p { margin:0; color:var(--muted); font-size:.84rem; line-height:1.65; }.watchlist-intelligence > .primary-button { align-self:flex-start; margin-top:20px; }.watch-intelligence-list { display:grid; gap:7px; margin-top:22px; }.watch-intelligence-list > div { padding:13px; border:1px solid var(--line); border-radius:13px; background:rgba(0,0,0,.15); }.watch-intelligence-list span { color:var(--dim); font-size:.65rem; }.watch-intelligence-list strong { display:block; margin-top:5px; font-size:.82rem; }
.saved-worlds { grid-template-columns:repeat(4,1fr); }.saved-world { position:relative; min-height:300px; padding:18px; overflow:hidden; background:radial-gradient(circle at 100% 0,color-mix(in srgb,var(--company-color) 13%,transparent),transparent 42%),rgba(255,255,255,.018); }.saved-world::before { content:""; position:absolute; inset:0 auto 0 0; width:2px; background:var(--company-color); opacity:.75; }.saved-world-rank { display:block; margin-top:18px; color:var(--dim); font:750 .64rem/1 ui-monospace,monospace; letter-spacing:.1em; }.saved-world h3 { margin-top:8px; font-size:1.15rem; }.saved-world-score { display:flex; align-items:end; gap:10px; margin-top:24px; }.saved-world-score strong { color:var(--company-color); font-size:3.2rem; line-height:.75; letter-spacing:-.08em; }.saved-world-score span { color:var(--muted); font-size:.7rem; }.saved-world-track { height:6px; margin:16px 0; overflow:hidden; border-radius:99px; background:rgba(255,255,255,.07); }.saved-world-track i { display:block; height:100%; border-radius:inherit; background:var(--company-color); }.saved-world-metrics { display:grid; grid-template-columns:1fr 1fr; gap:6px; }.saved-world-metrics span { padding:9px; border:1px solid var(--line); border-radius:10px; color:var(--dim); font-size:.65rem; }.saved-world-metrics b { display:block; color:var(--ink); }.saved-world-actions { display:grid; grid-template-columns:1fr 1fr; gap:6px; margin-top:auto; padding-top:16px; }.saved-world-actions button { min-height:38px; border:1px solid var(--line); border-radius:10px; color:var(--ink); background:rgba(255,255,255,.025); }.saved-world-actions button:last-child { border-color:color-mix(in srgb,var(--company-color) 40%,var(--line)); background:color-mix(in srgb,var(--company-color) 9%,transparent); }

.saved-world { min-height:390px; }
.saved-world-memory { margin-top:13px; padding:11px; border:1px solid var(--line); border-radius:12px; background:rgba(0,0,0,.15); }
.saved-world-memory span { color:var(--company-color); font:800 .7rem/1 ui-monospace,monospace; letter-spacing:.08em; }
.saved-world-memory p { display:-webkit-box; margin:7px 0 0; overflow:hidden; color:var(--muted); font-size:.75rem; line-height:1.45; -webkit-box-orient:vertical; -webkit-line-clamp:2; }

/* Pro command read and briefing sequence */
.pro-market-read { display:grid; grid-template-columns:minmax(0,1.15fr) minmax(560px,.85fr); gap:35px; align-items:center; min-height:200px; margin-top:14px; padding:30px; background:radial-gradient(circle at 0 50%,rgba(109,242,182,.12),transparent 38%),radial-gradient(circle at 100% 50%,rgba(115,152,255,.08),transparent 38%),#071014; }.command-read-copy > span { color:var(--mint); font:750 .7rem/1 ui-monospace,monospace; letter-spacing:.12em; }.command-read-copy h2 { margin:11px 0 7px; font-size:2rem; letter-spacing:-.045em; }.command-read-copy p { max-width:720px; margin:0; color:var(--muted); font-size:.84rem; }.command-read-stats { display:grid; grid-template-columns:repeat(4,1fr); gap:7px; }.command-read-stats div { min-height:100px; display:flex; flex-direction:column; justify-content:center; padding:14px; border:1px solid var(--line); border-radius:14px; background:rgba(0,0,0,.18); }.command-read-stats span { color:var(--dim); font-size:.65rem; }.command-read-stats strong { margin-top:10px; color:var(--mint); font-size:.88rem; }
body[data-view="pro"] .pro-hero { min-height:360px; grid-template-columns:minmax(0,1.2fr) minmax(230px,.5fr); padding:clamp(30px,4vw,54px); }
body[data-view="pro"] .pro-hero h1 { max-width:820px; font-size:clamp(3.8rem,5.6vw,6.2rem); }
body[data-view="pro"] .pro-orbit { width:min(23vw,255px); }
.pro-module-grid button:nth-child(1) { --module-color:var(--mint); }.pro-module-grid button:nth-child(2) { --module-color:var(--cyan); }.pro-module-grid button:nth-child(3) { --module-color:var(--gold); }.pro-module-grid button:nth-child(4) { --module-color:#a879ff; }.pro-module-grid button:nth-child(5) { --module-color:#8068ff; }.pro-module-grid button:nth-child(6) { --module-color:#72a8ff; }.pro-module-grid button { background:radial-gradient(circle at 100% 0,color-mix(in srgb,var(--module-color) 12%,transparent),transparent 44%),var(--panel-solid); }.pro-module-grid button:hover { border-color:color-mix(in srgb,var(--module-color) 45%,var(--line)); }.pro-module-grid button span { color:var(--module-color); }
.briefing-timeline { display:grid; grid-template-columns:repeat(3,1fr); gap:10px; margin-top:14px; }.briefing-timeline article { position:relative; min-height:190px; padding:23px; overflow:hidden; border:1px solid var(--line); border-radius:20px; background:linear-gradient(145deg,rgba(114,168,255,.06),rgba(255,255,255,.014)); }.briefing-timeline article::before { content:""; position:absolute; inset:0 auto auto 0; width:100%; height:2px; background:linear-gradient(90deg,var(--page-accent),transparent); }.briefing-timeline span { color:var(--page-accent); font:750 .68rem/1 ui-monospace,monospace; letter-spacing:.11em; }.briefing-timeline strong { display:block; margin:24px 0 9px; font-size:1.35rem; }.briefing-timeline p { margin:0; color:var(--muted); font-size:.82rem; line-height:1.6; }

/* Progressive depth · simple first, evidence underneath */
.landing-depth-strip { display:grid; grid-template-columns:repeat(3,1fr); gap:7px; max-width:880px; margin-top:20px; }
.landing-depth-strip span { min-height:72px; padding:13px 14px; border:1px solid var(--line); border-radius:14px; color:var(--muted); background:rgba(255,255,255,.018); font-size:.8rem; line-height:1.45; }
.landing-depth-strip b { display:block; margin-bottom:5px; color:var(--mint); font:800 .75rem/1 ui-monospace,monospace; letter-spacing:.08em; text-transform:uppercase; }
.profile-change-story { display:grid; grid-template-columns:minmax(300px,.72fr) minmax(0,1.28fr); min-height:330px; margin-bottom:14px; overflow:hidden; background:radial-gradient(circle at 0 0,color-mix(in srgb,var(--company-color) 14%,transparent),transparent 46%),linear-gradient(145deg,#0a1418,#05090c); }
.change-story-copy { display:flex; flex-direction:column; justify-content:center; padding:clamp(28px,4vw,52px); }
.change-story-copy > span { color:var(--company-color); font:800 .75rem/1 ui-monospace,monospace; letter-spacing:.12em; }
.change-story-copy h2 { max-width:650px; margin:17px 0 11px; font-size:clamp(2.15rem,3.5vw,3.7rem); line-height:.98; letter-spacing:-.055em; }
.change-story-copy > p { max-width:650px; margin:0; color:var(--muted); font-size:.9rem; line-height:1.7; }
.change-story-context { display:flex; flex-wrap:wrap; gap:6px; margin-top:23px; }
.change-story-context span { padding:7px 9px; border:1px solid var(--line); border-radius:999px; color:var(--dim); background:rgba(255,255,255,.018); font-size:.75rem; }
.change-ledger { display:grid; grid-template-columns:1fr 1fr; gap:8px; align-content:center; padding:22px; border-left:1px solid var(--line); background:rgba(2,7,9,.38); }
.change-item { min-height:132px; padding:17px; border:1px solid var(--line); border-radius:16px; background:rgba(255,255,255,.018); }
.change-item > span { color:var(--dim); font-size:.74rem; }
.change-item > strong { display:block; margin:13px 0 8px; color:var(--gold); font-size:1.9rem; line-height:.9; letter-spacing:-.045em; }
.change-item.is-positive > strong { color:var(--mint); }.change-item.is-negative > strong { color:var(--red); }
.change-item p { margin:0; color:var(--muted); font-size:.75rem; line-height:1.45; }.change-item small { display:block; margin-top:10px; color:var(--dim); font-size:.75rem; }
.profile-overview-grid .business-river { grid-template-columns:repeat(4,1fr); min-height:360px; }
.profile-overview-grid .river-line { left:12%; right:12%; background:linear-gradient(90deg,var(--cyan),var(--mint),var(--gold),var(--company-color)); }
.profile-overview-grid .river-step { min-width:0; }.profile-overview-grid .river-step span { color:var(--ink); font-weight:750; }.profile-overview-grid .river-step small { max-width:125px; line-height:1.35; }
.profile-thesis { display:grid; grid-template-columns:minmax(280px,.72fr) minmax(0,1.28fr); gap:30px; align-items:center; min-height:260px; margin:14px 0; padding:clamp(24px,4vw,42px); background:radial-gradient(circle at 100% 0,color-mix(in srgb,var(--company-color) 11%,transparent),transparent 43%),var(--panel-solid); }
.thesis-copy > span { color:var(--company-color); font:800 .75rem/1 ui-monospace,monospace; letter-spacing:.12em; }.thesis-copy h2 { margin:14px 0 9px; font-size:2rem; line-height:1.05; letter-spacing:-.045em; }.thesis-copy p { margin:0; color:var(--muted); font-size:.86rem; line-height:1.65; }
.thesis-editor { display:grid; gap:9px; }.thesis-editor label { color:var(--muted); font-size:.8rem; font-weight:750; }.thesis-editor textarea { width:100%; min-height:132px; resize:vertical; padding:16px; border:1px solid var(--line-strong); border-radius:16px; outline:none; color:var(--ink); background:#050a0d; font:inherit; font-size:.92rem; line-height:1.6; }.thesis-editor textarea:focus { border-color:color-mix(in srgb,var(--company-color) 60%,var(--line)); box-shadow:0 0 0 3px color-mix(in srgb,var(--company-color) 11%,transparent); }.thesis-editor > div { display:flex; align-items:center; justify-content:space-between; gap:15px; }.thesis-editor > div > span { color:var(--dim); font-size:.75rem; }.thesis-editor .primary-button { min-width:170px; }

/* Company marks · compact identifiers, never product branding */
.company-logo { position:relative; isolation:isolate; overflow:hidden; border:1px solid color-mix(in srgb,var(--company-color) 28%,rgba(255,255,255,.65)) !important; color:#0a1114 !important; background:linear-gradient(145deg,#fff,#eaf0f1) !important; box-shadow:0 10px 28px color-mix(in srgb,var(--company-color) 18%,transparent),inset 0 1px 0 rgba(255,255,255,.95) !important; }
.company-logo::before { content:""; position:absolute; z-index:0; inset:-35%; border-radius:50%; background:radial-gradient(circle,color-mix(in srgb,var(--company-color) 16%,transparent),transparent 64%); }
.company-logo img { position:relative; z-index:1; display:block; width:68%; height:68%; object-fit:contain; image-rendering:auto; filter:drop-shadow(0 3px 7px rgba(0,0,0,.12)); }
.company-logo-fallback { position:relative; z-index:1; color:#0a1114; font:850 .78rem/1 ui-monospace,SFMono-Regular,Menlo,monospace; letter-spacing:-.04em; }
.identity-sigil.company-logo img { width:72%; height:72%; }
.profile-hero .identity-sigil.company-logo { width:108px; height:108px; border-radius:30px; transform:rotate(-2deg); box-shadow:0 20px 55px color-mix(in srgb,var(--company-color) 24%,transparent),inset 0 1px 0 rgba(255,255,255,.95) !important; }
.profile-hero .identity-sigil.company-logo img { width:74%; height:74%; transform:rotate(2deg); }
.company-switch-sigil.company-logo img { width:66%; height:66%; }
.drawer-sigil.company-logo img,.mini-sigil.company-logo img { width:64%; height:64%; }
.landing-footer p { max-width:720px; line-height:1.55; }

@media (max-width: 1180px) {
  .universe-atlas { grid-template-columns:1fr minmax(300px,.55fr); }.atlas-orbit { width:300px; }
  .profile-decoded { grid-template-columns:1fr; }.decoded-drivers { border-left:0; border-top:1px solid var(--line); }
  .compare-scoreboard { grid-template-columns:1fr 180px 1fr; }.battle-metrics { grid-template-columns:1fr; }
  .watchlist-command { grid-template-columns:1fr; }.watchlist-intelligence { min-height:0; }.saved-worlds { grid-template-columns:repeat(3,1fr); }
  .pro-market-read { grid-template-columns:1fr; }.command-read-stats { grid-template-columns:repeat(4,1fr); }
}

@media (max-width: 860px) {
  .today-signal-ribbon,.market-read-ribbon { grid-template-columns:1fr 1fr; }.today-signal-ribbon > div:first-child,.market-read-copy { grid-column:1/-1; }
  .universe-atlas { grid-template-columns:1fr; gap:45px; }.atlas-orbit { width:min(70vw,330px); }
  .profile-hero { grid-template-columns:auto 1fr; }.profile-hero-intelligence { grid-column:1/-1; grid-template-columns:auto 1fr; width:100%; }.profile-hero-actions { grid-template-columns:1fr; }
  .profile-change-story,.profile-thesis { grid-template-columns:1fr; }.change-ledger { border-left:0; border-top:1px solid var(--line); }.profile-overview-grid .business-river { grid-template-columns:repeat(2,1fr); }.profile-overview-grid .river-line { display:none; }
  .profile-chapter-rail { grid-template-columns:1fr 1fr; }.decoded-questions { grid-template-columns:1fr; }.decoded-questions > div { min-height:0; }
  .learn-pathway { grid-template-columns:repeat(3,1fr); }.learn-pathway button:nth-child(n+4) { grid-column:span 1; }
  .leader-context,.compare-context { grid-template-columns:1fr; }.leader-context-stats { grid-template-columns:repeat(3,1fr); }
  .compare-scoreboard { grid-template-columns:1fr; }.compare-score-center { min-height:190px; order:2; }.compare-battle-card.right { order:3; }.battle-metrics { grid-template-columns:repeat(3,1fr); }
  .saved-worlds { grid-template-columns:repeat(2,1fr); }
  body[data-view="pro"] .pro-hero { grid-template-columns:1fr; min-height:0; }.command-read-stats { grid-template-columns:1fr 1fr; }.briefing-timeline { grid-template-columns:1fr; }
}

@media (max-width: 560px) {
  .today-signal-ribbon,.market-read-ribbon { grid-template-columns:1fr; }.today-signal-ribbon > div:first-child,.market-read-copy { grid-column:auto; }
  .universe-atlas { padding:24px 18px; }.atlas-copy h2 { font-size:2.65rem; }.atlas-node { width:60px; height:60px; }
  .landing-depth-strip,.change-ledger { grid-template-columns:1fr; }.landing-depth-strip span { min-height:0; }.change-story-copy { padding:26px 19px; }.change-story-copy h2 { font-size:2.35rem; }.change-ledger { padding:12px; }.change-item { min-height:0; }.profile-overview-grid .business-river { grid-template-columns:1fr; }.profile-thesis { gap:22px; padding:24px 19px; }.thesis-editor > div { align-items:stretch; flex-direction:column; }.thesis-editor .primary-button { width:100%; }
  .profile-hero-intelligence { grid-template-columns:1fr; }.profile-score-orbit { width:190px; }.profile-chapter-rail { grid-template-columns:1fr; }.profile-decoded { min-height:0; }.decoded-copy,.decoded-drivers { padding:24px 19px; }.decoded-copy > h2 { font-size:2.25rem; }.decoded-questions { margin-top:22px; }
  .profile-hero .identity-sigil.company-logo { width:82px; height:82px; border-radius:23px; }
  .ecosystem-story-strip,.learn-pathway { grid-template-columns:1fr; }
  .leader-context-stats { grid-template-columns:1fr; }.compare-context { padding:21px; }.compare-battle-card { min-height:300px; }.battle-metrics { grid-template-columns:1fr; }.compare-score-center { min-height:170px; }
  .watchlist-command .watchlist-summary,.saved-worlds { grid-template-columns:1fr; }.saved-world { min-height:285px; }
  body[data-view="pro"] .pro-hero h1 { font-size:3.7rem; }.pro-market-read { padding:22px; }.command-read-stats { grid-template-columns:1fr 1fr; }.command-read-stats div { min-height:88px; }.briefing-timeline article { min-height:0; }
}

/* Sector City responsive composition */
@media (max-width: 1180px) {
  .city-layout { grid-template-columns: 1fr; }
  #market-city.sector-city-map { min-height:0; grid-template-columns:repeat(3,minmax(0,1fr)); }
  .city-district-panel { min-height:0; }
  .city-panel-company-list { grid-template-columns:1fr 1fr; max-height:none; }
  .market-stage.is-city .market-scene[data-market-scene="city"] { min-height:0; }
}

@media (max-width: 860px) {
  .market-stage.is-city, .market-stage.is-city #market-city { min-height:0; }
  .market-stage.is-city .market-scene[data-market-scene="city"] { padding:92px 14px 164px; }
  .city-command-bar { align-items:flex-start; flex-direction:column; }
  .city-data-stamp { width:100%; }
  .city-filter-deck { grid-template-columns:1fr; }
  #market-city.sector-city-map { min-height:0; grid-template-columns:repeat(2,minmax(0,1fr)); }
  .sector-district.is-focused { grid-column:1/-1; }
}

@media (max-width: 560px) {
  .market-stage.is-city, .market-stage.is-city #market-city { min-height:0; }
  .market-stage.is-city .market-scene[data-market-scene="city"] { padding:100px 9px 208px; }
  .city-command-copy > strong { font-size:1.05rem; }
  .city-command-copy > small { font-size:.72rem; line-height:1.45; }
  #market-city.sector-city-map { min-height:0; grid-template-columns:1fr; }
  .sector-district { min-height:260px; }
  .sector-district.is-focused { min-height:300px; }
  .sector-district.is-focused .district-skyline { height:165px; gap:9px; padding-inline:15px; }
  .city-panel-company-list { grid-template-columns:1fr; }
  .city-panel-stats { grid-template-columns:1fr 1fr; }
  .city-district-panel { padding:16px; }
}

/* Sector City v2 · explorable WebGL world */
.city-layout { grid-template-columns:minmax(0,1fr) 320px; }
.market-stage.is-city #market-city.sector-city-3d { position:relative; min-height:720px; overflow:hidden; border:1px solid rgba(157,216,199,.16); border-radius:20px; background:radial-gradient(circle at 50% 38%,rgba(30,72,67,.22),transparent 46%),#02070a; box-shadow:inset 0 1px rgba(255,255,255,.035),0 30px 80px rgba(0,0,0,.34); }
#sector-city-canvas { width:100%; height:720px; display:block; outline:none; cursor:grab; touch-action:none; }
#sector-city-canvas:focus-visible { outline:2px solid var(--mint); outline-offset:-4px; }
.city-3d-label-layer { position:absolute; z-index:4; inset:0; overflow:hidden; pointer-events:none; }
.city-world-label { position:absolute; left:0; top:0; min-width:122px; max-width:180px; display:grid; gap:3px; padding:8px 10px; border:1px solid color-mix(in srgb,var(--district-color) 52%,rgba(255,255,255,.12)); border-radius:10px; color:var(--ink); background:rgba(4,10,13,.8); box-shadow:0 10px 28px rgba(0,0,0,.34),0 0 22px color-mix(in srgb,var(--district-color) 10%,transparent); backdrop-filter:blur(12px); cursor:pointer; pointer-events:auto; text-align:left; transition:opacity 160ms ease,border-color 160ms ease,background 160ms ease; }
.city-world-label::before { content:""; position:absolute; inset:0 auto 0 0; width:2px; border-radius:inherit; background:var(--district-color); }
.city-world-label strong { overflow:hidden; font-size:.68rem; line-height:1.15; text-overflow:ellipsis; white-space:nowrap; }
.city-world-label span { color:var(--muted); font-size:.58rem; white-space:nowrap; }
.city-world-label:hover,.city-world-label.is-active { border-color:var(--district-color); background:color-mix(in srgb,var(--district-color) 10%,rgba(4,10,13,.9)); }
.city-world-label.is-behind { opacity:0; pointer-events:none; }
.city-world-label[hidden],.city-3d-hover[hidden] { display:none; }
.city-3d-hover { position:absolute; z-index:8; width:230px; display:grid; gap:4px; padding:12px 13px; border:1px solid var(--line-strong); border-radius:13px; background:rgba(3,9,12,.92); box-shadow:0 18px 48px rgba(0,0,0,.48); backdrop-filter:blur(14px); pointer-events:none; }
.city-3d-hover span { color:var(--mint); font:750 .61rem/1 ui-monospace,monospace; letter-spacing:.1em; }.city-3d-hover strong { font-size:.84rem; }.city-3d-hover small { color:var(--muted); font-size:.66rem; line-height:1.4; }
.city-3d-loading { position:absolute; z-index:7; inset:0; display:grid; place-content:center; justify-items:center; gap:7px; color:var(--ink); background:radial-gradient(circle,rgba(13,34,31,.82),rgba(2,7,10,.96)); transition:opacity 400ms ease,visibility 400ms ease; }
.city-3d-loading.is-hidden { opacity:0; visibility:hidden; pointer-events:none; }
.city-3d-loading > span { width:54px; height:54px; margin-bottom:7px; border:1px solid rgba(109,242,182,.25); border-top-color:var(--mint); border-radius:50%; animation:spin 1.3s linear infinite; box-shadow:0 0 28px rgba(109,242,182,.1); }.city-3d-loading strong { font-size:1rem; }.city-3d-loading small { color:var(--dim); font-size:.72rem; }
.city-3d-guide { position:absolute; z-index:5; left:16px; top:16px; display:grid; gap:4px; padding:10px 12px; border:1px solid var(--line); border-radius:12px; background:rgba(3,9,12,.66); backdrop-filter:blur(10px); pointer-events:none; }
.city-3d-guide strong { color:var(--mint); font:800 .62rem/1 ui-monospace,monospace; letter-spacing:.11em; }.city-3d-guide span { color:var(--muted); font-size:.65rem; }
.city-control-dock { position:absolute; z-index:7; right:14px; top:14px; display:flex; gap:5px; padding:5px; border:1px solid var(--line); border-radius:13px; background:rgba(3,9,12,.72); backdrop-filter:blur(12px); }
.city-control-dock button { min-width:34px; min-height:34px; padding:0 9px; border:1px solid transparent; border-radius:9px; color:var(--muted); background:transparent; cursor:pointer; font-size:.66rem; font-weight:720; }
.city-control-dock button:hover,.city-control-dock button[aria-pressed="true"] { color:var(--ink); border-color:var(--line-strong); background:rgba(255,255,255,.055); }
.city-3d-legend { position:absolute; z-index:5; left:14px; right:14px; bottom:13px; display:flex; justify-content:center; gap:18px; padding:9px 12px; border:1px solid var(--line); border-radius:12px; color:var(--muted); background:rgba(3,9,12,.72); backdrop-filter:blur(12px); pointer-events:none; font-size:.61rem; }
.city-3d-legend span { display:inline-flex; align-items:center; gap:6px; }.city-3d-legend i { width:8px; height:8px; display:inline-block; }.land-key { border:1px solid var(--cyan); box-shadow:0 0 8px var(--cyan); }.tower-key { height:12px !important; border:1px solid var(--mint); }.traffic-key { border-radius:50%; background:var(--cyan); box-shadow:0 0 8px var(--cyan); }
.city-district-panel { min-height:720px; }
.sector-city-fallback { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px; padding:12px; }

@media (max-width:1180px) {
  .city-layout { grid-template-columns:1fr; }
  .market-stage.is-city #market-city.sector-city-3d { min-height:680px; }
  #sector-city-canvas { height:680px; }
  .city-district-panel { min-height:0; }
}

@media (max-width:860px) {
  .market-stage.is-city #market-city.sector-city-3d { min-height:570px; }
  #sector-city-canvas { height:570px; }
  .city-world-label { min-width:108px; padding:7px 8px; }.city-world-label span { display:none; }
  .city-3d-guide { top:12px; left:12px; }.city-3d-guide span { display:none; }
  .city-control-dock { top:10px; right:10px; max-width:206px; flex-wrap:wrap; justify-content:flex-end; }
  .city-control-dock button { min-height:30px; min-width:30px; padding-inline:7px; }
  .city-3d-legend { gap:10px; justify-content:flex-start; overflow:hidden; white-space:nowrap; }
}

@media (max-width:560px) {
  .market-stage.is-city #market-city.sector-city-3d { min-height:510px; border-radius:16px; }
  #sector-city-canvas { height:510px; }
  .city-world-label { min-width:94px; max-width:120px; }.city-world-label:not(.is-active) { display:none; }
  .city-control-dock { top:10px; right:9px; max-width:170px; }.city-control-dock button { min-width:29px; padding-inline:6px; }
  .city-control-dock button:nth-child(5),.city-control-dock button:nth-child(6),.city-control-dock button:nth-child(7) { flex:1; }
  .city-3d-legend { left:8px; right:8px; bottom:8px; display:grid; grid-template-columns:1fr 1fr; gap:5px 10px; font-size:.55rem; }
  .city-3d-legend span:last-child { grid-column:1/-1; }
  .city-3d-hover { width:205px; }
  .sector-city-fallback { grid-template-columns:1fr; }
}

/* Version 13 · quarterly signal room */
.profile-chapter-rail { grid-template-columns:repeat(5,1fr); }
.quarterly-section-intro { margin-top:20px; }
.quarterly-signal-room { min-height:570px; margin-bottom:14px; padding:clamp(22px,3vw,34px); overflow:hidden; background:radial-gradient(circle at 0 0,color-mix(in srgb,var(--company-color) 15%,transparent),transparent 38%),radial-gradient(circle at 100% 100%,rgba(110,223,242,.08),transparent 34%),#061014; }
.quarterly-room-head { display:flex; align-items:center; justify-content:space-between; gap:18px; padding-bottom:23px; border-bottom:1px solid var(--line); }
.quarterly-room-head > div { min-width:0; display:flex; align-items:center; gap:14px; }.quarterly-room-head > div > span { min-width:0; display:grid; gap:5px; }.quarterly-room-head small,.quarterly-room-copy > span,.quarterly-explainer > span,.quarterly-empty > span { color:var(--cyan); font:800 .76rem/1 ui-monospace,monospace; letter-spacing:.12em; }.quarterly-room-head strong { overflow:hidden; font-size:1.1rem; text-overflow:ellipsis; white-space:nowrap; }.quarterly-room-head em { color:var(--muted); font-size:.82rem; font-style:normal; }.quarterly-room-head > b { padding:8px 10px; border:1px solid color-mix(in srgb,var(--company-color) 35%,var(--line)); border-radius:999px; color:var(--company-color); font:800 .72rem/1 ui-monospace,monospace; letter-spacing:.08em; white-space:nowrap; }
.quarterly-logo { display:grid; width:58px; height:58px; place-items:center; flex:0 0 auto; border-radius:17px; }.quarterly-logo img { width:72%; height:72%; }
.quarterly-room-grid { display:grid; grid-template-columns:minmax(0,1.15fr) minmax(380px,.85fr); gap:28px; align-items:stretch; padding:31px 0; }
.quarterly-room-copy { display:flex; justify-content:center; flex-direction:column; min-height:245px; padding:clamp(21px,3vw,35px); border:1px solid var(--line); border-radius:22px; background:linear-gradient(145deg,rgba(255,255,255,.035),rgba(0,0,0,.12)); }.quarterly-room-copy h2 { max-width:710px; margin:15px 0 12px; font-size:clamp(2.35rem,4.6vw,5.1rem); line-height:.91; letter-spacing:-.065em; }.quarterly-room-copy p { max-width:680px; margin:0; color:var(--muted); font-size:1rem; line-height:1.65; }.quarterly-room-copy > small { margin-top:19px; color:var(--dim); font-size:.82rem; }.quarterly-room-copy.is-positive h2 { color:var(--mint); }.quarterly-room-copy.is-cooling h2 { color:var(--gold); }.quarterly-room-copy.is-negative h2 { color:var(--red); }
.quarterly-room-stats { display:grid; grid-template-columns:1fr 1fr; gap:8px; }.quarterly-room-stats > div { display:flex; justify-content:flex-end; flex-direction:column; min-height:118px; padding:18px; border:1px solid var(--line); border-radius:17px; background:rgba(255,255,255,.018); }.quarterly-room-stats span { color:var(--dim); font:750 .75rem/1 ui-monospace,monospace; letter-spacing:.08em; }.quarterly-room-stats strong { margin:16px 0 6px; font-size:clamp(1.35rem,2.1vw,2.15rem); line-height:1; letter-spacing:-.04em; }.quarterly-room-stats small { color:var(--muted); font-size:.8rem; }.quarterly-room-stats .is-positive strong { color:var(--mint); }.quarterly-room-stats .is-negative strong { color:var(--red); }.quarterly-room-stats .is-steady strong { color:var(--gold); }
.quarterly-runway { height:200px; display:grid; grid-template-columns:repeat(8,1fr); gap:8px; align-items:end; padding:20px 6px 0; border-top:1px solid var(--line); }
.quarterly-runway-point { height:100%; display:grid; grid-template-rows:25px minmax(0,1fr) 27px; gap:6px; align-items:end; text-align:center; }.quarterly-runway-point strong { color:var(--dim); font-size:.76rem; }.quarterly-runway-point i { width:min(42px,72%); height:var(--quarter-height); min-height:8px; justify-self:center; border-radius:9px 9px 3px 3px; background:linear-gradient(180deg,var(--cyan),rgba(110,223,242,.16)); box-shadow:0 0 25px rgba(110,223,242,.12); }.quarterly-runway-point.is-positive i { background:linear-gradient(180deg,var(--mint),rgba(109,242,182,.15)); }.quarterly-runway-point.is-negative i { background:linear-gradient(180deg,var(--red),rgba(255,111,125,.15)); }.quarterly-runway-point.is-cooling i { background:linear-gradient(180deg,var(--gold),rgba(245,197,104,.15)); }.quarterly-runway-point span { color:var(--muted); font-size:.78rem; white-space:nowrap; }
.quarterly-analysis-grid { display:grid; grid-template-columns:minmax(0,1.35fr) minmax(310px,.65fr); gap:14px; }.quarterly-chart-card { min-width:0; padding:clamp(20px,3vw,34px); }.quarterly-chart-card #quarterly-chart { width:100%; height:auto; margin-top:20px; overflow:visible; }
.quarterly-explainer { padding:28px; background:radial-gradient(circle at 100% 0,rgba(245,197,104,.08),transparent 42%),var(--panel-solid); }.quarterly-explainer h3 { margin:14px 0 24px; font-size:1.75rem; line-height:1.05; letter-spacing:-.04em; }.quarterly-explainer > div { padding:17px 0; border-top:1px solid var(--line); }.quarterly-explainer > div strong { color:var(--ink); font-size:.82rem; letter-spacing:.04em; }.quarterly-explainer > div p { margin:7px 0 0; color:var(--muted); font-size:.9rem; line-height:1.55; }.quarterly-explainer > a,.quarterly-empty > a { display:inline-flex; margin-top:23px; color:var(--cyan); font-size:.86rem; font-weight:750; }
.quarterly-period-strip { display:grid; grid-template-columns:repeat(4,1fr); gap:9px; margin-top:14px; }.quarterly-period { min-height:175px; padding:20px; }.quarterly-period > span { color:var(--dim); font:750 .76rem/1 ui-monospace,monospace; letter-spacing:.08em; }.quarterly-period > strong { display:block; margin:23px 0 14px; font-size:1.65rem; letter-spacing:-.04em; }.quarterly-period > div { display:flex; flex-wrap:wrap; gap:6px; }.quarterly-period small { padding:6px 8px; border:1px solid var(--line); border-radius:999px; color:var(--muted); font-size:.72rem; }.quarterly-period p { margin:13px 0 0; color:var(--dim); font-size:.78rem; }
.quarterly-empty { min-height:410px; display:flex; justify-content:center; flex-direction:column; max-width:780px; padding:25px; }.quarterly-empty h2 { margin:16px 0 12px; font-size:clamp(2.4rem,5vw,5rem); line-height:.92; letter-spacing:-.06em; }.quarterly-empty p { margin:0; color:var(--muted); font-size:1rem; line-height:1.65; }

@media (max-width:1100px) {
  .profile-chapter-rail { grid-template-columns:repeat(3,1fr); }
  .quarterly-room-grid { grid-template-columns:1fr; }.quarterly-room-stats { grid-template-columns:repeat(4,1fr); }.quarterly-room-stats > div { min-height:105px; }
  .quarterly-analysis-grid { grid-template-columns:1fr; }.quarterly-period-strip { grid-template-columns:1fr 1fr; }
}
@media (max-width:760px) {
  .profile-chapter-rail { grid-template-columns:1fr 1fr; }.profile-tabs { display:grid; grid-template-columns:repeat(3,1fr); }
  .quarterly-room-head { align-items:flex-start; flex-direction:column; }.quarterly-room-stats { grid-template-columns:1fr 1fr; }
  .quarterly-runway { height:310px; grid-template-columns:repeat(4,1fr); grid-template-rows:1fr 1fr; }.quarterly-runway-point { min-height:135px; }
  .quarterly-chart-card .surface-head { align-items:flex-start; flex-direction:column; }
}
@media (max-width:520px) {
  .profile-chapter-rail { grid-template-columns:1fr; }.profile-tabs { display:grid; grid-template-columns:1fr 1fr; }
  .quarterly-signal-room { padding:19px; }.quarterly-room-copy { padding:22px 18px; }.quarterly-room-copy h2 { font-size:2.45rem; }.quarterly-room-stats { grid-template-columns:1fr; }
  .quarterly-runway { height:auto; grid-template-columns:repeat(2,1fr); grid-template-rows:repeat(4,125px); }.quarterly-period-strip { grid-template-columns:1fr; }
}

/* Company World v1 · immersive operating-system campus */
.company-world-experience {
  position:relative;
  min-height:780px;
  margin:0 0 16px;
  overflow:hidden;
  border-color:color-mix(in srgb,var(--company-color) 24%,var(--line));
  background:radial-gradient(circle at 50% 44%,color-mix(in srgb,var(--company-color) 9%,transparent),transparent 46%),#020609;
  box-shadow:inset 0 1px rgba(255,255,255,.04),0 40px 110px rgba(0,0,0,.5);
}
#company-world-canvas { position:absolute; z-index:1; inset:0; width:100%; height:100%; outline:none; cursor:grab; touch-action:none; }
#company-world-canvas:focus-visible { outline:2px solid var(--company-color); outline-offset:-5px; }
.company-world-vignette { position:absolute; z-index:2; inset:0; pointer-events:none; background:radial-gradient(circle at 51% 48%,transparent 19%,rgba(2,6,9,.05) 52%,rgba(2,6,9,.78) 100%),linear-gradient(90deg,rgba(2,6,9,.78),transparent 34%,transparent 67%,rgba(2,6,9,.62)); }
.company-world-intro { position:absolute; z-index:6; top:24px; left:24px; width:min(370px,34%); padding:18px; border:1px solid color-mix(in srgb,var(--company-color) 26%,var(--line)); border-radius:18px; background:rgba(3,9,12,.74); box-shadow:0 24px 60px rgba(0,0,0,.28); backdrop-filter:blur(16px); }
.company-world-identity { display:flex; align-items:center; gap:12px; }
.company-world-logo { display:grid; width:52px; height:52px; place-items:center; flex:0 0 auto; border-radius:15px; }
.company-world-logo img { width:70%; height:70%; }
.company-world-identity > div:last-child { display:grid; gap:5px; }
.company-world-identity span { color:var(--company-color); font:800 .82rem/1 ui-monospace,monospace; letter-spacing:.1em; }
.company-world-identity small { color:var(--muted); font-size:.82rem; }
.company-world-intro h1 { max-width:330px; margin:18px 0 10px; font-size:clamp(2.65rem,4.8vw,4.9rem); font-weight:610; line-height:.88; letter-spacing:-.07em; }
.company-world-intro > p { margin:0; color:#bdc9c5; font-size:1rem; line-height:1.55; }
.company-world-badges { display:flex; flex-wrap:wrap; gap:7px; margin-top:17px; }
.company-world-badges span { padding:7px 9px; border:1px solid var(--line); border-radius:999px; color:var(--muted); background:rgba(255,255,255,.025); font-size:.76rem; }
.company-world-mode.segmented { position:absolute; z-index:8; top:22px; right:22px; background:rgba(3,9,12,.78); backdrop-filter:blur(14px); }
.company-world-mode.segmented button { min-height:36px; padding-inline:13px; font-size:.84rem; }
.company-world-mode.segmented button.is-active { background:var(--company-color); box-shadow:0 8px 26px color-mix(in srgb,var(--company-color) 20%,transparent); }
.company-world-controls { position:absolute; z-index:8; top:73px; right:22px; display:flex; gap:5px; padding:5px; border:1px solid var(--line); border-radius:14px; background:rgba(3,9,12,.78); backdrop-filter:blur(14px); }
.company-world-controls button { min-width:34px; min-height:34px; padding:0 9px; border:1px solid transparent; border-radius:9px; color:var(--muted); background:transparent; cursor:pointer; font-size:.82rem; font-weight:750; }
.company-world-controls button:hover,.company-world-controls button[aria-pressed="true"] { color:var(--ink); border-color:var(--line-strong); background:rgba(255,255,255,.06); }
.company-world-reading { position:absolute; z-index:7; top:132px; right:22px; width:342px; min-height:385px; display:flex; flex-direction:column; padding:23px; border:1px solid color-mix(in srgb,var(--company-color) 30%,var(--line)); border-radius:20px; background:radial-gradient(circle at 100% 0,color-mix(in srgb,var(--company-color) 13%,transparent),transparent 44%),rgba(3,9,12,.84); box-shadow:0 24px 70px rgba(0,0,0,.36); backdrop-filter:blur(18px); }
.company-world-reading > span { color:var(--company-color); font:800 .78rem/1.25 ui-monospace,monospace; letter-spacing:.1em; }
.company-world-reading h2 { margin:14px 0 8px; font-size:1.55rem; line-height:1.05; letter-spacing:-.045em; }
.company-world-reading > strong { margin:8px 0 13px; color:var(--company-color); font-size:3.55rem; line-height:.82; letter-spacing:-.075em; text-shadow:0 0 28px color-mix(in srgb,var(--company-color) 20%,transparent); }
.company-world-reading > p { margin:0; color:#b8c5c1; font-size:.92rem; line-height:1.62; }
.company-world-evidence { display:grid; gap:7px; margin-top:18px; padding:13px; border:1px solid var(--line); border-radius:14px; background:rgba(0,0,0,.2); }
.company-world-evidence span { color:var(--dim); font:750 .75rem/1 ui-monospace,monospace; letter-spacing:.08em; }
.company-world-evidence strong { color:var(--ink); font-size:.85rem; line-height:1.48; }
.company-world-evidence small { color:var(--dim); font-size:.76rem; }
.company-world-reading-actions { display:grid; grid-template-columns:1fr auto; gap:7px; margin-top:auto; padding-top:18px; }
.company-world-reading-actions button,.company-world-reading-actions a { min-height:40px; display:grid; place-items:center; padding:0 12px; border:1px solid color-mix(in srgb,var(--company-color) 44%,var(--line)); border-radius:11px; color:var(--ink); background:color-mix(in srgb,var(--company-color) 10%,transparent); cursor:pointer; font-size:.82rem; font-weight:750; text-align:center; }
.company-world-reading-actions a { border-color:var(--line); color:var(--muted); background:rgba(255,255,255,.025); }
.company-world-guide { position:absolute; z-index:6; left:26px; bottom:116px; display:grid; gap:5px; padding:11px 13px; border:1px solid var(--line); border-radius:13px; background:rgba(3,9,12,.68); backdrop-filter:blur(12px); pointer-events:none; }
.company-world-guide strong { color:var(--company-color); font:800 .78rem/1 ui-monospace,monospace; letter-spacing:.1em; }.company-world-guide span { color:var(--muted); font-size:.78rem; }
.company-world-zone-rail { position:absolute; z-index:8; left:18px; right:18px; bottom:16px; display:grid; grid-template-columns:repeat(6,1fr); gap:7px; }
.company-world-zone-rail button { min-width:0; min-height:82px; display:grid; align-content:center; gap:8px; padding:12px 13px; border:1px solid var(--line); border-radius:14px; color:var(--muted); background:rgba(3,9,12,.82); backdrop-filter:blur(14px); cursor:pointer; text-align:left; transition:150ms ease; }
.company-world-zone-rail button:hover,.company-world-zone-rail button.is-active { color:var(--ink); border-color:color-mix(in srgb,var(--company-color) 56%,var(--line)); background:color-mix(in srgb,var(--company-color) 9%,rgba(3,9,12,.9)); transform:translateY(-2px); }
.company-world-zone-rail span { font-size:.76rem; }.company-world-zone-rail strong { overflow:hidden; color:var(--ink); font-size:.9rem; text-overflow:ellipsis; white-space:nowrap; }
.company-world-label-layer { position:absolute; z-index:5; inset:0; overflow:hidden; pointer-events:none; }
.company-world-label { position:absolute; left:0; top:0; min-width:116px; display:grid; gap:4px; padding:8px 10px; border:1px solid color-mix(in srgb,var(--zone-color) 55%,var(--line)); border-radius:11px; color:var(--ink); background:rgba(3,9,12,.8); box-shadow:0 14px 34px rgba(0,0,0,.35),0 0 24px color-mix(in srgb,var(--zone-color) 12%,transparent); backdrop-filter:blur(12px); cursor:pointer; pointer-events:auto; text-align:left; transition:opacity 140ms ease,border-color 140ms ease,background 140ms ease; }
.company-world-label strong { font-size:.79rem; }.company-world-label span { color:var(--muted); font-size:.72rem; }
.company-world-label:hover,.company-world-label.is-active { border-color:var(--zone-color); background:color-mix(in srgb,var(--zone-color) 10%,rgba(3,9,12,.9)); }
.company-world-label.is-behind { opacity:0; pointer-events:none; }
.company-world-label[hidden],.company-world-hover[hidden] { display:none; }
.company-world-hover { position:absolute; z-index:12; width:225px; display:grid; gap:5px; padding:12px 13px; border:1px solid var(--line-strong); border-radius:13px; background:rgba(3,9,12,.94); box-shadow:0 18px 48px rgba(0,0,0,.52); backdrop-filter:blur(14px); pointer-events:none; }
.company-world-hover span { color:var(--company-color); font:750 .72rem/1 ui-monospace,monospace; letter-spacing:.08em; }.company-world-hover strong { font-size:.9rem; }.company-world-hover small { color:var(--muted); font-size:.76rem; }
.company-world-loading { position:absolute; z-index:15; inset:0; display:grid; place-content:center; justify-items:center; gap:8px; background:radial-gradient(circle,color-mix(in srgb,var(--company-color) 11%,#06100d),#020609 65%); transition:opacity 420ms ease,visibility 420ms ease; }
.company-world-loading.is-hidden { opacity:0; visibility:hidden; pointer-events:none; }
.company-world-loading > span { width:62px; height:62px; margin-bottom:7px; border:1px solid color-mix(in srgb,var(--company-color) 32%,transparent); border-top-color:var(--company-color); border-radius:50%; animation:spin 1.25s linear infinite; box-shadow:0 0 34px color-mix(in srgb,var(--company-color) 14%,transparent); }.company-world-loading strong { font-size:1.05rem; }.company-world-loading small { color:var(--muted); font-size:.8rem; }
.company-world-experience.is-fallback #company-world-canvas,.company-world-experience.is-fallback .company-world-label-layer,.company-world-experience.is-fallback .company-world-controls,.company-world-experience.is-fallback .company-world-loading { display:none; }
.company-world-experience.is-fallback { min-height:610px; background:radial-gradient(circle at 50% 30%,color-mix(in srgb,var(--company-color) 12%,transparent),transparent 44%),#04090c; }

@media (max-width:1180px) {
  .company-world-intro { width:330px; }
  .company-world-reading { width:310px; }
  .company-world-zone-rail button { padding-inline:10px; }
}

@media (max-width:860px) {
  .company-world-experience { min-height:1080px; }
  .company-world-intro { top:14px; left:14px; width:calc(100% - 28px); max-width:430px; padding:15px; }
  .company-world-intro h1 { margin-top:13px; font-size:3rem; }.company-world-intro > p { max-width:380px; font-size:.9rem; }.company-world-badges { margin-top:12px; }
  .company-world-mode.segmented { top:14px; left:auto; right:14px; }
  .company-world-controls { top:62px; right:14px; max-width:260px; flex-wrap:wrap; justify-content:flex-end; }
  .company-world-reading { top:auto; left:14px; right:14px; bottom:110px; width:auto; min-height:0; padding:19px; }
  .company-world-reading > strong { font-size:3rem; }.company-world-reading > p { max-width:680px; }
  .company-world-evidence { margin-top:13px; }
  .company-world-guide { display:none; }
  .company-world-zone-rail { left:10px; right:10px; bottom:10px; display:flex; overflow-x:auto; scrollbar-width:none; }.company-world-zone-rail::-webkit-scrollbar { display:none; }
  .company-world-zone-rail button { min-width:132px; min-height:86px; flex:1 0 132px; }
  .company-world-label { min-width:100px; }
}

@media (max-width:560px) {
  .company-world-experience { height:calc(100dvh - var(--header-height) - var(--mobile-tab-height) - 36px); min-height:780px; max-height:860px; border-radius:18px; }
  .company-world-intro { top:12px; left:12px; right:12px; width:auto; max-width:none; padding:13px; }
  .company-world-intro h1 { margin:10px 0 0; font-size:clamp(2.15rem,11.5vw,2.7rem); }
  .company-world-intro > p,.company-world-badges { display:none; }
  .company-world-identity small { font-size:.72rem; }
  .company-world-logo { width:46px; height:46px; border-radius:13px; }
  .company-world-mode.segmented { top:143px; right:12px; left:12px; display:grid; grid-template-columns:1fr 1fr; }
  .company-world-mode.segmented button { padding-inline:7px; font-size:.75rem; }
  .company-world-controls { top:191px; left:12px; right:12px; max-width:none; justify-content:center; }
  .company-world-controls button { min-width:30px; min-height:31px; padding-inline:6px; font-size:.72rem; }
  .company-world-reading { bottom:96px; padding:14px; }
  .company-world-reading h2 { margin:8px 0 5px; font-size:1.12rem; }
  .company-world-reading > strong { margin:4px 0 7px; font-size:2.15rem; }
  .company-world-reading > p { display:-webkit-box; overflow:hidden; font-size:.78rem; line-height:1.42; -webkit-box-orient:vertical; -webkit-line-clamp:2; }
  .company-world-evidence { display:none; }
  .company-world-reading-actions { grid-template-columns:1fr auto; padding-top:11px; }
  .company-world-reading-actions button,.company-world-reading-actions a { min-height:36px; padding-inline:9px; font-size:.72rem; }
  .company-world-label { min-width:96px; }.company-world-label:not(.is-active) { display:none; }
  .company-world-zone-rail button { min-width:126px; flex-basis:126px; }
}

/* Version 11 · two-lens market layer */
.market-lens-console {
  display:grid;
  grid-template-columns:minmax(300px,.8fr) minmax(420px,1.05fr) minmax(260px,.62fr);
  gap:1px;
  min-height:260px;
  margin-bottom:14px;
  padding:0;
  overflow:hidden;
  background:var(--line);
}
.market-lens-intro,.market-lens-switch,.market-lens-status { background:#071014; }
.market-lens-intro { display:flex; flex-direction:column; justify-content:center; padding:30px; background:radial-gradient(circle at 0 0,rgba(109,242,182,.1),transparent 45%),#071014; }
.market-lens-intro > span { color:var(--mint); font:800 .68rem/1.2 ui-monospace,monospace; letter-spacing:.12em; }
.market-lens-intro h2 { margin:14px 0 10px; font-size:clamp(1.6rem,2.4vw,2.45rem); line-height:1; letter-spacing:-.05em; }
.market-lens-intro p { max-width:520px; margin:0; color:var(--muted); font-size:.82rem; line-height:1.65; }
.market-lens-switch { display:grid; gap:8px; padding:20px; }
.market-lens-switch button { min-width:0; display:grid; grid-template-columns:auto minmax(0,1fr) auto; gap:13px; align-items:center; padding:17px; border:1px solid var(--line); border-radius:16px; color:var(--muted); background:rgba(255,255,255,.016); cursor:pointer; text-align:left; transition:transform 160ms ease,border-color 160ms ease,background 160ms ease; }
.market-lens-switch button:hover { transform:translateY(-1px); border-color:var(--line-strong); }
.market-lens-switch button > i { width:11px; height:11px; border:1px solid currentColor; border-radius:50%; box-shadow:0 0 0 5px rgba(255,255,255,.025); }
.market-lens-switch button > span { min-width:0; display:grid; gap:5px; }
.market-lens-switch small { color:var(--dim); font:750 .62rem/1 ui-monospace,monospace; letter-spacing:.1em; }
.market-lens-switch strong { color:var(--ink); font-size:1rem; }
.market-lens-switch em { overflow:hidden; color:var(--muted); font-size:.72rem; font-style:normal; text-overflow:ellipsis; white-space:nowrap; }
.market-lens-switch b { padding:7px 8px; border:1px solid var(--line); border-radius:999px; color:var(--dim); font:800 .6rem/1 ui-monospace,monospace; letter-spacing:.07em; white-space:nowrap; }
.market-lens-switch button.is-active:first-child { border-color:rgba(109,242,182,.48); background:linear-gradient(135deg,rgba(109,242,182,.11),rgba(255,255,255,.016)); box-shadow:inset 0 0 32px rgba(109,242,182,.025); }
.market-lens-switch button.is-active:first-child > i { color:var(--mint); background:var(--mint); box-shadow:0 0 20px rgba(109,242,182,.5); }
.market-lens-switch button.is-active:first-child b { color:#03110b; border-color:var(--mint); background:var(--mint); }
.market-lens-switch button.is-active:last-child { border-color:rgba(110,223,242,.5); background:linear-gradient(135deg,rgba(110,223,242,.1),rgba(255,255,255,.016)); }
.market-lens-switch button.is-active:last-child > i { color:var(--cyan); background:var(--cyan); box-shadow:0 0 20px rgba(110,223,242,.5); }
.market-lens-switch button.is-active:last-child b { color:#031015; border-color:var(--cyan); background:var(--cyan); }
.market-lens-status { display:flex; flex-direction:column; justify-content:center; padding:27px; background:radial-gradient(circle at 100% 0,rgba(110,223,242,.07),transparent 45%),#061014; }
.lens-status-light { display:flex; align-items:center; gap:8px; color:var(--dim); font:800 .64rem/1 ui-monospace,monospace; letter-spacing:.09em; }
.lens-status-light i { width:8px; height:8px; border-radius:50%; background:currentColor; }
.lens-status-light.is-connected { color:var(--mint); }.lens-status-light.is-connected i { box-shadow:0 0 16px rgba(109,242,182,.75); }
.lens-status-light.is-waiting { color:var(--gold); }.lens-status-light.is-waiting i { box-shadow:0 0 16px rgba(245,197,104,.55); }
.market-lens-status > strong { margin-top:17px; font-size:1.15rem; line-height:1.25; }
.market-lens-status > p { margin:8px 0 18px; color:var(--muted); font-size:.76rem; line-height:1.55; }
.market-lens-status footer { display:flex; flex-wrap:wrap; gap:6px; }
.market-lens-status footer span { padding:6px 8px; border:1px solid var(--line); border-radius:999px; color:var(--dim); font-size:.64rem; }
.market-read-stat.is-pending strong { color:var(--dim); }
.price-read-copy { background:radial-gradient(circle at 0 50%,rgba(110,223,242,.13),transparent 55%),#071014 !important; }

.market-price-gate { position:absolute; z-index:12; top:66px; right:0; bottom:0; left:0; display:grid; grid-template-columns:minmax(250px,.75fr) minmax(430px,1.25fr); align-items:center; gap:clamp(30px,6vw,90px); padding:clamp(36px,6vw,88px); overflow:hidden; background:radial-gradient(circle at 22% 48%,rgba(110,223,242,.12),transparent 23%),linear-gradient(115deg,rgba(3,9,12,.97),rgba(3,8,10,.91)); backdrop-filter:blur(15px); }
.market-price-gate[hidden] { display:none; }
.market-stage.is-price-pending { min-height:720px; }
.market-stage.is-price-pending .market-scene,.market-stage.is-price-pending .breadth-strip { opacity:.15; filter:blur(9px) saturate(.45); pointer-events:none; }
.price-gate-orbit { position:relative; width:min(28vw,310px); aspect-ratio:1; justify-self:center; border:1px solid rgba(110,223,242,.3); border-radius:50%; box-shadow:0 0 90px rgba(110,223,242,.08),inset 0 0 80px rgba(110,223,242,.04); animation:price-orbit-breathe 4.8s ease-in-out infinite; }
.price-gate-orbit::before,.price-gate-orbit::after,.price-gate-orbit i { content:""; position:absolute; inset:14%; border:1px solid rgba(110,223,242,.16); border-radius:50%; }
.price-gate-orbit::after { inset:33%; border-color:rgba(110,223,242,.3); background:radial-gradient(circle,rgba(110,223,242,.2),rgba(110,223,242,.02) 58%,transparent 62%); box-shadow:0 0 54px rgba(110,223,242,.14); }
.price-gate-orbit i:nth-child(1) { inset:5% 42%; border-radius:50%; transform:rotate(48deg); }
.price-gate-orbit i:nth-child(2) { inset:42% 5%; border-radius:50%; transform:rotate(-18deg); }
.price-gate-orbit i:nth-child(3) { inset:24%; border-style:dashed; animation:spin 18s linear infinite; }
.price-gate-orbit strong { position:absolute; z-index:2; inset:50% auto auto 50%; transform:translate(-50%,-50%); color:var(--cyan); font:800 2.5rem/1 ui-monospace,monospace; letter-spacing:-.08em; text-shadow:0 0 26px rgba(110,223,242,.45); }
@keyframes price-orbit-breathe { 50% { transform:scale(1.025); box-shadow:0 0 120px rgba(110,223,242,.13),inset 0 0 80px rgba(110,223,242,.06); } }
.price-gate-copy { position:relative; z-index:2; max-width:760px; }
.price-gate-copy > span { color:var(--cyan); font:800 .7rem/1 ui-monospace,monospace; letter-spacing:.13em; }
.price-gate-copy h2 { margin:17px 0 12px; font-size:clamp(3rem,5vw,6rem); line-height:.88; letter-spacing:-.075em; }
.price-gate-copy > p { max-width:690px; margin:0; color:#afbfbb; font-size:.96rem; line-height:1.72; }
.price-gate-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:7px; margin:28px 0 20px; }
.price-gate-grid div { min-height:112px; display:flex; flex-direction:column; justify-content:center; padding:15px; border:1px solid var(--line); border-radius:15px; background:rgba(255,255,255,.022); }
.price-gate-grid small { color:var(--dim); font:750 .61rem/1 ui-monospace,monospace; letter-spacing:.08em; }.price-gate-grid strong { margin:11px 0 6px; color:var(--cyan); font-size:.95rem; }.price-gate-grid span { color:var(--muted); font-size:.68rem; line-height:1.35; }
.price-gate-copy > button { min-height:44px; }
.city-3d-legend span b { color:inherit; font:inherit; }

.company-market-context { display:grid; grid-template-columns:minmax(280px,1.1fr) minmax(220px,.72fr) 46px minmax(220px,.72fr) auto; gap:1px; align-items:stretch; min-height:180px; margin:-10px 0 14px; padding:0; overflow:hidden; background:var(--line); }
.company-market-context > * { background:#071014; }
.company-context-intro { display:flex; flex-direction:column; justify-content:center; padding:25px 28px; background:radial-gradient(circle at 0 50%,color-mix(in srgb,var(--company-color) 11%,transparent),transparent 55%),#071014; }
.company-context-intro > span { color:var(--company-color); font:800 .65rem/1 ui-monospace,monospace; letter-spacing:.1em; }.company-context-intro h2 { margin:10px 0 7px; font-size:1.35rem; line-height:1.05; letter-spacing:-.035em; }.company-context-intro p { max-width:500px; margin:0; color:var(--muted); font-size:.74rem; line-height:1.5; }
.company-context-lens { display:flex; flex-direction:column; justify-content:center; padding:20px; }
.company-context-lens > span { color:var(--dim); font:800 .62rem/1.2 ui-monospace,monospace; letter-spacing:.08em; }.company-context-lens > span i { display:inline-block; width:7px; height:7px; margin-right:6px; border-radius:50%; background:currentColor; }
.company-context-lens > strong { margin:15px 0 7px; font-size:1rem; }.company-context-lens > p { margin:0; color:var(--dim); font-size:.68rem; line-height:1.45; }
.company-context-lens.is-active > span { color:var(--mint); }.company-context-lens.is-active > span i { box-shadow:0 0 13px rgba(109,242,182,.65); }
.company-context-lens.is-waiting > span { color:var(--gold); }.company-context-lens.is-waiting > span i { box-shadow:0 0 13px rgba(245,197,104,.55); }
.company-context-divider { display:grid; place-items:center; color:var(--dim); font-size:1.5rem; }
.company-market-context > button { min-width:140px; padding:0 22px; border-radius:0; color:var(--cyan); background:linear-gradient(135deg,rgba(110,223,242,.08),#071014); }

@media (max-width:1180px) {
  .market-lens-console { grid-template-columns:1fr 1.35fr; }.market-lens-status { grid-column:1/-1; min-height:150px; }
  .company-market-context { grid-template-columns:1fr 1fr 44px 1fr; }.company-market-context > button { grid-column:1/-1; min-height:52px; }
}
@media (max-width:860px) {
  .market-lens-console { grid-template-columns:1fr; }.market-lens-intro { min-height:210px; }.market-lens-status { grid-column:auto; }
  .market-price-gate { grid-template-columns:1fr; align-content:center; gap:25px; padding:35px 24px; text-align:center; }.price-gate-orbit { width:190px; }.price-gate-copy { margin:auto; }.price-gate-copy > p { margin-inline:auto; }.price-gate-grid { text-align:left; }
  .company-market-context { grid-template-columns:minmax(0,1fr) 44px minmax(0,1fr); }.company-context-intro { grid-column:1/-1; min-height:150px; }
}
@media (max-width:560px) {
  .market-lens-intro { padding:23px; }.market-lens-switch { padding:12px; }.market-lens-switch button { grid-template-columns:auto 1fr; }.market-lens-switch button > b { grid-column:2; justify-self:start; }.market-lens-status { padding:23px; }
  .market-stage.is-price-pending { min-height:910px; }.market-price-gate { top:78px; display:block; overflow-y:auto; }.price-gate-orbit { width:150px; margin:5px auto 32px; }.price-gate-copy h2 { font-size:3.4rem; }.price-gate-grid { grid-template-columns:1fr; }.price-gate-grid div { min-height:85px; }
  .company-market-context { grid-template-columns:1fr; }.company-context-intro,.company-market-context > button { grid-column:auto; }.company-context-divider { min-height:40px; }.company-context-lens { min-height:125px; }.company-market-context > button { min-height:58px; }
}

/* Version 12 · quote-driven price operating system */
.price-intelligence[hidden] { display:none; }
.price-intelligence { margin-bottom:14px; padding:0; overflow:hidden; background:radial-gradient(circle at 100% 0,rgba(110,223,242,.09),transparent 35%),#061014; }
.price-intelligence-head { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:30px; align-items:center; min-height:190px; padding:30px; border-bottom:1px solid var(--line); }
.price-intelligence-head > div:first-child > span,.price-focus-card small,.price-sector-pulse header span,.price-feed-health header > span { color:var(--cyan); font:800 .72rem/1 ui-monospace,monospace; letter-spacing:.12em; }
.price-intelligence-head h2 { max-width:820px; margin:13px 0 8px; font-size:clamp(2rem,3.2vw,3.65rem); line-height:.96; letter-spacing:-.055em; }
.price-intelligence-head p { max-width:720px; margin:0; color:var(--muted); font-size:.94rem; line-height:1.6; }
.market-session-clock { min-width:250px; display:grid; justify-items:end; gap:8px; padding:18px 20px; border:1px solid var(--line); border-radius:17px; background:rgba(0,0,0,.2); text-align:right; }
.market-session-clock > span { display:flex; align-items:center; gap:8px; color:var(--muted); font:800 .74rem/1 ui-monospace,monospace; letter-spacing:.08em; }.market-session-clock > span i { width:8px; height:8px; border-radius:50%; background:currentColor; }
.market-session-clock > strong { color:var(--ink); font-size:2rem; line-height:1; letter-spacing:-.045em; }.market-session-clock > small { max-width:250px; color:var(--dim); font-size:.78rem; line-height:1.4; }
.market-session-clock[data-tone="open"] > span { color:var(--mint); }.market-session-clock[data-tone="open"] > span i { box-shadow:0 0 16px rgba(109,242,182,.72); }
.market-session-clock[data-tone="early"] > span,.market-session-clock[data-tone="late"] > span { color:var(--gold); }.market-session-clock[data-tone="early"] > span i,.market-session-clock[data-tone="late"] > span i { box-shadow:0 0 16px rgba(245,197,104,.58); }
.price-intelligence-grid { display:grid; grid-template-columns:minmax(280px,.9fr) minmax(370px,1.2fr) minmax(260px,.75fr); gap:1px; background:var(--line); }
.price-intelligence-grid > article { min-width:0; min-height:420px; padding:24px; background:#071014; }
.price-focus-card { background:radial-gradient(circle at 0 0,color-mix(in srgb,var(--company-color) 12%,transparent),transparent 45%),#071014 !important; }
.price-focus-card > header { display:flex; align-items:flex-start; justify-content:space-between; gap:14px; }.price-focus-card > header > div { min-width:0; display:flex; align-items:center; gap:12px; }.price-focus-card > header span { min-width:0; display:grid; gap:5px; }.price-focus-card > header strong { overflow:hidden; font-size:1rem; text-overflow:ellipsis; white-space:nowrap; }.price-focus-card > header em { color:var(--dim); font-size:.78rem; font-style:normal; }
.price-focus-logo { display:grid; width:54px; height:54px; place-items:center; flex:0 0 auto; border-radius:15px; }.price-focus-logo img { width:72%; height:72%; }
.price-focus-card header > b,.price-feed-health header b { padding:7px 8px; border:1px solid var(--line); border-radius:999px; color:var(--dim); font:800 .66rem/1 ui-monospace,monospace; letter-spacing:.07em; white-space:nowrap; }
.price-focus-card header > b.is-positive { color:var(--mint); border-color:rgba(109,242,182,.28); }.price-focus-card header > b.is-negative { color:var(--red); border-color:rgba(255,111,125,.28); }.price-focus-card header > b.is-waiting { color:var(--gold); border-color:rgba(245,197,104,.28); }
.price-focus-value { display:grid; gap:9px; margin:38px 0 28px; }.price-focus-value > strong { font-size:clamp(2.3rem,3.4vw,4rem); line-height:.9; letter-spacing:-.07em; }.price-focus-value > span { font-size:1rem; font-weight:800; }.price-focus-value > span.is-positive { color:var(--mint); }.price-focus-value > span.is-negative { color:var(--red); }.price-focus-value > span.is-waiting { color:var(--gold); font-size:.85rem; }
.price-focus-stats { display:grid; gap:1px; margin-bottom:21px; border:1px solid var(--line); border-radius:14px; overflow:hidden; background:var(--line); }.price-focus-stats > div { display:grid; grid-template-columns:88px minmax(0,1fr); gap:12px; align-items:center; min-height:55px; padding:11px 13px; background:rgba(1,5,7,.45); }.price-focus-stats span { color:var(--dim); font:750 .68rem/1 ui-monospace,monospace; letter-spacing:.07em; }.price-focus-stats strong { overflow:hidden; font-size:.78rem; text-overflow:ellipsis; white-space:nowrap; }
.price-focus-card > p,.price-feed-health > p { margin:0; color:var(--muted); font-size:.82rem; line-height:1.58; }
.price-sector-pulse > header { display:flex; align-items:flex-start; justify-content:space-between; gap:16px; }.price-sector-pulse h3 { max-width:470px; margin:10px 0 0; font-size:1.45rem; line-height:1.08; letter-spacing:-.035em; }.price-sector-pulse header b { color:var(--dim); font-size:.76rem; font-weight:650; }
.sector-pulse-list { display:grid; gap:9px; margin-top:25px; }.sector-pulse-row { display:grid; grid-template-columns:140px minmax(90px,1fr) 62px; gap:12px; align-items:center; min-height:32px; }.sector-pulse-row > span { overflow:hidden; color:var(--muted); font-size:.78rem; text-overflow:ellipsis; white-space:nowrap; }.sector-pulse-row > strong { font-size:.77rem; text-align:right; }.sector-pulse-row.is-positive > strong { color:var(--mint); }.sector-pulse-row.is-negative > strong { color:var(--red); }.sector-pulse-row.is-waiting > strong { color:var(--dim); }
.sector-pulse-track { position:relative; height:8px; overflow:hidden; border-radius:99px; background:rgba(255,255,255,.055); }.sector-pulse-track::after { content:""; position:absolute; top:0; bottom:0; left:50%; width:1px; background:rgba(255,255,255,.24); }.sector-pulse-track i { position:absolute; top:0; bottom:0; width:var(--pulse-width); border-radius:99px; background:var(--dim); }.sector-pulse-row.is-positive i { left:50%; background:linear-gradient(90deg,rgba(109,242,182,.34),var(--mint)); }.sector-pulse-row.is-negative i { right:50%; background:linear-gradient(270deg,rgba(255,111,125,.34),var(--red)); }.sector-pulse-row.is-flat i { left:calc(50% - 1px); width:2px; background:var(--gold); }
.price-feed-health > header { display:grid; gap:12px; }.price-feed-health header b { width:max-content; display:flex; align-items:center; gap:7px; padding-left:0; border:0; }.price-feed-health header b i { width:8px; height:8px; border-radius:50%; background:currentColor; }.price-feed-health header b.is-connected { color:var(--mint); }.price-feed-health header b.is-waiting { color:var(--gold); }
.feed-coverage-orbit { position:relative; width:176px; aspect-ratio:1; margin:28px auto; border-radius:50%; background:conic-gradient(var(--cyan) calc(var(--coverage) * 1%),rgba(255,255,255,.065) 0); box-shadow:0 0 56px rgba(110,223,242,.08); }.feed-coverage-orbit::before { content:""; position:absolute; inset:8px; border-radius:50%; background:#071014; }.feed-coverage-orbit > div { position:absolute; inset:0; display:grid; place-content:center; gap:7px; text-align:center; }.feed-coverage-orbit strong { font-size:2rem; letter-spacing:-.055em; }.feed-coverage-orbit span { color:var(--dim); font:750 .66rem/1.25 ui-monospace,monospace; letter-spacing:.08em; }
.feed-health-ledger { display:grid; gap:1px; margin-bottom:18px; border:1px solid var(--line); border-radius:14px; overflow:hidden; background:var(--line); }.feed-health-ledger > div { display:grid; grid-template-columns:76px minmax(0,1fr); gap:10px; align-items:center; min-height:46px; padding:9px 11px; background:rgba(1,5,7,.45); }.feed-health-ledger span { color:var(--dim); font:750 .66rem/1 ui-monospace,monospace; letter-spacing:.07em; }.feed-health-ledger strong { overflow:hidden; font-size:.76rem; text-overflow:ellipsis; white-space:nowrap; }
.price-intelligence-source { min-height:54px; display:flex; align-items:center; justify-content:space-between; gap:18px; padding:12px 24px; border-top:1px solid var(--line); color:var(--dim); font-size:.76rem; }.price-intelligence-source a { color:var(--cyan); font-weight:750; white-space:nowrap; }
.market-stage.is-price-ready { box-shadow:inset 0 1px 0 rgba(110,223,242,.14),0 24px 80px rgba(0,0,0,.2); }
body[data-market-lens="price"] .market-scope button.is-active { color:#031015; background:var(--cyan); }

@media (max-width:1180px) {
  .price-intelligence-grid { grid-template-columns:1fr 1fr; }.price-feed-health { grid-column:1/-1; display:grid; grid-template-columns:minmax(220px,.45fr) 210px minmax(260px,.55fr); column-gap:25px; align-items:center; }.price-feed-health > header { align-self:start; }.feed-coverage-orbit { grid-column:2; grid-row:1/3; }.feed-health-ledger { margin:0; }.price-feed-health > p { grid-column:3; }
}
@media (max-width:860px) {
  .price-intelligence-head { grid-template-columns:1fr; }.market-session-clock { justify-items:start; text-align:left; }.price-intelligence-grid { grid-template-columns:1fr; }.price-intelligence-grid > article { min-height:0; }.price-feed-health { grid-column:auto; display:block; }.feed-coverage-orbit { margin:28px auto; }
}
@media (max-width:560px) {
  .price-intelligence-head { padding:23px; }.price-intelligence-head h2 { font-size:2.55rem; }.market-session-clock { min-width:0; width:100%; }.price-intelligence-grid > article { padding:20px; }
  .price-focus-card > header { align-items:flex-start; flex-direction:column; }.price-focus-value { margin-block:30px 23px; }.price-focus-stats > div { grid-template-columns:75px minmax(0,1fr); }
  .sector-pulse-row { grid-template-columns:112px minmax(70px,1fr) 50px; gap:8px; }.price-intelligence-source { align-items:flex-start; flex-direction:column; }
}

/* Version 14 · annual shape / quarterly pulse */
.business-horizon-console[hidden] { display:none; }
.business-horizon-console {
  display:grid;
  grid-template-columns:minmax(290px,.8fr) minmax(420px,1.04fr) minmax(290px,.78fr);
  gap:1px;
  min-height:250px;
  margin-bottom:14px;
  padding:0;
  overflow:hidden;
  background:var(--line);
}
.business-horizon-intro,.business-horizon-switch,.business-horizon-status { background:#071014; }
.business-horizon-intro { display:flex; flex-direction:column; justify-content:center; padding:30px; background:radial-gradient(circle at 0 0,rgba(110,223,242,.09),transparent 45%),#071014; }
.business-horizon-intro > span { color:var(--cyan); font:800 .68rem/1.2 ui-monospace,monospace; letter-spacing:.12em; }
.business-horizon-intro h2 { margin:14px 0 10px; font-size:clamp(1.65rem,2.4vw,2.5rem); line-height:.98; letter-spacing:-.052em; }
.business-horizon-intro p { max-width:520px; margin:0; color:var(--muted); font-size:.82rem; line-height:1.65; }
.business-horizon-switch { display:grid; grid-template-columns:1fr 1fr; gap:8px; align-content:stretch; padding:14px; }
.business-horizon-switch button { position:relative; min-width:0; display:flex; justify-content:flex-end; flex-direction:column; gap:9px; padding:22px; overflow:hidden; border:1px solid var(--line); border-radius:18px; color:var(--muted); background:rgba(255,255,255,.018); cursor:pointer; text-align:left; transition:border-color 160ms ease,background 160ms ease,transform 160ms ease,box-shadow 160ms ease; }
.business-horizon-switch button::before { content:""; position:absolute; top:0; right:0; left:0; height:3px; opacity:.22; background:var(--cyan); transition:opacity 160ms ease; }
.business-horizon-switch button:last-child::before { background:linear-gradient(90deg,var(--mint),var(--gold)); }
.business-horizon-switch button:hover { transform:translateY(-2px); border-color:var(--line-strong); background:rgba(255,255,255,.035); }
.business-horizon-switch button:focus-visible { outline:2px solid var(--cyan); outline-offset:2px; }
.business-horizon-switch button small { color:var(--dim); font:800 .64rem/1 ui-monospace,monospace; letter-spacing:.1em; }
.business-horizon-switch button strong { color:var(--ink); font-size:1.25rem; line-height:1.08; letter-spacing:-.035em; }
.business-horizon-switch button span { color:var(--dim); font-size:.74rem; line-height:1.45; }
.business-horizon-switch button.is-active { border-color:rgba(110,223,242,.42); color:var(--ink); background:radial-gradient(circle at 100% 0,rgba(110,223,242,.12),transparent 55%),rgba(110,223,242,.035); box-shadow:0 16px 40px rgba(0,0,0,.2),inset 0 0 36px rgba(110,223,242,.035); }
.business-horizon-switch button.is-active::before { opacity:1; }
.business-horizon-switch button[data-business-horizon="quarterly"].is-active { border-color:rgba(109,242,182,.43); background:radial-gradient(circle at 100% 0,rgba(109,242,182,.13),transparent 50%),radial-gradient(circle at 0 100%,rgba(245,197,104,.07),transparent 48%),rgba(109,242,182,.025); box-shadow:0 16px 40px rgba(0,0,0,.2),inset 0 0 38px rgba(109,242,182,.035); }
.business-horizon-switch button[data-business-horizon="quarterly"].is-active small { color:var(--mint); }
.business-horizon-status { display:flex; justify-content:center; flex-direction:column; padding:27px; background:radial-gradient(circle at 100% 0,rgba(109,242,182,.07),transparent 44%),#071014; }
.horizon-status-head { display:grid; gap:12px; }
.horizon-status-head > span { display:flex; align-items:center; gap:8px; color:var(--cyan); font:800 .67rem/1.2 ui-monospace,monospace; letter-spacing:.09em; }
.horizon-status-head > span i { width:8px; height:8px; border-radius:50%; background:currentColor; box-shadow:0 0 15px currentColor; }
.horizon-status-head > strong { font-size:1.25rem; line-height:1.08; letter-spacing:-.035em; }
.business-horizon-status > p { margin:11px 0 18px; color:var(--muted); font-size:.79rem; line-height:1.55; }
.horizon-status-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:6px; }
.horizon-status-grid > div { min-width:0; display:grid; gap:8px; padding:12px 10px; border:1px solid var(--line); border-radius:12px; background:rgba(0,0,0,.18); }
.horizon-status-grid span { color:var(--dim); font:750 .56rem/1 ui-monospace,monospace; letter-spacing:.04em; white-space:nowrap; }
.horizon-status-grid strong { font-size:1.25rem; line-height:1; }
.business-horizon-status footer { display:flex; justify-content:space-between; gap:14px; margin-top:16px; padding-top:14px; border-top:1px solid var(--line); color:var(--dim); font-size:.66rem; line-height:1.35; }
body[data-business-horizon="quarterly"] .horizon-status-head > span { color:var(--mint); }
body[data-business-horizon="quarterly"] .quarterly-read-copy > span { color:var(--mint); }
body[data-business-horizon="quarterly"] .market-scope button.is-active { border-color:rgba(109,242,182,.4); box-shadow:0 0 22px rgba(109,242,182,.08); }
.market-stage.is-quarterly-ready { border-color:rgba(109,242,182,.21); box-shadow:inset 0 1px 0 rgba(109,242,182,.12),0 28px 90px rgba(0,0,0,.24); }
.market-stage.is-quarterly-ready .market-reading span { color:var(--mint); }
.market-stage.is-quarterly-ready .market-reading strong { text-shadow:0 0 28px rgba(109,242,182,.14); }

@media (max-width:1180px) {
  .business-horizon-console { grid-template-columns:1fr 1.35fr; }
  .business-horizon-status { grid-column:1/-1; min-height:170px; }
}
@media (max-width:820px) {
  .business-horizon-console { grid-template-columns:1fr; }
  .business-horizon-status { grid-column:auto; }
  .business-horizon-intro { min-height:205px; }
}
@media (max-width:560px) {
  .business-horizon-intro,.business-horizon-status { padding:23px; }
  .business-horizon-switch { grid-template-columns:1fr; padding:11px; }
  .business-horizon-switch button { min-height:135px; padding:19px; }
  .horizon-status-grid { grid-template-columns:1fr 1fr 1fr; }
  .horizon-status-grid > div { padding-inline:8px; }
  .business-horizon-status footer { align-items:flex-start; flex-direction:column; }
}

/* Version 15 · quarterly exploration, comparison, and reporting radar */
.glyph-calendar::before {
  content:"";
  position:absolute;
  inset:3px 2px 2px;
  border:1px solid currentColor;
  border-radius:4px;
}
.glyph-calendar::after {
  content:"";
  position:absolute;
  left:5px;
  right:5px;
  top:8px;
  height:1px;
  background:currentColor;
  box-shadow:0 4px 0 -0.2px currentColor,0 8px 0 -0.2px currentColor;
}

.page-horizon-bar {
  display:grid;
  grid-template-columns:minmax(310px,1fr) minmax(260px,.7fr) minmax(270px,.74fr);
  gap:1px;
  min-height:190px;
  margin-bottom:14px;
  padding:0;
  overflow:hidden;
  background:var(--line);
}
.page-horizon-copy,.page-horizon-switch,.page-horizon-status { background:#071014; }
.page-horizon-copy { display:flex; flex-direction:column; justify-content:center; padding:28px 30px; background:radial-gradient(circle at 0 0,rgba(110,223,242,.09),transparent 44%),#071014; }
.page-horizon-copy > span,.page-horizon-status > span { color:var(--cyan); font:800 .72rem/1.2 ui-monospace,monospace; letter-spacing:.11em; }
.page-horizon-copy h2 { margin:12px 0 8px; font-size:clamp(1.45rem,2.15vw,2.25rem); line-height:1; letter-spacing:-.047em; }
.page-horizon-copy p { max-width:630px; margin:0; color:var(--muted); font-size:.88rem; line-height:1.55; }
.page-horizon-switch { display:grid; grid-template-columns:1fr 1fr; gap:8px; padding:12px; }
.page-horizon-switch button { position:relative; display:flex; justify-content:flex-end; flex-direction:column; gap:8px; min-width:0; padding:18px; overflow:hidden; border:1px solid var(--line); border-radius:16px; color:var(--muted); background:rgba(255,255,255,.017); cursor:pointer; text-align:left; transition:160ms ease; }
.page-horizon-switch button::before { content:""; position:absolute; inset:0 0 auto; height:3px; opacity:.2; background:var(--cyan); }
.page-horizon-switch button:last-child::before { background:linear-gradient(90deg,var(--mint),var(--gold)); }
.page-horizon-switch button:hover { transform:translateY(-2px); border-color:var(--line-strong); }
.page-horizon-switch button small { color:var(--dim); font:800 .68rem/1 ui-monospace,monospace; letter-spacing:.08em; }
.page-horizon-switch button strong { color:var(--ink); font-size:1.12rem; }
.page-horizon-switch button.is-active { border-color:rgba(110,223,242,.43); background:radial-gradient(circle at 100% 0,rgba(110,223,242,.13),transparent 58%),rgba(110,223,242,.035); box-shadow:inset 0 0 28px rgba(110,223,242,.03); }
.page-horizon-switch button.is-active::before { opacity:1; }
.page-horizon-switch button[data-business-horizon="quarterly"].is-active { border-color:rgba(109,242,182,.42); background:radial-gradient(circle at 100% 0,rgba(109,242,182,.13),transparent 56%),rgba(109,242,182,.025); }
.page-horizon-status { display:flex; justify-content:center; flex-direction:column; gap:8px; padding:26px; background:radial-gradient(circle at 100% 0,rgba(109,242,182,.07),transparent 46%),#071014; }
.page-horizon-status > strong { font-size:1.3rem; line-height:1.12; letter-spacing:-.035em; }
.page-horizon-status > small { color:var(--muted); font-size:.84rem; line-height:1.5; }
body[data-business-horizon="quarterly"] .page-horizon-status > span { color:var(--mint); }

.quarterly-signal { display:inline-flex; width:max-content; align-items:center; gap:6px; margin:8px 0 0; padding:5px 8px; border:1px solid var(--line); border-radius:999px; color:var(--muted); font:800 .69rem/1 ui-monospace,monospace; letter-spacing:.04em; font-style:normal; white-space:nowrap; }
.quarterly-signal.accelerating { color:var(--mint); border-color:rgba(109,242,182,.28); background:rgba(109,242,182,.06); }
.quarterly-signal.cooling { color:var(--gold); border-color:rgba(245,197,104,.28); background:rgba(245,197,104,.055); }
.quarterly-signal.contracting { color:var(--red); border-color:rgba(255,111,125,.28); background:rgba(255,111,125,.055); }
.quarterly-signal.steady { color:var(--cyan); border-color:rgba(110,223,242,.25); background:rgba(110,223,242,.045); }
.universe-company.is-quarterly { min-height:108px; grid-template-columns:48px minmax(0,1fr) auto; background:linear-gradient(135deg,color-mix(in srgb,var(--company-color) 5%,transparent),rgba(255,255,255,.012)); }
.universe-company.is-quarterly > span:nth-child(2) { min-width:0; }
.universe-company.is-quarterly h3 { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.universe-company-reading { display:grid; justify-items:end; gap:5px; }
.universe-company-reading strong { color:var(--ink); font-size:1rem; }
.universe-company-reading small { color:var(--dim); font-size:.68rem; white-space:nowrap; }

.quarterly-compare-analysis[hidden],#compare-annual-analysis[hidden] { display:none; }
.quarterly-battle-card > strong { font-size:clamp(2.5rem,4.7vw,5rem); letter-spacing:-.07em; }
.quarterly-battle-card > .quarterly-signal { margin:0 0 18px; }
.quarterly-score-center > strong { color:var(--mint); }
.quarterly-duel-grid { display:grid; grid-template-columns:1fr 1fr; gap:14px; margin-top:14px; }
.quarterly-duel-card { min-width:0; padding:25px; overflow:hidden; background:radial-gradient(circle at 0 0,color-mix(in srgb,var(--company-color) 10%,transparent),transparent 42%),var(--panel); }
.quarterly-duel-card header { display:grid; grid-template-columns:48px minmax(0,1fr) auto; gap:13px; align-items:center; }
.quarterly-duel-card header .company-logo { width:48px; height:48px; }
.quarterly-duel-card header > div { min-width:0; }
.quarterly-duel-card header span { color:var(--dim); font:800 .69rem/1 ui-monospace,monospace; letter-spacing:.09em; }
.quarterly-duel-card header h2 { margin:6px 0 0; overflow:hidden; font-size:1.25rem; text-overflow:ellipsis; white-space:nowrap; }
.quarterly-duel-card header .quarterly-signal { margin:0; }
.compare-quarter-runway { display:grid; grid-template-columns:repeat(8,1fr); gap:8px; height:245px; margin:28px 0 17px; padding:26px 6px 0; border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.compare-quarter-point { display:grid; grid-template-rows:24px 1fr 26px; gap:6px; min-width:0; align-items:end; text-align:center; }
.compare-quarter-point strong { overflow:hidden; color:var(--dim); font-size:.65rem; text-overflow:ellipsis; white-space:nowrap; }
.compare-quarter-point i { display:block; width:100%; height:var(--quarter-height); min-height:12px; border-radius:7px 7px 2px 2px; background:linear-gradient(180deg,color-mix(in srgb,var(--company-color) 88%,white),color-mix(in srgb,var(--company-color) 45%,transparent)); box-shadow:0 0 22px color-mix(in srgb,var(--company-color) 12%,transparent); }
.compare-quarter-point.negative i { background:linear-gradient(180deg,var(--red),rgba(255,111,125,.24)); }
.compare-quarter-point span { overflow:hidden; color:var(--dim); font:700 .62rem/1 ui-monospace,monospace; text-overflow:ellipsis; white-space:nowrap; }
.quarterly-duel-card footer { display:flex; justify-content:space-between; gap:16px; color:var(--muted); font-size:.82rem; }
.quarterly-factor-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:12px; margin-top:14px; }
.quarterly-factor-card { padding:22px; }
.quarterly-factor-card > span { color:var(--dim); font:800 .68rem/1 ui-monospace,monospace; letter-spacing:.08em; }
.quarterly-factor-card > div { display:grid; gap:7px; margin:20px 0 16px; }
.quarterly-factor-card strong { font-size:1.02rem; }
.quarterly-factor-card p { margin:0; color:var(--muted); font-size:.8rem; line-height:1.5; }

body[data-view="calendar"] { background:radial-gradient(circle at 76% 4%,rgba(110,223,242,.11),transparent 31%),radial-gradient(circle at 19% 48%,rgba(109,242,182,.055),transparent 30%),var(--bg); }
.calendar-hero { position:relative; }
.calendar-hero::after { content:""; position:absolute; width:350px; height:350px; right:3%; top:-190px; border:1px solid rgba(110,223,242,.12); border-radius:50%; box-shadow:0 0 0 38px rgba(110,223,242,.025),0 0 0 90px rgba(109,242,182,.018); pointer-events:none; }
.calendar-stamp { position:relative; z-index:1; display:grid; min-width:230px; gap:8px; padding:22px 24px; border:1px solid rgba(110,223,242,.22); border-radius:20px; background:linear-gradient(145deg,rgba(110,223,242,.07),rgba(5,12,15,.82)); box-shadow:0 18px 60px rgba(0,0,0,.24); }
.calendar-stamp span,.calendar-command-copy > span,.calendar-method > span { color:var(--cyan); font:800 .76rem/1 ui-monospace,monospace; letter-spacing:.12em; }
.calendar-stamp strong { font-size:1.55rem; letter-spacing:-.04em; }
.calendar-stamp small { color:var(--muted); font-size:.88rem; }
.calendar-command { display:grid; grid-template-columns:minmax(300px,.78fr) minmax(540px,1.22fr); gap:1px; margin-bottom:14px; padding:0; overflow:hidden; background:var(--line); }
.calendar-command-copy { display:flex; justify-content:center; flex-direction:column; min-height:245px; padding:31px; background:radial-gradient(circle at 0 0,rgba(110,223,242,.09),transparent 50%),#071014; }
.calendar-command-copy h2 { margin:14px 0 11px; font-size:clamp(1.8rem,2.8vw,3.1rem); line-height:.98; letter-spacing:-.055em; }
.calendar-command-copy p { margin:0; color:var(--muted); font-size:1rem; line-height:1.58; }
.calendar-command-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:1px; background:var(--line); }
.calendar-command-grid button { display:flex; justify-content:center; flex-direction:column; gap:12px; min-width:0; padding:22px 18px; border-bottom:3px solid transparent; background:#071014; cursor:pointer; text-align:left; transition:160ms ease; }
.calendar-command-grid button:hover,.calendar-command-grid button.is-active { background:radial-gradient(circle at 50% 10%,rgba(110,223,242,.1),transparent 60%),#081217; }
.calendar-command-grid button.is-active { border-bottom-color:var(--cyan); }
.calendar-command-grid button span { color:var(--dim); font:800 .7rem/1.25 ui-monospace,monospace; letter-spacing:.08em; }
.calendar-command-grid button strong { font-size:clamp(2.3rem,4vw,4.8rem); line-height:.85; letter-spacing:-.07em; }
.calendar-command-grid button small { color:var(--muted); font-size:.875rem; line-height:1.4; }
.calendar-filter-deck { display:flex; gap:8px; margin-bottom:14px; padding:8px; overflow-x:auto; border:1px solid var(--line); border-radius:18px; background:rgba(7,16,20,.82); scrollbar-width:none; }
.calendar-filter-deck::-webkit-scrollbar { display:none; }
.calendar-filter-deck button { display:flex; align-items:center; gap:12px; min-height:48px; padding:0 14px; border:1px solid transparent; border-radius:12px; color:var(--muted); background:transparent; cursor:pointer; white-space:nowrap; }
.calendar-filter-deck button:hover { color:var(--ink); background:rgba(255,255,255,.025); }
.calendar-filter-deck button.is-active { color:var(--ink); border-color:rgba(110,223,242,.3); background:rgba(110,223,242,.075); }
.calendar-filter-deck span { font-size:.9rem; font-weight:700; }
.calendar-filter-deck strong { display:grid; min-width:27px; height:27px; place-items:center; border-radius:9px; color:var(--cyan); background:rgba(110,223,242,.09); font-size:.85rem; }
.calendar-layout { display:grid; grid-template-columns:minmax(0,1fr) minmax(300px,.34fr); gap:14px; align-items:start; }
.reporting-list { display:grid; gap:12px; }
.reporting-card { position:relative; padding:0; overflow:hidden; cursor:pointer; transition:transform 170ms ease,border-color 170ms ease,box-shadow 170ms ease; }
.reporting-card::before { content:""; position:absolute; inset:0 auto 0 0; width:3px; background:var(--company-color); opacity:.7; }
.reporting-card:hover { transform:translateY(-2px); border-color:color-mix(in srgb,var(--company-color) 40%,var(--line)); box-shadow:0 18px 56px rgba(0,0,0,.27); }
.reporting-card > header { display:flex; align-items:center; justify-content:space-between; gap:18px; padding:20px 22px; border-bottom:1px solid var(--line); background:linear-gradient(90deg,color-mix(in srgb,var(--company-color) 5%,transparent),transparent 45%); }
.reporting-identity { display:flex; align-items:center; gap:13px; min-width:0; }
.reporting-identity .company-logo { width:48px; height:48px; flex:0 0 auto; }
.reporting-identity > div { min-width:0; }
.reporting-identity span { color:var(--dim); font:800 .72rem/1 ui-monospace,monospace; letter-spacing:.08em; }
.reporting-identity h2 { margin:7px 0 0; overflow:hidden; font-size:1.22rem; text-overflow:ellipsis; white-space:nowrap; }
.reporting-status { padding:8px 10px; border:1px solid rgba(110,223,242,.28); border-radius:999px; color:var(--cyan); background:rgba(110,223,242,.055); font:800 .72rem/1 ui-monospace,monospace; letter-spacing:.06em; white-space:nowrap; }
.reporting-status.confirmed { color:var(--mint); border-color:rgba(109,242,182,.31); background:rgba(109,242,182,.055); }
.reporting-status.window { color:#03120c; border-color:var(--mint); background:var(--mint); box-shadow:0 0 28px rgba(109,242,182,.2); }
.reporting-status.next60,.reporting-status.later { color:var(--gold); border-color:rgba(245,197,104,.3); background:rgba(245,197,104,.055); }
.reporting-status.refresh { color:var(--red); border-color:rgba(255,111,125,.3); background:rgba(255,111,125,.055); }
.reporting-window { display:grid; grid-template-columns:180px minmax(230px,.75fr) minmax(220px,1fr); gap:18px; align-items:center; min-height:76px; padding:15px 22px; border-bottom:1px solid var(--line); }
.reporting-window > span,.reporting-evidence span { color:var(--dim); font:800 .7rem/1.2 ui-monospace,monospace; letter-spacing:.07em; }
.reporting-window > strong { font-size:1rem; }
.reporting-window > small { color:var(--muted); font-size:.875rem; line-height:1.4; }
.reporting-evidence { display:grid; grid-template-columns:repeat(3,1fr); gap:1px; background:var(--line); }
.reporting-evidence > div { display:grid; gap:8px; min-height:106px; padding:17px 21px; background:rgba(5,12,15,.82); }
.reporting-evidence strong { font-size:1.12rem; }
.reporting-evidence small { color:var(--muted); font-size:.875rem; }
.reporting-evidence .quarterly-signal { margin:0; }
.reporting-card > footer { display:flex; justify-content:space-between; gap:18px; padding:13px 22px; color:var(--muted); font-size:.875rem; }
.reporting-card > footer span:last-child { color:var(--cyan); font-weight:800; }
.calendar-method { position:sticky; top:calc(var(--header-height) + 18px); padding:28px; background:radial-gradient(circle at 100% 0,rgba(110,223,242,.09),transparent 39%),var(--panel); }
.calendar-method h2 { margin:14px 0 24px; font-size:clamp(1.8rem,2.5vw,2.7rem); line-height:.98; letter-spacing:-.055em; }
.calendar-method-ledger { display:grid; gap:10px; }
.calendar-method-ledger > div { display:grid; grid-template-columns:10px minmax(0,1fr); gap:12px; padding:15px; border:1px solid var(--line); border-radius:14px; background:rgba(0,0,0,.18); }
.calendar-method-ledger i { width:9px; height:9px; margin-top:4px; border-radius:50%; background:var(--cyan); box-shadow:0 0 14px rgba(110,223,242,.45); }
.calendar-method-ledger .confirmed i { background:var(--mint); box-shadow:0 0 14px rgba(109,242,182,.45); }
.calendar-method-ledger span { display:grid; gap:6px; }
.calendar-method-ledger strong { font-size:1rem; }
.calendar-method-ledger small { color:var(--muted); font-size:.875rem; line-height:1.45; }
.calendar-method > p { margin:22px 0; color:var(--muted); font-size:1rem; line-height:1.62; }
.calendar-method > p strong { color:var(--ink); }
.calendar-method-formula { display:grid; gap:8px; padding:16px; border:1px solid rgba(110,223,242,.18); border-radius:14px; background:rgba(110,223,242,.035); }
.calendar-method-formula span { color:var(--cyan); font:800 .72rem/1 ui-monospace,monospace; letter-spacing:.08em; }
.calendar-method-formula code { overflow-wrap:anywhere; color:var(--ink); font-size:.92rem; }
.calendar-method-formula small { color:var(--muted); font-size:.875rem; }
.calendar-method > a { display:inline-flex; margin-top:20px; color:var(--cyan); font-size:.95rem; font-weight:800; }
.calendar-empty { min-height:360px; display:grid; align-content:center; justify-items:start; gap:13px; padding:40px; }
.calendar-empty > span { color:var(--cyan); font:800 .75rem/1 ui-monospace,monospace; letter-spacing:.1em; }
.calendar-empty h2 { max-width:600px; margin:0; font-size:2rem; }
.calendar-empty p { margin:0; color:var(--muted); font-size:1rem; }
.calendar-empty button { margin-top:8px; padding:12px 16px; border-radius:12px; color:#03110c; background:var(--mint); cursor:pointer; font-weight:800; }

@media (max-width:1180px) {
  .page-horizon-bar { grid-template-columns:1fr 1fr; }
  .page-horizon-status { grid-column:1/-1; min-height:135px; }
  .quarterly-factor-grid { grid-template-columns:1fr 1fr; }
  .calendar-command { grid-template-columns:1fr; }
  .calendar-command-grid { min-height:185px; }
  .calendar-layout { grid-template-columns:minmax(0,1fr) 300px; }
  .reporting-window { grid-template-columns:150px 1fr; }
  .reporting-window > small { grid-column:1/-1; }
}
@media (max-width:900px) {
  .page-horizon-bar { grid-template-columns:1fr; }
  .page-horizon-status { grid-column:auto; }
  .quarterly-duel-grid { grid-template-columns:1fr; }
  .calendar-layout { grid-template-columns:1fr; }
  .calendar-method { position:static; order:-1; }
}
@media (max-width:680px) {
  .page-horizon-copy,.page-horizon-status { padding:23px; }
  .page-horizon-switch { grid-template-columns:1fr; }
  .page-horizon-switch button { min-height:110px; }
  .universe-company.is-quarterly { grid-template-columns:44px minmax(0,1fr); }
  .universe-company-reading { grid-column:1/-1; grid-template-columns:1fr auto; justify-items:start; align-items:center; padding-top:9px; border-top:1px solid var(--line); }
  .universe-company-reading small { justify-self:end; }
  .quarterly-factor-grid { grid-template-columns:1fr; }
  .quarterly-duel-card { padding:20px; }
  .quarterly-duel-card header { grid-template-columns:44px minmax(0,1fr); }
  .quarterly-duel-card header > .quarterly-signal { grid-column:1/-1; }
  .compare-quarter-runway { gap:4px; height:210px; }
  .compare-quarter-point strong { font-size:.56rem; }
  .quarterly-duel-card footer { align-items:flex-start; flex-direction:column; }
  .calendar-stamp { width:100%; min-width:0; }
  .calendar-command-copy { min-height:0; padding:25px; }
  .calendar-command-grid { grid-template-columns:1fr 1fr; min-height:0; }
  .calendar-command-grid button { min-height:150px; }
  .reporting-card > header { align-items:flex-start; flex-direction:column; }
  .reporting-status { white-space:normal; }
  .reporting-window { grid-template-columns:1fr; }
  .reporting-window > small { grid-column:auto; }
  .reporting-evidence { grid-template-columns:1fr; }
  .reporting-evidence > div { min-height:0; }
  .reporting-card > footer { align-items:flex-start; flex-direction:column; }
}
@media (max-width:420px) {
  .calendar-command-grid { grid-template-columns:1fr; }
  .calendar-command-grid button { min-height:128px; }
  .calendar-method,.calendar-empty { padding:22px; }
}

/* Version 16 · transparent discount and opportunity scoring */
.glyph-opportunity::before,.glyph-opportunity::after { content:""; position:absolute; border-radius:50%; }
.glyph-opportunity::before { inset:2px; border:1px solid currentColor; box-shadow:inset 0 0 0 4px var(--bg); }
.glyph-opportunity::after { width:7px; height:7px; top:7px; left:7px; background:currentColor; box-shadow:0 0 12px currentColor; }
body[data-view="opportunity"] { background:radial-gradient(circle at 76% -4%,rgba(245,197,104,.12),transparent 31%),radial-gradient(circle at 12% 52%,rgba(109,242,182,.06),transparent 28%),var(--bg); }
body[data-view="opportunity"] { --page-accent:var(--gold); }

.profile-score-system { display:grid; grid-template-columns:minmax(280px,.72fr) minmax(0,1.28fr); gap:1px; margin-bottom:14px; padding:0; overflow:hidden; background:var(--line); }
.score-system-intro { display:flex; justify-content:center; flex-direction:column; min-height:330px; padding:30px; background:radial-gradient(circle at 0 0,color-mix(in srgb,var(--company-color) 11%,transparent),transparent 48%),#071014; }
.score-system-intro > span,.opportunity-command-read > span,.valuation-input-copy > span,.opportunity-equation header span,.opportunity-field header span,.opportunity-limits > div:first-child > span { color:var(--gold); font:800 .76rem/1.2 ui-monospace,monospace; letter-spacing:.11em; }
.score-system-intro h2 { margin:14px 0 10px; font-size:clamp(1.8rem,2.7vw,3rem); line-height:.98; letter-spacing:-.055em; }
.score-system-intro p { margin:0 0 22px; color:var(--muted); font-size:1rem; line-height:1.6; }
.score-system-intro button { width:max-content; }
.score-system-stack { display:grid; grid-template-rows:repeat(3,1fr); gap:1px; background:var(--line); }
.score-system-card { display:grid; grid-template-columns:92px minmax(0,1fr); gap:20px; align-items:center; min-height:110px; padding:20px 24px; background:#071014; }
.score-system-card.is-ready { background:linear-gradient(100deg,color-mix(in srgb,var(--score-color) 5%,#071014),#071014 48%); }
.score-system-orbit { position:relative; display:grid; width:74px; aspect-ratio:1; place-items:center; border-radius:50%; background:conic-gradient(var(--score-color) calc(var(--score-value) * 1%),rgba(255,255,255,.065) 0); }
.score-system-orbit::before { content:""; position:absolute; inset:6px; border-radius:50%; background:#071014; }
.score-system-orbit span { position:relative; z-index:1; color:var(--score-color); font-size:1.55rem; font-weight:850; }
.score-system-card > div:last-child { display:grid; gap:5px; }
.score-system-card small { color:var(--dim); font:800 .68rem/1 ui-monospace,monospace; letter-spacing:.08em; }
.score-system-card h3 { margin:0; font-size:1.12rem; }
.score-system-card > div > strong { color:var(--score-color); font-size:.9rem; }
.score-system-card p { margin:0; color:var(--muted); font-size:.875rem; line-height:1.45; }

.compare-opportunity-strip { display:grid; grid-template-columns:minmax(270px,.55fr) minmax(0,1.45fr); gap:1px; margin-bottom:14px; padding:0; overflow:hidden; background:var(--line); }
.compare-opportunity-intro { padding:25px; background:radial-gradient(circle at 0 0,rgba(245,197,104,.08),transparent 52%),#071014; }
.compare-opportunity-intro > span { color:var(--gold); font:800 .72rem/1 ui-monospace,monospace; letter-spacing:.1em; }
.compare-opportunity-intro h2 { margin:12px 0 8px; font-size:1.42rem; line-height:1.05; letter-spacing:-.035em; }
.compare-opportunity-intro p { margin:0 0 12px; color:var(--muted); font-size:.9rem; line-height:1.5; }
.compare-opportunity-worlds { display:grid; grid-template-columns:1fr 1fr; gap:1px; background:var(--line); }
.compare-opportunity-worlds > div { display:grid; grid-template-columns:44px minmax(0,1fr); gap:12px; align-content:center; padding:22px; background:linear-gradient(145deg,color-mix(in srgb,var(--company-color) 6%,#071014),#071014 52%); }
.compare-opportunity-worlds .company-logo { width:44px; height:44px; }
.compare-opportunity-worlds > div > span { display:grid; min-width:0; gap:4px; }
.compare-opportunity-worlds small { color:var(--dim); font:800 .68rem/1 ui-monospace,monospace; letter-spacing:.07em; }
.compare-opportunity-worlds > div > span strong { overflow:hidden; font-size:.96rem; text-overflow:ellipsis; white-space:nowrap; }
.compare-opportunity-worlds dl { grid-column:1/-1; display:grid; grid-template-columns:repeat(3,1fr); gap:6px; margin:9px 0 0; }
.compare-opportunity-worlds dl div { display:grid; gap:6px; padding:10px; border:1px solid var(--line); border-radius:10px; background:rgba(0,0,0,.17); }
.compare-opportunity-worlds dt { color:var(--dim); font-size:.75rem; }
.compare-opportunity-worlds dd { margin:0; font-size:1.15rem; font-weight:850; }

.opportunity-hero { position:relative; }
.opportunity-hero::after { content:""; position:absolute; width:390px; height:390px; right:4%; top:-220px; border:1px solid rgba(245,197,104,.12); border-radius:50%; box-shadow:0 0 0 42px rgba(245,197,104,.025),0 0 0 92px rgba(109,242,182,.016); pointer-events:none; }
.opportunity-stamp { position:relative; z-index:1; display:grid; min-width:250px; gap:8px; padding:22px 24px; border:1px solid rgba(245,197,104,.24); border-radius:20px; background:linear-gradient(145deg,rgba(245,197,104,.08),rgba(5,12,15,.84)); }
.opportunity-stamp span { color:var(--gold); font:800 .76rem/1 ui-monospace,monospace; letter-spacing:.1em; }
.opportunity-stamp strong { font-size:1.35rem; letter-spacing:-.035em; }
.opportunity-stamp small { color:var(--muted); font-size:.9rem; }
.opportunity-command { display:grid; grid-template-columns:minmax(0,1.2fr) minmax(300px,.8fr); gap:1px; margin-bottom:14px; padding:0; overflow:hidden; background:var(--line); }
.opportunity-command-identity { display:flex; align-items:center; gap:20px; min-height:220px; padding:30px; background:radial-gradient(circle at 0 0,color-mix(in srgb,var(--company-color) 13%,transparent),transparent 50%),#071014; }
.opportunity-company-logo { display:grid; width:88px; height:88px; place-items:center; flex:0 0 auto; border-radius:24px; background:color-mix(in srgb,var(--company-color) 13%,#0b1418); }
.opportunity-company-logo img { width:68%; height:68%; object-fit:contain; }
.opportunity-command-identity > div { min-width:0; }
.opportunity-command-identity span { color:var(--dim); font:800 .75rem/1 ui-monospace,monospace; letter-spacing:.09em; }
.opportunity-command-identity h2 { margin:10px 0 8px; font-size:clamp(2rem,3.5vw,4.2rem); line-height:.9; letter-spacing:-.065em; }
.opportunity-command-identity p { max-width:680px; margin:0; color:var(--muted); font-size:1rem; line-height:1.55; }
.opportunity-command-read { display:flex; justify-content:center; flex-direction:column; gap:12px; padding:30px; background:radial-gradient(circle at 100% 0,rgba(245,197,104,.08),transparent 45%),#071014; }
.opportunity-command-read strong { font-size:1.5rem; line-height:1.08; letter-spacing:-.035em; }
.opportunity-command-read p { margin:0; color:var(--muted); font-size:.9rem; line-height:1.5; }

.opportunity-score-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:14px; margin-bottom:14px; }
.opportunity-score-card { position:relative; min-width:0; min-height:390px; display:grid; align-content:center; justify-items:center; gap:24px; padding:28px; overflow:hidden; text-align:center; background:radial-gradient(circle at 50% 18%,color-mix(in srgb,var(--score-color) 9%,transparent),transparent 42%),var(--panel); }
.opportunity-score-card::after { content:""; position:absolute; inset:auto 0 0; height:3px; opacity:.75; background:var(--score-color); }
.opportunity-score-orbit { position:relative; width:178px; aspect-ratio:1; border-radius:50%; background:conic-gradient(var(--score-color) calc(var(--score) * 1%),rgba(255,255,255,.06) 0); box-shadow:0 0 56px color-mix(in srgb,var(--score-color) 10%,transparent); }
.opportunity-score-orbit::before { content:""; position:absolute; inset:9px; border-radius:50%; background:#071014; box-shadow:inset 0 0 35px rgba(255,255,255,.018); }
.opportunity-score-orbit > div { position:absolute; inset:0; display:grid; place-content:center; gap:5px; }
.opportunity-score-orbit span { color:var(--dim); font:800 .68rem/1 ui-monospace,monospace; letter-spacing:.08em; }
.opportunity-score-orbit strong { color:var(--score-color); font-size:4rem; line-height:.9; letter-spacing:-.08em; }
.opportunity-score-orbit small { color:var(--dim); font-size:.8rem; }
.opportunity-score-card.is-waiting .opportunity-score-orbit { background:conic-gradient(rgba(255,255,255,.1) 18%,rgba(255,255,255,.035) 0); box-shadow:none; }
.opportunity-score-card.is-waiting .opportunity-score-orbit strong { color:var(--dim); }
.opportunity-score-copy > span { color:var(--score-color); font:800 .75rem/1 ui-monospace,monospace; letter-spacing:.09em; }
.opportunity-score-copy h2 { margin:11px 0 8px; font-size:1.45rem; letter-spacing:-.035em; }
.opportunity-score-copy p { min-height:72px; margin:0; color:var(--muted); font-size:.95rem; line-height:1.55; }
.opportunity-score-track { height:5px; margin-top:18px; overflow:hidden; border-radius:99px; background:rgba(255,255,255,.06); }
.opportunity-score-track i { display:block; width:calc(var(--score) * 1%); height:100%; border-radius:inherit; background:var(--score-color); }

.opportunity-workbench { display:grid; grid-template-columns:minmax(300px,.72fr) minmax(0,1.28fr); gap:14px; margin-bottom:14px; }
.valuation-input-panel { padding:0; overflow:hidden; }
.valuation-input-copy { min-height:245px; padding:28px; border-bottom:1px solid var(--line); background:radial-gradient(circle at 0 0,rgba(110,223,242,.08),transparent 52%),#071014; }
.valuation-input-copy > span { color:var(--cyan); }
.valuation-input-copy h2 { margin:14px 0 10px; font-size:clamp(1.8rem,2.8vw,3.1rem); line-height:.98; letter-spacing:-.055em; }
.valuation-input-copy p { margin:0; color:var(--muted); font-size:1rem; line-height:1.58; }
.valuation-input-form { display:grid; gap:13px; padding:28px; }
.valuation-anchor-card { display:grid; gap:8px; margin-bottom:3px; padding:17px 18px; border:1px solid rgba(245,197,104,.28); border-radius:16px; background:linear-gradient(135deg,rgba(245,197,104,.09),rgba(110,223,242,.035)); }
.valuation-anchor-card.is-older { border-color:rgba(255,143,127,.34); background:linear-gradient(135deg,rgba(255,143,127,.09),rgba(245,197,104,.035)); }
.valuation-anchor-card.is-older span { color:var(--red); }
.valuation-anchor-card span { color:var(--gold); font:850 .73rem/1 ui-monospace,monospace; letter-spacing:.09em; }
.valuation-anchor-card strong { color:var(--ink); font-size:1.08rem; }
.valuation-anchor-card small { color:var(--muted); font-size:.84rem; line-height:1.45; }
.valuation-input-form > label { display:flex; justify-content:space-between; gap:14px; font-size:1rem; font-weight:800; }
.valuation-input-form label small { color:var(--dim); font-size:.875rem; font-weight:650; }
.valuation-input-field { display:grid; grid-template-columns:auto minmax(0,1fr) auto; align-items:center; border:1px solid var(--line-strong); border-radius:16px; background:rgba(0,0,0,.22); }
.valuation-input-field:focus-within { border-color:var(--cyan); box-shadow:0 0 0 3px rgba(110,223,242,.07); }
.valuation-input-field span,.valuation-input-field b { padding:0 16px; color:var(--dim); font-size:1rem; }
.valuation-input-form input { min-width:0; height:62px; border:0; outline:0; color:var(--ink); background:transparent; font-size:1.65rem; font-weight:850; }
.valuation-input-example,.valuation-input-disclosure { color:var(--muted); font-size:.875rem; line-height:1.45; }
.valuation-input-actions { display:flex; flex-wrap:wrap; gap:9px; margin-top:6px; }
.valuation-connected { display:flex; min-height:48px; align-items:center; padding:0 14px; border:1px solid rgba(109,242,182,.28); border-radius:12px; color:var(--mint); background:rgba(109,242,182,.055); font-size:.9rem; font-weight:800; }
.valuation-input-disclosure { margin:4px 0 0; padding-top:15px; border-top:1px solid var(--line); }

.opportunity-equation { padding:0; overflow:hidden; }
.opportunity-equation > header { display:flex; align-items:flex-start; justify-content:space-between; gap:24px; min-height:180px; padding:28px; border-bottom:1px solid var(--line); background:radial-gradient(circle at 100% 0,rgba(245,197,104,.08),transparent 48%),#071014; }
.opportunity-equation header h2 { margin:12px 0 8px; font-size:2.2rem; line-height:1; letter-spacing:-.05em; }
.opportunity-equation header p { margin:0; color:var(--muted); font-size:.95rem; }
.opportunity-equation header > strong { color:var(--gold); font-size:3.4rem; line-height:.9; letter-spacing:-.075em; white-space:nowrap; }
.discount-factor-ledger { display:grid; grid-template-columns:repeat(3,1fr); gap:1px; background:var(--line); }
.discount-factor-ledger > div { display:grid; gap:10px; min-height:180px; padding:22px; background:#071014; }
.discount-factor-ledger span { color:var(--dim); font:800 .72rem/1.2 ui-monospace,monospace; letter-spacing:.06em; }
.discount-factor-ledger strong { font-size:1.5rem; }
.discount-factor-ledger > div > div { height:6px; overflow:hidden; border-radius:99px; background:rgba(255,255,255,.06); }
.discount-factor-ledger i { display:block; height:100%; border-radius:inherit; background:linear-gradient(90deg,var(--cyan),var(--mint)); }
.discount-factor-ledger small { color:var(--muted); font-size:.875rem; }
.opportunity-formula { display:grid; grid-template-columns:150px minmax(0,1fr) auto; gap:18px; align-items:center; min-height:92px; padding:20px 25px; border-bottom:1px solid var(--line); }
.opportunity-formula > span { color:var(--gold); font:800 .72rem/1 ui-monospace,monospace; letter-spacing:.08em; }
.opportunity-formula code { overflow-wrap:anywhere; color:var(--muted); font-size:.95rem; }
.opportunity-formula > strong { font-size:1.35rem; }
.opportunity-formula.is-waiting { min-height:150px; grid-template-columns:1fr; align-content:center; }
.momentum-formula { display:grid; grid-template-columns:150px minmax(0,1fr) auto; gap:18px; align-items:center; min-height:104px; padding:20px 25px; border-bottom:1px solid var(--line); background:rgba(110,223,242,.018); }
.momentum-formula > span { color:var(--cyan); font:800 .72rem/1 ui-monospace,monospace; letter-spacing:.08em; }
.momentum-formula code { display:grid; gap:7px; overflow-wrap:anywhere; color:var(--muted); font-size:.95rem; }
.momentum-formula code small { color:var(--dim); font:650 .76rem/1.4 ui-monospace,monospace; }
.momentum-formula > strong { color:var(--cyan); font-size:1.35rem; }
.valuation-ratio-grid,.valuation-waiting-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:1px; background:var(--line); }
.valuation-ratio-grid > div,.valuation-waiting-grid > div { display:grid; gap:8px; min-height:90px; padding:17px; background:#071014; }
.valuation-ratio-grid span,.valuation-waiting-grid span { color:var(--dim); font:800 .68rem/1 ui-monospace,monospace; letter-spacing:.07em; }
.valuation-ratio-grid strong,.valuation-waiting-grid strong { font-size:1rem; }
.opportunity-equation > footer { display:flex; justify-content:space-between; gap:15px; padding:14px 22px; color:var(--muted); font-size:.875rem; }
.valuation-waiting-grid { grid-template-columns:repeat(3,1fr); }

.opportunity-field { margin-bottom:14px; padding:0; overflow:hidden; }
.opportunity-field > header { display:flex; align-items:center; justify-content:space-between; gap:25px; min-height:165px; padding:28px; border-bottom:1px solid var(--line); }
.opportunity-field header h2 { margin:12px 0 7px; font-size:2rem; letter-spacing:-.045em; }
.opportunity-field header p { margin:0; color:var(--muted); font-size:.95rem; }
.opportunity-field header > strong { color:var(--gold); font-size:3rem; letter-spacing:-.06em; }
.opportunity-field-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:1px; background:var(--line); }
.opportunity-field-grid > button { display:grid; grid-template-columns:46px minmax(0,1fr) auto; gap:13px; align-items:center; min-height:118px; padding:18px 20px; background:linear-gradient(135deg,color-mix(in srgb,var(--company-color) 5%,#071014),#071014); cursor:pointer; text-align:left; }
.opportunity-field-grid > button:hover { background:linear-gradient(135deg,color-mix(in srgb,var(--company-color) 10%,#071014),#081318); }
.opportunity-field-grid .company-logo { width:46px; height:46px; }
.opportunity-field-grid button > span { display:grid; min-width:0; gap:4px; }
.opportunity-field-grid button small { color:var(--dim); font:800 .68rem/1 ui-monospace,monospace; letter-spacing:.07em; }
.opportunity-field-grid button > span strong { overflow:hidden; font-size:.95rem; text-overflow:ellipsis; white-space:nowrap; }
.opportunity-field-grid dl { display:grid; grid-template-columns:repeat(3,65px); gap:5px; margin:0; }
.opportunity-field-grid dl div { display:grid; gap:5px; padding:8px; border:1px solid var(--line); border-radius:9px; text-align:center; }
.opportunity-field-grid dt { color:var(--dim); font-size:.68rem; }
.opportunity-field-grid dd { margin:0; font-size:1rem; font-weight:850; }
.opportunity-field-empty { grid-column:1/-1; min-height:240px; display:grid; align-content:center; justify-items:start; gap:10px; padding:36px; background:#071014; }
.opportunity-field-empty span { color:var(--gold); font:800 .74rem/1 ui-monospace,monospace; letter-spacing:.09em; }
.opportunity-field-empty strong { font-size:1.5rem; }
.opportunity-field-empty p { margin:0; color:var(--muted); font-size:.95rem; }
.opportunity-limits { display:grid; grid-template-columns:minmax(280px,.7fr) minmax(0,1.3fr); gap:1px; padding:0; overflow:hidden; background:var(--line); }
.opportunity-limits > div:first-child { display:flex; justify-content:center; flex-direction:column; min-height:250px; padding:28px; background:radial-gradient(circle at 0 0,rgba(245,197,104,.075),transparent 50%),#071014; }
.opportunity-limits h2 { margin:13px 0 8px; font-size:2rem; letter-spacing:-.045em; }
.opportunity-limits p { margin:0; color:var(--muted); font-size:1rem; line-height:1.55; }
.opportunity-limit-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:1px; background:var(--line); }
.opportunity-limit-grid div { display:flex; justify-content:center; flex-direction:column; gap:9px; padding:22px; background:#071014; }
.opportunity-limit-grid strong { font-size:1.05rem; }
.opportunity-limit-grid span { color:var(--muted); font-size:.9rem; line-height:1.5; }

@media (max-width:1180px) {
  .opportunity-score-grid { grid-template-columns:1fr 1fr; }
  .opportunity-score-card:last-child { grid-column:1/-1; grid-template-columns:190px minmax(0,1fr); justify-items:start; text-align:left; }
  .opportunity-workbench { grid-template-columns:1fr; }
  .opportunity-limits { grid-template-columns:1fr; }
}
@media (max-width:900px) {
  .profile-score-system,.compare-opportunity-strip,.opportunity-command { grid-template-columns:1fr; }
  .score-system-intro { min-height:0; }
  .compare-opportunity-worlds { min-height:220px; }
  .opportunity-field-grid { grid-template-columns:1fr; }
  .opportunity-limit-grid { grid-template-columns:1fr; }
  .opportunity-limit-grid div { min-height:125px; }
}
@media (max-width:680px) {
  .score-system-card { grid-template-columns:74px minmax(0,1fr); padding:18px; }
  .score-system-orbit { width:66px; }
  .compare-opportunity-worlds { grid-template-columns:1fr; }
  .opportunity-stamp { width:100%; min-width:0; }
  .opportunity-command-identity { align-items:flex-start; flex-direction:column; }
  .opportunity-company-logo { width:72px; height:72px; }
  .opportunity-score-grid { grid-template-columns:1fr; }
  .opportunity-score-card,.opportunity-score-card:last-child { grid-column:auto; display:grid; grid-template-columns:1fr; justify-items:center; min-height:360px; text-align:center; }
  .discount-factor-ledger { grid-template-columns:1fr; }
  .opportunity-equation > header { flex-direction:column; }
  .opportunity-formula,.momentum-formula { grid-template-columns:1fr; }
  .valuation-ratio-grid,.valuation-waiting-grid { grid-template-columns:1fr 1fr; }
  .opportunity-equation > footer,.opportunity-field > header { align-items:flex-start; flex-direction:column; }
  .opportunity-field-grid > button { grid-template-columns:42px minmax(0,1fr); }
  .opportunity-field-grid dl { grid-column:1/-1; grid-template-columns:repeat(3,1fr); width:100%; }
}
@media (max-width:420px) {
  .score-system-intro,.opportunity-command-identity,.opportunity-command-read,.valuation-input-copy,.valuation-input-form,.opportunity-equation > header,.opportunity-field > header,.opportunity-field-empty,.opportunity-limits > div:first-child { padding:22px; }
  .valuation-ratio-grid,.valuation-waiting-grid { grid-template-columns:1fr; }
}

/* Version 17 · opportunity matrix and interactive price laboratory */
.opportunity-intelligence-grid { display:grid; grid-template-columns:minmax(360px,.82fr) minmax(520px,1.18fr); gap:14px; margin-bottom:14px; }
.opportunity-simulator,.opportunity-matrix { padding:0; overflow:hidden; }
.opportunity-simulator > header,.opportunity-matrix > header { display:flex; align-items:flex-start; justify-content:space-between; gap:22px; min-height:180px; padding:28px; border-bottom:1px solid var(--line); background:radial-gradient(circle at 100% 0,rgba(110,223,242,.09),transparent 46%),#071014; }
.opportunity-simulator header span,.opportunity-matrix header span { color:var(--cyan); font:800 .78rem/1 ui-monospace,monospace; letter-spacing:.1em; }
.opportunity-simulator header h2,.opportunity-matrix header h2 { margin:13px 0 8px; font-size:2rem; line-height:1; letter-spacing:-.05em; }
.opportunity-simulator header p,.opportunity-matrix header p { max-width:540px; margin:0; color:var(--muted); font-size:.95rem; line-height:1.55; }
.opportunity-simulator header > strong,.opportunity-matrix header > strong { max-width:210px; color:var(--gold); font:850 .82rem/1.35 ui-monospace,monospace; letter-spacing:.07em; text-align:right; }

.simulator-read-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:1px; background:var(--line); }
.simulator-read-grid > div { display:grid; align-content:center; gap:9px; min-height:142px; padding:20px; background:#071014; }
.simulator-read-grid span { color:var(--dim); font:800 .74rem/1 ui-monospace,monospace; letter-spacing:.07em; }
.simulator-read-grid strong { font-size:1.75rem; line-height:1; letter-spacing:-.04em; }
.simulator-read-grid small { color:var(--muted); font-size:.8rem; line-height:1.4; }
.simulator-read-grid .is-scenario strong { color:var(--cyan); }
.simulator-read-grid .is-score strong { color:var(--gold); font-size:2.3rem; }
.simulator-control { display:grid; gap:17px; padding:26px 28px; }
.simulator-control label { display:flex; align-items:center; justify-content:space-between; gap:15px; }
.simulator-control label span { color:var(--dim); font:800 .78rem/1 ui-monospace,monospace; letter-spacing:.08em; }
.simulator-control output { color:var(--cyan); font-size:1.5rem; font-weight:850; }
.simulator-control input[type="range"] { width:100%; height:8px; margin:4px 0; appearance:none; border-radius:99px; outline:none; background:linear-gradient(90deg,var(--mint),var(--cyan) 50%,var(--gold)); }
.simulator-control input[type="range"]::-webkit-slider-thumb { width:26px; height:26px; appearance:none; border:5px solid #071014; border-radius:50%; background:var(--cyan); box-shadow:0 0 0 2px rgba(110,223,242,.7),0 0 24px rgba(110,223,242,.35); cursor:grab; }
.simulator-control input[type="range"]::-moz-range-thumb { width:18px; height:18px; border:5px solid #071014; border-radius:50%; background:var(--cyan); box-shadow:0 0 0 2px rgba(110,223,242,.7),0 0 24px rgba(110,223,242,.35); cursor:grab; }
.simulator-scale { display:flex; justify-content:space-between; gap:10px; color:var(--dim); font:750 .78rem/1 ui-monospace,monospace; }
.simulator-scale span { display:grid; gap:5px; }
.simulator-scale span:nth-child(2) { text-align:center; }
.simulator-scale span:last-child { text-align:right; }
.simulator-scale small { color:var(--muted); font:600 .72rem/1 sans-serif; }
.simulator-control .text-button { justify-self:start; }
.opportunity-simulator > footer { padding:15px 28px; border-top:1px solid var(--line); color:var(--muted); font-size:.84rem; line-height:1.5; }
.simulator-locked { display:grid; grid-template-columns:150px minmax(0,1fr); align-items:center; gap:26px; min-height:345px; padding:36px; }
.simulator-lock-orbit { position:relative; display:grid; width:140px; aspect-ratio:1; place-items:center; border:1px solid rgba(110,223,242,.2); border-radius:50%; box-shadow:inset 0 0 45px rgba(110,223,242,.04); }
.simulator-lock-orbit::before,.simulator-lock-orbit::after,.simulator-lock-orbit i { content:""; position:absolute; border-radius:50%; }
.simulator-lock-orbit::before { inset:16%; border:1px solid rgba(245,197,104,.18); }
.simulator-lock-orbit::after { inset:40%; background:var(--cyan); opacity:.25; box-shadow:0 0 32px var(--cyan); }
.simulator-lock-orbit i:first-child { width:9px; height:9px; top:8%; left:46%; background:var(--gold); }
.simulator-lock-orbit i:nth-child(2) { width:7px; height:7px; right:9%; bottom:27%; background:var(--mint); }
.simulator-lock-orbit strong { position:relative; z-index:1; color:var(--cyan); font:900 1rem/1 ui-monospace,monospace; }
.simulator-locked > div:last-child > span { color:var(--cyan); font:800 .78rem/1 ui-monospace,monospace; letter-spacing:.09em; }
.simulator-locked h3 { margin:14px 0 8px; font-size:1.5rem; }
.simulator-locked p { margin:0; color:var(--muted); font-size:.95rem; }

.opportunity-matrix > header { background:radial-gradient(circle at 100% 0,rgba(245,197,104,.09),transparent 47%),#071014; }
.opportunity-matrix header span { color:var(--gold); }
.matrix-stage { position:relative; min-height:520px; padding:16px 18px 4px; background:radial-gradient(circle at 76% 20%,rgba(109,242,182,.035),transparent 35%),#050b0e; }
.matrix-stage svg { width:100%; height:auto; overflow:visible; }
.matrix-quadrant { stroke:rgba(255,255,255,.035); stroke-width:1; }
.matrix-quadrant.quality-value { fill:rgba(109,242,182,.075); }
.matrix-quadrant.quality-premium { fill:rgba(110,223,242,.045); }
.matrix-quadrant.discount-risk { fill:rgba(245,197,104,.055); }
.matrix-quadrant.low-alignment { fill:rgba(255,111,125,.025); }
.matrix-axis { stroke:rgba(230,246,241,.25); stroke-width:1.5; }
.matrix-midline { stroke:rgba(230,246,241,.09); stroke-width:1; stroke-dasharray:6 7; }
.matrix-quadrant-label { fill:rgba(230,246,241,.36); font:800 11px ui-monospace,monospace; letter-spacing:1.2px; }
.matrix-tick { fill:var(--dim); font:700 12px ui-monospace,monospace; }
.matrix-axis-label { fill:var(--muted); font:800 12px ui-monospace,monospace; letter-spacing:1.4px; }
.matrix-axis-label.vertical { transform:rotate(-90deg); transform-origin:18px 245px; }
.matrix-point { outline:none; cursor:pointer; filter:url(#matrix-glow); }
.matrix-point > circle:first-child { fill:color-mix(in srgb,var(--point-color) 78%,#071014); stroke:var(--point-color); stroke-width:2; transition:160ms ease; }
.matrix-point-ring { fill:none; stroke:var(--point-color); stroke-width:1; opacity:.18; }
.matrix-point text { fill:#f7fbf9; font:850 9px ui-monospace,monospace; text-anchor:middle; pointer-events:none; }
.matrix-point:hover > circle:first-child,.matrix-point:focus > circle:first-child,.matrix-point.is-selected > circle:first-child { stroke-width:4; }
.matrix-point.is-selected .matrix-point-ring { opacity:.68; stroke-width:2; stroke-dasharray:4 4; }
.matrix-ghost circle { fill:rgba(110,223,242,.08); stroke:var(--cyan); stroke-width:2; stroke-dasharray:4 5; }
.matrix-ghost text { fill:var(--muted); font:750 12px ui-monospace,monospace; }
.matrix-waiting { position:absolute; right:36px; bottom:42px; display:grid; gap:5px; max-width:260px; padding:14px 16px; border:1px solid var(--line); border-radius:13px; background:rgba(3,9,12,.86); }
.matrix-waiting strong { font-size:.92rem; }
.matrix-waiting span { color:var(--muted); font-size:.78rem; }
.opportunity-matrix > footer { display:flex; justify-content:space-between; gap:18px; padding:14px 22px; border-top:1px solid var(--line); color:var(--muted); font-size:.82rem; }

.valuation-mode-switch { display:grid; grid-template-columns:1fr 1fr; gap:5px; padding:5px; border:1px solid var(--line); border-radius:14px; background:rgba(0,0,0,.18); }
.valuation-mode-switch button { min-height:42px; border-radius:10px; color:var(--muted); background:transparent; cursor:pointer; font-size:.88rem; font-weight:750; }
.valuation-mode-switch button.is-active { color:#03100b; background:var(--cyan); }

@media (max-width:1250px) {
  .opportunity-intelligence-grid { grid-template-columns:1fr; }
  .matrix-stage { min-height:0; }
}
@media (max-width:680px) {
  .opportunity-simulator > header,.opportunity-matrix > header { min-height:0; align-items:flex-start; flex-direction:column; padding:22px; }
  .opportunity-simulator header > strong,.opportunity-matrix header > strong { max-width:none; text-align:left; }
  .simulator-read-grid { grid-template-columns:1fr; }
  .simulator-read-grid > div { min-height:112px; }
  .simulator-control { padding:22px; }
  .simulator-locked { grid-template-columns:1fr; min-height:420px; padding:26px 22px; }
  .simulator-lock-orbit { width:120px; }
  .matrix-stage { min-height:360px; padding:6px; overflow-x:auto; }
  .matrix-stage svg { min-width:610px; }
  .matrix-waiting { right:18px; bottom:22px; }
  .opportunity-matrix > footer { align-items:flex-start; flex-direction:column; }
}

/* Company factory and StockWorlds 500 */
.drawer-directory-tabs { display:grid; grid-template-columns:repeat(3,1fr); gap:6px; margin:22px 0 10px; padding:5px; border:1px solid var(--line); border-radius:16px; background:rgba(0,0,0,.2); }
.drawer-directory-tabs button { display:grid; min-width:0; min-height:62px; place-content:center; gap:5px; padding:8px 5px; border:1px solid transparent; border-radius:11px; color:var(--dim); background:transparent; cursor:pointer; }
.drawer-directory-tabs button:hover { color:var(--ink); background:rgba(255,255,255,.025); }
.drawer-directory-tabs button.is-active { border-color:color-mix(in srgb,var(--mint) 30%,var(--line)); color:var(--mint); background:color-mix(in srgb,var(--mint) 8%,var(--panel-solid)); box-shadow:inset 0 0 24px color-mix(in srgb,var(--mint) 5%,transparent); }
.drawer-directory-tabs strong { font:800 1.05rem/1 ui-monospace,monospace; }
.drawer-directory-tabs span { font-size:.75rem; line-height:1; white-space:nowrap; }
.drawer-directory-note { min-height:38px; margin:0; color:var(--muted); font-size:.78rem; line-height:1.5; }
.company-drawer .company-search input { margin:12px 0 15px; }
.company-drawer .drawer-company-list { max-height:calc(100vh - 285px); }
.drawer-search-summary { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:4px 4px 9px; color:var(--dim); font-size:.67rem; }
.drawer-search-summary strong { color:var(--mint); font:750 .68rem/1 ui-monospace,monospace; letter-spacing:.06em; }
.drawer-search-summary span { text-align:right; }
.drawer-company.is-catalog-entry { background:linear-gradient(135deg,color-mix(in srgb,var(--company-color) 4%,transparent),rgba(255,255,255,.012)); }
.catalog-status { padding:5px 7px; border:1px solid var(--line); border-radius:999px; color:var(--dim); font:750 .57rem/1 ui-monospace,monospace; letter-spacing:.04em; white-space:nowrap; }
.drawer-company > .catalog-status { font:750 .57rem/1 ui-monospace,monospace; }
.catalog-status.world-ready { border-color:color-mix(in srgb,var(--mint) 30%,var(--line)); color:var(--mint); }
.catalog-status.profiled { border-color:color-mix(in srgb,var(--cyan) 28%,var(--line)); color:var(--cyan); }
.company-drawer[data-mode="preview"] .company-search,.company-drawer[data-mode="preview"] .drawer-directory-tabs,.company-drawer[data-mode="preview"] .drawer-directory-note { display:none; }
.company-drawer[data-mode="preview"] .drawer-company-list { max-height:calc(100vh - 105px); margin-top:18px; }
.drawer-load-more { display:flex; align-items:center; justify-content:space-between; min-height:52px; padding:0 15px; border:1px solid color-mix(in srgb,var(--cyan) 28%,var(--line)); border-radius:14px; color:var(--cyan); background:color-mix(in srgb,var(--cyan) 5%,transparent); cursor:pointer; font-weight:750; }
.drawer-load-more:hover { border-color:color-mix(in srgb,var(--cyan) 58%,var(--line)); background:color-mix(in srgb,var(--cyan) 9%,transparent); }
.drawer-load-more span { color:var(--dim); font:700 .68rem/1 ui-monospace,monospace; }
.catalog-preview-back { width:max-content; padding:9px 0; color:var(--cyan); background:transparent; cursor:pointer; font-size:.72rem; }
.catalog-preview { display:grid; gap:18px; padding:20px; border:1px solid color-mix(in srgb,var(--company-color) 24%,var(--line)); border-radius:20px; background:radial-gradient(circle at 85% 0,color-mix(in srgb,var(--company-color) 12%,transparent),transparent 38%),rgba(255,255,255,.018); }
.catalog-preview > header { display:grid; grid-template-columns:60px 1fr; align-items:center; justify-content:initial; gap:14px; }
.catalog-preview-sigil { display:grid; width:58px; height:58px; place-items:center; overflow:hidden; border:1px solid color-mix(in srgb,var(--company-color) 42%,var(--line)); border-radius:17px; color:#06100b; background:var(--company-color); font:850 .82rem/1 ui-monospace,monospace; }
.catalog-preview-sigil img { width:74%; height:74%; object-fit:contain; }
.catalog-preview header span,.catalog-preview-status > span { color:var(--mint); font:750 .63rem/1 ui-monospace,monospace; letter-spacing:.09em; }
.catalog-preview header h2 { margin:6px 0 3px; font-size:1.35rem; line-height:1.05; }
.catalog-preview header p,.catalog-preview-status p { margin:0; color:var(--muted); font-size:.75rem; line-height:1.55; }
.catalog-preview-status { padding:16px; border:1px solid var(--line); border-radius:15px; background:rgba(0,0,0,.16); }
.catalog-preview-status strong { display:block; margin:8px 0 6px; font-size:1.15rem; }
.catalog-preview-facts { display:grid; grid-template-columns:1fr 1fr; gap:8px; margin:0; }
.catalog-preview-facts div { min-width:0; padding:11px; border:1px solid var(--line); border-radius:12px; }
.catalog-preview-facts dt { color:var(--dim); font-size:.58rem; text-transform:uppercase; letter-spacing:.08em; }
.catalog-preview-facts dd { margin:5px 0 0; color:var(--ink); font-size:.73rem; line-height:1.35; overflow-wrap:anywhere; }
.catalog-pipeline { display:grid; gap:7px; }
.catalog-pipeline > div { display:grid; grid-template-columns:14px 1fr; gap:10px; align-items:center; padding:9px 0; color:var(--dim); }
.catalog-pipeline i { width:11px; height:11px; border:2px solid var(--line-strong); border-radius:50%; }
.catalog-pipeline span { display:grid; gap:3px; }
.catalog-pipeline strong { color:var(--muted); font-size:.76rem; }
.catalog-pipeline small { font-size:.63rem; }
.catalog-pipeline .is-complete i { border-color:var(--mint); background:var(--mint); box-shadow:0 0 14px color-mix(in srgb,var(--mint) 55%,transparent); }
.catalog-pipeline .is-complete strong { color:var(--ink); }
.catalog-pipeline .is-active i { border-color:var(--cyan); box-shadow:0 0 14px color-mix(in srgb,var(--cyan) 55%,transparent); }
.catalog-pipeline .is-active strong { color:var(--cyan); }
.catalog-preview footer { display:flex; justify-content:space-between; gap:12px; padding-top:14px; border-top:1px solid var(--line); color:var(--dim); font-size:.62rem; }
.catalog-preview footer a { color:var(--cyan); }
.catalog-browser-controls { display:flex; align-items:center; justify-content:space-between; gap:16px; margin:20px 0 0; padding:14px; border:1px solid var(--line); border-radius:16px; background:rgba(0,0,0,.14); }
.catalog-browser-controls[hidden] { display:none; }
.catalog-search-line { min-width:0; flex:1; display:flex; align-items:center; gap:8px; }
.catalog-search-line label { min-width:0; flex:1; }
.catalog-browser-controls input { width:100%; min-height:44px; padding:0 13px; border:1px solid var(--line-strong); border-radius:12px; color:var(--ink); background:var(--panel-solid); }
.catalog-search-line button { min-height:44px; padding:0 13px; border:1px solid var(--line); border-radius:12px; color:var(--mint); background:rgba(109,242,182,.045); cursor:pointer; font-size:.74rem; font-weight:800; }
.catalog-browser-controls small { color:var(--dim); font-size:.68rem; white-space:nowrap; }
.catalog-company { min-height:102px; background:linear-gradient(135deg,color-mix(in srgb,var(--company-color) 5%,transparent),rgba(255,255,255,.012)); }
.catalog-company > span:nth-child(2) { min-width:0; }
.catalog-company h3 { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.catalog-company > strong { padding:5px 7px; border:1px solid var(--line); border-radius:999px; color:var(--dim); font:750 .57rem/1 ui-monospace,monospace; letter-spacing:.05em; }
.catalog-company.is-world-ready > strong { border-color:color-mix(in srgb,var(--mint) 30%,var(--line)); color:var(--mint); }
.catalog-stage { display:block; margin-top:6px; color:var(--muted); font-size:.61rem; font-style:normal; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.catalog-more { grid-column:1/-1; display:flex; justify-content:center; gap:10px; min-height:50px; align-items:center; border:1px dashed color-mix(in srgb,var(--mint) 34%,var(--line)); border-radius:15px; color:var(--mint); background:rgba(109,242,182,.025); cursor:pointer; font-weight:750; }
.catalog-more span { color:var(--dim); font-size:.68rem; font-weight:500; }
.catalog-atlas-stages { display:flex; align-items:center; gap:10px; margin-top:20px; color:var(--muted); font-size:.68rem; }
.catalog-atlas-stages span { display:flex; align-items:baseline; gap:5px; }
.catalog-atlas-stages b { color:var(--ink); font-size:.9rem; }
.catalog-atlas-stages i { width:20px; height:1px; background:linear-gradient(90deg,var(--line),var(--mint)); }

@media (max-width:680px) {
  .drawer-search-summary,.catalog-browser-controls,.catalog-preview footer { align-items:flex-start; flex-direction:column; }
  .drawer-search-summary span { text-align:left; }
  .drawer-directory-tabs { margin-top:18px; }
  .drawer-directory-tabs span { font-size:.69rem; }
  .company-drawer .drawer-company-list { max-height:calc(100vh - 290px); }
  .catalog-browser-controls small { white-space:normal; }
  .catalog-preview-facts { grid-template-columns:1fr; }
  .catalog-atlas-stages { align-items:flex-start; flex-direction:column; }
  .catalog-atlas-stages i { width:1px; height:12px; }
  .catalog-company { grid-template-columns:44px minmax(0,1fr); }
  .catalog-company > strong { grid-column:2; justify-self:start; }
}

/* Public release launch integrity and Trust Center */
.data-scope {
  color:var(--ink);
  border-top:0;
  border-right:0;
  border-bottom:0;
  background:transparent;
  cursor:pointer;
  text-align:left;
  transition:background 160ms ease,border-color 160ms ease;
}
.data-scope:hover { border-left-color:var(--mint); background:rgba(109,242,182,.035); }
.rail-trust {
  display:grid;
  gap:5px;
  width:100%;
  margin-top:10px;
  padding:12px 13px;
  border:1px solid var(--line);
  border-radius:14px;
  color:var(--muted);
  background:rgba(9,18,22,.5);
  cursor:pointer;
  text-align:left;
}
.rail-trust:hover,.rail-trust.is-active { border-color:rgba(109,242,182,.32); color:var(--ink); background:rgba(109,242,182,.055); }
.rail-trust strong { color:var(--mint); font:750 .66rem/1 ui-monospace,monospace; letter-spacing:.1em; }
.rail-trust span { font-size:.76rem; font-weight:700; }
.beta-pill {
  display:inline-flex;
  align-items:center;
  min-height:28px;
  margin-left:8px;
  padding:0 10px;
  border:1px solid rgba(245,197,104,.28);
  border-radius:999px;
  color:var(--gold);
  background:rgba(245,197,104,.06);
  font-size:.65rem;
  letter-spacing:.09em;
  vertical-align:middle;
}
.launch-integrity {
  display:grid;
  grid-template-columns:minmax(270px,.82fr) minmax(0,1.18fr);
  gap:clamp(28px,5vw,76px);
  max-width:1480px;
  margin:0 auto 90px;
  padding:clamp(28px,5vw,64px);
  border-color:rgba(109,242,182,.17);
  background:radial-gradient(circle at 100% 0,rgba(109,242,182,.08),transparent 34%),var(--panel);
}
.launch-integrity-copy > span,.trust-panel > header span,.trust-feedback > div:first-child > span {
  color:var(--mint);
  font:750 .7rem/1 ui-monospace,monospace;
  letter-spacing:.12em;
}
.launch-integrity-copy h2 { margin:14px 0 12px; font-size:clamp(2rem,3.5vw,3.6rem); line-height:1; letter-spacing:-.055em; }
.launch-integrity-copy p { max-width:590px; margin:0 0 22px; color:var(--muted); line-height:1.7; }
.launch-integrity-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
.launch-integrity-grid > div { min-height:150px; padding:21px; border:1px solid var(--line); border-radius:18px; background:rgba(0,0,0,.16); }
.launch-integrity-grid span { color:var(--dim); font:750 .65rem/1 ui-monospace,monospace; letter-spacing:.09em; }
.launch-integrity-grid strong { display:block; margin:22px 0 8px; color:var(--ink); font-size:clamp(1.8rem,3vw,2.7rem); line-height:1; letter-spacing:-.05em; }
.launch-integrity-grid small { color:var(--muted); font-size:.77rem; line-height:1.45; }
.landing-footer > div { flex-wrap:wrap; justify-content:flex-end; }
.landing-footer > div a { display:inline-flex; align-items:center; min-height:44px; padding:0 15px; border-radius:12px; color:var(--muted); font-size:.9rem; font-weight:700; }
.landing-footer > div a:hover { color:var(--ink); background:rgba(255,255,255,.045); }

body[data-view="trust"] { --page-accent:var(--mint); }
.trust-view { padding-bottom:24px; }
.trust-hero { align-items:center; }
.trust-health {
  display:grid;
  min-width:250px;
  gap:8px;
  padding:22px 0 22px 24px;
  border-left:1px solid var(--line-strong);
}
.trust-health span { color:var(--mint); font:750 .68rem/1 ui-monospace,monospace; letter-spacing:.12em; }
.trust-health strong { font-size:1.14rem; }
.trust-health small { max-width:260px; color:var(--muted); line-height:1.5; }
.trust-jump-nav {
  position:sticky;
  top:calc(var(--header-height) + 8px);
  z-index:18;
  display:flex;
  flex-wrap:wrap;
  gap:5px;
  margin:0 0 18px;
  padding:6px;
  border:1px solid var(--line);
  border-radius:16px;
  background:rgba(3,7,9,.86);
  backdrop-filter:blur(18px);
}
.trust-jump-nav button { min-height:42px; padding:0 15px; border-radius:11px; color:var(--muted); background:transparent; cursor:pointer; font-size:.85rem; font-weight:700; }
.trust-jump-nav button:hover { color:var(--ink); background:rgba(109,242,182,.07); }
.trust-panel { margin-bottom:16px; padding:clamp(24px,4vw,48px); scroll-margin-top:calc(var(--header-height) + 82px); }
.trust-panel > header { display:flex; align-items:flex-end; justify-content:space-between; gap:32px; margin-bottom:28px; }
.trust-panel > header h2 { max-width:760px; margin:11px 0 0; font-size:clamp(1.8rem,3vw,3rem); line-height:1.05; letter-spacing:-.045em; }
.trust-panel > header > p { max-width:440px; margin:0; color:var(--muted); line-height:1.65; }
.coverage-score-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:10px; }
.coverage-score-card { --coverage:0; min-width:0; padding:20px; border:1px solid var(--line); border-radius:18px; background:rgba(0,0,0,.16); }
.coverage-score-card > span { color:var(--dim); font:750 .65rem/1 ui-monospace,monospace; letter-spacing:.09em; }
.coverage-score-card strong { display:block; margin:17px 0 6px; font-size:1.65rem; line-height:1; letter-spacing:-.04em; }
.coverage-score-card small { display:block; min-height:36px; color:var(--muted); font-size:.75rem; line-height:1.45; }
.coverage-bar { height:4px; margin-top:16px; overflow:hidden; border-radius:99px; background:rgba(255,255,255,.07); }
.coverage-bar i { display:block; width:calc(var(--coverage) * 1%); height:100%; border-radius:inherit; background:linear-gradient(90deg,var(--cyan),var(--mint)); box-shadow:0 0 14px rgba(109,242,182,.45); }
.coverage-detail-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:1px; margin-top:18px; overflow:hidden; border:1px solid var(--line); border-radius:18px; background:var(--line); }
.coverage-detail-grid > div { min-width:0; padding:18px; background:var(--panel-solid); }
.coverage-detail-grid span { color:var(--dim); font:750 .62rem/1 ui-monospace,monospace; letter-spacing:.08em; }
.coverage-detail-grid strong { display:block; margin:11px 0 5px; font-size:1rem; overflow-wrap:anywhere; }
.coverage-detail-grid small { display:block; color:var(--muted); font-size:.72rem; line-height:1.45; }
.trust-principle { margin:18px 0 0; padding:17px 19px; border-left:3px solid var(--gold); color:var(--muted); background:rgba(245,197,104,.045); line-height:1.65; }
.trust-principle strong { color:var(--ink); }
.methodology-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; }
.methodology-grid section { min-height:245px; padding:24px; border:1px solid var(--line); border-radius:18px; background:rgba(255,255,255,.018); }
.methodology-grid span,.source-trust-grid span { color:var(--cyan); font:750 .65rem/1 ui-monospace,monospace; letter-spacing:.09em; }
.methodology-grid h3 { margin:58px 0 10px; font-size:1.25rem; line-height:1.2; }
.methodology-grid p { margin:0; color:var(--muted); font-size:.88rem; line-height:1.65; }
.methodology-rules { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; margin-top:10px; }
.methodology-rules > div { padding:18px; border:1px solid var(--line); border-radius:15px; }
.methodology-rules strong { display:block; font-size:.88rem; }
.methodology-rules span { display:block; margin-top:6px; color:var(--muted); font-size:.77rem; line-height:1.5; }
.source-trust-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; }
.source-trust-grid > * { display:grid; align-content:start; min-height:175px; padding:22px; border:1px solid var(--line); border-radius:18px; background:rgba(255,255,255,.018); }
.source-trust-grid > a:hover { border-color:rgba(110,223,242,.38); background:rgba(110,223,242,.045); }
.source-trust-grid strong { margin:48px 0 7px; font-size:1.08rem; }
.source-trust-grid small { color:var(--muted); line-height:1.5; }
.legal-copy { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
.legal-copy section { padding:21px; border:1px solid var(--line); border-radius:16px; background:rgba(255,255,255,.014); }
.legal-copy h3 { margin:0 0 9px; font-size:1rem; }
.legal-copy p { margin:0; color:var(--muted); font-size:.88rem; line-height:1.7; }
.legal-copy a { color:var(--cyan); text-decoration:underline; text-underline-offset:3px; }
.trust-feedback { display:flex; align-items:center; justify-content:space-between; gap:32px; border-color:rgba(109,242,182,.22); background:radial-gradient(circle at 100% 0,rgba(109,242,182,.1),transparent 42%),var(--panel); }
.trust-feedback h2 { margin:12px 0 8px; font-size:clamp(1.8rem,3vw,3rem); letter-spacing:-.045em; }
.trust-feedback p { max-width:650px; margin:0; color:var(--muted); }
.trust-feedback > div:last-child { display:flex; flex-wrap:wrap; justify-content:flex-end; gap:9px; }
.trust-feedback a { display:inline-flex; align-items:center; justify-content:center; }

@media (max-width:1100px) {
  .launch-integrity { grid-template-columns:1fr; margin-inline:20px; }
  .coverage-score-grid,.coverage-detail-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:860px) {
  .trust-hero,.trust-panel > header,.trust-feedback { align-items:flex-start; flex-direction:column; }
  .trust-health { width:100%; min-width:0; padding:18px 0 0; border-top:1px solid var(--line); border-left:0; }
  .methodology-grid,.methodology-rules,.source-trust-grid { grid-template-columns:1fr; }
  .methodology-grid section { min-height:0; }
  .methodology-grid h3,.source-trust-grid strong { margin-top:26px; }
  .landing-footer > div { display:flex; justify-content:flex-start; }
  .rail-trust { display:none; }
}
@media (max-width:560px) {
  .beta-pill { display:flex; width:max-content; margin:9px 0 0; }
  .launch-integrity { margin:0 14px 58px; padding:22px; }
  .launch-integrity-grid,.coverage-score-grid,.coverage-detail-grid,.legal-copy { grid-template-columns:1fr; }
  .launch-integrity-grid > div { min-height:125px; }
  .trust-jump-nav { flex-wrap:nowrap; overflow-x:auto; border-radius:13px; }
  .trust-jump-nav button { flex:0 0 auto; }
  .trust-panel { padding:22px; border-radius:20px; }
  .trust-panel > header { margin-bottom:22px; }
  .trust-feedback > div:last-child,.trust-feedback a { width:100%; }
}

/* Native shell, sharing, and private account sync */
.native-share,.account-chip {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:42px;
  padding:0 12px;
  border:1px solid var(--line);
  border-radius:13px;
  color:var(--muted);
  background:rgba(13,23,28,.7);
  cursor:pointer;
  transition:border-color 160ms ease,color 160ms ease,background 160ms ease;
}
.native-share:hover,.account-chip:hover { border-color:var(--line-strong); color:var(--ink); background:var(--panel-raised); }
.native-share strong,.account-chip strong { font-size:.72rem; }
.native-share > span { position:relative; width:15px; height:17px; border:1px solid currentColor; border-radius:4px; }
.native-share > span::before { content:""; position:absolute; width:6px; height:6px; top:-5px; left:3px; border-top:1px solid currentColor; border-left:1px solid currentColor; transform:rotate(45deg); }
.native-share > span::after { content:""; position:absolute; width:1px; height:9px; top:-5px; left:6px; background:currentColor; }
.account-presence { width:8px; height:8px; border-radius:50%; background:var(--mint); box-shadow:0 0 12px rgba(109,242,182,.72); }

.has-modal { overflow:hidden; }
.account-dialog { position:fixed; z-index:240; inset:0; display:grid; place-items:center; padding:20px; overflow-y:auto; background:rgba(1,4,6,.86); backdrop-filter:blur(18px); }
.account-dialog[hidden] { display:none; }
.account-panel { width:min(670px,100%); overflow:hidden; border:1px solid var(--line-strong); border-radius:28px; background:radial-gradient(circle at 95% 0,rgba(110,223,242,.1),transparent 32%),radial-gradient(circle at 0 100%,rgba(109,242,182,.08),transparent 34%),#071014; box-shadow:0 36px 120px rgba(0,0,0,.65); }
.account-panel > header { display:flex; align-items:center; justify-content:space-between; gap:18px; padding:22px 24px; border-bottom:1px solid var(--line); }
.account-brand { display:flex; align-items:center; min-width:0; gap:13px; }
.account-brand img { width:43px; height:43px; flex:0 0 auto; }
.account-brand > span { display:grid; gap:5px; min-width:0; }
.account-brand small,.account-identity span { color:var(--mint); font:750 .62rem/1 ui-monospace,monospace; letter-spacing:.12em; }
.account-brand strong { font-size:1.05rem; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.account-panel > header > button { min-height:40px; padding:0 10px; color:var(--muted); background:transparent; cursor:pointer; }
.account-panel > header > button:hover { color:var(--ink); }
.account-hero { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:end; gap:28px; padding:32px 24px 25px; }
.account-hero > p { max-width:430px; margin:0; color:var(--muted); font-size:1.05rem; line-height:1.65; }
.account-identity { display:grid; gap:8px; min-width:150px; padding-left:20px; border-left:1px solid var(--line); }
.account-identity strong { font-size:.84rem; overflow-wrap:anywhere; }
.account-auth { display:grid; gap:10px; margin:0 24px; padding:20px; border:1px solid var(--line); border-radius:18px; background:rgba(0,0,0,.18); }
.account-auth[hidden] { display:none; }
.account-auth label { color:var(--ink); font-size:.78rem; font-weight:750; }
.account-auth > div { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:8px; }
.account-auth input { min-width:0; min-height:46px; padding:0 13px; border:1px solid var(--line-strong); border-radius:12px; outline:none; color:var(--ink); background:#050a0d; }
.account-auth input:focus { border-color:var(--mint); box-shadow:0 0 0 3px rgba(109,242,182,.08); }
.account-auth .primary-button { min-height:46px; }
.account-auth > small { color:var(--dim); font-size:.72rem; line-height:1.45; }
.account-message { min-height:18px; margin:12px 26px 0; color:var(--cyan); font-size:.76rem; }
.account-actions { display:grid; gap:8px; padding:12px 24px 24px; }
.account-action { display:flex; align-items:center; justify-content:space-between; gap:18px; width:100%; min-height:70px; padding:12px 15px; border:1px solid var(--line); border-radius:15px; color:var(--ink); background:rgba(255,255,255,.018); cursor:pointer; text-align:left; }
.account-action[hidden] { display:none; }
.account-action:hover { border-color:rgba(109,242,182,.28); background:rgba(109,242,182,.04); }
.account-action > span { display:grid; gap:4px; }
.account-action strong { font-size:.86rem; }
.account-action small { color:var(--muted); font-size:.72rem; }
.account-action b { min-width:62px; padding:8px 10px; border:1px solid var(--line); border-radius:999px; color:var(--mint); font-size:.67rem; text-align:center; }
.account-panel > footer { display:flex; align-items:center; justify-content:space-between; gap:22px; padding:18px 24px calc(18px + env(safe-area-inset-bottom)); border-top:1px solid var(--line); background:rgba(0,0,0,.13); }
.account-panel > footer p { max-width:360px; margin:0; color:var(--dim); font-size:.7rem; line-height:1.5; }
.account-panel > footer > div { display:flex; align-items:center; gap:8px; }
.account-panel > footer button { min-height:38px; padding:0 10px; color:var(--muted); background:transparent; cursor:pointer; font-size:.72rem; }
.account-panel > footer button[hidden] { display:none; }
.account-panel > footer .danger-button { color:var(--red); }

.has-subscription-gate { overflow:hidden; }
.subscription-gate { position:fixed; z-index:320; inset:0; display:grid; place-items:center; padding:clamp(12px,2.8vw,36px); overflow-y:auto; background:radial-gradient(circle at 18% 8%,rgba(109,242,182,.13),transparent 32%),radial-gradient(circle at 88% 90%,rgba(110,223,242,.11),transparent 36%),rgba(1,4,6,.97); backdrop-filter:blur(24px); }
.subscription-gate[hidden] { display:none; }
.subscription-panel { width:min(1120px,100%); overflow:hidden; border:1px solid rgba(198,231,220,.2); border-radius:32px; background:linear-gradient(145deg,rgba(13,25,30,.98),rgba(4,9,12,.99)); box-shadow:0 44px 140px rgba(0,0,0,.72),0 0 70px rgba(109,242,182,.05); }
.subscription-brand { display:flex; align-items:center; justify-content:space-between; min-height:78px; padding:0 28px; border-bottom:1px solid var(--line); background:rgba(2,8,10,.44); }
.subscription-pro-badge { padding:8px 13px; border:1px solid rgba(109,242,182,.34); border-radius:999px; color:var(--mint); background:rgba(109,242,182,.07); font:800 .66rem/1 ui-monospace,monospace; letter-spacing:.14em; }
.subscription-layout { display:grid; grid-template-columns:minmax(0,1.12fr) minmax(360px,.88fr); }
.subscription-story { position:relative; min-height:650px; padding:clamp(34px,5vw,70px); overflow:hidden; border-right:1px solid var(--line); background:radial-gradient(circle at 48% 72%,rgba(109,242,182,.12),transparent 31%),linear-gradient(150deg,rgba(255,255,255,.018),transparent 48%); }
.subscription-story::before { content:""; position:absolute; inset:0; pointer-events:none; opacity:.35; background-image:linear-gradient(rgba(255,255,255,.025) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.025) 1px,transparent 1px); background-size:46px 46px; mask-image:linear-gradient(black,transparent 88%); }
.subscription-story > * { position:relative; z-index:1; }
.subscription-story .eyebrow { margin:0; color:var(--mint); font-size:.7rem; }
.subscription-story h1 { max-width:650px; margin:20px 0 18px; font-size:clamp(3rem,5vw,5.5rem); line-height:.91; letter-spacing:-.072em; }
.subscription-story h1 span { color:var(--cyan); }
.subscription-story > p:not(.eyebrow) { max-width:610px; margin:0; color:var(--muted); font-size:1.02rem; line-height:1.7; }
.subscription-world { position:absolute; z-index:0; right:6%; bottom:-8%; width:min(420px,66%); aspect-ratio:1; border-radius:50%; perspective:800px; }
.subscription-world::after { content:""; position:absolute; inset:18%; border-radius:50%; background:radial-gradient(circle,rgba(109,242,182,.18),rgba(109,242,182,.03) 50%,transparent 70%); filter:blur(4px); }
.subscription-core { position:absolute; z-index:4; inset:31%; display:grid; place-items:center; border:1px solid rgba(109,242,182,.27); border-radius:50%; background:#071014; box-shadow:0 0 60px rgba(109,242,182,.16); }
.subscription-core img { width:76%; height:76%; }
.subscription-orbit { position:absolute; inset:12%; border:1px solid rgba(110,223,242,.18); border-radius:50%; transform:rotateX(65deg) rotateZ(12deg); }
.subscription-orbit::after { content:""; position:absolute; top:50%; left:-5px; width:10px; height:10px; border-radius:50%; background:var(--cyan); box-shadow:0 0 18px var(--cyan); }
.subscription-orbit.orbit-two { inset:21% 5%; border-color:rgba(245,197,104,.2); transform:rotateX(58deg) rotateZ(78deg); }
.subscription-orbit.orbit-two::after { background:var(--gold); box-shadow:0 0 18px var(--gold); }
.subscription-orbit.orbit-three { inset:6% 26%; border-color:rgba(109,242,182,.22); transform:rotateY(62deg) rotateZ(14deg); }
.subscription-orbit.orbit-three::after { background:var(--mint); box-shadow:0 0 18px var(--mint); }
.world-node { position:absolute; z-index:5; display:grid; min-width:58px; height:31px; place-items:center; padding:0 10px; border:1px solid var(--line-strong); border-radius:999px; color:var(--ink); background:rgba(5,12,15,.88); font:800 .57rem/1 ui-monospace,monospace; letter-spacing:.08em; box-shadow:0 10px 30px rgba(0,0,0,.35); }
.node-one { top:16%; left:8%; color:var(--mint); }.node-two { top:30%; right:1%; color:var(--cyan); }.node-three { bottom:19%; left:3%; color:var(--gold); }
.subscription-offer { display:flex; flex-direction:column; justify-content:center; min-height:650px; padding:clamp(28px,4vw,48px); }
.subscription-benefits { display:grid; gap:17px; }
.subscription-benefits > div { display:grid; grid-template-columns:26px 1fr; gap:12px; align-items:start; }
.subscription-benefits i { position:relative; display:block; width:22px; height:22px; margin-top:2px; border:1px solid rgba(109,242,182,.3); border-radius:50%; background:rgba(109,242,182,.07); }
.subscription-benefits i::after { content:""; position:absolute; width:7px; height:4px; top:7px; left:6px; border-bottom:2px solid var(--mint); border-left:2px solid var(--mint); transform:rotate(-45deg); }
.subscription-benefits span { display:grid; gap:4px; }
.subscription-benefits strong { font-size:.9rem; }
.subscription-benefits small { color:var(--muted); font-size:.73rem; line-height:1.45; }
.subscription-price-card { display:grid; gap:6px; margin:28px 0 14px; padding:20px; border:1px solid rgba(109,242,182,.2); border-radius:18px; background:radial-gradient(circle at 100% 0,rgba(109,242,182,.09),transparent 48%),rgba(0,0,0,.18); }
.subscription-price-card > span { color:var(--mint); font:800 .62rem/1 ui-monospace,monospace; letter-spacing:.12em; }
.subscription-price-card strong { margin-top:5px; font-size:1.8rem; line-height:1; letter-spacing:-.045em; }
.subscription-price-card small { color:var(--muted); font-size:.82rem; }
.subscription-purchase { width:100%; min-height:56px; padding:0 18px; border-radius:15px; color:#03110c; background:linear-gradient(135deg,var(--mint),#9bf8cf); box-shadow:0 14px 40px rgba(109,242,182,.16); cursor:pointer; font-size:.96rem; font-weight:850; }
.subscription-purchase:hover { filter:brightness(1.05); transform:translateY(-1px); }
.subscription-purchase:disabled { color:var(--muted); background:rgba(255,255,255,.07); box-shadow:none; cursor:not-allowed; transform:none; }
.subscription-disclosure { margin:13px 2px 0; color:var(--dim); font-size:.66rem; line-height:1.5; }
.subscription-message { min-height:18px; margin:11px 2px 0; color:var(--cyan); font-size:.71rem; line-height:1.45; }
.subscription-message[data-tone="warning"] { color:var(--gold); }.subscription-message[data-tone="error"] { color:var(--red); }
.subscription-actions { display:flex; justify-content:center; gap:3px; margin-top:6px; }
.subscription-actions button,.subscription-legal a { min-height:40px; padding:0 9px; color:var(--muted); background:transparent; cursor:pointer; font-size:.71rem; font-weight:700; }
.subscription-actions button:hover,.subscription-legal a:hover { color:var(--ink); }
.subscription-legal { display:flex; align-items:center; justify-content:center; color:var(--dim); font-size:.68rem; }
.subscription-legal a { display:inline-flex; align-items:center; min-height:30px; }

body.is-native { -webkit-user-select:none; user-select:none; overscroll-behavior:none; }
body.is-native input,body.is-native textarea { -webkit-user-select:text; user-select:text; }
body.is-native .app-header { height:calc(var(--header-height) + env(safe-area-inset-top)); padding-top:env(safe-area-inset-top); }
body.is-native .app-rail { top:calc(var(--header-height) + env(safe-area-inset-top)); padding-bottom:calc(18px + env(safe-area-inset-bottom)); }
body.is-native:not([data-view="landing"]) .app-main { padding-top:calc(var(--header-height) + env(safe-area-inset-top) + 48px); padding-bottom:calc(80px + env(safe-area-inset-bottom)); }
body.is-native[data-view="landing"] .landing-nav { padding-top:env(safe-area-inset-top); min-height:calc(82px + env(safe-area-inset-top)); }
body.is-native .toast { bottom:calc(24px + env(safe-area-inset-bottom)); }

@media (max-width:860px) {
  .native-share,.account-chip { padding-inline:10px; }
  body.is-native:not([data-view="landing"]) .app-main { padding-top:calc(var(--header-height) + env(safe-area-inset-top) + 34px); }
  body.is-native .app-rail { inset:calc(var(--header-height) + env(safe-area-inset-top)) 0 auto 0; }
  .subscription-gate { align-items:start; padding:0; }
  .subscription-panel { min-height:100%; border:0; border-radius:0; }
  .subscription-brand { min-height:calc(70px + env(safe-area-inset-top)); padding:env(safe-area-inset-top) 20px 0; }
  .subscription-layout { grid-template-columns:1fr; }
  .subscription-story { min-height:390px; padding:34px 24px; border-right:0; border-bottom:1px solid var(--line); }
  .subscription-story h1 { max-width:520px; font-size:clamp(3rem,12vw,5rem); }
  .subscription-world { right:-1%; bottom:-22%; width:min(360px,60%); }
  .subscription-offer { min-height:auto; padding:30px 24px calc(24px + env(safe-area-inset-bottom)); }
}
@media (max-width:560px) {
  .native-share { display:none; }
  .account-chip { width:42px; padding:0; }
  .account-chip strong { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); }
  .account-dialog { align-items:end; padding:0; }
  .account-panel { max-height:calc(100vh - env(safe-area-inset-top)); overflow-y:auto; border-right:0; border-bottom:0; border-left:0; border-radius:24px 24px 0 0; }
  .account-panel > header,.account-hero,.account-actions { padding-right:18px; padding-left:18px; }
  .account-hero { grid-template-columns:1fr; gap:18px; }
  .account-identity { min-width:0; padding:14px 0 0; border-top:1px solid var(--line); border-left:0; }
  .account-auth { margin-inline:18px; padding:16px; }
  .account-auth > div { grid-template-columns:1fr; }
  .account-auth .primary-button { width:100%; }
  .account-message { margin-inline:20px; }
  .account-panel > footer { align-items:flex-start; flex-direction:column; padding-right:18px; padding-left:18px; }
  .subscription-brand { padding-right:18px; padding-left:18px; }
  .subscription-story { min-height:275px; padding:24px 20px; }
  .subscription-story h1 { max-width:92%; margin:13px 0 10px; font-size:clamp(2.5rem,12vw,3.5rem); }
  .subscription-story > p:not(.eyebrow) { max-width:82%; font-size:.8rem; line-height:1.45; }
  .subscription-world { right:-8%; bottom:-32%; width:235px; opacity:.62; }
  .subscription-offer { padding:20px 20px calc(18px + env(safe-area-inset-bottom)); }
  .subscription-benefits { grid-template-columns:1fr 1fr; gap:11px 13px; }
  .subscription-benefits > div { grid-template-columns:22px 1fr; gap:8px; }
  .subscription-benefits i { width:20px; height:20px; }
  .subscription-benefits i::after { top:6px; left:5px; }
  .subscription-benefits strong { font-size:.76rem; line-height:1.3; }
  .subscription-benefits small { display:none; }
  .subscription-price-card { margin:17px 0 11px; padding:16px; }
  .subscription-price-card strong { font-size:1.55rem; }
  .subscription-disclosure { font-size:.62rem; }
}

/* Mobile application shell · fixed destinations, bounded screens, safe-area sizing */
.mobile-tab-bar,
.mobile-more-sheet,
.mobile-more-backdrop { display:none; }

@media (max-width:860px) {
  :root {
    --mobile-tab-height:68px;
    --mobile-content-gutter:14px;
  }

  html,
  body { width:100%; height:100%; max-width:100%; overflow:hidden; }
  body { min-height:100dvh; overscroll-behavior:none; }
  .app-shell { width:100%; height:100dvh; min-height:0; overflow:hidden; }
  .app-header { padding-right:12px; padding-left:12px; }
  .app-header .brand { min-width:0; }
  .app-header .brand-copy small,
  .app-header .data-scope,
  .app-header .native-share,
  .app-header .mobile-menu { display:none !important; }
  .app-header .header-actions { min-width:0; gap:7px; }
  .app-header .company-switch { min-width:0; padding:7px 9px; }
  .app-header .account-chip { width:42px; min-width:42px; height:42px; padding:0; }
  .app-header .account-chip strong { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); }
  .app-rail { display:none !important; }

  .app-main,
  body.is-native:not([data-view="landing"]) .app-main {
    width:100%;
    height:100dvh;
    min-height:0;
    margin-left:0;
    padding:calc(var(--header-height) + 24px) var(--mobile-content-gutter) calc(var(--mobile-tab-height) + 24px + env(safe-area-inset-bottom));
    overflow-x:hidden;
    overflow-y:auto;
    overscroll-behavior-y:contain;
    scroll-padding-top:calc(var(--header-height) + 18px);
    -webkit-overflow-scrolling:touch;
  }
  body.is-native:not([data-view="landing"]) .app-main {
    padding-top:calc(var(--header-height) + env(safe-area-inset-top) + 22px);
  }
  body[data-view="landing"] .app-main,
  body.is-native[data-view="landing"] .app-main {
    width:100%;
    height:100dvh;
    min-height:0;
    padding:0 0 calc(var(--mobile-tab-height) + env(safe-area-inset-bottom));
    overflow-x:hidden;
    overflow-y:auto;
    overscroll-behavior-y:contain;
    -webkit-overflow-scrolling:touch;
  }

  .view,
  .view.is-active { width:100%; max-width:100%; min-width:0; }
  .view > *,
  .view :is(section,article,header,footer,div,nav,aside),
  .surface { min-width:0; max-width:100%; }
  img,
  svg,
  canvas,
  video { max-width:100%; }
  input,
  select,
  textarea { min-width:0; max-width:100%; }
  h1,
  h2,
  h3,
  p,
  strong,
  small,
  code { overflow-wrap:anywhere; }

  .mobile-tab-bar {
    position:fixed;
    z-index:180;
    right:0;
    bottom:0;
    left:0;
    height:calc(var(--mobile-tab-height) + env(safe-area-inset-bottom));
    display:grid;
    grid-template-columns:repeat(5,minmax(0,1fr));
    align-items:start;
    padding:7px 5px calc(7px + env(safe-area-inset-bottom));
    border-top:1px solid rgba(198,231,220,.16);
    background:rgba(4,10,13,.94);
    box-shadow:0 -18px 42px rgba(0,0,0,.3);
    backdrop-filter:blur(24px) saturate(1.25);
  }
  .mobile-tab-bar button {
    position:relative;
    min-width:0;
    min-height:54px;
    display:grid;
    place-items:center;
    align-content:center;
    gap:4px;
    padding:3px 1px;
    border-radius:13px;
    color:var(--dim);
    background:transparent;
    cursor:pointer;
    touch-action:manipulation;
  }
  .mobile-tab-bar button::after {
    content:"";
    position:absolute;
    top:-7px;
    left:50%;
    width:28px;
    height:2px;
    border-radius:0 0 4px 4px;
    background:transparent;
    transform:translateX(-50%);
  }
  .mobile-tab-bar button > span:last-child { font-size:.64rem; font-weight:750; letter-spacing:.01em; }
  .mobile-tab-bar button.is-active { color:var(--ink); background:linear-gradient(180deg,rgba(109,242,182,.08),transparent); }
  .mobile-tab-bar button.is-active::after { background:var(--mint); box-shadow:0 0 14px rgba(109,242,182,.6); }
  .mobile-tab-bar button.is-active .mobile-tab-icon { color:var(--mint); }
  .mobile-tab-icon { position:relative; width:23px; height:23px; color:currentColor; }
  .mobile-world-icon { display:grid; place-items:center; border:1px solid currentColor; border-radius:50%; }
  .mobile-world-icon::before { content:""; position:absolute; inset:4px; border:1px solid currentColor; border-radius:50%; opacity:.7; }
  .mobile-world-icon i { width:5px; height:5px; border-radius:50%; background:currentColor; box-shadow:0 0 8px currentColor; }
  .glyph-more::before { content:""; position:absolute; top:10px; left:3px; width:4px; height:4px; border-radius:50%; background:currentColor; box-shadow:7px 0 currentColor,14px 0 currentColor; }

  .mobile-more-backdrop {
    position:fixed;
    z-index:185;
    inset:0 0 calc(var(--mobile-tab-height) + env(safe-area-inset-bottom));
    background:rgba(0,0,0,.64);
    backdrop-filter:blur(6px);
  }
  .mobile-more-backdrop:not([hidden]) { display:block; }
  .mobile-more-sheet {
    position:fixed;
    z-index:190;
    right:0;
    bottom:calc(var(--mobile-tab-height) + env(safe-area-inset-bottom));
    left:0;
    max-height:min(690px,calc(100dvh - var(--mobile-tab-height) - env(safe-area-inset-bottom) - 18px));
    padding:18px 14px 16px;
    overflow-x:hidden;
    overflow-y:auto;
    border:1px solid var(--line-strong);
    border-right:0;
    border-bottom:0;
    border-left:0;
    border-radius:26px 26px 0 0;
    background:radial-gradient(circle at 85% 0,rgba(110,223,242,.1),transparent 34%),#071014;
    box-shadow:0 -30px 90px rgba(0,0,0,.58);
    -webkit-overflow-scrolling:touch;
  }
  .mobile-more-sheet:not([hidden]) { display:block; animation:mobile-sheet-in 180ms ease both; }
  .mobile-more-sheet > header { display:flex; align-items:flex-start; justify-content:space-between; gap:18px; padding:3px 3px 16px; }
  .mobile-more-sheet > header span { color:var(--mint); font:800 .64rem/1 ui-monospace,monospace; letter-spacing:.12em; }
  .mobile-more-sheet > header h2 { margin:8px 0 0; font-size:1.3rem; letter-spacing:-.035em; }
  .mobile-more-sheet > header button { min-height:42px; padding:0 12px; border:1px solid var(--line); border-radius:12px; color:var(--muted); background:rgba(255,255,255,.02); }
  .mobile-more-grid { display:grid; grid-template-columns:1fr 1fr; gap:8px; }
  .mobile-more-grid button {
    min-height:98px;
    display:grid;
    grid-template-columns:27px minmax(0,1fr);
    grid-template-rows:auto auto;
    column-gap:10px;
    align-content:center;
    padding:14px;
    border:1px solid var(--line);
    border-radius:16px;
    color:var(--ink);
    background:rgba(255,255,255,.018);
    text-align:left;
  }
  .mobile-more-grid .nav-glyph { grid-row:1/3; align-self:center; color:var(--mint); }
  .mobile-more-grid strong { font-size:.82rem; }
  .mobile-more-grid small { margin-top:3px; color:var(--dim); font-size:.67rem; line-height:1.3; }
  .mobile-more-sheet > footer { display:grid; grid-template-columns:repeat(3,1fr); gap:7px; margin-top:10px; }
  .mobile-more-sheet > footer button { min-height:44px; border:1px solid var(--line); border-radius:13px; color:var(--muted); background:rgba(255,255,255,.016); font-size:.72rem; font-weight:750; }
  body.mobile-more-open .mobile-tab-bar [data-mobile-more] { color:var(--ink); background:linear-gradient(180deg,rgba(109,242,182,.08),transparent); }
  body.mobile-more-open .mobile-tab-bar [data-mobile-more]::after { background:var(--mint); box-shadow:0 0 14px rgba(109,242,182,.6); }
  body.mobile-more-open .mobile-tab-bar button.is-active:not([data-mobile-more]) { color:var(--dim); background:transparent; }
  body.mobile-more-open .mobile-tab-bar button.is-active:not([data-mobile-more])::after { background:transparent; box-shadow:none; }
  @keyframes mobile-sheet-in { from { opacity:0; transform:translateY(22px); } }

  .toast { right:12px; bottom:calc(var(--mobile-tab-height) + 12px + env(safe-area-inset-bottom)); left:12px; max-width:none; }
  body.is-native .toast { bottom:calc(var(--mobile-tab-height) + 12px + env(safe-area-inset-bottom)); }
  .profile-tabs { top:0; max-width:100%; overflow-x:auto; scrollbar-width:none; }
  .profile-tabs::-webkit-scrollbar { display:none; }
  .segmented,
  .trust-jump-nav,
  .sector-chips { max-width:100%; overflow-x:auto; overscroll-behavior-x:contain; scrollbar-width:none; }

  .calendar-filter-deck { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); max-width:100%; overflow:visible; }
  .calendar-filter-deck button { min-width:0; justify-content:space-between; padding:0 11px; white-space:normal; }
  .calendar-filter-deck span { min-width:0; font-size:.78rem; line-height:1.25; }
  .calendar-filter-deck strong { flex:0 0 auto; }

  .matrix-stage { min-height:0; padding:6px; overflow:hidden; }
  .matrix-stage svg { width:100%; min-width:0; height:auto; overflow:hidden; }
  .matrix-quadrant-label { font-size:18px; letter-spacing:1px; }
  .matrix-tick,
  .matrix-axis-label { font-size:17px; }
  .matrix-point text { font-size:13px; }
}

@media (max-width:560px) {
  :root { --mobile-content-gutter:12px; }
  .app-header .brand-copy strong { font-size:.86rem; }
  .app-header .brand-mark { width:34px; height:34px; }
  .view-hero h1,
  .compact-hero h1,
  .guided-hero h1,
  .compact-guided-hero h1,
  body[data-view="pro"] .pro-hero h1,
  .profile-hero-copy :is(h1,h2) { font-size:clamp(2.55rem,13vw,3.8rem); line-height:.92; }
  .view-hero,
  .guided-hero { gap:18px; }
  .hero-copy { margin-top:16px; font-size:.9rem; line-height:1.58; }
  .surface-head { align-items:flex-start; flex-wrap:wrap; }
  .surface-head > * { max-width:100%; }
  .landing-nav { padding-inline:14px; }
  .landing-nav > div { display:none; }
  .landing-hero,
  .landing-profile-story,
  .landing-pro-story { width:100%; max-width:100%; }
  .market-stage,
  #market-canvas,
  #market-city,
  .company-world-stage { width:100%; max-width:100%; }
  .mobile-more-grid button { min-height:92px; padding:12px; }
  .mobile-more-sheet { padding-right:12px; padding-left:12px; }
}

/* Mobile flow system · focused stages instead of desktop-length pages */
.mobile-flow-shell { display:none; }

@media (max-width:860px) {
  .mobile-flow-shell[hidden] { display:none !important; }
  .mobile-flow-shell:not([hidden]) {
    position:sticky;
    z-index:158;
    top:0;
    display:grid;
    gap:9px;
    margin:-7px 0 14px;
    padding:12px;
    overflow:hidden;
    border:1px solid rgba(169,225,208,.19);
    border-radius:19px;
    background:
      radial-gradient(circle at 92% 0,color-mix(in srgb,var(--page-accent,var(--mint)) 13%,transparent),transparent 43%),
      linear-gradient(150deg,rgba(9,19,22,.97),rgba(4,10,13,.96));
    box-shadow:0 18px 44px rgba(0,0,0,.28),inset 0 1px rgba(255,255,255,.035);
    backdrop-filter:blur(24px) saturate(1.18);
  }
  .mobile-flow-head { display:flex; align-items:center; justify-content:space-between; gap:16px; }
  .mobile-flow-head > div { min-width:0; display:grid; gap:5px; }
  .mobile-flow-head span { color:var(--page-accent,var(--mint)); font:800 .61rem/1 ui-monospace,monospace; letter-spacing:.13em; }
  .mobile-flow-head strong { overflow:hidden; font-size:.98rem; letter-spacing:-.025em; text-overflow:ellipsis; white-space:nowrap; }
  .mobile-flow-head small { flex:0 0 auto; color:var(--dim); font:750 .62rem/1 ui-monospace,monospace; }
  .mobile-flow-progress { height:2px; overflow:hidden; border-radius:99px; background:rgba(255,255,255,.07); }
  .mobile-flow-progress i { display:block; width:0; height:100%; border-radius:inherit; background:linear-gradient(90deg,var(--page-accent,var(--mint)),var(--cyan)); box-shadow:0 0 12px color-mix(in srgb,var(--page-accent,var(--mint)) 45%,transparent); transition:width 220ms ease; }
  .mobile-flow-tabs { display:flex; gap:6px; overflow-x:auto; overscroll-behavior-x:contain; scrollbar-width:none; }
  .mobile-flow-tabs::-webkit-scrollbar { display:none; }
  .mobile-flow-tabs button { min-width:max-content; min-height:35px; padding:0 13px; border:1px solid var(--line); border-radius:999px; color:var(--dim); background:rgba(255,255,255,.018); cursor:pointer; font-size:.71rem; font-weight:780; touch-action:manipulation; }
  .mobile-flow-tabs button.is-active { color:#03100b; border-color:var(--page-accent,var(--mint)); background:var(--page-accent,var(--mint)); box-shadow:0 8px 22px color-mix(in srgb,var(--page-accent,var(--mint)) 18%,transparent); }

  .view[data-mobile-flow-ready="true"] > .mobile-flow-managed:not(.is-mobile-flow-active) { display:none !important; }
  .view[data-mobile-flow-ready="true"] > .mobile-flow-managed.is-mobile-flow-active { animation:mobile-flow-in 220ms ease both; }
  @keyframes mobile-flow-in { from { opacity:0; transform:translateY(8px); } }

  .view[data-mobile-flow-ready="true"] { padding-bottom:8px; }
  .view[data-mobile-flow-ready="true"] > :is(.guided-hero,.view-hero,.pro-hero) { margin-bottom:12px; }
  .view[data-mobile-flow-ready="true"] > .view-hero > div:first-child,
  .view[data-mobile-flow-ready="true"] > .guided-hero > div:first-child { max-width:100%; }
  .view[data-mobile-flow-ready="true"] :is(.surface,.guided-path,.universe-card) { border-radius:18px; }
  .view[data-mobile-flow-ready="true"] :is(.profile-section-intro,.quarterly-section-intro) { margin:4px 0 14px; }
  .view[data-mobile-flow-ready="true"] .profile-section-intro h2 { font-size:clamp(2.25rem,10vw,3.2rem); }

  body[data-view="today"] .guided-hero,
  body[data-view="universes"] .guided-hero { display:none !important; }
  body[data-view="today"] .today-signal-ribbon,
  body[data-view="market"] .market-read-ribbon { display:flex; gap:8px; overflow-x:auto; scroll-snap-type:x mandatory; scrollbar-width:none; }
  body[data-view="today"] .today-signal-ribbon::-webkit-scrollbar,
  body[data-view="market"] .market-read-ribbon::-webkit-scrollbar { display:none; }
  body[data-view="today"] .today-signal-ribbon > div,
  body[data-view="market"] .market-read-ribbon > * { min-width:78%; flex:0 0 78%; scroll-snap-align:start; }
  body[data-view="today"] .today-story { min-height:0; grid-template-columns:1fr; }
  body[data-view="today"] .story-copy { padding:clamp(22px,6vw,30px); }
  body[data-view="today"] .story-copy h2 { font-size:clamp(2rem,9vw,2.8rem); }
  body[data-view="today"] .market-mood { min-height:230px; border-top:1px solid var(--line); border-left:0; }
  body[data-view="today"] .guided-paths { display:flex; gap:9px; overflow-x:auto; scroll-snap-type:x mandatory; scrollbar-width:none; }
  body[data-view="today"] .guided-paths::-webkit-scrollbar { display:none; }
  body[data-view="today"] .guided-path { min-width:78%; min-height:180px; flex:0 0 78%; scroll-snap-align:start; }

  body[data-view="universes"] .mobile-explore-dashboard {
    display:grid;
    gap:14px;
    width:100%;
    margin:0;
  }
  .mobile-explore-intro {
    display:grid;
    gap:10px;
    padding:7px 2px 2px;
  }
  .mobile-explore-intro > div,
  .mobile-explore-pulse-head,
  .mobile-explore-shortcuts > header,
  .mobile-explore-discoveries > header {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
  }
  .mobile-explore-intro > div span,
  .mobile-explore-discoveries > header span,
  .mobile-explore-shortcuts > header span,
  .mobile-explore-pulse-head span {
    color:var(--mint);
    font:800 .68rem/1 ui-monospace,monospace;
    letter-spacing:.13em;
  }
  .mobile-explore-intro > div span { display:flex; align-items:center; gap:7px; }
  .mobile-explore-intro > div span i { width:7px; height:7px; border-radius:50%; background:var(--mint); box-shadow:0 0 14px color-mix(in srgb,var(--mint) 65%,transparent); }
  .mobile-explore-intro > div small,
  .mobile-explore-discoveries > header > small,
  .mobile-explore-shortcuts > header small,
  .mobile-explore-pulse-head b { color:var(--dim); font-size:.72rem; font-weight:700; }
  .mobile-explore-intro h1 { max-width:360px; margin:4px 0 0; font-size:clamp(2.45rem,11vw,3.4rem); line-height:.94; letter-spacing:-.065em; }
  .mobile-explore-intro > p { max-width:340px; margin:0; color:var(--muted); font-size:.92rem; line-height:1.5; }
  .mobile-explore-search { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:8px; margin-top:4px; }
  .mobile-explore-search label { min-width:0; }
  .mobile-explore-search input {
    width:100%;
    min-height:54px;
    padding:0 17px;
    border:1px solid rgba(158,226,205,.21);
    border-radius:17px;
    color:var(--ink);
    background:linear-gradient(145deg,rgba(10,22,24,.96),rgba(5,12,15,.98));
    box-shadow:inset 0 1px rgba(255,255,255,.035);
    font-size:1rem;
    outline:none;
  }
  .mobile-explore-search input:focus { border-color:var(--mint); box-shadow:0 0 0 3px color-mix(in srgb,var(--mint) 12%,transparent); }
  .mobile-explore-search button {
    min-width:78px;
    min-height:54px;
    padding:0 15px;
    border:0;
    border-radius:17px;
    color:#03100b;
    background:var(--mint);
    font-size:.86rem;
    font-weight:850;
  }
  .mobile-explore-pulse {
    position:relative;
    display:grid;
    gap:12px;
    padding:20px;
    overflow:hidden;
    border:1px solid color-mix(in srgb,var(--pulse-color) 35%,var(--line));
    border-radius:24px;
    background:
      radial-gradient(circle at 96% 0,color-mix(in srgb,var(--pulse-color) 24%,transparent),transparent 42%),
      linear-gradient(150deg,#0b171a,#050a0d 72%);
    box-shadow:0 18px 44px rgba(0,0,0,.24),inset 0 1px rgba(255,255,255,.035);
  }
  .mobile-explore-pulse::after { content:""; position:absolute; top:18px; right:17px; width:68px; height:68px; border:1px solid color-mix(in srgb,var(--pulse-color) 28%,transparent); border-radius:50%; box-shadow:0 0 34px color-mix(in srgb,var(--pulse-color) 16%,transparent),inset 0 0 22px color-mix(in srgb,var(--pulse-color) 10%,transparent); }
  .mobile-explore-pulse > * { position:relative; z-index:1; }
  .mobile-explore-pulse h2 { max-width:285px; margin:0; font-size:1.82rem; line-height:1.03; letter-spacing:-.045em; }
  .mobile-explore-pulse p { max-width:310px; margin:0; color:var(--muted); font-size:.86rem; line-height:1.5; }
  .mobile-explore-pulse-stats { display:grid; grid-template-columns:repeat(3,1fr); gap:7px; }
  .mobile-explore-pulse-stats span { display:grid; gap:5px; min-width:0; padding:11px 8px; border:1px solid rgba(255,255,255,.075); border-radius:14px; color:var(--dim); background:rgba(0,0,0,.16); font-size:.66rem; text-align:center; }
  .mobile-explore-pulse-stats strong { color:var(--ink); font-size:1.25rem; }
  .mobile-explore-discoveries,
  .mobile-explore-shortcuts,
  .mobile-explore-controls { display:grid; gap:11px; padding:17px 0 2px; }
  .mobile-explore-discoveries > header h2 { margin:5px 0 0; font-size:1.55rem; letter-spacing:-.045em; }
  .mobile-explore-lenses { display:flex; gap:7px; overflow-x:auto; scrollbar-width:none; }
  .mobile-explore-lenses::-webkit-scrollbar,
  .mobile-explore-company-rail::-webkit-scrollbar,
  .mobile-explore-sector-rail::-webkit-scrollbar,
  .mobile-explore-collection-rail::-webkit-scrollbar { display:none; }
  .mobile-explore-lenses button { flex:0 0 auto; min-height:39px; padding:0 14px; border:1px solid var(--line); border-radius:999px; color:var(--muted); background:rgba(255,255,255,.018); font-size:.78rem; font-weight:780; }
  .mobile-explore-lenses button.is-active { color:#03100b; border-color:var(--mint); background:var(--mint); box-shadow:0 8px 22px color-mix(in srgb,var(--mint) 15%,transparent); }
  .mobile-explore-lens-copy { margin:0; color:var(--muted); font-size:.82rem; line-height:1.48; }
  .mobile-explore-company-rail { display:flex; gap:10px; margin-right:calc(var(--mobile-content-gutter) * -1); padding-right:var(--mobile-content-gutter); overflow-x:auto; scroll-snap-type:x mandatory; overscroll-behavior-x:contain; scrollbar-width:none; }
  .mobile-discovery-card {
    position:relative;
    min-width:82%;
    flex:0 0 82%;
    display:grid;
    grid-template-columns:1fr auto;
    gap:13px;
    min-height:276px;
    padding:18px;
    overflow:hidden;
    scroll-snap-align:start;
    border:1px solid color-mix(in srgb,var(--company-color) 31%,var(--line));
    border-radius:23px;
    color:var(--ink);
    background:
      radial-gradient(circle at 100% 0,color-mix(in srgb,var(--company-color) 21%,transparent),transparent 44%),
      linear-gradient(145deg,rgba(10,21,24,.98),rgba(5,10,13,.98));
    text-align:left;
  }
  .mobile-discovery-rank { position:absolute; right:14px; bottom:-14px; color:rgba(255,255,255,.035); font-size:6rem; font-weight:900; line-height:1; letter-spacing:-.08em; }
  .mobile-discovery-identity { min-width:0; display:grid; grid-template-columns:48px minmax(0,1fr); gap:11px; align-items:center; }
  .mobile-discovery-logo { width:48px; height:48px; border-radius:14px; }
  .mobile-discovery-identity span { min-width:0; display:grid; gap:4px; }
  .mobile-discovery-identity small { overflow:hidden; color:var(--company-color); font:760 .64rem/1.2 ui-monospace,monospace; text-overflow:ellipsis; white-space:nowrap; }
  .mobile-discovery-identity strong { overflow:hidden; font-size:1.02rem; text-overflow:ellipsis; white-space:nowrap; }
  .mobile-discovery-reading { display:grid; justify-items:end; align-content:start; gap:3px; }
  .mobile-discovery-reading strong { font-size:1.65rem; line-height:1; letter-spacing:-.06em; }
  .mobile-discovery-reading span { color:var(--dim); font-size:.62rem; }
  .mobile-discovery-card > p { grid-column:1/-1; align-self:end; max-width:265px; margin:0; color:var(--muted); font-size:.86rem; line-height:1.52; }
  .mobile-discovery-card > b { grid-column:1/-1; align-self:end; width:max-content; color:var(--mint); font-size:.78rem; }
  .mobile-explore-empty { min-width:100%; padding:24px; border:1px solid var(--line); border-radius:20px; color:var(--muted); }
  .mobile-explore-sector-rail,
  .mobile-explore-collection-rail { display:flex; gap:8px; margin-right:calc(var(--mobile-content-gutter) * -1); padding-right:var(--mobile-content-gutter); overflow-x:auto; scroll-snap-type:x proximity; scrollbar-width:none; }
  .mobile-explore-sector-rail button { min-width:190px; flex:0 0 190px; display:grid; grid-template-columns:10px 1fr; gap:10px; align-items:center; min-height:66px; padding:12px 14px; border:1px solid var(--line); border-radius:18px; color:var(--ink); background:rgba(255,255,255,.018); text-align:left; }
  .mobile-explore-sector-rail button > i { width:9px; height:9px; border-radius:50%; background:var(--district-color); box-shadow:0 0 13px color-mix(in srgb,var(--district-color) 55%,transparent); }
  .mobile-explore-sector-rail button span { min-width:0; display:grid; gap:5px; }
  .mobile-explore-sector-rail button strong { overflow:hidden; font-size:.83rem; text-overflow:ellipsis; white-space:nowrap; }
  .mobile-explore-sector-rail button small { color:var(--dim); font-size:.65rem; }
  .mobile-explore-sector-rail button.is-active { border-color:color-mix(in srgb,var(--district-color) 58%,var(--line)); background:color-mix(in srgb,var(--district-color) 9%,#071014); }
  .mobile-explore-collection-rail button { min-width:156px; flex:0 0 156px; display:grid; gap:7px; min-height:82px; padding:14px; border:1px solid var(--line); border-radius:18px; color:var(--ink); background:linear-gradient(145deg,color-mix(in srgb,var(--collection-color) 8%,#0a1417),#060b0e); text-align:left; }
  .mobile-explore-collection-rail button small { color:var(--collection-color); font:750 .58rem/1.25 ui-monospace,monospace; letter-spacing:.08em; }
  .mobile-explore-collection-rail button strong { font-size:.9rem; }
  .mobile-explore-collection-rail button.is-active { border-color:color-mix(in srgb,var(--collection-color) 58%,var(--line)); box-shadow:inset 0 0 24px color-mix(in srgb,var(--collection-color) 8%,transparent); }
  .mobile-explore-controls { grid-template-columns:1fr; padding-bottom:5px; }
  .mobile-explore-horizon { display:grid; grid-template-columns:1fr 1fr; gap:7px; padding:6px; border:1px solid var(--line); border-radius:18px; background:#071014; }
  .mobile-explore-horizon button { display:grid; gap:4px; min-height:58px; place-content:center; border:0; border-radius:13px; color:var(--dim); background:transparent; }
  .mobile-explore-horizon button small { font:750 .58rem/1 ui-monospace,monospace; letter-spacing:.1em; }
  .mobile-explore-horizon button strong { font-size:.88rem; }
  .mobile-explore-horizon button.is-active { color:var(--ink); background:rgba(255,255,255,.07); box-shadow:inset 0 0 0 1px rgba(255,255,255,.06); }
  .mobile-explore-browse-all { min-height:56px; border:0; border-radius:17px; color:#03100b; background:linear-gradient(135deg,var(--mint),#94dfca); font-size:.91rem; font-weight:850; }
  .mobile-explore-dashboard button:focus-visible { outline:2px solid var(--mint); outline-offset:2px; }

  body[data-view="compare"] .page-horizon-bar { display:block; min-height:0; padding:0; }
  body[data-view="universes"] .universe-browser { scroll-margin-top:calc(var(--header-height) + env(safe-area-inset-top) + 14px); }
  body[data-view="universes"] .page-horizon-copy,
  body[data-view="universes"] .page-horizon-status,
  body[data-view="compare"] .page-horizon-copy,
  body[data-view="compare"] .page-horizon-status { display:none; }
  body[data-view="universes"] .page-horizon-switch,
  body[data-view="compare"] .page-horizon-switch { grid-template-columns:1fr 1fr; padding:8px; }
  body[data-view="universes"] .page-horizon-switch button,
  body[data-view="compare"] .page-horizon-switch button { min-height:72px; padding:13px; }
  body[data-view="universes"] :is(.page-horizon-bar,.universe-atlas,.universe-grid) { display:none !important; }
  body[data-view="universes"] .universe-browser {
    margin-top:4px;
    padding:17px 12px 15px;
    border-color:rgba(169,225,208,.16);
    border-radius:23px;
    background:
      radial-gradient(circle at 100% 0,rgba(109,242,182,.075),transparent 32%),
      linear-gradient(150deg,rgba(9,19,22,.98),rgba(4,10,13,.98));
  }
  body[data-view="universes"] .universe-browser-head {
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    align-items:start;
    gap:12px;
    padding-bottom:12px;
    border-bottom:0;
  }
  body[data-view="universes"] .universe-browser-head > div:first-child { min-width:0; }
  body[data-view="universes"] .universe-browser-head h2 { margin:7px 0 0; font-size:1.62rem; line-height:1; letter-spacing:-.05em; }
  body[data-view="universes"] .universe-browser-head p { display:none; }
  body[data-view="universes"] .universe-coverage { min-width:96px; padding-top:2px; text-align:right; }
  body[data-view="universes"] .universe-coverage strong { font-size:.9rem; }
  body[data-view="universes"] .universe-coverage span { display:block; max-width:112px; margin-top:3px; font-size:.62rem; line-height:1.35; }
  body[data-view="universes"] .catalog-browser-controls {
    position:relative;
    z-index:1;
    display:grid;
    gap:8px;
    margin:0;
    padding:10px;
    border-color:rgba(169,225,208,.16);
    border-radius:17px;
    background:linear-gradient(145deg,rgba(11,24,27,.92),rgba(5,12,15,.96));
    box-shadow:inset 0 1px rgba(255,255,255,.03);
  }
  body[data-view="universes"] .catalog-search-line { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:7px; }
  body[data-view="universes"] .catalog-browser-controls input {
    min-height:49px;
    padding:0 14px;
    border-color:rgba(169,225,208,.19);
    border-radius:14px;
    background:#050c0f;
    font-size:.93rem;
    outline:none;
  }
  body[data-view="universes"] .catalog-browser-controls input:focus { border-color:var(--mint); box-shadow:0 0 0 3px color-mix(in srgb,var(--mint) 11%,transparent); }
  body[data-view="universes"] .catalog-search-line button { min-width:54px; min-height:49px; padding:0 10px; border-radius:14px; font-size:.71rem; }
  body[data-view="universes"] .catalog-browser-controls small { padding:0 3px; color:var(--dim); font-size:.7rem; line-height:1.35; white-space:normal; }
  body[data-view="universes"] .sector-chips { flex-wrap:nowrap; gap:6px; margin:11px -2px 13px; padding:0 2px 2px; overflow-x:auto; scrollbar-width:none; }
  body[data-view="universes"] .sector-chips::-webkit-scrollbar { display:none; }
  body[data-view="universes"] .sector-chip { min-height:38px; flex:0 0 auto; padding:0 13px; font-size:.74rem; font-weight:750; }
  body[data-view="universes"] .universe-company-grid { max-height:none; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; padding-right:0; overflow:visible; }
  body[data-view="universes"] .universe-company.finder-company-card {
    position:relative;
    min-width:0;
    min-height:154px;
    display:grid;
    grid-template-columns:38px minmax(0,1fr);
    grid-template-rows:auto 1fr auto;
    gap:9px;
    align-items:start;
    padding:11px;
    overflow:hidden;
    border-color:color-mix(in srgb,var(--company-color) 24%,var(--line));
    border-radius:17px;
    background:
      radial-gradient(circle at 100% 0,color-mix(in srgb,var(--company-color) 13%,transparent),transparent 48%),
      linear-gradient(145deg,rgba(10,21,24,.96),rgba(5,10,13,.98));
    box-shadow:inset 0 1px rgba(255,255,255,.025);
  }
  body[data-view="universes"] .universe-company.finder-company-card:active { transform:scale(.985); }
  body[data-view="universes"] .finder-company-card .mini-sigil { width:38px; height:38px; border-radius:11px; }
  body[data-view="universes"] .finder-company-card > span:nth-child(2) { min-width:0; align-self:center; }
  body[data-view="universes"] .finder-company-card h3 { display:-webkit-box; margin:0; overflow:hidden; font-size:.84rem; line-height:1.2; text-overflow:ellipsis; -webkit-box-orient:vertical; -webkit-line-clamp:2; white-space:normal; }
  body[data-view="universes"] .finder-company-card p { margin:5px 0 0; overflow:hidden; color:var(--dim); font-size:.64rem; line-height:1.25; text-overflow:ellipsis; white-space:nowrap; }
  body[data-view="universes"] .finder-company-card :is(.catalog-stage,.quarterly-signal) { display:none; }
  body[data-view="universes"] .finder-card-reading {
    grid-column:1/-1;
    align-self:end;
    display:flex;
    align-items:end;
    justify-content:space-between;
    gap:8px;
    width:100%;
    padding-top:10px;
    border-top:1px solid rgba(255,255,255,.075);
  }
  body[data-view="universes"] .finder-card-reading strong { color:var(--ink); font-size:1.18rem; line-height:1; letter-spacing:-.045em; }
  body[data-view="universes"] .finder-card-reading small { color:var(--company-color); font-size:.62rem; font-weight:800; line-height:1.15; text-align:right; }
  body[data-view="universes"] .finder-empty { grid-column:1/-1; display:grid; gap:7px; min-height:142px; place-content:center; padding:24px; border:1px dashed rgba(169,225,208,.22); border-radius:18px; color:var(--muted); background:rgba(255,255,255,.012); text-align:center; }
  body[data-view="universes"] .finder-empty strong { color:var(--ink); font-size:1rem; }
  body[data-view="universes"] .finder-empty span { max-width:230px; font-size:.79rem; line-height:1.45; }
  body[data-view="universes"] .universe-company-reading { grid-column:auto; display:grid; grid-template-columns:1fr; justify-items:end; align-content:center; gap:3px; padding:0; border:0; }
  body[data-view="universes"] .universe-company-reading strong { font-size:1.02rem; }
  body[data-view="universes"] .universe-company-reading small { justify-self:end; color:var(--dim); font-size:.62rem; }
  body[data-view="universes"] .universe-source { max-height:none; margin-top:15px; padding-top:13px; overflow:visible; font-size:.66rem; line-height:1.45; }

  body[data-view="company"] .profile-chapter-rail,
  body[data-view="company"] .profile-tabs { display:none !important; }
  body[data-view="company"] .profile-panel > .profile-section-intro { display:none; }
  body[data-view="company"] .company-world-experience { height:calc(100dvh - var(--header-height) - var(--mobile-tab-height) - env(safe-area-inset-top) - env(safe-area-inset-bottom) - 126px); min-height:560px; max-height:690px; }
  body[data-view="company"] .profile-hero { min-height:0; padding:20px; }
  body[data-view="company"] .profile-hero :is(h1,h2) { font-size:clamp(2.25rem,10vw,3.15rem); }
  body[data-view="company"] .profile-hero { grid-template-columns:72px minmax(0,1fr); gap:14px; }
  body[data-view="company"] .profile-hero .identity-sigil.company-logo { width:72px; height:72px; border-radius:20px; }
  body[data-view="company"] .profile-hero-copy p { display:-webkit-box; overflow:hidden; line-height:1.48; -webkit-box-orient:vertical; -webkit-line-clamp:2; }
  body[data-view="company"] .profile-memberships { flex-wrap:nowrap; max-width:100%; margin-top:11px; overflow-x:auto; scrollbar-width:none; }
  body[data-view="company"] .profile-memberships span { flex:0 0 auto; }
  body[data-view="company"] .profile-hero-intelligence { grid-column:1/-1; grid-template-columns:120px minmax(0,1fr); align-items:center; justify-items:stretch; gap:13px; }
  body[data-view="company"] .profile-score-orbit { width:118px; }
  body[data-view="company"] .profile-score-orbit strong { font-size:2.9rem; }
  body[data-view="company"] .profile-score-orbit span { font-size:.54rem; }
  body[data-view="company"] .profile-score-orbit small { max-width:92px; font-size:.6rem; }
  body[data-view="company"] .profile-hero-actions { grid-template-columns:1fr 1fr; }
  body[data-view="company"] .profile-hero-actions > :last-child { grid-column:1/-1; }
  body[data-view="company"] .profile-panel[data-profile-panel="overview"] .profile-change-story,
  body[data-view="company"] .profile-panel[data-profile-panel="overview"] .profile-score-system,
  body[data-view="company"] .profile-panel[data-profile-panel="overview"] .profile-key-stats,
  body[data-view="company"] .profile-panel[data-profile-panel="overview"] .profile-thesis,
  body[data-view="company"] .profile-panel[data-profile-panel="overview"] .company-simple-next { display:none; }
  body[data-view="company"] .profile-decoded { min-height:0; }
  body[data-view="company"] .decoded-copy,
  body[data-view="company"] .decoded-drivers { padding:20px 17px; }
  body[data-view="company"] .profile-overview-grid { gap:9px; }
  body[data-view="company"] .company-simple-grid { display:flex; gap:8px; overflow-x:auto; scrollbar-width:none; }
  body[data-view="company"] .company-simple-grid > * { min-width:76%; flex:0 0 76%; }
  body[data-view="company"] .profile-score-card { padding:20px; }
  body[data-view="company"] .profile-score-number { font-size:4.7rem; }
  body[data-view="company"] .quarterly-analysis-grid { gap:9px; }
  body[data-view="company"] :is(.equation-grid,.profile-history-grid,.quarterly-period-strip) { display:flex; gap:8px; overflow-x:auto; scroll-snap-type:x mandatory; scrollbar-width:none; }
  body[data-view="company"] :is(.equation-grid,.profile-history-grid,.quarterly-period-strip) > * { min-width:82%; flex:0 0 82%; scroll-snap-align:start; }

  body[data-view="market"] .market-stage { min-height:580px; }
  body[data-view="market"] .market-stage.is-city .market-scene[data-market-scene="city"] { padding-bottom:178px; }
  body[data-view="market"] .today-grid { display:flex; gap:9px; overflow-x:auto; scroll-snap-type:x mandatory; scrollbar-width:none; }
  body[data-view="market"] .today-grid > * { min-width:84%; flex:0 0 84%; scroll-snap-align:start; }
  body[data-view="market"] .view-hero { display:none !important; }

  body[data-view="compare"] .view-hero > div:first-child,
  body[data-view="opportunity"] .view-hero > div:first-child,
  body[data-view="agents"] .view-hero > div:first-child,
  body[data-view="leaders"] .view-hero > div:first-child,
  body[data-view="briefing"] .view-hero > div:first-child { display:none; }
  body[data-view="compare"] .view-hero,
  body[data-view="opportunity"] .view-hero,
  body[data-view="agents"] .view-hero,
  body[data-view="leaders"] .view-hero,
  body[data-view="briefing"] .view-hero { margin:0; }
  body[data-view="compare"] .compare-selectors { display:grid; grid-template-columns:1fr auto 1fr; align-items:end; gap:7px; }
  body[data-view="compare"] .compare-selectors > span { padding:0 0 14px; }
  body[data-view="compare"] .compare-scoreboard { gap:8px; }
  body[data-view="compare"] .compare-trend-card { margin:0; padding:16px; }
  body[data-view="compare"] .factor-grid { display:flex; gap:8px; overflow-x:auto; scrollbar-width:none; }
  body[data-view="compare"] .factor-grid > * { min-width:78%; flex:0 0 78%; }

  body[data-view="opportunity"] .opportunity-stamp { width:100%; }
  body[data-view="opportunity"] .opportunity-score-grid { display:flex; gap:9px; margin:0; overflow-x:auto; scroll-snap-type:x mandatory; scrollbar-width:none; }
  body[data-view="opportunity"] .opportunity-score-grid > * { min-width:84%; flex:0 0 84%; scroll-snap-align:start; }
  body[data-view="opportunity"] .opportunity-intelligence-grid,
  body[data-view="opportunity"] .opportunity-workbench { gap:9px; margin:0; }
  body[data-view="opportunity"] .opportunity-limit-grid { display:flex; gap:8px; overflow-x:auto; scrollbar-width:none; }
  body[data-view="opportunity"] .opportunity-limit-grid > * { min-width:82%; flex:0 0 82%; }

  body[data-view="agents"] .watchlist-command { gap:9px; }
  body[data-view="agents"] .watchlist-summary { display:flex !important; gap:8px !important; overflow-x:auto; scroll-snap-type:x mandatory; scrollbar-width:none; }
  body[data-view="agents"] .watchlist-summary::-webkit-scrollbar { display:none; }
  body[data-view="agents"] .watch-summary-card { min-width:68%; min-height:126px; flex:0 0 68%; padding:17px; scroll-snap-align:start; }
  body[data-view="agents"] .watch-summary-card strong { margin-top:16px; font-size:2.2rem; }
  body[data-view="agents"] .watch-summary-card p { margin-top:7px; }
  body[data-view="agents"] .watchlist-intelligence { min-height:0; padding:20px; }
  body[data-view="agents"] .watchlist-intelligence h2 { margin:10px 0 7px; font-size:1.55rem; }
  body[data-view="agents"] .watchlist-intelligence > p { display:-webkit-box; overflow:hidden; line-height:1.5; -webkit-box-orient:vertical; -webkit-line-clamp:3; }
  body[data-view="agents"] .watch-intelligence-list { grid-template-columns:repeat(3,minmax(0,1fr)); gap:6px; margin-top:15px; }
  body[data-view="agents"] .watch-intelligence-list > div { min-width:0; padding:10px 8px; }
  body[data-view="agents"] .watch-intelligence-list strong { overflow-wrap:anywhere; font-size:.7rem; }
  body[data-view="agents"] .watchlist-workspace { margin:0; padding:16px; }
  body[data-view="agents"] .watchlist-workspace .surface-head { align-items:center; gap:10px; }
  body[data-view="agents"] .watchlist-workspace .surface-head h2 { font-size:1.2rem; }
  body[data-view="agents"] .saved-worlds,
  body[data-view="agents"] .agent-grid { display:flex; gap:9px; overflow-x:auto; scroll-snap-type:x mandatory; scrollbar-width:none; }
  body[data-view="agents"] .saved-worlds > *,
  body[data-view="agents"] .agent-grid > * { min-width:84%; flex:0 0 84%; scroll-snap-align:start; }
  body[data-view="agents"] .saved-world { min-height:0; padding:15px; }
  body[data-view="agents"] .saved-world-rank { margin-top:12px; }
  body[data-view="agents"] .saved-world h3 { margin:6px 0 0; }
  body[data-view="agents"] .saved-world-score { margin-top:15px; }
  body[data-view="agents"] .saved-world-score strong { font-size:2.7rem; }
  body[data-view="agents"] .saved-world-track { margin:12px 0; }
  body[data-view="agents"] .saved-world-memory { margin-top:9px; padding:9px; }
  body[data-view="agents"] .saved-world-memory p { margin-top:5px; -webkit-line-clamp:1; }
  body[data-view="agents"] .saved-world-actions { padding-top:10px; }

  body[data-view="leaders"] .leader-board { max-height:61dvh; overflow-y:auto; overscroll-behavior-y:contain; }
  body[data-view="leaders"] .trust-strip { gap:6px; margin-bottom:9px; padding:11px 13px; }
  body[data-view="leaders"] .trust-strip span { display:-webkit-box; overflow:hidden; -webkit-box-orient:vertical; -webkit-line-clamp:2; }
  body[data-view="leaders"] .leader-context { min-height:0; gap:18px; margin:0; padding:20px; }
  body[data-view="leaders"] .leader-context h2 { margin:9px 0 6px; font-size:1.9rem; }
  body[data-view="leaders"] .leader-context p { display:-webkit-box; overflow:hidden; line-height:1.5; -webkit-box-orient:vertical; -webkit-line-clamp:3; }
  body[data-view="leaders"] .leader-context-stats { grid-template-columns:repeat(3,minmax(0,1fr)); gap:6px; }
  body[data-view="leaders"] .leader-context-stats div { min-width:0; padding:11px 8px; }
  body[data-view="leaders"] .leader-context-stats strong { overflow-wrap:anywhere; font-size:.7rem; }
  body[data-view="leaders"] .leader-podium { display:flex; gap:9px; margin:0; overflow-x:auto; scroll-snap-type:x mandatory; scrollbar-width:none; }
  body[data-view="leaders"] .leader-podium::-webkit-scrollbar { display:none; }
  body[data-view="leaders"] .podium-card { min-width:82%; min-height:250px; flex:0 0 82%; padding:20px; scroll-snap-align:start; }
  body[data-view="briefing"] .briefing-timeline,
  body[data-view="briefing"] .briefing-grid { display:flex; gap:9px; overflow-x:auto; scroll-snap-type:x mandatory; scrollbar-width:none; }
  body[data-view="briefing"] .briefing-timeline > *,
  body[data-view="briefing"] .briefing-grid > * { min-width:84%; flex:0 0 84%; scroll-snap-align:start; }

  body[data-view="pro"] .pro-hero { min-height:0; padding:22px; }
  body[data-view="pro"] .pro-hero h1 { font-size:clamp(2.5rem,11vw,3.5rem); }
  body[data-view="pro"] .pro-orbit { display:none; }
  body[data-view="pro"] .pro-market-read { min-height:0; margin:0; padding:20px; gap:17px; }
  body[data-view="pro"] .command-read-copy h2 { font-size:1.8rem; }
  body[data-view="pro"] .command-read-copy p { display:-webkit-box; overflow:hidden; line-height:1.5; -webkit-box-orient:vertical; -webkit-line-clamp:3; }
  body[data-view="pro"] .command-read-stats div { min-height:76px; padding:11px; }
  body[data-view="pro"] .pro-snapshot { margin:0; }
  body[data-view="pro"] .pro-snapshot-card { min-height:118px; padding:16px; }
  body[data-view="pro"] .pro-module-grid { display:flex; gap:9px; overflow-x:auto; scroll-snap-type:x mandatory; scrollbar-width:none; }
  body[data-view="pro"] .pro-module-grid button { min-width:82%; min-height:210px; flex:0 0 82%; scroll-snap-align:start; }
  body[data-view="pro"] .pro-module-grid strong { margin-top:38px; }

  body[data-view="calendar"] .reporting-list { max-height:57dvh; padding-right:3px; overflow-y:auto; overscroll-behavior-y:contain; }
}

@media (max-width:560px) {
  .mobile-flow-shell:not([hidden]) { margin-top:-4px; padding:11px; border-radius:17px; }
  .mobile-flow-tabs button { min-height:34px; padding-inline:12px; }
  body[data-view="company"] .company-world-experience { min-height:545px; }
  body[data-view="company"] .company-world-mode.segmented { top:129px; }
  body[data-view="company"] .company-world-controls { top:176px; }
  body[data-view="company"] .company-world-reading { bottom:91px; }
  body[data-view="universes"] .universe-atlas { min-height:280px; }
  body[data-view="market"] .market-stage { min-height:550px; }
}

/* Mobile story feed · immersive, vertical, and deliberately paced */
.mobile-story-feed,
.mobile-story-sheet,
.mobile-story-sheet-backdrop { display:none; }

@media (max-width:860px) {
  body[data-view="today"] .view[data-view="today"] > :not(.mobile-story-feed),
  body[data-view="company"] .view[data-view="company"] > :not(.mobile-story-feed),
  body[data-view="agents"] .view[data-view="agents"] > :not(.mobile-story-feed) { display:none !important; }

  body[data-view="today"] .app-main,
  body[data-view="company"] .app-main,
  body[data-view="agents"] .app-main { scroll-snap-type:y proximity; scroll-padding-top:calc(var(--header-height) + env(safe-area-inset-top) + 72px); }
  body[data-view="company"] .app-main { scroll-snap-type:none; scroll-padding-top:calc(var(--header-height) + env(safe-area-inset-top)); }

  .mobile-story-feed {
    width:100%;
    display:grid;
    gap:16px;
    padding-bottom:8px;
  }
  .story-feed-header {
    position:relative;
    z-index:156;
    top:auto;
    display:flex;
    min-height:48px;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    margin:-8px 0 0;
    padding:7px 9px 7px 13px;
    border:1px solid rgba(198,231,220,.13);
    border-radius:16px;
    background:rgba(4,11,14,.88);
    box-shadow:0 12px 36px rgba(0,0,0,.22);
    backdrop-filter:blur(22px) saturate(1.25);
  }
  .story-feed-header > div { min-width:0; display:grid; grid-template-columns:8px minmax(0,1fr); gap:3px 8px; align-items:center; }
  .story-feed-header > div > i { grid-row:1/3; width:7px; height:7px; border-radius:50%; background:var(--mint); box-shadow:0 0 14px rgba(109,242,182,.75); }
  .story-feed-header > div > span { color:var(--mint); font:800 .58rem/1 ui-monospace,monospace; letter-spacing:.14em; }
  .story-feed-header > div > strong { min-width:0; overflow:hidden; font-size:.8rem; letter-spacing:-.01em; text-overflow:ellipsis; white-space:nowrap; }
  .story-feed-header > button { min-height:34px; flex:0 0 auto; padding:0 11px; border:1px solid var(--line); border-radius:11px; color:var(--muted); background:rgba(255,255,255,.025); font-size:.68rem; font-weight:800; }

  .story-company-feed-header { display:grid; grid-template-columns:46px minmax(0,1fr) auto; }
  .story-company-feed-header > div { display:flex; gap:9px; align-items:center; }
  .story-company-feed-header > div > span { min-width:0; display:grid; gap:1px; }
  .story-company-feed-header > div small { overflow:hidden; color:var(--dim); font:750 .55rem/1.2 ui-monospace,monospace; letter-spacing:.08em; text-overflow:ellipsis; white-space:nowrap; }
  .story-company-feed-header > div strong { overflow:hidden; font-size:.79rem; text-overflow:ellipsis; white-space:nowrap; }
  .story-feed-back { width:42px; min-height:34px !important; padding:0 !important; font-size:.64rem !important; }
  .story-header-logo { display:grid; width:34px; height:34px; place-items:center; flex:0 0 auto; overflow:hidden; border:1px solid color-mix(in srgb,var(--company-color) 36%,var(--line)); border-radius:10px; background:rgba(255,255,255,.94); }
  .story-header-logo img { width:82%; height:82%; object-fit:contain; }
  .story-header-logo .company-logo-fallback { color:#071014; font-weight:900; }
  .story-save-button { color:var(--ink) !important; }
  .story-save-button.is-saved { color:#03110b !important; border-color:var(--mint) !important; background:var(--mint) !important; }

  .story-world-nav {
    display:flex;
    gap:7px;
    margin:-6px 0 -2px;
    padding:2px 1px 4px;
    overflow-x:auto;
    scrollbar-width:none;
  }
  .story-world-nav::-webkit-scrollbar { display:none; }
  .story-world-nav button {
    min-width:max-content;
    min-height:36px;
    padding:0 13px;
    border:1px solid var(--line);
    border-radius:999px;
    color:var(--dim);
    background:rgba(255,255,255,.018);
    font-size:.67rem;
    font-weight:850;
  }
  .story-world-nav button.is-active {
    border-color:rgba(109,242,182,.42);
    color:#03110b;
    background:var(--mint);
    box-shadow:0 8px 24px rgba(109,242,182,.1);
  }

  .story-feed-card {
    position:relative;
    min-height:430px;
    display:flex;
    flex-direction:column;
    padding:22px;
    overflow:hidden;
    border:1px solid rgba(198,231,220,.13);
    border-radius:26px;
    background:
      radial-gradient(circle at 88% 0,color-mix(in srgb,var(--company-color,var(--mint)) 10%,transparent),transparent 38%),
      linear-gradient(155deg,rgba(12,24,28,.98),rgba(4,10,13,.99));
    box-shadow:0 24px 70px rgba(0,0,0,.28),inset 0 1px rgba(255,255,255,.035);
    scroll-snap-align:start;
  }
  .story-feed-card::before {
    content:"";
    position:absolute;
    inset:0;
    pointer-events:none;
    opacity:.22;
    background-image:linear-gradient(rgba(255,255,255,.025) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.025) 1px,transparent 1px);
    background-size:38px 38px;
    mask-image:linear-gradient(black,transparent 76%);
  }
  .story-feed-card > * { position:relative; z-index:1; }
  .story-feed-hero { min-height:min(610px,calc(100dvh - var(--header-height) - var(--mobile-tab-height) - env(safe-area-inset-top) - env(safe-area-inset-bottom) - 78px)); }
  .mobile-story-feed .story-kicker { display:flex; align-items:center; gap:8px; color:var(--mint); font:800 .61rem/1.2 ui-monospace,monospace; letter-spacing:.12em; }
  .mobile-story-feed .story-kicker > i { width:20px; height:1px; background:currentColor; box-shadow:0 0 8px currentColor; }
  .story-feed-card h1,
  .story-feed-card h2 { text-wrap:balance; }
  .story-feed-card h1 { margin:12px 0 13px; font-size:clamp(2.45rem,11vw,3.6rem); line-height:.94; letter-spacing:-.066em; }
  .story-feed-card h2 { margin:13px 0 10px; font-size:clamp(2rem,8.8vw,2.85rem); line-height:.98; letter-spacing:-.057em; }
  .story-feed-card p { margin:0; color:var(--muted); font-size:.9rem; line-height:1.58; }

  .story-primary-action,
  .story-secondary-action {
    width:100%;
    min-height:52px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:16px;
    margin-top:auto;
    padding:0 17px;
    border-radius:15px;
    cursor:pointer;
    font-size:.83rem;
    font-weight:850;
    text-align:left;
  }
  .story-primary-action { color:#03110b; background:linear-gradient(135deg,var(--mint),#a7f6d1); box-shadow:0 14px 36px rgba(109,242,182,.13); }
  .story-secondary-action { border:1px solid var(--line-strong); color:var(--ink); background:rgba(255,255,255,.035); }
  .story-primary-action b,
  .story-secondary-action b { font-size:1rem; }
  .story-swipe-cue { height:18px; display:flex; align-items:center; justify-content:center; gap:8px; margin:12px 0 -10px; color:var(--dim); font-size:.61rem; font-weight:750; letter-spacing:.06em; text-transform:uppercase; }
  .story-swipe-cue i { width:6px; height:6px; border-right:1px solid currentColor; border-bottom:1px solid currentColor; transform:rotate(45deg) translateY(-2px); }

  .story-market-card { padding:0; background:radial-gradient(circle at 50% 26%,rgba(109,242,182,.13),transparent 34%),linear-gradient(180deg,#071318,#03080b 72%); }
  .story-market-card.is-negative { background:radial-gradient(circle at 50% 26%,rgba(255,111,125,.11),transparent 34%),linear-gradient(180deg,#121016,#03080b 72%); }
  .story-market-card.is-mixed { background:radial-gradient(circle at 50% 26%,rgba(245,197,104,.11),transparent 34%),linear-gradient(180deg,#12130f,#03080b 72%); }
  .story-living-field-card {
    min-height:min(680px,calc(100dvh - var(--header-height) - var(--mobile-tab-height) - env(safe-area-inset-top) - env(safe-area-inset-bottom) - 28px));
    padding:0;
    background:linear-gradient(180deg,#071317,#03080b 70%);
  }
  .story-living-field-stage { position:relative; height:clamp(276px,36dvh,320px); flex:0 0 clamp(276px,36dvh,320px); overflow:hidden; border-bottom:1px solid var(--line); background:#03090c; }
  .story-living-field-stage canvas { position:absolute; inset:0; width:100%; height:100%; touch-action:manipulation; }
  .story-living-field-shade { position:absolute; z-index:2; inset:0; pointer-events:none; background:linear-gradient(180deg,rgba(2,7,9,.36),transparent 28%,transparent 56%,rgba(2,7,9,.9)); }
  .story-living-field-status { position:absolute; z-index:4; top:15px; right:15px; left:15px; display:flex; align-items:center; justify-content:space-between; gap:12px; pointer-events:none; }
  .story-living-field-status span { display:flex; align-items:center; gap:7px; padding:8px 10px; border:1px solid rgba(198,231,220,.15); border-radius:999px; color:var(--mint); background:rgba(2,8,10,.67); font:800 .66rem/1 ui-monospace,monospace; letter-spacing:.11em; backdrop-filter:blur(12px); }
  .story-living-field-status i { width:7px; height:7px; border-radius:50%; background:var(--mint); box-shadow:0 0 13px rgba(109,242,182,.8); }
  .story-living-field-status b { color:rgba(229,241,236,.72); font-size:.66rem; letter-spacing:.02em; }
  .story-living-field-reset { position:absolute; z-index:7; top:55px; right:15px; min-height:36px; padding:0 12px; border:1px solid color-mix(in srgb,var(--field-color,var(--mint)) 48%,var(--line)); border-radius:999px; color:var(--ink); background:rgba(3,10,12,.82); font-size:.72rem; font-weight:850; backdrop-filter:blur(12px); }
  .story-living-field-reset[hidden] { display:none; }
  .story-living-field-hint { display:none; position:absolute; z-index:6; bottom:67px; left:50%; width:max-content; max-width:calc(100% - 32px); transform:translateX(-50%); padding:6px 10px; border:1px solid rgba(198,231,220,.12); border-radius:999px; color:rgba(229,241,236,.72); background:rgba(2,8,10,.72); font-size:.68rem; font-weight:750; text-align:center; backdrop-filter:blur(10px); }
  .story-living-field-card.is-district-focused .story-living-field-hint { display:block; }
  .story-living-field-key { position:absolute; z-index:5; right:13px; bottom:14px; left:13px; display:flex; gap:7px; overflow-x:auto; padding:1px; scrollbar-width:none; }
  .story-living-field-key::-webkit-scrollbar { display:none; }
  .story-living-field-key button { min-width:max-content; min-height:48px; display:grid; grid-template-columns:8px auto; grid-template-rows:auto auto; align-items:center; gap:2px 7px; padding:7px 11px; border:1px solid color-mix(in srgb,var(--district-color) 34%,var(--line)); border-radius:13px; color:var(--ink); background:rgba(3,10,12,.78); text-align:left; opacity:.72; backdrop-filter:blur(12px); transition:border-color 180ms ease,background 180ms ease,opacity 180ms ease,transform 180ms ease; }
  .story-living-field-key button.is-active { border-color:color-mix(in srgb,var(--district-color) 78%,white 12%); background:color-mix(in srgb,var(--district-color) 15%,#031012); opacity:1; transform:translateY(-1px); box-shadow:0 0 20px color-mix(in srgb,var(--district-color) 16%,transparent); }
  .story-living-field-key button > i { grid-row:1/3; width:7px; height:7px; border-radius:50%; background:var(--district-color); box-shadow:0 0 12px var(--district-color); }
  .story-living-field-key button > span { font-size:.88rem; font-weight:800; }
  .story-living-field-key button > b { color:var(--muted); font-size:.68rem; }
  .story-living-field-copy { min-height:0; display:flex; flex:1; flex-direction:column; padding:20px 22px 18px; }
  .story-living-field-card.is-district-focused .story-kicker { color:var(--field-color,var(--mint)); }
  .story-living-field-copy h1 { margin:10px 0 11px; font-size:clamp(2.28rem,10.4vw,3.35rem); }
  .story-living-field-copy > p { display:-webkit-box; overflow:hidden; -webkit-box-orient:vertical; -webkit-line-clamp:3; }
  .story-living-field-copy .story-breadth { margin:14px 0 12px; }
  .story-living-field-note { display:block; margin-top:10px; color:var(--dim); font-size:.59rem; line-height:1.4; text-align:center; }
  .story-card-visual { height:220px; flex:0 0 220px; overflow:hidden; border-bottom:1px solid var(--line); }
  .story-visual-label { position:absolute; top:15px; left:16px; padding:7px 9px; border:1px solid var(--line); border-radius:999px; color:var(--muted); background:rgba(2,8,10,.68); font:750 .51rem/1 ui-monospace,monospace; letter-spacing:.1em; backdrop-filter:blur(9px); }
  .story-card-content { display:flex; min-height:0; flex:1; flex-direction:column; padding:21px 22px 0; }
  .story-city { position:absolute; inset:0; overflow:hidden; perspective:700px; background:radial-gradient(ellipse at 50% 82%,rgba(109,242,182,.18),transparent 43%),linear-gradient(180deg,#0b1a1d,#050b0e); }
  .story-city::after { content:""; position:absolute; right:-15%; bottom:-48%; left:-15%; height:75%; border:1px solid rgba(109,242,182,.16); border-radius:50%; background:radial-gradient(ellipse,rgba(5,16,16,.96),#020608 65%); transform:rotateX(64deg); box-shadow:0 -15px 50px rgba(109,242,182,.06); }
  .story-city-sky i { position:absolute; width:2px; height:2px; border-radius:50%; background:rgba(255,255,255,.72); box-shadow:32px 20px rgba(255,255,255,.25),78px -7px rgba(255,255,255,.38),142px 13px rgba(255,255,255,.26),214px -11px rgba(255,255,255,.42),280px 19px rgba(255,255,255,.3); }
  .story-city-sky i:nth-child(1) { top:34px; left:22px; }.story-city-sky i:nth-child(2) { top:72px; left:88px; opacity:.5; }.story-city-sky i:nth-child(3) { top:23px; left:164px; opacity:.35; }
  .story-city-orbit { position:absolute; top:38px; left:50%; width:250px; height:92px; border:1px solid rgba(110,223,242,.14); border-radius:50%; transform:translateX(-50%) rotate(-8deg); }
  .story-city-buildings { position:absolute; z-index:3; right:8%; bottom:36px; left:8%; display:flex; align-items:flex-end; justify-content:center; gap:8px; transform:perspective(620px) rotateX(7deg); }
  .story-city-buildings > i { position:relative; width:24px; height:var(--tower-height); border:1px solid color-mix(in srgb,var(--tower-color) 52%,transparent); border-radius:4px 4px 1px 1px; background:linear-gradient(90deg,color-mix(in srgb,var(--tower-color) 12%,#071014),color-mix(in srgb,var(--tower-color) 38%,#071014)); box-shadow:0 0 24px color-mix(in srgb,var(--tower-color) 12%,transparent); animation:story-tower-in 520ms var(--tower-delay) ease both; }
  .story-city-buildings > i:nth-child(3n) { width:31px; }.story-city-buildings > i:nth-child(4n) { width:18px; }
  .story-city-buildings b { position:absolute; inset:8px 5px; background:repeating-linear-gradient(180deg,color-mix(in srgb,var(--tower-color) 55%,white) 0 2px,transparent 2px 9px); opacity:.44; }
  .story-city-road { position:absolute; z-index:4; bottom:20px; left:50%; width:240px; height:24px; border-top:1px solid rgba(109,242,182,.18); border-radius:50%; transform:translateX(-50%) rotate(-6deg); }.story-city-road.two { bottom:8px; width:320px; transform:translateX(-50%) rotate(8deg); opacity:.55; }
  @keyframes story-tower-in { from { height:8px; opacity:0; } }

  .story-breadth { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:7px; margin:17px 0 14px; }
  .story-breadth span { min-width:0; display:grid; gap:2px; padding:10px 8px; border:1px solid var(--line); border-radius:12px; color:var(--dim); background:rgba(255,255,255,.02); font-size:.58rem; text-align:center; }
  .story-breadth strong { color:var(--ink); font-size:1.15rem; letter-spacing:-.04em; }

  .story-company-card { min-height:600px; }
  .story-company-heading,
  .story-saved-order { display:flex; align-items:center; justify-content:space-between; gap:16px; color:var(--mint); font:800 .59rem/1 ui-monospace,monospace; letter-spacing:.12em; }
  .story-company-heading b { color:var(--muted); font-size:.64rem; }
  .story-company-identity { display:grid; grid-template-columns:58px minmax(0,1fr) auto; gap:12px; align-items:center; margin-top:15px; }
  .story-company-logo { display:grid; width:58px; height:58px; place-items:center; overflow:hidden; border:1px solid color-mix(in srgb,var(--company-color) 35%,var(--line)); border-radius:17px; background:rgba(255,255,255,.94); box-shadow:0 10px 30px rgba(0,0,0,.25); }
  .story-company-logo img { width:82%; height:82%; object-fit:contain; }
  .story-company-logo .company-logo-fallback { color:#071014; font-weight:900; }
  .story-company-identity > div { min-width:0; display:grid; gap:3px; }
  .story-company-identity > div span { overflow:hidden; color:var(--dim); font:750 .58rem/1.2 ui-monospace,monospace; letter-spacing:.08em; text-overflow:ellipsis; white-space:nowrap; }
  .story-company-identity > div strong { overflow:hidden; font-size:1.04rem; letter-spacing:-.03em; text-overflow:ellipsis; white-space:nowrap; }
  .story-company-identity > em { display:grid; width:48px; height:48px; place-items:center; border:1px solid color-mix(in srgb,var(--company-color) 40%,var(--line)); border-radius:50%; color:var(--company-color); background:color-mix(in srgb,var(--company-color) 8%,transparent); font-size:1.15rem; font-style:normal; font-weight:900; }
  .story-company-copy { margin-top:2px; }
  .story-company-copy > span,
  .story-profile-copy > span,
  .story-saved-signal > span { color:var(--company-color,var(--mint)); font:800 .58rem/1 ui-monospace,monospace; letter-spacing:.11em; }
  .story-company-copy h2 { margin-top:9px; }

  .story-company-world { position:relative; height:220px; flex:0 0 220px; margin:12px -8px 6px; overflow:hidden; perspective:700px; }
  .story-world-glow { position:absolute; top:26%; left:50%; width:170px; height:170px; border-radius:50%; background:radial-gradient(circle,color-mix(in srgb,var(--company-color) 22%,transparent),color-mix(in srgb,var(--company-color) 4%,transparent) 47%,transparent 69%); filter:blur(2px); transform:translateX(-50%); }
  .story-world-orbit { position:absolute; top:58px; left:50%; width:250px; height:95px; border:1px solid color-mix(in srgb,var(--company-color) 27%,transparent); border-radius:50%; transform:translateX(-50%) rotate(-9deg); }.story-world-orbit.two { top:33px; width:150px; height:158px; transform:translateX(-50%) rotate(53deg); opacity:.56; }
  .story-world-orbit::after { content:""; position:absolute; top:48%; left:-4px; width:8px; height:8px; border-radius:50%; background:var(--company-color); box-shadow:0 0 16px var(--company-color); }
  .story-world-land { position:absolute; right:5%; bottom:-62px; left:5%; height:150px; border:1px solid color-mix(in srgb,var(--company-color) 22%,transparent); border-radius:50%; background:radial-gradient(ellipse at 50% 22%,color-mix(in srgb,var(--company-color) 12%,#071014),#020608 64%); transform:rotateX(55deg); }
  .story-world-land i { position:absolute; bottom:44%; width:15px; height:42px; border:1px solid color-mix(in srgb,var(--company-color) 35%,transparent); background:color-mix(in srgb,var(--company-color) 12%,#071014); transform:rotateX(-55deg); }.story-world-land i:nth-child(1){left:18%;height:34px}.story-world-land i:nth-child(2){left:33%;height:58px}.story-world-land i:nth-child(3){left:49%;height:44px}.story-world-land i:nth-child(4){left:64%;height:67px}.story-world-land i:nth-child(5){left:77%;height:28px}
  .story-world-core { position:absolute; z-index:4; top:65px; left:50%; width:76px; height:76px; display:grid; place-items:center; overflow:hidden; border:1px solid color-mix(in srgb,var(--company-color) 42%,white); border-radius:24px; background:rgba(255,255,255,.95); box-shadow:0 0 42px color-mix(in srgb,var(--company-color) 24%,transparent),0 16px 36px rgba(0,0,0,.35); transform:translateX(-50%); }
  .story-world-core img { width:80%; height:80%; object-fit:contain; }.story-world-core .company-logo-fallback { color:#071014; font-weight:900; }
  .story-world-node { position:absolute; z-index:5; padding:6px 8px; border:1px solid var(--line); border-radius:999px; color:var(--muted); background:rgba(4,11,14,.78); font:750 .48rem/1 ui-monospace,monospace; letter-spacing:.08em; backdrop-filter:blur(8px); }.node-growth{top:26px;left:6%}.node-cash{top:72px;right:3%}.node-margin{bottom:26px;left:7%}

  .story-metric-row { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:7px; margin:14px 0; }
  .story-metric-row span { min-width:0; display:grid; gap:4px; padding:11px 8px; border:1px solid var(--line); border-radius:12px; color:var(--dim); background:rgba(255,255,255,.018); font-size:.56rem; line-height:1.2; text-align:center; }
  .story-metric-row strong { overflow:hidden; color:var(--ink); font-size:.85rem; letter-spacing:-.03em; text-overflow:ellipsis; white-space:nowrap; }

  .story-sector-card { min-height:490px; justify-content:flex-end; background:radial-gradient(circle at 50% 16%,color-mix(in srgb,var(--district-color) 15%,transparent),transparent 35%),linear-gradient(155deg,#0b171a,#040a0d); }
  .story-orb { position:relative; width:190px; height:190px; display:grid; place-items:center; align-self:center; margin:-2px 0 20px; border:1px solid color-mix(in srgb,var(--district-color) 25%,transparent); border-radius:50%; background:radial-gradient(circle,color-mix(in srgb,var(--district-color) 14%,transparent),transparent 66%); box-shadow:0 0 60px color-mix(in srgb,var(--district-color) 8%,transparent); }
  .story-orb i { position:absolute; inset:14%; border:1px solid color-mix(in srgb,var(--district-color) 35%,transparent); border-radius:50%; }.story-orb i:nth-child(2){inset:-10% 20%;transform:rotate(58deg)}
  .story-orb strong { color:var(--district-color); font-size:2.8rem; letter-spacing:-.08em; }
  .story-sector-ledger { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:6px; margin:17px 0; }
  .story-sector-ledger span { display:grid; gap:4px; padding:10px 6px; border-top:1px solid var(--line); color:var(--dim); font-size:.54rem; text-align:center; }.story-sector-ledger strong{color:var(--ink);font-size:.86rem}

  .story-score-card { min-height:470px; }
  .story-score-trio { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:7px; margin:22px 0 18px; }
  .story-score-trio > span { min-height:155px; display:flex; min-width:0; align-items:center; flex-direction:column; justify-content:center; padding:10px 7px; border:1px solid var(--line); border-radius:16px; background:linear-gradient(180deg,color-mix(in srgb,var(--company-color,var(--mint)) 7%,transparent),rgba(255,255,255,.012)); text-align:center; }
  .story-score-trio small { color:var(--dim); font:800 .48rem/1 ui-monospace,monospace; letter-spacing:.08em; }
  .story-score-trio strong { margin:10px 0 8px; color:var(--company-color,var(--mint)); font-size:2.35rem; line-height:1; letter-spacing:-.08em; }
  .story-score-trio em { color:var(--muted); font-size:.54rem; font-style:normal; line-height:1.35; }

  .story-profile-hero { padding-top:20px; background:radial-gradient(circle at 50% 28%,color-mix(in srgb,var(--company-color) 13%,transparent),transparent 35%),linear-gradient(180deg,#0a171a,#03080b 70%); }
  .story-profile-score { position:absolute; z-index:7; top:19px; right:18px; display:grid; justify-items:end; }
  .story-profile-score span { color:var(--dim); font:800 .49rem/1.15 ui-monospace,monospace; letter-spacing:.1em; text-align:right; }.story-profile-score strong{color:var(--company-color);font-size:2.8rem;line-height:.9;letter-spacing:-.09em}.story-profile-score small{max-width:120px;margin-top:5px;color:var(--muted);font-size:.52rem;text-align:right}
  .story-profile-hero .story-company-world { height:194px; flex-basis:194px; margin-top:4px; margin-bottom:0; }
  .story-profile-hero h1 { margin-top:8px; margin-bottom:10px; font-size:clamp(2.3rem,10vw,3rem); }
  .story-profile-hero .story-metric-row { margin:10px 0; }
  .story-profile-hero .story-swipe-cue { display:none; }
  .story-profile-copy { margin-top:-5px; }

  body[data-view="company"] .mobile-story-feed { gap:12px; }
  body[data-view="company"] .story-feed-card {
    min-height:0;
    padding:20px;
    scroll-margin-top:14px;
    scroll-snap-align:none;
  }
  body[data-view="company"] .story-feed-card h2 { font-size:clamp(1.72rem,7.5vw,2.3rem); line-height:1.02; }
  body[data-view="company"] .story-feed-card p { font-size:.82rem; line-height:1.48; }
  body[data-view="company"] .story-primary-action,
  body[data-view="company"] .story-secondary-action { min-height:48px; margin-top:14px; }
  body[data-view="company"] .story-primary-action b,
  body[data-view="company"] .story-secondary-action b { font:850 .61rem/1 ui-monospace,monospace; letter-spacing:.07em; text-transform:uppercase; }

  body[data-view="company"] .story-profile-hero {
    min-height:0;
    padding-top:19px;
    background:radial-gradient(circle at 70% 29%,color-mix(in srgb,var(--company-color) 14%,transparent),transparent 34%),linear-gradient(180deg,#0a171a,#03080b 72%);
  }
  .story-world-overview-head { display:grid; grid-template-columns:minmax(0,1fr) 76px; gap:13px; align-items:start; }
  body[data-view="company"] .story-profile-copy { min-width:0; margin:0; }
  body[data-view="company"] .story-profile-copy h1 { margin:8px 0 9px; font-size:clamp(2rem,8.7vw,2.55rem); line-height:.97; }
  body[data-view="company"] .story-profile-copy > p { display:-webkit-box; overflow:hidden; -webkit-box-orient:vertical; -webkit-line-clamp:3; }
  body[data-view="company"] .story-profile-score {
    position:static;
    min-height:96px;
    display:flex;
    align-items:center;
    flex-direction:column;
    justify-content:center;
    padding:10px 6px;
    border:1px solid color-mix(in srgb,var(--company-color) 38%,var(--line));
    border-radius:18px;
    background:color-mix(in srgb,var(--company-color) 8%,rgba(255,255,255,.015));
  }
  body[data-view="company"] .story-profile-score span,
  body[data-view="company"] .story-profile-score small { text-align:center; }
  body[data-view="company"] .story-profile-score strong { margin:5px 0 2px; font-size:2.15rem; }
  body[data-view="company"] .story-profile-score small { max-width:66px; margin:0; line-height:1.2; }
  body[data-view="company"] .story-profile-hero .story-company-world { height:152px; flex-basis:152px; margin:5px -2px 1px; }
  body[data-view="company"] .story-profile-hero .story-world-glow { top:17%; width:140px; height:140px; }
  body[data-view="company"] .story-profile-hero .story-world-orbit { top:34px; width:205px; height:78px; }
  body[data-view="company"] .story-profile-hero .story-world-orbit.two { top:13px; width:126px; height:126px; }
  body[data-view="company"] .story-profile-hero .story-world-core { top:38px; width:68px; height:68px; border-radius:21px; }
  body[data-view="company"] .story-profile-hero .story-world-land { bottom:-83px; }
  body[data-view="company"] .story-profile-hero .node-growth { top:13px; }
  body[data-view="company"] .story-profile-hero .node-cash { top:54px; }
  body[data-view="company"] .story-profile-hero .node-margin { bottom:13px; }
  .story-world-score-strip { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:7px; margin:3px 0 7px; }
  .story-world-score-strip > span {
    min-width:0;
    display:grid;
    justify-items:center;
    gap:3px;
    padding:9px 5px 8px;
    border:1px solid var(--line);
    border-radius:13px;
    background:rgba(255,255,255,.018);
    text-align:center;
  }
  .story-world-score-strip small { color:var(--dim); font:800 .45rem/1 ui-monospace,monospace; letter-spacing:.06em; }
  .story-world-score-strip strong { color:var(--company-color); font-size:1.25rem; line-height:1; letter-spacing:-.06em; }
  .story-world-score-strip em { max-width:100%; overflow:hidden; color:var(--muted); font-size:.51rem; font-style:normal; text-overflow:ellipsis; white-space:nowrap; }
  body[data-view="company"] .story-profile-hero .story-metric-row { margin:0 0 2px; }
  body[data-view="company"] .story-profile-hero .story-metric-row span { padding:8px 5px; }

  body[data-view="company"] .story-change-card { min-height:0; }
  body[data-view="company"] .story-change-list { grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; margin:16px 0 1px; }
  body[data-view="company"] .story-change-list > div { grid-template-columns:1fr; gap:5px; align-content:start; min-height:108px; padding:12px; }
  body[data-view="company"] .story-change-list span { font-size:.68rem; }
  body[data-view="company"] .story-change-list strong { font-size:1.27rem; letter-spacing:-.04em; }
  body[data-view="company"] .story-change-list small { grid-column:auto; display:-webkit-box; overflow:hidden; font-size:.57rem; line-height:1.35; -webkit-box-orient:vertical; -webkit-line-clamp:2; }

  body[data-view="company"] .story-quarter-card { min-height:0; justify-content:initial; }
  .story-quarter-summary { display:grid; grid-template-columns:minmax(0,1fr) 102px; gap:14px; align-items:center; }
  body[data-view="company"] .story-quarter-card h2 { margin-top:10px; }
  body[data-view="company"] .story-quarter-orbit { width:102px; height:102px; margin:0; }
  body[data-view="company"] .story-quarter-orbit strong { font-size:1.55rem; }
  .story-quarter-facts { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; margin:16px 0 0; }
  .story-quarter-facts span { min-width:0; display:grid; gap:5px; padding:12px; border:1px solid var(--line); border-radius:13px; background:rgba(255,255,255,.018); }
  .story-quarter-facts small { color:var(--dim); font:800 .49rem/1.1 ui-monospace,monospace; letter-spacing:.08em; }
  .story-quarter-facts strong { overflow:hidden; color:var(--ink); font-size:1.15rem; letter-spacing:-.04em; text-overflow:ellipsis; white-space:nowrap; }

  body[data-view="company"] .story-score-card { min-height:0; }
  body[data-view="company"] .story-score-trio { gap:7px; margin:16px 0 12px; }
  body[data-view="company"] .story-score-trio > span { min-height:108px; padding:9px 5px; }
  body[data-view="company"] .story-score-trio strong { margin:7px 0 6px; font-size:1.78rem; }
  body[data-view="company"] .story-score-trio em { font-size:.5rem; }
  .story-score-source { padding:10px 11px; border:1px solid var(--line); border-radius:12px; background:rgba(255,255,255,.018); font-size:.66rem !important; line-height:1.4 !important; }

  body[data-view="company"] .story-next-card { min-height:0; }
  body[data-view="company"] .story-next-grid { gap:8px; margin:16px 0 6px; }
  body[data-view="company"] .story-next-grid button { min-height:92px; padding:12px; }
  body[data-view="company"] .story-next-grid i { font:850 .65rem/1 ui-monospace,monospace; letter-spacing:.04em; }
  body[data-view="company"] .story-source-link { min-height:42px; margin-top:4px; }

  .story-change-card { min-height:560px; }
  .story-change-list { display:grid; gap:8px; margin:20px 0; }
  .story-change-list > div { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:4px 12px; align-items:center; padding:13px 14px; border:1px solid var(--line); border-radius:14px; background:rgba(255,255,255,.018); }
  .story-change-list span { font-size:.75rem; font-weight:800; }.story-change-list strong{font-size:1rem}.story-change-list small{grid-column:1/-1;color:var(--dim);font-size:.62rem}
  .story-change-list .is-positive strong{color:var(--mint)}.story-change-list .is-negative strong{color:var(--red)}.story-change-list .is-steady strong{color:var(--gold)}

  .story-quarter-card { min-height:500px; justify-content:flex-end; background:radial-gradient(circle at 50% 14%,color-mix(in srgb,var(--company-color) 13%,transparent),transparent 36%),linear-gradient(155deg,#0b171a,#040a0d); }
  .story-quarter-orbit { position:relative; width:190px; height:190px; display:grid; place-items:center; align-self:center; margin:-3px 0 17px; border:1px solid color-mix(in srgb,var(--company-color) 23%,transparent); border-radius:50%; background:radial-gradient(circle,color-mix(in srgb,var(--company-color) 14%,transparent),transparent 66%); }
  .story-quarter-orbit i { position:absolute; inset:17%; border:1px dashed color-mix(in srgb,var(--company-color) 35%,transparent); border-radius:50%; }.story-quarter-orbit i:nth-child(2){inset:-8% 23%;transform:rotate(57deg)}.story-quarter-orbit strong{color:var(--company-color);font-size:2.6rem;letter-spacing:-.07em}

  .story-next-card { min-height:500px; }
  .story-next-grid { display:grid; grid-template-columns:1fr 1fr; gap:8px; margin:22px 0; }
  .story-next-grid button { min-height:120px; display:grid; grid-template-columns:28px minmax(0,1fr); grid-template-rows:auto auto; align-content:center; gap:4px 8px; padding:14px; border:1px solid var(--line); border-radius:16px; color:var(--ink); background:rgba(255,255,255,.02); text-align:left; }
  .story-next-grid i { grid-row:1/3; align-self:center; color:var(--company-color,var(--mint)); font-size:1rem; font-style:normal; }.story-next-grid strong{font-size:.8rem}.story-next-grid span{color:var(--dim);font-size:.57rem;line-height:1.3}
  .story-source-link { display:flex; min-height:46px; align-items:center; justify-content:space-between; margin-top:auto; padding:0 2px; color:var(--muted); font-size:.71rem; font-weight:800; }

  .story-empty-watch { min-height:570px; }
  .story-empty-watch > .story-company-world { margin-top:-4px; }
  .story-watch-hero { min-height:570px; justify-content:flex-end; background:radial-gradient(circle at 50% 23%,color-mix(in srgb,var(--company-color) 14%,transparent),transparent 37%),linear-gradient(160deg,#0a151a,#03080b); }
  .story-watch-constellation { position:relative; height:190px; flex:0 0 190px; margin:-10px 0 18px; }
  .story-watch-constellation::before,.story-watch-constellation::after { content:""; position:absolute; inset:18% 12%; border:1px solid rgba(128,104,255,.22); border-radius:50%; transform:rotate(-12deg); }.story-watch-constellation::after{inset:10% 29%;transform:rotate(58deg)}
  .story-watch-constellation > i { position:absolute; z-index:2; width:13px; height:13px; border:2px solid rgba(255,255,255,.32); border-radius:50%; background:var(--node-color); box-shadow:0 0 22px var(--node-color); }
  .story-watch-constellation > i:nth-child(1){top:18%;left:20%}.story-watch-constellation > i:nth-child(2){top:56%;left:12%}.story-watch-constellation > i:nth-child(3){top:30%;right:17%}.story-watch-constellation > i:nth-child(4){bottom:10%;right:28%}.story-watch-constellation > i:nth-child(5){top:7%;left:54%}.story-watch-constellation > i:nth-child(6){bottom:17%;left:47%}
  .story-watch-constellation > b { position:absolute; top:50%; left:50%; width:64px; height:64px; border:1px solid rgba(128,104,255,.4); border-radius:50%; background:radial-gradient(circle,rgba(128,104,255,.28),rgba(128,104,255,.03) 65%); box-shadow:0 0 52px rgba(128,104,255,.16); transform:translate(-50%,-50%); }
  .story-watch-summary { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:7px; margin:18px 0; }
  .story-watch-summary span { display:grid; gap:4px; padding:10px 7px; border:1px solid var(--line); border-radius:12px; color:var(--dim); font-size:.54rem; text-align:center; }.story-watch-summary strong{color:var(--ink);font-size:1rem}
  .story-saved-card { min-height:520px; }
  .story-saved-order button { width:36px; height:36px; border:1px solid color-mix(in srgb,var(--company-color) 35%,var(--line)); border-radius:50%; color:var(--company-color); background:color-mix(in srgb,var(--company-color) 8%,transparent); }
  .story-saved-signal { margin:46px 0 18px; }
  .story-saved-signal h2 { margin-top:10px; }
  .story-score-mini { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:7px; margin:0 0 18px; }
  .story-score-mini span { min-width:0; display:grid; gap:5px; padding:11px 7px; border:1px solid var(--line); border-radius:12px; background:rgba(255,255,255,.018); text-align:center; }.story-score-mini small{color:var(--dim);font:.48rem/1 ui-monospace,monospace;letter-spacing:.07em}.story-score-mini strong{overflow:hidden;color:var(--ink);font-size:.9rem;text-overflow:ellipsis;white-space:nowrap}
  .story-agent-card { min-height:400px; background:radial-gradient(circle at 86% 8%,rgba(128,104,255,.15),transparent 38%),linear-gradient(155deg,#0d121d,#04090d); }

  .story-feed-footer { display:grid; justify-items:center; gap:3px; padding:10px 8px 18px; color:var(--dim); text-align:center; }
  .story-feed-footer span { font-size:.66rem; font-weight:800; }.story-feed-footer p{margin:0;font-size:.58rem}

  .mobile-story-sheet-backdrop {
    position:fixed;
    z-index:245;
    inset:0;
    background:rgba(0,0,0,.72);
    backdrop-filter:blur(9px);
  }
  .mobile-story-sheet-backdrop:not([hidden]) { display:block; }
  .mobile-story-sheet {
    position:fixed;
    z-index:250;
    right:0;
    bottom:0;
    left:0;
    max-height:min(82dvh,760px);
    display:flex;
    flex-direction:column;
    overflow:hidden;
    border:1px solid var(--line-strong);
    border-right:0;
    border-bottom:0;
    border-left:0;
    border-radius:28px 28px 0 0;
    background:radial-gradient(circle at 85% 0,rgba(109,242,182,.1),transparent 35%),#071014;
    box-shadow:0 -34px 100px rgba(0,0,0,.72);
    animation:story-sheet-in 220ms ease both;
  }
  .mobile-story-sheet[hidden] { display:none; }
  .mobile-story-sheet > header { min-height:78px; display:flex; align-items:flex-start; justify-content:space-between; gap:16px; padding:20px 20px 15px; border-bottom:1px solid var(--line); }
  .mobile-story-sheet > header > div { display:grid; gap:7px; }.mobile-story-sheet > header span{color:var(--mint);font:800 .57rem/1 ui-monospace,monospace;letter-spacing:.12em}.mobile-story-sheet > header h2{margin:0;font-size:1.35rem;letter-spacing:-.04em}.mobile-story-sheet > header button{min-height:38px;padding:0 12px;border:1px solid var(--line);border-radius:12px;color:var(--muted);background:rgba(255,255,255,.025);font-size:.7rem;font-weight:800}
  .mobile-story-sheet-body { min-height:0; display:grid; gap:18px; padding:20px 20px calc(24px + env(safe-area-inset-bottom)); overflow-y:auto; -webkit-overflow-scrolling:touch; }
  .story-sheet-lead,.story-sheet-score { display:grid; gap:7px; padding:19px; border:1px solid var(--line); border-radius:18px; background:rgba(255,255,255,.02); }.story-sheet-lead span,.story-sheet-score span,.story-sheet-equation span{color:var(--mint);font:800 .57rem/1 ui-monospace,monospace;letter-spacing:.1em}.story-sheet-lead strong,.story-sheet-score strong{font-size:2.8rem;line-height:1;letter-spacing:-.08em}.story-sheet-lead p,.story-sheet-score p,.story-sheet-equation p{margin:0;color:var(--muted);font-size:.75rem;line-height:1.5}
  .story-sheet-bars { height:210px; display:flex; align-items:flex-end; gap:7px; padding:22px 8px 0; border-bottom:1px solid var(--line); }
  .story-sheet-bars > div { min-width:0; height:100%; display:flex; flex:1; align-items:center; flex-direction:column; justify-content:flex-end; gap:5px; }
  .story-sheet-bars i { width:100%; min-height:10px; border:1px solid rgba(109,242,182,.24); border-bottom:0; border-radius:6px 6px 0 0; background:linear-gradient(180deg,rgba(109,242,182,.58),rgba(109,242,182,.09)); box-shadow:0 -8px 20px rgba(109,242,182,.06); }
  .story-sheet-bars strong { max-width:100%; overflow:hidden; font-size:.49rem; text-overflow:ellipsis; white-space:nowrap; }.story-sheet-bars span{color:var(--dim);font-size:.52rem;white-space:nowrap}
  .story-sheet-note { margin:0; color:var(--dim); font-size:.65rem; line-height:1.55; }
  .story-sheet-factor-list { display:grid; gap:8px; }.story-sheet-factor-list > div{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 12px;padding:13px;border:1px solid var(--line);border-radius:14px;background:rgba(255,255,255,.018)}.story-sheet-factor-list span{display:grid;font-size:.76rem;font-weight:800}.story-sheet-factor-list small{color:var(--dim);font-size:.57rem;font-weight:600}.story-sheet-factor-list strong{font-size:.76rem}.story-sheet-factor-list i{grid-column:1/-1;height:3px;overflow:hidden;border-radius:9px;background:rgba(255,255,255,.06)}.story-sheet-factor-list b{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,var(--mint),var(--cyan))}
  .story-sheet-equation { display:grid; gap:9px; padding:17px; border:1px solid rgba(110,223,242,.18); border-radius:16px; background:rgba(110,223,242,.035); }.story-sheet-equation strong{font-size:.78rem;line-height:1.5}
  .story-sheet-agent-list { display:grid; gap:8px; }.story-sheet-agent-list > div{display:grid;grid-template-columns:10px minmax(0,1fr) auto;gap:10px;align-items:center;padding:13px;border:1px solid var(--line);border-radius:14px;background:rgba(255,255,255,.016)}.story-sheet-agent-list i{width:8px;height:8px;border-radius:50%;background:var(--dim)}.story-sheet-agent-list .is-active i{background:var(--mint);box-shadow:0 0 12px rgba(109,242,182,.65)}.story-sheet-agent-list span{display:grid;gap:3px}.story-sheet-agent-list strong{font-size:.74rem}.story-sheet-agent-list small{color:var(--dim);font-size:.58rem;line-height:1.35}.story-sheet-agent-list b{color:var(--muted);font-size:.61rem;white-space:nowrap}
  body.mobile-story-sheet-open .app-main { overflow:hidden; }
  @keyframes story-sheet-in { from { opacity:0; transform:translateY(28px); } }
}

@media (max-width:370px) {
  .story-feed-card { padding:18px; border-radius:22px; }
  .story-living-field-card { padding:0; }
  .story-living-field-status { right:auto; }
  .story-living-field-status > b { display:none; }
  .story-living-field-stage { height:238px; flex-basis:238px; }
  .story-living-field-copy { padding:15px 18px 14px; }
  .story-living-field-copy h1 { margin:7px 0 8px; font-size:2.12rem; }
  .story-living-field-copy > p { font-size:.78rem; line-height:1.46; -webkit-line-clamp:2; }
  .story-living-field-key { bottom:10px; }
  .story-living-field-key button { min-height:38px; padding:6px 8px; }
  .story-living-field-note { margin-top:7px; font-size:.54rem; }
  .story-card-content { padding:15px 18px 0; }
  .story-feed-card h1 { margin-top:9px; font-size:2.22rem; }
  .story-feed-card h2 { font-size:1.85rem; }
  .story-card-visual { height:174px; flex-basis:174px; }
  .story-market-card .story-card-content > p,
  .story-profile-copy > p { display:-webkit-box; overflow:hidden; font-size:.78rem; line-height:1.46; -webkit-box-orient:vertical; -webkit-line-clamp:4; }
  .story-profile-copy > p { -webkit-line-clamp:3; }
  .story-breadth { margin:10px 0; }
  .story-breadth span { padding:7px 5px; }
  .story-primary-action,
  .story-secondary-action { min-height:48px; }
  .story-swipe-cue { display:none; }
  .story-score-trio > span { min-height:142px; padding-inline:4px; }
  .story-score-trio strong { font-size:2rem; }
  .story-company-world { height:176px; flex-basis:176px; margin:4px -12px 0; }
  .story-world-core { top:45px; width:70px; height:70px; }
  .story-world-orbit { top:38px; }.story-world-orbit.two{top:16px;height:145px}
  .story-world-land { bottom:-73px; }
  .story-profile-copy { margin-top:-2px; }
  .story-profile-score strong { font-size:2.45rem; }
  .story-metric-row { margin:9px 0; }
  .story-metric-row span { padding:8px 5px; }
  .story-metric-row strong { font-size:.75rem; }
  .story-watch-constellation { height:132px; flex-basis:132px; margin:-6px 0 10px; }
  .story-watch-hero > p { display:-webkit-box; overflow:hidden; font-size:.78rem; line-height:1.46; -webkit-box-orient:vertical; -webkit-line-clamp:3; }
  .story-watch-summary { margin:10px 0; }
  .story-watch-summary span { padding:8px 4px; }
  body[data-view="company"] .story-company-feed-header { grid-template-columns:44px minmax(0,1fr) auto; padding-left:8px; }
  body[data-view="company"] .story-world-nav button { padding-inline:11px; }
  body[data-view="company"] .story-feed-card { padding:17px; }
  body[data-view="company"] .story-world-overview-head { grid-template-columns:1fr; gap:9px; }
  body[data-view="company"] .story-profile-score { min-height:54px; display:grid; grid-template-columns:minmax(0,1fr) auto; grid-template-rows:auto auto; justify-items:start; padding:8px 11px; }
  body[data-view="company"] .story-profile-score span { grid-row:1/3; align-self:center; text-align:left; }
  body[data-view="company"] .story-profile-score strong { grid-column:2; grid-row:1/3; align-self:center; margin:0; font-size:2rem; }
  body[data-view="company"] .story-profile-score small { display:none; }
  body[data-view="company"] .story-profile-hero .story-company-world { height:138px; flex-basis:138px; margin-inline:-8px; }
  body[data-view="company"] .story-profile-hero .story-world-core { top:33px; }
  body[data-view="company"] .story-profile-hero .story-world-orbit { top:29px; }
  body[data-view="company"] .story-profile-hero .story-world-orbit.two { top:8px; }
  body[data-view="company"] .story-change-list > div { min-height:101px; padding:10px; }
  body[data-view="company"] .story-quarter-summary { grid-template-columns:minmax(0,1fr) 84px; gap:9px; }
  body[data-view="company"] .story-quarter-orbit { width:84px; height:84px; }
  body[data-view="company"] .story-quarter-orbit strong { font-size:1.25rem; }
  body[data-view="company"] .story-score-trio > span { min-height:100px; }
  body[data-view="company"] .story-score-trio strong { font-size:1.58rem; }
  body[data-view="company"] .story-next-grid button { min-height:86px; grid-template-columns:22px minmax(0,1fr); gap:4px 5px; padding:9px 7px; }
  body[data-view="company"] .story-next-grid strong { overflow-wrap:normal; font-size:.75rem; word-break:normal; }
}

@media (prefers-reduced-motion:reduce) {
  .story-city-buildings > i,
  .mobile-story-sheet { animation:none; }
}
