/**
 * Copyright (c) 2026 DNA Genics, S.L. All rights reserved.
 * Anonymous product-selection guidance within the Heritage product landing system.
 */
.hpl-page .hps-section { padding-top: clamp(40px, 5vw, 72px); }
.hps-section [hidden] { display: none !important; }
.hps-workspace { display: grid; grid-template-columns: minmax(270px, .8fr) minmax(0, 1.2fr); border: 1px solid var(--hd-border, #ded5c6); border-radius: 12px; overflow: clip; background: #fff; }
.hps-questions, .hps-results-panel { min-width: 0; padding: clamp(22px, 3vw, 42px); }
.hps-questions { background: #efe6d6; }
.hps-section .hps-intro { color: #213a2f; font: 500 1.4rem/1.4 var(--hd-serif, Georgia, serif); margin: 0 0 26px; }
.hps-field { margin-bottom: 22px; }
.hps-field label { display: block; color: #213a2f; font-size: 15px; font-weight: 600; line-height: 1.5; margin-bottom: 8px; }
.hps-field select, .hps-field input { display: block; box-sizing: border-box; width: 100%; min-height: 48px; padding: 12px; border: 1px solid #9c9b8e; border-radius: 6px; background: #fff; background-image: none; color: #213a2f; font: inherit; font-size: 16px; line-height: 1.4; appearance: auto; }
.hps-field input[type="number"] { max-width: 150px; }
.hps-section :is(select, input, button, a):focus-visible, .hps-results-title:focus-visible { outline: 3px solid #213a2f; outline-offset: 4px; }
.hps-section .hps-field-help, .hps-section .hps-privacy, .hps-section .hps-input-note, .hps-section .hps-fallback { color: #4f584e; font-size: 14px; line-height: 1.75; }
.hps-field-help { margin: 10px 0 0; }
.hps-input-note { margin: -4px 0 22px; padding-left: 14px; border-left: 2px solid #a88944; }
.hps-input-note p { margin: 0 0 6px; }
.hps-input-note .hpl-text-link { min-height: 44px; align-items: center; }
.hps-form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; }
.hps-form-actions .hpl-button { min-height: 48px; padding: 12px 16px; font-size: 14px; }
.hps-reset { padding: 12px 8px; min-height: 44px; border: 0; background: transparent; color: #213a2f; text-decoration: underline; text-underline-offset: 5px; font: inherit; font-size: 14px; cursor: pointer; }
.hps-section .hps-privacy { margin: 18px 0 0; }
.hps-start-links { display: grid; justify-items: start; gap: 4px; margin-top: 24px; padding-top: 20px; border-top: 1px solid #c9bea9; }
.hps-start-links .hpl-text-link { min-height: 44px; align-items: center; font-size: 14px; }
.hps-results-panel { background: #faf8f4; }
.hps-placeholder { padding-block: 10px; max-width: 49ch; }
.hps-section .hps-placeholder h3 { font: 500 clamp(1.9rem, 3vw, 2.8rem)/1.15 var(--hd-serif, Georgia, serif); color: #213a2f; margin: 20px 0; }
.hps-section .hps-placeholder p, .hps-section .hps-comparison-note, .hps-section .hps-empty p { font-size: 14px; line-height: 1.85; color: #4f584e; }
.hps-status { color: #213a2f; font-size: 14px; line-height: 1.7; margin: 0 0 12px; }
.hps-status:empty { margin: 0; }
.hps-results-title { color: #213a2f; font: 500 1.9rem/1.25 var(--hd-serif, Georgia, serif); margin: 0 0 12px; scroll-margin-top: 100px; }
.hps-comparison-note { margin: 0 0 24px; }
.hps-candidates { display: grid; gap: 20px; }
.hps-candidate { min-width: 0; padding: clamp(18px, 2.2vw, 28px); border: 1px solid #d3ccbe; border-radius: 8px; background: #fff; overflow-wrap: anywhere; }
.hps-candidate[data-lowest="true"] { border-color: #213a2f; border-left-width: 4px; }
.hps-candidate-top { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-bottom: 16px; }
.hps-kind, .hps-lowest { color: #405444; font-size: 12px; font-weight: 600; line-height: 1.7; }
.hps-lowest { padding: 4px 8px; background: #e7ede5; border-radius: 4px; }
.hps-section .hps-candidate h4, .hps-section .hps-empty h4 { font: 500 1.7rem/1.2 var(--hd-serif, Georgia, serif); color: #213a2f; margin: 0 0 14px; }
.hps-section .hps-candidate p { color: #4f584e; font-size: 14px; line-height: 1.8; margin: 0 0 16px; }
.hps-fit strong { color: #213a2f; }
.hps-facts { display: grid; gap: 12px; margin: 20px 0; }
.hps-facts > div { display: grid; grid-template-columns: 75px minmax(0, 1fr); gap: 12px; }
.hps-facts dt { color: #213a2f; font-size: 13px; line-height: 1.8; font-weight: 600; }
.hps-facts dd { color: #4f584e; font-size: 14px; line-height: 1.75; margin: 0; }
.hps-section .hps-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 14px; margin-top: 24px; color: #213a2f; }
.hps-price > :first-child { font: 500 2rem/1.25 var(--hd-serif, Georgia, serif); }
.hps-price > :last-child { font-size: 12px; }
.hps-additions { border-top: 1px solid #ded5c6; padding-top: 18px; margin-top: 18px; }
.hps-additions summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 44px; color: #213a2f; font: 600 14px/1.6 var(--hd-sans, Arial, sans-serif); cursor: pointer; list-style: none; margin-bottom: 10px; }
.hps-additions summary::-webkit-details-marker { display: none; }
.hps-additions summary:focus-visible { outline: 3px solid #213a2f; outline-offset: 4px; }
.hps-section .hps-additions h5 { color: #213a2f; font: 600 14px/1.6 var(--hd-sans, Arial, sans-serif); margin: 14px 0 8px; }
.hps-additions ul { padding-left: 18px; margin: 0 0 20px; }
.hps-additions li { color: #4f584e; font-size: 14px; line-height: 1.8; margin-bottom: 6px; }
.hps-candidate-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 22px; }
.hps-candidate-actions .hpl-button { min-height: 44px; padding: 12px 16px; font-size: 14px; white-space: normal; text-align: center; }
.hps-candidate-actions .hpl-text-link { min-height: 44px; align-items: center; font-size: 14px; }
.hps-empty { padding-block: 20px; }
@media (max-width: 1023px) {
    .hps-workspace { grid-template-columns: minmax(0, 1fr); }
    .hps-questions { border-bottom: 1px solid #d3ccbe; }
}
@media (max-width: 479px) {
    .hps-questions, .hps-results-panel { padding: 20px 16px; }
    .hps-form-actions { display: grid; grid-template-columns: minmax(0, 1fr); justify-items: start; }
    .hps-form-actions .hpl-button { width: 100%; }
    .hps-facts > div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
    .hps-candidate-actions { align-items: stretch; flex-direction: column; }
    .hps-candidate-actions .hpl-button { width: 100%; box-sizing: border-box; }
}
