:root { --mp: #b91c1c; --mp-dark: #7f1d1d; }
body { background: #f4f5f7; font-size: .95rem; }
.bg-mp { background: linear-gradient(90deg, var(--mp-dark), var(--mp)); }
.btn-mp { background: var(--mp); color: #fff; border: 0; }
.btn-mp:hover { background: var(--mp-dark); color: #fff; }
.card { border: 0; box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.card-header { background: #fff; font-weight: 600; }
.table td, .table th { vertical-align: middle; }
.table-sm td, .table-sm th { padding: .35rem .5rem; }
.kpi { font-size: 1.6rem; font-weight: 700; }
.kpi-label { font-size: .8rem; text-transform: uppercase; color: #6c757d; letter-spacing: .03em; }
.text-money { white-space: nowrap; }
.ac-wrap { position: relative; }
.ac-list { position: absolute; z-index: 1060; left: 0; right: 0; top: 100%; max-height: 340px; overflow-y: auto;
  background: #fff; border: 1px solid #dee2e6; border-radius: .375rem; box-shadow: 0 6px 18px rgba(0,0,0,.12); }
.ac-item { padding: .45rem .7rem; cursor: pointer; border-bottom: 1px solid #f1f1f1; }
.ac-item:hover, .ac-item.sel { background: #fdecec; }
.ac-item small { color: #6c757d; }
#itens input.form-control-sm { min-width: 70px; }
.estoque-neg { color: #dc3545; font-weight: 600; }
.login-box { max-width: 380px; margin: 8vh auto; }
.nowrap { white-space: nowrap; }
@media print {
  body { background: #fff; font-size: 12px; }
  .card { box-shadow: none; }
}
