:root {
  --v5-panel: #0c1829;
  --v5-panel-soft: #0a1524;
  --v5-line: rgba(104, 139, 184, 0.24);
  --v5-blue: #62a8f7;
  --v5-red: #ff687d;
  --v5-green: #41d4a4;
  --v5-orange: #ff9a4d;
}

.v5-research-launcher {
  border-top: 1px solid var(--line);
  margin-top: 24px;
  padding-top: 16px;
}

.v5-research-launcher h2 {
  font-size: 20px;
  font-weight: 500;
  margin: 4px 0 12px;
}

.v5-launcher-head {
  align-items: flex-start;
}

.v5-launcher-head .section-info-button {
  margin-top: 2px;
}

.v5-launcher-grid {
  display: grid;
  gap: 8px;
  grid-auto-columns: minmax(120px, 30vw);
  grid-auto-flow: column;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  padding-bottom: 4px;
  scroll-snap-type: inline proximity;
  scrollbar-width: none;
}

html[data-market="us"] .v5-launcher-grid {
  grid-auto-flow: initial;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  overflow-x: visible;
}

.v5-launcher-grid::-webkit-scrollbar,
.v5-workspace-tabs::-webkit-scrollbar,
.v5-etf-picker::-webkit-scrollbar,
.v5-etf-date-picker::-webkit-scrollbar {
  display: none;
}

