:root {
  color-scheme: light;
  --bg: #f6f4ef;
  --surface: #fffdf8;
  --surface-strong: #ffffff;
  --ink: #1d1f24;
  --muted: #70757f;
  --line: #e6e0d6;
  --green: #2f9b72;
  --green-soft: #dff2e8;
  --coral: #e2634b;
  --coral-soft: #ffe3dc;
  --yellow: #d69b1e;
  --yellow-soft: #fff0c2;
  --violet: #7661d9;
  --violet-soft: #e8e3ff;
  --blue: #2674c5;
  --shadow: 0 18px 55px rgba(35, 32, 26, 0.11);
  --radius: 8px;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(135deg, rgba(47, 155, 114, 0.08), transparent 28%),
    linear-gradient(315deg, rgba(226, 99, 75, 0.08), transparent 30%),
    var(--bg);
  color: var(--ink);
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
}

img {
  display: block;
  max-width: 100%;
}

.app-shell {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  min-height: 100vh;
}

.rail {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 24px;
  border-right: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.82);
  backdrop-filter: blur(18px);
}

.brand,
.nav-item {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
}

.brand {
  gap: 12px;
  font-size: 18px;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: var(--radius);
  background: var(--ink);
  color: #fffdf8;
  box-shadow: 0 10px 24px rgba(29, 31, 36, 0.2);
}

.nav-list {
  display: grid;
  gap: 8px;
}

.nav-item {
  gap: 12px;
  min-height: 44px;
  padding: 0 12px;
  border-radius: var(--radius);
  color: var(--muted);
  font-weight: 700;
}

.nav-item svg {
  width: 20px;
  height: 20px;
}

.nav-item.active,
.nav-item:hover {
  background: var(--ink);
  color: #fffdf8;
}

.rail-profile {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.rail-profile img,
.avatar-button img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
}

.rail-profile strong,
.rail-profile span {
  display: block;
}

.rail-profile strong {
  font-size: 14px;
}

.rail-profile span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.workspace {
  width: min(100%, 1280px);
  margin-inline: auto;
  padding: 24px;
}

.topbar,
.panel-head,
.topbar-actions,
.meter-meta,
.habit-row,
.insight-list li {
  display: flex;
  align-items: center;
}

.topbar {
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.topbar h1,
.panel h2,
.today-panel h2,
.focus-panel h2 {
  margin: 0;
  letter-spacing: 0;
}

.topbar h1 {
  font-size: clamp(30px, 5vw, 48px);
  line-height: 1;
}

.eyebrow,
.panel-kicker {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.topbar-actions {
  gap: 10px;
}

.icon-button,
.avatar-button,
.ghost-button,
.segmented button,
.cal-day {
  border: 1px solid var(--line);
  background: var(--surface-strong);
  color: var(--ink);
}

.icon-button,
.avatar-button {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: var(--radius);
}

.icon-button svg {
  width: 20px;
  height: 20px;
}

.avatar-button {
  padding: 0;
  overflow: hidden;
}

.mobile-menu {
  display: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(280px, 0.8fr);
  gap: 18px;
  margin-bottom: 18px;
}

.today-panel,
.focus-panel,
.panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.9);
  box-shadow: var(--shadow);
}

.today-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  min-height: 260px;
  overflow: hidden;
  padding: 28px;
}

.today-copy {
  position: relative;
  z-index: 1;
  max-width: 560px;
}

.today-copy h2 {
  font-size: clamp(30px, 4vw, 56px);
  line-height: 1.02;
}

.today-copy p:last-child {
  max-width: 48ch;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}

.checkin-control {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 14px;
}

.checkin-button {
  position: relative;
  display: grid;
  width: 152px;
  height: 152px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--green);
  color: #ffffff;
  box-shadow: 0 18px 40px rgba(47, 155, 114, 0.35);
  font-weight: 900;
}

.checkin-button svg {
  width: 34px;
  height: 34px;
}

.checkin-button span:last-child {
  font-size: 16px;
}

.checkin-ring {
  position: absolute;
  inset: -10px;
  border: 2px solid rgba(47, 155, 114, 0.25);
  border-radius: 50%;
  animation: breathe 2.6s ease-in-out infinite;
}

.time-chip,
.status-badge,
.ghost-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.time-chip {
  padding: 9px 13px;
  background: var(--surface-strong);
  border: 1px solid var(--line);
}

.time-chip svg,
.ghost-button svg {
  width: 16px;
  height: 16px;
}

.panel-art {
  position: absolute;
  right: 18%;
  bottom: -14px;
  width: 260px;
  opacity: 0.22;
  pointer-events: none;
}

