/* ══════════════════════════════════════════════════════
   HOME — glass redesign ("frosted panes on warm paper")
   One glass Home, three user states (trial pre-sample,
   trial post-sample, paid) + the Results screen reuse the
   same shell and components. Colorway lives in the vars
   below so it can be retuned in one place.
   ══════════════════════════════════════════════════════ */
.home-shell {
  --hm-accent: #3D5A80;
  --hm-accent-glow: rgba(61, 90, 128, 0.45);
  --hm-green: #3E7250;
  --hm-clay: #9E4B3B;
  --hm-amber: #B45309;
  /* breakdown-only palette: harmonized low-chroma steel / sage / clay */
  --hm-bd-blue: #7291B9;
  --hm-bd-green: #5F7E63;
  --hm-bd-clay: #A6745A;
  --hm-ink: #26241F;
  --hm-ink-2: #5A574F;
  --hm-ink-3: #8B887E;
  --hm-mute: #A8A498;
  --hm-hairline: rgba(220, 215, 205, 0.6);
  --hm-track: rgba(150, 140, 120, 0.16);
  --hm-band-top: #DFEEDF;
  --hm-band-above: #EDF4EC;
  --hm-band-avg: #FBF5E3;
  --hm-band-below: #FBEEEA;
  /* glass panes */
  --hm-pane: linear-gradient(155deg, rgba(255, 255, 255, 0.66), rgba(250, 248, 243, 0.5));
  --hm-pane-border: rgba(255, 255, 255, 0.8);
  --hm-pane-shadow: 0 1px 2px rgba(60, 55, 45, 0.05), 0 16px 36px rgba(60, 55, 45, 0.1);
  --hm-pane-soft: linear-gradient(155deg, rgba(255, 255, 255, 0.6), rgba(250, 248, 243, 0.42));
  --hm-pane-soft-border: rgba(255, 255, 255, 0.75);
  --hm-pane-soft-shadow: 0 1px 2px rgba(60, 55, 45, 0.04), 0 10px 24px rgba(60, 55, 45, 0.07);
  --hm-well: linear-gradient(155deg, rgba(255, 255, 255, 0.5), rgba(250, 248, 243, 0.36));
  --hm-cool: linear-gradient(155deg, rgba(224, 231, 244, 0.64), rgba(210, 219, 238, 0.48));
  --hm-cool-border: rgba(255, 255, 255, 0.72);
  --hm-cool-shadow: 0 1px 2px rgba(40, 52, 74, 0.06), 0 18px 40px rgba(40, 52, 74, 0.15);
  --hm-cool-ink: #7E8A9C;
  --hm-cool-ink-2: #6E7A8C;
  --hm-navy: linear-gradient(155deg, rgba(40, 52, 74, 0.9), rgba(28, 34, 50, 0.94));
  --hm-navy-deep: linear-gradient(155deg, rgba(40, 52, 74, 0.94), rgba(28, 34, 50, 0.96));
  --hm-navy-shadow: 0 2px 6px rgba(20, 26, 40, 0.28), 0 22px 46px rgba(20, 26, 40, 0.34);
  --hm-sage: linear-gradient(155deg, rgba(60, 78, 54, 0.9), rgba(44, 58, 40, 0.94));
  --hm-sage-shadow: 0 2px 6px rgba(20, 18, 16, 0.24), 0 22px 46px rgba(20, 18, 16, 0.3);
  --hm-coach: linear-gradient(155deg, rgba(150, 168, 134, 0.92), rgba(122, 142, 106, 0.95));
  --hm-coach-shadow: 0 2px 6px rgba(70, 82, 58, 0.2), 0 22px 46px rgba(70, 82, 58, 0.28);
  --hm-hero-tint: linear-gradient(160deg, rgba(120, 150, 205, 0.18), rgba(120, 150, 205, 0.03));
  --hm-mono: ui-monospace, Menlo, Monaco, monospace;

  display: flex;
  align-items: stretch;
  min-height: 100vh;
  color: var(--hm-ink);
}
/* Refraction blobs behind the glass: cobalt top-right, sage bottom-left,
   clay bottom-right. Fixed so they read as ambient light while scrolling.
   (Paints above the global body::before grid, below all content.) */
.home-shell::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    radial-gradient(ellipse 40% 44% at 76% 12%, rgba(120, 150, 205, 0.28), transparent 70%),
    radial-gradient(ellipse 46% 50% at 12% 82%, rgba(150, 168, 134, 0.32), transparent 72%),
    radial-gradient(ellipse 34% 40% at 92% 88%, rgba(158, 120, 90, 0.16), transparent 70%);
}

