:root[data-v3-theme="dark"] {
    --v3-auth-canvas: var(--v3-brand-rail);
    --v3-auth-panel: oklch(0.20 0.017 220 / 0.92);
    --v3-auth-field: oklch(0.17 0.017 220 / 0.84);
}

.v3-auth-document {
    min-height: 0;
    height: var(--v3-viewport-height);
}

body.v3-auth-body {
    min-height: 0;
    height: var(--v3-viewport-height);
    overflow: hidden;
    overscroll-behavior-y: none;
    background: var(--v3-auth-canvas);
}

.v3-auth-shell {
    position: relative;
    isolation: isolate;
    overflow-x: hidden;
    overflow-y: auto;
    min-height: 0;
    height: var(--v3-viewport-height);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding:
        calc(22px + var(--v3-safe-top))
        max(20px, calc(20px + var(--v3-safe-right)))
        calc(20px + var(--v3-safe-bottom))
        max(20px, calc(20px + var(--v3-safe-left)));
    overscroll-behavior-y: contain;
    -webkit-overflow-scrolling: touch;
    background:
        radial-gradient(circle at 50% 2%, oklch(0.27 0.024 220 / 0.58), transparent 35%),
        linear-gradient(132deg, transparent 0 18%, oklch(0.30 0.018 220 / 0.24) 18.1% 18.35%, transparent 18.5% 70%, oklch(0.30 0.018 220 / 0.18) 70.1% 70.35%, transparent 70.5%),
        linear-gradient(315deg, oklch(0.23 0.022 220 / 0.36), transparent 42%),
        var(--v3-auth-canvas);
}

.v3-auth-shell::before {
    content: "";
    position: absolute;
    pointer-events: none;
    z-index: -1;
}

.v3-auth-shell::after {
    content: "";
    position: fixed;
    pointer-events: none;
    z-index: -1;
}

.v3-auth-shell::before {
    inset: 0;
    opacity: 0.72;
    background:
        radial-gradient(circle, oklch(0.74 0.04 220 / 0.16) 0 1px, transparent 1.4px) calc(100% - 110px) 48px / 11px 11px,
        linear-gradient(138deg, transparent 0 17%, oklch(0.42 0.035 220 / 0.20) 17.1% 17.25%, transparent 17.5%),
        linear-gradient(318deg, transparent 0 20%, oklch(0.38 0.035 220 / 0.16) 20.1% 20.25%, transparent 20.5%);
}

.v3-auth-shell::after {
    width: 520px;
    height: 520px;
    right: -230px;
    bottom: -260px;
    transform: rotate(-34deg);
    background:
        linear-gradient(90deg, transparent 0 38%, rgb(0 155 68 / 0.20) 38.2% 38.6%, transparent 39% 47%, rgb(0 155 68 / 0.13) 47.2% 47.6%, transparent 48%),
        radial-gradient(circle at 50% 50%, rgb(0 155 68 / 0.12), transparent 58%);
}

.v3-auth-page {
    position: relative;
    z-index: 1;
    width: min(100%, 520px);
}

.v3-auth-page--flow {
    width: min(100%, 940px);
}

.v3-brand-lockup {
    display: flex;
    justify-content: center;
    margin-bottom: 12px;
}

.v3-brand-lockup img {
    display: block;
    width: 254px;
    max-width: 78vw;
    height: auto;
}

.v3-brand-divider {
    position: relative;
    display: block;
    width: min(100%, 460px);
    height: 1px;
    margin: 0 auto 22px;
    background: linear-gradient(
        90deg,
        transparent,
        oklch(0.68 0.018 220 / 0.24) 14%,
        oklch(0.68 0.018 220 / 0.24) 86%,
        transparent
    );
}

.v3-brand-divider span {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 34px;
    height: 2px;
    border-radius: var(--v3-radius-pill);
    background: var(--v3-athletic-green);
    box-shadow: 0 0 16px rgb(0 155 68 / 0.30);
    transform: translate(-50%, -50%);
}

.v3-entry-panel,
.v3-placeholder-panel {
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    padding: 24px;
}

.v3-message-stack {
    display: grid;
    gap: 10px;
    margin-bottom: 14px;
}

.v3-message {
    margin: 0;
    padding: 12px 14px;
    border: 1px solid var(--v3-border);
    border-radius: var(--v3-radius-md);
    color: var(--v3-ink-light);
    background: oklch(0.18 0.016 220 / 0.84);
    font-size: 14px;
    font-weight: 700;
}

.v3-message--error {
    border-color: var(--v3-danger-border);
    color: var(--v3-danger-foreground);
    background: transparent;
}

.v3-auth-shell--legal {
    overflow-x: hidden;
    overflow-y: auto;
    padding-bottom: 48px;
}

.v3-auth-page--legal {
    width: min(100%, 880px);
}

.v3-auth-page--legal .v3-brand-lockup {
    margin-bottom: 14px;
}

.v3-auth-page--legal .v3-brand-lockup img {
    width: 230px;
}

.v3-auth-page--legal .v3-brand-divider {
    width: min(100%, 620px);
    margin-bottom: 18px;
}

.v3-legal-panel {
    overflow: hidden;
    border: 1px solid oklch(0.78 0.018 220 / 0.18);
    border-radius: 20px;
    background:
        linear-gradient(145deg, oklch(0.22 0.019 220 / 0.95), oklch(0.15 0.017 220 / 0.94)),
        var(--v3-auth-panel);
    box-shadow:
        inset 0 1px 0 oklch(0.96 0.006 220 / 0.06),
        0 24px 60px oklch(0.08 0.012 220 / 0.30);
}

.v3-legal-header {
    position: relative;
    display: grid;
    gap: 8px;
    padding: 28px 34px 26px;
    border-bottom: 1px solid oklch(0.78 0.018 220 / 0.16);
    background:
        radial-gradient(circle at 78% 8%, rgb(0 155 68 / 0.13), transparent 30%),
        linear-gradient(132deg, transparent 0 66%, rgb(0 155 68 / 0.09) 66.2% 66.7%, transparent 67%),
        oklch(0.16 0.018 220 / 0.72);
}

.v3-legal-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    margin-bottom: 10px;
    color: var(--v3-muted-ink);
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    transition: color var(--v3-transition), transform var(--v3-transition);
}

.v3-legal-back .v3-icon {
    color: var(--v3-athletic-green);
    font-size: 15px;
}

.v3-legal-back:hover,
.v3-legal-back:focus-visible {
    color: var(--v3-ink-light);
    transform: translateX(-2px);
}

.v3-legal-back:focus-visible {
    outline: none;
    box-shadow: var(--v3-focus-ring);
}