.focus-panel {
  display: grid;
  gap: 20px;
  align-content: space-between;
  padding: 24px;
}

.panel-head {
  justify-content: space-between;
  gap: 14px;
}

.panel-head h2,
.focus-panel h2 {
  font-size: 24px;
}

.status-badge {
  padding: 7px 11px;
  background: var(--green-soft);
  color: #17704f;
  white-space: nowrap;
}

.status-badge.muted {
  background: #efebe2;
  color: var(--muted);
}

.radial-meter {
  --angle: calc(var(--value) * 3.6deg);
  display: grid;
  width: min(210px, 70vw);
  aspect-ratio: 1;
  place-items: center;
  justify-self: center;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, var(--surface) 0 58%, transparent 59%),
    conic-gradient(var(--green) var(--angle), #e9e2d8 0);
}

.radial-meter span {
  font-size: 34px;
  font-weight: 900;
}

.meter-meta {
  justify-content: space-between;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 18px;
}

.panel {
  padding: 22px;
}

.weekly-panel,
.calendar-panel {
  grid-column: span 1;
}

.ghost-button {
  min-height: 38px;
  padding: 0 13px;
}

.week-strip {
  display: grid;
  grid-template-columns: repeat(7, minmax(70px, 1fr));
  gap: 10px;
  margin-top: 18px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: thin;
}

.week-strip.dim-done .day-card.done:not(.today) {
  opacity: 0.38;
}

.day-card {
  display: grid;
  min-height: 122px;
  align-content: space-between;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-strong);
}

.day-card span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.day-card strong {
  font-size: 26px;
}

.day-card svg {
  width: 22px;
  height: 22px;
}

.day-card.done svg {
  color: var(--green);
}

.day-card.rest svg {
  color: var(--yellow);
}

.day-card.missed svg {
  color: var(--coral);
}

.day-card.today {
  background: var(--ink);
  color: #fffdf8;
}

.day-card.today span,
.day-card.today svg {
  color: #fffdf8;
}

.habit-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.habit-row {
  gap: 12px;
  min-height: 66px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-strong);
}

.habit-row input {
  width: 18px;
  height: 18px;
  accent-color: var(--green);
}

.habit-icon {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: var(--radius);
}

.habit-icon svg {
  width: 19px;
  height: 19px;
}

.habit-icon.green {
  background: var(--green-soft);
  color: var(--green);
}

.habit-icon.coral {
  background: var(--coral-soft);
  color: var(--coral);
}

.habit-icon.yellow {
  background: var(--yellow-soft);
  color: var(--yellow);
}

.habit-icon.violet {
  background: var(--violet-soft);
  color: var(--violet);
}

.habit-icon.ink {
  background: #ece8df;
  color: var(--ink);
}

.habit-row strong,
.habit-row small {
  display: block;
}

.habit-row strong {
  font-size: 14px;
}

.habit-row small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.segmented {
  display: flex;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #efebe2;
}

.segmented button {
  min-width: 42px;
  height: 30px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  font-weight: 900;
}

.segmented button.active {
  background: var(--surface-strong);
  color: var(--ink);
  box-shadow: 0 6px 16px rgba(35, 32, 26, 0.08);
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(34px, 1fr));
  gap: 8px;
  margin-top: 18px;
}

.calendar-grid > span {
  color: var(--muted);
  text-align: center;
  font-size: 12px;
  font-weight: 900;
}

.cal-day {
  aspect-ratio: 1;
  min-width: 0;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 900;
}

.cal-day.level-1 {
  background: #cce8db;
  border-color: #b6dbc9;
}

.cal-day.level-2 {
  background: #82c8aa;
  border-color: #69b996;
  color: #123c2d;
}

.cal-day.level-3,
.cal-day.today {
  background: var(--green);
  border-color: var(--green);
  color: #ffffff;
}

.cal-day.rest {
  background: var(--yellow-soft);
  border-color: #f0d078;
  color: #6b4910;
}

.cal-day.missed {
  background: var(--coral-soft);
  border-color: #f3b8aa;
  color: #8a2f20;
}

.cal-day.muted,
.cal-day.next {
  color: #a5a097;
  background: #f3efe7;
}

.cal-day.today {
  outline: 3px solid rgba(47, 155, 114, 0.25);
}

.cal-day.selected {
  outline: 3px solid rgba(38, 116, 197, 0.35);
  outline-offset: 2px;
}

.quarter-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.quarter-grid[hidden] {
  display: none;
}

.quarter-card {
  display: grid;
  gap: 12px;
  min-height: 150px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-strong);
}

.quarter-card.active {
  background: var(--ink);
  color: #fffdf8;
}

