/* Phase 224 — compacité sans masquer les données */
:root{--p224-gap:7px}html{scroll-padding-top:60px}body{line-height:1.3!important}
main,#main-content,.rg{margin-top:4px!important;margin-bottom:5px!important}
h1{font-size:clamp(18px,2vw,23px)!important;margin-bottom:5px!important}h2{font-size:15px!important;margin-bottom:6px!important}
.card,.panel,.pad,fieldset{padding:9px 11px!important;margin-bottom:7px!important}
form,.row,.fg,.grid,.admin216-toolbar{gap:7px!important}
input:not([type=checkbox]):not([type=radio]),select,textarea{min-height:32px!important;padding:5px 8px!important;font-size:12.5px!important}
button,.btn,.action{min-height:32px!important;padding:6px 9px!important;font-size:12px!important}
label{font-size:11.5px!important;margin:2px 0!important}
.tw,.scroll,.table-wrap{max-height:min(53dvh,590px);overflow:auto}
footer,.fret-footer{padding-top:7px!important;padding-bottom:7px!important}
@media(min-width:1050px){.row,.fg{grid-template-columns:repeat(3,minmax(0,1fr))!important}.admin216-toolbar{display:flex!important;align-items:end;flex-wrap:wrap}.admin216-toolbar label{min-width:175px}}
@media(max-width:700px){.row,.fg{grid-template-columns:repeat(2,minmax(0,1fr))!important}.card,.panel{padding:8px!important}.tw,.scroll{max-height:60dvh}}
@media(max-width:420px){.row,.fg{grid-template-columns:1fr!important}}
/* L'interface s'adapte à la hauteur disponible, sans cacher de lignes ou de boutons. */
@media(min-height:650px) and (min-width:850px){.cx-body{gap:7px!important;padding:10px 14px!important}.cx-panel{max-width:430px!important}.cx-ph{padding:8px 13px!important}}
