.jt-compras-xml-resultado { margin-top: 16px; min-width: 0; }
.jt-compras-xml-progresso { font-weight: 600; }
.jt-compras-xml-nota { margin: 14px 0; padding: 16px; border: 1px solid #d9dee7; border-radius: 10px; background: #fff; }
.jt-compras-xml-nota > header { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.jt-compras-xml-nota h3 { margin: 0; font-size: 16px; overflow-wrap: anywhere; }
.jt-compras-xml-dados { display: grid; grid-template-columns: repeat(2, minmax(180px, 1fr)); gap: 6px 16px; margin: 0 0 12px; }
.jt-compras-xml-dados dt { font-size: 12px; font-weight: 700; color: #52606d; }
.jt-compras-xml-dados dd { margin: -4px 0 0; overflow-wrap: anywhere; }
.jt-compras-xml-scroll { overflow-x: auto; max-width: 100%; margin: 12px 0; }
.jt-compras-xml-tabela { border-collapse: collapse; width: 100%; min-width: 940px; font-size: 13px; }
.jt-compras-xml-tabela th, .jt-compras-xml-tabela td { padding: 10px; border-bottom: 1px solid #d9dee7; text-align: left; vertical-align: top; }
.jt-compras-xml-tabela th { background: #f5f7fa; white-space: nowrap; }
.jt-compras-xml-produto { min-width: 220px; }
.jt-compras-xml-produto strong, .jt-compras-xml-produto small, .jt-compras-xml-custo-nf + small { display: block; }
.jt-compras-xml-produto small, .jt-compras-xml-custo-nf + small, .jt-compras-xml-legenda { color: #52606d; font-size: 12px; margin-top: 4px; }
.jt-compras-xml-custo-nf { font-weight: 700; white-space: nowrap; }
.jt-compras-xml-custo-oficial { display: grid; gap: 4px; min-width: 130px; font-weight: 600; }
.jt-compras-xml-custo-oficial input { width: 100%; box-sizing: border-box; }
.jt-compras-xml-custo-erro { color: #991b1b; font-weight: 400; }
.jt-compras-xml-vinculo { display: grid; gap: 6px; min-width: 220px; }
.jt-compras-xml-sku-atual { font-weight: 700; overflow-wrap: anywhere; }
.jt-compras-xml-sku-busca { display: grid; gap: 3px; font-size: 12px; }
.jt-compras-xml-sku-busca > span { display: flex; gap: 4px; }
.jt-compras-xml-sku-busca input, .jt-compras-xml-sku-selecao select { width: 100%; min-width: 0; }
.jt-compras-xml-sku-selecao { display: grid; gap: 3px; font-size: 12px; }
.jt-compras-xml-vinculo button { justify-self: start; }
.jt-compras-xml-ajuda { color: #52606d; font-size: 12px; overflow-wrap: anywhere; }
.jt-compras-xml-situacao { min-width: 105px; }
.jt-compras-xml-situacao > span { display: inline-block; padding: 4px 7px; border-radius: 6px; font-weight: 700; }
.jt-compras-xml-item-pendente { background: #fef3c7; color: #854d0e; }
.jt-compras-xml-item-conferido { background: #dcfce7; color: #166534; }
.jt-compras-xml-situacao small { display: block; margin-top: 5px; color: #9a3412; font-weight: 700; white-space: nowrap; }
.jt-compras-xml-status { display: inline-block; padding: 4px 8px; border-radius: 6px; font-weight: 700; white-space: nowrap; }
.jt-compras-xml-apto { background: #dcfce7; color: #166534; }
.jt-compras-xml-atencao { background: #fef3c7; color: #854d0e; }
.jt-compras-xml-bloqueado, .jt-compras-xml-erro { background: #fee2e2; color: #991b1b; }
.jt-compras-xml-erro, .jt-compras-xml-aviso { padding: 10px; border-radius: 6px; overflow-wrap: anywhere; }
.jt-compras-xml-aviso { background: #fff7df; color: #704600; }
.jt-compras-xml-legenda { margin-bottom: 0; }
@media (max-width: 720px) {
    .jt-compras-xml-nota { padding: 12px; }
    .jt-compras-xml-nota > header { align-items: flex-start; flex-direction: column; }
    .jt-compras-xml-dados { grid-template-columns: 1fr; }
}
