/* line 1, app/assets/stylesheets/design_system/_tokens.scss */
:root {
  --color-bg-light: #ffffff;
  --color-bg-page: #f5f5f5;
  --color-bg-card: #ffffff;
  --color-bg-card-hover: #fafafa;
  --color-bg-card-header: #f5f5f5;
  --color-white: #FFFFFF;
  --color-blue: #00b0d7;
  --color-space: #009bbf;
  --color-green: #67B9A4;
  --color-yellow: #FFC700;
  --color-red: #d0021b;
  --color-pink: #F1A7A3;
  --color-text-main: #1a1a1a;
  --color-text-secondary: #595959;
  --color-text-label: #8a8a8a;
  --color-border-light: #e5e5e5;
  --color-insight-gradient-start: rgba(0, 176, 215, 0.10);
  --color-insight-gradient-end: rgba(0, 176, 215, 0.05);
  --color-hr-rest-line: #00b0d7;
  --secondary-agile-blue-60: rgba(0, 176, 215, 0.3);
  --secondary-agile-blue-10: rgba(0, 176, 215, 0.1);
  --Secondary-Agile_Blue: #00b0d7;
  --color-garmin-blue: #00b0d7;
  --color-garmin-blue-hover: #009bbf;
  --glass-bg: #ffffff;
  --glass-border: #e5e5e5;
  --glass-blur: none;
  --ds-space-1: 0.25rem;
  --ds-space-2: 0.5rem;
  --ds-space-3: 0.75rem;
  --ds-space-4: 1rem;
  --ds-space-5: 1.5rem;
  --ds-space-6: 2rem;
  --ds-space-7: 3rem;
  --ds-radius-sm: 2px;
  --ds-radius-md: 4px;
  --ds-radius-lg: 8px;
  --ds-radius-pill: 999px;
  --ds-shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.06);
  --ds-shadow-md: 0 2px 8px rgba(0, 0, 0, 0.08);
  --ds-shadow-lg: 0 4px 16px rgba(0, 0, 0, 0.10);
}

/* line 1, app/assets/stylesheets/design_system/_base.scss */
*, *::before, *::after {
  box-sizing: border-box;
}

/* line 5, app/assets/stylesheets/design_system/_base.scss */
body {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  color: var(--color-text-main);
  background-color: var(--color-bg-page);
  margin: 0;
  text-align: center;
  padding: 0;
  min-height: 100vh;
}

/* line 16, app/assets/stylesheets/design_system/_base.scss */
p, span {
  font-size: 1rem;
  line-height: 1.5;
}

/* line 21, app/assets/stylesheets/design_system/_base.scss */
.label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text-label);
  text-transform: uppercase;
}

/* line 1, app/assets/stylesheets/design_system/_typography.scss */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Inter', sans-serif;
  padding: 0;
  margin: 0;
  line-height: 1.25;
  color: var(--color-text-main);
}

/* line 8, app/assets/stylesheets/design_system/_typography.scss */
h1.centered, h2.centered, h3.centered, h4.centered, h5.centered, h6.centered {
  margin: auto;
  text-align: center;
  width: 100%;
}

/* line 15, app/assets/stylesheets/design_system/_typography.scss */
h1 {
  font-size: 1.5rem;
  font-weight: 700;
}

/* line 16, app/assets/stylesheets/design_system/_typography.scss */
h2 {
  font-size: 1.25rem;
  font-weight: 600;
}

/* line 17, app/assets/stylesheets/design_system/_typography.scss */
h3 {
  font-size: 1.0625rem;
  font-weight: 600;
}

/* line 18, app/assets/stylesheets/design_system/_typography.scss */
h4 {
  font-size: 0.9375rem;
  font-weight: 600;
}

/* line 19, app/assets/stylesheets/design_system/_typography.scss */
h5 {
  font-size: 0.875rem;
  font-weight: 600;
}

/* line 20, app/assets/stylesheets/design_system/_typography.scss */
h6 {
  font-size: 0.75rem;
  font-weight: 600;
}

/* line 22, app/assets/stylesheets/design_system/_typography.scss */
.ds-heading {
  font-family: 'Inter', sans-serif;
  color: var(--color-text-main);
  margin: 0;
  line-height: 1.25;
}

/* line 28, app/assets/stylesheets/design_system/_typography.scss */
.ds-heading--h1 {
  font-size: 1.5rem;
  font-weight: 700;
}

/* line 29, app/assets/stylesheets/design_system/_typography.scss */
.ds-heading--h2 {
  font-size: 1.25rem;
  font-weight: 600;
}

