
/* WPCode source 1230 SHA256 eed6315871eacc4a83b65aa2ee76da1604b3ea70ac6c86bbf20124cf198cc692 */
/* =========================================================
   WELES MASTER FIT APP
   Вкладки приложения
========================================================= */

.wm-app-tabbar {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;

    width: min(1180px, calc(100vw - 32px));
    margin: 30px auto 0;
}

.wm-app-tabbar-window {
    position: relative;

    flex: 1;

    height: 62px;

    overflow: hidden;

    border-radius: 999px;

    background: rgba(18,18,20,0.72);

    border: 1px solid rgba(214,192,143,0.16);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    box-shadow:
        0 0 0 1px rgba(255,255,255,0.03),
        0 12px 34px rgba(0,0,0,0.45),
        0 0 26px rgba(214,192,143,0.12);
}

.wm-app-tabbar-track {
    position: relative;
    z-index: 2;

    display: flex;
    align-items: center;

    height: 100%;
    width: max-content;

    transition:
        transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}

.wm-app-tabbar-lens {
    position: absolute;
    z-index: 1;

    top: 6px;
    left: 6px;

    width: 170px;
    height: calc(100% - 12px);

    border-radius: 999px;

    background:
        linear-gradient(
            180deg,
            rgba(255,255,255,0.18),
            rgba(255,255,255,0.04)
        ),
        rgba(214,192,143,0.10);

    border: 1px solid rgba(214,192,143,0.30);

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.20),
        inset 0 -10px 18px rgba(0,0,0,0.22),
        0 0 20px rgba(214,192,143,0.24);

    pointer-events: none;
}

.wm-app-tab {
    flex: 0 0 auto;

    width: 170px;
    min-width: 170px;

    height: 100%;

    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    background: transparent !important;

    color: #f5f3ef !important;

    font-size: 15px;
    font-weight: 600;

    letter-spacing: 0.02em;
    text-transform: uppercase;

    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;

    transition:
        color 0.25s ease,
        opacity 0.25s ease;
}

.wm-app-tab.is-active {
    color: #d9ba83 !important;
}

@media (hover:hover) and (pointer:fine) {

    .wm-app-tab:hover {
        color: #d9ba83 !important;
    }

}

body .wm-app-tabbar .wm-app-arrow {
    position: relative;

    width: 34px !important;
    height: 62px !important;

    min-width: 34px !important;
    max-width: 34px !important;

    flex: 0 0 34px !important;

    padding: 0 !important;
    margin: 0 !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    border: none !important;
    background: transparent !important;
    box-shadow: none !important;

    color: #f5f3ef !important;

    font-size: 0 !important;
    line-height: 1 !important;

    cursor: pointer !important;

    transition:
        transform 0.18s ease,
        opacity 0.18s ease !important;
}

body .wm-app-tabbar .wm-app-arrow::before {
    content: "";

    width: 14px;
    height: 14px;

    display: block;

    border-top: 5px solid #f5f3ef;
    border-left: 5px solid #f5f3ef;

    box-sizing: border-box;

    transition:
        border-color 0.18s ease,
        transform 0.18s ease;
}

body .wm-app-tabbar .wm-app-arrow-left::before {
    transform: rotate(-45deg);
}

body .wm-app-tabbar .wm-app-arrow-right::before {
    transform: rotate(135deg);
}
@media (hover:hover) and (pointer:fine) {

    body .wm-app-tabbar .wm-app-arrow:hover::before {
    border-color: #d9ba83;
}

}

body .wm-app-tabbar .wm-app-arrow:active {
    transform: scale(0.92) !important;
}

.wm-app-arrow.is-hidden {
    opacity: 0;
    pointer-events: none;
}

@media (max-width: 767px) {

    .wm-app-tabbar {
        width: calc(100% - 24px);
        gap: 0;
    }

body .wm-app-tabbar .wm-app-arrow {
    display: none !important;
}

    .wm-app-tabbar-window {
        height: 48px;
    }

    .wm-app-tabbar-lens {
        top: 5px;
        left: 5px;

        width: 164px;
        height: calc(100% - 10px);
    }

    .wm-app-tab {
        width: 164px;
        min-width: 164px;

        font-size: 14px;
    }

}

/* =========================================================
   WELES MASTER FIT APP — экраны приложения
========================================================= */
body .wm-fit-app .wm-fit-app-screens .wm-fit-app-screen {
    display: none !important;
    width: 100%;
}

body .wm-fit-app .wm-fit-app-screens .wm-fit-app-screen.is-active {
    display: flex !important;
}

/* =========================================================
   FIT APP — экран Параметры: сетка формы и плана
========================================================= */

.wm-fit-app-screen-profile {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;

    display: flex !important;
    flex-direction: row !important;
    align-items: stretch;
    justify-content: center;
    gap: 24px;
    flex-wrap: nowrap;
}

.wm-fit-app-screen-profile > .wm-app-profile-form-zone,
.wm-fit-app-screen-profile > .wm-app-profile-plan-zone {
    width: calc(50% - 12px);
    max-width: calc(50% - 12px);
    flex: 0 0 calc(50% - 12px);
}

.wm-app-profile-form-zone {
    display: flex !important;
    flex-direction: row !important;
    align-items: stretch;
    justify-content: center;
    gap: 20px;
    flex-wrap: nowrap;
}

.wm-app-profile-form-zone > .wm-app-profile-form-main,
.wm-app-profile-form-zone > .wm-app-profile-form-extra {
    width: calc(50% - 10px);
    max-width: calc(50% - 10px);
    flex: 0 0 calc(50% - 10px);
}

@media (max-width: 1024px) {

    .wm-fit-app-screen-profile {
        gap: 20px;
    }

    .wm-fit-app-screen-profile > .wm-app-profile-form-zone,
    .wm-fit-app-screen-profile > .wm-app-profile-plan-zone {
        width: calc(50% - 10px);
        max-width: calc(50% - 10px);
        flex-basis: calc(50% - 10px);
    }

    .wm-app-profile-form-zone {
        gap: 16px;
    }

    .wm-app-profile-form-zone > .wm-app-profile-form-main,
    .wm-app-profile-form-zone > .wm-app-profile-form-extra {
        width: calc(50% - 8px);
        max-width: calc(50% - 8px);
        flex-basis: calc(50% - 8px);
    }
}

@media (max-width: 767px) {

    .wm-fit-app-screen-profile {
        flex-direction: column !important;
        gap: 18px;
        max-width: 100%;
    }

    .wm-fit-app-screen-profile > .wm-app-profile-form-zone,
    .wm-fit-app-screen-profile > .wm-app-profile-plan-zone {
        width: 100%;
        max-width: 100%;
        flex: 0 0 auto;
    }

    .wm-app-profile-form-zone {
        flex-direction: column !important;
        gap: 14px;
    }

    .wm-app-profile-form-zone > .wm-app-profile-form-main,
    .wm-app-profile-form-zone > .wm-app-profile-form-extra {
        width: 100%;
        max-width: 100%;
        flex: 0 0 auto;
    }
}

/* =========================================================
   Elementor — показываем только вкладку Параметры
========================================================= */

body.elementor-editor-active .wm-fit-app .wm-fit-app-screens .wm-fit-app-screen {
    display: none !important;
}

body.elementor-editor-active .wm-fit-app .wm-fit-app-screens .wm-fit-app-screen-profile {
    display: flex !important;
}

/* WPCode source 1542 SHA256 d19c430a25bfe1784b228a8af7fcbea56fcef60e62ad5b880c6a7be159f2f57a */
/* FIT — Параметры: эталонная компоновка v2 */

#wmProfileScreen .wm-activity-field .wm-custom-select-label,
#wmProfileScreen .wm-activity-field .wm-custom-select-dropdown button {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#wmProfileScreen .wm-activity-field .wm-custom-select-dropdown {
    top: auto;
    bottom: calc(100% + 8px);
    max-height: 220px;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: #d9ba83 #131313;
}

#wmProfileScreen .wm-activity-field .wm-custom-select-dropdown::-webkit-scrollbar,
#wmProfileScreen .wm-menu-options-popover::-webkit-scrollbar,
#wmProfileScreen .wm-profile-panel-right #calorieExplain::-webkit-scrollbar {
    width: 7px;
}

#wmProfileScreen .wm-activity-field .wm-custom-select-dropdown::-webkit-scrollbar-thumb,
#wmProfileScreen .wm-menu-options-popover::-webkit-scrollbar-thumb,
#wmProfileScreen .wm-profile-panel-right #calorieExplain::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(214, 192, 143, 0.72);
}

#wmProfileScreen .wm-menu-options-field.is-open {
    z-index: 95;
}