.quarter-card span,
.quarter-card small {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.quarter-card.active span,
.quarter-card.active small {
  color: rgba(255, 253, 248, 0.72);
}

.quarter-card strong {
  font-size: 30px;
}

.bar-chart {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  align-items: end;
  gap: 12px;
  height: 184px;
  margin-top: 18px;
  padding: 14px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, #fffdf8, #f1ece3);
  border: 1px solid var(--line);
}

.bar-chart span {
  height: var(--h);
  min-height: 24px;
  border-radius: 7px 7px 4px 4px;
  background: linear-gradient(180deg, var(--coral), var(--yellow));
}

.insight-list {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.insight-list li {
  justify-content: space-between;
  gap: 12px;
  min-height: 42px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.insight-list li:last-child {
  border-bottom: 0;
}

.insight-list strong {
  color: var(--ink);
}

.page-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(120deg, rgba(47, 155, 114, 0.18), rgba(255, 253, 248, 0.9) 58%),
    var(--surface);
  box-shadow: var(--shadow);
}

.page-banner h2,
.goal-card h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 46px);
  letter-spacing: 0;
}

.page-banner p:last-child {
  margin: 10px 0 0;
  color: var(--muted);
}

.primary-action,
.quick-check-grid button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: var(--radius);
  font-weight: 900;
}

.primary-action {
  min-height: 48px;
  padding: 0 18px;
  background: var(--ink);
  color: #fffdf8;
  white-space: nowrap;
}

.primary-action.done {
  background: var(--green);
}

.primary-action svg,
.quick-check-grid svg {
  width: 20px;
  height: 20px;
}

.routine-grid,
.stats-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
  gap: 18px;
}

.timeline-list {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.timeline-list li {
  position: relative;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  min-height: 58px;
  padding: 0 0 0 18px;
  border-bottom: 1px solid var(--line);
}

.timeline-list li::before {
  content: "";
  position: absolute;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--coral);
}

.timeline-list li.done::before {
  background: var(--green);
}

.timeline-list span,
.timeline-list small {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.quick-check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.quick-check-grid button {
  min-height: 88px;
  flex-direction: column;
  border: 1px solid var(--line);
  background: var(--surface-strong);
  color: var(--ink);
}

.quick-check-grid button.selected {
  border-color: var(--green);
  background: var(--green-soft);
  color: #17704f;
}

.quick-check-grid.editing button {
  border-style: dashed;
}

.goal-board {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.goal-card {
  display: grid;
  gap: 16px;
  min-height: 260px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.goal-card.strong {
  background: var(--ink);
  color: #fffdf8;
}

.goal-card.draft {
  border-style: dashed;
}

.goal-card p,
.goal-card small {
  margin: 0;
  color: var(--muted);
  font-weight: 800;
}

.goal-card.strong p,
.goal-card.strong small {
  color: rgba(255, 253, 248, 0.72);
}

.goal-icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: var(--radius);
  background: var(--yellow-soft);
  color: var(--yellow);
}

.goal-icon.green {
  background: var(--green-soft);
  color: var(--green);
}

.goal-icon.coral {
  background: var(--coral-soft);
  color: var(--coral);
}

.goal-icon.violet {
  background: var(--violet-soft);
  color: var(--violet);
}

.progress-track {
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(112, 117, 127, 0.2);
}

.progress-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--green);
}

.stats-wide {
  min-height: 360px;
}

.line-chart {
  position: relative;
  height: 260px;
  margin-top: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(var(--line) 1px, transparent 1px) 0 25% / 100% 25%,
    linear-gradient(90deg, rgba(230, 224, 214, 0.5) 1px, transparent 1px) 0 0 / 10% 100%,
    var(--surface-strong);
}

.line-chart span {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 14px;
  height: 14px;
  border: 3px solid var(--green);
  border-radius: 50%;
  background: var(--surface-strong);
  box-shadow: 0 8px 18px rgba(47, 155, 114, 0.18);
}

.rank-list {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.rank-list li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  min-height: 54px;
  border-bottom: 1px solid var(--line);
}

.rank-list span {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: var(--radius);
  background: var(--green-soft);
  color: var(--green);
  font-weight: 900;
}

.rank-list em {
  color: var(--muted);
  font-style: normal;
  font-weight: 900;
}

.toast-root {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 30;
  display: grid;
  gap: 10px;
  width: min(320px, calc(100vw - 28px));
  pointer-events: none;
}

