.rgcalc.blcalc {
  --rg-accent: #3aa51b;
  --rg-accent-2: #8dd15c;
  --rg-bg: #ffffff;
  --rg-surface: #ffffff;
  --rg-text: #111827;
  --rg-muted: rgba(17, 24, 39, 0.68);
  --rg-border: rgba(17, 24, 39, 0.12);
  --rg-shadow: 0 18px 52px rgba(17, 24, 39, 0.1);
  --rg-shadow-soft: 0 12px 28px rgba(17, 24, 39, 0.08);
  --rg-radius: 18px;
  --rg-radius-sm: 14px;
  --rg-glow: rgba(58, 165, 27, 0.22);
  color: var(--rg-text);
  font-family: inherit;
  margin: 0 0 28px;
}

.rgcalc.blcalc * {
  box-sizing: border-box;
}

.rgcalc.blcalc a {
  color: inherit;
}

.rgcalc.blcalc .rgcalc__wrap {
  width: 100%;
  margin: 0 auto;
  padding: 0;
}

.rgcalc.blcalc .rgcalc__card {
  background: var(--rg-surface);
  border-radius: var(--rg-radius);
  box-shadow:
    var(--rg-shadow-soft),
    0 18px 52px rgba(58, 165, 27, 0.06);
  overflow: hidden;
}

.rgcalc.blcalc .rgcalc__header {
  padding: 24px 24px 12px;
  display: grid;
  gap: 8px;
}

.rgcalc.blcalc .rgcalc__title {
  margin: 0;
  font-size: 24px;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.rgcalc.blcalc .rgcalc__subtitle {
  margin: 0;
  max-width: 860px;
  color: var(--rg-muted);
  font-size: 14px;
  line-height: 1.5;
}

.rgcalc.blcalc .rgcalc__steps {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0 16px 16px;
}

.rgcalc.blcalc .rgcalc-step {
  appearance: none;
  border: none;
  background: rgba(17, 24, 39, 0.03);
  color: var(--rg-muted);
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(17, 24, 39, 0.1);
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
}

.rgcalc.blcalc .rgcalc-step[aria-current="step"] {
  background: rgba(58, 165, 27, 0.12);
  color: var(--rg-text);
  box-shadow:
    0 12px 24px rgba(58, 165, 27, 0.18),
    0 0 24px rgba(58, 165, 27, 0.18);
}

.rgcalc.blcalc .rgcalc-step[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
}

.rgcalc.blcalc .rgcalc-step:not([disabled]):hover {
  transform: translateY(-1px);
}

.rgcalc.blcalc .rgcalc__main {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
  gap: 16px;
  padding: 16px;
}

@media (max-width: 1080px) {
  .rgcalc.blcalc .rgcalc__main {
    grid-template-columns: 1fr;
  }
}

.rgcalc.blcalc .rgcalc__panel {
  display: none;
  padding: 16px;
  border-top: 1px solid rgba(17, 24, 39, 0.05);
}

.rgcalc.blcalc .rgcalc__panel.is-active {
  display: block;
}

.rgcalc.blcalc .rgcalc__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

@media (max-width: 900px) {
  .rgcalc.blcalc .rgcalc__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .rgcalc.blcalc .rgcalc__grid {
    grid-template-columns: 1fr;
  }
}

.rgcalc.blcalc .rgcalc-service {
  border: none;
  border-radius: var(--rg-radius-sm);
  padding: 14px;
  background: #fff;
  cursor: pointer;
  min-height: 152px;
  box-shadow: 0 10px 24px rgba(17, 24, 39, 0.08);
  transition: transform 0.14s ease, box-shadow 0.14s ease;
  position: relative;
}

.rgcalc.blcalc .rgcalc-service:hover {
  transform: translateY(-2px);
  box-shadow:
    0 16px 36px rgba(17, 24, 39, 0.1),
    0 14px 30px rgba(58, 165, 27, 0.08);
}

.rgcalc.blcalc .rgcalc-service[data-selected="true"] {
  box-shadow:
    0 18px 40px rgba(58, 165, 27, 0.16),
    0 0 24px rgba(58, 165, 27, 0.18);
}

.rgcalc.blcalc .rgcalc-service__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.rgcalc.blcalc .rgcalc-badge {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 900;
  color: #14532d;
  background: rgba(58, 165, 27, 0.12);
  border: 1px solid rgba(58, 165, 27, 0.16);
}

.rgcalc.blcalc .rgcalc-toggle {
  width: 46px;
  height: 27px;
  border-radius: 999px;
  background: rgba(17, 24, 39, 0.1);
  position: relative;
  flex: 0 0 auto;
  transition: background 0.15s ease;
}

.rgcalc.blcalc .rgcalc-toggle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 4px;
  transform: translateY(-50%);
  width: 19px;
  height: 19px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 6px 12px rgba(17, 24, 39, 0.18);
  transition: left 0.18s ease;
}

