/* =====================================================================
   custom_headliner.css — кастомные стили Headliner
   (контент ниже полностью соответствует исходному, без выкидышей)
   ===================================================================== */

/* =====================================================================
   Color System v1 (design tokens)
   ---------------------------------------------------------------------
   Базовые токены, на которые поэтапно переводим все стили.
   Это безопасный первый шаг перед отказом от bundle-стилей.
   ===================================================================== */
:root {
    /* Neutral */
    --hl-color-black: #000000;
    --hl-color-ink-900: #141313;
    --hl-color-ink-800: #1e212c;
    --hl-color-ink-700: #212121;
    --hl-color-gray-700: #727171;
    --hl-color-gray-600: #666666;
    --hl-color-gray-500: #6c757d;
    --hl-color-gray-400: #B5B5C3;
    --hl-color-gray-300: #D6D8DB;
    --hl-color-gray-250: #DEE3E5;
    --hl-color-gray-200: #E6EAE9;
    --hl-color-gray-100: #F3F3F3;
    --hl-color-white: #FFFFFF;

    /* Brand */
    --hl-color-brand-900: #233C36;
    --hl-color-brand-800: #2F554A;
    --hl-color-brand-700: #59776E;
    --hl-color-brand-500: #6FC193;
    --hl-color-brand-300: #7F9DC7;
    --hl-color-brand-200: #67AEF3;
    --hl-color-brand-accent: #1998D6;

    /* Status / semantic */
    --hl-color-success: #28a745;
    --hl-color-success-strong: #50C878;
    --hl-color-danger: #dc3545;
    --hl-color-danger-alt: #f44336;
    --hl-color-warning: #F9DE56;
    --hl-color-warning-strong: #FADD73;
    --hl-color-warning-alt: #FFC857;
    --hl-color-warning-alt-2: #FFDB58;
    --hl-color-warning-text: var(--hl-color-black);
    --hl-color-attention: #ED764D;
    --hl-color-hot: #ff5722;
    --hl-color-alert: #ff3f3a;
    --hl-color-whatsapp: #25D366;

    /* Surface aliases */
    --hl-bg-page: var(--hl-color-gray-100);
    --hl-bg-card: var(--hl-color-white);
    --hl-text-primary: var(--hl-color-ink-900);
    --hl-text-secondary: var(--hl-color-gray-600);
    --hl-border-default: var(--hl-color-gray-300);

    /* Buttons */
    --hl-btn-radius: 6px;
    --hl-btn-radius-s: 6px;
    --hl-btn-radius-l: 8px;
    --hl-btn-font-size: 16px;
    --hl-btn-font-size-s: 12px;
    --hl-btn-font-size-l: 16px;
    --hl-btn-font-weight: 500;
    --hl-btn-line-height: 1.2;
    --hl-btn-px: 16px;
    --hl-btn-py: 10px;
    --hl-btn-px-s: 12px;
    --hl-btn-px-l: 20px;
    --hl-btn-height-sm: 36px; /* Button S */
    --hl-btn-height-md: 44px;
    --hl-btn-height-lg: 50px; /* Button L */
    --hl-btn-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
    --hl-btn-shadow-hover: 0 2px 8px rgba(0, 0, 0, 0.12);

    --hl-btn-primary-bg: var(--hl-color-ink-900);
    --hl-btn-primary-color: var(--hl-color-white);
    --hl-btn-primary-border: var(--hl-color-ink-900);
    --hl-btn-primary-hover-bg: #0f0f0f;

    --hl-btn-accent-bg: var(--hl-color-warning-strong);
    --hl-btn-accent-color: var(--hl-color-ink-900);
    --hl-btn-accent-border: var(--hl-color-warning-strong);
    --hl-btn-accent-hover-bg: #f3cd5f;

    --hl-btn-ghost-bg: var(--hl-color-white);
    --hl-btn-ghost-color: var(--hl-color-ink-900);
    --hl-btn-ghost-border: var(--hl-border-default);
    --hl-btn-ghost-hover-bg: #f8f9fa;
}

/* Company risk profile */
.risk-profile-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 20px 24px;
    border: 1px solid #e5eae9;
    border-radius: 8px;
    background: #fff;
}

.risk-profile-summary--high {
    border-color: #f1b6c0;
    background: #fff7f8;
}

.risk-profile-summary--warning {
    border-color: #ead99a;
    background: #fffaf0;
}

.risk-profile-summary--low {
    border-color: #b8dfcc;
    background: #f7fcfa;
}

.risk-profile-summary--neutral {
    background: #fafafa;
}

.risk-profile-summary__metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(86px, 1fr));
    gap: 12px;
}

.risk-profile-metric {
    min-width: 86px;
    padding: 12px 14px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(229, 234, 233, 0.82);
    text-align: center;
}

.risk-profile-metric span {
    display: block;
    color: #1f2433;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.1;
}

.risk-profile-metric small {
    display: block;
    margin-top: 4px;
    color: #7e8699;
    font-size: 12px;
    line-height: 1.2;
}

.risk-profile-card {
    border-color: #e5eae9 !important;
    border-radius: 8px;
}

.risk-profile-summary .badge,
.risk-profile-card .badge {
    border-radius: 6px;
    padding: 6px 10px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.1;
}

.risk-profile-summary .badge-light-danger,
.risk-profile-card .badge-light-danger {
    background: #ffedf0;
    color: #e44f69;
}

.risk-profile-summary .badge-light-warning,
.risk-profile-card .badge-light-warning {
    background: #fff5d8;
    color: #e6bd2e;
}

.risk-profile-summary .badge-light-success,
.risk-profile-card .badge-light-success {
    background: #eefaf3;
    color: #42a66f;
}

.risk-profile-summary .badge-light-secondary,
.risk-profile-card .badge-light-secondary {
    background: #f4f6f8;
    color: #7e8699;
}

.risk-profile-empty {
    padding: 14px 16px;
    border-radius: 8px;
    background: #f8f9fb;
    color: #7e8699;
    font-size: 14px;
    line-height: 1.45;
}

.risk-profile-person,
.risk-profile-factor,
.risk-profile-positive {
    padding: 14px 16px;
    border: 1px solid #edf0f2;
    border-radius: 8px;
    background: #fff;
}

.risk-profile-facts {
    display: grid;
    gap: 12px;
}

.risk-profile-facts > div,
.risk-profile-tax-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    padding: 12px 0;
    border-bottom: 1px solid #edf0f2;
}

.risk-profile-facts > div:first-child {
    padding-top: 0;
}

.risk-profile-facts > div:last-child,
.risk-profile-tax-row:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.risk-profile-facts span,
.risk-profile-tax-row span,
.risk-profile-positive span {
    color: #7e8699;
    font-size: 13px;
    line-height: 1.35;
}

.risk-profile-facts strong,
.risk-profile-tax-row strong,
.risk-profile-positive strong {
    color: #1f2433;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
    text-align: right;
    overflow-wrap: anywhere;
}

.risk-profile-positive-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.risk-profile-positive {
    display: grid;
    gap: 6px;
}

.risk-profile-positive strong {
    text-align: left;
}

.accounting-summary__metrics {
    grid-template-columns: repeat(4, minmax(112px, 1fr));
}

.accounting-summary__metrics .risk-profile-metric {
    min-width: 112px;
}

.accounting-summary__metrics .risk-profile-metric span {
    font-size: 16px;
    overflow-wrap: anywhere;
}

.hl-document-folder-tree {
    max-height: 65vh;
    overflow: auto;
}
.hl-document-folder-node {
    padding-inline-start: calc(var(--folder-depth, 0) * .8rem);
}
.hl-document-folder-link {
    overflow-wrap: anywhere;
}

.accounting-report-table th,
.accounting-report-table td {
    white-space: nowrap;
}

.accounting-report-table td {
    color: #1f2433;
    font-size: 14px;
}

@media (max-width: 991.98px) {
    .risk-profile-summary {
        align-items: stretch;
        flex-direction: column;
    }

    .risk-profile-summary__metrics,
    .accounting-summary__metrics,
    .risk-profile-positive-grid {
        grid-template-columns: 1fr;
    }
}

/* =====================================================================
   Corporate status badges and banners
   ---------------------------------------------------------------------
   Единый стиль статусов по компоненту Banner из HL Личный кабинет.
   ===================================================================== */
.hl-corporate-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 24px;
    padding: 4px 10px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0;
    border: 1px solid transparent;
    white-space: nowrap;
}

.hl-corporate-badge--success {
    color: #5FA97A;
    background-color: #ECF9D8;
}

.hl-corporate-badge--warning {
    color: #D9B949;
    background-color: #FFF4C4;
}

.hl-corporate-badge--danger {
    color: #B85B5B;
    background-color: #FBE7E5;
}

.hl-corporate-badge--info {
    color: #5C6A72;
    background-color: #EAF5FA;
}

.hl-corporate-badge--neutral {
    color: var(--hl-color-gray-600);
    background-color: var(--hl-color-gray-100);
}

.hl-status-banner {
    border: 1px solid transparent;
    border-radius: 5px;
    padding: 16px;
    color: var(--hl-text-primary);
}

.hl-status-banner__title {
    font-weight: 600;
    line-height: 1.25;
}

.hl-status-banner__body {
    margin-top: 6px;
    font-size: 14px;
    line-height: 1.35;
}

.hl-status-banner--success {
    color: #5FA97A;
    background-color: #E8F6D4;
    border-color: #7BCC91;
}

.hl-status-banner--warning {
    color: #7D651D;
    background-color: #FFF8DE;
    border-color: #F2C94C;
}

.hl-status-banner--danger {
    color: #8E3F3F;
    background-color: #FFF0EE;
    border-color: #E58A84;
}

.hl-status-banner--info {
    color: #53646D;
    background-color: #EAF5FA;
    border-color: #A8C6D8;
}

.hl-status-banner--neutral {
    color: var(--hl-text-secondary);
    background-color: var(--hl-color-gray-100);
    border-color: var(--hl-border-default);
}

.hl-status-values {
    display: flex;
    flex-direction: column;
}

.hl-status-value-row {
    padding: 12px 0;
}

.hl-status-value-row:first-child {
    padding-top: 0;
}

.hl-status-value-row:last-child {
    padding-bottom: 0;
}

.hl-status-value-row + .hl-status-value-row {
    border-top: 1px solid #EEF1F5;
}

.hl-pvk-document-text {
    max-height: 520px;
    overflow: auto;
    padding: 16px;
    border: 1px solid #EEF1F5;
    border-radius: 5px;
    background: var(--hl-color-gray-100);
    color: var(--hl-text-primary);
    font-size: 14px;
    line-height: 1.55;
}

.hl-pvk-document-frame {
    display: block;
    width: 100%;
    height: 80vh;
    min-height: 480px;
    border: 1px solid #EEF1F5;
    border-radius: 5px;
    background: #fff;
}

/* Investor cabinet: unify card corners */
.hl-investor-cabinet .card {
    border-radius: 8px !important;
}

/* === Шрифт === */
body {
    font-family: 'Neue_2', sans-serif;
}

/* === Верхнее меню === */
.menu-link.custom-nav {
    position: relative;
    display: inline-block;
    padding: 24px 12px !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    color: inherit !important;
    border: none !important;
    border-radius: 0 !important;
    background: none !important;
    transition: all 0.2s ease-in-out;
    margin-right: 16px;
}

/* === Onboarding index (moved from onboarding/templates/index.html) === */
.role-tab {
    position: relative;
    border: none;
    background-color: transparent;
    font-family: "TT Firs Neue", sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: 16px;
    line-height: 140%;
    letter-spacing: 0;
    text-align: center;
    text-decoration: none !important;
    color: #6c757d;
    transition: color 0.3s ease;
}

.role-tab .role-tab-text {
    position: relative;
    display: inline-block;
    line-height: 140%;
    border-bottom: 1px solid transparent;
}

.btn-check:checked + .role-tab {
    color: #000;
}

.btn-check:checked + .role-tab .role-tab-text {
    border-bottom-color: #000;
}

.role-tab:hover {
    color: #000;
}

#social-login-block {
    transition: opacity 0.5s ease;
    opacity: 1;
    visibility: visible;
    height: auto;
}

#social-login-block.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.onboarding-role-switch-wrap {
    width: 100%;
    margin: 40px 0;
    text-align: center;
}

.onboarding-role-switch-wrap .btn-group {
    width: 100%;
    justify-content: center;
    gap: 0;
}

.onboarding-role-switch-wrap .btn-group > .btn-check + .role-tab {
    margin-left: 24px !important;
}

.onboarding-role-switch-wrap .btn-group > .btn-check:first-of-type + .role-tab {
    margin-left: 0 !important;
}

.onboarding-role-switch-wrap .btn-group > .role-tab {
    flex: 0 0 auto;
}

.hl-onboarding-consent {
    margin-top: 20px;
    color: var(--text-secondary, #5A6E75);
    font-family: "TT Firs Neue", sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 450;
    line-height: 130%;
    letter-spacing: 0;
    text-align: left;
}

.hl-onboarding-consent-link {
    color: var(--text-secondary, #5A6E75);
    text-decoration: underline;
}

.hl-onboarding-consent-link:hover {
    color: var(--text-primary, #141313);
}

.hl-onboarding-support-block {
    margin-top: 40px;
}

.hl-onboarding-support-divider {
    margin: 0;
}

.hl-onboarding-support-title {
    margin: 40px 0 0;
    color: var(--text-secondary, #5A6E75);
    text-align: center;
    font-family: "TT Firs Neue", sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 450;
    line-height: 130%;
    letter-spacing: 0;
}

.hl-onboarding-support-btn-wrap {
    margin-top: 16px;
    text-align: center;
}

.hl-onboarding-support-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 34px;
    line-height: 1 !important;
    color: var(--text-primary, #141313) !important;
    border-color: var(--text-primary, #141313) !important;
    background-color: transparent !important;
}

.hl-onboarding-support-btn:hover,
.hl-onboarding-support-btn:focus,
.hl-onboarding-support-btn:active {
    color: var(--text-primary, #141313) !important;
    border-color: var(--text-primary, #141313) !important;
    background-color: transparent !important;
    box-shadow: none !important;
}

.onboarding-enter-form {
    margin: 0;
}

.onboarding-login-card-content {
    gap: 0 !important;
}

.onboarding-mobile-top-logo {
    display: none;
}

.onboarding-mobile-form-card {
    background: transparent;
    border-radius: 0;
    margin: 0;
    padding: 0;
}

.onboarding-mobile-cbr-wrap {
    display: none;
}

@media (max-width: 991.98px) {
    .onboarding-role-switch-wrap {
        margin-top: 32px;
        margin-bottom: 0;
    }

    #phone-form1 > .onboarding-shared-controls-container {
        margin-top: 0;
    }

    #phone-form1 .onboarding-shared-controls-inner .onboarding-field-group:first-child {
        margin-top: 6px !important;
    }

    #phone-form1 .onboarding-shared-controls-inner .onboarding-field-group:first-child .hl-input-label {
        margin-bottom: 8px;
    }

    .onboarding-login-panel {
        background: transparent !important;
        min-height: 100vh;
    }

    .onboarding-login-panel-inner {
        max-width: none !important;
        width: 100% !important;
        padding: 0 0 32px !important;
        margin: 0 !important;
        gap: 0 !important;
        align-items: stretch !important;
    }

    .onboarding-mobile-top-logo {
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 32px 8px 0;
    }

    .onboarding-mobile-top-logo img {
        width: 304px;
        max-width: 100%;
        height: auto;
        object-fit: contain;
        object-position: center center;
    }

    .onboarding-mobile-form-card {
        margin: 60px 8px 0;
        background: #ffffff;
        border-radius: 8px;
        padding: 40px 20px 24px;
    }

    .onboarding-login-panel-inner > .text-center:first-child {
        display: none !important;
    }

    .onboarding-mobile-cbr-wrap {
        display: flex;
        justify-content: center;
        margin-bottom: 32px;
    }

    .onboarding-mobile-cbr-wrap .onboarding-trust-badges {
        gap: 12px;
    }

    .onboarding-mobile-cbr-wrap .onboarding-cbr-badge,
    .onboarding-mobile-cbr-wrap .onboarding-skolkovo-badge {
        font-size: 11px;
    }

    .onboarding-mobile-cbr-wrap .onboarding-trust-badges-divider {
        height: 18px;
    }

    .onboarding-visual-mobile {
        border-top: 0;
        margin: 32px 8px 32px;
        padding-top: 0;
        background: transparent !important;
    }

    .onboarding-visual-mobile .carousel,
    .onboarding-visual-mobile .carousel-inner,
    .onboarding-visual-mobile .carousel-item {
        background: transparent !important;
    }

    .onboarding-visual-mobile-title {
        color: #ffffff !important;
    }

    .onboarding-visual-mobile-subtitle {
        color: rgba(255, 255, 255, 0.88) !important;
    }
}
.menu-link.custom-nav:last-child {
    margin-right: 2px;
}
.menu-link.custom-nav.active {
    font-weight: 400 !important;
    color: inherit !important;
}
.menu-link.custom-nav.active::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    height: 2px;
    background-color: var(--hl-color-black);
    min-width: 80%;
    max-width: 100%;
}
@media (max-width: 991.98px) {
    .menu-link.custom-nav {
        padding: 12px 10px !important;
        margin-right: 8px !important;
    }
    .menu-link.custom-nav:last-child {
        margin-right: 0 !important;
    }

    /* Investor header: keep mobile top row in one line */
    #kt_app_header_primary_container {
        flex-wrap: nowrap !important;
        padding-left: 12px !important;
        padding-right: 12px !important;
        min-height: 56px;
    }

    .app-header-left {
        flex-wrap: nowrap !important;
        min-width: 0;
        overflow: hidden;
        margin-right: 6px;
    }

    .logo-and-menu {
        min-width: 0;
    }

    .header-main-logo {
        height: 18px !important;
        max-width: 110px;
        width: auto;
    }

    .app-navbar {
        display: flex;
        align-items: center;
        flex-wrap: nowrap !important;
        gap: 4px;
        min-width: auto;
    }

    .app-navbar .app-navbar-item {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .app-navbar .btn.btn-icon,
    .app-navbar .btn.btn-sm.btn-icon,
    #kt_app_header_secondary_toggle {
        width: 34px !important;
        height: 34px !important;
        min-width: 34px !important;
        padding: 0 !important;
    }

    .app-navbar .svg-icon svg,
    .app-navbar .svg-icon img {
        width: 18px;
        height: 18px;
    }
}

@media (min-width: 1200px) {
    /* Investor desktop: header width follows the same container as page content. */
    .hl-investor-cabinet #kt_app_header_primary_container {
        max-width: 1400px !important;
        padding-left: 44px !important;
        padding-right: 64px !important;
    }

    /* Investor desktop: apply the same horizontal geometry to all content containers. */
    .hl-investor-cabinet .hl-investor-content-root .container.w-responsive {
        max-width: 1400px !important;
        padding-left: 44px !important;
        padding-right: 64px !important;
    }

    /* Investor desktop: footer uses the same container geometry as header/content. */
    .hl-investor-footer .container.w-responsive {
        max-width: 1400px !important;
    }

    /* Remove extra offset so logo starts on the same vertical line as dashboard content. */
    .hl-investor-cabinet #kt_app_header_primary_container .app-header-left {
        margin-left: 0 !important;
    }
}

.hl-investor-footer {
    border-top: 1px solid #c5d0d4;
}

.hl-investor-footer-container {
    padding-top: 40px !important;
    padding-bottom: 40px !important;
}

.hl-investor-footer-grid {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 40px;
    width: 100%;
}

.hl-investor-footer-brand {
    display: flex;
    flex: 0 0 420px;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
}

.hl-investor-footer-logo img {
    display: block;
    width: 125px;
    height: 20px;
}

.hl-investor-footer-address,
.hl-investor-footer-copyright,
.hl-investor-footer-column a {
    color: #7a9098;
    font-size: 14px;
    font-weight: 450;
    line-height: 1.3;
    letter-spacing: 0;
}

.hl-investor-footer-address {
    max-width: 420px;
}

.hl-investor-footer-copyright {
    white-space: nowrap;
}

.hl-investor-footer-links {
    display: flex;
    flex: 1 1 auto;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 40px;
    min-width: 0;
}

.hl-investor-footer-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.hl-investor-footer-docs {
    flex: 0 0 189px;
    width: 189px;
}

.hl-investor-footer-column h6,
.hl-investor-footer-manager h6 {
    margin: 0;
    color: #141313;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: 0;
}

.hl-investor-footer-doc-list {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.hl-investor-footer-social-list {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    white-space: nowrap;
}

.hl-investor-footer-column a {
    text-decoration: none;
}

.hl-investor-footer-column a:hover {
    color: #141313;
}

.hl-investor-footer-manager {
    display: flex;
    flex: 0 0 auto;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
}

#footer-managers {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hl-investor-footer-manager-card {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.hl-investor-footer-manager-photo {
    flex: 0 0 56px;
    width: 56px;
    height: 56px;
    border-radius: 4px;
    object-fit: cover;
}

.hl-investor-footer-manager-info {
    display: flex;
    min-height: 56px;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
}

.hl-investor-footer-manager-head {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hl-investor-footer-manager-name,
.hl-investor-footer-manager-phone {
    color: #141313;
    font-size: 12px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0;
    white-space: nowrap;
}

.hl-investor-footer-manager-position {
    color: #7a9098;
    font-size: 12px;
    font-weight: 450;
    line-height: 1;
    letter-spacing: 0;
    white-space: nowrap;
}

.hl-investor-footer-manager-contacts {
    display: flex;
    align-items: center;
    gap: 4px;
}

.hl-investor-footer-manager-phone,
.hl-investor-footer-manager-contact-link {
    text-decoration: none;
}

.hl-investor-footer-manager-contact-link {
    display: inline-flex;
    width: 12px;
    height: 12px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: #c5d0d4;
}

.hl-investor-footer-manager-contact-link i {
    font-size: 12px !important;
    line-height: 1;
}

.hl-investor-footer-manager-contact-link-max {
    width: 24px;
}

.hl-investor-footer-manager-max-icon {
    font-size: 7px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0;
}

#dashboard-personal-manager-card {
    width: 100%;
    max-width: 365px;
    min-width: 0;
    margin-top: 24px;
}

.hl-investor-manager-card {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
    border-radius: 8px;
    background: #fff;
    color: #141313;
    font-family: "TT Firs Neue", "Neue_2", sans-serif;
}

.hl-investor-manager-card-header {
    display: flex;
    min-height: 96px;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 24px;
    cursor: pointer;
    list-style: none;
}

.hl-investor-manager-card:not([open]) .hl-investor-manager-card-header {
    min-height: 104px;
}

.hl-investor-manager-card-header::-webkit-details-marker {
    display: none;
}

.hl-investor-manager-card-identity {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 12px;
}

.hl-investor-manager-card-photo {
    display: inline-flex;
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    object-fit: cover;
}

.hl-investor-manager-card-photo-fallback {
    background: #e2eaec;
    color: #526870;
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
}

.hl-investor-manager-card:not([open]) .hl-investor-manager-card-photo {
    flex-basis: 56px;
    width: 56px;
    height: 56px;
}

.hl-investor-manager-card-title {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: flex-start;
}

.hl-investor-manager-card-eyebrow {
    color: #7a9098;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.3;
}

.hl-investor-manager-card-name {
    overflow: hidden;
    max-width: 220px;
    color: #141313;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -0.32px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hl-investor-manager-card-chevron {
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    transition: transform 160ms ease;
}

.hl-investor-manager-card[open] .hl-investor-manager-card-chevron {
    transform: rotate(180deg);
}

.hl-investor-manager-card-body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    padding: 24px;
    border-top: 1px solid #e2eaec;
}

.hl-investor-manager-card-description {
    width: 100%;
    margin: 0;
    color: #141313;
    font-size: 16px;
    font-weight: 450;
    line-height: 1.3;
    letter-spacing: -0.48px;
    overflow-wrap: anywhere;
}

.hl-investor-manager-card-section {
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.hl-investor-manager-card .hl-investor-manager-card-section-title {
    margin: 0;
    color: #7a9098;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.3;
}

.hl-investor-manager-card-help-list {
    display: flex;
    width: 100%;
    flex-direction: column;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.hl-investor-manager-card-help-list li {
    position: relative;
    margin: 0;
    padding-left: 11px;
    color: #141313;
    font-size: 14px;
    font-weight: 450;
    line-height: 1.2;
    letter-spacing: -0.28px;
    overflow-wrap: anywhere;
}

.hl-investor-manager-card-help-list li::before {
    position: absolute;
    top: 0.52em;
    left: 0;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: #151515;
    content: "";
}

.hl-investor-manager-card-contacts {
    display: flex;
    width: 100%;
    align-items: flex-start;
    gap: 12px;
}

.hl-investor-manager-card-contact {
    display: inline-flex;
    min-width: 0;
    height: 36px;
    flex: 1 1 0;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 0 16px;
    border: 1px solid #c5d0d4;
    border-radius: 4px;
    color: #141313;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.3;
    text-decoration: none;
    white-space: nowrap;
}

.hl-investor-manager-card-contact:hover {
    border-color: #141313;
    color: #141313;
}

.hl-investor-manager-card-contact-primary,
.hl-investor-manager-card-contact-primary:hover {
    border-color: #141313;
    background: #141313;
    color: #fff;
}

.manager-investor-card-settings textarea {
    resize: vertical;
}

@media (max-width: 1199.98px) {
    .hl-investor-footer-grid {
        flex-wrap: wrap;
    }

    .hl-investor-footer-brand {
        flex-basis: 100%;
    }

    .hl-investor-footer-links {
        flex-wrap: wrap;
    }
}

@media (max-width: 767.98px) {
    .hl-investor-footer-container {
        padding-top: 32px !important;
        padding-bottom: 32px !important;
    }

    .hl-investor-footer-grid,
    .hl-investor-footer-links {
        flex-direction: column;
        gap: 24px;
    }

    .hl-investor-footer-brand,
    .hl-investor-footer-docs {
        width: 100%;
        flex-basis: auto;
    }

    .hl-investor-footer-manager {
        width: 100%;
    }

    #dashboard-personal-manager-card {
        width: 100%;
    }
}

.executive-regulatory-sidebar-content {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    min-height: 0;
}

#executive-loan-interest-plan,
#executive-regulatory-changes {
    min-height: 0;
}

#executive-loan-interest-plan .card-body,
#executive-loan-interest-table_wrapper {
    min-height: 0;
    min-width: 0;
}

#executive-loan-interest-table_wrapper {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
}

.executive-loan-interest-rows {
    flex: 1 1 auto;
    min-height: 0;
    overflow: auto;
}

.executive-loan-interest-pagination {
    flex-shrink: 0;
    max-width: 100%;
}

.executive-loan-interest-pagination .pagination {
    flex-wrap: wrap;
    justify-content: flex-end;
    margin-bottom: 0;
}

@media screen and (min-width: 1200px) {
    .executive-regulatory-sidebar {
        position: relative;
    }

    .executive-regulatory-sidebar-content {
        position: absolute;
        inset: 0 calc(var(--bs-gutter-x) * .5);
        overflow: hidden;
    }

    #executive-regulatory-changes {
        flex-shrink: 0;
        max-height: 42%;
    }
}

.regulatory-calendar__weekdays,
.regulatory-calendar__grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 6px;
}

.regulatory-calendar__weekdays {
    margin-bottom: 8px;
    text-align: center;
}

.regulatory-calendar__day {
    position: relative;
    display: flex;
    min-width: 0;
    min-height: 54px;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 8px;
    border: 1px solid #eef0f2;
    border-radius: 10px;
    background: #fff;
    color: #364152;
    font: inherit;
    text-align: left;
}

button.regulatory-calendar__day {
    cursor: pointer;
}

button.regulatory-calendar__day:hover,
button.regulatory-calendar__day:focus-visible {
    border-color: #80958f;
    box-shadow: 0 0 0 3px rgba(46, 80, 71, 0.1);
    outline: 0;
}

.regulatory-calendar__day--empty {
    border-color: transparent;
    background: transparent;
}

.regulatory-calendar__day--accepted {
    background: #eef8f3;
    border-color: #badfcd;
}

.regulatory-calendar__day--upcoming {
    background: #fff6cf;
    border-color: #ead574;
}

.regulatory-calendar__day--overdue {
    background: #fdebec;
    border-color: #efb5ba;
}

.regulatory-calendar__day--today::after {
    position: absolute;
    right: 6px;
    bottom: 5px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #2e5047;
    content: "";
}

.regulatory-calendar__number {
    font-size: 0.85rem;
    font-weight: 600;
}

.regulatory-calendar__status,
.regulatory-calendar__legend {
    display: inline-flex;
    width: 20px;
    height: 20px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1;
}

.regulatory-calendar__status {
    margin-left: auto;
}

.regulatory-calendar__status--accepted,
.regulatory-calendar__legend--accepted {
    background: #d7f0e3;
    color: #168354;
}

.regulatory-calendar__status--upcoming,
.regulatory-calendar__legend--upcoming {
    background: #fff0a8;
    color: #755f00;
}

.regulatory-calendar__status--overdue,
.regulatory-calendar__legend--overdue {
    background: #f8d2d5;
    color: #a52731;
}

.regulatory-calendar-report {
    padding: 18px 0;
    border-bottom: 1px solid #eef0f2;
}

.regulatory-calendar-report:first-child {
    padding-top: 0;
}

.regulatory-calendar-report:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.regulatory-calendar-report__status {
    flex-shrink: 0;
    white-space: normal;
    text-align: right;
}

.regulatory-calendar-report__status--accepted {
    background: #d7f0e3;
    color: #126b45;
}

.regulatory-calendar-report__status--submitted,
.regulatory-calendar-report__status--pending,
.regulatory-calendar-report__status--upcoming {
    background: #fff0a8;
    color: #755f00;
}

.regulatory-calendar-report__status--overdue,
.regulatory-calendar-report__status--rejected,
.regulatory-calendar-report__status--late {
    background: #f8d2d5;
    color: #a52731;
}

.regulatory-calendar-report__status--unknown {
    background: #e9ecef;
    color: #495057;
}

@media (max-width: 575.98px) {
    .regulatory-calendar__weekdays,
    .regulatory-calendar__grid {
        gap: 3px;
    }

    .regulatory-calendar__day {
        min-height: 44px;
        padding: 6px;
        border-radius: 8px;
    }

}

@media (max-width: 767.98px) {
    #dashboard-personal-manager-card {
        display: none !important;
    }
}

/* === Уведомления === */
.custom-alert-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1050;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* === Dropdown уведомлений в шапке пользователя === */
.hl-notifications-menu {
    border-radius: 12px !important;
    overflow: hidden;
    border: 1px solid var(--hl-color-gray-250);
    box-shadow: 0 10px 24px rgba(20, 19, 19, 0.08);
    padding: 0 !important;
}

.hl-topbar-dropdown {
    width: 300px !important;
}

.hl-notifications-panel {
    background: var(--hl-bg-card);
}

.hl-notifications-head {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 18px;
    border-bottom: 1px solid var(--hl-color-gray-250);
}

.hl-notifications-title {
    margin: 0;
    color: #141313;
    font-family: 'Neue_2', sans-serif;
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    line-height: 120%;
    letter-spacing: -0.02em;
}

.hl-notifications-all {
    color: #2D5BFF;
    cursor: pointer;
    font-family: 'Neue_2', sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 14px;
    text-decoration: none;
}

.hl-notifications-all:hover {
    color: #2D5BFF;
    text-decoration: underline;
}

.hl-notifications-scroll {
    max-height: 500px;
    overflow-y: auto;
}

.hl-notification-item {
    display: block;
    text-decoration: none;
    padding: 16px 20px;
    border-bottom: 1px solid #D8E2E5;
    background: var(--hl-bg-card);
}

.hl-notification-item:hover {
    background: #EDF2F4;
}

.hl-notification-item:focus,
.hl-notification-item:active {
    background: #EDF2F4;
}

.hl-notification-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #94A5AC;
    font-size: 13px;
    line-height: 1.2;
    font-weight: 500;
    margin-bottom: 8px;
}

.hl-notification-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #F04A3A;
    flex: 0 0 auto;
}

.hl-notification-item-title {
    color: var(--hl-text-primary);
    display: block;
    width: 100%;
    text-align: left !important;
    font-family: 'Neue_2', sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 130%;
    letter-spacing: 0;
    margin-bottom: 8px;
}

.hl-notification-item-text {
    color: #5A6E75;
    font-family: 'Neue_2', sans-serif;
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
    line-height: 100%;
    letter-spacing: -0.01em;
}

.hl-notification-item-text a {
    color: #2D5BFF;
    text-decoration: none;
}

.hl-notification-item-text a:hover {
    text-decoration: underline;
}

.hl-notifications-empty {
    min-height: 216px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--hl-text-primary);
    font-size: 16px;
    text-align: center;
}

@media (max-width: 991.98px) {
    .hl-topbar-dropdown {
        width: min(92vw, 300px) !important;
    }

    .hl-notifications-menu {
        width: min(92vw, 300px) !important;
    }

    .hl-notifications-head {
        min-height: 62px;
        padding: 0 14px;
    }

    .hl-notifications-title {
        font-size: 20px;
        line-height: 24px;
        letter-spacing: -0.02em;
    }

    .hl-notifications-all {
        font-size: 14px;
        line-height: 130%;
    }

    .hl-notification-item {
        padding: 12px 14px;
    }

    .hl-notification-item-title {
        font-size: 14px;
        line-height: 130%;
        letter-spacing: 0;
        margin-bottom: 6px;
    }

    .hl-notification-item-text {
        font-size: 12px;
        line-height: 100%;
        letter-spacing: -0.01em;
    }

    .hl-notification-meta {
        font-size: 12px;
    }
}
.custom-alert-box {
    background: var(--hl-bg-card);
    border-radius: 6px;
    padding: 2rem 2.5rem;
    max-width: 500px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    animation: fadeIn 0.3s ease-in-out;
}
.custom-alert-title {
    font-size: 40px;
    font-weight: 450;
    margin-bottom: 2rem;
    color: var(--hl-color-ink-700);
}
.custom-alert-text {
    font-size: 16px;
    font-weight: 350;
    margin-bottom: 2rem;
    color: var(--hl-color-ink-700);
}
@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

/* === Пагинация === */
.page-item .page-link {
    color: var(--hl-color-black) !important;
    background-color: transparent !important;
    border: 1px solid var(--hl-border-default) !important;
}
.page-item.active .page-link {
    color: var(--hl-color-black) !important;
    background-color: #e2e6ea !important;
    border-color: #dee2e6 !important;
}
.page-item.disabled .page-link,
.page-item.disabled i {
    color: #6c757d !important;
    pointer-events: none;
    background-color: transparent !important;
    border-color: transparent !important;
}

/* === Спиннер === */
.cs-page-loading {
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease-in-out, visibility 0.4s ease-in-out;
}

.cs-page-loading.active {
  opacity: 1;
  visibility: visible;
}
.cs-page-loading-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.cs-page-spinner {
    width: 60px;
    height: 60px;
    border: 5px solid transparent;
    border-top: 5px solid var(--hl-color-brand-700);
    border-right: 5px solid var(--hl-color-brand-700);
    border-radius: 50%;
    animation: rotateSpinner 1s linear infinite;
    margin-bottom: 15px;
}
@keyframes rotateSpinner {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
.cs-loading-text {
    font-family: 'Neue_2', sans-serif;
    font-size: 18px;
    color: var(--hl-text-secondary);
    animation: fadeText 1.5s ease-in-out infinite;
}
@keyframes fadeText {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* === WhatsApp Widget === */
.whatsapp-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--hl-color-whatsapp);
    color: var(--hl-color-white);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    cursor: pointer;
}
.whatsapp-button:hover {
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.3);
    transform: scale(1.1);
}
.whatsapp-button img {
    width: 30px;
    height: 30px;
}
@media (max-width: 768px) {
    .whatsapp-button {
        bottom: 15px;
        right: 15px;
        width: 50px;
        height: 50px;
    }
    .whatsapp-button img {
        width: 25px;
        height: 25px;
    }
}

/* === Цвет фона главного блока === */
#kt_app_main {
    background-color: var(--hl-bg-page) !important;
}

/* === Кастомные вкладки === */
.nav-pills-custom .nav-link {
    background-color: var(--hl-bg-card) !important;
    color: var(--hl-color-brand-800);
    border: 1px solid var(--hl-color-brand-800);
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s ease-in-out;
}
.nav-pills-custom .nav-link .nav-text {
    color: #000 !important;
}
.nav.nav-pills.nav-pills-custom .nav-link.active .nav-text {
    color: #fff !important;
}
.nav-pills-custom .nav-link:hover:not(.active) {
    background-color: #f1f1f1;
    color: var(--hl-color-brand-800);
}
.nav-pills-custom .nav-link.active {
    background-color: var(--hl-color-brand-800) !important;
    border-color: var(--hl-color-brand-800) !important;
}
.nav-pills-custom .nav-link.active,
.nav-pills-custom .nav-link.active span,
.nav-pills-custom .nav-link.active svg,
.nav-pills-custom .nav-link.active i {
    color: #fff !important;
    fill: #fff !important;
}
.nav-pills-custom .nav-link:not(.active) .nav-text {
    color: #000 !important;
}

