:root {
  --bg: #f4f5f9; --surface: #ffffff; --surface2: #eef0f6; --text: #14161f; --muted: #6b7184;
  --line: #e3e6ef; --accent: #4f46e5; --accent-text: #ffffff; --danger: #e5484d; --ok: #2f9e66;
  --warn: #f5a524; --shadow: 0 6px 24px rgba(20, 22, 31, .12);
  --tab-h: 58px; --sat: env(safe-area-inset-top, 0px); --sab: env(safe-area-inset-bottom, 0px);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1117; --surface: #181b25; --surface2: #222636; --text: #eceef5; --muted: #8b91a7;
    --line: #2a2f42; --accent: #7c74ff; --accent-text: #0f1117; --danger: #ff6369; --ok: #4cc38a;
    --shadow: 0 6px 24px rgba(0, 0, 0, .5);
  }
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; background: var(--bg); color: var(--text); }
body {
  font: 16px/1.4 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
  -webkit-text-size-adjust: 100%; overscroll-behavior-y: none;
}
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }

.shell { max-width: 720px; margin: 0 auto; min-height: 100vh; padding-bottom: calc(var(--tab-h) + var(--sab) + 90px); }
.topbar {
  position: sticky; top: 0; z-index: 5; display: flex; align-items: center; justify-content: space-between;
  padding: calc(var(--sat) + 12px) 16px 10px; background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.topbar h1 { margin: 0; font-size: 26px; letter-spacing: -.02em; }
.iconbtn { border: 0; background: var(--surface); width: 38px; height: 38px; border-radius: 12px; font-size: 18px; cursor: pointer; box-shadow: 0 1px 0 var(--line); }
.content { padding: 4px 16px 16px; }

.section-title { margin: 18px 4px 8px; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); display: flex; justify-content: space-between; }
.section-title.danger { color: var(--danger); }
.card { background: var(--surface); border-radius: 16px; overflow: hidden; box-shadow: 0 1px 0 var(--line); }
.empty { text-align: center; color: var(--muted); padding: 36px 12px; }

