:root {
  --my-bg: #eef4fb;
  --my-surface: #f8fbff;
  --my-surface-strong: #ffffff;
  --my-surface-tint: #edf4fd;
  --my-ink: #16324f;
  --my-ink-soft: #5d7692;
  --my-line: rgba(22, 50, 79, 0.1);
  --my-line-strong: rgba(22, 50, 79, 0.18);
  --my-primary: #2e6fb3;
  --my-primary-strong: #1f548d;
  --my-primary-soft: #deebfa;
  --my-accent: #2e6fb3;
  --my-success: #2d7d68;
  --my-warning: #b9852e;
  --my-shadow-1: 0 10px 28px rgba(20, 47, 78, 0.08);
  --my-shadow-2: 0 18px 42px rgba(20, 47, 78, 0.11);
  --my-radius-xl: 10px;
  --my-radius-lg: 8px;
  --my-radius-md: 6px;
  --my-radius-sm: 5px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: var(--my-bg);
}

body.my-shell {
  margin: 0;
  min-height: 100vh;
  color: var(--my-ink);
  font-family: "Avenir Next", "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(46, 111, 179, 0.1), transparent 28%),
    radial-gradient(circle at top right, rgba(46, 111, 179, 0.08), transparent 30%),
    linear-gradient(180deg, #f2f7fd 0%, #eef4fb 100%);
}

.my-shell::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.32) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.32) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.2;
  pointer-events: none;
}

.my-app {
  position: relative;
  width: min(1200px, calc(100% - 1rem));
  margin: 0 auto;
  padding: 0.5rem 0 3rem;
}

.my-topbar {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
}

.my-page {
  position: relative;
  z-index: 1;
}

.my-topbar__surface {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--my-line);
  border-radius: 9px;
  background: rgba(248, 250, 248, 0.78);
  box-shadow: var(--my-shadow-1);
  backdrop-filter: blur(18px);
}

.my-topbar__surface--status-success {
  border-color: #198754;
}

.my-topbar__surface--status-danger {
  border-color: #dc3545;
}

.my-topbar__surface--status-warning {
  border-color: #ffc107;
}

.my-topbar__surface--status-info {
  border-color: #0dcaf0;
}

.my-topbar__surface--status-secondary {
  border-color: #6c757d;
}

.my-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  color: var(--my-ink);
  text-decoration: none;
}

.my-brand__logo {
  display: block;
  width: auto;
  height: 5.8rem;
}

.my-brand__text {
  display: grid;
  gap: 0.06rem;
}

.my-brand__eyebrow {
  font-size: 0.73rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--my-ink-soft);
}

.my-topbar__main {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.my-nav {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.my-topbar__account {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  min-width: 0;
}

.my-topbar__identity {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  padding: 0.45rem 0.55rem 0.45rem 0.45rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(22, 50, 79, 0.08);
}

.my-topbar__avatar {
  flex: 0 0 auto;
}

.my-topbar__avatar img,
.my-topbar__avatar span {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  border: 1px solid var(--my-line);
  background: #fff;
}

.my-topbar__avatar img {
  display: block;
  object-fit: cover;
}

.my-topbar__avatar span {
  background: #f7fafc;
  color: #5d7692;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1;
}

.my-topbar__identity-copy {
  min-width: 0;
}

.my-topbar__label,
.my-topbar__name {
  margin: 0;
}

.my-topbar__label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--my-ink-soft);
}

.my-topbar__name {
  max-width: 15rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 1rem;
  font-weight: 700;
  color: var(--my-ink);
}

.my-nav-flapjacks {
  position: relative;
  z-index: 21;
}

.my-nav-flapjacks__toggle {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 3rem;
  padding: 0.72rem 0.95rem;
  border: 1px solid var(--my-line);
  border-radius: 999px;
  background: var(--my-surface-strong);
  color: var(--my-primary-strong);
  font-weight: 700;
  list-style: none;
  user-select: none;
}

.my-nav-flapjacks__toggle::-webkit-details-marker {
  display: none;
}

.my-nav-flapjacks__icon {
  display: inline-grid;
  gap: 0.22rem;
}

.my-nav-flapjacks__icon span {
  display: block;
  width: 1.05rem;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.my-nav--menu {
  position: absolute;
  top: calc(100% + 0.55rem);
  right: 0;
  z-index: 30;
  display: grid;
  gap: 0.35rem;
  min-width: 12rem;
  padding: 0.45rem;
  border: 1px solid var(--my-line);
  border-radius: 14px;
  background: rgba(248, 251, 255, 0.98);
  box-shadow: var(--my-shadow-2);
  backdrop-filter: blur(16px);
}

.my-nav-flapjacks:not([open]) .my-nav--menu {
  display: none;
}

.my-nav-flapjacks[open] {
  z-index: 30;
}

@media (min-width: 700px) {
  .my-topbar__main {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    width: 100%;
    gap: 1rem;
  }

  .my-brand {
    min-width: 0;
  }

  .my-topbar__identity {
    justify-self: center;
    max-width: min(100%, 30rem);
  }

  .my-nav-flapjacks {
    justify-self: end;
    margin-left: 0;
  }
}

.my-nav--menu .my-nav__link,
.my-nav__logout .button_to,
.my-nav__logout .my-nav__button {
  width: 100%;
}

.my-nav--menu .my-nav__link,
.my-nav__logout .my-nav__button {
  justify-content: flex-start;
}

.my-nav__logout .button_to {
  margin: 0;
}

.my-nav__link,
.my-nav__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.7rem 1rem;
  border-radius: 6px;
  text-decoration: none;
  color: var(--my-primary-strong);
  font-weight: 600;
}

.my-nav__link {
  background: transparent;
}

.care-shell .my-nav__link--active {
  color: var(--my-primary-strong);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}

.care-shell .my-topbar__surface {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
}

.care-shell .my-brand {
  min-width: 0;
}

.care-shell .my-nav {
  justify-content: flex-end;
  min-width: 0;
}

.my-nav__button {
  border: 1px solid var(--my-line);
  background: var(--my-surface-strong);
}

.my-page {
  padding: 1rem 0 4rem;
}

