/* ============================================================
   FinanzHub — Dashboard (Tesla Dense × Editorial bridge)
   Tile-based layout with brass accent, Big Shoulders numbers
   ============================================================ */

.dash {
  position: relative;
  z-index: 2;
  padding: 24px 32px 40px;
  display: flex;
  gap: 18px;
  min-height: 100vh;
}
@media (max-width: 780px) {
  .dash { padding: 18px 16px 32px; flex-direction: column; }
}

/* ===== Left rail (icon nav) ===== */
.fh-rail {
  width: 64px;
  flex: 0 0 64px;
  background: rgba(8,8,10,.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 14px 0;
  display: flex; flex-direction: column;
  align-items: center;
  gap: 6px;
  position: sticky; top: 24px;
  height: calc(100vh - 56px);
}
.fh-rail-mark {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--accent);
  color: var(--bg);
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 16px;
  letter-spacing: -.02em;
  margin-bottom: 18px;
  cursor: pointer;
}
.fh-rail-btn {
  width: 40px; height: 40px;
  border-radius: 10px;
  display: grid; place-items: center;
  color: var(--ink-mute);
  transition: background .15s, color .15s;
  cursor: pointer;
}
.fh-rail-btn svg { width: 20px; height: 20px; }
.fh-rail-btn:hover { color: var(--ink); background: rgba(255,255,255,.04); }
.fh-rail-btn.active {
  color: var(--accent);
  background: var(--accent-soft);
}
.fh-rail-spacer { flex: 1; }
.fh-rail-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--surface-3);
  border: 1px solid var(--line);
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .04em;
  color: var(--ink);
}

@media (max-width: 780px) {
  .fh-rail {
    flex-direction: row; width: 100%; height: auto;
    padding: 10px 14px;
    overflow-x: auto;
    position: relative; top: 0;
  }
  .fh-rail-mark { margin-bottom: 0; margin-right: 8px; }
  .fh-rail-spacer { display: none; }
}

/* ===== Main column ===== */
.fh-main {
  flex: 1; min-width: 0;
  display: flex; flex-direction: column; gap: 18px;
}

/* ===== Top bar ===== */
.fh-topbar {
  display: flex; align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 4px 4px 10px;
}
.fh-topbar h1 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 32px;
  letter-spacing: -.01em;
  text-transform: uppercase;
  line-height: 1;
}
.fh-topbar h1 em {
  font-family: var(--font-italic);
  font-style: normal;
  font-weight: 500;
  text-transform: none;
  font-size: .72em;
  color: var(--ink-soft);
  margin-left: .4em;
  letter-spacing: 0;
}
.fh-topbar .greeting {
  font-size: 12px; color: var(--ink-mute);
  letter-spacing: .14em; text-transform: uppercase;
  margin-bottom: 4px;
}
.fh-topbar-right { display: flex; align-items: center; gap: 12px; }

/* ===== Tile primitive ===== */
.tile {
  background: rgba(13,14,18,.86);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 20px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  position: relative;
  transition: border-color .2s, transform .2s;
}
.tile:hover { border-color: var(--line-hi); }
.tile.tile-lg { padding: 28px; }
.tile.tile-flush { padding: 0; overflow: hidden; }

.tile-eyebrow {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 10.5px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 10px;
}
.tile-row {
  display: flex; align-items: center;
  justify-content: space-between;
  gap: 12px;
}

/* ===== Layout grids ===== */
.row-hero {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 18px;
}
.row-mid {
  display: grid;
  grid-template-columns: 1fr 1.4fr 1.2fr;
  gap: 18px;
}
.row-bottom {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 18px;
}
@media (max-width: 1100px) {
  .row-hero, .row-mid, .row-bottom { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .row-hero, .row-mid, .row-bottom { grid-template-columns: 1fr; }
}

/* ===== Net worth hero ===== */
.networth { min-height: 220px; display: flex; flex-direction: column; }
.networth-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(48px, 6vw, 72px);
  line-height: 1;
  letter-spacing: -.018em;
  color: var(--ink);
  font-variant-numeric: tabular-nums lining-nums;
  font-feature-settings: "tnum" 1, "lnum" 1;
  display: flex; align-items: baseline;
  gap: 4px;
  margin: 6px 0 0;
}
.networth-num .cur {
  color: var(--accent);
  font-size: .42em;
  font-weight: 700;
  margin-right: .1em;
  vertical-align: .22em;
}
.networth-num .dec {
  font-size: .36em;
  color: var(--ink-mute);
  font-weight: 600;
  margin-left: 4px;
}
.networth-meta {
  font-size: 11px;
  color: var(--ink-dim);
  margin: 8px 0 0;
  letter-spacing: .04em;
}

