/* Compass — Stress Tests and Scenarios pages (2026-10-06, js/48). Same column, padding and canvas as the
   Paycheck / Taxes / Net Worth pages; compact tops (the header already names the page); the stress tests open
   with their results — no run or collapse buttons. Colors are theme tokens only. */
@media (min-width:1001px){
  #stressView, #scenariosView { grid-column:2 !important; grid-row:2 !important; min-width:0 !important; margin:0 !important;
    padding:28px 34px 54px !important; background:var(--compass-canvas, var(--c-gray-99)) !important; border-radius:0 0 20px 0 !important; }
}
#stressView .hero, #scenariosView .hero { background:transparent !important; }
#stressView .hero::after, #scenariosView .hero::after { display:none !important; }
@layer compassNavTop {
  html body :is(#stressView, #scenariosView) .section-title h2 { font-size:19px !important; line-height:1.3 !important; display:flex; align-items:center; }
  html body :is(#stressView, #scenariosView) .section-title { margin-top:26px !important; margin-bottom:12px !important; padding-bottom:0 !important; border:0 !important; }
  html body :is(#stressView, #scenariosView) .section-title .section-icon-wrap { display:none !important; }
  html body #stressView .hero.pg-hero { margin-bottom:0 !important; }
  html body #stressView #section05Title { margin-top:10px !important; }
  /* Opened with results: the buttons that ran or folded them away aren't needed. */
  html body #stressView .runbtn, html body #stressView .yb-collapse, html body #histStaleBanner, html body #seqRiskStaleBanner { display:none !important; }
  html body #stressView #historicalBacktestPanel, html body #stressView #historicalBacktestPanel + * { margin-top:0 !important; }
  html body #stressView .panel { padding-top:18px !important; }
  html body #stressView #histResults, html body #stressView #seqRiskContent { margin-top:0 !important; }
  html body #stressView:not(.is-empty) #stressEmpty, html body #stressView.is-empty > :not(.hero):not(#stressEmpty) { display:none !important; }
  html body #stressView .pg-wait { margin:10px 0 0; font-size:13px; color:var(--muted); }
  @media (max-width:700px){
    html body :is(#stressView, #scenariosView) .section-title { margin-top:18px !important; }
  }
}

/* (2026-10-16) the compact summary and crisis cards are replaced by compass-stress.css. */
/* 2026-10-23 copy pass: empty pages are "No results yet." and the Go to Plan Details button. */
#dashView .tx-empty, #stressView .tx-empty { text-align:center; padding:44px 24px; }
#dashView .tx-empty strong, #stressView .tx-empty strong { display:block; font-size:15px; color:var(--c-slate-25); margin-bottom:16px; }