.rgcalc.blcalc .rgcalc-service[data-selected="true"] .rgcalc-toggle {
  background: var(--rg-accent);
}

.rgcalc.blcalc .rgcalc-service[data-selected="true"] .rgcalc-toggle::after {
  left: 23px;
}

.rgcalc.blcalc .rgcalc-service__name {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: -0.01em;
}

.rgcalc.blcalc .rgcalc-service__desc {
  margin: 0;
  color: var(--rg-muted);
  font-size: 12.5px;
  line-height: 1.45;
}

.rgcalc.blcalc .rgcalc-form {
  display: grid;
  gap: 22px;
}

.rgcalc.blcalc #blcalcFields {
  display: grid;
  gap: 22px;
}

.rgcalc.blcalc .rgcalc-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

@media (max-width: 760px) {
  .rgcalc.blcalc .rgcalc-row {
    grid-template-columns: 1fr;
  }
}

.rgcalc.blcalc .rgcalc-field {
  position: relative;
  border-radius: var(--rg-radius-sm);
  padding: 14px 14px 16px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(17, 24, 39, 0.08);
}

.rgcalc.blcalc .rgcalc-label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 700;
}

.rgcalc.blcalc .rgcalc-hint {
  color: var(--rg-muted);
  font-size: 12px;
  font-weight: 600;
}

.rgcalc.blcalc .rgcalc-input {
  width: 100%;
  border: none;
  border-radius: 14px;
  padding: 12px 14px;
  background: rgba(17, 24, 39, 0.03);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72), 0 8px 18px rgba(17, 24, 39, 0.06);
  color: var(--rg-text);
  font: inherit;
  font-size: 14px;
  outline: none;
  transition: box-shadow 0.12s ease, background 0.12s ease;
}

.rgcalc.blcalc .rgcalc-input:focus {
  background: #fff;
  box-shadow:
    0 0 0 4px rgba(58, 165, 27, 0.12),
    0 0 24px rgba(58, 165, 27, 0.2);
}

.rgcalc.blcalc .rgcalc-select--native {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
}

.blcalc-select {
  position: relative;
}

.blcalc-select__trigger {
  position: relative;
  width: 100%;
  border: none;
  border-radius: 14px;
  padding: 12px 44px 12px 14px;
  background: rgba(17, 24, 39, 0.03);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72), 0 8px 18px rgba(17, 24, 39, 0.06);
  color: var(--rg-text);
  font: inherit;
  font-size: 14px;
  text-align: left;
  cursor: pointer;
  transition: box-shadow 0.12s ease, background 0.12s ease, transform 0.12s ease;
}

.blcalc-select__trigger:hover {
  transform: translateY(-1px);
}

.blcalc-select__trigger:focus-visible,
.blcalc-select.is-open .blcalc-select__trigger {
  background: #fff;
  box-shadow:
    0 0 0 4px rgba(58, 165, 27, 0.12),
    0 0 24px rgba(58, 165, 27, 0.2);
  outline: none;
}

.blcalc-select__trigger::after {
  content: "";
  position: absolute;
  right: 16px;
  top: 50%;
  width: 9px;
  height: 9px;
  border-right: 2px solid rgba(17, 24, 39, 0.45);
  border-bottom: 2px solid rgba(17, 24, 39, 0.45);
  transform: translateY(-65%) rotate(45deg);
  transition: transform 0.14s ease, border-color 0.14s ease;
}