/* ── Sidebar (glass) ──────────────────────────────────── */
.home-sidebar {
  width: 220px;
  flex-shrink: 0;
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 20px 14px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.5), rgba(250, 248, 243, 0.34));
  border-right: 1px solid rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(20px) saturate(1.1);
  -webkit-backdrop-filter: blur(20px) saturate(1.1);
}
.home-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 4px 10px 24px;
  background: none;
  border: none;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
}
.home-brand:hover .home-brand-name { color: var(--hm-accent); }
.home-brand-mark {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  display: block;
}
.home-brand-name {
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: -0.2px;
  color: var(--hm-ink);
}
.home-nav {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.home-nav-item {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 9px 11px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: transparent;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--hm-ink-2);
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.12s, color 0.12s;
}
.home-nav-item svg { color: var(--hm-ink-3); flex-shrink: 0; }
.home-nav-item:hover { background: rgba(255, 255, 255, 0.45); color: var(--hm-ink); }
.home-nav-item.active {
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(255, 255, 255, 0.8);
  box-shadow: 0 1px 2px rgba(60, 55, 45, 0.05);
  color: #2C3E5C;
  font-weight: 600;
}
.home-nav-item.active svg { color: var(--hm-accent); }
.home-nav-kicker {
  font-family: var(--hm-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--hm-mute);
  padding: 26px 11px 8px;
}
.home-user {
  margin-top: auto;
  border: none;
  border-top: 1px solid rgba(220, 215, 205, 0.7);
  background: transparent;
  font-family: inherit;
  padding: 14px 0 0 4px;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  text-align: left;
  border-radius: 0;
}
.home-user:hover .home-user-name { color: var(--hm-accent); }
.home-user-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(150deg, #DAD6CA, #C8C4B6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 600;
  color: var(--hm-ink-2);
  flex-shrink: 0;
  overflow: hidden;
}
.home-user-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.home-user-meta { display: flex; flex-direction: column; min-width: 0; }
.home-user-name {
  font-size: 12.5px;
  font-weight: 550;
  color: var(--hm-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.12s;
}
.home-user-plan { font-size: 11px; color: var(--hm-mute); }

/* ── Main column ──────────────────────────────────────── */
.home-main {
  flex: 1;
  min-width: 0;
  max-width: 1120px;
  padding: 0 34px 40px;
}
.home-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid var(--hm-hairline);
  margin-bottom: 26px;
  /* keep clear of the fixed Clerk avatar in the top-right corner */
  padding-right: 56px;
}
.home-crumb {
  font-size: 12.5px;
  color: var(--hm-mute);
  display: flex;
  align-items: center;
}
.home-crumb-sep { margin: 0 5px; }
.home-crumb-cur { color: var(--hm-ink-2); }
.home-crumb-link {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  color: var(--hm-mute);
  cursor: pointer;
}
.home-crumb-link:hover { color: var(--hm-accent); }
.home-topbar-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.home-greeting {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.2px;
  color: var(--hm-ink);
  margin: 0 0 22px;
}

/* ── Shared glass pane + kicker ───────────────────────── */
.home-card {
  background: var(--hm-pane);
  border: 1px solid var(--hm-pane-border);
  border-radius: 9px;
  box-shadow: var(--hm-pane-shadow);
  backdrop-filter: blur(20px) saturate(1.1);
  -webkit-backdrop-filter: blur(20px) saturate(1.1);
  padding: 20px 22px;
}
/* gentle lift on hover so the glass feels alive */
.home-card,
.home-kpis {
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.home-card:hover,
.home-kpis:hover {
  transform: translateY(-2px);
  box-shadow: 0 2px 4px rgba(60, 55, 45, 0.06), 0 22px 44px rgba(60, 55, 45, 0.13);
}
.home-card--cool:hover {
  box-shadow: 0 2px 4px rgba(40, 52, 74, 0.08), 0 24px 48px rgba(40, 52, 74, 0.18);
}
.home-card--cool {
  background: var(--hm-cool);
  border-color: var(--hm-cool-border);
  box-shadow: var(--hm-cool-shadow);
  backdrop-filter: blur(22px) saturate(1.1);
  -webkit-backdrop-filter: blur(22px) saturate(1.1);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .home-card { background: rgba(255, 255, 255, 0.92); }
  .home-card--cool { background: rgba(224, 231, 244, 0.92); }
  .home-sidebar { background: rgba(252, 251, 248, 0.96); }
}
.home-kicker {
  font-family: var(--hm-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--hm-mute);
}
.home-kicker--cool { color: var(--hm-cool-ink); }
.home-card-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 14px;
}
.home-card-note { font-size: 11.5px; color: var(--hm-ink-3); text-align: right; }
.home-card--cool .home-card-note { color: var(--hm-cool-ink-2); }
.home-link-btn {
  border: none;
  background: none;
  font-family: inherit;
  font-size: 12px;
  color: var(--hm-ink-3);
  cursor: pointer;
  padding: 0;
}
.home-link-btn:hover { color: var(--hm-accent); }

/* recessed chart well (score trend, this-run-in-context) */
.home-chart-well {
  border-radius: 7px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: inset 0 1px 4px rgba(40, 52, 74, 0.1);
}

/* ── Rows ─────────────────────────────────────────────── */
.home-shell [hidden] { display: none !important; }
.home-row { display: grid; gap: 20px; margin-bottom: 22px; }
.home-row--actions { grid-template-columns: 1.15fr 1fr; }
.home-row--actions.home-row--trial { grid-template-columns: 1fr; }
.home-row--trend { grid-template-columns: 1.5fr 1fr; }

