:root {
  font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  color:#182d32;
  background:#f5f7f8;
  font-synthesis:none;
  --ink:#182d32;
  --muted:#809093;
  --green:#176b5b;
  --green-dark:#154e44;
  --lime:#c5edb3;
  --line:#e9edef;
  --canvas:#f5f7f8;
  --white:#fff;
  --radius:18px;
}
* {
  box-sizing:border-box;
}
body {
  margin:0;
}
button,input,select,textarea {
  font:inherit;
}
button,a,input,select,textarea {
  -webkit-tap-highlight-color:transparent;
}
button,a {
  touch-action:manipulation;
}
button {
  cursor:pointer;
}
button:disabled {
  cursor:wait;
  opacity:.65;
}
a {
  color:inherit;
  text-decoration:none;
}
button,input,select,textarea {
  outline-offset:4px;
}
button:focus-visible,a:focus-visible {
  outline:3px solid #90cbb5;
  outline-offset:4px;
}
svg {
  display:block;
  flex-shrink:0;
}
button svg,a svg {
  width:20px;
  height:20px;
}
img {
  max-width:100%;
}
h1,h2,h3,p {
  margin:0;
}
h1,h2,h3 {
  font-weight:650;
}
button {
  color:inherit;
}
.hidden,[hidden] {
  display:none!important;
}
.visually-hidden {
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0;
}
.app-shell {
  min-height:100vh;
  display:grid;
  grid-template-columns:238px minmax(0,1fr);
}
.sidebar {
  background:#fff;
  border-right:1px solid var(--line);
  padding:38px 25px 24px;
  display:flex;
  flex-direction:column;
  position:fixed;
  inset:0 auto 0 0;
  width:238px;
  z-index:30;
}
.brand {
  display:flex;
  align-items:center;
  gap:11px;
  font-size:23px;
  font-weight:750;
  letter-spacing:-1.1px;
  line-height:1.2;
}
.brand-mark {
  height:38px;
  width:38px;
  border-radius:12px;
  background:var(--green);
  display:grid;
  place-items:center;
  color:#d5f2c2;
}
.brand-mark svg {
  height:23px;
  width:23px;
}
.brand-subtitle {
  display:block;
  font-size:10px;
  font-weight:500;
  letter-spacing:1.4px;
  text-transform:uppercase;
  color:#9aa4a5;
  margin-top:6px;
}
.nav-list {
  display:flex;
  flex-direction:column;
  gap:7px;
  margin-top:53px;
}
.nav-item {
  border:0;
  background:none;
  display:flex;
  align-items:center;
  gap:12px;
  padding:13px 14px;
  font-size:13px;
  font-weight:550;
  color:#798a8d;
  border-radius:10px;
  text-align:left;
  position:relative;
  transition:background .18s,color .18s;
}
.nav-item svg {
  width:19px;
  height:19px;
  stroke-width:1.7;
}
.nav-item:hover {
  background:#f4f7f6;
  color:var(--green);
}
.nav-item.active {
  background:#eaf3ed;
  color:var(--green);
  font-weight:650;
}
.nav-item.active:after {
  content:"";
  position:absolute;
  right:13px;
  width:5px;
  height:5px;
  border-radius:50%;
  background:var(--green);
}
.sidebar-footer {
  margin-top:auto;
  padding-top:26px;
  border-top:1px solid var(--line);
  font-size:12px;
  color:var(--muted);
}
.sidebar-footer p {
  line-height:1.7;
}
.sidebar-footer>div {
  display:flex;
  align-items:center;
  gap:10px;
}
.profile-avatar,.avatar {
  width:35px;
  height:35px;
  border-radius:50%;
  background:#e7eee8;
  color:var(--green);
  display:grid;
  place-items:center;
  font-size:11px;
  font-weight:700;
  flex-shrink:0;
}
.sidebar-footer strong {
  display:block;
  font-size:12px;
  color:var(--ink);
  font-weight:600;
  margin-bottom:3px;
}
.sidebar-footer small {
  font-size:10px;
}
.main {
  grid-column:2;
  padding:0 40px 48px;
  min-width:0;
  max-width:1650px;
  width:100%;
  margin:auto;
}
.topbar {
  height:91px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  border-bottom:1px solid var(--line);
  gap:20px;
  margin-bottom:33px;
}
.breadcrumb {
  display:flex;
  align-items:center;
  gap:10px;
  font-size:12px;
  color:#879396;
}
.breadcrumb strong {
  color:#45585c;
  font-weight:500;
}
.breadcrumb svg {
  width:15px;
  height:15px;
}
.topbar-actions {
  display:flex;
  align-items:center;
  gap:17px;
}
.topbar-actions>span,.topbar-actions>time {
  font-size:11px;
  color:#7e8c8f;
}
.icon-button {
  border:1px solid var(--line);
  border-radius:10px;
  width:35px;
  height:35px;
  display:grid;
  place-items:center;
  background:#fff;
  color:#6f8083;
}
.icon-button:hover {
  border-color:#b4c8bc;
  color:var(--green);
}
.avatar {
  background:#e9e3d6;
  color:#665a48;
  width:34px;
  height:34px;
  border:3px solid white;
  box-shadow:0 0 0 1px #e7ebea;
}
.mobile-menu {
  display:none;
}
.page-heading {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:24px;
  margin:0 0 26px;
}
.page-heading h1 {
  font-size:30px;
  letter-spacing:-1.15px;
  line-height:1.25;
}
.page-heading p {
  font-size:12px;
  color:#849194;
  margin-top:9px;
  line-height:1.7;
}
.eyebrow {
  font-size:10px!important;
  font-weight:600;
  letter-spacing:1.6px;
  text-transform:uppercase;
  color:var(--green)!important;
  margin-bottom:9px;
  margin-top:0!important;
}
.heading-actions {
  display:flex;
  gap:9px;
  align-items:center;
}
.button {
  border:1px solid transparent;
  border-radius:9px;
  min-height:39px;
  padding:10px 15px;
  background:#fff;
  color:var(--ink);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  font-size:11px;
  font-weight:600;
  line-height:1.4;
  white-space:nowrap;
  transition:background .18s,transform .18s,border-color .18s;
}
.button svg {
  width:16px;
  height:16px;
}
.button:hover {
  transform:translateY(-1px);
  background:#edf3ef;
}
.button.primary {
  background:var(--green);
  color:#fff;
  border-color:var(--green);
}
.button.primary:hover {
  background:#105344;
}
.button.secondary {
  background:#fff;
  border-color:#e2e8e6;
  color:#53666a;
}
.button.secondary:hover {
  border-color:#adc7b9;
}
.button.ghost {
  background:transparent;
  color:var(--green);
  padding-left:0;
  padding-right:0;
  min-height:30px;
}
.button.danger {
  color:#b24c3e;
  background:#fff4f0;
  border-color:#f4d8d0;
}
.button.small {
  font-size:10px;
  padding:7px 11px;
  min-height:31px;
}
.demo-banner {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:15px;
  padding:12px 17px;
  background:#f0f4df;
  border:1px solid #e2e9c9;
  border-radius:10px;
  color:#687342;
  font-size:11px;
  line-height:1.6;
  margin-bottom:22px;
}
.demo-banner strong {
  font-weight:650;
}
.demo-banner .button {
  background:transparent;
  color:#54662d;
  border-color:#d0daab;
  min-height:30px;
  padding:6px 10px;
  font-size:10px;
}
.hero-grid {
  display:grid;
  grid-template-columns:minmax(0,1fr);
  gap:20px;
  margin-bottom:21px;
}
.hero-card {
  background:var(--green-dark);
  border-radius:var(--radius);
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:30px 34px;
  min-height:214px;
  overflow:hidden;
  position:relative;
}
.hero-card:after {
  content:"";
  position:absolute;
  width:285px;
  height:285px;
  border:1px solid #ffffff0a;
  border-radius:50%;
  right:-60px;
  top:-85px;
  pointer-events:none;
}
.hero-copy {
  max-width:65%;
  position:relative;
  z-index:1;
}
.hero-kicker {
  font-size:9px;
  font-weight:600;
  letter-spacing:1.6px;
  text-transform:uppercase;
  color:#bddac3;
  margin-bottom:14px;
  display:flex;
  gap:7px;
  align-items:center;
}
.hero-kicker svg {
  width:13px;
  height:13px;
}
.hero-copy h2 {
  font-size:30px;
  font-weight:550;
  line-height:1.3;
  letter-spacing:-.9px;
  max-width:450px;
}
.hero-copy h2 em {
  font-style:normal;
  color:var(--lime);
}
.hero-copy>p {
  font-size:11px;
  color:#b3cdc5;
  line-height:1.8;
  max-width:370px;
  margin-top:13px;
}
.hero-badge {
  display:inline-flex;
  gap:7px;
  align-items:center;
  color:#d4ebcf;
  background:#ffffff0d;
  border:1px solid #ffffff18;
  border-radius:6px;
  padding:6px 9px;
  font-size:9px;
  margin-top:19px;
}
.hero-badge svg {
  height:12px;
  width:12px;
}
.hero-visual {
  display:flex;
  align-items:center;
  justify-content:center;
  position:relative;
  min-width:220px;
  min-height:160px;
  margin-right:15px;
  z-index:1;
}
.hero-visual>svg {
  max-width:270px;
  width:100%;
  height:auto;
}
.hero-ring,.progress-ring {
  --progress:0%;
  --ring-color:var(--lime);
  border-radius:50%;
  background:conic-gradient(var(--ring-color) var(--progress),#ffffff15 0);
  display:grid;
  place-items:center;
  position:relative;
  width:145px;
  height:145px;
  text-align:center;
  padding:10px;
}
.hero-ring:before,.progress-ring:before {
  content:"";
  position:absolute;
  inset:9px;
  background:var(--green-dark);
  border-radius:50%;
}
.hero-ring>* {
  position:relative;
}
.hero-ring strong {
  font-size:31px;
  font-weight:550;
  letter-spacing:-1px;
  display:block;
}
.hero-ring small,.hero-ring span {
  display:block;
  font-size:10px;
  color:#bad5c8;
  margin-top:3px;
}
.stat-grid {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:17px;
  margin:21px 0 25px;
}
.stat-card {
  background:#fff;
  border:1px solid var(--line);
  border-radius:13px;
  padding:20px 20px 18px;
  position:relative;
  min-height:136px;
}
.stat-label {
  font-size:10px;
  color:#809093;
  margin-bottom:15px;
  display:block;
}
.stat-icon {
  position:absolute;
  right:17px;
  top:17px;
  display:grid;
  place-items:center;
  width:29px;
  height:29px;
  border-radius:8px;
  background:#f0f5ef;
  color:#6b9273;
}
.stat-icon svg {
  height:15px;
  width:15px;
}
.stat-card:nth-child(2) .stat-icon {
  color:#b98c5f;
  background:#faf3e9;
}
.stat-card:nth-child(3) .stat-icon {
  color:#9388b7;
  background:#f3f0fa;
}
.stat-card:nth-child(4) .stat-icon {
  color:#60959d;
  background:#ecf5f6;
}
.stat-value {
  font-size:27px;
  letter-spacing:-1px;
  font-weight:650;
  line-height:1.2;
  display:flex;
  gap:5px;
  align-items:baseline;
}
.stat-value small,.stat-value span {
  font-size:11px;
  font-weight:450;
  letter-spacing:0;
  color:#97a2a3;
}
.stat-meta {
  font-size:9px;
  color:#97a2a3;
  margin-top:13px;
  line-height:1.5;
}
.trend {
  font-size:9px;
  color:#839295;
}
.trend.positive {
  color:#518663;
}
.dashboard-grid {
  display:grid;
  grid-template-columns:minmax(0,1.55fr) minmax(280px,1fr);
  gap:22px;
  align-items:start;
}
.panel {
  background:#fff;
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:23px 24px;
  min-width:0;
}
.panel+.panel {
  margin-top:21px;
}
.dashboard-grid>.panel+.panel {
  margin-top:0;
}
.panel-header {
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:13px;
  margin-bottom:20px;
}
.panel-title {
  font-size:14px;
  letter-spacing:-.25px;
  line-height:1.5;
}
.panel-subtitle {
  font-size:10px;
  line-height:1.7;
  color:#93a0a2;
  margin-top:5px;
}
.panel-header .button.ghost {
  font-size:10px;
  min-height:20px;
}
.segmented {
  display:flex;
  border:1px solid #e7ece9;
  background:#f7f9f7;
  padding:3px;
  border-radius:7px;
  gap:1px;
}
.segmented button {
  font-size:9px;
  border:0;
  background:none;
  padding:5px 9px;
  border-radius:4px;
  color:#94a09e;
}
.segmented button.active {
  background:#fff;
  color:var(--green);
  box-shadow:0 1px 3px #1c3e2920;
}
.chart {
  min-height:190px;
  margin-top:28px;
  position:relative;
  padding-left:3px;
}
.chart-columns {
  height:180px;
  display:grid;
  grid-template-columns:repeat(7,minmax(0,1fr));
  gap:14px;
  align-items:end;
  padding:0 10px 25px;
  position:relative;
  background:repeating-linear-gradient(to top,transparent 0,transparent calc(25% - 1px),#eff2f1 calc(25% - 1px),#eff2f1 25%);
  background-size:100% calc(100% - 25px);
  background-repeat:no-repeat;
}
.chart-column {
  height:100%;
  display:flex;
  align-items:center;
  justify-content:flex-end;
  flex-direction:column;
  position:relative;
  min-width:0;
}
.chart-bars {
  height:100%;
  width:100%;
  max-width:40px;
  display:flex;
  align-items:flex-end;
  justify-content:center;
  gap:4px;
}
.chart-bar {
  width:17px;
  min-width:7px;
  border-radius:5px 5px 0 0;
  height:var(--bar-height,0%);
  min-height:0;
  transition:height .3s;
  background:#438b72;
}
.chart-bar.movement {
  background:#38856b;
}
.chart-bar.recovery {
  background:#c8dfb9;
}
.chart-column:hover .chart-bar.movement {
  background:var(--green-dark);
}
.chart-label {
  position:absolute;
  bottom:-22px;
  left:50%;
  transform:translateX(-50%);
  font-size:9px;
  color:#96a29f;
  white-space:nowrap;
}
.chart-legend {
  display:flex;
  justify-content:center;
  align-items:center;
  gap:21px;
  margin-top:23px;
  font-size:9px;
  color:#8a9895;
}
.chart-legend span {
  display:flex;
  gap:6px;
  align-items:center;
}
.legend-dot {
  width:7px;
  height:7px;
  background:#38856b;
  border-radius:2px;
  display:inline-block;
}
.legend-dot.recovery {
  background:#c8dfb9;
}
.month-weekdays,.month-grid {
  display:grid;
  grid-template-columns:repeat(7,minmax(0,1fr));
  gap:10px 5px;
}
.month-weekdays {
  font-size:8px;
  color:#9caaa5;
  text-align:center;
  margin:19px 0 14px;
}
.month-day {
  min-width:0;
  text-align:center;
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  border:0;
  background:transparent;
  padding:0;
  color:#8e9b96;
  aspect-ratio:1;
  font-size:9px;
}
.month-ring {
  --ring-color:#5a9271;
  position:relative;
  border-radius:50%;
  width:29px;
  height:29px;
  display:grid;
  place-items:center;
  background:conic-gradient(var(--ring-color) var(--progress),#edf1ec 0);
  margin:auto;
}
.month-ring:before {
  content:"";
  position:absolute;
  inset:3px;
  border-radius:50%;
  background:#fff;
}
.month-date {
  position:relative;
  z-index:1;
  font-size:8px;
  color:#8b9992;
}
.month-day.active .month-date {
  color:#477457;
  font-weight:650;
}
.month-day.today .month-ring {
  box-shadow:0 0 0 2px #fff,0 0 0 3px #4d896a;
}
.month-day.today .month-date {
  color:#2c6950;
  font-weight:750;
}
.month-day.muted {
  opacity:.25;
}
.month-legend {
  display:flex;
  justify-content:space-between;
  align-items:center;
  border-top:1px solid #f0f3f0;
  margin-top:20px;
  padding-top:14px;
  font-size:9px;
  color:#9aa59d;
}
.month-legend strong {
  color:#65836b;
  font-weight:550;
}
.month-legend .legend-dot {
  background:#84ad75;
  border-radius:50%;
  margin-right:4px;
  width:5px;
  height:5px;
}
.compact-calendar .month-grid {
  gap:6px;
}
.compact-calendar .month-ring {
  width:27px;
  height:27px;
}
.activity-list {
  display:flex;
  flex-direction:column;
}
.activity-row {
  display:flex;
  align-items:center;
  gap:13px;
  padding:15px 0;
  border-bottom:1px solid #f0f2f1;
  min-width:0;
}
.activity-row:first-child {
  padding-top:2px;
}
.activity-row:last-child {
  border-bottom:0;
  padding-bottom:1px;
}
.activity-icon {
  width:38px;
  height:38px;
  display:grid;
  place-items:center;
  border-radius:11px;
  color:var(--activity-color,#4d8068);
  background:var(--activity-bg,#eef5ed);
  flex-shrink:0;
}
.activity-icon svg {
  width:18px;
  height:18px;
  stroke-width:1.6;
}
.activity-main {
  flex:1;
  min-width:0;
}
.activity-title {
  font-size:11px;
  font-weight:600;
  line-height:1.5;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.activity-subtitle {
  color:#9aa5a5;
  font-size:9px;
  line-height:1.6;
  margin-top:3px;
}
.activity-right {
  text-align:right;
  flex-shrink:0;
}
.activity-duration {
  font-size:11px;
  font-weight:650;
  color:#4e6466;
  display:block;
}
.activity-right .tag {
  margin-top:5px;
}
.activity-actions {
  display:flex;
  align-items:center;
  gap:7px;
  margin-left:5px;
}
.activity-actions .icon-button {
  width:28px;
  height:28px;
  border-color:transparent;
  background:transparent;
  color:#acb6b5;
}
.activity-actions .icon-button svg {
  width:14px;
  height:14px;
}
.activity-actions .icon-button:hover {
  color:#a44d3f;
  background:#fcf0ec;
}
.tag {
  display:inline-flex;
  align-items:center;
  gap:4px;
  border-radius:4px;
  background:#f0f5ed;
  color:#729169;
  font-size:8px;
  font-weight:500;
  padding:3px 6px;
  white-space:nowrap;
}
.empty-state {
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  min-height:170px;
  padding:25px 18px;
  color:#8d9a98;
  font-size:11px;
  line-height:1.8;
}
.empty-state>svg {
  width:30px;
  height:30px;
  margin-bottom:13px;
  color:#a7bbac;
  stroke-width:1.3;
}
.empty-state h3 {
  color:#526a60;
  font-size:13px;
  font-weight:550;
  margin-bottom:6px;
}
.empty-state .button {
  margin-top:16px;
}
.insights-list {
  display:grid;
  gap:10px;
}
.insight-card {
  display:flex;
  align-items:flex-start;
  gap:11px;
  padding:13px 14px;
  background:#f7f8f3;
  border:1px solid #eef1e5;
  border-radius:10px;
  font-size:10px;
  line-height:1.8;
  color:#7d8b76;
}
.insight-card p {
  line-height:1.8;
}
.insight-card strong {
  color:#4c6551;
  font-weight:600;
}
.insight-icon {
  width:23px;
  height:23px;
  display:grid;
  place-items:center;
  flex-shrink:0;
  color:#8aa56e;
  background:#eef1df;
  border-radius:7px;
}
.insight-icon svg {
  width:13px;
  height:13px;
}
.section-header {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  margin:26px 0 16px;
}
.section-header h2 {
  font-size:16px;
  letter-spacing:-.3px;
}
.section-header p {
  font-size:10px;
  color:#98a2a1;
  margin-top:6px;
}
.filter-row,.view-tabs {
  display:flex;
  gap:7px;
  align-items:center;
  flex-wrap:wrap;
  margin-bottom:24px;
}
.filter-chip {
  border:1px solid #e2e9e5;
  padding:8px 12px;
  border-radius:7px;
  background:#fff;
  color:#8a9991;
  font-size:10px;
  display:inline-flex;
  align-items:center;
  gap:6px;
}
.filter-chip svg {
  width:13px;
  height:13px;
}
.filter-chip:hover {
  border-color:#9bb9a5;
}
.filter-chip.active {
  background:#eaf2e9;
  border-color:#d5e4d3;
  color:#426c4f;
  font-weight:600;
}
.timeline {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:21px;
  align-items:start;
}
.timeline-card {
  border:1px solid var(--line);
  border-radius:15px;
  background:#fff;
  overflow:hidden;
  min-width:0;
}
.timeline-photo {
  width:100%;
  height:200px;
  object-fit:cover;
  display:block;
  background:#e7eee7;
}
.timeline-photo img {
  width:100%;
  height:100%;
  object-fit:cover;
}
.photo-empty {
  width:100%;
  height:150px;
  display:flex;
  align-items:center;
  justify-content:center;
  flex-direction:column;
  gap:10px;
  background:linear-gradient(140deg,#ebf0e9,#f7f6ef);
  color:#9aae99;
}
.photo-empty svg {
  width:32px;
  height:32px;
  stroke-width:1.3;
}
.photo-empty span {
  font-size:10px;
}
.timeline-date {
  font-size:8px;
  letter-spacing:1px;
  text-transform:uppercase;
  color:#91a185;
  margin-bottom:11px;
}
.timeline-body {
  padding:20px;
}
.timeline-body h3 {
  font-size:14px;
  line-height:1.5;
  letter-spacing:-.2px;
}
.timeline-body p {
  font-size:11px;
  line-height:1.8;
  color:#8a9790;
  margin-top:9px;
  overflow-wrap:anywhere;
}
.timeline-body .tag {
  margin-top:15px;
}
.timeline-body .activity-actions {
  justify-content:flex-end;
  margin-top:10px;
}
.module-grid {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:18px;
}
.module-card {
  display:flex;
  align-items:flex-start;
  gap:14px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:14px;
  padding:23px;
}
.module-card>div:not(.switch):not(.activity-icon) {
  flex:1;
}
.module-card h3 {
  font-size:13px;
  margin-bottom:7px;
}
.module-card p {
  font-size:10px;
  line-height:1.8;
  color:#92a099;
}
.module-card .switch {
  margin-left:auto;
}
.switch {
  display:inline-flex;
  position:relative;
  flex-shrink:0;
  width:35px;
  height:20px;
  cursor:pointer;
}
.switch-input {
  position:absolute;
  opacity:0;
  width:1px;
  height:1px;
}
.switch:has(input) {
  width:36px;
  height:21px;
}
.switch>span,.switch:before {
  position:absolute;
  inset:0;
  background:#dde5df;
  border-radius:15px;
  transition:background .2s;
}
.switch:before {
  content:"";
}
.switch>span:after,.switch:after {
  content:"";
  position:absolute;
  top:3px;
  left:3px;
  width:15px;
  height:15px;
  background:#fff;
  border-radius:50%;
  box-shadow:0 1px 3px #0a36231a;
  transition:transform .2s;
}
.switch:has(input:checked):before,.switch:has(input:checked)>span {
  background:var(--green);
}
.switch:has(input:checked):after,.switch-input:checked+span:after {
  transform:translateX(15px);
}
.switch:has(input:focus-visible) {
  outline:3px solid #a9c6b4;
  outline-offset:4px;
  border-radius:20px;
}
.switch>span:after {
  display:none;
}
.settings-layout {
  display:grid;
  grid-template-columns:minmax(0,1.5fr) minmax(260px,1fr);
  gap:22px;
  align-items:start;
}
.settings-form .form-grid {
  margin-bottom:22px;
}
.form-grid {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:17px;
}
.form-field {
  display:flex;
  flex-direction:column;
  gap:8px;
  min-width:0;
}
.form-field.full,.form-grid>.full {
  grid-column:1/-1;
}
.form-field>label,.form-field>span {
  font-size:11px;
  color:#506b60;
  font-weight:550;
}
.form-field input,.form-field select,.form-field textarea {
  width:100%;
  min-width:0;
  border:1px solid #dce5df;
  background:#fff;
  color:#314b40;
  border-radius:8px;
  padding:11px 12px;
  font-size:12px;
  line-height:1.5;
  transition:border-color .2s,box-shadow .2s;
  outline:0;
}
.form-field input:focus,.form-field select:focus,.form-field textarea:focus {
  border-color:#78a68a;
  box-shadow:0 0 0 3px #c2dbc344;
}
.form-field input::placeholder,.form-field textarea::placeholder {
  color:#b2bcb7;
}
.form-field textarea {
  min-height:95px;
  resize:vertical;
}
.form-field input[type=file] {
  font-size:10px;
  padding:10px;
}
.form-hint {
  font-size:9px;
  color:#9ca9a1;
  line-height:1.7;
}
.form-error {
  font-size:11px;
  color:#ac5d47;
  line-height:1.7;
  white-space:pre-line;
}
.form-error:not(:empty) {
  background:#fff5ee;
  border:1px solid #f1ded3;
  border-radius:8px;
  padding:11px 13px;
  margin:15px 0;
}
.form-notice {
  padding:13px 15px;
  background:#f3f6ee;
  border:1px solid #e7eddf;
  border-radius:9px;
  font-size:10px;
  line-height:1.9;
  color:#839177;
  margin:20px 0;
}
.form-actions {
  display:flex;
  justify-content:flex-end;
  gap:10px;
  align-items:center;
  margin-top:24px;
  padding-top:20px;
  border-top:1px solid var(--line);
}
.goal-card {
  padding:18px 0;
  border-bottom:1px solid #edf0eb;
}
.goal-card:first-child {
  padding-top:0;
}
.goal-card:last-child {
  border-bottom:0;
  padding-bottom:0;
}
.goal-card h3 {
  font-size:12px;
  font-weight:550;
}
.goal-card p {
  font-size:10px;
  color:#94a18f;
  margin-top:5px;
  line-height:1.7;
}
.goal-progress {
  display:flex;
  justify-content:space-between;
  gap:10px;
  font-size:9px;
  color:#8a9982;
  margin:13px 0 8px;
}
.goal-progress strong {
  font-weight:600;
  color:#66825a;
}
.progress-track {
  height:6px;
  background:#eef2e9;
  border-radius:3px;
  overflow:hidden;
}
.progress-fill {
  height:100%;
  width:var(--progress,0%);
  background:#83aa69;
  border-radius:3px;
  max-width:100%;
  transition:width .2s;
}
.summary-chips {
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:18px;
}
.summary-chips>span {
  font-size:9px;
  color:#769166;
  border:1px solid #e0e9d8;
  border-radius:6px;
  padding:7px 10px;
  background:#f8faf5;
}
.toast {
  position:fixed;
  bottom:24px;
  left:calc(50% + 119px);
  transform:translateX(-50%);
  z-index:100;
  border-radius:10px;
  padding:12px 18px;
  background:#214d3f;
  color:#fff;
  box-shadow:0 6px 24px #193a3426;
  font-size:12px;
  line-height:1.7;
  max-width:calc(100vw - 40px);
  text-align:center;
}
.dialog {
  border:1px solid #e8ece8;
  border-radius:20px;
  padding:0;
  width:min(570px,calc(100vw - 28px));
  max-height:90vh;
  color:var(--ink);
  background:#fff;
  box-shadow:0 25px 100px #13372b33;
  overflow:auto;
}
.dialog::backdrop {
  background:#15332a55;
  backdrop-filter:blur(4px);
}
.dialog-header {
  padding:24px 27px 20px;
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:20px;
  border-bottom:1px solid var(--line);
}
.dialog-header h2 {
  font-size:20px;
  letter-spacing:-.5px;
}
.dialog-header p {
  font-size:10px;
  color:#97a499;
  margin-top:7px;
  line-height:1.7;
}
.dialog-close {
  border:0;
  background:#f4f6f1;
  width:28px;
  height:28px;
  border-radius:7px;
  display:grid;
  place-items:center;
  color:#93a18e;
  flex-shrink:0;
}
.dialog-close svg {
  width:15px;
  height:15px;
}
.dialog-body {
  padding:23px 27px 26px;
}
.dialog .form-actions {
  margin-top:22px;
}
.photo-preview {
  height:150px;
  max-width:100%;
  object-fit:cover;
  border-radius:10px;
  margin-top:12px;
}
.file-drop {
  padding:17px;
  border:1px dashed #d6e2d0;
  border-radius:10px;
  background:#fafbf7;
  font-size:10px;
  color:#91a384;
  text-align:center;
}
.file-drop input {
  padding:0;
  border:0;
  background:transparent;
}
.mood-options {
  display:flex;
  gap:7px;
}
.mood-option {
  position:relative;
  display:grid;
  place-items:center;
  min-width:36px;
  height:35px;
  border:1px solid #e1e9dc;
  border-radius:8px;
  background:#fff;
  color:#97a98d;
  font-size:18px;
  cursor:pointer;
}
.mood-option input {
  position:absolute;
  opacity:0;
  pointer-events:none;
}
.mood-option:has(input:checked),.mood-option.active {
  background:#edf4e6;
  border-color:#8ab174;
  color:#477137;
}
.mood-option:has(input:focus-visible) {
  outline:2px solid #84ae71;
  outline-offset:3px;
}
.view {
  animation:view-in .2s ease-out;
}
@keyframes view-in {
  from {
    opacity:.6;
    transform:translateY(4px);
  }
  to {
    opacity:1;
    transform:translateY(0);
  }
}
@media(min-width:1450px) {
  .main {
    padding-left:55px;
    padding-right:55px;
  }
  .hero-card {
    min-height:233px;
    padding:33px 39px;
  }
  .hero-copy h2 {
    font-size:34px;
  }
  .hero-visual {
    margin-right:40px;
  }
  .chart-columns {
    height:210px;
  }
  .stat-card {
    padding:23px;
  }
  .panel {
    padding:26px 27px;
  }
  .month-grid {
    gap:12px 7px;
  }
  .month-ring {
    width:34px;
    height:34px;
  }
  .month-date {
    font-size:9px;
  }
  .month-weekdays {
    margin-bottom:16px;
  }
}
@media(max-width:1150px) {
  .app-shell {
    grid-template-columns:205px minmax(0,1fr);
  }
  .sidebar {
    width:205px;
    padding-left:18px;
    padding-right:18px;
  }
  .main {
    padding:0 25px 40px;
  }
  .brand {
    font-size:21px;
  }
  .brand-mark {
    width:34px;
    height:34px;
  }
  .dashboard-grid {
    grid-template-columns:minmax(0,1.3fr) minmax(260px,1fr);
    gap:17px;
  }
  .panel {
    padding:20px;
  }
  .stat-grid {
    gap:12px;
  }
  .stat-card {
    padding:17px 14px;
  }
  .stat-icon {
    right:12px;
    width:25px;
    height:25px;
  }
  .stat-label {
    font-size:9px;
  }
  .stat-value {
    font-size:24px;
  }
  .hero-card {
    padding:27px;
  }
  .hero-copy h2 {
    font-size:27px;
  }
  .hero-visual {
    min-width:180px;
    margin-right:0;
  }
  .hero-ring {
    width:125px;
    height:125px;
  }
  .hero-copy {
    max-width:63%;
  }
  .chart-columns {
    gap:9px;
    padding-left:2px;
    padding-right:2px;
  }
  .timeline {
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .toast {
    left:calc(50% + 102px);
  }
  .settings-layout {
    grid-template-columns:1fr;
  }
  .module-card {
    padding:20px;
  }
  .activity-row {
    gap:10px;
  }
  .activity-icon {
    width:34px;
    height:34px;
  }
  .month-ring {
    width:27px;
    height:27px;
  }
}
@media(max-width:960px) {
  .app-shell {
    grid-template-columns:180px minmax(0,1fr);
  }
  .sidebar {
    width:180px;
    padding-left:14px;
    padding-right:14px;
  }
  .brand {
    font-size:19px;
    gap:8px;
  }
  .brand-mark {
    width:31px;
    height:31px;
    border-radius:10px;
  }
  .brand-subtitle {
    font-size:8px;
    letter-spacing:1px;
  }
  .nav-item {
    font-size:11px;
    gap:10px;
    padding:12px;
  }
  .nav-item.active:after {
    right:8px;
  }
  .main {
    padding-left:22px;
    padding-right:22px;
  }
  .topbar {
    height:78px;
    margin-bottom:25px;
  }
  .topbar-actions {
    gap:12px;
  }
  .page-heading h1 {
    font-size:26px;
  }
  .heading-actions .button {
    padding:9px 11px;
    font-size:10px;
  }
  .stat-grid {
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:13px;
  }
  .stat-card {
    min-height:125px;
    padding:18px;
  }
  .stat-value {
    font-size:26px;
  }
  .stat-icon {
    right:17px;
    top:16px;
  }
  .stat-label {
    font-size:10px;
  }
  .dashboard-grid {
    grid-template-columns:1fr;
  }
  .dashboard-grid>.panel,.dashboard-grid>div {
    min-width:0;
  }
  .dashboard-grid>.panel+.panel {
    margin-top:0;
  }
  .hero-visual {
    min-width:135px;
  }
  .hero-ring {
    width:110px;
    height:110px;
  }
  .hero-ring strong {
    font-size:27px;
  }
  .hero-copy h2 {
    font-size:24px;
  }
  .hero-copy>p {
    font-size:10px;
  }
  .hero-copy {
    max-width:67%;
  }
  .hero-card {
    padding:25px;
    min-height:204px;
  }
  .month-grid {
    gap:7px;
  }
  .month-ring {
    width:33px;
    height:33px;
  }
  .month-date {
    font-size:9px;
  }
  .month-day {
    aspect-ratio:auto;
    min-height:34px;
  }
  .module-grid {
    grid-template-columns:1fr;
  }
  .toast {
    left:calc(50% + 90px);
  }
}
@media(max-width:700px) {
  .app-shell {
    display:block;
  }
  .sidebar {
    position:fixed;
    inset:auto 0 0;
    width:100%;
    height:66px;
    padding:0;
    background:#fff;
    flex-direction:row;
    border-right:0;
    border-top:1px solid #e7ece7;
    box-shadow:0 -5px 20px #29403305;
    z-index:40;
  }
  .sidebar>.brand,.sidebar-footer {
    display:none;
  }
  .nav-list {
    margin:0;
    display:flex;
    flex-direction:row;
    align-items:stretch;
    width:100%;
    justify-content:space-around;
    gap:0;
    padding:0 4px;
  }
  .nav-item {
    flex:1;
    flex-direction:column;
    justify-content:center;
    gap:5px;
    padding:7px 2px;
    font-size:8px;
    border-radius:0;
    background:#fff;
    max-width:100px;
    min-width:0;
  }
  .nav-item svg {
    width:18px;
    height:18px;
  }
  .nav-item.active {
    background:transparent;
    color:var(--green);
  }
  .nav-item.active:after {
    inset:0 auto auto 50%;
    transform:translateX(-50%);
    width:22px;
    height:3px;
    border-radius:0 0 4px 4px;
  }
  .nav-item:hover {
    background:#f8faf6;
  }
  .main {
    padding:0 20px 94px;
  }
  .topbar {
    height:68px;
    margin-bottom:24px;
  }
  .breadcrumb {
    font-size:11px;
  }
  .breadcrumb strong {
    font-size:13px;
    font-weight:650;
    color:var(--green);
  }
  .topbar-actions>span,.topbar-actions>time {
    display:none;
  }
  .topbar-actions {
    gap:11px;
  }
  .topbar-actions .icon-button {
    width:30px;
    height:30px;
  }
  .topbar-actions .icon-button svg {
    width:16px;
    height:16px;
  }
  .avatar {
    width:30px;
    height:30px;
    font-size:9px;
  }
  .page-heading {
    align-items:flex-start;
    gap:10px;
    margin-bottom:23px;
  }
  .page-heading h1 {
    font-size:27px;
    letter-spacing:-.85px;
  }
  .page-heading p {
    font-size:11px;
    max-width:260px;
    line-height:1.8;
    margin-top:8px;
  }
  .eyebrow {
    font-size:9px!important;
    letter-spacing:1.3px;
    margin-bottom:7px;
  }
  .heading-actions {
    gap:6px;
    align-self:center;
  }
  .heading-actions .button.secondary {
    display:none;
  }
  .heading-actions .button.primary {
    padding:10px 12px;
    font-size:10px;
    min-height:36px;
  }
  .heading-actions .button.primary svg {
    width:14px;
    height:14px;
  }
  .hero-card {
    padding:24px 23px;
    min-height:221px;
    border-radius:15px;
    align-items:center;
  }
  .hero-copy {
    max-width:67%;
  }
  .hero-copy h2 {
    font-size:25px;
    line-height:1.3;
    letter-spacing:-.7px;
  }
  .hero-copy>p {
    font-size:10px;
    line-height:1.8;
    margin-top:12px;
  }
  .hero-kicker {
    font-size:8px;
    letter-spacing:1.3px;
    margin-bottom:13px;
  }
  .hero-badge {
    font-size:8px;
    padding:5px 7px;
    margin-top:16px;
  }
  .hero-visual {
    min-width:95px;
    min-height:130px;
    width:30%;
    margin-right:-4px;
  }
  .hero-ring {
    width:97px;
    height:97px;
    padding:8px;
  }
  .hero-ring:before {
    inset:7px;
  }
  .hero-ring strong {
    font-size:24px;
  }
  .hero-ring small,.hero-ring span {
    font-size:8px;
  }
  .stat-grid {
    gap:12px;
    margin:15px 0 21px;
  }
  .stat-card {
    padding:17px 17px 15px;
    min-height:130px;
    border-radius:12px;
  }
  .stat-value {
    font-size:27px;
  }
  .stat-icon {
    right:14px;
    top:13px;
  }
  .stat-label {
    font-size:9px;
    margin-bottom:15px;
  }
  .stat-meta {
    font-size:8px;
    margin-top:12px;
  }
  .dashboard-grid {
    gap:18px;
  }
  .panel {
    padding:21px 20px;
    border-radius:15px;
  }
  .panel+.panel {
    margin-top:18px;
  }
  .panel-title {
    font-size:14px;
  }
  .panel-subtitle {
    font-size:9px;
  }
  .panel-header {
    gap:10px;
    margin-bottom:18px;
  }
  .segmented button {
    font-size:8px;
    padding:5px 7px;
  }
  .chart {
    min-height:177px;
    margin-top:24px;
  }
  .chart-columns {
    height:165px;
    gap:13px;
    padding-left:5px;
    padding-right:5px;
  }
  .chart-bar {
    width:16px;
  }
  .chart-label {
    font-size:8px;
  }
  .chart-legend {
    font-size:8px;
    gap:17px;
    margin-top:20px;
  }
  .month-ring {
    width:32px;
    height:32px;
  }
  .month-date {
    font-size:9px;
  }
  .month-weekdays {
    font-size:9px;
  }
  .month-grid {
    gap:9px 5px;
  }
  .month-legend {
    margin-top:18px;
    font-size:8px;
  }
  .activity-row {
    padding:15px 0;
    gap:12px;
  }
  .activity-icon {
    width:37px;
    height:37px;
  }
  .activity-title {
    font-size:11px;
  }
  .activity-subtitle {
    font-size:9px;
  }
  .activity-actions {
    gap:0;
    margin-left:0;
  }
  .activity-actions .icon-button {
    width:23px;
    height:27px;
  }
  .activity-duration {
    font-size:10px;
  }
  .activity-right .tag {
    font-size:7px;
  }
  .insight-card {
    font-size:10px;
    padding:13px;
  }
  .demo-banner {
    font-size:10px;
    align-items:flex-start;
    padding:11px 13px;
    gap:10px;
  }
  .demo-banner .button {
    font-size:9px;
    flex-shrink:0;
    padding:6px 8px;
  }
  .timeline {
    grid-template-columns:1fr;
    gap:18px;
  }
  .timeline-photo {
    height:230px;
  }
  .timeline-body {
    padding:21px;
  }
  .timeline-body h3 {
    font-size:15px;
  }
  .timeline-body p {
    font-size:12px;
  }
  .timeline-date {
    font-size:9px;
  }
  .module-grid {
    gap:13px;
  }
  .module-card {
    padding:20px;
    gap:12px;
  }
  .module-card h3 {
    font-size:13px;
  }
  .module-card p {
    font-size:11px;
  }
  .form-grid {
    gap:16px 13px;
  }
  .form-field>label,.form-field>span {
    font-size:10px;
  }
  .form-field input,.form-field select,.form-field textarea {
    font-size:16px;
    padding:10px;
    min-height:44px;
  }
  .form-hint {
    font-size:9px;
  }
  .dialog {
    max-height:91vh;
    border-radius:17px;
  }
  .dialog-header {
    padding:22px 20px 18px;
  }
  .dialog-header h2 {
    font-size:21px;
  }
  .dialog-header p {
    font-size:10px;
  }
  .dialog-body {
    padding:20px;
  }
  .dialog .form-grid {
    gap:16px 13px;
  }
  .dialog .form-actions {
    position:sticky;
    bottom:-20px;
    background:#fff;
    padding:16px 0 20px;
    margin-bottom:-20px;
    z-index:1;
  }
  .form-actions .button {
    min-height:42px;
  }
  .file-drop input {
    font-size:11px;
  }
  .mood-options {
    gap:6px;
  }
  .mood-option {
    min-width:34px;
    height:35px;
  }
  .settings-layout {
    gap:18px;
  }
  .section-header h2 {
    font-size:15px;
  }
  .section-header p {
    font-size:10px;
  }
  .section-header {
    gap:12px;
  }
  .filter-row {
    gap:7px;
    margin-bottom:18px;
  }
  .filter-chip {
    font-size:9px;
    padding:8px 10px;
  }
  .toast {
    left:50%;
    bottom:81px;
    font-size:11px;
    max-width:calc(100vw - 30px);
    width:max-content;
  }
  .goal-card h3 {
    font-size:12px;
  }
  .summary-chips {
    gap:6px;
  }
  .summary-chips>span {
    font-size:9px;
  }
  .form-notice {
    font-size:10px;
  }
  .settings-form .button {
    width:100%;
  }
  .empty-state {
    font-size:11px;
  }
}
@media(max-width:370px) {
  .main {
    padding-left:15px;
    padding-right:15px;
  }
  .hero-card {
    padding:22px 18px;
  }
  .hero-copy h2 {
    font-size:23px;
  }
  .hero-visual {
    min-width:80px;
  }
  .hero-ring {
    width:83px;
    height:83px;
  }
  .hero-ring strong {
    font-size:20px;
  }
  .hero-copy {
    max-width:69%;
  }
  .hero-copy>p {
    font-size:9px;
  }
  .stat-card {
    padding-left:14px;
    padding-right:14px;
  }
  .stat-label {
    font-size:8px;
  }
  .stat-icon {
    right:11px;
    top:12px;
    width:23px;
    height:23px;
  }
  .stat-value {
    font-size:25px;
  }
  .page-heading h1 {
    font-size:24px;
  }
  .heading-actions .button.primary {
    padding:9px 10px;
    font-size:9px;
  }
  .panel {
    padding:19px 16px;
  }
  .month-ring {
    width:29px;
    height:29px;
  }
  .chart-columns {
    gap:9px;
  }
  .form-grid {
    grid-template-columns:1fr;
  }
  .form-field.full,.form-grid>.full {
    grid-column:auto;
  }
  .module-card {
    padding:17px;
  }
  .activity-row {
    gap:9px;
  }
  .activity-title {
    font-size:10px;
  }
  .activity-subtitle {
    font-size:8px;
  }
}
@media(prefers-reduced-motion:reduce) {
  *,*:before,*:after {
    animation:none!important;
    transition:none!important;
    scroll-behavior:auto!important;
  }
}

/* Application layout and live component markup. */
.brand { font-size: 22px; }
.brand > span:last-child { min-width: 0; }
.brand-subtitle { white-space: nowrap; font-size: 8px; letter-spacing: .9px; }
.sidebar-label { margin-top: 42px !important; margin-bottom: 0; padding-left: 13px; font-size: 9px !important; }
.nav-list { margin-top: 17px; }
.nav-item { font-size: 12px; }
.nav-count { margin-left: auto; font-size: 10px; opacity: .65; }
.nav-item.active:has(.nav-count):after { display: none; }
.sidebar-footer { border-top: 0; padding-top: 20px; }
.sidebar-footer .sidebar-note { display: block; padding: 17px 13px 16px; border: 1px solid #e8eee5; border-radius: 11px; background: #f8faf5; margin-bottom: 19px; }
.sidebar-note .tag { font-size: 7px; padding: 0; background: none; letter-spacing: .7px; }
.sidebar-note p { font-size: 11px; margin-top: 12px; color: #8b9b89; line-height: 1.9; }
.sidebar-note > svg { width: 100%; height: 32px; margin-top: 13px; }
.sidebar-footer > .nav-item { font-size: 11px; width: 100%; padding: 10px 12px; }
.sidebar-profile { margin-top: 18px; padding-top: 17px; border-top: 1px solid var(--line); }
.sidebar-profile small { font-size: 9px; line-height: 1.5; display: block; }
.privacy-label { display: inline-flex; align-items: center; gap: 6px; }
.privacy-label svg { width: 15px; height: 15px; }
.hero-grid { grid-template-columns: minmax(0, 2.05fr) minmax(230px, 1fr); gap: 20px; }
.hero-card { min-height: 252px; padding: 30px; }
.hero-copy { max-width: 66%; }
.hero-copy h2 { font-size: 32px; line-height: 1.23; }
.hero-copy > p { font-size: 11px; line-height: 1.9; }
.hero-button { background: #c5edb3; color: #234e3a; margin-top: 19px; padding: 9px 12px; font-size: 10px; min-height: 34px; }
.hero-button:hover { background: #ddf5d2; }
.hero-visual { flex-direction: column; min-width: 155px; width: 38%; margin: -2px -12px 0 -10px; }
.hero-visual > svg { max-width: 210px; min-width: 140px; }
.hero-visual .hero-badge { font-size: 7px; margin-top: -8px; letter-spacing: 0; white-space: nowrap; padding: 5px 7px; }
.hero-grid > .goal-card { border: 1px solid var(--line); background: #fff; border-radius: var(--radius); margin: 0; padding: 24px 20px 18px; display: flex; align-items: center; justify-content: center; text-align: center; min-width: 0; }
.hero-grid > .goal-card > div { width: 100%; }
.hero-grid > .goal-card .eyebrow { display: block; font-size: 9px !important; letter-spacing: 1.2px; margin-bottom: 17px; }
.progress-ring { --ring-color: #6b9d70; width: 119px; height: 119px; margin: 0 auto; background: conic-gradient(var(--ring-color) var(--progress, 0%), #edf2e8 0); padding: 8px; }
.progress-ring:before { inset: 8px; background: #fff; }
.progress-ring > div { position: relative; z-index: 1; }
.progress-ring strong { display: block; color: #294d3c; font-size: 29px; font-weight: 650; letter-spacing: -1px; line-height: 1.1; }
.progress-ring strong span { font-size: 14px; margin-left: 2px; font-weight: 450; }
.progress-ring small { display: block; color: #94a18d; font-size: 10px; margin-top: 6px; }
.hero-grid > .goal-card p { font-size: 11px; color: #98a28f; margin-top: 13px; }
.hero-grid > .goal-card p strong { color: #6a885e; font-weight: 600; }
.hero-grid > .goal-card .button { margin-top: 7px; font-size: 10px; }
.stat-grid { margin: 20px 0 23px; }
.stat-card { padding: 19px 20px; min-height: 132px; }
.stat-top { display: flex; align-items: center; gap: 8px; margin-bottom: 15px; }
.stat-top .stat-icon { position: static; width: 26px; height: 26px; border-radius: 7px; }
.stat-top .stat-label { margin: 0; font-size: 11px; }
.stat-value { font-size: 29px; }
.stat-meta { font-size: 10px; margin-top: 10px; }
.dashboard-grid + .dashboard-grid { margin-top: 22px; }
.dashboard-grid + .panel { margin-top: 22px; }
.dashboard-grid { align-items: stretch; }
.panel-title { font-size: 15px; }
.panel-subtitle { font-size: 11px; }
.panel-header > .icon { width: 19px; height: 19px; color: #738882; }
.chart { margin-top: 25px; }
.chart-columns { height: 193px; }
.chart-total { font-size: 10px; color: #70867a; margin-bottom: 6px; height: 14px; }
.chart-column { justify-content: flex-end; }
.chart-bars { min-height: 0; }
.chart-label { font-size: 10px; }
.chart-label.is-today { color: #377857; font-weight: 650; }
.chart-legend { font-size: 10px; margin-top: 23px; }
.chart-unit { font-size: 9px; color: #a1aea6; }
.month-weekdays { margin: 15px 0 11px; font-size: 9px; }
.month-grid { gap: 5px; }
.month-day { aspect-ratio: auto; min-height: 28px; }
.month-ring { background: conic-gradient(var(--ring-color, #6d9d6e) var(--progress, 0%), #edf1ec 0); }
.month-date { font-size: 9px; }
.month-legend { font-size: 9px; margin-top: 15px; padding-top: 12px; }
.activity-title, .activity-subtitle { display: block; }
.activity-title { font-size: 12px; }
.activity-subtitle { font-size: 10px; }
.activity-duration { font-size: 12px; }
.activity-duration small { font-size: 10px; font-weight: 450; }
.activity-row > .icon-button { width: 28px; height: 28px; background: transparent; border-color: transparent; color: #9eaaa1; }
.activity-row > .icon-button:hover { background: #fff0e9; color: #b45b43; }
.activity-row > .icon-button svg { width: 14px; height: 14px; }
.insight-card { font-size: 11px; line-height: 1.8; }
.insights-list + .form-hint { display: block; margin-top: 11px; font-size: 9px; line-height: 1.7; }
.module-card { display: flex; flex-direction: column; gap: 0; padding: 24px; }
.module-card > .panel-header { width: 100%; margin-bottom: 20px; align-items: center; }
.module-card > .panel-header .stat-icon { position: static; width: 35px; height: 35px; }
.module-card h2 { font-size: 17px; margin-bottom: 9px; }
.module-card p { font-size: 12px; line-height: 1.8; margin-bottom: 19px; }
.module-card > .tag { margin-top: auto; }
.form-notice > .icon { display: inline-block; vertical-align: middle; margin-right: 8px; width: 15px; height: 15px; }
.timeline-card > .timeline-date { margin: 0; padding: 15px 20px; border-bottom: 1px solid var(--line); }
.timeline-body h2 { font-size: 17px; margin-top: 11px; line-height: 1.5; }
.timeline-body > .tag { margin-top: 0; }
.timeline-body .form-hint { display: block; margin-top: 14px; font-size: 10px; }
.settings-copy { font-size: 12px; line-height: 1.9; color: #85958b; }
.export-buttons { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; margin: 20px 0; }
.export-buttons .button { white-space: normal; text-align: left; font-size: 11px; }
.breakdown-row { display: grid; grid-template-columns: 130px minmax(0, 1fr) 70px 30px; gap: 16px; align-items: center; padding: 14px 0; font-size: 12px; color: #758f7e; }
.breakdown-row strong { color: #4a6d56; font-size: 11px; text-align: right; }
.breakdown-row small { color: #9aab9c; font-size: 10px; }
.form-field { font-size: 11px; color: #5f7768; font-weight: 500; }
.dialog-body > .form-field, #entry-chronicle-fields > .form-field { margin-top: 19px; }
.form-grid .form-field > .form-hint { margin-top: -4px; }
.mood-fieldset { padding: 0; border: 0; margin: 20px 0; }
.mood-fieldset legend { font-size: 11px; color: #607b67; margin-bottom: 11px; }
.mood-fieldset legend .form-hint { margin-left: 5px; }
.mood-option { width: 42px; height: 38px; font-size: 12px; }
.file-drop { margin-top: 18px; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.file-drop > small { color: #9fb094; font-size: 9px; }
.file-drop input { max-width: 100%; margin-top: 6px; }
.dialog-close { font-size: 20px; line-height: 1; }
@media (min-width: 1450px) {
  .hero-card { min-height: 262px; }
  .hero-copy h2 { font-size: 34px; }
  .chart-columns { height: 200px; }
  .month-grid { gap: 6px; }
  .month-ring { width: 30px; height: 30px; }
}
@media (max-width: 1150px) {
  .brand { font-size: 19px; }
  .brand-subtitle { font-size: 7px; letter-spacing: .5px; }
  .hero-card { padding: 25px; }
  .hero-copy h2 { font-size: 27px; }
  .hero-copy > p { font-size: 10px; }
  .hero-visual { min-width: 120px; }
  .hero-visual > svg { min-width: 120px; }
  .hero-visual .hero-badge { display: none; }
  .hero-grid { grid-template-columns: minmax(0, 2fr) minmax(195px, 1fr); gap: 15px; }
  .hero-grid > .goal-card { padding: 20px 15px; }
  .stat-card { padding: 18px 15px; }
  .stat-top .stat-label { font-size: 10px; }
}
@media (max-width: 960px) {
  .sidebar-label { margin-top: 32px !important; }
  .hero-grid { grid-template-columns: minmax(0, 1fr) 175px; gap: 13px; }
  .hero-card { padding: 23px; min-height: 235px; }
  .hero-copy { max-width: 100%; }
  .hero-copy h2 { font-size: 27px; }
  .hero-visual { display: none; }
  .hero-grid > .goal-card .eyebrow { font-size: 8px !important; letter-spacing: .6px; }
  .progress-ring { width: 110px; height: 110px; }
  .stat-top .stat-label { font-size: 11px; }
  .dashboard-grid { align-items: start; }
  .month-grid { gap: 7px; }
  .month-day { min-height: 32px; }
  .sidebar-note .tag { font-size: 6px; }
  .sidebar-note p { font-size: 10px; }
  .sidebar-footer > .nav-item { font-size: 10px; }
}
@media (max-width: 700px) {
  .sidebar-label { display: none; }
  .nav-list { margin: 0; }
  .nav-item { font-size: 8px; }
  .nav-count { display: none; }
  .privacy-label { display: none; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .hero-card { min-height: 240px; padding: 25px 23px; }
  .hero-copy { max-width: 67%; }
  .hero-copy h2 { font-size: 28px; }
  .hero-copy > p { font-size: 10px; }
  .hero-visual { display: flex; min-width: 100px; width: 30%; margin-right: -14px; }
  .hero-visual > svg { width: 135px; min-width: 115px; }
  .hero-button { font-size: 9px; padding: 9px 10px; }
  .hero-grid > .goal-card { min-height: 145px; padding: 18px 22px; text-align: left; }
  .hero-grid > .goal-card > div { min-height: 105px; position: relative; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding-right: 108px; }
  .hero-grid > .goal-card .eyebrow { font-size: 9px !important; letter-spacing: 1px; margin-bottom: 3px; }
  .hero-grid > .goal-card .progress-ring { position: absolute; right: 0; top: 2px; width: 100px; height: 100px; }
  .hero-grid > .goal-card p { margin-top: 6px; font-size: 11px; }
  .hero-grid > .goal-card .button { margin-top: 4px; padding: 5px 0; }
  .progress-ring strong { font-size: 27px; }
  .progress-ring strong span { font-size: 12px; }
  .progress-ring small { font-size: 9px; }
  .stat-card { min-height: 135px; padding: 17px 15px; }
  .stat-top { gap: 7px; margin-bottom: 12px; }
  .stat-top .stat-label { font-size: 9px; }
  .stat-top .stat-icon { width: 23px; height: 23px; flex-shrink: 0; }
  .stat-top .stat-icon svg { width: 13px; height: 13px; }
  .stat-value { font-size: 27px; }
  .stat-meta { font-size: 9px; line-height: 1.6; }
  .panel-title { font-size: 14px; }
  .panel-subtitle { font-size: 10px; }
  .chart-columns { height: 180px; }
  .chart-label { font-size: 9px; }
  .chart-legend { font-size: 9px; gap: 16px; }
  .chart-unit { display: none; }
  .month-grid { gap: 8px 5px; }
  .month-ring { width: 31px; height: 31px; }
  .month-day { min-height: 31px; }
  .activity-row { gap: 10px; }
  .activity-title { font-size: 11px; }
  .activity-subtitle { font-size: 9px; }
  .activity-duration { font-size: 11px; }
  .activity-duration small { font-size: 9px; }
  .activity-row > .icon-button { width: 23px; height: 25px; }
  .insight-card { font-size: 11px; }
  .dashboard-grid + .dashboard-grid { margin-top: 18px; }
  .module-card { padding: 22px; }
  .module-card h2 { font-size: 17px; }
  .module-card p { font-size: 12px; }
  .breakdown-row { grid-template-columns: 82px minmax(0, 1fr) 52px 20px; gap: 8px; font-size: 10px; }
  .breakdown-row strong { font-size: 9px; }
  .breakdown-row small { font-size: 9px; }
  .form-field { font-size: 11px; }
  .form-field input, .form-field select, .form-field textarea { font-size: 16px; }
}
@media (max-width: 370px) {
  .hero-copy h2 { font-size: 25px; }
  .hero-card { padding: 23px 18px; }
  .hero-visual { min-width: 85px; }
  .hero-visual > svg { min-width: 100px; }
  .hero-button { font-size: 8px; padding: 9px 8px; }
  .stat-top { gap: 5px; }
  .stat-top .stat-label { font-size: 8px; }
}
/* Accounts and optional places remain subordinate to the diary. */
.strength-panel{margin:24px 0}
.workout-details{margin-top:6px;font-size:12px;overflow-wrap:anywhere}.workout-details summary{cursor:pointer;color:#446c59;line-height:1.6}.workout-details ul{margin:8px 0;padding-left:18px}.workout-details li{margin:4px 0}
.places-list>span{max-width:100%;overflow-wrap:anywhere}
.strength-ratios{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:16px 0}
.strength-ratio{padding:16px;border:1px solid #dce7e0;border-radius:12px;background:#f8faf8}
.strength-ratio h3{font-size:14px;margin:0 0 12px}.strength-ratio>strong{font-size:28px;color:#214c3d}.strength-ratio p{font-size:12px;color:#687a71;margin:8px 0}.strength-ratio .tag{white-space:normal}
.strength-pattern{display:grid;grid-template-columns:130px minmax(0,1fr) 75px;align-items:center;gap:12px;margin:12px 0;font-size:13px}.strength-pattern strong{text-align:right}.strength-pattern small{font-weight:400;color:#687a71}
.exercise-row{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr) 110px;align-items:start;gap:10px;padding:14px 0;border-top:1px solid #dce7e0}
.exercise-sets-row{display:flex;align-items:flex-end;gap:4px}.exercise-sets-row input{min-width:0}.exercise-row .form-field{min-width:0}.exercise-row select,.exercise-row input{width:100%;min-width:0}
@media(max-width:760px){.strength-ratios{grid-template-columns:1fr}.strength-pattern{grid-template-columns:95px minmax(0,1fr) 65px;gap:8px}.strength-pattern .progress-track{min-width:0}.exercise-row{grid-template-columns:minmax(0,1fr) 95px}.exercise-row>label:first-child{grid-column:1/-1}.strength-panel>.panel-header{flex-wrap:wrap}.strength-panel .filter-row{margin:8px 0}}
.account-panel,.places-panel{margin-top:24px;margin-bottom:24px}
.account-status{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 16px;padding:8px 16px;border:1px solid #dbe7df;border-radius:12px;background:#f3f8f4;font-size:12px}
.account-status>span{display:flex;align-items:center;gap:8px;min-width:0;overflow-wrap:anywhere}
.account-status strong{font-weight:500}
.place-fields{border:1px solid #dbe4df;border-radius:12px;padding:14px;margin:16px 0}
.place-fields legend{font-weight:600;padding:0 6px}
.place-actions{display:flex;flex-wrap:wrap;gap:6px;margin:8px 0}
.place-result{display:block;width:100%;padding:10px;margin:4px 0;text-align:left;color:#234d40;background:#f3f8f4;border:1px solid #dbe7df;border-radius:8px;cursor:pointer;font:inherit}
.places-map{height:300px;width:100%;border-radius:14px;margin-bottom:12px;z-index:0}
.places-list{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}
.places-list>span{padding:6px 10px;border-radius:8px;background:#f3f7f4;font-size:12px}
.places-list small{color:#697c73;margin-left:5px}
#account-status{padding:0 40px}
#account-status:empty{display:none}
#recovery-code{width:100%;font:14px monospace;resize:vertical;overflow-wrap:anywhere}
.account-panel details,.place-fields details{margin:16px 0}
.sidebar-profile small{max-width:170px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:block}
@media(max-width:760px){#account-status{padding:0 16px}.account-status{align-items:flex-start}.activity-row{flex-wrap:wrap}.activity-main{min-width:120px}.places-map{height:250px}}
