body.reminders-page {
  height: 100vh; overflow: hidden;
  background:
    radial-gradient(900px 420px at 4% -8%, rgba(96,165,250,.12), transparent 60%),
    #f3f6fb;
}
.todo-shell {
  width: min(1240px, calc(100% - 28px));
  height: calc(100vh - 57px - 26px);
  margin: 13px auto;
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 12px;
  align-items: stretch;
  overflow: hidden;
}
.todo-side {
  position: static; height: 100%; min-height: 0; overflow: auto;
  display: flex; flex-direction: column;
  padding: 12px;
  border-radius: 15px;
  background: linear-gradient(180deg,#f7fbff,#eef5ff);
  border: 1px solid #dce9f8;
  box-shadow: 0 4px 16px rgba(30,64,175,.05);
}
.todo-user { display:flex; align-items:center; gap:9px; padding:2px 3px 10px; border-bottom:1px solid #e4eefb; }
.todo-avatar {
  width: 34px; height: 34px; border-radius: 9px; display:grid; place-items:center;
  color:#fff; background:linear-gradient(135deg,#2f86f6,#1f6fe5); font-size:13px; font-weight:700;
}
.todo-user b { display:block; font-size:15px; color:#214b76; }
.todo-user span { display:block; font-size:11.5px; color:#91a7bd; margin-top:1px; }
.todo-add {
  margin-left:auto; width:29px; height:29px; border:0; border-radius:8px;
  color:#2563eb; background:#e6f1ff; cursor:pointer; display:grid; place-items:center;
}
.todo-add .icon { width:15px; height:15px; }
.todo-nav { display:flex; flex-direction:column; gap:2px; margin-top:7px; }
.todo-nav button {
  display:flex; align-items:center; gap:8px; min-height:34px; padding:6px 9px;
  border:0; border-radius:8px; background:transparent; color:#4b6079;
  font:inherit; font-size:14px; text-align:left; cursor:pointer;
}
.todo-nav button:hover { background:#e7f2ff; color:#1d4ed8; }
.todo-nav button.active { background:#dcecff; color:#1d4ed8; font-weight:700; }
.todo-nav button .icon { width:15px; height:15px; flex:none; opacity:.8; }
.todo-nav button em { margin-left:auto; font-style:normal; font-size:11px; color:#7c93ad; background:#e4eefb; border-radius:999px; padding:0 5px; line-height:15px; }
.todo-sec { margin:12px 8px 4px; font-size:11px; letter-spacing:1.2px; color:#94a9bd; }
.todo-dot, .todo-cat-dot { width:8px; height:8px; border-radius:50%; flex:none; background:#3b82f6; }
.todo-dot.c-birthday, .todo-cat-dot.c-birthday { background:#ec4899; }
.todo-dot.c-todo, .todo-cat-dot.c-todo { background:#ef4444; }
.todo-dot.c-daily, .todo-cat-dot.c-daily { background:#10b981; }
.todo-dot.c-custom, .todo-cat-dot.c-custom { background:#8b5cf6; }
.todo-cat-dot { width:5px; height:5px; margin-right:6px; display:inline-block; }
.todo-side-foot { margin:auto 3px 1px; padding-top:12px; padding-top:8px; border-top:1px solid #e4eefb; font-size:11px; line-height:1.6; color:#9aafc4; }

.todo-main {
  height: 100%; min-height: 0;
  display: flex; flex-direction: column;
  border-radius: 15px; background:#fff; border:1px solid #e2ebf7;
  box-shadow:0 6px 22px rgba(30,64,175,.045); overflow:hidden;
}
.todo-head { display:flex; align-items:flex-end; justify-content:space-between; gap:14px; padding:18px 22px 12px; }
.todo-eyebrow { font-size:9.5px; letter-spacing:1.8px; color:#6e9bd0; font-weight:700; }
.todo-head h1 { margin:4px 0 3px; font-size:28px; line-height:1.2; color:#16324f; }
.todo-head p { font-size:12.5px; color:#8aa0b7; }
.todo-search {
  margin:0 22px 8px; display:flex; align-items:center; gap:7px;
  padding:7px 10px; border:1px solid #e4edf8; border-radius:8px; background:#f8fbff;
}
.todo-search .icon { width:14px; height:14px; color:#93a8bd; }
.todo-search input { flex:1; border:0; outline:0; background:transparent; font:inherit; font-size:13.5px; color:#334155; }
.todo-list { flex:1; min-height:0; padding:2px 11px 8px; overflow:auto; }
.todo-task {
  display:flex; align-items:center; gap:10px; min-height:54px; padding:7px 9px;
  border-bottom:1px solid #f1f6fc; border-radius:8px;
}
.todo-task:hover { background:#f8fbff; }
.todo-check {
  width:19px; height:19px; flex:none; border:1.5px solid #cbd9e8; border-radius:50%;
  background:#fff; cursor:pointer; display:grid; place-items:center; color:#fff; padding:0;
}
.todo-check:hover { border-color:#3b82f6; }
.todo-check.checked { background:#2f86f6; border-color:#2f86f6; }
.todo-check .icon { width:11px; height:11px; }
.todo-task-main { flex:1; min-width:0; cursor:pointer; padding:2px 0; }
.todo-task-title { font-size:15px; color:#2b4560; line-height:1.4; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.todo-task-title i { font-style:normal; color:#93a8bd; font-weight:400; }
.todo-task.done .todo-task-title { color:#9aafc2; text-decoration:line-through; }
.todo-task-meta { display:flex; align-items:center; gap:9px; flex-wrap:wrap; margin-top:3px; font-size:11.5px; color:#94a9bd; }
.todo-due { color:#d97706; }
.todo-due.soon { color:#dc2626; font-weight:700; }
.todo-content { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; max-width:48ch; }
.todo-list-name { flex:none; display:flex; align-items:center; gap:5px; font-size:12px; color:#8aa0b7; }
.todo-task-ops { display:flex; gap:2px; flex:none; opacity:0; }
.todo-task:hover .todo-task-ops { opacity:1; }
.todo-task-ops button { width:25px; height:25px; border:0; border-radius:5px; background:transparent; color:#8299b0; cursor:pointer; display:grid; place-items:center; }
.todo-task-ops button:hover { background:#eaf3ff; color:#2563eb; }
.todo-task-ops button.danger:hover { background:#fee2e2; color:#dc2626; }
.todo-task-ops .icon { width:13px; height:13px; }
.todo-empty { display:flex; flex-direction:column; align-items:center; gap:4px; padding:60px 12px; color:#9aafc2; font-size:12px; text-align:center; }
.todo-empty .icon { width:28px; height:28px; color:#b8d3ee; margin-bottom:3px; }
.todo-empty b { font-size:13.5px; color:#65809a; }
.todo-foot { display:flex; justify-content:space-between; gap:10px; flex-wrap:wrap; padding:9px 22px 12px; border-top:1px solid #f1f6fc; color:#a1b4c7; font-size:10.5px; }

@media (max-width: 900px) {
  body.reminders-page { height:auto; overflow:auto; }
  .todo-shell { height:auto; grid-template-columns:1fr; overflow:visible; }
  .todo-side { height:auto; overflow:visible; }
  .todo-main { height:auto; min-height:70vh; }
  .todo-side { position:static; display:grid; grid-template-columns:1fr 1fr; gap:3px 10px; }
  .todo-user { grid-column:1 / -1; }
  .todo-nav { margin-top:2px; }
  .todo-sec { margin-top:6px; }
  .todo-side-foot { grid-column:1 / -1; }
  .todo-list { max-height:none; }
}
@media (max-width: 560px) {
  .todo-shell { width:calc(100% - 16px); margin-top:8px; }
  .todo-side { grid-template-columns:1fr; }
  .todo-sec, .todo-side-foot { display:none; }
  .todo-head { padding:14px; align-items:flex-start; flex-direction:column; gap:8px; }
  .todo-search { margin:0 14px 8px; }
  .todo-list-name { display:none; }
  .todo-task-ops { opacity:1; }
  .todo-task-meta .todo-content { display:none; }
}

.todo-list-ops { display:inline-flex; gap:1px; margin-left:auto; opacity:0; }
.todo-nav button:hover .todo-list-ops { opacity:1; }
.todo-list-ops i { font-style:normal; width:17px; height:17px; border-radius:4px; display:grid; place-items:center; font-size:11px; color:#7c93ad; }
.todo-list-ops i:hover { background:#dbeafe; color:#1d4ed8; }
.todo-list-ops i.danger:hover { background:#fee2e2; color:#dc2626; }
.todo-new-list { color:#2563eb !important; border:1px dashed #bfdbfe !important; justify-content:center; margin-top:3px; }
.todo-new-list:hover { background:#eff6ff !important; }
.todo-new-list .icon { width:14px; height:14px; }
