#nfceGeralDialog {
  box-sizing: border-box;
  width: min(880px, calc(100% - 32px));
  max-height: 90dvh;
  margin: auto;
  padding: 24px;
  overflow: auto;
  border: 1px solid #cad8da;
  border-radius: 8px;
  background: #fff;
  color: #19313a;
  font: 15px/1.5 Inter, Arial, sans-serif;
}
#nfceGeralDialog::backdrop { background: rgb(20 32 38 / 55%); }
#nfceGeralDialog header { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
#nfceGeralDialog h3 { font-size: 20px; line-height: 1.3; margin: 0; }
#nfceGeralDialog p { margin: 14px 0; overflow-wrap: anywhere; }
#nfceGeralDialog label { display: block; min-width: 0; font-weight: 600; }
#nfceGeralDialog input:not([type=checkbox]), #nfceGeralDialog select {
  display: block; box-sizing: border-box; width: 100%; min-width: 0;
  min-height: 40px; margin-top: 5px; padding: 8px;
  border: 1px solid #a8bec1; border-radius: 4px; background: #fff;
  color: #19313a; font: inherit;
}
#nfceGeralDialog input[type=file] { font-size: 13px; }
#nfceGeralDialog input[type=checkbox] { accent-color: #08755d; }
#nfceGeralDialog button { white-space: normal; max-width: 100%; border: 1px solid #b7c9cc; border-radius: 6px; }
#nfceGeralDialog button:disabled { opacity: .55; cursor: wait; }
#nfceGeralDialog [data-status]:not(:empty) { border-left: 3px solid #08755d; padding: 8px 12px; background: #eff8f5; }
#nfceGeralDialog .product-modal-actions, #nfceGeralPainel .product-modal-actions { display: flex; flex-wrap: wrap; gap: 10px; }
#nfceGeralPainel { min-width: 0; }
#nfceGeralPainel p { overflow-wrap: anywhere; }
@media (max-width: 520px) { #nfceGeralDialog { padding: 16px; } #nfceGeralDialog h3 { font-size: 18px; } }