.my-install-banner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 0;
  max-height: 0;
  padding: 0 1rem;
  border: 0 solid rgba(46, 111, 179, 0.18);
  border-radius: var(--my-radius-lg);
  background: rgba(248, 250, 248, 0.92);
  box-shadow: var(--my-shadow-1);
  opacity: 0;
  overflow: clip;
  transform: translateY(-8px);
  transition:
    opacity 220ms ease,
    transform 220ms ease,
    max-height 220ms ease,
    margin 220ms ease,
    padding 220ms ease,
    border-width 220ms ease;
}

.my-install-banner.is-visible {
  margin: 0.25rem 0 0.9rem;
  max-height: 10rem;
  padding: 0.95rem 1rem;
  border-width: 1px;
  opacity: 1;
  transform: translateY(0);
}

.my-install-banner__content {
  min-width: 0;
}

.my-install-banner__title,
.my-install-banner__body {
  margin: 0;
}

.my-install-banner__title {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--my-ink);
}

.my-install-banner__body {
  margin-top: 0.2rem;
  font-size: 0.92rem;
  line-height: 1.45;
  color: var(--my-ink-soft);
}

.my-install-banner__actions {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  flex: 0 0 auto;
}

.my-install-banner__button {
  min-height: 2.35rem;
}

.my-install-banner__dismiss {
  border: 0;
  background: transparent;
  color: var(--my-ink-soft);
  font-weight: 600;
  padding: 0.4rem 0.25rem;
}

.my-page__sheet {
  padding: 0;
}

.my-auth,
.my-hero,
.my-dashboard,
.my-settings,
.my-athlete-detail,
.my-record-detail {
  animation: my-rise 0.45s ease-out;
}

.my-surface {
  background: rgba(248, 250, 248, 0.86);
  border: 1px solid var(--my-line);
  border-radius: var(--my-radius-xl);
  box-shadow: var(--my-shadow-2);
  backdrop-filter: blur(10px);
}

.my-surface--strong {
  background: var(--my-surface-strong);
}

.my-hero {
  display: grid;
  gap: 1rem;
}

.my-hero__content,
.my-hero__panel,
.my-auth__card,
.my-dashboard__header,
.my-athlete-card,
.my-empty-state,
.my-athlete-detail__header,
.my-detail-panel {
  background: rgba(248, 250, 248, 0.9);
  border: 1px solid var(--my-line);
  border-radius: var(--my-radius-xl);
  box-shadow: var(--my-shadow-2);
}

.my-hero__content,
.my-hero__panel,
.my-auth__card,
.my-dashboard__header,
.my-empty-state,
.my-athlete-detail__header,
.my-detail-panel {
  padding: 1.4rem;
}

.my-hero__content {
  position: relative;
  overflow: hidden;
  background: #215b99;
  color: white;
}

.my-hero__content::after {
  content: "";
  position: absolute;
  right: -10%;
  bottom: -18%;
  width: 14rem;
  height: 14rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.09);
}

.my-hero__content h1,
.my-auth__card h1,
.my-dashboard__header h1,
.my-athlete-detail__header h1 {
  margin: 0 0 0.85rem;
  font-size: clamp(2.15rem, 8vw, 4.6rem);
  line-height: 0.96;
  letter-spacing: -0.035em;
}

.my-record-detail .my-athlete-detail__header h1 {
  font-size: clamp(1.85rem, 5vw, 3.3rem);
}

.my-eyebrow,
.my-athlete-card__label {
  display: inline-block;
  margin-bottom: 0.8rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--my-accent);
}

.my-hero__content .my-eyebrow {
  color: rgba(255, 245, 240, 0.88);
}

.my-lead,
.my-auth__intro {
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--my-ink-soft);
}

.my-hero__content .my-lead {
  max-width: 34rem;
  color: rgba(255, 255, 255, 0.85);
}

.my-hero__panel {
  background: rgba(248, 251, 255, 0.92);
}

.my-panel-title {
  margin: 0 0 0.9rem;
  font-size: 1.2rem;
  font-weight: 700;
}

.my-list {
  display: grid;
  gap: 0.75rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.my-list li {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  padding: 0.85rem 0.95rem;
  border-radius: var(--my-radius-md);
  background: rgba(255, 255, 255, 0.72);
}

.my-list li::before {
  content: "";
  flex: 0 0 0.62rem;
  width: 0.62rem;
  height: 0.62rem;
  margin-top: 0.45rem;
  border-radius: 999px;
  background: var(--my-primary);
}

.my-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1.45rem;
}

.my-actions--inline {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 0.8rem;
}

.my-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.85rem 1.2rem;
  border: none;
  border-radius: 6px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.my-button--compact {
  min-height: 2.2rem;
  padding: 0.48rem 0.75rem;
  font-size: 0.92rem;
  line-height: 1.2;
}

.care-message-documents {
  display: grid;
  gap: 0.45rem;
  margin-top: 0.85rem;
  padding-top: 0.8rem;
  border-top: 1px solid var(--my-line);
}

.care-message-documents__label {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--my-ink-soft);
}

.care-message-documents__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: start;
  min-height: 2rem;
  max-width: 100%;
  padding: 0.34rem 0.6rem;
  border: 1px solid rgba(46, 111, 179, 0.18);
  border-radius: 4px;
  background: rgba(222, 235, 250, 0.62);
  color: var(--my-primary-strong);
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
}

.care-message-documents__link:hover,
.care-message-documents__link:focus-visible {
  background: rgba(222, 235, 250, 0.9);
  color: var(--my-primary-strong);
}

.care-message-related-link {
  min-height: 2.35rem;
  padding: 0.56rem 0.85rem;
  box-shadow: none;
}

.care-message-list {
  display: grid;
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--my-line);
  border-radius: 6px;
  background: var(--my-surface-strong);
}

.care-message-unread-count {
  margin: 0;
  color: var(--my-ink-soft);
  font-size: 0.92rem;
  font-weight: 600;
}

.care-message-list__item {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.75rem 1rem;
  padding: 0.95rem 1rem;
  border-bottom: 1px solid var(--my-line);
}

.care-message-list__item:last-child {
  border-bottom: 0;
}

.care-message-list__item--unread {
  background: rgba(222, 235, 250, 0.34);
  box-shadow: inset 3px 0 0 var(--my-success);
}

.care-message-list__main {
  min-width: 0;
}

.care-message-list__header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 0.85rem;
  min-width: 0;
}