/* line 30, app/assets/stylesheets/design_system/_typography.scss */
.ds-heading--h3 {
  font-size: 1.0625rem;
  font-weight: 600;
}

/* line 31, app/assets/stylesheets/design_system/_typography.scss */
.ds-heading--h4 {
  font-size: 0.9375rem;
  font-weight: 600;
}

/* line 34, app/assets/stylesheets/design_system/_typography.scss */
.ds-subheading {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-secondary);
  margin: 0 0 var(--ds-space-3);
  text-align: left;
}

/* line 45, app/assets/stylesheets/design_system/_typography.scss */
.ds-text {
  font-size: 0.9375rem;
  color: var(--color-text-main);
  line-height: 1.5;
}

/* line 50, app/assets/stylesheets/design_system/_typography.scss */
.ds-text--small {
  font-size: 0.8125rem;
  line-height: 1.4;
}

/* line 1, app/assets/stylesheets/design_system/_container.scss */
.ds-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--ds-space-6);
  /* Top/bottom breathing room used by the profile hub + wellness detail
     pages so they don't have to inline `margin: 20px auto 50px` on the
     wrapper. */
}

/* line 6, app/assets/stylesheets/design_system/_container.scss */
.ds-container--narrow {
  max-width: 800px;
}

/* line 7, app/assets/stylesheets/design_system/_container.scss */
.ds-container--wide {
  max-width: 1440px;
}

/* line 12, app/assets/stylesheets/design_system/_container.scss */
.ds-container--page {
  margin-top: 20px;
  margin-bottom: 50px;
}

@media (max-width: 768px) {
  /* line 1, app/assets/stylesheets/design_system/_container.scss */
  .ds-container {
    padding: 0 var(--ds-space-4);
  }
}

/* line 19, app/assets/stylesheets/design_system/_container.scss */
.ds-ml-auto {
  margin-left: auto;
}

/* line 1, app/assets/stylesheets/design_system/_buttons.scss */
.ds-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--ds-space-2);
  padding: var(--ds-space-3) var(--ds-space-4);
  border: 1px solid transparent;
  border-radius: var(--ds-radius-sm);
  background: transparent;
  color: var(--color-text-main);
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
  white-space: nowrap;
}

/* line 20, app/assets/stylesheets/design_system/_buttons.scss */
.ds-btn:disabled, .ds-btn[disabled] {
  opacity: 0.6;
  cursor: default;
  pointer-events: none;
}

/* line 27, app/assets/stylesheets/design_system/_buttons.scss */
.ds-btn--primary {
  background: var(--color-blue);
  color: var(--color-white);
  border-color: var(--color-blue);
}

/* line 32, app/assets/stylesheets/design_system/_buttons.scss */
.ds-btn--primary:hover {
  background: var(--color-space);
  border-color: var(--color-space);
}

/* line 38, app/assets/stylesheets/design_system/_buttons.scss */
.ds-btn--secondary {
  background: #ffffff;
  color: var(--color-text-main);
  border-color: var(--color-border-light);
}

/* line 43, app/assets/stylesheets/design_system/_buttons.scss */
.ds-btn--secondary:hover {
  background: #fafafa;
  border-color: var(--color-blue);
  color: var(--color-blue);
}

/* line 50, app/assets/stylesheets/design_system/_buttons.scss */
.ds-btn--ghost {
  background: transparent;
  color: var(--color-text-secondary);
}

/* line 54, app/assets/stylesheets/design_system/_buttons.scss */
.ds-btn--ghost:hover {
  background: #fafafa;
  color: var(--color-text-main);
}

/* line 60, app/assets/stylesheets/design_system/_buttons.scss */
.ds-btn--danger {
  background: var(--color-red);
  color: var(--color-white);
  border-color: var(--color-red);
}

/* line 65, app/assets/stylesheets/design_system/_buttons.scss */
.ds-btn--danger:hover {
  filter: brightness(0.9);
}

/* line 68, app/assets/stylesheets/design_system/_buttons.scss */
.ds-btn--sm {
  padding: var(--ds-space-2) var(--ds-space-3);
  font-size: 0.8125rem;
}

/* line 73, app/assets/stylesheets/design_system/_buttons.scss */
.ds-btn--icon {
  padding: var(--ds-space-2);
  width: 36px;
  height: 36px;
  border-radius: var(--ds-radius-pill);
}

/* line 1, app/assets/stylesheets/design_system/_cards.scss */
.ds-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border-light);
  border-radius: var(--ds-radius-md);
  box-shadow: var(--ds-shadow-sm);
  padding: var(--ds-space-5);
  display: flex;
  flex-direction: column;
  text-align: left;
}

