/* Finitions 2F.9.82.2 — affecte uniquement les fenêtres et formulaires. */
.cea-body .cea-delete-person { display:inline-flex; gap:8px; align-items:center; justify-content:center; border:1px solid #f2b8bd; background:#fff3f3; color:#a92835; padding:9px 14px; border-radius:12px; font-weight:700; cursor:pointer }
.cea-body .cea-delete-person:hover{ background:#fee6e8 }
.cea-body .cea-delete-person:focus-visible{ outline:3px solid #d93d4a; outline-offset:2px }
.cea-body .cea-newexpense-docs label{ margin:8px 0 3px }
.cea-body .cea-newexpense-docs{ margin:10px 0 }
/* Resserrement de la fenêtre d'édition sans supprimer ses contrôles. */
@media (min-width:760px) and (min-height:600px){
 .cea-body dialog.cea-modal:has(> .cea-person-overview) { max-height: min(95dvh, 900px); }
 .cea-body dialog.cea-modal:has(> .cea-person-overview) > .cea-modalhead{ padding:12px 18px!important; min-height:64px!important; margin-bottom:4px!important }
 .cea-body dialog.cea-modal:has(> .cea-person-overview) > .cea-person-overview{ margin:3px 15px 7px!important }
 .cea-body dialog.cea-modal:has(> .cea-person-overview) .cea-person-stat{padding:8px!important}
 .cea-body dialog.cea-modal .cea-edit-person-button { margin-top:6px!important;margin-bottom:6px!important;padding-top:9px;padding-bottom:9px }
 .cea-body dialog.cea-modal .cea-modernedit[open]{padding-top:5px;margin-top:2px}
 .cea-body dialog.cea-modal .cea-modernedit label{margin:5px 0!important}
 .cea-body dialog.cea-modal .cea-modernedit input:not([type=color]){padding:8px!important;min-height:38px!important}
 .cea-body dialog.cea-modal .cea-modernedit input[type=color]{min-height:33px!important;padding:3px!important}
 .cea-body .cea-choice-palette{margin:7px 0 10px!important;gap:7px}
 .cea-body .cea-choice-palette button.cea-color-option {width:32px!important;height:32px!important;min-width:32px!important}
}
/* Le fond de page est immobilisé uniquement pendant une vraie fenêtre modale. */
html.cea-modal-locked,html.cea-modal-locked body{overflow:hidden!important;overscroll-behavior:none!important}
html.cea-modal-locked body{position:fixed!important;left:0;right:0;width:100%!important;top:var(--cea-lock-offset,0px)!important}
.cea-body dialog.cea-modal[open]{overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
