/* Minimal layout rules when the main stylesheet is missing or stripped by cache/minify plugins. */
.gcc-calculator-embed {
  scroll-margin-top: 7rem;
}

.gcc-calculator-embed .gcc-calculator-wrap:not(.is-result) {
  max-width: 1120px;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 2rem !important;
  background: #fff !important;
  border: 1px solid #dee2e6 !important;
  border-radius: 18px !important;
  box-shadow: 0 10px 28px rgba(26, 26, 26, 0.06) !important;
  box-sizing: border-box !important;
}

.gcc-calculator-embed .gcc-calculator-wrap.is-result {
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.gcc-calculator-wrap .cp-choice-grid,
.gcc-calculator-embed .cp-choice-grid {
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.gcc-calculator-wrap label.cp-choice-card,
.gcc-calculator-embed label.cp-choice-card {
  display: flex !important;
  align-items: center !important;
  flex-direction: row !important;
  width: auto !important;
  max-width: none !important;
  float: none !important;
}

.gcc-calculator-wrap .cp-provider-mark,
.gcc-calculator-embed .cp-provider-mark {
  display: inline-flex !important;
  flex: 0 0 28px !important;
  width: 28px !important;
  height: 28px !important;
  min-width: 28px !important;
  min-height: 28px !important;
  max-width: 28px !important;
  max-height: 28px !important;
  overflow: hidden !important;
}

.gcc-calculator-wrap .cp-provider-mark svg,
.gcc-calculator-embed .cp-provider-mark svg {
  display: block !important;
  width: 22px !important;
  height: 22px !important;
  min-width: 22px !important;
  min-height: 22px !important;
  max-width: 22px !important;
  max-height: 22px !important;
  flex: 0 0 22px !important;
  object-fit: contain !important;
  overflow: visible !important;
}

.gcc-calculator-wrap .cp-choice-card input[type='checkbox'],
.gcc-calculator-wrap .cp-choice-card input[type='radio'],
.gcc-calculator-embed .cp-choice-card input[type='checkbox'],
.gcc-calculator-embed .cp-choice-card input[type='radio'] {
  flex: 0 0 auto !important;
  width: auto !important;
  margin: 0 !important;
  accent-color: var(--focus-green) !important;
}

.gcc-calculator-wrap .cp-choice-card__text,
.gcc-calculator-embed .cp-choice-card__text {
  flex: 1 1 auto !important;
  min-width: 0 !important;
}

@media (max-width: 860px) {
  .gcc-calculator-wrap .cp-choice-grid,
  .gcc-calculator-embed .cp-choice-grid {
    grid-template-columns: 1fr !important;
  }

  .gcc-calculator-wrap .cp-provider-mark,
  .gcc-calculator-embed .cp-provider-mark {
    flex: 0 0 24px !important;
    width: 24px !important;
    height: 24px !important;
    min-width: 24px !important;
    min-height: 24px !important;
    max-width: 24px !important;
    max-height: 24px !important;
  }

  .gcc-calculator-wrap .cp-provider-mark svg,
  .gcc-calculator-embed .cp-provider-mark svg {
    width: 18px !important;
    height: 18px !important;
    min-width: 18px !important;
    min-height: 18px !important;
    max-width: 18px !important;
    max-height: 18px !important;
    flex: 0 0 18px !important;
  }
}