/* line 11, app/assets/stylesheets/design_system/_cards.scss */
.ds-card--flush {
  padding: 0;
}

/* line 12, app/assets/stylesheets/design_system/_cards.scss */
.ds-card--compact {
  padding: var(--ds-space-4);
}

/* line 14, app/assets/stylesheets/design_system/_cards.scss */
.ds-card--hover {
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

/* line 17, app/assets/stylesheets/design_system/_cards.scss */
.ds-card--hover:hover {
  transform: translateY(-2px);
  background: var(--color-bg-card-hover);
  box-shadow: var(--ds-shadow-md);
}

/* line 25, app/assets/stylesheets/design_system/_cards.scss */
.ds-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

/* line 1, app/assets/stylesheets/design_system/_forms.scss */
.ds-field {
  width: 100%;
  padding: var(--ds-space-3);
  background: #ffffff;
  border: 1px solid var(--color-border-light);
  border-radius: var(--ds-radius-sm);
  color: var(--color-text-main);
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

/* line 13, app/assets/stylesheets/design_system/_forms.scss */
.ds-field:focus {
  border-color: var(--color-blue);
  box-shadow: 0 0 0 2px rgba(0, 176, 215, 0.2);
}

/* line 18, app/assets/stylesheets/design_system/_forms.scss */
.ds-field--select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23595959' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  padding-right: 2rem;
  cursor: pointer;
}

/* line 27, app/assets/stylesheets/design_system/_forms.scss */
.ds-field option {
  background: #ffffff;
  color: var(--color-text-main);
}

/* line 32, app/assets/stylesheets/design_system/_forms.scss */
.ds-field[type="date"]::-webkit-calendar-picker-indicator {
  cursor: pointer;
}

/* line 37, app/assets/stylesheets/design_system/_forms.scss */
.ds-field-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--ds-space-1);
  text-align: left;
}

/* line 48, app/assets/stylesheets/design_system/_forms.scss */
.ds-field-group {
  display: flex;
  flex-direction: column;
  gap: var(--ds-space-1);
  flex: 1;
  min-width: 140px;
}

/* line 1, app/assets/stylesheets/design_system/_section_header.scss */
.ds-section-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--ds-space-4);
  margin-bottom: var(--ds-space-5);
  text-align: left;
}

/* line 9, app/assets/stylesheets/design_system/_section_header.scss */
.ds-section-header__title {
  margin: 0 0 var(--ds-space-1) 0;
  color: var(--color-text-main);
  font-family: 'Inter', sans-serif;
  font-size: 1.125rem;
  font-weight: 600;
}

/* line 17, app/assets/stylesheets/design_system/_section_header.scss */
.ds-section-header__description {
  margin: 0;
  color: var(--color-text-secondary);
  font-size: 0.875rem;
}

/* line 1, app/assets/stylesheets/design_system/_status.scss */
.ds-status {
  display: inline-flex;
  align-items: center;
  gap: var(--ds-space-2);
  padding: var(--ds-space-1) var(--ds-space-3);
  border-radius: var(--ds-radius-pill);
  font-size: 0.75rem;
  font-weight: 600;
  border: 1px solid transparent;
  width: fit-content;
}

/* line 12, app/assets/stylesheets/design_system/_status.scss */
.ds-status--ok {
  background: rgba(103, 185, 164, 0.15);
  color: var(--color-green);
  border-color: rgba(103, 185, 164, 0.3);
}

/* line 18, app/assets/stylesheets/design_system/_status.scss */
.ds-status--warn {
  background: rgba(255, 199, 0, 0.12);
  color: var(--color-yellow);
  border-color: rgba(255, 199, 0, 0.3);
}

/* line 24, app/assets/stylesheets/design_system/_status.scss */
.ds-status--danger {
  background: rgba(254, 86, 106, 0.12);
  color: var(--color-red);
  border-color: rgba(254, 86, 106, 0.25);
}

/* line 30, app/assets/stylesheets/design_system/_status.scss */
.ds-status--block {
  display: flex;
  width: auto;
  padding: var(--ds-space-3) var(--ds-space-4);
  border-radius: var(--ds-radius-sm);
  font-size: 0.8125rem;
}

/* line 11, app/assets/stylesheets/design-system.scss */
button,
a {
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  color: var(--Secondary-Agile_Blue);
  font-feature-settings: 'liga' off, 'clig' off;
  font-size: 0.9375rem;
  font-style: normal;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
}

