:root {
  --paper: #f7f8f2;
  --white: #fff;
  --ink: #18251d;
  --muted: #788078;
  --line: #e3e7dc;
  --lime: #c7f76a;
  --green: #203c2b;
  --orange: #f6a978;
  --radius: 22px;
  font-family: Inter, Manrope, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}
* {
  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 {
  opacity: 0.45;
  cursor: wait;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #75a82e;
  outline-offset: 3px;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  color: inherit;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-size: 42px;
  font-weight: 650;
  letter-spacing: -1.9px;
  line-height: 1.13;
}
h2 {
  font-size: 24px;
  letter-spacing: -0.8px;
  font-weight: 650;
}
h3 {
  font-size: 18px;
  letter-spacing: -0.3px;
}
small {
  font-size: 12px;
  color: var(--muted);
}
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 232px;
  padding: 38px 25px 26px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  background: var(--paper);
  z-index: 20;
}
.brand {
  display: block;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -1.5px;
  white-space: nowrap;
}
.brand span {
  font-weight: 450;
}
.brand i {
  font-size: 28px;
  font-style: normal;
  color: #6b9946;
  margin-left: 7px;
}
.brand-caption {
  font-size: 7.5px;
  letter-spacing: 1.6px;
  margin-top: 9px;
  color: var(--muted);
}
.sidebar nav {
  display: grid;
  gap: 7px;
  margin-top: 48px;
}
.nav-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 14px;
  border-radius: 12px;
  font-size: 14px;
  color: #70796d;
  transition: 0.18s;
}
.nav-link.active {
  color: var(--ink);
  background: var(--lime);
  font-weight: 650;
}
.nav-link:hover {
  background: #e9eddf;
}
.nav-link svg {
  width: 20px;
  height: 20px;
  stroke-width: 1.65;
}
.sidebar-bottom {
  margin-top: auto;
  padding: 28px 10px 0;
}
.mini-mark {
  font-size: 42px;
  font-weight: 900;
  letter-spacing: -7px;
}
.mini-mark span {
  font-weight: 400;
  font-size: 44px;
  color: #9dbb72;
}
.sidebar-bottom p {
  font-size: 14px;
  line-height: 1.55;
  margin: 14px 0 28px;
}
.sidebar-bottom small {
  display: block;
  margin-top: 30px;
  font-size: 10px;
}
.text-button {
  border: 0;
  background: transparent;
  padding: 0;
  display: flex;
  gap: 25px;
  font-size: 13px;
  align-items: center;
}
.text-button span {
  font-size: 18px;
}
.topbar {
  height: 95px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  margin-bottom: 34px;
}
.topbar > span {
  font-size: 9px;
  letter-spacing: 1.9px;
  color: #778171;
}
.topbar > div {
  display: flex;
  align-items: center;
  gap: 20px;
}
.date {
  font-size: 12px;
  color: var(--muted);
}
.avatar {
  border: 1px solid #d2dbc7;
  background: #e9eddf;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-weight: 700;
  font-size: 13px;
}
main {
  margin-left: 232px;
  padding: 0 40px;
  max-width: 1770px;
}
.page-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 28px;
  gap: 20px;
}
.eyebrow {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.7px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}
.page-heading p {
  color: var(--muted);
  font-size: 13px;
  margin-top: 13px;
  line-height: 1.6;
}
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid #dce3d4;
  border-radius: 30px;
  padding: 7px 11px;
  font-size: 10px;
  white-space: nowrap;
}
.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #8ec142;
  display: inline-block;
}
.hero {
  background: var(--green);
  color: var(--paper);
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
  min-height: 294px;
  padding: 35px 36px;
  display: flex;
  align-items: center;
}
.hero-copy {
  position: relative;
  z-index: 2;
  width: 62%;
}
.hero .eyebrow {
  color: #b5c7ad;
  margin-bottom: 17px;
}
.hero h2 {
  font-size: 40px;
  font-weight: 500;
  line-height: 1.13;
  letter-spacing: -1.8px;
}
.hero h2 em {
  font-style: normal;
  color: var(--lime);
}
.hero p {
  font-size: 12px;
  line-height: 1.7;
  color: #c1cdbc;
  margin: 17px 0 23px;
  max-width: 315px;
}
.hero-art {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: 52%;
  opacity: 0.9;
}
.primary,
.secondary,
.danger {
  border: 0;
  border-radius: 11px;
  padding: 14px 19px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  font-size: 12px;
  font-weight: 650;
  min-height: 45px;
}
.primary {
  background: var(--lime);
  color: #1a2b14;
}
.primary svg,
.secondary svg {
  width: 17px;
  height: 17px;
}
.secondary {
  background: var(--white);
  border: 1px solid var(--line);
}
.danger {
  background: #fbece8;
  color: #a94c3a;
}
.primary:hover {
  background: #b5ec51;
}
.secondary:hover {
  background: #f0f3e9;
}
.arrow {
  font-size: 20px;
  font-weight: 400;
}
.section-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin: 30px 0 17px;
}
.section-top h2 {
  font-size: 19px;
}
.section-top > a,
.section-top > button {
  font-size: 11px;
  color: #788171;
  background: transparent;
  border: 0;
  padding: 8px 0;
}
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 13px;
  margin: 20px 0;
}
.stat-card {
  background: var(--white);
  padding: 19px 21px;
  border: 1px solid var(--line);
  border-radius: 15px;
}
.stat-label {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 11px;
  color: var(--muted);
}
.stat-label svg {
  width: 15px;
  height: 15px;
}
.stat-value {
  font-size: 30px;
  letter-spacing: -1.3px;
  margin: 15px 0 3px;
  font-variant-numeric: tabular-nums;
}
.stat-value span {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0;
  margin-left: 4px;
}
.stat-note {
  font-size: 9px;
  color: #8d9488;
}
.dashboard-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 20px;
}
.card {
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
}
.chart {
  display: flex;
  align-items: end;
  justify-content: space-around;
  height: 128px;
  gap: 14px;
  padding-top: 20px;
  margin-bottom: 10px;
}
.bar-wrap {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: end;
  flex: 1;
  gap: 10px;
  font-size: 10px;
  color: var(--muted);
}
.bar {
  width: 100%;
  max-width: 28px;
  min-height: 4px;
  background: #e7eedb;
  border-radius: 5px;
  position: relative;
}
.bar.current {
  background: var(--lime);
}
.bar span {
  position: absolute;
  bottom: calc(100% + 5px);
  font-size: 9px;
  left: 50%;
  transform: translateX(-50%);
  color: #849076;
}
.subtle {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.7;
}
.plan-small {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  margin-top: 24px;
}
.plan-small .number {
  font-size: 62px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: -5px;
  color: #dfe7d5;
}
.plan-small p {
  font-size: 12px;
  color: var(--muted);
  margin: 8px 0 14px;
}
.progress {
  height: 5px;
  border-radius: 5px;
  background: #edf0e7;
  overflow: hidden;
  margin-top: 20px;
}
.progress > span {
  display: block;
  height: 100%;
  background: #92bb54;
  min-width: 0;
}
.activity-list {
  display: grid;
  gap: 10px;
}
.activity {
  display: flex;
  align-items: center;
  gap: 15px;
  border: 1px solid var(--line);
  padding: 17px 19px;
  border-radius: 14px;
  background: white;
  width: 100%;
  text-align: left;
}
.activity-icon {
  height: 40px;
  width: 40px;
  border-radius: 12px;
  background: #eef2e5;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.activity-icon svg {
  width: 20px;
  height: 20px;
}
.activity > div:nth-child(2) {
  flex: 1;
  min-width: 0;
}
.activity h3 {
  font-size: 13px;
}
.activity p {
  font-size: 10px;
  color: var(--muted);
  margin-top: 7px;
}
.activity-data {
  text-align: right;
}
.activity-data b {
  font-size: 17px;
  font-weight: 550;
}
.activity-data small {
  display: block;
  margin-top: 5px;
}
.empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 13px;
  padding: 35px 20px;
  color: var(--muted);
}
.empty svg {
  height: 32px;
  width: 32px;
  stroke: #9aaa8d;
}
.empty h3 {
  font-size: 16px;
  color: var(--ink);
}
.empty p {
  max-width: 340px;
  font-size: 12px;
  line-height: 1.7;
}
.empty .primary,
.empty .secondary {
  margin-top: 5px;
}
.bottom-nav {
  display: none;
}
footer {
  display: flex;
  justify-content: space-between;
  margin: 35px 0 22px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 9px;
  color: #8d9688;
}
footer span {
  font-size: 10px;
}
.tabs {
  display: flex;
  gap: 7px;
  margin-bottom: 23px;
  overflow-x: auto;
}
.chip {
  padding: 9px 15px;
  border-radius: 30px;
  background: transparent;
  border: 1px solid var(--line);
  font-size: 11px;
  white-space: nowrap;
}
.chip.active {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}
.tracker-layout {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 20px;
}
.tracker-panel {
  padding: 28px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.sport-select {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.sport-button {
  border: 1px solid var(--line);
  background: #fafbf7;
  padding: 10px 12px;
  border-radius: 10px;
  display: flex;
  gap: 7px;
  align-items: center;
  font-size: 11px;
}
.sport-button.active {
  border-color: #94b966;
  background: #edf5e2;
}
.sport-button svg {
  width: 17px;
  height: 17px;
}
.distance-value {
  font-size: 91px;
  letter-spacing: -6px;
  font-weight: 450;
  line-height: 1;
  margin: 42px 0 10px;
  font-variant-numeric: tabular-nums;
}
.distance-unit {
  color: var(--muted);
  font-size: 12px;
  display: flex;
  justify-content: space-between;
}
.tracker-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 34px 0 28px;
  gap: 12px;
}
.tracker-metrics b {
  font-size: 23px;
  font-weight: 500;
  letter-spacing: -0.7px;
  font-variant-numeric: tabular-nums;
}
.tracker-metrics small {
  display: block;
  font-size: 10px;
  margin-top: 7px;
}
.tracker-actions {
  display: flex;
  gap: 10px;
}
.tracker-actions > button {
  flex: 1;
  min-height: 53px;
}
.tracker-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10px;
  margin: 20px 0 7px;
  color: var(--muted);
}
.map {
  height: 100%;
  min-height: 370px;
  border-radius: var(--radius);
  overflow: hidden;
  background: #e8eddf;
  position: relative;
  border: 1px solid var(--line);
}
.map-empty {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  text-align: center;
  padding: 30px;
  background-image:
    linear-gradient(
      32deg,
      transparent 46%,
      #d8e0cc 47%,
      #d8e0cc 48%,
      transparent 49%
    ),
    linear-gradient(
      112deg,
      transparent 46%,
      #d8e0cc 47%,
      #d8e0cc 48%,
      transparent 49%
    );
  background-size: 95px 130px;
}
.map-empty svg {
  width: 32px;
  height: 32px;
  margin: 0 auto 14px;
}
.map-empty h3 {
  font-size: 16px;
}
.map-empty p {
  font-size: 11px;
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.7;
}
.map-stage {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.map-tile {
  position: absolute;
  width: 256px;
  height: 256px;
  max-width: none;
}
.map-track {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.map-credit {
  position: absolute;
  bottom: 4px;
  right: 5px;
  background: #ffffffc9;
  padding: 3px 6px;
  font-size: 8px;
  z-index: 3;
}
.map-badge {
  position: absolute;
  top: 17px;
  left: 17px;
  padding: 9px 12px;
  background: white;
  border-radius: 20px;
  font-size: 9px;
  box-shadow: 0 2px 14px #18251d0b;
  z-index: 3;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}
.field {
  display: block;
  margin: 16px 0;
}
.field > span {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 9px;
}
input,
select,
textarea {
  border: 1px solid #dce2d2;
  border-radius: 10px;
  padding: 12px 13px;
  background: #fcfdf9;
  color: var(--ink);
  width: 100%;
  font-size: 13px;
  min-height: 44px;
}
textarea {
  min-height: 100px;
  resize: vertical;
}
.switch-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  gap: 20px;
}
.switch-row small {
  display: block;
  font-size: 10px;
  margin-top: 6px;
}
.switch-row input {
  appearance: none;
  flex-shrink: 0;
  width: 38px;
  min-height: 22px;
  height: 22px;
  background: #e0e5d9;
  border: 0;
  border-radius: 20px;
  position: relative;
  padding: 0;
  cursor: pointer;
}
.switch-row input:before {
  content: "";
  position: absolute;
  background: white;
  border-radius: 50%;
  width: 16px;
  height: 16px;
  top: 3px;
  left: 3px;
  transition: 0.2s;
}
.switch-row input:checked {
  background: #99bb66;
}
.switch-row input:checked:before {
  left: 19px;
}
.plans-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 19px;
}
.plan-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.plan-art {
  height: 158px;
  position: relative;
  overflow: hidden;
  padding: 24px 25px;
  background: #dfe9d0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.plan-art.dark {
  background: #24422d;
  color: #e0f4c6;
}
.plan-art.peach {
  background: #f1dbc7;
}
.plan-art.grey {
  background: #e2e7e1;
}
.plan-distance {
  font-size: 77px;
  letter-spacing: -6px;
  font-weight: 450;
}
.plan-distance span {
  font-size: 16px;
  letter-spacing: 0;
}
.plan-art .art-lines {
  width: 125px;
  height: 125px;
  border: 1px solid currentColor;
  border-radius: 50%;
  opacity: 0.25;
  box-shadow:
    0 0 0 18px currentColor,
    0 0 0 19px transparent,
    0 0 0 36px currentColor;
  position: absolute;
  right: -15px;
  bottom: -35px;
  transform: rotate(-30deg) scaleX(1.4);
}
.plan-art .tag {
  position: relative;
  z-index: 1;
  border-color: currentColor;
  font-size: 9px;
  background: #ffffff20;
}
.plan-body {
  padding: 23px;
}
.plan-body h3 {
  font-size: 19px;
}
.plan-body p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.7;
  margin: 10px 0 18px;
}
.plan-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10px;
  color: var(--muted);
}
.plan-meta button {
  border: 0;
  background: var(--paper);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 21px;
}
.tool-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.tool-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 25px;
  background: white;
  text-align: left;
  position: relative;
}
.tool-card svg {
  width: 28px;
  height: 28px;
  margin-bottom: 25px;
  color: #648246;
}
.tool-card h3 {
  font-size: 17px;
}
.tool-card p {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.7;
  margin-top: 10px;
  padding-right: 20px;
}
.tool-card .arrow {
  position: absolute;
  right: 24px;
  top: 26px;
}
.overlay {
  position: fixed;
  inset: 0;
  background: #0d1b1359;
  z-index: 100;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 22px;
  backdrop-filter: blur(4px);
}
[hidden] {
  display: none !important;
}
.modal {
  background: var(--paper);
  padding: 31px;
  border-radius: 23px;
  max-width: 540px;
  width: 100%;
  max-height: 90dvh;
  overflow: auto;
  position: relative;
  box-shadow: 0 25px 100px #13201433;
}
.modal h2 {
  font-size: 25px;
  margin-bottom: 13px;
  padding-right: 20px;
}
.modal h3 {
  margin-top: 18px;
}
.modal > div > p {
  font-size: 12px;
  line-height: 1.8;
  color: var(--muted);
}
.modal-close {
  position: absolute;
  right: 17px;
  top: 15px;
}
.icon-button {
  border: 0;
  background: transparent;
  font-size: 25px;
  line-height: 1;
  min-width: 30px;
  min-height: 30px;
  padding: 3px;
}
.modal .primary.full {
  width: 100%;
  margin-top: 17px;
}
.modal .secondary.full {
  width: 100%;
  margin-top: 10px;
}
.result {
  background: #e9f2dc;
  border-radius: 14px;
  padding: 20px;
  margin: 18px 0;
  line-height: 1.7;
  font-size: 13px;
}
.result b {
  font-size: 27px;
  letter-spacing: -1px;
}
.timer-display {
  text-align: center;
  font-size: 72px;
  letter-spacing: -4px;
  margin: 25px 0;
  font-variant-numeric: tabular-nums;
}
.timer-caption {
  text-align: center;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 18px;
}
.toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translate(-50%, 30px);
  opacity: 0;
  transition: 0.2s;
  background: var(--ink);
  color: white;
  padding: 14px 22px;
  border-radius: 12px;
  font-size: 12px;
  z-index: 200;
  max-width: calc(100% - 32px);
  pointer-events: none;
  line-height: 1.6;
  box-shadow: 0 4px 24px #0002;
}
.toast.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
.profile-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.profile-intro {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-bottom: 20px;
}
.profile-intro .avatar {
  height: 65px;
  width: 65px;
  font-size: 23px;
}
.profile-intro p {
  font-size: 11px;
  color: var(--muted);
  margin-top: 7px;
}
.profile-intro h2 {
  font-size: 23px;
}
.stack {
  display: grid;
  gap: 13px;
}
.space-top {
  margin-top: 23px;
}
.feed-post {
  margin-bottom: 15px;
}
.post-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.post-head b {
  font-size: 12px;
}
.post-head small {
  display: block;
  font-size: 9px;
  margin-top: 4px;
}
.post-body {
  white-space: pre-wrap;
  font-size: 13px;
  line-height: 1.8;
  overflow-wrap: anywhere;
}
.post-actions {
  display: flex;
  gap: 20px;
  margin-top: 18px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}
