:root {
  --llins-logo-blue: #206cac;
  --llins-logo-blue-deep: #145184;
  --llins-authority-navy: #0b1f3a;
  --llins-logo-green: #8cb834;
  --llins-logo-red: #d8282c;
  --blue: var(--llins-logo-blue);
  --blue-deep: var(--llins-logo-blue-deep);
  --navy: var(--llins-authority-navy);
  --green: var(--llins-logo-green);
  --red: var(--llins-logo-red);
  --success: #157a57;
  --warning: #b7791f;
  --danger: #b42318;
  --ink: #1f2a37;
  --muted: #5b677a;
  --soft: #7b8794;
  --line: #d8e0ea;
  --line-soft: #e7ecf2;
  --background: #f6f9fc;
  --surface: #ffffff;
  --surface-tint: #eef6fc;
  --font: Inter, "Source Han Sans SC", "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 22px;
  --shadow-card: 0 10px 30px rgba(11, 31, 58, 0.08);
  --shadow-soft: 0 4px 14px rgba(11, 31, 58, 0.06);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background: var(--background);
  font-family: var(--font);
  line-height: 1.5;
}

button,
input,
textarea,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

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

.app-shell {
  min-height: 100vh;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  min-height: 72px;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto minmax(220px, 1fr);
  align-items: center;
  gap: 24px;
  padding: 0 32px;
  color: var(--surface);
  background: rgba(11, 31, 58, 0.96);
  border-bottom: 1px solid rgba(216, 224, 234, 0.16);
  backdrop-filter: blur(14px);
}

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

.brand-mark {
  width: 40px;
  height: 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: end;
  gap: 4px;
  padding: 9px;
  border-radius: var(--radius-md);
  background: linear-gradient(145deg, var(--blue), var(--blue-deep));
  box-shadow: 0 8px 24px rgba(32, 108, 172, 0.24);
}

.brand-mark span {
  border-radius: 999px 999px 2px 2px;
  background: var(--surface);
}

.brand-mark span:nth-child(1) { height: 42%; opacity: 0.7; }
.brand-mark span:nth-child(2) { height: 78%; }
.brand-mark span:nth-child(3) { height: 58%; opacity: 0.82; }

.brand-copy {
  display: flex;
  flex-direction: column;
}

.brand-copy strong {
  font-size: 18px;
  letter-spacing: 0.02em;
}

.brand-copy small {
  color: rgba(255, 255, 255, 0.56);
  font-size: 9px;
  letter-spacing: 0.18em;
}

.primary-nav {
  align-self: stretch;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-button {
  position: relative;
  height: 100%;
  padding: 0 16px;
  border: 0;
  color: rgba(255, 255, 255, 0.62);
  background: transparent;
  cursor: pointer;
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}

.nav-link {
  display: inline-flex;
  align-items: center;
}

.nav-button::after {
  content: "";
  position: absolute;
  right: 16px;
  bottom: 0;
  left: 16px;
  height: 3px;
  border-radius: 999px 999px 0 0;
  background: var(--blue);
  transform: scaleX(0);
  transition: transform 180ms ease;
}

.nav-button:hover,
.nav-button.is-active {
  color: var(--surface);
}

.nav-button.is-active::after {
  transform: scaleX(1);
}

.mobile-chat-nav {
  display: none;
}

.topbar-meta {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 16px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
}

.system-pulse {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.system-pulse i,
.online-count i,
.connection-status i {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(140, 184, 52, 0.12);
}

.workspace {
  width: min(1800px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 390px);
  gap: 24px;
  padding: 24px 32px 40px;
}

.research-column {
  min-width: 0;
}

.market-hero {
  position: relative;
  overflow: hidden;
  min-height: 300px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: 32px;
  padding: 32px;
  color: var(--surface);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 45% 100%, rgba(32, 108, 172, 0.32), transparent 42%),
    linear-gradient(135deg, var(--navy), var(--blue-deep));
  box-shadow: 0 18px 44px rgba(11, 31, 58, 0.14);
}

.market-hero::before,
.market-hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.market-hero::before {
  inset: 0;
  opacity: 0.16;
  background-image:
    linear-gradient(rgba(255,255,255,.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.12) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(to right, transparent, black 45%, transparent);
}

.market-hero::after {
  width: 420px;
  height: 160px;
  right: 28%;
  bottom: -80px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  transform: rotate(-8deg);
}

.hero-copy,
.hero-metrics {
  position: relative;
  z-index: 1;
}

.eyebrow,
.section-kicker {
  color: var(--blue);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.68);
}

.eyebrow span {
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: var(--blue);
}

.hero-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 24px;
}

