.usccu-slc {
  position: relative;
  color: #47433c;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  background: #fbf8f1;
}

.usccu-slc,
.usccu-slc * {
  box-sizing: border-box;
}

.usccu-slc [hidden] {
  display: none !important;
}

.usccu-slc__shell {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid #e7d7aa;
  background: #ffffff;
  box-shadow: 0 24px 70px rgba(71, 67, 60, 0.08);
}

.usccu-slc__shell::before {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  height: 7rem;
  width: 7rem;
  background: #f2bf18;
  clip-path: polygon(100% 0, 0 0, 100% 100%);
  opacity: 0.95;
}

.usccu-slc__shell::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 0.75rem;
  width: 100%;
  background: #a00000;
}

.usccu-slc__header,
.usccu-slc__panel,
.usccu-slc__calculator {
  position: relative;
  padding: 2rem 1.5rem;
}

.usccu-slc__header {
  border-bottom: 1px solid #efe3bf;
  background: #ffffff;
}

.usccu-slc__title {
  margin: 0;
  max-width: 48rem;
  font-size: 1.9rem;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: #47433c;
}

.usccu-slc__title::after {
  content: "";
  display: block;
  margin-top: 0.7rem;
  height: 0.25rem;
  width: 5rem;
  background: #f2bf18;
}

.usccu-slc__intro,
.usccu-slc__panel-copy,
.usccu-slc__help,
.usccu-slc__note,
.usccu-slc__disclosure {
  max-width: 48rem;
  color: #5f5b54;
  font-size: 1.0625rem;
  line-height: 1.9;
}

.usccu-slc__intro {
  margin: 0.75rem 0 0;
  font-size: 1rem;
  line-height: 1.45;
}

.usccu-slc__panel,
.usccu-slc__results {
  border-top: 1px solid #efe3bf;
}

.usccu-slc__panel-title,
.usccu-slc__results-title {
  margin: 0 0 0.75rem;
  font-size: 1.75rem;
  line-height: 1.2;
  font-weight: 700;
  color: #a00000;
}

.usccu-slc__gate .usccu-slc__panel {
  display: block;
  background: #ffffff;
}

.usccu-slc__hubspot {
  position: relative;
  min-height: 14rem;
  border: 1px solid #e7d7aa;
  background: #fff;
  padding: 1.25rem;
  box-shadow: 0 18px 42px rgba(71, 67, 60, 0.08);
}

.usccu-slc__hubspot > * {
  position: relative;
  z-index: 1;
}

.usccu-slc__grid,
.usccu-slc__results-grid {
  display: grid;
  gap: 1.25rem;
}

.usccu-slc__grid {
  grid-template-columns: minmax(0, 1fr);
}

.usccu-slc__results-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.usccu-slc__field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-width: 0;
}

.usccu-slc__label {
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #6f685d;
}

.usccu-slc__input {
  width: 100%;
  max-width: 100%;
  border: 1px solid #d9cba0;
  background: #ffffff;
  padding: 0.875rem 1rem;
  font-size: 1.125rem;
  line-height: 1.6;
  color: #47433c;
  border-radius: 0;
  box-shadow: inset 0 -2px 0 rgba(242, 191, 24, 0.08);
}

.usccu-slc__input:focus {
  outline: 2px solid transparent;
  border-color: #a00000;
  box-shadow: 0 0 0 4px rgba(247, 212, 80, 0.3);
}

.usccu-slc__term-slider {
  display: grid;
  gap: 0.875rem;
  width: 100%;
  max-width: 100%;
  border: 1px solid #d9cba0;
  background: #fcfaf4;
  padding: 1rem;
  box-shadow: inset 0 -1px 0 rgba(242, 191, 24, 0.2);
}

.usccu-slc__range-wrap {
  position: relative;
  padding: 0.25rem 0;
}

.usccu-slc__range-track {
  position: absolute;
  left: 0.125rem;
  right: 0.125rem;
  top: 50%;
  transform: translateY(-50%);
  height: 0.45rem;
  border-radius: 999px;
  background: #e6dfd1;
  border: 1px solid #d2c8b6;
  overflow: hidden;
  pointer-events: none;
}

.usccu-slc__range-progress {
  display: block;
  height: 100%;
  width: 0%;
  background: #a00000;
  transition: width 140ms ease;
}

.usccu-slc__range {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 1.4rem;
  margin: 0;
  background: transparent;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.usccu-slc__range::-webkit-slider-runnable-track {
  height: 0.45rem;
  background: transparent;
}

.usccu-slc__range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 1.125rem;
  height: 1.125rem;
  border-radius: 999px;
  border: 2px solid #a00000;
  background: #f2bf18;
  margin-top: calc((0.45rem - 1.125rem) / 2);
  box-shadow: 0 0 0 3px #fcfaf4;
}

.usccu-slc__range::-moz-range-track {
  height: 0.45rem;
  background: transparent;
  border: none;
}

.usccu-slc__range::-moz-range-thumb {
  width: 1.125rem;
  height: 1.125rem;
  border-radius: 999px;
  border: 2px solid #a00000;
  background: #f2bf18;
  box-shadow: 0 0 0 3px #fcfaf4;
}

