/* QA45 — Romaneio operacional com recebível e motorista opcionais.
   Interface contida e acessível, sem alterar navegação nem design de base. */
.ag-romaneio .rom-qa45-recebivel,
.ag-romaneio .rom-qa45-confirmacao {
  box-sizing:border-box;max-width:100%;overflow-wrap:anywhere;
}
.ag-romaneio .rom-qa45-recebivel h3 { margin:0 0 12px; }
.ag-romaneio .rom-qa45-recebivel .rom-check {
  display:flex;align-items:flex-start;gap:12px;min-height:44px;
  line-height:1.45;font-weight:650;overflow-wrap:anywhere;
}
.ag-romaneio :is([name="registrarReceber"],[name="salvarMotorista"]) {
  flex:0 0 auto;accent-color:var(--green,#17603f);width:19px;height:19px;
}
.ag-romaneio :is([data-rom-cobranca],[data-rom-motorista-novo])[hidden] {
  display:none!important;
}
.ag-romaneio .rom-qa45-confirmacao {
  padding:13px 15px;margin:12px 0;border-radius:13px;
  border:1px solid rgba(59,125,93,.36);
  background:rgba(72,149,100,.07);line-height:1.55;font-size:13px;
}
.ag-romaneio .rom-qa45-saldo {font-weight:650;}
.ag-romaneio .rom-qa45-categorias {gap:9px;flex-wrap:wrap;}
.ag-romaneio .rom-qa45-categorias button {
  min-height:43px;max-width:100%;white-space:normal;text-align:center;
  overflow-wrap:anywhere;
}
.ag-romaneio [data-rom-motorista-novo] {margin-top:12px;}
.ag-romaneio [data-rom-motorista-salvo] {min-width:0;max-width:100%;}
@media(max-width:610px) {
  .ag-romaneio .rom-qa45-categorias button {flex:1 1 140px;}
  .ag-romaneio .rom-qa45-recebivel .rom-grid {grid-template-columns:1fr;}
}
html[data-ag32-theme="dark"] .ag-romaneio .rom-qa45-confirmacao {
  border-color:rgba(255,255,255,.2);background:rgba(255,255,255,.065);
}
@media(prefers-reduced-motion:reduce) {
  .ag-romaneio .rom-qa45-categorias button {transition:none!important;}
}