.post-actions button {
  background: transparent;
  border: 0;
  font-size: 11px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 7px;
}
.post-actions button.liked {
  color: #b16b50;
}
.post-actions svg {
  width: 16px;
  height: 16px;
}
.club {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}
.club > div {
  flex: 1;
}
.club h3 {
  font-size: 13px;
}
.club p {
  font-size: 10px;
  margin-top: 5px;
  color: var(--muted);
}
.club button {
  font-size: 10px;
  padding: 8px 13px;
  min-height: 34px;
}
.club-mark {
  display: grid;
  place-items: center;
  width: 39px;
  height: 39px;
  background: #e8efd9;
  border-radius: 50%;
  font-size: 18px;
}
.calendar-strip {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  margin: 20px 0;
}
.cal-day {
  border: 1px solid var(--line);
  padding: 13px 4px;
  border-radius: 12px;
  text-align: center;
  background: white;
}
.cal-day small {
  font-size: 9px;
  display: block;
}
.cal-day b {
  font-size: 17px;
  display: block;
  margin-top: 7px;
  font-weight: 500;
}
.cal-day.today {
  background: var(--lime);
  border-color: var(--lime);
}
.cal-day i {
  display: block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #86a85a;
  margin: 7px auto 0;
}
.plan-session {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}
.plan-session > div {
  flex: 1;
}
.plan-session b {
  font-size: 12px;
}
.plan-session small {
  display: block;
  margin-top: 6px;
  font-size: 10px;
}
.check {
  border: 1px solid #d8e0cb;
  min-width: 28px;
  height: 28px;
  border-radius: 50%;
  background: white;
  font-size: 13px;
}
.check.done {
  background: var(--lime);
  border-color: var(--lime);
}
.week-title {
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 24px;
}
.detail-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 20px 0;
  gap: 10px;
}
.detail-stats b {
  font-size: 21px;
  font-weight: 500;
  display: block;
}
.detail-stats small {
  font-size: 9px;
}
.detail-map {
  height: 240px;
  min-height: 240px;
}
.split-row {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.notice {
  padding: 14px 17px;
  border: 1px solid var(--line);
  background: #f0f3e7;
  border-radius: 12px;
  font-size: 11px;
  line-height: 1.8;
  color: #68765d;
  margin: 18px 0;
}
.inline-actions {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  margin-top: 18px;
}
.inline-actions button {
  font-size: 11px;
  padding: 10px 13px;
}
.auth-note {
  font-size: 10px !important;
  line-height: 1.8;
  margin-top: 17px;
}
.feed-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 20px;
}
.metric-highlight {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}
.metric-highlight strong {
  font-size: 24px;
  font-weight: 500;
}
.error-text {
  color: #a64a36;
  font-size: 11px;
  line-height: 1.7;
  margin-top: 12px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
@media (min-width: 1450px) {
  main {
    padding: 0 65px;
  }
  .hero {
    min-height: 330px;
  }
  .hero h2 {
    font-size: 47px;
  }
  .hero-copy {
    width: 55%;
  }
  .dashboard-grid {
    grid-template-columns: 1.4fr 1fr;
  }
}
@media (max-width: 1100px) {
  .sidebar {
    width: 196px;
    padding: 30px 17px;
  }
  .brand {
    font-size: 23px;
  }
  .brand-caption {
    font-size: 6.5px;
    letter-spacing: 1.2px;
  }
  .nav-link {
    font-size: 12px;
    gap: 10px;
  }
  main {
    margin-left: 196px;
    padding: 0 25px;
  }
  .hero {
    padding: 28px;
    min-height: 280px;
  }
  .hero h2 {
    font-size: 34px;
  }
  .stat-card {
    padding: 17px;
  }
  .stat-value {
    font-size: 27px;
  }
  .tracker-layout {
    grid-template-columns: 1fr;
  }
  .tracker-panel {
    display: block;
  }
  .map {
    min-height: 320px;
  }
  .tracker-panel .distance-value {
    font-size: 85px;
  }
  .hero-copy {
    width: 70%;
  }
  .feed-layout {
    grid-template-columns: 1fr;
  }
  .feed-side {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
  }
  .profile-layout {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 760px) {
  .sidebar {
    display: none;
  }
  main {
    margin-left: 0;
    padding: 0 20px;
  }
  .topbar {
    height: 72px;
    margin-bottom: 26px;
  }
  .topbar > span {
    font-size: 8px;
    letter-spacing: 1.3px;
  }
  .date {
    display: none;
  }
  .topbar > div {
    gap: 10px;
  }
  .topbar .avatar {
    width: 33px;
    height: 33px;
  }
  .page-heading {
    margin-bottom: 23px;
  }
  .page-heading h1 {
    font-size: 34px;
    letter-spacing: -1.6px;
  }
  .page-heading p {
    font-size: 11px;
    line-height: 1.7;
    margin-top: 10px;
  }
  .page-heading .tag {
    display: none;
  }
  .hero {
    min-height: 298px;
    padding: 27px 25px;
  }
  .hero-copy {
    width: 83%;
  }
  .hero h2 {
    font-size: 36px;
    letter-spacing: -1.5px;
  }
  .hero p {
    max-width: 230px;
    font-size: 11px;
    line-height: 1.7;
    margin: 18px 0 22px;
  }
  .hero .eyebrow {
    font-size: 8px;
  }
  .hero-art {
    right: -50px;
    width: 70%;
    opacity: 0.45;
  }
  .stats-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 14px;
  }
  .stat-card {
    padding: 17px 18px;
  }
  .stat-value {
    font-size: 30px;
    margin-top: 12px;
  }
  .stat-label {
    font-size: 10px;
  }
  .stat-note {
    font-size: 8px;
  }
  .dashboard-grid {
    grid-template-columns: 1fr;
    gap: 13px;
  }
  .card {
    padding: 21px;
    border-radius: 18px;
  }
  .section-top {
    margin: 25px 0 15px;
  }
  .section-top h2 {
    font-size: 18px;
  }
  .section-top > a,
  .section-top > button {
    font-size: 10px;
  }
  .dashboard-grid > .card:last-child {
    padding-bottom: 22px;
  }
  .plan-small {
    margin-top: 17px;
  }
  .bottom-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    border-top: 1px solid var(--line);
    background: #f7f8f2f5;
    backdrop-filter: blur(12px);
    justify-content: space-around;
    padding: 9px 6px calc(9px + env(safe-area-inset-bottom));
    z-index: 40;
  }
  .bottom-nav .nav-link {
    display: flex;
    flex-direction: column;
    gap: 5px;
    font-size: 8px;
    padding: 7px 9px;
    border-radius: 12px;
    min-width: 52px;
    color: #91998b;
  }
  .bottom-nav .nav-link.active {
    background: transparent;
    color: #1f3521;
  }
  .bottom-nav .nav-link svg {
    width: 20px;
    height: 20px;
  }
  .bottom-nav .nav-link.active svg {
    background: #d6eeaf;
    box-shadow: 0 0 0 6px #d6eeaf;
    border-radius: 4px;
  }
  .bottom-nav .nav-link span {
    margin-top: 3px;
  }
  footer {
    margin-bottom: 110px;
    font-size: 8px;
  }
  .tracker-panel {
    padding: 23px;
  }
  .tracker-metrics {
    margin: 29px 0;
  }
  .distance-value {
    font-size: 86px !important;
    margin-top: 34px;
  }
  .tracker-metrics b {
    font-size: 23px;
  }
  .sport-button {
    padding: 9px 10px;
    font-size: 10px;
  }
  .map {
    min-height: 290px;
  }
  .tracker-status {
    font-size: 9px;
  }
  .plans-grid {
    grid-template-columns: 1fr;
  }
  .plan-art {
    height: 145px;
  }
  .plan-distance {
    font-size: 74px;
  }
  .plan-body {
    padding: 22px;
  }
  .tool-grid {
    gap: 11px;
  }
  .tool-card {
    padding: 21px 18px;
    min-height: 198px;
  }
  .tool-card h3 {
    font-size: 15px;
  }
  .tool-card p {
    font-size: 10px;
    padding-right: 0;
  }
  .tool-card svg {
    width: 25px;
    height: 25px;
    margin-bottom: 19px;
  }
  .tool-card .arrow {
    right: 18px;
    top: 22px;
    font-size: 17px;
  }
  .overlay {
    padding: 15px;
    align-items: center;
  }
  .modal {
    padding: 27px 22px;
    max-height: 88dvh;
  }
  .modal h2 {
    font-size: 23px;
  }
  .toast {
    bottom: 97px;
    font-size: 11px;
    width: max-content;
    max-width: calc(100% - 35px);
  }
  .activity {
    padding: 15px 13px;
    gap: 12px;
  }
  .activity h3 {
    font-size: 12px;
  }
  .activity-icon {
    width: 35px;
    height: 35px;
  }
  .activity-data b {
    font-size: 15px;
  }
  .activity p {
    font-size: 9px;
  }
  .feed-side {
    grid-template-columns: 1fr;
  }
  .form-grid {
    gap: 10px;
  }
  .field {
    margin: 13px 0;
  }
  .notice {
    font-size: 10px;
  }
  .tag {
    font-size: 9px;
  }
  .topbar .tag {
    padding: 6px 9px;
  }
  .chip {
    padding: 9px 13px;
    font-size: 10px;
  }
  .timer-display {
    font-size: 65px;
  }
  .cal-day {
    padding: 11px 3px;
  }
  .cal-day b {
    font-size: 15px;
  }
  .cal-day small {
    font-size: 8px;
  }
  .detail-stats b {
    font-size: 19px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