/* Delta chip */
.delta {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .02em;
}
.delta.up   { background: rgba(124,252,154,.10); color: var(--pos); }
.delta.down { background: rgba(210,132,132,.12); color: var(--neg); }

/* Sparkline svg */
.spark { width: 100%; height: 56px; display: block; margin-top: auto; }
.spark path.line { fill: none; stroke: var(--accent); stroke-width: 1.4; }
.spark path.fill { fill: var(--accent-soft); stroke: none; }
.spark circle.dot { fill: var(--accent); }

/* ===== Budget tile ===== */
.budget-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 38px;
  letter-spacing: -.012em;
  line-height: 1;
  font-variant-numeric: tabular-nums lining-nums;
  font-feature-settings: "tnum" 1, "lnum" 1;
}
.budget-num .cur { color: var(--accent); font-size: .58em; font-weight: 700; vertical-align: .22em; margin-right: .08em; }
.budget-bar {
  position: relative;
  height: 8px;
  background: var(--surface-3);
  border-radius: 4px;
  overflow: hidden;
  margin: 14px 0 12px;
}
.budget-bar-seg {
  position: absolute; top: 0; bottom: 0;
}
.budget-legend {
  display: flex; flex-wrap: wrap; gap: 10px;
}
.budget-legend-item {
  font-size: 10.5px; color: var(--ink-mute);
  display: flex; align-items: center; gap: 6px;
}
.budget-legend-item .swatch {
  width: 7px; height: 7px; border-radius: 2px;
  display: inline-block;
}
.budget-legend-item .v { color: var(--ink); font-family: var(--font-mono); }

.budget-foot {
  margin-top: 14px;
  font-size: 11px; color: var(--ink-dim);
  line-height: 1.5;
  font-family: var(--font-italic);
  font-style: normal;
}
.budget-foot .pos { color: var(--pos); font-style: normal; font-family: var(--font-mono); }
.budget-foot .neg { color: var(--neg); font-style: normal; font-family: var(--font-mono); }

/* ===== Sparquote (donut + text) ===== */
.sparquote {
  display: flex; align-items: center; gap: 16px;
}
.sparquote-donut {
  position: relative;
  width: 96px; height: 96px;
  flex-shrink: 0;
}
.sparquote-donut svg { transform: rotate(-90deg); }
.sparquote-donut .label {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 24px;
  letter-spacing: -.01em;
  color: var(--ink);
}
.sparquote-text { flex: 1; min-width: 0; }
.sparquote-text .num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -.01em;
}
.sparquote-text .num .cur { color: var(--accent); font-size: .68em; vertical-align: .22em; margin-right: .08em; }
.sparquote-text .meta {
  font-size: 11px;
  color: var(--ink-mute);
  margin-top: 4px;
}
.sparquote-text .foot {
  font-size: 10.5px;
  color: var(--ink-dim);
  margin-top: 10px;
  line-height: 1.5;
}
.sparquote-text .foot strong { color: var(--ink); font-weight: 600; }

