@font-face {
    font-family: "Manrope";
    src: url("/static/fonts/fitness-recipes/Manrope-Regular.ttf") format("truetype");
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
}

@font-face {
    font-family: "Manrope";
    src: url("/static/fonts/fitness-recipes/Manrope-ExtraBold.ttf") format("truetype");
    font-style: normal;
    font-weight: 800 900;
    font-display: swap;
}

:root {
    --bg: #f3f8fd;
    --surface: #ffffff;
    --surface-2: #f8fbff;
    --text: #111827;
    --muted: #64748b;
    --line: #d9e7f3;
    --blue: #0f7ae5;
    --blue-2: #36a3f4;
    --green: #18b866;
    --coral: #fb7185;
    --yellow: #facc15;
    --shadow: 0 22px 54px rgba(15, 122, 229, 0.13);
    --radius: 8px;
}

* {
    box-sizing: border-box;
}

[hidden] {
    display: none !important;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    padding-top: 70px;
    background: linear-gradient(180deg, #eaf6ff 0%, #f8fbff 48%, #ffffff 100%);
    color: var(--text);
    font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    letter-spacing: 0;
}

body.is-loading {
    cursor: progress;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

button,
input {
    font: inherit;
    letter-spacing: 0;
}

.topbar {
    position: fixed;
    inset: 0 0 auto;
    z-index: 80;
    background: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid rgba(217, 231, 243, 0.9);
    box-shadow: 0 12px 28px rgba(15, 122, 229, 0.08);
    backdrop-filter: blur(18px);
}

.topbar-inner {
    width: min(1180px, calc(100% - 32px));
    min-height: 70px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 18px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    color: #075da8;
    font-weight: 900;
}

.brand img {
    width: 34px;
    height: 34px;
    border-radius: 7px;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex: 1;
    min-width: 0;
    color: #334155;
    font-size: 13px;
    font-weight: 800;
}

.nav a {
    white-space: nowrap;
}

.nav a:hover,
.nav a:focus-visible,
.nav .active {
    color: #075da8;
}

.top-cta,
.primary-action,
.secondary-action {
    border: 0;
    border-radius: var(--radius);
    cursor: pointer;
    font-weight: 900;
    white-space: nowrap;
}

.top-cta {
    min-height: 40px;
    padding: 0 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: linear-gradient(135deg, var(--blue), var(--blue-2));
    box-shadow: 0 12px 26px rgba(15, 122, 229, 0.22);
}

.floating-create-cta {
    display: none;
}

.topbar-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    margin-left: auto;
    flex-shrink: 0;
}

.top-account-slot {
    min-width: 0;
    align-self: stretch;
    display: flex;
    flex: 1 1 auto;
    align-items: center;
    justify-content: center;
}

.page-access-badges {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    width: min(620px, 100%);
    margin: 16px 0 0;
}

.page-access-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 4px 10px;
    border: 1px solid #dbe8f5;
    border-radius: 999px;
    color: #315d84;
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 5px 14px rgba(30, 136, 229, .06);
    font-size: 10px;
    font-weight: 900;
    line-height: 1.1;
    text-align: center;
}

.page-access-badge--free {
    color: #075da8;
    border-color: #b9dcfb;
    background: #edf6ff;
}

.page-access-badge--week {
    color: #fff;
    border-color: #102033;
    background: #102033;
}

.page-access-badge--month {
    color: #0f4f8f;
    border-color: #dbe8f5;
    background: #fff;
}

.top-account-btn,
.icon-action {
    min-height: 40px;
    border: 1px solid #bdd9ee;
    border-radius: var(--radius);
    background: #ffffff;
    color: #075da8;
    cursor: pointer;
    font-weight: 900;
}

.top-account-btn {
    padding: 0 12px;
    white-space: nowrap;
}

.top-account-btn--primary {
    border-color: #0f7ae5;
    background: #eaf6ff;
}

.top-user-name {
    max-width: min(260px, 100%);
    min-height: 30px;
    padding: 0 10px;
    overflow: hidden;
    align-items: center;
    gap: 7px;
    border: 1px solid #d5e6f4;
    border-radius: 999px;
    color: #315d84;
    background: #f7fbff;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.top-user-name:not([hidden]) {
    display: inline-flex;
}

.top-user-name::before {
    width: 7px;
    height: 7px;
    flex: 0 0 7px;
    border-radius: 50%;
    background: #21a366;
    box-shadow: 0 0 0 3px rgba(33, 163, 102, .12);
    content: "";
}

.icon-action {
    width: 40px;
    padding: 0;
    display: inline-grid;
    place-items: center;
}

.icon-action svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

main {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 28px 0 58px;
}

.app-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    align-items: center;
    gap: 28px;
    min-height: 230px;
    padding: 18px 0 16px;
}

.hero-copy {
    min-width: 0;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border: 1px solid rgba(15, 122, 229, 0.18);
    border-radius: var(--radius);
    background: #ffffff;
    color: #075da8;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.hero-copy h1 {
    max-width: 740px;
    margin: 14px 0 10px;
    color: #0f2742;
    font-size: 44px;
    line-height: 1.04;
    font-weight: 900;
}

.hero-copy p {
    max-width: 660px;
    margin: 0;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.55;
    font-weight: 700;
}

.hero-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.hero-icons span {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.86);
    color: #123456;
    font-size: 13px;
    font-weight: 900;
}

.hero-icons img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.hero-program-signal {
    justify-self: end;
    width: min(100%, 300px);
    display: grid;
    grid-template-columns: 96px 1fr;
    align-items: center;
    gap: 16px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow);
}

.hero-program-signal img {
    width: 96px;
    height: 96px;
    object-fit: contain;
}

.hero-program-signal strong,
.hero-program-signal span {
    display: block;
}

.hero-program-signal strong {
    color: #0f2742;
    font-size: 20px;
    font-weight: 900;
}

.hero-program-signal span {
    margin-top: 5px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
}

.generator-shell {
    display: grid;
    grid-template-columns: minmax(340px, 430px) minmax(0, 1fr);
    align-items: start;
    gap: 22px;
}

body.generator-result-mode .generator-shell {
    grid-template-columns: minmax(0, 1fr);
}

body.generator-result-mode .generator-form {
    display: none;
}

.generator-form,
.program-panel {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow);
}