/* ── KPI shelf: one continuous frosted plate ──────────── */
.home-kpis {
  display: grid;
  grid-template-columns: 1.18fr 1fr 1fr 1fr;
  border-radius: 9px;
  overflow: hidden;
  margin-bottom: 22px;
  background: var(--hm-pane);
  border: 1px solid var(--hm-pane-border);
  box-shadow: var(--hm-pane-shadow);
  backdrop-filter: blur(20px) saturate(1.1);
  -webkit-backdrop-filter: blur(20px) saturate(1.1);
}
.home-kpis[hidden] { display: none; }
.home-kpi {
  padding: 19px 22px 16px;
  display: flex;
  flex-direction: column;
  min-height: 148px;
  border-right: 1px solid rgba(255, 255, 255, 0.5);
  background: none;
  border-top: none;
  border-bottom: none;
  border-left: none;
  font-family: inherit;
  text-align: left;
}
.home-kpi:last-child { border-right: none; }
.home-kpi--hero {
  background: var(--hm-hero-tint);
  border-right: 1px solid rgba(255, 255, 255, 0.6);
}
.home-kpi-label {
  font-family: var(--hm-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--hm-mute);
  margin-bottom: 11px;
}
.home-kpi--hero .home-kpi-label { color: #5E6E86; }
.home-kpi-value {
  font-size: 29px;
  font-weight: 600;
  letter-spacing: -0.5px;
  color: var(--hm-ink);
  line-height: 1.05;
}
.home-kpi--hero .home-kpi-value { font-size: 33px; letter-spacing: -0.6px; }
.home-kpi-value small {
  font-size: 16px;
  font-weight: 500;
  color: var(--hm-mute);
}
.home-kpi-spark { display: block; width: 100%; margin-top: 11px; }
.home-kpi-foot {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 11px;
  color: var(--hm-mute);
  margin-top: auto;
  padding-top: 11px;
}
.home-kpi--hero .home-kpi-foot { color: var(--hm-cool-ink-2); }
.home-kpi-foot b { font-weight: 600; }

/* ── Start training: dark frosted launch cards ────────── */
.home-training-kicker { margin-bottom: 13px; }
.home-training-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
/* Trial: 3 cards, always one row (panel spans the full actions row) */
.home-training--trial .home-training-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 760px) {
  .home-training--trial .home-training-grid { grid-template-columns: 1fr; }
}
.home-launch-card {
  position: relative;
  overflow: hidden;
  display: flex;
  min-height: 196px;
  border-radius: 9px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.home-training--trial .home-launch-card { min-height: 188px; }
.home-launch-card:hover { transform: translateY(-3px) scale(1.01); }
/* variant selectors carry .home-training so they outrank the legacy
   .dash-action-card.locked skin in test.css */
.home-launch--navy,
.home-training .dash-action-card.home-launch--navy {
  background: var(--hm-navy);
  box-shadow: var(--hm-navy-shadow);
}
.home-launch--sage,
.home-training .dash-action-card.home-launch--sage {
  background: var(--hm-sage);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: var(--hm-sage-shadow);
}
.home-launch-glow {
  position: absolute;
  top: -40px;
  right: -30px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(140, 170, 225, 0.4), transparent 68%);
  pointer-events: none;
}
.home-launch--sage .home-launch-glow {
  background: radial-gradient(circle, rgba(150, 180, 130, 0.34), transparent 68%);
}
/* darkening scrim over the locked dark cards' lower half */
.home-launch-lockveil {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 96px;
  /* No backdrop-filter here: the negligible blur it added created a
     separate compositing layer that, once the card gains a hover
     transform, washed out the white pill and could paint over the lock.
     A plain gradient scrim behaves predictably. */
  background: linear-gradient(180deg, rgba(18, 24, 38, 0) 0%, rgba(18, 24, 38, 0.18) 55%, rgba(18, 24, 38, 0.34) 100%);
  pointer-events: none;
  transition: opacity 0.2s ease;
}
/* Fade the dark scrim out on hover: the card brightens, the lock stays
   clear, and it dodges a backdrop-filter compositing quirk where the
   veil paints over the lock once the card gets a hover transform. */
.home-launch--lockdark:hover .home-launch-lockveil { opacity: 0; }
.home-launch-body {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 20px;
}
.home-launch-title {
  display: flex;
  align-items: center;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 6px;
}
/* repeat glyph beside the Full/Quick titles: these modes regenerate fresh
   items every run (unlike the fixed-seed trial card, which never gets one) */
.home-launch-titlerow {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 6px;
}
.home-launch-titlerow .home-launch-title { margin-bottom: 0; }
.home-repeat-ico {
  display: inline-flex;
  color: rgba(255, 255, 255, 0.6);
}
.home-launch-sub {
  font-size: 12.5px;
  line-height: 1.55;
  color: rgba(236, 242, 252, 0.72);
  margin-bottom: 18px;
}
.home-launch--sage .home-launch-sub { color: rgba(240, 238, 233, 0.66); }
.home-lock-ico {
  display: inline-flex;
  margin-right: 7px;
  color: rgba(255, 255, 255, 0.75);
}
/* CTA: white filled by default (the primary action on dark cards).
   The .home-training prefix outranks test.css's .locked CTA recolor by
   source order. NOTE: do NOT add a :hover variant of this selector — it
   would raise the width:100% specificity above the locked pill's
   width:auto and make the pill expand to full width on hover. */
