/* MOB365 V18.6 OPERATIONS FINAL */

/* CAFE — categories more visible without stealing the product workspace. */
.cafe-pos-shell .cafe-category-strip{
  grid-template-columns:repeat(8,minmax(0,1fr))!important;
  grid-auto-rows:42px!important;
  gap:6px!important;
  padding:7px!important;
}
.cafe-pos-shell .cafe-category-chip{
  height:42px!important; min-height:42px!important;
  font-size:10.5px!important; font-weight:900!important;
  border-radius:10px!important;
  box-shadow:0 2px 6px rgba(16,47,72,.05)!important;
}
.cafe-pos-shell .cafe-category-chip.active{
  box-shadow:0 5px 13px rgba(10,139,128,.18)!important;
  transform:translateY(-1px)!important;
}
.cafe-pos-shell .cafe-auto-discount{
  display:inline-flex!important; align-items:center!important;
  width:max-content!important; margin-top:3px!important; padding:2px 6px!important;
  border-radius:999px!important; background:#fff1dc!important; color:#9a5c00!important;
  font-size:8px!important; font-style:normal!important; font-weight:900!important;
}
@media (min-width:1100px) and (max-width:1500px){
 .cafe-pos-shell .cafe-category-strip{grid-template-columns:repeat(8,minmax(0,1fr))!important;grid-auto-rows:40px!important}
 .cafe-pos-shell .cafe-category-chip{height:40px!important;min-height:40px!important;font-size:9.6px!important}
}

/* RESTAURANT — tables read as real floor furniture, not generic cards. */
.m3-restaurant .m3-floor > .m3-table.m3-table-clean{
  width:118px!important; min-width:118px!important; height:104px!important; min-height:104px!important;
  border-width:2px!important; border-radius:18px!important;
  background:linear-gradient(180deg,#fffdf9 0%,#f8fbfc 100%)!important;
  box-shadow:0 7px 16px rgba(17,43,65,.09), inset 0 0 0 5px rgba(255,255,255,.72)!important;
  transition:transform .16s ease,box-shadow .16s ease!important;
}
.m3-restaurant .m3-floor > .m3-table.m3-table-clean.round{border-radius:52px!important}
.m3-restaurant .m3-floor > .m3-table.m3-table-clean.rectangle{width:132px!important;min-width:132px!important;border-radius:15px!important}
.m3-restaurant .m3-floor > .m3-table.m3-table-clean:hover,
.m3-restaurant .m3-floor > .m3-table.m3-table-clean.selected{transform:translateY(-3px) scale(1.025)!important;box-shadow:0 12px 24px rgba(17,43,65,.16)!important}
.m3-restaurant .m3-floor > .m3-table.m3-table-clean::before{
  content:""!important; position:absolute!important; inset:10px!important; border:1px dashed rgba(86,112,133,.22)!important;
  border-radius:12px!important; pointer-events:none!important;
}
.m3-restaurant .m3-floor > .m3-table.m3-table-clean.round::before{border-radius:50%!important}
.m3-restaurant .m3-floor .rc25-table-code{font-size:16px!important;z-index:2!important}
.m3-restaurant .m3-floor .rc25-table-capacity{font-size:8.7px!important;z-index:2!important}
.m3-restaurant .m3-floor .rc25-table-total{font-size:16px!important;z-index:2!important}

/* PHARMACY — unified operational appearance. */
.pharmacy-v2 .ops-top-actions{gap:6px!important}
.pharmacy-v2 .ops-status.ok{background:#e8fbf3!important;color:#087452!important;border-color:#a8e3cf!important}
.pharmacy-v2 .lot-row.valid{border-left:4px solid #15a36d!important;background:#fbfffd!important}
.pharmacy-v2 .lot-row.warning{border-left:4px solid #e6a21a!important;background:#fffaf0!important}
.pharmacy-v2 .lot-row.danger{border-left:4px solid #dc4c4c!important;background:#fff7f7!important}
.pharmacy-v2 .lot-control{min-width:92px!important;font-size:9px!important}

/* WAREHOUSE — scanner always visible + practical document controls. */
.warehouse-v2 .warehouse-doc-filter{display:flex!important;align-items:center!important;gap:7px!important;padding:7px 10px!important;border-bottom:1px solid #e0e8ef!important;background:#f8fbfd!important}
.warehouse-v2 .warehouse-doc-filter input{width:100%!important;height:36px!important;border:1px solid #cddae5!important;border-radius:9px!important;padding:0 10px!important;font-size:10px!important;background:#fff!important}
.warehouse-v2 .warehouse-scan-zone.global-scanner{margin:10px!important;min-height:62px!important;border:1px solid #a9d9d1!important;border-radius:12px!important;background:linear-gradient(90deg,#effcf9,#f8fbfd)!important;box-shadow:0 4px 12px rgba(13,93,91,.07)!important}
.warehouse-v2 .warehouse-scan-zone.global-scanner.locked{opacity:.64!important;border-color:#d3dee7!important;background:#f6f8fa!important}
.warehouse-v2 .warehouse-receipt-context{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:7px!important;padding:0 10px 9px!important}
.warehouse-v2 .warehouse-receipt-context>div{padding:8px 10px!important;border:1px solid #d8e3eb!important;border-radius:9px!important;background:#fbfdff!important;min-width:0!important}
.warehouse-v2 .warehouse-receipt-context span{display:block!important;font-size:7px!important;font-weight:900!important;letter-spacing:.7px!important;color:#718397!important}
.warehouse-v2 .warehouse-receipt-context strong{display:block!important;margin-top:3px!important;font-size:10px!important;color:#17334d!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
.warehouse-v2 .warehouse-line-summary{display:flex!important;gap:9px!important;flex-wrap:wrap!important;padding:0 10px 8px!important}
.warehouse-v2 .warehouse-line-summary span{padding:6px 9px!important;border-radius:8px!important;background:#eef5f8!important;font-size:9px!important;color:#4d6476!important}