.care-message-list__header h3 {
  margin: 0;
  min-width: 0;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.25;
}

.care-message-list__header h3 a {
  display: inline;
  color: var(--my-ink);
  text-decoration: none;
}

.care-message-list__header h3 a:hover,
.care-message-list__header h3 a:focus-visible {
  color: var(--my-primary-strong);
  text-decoration: underline;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.16em;
}

.care-message-list__header h3,
.care-message-list__header h3 a {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.care-message-list__header time {
  justify-self: end;
  color: var(--my-ink-soft);
  font-size: 0.82rem;
  white-space: nowrap;
}

.care-message-list__body {
  margin: 0.28rem 0 0;
  color: var(--my-ink-soft);
  font-size: 0.94rem;
  line-height: 1.42;
}

.care-message-list__body span {
  color: var(--my-ink);
  font-weight: 800;
}

.care-message-list__actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
}

.care-message-list__link {
  display: inline-flex;
  align-items: center;
  min-height: 1.95rem;
  padding: 0.28rem 0.55rem;
  border: 1px solid rgba(46, 111, 179, 0.14);
  border-radius: 4px;
  background: rgba(222, 235, 250, 0.44);
  color: var(--my-primary-strong);
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
}

.care-message-list__link--primary {
  background: rgba(46, 111, 179, 0.1);
  border-color: rgba(46, 111, 179, 0.2);
}

.care-message-list__link:hover,
.care-message-list__link:focus-visible {
  background: rgba(222, 235, 250, 0.78);
  color: var(--my-primary-strong);
}

.my-button:hover,
.my-button:focus-visible,
.my-nav__link:hover,
.my-nav__link:focus-visible {
  transform: translateY(-1px);
}

.my-button--primary {
  background: var(--my-primary);
  color: white;
  box-shadow: 0 12px 24px rgba(46, 111, 179, 0.22);
}

.my-button--ghost {
  background: var(--my-primary-soft);
  color: var(--my-primary-strong);
  border: 1px solid rgba(46, 111, 179, 0.12);
}

.my-button--full {
  width: 100%;
}

.my-status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 1.7rem;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  font-size: 0.83rem;
  font-weight: 700;
}

.my-status-pill--active {
  background: rgba(13, 202, 240, 0.16);
  color: #0b6e84;
}

.my-status-pill--muted {
  background: rgba(93, 118, 146, 0.14);
  color: var(--my-ink-soft);
}

.my-auth {
  display: flex;
  justify-content: center;
}

.my-auth--landing {
  align-items: center;
}

.my-auth__card {
  width: min(100%, 32rem);
  padding: 1.4rem;
  background: rgba(248, 251, 255, 0.96);
}

.my-auth__card--landing h2 {
  margin: 0 0 1rem;
  font-size: 1.35rem;
  line-height: 1.15;
}

.my-form {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.my-field {
  display: grid;
  gap: 0.45rem;
}

.my-field label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--my-ink-soft);
  letter-spacing: 0.02em;
}

.my-field input {
  width: 100%;
  min-height: 3.4rem;
  padding: 0.95rem 1rem;
  border: 1px solid var(--my-line-strong);
  border-radius: var(--my-radius-md);
  background: rgba(255, 255, 255, 0.94);
  color: var(--my-ink);
  font-size: 1rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.my-field input:focus {
  outline: 2px solid rgba(36, 95, 87, 0.24);
  outline-offset: 1px;
  border-color: rgba(36, 95, 87, 0.35);
}

.my-field .password-visibility-control {
  position: relative;
}

.my-field .password-visibility-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--my-primary-strong);
  min-width: 1.75rem;
  min-height: 1.75rem;
  line-height: 1;
}

.my-field .password-visibility-toggle .bi {
  display: block;
  font-size: 1rem;
}

.my-checkbox {
  display: flex;
  gap: 0.65rem;
  align-items: center;
  color: var(--my-ink-soft);
}

.my-dashboard {
  display: grid;
  gap: 1rem;
}

.my-settings {
  display: grid;
  gap: 1rem;
}

.my-dashboard__status-line {
  margin: 0;
  color: var(--my-ink-soft);
  font-size: 1rem;
}

.my-dashboard__status-line--compact {
  font-size: 1.15rem;
  line-height: 1.35;
}

.my-action-panel {
  border-width: 2px;
}

.my-action-panel--clear {
  border-color: #198754;
  background: linear-gradient(180deg, rgba(232, 248, 238, 0.98) 0%, rgba(248, 251, 255, 0.96) 100%);
}

.my-action-panel--active {
  border-color: #0dcaf0;
  background: linear-gradient(180deg, rgba(232, 247, 252, 0.98) 0%, rgba(248, 251, 255, 0.96) 100%);
}

.my-action-panel--watch {
  border-color: #ffc107;
  background: linear-gradient(180deg, rgba(255, 248, 226, 0.98) 0%, rgba(248, 251, 255, 0.96) 100%);
}

.my-settings__intro h1 {
  margin: 0;
  font-size: clamp(2rem, 7vw, 3.4rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
}

.my-settings__section-heading {
  margin-top: 0.4rem;
  padding-top: 0.4rem;
  border-top: 1px solid var(--my-line);
}

.my-settings__actions {
  margin-top: 0.2rem;
}

.my-check-field {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: flex-start;
  gap: 0.6rem;
  color: var(--my-ink);
  font-weight: 700;
  line-height: 1.35;
}

.my-check-field input {
  margin-top: 0.15rem;
}

.my-sms-note {
  margin: 0.3rem 0 0;
  color: var(--my-ink-soft);
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1.4;
}

.my-sms-note strong {
  color: var(--my-ink);
  font-weight: 800;
}

.my-push-cta {
  display: block;
  padding: 0.8rem;
  color: var(--my-ink);
  text-decoration: none;
}

.my-push-cta[hidden] {
  display: none;
}

.my-push-cta:hover {
  color: var(--my-ink);
  text-decoration: none;
}

.my-push-cta strong,
.my-push-cta span {
  display: block;
}

.my-push-cta strong {
  line-height: 1.25;
}

.my-push-cta span {
  margin-top: 0.2rem;
  color: var(--my-ink-soft);
  font-size: 0.88rem;
  line-height: 1.4;
}

.my-push-card {
  display: grid;
  gap: 0.85rem;
}

.my-push-card--unavailable {
  padding: 1rem;
  border: 1px dashed rgba(185, 133, 46, 0.45);
  border-radius: var(--my-radius-md);
  background: rgba(255, 248, 226, 0.55);
}

.my-push-card__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  margin: 0;
  padding: 0.24rem 0.65rem;
  border-radius: 999px;
  background: rgba(185, 133, 46, 0.14);
  color: #8a641e;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.my-action-panel__title {
  margin: 0;
  font-size: 1.35rem;
  line-height: 1.2;
}