.v5-launcher-grid button {
  background: var(--v5-panel-soft);
  border: 1px solid var(--v5-line);
  border-radius: 12px;
  color: var(--text-primary, #e9f0fa);
  min-width: 0;
  padding: 12px 4px;
  scroll-snap-align: start;
}

.v5-launcher-grid span,
.v5-launcher-grid small {
  display: block;
  font-weight: 400;
}

.v5-launcher-grid .v5-launcher-label {
  align-items: baseline;
  display: flex;
  gap: 5px;
  justify-content: center;
  min-width: 0;
}

.v5-launcher-label em {
  color: var(--text-muted, #71839d);
  font-size: 9px;
  font-style: normal;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.v5-launcher-label em::before {
  background: #71839d;
  border-radius: 50%;
  content: "";
  display: inline-block;
  height: 5px;
  margin-right: 3px;
  vertical-align: 1px;
  width: 5px;
}

.v5-launcher-label em.current {
  color: var(--v5-green);
}

.v5-launcher-label em.current::before {
  background: var(--v5-green);
}

.v5-launcher-label em.stale {
  color: var(--v5-orange);
}

.v5-launcher-label em.stale::before {
  background: var(--v5-orange);
}

.v5-launcher-grid span {
  font-size: 13px;
}

.v5-launcher-grid small {
  color: var(--text-muted, #71839d);
  font-size: 10px;
  margin-top: 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.v5-workspace-open {
  overflow: hidden;
}

.v5-workspace[hidden] {
  display: none;
}

.v5-workspace {
  background: #07111e;
  color: var(--text-primary, #e9f0fa);
  inset: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: max(12px, env(safe-area-inset-top)) max(12px, env(safe-area-inset-right))
    max(24px, env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));
  position: fixed;
  z-index: 80;
}

.v5-workspace-head {
  align-items: center;
  background: rgba(7, 17, 30, 0.94);
  display: grid;
  gap: 8px;
  grid-template-columns: 36px minmax(0, 1fr) auto 32px;
  margin: -12px -12px 0;
  padding: max(12px, env(safe-area-inset-top)) 12px 12px;
  position: sticky;
  top: -12px;
  z-index: 4;
}

.v5-share-button {
  align-items: center;
  background: rgba(20, 52, 91, 0.46);
  border: 1px solid rgba(98, 168, 247, 0.42);
  border-radius: 10px;
  color: var(--v5-blue);
  display: inline-flex;
  height: 32px;
  justify-content: center;
  justify-self: end;
  padding: 0;
  width: 32px;
}

.v5-share-button svg {
  fill: none;
  height: 16px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  width: 16px;
}

.v5-share-button:disabled {
  opacity: 0.55;
}

.v5-back {
  background: transparent;
  border: 0;
  color: var(--text-primary, #e9f0fa);
  font-size: 36px;
  font-weight: 400;
  line-height: 1;
  padding: 0;
}

.v5-workspace-head h1 {
  font-size: 22px;
  font-weight: 500;
  line-height: 1.15;
  margin: 2px 0 0;
}

.v5-workspace-head > span {
  align-items: flex-end;
  color: var(--text-muted, #71839d);
  display: flex;
  flex-direction: column;
  font-size: 11px;
  line-height: 1.35;
  max-width: 112px;
  min-width: 0;
  text-align: right;
}

.v5-workspace-head > span > span {
  display: block;
  white-space: nowrap;
}

.v5-page-time {
  color: var(--text-muted, #71839d);
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  line-height: 1.55;
  margin: 8px 0 0;
}

.v5-page-time strong {
  color: var(--text-secondary, #aab8cb);
  font-weight: 400;
}

.v5-source-state.stale {
  color: var(--v5-orange);
}

.v5-etf-freshness-state {
  margin: 8px 0 0;
}

.v5-warning {
  color: var(--v5-orange) !important;
}

.v5-share-exporting {
  --text-muted: #8496af;
  --text-primary: #f1f5fb;
  --text-secondary: #b8c6d8;
  --v5-line: rgba(120, 154, 198, 0.3);
  --v5-panel: #102039;
  --v5-panel-soft: #0e1c30;
  animation: none !important;
  background: #07111e !important;
  filter: none !important;
  height: auto !important;
  inset: auto !important;
  opacity: 1 !important;
  overflow: visible !important;
  position: relative !important;
  transform: none !important;
}

.v5-share-exporting .v5-workspace-head,
.v5-share-exporting .v5-workspace-tabs {
  position: static !important;
}

.v5-share-exporting .v5-workspace-head {
  background: #07111e !important;
  grid-template-columns: 36px minmax(0, 1fr) auto;
  margin-top: 0;
}

.v5-share-exporting .v5-workspace-tabs {
  background: #102139 !important;
}

.v5-share-exporting [data-html2canvas-ignore="true"] {
  display: none !important;
}

.v5-workspace-tabs {
  background: rgba(12, 24, 41, 0.96);
  border: 1px solid var(--v5-line);
  border-radius: 12px;
  display: flex;
  gap: 2px;
  margin: 8px auto 16px;
  max-width: 720px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  padding: 3px;
  position: sticky;
  scroll-snap-type: inline proximity;
  scrollbar-width: none;
  top: 66px;
  z-index: 3;
}

.v5-workspace-tabs button {
  background: transparent;
  border: 0;
  border-radius: 9px;
  color: var(--text-secondary, #aab8cb);
  flex: 0 0 82px;
  font-size: 13px;
  font-weight: 400;
  padding: 9px 4px;
  scroll-snap-align: center;
}

.v5-workspace-tabs button.active {
  background: #2453d4;
  color: #eef5ff;
  font-weight: 500;
}

html[data-market="us"] .v5-workspace-tabs button:not([hidden]) {
  flex: 1 1 50%;
}

.v5-workspace-body {
  margin: 0 auto;
  max-width: 720px;
  padding-bottom: 24px;
}

.v5-loading,
.v5-empty {
  color: var(--text-muted, #71839d);
  font-size: 13px;
  line-height: 1.6;
  padding: 40px 12px;
  text-align: center;
}

.v5-section {
  border-top: 1px solid var(--v5-line);
  margin-top: 20px;
  padding-top: 16px;
  position: relative;
}

.v5-section:first-child {
  border-top: 0;
  margin-top: 0;
  padding-top: 0;
}

.v5-section-head {
  align-items: end;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  margin-bottom: 12px;
}

.v5-section-head h2,
.v5-section-head h3 {
  font-size: 18px;
  font-weight: 500;
  margin: 3px 0 0;
}

.v5-section-head > span,
.v5-section-note {
  color: var(--text-muted, #71839d);
  font-size: 11px;
  line-height: 1.6;
}

.v5-section-head > span {
  align-items: center;
  display: inline-flex;
  gap: 6px;
  justify-content: flex-end;
}

.v5-section-status-dot {
  background: #64748b;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(100, 116, 139, 0.1);
  display: inline-block;
  flex: 0 0 auto;
  height: 6px;
  width: 6px;
}

.v5-section-status-dot.current {
  background: #34d399;
  box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.1);
}

.v5-section-status-dot.stale {
  background: #fb923c;
  box-shadow: 0 0 0 3px rgba(251, 146, 60, 0.1);
}

.v5-section-status-dot.corner {
  position: absolute;
  right: 3px;
  top: 3px;
}

.v5-metric-grid {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
}

.v5-metric {
  background: var(--v5-panel);
  min-width: 0;
  padding: 12px 8px;
}

.v5-metric:first-child {
  border-radius: 12px 0 0 12px;
}

.v5-metric:last-child {
  border-radius: 0 12px 12px 0;
}

.v5-metric span,
.v5-metric small {
  color: var(--text-secondary, #aab8cb);
  display: block;
  font-size: 11px;
  font-weight: 400;
}

.v5-metric strong {
  display: block;
  font-size: clamp(15px, 4.2vw, 18px);
  font-variant-numeric: tabular-nums;
  font-weight: 500;
  margin-top: 6px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.v5-stock-metric-grid {
  gap: 1px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.v5-stock-metric-grid .v5-metric {
  padding-left: 12px;
  padding-right: 12px;
}

.v5-stock-metric-grid .v5-metric:nth-child(1) {
  border-radius: 12px 0 0 0;
}

.v5-stock-metric-grid .v5-metric:nth-child(2) {
  border-radius: 0 12px 0 0;
}

.v5-stock-metric-grid .v5-metric:nth-child(3) {
  border-radius: 0 0 0 12px;
}

.v5-stock-metric-grid .v5-metric:nth-child(4) {
  border-radius: 0 0 12px 0;
}

.v5-stock-metric-grid .v5-metric strong {
  overflow: visible;
  text-overflow: clip;
}

.v5-up {
  color: var(--v5-red) !important;
}

.v5-down {
  color: var(--v5-green) !important;
}

.v5-neutral {
  color: var(--text-primary, #e9f0fa) !important;
}

.v5-bar-list,
.v5-rank-list,
.v5-data-list {
  background: var(--v5-panel-soft);
  border: 1px solid var(--v5-line);
  border-radius: 14px;
  overflow: hidden;
}

.v5-bar-row,
.v5-rank-row,
.v5-data-row {
  align-items: center;
  border-bottom: 1px solid var(--v5-line);
  display: grid;
  gap: 8px;
  min-height: 48px;
  padding: 8px 12px;
}

.v5-bar-row:last-child,
.v5-rank-row:last-child,
.v5-data-row:last-child {
  border-bottom: 0;
}

.v5-bar-row {
  grid-template-columns: minmax(82px, 1fr) minmax(72px, 1.8fr) auto;
}

.v5-bar-row > span:first-child,
.v5-rank-name,
.v5-data-row > span:first-child {
  color: var(--text-secondary, #aab8cb);
  font-size: 13px;
  min-width: 0;
}

.v5-bar-track {
  background: #15263d;
  border-radius: 999px;
  height: 7px;
  overflow: hidden;
}

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

.v5-bar-row strong,
.v5-rank-row strong,
.v5-data-row strong {
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  font-weight: 500;
  text-align: right;
  white-space: nowrap;
}

a.v5-news-row {
  color: inherit;
  text-decoration: none;
}

.v5-news-row > span:first-child {
  display: grid;
  gap: 4px;
}

.v5-news-row > span:first-child b {
  color: var(--text-primary, #e9f0fa);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.45;
}

.v5-news-row > span:first-child small {
  color: var(--text-muted, #71839d);
  font-size: 11px;
}

.v5-news-row > strong {
  color: var(--v5-blue);
}

.v5-rank-row {
  grid-template-columns: 22px minmax(0, 1fr) auto;
}

button.v5-rank-row {
  background: transparent;
  border-left: 0;
  border-right: 0;
  border-top: 0;
  color: inherit;
  text-align: left;
  width: 100%;
}

.v5-rank-number {
  color: var(--v5-blue);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

.v5-rank-name small {
  color: var(--text-muted, #71839d);
  display: block;
  font-size: 10px;
  margin-top: 2px;
}

.v5-segments {
  display: grid;
  gap: 4px;
  grid-auto-columns: 1fr;
  grid-auto-flow: column;
  margin-bottom: 12px;
}

.v5-segments button {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--v5-line);
  color: var(--text-secondary, #aab8cb);
  font-size: 12px;
  font-weight: 400;
  padding: 8px 4px;
}

.v5-segments button.active {
  border-bottom-color: var(--v5-blue);
  color: var(--v5-blue);
}

.v5-hero-number {
  color: var(--v5-red);
  font-size: 30px;
  font-variant-numeric: tabular-nums;
  font-weight: 500;
  margin: 4px 0 12px;
}

.v5-trend {
  height: 92px;
  margin: 8px 0 16px;
  width: 100%;
}

.v5-trend svg {
  height: 100%;
  overflow: visible;
  width: 100%;
}

.v5-trend .grid {
  stroke: rgba(104, 139, 184, 0.16);
  stroke-width: 1;
}

.v5-trend .line {
  fill: none;
  stroke: var(--v5-red);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.v5-heatmap {
  background: var(--v5-line);
  border-radius: 8px;
  height: var(--v5-heat-height, 320px);
  overflow: hidden;
  position: relative;
}

.v5-heat-tile {
  align-items: center;
  border: 1px solid rgba(5, 16, 29, 0.86);
  border-radius: 5px;
  box-sizing: border-box;
  color: #f3f7fc;
  display: flex;
  flex-direction: column;
  font-size: 11px;
  font-weight: 400;
  justify-content: center;
  min-width: 0;
  overflow: hidden;
  position: absolute;
  padding: 6px;
  text-align: center;
}

.v5-heat-tile.compact {
  font-size: 9px;
  padding: 3px;
}

.v5-heat-tile strong {
  font-size: 13px;
  font-weight: 500;
  margin-top: 4px;
}

.v5-heat-tile.compact strong {
  font-size: 10px;
  margin-top: 2px;
}

.v5-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.v5-chip {
  border: 1px solid var(--v5-line);
  border-radius: 999px;
  color: var(--text-secondary, #aab8cb);
  font-size: 11px;
  padding: 6px 10px;
}

.v5-ai-insight {
  background: rgba(40, 83, 137, 0.18);
  border-left: 2px solid var(--v5-blue);
  color: var(--text-secondary, #aab8cb);
  font-size: 13px;
  line-height: 1.6;
  margin-top: 16px;
  padding: 10px 12px;
}

.v5-ai-insight span {
  color: var(--v5-blue);
}

.v5-primary-action {
  background: transparent;
  border: 1px solid rgba(98, 168, 247, 0.7);
  border-radius: 10px;
  color: var(--v5-blue);
  display: block;
  font-size: 13px;
  font-weight: 400;
  margin-top: 16px;
  padding: 11px 12px;
  text-align: center;
  width: 100%;
}

.v5-expand-action {
  background: transparent;
  border: 0;
  color: var(--v5-blue);
  display: block;
  font-size: 13px;
  font-weight: 400;
  margin-top: 8px;
  min-height: 40px;
  padding: 8px 12px;
  text-align: center;
  width: 100%;
}

.v5-stock-search {
  display: grid;
  gap: 8px;
  grid-template-columns: minmax(0, 1fr) auto;
  margin-bottom: 12px;
}

.v5-stock-search input {
  background: var(--v5-panel);
  border: 1px solid var(--v5-line);
  border-radius: 10px;
  color: var(--text-primary, #e9f0fa);
  font-size: 14px;
  font-weight: 400;
  min-width: 0;
  padding: 10px 12px;
}

.v5-stock-search button {
  background: #2453d4;
  border: 0;
  border-radius: 10px;
  color: #eef5ff;
  font-size: 13px;
  padding: 0 16px;
}

.v5-stock-hero {
  align-items: end;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  margin-bottom: 16px;
}

.v5-stock-hero h2 {
  font-size: 22px;
  font-weight: 500;
  margin: 0;
}

.v5-stock-hero p {
  color: var(--text-muted, #71839d);
  font-size: 11px;
  margin: 4px 0 0;
}

.v5-stock-industry-link {
  align-items: center;
  background: transparent;
  border: 0;
  color: var(--v5-blue);
  display: inline-flex;
  font-size: 12px;
  font-weight: 400;
  gap: 4px;
  margin: 2px 0 0;
  min-height: 28px;
  padding: 2px 0;
}

.v5-stock-industry-link span {
  font-size: 16px;
  line-height: 1;
}

.v5-stock-hero strong {
  font-size: 20px;
  font-variant-numeric: tabular-nums;
  font-weight: 500;
}

.v5-shareholding-note {
  margin: 8px 4px 0;
}

.v5-holder-row {
  align-items: start;
  min-height: 64px;
  padding-bottom: 8px;
  padding-top: 8px;
}

button.v5-holder-row {
  background: transparent;
  border-left: 0;
  border-right: 0;
  border-top: 0;
  color: inherit;
  cursor: pointer;
  text-align: left;
  width: 100%;
}

.v5-holder-meta,
.v5-holder-reading {
  display: flex;
  flex-direction: column;
}

.v5-holder-meta {
  gap: 3px;
}

.v5-holder-meta > span {
  color: var(--text-secondary, #aab8cb);
  font-size: 13px;
}

.v5-holder-meta small,
.v5-holder-reading small {
  color: var(--text-muted, #71839d);
  font-size: 11px;
  font-weight: 400;
  line-height: 1.4;
}

.v5-holder-meta small {
  white-space: nowrap;
}

.v5-holder-reading {
  align-items: flex-end;
  gap: 4px;
}

.v5-holder-reading > span {
  font-size: 14px;
}

.v5-chip-history-trigger {
  background: transparent;
  border: 0;
  color: inherit;
  cursor: pointer;
  padding: 0;
  text-align: left;
  width: 100%;
  min-height: 48px;
}

.v5-chip-history-meta {
  align-items: flex-end;
  display: flex;
  flex-direction: column;
  gap: 3px;
  line-height: 1.25;
  white-space: nowrap;
}

.v5-chip-history-meta small {
  color: var(--text-muted, #71839d);
  font-size: 10px;
  font-weight: 400;
}

.v5-chip-history-meta b {
  color: var(--v5-blue);
  font-size: 11px;
  font-weight: 400;
}

.v5-chip-history {
  margin-top: 12px;
}

.v5-chip-history[hidden] {
  display: none;
}

.v5-chip-history-head {
  align-items: end;
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}

.v5-chip-history-head h3 {
  font-size: 16px;
  font-weight: 500;
  margin: 3px 0 0;
}

.v5-chip-history-head > span {
  color: var(--text-muted, #71839d);
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}

.v5-chip-chart {
  background: var(--v5-panel-soft);
  border: 1px solid var(--v5-line);
  border-radius: 14px 14px 0 0;
  overflow: hidden;
  padding: 10px 8px 0;
}

.v5-chip-chart-legend {
  color: var(--text-muted, #71839d);
  display: flex;
  font-size: 10px;
  gap: 14px;
  justify-content: flex-end;
}

.v5-chip-chart-legend span {
  align-items: center;
  display: inline-flex;
  gap: 5px;
}

.v5-chip-chart-legend i {
  background: var(--v5-red);
  display: inline-block;
  height: 7px;
  width: 10px;
}

.v5-chip-chart-legend span:last-child i {
  background: #8b98aa;
  height: 2px;
}

.v5-chip-chart svg {
  display: block;
  height: 180px;
  width: 100%;
}

.v5-chip-chart .zero {
  stroke: rgba(145, 161, 184, 0.5);
  stroke-dasharray: 4 4;
  stroke-width: 1;
}

.v5-chip-chart rect.positive {
  fill: var(--v5-red);
}

.v5-chip-chart rect.negative {
  fill: var(--v5-green);
}

.v5-chip-chart rect.flat {
  fill: #536177;
}

.v5-chip-chart .price {
  fill: none;
  stroke: #a8b2c0;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.v5-holder-chart .holding {
  fill: none;
  stroke: var(--v5-blue);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.v5-holder-chart .holding-dots circle {
  fill: var(--v5-blue);
  stroke: var(--v5-panel-soft);
  stroke-width: 1.2;
}

.v5-holder-chart .v5-chip-chart-legend i {
  background: var(--v5-blue);
  border-radius: 999px;
  height: 2px;
  width: 12px;
}

.v5-chip-chart .dates text {
  fill: var(--text-muted, #71839d);
  font-size: 9px;
  text-anchor: middle;
}

.v5-chip-table-wrap {
  border: 1px solid var(--v5-line);
  border-radius: 0 0 14px 14px;
  overflow-x: auto;
}

.v5-chip-table {
  border-collapse: collapse;
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  table-layout: fixed;
  width: 100%;
}

.v5-chip-table th,
.v5-chip-table td {
  border-bottom: 1px solid var(--v5-line);
  padding: 9px 4px;
  text-align: right;
  white-space: nowrap;
}

.v5-chip-table th {
  color: var(--text-secondary, #aab8cb);
  font-weight: 400;
}

.v5-chip-table th:first-child,
.v5-chip-table td:first-child {
  text-align: left;
  width: 48px;
}

.v5-chip-table tbody tr:last-child td {
  border-bottom: 0;
}

.v5-data-row {
  grid-template-columns: minmax(0, 1fr) auto;
}

.v5-etf-picker {
  display: flex;
  gap: 8px;
  margin: 0 -12px 16px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  padding: 0 12px 4px;
  scroll-padding-inline: 12px;
  scroll-snap-type: inline mandatory;
  scrollbar-width: none;
}

.v5-etf-picker button {
  background: var(--v5-panel-soft);
  border: 1px solid var(--v5-line);
  border-radius: 12px;
  color: var(--text-secondary, #aab8cb);
  flex: 0 0 132px;
  min-height: 58px;
  padding: 9px 10px;
  scroll-snap-align: start;
  text-align: left;
}

.v5-etf-picker button[aria-selected="true"] {
  background: rgba(36, 83, 212, 0.22);
  border-color: rgba(98, 168, 247, 0.72);
  color: var(--text-primary, #e9f0fa);
}

.v5-etf-picker span,
.v5-etf-picker small {
  display: block;
  font-weight: 400;
}

.v5-etf-picker span {
  color: var(--v5-blue);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}

.v5-etf-picker small {
  font-size: 11px;
  margin-top: 3px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.v5-etf-hero {
  align-items: end;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  margin-bottom: 12px;
}

.v5-etf-hero h2 {
  font-size: 20px;
  font-weight: 500;
  margin: 0;
}

.v5-etf-hero p,
.v5-etf-hero > span {
  color: var(--text-muted, #71839d);
  font-size: 11px;
  line-height: 1.5;
  margin: 4px 0 0;
}

.v5-etf-hero > span {
  flex: 0 0 auto;
  text-align: right;
}

.v5-etf-row {
  align-items: center;
  border-bottom: 1px solid var(--v5-line);
  display: grid;
  gap: 8px;
  grid-template-columns: minmax(0, 1fr) auto;
  min-height: 54px;
  padding: 8px 12px;
}

.v5-etf-row:last-child {
  border-bottom: 0;
}

.v5-etf-row > span,
.v5-etf-row > strong {
  font-size: 13px;
  font-weight: 400;
  min-width: 0;
}

.v5-etf-row > span {
  color: var(--text-secondary, #aab8cb);
}

.v5-etf-row > strong {
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.v5-etf-row small {
  color: var(--text-muted, #71839d);
  display: block;
  font-size: 11px;
  font-weight: 400;
  margin-top: 2px;
}

.v5-consensus-list {
  background: var(--v5-panel-soft);
  border: 1px solid var(--v5-line);
  border-radius: 12px;
  overflow: hidden;
}

.v5-consensus-row {
  align-items: center;
  border-bottom: 1px solid var(--v5-line);
  display: grid;
  gap: 10px;
  grid-template-columns: 28px minmax(120px, 1fr) auto minmax(150px, 0.8fr);
  min-height: 58px;
  padding: 9px 12px;
}

.v5-consensus-row:last-child {
  border-bottom: 0;
}

.v5-consensus-row > strong {
  font-weight: 400;
  text-align: right;
}

.v5-consensus-row > strong small {
  color: var(--text-muted, #71839d);
  display: block;
  font-size: 11px;
  font-weight: 400;
  margin-top: 3px;
}

.v5-consensus-etfs {
  color: var(--text-muted, #71839d);
  font-size: 11px;
  line-height: 1.45;
  text-align: right;
}

.v5-etf-change-columns {
  display: grid;
  gap: 12px;
}

.v5-etf-date-picker {
  display: flex;
  gap: 8px;
  margin: 0 0 12px;
  overflow-x: auto;
  scrollbar-width: none;
}

.v5-etf-date-picker button {
  background: transparent;
  border: 1px solid var(--v5-line);
  border-radius: 10px;
  color: var(--text-secondary, #aab8cb);
  flex: 1 0 88px;
  min-height: 46px;
  padding: 7px 10px;
}

.v5-etf-date-picker button[aria-selected="true"] {
  background: rgba(36, 83, 212, 0.18);
  border-color: rgba(98, 168, 247, 0.72);
  color: var(--text-primary, #e9f0fa);
}

.v5-etf-date-picker span,
.v5-etf-date-picker small {
  display: block;
  font-weight: 400;
}

.v5-etf-date-picker span {
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}

.v5-etf-date-picker small {
  color: var(--text-muted, #71839d);
  font-size: 11px;
  margin-top: 2px;
}

.v5-etf-change-state {
  margin: 0 0 12px;
}

.v5-etf-change-state.verified {
  color: var(--text-secondary, #aab8cb);
}

.v5-etf-change-group h3 {
  color: var(--text-secondary, #aab8cb);
  font-size: 13px;
  font-weight: 400;
  margin: 0 0 8px;
}

.v5-source-state {
  background: rgba(113, 131, 157, 0.08);
  border-radius: 10px;
  color: var(--text-muted, #71839d);
  font-size: 11px;
  line-height: 1.6;
  margin-top: 12px;
  padding: 10px 12px;
}

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

.v5-futu-period-row span,
.v5-futu-period-row strong {
  min-width: 0;
}

.v5-futu-period-row b,
.v5-futu-period-row small,
.v5-futu-grid small {
  display: block;
}

.v5-futu-period-row b {
  color: var(--text-primary, #e9f0fa);
  font-size: 13px;
  font-weight: 500;
}

.v5-futu-period-row small,
.v5-futu-grid small {
  color: var(--text-muted, #71839d);
  font-size: 10px;
  font-weight: 400;
  line-height: 1.5;
  margin-top: 3px;
}

@media (max-width: 719px) {
  .v5-futu-grid {
    grid-template-columns: 1fr;
  }

  .v5-consensus-row {
    grid-template-columns: 24px minmax(0, 1fr) auto;
  }

  .v5-consensus-etfs {
    display: none;
  }
}

@media (max-width: 380px) {
  .v5-workspace {
    padding-left: 8px;
    padding-right: 8px;
  }

  .v5-workspace-head {
    gap: 6px;
    grid-template-columns: 32px minmax(78px, 1fr) minmax(0, 88px) 30px;
    margin-left: -8px;
    margin-right: -8px;
    padding-left: 8px;
    padding-right: 8px;
  }

  .v5-workspace-head > span {
    font-size: 10px;
    max-width: 88px;
  }

  .v5-share-button {
    height: 30px;
    width: 30px;
  }

  .v5-launcher-grid small {
    display: none;
  }

  .v5-metric strong {
    font-size: 16px;
  }

  .v5-metric {
    padding-left: 5px;
    padding-right: 5px;
  }

  .v5-stock-metric-grid .v5-metric {
    padding-left: 12px;
    padding-right: 12px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .v5-workspace {
    animation: v5-workspace-enter 180ms ease-out;
  }
}

@keyframes v5-workspace-enter {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
