/* Abastecimento and Execução de abastecimento (wms-supply): layout and colors only (the putaway/transfer layout is reused from putaway.css and
   transfers.css). Field/button sizes live in forms.css. */
.supply-automatic {
   background: var(--primary-soft);
   color: var(--primary-text);
   text-transform: none;
   letter-spacing: 0
}

.supply-excess {
   background: var(--warning-soft);
   color: var(--warning-text);
   text-transform: none;
   letter-spacing: 0
}

.stock-grid.supply-grid td small+small {
   margin-top: 1px
}

.supply-skipped {
   margin-top: 12px;
   font-size: 10px;
   color: var(--text-2)
}

.supply-skipped summary {
   cursor: pointer;
   font-weight: 700;
   margin-bottom: 6px
}

.supply-skipped ul {
   margin: 0;
   padding-left: 18px;
   line-height: 1.8;
   max-height: 220px;
   overflow: auto
}

.supply-destination-fixed {
   display: flex;
   align-items: center;
   gap: 8px;
   margin-top: 8px
}

/* Age of an open order (validation r2): stale after 24 h. */
.compact-chip.supply-age {
   background: var(--chip-neutral-bg);
   color: var(--chip-neutral-text)
}

.compact-chip.supply-age.is-stale {
   background: var(--warning-soft);
   color: var(--warning-text)
}

/* List row of the supply orders (validation r3 M7): up to four chips (quantity, Automático, Excesso aplicado, age) plus the status, in the shared
   two-line row (.compact-row.is-two-line, compact-list.css; wms-ui "Linha de lista em duas linhas", 2026-10-08). */
/* D274: the order that waits for the decision of the manager on its excess (chip of the list and notice of the detail). */
.supply-excess-pending {
   background: var(--warning-soft);
   color: var(--warning-text);
   text-transform: none;
   letter-spacing: 0
}

.supply-excess-decision {
   display: flex;
   flex-direction: column;
   gap: 8px
}

.supply-excess-decision p {
   margin: 0
}

.supply-excess-decision .profile-save {
   align-self: flex-start
}