/* line 23, app/assets/stylesheets/design-system.scss */
button.btn,
a.btn {
  display: inline-flex;
  padding: 0.5rem 0.875rem;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  border-radius: var(--ds-radius-sm);
  border: 1px solid var(--secondary-agile-blue-60);
  background: var(--secondary-agile-blue-10);
  font-size: 0.875rem;
  line-height: 1;
  transition: background 0.2s, border-color 0.2s;
}

/* line 36, app/assets/stylesheets/design-system.scss */
button.btn:hover,
a.btn:hover {
  background: var(--secondary-agile-blue-60);
}

/* line 41, app/assets/stylesheets/design-system.scss */
button.text-btn,
a.text-btn {
  font-size: 0.8125rem;
  font-weight: 400;
  line-height: 1.5;
  text-decoration: none;
  color: var(--color-text-label);
  text-transform: none;
  text-align: left;
}

/* line 52, app/assets/stylesheets/design-system.scss */
.inline-container {
  display: inline-block;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  text-align: left;
}

/* line 59, app/assets/stylesheets/design-system.scss */
.inline-container.with-header {
  margin: 7rem auto;
}

/* line 63, app/assets/stylesheets/design-system.scss */
.inline-container.max-width-800 {
  max-width: 800px;
}

/* line 68, app/assets/stylesheets/design-system.scss */
.grid-container {
  display: grid;
  margin: 0 auto;
  width: 100%;
  max-width: 1200px;
}

/* line 74, app/assets/stylesheets/design-system.scss */
.grid-container.with-header {
  margin: 7rem auto;
}

/* line 78, app/assets/stylesheets/design-system.scss */
.grid-container.with-gap {
  row-gap: 1.5rem;
}

/* line 82, app/assets/stylesheets/design-system.scss */
.grid-container.two-column-grid {
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

/* line 87, app/assets/stylesheets/design-system.scss */
.grid-container.three-column-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

/* line 94, app/assets/stylesheets/design-system.scss */
.status {
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 12px;
  padding: 2px 8px;
  text-transform: uppercase;
}

/* line 101, app/assets/stylesheets/design-system.scss */
.status-good {
  background-color: var(--color-green);
  color: white;
}

/* line 106, app/assets/stylesheets/design-system.scss */
.status-improve {
  background-color: var(--color-yellow);
  color: white;
}

/* line 111, app/assets/stylesheets/design-system.scss */
.status-attention {
  background-color: var(--color-red);
  color: white;
}

/* line 118, app/assets/stylesheets/design-system.scss */
.container {
  padding: 2rem;
  max-width: 1440px;
  margin: 0 auto;
}

/* line 124, app/assets/stylesheets/design-system.scss */
.one-column-grid {
  display: grid;
  grid-template-columns: 1fr;
  row-gap: 1.5rem;
  width: 100%;
}

/* line 132, app/assets/stylesheets/design-system.scss */
.card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border-light);
  border-radius: var(--ds-radius-md);
  box-shadow: var(--ds-shadow-sm);
  display: flex;
  flex-direction: column;
  margin: auto;
  padding: 1.25rem;
}

/* line 143, app/assets/stylesheets/design-system.scss */
.card.full-width {
  width: 100%;
  padding: 1.5rem;
}

/* line 148, app/assets/stylesheets/design-system.scss */
.card.max-width-800 {
  max-width: 800px;
}

/* line 152, app/assets/stylesheets/design-system.scss */
.card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

/* line 158, app/assets/stylesheets/design-system.scss */
.card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* line 164, app/assets/stylesheets/design-system.scss */
.card-icon {
  font-size: 1rem;
}

