/* MOB365 V18.5 FUNCTIONAL FINAL */

/* Better mixed-payment UX: current value is selected by native onfocus/click handlers. */
.suite-mixed-field input:focus,.mixed-payment-grid input:focus{outline:3px solid rgba(15,151,137,.16)!important;border-color:#0f9789!important;box-shadow:0 0 0 1px #0f9789!important}

/* Shared line discount controls */
.suite-line-discount-badge{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:#fff2cf!important;color:#8a5b00!important;border:1px solid #f0d17b!important;font-size:8px!important;font-weight:900!important}
.suite-line-discount-btn,.m3-line-discount-btn{width:30px!important;height:30px!important;min-width:30px!important;border-radius:8px!important;border:1px solid #e7bd58!important;background:#fff8e8!important;color:#80580b!important;font-weight:950!important;cursor:pointer!important}
.suite-line-price{display:flex!important;flex-direction:column!important;align-items:flex-end!important;min-width:62px!important}.suite-line-price small{font-size:7px!important;color:#7a8996!important}.suite-line-price strong{font-size:10.5px!important}

/* Cafe header: readable KPIs, no clipped currency/value. */
.cafe-pos-shell .cafe-commandbar{grid-template-columns:250px minmax(520px,620px) minmax(0,1fr)!important;min-height:76px!important;height:76px!important}
.cafe-pos-shell .cafe-command-center{grid-template-columns:130px minmax(0,1fr)!important}
.cafe-pos-shell .cafe-kpi-compact{grid-template-columns:repeat(5,minmax(74px,1fr))!important;gap:6px!important}
.cafe-pos-shell .cafe-mini-stat{height:40px!important;min-height:40px!important;padding:5px 8px!important;display:grid!important;grid-template-columns:1fr auto!important;align-items:center!important;overflow:visible!important}
.cafe-pos-shell .cafe-mini-stat span{font-size:8px!important;white-space:nowrap!important}.cafe-pos-shell .cafe-mini-stat strong{font-size:12px!important;white-space:nowrap!important;overflow:visible!important}.cafe-pos-shell .cafe-mini-stat.debt strong{font-size:12px!important}
.cafe-pos-shell .cafe-cart-line{min-height:66px!important;grid-template-columns:minmax(0,1fr) auto!important}.cafe-pos-shell .cafe-cart-actions{display:flex!important;align-items:center!important;gap:5px!important}
.cafe-pos-shell .suite-line-discount-dialog{max-width:430px!important}
@media(max-width:1500px) and (min-width:1100px){.cafe-pos-shell .cafe-commandbar{grid-template-columns:210px minmax(460px,540px) minmax(0,1fr)!important}.cafe-pos-shell .cafe-kpi-compact{grid-template-columns:repeat(5,minmax(66px,1fr))!important}.cafe-pos-shell .cafe-mini-stat{padding:4px 6px!important}.cafe-pos-shell .cafe-mini-stat strong{font-size:10.5px!important}}

/* Restaurant order: price, net, % and X are operationally visible. */
.m3-shell .m3-line-item-v185{display:grid!important;grid-template-columns:minmax(0,1.6fr) 62px 98px 66px 30px 30px!important;gap:6px!important;align-items:center!important;min-height:62px!important;padding:7px 8px!important;border-bottom:1px solid #e1e8ee!important}
.m3-shell .m3-line-copy{min-width:0!important;display:flex!important;flex-direction:column!important}.m3-shell .m3-line-copy>strong{font-size:11.5px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}.m3-shell .m3-line-copy>small{font-size:8px!important;color:#748496!important}
.m3-shell .m3-line-price,.m3-shell .m3-line-net{display:flex!important;flex-direction:column!important;align-items:flex-end!important}.m3-shell .m3-line-price small,.m3-shell .m3-line-net small{font-size:7px!important;color:#7a8996!important}.m3-shell .m3-line-price strong,.m3-shell .m3-line-net strong{font-size:10.5px!important;white-space:nowrap!important}
.m3-shell .m3-line-remove{width:30px!important;height:30px!important;min-width:30px!important;border:1px solid #ffc6c6!important;border-radius:8px!important;background:#fff3f3!important;color:#c52c2c!important;font-size:17px!important;font-weight:900!important}.m3-shell .m3-line-remove:disabled,.m3-shell .m3-line-discount-btn:disabled{opacity:.35!important;cursor:not-allowed!important}
.m3-shell .m3-total-discount{color:#b26600!important}.m3-shell .m3-order-buttons .discount-action{border-color:#e6b84e!important;background:#fff8e7!important;color:#7c570d!important}.m3-shell .m3-order-buttons{grid-template-columns:1fr 1fr!important}.m3-shell .m3-order-buttons .wide{grid-column:1/-1!important}

/* Pharmacy + Warehouse = one enterprise operations design language. */
.ops-shell.pharmacy-v2,.ops-shell.warehouse-v2{background:#eef4f8!important;color:#122d45!important}
.ops-shell.pharmacy-v2 .ops-topbar,.ops-shell.warehouse-v2 .ops-topbar{min-height:68px!important;height:68px!important;padding:7px 12px!important;background:linear-gradient(105deg,#0c2e4e 0%,#124263 62%,#0e6f72 100%)!important;border-radius:0 0 14px 14px!important;box-shadow:0 8px 24px rgba(14,49,82,.12)!important}
.ops-shell.pharmacy-v2 .ops-brand,.ops-shell.warehouse-v2 .ops-brand{gap:10px!important}.ops-shell.pharmacy-v2 .ops-logo,.ops-shell.warehouse-v2 .ops-logo{width:44px!important;height:44px!important;border-radius:12px!important;background:#fff!important;padding:4px!important}.ops-shell.pharmacy-v2 .ops-brand h1,.ops-shell.warehouse-v2 .ops-brand h1{font-size:18px!important;color:#fff!important}.ops-shell.pharmacy-v2 .ops-brand small,.ops-shell.warehouse-v2 .ops-brand small{color:#71ddd3!important;letter-spacing:1.5px!important}
.ops-shell.pharmacy-v2 .ops-top-actions,.ops-shell.warehouse-v2 .ops-top-actions{gap:6px!important}.ops-shell.pharmacy-v2 .ops-top-actions .ops-btn,.ops-shell.warehouse-v2 .ops-top-actions .ops-btn{height:38px!important;min-height:38px!important;border-radius:10px!important;box-shadow:0 3px 10px rgba(0,0,0,.08)!important}
.ops-shell.pharmacy-v2 .ops-kpis article,.ops-shell.warehouse-v2 .ops-kpis article{border-radius:14px!important;border:1px solid #d7e2eb!important;box-shadow:0 5px 16px rgba(17,48,73,.05)!important}.ops-shell.pharmacy-v2 .ops-panel,.ops-shell.warehouse-v2 .ops-panel{border-radius:14px!important;border:1px solid #d5e1ea!important;box-shadow:0 5px 18px rgba(17,48,73,.05)!important;overflow:hidden!important}
.ops-line-remove{width:30px!important;height:30px!important;border:1px solid #ffc4c4!important;border-radius:8px!important;background:#fff3f3!important;color:#c62b2b!important;font-size:17px!important;font-weight:900!important}