#wmProfileScreen .wm-menu-options-trigger {
    box-shadow: none !important;
    text-transform: none !important;
    letter-spacing: normal !important;
}

#wmProfileScreen .wm-profile-panel-right .calorie-card {
    grid-template-columns: 190px minmax(0, 1fr);
    grid-template-rows: 190px auto 1fr auto;
    gap: 10px 14px;
}

#wmProfileScreen .wm-profile-panel-right .calorie-wrapper {
    width: 180px;
    height: 190px;
    min-height: 190px;
}

#wmProfileScreen .wm-profile-panel-right .calorie-circle {
    width: 172px;
    height: 172px;
}

#wmProfileScreen .wm-profile-panel-right .calorie-center {
    top: 50%;
    bottom: auto;
    width: 112px;
    transform: translate(-50%, -50%);
}

#wmProfileScreen .wm-profile-panel-right .cal-label-top,
#wmProfileScreen .wm-profile-panel-right #calorieDiff,
#wmProfileScreen .wm-profile-panel-right .imt-wrap {
    display: none !important;
}

#wmProfileScreen .wm-profile-panel-right .cal-main-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    width: 100%;
    margin: 0;
}

#wmProfileScreen .wm-profile-panel-right #caloriesValue {
    color: var(--wf-text, #f5f3ef);
    font-size: clamp(20px, 2vw, 30px);
    font-weight: 700;
    line-height: 1.2;
    font-variant-numeric: tabular-nums;
}

#wmProfileScreen .wm-profile-panel-right .cal-main-wrap > .cal-sub:not(#calorieDiff) {
    margin: 0;
    color: rgba(216, 216, 216, 0.82);
    font-size: 0;
    line-height: 1;
}

#wmProfileScreen .wm-profile-panel-right .cal-main-wrap > .cal-sub:not(#calorieDiff)::after {
    content: "ккал/сут";
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.02em;
}

#wmProfileScreen .wm-profile-panel-right #calorieExplain {
    box-sizing: border-box;
    width: 100%;
    height: 190px;
    min-height: 190px;
    padding: 12px 14px;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    font-size: 14px;
    line-height: 1.32;
    scrollbar-width: thin;
    scrollbar-color: #d9ba83 rgba(255,255,255,0.04);
}

#wmProfileScreen .wm-science-summary {
    display: grid;
    gap: 4px;
    margin-bottom: 7px;
}

#wmProfileScreen .wm-science-summary > div {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
    padding-bottom: 4px;
    border-bottom: 1px solid rgba(214, 192, 143, 0.16);
}

#wmProfileScreen .wm-science-summary b {
    color: #d9ba83;
    font-size: 14px;
    white-space: nowrap;
}

#wmProfileScreen .wm-science-warning {
    display: block;
    margin-top: 3px;
    color: rgba(216,216,216,0.82);
    font-size: 10.5px;
    line-height: 1.28;
}

@media (max-width: 767px) {
    #wmProfileScreen .wm-activity-field .wm-custom-select-dropdown {
        max-height: min(46vh, 210px);
    }

    #wmProfileScreen .wm-profile-panel-right .calorie-card {
        display: flex;
        gap: 14px;
    }

    #wmProfileScreen .wm-profile-panel-right .calorie-wrapper {
        width: 100%;
        height: auto;
        min-height: 210px;
    }

    #wmProfileScreen .wm-profile-panel-right #calorieExplain {
        height: auto;
        min-height: 0;
        max-height: 220px;
        font-size: 14px;
    }
}


/* WPCode source 1543 SHA256 2133ea8dce9dd41df6788564d0aa7dd7f8a7bc1407244096f421cb4f3ad52bed */
/* =========================================================
   FIT — Параметры: блокировка формы CSS
========================================================= */

.form-lock-wrapper {
    position: relative;
}

.form-locked {
    opacity: 0.72;
    pointer-events: none;
    user-select: none;
    transition: opacity 0.25s ease;
}

.form-lock-overlay {
    position: absolute;
    inset: 0;

    display: none;
    align-items: center;
    justify-content: center;

    border-radius: 18px;

    background:
        rgba(8,8,9,0.42);

    backdrop-filter: blur(4px);

    z-index: 30;

    cursor: pointer;
}

.lock-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    background: transparent;
    border: none;
    box-shadow: none;

    padding: 0;
    width: auto;

    color: rgba(145,145,145,0.95);

    transform: scale(1);
    transition:
        transform 0.22s ease,
        color 0.22s ease,
        filter 0.22s ease;
}

.lock-icon-svg {
    width: 90px;
    height: 90px;

    color: currentColor;
    fill: currentColor;

    filter:
        drop-shadow(0 0 8px rgba(145,145,145,0.18));
}
.lock-text {
    margin-top: 12px;

    color: currentColor;

    font-size: 16px;
    font-weight: 600;
    text-align: center;

    letter-spacing: 0.3px;
}

.lock-text b {
    color: currentColor;
    font-weight: 600;
}

@media (hover: hover) and (pointer: fine) {
    .form-lock-overlay:hover .lock-inner {
        color: #d9ba83;
        transform: scale(1.06);
        filter:
            drop-shadow(0 0 12px rgba(214,192,143,0.30))
            drop-shadow(0 0 24px rgba(214,192,143,0.16));
    }
}

.form-lock-overlay:active .lock-inner {
    color: #d9ba83;
    transform: scale(0.97);
    filter:
        drop-shadow(0 0 10px rgba(214,192,143,0.26));
}

@media (max-width: 767px) {

    .lock-inner {
        padding: 18px;
        width: calc(100% - 24px);
    }

    .lock-icon-svg {
        width: 42px;
        height: 42px;
    }

    .lock-text {
        font-size: 13px;
    }
}

#formBlock > .elementor-widget-html:has(#formLock) {
    position: absolute;
    inset: 0;
    z-index: 30;
    pointer-events: none;
}

#formBlock > .elementor-widget-html:has(#formLock) #formLock {
    pointer-events: auto;
}

/* WPCode source 2077 SHA256 2b59776d7a27b482b116e85e1c9b1d11fd55458416774008cf9743d4e5e23d8e */
/* =========================================================
   FIT APP — Параметры: каркас панели CSS
========================================================= */

#wmProfileScreen {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
}

.wm-profile-dashboard {
    width: 100%;
    min-height: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border-radius: 24px;
    overflow: visible;

    background:
        radial-gradient(circle at top center, rgba(214,192,143,0.08), transparent 42%),
        linear-gradient(180deg, rgba(18,18,20,0.98), rgba(11,11,12,0.99));

    border: 1px solid rgba(214,192,143,0.18);

    box-shadow:
        0 30px 90px rgba(0,0,0,0.72),
        0 0 46px rgba(214,192,143,0.08),
        inset 0 1px 0 rgba(255,255,255,0.035);

    align-items: stretch;
}

.wm-profile-panel {
    position: relative;
    min-width: 0;
    padding: 16px 18px;
    box-sizing: border-box;

    display: flex;
    flex-direction: column;
}

.wm-profile-panel-left {
    border-right: 1px solid rgba(214,192,143,0.14);
}

.wm-profile-panel-header {
    margin-bottom: 16px;
}

.wm-profile-panel-kicker {
    margin-bottom: 6px;
    color: #d9ba83;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.wm-profile-panel-title {
    display: none;
}

.wm-profile-panel-subtitle {
    max-width: 520px;
    margin: 8px 0 0;
    color: #f5f3ef;
    font-size: 15px;
    line-height: 1.45;
}

@media (max-width: 767px) {
    #wmProfileScreen {
        max-width: 100%;
    }

    .wm-profile-dashboard {
        grid-template-columns: 1fr;
        border-radius: 20px;
    }

    .wm-profile-panel {
        padding: 14px 12px;
    }

    .wm-profile-panel-left {
        border-right: none;
        border-bottom: 1px solid rgba(214,192,143,0.14);
    }

    .wm-profile-panel-header {
        margin-bottom: 12px;
    }

    .wm-profile-panel-kicker {
        font-size: 14px;
        margin-bottom: 6px;
    }

    .wm-profile-panel-subtitle {
        font-size: 13px;
        line-height: 1.4;
    }
}

@media (max-width: 767px) {
    .wm-profile-panel-right {
        display: none;
    }

    .wm-profile-dashboard:has(.calorie-wrapper.active) .wm-profile-panel-right {
        display: flex;
    }
}


/* WPCode source 2078 SHA256 4eae3f148d848c446454c6926be4d6d9ca0375ed3b44f45899fe7d6f372a9b2c */
/* =========================================================
   FIT APP — Параметры: форма и поля CSS
========================================================= */