.hero-title-row p {
  margin: 0 0 4px;
  color: rgba(255, 255, 255, 0.54);
  font-size: 13px;
}

.hero-title-row h1 {
  margin: 0;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.state-orbit {
  position: relative;
  width: 112px;
  height: 112px;
  flex: 0 0 auto;
}

.orbit,
.orbit-core {
  position: absolute;
  inset: 50%;
  display: block;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.orbit-one {
  width: 104px;
  height: 104px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  animation: orbit-spin 12s linear infinite;
}

.orbit-one::after {
  content: "";
  position: absolute;
  top: 8px;
  left: 17px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 14px var(--blue);
}

.orbit-two {
  width: 72px;
  height: 72px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  animation: orbit-spin 8s linear infinite reverse;
}

.orbit-core {
  width: 34px;
  height: 34px;
  background: var(--blue);
  box-shadow: 0 0 32px rgba(32, 108, 172, 0.72);
}

@keyframes orbit-spin {
  from { transform: translate(-50%, -50%) rotate(0); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

.hero-description {
  max-width: 640px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.hero-tags span {
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.68);
  background: rgba(255, 255, 255, 0.05);
  font-size: 11px;
}

.hero-metrics {
  display: grid;
  gap: 12px;
  align-content: center;
}

.hero-metric {
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(12px);
}

.hero-metric span,
.hero-metric small {
  display: block;
  color: rgba(255, 255, 255, 0.56);
  font-size: 11px;
}

.hero-metric strong {
  display: block;
  margin: 4px 0;
  font-size: 26px;
}

.progress-track {
  height: 4px;
  overflow: hidden;
  margin-top: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.progress-track i {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: var(--blue);
  transition: width 500ms ease;
}

.page-view {
  display: none;
}

.page-view.is-active {
  display: block;
}

.section-block {
  margin-top: 24px;
  padding: 24px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-xl);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 20px;
}

.section-heading.compact {
  align-items: center;
}

.section-heading h2 {
  margin: 4px 0 0;
  color: var(--navy);
  font-size: 22px;
  line-height: 1.25;
}

.section-heading > p {
  max-width: 480px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  text-align: right;
}

.section-kicker {
  display: block;
}

.evidence-note {
  padding: 5px 9px;
  border-radius: 999px;
  color: var(--blue);
  background: var(--surface-tint);
  font-size: 11px;
  font-weight: 700;
}

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

.market-position-strip,
.fund-overview-grid,
.freshness-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.metric-pill {
  min-width: 0;
  padding: 12px 14px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  background: var(--background);
}

.metric-pill span,
.metric-pill strong {
  display: block;
}

.metric-pill span {
  color: var(--soft);
  font-size: 10px;
}

.metric-pill strong {
  overflow: hidden;
  margin-top: 4px;
  color: var(--navy);
  font-size: 15px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.metric-pill strong.is-positive { color: var(--danger); }
.metric-pill strong.is-negative { color: var(--success); }

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

.compact-metric-card {
  padding: 14px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.compact-metric-card span,
.compact-metric-card strong {
  display: block;
}

.compact-metric-card span {
  color: var(--muted);
  font-size: 11px;
}

.compact-metric-card strong {
  margin-top: 5px;
  color: var(--navy);
  font-size: 18px;
}

.compact-metric-card strong.is-positive { color: var(--danger); }
.compact-metric-card strong.is-negative { color: var(--success); }

.compact-metric-card i {
  display: block;
  height: 4px;
  overflow: hidden;
  margin-top: 10px;
  border-radius: 999px;
  background: var(--line-soft);
}

.compact-metric-card b {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--blue);
}

.index-card {
  position: relative;
  overflow: hidden;
  min-height: 148px;
  padding: 18px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, var(--surface), var(--surface-tint));
}

.index-card::after {
  content: "";
  position: absolute;
  right: -28px;
  bottom: -34px;
  width: 120px;
  height: 90px;
  border: 1px solid rgba(32, 108, 172, 0.16);
  border-radius: 50%;
}

.index-card header,
.index-values,
.stock-name-line,
.industry-card-header,
.industry-metrics,
.dialog-probability-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.index-card header strong {
  color: var(--navy);
  font-size: 16px;
}

.index-card header span {
  color: var(--soft);
  font-size: 10px;
}

.index-values {
  align-items: flex-end;
  margin-top: 28px;
}

.index-value span,
.index-value small {
  display: block;
}

.index-value span {
  color: var(--soft);
  font-size: 10px;
}

.index-value strong {
  display: block;
  margin-top: 3px;
  font-size: 22px;
}

.is-positive { color: var(--danger); }
.is-negative { color: var(--success); }
.is-neutral { color: var(--soft); }

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

.phase-item {
  padding: 16px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  background: var(--background);
}

.phase-item header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.phase-item header span {
  color: var(--muted);
  font-size: 12px;
}

.phase-item header strong {
  color: var(--navy);
  font-size: 18px;
}

.phase-bar {
  height: 5px;
  overflow: hidden;
  margin-top: 12px;
  border-radius: 999px;
  background: var(--line-soft);
}

.phase-bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--blue);
}

.style-horizon-grid,
.evidence-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.style-horizon-card,
.evidence-card,
.concentration-panel,
.freshness-panel {
  padding: 18px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  background: var(--background);
}

.style-horizon-card header,
.evidence-card header,
.concentration-panel > header,
.freshness-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.style-horizon-card header span,
.evidence-card header strong,
.concentration-panel header strong,
.freshness-panel strong {
  color: var(--navy);
  font-weight: 750;
}

.style-horizon-card header small,
.evidence-card header span,
.concentration-panel header span {
  color: var(--soft);
  font-size: 10px;
}

.style-bars {
  margin-top: 14px;
}

.style-bars > div {
  display: grid;
  grid-template-columns: 42px 1fr 48px;
  align-items: center;
  gap: 10px;
  margin-top: 9px;
  color: var(--muted);
  font-size: 11px;
}

.style-bars i {
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--line-soft);
}

.style-bars b {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--blue);
}