/* line 168, app/assets/stylesheets/design-system.scss */
.card-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* line 174, app/assets/stylesheets/design-system.scss */
.card-hover-effect {
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

/* line 177, app/assets/stylesheets/design-system.scss */
.card-hover-effect:hover {
  border-color: rgba(0, 176, 215, 0.4);
  transform: translateY(-1px);
  box-shadow: var(--ds-shadow-md);
}

/* line 188, app/assets/stylesheets/design-system.scss */
.button-primary {
  background-color: var(--color-blue);
  color: var(--color-white);
  border: none;
  border-radius: 12px;
  padding: 0.6rem 1.2rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

/* line 198, app/assets/stylesheets/design-system.scss */
.button-primary:hover {
  background-color: var(--color-space);
}

/* line 203, app/assets/stylesheets/design-system.scss */
.button-secondary {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--color-blue);
  border-radius: 12px;
  padding: 0.6rem 1.2rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

/* line 213, app/assets/stylesheets/design-system.scss */
.button-secondary:hover {
  background: var(--color-bg-card-hover);
}

/* line 217, app/assets/stylesheets/design-system.scss */
.button-secondary.left-aligned {
  text-align: left;
}

/* line 224, app/assets/stylesheets/design-system.scss */
.insights {
  background: linear-gradient(135deg, var(--color-insight-gradient-start), var(--color-insight-gradient-end));
  border-radius: 24px;
  padding: 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

/* line 233, app/assets/stylesheets/design-system.scss */
.insight-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border-light);
  border-radius: var(--ds-radius-md);
  padding: 1rem 1.25rem;
  box-shadow: var(--ds-shadow-sm);
}

/* line 240, app/assets/stylesheets/design-system.scss */
.insight-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

/* line 249, app/assets/stylesheets/design-system.scss */
.chart-bar {
  border-radius: 8px;
  width: 100%;
  height: 300px;
}

/* line 255, app/assets/stylesheets/design-system.scss */
.chart-section {
  margin-top: 1rem;
}

/* line 259, app/assets/stylesheets/design-system.scss */
.chart-container {
  width: 100%;
  height: 300px;
  margin-top: 1rem;
}

/* line 267, app/assets/stylesheets/design-system.scss */
.bar-aerobic {
  background-color: var(--color-blue);
}

/* line 271, app/assets/stylesheets/design-system.scss */
.bar-strength {
  background-color: var(--color-green);
}

/* line 275, app/assets/stylesheets/design-system.scss */
.bar-other {
  background-color: var(--color-yellow);
}

/* line 281, app/assets/stylesheets/design-system.scss */
.line-hrhigh {
  stroke: var(--color-red);
  stroke-width: 2;
}

/* line 286, app/assets/stylesheets/design-system.scss */
.line-hrrest {
  stroke: var(--color-hr-rest-line);
  stroke-width: 2;
}

/* line 294, app/assets/stylesheets/design-system.scss */
.recovery-card-link {
  text-decoration: none;
  color: inherit;
}

/* line 299, app/assets/stylesheets/design-system.scss */
.recovery-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

/* line 306, app/assets/stylesheets/design-system.scss */
.recovery-icon {
  color: var(--color-blue);
}

/* line 310, app/assets/stylesheets/design-system.scss */
.recovery-status {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--color-border-light);
}

/* line 319, app/assets/stylesheets/design-system.scss */
.metric-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--color-border-light);
  font-size: 0.8125rem;
  line-height: 1.4;
}

/* line 329, app/assets/stylesheets/design-system.scss */
.metric-row:last-child {
  border-bottom: none;
}

/* line 333, app/assets/stylesheets/design-system.scss */
.metric-row .label {
  color: var(--color-text-label);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
}

/* line 341, app/assets/stylesheets/design-system.scss */
.metric-row > span:not(.label) {
  color: var(--color-text-main);
  font-variant-numeric: tabular-nums;
  text-align: right;
}

/* line 347, app/assets/stylesheets/design-system.scss */
.metric-row .raw-data-container {
  width: 90%;
  text-align: left;
  color: var(--color-text-label);
  font-size: 0.6rem;
}

/* line 355, app/assets/stylesheets/design-system.scss */
.metric-section {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding-top: 1.25rem;
  margin-top: 1.25rem;
  border-top: 1px solid var(--color-border-light);
}

/* line 363, app/assets/stylesheets/design-system.scss */
.metric-section:first-of-type {
  padding-top: 0;
  margin-top: 0;
  border-top: 0;
}

/* line 370, app/assets/stylesheets/design-system.scss */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.75rem;
  margin-top: 0.5rem;
}