.hl-showcase-page .hl-investor-page-content {
    padding-top: 40px !important;
}

.hl-showcase-page #kt_app_toolbar_container {
    margin-bottom: 40px !important;
}

.hl-showcase-page .display-title {
    font-size: 40px;
    line-height: 1;
    letter-spacing: -0.04em;
}

.hl-showcase-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.hl-showcase-tabs {
    height: 48px;
}

.hl-showcase-tabs .nav-item {
    flex: 0 0 auto;
}

.hl-showcase-tabs .nav-link {
    height: 48px !important;
    min-width: 0;
    padding: 0 16px !important;
    border-radius: 6px !important;
    border: 0 !important;
    background-color: #FFFFFF !important;
}

.hl-showcase-tabs .nav-link.active {
    background-color: #141313 !important;
}

.hl-showcase-tabs .nav-link .nav-text {
    font-size: 16px !important;
    line-height: 1.4 !important;
}

.hl-showcase-card-grid {
    --bs-gutter-x: 12px;
    --bs-gutter-y: 12px;
}

.hl-showcase-card-col {
    padding-bottom: 0 !important;
}

.hl-showcase-project-card {
    overflow: hidden;
    background-color: #FFFFFF !important;
    border-radius: 12px !important;
    box-shadow: none !important;
}

.hl-showcase-project-card:hover {
    box-shadow: none !important;
}

.hl-showcase-page .cs-portfolio-card-img {
    height: 180px;
    overflow: hidden;
    border-radius: 12px 12px 0 0;
}

.hl-showcase-page .cs-portfolio-card-img::after {
    position: absolute;
    inset: 0;
    z-index: 2;
    border-radius: 12px 12px 0 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.5) 100%);
    content: "";
    pointer-events: none;
}

.hl-showcase-page .cs-portfolio-card-img > img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px 12px 0 0;
}

.hl-showcase-card-media-content {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: space-between;
    padding: 20px;
    pointer-events: none;
}

.hl-showcase-card-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    min-height: 28px;
    border-radius: 4px;
    background-color: #FFFFFF;
    color: #141313;
    font-size: 12px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: -0.01em;
}

.hl-showcase-card-rate {
    align-self: flex-end;
    color: #FFFFFF;
    font-size: 32px;
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -0.015em;
}

.hl-showcase-page .cs-portfolio-card-body {
    padding: 20px !important;
}

.hl-showcase-page .cs-portfolio-card-body > .hl-showcase-card-title {
    margin-bottom: 4px;
    color: #141313 !important;
    font-size: 32px !important;
    font-weight: 400 !important;
    line-height: 1.1 !important;
    letter-spacing: -0.015em;
}

.hl-showcase-complete-overlay {
    position: absolute;
    inset: 0;
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px 12px 0 0;
    background-color: rgba(0, 0, 0, 0.5);
}

.hl-showcase-complete-overlay span {
    max-width: calc(100% - 48px);
    color: #FFFFFF;
    font-size: 24px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: -0.02em;
    text-align: center;
}

.hl-showcase-card-subtitle {
    display: flex;
    align-items: center;
    gap: 4px;
    min-height: 18px;
    margin: 0;
    color: #5A6E75;
    font-family: 'Neue_2', sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.3;
}

.hl-showcase-card-subtitle.is-empty {
    visibility: hidden;
}

.hl-showcase-card-subtitle .bi {
    flex: 0 0 auto;
    font-size: 16px;
    line-height: 1;
}

.hl-showcase-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    min-height: 28px;
    margin-top: 20px;
}

.hl-showcase-card-tags.is-empty {
    visibility: hidden;
}

.hl-showcase-card-tag {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 4px 8px;
    border: 1px solid #D8E1E4;
    border-radius: 6px;
    color: #627982;
    font-size: 12px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: -0.01em;
}

.hl-showcase-page .investment-rounds {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 20px 0 16px !important;
    padding: 16px;
    border-radius: 8px;
    background-color: #F5F6F7;
}

.hl-showcase-page .investment-rounds .fs-7,
.hl-showcase-page .investment-rounds .fs-6 {
    color: #141313 !important;
    font-family: 'Neue_2', sans-serif;
    font-size: 12px !important;
    font-weight: 400 !important;
    line-height: 1 !important;
    letter-spacing: -0.01em;
}

.hl-showcase-page .investment-rounds .fs-3 {
    color: #141313 !important;
    font-size: 18px !important;
    font-weight: 500 !important;
    line-height: 1.1 !important;
}

.hl-showcase-page .investment-rounds .progress {
    height: 12px !important;
    margin: 0 !important;
    padding: 1px;
    border-radius: 3px;
    background-color: #FFFFFF;
}

.hl-showcase-page .investment-rounds .progress-bar {
    min-width: 2px;
    border-radius: 2px;
    background-color: #233C36 !important;
}

.hl-showcase-card-line {
    margin-top: 8px;
    line-height: 1.3;
}

.hl-showcase-card-line label,
.hl-showcase-card-line .text-gray-400 {
    color: #727171 !important;
    font-size: 14px !important;
    line-height: 1.3 !important;
}

.hl-showcase-card-line h2,
.hl-showcase-card-line .fw-bold {
    color: #141313 !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    line-height: 1.3 !important;
}

.hl-showcase-faq {
    padding-top: 40px;
    row-gap: 24px;
}

.hl-showcase-faq > h2 {
    font-size: 24px !important;
    font-weight: 500 !important;
    line-height: 1.2 !important;
    letter-spacing: -0.02em !important;
}

.hl-showcase-faq .accordion {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hl-showcase-faq .accordion-item {
    overflow: hidden;
    border: 0;
    border-radius: 12px !important;
    background-color: #FFFFFF;
}

.hl-showcase-faq .accordion-button {
    padding: 20px;
    border-radius: 12px !important;
    background-color: #FFFFFF !important;
    color: #141313;
    font-size: 18px !important;
    font-weight: 500 !important;
    line-height: 1.1 !important;
    box-shadow: none !important;
}

/* === Диаграммы и адаптивность === */
.chart-container {
    position: relative;
    width: 186px;
    height: 186px;
}
.chart-center-label {
    position: absolute;
    top: 10%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    font-size: 20px;
    font-weight: bold;
}

@media (max-width: 1200px) {
    .col-lg-6 {
        width: 100% !important;
    }
    .h-md-175px {
        height: auto !important;
    }
    .mb-3 {
        margin-bottom: 1rem !important;
    }
    .ms-lg-11, .ms-lg-13 {
        margin-left: 0 !important;
    }
}

@media (max-width: 992px) {
    .col-lg-6, .col-lg-4, .col-lg-8, .col-md-6 {
        width: 100% !important;
    }
    .h-md-175px {
        height: auto !important;
    }
}

/* === Модальные окна с изображениями === */
.modal-image-container {
    max-width: 600px;
    width: 100%;
    height: 100%;
}
.modal-backdrop.show {
    background-color: rgba(0, 0, 0, 0.8);
}
.modal-blog {
    background-color: rgba(0, 0, 0, 0.8);
    box-shadow: none;
}
@media (max-width: 768px) {
    .modal-image-container {
        width: 100%;
        height: 100%;
    }
}

/* === Цвета и утилиты === */
.text-deep-primary {
    color: #1998D6 !important;
}

/* === Кнопки и модальные окна === */
/* Глобально НИЧЕГО не поднимаем по z-index */
.btn {
    z-index: auto; /* или просто убери блок .btn целиком */
}

/* Если нужно, чтобы именно кнопки внутри модалок были поверх их содержимого: */
.modal .btn {
    position: relative;
    z-index: 1;
}

.modal-footer .btn {
    width: 100%; /* На мобильных — во всю ширину */
}

.modal {
    z-index: 1055; /* Поверх других элементов */
}
.modal-dialog {
    position: relative;
}

/* === Адаптивная типографика в модалках === */
@media (max-width: 576px) {
    .modal-content {
        font-size: 14px; /* Читаемость на мобильных */
    }
}

/* === Прогресс-бары === */
.progress {
    background-color: #E6EAE9 !important;
    height: 8px !important;
    border-radius: 6px;
    overflow: hidden;
}
.progress-bar {
    background-color: #233C36 !important;
    height: 100%;
    border-radius: 6px 0 0 6px;
    transition: width 1s ease-in-out;
}

/* === Активная вкладка в nav-line-tabs === */
.nav-line-tabs .nav-link.active {
    border-bottom: 1px solid #000 !important;
    color: #000;
}

/* === Карусель с фото === */
.carousel-photo {
    min-height: 300px;
    border-radius: 6px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
}

/* === Затемнение модалки с вводом SMS-кода === */
.modal-blurred .modal-content::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 2;
    border-radius: inherit;
    pointer-events: none;
}
.modal-blurred .modal-content {
    position: relative;
}

/* === Карточки и медиа === */
.fixed-img-wrapper {
    width: 100%;
    height: 220px;
    overflow: hidden;
    position: relative;
}
.fixed-img-wrapper img.card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}
@media (max-width: 768px) {
    .cs-portfolio-card-img::after {
        bottom: 20px;
    }
}

/* === Видео и картинки (ленивая загрузка) === */
.lazy-video-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #000;
    position: relative;
    transition: transform .3s ease;
}
.lazy-video-wrapper:hover {
    transform: scale(1.01);
}
.lazy-bg {
    opacity: 0;
    transition: opacity 0.4s ease;
}
.lazy-bg.loaded {
    opacity: 1;
}

/* === Обёртка для карты === */
.map-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 12px;
    overflow: hidden;
    background-color: #f9f9f9;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

/* === Формы и поля ввода === */
/* Описание объекта и карта растягиваются до одной высоты. */
.project-object-body {
    padding: 24px;
}
.project-object-copy {
    line-height: 1.5;
    overflow-wrap: anywhere;
    text-align: left;
}
.project-object-description :is(p, span, li) {
    line-height: inherit !important;
}
.project-object-description p {
    margin-bottom: 12px;
}
.project-object-description figure.table {
    margin: 0;
    width: 100%;
}
.project-object-description table {
    width: 100% !important;
    table-layout: fixed;
}
.project-object-description td {
    width: auto !important;
    height: auto !important;
    padding: 8px 4px !important;
    overflow-wrap: anywhere;
}
.project-object-description td:first-child {
    width: 38% !important;
}
.project-object-parameters-title {
    font-size: 20px;
    margin-top: 4px;
}
.project-object-parameters {
    table-layout: fixed;
    width: 100%;
    margin-bottom: 0;
}
.project-object-parameters td {
    padding: 8px 4px;
    white-space: normal;
    overflow-wrap: anywhere;
}
.project-object-parameters td:first-child {
    font-size: 16px;
    width: 38%;
}
.project-location-card.map-wrapper {
    aspect-ratio: auto;
    min-height: 360px;
    display: flex;
    flex-direction: column;
}
.project-location-view {
    position: relative;
    flex: 1;
    min-height: 300px;
}
.project-location-view :is(img, iframe) {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    object-fit: cover;
}
.project-location-empty {
    display: grid;
    place-items: center;
    height: 100%;
    min-height: 300px;
    padding: 24px;
    text-align: center;
}
.project-location-static.project-location-card {
    min-height: 0;
    align-self: flex-start;
}
.project-location-static .project-location-view {
    flex: none;
    min-height: 0;
    aspect-ratio: 13 / 9;
}
.project-location-static .project-location-view img {
    object-fit: contain;
}
.project-location-caption {
    padding: 12px 16px;
    background: #fff;
    font-size: 12px;
    line-height: 1.4;
    overflow-wrap: anywhere;
}
.project-development-content {
    line-height: 1.5;
    text-align: left;
    overflow-wrap: anywhere;
}
.project-development-content :is(p, span) {
    line-height: inherit !important;
}
.project-development-content figure.table {
    display: block;
    width: 100% !important;
    margin: 0;
}
.project-development-content table {
    width: 100% !important;
    table-layout: fixed;
    border-collapse: collapse;
    height: auto !important;
}
.project-development-content :is(td, th) {
    width: auto !important;
    height: auto !important;
    padding: 10px 12px !important;
    border: 1px solid #e1e3ea !important;
    vertical-align: top;
    white-space: normal;
    overflow-wrap: anywhere;
}
.project-development-content :is(td, th):first-child {
    width: 18% !important;
}
.project-development-content td p {
    margin: 0;
}
.project-development-content table > tbody > tr:last-child > :is(td, th),
.project-development-content figure.table table > tbody > tr:last-child > :is(td, th),
.project-development-content table.table > tbody > tr:last-child > :is(td, th) {
    border-bottom: 1px solid #e1e3ea !important;
}

.select2-container--default .select2-selection--multiple {
    border-radius: 6px !important;
}
.form-select {
    border-radius: 6px !important;
}
#kt_dropzonejs_example_1 {
    border-radius: 6px !important;
    overflow: hidden;
}

/* === QR-коды === */
.qr-code-img {
    max-width: 100%;          /* Ограничивает ширину контейнером */
    height: auto;             /* Сохраняет пропорции */
    max-height: 200px;        /* Не даёт вырасти слишком большим */
    object-fit: contain;      /* Вписывается без обрезки */
    border-radius: 8px;       /* Скруглённые углы */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Лёгкая тень */
}

/* === Состояния валидации и индикаторы === */

/* Успешная валидация: зелёная подсветка поля */
.input-success {
    border-color: #28a745 !important;
    box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
}

/* Ошибка валидации: красная подсветка поля */
.input-error {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

/* Мини-спиннер для статуса загрузки/проверки (например, ИНН) */
.spinner-border-sm {
    width: 1rem;
    height: 1rem;
    border-width: 2px;
}


/* === Stepper (пошаговые индикаторы) === */

.stepper-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-weight: bold;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stepper-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.stepper-item .stepper-icon {
    background-color: #DEE3E5;
    color: #151515;
}

.stepper-item.current .stepper-icon {
    background-color: #151515;
    color: #fff;
}

stepper-item.completed .stepper-icon {
    background-color: #fff;
    color: #151515;
}

.stepper-item.next-step .stepper-icon {
    background-color: #DEE3E5;
    color: #fff; /* белая цифра */
}

.stepper-line {
    height: 1px;
    background-color: #C4C4C4;
    flex-grow: 1;
    align-self: center;
    margin: 0 10px;
}

.stepper-label {
    margin-top: 8px;
    text-align: center;
}

.stepper-item.next-step .stepper-title {
    color: #B5B5C3 !important;
}

/* === Registration stepper (show title only for current step) === */
.registration-stepper .stepper-item {
    flex-direction: row;
    align-items: center;
    margin-bottom: 0 !important;
}

.registration-stepper {
    gap: 12px;
}

.registration-stepper .stepper-item .stepper-label {
    display: none;
    margin-top: 0;
}

.registration-stepper .stepper-item.current .stepper-label {
    display: block;
    margin-left: 12px;
}

.registration-stepper .stepper-item.current .stepper-title {
    font-size: 36px;
    line-height: 1;
    color: #141313 !important;
    white-space: nowrap;
}

.registration-stepper .stepper-line {
    flex: 0 0 72px;
    min-width: 72px;
    margin: 0;
}

/* === Shared registration pages layout === */
.registration-page-shell {
    max-width: 920px;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.registration-page-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    padding: 0 40px 60px;
}

.registration-page-heading,
.registration-form,
.registration-skip-wrap,
.registration-complete-body {
    width: 100%;
    margin: 0 !important;
}

.registration-page-heading {
    padding: 0 !important;
}

.registration-page-subtitle {
    color: #5d6d75;
}

.registration-skip-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 60px !important;
}

.registration-skip-btn,
.registration-skip-btn:visited {
    display: inline-flex !important;
    padding: 9px 17px !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 10px !important;
    border-radius: 5px !important;
    font-size: 16px !important;
    line-height: 1.2 !important;
    color: #3f515c !important;
    background-color: #ffffff !important;
    border-color: #d1d1d1 !important;
}

.registration-skip-btn:hover,
.registration-skip-btn:focus,
.registration-skip-btn:active,
.btn.btn-outline.btn-outline-dark.registration-skip-btn:hover,
.btn.btn-outline.btn-outline-dark.registration-skip-btn:focus,
.btn.btn-outline.btn-outline-dark.registration-skip-btn:active {
    color: #141313 !important;
    -webkit-text-fill-color: #141313 !important;
    background-color: #f5f7f8 !important;
    border-color: #bfc7cb !important;
}

.registration-actions .registration-action-back,
.registration-actions .registration-action-primary {
    width: 175px;
    border-radius: 5px !important;
}

.registration-actions {
    margin-top: 40px !important;
    padding-top: 0 !important;
}

.registration-agreements-wrap,
.registration-agreements-form {
    width: 100%;
}

.registration-agreements-wrap {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.registration-form .registration-consent-text,
.registration-form .registration-consent-link {
    color: #2d5bff !important;
    font-family: 'Neue_2', sans-serif !important;
    font-size: 14px !important;
    font-style: normal !important;
    font-weight: 500 !important;
    line-height: 100% !important;
}

.registration-form .registration-consent-link {
    text-decoration: none;
}

.registration-form .registration-consent-link:hover,
.registration-form .registration-consent-link:focus {
    text-decoration: underline;
}

.registration-actions .registration-action-back {
    display: flex !important;
    height: 52px !important;
    padding: 10px 32px !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 8px !important;
    border-radius: var(--border-radius-radius-m, 6px) !important;
    background: var(--bg-surface, #fff) !important;
    background-color: var(--bg-surface, #fff) !important;
    border-color: var(--bg-surface, #fff) !important;
}

.registration-actions .registration-action-back,
.registration-actions .registration-action-back:visited {
    color: #141313 !important;
    -webkit-text-fill-color: #141313 !important;
}

.registration-actions .registration-action-back:hover,
.registration-actions .registration-action-back:focus,
.registration-actions .registration-action-back:active,
.btn.btn-outline.btn-outline-dark.registration-action-back:hover,
.btn.btn-outline.btn-outline-dark.registration-action-back:focus,
.btn.btn-outline.btn-outline-dark.registration-action-back:active {
    color: #141313 !important;
    -webkit-text-fill-color: #141313 !important;
    opacity: 1 !important;
}

.registration-complete-card {
    border-radius: 5px;
    border: 0;
}

.registration-complete-link {
    color: #1998d6;
    font-size: 14px;
}

.registration-complete-shell {
    max-width: 840px !important;
}

.registration-complete-content {
    padding: 0 40px 60px !important;
    gap: 40px !important;
}

.registration-status-card {
    background: #fff;
    border-radius: 12px;
    padding: 26px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 16px;
}

.registration-status-content {
    min-width: 0;
}

.registration-status-title {
    margin: 0 0 8px;
    color: #141313;
    font-family: 'Neue_2', sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 140%;
}

.registration-status-note {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Neue_2', sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 450;
    line-height: 130%;
}

.registration-status-note-danger {
    color: #9d2f2f;
}

.registration-status-note-warning {
    color: #9d6800;
}

.registration-status-note-success {
    color: #168853;
}

.registration-status-note-icon {
    font-size: 14px;
    line-height: 1;
}

.registration-status-action {
    flex: 0 0 auto;
}

.registration-status-btn {
    display: inline-flex;
    height: 48px;
    padding: 10px 24px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    border-radius: 8px;
    background: #eef2f4;
    color: #4e5f67;
    font-family: 'Neue_2', sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 100%;
    text-decoration: none;
}

.registration-status-btn:hover,
.registration-status-btn:focus,
.registration-status-btn:active {
    color: #3e4d54;
    background: #e1e8ec;
    text-decoration: none;
}

.fns-warning-actions .fns-warning-btn {
    display: inline-flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 8px !important;
    min-width: 260px;
    height: 52px !important;
    padding: 10px 24px !important;
    border-radius: 6px !important;
    font-family: 'Neue_2', sans-serif !important;
    font-size: 14px !important;
    font-style: normal !important;
    font-weight: 450 !important;
    line-height: 130% !important;
}

.fns-warning-banner {
    border-radius: 8px !important;
    border: 1px solid #ef8b8b !important;
    background: #fef4f4 !important;
}

.fns-warning-title {
    color: var(--system-error-text, #7a2020);
    font-family: 'Neue_2', sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 140%;
    margin-bottom: 8px;
}

.fns-warning-text {
    color: var(--text-primary, #141313);
    font-family: 'Neue_2', sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 450;
    line-height: 130%;
}

.fns-warning-actions .fns-warning-btn-outline {
    color: #141313 !important;
    background: #ffffff !important;
    border-color: #d1d1d1 !important;
}

.fns-warning-actions .fns-warning-btn-outline:hover,
.fns-warning-actions .fns-warning-btn-outline:focus,
.fns-warning-actions .fns-warning-btn-outline:active {
    color: #141313 !important;
    background: #f5f7f8 !important;
    border-color: #bfc7cb !important;
}

.fns-warning-actions .fns-warning-btn-primary {
    color: #ffffff !important;
}

@media (max-width: 991.98px) {
    .registration-stepper .stepper-item.current .stepper-title {
        font-size: 20px;
    }

    .registration-stepper .stepper-line {
        flex-basis: 40px;
        min-width: 40px;
    }

    .registration-page-content {
        padding: 48px 24px 40px;
        gap: 28px;
    }

    .registration-status-card {
        padding: 18px 16px;
        flex-direction: column;
        align-items: flex-start;
    }

    .registration-status-action {
        width: 100%;
    }

    .registration-status-btn {
        width: 100%;
    }
}

/* === Step Passport spacing (design paddings) === */
.step-passport-container {
    max-width: 920px;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.step-passport-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    padding: 0 40px 60px;
}

.step-passport-heading,
.step-passport-skip,
.step-passport-form {
    margin: 0 !important;
    width: 100%;
}

.step-passport-heading {
    padding: 0 !important;
}

.step-passport-skip-btn,
.step-passport-skip-btn:visited {
    display: flex !important;
    padding: 9px 17px !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 10px !important;
    border-radius: 5px !important;
    font-size: 16px !important;
    line-height: 1.2 !important;
    color: #3f515c !important;
    background-color: #ffffff !important;
    border-color: #d1d1d1 !important;
}

.step-passport-skip-btn:hover,
.step-passport-skip-btn:focus,
.step-passport-skip-btn:active {
    color: #141313 !important;
    background-color: #f5f7f8 !important;
    border-color: #bfc7cb !important;
}

.btn.btn-outline.btn-outline-dark.step-passport-skip-btn:hover,
.btn.btn-outline.btn-outline-dark.step-passport-skip-btn:focus,
.btn.btn-outline.btn-outline-dark.step-passport-skip-btn:active {
    color: #141313 !important;
    -webkit-text-fill-color: #141313 !important;
    background-color: #f5f7f8 !important;
    border-color: #bfc7cb !important;
}

@media (max-width: 991.98px) {
    .step-passport-content {
        padding: 48px 24px 40px;
        gap: 28px;
    }
}

@media (min-width: 992px) {
    .registration-page-shell,
    .step-passport-container {
        max-width: 910px;
    }
}

@media (max-width: 575.98px) {
    .step-passport-content {
        padding: 32px 8px 28px;
        gap: 24px;
    }
}

/* === Боксы для загрузки паспорта при регистрации === */

.passport-upload-box {
    background-color: #FFFFFF;
    border-radius: 10px;
    width: 100px;
    padding: 16px;
    text-align: center;
    position: relative;
    cursor: pointer;
}

.upload-box-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;

    font-size: 14px;
    font-weight: 400;
    text-decoration: none;
    width: 100%;
    height: 100%;
}


.passport-upload-box input[type="file"] {
    display: none;
}


/* Скрываем кнопку вызова меню, когда drawer активен */
[data-kt-drawer-state="on"] #kt_app_header_secondary_toggle,
.drawer-on #kt_app_header_secondary_toggle {
    display: none !important;
}
/*@media (max-width: 768px) {*/
/*    [data-kt-drawer="true"] {*/
/*        width: 250px !important;*/
/*        padding-top: 24px;*/
/*    }*/

/*    .header-menu {*/
/*        width: 100% !important;*/
/*    }*/
/*}*/

[data-kt-drawer="true"].drawer-on {
    z-index: 2000 !important;
}

@media (max-width: 768px) {
    [data-kt-drawer="true"] {
        width: 100% !important;
        max-width: 100% !important;
    }
}


.border-new-blue {
  border-color: #7F9DC7 !important;
}

.border-new-primary {
  border-color: #67AEF3 !important;
}

.rating {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-top: 10px;
}

.bar {
  position: relative;
  width: 100%;
  height: 5px;
  background-color: #ccc;
  border-radius: 10px;
}

.section {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 20%;
  transition: all 0.3s ease-in-out;
}

.section-1 {
  background-color: #f44336;
      left: 0;
  top: 0;
}

.section-2 {
  background-color: #ff5722;
      left: 20%;
  top: 0;
}

.section-3 {
  background-color: #6FC193;
      position: absolute;
  left: 40%;
  top: 0;
}

.section-4 {
  background-color: #67AEF3;
      position: absolute;
  left: 60%;
  top: 0;
}

.section-5 {
  background-color: #8468A8;
      position: absolute;
  left: 80%;
  top: 0;
}

.circle {
  position: absolute;
  top: -5px;
  left: calc(50% - 15px);
  width: 25px;
  height: 25px;
  background-color: #F9DE56;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  color: #fff;
  font-size: 16px;
}

.circle::before {
  content: attr(data-rating);
  color: #ffffff;
  font-size: 12px;
  font-weight: bold;
}

.section-1 {
  background-color: #ED764D;
}

.section-2 {
  background-color: #FFC857;
}

.section-3 {
  background-color: #50C878;
}

.section-4 {
  background-color: #67AEF3;
}

.section-5 {
  background-color: #8468A8;
}

.spinner-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent black background */
}

.cs-progress-radial {
  position: relative;
}

.progress-ring__circle {
  stroke-dasharray: 251.2;
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 0.3s;
  transform: rotate(-90deg);
  transform-origin: 50% 50%;
}

.progress-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}


.cs-portfolio-card-img {
  position: relative;
  border-radius: 0.25rem;
  overflow: hidden;
  z-index: 1;
  -webkit-mask-image: -webkit-radial-gradient(white, black);
}

.cs-portfolio-card-img > img {
  display: block;
  width: 100%;
  transition: -webkit-transform .3s ease-in-out;
  transition: transform .3s ease-in-out;
  transition: transform .3s ease-in-out, -webkit-transform .3s ease-in-out;
}

.cs-portfolio-card-body {
  position: relative;
  padding: 1rem 1.25rem;
  z-index: 2;
}

.cs-portfolio-card-title {
  margin-bottom: 0.25rem;
  font-weight: 700;
  transition: color .3s ease-in-out;
  color: #1e212c;
  font-size: 1.25rem;
}

.cs-portfolio-card-scale {
  display: block;
  position: relative;
  text-decoration: none;
}

.cs-portfolio-card-scale::before {
  display: block;
  position: absolute;
  top: -15px;
  left: -15px;
  width: calc(100% + 30px);
  height: calc(100% + 15px);
  background-color: #fff;
  border-radius: 0.25rem;
  box-shadow: 0 1.75rem 1.875rem rgba(154, 156, 165, 0.08), 0 1.25rem 1rem rgba(154, 156, 165, 0.05), 0 0.5rem 0.625rem rgba(154, 156, 165, 0.04), 0 0.25rem 0.25rem rgba(30, 33, 44, 0.03);
  transition: opacity .3s ease-in-out;
  opacity: 0;
  content: '';
}

.cs-portfolio-card-scale .cs-portfolio-card-img > img {
  will-change: transform;
}

.cs-portfolio-card-scale .cs-portfolio-card-body {
  padding-right: 0;
  padding-bottom: 1.25rem;
  padding-left: 0;
}

.cs-portfolio-card-scale:hover {
  text-decoration: none;
}

.cs-portfolio-card-scale:hover::before {
  opacity: 1;
}

.cs-portfolio-card-scale:hover .cs-portfolio-card-img > img {
  -webkit-transform: scale(1.08);
  transform: scale(1.08);
}

.cs-portfolio-card-scale:hover .cs-portfolio-card-title {
  color: #ff3f3a;
}

.cs-carousel .cs-portfolio-card-scale::before {
  box-shadow: none;
}

.cs-portfolio-card-slide {
  display: block;
  position: relative;
  box-shadow: 0 1.75rem 1.875rem rgba(154, 156, 165, 0.08), 0 1.25rem 1rem rgba(154, 156, 165, 0.05), 0 0.5rem 0.625rem rgba(154, 156, 165, 0.04), 0 0.25rem 0.25rem rgba(30, 33, 44, 0.03);
  text-decoration: none;
  transition: box-shadow .25s ease-in-out;
  overflow: hidden;
}

.cs-portfolio-card-slide .cs-portfolio-card-img > img {
  transition: -webkit-transform .25s ease-in-out;
  transition: transform .25s ease-in-out;
  transition: transform .25s ease-in-out, -webkit-transform .25s ease-in-out;
  will-change: transform;
}

.cs-portfolio-card-slide .cs-portfolio-card-body .btn {
  margin-top: 1.5rem;
}

.cs-portfolio-card-slide:hover {
  text-decoration: none;
  box-shadow: 0 1.75rem 1.875rem rgba(154, 156, 165, 0.16), 0 1.25rem 1rem -0.25rem rgba(154, 156, 165, 0.1), 0 0.5rem 0.625rem rgba(154, 156, 165, 0.08), 0 0.25rem 0.25rem rgba(30, 33, 44, 0.05);
}

.cs-portfolio-card-slide:hover .cs-portfolio-card-body {
  -webkit-transform: translateY(0);
  transform: translateY(0);
}

.cs-portfolio-card-slide:hover.cs-portfolio-card-video .cs-video-btn {
  top: calc(50% - 4.25rem);
}

.cs-portfolio-card-slide.cs-portfolio-card-video .cs-video-btn {
  top: calc(50% - (4.25rem / 2));
  transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out, box-shadow 0.3s ease-in-out, top 0.25s ease-in-out;
}

@media (max-width: 767.98px) {
  .cs-portfolio-card-slide {
    text-decoration: none;
    box-shadow: 0 1.75rem 1.875rem rgba(154, 156, 165, 0.16), 0 1.25rem 1rem -0.25rem rgba(154, 156, 165, 0.1), 0 0.5rem 0.625rem rgba(154, 156, 165, 0.08), 0 0.25rem 0.25rem rgba(30, 33, 44, 0.05);
  }
  .cs-portfolio-card-slide .cs-portfolio-card-img > img {
    -webkit-transform: scale(1.06) translateY(-2rem);
    transform: scale(1.06) translateY(-2rem);
  }
  .cs-portfolio-card-slide .cs-portfolio-card-body {
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
  .cs-portfolio-card-slide.cs-portfolio-card-video .cs-video-btn {
    top: calc(50% - 4.25rem);
  }
}

.badge-new-warning {
  color: #666666;
  background-color: #F9DE56;
}

.badge-new-primary {
  color: #FFFFFF;
  background-color: #67AEF3;
}

.bg-yellow {
  background-color: #F9DE56 !important;
  --bg-color: 184, 217, 53 !important;
}

.btn-brand-yellow {
  color: var(--hl-btn-accent-color);
  background-color: var(--hl-color-warning);
  border-color: var(--hl-color-warning);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 1px 1px rgba(0, 0, 0, 0.075);
}

.btn-new_yellow {
  color: var(--hl-btn-accent-color);
  background-color: var(--hl-btn-accent-bg);
  border-color: var(--hl-btn-accent-border);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 1px 1px rgba(0, 0, 0, 0.075);
}

.container,
.container-fluid,
.container-xxl,
.container-xl,
.container-lg,
.container-md,
.container-sm {
  width: 100%;
  padding-right: var(--bs-gutter-x, 1.5rem);
  padding-left: var(--bs-gutter-x, 1.5rem);
  margin-right: auto;
  margin-left: auto;
}

/* Investor cabinet base content width */
.container.w-responsive {
  width: 100%;
  max-width: 1400px;
}

@media (max-width: 1399.98px) {
  .container.w-responsive {
    max-width: 1320px;
  }
}

/* Общая компактная боковая панель кабинетов менеджера и руководителя */
.hl-manager-cabinet,
.hl-executive-cabinet {
  --hl-cabinet-sidebar-width: 96px;
}

/* Manager cabinet layout */
.hl-manager-cabinet {
  --hl-manager-sidebar-width: var(--hl-cabinet-sidebar-width);
  --hl-manager-content-width: 1400px;
  --hl-manager-content-padding-left: 44px;
  --hl-manager-content-padding-right: 64px;
}

.hl-manager-cabinet,
.hl-manager-cabinet #kt_app_root {
  min-height: 100vh;
  background-color: #F3F3F3;
}

.hl-manager-cabinet #kt_app_page,
.hl-manager-cabinet #kt_app_wrapper {
  min-height: 100vh;
  background-color: #F3F3F3;
}

.hl-manager-cabinet #kt_app_page {
  display: flex;
  flex-direction: column;
}

.hl-manager-cabinet #kt_app_wrapper {
  display: flex;
  flex: 1 0 auto;
  flex-direction: column;
  min-height: calc(100vh - var(--bs-app-header-height, 0px));
  background-color: #F3F3F3;
}

.hl-manager-cabinet .hl-manager-content-root {
  display: flex;
  flex: 1 0 auto;
  flex-direction: column;
  min-height: 0;
  background-color: #F3F3F3;
}

.hl-manager-cabinet .hl-manager-content-root > .app-main {
  display: flex;
  flex: 1 0 auto;
  flex-direction: column;
}

.hl-manager-cabinet .hl-manager-content-root #kt_app_content,
.hl-manager-cabinet .hl-manager-content-root #kt_app_content_container {
  flex: 1 0 auto;
}

.hl-manager-cabinet .hl-manager-footer-container {
  flex: 0 0 auto;
  margin-top: 0;
  background-color: transparent !important;
}

@media (min-width: 992px) {
  .hl-manager-cabinet[data-kt-app-layout="overlay"] {
    --bs-app-sidebar-width: var(--hl-manager-sidebar-width);
  }

  .hl-executive-cabinet[data-kt-app-layout="overlay"] {
    --bs-app-sidebar-width: var(--hl-cabinet-sidebar-width);
  }

  .hl-manager-cabinet[data-kt-app-layout="overlay"] .app-sidebar,
  .hl-executive-cabinet[data-kt-app-layout="overlay"] .app-sidebar {
    width: var(--hl-cabinet-sidebar-width) !important;
    min-width: var(--hl-cabinet-sidebar-width) !important;
  }

  .hl-manager-cabinet .app-sidebar-menu .menu,
  .hl-executive-cabinet .app-sidebar-menu .menu {
    width: 100%;
    align-items: center;
    padding-right: 0;
    padding-left: 0;
  }

  .hl-manager-cabinet .app-sidebar-menu .menu > .menu-item,
  .hl-executive-cabinet .app-sidebar-menu .menu > .menu-item {
    display: flex;
    justify-content: center;
    width: 100%;
    padding-right: 0 !important;
    padding-left: 0 !important;
  }

  .hl-manager-cabinet[data-kt-app-layout="overlay"] .app-sidebar .menu > .menu-item > .menu-link,
  .hl-manager-cabinet[data-kt-app-layout="overlay"] .app-sidebar .menu > .menu-item .menu-link.menu-center,
  .hl-executive-cabinet[data-kt-app-layout="overlay"] .app-sidebar .menu > .menu-item > .menu-link,
  .hl-executive-cabinet[data-kt-app-layout="overlay"] .app-sidebar .menu > .menu-item .menu-link.menu-center {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 8px;
    margin-right: auto;
    margin-left: auto;
    padding: 0;
  }

  .hl-manager-cabinet .app-sidebar .menu-link .menu-icon,
  .hl-executive-cabinet .app-sidebar .menu-link .menu-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin: 0 !important;
  }

  .hl-manager-cabinet .app-sidebar-logo,
  .hl-executive-cabinet .app-sidebar-logo {
    padding-right: 1rem !important;
    padding-left: 1rem !important;
  }

  /* Заголовок должен начинаться на одной вертикали с контентом страницы. */
  .hl-executive-cabinet .hl-executive-page-title {
    margin-left: calc(-1 * var(--bs-gutter-x, 1.5rem));
  }
}

