/* ============================================================
   Grow 2.0 — 设计系统
   简洁 · 克制 · 现代 · 安静
   ============================================================ */

:root {
  --bg: #F7F7F5;
  --card: #FFFFFF;
  --text: #1C1C1C;
  --muted: #777777;
  --muted-2: #999999;
  --border: #E7E7E4;
  --border-strong: #DEDED9;

  --accent: #3D6B57;        /* 墨绿 */
  --accent-hover: #335B49;
  --accent-soft: #EDF3EF;

  --danger: #B4544A;
  --danger-soft: #F7ECEA;

  --radius: 10px;
  --radius-sm: 8px;
  --radius-lg: 14px;

  --shadow-card: 0 1px 2px rgba(28, 28, 28, 0.04);
  --shadow-modal: 0 16px 48px rgba(28, 28, 28, 0.16);

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue",
          "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

button, input, select, textarea { font-family: inherit; font-size: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }

/* ============ 布局 ============ */

.app-shell { display: flex; min-height: 100vh; }

.sidebar {
  width: 220px;
  flex: 0 0 220px;
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 20px 12px 16px;
  border-right: 1px solid var(--border);
  background: var(--bg);
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px 18px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.logo .logo-dot {
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--accent);
  display: inline-block;
  position: relative;
}
.logo .logo-dot::after {
  content: "";
  position: absolute; left: 6px; top: 5px;
  width: 6px; height: 6px;
  border-left: 2px solid #fff; border-top: 2px solid #fff;
  transform: rotate(45deg);
}

.nav { display: flex; flex-direction: column; gap: 2px; }
.nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 500;
  transition: background 0.15s, color 0.15s;
  cursor: pointer;
}
.nav-item:hover { background: #EFEFEC; color: var(--text); }
.nav-item.active { background: #ECEFEA; color: var(--accent); }
.nav-item svg { width: 17px; height: 17px; flex: 0 0 17px; stroke-width: 1.7; }

.sidebar-foot { margin-top: auto; }

.main { flex: 1; min-width: 0; }
.page { max-width: 780px; margin: 0 auto; padding: 36px 32px 96px; }

.mobile-top {
  display: none;
  position: sticky; top: 0; z-index: 40;
  align-items: center; gap: 12px;
  padding: 12px 16px;
  background: rgba(247, 247, 245, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.mobile-top .logo { padding: 0; font-size: 15px; }
.menu-btn {
  border: 1px solid var(--border); background: var(--card);
  border-radius: var(--radius-sm);
  width: 34px; height: 34px;
  display: grid; place-items: center;
  cursor: pointer; font-size: 15px; color: var(--muted);
}

.scrim {
  display: none;
  position: fixed; inset: 0; z-index: 90;
  background: rgba(28, 28, 28, 0.28);
}

/* ============ 页头 ============ */

.page-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}
.page-head h1 { margin: 0; font-size: 21px; font-weight: 600; letter-spacing: -0.01em; }
.page-sub { margin: 4px 0 0; color: var(--muted); font-size: 13px; }

.section { margin-top: 26px; }
.section-title {
  margin: 0 0 10px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
  text-transform: none;
  letter-spacing: 0.02em;
}
.section-title .count { color: var(--danger); font-weight: 500; margin-left: 4px; }

/* ============ 按钮 ============ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 7px 13px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  background: transparent;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s, opacity 0.15s;
  white-space: nowrap;
}
.btn:active { transform: translateY(0.5px); }

.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); }

.btn-ghost { border-color: var(--border-strong); background: var(--card); color: var(--text); }
.btn-ghost:hover { background: #FAFAF8; border-color: #D4D4CF; }

.btn-text { color: var(--muted); padding: 7px 8px; }
.btn-text:hover { color: var(--text); background: #EFEFEC; }

.btn-danger { color: var(--danger); }
.btn-danger:hover { background: var(--danger-soft); }
.btn-danger-solid { background: var(--danger); color: #fff; }
.btn-danger-solid:hover { background: #A04A41; }

.btn-sm { font-size: 12.5px; padding: 5px 10px; border-radius: 7px; }
.btn-block { width: 100%; }

/* ============ 卡片 / 进度 ============ */

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}

.progress-card { padding: 14px 16px 15px; margin-bottom: 4px; }
.progress-top {
  display: flex; align-items: baseline; gap: 8px;
  font-size: 13px; color: var(--muted);
}
.progress-top b { color: var(--text); font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; }
.progress-top .progress-pct { margin-left: auto; font-variant-numeric: tabular-nums; }
.progress-bar {
  height: 5px; margin-top: 10px;
  background: #ECECE8; border-radius: 999px; overflow: hidden;
}
.progress-bar > i {
  display: block; height: 100%; width: 0;
  background: var(--accent); border-radius: 999px;
  transition: width 0.3s ease;
}
.mini-bar {
  height: 4px; background: #ECECE8; border-radius: 999px; overflow: hidden; flex: 1;
}
.mini-bar > i { display: block; height: 100%; background: var(--accent); border-radius: 999px; }

.focus-banner {
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 10px;
  padding: 9px 14px;
  background: var(--accent-soft);
  border: 1px solid #DCE7E0;
  border-radius: var(--radius);
  font-size: 13px;
  color: #2F5545;
}
.focus-banner span:first-child {
  font-size: 11.5px; font-weight: 600; letter-spacing: 0.04em;
  color: var(--accent); flex: 0 0 auto;
}

/* ============ 任务卡 ============ */

.task-list { display: flex; flex-direction: column; gap: 8px; }

.task-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  transition: border-color 0.15s, opacity 0.2s;
  cursor: pointer;
}
.task-card:hover { border-color: var(--border-strong); }
.task-card.is-running { border-color: #C9D9CF; background: #FCFDFC; }
.task-card.is-running::before { content: none; }
.task-card.is-overdue { border-color: #EBD9D6; }
.task-card.is-completed { opacity: 0.62; }

.tc-index {
  flex: 0 0 auto;
  width: 20px; height: 20px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 11.5px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.tc-main { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; }

.tc-status {
  flex: 0 0 16px;
  width: 16px; height: 16px;
  border-radius: 50%;
  border: 1.5px solid #C9C9C4;
  position: relative;
}
.task-card.is-running .tc-status { border-color: var(--accent); }
.task-card.is-running .tc-status::after {
  content: ""; position: absolute; inset: 3px;
  border-radius: 50%; background: var(--accent);
  animation: pulse 1.6s ease-in-out infinite;
}
.task-card.is-completed .tc-status {
  border-color: var(--accent); background: var(--accent);
}
.task-card.is-completed .tc-status::after {
  content: ""; position: absolute; left: 4px; top: 1px;
  width: 5px; height: 8px;
  border-right: 1.8px solid #fff; border-bottom: 1.8px solid #fff;
  transform: rotate(42deg);
}
.task-card.is-overdue .tc-status { border-color: var(--danger); }

@keyframes pulse {
  0%, 100% { opacity: 1; } 50% { opacity: 0.45; }
}

.tc-info { min-width: 0; flex: 1; }
.tc-title {
  font-size: 14px; font-weight: 500;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  display: flex; align-items: center; gap: 7px;
}
.tc-title .title-text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.task-card.is-completed .tc-title .title-text { color: var(--muted); }

.tc-meta {
  margin-top: 2px;
  font-size: 12px; color: var(--muted-2);
  display: flex; align-items: center; gap: 6px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.tc-meta .sep { opacity: 0.6; }
.tc-timer { color: var(--accent); font-weight: 600; font-variant-numeric: tabular-nums; }

.tc-actions { display: flex; align-items: center; gap: 4px; flex: 0 0 auto; }

/* 徽章 */
.badge {
  flex: 0 0 auto;
  font-size: 11px; font-weight: 500;
  padding: 1px 7px; border-radius: 999px;
  line-height: 1.5;
}
.badge-high { background: var(--danger-soft); color: #9E4A41; }
.badge-medium { background: #F5F0E4; color: #8A6D2F; }
.badge-low { background: #F1F1EF; color: #7A7A75; }
.badge-overdue { background: var(--danger-soft); color: #9E4A41; }
.badge-type-main { background: var(--accent); color: #fff; }
.badge-type-secondary { background: var(--accent-soft); color: var(--accent); }
.badge-type-normal { background: #F1F1EF; color: #7A7A75; }

/* ============ 空状态 ============ */

.empty-state {
  padding: 52px 20px;
  text-align: center;
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius);
  background: transparent;
}
.empty-state p { margin: 0 0 4px; color: var(--muted); font-size: 13.5px; }
.empty-state .em-actions { margin-top: 16px; }

/* ============ 日历 ============ */

.cal-toolbar {
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 16px; flex-wrap: wrap;
}
.cal-nav { display: flex; align-items: center; gap: 4px; }
.cal-range { font-size: 13.5px; font-weight: 600; margin-left: 4px; font-variant-numeric: tabular-nums; }

.seg {
  margin-left: auto;
  display: inline-flex;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--card);
}
.seg-btn {
  border: 0; background: transparent;
  padding: 6px 14px; font-size: 12.5px; color: var(--muted);
  cursor: pointer;
}
.seg-btn + .seg-btn { border-left: 1px solid var(--border); }
.seg-btn.active { background: var(--accent); color: #fff; font-weight: 500; }

.cal-week {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
}
.cal-col {
  min-width: 0;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 8px;
  min-height: 220px;
  display: flex; flex-direction: column;
}
.cal-col.is-today { border-color: #BFD3C7; }
.cal-col-head {
  display: flex; align-items: baseline; justify-content: space-between;
  padding: 2px 2px 8px;
  font-size: 11.5px; color: var(--muted);
}
.cal-col-head .dow { font-weight: 500; }
.cal-col-head .dnum { font-variant-numeric: tabular-nums; font-size: 13px; color: var(--text); font-weight: 600; }
.cal-col.is-today .dnum {
  background: var(--accent); color: #fff;
  border-radius: 50%; width: 22px; height: 22px;
  display: grid; place-items: center;
  font-size: 12px;
}
.cal-col-body { display: flex; flex-direction: column; gap: 5px; flex: 1; }
.cal-chip {
  text-align: left;
  border: 1px solid var(--border);
  background: #FBFBF9;
  border-radius: 7px;
  padding: 5px 8px;
  font-size: 12px;
  line-height: 1.35;
  cursor: pointer;
  overflow: hidden;
  transition: border-color 0.15s;
}
.cal-chip:hover { border-color: var(--border-strong); }
.cal-chip .chip-title {
  display: block;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.cal-chip .chip-meta { display: block; font-size: 10.5px; color: var(--muted-2); margin-top: 1px; }
.cal-chip.is-done { opacity: 0.55; }
.cal-chip.is-done .chip-title { text-decoration: line-through; }
.cal-chip.is-running { border-color: #BFD3C7; background: var(--accent-soft); }
.cal-chip.is-overdue { border-color: #EBD9D6; }

.cal-add {
  margin-top: 6px;
  border: 1px dashed var(--border-strong);
  background: transparent;
  border-radius: 7px;
  padding: 4px 6px;
  font-size: 12px;
  color: var(--muted-2);
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s;
}
.cal-add:hover { color: var(--accent); border-color: #BFD3C7; }

.cal-month {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
}
.cal-month-head {
  text-align: center; font-size: 11.5px; color: var(--muted);
  padding-bottom: 4px;
}
.cal-cell {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  min-height: 96px;
  padding: 6px 7px;
  cursor: pointer;
  display: flex; flex-direction: column; gap: 3px;
  transition: border-color 0.15s;
}
.cal-cell:hover { border-color: var(--border-strong); }
.cal-cell.is-outside { opacity: 0.45; }
.cal-cell.is-today { border-color: #BFD3C7; }
.cal-daynum {
  font-size: 11.5px; font-weight: 600;
  color: var(--text); font-variant-numeric: tabular-nums;
  width: 20px; height: 20px;
  display: grid; place-items: center;
}
.cal-cell.is-today .cal-daynum { background: var(--accent); color: #fff; border-radius: 50%; }
.cal-mini {
  font-size: 10.5px;
  color: var(--muted);
  border-left: 2px solid #D9D9D4;
  padding-left: 5px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.cal-mini.is-done { text-decoration: line-through; opacity: 0.6; }
.cal-mini.is-running { border-left-color: var(--accent); color: var(--accent); }
.cal-more { font-size: 10.5px; color: var(--muted-2); padding-left: 7px; }

/* ============ Goals ============ */

.goal-list { display: flex; flex-direction: column; gap: 10px; }
.goal-card {
  display: block;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 16px 18px;
  transition: border-color 0.15s;
  cursor: pointer;
}
.goal-card:hover { border-color: var(--border-strong); }
.goal-card.type-main { border-left: 3px solid var(--accent); }

.goal-top { display: flex; align-items: center; gap: 8px; }
.goal-title { font-size: 15px; font-weight: 600; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.goal-desc { margin: 5px 0 0; color: var(--muted); font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.goal-meta { margin-top: 4px; font-size: 12px; color: var(--muted-2); }
.goal-progress { display: flex; align-items: center; gap: 10px; margin-top: 12px; }
.goal-progress .gp-text { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; flex: 0 0 auto; }
.goal-progress .gp-pct { font-size: 12px; font-weight: 600; color: var(--accent); font-variant-numeric: tabular-nums; flex: 0 0 auto; }

/* ============ Goal 详情 ============ */

.back-link {
  display: inline-flex; align-items: center; gap: 4px;
  color: var(--muted); font-size: 12.5px; margin-bottom: 14px; cursor: pointer;
}
.back-link:hover { color: var(--text); }
.detail-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.detail-head h1 { margin: 6px 0 0; font-size: 20px; font-weight: 600; }
.detail-desc { margin: 8px 0 0; color: var(--muted); font-size: 13.5px; }
.detail-meta { margin-top: 10px; font-size: 12.5px; color: var(--muted-2); display: flex; gap: 14px; flex-wrap: wrap; }
.detail-actions { display: flex; gap: 4px; flex: 0 0 auto; }

/* ============ Review ============ */

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.stat {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 14px;
}
.stat-value { font-size: 20px; font-weight: 600; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.stat-value .stat-unit { font-size: 12px; font-weight: 500; color: var(--muted); margin-left: 1px; }
.stat-label { margin-top: 3px; font-size: 11.5px; color: var(--muted); }

.review-note { margin-top: 10px; font-size: 12.5px; color: var(--muted-2); }

.perf-list { display: flex; flex-direction: column; gap: 9px; }
.perf-row { display: flex; align-items: center; gap: 12px; }
.perf-name { flex: 0 0 auto; font-size: 13px; min-width: 90px; max-width: 200px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.perf-text { flex: 0 0 auto; font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }

.qa { display: flex; flex-direction: column; gap: 12px; }
.qa-item label { display: block; font-size: 13px; font-weight: 500; margin-bottom: 6px; }
.qa-item textarea {
  width: 100%; resize: vertical; min-height: 64px;
  border: 1px solid var(--border-strong); border-radius: var(--radius-sm);
  background: var(--card); padding: 9px 11px; font-size: 13.5px;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.qa-item textarea:focus, .qa-item input:focus, .field input:focus, .field select:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.qa-item input[type="text"] {
  width: 100%;
  border: 1px solid var(--border-strong); border-radius: var(--radius-sm);
  background: var(--card); padding: 9px 11px; font-size: 13.5px;
}
.review-actions { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.review-saved { font-size: 12px; color: var(--muted-2); }

/* ============ 表单 / 弹窗 ============ */

.modal-overlay {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(28, 28, 28, 0.3);
  display: grid; place-items: center;
  padding: 20px;
  animation: fade-in 0.14s ease;
}
@keyframes fade-in { from { opacity: 0; } }

.modal {
  width: min(480px, 100%);
  max-height: calc(100vh - 40px);
  overflow: auto;
  background: var(--card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-modal);
  padding: 22px 22px 18px;
  animation: pop-in 0.16s ease;
}
@keyframes pop-in { from { opacity: 0; transform: translateY(6px) scale(0.99); } }

.modal-title { margin: 0 0 2px; font-size: 16px; font-weight: 600; }
.modal-sub { margin: 0 0 14px; color: var(--muted); font-size: 12.5px; }

.field { display: block; margin-bottom: 13px; }
.field > span { display: block; font-size: 12px; font-weight: 500; color: var(--muted); margin-bottom: 5px; }
.field input, .field select {
  width: 100%;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--card);
  padding: 8px 10px;
  font-size: 13.5px;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.field select { appearance: none; -webkit-appearance: none; padding-right: 26px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23777' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 10px center;
}
.field-row { display: flex; gap: 12px; }
.field-row .field { flex: 1; min-width: 0; }

.modal-actions {
  display: flex; align-items: center; gap: 6px;
  margin-top: 20px;
}
.modal-actions .gap { flex: 1; }

.confirm-body p { margin: 0 0 4px; font-size: 14px; }
.confirm-body .confirm-sub { color: var(--muted); font-size: 12.5px; }

/* ============ 某天弹窗（日历） ============ */

.day-list { display: flex; flex-direction: column; gap: 3px; margin-bottom: 4px; }
.day-row {
  display: flex; align-items: center; gap: 10px;
  width: 100%; text-align: left;
  padding: 9px 10px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  background: transparent;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}
.day-row:hover { background: #FAFAF8; border-color: var(--border); }
.day-dot {
  flex: 0 0 10px; width: 10px; height: 10px;
  border-radius: 50%; border: 1.5px solid #C9C9C4;
}
.day-dot.done { background: var(--accent); border-color: var(--accent); }
.day-dot.run { border-color: var(--accent); background: var(--accent-soft); }
.day-title { flex: 1; font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.day-meta { flex: 0 0 auto; font-size: 11.5px; color: var(--muted-2); }

/* ============ Toast ============ */

#toast-root {
  position: fixed; bottom: 28px; left: 50%;
  transform: translateX(-50%);
  z-index: 200;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  pointer-events: none;
}
.toast {
  background: #1C1C1C; color: #fff;
  font-size: 13px;
  padding: 9px 16px;
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(28, 28, 28, 0.18);
  opacity: 0; transform: translateY(8px);
  transition: opacity 0.2s, transform 0.2s;
  max-width: min(90vw, 420px);
}
.toast-show { opacity: 1; transform: translateY(0); }

/* ============ Settings ============ */

.settings-card { padding: 18px; margin-bottom: 12px; }
.settings-card h3 { margin: 0 0 4px; font-size: 14px; font-weight: 600; }
.settings-note { margin: 0 0 14px; color: var(--muted); font-size: 12.5px; }
.btn-row { display: flex; gap: 8px; flex-wrap: wrap; }

/* ============ 工具类 ============ */

.muted { color: var(--muted); }
.sub-note { font-size: 12px; color: var(--muted-2); }

/* ============ 响应式 ============ */

@media (max-width: 880px) {
  .sidebar {
    position: fixed; left: 0; top: 0; z-index: 100;
    transform: translateX(-100%);
    transition: transform 0.2s ease;
    background: var(--bg);
    box-shadow: 0 0 0 100vmax rgba(0, 0, 0, 0);
  }
  .sidebar.open { transform: translateX(0); box-shadow: var(--shadow-modal); }
  .mobile-top { display: flex; }
  .scrim.show { display: block; }
  .page { padding: 22px 16px 80px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .cal-week { grid-template-columns: repeat(7, 128px); overflow-x: auto; padding-bottom: 8px; }
  .cal-month { gap: 4px; }
  .cal-cell { min-height: 74px; }
  .tc-actions .btn-text { display: none; }
}