/* line 377, app/assets/stylesheets/design-system.scss */
.metric-bubble {
  background: var(--color-bg-card);
  border-radius: var(--ds-radius-md);
  padding: 0.75rem 0.875rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  border: 1px solid var(--color-border-light);
  border-left: 3px solid var(--color-blue);
  box-shadow: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

/* line 390, app/assets/stylesheets/design-system.scss */
.metric-bubble:hover {
  box-shadow: var(--ds-shadow-sm);
}

/* line 395, app/assets/stylesheets/design-system.scss */
.metric-label {
  font-size: 0.6875rem;
  color: var(--color-text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

/* line 404, app/assets/stylesheets/design-system.scss */
.metric-value {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--color-text-main);
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
}

/* line 412, app/assets/stylesheets/design-system.scss */
.metric-duration {
  border-left-color: var(--color-blue);
}

/* line 413, app/assets/stylesheets/design-system.scss */
.metric-strain {
  border-left-color: var(--color-green);
}

/* line 414, app/assets/stylesheets/design-system.scss */
.metric-avg-hr {
  border-left-color: var(--color-yellow);
}

/* line 415, app/assets/stylesheets/design-system.scss */
.metric-max-hr {
  border-left-color: var(--color-red);
}

/* line 416, app/assets/stylesheets/design-system.scss */
.metric-calories {
  border-left-color: var(--color-space);
}

/* line 421, app/assets/stylesheets/design-system.scss */
.workout-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 100%;
}

/* line 428, app/assets/stylesheets/design-system.scss */
.workout-stats {
  width: 100%;
}

/* line 433, app/assets/stylesheets/design-system.scss */
.heart-rate-zones {
  width: 100%;
}

/* line 438, app/assets/stylesheets/design-system.scss */
.avatar {
  border-radius: 50%;
  width: 48px;
  height: 48px;
}

/* line 444, app/assets/stylesheets/design-system.scss */
.search-bar,
.text-input {
  border-radius: 12px;
  padding: 0.5rem 1rem;
  width: calc(100% - 2rem);
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  color: var(--color-text-main);
  font-size: 0.95rem;
}

/* line 456, app/assets/stylesheets/design-system.scss */
.ds-alert {
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1rem;
  border: 1px solid;
}

/* line 462, app/assets/stylesheets/design-system.scss */
.ds-alert--danger {
  background-color: rgba(254, 86, 106, 0.1);
  border-color: var(--color-red);
  color: var(--color-red);
}

/* line 468, app/assets/stylesheets/design-system.scss */
.ds-alert--success {
  background-color: rgba(103, 185, 164, 0.1);
  border-color: var(--color-green);
  color: var(--color-green);
}

/* line 474, app/assets/stylesheets/design-system.scss */
.ds-alert--warning {
  background-color: rgba(255, 199, 0, 0.1);
  border-color: var(--color-yellow);
  color: var(--color-yellow);
}

/* line 480, app/assets/stylesheets/design-system.scss */
.ds-alert__heading {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 0.5rem 0;
}

/* line 486, app/assets/stylesheets/design-system.scss */
.ds-alert__list {
  margin: 0;
  padding-left: 1.5rem;
  list-style-type: disc;
}

/* line 491, app/assets/stylesheets/design-system.scss */
.ds-alert__list li {
  margin-bottom: 0.25rem;
  font-size: 0.875rem;
}

@media (max-width: 768px) {
  /* line 500, app/assets/stylesheets/design-system.scss */
  .container {
    padding: 1rem;
  }
  /* line 504, app/assets/stylesheets/design-system.scss */
  h1 {
    font-size: 1.25rem;
  }
  /* line 508, app/assets/stylesheets/design-system.scss */
  .section {
    grid-template-columns: 1fr;
  }
  /* line 513, app/assets/stylesheets/design-system.scss */
  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
    margin-top: 0.5rem;
  }
  /* line 520, app/assets/stylesheets/design-system.scss */
  .metric-bubble {
    padding: 0.625rem 0.75rem;
  }
  /* line 523, app/assets/stylesheets/design-system.scss */
  .metric-bubble .metric-label {
    font-size: 0.625rem;
  }
  /* line 527, app/assets/stylesheets/design-system.scss */
  .metric-bubble .metric-value {
    font-size: 0.9375rem;
  }
}

/* line 533, app/assets/stylesheets/design-system.scss */
.activity-type-label {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  background-color: var(--secondary-agile-blue-10);
  color: var(--Secondary-Agile_Blue);
  font-weight: 500;
  text-transform: capitalize;
}

/* line 544, app/assets/stylesheets/design-system.scss */
.login-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg-light);
  padding: 20px;
}

/* line 553, app/assets/stylesheets/design-system.scss */
.login-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border-light);
  border-radius: 20px;
  padding: 48px 40px;
  max-width: 380px;
  width: 100%;
  text-align: center;
}

/* line 563, app/assets/stylesheets/design-system.scss */
.login-icon {
  margin-bottom: 24px;
}

/* line 566, app/assets/stylesheets/design-system.scss */
.login-icon__img {
  width: 72px;
  height: 72px;
  border-radius: 16px;
}

/* line 573, app/assets/stylesheets/design-system.scss */
.login-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-text-main);
  margin: 0 0 8px;
}

/* line 580, app/assets/stylesheets/design-system.scss */
.login-subtitle {
  color: var(--color-text-secondary);
  margin: 0 0 32px;
  font-size: 14px;
  line-height: 1.5;
}