.home-training .home-launch-card .dash-action-cta,
.home-launch-card .dash-action-cta {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: 100%;
  padding: 12px 18px;
  border-radius: 6px;
  background: #fff;
  border: 1px solid transparent;
  box-shadow: 0 6px 16px rgba(15, 20, 34, 0.4);
  color: #22314a;
  transition: filter 0.15s, background 0.15s;
}
.home-launch-card:hover .dash-action-cta { filter: brightness(0.96); }
.home-launch-card .dash-action-cta-label { color: inherit; font-size: 13.5px; font-weight: 600; }
.home-launch-card .dash-action-cta-ico { display: inline-flex; color: inherit; }
.home-launch-arrow { font-size: 14px; line-height: 1; }
/* dark ghost CTA (paid Quick Practice) */
.home-training .home-launch--ghostdark .dash-action-cta,
.home-launch--ghostdark .dash-action-cta {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
  box-shadow: none;
}
.home-training .home-launch--ghostdark:hover .dash-action-cta,
.home-launch--ghostdark:hover .dash-action-cta {
  background: rgba(255, 255, 255, 0.18);
  filter: none;
}
/* locked dark card: scrim on, CTA collapses to a white pill */
.home-launch--lockdark .dash-action-cta,
.home-training .home-launch--lockdark .dash-action-cta {
  width: auto;
  align-self: flex-start;
  display: inline-flex;
  border-radius: 999px;
  padding: 9px 16px;
}
.home-launch--lockdark .dash-action-cta-label { font-size: 13px; }
/* locked cards react by shaking their lock, not by resizing the pill */
.home-launch--lockdark .dash-action-cta-ico { transition: transform 0.2s ease; }
.home-launch--lockdark:hover .dash-action-cta-ico { animation: lockShake 0.5s ease; }
@keyframes lockShake {
  0%, 100% { transform: translateX(0) rotate(0); }
  18% { transform: translateX(-1.5px) rotate(-11deg) scale(1.12); }
  38% { transform: translateX(1.5px) rotate(9deg) scale(1.12); }
  58% { transform: translateX(-1px) rotate(-6deg) scale(1.08); }
  78% { transform: translateX(1px) rotate(4deg) scale(1.05); }
}
/* frosted light card (trial pre-sample locked modes + post-sample retake) */
.home-launch--frost,
.home-training .dash-action-card.home-launch--frost {
  background: var(--hm-well);
  border-color: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--hm-pane-soft-shadow);
}
.home-launch--frost .home-launch-glow { display: none; }
.home-launch--frost .home-launch-title { color: var(--hm-ink-2); }
.home-launch--frost .home-launch-sub { color: var(--hm-ink-3); }
.home-launch--frost .home-lock-ico { color: var(--hm-mute); }
.home-launch--frost .home-repeat-ico { color: var(--hm-mute); }
.home-training .home-launch--frost .dash-action-cta,
.home-launch--frost .dash-action-cta {
  background: rgba(255, 255, 255, 0.55);
  border-color: rgba(200, 195, 182, 0.8);
  color: var(--hm-ink-2);
  box-shadow: none;
}
.home-training .home-launch--frost:hover .dash-action-cta,
.home-launch--frost:hover .dash-action-cta { background: rgba(255, 255, 255, 0.8); filter: none; }
/* trial card order: vivid launch first pre-sample, retake last post-sample */
.home-training--pre #home-trial-card { order: -1; }
.home-training--post #home-trial-card { order: 99; }

/* neutralize the legacy .dash-action-card skin from test.css */
.home-training .dash-action-card {
  border-radius: 9px;
  flex-direction: row;
  align-items: stretch;
}
.home-training .dash-action-card.selected,
.home-training .dash-action-card.selected:hover { box-shadow: var(--hm-navy-shadow); }
.home-training .dash-action-card.locked { cursor: pointer; }

/* ── Coach's note (sage glass) ────────────────────────── */
.home-coach {
  position: relative;
  overflow: hidden;
  background: var(--hm-coach);
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: var(--hm-coach-shadow);
  padding: 22px 24px;
}
.home-coach-kicker { color: rgba(255, 255, 255, 0.75); margin-bottom: 13px; }
.home-coach-text {
  font-size: 14px;
  line-height: 1.62;
  color: #F3F6EF;
}
.home-coach-text strong,
.home-coach-text b { color: #fff; font-weight: 600; }
.home-coach-rows {
  margin-top: 15px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.home-coach-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.82);
}
.home-coach-row b { font-weight: 600; color: #fff; }
.home-coach-row b.coach-val-focus { color: #FBE9D6; }
.home-coach-cta {
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 600;
  color: #3B4733;
  background: #fff;
  border: none;
  border-radius: 6px;
  padding: 12px 18px;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(52, 64, 44, 0.28);
  transition: filter 0.15s;
}
.home-coach-cta:hover { filter: brightness(0.96); }

/* The trial coach note sits below the full-width 3-card panel, so without
   a cap it stretches the whole row. Constrain it to the paid coach's
   width and keep a compact vertical card (short copy + auto-width CTA)
   so it reads as a focused callout, not a banner. */
.home-coach--trial {
  max-width: 520px;
  padding: 20px 22px;
}
.home-coach--trial .home-coach-kicker { margin-bottom: 10px; }
.home-coach--trial #home-coach-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.home-coach--trial .home-coach-text { font-size: 13.5px; line-height: 1.55; }
.home-coach--trial .home-coach-cta { margin-top: 16px; width: auto; }
@media (max-width: 640px) {
  .home-coach--trial { max-width: none; }
  .home-coach--trial .home-coach-cta { width: 100%; }
}

/* ── Score trend ──────────────────────────────────────── */
#home-trend-chart svg { width: 100%; display: block; cursor: crosshair; }
#home-trend-chart svg.home-teaser-svg { cursor: default; }
.home-trend-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 12px;
  font-size: 11px;
  color: var(--hm-cool-ink-2);
}
.home-trend-legend span { display: inline-flex; align-items: center; gap: 6px; }
.home-legend-swatch {
  width: 10px;
  height: 10px;
  border-radius: 3px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  flex-shrink: 0;
}
.home-legend-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex-shrink: 0;
}
.home-legend-dash {
  width: 14px;
  height: 0;
  border-top: 2px dashed #B9B5AA;
  flex-shrink: 0;
}
.home-trend-fullonly {
  margin-left: auto;
  font-style: italic;
  color: var(--hm-cool-ink-2);
  white-space: nowrap;
}

