.santelli-estimation{font:inherit;color:#222;border:1px solid #e2e5e9;border-radius:16px;max-width:760px;margin:24px auto;padding:clamp(18px,4vw,34px);background:#fff;box-shadow:0 8px 28px rgba(15,23,42,.05)}
.santelli-estimation *{box-sizing:border-box}
.santelli-estimation .se-entete h2{font-size:clamp(23px,3vw,31px);line-height:1.2;margin:4px 0 8px;color:#17263a}
.santelli-estimation .se-entete p{margin:0;color:#516070}
.santelli-estimation .se-surtitre{font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#3a638a!important;margin-bottom:8px!important}
.santelli-estimation .se-progression{margin:24px 0 28px}
.santelli-estimation .se-progression-libelle{display:block;font-size:13px;color:#526176;margin-bottom:8px}
.santelli-estimation .se-barre{display:block;width:100%;height:7px;border-radius:999px;overflow:hidden;background:#e9eef3}
.santelli-estimation .se-barre-active{display:block;height:100%;background:#235b86;border-radius:999px;transition:width .2s ease}
.santelli-estimation fieldset{border:0!important;padding:0!important;margin:0!important;min-width:0}
.santelli-estimation legend{font-size:19px!important;font-weight:700!important;margin-bottom:18px!important;color:#17263a}
.santelli-estimation .se-grille{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.santelli-estimation .se-champ{display:flex;flex-direction:column;gap:7px;font-size:14px;font-weight:600;color:#283749}
.santelli-estimation .se-plein{grid-column:1/-1}
.santelli-estimation input,.santelli-estimation select{appearance:auto;width:100%;height:46px;padding:9px 12px;font:inherit;font-size:16px;border:1px solid #bac7d1;background:#fff;color:#202832;border-radius:9px;box-shadow:none}
.santelli-estimation input:focus-visible,.santelli-estimation select:focus-visible,.santelli-estimation button:focus-visible{outline:3px solid #8bc4ee;outline-offset:2px}
.santelli-estimation .se-navigation{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:26px;flex-wrap:wrap}
.santelli-estimation .se-droite{justify-content:flex-end}
.santelli-estimation button.se-bouton,.santelli-estimation button.se-bouton-secondaire{min-height:44px;cursor:pointer;padding:10px 17px;font:inherit;font-size:15px;font-weight:700;border-radius:9px;line-height:1.2}
.santelli-estimation button.se-bouton{background:#235b86;color:#fff;border:1px solid #235b86}
.santelli-estimation button.se-bouton:hover{background:#174365}
.santelli-estimation button.se-bouton-secondaire{background:#fff;color:#29455c;border:1px solid #aebecb}
.santelli-estimation button.se-bouton-secondaire:hover{background:#f2f6fa}
.santelli-estimation [hidden]{display:none!important}
.santelli-estimation .se-recapitulatif{background:#f4f7f9;border:1px solid #e1e7ec;padding:16px;border-radius:12px;margin-top:20px}
.santelli-estimation .se-recapitulatif h3{font-size:16px;font-weight:700;margin:0 0 12px;color:#17263a}
.santelli-estimation .se-recap-lignes{display:grid;grid-template-columns:minmax(105px,1fr) 2fr;gap:8px 14px;margin:0;font-size:14px}
.santelli-estimation .se-recap-lignes dt{font-weight:600;color:#526176;margin:0}
.santelli-estimation .se-recap-lignes dd{margin:0;color:#182536;overflow-wrap:anywhere}
.santelli-estimation .se-avertissement{font-size:13px;line-height:1.5;color:#526176;margin:17px 0 0}
@media(max-width:520px){.santelli-estimation .se-grille{grid-template-columns:1fr}.santelli-estimation .se-recap-lignes{grid-template-columns:1fr}.santelli-estimation .se-recap-lignes dd{margin-bottom:6px}}
/* Adresse prédictive : résultats officiels IGN / Base Adresse Nationale */
.santelli-estimation .se-autocomplete{position:relative}
.santelli-estimation .se-suggestions{position:absolute;z-index:20;left:0;right:0;top:calc(100% + 3px);margin:0;padding:5px;list-style:none;background:#fff;border:1px solid #a9bdce;border-radius:10px;box-shadow:0 12px 24px rgba(18,39,62,.15);max-height:250px;overflow-y:auto}
.santelli-estimation .se-suggestions li{padding:10px 12px;cursor:pointer;border-radius:7px;color:#203448;font-size:14px;font-weight:400;line-height:1.35}
.santelli-estimation .se-suggestions li:hover,.santelli-estimation .se-suggestions li.se-active{background:#eaf2f9;color:#173f5e}
.santelli-estimation .se-indication-adresse{font-size:13px;font-weight:400;line-height:1.5;color:#53697e}
.santelli-estimation .se-confidentialite-adresse{font-size:12px;font-weight:400;line-height:1.5;color:#697687}

/* Version 0.4 – simulations et transparence du calcul */
.santelli-estimation .se-hypotheses{margin-top:24px;padding:16px;border:1px solid #d9e5ec;background:#f8fbfd;border-radius:12px}
.santelli-estimation .se-hypotheses h3{margin:0 0 8px;font-size:17px;color:#18354c}
.santelli-estimation .se-hypotheses>p{margin:0 0 14px;font-size:14px;line-height:1.55;color:#4c6071}
.santelli-estimation .se-hypotheses>.se-champ{max-width:330px}
.santelli-estimation .se-parametres{margin-top:16px;border-top:1px solid #dae4eb;padding-top:12px}
.santelli-estimation .se-parametres>summary{cursor:pointer;font-weight:700;font-size:14px;color:#235b86}
.santelli-estimation .se-parametres .se-grille{margin-top:18px}
.santelli-estimation .se-parametres .se-champ{font-size:13px}
.santelli-estimation .se-resultat{border:2px solid #b2d0e2;border-radius:12px;padding:18px;margin-top:18px;background:#f6fbfe}
.santelli-estimation .se-resultat h3{font-size:18px;margin:0 0 12px;color:#172f47}
.santelli-estimation .se-resultat h4{font-size:15px;margin:18px 0 10px}
.santelli-estimation .se-montant{font-size:clamp(20px,3.5vw,30px);font-weight:800;color:#194f74;margin:0}
.santelli-estimation .se-intervalle-info{color:#536678;font-size:13px;line-height:1.5;margin:10px 0 16px}
.santelli-estimation .se-calcul-lignes{display:grid;grid-template-columns: minmax(0,1fr) auto;gap:10px 15px;font-size:14px;margin:0}
.santelli-estimation .se-calcul-lignes dt{color:#324c61;margin:0}
.santelli-estimation .se-calcul-lignes dd{text-align:right;font-weight:650;color:#1d3347;margin:0;font-variant-numeric:tabular-nums}
.santelli-estimation .se-calcul-lignes .se-total{border-top:1px solid #c7d9e4;padding-top:12px;font-weight:800}
.santelli-estimation .se-note-calcul{margin:18px 0 0;font-size:13px;line-height:1.5;color:#5d6470}
@media(max-width:520px){.santelli-estimation .se-calcul-lignes{grid-template-columns:1fr}.santelli-estimation .se-calcul-lignes dd{text-align:left;margin-top:-8px}}

/* Version 0.5 : transparence des comparables de démonstration */
.santelli-estimation .se-comparables{margin-top:22px;border-top:1px solid #cfdee8;padding-top:15px}
.santelli-estimation .se-comparables>summary{color:#174b73;cursor:pointer;font-weight:750;font-size:15px}
.santelli-estimation .se-comparables-intro,.santelli-estimation .se-comparables-etat,.santelli-estimation .se-comparables-rapport p{font-size:13px;line-height:1.55;color:#475569}
.santelli-estimation .se-analyser{margin-top:10px}
.santelli-estimation .se-analyser:disabled{opacity:.65;cursor:wait}
.santelli-estimation .se-comparables-rapport h4{font-size:15px;margin:22px 0 9px;color:#18354c}
.santelli-estimation .se-comparables-rapport .se-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin:12px 0}
.santelli-estimation .se-comparables-rapport .se-stat{padding:10px 12px;background:#f0f5f9;border:1px solid #d5e2ed;border-radius:9px}
.santelli-estimation .se-comparables-rapport .se-stat strong{display:block;font-size:20px;color:#194f74}
.santelli-estimation .se-comparables-rapport .se-stat span{font-size:12px;color:#506071}
.santelli-estimation .se-comparables-rapport .se-detail-table{overflow-x:auto;-webkit-overflow-scrolling:touch}
.santelli-estimation .se-comparables-rapport table{border-collapse:collapse;width:100%;font-size:12px;min-width:620px}
.santelli-estimation .se-comparables-rapport th,.santelli-estimation .se-comparables-rapport td{text-align:left;padding:8px 7px;border-bottom:1px solid #dce5eb;vertical-align:top}
.santelli-estimation .se-comparables-rapport th{background:#eaf1f6;color:#21394d;font-weight:700}
.santelli-estimation .se-comparables-rapport .se-rejet{color:#7c3e26}
.santelli-estimation .se-comparables-rapport .se-valeur{font-weight:800;color:#1c5678;font-size:21px;margin:10px 0}
.santelli-estimation .se-comparables-rapport ol{font-size:13px;padding-left:22px;line-height:1.65;color:#31485b}
.santelli-estimation .se-comparables-rapport .se-source-attention{border-left:3px solid #c18b47;padding:6px 10px;background:#fff8ef}
@media(max-width:520px){.santelli-estimation .se-comparables-rapport .se-stats{grid-template-columns:1fr}}

/* Correctif v0.5.1 : contraste lisible même si le thème WordPress impose
   des couleurs claires sur les paragraphes, labels ou cellules de tableaux.
   Règles limitées au formulaire et au rapport de l'extension. */
.santelli-estimation{color-scheme:light}
.santelli-estimation .se-hypotheses,
.santelli-estimation .se-comparables,
.santelli-estimation .se-comparables-rapport,
.santelli-estimation .se-resultat{color:#243749!important}
.santelli-estimation .se-hypotheses h3,
.santelli-estimation .se-hypotheses p,
.santelli-estimation .se-hypotheses p strong,
.santelli-estimation .se-hypotheses .se-champ,
.santelli-estimation .se-hypotheses .se-champ label,
.santelli-estimation .se-hypotheses .se-avertissement,
.santelli-estimation .se-hypotheses .se-avertissement strong,
.santelli-estimation .se-parametres summary,
.santelli-estimation .se-resultat h3,
.santelli-estimation .se-resultat h4,
.santelli-estimation .se-comparables summary,
.santelli-estimation .se-comparables-intro,
.santelli-estimation .se-comparables-intro strong,
.santelli-estimation .se-comparables-etat,
.santelli-estimation .se-comparables-rapport h4,
.santelli-estimation .se-comparables-rapport p,
.santelli-estimation .se-comparables-rapport ol,
.santelli-estimation .se-comparables-rapport li,
.santelli-estimation .se-comparables-rapport .se-stat span{color:#243749!important}
.santelli-estimation .se-hypotheses{background-color:#f8fbfd!important}
.santelli-estimation .se-comparables-rapport .se-stat{background-color:#f0f5f9!important}
.santelli-estimation .se-comparables-rapport .se-stat strong,
.santelli-estimation .se-comparables-rapport .se-valeur{color:#194f74!important}
.santelli-estimation .se-comparables-rapport table,
.santelli-estimation .se-comparables-rapport tbody,
.santelli-estimation .se-comparables-rapport tr,
.santelli-estimation .se-comparables-rapport td{background-color:#fff!important;color:#243749!important}
.santelli-estimation .se-comparables-rapport th{background-color:#eaf1f6!important;color:#21394d!important}
.santelli-estimation .se-comparables-rapport td.se-rejet{color:#7c3e26!important}
.santelli-estimation .se-comparables-rapport .se-source-attention{background-color:#fff8ef!important;color:#594022!important}
/* Form controls need dark text on a light field independently of theme rules. */
.santelli-estimation .se-hypotheses input,
.santelli-estimation .se-hypotheses select{background-color:#fff!important;color:#202832!important}


/* Correctif v0.5.2 : contraste de la dernière page de résultat.
   Les styles du thème WordPress ne doivent pas rendre invisibles
   le titre de la fourchette, le récapitulatif et le total. */
.santelli-estimation .se-resultat {
    background-color: #f6fbfe !important;
    color: #243749 !important;
}
.santelli-estimation .se-resultat h3,
.santelli-estimation .se-resultat h4,
.santelli-estimation .se-resultat p,
.santelli-estimation .se-resultat p strong,
.santelli-estimation .se-resultat .se-calcul-lignes,
.santelli-estimation .se-resultat .se-calcul-lignes dt,
.santelli-estimation .se-resultat .se-calcul-lignes dd,
.santelli-estimation .se-resultat .se-calcul-lignes .se-total {
    color: #243749 !important;
}
.santelli-estimation .se-resultat .se-montant {
    color: #194f74 !important;
}
.santelli-estimation .se-resultat .se-intervalle-info,
.santelli-estimation .se-resultat .se-note-calcul,
.santelli-estimation .se-resultat .se-note-calcul strong {
    color: #465d70 !important;
}

/* v0.5.3 : type de bien visible ; maisons réservées aux évolutions futures. */
.santelli-estimation .se-type-bloc{display:flex;flex-direction:column;gap:7px}
.santelli-estimation .se-type-bloc>label{font-size:14px;font-weight:600;color:#283749!important}
.santelli-estimation .se-type-info{font-size:12px;font-weight:400;line-height:1.5;color:#465d70!important}

/* v0.6.2 — tableau DVF simplifié : 6 colonnes, date sous l’adresse. */
.santelli-estimation .se-comparables-rapport .se-detail-table{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
.santelli-estimation .se-comparables-rapport .se-comparables-table{min-width:690px;width:100%;font-size:12px;table-layout:auto}
.santelli-estimation .se-comparables-rapport .se-comparables-table th,
.santelli-estimation .se-comparables-rapport .se-comparables-table td{padding:10px 8px;line-height:1.35;vertical-align:middle}
.santelli-estimation .se-comparables-rapport .se-comparables-table .se-col-adresse{min-width:165px;width:28%;white-space:normal}
.santelli-estimation .se-comparables-rapport .se-comparables-table .se-col-compact,
.santelli-estimation .se-comparables-rapport .se-comparables-table .se-col-montant{white-space:nowrap;font-variant-numeric:tabular-nums}
.santelli-estimation .se-comparables-rapport .se-comparables-table .se-vente-adresse{display:block;font-weight:650;line-height:1.35}
.santelli-estimation .se-comparables-rapport .se-comparables-table .se-vente-date{display:block;margin-top:4px;font-size:11px;font-weight:400;color:#617386}
.santelli-estimation .se-comparables-rapport .se-comparables-table .se-scoring-global{font-weight:750;color:#1b597d!important}

/* v0.6.3 : prix de référence DVF non modifiable, lecture immédiate du résultat. */
.santelli-estimation .se-prix-dvf-bloc{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap;padding:12px 14px;border:1px solid #c3d7e5;border-radius:8px;background:#fff;margin:12px 0 16px;color:#18354c}
.santelli-estimation .se-prix-dvf-auto{font-weight:650;color:#1c5574}
.santelli-estimation .se-comparables-etat{margin:18px 0 8px;padding:10px 12px;background:#f3f8fc;border-left:3px solid #9bbbcf;border-radius:4px}
