/* Cashier speed + legibility, preserving tenant theme. */
.sp-pos-page{max-width:1680px!important}
.sp-pos-layout{grid-template-columns:minmax(300px,0.82fr) minmax(520px,1.5fr)!important;gap:16px!important}
.sp-pos-header{margin-bottom:16px!important}
.sp-pos-search-panel,.sp-pos-cart-panel{border-radius:14px!important;box-shadow:0 8px 25px rgba(20,35,60,.045)!important}
.sp-pos-cart-panel{max-height:calc(100vh - 140px)!important;top:82px!important}
.sp-pos-cart-items{max-height:none!important;overflow-y:auto;flex:1 1 auto;min-height:110px}
.sp-pos-checkout{flex:0 0 auto;overflow-y:auto;max-height:62vh;background:#fff!important}
.sp-pos-search-content{padding:18px 21px!important}.sp-pos-panel-heading{padding:16px 21px!important}
.sp-pos-search-content input,.sp-pos-checkout input,.sp-pos-checkout select{min-height:43px!important;font-size:14px}
.sp-pos-complete{min-height:58px!important;font-size:15px!important;letter-spacing:-.01em}
.sp-pos-inventory-reminder{display:flex;align-items:center;gap:8px;padding:10px 15px;background:#fff9eb;border:1px solid #eedeb6;border-radius:10px;color:#755314;text-decoration:none;margin-bottom:13px;font-size:12px}
.sp-stock-alert-banner{display:flex;align-items:center;justify-content:space-between;gap:14px;border:1px solid #f3d0be;background:#fff6ef;border-radius:12px;padding:15px 18px;margin:16px 0}
.sp-stock-alert-banner-title{display:flex;flex-direction:column;gap:3px;font-size:13px;color:#793b22}.sp-stock-alert-banner-title span{font-size:12px;color:#98604d}
.sp-branch-alert-edit{min-width:170px;max-width:235px}.sp-branch-alert-edit .form-label{font-size:11px;color:#6b7280}.sp-branch-alert-edit .form-control{max-width:100px}
.sp-stock-report-page{max-width:1300px;margin:0 auto}.sp-stock-report-page .sp-printable-report{background:#fff;border:1px solid #e5e9f0;border-radius:14px;padding:28px}
.sp-stock-report-summary{display:flex;gap:13px;margin:18px 0}.sp-stock-report-summary>div{flex:1;border:1px solid #e4e9ef;border-radius:10px;padding:13px 17px}.sp-stock-report-summary small{display:block;color:#66758a}.sp-stock-report-summary strong{display:block;font-size:22px;margin-top:4px;color:#1e293b}
.sp-stock-report-table thead th{background:#f6f8fa;font-size:11px;letter-spacing:.03em}.sp-stock-report-empty{text-align:center;padding:40px 12px;color:#66758a}
/* Receipt preview is actually readable before printing. */
.receipt-preview .sp-receipt-v3{font-family:Arial,sans-serif!important;color:#1e293b!important;padding:19px!important;border:1px solid #e4e9f0;border-radius:10px;background:#fff;font-size:12px!important;max-width:345px;margin:auto}
.receipt-preview .sp-receipt-v3 .receipt-store-header{text-align:center}.receipt-preview .sp-receipt-v3 .receipt-logo{width:72px;height:57px;object-fit:contain}.receipt-preview .sp-receipt-v3 .store-name{font-size:15px;font-weight:800}
.receipt-preview .sp-receipt-v3 .sp-receipt-document-label{text-align:center;font-size:10px;font-weight:800;letter-spacing:.12em;border-top:1px dashed #e0e5ec;border-bottom:1px dashed #e0e5ec;padding:8px}
.receipt-preview .sp-receipt-v3 .receipt-info .info-row,.receipt-preview .sp-receipt-v3 .total-row{display:flex;justify-content:space-between;gap:12px;margin-top:8px}.receipt-preview .sp-receipt-v3 .info-value{text-align:right;overflow-wrap:anywhere}
.receipt-preview .sp-receipt-v3 .receipt-items-table{width:100%;font-size:11px}.receipt-preview .sp-receipt-v3 .receipt-items-table td,.receipt-preview .sp-receipt-v3 .receipt-items-table th{padding:7px 3px;border-bottom:1px solid #e2e8f0}.receipt-preview .sp-receipt-v3 .receipt-items-table small{display:block;color:#64748b}
.receipt-preview .sp-receipt-v3 .grand-total{border-top:2px solid #1e293b;padding-top:9px;font-size:14px;font-weight:800}.receipt-preview .sp-receipt-v3 .receipt-footer{text-align:center;padding-top:12px;margin-top:15px;border-top:1px dashed #ddd}.receipt-preview .sp-receipt-reprint{display:block;font-size:10px;color:#64748b}
@media(max-width:1180px){.sp-pos-layout{grid-template-columns:minmax(0,1fr) minmax(0,1.15fr)!important}.sp-pos-cart-panel{position:static!important;max-height:none!important}.sp-pos-checkout{max-height:none}}
@media(max-width:840px){.sp-pos-layout{grid-template-columns:1fr!important}.sp-stock-alert-banner{flex-direction:column;align-items:flex-start}.sp-pos-cart-panel{max-height:none!important}}
@media(max-width:520px){.sp-stock-report-summary{flex-direction:column}.sp-stock-report-page .sp-printable-report{padding:14px}}

.sp-header-stock-alert{border:1px solid #f5d4a0;border-radius:999px;color:#83510d;background:#fff6e7;font-size:11px;font-weight:750;display:inline-flex;align-items:center;gap:7px;min-height:32px;padding:5px 10px;text-decoration:none;white-space:nowrap}
.sp-header-stock-alert:hover{background:#ffeed4;color:#74460e}
.sp-header-stock-count{display:grid;place-items:center;min-width:19px;height:19px;border-radius:50%;background:#a55a22;color:white;font-size:10px;padding:0 5px}