.my-action-panel__body {
  margin: 0.7rem 0 0;
  color: var(--my-ink-soft);
  line-height: 1.6;
}

.my-dashboard__header {
  background: rgba(248, 251, 255, 0.96);
}

.my-dashboard__header h1 {
  font-size: clamp(2rem, 7vw, 3.6rem);
}

.my-athlete-grid {
  display: grid;
  gap: 0.95rem;
}

.my-athlete-card {
  display: block;
  padding: 1.15rem;
  background: rgba(248, 251, 255, 0.96);
  border-width: 2px;
}

.my-athlete-card--link {
  color: inherit;
  text-decoration: none;
}

.my-athlete-card--link:hover,
.my-athlete-card--link:focus-visible {
  color: inherit;
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(20, 47, 78, 0.1);
}

.my-athlete-card--status-success {
  border-color: #198754;
}

.my-athlete-card--status-danger {
  border-color: #dc3545;
}

.my-athlete-card--status-warning {
  border-color: #ffc107;
}

.my-athlete-card--status-info {
  border-color: #0dcaf0;
}

.my-athlete-card--status-secondary {
  border-color: #6c757d;
}

.my-athlete-card__identity {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.my-athlete-card__avatar {
  display: flex;
  justify-content: flex-end;
  flex: 0 0 auto;
}

.my-athlete-card__avatar img {
  display: block;
  width: 5.5rem;
  height: 5.5rem;
  object-fit: cover;
  border-radius: var(--my-radius-lg);
  border: 1px solid var(--my-line);
  background: #fff;
}

.my-athlete-card h2 {
  margin: 0.2rem 0 0;
  font-size: 1.4rem;
}

.my-athlete-card__meta {
  display: grid;
  gap: 0.7rem;
  margin-top: 1rem;
}

.my-athlete-card p {
  margin: 0;
}

.my-athlete-card__meta p {
  padding: 0.8rem 0.95rem;
  border-radius: var(--my-radius-md);
  background: rgba(255, 255, 255, 0.7);
  color: var(--my-ink-soft);
}

.my-athlete-card strong {
  color: var(--my-ink);
}

.my-empty-state {
  background: rgba(248, 251, 255, 0.94);
}

.my-athlete-detail,
.my-record-detail {
  display: grid;
  gap: 1rem;
}

.my-athlete-detail__header {
  display: grid;
  gap: 1rem;
  background: rgba(248, 251, 255, 0.96);
  border-width: 2px;
}

.my-athlete-detail__header--compact {
  gap: 0;
  padding: 0.9rem 1.1rem;
}

.my-athlete-detail__identity {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.my-athlete-detail__identity h1 {
  margin: 0.2rem 0 0;
}

.my-athlete-detail__header--status-success {
  border-color: #198754;
}

.my-athlete-detail__header--status-danger {
  border-color: #dc3545;
}

.my-athlete-detail__header--status-warning {
  border-color: #ffc107;
}

.my-athlete-detail__header--status-info {
  border-color: #0dcaf0;
}

.my-athlete-detail__header--status-secondary {
  border-color: #6c757d;
}

.my-athlete-detail__meta {
  display: grid;
  gap: 0.7rem;
  align-content: start;
}

.my-athlete-detail__avatar {
  display: flex;
  justify-content: flex-end;
  flex: 0 0 auto;
}

.my-athlete-detail__avatar img {
  display: block;
  width: 9rem;
  height: 9rem;
  object-fit: cover;
  border-radius: var(--my-radius-lg);
  border: 1px solid var(--my-line);
  background: #fff;
}

.my-athlete-detail__meta p {
  margin: 0;
  padding: 0.8rem 0.95rem;
  border-radius: var(--my-radius-md);
  background: rgba(255, 255, 255, 0.7);
  color: var(--my-ink-soft);
}

.my-athlete-detail__meta strong {
  color: var(--my-ink);
}

.my-athlete-detail__meta:empty {
  display: none;
}

.my-athlete-detail__more {
  border: 0;
  background: transparent;
}

.my-athlete-detail__more-summary {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.2rem 0;
  color: var(--my-primary-strong);
  font-weight: 700;
  list-style: none;
}

.my-athlete-detail__more-summary::-webkit-details-marker {
  display: none;
}

.my-athlete-detail__more[open] .my-athlete-detail__more-summary {
  margin-bottom: 0.55rem;
}

.my-athlete-detail__more-content {
  display: grid;
  gap: 0.7rem;
  padding: 0.2rem 0 0;
}

.my-athlete-detail__more-content p {
  padding: 0;
  background: transparent;
}

.my-detail-grid {
  display: grid;
  gap: 1rem;
}

.my-message-well {
  padding: 1rem;
  border: 1px dashed var(--my-line-strong);
  border-radius: var(--my-radius-md);
  background: rgba(255, 255, 255, 0.72);
}

.my-message-well__title {
  margin: 0;
  font-weight: 700;
}

.my-message-well__body {
  margin: 0.55rem 0 0;
  color: var(--my-ink-soft);
  line-height: 1.6;
}

.my-detail-panel--full {
  grid-column: 1 / -1;
}

.my-detail-panel {
  background: rgba(248, 251, 255, 0.96);
}

.my-detail-panel__heading {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 1rem;
}

.my-detail-panel__heading h2 {
  margin: 0;
  font-size: 1.2rem;
}

.my-detail-panel__heading p {
  margin: 0;
  color: var(--my-ink-soft);
}

.my-toggle-group {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.45rem;
}

.my-toggle-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2rem;
  padding: 0.35rem 0.75rem;
  border: 1px solid var(--my-line-strong);
  border-radius: 999px;
  background: #fff;
  color: var(--my-ink-soft);
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 700;
}

.my-toggle-chip:hover,
.my-toggle-chip:focus-visible {
  color: var(--my-ink);
  text-decoration: none;
}

.my-toggle-chip.is-active {
  border-color: color-mix(in srgb, var(--my-accent) 45%, white);
  background: color-mix(in srgb, var(--my-accent-soft) 45%, white);
  color: var(--my-ink);
}

.my-detail-panel__intro {
  margin: 0.5rem 0 0;
  color: var(--my-ink-soft);
}

.my-detail-panel__details {
  margin: -0.25rem 0 0.75rem;
}

.my-detail-panel__details-body {
  margin-top: 0.45rem;
}

.my-detail-panel__details--chart {
  margin-bottom: 0;
}

.my-detail-panel__summary {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: var(--my-primary-strong);
  font-size: 0.92rem;
  font-weight: 700;
  list-style: none;
}

.my-detail-panel__summary::-webkit-details-marker {
  display: none;
}

.my-athlete-detail__more[open] .my-athlete-detail__more-content,
.my-detail-panel__details[open] .my-detail-panel__intro,
.my-record-card--details[open] .my-record-card__details-body {
  animation: my-fade-slide-in 220ms ease;
}

.my-chart {
  width: 100%;
  min-height: 28rem;
}

.my-chart-shell {
  display: grid;
  gap: 0.25rem;
}

.my-chart__canvas {
  width: 100%;
  min-height: inherit;
}

.my-chart--assessment {
  min-height: 20.5rem;
}

.my-detail-panel--polygon {
  padding-top: 0.8rem;
  padding-bottom: 0.8rem;
}

.my-detail-panel--polygon .my-detail-panel__heading {
  margin-bottom: 0.15rem;
}

.my-chart__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: center;
  margin-top: -0.45rem;
}

