/* vo2-max-calculator — extracted from inline <style> */
.evvy-protocol-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.evvy-protocol-chips .evvy-chip {
  padding: 0.375rem 1rem;
  font-size: 0.8125rem;
}
.evvy-protocol-panel {
  display: none;
}
.evvy-protocol-panel.active {
  display: block;
}
.evvy-unit-toggle {
  display: inline-flex;
  gap: 0.35rem;
  margin-left: 0.5rem;
}
.evvy-unit-toggle .evvy-chip {
  padding: 0.2rem 0.625rem;
  font-size: 0.75rem;
}
.evvy-vo2-gauge {
  position: relative;
  width: 220px;
  height: 110px;
  margin: 1.25rem auto 0.5rem;
}
.evvy-vo2-gauge svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}
.evvy-vo2-gauge-value {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1.75rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: var(--evvy-text-primary, #333);
  line-height: 1;
}
.evvy-vo2-gauge-unit {
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--evvy-text-secondary, #666);
  text-align: center;
  margin-top: 0.125rem;
}
.evvy-vo2-gauge-needle {
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: 110px 100px;
}
.evvy-fitness-age-block {
  text-align: center;
  margin: 0.75rem 0;
  padding: 1rem;
  background: color-mix(in srgb, var(--cluster-dark) 6%, transparent);
  border-radius: var(--evvy-radius-lg, 12px);
}
.evvy-fitness-age-label {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--evvy-text-secondary, #666);
  margin-bottom: 0.25rem;
}
.evvy-fitness-age-value {
  font-size: 2rem;
  font-weight: 800;
  color: var(--cluster-dark);
  line-height: 1.1;
}
.evvy-fitness-age-desc {
  font-size: 0.8125rem;
  color: var(--evvy-text-secondary, #666);
  margin-top: 0.25rem;
}
.evvy-category-badge {
  display: inline-block;
  padding: 0.2rem 0.75rem;
  border-radius: var(--bs-border-radius-pill, 50rem);
  font-size: 0.8125rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.4;
}
.evvy-category-badge.cat-superior  { background: #059669; }
.evvy-category-badge.cat-excellent { background: #22c55e; }
.evvy-category-badge.cat-good      { background: #84cc16; }
.evvy-category-badge.cat-fair      { background: #f59e0b; }
.evvy-category-badge.cat-poor      { background: #ef4444; }
.evvy-category-badge.cat-very-poor { background: #dc2626; }
.evvy-percentile-bar {
  position: relative;
  height: 28px;
  border-radius: 14px;
  overflow: visible;
  display: flex;
  margin: 1rem 0 2rem;
}
.evvy-percentile-zone {
  height: 100%;
  position: relative;
}
.evvy-percentile-zone:first-child { border-radius: 14px 0 0 14px; }
.evvy-percentile-zone:last-child { border-radius: 0 14px 14px 0; }
.evvy-percentile-zone-label {
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.5625rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--evvy-text-secondary, #666);
  white-space: nowrap;
}
.evvy-percentile-marker {
  position: absolute;
  top: -10px;
  transform: translateX(-50%);
  z-index: 2;
  transition: left 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.evvy-percentile-marker-arrow {
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 10px solid var(--evvy-text-primary, #333);
  margin: 0 auto;
}
.evvy-percentile-marker-value {
  font-size: 0.6875rem;
  font-weight: 700;
  text-align: center;
  color: var(--evvy-text-primary, #333);
  margin-top: -2px;
  white-space: nowrap;
}
.evvy-confidence-note {
  font-size: 0.75rem;
  color: var(--evvy-text-secondary, #666);
  text-align: center;
  margin-top: 0.25rem;
}
.evvy-zone-table {
  width: 100%;
  font-size: 0.8125rem;
  border-collapse: collapse;
  margin-top: 0.5rem;
}
.evvy-zone-table th {
  background: var(--cluster-dark);
  color: var(--cluster-text, #fff);
  font-weight: 600;
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.625rem 0.75rem;
  text-align: left;
  white-space: nowrap;
}
.evvy-zone-table td {
  padding: 0.5rem 0.75rem;
  border-bottom: 1px solid var(--evvy-border-color, #DEE2E6);
  font-variant-numeric: tabular-nums;
}
.evvy-zone-table tbody tr:last-child td { border-bottom: none; }
.evvy-zone-table tbody tr:hover {
  background: color-mix(in srgb, var(--cluster-dark) 4%, transparent);
}
.evvy-zone-table-wrap {
  border: 1px solid var(--evvy-border-color, #DEE2E6);
  border-radius: var(--evvy-radius-lg, 12px);
  overflow: hidden;
  margin-top: 0.75rem;
}
.evvy-zone-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-right: 0.375rem;
  vertical-align: middle;
}
.evvy-protocol-week-table {
  width: 100%;
  font-size: 0.8125rem;
  border-collapse: collapse;
  margin-top: 0.5rem;
}
.evvy-protocol-week-table th {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--evvy-text-secondary, #666);
  padding: 0.5rem 0.75rem;
  border-bottom: 2px solid var(--evvy-border-color, #DEE2E6);
  text-align: left;
}
.evvy-protocol-week-table td {
  padding: 0.5rem 0.75rem;
  border-bottom: 1px solid var(--evvy-border-color, #DEE2E6);
  font-variant-numeric: tabular-nums;
}
.evvy-protocol-week-table tbody tr:last-child td { border-bottom: none; }
.evvy-comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-top: 0.75rem;
}
.evvy-callout {
  background: color-mix(in srgb, var(--cluster-dark) 6%, transparent);
  border: 1px solid var(--evvy-border-color, #DEE2E6);
  border-radius: var(--evvy-radius-lg, 12px);
  padding: 0.875rem 1rem;
  margin-top: 1rem;
  font-size: 0.8125rem;
  color: var(--evvy-text-secondary, #666);
  line-height: 1.55;
}
.evvy-callout strong {
  color: var(--evvy-text-primary, #333);
}
.evvy-time-inputs {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}
.evvy-time-inputs input {
  width: 72px;
  text-align: center;
  font-size: 1.05rem;
  font-weight: 600;
}
.evvy-time-inputs span {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--evvy-text-secondary, #666);
}
[data-bs-theme="dark"] .evvy-percentile-marker-arrow {
  border-top-color: #e0e0e0;
}
[data-bs-theme="dark"] .evvy-percentile-marker-value {
  color: #e0e0e0;
}
[data-bs-theme="dark"] .evvy-callout {
  background: color-mix(in srgb, var(--cluster-dark) 12%, transparent);
}
[data-bs-theme="dark"] .evvy-fitness-age-block {
  background: color-mix(in srgb, var(--cluster-dark) 12%, transparent);
}
[data-bs-theme="dark"] .evvy-zone-table th {
  color: #1a1a2e;
}
[data-bs-theme="dark"] .evvy-zone-table-wrap {
  background: var(--evvy-gray-100, #1E1E1E);
}
[data-bs-theme="dark"] .evvy-vo2-gauge-value {
  color: #e0e0e0;
}
@media (max-width: 575.98px) {
  .evvy-protocol-chips { gap: 0.375rem; }
  .evvy-protocol-chips .evvy-chip { padding: 0.3rem 0.75rem; font-size: 0.75rem; }
  .evvy-vo2-gauge { width: 180px; height: 90px; }
  .evvy-vo2-gauge-value { font-size: 1.4rem; }
  .evvy-fitness-age-value { font-size: 1.6rem; }
  .evvy-comparison-grid { grid-template-columns: 1fr; }
  .evvy-zone-table-wrap { overflow-x: auto; }
  .evvy-percentile-zone-label { font-size: 0.5rem; }
}
