.notification-settings { margin-top: 16px; }
.notification-card + .notification-card { margin-top: 16px; }
.notification-card h2 { font-size: 20px; line-height: 1.4; }
.notification-card h3 { margin-bottom: 12px; }
.notification-card summary { cursor: pointer; font-weight: 600; line-height: 1.5; }
.notification-card details[open] > summary { margin-bottom: 16px; }
.notification-card p { line-height: 1.65; margin-bottom: 16px; }
.notification-card form { max-width: 560px; }
.notification-heading { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.notification-heading { justify-content: space-between; margin-bottom: 16px; }
.notification-summary { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 16px 24px; margin: 20px 0; }
.notification-summary dt { font-size: 12px; color: var(--text-muted); margin-bottom: 5px; }
.notification-summary dd { margin: 0; line-height: 1.7; overflow-wrap: anywhere; }
.notification-help { color: var(--text-muted); font-size: 13px; }
.notification-subform { border-top: 1px solid var(--border); padding-top: 20px; margin-top: 24px; }
.notification-check { display: flex; align-items: flex-start; gap: 10px; line-height: 1.6; margin-bottom: 18px; cursor: pointer; }
.notification-check input { width: 18px; height: 18px; flex: 0 0 18px; margin: 4px 0 0; accent-color: var(--primary); }
.notification-feedback { margin: 16px 0; }
.notification-health { border-top: 1px solid var(--border); padding-top: 20px; }
.notification-table-wrap { width: 100%; overflow-x: auto; margin-top: 16px; }
.notification-table { width: 100%; min-width: 580px; }
.notification-table caption { text-align: left; font-weight: 600; margin-bottom: 12px; }
.notification-error-code { display: block; max-width: 240px; margin-top: 6px; overflow-wrap: anywhere; color: var(--text-muted); }
.notification-settings [hidden] { display: none !important; }
.notification-settings :focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }
@media (max-width: 600px) {
  .notification-heading { align-items: flex-start; }
}
