/* notify-settings — system (push) notification settings on the Notifications page (pages/notifications.js) */
.sys-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.sys-head .set-title { margin: 0; }
.sys-lead { margin: 6px 0 4px; }
.sys-all { gap: 4px; }
.sys-pill { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; font-size: 13.5px; font-weight: 700;
  background: var(--c-soft); color: var(--c-ink); border: 1px solid var(--c-tint); white-space: nowrap; }
.sys-panel .callout { margin-top: 14px; }
.sys-panel .callout code { font-size: 13px; padding: 1px 6px; border-radius: 6px; background: var(--surface); word-break: break-all; }
.sys-err { margin-top: 12px; }
.sys-actions { margin-top: 16px; gap: 10px; align-items: center; flex-wrap: wrap; }
.sys-actions .muted { display: inline-flex; align-items: center; gap: 6px; }

.push-devs { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 10px; }
.push-dev { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; border: 1px solid var(--line); background: var(--surface-2); }
.push-dev.mine { border-color: var(--teal-tint, var(--line)); background: var(--teal-soft, var(--surface-2)); }
.push-dev .grow { flex: 1; min-width: 0; }
.push-dev b { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 15.5px; }
.push-dev .grow > span { display: block; font-size: 13.5px; color: var(--muted); overflow-wrap: anywhere; }
.push-dev .chip { font-size: 12px; padding: 2px 9px; }
.push-err { color: var(--rose-ink, var(--rose)); }
.push-empty { display: flex; align-items: center; gap: 12px; margin-top: 10px; padding: 16px; border-radius: 16px; border: 1px dashed var(--line-2, var(--line)); color: var(--muted); font-size: 14.5px; }
.push-empty svg { flex: none; }

@media (max-width: 720px) {
  .push-dev { padding: 10px 12px; }
  .sys-actions .btn { width: 100%; justify-content: center; }
}
@media (max-width: 480px) {
  /* the Sound choice (three options) wraps instead of pushing the page sideways */
  .settings-grid .set-ctl { max-width: 100%; }
  .settings-grid .set-ctl .segmented { flex-wrap: wrap; max-width: 100%; }
}
@media (max-width: 560px) {
  /* this device's row: the action drops under the text instead of squeezing it */
  .sys-panel .set-row .grow { min-width: calc(100% - 60px); }
  .sys-panel .set-row .set-ctl { margin-left: 54px; }
}
