/* Cadastros pelo QR em cima do Pátio da portaria (R7 31/10/2026). Fica dentro de
   #patio_portaria e herda os botões de lá; aqui só o que é da lista. */
#chegadas_portaria[hidden] { display: none; }
#chegadas_portaria { margin: 0 0 14px; padding: 0 0 12px; border-bottom: 2px solid #dee3eb; }
#chegadas_portaria .chg-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
#chegadas_portaria .chg-head b { font-size: 19px; }
#chegadas_portaria .chg-card { padding: 12px 14px; border: 2px solid #245fe5; border-radius: 12px; margin: 10px 0; background: #f4f8ff; }
#chegadas_portaria .chg-top { display: flex; justify-content: space-between; gap: 8px; font-size: 17px; }
#chegadas_portaria .chg-top span { color: #566579; font-size: 14px; }
#chegadas_portaria .chg-mot { font-size: 14px; color: #1d438e; font-weight: 600; margin-top: 2px; overflow-wrap: anywhere; }
#chegadas_portaria .chg-det { font-size: 14px; margin-top: 4px; overflow-wrap: anywhere; }
#chegadas_portaria .chg-acoes { display: flex; flex-wrap: wrap; margin-top: 6px; }
#chegadas_portaria button.chg-prim { background: #245fe5; color: #fff; }
#chegadas_portaria button.chg-sec { background: #edf3ff; color: #1d438e; }
#chegadas_portaria .chg-msg { padding: 10px 12px; border-radius: 10px; background: #edf3ff; margin: 8px 0; overflow-wrap: anywhere; }
#chegadas_portaria .chg-msg.error { background: #fff2d7; color: #714300; }
#chegadas_portaria .chg-msg.ok { background: #dcf5e7; color: #125032; }
#chegadas_portaria .chg-vazio { font-size: 14px; color: #566579; margin: 6px 0; }