/* ── Recent runs (frosted chips) ──────────────────────── */
.home-runs-clip { position: relative; }
#home-runs-list { display: flex; flex-direction: column; gap: 8px; }
.home-run {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 12px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.72);
}
.home-run-pct {
  font-family: var(--hm-mono);
  font-size: 10px;
  font-weight: 600;
  flex-shrink: 0;
  min-width: 42px;
}
.home-run-name {
  font-size: 12.5px;
  font-weight: 550;
  color: var(--hm-ink);
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.home-run-name span { color: var(--hm-mute); font-weight: 400; }
.home-run-date { font-size: 11px; color: var(--hm-mute); flex-shrink: 0; }
/* pre-sample: decorative blurred placeholder rows + overlay */
#home-runs-list.home-runs-blur {
  filter: blur(4px);
  opacity: 0.55;
  user-select: none;
  pointer-events: none;
}
.home-runs-empty {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 6px;
  padding: 0 14px;
}
.home-runs-empty-title { font-size: 13px; font-weight: 600; color: var(--hm-ink); }
.home-runs-empty-sub { font-size: 12px; line-height: 1.5; color: var(--hm-ink-3); }

/* ── Breakdown / snapshot (frosted well grid) ─────────── */
.home-breakdown { margin-bottom: 22px; padding: 22px 24px; }
.home-breakdown-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-radius: 7px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.8);
  background: var(--hm-well);
}
.home-breakdown-grid > div { padding: 15px 18px 11px; border-right: 1px solid rgba(255, 255, 255, 0.6); min-width: 0; }
.home-breakdown-grid > div:last-child { border-right: none; }
.home-bd-colhead {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-bottom: 1px solid var(--hm-hairline);
  padding-bottom: 9px;
  margin-bottom: 8px;
}
.home-bd-colhead .home-bd-dom {
  font-family: var(--hm-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--hm-ink-3);
}
.home-bd-colhead .home-bd-avg {
  font-family: var(--hm-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--hm-ink-2);
}
.home-bd-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 7px 0;
  cursor: pointer;
  border: none;
  background: transparent;
  width: 100%;
  font-family: inherit;
  text-align: left;
  border-radius: 6px;
}
.home-bd-row:hover .home-bd-name { color: var(--hm-ink); }
.home-bd-row.expanded {
  background: rgba(255, 255, 255, 0.55);
  padding: 7px 8px;
  margin: 0 -8px;
  width: calc(100% + 16px);
}
.home-bd-name {
  width: 100px;
  flex-shrink: 0;
  font-size: 12.5px;
  color: var(--hm-ink-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.12s;
}
.home-bd-row.expanded .home-bd-name { font-weight: 600; }
.home-bd-row.focus .home-bd-name,
.home-bd-row.focus .home-bd-pct { color: var(--hm-clay); font-weight: 600; }
.home-bd-row.best .home-bd-pct { color: var(--hm-green); }
.home-bd-track {
  display: block;
  flex: 1;
  height: 6px;
  background: var(--hm-track);
  border-radius: 3px;
  position: relative;
  min-width: 40px;
}
.home-bd-fill {
  display: block;
  height: 6px;
  border-radius: 3px;
  background: var(--hm-bd-blue);
}
.home-bd-row.best .home-bd-fill { background: var(--hm-bd-green); }
.home-bd-row.focus .home-bd-fill { background: var(--hm-bd-clay); }
.home-bd-marker {
  position: absolute;
  top: -3px;
  width: 2px;
  height: 12px;
  background: var(--hm-ink);
  opacity: 0.4;
}
.home-bd-pct {
  font-family: var(--hm-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--hm-ink-2);
  width: 32px;
  text-align: right;
  flex-shrink: 0;
}
.home-bd-trend { font-size: 9px; flex-shrink: 0; width: 10px; }
.home-bd-trend.up { color: var(--hm-bd-green); }
.home-bd-trend.down { color: var(--hm-bd-clay); }
.home-bd-trend.flat { color: var(--hm-mute); }
.home-bd-hint-tick {
  display: inline-block;
  width: 2px;
  height: 10px;
  background: var(--hm-ink);
  opacity: 0.4;
  vertical-align: -1px;
  margin-right: 5px;
}

/* expanded per-type panel */
.home-bd-detail {
  margin-top: 14px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  background: var(--hm-well);
  border-radius: 7px;
  padding: 16px 18px;
}
.home-bd-detail-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 12px;
}
.home-bd-detail-title { font-size: 13px; font-weight: 600; color: var(--hm-bd-blue); }
.home-bd-detail.focus .home-bd-detail-title { color: var(--hm-bd-clay); }
.home-bd-detail.best .home-bd-detail-title { color: var(--hm-bd-green); }
.home-bd-detail-stats {
  font-family: var(--hm-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--hm-ink-3);
}
.home-bd-detail svg { width: 100%; display: block; }
.home-bd-detail-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
}
.home-bd-detail-note { font-size: 11.5px; color: var(--hm-ink-3); }
.home-bd-detail-cta {
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.7);
  color: var(--hm-bd-blue);
  border: 1px solid rgba(200, 195, 182, 0.8);
  border-radius: 6px;
  padding: 7px 12px;
  cursor: pointer;
  white-space: nowrap;
}
.home-bd-detail.focus .home-bd-detail-cta { color: var(--hm-bd-clay); }
.home-bd-detail-cta:hover { background: #fff; }

/* ── Quick reads (frosted pills) ──────────────────────── */
.home-quickreads { display: flex; gap: 12px; }
.home-read {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: var(--hm-pane-soft);
  border: 1px solid var(--hm-pane-soft-border);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: 7px;
  padding: 14px 16px;
  font-size: 12.5px;
  color: var(--hm-ink-2);
  text-decoration: none;
  line-height: 1.45;
  transition: border-color 0.15s, color 0.15s, transform 0.18s ease, box-shadow 0.18s ease;
}
.home-read:hover {
  color: var(--hm-ink);
  transform: translateY(-2px);
  box-shadow: var(--hm-pane-soft-shadow);
}
.home-read-arrow { color: #C6C2B6; flex-shrink: 0; transition: color 0.15s; }
.home-read:hover .home-read-arrow { color: var(--hm-accent); }

/* ── Empty state ──────────────────────────────────────── */
.home-empty {
  border: 1.5px dashed rgba(200, 195, 182, 0.9);
  border-radius: 9px;
  padding: 44px 24px;
  text-align: center;
  margin-bottom: 22px;
  background: rgba(255, 255, 255, 0.4);
}
.home-empty-title { font-size: 15px; font-weight: 600; color: var(--hm-ink-2); margin: 0 0 6px; }
.home-empty-sub { font-size: 13px; color: var(--hm-mute); margin: 0; }

/* ── Trial conversion components ──────────────────────── */
/* shared ink CTA (snapshot veil, trend teaser foot, results band) */
.home-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: #FCFBF8;
  background: #191919;
  border: 1px solid #191919;
  border-radius: 6px;
  padding: 10px 18px;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 6px 16px rgba(17, 24, 39, 0.22);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s;
}
.home-cta:hover {
  background: #2A2A26;
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(17, 24, 39, 0.26);
}
.home-cta-arrow { font-size: 13px; line-height: 1; transition: transform 0.15s ease; }
.home-cta:hover .home-cta-arrow { transform: translateX(2px); }

/* sample-snapshot frosted veil: first row per domain stays sharp, the
   rest blurs behind glass carrying the lock chip + nudge + CTA in a row */
.home-snapshot-clip { position: relative; border-radius: 7px; overflow: hidden; }
.home-snapshot-veil {
  position: absolute;
  left: 1px;
  right: 1px;
  bottom: 1px;
  top: 86px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 20px;
  background: linear-gradient(180deg, rgba(252, 251, 248, 0.66), rgba(252, 251, 248, 0.9));
  backdrop-filter: blur(13px);
  -webkit-backdrop-filter: blur(13px);
  border-top: 1px solid rgba(255, 255, 255, 0.85);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .home-snapshot-veil { background: rgba(252, 251, 248, 0.96); }
}
.home-veil-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--hm-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--hm-ink-2);
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(220, 215, 205, 0.7);
  border-radius: 999px;
  padding: 5px 11px;
  flex-shrink: 0;
  white-space: nowrap;
}
.home-veil-chip svg { color: var(--hm-ink-2); width: 11px; height: 11px; }
.home-veil-text {
  flex: 1;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--hm-ink-2);
  margin: 0;
  min-width: 0;
}
@media (max-width: 760px) {
  .home-snapshot-veil { flex-direction: column; align-items: flex-start; justify-content: center; gap: 10px; padding: 14px 16px; }
}

