/* One-off reminders (public/reminders.js): rung ones on Today, the full list on the Routines page. */
.rem-section .day-head { flex-wrap: wrap; align-items: center; }
.rem-section .day-head .rem-add { margin-left: auto; }
.rem-section .rem-form { margin-bottom: 14px; max-width: 640px; }
.rem-field-at input[type="datetime-local"] { width: auto; max-width: 100%; align-self: flex-start; min-width: 0; font-size: 15px; border: 1px solid var(--line-2); border-radius: 12px; padding: 10px 12px; background: var(--card); min-height: 44px; }
.rem-field-at input:focus { outline: none; border-color: var(--ink-3); box-shadow: 0 0 0 3px rgba(43, 79, 214, .12); }

.rem-stack { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 12px; align-items: start; }
.rem-section .rem-stack { margin-bottom: 12px; }
.rem-card { position: relative; min-width: 0; background: var(--butter-soft); border: 1px solid var(--butter-edge); border-radius: 20px; padding: 16px; display: flex; flex-direction: column; gap: 14px; }
.rem-line { display: flex; align-items: flex-start; gap: 12px; min-width: 0; }
.rem-bell { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--butter); color: var(--on-butter); }

.rem-text { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 2px; }
.rem-text b { font-size: 16px; font-weight: 700; line-height: 1.35; overflow-wrap: anywhere; }
.rem-text span { font-size: 13px; color: var(--ink-3); }

.rem-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.rem-snooze-pick { padding: 0 14px; }
.rem-card.choosing .rem-line { padding-right: 36px; }
.rem-close { position: absolute; top: 6px; right: 6px; }
.rem-line-actions { margin-top: 8px; }
.rem-line-note { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 13px; color: var(--ink-3); }
.toast-undo.rem-toast-undo { min-height: 44px; padding: 0 18px; }

.rem-list { list-style: none; margin: 0; padding: 0; max-width: 640px; background: var(--card); border: 1px solid var(--line); border-radius: 20px; }
.rem-row { display: flex; align-items: center; gap: 12px; padding: 10px 8px 10px 16px; min-width: 0; }
.rem-row + .rem-row { border-top: 1px solid var(--rule); }

.rem-icon { flex: none; width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; color: var(--ink-3); display: grid; place-items: center; cursor: pointer; transition: background .2s var(--ease), color .2s var(--ease); }
.rem-icon:hover { background: var(--paper); color: var(--ink); }
.rem-icon:focus-visible { outline: 2px solid var(--pen); outline-offset: 2px; }