.wm-profile-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.wm-profile-field {
    min-width: 0;
}

.wm-profile-field-full {
    margin-top: 14px;
}

.wm-profile-field label {
    display: block;
    margin-bottom: 6px;
    color: #d9ba83;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.wm-profile-field input,
.wm-profile-field textarea,
.wm-custom-select-trigger {
    width: 100%;
    min-height: 40px;
    box-sizing: border-box;
    padding: 10px 14px;

    background: #0b0b0c;
    border: 1px solid rgba(214,192,143,0.18);
    border-radius: 14px;

    color: #f5f3ef;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0;

    outline: none;
    transition: 0.25s ease;
}

.wm-profile-field textarea {
    min-height: 96px;
    resize: vertical;
}

.wm-profile-field input:focus,
.wm-profile-field textarea:focus,
.wm-custom-select.is-open .wm-custom-select-trigger {
    border-color: rgba(214,192,143,0.48);
    box-shadow:
        0 0 0 1px rgba(214,192,143,0.12),
        0 0 18px rgba(214,192,143,0.10);
}

#wmProfileScreen input[type="number"]::-webkit-inner-spin-button,
#wmProfileScreen input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

#wmProfileScreen input[type="number"] {
    -moz-appearance: textfield;
}

@media (max-width: 767px) {
    .wm-profile-form-grid {
        gap: 10px;
    }

    .wm-profile-field label {
        margin-bottom: 5px;
        font-size: 14px;
        line-height: 1.25;
    }

    .wm-profile-field input,
    .wm-profile-field textarea,
    .wm-custom-select-trigger {
        min-height: 40px;
        padding: 9px 10px;
        font-size: 14px;
    }
}


/* WPCode source 2079 SHA256 29998b36b6f217d0ff8bb4ef3fdfc151f2773753cea7f596a7d42c5c1449c951 */
/* =========================================================
   FIT APP — Параметры: кнопки и блокировка формы CSS
========================================================= */

.wm-profile-actions {
    display: grid;
    gap: 14px;
    position: relative;
}

.wm-profile-actions::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(214,192,143,0.25),
            transparent
        );
}

#wmProfileScreen .wm-profile-actions {
    grid-template-columns: 1fr 1fr;
    margin-top: auto;
    padding-top: 20px;
}

#wmProfileScreen .wm-profile-panel-left .form-lock-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;

    margin: -5px;
    padding: 5px;

    border-radius: 22px;
    overflow: hidden;
}

#wmProfileScreen #formBlock {
    flex: 1;
    display: flex;
    flex-direction: column;
}
#wmProfileScreen #wmOpenExcludeProductsBtn {
    width: 100%;
}

@media (max-width: 767px) {
    #wmProfileScreen .wm-profile-actions {
        grid-template-columns: 1fr;
        gap: 10px;
        padding-top: 16px;
    }

    #wmProfileScreen .wm-profile-panel-left .form-lock-wrapper {
        margin: 0;
        padding: 0;
        border-radius: 20px;
    }
}

/* WPCode source 2080 SHA256 a0a6675ff95c01e19816df282aa59e04677935c3576f44da2ef3e63123c0e0c3 */
/* =========================================================
   FIT APP — Параметры: правая панель плана CSS
========================================================= */

#wmProfileScreen .wm-profile-panel-right .calorie-card {
    flex: 1;
    min-height: 0 !important;

    display: grid;
    grid-template-columns: 240px 1fr;
    grid-template-rows: auto auto 1fr auto;
    gap: 12px 18px;

    padding: 0;
    border: none;
    background: transparent;
    box-shadow: none;
    overflow: visible;

    align-content: stretch;
}

#wmProfileScreen .wm-profile-panel-right .calorie-wrapper {
    grid-column: 1;
    grid-row: 1;

    width: 200px;
    height: 200px;
    min-height: 200px;
    margin: 0;
    padding: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 18px;
    background: rgba(11,11,12,0.86);
    border: 1px solid rgba(214,192,143,0.16);
    box-shadow:
        0 18px 42px rgba(0,0,0,0.42),
        inset 0 0 14px rgba(214,192,143,0.025);

    overflow: visible;
}

#wmProfileScreen .wm-profile-panel-right .calorie-circle {
    width: 190px;
    height: 190px;
}

#wmProfileScreen .wm-profile-panel-right #calorieExplain {
    grid-column: 2;
    grid-row: 1;

    max-width: none;
    height: 200px;
    min-height: 200px;
    margin: 0;

    overflow: visible;
}

#wmProfileScreen .wm-plan-lines {
    grid-column: 1 / -1;
    grid-row: 2;

    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 0;
}

#wmProfileScreen .wm-plan-line {
    width: 100%;
    min-height: 38px;
    padding: 7px 0 7px 28px;

    display: flex;
    align-items: center;
    gap: 14px;

    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(214,192,143,0.14);
    border-radius: 0;
    box-shadow: none;

    opacity: 1;
    transform: none;
    animation: none;

    color: #f5f3ef;
    font-size: 15px;
    line-height: 1.25;
    overflow: visible;
}

#wmProfileScreen .wm-plan-line .icon {
    width: 22px;
    height: 22px;

    color: #d9ba83;
    filter:
        drop-shadow(0 0 5px rgba(214,192,143,0.34));

    animation: wmPlanIconPulse 2.2s infinite ease-in-out;
}

#wmProfileScreen .wm-plan-line .wm-icon {
    width: 22px;
    height: 22px;
}

#wmProfileScreen .wm-plan-line span:last-child {
    min-width: 0;
}

#wmProfileScreen .wm-plan-modal-actions {
    grid-column: 1 / -1;
    grid-row: 4;

    align-self: end;

    margin-top: 0;
    padding-top: 12px;

    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;

    position: relative;
    border-top: none;

    overflow: visible;
}

#wmProfileScreen .wm-plan-modal-actions::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(214,192,143,0.25),
            transparent
        );
}

@keyframes wmPlanIconPulse {
    0% {
        opacity: 0.62;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.12);
    }

    100% {
        opacity: 0.62;
        transform: scale(1);
    }
}

@media (max-width: 767px) {
    #wmProfileScreen .wm-profile-panel-right .calorie-card {
        display: flex;
        flex-direction: column;
        gap: 16px;
    }

    #wmProfileScreen .wm-profile-panel-right .calorie-wrapper {
        width: 100%;
        height: auto;
        min-height: 220px;
    }

    #wmProfileScreen .wm-profile-panel-right .calorie-circle {
        width: 210px;
        height: 210px;
    }

    #wmProfileScreen .wm-profile-panel-right #calorieExplain {
        height: auto;
        min-height: 0;
    }

    #wmProfileScreen .wm-plan-line {
        padding-left: 0;
        font-size: 13px;
    }

    #wmProfileScreen .wm-plan-modal-actions {
        grid-template-columns: 1fr;
        gap: 10px;
        padding-top: 16px;
    }
}

/* WPCode source 2081 SHA256 60b41ec2a1a90252d4d9467bf8802cfe249c7fa6230de3b6a6cfd7389f776379 */
/*=FIT APP — Параметры: custom select CSS=*/

/* =========================================================
   FIT APP — фирменные custom select-поля
========================================================= */
#wmProfileScreen .wm-native-select-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

#wmProfileScreen .wm-custom-select {
    position: relative;
}

#wmProfileScreen .wm-custom-select-trigger {
    width: 100%;
    min-height: 42px;
	padding: 10px 44px 10px 16px;
    box-sizing: border-box;
	
	font-weight: 400;
	line-height: 21px;
	letter-spacing: 0;
	text-transform: none;

    display: flex;
    align-items: center;
    justify-content: space-between;

    background: rgb(18,18,20);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;

    color: #f5f3ef;
    font-size: 15px;
    text-align: left;
    cursor: pointer;

    transition: 0.25s ease;
}

#wmProfileScreen .wm-custom-select-label {
    color: inherit;
    font-size: inherit;
    font-weight: inherit;
    letter-spacing: inherit;
    text-transform: inherit;
}

#wmProfileScreen .wm-custom-select-trigger:hover,
#wmProfileScreen .wm-custom-select.is-open .wm-custom-select-trigger {
    border-color: rgba(255,255,255,0.08);
    box-shadow: none;
}

#wmProfileScreen .wm-custom-select-arrow {
    position: absolute;
    right: 18px;
    color: #f2d59c;
    font-size: 22px;
    font-weight: 600;
    line-height: 1;
}

#wmProfileScreen .wm-custom-select-dropdown {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 8px);

    display: none;
    z-index: 80;

    padding: 6px;
    border-radius: 14px;
    background: #131313;
    border: 1px solid rgba(214,192,143,0.32);
    box-shadow:
        0 18px 38px rgba(0,0,0,0.55),
        0 0 20px rgba(214,192,143,0.10);
}

