input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.e-configurator h2 {
    margin: 10px 0;
    line-height: 1;
}

/* баннер конфигуратора -------------------------------------------------- */
.e-configurator-banner {
    padding: 30px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    border: 1px solid #CBCBCB;
    border-left: 10px solid #157f8a;
    box-shadow: 0px 4px 10px rgba(137, 137, 137, 0.25);
}
.e-configurator-banner b {
    font-weight: 600;
    font-size: 30px;
    line-height: 1;
}
.e-configurator-banner span {
    font-size: 14px;
    line-height: 1.1;
}
.e-configurator-banner a {
    text-align: center;
    text-decoration: none;
    display: inline-block;
    flex: 0 0 250px;
    padding: 10px 20px;
    background: #008F86;
    border: none;
    outline: none;
    border-radius: 4px;
    font-size: 14px;
    line-height: 1.5;
    color: #fff;
    text-transform: uppercase;
    cursor: pointer;
}
.e-configurator-banner a:hover {
    background-color: #0e5c63 !important;
    text-decoration: none !important;
    color: #fff !important;
}
@media (max-width: 768px) {
    .e-configurator-banner {
        flex-direction: column;
        gap: 10px;
    }
    .e-configurator-banner b {
        font-size: 20px;
        line-height: 1.2;
    }
    .e-configurator-banner a {
        margin: 20px 0 0 0;
        padding: 8px 15px;
        flex: auto;
    }
}
/* ----------------------------------------------------------------------- */



/* кнопки ---------------------------------------------------------------- */
.e-configurator-btn {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    border: none;
    font-size: 16px;
}
.e-configurator-btn:hover {
    background-color: #ccc;
}
.close-btn {
    margin-left: auto;
    cursor: pointer;
}
/* ----------------------------------------------------------------------- */



.e-configurator {
    position: fixed;
    z-index: 9999;
    top: 0;
    width: 100%;
    height: 100%;
    left: 0;
    box-sizing: border-box;
    background-color: #fff;
}
.e-configurator h3 {
    color: #333 !important;
}
.e-configurator p {
    line-height: 1.4;
    margin: 0;
    padding: 0;
}
.e-configurator b {
    font-weight: 600;
}



/* шапка ----------------------------------------------------------------- */
.e-configurator__header {
    padding: 5px 10px;
    background-color: #fff;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #ccc;
    position: sticky;
    top: 0;
    z-index: 999;
}
.e-configurator__header-content {
    display: flex;
    align-items: center;
    gap: 10px;
}
.e-configurator__logo {
    background-color: #157f8a;
    padding: 5px 5px 1px 5px;
    border-radius: 4px;
}
.e-configurator__logo svg {
    stroke: #fff;
}
/* ----------------------------------------------------------------------- */



/* мобильное меню -------------------------------------------------------- */
/* ----------------------------------------------------------------------- */
.mobile-menu {
    display: flex;
    justify-content: space-between;
    background-color: #fff;
    border-bottom: 1px solid #ccc;
}
.mobile-menu__tab {
    flex: 0 0 50%;
    display: flex;
    justify-content: center;
    gap: 10px;
    align-items: center;
    padding: 5px;
    font-size: 14px;
}
.mobile-menu__tab._active {
    border-bottom: 2px solid #157f8a;
    color: #157f8a;
    font-weight: 600;
}
.mobile-menu__tab svg {
    width: 20px;
    height: 20px;
}
/* ----------------------------------------------------------------------- */


.e-configurator__body {
    display: flex;
    height: calc(100% - 85px);
    max-width: 100vw;
    overflow: hidden;
}

/* параметры (боковая панель) */
.e-configurator__parameters {
    background-color: #f3f3f3;
    padding: 15px 25px 15px 15px;
    width: 550px;
    border-right: 1px solid #ccc;
}

/* результаты (поле с результатами) */
.e-configurator__result {
    background-color: #fff;
    padding: 15px 25px 15px 15px;
    flex: 1;
    min-width: 0;
    overflow: hidden;
}



