/* Magazzino — por cima de app.css + escritorio.css */
.mg-lines td { vertical-align: middle; }
.mg-lines input, .mg-lines select { min-height: 38px; padding: 4px 8px; }
.mg-lines select { min-width: 130px; }
.mg-lines input[data-k="note"] { min-width: 170px; }
.mg-qty { width: 84px; }
.mg-sit { white-space: nowrap; }
.mg-matrix th, .mg-matrix td { text-align: center; }
.mg-matrix td:first-child, .mg-matrix th:first-child { text-align: left; position: sticky; left: 0; background: var(--surface); }
.mg-zero { color: var(--ink-3); }
.mg-form { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; align-items: end; }
@media (max-width: 900px) { .mg-form { grid-template-columns: 1fr 1fr; } }
.mg-help { font-size: 13px; color: var(--ink-3); margin: 4px 0 0; }
.mg-warn { color: var(--warn); font-weight: 700; }
.mg-err { color: var(--err); font-weight: 700; }
.mg-ok { color: var(--ok); font-weight: 700; }
.mg-print-head { display: none; }
@media print {
  .side, .top .btn, .top .seg, .toolbar, .no-print, #upd, #toasts { display: none !important; }
  .shell { display: block; }
  .content { padding: 0; }
  .mg-print-head { display: block; margin-bottom: 8px; }
  .table-wrap { max-height: none !important; overflow: visible !important; }
  body { background: #fff; }
}
