/* ═══ STUDIOHAUS PORTAL — Notifications sheet + Home Screen app ═══ */

.push-sheet h3 { margin-bottom: 12px; }
.push-lead { color: var(--text); font-size: var(--fs-base); line-height: 1.5; margin: 0 0 12px; }
.push-note { color: var(--text-45); font-size: var(--fs-sm); line-height: 1.5; margin: 8px 0 0; }
.push-steps { margin: 0 0 4px; padding-left: 20px; color: var(--text-60); font-size: var(--fs-base); line-height: 1.7; }
.push-share { width: 16px; height: 16px; vertical-align: -3px; margin: 0 2px; }
.push-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 8px; }
.push-prefs { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--border); }
.push-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 0; color: var(--text-60); font-size: var(--fs-base); }
.push-row input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--text); }
.push-cats { margin-top: 16px; }
.push-cat { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.push-cat-sub { color: var(--text-45); font-size: var(--fs-sm); line-height: 1.4; }
.push-quiet { display: inline-flex; align-items: center; gap: 8px; color: var(--text-45); }
.push-quiet .form-input { width: 112px; padding: 6px 8px; }

/* viewport-fit=cover (index.html) lets the page reach the screen edges, so
   keep clear of the notch and rounded corners in landscape. The insets are 0
   on desktop. The bottom inset is handled by the tab bar and sheets. */
@media (min-width: 769px) {
  .admin-sidebar { padding-left: env(safe-area-inset-left, 0px); }
  .app-content { padding-right: calc(36px + env(safe-area-inset-right, 0px)); }
}
@media (min-width: 769px) and (max-width: 1024px) {
  .app-content { padding-right: calc(24px + env(safe-area-inset-right, 0px)); }
}
@media (max-width: 768px) {
  .app-content {
    padding-left: max(16px, env(safe-area-inset-left, 0px));
    padding-right: max(16px, env(safe-area-inset-right, 0px));
  }
}
.is-standalone body { overscroll-behavior-y: none; }