/* параметры (боковая панель) -------------------------------------------- */
/* готовые алгоритмы */
.e-configurator__parameters-body {}
.e-configurator__quick-start {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}
.e-configurator__quick-start-tab {
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 5px;
    cursor: pointer;
    font-size: 12px;
    line-height: 1.2;
    background-color: #fff;
}
.e-configurator__quick-start-tab:hover, .e-configurator__quick-start-tab._active {
    background: #fff;
    background-color: rgba(21, 127, 138, 0.07);
    border-color: #157f8a;
}
.e-configurator__quick-start-tab p {
    font-weight: 600;
    line-height: 1.2;
    font-size: 12px !important;
    margin: 0 0 5px 0 !important;
}
/* поля ввода */
.e-configurator__inputs-group {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #fff;
}
.e-configurator__inputs-group h3 {
    display: flex;
    align-items: center;
    gap: 10px;
}
.e-configurator__inputs-group-header {
    border-bottom: 1px solid #ccc;
}
.e-configurator__inputs-group-header.no-line {
    border-bottom: none;
}
.e-configurator__inputs-group-header.no-line svg {
    stroke: #000;
}
.e-configurator__inputs-group-header h4 {
    margin: 0 0 10px 0 !important;
    font-size: 16px;
    letter-spacing: 1px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}
.e-configurator__inputs-group-header h4 svg {
    stroke: #157f8a;
    width: 20px;
    height: 20px;
}
.input-item {
    font-size: 14px;
    line-height: 1 !important;
    padding: 5px 0 !important;
    position: relative;
}
.input-item label {
    width: 100%;
    font-weight: 500;
}
.input-item input {
    margin: 5px 0 0 0;
    padding: 5px 50px 5px 5px;
    border: 1px solid #e4e4e4;
    border-radius: 4px;
    width: 100%;
}
.input-item input:focus, 
.input-item input:focus-visible {
    border: 1px solid #157f8a;
    outline: none;
}
.input-item svg {
    stroke: #929292;
    height: 14px;
    width: 14px;
    cursor: help;
    margin: 0 0 2px 0;
}
.input-item svg:hover {
    stroke: #157f8a;
}
.a-implementation input { /* подсвеченное поле (После внедрения) */
    background-color: rgba(21, 127, 138, 0.07);
}
.input-unit-m { /* ед. измерения */
    position: absolute;
    font-size: 12px;
    bottom: 18px;
    right: 10px;
    color: #929292;
}
.inputs-row {
    display: flex;
    gap: 30px;
}
.inputs-row .input-item {
    flex: 0 0 calc(50% - 15px);
}
.with-separator .input-item:nth-child(2)::after { /* с разделителем */
    content: "";
    position: absolute;
    height: 100%;
    width: 1px;
    background: #ccc;
    top: 0;
    left: -14.5px;
}
/* заголовок (Текущее состояние После внедрения) */
.e-configurator__current-state {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 0 5px 0;
}
.e-configurator__comparison {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 0 0 5px 0;
}
.e-configurator__comparison span {
    text-transform: uppercase;
    font-weight: 600;
}
.e-configurator__comparison span:nth-child(1) {
    color: #929292;
}
.e-configurator__comparison span:nth-child(2) {
    color: #157f8a;
}
/* подсказка */
.e-configurator__advice {
    display: flex;
    gap: 10px;
}
.e-configurator__advice h3 {
    margin: 0 0 10px 0;
    color: #333;
}
.e-configurator__advice p {
    margin: 0;
}
.e-configurator__advice svg {
    min-width: 25px;
    min-height: 25px;
    stroke: #000;
}
/* выбор архитектуры */
.e-configurator__architecture-selection {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #e4e4e4;
    padding: 5px;
    border-radius: 4px;
}
.e-configurator__architecture-selection span {
    flex: 0 0 calc(50% - 10px);
    padding: 10px;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    font-size: 14px;
}
.e-configurator__architecture-selection span:hover {
    color: #929292;
}
.e-configurator__architecture-selection span:hover svg {
    stroke: #929292;
}
.e-configurator__architecture-selection span svg {
    cursor: inherit;
    width: 20px;
    height: 20px;
    stroke: #333;
}
.e-configurator__architecture-selection span._active {
    background-color: #fff;
}
.e-configurator__architecture-selection span:nth-child(1)._active {
    color: #157f8a;
}
.e-configurator__architecture-selection span:nth-child(1)._active svg {
    stroke: #157f8a;
}
.e-configurator__architecture-selection span:nth-child(2)._active {
    color: #b45309;
}
.e-configurator__architecture-selection span:nth-child(2)._active svg {
    stroke: #b45309;
}
.e-configurator__architecture-selection-comment {
    margin: 5px 0 0 0 !important;
    font-size: 12px !important;
}
.green-text {
    color: #157f8a;
}
.orange-text {
    color: #b45309;
}
/* ----------------------------------------------------------------------- */