.sparquote-trend {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.sparquote-trend svg {
  display: block;
  width: 100%;
  height: 44px;
}
.sparquote-trend svg .line {
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.5;
  stroke-linejoin: round;
  stroke-linecap: round;
}
.sparquote-trend svg .fill {
  fill: var(--accent);
  fill-opacity: .08;
}
.sparquote-trend svg .dot {
  fill: var(--accent);
  stroke: rgba(8,8,10,.92);
  stroke-width: 1.5;
}
.sparquote-trend .trend-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 8px;
  font-size: 10px;
  letter-spacing: .04em;
  color: var(--ink-mute);
  text-transform: uppercase;
}
.sparquote-trend .m-delta { font-family: var(--font-mono); font-size: 10.5px; }
.sparquote-trend .m-delta.pos { color: #6cc380; }
.sparquote-trend .m-delta.neg { color: #d56b6b; }
.sparquote-trend .m-end { color: var(--ink-soft); }

/* ===== Accounts tile ===== */
.acct-card {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 12px;
}
.acct-card .meta {
  font-size: 10.5px; color: var(--ink-mute);
  text-transform: uppercase; letter-spacing: .14em;
}
.acct-card .num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 32px;
  letter-spacing: -.01em;
  margin-top: 6px;
}
.acct-card .num .cur { color: var(--accent); font-size: .56em; vertical-align: .22em; margin-right: .08em; }
.acct-card .change {
  font-size: 11px;
  font-family: var(--font-mono);
  margin-top: 4px;
}
.acct-card .change.pos { color: var(--pos); }
.acct-card .change.neg { color: var(--neg); }

.acct-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}
.acct-pill {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 10px;
  text-align: left;
  font-size: 11px;
  cursor: pointer;
  transition: all .15s;
  color: var(--ink-soft);
}
.acct-pill:hover { background: var(--surface-3); border-color: var(--line-hi); }
.acct-pill.active {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: var(--accent);
}
.acct-pill .name { font-weight: 600; font-size: 11px; }
.acct-pill .bal { font-size: 10px; opacity: .75; margin-top: 1px; font-family: var(--font-mono); }

/* ===== Spending bars chart ===== */
.bars {
  position: relative;
  height: 120px;
  display: flex;
  align-items: flex-end;
  gap: 6px;
  margin-top: 14px;
}
.bar {
  flex: 1;
  background: var(--accent-soft);
  border-radius: 4px 4px 0 0;
  position: relative;
  transition: background .2s, transform .2s;
  min-height: 4px;
}
.bar:hover { background: var(--accent); }
.bar.peak { background: var(--accent); }

.bar-labels {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: var(--ink-dim);
  margin-top: 6px;
  font-family: var(--font-mono);
}

/* ===== Segmented control ===== */
.seg {
  display: flex;
  background: var(--surface-2);
  border-radius: 999px;
  padding: 3px;
  gap: 2px;
}
.seg button {
  font-size: 11px;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 999px;
  color: var(--ink-mute);
  transition: all .15s;
  font-family: var(--font-ui);
}
.seg button.active {
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 600;
}
.seg button:hover:not(.active) { color: var(--ink); }

/* ===== Recent activity list ===== */
.tx-row {
  display: flex; align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 20px;
  border-top: 1px solid var(--line);
  cursor: pointer;
  transition: background .15s;
}
.tx-row:hover { background: rgba(255,255,255,.02); }
.tx-left {
  display: flex; align-items: center; gap: 12px;
  min-width: 0;
}
.tx-icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: var(--surface-2);
  display: grid; place-items: center;
  font-size: 14px;
  color: var(--ink-soft);
  flex-shrink: 0;
}
.tx-name {
  font-size: 12px; font-weight: 500;
  color: var(--ink);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  max-width: 200px;
}
.tx-date {
  font-size: 10px; color: var(--ink-dim);
  margin-top: 1px;
  letter-spacing: .04em;
}
.tx-amount {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
}
.tx-amount.pos { color: var(--pos); }

.tile-link {
  font-size: 11px;
  color: var(--ink-mute);
  font-family: var(--font-italic);
  font-style: normal;
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
  transition: color .15s, border-color .15s;
}
.tile-link:hover { color: var(--ink); border-color: var(--ink-mute); }

