.top-nav {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.top-nav a {
  color: var(--text-muted);
  text-decoration: none;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 0.9rem;
}

.top-nav a[aria-current="page"] {
  color: var(--text);
  background: var(--surface-2);
  border-color: var(--accent);
}

.section-title {
  margin: 0 0 12px;
  font-size: 1.05rem;
}

.funds-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.fund-add-grid,
.screener-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin-bottom: 14px;
  align-items: end;
}

.check-label {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
}

.search-results {
  margin: 0 0 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.search-hit {
  display: block;
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  padding: 10px 12px;
  cursor: pointer;
}

.search-hit:hover {
  background: var(--surface-2);
}

.search-hit:last-child {
  border-bottom: 0;
}

.hint {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.tabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.tab {
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text-muted);
  border-radius: 999px;
  padding: 8px 12px;
  cursor: pointer;
}

.tab.is-active {
  color: var(--text);
  border-color: var(--accent);
}

.inline-label,
.inline-form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: end;
  margin-bottom: 12px;
}

.inline-label select,
.inline-form input {
  min-width: 160px;
}

.alerts-list {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
}

.alerts-list li {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 10px 12px;
  margin-bottom: 8px;
  background: var(--surface-2);
}

.alerts-list li.unseen {
  border-color: var(--accent);
}

.badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.75rem;
  border: 1px solid var(--border);
}

.badge--new {
  color: var(--positive);
}

.badge--up {
  color: var(--warn);
}

.badge--down,
.badge--exit {
  color: var(--negative);
}

.funds-page .card + .card {
  margin-top: 12px;
}

.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.pipeline-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  margin-bottom: 12px;
  font-size: 0.9rem;
}

.meta-label {
  color: var(--text-muted);
  margin-right: 6px;
}

.signal {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 3px 8px;
  border-radius: 6px;
  border: 1px solid var(--border);
  white-space: nowrap;
}

.signal--strong {
  color: #04140f;
  background: var(--positive);
  border-color: transparent;
}

.signal--watch {
  color: #1a1400;
  background: var(--warn);
  border-color: transparent;
}

.signal--acc {
  color: var(--text);
  background: var(--surface-2);
  border-color: var(--accent);
}

.signal--held {
  color: var(--text-muted);
}

.signal--none {
  color: var(--text-muted);
  opacity: 0.8;
}

.signal--insider {
  color: #041018;
  background: #7dd3fc;
  border-color: transparent;
}

.signal--stats {
  color: var(--text-muted);
  border-style: dashed;
}

.analysis-table td {
  vertical-align: top;
}

.advanced-panel summary {
  cursor: pointer;
  list-style: none;
}

.advanced-panel summary::-webkit-details-marker {
  display: none;
}

.intel-legend ul {
  margin: 8px 0 0;
  padding-left: 18px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.intel-legend li {
  margin-bottom: 4px;
}

.intel-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 12px;
}

.intel-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
}

.intel-card--hot {
  border-color: color-mix(in srgb, var(--positive) 55%, var(--border));
}

.intel-card--warm {
  border-color: color-mix(in srgb, var(--warn) 55%, var(--border));
}

.intel-card__head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.intel-card__title {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 4px;
}