/* результаты расчетов --------------------------------------------------- */
.e-configurator__result {}
.e-configurator__result-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: 10px;
    margin: 0 0 10px 0;
}
.e-configurator__result-header h3 {
    font-weight: 600;
    font-size: 30px;
    margin: 3px 0 10px 0;
    color: #333;
}
.e-configurator__result-tabs {
    display: flex;
    justify-content: flex-end;
    align-items: stretch;
    gap: 15px;
}
.e-configurator__result-tabs.with-header {
    justify-content: space-between;
    align-items: start;
}
.e-configurator__result-tabs.with-header .row {
    flex: 0 0 500px;
    display: flex;
    align-items: center;
    gap: 15px;
}
.result-tab {
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 10px;
    flex: 1;
    background-color: #fff;
}
.result-tab._green {
    background-color: rgba(21, 127, 138, 0.07);
    border-color: #ccc;
}
.result-tab__header {
    display: flex;
    align-items: center;
    gap: 10px;
}
.result-tab h4 {
    margin: 0 0 7px 0;
    font-size: 18px;
}
.result-tab__header h4 {
    margin: 0;
}
.result-tab__title {
    display: flex;
    align-items: center;
    gap: 10px;
    text-transform: uppercase;
}
.result-tab__title.npv-tab svg {
    stroke: #929292;
    height: 14px;
    width: 14px;
    cursor: help;
    margin: 0 0 -2px 0;
    background-color: #fff;
    padding: 0;
    margin: 0 0 4px 0;
}
.result-tab__title.npv-tab svg:hover {
    stroke: #157f8a;
}
.result-tab__title svg {
    width: 30px;
    height: 30px;
    stroke: #fff;
    background-color: #157f8a;
    padding: 5px;
    border-radius: 4px;
}
.result-tab__title span {
    font-size: 14px;
    font-weight: 600;
}
.result-tab__value {
    font-size: 25px !important;
    margin: 3px 0 !important;
    font-weight: 600 !important;
}
.result-tab__value._green {
    font-size: 18px !important;
}
.result-tab__value._green span {
    color: #157f8a;
    font-size: 25px;
}
.result-tab__sub-text {
    color: #929292 !important;
    font-size: 12px !important;
}
/* таблица "Протокол данных" */
.result-tab__table {
    width: 100%;
    font-size: 14px;
}
.result-tab__table table {
    width: 100%;
}
.result-tab__table table th {
    padding: 10px;
    background-color: rgba(21, 127, 138, 0.07);
}
.result-tab__table table th:last-child {
    color: #157f8a;
}
.result-tab__table table tr {
    border-bottom: 1px solid rgba(21, 127, 138, 0.07);
}
.result-tab__table table tr:hover {
    background-color: #f7f7f7;
}
.result-tab__table table td {
    padding: 10px;
    border: none;
    outline: none;
}
.result-tab__table table td:last-child {
    color: #157f8a;
    font-weight: 600;
}
/* ----------------------------------------------------------------------- */



/* simplebar ------------------------------------------------------------- */
.simplebar-container {
    height: calc(100% - 60px);
    overflow: auto;
}
[data-simplebar] {
    position: relative;
    height: 100%;
}
.s-a-container { /* simplebar aside block */
    height: 100%;
}
.s-r-container { /* simplebar result block */
    height: 100%;
}
.simplebar-vertical {
    right: -12px !important;
}
.simplebar-scrollbar {
    display: block !important;
}
.simplebar-track {
    cursor: pointer !important;
}
.simplebar-track.simplebar-horizontal {
    display: none !important;
}
.simplebar-track.simplebar-vertical {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    right: -16px !important;
    width: 11px !important;
    height: calc(100% + 2px);
}
.simplebar-track.simplebar-scrollbar {
    cursor: pointer !important;
}
.simplebar-scrollbar:before {
    background: #b1b1b1 !important;
}
/* ----------------------------------------------------------------------- */



/* Базовые стили для тултипов -------------------------------------------- */
.tooltip-fixed {
    position: fixed;
    z-index: 10000;
    pointer-events: none;
}
.tooltip-container {
    max-width: 300px;
    padding: 15px;
    background-color: #ffffff;
    border: 1px solid #cccccc;
    border-radius: 4px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.15), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    color: #333;
    font-size: 12px;
    line-height: 1.1;
    animation: tooltipFadeIn 0.2s ease-out;
    position: relative;
}
.tooltip-fixed {
    position: fixed;
    z-index: 10000;
    pointer-events: none;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
}