@media (min-width: 1200px) {
  .hl-manager-cabinet #kt_app_header_container,
  .hl-manager-cabinet .hl-manager-content-root #kt_app_content > .container,
  .hl-manager-cabinet .hl-manager-content-root #kt_app_content > .container-fluid,
  .hl-manager-cabinet .hl-manager-content-root #kt_app_content > .app-container,
  .hl-manager-cabinet .hl-manager-content-root #kt_app_content_container,
  .hl-manager-cabinet .hl-manager-footer-container {
    max-width: var(--hl-manager-content-width) !important;
    padding-left: var(--hl-manager-content-padding-left) !important;
    padding-right: var(--hl-manager-content-padding-right) !important;
  }
}

@media (max-width: 1199.98px) {
  .hl-manager-cabinet #kt_app_header_container,
  .hl-manager-cabinet .hl-manager-content-root #kt_app_content > .container,
  .hl-manager-cabinet .hl-manager-content-root #kt_app_content > .container-fluid,
  .hl-manager-cabinet .hl-manager-content-root #kt_app_content > .app-container,
  .hl-manager-cabinet .hl-manager-content-root #kt_app_content_container,
  .hl-manager-cabinet .hl-manager-footer-container {
    max-width: 100% !important;
  }
}

.hl-manager-cabinet .manager-investors-page {
  min-height: calc(100vh - 340px);
}

.hl-manager-cabinet .manager-investors-table-card {
  min-height: 560px;
}

.hl-manager-cabinet .manager-investors-page th.dt-col-hidden,
.hl-manager-cabinet .manager-investors-page td.dt-col-hidden {
  display: none !important;
}

.hl-operator-cabinet {
  --hl-operator-sidebar-width: 96px;
}

.hl-operator-cabinet .hl-operator-footer-shell {
  width: 100%;
  background-color: #FFFFFF;
}

.hl-operator-cabinet .hl-operator-footer-container {
  background-color: transparent;
  padding-top: 32px;
  padding-bottom: 32px;
}

@media (min-width: 992px) {
  .hl-operator-cabinet[data-kt-app-layout="overlay"] {
    --bs-app-sidebar-width: var(--hl-operator-sidebar-width);
  }

  .hl-operator-cabinet[data-kt-app-layout="overlay"] .app-sidebar {
    width: var(--hl-operator-sidebar-width) !important;
    min-width: var(--hl-operator-sidebar-width) !important;
  }

  .hl-operator-cabinet .app-sidebar-menu .menu {
    width: 100%;
    align-items: center;
    padding-right: 0;
    padding-left: 0;
  }

  .hl-operator-cabinet .app-sidebar-menu .menu > .menu-item {
    display: flex;
    justify-content: center;
    width: 100%;
    padding-right: 0 !important;
    padding-left: 0 !important;
  }

  .hl-operator-cabinet[data-kt-app-layout="overlay"] .app-sidebar .menu > .menu-item > .menu-link,
  .hl-operator-cabinet[data-kt-app-layout="overlay"] .app-sidebar .menu > .menu-item .menu-link.menu-center {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 8px;
    margin-right: auto;
    margin-left: auto;
    padding: 0;
  }

  .hl-operator-cabinet .app-sidebar .menu-link .menu-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin: 0 !important;
  }

  .hl-operator-cabinet .app-sidebar-logo {
    padding-right: 1rem !important;
    padding-left: 1rem !important;
  }
}

.hl-manager-cabinet .manager-investors-table-body {
  position: relative;
  min-height: 480px;
}

.hl-manager-cabinet .manager-investors-table-wrapper {
  min-height: 400px;
}

.hl-manager-cabinet #investors-loader {
  position: absolute;
  inset: 0;
  z-index: 2;
  min-height: 100%;
  background: rgba(255, 255, 255, 0.72);
}

/* Подключение Neue_2 */
@font-face {
    font-family: 'Neue_2';
    src: url('/static/fonts/Neue_2/woff2/TT_Firs_Neue_Normal.woff2') format('woff2'),
         url('/static/fonts/Neue_2/ttf/TT-Firs-Neue-Normal.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Neue_2';
    src: url('/static/fonts/Neue_2/woff2/TT_Firs_Neue_Medium.woff2') format('woff2'),
         url('/static/fonts/Neue_2/ttf/TT-Firs-Neue-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

:root {
    --bs-font-sans-serif: 'Neue_2', Helvetica, sans-serif;
    --bs-body-font-family: var(--bs-font-sans-serif);
}

.fs-64 {
  font-size: 64px !important;
}

.display-7 {
    font-size: calc(1.325rem + 0.9vw);
    font-weight: 700;
    line-height: 1.2;
}
@media (min-width: 1200px) {
    .display-7 {
        font-size: 2rem;
    }
}

.display-8 {
    font-size: calc(1.275rem + 0.3vw);
    font-weight: 700;
    line-height: 1.2;
}
@media (min-width: 1200px) {
    .display-8 {
        font-size: 1.5rem;
    }
}

/* Общие настройки для пагинации */
.pagination.pagination-outline {
    gap: 4px;
}

/* Обычные элементы */
.pagination.pagination-outline .page-link {
    background-color: transparent !important;
    color: #6c757d !important;
    border: 1px solid #dee2e6 !important;
    border-radius: 6px !important;
    transition: all 0.2s ease-in-out;
}

/* При наведении */
.pagination.pagination-outline .page-link:hover {
    background-color: #f8f9fa !important;
    color: #000 !important;
}

/* Активный элемент */
.pagination.pagination-outline .page-item.active .page-link {
    background-color: #ffffff !important;
    color: #000000 !important;
    border-color: #dee2e6 !important;
    border-radius: 6px !important;
    font-weight: 500 !important;
}

.pagination-outline {
    justify-content: flex-start !important;
    margin-left: 0 !important;
    padding-left: 0 !important;
}

/* === Button System v1 === */
/* Базовая кнопка: единый ритм и типографика */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--hl-btn-radius-l) !important;
    font-size: var(--hl-btn-font-size-l);
    font-weight: var(--hl-btn-font-weight);
    line-height: var(--hl-btn-line-height);
    min-height: var(--hl-btn-height-lg);
    padding: 12px var(--hl-btn-px-l);
    text-align: center;
    vertical-align: middle;
    transition: background-color .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease, transform .12s ease;
    box-shadow: var(--hl-btn-shadow);
}

/* Размеры (совместимы с bootstrap-классами) */
.btn-sm,
.btn.btn-sm {
    --bs-btn-padding-y: 6px;
    --bs-btn-padding-x: var(--hl-btn-px-s);
    --bs-btn-font-size: var(--hl-btn-font-size-s);
    --bs-btn-border-radius: var(--hl-btn-radius-s);
    height: var(--hl-btn-height-sm);
    min-height: var(--hl-btn-height-sm) !important;
    padding: 6px var(--hl-btn-px-s) !important;
    font-size: var(--hl-btn-font-size-s) !important;
    line-height: var(--hl-btn-line-height);
    border-radius: var(--hl-btn-radius-s) !important;
}

.btn.btn-sm.btn-icon {
    width: var(--hl-btn-height-sm);
    min-width: var(--hl-btn-height-sm);
    padding: 0 !important;
}

.btn-lg,
.btn.btn-lg {
    min-height: var(--hl-btn-height-lg);
    padding: 12px var(--hl-btn-px-l);
    font-size: var(--hl-btn-font-size-l);
    border-radius: var(--hl-btn-radius-l) !important;
}

.btn:not(.btn-sm):not(.btn-lg) {
    min-height: var(--hl-btn-height-lg);
}

/* Фокус и доступность */
.btn:focus-visible {
    outline: 2px solid var(--hl-color-brand-accent);
    outline-offset: 2px;
}

.btn:disabled,
.btn.disabled {
    background-color: #B8C8CC !important;
    border-color: #B8C8CC !important;
    color: #FFFFFF !important;
    opacity: 1 !important;
    cursor: not-allowed;
    box-shadow: none;
}

/* Primary */
.btn-dark {
    color: var(--hl-btn-primary-color) !important;
    background-color: var(--hl-btn-primary-bg) !important;
    border-color: var(--hl-btn-primary-border) !important;
}
.btn-dark:hover,
.btn-dark:focus,
.btn-dark:active,
.btn.btn-dark:hover:not(.btn-active),
.btn.btn-dark:focus:not(.btn-active),
.btn.btn-dark:active:not(.btn-active),
.btn-check:checked + .btn-dark,
.btn.show.btn-dark {
    color: var(--hl-btn-primary-color) !important;
    background-color: var(--hl-btn-primary-hover-bg) !important;
    border-color: var(--hl-btn-primary-hover-bg) !important;
    box-shadow: var(--hl-btn-shadow-hover);
}

/* Accent yellow (новый визуальный стандарт CTA) */
.btn-new_yellow,
.btn-brand-yellow {
    color: var(--hl-btn-accent-color) !important;
    background-color: var(--hl-btn-accent-bg) !important;
    border-color: var(--hl-btn-accent-border) !important;
}
.btn-new_yellow:hover,
.btn-brand-yellow:hover,
.btn-new_yellow:focus,
.btn-brand-yellow:focus,
.btn-new_yellow:active,
.btn-brand-yellow:active {
    color: var(--hl-btn-accent-color) !important;
    background-color: var(--hl-btn-accent-hover-bg) !important;
    border-color: var(--hl-btn-accent-hover-bg) !important;
    box-shadow: var(--hl-btn-shadow-hover);
}

/* Neutral / outline */
.btn-outline-dark {
    color: var(--hl-btn-primary-bg) !important;
    border-color: var(--hl-btn-primary-bg) !important;
    background-color: transparent !important;
}
.btn-outline-dark:hover,
.btn-outline-dark:focus,
.btn-outline-dark:active {
    color: var(--hl-btn-primary-color) !important;
    border-color: var(--hl-btn-primary-bg) !important;
    background-color: var(--hl-btn-primary-bg) !important;
}

.btn.btn-outline.btn-outline-dark:hover:not(.btn-active),
.btn.btn-outline.btn-outline-dark:focus:not(.btn-active),
.btn.btn-outline.btn-outline-dark:active:not(.btn-active),
.btn.btn-outline-dark:hover:not(.btn-active),
.btn.btn-outline-dark:focus:not(.btn-active),
.btn.btn-outline-dark:active:not(.btn-active) {
    color: var(--hl-btn-primary-color) !important;
    border-color: var(--hl-btn-primary-bg) !important;
    background-color: var(--hl-btn-primary-bg) !important;
}

.btn-light,
.btn-light-dark {
    color: var(--hl-btn-ghost-color) !important;
    background-color: var(--hl-btn-ghost-bg) !important;
    border-color: var(--hl-btn-ghost-border) !important;
}
.btn-light:hover,
.btn-light-dark:hover,
.btn-light:focus,
.btn-light-dark:focus,
.btn-light:active,
.btn-light-dark:active {
    color: var(--hl-btn-ghost-color) !important;
    background-color: var(--hl-btn-ghost-hover-bg) !important;
    border-color: var(--hl-btn-ghost-border) !important;
}

.card {
    border-radius: 6px !important;
}

.display-title {
    font-family: 'Neue_2', sans-serif;
    font-weight: 450;
    font-style: normal;
    font-size: 40px;
    line-height: 100%;
    letter-spacing: -0.04em;
    margin: 0;
}

#dashboard-page-title {
    width: 144px;
    height: 40px;
    opacity: 1;
}

@media (max-width: 768px) {
    .display-title {
        font-size: 32px !important;
    }

    #dashboard-page-title {
        width: auto;
    height: auto;
    }
}

/* Investor cabinet: unified top/title spacing on desktop */
@media (min-width: 992px) {
    .hl-investor-page-content {
        padding-top: 40px !important;
    }

    .hl-investor-page-pt-reset {
        padding-top: 0 !important;
    }

    .hl-investor-page-title-row {
        margin-bottom: 0 !important;
    }

    .hl-investor-page-title {
        margin-bottom: 40px !important;
    }

    .hl-investor-page-title--mb {
        margin-bottom: 40px !important;
    }

}

/* Dashboard smart posts */
.hl-smart-posts-row {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.hl-smart-posts-container {
    flex: 1 1 auto;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 4px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding: 2px;
    min-width: 0;
}

.hl-smart-posts-container::-webkit-scrollbar {
    height: 0;
}

.hl-smart-post-card {
    flex: 0 0 143.8px;
    width: 143.8px;
    height: 120px;
    border: 1px solid #94A5AC;
    border-radius: 8px;
    padding: 4px;
    gap: 10px;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    text-decoration: none;
    background: #fff;
    box-sizing: border-box;
    overflow: hidden;
}

.hl-smart-post-card-inner {
    width: 100%;
    height: 100%;
    border-radius: 6px;
    padding: 12px;
    gap: 10px;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    box-sizing: border-box;
}

.hl-smart-post-title {
    margin: 0;
    color: #fff;
    font-family: 'Neue_2', sans-serif;
    width: 100%;
    height: auto;
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
    line-height: 100%;
    letter-spacing: -0.01em;
    text-align: left;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
    display: block;
    overflow: visible;
    word-break: break-word;
}

.hl-smart-post-card .hl-smart-post-project-name {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    overflow-wrap: anywhere;
}

.hl-smart-post-card .hl-smart-post-project-rate {
    display: block;
    margin-top: 4px;
    white-space: nowrap;
}

.hl-smart-posts-nav-btn {
    width: 20px;
    height: 20px;
    border-radius: 999px;
    border: 1px solid #d9dee2;
    background: #fff;
    color: #141313;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8.33px;
    flex: 0 0 20px;
    padding: 0;
}

.hl-smart-posts-nav-btn i {
    font-size: 11px;
    line-height: 1;
}

.hl-smart-posts-nav-btn:disabled {
    opacity: 0.35;
    cursor: default;
}

/* Smart post modal content: readable editor workflow (normal editing, white render) */
.hl-smart-post-modal-content {
    margin: 0 auto 24px auto;
    width: 90%;
    max-width: 320px;
    text-align: center;
    font-size: 16px;
    line-height: 1.6;
    font-weight: 400;
    color: #FFFFFF;
    min-width: 0;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.hl-smart-post-modal-scroll {
    width: 100%;
    min-height: 0;
    flex: 1 1 auto;
    overflow-y: auto;
    overflow-x: hidden;
    margin-top: 12px;
    padding-right: 4px;
    -webkit-overflow-scrolling: touch;
}

.hl-smart-post-modal-card {
    overflow: hidden;
}

.hl-smart-post-modal-content,
.hl-smart-post-modal-content p,
.hl-smart-post-modal-content span,
.hl-smart-post-modal-content div,
.hl-smart-post-modal-content li,
.hl-smart-post-modal-content strong,
.hl-smart-post-modal-content em,
.hl-smart-post-modal-content h1,
.hl-smart-post-modal-content h2,
.hl-smart-post-modal-content h3,
.hl-smart-post-modal-content h4,
.hl-smart-post-modal-content h5,
.hl-smart-post-modal-content h6 {
    color: #FFFFFF !important;
    max-width: 100% !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    word-break: break-word !important;
    box-sizing: border-box !important;
    float: none !important;
    clear: both;
    text-align: left !important;
    text-justify: auto !important;
    hyphens: auto;
}

.hl-smart-post-modal-content a {
    color: #FFFFFF !important;
    text-decoration: underline;
}

.hl-smart-post-modal-content img,
.hl-smart-post-modal-content video,
.hl-smart-post-modal-content iframe,
.hl-smart-post-modal-content table {
    max-width: 100% !important;
    height: auto !important;
}

/* Dashboard quick actions */
.hl-quick-actions-row {
    gap: 8px;
    justify-content: flex-start !important;
}

@media (min-width: 1400px) {
    #dashboard-news-block {
        margin-bottom: 60px !important;
    }

    #dashboard-quick-actions-block {
        margin-bottom: 60px !important;
    }

    .hl-dashboard-balance-card {
        width: 365px;
        min-width: 365px;
        min-height: 171px;
        gap: 32px;
    }

    .hl-dashboard-portfolio-card {
        width: 365px;
    }

    #dashboard-left-col {
        width: 365px;
        max-width: 365px;
        min-width: 0;
        flex: 0 0 365px;
    }

    .dashboard-right-col {
        width: 887px;
        flex: 0 0 887px;
        max-width: 887px;
    }

    .dashboard-right-col > * {
        width: 100%;
    }

    .hl-quick-actions-row {
        width: 100%;
        flex-wrap: nowrap !important;
        gap: 8px;
    }

    .hl-quick-action-card {
        width: 215.75px;
        min-width: 215.75px;
        max-width: 215.75px;
        height: 108px;
        flex: 0 0 215.75px;
    }

    .hl-smart-posts-row {
        position: relative;
    }

    .hl-smart-posts-container {
        width: 100%;
    }

    .hl-smart-posts-nav-btn {
        position: absolute;
        top: 50%;
        right: -10px;
        transform: translateY(-50%);
        z-index: 3;
    }
}

.hl-quick-action-card {
    width: 215.75px;
    height: 108px;
    border-radius: var(--bs-border-radius-lg, 12px);
    padding: 16px;
    gap: 8px;
    background: #fff;
    border: 0;
    text-decoration: none;
    flex: 0 0 215.75px;
}

.hl-quick-action-card:hover,
.hl-quick-action-card:focus,
.hl-quick-action-card:active {
    background: #fff !important;
    color: inherit !important;
}

.hl-quick-action-icon {
    width: 32px;
    height: 32px;
    border-radius: var(--bs-border-radius-sm, 8px);
    background: var(--bg-page, #F3F3F3);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.hl-quick-action-icon-img {
    width: 16px;
    height: 16px;
}

.hl-quick-action-icon--promo {
    background: radial-gradient(257.84% 137.13% at 49.85% 3.5%, #DFD6C9 0%, #84B39F 100%);
}

.hl-quick-action-title {
    color: #141313;
    font-family: 'Neue_2', sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: 14px;
    line-height: 130%;
    letter-spacing: 0;
    vertical-align: middle;
}

.hl-promo-title-mobile {
    display: none;
}

/* Dashboard: funding projects cards */
.hl-funding-projects-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
    max-width: 100%;
    gap: 8px;
    margin: 0;
    padding: 0;
}

.hl-funding-projects-col {
    min-width: 0;
}

.hl-funding-projects-col--full {
    grid-column: 1 / -1;
}

.hl-funding-project-card {
    width: 100%;
    height: 342px;
    border-radius: 8px !important;
    background: #fff;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-sizing: border-box;
}

.hl-funding-project-photo-wrap {
    width: 100%;
    height: 140px;
    padding: 0;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    position: relative;
    overflow: hidden;
}

.hl-funding-project-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    display: block;
}

.hl-funding-project-photo-overlay {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    border-radius: 0;
    background: linear-gradient(
        180deg,
        rgba(20, 19, 19, 0) 28%,
        rgba(20, 19, 19, 0.18) 55%,
        rgba(20, 19, 19, 0.62) 78%,
        rgba(20, 19, 19, 0.88) 100%
    );
    pointer-events: none;
}

.hl-funding-project-photo-bottom {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 12px;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 8px;
    z-index: 2;
}

.hl-funding-project-type-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 8px;
    border-radius: 6px;
    background: #fff;
    border: 1px solid #e4eaee;
    color: #141313;
    font-family: 'Neue_2', sans-serif;
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
    line-height: 100%;
    white-space: nowrap;
}

.hl-funding-project-rate {
    color: #fff;
    text-align: right;
    font-family: 'Neue_2', sans-serif;
    font-weight: 450;
    font-style: normal;
    font-size: 28px;
    line-height: 100%;
    letter-spacing: -0.02em;
}

/* Final radius lock for dashboard funding cards */
.hl-funding-project-card,
.hl-funding-project-photo-wrap,
.hl-funding-project-body {
    border-radius: 8px !important;
}

.hl-funding-project-photo-wrap {
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

.hl-funding-project-body {
    border-top-left-radius: 0 !important;
    border-top-right-radius: 0 !important;
}

.hl-funding-project-body {
    width: 100%;
    height: 202px;
    padding: 16px !important;
    gap: 0;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

.hl-funding-project-title {
    margin: 0;
    color: #141313 !important;
    font-family: 'Neue_2', sans-serif !important;
    font-weight: 500 !important;
    font-style: normal !important;
    font-size: 18px !important;
    line-height: 110% !important;
    letter-spacing: 0 !important;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Длинная цель займа остаётся в карточке; полный текст доступен в боковой панели. */
.project-purpose-card {
    min-height: 125px;
    min-width: 0;
}

.project-purpose-preview {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    overflow-wrap: anywhere;
    line-height: 1.4;
}

.project-purpose-full {
    overflow-wrap: anywhere;
}

/* ===== Global typography rules =====
 * hl-project-subtitle — единый стиль для вторичного подзаголовка проекта
 * Использовать на всех карточках/блоках, где выводится подзаголовок проекта.
 */
.hl-project-subtitle {
    color: var(--text-secondary, #5A6E75) !important;
    font-family: 'Neue_2', sans-serif !important;
    font-weight: 500 !important;
    font-style: normal !important;
    font-size: 14px !important;
    line-height: 130% !important;
    letter-spacing: 0 !important;
}

.hl-funding-project-subtitle {
    margin: 4px 0 0 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hl-funding-project-progress-wrap {
    margin-top: auto !important;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    height: 56px;
    border-radius: 6px;
    padding: 12px !important;
    gap: 12px !important;
    background: var(--bg-page, #F3F3F3);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    box-sizing: border-box;
    margin: auto 0 0 0 !important;
    align-self: end;
    margin-bottom: 0 !important;
}

.hl-funding-project-progress-head {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 0;
}

.hl-funding-project-progress-value,
.hl-funding-project-progress-limit {
    color: #141313;
    font-family: 'Neue_2', sans-serif;
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
    line-height: 100%;
    letter-spacing: -0.01em;
}

.hl-funding-project-progress-track.progress {
    width: 100%;
    height: 12px !important;
    min-height: 12px !important;
    border-radius: 3px !important;
    padding: 1px !important;
    gap: 1px !important;
    background: #d8e2e6 !important;
    overflow: hidden;
    box-sizing: border-box;
    margin: 0 !important;
}

.hl-funding-project-progress-fill.progress-bar {
    width: 0;
    max-width: calc(100% - 2px);
    min-height: 10px !important;
    height: 100% !important;
    border-radius: 2px !important;
    transition: width 0.35s ease;
    background: var(--forest-600, #2E5047) !important;
    margin: 0;
}

.hl-funding-projects-cta {
    margin-top: 20px;
}

/* Dashboard history typography */
.hl-history-main-cell,
.hl-history-date-cell {
    vertical-align: bottom;
}

.hl-history-main-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
}

.hl-history-amount {
    font-family: 'TT Firs Neue', 'Neue_2', sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: 16px;
    line-height: 140%;
    letter-spacing: 0;
    vertical-align: middle;
    color: #141313;
    margin: 0;
}

.hl-history-transaction-name {
    font-family: 'TT Firs Neue', 'Neue_2', sans-serif;
    font-weight: 450;
    font-style: normal;
    font-size: 12px;
    line-height: 100%;
    letter-spacing: -0.01em;
    vertical-align: middle;
    color: #7A9098;
    margin: 0;
}

.hl-history-date {
    display: inline-block;
    font-family: 'TT Firs Neue', 'Neue_2', sans-serif;
    font-weight: 450;
    font-style: normal;
    font-size: 12px;
    line-height: 100%;
    letter-spacing: -0.01em;
    vertical-align: middle;
    color: #7A9098;
    margin: 0;
    white-space: nowrap;
}

.hl-history-tabs {
    justify-content: flex-start;
    gap: 24px;
}

.hl-history-tab-link {
    padding-left: 0 !important;
    padding-right: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    border: 0 !important;
    border-bottom: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    font-family: 'Neue_2', sans-serif;
    font-weight: 600;
    font-style: normal;
    font-size: 32px;
    line-height: 120%;
    letter-spacing: -0.48px;
    color: #94A5AC !important;
}

.hl-history-tab-link.active,
.hl-history-tab-link:hover,
.hl-history-tab-link:focus {
    color: #141313 !important;
    border: 0 !important;
    border-bottom: 0 !important;
}

@media (max-width: 1399.98px) {
    .hl-investor-page-content {
        padding-top: 32px !important;
    }

    .hl-investor-page-title-row {
        margin-bottom: 40px !important;
    }

    .dashboard-right-col {
        width: 100%;
        max-width: 100%;
        margin-left: 0 !important;
    }

    .dashboard-right-col > * {
        width: 100%;
    }

    .hl-dashboard-balance-card,
    .hl-dashboard-portfolio-card {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .hl-dashboard-balance-card {
        height: auto;
    }

    .hl-dashboard-portfolio-bar {
        width: 100%;
    }

    .hl-smart-posts-row {
        gap: 8px;
    }

    .hl-smart-posts-container {
        width: auto;
        flex: 1 1 0;
        gap: 4px;
        padding: 0;
    }

    .hl-smart-posts-nav-btn {
        position: static;
        transform: none;
        flex-shrink: 0;
    }

    .hl-quick-actions-row {
        width: 100%;
        flex-wrap: wrap !important;
        gap: 8px;
    }

    .hl-quick-action-card {
        width: calc(50% - 4px);
        min-width: calc(50% - 4px);
        max-width: calc(50% - 4px);
        height: 90px;
        flex: 0 0 calc(50% - 4px);
    }

    .hl-funding-projects-grid {
        width: 100%;
    }

    .hl-funding-project-card {
        width: 100% !important;
        height: 342px;
    }

    .hl-funding-project-photo-wrap {
        width: 100%;
    }

    .hl-funding-project-body {
        height: 202px;
    }

    .hl-funding-project-progress-wrap {
        margin-top: 0;
    }

    .hl-history-tab-link {
        font-size: 24px;
    }

    .hl-mobile-heading-gap {
        margin-top: 16px;
    }

    /* На touch-устройствах отключаем hover-подъём карточек dashboard,
       чтобы карточки не наезжали друг на друга. */
    #dashboard-right-col .hover-elevate-up,
    #dashboard-right-col .hover-elevate-up:hover,
    #dashboard-right-col .hover-elevate-up:focus,
    #dashboard-right-col .hover-elevate-up:active {
        transform: none !important;
        translate: none !important;
        box-shadow: none !important;
        transition: none !important;
    }
}

@media (max-width: 991.98px) {
    .hl-promo-title-desktop {
        display: none;
    }

    .hl-promo-title-mobile {
        display: inline;
    }

    .hl-quick-action-title {
        width: 100%;
        text-align: left;
    }
}

@media (max-width: 575.98px) {
    .display-title {
        font-size: 32px !important;
    }

    .hl-smart-post-card {
        flex: 0 0 84px;
        width: 84px;
        height: 72px;
        border-radius: 8px;
        padding: 3px;
    }

    .hl-smart-post-card-inner {
        width: 78px;
        height: 66px;
        border-radius: 6px;
        padding: 6px;
    }

    .hl-smart-post-title {
        width: 66px;
        height: auto;
        font-size: 10px;
        line-height: 100%;
    }

    .hl-dashboard-balance-card {
        height: auto;
        min-height: auto;
        padding: 16px;
        gap: 16px;
    }

    .hl-dashboard-balance-top {
        gap: 8px;
    }

    .hl-dashboard-transactions-btn {
        min-width: 98px;
        font-size: 12px;
    }

    .hl-dashboard-balance-actions {
        gap: 8px;
    }

    .btn-sm-primary_hl,
    .sm-wite_hl {
        padding: 9px 12px;
        font-size: 13px;
    }

    .hl-dashboard-portfolio-card {
        min-height: auto;
        padding: 16px;
    }

    .hl-dashboard-portfolio-card--empty {
        min-height: 103px;
        height: 103px;
    }

    .hl-dashboard-portfolio-chip {
        min-width: auto;
        font-size: 13px;
    }

    .hl-funding-projects-grid {
        width: 100%;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hl-funding-project-card {
        width: 100%;
        height: 342px;
    }

    .hl-funding-project-photo-wrap {
        width: 100%;
        height: 140px;
        padding: 0;
    }

    .hl-funding-project-rate {
        font-size: 24px;
    }

    .hl-funding-project-progress-wrap {
        margin-top: 0;
    }

    .hl-history-tabs {
        gap: 16px;
    }

    .hl-history-tab-link {
        font-size: 20px;
    }
}

@media (max-width: 575.98px) {
    .hl-funding-projects-grid {
        grid-template-columns: 1fr;
    }
}

/* Глобальный оверлей-спинер для подтверждения сделок */

/* === Onboarding / Auth layout (index + start_register) === */
.logo-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}

/* Figma spacing for right auth column */
@media (min-width: 992px) {
    .login-content-shell {
        padding: 32px 188px !important;
    }

    .login-form-column {
        width: 100%;
        max-width: 419px !important;
    }

    .login-form-column-register {
        max-width: 380px !important;
    }
}

@media (max-width: 991.98px) {
    .logo-wrapper {
        position: static;
        padding-bottom: 0;
    }

    .onboarding-page .logo-wrapper .theme-light-show {
        height: 32px !important;
        width: auto;
        max-width: 220px;
    }

    .login-wrapper-mobile-top {
        padding-top: 0 !important;
        padding-bottom: 24px;
    }

    .login-content-shell {
        padding: 24px 16px !important;
    }

    .login-form-column {
        width: 100%;
        max-width: 419px;
        margin: 0 auto;
    }

    .login-form-column-register {
        max-width: 380px !important;
    }
}

@media (max-width: 576px) {
    .onboarding-page .login-wrapper-mobile-top {
        margin-top: 0;
    }
}

/* Unified onboarding input labels */
.onboarding-page .onboarding-form .hl-input-label,
.onboarding-page .onboarding-form .form-label {
    color: var(--text-strong, #3D4E52);
    font-family: 'Neue_2', sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 18.2px;
}

/* Unified vertical rhythm for onboarding inputs */
.onboarding-page .onboarding-form .onboarding-field-group,
.onboarding-page .onboarding-form .fv-row,
.onboarding-page .onboarding-form .form-floating,
.onboarding-page .onboarding-form [data-kt-password-meter="true"] {
    margin-bottom: 12px !important;
}

.onboarding-page .onboarding-form .onboarding-submit-block,
.onboarding-page .onboarding-form .d-grid.pt-5 {
    padding-top: 0 !important;
    margin-top: 12px;
}

/* Unified submit button behavior for onboarding forms */
.onboarding-page .onboarding-form button.onboarding-submit-block {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 50px !important;
    min-height: 50px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    line-height: 1 !important;
}

.onboarding-page .onboarding-form button.onboarding-submit-block:disabled,
.onboarding-page .onboarding-form button.onboarding-submit-block.disabled {
    background: var(--slate-100, #EDF2F4) !important;
    border-color: var(--slate-100, #EDF2F4) !important;
    color: var(--text-secondary, #5A6E75) !important;
}

.onboarding-page .onboarding-form button.onboarding-submit-block.is-loading {
    background: var(--text-primary, #141313) !important;
    border-color: var(--text-primary, #141313) !important;
    color: #ffffff !important;
    opacity: 1 !important;
}

.onboarding-page .onboarding-form .onboarding-login-fields-block {
    margin-top: 80px !important;
}

/* Unified onboarding title/subtitle typography */
.onboarding-page .onboarding-form h1,
.onboarding-page .onboarding-form .hl-onboarding-title,
.onboarding-page .hl-sms-verify-title {
    color: var(--text-primary, #141313);
    text-align: center;
    font-family: 'Neue_2', sans-serif;
    font-size: 40px;
    font-style: normal;
    font-weight: 450;
    line-height: 100%;
    letter-spacing: -1.6px;
    margin: 0;
}

.onboarding-page .onboarding-form p.text-center,
.onboarding-page .onboarding-form .hl-onboarding-subtitle,
.onboarding-page .hl-sms-verify-description {
    color: var(--text-secondary, #5A6E75);
    text-align: center;
    font-family: 'Neue_2', sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 450;
    line-height: 140%;
    letter-spacing: 0;
    margin: 12px 0 0;
}

/* Unified onboarding error notification */
.onboarding-page .onboarding-form .hl-onboarding-form-error {
    width: 100%;
    margin: 24px 0 0 !important;
    padding: 12px 16px;
    border-radius: 12px;
    border: 1px solid #ED7A90;
    background: #FDF1F4;
    color: #D64562;
    text-align: left;
    font-family: 'Neue_2', sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 450;
    line-height: 140%;
}

@media (max-width: 991.98px) {
    .onboarding-page .onboarding-form h1,
    .onboarding-page .onboarding-form .hl-onboarding-title,
    .onboarding-page .hl-sms-verify-title {
        font-size: 32px;
        letter-spacing: -0.96px;
    }
}

/* SMS confirmation page (onboarding/registration/sms_confirmation.html) */
.onboarding-page .hl-sms-verify-card {
    max-width: 380px;
}

.onboarding-page .hl-sms-verify-title {
    margin-bottom: 0;
}

.onboarding-page .hl-sms-verify-content {
    margin-top: 40px;
}

.onboarding-page .hl-sms-verify-description {
    margin-bottom: 40px;
}

.onboarding-page .hl-sms-code-group {
    gap: 8px;
    margin-bottom: 40px;
}

.onboarding-page .hl-sms-code-input {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    padding: 8px;
    margin: 0 !important;
    font-size: 48px;
    line-height: 1;
    font-weight: 500;
}

.onboarding-page .hl-sms-submit-wrap {
    margin-top: 40px;
}

.onboarding-page .hl-sms-submit {
    max-width: 380px;
    border-radius: 6px;
}

.onboarding-page #resend-code {
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
    min-height: auto !important;
    color: var(--system-System, #2D5BFF) !important;
    text-align: center;
    font-family: 'Neue_2', sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 140%;
}

.onboarding-page #resend-code:hover,
.onboarding-page #resend-code:focus {
    color: var(--system-System, #2D5BFF) !important;
    text-decoration: underline;
}

.onboarding-page .sms-timer {
    font-size: 14px;
    font-weight: 400;
    color: #6b7280;
    min-width: 240px;
}

.onboarding-page .sms-timer.expired {
    color: #991b1b;
    background-color: #fef2f2;
    border-color: #fecaca;
}

#personal_data_consent + label {
    color: var(--system-System, #2D5BFF);
    text-align: left;
    font-family: 'Neue_2', sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 18.2px;
}

#personal_data_consent + label a {
    color: var(--system-System, #2D5BFF) !important;
    text-decoration: underline;
    font-family: 'Neue_2', sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 18.2px;
}

#globalSpinnerOverlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.78); /* тёмный полупрозрачный фон */
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
}

#globalSpinnerOverlay.active {
  display: flex;
}

#globalSpinnerOverlay .spinner-box {
  background: rgba(17, 24, 39, 0.95);
  border-radius: 12px;
  padding: 24px 32px;
  max-width: 360px;
  width: 100%;
  text-align: center;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

#globalSpinnerOverlay .spinner-border {
  width: 3rem;
  height: 3rem;
  margin-bottom: 16px;
}

/* Dashboard registration status banner (alert-dismissible overlay) */
.registration-status-wrapper {
    position: fixed;
    top: 92px;
    /* pin to the right edge of the content container, not viewport edge */
    right: max(12px, calc((100vw - 1320px) / 2 + 16px));
    z-index: 1200;
    margin: 0;
    width: 340px;
    max-width: calc(100vw - 24px);
}

#registrationStatusAlert {
    margin: 0;
    border-radius: 8px;
    border-width: 1px;
    padding: 16px 48px 16px 16px;
    box-shadow: 0 2px 16px 0 rgba(0, 0, 0, 0.06);
}

#registrationStatusAlert.hl-status-banner-success {
    border-color: #4b9a84 !important;
    background: #e6f4ef !important;
    color: #245847 !important;
}

#registrationStatusAlert.hl-status-banner-warning {
    border-color: #d3a125 !important;
    background: #f5f2e4 !important;
    color: #141313 !important;
}

#registrationStatusAlert .registration-status-title {
    margin: 0 0 6px;
    color: var(--system-warning-text, #9a6b0a);
    font-family: 'Neue_2', sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 140%;
}

#registrationStatusAlert .registration-status-description {
    margin: 0;
    color: var(--text-primary, #141313);
    font-family: 'Neue_2', sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 450;
    line-height: 130%;
}

#registrationStatusAlert.hl-status-banner-success .registration-status-title {
    color: #1d7e5e;
}

#registrationStatusAlert .registration-status-action {
    display: inline-flex;
    padding: 8px 12px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 6px;
    background: #141313;
    color: #fff;
    font-family: 'Neue_2', sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 450;
    line-height: 130%;
    text-decoration: none;
    margin-top: 24px;
}

#registrationStatusAlert .registration-status-action:hover,
#registrationStatusAlert .registration-status-action:focus {
    color: #fff;
    background: #0f0f0f;
    text-decoration: none;
}

#registrationStatusAlert .registration-status-close {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 0;
}

@media (max-width: 991.98px) {
    .registration-status-wrapper {
        top: 72px;
        right: 8px;
        left: 8px;
        width: auto;
        max-width: none;
    }

    #registrationStatusAlert {
        padding: 12px 40px 12px 12px;
        border-radius: 10px;
    }

    #registrationStatusAlert .registration-status-title {
        margin-bottom: 4px;
        font-size: 24px;
        letter-spacing: -0.48px;
        line-height: 120%;
    }

    #registrationStatusAlert .registration-status-description {
        font-size: 14px;
        line-height: 130%;
    }

    #registrationStatusAlert .registration-status-action {
        width: 100%;
        margin-top: 12px;
        padding: 10px 12px;
        font-size: 14px;
    }

    #registrationStatusAlert .registration-status-close {
        top: 12px;
        right: 12px;
    }
}