.task { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.task:last-child { border-bottom: 0; }
.check { flex: none; width: 26px; height: 26px; margin-top: 1px; border-radius: 50%; border: 2px solid var(--muted); background: transparent; cursor: pointer; padding: 0; position: relative; }
.check.p-r { border-color: var(--danger); }
.check.p-b { border-color: #3b82f6; }
.check.p-y { border-color: var(--warn); }
.check.done { background: var(--ok); border-color: var(--ok); }
.check.done::after { content: ""; position: absolute; left: 7px; top: 3px; width: 6px; height: 11px; border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.task-body { flex: 1; min-width: 0; cursor: pointer; }
.task-title { word-break: break-word; }
.task-title.done { text-decoration: line-through; color: var(--muted); }
.meta { margin-top: 3px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 13px; color: var(--muted); }
.meta .late { color: var(--danger); font-weight: 600; }
.chip { background: var(--surface2); color: var(--text); border-radius: 999px; padding: 2px 9px; font-size: 12px; }

.chips { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0 10px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.pill { flex: none; border: 0; background: var(--surface); color: var(--text); padding: 8px 14px; border-radius: 999px; cursor: pointer; font-size: 14px; box-shadow: 0 1px 0 var(--line); }
.pill.active { background: var(--accent); color: var(--accent-text); }
.pill small { opacity: .7; margin-left: 4px; }

.quick { display: flex; gap: 8px; margin: 2px 0 8px; }
.quick input { flex: 1; }
input[type=text], input[type=search], input[type=date], input[type=time], input[type=password], input[type=tel], select, textarea {
  width: 100%; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 11px 12px; outline: none; min-height: 44px;
}
input:focus, select:focus, textarea:focus { border-color: var(--accent); }
textarea { min-height: 90px; resize: vertical; }
.btn { border: 0; border-radius: 12px; padding: 11px 16px; background: var(--accent); color: var(--accent-text); font-weight: 600; cursor: pointer; min-height: 44px; }
.btn.secondary { background: var(--surface2); color: var(--text); }
.btn.danger { background: transparent; color: var(--danger); }
.btn.block { width: 100%; }

.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 10; display: flex; justify-content: center;
  padding-bottom: var(--sab); background: color-mix(in srgb, var(--surface) 92%, transparent);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-top: 1px solid var(--line);
}
.tabbar-in { display: flex; width: 100%; max-width: 720px; }
.tab { flex: 1; height: var(--tab-h); border: 0; background: none; color: var(--muted); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-size: 11px; cursor: pointer; }
.tab span.ic { font-size: 21px; line-height: 1; }
.tab.active { color: var(--accent); font-weight: 600; }
.fab {
  position: fixed; right: max(16px, calc(50% - 344px)); bottom: calc(var(--tab-h) + var(--sab) + 16px); z-index: 11;
  width: 58px; height: 58px; border-radius: 50%; border: 0; background: var(--accent); color: var(--accent-text);
  font-size: 32px; line-height: 1; box-shadow: var(--shadow); cursor: pointer;
}

.cal-head { display: flex; align-items: center; justify-content: space-between; margin: 4px 0 10px; }
.cal-head strong { font-size: 18px; text-transform: capitalize; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; background: var(--surface); border-radius: 16px; padding: 8px; box-shadow: 0 1px 0 var(--line); }
.cal-dow { text-align: center; font-size: 11px; color: var(--muted); padding: 4px 0; }
.cal-day { border: 0; background: none; border-radius: 12px; min-height: 52px; padding: 4px 0 2px; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.cal-day.other { opacity: .35; }
.cal-day .n { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 15px; }
.cal-day.today .n { border: 2px solid var(--accent); }
.cal-day.sel .n { background: var(--accent); color: var(--accent-text); }
.dots { display: flex; gap: 3px; height: 6px; }
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); }
.dot.r { background: var(--danger); } .dot.y { background: var(--warn); } .dot.b { background: #3b82f6; }
.agenda-time { flex: none; width: 46px; font-size: 13px; color: var(--muted); padding-top: 3px; }

.note { padding: 12px 14px; border-bottom: 1px solid var(--line); }
.note:last-child { border-bottom: 0; }
.note-text { white-space: pre-wrap; word-break: break-word; }
.note-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 6px; font-size: 12px; color: var(--muted); }
.linkbtn { border: 0; background: none; color: var(--accent); cursor: pointer; padding: 6px 0; font-size: 14px; }
.linkbtn.danger { color: var(--danger); }
.secret-val { font-family: ui-monospace, Menlo, monospace; background: var(--surface2); border-radius: 10px; padding: 8px 10px; margin-top: 6px; word-break: break-all; user-select: all; -webkit-user-select: all; }
.stack > * + * { margin-top: 10px; }
.row { display: flex; gap: 8px; }
.row > * { flex: 1; }
.hint { color: var(--muted); font-size: 13px; padding: 0 4px; }

.backdrop { position: fixed; inset: 0; z-index: 20; background: rgba(0, 0, 0, .45); display: flex; align-items: flex-end; justify-content: center; }
.sheet {
  width: 100%; max-width: 720px; max-height: 92vh; overflow-y: auto; background: var(--bg);
  border-radius: 22px 22px 0 0; padding: 16px 16px calc(var(--sab) + 20px); box-shadow: var(--shadow);
}
.sheet h2 { margin: 0 0 12px; font-size: 20px; }
.field { margin-bottom: 12px; }
.field label { display: block; font-size: 12px; color: var(--muted); margin: 0 4px 4px; text-transform: uppercase; letter-spacing: .05em; }
.seg { display: flex; background: var(--surface2); border-radius: 12px; padding: 3px; gap: 3px; }
.seg button { flex: 1; border: 0; background: none; padding: 9px 4px; border-radius: 9px; cursor: pointer; min-height: 40px; }
.seg button.on { background: var(--surface); box-shadow: 0 1px 3px rgba(0, 0, 0, .15); font-weight: 600; }

.toast { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(var(--tab-h) + var(--sab) + 84px); z-index: 30; background: #20232f; color: #fff; padding: 11px 16px; border-radius: 14px; display: flex; gap: 14px; align-items: center; box-shadow: var(--shadow); max-width: 92vw; }
.toast button { border: 0; background: none; color: #9fa8ff; font-weight: 700; cursor: pointer; }

.login { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.login-card { width: 100%; max-width: 380px; text-align: center; }
.login-card img { width: 84px; height: 84px; border-radius: 20px; }
.login-card h1 { margin: 12px 0 6px; }
.login-card p { color: var(--muted); }
.login-card input { text-align: center; font-size: 24px; letter-spacing: .25em; margin: 14px 0 10px; }
.err { color: var(--danger); min-height: 22px; margin: 4px 0; }

.sheet .hint { margin: -2px 0 14px; }

/* ---------- обзор ---------- */
.card.pad { padding: 14px; }
.muted { color: var(--muted); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 6px 0 4px; }
.stat { background: var(--surface); border-radius: 16px; padding: 12px 10px; text-align: center; box-shadow: 0 1px 0 var(--line); }
.stat-n { font-size: 28px; font-weight: 700; letter-spacing: -.02em; }
.stat-l { font-size: 12px; color: var(--muted); }
.stat.bad .stat-n { color: var(--danger); }
.stat.ok .stat-n { color: var(--ok); }
.chart { width: 100%; height: auto; display: block; }
.chart .bar { fill: var(--accent); opacity: .55; }
.chart .bar.today { opacity: 1; }
.chart .bar.zero { fill: var(--line); opacity: 1; }
.chart .bar-n { fill: var(--text); font-size: 9px; font-weight: 600; }
.chart .bar-l { fill: var(--muted); font-size: 8px; }
.prog + .prog { margin-top: 12px; }
.prog-top { display: flex; justify-content: space-between; margin-bottom: 5px; font-size: 14px; }
.bar-track { height: 8px; background: var(--surface2); border-radius: 99px; overflow: hidden; }
.bar-fill { height: 100%; background: var(--ok); border-radius: 99px; }
.today-grid > * + * { margin-top: 0; }

/* ---------- переключатель и доска ---------- */
.seg-inline { margin: 2px 0 10px; max-width: 280px; }
.board { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x proximity; padding: 4px 2px 14px; -webkit-overflow-scrolling: touch; }
.bcol { flex: 0 0 78%; max-width: 320px; scroll-snap-align: start; background: var(--surface2); border-radius: 16px; padding: 10px; min-height: 160px; border: 2px solid transparent; }
.bcol.over { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, var(--surface2)); }
.bcol-head { display: flex; justify-content: space-between; align-items: center; font-weight: 700; font-size: 14px; margin: 2px 2px 10px; }
.bcol-tools { display: flex; align-items: center; gap: 8px; }
.count { color: var(--muted); font-weight: 500; }
.iconbtn.small { width: 28px; height: 28px; border-radius: 9px; font-size: 16px; }
.bcol-body > * + * { margin-top: 8px; }
.bcol-empty { text-align: center; color: var(--muted); font-size: 13px; padding: 14px 0; }
.bcard { background: var(--surface); border-radius: 12px; padding: 10px 12px; border-left: 4px solid var(--warn); cursor: grab; touch-action: pan-x pan-y; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; box-shadow: 0 1px 2px rgba(0, 0, 0, .12); }
.bcard.p-r, .wk-ev.p-r, .wk-chip.p-r { border-left-color: var(--danger); }
.bcard.p-b, .wk-ev.p-b, .wk-chip.p-b { border-left-color: #3b82f6; }
.bcard.p-y, .wk-ev.p-y, .wk-chip.p-y { border-left-color: var(--warn); }
.bcard.is-done { opacity: .6; }
.bcard.is-done .bcard-title { text-decoration: line-through; }
.bcard.dragging { opacity: .35; }
.bcard.ghost { position: fixed; z-index: 50; pointer-events: none; opacity: .95; box-shadow: var(--shadow); transform: rotate(2deg); }
.bcard-title { word-break: break-word; }

/* ---------- неделя ---------- */
.wk-scroll { overflow-x: auto; background: var(--surface); border-radius: 16px; box-shadow: 0 1px 0 var(--line); }
.wk { display: grid; grid-template-columns: 46px repeat(7, minmax(112px, 1fr)); min-width: 840px; }
.wk-corner { border-bottom: 1px solid var(--line); }
.wk-dayhead { text-align: center; padding: 8px 0; border-bottom: 1px solid var(--line); border-left: 1px solid var(--line); }
.wk-dayhead .dow { font-size: 11px; color: var(--muted); }
.wk-dayhead .dn { font-size: 18px; font-weight: 600; }
.wk-dayhead.today .dn { color: var(--accent); }
.wk-hour { font-size: 11px; color: var(--muted); padding: 2px 4px; height: 48px; text-align: right; }
.wk-adcell { border-left: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 4px; min-height: 32px; }
.wk-chip { font-size: 12px; background: var(--surface2); border-left: 3px solid var(--warn); border-radius: 6px; padding: 3px 6px; margin-bottom: 3px; cursor: pointer; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wk-col { position: relative; border-left: 1px solid var(--line); cursor: cell; background-image: repeating-linear-gradient(to bottom, transparent 0, transparent 47px, var(--line) 47px, var(--line) 48px); }
.wk-col.today { background-color: color-mix(in srgb, var(--accent) 6%, transparent); }
.wk-ev { position: absolute; font-size: 12px; line-height: 1.25; background: color-mix(in srgb, var(--accent) 16%, var(--surface)); border-left: 3px solid var(--warn); border-radius: 7px; padding: 3px 5px; overflow: hidden; cursor: pointer; }
.wk-now { position: absolute; left: 0; right: 0; height: 2px; background: var(--danger); pointer-events: none; }
.brand { display: none; }

/* ---------- компьютер: боковое меню вместо нижнего ---------- */
@media (min-width: 900px) {
  .tabbar { top: 0; right: auto; width: 210px; bottom: 0; justify-content: flex-start; border-top: 0; border-right: 1px solid var(--line); padding: 20px 12px; background: var(--surface); }
  .tabbar-in { flex-direction: column; gap: 4px; max-width: none; }
  .brand { display: block; font-size: 20px; font-weight: 800; letter-spacing: -.02em; padding: 4px 12px 16px; }
  .tab { flex: none; height: 44px; flex-direction: row; justify-content: flex-start; gap: 12px; padding: 0 12px; border-radius: 12px; font-size: 15px; }
  .tab.active { background: var(--surface2); }
  .shell { max-width: 1180px; margin: 0 0 0 210px; padding: 0 28px 40px; }
  .fab { right: 32px; bottom: 32px; }
  .toast { bottom: 28px; }
  .today-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 28px; align-items: start; }
  .today-side .stats { margin-top: 0; }
  .board { overflow-x: visible; }
  .bcol { flex: 1 1 0; max-width: none; min-width: 0; }
  .wk { min-width: 0; }
}

/* ---------- сферы, календари ---------- */
.area-bar { margin-bottom: 4px; }
.chips.wrap { flex-wrap: wrap; overflow: visible; }
.btn.small { min-height: 34px; padding: 6px 12px; font-size: 14px; }
.cal-title { font-weight: 600; }
.icon-in { max-width: 64px; text-align: center; }
.add-area { margin-top: 10px; align-items: stretch; }
.add-area > * { flex: 1; }
.add-area .icon-in { flex: 0 0 64px; }
.area-row { display: flex; justify-content: space-between; align-items: center; }
a.btn { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }

/* ---------- заметки: рабочее пространство ---------- */
.content.wide { max-width: none; }
.ws { display: block; }
.ws-tree { background: var(--surface); border-radius: 16px; padding: 12px; box-shadow: 0 1px 0 var(--line); }
.ws-tree-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.ws-tree input[type=search] { margin-bottom: 8px; }
.ws-list { display: flex; flex-direction: column; gap: 2px; }
.ws-row { display: flex; align-items: center; border-radius: 10px; }
.ws-row.on, .ws-item.on { background: var(--surface2); }
.ws-indent { display: inline-flex; }
.ws-indent i { display: block; width: 16px; }
.ws-tg { flex: none; width: 22px; border: 0; background: none; color: var(--muted); cursor: pointer; padding: 0; }
.ws-item { flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; border: 0; background: none; text-align: left; padding: 9px 8px; border-radius: 10px; cursor: pointer; }
.ws-t { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ws-t small { display: block; color: var(--muted); white-space: normal; }
.ws-add { flex: none; width: 28px; height: 28px; border: 0; background: none; color: var(--muted); font-size: 18px; cursor: pointer; border-radius: 8px; }
.ws-row:hover .ws-add { color: var(--accent); }
.ws-page { margin-top: 0; }
.ws-head { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.ws-crumbs { flex: 1; min-width: 0; display: flex; gap: 2px; overflow-x: auto; white-space: nowrap; }
.ws-status { color: var(--muted); font-size: 12px; }
.ws-titlebar { display: flex; align-items: center; gap: 8px; margin: 6px 0 10px; }
.ws-icon { border: 0; background: var(--surface); width: 44px; height: 44px; border-radius: 12px; font-size: 24px; cursor: pointer; }
.ws-title { font-size: 24px; font-weight: 700; border: 0; background: none; padding: 6px 4px; letter-spacing: -.02em; }
.ws-title:focus { border: 0; box-shadow: none; }
.ws-empty { text-align: center; padding: 30px 0; }
.ws-sub { width: 100%; display: flex; justify-content: space-between; border: 0; background: none; padding: 12px 14px; border-bottom: 1px solid var(--line); cursor: pointer; text-align: left; }
.ws-sub:last-child { border-bottom: 0; }
.ws:not(.has-page) .ws-page { display: none; }
.ws.has-page .ws-tree { display: none; }

.blocks { background: var(--surface); border-radius: 16px; padding: 10px 10px 14px; box-shadow: 0 1px 0 var(--line); margin-bottom: 8px; }
.blk { position: relative; display: flex; align-items: flex-start; gap: 6px; padding: 1px 0; }
.blk-ta { flex: 1; border: 0; background: none; padding: 5px 6px; min-height: 30px; resize: none; overflow: hidden; border-radius: 8px; line-height: 1.5; }
.blk-ta:focus { border: 0; background: color-mix(in srgb, var(--accent) 6%, transparent); }
.blk-h1 .blk-ta { font-size: 26px; font-weight: 700; letter-spacing: -.02em; }
.blk-h2 .blk-ta { font-size: 20px; font-weight: 650; }
.blk-quote .blk-ta { border-left: 3px solid var(--accent); border-radius: 0 8px 8px 0; color: var(--muted); font-style: italic; }
.blk-bullet .blk-bullet { padding: 6px 0 0 6px; color: var(--muted); }
.blk-check { width: 20px; height: 20px; margin: 9px 0 0 6px; flex: none; accent-color: var(--accent); }
.blk.done .blk-ta { text-decoration: line-through; color: var(--muted); }
.blk hr { flex: 1; border: 0; border-top: 1px solid var(--line); margin: 14px 0; }
.blk-menu { flex: none; width: 26px; height: 30px; border: 0; background: none; color: var(--muted); cursor: pointer; opacity: .55; border-radius: 8px; }
.blk:hover .blk-menu, .blk-menu:focus { opacity: 1; }

.popup { position: fixed; z-index: 60; min-width: 190px; background: var(--surface); border-radius: 14px; padding: 6px; box-shadow: var(--shadow); border: 1px solid var(--line); max-height: 60vh; overflow-y: auto; }
.popup-item { display: block; width: 100%; text-align: left; border: 0; background: none; padding: 10px 12px; border-radius: 9px; cursor: pointer; }
.popup-item:hover { background: var(--surface2); }
.popup-item.danger { color: var(--danger); }
.popup-sep { height: 1px; background: var(--line); margin: 4px 0; }

.tbl-wrap { flex: 1; min-width: 0; padding: 4px 0; }
.tbl-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; }
.tbl { border-collapse: collapse; width: 100%; min-width: 420px; }
.tbl th, .tbl td { border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); padding: 0; vertical-align: middle; }
.tbl th:last-child, .tbl td:last-child { border-right: 0; }
.tbl tr:last-child td { border-bottom: 0; }
.th-in { display: flex; align-items: center; background: var(--surface2); }
.tbl .th-name, .tbl .cell { border: 0; border-radius: 0; background: transparent; min-height: 38px; padding: 8px 10px; width: 100%; min-width: 110px; }
.tbl .th-name { font-weight: 600; }
.tbl .cell:focus, .tbl .th-name:focus { background: color-mix(in srgb, var(--accent) 8%, transparent); }
.th-menu { border: 0; background: none; color: var(--muted); cursor: pointer; padding: 0 8px; }
.th-add, .td-del { width: 40px; text-align: center; }
.tbl td input[type=checkbox] { margin: 10px; width: 18px; height: 18px; accent-color: var(--accent); }
.tbl-foot td { color: var(--muted); font-size: 12px; padding: 4px 10px; background: var(--surface2); }

@media (min-width: 900px) {
  .ws { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 20px; align-items: start; }
  .ws:not(.has-page) .ws-page, .ws.has-page .ws-tree { display: block; }
  .ws-tree { position: sticky; top: 76px; max-height: calc(100vh - 100px); overflow-y: auto; }
  .ws-back { display: none; }
  .ws-page { max-width: 860px; }
}

/* ---------- повторы, подзадачи, связи ---------- */
.chip-link { border: 0; cursor: pointer; color: var(--accent); font: inherit; font-size: 12px; }
.check-row { display: flex; gap: 10px; align-items: flex-start; margin: 4px 2px 12px; font-size: 14px; color: var(--muted); }
.check-row input { width: 20px; height: 20px; margin-top: 1px; accent-color: var(--accent); flex: none; }
.subs { margin-bottom: 8px; }
.sub-row { display: flex; align-items: center; gap: 10px; padding: 6px 2px; border-bottom: 1px solid var(--line); }
.sub-row span:not(.sub-dot) { flex: 1; word-break: break-word; }
.sub-row input[type=checkbox] { width: 20px; height: 20px; accent-color: var(--accent); }
.sub-done { text-decoration: line-through; color: var(--muted); }
.sub-dot { color: var(--muted); width: 20px; text-align: center; }
