/* All reminders: one capture action, a scannable list, and compact preferences.
   Scope layout changes to this view so Today, Calendar and Settings keep theirs. */
.all-only { display: none; }
.quiet-control { display: flex; align-items: center; gap: 10px; }
body[data-current-view="all"] {
  --all-muted: #596353;
  --all-overdue: #9b481e;
  --all-personal: #e9f0f7;
  --all-personal-ink: #345777;
  --all-work: #f4ebd6;
  --all-work-ink: #755619;
  --all-health: #e6efdf;
  --all-health-ink: #426039;
}
html[data-theme="dark"] body[data-current-view="all"] {
  --all-muted: #bec8b6;
  --all-overdue: #f2bc8d;
  --all-personal: #263a48;
  --all-personal-ink: #c0def5;
  --all-work: #3e3520;
  --all-work-ink: #f0d49a;
  --all-health: #293e2b;
  --all-health-ink: #c6dfb7;
}
body[data-current-view="all"] .all-only { display: inline-flex; }
body[data-current-view="all"] main { max-width: 1800px; padding: 34px 40px 48px; }
body[data-current-view="all"] .page-intro { align-items: center; margin: 0 0 28px; gap: 24px; }
body[data-current-view="all"] .page-intro-copy { min-width: 0; }
body[data-current-view="all"] .page-intro .eyebrow,
body[data-current-view="all"] #current-date,
body[data-current-view="all"] .progress-panel { display: none; }
body[data-current-view="all"] .page-intro h1 { font-size: clamp(30px, 2.5vw, 44px); font-weight: 700; line-height: 1.2; letter-spacing: -1.4px; margin: 0; }
body[data-current-view="all"] #page-subtitle { margin: 8px 0 14px; font-size: 16px; line-height: 1.5; color: var(--all-muted); }
body[data-current-view="all"] .timezone-summary { display: inline-flex; align-items: center; gap: 10px; border: 1px solid var(--border); border-radius: 8px; min-height: 44px; max-width: 100%; padding: 8px 12px; text-align: left; text-decoration: none; font-size: 13px; line-height: 1.5; color: var(--ink); background: var(--paper); }
body[data-current-view="all"] .timezone-summary .icon { width: 19px; height: 19px; }
body[data-current-view="all"] .timezone-summary > span:last-child { margin-left: 8px; }
.all-reminders-progress { display: flex; align-items: center; gap: 12px; color: var(--all-muted); font-size: 15px; flex-shrink: 0; }
.all-reminders-progress strong { font-weight: 500; }
.all-progress-icon { display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid currentColor; border-radius: 50%; }
.all-progress-icon .icon { width: 19px; height: 19px; }
body[data-current-view="all"] .content-grid { grid-template-columns: minmax(0, 1fr) 320px; gap: 28px; align-items: start; }
body[data-current-view="all"] .reminder-column { container-type: inline-size; container-name: all-reminders; }
body[data-current-view="all"] .quick-add { margin: 0 0 24px; border: 1px solid var(--border); border-radius: 14px; box-shadow: none; background: var(--paper); overflow: hidden; }
body[data-current-view="all"] .quick-entry { gap: 16px; padding: 20px; }
body[data-current-view="all"] .quick-entry > .icon { width: 38px; height: 38px; padding: 8px; border: 1px solid var(--border); border-radius: 50%; color: var(--all-muted); }
body[data-current-view="all"] .quick-entry input { color: var(--ink); font-size: 17px; min-width: 0; min-height: 48px; }
body[data-current-view="all"] .quick-entry input::placeholder { color: var(--all-muted); opacity: 1; }
body[data-current-view="all"] .quick-entry .quick-submit { min-height: 48px; min-width: 150px; padding: 10px 16px; border-radius: 9px; font-size: 15px; color: #292e29; background: var(--yellow); }
body[data-current-view="all"] .quick-add-footer { min-height: 44px; padding: 0 20px; gap: 12px; border-top: 1px solid var(--border); color: var(--all-muted); font-size: 12px; }
body[data-current-view="all"] #quick-more-options { min-height: 44px; font-size: 13px; }
body[data-current-view="all"] .list-toolbar { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 22px; padding: 0 0 12px; border-bottom: 1px solid var(--border); }
body[data-current-view="all"] .filter-tabs { display: flex; flex: 1 1 260px; flex-wrap: wrap; gap: 4px; overflow: visible; }
body[data-current-view="all"] .filter-tabs button { min-height: 44px; padding: 0 12px; border-radius: 7px; font-size: 14px; color: var(--all-muted); white-space: normal; overflow-wrap: anywhere; }
body[data-current-view="all"] .filter-tabs button.active { background: var(--sage); color: var(--ink); font-weight: 600; }
body[data-current-view="all"] .filter-tabs button span { font-size: 12px; min-width: 23px; min-height: 23px; border-radius: 4px; }
body[data-current-view="all"] .sort-control { margin-left: auto; min-height: 44px; }
body[data-current-view="all"] .sort-control select { min-height: 44px; font-size: 14px; color: var(--ink); }
body[data-current-view="all"] .search-bar { margin: 0 0 20px; min-height: 48px; }
body[data-current-view="all"] .search-bar input { font-size: 16px; }
body[data-current-view="all"] .reminder-group { margin: 0 0 26px; }
body[data-current-view="all"] .group-heading { gap: 10px; padding: 0 0 10px; margin: 0; min-height: 36px; border-bottom: 1px solid var(--border); }
body[data-current-view="all"] .group-heading h2 { font-size: 13px; line-height: 1.5; font-weight: 650; letter-spacing: 1.4px; text-transform: uppercase; color: var(--ink); }
body[data-current-view="all"] .group-count { min-width: 24px; height: 24px; padding: 0 6px; border-radius: 5px; font-size: 12px; color: var(--ink); background: var(--sage); }
body[data-current-view="all"] .overdue-heading h2 { color: var(--all-overdue); }
body[data-current-view="all"] .all-reminder-row { display: grid; grid-template-columns: 44px minmax(0, 1fr) minmax(65px, 100px) 82px max-content; gap: 12px; min-height: 88px; padding: 14px 0; margin: 0; border: 0; border-bottom: 1px solid var(--border); border-radius: 0; background: transparent; box-shadow: none; align-items: center; }
body[data-current-view="all"] .all-reminder-row.overdue { background: transparent; border-color: var(--border); }
body[data-current-view="all"] .all-reminder-row:hover,
body[data-current-view="all"] .all-reminder-row.overdue:hover { background: color-mix(in srgb, var(--sage) 25%, transparent); border-color: var(--border); box-shadow: none; }
body[data-current-view="all"] .all-reminder-row.is-priority::before { display: none; }
body[data-current-view="all"] .complete-button { width: 44px; height: 44px; border: 0; border-radius: 8px; background: transparent; position: relative; color: transparent; }
body[data-current-view="all"] .complete-button::before { content: ""; width: 26px; height: 26px; border: 1.5px solid var(--all-muted); border-radius: 50%; position: absolute; }
body[data-current-view="all"] .complete-button .icon { width: 18px; height: 18px; z-index: 1; }
body[data-current-view="all"] .complete-button:hover { color: var(--green); }
body[data-current-view="all"] .complete-button:hover::before { border-color: var(--green); background: var(--sage); }
body[data-current-view="all"] .reminder-name { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 8px; padding: 4px 0; color: var(--ink); font-size: 16px; font-weight: 600; line-height: 1.45; white-space: normal; overflow: visible; overflow-wrap: anywhere; }
body[data-current-view="all"] .priority-mark { display: inline-flex; gap: 4px; align-items: center; margin: 0; font-size: 11px; font-weight: 500; color: var(--all-work-ink); }
body[data-current-view="all"] .sample-badge { font-size: 11px; }
body[data-current-view="all"] .item-description { font-size: 13px; line-height: 1.6; color: var(--all-muted); margin: 2px 0 0; }
body[data-current-view="all"] .reminder-meta,
body[data-current-view="all"] .world-times,
body[data-current-view="all"] .time-task-meta { font-size: 12px; line-height: 1.6; color: var(--all-muted); margin-top: 5px; gap: 6px 10px; }
body[data-current-view="all"] .world-times small,
body[data-current-view="all"] .repeat-meta { font-size: inherit; color: inherit; }
body[data-current-view="all"] .all-reminder-list { min-width: 0; }
body[data-current-view="all"] .list-tag { display: inline-flex; padding: 5px 8px; border: 1px solid color-mix(in srgb, currentColor 15%, transparent); border-radius: 7px; font-size: 12px; line-height: 1.45; color: var(--ink); background: var(--sage); max-width: 100%; overflow-wrap: anywhere; }
body[data-current-view="all"] .list-tag::before { display: none; }
body[data-current-view="all"] .list-tag.personal { background: var(--all-personal); color: var(--all-personal-ink); }
body[data-current-view="all"] .list-tag.work { background: var(--all-work); color: var(--all-work-ink); }
body[data-current-view="all"] .list-tag.health { background: var(--all-health); color: var(--all-health-ink); }
body[data-current-view="all"] .all-reminder-time { min-width: 0; }
body[data-current-view="all"] .time-label { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; font-size: 14px; font-variant-numeric: tabular-nums; line-height: 1.5; color: var(--ink); }
body[data-current-view="all"] .time-label small { font-size: 11px; color: var(--all-muted); }
body[data-current-view="all"] .late-label { display: block; color: var(--all-overdue); font-size: 11px; line-height: 1.5; margin-top: 3px; }
body[data-current-view="all"] .row-actions { gap: 4px; margin: 0; flex-wrap: wrap; justify-content: flex-end; }
body[data-current-view="all"] .time-split { background: transparent; border: 0; overflow: visible; }
body[data-current-view="all"] .time-split button { min-height: 44px; padding: 6px; font-size: 12px; color: var(--ink); border-radius: 6px; }
body[data-current-view="all"] .time-split button span { display: inline; }
body[data-current-view="all"] .time-split button + button { min-width: 30px; border: 0; }
body[data-current-view="all"] .time-split button:hover { background: var(--sage); }
body[data-current-view="all"] .time-split .icon { width: 17px; height: 17px; }
body[data-current-view="all"] .row-actions .time-extend:has(button:disabled) { display: none; }
body[data-current-view="all"] .snooze-button { min-height: 44px; padding: 0 8px; font-size: 12px; color: var(--ink); background: transparent; border: 0; }
body[data-current-view="all"] .snooze-button .icon { width: 18px; height: 18px; }
body[data-current-view="all"] .edit-button { width: 44px; min-height: 44px; padding: 10px; color: var(--all-muted); }
body[data-current-view="all"] .edit-button .icon { width: 20px; height: 20px; }
body[data-current-view="all"] .main-footnote { justify-content: flex-start; color: var(--all-muted); margin-top: 20px; font-size: 12px; line-height: 1.6; }
body[data-current-view="all"] .empty-state { margin: 0 0 16px; padding: 32px 20px; min-height: 0; border: 1px dashed var(--border); border-radius: 12px; background: transparent; }
body[data-current-view="all"] .empty-icon { width: 44px; height: 44px; margin: 0 auto 14px; }
body[data-current-view="all"] .empty-state h2 { font-size: 20px; color: var(--ink); }
body[data-current-view="all"] .empty-state p { font-size: 14px; line-height: 1.6; color: var(--all-muted); max-width: none; }
body[data-current-view="all"] .empty-state .subtle-link { min-height: 44px; margin: 10px auto 0; text-decoration: underline; }
#all-completed { margin-top: 8px; }
#all-completed summary { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 4px; list-style: none; cursor: pointer; font-size: 14px; color: var(--ink); }
#all-completed summary::-webkit-details-marker { display: none; }
#all-completed summary::before { content: ""; width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(-45deg); margin: 0 6px; }
#all-completed[open] summary::before { transform: rotate(45deg); }
#all-completed-count { font-size: 12px; color: var(--all-muted); }
#all-completed .completed-row { padding: 16px 10px; margin: 0; border: 0; border-bottom: 1px solid var(--border); border-radius: 0; background: transparent; }
#all-completed .completed-row strong { font-size: 15px; font-weight: 500; color: var(--ink); }
.all-completed-empty { padding: 10px 26px; font-size: 14px; color: var(--all-muted); }
body[data-current-view="all"] .right-panel { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
body[data-current-view="all"] .rhythm-panel,
body[data-current-view="all"] .notification-panel { display: block; padding: 22px; border: 1px solid var(--border); border-radius: 14px; background: var(--paper); grid-column: auto; grid-row: auto; }
body[data-current-view="all"] .right-panel .panel-heading { margin: 0 0 24px; gap: 12px; }
body[data-current-view="all"] .right-panel .panel-heading h2 { font-size: 17px; line-height: 1.4; font-weight: 600; color: var(--ink); }
body[data-current-view="all"] .right-panel .panel-heading > .icon { width: 22px; height: 22px; color: var(--all-muted); }
body[data-current-view="all"] .rhythm-panel .soft-pill,
body[data-current-view="all"] .rhythm-icon,
body[data-current-view="all"] .rhythm-panel > h3,
body[data-current-view="all"] .rhythm-panel > p:not(.preference-note):not(#quiet-device-zone) { display: none; }
body[data-current-view="all"] .rhythm-panel .field-label { display: block; color: var(--ink); font-size: 14px; letter-spacing: 0; font-weight: 500; margin: 0 0 10px; }
body[data-current-view="all"] #default-nag { min-height: 46px; width: 100%; padding: 10px 12px; border: 1px solid var(--border); border-radius: 8px; font-size: 15px; background: var(--page); color: var(--ink); }
body[data-current-view="all"] .rhythm-panel > .preference-note { display: block; color: var(--all-muted); font-size: 12px; line-height: 1.7; margin: 10px 0 22px; }
body[data-current-view="all"] .quiet-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; border-top: 1px solid var(--border); border-bottom: 0; padding: 22px 0 0; margin: 0; }
body[data-current-view="all"] .quiet-row > div:first-child { display: block; color: var(--ink); font-size: 14px; line-height: 1.5; }
body[data-current-view="all"] .quiet-row > div:first-child > .icon { display: none; }
body[data-current-view="all"] .quiet-row small { display: block; margin-top: 8px; color: var(--all-muted); font-size: 13px; }
body[data-current-view="all"] .quiet-control { display: flex; align-items: center; gap: 8px; }
body[data-current-view="all"] #quiet-state { min-width: 22px; font-size: 12px; color: var(--all-muted); }
body[data-current-view="all"] #quiet-toggle { width: 46px; height: 44px; min-width: 46px; border-radius: 8px; background: transparent; position: relative; margin-top: -8px; }
body[data-current-view="all"] #quiet-toggle::before { content: ""; position: absolute; inset: 10px 0; border-radius: 20px; background: var(--all-muted); opacity: .5; }
body[data-current-view="all"] #quiet-toggle > span { position: absolute; width: 18px; height: 18px; top: 13px; left: 3px; border-radius: 50%; background: var(--paper); box-shadow: 0 1px 3px #0003; transform: none; }
body[data-current-view="all"] #quiet-toggle[aria-checked="true"]::before { background: var(--green); opacity: 1; }
body[data-current-view="all"] #quiet-toggle[aria-checked="true"] > span { transform: translateX(22px); }
body[data-current-view="all"] #quiet-device-zone { display: block; font-size: 12px; line-height: 1.5; color: var(--all-muted); margin: 4px 0 0; }
body[data-current-view="all"] .quiet-edit { display: inline-flex; min-height: 44px; align-items: center; width: auto; border: 0; margin: 0; padding: 0; font-size: 13px; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
body[data-current-view="all"] .rhythm-settings-link { display: flex; align-items: center; justify-content: flex-start; gap: 12px; min-height: 52px; margin: 12px 0 0; padding: 16px 0 0; font-size: 14px; border-top: 1px solid var(--border); color: var(--ink); }
body[data-current-view="all"] .notification-panel .panel-heading { justify-content: flex-start; margin-bottom: 12px; }
body[data-current-view="all"] .notification-panel .panel-heading h2 { font-size: 15px; }
body[data-current-view="all"] .notification-panel p,
body[data-current-view="all"] #notification-status { color: var(--all-muted); font-size: 12px; line-height: 1.7; margin: 0 0 16px; }
body[data-current-view="all"] #enable-notifications { width: 100%; min-height: 46px; padding: 10px; font-size: 13px; background: transparent; border-color: var(--all-muted); }
body[data-current-view="all"] #notification-status { display: block; margin: 12px 0 0; }
body[data-current-view="all"] .notification-panel .sample-note { display: none; }
body[data-current-view="all"] .guest-preview { padding: 12px 16px; margin-bottom: 24px; border-radius: 10px; }
body[data-current-view="all"] :is(button, input, select, summary):focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }

@container all-reminders (max-width: 820px) {
  body[data-current-view="all"] .all-reminder-row { grid-template-columns: 44px minmax(0, 1fr) minmax(74px, auto); gap: 4px 12px; }
  body[data-current-view="all"] .complete-button { grid-column: 1; grid-row: 1 / span 3; align-self: start; }
  body[data-current-view="all"] .reminder-details { grid-column: 2; grid-row: 1; }
  body[data-current-view="all"] .all-reminder-list { grid-column: 2; grid-row: 2; margin-top: 5px; }
  body[data-current-view="all"] .all-reminder-time { grid-column: 3; grid-row: 1 / span 2; align-self: start; padding-top: 8px; }
  body[data-current-view="all"] .row-actions { grid-column: 2 / -1; grid-row: 3; justify-content: flex-start; margin-top: 4px; }
  body[data-current-view="all"] .time-label { align-items: flex-end; text-align: right; }
  body[data-current-view="all"] .late-label { text-align: right; }
  body[data-current-view="all"] .quick-entry { gap: 10px; padding: 16px; }
  body[data-current-view="all"] .quick-entry input { font-size: 16px; }
  body[data-current-view="all"] .quick-entry .quick-submit { min-width: 128px; font-size: 14px; }
}
@media (max-width: 1400px) {
  body[data-current-view="all"] main { padding: 28px 24px 40px; }
  body[data-current-view="all"] .content-grid { grid-template-columns: minmax(0, 1fr) 280px; gap: 20px; }
  body[data-current-view="all"] .rhythm-panel,
  body[data-current-view="all"] .notification-panel { padding: 18px; }
}
@media (max-width: 1100px) {
  body[data-current-view="all"] .content-grid { grid-template-columns: minmax(0, 1fr); }
  body[data-current-view="all"] .right-panel { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
  body[data-current-view="all"] .all-reminders-progress { align-self: flex-start; padding-top: 8px; font-size: 13px; }
}
@media (max-width: 760px) {
  body[data-current-view="all"] main { padding: 24px 20px 36px; }
  body[data-current-view="all"] .page-intro { flex-wrap: wrap; gap: 16px; }
  body[data-current-view="all"] .all-reminders-progress { padding-top: 0; }
  body[data-current-view="all"] .all-progress-icon { width: 24px; height: 24px; }
  body[data-current-view="all"] .notification-panel { width: 100%; }
}
@media (max-width: 520px) {
  body[data-current-view="all"] main { padding: 20px 16px 32px; }
  body[data-current-view="all"] .page-intro { display: block; margin-bottom: 22px; }
  body[data-current-view="all"] .all-reminders-progress { margin-top: 16px; }
  body[data-current-view="all"] #page-subtitle { font-size: 15px; }
  body[data-current-view="all"] .quick-entry { flex-wrap: wrap; padding: 14px; }
  body[data-current-view="all"] .quick-entry > .icon { width: 30px; height: 30px; padding: 5px; }
  body[data-current-view="all"] .quick-entry input { flex: 1 1 calc(100% - 46px); }
  body[data-current-view="all"] .quick-entry .quick-submit { flex: 1 1 100%; margin-top: 4px; }
  body[data-current-view="all"] .quick-add-footer { flex-wrap: wrap; padding: 6px 14px; gap: 0 8px; }
  body[data-current-view="all"] .quick-add-footer > span { flex: 1 1 100%; padding-top: 5px; }
  body[data-current-view="all"] #quick-more-options { margin-left: auto; }
  body[data-current-view="all"] .filter-tabs { flex-basis: 100%; }
  body[data-current-view="all"] .filter-tabs button { padding: 0 10px; }
  body[data-current-view="all"] .right-panel { grid-template-columns: minmax(0, 1fr); }
  body[data-current-view="all"] .all-reminder-row { grid-template-columns: 36px minmax(0, 1fr) 72px; column-gap: 8px; }
  body[data-current-view="all"] .complete-button { width: 36px; }
  body[data-current-view="all"] .reminder-name { font-size: 15px; }
  body[data-current-view="all"] .world-times { flex-direction: column; align-items: flex-start; gap: 2px; }
}