.v3-legal-kicker {
    margin: 0;
    color: var(--v3-athletic-green);
    font-size: var(--v3-type-caption);
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.v3-legal-header h1 {
    max-width: 680px;
    margin: 0;
    color: var(--v3-ink-light);
    font-family: var(--v3-font-display);
    font-size: 34px;
    line-height: 1.08;
    font-weight: 800;
}

.v3-legal-header > p:not(.v3-legal-kicker) {
    margin: 0;
    color: var(--v3-text-muted);
    font-size: 14px;
    font-weight: 700;
}

.v3-legal-body {
    display: grid;
    gap: 0;
    padding: 8px 34px 34px;
}

.v3-legal-section {
    padding: 24px 0 22px;
    border-top: 1px solid oklch(0.78 0.018 220 / 0.12);
}

.v3-legal-section:first-child {
    border-top: 0;
}

.v3-legal-section h2,
.v3-legal-section h3 {
    color: var(--v3-ink-light);
    font-family: var(--v3-font-display);
    letter-spacing: 0;
}

.v3-legal-section h2 {
    margin: 0 0 12px;
    font-size: 19px;
    line-height: 1.2;
    font-weight: 800;
}

.v3-legal-section h3 {
    margin: 18px 0 8px;
    font-size: 15px;
    line-height: 1.25;
    font-weight: 800;
}

.v3-legal-section p,
.v3-legal-section li {
    max-width: 72ch;
    color: var(--v3-text-muted);
    font-size: 14px;
    line-height: 1.7;
}

.v3-legal-section p {
    margin: 0 0 12px;
}

.v3-legal-section p:last-child {
    margin-bottom: 0;
}

.v3-legal-section ul {
    display: grid;
    gap: 7px;
    margin: 0 0 14px;
    padding-left: 20px;
}

.v3-legal-section li::marker {
    color: var(--v3-athletic-green);
}

.v3-legal-section strong {
    color: var(--v3-ink-light);
    font-weight: 800;
}

.v3-legal-section a {
    color: var(--v3-athletic-green-soft);
    font-weight: 800;
    overflow-wrap: anywhere;
    text-decoration: none;
}

.v3-legal-section a:hover,
.v3-legal-section a:focus-visible {
    color: var(--v3-athletic-green);
    text-decoration: underline;
}

.v3-legal-highlight {
    max-width: 72ch;
    margin: 18px 0 4px;
    padding: 16px 18px;
    border: 1px solid rgb(0 155 68 / 0.26);
    border-radius: 16px;
    background: rgb(0 155 68 / 0.08);
}

.v3-legal-highlight p {
    margin: 0;
    color: var(--v3-athletic-green-soft);
}

.v3-entry-header {
    text-align: center;
    margin-bottom: 20px;
}

.v3-entry-header h1,
.v3-placeholder-panel h1,
.v3-onboarding-header h1 {
    margin: 0;
    color: var(--v3-ink-light);
    font-family: var(--v3-font-display);
    font-size: 34px;
    line-height: 1.08;
    font-weight: 800;
}

.v3-entry-header p,
.v3-placeholder-panel > p,
.v3-onboarding-header p {
    margin: 6px 0 0;
    color: var(--v3-text-muted);
    font-size: 15px;
}

.v3-login-form,
.v3-onboarding-form {
    display: grid;
    gap: 11px;
}

.v3-onboarding-panel {
    position: relative;
    display: grid;
    gap: 18px;
    width: min(100%, 520px);
    margin-inline: auto;
}

.v3-onboarding-panel--complete {
    width: min(100%, 680px);
    gap: 18px;
    padding: 28px 34px 26px;
}

.v3-onboarding-header {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.v3-onboarding-header h1.v3-onboarding-kicker-title {
    margin: 0;
    color: var(--v3-athletic-green-soft);
    font-family: var(--v3-font-body);
    font-size: 13px;
    line-height: 1.2;
    font-weight: 800;
}

.v3-flow-card {
    animation: v3-flow-enter 220ms cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform, opacity;
}

.v3-flow-card.is-leaving {
    pointer-events: none;
    animation: v3-flow-leave 160ms cubic-bezier(0.76, 0, 0.24, 1) forwards;
}

.v3-step-intro {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 112px;
    align-items: center;
    gap: 28px;
    width: min(100%, 680px);
    min-height: 136px;
    margin: 2px auto 18px;
    padding: 22px 26px 22px 30px;
    border: 1px solid rgb(0 155 68 / 0.32);
    border-radius: 18px;
    background:
        linear-gradient(135deg, oklch(0.22 0.022 220 / 0.88), oklch(0.13 0.016 220 / 0.76)),
        oklch(0.16 0.017 220 / 0.86);
    box-shadow:
        inset 0 1px 0 oklch(0.96 0.006 220 / 0.05),
        0 16px 34px oklch(0.08 0.012 220 / 0.22);
}

.v3-step-intro::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    background:
        radial-gradient(circle at 82% 50%, rgb(0 155 68 / 0.12), transparent 31%),
        linear-gradient(135deg, transparent 0 46%, rgb(0 155 68 / 0.05) 46.2% 46.6%, transparent 47%);
}

.v3-step-intro-copy {
    display: grid;
    gap: 7px;
    min-width: 0;
}

.v3-step-intro-kicker {
    margin: 0;
    color: var(--v3-athletic-green);
    font-size: 15px;
    line-height: 1.15;
    font-weight: 800;
}

.v3-step-intro h1 {
    margin: 0;
    color: var(--v3-ink-light);
    font-family: var(--v3-font-body);
    font-size: 34px;
    line-height: 1.08;
    font-weight: 800;
}

.v3-step-intro-copy > p:not(.v3-step-intro-kicker) {
    margin: 0;
    color: var(--v3-text-muted);
    font-size: 15px;
    line-height: 1.38;
    font-weight: 600;
}

.v3-step-intro-icon {
    position: relative;
    display: grid;
    place-items: center;
    justify-self: end;
    width: 86px;
    height: 86px;
    border: 1.5px solid var(--v3-athletic-green);
    border-radius: var(--v3-radius-pill);
    color: var(--v3-athletic-green-soft);
    background: rgb(0 155 68 / 0.11);
    box-shadow:
        inset 0 0 18px rgb(0 155 68 / 0.12),
        0 0 22px rgb(0 155 68 / 0.12);
}

.v3-step-intro-icon::before {
    content: "";
    position: absolute;
    inset: -12px;
    border: 1px dashed rgb(0 155 68 / 0.28);
    border-radius: inherit;
}

.v3-step-intro-icon .v3-icon {
    font-size: 40px;
    line-height: 1;
}

.v3-coach-progress {
    width: 100%;
    margin: 0 auto 13px;
}

.v3-coach-progress ol {
    position: relative;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.v3-athlete-progress ol {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.v3-coach-progress--join ol {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.v3-coach-progress ol::before {
    display: none;
}

.v3-coach-progress-step {
    position: relative;
    z-index: 1;
    display: grid;
    justify-items: center;
    gap: 5px;
    color: var(--v3-text-muted);
    text-align: center;
}

.v3-coach-progress-step::after {
    content: "";
    position: absolute;
    top: 18px;
    left: calc(50% + 18px);
    width: calc(100% - 36px);
    height: 2px;
    border-radius: var(--v3-radius-pill);
    background: var(--v3-border-strong);
}

.v3-coach-progress-step:last-child::after {
    display: none;
}

.v3-coach-progress-step.is-complete::after,
.v3-coach-progress-step.is-active::after {
    background: var(--v3-athletic-green);
}

.v3-coach-progress-node {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 2px solid var(--v3-border-strong);
    border-radius: var(--v3-radius-pill);
    color: var(--v3-text-muted);
    background: oklch(0.14 0.016 220 / 0.74);
    box-shadow: 0 8px 20px oklch(0.08 0.012 220 / 0.22);
}

.v3-coach-progress-node .v3-icon {
    font-size: 16px;
    line-height: 1;
}

.v3-coach-progress-label {
    position: relative;
    z-index: 2;
    color: var(--v3-text-muted);
    font-size: var(--v3-type-caption);
    line-height: 1.15;
    font-weight: 800;
}

.v3-coach-progress-step.is-complete .v3-coach-progress-node,
.v3-coach-progress-step.is-active .v3-coach-progress-node {
    border-color: var(--v3-athletic-green);
    color: var(--v3-athletic-green-soft);
}

.v3-coach-progress-step.is-active .v3-coach-progress-node {
    box-shadow:
        0 0 0 3px rgb(0 155 68 / 0.12),
        0 10px 24px oklch(0.08 0.012 220 / 0.28);
}

.v3-coach-progress-step.is-active .v3-coach-progress-label,
.v3-coach-progress-step.is-complete .v3-coach-progress-label {
    color: var(--v3-ink-light);
}

.v3-form-section {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    border: 0;
}

.v3-form-section legend {
    display: grid;
    gap: 3px;
    width: 100%;
    margin: 0 0 2px;
    padding: 0;
    color: var(--v3-ink-light);
    font-weight: 800;
}

.v3-form-section legend small {
    color: var(--v3-text-muted);
    font-size: 13px;
    font-weight: 600;
}

.v3-field-grid {
    display: grid;
    gap: 10px;
}

.v3-field-grid--split {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.v3-field-grid--thirds {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.v3-field {
    display: grid;
    gap: 5px;
}

.v3-field label {
    color: var(--v3-ink-light);
    font-weight: 800;
    font-size: 14px;
}

.v3-field-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.v3-password-reset-link {
    min-height: 44px;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    color: var(--v3-athletic-green-soft);
    font-size: var(--v3-type-caption);
    line-height: 1.2;
    font-weight: 800;
}

.v3-field input,
.v3-field select,
.v3-code-field {
    width: 100%;
    min-height: 48px;
    border: 1px solid var(--v3-border-strong);
    border-radius: var(--v3-radius-md);
    color: var(--v3-ink-light);
    background: var(--v3-auth-field);
    padding: 0 16px;
    outline: none;
    transition: border-color var(--v3-transition), box-shadow var(--v3-transition), background var(--v3-transition);
}

.v3-field select {
    appearance: none;
    background-image:
        linear-gradient(45deg, transparent 50%, var(--v3-text-muted) 50%),
        linear-gradient(135deg, var(--v3-text-muted) 50%, transparent 50%);
    background-position:
        calc(100% - 20px) 50%,
        calc(100% - 14px) 50%;
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
    padding-right: 42px;
}

.v3-field select.v3-native-select {
    position: absolute;
    width: 1px;
    height: 1px;
    min-height: 0;
    padding: 0;
    border: 0;
    opacity: 0;
    pointer-events: none;
}

.v3-select {
    position: relative;
}

.v3-select.is-open {
    z-index: 30;
}

.v3-select-button {
    appearance: none;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 28px;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-height: 48px;
    padding: 0 10px 0 16px;
    border: 1px solid var(--v3-border-strong);
    border-radius: var(--v3-radius-md);
    color: var(--v3-ink-light);
    background: var(--v3-auth-field);
    text-align: left;
    cursor: pointer;
    transition: border-color var(--v3-transition), box-shadow var(--v3-transition), background var(--v3-transition);
}

.v3-select-button:hover,
.v3-select-button:focus-visible,
.v3-select.is-open .v3-select-button {
    border-color: rgb(0 155 68 / 0.72);
    background: oklch(0.18 0.017 220 / 0.96);
}

.v3-select-button:focus-visible {
    outline: none;
    box-shadow: var(--v3-focus-ring);
}

.v3-select-value {
    min-width: 0;
    overflow: hidden;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.v3-select-button.is-empty .v3-select-value {
    color: var(--v3-text-soft);
    font-weight: 700;
}

.v3-select--date .v3-select-button {
    grid-template-columns: minmax(0, 1fr);
    padding-inline: 12px;
}

.v3-select--date .v3-select-value {
    overflow: visible;
    text-overflow: clip;
}

.v3-select--date .v3-select-icon {
    display: none;
}

.v3-select-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border: 1px solid rgb(0 155 68 / 0.18);
    border-radius: 8px;
    color: var(--v3-athletic-green-soft);
    background: rgb(0 155 68 / 0.08);
}

.v3-select-icon .v3-icon {
    font-size: 14px;
    line-height: 1;
    transition: transform var(--v3-transition);
}

.v3-select.is-open .v3-select-icon .v3-icon {
    transform: rotate(180deg);
}

.v3-select-menu {
    position: absolute;
    top: calc(100% + 7px);
    right: 0;
    left: 0;
    display: none;
    max-height: 306px;
    overflow: auto;
    padding: 6px;
    border: 1px solid oklch(0.72 0.024 220 / 0.28);
    border-radius: 14px;
    background: oklch(0.15 0.017 220 / 0.98);
    box-shadow:
        0 18px 38px oklch(0.08 0.012 220 / 0.36),
        inset 0 1px 0 oklch(0.96 0.006 220 / 0.04);
}

.v3-select.is-open .v3-select-menu {
    display: grid;
    gap: 2px;
}

.v3-select-option {
    appearance: none;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 18px;
    align-items: center;
    gap: 10px;
    width: 100%;
    min-height: 38px;
    padding: 0 10px;
    border: 0;
    border-radius: 8px;
    color: var(--v3-text-muted);
    background: transparent;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
}

.v3-select-option:hover,
.v3-select-option:focus-visible {
    color: var(--v3-ink-light);
    background: rgb(0 155 68 / 0.11);
    outline: none;
}

.v3-select-option.is-selected {
    color: var(--v3-athletic-green-soft);
    background: rgb(0 155 68 / 0.16);
}

.v3-select-check {
    color: var(--v3-athletic-green-soft);
    font-size: 13px;
    line-height: 1;
    opacity: 0;
}

.v3-select-option.is-selected .v3-select-check {
    opacity: 1;
}

.v3-code-field--centered {
    text-align: center;
    font-family: var(--v3-font-display);
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 0.16em;
}

.v3-code-inputs {
    display: grid;
    min-width: 0;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 8px;
}

.v3-code-inputs--athlete,
.v3-code-inputs--invite {
    grid-template-columns: repeat(8, minmax(34px, 42px));
    justify-content: center;
    gap: 5px;
}

.v3-code-box {
    aspect-ratio: 1;
    min-height: 48px;
    text-align: center;
    font-family: var(--v3-font-display);
    font-size: 24px;
    font-weight: 800;
}

.v3-field .v3-code-box--athlete,
.v3-field .v3-code-box--invite {
    min-height: 42px;
    padding: 0;
    border-radius: 13px;
    font-size: 18px;
    text-transform: uppercase;
}

.v3-code-inputs[aria-invalid="true"] .v3-code-box {
    border-color: var(--v3-danger-border);
}

.v3-code-errors {
    display: grid;
    gap: 3px;
    text-align: center;
}

.v3-code-label-row {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 10px;
    margin-bottom: 3px;
}

.v3-code-label {
    color: var(--v3-ink-light);
    font-size: 13px;
    font-weight: 800;
}

.v3-code-meta {
    color: var(--v3-text-soft);
    font-size: var(--v3-type-caption);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.v3-field input::placeholder,
.v3-code-field::placeholder {
    color: var(--v3-text-soft);
}

.v3-field input:focus,
.v3-field select:focus,
.v3-code-field:focus {
    border-color: rgb(0 155 68 / 0.72);
    box-shadow: var(--v3-focus-ring);
    background: oklch(0.18 0.017 220 / 0.96);
}

.v3-password-field {
    position: relative;
}

.v3-password-field input {
    padding-right: 60px;
}

.v3-password-toggle {
    position: absolute;
    top: 50%;
    right: 3px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid transparent;
    border-radius: var(--v3-radius-sm);
    color: var(--v3-text-muted);
    background: transparent;
    cursor: pointer;
    transform: translateY(-50%);
    transition: transform var(--v3-press-transition), color var(--v3-transition), background var(--v3-transition), border-color var(--v3-transition);
}

.v3-password-toggle .v3-icon {
    font-size: 18px;
    line-height: 1;
}

.v3-password-toggle:hover,
.v3-password-toggle:focus-visible {
    border-color: var(--v3-border);
    color: var(--v3-athletic-green-soft);
    background: oklch(0.22 0.016 220 / 0.72);
}

.v3-password-toggle:focus-visible {
    outline: none;
    box-shadow: var(--v3-focus-ring);
}

.v3-field-error {
    color: var(--v3-danger-foreground);
    font-size: 13px;
    font-weight: 700;
}

.v3-form-errors {
    display: grid;
    gap: 6px;
    padding: 12px 14px;
    border: 1px solid var(--v3-danger-border);
    border-radius: var(--v3-radius-md);
    color: var(--v3-danger-foreground);
    background: transparent;
    line-height: 1.35;
}

.v3-form-errors p {
    margin: 0;
    font-size: 14px;
    line-height: inherit;
    font-weight: 700;
}

.v3-login-error {
    margin-bottom: 10px;
    padding: 11px 14px;
}

.v3-checkbox-field {
    grid-template-columns: 20px 1fr;
    align-items: start;
    gap: 10px 12px;
}

.v3-checkbox-field input {
    width: 18px;
    min-height: 18px;
    height: 18px;
    margin: 3px 0 0;
    padding: 0;
    accent-color: var(--v3-athletic-green);
}

.v3-checkbox-field label {
    color: var(--v3-text-muted);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.45;
}

.v3-checkbox-field .v3-field-error {
    grid-column: 2;
}

.v3-toggle-list {
    display: grid;
    gap: 10px;
}

.v3-toggle-list--compact {
    gap: 0;
    margin: -4px 0 2px;
}

.v3-toggle-row {
    min-height: 50px;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 16px;
    padding: 7px 0;
    border: 0;
    border-radius: 0;
    color: var(--v3-ink-light);
    font-weight: 800;
    cursor: pointer;
}

.v3-toggle-list--compact .v3-toggle-row + .v3-toggle-row {
    border-top: 1px solid var(--v3-border);
}

.v3-toggle-label {
    color: var(--v3-ink-light);
    font-size: 14px;
    line-height: 1.25;
}

.v3-toggle-copy {
    display: grid;
    gap: 2px;
}

.v3-toggle-help {
    color: var(--v3-text-muted);
    font-size: var(--v3-type-caption);
    font-weight: 600;
    line-height: 1.3;
}

.v3-toggle-row:hover .v3-toggle-label {
    color: var(--v3-athletic-green-soft);
}

.v3-toggle-row input {
    appearance: none;
    position: relative;
    width: 44px;
    height: 26px;
    border: 1px solid var(--v3-border-strong);
    border-radius: var(--v3-radius-pill);
    background: oklch(0.25 0.014 220 / 0.84);
    cursor: pointer;
    transition: background var(--v3-transition), border-color var(--v3-transition);
}

.v3-toggle-row input::before {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 18px;
    height: 18px;
    border-radius: var(--v3-radius-pill);
    background: var(--v3-text-muted);
    transition: transform var(--v3-transition), background var(--v3-transition);
}

.v3-toggle-row input:checked {
    border-color: rgb(0 155 68 / 0.64);
    background: rgb(0 155 68 / 0.32);
}

.v3-toggle-row input:checked::before {
    transform: translateX(20px);
    background: var(--v3-athletic-green-soft);
}

.v3-toggle-row input:focus-visible {
    outline: none;
    box-shadow: var(--v3-focus-ring);
}

.v3-complete-hero {
    display: grid;
    justify-items: center;
    gap: 10px;
    text-align: center;
}

.v3-complete-hero h1 {
    margin: 0;
    color: var(--v3-ink-light);
    font-family: var(--v3-font-body);
    font-size: 28px;
    line-height: 1.15;
    font-weight: 800;
}

.v3-complete-hero p {
    margin: 6px 0 0;
    color: var(--v3-text-muted);
    font-size: 15px;
    font-weight: 600;
}

.v3-complete-burst {
    position: relative;
    display: grid;
    place-items: center;
    width: 200px;
    height: 62px;
}

.v3-complete-burst::before,
.v3-complete-burst::after {
    content: "";
    position: absolute;
    width: 58px;
    height: 34px;
    opacity: 0.56;
    background:
        radial-gradient(circle, rgb(0 155 68 / 0.84) 0 1.5px, transparent 2px) 4px 10px / 18px 14px,
        radial-gradient(circle, rgb(0 155 68 / 0.58) 0 1.2px, transparent 1.8px) 12px 3px / 23px 16px;
}

.v3-complete-burst::before {
    right: calc(50% + 35px);
    transform: rotate(-8deg);
}

.v3-complete-burst::after {
    left: calc(50% + 35px);
    transform: rotate(8deg);
}

.v3-complete-mark {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border: 2px solid var(--v3-athletic-green);
    border-radius: var(--v3-radius-pill);
    color: var(--v3-athletic-green-soft);
    background: rgb(0 155 68 / 0.12);
}

.v3-complete-mark .v3-icon {
    font-size: 29px;
    line-height: 1;
}

.v3-team-showcase {
    display: grid;
    justify-items: center;
    gap: 6px;
    margin-inline: auto;
    text-align: center;
}

.v3-team-crest {
    position: relative;
    isolation: isolate;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 132px;
    height: 164px;
    margin: -2px 0 2px;
}

.v3-team-crest-glow {
    position: absolute;
    z-index: -1;
    left: 50%;
    bottom: 3%;
    width: 210%;
    height: 68%;
    transform: translateX(-50%);
    border-radius: 50%;
    background:
        radial-gradient(ellipse at center,
            rgb(0 155 68 / 0.20) 0%,
            rgb(0 155 68 / 0.12) 30%,
            rgb(0 155 68 / 0.05) 52%,
            transparent 74%);
    filter: blur(18px);
    pointer-events: none;
}

.v3-team-crest-image {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter:
        drop-shadow(0 18px 26px oklch(0.08 0.012 220 / 0.42))
        drop-shadow(0 0 16px rgb(0 155 68 / 0.14));
    outline: 1px solid var(--v3-image-outline);
    outline-offset: -1px;
    border-radius: 18px;
}

.v3-team-showcase h1 {
    margin: 0;
    color: var(--v3-ink-light);
    font-family: var(--v3-font-body);
    font-size: 31px;
    line-height: 1.1;
    font-weight: 800;
}

.v3-team-showcase p {
    margin: 4px 0 0;
    color: var(--v3-text-muted);
    font-size: 15px;
    line-height: 1.3;
    font-weight: 600;
}

.v3-complete-divider {
    position: relative;
    height: 14px;
    margin: -2px 0 -4px;
}

.v3-complete-divider::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--v3-border-strong), transparent);
}

.v3-complete-divider span {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 8px;
    height: 8px;
    transform: translate(-50%, -50%);
    border-radius: var(--v3-radius-pill);
    background: var(--v3-athletic-green);
    box-shadow:
        0 0 12px rgb(0 155 68 / 0.46),
        0 0 30px rgb(0 155 68 / 0.22);
}

.v3-invite-card h3 {
    margin: 0;
    color: var(--v3-ink-light);
    font-family: var(--v3-font-body);
    font-size: 15px;
    line-height: 1.2;
    font-weight: 800;
}

.v3-invite-card p {
    margin: 4px 0 0;
    color: var(--v3-text-muted);
    font-size: var(--v3-type-caption);
    line-height: 1.3;
    font-weight: 600;
}

.v3-invite-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 34px;
    align-items: center;
}

.v3-invite-card {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 10px 14px;
    align-items: center;
    min-width: 0;
    padding: 0;
    border: 0;
    background: transparent;
}

.v3-invite-title {
    grid-column: 2;
    margin: 0;
    color: var(--v3-ink-light);
    font-family: var(--v3-font-body);
    font-size: 15px;
    line-height: 1.2;
    font-weight: 800;
    text-align: center;
}

.v3-invite-code-row {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    align-items: center;
    gap: 14px;
}

.v3-invite-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border: 1px solid var(--v3-border);
    border-radius: var(--v3-radius-pill);
    color: var(--v3-athletic-green-soft);
    background: oklch(0.13 0.015 220 / 0.46);
    box-shadow:
        inset 0 0 0 1px rgb(0 155 68 / 0.05),
        0 12px 24px oklch(0.08 0.012 220 / 0.22);
}

.v3-invite-icon .v3-icon {
    font-size: 25px;
    line-height: 1;
}

.v3-invite-code {
    appearance: none;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 48px;
    padding: 0 32px 0 18px;
    border: 1px solid rgb(0 155 68 / 0.52);
    border-radius: 8px;
    color: var(--v3-athletic-green);
    background: rgb(0 155 68 / 0.08);
    cursor: pointer;
    transition: border-color var(--v3-transition), background var(--v3-transition), transform var(--v3-transition);
}

.v3-invite-code:hover,
.v3-invite-code:focus-visible {
    border-color: rgb(0 155 68 / 0.72);
    background: rgb(0 155 68 / 0.12);
}

.v3-invite-code:focus-visible {
    outline: none;
    box-shadow: var(--v3-focus-ring);
}

.v3-invite-code.is-copied {
    border-color: rgb(0 155 68 / 0.76);
    background: rgb(0 155 68 / 0.14);
    }

.v3-invite-code-spacer {
    display: none;
}

.v3-invite-code-text {
    min-width: 0;
    font-family: var(--v3-font-display);
    font-size: 17px;
    font-weight: 800;
    letter-spacing: 0.11em;
    text-align: center;
    white-space: nowrap;
}

.v3-invite-code-action {
    position: absolute;
    top: 8px;
    right: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    color: var(--v3-athletic-green-soft);
}

.v3-invite-code-action .v3-icon {
    font-size: 13px;
    line-height: 1;
}

.v3-invite-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.v3-invite-card .v3-invite-actions:has(.v3-mini-button:only-child) {
    grid-template-columns: 1fr;
}

.v3-mini-button {
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border: 1px solid rgb(0 155 68 / 0.36);
    border-radius: var(--v3-radius-sm);
    color: var(--v3-athletic-green-soft);
    background: transparent;
    font-size: var(--v3-type-caption);
    font-weight: 800;
    cursor: pointer;
    transition: border-color var(--v3-transition), background var(--v3-transition), transform var(--v3-transition);
}

.v3-mini-button:hover,
.v3-mini-button:focus-visible {
    border-color: rgb(0 155 68 / 0.62);
    background: rgb(0 155 68 / 0.10);
}

.v3-mini-button:focus-visible {
    outline: none;
    box-shadow: var(--v3-focus-ring);
}

.v3-mini-button.is-copied {
    border-color: rgb(0 155 68 / 0.64);
    background: rgb(0 155 68 / 0.14);
}

.v3-complete-note {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: -2px 0 2px;
    color: var(--v3-text-muted);
    font-size: var(--v3-type-caption);
    font-weight: 600;
}

.v3-complete-note .v3-icon {
    color: var(--v3-text-muted);
    font-size: 16px;
    line-height: 1;
}

.v3-button--with-icon {
    gap: 10px;
    justify-content: center;
}

.v3-onboarding-panel--complete .v3-button {
    min-height: 50px;
}

.v3-button--with-icon .v3-icon {
    font-size: 18px;
    line-height: 1;
}

.v3-complete-cta {
    justify-self: center;
    width: auto;
    min-width: 250px;
    max-width: 100%;
    padding: 0 24px;
}

@media (min-width: 760px) {
    .v3-onboarding-panel--complete {
        width: min(100%, 780px);
        grid-template-columns: minmax(220px, 0.9fr) minmax(0, 1.35fr);
        align-items: center;
        gap: 14px 30px;
        padding: 8px 10px 0;
    }

    .v3-onboarding-panel--complete .v3-team-showcase {
        grid-column: 1;
        grid-row: 1 / span 3;
    }

    .v3-onboarding-panel--complete .v3-team-crest {
        width: 112px;
        height: 138px;
        margin: -2px 0 0;
    }

    .v3-onboarding-panel--complete .v3-team-showcase h1 {
        font-size: 27px;
    }

    .v3-onboarding-panel--complete .v3-complete-divider {
        display: none;
    }

    .v3-onboarding-panel--complete .v3-invite-grid {
        grid-column: 2;
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .v3-onboarding-panel--complete .v3-invite-card {
        grid-template-columns: 48px minmax(0, 1fr);
        gap: 6px 12px;
    }

    .v3-onboarding-panel--complete .v3-invite-code-row {
        grid-template-columns: 48px minmax(0, 1fr);
        gap: 12px;
    }

    .v3-onboarding-panel--complete .v3-invite-icon {
        width: 48px;
        height: 48px;
    }

    .v3-onboarding-panel--complete .v3-invite-icon .v3-icon {
        font-size: 22px;
    }

    .v3-onboarding-panel--complete .v3-invite-code {
        min-height: 42px;
    }

    .v3-onboarding-panel--complete .v3-complete-note {
        grid-column: 2;
        margin: -4px 0 0;
    }

    .v3-onboarding-panel--complete .v3-complete-cta {
        grid-column: 1 / -1;
        min-height: 46px;
        margin-top: 0;
    }
}

.v3-form-row {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    min-height: 24px;
}

.v3-text-link {
    color: var(--v3-athletic-green-soft);
    font-weight: 800;
    text-decoration: none;
}

.v3-text-link:hover,
.v3-text-link:focus-visible {
    color: var(--v3-athletic-green);
    text-decoration: underline;
}

.v3-button,
.v3-secondary-button,
.v3-path,
.v3-back-link,
.v3-home-link {
    min-height: 48px;
    border-radius: var(--v3-radius-md);
    text-decoration: none;
    transition: transform var(--v3-transition), border-color var(--v3-transition), background var(--v3-transition);
}

.v3-secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    border: 1px solid var(--v3-border);
    color: var(--v3-athletic-green-soft);
    background: oklch(0.18 0.016 220 / 0.54);
    font-weight: 800;
    cursor: pointer;
}

.v3-secondary-button:disabled {
    cursor: default;
}

.v3-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    border: 1px solid transparent;
    color: var(--v3-primary-action-foreground);
    background: var(--v3-primary-action-background);
    font-weight: 800;
    cursor: pointer;
}

.v3-button:hover,
.v3-secondary-button:hover,
.v3-path:hover,
.v3-back-link:hover,
.v3-home-link:hover {
    transform: translateY(-1px);
}

.v3-button:focus-visible,
.v3-secondary-button:focus-visible,
.v3-path:focus-visible,
.v3-back-link:focus-visible,
.v3-home-link:focus-visible,
.v3-text-link:focus-visible {
    outline: none;
    box-shadow: var(--v3-focus-ring);
}

.v3-onboarding-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 18px 0 12px;
    color: var(--v3-text-muted);
    font-weight: 700;
}