.intel-card__name {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.intel-card__price {
  text-align: right;
}

.price-now {
  font-size: 1.35rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}

.now-price {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}

.now-price__label {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  font-weight: 600;
}

.now-price--inline {
  align-items: flex-start;
}

.px-moves {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin: 6px 0 2px;
  align-items: flex-end;
}

.px-moves--compact {
  gap: 6px 10px;
  justify-content: flex-end;
}

.px-move {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 3.2rem;
}

.px-move__label {
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  font-weight: 700;
}

.px-move__value {
  font-variant-numeric: tabular-nums;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.2;
}

.px-move__sub {
  font-size: 0.62rem;
  color: var(--text-muted);
  font-weight: 600;
}

.px-move--vol .px-move__value {
  font-size: 0.85rem;
}

.discovery-card__price .px-moves {
  margin-top: 4px;
}

.oi-now-line {
  margin: 4px 0 8px;
  font-size: 0.95rem;
}

.oi-now-line strong {
  font-size: 1.15rem;
  font-variant-numeric: tabular-nums;
}

.intel-summary {
  margin: 12px 0;
  font-size: 1rem;
  line-height: 1.45;
}

.verdict-pill,
.score-pill {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid var(--border);
}

.verdict--hot {
  background: var(--positive);
  color: #04140f;
  border-color: transparent;
}

.verdict--warm {
  background: var(--warn);
  color: #1a1400;
  border-color: transparent;
}

.verdict--mixed {
  background: var(--surface-2);
  color: var(--text);
}

.verdict--weak {
  color: var(--text-muted);
}

.score-pill {
  color: var(--text-muted);
}

.cmp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 8px;
  margin-bottom: 12px;
}

.cmp {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 10px;
}

