:root {
  color-scheme: dark;
  --bg: var(--light-canvas, #0d1210);
  --sidebar: var(--light-panel, #101713);
  --panel: var(--light-panel, #171e1b);
  --border: var(--light-border, #29332d);
  --muted: var(--light-muted, #8c9990);
  --text: var(--light-ink, #edf3ed);
  --green: var(--light-accent, #b8ec70);
  --green2: var(--light-accent, #96d94c);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: 14px;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a {
  transition: 0.18s ease;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
.app {
  min-height: 100vh;
  display: flex;
}
.sidebar {
  width: 242px;
  flex-shrink: 0;
  background: var(--light-panel, #111814);
  border-right: 1px solid var(--light-border, #253029);
  position: fixed;
  inset: 0 auto 0 0;
  display: flex;
  flex-direction: column;
  padding: 29px 17px 17px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 0 10px 38px;
}
.brand-mark {
  height: 38px;
  width: 38px;
  border: 2px solid var(--green);
  border-radius: 11px;
  display: grid;
  place-items: center;
  color: var(--green);
  font-size: 25px;
  font-weight: 850;
  line-height: 1;
  transform: rotate(-5deg);
}
.brand-mark span {
  font-size: 15px;
}
.brand strong {
  display: block;
  font-size: 16px;
  letter-spacing: 0.1em;
}
.brand small {
  display: block;
  margin-top: 4px;
  font-size: 8px;
  letter-spacing: 0.21em;
  color: var(--light-muted, #7f8e82);
}
.nav-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.13em;
  color: var(--light-muted, #69786d);
  margin: 0 12px 11px;
}
.nav-label.second {
  margin-top: 32px;
}
.nav {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.nav a {
  height: 43px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 12px;
  color: var(--light-muted, #99a59c);
  border-radius: 7px;
  font-size: 13px;
  font-weight: 550;
}
.nav a:hover {
  background: var(--light-inset, #1b2820);
  color: var(--light-ink, white);
}
.nav a.active {
  background: var(--light-tint, #263b28);
  color: var(--light-accent, #c1f18a);
}
.nav-icon {
  font-size: 20px;
  width: 20px;
  text-align: center;
  font-weight: 400;
}
.soon {
  font-size: 8px;
  letter-spacing: 0.08em;
  color: var(--light-muted, #8e9a8f);
  border: 1px solid var(--light-border, #455346);
  border-radius: 4px;
  padding: 3px 5px;
  margin-left: auto;
}
.side-bottom {
  margin-top: auto;
}
.side-tip {
  background: var(--light-inset, #1b2a1c);
  border: 1px solid var(--light-border, #30442b);
  border-radius: 9px;
  padding: 17px 14px;
  margin-bottom: 16px;
  position: relative;
  overflow: hidden;
}
.side-tip:after {
  content: "";
  position: absolute;
  width: 75px;
  height: 75px;
  border: 1px solid var(--light-border, #41563b);
  border-radius: 50%;
  right: -28px;
  top: 22px;
}
.tip-spark {
  color: var(--green);
  font-size: 21px;
  float: right;
}
.side-tip strong {
  font-size: 13px;
  line-height: 1.4;
}
.side-tip p {
  color: var(--light-muted, #9aa99a);
  font-size: 11px;
  line-height: 1.55;
  margin: 8px 0 0;
  max-width: 150px;
}
.profile {
  border-top: 1px solid var(--light-border, #29342c);
  padding: 16px 3px 0;
  display: flex;
  gap: 10px;
  align-items: center;
}
.avatar,
.top-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--light-tint, #425342);
  color: var(--light-ink, #d7e8d5);
  display: grid;
  place-items: center;
  font-weight: 700;
}
.profile strong {
  font-size: 12px;
  display: block;
}
.profile small {
  font-size: 10px;
  color: var(--light-muted, #78877c);
  display: block;
  margin-top: 4px;
}
.profile-arrow {
  margin-left: auto;
  color: var(--light-muted, #768579);
}
.main {
  margin-left: 242px;
  width: calc(100% - 242px);
}
.topbar {
  height: 64px;
  border-bottom: 1px solid var(--light-border, #232c26);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 42px;
}
.breadcrumbs {
  font-size: 9px;
  letter-spacing: 0.13em;
  color: var(--light-muted, #6e7d72);
  font-weight: 700;
  display: flex;
  gap: 13px;
}
.breadcrumbs i {
  font-style: normal;
  color: var(--light-muted, #414e44);
}
.breadcrumbs b {
  color: var(--light-muted, #aebbb0);
}
.top-right {
  display: flex;
  align-items: center;
  gap: 19px;
}
.local-badge {
  font-size: 9px;
  letter-spacing: 0.1em;
  color: var(--light-muted, #95a49a);
}
.local-badge i {
  display: inline-block;
  background: var(--light-highlight, #9ce05c);
  border-radius: 50%;
  width: 6px;
  height: 6px;
  margin-right: 7px;
}
.top-avatar {
  width: 30px;
  height: 30px;
  font-size: 11px;
}
.content {
  max-width: 1640px;
  margin: auto;
  padding: 37px 42px 20px;
}
.heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 31px;
}
.eyebrow,
.section-kicker {
  font-size: 9px;
  letter-spacing: 0.15em;
  font-weight: 750;
  color: var(--light-muted, #91a18f);
}
.eyebrow span {
  display: inline-block;
  width: 18px;
  height: 2px;
  background: var(--green);
  vertical-align: middle;
  margin-right: 8px;
}
.heading h1 {
  font-size: 35px;
  letter-spacing: -0.045em;
  margin: 12px 0 9px;
  line-height: 1.08;
}
.wave,
.accent {
  color: var(--green);
}
.wave {
  font-size: 22px;
  vertical-align: 5px;
}
.heading p,
.panel-head p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}
.button {
  border: 0;
  border-radius: 6px;
  padding: 12px 16px;
  font-weight: 700;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  white-space: nowrap;
}
.button.primary {
  background: var(--green);
  color: #182316;
}
.button.primary:hover {
  background: var(--light-highlight, #cef7a1);
}
.button.primary span {
  font-size: 18px;
  line-height: 10px;
}
.button.light {
  background: var(--light-highlight, #d5f5b6);
  color: #172717;
}
.button.light:hover {
  background: var(--light-highlight-hover, #e4ffd0);
}
.button.secondary {
  background: var(--light-tint, #29342d);
  color: var(--light-ink, #d9e6dc);
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 16px;
}
.stat,
.panel,
.program-card,
.equipment-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 9px;
}
.stat {
  padding: 19px 20px 17px;
  min-height: 135px;
}
.stat-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--light-muted, #9aa89c);
  letter-spacing: 0.1em;
  font-size: 9px;
  font-weight: 700;
}
.stat-icon {
  width: 30px;
  height: 30px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  font-size: 16px;
}
.stat-icon.green {
  color: var(--light-accent, #a9e974);
  background: var(--light-tint, #293d28);
}
.stat-icon.blue {
  color: var(--light-violet-ink, #8fb8dd);
  background: var(--light-violet-surface, #253641);
}
.stat-icon.purple {
  color: var(--light-danger, #c2a1e6);
  background: var(--light-violet-surface, #362d3e);
}
.stat-icon.amber {
  color: var(--light-warn, #e6c88b);
  background: var(--light-tint, #3e3929);
}
.stat-number {
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.04em;
  margin-top: 13px;
}
.stat-number small {
  color: var(--light-muted, #8e9d91);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0;
}
.stat-foot {
  color: var(--light-muted, #819085);
  font-size: 10px;
  margin-top: 9px;
}
.mini-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--light-highlight, #a9e974);
  border-radius: 50%;
  margin-right: 4px;
}
.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.75fr) minmax(280px, 0.85fr);
  gap: 16px;
}
.panel {
  padding: 23px;
}
.panel-head {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  align-items: flex-start;
}
.panel-head h2,
.list-heading h2 {
  font-size: 17px;
  letter-spacing: -0.025em;
  margin: 8px 0;
}
.panel-head p {
  font-size: 11px;
}
.panel-head.compact {
  align-items: center;
  margin-bottom: 20px;
}
.panel-head.compact h2 {
  margin-bottom: 0;
}
.period,
select {
  background: var(--light-inset, #1e2821);
  border: 1px solid var(--light-border, #354239);
  color: var(--light-muted, #b6c4b8);
  border-radius: 6px;
  font-size: 10px;
  padding: 9px 11px;
  white-space: nowrap;
}
.period span {
  margin-left: 10px;
}
.chart {
  height: 210px;
  margin-top: 20px;
  position: relative;
}
.chart svg {
  height: 100%;
  width: 100%;
  overflow: visible;
}
.chart-empty {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: var(--light-muted, #a6b5a8);
  font-size: 12px;
  text-align: center;
}
.chart-empty span {
  font-size: 11px;
  color: var(--light-muted, #6e7d72);
}
.chart-legend {
  color: var(--light-muted, #b1bfb2);
  font-size: 10px;
  margin-top: 12px;
}
.chart-legend span {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--green);
  border-radius: 50%;
  margin-right: 5px;
}
.chart-legend small {
  color: var(--light-muted, #758479);
}
.focus-panel {
  position: relative;
  overflow: hidden;
  background: var(--light-tint, #253a26);
  border-color: var(--light-border, #344c30);
  min-height: 320px;
}
.focus-top {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--light-accent, #b8d5ad);
  display: flex;
  align-items: center;
  gap: 8px;
}
.focus-icon {
  font-size: 21px;
  color: var(--green);
}
.focus-panel h2 {
  font-size: 25px;
  letter-spacing: -0.04em;
  line-height: 1.18;
  margin: 20px 0 12px;
  position: relative;
  z-index: 1;
}
.focus-panel h2 span {
  color: var(--green);
}
.focus-panel p {
  font-size: 11px;
  line-height: 1.65;
  color: var(--light-muted, #b5c8b3);
  max-width: 235px;
  position: relative;
  z-index: 1;
}
.focus-panel button {
  margin-top: 13px;
  position: relative;
  z-index: 1;
}
.grip-art {
  position: absolute;
  right: -30px;
  bottom: -96px;
  width: 240px;
  height: 240px;
  opacity: 0.23;
}
.ring {
  position: absolute;
  inset: 0;
  border: 1px solid var(--light-focus, #a5dc87);
  border-radius: 50%;
}
.r2 {
  inset: 22px;
}
.r3 {
  inset: 44px;
}
.grip-letter {
  font-size: 140px;
  font-weight: 900;
  color: var(--light-accent, #9cc489);
  position: absolute;
  left: 65px;
  top: 22px;
}
.text-link {
  font-size: 11px;
  color: var(--light-accent, #b8ed81);
  font-weight: 600;
}
.text-link:hover {
  color: var(--light-accent, #e4ffc5);
}
.text-link span {
  margin-left: 5px;
}
.empty-state {
  min-height: 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--light-muted, #98a99b);
  text-align: center;
  gap: 8px;
}
.empty-state .empty-icon {
  width: 37px;
  height: 37px;
  display: grid;
  place-items: center;
  border: 1px solid var(--light-border, #3a4a3d);
  border-radius: 10px;
  color: var(--light-accent, #a9d990);
  font-size: 19px;
}
.empty-state strong {
  font-size: 12px;
  color: var(--light-muted, #c4d1c5);
}
.empty-state p {
  font-size: 11px;
  color: var(--light-muted, #7f8f82);
  margin: 0;
}
.workout-row {
  display: grid;
  grid-template-columns: 1.6fr 1fr 0.8fr auto;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid var(--light-border, #2a352d);
}
.workout-name {
  font-size: 12px;
  font-weight: 650;
}
.workout-sub {
  font-size: 10px;
  color: var(--light-muted, #859488);
  margin-top: 5px;
}
.row-value {
  font-size: 11px;
  color: var(--light-muted, #b8c7ba);
}
.row-value small {
  display: block;
  color: var(--light-muted, #76867a);
  margin-top: 4px;
}
.delete {
  border: 0;
  background: transparent;
  color: var(--light-muted, #738377);
  font-size: 17px;
  padding: 5px;
}
.delete:hover {
  color: var(--light-danger, #ef9b8f);
}
.week-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--light-border, #2a352d);
  padding: 12px 0;
  color: var(--light-muted, #b3c0b5);
  font-size: 11px;
}
.week-day {
  width: 35px;
  color: var(--light-muted, #829286);
}
.week-label {
  flex: 1;
}
.week-status {
  color: var(--light-accent, #9cdd73);
  font-size: 9px;
}
.schedule-link {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--light-border, #2a352d);
  padding-top: 15px;
  color: var(--light-accent, #b9ec86);
  font-size: 11px;
}
.bottom-note {
  display: flex;
  align-items: center;
  gap: 13px;
  border: 1px solid var(--light-border, #31442b);
  background: var(--light-inset, #1b291c);
  border-radius: 8px;
  padding: 13px 18px;
  margin-top: 16px;
  color: var(--light-muted, #a8b9a6);
}
.bottom-note > span {
  color: var(--green);
  font-size: 19px;
}
.bottom-note p {
  margin: 0;
  flex: 1;
  font-size: 11px;
  line-height: 1.5;
}
.bottom-note strong {
  color: var(--light-ink, #d7e8d2);
}
.bottom-note a {
  font-size: 10px;
  color: var(--light-accent, #b9ec86);
  white-space: nowrap;
}
footer {
  display: flex;
  justify-content: space-between;
  color: var(--light-muted, #5e6d61);
  font-size: 9px;
  letter-spacing: 0.1em;
  margin-top: 33px;
}
footer b {
  color: var(--light-accent, #a4d87d);
}
.hidden {
  display: none !important;
}
.full-panel {
  min-height: 300px;
}
.notice {
  background: var(--light-inset, #1b2920);
  border: 1px solid var(--light-border, #304333);
  padding: 15px 17px;
  border-radius: 7px;
  color: var(--light-muted, #b2c6b3);
  font-size: 12px;
  line-height: 1.5;
}
.filters {
  display: flex;
  gap: 8px;
  margin: 22px 0;
}
.filter {
  background: transparent;
  border: 1px solid var(--light-border, #334038);
  border-radius: 6px;
  color: var(--light-muted, #9eada0);
  padding: 9px 14px;
  font-size: 11px;
}
.filter.active {
  background: var(--light-highlight, #b8ec70);
  border-color: var(--light-focus, #b8ec70);
  color: #192819;
  font-weight: 700;
}
.equipment-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.equipment-card {
  padding: 19px;
  min-height: 155px;
}
.equipment-card-top {
  display: flex;
  justify-content: space-between;
  align-items: start;
}
.equipment-symbol {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--light-tint, #293d28);
  color: var(--light-accent, #b4ea83);
  font-size: 20px;
}
.equipment-card h3 {
  font-size: 14px;
  margin: 17px 0 7px;
}
.equipment-card p {
  font-size: 11px;
  color: var(--light-muted, #8e9c91);
  margin: 0;
}
.equipment-card .resistance {
  font-size: 13px;
  color: var(--light-accent, #c7e9a8);
  margin-top: 13px;
}
.source-note {
  font-size: 11px;
  color: var(--light-muted, #819084);
  line-height: 1.7;
  margin-top: 20px;
}
.source-note a {
  color: var(--light-accent, #b7e98b);
}
.big-chart {
  height: 300px;
}
.progress-notice {
  margin-top: 16px;
}
.program-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.program-card {
  padding: 25px;
}
.featured {
  background: var(--light-tint, #243a25);
  border-color: var(--light-border, #3a5433);
}
.program-card-top {
  display: flex;
  justify-content: space-between;
  color: var(--light-muted, #9bb798);
  font-size: 10px;
}
.pill {
  display: inline-block;
  background: var(--light-tint, #3a5532);
  color: var(--light-accent, #bce99b);
  padding: 7px 9px;
  border-radius: 4px;
  letter-spacing: 0.1em;
  font-size: 9px;
  font-weight: 700;
}
.program-card h2 {
  font-size: 24px;
  letter-spacing: -0.035em;
  margin: 20px 0 10px;
}
.program-card p {
  font-size: 12px;
  line-height: 1.7;
  color: var(--light-muted, #acbeac);
}
.program-meta {
  display: flex;
  gap: 20px;
  border-block: 1px solid var(--light-control, #496044);
  padding: 15px 0;
  margin: 20px 0;
  color: var(--light-ink, #d0e1c9);
  font-size: 11px;
}
.program-details strong {
  font-size: 12px;
}
.program-details p {
  margin-bottom: 22px;
}
.info-card h2 {
  font-size: 21px;
}
.info-card ul {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}
.info-card li {
  display: flex;
  gap: 14px;
  border-top: 1px solid var(--light-border, #2d3930);
  padding: 14px 0;
  color: var(--light-muted, #b4c2b5);
  font-size: 12px;
  line-height: 1.45;
}
.info-card li span {
  color: var(--light-accent, #a8db7a);
  font-size: 10px;
}
.list-heading {
  margin: 35px 0 18px;
}
.schedule-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 10px;
}
.day-card {
  background: var(--light-panel, #171e1b);
  border: 1px solid var(--light-border, #29332d);
  border-radius: 8px;
  padding: 16px;
  min-height: 150px;
}
.day-card h3 {
  font-size: 12px;
  margin: 0 0 16px;
}
.day-card .day-item {
  font-size: 11px;
  line-height: 1.4;
  color: var(--light-accent, #c2eaa5);
  background: var(--light-tint, #293d28);
  border-radius: 5px;
  padding: 9px;
  margin: 5px 0;
  overflow-wrap: anywhere;
}
.day-card .delete {
  float: right;
  font-size: 14px;
}
.day-empty {
  color: var(--light-muted, #66766a);
  font-size: 11px;
}
.community {
  text-align: center;
  padding: 70px 20px;
}
.community-icon {
  display: block;
  color: var(--light-accent, #b8ec70);
  font-size: 42px;
  margin-bottom: 20px;
}
.community h2 {
  font-size: 25px;
  margin: 15px;
}
.community p {
  max-width: 480px;
  margin: 0 auto 25px;
  color: var(--light-muted, #91a195);
  line-height: 1.7;
}
.community .pill {
  margin-top: 5px;
}
dialog {
  border: 1px solid var(--light-border, #39473c);
  background: var(--light-panel, #18211b);
  color: var(--light-ink, #edf3ed);
  border-radius: 11px;
  width: min(500px, calc(100% - 30px));
  padding: 25px;
  box-shadow: 0 20px 100px var(--light-shadow, #000a);
}
dialog::backdrop {
  background: var(--light-overlay, #000b);
}
.modal-head {
  display: flex;
  justify-content: space-between;
  align-items: start;
  margin-bottom: 20px;
}
.modal-head h2 {
  font-size: 23px;
  letter-spacing: -0.03em;
  margin: 8px 0 0;
}
.close {
  background: none;
  border: 0;
  color: var(--light-muted, #9fac9f);
  font-size: 25px;
  line-height: 1;
}
.field {
  display: block;
  margin-bottom: 15px;
  color: var(--light-muted, #c3d0c4);
  font-size: 11px;
  font-weight: 650;
}
.field input,
.field select,
.field textarea {
  display: block;
  width: 100%;
  background: var(--light-panel, #101713);
  border: 1px solid var(--light-border, #35443a);
  border-radius: 6px;
  color: var(--light-ink, #edf3ed);
  padding: 11px 12px;
  margin-top: 7px;
  font-size: 13px;
}
.field textarea {
  resize: vertical;
  min-height: 90px;
}
.field small {
  display: block;
  color: var(--light-muted, #859589);
  margin-top: 6px;
  font-weight: 400;
  line-height: 1.4;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 22px;
}
.form-error {
  color: var(--light-danger, #f4a89e);
  font-size: 12px;
}
.form-error:empty {
  display: none;
}
#toast {
  position: fixed;
  right: 25px;
  bottom: 25px;
  background: var(--light-highlight, #b8ec70);
  color: #192819;
  border-radius: 6px;
  padding: 12px 16px;
  font-weight: 700;
  opacity: 0;
  pointer-events: none;
  transition: 0.2s;
}
#toast.show {
  opacity: 1;
}
@media (max-width: 1100px) {
  .sidebar {
    width: 200px;
  }
  .main {
    margin-left: 200px;
    width: calc(100% - 200px);
  }
  .content {
    padding: 30px 25px;
  }
  .topbar {
    padding: 0 25px;
  }
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .schedule-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (max-width: 760px) {
  .app {
    display: block;
  }
  .sidebar {
    position: static;
    width: auto;
    padding: 14px;
    display: block;
  }
  .brand {
    padding: 0 0 14px;
  }
  .brand-mark {
    width: 32px;
    height: 32px;
    font-size: 20px;
  }
  .nav {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    gap: 5px;
  }
  .nav a {
    white-space: nowrap;
    padding: 0 10px;
    height: 37px;
  }
  .nav-label,
  .nav-label.second,
  .side-bottom,
  .soon {
    display: none;
  }
  .main {
    margin: 0;
    width: 100%;
  }
  .topbar {
    height: 45px;
    padding: 0 17px;
  }
  .top-avatar {
    display: none;
  }
  .content {
    padding: 25px 16px;
  }
  .heading {
    align-items: flex-start;
    flex-direction: column;
  }
  .heading h1 {
    font-size: 30px;
  }
  .stats {
    gap: 8px;
  }
  .stat {
    padding: 15px;
    min-height: 120px;
  }
  .dashboard-grid,
  .program-grid {
    grid-template-columns: 1fr;
  }
  .focus-panel {
    min-height: 270px;
  }
  .equipment-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .schedule-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .bottom-note {
    align-items: flex-start;
  }
  .bottom-note a {
    display: none;
  }
  .workout-row {
    grid-template-columns: 1.3fr 1fr auto;
  }
  .workout-row .effort {
    display: none;
  }
  footer span:last-child {
    display: none;
  }
}
@media (max-width: 430px) {
  .equipment-grid {
    grid-template-columns: 1fr;
  }
  .heading .button {
    width: 100%;
  }
  .period {
    display: none;
  }
}
.language {
  display: flex;
  gap: 2px;
  background: var(--light-panel, #1a241d);
  border: 1px solid var(--light-border, #344239);
  border-radius: 6px;
  padding: 3px;
}
.language button {
  border: 0;
  border-radius: 4px;
  padding: 5px 7px;
  background: transparent;
  color: var(--light-muted, #839386);
  font-size: 10px;
  font-weight: 700;
}
.language button.active {
  background: var(--light-highlight, #b8ec70);
  color: #172316;
}
.language button:focus-visible {
  outline: 2px solid var(--light-focus, #fff);
  outline-offset: 2px;
}

/* GripTrack 2.0 — a restrained, high-contrast training workspace. */
:root {
  --bg: var(--light-canvas, #090e0d);
  --sidebar: var(--light-panel, #0d1411);
  --panel: var(--light-panel, #121b17);
  --border: var(--light-border, #26372d);
  --muted: var(--light-muted, #97a99c);
  --text: var(--light-ink, #f0f7ef);
  --green: var(--light-accent, #c3f56c);
  --green2: var(--light-accent, #93db53);
}
body { background: radial-gradient(ellipse at 75% -20%, var(--light-inset, #1c3020) 0%, transparent 44%), var(--bg); }
.sidebar { background: linear-gradient(180deg,var(--light-panel, #111a14) 0%,var(--light-panel, #0b110d) 100%); border-color:var(--light-border, #243229); }
.brand-mark { border-radius: 12px 4px 12px 4px; background: var(--light-highlight, #bdf16b); color:#111b0f; border:0; box-shadow:0 0 24px var(--light-border, #a5ef5d20); }
.brand-mark span {color:#203817}
.brand strong {letter-spacing:.13em}
.nav a.active {background:linear-gradient(90deg,var(--light-tint, #263e27),var(--light-inset, #1b2a1e)); box-shadow:inset 2px 0 var(--light-focus, #c4f776);color:var(--light-accent, #d2f9a1);}
.nav a:hover {transform:translateX(2px)}
.nav-icon {font-size:17px}
.topbar {background:var(--light-panel, #0d1510b8);backdrop-filter:blur(16px);border-color:var(--light-border, #233127);}
.top-right {gap:13px}.local-badge {font-size:9px;color:var(--light-muted, #a6b9a8)}
.content {padding-top:40px}
.heading h1 {font-size:clamp(32px,3.3vw,45px);font-weight:750;letter-spacing:-.055em}
.heading p {font-size:13px;color:var(--light-muted, #a4b5a7)}
.eyebrow,.section-kicker {letter-spacing:.14em;color:var(--light-muted, #a5b7a5)}
.eyebrow span {width:22px;background:var(--light-highlight, #c3f56c)}
.button {border-radius:8px;padding:13px 18px;font-weight:700;letter-spacing:.01em}
.button.primary {background:var(--light-highlight, #c3f56c);color:#152014;box-shadow:0 5px 28px var(--light-border, #ace76a17)}
.button.primary:hover {background:var(--light-highlight-hover, #d5ff93);transform:translateY(-1px)}
.button:disabled {opacity:.58;cursor:wait;transform:none}
.button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible {outline:2px solid var(--light-focus, #c6f775);outline-offset:3px}
.stats {gap:12px}
.stat,.panel,.program-card,.equipment-card {border-radius:11px;background:linear-gradient(150deg,var(--light-panel, #151f19) 0%,var(--light-panel, #111914) 100%);border:1px solid var(--light-border, #29392e);box-shadow:0 10px 30px var(--light-shadow, #00000014)}
.stat {position:relative;overflow:hidden;min-height:142px}
.stat:after {content:"";position:absolute;right:-32px;bottom:-62px;width:130px;height:130px;border:1px solid var(--light-decorative-border, #a2e86c13);border-radius:50%;box-shadow:0 0 0 22px var(--light-border, #a2e86c06)}
.stat-top {letter-spacing:.12em;color:var(--light-muted, #a5b8a7)}.stat-number {font-size:33px}.stat-number small{color:var(--light-muted, #91a391)}.stat-foot{color:var(--light-muted, #94a899)}
.stat-icon {border-radius:9px}.stat-icon.green{background:var(--light-tint, #263b26)}.stat-icon.blue{background:var(--light-violet-surface, #1d333c)}.stat-icon.purple{background:var(--light-violet-surface, #322b3e)}.stat-icon.amber{background:var(--light-tint, #3b3524)}
.dashboard-grid {gap:12px}.panel {padding:24px}.panel-head h2,.list-heading h2 {font-size:19px}.panel-head p{color:var(--light-muted, #9bad9c)}.chart-panel {min-height:330px;position:relative;overflow:hidden}.chart-panel:before{content:"";position:absolute;left:0;top:0;height:1px;width:36%;background:linear-gradient(90deg,var(--light-highlight, #bff76f),transparent)}
.focus-panel {background:linear-gradient(135deg,var(--light-tint, #253d23) 0%,var(--light-inset, #182b1c) 57%,var(--light-panel, #15221a) 100%);border-color:var(--light-border, #3c5a35);min-height:330px}.focus-panel h2{font-size:clamp(24px,2.3vw,32px);letter-spacing:-.045em}.focus-panel p{font-size:12px;color:var(--light-muted, #bdd0b9)}.focus-panel .button{margin-top:17px}.grip-art {opacity:.35;right:-24px;bottom:-82px}.grip-letter{font-weight:800}.ring{border-color:var(--light-focus, #c9f5ac)}
.recent-panel,.schedule-panel {min-height:280px}.bottom-note{background:var(--light-panel, #17251a);border-color:var(--light-border, #314d30);border-radius:10px}.bottom-note p{font-size:12px}
.equipment-card:hover,.day-card:hover {border-color:var(--light-control, #476747)}.equipment-symbol{background:var(--light-tint, #273c27)}.period,select {border-color:var(--light-border, #394a3c)}
.program-card.featured {background:linear-gradient(145deg,var(--light-tint, #2b4729),var(--light-inset, #1b2c1d));border-color:var(--light-control, #405d39)}.program-card h2 {font-size:25px}
.day-card {background:var(--light-panel, #141e17);border-color:var(--light-border, #2c3d30)}.notice {background:var(--light-inset, #1a2a1e);border-color:var(--light-border, #38543b)}
input,select,textarea {accent-color:var(--light-focus, #b9ef6d)}
.field input,.field select,.field textarea,.search-form input {background:var(--light-panel, #0b130e);border:1px solid var(--light-border, #3a4b3c);color:var(--light-ink, #f0f7ef);border-radius:7px;padding:12px 13px;transition:border-color .2s,box-shadow .2s}
.field input:focus,.field select:focus,.field textarea:focus,.search-form input:focus {border-color:var(--light-focus, #b6ed71);box-shadow:0 0 0 3px var(--light-border, #b6ed7112)}
.field small {color:var(--light-muted, #99aa9b)}.field {color:var(--light-ink, #cbd8cb)}
dialog {background:var(--light-panel, #142018);border-color:var(--light-border, #3d5140);border-radius:14px;max-height:min(90vh,800px);overflow:auto}dialog::backdrop {background:var(--light-dialog-overlay, #020806d9);backdrop-filter:blur(5px)}
.language {background:var(--light-panel, #111e15);border-color:var(--light-border, #344a37)}.language button.active {background:var(--light-highlight, #c3f56c)}
.sr-only {position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
/* Sign-in is an actual entry point, rather than a decorative profile card. */
.auth-screen {min-height:100vh;background:radial-gradient(circle at 20% 30%,var(--light-tint, #223d24) 0%,var(--light-panel, #101b13) 30%,var(--light-panel, #080d0a) 68%);padding:30px clamp(20px,5vw,80px);overflow:hidden}
.auth-shell {max-width:1460px;margin:auto;min-height:calc(100vh - 60px);display:flex;flex-direction:column}.auth-brand {padding:0}.auth-layout {display:grid;grid-template-columns:1.25fr minmax(340px,440px);align-items:center;gap:clamp(50px,8vw,140px);flex:1;padding:45px 0}.auth-intro{position:relative;align-self:center}.auth-intro h1 {font-size:clamp(48px,6vw,88px);line-height:1.01;letter-spacing:-.065em;margin:24px 0;font-weight:780}.auth-intro h1 em {font-style:normal;color:var(--light-accent, #c3f56c)}.auth-intro>p {font-size:15px;line-height:1.7;color:var(--light-muted, #adbeaf);max-width:440px}.auth-visual {height:245px;max-width:530px;margin-top:40px;position:relative;overflow:hidden;border:1px solid var(--light-border, #3d5b3a);border-radius:14px;background:linear-gradient(115deg,var(--light-tint, #223a21),var(--light-inset, #17291a));box-shadow:0 25px 90px var(--light-shadow, #0005)}.auth-visual:before {content:"";position:absolute;inset:0;background-image:linear-gradient(var(--light-pattern, #bcef9a0d) 1px,transparent 1px),linear-gradient(90deg,var(--light-pattern, #bcef9a0d) 1px,transparent 1px);background-size:30px 30px;mask-image:linear-gradient(90deg,transparent,#000)}.auth-visual>span,.auth-visual>small {position:absolute;z-index:1;font-size:9px;line-height:1.5;letter-spacing:.18em;font-weight:700;color:var(--light-accent, #a4c49e);left:20px;top:20px}.auth-visual>small {top:auto;bottom:20px}.auth-visual>strong{position:absolute;left:47%;top:25%;font-size:120px;line-height:1;color:var(--light-accent, #c6f59c);opacity:.75;transform:rotate(-10deg)}.auth-visual>strong span{font-size:.6em}.auth-orbit {position:absolute;border:1px solid var(--light-decorative-border, #c3f6a64d);border-radius:50%;width:260px;height:260px;top:-10px;left:40%;}.auth-orbit.two{inset:12px auto auto calc(40% + 22px);width:216px;height:216px}.auth-orbit.three{inset:34px auto auto calc(40% + 44px);width:172px;height:172px}
.auth-card{background:var(--light-panel, #111b15ed);border:1px solid var(--light-border, #354b38);border-radius:16px;padding:30px;box-shadow:0 30px 100px var(--light-shadow, #0007)}.auth-card-top {display:flex;align-items:center;justify-content:space-between}.auth-card h2{font-size:28px;letter-spacing:-.045em;margin:25px 0 8px}.auth-subtitle{font-size:13px;color:var(--light-muted, #9db0a0);margin:0 0 25px}.auth-tabs{display:flex;padding:4px;background:var(--light-panel, #0b130e);border:1px solid var(--light-border, #2b3b2e);border-radius:8px;margin-bottom:25px}.auth-tabs button {flex:1;border:0;background:transparent;color:var(--light-muted, #94a997);padding:10px;border-radius:6px;font-size:12px;font-weight:650}.auth-tabs button.active{background:var(--light-tint, #2a3d2c);color:var(--light-accent, #d8f4c5)}.auth-card .field{font-size:12px;margin-bottom:19px}.auth-submit{width:100%;margin-top:9px}.auth-privacy {display:flex;gap:13px;border-top:1px solid var(--light-border, #2c3d30);margin-top:25px;padding-top:20px;color:var(--light-accent, #b7f08c)}.auth-privacy p{font-size:11px;color:var(--light-muted, #91a895);line-height:1.6;margin:0}.auth-privacy strong{color:var(--light-ink, #cbdcca)}.auth-bottom{display:flex;justify-content:space-between;color:var(--light-muted, #789078);font-size:9px;font-weight:700;letter-spacing:.16em}
.coach-banner{display:flex;align-items:center;gap:18px;background:linear-gradient(100deg,var(--light-tint, #273f25),var(--light-inset, #1b2c20) 60%,var(--light-panel, #14221b));border:1px solid var(--light-control, #45613c);border-radius:12px;padding:21px 24px;margin:0 0 16px;position:relative;overflow:hidden}.coach-banner:after{content:"";position:absolute;right:13%;width:170px;height:170px;border:1px solid var(--light-decorative-border, #b7e89118);border-radius:50%;box-shadow:0 0 0 20px var(--light-border, #b7e89108),0 0 0 40px var(--light-border, #b7e89106);pointer-events:none}.coach-emblem{display:grid;place-items:center;flex:none;width:48px;height:48px;background:var(--light-highlight, #c3f56c);color:#20301b;border-radius:13px;font-size:24px}.coach-copy{flex:1}.coach-copy h2{font-size:18px;letter-spacing:-.02em;margin:7px 0}.coach-copy p{font-size:11px;color:var(--light-muted, #b3c8b4);margin:0;line-height:1.5}.coach-button{background:var(--light-highlight, #daf3bd);color:#1a2c18;z-index:1}.coach-button:hover{background:var(--light-highlight-hover, #ecffd7)}.coach-modal-intro,.coach-modal-note{color:var(--light-muted, #b7c8b6);font-size:12px;line-height:1.6}.coach-modal-note{border:1px solid var(--light-border, #415939);border-radius:8px;background:var(--light-inset, #1e3020);padding:12px}
.settings-layout{display:grid;grid-template-columns:.75fr 1.25fr;gap:15px;align-items:start}.settings-card h2,.community-search h2{font-size:21px;letter-spacing:-.035em}.settings-description,.community-search>p{color:var(--light-muted, #9cae9f);line-height:1.6;font-size:12px}.account-identity{display:flex;align-items:center;gap:12px;border-block:1px solid var(--light-border, #2b3c30);padding:20px 0;margin:20px 0}.account-identity strong,.account-identity small{display:block}.account-identity small{color:var(--light-muted, #8fa390);margin-top:5px;font-size:11px}.visibility-option{display:flex;align-items:center;gap:13px;padding:15px;margin:10px 0;border:1px solid var(--light-border, #344739);border-radius:9px;cursor:pointer}.visibility-option:has(input:checked){background:var(--light-tint, #223723);border-color:var(--light-control, #83bb5d)}.visibility-option input{width:16px;height:16px}.visibility-icon{width:34px;height:34px;display:grid;place-items:center;background:var(--light-tint, #2c432d);color:var(--light-accent, #b8ef80);border-radius:8px;font-size:18px}.visibility-option strong,.visibility-option small{display:block}.visibility-option small{color:var(--light-muted, #a7baa9);font-size:11px;margin-top:5px;line-height:1.4}.settings-card #privacy-form>.button{margin-top:14px}.search-form {display:flex;gap:10px;margin:22px 0}.search-form input {width:min(100%,380px)}.community-search{max-width:850px}.public-profile{margin-top:24px;border-top:1px solid var(--light-border, #304032);padding-top:18px}.public-profile h3{display:inline-block;margin:0 12px 18px 0}.public-result{display:flex;justify-content:space-between;gap:15px;padding:13px 0;border-top:1px solid var(--light-border, #2b392e)}.public-result small{display:block;color:var(--light-muted, #91a592);margin-top:5px}.public-result span{color:var(--light-accent, #c8eba9)}.profile {cursor:pointer}.profile:hover strong {color:var(--light-accent, #c3f56c)}
@media(max-width:760px){.auth-layout{grid-template-columns:1fr;gap:24px;padding:42px 0}.auth-intro h1{font-size:46px}.auth-visual{display:none}.auth-card{padding:22px}.auth-bottom{margin-top:30px}.coach-banner{flex-wrap:wrap}.coach-copy{min-width:calc(100% - 80px)}.coach-button{width:100%}.settings-layout{grid-template-columns:1fr}.search-form{flex-direction:column}.search-form input{width:100%}.topbar{height:55px}.local-badge{display:none}}
@media (prefers-reduced-motion: reduce){*,*::before,*::after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important}}

/* Equipment ratings keep nominal values separate from calibration data. */
.equipment-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:22px 0}
.equipment-toolbar .filters{margin:0;flex-wrap:wrap}
.unit-control{display:flex;align-items:center;gap:3px;background:var(--light-panel, #121c15);border:1px solid var(--light-border, #34463a);border-radius:7px;padding:3px}
.unit-control>span{padding:0 8px;color:var(--light-muted, #9eafa1);font-size:10px;font-weight:650}
.unit-control button{min-width:38px;border:0;border-radius:4px;background:transparent;color:var(--light-muted, #a5b6a8);font-size:11px;font-weight:700;padding:7px 9px}
.unit-control button.active{background:var(--light-highlight, #b8ec70);color:#172316}
.unit-control button:focus-visible{outline:2px solid var(--light-focus, #d8ffc2);outline-offset:2px}
.nominal{display:flex;justify-content:space-between;align-items:center;gap:10px;border-top:1px solid var(--light-border, #2d3c31);margin-top:17px;padding-top:12px;color:var(--light-muted, #c4d6c5)}
.nominal span{font-size:10px;color:var(--light-muted, #8fa292)}.nominal strong{font-size:15px;color:var(--light-accent, #c6f39a);font-weight:700}
.equipment-measurements{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:12px}
.measurement{padding:10px;background:var(--light-panel, #101b14);border:1px solid var(--light-border, #2b3c2f);border-radius:7px}
.measurement span:first-child{display:block;font-size:10px;font-weight:700;letter-spacing:.06em;color:var(--light-muted, #95a99a);margin-bottom:5px}
.measurement strong{font-size:12px;color:var(--light-ink, #d5e7d5)}.measurement strong .measurement-empty{font-size:11px;color:var(--light-muted, #7f9282);letter-spacing:0;margin:0;font-weight:500}
.equipment-card .calibration-note{color:var(--light-muted, #8da28e);font-size:10px;margin:9px 0 0}
.calibration-form-intro{font-size:11px;color:var(--light-ink, #c4d8c4);font-weight:700;margin:18px 0 12px}
.calibration-form-hint{font-size:11px;line-height:1.5;color:var(--light-muted, #91a494);margin:0}
@media(max-width:560px){.equipment-toolbar{align-items:flex-start;flex-direction:column;gap:12px}.unit-control>span{padding-left:8px}}
.rating-help{border-bottom:1px solid var(--light-border, #2c3b30);padding:14px 3px;color:var(--light-muted, #a4b7a6);font-size:11px;line-height:1.6}
.rating-help summary{cursor:pointer;color:var(--light-accent, #c6e8ad);font-size:11px;font-weight:700}
.rating-help p{max-width:780px;margin:10px 0 0}.rating-sources{display:flex;flex-wrap:wrap;gap:16px;margin-top:10px}.rating-sources a{color:var(--light-accent, #b8ec83);font-weight:600}
.equipment-card .calibration-range{color:var(--light-muted, #83998a);font-size:10px;margin:4px 0 0}.calibration-note a{color:var(--light-accent, #b7e98b);font-weight:700}
.equipment-actions{display:flex;align-items:center;gap:4px}.edit-equipment{border:0;background:transparent;color:var(--light-muted, #91aa95);font-size:17px;padding:5px}.edit-equipment:hover{color:var(--light-accent, #c8f496)}.edit-equipment:focus-visible{outline:2px solid var(--light-focus, #d8ffc2);outline-offset:2px}

/* Community programs: public snapshots and private copies have distinct actions. */
.program-library-heading{display:flex;align-items:end;justify-content:space-between;gap:20px;margin:6px 0 18px}
.program-library-heading h2,.program-collection-heading h2{font-size:22px;letter-spacing:-.035em;margin:7px 0}
.program-library-heading p,.program-collection-heading p{color:var(--light-muted, #9cae9f);font-size:12px;margin:0;line-height:1.5}
.program-search{display:flex;align-items:center;gap:8px;min-width:min(100%,260px);padding:0 12px;background:var(--light-panel, #101b14);border:1px solid var(--light-border, #34493a);border-radius:8px;color:var(--light-muted, #a8c0a8);font-size:19px}
.program-search input{width:100%;border:0;outline:0;background:transparent;color:var(--light-ink, #eff8ef);padding:12px 0;font-size:12px}
.program-search:focus-within{outline:2px solid var(--light-focus, #c6f775);outline-offset:3px}
.community-program-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:12px;align-items:start}
.community-program-grid>.empty-state{grid-column:1/-1}
.community-program-card{min-width:0;padding:20px;background:linear-gradient(150deg,var(--light-panel, #18251c),var(--light-panel, #111a15));border:1px solid var(--light-border, #304235);border-radius:11px}
.community-program-card h3{font-size:18px;letter-spacing:-.025em;line-height:1.3;margin:17px 0 7px;overflow-wrap:anywhere}
.community-program-card .program-description{min-height:1.5em;color:var(--light-muted, #adbeaf);font-size:12px;line-height:1.6;margin:0;overflow-wrap:anywhere}
.program-status{color:var(--light-accent, #c3ed9c);font-weight:750;font-size:9px;letter-spacing:.1em}
.program-version{color:var(--light-muted, #829b86);font-size:10px}
.program-attribution{font-size:11px;color:var(--light-muted, #92a996);margin:15px 0 0}.program-attribution strong{color:var(--light-ink, #cfe3cb);font-weight:650}
.program-card-meta{display:flex;gap:14px;margin-top:15px;color:var(--light-accent, #c5ddbc);font-size:10px;font-weight:700;letter-spacing:.04em}
.program-plan{margin-top:16px;border-top:1px solid var(--light-border, #304035);padding-top:14px;color:var(--light-muted, #a8c0a8);font-size:12px}
.program-plan summary{cursor:pointer;color:var(--light-accent, #bde990);font-weight:650}.program-plan p{color:var(--light-muted, #b4c9b5);line-height:1.7;overflow-wrap:anywhere}
.program-card-actions{display:flex;align-items:center;flex-wrap:wrap;gap:10px 14px;margin-top:18px}
.button.compact{padding:10px 12px;font-size:11px;white-space:normal}
.button.compact:disabled{cursor:default;opacity:.6}
.program-text-button{padding:3px 0;background:none;border:0;color:var(--light-accent, #b8dcb0);font-size:11px;font-weight:650;text-align:left}
.program-text-button:hover{color:var(--light-accent, #d6ffb1)}
.program-text-button:focus-visible{outline:2px solid var(--light-focus, #c6f775);outline-offset:3px}
.program-ownership-note,.program-form-note{font-size:11px;line-height:1.6;color:var(--light-muted, #91a894);margin:15px 0 0}
.program-collection-heading{margin-top:44px}.program-coach{margin-top:20px}
.program-rating-guide{display:flex;align-items:flex-start;gap:13px;margin:0 0 18px;padding:15px 17px;border:1px solid var(--light-border, #334c38);border-radius:12px;background:linear-gradient(105deg,var(--light-inset, #1c3020),var(--light-panel, #142019))}
.program-rating-guide-icon{display:grid;place-items:center;flex:none;width:34px;height:34px;border-radius:10px;background:var(--light-tint, #2c482c);color:var(--light-accent, #d4fa9c);font-size:18px}
.program-rating-guide p{display:grid;gap:4px;margin:0;color:var(--light-muted, #a9c0aa);font-size:11px;line-height:1.5}.program-rating-guide strong{color:var(--light-ink, #e1f2d9);font-size:12px}
.program-rating{margin-top:18px;padding:15px;border:1px solid var(--light-border, #304a36);border-radius:10px;background:linear-gradient(145deg,var(--light-inset, #172a1b),var(--light-panel, #142118))}
.program-rating-label{display:block;color:var(--light-muted, #9db5a0);font-size:10px;font-weight:700;letter-spacing:.035em}
.program-rating-overview{display:flex;align-items:baseline;flex-wrap:wrap;gap:5px;margin-top:7px;color:var(--light-ink, #eef8e7)}
.program-rating-overview strong{font-size:21px;line-height:1;font-weight:750;letter-spacing:-.035em}.program-rating-overview .program-rating-empty{font-size:13px;letter-spacing:0}
.program-rating-icon{color:var(--light-accent, #c8f48e);font-size:19px;line-height:1}.program-rating-max,.program-rating-count{color:var(--light-muted, #a8bfaa);font-size:11px}.program-rating-count{margin-left:4px}.program-rating-count::before{content:'·';margin-right:8px;color:var(--light-muted, #6e8d73)}
.program-vote{margin-top:13px;padding-top:12px;border-top:1px solid var(--light-border, #304735)}.program-vote-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:22px;color:var(--light-muted, #a9c0aa);font-size:10px}.program-vote-heading strong{color:var(--light-ink, #d6e9d2);font-size:11px}.program-vote-heading span{line-height:1.3}
.program-rating-remove{border:0;padding:5px;background:none;color:var(--light-accent, #b5d9ad);font-size:11px;text-decoration:underline;text-underline-offset:3px}.program-rating-remove:disabled{opacity:.45}
.program-star-row{display:flex;align-items:center;gap:7px}.program-stars{display:flex;gap:2px;max-width:100%}
.program-star{display:grid;place-items:center;width:42px;height:44px;padding:0;border:0;border-radius:8px;background:transparent;color:var(--light-muted, #57745c);font-size:27px;line-height:1;cursor:pointer;transition:color .15s,background .15s,transform .15s}
.program-star.selected{color:var(--light-accent, #c8f48e)}.program-star:hover:not(:disabled){color:var(--light-accent, #dafaac);background:var(--light-tint, #283e2a);transform:translateY(-1px)}.program-star:disabled{cursor:wait;opacity:.55}
.program-star:focus-visible,.program-rating-remove:focus-visible{outline:2px solid var(--light-focus, #d8ffc2);outline-offset:2px}.program-vote-value{white-space:nowrap;color:var(--light-muted, #b5cbb3);font-size:11px}.program-rating-own{margin:12px 0 0;color:var(--light-muted, #9fb5a1);font-size:11px;line-height:1.4}
.share-rating{margin:22px 0 0;padding:16px 18px;border:1px solid var(--light-border, #334c38);border-radius:11px;background:var(--light-panel, #15251a)}.share-rating p{margin:10px 0 0;color:var(--light-muted, #a8bfaa);font-size:11px;line-height:1.5}.share-rating a{color:var(--light-accent, #c8f48e);text-underline-offset:3px}
@media(max-width:400px){.community-program-card[data-rating-card]{padding:16px}.program-rating{padding:10px}.program-stars{gap:0}.program-star{width:44px}.program-vote-value{font-size:10px}}
.linked-program{margin-bottom:28px;padding:18px;border:1px solid var(--light-control, #587b46);border-radius:12px;background:var(--light-inset, #1b3020)}
.linked-program>.section-kicker{margin-bottom:12px}.linked-program .community-program-card{background:var(--light-panel, #132218)}
.share-page{min-height:100vh;background:radial-gradient(ellipse at 75% 0,var(--light-tint, #203a25),transparent 42%),var(--light-panel, #0b130e)}
.share-header{max-width:1150px;margin:auto;padding:28px 28px;display:flex;justify-content:space-between;align-items:center}
.share-brand{padding:0}.share-main{max-width:850px;margin:42px auto 100px;padding:0 24px}
.share-back{display:inline-block;margin-bottom:22px;color:var(--light-muted, #aac9aa);font-size:12px;font-weight:650}
.share-program{background:linear-gradient(150deg,var(--light-inset, #1b3020),var(--light-panel, #111b15) 70%);border:1px solid var(--light-border, #3a533d);border-radius:16px;padding:clamp(24px,5vw,48px);box-shadow:0 30px 90px var(--light-shadow, #0004)}
.share-kickers{display:flex;align-items:center;gap:14px}.share-program h1{font-size:clamp(31px,5vw,52px);line-height:1.08;letter-spacing:-.05em;margin:24px 0 12px;overflow-wrap:anywhere}
.share-description{color:var(--light-muted, #b9ccba);font-size:15px;line-height:1.7;overflow-wrap:anywhere}
.share-meta{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;border-block:1px solid var(--light-border, #39523e);margin:30px 0;padding:20px 0}
.share-meta span,.share-meta strong{display:block}.share-meta span{font-size:10px;color:var(--light-muted, #94ab98);margin-bottom:7px}.share-meta strong{font-size:14px;color:var(--light-accent, #d1eac9);overflow-wrap:anywhere}
.share-plan p{white-space:pre-wrap;overflow-wrap:anywhere;color:var(--light-ink, #d1e0d0);font-size:14px;line-height:1.8;margin:17px 0 30px}
.share-actions{display:flex;align-items:center;gap:18px;flex-wrap:wrap}.share-actions p{font-size:11px;color:var(--light-muted, #9fb6a2);line-height:1.5;max-width:250px}.share-message{padding:30px;border:1px solid var(--light-border, #304235);border-radius:12px;color:var(--light-muted, #b6cab7)}
@media(max-width:650px){.program-library-heading{align-items:stretch;flex-direction:column}.program-search{width:100%}.share-header{padding:20px}.share-main{margin-top:26px}.share-meta{grid-template-columns:1fr 1fr}.share-actions .button{width:100%}}

.tonnage-panel{position:relative;overflow:hidden;padding:0;margin-bottom:18px;border:1px solid var(--light-border, #354c39);border-radius:15px;background:radial-gradient(ellipse at 4% 0%,var(--light-tint, #29482d) 0%,transparent 45%),linear-gradient(130deg,var(--light-panel, #17251a),var(--light-panel, #111a15) 72%);box-shadow:0 18px 50px var(--light-shadow, #0003)}
.tonnage-heading,.leaderboard-heading{display:flex;align-items:end;justify-content:space-between;gap:20px}
.tonnage-heading{padding:26px 28px 22px}
.tonnage-heading h2,.leaderboard-heading h2{font-size:20px;letter-spacing:-.035em;margin:7px 0}
.tonnage-heading p,.leaderboard-heading p{font-size:12px;color:var(--light-muted, #a4b9a5);margin:0;line-height:1.5}
.tonnage-periods{display:flex;flex-shrink:0;gap:2px;padding:4px;background:var(--light-panel, #0e1811);border:1px solid var(--light-border, #334838);border-radius:9px}
.tonnage-periods button{border:0;border-radius:6px;padding:9px 14px;background:transparent;color:var(--light-muted, #9eb2a0);font-size:11px;font-weight:700}
.tonnage-periods button:hover{color:var(--light-ink, #e5f5d9)}.tonnage-periods button.active{background:var(--light-highlight, #c5f184);color:#192817;box-shadow:0 2px 10px var(--light-border, #b5e97b22)}
.tonnage-periods button:focus-visible,.tonnage-bar:focus-visible,.tonnage-empty button:focus-visible,.tonnage-explainer summary:focus-visible{outline:2px solid var(--light-focus, #d8ffc2);outline-offset:3px}
.tonnage-summary{display:grid;grid-template-columns:minmax(210px,.75fr) minmax(0,1.5fr);gap:12px;margin:0 28px}
.tonnage-hero,.tonnage-chart{min-width:0;border:1px solid var(--light-border, #344a38);border-radius:11px;background:var(--light-panel, #101b14b8)}
.tonnage-hero{padding:21px 22px;display:flex;flex-direction:column;min-height:245px}
.tonnage-hero-label{display:flex;align-items:center;gap:8px;color:var(--light-muted, #a6bba6);font-size:10px;font-weight:750;letter-spacing:.12em}
.tonnage-signal{width:7px;height:7px;background:var(--light-highlight, #b6ef7d);border-radius:50%;box-shadow:0 0 0 4px var(--light-border, #b6ef7d16)}
.tonnage-hero-number{font-size:clamp(35px,4vw,52px);font-weight:750;letter-spacing:-.065em;line-height:1.05;color:var(--light-accent, #e6ffd2);margin-top:22px;overflow-wrap:anywhere}
.tonnage-hero-number small,.leaderboard-total small{font-size:13px;font-weight:650;letter-spacing:0;color:var(--light-accent, #a1bd9b)}
.tonnage-range{color:var(--light-muted, #93aa96);font-size:11px;line-height:1.5;margin:9px 0 21px}
.tonnage-quality{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:auto;padding-top:14px;border-top:1px solid var(--light-border, #304434)}
.tonnage-quality strong,.tonnage-quality a{display:block;width:max-content;color:var(--light-ink, #e1f1db);font-size:17px;font-weight:700}.tonnage-quality a{color:var(--light-accent, #c0ed91);text-decoration:underline;text-underline-offset:3px}.tonnage-quality span{display:block;color:var(--light-muted, #8fa693);font-size:10px;margin-top:5px;line-height:1.3}
.tonnage-chart{min-height:245px;padding:20px 21px 14px;display:flex;flex-direction:column;justify-content:space-between}
.tonnage-chart-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}
.tonnage-chart-head>div:first-child>span{display:block;color:var(--light-muted, #abc1aa);font-size:10px;font-weight:750;letter-spacing:.11em}
.tonnage-chart-head small{display:block;color:var(--light-muted, #8da391);font-size:10px;margin-top:6px;line-height:1.35}
.tonnage-chart-detail{text-align:right;min-width:0}.tonnage-chart-detail>strong{display:block;color:var(--light-accent, #def4d1);font-size:16px;letter-spacing:-.025em}.tonnage-chart-detail strong small{display:inline;font-size:10px;color:var(--light-accent, #98b494)}
.tonnage-chart-scroll{flex-shrink:0;overflow-x:auto;overflow-y:hidden;scrollbar-color:var(--light-control, #426044) transparent;scrollbar-width:thin}
.tonnage-bars{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);gap:7px;min-width:270px;height:142px;margin-top:17px}
.tonnage-bar{min-width:0;padding:0;border:0;background:none;color:var(--light-muted, #839a86);display:flex;flex-direction:column;align-items:center;justify-content:end;gap:8px;cursor:pointer}
.tonnage-bar:disabled{cursor:default;opacity:.36}.tonnage-bar-track{height:110px;width:100%;display:flex;align-items:end;justify-content:center;border-bottom:1px solid var(--light-border, #344c37)}
.tonnage-bar-svg{display:block;width:min(100%,38px);height:100%;overflow:visible}.tonnage-bar.has-value:hover .tonnage-bar-svg,.tonnage-bar.has-value.is-selected .tonnage-bar-svg{filter:drop-shadow(0 0 8px #a8e97155)}
.tonnage-bar.is-selected .tonnage-bar-label{color:var(--light-accent, #d7f3c7)}.tonnage-bar-label{font-size:10px;line-height:1;text-transform:lowercase;white-space:nowrap}
.tonnage-empty{display:flex;flex:1;flex-direction:column;align-items:flex-start;justify-content:center;gap:8px;min-height:174px}.tonnage-empty>span{display:grid;place-items:center;width:34px;height:34px;border-radius:9px;background:var(--light-tint, #263d29);color:var(--light-accent, #b6eb87);font-size:17px}.tonnage-empty p{max-width:280px;color:var(--light-muted, #a9bca9);font-size:12px;line-height:1.5;margin:3px 0}.tonnage-empty a,.tonnage-empty button{border:0;padding:0;background:none;color:var(--light-accent, #c6eea5);font-size:11px;font-weight:700}
.tonnage-loading{color:var(--light-muted, #a9bca9);font-size:12px;padding:30px 0}
.tonnage-footer{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;padding:18px 28px 23px}
.tonnage-explainer{color:var(--light-muted, #94aa98);font-size:11px;line-height:1.6}.tonnage-explainer summary{cursor:pointer;color:var(--light-muted, #a9beaa);font-weight:650}.tonnage-explainer p{max-width:580px;margin:8px 0 0}
.tonnage-board-link{flex-shrink:0;color:var(--light-accent, #c8efa9);font-size:11px;font-weight:700}.tonnage-board-link:hover{color:var(--light-accent, #e7ffd2)}.tonnage-board-link span{margin-left:5px}
.equipment-source-banner{display:flex;align-items:center;flex-wrap:wrap;gap:7px 12px;margin:12px 0 2px;padding:12px 15px;background:var(--light-inset, #1b2c1d);border:1px solid var(--light-border, #3a5b3c);border-radius:9px}.equipment-source-banner>span{color:var(--light-muted, #9db49b);font-size:9px;font-weight:800;letter-spacing:.12em}.equipment-source-banner a{color:var(--light-accent, #cbf4a7);font-size:12px;font-weight:750;text-decoration:underline;text-underline-offset:3px}.equipment-source-banner small{color:var(--light-muted, #a4b8a4);font-size:11px;line-height:1.4}
.leaderboard-panel{margin-bottom:16px}.leaderboard-periods{display:flex;background:var(--light-panel, #101b14);border:1px solid var(--light-border, #354b38);border-radius:7px;padding:3px}
.leaderboard-periods button{border:0;border-radius:4px;padding:8px 10px;background:transparent;color:var(--light-muted, #9fb4a2);font-size:11px;font-weight:700}
.leaderboard-periods button.active{background:var(--light-highlight, #b8ec70);color:#172316}.leaderboard-periods button:focus-visible{outline:2px solid var(--light-focus, #d8ffc2);outline-offset:2px}
.leaderboard-dates{margin:20px 0 8px;color:var(--light-muted, #8da58f);font-size:10px}.leaderboard-row{display:grid;grid-template-columns:34px 1fr auto;align-items:center;gap:12px;padding:14px 0;border-top:1px solid var(--light-border, #2d4032)}
.leaderboard-rank{display:grid;place-items:center;width:29px;height:29px;border-radius:7px;background:var(--light-tint, #263c29);color:var(--light-accent, #c1ec9c);font-size:11px;font-weight:800}
.leaderboard-athlete small{display:block;color:var(--light-muted, #8da58f);font-size:10px;margin-top:4px}.leaderboard-profile{border:0;padding:0;background:transparent;color:var(--light-ink, #e6f4e3);font-size:12px;font-weight:700;text-align:left;overflow-wrap:anywhere}.leaderboard-profile:hover{color:var(--light-accent, #c5f29d)}.leaderboard-profile:focus-visible{outline:2px solid var(--light-focus, #d8ffc2);outline-offset:3px}
.leaderboard-total{color:var(--light-accent, #d5f4bf);font-size:15px;white-space:nowrap}.leaderboard-message{padding:25px 0;color:var(--light-muted, #9fb4a2);font-size:12px}
.leaderboard-panel>.text-link{display:inline-block;margin-top:15px}.privacy-extras{border-top:1px solid var(--light-border, #2b3c30);margin-top:17px;padding-top:6px}.privacy-extras p{color:var(--light-muted, #94aa98);font-size:11px;line-height:1.6}
.privacy-extras label:has(input:disabled){opacity:.55;cursor:not-allowed}.workout-video-link{display:inline-block;color:var(--light-accent, #bce995);font-size:10px;font-weight:700;margin-top:7px}.workout-video-link:hover{color:var(--light-accent, #dcffb9)}.use-nominal{margin:-7px 0 18px}
@media(max-width:760px){.tonnage-heading{align-items:flex-start;flex-direction:column;padding:22px 20px 18px}.tonnage-periods{width:100%}.tonnage-periods button{flex:1}.tonnage-summary{grid-template-columns:1fr;margin:0 20px;gap:9px}.tonnage-hero{min-height:0}.tonnage-chart{min-height:220px}.tonnage-footer{padding:18px 20px 22px}.tonnage-hero-number{font-size:39px}.tonnage-range{margin-bottom:18px}}
@media(max-width:650px){.leaderboard-heading{align-items:flex-start;flex-direction:column}.leaderboard-periods{width:100%}.leaderboard-periods button{flex:1}.leaderboard-total{font-size:12px}}
@media(max-width:430px){.tonnage-footer{flex-direction:column}.tonnage-chart{padding:17px 14px 12px}.tonnage-bars{min-width:240px;gap:3px}.tonnage-bar-label{font-size:9px}}

/* Certifications: private claims, clear review status, and opt-in showcase. */
.achievement-intro{display:flex;align-items:flex-start;gap:15px;padding:18px 20px;margin-bottom:16px;border:1px solid var(--light-border, #36553b);border-radius:11px;background:var(--light-inset, #1a2b1d);color:var(--light-ink, #dcebd9)}.achievement-intro-icon{flex-shrink:0;display:grid;place-items:center;width:42px;height:42px;border-radius:11px;background:var(--light-tint, #304a30);color:var(--light-accent, #c6f199);font-size:21px}.achievement-intro strong{font-size:13px}.achievement-intro p{max-width:760px;margin:6px 0 0;color:var(--light-muted, #a6bca8);font-size:11px;line-height:1.6}
.achievement-section-head{display:flex;align-items:end;justify-content:space-between;gap:12px;margin-bottom:14px}.achievement-section-head h2{margin:7px 0 0;font-size:20px;letter-spacing:-.03em}.achievement-section-head>span{color:var(--light-muted, #8fa594);font-size:10px}.certification-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.certification-card{min-width:0;padding:20px;border:1px solid var(--light-border, #314638);border-radius:11px;background:linear-gradient(150deg,var(--light-panel, #17241a),var(--light-panel, #111a14))}.certification-top{display:flex;justify-content:space-between;align-items:center;gap:8px;flex-wrap:wrap}.certification-issuer{font-size:10px;font-weight:800;letter-spacing:.07em;color:var(--light-muted, #b7d0b2)}.certification-status{padding:5px 8px;border:1px solid var(--light-border, #4b5544);border-radius:20px;color:var(--light-ink, #d1d7b4);font-size:10px;font-weight:700}.certification-status.is-confirmed{color:var(--light-accent, #c9f3a8);background:var(--light-tint, #263e27);border-color:var(--light-control, #527b4b)}.certification-card h3{font-size:18px;letter-spacing:-.03em;margin:18px 0 8px;overflow-wrap:anywhere}.certification-identity,.certification-hint,.certification-review{font-size:11px;line-height:1.6;color:var(--light-muted, #9eb2a1);overflow-wrap:anywhere}.certification-review strong{color:var(--light-ink, #ccdcca)}.certification-links{display:flex;gap:10px 14px;flex-wrap:wrap;margin:15px 0}.certification-links a,.public-achievement a{color:var(--light-accent, #c5eda5);font-size:11px;font-weight:700;text-decoration:underline;text-underline-offset:3px}.certification-challenge{padding:14px;border:1px solid var(--light-border, #3b543c);border-radius:8px;background:var(--light-panel, #0e1b12)}.certification-challenge span{display:block;color:var(--light-muted, #a6bba8);font-size:10px;font-weight:700}.certification-challenge strong{display:block;color:var(--light-accent, #d8f4c3);font-size:14px;letter-spacing:.06em;overflow-wrap:anywhere;margin-top:6px}.certification-challenge p,.certification-form-intro{font-size:11px;line-height:1.6;color:var(--light-muted, #a3b6a4);margin:9px 0 0}.certification-form-intro{margin:0 0 18px}.certification-share{margin-top:7px;border:1px solid var(--light-control, #739d5e);border-radius:7px;background:var(--light-highlight, #bde986);color:#1d2a1a;padding:9px 12px;font-size:11px;font-weight:750}.certification-share:disabled{cursor:not-allowed;opacity:.5}.certification-actions{display:flex;align-items:center;gap:14px;flex-wrap:wrap;border-top:1px solid var(--light-border, #2d4031);padding-top:14px;margin-top:16px}.certification-actions button{padding:0;border:0;background:none;color:var(--light-muted, #b2cdb1);font-size:10px;font-weight:700}.certification-actions button:hover{color:var(--light-accent, #dcfbc5)}.certification-actions span{margin-left:auto;color:var(--light-accent, #a6cb9b);font-size:10px}.certification-empty{grid-column:1/-1;display:flex;flex-direction:column;align-items:center;text-align:center;padding:38px;border:1px dashed var(--light-border, #3c5141);border-radius:11px;color:var(--light-ink, #d8e8d5)}.certification-empty>span{font-size:23px;color:var(--light-accent, #b8e78a)}.certification-empty strong{margin-top:8px;font-size:13px}.certification-empty p{color:var(--light-muted, #93a998);font-size:11px;line-height:1.5;max-width:330px}
.public-achievements{margin:22px 0}.public-achievements h4{font-size:12px;color:var(--light-muted, #a8bca9)}.public-achievement{display:flex;justify-content:space-between;align-items:center;gap:14px;border-top:1px solid var(--light-border, #304233);padding:14px 0}.public-achievement div{min-width:0}.public-achievement span,.public-achievement strong,.public-achievement small{display:block}.public-achievement span{font-size:10px;color:var(--light-accent, #a9c7a2)}.public-achievement strong{font-size:13px;margin:4px 0;overflow-wrap:anywhere}.public-achievement small{color:var(--light-muted, #91a995);font-size:10px}.public-achievement a{flex-shrink:0}
.certification-registry-link{display:inline-block;margin:-7px 0 17px;color:var(--light-accent, #c5eda5);font-size:11px;font-weight:700;text-decoration:underline;text-underline-offset:3px}.certification-registry-link[hidden]{display:none}
@media(max-width:700px){.certification-grid{grid-template-columns:1fr}.achievement-section-head{align-items:flex-start;flex-direction:column}}

.auth-bottom{flex-wrap:wrap;gap:12px}.auth-bottom a,footer a{color:var(--light-accent, #a7c99e);text-decoration:none}.auth-bottom a:hover,footer a:hover{color:var(--light-accent, #cef49f)}
