/* Shared navigation and reminder-entry refinements retained from the original Today stylesheet. */
.sidebar .sidebar-heading { margin-bottom: 22px; }
.sidebar .sidebar-heading .brand { font-size: 31px; letter-spacing: -1.7px; }
.sidebar .brand-icon { transform: none; }
.sidebar .brand-icon i { display: none; }
.sidebar .nav-caption { font-size: 11px; color: var(--muted); letter-spacing: 1.5px; }
.sidebar .main-nav { gap: 2px; }
.sidebar .nav-item { min-height: 44px; font-size: 14px; color: var(--ink); }
.sidebar .nav-item .icon { width: 21px; height: 21px; }
.sidebar .nav-item.active { font-weight: 600; }
.sidebar .nav-count { font-size: 12px; min-width: 22px; height: 22px; }
.sidebar .nav-divider { margin: 13px 12px 5px; }
.sidebar .nav-time-caption { padding: 10px 13px 4px; margin: 0; }
.sidebar .lists-caption { margin-top: 19px; margin-bottom: 3px; }
.sidebar .list-nav { gap: 0; }
.sidebar .list-select { min-height: 38px; padding: 4px 12px; font-size: 14px; gap: 11px; }
.sidebar .list-more { min-height: 38px; }
.sidebar .list-visibility {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.sidebar .list-access-icon { display: inline-flex; color: var(--muted); flex-shrink: 0; }
.sidebar .list-access-icon .icon { width: 15px; height: 15px; }
.sidebar .sidebar-bottom { padding-top: 18px; }
.sidebar .little-note { display: none; }
.sidebar .sidebar-bottom .nav-item { font-size: 13px; }
.sidebar .prototype-tag { justify-content: flex-start; font-size: 11px; margin-top: 4px; border-top: 0; padding: 6px 13px 0; }
.sidebar .account-button { min-height: 36px; }
.sidebar .account-mark { width: 21px; height: 21px; font-size: 13px; }
.topbar { min-height: 70px; height: 70px; padding: 0 34px; }
.topbar #current-date { font-size: 15px; color: var(--ink); white-space: nowrap; }
.topbar-right { gap: 12px; }
.topbar .pings-pill,
.topbar .topbar-search,
.topbar .theme-toggle {
  min-height: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 9px;
  padding: 0 15px;
  background: var(--paper);
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: auto;
}
.topbar .pings-pill > span:first-child { font-size: 25px; }
.topbar .topbar-search .icon,
.topbar .theme-toggle .icon { width: 19px; height: 19px; }
.topbar .pings-pill:hover,
.topbar .topbar-search:hover,
.topbar .theme-toggle:hover { background: var(--sage); }
.quick-add { display: block; padding: 0; min-width: 0; }
.quick-entry { display: flex; align-items: center; gap: 14px; min-height: 70px; padding: 10px 14px 10px 17px; }
.quick-entry > .icon { width: 32px; height: 32px; padding: 6px; border: 1px solid var(--border); border-radius: 50%; color: var(--muted); }
.quick-entry input { flex: 1; min-width: 0; font-size: 16px; height: 44px; }
.quick-entry input::placeholder { color: #757c72; opacity: 1; }
.quick-entry .quick-submit { display: inline-flex; align-items: center; justify-content: center; width: auto; min-width: 138px; height: 44px; padding: 0 17px; border-radius: 8px; border: 1px solid #dfce72; background: var(--yellow); color: #292e29; font-size: 14px; font-weight: 600; }
.quick-entry .quick-submit:hover { background: #e8d971; }
.quick-add-footer { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 36px; padding: 0 16px; border-top: 1px solid var(--border); font-size: 12px; color: var(--muted); }
#quick-more-options { min-height: 36px; padding: 0 2px; font-size: 12px; color: var(--ink); white-space: nowrap; display: inline-flex; align-items: center; gap: 7px; }
.live-nudge:not(.is-docked) .nudge-dismiss-label { display: none; }
html[data-theme="dark"] .quick-entry input::placeholder { color: #adb8a4; }
html[data-theme="dark"] .quick-entry .quick-submit,
html[data-theme="dark"] .quick-entry .quick-submit:hover { color: #292e29; background: var(--yellow); border-color: #dfce72; }
@media (min-width: 761px) {
.sidebar { width: 260px; padding: 23px 16px 14px; }
.main-shell { margin-left: 260px; }
.sidebar .sidebar-bottom { margin-top: auto; }
}
@media (min-width: 901px) and (max-width: 1360px) {
.sidebar { width: 224px; padding-left: 12px; padding-right: 12px; }
.main-shell { margin-left: 224px; }
.sidebar .sidebar-heading .brand { font-size: 28px; }
.sidebar .nav-item { font-size: 13px; }
.topbar { padding: 0 24px; }
}
@media (max-width: 760px) {
.sidebar { padding: 20px 15px max(20px, env(safe-area-inset-bottom)); }
.sidebar .main-nav .nav-item,
.sidebar .sidebar-bottom .nav-item { min-height: 44px; font-size: 14px; }
.sidebar .list-nav .list-select { min-height: 44px; font-size: 14px; }
.sidebar .nav-time-caption { display: block; }
.main-shell { margin-left: 0; }
.topbar { padding: 0 16px; gap: 8px; }
.topbar #current-date { font-size: 13px; }
.topbar-right { gap: 6px !important; }
.topbar .pings-pill,
.topbar .topbar-search,
.topbar .theme-toggle { min-height: 42px; height: 42px; padding: 0 10px; font-size: 12px; }
}
@media (max-width: 480px) {
.topbar { padding: 0 10px; }
.topbar-start { gap: 4px; }
.topbar #current-date { font-size: 12px; }
.topbar .topbar-search { width: 42px; padding: 0; }
.topbar .topbar-search > span { display: none; }
.topbar .theme-toggle { width: 42px; padding: 0; }
.topbar .pings-pill { padding: 0 8px; gap: 5px; }
.topbar .pings-pill > span:first-child { font-size: 22px; }
.quick-entry { flex-wrap: wrap; gap: 7px; padding: 12px; }
.quick-entry > .icon { width: 28px; height: 28px; }
.quick-entry input { flex: 1 1 calc(100% - 42px); font-size: 16px; }
.quick-entry .quick-submit { flex: 1 1 100%; margin-top: 4px; }
.quick-add-footer { padding: 5px 12px; flex-wrap: wrap; gap: 0 10px; }
.quick-add-footer > span { flex: 1 1 100%; padding-top: 5px; }
#quick-more-options { margin-left: auto; min-height: 40px; }
}

/* Today dashboard: due today, finishing today, and unresolved attention. */
body[data-current-view="today"] {
  --td-attention: #fff8e8;
  --td-attention-border: #cfb77c;
  --td-attention-text: #9b4e1d;
  --td-attention-icon: #f4e8c5;
  --td-attention-icon-ink: #735a25;
  --td-timer-icon: #e6efdc;
  --td-timer-ink: #476632;
  --td-progress: #769d5b;
  --td-control-border: #8e9c81;
  --td-panel: var(--paper);
  --td-muted: var(--muted);
}
html[data-theme="dark"] body[data-current-view="today"] {
  --td-attention: #2e2c1c;
  --td-attention-border: #796431;
  --td-attention-text: #f0b56d;
  --td-attention-icon: #594923;
  --td-attention-icon-ink: #f5d77e;
  --td-timer-icon: #30482e;
  --td-timer-ink: #a6d88d;
  --td-progress: #a6d88d;
  --td-control-border: #73826b;
}
body[data-current-view="today"] .main-shell main {
  display: block;
  width: 100%;
  max-width: 1560px;
  margin: 0 auto;
  padding: 36px 48px 64px;
}
body[data-current-view="today"] .main-shell .page-intro {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  min-height: 0;
  margin: 0 0 30px;
  padding: 0;
  gap: 24px;
}
body[data-current-view="today"] .main-shell .page-intro #page-title {
  margin: 0 0 8px;
  font-size: 36px;
  line-height: 1.2;
  font-weight: 720;
  letter-spacing: -1.1px;
}
body[data-current-view="today"] .main-shell .page-intro #page-subtitle {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
  color: var(--td-muted);
}
body[data-current-view="today"] .main-shell .page-intro :is(.eyebrow, .intro-add, #today-summary, #timezone-summary) { display: none; }
body[data-current-view="today"] .main-shell .guest-preview { margin: 0 0 26px; }
body[data-current-view="today"] .main-shell main .content-grid,
body[data-current-view="today"] #list-toolbar,
body[data-current-view="today"] #today-completed { display: none; }
body[data-current-view="today"] .main-shell #search-bar { margin: 0 0 24px; }
body[data-current-view="today"] .topbar .global-create-actions,
body[data-current-view="today"] .topbar .global-create-actions #global-create {
  background: var(--yellow);
  color: #252b1e;
  border-color: #c6b952;
  min-height: 44px;
}
body[data-current-view="today"] .topbar .global-create-actions #global-create:hover:not(:disabled) { background: #fff0a0; color: #252b1e; }
body[data-current-view="today"] .topbar .global-create-actions #global-create:focus-visible { outline-color: #445a35; outline-offset: -5px; }
body[data-current-view="today"] .topbar .topbar-search { min-height: 44px; height: 44px; }
body[data-current-view="today"] .main-shell .page-intro #today-clock { display: flex; flex: 0 0 auto; flex-direction: column; align-items: flex-end; gap: 3px; text-align: right; color: var(--ink); font-variant-numeric: tabular-nums; }
#today-clock-time { display: block; font-size: 27px; line-height: 1.3; font-weight: 650; letter-spacing: -.45px; }
#today-clock-date { display: block; color: var(--muted); font-size: 13px; line-height: 1.5; }
#today-clock-zone { display: block; color: var(--muted); font-size: 12px; line-height: 1.5; }

#today-dashboard { min-width: 0; color: var(--ink); }
#today-dashboard :is(h2, h3, p) { overflow-wrap: anywhere; }
#today-dashboard .today-section { margin: 0 0 28px; }
#today-dashboard .today-section-heading { display: flex; align-items: center; gap: 11px; min-height: 32px; margin-bottom: 12px; }
#today-dashboard .today-section-heading h2 { margin: 0; color: var(--ink); font-size: 19px; line-height: 1.4; letter-spacing: -.3px; font-weight: 650; }
#today-dashboard .today-count { display: inline-flex; align-items: center; justify-content: center; min-width: 24px; min-height: 23px; padding: 1px 7px; border-radius: 6px; background: var(--sage); color: var(--ink); font-size: 12px; font-weight: 550; font-variant-numeric: tabular-nums; }
#today-dashboard .today-section-link { margin-left: auto; }
#today-dashboard .today-action,
#today-dashboard .today-action-quiet {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  min-width: 44px;
  max-width: 100%;
  height: auto;
  padding: 10px 16px;
  border: 1px solid var(--td-control-border);
  border-radius: 7px;
  background: transparent;
  color: var(--ink);
  box-shadow: none;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  white-space: normal;
  overflow-wrap: anywhere;
  text-align: center;
  cursor: pointer;
}
#today-dashboard .today-action .icon,
#today-dashboard .today-action-quiet .icon { width: 18px; height: 18px; flex-shrink: 0; }
#today-dashboard .today-action.primary { background: var(--yellow); color: #252b1e; border-color: var(--yellow); }
#today-dashboard .today-action.primary:hover:not(:disabled) { background: #fff0a0; border-color: #fff0a0; }
#today-dashboard .today-action.secondary:hover:not(:disabled),
#today-dashboard .today-action-quiet:hover:not(:disabled) { background: var(--surface-hover); color: var(--ink); border-color: var(--td-control-border); }
#today-dashboard .today-action-quiet { border-color: transparent; padding: 8px 10px; color: var(--td-muted); font-weight: 450; font-size: 13px; }
#today-dashboard :is(.today-action, .today-action-quiet):disabled { opacity: .55; cursor: not-allowed; }
#today-dashboard :is(button, summary, a, [data-today-entry]):focus-visible,
#today-dashboard:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
#today-dashboard .today-attention-card,
#today-dashboard .today-timer-card { display: flex; align-items: center; gap: 22px; min-width: 0; margin: 0 0 12px; padding: 24px; border: 1px solid var(--border); border-radius: 12px; background: var(--td-panel); box-shadow: none; }
#today-dashboard .today-attention-card:last-child,
#today-dashboard .today-timer-card:last-child { margin-bottom: 0; }
#today-dashboard .today-attention-card { background: var(--td-attention); border-color: var(--td-attention-border); }
#today-dashboard .today-type-icon { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; flex: 0 0 46px; border-radius: 50%; background: var(--td-timer-icon); color: var(--td-timer-ink); }
#today-dashboard .today-type-icon .icon { width: 25px; height: 25px; }
#today-dashboard .today-attention-card .today-type-icon { background: var(--td-attention-icon); color: var(--td-attention-icon-ink); }
#today-dashboard .today-item-info { flex: 1 1 0%; min-width: 0; }
#today-dashboard .today-item-title { margin: 3px 0 5px; color: var(--ink); font-size: 18px; line-height: 1.4; font-weight: 650; letter-spacing: -.25px; }
#today-dashboard .today-item-meta { color: var(--td-muted); font-size: 14px; line-height: 1.6; margin: 0; }
#today-dashboard .today-item-note { color: var(--td-muted); font-size: 13px; line-height: 1.6; margin: 7px 0 0; }
#today-dashboard .today-item-status { display: flex; align-items: center; gap: 6px; margin: 0 0 3px; color: var(--td-attention-text); font-size: 13px; line-height: 1.5; font-weight: 650; }
#today-dashboard .today-item-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 7px; min-width: 0; max-width: 48%; }
#today-dashboard .today-action-line,
#today-dashboard .today-secondary-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 8px; }
#today-dashboard .today-secondary-actions { gap: 4px; }
#today-dashboard .today-timer-card .today-item-info { flex: 1 1 180px; }
#today-dashboard .today-timer-readout { flex: 1 1 200px; min-width: 140px; max-width: 380px; margin: 0 18px; }
#today-dashboard .today-timer-number { color: var(--ink); font-size: 28px; line-height: 1.3; font-weight: 650; letter-spacing: -.6px; font-variant-numeric: tabular-nums; }
#today-dashboard .today-timer-caption { margin-left: 9px; color: var(--td-muted); font-size: 13px; line-height: 1.5; }
#today-dashboard .today-progress-track { height: 5px; overflow: hidden; margin-top: 10px; border-radius: 8px; background: var(--sage); }
#today-dashboard .today-progress-fill { height: 100%; max-width: 100%; background: var(--td-progress); border-radius: inherit; transition: width .7s linear; }
#today-dashboard .today-timer-card.is-paused .today-progress-fill { opacity: .6; }
#today-dashboard .today-timer-card .today-item-actions { flex: 0 1 auto; }
#today-dashboard .today-schedule { overflow: hidden; border: 1px solid var(--border); border-radius: 12px; background: var(--td-panel); }
#today-dashboard .today-schedule-row { display: flex; align-items: center; gap: 20px; min-height: 88px; padding: 18px 24px; border-bottom: 1px solid var(--border); }
#today-dashboard .today-schedule-row:last-child { border-bottom: 0; }
#today-dashboard .today-time-column { flex: 0 0 64px; color: var(--ink); font-size: 16px; line-height: 1.4; font-weight: 650; font-variant-numeric: tabular-nums; }
#today-dashboard .today-schedule-row .today-type-icon { flex: 0 0 42px; width: 42px; height: 44px; background: transparent; color: var(--ink); }
#today-dashboard .today-complete-button { position: relative; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 44px; width: 44px; height: 44px; padding: 10px; border: 0; border-radius: 50%; background: transparent; color: var(--ink); cursor: pointer; }
#today-dashboard .today-complete-circle { display: block; width: 24px; height: 24px; border: 1.5px solid var(--td-control-border); border-radius: 50%; }
#today-dashboard .today-complete-button:hover:not(:disabled) .today-complete-circle { background: var(--yellow); border-color: var(--yellow); }
#today-dashboard .today-complete-button:disabled { opacity: .5; cursor: not-allowed; }
#today-dashboard .today-schedule-row .today-item-title { font-size: 16px; margin: 0 0 3px; }
#today-dashboard .today-schedule-row .today-item-meta { font-size: 13px; }
#today-dashboard .today-row-remaining { flex: 0 0 auto; color: var(--ink); font-size: 18px; line-height: 1.4; font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
#today-dashboard .today-row-remaining small,
#today-dashboard .today-row-remaining > span,
#today-dashboard .today-row-remaining .today-timer-caption { color: var(--td-muted); font-size: 12px; font-weight: 400; margin-left: 7px; }
#today-dashboard .today-row-remaining strong { font-weight: 600; }
#today-dashboard .today-schedule-row .today-item-actions { flex: 0 0 auto; }
#today-dashboard .today-completed { margin: 4px 0 0; border: 1px solid var(--border); border-radius: 9px; background: var(--td-panel); }
#today-dashboard .today-completed-summary { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 16px; padding: 6px 15px; min-height: 58px; }
#today-dashboard .today-completed-toggle { display: inline-flex; align-items: center; gap: 11px; padding: 8px 0; min-height: 44px; border: 0; border-radius: 4px; color: var(--ink); background: transparent; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
#today-dashboard .today-completed-toggle .icon { width: 16px; height: 16px; transform: rotate(-90deg); transition: transform .15s; }
#today-dashboard .today-completed-toggle[aria-expanded="true"] .icon { transform: rotate(0); }
#today-dashboard .today-completed-list { padding: 0 20px; border-top: 1px solid var(--border); }
#today-dashboard .today-completed-row { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 16px; padding: 15px 0; border-bottom: 1px solid var(--border); }
#today-dashboard .today-completed-row:last-child { border-bottom: 0; }
#today-dashboard .today-completed-row > .icon { flex: 0 0 20px; width: 20px; height: 20px; color: var(--td-timer-ink); }
#today-dashboard .today-completed-row > .today-type-icon { flex: 0 0 20px; width: 20px; height: 24px; background: transparent; color: var(--td-timer-ink); }
#today-dashboard .today-completed-row > .today-type-icon .icon { width: 20px; height: 20px; }
#today-dashboard .today-completed-row .today-item-title { font-size: 15px; }
#today-dashboard .today-completed-row .today-item-meta { font-size: 13px; }
#today-dashboard .today-completed-row .today-item-actions { margin-left: auto; max-width: 100%; }
#today-dashboard .today-empty { margin: 0 0 28px; padding: 60px 24px; border: 1px solid var(--border); border-radius: 14px; background: var(--td-panel); text-align: center; }
#today-dashboard .today-empty-icon { display: flex; align-items: center; justify-content: center; width: 62px; height: 62px; margin: 0 auto 18px; border-radius: 50%; background: var(--sage); color: var(--green); }
#today-dashboard .today-empty-icon .icon { width: 28px; height: 28px; }
#today-dashboard .today-empty h2 { color: var(--ink); font-size: 24px; font-weight: 650; line-height: 1.35; letter-spacing: -.55px; margin: 0 0 10px; }
#today-dashboard .today-empty p { max-width: 440px; margin: 0 auto 24px; color: var(--td-muted); font-size: 15px; line-height: 1.6; }
#today-dashboard .today-empty-actions { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px; }
#today-dashboard .today-status { margin: 0 0 20px; padding: 14px 17px; border: 1px solid var(--border); border-radius: 9px; background: var(--td-panel); color: var(--td-muted); font-size: 14px; line-height: 1.6; }
#today-dashboard .today-error { margin: 0 0 20px; padding: 14px 17px; border: 1px solid var(--td-attention-border); border-radius: 9px; background: var(--td-attention); color: var(--ink); font-size: 14px; line-height: 1.6; }
#today-dashboard .today-alert-status { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 18px; color: var(--td-muted); font-size: 13px; line-height: 1.5; }
#today-dashboard .today-alert-status > .icon { flex: 0 0 18px; width: 18px; height: 18px; }
#today-dashboard .today-alert-status .today-action-quiet { color: var(--green); }

@media (min-width: 1800px) {
  body[data-current-view="today"] .main-shell main { padding-top: 42px; }
  #today-dashboard .today-section { margin-bottom: 32px; }
  #today-dashboard .today-attention-card { padding: 28px; }
}
@media (max-width: 1200px) {
  body[data-current-view="today"] .main-shell main { padding: 30px 30px 48px; }
  #today-dashboard .today-attention-card, #today-dashboard .today-timer-card { gap: 16px; padding: 21px; }
  #today-dashboard .today-timer-readout { margin: 0; }
  #today-dashboard .today-timer-card .today-item-actions { max-width: 170px; }
  #today-dashboard .today-timer-card .today-action-line { flex-direction: column; }
  #today-dashboard .today-schedule-row { gap: 16px; }
  #today-dashboard .today-row-remaining small,
  #today-dashboard .today-row-remaining > span { display: block; margin: 3px 0 0; }
}
@media (max-width: 900px) {
  body[data-current-view="today"] .main-shell main { padding: 28px 24px 48px; }
  #today-dashboard .today-attention-card { flex-wrap: wrap; align-items: flex-start; }
  #today-dashboard .today-attention-card .today-item-info { flex: 1 1 calc(100% - 62px); }
  #today-dashboard .today-attention-card .today-item-actions { flex-direction: row; flex-wrap: wrap; align-items: center; align-self: stretch; justify-content: flex-start; max-width: none; width: calc(100% - 62px); margin-left: 62px; }
  #today-dashboard .today-attention-card .today-action-line { justify-content: flex-start; }
  #today-dashboard .today-timer-card { flex-wrap: wrap; }
  #today-dashboard .today-timer-card .today-item-info { flex-basis: calc(100% - 240px); }
  #today-dashboard .today-timer-card .today-item-actions { margin-left: auto; }
  #today-dashboard .today-timer-readout { order: 4; flex: 1 1 calc(100% - 62px); margin-left: 62px; max-width: none; }
  #today-dashboard .today-timer-card .today-action-line { flex-direction: row; }
}
@media (max-width: 760px) {
  body[data-current-view="today"] .main-shell .page-intro { flex-direction: column; align-items: flex-start; gap: 16px; }
  body[data-current-view="today"] .main-shell .page-intro #today-clock { align-items: flex-start; text-align: left; }
  #today-clock-time { font-size: 23px; }
}
@media (max-width: 600px) {
  body[data-current-view="today"] .main-shell main { padding: 24px 16px 40px; }
  body[data-current-view="today"] .main-shell .page-intro { margin-bottom: 24px; gap: 14px; }
  body[data-current-view="today"] .main-shell .page-intro #page-title { font-size: 30px; letter-spacing: -.7px; }
  body[data-current-view="today"] .main-shell .page-intro #page-subtitle { font-size: 14px; }
  #today-dashboard .today-section { margin-bottom: 24px; }
  #today-dashboard .today-section-heading { gap: 9px; }
  #today-dashboard .today-section-heading h2 { font-size: 17px; }
  #today-dashboard .today-section-link { padding: 8px 0 8px 8px; font-size: 12px; }
  #today-dashboard .today-attention-card, #today-dashboard .today-timer-card { padding: 18px 15px; gap: 12px; }
  #today-dashboard .today-type-icon { width: 38px; height: 38px; flex-basis: 38px; }
  #today-dashboard .today-type-icon .icon { width: 22px; height: 22px; }
  #today-dashboard .today-attention-card .today-item-info { flex-basis: calc(100% - 50px); }
  #today-dashboard .today-attention-card .today-item-actions { margin-left: 50px; width: calc(100% - 50px); }
  #today-dashboard .today-item-title { font-size: 17px; }
  #today-dashboard .today-item-meta { font-size: 13px; }
  #today-dashboard .today-item-note { font-size: 12px; }
  #today-dashboard .today-action { padding: 10px 12px; font-size: 13px; }
  #today-dashboard .today-action-quiet { font-size: 12px; padding: 8px; }
  #today-dashboard .today-timer-card .today-item-info { flex-basis: calc(100% - 50px); }
  #today-dashboard .today-timer-card .today-item-actions { order: 5; max-width: none; margin-left: 50px; }
  #today-dashboard .today-timer-card .today-item-title { font-size: 16px; }
  #today-dashboard .today-timer-readout { margin-left: 50px; flex-basis: calc(100% - 50px); min-width: 0; }
  #today-dashboard .today-timer-number { font-size: 27px; }
  #today-dashboard .today-timer-caption { font-size: 12px; }
  #today-dashboard .today-schedule-row { display: grid; grid-template-columns: 46px 44px minmax(0, 1fr); gap: 4px 8px; padding: 17px 13px; }
  #today-dashboard .today-time-column { grid-column: 1; grid-row: 1; font-size: 14px; }
  #today-dashboard .today-schedule-row :is(.today-complete-button, .today-type-icon) { grid-column: 2; grid-row: 1; width: 44px; }
  #today-dashboard .today-schedule-row .today-item-info { grid-column: 3; grid-row: 1; }
  #today-dashboard .today-schedule-row .today-item-title { font-size: 15px; }
  #today-dashboard .today-schedule-row .today-item-meta { font-size: 12px; }
  #today-dashboard .today-schedule-row .today-row-remaining { grid-column: 3; font-size: 15px; text-align: left; }
  #today-dashboard .today-row-remaining small,
  #today-dashboard .today-row-remaining > span { display: inline; margin: 0 0 0 5px; }
  #today-dashboard .today-schedule-row .today-item-actions { grid-column: 3; max-width: none; align-items: flex-start; }
  #today-dashboard .today-schedule-row .today-action-quiet { padding-left: 0; }
  #today-dashboard .today-completed-summary { padding: 6px 12px; gap: 0 8px; }
  #today-dashboard .today-completed-toggle { font-size: 13px; gap: 8px; }
  #today-dashboard .today-completed-list { padding: 0 14px; }
  #today-dashboard .today-completed-row .today-item-actions { margin-left: 36px; }
  #today-dashboard .today-empty { padding: 40px 20px; }
  #today-dashboard .today-empty h2 { font-size: 22px; }
  #today-dashboard .today-empty p { font-size: 14px; }
  #today-dashboard .today-alert-status { font-size: 12px; }
}
@media (max-width: 360px) {
  body[data-current-view="today"] .main-shell main { padding-inline: 12px; }
  #today-dashboard .today-attention-card .today-item-actions,
  #today-dashboard .today-timer-card .today-item-actions { margin-left: 0; width: 100%; }
  #today-dashboard .today-completed-summary > .today-action-quiet { margin-left: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  #today-dashboard .today-progress-fill,
  #today-dashboard .today-completed-toggle .icon { transition: none; }
}

/* The same snooze form is used from Today, reminder rows and due notices. */
#today-snooze-dialog { width: min(680px, calc(100vw - 24px)); max-height: 90dvh; overflow: auto; }
#today-snooze-dialog h2 { overflow-wrap: anywhere; }
#snooze-controls { padding: 0; margin: 16px 0; min-width: 0; border: 0; }
.snooze-modes, .snooze-units, .snooze-grid { display: grid; gap: 10px; }
.snooze-modes { grid-template-columns: 1fr 1fr; gap: 4px; padding: 3px; border-radius: 10px; background: var(--sage); }
.snooze-grid { grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; margin-top: 20px; }
.snooze-grid > * { min-width: 0; }
.snooze-row { display: flex; flex-wrap: wrap; gap: 6px; }
.snooze-units { grid-template-columns: repeat(3, minmax(0, 1fr)); }
#snooze-controls input { width: 100%; min-width: 0; font-variant-numeric: tabular-nums; }
#snooze-controls label { display: block; margin: 14px 0 5px; }
.snooze-label { display: block; margin-bottom: 6px; font-weight: 600; }
.snooze-label .icon { vertical-align: text-bottom; }
.snooze-modes button, .snooze-row button { min-height: 44px; padding: 6px 10px; border: 1px solid var(--border); border-radius: 8px; background: var(--paper); color: var(--ink); font: inherit; cursor: pointer; }
.snooze-row button { flex: 1 1 auto; }
.snooze-modes button { background: transparent; border-color: transparent; }
.snooze-modes button[aria-pressed="true"], .snooze-row button[aria-pressed="true"] { border-color: var(--focus); font-weight: 700; background: var(--paper); box-shadow: inset 0 0 0 1px var(--focus); }
.snooze-modes button[aria-pressed="true"]::before { content: "✓" / ""; margin-right: .4em; }
#today-snooze-form summary { padding: 8px 0; min-height: 32px; color: var(--muted); cursor: pointer; }
#snooze-clock-zone { color: var(--muted); font-weight: 400; }
.snooze-preview { padding: 16px; background: var(--sage); color: var(--ink); border-radius: 10px; }
#snooze-preview-time { display: block; font-size: 2.2rem; line-height: 1.25; font-variant-numeric: tabular-nums; }
#snooze-preview-zones:not(:empty) { display: grid; grid-template-columns: auto 1fr; gap: 6px 10px; margin: 12px 0 0; padding-top: 10px; border-top: 1px solid var(--border); }
#snooze-preview-zones:empty, #today-snooze-error:empty { display: none; }
#snooze-preview-zones dd { margin: 0; text-align: end; }
#today-snooze-form .modal-footer button { min-height: 44px; white-space: normal; }
@media (max-width: 600px) {
  .snooze-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
}
