/* LifeOS — quiet, focused, and entirely local. */
:root {
  --navy: #172c49;
  --navy-deep: #12243e;
  --blue: #4778c8;
  --green: #459b87;
  --purple: #9280c1;
  --orange: #d29a63;
  --ink: #23334c;
  --muted: #7a8799;
  --border: #e8ecf2;
  --surface: #fff;
  --background: #f5f7fa;
  --radius: 16px;
  --shadow: 0 4px 20px #20375504;
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--background);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a,
input,
textarea,
select {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  color: inherit;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid #76a3e3;
  outline-offset: 3px;
}
button {
  border: 0;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  font-weight: 650;
}
h2 {
  font-size: 17px;
}
h3 {
  font-size: 14px;
}
small {
  font-size: 12px;
}
[hidden] {
  display: none !important;
}
.icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  vertical-align: middle;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip-link {
  position: fixed;
  left: 10px;
  top: -100px;
  z-index: 100;
  background: var(--navy);
  color: white;
  padding: 10px 20px;
  border-radius: 8px;
}
.skip-link:focus {
  top: 10px;
}
.noscript {
  position: fixed;
  inset: 20px;
  z-index: 200;
  background: white;
  padding: 40px;
  border: 1px solid var(--border);
}
.app-shell {
  min-height: 100vh;
}
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 236px;
  z-index: 40;
  background: var(--navy);
  color: #bdc8da;
  padding: 35px 20px 20px;
  display: flex;
  flex-direction: column;
}
.brand {
  display: flex;
  gap: 12px;
  align-items: center;
  color: white;
  font-size: 27px;
  letter-spacing: -1px;
  font-weight: 750;
  padding: 0 10px;
}
.brand-light {
  font-weight: 400;
}
.brand small {
  display: block;
  letter-spacing: 2px;
  color: #9eacc0;
  font-size: 10px;
  font-weight: 400;
  margin-top: 0;
}
.brand-mark {
  display: inline-block;
  width: 38px;
  height: 41px;
  position: relative;
  font-size: 35px;
  font-weight: 750;
  line-height: 41px;
  letter-spacing: -3px;
}
.brand-mark > span {
  position: absolute;
  font-size: 27px;
  top: -7px;
  right: -1px;
  color: #a9c5e7;
  letter-spacing: 0;
}
.nav-label {
  font-size: 10px;
  color: #8494ad;
  letter-spacing: 2px;
  margin: 45px 15px 15px;
}
.nav-item {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 13px 15px;
  margin: 5px 0;
  border-radius: 9px;
  color: #b4c0d2;
  font-size: 13px;
  transition:
    background 0.15s,
    color 0.15s;
}
.nav-item .icon {
  width: 19px;
  height: 19px;
}
.nav-item:hover {
  background: #ffffff09;
  color: #fff;
}
.nav-item.active {
  background: #ffffff10;
  color: #fff;
  box-shadow: inset 3px 0 #a8c8f0;
}
.nav-item[data-page="data"] {
  margin-top: 20px;
}
.nav-item:last-child {
  border-top: 1px solid #ffffff0b;
  margin-top: 26px;
  padding-top: 16px;
}
.nav-active-dot {
  height: 5px;
  width: 5px;
  border-radius: 50%;
  background: #acc7eb;
  margin-left: auto;
}
.nav-item:not(.active) .nav-active-dot {
  display: none;
}
.nav-count {
  margin-left: auto;
  background: #ffffff12;
  padding: 0 7px;
  border-radius: 5px;
  font-size: 11px;
}
.sidebar-bottom {
  margin-top: auto;
  padding-top: 36px;
}
.sidebar-note {
  padding: 22px 17px 27px;
  background: linear-gradient(125deg, #ffffff06, transparent);
  border-radius: 10px;
}
.note-star {
  color: #d6b994;
  font-size: 23px;
}
.sidebar-note p {
  font-size: 12px;
  line-height: 2.1;
  color: #bac5d6;
  margin: 8px 0 14px;
}
.sidebar-note > span:last-child {
  font-size: 8px;
  color: #71849e;
  letter-spacing: 1.5px;
}
.local-profile {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 21px 7px 1px;
  border-top: 1px solid #ffffff10;
  margin-top: 22px;
}
.avatar {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  background: #e5ebf2;
  color: #526781;
  border-radius: 50%;
  font-size: 12px;
  flex-shrink: 0;
}
.local-profile .avatar {
  background: #ffffff10;
  color: #c8d4e6;
}
.local-profile strong {
  font-size: 11px;
  color: #d3ddec;
  font-weight: 500;
}
.local-profile small {
  display: block;
  font-size: 9px;
  color: #8192ab;
}
.online-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #7eb29e;
  margin-left: auto;
}
.workspace {
  margin-left: 236px;
}
.topbar {
  height: 76px;
  padding: 0 42px;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #ffffffc9;
}
.breadcrumb,
.topbar-right {
  display: flex;
  align-items: center;
  gap: 20px;
}
.breadcrumb {
  font-size: 12px;
  color: var(--muted);
  gap: 15px;
}
.breadcrumb strong {
  font-weight: 500;
  color: #3e506a;
}
.crumb-separator {
  color: #c8d0db;
}
.topbar-right {
  gap: 22px;
}
.small-avatar {
  width: 31px;
  height: 31px;
  font-size: 10px;
}
.save-status {
  font-size: 11px;
  color: #8995a5;
  display: flex;
  align-items: center;
  gap: 7px;
}
.save-status:before {
  content: "";
  display: block;
  width: 5px;
  height: 5px;
  background: #72aa90;
  border-radius: 50%;
}
.save-error {
  color: #b65050;
}
.save-error:before {
  background: #b65050;
}
.mobile-menu {
  display: none !important;
}
.storage-banner {
  margin: 20px 40px 0;
  background: #fff1e6;
  border: 1px solid #ecd0b8;
  border-radius: 10px;
  padding: 14px 20px;
  color: #814a2a;
  font-size: 13px;
}
main {
  max-width: 1500px;
  padding: 35px 42px 24px;
  margin: auto;
  min-height: calc(100vh - 145px);
}
main:focus {
  outline: none;
}
.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 26px;
}
.eyebrow {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 2px;
  color: #92a0b2;
  margin-bottom: 7px;
}
.page-heading h1 {
  font-size: 28px;
  line-height: 1.5;
  letter-spacing: -0.6px;
}
.heading-dot {
  color: #7096ca;
  margin-left: 3px;
}
.page-heading > div > p:last-child {
  color: var(--muted);
  font-size: 12px;
  margin-top: 7px;
}
.date-pill {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 11px;
  color: #6a7a90;
  white-space: nowrap;
  background: #fff;
  border: 1px solid var(--border);
  padding: 9px 13px;
  border-radius: 8px;
}
.date-pill .icon {
  width: 15px;
  height: 15px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 39px;
  padding: 9px 16px;
  border-radius: 7px;
  font-size: 12px;
  line-height: 1.7;
  font-weight: 550;
  transition:
    background 0.15s,
    box-shadow 0.15s;
  white-space: nowrap;
}
.button .icon {
  width: 16px;
  height: 16px;
}
.primary {
  background: var(--navy);
  color: white;
  border: 1px solid var(--navy);
  box-shadow: 0 3px 7px #172c4910;
}
.primary:hover {
  background: #294566;
  box-shadow: 0 4px 9px #172c4925;
}
.secondary {
  background: #fff;
  border: 1px solid #dfe5ee;
  color: #445a77;
}
.secondary:hover {
  background: #f2f5fa;
  border-color: #c2cddd;
}
.destructive {
  color: white;
  background: #b94747;
}
.destructive:hover {
  background: #a33434;
}
.text-link {
  font-size: 11px;
  color: #8391a5;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.text-link:hover {
  color: var(--blue);
}
.text-link .icon {
  width: 14px;
  height: 14px;
}
.welcome-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(106deg, #eaf0f8 0%, #edf2f9 58%, #e3ebf6);
  border: 1px solid #e1e8f2;
  border-radius: var(--radius);
  padding: 30px 32px;
  min-height: 222px;
  display: flex;
  align-items: center;
  margin-bottom: 23px;
}
.welcome-content {
  position: relative;
  z-index: 1;
}
.welcome-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: #6d83a2;
  margin-bottom: 11px;
}
.welcome-label .icon {
  width: 16px;
  height: 16px;
  color: #b59561;
}
.welcome-content h2 {
  font-size: 25px;
  font-weight: 650;
  letter-spacing: 0.4px;
  color: #2d4566;
}
.welcome-content p {
  font-size: 12px;
  color: #8090a6;
  margin-top: 10px;
}
.welcome-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 22px;
}
.welcome-link {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  color: #6b7f9b;
}
.welcome-link:hover {
  color: var(--navy);
}
.welcome-link .icon {
  width: 15px;
}
.mobile-break {
  display: none;
}
.growth-art {
  position: absolute;
  width: 300px;
  height: 235px;
  right: 15px;
  top: 0;
  color: #6485b4;
}
.orbit {
  position: absolute;
  border: 1px solid #6386b41a;
  border-radius: 50%;
  transform: rotate(-25deg);
}
.orbit-one {
  width: 260px;
  height: 200px;
  top: 20px;
  left: 5px;
}
.orbit-two {
  width: 200px;
  height: 260px;
  top: -20px;
  left: 50px;
}
.growth-steps {
  display: flex;
  align-items: end;
  gap: 12px;
  position: absolute;
  bottom: 42px;
  left: 65px;
  height: 125px;
  transform: skewY(-9deg);
}
.growth-steps span {
  width: 44px;
  background: linear-gradient(125deg, #b1c5df, #d0dced);
  border: 1px solid #ffffff60;
  box-shadow: 5px 5px 0 #c2d1e680;
  border-radius: 5px 5px 2px 2px;
  height: 35px;
}
.growth-steps span:nth-child(2) {
  height: 68px;
}
.growth-steps span:nth-child(3) {
  height: 110px;
}
.growth-arrow {
  position: absolute;
  width: 190px;
  height: 130px;
  left: 45px;
  top: 12px;
  color: #5478ac;
  filter: drop-shadow(3px 5px 0 #ffffff40);
}
.art-spark {
  position: absolute;
  color: #96aecf;
}
.spark-one {
  left: 30px;
  top: 46px;
  font-size: 22px;
}
.spark-two {
  right: 35px;
  top: 120px;
  font-size: 29px;
  color: #c0ab8d;
}
.art-caption {
  position: absolute;
  bottom: 12px;
  left: 58px;
  font-size: 7px;
  letter-spacing: 2px;
  color: #98abc6;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 17px;
  margin-bottom: 25px;
}
.stat-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px 21px;
  box-shadow: var(--shadow);
}
.stat-icon {
  position: absolute;
  right: 17px;
  top: 19px;
  display: grid;
  place-items: center;
  width: 33px;
  height: 33px;
  border-radius: 9px;
}
.stat-icon .icon {
  width: 18px;
  height: 18px;
}
.blue-tone {
  background: #edf2fa;
  color: #6587ba;
}
.green-tone {
  background: #eaf5f0;
  color: #6a9a88;
}
.purple-tone {
  background: #f1edf9;
  color: #9a87b9;
}
.orange-tone {
  background: #fbf2e7;
  color: #c79b64;
}
.stat-title {
  font-size: 11px;
  color: #718198;
}
.stat-value {
  font-size: 31px;
  font-weight: 650;
  letter-spacing: -1px;
  margin: 10px 0 4px;
  line-height: 1.3;
}
.stat-value small {
  color: #9aa6b7;
  font-size: 11px;
  font-weight: 400;
  margin-left: 8px;
  letter-spacing: 0;
}
.stat-note {
  font-size: 10px;
  color: #8d9aab;
}
.dashboard-grid {
  display: grid;
  grid-template-columns: 1.42fr 1fr;
  gap: 23px;
  align-items: start;
}
.panel {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  min-width: 0;
}
.panel-heading {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  align-items: center;
  margin-bottom: 22px;
}
.panel-heading h2 {
  font-size: 15px;
}
.panel-heading p {
  font-size: 10px;
  color: #94a0b0;
  margin-top: 5px;
}
.today-panel,
.habits-panel {
  min-height: 360px;
}
.today-progress {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #f7f9fc;
  border: 1px solid #edf0f6;
  border-radius: 7px;
  padding: 10px 12px;
  margin-bottom: 8px;
}
.today-progress > div:first-child {
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 8px;
}
.today-progress strong {
  font-size: 16px;
  font-weight: 600;
  color: #557da9;
}
.today-progress span {
  font-size: 9px;
  color: #8f9db0;
}
.mini-progress {
  height: 4px;
  border-radius: 4px;
  background: #e5ebf4;
  flex: 1;
  overflow: hidden;
}
.mini-progress span {
  display: block;
  height: 100%;
  background: #8daaca;
  border-radius: 4px;
}
.task-row {
  display: flex;
  gap: 13px;
  align-items: center;
  padding: 17px 0;
  border-bottom: 1px solid #f0f2f6;
  min-width: 0;
}
.task-row:last-child {
  border-bottom: 0;
}
.task-check {
  flex-shrink: 0;
  border: 1.5px solid #d5dce7;
  width: 19px;
  height: 19px;
  border-radius: 6px;
  background: white;
  display: grid;
  place-items: center;
  padding: 2px;
}
.task-check:hover {
  border-color: var(--blue);
  background: #f4f7fb;
}
.task-check.checked {
  background: #80ab9a;
  border-color: #80ab9a;
  color: white;
}
.task-check .icon {
  width: 13px;
  height: 13px;
  stroke-width: 2.5;
}
.task-info {
  flex: 1;
  min-width: 0;
}
.task-name {
  display: block;
  font-size: 12px;
  font-weight: 500;
  overflow-wrap: anywhere;
}
.completed .task-name {
  text-decoration: line-through;
  color: #9ba7b6;
}
.task-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 9px;
  color: #95a1b3;
  margin-top: 7px;
}
.task-meta > span {
  display: flex;
  align-items: center;
  gap: 4px;
}
.task-meta .icon {
  width: 12px;
  height: 12px;
}
.priority {
  font-size: 9px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.priority i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
}
.priority.high {
  color: #c17b79;
}
.priority.medium {
  color: #bf9b63;
}
.priority.low {
  color: #7a9db6;
}
.overdue {
  color: #bc7367 !important;
}
.row-actions {
  display: flex;
  gap: 4px;
  flex-shrink: 0;
}
.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: #8a97aa;
  width: 31px;
  height: 31px;
  flex-shrink: 0;
  border-radius: 6px;
  padding: 7px;
}
.icon-button .icon {
  width: 16px;
  height: 16px;
}
.icon-button:hover {
  background: #edf2f9;
  color: var(--navy);
}
.icon-button.danger:hover {
  background: #fbefed;
  color: #b05a53;
}
.habit-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 0;
  border-bottom: 1px solid #f0f2f6;
}
.habit-row:last-of-type {
  border: 0;
}
.habit-symbol {
  width: 37px;
  height: 37px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.tone-0 {
  background: #edf2f8;
  color: #718eb5;
}
.tone-1 {
  background: #f9f0e5;
  color: #be9564;
}
.tone-2 {
  background: #eef4ed;
  color: #8aa780;
}
.habit-symbol .icon {
  width: 19px;
  height: 19px;
}
.habit-info {
  flex: 1;
  min-width: 0;
}
.habit-info h3 {
  font-size: 12px;
  font-weight: 500;
  overflow-wrap: anywhere;
}
.streak {
  display: inline-flex;
  align-items: center;
  font-size: 9px;
  color: #a4acb7;
  gap: 4px;
  margin-top: 4px;
}
.streak .icon {
  width: 11px;
  height: 11px;
  color: #b69c7b;
}
.habit-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}
.checkin {
  min-height: 30px;
  padding: 5px 10px;
  border: 1px solid #e2e7ee;
  background: #fff;
  font-size: 10px;
  color: #8796a9;
  border-radius: 6px;
}
.checkin .icon {
  width: 12px;
  height: 12px;
}
.checkin:hover {
  background: #eff6f2;
  border-color: #aecfc1;
  color: #4a8f76;
}
.checkin.is-done {
  background: #edf5f0;
  color: #79a38d;
  border-color: #e3eee7;
}
.habit-summary {
  background: #f7f9fc;
  border: 1px dashed #e7ecf4;
  padding: 10px 12px;
  border-radius: 7px;
  color: #8f9bad;
  font-size: 9px;
  margin-top: 18px;
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
}
.habit-summary .icon {
  width: 12px;
  height: 12px;
  color: #acb9cd;
}
.habit-summary strong {
  font-weight: 600;
  color: #6f8a9b;
}
.goals-panel {
  grid-column: 1/-1;
}
.dashboard-goals {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.goal-card {
  --goal-color: var(--blue);
  background: white;
  border: 1px solid var(--border);
  border-radius: 13px;
  padding: 22px;
  min-width: 0;
}
.goal-card.compact {
  padding: 0 21px 0 0;
  border: 0;
  border-right: 1px solid var(--border);
  border-radius: 0;
}
.goal-card.compact:last-child {
  border: 0;
  padding-right: 0;
}
.goal-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
}
.goal-symbol {
  height: 35px;
  width: 35px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--goal-color) 9%, white);
  color: var(--goal-color);
}
.goal-symbol .icon {
  width: 19px;
  height: 19px;
}
.goal-card h3 {
  font-size: 13px;
  overflow-wrap: anywhere;
}
.goal-state {
  font-size: 9px;
  color: #8e9fb5;
  background: #f2f5fa;
  padding: 2px 7px;
  border-radius: 4px;
  white-space: nowrap;
}
.goal-state.finished {
  color: #548c75;
  background: #edf5f0;
}
.progress-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #a0aaba;
  font-size: 9px;
  margin: 19px 0 8px;
}
.progress-label strong {
  font-size: 15px;
  color: var(--goal-color);
  font-weight: 600;
}
.progress-label small {
  font-size: 9px;
  margin-left: 1px;
}
.progress-track {
  height: 5px;
  overflow: hidden;
  border-radius: 5px;
  background: #eef1f6;
}
.progress-track > span {
  display: block;
  height: 100%;
  background: var(--goal-color);
  border-radius: 5px;
}
.goal-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 15px;
  font-size: 9px;
  color: #98a5b5;
}
.goal-bottom > span:first-child {
  display: flex;
  align-items: center;
  gap: 5px;
}
.goal-bottom .icon {
  width: 12px;
  height: 12px;
}
.weekly-panel {
  grid-column: 1;
}
.week-chart {
  height: 145px;
  display: flex;
  gap: 15px;
  align-items: stretch;
  padding-top: 5px;
}
.chart-column {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 8px;
  font-size: 9px;
  color: #a1acba;
}
.chart-value {
  font-size: 10px;
}
.chart-bar-track {
  height: 86px;
  display: flex;
  align-items: end;
  width: 100%;
  max-width: 34px;
  background: linear-gradient(to top, #f4f7fb80, transparent);
  border-bottom: 1px solid #e8eef6;
}
.chart-bar {
  background: #d4e1f0;
  width: 100%;
  border-radius: 4px 4px 0 0;
}
.chart-column.current .chart-bar {
  background: #809fc8;
}
.chart-column.current {
  color: #5f7fa9;
}
.reflection-callout {
  background: linear-gradient(120deg, #eff2f7, #eef1f8);
  border: 1px solid #e5eaf2;
  border-radius: var(--radius);
  padding: 26px 24px;
  grid-column: 2;
  align-self: stretch;
  display: flex;
  flex-wrap: wrap;
  align-content: center;
  gap: 16px;
}
.reflection-icon {
  height: 33px;
  width: 33px;
  display: grid;
  place-items: center;
  color: #879bb9;
}
.reflection-icon .icon {
  height: 28px;
  width: 28px;
}
.reflection-callout > div {
  flex: 1;
  min-width: 160px;
}
.reflection-callout h2 {
  font-size: 15px;
  line-height: 1.7;
}
.reflection-callout p {
  font-size: 10px;
  color: #8d9ab0;
  margin-top: 6px;
}
.reflection-callout .eyebrow {
  font-size: 8px;
  letter-spacing: 1px;
}
.reflection-callout .button {
  margin-left: 49px;
  font-size: 10px;
  min-height: 33px;
  padding: 6px 12px;
}
.footer {
  max-width: 1500px;
  margin: auto;
  padding: 18px 42px 25px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: #a6afbd;
  font-size: 9px;
}
.footer-dot {
  margin: 0 5px;
}
.footer > span:last-child {
  font-size: 9px;
}
.footer > span:last-child > span {
  margin-left: 7px;
  font-size: 13px;
}
.empty-state {
  text-align: center;
  padding: 38px 16px;
}
.empty-icon {
  width: 49px;
  height: 49px;
  border-radius: 15px;
  background: #f1f5fa;
  color: #9ab0cc;
  display: grid;
  place-items: center;
  margin: 0 auto 15px;
}
.empty-icon .icon {
  width: 24px;
  height: 24px;
}
.empty-state h3 {
  font-size: 14px;
  color: #65788f;
  font-weight: 500;
}
.empty-state p {
  font-size: 11px;
  color: #98a4b4;
  margin: 9px 0 18px;
}
.empty-state .button {
  font-size: 11px;
}
.today-panel .empty-state,
.habits-panel .empty-state {
  padding: 25px 8px;
}
.today-panel .empty-state p,
.habits-panel .empty-state p {
  font-size: 10px;
}
.today-panel .empty-state h3,
.habits-panel .empty-state h3 {
  font-size: 12px;
}
.today-panel .empty-icon,
.habits-panel .empty-icon {
  height: 38px;
  width: 38px;
  margin-bottom: 10px;
}
.summary-strip {
  display: flex;
  gap: 38px;
  padding: 16px 23px;
  border-radius: 10px;
  background: #edf1f7;
  font-size: 12px;
  color: #8795a9;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.summary-strip strong {
  margin-left: 10px;
  color: #4a6283;
  font-weight: 600;
  font-size: 16px;
}
.goals-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.goal-description {
  font-size: 12px;
  color: #8492a6;
  line-height: 1.9;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  margin-top: 11px;
  min-height: 68px;
}
.goals-grid .goal-card h3 {
  font-size: 16px;
}
.goals-grid .goal-symbol {
  height: 42px;
  width: 42px;
}
.goals-grid .goal-bottom {
  margin-top: 21px;
}
.page-hint {
  font-size: 11px;
  line-height: 1.9;
  color: #95a1b2;
  display: flex;
  align-items: start;
  gap: 8px;
  margin: 21px 4px;
}
.page-hint .icon {
  width: 14px;
  height: 14px;
  margin-top: 3px;
}
.task-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.filter-tabs {
  display: flex;
  gap: 5px;
  padding: 4px;
  background: #f4f6fa;
  border-radius: 8px;
}
.filter-tab {
  background: transparent;
  color: #8694a8;
  font-size: 12px;
  border-radius: 6px;
  padding: 7px 12px;
  display: flex;
  gap: 8px;
  align-items: center;
}
.filter-tab span {
  font-size: 10px;
  background: #e9edf4;
  color: #8a99af;
  padding: 0 6px;
  border-radius: 4px;
}
.filter-tab.selected {
  background: white;
  color: #3c5578;
  box-shadow: 0 1px 5px #20375512;
}
.toolbar-note {
  font-size: 10px;
}
.muted {
  color: #8c99ab;
  font-size: 12px;
}
.full-list .task-row {
  padding: 22px 5px;
}
.full-list .task-name {
  font-size: 14px;
}
.full-list .task-meta {
  font-size: 11px;
}
.full-list .priority {
  font-size: 10px;
}
.full-list .task-check {
  width: 21px;
  height: 21px;
}
.habit-banner {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px 28px;
  background: #eaf2ef;
  border: 1px solid #deebe4;
  border-radius: var(--radius);
  margin-bottom: 24px;
}
.habit-banner-icon {
  height: 50px;
  width: 50px;
  background: #dfebe3;
  color: #6b9d82;
  border-radius: 14px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.habit-banner-icon .icon {
  width: 27px;
  height: 27px;
}
.habit-banner h2 {
  font-size: 17px;
  color: #4e7564;
}
.habit-banner p {
  font-size: 12px;
  color: #8aa394;
  margin-top: 5px;
}
.habit-banner > strong {
  font-size: 35px;
  color: #699b83;
  margin-left: auto;
  letter-spacing: -1px;
}
.habit-banner > strong small {
  font-size: 17px;
  font-weight: 400;
  margin-left: 3px;
}
.habits-full .habit-row {
  padding: 23px 4px;
}
.habits-full .habit-symbol {
  width: 48px;
  height: 48px;
  margin-right: 5px;
}
.habits-full .habit-info h3 {
  font-size: 15px;
}
.habits-full .streak {
  font-size: 11px;
}
.habits-full .checkin {
  font-size: 12px;
  min-height: 36px;
  padding: 7px 15px;
}
.habit-week {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}
.habit-day {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 6px;
  width: 30px;
  color: #abb4c1;
  font-size: 10px;
}
.habit-day small {
  font-size: 9px;
}
.habit-day > span {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #f3f5f9;
  display: grid;
  place-items: center;
  font-size: 10px;
}
.habit-day.done > span {
  background: #e7f2ec;
  color: #7da48c;
}
.habit-day .icon {
  width: 13px;
  height: 13px;
}
.date-selector {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #8596ad;
}
.date-selector .icon {
  width: 17px;
  height: 17px;
}
.date-selector input {
  border: 1px solid var(--border);
  padding: 8px 10px;
  border-radius: 7px;
  color: #62738b;
  background: white;
  font-size: 12px;
}
.review-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 24px;
  align-items: start;
}
.review-editor {
  padding: 28px;
}
.review-editor .panel-heading {
  border-bottom: 1px solid var(--border);
  padding-bottom: 22px;
  margin-bottom: 25px;
}
.review-field {
  display: block;
  margin: 0 0 28px;
}
.review-field > span {
  display: flex;
  align-items: center;
  gap: 9px;
}
.review-field strong {
  font-size: 13px;
  font-weight: 600;
}
.review-number {
  font-size: 10px;
  width: 26px;
  height: 26px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  font-weight: 500;
}
.review-field > small {
  display: block;
  font-size: 11px;
  color: #9aa6b6;
  margin: 9px 0 12px;
}
.review-field textarea {
  display: block;
  width: 100%;
  resize: vertical;
  min-height: 100px;
  border: 1px solid #e7ecf2;
  background: #fbfcfe;
  border-radius: 9px;
  padding: 13px 15px;
  font-size: 12px;
  line-height: 1.9;
  color: var(--ink);
}
textarea::placeholder,
input::placeholder {
  color: #abb6c5;
}
.review-save {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.review-save .muted {
  font-size: 10px;
  display: flex;
  align-items: center;
  gap: 5px;
}
.review-save .icon {
  width: 13px;
  height: 13px;
}
.review-history {
  padding: 24px 20px;
}
.review-history .panel-heading {
  margin-bottom: 8px;
}
.review-entry {
  background: white;
  display: block;
  position: relative;
  width: 100%;
  padding: 16px 12px;
  text-align: left;
  border-radius: 8px;
  border-bottom: 1px solid #f0f3f7;
}
.review-entry:hover {
  background: #f8fafd;
}
.review-entry.selected {
  background: #f1f5fa;
}
.review-entry-date {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 500;
  color: #5f7795;
}
.review-entry-date .icon {
  width: 13px;
  height: 13px;
}
.review-entry-date small {
  font-size: 9px;
  font-weight: 400;
  color: #a2aebe;
  margin-left: auto;
}
.review-excerpt {
  font-size: 10px;
  color: #9ba7b7;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  line-height: 1.8;
  margin-top: 8px;
  padding-right: 14px;
  overflow-wrap: anywhere;
}
.review-entry > .icon {
  position: absolute;
  right: 10px;
  bottom: 18px;
  width: 12px;
  height: 12px;
  color: #b0bdcc;
}
.history-empty {
  padding: 22px 8px;
  font-size: 12px;
  color: #9aa7b8;
  line-height: 2;
}
.privacy-card {
  display: flex;
  gap: 22px;
  padding: 29px;
  background: #eaf0f8;
  border: 1px solid #dfe7f2;
  border-radius: var(--radius);
  margin-bottom: 24px;
}
.privacy-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: #dfe8f5;
  color: #7696c1;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.privacy-icon .icon {
  width: 26px;
  height: 26px;
}
.privacy-card h2 {
  font-size: 18px;
  color: #4e688c;
  margin-bottom: 11px;
}
.privacy-card p {
  font-size: 12px;
  color: #8395ae;
  line-height: 1.9;
  margin: 4px 0;
}
.privacy-badge {
  flex-shrink: 0;
  align-self: start;
  margin-left: auto;
  font-size: 10px;
  border: 1px solid #ccdaec;
  padding: 4px 9px;
  border-radius: 5px;
  color: #7d97b8;
}
.data-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.data-card {
  padding: 29px;
}
.data-icon {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
}
.data-card h2 {
  font-size: 17px;
}
.data-card p {
  font-size: 12px;
  color: #97a2b2;
  line-height: 1.9;
  max-width: 420px;
  margin: 11px 0 23px;
}
.data-card > small {
  display: block;
  color: #a6b0bf;
  font-size: 10px;
  margin-top: 11px;
}
.file-label {
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.file-label input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}
.file-label:focus-within {
  outline: 3px solid #76a3e3;
  outline-offset: 3px;
}
.data-overview {
  margin-top: 24px;
}
.data-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.data-stats > div {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 17px;
  border-right: 1px solid var(--border);
  color: #97a4b6;
}
.data-stats > div:last-child {
  border: 0;
}
.data-stats .icon {
  width: 18px;
  height: 18px;
}
.data-stats strong {
  font-size: 25px;
  color: #5c7597;
  font-weight: 550;
}
.data-stats span {
  font-size: 11px;
}
.demo-prompt {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 27px;
  background: #edf0f5;
  border: 1px dashed #d9e0eb;
  padding: 24px;
  border-radius: 12px;
  color: #7b8da6;
}
.demo-prompt strong {
  font-size: 13px;
  font-weight: 500;
}
.demo-prompt p {
  font-size: 11px;
  margin-top: 5px;
  color: #96a1b1;
}
.demo-prompt .button {
  margin-left: auto;
}
.recovery-panel {
  margin-top: 24px;
}
.recovery-panel p {
  color: var(--muted);
  font-size: 12px;
  margin: 10px 0 16px;
}
dialog {
  border: 1px solid #e0e6ef;
  border-radius: 17px;
  box-shadow: 0 24px 80px #102b4d30;
  width: min(480px, calc(100% - 32px));
  max-height: calc(100dvh - 48px);
  overflow: auto;
  padding: 27px;
  color: var(--ink);
  background: white;
}
dialog::backdrop {
  background: #12243e6b;
  backdrop-filter: blur(3px);
}
.dialog-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}
.dialog-heading h2 {
  font-size: 20px;
}
.form-field {
  display: block;
  position: relative;
  font-size: 12px;
  font-weight: 550;
  color: #657891;
  margin-top: 17px;
}
.required {
  color: #bd8282;
  margin-left: 3px;
}
.form-field input:not([type="range"]),
.form-field textarea,
.form-field select {
  display: block;
  width: 100%;
  margin-top: 7px;
  border: 1px solid #e0e6ef;
  border-radius: 7px;
  min-height: 41px;
  padding: 10px 12px;
  background: #fbfcfe;
  color: #334a69;
  font-size: 12px;
  line-height: 1.7;
  font-weight: 400;
  min-width: 0;
}
.form-field textarea {
  resize: vertical;
}
.form-row {
  display: flex;
  gap: 18px;
}
.form-row > .form-field {
  flex: 1;
  min-width: 0;
}
.form-field input[type="range"] {
  display: block;
  width: 100%;
  accent-color: #668bbd;
  margin: 17px 0 20px;
}
.progress-input-label output {
  position: absolute;
  right: 0;
  color: #6587b5;
  font-size: 15px;
}
.dialog-footer {
  display: flex;
  justify-content: end;
  gap: 11px;
  margin-top: 25px;
}
.form-error {
  font-size: 12px;
  color: #ad5b53;
  margin-top: 14px;
}
.confirm-message {
  font-size: 13px;
  color: #7f8fa5;
  line-height: 2;
  overflow-wrap: anywhere;
}
.confirm-message strong {
  color: #516f98;
}
.import-warning {
  font-size: 12px;
  color: #a47b48;
  background: #fff6e9;
  border: 1px solid #f0e1c9;
  padding: 13px 16px;
  border-radius: 8px;
  margin-top: 17px;
}
.toast {
  position: fixed;
  bottom: 28px;
  left: calc(50% + 118px);
  transform: translateX(-50%);
  z-index: 100;
  background: #213c59;
  color: #fff;
  padding: 12px 22px;
  border: 1px solid #ffffff20;
  border-radius: 9px;
  box-shadow: 0 10px 35px #172c4930;
  font-size: 12px;
  max-width: calc(100vw - 35px);
  width: max-content;
  line-height: 1.8;
}
.toast.error {
  background: #9b534f;
}
.nav-overlay {
  display: none;
}
@media (min-width: 1600px) {
  main {
    padding-top: 45px;
  }
  .welcome-card {
    padding: 35px 40px;
    min-height: 245px;
  }
  .growth-art {
    right: 60px;
  }
  .stats-grid {
    gap: 23px;
  }
  .stat-card {
    padding: 24px;
  }
  .dashboard-grid {
    gap: 25px;
  }
  .panel {
    padding: 27px;
  }
  .today-panel,
  .habits-panel {
    min-height: 390px;
  }
  .task-row {
    padding: 19px 0;
  }
  .habit-row {
    padding: 19px 0;
  }
}
@media (max-width: 1200px) {
  .sidebar {
    width: 210px;
    padding-left: 16px;
    padding-right: 16px;
  }
  .workspace {
    margin-left: 210px;
  }
  .topbar {
    padding: 0 28px;
  }
  main {
    padding: 30px 28px 20px;
  }
  .footer {
    padding-left: 28px;
    padding-right: 28px;
  }
  .welcome-content h2 {
    font-size: 23px;
  }
  .growth-art {
    right: -25px;
    opacity: 0.7;
    transform: scale(0.87);
  }
  .welcome-card {
    padding: 27px;
  }
  .welcome-content {
    max-width: 75%;
  }
  .stat-card {
    padding: 18px 16px;
  }
  .stat-icon {
    width: 29px;
    height: 29px;
    right: 12px;
    top: 17px;
  }
  .stat-note {
    font-size: 9px;
  }
  .dashboard-grid {
    gap: 18px;
    grid-template-columns: 1.3fr 1fr;
  }
  .panel {
    padding: 20px;
  }
  .dashboard-goals {
    gap: 17px;
  }
  .task-meta {
    gap: 9px;
  }
  .panel-heading {
    gap: 8px;
  }
  .panel-heading p {
    font-size: 9px;
  }
  .panel-heading h2 {
    font-size: 14px;
  }
  .goals-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .review-layout {
    grid-template-columns: minmax(0, 1fr) 240px;
    gap: 19px;
  }
  .privacy-badge {
    display: none;
  }
  .toast {
    left: calc(50% + 105px);
  }
  .toolbar-note {
    display: none;
  }
  .review-save {
    flex-wrap: wrap;
  }
  .date-pill {
    font-size: 10px;
  }
}
@media (max-width: 960px) {
  .sidebar {
    width: 190px;
    padding-left: 12px;
    padding-right: 12px;
  }
  .workspace {
    margin-left: 190px;
  }
  .brand {
    font-size: 24px;
    gap: 8px;
  }
  .brand small {
    font-size: 9px;
  }
  .nav-item {
    padding: 12px;
    font-size: 12px;
    gap: 10px;
  }
  .sidebar-note {
    padding: 17px 12px;
  }
  .sidebar-note > span:last-child {
    font-size: 7px;
  }
  .local-profile {
    gap: 7px;
    padding-left: 2px;
    padding-right: 2px;
  }
  .local-profile strong {
    font-size: 10px;
  }
  .local-profile small {
    font-size: 8px;
  }
  .topbar {
    padding: 0 23px;
    height: 66px;
  }
  main {
    padding: 26px 23px 20px;
  }
  .page-heading {
    align-items: start;
  }
  .page-heading h1 {
    font-size: 25px;
  }
  .page-heading .date-pill {
    margin-top: 15px;
  }
  .date-pill {
    padding: 7px 9px;
    font-size: 9px;
    gap: 6px;
  }
  .date-pill .icon {
    width: 13px;
    height: 13px;
  }
  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
  }
  .stat-card {
    padding: 19px 21px;
  }
  .stat-icon {
    width: 34px;
    height: 34px;
    top: 19px;
    right: 19px;
  }
  .stat-note {
    font-size: 10px;
  }
  .dashboard-grid {
    grid-template-columns: 1fr 1fr;
  }
  .today-panel {
    grid-column: 1/-1;
    min-height: unset;
  }
  .habits-panel {
    grid-column: 1/-1;
    min-height: unset;
  }
  .dashboard-goals {
    grid-template-columns: 1fr;
  }
  .goal-card.compact {
    border: 0;
    border-bottom: 1px solid var(--border);
    padding: 0 0 21px;
  }
  .goal-card.compact:last-child {
    padding: 0;
  }
  .goal-card.compact .goal-top {
    margin-bottom: 10px;
  }
  .goal-card.compact .progress-label {
    margin-top: 12px;
  }
  .goals-panel {
    grid-column: 1;
  }
  .weekly-panel {
    grid-column: 2;
    grid-row: 3;
  }
  .reflection-callout {
    grid-column: 2;
    grid-row: 3;
    align-self: end;
    margin-top: 230px;
    z-index: 1;
    padding: 22px;
    gap: 10px;
  }
  .reflection-callout .eyebrow {
    display: none;
  }
  .reflection-callout h2 {
    font-size: 13px;
  }
  .reflection-callout > div {
    min-width: 100px;
  }
  .reflection-callout .button {
    margin-left: 0;
  }
  .reflection-icon {
    display: none;
  }
  .welcome-link {
    display: none;
  }
  .welcome-content {
    max-width: 77%;
  }
  .welcome-content h2 {
    font-size: 21px;
  }
  .welcome-content p {
    font-size: 11px;
  }
  .growth-art {
    right: -65px;
    transform: scale(0.75);
    opacity: 0.55;
  }
  .review-layout {
    grid-template-columns: 1fr;
  }
  .review-history {
    order: 2;
  }
  .review-history #review-history {
    max-height: 330px;
    overflow: auto;
  }
  .privacy-card {
    padding: 24px;
    gap: 16px;
  }
  .privacy-card p {
    font-size: 11px;
  }
  .data-cards {
    gap: 17px;
  }
  .data-card {
    padding: 22px;
  }
  .data-card h2 {
    font-size: 15px;
  }
  .data-card p {
    font-size: 11px;
  }
  .data-stats > div {
    flex-wrap: wrap;
    padding: 12px;
    gap: 6px;
  }
  .data-stats > div > span {
    width: 100%;
    text-align: center;
  }
  .demo-prompt {
    flex-wrap: wrap;
  }
  .demo-prompt .button {
    margin-left: 0;
  }
  .habit-week {
    gap: 8px;
  }
  .habit-actions {
    flex-direction: column;
  }
  .footer > span:last-child {
    display: none;
  }
  .toast {
    left: calc(50% + 95px);
  }
}
@media (max-width: 700px) {
  .sidebar {
    width: 236px;
    transform: translateX(-100%);
    transition: transform 0.2s;
    padding: 30px 20px 20px;
  }
  .sidebar.is-open {
    transform: translateX(0);
  }
  .nav-overlay:not([hidden]) {
    display: block;
    position: fixed;
    inset: 0;
    background: #12243e66;
    z-index: 35;
    backdrop-filter: blur(2px);
  }
  .workspace {
    margin-left: 0;
  }
  .brand {
    font-size: 27px;
  }
  .brand small {
    font-size: 10px;
  }
  .nav-item {
    font-size: 13px;
    padding: 14px;
  }
  .local-profile strong {
    font-size: 12px;
  }
  .local-profile small {
    font-size: 10px;
  }
  .mobile-menu {
    display: inline-flex !important;
  }
  .topbar {
    height: 61px;
    padding: 0 16px;
  }
  .breadcrumb {
    font-size: 11px;
    gap: 9px;
  }
  .breadcrumb > span:first-of-type,
  .crumb-separator {
    display: none;
  }
  .topbar-right {
    gap: 12px;
  }
  .save-status {
    font-size: 9px;
  }
  .small-avatar {
    width: 29px;
    height: 29px;
  }
  main {
    padding: 26px 18px 17px;
    min-height: calc(100dvh - 115px);
  }
  .page-heading {
    margin-bottom: 21px;
    gap: 14px;
    flex-wrap: wrap;
    align-items: center;
  }
  .eyebrow {
    font-size: 8px;
    letter-spacing: 1.7px;
  }
  .page-heading h1 {
    font-size: 25px;
  }
  .page-heading > div > p:last-child {
    font-size: 11px;
  }
  .page-heading .date-pill {
    margin-top: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: #94a1b3;
  }
  .welcome-card {
    min-height: 227px;
    padding: 25px 23px;
    margin-bottom: 19px;
  }
  .welcome-content {
    max-width: 100%;
  }
  .welcome-content h2 {
    font-size: 21px;
    letter-spacing: -0.4px;
  }
  .welcome-content p {
    line-height: 1.9;
    font-size: 11px;
  }
  .welcome-actions {
    margin-top: 21px;
    gap: 14px;
  }
  .growth-art {
    right: -88px;
    top: 34px;
    opacity: 0.2;
    transform: scale(0.8);
  }
  .welcome-label {
    font-size: 10px;
  }
  .welcome-card .primary {
    position: relative;
    z-index: 2;
    min-height: 37px;
    font-size: 11px;
  }
  .mobile-break {
    display: block;
  }
  .stats-grid {
    gap: 12px;
    margin-bottom: 20px;
  }
  .stat-card {
    padding: 18px 15px;
  }
  .stat-icon {
    right: 12px;
    top: 15px;
    width: 27px;
    height: 27px;
  }
  .stat-icon .icon {
    width: 16px;
    height: 16px;
  }
  .stat-title {
    font-size: 10px;
  }
  .stat-value {
    font-size: 29px;
    margin-top: 12px;
  }
  .stat-value small {
    font-size: 10px;
    margin-left: 6px;
  }
  .stat-note {
    font-size: 9px;
    letter-spacing: -0.3px;
  }
  .dashboard-grid {
    display: flex;
    flex-direction: column;
    gap: 18px;
  }
  .dashboard-grid > section {
    width: 100%;
  }
  .panel {
    padding: 20px;
    border-radius: 13px;
  }
  .panel-heading h2 {
    font-size: 15px;
  }
  .panel-heading p {
    font-size: 10px;
  }
  .panel-heading {
    margin-bottom: 20px;
  }
  .dashboard-goals {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .goal-card.compact .goal-top {
    margin-bottom: 12px;
  }
  .reflection-callout {
    margin-top: 0;
    padding: 25px;
    gap: 17px;
  }
  .reflection-icon {
    display: grid;
  }
  .reflection-callout > div {
    min-width: 200px;
  }
  .reflection-callout h2 {
    font-size: 14px;
  }
  .reflection-callout .eyebrow {
    display: block;
  }
  .reflection-callout .button {
    margin-left: 49px;
  }
  .weekly-panel {
    order: 4;
  }
  .reflection-callout {
    order: 5;
  }
  .week-chart {
    height: 155px;
  }
  .chart-bar-track {
    height: 97px;
  }
  .footer {
    padding: 17px 19px 22px;
    font-size: 8px;
  }
  .button {
    padding: 8px 12px;
    font-size: 11px;
  }
  .summary-strip {
    padding: 16px 18px;
    gap: 20px;
  }
  .summary-strip span {
    font-size: 10px;
  }
  .summary-strip strong {
    font-size: 14px;
    margin-left: 5px;
  }
  .goals-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .goals-grid .goal-card {
    padding: 23px;
  }
  .goal-description {
    min-height: unset;
    font-size: 12px;
  }
  .task-toolbar {
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 16px;
  }
  .filter-tabs {
    gap: 1px;
    width: 100%;
  }
  .filter-tab {
    padding: 7px 8px;
    font-size: 11px;
    gap: 5px;
    flex: 1;
    justify-content: center;
    white-space: nowrap;
  }
  .filter-tab span {
    padding: 0 4px;
  }
  .full-list .task-name {
    font-size: 12px;
  }
  .full-list .task-row {
    gap: 10px;
    padding: 20px 0;
  }
  .full-list .task-meta {
    font-size: 9px;
  }
  .row-actions {
    gap: 0;
  }
  .row-actions .icon-button {
    width: 28px;
    height: 30px;
  }
  .full-list .task-check {
    width: 19px;
    height: 19px;
  }
  .habit-banner {
    padding: 21px 18px;
    gap: 13px;
  }
  .habit-banner-icon {
    width: 40px;
    height: 43px;
  }
  .habit-banner-icon .icon {
    width: 24px;
  }
  .habit-banner h2 {
    font-size: 14px;
  }
  .habit-banner p {
    font-size: 10px;
  }
  .habit-banner > strong {
    font-size: 27px;
  }
  .habit-banner > strong small {
    font-size: 13px;
  }
  .habits-full .habit-row {
    flex-wrap: wrap;
    align-items: start;
    gap: 12px;
    position: relative;
    padding: 23px 0;
  }
  .habits-full .habit-symbol {
    width: 35px;
    height: 35px;
    margin-right: 0;
  }
  .habits-full .habit-info h3 {
    font-size: 13px;
    padding-right: 80px;
    line-height: 1.8;
  }
  .habits-full .habit-info {
    min-width: 0;
  }
  .habit-week {
    margin-left: -47px;
    gap: 9px;
    padding-top: 8px;
    justify-content: space-between;
    max-width: 345px;
  }
  .habit-day {
    width: 29px;
  }
  .habit-day > span {
    width: 29px;
    height: 29px;
  }
  .habits-full .habit-actions {
    position: absolute;
    right: 0;
    top: 23px;
    flex-direction: row;
    gap: 1px;
  }
  .habits-full .checkin {
    padding: 5px 8px;
    font-size: 9px;
    min-height: 30px;
  }
  .habits-full .checkin .icon {
    width: 10px;
  }
  .habits-full .habit-actions .icon-button {
    width: 26px;
    height: 30px;
    padding: 6px;
  }
  .review-layout {
    gap: 19px;
  }
  .review-editor {
    padding: 22px 19px;
  }
  .review-field textarea {
    font-size: 13px;
  }
  .review-field strong {
    font-size: 12px;
  }
  .review-save {
    gap: 12px;
    justify-content: space-between;
  }
  .review-save .muted {
    font-size: 9px;
  }
  .date-selector {
    gap: 7px;
  }
  .date-selector input {
    padding: 7px 9px;
    font-size: 11px;
  }
  .privacy-card {
    padding: 23px 20px;
    flex-direction: column;
    gap: 16px;
  }
  .privacy-card h2 {
    font-size: 17px;
  }
  .privacy-card p {
    font-size: 11px;
  }
  .data-cards {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .data-card {
    padding: 25px;
  }
  .data-overview {
    margin-top: 18px;
  }
  .data-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 0;
  }
  .data-stats > div:nth-child(2) {
    border: 0;
  }
  .data-stats > div {
    padding: 7px;
  }
  .data-stats > div > span {
    width: auto;
  }
  .demo-prompt {
    padding: 21px;
    gap: 18px;
  }
  .demo-prompt p {
    line-height: 1.9;
  }
  .storage-banner {
    margin: 16px 18px 0;
    padding: 13px;
    font-size: 12px;
  }
  .toast {
    left: 50%;
    bottom: 19px;
    font-size: 12px;
  }
  .dialog-heading h2 {
    font-size: 18px;
  }
  dialog {
    padding: 23px;
    max-height: calc(100dvh - 30px);
  }
  .form-row {
    gap: 12px;
  }
  .page-hint {
    font-size: 10px;
  }
  .empty-state {
    padding: 38px 7px;
  }
  .empty-state h3 {
    font-size: 13px;
  }
  .empty-state p {
    font-size: 10px;
  }
}
.reflection-callout {
  align-items: center;
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}