.v3-onboarding-divider::before,
.v3-onboarding-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--v3-border);
}

.v3-path-list {
    display: grid;
    gap: 8px;
}

.v3-path {
    display: grid;
    grid-template-columns: 36px 1fr 18px;
    align-items: center;
    gap: 12px;
    min-height: 54px;
    padding: 10px 12px;
    border: 1px solid var(--v3-border);
    background: oklch(0.18 0.016 220 / 0.68);
    color: var(--v3-ink-light);
}

.v3-path:hover,
.v3-path:focus-visible {
    border-color: rgb(0 155 68 / 0.56);
    background: oklch(0.20 0.018 220 / 0.92);
}

.v3-path-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    color: var(--v3-athletic-green-soft);
}

.v3-path-arrow svg {
    display: block;
}

.v3-path-icon .v3-icon {
    display: block;
    font-size: 26px;
    line-height: 1;
}

.v3-path-title {
    display: block;
    font-weight: 700;
}

.v3-path-meta {
    display: block;
    margin-top: 2px;
    color: var(--v3-text-muted);
    font-size: 13px;
    font-weight: 500;
}

.v3-path-arrow {
    color: var(--v3-text-muted);
}

.v3-placeholder-panel {
    position: relative;
    display: grid;
    gap: 24px;
}

.v3-placeholder-kicker {
    margin: 0 0 -12px;
    color: var(--v3-athletic-green-soft);
    font-weight: 800;
    font-size: 13px;
}