.blcalc-select.is-open .blcalc-select__trigger::after {
  transform: translateY(-30%) rotate(225deg);
  border-color: rgba(17, 24, 39, 0.65);
}

.blcalc-select__trigger-text {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.blcalc-select__menu {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 8px);
  z-index: 25;
  display: grid;
  gap: 4px;
  padding: 8px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow:
    0 20px 38px rgba(17, 24, 39, 0.14),
    0 8px 18px rgba(58, 165, 27, 0.08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.14s ease, transform 0.14s ease, visibility 0.14s ease;
  max-height: 260px;
  overflow-y: auto;
  scrollbar-width: thin;
}

.blcalc-select.is-open .blcalc-select__menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.blcalc-select__option {
  width: 100%;
  border: none;
  border-radius: 12px;
  padding: 11px 12px;
  background: transparent;
  color: var(--rg-text);
  font: inherit;
  font-size: 13px;
  line-height: 1.35;
  text-align: left;
  cursor: pointer;
  transition: background 0.12s ease, color 0.12s ease, transform 0.12s ease;
}

.blcalc-select__option:hover,
.blcalc-select__option:focus-visible {
  background: rgba(58, 165, 27, 0.08);
  outline: none;
  transform: translateX(2px);
}

.blcalc-select__option.is-selected {
  background: rgba(58, 165, 27, 0.12);
  color: #11451f;
  font-weight: 800;
}

.rgcalc.blcalc .rgcalc-note {
  font-size: 12px;
  line-height: 1.5;
  color: var(--rg-muted);
}

.rgcalc.blcalc .blcalc-note-inline {
  margin: 4px 4px 2px;
}

.rgcalc.blcalc .rgcalc-form > .rgcalc-note:last-child {
  margin: -4px 4px 2px;
}

.rgcalc.blcalc .rgcalc__side {
  border-radius: var(--rg-radius);
  background: #fff;
  box-shadow:
    0 12px 30px rgba(17, 24, 39, 0.06),
    0 18px 42px rgba(58, 165, 27, 0.05);
  padding: 14px;
  position: sticky;
  top: 14px;
  height: fit-content;
}

@media (max-width: 1080px) {
  .rgcalc.blcalc .rgcalc__side {
    position: relative;
    top: 0;
  }
}

.rgcalc.blcalc .rgcalc__sideTitle {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 900;
}

.rgcalc.blcalc .rgcalc__pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 8px 8px 0;
  padding: 8px 11px;
  border-radius: 999px;
  background: rgba(17, 24, 39, 0.03);
  box-shadow: 0 8px 16px rgba(17, 24, 39, 0.05);
  font-size: 12px;
  font-weight: 800;
}

.rgcalc.blcalc .rgcalc__sum {
  margin-top: 12px;
  padding-top: 12px;
  border-top: none;
  box-shadow: inset 0 1px 0 rgba(17, 24, 39, 0.06);
  display: grid;
  gap: 8px;
}

.rgcalc.blcalc .rgcalc__sumRow {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
}

.rgcalc.blcalc .rgcalc__sumRow b {
  font-weight: 900;
}

.rgcalc.blcalc .rgcalc__sumSmall {
  font-size: 12px;
  line-height: 1.45;
  color: var(--rg-muted);
}

.rgcalc.blcalc .rgcalc__copyHelp {
  margin: 14px 2px 0;
  color: var(--rg-muted);
  font-size: 12px;
  line-height: 1.5;
}

.rgcalc.blcalc .rgcalc__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  padding: 14px 16px 16px;
  border-top: 1px solid rgba(17, 24, 39, 0.05);
}

.rgcalc.blcalc .rgcalc-btn {
  appearance: none;
  border: none;
  padding: 11px 14px;
  border-radius: 999px;
  background: rgba(17, 24, 39, 0.03);
  color: var(--rg-text);
  box-shadow: 0 10px 24px rgba(17, 24, 39, 0.12);
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease, filter 0.12s ease;
}

.rgcalc.blcalc .rgcalc-btn:active {
  transform: translateY(1px);
}

.rgcalc.blcalc .rgcalc-btn[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
}

