/* Home dashboard: compress vertical spacing on shorter screens while keeping the same layout. */
@media (max-height: 820px) and (min-width: 521px) {
  body.is-home .container { margin-top: 12px; margin-bottom: 8px; }
  body.is-home .cover-hero { min-height: clamp(300px, 46vh, 360px); padding-top: 22px; padding-bottom: 18px; }
  body.is-home .cover-brand { margin-bottom: 18px; }
  body.is-home .cover-description { margin-top: 9px; margin-bottom: 14px; }
  body.is-home .cover-bottom { margin-top: 16px; padding-top: 10px; }
  body.is-home .dashboard-section { padding-top: 15px; }
  body.is-home .dashboard-heading { margin-bottom: 9px; }
  body.is-home .dashboard-card { padding-top: 11px; padding-bottom: 10px; }
  body.is-home .dashboard-number { margin-top: 5px; }
  body.is-home .tabs { margin-top: 12px; margin-bottom: 8px; }
}
@media (max-height: 900px) and (max-width: 520px) {
  body.is-home .container { margin-top: 8px; margin-bottom: 6px; }
  body.is-home .cover-hero { min-height: clamp(255px, 36vh, 310px); padding: 15px 17px 13px; }
  body.is-home .cover-brand { margin-bottom: 14px; }
  body.is-home .cover-brand .brand-mark { width: 30px; height: 30px; }
  body.is-home .cover-brand strong { font-size: 14px; }
  body.is-home .cover-brand small { font-size: 7px; }
  body.is-home .cover-eyebrow { margin-bottom: 6px; }
  body.is-home .cover-hero h1 { font-size: clamp(29px, 8vw, 34px); }
  body.is-home .cover-description { margin: 8px 0 11px; font-size: 11px; }
  body.is-home .cover-action { min-height: 36px; }
  body.is-home .cover-bottom { margin-top: 12px; padding-top: 8px; }
  body.is-home .dashboard-section { padding-top: 11px; }
  body.is-home .dashboard-heading { margin-bottom: 7px; }
  body.is-home .dashboard-card { padding-top: 8px; padding-bottom: 9px; }
  body.is-home .dashboard-card-top { margin-bottom: 4px; }
  body.is-home .dashboard-number { font-size: 21px; }
  body.is-home .tabs { margin-top: 9px; margin-bottom: 5px; }
  body.is-home .tab-btn { padding-top: 8px; padding-bottom: 8px; }
}