.v3-detail-list {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.v3-detail-list li {
    display: flex;
    gap: 10px;
    color: var(--v3-text-muted);
}

.v3-detail-list li::before {
    content: "";
    flex: 0 0 7px;
    width: 7px;
    height: 7px;
    margin-top: 9px;
    border-radius: var(--v3-radius-pill);
    background: var(--v3-athletic-green);
}

.v3-code-block {
    display: grid;
    gap: 7px;
}

.v3-code-label {
    color: var(--v3-text-muted);
    font-size: 13px;
    font-weight: 800;
}

.v3-code-value {
    min-height: 54px;
    display: flex;
    align-items: center;
    padding: 0 16px;
    border: 1px solid var(--v3-border-strong);
    border-radius: var(--v3-radius-md);
    color: var(--v3-ink-light);
    background: var(--v3-auth-field);
    font-family: var(--v3-font-display);
    font-weight: 800;
}

.v3-placeholder-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.v3-resend-form {
    margin-top: -10px;
}

.v3-resend-button {
    position: relative;
    gap: 8px;
}

.v3-resend-spinner,
.v3-resend-check {
    display: none;
}

.v3-resend-button.is-loading [data-v3-resend-label] {
    opacity: 0;
}

.v3-resend-button.is-loading .v3-resend-spinner {
    position: absolute;
    display: block;
    width: 18px;
    height: 18px;
    border: 2px solid rgb(0 155 68 / 0.32);
    border-top-color: var(--v3-athletic-green-soft);
    border-radius: var(--v3-radius-pill);
    animation: v3-resend-spin 700ms linear infinite;
}

.v3-resend-button.is-success {
    border-color: rgb(0 155 68 / 0.46);
    background: rgb(0 155 68 / 0.12);
}

.v3-resend-button.is-success .v3-resend-check {
    display: inline-block;
    font-size: 18px;
    line-height: 1;
}

.v3-helper-text {
    margin: 0;
    color: var(--v3-text-muted);
    font-size: 14px;
}

.v3-helper-text--desktop {
    display: none;
}

.v3-back-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid var(--v3-border);
    color: var(--v3-athletic-green-soft);
    background: oklch(0.18 0.016 220 / 0.54);
    font-weight: 800;
}

.v3-back-link .v3-icon {
    font-size: 17px;
    line-height: 1;
}

.v3-home-link {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    min-height: 38px;
    border: 1px solid var(--v3-border);
    border-radius: var(--v3-radius-sm);
    color: var(--v3-athletic-green-soft);
    background: oklch(0.18 0.016 220 / 0.54);
}

.v3-home-link .v3-icon {
    font-size: 17px;
    line-height: 1;
}

.v3-athlete-invite-panel,
.v3-coach-invite-panel,
.v3-athlete-install-panel {
    width: min(100%, 560px);
}

.v3-athlete-team-showcase {
    gap: 5px;
}

.v3-athlete-team-showcase .v3-team-crest {
    width: 108px;
    height: 134px;
    margin: -4px 0 2px;
}

.v3-athlete-team-showcase h1 {
    max-width: 100%;
    font-size: 28px;
    overflow-wrap: anywhere;
}

.v3-athlete-team-showcase p {
    margin-top: 0;
    color: var(--v3-athletic-green-soft);
    font-size: 13px;
    font-weight: 800;
}

.v3-athlete-code-copy {
    justify-self: center;
    width: min(100%, 280px);
}

.v3-install-actions {
    display: grid;
    gap: 10px;
}

.v3-install-action {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr) 108px;
    align-items: center;
    gap: 12px;
    min-height: 70px;
    padding: 10px 12px;
    border: 1px solid var(--v3-border);
    border-radius: 16px;
    background: oklch(0.18 0.016 220 / 0.62);
}

.v3-install-action-icon {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border: 1px solid rgb(0 155 68 / 0.34);
    border-radius: var(--v3-radius-pill);
    color: var(--v3-athletic-green-soft);
    background: rgb(0 155 68 / 0.09);
}

.v3-install-action-icon .v3-icon {
    font-size: 22px;
    line-height: 1;
}

