#visaoCompras .header{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap}#visaoCompras .compras-acoes,.compras-tabs{display:flex;gap:8px;flex-wrap:wrap}.compras-aviso{color:#506482;line-height:1.5;overflow-wrap:anywhere}.compras-erro{color:#a62a2a!important}.compras-busca{display:block;max-width:520px;margin:18px 0}.compras-busca input,.compras-form input,.compras-form select,.compras-form textarea,.compra-item input,.compra-item select{display:block;width:100%;padding:9px;border:1px solid #cbd7e7;border-radius:6px;background:#fff;color:#17243a;margin-top:5px;font:inherit}.compras-table-wrap{overflow:auto;background:white;border:1px solid #dbe5f2;border-radius:9px}.compras-table-wrap table{width:100%;border-collapse:collapse;min-width:680px;display:table!important}.compras-table-wrap thead{display:table-header-group!important}.compras-table-wrap tbody{display:table-row-group!important}.compras-table-wrap tr{display:table-row!important}.compras-table-wrap th,.compras-table-wrap td{display:table-cell!important;text-align:left;padding:12px;border-bottom:1px solid #e2e9f2}.compras-table-wrap th{background:#edf3fa;font-size:12px}.compras-table-wrap small{display:block;color:#657b97;margin-top:4px}.compras-overlay{z-index:1300!important;padding:24px}.compras-overlay.hidden{display:none!important}.compras-modal{width:min(100%,1050px)!important;max-width:1050px!important;display:block!important;background:white;border-radius:12px}.compras-corpo{padding:18px}.compras-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.compras-form label,.compra-item label{font-size:12px;font-weight:600;color:#526983}.compras-wide{grid-column:1/-1}.compras-check{display:flex;align-items:center;gap:8px}.compras-check input{width:auto;margin:0}.compras-total{display:flex;flex-direction:column;gap:9px;padding:12px;background:#eef4ff;border-radius:8px}.compras-total strong{font-size:22px}.compras-section-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:16px 0}.compra-item{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:14px;margin:12px 0;border:1px solid #dbe5f2;border-radius:8px}.compras-chave{overflow-wrap:anywhere}.compras-modal [readonly]{background:#f4f7fb}.compras-modal .modal-footer{display:flex;gap:8px;justify-content:flex-end;padding:16px;border-top:1px solid #dbe5f2}.compras-modal .modal-header{padding:16px}.compras-modal [hidden],#visaoCompras [hidden]{display:none!important}.compras-modal :disabled{opacity:.6;cursor:wait}@media(max-width:720px){.compras-overlay{padding:12px}.compras-form,.compra-item{grid-template-columns:1fr}.compras-section-head{flex-wrap:wrap}.compras-modal .modal-footer{flex-wrap:wrap}.compras-corpo{padding:12px}}

.compras-overlay:not(.hidden){display:flex!important;align-items:center;justify-content:center}.compras-modal{max-height:calc(100dvh - 48px)!important;overflow-y:scroll!important;overflow-x:hidden!important;scrollbar-gutter:stable}@media(max-width:720px){.compras-modal{max-height:calc(100dvh - 24px)!important}}
