/* SCUZO ONE POS — RC6.6.9.9 Obsidian. VISUAL UAT ONLY.
   Overrides the RC6698 theme. No payment / print / cart handlers changed.
   Desktop product dimensions and mobile grid uniform; mobile scroll preserved.
*/
:root {
  color-scheme:dark;
  --navy:#171b22; --navy2:#1f262e; --blue:#86c7a5;
  --red:#eb706c; --gold:#e6bb7a; --green:#77cfa2;
  --orange:#e9a36e; --ink:#edf3f0; --muted:#9aa6a6;
  --line:#2c3339; --bg:#0b0d11; --card:#181c22;
  --soft:#232830; --danger:#f18484;
  --shadow:0 12px 30px rgba(0,0,0,.2);
  --ob-bg:#0b0d11; --ob-panel:#181c22; --ob-panel-2:#20252c;
  --ob-border:#303840; --ob-text:#eef3f1; --ob-sub:#9eaaa9;
  --ob-green:#85d9af;
}
html,body{background:var(--ob-bg);color:var(--ob-text)}
#appView{background:var(--ob-bg);color:var(--ob-text)}
#appView .topbar{background:#11151a;border-bottom:1px solid var(--ob-border);box-shadow:none}
#appView .topbar .header-brand-copy .product-name{color:#f5f8f7;letter-spacing:-.4px}
#appView .topbar .byline{color:#8bbfa3}
#appView .topbar .store-head label{color:#a4b0b0}
#appView .topbar .store-head select{background:#20262c;color:#edf2ef;border-color:#3b474c}
#appView .topbar .store-head select option{background:#20262c;color:#edf2ef}
#appView .top-status .badge{background:#222b2b;color:#b3e4c9;border-color:#354941}
#appView .connection-box{color:#b8c5c2}
#appView .sidebar{background:#11151a;border-right:1px solid var(--ob-border)}
#appView .sidebar .side-label{color:#758381}
#appView .sidebar button,#appView .sidebar a.knowledge-nav-link{color:#aab6b3;background:transparent;border-radius:12px}
#appView .sidebar button:hover,#appView .sidebar a.knowledge-nav-link:hover{background:#252c31;color:#f0f5f1}
#appView .sidebar button.active{background:#20342c;color:#9ce2bd;box-shadow:inset 3px 0 #85d9af}
#appView .view-stage{background:#0c0f13}
#appView .view-stage .view.scroll-view{background:#0c0f13}
#appView .page-head,#dashboardView .page-head{background:#14191e;border:1px solid #2c343a;border-radius:18px;box-shadow:none;padding:16px 19px}
#dashboardView .page-head h1,#appView .page-head h1{color:#f0f4f3}
#appView .page-head p,#appView .muted,#appView .card small{color:#a2aeae}
#appView .eyebrow{color:#89d7ad}
#appView .section-title{color:#eaf0ed}
#appView .card,#appView .module-card,#appView .kpi,#appView .mini-kpi,
#appView .recipe-card,#appView .integration-card,#appView .store-master-card,
#appView .delivery-order-card,#appView .delivery-detail-card{
  background:#181d23;color:#edf2ef;border:1px solid #2d363d;box-shadow:none;border-radius:17px;
}
#appView .kpi:nth-child(n){background:#181e23;border-top:2px solid #3e7160}
#appView .kpi:nth-child(4n+2){border-top-color:#b27d64}
#appView .kpi:nth-child(4n+3){border-top-color:#8d78b3}
#appView .kpi:nth-child(4n){border-top-color:#9b9258}
#appView .kpi:nth-child(n):after{background:rgba(126,201,165,.055);box-shadow:none}
#appView .kpi strong{color:#eff5f2}
#appView .kpi small{color:#a2adaa}
#appView .module-card:nth-child(n){background:#181e24;border-bottom:1px solid #303840}
#appView .module-card:hover{border-color:#5e9780;transform:translateY(-1px);background:#20272b}
#appView .module-card strong{color:#eaf1ee}
#appView .module-card em{color:#9cddbb}
#appView .primary{background:#76c99c;border:1px solid #76c99c;color:#091812;box-shadow:none}
#appView .primary:hover:not(:disabled){background:#94e4b8;filter:none}
#appView .secondary,#appView .ghost{background:#262d33;color:#edf2ee;border:1px solid #3a464b;box-shadow:none}
#appView .secondary:hover{background:#303940}
#appView .soft-danger{background:#382427;color:#f9b5b5;border-color:#724047}
#appView input,#appView select,#appView textarea,
#appView .card input,#appView .card select,#appView .card textarea{
  background:#21272d;color:#eff5f0;border-color:#3b464a;box-shadow:none;
}
#appView input::placeholder,#appView textarea::placeholder{color:#899997;opacity:1}
#appView select option{background:#21272d;color:#eff5f0}
#appView label{color:#c2ceca}
#appView input:focus-visible,#appView select:focus-visible,#appView textarea:focus-visible,
#appView button:focus-visible,#appView a:focus-visible{outline:2px solid #a2e9bf;outline-offset:2px}
#appView .status.ok{background:#173629;color:#a2ebc3}
#appView .status.warn{background:#392e1b;color:#f0cc8b}
#appView .status.bad{background:#41262b;color:#f5b4b8}
#appView .rule-banner{background:#1d2d31;border-color:#355158;color:#bfdddd}
#appView .rule-banner.warning{background:#332b1f;border-color:#77613d;color:#f2d39b}
#appView .table-card,#appView .data-row,#appView .ready-row{border-color:#323c41}
#appView .store-card,#appView .muted-box,#appView .catalog-right-row,
#appView .check-label,#appView .camera-card,#appView .store-advanced,
#appView .recipe-input,#appView .integration-card .integration-health span{
  background:#20262c;color:#d6dfda;border-color:#37434a;
}
#appView pre,#appView code{background:#20262c;color:#d0e3da}
#appView .modal-card,#appView .pos-order-dialog,#appView .digital-invoice-card{background:#1b2026;color:#f0f4f1;border:1px solid #3b4449}
#appView .modal-card p{color:#c1cdca}
/* Stable, premium two-pane billing surface */
#posView .catalog-panel{background:#0e1216}
#posView .cart-panel{background:#161c21;border-color:#313a40;box-shadow:none}
#posView .cart-checkout-footer,#posView .cart-quick-controls{background:#161c21}
#posView .customer-gate,#posView .order-source-panel,
#posView .pos-verified-strip{background:#1b2228;color:#eff4ef;border:1px solid #344047;box-shadow:none;border-radius:15px}
#posView .gate-title strong,#posView .catalog-toolbar .gate-title strong{color:#ecf1ef}
#posView .gate-title small,#posView .catalog-toolbar .gate-title small{color:#9caaa8}
#posView .step-number{background:#203f34;color:#a1eabf;border:1px solid #3a6653}
#posView .customer-status.verified,#posView .verified-customer{background:#1a332a;color:#a6eaca;border-color:#3a6552}
#posView .customer-status.waiting{background:#262c33;border-color:#3a454c}
#posView .catalog-lock{background:#392e20;color:#edce92;border-color:#6e5836}
#posView .category-tabs button{background:#1d242a;border:1px solid #313c40;color:#aebbb9;border-radius:12px;box-shadow:none;min-height:38px}
#posView .category-tabs button.active{background:#203d30;border-color:#559672;color:#b8efcf;box-shadow:none}
#posView .category-tabs button[data-ob-family="popsicle"]:not(.active){border-bottom-color:#b37569}
#posView .category-tabs button[data-ob-family="gelato"]:not(.active){border-bottom-color:#c2a77a}
#posView .category-tabs button[data-ob-family="drinks"]:not(.active){border-bottom-color:#659ab6}
#posView .category-tabs button[data-ob-family="bakery"]:not(.active){border-bottom-color:#b48e62}
/* Group sections are independent; rows all have exactly the same measured height */
#posView #productGrid.product-grid{grid-auto-rows:auto;align-content:start}
#posView #productGrid .product-section-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(142px,1fr));grid-auto-rows:190px;gap:10px;align-items:stretch}
#posView #productGrid .product-section-title{color:#c9d5d0;border-color:#313b3e}
#posView #productGrid .product-section-title span{color:#8fa19b}
#posView #productGrid button.product{
 --ob-flavour:#85d9af;--ob-flavour-rgb:133,217,175;
 position:relative;min-width:0;min-height:0;height:100%;width:100%;display:flex;flex-direction:column;
 align-items:flex-start;text-align:left;padding:11px!important;border-radius:15px;
 background:#1b2127!important;border:1px solid #364148!important;box-shadow:none;overflow:hidden;
 transition:border-color .12s,background .12s,transform .12s;
}
#posView #productGrid button.product:before{content:"";position:absolute;top:0;left:0;right:0;height:3px;background:var(--ob-flavour)}
#posView #productGrid button.product:not(:disabled):hover{background:#222a2f!important;border-color:var(--ob-flavour);transform:translateY(-1px)}
#posView #productGrid button.product .product-art{
 width:53px;height:53px;border-radius:13px;margin-bottom:10px;font-size:29px;
 background:rgba(var(--ob-flavour-rgb),.12)!important;border:1px solid rgba(var(--ob-flavour-rgb),.26);box-shadow:none;
}
#posView #productGrid button.product .group{display:block;font-size:9px;letter-spacing:.4px;color:var(--ob-flavour);line-height:1.15;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#posView #productGrid button.product strong{font-size:12px;font-weight:760;line-height:1.3;color:#edf4f0;min-height:31px;max-height:32px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;max-width:100%;margin:5px 0 6px}
#posView #productGrid button.product .price{font-size:17px;color:#f2f8f4;font-weight:900;margin-top:auto}
#posView #productGrid button.product:disabled{opacity:.48}
#posView #productGrid button.product .procurement-lock{color:#e8b0a8}
#posView #productGrid button.product[data-ob-flavor="mango"]{--ob-flavour:#e9ad52;--ob-flavour-rgb:233,173,82}
#posView #productGrid button.product[data-ob-flavor="kiwi"]{--ob-flavour:#91cb81;--ob-flavour-rgb:145,203,129}
#posView #productGrid button.product[data-ob-flavor="jamun"]{--ob-flavour:#aa8bdc;--ob-flavour-rgb:170,139,220}
#posView #productGrid button.product[data-ob-flavor="strawberry"]{--ob-flavour:#e9849b;--ob-flavour-rgb:233,132,155}
#posView #productGrid button.product[data-ob-flavor="pineapple"]{--ob-flavour:#eac37b;--ob-flavour-rgb:234,195,123}
#posView #productGrid button.product[data-ob-flavor="coconut"]{--ob-flavour:#b8d3bf;--ob-flavour-rgb:184,211,191}
#posView #productGrid button.product[data-ob-flavor="chocolate"]{--ob-flavour:#ba957b;--ob-flavour-rgb:186,149,123}
#posView #productGrid button.product[data-ob-flavor="coffee"]{--ob-flavour:#c3aa8e;--ob-flavour-rgb:195,170,142}
#posView #productGrid button.product[data-ob-flavor="caramel"]{--ob-flavour:#d9aa68;--ob-flavour-rgb:217,170,104}
#posView #productGrid button.product[data-ob-flavor="berry"]{--ob-flavour:#cd83b1;--ob-flavour-rgb:205,131,177}
#posView #productGrid button.product[data-ob-flavor="guava"]{--ob-flavour:#e2a0a0;--ob-flavour-rgb:226,160,160}
#posView #productGrid button.product[data-ob-flavor="vanilla"]{--ob-flavour:#dec797;--ob-flavour-rgb:222,199,151}
#posView #productGrid button.product[data-ob-flavor="mint"]{--ob-flavour:#87cbb2;--ob-flavour-rgb:135,203,178}
#posView #productGrid button.product[data-ob-flavor="lemon"]{--ob-flavour:#d2cd7d;--ob-flavour-rgb:210,205,125}
#posView .cart-head h2{color:#f2f6f3}
#posView .count-pill{background:#24372d;color:#a9e6bf}
#posView .cart-line{border-color:#353e41}
#posView .cart-line strong,#posView .cart-total>span{color:#e5eeea}
#posView .cart-total strong,#posView #cartPayable{color:#b0e9c9}
#posView .qty-tools button{background:#293239;color:#eef4ef;border:1px solid #46514e}
#posView .qty-tools .qty-manual{background:#20262c;color:#eff5f1;border-color:#44514f}
#posView .line-type{background:#25372e;color:#a8e2bd}
#posView .loyalty-preview,#posView .loyalty-redeem-card{background:#272821;color:#e5dba8;border:1px solid #494434}
#posView .loyalty-preview strong{color:#e5ca88}
#posView .pos-payment-buttons button,#posView .pos-offer-buttons button{background:#252d33;border-color:#46514f;color:#dce7e2}
#posView .pos-payment-buttons button.is-selected{background:#213e32;border-color:#81cba3;color:#bcecd0}
#posView .cart-quick-controls .primary,#posView #checkoutBtn{background:#78cea1!important;color:#0a1a11!important;border:1px solid #78cea1!important}
#posView .pos-floating-panel,#posView .pos-discount-reason,#posView .bill-discount-control{background:#222930;color:#e9f2ed;border-color:#45534e}
#posView .pos-floating-panel label,#posView .pos-discount-reason label{color:#d7e5dc}
/* Explicit mobile overrides, but DO NOT TOUCH scrolling structure from RC6697 */
@media screen and (max-width:700px){
 body.scuzo-mobile-billing #posView #productGrid .product-section-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-auto-rows:211px!important;gap:9px!important}
 body.scuzo-mobile-billing #posView #productGrid .scuzo6696-tile{
  --ob-flavour:#85d9af;--ob-flavour-rgb:133,217,175;
  height:211px;min-height:211px;min-width:0;display:flex;flex-direction:column;padding:5px!important;
  background:#1b2227!important;border:1px solid #354148!important;border-radius:15px!important;box-shadow:none!important;
 }
 body.scuzo-mobile-billing #posView #productGrid .scuzo6696-tile.selected{border:2px solid #76cfa0!important;padding:4px!important;background:#202c29!important}
 body.scuzo-mobile-billing #posView #productGrid .scuzo6696-tile>.product{padding:7px!important;flex:1;min-height:0;height:auto!important}
 body.scuzo-mobile-billing #posView #productGrid .scuzo6696-tile .product-art{width:39px!important;height:39px!important;font-size:24px!important;margin-bottom:4px!important}
 body.scuzo-mobile-billing #posView #productGrid .scuzo6696-tile .product strong{font-size:12px!important;line-height:1.25;min-height:30px;margin-bottom:3px}
 body.scuzo-mobile-billing #posView #productGrid .scuzo6696-tile .product .price{font-size:15px!important}
 body.scuzo-mobile-billing #posView #productGrid .scuzo6696-tile-controls{flex:0 0 42px;min-height:42px;grid-template-columns:40px minmax(0,1fr) 40px;gap:4px}
 body.scuzo-mobile-billing #posView #productGrid .scuzo6696-tile-controls button{background:#29353a;color:#cfe8db;border-color:#405148;min-height:40px;border-radius:10px}
 body.scuzo-mobile-billing #posView #productGrid .scuzo6696-tile-controls button.scuzo6696-add{background:#78cda2;color:#0a1910;border-color:#78cda2}
 body.scuzo-mobile-billing #posView #productGrid .scuzo6696-tile-controls strong{color:#c6d9cf}
 body.scuzo-mobile-billing #posView #productGrid .scuzo6696-card-badge{background:#6ec89b;color:#071510}
 body.scuzo-mobile-billing .scuzo-mobile-billing-toolbar{background:#182128;border-color:#35443e}
 body.scuzo-mobile-billing .scuzo-mobile-billing-toolbar strong{color:#e8f0eb}
 body.scuzo-mobile-billing #posView.active .scuzo6696-selection-summary:not([hidden]){background:#1c2826!important;color:#d9efe2!important;border:1px solid #3d7057!important;border-left:3px solid #78cda2!important;box-shadow:0 4px 14px rgba(0,0,0,.22)!important}
 body.scuzo-mobile-billing #posView .scuzo6696-summary-head span{color:#bce8cf}
 body.scuzo-mobile-billing #posView .scuzo6696-chip{background:#253c30;color:#c7e6d3;border-color:#476955}
 body.scuzo-mobile-billing #mobileCartJump:not(.hidden){background:#6fc89b!important;border-color:#8bdbb0!important;color:#071a10!important;box-shadow:0 7px 22px rgba(0,0,0,.34)!important}
 body.scuzo-mobile-billing.scuzo-mobile-cart-open #posView .cart-panel{background:#171d21!important}
 body.scuzo-mobile-billing.scuzo-mobile-cart-open #posView .cart-checkout-footer{background:#171d21!important}
 body.scuzo-mobile-billing.scuzo-mobile-cart-open .scuzo-mobile-cart-shortcuts button,
 body.scuzo-mobile-billing.scuzo-mobile-cart-open .scuzo6696-back{background:#27312f;color:#d9eee1;border-color:#455c51}
 body.scuzo-mobile-nav-open #appView .sidebar{background:#141a1e!important}
}
@media screen and (min-width:701px){
 #posView #productGrid .product-section-grid{grid-auto-rows:190px}
}
@media print{
 :root{color-scheme:light}
 #receiptPrint,#receiptPrint *{color:#000!important;background:#fff!important}
}
@media (prefers-reduced-motion:reduce){#appView .module-card,#posView #productGrid button.product{transition:none}}
