/* 成就时间线 · 样式
   纸色底、墨黑字；过去的事是灰色，今天和将来是黑色；星级和里程碑用朱红。 */

:root {
  color-scheme: light;
  --ground: #F3F2EE;
  --card: #FFFFFF;
  --ink: #111111;
  --ink-2: #3A3935;
  --muted: #55534E;
  --soft: #6E6D68;        /* 过去的正文，在纸色上对比度 ≥ 4.5 */
  --past-num: #8C8A85;    /* 过去的大号数字，≥ 3:1 */
  --past-soft: #B5B3AD;
  --past-thread: #CFCDC6;
  --line: #DEDCD5;
  --line-2: #E0DED8;
  --accent: #B8352A;
  --accent-tint: color-mix(in srgb, var(--accent) 10%, #FFFFFF);
  --danger: #B42318;
  --serif: 'Noto Serif SC', 'Songti SC', 'STSong', 'SimSun', serif;
  --sans: 'Noto Sans SC', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', system-ui, sans-serif;
  --num: 'Cormorant Garamond', 'Times New Roman', serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
  background: var(--ground);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
[hidden] { display: none !important; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.app { height: 100vh; height: 100dvh; display: flex; flex-direction: column; }
.screen { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; }
.screen--record { overflow-y: auto; }

/* ---------- 顶栏 ---------- */
.bar {
  position: relative; z-index: 5; flex: 0 0 auto;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px;
  min-height: 72px; padding: 12px 32px;
  background: var(--ground); border-bottom: 1px solid var(--line);
}
.bar__brand { display: flex; align-items: baseline; gap: 14px; }
.bar__title { margin: 0; font-family: var(--serif); font-size: 22px; font-weight: 700; letter-spacing: .08em; }
.bar__date { font-family: var(--num); font-style: italic; font-size: 20px; color: var(--soft); }
.bar__zoom { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; }
.bar__hint { font-size: 12px; letter-spacing: .06em; color: var(--soft); }
.bar__actions { display: flex; align-items: center; gap: 10px; }

.zoom { margin: 0; padding: 0; border: 0; min-width: 0; display: flex; gap: 2px; }
.zoom__tab {
  min-width: 44px; height: 44px; padding: 0 8px; border: 0; background: transparent;
  color: var(--soft); font-family: var(--serif); font-size: 17px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
}
.zoom__tab[aria-pressed="true"] { color: var(--ink); font-weight: 700; }
.zoom__bar { width: 16px; height: 2px; border-radius: 1px; background: transparent; }
.zoom__tab[aria-pressed="true"] .zoom__bar { background: var(--ink); }

.btn {
  height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid transparent; background: transparent;
  font-size: 14px; font-weight: 500; white-space: nowrap;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
}
.btn svg { width: 16px; height: 16px; flex: 0 0 16px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.btn--ghost { border-color: var(--ink); }
.btn--ink { background: var(--ink); color: var(--ground); font-weight: 600; }
.btn--plain { border-color: #CFCDC6; background: var(--card); border-radius: 12px; }
.btn--danger { color: var(--danger); border-color: color-mix(in srgb, var(--danger) 35%, #FFFFFF); background: var(--card); border-radius: 12px; }
.btn--lg { height: 48px; padding: 0 26px; border-radius: 12px; font-size: 15px; font-weight: 700; }
.btn--back { padding: 0 14px 0 6px; border-radius: 10px; }
.btn--back svg { width: 20px; height: 20px; flex-basis: 20px; stroke-width: 2; }
.btn--small { height: 36px; padding: 0 14px; border-radius: 10px; font-size: 13px; }
.btn--light { background: var(--ground); color: var(--ink); font-weight: 600; }

/* ---------- 顶部提示条（同步状态） ---------- */
.banner {
  position: relative; z-index: 5; flex: 0 0 auto;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 14px;
  padding: 8px 24px; background: var(--ink); color: var(--ground); font-size: 13px;
}
.banner .btn { height: 34px; padding: 0 14px; font-size: 13px; }
.banner__close { width: 34px; padding: 0 !important; color: var(--ground); }
.banner__close svg { stroke-width: 2; }

/* ---------- 舞台：绳子在下，内容在上 ---------- */
.stage { --axis: 50%; position: relative; flex: 1 1 auto; min-height: 0; overflow: hidden; }
.stage__rope { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.stage__rope svg { position: absolute; top: 0; left: var(--axis); height: 100%; margin-left: -240px; overflow: visible; }
.stage__fade { position: absolute; left: 0; right: 0; height: 80px; }
.stage__fade--top { top: 0; background: linear-gradient(var(--ground), rgb(243 242 238 / 0)); }
.stage__fade--bottom { bottom: 0; background: linear-gradient(rgb(243 242 238 / 0), var(--ground)); }
.stage__scroller {
  position: absolute; inset: 0; z-index: 1;
  overflow-y: auto; overscroll-behavior: contain; scrollbar-gutter: stable both-edges;
}
.stage__scroller:focus-visible { outline-offset: -4px; }
.stage__edge {
  position: absolute; left: 24px; z-index: 2; pointer-events: none;
  writing-mode: vertical-rl; font-family: var(--serif); font-size: 13px; letter-spacing: .4em;
}
.stage__edge--past { top: 32px; color: var(--past-num); }
.stage__edge--future { bottom: 32px; color: var(--ink); }
.stage__hint {
  position: absolute; right: 30px; top: 50%; z-index: 2; margin: 0; transform: translateY(-50%);
  pointer-events: none; writing-mode: vertical-rl; white-space: nowrap; font-size: 12px; letter-spacing: .3em; color: var(--soft);
}
@media (max-height: 680px) {
  .stage__hint { display: none; }
}

.tl { max-width: 1160px; margin: 0 auto; padding: 0 32px; }

/* 年份 */
.yr { position: relative; z-index: 2; display: flex; justify-content: center; padding: 72px 0 8px; }
.yr__inner { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 8px 36px 18px; background: var(--ground); }
.yr__num { font-family: var(--num); font-size: 136px; line-height: .85; font-weight: 300; letter-spacing: .02em; color: var(--past-num); }
.yr__line { font-family: var(--serif); font-size: 18px; letter-spacing: .5em; padding-left: .5em; color: var(--muted); }
.yr__tip { font-size: 12px; letter-spacing: .1em; color: var(--soft); }

/* 月份 */
.mo { position: relative; z-index: 2; display: flex; justify-content: center; margin: var(--mt, 88px) 0 var(--mb, 36px); }
.mo__inner { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 32px; background: var(--ground); }
.mo__num { font-family: var(--num); font-size: var(--num-size, 96px); line-height: .9; font-weight: 300; color: var(--ink); }
.mo__name { margin: 0; font-family: var(--serif); font-size: 16px; font-weight: 600; letter-spacing: .4em; padding-left: .4em; color: var(--ink); }
.mo__meta { font-size: 12px; letter-spacing: .08em; color: var(--soft); }
.mo.is-past .mo__num { color: var(--past-num); }
.mo.is-past .mo__name { color: var(--soft); }

/* 一天的记录：左右交错挂在绳上，上下错开一点 */
.cl { position: relative; z-index: 1; display: flex; justify-content: flex-start; margin-top: var(--overlap, 0px); }
.cl--right { justify-content: flex-end; }
.cl__box {
  position: relative; width: 50%; min-height: var(--minh, 0px);
  display: flex; flex-direction: column; gap: 10px;
  padding: 14px var(--near) 18px 20px; align-items: flex-end; text-align: right;
}
.cl--right .cl__box { padding: 14px 20px 18px var(--near); align-items: flex-start; text-align: left; }
.cl__thread {
  position: absolute; top: var(--ty); height: 1px; background: var(--ink);
  right: calc(0px - var(--dx, 0px)); width: calc(var(--near) - 14px + var(--dx, 0px));
}
.cl--right .cl__thread { right: auto; left: var(--dx, 0px); width: calc(var(--near) - 14px - var(--dx, 0px)); }
.cl__bead {
  position: absolute; top: calc(var(--ty) - 4px); right: -4px; width: 8px; height: 8px; border-radius: 50%;
  background: var(--ground); border: 1.5px solid var(--ink); transform: translateX(var(--dx, 0px));
}
.cl--right .cl__bead { right: auto; left: -4px; }
.cl.is-past .cl__thread { background: var(--past-thread); }
.cl.is-past .cl__bead { background: var(--past-soft); border-color: var(--past-soft); }
.cl .cl__bead.is-starred { background: var(--accent); border-color: var(--accent); }
.cl__date { display: flex; align-items: baseline; gap: 12px; flex-direction: row-reverse; }
.cl--right .cl__date { flex-direction: row; }
.cl__day { font-family: var(--num); font-style: italic; font-size: var(--date-size, 40px); line-height: 1; font-weight: 500; color: var(--ink); }
.cl__sub { font-size: 12px; letter-spacing: .14em; color: var(--ink-2); }
.cl.is-past .cl__day { color: var(--past-num); }
.cl.is-past .cl__sub { color: var(--soft); }

/* 普通的事 */
.it {
  display: flex; align-items: baseline; gap: 10px; flex-direction: row-reverse; max-width: 100%;
  margin: 0; padding: 0; border: 0; background: transparent; text-align: inherit; color: var(--ink);
}
.cl--right .it { flex-direction: row; }
button.it:hover .it__text,
button.ms:hover .ms__title { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.it__dot { flex: 0 0 7px; width: 7px; height: 7px; border-radius: 50%; border: 1.5px solid var(--ink); transform: translateY(-5px); }
.it.is-done .it__dot { background: var(--past-soft); border-color: var(--past-soft); }
.it.is-missed .it__dot { border-color: var(--past-soft); }
.it__text { min-width: 0; font-family: var(--serif); font-size: 16px; line-height: 1.5; }
.it.s1 .it__text { font-size: 19px; font-weight: 600; }
.it.s2 .it__text { font-size: 22px; font-weight: 600; }
.tl.zoomed .it.s1 .it__text { font-size: 21px; }
.tl.zoomed .it.s2 .it__text { font-size: 24px; }
.it.is-done .it__text, .it.is-missed .it__text { color: var(--soft); }
.it.is-done.s1 .it__text, .it.is-done.s2 .it__text { color: var(--muted); }
.it__stars { flex: 0 0 auto; display: inline-flex; gap: 2px; }
.star { width: 13px; height: 13px; fill: var(--accent); }

/* 里程碑：朱红方印，已达成是实心「成」，将来的是空心「志」 */
.ms {
  display: flex; align-items: center; gap: 18px; flex-direction: row-reverse;
  margin: 4px 0; padding: 0; border: 0; background: transparent; text-align: inherit; color: var(--ink);
}
.cl--right .ms { flex-direction: row; }
.ms__seal {
  flex: 0 0 54px; width: 54px; height: 54px; border-radius: 6px;
  border: 2px solid var(--accent); background: transparent; color: var(--accent);
  transform: rotate(var(--rot, -3deg));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 28px; font-weight: 900; line-height: 1;
}
.ms.is-done .ms__seal { background: var(--accent); color: #F7F5F0; }
.ms__body { min-width: 0; display: flex; flex-direction: column; gap: 4px; align-items: flex-end; }
.cl--right .ms__body { align-items: flex-start; }
.ms__kicker { font-size: 12px; letter-spacing: .16em; color: var(--accent); }
.ms__title { font-family: var(--serif); font-size: 30px; line-height: 1.3; font-weight: 700; }
.tl.zoomed .ms__title { font-size: 34px; }
.ms.is-done .ms__title, .ms.is-missed .ms__title { color: var(--muted); }

/* 今天 */
.now { position: relative; z-index: 2; margin: 72px 0 56px; }
.now__line { position: absolute; left: 0; right: 0; top: 36px; height: 1px; background: var(--ink); }
.now__head { position: relative; display: flex; justify-content: center; }
.now__inner { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 0 28px 14px; background: var(--ground); }
.now__disc {
  width: 72px; height: 72px; border-radius: 50%; background: var(--ink); color: var(--ground);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 30px; font-weight: 700; transform: translateX(var(--dx, 0px));
}
.now__text { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.now__title { margin: 0; font-family: var(--serif); font-size: 22px; font-weight: 600; }
.now__sub { font-size: 12px; letter-spacing: .2em; color: var(--muted); }
.now__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 4px; }
.now__col { display: flex; flex-direction: column; gap: 6px; padding: 8px 52px 0 16px; align-items: flex-end; text-align: right; }
.now__col--todo { padding: 8px 16px 0 52px; align-items: flex-start; text-align: left; }
.now__label { margin-bottom: 4px; font-size: 12px; letter-spacing: .16em; color: var(--soft); }
.now__col--todo .now__label { color: var(--ink-2); }
.now__none { font-size: 13px; color: var(--soft); }
.now__empty { position: relative; display: flex; flex-direction: column; align-items: center; gap: 14px; margin-top: 12px; }
.now__empty p { margin: 0; padding: 0 12px; background: var(--ground); font-family: var(--serif); font-size: 16px; color: var(--muted); }

.td { display: flex; align-items: center; gap: 8px; }
.now__col--done .td { flex-direction: row-reverse; }
.td__check {
  flex: 0 0 36px; width: 36px; height: 36px; margin: -4px -8px; padding: 0; border: 0; border-radius: 50%;
  background: transparent; display: flex; align-items: center; justify-content: center;
}
.td__text { padding: 0; border: 0; background: transparent; text-align: inherit; font-family: var(--serif); font-size: 17px; line-height: 1.5; color: var(--ink); }
.td__text:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.td.s1 .td__text { font-size: 19px; font-weight: 600; }
.td.s2 .td__text { font-size: 21px; font-weight: 600; }
.td.s3 .td__text { font-size: 24px; font-weight: 700; }
.td.is-done .td__text { color: var(--soft); }
.td.is-done:is(.s1, .s2, .s3) .td__text { color: var(--muted); }

.ck { width: 20px; height: 20px; }
.ck--done circle { fill: var(--past-soft); }
.ck--done path { fill: none; stroke: #FFFFFF; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.ck--todo circle { fill: var(--card); stroke: var(--ink); stroke-width: 1.8; }

.tl-end { position: relative; z-index: 2; display: flex; justify-content: center; padding: 104px 0 45vh; }
.tl-end span { padding: 8px 24px; background: var(--ground); font-family: var(--serif); font-size: 14px; letter-spacing: .3em; color: var(--muted); }

/* ---------- 提示 ---------- */
.toast-wrap { position: fixed; left: 0; right: 0; bottom: 32px; z-index: 20; display: flex; justify-content: center; padding: 0 20px; pointer-events: none; }
.toast {
  display: flex; align-items: center; gap: 10px; max-width: 100%; padding: 12px 22px; border-radius: 999px;
  background: var(--ink); color: var(--ground); font-size: 14px; font-weight: 500;
  box-shadow: 0 12px 32px rgb(17 17 17 / .22);
}
.toast .star { width: 18px; height: 18px; flex: 0 0 18px; }
.toast__text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- 记录页 ---------- */
.rec { width: 100%; max-width: 1100px; margin: 0 auto; padding: 40px 32px 80px; display: flex; flex-wrap: wrap; align-items: flex-start; gap: 28px; }
.card { background: var(--card); border: 1px solid var(--line-2); border-radius: 18px; padding: 24px; }
.card--ink { background: var(--ink); color: var(--ground); border-color: var(--ink); }
.rec__form { flex: 999 1 520px; min-width: 0; padding: 32px; display: flex; flex-direction: column; gap: 24px; }
.rec__side { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.rec__intro { display: flex; flex-direction: column; gap: 6px; }
.rec__title { margin: 0; font-family: var(--serif); font-size: 28px; line-height: 1.3; font-weight: 700; }
.rec__lead { margin: 0; font-size: 14px; line-height: 1.6; color: var(--soft); }
.rec__row { display: flex; flex-wrap: wrap; gap: 16px; }
.rec__row > .field { flex: 1 1 200px; }
.rec__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.rec__spacer { flex: 1 1 auto; }

.field { display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.field > label { font-size: 13px; font-weight: 500; color: var(--ink-2); }
.field > legend { padding: 0 0 8px; font-size: 13px; font-weight: 500; color: var(--ink-2); }
.field input {
  width: 100%; height: 48px; padding: 0 16px; border-radius: 12px;
  border: 1px solid #CFCDC6; background: var(--card); font-size: 16px;
}
.field input[aria-invalid="true"] { border-color: var(--danger); }
.field__error { margin: 0; font-size: 12px; color: var(--danger); }

.seg { display: flex; gap: 4px; padding: 4px; border-radius: 12px; background: #EEEDE8; }
.seg__btn { flex: 1 1 0; height: 40px; border: 0; border-radius: 9px; background: transparent; color: var(--muted); font-size: 14px; font-weight: 600; }
.seg__btn[aria-pressed="true"] { background: var(--card); color: var(--ink); box-shadow: 0 1px 2px rgb(17 17 17 / .14); }
.seg__btn:disabled { color: #A3A19B; }

.levels { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.level {
  min-height: 92px; padding: 12px 6px; border-radius: 12px; border: 1px solid var(--line); background: var(--card);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
}
.level[aria-pressed="true"] { border: 2px solid var(--ink); background: var(--ground); }
.level[data-stars="3"][aria-pressed="true"] { background: var(--accent-tint); }
.level__stars { display: flex; align-items: center; gap: 2px; height: 16px; }
.level__stars .star { width: 15px; height: 15px; }
.level__dash { width: 14px; height: 2px; border-radius: 1px; background: var(--past-num); }
.level__name { font-size: 14px; font-weight: 600; }
.level__desc { font-size: 11px; color: var(--soft); }

.preview { display: flex; flex-direction: column; gap: 12px; padding: 20px 22px; border-radius: 12px; background: var(--ground); }
.preview__label { font-size: 12px; letter-spacing: .12em; color: var(--soft); }
.preview__body { display: flex; }

.card__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.card__title { margin: 0; font-family: var(--serif); font-size: 18px; font-weight: 700; }
.card__meta { font-size: 12px; color: var(--soft); }
.card__empty { margin: 0; font-size: 14px; color: var(--soft); }

.check-row { display: flex; align-items: center; gap: 10px; min-height: 44px; border-bottom: 1px solid #EEEDE8; }
.check-row:last-child { border-bottom: 0; }
.check-row .td__check { margin: 0 0 0 -8px; }
.check-row__text { flex: 1 1 auto; min-width: 0; padding: 0; border: 0; background: transparent; text-align: left; font-size: 15px; }
.check-row__text:hover { text-decoration: underline; text-underline-offset: 3px; }
.check-row.is-done .check-row__text { color: var(--soft); }

.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.stat { padding: 14px; border-radius: 12px; background: var(--ground); display: flex; flex-direction: column; gap: 4px; }
.stat__value { margin: 0; display: flex; align-items: baseline; gap: 4px; }
.stat__num { font-family: var(--num); font-size: 32px; line-height: 1; font-weight: 500; }
.stat__unit { font-size: 12px; color: var(--soft); }
.stat__label { margin: 0; font-size: 12px; color: var(--muted); }
.track-head { margin: 16px 0 8px; display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); }
.track { display: flex; gap: 6px; }
.track__seg { flex: 1 1 0; height: 10px; border-radius: 5px; border: 1.5px solid var(--ink); }
.track__seg.is-done { background: var(--accent); border-color: var(--accent); }

.next { display: flex; align-items: center; gap: 16px; }
.next__seal {
  flex: 0 0 50px; width: 50px; height: 50px; border-radius: 6px; border: 2px solid var(--accent); color: var(--accent);
  transform: rotate(-4deg); display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 26px; font-weight: 900;
}
.next__body { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.next__kicker { margin: 0; font-size: 12px; font-weight: 500; letter-spacing: .12em; color: #BDBBB5; }
.next__title { margin: 0; font-family: var(--serif); font-size: 18px; line-height: 1.35; font-weight: 700; }

.store__text { margin: 0 0 14px; font-size: 14px; line-height: 1.7; color: var(--ink-2); }
.store__text strong { font-weight: 600; color: var(--ink); }
.store__warn { margin: 0 0 14px; font-size: 13px; line-height: 1.7; color: var(--danger); }
.store__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.store__actions + .store__actions { margin-top: 14px; padding-top: 14px; border-top: 1px solid #EEEDE8; }
.store__note { margin: 12px 0 0; font-size: 12px; line-height: 1.7; color: var(--soft); }

/* ---------- 窄屏：绳子移到左边，所有记录挂在右侧 ---------- */
@media (max-width: 720px) {
  .bar { padding: 10px 16px; min-height: 0; }
  .bar__hint, .stage__hint, .stage__edge { display: none; }
  .stage { --axis: 22px; }
  .stage__scroller { scrollbar-gutter: auto; }
  .tl { padding: 0 12px 0 0; }

  .cl, .cl--right { justify-content: flex-end; margin-top: 0; }
  .cl .cl__box { width: calc(100% - 22px); min-height: 0; padding: 12px 4px 14px 48px; align-items: flex-start; text-align: left; }
  .cl .cl__thread { right: auto; left: var(--dx, 0px); width: calc(36px - var(--dx, 0px)); }
  .cl .cl__bead { right: auto; left: -4px; }
  .cl .cl__date, .cl .it, .cl .ms { flex-direction: row; }
  .cl .ms__body { align-items: flex-start; }
  .ms__title, .tl.zoomed .ms__title { font-size: 24px; }

  .yr, .mo { justify-content: flex-start; }
  .yr__inner, .mo__inner { align-items: flex-start; padding-left: 4px; }
  .yr__num { font-size: 88px; }

  .now__line { display: none; }
  .now__head { justify-content: flex-start; }
  .now__inner { flex-direction: row; align-items: center; gap: 4px; padding: 0; background: transparent; }
  .now__disc { flex: 0 0 44px; width: 44px; height: 44px; font-size: 20px; transform: none; }
  .now__text { align-items: flex-start; gap: 4px; padding: 4px 12px 4px 8px; background: var(--ground); }
  .now__title { font-size: 20px; }
  .now__cols { grid-template-columns: 1fr; }
  .now__col, .now__col--todo { padding: 8px 4px 0 48px; align-items: flex-start; text-align: left; }
  .now__col--done .td { flex-direction: row; }
  .now__empty { align-items: flex-start; padding-left: 48px; }

  .rec { padding: 20px 16px 60px; }
  .rec__form { padding: 20px; }
  .levels { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
}
