@import url("/static/fonts.css");
:root {
  --bg: #f6f5f0;
  --card: #fff;
  --ink: #263c32;
  --muted: #7b837b;
  --line: #e7e9e1;
  --green: #37694e;
  --light: #e8eee4;
  --lime: #dce8ab;
  --orange: #cb794e;
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 14px var(--sans);
  line-height: 1.5;
}
button,
input,
select,
textarea {
  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 {
  opacity: 0.55;
  cursor: wait;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #a2b869;
  outline-offset: 3px;
}
.hidden {
  display: none !important;
}
h1,
h2,
h3,
h4,
p {
  margin: 0;
}
h1 {
  font: 46px/1.12 var(--serif);
  letter-spacing: -1.8px;
}
h2 {
  font: 29px/1.25 var(--serif);
  letter-spacing: -0.6px;
}
h3 {
  font-size: 16px;
  font-weight: 600;
}
p {
  line-height: 1.7;
}
.muted {
  color: var(--muted);
}
.eyebrow,
.nav-label {
  font-size: 10px;
  letter-spacing: 2px;
  font-weight: 600;
}
.eyebrow {
  color: var(--green);
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border-radius: 30px;
  background: var(--light);
  color: var(--green);
  font-size: 11px;
  padding: 6px 11px;
}
.pill::before {
  content: "•";
  color: #7a9761;
}
.brand {
  font: bold 56px/1 var(--serif);
  letter-spacing: -5px;
  display: block;
  width: max-content;
}
.brand > span:first-child {
  font-style: italic;
}
.brand-dot {
  color: #91a95e;
  letter-spacing: 0;
}
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 236px;
  border-right: 1px solid var(--line);
  background: #fcfcf8;
  padding: 32px 22px 20px;
  display: flex;
  flex-direction: column;
}
.sidebar .brand {
  margin: 0 14px 52px;
}
.nav-label {
  color: #9aa096;
  margin: 0 16px 16px;
  font-size: 9px;
  letter-spacing: 1.6px;
}
nav a {
  display: flex;
  gap: 13px;
  align-items: center;
  padding: 12px 15px;
  margin-bottom: 5px;
  border-radius: 7px;
  color: #7b837b;
  font-size: 13px;
}
nav a:hover {
  background: #f0f2e9;
  color: var(--ink);
}
nav a.active {
  background: #e8eddf;
  color: #34593f;
  font-weight: 600;
}
nav i {
  font-style: normal;
  font-size: 22px;
  width: 23px;
  line-height: 1;
}
.tiny-badge {
  font-size: 9px;
  letter-spacing: 1px;
  margin-left: auto;
  background: #eef0e3;
  color: #75874b;
  padding: 2px 5px;
  border-radius: 4px;
}
.side-note {
  padding: 20px 16px;
  margin-top: auto;
  margin-bottom: 25px;
  border: 1px solid #e4e8d9;
  background: linear-gradient(130deg, #f3f4e9, #fafbf4);
  border-radius: 10px;
}
.side-note > span {
  font-size: 25px;
  color: #95aa68;
}
.side-note h4 {
  font: 19px var(--serif);
  margin: 9px 0;
}
.side-note p {
  font-size: 11px;
  color: #8a927e;
}
.bottom-nav {
  padding-top: 0;
}
.user-card {
  display: flex;
  gap: 11px;
  align-items: center;
  background: none;
  border: 0;
  border-top: 1px solid var(--line);
  text-align: left;
  padding: 20px 10px 0;
  margin-top: 16px;
}
.avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #eadbd1;
  color: #80634f;
  font: 18px var(--serif);
  width: 39px;
  height: 39px;
  border-radius: 50%;
  flex-shrink: 0;
}
.user-card strong {
  display: block;
  font-size: 12px;
  font-weight: 500;
}
.user-card small {
  display: block;
  color: var(--muted);
  font-size: 10px;
  margin-top: 3px;
}
.workspace {
  margin-left: 236px;
}
.topbar {
  height: 81px;
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 0 43px;
  border-bottom: 1px solid var(--line);
  background: #fafaf6;
}
.breadcrumb {
  font-size: 11px;
  color: #959a90;
}
.breadcrumb span {
  margin: 0 12px;
  color: #b7bbaf;
}
.breadcrumb b {
  font-weight: 500;
  color: #52624e;
}
.top-date {
  margin-left: auto;
  font-size: 11px;
  color: #7b8578;
}
.small {
  width: 32px;
  height: 32px;
  font-size: 14px;
}
main {
  max-width: 1510px;
  margin: auto;
  padding: 37px 43px 45px;
  min-height: calc(100vh - 140px);
}
.page-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 28px;
  gap: 20px;
}
.page-heading h1 {
  margin: 10px 0 11px;
}
.page-heading p {
  color: var(--muted);
  font-size: 12px;
}
.primary,
.secondary,
.ghost,
.danger {
  border: 0;
  border-radius: 7px;
  display: inline-flex;
  justify-content: center;
  gap: 20px;
  align-items: center;
  padding: 12px 17px;
  font-size: 12px;
  font-weight: 500;
  min-height: 43px;
}
.primary {
  background: var(--green);
  color: white;
}
.primary:hover {
  background: #2c5940;
}
.primary span {
  font-size: 18px;
}
.secondary {
  background: #fff;
  border: 1px solid #dfe4d8;
  color: #4e6047;
}
.ghost {
  background: #f0f2e9;
  color: #5c6e50;
}
.danger {
  background: #fff1eb;
  color: #a54832;
}
.wide {
  width: 100%;
}
.hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 225px;
  background: #e9eddf;
  border: 1px solid #e0e5d5;
  border-radius: 13px;
  margin-bottom: 26px;
  min-height: 217px;
  padding: 28px 30px;
}
.hero h2 {
  font-size: 34px;
  line-height: 1.15;
  margin: 14px 0 10px;
  max-width: 430px;
}
.hero p {
  color: #7b866e;
  max-width: 420px;
  font-size: 12px;
}
.hero .primary {
  margin-top: 19px;
  min-height: 36px;
  padding: 8px 14px;
  font-size: 11px;
}
.hero-art {
  position: relative;
  display: grid;
  place-items: center;
}
.ring {
  width: 169px;
  height: 169px;
  transform: rotate(-24deg);
  border-radius: 50%;
  border: 22px solid #b8c992;
  box-shadow:
    0 0 0 15px #d8e0c7,
    0 0 0 16px #c9d4b4;
  display: grid;
  place-items: center;
  color: #4c6a3c;
  font: italic 73px var(--serif);
  background: #e8eddf;
}
.ring:after {
  content: "↗";
  transform: rotate(24deg);
}
.art-tag {
  position: absolute;
  bottom: 8px;
  right: -2px;
  background: #fafbf4e8;
  border: 1px solid #e2e7d6;
  box-shadow: 0 5px 15px #657d4610;
  border-radius: 8px;
  padding: 9px 12px;
  display: flex;
  gap: 9px;
  align-items: center;
  transform: rotate(-5deg);
}
.art-tag strong {
  display: block;
  font-size: 10px;
  font-weight: 500;
}
.art-tag small {
  font-size: 9px;
  color: var(--muted);
}
.art-tag > span {
  font-size: 22px;
}
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  margin-bottom: 28px;
}
.metric-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 18px;
}
.metric-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #7d8579;
  font-size: 11px;
}
.metric-icon {
  font-size: 17px;
  color: #799164;
}
.metric-number {
  font-size: 29px;
  line-height: 1.3;
  margin-top: 11px;
  letter-spacing: -1px;
}
.metric-number small {
  font-size: 12px;
  color: #a0a597;
  letter-spacing: 0;
}
.metric-foot {
  font-size: 10px;
  color: #939b8b;
  margin-top: 8px;
}
.metric-foot b {
  color: #698350;
  font-weight: 500;
}
.progress {
  height: 4px;
  border-radius: 5px;
  background: #eef0e7;
  margin-top: 12px;
  overflow: hidden;
}
.progress > span {
  display: block;
  height: 100%;
  background: #a9bc7d;
  width: 0;
}
.dashboard-grid {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 24px;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 17px;
}
.section-heading h2 {
  font: 22px var(--serif);
}
.link {
  background: none;
  border: 0;
  color: #798667;
  font-size: 11px;
  padding: 5px 0;
  cursor: pointer;
}
.card {
  border: 1px solid var(--line);
  background: white;
  border-radius: 11px;
  padding: 22px;
}
.week-strip {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  margin-bottom: 18px;
}
.day-chip {
  border: 1px solid transparent;
  background: transparent;
  border-radius: 8px;
  padding: 9px 0;
  text-align: center;
}
.day-chip span {
  display: block;
  font-size: 9px;
  color: #9aa28f;
  text-transform: uppercase;
}
.day-chip b {
  display: block;
  font: 19px var(--serif);
  margin: 5px 0;
  color: #617052;
}
.day-chip em {
  display: block;
  width: 4px;
  height: 4px;
  margin: auto;
  border-radius: 50%;
  background: #c6d1ac;
}
.day-chip.selected {
  background: #52724a;
  color: white;
}
.day-chip.selected span,
.day-chip.selected b {
  color: white;
}
.day-chip.selected em {
  background: #d4dfb8;
}
.workout-row {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 16px 0;
  border-bottom: 1px solid #f0f1ea;
}
.workout-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.workout-icon {
  width: 40px;
  height: 42px;
  background: #edf1e5;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-size: 22px;
  color: #6b8554;
  flex-shrink: 0;
}
.workout-icon.stable {
  background: #f6eee4;
  color: #ae8959;
}
.workout-icon.recovery {
  background: #eeedf5;
  color: #9386b1;
}
.workout-row h4 {
  font-size: 12px;
  font-weight: 500;
}
.workout-row p {
  font-size: 10px;
  color: #9a9f91;
  margin-top: 4px;
}
.workout-row .row-info {
  flex: 1;
}
.round-btn {
  border: 1px solid #e3e7db;
  border-radius: 50%;
  background: white;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  font-size: 13px;
  flex-shrink: 0;
}
.round-btn:hover {
  background: var(--light);
}
.done-check {
  border: 1px solid #ccd6bf;
  background: white;
  width: 19px;
  height: 19px;
  flex-shrink: 0;
  border-radius: 5px;
  font-size: 11px;
  padding: 0;
}
.done-check.checked {
  background: #5b7951;
  color: white;
  border-color: #5b7951;
}
.coach-card {
  background: #f1ede4;
  border-color: #e9e3d7;
  position: relative;
  overflow: hidden;
}
.coach-card .coach-star {
  font-size: 32px;
  color: #a98b5c;
}
.coach-card h3 {
  font: 25px/1.2 var(--serif);
  max-width: 220px;
  margin: 12px 0;
}
.coach-card p {
  font-size: 11px;
  color: #9a8c77;
  max-width: 260px;
}
.coach-card .secondary {
  margin-top: 18px;
  background: #fcfaf4;
  border-color: #e2d8c6;
  min-height: 34px;
  padding: 8px 13px;
  font-size: 10px;
}
.bottom-grid {
  margin-top: 25px;
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 24px;
}
.mini-chart {
  height: 120px;
  display: flex;
  gap: 16px;
  align-items: flex-end;
  padding-top: 12px;
}
.bar-item {
  flex: 1;
  text-align: center;
  font-size: 9px;
  color: #a0a793;
}
.bar-item .bar {
  height: 72px;
  background: #eff2e7;
  border-radius: 4px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  margin-bottom: 8px;
}
.bar-item .bar > span {
  display: block;
  width: 100%;
  background: #b6c994;
  border-radius: 4px;
  min-height: 0;
}
.chart-legend {
  font-size: 10px;
  color: #8d967e;
  display: flex;
  align-items: center;
  gap: 6px;
}
.chart-legend:before {
  content: "";
  width: 7px;
  height: 7px;
  background: #b6c994;
  border-radius: 2px;
}
.nutrition {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 15px;
}
.nutrition-ring {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: conic-gradient(#a9bc7d var(--progress, 0%), #eef0e6 0);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.nutrition-ring > div {
  width: 77px;
  height: 77px;
  background: white;
  border-radius: 50%;
  display: grid;
  place-content: center;
  text-align: center;
}
.nutrition-ring strong {
  font-size: 19px;
  font-weight: 500;
}
.nutrition-ring small {
  font-size: 8px;
  color: #a0a68f;
}
.nutrition-info {
  flex: 1;
}
.nutrition-info p {
  font-size: 11px;
  display: flex;
  justify-content: space-between;
  color: #949c88;
  margin: 8px 0;
}
.nutrition-info strong {
  font-weight: 500;
  color: #536448;
}
.empty {
  padding: 26px 15px;
  text-align: center;
  color: #959f89;
  font-size: 12px;
  background: #f9faf5;
  border: 1px dashed #e4e8d9;
  border-radius: 8px;
}
.empty strong {
  display: block;
  color: #657957;
  margin-bottom: 6px;
  font: 19px var(--serif);
}
footer {
  display: flex;
  justify-content: space-between;
  margin: 0 43px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  font-size: 9px;
  letter-spacing: 0.4px;
  color: #a4aa9a;
}
footer > span {
  font-size: 8px;
}
.mobile-nav {
  display: none;
}
.split {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 24px;
}
.stack {
  display: grid;
  gap: 20px;
}
.toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}
.toolbar h2 {
  margin-right: auto;
}
.calendar {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  border-left: 1px solid var(--line);
  border-top: 1px solid var(--line);
}
.calendar-head {
  padding: 12px;
  text-align: center;
  font-size: 10px;
  color: #8b967e;
  background: #fafbf6;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.calendar-cell {
  min-height: 135px;
  background: white;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 8px;
  overflow: hidden;
}
.calendar-cell .date-num {
  font-size: 11px;
  color: #9ba48f;
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}
.calendar-cell.today {
  background: #f5f8ed;
}
.calendar-cell.today .date-num {
  color: #4c7343;
  font-weight: 700;
}
.calendar-event {
  border: 0;
  background: #edf2e3;
  border-left: 2px solid #a5bc7f;
  border-radius: 3px;
  padding: 5px 6px;
  margin: 4px 0;
  width: 100%;
  text-align: left;
  font-size: 9px;
  line-height: 1.5;
}
.calendar-event.stable {
  background: #f8efe4;
  border-color: #ccac80;
}
.calendar-event.recovery {
  background: #f1eef6;
  border-color: #b4a5c8;
}
.calendar-event.done {
  text-decoration: line-through;
  opacity: 0.55;
}
.calendar-event small {
  display: block;
  color: #899377;
  font-size: 8px;
}
.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 17px;
}
label {
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: #6b795f;
  margin: 16px 0 7px;
}
input,
select,
textarea {
  display: block;
  width: 100%;
  border: 1px solid #dfe5d5;
  border-radius: 6px;
  padding: 11px 12px;
  background: #fff;
  color: #344a2f;
  margin-top: 6px;
  min-height: 42px;
}
textarea {
  min-height: 95px;
  resize: vertical;
}
.check-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.7;
}
.check-label input {
  width: 16px;
  min-height: 16px;
  margin-top: 4px;
  accent-color: var(--green);
}
.form-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 22px;
}
.help {
  font-size: 11px;
  color: #8f9982;
  margin-top: 9px;
  line-height: 1.7;
}
.alert {
  padding: 14px 17px;
  background: #f6f0e4;
  border: 1px solid #ebe1cd;
  border-radius: 8px;
  font-size: 11px;
  color: #917a53;
  line-height: 1.7;
  margin-bottom: 20px;
}
.exercise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.exercise-card {
  display: flex;
  flex-direction: column;
  min-height: 220px;
}
.exercise-symbol {
  font: italic 35px var(--serif);
  color: #9caf7b;
}
.exercise-card h3 {
  margin: 12px 0 8px;
}
.exercise-card p {
  font-size: 11px;
  color: #929c83;
  white-space: pre-line;
}
.exercise-card .exercise-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 20px;
}
.tag {
  background: #eff3e6;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 9px;
  color: #82966a;
}
.chat-container {
  max-width: 850px;
  margin: auto;
}
.chat-messages {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-height: 250px;
  max-height: 54vh;
  overflow: auto;
  padding: 22px 0;
}
.chat-message {
  padding: 17px 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
  max-width: 88%;
  white-space: pre-wrap;
  font-size: 13px;
  line-height: 1.8;
}
.chat-message.user {
  align-self: flex-end;
  background: #e8eedf;
  border-color: #dfe7d2;
}
.chat-role {
  display: block;
  color: #82966d;
  font-size: 9px;
  letter-spacing: 1.4px;
  margin-bottom: 8px;
}
.chat-form {
  display: flex;
  gap: 10px;
  align-items: flex-end;
  padding: 14px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.chat-form textarea {
  margin: 0;
  min-height: 48px;
  height: 48px;
  border: 0;
  resize: vertical;
}
.suggestions {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.suggestions button {
  font-size: 10px;
  padding: 9px 12px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 20px;
}
.chart-wrap {
  width: 100%;
  overflow: hidden;
  min-height: 225px;
}
.chart-svg {
  width: 100%;
  height: 235px;
  overflow: visible;
}
.chart-svg text {
  font: 10px var(--sans);
  fill: #919b85;
}
.chart-svg line {
  stroke: #e9ede1;
  stroke-width: 1;
}
.chart-svg polyline {
  fill: none;
  stroke: #789958;
  stroke-width: 2.5;
  stroke-linejoin: round;
}
.chart-svg circle {
  fill: #92ab70;
  stroke: white;
  stroke-width: 2;
}
.chart-svg circle:hover {
  fill: #355f39;
  r: 6;
}
.chart-caption {
  font-size: 11px;
  color: #8c997c;
  margin-top: 10px;
}
.integration-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}
.integration-logo {
  width: 53px;
  height: 53px;
  border: 1px solid var(--line);
  background: #f6f7f0;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 27px;
  flex-shrink: 0;
}
.integration-body {
  flex: 1;
}
.integration-body p {
  font-size: 12px;
  color: #929c86;
  margin: 10px 0;
}
.integration-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 15px;
}
.timer-display {
  font: 64px/1.3 var(--serif);
  text-align: center;
  letter-spacing: -2px;
  margin: 25px 0;
}
.timer-controls {
  display: flex;
  gap: 10px;
  justify-content: center;
}
.timer-hint {
  text-align: center;
  font-size: 11px;
  color: #95a087;
  margin-top: 15px;
}
.session-row {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 10px;
}
.session-row strong {
  font-size: 12px;
  font-weight: 500;
}
.session-row small {
  display: block;
  color: #9aa48c;
  font-size: 10px;
  margin-top: 4px;
}
.session-row button {
  margin-left: auto;
}
.auth {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.auth-story {
  background: #e7eddd;
  padding: 40px 65px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100vh;
  overflow: hidden;
}
.auth-story h1 {
  font-size: 64px;
  margin: 23px 0;
  max-width: 600px;
}
.auth-story p {
  max-width: 390px;
  color: #7e8d6e;
  font-size: 13px;
}
.auth-story > small {
  font-size: 9px;
  letter-spacing: 3px;
  color: #8f9c7e;
}
.orbit {
  height: 220px;
  display: grid;
  place-items: center;
  margin-top: 30px;
}
.orbit-inner {
  width: 170px;
  height: 170px;
  border: 1px solid #9cae7f;
  outline: 1px solid #c6d2b3;
  outline-offset: 22px;
  border-radius: 50%;
  display: grid;
  place-content: center;
  text-align: center;
  color: #829a61;
  font: italic 76px var(--serif);
  transform: rotate(-15deg);
}
.orbit-inner span {
  font: 10px var(--sans);
  letter-spacing: 1px;
  transform: rotate(15deg);
}
.auth-form {
  max-width: 480px;
  padding: 60px 35px;
  margin: auto;
  width: 100%;
}
.auth-form h2 {
  margin: 20px 0 10px;
  font-size: 36px;
}
.auth-form > p {
  font-size: 12px;
}
.auth-form form {
  margin-top: 28px;
}
.auth-form .primary {
  margin-top: 24px;
  justify-content: space-between;
}
.text-btn {
  background: none;
  border: 0;
  font-size: 11px;
  color: #6f805f;
  margin: 20px 0;
  width: 100%;
}
.auth-foot {
  border-top: 1px solid var(--line);
  padding-top: 28px;
  margin-top: 25px;
  color: #a0aa95;
  text-align: center;
  font-size: 10px !important;
}
.error {
  color: #ad503e;
  font-size: 12px !important;
  margin-top: 10px;
}
.toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  padding: 14px 23px;
  background: #2f513b;
  color: white;
  border-radius: 8px;
  z-index: 10;
  box-shadow: 0 5px 30px #203d2920;
  font-size: 12px;
  max-width: 90vw;
}
.toast.error {
  background: #9a4d37;
  color: white;
}
dialog {
  border: 1px solid #e2e6d9;
  border-radius: 14px;
  padding: 28px;
  width: min(620px, calc(100% - 24px));
  max-height: 90vh;
  overflow: auto;
  color: var(--ink);
  box-shadow: 0 25px 100px #1e362533;
}
dialog::backdrop {
  background: #20392655;
  backdrop-filter: blur(3px);
}
.dialog-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}
.dialog-heading button {
  border: 0;
  background: #f0f3e9;
  border-radius: 50%;
  width: 30px;
  height: 30px;
}
.table-scroll {
  overflow-x: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 11px;
}
th,
td {
  text-align: left;
  border-bottom: 1px solid var(--line);
  padding: 11px 9px;
}
th {
  color: #8e9a7d;
  font-weight: 500;
}
.print-only {
  display: none;
}
@media (min-width: 1500px) {
  main {
    padding: 45px 60px;
  }
  .hero {
    min-height: 240px;
  }
  .metrics-grid {
    gap: 22px;
  }
  .hero h2 {
    font-size: 40px;
  }
}
@media (max-width: 1150px) {
  .sidebar {
    width: 205px;
    padding-left: 15px;
    padding-right: 15px;
  }
  .workspace {
    margin-left: 205px;
  }
  main {
    padding: 30px 26px;
  }
  .topbar {
    padding: 0 26px;
  }
  .hero {
    grid-template-columns: 1fr 165px;
  }
  .ring {
    width: 130px;
    height: 130px;
    border-width: 16px;
  }
  .hero h2 {
    font-size: 30px;
  }
  .metrics-grid {
    gap: 10px;
  }
  .metric-card {
    padding: 14px;
  }
  .exercise-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .dashboard-grid,
  .bottom-grid {
    gap: 17px;
  }
  .card {
    padding: 18px;
  }
  .auth-story {
    padding: 35px;
  }
  .auth-story h1 {
    font-size: 48px;
  }
}
@media (max-width: 850px) {
  .sidebar {
    width: 76px;
    align-items: center;
    padding: 25px 10px;
  }
  .sidebar .brand {
    font-size: 35px;
    letter-spacing: -3px;
    margin: 0 0 35px;
  }
  .sidebar nav {
    width: 100%;
  }
  .sidebar nav a {
    font-size: 0;
    padding: 13px;
    gap: 0;
    justify-content: center;
  }
  .sidebar nav i {
    font-size: 24px;
  }
  .sidebar .tiny-badge,
  .sidebar .nav-label,
  .sidebar .side-note,
  .user-card > span + span {
    display: none;
  }
  .sidebar .bottom-nav {
    margin-top: auto;
  }
  .user-card {
    padding: 15px 0 0;
  }
  .workspace {
    margin-left: 76px;
  }
  .topbar {
    height: 65px;
  }
  .hero {
    padding: 23px;
  }
  .dashboard-grid,
  .bottom-grid {
    grid-template-columns: 1.25fr 1fr;
  }
  .metric-number {
    font-size: 25px;
  }
  .metric-foot {
    font-size: 9px;
  }
  .split {
    grid-template-columns: 1fr;
  }
  .calendar-cell {
    padding: 5px;
    min-height: 115px;
  }
  .calendar-event {
    font-size: 8px;
    padding: 4px;
  }
  .calendar-head {
    padding: 10px 0;
  }
  .top-date {
    display: none;
  }
  .auth-story {
    padding: 28px;
  }
  .auth-story h1 {
    font-size: 39px;
  }
}
@media (max-width: 620px) {
  .sidebar {
    display: none;
  }
  .workspace {
    margin-left: 0;
  }
  .topbar {
    padding: 0 20px;
    height: 57px;
  }
  .breadcrumb {
    font-size: 9px;
  }
  .breadcrumb span {
    margin: 0 7px;
  }
  main {
    padding: 25px 18px 85px;
  }
  .page-heading {
    align-items: flex-start;
    margin-bottom: 22px;
  }
  .page-heading h1 {
    font-size: 35px;
    margin: 9px 0;
  }
  .page-heading p {
    font-size: 11px;
  }
  .page-heading > .secondary {
    padding: 8px 10px;
    font-size: 0;
    min-height: 35px;
  }
  .page-heading > .secondary span {
    font-size: 17px;
  }
  .eyebrow {
    font-size: 8px;
    letter-spacing: 1.6px;
  }
  .hero {
    grid-template-columns: 1fr 95px;
    min-height: 220px;
    padding: 21px 19px;
    gap: 5px;
    margin-bottom: 18px;
  }
  .hero h2 {
    font-size: 27px;
    max-width: 230px;
  }
  .hero p {
    font-size: 10px;
    max-width: 205px;
  }
  .hero .pill {
    font-size: 8px;
  }
  .hero .primary {
    font-size: 10px;
    gap: 12px;
    margin-top: 14px;
  }
  .ring {
    width: 83px;
    height: 83px;
    border-width: 11px;
    font-size: 36px;
    box-shadow:
      0 0 0 9px #d8e0c7,
      0 0 0 10px #c9d4b4;
  }
  .art-tag {
    right: -5px;
    bottom: 19px;
    padding: 6px 8px;
    gap: 4px;
  }
  .art-tag strong {
    font-size: 8px;
  }
  .art-tag small {
    font-size: 7px;
  }
  .art-tag > span {
    font-size: 17px;
  }
  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 11px;
    margin-bottom: 24px;
  }
  .metric-card {
    padding: 14px 16px;
  }
  .metric-number {
    font-size: 27px;
  }
  .dashboard-grid,
  .bottom-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .card {
    padding: 18px;
  }
  .coach-card h3 {
    max-width: 100%;
    font-size: 27px;
  }
  .coach-card p {
    max-width: 100%;
    font-size: 12px;
  }
  .coach-card .coach-star {
    float: right;
  }
  .bottom-grid {
    margin-top: 24px;
  }
  .mobile-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fcfcf8f5;
    border-top: 1px solid var(--line);
    padding: 7px 8px max(7px, env(safe-area-inset-bottom));
    z-index: 5;
    backdrop-filter: blur(12px);
  }
  .mobile-nav a {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
    align-items: center;
    padding: 5px 2px;
    margin: 0;
    font-size: 21px;
    line-height: 1.2;
  }
  .mobile-nav a span {
    font-size: 8px;
    font-weight: 400;
    margin-top: 3px;
  }
  .mobile-nav a.active {
    color: #3c663c;
    background: #eaf0e1;
  }
  footer {
    display: none;
  }
  .exercise-grid {
    grid-template-columns: 1fr;
  }
  .calendar {
    display: block;
    border: 0;
  }
  .calendar-head {
    display: none;
  }
  .calendar-cell {
    border: 1px solid var(--line);
    border-radius: 8px;
    min-height: 70px;
    margin-bottom: 9px;
    padding: 10px 13px;
  }
  .calendar-cell.blank {
    display: none;
  }
  .calendar-cell .date-num {
    font-size: 11px;
  }
  .calendar-event {
    font-size: 11px;
    padding: 7px 9px;
  }
  .calendar-event small {
    font-size: 9px;
  }
  .toolbar {
    gap: 7px;
  }
  .toolbar h2 {
    font-size: 23px;
    width: 100%;
    margin-bottom: 5px;
  }
  .toolbar button {
    padding: 9px 12px;
    min-height: 36px;
    font-size: 10px;
  }
  .auth {
    grid-template-columns: 1fr;
  }
  .auth-story {
    min-height: 0;
    padding: 24px 25px 30px;
  }
  .auth-story .brand {
    font-size: 45px;
    margin-bottom: 30px;
  }
  .auth-story h1 {
    font-size: 41px;
    margin: 15px 0;
  }
  .auth-story p {
    font-size: 11px;
    max-width: 330px;
  }
  .auth-story .orbit,
  .auth-story > small {
    display: none;
  }
  .auth-form {
    padding: 32px 25px;
  }
  .auth-form h2 {
    font-size: 31px;
  }
  .auth-foot {
    margin-top: 10px;
  }
  .integration-card {
    gap: 12px;
  }
  .integration-logo {
    width: 42px;
    height: 42px;
    font-size: 22px;
  }
  .integration-body h2 {
    font-size: 23px;
  }
  .toast {
    bottom: 85px;
  }
  .field-grid {
    gap: 0 10px;
  }
  .chat-message {
    max-width: 95%;
    font-size: 12px;
  }
  .chat-container .card {
    padding: 15px;
  }
  .chat-form {
    padding: 9px;
  }
  .chat-form .primary {
    padding: 10px 13px;
  }
  .chat-messages {
    max-height: 50vh;
  }
  .page-heading .actions {
    display: flex;
    flex-direction: column;
    gap: 5px;
  }
  .page-heading .actions button {
    font-size: 10px;
    padding: 8px;
  }
  .timer-display {
    font-size: 56px;
  }
  .chart-svg {
    height: 210px;
  }
}
@media print {
  body {
    background: white;
  }
  .sidebar,
  .topbar,
  .mobile-nav,
  footer,
  .toolbar button,
  .page-heading button,
  .form-actions,
  .toast {
    display: none !important;
  }
  .workspace {
    margin: 0;
  }
  main {
    padding: 0;
  }
  .calendar {
    display: block;
  }
  .calendar-cell {
    break-inside: avoid;
    min-height: 0;
    padding: 8px;
    border: 1px solid #ccc;
  }
  .calendar-head,
  .calendar-cell.blank {
    display: none;
  }
  .calendar-event {
    font-size: 12px;
  }
  .print-only {
    display: block;
  }
  .card {
    break-inside: avoid;
  }
  .calendar-event small {
    font-size: 10px;
  }
}
@media (max-width: 620px) {
  .hero .art-tag {
    width: 106px;
    right: -6px;
    bottom: 22px;
    transform: rotate(-5deg);
  }
  .hero .art-tag strong {
    font-size: 7px;
    line-height: 1.5;
  }
  .hero .art-tag small {
    display: none;
  }
  .hero .art-tag > span {
    font-size: 16px;
  }
  .hero-art {
    align-self: center;
    min-height: 130px;
  }
  .sidebar nav a {
    min-height: 42px;
  }
}
@media (max-height: 850px) and (min-width: 621px) {
  .sidebar .side-note {
    display: none;
  }
  .sidebar .brand {
    margin-bottom: 25px;
  }
  .sidebar nav a {
    padding-top: 9px;
    padding-bottom: 9px;
  }
}
@media (max-width: 620px) {
  .page-heading {
    flex-wrap: wrap;
  }
}
/* Keep supporting text readable on the light surfaces. */
:root {
  --muted: #66725d;
}
.nav-label,
.metric-top,
.metric-foot,
.workout-row p,
.help,
.chart-caption,
.nutrition-info p,
.metric-number small,
.breadcrumb,
.top-date,
.chart-legend,
.bar-item,
.day-chip span,
.calendar-head,
.calendar-cell .date-num,
.calendar-event small,
.exercise-card p,
.session-row small,
.coach-card p,
.side-note p,
.auth-story p,
.auth-story > small,
.auth-foot,
.tiny-badge,
.nutrition-ring small,
footer,
th {
  color: #59664f;
}
.chart-svg text {
  fill: #59664f;
}