.toast {
  padding: 12px 14px;
  border: 1px solid rgba(29, 31, 36, 0.12);
  border-radius: var(--radius);
  background: rgba(29, 31, 36, 0.94);
  color: #fffdf8;
  box-shadow: var(--shadow);
  font-size: 14px;
  font-weight: 800;
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.toast.leaving {
  opacity: 0;
  transform: translateY(8px);
}

.modal-backdrop,
.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(29, 31, 36, 0.28);
  backdrop-filter: blur(8px);
}

.modal-backdrop {
  display: grid;
  place-items: center;
  padding: 18px;
}

.modal-card,
.drawer-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.modal-card {
  display: grid;
  gap: 18px;
  width: min(440px, 100%);
  padding: 20px;
}

.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.modal-head h2 {
  margin: 0;
  font-size: 22px;
  letter-spacing: 0;
}

.modal-fields {
  display: grid;
  gap: 14px;
}

.modal-fields label,
.modal-fields span {
  display: grid;
  gap: 8px;
}

.modal-fields span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.modal-fields input {
  width: 100%;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-strong);
  color: var(--ink);
  outline: none;
}

.modal-fields input:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(47, 155, 114, 0.18);
}

.drawer-backdrop {
  display: flex;
  justify-content: flex-end;
  padding: 18px;
}

.drawer-card {
  display: grid;
  align-content: start;
  gap: 18px;
  width: min(390px, 100%);
  padding: 20px;
}

.drawer-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.drawer-list li {
  display: grid;
  gap: 4px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-strong);
}

.drawer-list span {
  color: var(--muted);
  font-size: 13px;
}

.profile-card {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 18px;
  border-radius: var(--radius);
  background: var(--green-soft);
  text-align: center;
}

.profile-card img {
  width: 88px;
  height: 88px;
  border-radius: 50%;
}

.profile-card h3,
.profile-card p {
  margin: 0;
}

.profile-card p {
  color: #17704f;
  font-size: 13px;
  font-weight: 800;
}

.not-found {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 24px;
  text-align: center;
}

.not-found h1 {
  margin: 0;
  font-size: clamp(42px, 8vw, 86px);
  letter-spacing: 0;
}

.not-found p:not(.eyebrow) {
  color: var(--muted);
}

.primary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  margin-top: 14px;
  padding: 0 18px;
  border-radius: var(--radius);
  background: var(--ink);
  color: #fffdf8;
  font-weight: 900;
  text-decoration: none;
}

@keyframes breathe {
  0%,
  100% {
    transform: scale(0.98);
    opacity: 0.65;
  }
  50% {
    transform: scale(1.05);
    opacity: 1;
  }
}

@media (max-width: 1080px) {
  .app-shell {
    grid-template-columns: 1fr;
  }

  .rail {
    position: fixed;
    inset: auto 14px 14px;
    z-index: 10;
    height: auto;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition:
      transform 180ms ease,
      border-color 180ms ease;
  }

  body.nav-expanded .rail {
    border-color: var(--ink);
    transform: translateY(-8px);
  }

  .brand span:last-child,
  .rail-profile,
  .nav-item span {
    display: none;
  }

  .nav-list {
    display: flex;
    flex: 1;
    justify-content: space-around;
  }

  .nav-item {
    justify-content: center;
    width: 44px;
    padding: 0;
  }

  .workspace {
    padding-bottom: 96px;
  }
}

@media (max-width: 900px) {
  .hero-grid,
  .content-grid,
  .routine-grid,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .today-panel {
    grid-template-columns: 1fr;
  }

  .checkin-control {
    justify-items: start;
  }

  .panel-art {
    right: -30px;
    width: 210px;
  }

  .goal-board {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .workspace {
    padding: 18px 14px 94px;
  }

  .topbar {
    align-items: flex-start;
  }

  .topbar h1 {
    font-size: 34px;
  }

  .mobile-menu {
    display: grid;
  }

  .today-panel,
  .focus-panel,
  .panel {
    padding: 16px;
  }

  .today-copy h2 {
    font-size: 34px;
  }

  .today-copy p:last-child {
    font-size: 14px;
  }

  .checkin-button {
    width: 124px;
    height: 124px;
  }

  .week-strip {
    grid-template-columns: repeat(7, 78px);
  }

  .calendar-grid {
    gap: 6px;
  }

  .quarter-grid {
    grid-template-columns: 1fr;
  }

  .panel-head {
    align-items: flex-start;
  }

  .page-banner {
    align-items: flex-start;
    flex-direction: column;
    padding: 18px;
  }

  .timeline-list li {
    grid-template-columns: 58px minmax(0, 1fr);
  }

  .timeline-list small {
    grid-column: 2;
  }

  .goal-board {
    grid-template-columns: 1fr;
  }
}
