  /* the To-dos, Inbox and Remember pages, each a list with Changed and Undo. Tokens only. */
  #todosPage, #inboxPage, #rememberPage { display: none; }
  body.todos-open #todosPage, body.inbox-open #inboxPage, body.remember-open #rememberPage { display: block; }
  .page-changed { white-space: pre-wrap; font-size: 13px; line-height: 1.5; color: var(--ink-soft); margin: 12px 0; padding: 10px 14px; background: var(--card); border: var(--bw) var(--bs) var(--line); border-radius: var(--r-md); }
  .page-changed:empty { display: none; }
  .page-changed .chip { display: block; margin-top: 8px; border-radius: var(--r-pill); padding: 8px 16px; font-size: 14px; min-height: 44px; font-family: var(--sans); cursor: pointer; white-space: normal; }
  .td-h { font-family: var(--display); font-weight: 500; font-size: 20px; color: var(--ink); margin: 22px 0 2px; }
  /* To-dos' lists one at a time, the dots and arrows under them; a sideways swipe moves too. */
  .td-slide[hidden] { display: none; }
  /* With room for two columns (about 700px), every list at once, side by side as cards, and no dots or arrows; a card
     at most a reading width, centered in its column (one or two lists don't stretch across the page). */
  #todosPage { container: todos / inline-size; }
  #todosPage > .hint { max-width: 72ch; }
  @container todos (min-width: 698px) {
    #todosBody { display: grid; grid-template-columns: var(--card-cols); column-gap: 18px; align-items: start; }
    #todosBody > .td-nav { display: none; }
    #todosBody > .td-slide, #todosBody > .td-slide[hidden] { display: block; justify-self: center; width: 100%; max-width: 720px; box-sizing: border-box; min-width: 0; margin: 12px 0 0; padding: 0 16px 12px; background: var(--card); border: var(--bw) var(--bs) var(--line); border-radius: var(--r-md); }
  }
  .td-slide { touch-action: pan-y; }
  .td-nav { display: flex; align-items: center; justify-content: center; gap: 4px; margin: 8px 0 16px; }
  .td-dot { width: 44px; height: 44px; padding: 0; border: none; background: none; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; border-radius: var(--r-pill); }
  .td-dot::before { content: ""; width: 10px; height: 10px; border-radius: var(--r-pill); border: 2px solid var(--ink-soft); box-sizing: border-box; }
  .td-dot[aria-current="true"]::before { background: var(--accent); border-color: var(--accent); }
  .td-arrow { min-width: 44px; min-height: 44px; padding: 0 10px; font-size: 22px; line-height: 1; color: var(--ink); background: var(--card); border: var(--bw) var(--bs) var(--line); border-radius: var(--r-pill); cursor: pointer; font-family: var(--sans); }
  .td-arrow:disabled { opacity: .45; cursor: default; }
  @media (pointer: coarse) { .td-arrow { display: none; } }
  .td-sub { font-size: 13px; color: var(--ink-soft); margin: 0 0 6px; }
  /* A list of yours: Rename and Delete list, and the box under them for the new name or the question. */
  .td-tools { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 4px; }
  .td-tool-box { margin: 8px 0 4px; }
  .td-tool-box > label.td-sub { display: block; }
  .page-list { list-style: none; margin: 6px 0 16px; padding: 0; }
  .page-list li { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 4px 0; border-bottom: var(--bw) var(--bs) var(--line); }
  .page-list li:last-child { border-bottom: none; }
  .page-list label { display: flex; align-items: center; justify-content: center; flex: none; min-width: 44px; min-height: 44px; cursor: pointer; } /* the box's own target; the words don't tick */
  .page-list input[type=checkbox] { width: 20px; height: 20px; flex: none; accent-color: var(--accent); margin: 0; }
  .page-list li.done .td-title { text-decoration: line-through; color: var(--ink-soft); }
  .page-list .td-title, .page-list .pl-text { flex: 1; min-width: 0; overflow-wrap: anywhere; color: var(--ink); }
  .page-list .td-due, .page-list .pl-age { font-size: 13px; color: var(--ink-soft); }
  .page-list .pl-age { display: block; margin-top: 2px; }
  .page-list .btn-secondary, .page-add .btn-secondary, .td-tools .btn-secondary, .td-tools .btn-primary { flex: none; min-height: 44px; padding: 8px 14px; font-size: 13px; border-radius: var(--r); font-family: var(--sans); }
  .page-add { display: flex; gap: 8px; margin: 14px 0 6px; }
  .page-add[hidden] { display: none; }
  .page-add input[type=text] { flex: 1; min-height: 44px; font-size: 16px; }
  #inboxWork .cc-card { margin: 12px 0 0; }