.rgcalc.blcalc .rgcalc-btn--primary {
  background: var(--rg-accent);
  color: #fff;
  box-shadow:
    0 12px 28px rgba(58, 165, 27, 0.28),
    0 0 24px rgba(58, 165, 27, 0.3);
}

.rgcalc.blcalc .rgcalc-btn--primary:hover {
  filter: brightness(0.98);
}

.rgcalc.blcalc .rgcalc-btn--ghost {
  background: transparent;
  box-shadow: none;
}

.rgcalc.blcalc .rgcalc-result {
  display: grid;
  gap: 12px;
}

.rgcalc.blcalc .rgcalc-result__top {
  display: grid;
  gap: 8px;
  padding: 14px;
  border-radius: var(--rg-radius-sm);
  background: linear-gradient(135deg, rgba(58, 165, 27, 0.12), rgba(141, 209, 92, 0.1));
  box-shadow:
    0 0 24px rgba(58, 165, 27, 0.12),
    0 0 28px rgba(141, 209, 92, 0.1);
}

.rgcalc.blcalc .rgcalc-result__kpi {
  display: grid;
  gap: 4px;
}

.rgcalc.blcalc .rgcalc-result__kpi span {
  font-size: 12px;
  font-weight: 800;
  color: rgba(17, 24, 39, 0.72);
}

.rgcalc.blcalc .rgcalc-result__kpi b {
  font-size: 20px;
  font-weight: 1000;
  letter-spacing: -0.02em;
}

.rgcalc.blcalc .rgcalc-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: var(--rg-radius-sm);
  overflow: hidden;
  border: none;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: inset 0 0 0 1px rgba(17, 24, 39, 0.04);
}

.rgcalc.blcalc .rgcalc-table th,
.rgcalc.blcalc .rgcalc-table td {
  padding: 10px;
  border: none !important;
  text-align: left;
  font-size: 13px;
}

.rgcalc.blcalc .rgcalc-table th {
  background: rgba(17, 24, 39, 0.03);
  color: rgba(17, 24, 39, 0.72);
  font-size: 12px;
  font-weight: 900;
}

.rgcalc.blcalc .rgcalc-table tbody tr + tr td {
  box-shadow: inset 0 1px 0 rgba(17, 24, 39, 0.05);
}

.rgcalc.blcalc .rgcalc-table td:last-child,
.rgcalc.blcalc .rgcalc-table th:last-child {
  text-align: right;
  white-space: nowrap;
}

.rgcalc.blcalc .rgcalc-table tr:last-child td {
  border-bottom: none;
}

.rgcalc.blcalc .rgcalc-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.rgcalc.blcalc .rgcalc-toast {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(17, 24, 39, 0.92);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
  z-index: 99999;
}

.rgcalc.blcalc .rgcalc-toast.is-show {
  opacity: 1;
  transform: translateX(-50%) translateY(-4px);
}

.blcalc-visual {
  margin-bottom: 12px;
}

.blcalc-visual__canvas {
  position: relative;
  min-height: 220px;
  border-radius: 16px;
  background:
    radial-gradient(circle at top right, rgba(58, 165, 27, 0.12), transparent 42%),
    linear-gradient(180deg, rgba(17, 24, 39, 0.03), rgba(17, 24, 39, 0.06));
  overflow: hidden;
}

.blcalc-visual__shape {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 72%;
  height: 58%;
  transform: translate(-50%, -50%);
  border: 7px solid rgba(187, 191, 208, 0.9);
  border-radius: 4px;
  background: rgba(238, 242, 255, 0.85);
  box-shadow: 0 14px 32px rgba(17, 24, 39, 0.14);
}

.blcalc-visual__shape[data-group="zavesy"] {
  background: repeating-linear-gradient(
    90deg,
    rgba(208, 232, 255, 0.86) 0,
    rgba(208, 232, 255, 0.86) 20px,
    rgba(175, 216, 255, 0.92) 20px,
    rgba(175, 216, 255, 0.92) 36px
  );
}

.blcalc-visual__shape[data-group="shtory"],
.blcalc-visual__shape[data-group="tenty"] {
  background: var(--blcalc-fill, rgba(241, 245, 249, 0.92));
}

