/* Notification center uses one 18px vertical gap, without stacked empty margins */
html body #notifications-modal .notification-center { --notification-gap: 18px; padding-bottom: 0; }
html body #notifications-modal .push-settings {
    flex: 0 0 auto; display: flex; align-items: center; justify-content: space-between;
    gap: 12px; margin: var(--notification-gap) 0; padding: 14px 16px;
    border: 1px solid var(--wt-success-border, #c8ddd6); border-radius: 14px;
    background: var(--wt-surface-alt, #f4f8f6); min-width: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
html body #notifications-modal .push-settings[hidden] { display: none; }
.push-settings__summary { min-width: 0; }
.push-settings__summary strong { display: block; white-space: nowrap; font-size: 14px; line-height: 1.4; color: var(--wt-text, #17202a); }
.push-settings__summary p { margin: 4px 0 0; font-size: 13px; line-height: 1.4; color: var(--wt-muted, #63716f); overflow-wrap: anywhere; }
.push-settings__actions { display: flex; flex: 0 0 auto; }
html body #notifications-modal .push-settings__actions button { min-height: 44px; width: 104px; padding-left: 8px; padding-right: 8px; white-space: nowrap; margin: 0; text-align: center; justify-content: center; }
html body #notifications-modal .push-settings__actions button[hidden] { display: none; }
html body #notifications-modal .notification-center__controls { margin-top: 0; margin-bottom: 0; }
html body #notifications-modal .notification-center__feedback:empty { display: none; margin: 0; padding: 0; }
html body #notifications-modal .notification-center__feedback:not(:empty) { margin-top: var(--notification-gap); margin-bottom: 0; }
html body #notifications-modal .notification-center__empty,
html body #notifications-modal .notification-center__list { margin-top: var(--notification-gap); margin-bottom: var(--notification-gap); padding-bottom: 0; }
html body #notifications-modal .notification-center__empty[hidden],
html body #notifications-modal .notification-center__list:empty { display: none; }
html.app-ui body #notifications-modal .push-settings { margin-left: 20px; margin-right: 20px; }
html.app-ui body #notifications-modal .notification-center__empty,
html.app-ui body #notifications-modal .notification-center__list { margin-bottom: calc(var(--notification-gap) + env(safe-area-inset-bottom, 0px)); }
@media (max-width: 380px) {
    html body #notifications-modal .push-settings { gap: 8px; padding-left: 12px; padding-right: 12px; }
}