.v3-install-action-copy {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.v3-install-action-copy strong {
    color: var(--v3-ink-light);
    font-size: 14px;
    line-height: 1.2;
    font-weight: 800;
}

.v3-install-action-copy span {
    min-width: 0;
    overflow: hidden;
    color: var(--v3-text-muted);
    font-size: var(--v3-type-caption);
    line-height: 1.25;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.v3-install-inline-button {
    min-height: 40px;
    border-radius: 12px;
    font-size: 13px;
}

.v3-install-inline-button.is-success {
    border-color: rgb(0 155 68 / 0.46);
    color: var(--v3-athletic-green-soft);
    background: rgb(0 155 68 / 0.12);
}

.v3-push-switch {
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 40px;
    padding: 0 10px;
    border: 1px solid var(--v3-border-strong);
    border-radius: 12px;
    color: var(--v3-text-muted);
    background: oklch(0.21 0.014 220 / 0.84);
    cursor: pointer;
    transition: border-color var(--v3-transition), color var(--v3-transition), background var(--v3-transition), opacity var(--v3-transition);
}

.v3-push-switch:hover,
.v3-push-switch:focus-visible {
    border-color: rgb(0 155 68 / 0.42);
    color: var(--v3-ink-light);
}

.v3-push-switch:focus-visible {
    outline: none;
    box-shadow: var(--v3-focus-ring);
}

.v3-push-switch:disabled {
    cursor: wait;
    opacity: 0.74;
}

.v3-push-switch-track {
    position: relative;
    width: 38px;
    height: 22px;
    border: 1px solid var(--v3-border-strong);
    border-radius: var(--v3-radius-pill);
    background: oklch(0.25 0.014 220 / 0.86);
    transition: border-color var(--v3-transition), background var(--v3-transition);
}

.v3-push-switch-thumb {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 14px;
    height: 14px;
    border-radius: var(--v3-radius-pill);
    background: var(--v3-text-muted);
    transition: transform var(--v3-transition), background var(--v3-transition);
}

.v3-push-switch.is-on {
    border-color: rgb(0 155 68 / 0.48);
    color: var(--v3-athletic-green-soft);
    background: rgb(0 155 68 / 0.10);
}

.v3-push-switch.is-on .v3-push-switch-track {
    border-color: rgb(0 155 68 / 0.54);
    background: rgb(0 155 68 / 0.28);
}

.v3-push-switch.is-on .v3-push-switch-thumb {
    transform: translateX(16px);
    background: var(--v3-athletic-green-soft);
}

.v3-push-switch-label {
    min-width: 22px;
    font-size: var(--v3-type-caption);
    font-weight: 800;
    line-height: 1;
    text-align: left;
}

.v3-install-status:empty {
    display: none;
}

.v3-athlete-ready-card {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    align-items: center;
    gap: 16px;
    min-height: 92px;
    padding: 18px 20px;
    border: 1px solid rgb(0 155 68 / 0.36);
    border-radius: 18px;
    background:
        radial-gradient(circle at 9% 50%, rgb(0 155 68 / 0.12), transparent 28%),
        linear-gradient(135deg, oklch(0.22 0.022 220 / 0.78), oklch(0.13 0.016 220 / 0.78));
}

.v3-athlete-ready-icon {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    border: 2px solid var(--v3-athletic-green);
    border-radius: var(--v3-radius-pill);
    color: var(--v3-athletic-green-soft);
    background: rgb(0 155 68 / 0.10);
}

.v3-athlete-ready-icon .v3-icon {
    font-size: 26px;
    line-height: 1;
}

.v3-athlete-ready-copy {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.v3-athlete-ready-copy strong {
    color: var(--v3-ink-light);
    font-size: 20px;
    line-height: 1.15;
    font-weight: 800;
}

.v3-athlete-ready-copy span {
    color: var(--v3-text-muted);
    font-size: 15px;
    line-height: 1.32;
    font-weight: 600;
}

.v3-athlete-complete-panel {
    width: min(100%, 560px);
}

@media (max-width: 560px) {
    .v3-auth-shell {
        align-items: flex-start;
        overflow-x: hidden;
        overflow-y: auto;
        padding:
            calc(24px + var(--v3-safe-top))
            max(14px, calc(10px + var(--v3-safe-right)))
            calc(28px + var(--v3-safe-bottom))
            max(14px, calc(10px + var(--v3-safe-left)));
    }

    .v3-brand-lockup {
        margin-bottom: 20px;
    }

    .v3-brand-lockup img {
        width: 224px;
    }

    .v3-brand-divider {
        display: block;
        width: calc(100% - 14px);
        margin-bottom: 24px;
    }

    .v3-auth-page--flow {
        display: flex;
        flex-direction: column;
        min-height: calc(var(--v3-viewport-height) - var(--v3-safe-top) - var(--v3-safe-bottom) - 62px);
        width: min(100%, 520px);
    }

    .v3-entry-panel,
    .v3-placeholder-panel {
        padding: 18px 16px;
    }

    .v3-entry-header {
        text-align: center;
        margin-bottom: 20px;
    }

    .v3-step-intro {
        position: relative;
        isolation: isolate;
        display: grid;
        grid-template-columns: minmax(0, 1fr) 78px;
        align-items: center;
        gap: 12px;
        width: min(100%, 362px);
        min-height: 120px;
        margin: 26px auto 18px;
        padding: 16px 16px 16px 18px;
        border: 1px solid rgb(0 155 68 / 0.32);
        border-radius: 18px;
        background:
            linear-gradient(135deg, oklch(0.22 0.022 220 / 0.88), oklch(0.13 0.016 220 / 0.76)),
            oklch(0.16 0.017 220 / 0.86);
        box-shadow:
            inset 0 1px 0 oklch(0.96 0.006 220 / 0.05),
            0 16px 34px oklch(0.08 0.012 220 / 0.22);
    }

    .v3-step-intro::before {
        content: "";
        position: absolute;
        inset: 0;
        z-index: -1;
        border-radius: inherit;
        background:
            radial-gradient(circle at 80% 50%, rgb(0 155 68 / 0.12), transparent 32%),
            linear-gradient(135deg, transparent 0 46%, rgb(0 155 68 / 0.05) 46.2% 46.6%, transparent 47%);
    }

    .v3-step-intro-copy {
        display: grid;
        gap: 6px;
        min-width: 0;
    }

    .v3-step-intro-kicker {
        margin: 0;
        color: var(--v3-athletic-green);
        font-size: 14px;
        line-height: 1.15;
        font-weight: 800;
    }

    .v3-step-intro h1 {
        margin: 0;
        color: var(--v3-ink-light);
        font-family: var(--v3-font-body);
        font-size: 26px;
        line-height: 1.08;
        font-weight: 800;
    }

    .v3-step-intro-copy > p:not(.v3-step-intro-kicker) {
        margin: 0;
        color: var(--v3-text-muted);
        font-size: 14px;
        line-height: 1.34;
        font-weight: 600;
    }

    .v3-step-intro-icon {
        position: relative;
        display: grid;
        place-items: center;
        justify-self: end;
        width: 66px;
        height: 66px;
        border: 1.5px solid var(--v3-athletic-green);
        border-radius: var(--v3-radius-pill);
        color: var(--v3-athletic-green-soft);
        background: rgb(0 155 68 / 0.11);
        box-shadow:
            inset 0 0 18px rgb(0 155 68 / 0.12),
            0 0 22px rgb(0 155 68 / 0.12);
    }

    .v3-step-intro-icon::before {
        content: "";
        position: absolute;
        inset: -9px;
        border: 1px dashed rgb(0 155 68 / 0.28);
        border-radius: inherit;
    }

    .v3-step-intro-icon .v3-icon {
        font-size: 30px;
        line-height: 1;
    }

    .v3-onboarding-panel {
        gap: 16px;
        margin-block: 0;
    }

    .v3-onboarding-header {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border: 0;
    }

    .v3-helper-text--desktop {
        display: none;
    }

    .v3-onboarding-panel--complete {
        width: min(100%, 520px);
        gap: 10px;
        padding: 0 16px;
    }

    .v3-home-link {
        top: 14px;
        right: 14px;
        width: 36px;
        height: 36px;
        min-height: 36px;
    }

    .v3-coach-progress {
        margin: 0 auto;
        overflow: visible;
        padding: 0 2px;
    }

    .v3-coach-progress ol {
        min-width: 0;
    }

    .v3-coach-progress ol::before {
        display: none;
    }

    .v3-coach-progress-step::after {
        top: 14px;
        left: calc(50% + 14px);
        width: calc(100% - 28px);
    }

    .v3-coach-progress-node {
        width: 28px;
        height: 28px;
        border-width: 2px;
    }

    .v3-coach-progress-node .v3-icon {
        font-size: 13px;
    }

    .v3-coach-progress-label {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border: 0;
    }

    .v3-entry-header h1,
    .v3-placeholder-panel h1,
    .v3-onboarding-header h1 {
        font-size: 30px;
    }

    .v3-entry-header p,
    .v3-placeholder-panel > p,
    .v3-onboarding-header p {
        font-size: 16px;
        line-height: 1.35;
    }

    .v3-login-form {
        gap: 10px;
    }

    .v3-field {
        gap: 5px;
    }

    .v3-checkbox-field {
        grid-template-columns: 18px 1fr;
        align-items: start;
        gap: 8px 10px;
        margin: 7px 0 9px;
    }

    .v3-checkbox-field input {
        width: 17px;
        min-height: 17px;
        height: 17px;
        margin-top: 2px;
    }

    .v3-checkbox-field label {
        font-size: 13px;
        line-height: 1.34;
    }

    .v3-field input,
    .v3-field select,
    .v3-code-field,
    .v3-button,
    .v3-secondary-button,
    .v3-back-link {
        min-height: 50px;
    }

    .v3-field.v3-checkbox-field input[type="checkbox"] {
        width: 17px;
        min-height: 17px;
        height: 17px;
        margin-top: 2px;
    }

    .v3-code-inputs {
        gap: 7px;
    }

    .v3-code-inputs--athlete {
        width: min(100%, 440px);
        margin-inline: auto;
        grid-template-columns: repeat(8, minmax(44px, 1fr));
    }

    .v3-code-box {
        min-height: 46px;
        font-size: 21px;
    }

    .v3-field .v3-code-box--athlete {
        min-height: 44px;
        font-size: 16px;
    }

    .v3-field .v3-code-box--invite {
        min-height: 36px;
        font-size: 16px;
    }

    .v3-toggle-list--compact {
        margin-top: -2px;
    }

    .v3-toggle-row {
        min-height: 56px;
        padding: 9px 0;
        gap: 12px;
    }

    .v3-toggle-help {
        font-size: var(--v3-type-caption);
    }

    .v3-complete-hero h1 {
        font-size: 24px;
    }

    .v3-complete-hero p {
        font-size: 14px;
    }

    .v3-team-showcase,
    .v3-invite-grid {
        width: 100%;
    }

    .v3-team-showcase {
        gap: 3px;
    }

    .v3-team-crest {
        width: 92px;
        height: 114px;
        margin: -4px 0 0;
    }

    .v3-team-showcase h1 {
        font-size: 22px;
    }

    .v3-team-showcase p {
        margin-top: 2px;
        font-size: var(--v3-type-caption);
    }

    .v3-invite-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .v3-invite-card {
        grid-template-columns: 42px minmax(0, 1fr);
        gap: 6px 10px;
    }

    .v3-invite-title {
        font-size: 13px;
    }

    .v3-invite-code-row {
        grid-template-columns: 42px minmax(0, 1fr);
        gap: 10px;
    }

    .v3-invite-icon {
        width: 42px;
        height: 42px;
    }

    .v3-invite-icon .v3-icon {
        font-size: 20px;
    }

    .v3-invite-code {
        min-height: 38px;
        padding: 0 26px 0 12px;
    }

    .v3-invite-code-text {
        font-size: 14px;
        letter-spacing: 0.09em;
    }

    .v3-invite-code-action {
        top: 7px;
        right: 7px;
        width: 15px;
        height: 15px;
    }

    .v3-invite-actions {
        grid-template-columns: 1fr;
    }

    .v3-complete-divider {
        height: 10px;
        margin: -1px 0 -3px;
    }

    .v3-complete-note {
        margin: -2px 0 -1px;
        font-size: var(--v3-type-caption);
    }

    .v3-complete-cta {
        min-width: 228px;
    }

    .v3-field-grid--split {
        grid-template-columns: 1fr;
    }

    .v3-field-grid--thirds {
        grid-template-columns: 0.82fr 1.18fr 1fr;
        gap: 8px;
    }

    .v3-field-grid--mobile-pair {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .v3-athlete-progress + .v3-step-intro {
        min-height: 112px;
        margin-top: 18px;
        margin-bottom: 14px;
        padding-top: 14px;
        padding-bottom: 14px;
    }

    .v3-athlete-progress + .v3-step-intro h1 {
        font-size: 24px;
    }

    .v3-athlete-progress + .v3-step-intro .v3-step-intro-copy > p:not(.v3-step-intro-kicker) {
        font-size: 13px;
    }

    .v3-athlete-team-showcase .v3-team-crest {
        width: 94px;
        height: 116px;
    }

    .v3-athlete-team-showcase h1 {
        font-size: 23px;
    }

    .v3-install-action {
        grid-template-columns: 42px minmax(0, 1fr) 86px;
        gap: 10px;
        min-height: 64px;
        padding: 9px 10px;
        border-radius: 14px;
    }

    .v3-install-action-icon {
        width: 42px;
        height: 42px;
    }

    .v3-install-action-icon .v3-icon {
        font-size: 20px;
    }

    .v3-install-action-copy strong {
        font-size: 13px;
    }

    .v3-install-action-copy span {
        font-size: var(--v3-type-caption);
    }

    .v3-install-inline-button {
        min-height: 38px;
        padding: 0 8px;
        font-size: var(--v3-type-caption);
    }

    .v3-push-switch {
        min-height: 38px;
        padding: 0 8px;
        gap: 6px;
    }

    .v3-push-switch-track {
        width: 34px;
        height: 20px;
    }

    .v3-push-switch-thumb {
        width: 12px;
        height: 12px;
    }

    .v3-push-switch.is-on .v3-push-switch-thumb {
        transform: translateX(14px);
    }

    .v3-push-switch-label {
        min-width: 18px;
        font-size: var(--v3-type-caption);
    }

    .v3-athlete-ready-card {
        grid-template-columns: 44px minmax(0, 1fr);
        gap: 12px;
        min-height: 70px;
        padding: 12px;
        border-radius: 15px;
    }

    .v3-athlete-ready-icon {
        width: 42px;
        height: 42px;
        border-width: 2px;
    }

    .v3-athlete-ready-icon .v3-icon {
        font-size: 21px;
    }

    .v3-athlete-ready-copy strong {
        font-size: 15px;
    }

    .v3-athlete-ready-copy span {
        font-size: var(--v3-type-caption);
    }

    .v3-form-row {
        min-height: 20px;
    }

    .v3-onboarding-divider {
        gap: 10px;
        margin: 22px 0 12px;
    }

    .v3-path-list {
        gap: 10px;
    }

    .v3-path {
        grid-template-columns: 38px 1fr 18px;
        min-height: 64px;
        gap: 12px;
        padding: 10px 12px;
    }

    .v3-path-icon {
        width: 38px;
        height: 38px;
    }

    .v3-path-arrow svg {
        display: block;
    }

    .v3-path-icon .v3-icon {
        font-size: 28px;
    }

    .v3-path-title {
        font-size: 15px;
        font-weight: 700;
    }

    .v3-path-meta {
        font-size: 13px;
    }
}

@media (max-width: 560px) and (max-height: 780px) {
    .v3-auth-shell {
        padding-top: calc(18px + var(--v3-safe-top));
        padding-bottom: calc(20px + var(--v3-safe-bottom));
    }

    .v3-brand-lockup {
        margin-bottom: 14px;
    }

    .v3-brand-lockup img {
        width: 204px;
    }

    .v3-brand-divider {
        margin-bottom: 18px;
    }

    .v3-step-intro {
        grid-template-columns: minmax(0, 1fr) 68px;
        min-height: 108px;
        margin-top: 18px;
        margin-bottom: 14px;
        padding: 14px 14px 14px 16px;
    }

    .v3-step-intro h1 {
        font-size: 24px;
    }

    .v3-step-intro-copy > p:not(.v3-step-intro-kicker) {
        font-size: 13px;
    }

    .v3-step-intro-icon {
        width: 58px;
        height: 58px;
    }

    .v3-step-intro-icon::before {
        inset: -8px;
    }

    .v3-step-intro-icon .v3-icon {
        font-size: 27px;
    }

    .v3-onboarding-panel {
        gap: 12px;
    }

    .v3-field input,
    .v3-field select,
    .v3-code-field,
    .v3-button,
    .v3-secondary-button,
    .v3-back-link {
        min-height: 46px;
    }

    .v3-code-box {
        min-height: 42px;
    }

    .v3-field .v3-code-box--athlete {
        min-height: 44px;
        font-size: 17px;
    }

    .v3-field .v3-code-box--invite {
        min-height: 38px;
        font-size: 17px;
    }

    .v3-toggle-row {
        min-height: 50px;
        padding: 7px 0;
    }
}

@media (max-width: 460px) {
    .v3-code-inputs--athlete {
        width: min(100%, 276px);
        grid-template-columns: repeat(8, minmax(0, 1fr));
        gap: 4px;
    }

    .v3-field .v3-code-box--athlete {
        min-height: 44px;
        border-radius: 10px;
        font-size: 16px;
    }
}

.v3-auth-page--complete {
    width: min(100%, 820px);
}

.v3-auth-page--complete .v3-step-intro {
    width: min(100%, 760px);
    min-height: 158px;
    margin-bottom: 26px;
    grid-template-columns: minmax(0, 1fr) 140px;
    padding: 28px 34px 28px 38px;
    overflow: hidden;
    border-color: rgb(0 155 68 / 0.44);
    box-shadow:
        inset 0 1px 0 oklch(0.96 0.006 220 / 0.05),
        0 20px 46px oklch(0.08 0.012 220 / 0.24);
}

.v3-auth-page--complete .v3-step-intro::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(circle at 82% 50%, rgb(0 155 68 / 0.20), transparent 25%),
        radial-gradient(circle at 86% 48%, rgb(0 155 68 / 0.20) 0 1px, transparent 1.8px) 0 0 / 16px 16px;
    opacity: 0.82;
}

.v3-auth-page--complete .v3-step-intro h1 {
    font-size: 38px;
}

.v3-auth-page--complete .v3-step-intro h1 span {
    color: var(--v3-athletic-green);
}

.v3-auth-page--complete .v3-step-intro-copy > p:not(.v3-step-intro-kicker) {
    max-width: 410px;
    font-size: 19px;
}

.v3-auth-page--complete .v3-step-intro-icon {
    width: 118px;
    height: 118px;
    border-width: 3px;
    color: var(--v3-athletic-green-soft);
    background:
        radial-gradient(circle at 50% 50%, rgb(0 155 68 / 0.22), rgb(0 155 68 / 0.08) 58%, transparent 72%);
    box-shadow:
        inset 0 0 32px rgb(0 155 68 / 0.22),
        0 0 34px rgb(0 155 68 / 0.42),
        0 0 70px rgb(0 155 68 / 0.18);
}

.v3-auth-page--complete .v3-step-intro-icon::before {
    inset: -13px;
    border-style: solid;
    border-color: rgb(0 155 68 / 0.20);
}

.v3-auth-page--complete .v3-step-intro-icon .v3-icon {
    font-size: 58px;
}

.v3-complete-panel {
    width: min(100%, 760px);
    grid-template-columns: 1fr;
    gap: 20px;
    align-items: stretch;
    padding: 0;
}

.v3-complete-panel .v3-team-showcase,
.v3-complete-panel .v3-invite-grid,
.v3-complete-panel .v3-complete-next-card,
.v3-complete-panel .v3-complete-cta {
    grid-column: auto;
    grid-row: auto;
}

.v3-team-showcase--celebration {
    width: 100%;
    gap: 7px;
    padding-top: 2px;
}

.v3-team-showcase--celebration .v3-team-crest {
    width: 168px;
    height: 206px;
    margin: 0 auto 10px;
}

.v3-team-showcase--celebration .v3-team-crest::before {
    content: "";
    position: absolute;
    z-index: -2;
    inset: -42px -72px -28px;
    opacity: 0.78;
    background:
        repeating-conic-gradient(
            from 4deg,
            transparent 0deg 8deg,
            rgb(0 155 68 / 0.18) 8deg 9deg,
            transparent 9deg 15deg
        );
    filter: blur(1px);
    mask-image: radial-gradient(circle, oklch(0 0 0) 0 48%, transparent 73%);
}

.v3-team-showcase--celebration .v3-team-crest-glow {
    bottom: 10%;
    width: 250%;
    height: 82%;
    background:
        radial-gradient(ellipse at center,
            rgb(0 155 68 / 0.34) 0%,
            rgb(0 155 68 / 0.18) 31%,
            rgb(0 155 68 / 0.07) 55%,
            transparent 76%);
    filter: blur(19px);
}

.v3-team-showcase--celebration h1 {
    max-width: 100%;
    color: var(--v3-ink-light);
    font-size: 28px;
    overflow-wrap: anywhere;
}

.v3-team-showcase--celebration h2 {
    margin: 2px 0 0;
    color: var(--v3-ink-light);
    font-family: var(--v3-font-body);
    font-size: 38px;
    line-height: 1.08;
    font-weight: 800;
    text-wrap: balance;
}

.v3-team-showcase--celebration h2 span {
    color: var(--v3-athletic-green);
}

.v3-team-showcase--celebration p {
    margin: 0;
    color: var(--v3-text-muted);
    font-size: 18px;
    line-height: 1.35;
    font-weight: 700;
}

.v3-complete-panel .v3-invite-grid--final {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    width: 100%;
}

.v3-complete-panel .v3-invite-card {
    --v3-invite-accent: var(--v3-athletic-green);
    --v3-invite-accent-soft: var(--v3-athletic-green-soft);
    --v3-invite-accent-muted: rgb(0 155 68 / 0.16);
    --v3-invite-border: rgb(0 155 68 / 0.58);
    --v3-invite-border-strong: rgb(0 155 68 / 0.68);
    --v3-invite-border-hot: rgb(0 155 68 / 0.82);
    --v3-invite-wash: rgb(0 155 68 / 0.17);
    --v3-invite-wash-soft: rgb(0 155 68 / 0.06);
    --v3-invite-wash-strong: rgb(0 155 68 / 0.20);
    --v3-invite-control: rgb(0 155 68 / 0.07);
    --v3-invite-control-hover: rgb(0 155 68 / 0.12);
    --v3-invite-icon-bg: rgb(0 155 68 / 0.10);
    --v3-invite-icon-inset: rgb(0 155 68 / 0.18);
    --v3-invite-icon-glow: rgb(0 155 68 / 0.40);
    --v3-invite-copy-line: rgb(0 155 68 / 0.42);
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr) minmax(220px, 0.62fr);
    align-items: center;
    gap: 22px;
    min-height: 128px;
    padding: 20px 24px;
    overflow: hidden;
    border: 1px solid var(--v3-invite-border);
    border-radius: 22px;
    background:
        radial-gradient(circle at 9% 50%, var(--v3-invite-wash), transparent 24%),
        linear-gradient(135deg, oklch(0.22 0.022 220 / 0.78), oklch(0.13 0.016 220 / 0.78)),
        oklch(0.16 0.017 220 / 0.86);
}

.v3-complete-panel .v3-invite-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(135deg, transparent 0 44%, var(--v3-invite-wash-soft) 44.2% 44.6%, transparent 45%),
        radial-gradient(circle at 10% 50%, var(--v3-invite-wash-strong), transparent 18%);
}

.v3-complete-panel .v3-invite-card--coaches {
    --v3-invite-accent: oklch(0.69 0.13 248);
    --v3-invite-accent-soft: oklch(0.78 0.10 248);
    --v3-invite-accent-muted: oklch(0.69 0.13 248 / 0.16);
    --v3-invite-border: oklch(0.69 0.13 248 / 0.58);
    --v3-invite-border-strong: oklch(0.69 0.13 248 / 0.68);
    --v3-invite-border-hot: oklch(0.69 0.13 248 / 0.82);
    --v3-invite-wash: oklch(0.69 0.13 248 / 0.16);
    --v3-invite-wash-soft: oklch(0.69 0.13 248 / 0.06);
    --v3-invite-wash-strong: oklch(0.69 0.13 248 / 0.20);
    --v3-invite-control: oklch(0.69 0.13 248 / 0.07);
    --v3-invite-control-hover: oklch(0.69 0.13 248 / 0.12);
    --v3-invite-icon-bg: oklch(0.69 0.13 248 / 0.10);
    --v3-invite-icon-inset: oklch(0.69 0.13 248 / 0.18);
    --v3-invite-icon-glow: oklch(0.69 0.13 248 / 0.40);
    --v3-invite-copy-line: oklch(0.69 0.13 248 / 0.42);
}

.v3-complete-panel .v3-invite-icon {
    display: grid;
    place-items: center;
    width: 78px;
    height: 78px;
    border: 3px solid var(--v3-invite-accent);
    color: var(--v3-invite-accent-soft);
    background: var(--v3-invite-icon-bg);
    box-shadow:
        inset 0 0 28px var(--v3-invite-icon-inset),
        0 0 28px var(--v3-invite-icon-glow);
}

.v3-complete-panel .v3-invite-icon .v3-icon {
    font-size: 34px;
}

.v3-invite-copy {
    display: grid;
    gap: 8px;
    min-width: 0;
}

.v3-complete-panel .v3-invite-title {
    grid-column: auto;
    color: var(--v3-ink-light);
    font-size: 24px;
    text-align: left;
}

.v3-complete-panel .v3-invite-copy p {
    margin: 0;
    color: var(--v3-text-muted);
    font-size: 16px;
    line-height: 1.35;
    font-weight: 700;
}

.v3-invite-code-block {
    display: grid;
    gap: 10px;
    min-width: 0;
}

.v3-invite-code-controls {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(108px, max-content);
    align-items: stretch;
    gap: 8px;
    min-width: 0;
}

.v3-invite-label {
    color: var(--v3-invite-accent-soft);
    font-size: 15px;
    line-height: 1.2;
    font-weight: 800;
}

.v3-complete-panel .v3-invite-code {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 52px;
    min-height: 54px;
    padding: 0;
    border-color: var(--v3-invite-border-strong);
    border-radius: 9px;
    color: var(--v3-invite-accent-soft);
    background: var(--v3-invite-control);
}

.v3-complete-panel .v3-invite-code:hover,
.v3-complete-panel .v3-invite-code:focus-visible,
.v3-complete-panel .v3-invite-code.is-copied {
    border-color: var(--v3-invite-border-hot);
    background: var(--v3-invite-control-hover);
}

.v3-complete-panel .v3-invite-code-text {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    padding: 0 12px;
    color: var(--v3-invite-accent-soft);
    font-size: 22px;
    letter-spacing: 0;
}

.v3-complete-panel .v3-invite-code-action {
    position: static;
    width: 52px;
    height: 100%;
    border-left: 1px solid var(--v3-invite-copy-line);
    color: var(--v3-ink-light);
}

.v3-complete-panel .v3-invite-code-action .v3-icon {
    font-size: 20px;
}

.v3-invite-share-button {
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: auto;
    min-width: 108px;
    min-height: 54px;
    padding: 0 12px;
    border: 1px solid var(--v3-invite-border-strong);
    border-radius: 9px;
    color: var(--v3-invite-accent-soft);
    background: var(--v3-invite-control);
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
    cursor: pointer;
    transition: border-color var(--v3-transition), background var(--v3-transition), transform var(--v3-transition);
}

.v3-invite-share-button:hover,
.v3-invite-share-button:focus-visible,
.v3-invite-share-button.is-copied {
    border-color: var(--v3-invite-border-hot);
    background: var(--v3-invite-control-hover);
}

.v3-invite-share-button:focus-visible {
    outline: none;
    box-shadow: var(--v3-focus-ring);
}

.v3-button:active:not(:disabled),
.v3-secondary-button:active:not(:disabled),
.v3-path:active,
.v3-back-link:active,
.v3-home-link:active,
.v3-invite-code:active,
.v3-mini-button:active,
.v3-invite-share-button:active,
.v3-resend-button:active:not(:disabled),
.v3-install-inline-button:active:not(:disabled) {
    transform: scale(0.96);
}

.v3-password-toggle:active {
    transform: translateY(-50%) scale(0.96);
}

.v3-invite-share-button .v3-icon {
    font-size: 20px;
    line-height: 1;
}

.v3-invite-share-button-text {
    white-space: nowrap;
}

.v3-complete-next-card {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr) 22px;
    align-items: center;
    gap: 16px;
    min-height: 88px;
    padding: 16px 20px;
    border: 1px solid var(--v3-border-strong);
    border-radius: 18px;
    color: var(--v3-ink-light);
    background:
        linear-gradient(135deg, oklch(0.23 0.018 220 / 0.72), oklch(0.13 0.016 220 / 0.70));
}