.blcalc-visual__shape[data-top="1"] {
  border-top-style: dashed;
}

.blcalc-visual__shape[data-right="1"] {
  border-right-style: dashed;
}

.blcalc-visual__shape[data-bottom="1"] {
  border-bottom-style: dashed;
}

.blcalc-visual__shape[data-left="1"] {
  border-left-style: dashed;
}

.blcalc-visual__axis {
  position: absolute;
  z-index: 2;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 18px rgba(17, 24, 39, 0.12);
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 800;
}

.blcalc-visual__axis--x {
  left: 50%;
  top: 20px;
  transform: translateX(-50%);
}

.blcalc-visual__axis--y {
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
}

#blcalcSummary {
  display: flex;
  flex-wrap: wrap;
  margin: 0 0 4px;
}

.blcalc-summary__item {
  display: grid;
  gap: 3px;
  margin-top: 12px;
  padding: 12px;
  border-radius: 14px;
  background: rgba(17, 24, 39, 0.03);
  box-shadow: 0 8px 18px rgba(17, 24, 39, 0.08);
}

.blcalc-summary__item span {
  color: var(--rg-muted);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.blcalc-summary__item b {
  font-size: 14px;
  line-height: 1.4;
}

.blcalc-sides {
  display: grid;
  gap: 8px;
}

.blcalc-sides__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

@media (max-width: 760px) {
  .blcalc-sides__grid {
    grid-template-columns: 1fr;
  }
}

.blcalc-side {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

.blcalc-side__check {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  user-select: none;
}

.blcalc-check__input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.blcalc-check__box {
  position: relative;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  border-radius: 7px;
  background: rgba(17, 24, 39, 0.04);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.78),
    0 8px 16px rgba(17, 24, 39, 0.06);
  transition: box-shadow 0.14s ease, background 0.14s ease, transform 0.14s ease;
}

.blcalc-check__box::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 3px;
  width: 6px;
  height: 10px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg) scale(0.7);
  opacity: 0;
  transition: opacity 0.14s ease, transform 0.14s ease;
}

.blcalc-check:hover .blcalc-check__box {
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.78),
    0 10px 18px rgba(17, 24, 39, 0.08);
}

.blcalc-check__input:focus-visible + .blcalc-check__box,
.blcalc-check__input:checked + .blcalc-check__box {
  background: linear-gradient(180deg, #4aba23, #2f980f);
  box-shadow:
    0 0 0 4px rgba(58, 165, 27, 0.12),
    0 10px 18px rgba(58, 165, 27, 0.18);
}

.blcalc-check__input:checked + .blcalc-check__box::after {
  opacity: 1;
  transform: rotate(45deg) scale(1);
}

.blcalc-check__label {
  line-height: 1.25;
}

.blcalc-side__meta {
  display: grid;
  gap: 6px;
}

.blcalc-side__result {
  color: var(--rg-muted);
  font-size: 12px;
}

@media (max-width: 640px) {
  .rgcalc.blcalc .rgcalc__header {
    padding: 20px 18px 12px;
  }

  .rgcalc.blcalc .rgcalc__main,
  .rgcalc.blcalc .rgcalc__panel,
  .rgcalc.blcalc .rgcalc__steps,
  .rgcalc.blcalc .rgcalc__nav {
    padding-left: 14px;
    padding-right: 14px;
  }

  .blcalc-visual__canvas {
    min-height: 190px;
  }
}

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

.feedback-forms #overlay {
  position: fixed;
  inset: 0;
  display: none;
  background: rgba(21, 34, 48, 0.42);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.22s ease;
  z-index: 9990;
  cursor: pointer;
}

.feedback-forms #overlay.is-open {
  opacity: 1;
}