.style-bars strong {
  color: var(--navy);
  font-size: 12px;
  text-align: right;
}

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

.size-segment-card {
  padding: 15px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.size-segment-card header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line-soft);
}

.size-segment-card header strong { color: var(--navy); }
.size-segment-card header span { color: var(--muted); font-size: 11px; }
.size-segment-card > div { margin-top: 9px; color: var(--muted); font-size: 11px; }

.fund-overview-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 0;
}

.concentration-panel {
  margin-top: 14px;
}

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

.concentration-grid article {
  display: grid;
  gap: 5px;
  padding: 13px;
  border-radius: var(--radius-md);
  background: var(--surface);
}

.concentration-grid article strong { color: var(--blue-deep); font-size: 12px; }
.concentration-grid article span { color: var(--muted); font-size: 10px; }

.evidence-list {
  display: grid;
  gap: 9px;
  margin-top: 14px;
}

.evidence-list > div:not(.metric-pill) {
  display: grid;
  grid-template-columns: minmax(150px, 1fr) auto;
  gap: 3px 12px;
  padding: 10px 12px;
  border-radius: var(--radius-md);
  background: var(--surface);
}

.evidence-list > div > span { color: var(--muted); font-size: 11px; }
.evidence-list > div > strong { color: var(--navy); font-size: 12px; }
.evidence-list > div > small { grid-column: 1 / -1; color: var(--soft); font-size: 9px; }

.freshness-panel {
  align-items: flex-start;
  margin-top: 14px;
}

.freshness-panel p {
  max-width: 360px;
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 11px;
}

.freshness-list {
  flex: 1;
  grid-template-columns: repeat(3, minmax(120px, 1fr));
  margin-top: 0;
}

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

.industry-focus-card {
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.industry-card-header {
  align-items: flex-start;
  padding: 18px;
  background: var(--surface-tint);
  border-bottom: 1px solid var(--line-soft);
}

.industry-rank {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  color: var(--surface);
  background: var(--blue);
  font-size: 12px;
  font-weight: 800;
}

.industry-card-header h3 {
  flex: 1;
  margin: 2px 0 0;
  color: var(--navy);
  font-size: 17px;
}

.industry-card-header strong {
  color: var(--danger);
  font-size: 15px;
}

.industry-metrics {
  flex-wrap: wrap;
  padding: 10px 18px;
  color: var(--muted);
  border-bottom: 1px solid var(--line-soft);
  font-size: 10px;
}

.industry-stock-list {
  margin: 0;
  padding: 4px 18px 12px;
  list-style: none;
}

.industry-stock-list li {
  padding: 11px 0;
  border-bottom: 1px solid var(--line-soft);
}

.industry-stock-list li:last-child {
  border-bottom: 0;
}

.stock-name-line strong {
  color: var(--navy);
  font-size: 13px;
}

.stock-name-line span {
  color: var(--soft);
  font-size: 10px;
}

.stock-evidence-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-top: 5px;
  color: var(--muted);
  font-size: 10px;
}

