:root {
  --bg: #efe6da;
  --bg-deep: #14212b;
  --bg-panel: #18242d;
  --card: rgba(255, 251, 246, 0.78);
  --card-strong: rgba(255, 255, 255, 0.92);
  --line: rgba(20, 33, 43, 0.08);
  --ink: #14212b;
  --muted: #65707a;
  --accent: #0e7a6e;
  --accent-bright: #79dbcf;
  --accent-soft: rgba(14, 122, 110, 0.14);
  --accent-alt: #c66a2b;
  --shadow: 0 28px 80px rgba(20, 33, 43, 0.12);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  font-size: 16px;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: "Space Grotesk", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(198, 106, 43, 0.22), transparent 28%),
    radial-gradient(circle at 88% 12%, rgba(14, 122, 110, 0.2), transparent 24%),
    linear-gradient(180deg, #fbf5ed 0%, var(--bg) 44%, #e9dfd3 100%);
}

body::before {
  position: fixed;
  inset: 0;
  content: "";
  pointer-events: none;
  background-image:
    linear-gradient(rgba(20, 33, 43, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 33, 43, 0.03) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.36), transparent 85%);
}

.dashboard-body {
  --bg: #edf3ee;
  --card: rgba(255, 255, 252, 0.82);
  --card-strong: rgba(255, 255, 252, 0.92);
  --line: rgba(21, 35, 48, 0.1);
  --ink: #121a27;
  --muted: #566276;
  --accent: #28765d;
  --accent-bright: #79dbcf;
  --accent-soft: rgba(40, 118, 93, 0.14);
  --accent-alt: #9a5817;
  --shadow: 0 18px 46px rgba(21, 35, 48, 0.08);
  --radius-xl: 8px;
  --radius-lg: 8px;
  --radius-md: 8px;
  background:
    linear-gradient(rgba(21, 35, 48, 0.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(21, 35, 48, 0.022) 1px, transparent 1px),
    linear-gradient(180deg, #eff5f0 0%, #f7f8f1 55%, #eef3ee 100%);
  background-size: 36px 36px, 36px 36px, auto;
}

.dashboard-body::before {
  opacity: 0.55;
  background-image:
    radial-gradient(circle, rgba(40, 118, 93, 0.28) 1.5px, transparent 2px),
    radial-gradient(circle, rgba(28, 72, 126, 0.18) 1.5px, transparent 2px),
    radial-gradient(circle, rgba(154, 88, 23, 0.2) 1.5px, transparent 2px);
  background-position: 22px 28px, 74px 88px, 128px 42px;
  background-size: 180px 180px, 220px 220px, 260px 260px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.88), rgba(0, 0, 0, 0.16) 92%);
}

.page-texture {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(168deg, transparent 0 22%, rgba(21, 35, 48, 0.08) 22.1%, transparent 22.35%),
    linear-gradient(174deg, transparent 0 48%, rgba(40, 118, 93, 0.1) 48.1%, transparent 48.35%),
    linear-gradient(8deg, transparent 0 72%, rgba(154, 88, 23, 0.08) 72.1%, transparent 72.28%);
}

.page-shell {
  width: min(1240px, calc(100vw - 32px));
  margin: 32px auto 56px;
}

.page-shell-compact {
  width: min(1240px, calc(100vw - 32px));
}

.dashboard-shell {
  width: min(1120px, calc(100vw - 40px));
  margin: 84px auto 72px;
}

.dashboard-header {
  display: grid;
  align-items: start;
  gap: 32px;
  margin-bottom: 44px;
}

.article-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.article-nav a,
.article-nav button {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border: 1px solid rgba(21, 35, 48, 0.12);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 252, 0.78);
  color: #1f426d;
  font: inherit;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(21, 35, 48, 0.05);
  cursor: pointer;
}

.article-nav button.is-active {
  border-color: rgba(40, 118, 93, 0.34);
  background: rgba(40, 118, 93, 0.11);
  color: var(--ink);
}

.kicker,
.panel-kicker {
  margin: 0;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dashboard-title-row {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 0.85fr);
  align-items: end;
  gap: 52px;
}

.dashboard-title-row h1 {
  margin: 0;
  max-width: 8ch;
  font-family: "Fraunces", serif;
  font-size: clamp(4.2rem, 8.1vw, 7.4rem);
  font-weight: 700;
  line-height: 0.88;
  letter-spacing: -0.05em;
}

.statement {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: clamp(1rem, 1.45vw, 1.3rem);
  font-weight: 700;
  line-height: 1.7;
}

.dashboard-title-row .updated-at {
  display: block;
  margin: 14px 0 0;
  color: var(--ink);
  font-size: 0.95rem;
}

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

.dashboard-status-item,
.path-step,
.valuation-card,
.scenario-card {
  border: 1px solid rgba(21, 35, 48, 0.12);
  border-radius: var(--radius-md);
  background:
    linear-gradient(180deg, rgba(255, 255, 252, 0.92), rgba(255, 255, 252, 0.72));
  box-shadow: 0 18px 46px rgba(21, 35, 48, 0.06);
}

.dashboard-status-item {
  padding: 18px 16px;
}

.dashboard-status-item span,
.valuation-card-head span,
.scenario-card span {
  display: block;
  margin-bottom: 8px;
  color: #1f426d;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dashboard-status-item strong {
  display: block;
  color: var(--ink);
  font-size: 1.1rem;
}

.dashboard-status-item p,
.path-step p,
.valuation-card p,
.scenario-card p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.68;
}

.dashboard-range {
  justify-self: end;
  margin-top: -10px;
}

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

.page-header-copy {
  display: grid;
  gap: 14px;
}