.feedback-forms #modal_form1,
.feedback-forms #modal_form2 {
  position: fixed;
  top: 50%;
  left: 50%;
  width: min(360px, calc(100vw - 24px));
  max-height: calc(100vh - 24px);
  margin: 0;
  box-sizing: border-box;
  padding: 16px 16px 14px;
  border: 1px solid rgba(141, 209, 92, 0.28);
  border-radius: 20px;
  background:
    radial-gradient(circle at top right, rgba(141, 209, 92, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 251, 244, 0.98));
  box-shadow:
    0 18px 44px rgba(17, 24, 39, 0.2),
    0 0 0 1px rgba(255, 255, 255, 0.6) inset;
  transform: translate(-50%, -50%) scale(0.96);
  opacity: 0;
  display: none;
  overflow-x: hidden;
  overflow-y: auto;
  z-index: 9991;
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.feedback-forms #modal_form1.is-open,
.feedback-forms #modal_form2.is-open {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.feedback-forms #modal_form1 #modal_close1,
.feedback-forms #modal_form2 #modal_close2 {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: rgba(17, 24, 39, 0.05);
  color: #1f2e42;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.14s ease, background 0.14s ease, box-shadow 0.14s ease;
}

.feedback-forms #modal_form1 #modal_close1:hover,
.feedback-forms #modal_form2 #modal_close2:hover {
  background: rgba(58, 165, 27, 0.12);
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(17, 24, 39, 0.1);
}

.feedback-forms #modal_form1 #modal_close1:focus-visible,
.feedback-forms #modal_form2 #modal_close2:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(58, 165, 27, 0.18);
}

.feedback-forms .blcalc-modal__head {
  display: grid;
  gap: 4px;
  margin-bottom: 12px;
  padding-right: 36px;
}

.feedback-forms .blcalc-modal__eyebrow {
  font-size: 10px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(17, 24, 39, 0.56);
}

.feedback-forms .blcalc-modal__title {
  margin: 0;
  font-size: 20px;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: #111827;
}

.feedback-forms .blcalc-modal__subtitle {
  margin: 0;
  font-size: 12px;
  line-height: 1.45;
  color: rgba(17, 24, 39, 0.68);
}

.feedback-forms .blcalc-modal__body,
.feedback-forms .single-feedback-form,
.feedback-forms .single-feedback-form .wpcf7 {
  display: block;
}

.feedback-forms .single-feedback-form .wpcf7 form {
  display: grid;
  gap: 10px;
  margin: 0;
}

.feedback-forms .single-feedback-form .wpcf7-form p {
  margin: 0;
}

.feedback-forms .single-feedback-form .wpcf7-form br {
  display: none;
}

.feedback-forms .single-feedback-form .wpcf7-form label {
  display: grid;
  gap: 5px;
  margin: 0;
  font-size: 11px;
  line-height: 1.4;
  font-weight: 700;
  color: #152233;
}

.feedback-forms .single-feedback-form .wpcf7-form-control-wrap {
  display: block;
}

.feedback-forms .single-feedback-form input.wpcf7-form-control:not([type="submit"]):not([type="checkbox"]):not([type="file"]),
.feedback-forms .single-feedback-form textarea.wpcf7-form-control {
  width: 100%;
  max-width: 100%;
  min-height: 42px;
  padding: 11px 12px;
  box-sizing: border-box;
  border: 1px solid rgba(17, 24, 39, 0.1);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.78),
    0 6px 14px rgba(17, 24, 39, 0.04);
  outline: none;
  color: #111827;
  font-size: 13px;
  line-height: 1.4;
  transition: border-color 0.14s ease, box-shadow 0.14s ease, transform 0.14s ease;
}

.feedback-forms .single-feedback-form textarea.wpcf7-form-control {
  min-height: 96px;
  resize: vertical;
}

.feedback-forms .single-feedback-form input.wpcf7-form-control:not([type="submit"]):not([type="checkbox"]):not([type="file"])::placeholder,
.feedback-forms .single-feedback-form textarea.wpcf7-form-control::placeholder {
  color: rgba(17, 24, 39, 0.42);
}

.feedback-forms .single-feedback-form input.wpcf7-form-control:not([type="submit"]):not([type="checkbox"]):not([type="file"]):focus,
.feedback-forms .single-feedback-form textarea.wpcf7-form-control:focus {
  border-color: rgba(58, 165, 27, 0.34);
  box-shadow:
    0 0 0 4px rgba(58, 165, 27, 0.12),
    0 18px 30px rgba(58, 165, 27, 0.08);
  transform: translateY(-1px);
}