.showcase { width:100%; padding:22px; text-align:left; }
.showcase-head h2 { margin:7px 0 5px; color:#0f2742; font-size:clamp(22px,3vw,30px); line-height:1.12; }
.showcase-note { margin:0; color:#64748b; font-size:12px; line-height:1.45; font-weight:650; }
.showcase-meta { margin:20px 0 10px; color:#075da8; font-size:13px; font-weight:900; }
.showcase-exercises { display:grid; gap:10px; }
.showcase-exercise-card { position:relative; display:grid; grid-template-columns:92px minmax(0,1fr); gap:12px; padding:12px; border:1px solid #d9e6f2; border-radius:16px; background:#fff; box-shadow:0 8px 22px rgba(15,39,66,.06); }
.showcase-exercise-index { position:absolute; top:9px; left:9px; z-index:2; width:24px; height:24px; display:grid; place-items:center; border-radius:8px; color:#fff; background:#126dec; font-size:12px; font-weight:900; }
.showcase-exercise-media { width:92px; height:72px; overflow:hidden; border-radius:11px; background:#eaf3fb; }
.showcase-exercise-media video,.showcase-exercise-media img { width:100%; height:100%; display:block; object-fit:cover; }
.showcase-exercise-body { min-width:0; display:flex; flex-direction:column; align-items:flex-start; gap:4px; padding-top:2px; }
.showcase-exercise-body strong { color:#10213d; font-size:14px; line-height:1.25; }
.showcase-exercise-muscle { color:#075da8; font-size:11px; font-weight:850; }
.showcase-exercise-stats { display:flex; flex-wrap:wrap; gap:5px; margin-top:2px; }
.showcase-exercise-stats span { padding:4px 7px; border-radius:999px; color:#31516d; background:#edf5fb; font-size:10px; font-weight:850; }
.showcase-replace { margin-top:2px; padding:4px 9px; border:1px solid #d9e6f2; border-radius:8px; color:#718096; background:#f7fafc; font-size:10px; font-weight:850; }
.showcase-create-action { display:none; width:100%; margin-top:16px; }
.showcase-home { display:none; }
.mobile-showcase-slot { display:none; }
.mobile-showcase-cta { display:none; }
@media (max-width:760px) { .showcase { padding:15px; } .showcase-exercise-card { grid-template-columns:76px minmax(0,1fr); } .showcase-exercise-media { width:76px; height:64px; } }

.generator-form {
    position: sticky;
    top: 88px;
    padding: 18px;
}

.seo-content {
    margin-top: 58px;
    padding: 46px 0 10px;
    border-top: 1px solid var(--line);
}

.seo-intro {
    max-width: 790px;
}

.seo-content h2,
.seo-content h3,
.seo-content p {
    overflow-wrap: anywhere;
}

.seo-content h2 {
    margin: 12px 0 0;
    color: #0f2742;
    font-size: 28px;
    line-height: 1.2;
    font-weight: 900;
}

.seo-intro > p {
    margin: 14px 0 0;
    color: #475569;
    font-size: 16px;
    line-height: 1.65;
    font-weight: 600;
}

.seo-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
    margin-top: 34px;
}

.seo-steps > div {
    padding-top: 18px;
    border-top: 2px solid #b9d9f2;
}

.seo-steps > div > span {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #eaf6ff;
    color: #075da8;
    font-size: 13px;
    font-weight: 900;
}

.seo-steps h3 {
    margin: 12px 0 0;
    color: #0f2742;
    font-size: 17px;
    line-height: 1.3;
}

.seo-steps p {
    margin: 8px 0 0;
    color: #64748b;
    font-size: 14px;
    line-height: 1.6;
    font-weight: 600;
}

.seo-columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 52px;
    margin-top: 52px;
    padding-top: 40px;
    border-top: 1px solid var(--line);
}

.seo-columns h2 {
    font-size: 22px;
}

.seo-columns ul {
    margin: 18px 0 0;
    padding-left: 20px;
    color: #475569;
}

.seo-columns li {
    margin-top: 9px;
    padding-left: 3px;
    font-size: 14px;
    line-height: 1.55;
    font-weight: 650;
}

.seo-content a {
    color: #075da8;
    font-weight: 850;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.seo-faq {
    max-width: 860px;
    margin-top: 52px;
}

.seo-faq h2 {
    margin-bottom: 14px;
}

.seo-faq details {
    border-bottom: 1px solid var(--line);
}

.seo-faq details:first-of-type {
    border-top: 1px solid var(--line);
}

.seo-faq summary {
    position: relative;
    padding: 18px 42px 18px 0;
    color: #0f2742;
    cursor: pointer;
    list-style: none;
    font-size: 15px;
    line-height: 1.4;
    font-weight: 900;
}

.seo-faq summary::-webkit-details-marker {
    display: none;
}

.seo-faq summary::after {
    content: "+";
    position: absolute;
    top: 14px;
    right: 4px;
    color: #075da8;
    font-size: 24px;
    font-weight: 500;
}

.seo-faq details[open] summary::after {
    content: "−";
}

.seo-faq details p {
    max-width: 760px;
    margin: -3px 0 18px;
    color: #64748b;
    font-size: 14px;
    line-height: 1.65;
    font-weight: 600;
}

.seo-create-program {
    display: flex;
    justify-content: center;
    margin-top: 34px;
}

.seo-create-program .seo-create-program__button {
    min-width: 220px;
    min-height: 48px;
    display: inline-flex;
}

.form-head,
.result-head,
.paywall-copy {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.form-head h2,
.result-head h2,
.empty-state h2 {
    margin: 0;
    color: #0f2742;
    font-size: 22px;
    line-height: 1.18;
    font-weight: 900;
}

.form-head span {
    min-width: 0;
    min-height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    background: #eef7ff;
    color: #075da8;
    font-size: 12px;
    font-weight: 900;
}

.question-block {
    margin: 16px 0 0;
    padding: 0;
    border: 0;
    min-inline-size: 0;
}

.question-block.is-incomplete,
.consent-line.is-incomplete {
    margin-inline: -8px;
    padding: 8px;
    border: 2px solid #dc2626;
    border-radius: calc(var(--radius) + 4px);
    background: #fff7f7;
    box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.10);
    animation: incompleteFieldPulse 0.7s ease-out;
}

@keyframes incompleteFieldPulse {
    0% { box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.38); }
    100% { box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.10); }
}

.question-block legend {
    display: block;
    width: 100%;
    margin-bottom: 9px;
    color: #123456;
    font-size: 14px;
    font-weight: 900;
}

.option-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

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

.option-grid--five {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

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

.option-btn {
    min-height: 44px;
    width: 100%;
    padding: 8px 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #ffffff;
    color: #243447;
    cursor: pointer;
    font-size: 13px;
    font-weight: 900;
    line-height: 1.18;
    overflow-wrap: anywhere;
    transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease, color 0.16s ease;
}

.option-btn:hover,
.option-btn:focus-visible {
    transform: translateY(-1px);
    border-color: rgba(15, 122, 229, 0.38);
}

.option-btn.is-active {
    border-color: rgba(15, 122, 229, 0.58);
    background: linear-gradient(135deg, var(--blue), var(--blue-2));
    color: #ffffff;
}

.distribution-grid {
    display: grid;
    gap: 8px;
}

.distribution-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 112px;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 6px 8px 6px 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface-2);
}

.distribution-row span {
    min-width: 0;
    color: #243447;
    font-size: 13px;
    font-weight: 900;
}

.distribution-row input {
    width: 100%;
    min-height: 34px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 0 8px;
    text-align: center;
    color: #0f2742;
    font-weight: 900;
}

.consent-line {
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
    margin-top: 18px;
    color: #475569;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.4;
}

.consent-line input {
    width: 18px;
    height: 18px;
    margin: 1px 0 0;
    accent-color: var(--blue);
}

.consent-line a {
    color: #075da8;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.health-disclaimer {
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 12px;
    margin-top: 12px;
    padding: 14px;
    border: 1px solid #f1d69a;
    border-radius: var(--radius);
    background: #fffaf0;
    color: #5f4820;
}

.health-disclaimer > svg {
    width: 32px;
    height: 32px;
    padding: 6px;
    border-radius: 50%;
    background: #fff0c7;
    fill: none;
    stroke: #9a6500;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.health-disclaimer strong {
    display: block;
    margin-bottom: 5px;
    color: #4b3714;
    font-size: 13px;
    font-weight: 900;
}

.health-disclaimer p {
    margin: 0 0 7px;
    font-size: 11px;
    font-weight: 650;
    line-height: 1.5;
}

.health-disclaimer-details summary {
    color: #075da8;
    cursor: pointer;
    font-size: 11px;
    font-weight: 900;
}

.health-disclaimer-details[open] summary {
    margin-bottom: 7px;
}

.health-disclaimer a {
    color: #075da8;
    font-size: 11px;
    font-weight: 900;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.generator-footer {
    margin-top: 64px;
    padding: 46px max(16px, calc((100% - 1180px) / 2)) 22px;
    border-top: 1px solid var(--line);
    background: #f7fbff;
    color: #52677d;
}

.generator-footer__inner {
    display: grid;
    grid-template-columns: minmax(240px, 1.1fr) minmax(180px, 0.7fr) minmax(360px, 1.35fr);
    gap: 42px;
}

.generator-footer__brand .brand {
    width: max-content;
    font-size: 20px;
}

.generator-footer__brand .brand img {
    width: 42px;
    height: 42px;
}

.generator-footer__brand > p {
    max-width: 360px;
    margin: 18px 0 0;
    font-size: 13px;
    line-height: 1.55;
}

.generator-footer__section {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
}

.generator-footer__section--documents {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-content: start;
    column-gap: 22px;
}

.generator-footer__section h2 {
    width: 100%;
    margin: 0 0 4px;
    color: #15314d;
    font-size: 14px;
    font-weight: 900;
}

.generator-footer__section--documents h2 {
    grid-column: 1 / -1;
}

.generator-footer__section a {
    color: #52677d;
    font-size: 12px;
    font-weight: 750;
    line-height: 1.35;
}

.generator-footer__section a:hover,
.generator-footer__section a:focus-visible {
    color: #075da8;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.generator-footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    margin-top: 36px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
    color: #708399;
    font-size: 11px;
    line-height: 1.45;
}

.primary-action {
    min-height: 48px;
    width: 100%;
    margin-top: 16px;
    padding: 0 18px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--blue), var(--blue-2));
    box-shadow: 0 16px 32px rgba(15, 122, 229, 0.22);
}

.primary-action:disabled {
    cursor: not-allowed;
    color: #8ba2b7;
    background: #edf4fb;
    box-shadow: none;
}

.generator-tariffs {
    margin-top: 18px;
    padding: 18px;
    border: 1px solid #dceaf5;
    border-radius: 20px;
    background: linear-gradient(180deg, #fbfdff 0%, #f3f9fe 100%);
}
.generator-tariffs__intro h2 { margin: 5px 0 4px; color: #102a43; font-size: 19px; line-height: 1.2; }
.generator-tariffs__intro p { margin: 0; color: #627d98; font-size: 12px; font-weight: 650; line-height: 1.45; }
.tariff-grid { display: grid; gap: 8px; margin-top: 12px; }
.tariff-grid[hidden], .second-offer-generator-choice[hidden] { display: none; }
.tariff-choice { min-width: 0; }
.tariff-action { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; width: 100%; min-height: 52px; margin: 0; padding: 8px 18px; border-radius: 8px; font-size: 13px; font-weight: 900; line-height: 1.2; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease; }
.tariff-action strong { font-size: 14px; line-height: 1.15; }
.tariff-action span { font-size: 11px; font-weight: 800; opacity: .9; }
.tariff-action:hover { transform: translateY(-1px); }
.tariff-action:focus-visible { outline: 3px solid rgba(15, 122, 229, .22); outline-offset: 2px; }
.tariff-action.is-selected { outline: 3px solid rgba(15, 122, 229, .28); outline-offset: 2px; transform: translateY(-1px); }
.tariff-action:disabled { cursor: not-allowed; color: #8ba2b7; border-color: #d9e7f3; background: #edf4fb; box-shadow: none; transform: none; }
.tariff-action--free { color: #fff; border: 1px solid #0f7ae5; background: linear-gradient(135deg, #0f7ae5, #35a3f4); box-shadow: 0 14px 30px rgba(15, 122, 229, .24); }
.tariff-action--week { color: #fff; border: 1px solid #102033; background: #102033; box-shadow: 0 12px 24px rgba(16, 32, 51, .18); }
.tariff-action--month { color: #0f4f8f; border: 1px solid #dbe8f5; background: #fff; box-shadow: 0 8px 20px rgba(30, 136, 229, .08); }
.second-offer-generator-choice { margin-top: 12px; }
.tariff-action--second-offer { min-height: 64px; color: #fff; border: 1px solid #0b5faf; background: linear-gradient(135deg, #102033, #0f7ae5); box-shadow: 0 14px 30px rgba(15, 122, 229, .24); }
.tariff-action--second-offer strong { font-size: 16px; }
.tariffs-legal { margin: 13px 0 0; color: #829ab0; font-size: 11px; font-weight: 700; text-align: center; }
.payment-tariff-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 18px; }
.payment-tariff-grid.is-single { grid-template-columns: minmax(0, 1fr); }
.payment-tariff { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; width: 100%; min-height: 74px; padding: 12px 14px; border: 1px solid #c9dff5; border-radius: 8px; color: #0b4f8a; background: linear-gradient(135deg, #fff, #eef7ff); box-shadow: 0 8px 20px rgba(30, 136, 229, .1); text-align: center; cursor: pointer; transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease, background .18s ease, color .18s ease; }
.payment-tariff:hover, .payment-tariff:focus-visible { border-color: #1689d4; box-shadow: 0 12px 26px rgba(22, 137, 212, .16); transform: translateY(-1px); outline: none; }
.payment-tariff:focus-visible { outline: 3px solid rgba(15, 122, 229, .2); outline-offset: 2px; }
.payment-tariff.is-selected { color: #fff; border-color: #102033; background: linear-gradient(135deg, #102033, #1d4f83); box-shadow: 0 14px 30px rgba(16, 32, 51, .24); }
.payment-tariff strong { font-size: 16px; font-weight: 900; line-height: 1.2; }
.payment-tariff strong.payment-tariff-label--stacked { display: grid; gap: 4px; }
.payment-tariff-price-line { display: block; color: #0f7ae5; font-size: 19px; line-height: 1.1; white-space: nowrap; }
.payment-tariff.is-selected .payment-tariff-price-line { color: #fef08a; }
.payment-tariff > span { font-size: 12px; font-weight: 800; line-height: 1.35; opacity: .88; }
.payment-tariff-badge { position: absolute; top: -10px; right: 10px; min-height: 0; padding: 4px 9px; border-radius: 999px; color: #fff; background: #f97316; box-shadow: 0 5px 12px rgba(249, 115, 22, .3); font-size: 10px; font-weight: 950; line-height: 1; letter-spacing: .02em; }
.payment-tariff.is-selected .payment-tariff-badge { color: #fff; background: #f97316; }
.payment-checkout-summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 14px; padding: 13px 15px; border: 1px solid #d9e7f3; border-radius: 10px; background: #f8fbfe; }
.payment-checkout-summary span, .payment-checkout-summary strong { display: block; }
.payment-checkout-summary span { color: #64748b; font-size: 10px; font-weight: 900; line-height: 1.2; text-transform: uppercase; }
.payment-checkout-summary strong { margin-top: 4px; color: #102033; font-size: 14px; font-weight: 900; line-height: 1.3; }
.payment-checkout-summary__price { flex: 0 0 auto; text-align: right; }
.payment-checkout-summary__price strong { color: #0f7ae5; font-size: 18px; }

.secondary-action {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 13px;
    border: 1px solid var(--line);
    background: #ffffff;
    color: #123456;
}

.form-error {
    margin: 10px 0 0;
    color: #b91c1c;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.35;
}

.program-panel {
    min-height: 680px;
    padding: 20px;
}

.second-program-offer { position:relative; overflow:hidden; display:grid; grid-template-columns:minmax(0,1fr) auto; gap:28px; align-items:center; margin:22px 0 18px; padding:24px 26px; border:1px solid rgba(255,255,255,.3); border-radius:20px; color:#fff; font-family:"Manrope",system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; background:linear-gradient(135deg,#6428c7 0%,#8439dd 45%,#f26a2e 100%); box-shadow:0 20px 46px rgba(91,33,182,.24); }
.second-program-offer__shine { position:absolute; inset:-70% auto -70% -40%; width:28%; transform:skewX(-20deg); background:linear-gradient(90deg,transparent,rgba(255,255,255,.58),transparent); animation:secondOfferShine 3.4s ease-in-out infinite; }
.second-program-offer > *:not(.second-program-offer__shine) { position:relative; }
.second-program-offer__badge { display:inline-flex; padding:6px 10px; border:1px solid rgba(255,255,255,.18); border-radius:999px; background:rgba(255,255,255,.14); font-size:11px; line-height:1; font-weight:700; letter-spacing:.01em; }
.second-program-offer h2 { max-width:680px; margin:12px 0 8px; color:#fff; font-size:clamp(21px,2.15vw,29px); line-height:1.18; font-weight:700; letter-spacing:-.025em; text-wrap:balance; }
.second-program-offer p { max-width:670px; margin:0; color:rgba(255,255,255,.86); font-size:14px; font-weight:400; line-height:1.55; }
.second-program-offer__price { display:flex; flex-wrap:wrap; align-items:baseline; gap:8px 10px; margin-top:14px; }
.second-program-offer__price strong { color:#fff; font-size:29px; line-height:1; font-weight:800; letter-spacing:-.03em; }
.second-program-offer__price del { color:rgba(255,255,255,.62); font-size:17px; font-weight:500; text-decoration-thickness:1.5px; }
.second-program-offer__price span { flex-basis:100%; color:rgba(255,255,255,.9); font-size:12px; font-weight:500; }
.second-program-offer__test { margin-top:9px!important; color:#fff4bd!important; font-size:12px!important; font-weight:600!important; }
.second-program-offer__action { min-width:210px; display:grid; justify-items:center; gap:8px; text-align:center; }
.second-program-offer__action span { font-size:11px; font-weight:500; color:rgba(255,255,255,.74); }
.second-program-offer__action strong { font-size:32px; line-height:1; font-weight:700; letter-spacing:.02em; font-variant-numeric:tabular-nums; }
.second-program-offer__button { min-height:48px; padding:0 19px; border:0; border-radius:12px; background:#fff; color:#5b21b6; font-size:13px; font-weight:700; cursor:pointer; box-shadow:0 12px 26px rgba(55,15,110,.22); transition:transform .18s ease,box-shadow .18s ease; }
.second-program-offer__button:hover { transform:translateY(-1px); box-shadow:0 15px 30px rgba(55,15,110,.28); }
.second-program-offer__button:focus-visible { outline:3px solid rgba(255,255,255,.62); outline-offset:3px; }
@keyframes secondOfferShine { 0%,20%{transform:translateX(0) skewX(-20deg);opacity:0}35%{opacity:1}60%,100%{transform:translateX(620%) skewX(-20deg);opacity:0} }
@media (max-width:720px) { .second-program-offer{grid-template-columns:1fr;gap:18px;padding:19px;border-radius:18px}.second-program-offer h2{margin-top:10px;font-size:21px;line-height:1.22}.second-program-offer p{font-size:13px;line-height:1.5}.second-program-offer__price{margin-top:12px}.second-program-offer__action{min-width:0;grid-template-columns:1fr auto;align-items:center;justify-items:start;text-align:left}.second-program-offer__action strong{grid-row:2;font-size:29px}.second-program-offer__button{grid-column:1/-1;width:100%;font-size:13px}.second-program-offer__price strong{font-size:27px} }
@media (prefers-reduced-motion:reduce) { .second-program-offer__shine{animation:none;display:none} }

.email-pdf-card{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,360px);gap:24px;align-items:center;margin:24px 0;padding:22px 24px;border:1px solid #d9e5f0;border-radius:18px;background:linear-gradient(135deg,#f7fbff,#eef6ff);box-shadow:0 12px 28px rgba(34,74,112,.08)}
.email-pdf-card h3{margin:7px 0 6px;color:#153957;font-size:20px;line-height:1.2}.email-pdf-card p{margin:0;color:#60758a;font-size:13px;line-height:1.5}.email-pdf-card__form{display:grid;gap:9px}.email-pdf-card__field input{width:100%;height:44px;padding:0 13px;border:1px solid #c9d8e6;border-radius:10px;background:#fff;font:inherit}.email-pdf-card__consent{display:flex;gap:8px;align-items:flex-start;color:#63788b;font-size:11px;line-height:1.35}.email-pdf-card__consent input{margin-top:2px}.email-pdf-card__form .primary-action{min-height:44px}.email-pdf-card__status{min-height:18px;font-size:12px!important;color:#256b49!important}
@media (max-width:720px){.email-pdf-card{grid-template-columns:1fr;gap:16px;margin:18px 0;padding:18px}.email-pdf-card h3{font-size:18px}}

.empty-state,
.loading-state {
    min-height: 640px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--muted);
}

.empty-state img {
    width: 108px;
    height: 108px;
    object-fit: contain;
    margin-bottom: 18px;
}

.empty-state p,
.loading-state span {
    max-width: 420px;
    margin: 10px 0 0;
    font-size: 14px;
    line-height: 1.5;
    font-weight: 800;
}

.loader {
    width: 42px;
    height: 42px;
    margin-bottom: 16px;
    border: 4px solid #d8ecfb;
    border-top-color: var(--blue);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

.program-result {
    min-width: 0;
}

.result-head {
    align-items: flex-start;
}

.result-head h2 {
    margin-top: 8px;
}

.program-subtitle {
    margin: 7px 0 0;
    color: #61778d;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.4;
}

.result-actions {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.result-unlock-action {
    width: auto;
    min-height: 40px;
    margin-top: 0;
    padding: 0 16px;
}

.program-access-bar {
    display: flex;
    align-items: stretch;
    gap: 10px;
    margin-top: 16px;
    padding: 12px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.program-access-bar .result-unlock-action {
    min-height: 58px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    flex: 1 1 auto;
}

.program-access-bar .lock-icon {
    width: 19px;
    height: 19px;
}

.program-pdf-action {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    min-height: 58px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1 1 auto;
    padding: 7px 14px;
    border: 1px solid #b9d9f2;
    border-radius: var(--radius);
    background: linear-gradient(135deg, #f4faff 0%, #eaf6ff 100%);
    color: #075da8;
    text-decoration: none;
    box-shadow: 0 5px 18px rgba(8, 122, 193, 0.12);
    transition: border-color .2s ease, background .2s ease, box-shadow .2s ease, transform .2s ease;
}

.program-pdf-action::after {
    content: "";
    position: absolute;
    z-index: 0;
    top: -55%;
    bottom: -55%;
    left: -42%;
    width: 28%;
    transform: skewX(-22deg);
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .9), transparent);
    animation: program-pdf-shine 3.2s ease-in-out infinite;
    pointer-events: none;
}

.program-pdf-action:hover {
    border-color: #6ab5ed;
    background: #eaf6ff;
    box-shadow: 0 8px 24px rgba(8, 122, 193, 0.2);
    transform: translateY(-1px);
}

.program-pdf-action:focus-visible {
    outline: 3px solid rgba(8, 122, 193, .3);
    outline-offset: 2px;
}

.program-pdf-action img {
    position: relative;
    z-index: 1;
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
    object-fit: contain;
}

.program-pdf-action span,
.program-pdf-action strong,
.program-pdf-action small {
    position: relative;
    z-index: 1;
    display: block;
    min-width: 0;
}

@keyframes program-pdf-shine {
    0%, 20% {
        left: -42%;
        opacity: 0;
    }

    30% {
        opacity: 1;
    }

    55%, 100% {
        left: 118%;
        opacity: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .program-pdf-action::after {
        animation: none;
    }
}

.program-pdf-action strong {
    font-size: 14px;
    font-weight: 900;
}

.program-pdf-action small {
    margin-top: 2px;
    color: #64748b;
    font-size: 11px;
    font-weight: 800;
}

.summary-strip {
    margin-top: 12px;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface-2);
    color: #28445d;
    font-size: 13px;
    font-weight: 850;
    line-height: 1.45;
}

.summary-strip b {
    margin: 0 6px;
    color: #8aa2b9;
}

.week-tabs,
.workout-tabs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 3px 16px 10px 0;
    scrollbar-width: thin;
}

.week-tabs {
    margin-top: 8px;
}

.tab-btn {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    flex: 0 0 auto;
    padding: 0 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #ffffff;
    color: #334155;
    cursor: pointer;
    font-size: 13px;
    font-weight: 900;
    white-space: nowrap;
}

.tab-btn.is-active {
    border-color: rgba(15, 122, 229, 0.5);
    background: #eaf6ff;
    color: #075da8;
}

.tab-btn.is-locked {
    color: #94a3b8;
}

.toast {
    position: fixed;
    z-index: 60;
    right: 20px;
    bottom: 20px;
    display: grid;
    gap: 2px;
    max-width: min(360px, calc(100vw - 32px));
    padding: 12px 16px;
    border: 1px solid #b7e6d4;
    border-radius: 14px;
    background: #f0fbf6;
    box-shadow: 0 12px 30px rgba(15, 39, 66, 0.18);
    color: #166048;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity .18s ease, transform .18s ease;
}

.toast.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.toast strong { font-size: 13px; font-weight: 900; }
.toast span { font-size: 12px; font-weight: 700; }

.lock-icon {
    display: block;
    flex: 0 0 auto;
    width: 15px;
    height: 15px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.lock-icon--large {
    width: 52px;
    height: 52px;
    margin-bottom: 12px;
    padding: 11px;
    border: 1px solid #bdd9ee;
    border-radius: var(--radius);
    background: #eaf6ff;
    color: var(--blue);
}

.workout-view {
    min-height: 380px;
    margin-top: 10px;
}

.workout-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #ffffff;
}

.workout-meta strong {
    color: #0f2742;
    font-size: 16px;
    font-weight: 900;
}

.workout-meta span {
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
}

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

.exercise-card {
    display: grid;
    grid-template-columns: 38px 104px minmax(0, 1fr);
    align-items: start;
    gap: 12px;
    min-height: 124px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #ffffff;
}

.exercise-media {
    position: relative;
    width: 104px;
    height: 104px;
    border-radius: var(--radius);
    overflow: hidden;
    background: #eef7ff;
    border: 1px solid var(--line);
    cursor: zoom-in;
    user-select: none;
    -webkit-user-select: none;
}

.exercise-media img,
.exercise-media video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.exercise-media img {
    cursor: default;
}

.exercise-media video {
    background: #eef7ff;
    pointer-events: auto;
    -webkit-touch-callout: none;
}

.exercise-media video::-webkit-media-controls {
    display: none !important;
}

.exercise-placeholder {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    color: #075da8;
    font-size: 24px;
    font-weight: 900;
}

.exercise-body {
    min-width: 0;
}

.exercise-title-row {
    display: flex;
    align-items: flex-start;
    gap: 7px;
    min-width: 0;
}

.exercise-name {
    flex: 1 1 auto;
    min-width: 0;
    width: auto;
    max-width: 100%;
    display: block;
    margin: 0;
    padding: 0;
    color: #0f2742;
    text-align: left;
    font-size: 15px;
    line-height: 1.25;
    font-weight: 900;
    overflow-wrap: anywhere;
}

.exercise-replace-button {
    min-height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    margin: 0;
    padding: 0 9px;
    border: 1px solid #b9dcec;
    border-radius: 999px;
    background: #eef8fe;
    color: #075da8;
    cursor: pointer;
    font-size: 11px;
    font-weight: 900;
    line-height: 1;
}

.exercise-replace-button:hover,
.exercise-replace-button:focus-visible {
    border-color: #0f7ae5;
    background: #eaf6ff;
    outline: 2px solid rgba(15, 122, 229, 0.2);
    outline-offset: 2px;
}

.share-program-btn {
    gap: 7px;
}

.share-program-btn svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.exercise-index {
    width: 34px;
    min-width: 34px;
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #eaf6ff;
    color: #075da8;
    font-size: 12px;
    font-weight: 900;
}

.exercise-muscle {
    margin-top: 5px;
    color: #075da8;
    font-size: 13px;
    font-weight: 900;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.exercise-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
}

.exercise-stats span,
.exercise-link {
    min-height: 28px;
    display: inline-flex;
    align-items: center;
    border-radius: var(--radius);
    font-size: 12px;
    font-weight: 900;
}

.exercise-stats span {
    padding: 0 8px;
    background: #f1f7fc;
    color: #475569;
}

.exercise-link {
    margin-top: 10px;
    color: #075da8;
}

.locked-state {
    min-height: 360px;
    display: grid;
    place-items: center;
    padding: 24px;
    border: 1px dashed rgba(15, 122, 229, 0.38);
    border-radius: var(--radius);
    background: #f8fbff;
    text-align: center;
}

.locked-state strong {
    display: block;
    color: #0f2742;
    font-size: 21px;
    font-weight: 900;
}

.locked-state span {
    display: block;
    max-width: 460px;
    margin-top: 8px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 800;
    line-height: 1.5;
}

.locked-state-action {
    width: auto;
    min-width: 220px;
    margin-top: 18px;
    padding: 0 18px;
}

.paywall {
    margin-top: 18px;
    padding: 16px;
    border: 1px solid rgba(15, 122, 229, 0.22);
    border-radius: var(--radius);
    background: linear-gradient(180deg, #ffffff, #f5fbff);
}

.paywall .lock-icon {
    width: 28px;
    height: 28px;
    color: var(--blue);
}

.paywall-copy {
    justify-content: flex-start;
}

.paywall-copy img {
    width: 58px;
    height: 58px;
    object-fit: contain;
    flex-shrink: 0;
}

.paywall-copy strong,
.paywall-copy span {
    display: block;
}

.paywall-copy strong {
    color: #0f2742;
    font-size: 17px;
    font-weight: 900;
}

.paywall-copy span {
    margin-top: 3px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.4;
    font-weight: 800;
}

.paywall-account-note {
    margin-top: 14px;
    margin-bottom: 0;
    padding: 10px 12px;
    border: 1px solid #d9e7f3;
    border-radius: var(--radius);
    background: #ffffff;
    color: #475569;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.45;
}

.paywall-tariffs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 14px;
}

.paywall-tariffs.is-single {
    grid-template-columns: minmax(0, 1fr);
}

.paywall-tariff {
    min-width: 0;
    min-height: 64px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 10px 12px;
    border: 1px solid #c9dff5;
    border-radius: 10px;
    color: #0b4f8a;
    background: linear-gradient(135deg, #ffffff, #eef7ff);
    box-shadow: 0 8px 20px rgba(30, 136, 229, .1);
    text-align: center;
    cursor: pointer;
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.paywall-tariff:hover,
.paywall-tariff:focus-visible {
    transform: translateY(-1px);
    border-color: #1689d4;
    box-shadow: 0 12px 26px rgba(22, 137, 212, .16);
    outline: none;
}

.paywall-tariff:focus-visible {
    outline: 3px solid rgba(15, 122, 229, .2);
    outline-offset: 2px;
}

.paywall-tariff strong {
    color: inherit;
    font-size: 15px;
    font-weight: 900;
    line-height: 1.2;
}

.paywall-tariff span {
    margin: 0;
    color: inherit;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.3;
    opacity: .84;
}

.paywall-tariff--month {
    color: #ffffff;
    border-color: #102033;
    background: linear-gradient(135deg, #102033, #1d4f83);
    box-shadow: 0 12px 25px rgba(16, 32, 51, .2);
}

.additional-program-purchase {
    margin-top: 22px;
    padding: 20px;
    border: 1px solid rgba(15, 122, 229, .24);
    border-radius: 18px;
    background: linear-gradient(135deg, #f8fcff, #eef7ff);
    box-shadow: 0 14px 32px rgba(27, 91, 145, .09);
}

.additional-program-purchase__copy h3 {
    margin: 6px 0 7px;
    color: #102a43;
    font-size: 20px;
    line-height: 1.25;
}

.additional-program-purchase__copy p {
    margin: 0;
    color: #5d7187;
    font-size: 13px;
    font-weight: 650;
    line-height: 1.55;
}

.menu-plan-promo {
    display: grid;
    grid-template-columns: 62px minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
    margin-top: 20px;
    padding: 19px;
    border: 1px solid rgba(22, 163, 74, .3);
    border-radius: 18px;
    color: #ffffff;
    background:
        radial-gradient(circle at 12% 10%, rgba(255, 255, 255, .2), transparent 34%),
        linear-gradient(135deg, #0f766e, #16a34a 62%, #65a30d);
    box-shadow: 0 18px 40px rgba(15, 118, 110, .2);
}

.menu-plan-promo__icon {
    display: grid;
    place-items: center;
    width: 62px;
    height: 62px;
    border-radius: 18px;
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 10px 22px rgba(5, 75, 60, .2);
    overflow: hidden;
}

.menu-plan-promo__icon img {
    width: 58px;
    height: 58px;
    object-fit: contain;
    filter: drop-shadow(0 7px 9px rgba(5, 75, 60, .2));
}

.menu-plan-promo__label,
.menu-plan-promo strong {
    display: block;
}

.menu-plan-promo__label {
    margin-bottom: 5px;
    color: #d9f99d;
    font-size: 10px;
    font-weight: 950;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.menu-plan-promo strong {
    font-size: 18px;
    font-weight: 950;
    line-height: 1.25;
}

.menu-plan-promo p {
    margin: 5px 0 0;
    color: rgba(255, 255, 255, .9);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.5;
}

.menu-plan-promo a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    border-radius: 11px;
    color: #08745f;
    background: #ffffff;
    box-shadow: 0 10px 24px rgba(5, 75, 60, .22);
    font-size: 12px;
    font-weight: 950;
    text-decoration: none;
    white-space: nowrap;
}

.menu-plan-promo a:hover,
.menu-plan-promo a:focus-visible {
    transform: translateY(-1px);
    outline: 3px solid rgba(255, 255, 255, .42);
    outline-offset: 3px;
}

.fitpush-app-promo {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr) auto;
    align-items: center;
    gap: 13px;
    margin-top: 20px;
    padding: 15px;
    border: 1px solid #b9d9f2;
    border-radius: var(--radius);
    background: linear-gradient(135deg, #f4fbff, #f8f6ff);
}

.fitpush-app-promo img {
    width: 54px;
    height: 54px;
    object-fit: contain;
}

.fitpush-app-promo strong,
.fitpush-app-promo span {
    display: block;
}

.fitpush-app-promo strong {
    color: #0f2742;
    font-size: 15px;
    font-weight: 900;
}

.fitpush-app-promo span {
    margin-top: 4px;
    color: #5d7187;
    font-size: 12px;
    font-weight: 750;
    line-height: 1.45;
}

.fitpush-app-promo a {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 13px;
    border-radius: var(--radius);
    background: #087ac1;
    color: #fff;
    font-size: 12px;
    font-weight: 900;
    text-decoration: none;
    white-space: nowrap;
}

.training-guides {
    margin-top: 16px;
    padding: 13px 15px;
    border: 1px solid #b9d9f2;
    border-radius: var(--radius);
    background: #f7fbff;
}

.training-guides strong {
    display: block;
    color: #0f2742;
    font-size: 13px;
    font-weight: 900;
}

.training-guides div {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    margin-top: 8px;
}

.training-guides a {
    color: #087ac1;
    font-size: 12px;
    font-weight: 850;
    text-decoration: underline;
    text-underline-offset: 2px;
}

body.service-modal-open {
    overflow: hidden;
}

.service-modal {
    position: fixed;
    inset: 0;
    z-index: 120;
    display: grid;
    place-items: center;
    padding: 20px;
    background: rgba(15, 39, 66, 0.46);
    backdrop-filter: blur(8px);
}

.service-modal-panel {
    position: relative;
    width: min(100%, 490px);
    max-height: min(860px, calc(100vh - 40px));
    overflow-y: auto;
    padding: 24px;
    border: 1px solid #d9e7f3;
    border-radius: var(--radius);
    background: #ffffff;
    box-shadow: 0 28px 70px rgba(15, 39, 66, 0.25);
}

.service-modal-panel--wide {
    width: min(100%, 640px);
}

.service-modal-panel--payment {
    width: min(100%, 620px);
}

.repeat-generation-panel {
    position: relative;
    overflow: hidden;
    max-width: 520px;
    text-align: center;
    border: 1px solid rgba(124, 58, 237, 0.2);
    background:
        radial-gradient(circle at 90% 0%, rgba(249, 115, 22, 0.16), transparent 38%),
        radial-gradient(circle at 0% 100%, rgba(59, 130, 246, 0.14), transparent 42%),
        #ffffff;
}

.repeat-generation-icon {
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    border-radius: 20px;
    color: #ffffff;
    font-size: 28px;
    font-weight: 900;
    box-shadow: 0 14px 30px rgba(124, 58, 237, 0.25);
    background: linear-gradient(135deg, #2563eb, #7c3aed 55%, #f97316);
}

.repeat-generation-panel > p {
    max-width: 430px;
    margin-inline: auto;
}

.repeat-generation-tariffs {
    margin-top: 18px;
}

.repeat-generation-tariffs[hidden] {
    display: none;
}

.repeat-generation-action {
    width: 100%;
    min-height: 48px;
    margin-top: 12px;
}

.replacement-list {
    display: grid;
    gap: 8px;
    margin-top: 16px;
}

.replacement-modal-panel {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.replacement-modal-header {
    position: relative;
    z-index: 2;
    flex: 0 0 auto;
    padding-right: 52px;
    padding-bottom: 14px;
    border-bottom: 1px solid #d9e7f3;
    background: #ffffff;
}

.replacement-modal-header h2 {
    margin-right: 0;
}

.replacement-modal-header p {
    margin: 0;
    color: #64748b;
    font-size: 14px;
    line-height: 1.5;
}

.replacement-modal-header .service-modal-close {
    top: 0;
    right: 0;
}

.replacement-modal-body {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
    padding-right: 2px;
}

.loading-inline,
.replacement-empty {
    min-height: 96px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px;
    border: 1px solid #d9e7f3;
    border-radius: var(--radius);
    background: #f8fbff;
    color: #64748b;
    font-size: 13px;
    font-weight: 800;
    text-align: center;
}

.loading-inline .loader {
    width: 24px;
    height: 24px;
    flex: 0 0 auto;
}

.replacement-item {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    min-height: 88px;
    padding: 8px;
    border: 1px solid #d9e7f3;
    border-radius: var(--radius);
    background: #ffffff;
}

.replacement-original-label {
    margin: 16px 0 8px;
    color: #5d7187;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.replacement-original-label:first-child {
    margin-top: 0;
}

.replacement-item--original {
    border-color: #9ccdf0;
    background: #f4fbff;
}

.replacement-item-media {
    width: 72px;
    height: 72px;
    overflow: hidden;
    border: 1px solid #d9e7f3;
    border-radius: var(--radius);
    background: #eef7ff;
}

.replacement-item-media img,
.replacement-item-media video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.replacement-item-copy {
    min-width: 0;
}

.replacement-item-copy strong,
.replacement-item-copy span {
    display: block;
    overflow-wrap: anywhere;
}

.replacement-item-copy strong {
    color: #0f2742;
    font-size: 14px;
    line-height: 1.3;
}

.replacement-item-copy span {
    margin-top: 4px;
    color: #075da8;
    font-size: 12px;
    font-weight: 800;
}

.replacement-item-action {
    min-height: 38px;
    padding: 0 13px;
    border: 1px solid #0f7ae5;
    border-radius: var(--radius);
    background: #ffffff;
    color: #075da8;
    cursor: pointer;
    font-size: 12px;
    font-weight: 900;
}

.replacement-item-action:hover {
    background: #eaf6ff;
}

.replacement-help-note {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    align-items: start;
    gap: 12px;
    margin-top: 18px;
    padding: 14px;
    border: 1px solid #cfe3f0;
    border-radius: var(--radius);
    background: #f4faff;
    color: #334e68;
    font-size: 13px;
    font-weight: 750;
    line-height: 1.5;
}

.replacement-help-icon {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #0f7ae5;
    color: #ffffff;
    font-family: Georgia, serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
}

.service-modal-panel h2 {
    margin: 5px 34px 8px 0;
    color: #0f2742;
    font-size: 23px;
}

.service-modal-panel > p {
    color: #64748b;
    font-size: 14px;
    line-height: 1.5;
}

.service-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 38px;
    height: 38px;
    border: 1px solid #d9e7f3;
    border-radius: var(--radius);
    background: #f8fbff;
    color: #475569;
    cursor: pointer;
    font-size: 25px;
    line-height: 1;
}

.modal-kicker {
    color: #075da8;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.social-auth-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    margin-top: 16px;
}

.social-auth-btn {
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 8px;
    border: 1px solid #d9e7f3;
    border-radius: var(--radius);
    background: #ffffff;
    color: #334155;
    cursor: pointer;
    font-size: 13px;
    font-weight: 900;
}

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

.social-auth-btn--vk {
    border-color: #badcff;
    background: #eef7ff;
}

.social-auth-icon {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
}

.social-auth-icon svg,
.social-auth-icon img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 18px 0 12px;
    color: #94a3b8;
    font-size: 12px;
    font-weight: 800;
}

.auth-divider::before,
.auth-divider::after {
    content: "";
    height: 1px;
    flex: 1;
    background: #d9e7f3;
}

.modal-field {
    display: grid;
    gap: 6px;
    margin-top: 10px;
    color: #334155;
    font-size: 13px;
    font-weight: 900;
}

.modal-field input {
    width: 100%;
    min-height: 44px;
    padding: 0 12px;
    border: 1px solid #cbdce9;
    border-radius: var(--radius);
    color: #0f2742;
    background: #ffffff;
}

.modal-action {
    width: 100%;
    margin-top: 12px;
}

.auth-verify-action {
    background: linear-gradient(135deg, #0f7ae5, #2563eb 55%, #4f46e5);
    box-shadow: 0 16px 34px rgba(37, 99, 235, 0.28);
}

.privacy-note,
.modal-status {
    margin: 10px 0 0;
    color: #64748b;
    font-size: 12px;
    line-height: 1.45;
}

.privacy-note a {
    color: #075da8;
    text-decoration: underline;
}

.modal-status {
    min-height: 18px;
    color: #075da8;
    font-weight: 800;
}

.payment-modal-heading {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    align-items: center;
    gap: 18px;
    padding-right: 28px;
}

.payment-modal-heading img {
    width: 92px;
    height: 92px;
    object-fit: contain;
}

.payment-modal-heading h2 {
    margin-top: 5px;
}

.payment-modal-heading p {
    margin: 7px 0 0;
    color: #64748b;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.45;
}

.payment-benefits {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 18px;
    margin-top: 20px;
    padding: 16px 0;
    border-top: 1px solid #d9e7f3;
    border-bottom: 1px solid #d9e7f3;
}

.payment-benefits span {
    min-height: 34px;
    display: flex;
    align-items: center;
    gap: 9px;
    color: #243447;
    font-size: 13px;
    font-weight: 900;
}

.payment-benefits svg {
    width: 22px;
    height: 22px;
    flex: 0 0 auto;
    padding: 3px;
    border-radius: 50%;
    background: #e9f8ef;
    fill: none;
    stroke: #12884b;
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.payment-data-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 72px;
    padding: 14px 0;
    border-bottom: 1px solid #d9e7f3;
}

.payment-data-row > div {
    min-width: 0;
}

.payment-data-row span,
.payment-data-row strong {
    display: block;
}

.payment-data-row span {
    color: #64748b;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
}

.payment-data-row strong {
    margin-top: 5px;
    color: #0f2742;
    font-size: 14px;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.payment-documents-consent {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr);
    align-items: start;
    gap: 10px;
    margin-top: 16px;
    color: #475569;
    font-size: 12px;
    font-weight: 750;
    line-height: 1.55;
}

.payment-documents-consent input {
    width: 20px;
    height: 20px;
    margin: 1px 0 0;
    accent-color: var(--blue);
}

.payment-documents-consent a {
    color: #075da8;
    font-weight: 900;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.payment-test-note {
    margin: 14px 0 0;
    padding: 10px 12px;
    border-left: 3px solid #18b866;
    background: #eefbf4;
    color: #12633b;
    font-size: 13px;
    font-weight: 900;
}

.payment-submit {
    margin-top: 14px;
}

.exercise-video-modal {
    z-index: 160;
    padding: 16px;
    background: rgba(5, 15, 27, 0.38);
    backdrop-filter: blur(22px) saturate(1.15);
}

.exercise-video-stage {
    position: relative;
    width: min(920px, calc(100vw - 32px));
    aspect-ratio: 16 / 9;
    height: auto;
    display: grid;
    place-items: center;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .24);
    border-radius: 18px;
    background: rgba(5, 15, 27, .86);
    box-shadow: 0 28px 80px rgba(0, 0, 0, .42), 0 0 0 1px rgba(255, 255, 255, .05);
}

.exercise-video-stage video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #050f1b;
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
}

.exercise-video-stage video::-webkit-media-controls {
    display: none !important;
}

.exercise-video-close,
.exercise-video-toggle {
    position: absolute;
    z-index: 2;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.38);
    background: rgba(15, 39, 66, 0.78);
    color: #ffffff;
    cursor: pointer;
    backdrop-filter: blur(10px);
}

.exercise-video-close {
    top: 8px;
    right: 8px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 24px;
    line-height: 1;
    opacity: .82;
}

.exercise-video-toggle {
    left: 50%;
    bottom: 18px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    transform: translateX(-50%);
    display: none;
}

.exercise-video-toggle svg {
    width: 25px;
    height: 25px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.exercise-video-toggle .video-toggle-play,
.exercise-video-toggle.is-paused .video-toggle-pause {
    display: none;
}

.exercise-video-toggle.is-paused .video-toggle-play {
    display: block;
}

.saved-program-list {
    display: grid;
    gap: 8px;
    margin-top: 14px;
}

.saved-program-item {
    width: 100%;
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 12px;
    border: 1px solid #d9e7f3;
    border-radius: var(--radius);
    background: #f8fbff;
    color: #0f2742;
    cursor: pointer;
    text-align: left;
}

.saved-program-item span,
.saved-program-item strong,
.saved-program-item small {
    display: block;
}

.saved-program-item small {
    margin-top: 4px;
    color: #64748b;
    font-size: 12px;
    font-weight: 700;
}

.saved-program-item b {
    color: #075da8;
    font-size: 13px;
}

.saved-program-empty {
    padding: 18px;
    border: 1px dashed #bdd9ee;
    border-radius: var(--radius);
    color: #64748b;
    background: #f8fbff;
    text-align: center;
}

@media (max-width: 980px) {
    body {
        padding-top: 0;
        overflow-x: hidden;
    }

    .topbar {
        position: static;
    }

    .topbar-inner {
        min-height: 62px;
    }

    .nav {
        display: none;
    }

    main {
        width: min(100% - 22px, 760px);
        padding-top: 18px;
    }

    .app-hero {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .hero-copy h1 {
        font-size: 34px;
    }

    .hero-program-signal {
        justify-self: stretch;
        width: 100%;
    }

    .generator-shell {
        grid-template-columns: 1fr;
        width: 100%;
        min-width: 0;
    }

    .generator-form {
        position: static;
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .seo-steps {
        gap: 18px;
    }

    .seo-columns {
        gap: 30px;
    }

    .program-panel {
        min-height: 520px;
    }

    .empty-state,
    .loading-state {
        min-height: 420px;
    }

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

    .generator-footer__brand {
        grid-column: 1 / -1;
    }

    .floating-create-cta {
        position: fixed;
        left: 50%;
        bottom: max(14px, env(safe-area-inset-bottom));
        z-index: 70;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        min-height: 50px;
        max-width: calc(100% - 24px);
        padding: 0 20px;
        border: 0;
        border-radius: 999px;
        color: #ffffff;
        background: linear-gradient(135deg, var(--blue), var(--blue-2));
        box-shadow: 0 14px 30px rgba(15, 122, 229, 0.28);
        cursor: pointer;
        font-size: 14px;
        font-weight: 900;
        line-height: 1.2;
        transform: translateX(-50%);
    }

    .floating-create-cta svg {
        width: 18px;
        height: 18px;
        fill: none;
        stroke: currentColor;
        stroke-linecap: round;
        stroke-linejoin: round;
        stroke-width: 2;
    }

    .floating-create-cta:focus-visible {
        outline: 3px solid rgba(15, 122, 229, 0.28);
        outline-offset: 3px;
    }

    body.floating-create-cta-visible {
        padding-bottom: 78px;
    }
}

@media (max-width: 640px) {
    .payment-tariff-grid { grid-template-columns: 1fr; }
    .paywall-tariffs { grid-template-columns: 1fr; }
    .page-access-badges { gap: 5px; width: 100%; margin-top: 10px; }
    .page-access-badge { min-height: 29px; padding-inline: 4px; font-size: 8px; }
    input, select, textarea { font-size: 16px; }
    main { width: calc(100% - 22px); max-width: none; min-width: 0; }
    .generator-shell { display: block; width: 100%; max-width: 100%; min-width: 0; }
    .mobile-showcase-slot:not([hidden]) {
        width: 100%;
        display: block;
        margin-bottom: 14px;
        overflow: hidden;
        border: 1px solid var(--line);
        border-radius: var(--radius);
        background: rgba(255, 255, 255, .96);
        box-shadow: var(--shadow);
    }
    .mobile-showcase-cta {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        min-height: 50px;
        margin: 12px 0 14px;
        padding: 0 18px;
        white-space: nowrap;
        text-align: center;
        line-height: 1.2;
        font-size: 15px;
        font-weight: 900;
    }

    .floating-create-cta {
        width: calc(100% - 24px);
        max-width: none;
    }
    body.generator-result-mode .mobile-showcase-cta,
    body.is-loading .mobile-showcase-cta {
        display: none;
    }
    .mobile-showcase-slot .showcase-create-action { display: none; }
    body.mobile-showcase-first .program-panel {
        display: none;
    }
    .generator-form, .program-panel { width: 100%; max-width: 100%; min-width: 0; overflow: hidden; }
    .question-block, .option-grid, .consent-line, .generator-tariffs { max-width: 100%; min-width: 0; }
    .service-modal-panel, .service-modal-panel--wide, .service-modal-panel--payment { width: 100%; max-width: 100%; min-width: 0; }
    .topbar-inner {
        width: calc(100% - 22px);
        gap: 6px;
    }

    .top-cta {
        display: none;
    }

    .brand {
        gap: 0;
    }

    .brand span {
        display: none;
    }

    .top-account-slot {
        min-width: 54px;
    }

    .top-user-name {
        max-width: 100%;
        min-height: 28px;
        padding: 0 7px;
        gap: 6px;
        font-size: 10px;
    }

    .top-user-name::before {
        width: 6px;
        height: 6px;
        flex-basis: 6px;
        box-shadow: 0 0 0 2px rgba(33, 163, 102, .12);
    }

    .topbar-actions {
        margin-left: 0;
        gap: 5px;
    }

    .top-account-btn {
        padding: 0 9px;
        font-size: 12px;
    }

    .hero-copy h1 {
        font-size: 29px;
    }

    .hero-copy p {
        font-size: 15px;
    }

    .hero-icons {
        display: grid;
        grid-template-columns: 1fr;
    }

    .generator-form,
    .program-panel {
        padding: 14px;
    }

    .health-disclaimer {
        grid-template-columns: 28px minmax(0, 1fr);
        padding: 12px;
    }

    .health-disclaimer > svg {
        width: 28px;
        height: 28px;
        padding: 5px;
    }

    .generator-footer {
        margin-top: 44px;
        padding: 34px 16px 20px;
    }

    .generator-footer__inner,
    .generator-footer__section--documents {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .generator-footer__section,
    .generator-footer__section--documents {
        gap: 10px;
    }

    .generator-footer__section--documents h2 {
        grid-column: auto;
    }

    .generator-footer__bottom {
        align-items: flex-start;
        flex-direction: column;
        margin-top: 28px;
    }

    .option-grid,
    .option-grid--two,
    .option-grid--three,
    .option-grid--five,
    .option-grid--equipment {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .form-head {
        align-items: flex-start;
    }

    .form-head span {
        max-width: 160px;
        min-height: 0;
        padding: 6px 8px;
        text-align: center;
        line-height: 1.2;
    }

    .summary-strip {
        font-size: 12px;
    }

    .week-tabs,
    .workout-tabs {
        margin-right: -14px;
    }

    .toast {
        right: 16px;
        bottom: 16px;
    }

    .seo-content {
        margin-top: 38px;
        padding-top: 34px;
    }

    .seo-content h2 {
        font-size: 24px;
    }

    .seo-steps,
    .seo-columns {
        grid-template-columns: 1fr;
    }

    .seo-steps {
        gap: 22px;
        margin-top: 28px;
    }

    .seo-columns {
        gap: 30px;
        margin-top: 40px;
        padding-top: 32px;
    }

    .seo-faq {
        margin-top: 40px;
    }

    .result-head,
    .workout-meta {
        align-items: stretch;
        flex-direction: column;
    }

    .result-actions {
        justify-content: flex-start;
    }

    .result-unlock-action {
        flex: 1 1 100%;
    }

    .program-access-bar {
        flex-direction: column;
    }

    .program-access-bar .result-unlock-action,
    .program-pdf-action {
        width: 100%;
    }

    .fitpush-app-promo {
        grid-template-columns: 44px minmax(0, 1fr);
        gap: 11px;
        padding: 13px;
    }

    .fitpush-app-promo img {
        width: 44px;
        height: 44px;
    }

    .fitpush-app-promo a {
        grid-column: 1 / -1;
        width: 100%;
    }

    .menu-plan-promo {
        grid-template-columns: 48px minmax(0, 1fr);
        gap: 12px;
        padding: 15px;
    }

    .menu-plan-promo__icon {
        width: 48px;
        height: 48px;
        border-radius: 14px;
    }

    .menu-plan-promo__icon img {
        width: 45px;
        height: 45px;
    }

    .menu-plan-promo a {
        grid-column: 1 / -1;
        width: 100%;
    }

    .exercise-card {
        grid-template-columns: 34px 76px minmax(0, 1fr);
        gap: 9px;
        min-height: 96px;
    }

    .exercise-media {
        width: 76px;
        height: 76px;
    }

    .exercise-index {
        width: 30px;
        min-width: 30px;
        min-height: 30px;
    }

    .replacement-item {
        grid-template-columns: 64px minmax(0, 1fr);
    }

    .replacement-item-media {
        width: 64px;
        height: 64px;
    }

    .replacement-item-action {
        grid-column: 1 / -1;
        width: 100%;
    }

    .service-modal {
        align-items: end;
        padding: 10px;
    }

    .service-modal-panel {
        max-height: calc(100vh - 20px);
        padding: 20px 16px;
    }

    .service-modal--replacement {
        align-items: stretch;
        padding: 0;
    }

    .replacement-modal-panel {
        width: 100%;
        height: 100%;
        height: 100dvh;
        max-height: 100%;
        max-height: 100dvh;
        padding:
            max(12px, env(safe-area-inset-top))
            14px
            max(12px, env(safe-area-inset-bottom));
        border: 0;
        border-radius: 0;
    }

    .replacement-modal-header {
        padding-right: 54px;
        padding-bottom: 12px;
    }

    .replacement-modal-header .service-modal-close {
        position: absolute;
        top: 0;
        right: 0;
        width: 44px;
        height: 44px;
        background: #ffffff;
        box-shadow: 0 5px 16px rgba(15, 39, 66, .12);
    }

    .replacement-modal-body {
        padding-bottom: 8px;
    }

    .payment-modal-heading {
        grid-template-columns: 72px minmax(0, 1fr);
        gap: 12px;
    }

    .payment-modal-heading img {
        width: 72px;
        height: 72px;
    }

    .payment-benefits {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px 12px;
    }

    .payment-data-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .payment-data-row .secondary-action {
        width: 100%;
    }

    .exercise-video-modal {
        align-items: center;
        padding: 16px;
    }

    .exercise-video-stage {
        width: min(920px, calc(100vw - 32px));
        height: auto;
        aspect-ratio: 16 / 9;
        border-radius: 14px;
    }

}

@media (max-width: 390px) {
    .option-grid,
    .option-grid--two,
    .option-grid--three,
    .option-grid--five,
    .option-grid--equipment {
        grid-template-columns: 1fr;
    }

    .hero-program-signal {
        grid-template-columns: 78px 1fr;
    }

    .hero-program-signal img {
        width: 78px;
        height: 78px;
    }
}