.page-header h1 {
  margin: 0;
  font-family: "Fraunces", serif;
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.page-subtitle {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.updated-at {
  display: inline-flex;
  margin-left: 10px;
  font-weight: 700;
  color: var(--ink);
}

.page-switcher {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 10px;
}

.page-switcher button {
  padding: 10px 14px;
  border: 1px solid rgba(20, 33, 43, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
  color: var(--muted);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition:
    transform 150ms ease,
    background 150ms ease,
    color 150ms ease,
    border-color 150ms ease;
}

.page-switcher button:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
}

.page-switcher button.is-active {
  background: rgba(14, 122, 110, 0.12);
  color: var(--ink);
  border-color: rgba(14, 122, 110, 0.22);
}

.dashboard-header.page-header {
  display: grid;
  grid-template-columns: 1fr;
  align-items: start;
  gap: 32px;
  margin-bottom: 44px;
}

.dashboard-header .dashboard-title-row h1 {
  max-width: 8ch;
  font-size: clamp(4.2rem, 8.1vw, 7.4rem);
  line-height: 0.88;
  letter-spacing: -0.05em;
}

.dashboard-header .article-nav.page-switcher {
  display: flex;
  gap: 18px;
}

.dashboard-header .article-nav.page-switcher button {
  border-radius: var(--radius-md);
  background: rgba(255, 255, 252, 0.78);
  color: #1f426d;
  box-shadow: 0 12px 28px rgba(21, 35, 48, 0.05);
}

.dashboard-header .article-nav.page-switcher button.is-active {
  border-color: rgba(40, 118, 93, 0.34);
  background: rgba(40, 118, 93, 0.11);
  color: var(--ink);
}

.chart-stack {
  display: grid;
  gap: 22px;
}

.family-office-overview {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: start;
}

.family-office-overview > * {
  grid-column: 1 / -1;
  min-width: 0;
}

.family-office-brief {
  display: grid;
  gap: 20px;
  padding: 30px 32px;
  background:
    radial-gradient(circle at top right, rgba(14, 122, 110, 0.14), transparent 28%),
    radial-gradient(circle at bottom left, rgba(198, 106, 43, 0.12), transparent 32%),
    linear-gradient(135deg, rgba(255, 252, 247, 0.96), rgba(244, 236, 225, 0.88));
}

.family-office-brief-head {
  display: grid;
  gap: 8px;
  max-width: 72ch;
}

.family-office-brief-head h2 {
  margin: 0;
  font-family: "Fraunces", serif;
  font-size: clamp(1.9rem, 3.2vw, 2.8rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.family-office-brief-head p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.family-office-brief-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.family-office-brief-card {
  padding: 18px 18px 20px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(20, 33, 43, 0.08);
  background: rgba(255, 255, 255, 0.62);
}

.family-office-brief-label {
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.family-office-brief-card h3 {
  margin: 12px 0 8px;
  font-family: "Fraunces", serif;
  font-size: 1.2rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.family-office-brief-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.family-office-divider {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  padding: 8px 4px 0;
}

.family-office-divider-copy {
  max-width: 58ch;
}

.family-office-divider .eyebrow {
  margin-bottom: 6px;
}

.family-office-divider h2 {
  margin: 0;
  font-family: "Fraunces", serif;
  font-size: 1.28rem;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.family-office-divider p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.research-section {
  display: grid;
  gap: 18px;
}

.section-heading {
  display: grid;
  gap: 6px;
}

.section-heading h2 {
  margin: 0;
  font-family: "Fraunces", serif;
  font-size: clamp(2rem, 3.4vw, 3rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.path-map {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.path-step {
  position: relative;
  min-height: 182px;
  padding: 20px 18px 22px;
  overflow: hidden;
}

.path-step::before,
.scenario-card::before {
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 4px;
  content: "";
  background: var(--step-color, var(--accent));
}

.path-step span {
  color: #1f426d;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.path-step h3,
.valuation-card h3,
.scenario-card h3 {
  margin: 20px 0 0;
  font-family: "Fraunces", serif;
  font-size: 1.58rem;
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.path-step-green,
.scenario-green {
  --step-color: #28765d;
}

.path-step-blue,
.scenario-blue {
  --step-color: #244a7c;
}

.path-step-amber,
.scenario-amber {
  --step-color: #9a5817;
}

.path-step-red,
.scenario-red {
  --step-color: #8e2f3e;
}

.valuation-workspace {
  grid-template-columns: minmax(0, 2fr) minmax(310px, 1fr);
  align-items: start;
  gap: 36px;
}

.valuation-board,
.scenario-rail {
  display: grid;
  gap: 18px;
}

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

.valuation-card {
  padding: 18px 16px;
}

.valuation-card h3,
.scenario-card h3 {
  margin-top: 0;
}

.valuation-card dl {
  display: grid;
  margin: 18px 0 0;
  border-top: 1px solid rgba(21, 35, 48, 0.1);
}

.valuation-card dl div {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(21, 35, 48, 0.1);
}

.valuation-card dt {
  color: var(--accent);
  font-weight: 800;
}

.valuation-card dd {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

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

.scenario-card {
  position: relative;
  padding: 18px 16px;
  overflow: hidden;
}

.monitor-section {
  gap: 18px;
}

.monitor-table {
  overflow: hidden;
  border: 1px solid rgba(21, 35, 48, 0.12);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 252, 0.78);
  box-shadow: 0 18px 46px rgba(21, 35, 48, 0.06);
}

.monitor-table [role="row"] {
  display: grid;
  grid-template-columns: 0.65fr 1.55fr 1.35fr;
  min-height: 62px;
  border-bottom: 1px solid rgba(21, 35, 48, 0.1);
}

.monitor-table [role="row"]:last-child {
  border-bottom: 0;
}

.monitor-table strong,
.monitor-table span {
  padding: 16px;
  color: var(--ink);
  line-height: 1.65;
}

.monitor-table strong {
  color: #1f426d;
  background: rgba(21, 35, 48, 0.035);
}

.monitor-table span:first-child {
  font-weight: 800;
}

.data-board-heading {
  padding-top: 28px;
  border-top: 1px solid rgba(21, 35, 48, 0.14);
}

.data-group-heading {
  padding-top: 22px;
  border-top: 1px solid rgba(21, 35, 48, 0.12);
}

.data-group-heading::after,
.data-board-heading::after {
  display: block;
  width: min(320px, 42vw);
  height: 2px;
  margin-left: auto;
  content: "";
  background: linear-gradient(90deg, #28765d, #244a7c, #9a5817);
}

.panel {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius-xl);
  background: var(--card);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease;
}

.panel:hover {
  transform: translateY(-2px);
  box-shadow: 0 36px 90px rgba(20, 33, 43, 0.14);
  border-color: rgba(255, 255, 255, 0.75);
}

.hero-card {
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.85fr);
  padding: 36px;
  background:
    radial-gradient(circle at top right, rgba(14, 122, 110, 0.15), transparent 32%),
    radial-gradient(circle at bottom left, rgba(198, 106, 43, 0.14), transparent 32%),
    linear-gradient(135deg, rgba(255, 250, 244, 0.98), rgba(244, 236, 225, 0.84));
}

.hero-card::after {
  position: absolute;
  right: -120px;
  top: -120px;
  width: 280px;
  height: 280px;
  content: "";
  border-radius: 50%;
  background: rgba(20, 33, 43, 0.04);
}

.hero-copy h1,
.section-head h2 {
  margin: 0;
  font-family: "Fraunces", serif;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.hero-copy h1 {
  max-width: 14ch;
  font-size: clamp(2.8rem, 5.8vw, 5rem);
}

.hero-text,
.notes-grid p,
.source-list {
  color: var(--muted);
  line-height: 1.78;
}

.hero-text {
  max-width: 58ch;
  margin: 14px 0 0;
  font-size: 1.06rem;
}

.eyebrow {
  margin-bottom: 10px;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-metric {
  display: grid;
  align-content: end;
  gap: 12px;
  padding: 28px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.07);
  background:
    radial-gradient(circle at top right, rgba(121, 219, 207, 0.12), transparent 32%),
    linear-gradient(145deg, rgba(17, 28, 37, 0.98), rgba(29, 44, 55, 0.95));
  color: #f8f4ee;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.metric-label,
.stat-label,
.change-label,
.meta-label,
.section-head.compact h2 + p {
  color: rgba(248, 244, 238, 0.68);
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.metric-value-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 14px;
}

.metric-value {
  font-family: "Fraunces", serif;
  font-size: clamp(2.8rem, 7vw, 5.8rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.metric-badge {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(121, 219, 207, 0.12);
  color: #f8f4ee;
  font-size: 1rem;
  font-weight: 700;
}

.metric-context {
  color: rgba(248, 244, 238, 0.76);
  line-height: 1.6;
}

.hero-meta-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-column: 1 / -1;
}

.meta-pill,
.change-card {
  padding: 16px 18px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(20, 33, 43, 0.08);
  background: rgba(255, 255, 255, 0.58);
}

.meta-pill {
  display: grid;
  gap: 8px;
}

.meta-label {
  color: var(--muted);
}

.meta-value {
  font-weight: 700;
}

.hero-signal-grid {
  display: grid;
  gap: 14px;
  grid-column: 1 / -1;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.signal-card {
  display: grid;
  gap: 8px;
  padding: 20px 22px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(20, 33, 43, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(250, 245, 238, 0.7));
}

.signal-card.is-accent {
  border-color: rgba(20, 33, 43, 0.04);
  background:
    radial-gradient(circle at top right, rgba(121, 219, 207, 0.16), transparent 28%),
    linear-gradient(140deg, rgba(20, 33, 43, 0.94), rgba(28, 46, 56, 0.95));
  color: #f8f4ee;
}

.signal-title {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.signal-card.is-accent .signal-title {
  color: rgba(248, 244, 238, 0.62);
}

.signal-value {
  font-family: "Fraunces", serif;
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.signal-subtext {
  color: var(--muted);
  line-height: 1.6;
}

.signal-card.is-accent .signal-subtext {
  color: rgba(248, 244, 238, 0.72);
}

.content-stack {
  display: grid;
  gap: 22px;
  margin-top: 22px;
}

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

.stat-card {
  padding: 24px;
  border-radius: var(--radius-lg);
  background: var(--card-strong);
  min-height: 178px;
}

.stat-card::before {
  position: absolute;
  left: 24px;
  right: 24px;
  top: 0;
  height: 3px;
  content: "";
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), transparent 85%);
}

.stat-card:nth-child(2)::before {
  background: linear-gradient(90deg, #2b6ac6, transparent 85%);
}

.stat-card:nth-child(3)::before {
  background: linear-gradient(90deg, var(--accent-alt), transparent 85%);
}

.stat-card:nth-child(4)::before {
  background: linear-gradient(90deg, #6f5ad7, transparent 85%);
}

.stat-label {
  color: var(--muted);
}

.stat-value {
  margin-top: 16px;
  font-family: "Fraunces", serif;
  font-size: clamp(1.85rem, 3vw, 2.6rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.stat-subtext {
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.6;
}

.chart-panel,
.notes-panel {
  padding: 32px;
}

.turning-panel {
  padding: 28px 32px 30px;
  background:
    radial-gradient(circle at top right, rgba(121, 219, 207, 0.12), transparent 22%),
    radial-gradient(circle at bottom left, rgba(198, 106, 43, 0.12), transparent 24%),
    linear-gradient(180deg, rgba(255, 252, 247, 0.96), rgba(247, 239, 229, 0.92));
}

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

.section-head h2 {
  font-size: clamp(1.75rem, 3vw, 2.4rem);
}

.chart-panel {
  background:
    radial-gradient(circle at top right, rgba(121, 219, 207, 0.08), transparent 24%),
    radial-gradient(circle at bottom left, rgba(198, 106, 43, 0.08), transparent 28%),
    linear-gradient(180deg, rgba(19, 31, 40, 0.97), rgba(24, 36, 45, 0.97));
  border-color: rgba(255, 255, 255, 0.08);
  color: #f8f4ee;
}

.chart-panel-secondary {
  background:
    radial-gradient(circle at top right, rgba(138, 198, 255, 0.1), transparent 24%),
    radial-gradient(circle at bottom left, rgba(198, 106, 43, 0.06), transparent 28%),
    linear-gradient(180deg, rgba(18, 28, 44, 0.97), rgba(22, 35, 52, 0.97));
}

.chart-panel-tertiary {
  background:
    radial-gradient(circle at top right, rgba(160, 205, 255, 0.12), transparent 24%),
    radial-gradient(circle at bottom left, rgba(121, 219, 207, 0.08), transparent 28%),
    linear-gradient(180deg, rgba(21, 29, 43, 0.97), rgba(23, 34, 49, 0.97));
}

.chart-panel-tertiary .section-head,
.chart-panel-gold .section-head,
.chart-panel-gold-liquidity .section-head,
.chart-panel-marketcap-liquidity .section-head,
.chart-panel-oil .section-head,
.chart-panel-allocation-compare .section-head,
.chart-panel-regime .section-head,
.chart-panel-numeraire .section-head,
.chart-panel-treasury .section-head,
.chart-panel-moving-average .section-head,
.chart-panel-cross-asset .section-head {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(540px, 680px);
  align-items: flex-start;
  gap: 24px 32px;
}

.chart-panel-tertiary .comparison-actions,
.chart-panel-gold .comparison-actions,
.chart-panel-gold-liquidity .comparison-actions,
.chart-panel-marketcap-liquidity .comparison-actions,
.chart-panel-oil .comparison-actions,
.chart-panel-allocation-compare .comparison-actions,
.chart-panel-regime .comparison-actions,
.chart-panel-treasury .comparison-actions,
.chart-panel-moving-average .comparison-actions,
.chart-panel-cross-asset .comparison-actions {
  align-content: start;
}

.comparison-head-copy {
  min-width: 0;
  max-width: 28rem;
}

.comparison-head-copy h2 {
  max-width: 11ch;
  text-wrap: balance;
}

.chart-panel-gold {
  background:
    radial-gradient(circle at top right, rgba(246, 196, 94, 0.14), transparent 24%),
    radial-gradient(circle at bottom left, rgba(255, 171, 72, 0.08), transparent 28%),
    linear-gradient(180deg, rgba(32, 28, 18, 0.97), rgba(39, 32, 21, 0.97));
}

.chart-panel-gold-liquidity {
  background:
    radial-gradient(circle at top right, rgba(246, 196, 94, 0.16), transparent 24%),
    radial-gradient(circle at bottom left, rgba(121, 219, 207, 0.1), transparent 30%),
    linear-gradient(180deg, rgba(28, 26, 16, 0.97), rgba(20, 31, 29, 0.97));
}

.chart-panel-marketcap-liquidity {
  background:
    radial-gradient(circle at top right, rgba(121, 219, 207, 0.14), transparent 24%),
    radial-gradient(circle at bottom left, rgba(138, 198, 255, 0.1), transparent 30%),
    linear-gradient(180deg, rgba(17, 24, 30, 0.97), rgba(15, 27, 31, 0.97));
}

.chart-panel-oil {
  background:
    radial-gradient(circle at top right, rgba(255, 137, 71, 0.14), transparent 24%),
    radial-gradient(circle at bottom left, rgba(210, 89, 47, 0.1), transparent 28%),
    linear-gradient(180deg, rgba(37, 22, 16, 0.97), rgba(44, 27, 20, 0.97));
}

.chart-panel-allocation-compare {
  background:
    radial-gradient(circle at top right, rgba(150, 230, 115, 0.14), transparent 24%),
    radial-gradient(circle at bottom left, rgba(138, 198, 255, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(18, 30, 24, 0.97), rgba(22, 37, 31, 0.97));
}

.chart-panel-regime {
  background:
    radial-gradient(circle at top right, rgba(121, 219, 207, 0.16), transparent 24%),
    radial-gradient(circle at bottom left, rgba(255, 203, 94, 0.1), transparent 28%),
    linear-gradient(180deg, rgba(15, 28, 31, 0.97), rgba(19, 35, 39, 0.97));
}

.chart-panel-oil-monthly {
  background:
    radial-gradient(circle at top right, rgba(255, 171, 112, 0.14), transparent 24%),
    radial-gradient(circle at bottom left, rgba(222, 104, 62, 0.1), transparent 28%),
    linear-gradient(180deg, rgba(40, 24, 18, 0.97), rgba(48, 30, 24, 0.97));
}

.chart-panel-treasury {
  background:
    radial-gradient(circle at top right, rgba(121, 219, 207, 0.16), transparent 24%),
    radial-gradient(circle at bottom left, rgba(255, 203, 94, 0.08), transparent 28%),
    linear-gradient(180deg, rgba(16, 35, 36, 0.97), rgba(18, 42, 43, 0.97));
}

.chart-panel-moving-average {
  background:
    radial-gradient(circle at top right, rgba(149, 205, 255, 0.14), transparent 24%),
    radial-gradient(circle at bottom left, rgba(121, 219, 207, 0.1), transparent 28%),
    linear-gradient(180deg, rgba(18, 30, 44, 0.97), rgba(19, 35, 52, 0.97));
}

.chart-panel-numeraire {
  background:
    radial-gradient(circle at top right, rgba(246, 196, 94, 0.12), transparent 24%),
    radial-gradient(circle at bottom left, rgba(121, 219, 207, 0.1), transparent 30%),
    linear-gradient(180deg, rgba(25, 23, 17, 0.97), rgba(20, 27, 28, 0.97));
}

.cross-asset-stack {
  display: grid;
  gap: 22px;
}

.chart-panel-cross-asset {
  background:
    radial-gradient(circle at top right, rgba(139, 212, 200, 0.14), transparent 24%),
    radial-gradient(circle at bottom left, rgba(108, 143, 224, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(17, 33, 39, 0.97), rgba(22, 38, 48, 0.97));
}

.chart-panel .eyebrow {
  color: var(--accent-bright);
}

.chart-panel .section-head h2,
.chart-panel .change-value {
  color: #f8f4ee;
}

.chart-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-bottom: 18px;
}

.chart-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.comparison-actions {
  display: grid;
  gap: 12px;
  justify-items: stretch;
  width: min(100%, 680px);
}

.comparison-controls {
  justify-content: flex-start;
}

.comparison-sample-range {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 10px;
}

.comparison-actions-with-metric {
  grid-template-columns: repeat(2, minmax(0, max-content));
  grid-template-areas:
    "metric years"
    "sample sample"
    "legend legend";
  justify-content: end;
  align-items: start;
  column-gap: 12px;
}

.comparison-actions-with-metric > :nth-child(1) {
  grid-area: metric;
}

.comparison-actions-with-metric > :nth-child(2) {
  grid-area: years;
}

.comparison-actions-with-metric > :nth-child(3) {
  grid-area: sample;
}

.comparison-actions-with-metric > :nth-child(4) {
  grid-area: legend;
}

.comparison-actions-simple {
  grid-template-columns: minmax(0, max-content);
  grid-template-areas:
    "years"
    "sample"
    "legend";
  justify-content: end;
  align-items: start;
}

.comparison-actions-simple > :nth-child(1) {
  grid-area: years;
}

.comparison-actions-simple > :nth-child(2) {
  grid-area: sample;
}

.comparison-actions-simple > :nth-child(3) {
  grid-area: legend;
}

.comparison-actions-marketcap-liquidity {
  grid-template-columns: repeat(2, minmax(0, max-content));
  grid-template-areas:
    "variant years"
    "legend legend";
  justify-content: end;
  align-items: start;
  column-gap: 12px;
}

.comparison-actions-marketcap-liquidity > :nth-child(1) {
  grid-area: variant;
}

.comparison-actions-marketcap-liquidity > :nth-child(2) {
  grid-area: years;
}

.comparison-actions-marketcap-liquidity > :nth-child(3) {
  grid-area: legend;
}

.comparison-actions .chart-legend {
  justify-content: flex-start;
  max-width: 680px;
}

.comparison-sample-field {
  display: grid;
  gap: 6px;
  min-width: 148px;
}

.comparison-sample-field span {
  color: rgba(248, 244, 238, 0.66);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.comparison-sample-field select {
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  color: #f8f4ee;
  font: inherit;
  font-weight: 700;
  appearance: none;
}

.comparison-sample-field select:focus {
  outline: 1px solid rgba(121, 219, 207, 0.44);
  border-color: rgba(121, 219, 207, 0.28);
}

.legend-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(248, 244, 238, 0.84);
  font-size: 0.92rem;
  font-weight: 700;
}

.legend-chip-ghost {
  color: rgba(248, 244, 238, 0.62);
}

.legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.legend-dot.is-daily {
  background: var(--accent-bright);
  box-shadow: 0 0 0 4px rgba(121, 219, 207, 0.16);
}

.legend-dot.is-annual {
  background: #fff7ef;
  border: 2px solid var(--accent);
}

.legend-dot.is-anchor {
  background: linear-gradient(135deg, #f0bb6f 0 50%, #79b5ff 50% 100%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 0 0 4px rgba(240, 187, 111, 0.1);
}

.legend-dot.is-monthly {
  background: #8ac6ff;
  box-shadow: 0 0 0 4px rgba(138, 198, 255, 0.14);
}

.legend-dot.is-band-outer {
  background: rgba(167, 214, 255, 0.86);
  box-shadow: 0 0 0 4px rgba(167, 214, 255, 0.14);
}

.legend-dot.is-extreme {
  background: linear-gradient(180deg, rgba(233, 244, 255, 0.96), rgba(135, 174, 224, 0.92));
  box-shadow: 0 0 0 4px rgba(216, 232, 255, 0.12);
}

.legend-dot.is-band-inner {
  background: rgba(109, 152, 208, 0.96);
  box-shadow: 0 0 0 4px rgba(109, 152, 208, 0.14);
}

.legend-dot.is-median {
  background: #d8e8ff;
  box-shadow: 0 0 0 4px rgba(216, 232, 255, 0.12);
}

.legend-dot.is-current {
  background: #ff9b3d;
  box-shadow: 0 0 0 4px rgba(255, 155, 61, 0.14);
}

.legend-dot.is-regime-bull {
  background: #79dbcf;
  box-shadow: 0 0 0 4px rgba(121, 219, 207, 0.14);
}

.legend-dot.is-regime-fade {
  background: #ffcb5e;
  box-shadow: 0 0 0 4px rgba(255, 203, 94, 0.14);
}

.legend-dot.is-regime-bear {
  background: #ff8d70;
  box-shadow: 0 0 0 4px rgba(255, 141, 112, 0.14);
}

.legend-dot.is-regime-repair {
  background: #8ac6ff;
  box-shadow: 0 0 0 4px rgba(138, 198, 255, 0.14);
}

.legend-dot.is-compare-permanent {
  background: #96e673;
  box-shadow: 0 0 0 4px rgba(150, 230, 115, 0.14);
}

.legend-dot.is-compare-allweather {
  background: #f5a4c8;
  box-shadow: 0 0 0 4px rgba(245, 164, 200, 0.14);
}

.legend-dot.is-compare-endowment {
  background: #ef936f;
  box-shadow: 0 0 0 4px rgba(239, 147, 111, 0.14);
}

.legend-dot.is-compare-sp500 {
  background: #79dbcf;
  box-shadow: 0 0 0 4px rgba(121, 219, 207, 0.14);
}

.legend-dot.is-compare-gold {
  background: #ffcf70;
  box-shadow: 0 0 0 4px rgba(255, 207, 112, 0.14);
}

.legend-dot.is-gold-liquidity-gold {
  background: #ffd471;
  box-shadow: 0 0 0 4px rgba(255, 212, 113, 0.14);
}

.legend-dot.is-gold-liquidity-m2 {
  background: #ff8d70;
  box-shadow: 0 0 0 4px rgba(255, 141, 112, 0.14);
}

.legend-dot.is-gold-liquidity-bars {
  background: #79b7ff;
  box-shadow: 0 0 0 4px rgba(121, 183, 255, 0.14);
}

.legend-dot.is-gold-liquidity-regime {
  background: linear-gradient(90deg, #ff8d70, #79dbcf);
  box-shadow: 0 0 0 4px rgba(121, 219, 207, 0.12);
}

.legend-dot.is-putcall-ratio {
  background: #f8f4ee;
  box-shadow: 0 0 0 4px rgba(248, 244, 238, 0.12);
}

.legend-dot.is-putcall-gold {
  background: #ffd471;
  box-shadow: 0 0 0 4px rgba(255, 212, 113, 0.14);
}

.legend-dot.is-putcall-current {
  background: linear-gradient(90deg, #f8f4ee, #ffd471);
  box-shadow: 0 0 0 4px rgba(255, 212, 113, 0.1);
}

.legend-dot.is-marketcap-liquidity-line {
  background: #79dbcf;
  box-shadow: 0 0 0 4px rgba(121, 219, 207, 0.14);
}

.legend-dot.is-marketcap-liquidity-band-outer {
  background: rgba(121, 219, 207, 0.52);
  box-shadow: 0 0 0 4px rgba(121, 219, 207, 0.08);
}

.legend-dot.is-marketcap-liquidity-band-inner {
  background: rgba(121, 219, 207, 0.82);
  box-shadow: 0 0 0 4px rgba(121, 219, 207, 0.12);
}

.legend-dot.is-marketcap-liquidity-median {
  background: #dfe7f1;
  box-shadow: 0 0 0 4px rgba(223, 231, 241, 0.12);
}

.legend-dot.is-marketcap-liquidity-current {
  background: #ffcf70;
  box-shadow: 0 0 0 4px rgba(255, 207, 112, 0.14);
}

.legend-dot.is-compare-6040 {
  background: #8ac6ff;
  box-shadow: 0 0 0 4px rgba(138, 198, 255, 0.14);
}

.legend-dot.is-numeraire-permanent {
  background: #96e673;
  box-shadow: 0 0 0 4px rgba(150, 230, 115, 0.14);
}

.legend-dot.is-numeraire-allweather {
  background: #f5a4c8;
  box-shadow: 0 0 0 4px rgba(245, 164, 200, 0.14);
}

.legend-dot.is-numeraire-6040 {
  background: #8ac6ff;
  box-shadow: 0 0 0 4px rgba(138, 198, 255, 0.14);
}

.legend-dot.is-numeraire-sp500 {
  background: #79dbcf;
  box-shadow: 0 0 0 4px rgba(121, 219, 207, 0.14);
}

.legend-dot.is-numeraire-nasdaq {
  background: #b8f06e;
  box-shadow: 0 0 0 4px rgba(184, 240, 110, 0.14);
}

.legend-dot.is-numeraire-russell {
  background: #79b7ff;
  box-shadow: 0 0 0 4px rgba(121, 183, 255, 0.14);
}

.legend-dot.is-numeraire-gold {
  background: #ffcf70;
  box-shadow: 0 0 0 4px rgba(255, 207, 112, 0.14);
}

.legend-dot.is-numeraire-silver {
  background: #dfe7f1;
  box-shadow: 0 0 0 4px rgba(223, 231, 241, 0.14);
}

.legend-dot.is-numeraire-oil {
  background: #ff9f64;
  box-shadow: 0 0 0 4px rgba(255, 159, 100, 0.14);
}

.legend-dot.is-numeraire-copper {
  background: #d58b5a;
  box-shadow: 0 0 0 4px rgba(213, 139, 90, 0.14);
}

.legend-dot.is-numeraire-bitcoin {
  background: #ffb85c;
  box-shadow: 0 0 0 4px rgba(255, 184, 92, 0.14);
}

.range-controls {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 10px;
}

.range-controls button {
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(248, 244, 238, 0.66);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition:
    transform 150ms ease,
    background 150ms ease,
    color 150ms ease;
}

.range-controls button:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.08);
}

.range-controls button.is-active {
  background: rgba(121, 219, 207, 0.14);
  color: #f8f4ee;
  border-color: rgba(121, 219, 207, 0.28);
}

.dashboard-header .dashboard-range button {
  border-color: rgba(21, 35, 48, 0.12);
  background: rgba(255, 255, 252, 0.78);
  color: #1f426d;
  box-shadow: 0 12px 28px rgba(21, 35, 48, 0.04);
}

.dashboard-header .dashboard-range button.is-active {
  border-color: rgba(40, 118, 93, 0.34);
  background: rgba(40, 118, 93, 0.13);
  color: var(--ink);
}

.chart-stage {
  position: relative;
  height: 460px;
  margin-bottom: 16px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at top, rgba(121, 219, 207, 0.08), transparent 30%),
    linear-gradient(180deg, rgba(12, 20, 27, 0.92), rgba(20, 29, 36, 0.96));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    inset 0 -80px 120px rgba(10, 16, 22, 0.45);
}

.chart-stage-secondary {
  background:
    radial-gradient(circle at top, rgba(138, 198, 255, 0.08), transparent 30%),
    linear-gradient(180deg, rgba(12, 19, 31, 0.92), rgba(18, 26, 39, 0.96));
}

.chart-stage-tertiary {
  background:
    radial-gradient(circle at top, rgba(162, 210, 255, 0.1), transparent 30%),
    linear-gradient(180deg, rgba(14, 21, 33, 0.92), rgba(18, 27, 41, 0.96));
}

.chart-stage-gold {
  background:
    radial-gradient(circle at top, rgba(246, 196, 94, 0.12), transparent 30%),
    linear-gradient(180deg, rgba(24, 20, 12, 0.92), rgba(31, 25, 16, 0.96));
}

.chart-stage-gold-liquidity {
  height: 480px;
  background:
    radial-gradient(circle at top, rgba(246, 196, 94, 0.12), transparent 30%),
    linear-gradient(180deg, rgba(18, 18, 12, 0.92), rgba(20, 31, 28, 0.96));
}

.chart-stage-putcall {
  height: 460px;
  background:
    radial-gradient(circle at top, rgba(248, 244, 238, 0.08), transparent 24%),
    radial-gradient(circle at top right, rgba(246, 196, 94, 0.1), transparent 28%),
    linear-gradient(180deg, rgba(14, 17, 20, 0.94), rgba(18, 24, 28, 0.98));
}

.chart-stage-marketcap-liquidity {
  height: 440px;
  background:
    radial-gradient(circle at top, rgba(121, 219, 207, 0.12), transparent 30%),
    linear-gradient(180deg, rgba(14, 20, 24, 0.92), rgba(18, 29, 32, 0.96));
}

.chart-stage-oil {
  background:
    radial-gradient(circle at top, rgba(255, 140, 76, 0.12), transparent 30%),
    linear-gradient(180deg, rgba(28, 18, 14, 0.92), rgba(34, 22, 18, 0.96));
}

.chart-stage-oil-monthly {
  background:
    radial-gradient(circle at top, rgba(255, 156, 96, 0.12), transparent 30%),
    linear-gradient(180deg, rgba(30, 18, 14, 0.92), rgba(36, 23, 19, 0.96));
}

.chart-stage-portfolio-compare {
  background:
    radial-gradient(circle at top, rgba(150, 230, 115, 0.12), transparent 30%),
    linear-gradient(180deg, rgba(12, 24, 20, 0.92), rgba(17, 31, 26, 0.96));
}

.chart-stage-numeraire {
  height: 500px;
  background:
    radial-gradient(circle at top, rgba(246, 196, 94, 0.12), transparent 30%),
    linear-gradient(180deg, rgba(20, 21, 15, 0.92), rgba(18, 27, 24, 0.96));
}

.chart-stage-treasury {
  background:
    radial-gradient(circle at top, rgba(121, 219, 207, 0.12), transparent 30%),
    linear-gradient(180deg, rgba(10, 27, 29, 0.92), rgba(14, 35, 36, 0.96));
}

.chart-stage-cross-asset {
  background:
    radial-gradient(circle at top, rgba(139, 212, 200, 0.12), transparent 30%),
    linear-gradient(180deg, rgba(11, 27, 33, 0.92), rgba(15, 34, 43, 0.96));
}

.chart-stage::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.8), transparent 95%);
}

.ratio-chart {
  display: block;
  width: 100%;
  height: 100%;
}

.chart-tooltip {
  display: grid;
  grid-template-columns: auto auto 1fr;
  align-items: center;
  gap: 12px 16px;
  margin: 14px 0 16px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(10, 17, 23, 0.7);
  color: #f8f4ee;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.tooltip-date {
  color: rgba(248, 244, 238, 0.72);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tooltip-ratio {
  font-family: "Fraunces", serif;
  font-size: 1.6rem;
  line-height: 1;
}

.tooltip-body {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.tooltip-meta {
  color: rgba(248, 244, 238, 0.68);
  font-size: 0.82rem;
  font-weight: 700;
}

.tooltip-breakdown {
  color: rgba(248, 244, 238, 0.76);
  font-size: 0.92rem;
  line-height: 1.4;
}

.tooltip-extremes {
  color: rgba(248, 244, 238, 0.9);
  font-size: 0.83rem;
  line-height: 1.45;
}

.chart-narrative {
  margin-bottom: 18px;
  color: rgba(248, 244, 238, 0.7);
  line-height: 1.7;
}

.lppls-module {
  display: grid;
  gap: 16px;
  padding: 18px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at top right, rgba(255, 179, 71, 0.14), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  color: #f8f4ee;
}

.lppls-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
}

.lppls-title {
  margin: 0;
  font-family: "Fraunces", serif;
  font-size: 1.4rem;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.lppls-context,
.lppls-footnote,
.lppls-timeline-caption {
  color: rgba(248, 244, 238, 0.72);
  line-height: 1.6;
}

.lppls-context {
  margin-top: 8px;
  max-width: 66ch;
}

.lppls-badge {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.lppls-badge.is-positive {
  background: rgba(255, 179, 71, 0.16);
  color: #fff5e4;
  border-color: rgba(255, 179, 71, 0.28);
}

.lppls-badge.is-negative {
  background: rgba(130, 180, 255, 0.14);
  color: #e8f2ff;
  border-color: rgba(130, 180, 255, 0.24);
}

.lppls-badge.is-neutral {
  background: rgba(255, 255, 255, 0.06);
  color: rgba(248, 244, 238, 0.82);
}

.lppls-chart-shell {
  display: grid;
  gap: 12px;
}

.lppls-chart-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}

.lppls-chart-title {
  color: #fff6e7;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.lppls-chart-note,
.lppls-chart-caption {
  color: rgba(248, 244, 238, 0.64);
  font-size: 0.88rem;
  line-height: 1.55;
}

.lppls-chart-stage {
  position: relative;
  height: 252px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background:
    radial-gradient(circle at top right, rgba(255, 179, 71, 0.12), transparent 32%),
    linear-gradient(180deg, rgba(18, 14, 10, 0.88), rgba(24, 18, 12, 0.96));
  overflow: hidden;
}

.lppls-chart-stage::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.8), transparent 95%);
}

.lppls-chart {
  display: block;
  width: 100%;
  height: 100%;
}

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

.lppls-stat {
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.04);
}

.lppls-stat-label {
  color: rgba(248, 244, 238, 0.58);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.lppls-stat-value {
  margin-top: 10px;
  font-family: "Fraunces", serif;
  font-size: 1.34rem;
  line-height: 1.06;
  letter-spacing: -0.03em;
  color: #fff8ef;
}

.lppls-stat-subtext {
  margin-top: 8px;
  color: rgba(248, 244, 238, 0.68);
  font-size: 0.9rem;
  line-height: 1.5;
}

.lppls-timeline {
  display: grid;
  gap: 10px;
}

.lppls-timeline-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: rgba(248, 244, 238, 0.62);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.lppls-track {
  position: relative;
  height: 24px;
}

.lppls-track-line,
.lppls-track-range {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 999px;
}

.lppls-track-line {
  left: 0;
  right: 0;
  height: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.lppls-track-range {
  height: 10px;
  background: linear-gradient(90deg, rgba(255, 184, 92, 0.72), rgba(255, 132, 58, 0.94));
  box-shadow: 0 0 0 1px rgba(255, 184, 92, 0.2);
}

.lppls-track-now,
.lppls-track-median {
  position: absolute;
  top: 50%;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.lppls-track-now {
  background: #fff7ef;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.08);
}

.lppls-track-median {
  background: #ff9b3d;
  box-shadow: 0 0 0 5px rgba(255, 155, 61, 0.14);
}

.mini-metrics {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 18px;
}

.mini-metric {
  padding: 16px 18px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
}

.mini-metric-label {
  color: rgba(248, 244, 238, 0.54);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.mini-metric-value {
  margin-top: 10px;
  font-family: "Fraunces", serif;
  font-size: 1.8rem;
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: #f8f4ee;
}

.mini-metric-subtext {
  margin-top: 8px;
  color: rgba(248, 244, 238, 0.72);
  line-height: 1.55;
}

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

.turning-grid-compact {
  margin-bottom: 14px;
}

.turning-note-compact {
  margin-top: 0;
  margin-bottom: 18px;
}

.turning-card {
  padding: 18px 18px 16px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(20, 33, 43, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(250, 244, 237, 0.78));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.turning-card.is-peak {
  background:
    radial-gradient(circle at top right, rgba(240, 187, 111, 0.16), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(252, 244, 232, 0.82));
}

.turning-card.is-trough {
  background:
    radial-gradient(circle at top right, rgba(83, 128, 192, 0.14), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(239, 245, 251, 0.82));
}

.turning-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.turning-window {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.turning-tag {
  padding: 5px 9px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.turning-card.is-peak .turning-tag {
  background: rgba(198, 106, 43, 0.12);
  color: #9b4f18;
}

.turning-card.is-trough .turning-tag {
  background: rgba(43, 106, 198, 0.12);
  color: #24518f;
}

.turning-title {
  margin: 14px 0 8px;
  font-family: "Fraunces", serif;
  font-size: 1.26rem;
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.turning-value-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}

.turning-value {
  font-family: "Fraunces", serif;
  font-size: 2rem;
  line-height: 1;
  letter-spacing: -0.04em;
}

.turning-ratio {
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(20, 33, 43, 0.06);
  color: var(--ink);
  font-size: 0.84rem;
  font-weight: 700;
}

.turning-date {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.turning-subtext {
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.55;
}

.turning-source {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.92rem;
}

.turning-source a {
  color: var(--accent);
  text-decoration: none;
}

.turning-source a:hover {
  text-decoration: underline;
}

.turning-note {
  margin-top: 14px;
  color: var(--muted);
  line-height: 1.65;
}

.change-grid,
.notes-grid {
  display: grid;
  gap: 16px;
}

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

.moving-average-summary {
  margin-bottom: 18px;
}

.numeraire-summary {
  margin-bottom: 18px;
}

.portfolio-compare-summary {
  margin-bottom: 18px;
}

.family-office-brief {
  order: -14;
}

.portfolio-compare-panel {
  order: -13;
}

.regime-overview-panel {
  order: -12;
  grid-column: 1 / -1;
}

.chart-panel-numeraire {
  order: -11;
  grid-column: 1 / -1;
}

.family-office-full {
  grid-column: 1 / -1;
}

.family-office-marketcap-liquidity-panel {
  order: -2.4;
}

.family-office-portfolio-panel {
  order: -10;
}

.family-office-divider-anchor {
  order: -9;
}

.family-office-global-panel {
  order: -8;
}

.family-office-exchina-panel {
  order: -7;
}

.family-office-long-rate-panel {
  order: -6;
}

.family-office-short-rate-panel {
  order: -5;
}

.family-office-divider-protection {
  order: -4;
}

.family-office-gold-panel {
  order: -3;
}

.family-office-gold-liquidity-panel {
  order: -2.5;
}

.family-office-putcall-panel {
  order: -2.45;
}

.family-office-oil-monthly-panel {
  order: -2;
}

.family-office-oil-daily-panel {
  order: -1;
}

.family-office-sp500-panel {
  order: 0;
}

.family-office-divider-radar {
  order: 1;
}

.family-office-radar-stack {
  order: 2;
}

.family-office-half {
  grid-column: span 6;
}

.family-office-half .section-head,
.family-office-side .section-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.family-office-half .comparison-actions,
.family-office-side .comparison-actions {
  width: 100%;
  justify-items: start;
}

.family-office-half .comparison-head-copy,
.family-office-side .comparison-head-copy {
  max-width: 36rem;
}

.family-office-half .comparison-head-copy h2,
.family-office-side .comparison-head-copy h2 {
  max-width: none;
}

.family-office-half .chart-stage {
  height: 430px;
}

.family-office-side .chart-stage {
  height: 500px;
}

.portfolio-compare-card-label {
  display: flex;
  align-items: center;
  gap: 10px;
}

.portfolio-compare-chip {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--compare-color);
  box-shadow: 0 0 0 4px var(--compare-glow);
}

.portfolio-risk-wrap {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  overflow-x: auto;
}

.numeraire-ranking-wrap {
  margin-top: 20px;
}

.family-office-overview .path-map-section {
  order: -60;
}

.family-office-overview .valuation-workspace {
  order: -59;
}

.family-office-overview .monitor-section {
  order: -58;
}

.family-office-overview .data-board-heading {
  order: -57;
}

.family-office-overview .family-office-global-panel {
  order: -56;
}

.family-office-overview .family-office-exchina-panel {
  order: -55;
}

.family-office-overview .family-office-marketcap-liquidity-panel {
  order: -54;
}

.family-office-overview .family-office-sp500-panel {
  order: -53;
}

.family-office-overview .family-office-gold-panel {
  order: -52;
}

.family-office-overview .family-office-long-rate-panel {
  order: -51;
}

.family-office-overview .family-office-short-rate-panel {
  order: -50;
}

.family-office-overview .family-office-gold-liquidity-panel {
  order: -49;
}

.family-office-overview .family-office-putcall-panel {
  order: -48;
}

.family-office-overview .family-office-oil-monthly-panel {
  order: -47;
}

.family-office-overview .family-office-oil-daily-panel {
  order: -46;
}

.family-office-overview .portfolio-compare-panel {
  order: -45;
}

.family-office-overview .family-office-portfolio-panel {
  order: -44;
}

.family-office-overview .regime-overview-panel {
  order: -43;
}

.family-office-overview .chart-panel-numeraire {
  order: -42;
}

.family-office-overview .family-office-radar-stack {
  order: -41;
}

.family-office-overview .data-board-heading {
  order: -70;
}

.family-office-overview .family-office-global-panel {
  order: -69;
}

.family-office-overview .family-office-exchina-panel {
  order: -68;
}

.family-office-overview .data-group-risk {
  order: -67;
}

.family-office-overview .family-office-sp500-panel {
  order: -66;
}

.family-office-overview .family-office-long-rate-panel {
  order: -65;
}

.family-office-overview .family-office-short-rate-panel {
  order: -64;
}

.family-office-overview .data-group-protection {
  order: -63;
}

.family-office-overview .family-office-gold-panel {
  order: -62;
}

.family-office-overview .family-office-gold-liquidity-panel {
  order: -61;
}

.family-office-overview .family-office-putcall-panel {
  order: -60;
}

.family-office-overview .family-office-marketcap-liquidity-panel {
  order: -59;
}

.family-office-overview .family-office-oil-monthly-panel {
  order: -58;
}

.family-office-overview .family-office-oil-daily-panel {
  order: -57;
}

.family-office-overview .data-group-portfolio {
  order: -56;
}

.family-office-overview .portfolio-compare-panel {
  order: -55;
}

.family-office-overview .family-office-portfolio-panel {
  order: -54;
}

.family-office-overview .regime-overview-panel {
  order: -53;
}

.family-office-overview .chart-panel-numeraire {
  order: -52;
}

.family-office-overview .data-group-rates {
  order: -51;
}

.family-office-overview .family-office-radar-stack {
  order: -48;
}

.family-office-overview .path-map-section {
  order: -120;
}

.family-office-overview .valuation-workspace {
  order: -119;
}

.family-office-overview .monitor-section {
  order: -118;
}

.family-office-overview .data-board-heading {
  order: -117;
}

.family-office-overview .family-office-global-panel {
  order: -116;
}

.family-office-overview .family-office-exchina-panel {
  order: -115;
}

.family-office-overview .data-group-risk {
  order: -114;
}

.family-office-overview .family-office-sp500-panel {
  order: -113;
}

.family-office-overview .family-office-long-rate-panel {
  order: -112;
}

.family-office-overview .family-office-short-rate-panel {
  order: -111;
}

.family-office-overview .data-group-protection {
  order: -110;
}

.family-office-overview .family-office-gold-panel {
  order: -109;
}

.family-office-overview .family-office-gold-liquidity-panel {
  order: -108;
}

.family-office-overview .family-office-putcall-panel {
  order: -107;
}

.family-office-overview .family-office-marketcap-liquidity-panel {
  order: -106;
}

.family-office-overview .family-office-oil-monthly-panel {
  order: -105;
}

.family-office-overview .family-office-oil-daily-panel {
  order: -104;
}

.family-office-overview .data-group-portfolio {
  order: -103;
}

.family-office-overview .portfolio-compare-panel {
  order: -102;
}

.family-office-overview .family-office-portfolio-panel {
  order: -101;
}

.family-office-overview .regime-overview-panel {
  order: -100;
}

.family-office-overview .chart-panel-numeraire {
  order: -99;
}

.family-office-overview .data-group-rates {
  order: -98;
}

.family-office-overview .family-office-radar-stack {
  order: -95;
}

.portfolio-risk-head {
  display: grid;
  gap: 4px;
  margin-bottom: 14px;
}

.portfolio-risk-head h3 {
  margin: 0;
  font-family: "Fraunces", serif;
  font-size: 1.1rem;
  color: #f8f4ee;
  letter-spacing: -0.02em;
}

.portfolio-risk-table {
  width: 100%;
  border-collapse: collapse;
  color: #f8f4ee;
}

.portfolio-risk-table th,
.portfolio-risk-table td {
  padding: 14px 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: left;
  vertical-align: middle;
}

.portfolio-risk-table thead th {
  padding-top: 0;
  color: rgba(248, 244, 238, 0.58);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-top: 0;
}

.portfolio-risk-name {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

.portfolio-risk-status {
  display: grid;
  gap: 4px;
  font-weight: 700;
}

.portfolio-risk-status.is-regime-bull {
  color: #79dbcf;
}

.portfolio-risk-status.is-regime-fade {
  color: #ffd471;
}

.portfolio-risk-status.is-regime-bear {
  color: #ff9f84;
}

.portfolio-risk-status.is-regime-repair {
  color: #9dcfff;
}

.portfolio-risk-status span {
  color: rgba(248, 244, 238, 0.62);
  font-size: 0.88rem;
  font-weight: 400;
}

.numeraire-status {
  display: grid;
  gap: 4px;
  font-weight: 700;
}

.numeraire-status.is-positive {
  color: #79dbcf;
}

.numeraire-status.is-negative {
  color: #ff9f84;
}

.numeraire-status.is-neutral {
  color: #9dcfff;
}

.numeraire-status span {
  color: rgba(248, 244, 238, 0.62);
  font-size: 0.88rem;
  font-weight: 400;
}

.etf-leaderboard-wrap {
  margin-top: 20px;
}

.etf-filter-controls {
  margin-top: 4px;
}

.etf-week-selector {
  margin-top: 8px;
  max-width: 360px;
}

.etf-leaderboard-table td {
  vertical-align: top;
}

.etf-week-range,
.etf-winner-cell {
  display: grid;
  gap: 4px;
}

.etf-week-range strong,
.etf-winner-symbol {
  font-weight: 700;
  color: #f8f4ee;
}

.etf-week-range span,
.etf-winner-name {
  color: rgba(248, 244, 238, 0.62);
  font-size: 0.9rem;
  line-height: 1.45;
}

.regime-overview-grid {
  margin-bottom: 18px;
}

.moving-average-card-meta {
  margin-top: 8px;
  color: rgba(248, 244, 238, 0.62);
  font-size: 0.9rem;
  line-height: 1.55;
}

.change-value {
  margin-top: 8px;
  font-size: 1.28rem;
  font-weight: 700;
}

.chart-panel .change-card {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
}

.chart-panel .change-label {
  color: rgba(248, 244, 238, 0.54);
}

.chart-panel .change-value.is-positive {
  color: var(--accent-bright);
}

.chart-panel .change-value.is-negative {
  color: #ffb28b;
}

.chart-panel .change-value.is-regime-bull {
  color: #79dbcf;
}

.chart-panel .change-value.is-regime-fade {
  color: #ffd471;
}

.chart-panel .change-value.is-regime-bear {
  color: #ff9f84;
}

.chart-panel .change-value.is-regime-repair {
  color: #9dcfff;
}

.is-positive {
  color: var(--accent);
}

.is-negative {
  color: var(--accent-alt);
}

.notes-grid {
  grid-template-columns: 1.2fr 1fr 1fr;
}

.notes-grid > div {
  padding: 22px;
  border: 1px solid rgba(20, 33, 43, 0.08);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.76), rgba(249, 243, 236, 0.7));
}

.notes-grid h3 {
  margin: 0 0 10px;
  font-family: "Fraunces", serif;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
}

.source-list {
  margin: 0;
  padding-left: 18px;
}

.source-list li + li {
  margin-top: 10px;
}

.source-list a {
  color: var(--accent);
  text-decoration: none;
}

.source-list a:hover {
  text-decoration: underline;
}

.error-panel {
  padding: 20px 24px;
  color: #8b3c0f;
  border-color: rgba(198, 106, 43, 0.22);
  background: rgba(253, 235, 222, 0.9);
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-card,
.chart-panel,
.notes-panel,
.stat-card {
  animation: riseIn 620ms ease both;
}

.stat-card:nth-child(2) {
  animation-delay: 60ms;
}

.stat-card:nth-child(3) {
  animation-delay: 120ms;
}

.stat-card:nth-child(4) {
  animation-delay: 180ms;
}

@media (max-width: 1024px) {
  .page-header,
  .hero-card,
  .hero-meta-grid,
  .hero-signal-grid,
  .family-office-brief-grid,
  .stats-grid,
  .lppls-grid,
  .mini-metrics,
  .turning-grid,
  .change-grid,
  .notes-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .family-office-overview {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .family-office-overview > *,
  .family-office-half,
  .family-office-side,
  .family-office-radar-stack {
    grid-column: 1 / -1;
  }

  .hero-card {
    grid-template-columns: 1fr;
  }

  .chart-panel-tertiary .section-head,
  .chart-panel-gold .section-head,
  .chart-panel-gold-liquidity .section-head,
  .chart-panel-marketcap-liquidity .section-head,
  .chart-panel-oil .section-head,
  .chart-panel-allocation-compare .section-head,
  .chart-panel-regime .section-head,
  .chart-panel-numeraire .section-head,
  .chart-panel-treasury .section-head,
  .chart-panel-moving-average .section-head,
  .chart-panel-cross-asset .section-head {
    grid-template-columns: 1fr;
  }

  .comparison-head-copy {
    max-width: none;
  }

  .comparison-actions,
  .comparison-actions-with-metric,
  .comparison-actions-simple,
  .comparison-actions-marketcap-liquidity {
    justify-content: start;
    width: 100%;
  }
}

@media (max-width: 720px) {
  .page-shell {
    width: min(100vw - 20px, 1180px);
    margin: 18px auto 36px;
  }

  .hero-card,
  .turning-panel,
  .chart-panel,
  .notes-panel,
  .stat-card {
    padding: 22px;
  }

  .page-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-meta-grid,
  .hero-signal-grid,
  .family-office-brief-grid,
  .stats-grid,
  .lppls-grid,
  .mini-metrics,
  .turning-grid,
  .change-grid,
  .notes-grid {
    grid-template-columns: 1fr;
  }

  .lppls-head,
  .lppls-timeline-meta,
  .lppls-chart-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .lppls-chart-stage {
    height: 230px;
  }

  .section-head,
  .chart-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .family-office-divider {
    align-items: flex-start;
    flex-direction: column;
  }

  .comparison-actions {
    justify-items: start;
    width: 100%;
  }

  .comparison-actions-with-metric,
  .comparison-actions-simple,
  .comparison-actions-marketcap-liquidity {
    grid-template-columns: 1fr;
    grid-template-areas:
      "metric"
      "years"
      "sample"
      "legend";
  }

  .comparison-actions-simple {
    grid-template-areas:
      "years"
      "sample"
      "legend";
  }

  .comparison-actions-marketcap-liquidity {
    grid-template-areas:
      "variant"
      "years"
      "legend";
  }

  .comparison-controls,
  .comparison-sample-range,
  .comparison-actions .chart-legend {
    justify-content: flex-start;
  }

  .comparison-head-copy h2 {
    max-width: none;
  }

  .comparison-sample-field {
    min-width: 132px;
  }

  .chart-stage {
    height: 380px;
  }

  .metric-value {
    font-size: clamp(2.8rem, 16vw, 5.4rem);
  }

  .signal-value {
    font-size: 1.6rem;
  }

  .chart-tooltip {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 6px;
  }
}

@media (max-width: 860px) {
  .dashboard-shell {
    width: min(100vw - 28px, 720px);
    margin: 28px auto 44px;
  }

  .dashboard-header.page-header {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .dashboard-header .article-nav.page-switcher {
    gap: 10px;
  }

  .dashboard-header .article-nav.page-switcher a,
  .dashboard-header .article-nav.page-switcher button {
    min-height: 36px;
    padding: 9px 14px;
  }

  .dashboard-title-row {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .dashboard-header .dashboard-title-row h1 {
    max-width: 8.5ch;
    font-size: clamp(3.25rem, 16vw, 5.1rem);
    line-height: 0.9;
  }

  .statement {
    max-width: 34rem;
    font-size: 1rem;
  }

  .dashboard-status-grid,
  .path-map,
  .valuation-card-grid,
  .valuation-workspace {
    grid-template-columns: 1fr;
  }

  .dashboard-range {
    justify-self: start;
    margin-top: 0;
  }

  .path-step {
    min-height: 0;
  }

  .monitor-table [role="row"] {
    grid-template-columns: 1fr;
  }

  .monitor-table strong,
  .monitor-table span {
    padding: 12px 14px;
  }
}

@media (max-width: 430px) {
  .dashboard-shell {
    width: min(100vw - 20px, 390px);
    margin-top: 20px;
  }

  .dashboard-header .dashboard-title-row h1 {
    font-size: clamp(2.85rem, 15vw, 4.1rem);
  }

  .section-heading h2 {
    font-size: clamp(1.8rem, 9vw, 2.4rem);
  }
}