.research-boundary {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
  padding: 20px 24px;
  border: 1px solid rgba(32, 108, 172, 0.16);
  border-radius: var(--radius-lg);
  background: var(--surface-tint);
}

.boundary-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-md);
  color: var(--surface);
  background: var(--blue);
  font-weight: 800;
}

.research-boundary strong {
  color: var(--navy);
}

.research-boundary p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.research-boundary a {
  color: var(--blue);
  font-size: 12px;
  font-weight: 750;
  text-decoration: none;
}

.search-field {
  min-width: 300px;
  height: 42px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.search-field:focus-within {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(32, 108, 172, 0.1);
}

.search-field svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--soft);
  stroke-width: 1.8;
  stroke-linecap: round;
}

.search-field input {
  width: 100%;
  border: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
}

.compact-search {
  min-width: 220px;
}

.stock-result-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin: -8px 0 14px;
  color: var(--soft);
  font-size: 11px;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: -6px 0 20px;
}

.filter-row label {
  min-width: 150px;
  display: grid;
  gap: 4px;
}

.filter-row label span {
  color: var(--soft);
  font-size: 9px;
}

.filter-row select,
.filter-row button {
  min-height: 36px;
  padding: 0 10px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.filter-row button {
  align-self: end;
  color: var(--blue);
  cursor: pointer;
}

.table-shell {
  overflow-x: auto;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
}

.research-table {
  width: 100%;
  min-width: 860px;
  border-collapse: collapse;
  background: var(--surface);
  font-size: 12px;
}

.industry-table,
.stock-table {
  min-width: 1320px;
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 16px;
}

.pagination button {
  min-width: 34px;
  min-height: 34px;
  padding: 0 10px;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  cursor: pointer;
}

.pagination button.is-active {
  color: var(--surface);
  border-color: var(--blue);
  background: var(--blue);
}

.pagination button:disabled {
  opacity: 0.45;
  cursor: default;
}

.pagination span {
  color: var(--soft);
  font-size: 11px;
}

.research-table th {
  padding: 12px 14px;
  color: var(--navy);
  background: var(--surface-tint);
  border-bottom: 1px solid var(--line);
  font-weight: 750;
  text-align: left;
  white-space: nowrap;
}

.research-table td {
  height: 52px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line-soft);
  color: var(--ink);
}

.research-table td.is-positive { color: var(--danger); }
.research-table td.is-negative { color: var(--success); }
.research-table td.is-neutral { color: var(--soft); }

.research-table tbody tr {
  transition: background 140ms ease;
}

.research-table tbody tr:hover {
  background: var(--surface-tint);
}

.stock-table tbody tr {
  cursor: pointer;
}

.table-primary {
  display: block;
  color: var(--navy);
  font-weight: 750;
}

.table-secondary {
  display: block;
  margin-top: 2px;
  color: var(--soft);
  font-size: 10px;
}

.research-badge {
  display: inline-flex;
  padding: 4px 9px;
  border-radius: 999px;
  color: var(--blue);
  background: rgba(32, 108, 172, 0.1);
  font-size: 10px;
  font-weight: 750;
}

.research-badge.is-risk {
  color: var(--danger);
  background: rgba(180, 35, 24, 0.1);
}

.chat-panel {
  position: sticky;
  top: 96px;
  height: calc(100vh - 120px);
  min-height: 620px;
  display: grid;
  grid-template-rows: auto auto auto minmax(0, 1fr) auto auto auto;
  overflow: hidden;
  border: 1px solid rgba(216, 224, 234, 0.18);
  border-radius: var(--radius-xl);
  color: var(--surface);
  background: var(--navy);
  box-shadow: 0 18px 44px rgba(11, 31, 58, 0.16);
}

.chat-header {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 22px 20px 16px;
  border-bottom: 1px solid rgba(216, 224, 234, 0.12);
}

.chat-header .section-kicker {
  color: rgba(255, 255, 255, 0.42);
}

.chat-header h2 {
  margin: 3px 0 0;
  font-size: 19px;
}

.online-count {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 11px;
}

.chat-close {
  display: none;
  border: 0;
  color: var(--surface);
  background: transparent;
  font-size: 28px;
  cursor: pointer;
}

.public-notice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 12px 16px 0;
  padding: 11px 12px;
  border: 1px solid rgba(32, 108, 172, 0.36);
  border-radius: var(--radius-md);
  color: rgba(255, 255, 255, 0.62);
  background: rgba(32, 108, 172, 0.14);
  font-size: 10px;
}

