/* Ronde HSE : formulaire modal, identique sur PC et mobile. */
body.hse-modal-open{overflow:hidden}
.hse-modal-backdrop{position:fixed;inset:0;z-index:5000;background:rgba(0,34,58,.65);display:flex;align-items:center;justify-content:center;padding:20px}
.hse-modal-dialog{width:min(960px,100%);max-height:calc(100dvh - 40px);background:#fff;border-radius:16px;box-shadow:0 20px 70px #001e3566;display:flex;flex-direction:column;overflow:hidden;color:#003A6D}
.hse-modal-header,.hse-modal-footer{padding:16px 22px;display:flex;gap:14px;align-items:center;justify-content:space-between;background:#f4f9fc;flex-shrink:0}
.hse-modal-header{border-bottom:1px solid #d6e6ee}.hse-modal-header h2{margin:0;font-size:1.3rem}.hse-modal-footer{border-top:1px solid #d6e6ee}.hse-modal-footer small{max-width:56%;font-size:.78rem}
.hse-modal-body{padding:20px 24px;overflow-y:auto;overscroll-behavior:contain}.hse-modal-body form{margin:0}.hse-modal-body .atmos-form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.hse-modal-body label{display:flex;flex-direction:column;gap:7px;min-width:0}.hse-modal-body input,.hse-modal-body select,.hse-modal-body textarea{width:100%;min-width:0;box-sizing:border-box}.hse-modal-body .atmos-form-footer{display:block}.hse-modal-body .atmos-form-footer label{width:100%}
@media(max-width:800px){.hse-modal-body .atmos-form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.hse-modal-backdrop{padding:0}.hse-modal-dialog{width:100%;height:100dvh;max-height:100dvh;border-radius:0}.hse-modal-header,.hse-modal-footer{padding:12px 16px}.hse-modal-header h2{font-size:1.05rem}.hse-modal-body{padding:16px}.hse-modal-body .atmos-form-grid{grid-template-columns:minmax(0,1fr)}.hse-modal-footer{flex-direction:column;align-items:stretch}.hse-modal-footer small{max-width:none}.hse-modal-footer .btn{width:100%;min-height:48px}}
