/* Keep dialog controls reachable while preserving native form ownership. */
dialog .fa-modal-fixed-header{
 position:sticky!important;top:calc(-1 * var(--fa-modal-pad-top,0px))!important;z-index:30;display:flex;align-items:center;justify-content:space-between;gap:16px;
 background:#fff;padding:14px var(--fa-modal-pad-x,0px);margin:calc(-1 * var(--fa-modal-pad-top,0px)) calc(-1 * var(--fa-modal-pad-x,0px)) 16px;border-bottom:1px solid #d7e3ef;
 opacity:1!important;visibility:visible!important;transform:none!important;pointer-events:auto!important;
}
dialog .fa-modal-fixed-header h2{margin:0}
dialog .fa-modal-fixed-footer{
 position:sticky!important;bottom:calc(-1 * var(--fa-modal-pad-bottom,0px))!important;z-index:25;display:flex;gap:10px;flex-wrap:wrap;align-items:center;
 background:#fff;padding:12px var(--fa-modal-pad-x,0px);margin:16px calc(-1 * var(--fa-modal-pad-x,0px)) calc(-1 * var(--fa-modal-pad-bottom,0px));border-top:1px solid #d7e3ef;box-shadow:0 -5px 12px #203e5c08;
}
dialog .fa-modal-fixed-header button,dialog .fa-modal-fixed-footer button{flex-shrink:0}
dialog.fa-doc-dialog{background:#fff;scroll-padding-top:90px;scroll-padding-bottom:75px}
@media(max-width:600px){dialog .fa-modal-fixed-header{gap:8px}dialog .fa-modal-fixed-header h2{font-size:17px}dialog .fa-modal-fixed-footer{gap:8px}}
