.reminder-bell{position:fixed;right:20px;top:18px;z-index:130;width:44px;height:44px;border-radius:50%;background:#fff3cf;color:#675316;border:1px solid #e2ce8c;box-shadow:0 3px 12px #203e2820;display:grid;place-items:center}
.reminder-bell[hidden]{display:none}.reminder-bell svg{width:23px;height:23px}
dialog.reminder-alert{width:min(440px,calc(100vw - 32px));padding:24px;border:1px solid #e4e9e2;border-radius:22px;background:#fff;box-shadow:0 24px 80px #142c3340;color:#24483e;max-height:calc(100dvh - 48px);overflow:auto}
.reminder-alert::backdrop{background:#25373066;backdrop-filter:blur(3px)}
.reminder-alert-heading{display:flex;align-items:center;gap:12px;margin-bottom:22px}.reminder-alert-heading small{font-size:10px;letter-spacing:.12em;color:#6f7d75}.reminder-alert-heading h2{font-size:24px;line-height:1.2;margin:3px 0 0}
.reminder-alert-icon{display:grid;place-items:center;width:48px;height:48px;border-radius:15px;background:#fff3cf;color:#856a20;flex-shrink:0}.reminder-alert-icon svg{width:28px;height:28px}
.reminder-alert-close{margin-left:auto;align-self:flex-start;border:0;background:#f1f4ef;border-radius:50%;min-width:36px;height:36px;font-size:24px;color:#355347}
.reminder-alert-item{padding:18px;border:1px solid #e1e8de;border-radius:15px;background:#f6f8f3;margin:12px 0}.reminder-alert-item h3{font-size:18px;line-height:1.45;margin:0;overflow-wrap:anywhere}.reminder-alert-item p{font-size:14px;color:#68776b;margin:10px 0 16px}.reminder-alert-item button{width:100%;min-height:44px;border-radius:10px}
.reminder-alert-caption{font-size:12px;color:#748074;margin:16px 0 0;line-height:1.5}
html body button.reminder-bell{box-sizing:border-box!important;display:grid!important;place-items:center!important;width:42px!important;min-width:42px!important;max-width:42px!important;height:42px!important;min-height:42px!important;max-height:42px!important;padding:0!important;margin:0;border:1px solid #dac58e!important;border-radius:50%!important;background:#fff5d9;color:#805c16;line-height:0;box-shadow:0 3px 12px #24332a1f}
html body button.reminder-bell[hidden]{display:none!important}
html body button.reminder-bell>svg{box-sizing:border-box;display:block!important;width:22px!important;height:22px!important;min-width:22px;margin:0!important;padding:0;position:static!important;transform:none!important;flex:none;align-self:center;justify-self:center}
html body button.reminder-bell:focus-visible{outline:2px solid #805c16;outline-offset:3px}

.reminder-alert-item .reminder-alert-status{display:block;margin:7px 0 0;color:inherit;opacity:.75;font-size:12px;font-weight:600}

html[data-theme="black"] .reminder-alert-item p,html[data-theme="black"] .reminder-alert-caption,html[data-theme="black"] .reminder-alert-item .reminder-alert-status{color:#b8cabe;opacity:1}

.reminder-alert-item .reminder-alert-clear{margin-top:8px;background:transparent;color:inherit;border:1px solid currentColor;opacity:.85}.reminder-alert-clear-all{display:block;margin:0 0 12px auto;background:transparent;color:inherit;border:1px solid currentColor;border-radius:12px;padding:10px 14px;min-height:44px}

/* Keep the title and close action within reach in long reminder lists. */
html body dialog.reminder-alert .reminder-alert-heading{position:sticky;top:-24px;z-index:3;margin:-24px -24px 18px;padding:18px 24px;background:#fff;border-bottom:1px solid #e0e7df;box-shadow:0 6px 12px #17271e0a}
html body dialog.reminder-alert .reminder-alert-heading>div{min-width:0;flex:1}
html body dialog.reminder-alert .reminder-alert-heading h2{font-size:20px;line-height:1.3;margin:3px 0 0;overflow-wrap:normal}
html body dialog.reminder-alert .reminder-alert-icon{width:40px;height:40px;border-radius:13px}
html body dialog.reminder-alert .reminder-alert-icon svg{width:24px;height:24px}
html[data-theme=black] body dialog.reminder-alert .reminder-alert-heading{background:#14201a;border-color:#334a3b;box-shadow:0 6px 14px #00000020}

/* Compact cards keep their touch targets while showing more reminders at once. */
html body dialog.reminder-alert{padding:16px}
html body dialog.reminder-alert .reminder-alert-heading{top:-16px;margin:-16px -16px 12px;padding:12px 16px;gap:10px}
html body dialog.reminder-alert .reminder-alert-heading h2{font-size:18px;line-height:1.25}
html body dialog.reminder-alert .reminder-alert-icon{width:34px;height:34px;border-radius:11px}
html body dialog.reminder-alert .reminder-alert-icon svg{width:21px;height:21px}
html body dialog.reminder-alert .reminder-alert-close{width:44px;min-width:44px;height:44px;min-height:44px;align-self:center;padding:0;font-size:23px}
html body dialog.reminder-alert .reminder-alert-item{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:8px;padding:12px;margin:8px 0;border-radius:13px}
html body dialog.reminder-alert .reminder-alert-item>h3{grid-column:1/-1;font-size:16px;line-height:1.35;margin:0}
html body dialog.reminder-alert .reminder-alert-item>.reminder-alert-status{grid-column:1/-1;margin:3px 0 0;font-size:11px;line-height:1.4}
html body dialog.reminder-alert .reminder-alert-item>p{grid-column:1/-1;font-size:13px;line-height:1.4;margin:4px 0 10px}
html body dialog.reminder-alert .reminder-alert-item>button{width:auto;min-height:44px;margin:0;padding:8px 10px;font-size:13px;line-height:1.25;white-space:normal}
html body dialog.reminder-alert .reminder-alert-item>.primary:only-of-type{grid-column:1/-1}
html body dialog.reminder-alert .reminder-alert-item>.reminder-alert-clear{min-width:72px}
html body dialog.reminder-alert .reminder-alert-clear-all{margin-bottom:8px;padding:8px 12px;font-size:13px}
html body dialog.reminder-alert .reminder-alert-caption{margin-top:12px}
