
/* Chart-first dashboard grid (homepage-style cells) */
.bottom-tracker[data-view="charts"] {
  width: min(100% - 1rem, 1400px);
  gap: 0.75rem;
}

.bottom-tracker[data-view="charts"] .pulse-score {
  padding: 0.65rem 0.85rem 0.7rem;
  gap: 0.45rem;
}

.bottom-tracker[data-view="charts"] .pulse-score__number {
  font-size: clamp(1.55rem, 3vw, 1.9rem);
  letter-spacing: -0.025em;
  font-variant-numeric: tabular-nums;
}

.bottom-tracker[data-view="charts"] .pulse-score__band {
  font-size: 0.95rem;
}

.bottom-tracker[data-view="charts"] .pulse-score__meter {
  padding-bottom: 0.95rem;
}

.bottom-tracker[data-view="charts"] .bottom-tracker__lead,
.bottom-tracker[data-view="charts"] .bottom-tracker__score,
.bottom-tracker[data-view="charts"] .pulse-score__legend,
.bottom-tracker[data-view="charts"] .pulse-score__blurb,
.bottom-tracker[data-view="charts"] .pulse-score__levels,
.bottom-tracker[data-view="charts"] .pulse-score__meta,
.bottom-tracker[data-view="charts"] .bottom-tracker__narrative,
.bottom-tracker[data-view="charts"] .bottom-tracker__track,
.bottom-tracker[data-view="charts"] .bottom-tracker__why,
.bottom-tracker[data-view="charts"] .bottom-tracker__signal,
.bottom-tracker[data-view="charts"] .bottom-tracker__note,
.bottom-tracker[data-view="charts"] .bottom-tracker__howto,
.bottom-tracker[data-view="charts"] .bottom-tracker__alert-cta,
.bottom-tracker[data-view="charts"] .bottom-tracker__more,
.bottom-tracker[data-view="charts"] .bottom-tracker__reading,
.bottom-tracker[data-view="charts"] .bottom-tracker__availability,
.bottom-tracker[data-view="charts"] .bottom-tracker__card-title--full,
.bottom-tracker[data-view="charts"] .bottom-tracker__chart + .bottom-tracker__chart,
.bottom-tracker[data-view="charts"] .bottom-tracker__disclaimer,
.bottom-tracker[data-view="charts"] .metric-chart__subscribe,
.bottom-tracker[data-view="charts"] .metric-chart__title,
.bottom-tracker[data-view="charts"] .metric-chart__levels {
  display: none;
}

.bottom-tracker[data-view="charts"] .bottom-tracker__card-title--short {
  display: block;
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.bottom-tracker[data-view="charts"] .bottom-tracker__list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
  align-items: stretch;
}

.bottom-tracker[data-view="charts"] .bottom-tracker__card {
  padding: 0;
  gap: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 17.5rem;
  background: var(--panel-raised);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
}

.bottom-tracker[data-view="charts"] .bottom-tracker__card-top {
  flex: 0 0 auto;
  padding: 0.5rem 0.65rem 0.4rem;
  border-bottom: 1px solid color-mix(in srgb, var(--border) 80%, transparent);
  align-items: center;
}

.bottom-tracker[data-view="charts"] .bottom-tracker__number {
  width: 1.35rem;
  height: 1.35rem;
  font-size: 0.68rem;
}

.bottom-tracker[data-view="charts"] .bottom-tracker__tone {
  padding: 0.14rem 0.45rem;
  font-size: 0.66rem;
}

.bottom-tracker[data-view="charts"] .bottom-tracker__charts {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
  grid-template-columns: 1fr;
  gap: 0;
}

.bottom-tracker[data-view="charts"] .bottom-tracker__chart {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
}

.bottom-tracker[data-view="charts"] .bottom-tracker__chart .metric-chart {
  flex: 1;
  width: 100%;
  min-height: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}

.bottom-tracker[data-view="charts"] .bottom-tracker__chart .metric-chart__header {
  padding: 0.35rem 0.65rem 0.15rem;
}

.bottom-tracker[data-view="charts"] .bottom-tracker__chart .metric-chart__latest-label {
  display: none;
}

.bottom-tracker[data-view="charts"] .bottom-tracker__chart .metric-chart__latest-value {
  font-size: 0.95rem;
}

.bottom-tracker[data-view="charts"] .bottom-tracker__chart .metric-chart__canvas-wrap {
  flex: 1 1 auto;
  height: auto;
  min-height: 12.5rem;
}

.bottom-tracker[data-view="charts"] .bottom-tracker__chart .metric-chart__band-badge {
  top: 0.45rem;
  right: 0.45rem;
  font-size: 0.62rem;
  padding: 0.18rem 0.4rem;
}

.bottom-tracker[data-view="charts"] .metric-chart__tooltip {
  min-width: 0;
  padding: 0.28rem 0.4rem;
}

.bottom-tracker[data-view="charts"] .metric-chart__tooltip-date,
.bottom-tracker[data-view="charts"] .metric-chart__tooltip-level {
  font-size: 0.62rem;
}

.bottom-tracker[data-view="charts"] .metric-chart__tooltip-value {
  font-size: 0.78rem;
}

.bottom-tracker[data-view="charts"] .bottom-tracker__placeholder {
  flex: 1;
  margin: 0.65rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem 0.75rem;
  font-size: 0.8rem;
  border-style: dashed;
}

@media (max-width: 980px) {
  .bottom-tracker[data-view="charts"] .bottom-tracker__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .bottom-tracker[data-view="charts"] .bottom-tracker__list {
    grid-template-columns: 1fr;
  }

  .bottom-tracker[data-view="charts"] .bottom-tracker__card {
    min-height: 15.5rem;
  }

  .bottom-tracker[data-view="charts"] .bottom-tracker__chart .metric-chart__canvas-wrap {
    min-height: 11rem;
  }
}

