body { margin: 0; min-width: 20rem; }
[hidden] { display: none !important; }
.skip-link { position: absolute; left: -10000px; }
.skip-link:focus { position: fixed; top: 0; left: 0; z-index: 10; background: white; color: black; padding: 1rem; }
.proof-preview { width: 100%; max-height: 50dvh; object-fit: contain; }
.item-image { width: 100%; max-height: 40dvh; object-fit: contain; }
.orders-sentinel { height: 1px; }
.orders-mobile-filter { display: none; }
.orders-open-label { display: block; padding-block: 8px; }
.orders-progress { width: 100%; height: 0.6rem; accent-color: #008060; }
.scan-surface[data-feedback]::before { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 5; }
.scan-surface[data-feedback="error"]::before { background: rgb(220 38 38 / 18%); }
.scan-surface[data-feedback="success"]::before { background: rgb(22 163 74 / 10%); }
.scan-surface s-banner { position: relative; z-index: 6; }
@media (max-width: 600px) {
  .orders-desktop-filters { display: none; }
  .orders-mobile-filter { display: block; }
  /* The active picking action must be visible with the article on a phone. */
  .scan-surface .item-image { max-height: 24dvh; }
}
.locations-list { display: grid; gap: .5rem; padding: 0; margin: 0; list-style: none; }
.location-row { display: grid; grid-template-columns: 3.5rem minmax(0,1fr); gap: .5rem; padding: .5rem; border: 1px solid #d0d4d9; border-radius: .5rem; }
.location-row img,.location-row .placeholder { inline-size: 3.5rem; block-size: 3.5rem; border-radius: .4rem; object-fit: contain; background: #f1f2f4; }
.location-row .location-fields { display: grid; gap: .25rem; min-width: 0; }
.location-row .location-meta { color: #616a75; font-size: .875rem; overflow-wrap: anywhere; }
.quantity-dialog { font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: #303030; max-width: min(26rem, calc(100vw - 2rem)); padding: 1.25rem; border: 0; border-radius: .75rem; box-shadow: 0 1rem 3rem rgb(0 0 0 / .35); }
.quantity-dialog::backdrop { background: rgb(0 0 0 / .5); }
.quantity-dialog h2 { margin: 0 0 .5rem; font-size: 1.25rem; }
.quantity-dialog p { margin: 0 0 .75rem; }
.quantity-dialog .quantity-article { font-weight: 650; overflow-wrap: anywhere; }
.quantity-dialog > s-button { display: block; margin-top: .5rem; }
.quantity-picker { display: grid; grid-template-columns: 4rem 1fr 4rem; gap: .75rem; align-items: center; margin: 1rem 0; }
.quantity-value { text-align: center; font-size: 3rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.scan-flash { position: fixed; inset: 0; z-index: 2147483000; display: grid; place-content: center; justify-items: center; gap: .5rem; padding: 2rem; text-align: center; color: #fff; font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; animation: scan-flash-in .12s ease-out; }
.scan-flash-success { background: rgb(14 116 62 / .94); }
.scan-flash-complete { background: rgb(8 84 48 / .97); }
.scan-flash-error { background: rgb(180 35 24 / .96); }
.scan-flash-icon { font-size: 6rem; line-height: 1; font-weight: 700; }
.scan-flash-title { font-size: 2rem; font-weight: 700; }
.scan-flash-detail { font-size: 1.25rem; max-width: 22rem; overflow-wrap: anywhere; }
@keyframes scan-flash-in { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .scan-flash { animation: none; } }
.order-units { display: grid; gap: .25rem; }
.order-units-bar { inline-size: 100%; block-size: .75rem; accent-color: #0e743e; }
.skip-reasons { display: grid; gap: .5rem; margin: .75rem 0; }
.skip-reason { display: flex; align-items: center; gap: .75rem; min-height: 3rem; padding: .5rem .75rem; border: 1px solid #d0d4d9; border-radius: .5rem; font-size: 1.05rem; }
.skip-reason:has(input:checked) { border-color: #0e743e; box-shadow: inset 0 0 0 1px #0e743e; }
.skip-reason input { inline-size: 1.4rem; block-size: 1.4rem; accent-color: #0e743e; }
.skip-note-wrap { display: grid; gap: .25rem; margin-bottom: .75rem; }
.skip-note { inline-size: 100%; box-sizing: border-box; padding: .5rem; font: inherit; border: 1px solid #8a8f98; border-radius: .5rem; }
.skip-dialog > s-button { display: block; margin-top: .5rem; }
.scan-capture { position: fixed; inset-block-end: 0; inset-inline-start: 0; inline-size: 1px; block-size: 1px; padding: 0; border: 0; opacity: 0; pointer-events: none; font-size: 16px; }
