div[at-magnifier-wrapper] {
  display: none;
}

html,
body,
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  position: relative;
}

html {
  height: 100%;
}

body {
  min-height: 100%;
  color: #2e3448;
  padding: 0;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
}

input[type=number] {
  -moz-appearance: textfield;
}

.calc {
  margin: 0 auto;
  width: 100%;
  max-width: 100%;
  background: #fff;
  padding: 24px;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.calc__panel {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 14px;
}
.calc__input {
  display: flex;
  justify-content: center;
  column-gap: 8px;
  row-gap: 8px;
  flex-wrap: wrap;
}
.calc__input input {
  width: 84px;
  height: 38px;
  text-align: center;
  font-size: 15px;
  font-weight: 700;
  border: 1px solid #cfd6e6;
  color: #0b1238;
  border-radius: 10px;
  background: #f9fbff;
}
.calc__input-plus, .calc__input-minus {
  width: 38px;
  height: 38px;
  cursor: pointer;
  border: 1px solid #118a52;
  background: #ffffff;
  color: #118a52;
  border-radius: 10px;
  font-size: 19px;
  font-weight: 700;
  transition-duration: 0.2s;
  user-select: none;
}
.calc__input-plus:hover, .calc__input-minus:hover {
  background: #118a52;
  color: #fff;
}
.calc__input-plus:active, .calc__input-minus:active {
  transform: translateY(1px);
}
.calc__input-label {
  text-align: center;
  width: 100%;
  font-size: 14px;
  color: #5d667f;
  font-weight: 600;
}
.calc__flex {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.calc__small-table {
  margin-top: 8px;
  width: 100%;
  max-width: calc(50% - 6px);
  border-collapse: collapse;
}
.calc__small-table.js-calc-small-table {
  display: table;
}
.calc__small-table tr {
  width: 100%;
}
.calc__small-table th {
  font-size: 13px;
  padding: 9px 8px;
}
.calc__small-table td {
  font-size: 13px;
  padding: 9px 8px;
  border: 1px solid #cfd6e6;
  text-align: center;
  min-width: 40px;
  color: #2e3448;
  background: #fff;
}
.calc__small-table td:first-child {
  text-align: left;
  padding-left: 18px;
}
.calc__table {
  margin-top: 16px;
  width: 100%;
  border-collapse: collapse;
}
.calc__table-wrap {
  margin-top: 16px;
}
.calc__table tr {
  width: 100%;
}
.calc__table th {
  font-size: 13px;
  padding: 9px 8px;
  background: #f0f4ff;
  color: #0b1238;
  border: 1px solid #cfd6e6;
  font-weight: 800;
}
.calc__table td {
  font-size: 13px;
  padding: 9px 8px;
  border: 1px solid #cfd6e6;
  text-align: center;
  color: #2e3448;
}
.calc__table th:first-child,
.calc__table td:first-child {
  text-align: left;
  padding-left: 18px;
}

.calc__summary {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 0px;
  border: 1px solid #cfd6e6;
  border-radius: 0px;
  align-items: stretch;
}

.calc__summary-item {
  border-radius: 0px;
  background: #ffffff;
  padding: 14px 16px;
  
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 68px;
}

.calc__summary-label {
  font-size: 15px;
  font-weight: 700;
  color: #43506f;
}

.calc__summary-value {
  font-size: 34px;
  line-height: 1;
  font-weight: 900;
  color: #118a52;
  white-space: nowrap;
  letter-spacing: 0.01em;
  text-shadow: 0 2px 12px rgba(17, 138, 82, 0.15);
}

@media (max-width: 1399px) {
  .calc__summary-value {
    font-size: 27px;
    line-height: 1;
    font-weight: 900;
    color: #118a52;
    white-space: nowrap;
    letter-spacing: 0.01em;
    text-shadow: 0 2px 12px rgba(17, 138, 82, 0.15);
  }
}

.calc__summary-action {
  display: flex;
  align-items: stretch;
  justify-content: flex-end;
}

.calc__summary-action a,
.calc__summary-action .tg-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 15px 28px;
  border-radius: 10px;
  text-decoration: none;
  font-size: 18px;
  font-weight: 800;
  line-height: 1;
  transition: all 0.25s ease;
  cursor: pointer;
  background: #118a52;
  color: #fff;
  border: 1px solid #118a52;
  white-space: nowrap;
}

.calc__summary-action a:hover,
.calc__summary-action .tg-btn:hover {
  background: #0f7647;
  border-color: #0f7647;
  color: #fff;
}

@media (max-width: 900px) {
  body {
    padding: 0;
  }
  .calc {
    padding: 14px;
  }
  .calc__panel {
    flex-wrap: nowrap;
    justify-content: center;
  }
  .calc__small-table {
    max-width: 100%;
  }
  .calc__table th,
  .calc__table td,
  .calc__small-table td {
    font-size: 12px;
    padding: 7px 6px;
  }
  .calc__table-wrap {
    overflow-x: scroll;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-gutter: stable;
    scrollbar-width: thin;
    scrollbar-color: var(--tg-color-gray-5) var(--tg-color-gray-4);
    padding-bottom: 6px;
  }
  .calc__table-wrap::-webkit-scrollbar {
    height: 10px;
  }
  .calc__table-wrap::-webkit-scrollbar-track {
    background: var(--tg-color-gray-4);
    border-radius: 999px;
  }
  .calc__table-wrap::-webkit-scrollbar-thumb {
    background: var(--tg-color-gray-5);
    border-radius: 999px;
    border: 2px solid var(--tg-color-gray-4);
  }
  .calc__table {
    margin-top: 0;
    width: max-content;
    min-width: 860px;
  }
  .calc__table th,
  .calc__table td {
    white-space: nowrap;
  }
  .calc__summary {
    grid-template-columns: 1fr;
    padding: 0px;
  }
  .calc__summary-label {
    font-size: 14px;
  }
  .calc__summary-value {
    font-size: 20px;
  }
  .calc__summary-action {
    justify-content: stretch;
  }
  .calc__summary-action a,
  .calc__summary-action .tg-btn {
    width: 100%;
  }
}

@media (max-width: 991px) {
  .calc__table-wrap {
    overflow-x: scroll;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-gutter: stable;
    scrollbar-width: thin;
    scrollbar-color: var(--tg-color-gray-5) var(--tg-color-gray-4);
    padding-bottom: 6px;
  }
  .calc__table-wrap::-webkit-scrollbar {
    height: 10px;
  }
  .calc__table-wrap::-webkit-scrollbar-track {
    background: var(--tg-color-gray-4);
    border-radius: 999px;
  }
  .calc__table-wrap::-webkit-scrollbar-thumb {
    background: var(--tg-color-gray-5);
    border-radius: 999px;
    border: 2px solid var(--tg-color-gray-4);
  }
  .calc__table {
    margin-top: 0;
    width: max-content;
    min-width: 860px;
  }
  .calc__table th,
  .calc__table td {
    white-space: nowrap;
  }
}
/*# sourceMappingURL=main.css.map */