/* trend teaser footer (trial): copy left, dark CTA right */
.home-trend-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.6);
}
.home-trend-foot-text {
  font-size: 12.5px;
  line-height: 1.5;
  color: #4A5568;
}
.home-trend-foot-proof {
  font-size: 11px;
  color: #8B94A4;
  margin-top: 4px;
}

/* soft-sell strip (trial pre-sample) */
.home-sell {
  display: flex;
  align-items: center;
  gap: 18px;
  border-radius: 9px;
  padding: 16px 20px;
  margin-bottom: 22px;
  background: var(--hm-pane-soft);
  border: 1px solid var(--hm-pane-soft-border);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--hm-pane-soft-shadow);
}
.home-sell-ico {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(150deg, rgba(120, 150, 205, 0.24), rgba(120, 150, 205, 0.08));
  border: 1px solid rgba(255, 255, 255, 0.7);
}
.home-sell-copy { flex: 1; min-width: 0; }
.home-sell-title {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--hm-ink);
  margin-bottom: 3px;
}
.home-sell-sub {
  font-size: 12.5px;
  line-height: 1.5;
  color: #6B6860;
}
.home-sell-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  color: #22314a;
  background: #fff;
  border: 1px solid rgba(200, 195, 182, 0.8);
  border-radius: 6px;
  padding: 11px 20px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(60, 55, 45, 0.08);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.home-sell-cta:hover { transform: translateY(-1px); box-shadow: 0 6px 14px rgba(60, 55, 45, 0.12); }