.cmp__label {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.cmp__value {
  display: block;
  font-size: 1.05rem;
  font-weight: 700;
  margin: 2px 0;
}

.cmp__sub {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.intel-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.intel-cols h4 {
  margin: 0 0 6px;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
}

.intel-cols ul {
  margin: 0;
  padding-left: 18px;
  font-size: 0.92rem;
  line-height: 1.4;
}

.intel-cols li {
  margin-bottom: 6px;
}

.intel-card__foot {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.85rem;
}

.intel-card__foot .btn {
  margin-left: auto;
}

.year-history {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
}

.year-history h4 {
  margin: 0 0 6px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.year-row {
  display: grid;
  grid-template-columns: 110px 1fr minmax(140px, auto);
  gap: 8px;
  align-items: center;
  margin-bottom: 6px;
  font-size: 0.8rem;
}

.year-row__label {
  display: flex;
  gap: 6px;
  align-items: center;
  font-weight: 600;
}

.year-bias {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--text-muted);
}

.year-bias--acquisto {
  color: #04140f;
  background: var(--positive);
  border-color: transparent;
}

.year-bias--vendita {
  color: #2a0a12;
  background: var(--negative);
  border-color: transparent;
}

.year-row__bars {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.bar {
  height: 7px;
  border-radius: 4px;
  min-width: 2px;
}

.bar--buy {
  background: var(--positive);
}

.bar--sell {
  background: var(--negative);
  opacity: 0.85;
}

.year-row__nums {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  white-space: nowrap;
}

@media (max-width: 719px) {
  .year-row {
    grid-template-columns: 1fr;
  }
  .year-row__nums {
    justify-content: flex-start;
  }
}

.source-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0 4px;
}

.source-chip {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 140px;
  max-width: 240px;
  padding: 8px 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface-2);
  font-size: 0.78rem;
  line-height: 1.25;
}

.source-chip strong {
  font-size: 0.8rem;
}

.source-chip__link {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.source-chip__found,
.source-chip__extras {
  color: var(--text-muted);
  font-size: 0.72rem;
}

.source-chip__extra {
  color: var(--text-muted);
}

.rebuy-line {
  margin: 8px 0 0;
  color: var(--positive, #1a7f4b);
  font-size: 0.9rem;
  font-weight: 600;
}

.earnings-line {
  margin-top: 6px;
  font-size: 0.82rem;
}

.earnings-line a {
  color: inherit;
  font-weight: 600;
}

.price-charts {
  margin: 14px 0;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #0d1524;
}

.price-charts__head {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 12px;
}

.price-charts__title {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
}

.price-charts__meta {
  margin: 4px 0 0;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.price-charts__now strong {
  display: block;
  font-size: 1.45rem;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}

.price-charts__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  align-items: stretch;
}

.price-charts__grid--compact {
  gap: 10px;
}

.price-charts__grid > .price-chart:only-child {
  grid-column: 1 / -1;
}

.price-chart {
  margin: 0;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #0a101c;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.price-chart--primary {
  border-color: color-mix(in srgb, var(--accent, #3d7cff) 40%, var(--border));
}

.price-chart--context .price-chart__title {
  font-size: 0.95rem;
}

.price-chart--compact .price-chart__title {
  font-size: 0.92rem;
}

.price-chart--compact .price-chart__meta {
  font-size: 0.75rem;
}

.price-chart__delta {
  text-align: right;
}

.price-chart__delta strong {
  display: block;
  font-size: 1.25rem;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}

.price-chart__value--slim {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 12px;
  margin-bottom: 8px;
  padding: 6px 8px;
  border-radius: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 0.85rem;
}

.price-chart__value--slim strong {
  font-size: 1.15rem;
  font-variant-numeric: tabular-nums;
}

@media (max-width: 860px) {
  .price-charts__grid {
    grid-template-columns: 1fr;
  }
}

.price-chart__head {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 10px;
}

.price-chart__title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
}

.price-chart__meta {
  margin: 4px 0 0;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.price-chart__stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(70px, auto));
  gap: 10px 16px;
}

.price-chart__stats .cmp__label {
  display: block;
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.price-chart__summary {
  margin: 0 0 12px;
  padding: 10px 12px;
  border-left: 3px solid var(--accent);
  background: var(--surface);
  color: var(--text);
  font-size: 0.92rem;
  line-height: 1.45;
}

.price-chart__value {
  margin-bottom: 12px;
  padding: 12px;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
}

.price-chart__value-month {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

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

.price-chart__ohlc span {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px;
  border-radius: 8px;
  background: #121a2b;
}

.price-chart__ohlc em {
  font-style: normal;
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.price-chart__ohlc strong {
  font-size: 1.05rem;
  font-variant-numeric: tabular-nums;
}

.price-chart__svg {
  width: 100%;
  height: auto;
  display: block;
  background: #0a101c;
  border-radius: 8px;
  border: 1px solid var(--border);
}

.chart-plot {
  fill: #0a101c;
}

.chart-grid {
  stroke: #2a3a5c;
  stroke-width: 1;
}

.chart-axis {
  fill: #9aa8cc;
  font-size: 11px;
  font-family: var(--font);
}

.chart-axis--strong {
  fill: #eef3ff;
  font-weight: 700;
}

.chart-yearline {
  stroke: #3d7cff;
  stroke-width: 1;
  stroke-opacity: 0.28;
  stroke-dasharray: 4 4;
}

.chart-yearlabel {
  fill: #9aa8cc;
  font-size: 12px;
  font-weight: 700;
}

.trend-line {
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.trend-up .trend-line {
  stroke: #2fd8a3;
}

.trend-down .trend-line {
  stroke: #ff8a9d;
}

.trend-up .trend-fill-top {
  stop-color: #2fd8a3;
  stop-opacity: 0.35;
}

.trend-down .trend-fill-top {
  stop-color: #ff8a9d;
  stop-opacity: 0.35;
}

.trend-fill-bottom {
  stop-color: #0a101c;
  stop-opacity: 0.05;
}

.trend-hit {
  fill: transparent;
  cursor: crosshair;
}

.trend-hit:hover,
.trend-hit.is-active,
.trend-hit:focus {
  fill: rgba(61, 124, 255, 0.1);
  outline: none;
}

.trend-cursor-x {
  stroke: #eef3ff;
  stroke-width: 1;
  stroke-dasharray: 3 3;
  opacity: 0.7;
}

.trend-up .trend-cursor-dot {
  fill: #2fd8a3;
  stroke: #0a101c;
  stroke-width: 2;
}

.trend-down .trend-cursor-dot {
  fill: #ff8a9d;
  stroke: #0a101c;
  stroke-width: 2;
}

.chart-mark circle {
  stroke: #0a101c;
  stroke-width: 2;
}

.chart-mark text {
  font-size: 11px;
  font-weight: 700;
  fill: #eef3ff;
}

.mark-high circle {
  fill: #2fd8a3;
}

.mark-low circle {
  fill: #ff8a9d;
}

.mark-now circle {
  fill: #3d7cff;
}

.price-chart__close-big {
  margin: 4px 0 10px;
}

.price-chart__close-big strong {
  display: block;
  font-size: 1.6rem;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}

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

.price-chart__table {
  margin-top: 4px;
  font-variant-numeric: tabular-nums;
}

.price-chart__table caption {
  text-align: left;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}

.price-chart__table .row-up td:nth-child(5) {
  color: #2fd8a3;
}

.price-chart__table .row-down td:nth-child(5) {
  color: #ff8a9d;
}

@media (max-width: 719px) {
  .price-chart__ohlc {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .price-chart__stats {
    grid-template-columns: repeat(2, minmax(70px, auto));
  }
}

.source-chip--good {
  border-color: color-mix(in srgb, var(--positive, #1a7f4b) 45%, var(--border));
}

.score-pill--split {
  background: #1a2436;
  color: #9db4d0;
  font-weight: 600;
}

.source-chip--bad {
  border-color: color-mix(in srgb, var(--negative, #b42318) 45%, var(--border));
}

.conflict-line {
  margin: 8px 0 0;
  color: var(--warn, #9a6700);
  font-size: 0.9rem;
}

.discovery-panel {
  margin-bottom: 16px;
}

.discovery-panel__head {
  margin-bottom: 10px;
}

.discovery-list {
  display: grid;
  gap: 12px;
}

.discovery-card {
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface-2);
}

.currency-pill {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 7px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  vertical-align: middle;
}

.currency-pill--usd {
  background: color-mix(in srgb, #2fd8a3 18%, transparent);
  color: #2fd8a3;
  border: 1px solid color-mix(in srgb, #2fd8a3 40%, transparent);
}

.currency-pill--fx {
  background: color-mix(in srgb, #f0b429 22%, transparent);
  color: #f0b429;
  border: 1px solid color-mix(in srgb, #f0b429 50%, transparent);
}

.currency-warn {
  margin: 8px 0;
  padding: 8px 10px;
  border-left: 3px solid #f0b429;
  background: color-mix(in srgb, #f0b429 12%, transparent);
  color: var(--text);
  font-size: 0.9rem;
}

.discovery-card__top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.discovery-card__actions {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.pearl-focus {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 10px 0;
  padding: 10px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #0a101c;
}

.pearl-focus .cmp__label {
  display: block;
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.pearl-focus strong {
  font-size: 1.05rem;
  font-variant-numeric: tabular-nums;
}

.pearl-actions .btn--primary {
  font-weight: 700;
}

.data-stamp {
  display: inline-block;
  margin-left: 4px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
  opacity: 0.92;
}

.data-stamp--fresh {
  color: #6dcea0;
}

.data-stamp--ok {
  color: #9db4d0;
}

.data-stamp--aging {
  color: #d6b35c;
}

.data-stamp--stale {
  color: #e0897a;
}

.data-stamp--unknown {
  color: #8a94a6;
  font-weight: 500;
}

.oi-block__title .data-stamp,
.hl-panel .oi-block__title .data-stamp {
  margin-left: 8px;
  vertical-align: middle;
}

.source-chip .data-stamp {
  display: block;
  margin: 4px 0 0;
  margin-left: 0;
  line-height: 1.25;
}

.source-chips {
  align-items: stretch;
}

.source-chip {
  overflow: hidden;
  max-width: 100%;
}

.source-chip__found {
  display: block;
  margin-top: 2px;
  line-height: 1.3;
  word-break: break-word;
}

.hl-panel {
  margin: 12px 0;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #0a101c;
}

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

.hl-metric {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hl-metric strong {
  font-variant-numeric: tabular-nums;
  font-size: 0.95rem;
}

@media (max-width: 800px) {
  .hl-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.oi-more {
  margin-top: 8px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #0c1420;
}

.oi-more__summary {
  cursor: pointer;
  list-style: none;
  padding: 8px 12px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #9db4d0;
  user-select: none;
}

.oi-more__summary::-webkit-details-marker {
  display: none;
}

.oi-more[open] .oi-more__summary {
  border-bottom: 1px solid var(--border);
  color: #d6e4f5;
}

.oi-more .table-scroll {
  padding: 8px;
}

.news-panel {
  margin: 12px 0;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #0a101c;
}

.news-list {
  margin: 6px 0 0;
  padding-left: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.news-item__title {
  font-size: 0.9rem;
  line-height: 1.35;
}

.news-link,
.metric-link,
.oi-table a {
  color: #7eb6ff;
  text-decoration: none;
}

.news-link:hover,
.metric-link:hover,
.oi-table a:hover {
  text-decoration: underline;
}

.oi-trades {
  margin: 12px 0 4px;
  display: grid;
  gap: 10px;
}

.oi-block {
  display: grid;
  gap: 6px;
}

.oi-block__title {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.35;
}

.oi-now-line {
  margin: 0;
  font-size: 0.85rem;
}

.oi-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #070c14;
}

.oi-table {
  width: max-content;
  min-width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.78rem;
  table-layout: auto;
}

.oi-table thead th {
  /* no sticky: multiple oi-tables on the page would stack on scroll */
  position: static;
  background: #101826;
  color: var(--text-muted);
  font-size: 0.66rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-align: left;
  padding: 9px 12px;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}

.oi-table thead th.oi-th--num {
  text-align: right;
}

.oi-table tbody td {
  padding: 10px 12px;
  border-bottom: 1px solid color-mix(in srgb, var(--border) 70%, transparent);
  vertical-align: middle;
  line-height: 1.3;
}

.oi-table tbody tr:last-child td {
  border-bottom: none;
}

.oi-table tbody tr:hover td {
  background: rgba(61, 124, 255, 0.05);
}

.oi-cell {
  overflow: visible;
}

.oi-cell--date {
  white-space: nowrap;
  min-width: 7.2rem;
  padding-left: 14px !important;
}

.oi-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  min-width: 0;
}

.oi-stack .oi-date,
.oi-stack .oi-age,
.oi-stack .data-stamp {
  display: block;
  margin: 0;
  max-width: none;
}

.oi-stack .oi-age,
.oi-stack .data-stamp {
  font-size: 0.68rem;
  font-weight: 600;
  line-height: 1.15;
  opacity: 0.88;
}

.oi-cell--type {
  width: 3.4rem;
}

.oi-cell--name {
  min-width: 9rem;
  max-width: 14rem;
}

.oi-cell--role {
  min-width: 4.5rem;
  max-width: 8rem;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
  color: var(--text-muted);
  font-size: 0.76rem;
  line-height: 1.25;
}

.oi-name {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-weight: 600;
  line-height: 1.3;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.oi-date {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  line-height: 1.2;
}

.oi-na {
  color: var(--text-muted);
  font-size: 0.78rem;
}

.oi-cell--num,
.oi-table .num {
  font-variant-numeric: tabular-nums;
  text-align: right;
  white-space: nowrap;
  padding-left: 14px !important;
}

.oi-trade--buy td:first-child {
  box-shadow: inset 3px 0 0 #1f9d55;
}

.oi-trade--sell td:first-child {
  box-shadow: inset 3px 0 0 #c44;
}

.oi-type {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.6rem;
  text-align: center;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 4px 7px;
  border-radius: 4px;
  line-height: 1;
}

.oi-type--buy {
  color: #8dffb0;
  background: rgba(31, 157, 85, 0.2);
}

.oi-type--sell {
  color: #ffb4b4;
  background: rgba(204, 68, 68, 0.22);
}

.oi-table a.oi-date,
.oi-table a.oi-name {
  color: #7eb6ff;
}

.btn--ghost {
  background: transparent;
  border: 1px dashed var(--border);
  color: var(--text-muted);
}

.pearls-explainer__list {
  margin: 0;
  padding-left: 1.2rem;
  line-height: 1.55;
  color: var(--text);
}

.pearls-teaser .btn {
  display: inline-flex;
  margin-top: 8px;
}

@media (max-width: 719px) {
  .pearl-focus {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