.public-notice strong {
  color: var(--surface);
}

.public-notice svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  fill: none;
  stroke: var(--blue);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.identity-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
}

.identity-row label {
  flex: 1;
}

.identity-row label span {
  display: block;
  margin-bottom: 5px;
  color: rgba(255, 255, 255, 0.42);
  font-size: 9px;
}

.identity-row input {
  width: 100%;
  height: 34px;
  padding: 0 10px;
  border: 1px solid rgba(216, 224, 234, 0.16);
  border-radius: var(--radius-sm);
  outline: 0;
  color: var(--surface);
  background: rgba(255, 255, 255, 0.06);
  font-size: 11px;
}

.identity-row input:focus {
  border-color: var(--blue);
}

.connection-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding-bottom: 8px;
  color: rgba(255, 255, 255, 0.46);
  font-size: 9px;
  white-space: nowrap;
}

.connection-status.is-offline i {
  background: var(--red);
  box-shadow: 0 0 0 4px rgba(216, 40, 44, 0.12);
}

.message-list {
  min-height: 0;
  overflow-y: auto;
  padding: 4px 16px 16px;
  scrollbar-color: rgba(255,255,255,.14) transparent;
  scrollbar-width: thin;
}

.message-item {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 10px;
  margin-top: 14px;
}

.message-avatar {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: var(--surface);
  background: rgba(255, 255, 255, 0.1);
  font-size: 10px;
  font-weight: 800;
}

.message-item.is-ai .message-avatar {
  background: var(--blue);
}

.message-meta {
  display: flex;
  align-items: center;
  gap: 7px;
  color: rgba(255, 255, 255, 0.42);
  font-size: 9px;
}

.message-meta strong {
  color: rgba(255, 255, 255, 0.76);
  font-size: 10px;
}

.ai-label {
  padding: 1px 5px;
  border-radius: 999px;
  color: var(--surface);
  background: var(--blue);
  font-size: 8px;
  font-weight: 800;
}

.message-body {
  margin: 5px 0 0;
  padding: 9px 11px;
  border: 1px solid rgba(216, 224, 234, 0.1);
  border-radius: 4px var(--radius-md) var(--radius-md) var(--radius-md);
  color: rgba(255, 255, 255, 0.74);
  background: rgba(255, 255, 255, 0.06);
  font-size: 11px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.message-item.is-ai .message-body {
  border-color: rgba(32, 108, 172, 0.34);
  background: rgba(32, 108, 172, 0.18);
}

.chat-empty {
  height: 100%;
  min-height: 180px;
  display: grid;
  place-content: center;
  justify-items: center;
  color: rgba(255, 255, 255, 0.42);
  font-size: 11px;
}

.loading-ring {
  width: 26px;
  height: 26px;
  border: 2px solid rgba(255, 255, 255, 0.12);
  border-top-color: var(--blue);
  border-radius: 50%;
  animation: spin 900ms linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.ai-invite {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px 10px;
}

.ai-invite button {
  padding: 6px 9px;
  border: 1px solid rgba(32, 108, 172, 0.38);
  border-radius: 999px;
  color: var(--surface);
  background: rgba(32, 108, 172, 0.16);
  cursor: pointer;
  font-size: 9px;
}

.ai-invite span {
  color: rgba(255, 255, 255, 0.36);
  font-size: 8px;
}

.composer {
  margin: 0 16px;
  padding: 10px;
  border: 1px solid rgba(216, 224, 234, 0.16);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.06);
}

.composer:focus-within {
  border-color: var(--blue);
}

.composer textarea {
  width: 100%;
  min-height: 48px;
  resize: none;
  border: 0;
  outline: 0;
  color: var(--surface);
  background: transparent;
  font-size: 11px;
}

.composer textarea::placeholder {
  color: rgba(255, 255, 255, 0.32);
}

.composer-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.composer-footer > span {
  color: rgba(255, 255, 255, 0.32);
  font-size: 8px;
}

.composer button {
  height: 30px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 12px;
  border: 0;
  border-radius: var(--radius-sm);
  color: var(--surface);
  background: var(--blue);
  cursor: pointer;
  font-size: 10px;
  font-weight: 750;
}

.composer button:hover {
  background: var(--blue-deep);
}

.composer button svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.chat-disclaimer {
  margin: 8px 16px 14px;
  color: rgba(255, 255, 255, 0.3);
  font-size: 8px;
  text-align: center;
}

.floating-chat-button {
  display: none;
}

.stock-dialog {
  width: min(760px, calc(100% - 32px));
  max-height: calc(100vh - 48px);
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: var(--radius-xl);
  color: var(--ink);
  background: transparent;
  box-shadow: 0 24px 80px rgba(11, 31, 58, 0.22);
}

.stock-dialog::backdrop {
  background: rgba(11, 31, 58, 0.62);
  backdrop-filter: blur(4px);
}

.dialog-shell {
  position: relative;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  padding: 28px;
  background: var(--surface);
}

.dialog-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  color: var(--muted);
  background: var(--surface);
  cursor: pointer;
  font-size: 22px;
}

