/* Bakery identity, scoped to this standalone installation. */
html body #cashierPage#cashierPage.restaurant-pos .cashier-header{background:linear-gradient(115deg,#38241b,#6c4427 65%,#95642e)!important;border-color:#b48b55!important}
html body #cashierPage#cashierPage.restaurant-pos .restaurant-menu{border-color:#806346!important;background:#171e29!important}
html body #cashierPage#cashierPage.restaurant-pos .restaurant-menu-eyebrow{color:#ebc28a!important}
html body #cashierPage#cashierPage.restaurant-pos #restaurantMenuHeader h2{color:#fff1d9!important}
html body #cashierPage#cashierPage.restaurant-pos #restaurantCategories button[aria-pressed=true]{background:#a86c30!important;border-color:#d6a45e!important;color:white!important}
html body #cashierPage#cashierPage.restaurant-pos .restaurant-product{background:#fff5e6!important;border-color:#b2946e!important}
html body #cashierPage#cashierPage.restaurant-pos .restaurant-product-info{background:#fff5e6!important;min-height:70px!important;padding:9px 10px!important}
html body #cashierPage#cashierPage.restaurant-pos .restaurant-product-info strong{color:#382718!important;white-space:normal!important;line-height:1.4!important;font-size:13px!important}
html body #cashierPage#cashierPage.restaurant-pos .restaurant-product-info small{color:#76604c!important}
html body #cashierPage#cashierPage.restaurant-pos .restaurant-product-bottom b{color:#914b1d!important;white-space:nowrap;font-size:12px!important}
html body #cashierPage#cashierPage.restaurant-pos .restaurant-product-bottom>span{color:#76604c!important}
html body #cashierPage#cashierPage.restaurant-pos .restaurant-product-visual img{object-fit:cover!important;width:100%!important;height:100%!important}
html body #cashierPage#cashierPage.restaurant-pos #completeSaleButton:not(:disabled){background:linear-gradient(110deg,#9b602c,#c78d44)!important;border-color:#d5a86a!important}
html body #cashierPage#cashierPage.restaurant-pos #cartLines .sale-sheet-row[data-cart-product]{min-height:56px!important;padding:8px!important;align-items:center!important;row-gap:3px!important}
html body #cashierPage#cashierPage.restaurant-pos #cartLines .cart-product-cell{display:flex!important;align-items:center!important;flex-wrap:wrap;gap:6px!important}
.bk-edit-weight{padding:4px 9px!important;min-height:30px!important;background:#654427!important;border:1px solid #a77a42!important;color:#fff1d9!important;border-radius:8px!important;font-size:11px!important}
body:has(.bk-weight-form) #detailModal.detail-modal.simple-modal .detail-modal-card{width:min(460px,calc(100vw - 28px))!important;max-width:460px!important;max-height:88dvh!important}
.bk-weight-summary{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px;background:#1d2d40;border-radius:12px;margin-bottom:15px}
.bk-weight-summary strong{font-size:17px}.bk-weight-summary span{color:#edc58e}
.bk-weight-form label{display:grid;gap:8px;font-size:14px}.bk-weight-form input{font-size:24px!important;min-height:55px!important;text-align:center}
.bk-weight-presets{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-top:12px}
.bk-weight-presets button{background:#654427;color:#fff1d9;border:1px solid #a77a42;border-radius:10px;min-height:44px}
.bk-weight-total{display:flex;align-items:center;justify-content:space-between;background:#21344b;border-radius:12px;padding:14px}.bk-weight-total strong{font-size:25px;color:#f1c78e}
#bkWeightError{color:#ffb7a8;min-height:20px;font-size:12px}#bkWeightLabel{color:#a9bdd6;text-align:center}

html body #detailModal#detailModal:has(.bk-weight-form):not(.is-hidden){position:fixed!important;inset:0!important;display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:center!important;width:100vw!important;height:100dvh!important;max-width:none!important;margin:0!important;padding:16px!important;background:#050a13b8!important;backdrop-filter:blur(4px);z-index:1100!important;overflow:hidden!important;box-sizing:border-box}
html body #detailModal#detailModal:has(.bk-weight-form) .detail-modal-card{position:relative!important;inset:auto!important;transform:none!important;display:flex!important;flex-direction:column!important;flex:none!important;align-self:center!important;width:min(460px,100%)!important;max-width:460px!important;height:auto!important;min-height:0!important;max-height:calc(100dvh - 32px)!important;margin:auto!important;padding:16px!important;border:1px solid #98734d!important;border-radius:18px!important;background:#111e30!important;color:#e9eef5!important;box-shadow:0 24px 80px #0008!important;overflow:hidden!important;box-sizing:border-box}
html body #detailModal#detailModal:has(.bk-weight-form) .detail-modal-header{flex:0 0 auto!important;margin:0 0 10px!important;padding:0 0 10px!important;border-bottom:1px solid #98734d50!important}
html body #detailModal#detailModal:has(.bk-weight-form) .detail-modal-header .eyebrow{display:none!important}
html body #detailModal#detailModal:has(.bk-weight-form) h2{font-size:18px!important;line-height:1.4!important;margin:0!important}
html body #detailModal#detailModal:has(.bk-weight-form) #detailModalBody{display:flex!important;flex-direction:column!important;gap:10px!important;flex:1 1 auto!important;min-height:0!important;height:auto!important;max-height:none!important;overflow:hidden!important;padding:0!important;width:100%!important;box-sizing:border-box}

.bk-price-fields{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:10px}.bk-price-fields small{grid-column:1/-1;color:#a9bdd6;font-size:11px;line-height:1.6}.bk-price-fields input{width:100%;min-width:0}.bk-weight-form{overflow-y:auto;max-height:65dvh}