.my-chart__chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid var(--my-line-strong);
  border-radius: 999px;
  background: #fff;
  color: var(--my-ink);
  padding: 0.45rem 0.7rem;
  font: inherit;
  font-size: 0.88rem;
  line-height: 1;
}

.my-chart__chip[data-active="false"] {
  opacity: 0.45;
}

.my-chart__chip[data-current-reference="true"] {
  border-color: color-mix(in srgb, var(--my-accent) 42%, white);
  background: color-mix(in srgb, var(--my-accent-soft) 45%, white);
}

.my-chart__chip-swatch {
  width: 0.78rem;
  height: 0.78rem;
  border-radius: 999px;
  background: var(--chip-color, var(--my-accent));
  flex: 0 0 auto;
}

.my-chart__chip-label {
  white-space: nowrap;
}

.my-chart__empty {
  margin: 0;
  color: var(--my-ink-soft);
}

.my-detail-panel__empty,
.my-athlete-detail__back {
  margin-top: 0.8rem;
  color: var(--my-ink-soft);
}

.my-avatar-form__row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin-top: 0.9rem;
}

.my-avatar-form__input {
  flex: 1 1 16rem;
  min-height: 2.8rem;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--my-line-strong);
  border-radius: var(--my-radius-md);
  background: #fff;
  color: var(--my-ink);
}


.my-record-list {
  display: grid;
  gap: 0.75rem;
}

.my-record-card {
  display: block;
  padding: 1rem;
  border: 1px solid var(--my-line);
  border-radius: var(--my-radius-md);
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(20, 42, 40, 0.05);
}

.my-record-card--baseline {
  background: var(--bs-success-bg-subtle, #d1e7dd);
  border-color: #b9fba1;
}

.my-record-card--link {
  color: inherit;
  text-decoration: none;
}

.my-record-card--link:hover,
.my-record-card--link:focus-visible,
.my-record-card__body-link:hover,
.my-record-card__body-link:focus-visible {
  color: inherit;
  text-decoration: none;
}

.my-record-card--interactive:hover,
.my-record-card--interactive:focus-within,
.my-record-card--link:hover,
.my-record-card--link:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(20, 42, 40, 0.08);
}

.my-record-card__body-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.my-record-card h3 {
  margin: 0;
  font-size: 1rem;
}

.my-record-card p {
  margin: 0;
  color: var(--my-ink-soft);
}

.my-record-card strong {
  color: var(--my-ink);
}

.my-record-card__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.55rem;
}

.my-record-card__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
}

.my-record-card__row p {
  flex: 0 0 auto;
  font-size: 0.95rem;
  white-space: nowrap;
}

.my-record-pagination {
  margin-top: 0.9rem;
}

.my-record-pagination .pagination {
  margin-bottom: 0;
}

.my-assessment-summary {
  display: grid;
  gap: 0.55rem;
}

.my-assessment-header {
  display: grid;
  gap: 0.85rem;
}

.my-assessment-header__identity {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 0.9rem;
}

.my-athlete-detail__avatar--compact img {
  width: 5rem;
  height: 5rem;
}

.my-assessment-header__crumbs {
  margin: 0 0 0.18rem;
  color: var(--my-ink-soft);
  font-size: 1.05rem;
  line-height: 1.45;
  letter-spacing: 0.02em;
}

.my-assessment-header h1 {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.2;
}

.my-assessment-summary__card,
.my-metric-card {
  padding: 0.72rem 0.8rem;
  border: 1px solid var(--my-line);
  border-radius: var(--my-radius-md);
  background: #fff;
  box-shadow: 0 8px 20px rgba(20, 42, 40, 0.04);
}

.my-assessment-summary__label,
.my-metric-card__label {
  display: block;
  margin-bottom: 0.28rem;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--my-ink-soft);
}

.my-assessment-summary__card strong,
.my-metric-card__value {
  font-size: 1.02rem;
  color: var(--my-ink);
}

.my-metric-list {
  display: grid;
  gap: 0.45rem;
}

.my-metric-list__header,
.my-metric-card__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.8fr) minmax(0, 0.8fr);
  align-items: center;
  gap: 0.5rem;
}

.my-metric-list__header {
  padding: 0 0.8rem 0.1rem;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--my-ink-soft);
}

.my-metric-list__header-current,
.my-metric-list__header-baseline {
  text-align: right;
}

.my-metric-card__label {
  margin-bottom: 0;
  font-size: 0.9rem;
  letter-spacing: normal;
  text-transform: none;
}

.my-metric-card__value {
  text-align: right;
}

