/* Separate phone Home tasks without splitting related safety actions. */
@media (max-width: 767px) {
  html body #app-view #home-lower-section { row-gap: 12px !important; }
  html body #app-view #home-lower-section #home-presence-team { margin-block-start: 8px !important; }
  html body #app-view #home-lower-section #home-issue-panel { margin-block-start: 8px !important; }
  html body #app-view #home-lower-section #home-special-event-signups { margin-block-start: 8px !important; }
  html body #app-view #home-lower-section #home-prayer-row { margin-block-start: 4px !important; }
}

/* History lives in Account; the retained projection has no Home footprint. */
html[data-activity-in-account-menu="true"] #home-recent-activity { display: none !important; }
html[data-activity-in-account-menu="true"] body #app-view.sunday-screen .home-activity-layout:has(> #home-recent-activity) { grid-template-columns: minmax(0, 1fr) !important; }

/* The desktop shell renders its own activity summary; keep it in Account & tools. */
html[data-activity-in-account-menu="true"] #dlr-desktop-portal .dp-panel:has(> .dp-activity) { display: none !important; }