/* line 587, app/assets/stylesheets/design-system.scss */
.login-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* line 593, app/assets/stylesheets/design-system.scss */
.btn-login {
  background: var(--color-garmin-blue);
  color: var(--color-white);
  border: none;
  padding: 14px 24px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
}

/* line 610, app/assets/stylesheets/design-system.scss */
.btn-login:hover {
  background: var(--color-garmin-blue-hover);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(0, 176, 215, 0.25);
}

/* line 616, app/assets/stylesheets/design-system.scss */
.btn-login:active {
  transform: translateY(0);
}

/* line 621, app/assets/stylesheets/design-system.scss */
.divider {
  margin: 20px 0;
  display: flex;
  align-items: center;
  color: var(--color-text-secondary);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* line 630, app/assets/stylesheets/design-system.scss */
.divider::before, .divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--color-border-light);
}

/* line 638, app/assets/stylesheets/design-system.scss */
.divider::before {
  margin-right: 16px;
}

/* line 642, app/assets/stylesheets/design-system.scss */
.divider::after {
  margin-left: 16px;
}

/* line 647, app/assets/stylesheets/design-system.scss */
.login-footer {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--color-border-light);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

/* line 656, app/assets/stylesheets/design-system.scss */
.login-footer p {
  color: var(--color-text-secondary);
  font-size: 12px;
  margin: 0;
}

/* line 662, app/assets/stylesheets/design-system.scss */
.login-footer__logo {
  width: 120px;
  height: auto;
}

/* Shared: section heading (used above grids of tiles) */
/* line 669, app/assets/stylesheets/design-system.scss */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

/* line 676, app/assets/stylesheets/design-system.scss */
.section-header h3 {
  margin: 0 0 0.25rem 0;
  color: var(--color-text-main);
}

/* line 681, app/assets/stylesheets/design-system.scss */
.section-description {
  margin: 0;
  color: var(--color-text-secondary);
  font-size: 0.875rem;
}

/* Shared: tile grid used on the hub and in wellness pages */
/* line 688, app/assets/stylesheets/design-system.scss */
.wellness-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

/* line 695, app/assets/stylesheets/design-system.scss */
.wellness-tile {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.1rem 1.25rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

/* line 706, app/assets/stylesheets/design-system.scss */
.wellness-tile:hover {
  transform: translateY(-2px);
  border-color: rgba(79, 128, 255, 0.35);
}

/* line 711, app/assets/stylesheets/design-system.scss */
.wellness-tile--link {
  text-decoration: none;
  color: inherit;
  position: relative;
  cursor: pointer;
}

/* line 718, app/assets/stylesheets/design-system.scss */
.wellness-tile__arrow {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 0.75rem;
  color: var(--color-text-secondary);
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

/* line 729, app/assets/stylesheets/design-system.scss */
.wellness-tile--link:hover .wellness-tile__arrow {
  opacity: 1;
  transform: translateX(0);
  color: var(--color-blue);
}

/* line 735, app/assets/stylesheets/design-system.scss */
.wellness-tile__head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* line 741, app/assets/stylesheets/design-system.scss */
.wellness-tile__icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(79, 128, 255, 0.15);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* line 752, app/assets/stylesheets/design-system.scss */
.wellness-tile__icon i {
  font-size: 0.8rem;
  color: var(--color-blue);
}

/* line 757, app/assets/stylesheets/design-system.scss */
.wellness-tile__label {
  font-size: 0.75rem;
  color: var(--color-text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 600;
}

/* line 765, app/assets/stylesheets/design-system.scss */
.wellness-tile__value {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--color-text-main);
  line-height: 1.1;
}

/* line 772, app/assets/stylesheets/design-system.scss */
.wellness-tile__unit {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  margin-left: 0.15rem;
}

/* line 779, app/assets/stylesheets/design-system.scss */
.wellness-tile__meta {
  font-size: 0.72rem;
  color: var(--color-text-secondary);
}

/* Shared: trend chart row used on the hub (and for future pages) */
/* line 785, app/assets/stylesheets/design-system.scss */
.charts-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

/* line 792, app/assets/stylesheets/design-system.scss */
.chart-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  overflow: hidden;
}

/* line 799, app/assets/stylesheets/design-system.scss */
.chart-card__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 1rem 1.25rem 0.5rem;
}

/* line 806, app/assets/stylesheets/design-system.scss */
.chart-card__title {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text-main);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* line 816, app/assets/stylesheets/design-system.scss */
.chart-card__title i {
  color: var(--color-blue);
  font-size: 0.8rem;
}

