/* H&C /_hc-home-20261027/ preview only. Desktop/mobile simplification 27.10.2026. */
/* Keep the existing price algorithm and DOM bindings intact; trim the visible live-price card. */
html body .dbrpf.hc-ref-calculator .dbrpf__price-card {
  padding-bottom:0!important;
  overflow:hidden!important;
  max-height:none!important;
  background:linear-gradient(150deg,#f3fbf5,#e7f5ec 72%,#fff)!important;
}
html body .dbrpf.hc-ref-calculator .dbrpf__price-card .dbrpf__selection-summary,
html body .dbrpf.hc-ref-calculator .dbrpf__price-card .dbrpf__price-details-toggle,
html body .dbrpf.hc-ref-calculator .dbrpf__price-card .dbrpf__price-details,
html body .dbrpf.hc-ref-calculator .dbrpf__price-card .hc-ref-price-estimate,
html body .dbrpf.hc-ref-calculator .dbrpf__price-card .hc-ref-price-note {display:none!important;}
html body .dbrpf.hc-ref-calculator .dbrpf__price-card .dbrpf__price-main {
  margin:0 16px!important;
  padding:15px 0 7px!important;
}
html body .dbrpf.hc-ref-calculator .dbrpf__price-card .hc-ref-price-footer {
  margin:8px 16px 0!important;
  padding:0 0 16px!important;
  background:none!important;
  border:none!important;
  box-shadow:none!important;
}
html body .dbrpf.hc-ref-calculator .dbrpf__price-card .hc-ref-checks {
  padding:11px 0 0!important;
  margin:6px 0 0!important;
  gap:11px!important;
  border-top:1px solid #d5e7dd!important;
}
html body .dbrpf.hc-ref-calculator .dbrpf__price-card .hc-ref-checks li {
  font-size:11.5px!important;
  font-weight:550!important;
}
html body .dbrpf.hc-ref-calculator .dbrpf__price-card .hc-ref-price-photo {
  margin:0!important;
  height:154px!important;
  border-radius:0 0 11px 11px!important;
}
html body .dbrpf.hc-ref-calculator .dbrpf__price-card .hc-ref-price-photo img {
  object-fit:cover!important;
  object-position:center 52%!important;
}

/* Area entry ends near the middle of the second roof-condition card on desktop. */
html body .dbrpf.hc-ref-calculator [data-dbr-section="area"] .dbrpf__area-panel .dbrpf__area-field-wrap {
  width:50%!important;
  max-width:50%!important;
  min-width:230px!important;
  margin-left:0!important;
}
html body .dbrpf.hc-ref-calculator [data-dbr-section="area"] .dbrpf__area-panel .dbrpf__area-field-wrap .dbrpf__area-field {
  width:100%!important;
  max-width:100%!important;
}

/* Make the mandatory consent a clear, clickable choice below the photo upload. */
html body .dbrpf.hc-ref-calculator .dbrpf__section--contact.hc-contact-premium .dbrpf__privacy-consent {
  display:block!important;
  position:relative!important;
  visibility:visible!important;
  margin:12px 0 9px!important;
  padding:0!important;
  background:transparent!important;
  opacity:1!important;
}
html body .dbrpf.hc-ref-calculator .dbrpf__section--contact.hc-contact-premium .dbrpf__privacy-consent .dbrpf__privacy-label {
  display:flex!important;
  align-items:center!important;
  gap:10px!important;
  box-sizing:border-box!important;
  width:100%!important;
  min-height:42px!important;
  height:auto!important;
  padding:9px 12px!important;
  border:1px solid #c7e0e8!important;
  border-radius:6px!important;
  background:#eef7f9!important;
  background-image:none!important;
  color:#1b445a!important;
  font:550 11.5px/1.42 Inter,Arial,sans-serif!important;
  opacity:1!important;
  cursor:pointer!important;
  box-shadow:none!important;
}
html body .dbrpf.hc-ref-calculator .dbrpf__section--contact.hc-contact-premium .dbrpf__privacy-label > span:last-child {
  display:inline!important;
  color:#1b445a!important;
  opacity:1!important;
  font-size:11.5px!important;
  line-height:1.45!important;
  text-shadow:none!important;
}
html body .dbrpf.hc-ref-calculator .dbrpf__section--contact.hc-contact-premium .dbrpf__privacy-label a {
  color:#075d8c!important;
  text-decoration:underline!important;
  font-weight:750!important;
}
html body .dbrpf.hc-ref-calculator .dbrpf__section--contact.hc-contact-premium .dbrpf__privacy-checkbox {
  position:relative!important;
  flex:0 0 20px!important;
  width:20px!important;
  height:20px!important;
  margin:0!important;
  background:#fff!important;
  border:1.5px solid #4c94a9!important;
  border-radius:4px!important;
  box-shadow:none!important;
  color:#116f97!important;
}
html body .dbrpf.hc-ref-calculator .dbrpf__section--contact.hc-contact-premium .dbrpf__privacy-label input:checked + .dbrpf__privacy-checkbox {
  background:#167f9f!important;
  border-color:#167f9f!important;
  color:#fff!important;
}
html body .dbrpf.hc-ref-calculator .dbrpf__section--contact.hc-contact-premium .dbrpf__privacy-label input:checked + .dbrpf__privacy-checkbox svg {
  stroke:#fff!important;
}
html body .dbrpf.hc-ref-calculator .dbrpf__section--contact.hc-contact-premium .dbrpf__privacy-error {
  color:#a32e36!important;
  font-size:11px!important;
}

/* Remove all hover/selection motion inside the calculator. Checked circle stays as feedback. */
html body .dbrpf.hc-ref-calculator .dbrpf__form .dbrpf-choice,
html body .dbrpf.hc-ref-calculator .dbrpf__form .dbrpf-choice *,
html body .dbrpf.hc-ref-calculator .dbrpf__form button,
html body .dbrpf.hc-ref-calculator .dbrpf__form .hc-upload__trigger,
html body .dbrpf.hc-ref-calculator .dbrpf__form .hc-upload__zone,
html body .dbrpf.hc-ref-calculator .dbrpf__form .dbrpf__privacy-label,
html body .dbrpf.hc-ref-calculator .dbrpf__form input,
html body .dbrpf.hc-ref-calculator .dbrpf__form textarea {
  transition:none!important;
  animation:none!important;
}
html body .dbrpf.hc-ref-calculator .dbrpf__choices .dbrpf-choice,
html body .dbrpf.hc-ref-calculator .dbrpf__choices .dbrpf-choice:hover,
html body .dbrpf.hc-ref-calculator .dbrpf__choices .dbrpf-choice.is-selected,
html body .dbrpf.hc-ref-calculator .dbrpf__choices .dbrpf-choice.is-selected:hover,
html body .dbrpf.hc-ref-calculator .dbrpf__choices .dbrpf-choice:has(input:checked),
html body .dbrpf.hc-ref-calculator .dbrpf__choices .dbrpf-choice:focus-within {
  background:rgba(255,255,255,.94)!important;
  background-image:none!important;
  border:1px solid #dbe8ef!important;
  box-shadow:0 2px 7px rgba(11,66,96,.045)!important;
  transform:none!important;
  filter:none!important;
}
html body .dbrpf.hc-ref-calculator .dbrpf__form .dbrpf__button--submit,
html body .dbrpf.hc-ref-calculator .dbrpf__form .dbrpf__button--submit:hover,
html body .dbrpf.hc-ref-calculator .dbrpf__form .dbrpf__button--submit:active {
  background:linear-gradient(180deg,#32a06e,#1b7c52)!important;
  background-image:linear-gradient(180deg,#32a06e,#1b7c52)!important;
  border-color:#238658!important;
  color:#fff!important;
  box-shadow:0 2px 4px rgba(20,108,73,.14)!important;
  transform:none!important;
  filter:none!important;
}
html body .dbrpf.hc-ref-calculator .dbrpf__form .hc-upload__zone:hover,
html body .dbrpf.hc-ref-calculator .dbrpf__form .hc-upload__zone:focus-within {
  background:#ecf7fd!important;
  border-color:#d8e9f3!important;
  box-shadow:none!important;
}
html body .dbrpf.hc-ref-calculator .dbrpf__form .hc-upload__trigger:hover,
html body .dbrpf.hc-ref-calculator .dbrpf__form .hc-upload__trigger:active {
  transform:none!important;
  background:transparent!important;
  filter:none!important;
  box-shadow:none!important;
}

@media(max-width:750px) {
  html body .dbrpf.hc-ref-calculator [data-dbr-section="area"] .dbrpf__area-panel .dbrpf__area-field-wrap {
    width:100%!important;max-width:100%!important;min-width:0!important;
  }
  html body .dbrpf.hc-ref-calculator .dbrpf__price-card .hc-ref-price-photo {height:158px!important;}
}

/* 27.10.2026 mobile polish: readable condition cards instead of three squeezed thumbnail columns. */
@media (max-width:560px) {
 html body .dbrpf.hc-ref-calculator [data-dbr-section="condition"] .dbrpf__choices--three {
   grid-template-columns:1fr!important;gap:8px!important;
 }
 html body .dbrpf.hc-ref-calculator [data-dbr-section="condition"] .dbrpf-choice--condition-photo {
   display:grid!important;grid-template-columns:102px 19px minmax(0,1fr)!important;
   grid-template-rows:minmax(78px,auto)!important;
   align-items:center!important;align-content:center!important;
   column-gap:8px!important;row-gap:0!important;
   min-height:94px!important;padding:7px!important;overflow:hidden!important;
 }
 html body .dbrpf.hc-ref-calculator [data-dbr-section="condition"] .dbrpf-choice--condition-photo .dbrpf-choice__roof-photo {
   grid-column:1!important;grid-row:1!important;display:block!important;
   width:102px!important;height:78px!important;min-height:0!important;
   border-radius:5px!important;object-fit:cover!important;margin:0!important;
 }
 html body .dbrpf.hc-ref-calculator [data-dbr-section="condition"] .dbrpf-choice--condition-photo .dbrpf-choice__indicator {
   grid-column:2!important;grid-row:1!important;margin:0!important;
 }
 html body .dbrpf.hc-ref-calculator [data-dbr-section="condition"] .dbrpf-choice--condition-photo .dbrpf-choice__copy {
   grid-column:3!important;grid-row:1!important;padding:0 2px 0 0!important;
 }
 html body .dbrpf.hc-ref-calculator [data-dbr-section="condition"] .dbrpf-choice--condition-photo .dbrpf-choice__copy strong {
   font-size:11.5px!important;line-height:1.32!important;
 }
 html body .dbrpf.hc-ref-calculator [data-dbr-section="condition"] .dbrpf-choice--condition-photo .dbrpf-choice__copy small {
   font-size:10.5px!important;line-height:1.4!important;
 }
}