#wmProfileScreen .wm-custom-select.is-open .wm-custom-select-dropdown {
    display: block;
}

#wmProfileScreen .wm-custom-select-dropdown button {
    width: 100%;
    min-height: 42px;
    padding: 10px 18px;

    background: transparent;
    border: none;
    border-radius: 10px;

    color: #f5f3ef;

    font-size: 15px;
    font-weight: 400;
	line-height: 21px;
    letter-spacing: 0;
    text-transform: none;

    text-align: left;
    cursor: pointer;
}

#wmProfileScreen .wm-custom-select-dropdown button:hover,
#wmProfileScreen .wm-custom-select-dropdown button.is-selected {
    background: rgba(214,192,143,0.12);
    color: #d9ba83;
}

#wmProfileScreen .wm-custom-select-trigger {
    box-shadow: none !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
}

#wmProfileScreen .wm-custom-select-dropdown button {
    box-shadow: none !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
}

@media (max-width: 767px) {
    #wmProfileScreen .wm-custom-select-trigger {
        min-height: 42px;
        padding: 10px 42px 10px 14px;
        font-size: 14px;
    }

    #wmProfileScreen .wm-custom-select-arrow {
        right: 16px;
        font-size: 20px;
    }

    #wmProfileScreen .wm-custom-select-dropdown button {
        min-height: 40px;
        padding: 9px 14px;
        font-size: 14px;
    }
}

/* WPCode source 2082 SHA256 f3aa1e324e15104065d62ba5feadbe8cf29f49a5c42598471fde26bb6d690228 */
/* =========================================================
   WELES MASTER FIT — UI Buttons System CSS
========================================================= */

/* ---------------------------------------------------------
   БАЗОВАЯ КНОПКА
--------------------------------------------------------- */

.elementor-kit-55 .wm-btn,
button.wm-btn,
a.wm-btn,
.wm-btn {
    width: min(420px, 100%);
    min-height:48px;
    padding: 10px 18px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    box-sizing: border-box;

    border-radius:12px;
    border: 1px solid rgba(130,130,130,0.42);

    background:#1c2024;

    color:#f5f3ef !important;

    font-size: 15px;
    font-weight: 600;
    line-height:1.5;

    text-align: center;
    text-decoration: none;
    cursor: pointer;

    box-shadow:none;

    transition:
        transform 0.18s ease,
        color 0.18s ease,
        border-color 0.18s ease,
        background 0.18s ease,
        box-shadow 0.18s ease;;
    border-color:#66707a;;
    transform:none;
}

/* ---------------------------------------------------------
   БАЗОВЫЕ СОСТОЯНИЯ
--------------------------------------------------------- */

.elementor-kit-55 .wm-btn:hover,
.elementor-kit-55 .wm-btn:focus-visible,
button.wm-btn:hover,
button.wm-btn:focus-visible,
a.wm-btn:hover,
a.wm-btn:focus-visible,
.wm-btn:hover,
.wm-btn:focus-visible {
    color:#f5f3ef !important;
    border-color:#66707a;

    background:#252a2f;

    box-shadow:none;;
    border-radius:12px;;
    min-height:48px;;
    line-height:1.5;;
    transform:none;;
    outline:2px solid #f2d59c;;
    outline-offset:3px;
}

.elementor-kit-55 .wm-btn:active,
button.wm-btn:active,
a.wm-btn:active,
.wm-btn:active {
    transform:none;;
    background:#1c2024;;
    box-shadow:none;;
    color:#f5f3ef !important;;
    border-color:#66707a;;
    border-radius:12px;;
    min-height:48px;;
    line-height:1.5;
}

/* ---------------------------------------------------------
   LARGE
--------------------------------------------------------- */

.wm-btn-large {
    min-height:48px;
    padding: 13px 20px;
    border-radius:12px;
    font-size: 15px;;
    background:#1c2024;;
    box-shadow:none;;
    color:#f5f3ef !important;;
    border-color:#66707a;;
    line-height:1.5;;
    transform:none;
}

/* ---------------------------------------------------------
   ICON
--------------------------------------------------------- */

.wm-btn-icon {
    width:44px !important;
    min-width:44px !important;
    max-width:44px !important;

    height:44px !important;
    min-height:44px !important;
    max-height:44px !important;

    padding: 0 !important;

    border-radius:12px;
    font-size: 24px;
    line-height:1.5;;
    background:#1c2024;;
    box-shadow:none;;
    color:#f5f3ef !important;;
    border-color:#66707a;;
    transform:none;
}

/* ---------------------------------------------------------
   SUCCESS
--------------------------------------------------------- */

.elementor-kit-55 .wm-btn.wm-btn-success,
button.wm-btn.wm-btn-success,
a.wm-btn.wm-btn-success,
.wm-btn.wm-btn-success {
    border-color:#8fc7a5;

    background:#1c2024;;
    box-shadow:none;;
    color:#f5f3ef !important;;
    border-radius:12px;;
    min-height:48px;;
    line-height:1.5;;
    transform:none;
}

.elementor-kit-55 .wm-btn.wm-btn-success:hover,
.elementor-kit-55 .wm-btn.wm-btn-success:focus-visible,
button.wm-btn.wm-btn-success:hover,
button.wm-btn.wm-btn-success:focus-visible,
a.wm-btn.wm-btn-success:hover,
a.wm-btn.wm-btn-success:focus-visible,
.wm-btn.wm-btn-success:hover,
.wm-btn.wm-btn-success:focus-visible {
    border-color:#8fc7a5;

    background:#252a2f;

    box-shadow:none;;
    color:#f5f3ef !important;;
    border-radius:12px;;
    min-height:48px;;
    line-height:1.5;;
    transform:none;;
    outline:2px solid #f2d59c;;
    outline-offset:3px;
}

/* ---------------------------------------------------------
   DANGER
--------------------------------------------------------- */

.elementor-kit-55 .wm-btn.wm-btn-danger,
button.wm-btn.wm-btn-danger,
a.wm-btn.wm-btn-danger,
.wm-btn.wm-btn-danger {
    border-color:#ef9d9d;

    background:#1c2024;;
    box-shadow:none;;
    color:#f5f3ef !important;;
    border-radius:12px;;
    min-height:48px;;
    line-height:1.5;;
    transform:none;
}

.elementor-kit-55 .wm-btn.wm-btn-danger:hover,
.elementor-kit-55 .wm-btn.wm-btn-danger:focus-visible,
button.wm-btn.wm-btn-danger:hover,
button.wm-btn.wm-btn-danger:focus-visible,
a.wm-btn.wm-btn-danger:hover,
a.wm-btn.wm-btn-danger:focus-visible,
.wm-btn.wm-btn-danger:hover,
.wm-btn.wm-btn-danger:focus-visible {
    border-color:#ef9d9d;

    background:#252a2f;

    box-shadow:none;;
    color:#f5f3ef !important;;
    border-radius:12px;;
    min-height:48px;;
    line-height:1.5;;
    transform:none;;
    outline:2px solid #f2d59c;;
    outline-offset:3px;
}

/* WPCode source 2086 SHA256 b6ad0e99ca2420aa02b5ea25fd9329597bdc2f3d0110a092542e61848e610794 */
/* =========================================================
   WELES MASTER FIT — UI Modals System CSS
   Единый стандарт модальных окон
========================================================= */

/* =========================================================
   1. ОБОЛОЧКА МОДАЛКИ
========================================================= */

.wm-modal {
    position: fixed;
    inset: 0;
    z-index: 999999;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 18px;

    background: rgba(0,0,0,0.72);
    backdrop-filter:none;
    -webkit-backdrop-filter:none;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition:
        opacity 0.28s ease,
        visibility 0.28s ease;
}

.wm-modal.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* =========================================================
   2. ОКНО МОДАЛКИ
========================================================= */

.wm-modal-window {
    position: relative;

    width: min(1000px, 95vw);
    height: min(750px, 90vh);

    display: flex;
    flex-direction: column;

    overflow: hidden;

    background:#141619;
    border:1px solid #3a4046;
    border-radius:20px;

    box-shadow:none;

    color: #f5f3ef;
}

/* =========================================================
   3. КНОПКА ЗАКРЫТИЯ
========================================================= */

