/* V1574 — Modal de constatação mais compacto, sem barra de rolagem visível.
   O scroll por roda, trackpad, toque e teclado continua funcional em telas baixas. */
.ro1570-modal {
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.ro1570-modal::-webkit-scrollbar { width: 0 !important; height: 0 !important; display: none !important; }
.ro1570-modal-panel {
  width: min(760px, 100%);
  max-height: min(92dvh, 820px);
  overflow-y: auto;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
  overscroll-behavior: contain;
  padding: 15px;
}
.ro1570-modal-panel::-webkit-scrollbar { width: 0 !important; height: 0 !important; display: none !important; }
.ro1570-modal-panel > header { margin-bottom: 10px; padding-bottom: 9px; gap: 9px; }
.ro1570-modal-panel > header h2 { font-size: 18px; }
.ro1570-modal-evidence { padding: 9px 11px; margin-bottom: 10px; }
.ro1570-form-grid { gap: 8px 12px; }
.ro1570-form-grid label { gap: 4px; font-size: 11px; }
.ro1570-form-grid input,
.ro1570-form-grid select,
.ro1570-form-grid textarea { padding: 7px 9px; font-size: 12px; min-height: 33px; }
.ro1570-form-grid textarea { min-height: 72px; max-height: 132px; line-height: 1.4; resize: vertical; }
.ro1570-modal-actions { margin-top: 10px; gap: 7px; }
.ro1570-modal-actions button { min-height: 34px; padding: 0 11px; }
.ro1570-modal-panel .ro1570-footnote { margin: 7px 0 0; line-height: 1.4; }
@media (max-width: 540px) {
  .ro1570-modal { padding: 8px; }
  .ro1570-modal-panel { max-height: calc(100dvh - 16px); padding: 12px; }
  .ro1570-modal-panel > header h2 { font-size: 16px; }
  .ro1570-form-grid { gap: 8px; }
  .ro1570-modal-evidence { padding: 8px 9px; }
  .ro1570-modal-actions { justify-content: stretch; }
  .ro1570-modal-actions button { flex: 1 1 auto; }
}
@media (max-height: 650px) and (min-width: 541px) {
  .ro1570-modal-panel { max-height: 96dvh; padding: 11px 14px; }
  .ro1570-modal-panel > header { margin-bottom: 7px; padding-bottom: 7px; }
  .ro1570-modal-evidence { padding: 7px 10px; margin-bottom: 7px; }
  .ro1570-form-grid { gap: 6px 10px; }
  .ro1570-form-grid textarea { min-height: 60px; }
}