.feedback-forms .single-feedback-form input.wpcf7-file {
  width: 100%;
  max-width: 100%;
  padding: 12px 14px;
  border: 1px dashed rgba(17, 24, 39, 0.16);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.88);
  color: rgba(17, 24, 39, 0.72);
  font-size: 13px;
  line-height: 1.4;
  box-sizing: border-box;
}

.feedback-forms .single-feedback-form input.wpcf7-file::file-selector-button {
  margin-right: 10px;
  padding: 8px 14px;
  border: 0;
  border-radius: 10px;
  background: rgba(58, 165, 27, 0.12);
  color: #246e10;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.14s ease, transform 0.14s ease;
}

.feedback-forms .single-feedback-form input.wpcf7-file::file-selector-button:hover {
  background: rgba(58, 165, 27, 0.18);
  transform: translateY(-1px);
}

.feedback-forms .single-feedback-form .wpcf7-submit {
  width: 100%;
  max-width: 100%;
  min-height: 44px;
  margin: 2px 0 0;
  padding: 10px 16px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(180deg, #4aba23, #2f980f);
  box-shadow:
    0 10px 18px rgba(58, 165, 27, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.32);
  color: #fff;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: transform 0.14s ease, box-shadow 0.14s ease, filter 0.14s ease;
}

.feedback-forms .single-feedback-form .wpcf7-submit:hover {
  transform: translateY(-1px);
  box-shadow:
    0 20px 32px rgba(58, 165, 27, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.32);
}

.feedback-forms .single-feedback-form .wpcf7-submit:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 4px rgba(58, 165, 27, 0.16),
    0 18px 30px rgba(58, 165, 27, 0.24);
}

.feedback-forms .single-feedback-form .wpcf7-acceptance {
  display: block;
}

.feedback-forms .single-feedback-form .wpcf7-list-item {
  margin: 0;
}

.feedback-forms .single-feedback-form .wpcf7-list-item label {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 8px;
  align-items: start;
  font-size: 11px;
  line-height: 1.4;
  font-weight: 500;
  color: rgba(17, 24, 39, 0.7);
}

.feedback-forms .single-feedback-form input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin: 1px 0 0;
  accent-color: #3aa51b;
}

.feedback-forms .single-feedback-form .wpcf7-not-valid-tip {
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.45;
  color: #c83232;
}

.feedback-forms .single-feedback-form .wpcf7-response-output {
  margin: 4px 0 0;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(17, 24, 39, 0.08);
  background: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  line-height: 1.45;
}

.feedback-forms .single-feedback-form .wpcf7-spinner {
  margin: 10px auto 0;
}

.feedback-forms .single-feedback-form a {
  color: #2f980f;
  text-decoration: none;
}

.feedback-forms .single-feedback-form a:hover,
.feedback-forms .single-feedback-form a:focus-visible {
  text-decoration: none;
}

.feedback-forms .single-feedback-form .wpcf7-list-item-label,
.feedback-forms .single-feedback-form .wpcf7-list-item-label a {
  color: rgba(17, 24, 39, 0.7);
  font-size: 11px;
  line-height: 1.4;
  font-weight: 500;
}

.feedback-forms .single-feedback-form .wpcf7-list-item-label a {
  color: inherit;
}

@media (max-width: 640px) {
  .feedback-forms #modal_form1,
  .feedback-forms #modal_form2 {
    width: calc(100vw - 14px);
    max-height: calc(100vh - 14px);
    padding: 14px 14px 12px;
    border-radius: 18px;
  }

  .feedback-forms .blcalc-modal__title {
    font-size: 18px;
  }

  .feedback-forms .blcalc-modal__head {
    margin-bottom: 10px;
    padding-right: 34px;
  }
}

@media (max-width: 899px) {
  /* On the calculator page the catalog sidebar only steals the first screen on narrow widths. */
  body.page-template-page-calculator_test_page_642 .content-main > .row,
  body.page-template-page-calculator_test_page_642 .content-main > .row > .sidebar-right1,
  body.page-template-page-calculator_test_page_642 .content-main > .row .tg-sidebar {
    display: none;
  }
}