.wm-modal-close,
.wm-fit-faq-close,
.recipe-close,
#wmExcludeProductsModal .recipe-modal-close {
    position: sticky !important;
    top: 14px !important;
    right: 14px !important;
    z-index: 50 !important;

    width:44px !important;
    height:44px !important;
    min-width:44px !important;
    min-height:44px !important;

    margin-left: auto !important;
    padding: 0 !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    border-radius: 50% !important;
    border:1px solid #66707a !important;

    background:#1c2024 !important;

    color:#f5f3ef !important;

    font-size: 24px !important;
    font-weight: 400 !important;
    line-height: 1 !important;

    cursor: pointer !important;
    box-sizing: border-box !important;

    box-shadow:none !important;

    transition:
        transform 0.18s ease,
        color 0.18s ease,
        border-color 0.18s ease,
        background 0.18s ease,
        box-shadow 0.18s ease !important;;
    transform:none !important;
}

.wm-modal-close:hover,
.wm-fit-faq-close:hover,
.recipe-close:hover,
#wmExcludeProductsModal .recipe-modal-close:hover {
    color:#f5f3ef !important;
    border-color: rgba(214,192,143,0.75) !important;

    background:#252a2f !important;

    box-shadow:none !important;;
    border:1px solid #66707a !important;;
    width:44px !important;;
    height:44px !important;;
    min-width:44px !important;;
    min-height:44px !important;;
    transform:none !important;
}

.wm-modal-close:active,
.wm-fit-faq-close:active,
.recipe-close:active,
#wmExcludeProductsModal .recipe-modal-close:active {
    transform:none !important;;
    background:#1c2024 !important;;
    color:#f5f3ef !important;;
    box-shadow:none !important;;
    border:1px solid #66707a !important;;
    width:44px !important;;
    height:44px !important;;
    min-width:44px !important;;
    min-height:44px !important;
}

/* =========================================================
   4. ШАПКА МОДАЛКИ
========================================================= */

.wm-modal-header {
    flex: 0 0 auto;
    min-height: 66px;

    padding: 0 76px 0 28px;

    display: flex;
    align-items: center;

    background: rgba(18,18,20,0.98);
    border-bottom: 1px solid rgba(255,255,255,0.08);

    color: #f5f3ef;
    font-size: 22px;
    font-weight: 600;
    line-height: 1.25;
}

/* =========================================================
   5. КОНТЕНТ МОДАЛКИ
========================================================= */

.wm-modal-content {
    flex: 1 1 auto;
    min-height: 0;

    overflow-y: auto;
    overflow-x: hidden;

    padding: 20px 28px 24px;

    color: #f5f3ef;
    font-size: 15px;
    line-height: 1.65;

    outline: none;

    scrollbar-width: thin;
    scrollbar-color: rgba(214,192,143,0.45) rgba(255,255,255,0.04);
}

.wm-modal-content::-webkit-scrollbar {
    width: 8px;
}

.wm-modal-content::-webkit-scrollbar-track {
    background: rgba(255,255,255,0.04);
    border-radius: 999px;
}

.wm-modal-content::-webkit-scrollbar-thumb {
    background: rgba(214,192,143,0.45);
    border-radius: 999px;
}

.wm-modal-content::-webkit-scrollbar-thumb:hover {
    background: rgba(214,192,143,0.70);
}

/* =========================================================
   6. ФИКСИРОВАННЫЙ ПОДВАЛ МОДАЛКИ
========================================================= */

.wm-modal-footer,
.wm-modal-actions {
    flex: 0 0 auto !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px !important;

    padding:16px !important;

    border-top: 1px solid rgba(255,255,255,0.08) !important;

    background:#141619 !important;

    backdrop-filter:none !important;
    -webkit-backdrop-filter:none !important;;
    flex-wrap:wrap;
}

.wm-modal-footer .wm-btn,
.wm-modal-actions .wm-btn,
.wm-modal-actions button {
    min-height:48px;;
    background:#1c2024;;
    box-shadow:none;;
    color:#f5f3ef !important;;
    border-color:#66707a;;
    border-radius:12px;;
    line-height:1.5;;
    transform:none;
}

.wm-modal-pdf-btn {
    width: min(420px, 100%) !important;
    flex: 0 0 auto !important;
}

/* =========================================================
   7. МОБИЛЬНАЯ ВЕРСИЯ
========================================================= */

@media (max-width: 767px) {
    .wm-modal {
        padding: 12px;;
    backdrop-filter:none;;
    -webkit-backdrop-filter:none;
}

    .wm-modal-window {
        width: 100%;
        height: min(92vh, 760px);
        border-radius:20px;;
    background:#141619;;
    border:1px solid #3a4046;;
    box-shadow:none;
}

    .wm-modal-header {
        min-height: 58px;
        padding: 0 64px 0 18px;

        font-size: 18px;
        line-height: 1.25;
    }

    .wm-modal-content {
        padding: 18px 18px 22px;
        font-size: 14px;
        line-height: 1.58;
    }

    .wm-modal-footer,
    .wm-modal-actions {
        padding: 12px !important;
    }

    .wm-modal-footer .wm-btn,
    .wm-modal-actions .wm-btn,
    .wm-modal-actions button {
        width: 100% !important;;
    background:#1c2024;;
    box-shadow:none;;
    color:#f5f3ef !important;;
    border-color:#66707a;;
    border-radius:12px;;
    min-height:48px;;
    line-height:1.5;;
    transform:none;
}

    .wm-modal-close,
    .wm-fit-faq-close,
    .recipe-close,
    #wmExcludeProductsModal .recipe-modal-close {
        top: 10px !important;
        right: 10px !important;

        width:44px !important;
        height:44px !important;
        min-width:44px !important;
        min-height:44px !important;

        font-size: 22px !important;;
    background:#1c2024 !important;;
    color:#f5f3ef !important;;
    box-shadow:none !important;;
    border:1px solid #66707a !important;;
    transform:none !important;
}
}

/* Existing CSS owner moved into existing app bundle: WPCode 1541 */
/* =========================================================
   FIT — Параметры: визуализация расчёта CSS
========================================================= */

.calorie-card {
    position: relative;
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 24px;
    border-radius:16px;
    background:#141619;
    border: 1px solid rgba(214,192,143,0.18);
    box-shadow:none;
    overflow: hidden;
}

.calorie-card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius:16px;
    box-shadow:none;
    pointer-events: none;
    background:transparent;
}


.wm-icon,
.icon svg {
    color: #d9ba83;
    fill: #d9ba83;
    filter:none;
    transition: 0.25s ease;
}

.wm-icon,
.icon,
.icon svg {
    width: 18px;
    height: 18px;
}

.icon {
    display: flex;
    flex-shrink: 0;
}

.calorie-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 25px;
    position: relative;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.calorie-wrapper.active {
    opacity: 1;
    transform: translateY(0);
}

.calorie-box {
    position: relative;
    width: 160px;
    height: 160px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    background: rgba(11,11,12,0.92);
    border: 1px solid rgba(214,192,143,0.22);
    box-shadow: 0 18px 45px rgba(0,0,0,0.52), 0 0 22px rgba(214,192,143,0.08), inset 0 0 15px rgba(214,192,143,0.035);
    transition: 0.25s ease;
}

.calorie-box::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 20px;
    box-shadow: 0 0 24px rgba(214,192,143,0.1);
    opacity: 0.42;
    pointer-events: none;
    animation: pulseBox 2s infinite ease-in-out;
}

.calorie-circle {
    position: relative;
    width: 220px;
    height: 220px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.calorie-circle svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
    position: absolute;
    top: 0;
    left: 0;
}

.calorie-circle circle {
    fill: none;
    stroke-width: 10;
}

.calorie-circle .bg {
    stroke: rgba(255,255,255,0.06);
}

.calorie-circle .progress {
    stroke: rgba(214,192,143,0.62);
    stroke-linecap: round;
    stroke-dasharray: 440;
    stroke-dashoffset: 440;
    transition: stroke-dashoffset 1.2s ease;
    filter: drop-shadow(0 0 5px rgba(214,192,143,0.22));
}

.progress-glow {
    fill: none;
    stroke-width: 10;
    stroke: rgba(214,192,143,0.34);
    opacity: 0.32;
    filter: blur(6px);
    stroke-dasharray: 440;
    stroke-dashoffset: 440;
    transition: stroke-dashoffset 1s ease;
}

.progress-glow.active {
    animation: pulseGlow 2.2s infinite ease-in-out;
}

.calorie-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.cal-main-wrap {
    text-align: center;
}

.cal-label,
.cal-label-top {
    font-size: 14px;
    color: #66707a;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.cal-main {
    font-size: 16px;
    font-weight: 600;
    color: #d9ba83;
    letter-spacing: 0.5px;
    text-shadow: 0 0 8px rgba(214,192,143,0.18);
}

.cal-sub {
    font-size: 14px;
    color: #949ba4;
    margin-top: 2px;
}

