/* Notification settings: explicit autosave feedback and compact reminder summaries. */
.notification-settings .notification-settings-heading{display:flex;align-items:center;gap:10px}
.notification-settings .notification-settings-heading h2{margin:0;font-size:18px}
.notification-settings .notification-settings-icon{display:grid;place-items:center;flex:none;width:38px;height:38px;border-radius:12px;background:#f7eaf0;color:#945570}
.notification-settings .notification-settings-icon svg{width:21px;height:21px;display:block}
.notification-settings #notification-count{margin:14px 0;font-size:12px;line-height:1.7;color:#766b70}
.notification-settings .notification-sync-state{display:flex;gap:10px;align-items:flex-start;padding:14px;border:1px solid #e4ded4;border-radius:15px;background:#faf8f2;color:#6e6555;margin:14px 0}
.notification-settings .notification-sync-state>div{min-width:0;flex:1}
.notification-settings .notification-sync-icon{display:grid;place-items:center;flex:none;width:22px;height:22px;margin-top:1px}
.notification-settings .notification-sync-icon svg{display:block;width:21px;height:21px}
.notification-settings #notification-sync-title{display:block;font-size:13px;line-height:1.65;font-weight:750;overflow-wrap:anywhere}
.notification-settings #notification-sync{margin:5px 0 0;color:#6e655e;font-size:12px;line-height:1.75;overflow-wrap:anywhere}
.notification-settings .notification-sync-state[data-state=syncing]{background:#f6effa;border-color:#e5d7ee;color:#825a96}
.notification-settings .notification-sync-state[data-state=saved]{background:#eef7f3;border-color:#d5e8df;color:#43765d}
.notification-settings .notification-sync-state[data-state=error]{background:#fff3ee;border-color:#edc9b9;color:#96583f}
.notification-settings .notification-sync-state[data-state=syncing] .notification-sync-icon svg{animation:notification-sync-turn 1.8s linear infinite}
.notification-settings #notification-retry{min-height:44px;margin-top:0;border-color:#dfc5b7;background:#fff8f4;color:#88523b}
.notification-settings #notification-retry:focus-visible,.notification-product .reminder-editor>summary:focus-visible{outline:3px solid #a95477;outline-offset:4px}
.notification-product .reminder-editor>summary{gap:16px;min-width:0;align-items:center;padding:17px 0}
.notification-product .reminder-period-label{flex:1;min-width:0}
.notification-product .reminder-period-label>strong{font-size:13px;line-height:1.6;overflow-wrap:anywhere}
.notification-product .reminder-period-label>small{margin-top:5px;font-size:11px;line-height:1.75;overflow-wrap:anywhere}
.notification-product .reminder-summary{flex:0 1 46%;gap:10px;max-width:none;min-width:0;text-align:right;color:#86526d}
.notification-product .reminder-summary>.reminder-next{display:block;font-size:inherit;transform:none;min-width:0;flex:1}
.notification-product .reminder-next-label{display:block;font-size:10px;line-height:1.5;color:#806b76}
.notification-product .reminder-next>strong{font-size:13px;line-height:1.65;font-weight:750;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.notification-product .reminder-next>small{margin:4px 0 0;font-size:10px;line-height:1.5;font-weight:500;color:#7d7277}
.notification-product .reminder-chevron{display:block;flex:none;width:20px;height:20px;transition:transform .18s ease}
.notification-product .reminder-editor[open] .reminder-chevron{transform:rotate(180deg)}
.notification-product.is-closed .reminder-summary,.notification-product .reminder-editor.is-closed .reminder-summary{color:#757575}
.notification-product.is-closed .reminder-next-label,.notification-product.is-closed .reminder-next>small{color:#777}
@keyframes notification-sync-turn{to{transform:rotate(360deg)}}
@media(max-width:600px){
  .notification-settings .notification-sync-state{padding:12px}
  .notification-product .reminder-editor>summary{display:grid;grid-template-columns:minmax(0,1fr);gap:12px}
  .notification-product .reminder-summary{width:100%;max-width:none;padding:10px 12px;border-radius:11px;background:#fbf5f8;text-align:left;box-sizing:border-box}
  .notification-product .reminder-next>strong{font-size:14px}
  .notification-product .reminder-next-label{font-size:11px}
  .notification-product .reminder-next>small{font-size:11px}
  .notification-product.is-closed .reminder-summary,.notification-product .reminder-editor.is-closed .reminder-summary{background:#eaeaea}
}
@media(prefers-reduced-motion:reduce){
  .notification-settings .notification-sync-state[data-state=syncing] .notification-sync-icon svg{animation:none}
  .notification-product .reminder-chevron{transition:none}
}
