.demande-form {max-width:38rem;color:var(--encre);font-family:var(--texte)}
.demande-form fieldset {min-width:0;margin:0 0 1.2rem;padding:1rem;border:1px solid var(--trait);border-radius:.65rem}
.demande-form legend {padding:0 .4rem;font:700 1.2rem var(--titre)}
.demande-question + .demande-question {margin-top:1rem}
.demande-question label {display:block;font-weight:650;line-height:1.35}
.demande-question small {font-weight:400;color:var(--encre-2);white-space:nowrap}
.demande-question input:not([type=checkbox]),.demande-question select,.demande-question textarea {display:block;box-sizing:border-box;width:100%;min-width:0;min-height:46px;margin:.4rem 0 0;padding:.65rem .75rem;border:1px solid #a8977a;border-radius:.45rem;background:#fff;color:var(--encre);font:400 16px/1.3 var(--texte)}
.demande-question textarea {resize:vertical}
.demande-form .demande-accord {display:flex;align-items:flex-start;gap:.65rem;font-size:.96rem;font-weight:450;line-height:1.45}
.demande-accord input {flex:0 0 auto;width:1.15rem;height:1.15rem;margin:.1rem 0 0;accent-color:var(--cerise)}
.demande-loueur,.demande-prive,.demande-erreur {display:block;margin:.45rem 0 0;font-size:.875rem;line-height:1.3}
.demande-erreur {color:#96362b}
.demande-prive {color:var(--cerise);text-decoration:underline}
.demande-actions {display:flex;align-items:center;justify-content:space-between;gap:.5rem}
.demande-actions button,.demande-fermer {cursor:pointer;font:650 1rem/1.15 var(--texte);border-radius:.45rem;border:0}
.demande-actions button {min-height:44px;padding:.65rem 1.1rem;background:var(--cerise);color:#fff}
.demande-actions [data-apres],.demande-actions [data-valider] {margin-left:auto}
.demande-actions [data-avant] {color:var(--cerise);background:#f3ead8}
.demande-actions button:hover {filter:brightness(.94)}
.demande-form [hidden],.demande-modal [hidden] {display:none!important}
html.demande-ouvert,html.demande-ouvert body {overflow:hidden;overscroll-behavior:none}
.demande-modal {position:fixed;inset:auto;top:var(--demande-centre,50%);left:50%;transform:translate(-50%,-50%);box-sizing:border-box;width:min(32rem,calc(100% - 1.5rem));max-width:none;max-height:calc(var(--demande-hauteur,100dvh) - 12px);margin:0;padding:clamp(1rem,4vw,2rem);overflow:auto;overscroll-behavior:contain;color:var(--encre);background:#FFFDF7;border:1px solid var(--trait);border-radius:1rem;box-shadow:0 24px 100px #17130f59;font-family:var(--texte)}
.demande-modal::backdrop {background:rgb(23 19 15 / .7)}
.demande-modal .demande-entete {display:flex;align-items:flex-start;justify-content:space-between;gap:.65rem}
.demande-entete h2 {font:750 clamp(1.35rem,5vw,1.85rem)/1.12 var(--titre);margin:.28rem 0 0;color:var(--encre)}
.demande-entete h2:focus {outline:none}
.demande-etape {margin:0;font-size:.85rem;font-weight:600;line-height:1.2;color:var(--cerise)}
.demande-fermer {flex:none;width:42px;height:42px;color:var(--encre);background:#f3ead8;font-size:1.6rem}
.demande-jauge {height:4px;background:#eadbc0;border-radius:4px;overflow:hidden;margin:1.1rem 0 1.35rem}
.demande-jauge i {display:block;height:100%;background:var(--cerise)}
.demande-modal .demande-form {margin:0;width:100%}
.demande-modal fieldset {margin:0;padding:0;border:0}
.demande-modal .demande-sans-js,.demande-modal legend {display:none}
.demande-modal .demande-actions {margin-top:1.5rem}
.demande-modal textarea {resize:none}
.demande-modal :focus-visible:not(h2) {outline:3px solid var(--cerise);outline-offset:2px}
.demande-court {padding:9px 14px}
.demande-court .demande-entete h2 {font-size:1.12rem;margin:.1rem 0 0}
.demande-court .demande-etape {font-size:.75rem}
.demande-court .demande-fermer {width:36px;height:36px}
.demande-court .demande-jauge {margin:.35rem 0 .45rem;height:3px}
.demande-court .demande-actions {margin-top:.55rem}
.demande-court .demande-actions button {min-height:36px;padding:.4rem .7rem}
.demande-court .demande-question + .demande-question {margin-top:0}
.demande-court .demande-question input:not([type=checkbox]),.demande-court .demande-question select,.demande-court .demande-question textarea {min-height:36px;margin-top:.2rem;padding:.35rem .5rem}
.demande-court .demande-question textarea {height:48px}
.demande-court .demande-accord {font-size:.875rem;line-height:1.25}

@media (max-width: 360px) {
  .demande-court {width:calc(100% - 12px);padding:6px 10px}
  .demande-court .demande-loueur {margin-top:.25rem;font-size:.81rem;line-height:1.2}
}