.tooltip-container {
    position: relative;
    background-color: white;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 12px;
    max-width: 300px;
    color: #333;
}
.tooltip-bottom-center .tooltip-container::before {
    content: '';
    position: absolute;
    top: -6px;
    left: var(--arrow-left, 50%);
    transform: translateX(-50%) rotate(45deg);
    width: 12px;
    height: 12px;
    background-color: #ffffff;
    border-left: 1px solid #cccccc;
    border-top: 1px solid #cccccc;
    border-radius: 2px;
}
.tooltip-top-center .tooltip-container::before {
    content: '';
    position: absolute;
    bottom: -6px;
    left: var(--arrow-left, 50%);
    transform: translateX(-50%) rotate(45deg);
    width: 12px;
    height: 12px;
    background-color: #ffffff;
    border-right: 1px solid #cccccc;
    border-bottom: 1px solid #cccccc;
    border-radius: 2px;
}
.tooltip-bottom-right .tooltip-container::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 20px;
    width: 12px;
    height: 12px;
    background-color: #ffffff;
    border-left: 1px solid #cccccc;
    border-top: 1px solid #cccccc;
    transform: rotate(45deg);
    border-radius: 2px;
}
.tooltip-bottom-left .tooltip-container::before {
    content: '';
    position: absolute;
    top: -6px;
    right: 20px;
    width: 12px;
    height: 12px;
    background-color: #ffffff;
    border-left: 1px solid #cccccc;
    border-top: 1px solid #cccccc;
    transform: rotate(45deg);
    border-radius: 2px;
}
.tooltip-top-right .tooltip-container::before {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 20px;
    width: 12px;
    height: 12px;
    background-color: #ffffff;
    border-right: 1px solid #cccccc;
    border-bottom: 1px solid #cccccc;
    transform: rotate(45deg);
    border-radius: 2px;
}
.tooltip-top-left .tooltip-container::before {
    content: '';
    position: absolute;
    bottom: -6px;
    right: 20px;
    width: 12px;
    height: 12px;
    background-color: #ffffff;
    border-right: 1px solid #cccccc;
    border-bottom: 1px solid #cccccc;
    transform: rotate(45deg);
    border-radius: 2px;
}
@keyframes tooltipFadeIn {
    from { opacity: 0; transform: translateY(4px) }
    to { opacity: 1; transform: translateY(0) }
}
/* Заголовок */
.tooltip-title {
    font-weight: 600;
    font-size: 14px;
    padding-bottom: 5px;
    margin-bottom: 10px;
    border-bottom: 1px solid #cccccc;
    color: #157f8a;
}
/* Описание */
.tooltip-description {
    color: #555555;
    margin-bottom: 10px;
    font-size: 12px;
    line-height: 1.1;
}
/* Секции */
.tooltip-section {
    margin-top: 10px;
    padding-top: 5px;
}
.tooltip-section:first-of-type {
    margin-top: 0;
}
.tooltip-section-title {
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 12px;
}
.tooltip-section-title-indigo {
    color: #157f8a;
}
.tooltip-section-title-amber {
    color: #e67e22;
}
.tooltip-section-title-slate {
    color: #64748b;
}
.tooltip-section-title-green {
    color: #27ae60;
}
.tooltip-section-title-default {
    color: #157f8a;
}
/* Сетка для табличных данных */
.tooltip-grid {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px 12px;
    margin: 8px 0 4px;
    padding: 8px 0 4px 12px;
    border-left: 2px solid;
    font-size: 12px;
}
.tooltip-grid-indigo {
    border-left-color: rgba(21, 127, 138, 0.3);
    background-color: rgba(21, 127, 138, 0.02);
}
.tooltip-grid-amber {
    border-left-color: rgba(230, 126, 34, 0.3);
    background-color: rgba(230, 126, 34, 0.02);
}
.tooltip-grid-default {
    border-left-color: #cccccc;
    background-color: #fafafa;
}
.tooltip-label {
    color: #666666;
    font-weight: 500;
}
.tooltip-value {
    text-align: right;
    font-weight: 600;
    color: #333333;
}
.tooltip-highlight {
    text-align: right;
    font-weight: 700;
    color: #157f8a;
    background-color: rgba(21, 127, 138, 0.07);
    padding: 2px 6px;
    border-radius: 12px;
}
/* Описание секции */
.tooltip-section-description {
    color: #666666;
    padding: 8px 0 4px 12px;
    font-size: 11px;
    line-height: 1.5;
    border-left: 2px solid #cccccc;
    margin: 4px 0 8px;
    background-color: rgba(21, 127, 138, 0.02);
}
.tooltip-cost {
    margin-top: 6px;
    color: #157f8a;
    font-weight: 600;
    font-size: 12px;
    background-color: rgba(21, 127, 138, 0.07);
    padding: 4px 8px;
    border-radius: 4px;
    display: inline-block;
}
/* Список */
.tooltip-list {
    list-style-type: disc;
    padding-left: 24px;
    color: #555555;
    margin: 8px 0;
    font-size: 12px;
}
.tooltip-list-item {
    margin-bottom: 4px;
    color: #555555;
}
.tooltip-list-item::marker {
    color: #157f8a;
}
/* Элемент с меткой */
.tooltip-item-with-label {
    padding: 6px 0 6px 12px;
    border-left: 3px solid;
    margin-bottom: 6px;
    background-color: #fafafa;
    border-radius: 0 4px 4px 0;
}
.tooltip-label-indigo {
    color: #157f8a;
    font-weight: 700;
    margin-right: 6px;
    font-size: 12px;
}
.tooltip-label-green {
    color: #27ae60;
    font-weight: 700;
    margin-right: 6px;
    font-size: 12px;
}
.tooltip-label-default {
    color: #157f8a;
    font-weight: 700;
    margin-right: 6px;
    font-size: 12px;
}
.tooltip-item-value {
    color: #555555;
    font-size: 12px;
}
/* Категориальная сетка */
.tooltip-category-grid {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 8px 12px;
    margin: 8px 0;
    padding: 8px;
    background-color: rgba(21, 127, 138, 0.02);
    border-radius: 6px;
    font-size: 11px;
}
.tooltip-category {
    color: #157f8a;
    font-weight: 700;
    white-space: nowrap;
}
.tooltip-category-description {
    color: #555555;
    line-height: 1.4;
}
/* Периоды (для horizon) */
.tooltip-period-item {
    margin-bottom: 8px;
    padding: 8px 0 8px 12px;
    border-left: 3px solid #157f8a;
    background-color: rgba(21, 127, 138, 0.02);
    border-radius: 0 4px 4px 0;
}
.tooltip-period {
    color: #157f8a;
    font-weight: 700;
    margin-right: 8px;
    font-size: 12px;
    display: inline-block;
    min-width: 60px;
}
.tooltip-period-description {
    color: #555555;
    font-size: 12px;
}
/* Блок оценки */
.tooltip-evaluation {
    background-color: rgba(21, 127, 138, 0.05);
    padding: 12px;
    border-radius: 8px;
    font-size: 11px;
    margin-top: 12px;
    border: 1px solid rgba(21, 127, 138, 0.15);
}
.tooltip-evaluation-title {
    font-weight: 700;
    color: #157f8a;
    margin-bottom: 6px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.tooltip-formula {
    color: #333333;
    margin-bottom: 6px;
    font-family: monospace;
    font-size: 12px;
    background-color: #ffffff;
    padding: 6px 8px;
    border-radius: 4px;
    border: 1px solid #cccccc;
}
.tooltip-example {
    color: #666666;
    font-style: italic;
    background-color: #ffffff;
    padding: 6px 8px;
    border-radius: 4px;
    border-left: 3px solid #157f8a;
}
/* Заметка */
.tooltip-note {
    margin-top: 10px;
    padding: 10px 12px;
    background-color: rgba(21, 127, 138, 0.03);
    border-radius: 6px;
    color: #555555;
    font-style: italic;
    font-size: 11px;
    border-left: 3px solid #157f8a;
}
/* Стили для иконки вопроса */
.tooltip-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    margin-left: 6px;
    font-size: 12px;
    color: #157f8a;
    background-color: rgba(21, 127, 138, 0.1);
    border: 1px solid rgba(21, 127, 138, 0.2);
    border-radius: 50%;
    cursor: help;
    transition: all 0.2s ease;
    font-weight: 600;
}
.tooltip-trigger:hover {
    background-color: #157f8a;
    color: #ffffff;
    border-color: #157f8a;
    transform: scale(1.1);
}
/* Стили для SVG иконки */
.lucide-circle-question-mark {
    cursor: help;
    vertical-align: middle;
    margin-left: 5px;
    color: #157f8a;
    transition: all 0.2s ease;
}
.lucide-circle-question-mark:hover {
    color: #0e5c63;
    transform: scale(1.1);
}
/* Дополнительные стили для улучшения читаемости */
.tooltip-container strong {
    color: #157f8a;
    font-weight: 600;
}
.tooltip-container em {
    color: #e67e22;
    font-style: normal;
    font-weight: 500;
}
.tooltip-container hr {
    border: none;
    border-top: 1px solid #cccccc;
    margin: 12px 0;
}
/* Адаптация под мобильные устройства */
@media (max-width: 640px) {
    .tooltip-container {
        max-width: 260px;
        padding: 12px;
        font-size: 12px;
    }
    
    .tooltip-title {
        font-size: 14px;
    }
}
/* Стили для разных вариантов расположения */
.tooltip-top .tooltip-container::before {
    top: auto;
    bottom: -6px;
    transform: rotate(225deg);
}
.tooltip-left .tooltip-container::before {
    top: 16px;
    left: auto;
    right: -6px;
    transform: rotate(135deg);
}
.tooltip-right .tooltip-container::before {
    top: 16px;
    left: -6px;
    transform: rotate(-45deg);
}
/* ----------------------------------------------------------------------- */



