/* SCUZO ONE — RC6.7.0.6 isolated UAT contrast/layout regression patch.
   Presentation ONLY. No checkout, discount, tax, sale, printer or auth actions.
   Applied AFTER previously deployed OBSIDIAN and checkout styles. */
:root{--scz6-ink:#f2f7f4;--scz6-secondary:#c6d5d0;--scz6-muted:#a9bcb7;--scz6-line:#39464a}
/* RC6695 inserts a mobile-only close button even on desktop: hide it unless drawer is open. */
#appView .sidebar #scuzoMobileNavClose{display:none!important}
@media(max-width:700px){body.scuzo-mobile-billing.scuzo-mobile-nav-open #appView .sidebar #scuzoMobileNavClose{display:block!important;grid-column:1/-1!important;background:#24342c!important;color:#ecfff3!important;border:1px solid #68977d!important;min-height:46px!important}}
/* Consistent POS dark, readable surfaces (avoid white-on-white and white flashing). */
#posView .cart-panel,#posView .cart-head,#posView #cartScrollBody,
#posView #cartLines,#posView .cart-quick-controls,#posView .cart-checkout-footer{background:#171e23!important;color:var(--scz6-ink)!important}
#posView #cartCustomer{background:#22332b!important;border:1px solid #395f4c!important;color:#dbf8e7!important}
#posView #cartLines .cart-line{background:#202b30!important;color:#f7fffb!important;border:1px solid #3d5052!important}
#posView #cartLines .cart-line strong{color:#fff!important}
#posView #cartLines .cart-line small,#posView .cart-checkout-footer .license-note{color:#c4d9d0!important}
#posView #cartLines .cart-line .qty-tools b{color:#f3fff6!important}
#posView .cart-quick-controls{border-top:1px solid var(--scz6-line)!important}
#posView .cart-money-breakdown,#posView .cart-money-breakdown>div{background:#171e23!important}
#posView .cart-money-breakdown span{color:#c8d8d3!important}
#posView .cart-money-breakdown strong{color:#f2faf5!important}
#posView .pos-offer-buttons button{background:#28343b!important;border:1px solid #506360!important;color:#f3f8f5!important}
#posView .pos-offer-buttons button strong{color:#e0fae8!important}
#posView .pos-discount-reason{background:#222a2e!important;border:1px solid #7e6541!important;color:#f1f5f1!important}
#posView .pos-discount-reason label{color:#f3eee0!important}
#posView #posDiscountReason{background:#fffefa!important;color:#173138!important;caret-color:#173138!important;border:1px solid #e7c986!important;-webkit-text-fill-color:#173138!important;opacity:1!important;box-shadow:none!important}
#posView #posDiscountReason::placeholder{color:#637177!important;opacity:1!important;-webkit-text-fill-color:#637177!important}
#posView #posDiscountReasonFeedback,#posView .pos-discount-reason small{color:#f6d99b!important;opacity:1!important}
#posView .pos-discount-reason.is-invalid small{color:#ffbfc3!important}
#posView .pos-payment-quick{background:#1d2930!important;color:#e8f1ed!important;border:1px solid #42565c!important;border-radius:12px!important}
#posView .pos-payment-quick legend{color:#c5ebd5!important;font-size:11px!important;font-weight:850!important;letter-spacing:.2px!important;background:#171e23!important;padding:0 7px!important}
#posView #posPaymentNotice{color:#bed0cd!important;line-height:1.4!important}
#posView .pos-payment-buttons button{background:#29363d!important;color:#f3f7f5!important;border:1px solid #50646a!important;opacity:1!important}
#posView .pos-payment-buttons button.is-selected{background:#245440!important;color:#fff!important;border:2px solid #90e1b0!important}
#posView .pos-payment-buttons button:disabled{opacity:.55!important}
#posView .pos-floating-panel{background:#222b31!important;color:#f0f5f1!important;border:1px solid #455960!important}
#posView .pos-floating-panel small,#posView .bill-discount-control small{color:#d8e5df!important}
#posView .cart-checkout-footer{border-top:1px solid #5b8773!important;box-shadow:0 -8px 16px #0005!important}
#posView .cart-checkout-footer .payable{background:#13372b!important;border:1px solid #43896a!important}
#posView .cart-checkout-footer .payable span{color:#e0f5e8!important}
#posView .cart-checkout-footer #cartPayable{color:#b6ffd5!important;white-space:nowrap!important}
#posView .scuzo6700-delivery-heading,#posView .scuzo6700-delivery-note{color:#cde8dc!important}
#posView #checkoutBtn{min-height:49px!important;color:#06190f!important}
/* DESKTOP CASHIER: three stable zones; items and offer controls scroll separately,
   checkout footer stays in viewport even after applying a discount/reason. */
@media screen and (min-width:901px){
 #posView.active .cart-panel{display:flex!important;flex-direction:column!important;min-height:0!important;height:100%!important;max-height:100%!important;overflow:hidden!important;padding:10px 13px!important}
 #posView.active .cart-panel>.cart-head{flex:0 0 auto!important;min-height:46px!important}
 #posView.active .cart-panel>.cart-scroll-body{flex:0 1 29%!important;min-height:100px!important;max-height:230px!important;overflow-x:hidden!important;overflow-y:auto!important;padding:0 2px 4px!important;scrollbar-gutter:stable!important}
 #posView.active .cart-scroll-body .cart-customer{flex:0 0 auto!important;margin:4px 0 6px!important}
 #posView.active .cart-scroll-body #cartLines{flex:0 0 auto!important;height:auto!important;min-height:65px!important;max-height:none!important;overflow:visible!important;margin:0!important;padding:3px 0!important}
 #posView.active .cart-panel>.cart-quick-controls{flex:1 1 0!important;min-height:84px!important;max-height:none!important;overflow-x:hidden!important;overflow-y:auto!important;position:relative!important;z-index:1!important;overscroll-behavior:contain!important;scrollbar-gutter:stable!important;display:grid!important;align-content:start!important;gap:7px!important;padding:8px 1px!important}
 #posView.active .cart-panel>.cart-checkout-footer{flex:0 0 auto!important;min-height:0!important;position:relative!important;bottom:auto!important;z-index:2!important;gap:5px!important;padding:7px 1px 5px!important;margin:0!important}
 #posView.active .cart-checkout-footer .payable{padding:7px 10px!important}
 #posView.active .cart-checkout-footer #checkoutBtn{min-height:48px!important}
}
@media screen and (min-width:901px) and (max-height:740px){
 #posView.active .cart-panel>.cart-scroll-body{flex-basis:23%!important;min-height:76px!important}
 #posView.active .cart-panel>.cart-quick-controls{min-height:70px!important}
 #posView.active .cart-checkout-footer .payable{padding:5px 9px!important}
 #posView.active .scuzo6700-delivery-modes button{min-height:42px!important}
 #posView.active .cart-checkout-footer #checkoutBtn{min-height:44px!important}
}
/* Mobile drawer retains RC6695/6697 single scrolling behavior. */
@media screen and (max-width:700px){
 body.scuzo-mobile-billing.scuzo-mobile-cart-open #posView .cart-panel>.cart-scroll-body{flex:1 1 auto!important;max-height:none!important;min-height:0!important;overflow:auto!important}
 body.scuzo-mobile-billing.scuzo-mobile-cart-open #posView .cart-panel>.cart-quick-controls{flex:0 0 auto!important;overflow:visible!important;min-height:0!important}
 body.scuzo-mobile-billing.scuzo-mobile-cart-open #posView .cart-panel>.cart-checkout-footer{flex:0 0 auto!important;position:relative!important;bottom:auto!important}
}
/* Category-wide color recognition; text deliberately white and states high contrast. */
#posView .category-tabs button{color:#ebf2ee!important;font-weight:850!important;border:1px solid #47535b!important;box-shadow:none!important}
#posView .category-tabs button[data-ob-family="popsicle"]{background:#452d3b!important;border-color:#a5678e!important}
#posView .category-tabs button[data-ob-family="gelato"]{background:#453923!important;border-color:#bb9b57!important}
#posView .category-tabs button[data-ob-family="drinks"]{background:#244254!important;border-color:#599bb5!important}
#posView .category-tabs button[data-ob-family="bakery"]{background:#52382b!important;border-color:#b88965!important}
#posView .category-tabs button[data-ob-family="other"]{background:#2d3e3d!important;border-color:#6c9c8f!important}
#posView .category-tabs button.active{background:#276046!important;color:#f4fff8!important;border:2px solid #a8f3c7!important;box-shadow:0 0 0 2px #18201e!important}
#posView .category-tabs button:focus-visible{outline:3px solid #d0f1b7!important;outline-offset:2px!important}
/* Reports: dark colored KPI tiles, no white-on-white stats. */
#reportsView .report-kpi,#reportsView .comparison-card{background:#1e292f!important;border:1px solid #4e7473!important;color:#f1f7f4!important;box-shadow:none!important}
#reportsView .report-kpi:nth-child(6n+1),#reportsView .comparison-card:nth-child(5n+1){background:#193b30!important;border-color:#51856b!important}
#reportsView .report-kpi:nth-child(6n+2),#reportsView .comparison-card:nth-child(5n+2){background:#382d45!important;border-color:#9073a8!important}
#reportsView .report-kpi:nth-child(6n+3),#reportsView .comparison-card:nth-child(5n+3){background:#3c3026!important;border-color:#b38b60!important}
#reportsView .report-kpi:nth-child(6n+4),#reportsView .comparison-card:nth-child(5n+4){background:#1f3549!important;border-color:#6394b6!important}
#reportsView .report-kpi:nth-child(6n+5),#reportsView .comparison-card:nth-child(5n+5){background:#39293b!important;border-color:#aa75a3!important}
#reportsView .report-kpi:nth-child(6n){background:#293b31!important;border-color:#8ea775!important}
#reportsView .report-kpi strong,#reportsView .comparison-card strong{color:#f4fff9!important}
#reportsView .report-kpi span,#reportsView .report-kpi small,#reportsView .comparison-card span,#reportsView .comparison-card small{color:#c8d9d5!important}
#reportsView .report-filter-card,#reportsView .report-table-card{background:#1b252b!important;color:#eff6f3!important;border-color:#33474a!important}
#reportsView .report-tabs button,#reportsView .report-quick-actions button{background:#263740!important;color:#eaf3ef!important;border:1px solid #4d626a!important}
#reportsView .report-tabs button.active,#reportsView .report-quick-actions button.active{background:#2b5b43!important;color:#effff4!important;border-color:#83c7a4!important}
#reportsView .report-table th{background:#243d39!important;color:#effff4!important}
#reportsView .report-table td{background:#18242a!important;color:#e8f3ed!important;border-bottom:1px solid #364749!important}
#reportsView .report-table tbody tr:nth-child(even) td{background:#222f35!important}
#reportsView .report-table tbody tr:hover td{background:#2a3d42!important}
#reportsView .trend-col small,#reportsView .trend-value,#reportsView .mix-line small{color:#b9ceca!important}
#reportsView .mix-track{background:#33444a!important}
/* Common white legacy controls on delivery, sales, inventory, oversight and control pages. */
#appView .module-subnav button,#appView .control-section-nav button,
#appView .report-download-grid button,#appView .control-overview button,
#appView .physical-count-row,#appView .recipe-edit-line,#appView .held-queue-choice,
#appView .control-shortcuts button{background:#202c31!important;color:#eff6f3!important;border-color:#42565b!important;box-shadow:none!important}
#appView .module-subnav button.active,#appView .control-section-nav button.active{background:#2b5845!important;color:#f7fff9!important;border-color:#7fd1a4!important}
#appView .report-download-grid b,#appView .control-overview b,#appView .physical-count-row strong{color:#f6fff9!important}
#appView .report-download-grid small,#appView .control-overview small,#appView .held-queue-choice small{color:#becfc9!important}
#appView .table-scroll{border-color:#37474a!important}
#appView .form-help{color:#bed0c9!important}
/* Do not recolor print receipts, vendor-controlled Academy or other separate web pages. */
@media print {#appView,#posView{color:#000!important;background:#fff!important}}
@media screen and (min-width:901px){
 #posView.active .cart-panel>.cart-checkout-footer #posPaymentQuick{flex:0 0 auto!important;margin:0!important;padding:6px 8px 7px!important;min-height:0!important;position:static!important;box-shadow:none!important}
 #posView.active .cart-panel>.cart-checkout-footer #posPaymentQuick .pos-payment-buttons button{min-height:40px!important}
 #posView.active .cart-panel>.cart-quick-controls{scroll-padding-bottom:14px!important}
}
/* Per-tab identity (not only product family): each of the nine cash-desk tabs is visually distinct. */
#posView .category-tabs button[data-cat="all" i]{background:#254b39!important;border-color:#77b999!important}
#posView .category-tabs button[data-cat*="popsicle" i]{background:#582e47!important;border-color:#d18aa9!important}
#posView .category-tabs button[data-cat*="gelato" i]{background:#433563!important;border-color:#ac96db!important}
#posView .category-tabs button[data-cat*="beverage" i]{background:#254862!important;border-color:#7db6d2!important}
#posView .category-tabs button[data-cat*="waffle" i]{background:#624224!important;border-color:#dbad71!important}
#posView .category-tabs button[data-cat*="sundae" i]{background:#633246!important;border-color:#e29aac!important}
#posView .category-tabs button[data-cat*="brownie" i]{background:#513627!important;border-color:#c39371!important}
#posView .category-tabs button[data-cat*="faluda" i]{background:#4c344e!important;border-color:#b596d4!important}
#posView .category-tabs button[data-cat*="add on" i]{background:#2a514a!important;border-color:#8ccebc!important}
#posView .category-tabs button.active{outline:2px solid #b3f4cf!important;outline-offset:1px!important;color:#fafffb!important}
