/* Simulateur immobilier LP — présentation épurée à trois colonnes */
.lp-estimation{padding:clamp(20px,3vw,38px)}
.lp-estimation .lp-est-layout{display:grid;grid-template-columns:minmax(0,1.85fr) minmax(280px,1fr);gap:clamp(20px,2.5vw,32px);align-items:start;margin:25px 0 18px}
.lp-estimation .lp-est-entry{min-width:0}
.lp-estimation .lp-est-form{display:grid;gap:0}
.lp-estimation .lp-est-row{display:grid;grid-template-columns:minmax(138px,.72fr) minmax(0,1fr);align-items:start;gap:16px;border-bottom:1px solid #e6ebec;padding:12px 0}
.lp-estimation .lp-est-row:first-child{padding-top:2px}
.lp-estimation .lp-est-row:last-child{border-bottom:0}
.lp-estimation .lp-est-row>label{font-weight:650;color:#062739;padding-top:12px;line-height:1.35}
.lp-estimation .lp-est-control{min-width:0;position:relative}
.lp-estimation .lp-est-control input,.lp-estimation .lp-est-control select{display:block;width:100%;min-width:0;border:1px solid #bac8cc;border-radius:8px;background:white;padding:11px 12px;color:#062739;font:inherit;line-height:1.35;min-height:45px}
.lp-estimation .lp-est-control input[readonly]{background:#f4f6f6;color:#34505a}
.lp-estimation .lp-est-control input:focus,.lp-estimation .lp-est-control select:focus{outline:2px solid #c6b560;outline-offset:1px}
.lp-estimation .lp-est-control small{display:block;margin-top:6px;font-size:.82rem;color:#536871;line-height:1.45}
.lp-estimation .lp-est-address-suggestions:not([hidden]){position:absolute;top:100%;left:0;right:0;z-index:60;margin-top:3px}
.lp-estimation .lp-est-summary{border:1px solid #d9e1e4;border-top:4px solid #c6b560;background:#fafbf9;border-radius:12px;padding:clamp(17px,2vw,25px);min-width:0}
.lp-estimation .lp-est-summary h3{margin:0 0 16px;color:#062739;font-size:1.28rem}
.lp-estimation .lp-est-summary .lp-est-summary-kicker{margin:0 0 5px;color:#6a683f;font-size:.72rem;font-weight:700;letter-spacing:.09em;text-transform:uppercase}
.lp-estimation .lp-est-summary-value{padding:12px 0;border-top:1px solid #e1e5e5}
.lp-estimation .lp-est-summary-value>label{display:block;color:#435d67;font-size:.88rem;font-weight:600;margin-bottom:6px}
.lp-estimation .lp-est-value-input{display:flex;align-items:baseline;gap:6px}
.lp-estimation .lp-est-value-input input{min-width:0;max-width:160px;width:100%;padding:0;border:0;background:transparent;color:#062739;font-size:1.35rem;font-weight:750;line-height:1.3;appearance:textfield;-moz-appearance:textfield}
.lp-estimation .lp-est-value-input input::-webkit-outer-spin-button,.lp-estimation .lp-est-value-input input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
.lp-estimation .lp-est-value-input span{color:#4d626b;white-space:nowrap;font-size:.9rem}
.lp-estimation .lp-est-summary small{display:block;font-size:.78rem;line-height:1.5;color:#536871;overflow-wrap:anywhere;margin-top:7px}
.lp-estimation .lp-est-summary .lp-est-result{margin:16px 0 0;padding:16px;background:#fff;border:1px solid #dfdfce;border-left:4px solid #c6b560;border-radius:8px;font-weight:600;line-height:1.5}
.lp-estimation .lp-est-summary .lp-est-result strong{display:block;font-size:clamp(1.25rem,2vw,1.5rem);color:#062739;margin-top:4px;overflow-wrap:anywhere}
.lp-estimation .lp-est-summary .lp-est-result p{font-size:.77rem;line-height:1.55;color:#425964}
.lp-estimation .lp-est-summary .lp-est-empty{font-size:.86rem;color:#4f6169;margin:15px 0 0;padding:12px;background:#f0f3f1;border-radius:7px;line-height:1.5}
.lp-estimation .lp-est-summary:has(#lp-est-result[style]:not([style*="none"])) .lp-est-empty{display:none}
.lp-estimation .lp-est-layout .lp-est-cadastre{grid-template-columns:minmax(0,1fr) minmax(140px,220px);gap:12px;margin:18px 0 0;padding:14px}
.lp-estimation .lp-est-layout .lp-est-cadastre h3{font-size:1.05rem}
.lp-estimation .lp-est-layout .lp-est-cadastre p{font-size:.82rem}
.lp-estimation .lp-est-layout .lp-est-parcelle-map{aspect-ratio:420/260}
.lp-estimation .lp-est-help{font-weight:400;line-height:1.6}
@media(max-width:980px){.lp-estimation .lp-est-layout{grid-template-columns:minmax(0,1fr)}.lp-estimation .lp-est-summary{max-width:none}.lp-estimation .lp-est-row{grid-template-columns:minmax(175px,.62fr) minmax(0,1fr)}}
@media(max-width:620px){.lp-estimation .lp-est-row{grid-template-columns:1fr;gap:6px;padding:10px 0}.lp-estimation .lp-est-row>label{padding-top:0}.lp-estimation .lp-est-layout .lp-est-cadastre{grid-template-columns:1fr}.lp-estimation .lp-est-layout .lp-est-parcelle-map{min-height:190px}}
/* Suggestions d'adresses intégrées au champ de saisie */
.lp-estimation .lp-est-address-field {position:relative;min-width:0}
.lp-estimation .lp-est-address-field .lp-est-address-suggestions:not([hidden]) {position:absolute;top:calc(100% + 2px);left:0;right:0;z-index:100;display:grid;margin:0;max-height:260px;overflow-y:auto;box-shadow:0 12px 24px rgba(6,39,57,.17);background:#fff;border:1px solid #bccacd;border-radius:0 0 10px 10px}
.lp-estimation .lp-est-address-field:has(.lp-est-address-suggestions:not([hidden])) #lp-est-adresse {border-radius:8px 8px 0 0}
.lp-estimation .lp-est-address-field .lp-est-address-suggestions button {font-size:.91rem;white-space:normal;line-height:1.4}
.lp-estimation .lp-est-address-field .lp-est-address-suggestions button + button {border-top:1px solid #edf0f1}

/* Un seul champ d'adresse visible : le sélecteur technique ne doit jamais apparaître */
.lp-estimation #lp-est-address-choice, .lp-estimation #lp-est-address-choice[hidden] {display:none!important}
.lp-estimation #lp-est-address-status:empty {display:none!important}

/* Présentation aérée des montants d'estimation */
.lp-estimation .lp-est-summary{padding:clamp(22px,2.3vw,30px)}
.lp-estimation .lp-est-summary h3{margin:0 0 24px;font-size:1.34rem}
.lp-estimation .lp-est-summary .lp-est-result{padding:0;margin:0;border:0;background:transparent;line-height:1.45}
.lp-estimation .lp-est-range-group{padding:19px 0 24px;border-bottom:1px solid #dce3e2}
.lp-estimation .lp-est-range-group:first-child{padding-top:5px}
.lp-estimation .lp-est-range-group:last-child{padding-bottom:2px;border-bottom:0}
.lp-estimation .lp-est-range-heading{font-weight:700;font-size:.98rem;color:#062739;margin-bottom:17px;line-height:1.35}
.lp-estimation .lp-est-bound{display:flex;justify-content:space-between;align-items:baseline;gap:12px;padding:11px 0;min-width:0}
.lp-estimation .lp-est-bound + .lp-est-bound{border-top:1px solid #ecf0f0}
.lp-estimation .lp-est-bound span{font-size:.83rem;color:#526a73;line-height:1.45;flex:0 0 auto}
.lp-estimation .lp-est-summary .lp-est-bound strong{display:block;margin:0;font-size:clamp(1.1rem,1.8vw,1.44rem);line-height:1.3;letter-spacing:.005em;color:#062739;font-weight:750;text-align:right;white-space:nowrap}
.lp-estimation .lp-est-range-total .lp-est-bound{padding:14px 0}
.lp-estimation .lp-est-range-total .lp-est-bound strong{font-size:clamp(1.22rem,2vw,1.65rem)}
@media(max-width:430px){.lp-estimation .lp-est-bound{align-items:flex-start;flex-wrap:wrap;gap:2px 10px}.lp-estimation .lp-est-bound span{flex-basis:100%}.lp-estimation .lp-est-summary .lp-est-bound strong{text-align:left}}

/* Proposition de parcelles proches quand la géolocalisation est ambiguë */
.lp-estimation .lp-est-parcel-choices[hidden]{display:none!important}
.lp-estimation .lp-est-parcel-choices{display:grid;gap:8px;margin:12px 0}
.lp-estimation .lp-est-parcel-option{font:inherit;font-size:.83rem;line-height:1.4;cursor:pointer;text-align:left;padding:9px 11px;border-radius:7px;border:1px solid #cbd5d6;background:#fff;color:#062739}
.lp-estimation .lp-est-parcel-option:hover,.lp-estimation .lp-est-parcel-option:focus-visible,.lp-estimation .lp-est-parcel-option[aria-pressed="true"]{background:#f6f2dd;border-color:#c6b560;outline-offset:0}

/* LP aerial imagery fallback WMS-WMTS */
.lp-estimation .lp-est-layout .lp-est-cadastre{grid-template-columns:minmax(0,1fr);gap:14px}
.lp-estimation .lp-est-layout .lp-est-parcelle-map{width:100%;max-width:100%;aspect-ratio:420/260;min-height:235px}
.lp-estimation .lp-est-aerial-tiles[hidden]{display:none!important}
.lp-estimation .lp-est-aerial-tiles{position:absolute;inset:0;z-index:0;overflow:hidden;background:#dfe7e8}
.lp-estimation .lp-est-parcelle-map .lp-est-aerial-tiles img{position:absolute;inset:auto;max-width:none;object-fit:cover}
.lp-estimation .lp-est-parcelle-map > img{z-index:1}
.lp-estimation .lp-est-parcelle-map > svg{z-index:2}
.lp-estimation .lp-est-parcelle-map > .lp-est-map-attribution{z-index:3}
@media(max-width:650px){.lp-estimation .lp-est-layout .lp-est-parcelle-map{min-height:210px}}

/* LP Estimation - placeholder et alignement vertical */
.lp-estimation .lp-est-summary{display:flex;flex-direction:column;align-items:stretch;justify-content:center;min-height:230px}
.lp-estimation .lp-est-summary:has(#lp-est-result[style*="none"]){text-align:center}
.lp-estimation .lp-est-summary:has(#lp-est-result[style*="none"]) h3{margin:0 0 14px}
.lp-estimation .lp-est-placeholder{max-width:27ch;margin:0 auto;color:#526a73;font-size:.95rem;line-height:1.6;font-weight:400}
.lp-estimation #lp-est-result:not([style*="none"]) + .lp-est-placeholder{display:none}
.lp-estimation .lp-est-summary:has(#lp-est-result:not([style*="none"])){text-align:left;justify-content:flex-start}
