
/* V319: pop-ups scrollables pour les volets details/summary */
body.ba319-modal-open{overflow:hidden!important}
.ba319-overlay{position:fixed;inset:0;z-index:100050;display:flex;align-items:center;justify-content:center;padding:12px;background:rgba(0,0,0,.86)}
.ba319-dialog{width:min(700px,100%);max-height:calc(100dvh - 24px);display:flex;flex-direction:column;overflow:hidden;background:#101d2c;color:#f0f5f1;border:1px solid #385267;border-radius:22px;box-shadow:0 20px 70px #000a}
.ba319-head{flex-shrink:0;display:flex;align-items:center;gap:12px;padding:12px 16px;border-bottom:1px solid #385267}
.ba319-head strong{flex:1;text-align:center;font-size:clamp(16px,4vw,21px);line-height:1.3}
.ba319-x{flex:0 0 44px;width:44px;height:44px;min-height:44px;padding:0!important;border-radius:50%!important;background:#263d50!important;color:white!important;font-size:30px!important;line-height:1!important}
.ba319-scroll{overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;min-height:0;padding:14px}
.ba319-scroll>details{display:block!important;max-width:100%!important;margin:0!important;border:0!important;background:transparent!important;padding:0!important}
.ba319-scroll>details>summary{display:none!important}
.ba319-scroll>details>*{max-width:100%;box-sizing:border-box}
.ba319-scroll img,.ba319-scroll table{max-width:100%}
.ba319-scroll .row{flex-wrap:wrap}
@media(max-width:600px){.ba319-overlay{padding:8px}.ba319-dialog{max-height:calc(100dvh - 16px)}.ba319-scroll{padding:12px}}
