/* JARVIS · Warenwirtschaft (Chef) */
.lstats { grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); }
.lkachel { text-align: left; cursor: pointer; font: inherit; color: inherit; border: 1px solid var(--line); }
.lkachel.aktiv { outline: 2px solid var(--coral); outline-offset: -2px; }
.lrot { color: var(--err); }
.lgelb { color: var(--warn); }
.lsym { font-size: 20px; line-height: 1; width: 28px; text-align: center; }
.lbestand td { vertical-align: top; }
.lzeile-aus td { background: color-mix(in srgb, var(--err) 7%, transparent); }
.lzeile-knapp td { background: color-mix(in srgb, var(--warn) 8%, transparent); }
.lstatus { white-space: nowrap; }
.lfilter { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 10px; }
.lfilter .input { width: auto; min-width: 150px; }
.lmeld .actions { display: flex; flex-wrap: wrap; gap: 6px; align-items: flex-start; }
.lmenge { width: 84px; text-align: right; }
.ldatum { width: 150px; }
.lvorschlag, .lpos { flex-wrap: wrap; gap: 8px; align-items: center; }
.lvorschlag .row-main, .lpos .row-main { flex: 1 1 260px; }
.lpos select { width: auto; }
.lsymbole { display: flex; flex-wrap: wrap; gap: 4px; }
.lsymbole label { cursor: pointer; }
.lsymbole input { position: absolute; opacity: 0; pointer-events: none; }
.lsymbole span { display: inline-grid; place-items: center; width: 38px; height: 38px; font-size: 20px; border-radius: 10px; border: 1px solid var(--line); }
.lsymbole input:checked + span { border-color: var(--coral); box-shadow: 0 0 0 2px var(--coral); }
.lsymbole input:focus-visible + span { outline: 2px solid var(--coral); }
.lorte { display: grid; gap: 6px; }
.lort-zeile { display: grid; grid-template-columns: minmax(160px, 1.4fr) 90px 90px 1fr; gap: 8px; align-items: center; }
.lvk { margin: 10px 0; }
.lchip { cursor: pointer; }
.lchip input { margin: 0 4px 0 0; }
@media (max-width: 640px) {
  .lort-zeile { grid-template-columns: 1fr 1fr; }
  .lort-zeile .pcheck { grid-column: 1 / -1; }
  .lort-zeile .tiny { grid-column: 1 / -1; }
  .lmenge { width: 72px; }
}
.lfilter .seg { max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.lbestand { min-width: 0; }
@media (max-width: 700px) {
  .lfilter .input { flex: 1 1 140px; min-width: 0; }
  .lbestand th:nth-child(6), .lbestand td:nth-child(6), .lbestand th:nth-child(7), .lbestand td:nth-child(7) { display: none; }
  .lbestand td, .lbestand th { padding-left: 6px; padding-right: 6px; }
  .lbestand td:first-child { width: 26px; }
  .lbestand td:last-child .btn { display: block; padding: 4px 6px; }
  .lmeld { flex-wrap: wrap; }
  .lmeld .actions { width: 100%; justify-content: flex-end; }
  .lpos .ldatum { width: 140px; }
}
.lfrei { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2); }
.lfoto img { width: 56px; height: 56px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); display: block; }