@media (max-width: 760px) {
  .home-sell { flex-direction: column; align-items: flex-start; }
}

/* ── Good-score gating (trial, percentile >= 50) ─────────
   The value is never the real number (a "??" placeholder). It used to be a
   bare blurred clay glyph, which came out FAINTER than the plain tiles
   beside it — the locked tiles read as empty and the eye went to "time
   used" instead. It is now a solid redaction plate: the figure is visibly
   withheld, and the plate is the highest-contrast mark on the shelf. */
.home-lockblur {
  position: relative;
  display: inline-block;
  overflow: hidden;
  min-width: 2.4ch;
  padding: 0 0.3em;
  border-radius: 6px;
  background: linear-gradient(150deg, #A9523F, #7B3527);
  box-shadow: 0 3px 12px rgba(126, 55, 40, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  user-select: none;
  pointer-events: none;
}
.home-lockblur i {
  font-style: normal;
  color: rgba(255, 255, 255, 0.82);
  filter: blur(4px);   /* the glyphs stay hidden; the plate stays crisp */
}
/* Sheen across the plate: the "there is something under here" cue. The
   sweep itself stays quick; the REST between sweeps is long on purpose, so
   the plate reads as a live thing to click rather than a blinking ad. */
.home-lockblur::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 32%, rgba(255, 255, 255, 0.34) 50%, transparent 68%);
  animation: homeLockSheen 8s ease-in-out 1s infinite;
}
@keyframes homeLockSheen {
  0%        { transform: translateX(-130%); }
  18%, 100% { transform: translateX(130%); }
}

/* The whole tile is the paywall button, and it owns a warm patch of the
   shelf so the hot zone is obvious before anything is read. */
.home-kpi--tease {
  position: relative;
  cursor: pointer;
  background: linear-gradient(155deg, rgba(158, 75, 59, 0.11), rgba(158, 75, 59, 0.04));
  transition: background 0.18s ease;
}
.home-kpi--hero.home-kpi--tease {
  background: linear-gradient(155deg, rgba(158, 75, 59, 0.13), rgba(158, 75, 59, 0.05));
}
.home-kpi--tease:hover,
.home-kpi--hero.home-kpi--tease:hover {
  background: linear-gradient(155deg, rgba(158, 75, 59, 0.18), rgba(158, 75, 59, 0.08));
}
.home-kpi--tease:focus-visible {
  outline: 2px solid var(--hm-clay);
  outline-offset: -3px;
}
/* attention ring, replayed on render and on paywall dismiss */
.home-kpi--tease.is-pulsing::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  box-shadow: inset 0 0 0 2px var(--hm-clay);
  animation: homeTeasePulse 1.2s ease-out 3;
}
@keyframes homeTeasePulse {
  0%   { opacity: 0; }
  25%  { opacity: 0.9; }
  100% { opacity: 0; }
}
/* corner lock badge: the at-rest "this is clickable" mark */
.home-kpi-lockpin {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 21px;
  height: 21px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #fff;
  background: var(--hm-clay);
  box-shadow: 0 2px 7px rgba(126, 55, 40, 0.32);
}
/* Unlocked tiles step back while a tease is on the shelf: their solid ink
   numbers were the only bold marks in view and stole the fixation. */
.home-kpis--teasing .home-kpi:not(.home-kpi--tease) .home-kpi-value {
  color: var(--hm-ink-3);
}
.home-kpi-unlock {
  color: var(--hm-clay);
  font-weight: 600;
  transition: color 0.15s;
}
/* a persistent arrow marks the tile as clickable; it slides on hover
   instead of the underline */
.home-kpi-unlock::after {
  content: "\2192";
  display: inline-block;
  margin-left: 4px;
  transition: transform 0.15s ease;
}
.home-kpi--tease:hover .home-kpi-unlock { color: #7E3728; }
.home-kpi--tease:hover .home-kpi-unlock::after { transform: translateX(3px); }
@media (prefers-reduced-motion: reduce) {
  .home-lockblur::after { animation: none; }
  .home-kpi--tease.is-pulsing::before { animation: none; opacity: 0.75; }
}
/* teaser chart lock: blur the svg, overlay chip + unlock copy + CTA */
.home-chart-well { position: relative; }
.home-teaser-locked svg { filter: blur(7px); }
.home-teaser-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 20px;
  text-align: center;
}
.home-teaser-overlay-text {
  font-size: 13px;
  font-weight: 600;
  color: var(--hm-ink);
}

