:root{--workspace-rail:64px;--workspace-panel:208px;--workspace-ink:#10334c;--workspace-muted:#63778b;--workspace-line:#dae5ef;--workspace-blue:#0b5983;--workspace-orange:#bd540b}
.workspace-shell{color:var(--workspace-ink);--workspace-keypad-width:clamp(180px,18vw,250px)}.workspace-shell button,.workspace-shell label,.workspace-shell h1,.workspace-shell h2,.workspace-shell h3,.workspace-shell th{text-transform:none!important}
.workspace-search-button{display:flex;align-items:center;gap:8px;min-height:42px;background:#fff;border:1px solid var(--workspace-line);color:#40576e;border-radius:9px;padding:8px 10px;font-size:13px}.workspace-search-button svg{width:17px;height:17px}.workspace-search-button kbd,.workspace-panel-help kbd{font-family:inherit;font-size:10px;color:#687e92;border:1px solid var(--workspace-line);border-radius:4px;padding:2px 4px;background:#f6f9fc}
.workspace-rail{background:#075a80;color:#e6f3fa;display:flex;flex-direction:column;gap:5px;padding:10px 7px;overflow-y:auto;align-items:center}.workspace-module{display:grid;place-items:center;flex:none;width:48px;height:48px;color:inherit;background:transparent;border:0;border-radius:10px;padding:12px}.workspace-module svg{width:23px;height:23px}.workspace-module span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.workspace-module:hover{background:#ffffff20}.workspace-module.is-current{background:#fff;color:#075a80}.workspace-module:focus-visible{outline:3px solid #f3ae65;outline-offset:1px}
.workspace-panel{background:#fff;border-right:1px solid var(--workspace-line);display:flex;flex-direction:column;color:#26435a;overflow:auto}.workspace-panel[hidden],.workspace-rail[hidden],.workspace-shade[hidden],.workspace-breadcrumb[hidden]{display:none!important}.workspace-panel-heading{display:flex;align-items:center;justify-content:space-between;padding:17px 14px;border-bottom:1px solid #e9eff5}.workspace-panel-heading strong{font-size:15px}.workspace-panel-heading button{background:#f1f5f9;border:0;color:#526d82;width:32px;height:32px;border-radius:6px;font-size:19px;padding:0}.workspace-panel-pages{padding:10px;display:grid;gap:4px}.workspace-panel-pages button{padding:11px 10px;text-align:left;background:transparent;border:0;border-radius:7px;color:#3a536b;font-size:13px;line-height:1.4}.workspace-panel-pages button:hover{background:#f1f7fb}.workspace-panel-pages [aria-current=page]{background:#e6f3fa;color:#075a80;font-weight:700}.workspace-panel-help{padding:15px 14px;font-size:11px;line-height:2;color:var(--workspace-muted);margin-top:auto}.workspace-shade{position:fixed;inset:var(--workspace-top,76px) 0 0 64px;background:#102a4326;border:0;border-radius:0;z-index:39;padding:0}
.workspace-breadcrumb{display:flex;align-items:center;gap:14px;font-size:12px;color:#6a7e90;padding:0 2px 12px}.workspace-breadcrumb button{border:0;background:transparent;color:#0b648c;font-size:12px;padding:4px}.workspace-breadcrumb strong{font-weight:600;color:#39566b}.workspace-breadcrumb span span{padding:0 8px}
.workspace-page-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:20px}.workspace-page-heading h2{font-size:24px;margin:3px 0 8px;font-weight:750;letter-spacing:-.5px}.workspace-page-heading p{font-size:13px;color:var(--workspace-muted);margin:0}.workspace-eyebrow{font-size:10px!important;letter-spacing:1.6px;color:#2583a1!important;font-weight:800}.workspace-report-centre{padding:22px;border:1px solid var(--workspace-line);background:#fff;border-radius:12px}.workspace-report-search{display:grid;gap:7px;max-width:460px;font-size:12px;font-weight:600;margin-bottom:22px}.workspace-report-search input{padding:12px;border:1px solid #cfdee9;border-radius:8px;width:100%}.workspace-report-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:14px}.workspace-report-card{display:grid;grid-template-columns:36px 1fr;gap:8px 12px;text-align:left;padding:19px;background:#fff;border:1px solid var(--workspace-line);border-radius:10px;min-height:152px;color:var(--workspace-ink)}.workspace-report-card:hover{border-color:#6ab0d0;box-shadow:0 3px 15px #0e476b0c}.workspace-report-card svg{width:26px;height:26px;grid-row:1/4;color:#1686ac}.workspace-report-card strong{font-size:14px}.workspace-report-card span{font-size:12px;line-height:1.6;color:var(--workspace-muted)}.workspace-report-card small{font-size:12px;color:#08749d;align-self:end}
#workspaceCommand{width:min(650px,calc(100vw - 24px));padding:0;border:1px solid #cbdce8;border-radius:14px;box-shadow:0 22px 80px #0a2f4b44;max-height:85dvh}#workspaceCommand::backdrop{background:#0b294b66;backdrop-filter:blur(3px)}.workspace-command-card{display:flex;flex-direction:column;padding:18px;max-height:80dvh;gap:12px}.workspace-command-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}.workspace-command-heading h2{font-size:17px;margin:0}.workspace-command-heading button{background:#f1f5f9;border:0;border-radius:6px;width:32px;height:32px;font-size:22px;color:#3b5569}.workspace-command-card input{padding:14px;border:1px solid #bfd6e5;border-radius:9px;flex:none;font-size:15px;width:100%}.workspace-command-results{overflow-y:auto;min-height:80px;display:flex;flex-direction:column;gap:4px}.workspace-command-results button{display:flex;align-items:center;gap:12px;min-height:58px;flex:none;width:100%;border:0;background:#fff;border-radius:8px;text-align:left;padding:9px 12px;color:#27445a}.workspace-command-results button:hover,.workspace-command-results button:focus-visible{background:#eaf5fb;outline:0}.workspace-command-results button>svg{width:21px;height:21px;color:#1782a3;flex:none}.workspace-command-results button>span:nth-child(2){display:grid;gap:3px;flex:1}.workspace-command-results strong{font-size:13px}.workspace-command-results small{font-size:11px;color:#7a8995}.workspace-command-results button>span:last-child{color:#8a9baa}.workspace-command-subtitle{font-size:11px;color:#7b8895;padding:8px 12px 0}.workspace-command-hint{font-size:11px;color:#8795a1;margin:0;padding-top:10px;border-top:1px solid #eef2f6}
.workspace-quick-actions{display:flex;flex-wrap:wrap;gap:6px;padding:12px 14px 4px}.workspace-quick-actions button{display:flex;align-items:center;justify-content:center;gap:5px;min-height:44px;padding:8px 11px;border:1px solid #c9ddeb;border-radius:8px;color:#195c84;background:#fff;font-size:12px;font-weight:600}.workspace-quick-actions button:disabled{opacity:.45}.workspace-quick-actions small{border-radius:20px;background:#e6f4fa;padding:2px 5px;font-size:10px}.workspace-quick-actions button[hidden]{display:none}.workspace-quick-cash{display:flex;gap:7px;flex-wrap:wrap;margin-top:10px}.workspace-quick-cash button{background:#f0f7fc;border:1px solid #c8deed;color:#12618a;border-radius:8px;min-width:64px;min-height:44px;padding:9px 14px;font-size:14px;font-weight:700}.workspace-quick-cash button:first-child{background:#e5f5ed;border-color:#b9ddcb;color:#16684c}.workspace-quick-cash[hidden]{display:none}.receipt-change{background:#e5f6ef;padding:16px!important;border-radius:10px;align-items:center}.receipt-change dt{font-size:14px;font-weight:600;color:#1a614a}.receipt-change dd{font-size:32px!important;color:#125e43!important;font-weight:800}
@media(min-width:601px){
 #appScreen.workspace-shell:not([hidden]){display:grid;grid-template-columns:var(--workspace-rail) minmax(0,1fr);grid-template-rows:auto auto minmax(0,1fr);align-items:start}
 #appScreen.workspace-docked:not([hidden]){grid-template-columns:var(--workspace-rail) var(--workspace-panel) minmax(0,1fr)}
 .workspace-shell>.topbar{grid-column:1/-1;grid-row:1;position:sticky;top:0;z-index:60;min-height:72px}.workspace-shell>#licenseNotice{grid-column:1/-1;grid-row:2}.workspace-shell>nav.tabs{display:none!important}
 .workspace-shell>.workspace-rail{grid-column:1;grid-row:3;position:sticky;top:var(--workspace-top,72px);height:calc(100dvh - var(--workspace-top,72px));z-index:42}
 .workspace-shell>.workspace-panel{grid-column:2;grid-row:3;position:sticky;top:var(--workspace-top,72px);height:calc(100dvh - var(--workspace-top,72px));width:var(--workspace-panel);z-index:41}
 .workspace-shell>.workspace-panel.is-overlay{position:fixed;left:var(--workspace-rail);top:var(--workspace-top,72px);box-shadow:8px 0 20px #08263d22}
 .workspace-shell>main{grid-column:2;grid-row:3;min-width:0;padding:14px;max-width:none;width:100%;margin:0}.workspace-shell.workspace-docked>main{grid-column:3}
 #appScreen.workspace-cashier:not([hidden]){grid-template-columns:minmax(0,1fr)}.workspace-shell.workspace-cashier>main{grid-column:1}
 .workspace-shell .close-operation-view,.workspace-shell #suiteBack{display:none!important}
 .workspace-shell #orderView.active-view{grid-template-columns:minmax(0,1fr) clamp(350px,28vw,390px);gap:14px;min-height:calc(100dvh - var(--workspace-top,72px) - 28px)}
 .workspace-shell #orderView .catalog{min-width:0;padding:16px}.workspace-shell #orderView .product-grid{grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:10px}.workspace-shell #orderView .product-card{min-height:128px;padding:10px;border-radius:10px;border-color:#d6e5f0}.workspace-shell #orderView .product-details strong{font-size:16px;line-height:1.3;white-space:normal;display:block;overflow:visible}.workspace-shell #orderView .product-card .price{font-size:20px}.workspace-shell #orderView .product-card footer{flex-wrap:wrap;gap:4px}.workspace-shell #orderView .product-card .stock{font-size:10px}.workspace-shell #orderView .product-price-currency{font-size:10px}
 .workspace-shell #orderView .cart-title h2{font-size:17px}.workspace-shell #orderView .cart-title #salesMoreBtn,.workspace-shell #orderView .cart-title #salesHoldActions{display:none!important}.workspace-shell #orderView .cart-header-actions{margin-left:auto}.workspace-shell #orderView .cart{min-width:0}
 #appScreen.workspace-shell #orderView #productList:not(.list-mode) .product-card{min-height:128px;height:auto;padding:11px;border-radius:10px}
 #appScreen.workspace-shell #orderView #productList .product-card .product-details strong{font-size:16px;line-height:1.3}
 #appScreen.workspace-shell #orderView #productList .product-card .price{font-size:20px}
}
@media(min-width:601px) and (max-width:1040px){.workspace-shell #orderView.active-view{grid-template-columns:minmax(0,1fr) 330px}.workspace-shell #orderView .product-grid{grid-template-columns:repeat(auto-fill,minmax(145px,1fr))}.workspace-shell #orderView .category-list{width:110px}.workspace-shell .workspace-search-button kbd{display:none}.workspace-shell>.topbar{padding:10px 14px}.workspace-shell #companyName{font-size:17px}.workspace-shell #orderView .catalog{padding:10px}}
@media(min-width:601px) and (max-width:900px){.workspace-shell #orderView.active-view{grid-template-columns:minmax(0,1fr)}.workspace-shell #orderView .cart-panel{min-height:460px}.workspace-shell #orderView .category-list{width:auto}.workspace-shell>.topbar .header-logo{width:46px;height:46px}.workspace-search-button span{display:none}}
@media(max-width:600px){
 .workspace-rail,.workspace-panel,.workspace-shade{display:none!important}.workspace-search-button{display:none}.workspace-breadcrumb{padding:8px 4px 12px;gap:8px}.workspace-breadcrumb>span{font-size:11px}.workspace-page-heading h2{font-size:22px}.workspace-report-centre{padding:16px}.workspace-report-cards{grid-template-columns:minmax(0,1fr)}
 #mobileMoreDialog.workspace-phone-menu{inset:0;margin:0;width:100%;max-width:none;height:100dvh;max-height:none;border:0;border-radius:0;background:#f4f7fb;padding:0}.workspace-phone-menu>.dialog-card{min-height:100%;padding:18px 14px;max-width:none;display:block}.workspace-phone-menu .language-picker{margin-top:24px}.workspace-phone-search{display:grid;gap:8px;font-size:12px;font-weight:600;margin:14px 0}.workspace-phone-search input{padding:13px;border:1px solid #cbdde9;border-radius:9px;font-size:15px;width:100%}#workspacePhoneGroups section{margin:22px 0}#workspacePhoneGroups h3{font-size:12px;color:#708395;font-weight:700;letter-spacing:.3px;margin-bottom:10px}.workspace-phone-tiles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.workspace-phone-tiles button{display:flex;gap:10px;align-items:center;min-height:74px;text-align:left;padding:13px;background:#fff;color:#24475e;border:1px solid #dae5ed;border-radius:10px;font-size:13px;line-height:1.4}.workspace-phone-tiles svg{width:24px;height:24px;color:#1182a7;flex:none}.workspace-phone-tiles span{overflow-wrap:anywhere}.workspace-quick-actions{padding:10px 10px 4px;gap:5px}.workspace-quick-actions button{flex:1;padding:8px;min-width:62px;font-size:11px}.workspace-shell #orderView .cart-title #salesMoreBtn,.workspace-shell #orderView .cart-title #salesHoldActions{display:none!important}.workspace-shell #orderView .cart-title h2{font-size:17px}
}
@media print{.workspace-rail,.workspace-panel,.workspace-shade,.workspace-breadcrumb,.workspace-search-button,.workspace-quick-actions{display:none!important}#appScreen.workspace-shell{display:block!important}.workspace-shell>main{display:block!important;padding:0!important}}

@media(pointer:coarse){.workspace-panel-pages button{min-height:44px}.workspace-product-table td>button{min-height:44px}}

/* Price entry occupies a real grid column; product rows never wrap behind it. */
@media(min-width:601px){
 #appScreen.workspace-shell #orderView .catalog.price-keypad-active{display:grid;position:relative;grid-template-columns:var(--workspace-keypad-width) minmax(0,1fr);grid-template-rows:max-content max-content max-content minmax(0,1fr) max-content;align-content:start;gap:0 14px;padding:16px;--price-rail-width:0px}
 #appScreen.workspace-shell #orderView .catalog.price-keypad-active>#priceEntryPanel{position:sticky;top:calc(var(--workspace-top,72px) + 16px);left:auto;width:auto;min-width:0;grid-column:1;grid-row:1/-1;display:flex;flex-direction:column;align-self:start;gap:10px;margin:0;max-height:calc(100dvh - var(--workspace-top,72px) - 32px);overflow:auto}
 #appScreen.workspace-shell #orderView .catalog.price-keypad-active>.search-row{grid-column:2;grid-row:1;min-width:0}
 #appScreen.workspace-shell #orderView .catalog.price-keypad-active>.category-list{grid-column:2;grid-row:2;width:auto;min-width:0}
 #appScreen.workspace-shell #orderView .catalog.price-keypad-active>#nextItemPrice{grid-column:2;grid-row:3;min-width:0}
 #appScreen.workspace-shell #orderView .catalog.price-keypad-active>#productList{grid-column:2;grid-row:4;width:auto;min-width:0;margin:12px 0 0;align-content:start}
 #appScreen.workspace-shell #orderView .catalog.price-keypad-active>#productList:not(.list-mode){grid-template-columns:repeat(auto-fill,minmax(min(100%,160px),1fr));grid-auto-rows:auto}
 #appScreen.workspace-shell #orderView .catalog.price-keypad-active>#productList::before{display:none;content:none}
 #appScreen.workspace-shell #orderView .catalog.price-keypad-active>#productEmpty{grid-column:2;grid-row:5}
 #appScreen.workspace-shell #orderView .catalog.price-keypad-active>#priceEntryPanel .price-entry-row{display:grid;grid-template-columns:minmax(0,1fr);width:100%;gap:8px}
}
/* Restore the original single-line cart columns and headings. */
@media(min-width:1200px){
 #appScreen.workspace-shell #orderView.active-view{grid-template-columns:minmax(0,1fr) clamp(480px,33vw,580px)}
}
@media(min-width:901px) and (max-width:1199px){
 #appScreen.workspace-shell #orderView.active-view{grid-template-columns:minmax(0,1fr) 400px}
}
@media(min-width:901px){
 #appScreen.workspace-shell #orderView .cart-panel{top:calc(var(--workspace-top,72px) + 14px);height:calc(100dvh - var(--workspace-top,72px) - 28px);min-height:0;min-width:0}
}
@media(min-width:601px) and (max-width:1199px){
 #appScreen.workspace-shell #orderView .cart-grid-heading,#appScreen.workspace-shell #orderView .cart-grid-row{grid-template-columns:minmax(60px,1fr) 48px 75px 82px 64px;gap:6px}
}
/* Tiles below the keypad use both columns; normal flow keeps scrolling rows clear. */
@media(min-width:601px){
 #appScreen.workspace-shell #orderView .catalog.price-keypad-active.keypad-products-flow>#priceEntryPanel{position:static;top:auto}
 #appScreen.workspace-shell #orderView .catalog.price-keypad-active>#productList.keypad-flow-products:not(.list-mode){grid-column:1/-1;grid-template-columns:var(--workspace-keypad-width) minmax(0,1fr);gap:10px 14px;align-content:start}
 #productList.keypad-flow-products>.keypad-products-reserve{grid-column:1;grid-row:1;min-width:0;align-self:start;pointer-events:none}
 #productList.keypad-flow-products>.keypad-products-side{grid-column:2;grid-row:1}
 #productList.keypad-flow-products>.keypad-products-below{grid-column:1/-1;grid-row:2}
 #productList.keypad-flow-products>.keypad-products-side,#productList.keypad-flow-products>.keypad-products-below{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,160px),1fr));gap:10px;min-width:0;align-content:start}
 #productList.keypad-flow-products>.keypad-products-below[hidden]{display:none!important}
}
/* Wider touch keypad and a smaller cart on desktop registers. */
@media(min-width:1200px){
 .workspace-shell{--workspace-keypad-width:clamp(270px,22vw,330px)}
 #appScreen.workspace-shell #orderView #priceKeypad{gap:8px}
 #appScreen.workspace-shell #orderView #priceKeypad>button{min-height:60px;font-size:24px}
 #appScreen.workspace-shell #orderView #priceKeypad .price-quick-amounts{gap:8px}
 #appScreen.workspace-shell #orderView #priceKeypad .price-quick-amounts button{min-height:48px;font-size:18px}
 #appScreen.workspace-shell #orderView #priceEntryAmount{min-height:80px}
 #appScreen.workspace-shell #orderView .cart-grid-heading,#appScreen.workspace-shell #orderView .cart-grid-row{grid-template-columns:minmax(80px,1fr) 62px 90px 96px 68px;gap:6px}
}
#appScreen.workspace-shell #orderView #productList{align-content:start}

/* Refund and receipt reprint are available in the sale action toolbar. */
#salesMoreActions #refundTab,#salesMoreActions #recentSalesBtn{display:none!important}

/* Give the selected shop name the space formerly occupied by header search. */
@media(min-width:601px){
 #appScreen.workspace-shell>.topbar .top-actions .shop-label{min-width:0;max-width:100%;margin-right:0;flex:1 1 auto}
 #appScreen.workspace-shell>.topbar .top-actions .shop-label select{width:clamp(360px,36vw,560px);min-width:0;max-width:100%;font-size:14px}
}
@media(max-width:600px){
 #appScreen.workspace-shell>.topbar .top-actions .shop-label{grid-column:1/-1;grid-row:3;display:flex;align-items:center;gap:8px;font-size:12px;width:100%;max-width:100%;min-width:0;margin:2px 0 0}
 #appScreen.workspace-shell>.topbar .top-actions .shop-label select{flex:1;min-width:0;width:100%;max-width:100%;min-height:40px;font-size:14px}
}