.imt-wrap {
    margin-top: 6px;
    text-align: center;
}

.imt-value {
    font-size: 16px;
    font-weight: 600;
    color: rgba(214,192,143,0.78);
}

.imt-label {
    font-size: 14px;
    color: #66707a;
    margin-top: -2px;
}

.imt-block {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid rgba(214,192,143,0.2);
    font-size: 14px;
    line-height: 1.6;
    color: #f5f3ef;
}

.imt-block b {
    color: rgba(214,192,143,0.78);
}

#calorieExplain {
    width: 100%;
    max-width: 520px;
    margin: 20px auto 0;
    padding: 18px 22px;
    text-align: left;
    font-size: 14px;
    line-height: 1.6;
    color: #f5f3ef;
    border-radius: 16px;
    border: 1px solid rgba(214,192,143,0.18);
    background: rgba(11,11,12,0.9);
    box-shadow: 0 18px 44px rgba(0,0,0,0.42), inset 0 0 10px rgba(214,192,143,0.025);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
    box-sizing: border-box;
}

#calorieExplain.active {
    opacity: 1;
    transform: translateY(0);
}

#calorieExplain b {
    color: #d9ba83;
    font-weight: 600;
}

.plan-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 20px;
}

.plan-item {
    min-width: 0;
    margin: 0;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(11,11,12,0.9);
    border: 1px solid rgba(214,192,143,0.12);
    border-radius: 14px;
    color: #f5f3ef;
    box-sizing: border-box;
    opacity: 0;
    transform: translateY(10px);
    animation: fadeInUp 0.5s ease forwards;
    box-shadow: 0 14px 32px rgba(0,0,0,0.34), inset 0 0 8px rgba(255,255,255,0.018);
}

.plan-item:nth-child(1) { animation-delay: 0.1s; }
.plan-item:nth-child(2) { animation-delay: 0.2s; }
.plan-item:nth-child(3) { animation-delay: 0.3s; }
.plan-item:nth-child(4) { animation-delay: 0.4s; }

.plan-item .icon {
    flex: 0 0 auto;
}

.plan-item span:last-child {
    min-width: 0;
    max-width: 100%;
}

#recommendText {
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
    overflow-wrap:normal;
    word-break: normal;
    line-height: 1.45;
}

#bju {
    margin-top: 8px;
    color: #f5f3ef;
}

#bjuText,
#bjuText * {
    color: #f5f3ef;
    font-weight: 500;
}
@keyframes pulseGlow {
    0% {
        opacity: 0.18;
    }

    50% {
        opacity: 0.58;
    }

    100% {
        opacity: 0.18;
    }
}

@keyframes pulseBox {
    0% { opacity: 0.24; }
    50% { opacity: 0.62; }
    100% { opacity: 0.24; }
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* Existing CSS owner moved into existing app bundle: WPCode 1553 */
/* =========================================================
   FIT — Параметры: лоадер расчёта CSS
   Страница: /app
========================================================= */

#calcLoader {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.86);
    backdrop-filter: blur(8px);

    display: none;
    align-items: center;
    justify-content: center;

    z-index: 999999;
}

.loader-box {
    position: relative;
    width: 160px;
    height: 160px;
}

.loader-box svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.loader-progress {
    fill: none;
    stroke: #d9ba83;
    stroke-width: 10;
    stroke-linecap: round;

    stroke-dasharray: 440;
    stroke-dashoffset: 440;

    transition: stroke-dashoffset 0.65s ease-out;

    filter: drop-shadow(0 0 10px rgba(214,192,143,0.48));
}

.loader-bg {
    fill: none;
    stroke: rgba(255,255,255,0.08);
    stroke-width: 10;
}

.loader-text {
    position: absolute;
    top: 50%;
    left: 50%;

    transform: translate(-50%, -50%);
    text-align: center;
}

.loader-desc {
    font-size: 14px;
    color: #949ba4;
    margin-top: 4px;
}

