/* V241.243 — Compacité finale du dépôt gratuit : zone Photos + Rodyn flottant. */

/* Photos : une zone utile et courte quand aucune image n'est encore sélectionnée. */
.ofqd-depot-premium-v272 .ofqd-photo-row-v241243{
  display:grid!important;
  grid-template-columns:minmax(330px,430px) minmax(0,1fr)!important;
  gap:14px!important;
  align-items:stretch!important;
}
.ofqd-depot-premium-v272 .ofqd-photo-choice-v241243{min-width:0!important}
.ofqd-depot-premium-v272 .ofqd-photo-uploader-v62 .ofqd-photo-drop-v61{
  min-height:104px!important;
  height:104px!important;
  box-sizing:border-box!important;
  padding:12px 15px!important;
  display:grid!important;
  grid-template-columns:48px minmax(0,1fr)!important;
  grid-template-rows:auto auto auto!important;
  column-gap:12px!important;
  row-gap:2px!important;
  align-content:center!important;
  justify-items:start!important;
  text-align:left!important;
}
.ofqd-depot-premium-v272 .ofqd-photo-uploader-v62 .ofqd-photo-icon-v61{
  grid-column:1!important;
  grid-row:1 / 4!important;
  align-self:center!important;
  justify-self:center!important;
  width:44px!important;
  height:44px!important;
  margin:0!important;
}
.ofqd-depot-premium-v272 .ofqd-photo-uploader-v62 .ofqd-photo-drop-v61 strong,
.ofqd-depot-premium-v272 .ofqd-photo-uploader-v62 .ofqd-photo-drop-v61 > span:not(.ofqd-photo-icon-v61),
.ofqd-depot-premium-v272 .ofqd-photo-uploader-v62 .ofqd-photo-drop-v61 em{
  grid-column:2!important;
  margin:0!important;
}
.ofqd-depot-premium-v272 .ofqd-photo-uploader-v62 .ofqd-photo-drop-v61 strong{font-size:.96rem!important;line-height:1.15!important}
.ofqd-depot-premium-v272 .ofqd-photo-uploader-v62 .ofqd-photo-drop-v61 > span:not(.ofqd-photo-icon-v61){font-size:.82rem!important;line-height:1.2!important}
.ofqd-depot-premium-v272 .ofqd-photo-uploader-v62 .ofqd-photo-drop-v61 em{font-size:.72rem!important;line-height:1.2!important}

.ofqd-depot-premium-v272 .ofqd-photo-row-v241243 .ofqd-photo-message-v61{
  min-height:104px!important;
  margin:0!important;
  padding:13px 15px!important;
  box-sizing:border-box!important;
  display:flex!important;
  align-items:center!important;
  gap:7px!important;
  line-height:1.35!important;
}
.ofqd-depot-premium-v272 .ofqd-photo-preview-grid-v61:not([hidden]){margin-top:12px!important}

/* Sur ce formulaire long, Rodyn reste disponible sans masquer les contrôles du bas. */
body:has(.ofqd-depot-premium-v272) .rodyn-launcher{
  width:58px!important;
  min-width:58px!important;
  height:58px!important;
  min-height:58px!important;
  padding:4px!important;
  border-radius:50%!important;
  overflow:hidden!important;
}
body:has(.ofqd-depot-premium-v272) .rodyn-launcher-avatar{
  width:48px!important;
  height:48px!important;
  min-width:48px!important;
  margin:0!important;
}
body:has(.ofqd-depot-premium-v272) .rodyn-launcher-text,
body:has(.ofqd-depot-premium-v272) .rodyn-launcher-arrow{display:none!important}

@media(max-width:760px){
  .ofqd-depot-premium-v272 .ofqd-photo-row-v241243{grid-template-columns:1fr!important;gap:8px!important}
  .ofqd-depot-premium-v272 .ofqd-photo-uploader-v62 .ofqd-photo-drop-v61{
    min-height:108px!important;
    height:auto!important;
    grid-template-columns:42px minmax(0,1fr)!important;
    padding:12px!important;
  }
  .ofqd-depot-premium-v272 .ofqd-photo-uploader-v62 .ofqd-photo-icon-v61{width:40px!important;height:40px!important}
  .ofqd-depot-premium-v272 .ofqd-photo-row-v241243 .ofqd-photo-message-v61{min-height:0!important;padding:9px 11px!important}
  body:has(.ofqd-depot-premium-v272) .rodyn-launcher{
    width:52px!important;min-width:52px!important;height:52px!important;min-height:52px!important;
  }
  body:has(.ofqd-depot-premium-v272) .rodyn-launcher-avatar{width:44px!important;height:44px!important;min-width:44px!important}
}
