/* Recebimentos da portaria. Não altera os formulários de captura ou de carga. */
body.recebimentos-mode #video, body.recebimentos-mode #frame,
body.recebimentos-mode #app > .hint, body.recebimentos-mode #app > .controls,
body.recebimentos-mode #err, body.recebimentos-mode #insp_acesso,
body.recebimentos-mode #btn_flash, body.recebimentos-mode #btn_painel { display: none !important; }
#recebimentos_vue[hidden], #recebimentos_vue [hidden] { display: none !important; }
#recebimentos_vue {
  grid-row: 3 / 5; grid-column: 1; min-height: 0; overflow: auto;
  padding: 1rem 1.5rem calc(1.5rem + env(safe-area-inset-bottom));
  background: #f8fafc; color: #142033; font: 1rem/1.5 system-ui, sans-serif;
  overscroll-behavior: contain; scroll-padding-block: 1rem;
}
#recebimentos_vue * { box-sizing: border-box; }
#recebimentos_vue h2 { margin: 0; font-size: 1.6rem; }
#recebimentos_vue .rp-brand { display: flex; align-items: center; gap: .875rem; }
#recebimentos_vue .rp-logo { flex: none; padding: .375rem; border-radius: .5rem; background: #374249; }
#recebimentos_vue .rp-logo img { display: block; width: 3.25rem; height: auto; }
#recebimentos_vue .rp-eyebrow { margin: 0; font-size: .8125rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #526174; }
#recebimentos_vue h3 { margin: 0 0 .5rem; font-size: 1.125rem; }
#recebimentos_vue p { margin: .5rem 0; overflow-wrap: anywhere; }
#recebimentos_vue .rp-help { font-size: .875rem; color: #526174; }
#recebimentos_vue .rp-section, #recebimentos_vue .rp-card {
  padding: 1rem; margin-block: 1rem; border: 1px solid #c9d2de; border-radius: .875rem; background: #fff;
}
#recebimentos_vue .rp-card { margin-block: .75rem; }
#recebimentos_vue .rp-card h3 { overflow-wrap: anywhere; }
#recebimentos_vue .rp-top { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; align-items: start; }
#recebimentos_vue .rp-badge { display: inline-block; font-size: .8125rem; padding: .25rem .5rem; border-radius: .375rem; background: #eaf0f8; color: #294467; }
#recebimentos_vue .rp-badge.done { background: #ddf4e8; color: #145536; }
#recebimentos_vue .rp-message { margin-block: .75rem; padding: .75rem; background: #eaf0f8; border-radius: .5rem; overflow-wrap: anywhere; }
#recebimentos_vue .rp-message:empty { display: none; }
#recebimentos_vue .rp-message.error, #recebimentos_vue .rp-warning { background: #fff1d9; color: #704607; }
#recebimentos_vue .rp-message.success { background: #ddf4e8; color: #145536; }
#recebimentos_vue .rp-warning { padding: .75rem; border-radius: .5rem; margin-block: .75rem; }
#recebimentos_vue fieldset { min-width: 0; margin: 0 0 1rem; padding: 0; border: 0; }
#recebimentos_vue legend, #recebimentos_vue .rp-label { display: block; font-weight: 650; margin-block-end: .375rem; }
#recebimentos_vue .rp-options { display: flex; flex-wrap: wrap; gap: .5rem; }
#recebimentos_vue .rp-choice { display: flex; align-items: center; gap: .5rem; min-height: 3rem; padding: .625rem .75rem; border: 1px solid #767f8d; border-radius: .5rem; cursor: pointer; background: #fff; }
#recebimentos_vue .rp-choice:has(input:checked) { border-color: #2455be; background: #edf3ff; }
#recebimentos_vue input[type=radio] { width: 1.125rem; height: 1.125rem; margin: 0; flex: none; accent-color: #2455be; }
#recebimentos_vue .rp-destinations { display: grid; gap: .5rem; margin-block-start: .5rem; }
#recebimentos_vue .rp-destinations .rp-choice { align-items: start; }
#recebimentos_vue .rp-destinations input { margin-block-start: .25rem; }
#recebimentos_vue input:not([type=radio]):not([type=file]), #recebimentos_vue textarea {
  display: block; width: 100%; min-width: 0; min-height: 3rem; padding: .75rem;
  border: 1px solid #767f8d; border-radius: .5rem; background: #fff; color: #142033;
  font: inherit; font-size: max(1rem, 1em);
}
#recebimentos_vue input[type=file] { display: block; max-width: 100%; margin-block-start: .5rem; font: inherit; }
#recebimentos_vue .rp-visually-hidden {
  position: absolute; clip-path: inset(50%); overflow: hidden; width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0; white-space: nowrap;
}
#recebimentos_vue input[type=file].rp-visually-hidden { margin: -1px; }
#recebimentos_vue textarea { resize: vertical; }
#recebimentos_vue .rp-field { margin-block: 1rem; }
#recebimentos_vue summary { min-height: 3rem; padding-block: .75rem; cursor: pointer; color: #1b4fa9; font-weight: 600; }
#recebimentos_vue button, #recebimentos_vue .rp-link {
  display: inline-flex; justify-content: center; align-items: center; min-height: 3rem;
  padding: .625rem .875rem; border: 1px solid transparent; border-radius: .5rem;
  background: #2455be; color: #fff; font: inherit; font-weight: 600; cursor: pointer; text-decoration: none;
}
#recebimentos_vue button.rp-secondary, #recebimentos_vue .rp-link { background: #edf3ff; color: #1b4698; border-color: #bdcbe2; }
#recebimentos_vue button:disabled { opacity: .55; cursor: default; }
#recebimentos_vue button[type=submit] { width: 100%; margin-block-start: .75rem; }
#recebimentos_vue .rp-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-block: .75rem; }
#recebimentos_vue .rp-filters { display: flex; gap: .5rem; flex-wrap: wrap; }
#recebimentos_vue .rp-filters button[aria-pressed=false] { background: #fff; color: #294467; border-color: #767f8d; }
#recebimentos_vue :is(button, input, select, textarea, summary, a):focus-visible { outline: 3px solid #0b57d0; outline-offset: 3px; }
#recebimentos_vue :is(input, textarea)[aria-invalid=true] { border-color: #a52a21; }
#recebimentos_vue dl { margin-block: .75rem; }
#recebimentos_vue dt { font-size: .875rem; color: #526174; margin-block-start: .75rem; }
#recebimentos_vue dd { margin: .125rem 0 0; overflow-wrap: anywhere; }
#recebimentos_vue .rp-history { padding-inline-start: 1.5rem; margin-block: .75rem; }
#recebimentos_vue .rp-history li { padding-block: .5rem; overflow-wrap: anywhere; }
#recebimentos_vue .rp-photo-field { margin-block: 1.25rem .5rem; padding-block-start: .5rem; border-top: 1px solid #d6dde6; }
#recebimentos_vue .rp-photo-empty { padding: 1rem; border: 1px dashed #95a2b3; border-radius: .5rem; background: #f8fafc; color: #526174; font-size: .875rem; }
#recebimentos_vue .rp-photo-preview { margin: .75rem 0; }
#recebimentos_vue .rp-photo-preview img { display: block; width: 100%; max-height: 28rem; height: auto; object-fit: contain; background: #f0f3f7; border: 1px solid #c9d2de; border-radius: .5rem; }
#recebimentos_vue .rp-photo-preview figcaption { margin-block-start: .375rem; color: #526174; font-size: .8125rem; overflow-wrap: anywhere; }
#recebimentos_vue .rp-photo-status:empty { display: none; }
#recebimentos_vue .rp-photo-detail { margin-block: 1.25rem; padding-block: 1rem; border-block: 1px solid #d6dde6; }
@media (max-width: 420px) { #recebimentos_vue { padding-inline: .75rem; } #recebimentos_vue .rp-section { padding: .875rem; } }