.chart-container {
    position: relative;
    width: 100%;
    height: auto;
    min-height: 250px;
    max-height: 350px;
    margin: 0 auto;
    overflow: hidden;
    background-color: #ffffff;
    border-radius: 8px;
    padding: 10px 0;
}
.chart-container canvas {
    position: relative;
    width: 100% !important;
    height: 100% !important;
    max-height: 280px;
    object-fit: contain;
}



/* адаптив --------------------------------------------------------------- */
@media (max-width: 1400px) {
    .e-configurator__result-tabs.with-header {
        flex-direction: column;
    }
    .e-configurator__result-tabs.with-header .row {
        width: 100%;
        flex: auto;
    }
    .result-tab._small {
        flex: 0 0 calc(50% - 7.5px);
    }
}
@media (max-width: 1300px) {
    .e-configurator__parameters {
        width: 400px;
    }
    .e-configurator__quick-start span {
        display: none;
    }
}

@media (max-width: 1130px) {
    .e-configurator__result-header {
        gap: 15px;
    }
    .e-configurator__result-header button {
        min-width: 144px;
    }
    .e-configurator__result-tabs {
        flex-direction: column;
        gap: 10px;
    }
    .result-tab__title {
        font-size: 14px;
    }
    .result-tab__title svg {
        width: 20px;
        height: 20px;
        padding: 3px;
    }
    .result-tab__table {
        font-size: 12px;
    }
    .result-tab__table td:nth-child(2) {
        min-width: 100px;
    }
    .result-tab._green {
        font-size: 12px;
    }
}

