/* The offer checklist is local to the cost article. */
.reactive-offer {
  scroll-margin-top: 7rem;
  margin-block: clamp(2rem, 5vw, 3.5rem);
}
.reactive-offer [hidden] { display: none !important; }
.reactive-offer > h2 { max-width: 26ch; }
.reactive-offer > p { margin-block: 1rem; }
.reactive-offer__tool {
  margin-block: 1.5rem;
  padding: clamp(1rem, 3vw, 1.75rem);
  border: 1px solid var(--green-700, #2a8c44);
  border-radius: var(--r-lg, 1rem);
  background: var(--white, #fff);
  color: var(--ink, #16251b);
}
.reactive-offer .reactive-offer__note {
  font-size: 1rem;
  line-height: 1.55;
  color: var(--slate, #4b5d51);
}
.reactive-offer__criteria {
  display: grid;
  gap: 1.5rem;
  margin-block: 1.5rem;
}
.reactive-offer__criterion {
  min-width: 0;
  margin: 0;
  padding: 0 0 1.5rem;
  border: 0;
  border-bottom: 1px solid var(--line, #d7e1da);
}
.reactive-offer__criterion legend {
  width: 100%;
  padding: 0;
  font-family: var(--font-head, sans-serif);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.35;
}
.reactive-offer__criterion p {
  margin: .6rem 0 1rem;
  font-size: 1rem;
  line-height: 1.55;
}
.reactive-offer__choices {
  display: flex;
  flex-wrap: wrap;
  gap: .625rem;
}
.reactive-offer__choices label {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  min-height: 44px;
  padding: .5rem .875rem;
  border: 1px solid var(--line, #d7e1da);
  border-radius: var(--r-md, .5rem);
  background: var(--white, #fff);
  color: var(--ink, #16251b);
  font-size: 1rem;
  line-height: 1.4;
  cursor: pointer;
}
.reactive-offer__choices input {
  appearance: auto;
  flex: 0 0 auto;
  width: 1.125rem;
  height: 1.125rem;
  margin: 0;
  accent-color: var(--green-text, #237c3c);
}
.reactive-offer__choices label:has(input:checked) {
  border-color: var(--green-text, #237c3c);
  background: var(--green-100, #e7f4eb);
}
.reactive-offer :is(a, button, input):focus-visible {
  outline: 3px solid var(--green-text, #237c3c);
  outline-offset: 4px;
}
.reactive-offer .btn {
  min-height: 48px;
  max-width: 100%;
  white-space: normal;
  text-align: left;
  line-height: 1.4;
}
.reactive-offer__result {
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 2px solid var(--green-700, #2a8c44);
}
.reactive-offer__result h3 {
  scroll-margin-top: 7rem;
  margin: 0 0 1rem;
  font-size: clamp(1.3rem, 2vw, 1.6rem);
  line-height: 1.35;
}
.reactive-offer__result h3:focus { outline: none; }
.reactive-offer__result p { margin-block: 1rem; }
.reactive-offer__result ul { margin-block: 1.25rem; }
.reactive-offer__result li { line-height: 1.6; }
.reactive-offer__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  margin-top: 1.5rem;
}
.reactive-offer__actions a {
  flex: 1 1 15rem;
  min-height: 44px;
  padding-block: .5rem;
  line-height: 1.5;
}
.reactive-offer .reactive-offer__status {
  margin: 1rem 0 0;
  font-size: .95rem;
  line-height: 1.5;
}
.reactive-offer__status:empty { margin: 0; }
@media (max-width: 380px) {
  .reactive-offer__choices { gap: .5rem; }
  .reactive-offer__choices label { padding-inline: .5rem; }
  .reactive-offer .btn { padding-inline: .875rem; }
}
@media print {
  .reactive-offer__choices,
  .reactive-offer [data-offer-show],
  .reactive-offer__actions,
  .reactive-offer__status { display: none !important; }
  .reactive-offer__tool { border-color: #555; background: #fff; color: #000; }
  .reactive-offer__result li { break-inside: avoid; }
}