#loaderPercent {
    font-size: 22px;
    color: #d9ba83;
    font-weight: 600;
}
/* Three distinct estimates, using the site's neutral surfaces and gold accent. */
body.page-id-1197 .wm-fit-app.weles-ui #wmProfileScreen .wm-profile-panel-right .calorie-card.wm-plan-overview{display:block;min-width:0;padding:16px;}
body.page-id-1197 .wm-fit-app.weles-ui #wmProfileScreen .wm-plan-rings{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;align-items:start;}
body.page-id-1197 .wm-fit-app.weles-ui #wmProfileScreen .wm-plan-reading{min-width:0;text-align:center;}
body.page-id-1197 .wm-fit-app.weles-ui #wmProfileScreen .wm-plan-reading h5{font:600 14px/1.4 inherit;font-size:14px;line-height:1.4;margin:0 0 8px;min-height:40px;color:var(--wf-text,#f5f3ef);}
body.page-id-1197 .wm-fit-app.weles-ui #wmProfileScreen .wm-plan-reading>p{font-size:13px;line-height:1.5;color:var(--wf-secondary,#b9bdc3);margin:8px 0 0;}
body.page-id-1197 .wm-fit-app.weles-ui #wmProfileScreen .wm-plan-reading .calorie-wrapper,body.page-id-1197 .wm-fit-app.weles-ui #wmProfileScreen .wm-plan-side-ring{position:relative;display:block;width:100%;max-width:180px;height:auto;aspect-ratio:1;margin:0 auto;opacity:1;transform:none;min-height:0;}
body.page-id-1197 .wm-fit-app.weles-ui #wmProfileScreen .wm-plan-reading .calorie-circle{position:relative;width:100%;height:100%;min-height:0;}
body.page-id-1197 .wm-fit-app.weles-ui #wmProfileScreen .wm-plan-reading .calorie-wrapper,body.page-id-1197 .wm-fit-app.weles-ui #wmProfileScreen .wm-plan-reading .calorie-circle{border:0!important;background:transparent!important;box-shadow:none!important;border-radius:0!important;padding:0!important;}
body.page-id-1197 .wm-fit-app.weles-ui #wmProfileScreen .wm-plan-reading svg{width:100%;height:100%;}
body.page-id-1197 .wm-fit-app.weles-ui #wmProfileScreen .wm-plan-side-ring circle{fill:none;stroke:var(--wf-line,#3a4046);stroke-width:9;}
body.page-id-1197 .wm-fit-app.weles-ui #wmProfileScreen .wm-plan-side-ring>div{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;}
body.page-id-1197 .wm-fit-app.weles-ui #wmProfileScreen .wm-plan-side-ring b,body.page-id-1197 .wm-fit-app.weles-ui #wmProfileScreen .wm-plan-reading .cal-main{font-size:clamp(21px,2.1vw,32px);font-weight:700;line-height:1.15;color:var(--wf-gold,#d9ba83);font-variant-numeric:tabular-nums;}
body.page-id-1197 .wm-fit-app.weles-ui #wmProfileScreen .wm-plan-side-ring span{font-size:12px;color:var(--wf-secondary,#b9bdc3);margin-top:4px;}
body.page-id-1197 .wm-fit-app.weles-ui #wmProfileScreen .wm-plan-reading .calorie-center{inset:0;display:flex;align-items:center;justify-content:center;transform:none;width:100%;height:100%;top:0;left:0;}
body.page-id-1197 .wm-fit-app.weles-ui #wmProfileScreen .wm-plan-reading .cal-main-wrap{transform:none;text-align:center;}
body.page-id-1197 .wm-fit-app.weles-ui #wmProfileScreen .wm-plan-reading .imt-wrap,body.page-id-1197 .wm-fit-app.weles-ui #wmProfileScreen .wm-plan-reading #calorieDiff,body.page-id-1197 .wm-fit-app.weles-ui #wmProfileScreen .wm-plan-reading .cal-label-top,body.page-id-1197 .wm-fit-app.weles-ui #wmProfileScreen .wm-plan-reading .progress-glow{display:none!important;}
body.page-id-1197 .wm-fit-app.weles-ui #wmProfileScreen .wm-plan-reading .progress{stroke:var(--wf-gold,#d9ba83)!important;filter:none!important;animation:none!important;stroke-dasharray:none!important;stroke-dashoffset:0!important;}
body.page-id-1197 .wm-fit-app.weles-ui #wmProfileScreen .wm-plan-explanation{margin-top:16px;overflow-wrap:anywhere;}
body.page-id-1197 .wm-fit-app.weles-ui #wmProfileScreen .wm-plan-explanation>h5{padding:12px 16px 0;margin:0;font-size:15px;}
body.page-id-1197 .wm-fit-app.weles-ui #wmProfileScreen .wm-plan-explanation #calorieExplain{max-height:none;overflow:visible;}
body.page-id-1197 .wm-fit-app.weles-ui #wmProfileScreen .wm-plan-explanation #calorieExplain p{margin:0 0 8px;font-size:14px;line-height:1.5;}
@media(max-width:600px){body.page-id-1197 .wm-fit-app.weles-ui #wmProfileScreen .wm-plan-rings{grid-template-columns:1fr;}body.page-id-1197 .wm-fit-app.weles-ui #wmProfileScreen .wm-plan-reading{display:grid;grid-template-columns:96px minmax(0,1fr);column-gap:12px;text-align:left;align-items:center;}body.page-id-1197 .wm-fit-app.weles-ui #wmProfileScreen .wm-plan-reading h5{grid-column:2;grid-row:1;min-height:0;margin:0;align-self:end;}body.page-id-1197 .wm-fit-app.weles-ui #wmProfileScreen .wm-plan-reading>p{grid-column:2;grid-row:2;align-self:start;margin-top:4px;}body.page-id-1197 .wm-fit-app.weles-ui #wmProfileScreen .wm-plan-reading>.calorie-wrapper,body.page-id-1197 .wm-fit-app.weles-ui #wmProfileScreen .wm-plan-reading>.wm-plan-side-ring{grid-column:1;grid-row:1/3;}body.page-id-1197 .wm-fit-app.weles-ui #wmProfileScreen .wm-plan-side-ring b,body.page-id-1197 .wm-fit-app.weles-ui #wmProfileScreen .wm-plan-reading #caloriesValue{font-size:20px!important;}body.page-id-1197 .wm-fit-app.weles-ui #wmProfileScreen .wm-plan-reading .cal-main-wrap>.cal-sub:not(#calorieDiff)::after{font-size:12px!important;}}

/* Parameters: one shared selector per value, neutral brand menu surfaces. */
body.page-id-1197 .wm-fit-app.weles-ui #wmProfileScreen .wm-menu-options-trigger{height:48px!important;min-height:48px!important;border:1px solid var(--wf-control-border)!important;border-radius:12px!important;background:var(--wf-raised)!important;color:var(--wf-text)!important;box-shadow:none!important;outline:none!important}
body.page-id-1197 .wm-fit-app.weles-ui #wmProfileScreen .wm-menu-options-trigger:focus-visible{outline:2px solid var(--wf-text-secondary)!important;outline-offset:-3px!important}
body.page-id-1197 .wm-fit-app.weles-ui #wmProfileScreen .wm-menu-options-arrow{box-sizing:border-box;width:8px;height:8px;flex:0 0 8px;margin:0 3px 4px 12px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;color:var(--wf-text-secondary);transform:rotate(45deg)}
body.page-id-1197 .wm-fit-app.weles-ui #wmProfileScreen .is-open>.wm-menu-options-trigger .wm-menu-options-arrow{transform:rotate(225deg);margin-bottom:0}
body.page-id-1197 .wm-fit-app.weles-ui #wmProfileScreen .wm-menu-options-popover{border:1px solid var(--wf-control-border)!important;border-radius:12px!important;background:var(--wf-raised)!important;scrollbar-color:var(--wf-control-border) var(--wf-raised)!important}
body.page-id-1197 .wm-fit-app.weles-ui #wmProfileScreen .wm-menu-options-label{color:var(--wf-text-secondary)!important;font-size:14px!important;font-weight:400!important;letter-spacing:normal!important;text-transform:none!important}

/* OWNER weight journey: historical red, current gold, goal green. Percent basis is initial weight. */
body.page-id-1197 .wm-fit-app.weles-ui [data-fit-weight-journey]{min-width:0}
body.page-id-1197 .wm-fit-app.weles-ui #wmProfileScreen .wm-profile-panel-right:has([data-fit-weight-journey]){display:flex}
body.page-id-1197 .wm-fit-app.weles-ui .wf-journey-rings{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;align-items:start}
body.page-id-1197 .wm-fit-app.weles-ui .wf-journey-card{min-width:0;text-align:center;--journey-color:var(--wf-gold,#d9ba83)}
body.page-id-1197 .wm-fit-app.weles-ui .wf-journey-card[data-journey-stage=start]{--journey-color:var(--wf-danger,#e69b9b)}
body.page-id-1197 .wm-fit-app.weles-ui .wf-journey-card[data-journey-stage=goal]{--journey-color:var(--wf-success,#90c9ad)}
body.page-id-1197 .wm-fit-app.weles-ui .wf-journey-card h5{margin:0 0 8px;font-size:14px;line-height:20px;font-weight:600;min-height:40px}
body.page-id-1197 .wm-fit-app.weles-ui .wf-journey-dial{position:relative;width:100%;max-width:180px;aspect-ratio:1;margin:0 auto}
body.page-id-1197 .wm-fit-app.weles-ui .wf-journey-dial svg{width:100%;height:100%;overflow:visible}
body.page-id-1197 .wm-fit-app.weles-ui .wf-journey-track{stroke:var(--wf-line,#3a4046);fill:none;stroke-width:9}
body.page-id-1197 .wm-fit-app.weles-ui [data-weight-arc]{fill:none;stroke:var(--journey-color);stroke-width:9;stroke-linecap:round;stroke-dasharray:100;stroke-dashoffset:100;transition:stroke-dashoffset .25s ease}
body.page-id-1197 .wm-fit-app.weles-ui [data-reference-marker]{stroke:var(--wf-text,#f5f3ef);stroke-width:2;stroke-linecap:round}
body.page-id-1197 .wm-fit-app.weles-ui .wf-journey-value{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:3px}
body.page-id-1197 .wm-fit-app.weles-ui .wf-journey-value b,body.page-id-1197 .wm-fit-app.weles-ui .wf-journey-value #caloriesValue{font-size:clamp(18px,1.6vw,24px)!important;line-height:1.15;font-weight:700;color:var(--wf-text,#f5f3ef)!important;font-variant-numeric:tabular-nums}
body.page-id-1197 .wm-fit-app.weles-ui .wf-journey-value span{font-size:12px;color:var(--wf-text-secondary,#b9bdc3)}
body.page-id-1197 .wm-fit-app.weles-ui .wf-journey-card p{margin:8px 0 0;font-size:13px;line-height:1.5;color:var(--wf-text-secondary,#b9bdc3);overflow-wrap:anywhere}
body.page-id-1197 .wm-fit-app.weles-ui .wf-journey-measure strong{color:var(--wf-text,#f5f3ef)}
body.page-id-1197 .wm-fit-app.weles-ui [data-journey-status],body.page-id-1197 .wm-fit-app.weles-ui [data-journey-menu]{font-size:14px;line-height:1.5;margin:12px 0 0;color:var(--wf-text-secondary,#b9bdc3)}
/* Match shopping list / home stock / saved weeks: native filled disclosure triangle, raised summary. */
body.page-id-1197 .wm-fit-app.weles-ui .wf-journey-reference{margin:12px 0 0;color:var(--wf-text-secondary,#b9bdc3);font-size:14px;line-height:1.5}
body.page-id-1197 .wm-fit-app.weles-ui .wf-journey-reference>summary{box-sizing:border-box;display:list-item;min-height:48px;padding:14px 18px;border:1px solid var(--wf-control-border,#66707a);border-radius:12px;background:var(--wf-raised,#1c2024)!important;color:var(--wf-text,#f5f3ef)!important;font:600 14px/1.5 Inter,Arial,sans-serif;cursor:pointer;list-style-position:inside;box-shadow:none}
body.page-id-1197 .wm-fit-app.weles-ui .wf-journey-reference[open]>summary{color:var(--wf-text,#f5f3ef)!important}
body.page-id-1197 .wm-fit-app.weles-ui .wf-journey-reference>summary:hover{background:var(--wf-hover,#262c31)!important}
body.page-id-1197 .wm-fit-app.weles-ui .wf-journey-reference>summary:active{background:var(--wf-surface,#141619)!important}
body.page-id-1197 .wm-fit-app.weles-ui .wf-journey-reference>summary::marker,body.page-id-1197 .wm-fit-app.weles-ui .wf-journey-reference>summary::-webkit-details-marker{color:var(--wf-text,#f5f3ef)}
body.page-id-1197 .wm-fit-app.weles-ui .wf-journey-reference>p{margin:12px 0 0;color:var(--wf-text-secondary,#b9bdc3);font:400 14px/1.5 Inter,Arial,sans-serif}
@media(max-width:600px){body.page-id-1197 .wm-fit-app.weles-ui .wf-journey-rings{grid-template-columns:1fr;gap:18px}body.page-id-1197 .wm-fit-app.weles-ui .wf-journey-card{display:grid;grid-template-columns:100px minmax(0,1fr);gap:0 12px;text-align:left;align-items:start}body.page-id-1197 .wm-fit-app.weles-ui .wf-journey-card h5{grid-column:2;grid-row:1;min-height:0;margin:0}body.page-id-1197 .wm-fit-app.weles-ui .wf-journey-dial{grid-column:1;grid-row:1/5}body.page-id-1197 .wm-fit-app.weles-ui .wf-journey-card p{grid-column:2;margin-top:4px}body.page-id-1197 .wm-fit-app.weles-ui .wf-journey-value b{font-size:20px!important}}
@media(prefers-reduced-motion:reduce){body.page-id-1197 .wm-fit-app.weles-ui [data-weight-arc]{transition:none}}

@media(max-width:1050px){body.page-id-1197 .wm-fit-app.weles-ui #wmProfileScreen .wm-profile-dashboard:has([data-fit-weight-journey]){grid-template-columns:1fr}body.page-id-1197 .wm-fit-app.weles-ui #wmProfileScreen .wm-profile-panel-left:has(~.wm-profile-panel-right [data-fit-weight-journey]){border-right:0;border-bottom:1px solid var(--wf-line,#3a4046)}}

/* OWNER R6: semantic plan cells; neutral brand contours, unchanged ring data. */
body.page-id-1197 .wm-fit-app.weles-ui .wf-journey-rings{gap:12px;align-items:stretch;grid-template-rows:auto auto auto 1fr auto}
body.page-id-1197 .wm-fit-app.weles-ui .wf-journey-card{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:subgrid;grid-row:span 5;gap:0;border:2px solid var(--wf-control-border);border-radius:var(--wf-radius-control);overflow:hidden;background:var(--wf-surface);text-align:center;align-items:stretch}
body.page-id-1197 .wm-fit-app.weles-ui .wf-journey-card>h5{grid-column:1;grid-row:auto;display:flex;align-items:center;justify-content:center;min-height:44px;margin:0;padding:10px 8px;border-bottom:1px solid var(--wf-line);background:var(--wf-raised);font-size:14px;line-height:20px}
body.page-id-1197 .wm-fit-app.weles-ui .wf-journey-card>.wf-journey-dial{grid-column:1;grid-row:auto;display:grid;place-items:center;width:100%;max-width:180px;aspect-ratio:auto;margin:auto;min-height:0;padding:12px}
body.page-id-1197 .wm-fit-app.weles-ui .wf-journey-dial>svg{display:block;width:100%;height:auto;aspect-ratio:1}
body.page-id-1197 .wm-fit-app.weles-ui .wf-journey-value{inset:12px}
body.page-id-1197 .wm-fit-app.weles-ui .wf-journey-card>p{grid-column:1;grid-row:auto;margin:0;padding:10px 8px;border-top:1px solid var(--wf-line);font-size:13px;line-height:1.5}
body.page-id-1197 .wm-fit-app.weles-ui .wf-journey-card>.wf-journey-measure{padding-bottom:0}
body.page-id-1197 .wm-fit-app.weles-ui .wf-journey-measure>br{display:none}
body.page-id-1197 .wm-fit-app.weles-ui .wf-journey-measure>[data-stage-bmi]{display:block;margin:10px -8px 0;padding:8px;border-top:1px solid var(--wf-line)}
body.page-id-1197 .wm-fit-app.weles-ui .wf-journey-card>.wf-journey-ref{display:grid;gap:4px;justify-items:center;padding:8px;background:var(--wf-raised);text-align:center}
body.page-id-1197 .wm-fit-app.weles-ui .wf-journey-card .wf-journey-ref-head{margin:0!important;font-size:11px!important;line-height:1.3!important;font-weight:500;letter-spacing:normal;text-transform:none;color:var(--wf-text-secondary,#b9bdc3)!important}
body.page-id-1197 .wm-fit-app.weles-ui .wf-journey-card .wf-journey-ref-line{display:grid;grid-template-columns:auto auto;justify-content:center;column-gap:8px;align-items:baseline;margin:0!important;font-size:12px!important;line-height:1.35!important;color:var(--wf-text-secondary,#b9bdc3)!important}
body.page-id-1197 .wm-fit-app.weles-ui .wf-journey-meta-label{white-space:nowrap}
body.page-id-1197 .wm-fit-app.weles-ui .wf-journey-card .wf-journey-ref-line strong{justify-self:start;text-align:left;color:var(--wf-text,#f5f3ef)!important;font-weight:600;font-variant-numeric:tabular-nums;font-size:12px!important;overflow-wrap:anywhere}
body.page-id-1197 .wm-fit-app.weles-ui [data-journey-status]{margin:16px 0 0;padding:12px;border:1px solid var(--wf-line);border-bottom:0;border-radius:var(--wf-radius-control) var(--wf-radius-control) 0 0;background:var(--wf-raised)}
body.page-id-1197 .wm-fit-app.weles-ui [data-journey-menu]{margin:0;padding:12px;border:1px solid var(--wf-line);border-radius:0 0 var(--wf-radius-control) var(--wf-radius-control);background:var(--wf-raised)}
body.page-id-1197 .wm-fit-app.weles-ui [data-journey-menu]:empty{display:none}
body.page-id-1197 .wm-fit-app.weles-ui [data-journey-status]:has(+[data-journey-menu]:empty){border-bottom:1px solid var(--wf-line);border-radius:var(--wf-radius-control)}
body.page-id-1197 .wm-fit-app.weles-ui #wmProfileScreen .wm-plan-explanation{padding:0;overflow:hidden}
body.page-id-1197 .wm-fit-app.weles-ui #wmProfileScreen .wm-plan-explanation>h5{margin:0;padding:12px 16px;background:var(--wf-raised);border-bottom:1px solid var(--wf-line)}
body.page-id-1197 .wm-fit-app.weles-ui #wmProfileScreen .wm-plan-explanation #calorieExplain{margin:0;padding:12px 16px}
body.page-id-1197 .wm-fit-app.weles-ui #wmProfileScreen .wm-plan-explanation .wm-plan-lines{display:block;margin:0;padding:0}
body.page-id-1197 .wm-fit-app.weles-ui #wmProfileScreen .wm-plan-explanation .wm-plan-line{margin:0;padding:12px 16px;border-top:1px solid var(--wf-line);border-bottom:0;line-height:1.5}
@media(max-width:600px){
 body.page-id-1197 .wm-fit-app.weles-ui .wf-journey-rings{grid-template-columns:minmax(0,1fr);grid-template-rows:none;gap:12px}
 body.page-id-1197 .wm-fit-app.weles-ui .wf-journey-card{grid-template-columns:112px minmax(0,1fr);grid-template-rows:auto auto auto auto;grid-row:auto;gap:0;text-align:center}
 body.page-id-1197 .wm-fit-app.weles-ui .wf-journey-card>h5{grid-column:1/-1;grid-row:1}
 body.page-id-1197 .wm-fit-app.weles-ui .wf-journey-card>.wf-journey-dial{grid-column:1;grid-row:2;max-width:none;padding:8px}
 body.page-id-1197 .wm-fit-app.weles-ui .wf-journey-value{inset:8px}
 body.page-id-1197 .wm-fit-app.weles-ui .wf-journey-card>.wf-journey-measure{grid-column:2;grid-row:2;align-content:center;border-top:0;border-left:1px solid var(--wf-line)}
 body.page-id-1197 .wm-fit-app.weles-ui .wf-journey-card>.wf-journey-caption{grid-column:1/-1;grid-row:3}
 body.page-id-1197 .wm-fit-app.weles-ui .wf-journey-card>.wf-journey-ref{grid-column:1/-1;grid-row:4;padding:10px 12px}
}


/* WELES fit-bridge alignment overrides */
body.page-id-1197 .wm-fit-app.weles-ui .wm-fit-app-screen :is(.wm-custom-select-trigger,.wf-select-trigger,.wm-profile-field input,.wm-profile-field textarea){
  border-radius:12px!important;
  min-height:48px;
}
body.page-id-1197 .wm-fit-app.weles-ui .wm-fit-app-screen :is(.wm-custom-select-trigger,.wf-select-trigger,.wm-profile-field input,.wm-profile-field textarea,.wm-profile-field select):focus-visible{
  outline:2px solid var(--wf-gold,#d9ba83)!important;
  outline-offset:-2px!important;
  box-shadow:none!important;
  border-color:var(--wf-gold,#d9ba83)!important;
}
body.page-id-1197 .wm-fit-app.weles-ui .wm-app-tabbar-window,
body.page-id-1197 .wm-fit-app.weles-ui .wm-app-tabbar-lens{
  border-radius:0!important;
}