.dialog-title {
  padding-right: 44px;
}

.dialog-title span {
  color: var(--soft);
  font-size: 11px;
}

.dialog-title h2 {
  margin: 4px 0 0;
  color: var(--navy);
  font-size: 28px;
}

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

.dialog-metric,
.dialog-probability {
  padding: 16px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  background: var(--background);
}

.dialog-metric span,
.dialog-probability span {
  color: var(--soft);
  font-size: 10px;
}

.dialog-metric strong,
.dialog-probability strong {
  display: block;
  margin-top: 4px;
  color: var(--navy);
  font-size: 18px;
}

.dialog-section {
  margin-top: 24px;
}

.dialog-section h3 {
  margin: 0 0 12px;
  color: var(--navy);
  font-size: 16px;
}

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

.dialog-probability-head strong {
  margin: 0;
}

.dialog-probability small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 9px;
}

.dialog-boundary {
  margin-top: 24px;
  padding: 14px 16px;
  border-left: 3px solid var(--blue);
  color: var(--muted);
  background: var(--surface-tint);
  font-size: 11px;
}

.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 80;
  max-width: min(360px, calc(100% - 32px));
  padding: 12px 16px;
  border-radius: var(--radius-md);
  color: var(--surface);
  background: var(--navy);
  box-shadow: var(--shadow-card);
  font-size: 12px;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 160ms ease, transform 160ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.research-page-body {
  min-height: 100vh;
  background: var(--page);
}

.research-topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px 32px;
  color: var(--surface);
  background: rgba(11, 31, 58, 0.97);
  border-bottom: 1px solid rgba(216, 224, 234, 0.16);
  backdrop-filter: blur(14px);
}

.research-topbar-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
}

.secondary-link {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-md);
  color: var(--surface);
  text-decoration: none;
}

.research-document {
  width: min(1220px, calc(100% - 40px));
  margin: 0 auto;
  padding: 28px 0 56px;
}

.research-cover {
  min-height: 330px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  align-items: center;
  gap: 56px;
  padding: 52px 56px;
  color: var(--surface);
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, var(--navy), var(--blue-deep));
  box-shadow: var(--shadow-lg);
}

.research-cover h1 {
  max-width: 720px;
  margin: 22px 0 14px;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.research-cover p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.75;
}

.research-cover-state {
  min-height: 190px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.08);
}

.research-cover-state span,
.research-cover-state small {
  color: rgba(255, 255, 255, 0.6);
}

.research-cover-state strong {
  margin: 14px 0 10px;
  font-size: 36px;
}

.research-section {
  margin-top: 22px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.research-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 22px;
}

.research-section-heading small {
  color: var(--blue);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.research-section-heading h2 {
  margin-top: 7px;
  font-size: 26px;
}

.research-section-heading p {
  max-width: 520px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
  text-align: right;
}

.research-metric-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.research-metric-card,
.research-index-card,
.research-phase-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--page);
}

.research-metric-card {
  display: flex;
  flex-direction: column;
  min-height: 142px;
  padding: 18px;
}

.research-metric-card span,
.research-metric-card small {
  color: var(--muted);
  font-size: 12px;
}

.research-metric-card strong {
  margin: 16px 0 8px;
  color: var(--navy);
  font-size: 26px;
}

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

.research-index-card {
  padding: 18px;
}

.research-index-title,
.research-index-values {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.research-index-title span,
.research-index-values {
  color: var(--muted);
  font-size: 12px;
}

.research-index-values {
  margin-top: 18px;
  color: var(--red);
  font-size: 15px;
  font-weight: 750;
}

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

.research-phase-card {
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: space-between;
  padding: 20px 18px 24px;
}

.research-phase-card i {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 4px;
  background: var(--blue);
}

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

.research-focus-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--page);
}

.research-focus-heading {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
}

.research-focus-heading > span {
  color: var(--blue);
  font-size: 11px;
  font-weight: 800;
}

.research-focus-heading h3 {
  font-size: 19px;
}

