/* Phone alerts card, Settings > Notifications. The rows reuse .notif-row and
   .notif-switch from profile.css so it reads as the same kind of setting as the
   email alerts underneath it. */
.pa-card p { line-height: 1.5; }
.pa-steps { margin: 6px 0 4px 18px; padding: 0; line-height: 1.6; }
.pa-bad { color: var(--red, #b91c1c); }
.pa-note { background: #fef3c7; border-radius: 8px; padding: 8px 10px; }
.pa-here { padding: 4px 2px 10px; border-bottom: 1px solid var(--border); }
.pa-select { margin-top: 7px; padding: 6px 8px; border: 1px solid var(--border); border-radius: 7px; max-width: 100%; }
.pa-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.pa-others { margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--border); }
.pa-other { display: flex; gap: 10px; align-items: center; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--border); }
.pa-other:last-of-type { border-bottom: none; }
/* A device the push service dropped (phone-alerts.js paDroppedHtml): alerts that
   stopped without anybody switching them off. Same yellow as .pa-note. */
.pa-dropped { display: flex; gap: 10px; align-items: flex-start; justify-content: space-between;
  margin: 0 0 12px; padding: 10px 12px; border-radius: 8px; background: #fef3c7; color: #78350f;
  border: 1px solid #f59e0b; line-height: 1.5; }
.pa-dropped .small { margin-top: 4px; }
@media (max-width: 600px) { .pa-dropped { flex-direction: column; } }

/* The one-time offer to switch text notifications on (phone-alerts.js). Fixed
   to the bottom corner so it never moves the page, and full width on a phone
   above the tab bar. */
.pa-offer { position: fixed; right: 16px; bottom: 16px; z-index: 900; max-width: 380px; padding: 14px 16px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, .22); display: flex; flex-direction: column; gap: 10px; }
.pa-offer-actions { display: flex; gap: 8px; flex-wrap: wrap; }
@media (max-width: 768px) {
  .pa-offer { left: 16px; right: 16px; bottom: calc(76px + env(safe-area-inset-bottom, 0px)); max-width: none; }
}

/* "Not getting notifications?" (notif-help.js): one line per thing checked. */
.nh-list { list-style: none; margin: 12px 0 8px; padding: 0; }
.nh-row { display: flex; gap: 10px; align-items: flex-start; padding: 7px 0; border-bottom: 1px solid var(--border); line-height: 1.45; }
.nh-row:last-child { border-bottom: none; }
.nh-mark { flex: none; width: 22px; height: 22px; border-radius: 50%; display: inline-flex; align-items: center;
  justify-content: center; font-weight: 700; font-size: 13px; background: #e2e8f0; color: #334155; }
.nh-ok .nh-mark { background: #dcfce7; color: #166534; }
.nh-bad .nh-mark { background: #fee2e2; color: #b91c1c; }
.nh-bad b { color: var(--red, #b91c1c); }
.nh-tips { margin-top: 10px; }
.nh-tips .pa-steps li { margin-bottom: 4px; }
