/* Ali Gator v160 — page d'un lot : tuiles rangées pour aller plus vite.
   · « Ajouter vos PDF » devient une bande compacte (icône à gauche), « Google Drive » et « Importer un dossier »
     à sa droite, à la même hauteur ;
   · « Vos références » prend toute la largeur : titre et explication sur une ligne, bouton et limites sur la
     suivante, pièces jointes en tuiles côte à côte (un tableau ouvert prend toute la largeur) ;
   · « Mode intelligent » plus compact. Sur téléphone, tout reste sur une colonne. */
@media (min-width:901px){
  html:root body:not(#lx) section.batch-page .batch-intake:not(#tl-x){grid-template-columns:minmax(0,1.55fr) minmax(0,1fr)!important;grid-auto-rows:auto!important;align-items:stretch!important;gap:16px 18px!important;margin:26px 0 22px!important}
  html:root body:not(#lx) section.batch-page .batch-intake>.batch-upload:not(#tl-x){grid-column:1!important;grid-row:1!important;min-height:132px!important;height:auto!important;padding:18px 28px!important;display:grid!important;grid-template-columns:auto minmax(0,max-content);grid-template-rows:auto auto;align-content:center;justify-content:center;column-gap:22px;row-gap:6px;text-align:left!important}
  html:root body:not(#lx) section.batch-page .batch-intake>.batch-upload:not(#tl-x)>svg{grid-row:1/3;grid-column:1;align-self:center;margin:0!important}
  html:root body:not(#lx) section.batch-page .batch-intake>.batch-upload:not(#tl-x)>strong{grid-column:2;grid-row:1;align-self:end;font-size:32px!important;margin:0!important}
  html:root body:not(#lx) section.batch-page .batch-intake>.batch-upload:not(#tl-x)>span{grid-column:2;grid-row:2;align-self:start;max-width:46ch!important;margin:0!important;text-align:left!important}
  html:root body:not(#lx) section.batch-page .batch-intake>.google-drive-control:not(#tl-x){grid-column:2!important;grid-row:1!important;display:flex!important;flex-direction:column;justify-content:center;gap:12px;margin:0!important}
  html:root body:not(#lx) section.batch-page .batch-intake>.google-drive-control:not(#tl-x)>.button{flex:1 1 0;margin:0!important}
  html:root body #root section.batch-page .batch-intake>.google-drive-control>.agf-folder:not(#tl-x):not(#agp-x){margin-top:0!important}
  html:root body:not(#lx) section.batch-page .batch-intake>.batch-attachments:not(#tl-x){grid-column:1/-1!important;grid-row:2!important;display:flex!important;flex-wrap:wrap;align-items:center;column-gap:18px;row-gap:0;padding:22px 26px 10px!important}
  html:root body:not(#lx) section.batch-page .batch-intake>.batch-attachments:not(#tl-x)::before,
  html:root body:not(#lx) section.batch-page .batch-intake>.batch-attachments:not(#tl-x)::after{content:'';flex:0 0 100%;height:0;order:3}
  html:root body:not(#lx) section.batch-page .batch-intake>.batch-attachments:not(#tl-x)::after{order:6}
  html:root body:not(#lx) section.batch-page .batch-intake>.batch-attachments:not(#tl-x)>h2{order:1;flex:0 0 auto;margin:0 0 12px!important}
  html:root body:not(#lx) section.batch-page .batch-intake>.batch-attachments:not(#tl-x)>p:not(.small):not([role=status]){order:2;flex:1 1 380px;margin:0 0 12px!important}
  html:root body:not(#lx) section.batch-page .batch-intake>.batch-attachments:not(#tl-x)>input{order:4}
  html:root body:not(#lx) section.batch-page .batch-intake>.batch-attachments:not(#tl-x)>.button{order:4;flex:0 0 auto;margin:0 0 12px!important}
  html:root body:not(#lx) section.batch-page .batch-intake>.batch-attachments:not(#tl-x)>p.small{order:5;flex:1 1 300px;margin:0 0 12px!important}
  html:root body:not(#lx) section.batch-page .batch-intake>.batch-attachments:not(#tl-x)>p[role=status]{order:5;flex:0 0 100%;margin:0 0 12px!important}
  html:root body:not(#lx) section.batch-page .batch-intake>.batch-attachments:not(#tl-x)>.batch-attachment{order:7;flex:1 1 300px;max-width:calc(50% - 9px);align-self:stretch;min-width:0;margin:0 0 12px!important;padding:14px 18px!important;border:1px solid rgba(12,40,24,.09)!important;border-radius:18px!important;background:rgba(255,255,255,.72)}
  html:root body:not(#lx) section.batch-page .batch-intake>.batch-attachments:not(#tl-x)>.batch-attachment:has(details){flex-basis:100%;max-width:none}
  html:root body:not(#lx) section.batch-page .batch-intake>.batch-attachments:not(#tl-x)>.batch-attachment .text-button{margin:6px 0 0!important}
  html:root body:not(#lx) section.batch-page .batch-intake>.batch-attachments:not(#tl-x)>.batch-attachment>a.text-button{margin-top:6px!important}
  html:root body:not(#lx) section.batch-page .batch-intake>.batch-attachments:not(#tl-x)>.batch-attachment details{margin:10px 0!important}
}
/* Mode intelligent : même carte, moins haute */
html:root body:not(#lx) section.batch-page>.batch-smart-mode:not(#tl-x){padding:16px 22px!important;gap:10px 20px!important;margin:0 0 18px!important}
html:root body:not(#lx) section.batch-page>.batch-smart-mode:not(#tl-x) .batch-smart-note{padding-top:10px!important;font-size:12.5px!important;line-height:1.5}