/* line 821, app/assets/stylesheets/design-system.scss */
.chart-card__subtitle {
  font-size: 0.7rem;
  color: var(--color-text-secondary);
}

/* line 826, app/assets/stylesheets/design-system.scss */
.chart-card__body {
  padding: 0.5rem 1rem 1rem;
}

/* line 830, app/assets/stylesheets/design-system.scss */
.chart-card__body canvas {
  width: 100% !important;
  height: auto !important;
}

@media (max-width: 768px) {
  /* line 836, app/assets/stylesheets/design-system.scss */
  .charts-row {
    grid-template-columns: 1fr;
  }
}

/* line 841, app/assets/stylesheets/design-system.scss */
.sleep-pending {
  display: inline-block;
  padding: 0.15rem 0.5rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  background: rgba(166, 108, 255, 0.12);
  border: 1px solid rgba(166, 108, 255, 0.25);
  letter-spacing: 0.02em;
  cursor: help;
}

/* line 855, app/assets/stylesheets/design-system.scss */
.settings__title {
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0 0 var(--ds-space-5);
}

/* line 861, app/assets/stylesheets/design-system.scss */
.settings__section {
  margin-bottom: var(--ds-space-5);
}

/* line 865, app/assets/stylesheets/design-system.scss */
.settings__section-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0 0 var(--ds-space-4);
}

/* line 871, app/assets/stylesheets/design-system.scss */
.settings__defs {
  margin: 0;
}

/* line 875, app/assets/stylesheets/design-system.scss */
.settings__def-row {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: var(--ds-space-3);
  padding: var(--ds-space-3) 0;
  border-top: 1px solid var(--color-border-light);
}

/* line 882, app/assets/stylesheets/design-system.scss */
.settings__def-row:first-of-type {
  border-top: 0;
  padding-top: 0;
}

/* line 884, app/assets/stylesheets/design-system.scss */
.settings__def-row dt {
  color: var(--color-text-secondary);
  font-weight: 500;
}

/* line 889, app/assets/stylesheets/design-system.scss */
.settings__def-row dd {
  margin: 0;
  display: flex;
  align-items: center;
  gap: var(--ds-space-3);
  flex-wrap: wrap;
}

/* line 896, app/assets/stylesheets/design-system.scss */
.settings__def-row dd code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.8125rem;
  background: var(--color-bg-card-hover, rgba(0, 0, 0, 0.04));
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
}

@media (max-width: 600px) {
  /* line 875, app/assets/stylesheets/design-system.scss */
  .settings__def-row {
    grid-template-columns: 1fr;
    gap: var(--ds-space-1);
  }
}

/* line 911, app/assets/stylesheets/design-system.scss */
.settings__data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
}

/* line 916, app/assets/stylesheets/design-system.scss */
.settings__data-table th, .settings__data-table td {
  text-align: left;
  padding: var(--ds-space-3) 0;
  border-top: 1px solid var(--color-border-light);
}

/* line 922, app/assets/stylesheets/design-system.scss */
.settings__data-table thead th {
  border-top: 0;
  color: var(--color-text-secondary);
  font-weight: 500;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* line 932, app/assets/stylesheets/design-system.scss */
.settings__col-count {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

/* line 937, app/assets/stylesheets/design-system.scss */
.settings__danger {
  border-color: rgba(220, 53, 69, 0.35);
}

/* line 941, app/assets/stylesheets/design-system.scss */
.settings__danger-copy {
  color: var(--color-text-secondary);
  margin: 0 0 var(--ds-space-4);
  line-height: 1.5;
}

/* line 947, app/assets/stylesheets/design-system.scss */
.settings__delete-form {
  display: flex;
  flex-direction: column;
  gap: var(--ds-space-3);
  align-items: flex-start;
}

/* line 954, app/assets/stylesheets/design-system.scss */
.settings__delete-label {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
}

/* line 958, app/assets/stylesheets/design-system.scss */
.settings__delete-label strong {
  color: var(--color-text-main);
  font-weight: 600;
}

/* line 964, app/assets/stylesheets/design-system.scss */
.settings__delete-input {
  width: 100%;
  max-width: 360px;
  padding: var(--ds-space-3);
  border: 1px solid var(--color-border-light);
  border-radius: var(--ds-radius-sm);
  font-family: inherit;
  font-size: 0.9375rem;
  background: var(--color-bg-card);
  color: var(--color-text-main);
}

/* line 975, app/assets/stylesheets/design-system.scss */
.settings__delete-input:focus {
  outline: none;
  border-color: var(--color-blue);
}
