.calculator-card {
  width: min(1460px, 100%);
  margin: 0 auto;
  padding: clamp(44px, 6vw, 92px) clamp(34px, 6vw, 98px);
}

.calculator-card__logo {
  display: block;
  width: min(320px, 42%);
  margin: 0 0 22px auto;
}

.calculator-card__page-title {
  margin: 0 0 26px;
  color: var(--green);
  font-size: clamp(2.4rem, 4.8vw, 4.6rem);
  line-height: 1;
}

.acu-loan-wrap {
  width: 100%;
  max-width: 100%;
  margin: 0px auto;
  padding: 20px;
  box-sizing: border-box;
  border-radius: 16px;
  background: #fff;
  color: #0F3457;
  font-family: 'Roboto', sans-serif;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: box-shadow .3s ease;
}

.acu-loan-wrap:hover {
  box-shadow: 0 10px 24px rgba(0,0,0,0.15);
}

.checking-card .acu-title,
.acu-title {
  margin: 0 0 16px;
  color: #105698;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: normal;
}

.acu-help {
  margin: -15px 0 16px;
  font-size: 17px;
  font-style: italic;
  color: #0F3457;
}

.acu-field-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.acu-field {
  display: grid;
  gap: 8px;
}

.acu-label {
  display: block;
  margin-top: 12px;
  margin-bottom: 6px;
  color: #0F3457;
  font-size: .95rem;
  font-weight: 500;
}

.acu-input {
  width: 100%;
  min-height: auto;
  padding: 12px 14px;
  color: #0F3457;
  background: #fff;
  border: 1px solid #cfd9e3;
  border-radius: 12px;
  font-size: 1rem;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.acu-input:focus {
  outline: none;
  border-color: #105698;
  box-shadow: 0 0 0 3px rgba(16,86,152,0.15);
}

.acu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: auto;
  min-height: auto;
  margin-top: 16px;
  padding: 12px 22px;
  border: none;
  border-radius: 999px;
  color: #fff;
  background: #6AB14A;
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0,0,0,.15);
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease;
}

.acu-btn:hover,
.acu-btn:focus {
  color: #fff;
  background: #105698;
  transform: translateY(-3px);
  box-shadow: 0 10px 22px rgba(0,0,0,.20);
}

.acu-btn:active {
  transform: translateY(2px);
  box-shadow: 0 4px 8px rgba(0,0,0,.15);
}

.acu-result {
  display: block;
  gap: 0;
  margin-top: 16px;
  padding: 14px;
  color: #0F3457;
  background: #f8fbff;
  border: 1px dashed #cfd9e3;
  border-radius: 12px;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.05);
  font-size: 1rem;
}

.acu-result[hidden] {
  display: none;
}

.acu-sub {
  margin-top: 6px;
  color: #425b73;
  font-size: .92rem;
}

.acu-dual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.acu-loan-wrap section {
  display: grid;
  gap: 18px;
}

.acu-loan-wrap section[hidden] {
  display: none;
}

.acu-input[type=range] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 26px;
  min-height: auto;
  padding: 0;
  border: 1px solid #cfd9e3;
  border-radius: 6px;
  background: #e6eef5;
  box-sizing: border-box;
  cursor: pointer;
  outline: none;
  margin: 6px 0 12px;
}

.acu-input[type=range]::-webkit-slider-runnable-track {
  height: 24px;
  background: #e6eef5;
  border-radius: 6px;
  border: 0;
}

.acu-input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #6AB14A;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  transition: background .2s;
  margin-top: 2px;
}

.acu-input[type=range]::-webkit-slider-thumb:hover {
  background: #105698;
}

.acu-input[type=range]::-moz-range-track {
  height: 24px;
  background: #e6eef5;
  border-radius: 6px;
  border: 0;
}

.acu-input[type=range]::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #6AB14A;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  transition: background .2s;
  border: 0;
}

.acu-input[type=range]::-moz-range-thumb:hover {
  background: #105698;
}

.acu-input[type=range]:focus {
  box-shadow: 0 0 0 3px rgba(16,86,152,0.15);
  border-radius: 8px;
}

.acu-input[type=number] {
  line-height: 1.2;
}

.acu-toggle-row {
  margin-top: 24px;
}

.acu-toggle-row .acu-toggle {
  width: 100%;
  margin-top: 0;
  background: #6AB14A;
  color: #fff;
}

.acu-toggle-row .acu-toggle:hover,
.acu-toggle-row .acu-toggle:focus {
  background: #6AB14A;
  transform: translateY(-3px);
  box-shadow: 0 10px 22px rgba(0,0,0,.20);
}

.acu-toggle.is-active {
  background: #EC5F26 !important;
  color: #fff !important;
  transform: translateY(-3px) !important;
  box-shadow: 0 10px 22px rgba(0,0,0,.20) !important;
}

.acu-toggle.is-active:hover,
.acu-toggle.is-active:focus {
  background: #EC5F26 !important;
  transform: translateY(-3px) !important;
  box-shadow: 0 10px 22px rgba(0,0,0,.20) !important;
}

.acu-toggle:focus-visible {
  outline: 3px solid rgba(16,86,152,0.35);
  outline-offset: 2px;
}

.calculator-link-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  gap: 14px;
}

.calculator-link-grid .acu-btn {
  width: 100%;
  min-height: 64px;
  margin: 0;
  border-radius: 8px;
  text-align: center;
  text-decoration: none;
}

@media (max-width: 600px) {
  .acu-dual {
    grid-template-columns: 1fr;
  }

  #acu-heloc-card .acu-dual[style],
  #acu-cc-card .acu-dual[style],
  #acu-save-card .acu-dual[style*="repeat(3"] {
    grid-template-columns: 1fr !important;
  }

  #acu-heloc-card .acu-dual .acu-btn,
  #acu-cc-card .acu-dual .acu-btn,
  #acu-save-card .acu-toggle {
    width: 100%;
  }
}
