/* Aba Produção (ficha direto na OP). Escopo exclusivo: não muda os outros chips. */
body.producao-mode #video, body.producao-mode #frame, body.producao-mode #app > .hint,
body.producao-mode #app > .controls, body.producao-mode #err, body.producao-mode #insp_acesso,
body.producao-mode #btn_flash, body.producao-mode #btn_painel { display: none !important; }
body.producao-mode .modes { flex-wrap: wrap; gap: 8px 18px; padding-bottom: 10px; }
#producao_vue[hidden] { display: none; }
#producao_vue { grid-row: 3 / 5; grid-column: 1; min-height: 0; overflow: auto; padding: 12px 24px calc(24px + env(safe-area-inset-bottom)); color: #142033; background: #fff; font-size: 16px; line-height: 1.5; }
#producao_vue h2 { font-size: 25px; margin: 0 0 4px; }
#producao_vue h3 { font-size: 18px; margin: 12px 0 6px; overflow-wrap: anywhere; }
#producao_vue h4 { font-size: 15px; margin: 20px 0 4px; padding-top: 12px; border-top: 1px solid #e3e8ef; color: #1d438e; text-transform: uppercase; letter-spacing: .02em; }
#producao_vue p { margin: 8px 0; overflow-wrap: anywhere; }
#producao_vue fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
#producao_vue button { min-height: 46px; border: 0; border-radius: 10px; padding: 11px 14px; font: inherit; font-weight: 600; background: #245fe5; color: #fff; cursor: pointer; margin: 4px 6px 4px 0; }
#producao_vue button[data-action=voltar], #producao_vue button[data-action=ops], #producao_vue button[data-action=corrigir], #producao_vue button[data-action=trocar] { background: #edf3ff; color: #1d438e; }
#producao_vue .pv-empresa { display: block; width: 100%; margin: 10px 0; padding: 16px 14px; text-align: left; font-size: 17px; }
#producao_vue .pv-primary { display: block; width: 100%; margin: 18px 0 8px; font-size: 17px; }
#producao_vue label { display: block; margin: 10px 0; font-weight: 600; }
#producao_vue input:not([type=file]), #producao_vue select, #producao_vue textarea { display: block; width: 100%; min-width: 0; min-height: 48px; margin-top: 5px; padding: 12px; border: 1px solid #bdc9da; border-radius: 9px; background: #fff; color: #142033; font: inherit; font-weight: 400; }
#producao_vue textarea { min-height: 80px; resize: vertical; }
#producao_vue .pv-dupla { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
#producao_vue .pv-tripla { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 10px; }
#producao_vue [hidden] { display: none !important; }
#producao_vue .pv-card { padding: 14px; border: 1px solid #dee3eb; border-radius: 12px; margin: 12px 0; }
#producao_vue .pv-help { font-size: 13px; color: #566579; }
#producao_vue .pv-resumo { padding: 12px 14px; border-radius: 12px; background: #f4f7fb; margin: 16px 0 4px; }
#producao_vue .pv-resumo p { margin: 4px 0; }
#producao_vue .pv-neg { color: #b42318; }
#producao_vue .pv-message:empty { display: none; }
#producao_vue .pv-message, #producao_vue .pv-pending, #producao_vue .pv-confirm, #producao_vue .pv-ok { padding: 12px; border-radius: 10px; background: #edf3ff; margin: 12px 0; overflow-wrap: anywhere; }
#producao_vue .pv-message.error, #producao_vue .pv-pending, #producao_vue .pv-confirm { background: #fff2d7; color: #714300; }
#producao_vue .pv-message.success, #producao_vue .pv-ok { background: #dcf5e7; color: #125032; }
#producao_vue .pv-confirm ul { margin: 8px 0; padding-left: 20px; }
#producao_vue .pv-file { display: flex; align-items: center; justify-content: center; min-height: 64px; padding: 12px; border: 2px dashed #9db4e0; border-radius: 12px; background: #f4f7ff; color: #1d438e; text-align: center; cursor: pointer; }
#producao_vue .pv-file input { position: absolute; width: 1px; height: 1px; opacity: 0; }
#producao_vue .pv-midias { list-style: none; padding: 0; margin: 10px 0; }
#producao_vue .pv-midias li { padding: 8px 10px; border-radius: 8px; margin: 6px 0; background: #f4f7fb; font-size: 14px; overflow-wrap: anywhere; }
#producao_vue .pv-midias li.ok { background: #dcf5e7; color: #125032; }
#producao_vue .pv-midias li.erro { background: #fff2d7; color: #714300; }
#producao_vue .pv-actions { margin-top: 16px; }
/* Bipe da caixa pronta (06/11/2026). Fora do #producao_vue também: o resultado aparece na câmera. */
.pv-bipe { padding: 14px; border-radius: 12px; margin: 12px 0; font-size: 18px; line-height: 1.35; overflow-wrap: anywhere; }
.pv-bipe p { margin: 4px 0 0; font-size: 15px; }
.pv-bipe.ok { background: #dcf5e7; color: #125032; }
.pv-bipe.alerta { background: #fff2d7; color: #714300; }
.pv-bipe.recusada, .pv-bipe.erro { background: #fde4e1; color: #8a1c12; }
#producao_vue button[data-action=desfazer] { background: #fff; color: #8a1c12; border: 1px solid #e7b4ae; }
#producao_vue button[data-action=bipe], #producao_vue button[data-action=bipe_ops] { background: #0f7a4a; }
.pv-camera { position: fixed; inset: 0; z-index: 140; background: #0b162be8; padding: 20px; display: grid; place-items: center; }
.pv-camera section { width: min(480px, 100%); max-height: 95dvh; overflow: auto; background: #fff; color: #142033; border-radius: 16px; padding: 20px; font-size: 16px; }
.pv-camera h3 { margin: 0 0 6px; font-size: 18px; }
.pv-camera .pv-help { font-size: 13px; color: #566579; }
.pv-camera video { display: block; width: 100%; max-height: 45dvh; background: #142033; border-radius: 10px; }
.pv-camera button { display: block; width: 100%; min-height: 48px; border: 0; border-radius: 10px; margin: 10px 0 0; padding: 11px 14px; font: inherit; font-weight: 600; background: #245fe5; color: #fff; }
.pv-camera button[data-camera=fechar] { background: #edf3ff; color: #1d438e; }
.pv-camera [hidden] { display: none !important; }
@media (max-width: 420px) {
  #producao_vue { padding-left: 16px; padding-right: 16px; }
  #producao_vue .pv-tripla { grid-template-columns: 1fr 1fr; }
}