/* ===== Goals ===== */
.goal { display: flex; flex-direction: column; gap: 6px; }
.goal-head {
  display: flex; justify-content: space-between;
  align-items: center;
  gap: 8px;
}
.goal-name {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 500;
}
.goal-name .glyph { font-size: 14px; color: var(--ink-mute); width: 18px; text-align: center; }
.goal-amount {
  font-size: 11px;
  font-family: var(--font-mono);
  color: var(--ink-mute);
}
.goal-amount strong { color: var(--ink); font-weight: 500; }
.goal-bar {
  height: 6px;
  background: var(--surface-3);
  border-radius: 3px;
  overflow: hidden;
}
.goal-bar-fill {
  height: 100%;
  background: var(--ink);
  opacity: .55;
  border-radius: 3px;
  transition: width .8s cubic-bezier(.2,.7,.3,1);
}
.goal-bar-fill.accent { background: var(--accent); opacity: 1; }
.goal-bar-fill.reached { background: #6cc380; opacity: 1; }
.goal-foot {
  font-size: 10.5px;
  color: var(--ink-dim);
  margin-top: 2px;
  line-height: 1.4;
}
.goal-foot strong {
  color: var(--ink);
  font-weight: 600;
}
.goal-foot .reached {
  color: #6cc380;
  font-weight: 600;
  letter-spacing: .04em;
}
.goals-warn {
  font-size: 10.5px;
  color: #d8a35e;
  background: rgba(216,163,94,.08);
  border-left: 2px solid #d8a35e;
  padding: 8px 10px;
  margin-bottom: 12px;
  line-height: 1.4;
}

/* ===== Upcoming ===== */
.upcoming-row {
  display: flex; align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.upcoming-row + .upcoming-row { margin-top: 12px; }
.upcoming-left {
  display: flex; align-items: center; gap: 12px;
  min-width: 0;
}
.upcoming-date {
  width: 36px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--ink-mute);
  border-right: 1px solid var(--line);
  padding-right: 8px;
  flex-shrink: 0;
}
.upcoming-name {
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.upcoming-kind {
  font-size: 10px;
  color: var(--ink-dim);
  margin-top: 1px;
}
.upcoming-amount {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  white-space: nowrap;
}
.upcoming-amount.pos { color: var(--pos); }
.upcoming-amount.dim { color: var(--ink-dim); }

/* ===== Categories donut ===== */
.cat-donut-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
}
.cat-list {
  flex: 1; min-width: 0;
  display: flex; flex-direction: column;
  gap: 6px;
}
.cat-row {
  display: flex; justify-content: space-between;
  font-size: 11px;
  align-items: center;
}
.cat-row .name {
  display: flex; align-items: center; gap: 6px;
  min-width: 0;
  color: var(--ink-mute);
}
.cat-row .name .swatch {
  width: 7px; height: 7px;
  border-radius: 2px;
  flex-shrink: 0;
}
.cat-row .name span:not(.swatch) {
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.cat-row .pct {
  color: var(--ink); font-family: var(--font-mono); font-size: 10.5px;
}

/* ===== Empty-State CTA (großzügiger Klickbereich + klares Affordance-Symbol) ===== */
.empty-cta {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 140px;
  padding: 22px 16px;
  background: transparent;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  color: var(--ink-mute);
  cursor: pointer;
  font: inherit;
  transition: border-color .18s ease, background .18s ease, color .18s ease, transform .18s ease;
  text-align: center;
}
.empty-cta:hover,
.empty-cta:focus-visible {
  border-color: var(--accent);
  background: rgba(255,255,255,.06);
  color: var(--ink);
  outline: none;
  transform: translateY(-1px);
}
.empty-cta-plus {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line);
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 24px;
  line-height: 1;
  color: var(--accent);
  transition: border-color .18s ease, background .18s ease, transform .18s ease;
}
.empty-cta:hover .empty-cta-plus,
.empty-cta:focus-visible .empty-cta-plus {
  border-color: var(--accent);
  background: rgba(255,255,255,.08);
  transform: scale(1.05);
}
.empty-cta-text {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-size: 12px;
  color: var(--ink);
}
.empty-cta-hint {
  font-family: var(--font-italic);
  font-style: normal;
  font-size: 11.5px;
  color: var(--ink-mute);
  line-height: 1.4;
}

/* ===== Insights Row ===== */
.row-insights {
  margin: 18px 0 0;
  padding: 16px 18px;
  background: rgba(8,8,10,.4);
  border: 1px solid var(--line);
  border-left: 2px solid var(--accent);
  border-radius: 0;
}
.row-insights.row-insights-empty {
  display: flex;
  align-items: baseline;
  gap: 14px;
  border-left-color: var(--line-hi);
}
.row-insights-eyebrow {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
}
.row-insights-empty .row-insights-eyebrow { color: var(--ink-mute); }
.row-insights-empty-text {
  font-family: var(--font-italic);
  font-style: normal;
  font-size: 13px;
  color: var(--ink-soft);
}
.row-insights-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 12px;
}
.row-insights-count {
  font-size: 11px;
  color: var(--ink-mute);
  letter-spacing: .04em;
}
.row-insights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
@media (max-width: 1100px) {
  .row-insights-grid { grid-template-columns: 1fr; }
}
.insight-card {
  padding: 12px 14px;
  background: rgba(8,8,10,.5);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.insight-card-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.insight-card-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .04em;
  color: var(--ink);
}
.insight-card-delta {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
}
.insight-card.up .insight-card-delta { color: #d56b6b; }
.insight-card.down .insight-card-delta { color: #6cc380; }
.insight-card-line {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: center;
  font-size: 11px;
  color: var(--ink-soft);
}
.insight-card-line em {
  display: block;
  font-style: normal;
  font-size: 9.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.insight-card-line strong {
  display: block;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
}
.insight-card-line .avg { text-align: right; }
.insight-card-line .bar-mini {
  height: 2px;
  background: var(--line);
  position: relative;
}
.insight-card.up .bar-mini-avg {
  position: absolute; top: -1px;
  width: 2px; height: 4px;
  background: var(--ink-soft);
}
.insight-card-foot {
  font-size: 10.5px;
  color: var(--ink-mute);
  font-family: var(--font-italic);
  font-style: normal;
}

/* ===== Helper rows ===== */
.fh-row { display: flex; align-items: center; gap: 8px; }
.fh-row.between { justify-content: space-between; }

/* ============================================================
   Mobile-Polish (≤ 720px)
   - Compact paddings, smaller numbers, safer wrapping
   - All numeric tiles can break long values gracefully
   ============================================================ */
@media (max-width: 720px) {
  .dash { padding: 16px 14px 32px; gap: 14px; }
  .row-hero, .row-mid, .row-bottom { gap: 14px; }

  /* Generic tile compaction */
  .tile {
    padding: 16px 16px;
    border-radius: 14px;
  }
  .tile-eyebrow {
    font-size: 9px;
    letter-spacing: .22em;
    margin-bottom: 8px;
  }

  /* Hero networth: smaller, allow wrap */
  .networth { min-height: 0; }
  .networth-num {
    font-size: clamp(34px, 9vw, 48px);
    flex-wrap: wrap;
    overflow-wrap: anywhere;
    word-break: break-word;
  }
  .networth-meta { font-size: 10px; }

  /* Budget tile */
  .budget-num {
    font-size: clamp(28px, 8vw, 40px);
    overflow-wrap: anywhere;
  }

  /* Sparquote tile — donut + text stack vertically */
  .sparquote {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 14px;
  }
  .sparquote-text .num {
    font-size: clamp(22px, 6vw, 32px);
    overflow-wrap: anywhere;
  }
  .sparquote-text .meta,
  .sparquote-text .foot {
    font-size: 11px;
    overflow-wrap: anywhere;
    word-break: break-word;
  }
  .sparquote-trend { margin-top: 10px; }

  /* Accounts tile */
  .acct-name { font-size: 14px; }
  .num { overflow-wrap: anywhere; }

  /* Spending bars: less vertical space */
  .bar-chart { height: 90px; }

  /* Recent activity / Upcoming row */
  .activity-row, .upcoming-row {
    grid-template-columns: 1fr auto;
    gap: 8px;
  }

  /* Goals + Categories donut grids stack */
  .row-bottom .tile { padding: 14px 14px; }

  /* Fixed-bottom nav adds 92px from editorial.css; ensure dash content has matching headroom */
}