.my-metric-card__baseline-value {
  text-align: right;
  color: var(--my-ink-soft);
}

.my-record-card--compact {
  padding: 0.85rem 0.95rem;
}

.my-record-card--details {
  display: block;
}

.my-record-card--details summary {
  cursor: pointer;
  list-style: none;
}

.my-record-card--details summary::-webkit-details-marker {
  display: none;
}

.my-record-card__details-body {
  margin-top: 0.7rem;
}

.my-detail-panel__details--notes,
.my-record-card--details {
  margin: 0.2rem 0 0;
}

body.my-shell #alert-container {
  display: grid;
  gap: 0.55rem;
}

body.my-shell #alert-container .alert {
  margin-top: 0;
}

body.my-shell #alert-container .alert.fade {
  overflow: clip;
  transition:
    opacity 220ms ease,
    transform 220ms ease,
    max-height 220ms ease,
    margin 220ms ease,
    padding 220ms ease,
    border-width 220ms ease;
  transform: translateY(0);
  max-height: 10rem;
}

body.my-shell #alert-container .alert.fade:not(.show) {
  opacity: 0;
  transform: translateY(-6px);
  max-height: 0;
  margin: 0;
  padding-top: 0;
  padding-bottom: 0;
  border-width: 0;
}

.my-inline-separator {
  color: var(--my-ink-soft);
}

.my-record-detail .my-detail-panel {
  padding-top: 1.2rem;
}

.my-nav__link,
.my-record-card__actions a,
.my-athlete-detail__back a {
  color: var(--my-primary);
}

.my-nav__link:hover,
.my-record-card__actions a:hover,
.my-athlete-detail__back a:hover {
  color: var(--my-primary-strong);
}

code {
  padding: 0.18rem 0.45rem;
  border-radius: 4px;
  background: rgba(46, 111, 179, 0.08);
  color: var(--my-primary-strong);
}

@keyframes my-rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes my-fade-slide-in {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 700px) {
  .my-app {
    width: min(1240px, calc(100% - 2rem));
    padding-top: 1rem;
  }

  .my-page {
    padding-top: 1.5rem;
  }

  .my-auth--landing {
    justify-content: center;
    min-height: clamp(24rem, 56vh, 34rem);
  }

  .my-auth__card--landing {
    width: min(100%, 39rem);
  }

  .my-auth__card--landing .my-button {
    min-height: 3.65rem;
    padding: 1rem 1.35rem;
    font-size: 1.08rem;
  }

  .my-hero {
    grid-template-columns: 1.6fr 1fr;
  }

  .my-athlete-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .my-athlete-detail__header {
    grid-template-columns: 1.55fr 1fr;
  }

  .my-detail-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .my-assessment-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1080px) {
  .my-athlete-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .my-page__sheet {
    padding-left: 0.25rem;
    padding-right: 0.25rem;
  }
}

@media (max-width: 699px) {
  .my-install-banner {
    align-items: flex-start;
    flex-direction: column;
  }

  .my-install-banner__actions {
    width: 100%;
    justify-content: flex-start;
  }

  .my-topbar__surface {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: stretch;
    border-radius: 9px;
    padding: 0.8rem 0.85rem;
  }

  .care-shell .my-topbar__surface {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 0.75rem;
  }

  .care-shell .my-brand__logo {
    height: 4.2rem;
  }

  .care-shell .my-nav {
    justify-content: flex-end;
    gap: 0.35rem 0.55rem;
  }

  .my-topbar__main {
    justify-content: space-between;
    flex-wrap: wrap;
  }

  .my-topbar__account {
    justify-content: space-between;
  }

  .my-nav-flapjacks {
    margin-left: 0;
  }

  .my-nav--menu {
    min-width: min(18rem, calc(100vw - 3rem));
  }

  .my-nav__link,
  .my-nav__button {
    min-width: 0;
    min-height: 2.35rem;
    padding: 0.55rem 0.75rem;
    font-size: 0.95rem;
  }

  .my-brand {
    gap: 0.7rem;
    min-width: 0;
  }

  .my-brand__eyebrow {
    font-size: 0.66rem;
    letter-spacing: 0.12em;
  }

  .my-brand__logo {
    height: 4.9rem;
  }

  .my-auth__card,
  .my-hero__content,
  .my-hero__panel,
  .my-dashboard__header,
  .my-athlete-card,
  .my-empty-state,
  .my-athlete-detail__header,
  .my-detail-panel {
    border-radius: 9px;
  }

  .my-athlete-detail__header,
  .my-detail-panel {
    padding: 1rem;
  }

  .my-athlete-detail__identity {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 7rem;
    align-items: center;
    gap: 0.85rem;
  }

  .my-athlete-detail__header h1 {
    margin-bottom: 0.2rem;
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .my-athlete-detail__avatar img {
    width: 7rem;
    height: 7rem;
  }

  .my-athlete-detail__meta {
    margin-top: 0.65rem;
  }

  .my-athlete-detail__more-content {
    gap: 0.55rem;
  }

  .my-detail-panel__heading {
    margin-bottom: 0.4rem;
  }

  .my-detail-panel__heading h2 {
    font-size: 1rem;
  }

  .my-detail-panel__heading p {
    font-size: 0.92rem;
  }

  .my-detail-panel__details {
    margin-bottom: 0.35rem;
  }

  .my-chart {
    min-height: 24rem;
  }

  .my-chart__chips {
    gap: 0.4rem;
  }

  .my-chart--assessment {
    min-height: 19.5rem;
  }

  .my-athlete-detail__avatar--compact img {
    width: 4.35rem;
    height: 4.35rem;
  }

  .my-assessment-header__crumbs {
    font-size: 0.96rem;
  }

  .my-metric-list__header,
  .my-metric-card__grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.75fr) minmax(0, 0.75fr);
    gap: 0.42rem;
  }

  .my-metric-card {
    padding: 0.68rem 0.75rem;
  }
}

body.my-portal-shell {
  --my-bg: #edf0f3;
  --my-surface: #f6f7f8;
  --my-surface-tint: #e8edf1;
  --my-ink: #111827;
  --my-ink-soft: #4b5563;
  --my-line: #c7ced6;
  --my-line-strong: #8d99a8;
  --my-primary: #124d78;
  --my-primary-strong: #0b324f;
  --my-primary-soft: #dbe6ee;
  --my-accent: #124d78;
  --my-accent-soft: #dbe6ee;
  --my-shadow-1: none;
  --my-shadow-2: none;
  --my-radius-xl: 2px;
  --my-radius-lg: 2px;
  --my-radius-md: 2px;
  --my-radius-sm: 1px;
  background: var(--my-bg);
}