.usccu-slc__term-selected {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  border: 1px solid #e7d7aa;
  background: #fffdf7;
  padding: 0.55rem 0.75rem;
  color: #5f5b54;
  font-size: 0.875rem;
  line-height: 1.4;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.usccu-slc__term-selected strong {
  color: #a00000;
  font-size: 1rem;
  letter-spacing: 0;
}

.usccu-slc__term-ticks {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  color: #6f685d;
  font-size: 0.75rem;
  line-height: 1.2;
}

.usccu-slc__term-ticks span {
  text-align: center;
  border: 1px solid #e2d8c2;
  background: #ffffff;
  padding: 0.2rem 0.45rem;
  min-width: 3.8rem;
}

.usccu-slc__term-slider[data-mode="single"] .usccu-slc__range {
  cursor: default;
  opacity: 0.75;
}

.usccu-slc__term-slider[data-mode="single"] .usccu-slc__range-progress {
  width: 100%;
}

.usccu-slc__term-slider[data-mode="single"] .usccu-slc__term-selected {
  justify-content: flex-start;
}

.usccu-slc__term-fallback {
  width: 100%;
  max-width: 100%;
  border: 1px solid #d9cba0;
  background: #ffffff;
  padding: 0.875rem 1rem;
  color: #6f685d;
}

.usccu-slc__actions {
  margin-top: 1.75rem;
}

.usccu-slc__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #f2bf18;
  background: #f2bf18;
  color: #47433c;
  cursor: pointer;
  font-weight: 700;
  padding: 0.875rem 1.75rem;
  transition: transform 120ms ease, background-color 120ms ease, border-color 120ms ease;
  border-radius: 0;
  box-shadow: 0 8px 20px rgba(242, 191, 24, 0.18);
}

.usccu-slc__button:hover {
  border-color: #e1b216;
  background: #e1b216;
  transform: translateY(-1px);
}

.usccu-slc__button--ghost {
  margin-top: 1rem;
  border-color: #a00000;
  background: #ffffff;
  color: #a00000;
  box-shadow: none;
}

.usccu-slc__message {
  margin-top: 1.25rem;
  border-left: 4px solid #a00000;
  background: #fff4f4;
  color: #7f0000;
  padding: 1rem;
}

.usccu-slc__calculator {
  background: #fbf8f1;
}

.usccu-slc__form {
  border: 1px solid #e7d7aa;
  background: #ffffff;
  padding: 1.5rem;
  box-shadow: 0 16px 36px rgba(71, 67, 60, 0.06);
}

.usccu-slc__result-card {
  position: relative;
  border-bottom: 1px solid #f2bf18;
  background: #ffffff;
  padding: 1.25rem 0 1.25rem;
  border-left: 0;
  border-right: 0;
  border-top: 0;
}

.usccu-slc__result-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 0.25rem;
  background: #f2bf18;
  opacity: 0.75;
}

.usccu-slc__result-label {
  display: block;
  margin-bottom: 0.5rem;
  padding-left: 1.25rem;
  color: #7f786d;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.usccu-slc__result-value {
  display: block;
  padding-left: 1.25rem;
  font-size: 2.5rem;
  line-height: 1.05;
  font-weight: 700;
  color: #a00000;
  letter-spacing: -0.03em;
}

.usccu-slc__results {
  margin-top: 2rem;
  border: 1px solid #e7d7aa;
  background: #ffffff;
  padding: 1.5rem;
  box-shadow: 0 18px 42px rgba(71, 67, 60, 0.08);
}

.usccu-slc__disclosure {
  margin-top: 1.5rem;
  border-left: 4px solid #f2bf18;
  background: #fffdf6;
  padding: 1rem;
  font-size: 0.875rem;
  line-height: 1.7;
}

.usccu-slc__note {
  margin-top: 1.25rem;
  color: #7f0000;
}

.usccu-slc .hbspt-form form {
  display: grid;
  gap: 1rem;
}

.usccu-slc .hbspt-form .hs-form-field {
  margin: 0;
}

.usccu-slc .hbspt-form label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #6f685d;
}

.usccu-slc .hbspt-form input,
.usccu-slc .hbspt-form select,
.usccu-slc .hbspt-form textarea {
  width: 100%;
  border: 1px solid #d9cba0;
  background: #ffffff;
  padding: 0.875rem 1rem;
  font-size: 1.125rem;
  line-height: 1.6;
  color: #47433c;
  border-radius: 0;
  box-shadow: inset 0 -2px 0 rgba(242, 191, 24, 0.08);
}

.usccu-slc .hbspt-form .hs-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #f2bf18;
  background: #f2bf18;
  color: #47433c;
  padding: 0.875rem 1.75rem;
  font-weight: 700;
  border-radius: 0;
  box-shadow: 0 8px 20px rgba(242, 191, 24, 0.18);
}

.usccu-slc .hbspt-form .hs-button:hover {
  border-color: #e1b216;
  background: #e1b216;
}

.usccu-slc .hbspt-form .actions {
  padding-top: 0.5rem;
}

.usccu-slc .hbspt-form .submitted-message {
  border-left: 4px solid #f2bf18;
  background: #fffdf6;
  padding: 1rem;
  color: #47433c;
}

@media (min-width: 768px) {
  .usccu-slc__header,
  .usccu-slc__panel,
  .usccu-slc__calculator {
    padding: 2.5rem;
  }

  .usccu-slc__title {
    font-size: 2.75rem;
  }

  .usccu-slc__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .usccu-slc__form,
  .usccu-slc__results {
    padding: 2rem;
  }

  .usccu-slc__result-value {
    font-size: 2.75rem;
  }
}