@media (max-width: 980px) {
    .e-configurator__parameters {
        width: 350px;
        padding: 10px 25px 10px 10px;
    }
    .e-configurator__result {
        padding: 10px 25px 10px 10px;
    }
}

@media (max-width: 768px) {
     .e-configurator-btn {
        font-size: 14px;
        padding: 5px 10px;
    }
    .e-configurator-btn svg {
        width: 20px;
        height: 20px;
    }
    .e-configurator hr {
        margin-top: 10px;
        margin-bottom: 10px;
    }
    .e-configurator__body{
        height: calc(100% - 85px);
    }
    .e-configurator__header-content div:nth-child(2) {
        display: none;
    }
    .e-configurator__quick-start {
        justify-content: start;
    }
    .e-configurator__parameters {
        width: 100%;
        padding: 10px 15px 10px 10px;
        display: none;
    }
    .simplebar-track.simplebar-vertical {
            right: -13px !important;
    }
    .e-configurator__architecture-selection span {
        padding: 5px;
    }
    .e-configurator__result {
        padding: 10px 15px 10px 10px;
        display: none;
    }
    .e-configurator__parameters._active,
    .e-configurator__result._active {
        display: block;
    }
    .e-configurator__result-header h3 {
        font-size: 22px;
    }
    .chart-container {
        min-height: 220px;
    }
}
/* ----------------------------------------------------------------------- */