body.my-portal-shell::before {
  display: none;
}

body.my-portal-shell .my-app {
  width: min(1180px, calc(100% - 1rem));
  padding: 0.25rem 0 1.5rem;
}

body.my-portal-shell .my-topbar {
  padding: 0.4rem 0;
}

body.my-portal-shell .my-topbar__surface {
  padding: 0.5rem 0.65rem;
  border-color: #9aa6b2;
  border-radius: var(--my-radius-xl);
  background: #ffffff;
  backdrop-filter: none;
}

body.my-portal-shell .my-brand {
  gap: 0.65rem;
}

body.my-portal-shell .my-brand__logo {
  height: 3.6rem;
}

body.my-portal-shell .my-brand__eyebrow,
body.my-portal-shell .my-topbar__label,
body.my-portal-shell .my-eyebrow,
body.my-portal-shell .my-assessment-summary__label,
body.my-portal-shell .my-metric-list__header {
  letter-spacing: 0.08em;
}

body.my-portal-shell .my-topbar__identity {
  gap: 0.5rem;
  padding: 0.25rem 0.45rem 0.25rem 0.25rem;
  border-radius: var(--my-radius-lg);
  background: #eef2f5;
  border: 1px solid #b9c2cc;
}

body.my-portal-shell .my-topbar__avatar img,
body.my-portal-shell .my-topbar__avatar span {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: var(--my-radius-md);
  border-color: #b9c2cc;
  background: #ffffff;
}

body.my-portal-shell .my-topbar__name {
  font-size: 0.95rem;
}

body.my-portal-shell .my-nav-flapjacks__toggle,
body.my-portal-shell .my-status-pill,
body.my-portal-shell .my-toggle-chip,
body.my-portal-shell .my-chart__chip {
  border-radius: var(--my-radius-md);
}

body.my-portal-shell .my-nav-flapjacks__toggle {
  min-height: 2.35rem;
  padding: 0.55rem 0.75rem;
  border-color: #8d99a8;
  background: #172435;
  color: #ffffff;
}

body.my-portal-shell .my-nav--menu {
  border-radius: var(--my-radius-lg);
  border-color: #8d99a8;
  background: #ffffff;
  box-shadow: 0 2px 0 rgba(17, 24, 39, 0.08);
}

body.my-portal-shell .my-auth__card,
body.my-portal-shell .my-dashboard__header,
body.my-portal-shell .my-athlete-card,
body.my-portal-shell .my-empty-state,
body.my-portal-shell .my-athlete-detail__header,
body.my-portal-shell .my-detail-panel {
  border-radius: var(--my-radius-xl);
  box-shadow: var(--my-shadow-1);
  border-color: #b6c0ca;
  background: #ffffff;
}

body.my-portal-shell .my-dashboard,
body.my-portal-shell .my-settings,
body.my-portal-shell .my-athlete-detail,
body.my-portal-shell .my-record-detail,
body.my-portal-shell .my-detail-grid {
  gap: 0.6rem;
}

body.my-portal-shell .my-auth__card,
body.my-portal-shell .my-dashboard__header,
body.my-portal-shell .my-empty-state,
body.my-portal-shell .my-athlete-detail__header,
body.my-portal-shell .my-detail-panel {
  padding: 0.85rem;
}

body.my-portal-shell .my-dashboard__header h1,
body.my-portal-shell .my-settings__intro h1,
body.my-portal-shell .my-auth__card h1,
body.my-portal-shell .my-athlete-detail__header h1 {
  font-size: clamp(1.35rem, 4vw, 2.1rem);
  line-height: 1.05;
  letter-spacing: 0;
}

body.my-portal-shell .my-auth__card {
  width: min(100%, 25rem);
}

body.my-portal-shell .my-auth--landing {
  width: min(100%, 42rem);
  margin: 0 auto;
}

body.my-portal-shell .my-auth__card--landing {
  width: min(100%, 39rem);
}

body.my-portal-shell .my-auth__card--landing h2 {
  color: #123c5f;
}

body.my-portal-shell .my-form {
  gap: 0.8rem;
  margin-top: 1rem;
}

body.my-portal-shell .my-field input {
  min-height: 2.75rem;
  padding: 0.68rem 0.75rem;
  border-color: #8d99a8;
  border-radius: 2px;
  background: #ffffff;
  box-shadow: none;
}

body.my-portal-shell .my-field input:focus {
  outline: 2px solid #1f6f9f;
  border-color: #124d78;
}

body.my-portal-shell .my-actions {
  margin-top: 1rem;
}

body.my-portal-shell .my-button {
  min-height: 2.45rem;
  padding: 0.58rem 0.85rem;
  border-radius: 2px;
  box-shadow: none;
}

body.my-portal-shell .my-button--primary {
  background: #123c5f;
  box-shadow: none;
}

body.my-portal-shell .my-button--ghost {
  border-color: #8d99a8;
  background: #eef2f5;
  color: #123c5f;
}

body.my-portal-shell .my-button:hover,
body.my-portal-shell .my-button:focus-visible,
body.my-portal-shell .my-nav__link:hover,
body.my-portal-shell .my-nav__link:focus-visible,
body.my-portal-shell .my-record-card--interactive:hover,
body.my-portal-shell .my-record-card--interactive:focus-within,
body.my-portal-shell .my-record-card--link:hover,
body.my-portal-shell .my-record-card--link:focus-visible {
  transform: none;
}

body.my-portal-shell .my-action-panel {
  border-width: 1px;
}

body.my-portal-shell .my-action-panel--clear,
body.my-portal-shell .my-action-panel--active,
body.my-portal-shell .my-action-panel--watch {
  background: var(--my-surface-strong);
}

body.my-portal-shell .my-action-panel--clear {
  border-left: 4px solid #198754;
}

body.my-portal-shell .my-action-panel--active {
  border-left: 4px solid #0b7285;
}

body.my-portal-shell .my-action-panel--watch {
  border-left: 4px solid #a16207;
}

