.dc-calculator-reaction {
  margin-top: 4px;
  padding: 26px;
  border: 2px solid rgba(12, 111, 92, 0.28);
  border-radius: 20px;
  background: linear-gradient(145deg, #effaf7 0%, #ffffff 100%);
  box-shadow: 0 16px 38px rgba(15, 62, 55, 0.1);
}

.dc-calculator-reaction h3 {
  margin: 0;
  color: #173b36;
  font-size: clamp(23px, 2.8vw, 30px);
  line-height: 1.25;
}

.dc-calculator-reaction__subtitle {
  margin: 8px 0 0;
  color: #4a635f;
  line-height: 1.55;
}

.dc-calculator-reaction__choices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 20px;
}

.dc-calculator-reaction__choice {
  width: 100%;
  min-height: 68px;
  padding: 15px 16px;
  border: 1px solid #cadbd8;
  border-radius: 14px;
  background: #fff;
  color: #244640;
  font: inherit;
  font-weight: 700;
  line-height: 1.35;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.dc-calculator-reaction__choice:hover {
  border-color: #4b9b8f;
  transform: translateY(-1px);
}

.dc-calculator-reaction__choice:focus-visible {
  outline: 3px solid rgba(22, 132, 115, 0.25);
  outline-offset: 2px;
}

.dc-calculator-reaction__choice.is-selected {
  border-color: #167761;
  background: #eaf7f3;
  box-shadow: 0 0 0 2px rgba(22, 119, 97, 0.12);
  color: #0d5b4c;
}

.dc-calculator-reaction__response {
  margin-top: 20px;
  padding: 20px;
  border: 1px solid rgba(15, 118, 110, 0.22);
  border-radius: 16px;
  background: #e7f7f2;
}

.dc-calculator-reaction__response[hidden] {
  display: none;
}

.dc-calculator-reaction__response-title {
  display: block;
  margin-bottom: 7px;
  color: #103f37;
  font-size: 19px;
  line-height: 1.3;
}

.dc-calculator-reaction__response p {
  margin: 0 0 16px;
  color: #274f48;
  line-height: 1.55;
}

.dc-calculator-reaction__cta {
  width: 100%;
  min-height: 52px;
  white-space: normal;
  font-weight: 900;
}

.dc-result-preliminary {
  margin: 0;
  padding: 13px 15px;
  border-left: 4px solid #54a698;
  border-radius: 0 10px 10px 0;
  background: #f3faf8;
  color: #405f5a;
  line-height: 1.55;
}

.dc-single-result:not(.dental-calculator-core-ui__result-card) .dc-price {
  display: grid;
  gap: 5px;
  min-width: min(100%, 290px);
  padding: 18px;
  border: 1px solid rgba(15, 118, 110, 0.2);
  border-radius: 14px;
  background: #effaf7;
}

.dc-result-price-label {
  color: #526f6b;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
}

.dc-single-result:not(.dental-calculator-core-ui__result-card) .dc-price > strong {
  color: #0f766e;
  font-size: clamp(30px, 4.2vw, 42px);
  font-weight: 900;
  line-height: 1.1;
}

.dc-result-summary {
  display: grid;
  gap: 12px;
  padding: 17px;
  border: 1px solid #d7e8e5;
  border-radius: 14px;
  background: #fff;
}

.dc-result-summary__title {
  color: #173b36;
  font-size: 18px;
}

.dc-result-summary__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.dc-result-summary__list li {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 4px 8px;
  align-items: baseline;
  min-width: 0;
  padding-bottom: 7px;
  border-bottom: 1px solid #e6efed;
}

.dc-result-summary__list span {
  flex: 0 1 auto;
  min-width: 0;
  color: #59716d;
}

.dc-result-summary__list strong {
  flex: 1 1 180px;
  min-width: 0;
  color: #173b36;
  text-align: left;
  overflow-wrap: anywhere;
}

.dc-result-disclosure {
  overflow: hidden;
  margin-bottom: 16px;
  border: 1px solid #cadeda;
  border-radius: 12px;
  background: #fff;
}

.dc-result-disclosure__summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  min-height: 52px;
  padding: 13px 15px;
  color: #176f5e;
  font-weight: 900;
  line-height: 1.35;
  list-style: none;
  cursor: pointer;
}

.dc-result-disclosure__summary::-webkit-details-marker {
  display: none;
}

.dc-result-disclosure__summary::marker {
  content: '';
}

.dc-result-disclosure__summary:hover {
  background: #f1faf7;
}

.dc-result-disclosure__summary:focus-visible {
  outline: 3px solid rgba(15, 118, 110, 0.35);
  outline-offset: -3px;
}

.dc-result-disclosure__chevron {
  width: 10px;
  height: 10px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 0.18s ease;
}

.dc-result-disclosure[open] .dc-result-disclosure__chevron {
  transform: translateY(2px) rotate(225deg);
}

.dc-result-disclosure__content {
  display: grid;
  gap: 12px;
  padding: 15px;
  border-top: 1px solid #dbe9e6;
}

@media (max-width: 767px) {
  .dc-calculator-reaction {
    margin-top: 14px;
    padding: 17px 14px;
    border-radius: 16px;
  }

  .dc-calculator-reaction__choices {
    grid-template-columns: 1fr;
  }

  .dc-calculator-reaction__choice {
    min-height: 56px;
  }

  .dc-result-summary {
    padding: 14px;
  }

  .dc-result-summary__list {
    grid-template-columns: 1fr;
  }

  .dc-result-disclosure__content {
    padding: 10px;
  }

  .dc-result-disclosure {
    margin-bottom: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dc-calculator-reaction__choice {
    transition: none;
  }

  .dc-result-disclosure__chevron {
    transition: none;
  }
}