.bottom-tracker__eyebrow {
  margin: 0;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.bottom-tracker__title {
  margin: 0;
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.bottom-tracker__lead,
.bottom-tracker__score {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.4;
}

.bottom-tracker__score strong {
  color: var(--text);
}

.pulse-score {
  margin: 0;
  padding: 1rem 1.1rem 1.05rem;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--panel-raised);
  display: grid;
  gap: 0.75rem;
}

.pulse-score__top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.55rem 1rem;
}

.pulse-score__kicker {
  margin: 0 0 0.2rem;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.pulse-score__value {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.45rem 0.65rem;
  color: var(--pulse-score-color, var(--text));
}

.pulse-score__number {
  font-size: clamp(2rem, 5vw, 2.65rem);
  font-weight: 650;
  letter-spacing: -0.04em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.pulse-score__band {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.pulse-score__band-range {
  margin-left: 0.35rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 500;
  font-family: var(--mono);
  letter-spacing: 0;
}

.pulse-score__value--empty .pulse-score__band {
  color: var(--muted);
}

.pulse-score__meta {
  margin: 0;
  max-width: 22rem;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.35;
  text-align: right;
}

.pulse-score__meta strong {
  color: var(--text);
}

.pulse-score__meter {
  position: relative;
  padding-bottom: 1.1rem;
}

.pulse-score__track {
  display: flex;
  height: 0.55rem;
  border-radius: 999px;
  overflow: hidden;
  background: color-mix(in srgb, var(--border) 70%, transparent);
}

.pulse-score__segment {
  display: block;
  height: 100%;
  background: color-mix(in srgb, var(--segment-color) 70%, transparent);
}

.pulse-score__marker {
  position: absolute;
  top: -0.2rem;
  width: 0.7rem;
  height: 0.95rem;
  margin-left: -0.35rem;
  border-radius: 2px;
  background: var(--text);
  box-shadow: 0 0 0 2px var(--panel-inset-deep);
}

.pulse-score__scale {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.62rem;
}

.pulse-score__segment--active {
  background: var(--segment-color);
}

.pulse-score__levels {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.7rem;
  list-style: none;
  margin: 0;
  padding: 0;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.3;
}

.pulse-score__levels li {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
}

.pulse-score__levels li span {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  flex: 0 0 auto;
}

.pulse-score__levels li.is-active {
  color: var(--text);
  font-weight: 600;
}

.pulse-score__blurb {
  margin: 0;
  color: var(--text);
  font-size: 0.88rem;
  line-height: 1.4;
}

.pulse-score__legend {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(11.5rem, 1fr));
  gap: 0.35rem 0.75rem;
}

.pulse-score__legend-item {
  display: grid;
  grid-template-columns: 1.1rem minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 0.35rem;
  min-width: 0;
  font-size: 0.74rem;
}

.pulse-score__legend-item--skip {
  opacity: 0.55;
}

.pulse-score__legend-n {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.68rem;
}

.pulse-score__legend-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--text);
}

.pulse-score__legend-pts {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.68rem;
  font-variant-numeric: tabular-nums;
}

@media (max-width: 640px) {
  .pulse-score__meta {
    text-align: left;
    max-width: none;
  }
}

.bottom-tracker__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.bottom-tracker__card {
  margin: 0;
  padding: 1rem 1.1rem 1.15rem;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--panel-raised);
  display: grid;
  gap: 0.55rem;
}

.bottom-tracker__card-top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem 0.75rem;
}

.bottom-tracker__identity {
  display: flex;
  gap: 0.65rem;
  min-width: 0;
}

.bottom-tracker__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--accent);
  font-family: var(--mono);
  font-size: 0.75rem;
  flex: 0 0 auto;
}