.v3-complete-next-icon {
    display: grid;
    place-items: center;
    width: 50px;
    height: 50px;
    border: 2px solid var(--v3-athletic-green);
    border-radius: var(--v3-radius-pill);
    color: var(--v3-athletic-green-soft);
}

.v3-complete-next-icon .v3-icon {
    font-size: 24px;
}

.v3-complete-next-copy {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.v3-complete-next-copy strong {
    color: var(--v3-athletic-green);
    font-size: 20px;
    line-height: 1.15;
    font-weight: 800;
}

.v3-complete-next-copy span {
    color: var(--v3-text-muted);
    font-size: 15px;
    line-height: 1.32;
    font-weight: 600;
}

.v3-complete-next-card > .v3-icon[data-v3-icon="ACT-03-RIGHT"] {
    color: var(--v3-text-muted);
    font-size: 24px;
}

.v3-complete-access-note {
    margin: -4px 0 0;
    color: var(--v3-text-muted);
    font-size: var(--v3-type-caption);
    line-height: 1.2;
    font-weight: 700;
    text-align: center;
}

.v3-complete-panel .v3-complete-cta {
    width: 100%;
    min-width: 0;
    min-height: 64px;
    border-radius: 18px;
    font-size: 22px;
    font-weight: 800;
    background:
        linear-gradient(135deg, #009B44, #009B44);
    box-shadow: 0 18px 34px oklch(0.08 0.012 220 / 0.26);
}

@media (min-width: 760px) {
    .v3-complete-panel {
        grid-template-columns: 1fr;
        align-items: stretch;
    }

    .v3-complete-panel .v3-team-showcase,
    .v3-complete-panel .v3-team-crest,
    .v3-complete-panel .v3-invite-grid,
    .v3-complete-panel .v3-invite-card,
    .v3-complete-panel .v3-invite-code-row,
    .v3-complete-panel .v3-complete-next-card,
    .v3-complete-panel .v3-complete-access-note,
    .v3-complete-panel .v3-complete-cta {
        grid-column: auto;
        grid-row: auto;
    }
}

@media (max-width: 760px) {
    .v3-auth-page--complete {
        width: min(100%, 520px);
    }

    .v3-auth-page--complete .v3-step-intro {
        width: min(100%, 430px);
    }

    .v3-complete-panel {
        width: min(100%, 430px);
    }

    .v3-complete-panel .v3-invite-card {
        grid-template-columns: 78px minmax(0, 1fr);
        gap: 14px 16px;
        padding: 18px;
    }

    .v3-complete-panel .v3-invite-code-block {
        grid-column: 2;
    }

    .v3-complete-panel .v3-invite-code-controls {
        grid-template-columns: minmax(0, 1fr) 48px;
        gap: 8px;
    }

    .v3-complete-panel .v3-invite-share-button {
        width: 48px;
        min-width: 48px;
        min-height: 48px;
        padding: 0;
    }

    .v3-invite-share-button-text {
        display: none;
    }
}

@media (max-width: 560px) {
    .v3-auth-page--complete .v3-step-intro {
        grid-template-columns: minmax(0, 1fr) 86px;
        width: min(100%, 362px);
        min-height: 132px;
        margin-top: 26px;
        margin-bottom: 22px;
        padding: 18px 18px 18px 20px;
    }

    .v3-auth-page--complete .v3-step-intro h1 {
        font-size: 30px;
    }

    .v3-auth-page--complete .v3-step-intro-copy > p:not(.v3-step-intro-kicker) {
        font-size: 15px;
    }

    .v3-auth-page--complete .v3-step-intro-icon {
        width: 76px;
        height: 76px;
        border-width: 2px;
    }

    .v3-auth-page--complete .v3-step-intro-icon::before {
        inset: -9px;
    }

    .v3-auth-page--complete .v3-step-intro-icon .v3-icon {
        font-size: 38px;
    }

    .v3-complete-panel {
        width: min(100%, 362px);
        gap: 14px;
        margin-top: 20px;
        padding: 0;
    }

    .v3-team-showcase--celebration .v3-team-crest {
        width: 154px;
        height: 190px;
        margin-bottom: 8px;
    }

    .v3-team-showcase--celebration h1 {
        font-size: 23px;
    }

    .v3-team-showcase--celebration h2 {
        font-size: 31px;
    }

    .v3-team-showcase--celebration p {
        font-size: 16px;
    }

    .v3-complete-panel .v3-invite-card {
        grid-template-columns: 72px minmax(0, 1fr);
        min-height: 0;
        gap: 12px 14px;
        padding: 16px 14px;
        border-radius: 18px;
    }

    .v3-complete-panel .v3-invite-icon {
        width: 66px;
        height: 66px;
        border-width: 2px;
    }

    .v3-complete-panel .v3-invite-icon .v3-icon {
        font-size: 30px;
    }

    .v3-complete-panel .v3-invite-title {
        font-size: 20px;
    }

    .v3-complete-panel .v3-invite-copy p {
        font-size: 14px;
    }

    .v3-complete-panel .v3-invite-code-block {
        grid-column: 2;
        gap: 7px;
    }

    .v3-invite-label {
        font-size: 14px;
    }

    .v3-complete-panel .v3-invite-code {
        grid-template-columns: minmax(0, 1fr) 44px;
        min-height: 48px;
    }

    .v3-complete-panel .v3-invite-code-controls {
        grid-template-columns: minmax(0, 1fr) 44px;
    }

    .v3-complete-panel .v3-invite-share-button {
        width: 44px;
        min-width: 44px;
        min-height: 48px;
        padding: 0;
    }

    .v3-complete-panel .v3-invite-code-text {
        font-size: 18px;
    }

    .v3-complete-panel .v3-invite-code-action {
        width: 44px;
    }

    .v3-complete-panel .v3-invite-code-action .v3-icon {
        font-size: 18px;
    }

    .v3-complete-next-card {
        grid-template-columns: 28px minmax(0, 1fr) 14px;
        min-height: 38px;
        gap: 8px;
        padding: 7px 10px;
        border-radius: 12px;
    }

    .v3-complete-next-icon {
        width: 24px;
        height: 24px;
        border-width: 1px;
    }

    .v3-complete-next-icon .v3-icon {
        font-size: 13px;
    }

    .v3-complete-next-copy {
        gap: 0;
    }

    .v3-complete-next-copy strong {
        font-size: 13px;
        line-height: 1.1;
    }

    .v3-complete-next-copy span {
        display: none;
    }

    .v3-complete-next-card > .v3-icon[data-v3-icon="ACT-03-RIGHT"] {
        font-size: 14px;
    }

    .v3-complete-access-note {
        margin-top: -8px;
        font-size: var(--v3-type-caption);
        line-height: 1.15;
    }

    .v3-complete-panel .v3-complete-cta {
        min-height: 58px;
        border-radius: 16px;
        font-size: 19px;
    }
}

@media (min-width: 760px) {
    .v3-auth-page--complete {
        width: min(100%, 940px);
    }

    .v3-auth-page--complete .v3-step-intro {
        width: min(100%, 680px);
        min-height: 110px;
        margin: 2px auto 8px;
        grid-template-columns: minmax(0, 1fr) 92px;
        gap: 20px;
        padding: 16px 24px 16px 28px;
        border-color: rgb(0 155 68 / 0.34);
        box-shadow:
            inset 0 1px 0 oklch(0.96 0.006 220 / 0.05),
            0 14px 30px oklch(0.08 0.012 220 / 0.20);
    }

    .v3-auth-page--complete .v3-step-intro h1 {
        font-size: 28px;
    }

    .v3-auth-page--complete .v3-step-intro-copy > p:not(.v3-step-intro-kicker) {
        max-width: 380px;
        font-size: 15px;
    }

    .v3-auth-page--complete .v3-step-intro-icon {
        width: 72px;
        height: 72px;
        border-width: 2px;
        box-shadow:
            inset 0 0 22px rgb(0 155 68 / 0.16),
            0 0 24px rgb(0 155 68 / 0.24);
    }

    .v3-auth-page--complete .v3-step-intro-icon::before {
        inset: -9px;
    }

    .v3-auth-page--complete .v3-step-intro-icon .v3-icon {
        font-size: 35px;
    }

    .v3-complete-panel {
        width: min(100%, 680px);
        grid-template-columns: 1fr;
        align-items: stretch;
        justify-items: stretch;
        gap: 16px;
        margin-top: 34px;
        padding: 0;
    }

    .v3-complete-panel .v3-team-showcase,
    .v3-complete-panel .v3-invite-grid,
    .v3-complete-panel .v3-complete-next-card,
    .v3-complete-panel .v3-complete-access-note,
    .v3-complete-panel .v3-complete-cta {
        grid-column: 1;
        grid-row: auto;
    }

    .v3-team-showcase--celebration {
        align-self: center;
        gap: 6px;
        padding-top: 0;
    }

    .v3-team-showcase--celebration .v3-team-crest {
        width: 168px;
        height: 206px;
        margin: 0 auto 8px;
    }

    .v3-team-showcase--celebration .v3-team-crest::before {
        inset: -42px -70px -28px;
        opacity: 0.74;
    }

    .v3-team-showcase--celebration .v3-team-crest-glow {
        width: 252%;
        height: 84%;
        filter: blur(20px);
    }

    .v3-team-showcase--celebration h1 {
        font-size: 25px;
    }

    .v3-team-showcase--celebration h2 {
        margin-top: 0;
        max-width: 100%;
        font-size: 25px;
        line-height: 1.06;
    }

    .v3-team-showcase--celebration p {
        max-width: 100%;
        font-size: 13px;
        line-height: 1.28;
    }

    .v3-complete-panel .v3-invite-grid--final {
        gap: 10px;
    }

    .v3-complete-panel .v3-invite-card {
        grid-template-columns: 46px minmax(0, 1fr) 238px;
        gap: 8px 12px;
        min-height: 58px;
        padding: 7px 12px;
        border-radius: 15px;
    }

    .v3-complete-panel .v3-invite-icon {
        width: 38px;
        height: 38px;
        border-width: 2px;
        box-shadow:
            inset 0 0 18px var(--v3-invite-icon-inset),
            0 0 18px var(--v3-invite-icon-glow);
    }

    .v3-complete-panel .v3-invite-icon .v3-icon {
        font-size: 19px;
    }

    .v3-complete-panel .v3-invite-title {
        font-size: 15px;
    }

    .v3-invite-copy {
        gap: 1px;
    }

    .v3-complete-panel .v3-invite-copy p {
        font-size: var(--v3-type-caption);
        line-height: 1.25;
    }

    .v3-invite-code-block {
        gap: 0;
    }

    .v3-complete-panel .v3-invite-code-controls {
        grid-template-columns: minmax(0, 1fr) 94px;
        gap: 6px;
    }

    .v3-invite-label {
        font-size: var(--v3-type-caption);
    }

    .v3-complete-panel .v3-invite-code {
        grid-template-columns: minmax(0, 1fr) 36px;
        min-height: 34px;
        border-radius: 8px;
    }

    .v3-complete-panel .v3-invite-share-button {
        width: auto;
        min-width: 94px;
        min-height: 34px;
        padding: 0 9px;
        border-radius: 8px;
        font-size: var(--v3-type-caption);
    }

    .v3-complete-panel .v3-invite-share-button .v3-icon {
        font-size: 15px;
    }

    .v3-complete-panel .v3-invite-code-text {
        padding: 0 7px;
        font-size: 14px;
    }

    .v3-complete-panel .v3-invite-code-action {
        width: 36px;
    }

    .v3-complete-panel .v3-invite-code-action .v3-icon {
        font-size: 15px;
    }

    .v3-complete-next-card {
        grid-template-columns: 30px minmax(0, 1fr) 16px;
        gap: 8px;
        min-height: 40px;
        padding: 6px 10px;
        border-radius: 12px;
    }

    .v3-complete-next-icon {
        width: 28px;
        height: 28px;
        border-width: 1px;
    }

    .v3-complete-next-icon .v3-icon {
        font-size: 15px;
    }

    .v3-complete-next-copy {
        display: flex;
        align-items: baseline;
        gap: 8px;
    }

    .v3-complete-next-copy strong {
        flex: 0 0 auto;
        font-size: var(--v3-type-caption);
    }

    .v3-complete-next-copy span {
        font-size: var(--v3-type-caption);
        line-height: 1.2;
    }

    .v3-complete-next-card > .v3-icon[data-v3-icon="ACT-03-RIGHT"] {
        font-size: 16px;
    }

    .v3-complete-access-note {
        margin-top: -3px;
        font-size: var(--v3-type-caption);
        line-height: 1.2;
    }

    .v3-complete-panel .v3-complete-cta {
        min-height: 46px;
        margin-top: 0;
        border-radius: 14px;
        font-size: 16px;
        box-shadow: 0 12px 24px oklch(0.08 0.012 220 / 0.20);
    }
}

@media (min-width: 561px) and (max-width: 759px) {
    .v3-auth-page--complete {
        width: min(100%, 620px);
    }

    .v3-auth-page--complete .v3-step-intro,
    .v3-complete-panel {
        width: min(100%, 560px);
    }

    .v3-auth-page--complete .v3-step-intro {
        min-height: 124px;
        grid-template-columns: minmax(0, 1fr) 88px;
        gap: 20px;
        margin-bottom: 16px;
        padding: 20px 22px 20px 26px;
    }

    .v3-auth-page--complete .v3-step-intro h1 {
        font-size: 30px;
    }

    .v3-auth-page--complete .v3-step-intro-copy > p:not(.v3-step-intro-kicker) {
        max-width: 330px;
        font-size: 15px;
    }

    .v3-auth-page--complete .v3-step-intro-icon {
        width: 76px;
        height: 76px;
        border-width: 2px;
    }

    .v3-auth-page--complete .v3-step-intro-icon::before {
        inset: -9px;
    }

    .v3-auth-page--complete .v3-step-intro-icon .v3-icon {
        font-size: 36px;
    }

    .v3-complete-panel {
        gap: 18px;
        margin-top: 24px;
    }

    .v3-team-showcase--celebration {
        gap: 4px;
    }

    .v3-team-showcase--celebration .v3-team-crest {
        width: 154px;
        height: 190px;
        margin-bottom: 6px;
    }

    .v3-team-showcase--celebration h1 {
        font-size: 24px;
    }

    .v3-team-showcase--celebration h2 {
        font-size: 27px;
    }

    .v3-team-showcase--celebration p {
        font-size: 14px;
    }

    .v3-complete-panel .v3-invite-grid--final {
        gap: 10px;
    }

    .v3-complete-panel .v3-invite-card {
        grid-template-columns: 54px minmax(0, 1fr) 190px;
        min-height: 78px;
        gap: 10px 12px;
        padding: 11px 12px;
        border-radius: 16px;
    }

    .v3-complete-panel .v3-invite-icon {
        width: 48px;
        height: 48px;
        border-width: 2px;
    }

    .v3-complete-panel .v3-invite-icon .v3-icon {
        font-size: 23px;
    }

    .v3-complete-panel .v3-invite-title {
        font-size: 18px;
    }

    .v3-complete-panel .v3-invite-copy p {
        font-size: var(--v3-type-caption);
    }

    .v3-invite-code-block {
        gap: 5px;
    }

    .v3-complete-panel .v3-invite-code-controls {
        grid-template-columns: minmax(0, 1fr) 38px;
        gap: 6px;
    }

    .v3-invite-label {
        font-size: var(--v3-type-caption);
    }

    .v3-complete-panel .v3-invite-code {
        grid-template-columns: minmax(0, 1fr) 40px;
        min-height: 38px;
    }

    .v3-complete-panel .v3-invite-share-button {
        width: 38px;
        min-width: 38px;
        min-height: 38px;
        padding: 0;
        border-radius: 8px;
    }

    .v3-complete-panel .v3-invite-share-button .v3-icon {
        font-size: 16px;
    }

    .v3-complete-panel .v3-invite-code-text {
        font-size: 16px;
    }

    .v3-complete-panel .v3-invite-code-action {
        width: 40px;
    }

    .v3-complete-next-card {
        grid-template-columns: 38px minmax(0, 1fr) 18px;
        min-height: 58px;
        gap: 10px;
        padding: 9px 12px;
        border-radius: 14px;
    }

    .v3-complete-next-icon {
        width: 34px;
        height: 34px;
    }

    .v3-complete-next-copy strong {
        font-size: 15px;
    }

    .v3-complete-next-copy span {
        font-size: var(--v3-type-caption);
    }

    .v3-complete-panel .v3-complete-cta {
        min-height: 48px;
        border-radius: 14px;
        font-size: 17px;
    }
}

.v3-auth-page--athlete-ready {
    width: min(100%, 980px);
}

.v3-auth-page--athlete-ready::before,
.v3-auth-page--athlete-ready::after {
    content: "";
    position: absolute;
    z-index: -1;
    pointer-events: none;
}

.v3-auth-page--athlete-ready::before {
    top: 86px;
    right: -116px;
    width: 360px;
    height: 360px;
    opacity: 0.28;
    background: radial-gradient(circle, rgb(0 155 68 / 0.26) 0 1px, transparent 1.8px) 0 0 / 12px 12px;
    mask-image: linear-gradient(120deg, transparent, oklch(0 0 0) 26% 74%, transparent);
}

.v3-auth-page--athlete-ready::after {
    inset: 80px -70px auto auto;
    width: 340px;
    height: 520px;
    transform: rotate(42deg);
    background:
        linear-gradient(90deg, transparent 0 46%, rgb(0 155 68 / 0.22) 46.2% 46.6%, transparent 47% 56%, rgb(0 155 68 / 0.16) 56.2% 56.6%, transparent 57%);
}

.v3-auth-page--athlete-ready .v3-brand-lockup {
    margin-bottom: 18px;
}

.v3-auth-page--athlete-ready .v3-brand-lockup img {
    width: 254px;
}

.v3-auth-page--athlete-ready .v3-brand-divider {
    display: none;
}

.v3-auth-page--athlete-ready .v3-athlete-progress {
    width: min(100%, 820px);
    margin-bottom: clamp(20px, 3vw, 30px);
}

.v3-auth-page--athlete-ready .v3-coach-progress-step {
    gap: 6px;
}

.v3-auth-page--athlete-ready .v3-coach-progress-step::after {
    top: 18px;
    left: calc(50% + 18px);
    width: calc(100% - 36px);
    height: 2px;
    background: oklch(0.68 0.018 220 / 0.22);
    box-shadow: 0 0 16px rgb(0 155 68 / 0.10);
}

.v3-auth-page--athlete-ready .v3-coach-progress-step.is-complete::after,
.v3-auth-page--athlete-ready .v3-coach-progress-step.is-active::after {
    background: linear-gradient(90deg, var(--v3-athletic-green), #009B44);
}

.v3-auth-page--athlete-ready .v3-coach-progress-node {
    width: 36px;
    height: 36px;
    border-color: oklch(0.78 0.02 220 / 0.46);
    background: oklch(0.13 0.016 220 / 0.78);
}

.v3-auth-page--athlete-ready .v3-coach-progress-node .v3-icon {
    font-size: 16px;
}

.v3-auth-page--athlete-ready .v3-coach-progress-step.is-active .v3-coach-progress-node {
    box-shadow:
        0 0 0 3px rgb(0 155 68 / 0.13),
        0 0 22px rgb(0 155 68 / 0.28);
}

.v3-auth-page--athlete-ready .v3-coach-progress-label {
    display: grid;
    justify-items: center;
    gap: 5px;
    color: var(--v3-text-muted);
    font-size: var(--v3-type-caption);
    font-weight: 800;
}

.v3-athlete-ready-final {
    position: relative;
    isolation: isolate;
    display: grid;
    gap: clamp(16px, 2.4vw, 22px);
    width: min(100%, 820px);
    margin: 0 auto;
}

.v3-athlete-ready-hero {
    display: grid;
    grid-template-columns: minmax(180px, 0.75fr) minmax(0, 1.25fr);
    align-items: center;
    gap: clamp(24px, 5vw, 44px);
}

.v3-athlete-ready-crest-wrap {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 220px;
}

.v3-athlete-ready-crest-wrap::before {
    content: "";
    position: absolute;
    inset: -32px -46px -18px;
    opacity: 0.50;
    background:
        repeating-conic-gradient(
            from 1deg,
            transparent 0deg 8deg,
            rgb(0 155 68 / 0.18) 8deg 9deg,
            transparent 9deg 16deg
        );
    filter: blur(1px);
    mask-image: radial-gradient(circle, oklch(0 0 0) 0 44%, transparent 70%);
}

.v3-athlete-ready-crest-wrap::after {
    content: "";
    position: absolute;
    bottom: 10px;
    width: 168px;
    height: 18px;
    border-radius: 50%;
    background: rgb(0 155 68 / 0.36);
    filter: blur(14px);
}

.v3-athlete-ready-crest {
    width: 170px;
    height: 210px;
    margin: 0;
}

.v3-athlete-ready-copy {
    display: grid;
    gap: 14px;
    min-width: 0;
}

.v3-athlete-ready-copy h1 {
    display: grid;
    gap: 2px;
    margin: 0;
    color: var(--v3-ink-light);
    font-family: var(--v3-font-display);
    font-size: clamp(31px, 4vw, 44px);
    line-height: 1.1;
    font-weight: 800;
}

.v3-athlete-ready-copy h1 span {
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
}

.v3-athlete-ready-copy h1 .v3-athlete-ready-headline-main {
    color: var(--v3-ink-light);
    white-space: nowrap;
}

.v3-athlete-ready-copy h1 .v3-athlete-ready-headline-team {
    color: var(--v3-athletic-green);
    overflow-wrap: anywhere;
}

.v3-athlete-ready-copy p {
    max-width: 560px;
    margin: 0;
    color: var(--v3-text-muted);
    font-size: clamp(15px, 1.6vw, 18px);
    line-height: 1.42;
    font-weight: 600;
}

.v3-athlete-ready-benefits {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border: 1px solid oklch(0.78 0.02 220 / 0.28);
    border-radius: 18px;
    background: oklch(0.13 0.016 220 / 0.58);
    box-shadow: inset 0 1px 0 oklch(0.96 0.006 220 / 0.06);
}

.v3-athlete-ready-benefit {
    display: grid;
    gap: 10px;
    min-width: 0;
    padding: clamp(17px, 2.4vw, 23px);
}

.v3-athlete-ready-benefit + .v3-athlete-ready-benefit {
    border-left: 1px solid oklch(0.78 0.02 220 / 0.24);
}

.v3-athlete-ready-benefit-icon {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    margin-bottom: 2px;
    border: 1.5px solid rgb(0 155 68 / 0.64);
    border-radius: var(--v3-radius-pill);
    color: var(--v3-athletic-green-soft);
    background: rgb(0 155 68 / 0.07);
}

.v3-athlete-ready-benefit-icon .v3-icon {
    font-size: 23px;
    line-height: 1;
}

.v3-athlete-ready-benefit h2 {
    margin: 0;
    color: var(--v3-ink-light);
    font-size: 15px;
    line-height: 1.2;
    font-weight: 800;
}

.v3-athlete-ready-benefit p {
    margin: 0;
    color: var(--v3-text-muted);
    font-size: 13px;
    line-height: 1.38;
    font-weight: 600;
}

.v3-athlete-ready-cta {
    justify-self: center;
    width: min(100%, 520px);
    min-height: 52px;
    border-radius: 14px;
    color: var(--v3-primary-action-foreground);
    font-size: 18px;
    font-weight: 800;
    background: var(--v3-primary-action-background);
    box-shadow:
        0 18px 34px oklch(0.08 0.012 220 / 0.30),
        inset 0 1px 0 rgb(0 155 68 / 0.28);
}

.v3-athlete-ready-cta:hover,
.v3-athlete-ready-cta:focus-visible {
    color: var(--v3-primary-action-foreground);
    background: var(--v3-primary-action-background-hover);
}

.v3-athlete-ready-privacy {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: -6px 0 0;
    color: var(--v3-text-soft);
    font-size: var(--v3-type-caption);
    line-height: 1.25;
    font-weight: 700;
    text-align: center;
}

.v3-athlete-ready-privacy .v3-icon {
    font-size: var(--v3-type-caption);
}

@media (max-width: 760px) {
    .v3-auth-page--athlete-ready {
        width: min(100%, 620px);
    }

    .v3-auth-page--athlete-ready .v3-brand-lockup {
        margin-bottom: 14px;
    }

    .v3-auth-page--athlete-ready .v3-brand-lockup img {
        width: 220px;
    }

    .v3-auth-page--athlete-ready .v3-athlete-progress {
        margin-bottom: 18px;
    }

    .v3-auth-page--athlete-ready .v3-coach-progress-step::after {
        top: 18px;
        left: calc(50% + 18px);
        width: calc(100% - 36px);
        height: 2px;
    }

    .v3-auth-page--athlete-ready .v3-coach-progress-node {
        width: 36px;
        height: 36px;
    }

    .v3-auth-page--athlete-ready .v3-coach-progress-node .v3-icon {
        font-size: 15px;
    }

    .v3-auth-page--athlete-ready .v3-coach-progress-label {
        font-size: var(--v3-type-caption);
        line-height: 1.15;
    }

    .v3-athlete-ready-final {
        width: min(100%, 500px);
        gap: 14px;
    }

    .v3-athlete-ready-hero {
        grid-template-columns: 1fr;
        justify-items: center;
        gap: 14px;
        text-align: center;
    }

    .v3-athlete-ready-crest-wrap {
        min-height: 146px;
    }

    .v3-athlete-ready-crest-wrap::before {
        inset: -24px -34px -14px;
    }

    .v3-athlete-ready-crest-wrap::after {
        bottom: 6px;
        width: 116px;
        height: 14px;
    }

    .v3-athlete-ready-crest {
        width: 112px;
        height: 138px;
    }

    .v3-athlete-ready-copy {
        gap: 9px;
    }

    .v3-athlete-ready-copy h1 {
        font-size: 26px;
    }

    .v3-athlete-ready-copy p {
        max-width: 330px;
        font-size: 13px;
    }

    .v3-athlete-ready-benefits {
        grid-template-columns: 1fr;
        border-radius: 16px;
    }

    .v3-athlete-ready-benefit {
        grid-template-columns: 42px minmax(0, 1fr);
        gap: 5px 12px;
        padding: 12px;
    }

    .v3-athlete-ready-benefit + .v3-athlete-ready-benefit {
        border-top: 1px solid oklch(0.78 0.02 220 / 0.24);
        border-left: 0;
    }

    .v3-athlete-ready-benefit-icon {
        grid-row: span 2;
        width: 40px;
        height: 40px;
        margin: 0;
    }

    .v3-athlete-ready-benefit-icon .v3-icon {
        font-size: 18px;
    }

    .v3-athlete-ready-benefit h2 {
        font-size: 13px;
    }

    .v3-athlete-ready-benefit p {
        font-size: var(--v3-type-caption);
    }

    .v3-athlete-ready-cta {
        min-height: 48px;
        font-size: 16px;
    }

    .v3-athlete-ready-privacy {
        margin-top: -4px;
        font-size: var(--v3-type-caption);
    }
}

@media (max-width: 420px) {
    .v3-auth-page--athlete-ready .v3-brand-lockup img {
        width: 196px;
    }

    .v3-auth-page--athlete-ready .v3-coach-progress-label {
        font-size: var(--v3-type-caption);
    }

    .v3-athlete-ready-copy h1 {
        font-size: 24px;
    }

    .v3-athlete-ready-benefit {
        padding: 11px;
    }
}

@media (min-width: 561px) and (max-width: 760px) {
    .v3-auth-page--athlete-ready .v3-brand-lockup {
        margin-bottom: 14px;
    }

    .v3-auth-page--athlete-ready .v3-athlete-progress {
        margin-bottom: 18px;
    }

    .v3-athlete-ready-final {
        width: min(100%, 560px);
        gap: 14px;
    }

    .v3-athlete-ready-hero {
        grid-template-columns: minmax(118px, 0.62fr) minmax(0, 1.38fr);
        justify-items: stretch;
        gap: 18px;
        text-align: left;
    }

    .v3-athlete-ready-crest-wrap {
        min-height: 146px;
    }

    .v3-athlete-ready-crest {
        width: 118px;
        height: 146px;
    }

    .v3-athlete-ready-copy h1 {
        font-size: 25px;
    }

    .v3-athlete-ready-copy p {
        font-size: var(--v3-type-caption);
    }

    .v3-athlete-ready-benefits {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .v3-athlete-ready-benefit {
        grid-template-columns: 1fr;
        gap: 7px;
        padding: 12px;
    }

    .v3-athlete-ready-benefit + .v3-athlete-ready-benefit {
        border-top: 0;
        border-left: 1px solid oklch(0.78 0.02 220 / 0.24);
    }

    .v3-athlete-ready-benefit-icon {
        grid-row: auto;
        width: 38px;
        height: 38px;
        margin-bottom: 1px;
    }

    .v3-athlete-ready-benefit-icon .v3-icon {
        font-size: 17px;
    }

    .v3-athlete-ready-benefit h2 {
        font-size: var(--v3-type-caption);
    }

    .v3-athlete-ready-benefit p {
        font-size: var(--v3-type-caption);
    }
}

@media (max-width: 640px) {
    .v3-auth-shell--legal {
        padding: 18px 14px 36px;
    }

    .v3-auth-page--legal .v3-brand-lockup {
        margin-bottom: 12px;
    }

    .v3-auth-page--legal .v3-brand-lockup img {
        width: 198px;
    }

    .v3-auth-page--legal .v3-brand-divider {
        margin-bottom: 14px;
    }

    .v3-legal-panel {
        border-radius: 17px;
    }

    .v3-legal-header {
        padding: 22px 20px 20px;
    }

    .v3-legal-back {
        margin-bottom: 6px;
    }

    .v3-legal-header h1 {
        font-size: 28px;
    }

    .v3-legal-body {
        padding: 4px 20px 24px;
    }

    .v3-legal-section {
        padding: 20px 0 18px;
    }

    .v3-legal-section h2 {
        font-size: 17px;
    }

    .v3-legal-section h3 {
        font-size: 14px;
    }

    .v3-legal-section p,
    .v3-legal-section li {
        font-size: 13px;
    }

    .v3-legal-highlight {
        padding: 14px;
        border-radius: 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .v3-button,
    .v3-path,
    .v3-back-link,
    .v3-home-link,
    .v3-legal-back,
    .v3-field input,
    .v3-code-field {
        transition: none;
    }

    .v3-button:hover,
    .v3-path:hover,
    .v3-back-link:hover,
    .v3-home-link:hover,
    .v3-legal-back:hover {
        transform: none;
    }

    .v3-flow-card,
    .v3-flow-card.is-leaving,
    .v3-resend-button.is-loading .v3-resend-spinner {
        animation: none;
    }
}

@keyframes v3-resend-spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes v3-flow-enter {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

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

@keyframes v3-flow-leave {
    from {
        opacity: 1;
        transform: translateY(0);
    }

    to {
        opacity: 0;
        transform: translateY(-6px);
    }
}

/* Onboarding illustrations use the icon artwork itself, without a second enclosing shape. */
.v3-step-intro-icon,
.v3-invite-icon,
.v3-install-action-icon,
.v3-athlete-ready-icon,
.v3-complete-mark,
.v3-complete-next-icon,
.v3-athlete-ready-benefit-icon {
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.v3-step-intro-icon::before {
    display: none;
}