body.my-portal-shell .my-action-panel__title {
  font-size: 1.1rem;
}

body.my-portal-shell .my-action-panel__body,
body.my-portal-shell .my-lead,
body.my-portal-shell .my-auth__intro {
  line-height: 1.45;
}

body.my-portal-shell .my-detail-panel__heading {
  margin-bottom: 0.55rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid #d3d9df;
}

body.my-portal-shell .my-detail-panel__heading h2 {
  font-size: 1.02rem;
  text-transform: none;
}

body.my-portal-shell .my-record-list {
  gap: 0.4rem;
}

body.my-portal-shell .my-record-card,
body.my-portal-shell .my-assessment-summary__card,
body.my-portal-shell .my-metric-card {
  padding: 0.62rem 0.7rem;
  border-color: #c2cad3;
  border-radius: var(--my-radius-md);
  box-shadow: none;
}

body.my-portal-shell .my-record-card--baseline {
  background: #eef5ee;
  border-color: #7d9c83;
}

body.my-portal-shell .my-record-card--compact {
  padding: 0.58rem 0.65rem;
}

body.my-portal-shell .my-message-well {
  padding: 0.65rem;
  border-color: #9aa6b2;
  border-radius: var(--my-radius-md);
  background: #f6f7f8;
}

body.my-portal-shell .my-chart__chip-swatch,
body.my-portal-shell .my-list li::before {
  border-radius: var(--my-radius-sm);
}

body.my-portal-shell .my-athlete-detail__header--status-success,
body.my-portal-shell .my-topbar__surface--status-success {
  border-left: 4px solid #198754;
}

body.my-portal-shell .my-athlete-detail__header--status-danger,
body.my-portal-shell .my-topbar__surface--status-danger {
  border-left: 4px solid #dc3545;
}

body.my-portal-shell .my-athlete-detail__header--status-warning,
body.my-portal-shell .my-topbar__surface--status-warning {
  border-left: 4px solid #a16207;
}

body.my-portal-shell .my-athlete-detail__header--status-info,
body.my-portal-shell .my-topbar__surface--status-info {
  border-left: 4px solid #0b7285;
}

body.my-portal-shell .my-athlete-detail__header--status-secondary,
body.my-portal-shell .my-topbar__surface--status-secondary {
  border-left: 4px solid #6b7280;
}

body.my-portal-shell .my-status-pill {
  min-height: 1.45rem;
  padding: 0.12rem 0.45rem;
  border: 1px solid currentColor;
  background: transparent;
  font-size: 0.76rem;
}

body.my-portal-shell .my-record-card h3 {
  font-size: 0.95rem;
}

body.my-portal-shell .my-record-card p,
body.my-portal-shell .my-detail-panel__heading p {
  font-size: 0.9rem;
}

body.my-portal-shell .my-dashboard__status-line--compact {
  font-size: 1rem;
}

body.my-portal-shell .my-push-card__badge {
  border-radius: 2px;
  background: #f3ead6;
}

@media (max-width: 699px) {
  body.my-portal-shell .my-brand__logo {
    height: 3.4rem;
  }

  body.my-portal-shell .my-topbar__surface,
  body.my-portal-shell .my-auth__card,
  body.my-portal-shell .my-hero__content,
  body.my-portal-shell .my-hero__panel,
  body.my-portal-shell .my-dashboard__header,
  body.my-portal-shell .my-athlete-card,
  body.my-portal-shell .my-empty-state,
  body.my-portal-shell .my-athlete-detail__header,
  body.my-portal-shell .my-detail-panel {
    border-radius: var(--my-radius-xl);
  }
}

@media (max-width: 480px) {
  .my-topbar__surface {
    padding: 0.75rem;
    gap: 0.65rem;
  }

  .my-topbar__main {
    gap: 0.5rem;
  }

  .my-topbar__account {
    gap: 0.55rem;
  }

  .my-topbar__identity {
    gap: 0.55rem;
    padding: 0.35rem 0.45rem 0.35rem 0.35rem;
  }

  .my-topbar__avatar img,
  .my-topbar__avatar span {
    width: 2.45rem;
    height: 2.45rem;
  }

  .my-topbar__name {
    max-width: 9.5rem;
    font-size: 0.92rem;
  }

  .my-brand__eyebrow {
    display: none;
  }

  .my-brand__logo {
    height: 4.4rem;
  }

  .my-nav__link,
  .my-nav__button {
    min-height: 2.2rem;
    padding: 0.5rem 0.65rem;
    font-size: 0.9rem;
  }

  .my-nav-flapjacks__toggle {
    min-height: 2.45rem;
    padding: 0.55rem 0.75rem;
  }

  .my-nav-flapjacks__label {
    display: none;
  }

  .my-actions {
    display: grid;
  }

  .my-actions .my-button {
    width: 100%;
  }

  .my-actions--inline {
    display: flex;
  }

  .my-actions--inline .my-button {
    width: auto;
  }

  .care-message-list__item {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.55rem;
    padding: 0.85rem;
  }

  .care-message-list__header {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.55rem;
  }

  .care-message-list__header h3 {
    white-space: nowrap;
  }


  .my-athlete-detail__identity {
    grid-template-columns: minmax(0, 1fr) 6.1rem;
    gap: 0.75rem;
  }

  .my-athlete-detail__header h1 {
    font-size: clamp(1.7rem, 9vw, 2.5rem);
    line-height: 0.94;
  }

  .my-athlete-detail__avatar img {
    width: 6.1rem;
    height: 6.1rem;
  }

  .my-chart {
    min-height: 22rem;
  }

  .my-chart__chip {
    padding: 0.42rem 0.62rem;
    font-size: 0.8rem;
  }

  .my-chart--assessment {
    min-height: 18.5rem;
  }

  .my-athlete-detail__avatar--compact img {
    width: 3.8rem;
    height: 3.8rem;
  }

  .my-assessment-header__identity {
    gap: 0.7rem;
  }

  .my-assessment-header__crumbs {
    font-size: 0.9rem;
  }

  .my-metric-list__header,
  .my-metric-card__grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.72fr) minmax(0, 0.72fr);
    gap: 0.45rem;
  }

  .my-metric-card__label,
  .my-metric-card__value,
  .my-metric-card__baseline-value {
    font-size: 0.9rem;
  }
}