.research-focus-heading > strong {
  color: var(--red);
}

.research-focus-card > p {
  margin: 12px 0;
  color: var(--muted);
  font-size: 12px;
}

.research-focus-stocks {
  list-style: none;
}

.research-focus-stocks li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 10px;
  padding: 11px 0;
  border-top: 1px solid var(--line);
}

.research-focus-stocks span,
.research-focus-stocks small {
  color: var(--muted);
  font-size: 11px;
}

.research-focus-stocks small {
  grid-column: 1 / -1;
}

.research-count {
  margin: -8px 0 14px;
  color: var(--muted);
  font-size: 12px;
}

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

.research-chart-card {
  min-width: 0;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.research-chart-card > header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.research-chart-card > header strong,
.research-chart-card > header small {
  display: block;
}

.research-chart-card > header strong {
  color: var(--navy);
  font-size: 15px;
}

.research-chart-card > header small,
.research-chart-card > header > span {
  margin-top: 3px;
  color: var(--soft);
  font-size: 10px;
}

.research-chart-card > header > span {
  white-space: nowrap;
}

.research-chart {
  min-height: 250px;
}

.research-chart svg {
  width: 100%;
  height: auto;
  display: block;
  overflow: visible;
}

.chart-grid-line {
  stroke: var(--line-soft);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}

.chart-axis-label {
  fill: var(--soft);
  font-family: var(--font);
  font-size: 10px;
}

.chart-series-line {
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.research-chart-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  min-height: 22px;
  padding: 4px 4px 0 48px;
  color: var(--muted);
  font-size: 10px;
}

.research-chart-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.research-chart-legend i {
  width: 14px;
  height: 2px;
  border-radius: 2px;
}

.research-chart-empty {
  min-height: 220px;
  display: grid;
  place-items: center;
  margin: 0;
  color: var(--soft);
  font-size: 12px;
}

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

.research-guide-grid article {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--page);
}

.research-guide-grid span {
  color: var(--blue);
  font-size: 11px;
  font-weight: 800;
}

.research-guide-grid h3 {
  margin: 12px 0 8px;
  font-size: 17px;
}

.research-guide-grid p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.research-callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: 22px;
  padding: 26px 30px;
  color: var(--surface);
  border-radius: var(--radius-xl);
  background: var(--navy);
}

.research-callout p {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
}

.research-callout a {
  min-width: 132px;
  padding: 11px 16px;
  border-radius: var(--radius-md);
  color: var(--surface);
  background: var(--blue);
  text-align: center;
  text-decoration: none;
}