/* ── "Your tasks" floating guide (trial users) ────────── */
.home-tasks {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 400;
  width: 264px;
  border-radius: 9px;
  padding: 14px 14px 12px;
  background: var(--hm-pane);
  border: 1px solid var(--hm-pane-border);
  box-shadow: 0 2px 6px rgba(60, 55, 45, 0.08), 0 22px 46px rgba(60, 55, 45, 0.2);
  backdrop-filter: blur(20px) saturate(1.1);
  -webkit-backdrop-filter: blur(20px) saturate(1.1);
  transition: opacity 0.45s ease, transform 0.45s ease;
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .home-tasks { background: rgba(255, 255, 255, 0.96); }
}
.home-tasks--out {
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
}
.home-tasks-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.home-tasks-title {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--hm-ink);
}
.home-tasks-close {
  display: inline-flex;
  border: none;
  background: none;
  padding: 3px;
  color: var(--hm-mute);
  cursor: pointer;
  border-radius: 5px;
}
.home-tasks-close:hover { color: var(--hm-ink-2); background: rgba(255, 255, 255, 0.6); }
.home-tasks-bar {
  height: 5px;
  border-radius: 999px;
  background: var(--hm-track);
  overflow: hidden;
  margin-bottom: 11px;
}
.home-tasks-fill {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: var(--hm-accent);
  transition: width 0.9s cubic-bezier(0.22, 0.9, 0.36, 1);
}
.home-tasks-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.5);
  padding: 10px 11px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  color: var(--hm-ink);
  text-align: left;
  cursor: pointer;
  transition: background 0.15s;
}
.home-tasks-item:hover { background: rgba(255, 255, 255, 0.8); }
.home-tasks-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1.5px solid rgba(150, 140, 120, 0.45);
  background: rgba(255, 255, 255, 0.6);
  color: transparent;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}
.home-tasks-check svg { width: 11px; height: 11px; }
.home-tasks-check.done {
  background: var(--hm-accent);
  border-color: var(--hm-accent);
  color: #fff;
  animation: taskCheckPop 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes taskCheckPop {
  0% { transform: scale(0.6); }
  60% { transform: scale(1.18); }
  100% { transform: scale(1); }
}
@media (max-width: 640px) {
  .home-tasks { right: 12px; bottom: 12px; width: calc(100vw - 24px); max-width: 300px; }
}

/* ── Settings inside the shell ────────────────────────── */
.home-page-sub {
  font-size: 13.5px;
  color: var(--hm-ink-3);
  margin: -14px 0 26px;
}
.home-main .settings-section {
  max-width: 680px;
  margin: 0 0 26px;
}
.home-main .settings-section:last-child { margin-bottom: 0; }
.home-main .settings-card {
  background: var(--hm-pane);
  border: 1px solid var(--hm-pane-border);
  border-radius: 9px;
  box-shadow: var(--hm-pane-shadow);
  backdrop-filter: blur(20px) saturate(1.1);
  -webkit-backdrop-filter: blur(20px) saturate(1.1);
}

/* ── Reduced motion ───────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .home-launch-card, .home-read, .home-cta, .home-sell-cta, .home-card, .home-kpis,
  .home-tasks, .home-tasks-fill, .home-tasks-check, .home-kpi-unlock,
  .home-kpi-unlock::after { transition: none; }
  .home-kpi--tease:hover .home-kpi-unlock::after { transform: none; }
  .home-launch-card:hover, .home-read:hover, .home-cta:hover, .home-sell-cta:hover,
  .home-card:hover, .home-kpis:hover { transform: none; }
  .home-launch--lockdark:hover .dash-action-cta-ico { animation: none; }
}

/* ── Responsive ───────────────────────────────────────── */
@media (max-width: 1100px) {
  .home-row--actions,
  .home-row--trend { grid-template-columns: 1fr; }
}
@media (min-width: 1024px) {
  .home-mobile-nav { display: none; }
}
@media (max-width: 1023px) {
  .home-sidebar { display: none; }
  .home-topbar { display: none; }
  .home-main { padding: 24px 20px 32px; max-width: none; }
  .home-greeting { font-size: 18px; }
}
@media (max-width: 900px) {
  .home-breakdown-grid { grid-template-columns: 1fr; }
  .home-breakdown-grid > div { border-right: none; border-bottom: 1px solid rgba(255, 255, 255, 0.6); }
  .home-breakdown-grid > div:last-child { border-bottom: none; }
  .home-kpis { grid-template-columns: 1fr 1fr; }
  .home-kpi { border-bottom: 1px solid rgba(255, 255, 255, 0.5); }
  .home-kpi:nth-child(2n) { border-right: none; }
}
@media (max-width: 640px) {
  .home-quickreads { flex-direction: column; }
}
@media (max-width: 480px) {
  .home-kpis { grid-template-columns: 1fr; }
  .home-kpi { min-height: 0; border-right: none; }
}