.bottom-tracker__card-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.bottom-tracker__availability {
  margin: 0.15rem 0 0;
  font-size: 0.7rem;
  font-family: var(--mono);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.bottom-tracker__availability--live { color: var(--success); }
.bottom-tracker__availability--proxy { color: var(--alert); }
.bottom-tracker__availability--soon { color: var(--muted); }

.bottom-tracker__tone {
  display: inline-flex;
  align-items: center;
  padding: 0.22rem 0.55rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.2;
}

.bottom-tracker__tone--stress {
  color: var(--loss-soft);
  border-color: color-mix(in srgb, var(--loss) 45%, var(--border));
  background: color-mix(in srgb, var(--loss) 12%, transparent);
}

.bottom-tracker__tone--watch {
  color: var(--warning-soft);
  border-color: color-mix(in srgb, var(--alert) 45%, var(--border));
  background: color-mix(in srgb, var(--alert) 12%, transparent);
}

.bottom-tracker__tone--easing {
  color: var(--gain-soft);
  border-color: color-mix(in srgb, var(--gain) 45%, var(--border));
  background: color-mix(in srgb, var(--gain) 12%, transparent);
}

.bottom-tracker__tone--calm,
.bottom-tracker__tone--muted {
  color: var(--muted);
}

.bottom-tracker__reading {
  margin: 0;
  color: var(--accent);
  font-size: 0.88rem;
  font-weight: 500;
}

.bottom-tracker__track,
.bottom-tracker__why,
.bottom-tracker__signal,
.bottom-tracker__note,
.bottom-tracker__disclaimer,
.bottom-tracker__more,

.bottom-tracker__howto {
  margin: 0;
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: color-mix(in srgb, var(--accent) 6%, transparent);
}

.bottom-tracker__howto-summary {
  cursor: pointer;
  list-style: none;
  display: grid;
  gap: 0.2rem;
}

.bottom-tracker__howto-summary::-webkit-details-marker {
  display: none;
}

.bottom-tracker__howto-kicker {
  color: var(--accent);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.bottom-tracker__howto-headline {
  color: var(--text);
  font-size: 0.86rem;
  line-height: 1.35;
}

.bottom-tracker__howto-body {
  display: grid;
  gap: 0.7rem;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
}

.bottom-tracker__howto-what,
.bottom-tracker__howto-regime,
.bottom-tracker__howto-trigger {
  margin: 0;
  color: var(--text);
  font-size: 0.84rem;
  line-height: 1.4;
}

.bottom-tracker__howto-what {
  color: var(--muted);
}


.bottom-tracker__narrative {
  margin: 0;
  padding: 1rem 1.1rem 1.05rem;
  border: 1px solid color-mix(in srgb, var(--accent) 35%, var(--border));
  border-radius: 14px;
  background: color-mix(in srgb, var(--accent) 8%, var(--panel));
  display: grid;
  gap: 0.55rem;
}

.bottom-tracker__narrative-kicker {
  margin: 0;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.bottom-tracker__narrative-body {
  display: grid;
  gap: 0.55rem;
}

.bottom-tracker__narrative-body p {
  margin: 0;
  color: var(--text);
  font-size: 0.92rem;
  line-height: 1.45;
}

.bottom-tracker__narrative-meta {
  margin: 0;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.35;
}

.bottom-tracker__score a {
  color: var(--accent);
  text-decoration: none;
}

.bottom-tracker__score a:hover {
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.bottom-tracker__howto-snapshot {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.45;
}

.bottom-tracker__howto-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.76rem;
}

.bottom-tracker__howto-table caption {
  caption-side: top;
  text-align: left;
  margin-bottom: 0.35rem;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.bottom-tracker__howto-table th,
.bottom-tracker__howto-table td {
  padding: 0.4rem 0.45rem;
  border-top: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
  line-height: 1.35;
}

.bottom-tracker__howto-table th {
  color: var(--muted);
  font-weight: 600;
}

.bottom-tracker__howto-table td:first-child {
  color: var(--text);
  font-weight: 500;
  white-space: nowrap;
}

.bottom-tracker__howto-table td:last-child {
  color: var(--muted);
}

@media (max-width: 700px) {
  .bottom-tracker__howto-table td:first-child {
    white-space: normal;
  }
}

.bottom-tracker__placeholder {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.4;
}

.bottom-tracker__signal-label {
  display: inline-block;
  margin-right: 0.35rem;
  color: var(--text);
  font-weight: 600;
}

.bottom-tracker__note {
  padding: 0.45rem 0.6rem;
  border-left: 2px solid color-mix(in srgb, var(--alert) 55%, var(--border));
  background: color-mix(in srgb, var(--alert) 8%, transparent);
}

.bottom-tracker__charts {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
  min-height: 0;
}

@media (min-width: 900px) {
  .bottom-tracker__charts:has(.bottom-tracker__chart:nth-child(2)) {
    grid-template-columns: 1fr 1fr;
  }
}

.bottom-tracker__chart {
  min-width: 0;
  display: flex;
}

.bottom-tracker__chart .metric-chart {
  flex: 1;
  width: 100%;
  min-height: 22rem;
}

/* Definite canvas height — same fix as indicator pages so charts aren't a flat strip. */
.bottom-tracker__chart .metric-chart__canvas-wrap {
  height: 18rem;
  min-height: 18rem;
}

.bottom-tracker__chart .metric-chart__canvas {
  position: absolute;
  inset: 0;
  height: 100%;
  width: 100%;
}

@media (max-width: 700px) {
  .bottom-tracker__chart .metric-chart {
    min-height: 18rem;
  }

  .bottom-tracker__chart .metric-chart__canvas-wrap {
    height: 14rem;
    min-height: 14rem;
  }
}

.bottom-tracker__placeholder {
  padding: 1.25rem 1rem;
  border: 1px dashed var(--border);
  border-radius: 10px;
  text-align: center;
}

.bottom-tracker__alert-cta {
  --cta-control-height: 2.1rem;
  position: relative;
  margin: 0;
  padding: 0.7rem 0.85rem;
  border: 1px solid color-mix(in srgb, var(--accent) 22%, var(--border));
  border-radius: 12px;
  background:
    radial-gradient(
      120% 140% at 0% 0%,
      color-mix(in srgb, var(--accent) 9%, transparent),
      transparent 60%
    ),
    var(--panel-raised);
  box-shadow: inset 3px 0 0 var(--accent);
  display: grid;
  gap: 0.55rem;
  overflow: hidden;
}

/* Headline and trigger readout share one line until they run out of room. */
.bottom-tracker__alert-cta-copy {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.7rem;
}

.bottom-tracker__alert-cta-title {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.bottom-tracker__alert-cta-icon {
  width: 1.05em;
  height: 1.05em;
  margin-right: 0.1em;
  vertical-align: -0.15em;
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Trigger readout: what price actually fires the alert, and how far away it is. */
.bottom-tracker__alert-cta-triggers {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.bottom-tracker__alert-cta-trigger {
  display: inline-flex;
  align-items: baseline;
  gap: 0.4rem;
  padding: 0.1rem 0.55rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: color-mix(in srgb, var(--bg, var(--field-bg)) 45%, var(--panel));
  font-variant-numeric: tabular-nums;
  line-height: 1.45;
}

.bottom-tracker__alert-cta-trigger-period {
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.bottom-tracker__alert-cta-trigger-level {
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 650;
}

.bottom-tracker__alert-cta-trigger-delta {
  color: var(--muted);
  font-size: 0.75rem;
}

.bottom-tracker__alert-cta-note {
  color: var(--muted);
  font-size: 0.72rem;
}

.bottom-tracker__alert-cta-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.55rem;
}

.bottom-tracker__alert-cta-field-label {
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.bottom-tracker__alert-cta-email {
  flex: 1 1 12rem;
  min-width: 0;
  height: var(--cta-control-height);
  margin: 0;
  padding: 0 0.75rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: color-mix(in srgb, var(--bg, var(--field-bg)) 55%, var(--panel));
  color: var(--text);
  font: inherit;
  font-size: 0.875rem;
  box-sizing: border-box;
}

.bottom-tracker__alert-cta-email:focus {
  outline: 2px solid color-mix(in srgb, var(--accent) 55%, transparent);
  outline-offset: 1px;
  border-color: color-mix(in srgb, var(--accent) 45%, var(--border));
}

.bottom-tracker__alert-cta-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: var(--cta-control-height);
  padding: 0 1rem;
  border: 0;
  border-radius: 8px;
  background: var(--accent);
  color: var(--on-accent);
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  white-space: nowrap;
}

.bottom-tracker__alert-cta-submit:hover {
  filter: brightness(1.08);
}

.bottom-tracker__alert-cta-submit:disabled {
  opacity: 0.55;
  cursor: wait;
}

.bottom-tracker__alert-cta-actions {
  display: inline-grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  align-items: stretch;
  height: var(--cta-control-height);
  gap: 0.15rem;
  padding: 0.2rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: color-mix(in srgb, var(--bg, var(--field-bg)) 40%, var(--panel));
  box-sizing: border-box;
}

.bottom-tracker__alert-cta-share {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0 0 0 auto;
  color: var(--muted);
  font-size: 0.75rem;
  text-decoration: none;
  white-space: nowrap;
}

.bottom-tracker__alert-cta-share-icon {
  width: 0.9em;
  height: 0.9em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.bottom-tracker__alert-cta-share:hover {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.bottom-tracker__alert-cta-share--copied,
.bottom-tracker__alert-cta-share--copied:hover {
  color: var(--accent);
  text-decoration: none;
}

.bottom-tracker__alert-cta-status {
  margin: 0;
  color: var(--accent);
  font-size: 0.78rem;
  line-height: 1.3;
}

.bottom-tracker__alert-cta-status--error {
  color: var(--danger);
}

.bottom-tracker__alert-cta-btn:disabled {
  opacity: 0.55;
  cursor: wait;
}

.bottom-tracker__alert-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3rem;
  height: 100%;
  padding: 0 0.65rem;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  line-height: 1;
  cursor: pointer;
  transition: background-color 120ms ease, color 120ms ease;
}

.bottom-tracker__alert-cta-btn:hover {
  color: var(--text);
  background: color-mix(in srgb, var(--text) 8%, transparent);
}

.bottom-tracker__alert-cta-btn--primary,
.bottom-tracker__alert-cta-btn--primary:hover {
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 16%, transparent);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 45%, transparent);
}

@media (prefers-reduced-motion: reduce) {
  .bottom-tracker__alert-cta-btn {
    transition: none;
  }
}

@media (max-width: 640px) {
  .bottom-tracker__alert-cta-controls {
    width: 100%;
  }

  .bottom-tracker__alert-cta-email {
    flex-basis: 100%;
  }

  .bottom-tracker__alert-cta-submit {
    flex: 1 1 auto;
  }

  .bottom-tracker__alert-cta-share {
    margin-left: 0;
  }
}

.bottom-tracker__chart .metric-chart__subscribe {
  margin-bottom: 0.35rem;
}

.bottom-tracker__more a {
  color: var(--accent);
  text-decoration: none;
}

.bottom-tracker__more a:hover {
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.bottom-tracker__disclaimer {
  margin-top: 0.25rem;
}


/* —— Homepage Scout workspace ———————————————————————————————— */

.home {
  width: 100%;
  max-width: var(--shell-max);
  margin: 0 auto;
  padding: 0 0.3rem 0.4rem;
  box-sizing: border-box;
}

/* Single stacked column: the hero, then (guests only) the watchlist-theme
   chips strip below it. */
.home.home--stacked {
  display: flex;
  flex-direction: column;
  height: auto;
  min-height: 0;
  gap: 0.5rem;
}

/* Signed-in only: the hero plus the "Recently Viewed" panel beside it.
   Symmetric 1fr spacers flank a fixed center column so the chat card lands
   in the same spot on the page whether or not the panel is present — a
   flex-grow hero next to a fixed-width sidebar used to get dragged left by
   however wide the sidebar was, off-center from every other page state.
   min(48rem, 100%) mirrors .scout-hero__stage's own cap (and the 56rem
   bump at the wide breakpoint below) so this column never fights the
   hero's own max-width. */
.home-row {
  display: grid;
  /* Both spacer columns share the same minmax(18rem, 1fr) floor — matching
     .recently-viewed's own width — so they always move in lockstep. A bare
     1fr on the left would look symmetric until the sidebar's real 18rem
     minimum got tight: the grid freezes that column at its minimum and
     dumps every remaining px onto the empty left spacer alone, dragging
     the hero right back off-center (the bug this whole rule exists to
     avoid), instead of shrinking both spacers together. */
  grid-template-columns: minmax(18rem, 1fr) min(48rem, 100%) minmax(18rem, 1fr);
  align-items: start;
  gap: 1rem;
}

.home-row .scout-hero {
  grid-column: 2;
  min-width: 0;
}

.recently-viewed {
  grid-column: 3;
  justify-self: start;
  width: 18rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--hairline, var(--border));
  border-radius: 14px;
  background: var(--panel);
}

.recently-viewed__title {
  margin: 0 0 0.7rem;
  font-size: 0.95rem;
  font-weight: 650;
  letter-spacing: -0.01em;
  color: var(--ink, var(--text));
}

.recently-viewed__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.recently-viewed__item {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 0.5rem;
}

.recently-viewed__link {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.recently-viewed__link:hover .recently-viewed__sym {
  color: var(--accent);
}

.recently-viewed__dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  flex: none;
}

.recently-viewed__id {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.25;
}

.recently-viewed__sym {
  font-family: var(--mono);
  font-size: 0.8rem;
  font-weight: 650;
  color: var(--ink, var(--text));
}

.recently-viewed__name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--ink-faint, var(--muted));
  font-size: 0.7rem;
}

.recently-viewed__spark {
  flex: none;
  color: var(--ink-mute, var(--muted));
}

.recently-viewed__spark.is-up {
  color: var(--gain);
}

.recently-viewed__spark.is-down {
  color: var(--loss);
}

.recently-viewed__spark--empty {
  display: inline-block;
  width: 72px;
  height: 22px;
}

.recently-viewed__stats {
  grid-column: 1 / -1;
  display: flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: 0.4rem;
  font-variant-numeric: tabular-nums;
}

.recently-viewed__price {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink, var(--text));
}

.recently-viewed__chg {
  font-size: 0.72rem;
  font-weight: 600;
}

.recently-viewed__chg.is-up {
  color: var(--gain);
}

.recently-viewed__chg.is-down {
  color: var(--loss);
}

/* 100rem, not the usual tablet-ish cutoff: below this, .home's content area
   can't fit both symmetric minmax(18rem, 1fr) spacer columns at once (see
   .home-row above) without one of them hitting its floor before the other,
   which drags the hero off-center again — the exact bug this whole layout
   exists to avoid. Stacking below that width keeps the hero's position
   simple and correct rather than fighting for a squeeze that doesn't fit. */
@media (max-width: 100rem) {
  .home-row {
    display: flex;
    flex-direction: column;
  }

  .recently-viewed {
    width: 100%;
  }
}

/* Guest-only placement (shared/_watchlist_theme_chips, rendered right below
   the hero) — center it to match the hero's centered composer/chips above
   it, rather than the left-aligned block it defaults to inside the
   Watchlists panel (see watchlists_and_alerts.css for the base rules).
   Also visibly demoted relative to that panel's own styling — this is a
   secondary discovery path on the homepage, not competing with "talk to
   Scout" for the primary action (2026-08-23 feedback pass). Scoped to
   `.home >` so the real Watchlists page keeps its normal weight. */
.home > .watchlists-themes {
  text-align: center;
  margin: 0 0 0.75rem;
}

.home > .watchlists-themes .watchlists-themes__row {
  justify-content: center;
}

.home > .watchlists-themes .watchlists-themes__title {
  font-size: 0.68rem;
  color: var(--ink-faint, var(--muted));
}

.home > .watchlists-themes .watchlists-themes__hint {
  margin-bottom: 0.3rem;
  font-size: 0.74rem;
}

.home > .watchlists-themes .watchlists-themes__chip {
  padding: 0.3rem 0.7rem;
  background: transparent;
  color: var(--ink-mute, var(--muted));
  font-size: 0.74rem;
  font-weight: 500;
}

.home > .watchlists-themes .watchlists-themes__chip:hover {
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 8%, transparent);
}

.scout-hero {
  position: relative;
  display: flex;
  align-items: stretch;
  min-height: 0;
  height: auto;
  padding: 0.35rem 0.1rem 0;
}

.scout-hero__glow {
  display: none;
}

/* Capped like the composer inside it (see .scout-hero__composer below) —
   the same "wide page, narrow readable column" pattern Claude/ChatGPT use,
   rather than letting the card itself stretch edge to edge on a wide
   monitor while the composer floats narrow and centered inside it. */
.scout-hero__stage {
  position: relative;
  z-index: 1;
  box-sizing: border-box;
  width: 100%;
  max-width: 48rem;
  margin: 0 auto;
  height: auto;
  min-height: 32rem;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.65rem;
  padding: 1.1rem 0.95rem;
  overflow-x: hidden;
  overflow-y: auto;
  text-align: center;
  border: 1px solid var(--hairline, var(--border));
  border-radius: 14px;
  background: var(--panel);
}

.scout-hero__thread[hidden],
.scout-hero__status[hidden],
.scout-hero__chips[hidden] {
  display: none !important;
}

/* Empty state: min-height (32rem) now exceeds the content's natural height,
   so there's real leftover space to distribute — centered vertically rather
   than left stacked at the top, so the extra room reads as a bigger, more
   confident card instead of dead air below the composer. */
/* More generous top/side padding and intro spacing than the chatting state
   gets — this is the pre-chat "hero" moment, with a full viewport to breathe
   in; once a thread starts, .home--chatting rules below take over and space
   gets scarce, so that state keeps the tighter base padding instead. */
.home--stacked:not(.home--chatting) .scout-hero__stage {
  justify-content: center;
  padding: 2.75rem 1.5rem 2.25rem;
}

.home--stacked:not(.home--chatting) .scout-hero__intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  flex: 0 0 auto;
  margin-bottom: 0.3rem;
}

.home--stacked:not(.home--chatting) .scout-hero__composer,
.home--stacked:not(.home--chatting) .scout-hero__chips,
.home--stacked:not(.home--chatting) .scout-hero__trust {
  flex: 0 0 auto;
  width: 100%;
}

.scout-hero__eyebrow {
  margin: 0;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.scout-hero__brand {
  margin: 0;
  font-family: var(--font);
  font-size: clamp(1.4rem, 3.2vw, 2.15rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--ink, var(--text));
}

.scout-hero__pitch {
  margin: 0;
  max-width: 26rem;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.5;
}

.scout-hero__composer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.5rem;
  /* center, not end: the send button (2.15rem) is taller than a resting
     single line of text, so bottom-aligning them left the button's top
     edge sitting ~5px above the text's — center keeps both symmetric at
     rest, and still looks fine once the textarea grows a line or two. */
  align-items: center;
  width: 100%;
  padding: 0.55rem 0.55rem 0.55rem 1rem;
  border: 1px solid var(--hairline, var(--border));
  border-radius: 18px;
  background: var(--surface-inset, color-mix(in srgb, var(--bg) 65%, var(--panel)));
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.scout-hero__composer:focus-within {
  border-color: color-mix(in srgb, var(--accent) 45%, var(--hairline, var(--border)));
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22), 0 0 0 3px color-mix(in srgb, var(--accent) 14%, transparent);
}

.scout-hero__input {
  width: 100%;
  min-height: 1.6rem;
  max-height: 6rem;
  margin: 0;
  padding: 0.25rem 0;
  border: 0;
  resize: none;
  background: transparent;
  color: var(--ink, var(--text));
  font: inherit;
  font-size: 0.96rem;
  line-height: 1.4;
}

.scout-hero__input::placeholder {
  color: var(--ink-mute, var(--muted));
}

.scout-hero__input:focus {
  outline: none;
}

.scout-hero__send {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.15rem;
  height: 2.15rem;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: var(--on-accent, #061018);
  cursor: pointer;
}

.scout-hero__send:hover {
  filter: brightness(1.06);
}

.scout-hero__send:disabled {
  opacity: 0.55;
  cursor: default;
  filter: none;
}

.scout-hero__status {
  margin: 0;
  color: var(--loss, #b42318);
  font-size: 0.75rem;
  text-align: left;
}

.scout-hero__chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin: 0.15rem 0 0;
}

.scout-hero__chip {
  margin: 0;
  padding: 0.4rem 0.85rem;
  border: 1px solid var(--hairline, var(--border));
  border-radius: 999px;
  background: color-mix(in srgb, var(--bg) 55%, var(--panel));
  color: var(--ink-soft, var(--text));
  font-size: 0.8rem;
  font-weight: 550;
  letter-spacing: -0.01em;
  cursor: pointer;
}

.scout-hero__chip:hover {
  color: var(--accent);
  border-color: color-mix(in srgb, var(--accent) 40%, var(--hairline, var(--border)));
  background: color-mix(in srgb, var(--accent) 8%, var(--panel));
}

/* Guest-only: trust line, below the composer — see
   welcome/_scout_hero_stage.html.erb's `guest` branch. */
.scout-hero__trust {
  margin: 0.7rem 0 0;
  color: var(--ink-faint, var(--muted));
  font-size: 0.74rem;
  text-align: center;
}

/* Guest-only: ambient glow around the hero, and the quick ticker shortcuts
   below it — see welcome/_ticker_shortcuts. */
.ambient-wrap {
  position: relative;
  padding: 0.75rem 1rem;
}

/* Guest content (trust line + chips) already fills the card on its own —
   the 32rem floor set for the signed-in idle state (which has much less to
   show) just adds dead padding here. Width cap is inherited from the base
   .scout-hero__stage rule above. */
.ambient-wrap .scout-hero__stage {
  min-height: 0;
  gap: 0.5rem;
  padding: 1.25rem 1.5rem 1rem;
}

.ambient-glow {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  border-radius: 24px;
}

.ambient-glow span {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.16;
}

.ambient-glow span:nth-child(1) {
  width: 24rem;
  height: 24rem;
  top: -8rem;
  left: -6rem;
  background: var(--accent);
}

.ambient-glow span:nth-child(2) {
  width: 20rem;
  height: 20rem;
  bottom: -9rem;
  right: -4rem;
  background: var(--gain);
}

/* Secondary to the composer, not competing with it — quieter type, no
   filled background, tighter margin (2026-08-23 feedback pass). */
.ticker-shortcuts {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem;
  max-width: 48rem;
  margin: 0.75rem auto 0;
}

.ticker-shortcuts__label {
  width: 100%;
  text-align: center;
  color: var(--ink-faint, var(--muted));
  font-size: 0.68rem;
  margin-bottom: 0.1rem;
}

.ticker-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.26rem 0.6rem;
  border: 1px solid var(--hairline, var(--border));
  border-radius: 999px;
  background: transparent;
  color: var(--ink-mute, var(--muted));
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  text-decoration: none;
}

.ticker-chip:hover {
  color: var(--accent);
  border-color: color-mix(in srgb, var(--accent) 40%, var(--hairline, var(--border)));
}

.ticker-chip__dot {
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  flex: none;
}

/* Wide viewport (1440px+): a centered 48rem column starts leaving a lot of
   flat, empty margin on either side. Rather than filling that margin with
   new competing UI (a docked sidebar, more cards), grow what's already
   there — a wider column, a bigger glow, slightly larger type — so the
   page reads as "one focused thing, comfortably sized" instead of "a small
   card adrift in a lot of blank space." */
@media (min-width: 90rem) {
  .scout-hero__stage {
    max-width: 56rem;
  }

  .ticker-shortcuts {
    max-width: 56rem;
  }

  .ambient-glow span {
    opacity: 0.2;
  }

  .ambient-glow span:nth-child(1) {
    width: 30rem;
    height: 30rem;
    left: -9rem;
  }

  .ambient-glow span:nth-child(2) {
    width: 26rem;
    height: 26rem;
    right: -7rem;
  }

  .scout-hero__brand {
    font-size: 2.5rem;
  }

  .scout-hero__pitch {
    max-width: 30rem;
    font-size: 1.02rem;
  }
}

@media (max-width: 720px) {
  .ambient-wrap {
    padding: 1rem 0.5rem;
  }
}

/* The real report_requests form, mounted inline in the Ask Scout log when
   Scout proposes create_report — see
   ai_interest_controller.js#mountReportForm. Same fields/endpoint as
   reports/_panel.html.erb's signed-out form, just compact enough for the
   chat log. */
.proof-report-form {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
}

.proof-report-form__ticker {
  padding: 0.35rem 0.55rem;
  border: 1px solid var(--hairline, var(--border));
  border-radius: 6px;
  background: var(--surface-inset, var(--panel));
  color: var(--ink, var(--text));
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.03em;
}

.proof-report-form__email {
  flex: 1 1 9rem;
  min-width: 0;
  padding: 0.35rem 0.55rem;
  border: 1px solid var(--hairline, var(--border));
  border-radius: 6px;
  background: var(--surface-inset, var(--panel));
  color: var(--ink, var(--text));
  font: inherit;
  font-size: 0.72rem;
}

.proof-report-form__email::placeholder {
  color: var(--ink-mute, var(--muted));
}

.proof-report-form__email:focus {
  outline: 2px solid color-mix(in srgb, var(--accent) 55%, transparent);
  outline-offset: 1px;
  border-color: var(--accent);
}

.proof-report-form__submit {
  padding: 0.35rem 0.65rem;
  border: 0;
  border-radius: 6px;
  background: var(--accent);
  color: var(--on-accent, #061018);
  font: inherit;
  font-size: 0.72rem;
  font-weight: 650;
  cursor: pointer;
  white-space: nowrap;
}

.proof-report-form__submit:hover {
  filter: brightness(1.06);
}

/* Drag an image anywhere over the pane — dashed highlight signals the drop
   target without needing a separate overlay element. */
.scout-hero--drag .scout-hero__stage {
  border-style: dashed;
  border-color: color-mix(in srgb, var(--accent) 55%, var(--hairline, var(--border)));
  background: color-mix(in srgb, var(--accent) 6%, var(--panel));
}

.scout-hero__attachments {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  width: 100%;
}

.scout-hero__attachments[hidden] {
  display: none;
}

.scout-hero__attachment {
  position: relative;
  flex: 0 0 auto;
  width: 3rem;
  height: 3rem;
  border: 1px solid var(--hairline, var(--border));
  border-radius: 8px;
  overflow: hidden;
}

.scout-hero__attachment img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.scout-hero__attachment-remove {
  position: absolute;
  top: -0.25rem;
  right: -0.25rem;
  width: 1.05rem;
  height: 1.05rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid var(--hairline, var(--border));
  border-radius: 999px;
  background: var(--panel);
  color: var(--ink-mute, var(--muted));
  font-size: 0.7rem;
  line-height: 1;
  cursor: pointer;
}

.scout-hero__attachment-remove:hover {
  color: var(--loss, #b42318);
  border-color: color-mix(in srgb, var(--loss, #b42318) 45%, var(--hairline, var(--border)));
}

/* Chatting: left pane becomes thread + docked composer. The guest-only
   ambient decoration (glow, trust line, ticker shortcuts) is sized for the
   idle hero and would clash with the shrunk chat card, so it hides the
   moment a thread starts. */
.home--chatting .scout-hero__intro,
.home--chatting .scout-hero__chips,
.home--chatting .scout-hero__trust,
.home--chatting .ambient-glow,
.home--chatting .ticker-shortcuts {
  display: none !important;
}

.home--chatting .scout-hero__stage {
  justify-content: flex-start;
  gap: 0;
  text-align: left;
  padding: 0.7rem 0.75rem;
  /* Clamp the chat block's own height once it's holding a transcript
     instead of letting it grow with every reply — the transcript itself
     scrolls internally. */
  max-height: min(104vh, 48rem);
}

.home--chatting .scout-hero__thread {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  gap: 0.45rem;
}

.home--chatting .scout-hero__chat-bar {
  flex: 0 0 auto;
  padding: 0 0.05rem 0.5rem;
  border-bottom: 1px solid var(--hairline-ghost, var(--border));
}

.home--chatting .scout-hero__chat-title {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  color: var(--ink, var(--text));
}

.home--chatting .scout-hero__chat-sub {
  margin: 0.1rem 0 0;
  font-size: 0.7rem;
  color: var(--muted);
}

.home--chatting .scout-hero__log {
  display: grid;
  align-content: start;
  gap: 0.5rem;
  flex: 1 1 auto;
  min-height: 0;
  max-height: min(60vh, 26rem);
  overflow-y: auto;
  padding: 0.35rem 0.05rem;
}

.home--chatting .scout-hero__log .site-ai__msg {
  font-size: 0.84rem;
  line-height: 1.45;
  padding: 0.55rem 0.7rem;
  border-radius: 10px;
}

.home--chatting .scout-hero__log .site-ai__msg--user {
  justify-self: end;
  max-width: 92%;
  background: color-mix(in srgb, var(--accent) 18%, var(--panel));
}

.home--chatting .scout-hero__log .site-ai__msg--scout {
  justify-self: start;
  max-width: 100%;
  background: var(--surface-inset, color-mix(in srgb, var(--border) 35%, var(--panel)));
}

.home--chatting .scout-hero__composer {
  flex: 0 0 auto;
  margin-top: 0.35rem;
}

/* Guest "Start from a theme" preview — dropped into .scout-hero__log by
   theme_preview_controller.js (WatchlistThemesController#preview), the
   same log a real Scout answer streams into. */
.theme-preview {
  margin: 0.6rem 0;
  padding: 0.75rem;
  border: 1px solid var(--hairline, var(--border));
  border-radius: 10px;
  background: var(--panel-inset, var(--panel));
}

.theme-preview__title {
  margin: 0 0 0.5rem;
  font-size: 0.85rem;
  font-weight: 650;
  letter-spacing: -0.01em;
}

.theme-preview__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.4rem;
}

.theme-preview__row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
}

.theme-preview__ticker {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--ink-soft, var(--text));
  font-weight: 600;
  text-decoration: none;
  flex: 1 1 auto;
  min-width: 0;
}

.theme-preview__ticker:hover {
  color: var(--accent);
}

.theme-preview__dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  flex: 0 0 auto;
}

.theme-preview__price,
.theme-preview__rsi {
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.theme-preview__pct {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}

.theme-preview__pct.is-up {
  color: var(--gain-soft);
}

.theme-preview__pct.is-down {
  color: var(--loss-soft);
}

.theme-preview__save {
  margin: 0.6rem 0 0;
}

@media (prefers-reduced-motion: reduce) {
  .scout-hero__composer,
  .scout-hero__chip {
    transition: none;
  }
}
/* —— Homepage proof strip ————————————————————————————————————————
   A worked example (ask → watching → alerted) between the Markets
   dashboard and the page footer — the dashboard above is all macro/index
   charts, so this is the only place the homepage shows Scout tracking an
   individual ticker at all. */

.proof-strip {
  width: 100%;
  max-width: var(--shell-max);
  margin: 0 auto;
  padding: 2.75rem 0.6rem 1.5rem;
}

.proof-strip__head {
  max-width: 32rem;
  margin: 0 auto 2rem;
  text-align: center;
}

.proof-strip__eyebrow {
  margin: 0 0 0.5rem;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.proof-strip__title {
  margin: 0 0 0.55rem;
  font-size: 1.55rem;
  font-weight: 600;
  text-wrap: balance;
}

.proof-strip__sub {
  margin: 0;
  color: var(--ink-mute);
  font-size: 0.9rem;
  line-height: 1.5;
}

.proof-strip__pipeline {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: stretch;
  gap: 0 0.4rem;
}

.proof-strip__chevron {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--hairline-strong);
}

.proof-step {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 1.25rem;
  border: 1px solid var(--hairline);
  border-radius: 14px;
  background: var(--panel);
  min-width: 0;
}

.proof-step__label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  color: var(--ink-faint);
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.proof-step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 999px;
  background: var(--panel-raised);
  color: var(--ink-mute);
  font-size: 0.62rem;
}

.proof-step__chat {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.proof-bubble {
  margin: 0;
  padding: 0.55rem 0.75rem;
  border-radius: 10px;
  font-size: 0.82rem;
  line-height: 1.45;
}

.proof-bubble--user {
  align-self: flex-end;
  max-width: 90%;
  background: color-mix(in srgb, var(--accent) 20%, var(--panel));
  color: var(--ink);
  border-bottom-right-radius: 3px;
}

.proof-bubble--scout {
  background: var(--panel-raised);
  color: var(--ink-soft);
  border: 1px solid var(--hairline);
  border-bottom-left-radius: 3px;
}

.proof-ticker {
  border: 1px solid var(--hairline);
  border-radius: 10px;
  background: var(--panel-raised);
  padding: 0.8rem 0.9rem;
}

.proof-ticker__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
}

.proof-ticker__sym {
  font-weight: 600;
  font-size: 0.92rem;
}

.proof-ticker__name {
  display: block;
  color: var(--ink-faint);
  font-size: 0.68rem;
  margin-top: 0.1rem;
}

.proof-ticker__price-col {
  text-align: right;
}

.proof-ticker__price {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  font-size: 0.98rem;
}

.proof-ticker__chg {
  display: block;
  font-family: var(--mono);
  font-size: 0.72rem;
  margin-top: 0.1rem;
}

.proof-ticker__chg.is-up {
  color: var(--gain);
}

.proof-ticker__chg.is-down {
  color: var(--loss);
}

.proof-ticker__spark {
  display: block;
  width: 100%;
  height: 46px;
  margin-top: 0.6rem;
}

.proof-spark__fill {
  fill: var(--gain);
  opacity: 0.12;
  stroke: none;
}

.proof-spark__line {
  fill: none;
  stroke: var(--gain);
  stroke-width: 1.8;
  stroke-linejoin: round;
  stroke-linecap: round;
}

.proof-spark__dot {
  fill: var(--gain);
}

.proof-ticker__alert {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0.6rem 0 0;
  padding-top: 0.6rem;
  border-top: 1px dashed var(--hairline);
  color: var(--alert);
  font-family: var(--mono);
  font-size: 0.7rem;
}

/* What Scout is actually tracking, not just the one threshold it'll email
   about — sits between the spark and (when present) .proof-ticker__alert so
   "Alert set at $190" doesn't read as the only thing being watched. */
.proof-ticker__watching {
  margin: 0.5rem 0 0;
  color: var(--ink-mute);
  font-size: 0.7rem;
  line-height: 1.4;
}

.proof-alert {
  display: flex;
  gap: 0.65rem;
  border: 1px solid var(--hairline);
  border-radius: 10px;
  background: var(--panel-raised);
  padding: 0.85rem 0.9rem;
}

.proof-alert__icon {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--alert) 18%, transparent);
  color: var(--alert);
}

/* Same card shell for a scenario's final step when it isn't actually an
   alert firing (an analysis answer, a finished report) — swaps the icon out
   of --alert's amber/red so the card doesn't imply a threshold was crossed. */
.proof-alert--neutral .proof-alert__icon {
  background: color-mix(in srgb, var(--accent) 18%, transparent);
  color: var(--accent);
}

.proof-alert__body {
  min-width: 0;
}

.proof-alert__subject {
  margin: 0 0 0.15rem;
  font-weight: 600;
  font-size: 0.84rem;
}

.proof-alert__text {
  margin: 0;
  color: var(--ink-mute);
  font-size: 0.78rem;
  line-height: 1.45;
}

.proof-alert__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0.5rem 0 0;
  color: var(--ink-faint);
  font-family: var(--mono);
  font-size: 0.68rem;
}

.proof-alert__link {
  color: var(--accent);
  text-decoration: none;
}

.proof-alert__link:hover {
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

@media (max-width: 900px) {
  .proof-strip__pipeline {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }

  .proof-strip__chevron {
    transform: rotate(90deg);
    padding: 0.1rem 0;
  }
}