.research-footer {
  padding: 22px 20px 38px;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

@media (max-width: 1280px) {
  .topbar {
    grid-template-columns: auto 1fr auto;
  }

  .brand-copy small,
  .system-pulse {
    display: none;
  }

  .workspace {
    grid-template-columns: minmax(0, 1fr) 340px;
    padding-right: 24px;
    padding-left: 24px;
  }

  .market-hero {
    grid-template-columns: 1fr 300px;
  }
}

@media (max-width: 1050px) {
  .topbar {
    padding: 0 20px;
  }

  .workspace {
    display: block;
    padding: 20px 20px 96px;
  }

  .chat-panel {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 60;
    width: min(420px, 100%);
    height: 100dvh;
    min-height: 0;
    border-radius: var(--radius-xl) 0 0 var(--radius-xl);
    transform: translateX(102%);
    transition: transform 220ms ease;
  }

  .chat-panel.is-open {
    transform: translateX(0);
  }

  .chat-close {
    display: block;
  }

  .chat-header {
    grid-template-columns: 1fr auto auto;
  }

  .mobile-chat-nav {
    display: block;
  }

  .floating-chat-button {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 50;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 48px;
    padding: 0 16px;
    border: 0;
    border-radius: 999px;
    color: var(--surface);
    background: var(--navy);
    box-shadow: 0 12px 34px rgba(11, 31, 58, 0.24);
    cursor: pointer;
    font-size: 12px;
    font-weight: 750;
  }

  .floating-chat-button small {
    color: rgba(255, 255, 255, 0.52);
    font-size: 9px;
    font-weight: 500;
  }

  .floating-pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 0 5px rgba(140, 184, 52, 0.12);
  }

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

  .research-focus-grid,
  .research-guide-grid,
  .research-chart-grid {
    grid-template-columns: 1fr;
  }

  .fund-overview-grid,
  .market-position-strip,
  .freshness-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .topbar {
    min-height: 64px;
    grid-template-columns: auto 1fr;
    gap: 12px;
    padding: 0 16px;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
  }

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

  .topbar-meta {
    display: none;
  }

  .primary-nav {
    justify-self: end;
    gap: 0;
  }

  .nav-button {
    width: 30px;
    height: 38px;
    overflow: hidden;
    padding: 0;
    color: transparent;
    border-radius: var(--radius-md);
  }

  .nav-button:hover,
  .nav-button.is-active {
    color: transparent;
  }

  .nav-button::before {
    content: "总";
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: rgba(255, 255, 255, 0.68);
    font-size: 12px;
  }

  .nav-button[data-view="industries"]::before { content: "业"; }
  .nav-button[data-view="stocks"]::before { content: "股"; }
  .nav-link::before { content: "全"; }
  .mobile-chat-nav::before { content: "聊"; }
  .nav-button.is-active::before { color: var(--surface); }
  .nav-button::after { right: 5px; left: 5px; }

  .workspace {
    padding: 16px 16px 88px;
  }

  .market-hero {
    min-height: 0;
    display: block;
    padding: 24px 20px;
    border-radius: var(--radius-lg);
  }

  .hero-title-row {
    align-items: flex-end;
  }

  .hero-title-row h1 {
    font-size: 36px;
  }

  .state-orbit {
    width: 80px;
    height: 80px;
  }

  .orbit-one { width: 76px; height: 76px; }
  .orbit-two { width: 52px; height: 52px; }
  .orbit-core { width: 24px; height: 24px; }

  .hero-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-top: 24px;
  }

  .hero-metric {
    padding: 12px 10px;
  }

  .hero-metric strong {
    font-size: 18px;
  }

  .hero-metric small {
    display: none;
  }

  .section-block {
    margin-top: 16px;
    padding: 18px 16px;
    border-radius: var(--radius-lg);
  }

  .section-heading,
  .section-heading.compact,
  .stock-heading {
    display: block;
  }

  .section-heading > p {
    margin-top: 8px;
    text-align: left;
  }

  .evidence-note {
    display: inline-flex;
    margin-top: 8px;
  }

  .index-grid,
  .industry-focus-grid,
  .dialog-grid,
  .style-horizon-grid,
  .evidence-layout,
  .size-segment-grid,
  .concentration-grid {
    grid-template-columns: 1fr;
  }

  .compact-metric-grid,
  .market-position-strip,
  .fund-overview-grid,
  .freshness-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .freshness-panel {
    display: block;
  }

  .freshness-list {
    margin-top: 14px;
  }

  .filter-row label {
    min-width: calc(50% - 5px);
    flex: 1;
  }

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

  .research-boundary {
    grid-template-columns: auto 1fr;
    padding: 16px;
  }

  .research-boundary a {
    grid-column: 2;
  }

  .search-field,
  .compact-search {
    width: 100%;
    min-width: 0;
    margin-top: 14px;
  }

  .stock-result-meta {
    display: block;
  }

  .stock-result-meta span {
    display: block;
    margin-top: 4px;
  }

  .floating-chat-button {
    right: 16px;
    bottom: 16px;
  }

  .chat-panel {
    width: 100%;
    border-radius: 0;
  }

  .dialog-shell {
    padding: 24px 18px;
  }

  .research-topbar {
    min-height: 64px;
    padding: 10px 16px;
  }

  .research-topbar-actions > span {
    display: none;
  }

  .research-topbar .brand-copy small {
    display: none;
  }

  .research-document {
    width: calc(100% - 32px);
    padding-top: 16px;
  }

  .research-cover {
    display: block;
    min-height: 0;
    padding: 28px 22px;
    border-radius: var(--radius-lg);
  }

  .research-cover h1 {
    font-size: 36px;
  }

  .research-cover-state {
    min-height: 0;
    margin-top: 24px;
  }

  .research-section {
    margin-top: 16px;
    padding: 20px 16px;
    border-radius: var(--radius-lg);
  }

  .research-section-heading,
  .research-section-heading-search {
    display: block;
  }

  .research-section-heading p {
    margin-top: 8px;
    text-align: left;
  }

  .research-metric-grid,
  .research-index-grid {
    grid-template-columns: 1fr;
  }

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

  .research-chart-card {
    padding: 16px 10px 14px;
  }

  .research-chart-card > header {
    padding: 0 6px;
  }

  .research-chart {
    min-height: 220px;
  }

  .research-chart-legend {
    padding-left: 40px;
  }

  .research-callout {
    display: block;
  }

  .research-callout a {
    display: inline-flex;
    margin-top: 18px;
  }
}

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