@media (max-width: 575.98px) {
    #registrationStatusAlert .registration-status-title {
        font-size: 18px;
        letter-spacing: -0.24px;
    }

    #registrationStatusAlert .registration-status-description {
        font-size: 13px;
    }

    #registrationStatusAlert .registration-status-action {
        font-size: 13px;
    }
}


/* Management report page styles (moved from inline template style) */
        .operator-mgmt .card {
            border-radius: 6px;
            background: #fff;
        }
        .operator-mgmt .operator-section-title {
            font-size: 1.5rem;
            font-weight: 600;
            letter-spacing: -0.48px;
            margin-bottom: 0;
        }
        .operator-mgmt .mgmt-growth-badge {
            border-radius: var(--border-radius-radius-full, 999px);
            background: var(--system-success-bg, #D4EBE5);
        }
        .operator-mgmt .mgmt-bar-1 {
            border-radius: 4px;
            background: var(--forest-600, #2E5047);
        }
        .operator-mgmt .mgmt-bar-2 {
            border-radius: 4px;
            background: var(--forest-400, #6A9D92);
        }
        .operator-mgmt .mgmt-bar-3 {
            border-radius: 4px;
            background: var(--forest-200, #AECDC8);
        }
        .operator-mgmt .mgmt-bar-4 {
            border-radius: 4px;
            background: var(--forest-100, #D4E8E5);
        }
        .operator-mgmt .mgmt-mini-chart {
            margin-top: 12px;
            height: 120px;
        }
        .operator-mgmt .mgmt-main-chart {
            height: 320px;
            min-width: 100%;
        }
        .operator-mgmt .mgmt-main-chart-wrap {
            width: 100%;
            overflow-x: auto;
            overflow-y: hidden;
        }
        .operator-mgmt .mgmt-main-chart-inner {
            min-width: 100%;
            height: 320px;
        }
        .operator-mgmt .mgmt-hbar-wrap {
            width: 420px;
            max-width: 100%;
            height: 32px;
            display: flex;
            align-items: center;
        }
        .operator-mgmt .mgmt-hbar {
            height: 32px;
            border-radius: 4px;
            min-width: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 0 8px;
        }
        .operator-mgmt .mgmt-hbar-row {
            display: flex;
            align-items: center;
            gap: 12px;
        }
        .operator-mgmt .mgmt-hbar-name {
            width: 180px;
            min-width: 180px;
        }
        .operator-mgmt .mgmt-hbar-value {
            min-width: 110px;
            text-align: right;
            white-space: nowrap;
        }
        .operator-mgmt .mgmt-hbar-inside-value {
            font-size: 11px;
            line-height: 1;
            font-weight: 600;
            color: #ffffff;
            white-space: nowrap;
        }
        .operator-mgmt .mgmt-bar-3 .mgmt-hbar-inside-value,
        .operator-mgmt .mgmt-bar-4 .mgmt-hbar-inside-value {
            color: #2E5047;
        }
        .operator-mgmt .mgmt-donut-chart {
            min-height: 190px;
        }
        .operator-mgmt .executive-sales-pipeline-card,
        .operator-mgmt .executive-sales-donut-card {
            min-height: 300px;
        }
        .operator-mgmt .executive-sales-pipeline-card .card-body,
        .operator-mgmt .executive-sales-donut-card .card-body {
            overflow: hidden;
        }
        .operator-mgmt .executive-sales-donut-card .mgmt-donut-chart {
            min-height: 120px;
            height: 120px;
        }
        .operator-mgmt .executive-sales-pipeline-summary {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 16px;
        }
        .operator-mgmt .executive-sales-pipeline-dot {
            display: inline-block;
            width: 8px;
            height: 8px;
            margin-right: 6px;
            border-radius: 50%;
        }
        .operator-mgmt .executive-sales-pipeline-dot.is-active,
        .operator-mgmt .executive-sales-stacked-segment.is-active {
            background: #2E7D5B;
        }
        .operator-mgmt .executive-sales-pipeline-dot.is-no-activity,
        .operator-mgmt .executive-sales-stacked-segment.is-no-activity {
            background: #C79A4B;
        }
        .operator-mgmt .executive-sales-no-activity-value {
            color: #9A6B20;
        }
        .operator-mgmt .executive-sales-donut-legend {
            display: grid;
            gap: 6px;
            color: #667085;
            font-size: 12px;
        }
        .operator-mgmt .executive-sales-donut-legend > div {
            display: grid;
            grid-template-columns: auto minmax(0, 1fr) auto;
            align-items: center;
            gap: 5px;
        }
        .operator-mgmt .executive-sales-donut-legend strong {
            color: #1D2939;
            white-space: nowrap;
        }
        .operator-mgmt .executive-sales-stacked-pipeline {
            align-items: stretch;
            gap: 2px;
            overflow: hidden;
        }
        .operator-mgmt .executive-sales-stacked-segment {
            height: 24px;
            min-width: 0;
        }
        .operator-mgmt .executive-sales-pipeline-toolbar {
            display: inline-flex;
            margin-bottom: 20px;
            border: 1px solid #E1E5EE;
            border-radius: 6px;
            overflow: hidden;
        }
        .operator-mgmt .executive-sales-freshness-filter {
            min-height: 38px;
            padding: 8px 16px;
            border: 0;
            border-right: 1px solid #E1E5EE;
            background: #FFFFFF;
            color: #667085;
            font-weight: 600;
        }
        .operator-mgmt .executive-sales-freshness-filter:last-child {
            border-right: 0;
        }
        .operator-mgmt .executive-sales-freshness-filter.is-active {
            background: #EEF4F2;
            color: #2E5047;
        }
        .operator-mgmt .executive-sales-freshness-badge {
            display: inline-flex;
            align-items: center;
            min-height: 26px;
            padding: 4px 9px;
            border-radius: 999px;
            white-space: nowrap;
            font-size: 12px;
            font-weight: 600;
        }
        .operator-mgmt .executive-sales-freshness-badge.is-active {
            background: #DDF1E8;
            color: #236747;
        }
        .operator-mgmt .executive-sales-freshness-badge.is-no_activity {
            background: #F7EBD5;
            color: #8A5B16;
        }
        .operator-mgmt .executive-sales-investor-table-card .table {
            min-width: 1660px;
            table-layout: fixed;
        }
        .operator-mgmt .executive-sales-pipeline-table th,
        .operator-mgmt .executive-sales-pipeline-table td {
            vertical-align: middle;
        }
        .operator-mgmt .executive-sales-pipeline-table th:nth-child(1),
        .operator-mgmt .executive-sales-pipeline-table td:nth-child(1) {
            width: 240px;
            min-width: 240px;
            white-space: nowrap;
        }
        .operator-mgmt .executive-sales-pipeline-table th:nth-child(2),
        .operator-mgmt .executive-sales-pipeline-table td:nth-child(2) {
            width: 165px;
            min-width: 165px;
            white-space: nowrap;
        }
        .operator-mgmt .executive-sales-pipeline-table th:nth-child(3),
        .operator-mgmt .executive-sales-pipeline-table td:nth-child(3),
        .operator-mgmt .executive-sales-pipeline-table th:nth-child(4),
        .operator-mgmt .executive-sales-pipeline-table td:nth-child(4) {
            width: 90px;
            min-width: 90px;
            white-space: nowrap;
        }
        .operator-mgmt .executive-sales-pipeline-table th:nth-child(5),
        .operator-mgmt .executive-sales-pipeline-table td:nth-child(5) {
            width: 145px;
            min-width: 145px;
            white-space: nowrap;
        }
        .operator-mgmt .executive-sales-pipeline-table th:nth-child(6),
        .operator-mgmt .executive-sales-pipeline-table td:nth-child(6) {
            width: 120px;
            min-width: 120px;
            white-space: nowrap;
        }
        .operator-mgmt .executive-sales-pipeline-table th:nth-child(7),
        .operator-mgmt .executive-sales-pipeline-table td:nth-child(7) {
            width: 160px;
            min-width: 160px;
            white-space: nowrap;
        }
        .operator-mgmt .executive-sales-pipeline-table th:nth-child(8),
        .operator-mgmt .executive-sales-pipeline-table td:nth-child(8) {
            min-width: 650px;
            white-space: normal;
            overflow-wrap: break-word;
        }
        .operator-mgmt .executive-sales-pipeline-table thead th {
            cursor: pointer;
        }
        .operator-mgmt .executive-sales-datatable-footer {
            display: flex;
            justify-content: flex-end;
            margin-top: 24px;
        }
        .operator-mgmt .executive-sales-datatable-footer .dataTables_paginate {
            margin-left: auto;
        }
        .operator-mgmt .mgmt-donut-legend {
            display: flex;
            flex-direction: column;
            gap: 10px;
        }
        .operator-mgmt .mgmt-donut-legend-item {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 8px;
        }
        .operator-mgmt .mgmt-donut-dot {
            width: 10px;
            height: 10px;
            border-radius: 999px;
            flex-shrink: 0;
        }
        .operator-mgmt .mgmt-funnel {
            display: flex;
            flex-direction: column;
            gap: 10px;
            margin-top: 8px;
            align-items: center;
        }
        .operator-mgmt .mgmt-funnel-step {
            border-radius: 6px;
            padding: 8px 10px;
            color: #141313;
            min-height: 46px;
            min-width: 56px;
            max-width: 100%;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }
        .operator-mgmt .mgmt-funnel-step-top {
            width: 170px;
            max-width: 100%;
        }
        .operator-mgmt .mgmt-funnel-step-bottom {
            width: 130px;
            max-width: 100%;
        }
        .operator-mgmt .mgmt-funnel-step-title {
            font-size: 11px;
            line-height: 1.1;
            color: #667085;
        }
        .operator-mgmt .mgmt-funnel-step-value {
            font-size: 18px;
            line-height: 1;
            font-weight: 600;
        }
        .operator-mgmt-loader {
            position: fixed;
            inset: 0;
            background: rgba(20, 19, 19, 0.45);
            backdrop-filter: blur(2px);
            z-index: 9999;
            display: none;
            align-items: center;
            justify-content: center;
            padding: 16px;
        }
        .operator-mgmt-loader.is-visible {
            display: flex;
        }
        .operator-mgmt-loader-card {
            width: 100%;
            max-width: 460px;
            border-radius: 10px;
            background: #fff;
            box-shadow: 0 10px 24px rgba(0, 0, 0, 0.14);
            padding: 22px 20px;
        }
        .operator-mgmt-loader-head {
            display: flex;
            align-items: center;
            gap: 12px;
            margin-bottom: 12px;
        }
        .operator-mgmt-loader-spinner {
            width: 20px;
            height: 20px;
            border-radius: 50%;
            border: 2px solid #d4e8e5;
            border-top-color: #2e5047;
            animation: mgmt-spin 0.8s linear infinite;
            flex-shrink: 0;
        }
        .operator-mgmt-loader-title {
            margin: 0;
            font-size: 18px;
            font-weight: 600;
            color: #141313;
            line-height: 1.2;
        }
        .operator-mgmt-loader-status {
            margin: 0;
            color: #344054;
            font-size: 14px;
            line-height: 1.3;
            min-height: 18px;
        }
        @keyframes mgmt-spin {
            from { transform: rotate(0deg); }
            to { transform: rotate(360deg); }
        }
        @page {
            size: A4 landscape;
            margin: 10mm;
        }
        @media print {
            body {
                background: #fff !important;
            }
            .app-sidebar,
            .app-header,
            .app-footer,
            .breadcrumb,
            #operator-mgmt-loader,
            .mgmt-no-print {
                display: none !important;
            }
            #kt_app_main,
            #kt_app_content,
            #kt_app_content_container,
            .container,
            .operator-mgmt {
                max-width: 100% !important;
                width: 100% !important;
                margin: 0 !important;
                padding: 0 !important;
            }
            .row {
                --bs-gutter-x: 1rem !important;
                --bs-gutter-y: 1rem !important;
                display: flex !important;
                flex-wrap: wrap !important;
            }
            .operator-mgmt .col-xl-8 { width: 66.66666667% !important; }
            .operator-mgmt .col-xl-7 { width: 58.33333333% !important; }
            .operator-mgmt .col-xl-6 { width: 50% !important; }
            .operator-mgmt .col-xl-5 { width: 41.66666667% !important; }
            .operator-mgmt .col-xl-4 { width: 33.33333333% !important; }
            .operator-mgmt .col-xl-3 { width: 25% !important; }
            .operator-mgmt .col-xl-2 { width: 16.66666667% !important; }
            .operator-mgmt [class*="col-xl-"],
            .operator-mgmt [class*="col-md-"] {
                flex: 0 0 auto !important;
                max-width: 100% !important;
            }
            .operator-mgmt .card {
                box-shadow: none !important;
                border: 1px solid #edf0f3 !important;
                break-inside: avoid;
                page-break-inside: avoid;
                overflow: visible !important;
            }
            .operator-mgmt .card-body {
                overflow: visible !important;
            }
            .operator-mgmt .mgmt-hbar-wrap {
                width: 100% !important;
                max-width: 100% !important;
            }
            .operator-mgmt .mgmt-hbar-name {
                width: 120px !important;
                min-width: 120px !important;
            }
            .operator-mgmt .mgmt-hbar-value {
                min-width: 90px !important;
            }
            .operator-mgmt .mgmt-main-chart-wrap {
                overflow: hidden !important;
                width: 100% !important;
            }
            .operator-mgmt .mgmt-main-chart-inner,
            #mgmt-registrations-apex-chart-overall,
            #mgmt-registrations-apex-chart-period,
            #mgmt-users-mini-apex-chart-overall,
            #mgmt-users-mini-apex-chart-period {
                min-width: 0 !important;
                width: 100% !important;
                max-width: 100% !important;
            }
            .operator-mgmt .mgmt-main-chart-inner .apexcharts-canvas,
            .operator-mgmt .mgmt-main-chart-inner .apexcharts-svg,
            .operator-mgmt .mgmt-mini-chart .apexcharts-canvas,
            .operator-mgmt .mgmt-mini-chart .apexcharts-svg {
                max-width: 100% !important;
            }
            #mgmt-docs-donut-chart,
            #mgmt-primary-donut-chart {
                min-height: 160px !important;
                height: 160px !important;
            }
            .operator-mgmt .table {
                font-size: 11px !important;
            }
            .operator-mgmt .table td,
            .operator-mgmt .table th {
                padding-top: 0.45rem !important;
                padding-bottom: 0.45rem !important;
            }
        }

/* Dashboard balance card */
.hl-dashboard-balance-card {
  width: 100%;
  max-width: 365px;
  height: 171px;
  background: #ffffff;
  border-radius: 8px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  box-shadow: 0 1px 2px rgba(20, 19, 19, 0.04);
  box-sizing: border-box;
}

.hl-dashboard-balance-to-portfolio-gap {
  margin-bottom: 8px !important;
}

.hl-dashboard-balance-summary {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hl-dashboard-balance-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.hl-dashboard-balance-label {
  color: var(--text-tertiary, #7A9098);
  font-family: 'Neue_2', sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 130%;
}

.hl-dashboard-transactions-btn {
  min-width: 119px;
  height: 26px;
  border-radius: 6px;
  padding: 4px 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: #f5f7f8;
  color: #141313;
  font-family: 'Neue_2', sans-serif;
  font-size: 13px;
  font-style: normal;
  font-weight: 500;
  line-height: 100%;
  text-decoration: none;
  border: 1px solid #e4eaee;
  flex-shrink: 0;
}

.hl-dashboard-transactions-btn:hover {
  color: #141313;
  background: #eef2f4;
}

.hl-dashboard-balance-value {
  color: #141313;
  font-family: 'Neue_2', sans-serif;
  font-size: 24px;
  font-style: normal;
  font-weight: 500;
  line-height: 120%;
  letter-spacing: -0.02em;
}

.hl-dashboard-balance-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 0;
}

.hl-dashboard-portfolio-card {
  width: 365px;
  height: auto;
  min-height: 0;
  border-radius: 8px;
  background: #fff;
  padding: 24px;
  display: flex;
  flex-direction: column;
}

.hl-dashboard-portfolio-card--empty {
  height: 103px;
  min-height: 103px;
}

.hl-dashboard-portfolio-head {
  margin-bottom: 0;
}

.hl-dashboard-portfolio-head .hl-dashboard-balance-value {
  margin-top: 8px;
}

.hl-dashboard-portfolio-divider {
  height: 1px;
  width: 100%;
  background: #DDE3E8;
  margin: 24px 0;
}

.hl-dashboard-portfolio-structure-title {
  color: #94A5AC;
  font-family: 'Neue_2', sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 130%;
  margin-bottom: 12px;
}

.hl-dashboard-portfolio-bar {
  width: 317px;
  height: 32px;
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  gap: 1px;
  background: #DDE7E5;
}

.hl-dashboard-portfolio-apex {
  width: 317px;
  height: 32px;
}

.hl-dashboard-portfolio-segment {
  height: 100%;
  min-width: 0;
}

.hl-dashboard-portfolio-segment-loans {
  background: #2E5047;
}

.hl-dashboard-portfolio-segment-equities {
  background: #6A9D92;
}

.hl-dashboard-portfolio-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.hl-dashboard-portfolio-chip {
  min-width: 88px;
  height: 28px;
  border-radius: 999px;
  padding: 8px 10px;
  border: 1px solid #BFCFCC;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: #2E5047;
  font-family: 'Neue_2', sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 140%;
  white-space: nowrap;
}

.hl-dashboard-portfolio-action {
  margin-top: 40px;
  width: fit-content;
  flex: 0 0 auto !important;
  min-height: 52px;
  padding: 10px 24px;
}

.btn-sm-primary_hl,
.sm-wite_hl {
  height: 40px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 17px;
  font-family: 'Neue_2', sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 100%;
  text-decoration: none;
  transition: all 0.2s ease;
}

.hl-dashboard-balance-actions .btn-sm-primary_hl,
.hl-dashboard-balance-actions .sm-wite_hl {
  flex: 1 1 auto;
}

.btn-sm-primary_hl {
  border: 1px solid #141313;
  background: #141313;
  color: #fff;
}

.btn-sm-primary_hl:hover,
.btn-sm-primary_hl:focus {
  border-color: #141313;
  background: #2b2a2a;
  color: #fff;
}

.sm-wite_hl {
  border: 1px solid #dbe3e8;
  background: #fff;
  color: #141313;
}

.sm-wite_hl:hover,
.sm-wite_hl:focus {
  background: #f7f9fb;
  color: #141313;
}

/* Графики договоров и история фактических выплат в кабинете заёмщика. */
.borrower-payment-schedule {
  margin-bottom: 12px;
  overflow: hidden;
}

.borrower-payment-schedule__summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 24px;
  padding: 24px;
  cursor: pointer;
  list-style: none;
}

.borrower-payment-schedule__summary::-webkit-details-marker,
.borrower-tax-compliance > summary::-webkit-details-marker {
  display: none;
}

.borrower-payment-schedule__summary:focus-visible,
.borrower-tax-compliance > summary:focus-visible,
.borrower-payment-table-scroll:focus-visible {
  outline: 2px solid #141313;
  outline-offset: -3px;
}

.borrower-payment-schedule__toggle {
  white-space: nowrap;
}

.borrower-payment-schedule__hide,
.borrower-payment-schedule[open] > summary .borrower-payment-schedule__show {
  display: none;
}

.borrower-payment-schedule[open] > summary .borrower-payment-schedule__hide {
  display: inline;
}

.borrower-payment-schedule[open] > summary .bi-chevron-down,
.borrower-tax-compliance[open] > summary .bi-chevron-down,
.borrower-payment-row-action[aria-expanded="true"] .bi-chevron-down {
  transform: rotate(180deg);
}

.borrower-payment-schedule__body {
  min-width: 0;
  border-top: 1px solid #eef0f3;
}

.borrower-payment-table {
  min-width: 1080px;
}

.borrower-payment-table > thead > tr > th {
  min-width: 120px;
  max-width: 170px;
  padding-right: 16px;
  padding-left: 16px;
}

.borrower-payment-table > tbody > tr > td {
  padding-right: 16px;
  padding-left: 16px;
}

.borrower-payments td.text-end,
.borrower-tax-register__amounts dd {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.borrower-payment-row-action {
  width: 148px;
  white-space: nowrap;
}

.borrower-payment-recipient-table {
  min-width: 980px;
}

.borrower-tax-register {
  padding: 24px;
  border: 1px solid #eef0f3;
  border-radius: 8px;
  margin-bottom: 16px;
}

.borrower-tax-register__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.borrower-tax-register__header > a {
  flex-shrink: 0;
  white-space: nowrap;
}

.borrower-tax-register__amounts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 24px 0;
}

.borrower-tax-register__amounts dt {
  color: #5a6e75;
  font-size: 13px;
  font-weight: 400;
  margin-bottom: 8px;
}

.borrower-tax-register__amounts dd {
  font-size: 20px;
  font-weight: 500;
  margin: 0;
}

.borrower-tax-compliance {
  border-top: 1px solid #eef0f3;
  padding-top: 16px;
  margin-top: 20px;
}

.borrower-tax-compliance > summary {
  display: flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  cursor: pointer;
  list-style: none;
}

@media (max-width: 767.98px) {
  .borrower-payment-schedule__summary {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 16px;
    padding: 20px;
  }

  .borrower-payment-schedule__summary > span:first-child {
    grid-column: 1 / -1;
  }

  .borrower-payment-schedule__body,
  .borrower-tax-register {
    padding: 20px;
  }

  .borrower-tax-register__header > a {
    width: 100%;
  }

  .borrower-tax-register__amounts {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.btn-primary_h {
  width: 120px;
  height: 52px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 24px;
  border: 1px solid #141313;
  background: #141313;
  color: #fff;
  font-family: 'Neue_2', sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 130%;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-primary_h:hover,
.btn-primary_h:focus {
  border-color: #141313;
  background: #2b2a2a;
  color: #fff;
}

/* Cash-in modal */
.hl-cashin-modal {
  width: 400px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #dbe3e8;
}

/* Investor project purchase modal */
.hl-invest-purchase-dialog {
    max-width: 520px;
}

.hl-invest-purchase-modal {
    position: relative;
    padding: 20px;
    border: 0;
    border-radius: 12px;
    background: #ffffff;
    overflow: hidden;
}

.hl-invest-purchase-header {
    padding: 0 44px 32px 0;
    align-items: flex-start;
}

.hl-invest-purchase-title {
    gap: 8px;
    min-width: 0;
}

.hl-invest-purchase-project-name {
    color: var(--text-primary, #141313);
    font-family: 'TT Firs Neue', 'Neue_2', sans-serif;
    font-weight: 450;
    font-style: normal;
    font-size: 40px;
    line-height: 100%;
    letter-spacing: -0.04em;
    word-break: break-word;
}

.hl-invest-purchase-company-name {
    color: #727171;
    font-family: 'TT Firs Neue', 'Neue_2', sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: 18px;
    line-height: 110%;
    letter-spacing: 0;
}

.hl-invest-purchase-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 24px;
    height: 24px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--text-primary, #141313);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.hl-invest-purchase-close i {
    font-size: 16px;
    line-height: 1;
}

.hl-invest-purchase-form {
    margin: 0;
}

.hl-invest-purchase-panel {
    border-radius: 12px;
    background: #f2f2f3;
    overflow: hidden;
}

.hl-invest-purchase-balance {
    min-height: 80px;
    padding: 20px;
    border-bottom: 1px solid #d6d8db;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.hl-invest-purchase-balance-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.hl-invest-purchase-balance-label {
    color: #727171;
    font-family: 'TT Firs Neue', 'Neue_2', sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: 12px;
    line-height: 100%;
    letter-spacing: -0.01em;
}

.hl-invest-purchase-balance-label.text-danger {
    color: var(--bs-danger, #dc3545) !important;
}

.hl-invest-purchase-balance-value {
    color: var(--text-primary, #141313);
    font-family: 'TT Firs Neue', 'Neue_2', sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: 24px;
    line-height: 100%;
    letter-spacing: -0.04em;
    white-space: nowrap;
}

.hl-invest-purchase-topup-btn {
    min-height: 38px;
    padding: 10px 16px;
    border-radius: 6px;
    background: #151515;
    color: #ffffff !important;
    font-family: 'TT Firs Neue', 'Neue_2', sans-serif;
    font-weight: 450;
    font-style: normal;
    font-size: 14px;
    line-height: 120%;
    letter-spacing: 0;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

.hl-invest-purchase-topup-btn:hover,
.hl-invest-purchase-topup-btn:focus {
    background: #000000;
    color: #ffffff !important;
    text-decoration: none;
}

.hl-invest-purchase-body {
    padding: 32px 20px 20px !important;
}

.hl-invest-purchase-availability {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.hl-invest-purchase-available-title {
    color: var(--text-primary, #141313);
    font-family: 'TT Firs Neue', 'Neue_2', sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: 18px;
    line-height: 110%;
    letter-spacing: 0;
}

.hl-invest-purchase-available-meta {
    color: #727171;
    font-family: 'TT Firs Neue', 'Neue_2', sans-serif;
    font-weight: 450;
    font-style: normal;
    font-size: 14px;
    line-height: 130%;
    letter-spacing: 0;
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.hl-invest-purchase-available-hint {
    color: #727171;
    font-family: 'TT Firs Neue', 'Neue_2', sans-serif;
    font-weight: 450;
    font-style: normal;
    font-size: 14px;
    line-height: 130%;
    letter-spacing: 0;
}

.hl-invest-purchase-inputs {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 12px;
}

.hl-invest-purchase-inputs--single {
    grid-template-columns: minmax(0, 1fr);
}

.hl-invest-purchase-field {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hl-invest-purchase-label {
    margin: 0;
    color: var(--text-primary, #141313);
    font-family: 'TT Firs Neue', 'Neue_2', sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: 14px;
    line-height: 100%;
    letter-spacing: 0;
}

.hl-invest-purchase-input-group {
    height: 52px;
    margin: 0 !important;
    border: 1px solid #d6d8db;
    border-radius: 6px;
    background: #ffffff;
    overflow: hidden;
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
}

.hl-invest-purchase-input-group .hl-invest-purchase-input,
.hl-invest-purchase-input-group .hl-invest-purchase-input-addon {
    height: 100%;
    border: 0 !important;
    box-shadow: none !important;
    background: #ffffff !important;
}

.hl-invest-purchase-input-group .hl-invest-purchase-input {
    min-width: 0;
    padding: 10px 0 10px 16px;
    color: var(--text-primary, #141313);
    font-family: 'TT Firs Neue', 'Neue_2', sans-serif;
    font-weight: 450;
    font-style: normal;
    font-size: 16px !important;
    line-height: 140%;
    letter-spacing: 0;
}

.hl-invest-purchase-input-group .hl-invest-purchase-input-addon {
    width: auto;
    padding: 10px 16px 10px 8px;
    color: #727171;
    font-family: 'TT Firs Neue', 'Neue_2', sans-serif;
    font-weight: 450;
    font-style: normal;
    font-size: 14px !important;
    line-height: 130%;
    letter-spacing: 0;
}

.hl-invest-purchase-warning {
    width: 100%;
    margin: 6px 0 0;
    color: #ed7a90 !important;
    font-family: 'TT Firs Neue', 'Neue_2', sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: 12px;
    line-height: 130%;
    letter-spacing: 0;
}

.hl-invest-purchase-separator {
    border-color: #d6d8db;
    opacity: 1;
}

.hl-invest-purchase-summary {
    margin-right: 0;
    margin-left: 0;
    padding: 20px 20px 0 !important;
}

.hl-invest-purchase-summary .flex-stack {
    padding: 0;
}

.hl-invest-purchase-actions {
    margin-right: 0;
    margin-left: 0;
}

.hl-invest-purchase-actions > .btn {
    max-width: 100%;
    margin-right: 0;
    margin-left: 0;
}

.hl-invest-purchase-actions .btn-dark {
    min-height: 48px;
    border-radius: 6px !important;
    font-family: 'TT Firs Neue', 'Neue_2', sans-serif;
    font-weight: 450;
    font-size: 14px;
    line-height: 120%;
}

.hl-invest-purchase-modal .modal-footer {
    padding: 20px 0 0;
}

@media (max-width: 575.98px) {
    .hl-invest-purchase-modal {
        padding: 16px;
    }

    .hl-invest-purchase-header {
        padding-right: 36px;
        padding-bottom: 24px;
    }

    .hl-invest-purchase-project-name {
        font-size: 32px;
    }

    .hl-invest-purchase-company-name {
        font-size: 16px;
    }

    .hl-invest-purchase-balance {
        align-items: flex-start;
        flex-direction: column;
        gap: 16px;
    }

    .hl-invest-purchase-topup-btn {
        width: 100%;
    }

    .hl-invest-purchase-inputs {
        grid-template-columns: 1fr;
    }
}

.hl-cashin-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hl-cashin-title {
  margin: 0;
  color: #141313;
  font-family: 'Neue_2', sans-serif;
  font-size: 24px;
  font-style: normal;
  font-weight: 500;
  line-height: 120%;
  letter-spacing: -0.02em;
}

.hl-cashin-balance-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid #dbe3e8;
  border-radius: 6px;
  background: #fff;
  padding: 10px 14px;
}

.hl-cashin-balance-label {
  color: #5a6e75;
  font-family: 'Neue_2', sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 450;
  line-height: 130%;
}

.hl-cashin-balance-value {
  color: #141313;
  text-align: right;
  font-family: 'Neue_2', sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 130%;
}

.hl-cashin-input-label {
  margin: 0;
  color: #141313;
  font-family: 'Neue_2', sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 140%;
}

.hl-cashin-input-group {
  border: 1px solid #d0d5dd;
  border-radius: 6px;
  overflow: hidden;
}

.hl-cashin-input-group .form-control,
.hl-cashin-input-group .input-group-text {
  color: #141313;
  font-family: 'Neue_2', sans-serif;
  font-size: 24px;
  font-style: normal;
  font-weight: 500;
  line-height: 120%;
}

.hl-cashin-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hl-cashin-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid #dbe3e8;
  background: #fff;
  color: #141313;
  font-family: 'Neue_2', sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 100%;
}

.hl-cashin-chip:hover,
.hl-cashin-chip:focus {
  background: #f7f9fb;
  color: #141313;
}

/* Payment details pages */
.hl-payment-layout {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 40px;
}

.hl-payment-left-col {
  width: 365px;
  min-width: 365px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hl-payment-amount-card {
  width: 365px;
  min-height: 103px;
  border-radius: 16px;
  background: #fff;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hl-payment-amount-label {
  color: #5a6e75;
  font-family: 'Neue_2', sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 130%;
}

.hl-payment-amount-value {
  color: #141313;
  font-family: 'Neue_2', sans-serif;
  font-size: 24px;
  font-style: normal;
  font-weight: 500;
  line-height: 120%;
  letter-spacing: -0.02em;
}

.hl-payment-qr-card {
  width: 365px;
  min-height: 263px;
  border-radius: 16px;
  background: #fff;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hl-payment-qr-title {
  margin: 0 0 6px 0;
  color: #141313;
  font-family: 'Neue_2', sans-serif;
  font-size: 20px;
  font-style: normal;
  font-weight: 500;
  line-height: 120%;
}

.hl-payment-qr-help {
  margin: 0;
  color: #5a6e75;
  font-family: 'Neue_2', sans-serif;
  font-size: 13px;
  font-style: normal;
  font-weight: 450;
  line-height: 130%;
}

.hl-payment-qr-box {
  width: 112px;
  height: 112px;
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
}

.hl-payment-qr-img {
  width: 112px;
  height: 112px;
  object-fit: cover;
  display: block;
}

.hl-payment-requisites-card {
  width: 935px;
  min-height: 378px;
  border-radius: 16px;
  background: #fff;
  padding: 24px;
  flex: 1 1 auto;
}

@media (max-width: 1399.98px) {
  .hl-payment-layout {
    flex-direction: column;
  }

  .hl-payment-left-col,
  .hl-payment-amount-card,
  .hl-payment-qr-card,
  .hl-payment-requisites-card {
    width: 100%;
    min-width: 0;
  }
}

.hl-order-date {
    white-space: nowrap;
}

/* Top header icon buttons (wallet/notifications/profile/settings) */
.hl-top-icon-btn {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    padding: 0 !important;
    border-radius: 6px !important;
    gap: 10px;
    background: var(--bg-subtle, #EDF2F4) !important;
    border-color: transparent !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.hl-top-icon-btn:hover,
.hl-top-icon-btn:focus,
.hl-top-icon-btn:active {
    background: var(--bg-subtle, #EDF2F4) !important;
    border-color: transparent !important;
}

.hl-top-icon-btn .svg-icon svg,
.hl-top-icon-btn .svg-icon img {
    width: 16px !important;
    height: 16px !important;
}

.hl-top-icon-dot {
    position: absolute;
    top: 0;
    left: 0;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--border-error, #EA3737);
    transform: translate(-20%, -20%);
    z-index: 2;
}

.hl-top-icon-dot-right {
    left: auto;
    right: 0;
    transform: translate(20%, -20%);
}

.hl-wallet-menu-balance-label {
    color: #94a5ac !important;
    font-family: 'TT Firs Neue', 'Neue_2', sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: 12px;
    line-height: 100%;
    letter-spacing: -0.01em;
}

.hl-wallet-menu {
    overflow: hidden;
    border-radius: 6px !important;
    border: 0 !important;
    background: var(--bg-surface, #fff) !important;
}

.hl-wallet-menu-summary {
    padding: 24px 24px 20px 24px;
}

.hl-wallet-menu-balance-value {
    margin-top: 8px;
    color: var(--text-primary, #141313);
    font-family: 'Neue_2', sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: 24px;
    line-height: 120%;
    letter-spacing: -0.02em;
}

.hl-wallet-menu-link {
    color: var(--text-primary, #141313) !important;
    font-family: 'TT Firs Neue', 'Neue_2', sans-serif;
    font-weight: 500 !important;
    font-style: normal;
    font-size: 14px !important;
    line-height: 130%;
    letter-spacing: 0;
}

.hl-wallet-menu-row {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 56px;
    padding: 0 24px;
    border-top: 1px solid #dbe2e6;
    text-decoration: none;
    background: var(--bg-surface, #fff);
}

.hl-wallet-menu-row:hover,
.hl-wallet-menu-row:focus {
    background: #fafcfd;
}

.hl-wallet-menu-row-icon {
    width: 16px;
    height: 16px;
    color: var(--text-primary, #141313);
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.hl-wallet-menu-row-icon svg {
    width: 16px;
    height: 16px;
    display: block;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.hl-wallet-menu-badge {
    width: 16px;
    height: 16px;
    border-radius: 999px;
    background: var(--border-error, #EA3737);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    line-height: 1;
    font-weight: 500;
    flex: 0 0 auto;
}

.hl-investor-profile-menu {
    width: 360px !important;
    max-width: min(92vw, 360px);
    max-height: min(720px, calc(100vh - 96px));
    padding: 0 !important;
    overflow-x: hidden;
    overflow-y: auto;
    border-radius: 6px !important;
    border: 0 !important;
    background: var(--bg-surface, #fff) !important;
}

.hl-investor-profile-menu-summary {
    padding: 24px 24px 28px;
    border-bottom: 1px solid #dbe2e6;
}

.hl-investor-profile-menu-label {
    color: #3f8a4d;
    font-family: 'TT Firs Neue', 'Neue_2', sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: 14px;
    line-height: 130%;
    letter-spacing: 0;
}

.hl-investor-profile-menu-name {
    margin-top: 10px;
    color: var(--text-primary, #141313);
    font-family: 'TT Firs Neue', 'Neue_2', sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: 24px;
    line-height: 100%;
    letter-spacing: -0.04em;
}

.hl-investor-profile-menu-inn {
    margin-top: 12px;
    color: #777f83;
    font-family: 'TT Firs Neue', 'Neue_2', sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: 12px;
    line-height: 100%;
    letter-spacing: -0.01em;
}

.hl-investor-profile-menu-list + .hl-investor-profile-menu-list,
.hl-investor-profile-menu-borrower + .hl-investor-profile-menu-list {
    border-top: 1px solid #dbe2e6;
}

.hl-investor-profile-menu-row {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 56px;
    padding: 0 24px;
    color: var(--text-primary, #141313) !important;
    text-decoration: none;
    background: var(--bg-surface, #fff);
}

.hl-investor-profile-menu-row:hover,
.hl-investor-profile-menu-row:focus {
    color: var(--text-primary, #141313) !important;
    background: #fafcfd;
}

.hl-investor-profile-menu-row + .hl-investor-profile-menu-row {
    border-top: 1px solid #dbe2e6;
}

.hl-investor-profile-menu-row-icon {
    width: 16px;
    height: 16px;
    opacity: 1;
    color: var(--text-primary, #141313);
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.hl-investor-profile-menu-row-icon svg {
    width: 16px;
    height: 16px;
    display: block;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.hl-investor-profile-menu-link {
    color: var(--text-primary, #141313);
    font-family: 'TT Firs Neue', 'Neue_2', sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: 14px;
    line-height: 130%;
    letter-spacing: 0;
}

.hl-investor-profile-menu-borrower {
    padding: 18px 24px;
    border-top: 1px solid #dbe2e6;
}

.hl-investor-profile-menu-borrower-title {
    color: #94a5ac;
    font-family: 'TT Firs Neue', 'Neue_2', sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: 12px;
    line-height: 100%;
    letter-spacing: -0.01em;
}

.hl-investor-profile-menu-borrower-link {
    display: block;
    margin-top: 8px;
    color: var(--text-primary, #141313);
    font-family: 'TT Firs Neue', 'Neue_2', sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: 14px;
    line-height: 130%;
    letter-spacing: 0;
    text-decoration: none;
}

.hl-investor-profile-menu-borrower-link:hover,
.hl-investor-profile-menu-borrower-link:focus {
    color: var(--text-primary, #141313);
    text-decoration: none;
}

.hl-investor-profile-menu-profiles {
    padding: 24px 24px 20px;
    border-top: 1px solid #dbe2e6;
}

.hl-investor-profile-menu-profiles-title {
    margin-bottom: 16px;
    color: #777f83;
    font-family: 'TT Firs Neue', 'Neue_2', sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: 14px;
    line-height: 130%;
    letter-spacing: 0;
}

.hl-investor-profile-switch-form {
    margin: 0 0 8px;
}

.hl-investor-profile-switch-btn {
    width: 100%;
    min-height: 52px;
    padding: 10px 12px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hl-investor-profile-switch-btn:hover,
.hl-investor-profile-switch-btn:focus {
    background: var(--bg-subtle, #EDF2F4);
}

.hl-investor-profile-switch-title {
    color: var(--text-primary, #141313);
    font-family: 'TT Firs Neue', 'Neue_2', sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: 14px;
    line-height: 130%;
    letter-spacing: 0;
}

.hl-investor-profile-switch-meta {
    margin-top: 4px;
    color: #777f83;
    font-family: 'TT Firs Neue', 'Neue_2', sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: 12px;
    line-height: 130%;
    letter-spacing: 0;
}

.hl-investor-profile-add-btn {
    width: 100%;
    min-height: 48px;
    margin-top: 16px;
    border: 0;
    border-radius: 6px;
    background: var(--text-primary, #141313);
    color: #fff;
    font-family: 'TT Firs Neue', 'Neue_2', sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: 14px;
    line-height: 130%;
    letter-spacing: 0;
}

.hl-investor-profile-add-btn:hover,
.hl-investor-profile-add-btn:focus {
    background: #000;
    color: #fff;
}

@media (max-width: 991.98px) {
    .hl-investor-profile-menu {
        position: fixed !important;
        top: calc(env(safe-area-inset-top, 0px) + 12px) !important;
        right: auto !important;
        bottom: auto !important;
        left: 50% !important;
        width: min(92vw, 360px) !important;
        max-width: min(92vw, 360px) !important;
        max-height: calc(100dvh - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px) - 24px);
        transform: translateX(-50%) !important;
        overflow-x: hidden;
        overflow-y: auto;
    }
}

.hl-invest-limit-modal-content {
    width: 100%;
    max-width: 420px;
    border-radius: 8px;
    border: 0;
    padding: 8px;
}

.hl-qualified-investor-badge {
    height: 32px;
    padding: 0 12px;
    border: 1px solid var(--system-success-text, #1A7A45);
    border-radius: 4px;
    background: #ffffff;
    color: var(--text-primary, #141313);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    white-space: nowrap;
}

.hl-qualified-investor-badge-icon {
    width: 16px;
    height: 16px;
    color: var(--system-success-text, #1A7A45);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.hl-qualified-investor-badge-icon svg {
    width: 16px;
    height: 16px;
    display: block;
}

.hl-qualified-investor-badge-text {
    color: var(--text-primary, #141313);
    font-family: 'TT Firs Neue', 'Neue_2', sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: 14px;
    line-height: 130%;
    letter-spacing: 0;
}

.hl-invest-limit-btn {
    width: 158px !important;
    height: 32px !important;
    min-width: 158px !important;
    padding: 0 !important;
    gap: 0;
    border-radius: 6px !important;
    border-width: 1px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    overflow: hidden;
    position: relative;
    --limit-color: var(--text-primary, #141313);
    --limit-track: var(--bg-muted, #E2EAEC);
}

.hl-invest-limit-btn-text {
    color: var(--text-primary, #141313);
    font-family: 'Neue_2', sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: 14px;
    line-height: 130%;
    letter-spacing: 0;
    white-space: nowrap;
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 0 30px 0 8px;
    height: 100%;
    min-width: 0;
}

.hl-invest-limit-btn--normal {
    border-color: #dbe3e8 !important;
}

.hl-invest-limit-btn--warning {
    border-color: var(--system-warning-text, #9A6B0A) !important;
    --limit-color: var(--system-warning-text, #9A6B0A);
}

.hl-invest-limit-btn--error {
    border-color: var(--system-error-border, #E08080) !important;
    --limit-color: var(--system-error-text, #7A2020);
}

.hl-invest-limit-indicator {
    width: 16px;
    height: 16px;
    border-radius: 999px;
    background:
      conic-gradient(
        from 90deg,
        var(--limit-color) 0 calc(var(--limit-progress, 0) * 1%),
        var(--limit-track) calc(var(--limit-progress, 0) * 1%) 100%
      );
    display: inline-block;
    position: relative;
    flex: 0 0 auto;
    margin-right: 4px;
    box-shadow: none;
}

.hl-invest-limit-value {
    margin-right: 0;
    min-width: 0;
    font-size: 12px;
    line-height: 1;
    letter-spacing: -0.01em;
    overflow: visible;
    flex: 0 0 auto;
}

.hl-invest-limit-indicator::after {
    content: "";
    position: absolute;
    inset: 3px;
    border-radius: 999px;
    background: #fff;
}

.hl-invest-limit-help-icon {
    margin-left: 0;
    font-size: 11px;
    color: #94a5ac;
    flex: 0 0 auto;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
}

.hl-invest-limit-modal-title {
    color: var(--text-primary, #141313);
    font-family: 'Neue_2', sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: 24px;
    line-height: 120%;
    letter-spacing: -0.02em;
}

.hl-invest-limit-amount-box {
    border: 1px solid #d8e2e5;
    border-radius: 6px;
    padding: 14px 16px;
}

.hl-invest-limit-box--normal {
    border-color: #d8e2e5;
}

.hl-invest-limit-box--warning {
    border-color: var(--system-warning-text, #9A6B0A);
}

.hl-invest-limit-box--warning .hl-invest-limit-amount {
    color: var(--system-warning-text, #9A6B0A);
}

.hl-invest-limit-box--error {
    border: 1px solid var(--system-error-border, #E08080);
    background: rgba(122, 32, 32, 0.08);
}

.hl-invest-limit-box--error .hl-invest-limit-amount {
    color: var(--system-error-text, #7A2020);
}

.hl-invest-limit-subtitle {
    color: var(--text-primary, #141313);
    font-family: 'Neue_2', sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: 14px;
    line-height: 130%;
    letter-spacing: 0;
}

.hl-invest-limit-amount {
    margin-top: 8px;
    color: var(--text-primary, #141313);
    font-family: 'Neue_2', sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: 24px;
    line-height: 120%;
    letter-spacing: -0.02em;
}

.hl-invest-limit-rows {
    border-top: 1px solid #d8e2e5;
}

.hl-invest-limit-row {
    min-height: 46px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-bottom: 1px solid #d8e2e5;
}

.hl-invest-limit-row-label {
    color: #5a6e75;
    font-family: 'Neue_2', sans-serif;
    font-weight: 450;
    font-style: normal;
    font-size: 14px;
    line-height: 130%;
    letter-spacing: 0;
}

.hl-invest-limit-row-value {
    color: var(--text-primary, #141313);
    text-align: right;
    font-family: 'Neue_2', sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: 14px;
    line-height: 130%;
    letter-spacing: 0;
}

.hl-invest-limit-used--warning {
    color: var(--system-warning-text, #9A6B0A);
}

.hl-invest-limit-used--error {
    color: var(--system-error-text, #7A2020);
}

/* Investments page: left KPI cards same dimensions as dashboard cards */
.investments-left-kpi-card {
  min-height: 171px;
  border-radius: 8px !important;
  padding: 24px !important;
  gap: 32px;
}

@media (min-width: 1200px) {
  .investments-left-col {
    width: 365px;
    flex: 0 0 365px;
    max-width: 365px;
  }

  .investments-right-col {
    width: 887px;
    flex: 0 0 887px;
    max-width: 887px;
  }

  .investments-right-col > * {
    width: 100%;
  }
}

@media (max-width: 1199.98px) {
  .investments-right-col {
    width: 100%;
    max-width: 100%;
    margin-left: 0 !important;
  }
}

/* Legacy helper class kept in templates; width is controlled centrally in account_base. */

/* Регистрация инвестора: выбор после подтверждения телефона */
.hl-registration-choice-mode {
    margin-bottom: 0 !important;
    background: #f3f3f3 !important;
}

.hl-registration-choice-mode .header-menu,
.hl-registration-choice-mode #kt_app_header_secondary_toggle,
.hl-registration-choice-mode .hl-floating-chat,
.hl-registration-choice-mode .hl-investor-footer {
    display: none !important;
}

.hl-registration-choice-mode #kt_app_header {
    min-height: 72px;
    border-bottom: 1px solid rgba(148, 165, 172, 0.2);
    background: #fff;
}

.hl-registration-choice-mode #kt_app_header_primary_container {
    width: 100%;
    max-width: none !important;
    min-height: 72px;
    padding: 15px 40px !important;
}

.hl-registration-choice-mode .app-header-left {
    margin-left: 0 !important;
}

.hl-registration-choice-mode .hl-investor-content-root {
    min-height: calc(100vh - 72px);
    background: #f3f3f3;
}

.hl-next-step {
    width: 100%;
    min-height: calc(100vh - 72px);
    padding: 80px 24px;
    color: #141313;
    background: #f3f3f3;
    font-family: 'Neue_2', 'TT Firs Neue', sans-serif;
}

.hl-next-step,
.hl-next-step * {
    box-sizing: border-box;
}

.hl-next-step__content {
    display: flex;
    width: 100%;
    max-width: 680px;
    margin: 0 auto;
    flex-direction: column;
    align-items: center;
    gap: 60px;
}

.hl-next-step__heading {
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
}

.hl-next-step__title {
    margin: 0;
    color: #141313;
    font-size: 64px;
    font-weight: 400;
    line-height: 1;
    letter-spacing: -2.56px;
}

.hl-next-step__subtitle {
    margin: 0;
    color: #5a6e75;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.4;
}

.hl-next-step__cards {
    display: flex;
    width: 100%;
    align-items: stretch;
    gap: 12px;
}

.hl-next-step-card {
    display: flex;
    width: calc((100% - 12px) / 2);
    min-height: 360px;
    padding: 40px;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    border: 1px solid rgba(148, 165, 172, 0.2);
    border-radius: 10px;
    background: #fff;
}

.hl-next-step-card__body {
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.hl-next-step-card__icon {
    display: block;
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
}

.hl-next-step-card__copy {
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
}

.hl-next-step-card__title {
    margin: 0;
    color: #141313;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.1;
}

.hl-next-step-card__description {
    margin: 0;
    color: #5a6e75;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.3;
}

.hl-next-step-card__action {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.hl-next-step-card__duration {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #5a6e75;
    font-size: 12px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: -0.12px;
    white-space: nowrap;
}

.hl-next-step-card__duration img {
    display: block;
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
}

.hl-next-step-card__button,
.hl-next-step-card__button:visited {
    display: inline-flex;
    min-height: 36px;
    padding: 7px 16px;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.3;
    text-decoration: none;
    white-space: nowrap;
}

.hl-next-step-card__button--secondary,
.hl-next-step-card__button--secondary:visited {
    color: #3d4e52;
    background: #edf2f4;
}

.hl-next-step-card__button--secondary:hover,
.hl-next-step-card__button--secondary:focus {
    color: #141313;
    background: #e2e9ec;
}

.hl-next-step-card__button--primary,
.hl-next-step-card__button--primary:visited {
    color: #fff;
    background: #141313;
}

.hl-next-step-card__button--primary:hover,
.hl-next-step-card__button--primary:focus {
    color: #fff;
    background: #303030;
}

@media (max-width: 767.98px) {
    .hl-registration-choice-mode #kt_app_header {
        min-height: 56px;
    }

    .hl-registration-choice-mode #kt_app_header_primary_container {
        min-height: 56px;
        padding: 10px 12px !important;
    }

    .hl-registration-choice-mode .hl-investor-content-root,
    .hl-next-step {
        min-height: calc(100vh - 56px);
    }

    .hl-next-step {
        padding: 48px 16px;
    }

    .hl-next-step__content {
        max-width: 420px;
        gap: 40px;
    }

    .hl-next-step__title {
        font-size: 44px;
        letter-spacing: -1.76px;
    }

    .hl-next-step__subtitle {
        max-width: 360px;
        font-size: 15px;
    }

    .hl-next-step__cards {
        flex-direction: column;
    }

    .hl-next-step-card {
        width: 100%;
        min-height: 332px;
    }
}

@media (max-width: 374.98px) {
    .hl-next-step {
        padding-right: 12px;
        padding-left: 12px;
    }

    .hl-next-step__title {
        font-size: 38px;
    }

    .hl-next-step-card {
        padding: 32px 24px;
    }
}

/* Referral landing v2 */
:root {
    --lp2-black: #151515;
    --lp2-muted: #5a6e75;
    --lp2-line: #c5d0d4;
    --lp2-soft-line: #e5eae9;
    --lp2-bg: #f3f3f3;
    --lp2-yellow: #fadd73;
}

html {
    scroll-behavior: smooth;
}

body.lp2-page {
    margin: 0;
    background: var(--lp2-bg);
    color: var(--lp2-black);
    font-family: "TT Firs Neue", Inter, Arial, sans-serif;
    overflow-x: hidden;
}

.lp2-page * {
    box-sizing: border-box;
    letter-spacing: 0;
}

.lp2-section {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
}

.lp2-btn {
    min-height: 48px;
    border: 0;
    border-radius: 100px;
    padding: 10px 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: var(--lp2-black);
    font-family: "TT Firs Neue", Arial, sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.3;
    text-decoration: none;
    text-transform: uppercase;
    white-space: nowrap;
}

.lp2-intro-left > .lp2-btn,
.lp2-legal-left > .lp2-btn {
    width: 260px;
    max-width: 100%;
}

.lp2-btn--white {
    background: #fff;
    color: var(--lp2-black);
}

.lp2-header {
    width: 100%;
    max-width: 1440px;
    height: 72px;
    padding: 15px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: absolute;
    left: 50%;
    top: 0;
    z-index: 10;
    transform: translateX(-50%);
}

.lp2-header-logo {
    width: 304px;
    aspect-ratio: 304 / 33.7736;
    height: auto;
    display: block;
    object-fit: contain;
}

.lp2-header .lp2-btn {
    min-height: 32px;
    padding: 10px 15px;
    font-size: 12px;
    line-height: 1;
}

.lp2-hero {
    height: 800px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 60px;
    position: relative;
    overflow: hidden;
    background: var(--lp2-bg);
}

.lp2-hero::before {
    content: "";
    width: 148.73%;
    height: 148.68%;
    position: absolute;
    left: -18.06%;
    top: -24.34%;
    background: url("../media/landpage/v2/hero-bg.png") center / cover no-repeat;
    pointer-events: none;
}

.lp2-hero-content,
.lp2-hero-kicker {
    position: relative;
    z-index: 1;
}

.lp2-hero-kicker {
    display: flex;
    align-items: flex-start;
    color: var(--lp2-black);
    font-size: 14px;
    line-height: 1.3;
}

.lp2-hero-kicker-item {
    padding: 8px 24px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.lp2-hero-kicker-item:first-child {
    padding-left: 0;
    border-right: 1px solid #323232;
}

.lp2-hero-kicker-icon {
    width: 16px;
    height: 16px;
    display: block;
}

.lp2-hero-title {
    width: min(1190px, 100%);
    margin: 0;
    font-size: 82px;
    font-weight: 450;
    line-height: 0.86;
    color: var(--lp2-black);
}

.lp2-hero-subtitle {
    width: 642px;
    max-width: 100%;
    margin: 40px 0 0;
    color: var(--lp2-black);
    font-size: 24px;
    font-weight: 450;
    line-height: 1.3;
}

.lp2-hero-action {
    margin-top: 60px;
}

.lp2-intro {
    height: 760px;
    padding-bottom: 150px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    overflow: hidden;
    background: var(--lp2-bg);
}

.lp2-intro-left {
    height: 610px;
    padding: 40px 40.5px 40.5px 40px;
    border-right: 1px solid var(--lp2-line);
    border-bottom: 1px solid var(--lp2-line);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.lp2-intro-copy {
    display: flex;
    flex-direction: column;
    gap: 32px;
    color: var(--lp2-black);
    font-size: 36px;
    font-weight: 450;
    line-height: 1.1;
}

.lp2-intro-copy p {
    margin: 0;
}

.lp2-metrics {
    height: 610px;
    display: flex;
    flex-direction: column;
}

.lp2-metric-main,
.lp2-metric-row {
    border-bottom: 1px solid var(--lp2-line);
}

.lp2-metric-main {
    height: 267px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.lp2-metric-value {
    font-size: 120px;
    font-weight: 450;
    line-height: 1;
    color: var(--lp2-black);
}

.lp2-metric-label {
    color: var(--lp2-muted);
    font-size: 20px;
    line-height: 1.3;
}

.lp2-metric-row {
    min-height: 106px;
    padding: 32px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.lp2-metric-row--grow {
    flex: 1;
}

.lp2-metric-row-label {
    color: var(--lp2-muted);
    font-size: 16px;
    line-height: 1.4;
}

.lp2-metric-row-value {
    color: var(--lp2-black);
    font-size: 32px;
    font-weight: 500;
    line-height: 1.3;
    text-align: right;
}

.risk-profile-finance-card .risk-profile-facts > div > span:first-child,
.risk-profile-finance-card .risk-profile-tax-row > span:first-child {
    min-width: 0;
    flex: 1 1 auto;
}

.risk-profile-finance-card .risk-profile-facts > div > span:last-child,
.risk-profile-finance-card .risk-profile-tax-row > span:last-child {
    flex: 0 0 118px;
    min-width: 118px;
    max-width: 118px;
    text-align: right;
    white-space: nowrap;
    word-break: normal;
}

.lp2-projects {
    padding: 0 0 150px 40px;
    background: var(--lp2-bg);
}

.lp2-caption {
    margin: 0 0 20px;
    color: var(--lp2-black);
    font-size: 16px;
    line-height: 1.3;
}

.lp2-project-track {
    width: 100%;
    display: flex;
    align-items: stretch;
    gap: 20px;
    overflow-x: auto;
    padding-right: 40px;
    scrollbar-width: thin;
}

.lp2-project-card {
    width: 420px;
    flex: 0 0 420px;
    display: flex;
    flex-direction: column;
    background: #fff;
}

.lp2-project-image {
    height: 240px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-size: cover;
    background-position: center;
}

.lp2-project-badges {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    flex-wrap: wrap;
}

.lp2-project-badge {
    padding: 4px 6px;
    border-radius: 2px;
    background: #fff;
    color: var(--lp2-black);
    font-size: 14px;
    line-height: 1.2;
}

.lp2-project-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: #fff;
}

.lp2-project-head {
    min-height: 170px;
    padding: 18.795px 20px 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.lp2-project-title {
    min-height: 3.3em;
    margin: 0;
    display: -webkit-box;
    overflow: hidden;
    font-size: 32px;
    font-weight: 500;
    line-height: 1.1;
    color: var(--lp2-black);
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.lp2-project-location {
    min-height: 1.2em;
    margin: 0;
    font-size: 14px;
    line-height: 1.2;
    color: var(--lp2-black);
}

.lp2-project-specs {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.lp2-project-spec {
    min-height: 66px;
    padding: 11px 20px 12px;
    border-bottom: 1px solid var(--lp2-soft-line);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.lp2-project-spec-label,
.lp2-round-label,
.lp2-round-small {
    color: rgba(21, 21, 21, 0.5);
    font-size: 12px;
    line-height: 1.2;
}

.lp2-project-spec-value {
    color: var(--lp2-black);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.2;
}

.lp-project-hidden-yield-icon {
    position: relative;
    width: 18px;
    height: 12px;
    display: inline-block;
    color: #8a8d8f;
    vertical-align: -1px;
}

.lp-project-hidden-yield-icon::before {
    content: "";
    position: absolute;
    inset: 2px 1px;
    border: 1.5px solid currentColor;
    border-radius: 50% / 65%;
}

.lp-project-hidden-yield-icon::after {
    content: "";
    position: absolute;
    top: 5px;
    left: -1px;
    width: 20px;
    height: 1.5px;
    background: currentColor;
    transform: rotate(-48deg);
    transform-origin: center;
}

.lp2-round {
    padding: 16px 20px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
}

.lp2-round-number {
    color: var(--lp2-black);
    font-size: 12px;
    line-height: 1.2;
}

.lp2-round-value {
    margin-top: 7px;
    color: var(--lp2-black);
    font-size: 36px;
    line-height: 1;
}

.lp2-round-right {
    min-width: 71px;
}

.lp2-progress {
    height: 8px;
    margin: 0 20px;
    border-radius: 100px;
    background: #e5eae9;
    overflow: hidden;
}

.lp2-progress-fill {
    width: 25%;
    height: 100%;
    border-radius: inherit;
    background: var(--lp2-black);
}

.lp2-project-action {
    height: 108px;
    margin-top: auto;
    padding: 40px 20px 20px;
}

.lp2-how {
    height: 800px;
    background: #fff;
}

.lp2-how-head {
    height: 446px;
    padding: 150px 40px 40px;
}

.lp2-how-title {
    width: 1005px;
    max-width: 100%;
    margin: 0;
    font-size: 64px;
    font-weight: 450;
    line-height: 1.1;
    color: var(--lp2-black);
}

.lp2-how-subtitle {
    width: 1360px;
    max-width: 100%;
    margin: 40px 0 0;
    color: var(--lp2-black);
    font-size: 20px;
    line-height: 1.4;
}

.lp2-how-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-top: 1px solid var(--lp2-line);
}

.lp2-how-item {
    min-height: 177px;
    padding: 40px;
    border-right: 1px solid var(--lp2-line);
    border-bottom: 1px solid var(--lp2-line);
    display: grid;
    grid-template-columns: 40px 1fr;
    gap: 60px;
}

.lp2-how-icon {
    width: 40px;
    height: 40px;
}

.lp2-how-item-title {
    margin: 0;
    color: var(--lp2-black);
    font-size: 32px;
    font-weight: 500;
    line-height: 1.1;
}

.lp2-how-item-text {
    margin: 20px 0 0;
    color: var(--lp2-muted);
    font-size: 16px;
    line-height: 1.3;
}

.lp2-cta {
    min-height: 336px;
    padding: 80px 40px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 48px;
    position: relative;
    overflow: hidden;
    background: #141313;
    color: #fff;
}

.lp2-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("../media/landpage/v2/cta-bg.png") center / cover no-repeat;
    opacity: 1;
}

.lp2-cta-content {
    width: 660px;
    max-width: 100%;
    position: relative;
    z-index: 1;
}

.lp2-cta-title {
    margin: 0;
    color: #fff;
    font-size: 40px;
    font-weight: 450;
    line-height: 1.2;
}

.lp2-cta-subtitle {
    width: 547px;
    max-width: 100%;
    margin: 24px 0 0;
    color: #fff;
    font-size: 20px;
    line-height: 1.4;
}

.lp2-cta-subtitle span {
    color: var(--lp2-yellow);
}

.lp2-cta .lp2-btn {
    width: 260px;
    max-width: 100%;
    position: relative;
    z-index: 1;
    padding: 10px 32px;
    font-size: 16px;
}

.lp2-benefits {
    height: 684px;
    background: #fff;
}

.lp2-benefits-head {
    height: 350px;
    padding: 150px 40px 60px;
}

.lp2-benefits-title {
    width: 1236px;
    max-width: 100%;
    margin: 0;
    color: var(--lp2-black);
    font-size: 64px;
    font-weight: 450;
    line-height: 1.1;
}

.lp2-benefit-grid {
    height: 334px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--lp2-line);
    border-bottom: 1px solid var(--lp2-line);
}

.lp2-benefit-card {
    padding: 40px;
    border-right: 1px solid var(--lp2-line);
}

.lp2-benefit-card:last-child {
    border-right: 0;
}

.lp2-benefit-icon {
    width: 40px;
    height: 40px;
}

.lp2-benefit-title {
    margin: 40px 0 0;
    color: var(--lp2-black);
    font-size: 32px;
    font-weight: 500;
    line-height: 1.1;
}

.lp2-benefit-text {
    margin: 40px 0 0;
    color: var(--lp2-muted);
    font-size: 16px;
    line-height: 1.3;
}

.lp2-legal {
    height: 798px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-bottom: 1px solid var(--lp2-line);
    background: var(--lp2-bg);
}

.lp2-legal-left {
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: #d5d8d9;
}

.lp2-legal-title {
    margin: 0;
    color: var(--lp2-black);
    font-size: 64px;
    font-weight: 450;
    line-height: 1.1;
}

.lp2-legal-text {
    margin: 60px 0 0;
    color: var(--lp2-black);
    font-size: 20px;
    line-height: 1.4;
}

.lp2-legal-list {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: var(--lp2-bg);
}

.lp2-legal-item {
    min-height: 189px;
    padding: 40px;
    border-bottom: 1px solid var(--lp2-line);
}

.lp2-legal-item:first-child,
.lp2-legal-item:last-child {
    min-height: 210px;
}

.lp2-legal-item-head {
    display: flex;
    align-items: center;
    gap: 32px;
}

.lp2-legal-icon {
    width: 32px;
    height: 32px;
}

.lp2-legal-item-title {
    margin: 0;
    color: var(--lp2-black);
    font-size: 32px;
    font-weight: 500;
    line-height: 1.1;
}

.lp2-legal-item-text {
    margin: 32px 0 0;
    color: var(--lp2-muted);
    font-size: 16px;
    line-height: 1.3;
}

.lp2-partners {
    min-height: 601px;
    padding: 150px 40px;
    background: var(--lp2-bg);
}

.lp2-partner-grid {
    min-height: 240px;
    margin-top: 40px;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.lp2-partner-logo {
    width: 300px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lp2-partner-logo img {
    width: 300px;
    height: 100px;
    display: block;
    object-fit: contain;
}

.lp2-footer {
    padding: 150px 40px 20px;
    background: #fff;
}

.lp2-footer-top {
    min-height: 160px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 80px;
}

.lp2-footer-social-title {
    margin: 0;
    color: var(--lp2-black);
    font-size: 20px;
    line-height: 1.4;
}

.lp2-footer-links {
    margin-top: 40px;
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.lp2-footer-links a {
    color: var(--lp2-black);
    text-decoration: none;
}

.lp2-footer-socials a {
    font-size: 24px;
    line-height: 1.3;
}

.lp2-footer-docs a,
.lp2-footer-address {
    font-size: 16px;
    line-height: 1.3;
}

.lp2-footer-address {
    width: 231px;
    margin-top: 70px;
}

.lp2-footer-brand {
    width: 100%;
    aspect-ratio: 1360 / 217;
    height: auto;
    margin-top: 80px;
    object-fit: contain;
    object-position: left bottom;
    display: block;
}

@media (max-width: 1199px) {
    .lp2-hero-title {
        font-size: 68px;
    }

    .lp2-intro,
    .lp2-legal {
        grid-template-columns: 1fr;
        height: auto;
        padding-bottom: 0;
    }

    .lp2-intro-left,
    .lp2-metrics,
    .lp2-legal-left {
        height: auto;
        min-height: 460px;
    }

    .lp2-how,
    .lp2-benefits {
        height: auto;
    }

    .lp2-benefit-grid {
        height: auto;
    }
}

@media (max-width: 991px) {
    .lp2-header,
    .lp2-hero,
    .lp2-how-head,
    .lp2-cta,
    .lp2-benefits-head,
    .lp2-benefit-card,
    .lp2-legal-left,
    .lp2-legal-item,
    .lp2-partners,
    .lp2-footer {
        padding-left: 20px;
        padding-right: 20px;
    }

    .lp2-header-logo {
        width: 180px;
    }

    .lp2-hero {
        height: auto;
        min-height: 720px;
        padding-top: 96px;
    }

    .lp2-hero-title {
        font-size: 50px;
        line-height: 1;
    }

    .lp2-hero-subtitle,
    .lp2-intro-copy {
        font-size: 22px;
    }

    .lp2-metric-value {
        font-size: 76px;
    }

    .lp2-metric-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .lp2-metric-row-value {
        text-align: left;
    }

    .lp2-projects {
        padding-left: 20px;
        padding-bottom: 80px;
    }

    .lp2-project-track {
        padding-right: 20px;
    }

    .lp2-project-card {
        width: 340px;
        flex-basis: 340px;
    }

    .lp2-project-spec {
        width: auto;
    }

    .lp2-how-grid,
    .lp2-benefit-grid {
        grid-template-columns: 1fr;
    }

    .lp2-how-head,
    .lp2-benefits-head {
        height: auto;
    }

    .lp2-how-item {
        grid-template-columns: 40px 1fr;
        gap: 24px;
        border-right: 0;
    }

    .lp2-how-title,
    .lp2-benefits-title,
    .lp2-legal-title {
        font-size: 44px;
    }

    .lp2-cta {
        align-items: flex-start;
        flex-direction: column;
    }

    .lp2-footer-top {
        flex-direction: column;
        gap: 24px;
    }

    .lp2-footer-address {
        width: auto;
        margin-top: 0;
    }
}

@media (max-width: 575px) {
    .lp2-header {
        padding: 14px 16px;
    }

    .lp2-header-logo {
        width: 138px;
    }

    .lp2-header .lp2-btn {
        min-height: 30px;
        padding: 8px 12px;
        font-size: 11px;
    }

    .lp2-hero,
    .lp2-how-head,
    .lp2-cta,
    .lp2-benefits-head,
    .lp2-benefit-card,
    .lp2-legal-left,
    .lp2-legal-item,
    .lp2-partners,
    .lp2-footer {
        padding-left: 16px;
        padding-right: 16px;
    }

    .lp2-hero-kicker {
        flex-direction: column;
    }

    .lp2-hero-kicker-item {
        padding-left: 0;
    }

    .lp2-hero-kicker-item:first-child {
        border-right: 0;
    }

    .lp2-hero-title {
        font-size: 42px;
    }

    .lp2-how-title,
    .lp2-benefits-title,
    .lp2-legal-title {
        font-size: 36px;
        line-height: 1.12;
    }

    .lp2-how-subtitle {
        margin-top: 28px;
        font-size: 18px;
    }

    .lp2-btn {
        max-width: 100%;
    }

    .lp2-intro-left,
    .lp2-metric-main,
    .lp2-metric-row {
        padding-left: 16px;
        padding-right: 16px;
    }

    .lp2-project-card {
        width: 308px;
        flex-basis: 308px;
    }

    .lp2-how-item {
        min-height: 0;
        padding-top: 32px;
        padding-bottom: 32px;
        grid-template-columns: 32px 1fr;
        gap: 20px;
    }

    .lp2-how-icon,
    .lp2-benefit-icon {
        width: 32px;
        height: 32px;
    }

    .lp2-project-title,
    .lp2-how-item-title,
    .lp2-benefit-title,
    .lp2-legal-item-title {
        font-size: 26px;
    }

    .lp2-project-head {
        min-height: 150px;
    }

    .lp2-how-item-text,
    .lp2-benefit-text {
        margin-top: 24px;
    }

    .lp2-round-value {
        font-size: 28px;
    }

    .lp2-how-head,
    .lp2-benefits-head,
    .lp2-partners,
    .lp2-footer {
        padding-top: 80px;
    }

    .lp2-how-head,
    .lp2-benefits-head {
        padding-bottom: 48px;
    }
}

/* Referral landing v3 */
.lp3-page {
    background: var(--lp2-bg);
}

.lp3-hero {
    min-height: 800px;
    padding: 96px 40px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: #f3f3f3 url("../media/landpage/v3/hero-bg.png") center / cover no-repeat;
}

.lp3-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(243, 243, 243, 0.96) 0%, rgba(243, 243, 243, 0.72) 44%, rgba(243, 243, 243, 0.18) 100%);
    pointer-events: none;
}

.lp3-hero-kicker,
.lp3-hero-content {
    position: relative;
    z-index: 1;
}

.lp3-hero-kicker {
    margin-bottom: 84px;
}

.lp3-hero-content {
    width: 860px;
    max-width: 100%;
}

.lp3-hero-title {
    margin: 0;
    color: var(--lp2-black);
    font-size: 72px;
    font-weight: 450;
    line-height: 0.95;
}

.lp3-hero-subtitle {
    width: 560px;
    max-width: 100%;
    margin: 32px 0 0;
    color: var(--lp2-black);
    font-size: 22px;
    line-height: 1.35;
}

.lp3-hero-bottom {
    margin-top: 52px;
    display: flex;
    align-items: center;
    gap: 56px;
    flex-wrap: wrap;
}

.lp3-hero-metric {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.lp3-hero-metric span {
    color: var(--lp2-muted);
    font-size: 14px;
    line-height: 1.3;
}

.lp3-hero-metric strong {
    color: var(--lp2-black);
    font-size: 32px;
    font-weight: 500;
    line-height: 1;
}

.lp3-problem {
    padding: 120px 40px;
    background: #fff;
}

.lp3-problem--followed-by-audience {
    padding-bottom: 60px;
}

.lp3-problem-title {
    margin-top: 32px;
    max-width: 1240px;
}

.lp3-problem-layout {
    margin-top: 64px;
    display: grid;
    grid-template-columns: minmax(280px, 0.7fr) minmax(620px, 1.3fr);
    gap: 80px;
    align-items: start;
}

.lp3-problem-copy {
    display: grid;
    gap: 32px;
}

.lp3-section-title {
    margin: 0;
    color: var(--lp2-black);
    font-size: 56px;
    font-weight: 450;
    line-height: 1.08;
}

.lp3-section-text {
    margin: 0;
    color: var(--lp2-black);
    font-size: 20px;
    line-height: 1.4;
}

.lp3-problem-comparison {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.lp3-problem-card {
    min-height: 400px;
    padding: 40px;
}

.lp3-problem-card--muted {
    background: #9dabb0;
}

.lp3-problem-card--light {
    background: #f7f7f7;
}

.lp3-problem-card h3 {
    max-width: 260px;
    margin: 0 0 48px;
    color: var(--lp2-black);
    font-size: 34px;
    font-weight: 450;
    line-height: 1.08;
}

.lp3-problem-card ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.lp3-problem-card li {
    color: #596267;
    font-size: 18px;
    line-height: 1.45;
}

.lp3-projects {
    padding-top: 120px;
}

.lp3-project-head {
    width: calc(100% - 40px);
    margin: 0 40px 40px 0;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
}

.lp3-project-head .lp3-section-title {
    width: 760px;
    max-width: 100%;
    font-size: 44px;
}

.lp3-project-image {
    position: relative;
}

.lp3-project-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.lp3-project-image .lp2-project-badges {
    position: relative;
    z-index: 1;
}

.lp3-progress {
    width: calc(100% - 40px);
    height: 8px;
    margin: 0 20px;
    border: 0;
    border-radius: 100px;
    display: block;
    overflow: hidden;
    background: #e5eae9;
}

.lp3-progress::-webkit-progress-bar {
    border-radius: 100px;
    background: #e5eae9;
}

.lp3-progress::-webkit-progress-value {
    border-radius: 100px;
    background: var(--lp2-black);
}

.lp3-progress::-moz-progress-bar {
    border-radius: 100px;
    background: var(--lp2-black);
}

.lp3-audience {
    padding: 120px 40px 0;
    background: #fff;
}

.lp3-audience-head {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.7fr);
    gap: 80px;
    align-items: end;
}

.lp3-audience-grid {
    margin-top: 72px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--lp2-line);
    border-bottom: 1px solid var(--lp2-line);
}

.lp3-audience-card {
    min-height: 310px;
    padding: 40px;
    border-right: 1px solid var(--lp2-line);
}

.lp3-audience-card:last-child {
    border-right: 0;
}

.lp3-audience-card p {
    margin: 40px 0 0;
    color: var(--lp2-black);
    font-size: 22px;
    font-weight: 450;
    line-height: 1.2;
}

.lp3-audience--rentier .lp3-audience-head {
    display: block;
}

.lp3-audience--rentier {
    padding-top: 60px;
}

.lp3-audience--rentier .lp3-section-title {
    max-width: 1240px;
}

.lp3-audience--rentier .lp3-section-text {
    max-width: 920px;
    margin-top: 32px;
}

.lp3-audience--rentier .lp3-audience-card h3 {
    margin: 0;
    color: var(--lp2-black);
    font-size: 28px;
    font-weight: 500;
    line-height: 1.15;
}

.lp3-audience--rentier .lp3-audience-card p {
    margin-top: 24px;
    color: var(--lp2-muted);
    font-size: 18px;
    font-weight: 400;
    line-height: 1.4;
}

.lp3-cta {
    min-height: 336px;
    padding: 80px 40px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 48px;
    position: relative;
    overflow: hidden;
    background: #141313;
    color: #fff;
}

.lp3-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("../media/landpage/v3/cta-bg.png") center / cover no-repeat;
}

.lp3-cta .lp2-cta-content,
.lp3-cta .lp2-btn {
    position: relative;
    z-index: 1;
}

.lp3-cta .lp2-btn {
    width: 260px;
    max-width: 100%;
}

.lp3-faq {
    padding: 120px 40px;
    background: #fff;
}

.lp3-faq-list {
    margin-top: 56px;
    border-top: 1px solid var(--lp2-line);
}

.lp3-faq-item {
    padding: 32px 0;
    display: grid;
    grid-template-columns: minmax(260px, 0.55fr) minmax(0, 1fr);
    gap: 72px;
    border-bottom: 1px solid var(--lp2-line);
}

.lp3-faq-item h3 {
    margin: 0;
    color: var(--lp2-black);
    font-size: 28px;
    font-weight: 500;
    line-height: 1.15;
}

.lp3-faq-item p {
    margin: 0;
    color: var(--lp2-muted);
    font-size: 18px;
    line-height: 1.4;
}

@media (max-width: 1199px) {
    .lp3-hero-title {
        font-size: 60px;
    }

    .lp3-section-title {
        font-size: 48px;
    }

    .lp3-problem-layout,
    .lp3-audience-head {
        grid-template-columns: minmax(0, 1fr);
        gap: 32px;
    }

    .lp3-audience-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .lp3-audience-card:nth-child(2n) {
        border-right: 0;
    }

    .lp3-audience--rentier .lp3-audience-card:nth-child(-n + 2) {
        border-bottom: 1px solid var(--lp2-line);
    }
}

@media (max-width: 991px) {
    .lp3-hero,
    .lp3-problem,
    .lp3-audience,
    .lp3-cta,
    .lp3-faq {
        padding-left: 20px;
        padding-right: 20px;
    }

    .lp3-hero {
        min-height: 720px;
        padding-top: 96px;
    }

    .lp3-hero-title {
        font-size: 48px;
        line-height: 1;
    }

    .lp3-project-head {
        width: auto;
        margin-right: 20px;
        flex-direction: column;
        align-items: flex-start;
    }

    .lp3-project-head .lp3-section-title,
    .lp3-section-title {
        font-size: 40px;
    }

    .lp3-cta {
        align-items: flex-start;
        flex-direction: column;
    }

    .lp3-faq-item {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 575px) {
    .lp3-hero,
    .lp3-problem,
    .lp3-audience,
    .lp3-cta,
    .lp3-faq {
        padding-left: 16px;
        padding-right: 16px;
    }

    .lp3-hero {
        min-height: 680px;
        background-position: 58% center;
    }

    .lp3-hero::before {
        background: linear-gradient(90deg, rgba(243, 243, 243, 0.98) 0%, rgba(243, 243, 243, 0.9) 64%, rgba(243, 243, 243, 0.36) 100%);
    }

    .lp3-hero-kicker {
        margin-bottom: 56px;
    }

    .lp3-hero-title {
        font-size: 38px;
        line-height: 1.04;
    }

    .lp3-hero-subtitle,
    .lp3-section-text {
        font-size: 18px;
    }

    .lp3-hero-bottom {
        margin-top: 40px;
        gap: 28px;
    }

    .lp3-hero-metric strong {
        font-size: 28px;
    }

    .lp3-problem,
    .lp3-projects,
    .lp3-audience,
    .lp3-faq {
        padding-top: 80px;
    }

    .lp3-problem--followed-by-audience {
        padding-bottom: 40px;
    }

    .lp3-audience--rentier {
        padding-top: 40px;
    }

    .lp3-projects,
    .lp3-faq {
        padding-bottom: 80px;
    }

    .lp3-projects {
        padding-right: 16px;
    }

    .lp3-projects .lp2-project-track:has(.lp2-project-card:only-child) {
        padding-right: 0;
        overflow-x: visible;
    }

    .lp3-projects .lp2-project-card:only-child {
        width: 100%;
        flex-basis: 100%;
    }

    .lp3-projects .lp2-project-spec:nth-child(3) .lp2-project-spec-value,
    .lp3-projects .lp2-round-value {
        white-space: nowrap;
    }

    .lp3-projects .lp2-project-spec:nth-child(3) .lp2-project-spec-value {
        font-size: 14px;
    }

    .lp3-projects .lp2-round-value {
        font-size: 22px;
    }

    .lp3-section-title,
    .lp3-project-head .lp3-section-title {
        font-size: 34px;
        line-height: 1.1;
    }

    .lp3-audience-grid {
        grid-template-columns: 1fr;
    }

    .lp3-audience--rentier .lp3-audience-card h3 {
        font-size: 24px;
    }

    .lp3-problem-comparison {
        grid-template-columns: minmax(0, 1fr);
    }

    .lp3-problem-card {
        min-height: 0;
        padding: 32px;
    }

    .lp3-problem-card h3 {
        margin-bottom: 32px;
        font-size: 30px;
    }

    .lp3-audience-card,
    .lp3-audience-card:nth-child(2n) {
        min-height: 0;
        padding: 32px 0;
        border-right: 0;
        border-bottom: 1px solid var(--lp2-line);
    }

    .lp3-audience-card:last-child {
        border-bottom: 0;
    }

    .lp3-audience-card p {
        margin-top: 24px;
        font-size: 20px;
    }

    .lp3-faq-item h3 {
        font-size: 24px;
    }
}

/* Marketing landing hypotheses editor */
.hl-landing-block-editor {
    min-height: 560px;
    padding: 40px;
    border-radius: 8px;
    background-color: #f3f3f3;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    overflow: hidden;
    position: relative;
}

.hl-landing-block-editor--hero {
    min-height: 860px;
    padding: 15px 40px 40px 40px;
    background-color: #000;
    background-image: url("../media/landpage/group-5.svg");
}

.hl-landing-block-editor--proof,
.hl-landing-block-editor--yield_chart {
    background-color: #f4f4f4;
}

.hl-landing-block-editor--inflation,
.hl-landing-block-editor--quarterly_growth {
    background-color: #141313;
    background-image: url("../media/landpage/inflation-bg.png");
}

.hl-landing-block-editor--how_it_works {
    background-color: #fff;
}

.hl-landing-block-editor--protection {
    background: linear-gradient(to right, #d9dddf 0 50%, #fff 50% 100%);
}

.hl-landing-visual-form {
    width: min(700px, 100%);
    position: relative;
    z-index: 2;
}

.hl-landing-visual-form--hero {
    width: min(772px, 100%);
}

.hl-landing-visual-field label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

.hl-landing-visual-form input[type="text"],
.hl-landing-visual-form textarea {
    width: 100%;
    border: 1px dashed transparent;
    box-shadow: none;
    outline: 0;
    background: transparent;
    resize: none;
    letter-spacing: 0;
    font-family: "TT Firs Neue", Inter, Helvetica, sans-serif;
}

.hl-landing-visual-form input[type="text"]:focus,
.hl-landing-visual-form textarea:focus {
    border-color: rgba(103, 174, 243, 0.8);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
}

.hl-landing-visual-form--hero .hl-landing-visual-field--title textarea {
    max-width: 772px;
    min-height: 154px;
    padding: 0;
    color: #f3f3f3;
    font-size: 72px;
    font-weight: 450;
    line-height: 1;
    overflow: hidden;
}

.hl-landing-visual-form--hero .hl-landing-visual-field--subtitle textarea {
    max-width: 700px;
    min-height: 84px;
    margin-top: 28px;
    padding: 0;
    color: #94a5ac;
    font-size: 28px;
    font-weight: 450;
    line-height: 1.2;
}

.hl-landing-visual-form--proof input[type="text"],
.hl-landing-visual-form--proof textarea,
.hl-landing-visual-form--yield_chart input[type="text"],
.hl-landing-visual-form--yield_chart textarea,
.hl-landing-visual-form--how_it_works input[type="text"],
.hl-landing-visual-form--how_it_works textarea,
.hl-landing-visual-form--protection input[type="text"],
.hl-landing-visual-form--protection textarea {
    color: #141313;
}

.hl-landing-visual-form--inflation input[type="text"],
.hl-landing-visual-form--inflation textarea,
.hl-landing-visual-form--quarterly_growth input[type="text"],
.hl-landing-visual-form--quarterly_growth textarea {
    color: #fff;
}

.hl-landing-visual-form--inflation .hl-landing-visual-field--title textarea,
.hl-landing-visual-form--quarterly_growth .hl-landing-visual-field--title textarea {
    max-width: 700px;
    min-height: 124px;
    padding: 0;
    font-size: 56px;
    font-weight: 450;
    line-height: 1.1;
    overflow: hidden;
}

.hl-landing-visual-form--inflation .hl-landing-visual-field--subtitle textarea,
.hl-landing-visual-form--quarterly_growth .hl-landing-visual-field--subtitle textarea {
    max-width: 700px;
    min-height: 72px;
    margin-top: 24px;
    padding: 0;
    font-size: 20px;
    font-weight: 450;
    line-height: 1.4;
}

.hl-landing-visual-save {
    width: 231px;
    height: 48px;
    margin-top: 72px;
    border: 0;
    border-radius: 999px;
    background: #fff;
    color: #141313;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.3;
    text-transform: uppercase;
}

.hl-landing-visual-form--proof .hl-landing-visual-save,
.hl-landing-visual-form--yield_chart .hl-landing-visual-save,
.hl-landing-visual-form--how_it_works .hl-landing-visual-save,
.hl-landing-visual-form--protection .hl-landing-visual-save {
    background: #141313;
    color: #fff;
}

.hl-landing-editor-topbar {
    min-height: 40px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    color: #fff;
    position: relative;
    z-index: 2;
}

.hl-landing-block-editor--proof .hl-landing-editor-topbar,
.hl-landing-block-editor--yield_chart .hl-landing-editor-topbar,
.hl-landing-block-editor--how_it_works .hl-landing-editor-topbar,
.hl-landing-block-editor--protection .hl-landing-editor-topbar {
    color: #151515;
}

.hl-landing-editor-version {
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    font-size: 12px;
    font-weight: 600;
}

.hl-landing-block-editor--proof .hl-landing-editor-version,
.hl-landing-block-editor--yield_chart .hl-landing-editor-version,
.hl-landing-block-editor--how_it_works .hl-landing-editor-version,
.hl-landing-block-editor--protection .hl-landing-editor-version {
    background: rgba(20, 19, 19, 0.08);
}

.hl-landing-editor-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.hl-landing-editor-actions form {
    margin: 0;
}

.hl-landing-hero-logo {
    width: 304px;
    max-width: 35%;
    height: auto;
}

.hl-landing-inline-form-wrap {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-start;
}

.hl-landing-block-editor--hero .hl-landing-inline-form-wrap {
    min-height: calc(860px - 72px - 40px);
    align-items: center;
}

.hl-landing-block-editor--inflation .hl-landing-inline-form-wrap,
.hl-landing-block-editor--quarterly_growth .hl-landing-inline-form-wrap {
    min-height: 300px;
    align-items: center;
}

.hl-landing-slider-controls {
    margin-top: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.hl-landing-page-slider {
    position: relative;
}

.hl-landing-slider-btn {
    width: 40px;
    height: 40px;
    border: 1px solid #e4e6ef;
    border-radius: 999px;
    background: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #151515;
}

.hl-landing-slider-btn:hover {
    background: #f5f8fa;
}

.hl-landing-slider-edge-btn {
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.16);
    color: #151515;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    z-index: 5;
    transform: translateY(-50%);
}

.hl-landing-slider-edge-btn:hover {
    background: #fff;
}

.hl-landing-slider-edge-btn--prev {
    left: 18px;
}

.hl-landing-slider-edge-btn--next {
    right: 18px;
}

.hl-landing-page-version-form input[type="text"],
.hl-landing-page-version-form input[type="number"],
.hl-landing-page-version-form input[type="url"],
.hl-landing-page-version-form select,
.hl-landing-page-version-form textarea {
    width: 100%;
    max-width: 100%;
}

.hl-landing-traffic-input {
    width: 88px;
}

.hl-landing-block-editor--v2.hl-landing-block-editor--hero {
    background-color: #f3f3f3;
    background-image: url("../media/landpage/v2/hero-bg.png");
    background-position: center center;
}

.hl-landing-block-editor--v2 .hl-landing-editor-topbar {
    color: #151515;
}

.hl-landing-block-editor--v2 .hl-landing-editor-version {
    background: rgba(20, 19, 19, 0.12);
}

.hl-landing-block-editor--v2 .hl-landing-visual-form--hero {
    width: min(1190px, 100%);
}

.hl-landing-block-editor--v2 .hl-landing-visual-form--hero .hl-landing-visual-field--title textarea {
    max-width: 1190px;
    min-height: 246px;
    color: #151515;
    font-size: 82px;
    line-height: 0.92;
}

.hl-landing-block-editor--v2 .hl-landing-visual-form--hero .hl-landing-visual-field--subtitle textarea {
    color: #151515;
    font-size: 24px;
    line-height: 1.3;
}

.hl-landing-block-editor--v2 .hl-landing-visual-save {
    background: #151515;
    color: #fff;
}

.hl-landing-block-editor--v3.hl-landing-block-editor--hero {
    background-color: #f3f3f3;
    background-image: url("../media/landpage/v3/hero-bg.png");
    background-position: center center;
}

.hl-landing-block-editor--v3.hl-landing-block-editor--hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(243, 243, 243, 0.96) 0%, rgba(243, 243, 243, 0.72) 48%, rgba(243, 243, 243, 0.18) 100%);
}

.hl-landing-block-editor--v3 .hl-landing-editor-topbar {
    color: #151515;
}

.hl-landing-block-editor--v3 .hl-landing-editor-version {
    background: rgba(20, 19, 19, 0.12);
}

.hl-landing-block-editor--v3 .hl-landing-visual-form--hero {
    width: min(860px, 100%);
}

.hl-landing-block-editor--v3 .hl-landing-visual-form--hero .hl-landing-visual-field--title textarea {
    max-width: 860px;
    min-height: 220px;
    color: #151515;
    font-size: 72px;
    line-height: 0.95;
}

.hl-landing-block-editor--v3 .hl-landing-visual-form--hero .hl-landing-visual-field--subtitle textarea {
    max-width: 560px;
    min-height: 92px;
    color: #151515;
    font-size: 22px;
    line-height: 1.35;
}

.hl-landing-block-editor--v3 .hl-landing-visual-save {
    background: #151515;
    color: #fff;
}

.hl-landing-block-editor--v4.hl-landing-block-editor--hero {
    background-color: #f3f3f3;
    background-image: url("../media/landpage/v4/hero-bg.png");
    background-position: center center;
}

.hl-landing-block-editor--v4.hl-landing-block-editor--hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(243, 243, 243, 0.96) 0%, rgba(243, 243, 243, 0.82) 50%, rgba(243, 243, 243, 0.18) 100%);
}

.hl-landing-block-editor--v4 .hl-landing-editor-topbar {
    color: #151515;
}

.hl-landing-block-editor--v4 .hl-landing-editor-version {
    background: rgba(20, 19, 19, 0.12);
}

.hl-landing-block-editor--v4 .hl-landing-visual-form--hero {
    width: min(840px, 100%);
}

.hl-landing-block-editor--v4 .hl-landing-visual-form--hero .hl-landing-visual-field--title textarea {
    max-width: 840px;
    min-height: 168px;
    color: #151515;
    font-size: 76px;
    line-height: 0.96;
}

.hl-landing-block-editor--v4 .hl-landing-visual-form--hero .hl-landing-visual-field--subtitle textarea {
    max-width: 660px;
    min-height: 88px;
    color: #151515;
    font-size: 32px;
    line-height: 1.12;
}

.hl-landing-block-editor--v4 .hl-landing-visual-save {
    background: #151515;
    color: #fff;
}

/* Referral landing v4 based on the main Hedlainer website */
html:has(.lp4-page),
body.lp4-page {
    min-height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
}

body.lp4-page {
    --lp4-page-width: 1440px;
    --lp4-gutter: 40px;
    margin: 0;
    background: #f3f3f3;
    color: #151515;
    font-family: "TT Firs Neue", 'Neue_2', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.3;
}

.lp4-page *,
.lp4-page *::before,
.lp4-page *::after {
    box-sizing: border-box;
    letter-spacing: 0;
}

.lp4-main {
    width: 100%;
    min-height: 100vh;
    overflow: visible;
}

.lp4-container {
    width: 100%;
    max-width: var(--lp4-page-width);
    margin: 0 auto;
    padding: 0 var(--lp4-gutter);
}

.lp4-site-header {
    width: 100%;
    min-height: 72px;
    padding: 12px var(--lp4-gutter);
    display: grid;
    grid-template-columns: 215px minmax(0, 1fr) auto;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 30;
    background: #151515;
    pointer-events: none;
}

.lp4-site-header > * {
    pointer-events: auto;
}

.lp4-site-logo {
    width: 215px;
    max-width: 100%;
    display: block;
}

.lp4-site-nav {
    display: flex;
    gap: 32px;
}

.lp4-site-nav a {
    color: #fff;
    text-decoration: none;
}

.lp4-site-nav span {
    display: block;
    color: rgba(255, 255, 255, 0.45);
    font-size: 12px;
    line-height: 1.2;
}

.lp4-site-nav strong {
    display: block;
    color: #fff;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.2;
}

.lp4-login-button {
    min-width: 186px;
    min-height: 48px;
    padding: 13px 22px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: #151515;
    font-size: 14px;
    line-height: 1.55;
    text-decoration: none;
    white-space: nowrap;
}

.lp4-hero {
    min-height: 728px;
    padding: 161px var(--lp4-gutter) 70px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: #151515;
    color: #fff;
}

.lp4-hero-certificates {
    margin-bottom: 37px;
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.lp4-certificate {
    display: inline-flex;
    align-items: center;
    gap: 20px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 16px;
    line-height: 1.2;
    text-decoration: none;
}

.lp4-certificate img {
    width: 40px;
    height: 40px;
    display: block;
    object-fit: contain;
}

.lp4-certificate small {
    width: max-content;
    margin-top: 6px;
    border-bottom: 1px solid currentColor;
    display: block;
    color: rgba(255, 255, 255, 0.55);
    font-size: 14px;
    line-height: 1.35;
}

.lp4-hero-bottom {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 48px;
    align-items: end;
}

.lp4-hero h1 {
    max-width: 1111px;
    margin: 0;
    color: #fff;
    font-size: 120px;
    font-weight: 400;
    line-height: 0.8;
}

.lp4-hero p {
    max-width: 1111px;
    margin: 40px 0 0;
    color: rgba(243, 243, 243, 0.6);
    font-size: 40px;
    line-height: 1;
}

.lp4-arrow-link {
    color: #151515;
    font-size: 18px;
    line-height: 1;
    text-decoration: underline;
    text-underline-offset: 4px;
    white-space: nowrap;
}

.lp4-arrow-link span {
    margin-left: 10px;
    text-decoration: none;
}

.lp4-arrow-link--light {
    color: #fff;
}

.lp4-hero-image {
    height: 800px;
    background: #cfd6d9 url("../media/landing/Home.png") center bottom / cover no-repeat fixed;
    will-change: background-position;
}

.lp4-task-section {
    min-height: 675px;
    display: grid;
    grid-template-columns: minmax(0, 53.5%) minmax(620px, 46.5%);
    background: #151515;
    color: #fff;
}

.lp4-task-copy {
    padding: 160px 40px 161px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.lp4-eyebrow,
.lp4-section-name {
    margin: 0;
    color: inherit;
    font-size: 16px;
    line-height: 1.3;
}

.lp4-task-copy h2 {
    max-width: 688px;
    margin: 40px 0;
    color: #fff;
    font-size: 42px;
    font-weight: 400;
    line-height: 42px;
}

.lp4-task-copy p:not(.lp4-eyebrow) {
    max-width: 688px;
    margin: 0;
    color: #fff;
    font-size: 42px;
    line-height: 42px;
}

.lp4-task-visual {
    min-width: 0;
    position: relative;
    display: flex;
    align-items: flex-start;
    padding-top: 150px;
    overflow: visible;
}

.lp4-task-visual img {
    width: 1048px;
    height: 653px;
    max-width: none;
    display: block;
    border-radius: 20px;
    object-fit: cover;
    object-position: center center;
}

.lp4-projects {
    padding: 150px 0;
    background: #f3f3f3;
    scroll-margin-top: 120px;
}

.lp4-projects .lp4-container {
    max-width: none;
    padding-left: 40px;
    padding-right: 0;
    overflow: hidden;
}

.lp4-project-grid {
    margin-top: 20px;
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.lp4-project-grid::-webkit-scrollbar {
    display: none;
}

.lp4-project-card {
    width: 420px;
    flex: 0 0 420px;
    scroll-snap-align: start;
}

.lp4-project-link {
    min-height: 734px;
    display: flex;
    flex-direction: column;
    background: #fff;
    color: #151515;
    text-decoration: none;
    overflow: hidden;
}

.lp4-project-image {
    height: 240px;
    position: relative;
    overflow: hidden;
    background: #d1d8db;
}

.lp4-project-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.lp4-project-badges {
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.lp4-project-badges span {
    min-height: 29px;
    padding: 7px 12px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    background: #fff;
    color: #151515;
    font-size: 16px;
    line-height: 0.9;
}

.lp4-project-body {
    padding: 18.795px 20px 20px;
    display: flex;
    flex: 1;
    flex-direction: column;
}

.lp4-project-body h3 {
    min-height: 70px;
    margin: 0;
    display: -webkit-box;
    overflow: hidden;
    color: #151515;
    font-size: 32px;
    font-weight: 400;
    line-height: 1.1;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.lp4-project-location {
    min-height: 17px;
    margin: 8px 0 20px;
    color: #151515;
    font-size: 14px;
    line-height: 1.2;
}

.lp4-project-specs,
.lp4-project-funding {
    border-top: 1px solid #d5dadd;
}

.lp4-project-specs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.lp4-project-specs div {
    min-height: 66px;
    padding: 11px 0 12px;
}

.lp4-project-specs span,
.lp4-project-funding span {
    display: block;
    color: #8a8d8f;
    font-size: 12px;
    line-height: 1.2;
}

.lp4-project-specs strong,
.lp4-project-funding strong {
    margin-top: 8px;
    display: block;
    color: #151515;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.1;
}

.lp4-project-hidden-yield {
    color: #8a8d8f;
    font-size: 16px;
    line-height: 1.1;
}

.lp4-project-funding {
    margin-top: auto;
    padding: 16px 0 22px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(104px, 0.34fr);
    gap: 18px;
    align-items: end;
}

.lp4-project-funding div {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.lp4-project-funding div:last-child {
    align-items: flex-end;
}

.lp4-project-funding em {
    margin-bottom: 7px;
    color: #151515;
    font-size: 16px;
    font-style: normal;
    line-height: 1.1;
}

.lp4-project-funding strong {
    font-size: 36px;
    line-height: 1;
    white-space: nowrap;
}

.lp4-project-funding div:last-child strong {
    font-size: 36px;
}

.lp4-progress {
    width: 100%;
    height: 8px;
    margin: 0 0 40px;
    border: 0;
    border-radius: 0;
    display: block;
    overflow: hidden;
    background: #dce3e1;
}

.lp4-progress::-webkit-progress-bar {
    background: #dce3e1;
}

.lp4-progress::-webkit-progress-value {
    background: #59776e;
}

.lp4-progress::-moz-progress-bar {
    background: #59776e;
}

.lp4-project-cta {
    width: 205px;
    min-height: 48px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #151515;
    color: #fff;
    font-size: 16px;
}

.lp4-project-empty {
    grid-column: 1 / -1;
    padding: 56px;
    background: #fff;
    color: #66767d;
}

.lp4-bank-section {
    padding: 0 40px;
    background: #f3f3f3;
}

.lp4-bank-notice {
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    background: #d5d8d9;
}

.lp4-bank-logos {
    display: flex;
    align-items: center;
    gap: 20px;
}

.lp4-bank-logos img:first-child {
    width: 140px;
    height: 22.338px;
}

.lp4-bank-logo-tbank {
    width: 96px;
    height: 34.358px;
    position: relative;
    display: inline-flex;
    align-items: center;
    flex: 0 0 96px;
}

.lp4-bank-logo-tbank::before {
    content: "T";
    width: 26px;
    height: 30px;
    margin-right: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffdd2d;
    color: #151515;
    font-size: 16px;
    font-weight: 800;
    line-height: 1;
    clip-path: polygon(50% 0, 100% 16%, 100% 62%, 50% 100%, 0 62%, 0 16%);
}

.lp4-bank-logo-tbank::after {
    content: "БАНК";
    display: block;
    color: #151515;
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: .4px;
}

.lp4-bank-notice p {
    max-width: 1280px;
    margin: 0;
    color: #151515;
    font-size: 24px;
    line-height: 28.8px;
}

.lp4-stats-grid {
    padding: 150px 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 60px;
    column-gap: 20px;
}

.lp4-stats-grid div {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.lp4-stats-grid strong {
    display: block;
    color: #000;
    font-size: 62px;
    font-weight: 500;
    line-height: 49.6px;
    white-space: nowrap;
}

.lp4-stats-grid span {
    margin: 0;
    display: block;
    color: rgba(21, 21, 21, 0.6);
    font-size: 16px;
    line-height: 19.2px;
}

.lp4-qualification {
    margin: 0 40px 150px;
    padding: 100px 40px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    background: #000;
    color: #fff;
}

.lp4-qualification::before {
    content: "";
    position: absolute;
    top: -24.58%;
    left: 0;
    width: 100%;
    height: 149.15%;
    z-index: 0;
    background: url("../media/landpage/v4/speaker-dmitry.webp") right center / cover no-repeat fixed;
    will-change: background-position;
}

.lp4-qualification h2,
.lp4-qualification p,
.lp4-qualification .lp4-arrow-link {
    position: relative;
    z-index: 1;
}

.lp4-qualification h2 {
    max-width: 100%;
    margin: 0;
    color: #f3f3f3;
    font-size: 82px;
    font-weight: 400;
    line-height: 90.2px;
}

.lp4-qualification p {
    max-width: 100%;
    margin: 24px 0 60px;
    color: #fff;
    font-size: 24px;
    line-height: 24px;
}

.lp4-qualification .lp4-arrow-link {
    color: #f3f3f3;
    font-size: 18px;
    line-height: 18px;
}

.lp4-qualification .lp4-arrow-link span {
    font-size: 18px;
}

.lp4-benefits {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    background: #d5d8d9;
}

.lp4-benefits-image {
    min-height: 800px;
    background: url("../media/landing/Home_background_2.png") center center / cover no-repeat fixed;
    will-change: background-position;
}

.lp4-benefits-copy {
    padding: 150px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.lp4-benefits-copy article + article {
    margin-top: 60px;
}

.lp4-benefits-copy h2 {
    margin: 0 0 24px;
    color: #151515;
    font-size: 72px;
    font-weight: 400;
    line-height: 72px;
}

.lp4-benefits-copy p {
    max-width: 560px;
    margin: 0;
    color: rgba(21, 21, 21, 0.5);
    font-size: 24px;
    line-height: 28.8px;
}

.lp4-market-section {
    display: grid;
    grid-template-columns: minmax(0, 660px) minmax(0, 620px);
    gap: 80px;
    justify-content: start;
    min-height: 800px;
    padding: 40px;
    background: #f3f3f3;
}

.lp4-market-metrics {
    order: 1;
    padding: 0;
}

.lp4-market-block + .lp4-market-block {
    margin-top: 64px;
}

.lp4-market-block h2 {
    margin: 0;
    color: #000;
    font-size: 100px;
    font-weight: 400;
    line-height: 0.8;
}

.lp4-market-block h2 span {
    display: inline-block;
    margin-left: 5px;
    font-size: 24px;
    line-height: 1.05;
    vertical-align: 8px;
}

.lp4-market-block h3 {
    max-width: 659px;
    margin: 20px 0 25px;
    color: #151515;
    font-size: 24px;
    font-weight: 400;
    line-height: 1.2;
}

.lp4-market-block p {
    display: none;
    margin: 0;
    color: #8a8d8f;
    font-size: 14px;
    line-height: 1.2;
}

.lp4-market-boxes {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 17px;
}

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

.lp4-market-boxes span {
    min-height: 167px;
    padding: 56px 15px 15px;
    border: 1px solid #151515;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    color: #151515;
    font-size: 14px;
    line-height: 1.2;
}

.lp4-market-boxes strong {
    margin-bottom: 8px;
    color: #151515;
    font-size: 24px;
    font-weight: 400;
    line-height: 1.2;
}

.lp4-market-source {
    display: block !important;
    margin-top: 14px !important;
}

.lp4-market-quotes {
    order: 2;
    display: grid;
    grid-template-rows: repeat(2, 300px);
    gap: 100px;
}

.lp4-market-quotes article {
    min-height: 300px;
    padding: 0;
    border-bottom: 0;
    display: grid;
    grid-template-columns: 300px 300px;
    gap: 20px;
    align-items: start;
}

.lp4-market-quote-photo {
    position: relative;
    top: auto;
    z-index: 1;
}

.lp4-market-quotes img {
    width: 100%;
    height: 300px;
    display: block;
    object-fit: cover;
    object-position: center center;
}

.lp4-market-quotes article:nth-child(1) img {
    object-position: center 42%;
}

.lp4-market-quotes article:nth-child(2) img {
    object-position: center 30%;
}

.lp4-market-quotes h3 {
    margin: 0;
    color: #151515;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.2;
}

.lp4-market-quotes p {
    margin: 16px 0 0;
    color: #151515;
    font-size: 15px;
    line-height: 1.2;
}

.lp4-market-quotes p span {
    border-bottom: 1px solid currentColor;
}

.lp4-market-quotes strong {
    padding: 10px;
    min-width: 190px;
    max-width: calc(100% - 40px);
    position: absolute;
    left: 20px;
    bottom: 20px;
    z-index: 1;
    background: #fff;
    color: #151515;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.2;
}

.lp4-market-quotes small {
    display: block;
    color: rgba(21, 21, 21, 0.5);
    font-size: 14px;
    line-height: 1.2;
}

.lp4-final-cta {
    min-height: 551px;
    padding: 100px 40px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 60px;
    overflow: hidden;
    background: #151515;
    color: #fff;
}

.lp4-final-cta::before {
    content: "";
    position: absolute;
    top: -4.49%;
    left: 0;
    width: 100%;
    height: 108.98%;
    z-index: 0;
    background: url("../media/landpage/v4/final-cta-bg.jpg") center center / cover no-repeat;
}

.lp4-final-cta > * {
    position: relative;
    z-index: 1;
}

.lp4-final-cta h2 {
    max-width: 1203px;
    margin: 0;
    color: #f3f3f3;
    font-size: 82px;
    font-weight: 400;
    line-height: 90.2px;
    letter-spacing: -0.3px;
}

.lp4-final-cta p {
    max-width: 720px;
    margin: 28px 0 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 24px;
}

.lp4-final-cta p:empty {
    display: none;
}

.lp4-action-cards {
    padding: 150px 40px 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    background: #f3f3f3;
}

.lp4-action-card {
    min-height: 0;
    aspect-ratio: 440 / 420;
    padding: 41px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    color: #151515;
    text-decoration: none;
}

.lp4-action-card:hover {
    color: inherit;
}

.lp4-action-card--green {
    background: #2f554a;
    color: #fff;
}

.lp4-action-card--green:hover {
    color: #fff;
}

.lp4-action-card--muted {
    background: #aba1a2;
}

.lp4-action-mark {
    width: 77px;
    height: 114.038px;
    position: relative;
    display: block;
    background: url("../media/landpage/v4/action-card-mark-light.svg") center center / 100% 100% no-repeat;
}

.lp4-action-card--muted .lp4-action-mark {
    background-image: url("../media/landpage/v4/action-card-mark-dark.svg");
}

.lp4-action-body {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.lp4-action-mark::before,
.lp4-action-mark::after {
    content: none;
}

.lp4-action-title,
.lp4-action-text,
.lp4-action-link {
    display: block;
}

.lp4-action-title {
    max-width: 100%;
    font-size: 42px;
    font-weight: 400;
    line-height: 42px;
    letter-spacing: -1.5px;
}

.lp4-action-text {
    max-width: 100%;
    font-size: 16px;
    line-height: 19.2px;
    letter-spacing: -0.1px;
}

.lp4-action-link {
    color: inherit;
    font-size: 18px;
    line-height: 18px;
    letter-spacing: -0.1px;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.lp4-action-link span {
    margin-left: 8px;
    text-decoration: none;
}

.lp4-partners {
    padding: 150px var(--lp4-gutter) 90px;
    background: #f3f3f3;
    color: #151515;
}

.lp4-partner-grid {
    min-height: 0;
    margin-top: 60px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: center;
    justify-items: center;
    gap: 120px 86px;
}

.lp4-partner-grid img {
    max-width: 340px;
    max-height: 116px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.lp4-faq {
    padding: 90px var(--lp4-gutter) 0;
    background: #f3f3f3;
    color: #151515;
}

.lp4-faq-list {
    margin-top: 30px;
}

.lp4-faq details {
    margin-top: 12px;
    background: #fff;
}

.lp4-faq summary {
    min-height: 72px;
    padding: 20px 72px 20px 32px;
    position: relative;
    display: flex;
    align-items: center;
    color: #000;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.18;
    cursor: pointer;
    list-style: none;
}

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

.lp4-faq summary::after {
    content: "";
    width: 16px;
    height: 16px;
    position: absolute;
    right: 32px;
    top: 50%;
    border-right: 3px solid #000;
    border-bottom: 3px solid #000;
    transform: translateY(-64%) rotate(45deg);
    transition: transform 0.2s ease;
}

.lp4-faq details[open] summary::after {
    transform: translateY(-28%) rotate(225deg);
}

.lp4-faq details p {
    max-width: 1040px;
    margin: 0;
    padding: 0 32px 28px;
    color: #73777a;
    font-size: 16px;
    line-height: 1.35;
}

.lp4-footer {
    height: 670px;
    padding: 0 40px 8px;
    position: relative;
    overflow: hidden;
    background: #f3f3f3;
    color: #151515;
}

.lp4-footer-top {
    display: block;
}

.lp4-footer-top > div:first-child {
    display: contents;
}

.lp4-footer-title {
    position: absolute;
    left: 40px;
    top: 150px;
    width: 560px;
    margin: 0;
    color: #151515;
    font-size: 40px;
    font-weight: 400;
    line-height: 46px;
}

.lp4-footer-links {
    display: flex;
    flex-wrap: nowrap;
}

.lp4-footer-links a {
    color: #151515;
    font-size: 24px;
    line-height: 26px;
    text-decoration: none;
}

.lp4-footer-socials {
    position: absolute;
    left: 40px;
    top: 226px;
    width: 560px;
    gap: 60px;
}

.lp4-footer-docs {
    display: contents;
    margin: 0;
}

.lp4-footer-docs a {
    position: absolute;
    top: 336px;
    font-size: 18px;
    line-height: 22px;
    white-space: nowrap;
}

.lp4-footer-docs a:first-child {
    left: 40px;
}

.lp4-footer-docs a:last-child {
    left: 269px;
}

.lp4-footer-menu {
    display: contents;
    padding: 0;
}

.lp4-footer-menu a {
    display: none;
    color: #151515;
    font-size: 16px;
    font-weight: 400;
    line-height: 18px;
    text-decoration: none;
}

.lp4-footer-menu a:nth-child(n + 4) {
    position: absolute;
    left: 845px;
    display: block;
    color: transparent;
}

.lp4-footer-menu a:nth-child(n + 4)::before {
    content: attr(data-mobile-label);
    color: #151515;
}

.lp4-footer-menu a:nth-child(4) {
    top: 170px;
}

.lp4-footer-menu a:nth-child(5) {
    top: 206px;
}

.lp4-footer-menu a:nth-child(6) {
    top: 242px;
}

.lp4-footer-address {
    position: absolute;
    left: 1170px;
    top: 162px;
    width: 231px;
    padding: 0;
    color: #777;
    font-size: 10px;
    line-height: 18px;
    text-transform: uppercase;
}

.lp4-footer-brand-wrap {
    position: absolute;
    left: 40px;
    top: 445px;
    width: calc(100% - 80px);
    height: 217px;
    margin: 0;
    overflow: hidden;
    background: #f3f3f3;
}

.lp4-footer-brand {
    width: 100%;
    height: 217px;
    min-width: 0;
    display: block;
    object-fit: fill;
}

@media (max-width: 1439px) {
    .lp4-market-section {
        grid-template-columns: minmax(0, 560px) minmax(0, 560px);
        gap: 40px;
        min-height: 760px;
        padding: 20px;
    }

    .lp4-market-block + .lp4-market-block {
        margin-top: 54px;
    }

    .lp4-market-block h3 {
        max-width: 560px;
        margin-bottom: 44px;
        font-size: 16px;
    }

    .lp4-market-boxes span {
        min-height: 167px;
        padding-top: 56px;
    }

    .lp4-market-source {
        margin-top: 14px !important;
        font-size: 14px;
    }

    .lp4-market-quotes {
        grid-template-rows: repeat(2, 340px);
        gap: 40px;
    }

    .lp4-market-quotes article {
        min-height: 340px;
        grid-template-columns: 260px 260px;
        gap: 40px;
    }

    .lp4-market-quotes img {
        height: 340px;
    }

    .lp4-market-quotes h3 {
        font-size: 18px;
    }

    .lp4-market-quotes p {
        margin-top: 20px;
        font-size: 13px;
    }
}

@media (max-width: 1199px) {
    .lp4-site-header {
        grid-template-columns: 240px 1fr;
        gap: 28px;
    }

    .lp4-site-nav {
        display: none;
    }

    .lp4-login-button {
        justify-self: end;
    }

    .lp4-task-section,
    .lp4-benefits,
    .lp4-market-section {
        grid-template-columns: 1fr;
    }

    .lp4-task-visual {
        min-height: 420px;
        justify-content: center;
    }

    .lp4-task-visual img {
        width: min(1000px, 100%);
    }

    .lp4-stats-grid,
    .lp4-partner-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .lp4-market-metrics {
        border-right: 0;
        border-left: 0;
        border-top: 1px solid rgba(21, 21, 21, 0.35);
        border-bottom: 0;
    }
}

@media (max-width: 767px) {
    .lp4-container,
    .lp4-site-header,
    .lp4-hero,
    .lp4-task-copy,
    .lp4-bank-section,
    .lp4-final-cta,
    .lp4-action-cards,
    .lp4-partners,
    .lp4-faq,
    .lp4-footer,
    .lp4-market-metrics {
        padding-left: 20px;
        padding-right: 20px;
    }

    .lp4-site-header {
        min-height: 86px;
        padding-top: 20px;
        padding-bottom: 20px;
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .lp4-site-logo {
        width: 178px;
    }

    .lp4-login-button {
        min-width: 0;
        min-height: 42px;
        padding: 12px 16px;
        border-radius: 999px;
        font-size: 12px;
    }

    .lp4-hero {
        min-height: 720px;
        padding-top: 142px;
        padding-bottom: 42px;
    }

    .lp4-hero-certificates {
        margin-bottom: 56px;
        gap: 22px;
    }

    .lp4-certificate {
        gap: 12px;
        font-size: 14px;
    }

    .lp4-certificate img {
        width: 30px;
        height: 30px;
    }

    .lp4-certificate small {
        font-size: 13px;
    }

    .lp4-hero-bottom {
        grid-template-columns: 1fr;
    }

    .lp4-hero h1 {
        font-size: 42px;
        line-height: 1.02;
    }

    .lp4-hero p {
        margin-top: 28px;
        font-size: 22px;
    }

    .lp4-arrow-link {
        font-size: 18px;
    }

    .lp4-hero-image {
        height: 320px;
        background-attachment: scroll;
    }

    .lp4-task-section {
        min-height: 0;
    }

    .lp4-task-copy {
        padding-top: 86px;
        padding-bottom: 64px;
    }

    .lp4-eyebrow,
    .lp4-section-name {
        font-size: 17px;
    }

    .lp4-task-copy h2 {
        margin: 42px 0 32px;
        font-size: 34px;
    }

    .lp4-task-copy p:not(.lp4-eyebrow) {
        font-size: 26px;
    }

    .lp4-task-visual {
        min-height: 260px;
        align-items: flex-end;
    }

    .lp4-task-visual img {
        width: 118%;
    }

    .lp4-projects {
        padding-top: 72px;
        padding-bottom: 72px;
    }

    .lp4-stats-grid,
    .lp4-partner-grid,
    .lp4-market-boxes,
    .lp4-market-boxes--two,
    .lp4-market-quotes article,
    .lp4-footer-top {
        grid-template-columns: 1fr;
    }

    .lp4-project-link {
        min-height: 0;
    }

    .lp4-project-image {
        height: 260px;
    }

    .lp4-project-badges {
        left: 18px;
        right: 18px;
        bottom: 18px;
    }

    .lp4-project-badges span {
        min-height: 30px;
        padding: 7px 10px;
        font-size: 15px;
    }

    .lp4-project-body {
        padding: 24px 20px 24px;
    }

    .lp4-project-body h3 {
        font-size: 26px;
        line-height: 1.12;
    }

    .lp4-project-location {
        margin: 12px 0 30px;
        font-size: 17px;
    }

    .lp4-project-specs {
        grid-template-columns: 1fr;
    }

    .lp4-project-specs div {
        min-height: 0;
        padding: 16px 0;
    }

    .lp4-project-specs strong {
        font-size: 20px;
    }

    .lp4-project-funding {
        padding-top: 22px;
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .lp4-project-funding div:last-child {
        align-items: flex-start;
    }

    .lp4-project-funding strong {
        font-size: 28px;
    }

    .lp4-project-funding div:last-child strong {
        font-size: 30px;
    }

    .lp4-progress {
        height: 10px;
        margin-bottom: 28px;
    }

    .lp4-project-cta {
        width: 188px;
        min-height: 50px;
        font-size: 17px;
    }

    .lp4-bank-section {
        padding-top: 72px;
        padding-bottom: 72px;
    }

    .lp4-bank-notice {
        padding: 28px;
    }

    .lp4-bank-logos img:first-child {
        width: 150px;
    }

    .lp4-bank-logo-tbank {
        width: 96px;
    }

    .lp4-bank-notice p {
        font-size: 20px;
    }

    .lp4-stats-grid {
        margin-top: 72px;
        row-gap: 46px;
    }

    .lp4-stats-grid strong {
        font-size: 44px;
    }

    .lp4-stats-grid span {
        margin-top: 12px;
        font-size: 17px;
    }

    .lp4-qualification {
        min-height: 560px;
        margin: 0 20px 72px;
        padding: 54px 28px;
    }

    .lp4-qualification::before {
        background-attachment: scroll;
        background-size: auto 100%;
        background-position: right bottom;
    }

    .lp4-qualification h2 {
        font-size: 36px;
    }

    .lp4-qualification p {
        margin: 28px 0 42px;
        font-size: 20px;
    }

    .lp4-benefits-image {
        min-height: 420px;
        background-attachment: scroll;
        background-position: center top;
    }

    .lp4-benefits-copy {
        padding: 64px 20px;
    }

    .lp4-benefits-copy article + article {
        margin-top: 42px;
    }

    .lp4-benefits-copy h2 {
        font-size: 32px;
    }

    .lp4-benefits-copy p {
        font-size: 18px;
    }

    .lp4-market-block + .lp4-market-block {
        margin-top: 84px;
    }

    .lp4-market-block h2 {
        font-size: 52px;
    }

    .lp4-market-block h3 {
        margin-bottom: 34px;
        font-size: 26px;
    }

    .lp4-market-block p {
        font-size: 18px;
    }

    .lp4-market-boxes span {
        min-height: 94px;
        padding: 18px;
        font-size: 16px;
    }

    .lp4-market-boxes strong {
        font-size: 24px;
    }

    .lp4-market-quotes article {
        min-height: 0;
        padding: 44px 20px 88px;
        gap: 24px;
    }

    .lp4-market-quote-photo {
        min-height: 320px;
        margin-bottom: 56px;
        background-attachment: scroll;
    }

    .lp4-market-quotes img {
        height: 320px;
    }

    .lp4-market-quotes h3 {
        font-size: 24px;
    }

    .lp4-market-quotes p {
        margin-top: 24px;
        font-size: 18px;
    }

    .lp4-market-quotes strong {
        max-width: calc(100% - 32px);
        left: 16px;
        bottom: -42px;
        font-size: 22px;
    }

    .lp4-market-quotes small {
        font-size: 16px;
    }

    .lp4-final-cta {
        flex-direction: column;
        align-items: flex-start;
        padding-top: 72px;
        padding-bottom: 72px;
    }

    .lp4-final-cta::before {
        background-attachment: scroll;
        background-position: right center;
        background-size: auto 100%;
    }

    .lp4-final-cta h2 {
        font-size: 34px;
    }

    .lp4-final-cta p {
        font-size: 18px;
    }

    .lp4-action-cards {
        padding-top: 64px;
        padding-bottom: 88px;
        gap: 18px;
    }

    .lp4-action-card {
        min-height: 300px;
        padding: 28px;
    }

    .lp4-action-mark {
        width: 56px;
        height: 84px;
    }

    .lp4-action-title {
        font-size: 30px;
        line-height: 30px;
    }

    .lp4-action-text {
        font-size: 18px;
        line-height: 21.6px;
    }

    .lp4-partners {
        padding-top: 0;
        padding-bottom: 72px;
    }

    .lp4-partner-grid {
        min-height: 0;
        margin-top: 56px;
        gap: 58px 34px;
    }

    .lp4-partner-grid img {
        max-width: 220px;
        max-height: 70px;
    }

    .lp4-faq {
        padding-top: 72px;
        padding-bottom: 72px;
    }

    .lp4-faq summary {
        min-height: 78px;
        padding: 22px 58px 22px 24px;
        font-size: 20px;
    }

    .lp4-faq summary::after {
        right: 28px;
        width: 14px;
        height: 14px;
        border-width: 3px;
    }

    .lp4-faq details p {
        padding: 0 24px 24px;
        font-size: 16px;
    }

    .lp4-footer {
        padding-top: 0;
        padding-bottom: 0;
    }

    .lp4-footer-title {
        font-size: 28px;
    }

    .lp4-footer-links a {
        font-size: 20px;
    }

    .lp4-footer-menu {
        padding-top: 0;
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .lp4-footer-menu a {
        font-size: 20px;
    }

    .lp4-footer-address {
        padding-top: 0;
        font-size: 14px;
    }

    .lp4-footer-brand-wrap {
        height: auto;
        margin-top: 52px;
    }

    .lp4-footer-brand {
        min-width: 0;
    }
}

@media (min-width: 1200px) {
    .lp4-site-header {
        min-height: 72px;
        padding: 12px 40px;
        grid-template-columns: 215px minmax(0, 1fr) auto;
        gap: 60px;
    }

    .lp4-site-logo {
        width: 215px;
    }

    .lp4-site-nav {
        display: flex;
    }

    .lp4-login-button {
        min-width: 186px;
        min-height: 48px;
        padding: 13px 22px;
        border-radius: 4px;
        font-size: 14px;
        line-height: 1.55;
    }

    .lp4-hero {
        min-height: 800px;
        padding: 0 40px;
        position: relative;
        display: block;
    }

    .lp4-hero-certificates {
        margin: 0;
        position: absolute;
        left: 50px;
        top: 253px;
        flex-direction: row;
        align-items: center;
        gap: 40px;
    }

    .lp4-certificate {
        gap: 20px;
        font-size: 16px;
        line-height: 1.2;
    }

    .lp4-certificate--registry,
    .lp4-certificate:not(.lp4-certificate--registry) {
        order: initial;
    }

    .lp4-certificate img,
    .lp4-certificate--registry img {
        width: 40px;
        height: 40px;
    }

    .lp4-certificate small {
        margin-top: 6px;
        font-size: 14px;
    }

    .lp4-hero-bottom {
        position: absolute;
        left: 40px;
        right: 40px;
        bottom: 70px;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 48px;
        align-items: end;
    }

    .lp4-hero h1 {
        max-width: 1111px;
        font-size: 120px;
        line-height: 0.8;
    }

    .lp4-hero p {
        max-width: 1111px;
        margin-top: 40px;
        font-size: 40px;
        line-height: 1;
    }
}

@media (max-width: 575px) {
    body.lp4-page {
        --lp4-gutter: 12px;
        font-size: 16px;
    }

    .lp4-container,
    .lp4-site-header,
    .lp4-hero,
    .lp4-task-copy,
    .lp4-bank-section,
    .lp4-final-cta,
    .lp4-action-cards,
    .lp4-partners,
    .lp4-faq,
    .lp4-footer,
    .lp4-market-metrics {
        padding-left: 16px;
        padding-right: 16px;
    }

    .lp4-site-logo {
        width: 172px;
    }

    .lp4-site-header {
        min-height: 65px;
        padding-top: 14px;
        padding-bottom: 12px;
        grid-template-columns: minmax(0, 1fr) auto 18px;
        gap: 13px;
        align-items: center;
    }

    .lp4-site-header::after {
        content: "";
        width: 18px;
        height: 14px;
        display: block;
        background:
            linear-gradient(#8a8d8f, #8a8d8f) 0 0 / 18px 2px no-repeat,
            linear-gradient(#8a8d8f, #8a8d8f) 0 6px / 18px 2px no-repeat,
            linear-gradient(#8a8d8f, #8a8d8f) 0 12px / 18px 2px no-repeat;
    }

    .lp4-login-button {
        min-height: 35px;
        padding: 8px 13px;
        border-radius: 4px;
        font-size: 12px;
        line-height: 1;
    }

    .lp4-hero {
        min-height: 747px;
        padding-top: 52px;
        padding-bottom: 37px;
        justify-content: flex-start;
    }

    .lp4-hero-certificates {
        margin-bottom: 47px;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 26px;
    }

    .lp4-certificate {
        gap: 16px;
        font-size: 16px;
        line-height: 1.15;
    }

    .lp4-certificate--registry {
        order: 2;
    }

    .lp4-certificate:not(.lp4-certificate--registry) {
        order: 1;
    }

    .lp4-certificate img {
        width: 21px;
        height: 21px;
    }

    .lp4-certificate--registry img {
        width: 18px;
        height: 18px;
    }

    .lp4-certificate small {
        margin-top: 7px;
        font-size: 13px;
    }

    .lp4-hero h1 {
        font-size: 41px;
        line-height: 1.06;
    }

    .lp4-hero p {
        margin-top: 27px;
        font-size: 19px;
        line-height: 1.2;
    }

    .lp4-hero-bottom {
        gap: 119px;
    }

    .lp4-arrow-link {
        font-size: 17px;
        line-height: 1;
    }

    .lp4-hero-image {
        height: 282px;
        background-position: center bottom;
    }

    .lp4-task-copy h2,
    .lp4-qualification h2,
    .lp4-final-cta h2 {
        font-size: 32px;
    }

    .lp4-task-section {
        display: flex;
        flex-direction: column;
        gap: 40px;
        padding: 90px 16px 0;
        background: #151515;
    }

    .lp4-task-copy {
        min-height: 0;
        padding: 0;
    }

    .lp4-eyebrow,
    .lp4-section-name {
        font-size: 16px;
        line-height: 1.25;
    }

    .lp4-task-copy h2 {
        margin: 51px 0 25px;
        font-size: 27px;
        line-height: 1.05;
    }

    .lp4-task-copy p:not(.lp4-eyebrow) {
        font-size: 27px;
        line-height: 1.05;
    }

    .lp4-task-visual {
        position: relative;
        width: 100%;
        min-height: 220px;
        height: 220px;
        padding-top: 0;
        align-items: flex-end;
        justify-content: flex-start;
        overflow: hidden;
        border-radius: 8px 8px 0 0;
    }

    .lp4-task-visual img {
        position: absolute;
        top: 0;
        left: -6.38%;
        width: 112.76%;
        max-width: none;
        height: 100%;
        object-fit: cover;
        border-radius: 8px 8px 0 0;
        transform: none;
    }

    .lp4-projects,
    .lp4-bank-section,
    .lp4-final-cta,
    .lp4-action-cards,
    .lp4-faq {
        padding-top: 64px;
        padding-bottom: 64px;
    }

    .lp4-projects {
        padding-top: 90px;
        padding-bottom: 90px;
        overflow: hidden;
    }

    .lp4-projects .lp4-container {
        padding-left: 16px;
        padding-right: 0;
    }

    .lp4-project-grid {
        margin-top: 20px;
        display: flex;
        gap: 20px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }

    .lp4-project-grid::-webkit-scrollbar,
    .lp4-action-cards::-webkit-scrollbar {
        display: none;
    }

    .lp4-project-card {
        width: calc(100vw - 32px);
        max-width: 358px;
        flex: 0 0 calc(100vw - 32px);
        scroll-snap-align: start;
    }

    .lp4-project-link {
        min-height: 673px;
    }

    .lp4-project-image {
        height: 240px;
    }

    .lp4-project-badges {
        left: 20px;
        right: 20px;
        bottom: 20px;
        gap: 8px;
    }

    .lp4-project-badges span {
        min-height: 28px;
        padding: 6px 9px;
        font-size: 14px;
    }

    .lp4-project-body {
        padding: 20px;
    }

    .lp4-project-body h3 {
        min-height: 57px;
        font-size: 24px;
        line-height: 1.1;
        -webkit-line-clamp: 2;
    }

    .lp4-project-location {
        min-height: 17px;
        margin: 9px 0 28px;
        font-size: 14px;
        line-height: 1.2;
    }

    .lp4-project-specs {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .lp4-project-specs div {
        padding: 12px 0;
    }

    .lp4-project-specs span,
    .lp4-project-funding span {
        font-size: 12px;
    }

    .lp4-project-specs strong {
        font-size: 16px;
    }

    .lp4-project-funding {
        padding: 16px 0 12px;
        grid-template-columns: minmax(0, 1fr) minmax(78px, auto);
        gap: 12px;
    }

    .lp4-project-funding div:last-child {
        align-items: flex-end;
    }

    .lp4-project-funding strong {
        font-size: 27px;
    }

    .lp4-project-funding div:last-child strong {
        font-size: 24px;
    }

    .lp4-progress {
        height: 8px;
        margin-bottom: 0;
    }

    .lp4-project-cta {
        display: none;
    }

    .lp4-bank-section {
        padding-top: 0;
        padding-bottom: 90px;
    }

    .lp4-bank-notice {
        min-height: 167px;
        padding: 24px 20px;
        gap: 24px;
    }

    .lp4-bank-logos {
        gap: 20px;
        min-height: 32px;
    }

    .lp4-bank-logos img:first-child {
        width: 140px;
        height: 22.338px;
    }

    .lp4-bank-logo-tbank {
        width: 89.412px;
        height: 32px;
        flex-basis: 89.412px;
    }

    .lp4-bank-notice p {
        max-width: 318px;
        font-size: 21px;
        line-height: 1;
    }

    .lp4-stats-grid {
        margin-top: 90px;
        padding: 0;
        display: flex;
        flex-direction: column;
        gap: 39px;
    }

    .lp4-stats-grid strong {
        font-size: 52px;
        line-height: 0.92;
        white-space: normal;
    }

    .lp4-stats-grid span {
        margin-top: 10px;
        font-size: 16px;
        line-height: 1.2;
    }

    .lp4-qualification {
        min-height: 350px;
        margin: 0;
        padding: 34px 24px 50px;
    }

    .lp4-qualification::before {
        top: 0;
        height: 100%;
        background-size: auto 100%;
        background-position: right center;
    }

    .lp4-qualification h2 {
        max-width: 240px;
        font-size: 34px;
        line-height: 1.02;
    }

    .lp4-qualification p {
        max-width: 298px;
        margin: 26px 0 52px;
        font-size: 17px;
        line-height: 1.25;
    }

    .lp4-benefits {
        display: flex;
        flex-direction: column;
    }

    .lp4-benefits-copy {
        order: 1;
        min-height: 433px;
        padding: 24px 12px 34px;
    }

    .lp4-benefits-image {
        order: 2;
        min-height: 280px;
        background-position: center top;
    }

    .lp4-benefits-copy article + article {
        margin-top: 35px;
    }

    .lp4-benefits-copy h2 {
        margin-bottom: 7px;
        font-size: 24px;
        line-height: 1.1;
    }

    .lp4-benefits-copy p {
        font-size: 18px;
        line-height: 1.25;
    }

    .lp4-market-section {
        display: flex;
        flex-direction: column;
        gap: 62px;
        min-height: 0;
        padding: 39px 12px 0;
    }

    .lp4-market-metrics {
        padding: 0;
        border: 0;
    }

    .lp4-market-block h2 {
        font-size: 70px;
        line-height: 0.78;
    }

    .lp4-market-block h2 span {
        margin-left: 4px;
        font-size: 20px;
        vertical-align: 5px;
    }

    .lp4-market-block h3 {
        max-width: 320px;
        margin: 19px 0 24px;
        font-size: 17px;
        line-height: 1.2;
    }

    .lp4-market-block p {
        display: block;
        font-size: 16px;
    }

    .lp4-market-boxes,
    .lp4-market-boxes--two {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .lp4-market-boxes span {
        min-height: 100px;
        padding: 20px 15px 13px;
        font-size: 14px;
    }

    .lp4-market-boxes strong {
        font-size: 19px;
        line-height: 1.05;
    }

    .lp4-market-source {
        margin-top: 15px !important;
    }

    .lp4-market-block + .lp4-market-block {
        margin-top: 50px;
    }

    .lp4-market-quotes {
        display: flex;
        flex-direction: column;
        gap: 0;
        width: calc(100% + 24px);
        margin: 0 -12px;
    }

    .lp4-market-quotes article {
        min-height: 0;
        padding: 40px 16px;
        border-bottom: 1px solid #151515;
        display: flex;
        flex-direction: column;
        gap: 16px;
    }

    .lp4-market-quote-photo {
        position: relative;
        top: auto;
        width: 100%;
        height: 290px;
        min-height: 290px;
        margin: 0;
        padding: 20px;
        display: flex;
        align-items: flex-end;
        justify-content: flex-start;
        overflow: hidden;
    }

    .lp4-market-quotes img {
        position: absolute;
        top: -5.1%;
        left: 0;
        width: 100%;
        max-width: none;
        height: 131.68%;
        object-fit: cover;
    }

    .lp4-market-quotes article:nth-child(2) img {
        top: -6.14%;
        height: 184.83%;
        object-position: center center;
    }

    .lp4-market-quotes article > div:last-child {
        display: flex;
        flex-direction: column;
        gap: 20px;
        width: 100%;
    }

    .lp4-market-quotes h3 {
        margin: 0;
        font-size: 20px;
        line-height: 1.2;
        letter-spacing: 0;
    }

    .lp4-market-quotes p {
        margin: 0;
        font-size: 15px;
        line-height: 18px;
        letter-spacing: 0;
        opacity: 0.6;
    }

    .lp4-market-quotes strong {
        position: relative;
        left: auto;
        bottom: auto;
        min-width: 0;
        max-width: calc(100% - 40px);
        padding: 10px;
        font-size: 14px;
        line-height: 1.3;
        letter-spacing: 0;
    }

    .lp4-market-quotes small {
        margin-top: 8px;
        font-size: 12px;
        line-height: 1;
        letter-spacing: 0;
    }

    .lp4-final-cta {
        min-height: 290px;
        padding: 49px 24px 34px;
        gap: 37px;
    }

    .lp4-final-cta::before {
        background-position: right center;
        background-size: auto 100%;
    }

    .lp4-final-cta h2 {
        max-width: 280px;
        font-size: 33px;
        line-height: 1.05;
    }

    .lp4-action-cards {
        padding: 94px 12px 0;
        display: grid;
        grid-auto-flow: column;
        grid-auto-columns: 320px;
        grid-template-columns: none;
        gap: 20px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
    }

    .lp4-action-card {
        min-height: 420px;
        padding: 41px 29px 34px;
        scroll-snap-align: start;
    }

    .lp4-action-mark {
        width: 77px;
        height: 114px;
    }

    .lp4-action-title {
        font-size: 30px;
        line-height: 1;
    }

    .lp4-action-text {
        font-size: 16px;
        line-height: 1.2;
    }

    .lp4-partners {
        padding-top: 64px;
        padding-bottom: 70px;
    }

    .lp4-partner-grid {
        margin-top: 36px;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 47px;
    }

    .lp4-partner-grid img {
        max-width: 210px;
        max-height: 72px;
    }

    .lp4-faq summary {
        padding-left: 18px;
        font-size: 18px;
    }

    .lp4-footer-title {
        font-size: 26px;
    }

    .lp4-footer-links a,
    .lp4-footer-menu a {
        font-size: 18px;
    }

    .lp4-footer-brand-wrap {
        height: auto;
    }

    .lp4-footer-brand {
        min-width: 0;
    }

    .lp4-footer {
        position: relative;
        min-height: 816px;
        height: 816px;
        padding: 0;
        overflow: hidden;
        background: #f3f3f3;
    }

    .lp4-footer-top {
        display: block;
    }

    .lp4-footer-top > div:first-child {
        display: contents;
    }

    .lp4-footer-title {
        position: absolute;
        top: 97.51px;
        left: 12.19px;
        margin: 0;
        color: #151515;
        font-size: 24px;
        line-height: 26px;
        letter-spacing: 0;
        white-space: nowrap;
    }

    .lp4-footer-socials {
        position: absolute;
        top: 153.59px;
        left: 12.19px;
        display: flex;
        flex-wrap: nowrap;
        gap: 29.2px;
        width: calc(100% - 24.38px);
        overflow: visible;
    }

    .lp4-footer-socials a {
        color: #151515;
        font-size: 16px;
        line-height: 18px;
        letter-spacing: 0;
        white-space: nowrap;
    }

    .lp4-footer-docs {
        display: contents;
        margin: 0;
    }

    .lp4-footer-docs a {
        position: absolute;
        left: 12.19px;
        margin: 0;
        color: #151515;
        font-size: 14px;
        line-height: 22px;
        white-space: nowrap;
    }

    .lp4-footer-docs a:first-child {
        top: 416.89px;
    }

    .lp4-footer-docs a:last-child {
        top: 458.34px;
    }

    .lp4-footer-menu {
        display: contents;
        padding: 0;
    }

    .lp4-footer-menu a {
        display: none;
    }

    .lp4-footer-menu a:nth-child(n + 4) {
        position: absolute;
        left: 12.19px;
        display: block;
        color: transparent;
        font-family: Arial, sans-serif;
        font-size: 16px;
        line-height: 18px;
        letter-spacing: 0;
        white-space: nowrap;
    }

    .lp4-footer-menu a:nth-child(n + 4)::before {
        content: attr(data-mobile-label);
        color: #151515;
    }

    .lp4-footer-menu a:nth-child(4) {
        top: 248.67px;
    }

    .lp4-footer-menu a:nth-child(5) {
        top: 285.23px;
    }

    .lp4-footer-menu a:nth-child(6) {
        top: 321.81px;
    }

    .lp4-footer-address {
        position: absolute;
        top: 558.29px;
        left: 12.19px;
        width: calc(100% - 24.38px);
        max-width: 365.69px;
        padding: 0;
        display: flex;
        flex-direction: column;
        gap: 3.9px;
        color: rgba(0, 0, 0, .5);
        font-size: 14px;
        line-height: 18px;
    }

    .lp4-footer-address span {
        display: block;
    }

    .lp4-footer-brand-wrap {
        position: absolute;
        bottom: 16.52px;
        left: 12.19px;
        width: calc(100% - 24.38px);
        max-width: 365.69px;
        height: 58.34px;
        margin: 0;
        overflow: hidden;
        background: url("/static/media/landpage/v2/footer-photo.svg") center / 100% 100% no-repeat;
    }

    .lp4-footer-brand {
        display: block;
        width: 100%;
        height: 58.34px;
        object-fit: fill;
        min-width: 0;
        opacity: 1;
        visibility: visible;
    }
}

@media (min-width: 768px) {
    .lp4-action-cards {
        padding: 150px 40px 0;
        display: grid;
        grid-auto-flow: initial;
        grid-auto-columns: auto;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 20px;
        align-items: start;
        overflow: visible;
    }

    .lp4-action-card {
        width: auto;
        min-height: 0;
        height: auto;
        aspect-ratio: 440 / 420;
        padding: 41px;
    }

    .lp4-action-mark {
        width: 77px;
        height: 114.038px;
    }

    .lp4-action-title {
        font-size: 42px;
        line-height: 42px;
        letter-spacing: -1.5px;
    }

    .lp4-action-text {
        font-size: 16px;
        line-height: 19.2px;
        letter-spacing: -0.1px;
    }
}

@media (max-width: 575px) {
    .lp4-footer {
        min-height: 816px;
        height: 816px;
    }

    .lp4-footer-title,
    .lp4-footer-socials,
    .lp4-footer-docs a,
    .lp4-footer-menu a:nth-child(n + 4),
    .lp4-footer-address {
        z-index: 2;
    }

    .lp4-footer-title {
        top: 97.51px;
        left: 12.19px;
        width: 343.45px;
        font-size: 24px;
        line-height: 26px;
        letter-spacing: 0;
        white-space: nowrap;
    }

    .lp4-footer-socials {
        top: 153.59px;
        left: 12.19px;
        width: 365.69px;
        max-width: calc(100% - 24.38px);
        gap: 29.2px;
    }

    .lp4-footer-socials a {
        font-size: 16px;
        line-height: 18px;
        letter-spacing: 0;
        white-space: nowrap;
    }

    .lp4-footer-menu a:nth-child(n + 4) {
        left: 12.19px;
        font-size: 16px;
        line-height: 18px;
        letter-spacing: 0;
        white-space: nowrap;
    }

    .lp4-footer-menu a:nth-child(4) {
        top: 248.67px;
    }

    .lp4-footer-menu a:nth-child(5) {
        top: 285.23px;
    }

    .lp4-footer-menu a:nth-child(6) {
        top: 321.81px;
    }

    .lp4-footer-docs a {
        left: 12.19px;
        font-size: 14px;
        line-height: 22px;
        white-space: nowrap;
    }

    .lp4-footer-docs a:first-child {
        top: 416.89px;
        left: 12.19px;
    }

    .lp4-footer-docs a:last-child {
        top: 458.34px;
        left: 12.19px;
    }

    .lp4-footer-address {
        top: 558.29px;
        left: 12.19px;
        width: 365.69px;
        max-width: calc(100% - 24.38px);
        gap: 3.9px;
        font-size: 14px;
        line-height: 18px;
        color: rgba(0, 0, 0, .5);
    }

    .lp4-footer-brand-wrap {
        top: 741.14px;
        bottom: auto;
        left: 12.19px;
        width: 365.69px;
        max-width: calc(100% - 24.38px);
        z-index: 1;
        height: 58.349px;
        overflow: hidden;
        background: url("/static/media/landpage/v2/footer-photo.svg") center / 100% 100% no-repeat;
    }

    .lp4-footer-brand {
        display: none;
    }
}

/* =====================================================================
   Вторичный рынок
   ===================================================================== */
.hl-exchange-page {
    --hl-exchange-forest: var(--hl-color-brand-900);
    --hl-exchange-green: var(--hl-color-brand-800);
    --hl-exchange-mint: var(--hl-color-brand-500);
    --hl-exchange-surface: #f7faf8;
    --hl-exchange-border: #dce7e2;
    --hl-exchange-buy-bg: #edf8f2;
    --hl-exchange-sell-bg: #fff4ef;
    --hl-exchange-sell: var(--hl-color-attention);
}

.hl-exchange-page .text-deep-primary {
    color: var(--hl-exchange-green) !important;
}

.hl-exchange-page .clickable-row {
    cursor: pointer;
}

.hl-exchange-breadcrumb .breadcrumb-link,
.hl-exchange-breadcrumb i {
    color: var(--hl-exchange-green) !important;
}

.hl-exchange-heading,
.hl-exchange-project-hero {
    position: relative;
    overflow: hidden;
    padding: 30px 34px;
    border-radius: 20px;
    background:
        radial-gradient(circle at 88% 12%, rgba(111, 193, 147, .34), transparent 28%),
        linear-gradient(135deg, var(--hl-exchange-forest) 0%, var(--hl-exchange-green) 100%);
    box-shadow: 0 18px 42px rgba(35, 60, 54, .16);
}

.hl-exchange-heading::after,
.hl-exchange-project-hero::after {
    content: "";
    position: absolute;
    right: -54px;
    bottom: -74px;
    width: 190px;
    height: 190px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 50%;
    box-shadow: 0 0 0 28px rgba(255, 255, 255, .04);
    pointer-events: none;
}

.hl-exchange-heading .display-title,
.hl-exchange-project-hero .display-5,
.hl-exchange-project-hero .text-gray-700,
.hl-exchange-project-hero strong {
    color: var(--hl-color-white) !important;
}

.hl-exchange-kicker {
    display: inline-flex;
    margin-bottom: 10px;
    color: var(--hl-color-brand-500);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .16em;
}

.hl-exchange-heading__text {
    color: rgba(255, 255, 255, .72);
    font-size: 15px;
}

.hl-exchange-project-hero .symbol img {
    border: 3px solid rgba(255, 255, 255, .72);
    border-radius: 14px;
    object-fit: cover;
    box-shadow: 0 10px 28px rgba(15, 31, 27, .2);
}

.hl-exchange-panel,
.hl-exchange-order-book,
.hl-exchange-chart-panel {
    border: 1px solid var(--hl-exchange-border) !important;
    border-radius: 20px;
    background: var(--hl-color-white);
    box-shadow: 0 12px 34px rgba(35, 60, 54, .08);
}

.hl-exchange-panel > .card-body {
    padding: 28px;
}

.hl-exchange-table thead th {
    padding-top: 15px !important;
    padding-bottom: 15px !important;
    border-bottom-color: var(--hl-exchange-border) !important;
    background: var(--hl-exchange-surface);
    color: var(--hl-exchange-forest) !important;
    font-weight: 600 !important;
}

.hl-exchange-table thead th:first-child {
    border-radius: 10px 0 0 10px;
}

.hl-exchange-table thead th:last-child {
    border-radius: 0 10px 10px 0;
}

.hl-exchange-table tbody tr {
    transition: transform .18s ease, background-color .18s ease, box-shadow .18s ease;
}

.hl-exchange-table tbody tr:hover {
    background: #f3f8f5 !important;
}

.hl-exchange-project-row:hover {
    transform: translateY(-1px);
    box-shadow: inset 3px 0 0 var(--hl-exchange-mint);
}

.hl-exchange-best-price {
    color: var(--hl-exchange-green) !important;
}

.hl-exchange-cup-layout {
    gap: 28px;
}

.hl-exchange-order-book,
.hl-exchange-chart-panel {
    padding: 24px;
}

.hl-exchange-order-book__body {
    padding: 0 !important;
}

.hl-exchange-depth-table tbody td {
    padding: 15px 12px !important;
    border-bottom: 1px solid rgba(220, 231, 226, .72);
}

.hl-exchange-order-row--sell {
    background: var(--hl-exchange-sell-bg);
    box-shadow: inset 3px 0 0 var(--hl-exchange-sell);
}

.hl-exchange-order-row--buy {
    cursor: pointer;
    background: var(--hl-exchange-buy-bg);
    box-shadow: inset 3px 0 0 var(--hl-exchange-mint);
}

.hl-exchange-order-row--own {
    background-image: linear-gradient(90deg, rgba(249, 222, 86, .2), transparent 60%);
    box-shadow: inset 3px 0 0 var(--hl-color-warning-strong);
}

.hl-exchange-chart-panel {
    align-self: flex-start;
    background:
        linear-gradient(180deg, rgba(111, 193, 147, .08), transparent 38%),
        var(--hl-color-white);
}

.hl-exchange-best-price-card {
    padding: 14px 18px;
    border: 1px solid var(--hl-exchange-border);
    border-radius: 12px;
    background: rgba(255, 255, 255, .84);
}

.hl-exchange-best-price-card .fs-2hx {
    color: var(--hl-exchange-green) !important;
}

.hl-exchange-price-chart {
    height: 350px;
}

@media (max-width: 991.98px) {
    .hl-exchange-heading,
    .hl-exchange-project-hero {
        padding: 24px;
    }

    .hl-exchange-project-hero {
        margin-right: 0;
        margin-left: 0;
    }

    .hl-exchange-order-book,
    .hl-exchange-chart-panel {
        padding: 18px;
    }
}

@media (max-width: 575px) {
    .hl-exchange-heading,
    .hl-exchange-project-hero {
        padding: 20px;
        border-radius: 16px;
    }

    .hl-exchange-heading .display-title {
        font-size: 28px;
    }

    .hl-exchange-heading__text {
        font-size: 13px;
    }

    .hl-exchange-panel > .card-body {
        padding: 16px;
    }

    .hl-exchange-order-book,
    .hl-exchange-chart-panel {
        border-radius: 16px;
    }
}
/* Проектный лендинг по макету Figma 2710:3998. */
@font-face {
    font-display: swap;
    font-family: "TT Firs Neue Landing";
    font-style: normal;
    font-weight: 400;
    src: url("/static/fonts/Neue_2/woff2/TT_Firs_Neue_Normal.woff2") format("woff2");
}

@font-face {
    font-display: swap;
    font-family: "TT Firs Neue Landing";
    font-style: normal;
    font-weight: 500;
    src: url("/static/fonts/Neue_2/woff2/TT_Firs_Neue_Medium.woff2") format("woff2");
}

.project-landing-page {
    margin: 0;
    background: #f3f3f3;
    color: #151515;
    font-family: "TT Firs Neue Landing", sans-serif;
    font-weight: 400;
    font-synthesis: none;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
}

.project-landing-page *,
.project-landing-page *::before,
.project-landing-page *::after {
    box-sizing: border-box;
}

.project-landing-header {
    align-items: center;
    display: flex;
    height: 72px;
    justify-content: space-between;
    left: 0;
    padding: 15px 40px;
    position: absolute;
    right: 0;
    top: 0;
    z-index: 5;
}

.project-landing-header img {
    display: block;
    height: 34px;
    width: 304px;
}

.project-landing-login {
    background: #fff;
    border-radius: 30px;
    color: #151515;
    font-family: "TT Firs Neue Landing", sans-serif;
    font-size: 12px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: .24px;
    padding: 10px 15px;
    text-decoration: none;
    text-transform: uppercase;
}

.project-landing-hero {
    align-items: center;
    background-image: var(--project-hero-image);
    background-position: center;
    background-size: cover;
    display: flex;
    height: 800px;
    overflow: hidden;
    padding: 80px 40px 40px;
    position: relative;
}

.project-landing-hero-shade {
    background: linear-gradient(98deg, #f3f3f3 19.43%, rgba(243, 243, 243, 0) 117.73%);
    inset: 0;
    position: absolute;
}

.project-landing-hero-content {
    align-items: flex-start;
    display: flex;
    flex-direction: column;
    gap: 60px;
    max-width: 1190px;
    position: relative;
    z-index: 1;
}

.project-landing-status {
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.project-landing-hero-copy {
    display: flex;
    flex-direction: column;
    gap: 40px;
    width: 100%;
}

.project-landing-hero h1 {
    font-family: "TT Firs Neue Landing", sans-serif;
    font-size: clamp(54px, 5.7vw, 82px);
    font-weight: 400;
    letter-spacing: -3.28px;
    line-height: .86;
    margin: 0;
    max-width: 1190px;
}

.project-landing-hero p {
    font-family: "TT Firs Neue Landing", sans-serif;
    font-size: 24px;
    font-weight: 400;
    letter-spacing: -.24px;
    line-height: 1.3;
    margin: 0;
    max-width: 620px;
}

.project-landing-hero .project-landing-hero-closed-label {
    color: #d92d20;
}

.project-landing-button {
    align-items: center;
    border-radius: 100px;
    display: inline-flex;
    flex: 0 0 auto;
    font-family: Arial, sans-serif;
    font-size: 14px;
    font-weight: 400;
    height: 48px;
    justify-content: center;
    letter-spacing: -.2px;
    line-height: 18.2px;
    padding: 0 24px;
    text-decoration: none;
    text-transform: uppercase;
    width: fit-content;
}

.project-landing-button--dark {
    background: #151515;
    color: #fff;
}

.project-landing-summary {
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: 602px;
}

.project-landing-description {
    align-items: flex-start;
    border-bottom: 1px solid #c5d0d4;
    border-right: 1px solid #c5d0d4;
    display: flex;
    flex-direction: column;
    gap: 32px;
    justify-content: space-between;
    min-height: 0;
    overflow: hidden;
    padding: 40px;
}

.project-landing-eyebrow {
    font-size: 16px;
    letter-spacing: -.16px;
    line-height: 1.4;
    margin: 0;
    text-transform: uppercase;
}

.project-landing-description-content,
.project-landing-description-paragraphs {
    display: flex;
    flex-direction: column;
}

.project-landing-description-content {
    flex: 1 1 auto;
    gap: 32px;
    min-height: 0;
    overflow-y: auto;
    width: 100%;
}

.project-landing-description > .project-landing-button {
    flex-shrink: 0;
}

.project-landing-description-paragraphs {
    gap: 32px;
}

.project-landing-description-paragraphs p {
    font-size: 24px;
    font-weight: 400;
    letter-spacing: -.24px;
    line-height: 1.3;
    margin: 0;
}

.project-landing-richtext {
    font-size: 24px;
    letter-spacing: -.24px;
    line-height: 1.3;
    margin-bottom: 28px;
}

.project-landing-richtext > :first-child {
    margin-top: 0;
}

.project-landing-richtext > :last-child {
    margin-bottom: 0;
}

.project-landing-metrics {
    display: flex;
    flex-direction: column;
}

.project-landing-yield {
    border-bottom: 1px solid #c5d0d4;
    padding: 40px;
}

.project-landing-yield-value {
    font-family: "TT Firs Neue Landing", sans-serif;
    font-size: clamp(72px, 8.3vw, 120px);
    font-weight: 400;
    letter-spacing: -2.5px;
    line-height: 1;
    white-space: nowrap;
}

.project-landing-yield-value span {
    font-size: 60px;
}

.project-landing-yield-value sup {
    font-size: 60px;
    top: -.5em;
}

.project-landing-yield p {
    color: #5a6e75;
    font-size: 20px;
    font-weight: 400;
    letter-spacing: -.2px;
    line-height: 1.3;
    margin: 40px 0 0;
}

.project-landing-metrics dl,
.project-landing-object-parameters {
    margin: 0;
}

.project-landing-metrics dl > div {
    align-items: center;
    border-bottom: 1px solid #c5d0d4;
    display: flex;
    flex: 1;
    justify-content: space-between;
    min-height: 88px;
    padding: 20px 40px;
}

.project-landing-metrics dt {
    color: #5a6e75;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.4;
}

.project-landing-metrics dd {
    font-family: "TT Firs Neue Landing", sans-serif;
    font-size: 24px;
    font-weight: 500;
    letter-spacing: -.24px;
    margin: 0 0 0 24px;
    text-align: right;
}

.project-landing-disclaimer {
    align-items: center;
    display: flex;
    font-size: 18px;
    line-height: 1;
    margin: 0;
    min-height: 58px;
    padding: 20px 40px;
}

.project-landing-disclaimer a {
    color: #0756ff;
    margin-left: 4px;
}

.project-landing-object {
    padding-top: 150px;
}

.project-landing-object h2 {
    font-family: "TT Firs Neue Landing", sans-serif;
    font-size: 64px;
    font-weight: 400;
    letter-spacing: -1.92px;
    line-height: 1.1;
    margin: 0;
    padding: 0 40px 40px;
}

.project-landing-object-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: 700px;
}

.project-landing-object-copy {
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding: 40px;
}

.project-landing-object-description {
    font-size: 16px;
    font-weight: 400;
    letter-spacing: -.16px;
    line-height: 1.35;
    margin: 0;
    opacity: .8;
}

.project-landing-object-description p {
    margin: 0 0 16px;
}

.project-landing-object-description p:last-child {
    margin-bottom: 0;
}

.project-landing-object-parameters-block h3 {
    font-size: 20px;
    font-weight: 400;
    letter-spacing: -.8px;
    line-height: 1;
    margin: 0 0 24px;
}

.project-landing-object-parameters > div {
    align-items: center;
    border-bottom: 1px solid #c5d0d4;
    display: flex;
    justify-content: space-between;
    min-height: 48px;
    padding: 12px 20px;
}

.project-landing-object-parameters dt {
    color: #5a6e75;
    font-size: 16px;
    font-weight: 400;
}

.project-landing-object-parameters dd {
    font-size: 20px;
    font-weight: 400;
    letter-spacing: -.4px;
    margin: 0 0 0 20px;
    text-align: right;
}

.project-landing-files {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 32px;
}

.project-landing-files a {
    border: 1px solid #151515;
    border-radius: 6px;
    color: #151515;
    font-family: "TT Firs Neue Landing", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    padding: 11px 18px;
    text-decoration: none;
}

.project-landing-object-image {
    height: 700px;
    overflow: hidden;
}

.project-landing-object-carousel,
.project-landing-object-carousel-track {
    height: 100%;
    position: relative;
    width: 100%;
}

.project-landing-object-carousel {
    background: #e5e5e5;
    overflow: hidden;
}

.project-landing-object-slide {
    inset: 0;
    margin: 0;
    opacity: 0;
    position: absolute;
    transition: opacity .35s ease;
    visibility: hidden;
}

.project-landing-object-slide.is-active {
    opacity: 1;
    visibility: visible;
}

.project-landing-object-slide img {
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.project-landing-object-control {
    align-items: center;
    background: rgba(255, 255, 255, .9);
    border: 0;
    border-radius: 50%;
    color: #151515;
    cursor: pointer;
    display: flex;
    font-family: Arial, sans-serif;
    font-size: 24px;
    height: 48px;
    justify-content: center;
    padding: 0;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    z-index: 2;
}

.project-landing-object-control--prev {
    left: 24px;
}

.project-landing-object-control--next {
    right: 24px;
}

.project-landing-object-control:focus-visible,
.project-landing-object-dot:focus-visible {
    outline: 2px solid #151515;
    outline-offset: 3px;
}

.project-landing-object-dots {
    align-items: center;
    background: rgba(255, 255, 255, .9);
    border-radius: 100px;
    bottom: 24px;
    display: flex;
    gap: 7px;
    left: 50%;
    padding: 8px 10px;
    position: absolute;
    transform: translateX(-50%);
    z-index: 2;
}

.project-landing-object-dot {
    background: #a5a5a5;
    border: 0;
    border-radius: 100px;
    cursor: pointer;
    height: 8px;
    padding: 0;
    transition: background-color .2s ease, width .2s ease;
    width: 8px;
}

.project-landing-object-dot.is-active {
    background: #151515;
    width: 24px;
}

.project-landing-visually-hidden {
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    height: 1px;
    overflow: hidden;
    position: absolute;
    white-space: nowrap;
    width: 1px;
}

.project-landing-footer {
    background: #fff;
    padding: 150px 40px 20px;
}

.project-landing-footer-top {
    display: flex;
    justify-content: space-between;
    margin-bottom: 80px;
}

.project-landing-footer-top p {
    font-size: 20px;
    letter-spacing: -.4px;
    margin: 0 0 40px;
}

.project-landing-footer nav {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.project-landing-footer a {
    color: #151515;
    text-decoration: none;
}

.project-landing-footer nav a {
    font-size: 24px;
    letter-spacing: -.24px;
}

.project-landing-legal-links {
    display: flex;
    flex-wrap: wrap;
    font-size: 16px;
    gap: 40px;
    margin-top: 40px;
}

.project-landing-footer address {
    align-self: flex-end;
    font-size: 14px;
    font-style: normal;
    line-height: 1.3;
    max-width: 270px;
}

.project-landing-wordmark {
    display: block;
    height: auto;
    width: 100%;
}

.project-landing-unavailable {
    align-items: flex-start;
    display: flex;
    flex-direction: column;
    gap: 30px;
    justify-content: center;
    min-height: 100vh;
    padding: 40px;
}

.project-landing-unavailable img {
    height: auto;
    max-width: 304px;
    width: 70vw;
}

.project-landing-unavailable h1 {
    font-size: clamp(48px, 7vw, 82px);
    font-weight: 400;
    letter-spacing: -3px;
    line-height: .9;
    margin: 0;
}

.project-landing-unavailable p {
    font-size: 20px;
    margin: 0;
}

@media (max-width: 767px) {
    .project-landing-header {
        height: 60px;
        padding: 12px 16px;
    }

    .project-landing-header img {
        height: auto;
        width: 160px;
    }

    .project-landing-login {
        font-size: 9px;
        padding: 8px 10px;
    }

    .project-landing-hero {
        align-items: flex-start;
        background-position: center top;
        height: auto;
        min-height: 700px;
        padding: 280px 16px 24px;
    }

    .project-landing-hero-shade {
        background: linear-gradient(
            180deg,
            rgba(243, 243, 243, 0) 0,
            rgba(243, 243, 243, .08) 30%,
            rgba(243, 243, 243, .88) 46%,
            #f3f3f3 62%,
            #f3f3f3 100%
        );
    }

    .project-landing-hero-content {
        background: #f3f3f3;
        border-radius: 24px;
        gap: 24px;
        padding: 24px 20px;
        width: 100%;
    }

    .project-landing-hero-copy {
        gap: 24px;
    }

    .project-landing-hero h1 {
        font-size: clamp(36px, 10.5vw, 42px);
        letter-spacing: -1.6px;
        line-height: .96;
    }

    .project-landing-hero p {
        font-size: 18px;
    }

    .project-landing-summary,
    .project-landing-object-grid {
        height: auto;
        grid-template-columns: 1fr;
    }

    .project-landing-description {
        border-right: 0;
        gap: 40px;
        min-height: 520px;
        padding: 32px 16px;
    }

    .project-landing-description-paragraphs {
        gap: 24px;
    }

    .project-landing-description-paragraphs p {
        font-size: 20px;
    }

    .project-landing-richtext {
        font-size: 20px;
    }

    .project-landing-yield {
        padding: 32px 16px;
    }

    .project-landing-yield-value,
    .project-landing-yield-value span,
    .project-landing-yield-value sup {
        font-size: 52px;
    }

    .project-landing-metrics dl > div {
        min-height: 76px;
        padding: 16px;
    }

    .project-landing-metrics dt {
        max-width: 45%;
    }

    .project-landing-metrics dd {
        font-size: 18px;
    }

    .project-landing-disclaimer {
        align-items: flex-start;
        flex-wrap: wrap;
        font-size: 14px;
        line-height: 1.3;
        padding: 16px;
    }

    .project-landing-object {
        padding-top: 88px;
    }

    .project-landing-object h2 {
        font-size: 42px;
        padding: 0 16px 32px;
    }

    .project-landing-object-copy {
        padding: 24px 16px 40px;
    }

    .project-landing-object-image {
        height: 440px;
        min-height: 440px;
        order: -1;
    }

    .project-landing-object-control {
        font-size: 20px;
        height: 40px;
        width: 40px;
    }

    .project-landing-object-control--prev {
        left: 12px;
    }

    .project-landing-object-control--next {
        right: 12px;
    }

    .project-landing-object-dots {
        bottom: 16px;
    }

    .project-landing-footer {
        padding: 90px 16px 16px;
    }

    .project-landing-footer-top {
        flex-direction: column;
        gap: 70px;
    }

    .project-landing-footer nav,
    .project-landing-legal-links {
        gap: 20px;
    }

    .project-landing-footer nav a {
        font-size: 20px;
    }
}

@media (min-width: 992px) {
    .manager-wallet-orders-header {
        height: 52px;
        margin-bottom: 12px;
    }
}

@media (max-width: 991.98px) {
    .manager-wallet-orders-header {
        margin-bottom: 20px;
    }
}

.executive-sales-new-investors-table {
    min-width: 1180px;
}

.executive-sales-new-investors-table th,
.executive-sales-new-investors-table td {
    white-space: nowrap;
}

.executive-budget {
    --executive-budget-ink: var(--hl-color-ink-800);
    --executive-budget-muted: #A1A5B7;
    --executive-budget-border: var(--hl-color-gray-200);
    --executive-budget-surface: var(--hl-bg-card);
    color: var(--executive-budget-ink);
    font-family: 'Neue_2', sans-serif;
}

.executive-budget-hero,
.executive-budget-section-head,
.executive-budget-footnote {
    align-items: center;
    display: flex;
    justify-content: space-between;
}

.executive-budget-hero {
    background: var(--executive-budget-surface);
    border: 0;
    border-radius: 6px;
    padding: 24px;
}

.executive-budget-hero h2,
.executive-budget-section-head h3 {
    color: var(--executive-budget-ink);
    font-size: 26px;
    font-weight: 500;
    letter-spacing: -0.48px;
    line-height: 1.2;
}

.executive-budget-hero p,
.executive-budget-section-head .text-gray-500 {
    color: var(--executive-budget-muted) !important;
    font-size: 13px !important;
}

.executive-budget-source,
.executive-budget-chip {
    background: #D4EBE5;
    border: 0;
    border-radius: 999px;
    color: var(--executive-budget-ink);
    font-size: 11px;
    font-weight: 600;
    line-height: 1;
    padding: 5px 8px;
}

.executive-budget-period {
    min-width: 230px;
}

.executive-budget-period .form-label {
    color: var(--executive-budget-muted);
    font-size: 12px;
    font-weight: 400;
}

.executive-budget-period .form-select {
    border-color: var(--executive-budget-border);
    border-radius: 6px;
    color: var(--executive-budget-ink);
    font-size: 13px;
    min-height: 44px;
}

.executive-budget-period .form-select:focus {
    border-color: var(--hl-color-brand-700);
    box-shadow: 0 0 0 3px rgba(89, 119, 110, 0.14);
}

.executive-budget-status {
    background: var(--executive-budget-surface);
    border: 0;
    border-radius: 6px;
    color: var(--executive-budget-ink);
    padding: 18px 20px;
}

.executive-budget-status[data-kind="unavailable"] {
    background: #FFF7F8;
    color: var(--hl-color-danger);
}

.executive-budget-section {
    background: var(--executive-budget-surface);
    border: 0;
    border-radius: 6px;
    overflow: hidden;
}

.executive-budget-section-head {
    border-bottom: 1px solid var(--executive-budget-border);
    gap: 24px;
    padding: 24px;
}

.executive-budget-method .btn {
    background: var(--executive-budget-surface);
    border: 1px solid var(--executive-budget-border);
    color: var(--hl-color-gray-700);
    font-size: 13px;
    font-weight: 500;
    min-height: 40px;
    padding: 9px 16px;
}

.executive-budget-method .btn.active {
    background: var(--hl-color-brand-900);
    border-color: var(--hl-color-brand-900);
    color: var(--hl-color-white);
    position: relative;
    z-index: 1;
}

.executive-budget-grid {
    display: grid;
    grid-template-columns: minmax(260px, 320px) minmax(0, 1fr);
    min-height: 470px;
}

.executive-budget-kpis {
    border-right: 1px solid var(--executive-budget-border);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 16px 24px;
}

.executive-budget-kpi {
    border-bottom: 1px solid var(--executive-budget-border);
    padding: 18px 0;
}

.executive-budget-kpi:last-child {
    border-bottom: 0;
}

.executive-budget-kpi > span {
    color: var(--executive-budget-muted);
    display: block;
    font-size: 12.35px;
    margin-bottom: 5px;
}

.executive-budget-kpi > strong {
    color: var(--executive-budget-ink);
    display: block;
    font-size: 26px;
    font-weight: 500;
    letter-spacing: -0.48px;
    line-height: 1;
}

.executive-budget-kpi > small {
    color: var(--executive-budget-muted);
    display: block;
    font-size: 11px;
    margin-top: 7px;
}

.executive-budget-kpi > small b {
    color: var(--hl-color-brand-700);
    font-weight: 600;
}

.executive-budget-chart-card {
    min-width: 0;
    padding: 24px 20px 10px;
}

.executive-budget-chart {
    min-height: 390px;
    width: 100%;
}

.executive-budget-footnote {
    background: var(--executive-budget-surface);
    border-radius: 6px;
    color: var(--hl-color-gray-700);
    flex-wrap: wrap;
    font-size: 12px;
    gap: 12px 24px;
    padding: 16px 20px;
}

.consolidated-payment-plan-kpis {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.consolidated-liquidity-surplus > strong {
    color: var(--hl-color-success) !important;
}

.consolidated-liquidity-deficit > strong {
    color: var(--hl-color-danger) !important;
}

.executive-liquidity-chart {
    min-height: 285px;
    width: 100%;
}

@media (max-width: 991.98px) {
    .executive-budget-hero,
    .executive-budget-section-head {
        align-items: stretch;
        flex-direction: column;
    }

    .executive-budget-period {
        min-width: 0;
        width: 100%;
    }

    .executive-budget-grid {
        grid-template-columns: 1fr;
    }

    .executive-budget-kpis {
        border-bottom: 1px solid var(--executive-budget-border);
        border-right: 0;
    }

    .consolidated-payment-plan-kpis {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575.98px) {
    .executive-budget-hero,
    .executive-budget-section-head,
    .executive-budget-kpis,
    .executive-budget-chart-card {
        padding-left: 18px;
        padding-right: 18px;
    }

    .executive-budget-method {
        display: grid;
        grid-template-columns: 1fr;
    }

    .consolidated-payment-plan-kpis {
        grid-template-columns: 1fr;
    }
}
/* Рабочая сетка семи Google-листов в кабинете маркетолога. */
.marketing-planning-primary-tabs {
    display: flex;
    gap: 4px;
    overflow-x: auto;
    padding: 6px;
    border: 1px solid #e5e5eb;
    border-radius: 12px;
    background: #fff;
    scrollbar-width: thin;
}

.marketing-planning-primary-tab {
    flex: 0 0 auto;
    padding: 10px 16px;
    border-radius: 8px;
    color: #777786;
    font-size: 13px;
    line-height: 1.25;
    text-decoration: none;
    white-space: nowrap;
}

.marketing-planning-primary-tab:hover {
    background: #f7f7fa;
    color: #25252f;
}

.marketing-planning-primary-tab.active {
    background: #25252f;
    color: #fff;
}

.marketing-planning-grid-wrap {
    max-height: 620px;
    overflow: auto;
    border: 1px solid #e8e8ee;
    border-radius: 8px;
    background: #fff;
}

.marketing-planning-grid {
    border-collapse: separate;
    border-spacing: 0;
    min-width: 100%;
    width: max-content;
    font-size: 12px;
    color: #30303b;
}

.marketing-planning-grid th,
.marketing-planning-grid td {
    min-width: 140px;
    max-width: 360px;
    padding: 8px 10px;
    border-right: 1px solid #ececf1;
    border-bottom: 1px solid #ececf1;
    white-space: pre-wrap;
    vertical-align: top;
}

.marketing-planning-grid thead th {
    position: sticky;
    top: 0;
    z-index: 2;
    min-width: 48px;
    padding: 6px 10px;
    background: #f5f5f8;
    color: #8a8a9a;
    text-align: center;
}

.marketing-planning-grid .marketing-planning-row-number {
    position: sticky;
    left: 0;
    z-index: 1;
    min-width: 48px;
    width: 48px;
    max-width: 48px;
    background: #f5f5f8;
    color: #9a9aa8;
    text-align: center;
    font-weight: 400;
}

.marketing-planning-grid td[contenteditable="true"]:hover,
.marketing-planning-grid td[contenteditable="true"]:focus {
    background: #fff8fa;
    outline: 2px solid #ff647c;
    outline-offset: -2px;
}

.marketing-planning-grid td[contenteditable="true"] {
    cursor: text;
    background: #fff;
}

.marketing-planning-grid td[data-cell-readonly="true"] {
    background: #fafafd;
}

@media (max-width: 575.98px) {
    .hl-executive-cabinet #kt_app_header_wrapper .app-navbar .fw-semibold.text-gray-800 {
        display: none !important;
    }

    .marketing-cabinet-body #kt_app_header_wrapper,
    .marketing-cabinet-body #kt_app_header_wrapper .app-navbar {
        min-width: 0;
    }

    .marketing-cabinet-body #kt_app_header_wrapper .app-navbar > .d-flex:first-child,
    .marketing-cabinet-body #kt_app_header_wrapper .app-navbar .fw-semibold.text-gray-800,
    .marketing-cabinet-body #kt_app_header_wrapper .app-navbar .bi-chevron-down {
        display: none !important;
    }

    .marketing-cabinet-body #kt_app_header_wrapper .app-navbar .me-3 {
        margin-right: 0 !important;
    }
}

/* Фирменная карточка предварительного дохода в кабинете партнёра. */
.partner-commission-result-card {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: 100%;
    border: 1px solid rgba(111, 193, 147, 0.34);
    border-radius: 14px;
    background:
        radial-gradient(circle at 92% 8%, rgba(111, 193, 147, 0.24), transparent 34%),
        linear-gradient(145deg, var(--hl-color-brand-800), var(--hl-color-brand-900));
    box-shadow: 0 18px 44px rgba(35, 60, 54, 0.18);
    color: var(--hl-color-white);
}

.partner-commission-result-card::after {
    position: absolute;
    z-index: -1;
    right: -72px;
    bottom: -105px;
    width: 230px;
    height: 230px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    box-shadow:
        0 0 0 28px rgba(255, 255, 255, 0.025),
        0 0 0 58px rgba(255, 255, 255, 0.018);
    content: "";
}

.partner-commission-result-label,
.partner-commission-result-note {
    color: rgba(255, 255, 255, 0.68);
}

.partner-commission-result-badge {
    padding: 6px 10px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.78);
    font-size: 11px;
    line-height: 1.2;
    white-space: nowrap;
}

.partner-commission-rate-summary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.07);
}

.partner-commission-rate-summary span {
    color: rgba(255, 255, 255, 0.62);
    font-size: 12px;
}

.partner-commission-rate-summary strong {
    color: var(--hl-color-white);
    font-size: 14px;
    font-weight: 600;
}

@media (max-width: 575.98px) {
    .partner-commission-result-badge {
        white-space: normal;
        text-align: center;
    }

}
.hl-outsourcing-ring {
    --progress: 0;
    width: 190px;
    height: 190px;
    margin: 0 auto;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: conic-gradient(#67b0f5 calc(var(--progress) * 1%), #e7edf2 0);
    position: relative;
}

.hl-outsourcing-ring::after {
    content: "";
    position: absolute;
    inset: 24px;
    border-radius: 50%;
    background: #fff;
}

.hl-outsourcing-ring > div {
    position: relative;
    z-index: 1;
}

/* Управленческая матрица корпоративного бюджета. */
.budget-management-kpi {
    padding: 20px;
    border: 1px solid #edf0f5;
    border-radius: 12px;
    background: #fafbfc;
}

.budget-management-table-wrap {
    border: 1px solid #e8ecf2;
    border-radius: 12px;
}

.budget-management-table {
    min-width: 1240px;
}

.business-plan-table {
    min-width: 1680px;
}

.business-plan-table .business-plan-direction-row th {
    background: #f5f7fa;
}

.business-plan-forecast-wrap {
    border: 1px solid #e8ecf2;
    border-radius: 12px;
}

.business-plan-forecast-table {
    min-width: 1520px;
}

.business-plan-rate-field {
    display: flex;
    height: 100%;
    flex-direction: column;
}

.business-plan-rate-field .form-label {
    min-height: 42px;
}

.business-plan-rate-field .form-text {
    min-height: 40px;
}

.business-plan-auto-input[readonly] {
    background-color: #f5f7fa;
    color: #3f4254;
    font-weight: 600;
}

.business-plan-terminal-option {
    display: block;
    height: 100%;
    min-height: 86px;
    padding: 16px 18px;
    border: 1px solid #e4e6ef;
    border-radius: 8px;
    background: #fafbfc;
    cursor: pointer;
}

.budget-management-table th,
.budget-management-table td {
    padding: 14px 12px;
    border-bottom: 1px solid #edf0f5;
    background: #fff;
}

/* Крайние колонки не должны визуально прилипать к рамке таблицы. */
.budget-management-table > :not(caption) > * > :first-child {
    padding-left: 20px;
}

.budget-management-table > :not(caption) > * > :last-child {
    padding-right: 20px;
}

.budget-management-table thead th,
.budget-management-table tfoot th {
    background: #f5f7fa;
    color: #5e6278;
    font-size: 12px;
    font-weight: 600;
}

.budget-management-table thead small {
    display: block;
    color: #a1a5b7;
    font-size: 10px;
    font-weight: 500;
}

.budget-management-table .budget-management-sticky {
    position: sticky;
    z-index: 2;
    left: 0;
    box-shadow: 10px 0 18px -18px rgba(24, 28, 50, 0.6);
}

.budget-management-table thead .budget-management-sticky,
.budget-management-table tfoot .budget-management-sticky {
    z-index: 3;
    background: #f5f7fa;
}

/* Таблица проектов и раундов: суммы и знак рубля читаются как одно число. */
.internal-commission-round-table {
    min-width: 1280px;
    table-layout: fixed;
}

.internal-commission-round-table th,
.internal-commission-round-table td {
    vertical-align: middle;
}

.internal-commission-round-table th:nth-child(1),
.internal-commission-round-table td:nth-child(1) {
    width: 180px;
}

.internal-commission-round-table th:nth-child(2),
.internal-commission-round-table td:nth-child(2) {
    width: 76px;
}

.internal-commission-round-table th:nth-child(3),
.internal-commission-round-table td:nth-child(3) {
    width: 108px;
}

.internal-commission-round-table th:nth-child(4),
.internal-commission-round-table td:nth-child(4),
.internal-commission-round-table th:nth-child(6),
.internal-commission-round-table td:nth-child(6),
.internal-commission-round-table th:nth-child(7),
.internal-commission-round-table td:nth-child(7),
.internal-commission-round-table th:nth-child(8),
.internal-commission-round-table td:nth-child(8),
.internal-commission-round-table th:nth-child(10),
.internal-commission-round-table td:nth-child(10) {
    width: 120px;
}

.internal-commission-round-table th:nth-child(5),
.internal-commission-round-table td:nth-child(5) {
    width: 172px;
}

.internal-commission-round-table th:nth-child(9),
.internal-commission-round-table td:nth-child(9) {
    width: 132px;
}

.internal-commission-money {
    display: inline-block;
    white-space: nowrap;
}

@media (max-width: 767.98px) {
    .budget-management-kpi {
        padding: 16px;
    }

    .budget-management-table {
        min-width: 1080px;
    }

    .business-plan-table {
        min-width: 1680px;
    }

    .budget-management-table th,
    .budget-management-table td {
        padding: 12px 10px;
    }

}

/* Жёлтый обозначает фон предупреждения; текст всегда остаётся чёрным. */
.text-warning,
.text-warning-emphasis,
.link-warning,
.badge-warning,
.badge-light-warning,
.badge-new-warning,
.bg-warning,
.bg-light-warning,
.text-bg-warning,
.btn-warning,
.btn-light-warning,
.btn-outline-warning {
    color: var(--hl-color-warning-text) !important;
}

.link-warning:is(:hover, :focus),
.btn.btn-warning:is(:hover, :focus, :active, .active, .show, :disabled, .disabled),
.btn.btn-light-warning:is(:hover, :focus, :active, .active, .show, :disabled, .disabled),
.btn.btn-outline-warning:is(:hover, :focus, :active, .active, .show, :disabled, .disabled),
.btn.btn-active-warning:is(:hover, :focus, :active, .active, .show),
.btn.btn-active-light-warning:is(:hover, :focus, :active, .active, .show),
.btn.btn-warning:active:not(.btn-active),
.btn.btn-light-warning:active:not(.btn-active),
.btn.btn-outline-warning:active:not(.btn-active) {
    color: var(--hl-color-warning-text) !important;
}

.alert.alert-warning,
.alert.alert-light-warning {
    --bs-alert-color: var(--hl-color-warning-text);
    --bs-alert-link-color: var(--hl-color-warning-text);
    color: var(--hl-color-warning-text);
}
.alert:is(.alert-warning, .alert-light-warning) :is(h1, h2, h3, h4, h5, h6, p, li, .text-warning, .alert-text, .alert-link, a:not(.btn)) {
    color: var(--hl-color-warning-text) !important;
}

/* Компактный разбор документа: подписи, поля и основания принадлежат одной карточке. */
.company-document-analysis-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    min-height: calc(100vh - 240px);
    min-height: max(12rem, calc(100dvh - 240px));
    text-align: center;
}
.company-document-analysis-loading [data-analysis-progress-description]:not(.visually-hidden) {
    max-width: 40rem;
}
@media (max-width: 991.98px) {
    .company-document-analysis-loading {
        min-height: calc(100vh - 140px);
        min-height: max(12rem, calc(100dvh - 140px));
    }
}

#document-panel-analysis .company-document-analysis-group {
    border: 0;
    min-width: 0;
    padding: 0;
    margin: 0 0 1.75rem;
}
#document-panel-analysis .company-document-analysis-group legend {
    float: none;
    width: auto;
    margin-bottom: 0.5rem;
}
#document-panel-analysis .company-document-analysis-field {
    display: grid;
    grid-template-columns: 24px minmax(135px, 0.7fr) minmax(0, 2fr) minmax(45px, 0.2fr);
    align-items: start;
    gap: 1rem;
    padding: 0.9rem 0;
    border-bottom: 1px solid #eef0f3;
}
#document-panel-analysis .company-document-analysis-select,
#document-panel-analysis .company-document-analysis-label,
#document-panel-analysis .company-document-analysis-source {
    padding-top: 0.65rem;
}
#document-panel-analysis .company-document-analysis-value,
#document-panel-analysis .company-document-analysis-label,
#document-panel-analysis .company-document-analysis-source,
#document-panel-analysis .company-document-analysis-action > div {
    min-width: 0;
    overflow-wrap: anywhere;
}
#document-panel-analysis .company-document-analysis-value textarea {
    min-height: 5rem;
    resize: vertical;
}
#document-panel-analysis .company-document-analysis-action {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid #eef0f3;
}
#document-panel-analysis .company-document-analysis-findings {
    padding-left: 1rem;
    border-left: 3px solid #d9e2e8;
    color: #374151;
}
#document-panel-analysis [data-analysis-evidence] {
    overflow-wrap: anywhere;
}
#document-panel-analysis [data-analysis-evidence] summary {
    cursor: pointer;
}
@media (max-width: 767.98px) {
    #document-panel-analysis .company-document-analysis-field {
        grid-template-columns: 24px minmax(0, 1fr) auto;
        gap: 0.5rem 0.75rem;
    }
    #document-panel-analysis .company-document-analysis-select {
        grid-column: 1;
        grid-row: 1 / 3;
    }
    #document-panel-analysis .company-document-analysis-label {
        grid-column: 2;
        grid-row: 1;
    }
    #document-panel-analysis .company-document-analysis-source {
        grid-column: 3;
        grid-row: 1;
    }
    #document-panel-analysis .company-document-analysis-value {
        grid-column: 2 / 4;
        grid-row: 2;
    }
    #document-panel-analysis .company-document-analysis-proposal nav .btn {
        white-space: normal;
        text-align: left;
    }
}

/* Общая навигация финансового директора, платёжного плана и бизнес-планирования. */
.cfo-tabs { margin-bottom: 24px; gap: 24px; display: flex; flex-wrap: wrap; }
.cfo-tabs a, .cfo-tabs button { color: var(--hl-color-ink-800); background: transparent; border: 0; border-bottom: 2px solid transparent; border-radius: 0; padding: 10px 0; }
.cfo-tabs a.is-active, .cfo-tabs button.is-active { border-color: var(--hl-color-brand-700); }
@media (max-width: 650px) {
    .cfo-tabs { gap: 14px; }
    .cfo-tabs a, .cfo-tabs button { font-size: 12px; }
}
