.basket-empty{overflow:auto;min-height:0}.basket-line{display:grid;grid-template-columns:25px minmax(80px,1fr) 80px 40px 65px;align-items:center;width:100%;text-align:left;border:0;border-bottom:1px solid #bed0e4;border-radius:0;box-shadow:none;background:#f6f9fd;min-height:65px;padding:8px 5px;font-size:13px;gap:0}.basket-line:nth-child(even){background:#dce8f3}.basket-line.selected{background:#ccdef1;box-shadow:inset 4px 0 #267fd0}.basket-line small{display:block;font-size:10px;font-weight:400;margin-top:5px;color:#526f8c}.basket-line>span:nth-child(n+3){text-align:right;padding-right:5px}.basket-start{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;min-height:150px;height:100%;padding:20px;text-align:center;color:#668097}.basket-start strong{font-size:18px;color:#41617f}.basket-start small{font-size:11px}.basket-summary small{display:block;margin-top:5px;color:#496c8c;font-size:11px}.payment-due{background:linear-gradient(#386185,#203d58);color:white;border-radius:12px;padding:22px;display:flex;flex-direction:column;gap:8px}.payment-due strong{font-size:44px}.till-tools{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.till-tools button{min-height:85px}.till .line-actions{display:grid;grid-template-rows:repeat(9,minmax(0,1fr));overflow:visible;gap:4px}.till .line-actions button{min-height:0;height:100%;padding:4px 3px}.till .line-actions .desktop-icon{height:21px;width:21px}.till{min-height:650px}.statusbar{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.till .tile:focus-visible{outline-offset:-3px}.till .tile .price{z-index:1}@media(max-height:800px){.till-left{grid-template-rows:1fr 215px}.till .line-actions button{font-size:11px}.till .line-actions .desktop-icon{height:18px;width:18px}.till{min-height:620px}.till-header{gap:8px}.payment .keypad button{font-size:21px}}@media(max-width:1100px){.basket-line{grid-template-columns:20px minmax(70px,1fr) 65px 35px 60px;font-size:12px}.basket-head{grid-template-columns:20px 1fr 65px 35px 60px}.till-tools{grid-template-columns:repeat(2,1fr)}}

.till .line-actions{max-height:428px;padding:0}
.till .basket-line{grid-template-columns:26px minmax(0,1fr) 88px 54px 92px;font-size:18px;font-weight:700;min-height:80px;line-height:1.35;padding:12px 7px}
.till .basket-line>span:nth-child(2){overflow-wrap:anywhere;padding-right:8px}
.till .basket-line small{font-size:12px;font-weight:600;line-height:1.4}
.till .basket-head{grid-template-columns:26px minmax(0,1fr) 88px 54px 92px;font-size:14px;font-weight:700;padding:0 7px}
.till .basket-empty{overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain}
@media(max-width:1100px){.till .basket-line{grid-template-columns:22px minmax(0,1fr) 70px 45px 72px;font-size:16px}.till .basket-head{grid-template-columns:22px minmax(0,1fr) 70px 45px 72px;font-size:12px}.till .basket-line small{font-size:11px}}
.till{grid-template-rows:58px minmax(0,1fr) 24px}.till-body,.till-upper{grid-template-rows:minmax(0,1fr)}.till-left{grid-template-rows:minmax(0,1fr) 232px}.basket{grid-template-rows:36px minmax(0,1fr) 60px 46px;overflow:hidden}@media(max-height:800px){.till-left{grid-template-rows:minmax(0,1fr) 215px}}
.till-entry-layout{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:24px;align-items:start}.till-entry-fields{display:grid;gap:12px}.till-entry-fields h3{margin:0}.till-entry-fields input{font-size:25px;font-weight:700}.till-touch-entry{padding:14px;background:#edf4fb;border:1px solid #c2d4e7;border-radius:12px}.keypad-target{margin:0 0 12px;font-size:14px;font-weight:700;min-height:35px}.touch-number-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin-bottom:12px}.touch-number-grid button{min-height:57px;font-size:25px;font-weight:700;padding:5px}.till-touch-entry>button{width:100%}.till-entry-fields input.keypad-active{border:2px solid #287fcc;background:#f0f7ff}@media(max-width:650px){.till-entry-layout{grid-template-columns:1fr}.touch-number-grid button{min-height:48px}}

/* Touch entry keeps primary actions outside the scrollable content. */
#modal.touch-entry-dialog{width:min(790px,96vw);max-height:96dvh;overflow:hidden}
#modal.touch-entry-dialog[open]{display:flex;flex-direction:column}
.touch-entry-dialog .modal-head{padding:14px 20px;gap:14px;flex:none}
.touch-entry-dialog .modal-head h2{font-size:24px}
.touch-entry-dialog .modal-icon{padding:10px;border-radius:14px}
.touch-entry-dialog .modal-body{padding:18px 20px;max-height:none;min-height:0;overflow:auto}
.touch-entry-dialog .modal-foot{padding:12px 20px;flex:none;justify-content:space-between;align-items:center}
.touch-entry-dialog .modal-foot button{min-height:48px}
.touch-entry-dialog .till-entry-layout{grid-template-columns:minmax(0,1fr) 260px;gap:20px}
.touch-entry-dialog .till-entry-fields{gap:12px;align-content:start}
.entry-product-card{background:linear-gradient(120deg,#254663,#386c96);border-radius:12px;padding:17px 18px;color:white;border:1px solid #345e7c}
.entry-product-card small{font-size:10px;letter-spacing:1.2px;color:#cfe3f5;font-weight:700}
.entry-product-card h3{font-size:22px;margin:7px 0 0;line-height:1.2}
.touch-entry-dialog .till-entry-fields input{height:65px;font-size:32px;border-radius:9px;text-align:right;padding:8px 14px;font-variant-numeric:tabular-nums}
.touch-entry-dialog .till-entry-fields label{font-size:14px}
.touch-entry-dialog .till-entry-fields p{margin:0;font-size:13px}
.touch-entry-dialog .till-touch-entry{padding:12px;background:#e9f1f9}
.touch-entry-dialog .keypad-target{min-height:0;margin:0 0 10px;font-size:13px}
.touch-entry-dialog .touch-number-grid{gap:6px;margin-bottom:8px}
.touch-entry-dialog .touch-number-grid button{min-height:49px;height:49px;font-size:26px}
.touch-entry-dialog .till-touch-entry>button{min-height:42px;padding:6px}
.touch-entry-dialog #weight-preview{padding:12px;border-radius:9px;background:#e3f3ed;color:#17634d;font-size:20px;font-weight:700}
.touch-entry-dialog .design-status:empty{display:none}
.touch-entry-dialog .design-status.error{margin-top:8px}
@media(max-height:650px){.touch-entry-dialog .modal-head{padding:10px 18px}.touch-entry-dialog .modal-body{padding:12px 18px}.touch-entry-dialog .till-entry-fields{gap:8px}.entry-product-card{padding:12px 14px}.touch-entry-dialog .till-entry-fields input{height:54px;min-height:48px}.touch-entry-dialog .modal-foot{padding:10px 18px}}
@media(max-width:580px){.touch-entry-dialog .till-entry-layout{grid-template-columns:minmax(0,1fr) 200px;gap:10px}.touch-entry-dialog .modal-body{padding:12px}.touch-entry-dialog .modal-head .muted{font-size:11px}.entry-product-card h3{font-size:18px}}
@media(max-width:420px){.touch-entry-dialog .till-entry-layout{grid-template-columns:1fr}.touch-entry-dialog .modal-foot{gap:8px;padding:10px}.touch-entry-dialog .modal-foot button{font-size:12px;padding:8px}}
.till-sound-setting{display:flex;align-items:center;gap:14px;padding:16px;background:#eaf4ef;border:1px solid #a6ccbc;border-radius:10px;margin:14px 0 6px}.till-sound-setting>span:first-child{flex:1}.till-sound-setting small{display:block;font-size:13px;font-weight:400;margin-top:5px}.till-sound-setting input{width:27px;height:27px;min-height:27px;margin:0;accent-color:#218466}.till-sound-setting:has(input:not(:checked)){background:#edf2f7;border-color:#bdcddd}#till-sound-state{font-size:13px;font-weight:700;min-width:30px}
#order-results td:first-child{overflow-wrap:anywhere;max-width:240px}.payment-due span{overflow-wrap:anywhere}
.saved-order-dialog .tablewrap{min-height:0;max-height:220px;overflow:auto}.saved-order-dialog .payment-due{padding:15px}.saved-order-dialog .design-summary{font-size:20px;font-weight:700;margin:10px 0;background:#e5f4ee}.saved-order-dialog .modal-body{padding:18px 24px}.saved-order-dialog .payment-due strong{font-size:36px}
#modal.payment-complete-dialog{width:min(526px,96vw);max-height:94dvh}.payment-complete-dialog .modal-head{background:#193e49;color:white;padding:18px}.payment-complete-dialog .modal-head h2{font-size:26px}.payment-complete-dialog .modal-head .muted{color:#c5dce2}.payment-complete-dialog .modal-icon{display:none}.payment-complete-dialog .modal-body{padding:22px;max-height:65dvh}.completion-amounts{display:flex;justify-content:space-between;gap:20px;color:#244650}.completion-amounts span{display:block;font-size:18px;color:#68808d}.completion-amounts strong{display:block;font-size:36px;margin-top:10px}.completion-reference{font-size:12px;overflow-wrap:anywhere;color:#607886;line-height:1.6}.completion-actions{display:grid;grid-template-columns:1.2fr 1fr;gap:12px}.completion-actions button{min-height:66px;font-size:17px}.completion-actions button:last-child{grid-column:span 2;min-height:48px}.payment-complete-dialog .modal-foot{padding:12px 22px 20px}.payment-complete-dialog .modal-foot button{width:100%;min-height:66px;font-size:24px;background:#147f90;color:white}.payment-complete-dialog #receipt-action-status{font-size:12px;line-height:1.4;margin-bottom:0}.receipt-print-frame{position:fixed;width:1px;height:1px;left:-10000px;border:0}.receipt-draft-link{display:inline-block;padding:14px;margin-top:12px;background:#e2f0fb;border:1px solid #b3cadf;border-radius:6px}.order-history-filters{display:grid;grid-template-columns:2fr 1fr 1fr;gap:12px;margin-bottom:16px}.order-history-dialog .tablewrap{min-height:0}.order-history-dialog .modal-body{max-height:62dvh}.receipt-view-dialog{width:min(480px,95vw)}.thermal-receipt{max-width:80mm;margin:auto;color:#172a35;background:white;font-size:13px}.thermal-receipt h2{font-size:19px}.thermal-receipt .tablewrap{min-height:0!important;max-height:none!important;border:0}.thermal-receipt table{font-size:12px}.thermal-receipt th,.thermal-receipt td{padding:8px 4px!important}.thermal-receipt p{overflow-wrap:anywhere}.saved-order-dialog .modal-foot{flex-wrap:wrap}@media(max-width:650px){.order-history-filters{grid-template-columns:1fr 1fr}.order-history-filters label:first-child{grid-column:span 2}}
#modal.product-browser-dialog{width:min(1256px,96vw);height:min(776px,94dvh);max-height:94dvh;background:#dfe8f1;overflow:hidden}.product-browser-dialog[open]{display:flex;flex-direction:column}.product-browser-dialog .modal-head{background:linear-gradient(110deg,#304b65,#506f8c);color:white;padding:15px 24px;flex:none}.product-browser-dialog .modal-head h2{font-size:29px}.product-browser-dialog .modal-head .muted{color:#cedce8}.product-browser-dialog .modal-icon{background:transparent;color:white}.product-browser-dialog .modal-body{display:flex;flex-direction:column;min-height:0;max-height:none;flex:1;overflow:hidden;padding:14px 24px 0}.product-browser-filters{display:grid;grid-template-columns:minmax(180px,1fr) 200px 120px 140px;gap:6px;flex:none}.product-browser-filters input,.product-browser-filters select{font-size:16px}.product-browser-stats{display:flex;justify-content:space-between;gap:10px;padding:10px 4px;font-size:14px;flex:none}.product-browser-stats small{font-size:12px}#lookup-results{min-height:0;overflow:auto;flex:1;background:#f5f8fc;border:1px solid #acc3d8}#lookup-results .tablewrap{min-height:0;overflow:visible;border:0}#lookup-results table{width:100%;min-width:750px}#lookup-results th{position:sticky;top:0;background:linear-gradient(#58758f,#3b556e);height:44px;padding:10px 14px;font-size:13px}#lookup-results td{height:66px;padding:8px 14px;font-size:16px}#lookup-results td:first-child{min-width:220px}#lookup-results td small{display:block;font-size:12px;color:#627e99;margin-top:4px}#lookup-results td:nth-child(3){font-weight:700}.product-stock-unknown{display:inline-block;padding:9px;background:#e7edf3;border-radius:8px;font-size:13px}.product-browser-dialog .modal-foot{flex:none;padding:10px 24px;align-items:center;background:#dfe8f1}.product-browser-note{margin-right:auto;font-size:13px}@media(max-width:1000px){.product-browser-filters{grid-template-columns:1fr 1fr}.product-browser-stats small{display:none}.product-browser-dialog .modal-body{padding:12px 14px 0}.product-browser-dialog .modal-head{padding:12px 18px}}
.payment-complete-dialog .modal-head button,.product-browser-dialog .modal-head button{color:#284e69}.completion-actions [data-till="email-receipt"],.completion-actions [data-till="view-receipt"]{background:linear-gradient(#fff,#edf4f7);color:#087f91}.completion-actions [data-till="print-receipt"]{background:linear-gradient(#299c67,#158451)}.completion-actions .desktop-icon{width:22px;height:22px;vertical-align:middle;margin-right:8px}
.tenders button:has(.card-approved-hint){position:relative;padding-bottom:15px}.card-approved-hint{position:absolute;bottom:3px;left:0;right:0;font-size:10px;line-height:11px;font-weight:400;text-align:center}
#modal.hold-order-dialog{width:min(590px,95vw)}.hold-order-dialog .modal-body{padding:26px}.hold-summary{display:grid;grid-template-columns:1fr 120px;background:#eaf2fd;margin-bottom:22px;border-radius:8px;padding:18px}.hold-summary small{display:block;font-size:12px}.hold-summary strong{display:block;font-size:34px;margin-top:8px}.hold-order-dialog input{font-size:19px}.hold-order-dialog .formhelp{font-size:14px;line-height:1.5;color:#6a8198}.hold-limitation{font-size:12px;color:#806122}.hold-order-dialog .modal-foot button{min-height:52px}#modal.recall-order-dialog{width:min(1080px,96vw);height:min(760px,94dvh);overflow:hidden}.recall-order-dialog[open]{display:flex;flex-direction:column}.recall-order-dialog .modal-head,.recall-order-dialog .modal-foot{flex:none}.recall-order-dialog .modal-body{display:flex;flex-direction:column;flex:1;min-height:0;max-height:none;padding:12px 20px;overflow:hidden}.recall-toolbar{display:grid;grid-template-columns:1fr auto auto;gap:8px;flex:none}.recall-split{display:grid;grid-template-columns:1.1fr 1fr;gap:24px;margin-top:12px;flex:1;min-height:0}.held-browser{display:flex;flex-direction:column;min-height:0}#held-count{font-size:13px;margin:0 0 8px}#held-cards{overflow:auto;flex:1;min-height:0;padding:2px}#held-cards button{display:block;width:100%;min-height:96px;text-align:left;background:white;margin-bottom:8px;padding:12px}#held-cards button[aria-pressed="true"]{background:#e8f0ff;border:2px solid #387edd}#held-cards strong,#held-cards b,#held-cards small{display:block}#held-cards strong,#held-cards b{font-size:17px}#held-cards small{font-size:12px;margin:7px 0}.held-paging{display:flex;align-items:center;justify-content:space-between;gap:8px;padding-top:10px}.held-paging span{font-size:13px}.held-inspector{border:1px solid #d5dfea;border-radius:12px;padding:16px;display:flex;flex-direction:column;min-height:0}.held-inspector>small{font-size:12px;color:#8393a8;font-weight:700}.held-inspector h3{margin:8px 0;font-size:20px}.held-inspector>p{font-size:13px;margin:6px 0 12px}#held-lines{flex:1;min-height:0;overflow:auto}#held-lines>div{padding:10px 0;border-bottom:1px solid #e3eaf2}#held-lines span,#held-lines small{display:block;margin-top:6px}#held-total{font-size:25px;margin-top:12px}.held-inspector>button{flex:none;min-height:52px}.recall-order-dialog .modal-foot{align-items:center;justify-content:space-between}.recall-order-dialog .modal-foot small{font-size:12px}@media(max-width:650px){.recall-split{gap:10px;grid-template-columns:1fr 1fr}.held-inspector{padding:10px}.held-paging button{padding:6px;font-size:12px}.recall-toolbar{grid-template-columns:1fr auto}.recall-toolbar input{grid-column:span 2}.recall-order-dialog .modal-body{padding:10px}.recall-order-dialog .modal-head h2{font-size:22px}.recall-order-dialog .modal-foot small{max-width:50%}}
.thermal-receipt{width:80mm;max-width:100%;padding:6mm;background:#fff;color:#111;font-family:'Courier New',monospace;font-size:12px;line-height:1.4;box-shadow:0 2px 10px #24394b1a}.thermal-receipt header{text-align:center;margin-bottom:18px}.thermal-receipt header h2{margin:0;font-size:22px;color:#111}.thermal-receipt header p{margin:4px 0 12px}.receipt-pair{display:flex;justify-content:space-between;gap:12px;margin:5px 0;align-items:baseline}.receipt-pair span:first-child{flex:1;min-width:0}.receipt-pair span:last-child{text-align:right;max-width:66%;overflow-wrap:anywhere}.receipt-bold{font-weight:700}.receipt-item{margin:14px 0}.receipt-item small{display:block;font-size:11px}.receipt-total{font-size:20px;font-weight:700;margin:12px 0}.thermal-receipt hr{border:0;border-top:1px dashed #444;margin:13px 0}.thermal-receipt footer{text-align:center;margin:14px 0 2px;font-size:11px}.receipt-view-dialog .modal-body,.saved-order-dialog .modal-body{background:#e7edf2}.receipt-view-dialog .modal-foot{flex-wrap:wrap}.receipt-view-dialog .modal-head h2{font-size:24px}
#modal.split-payment-dialog{width:min(1000px,96vw);max-height:96dvh;overflow:hidden}.split-payment-dialog[open]{display:flex;flex-direction:column}.split-payment-dialog .modal-head{padding:14px 20px;flex:none}.split-payment-dialog .modal-head h2{font-size:25px}.split-payment-dialog .modal-icon{padding:10px}.split-payment-dialog .modal-body{max-height:none;min-height:0;overflow:auto;padding:12px 20px;background:#f3f6fa}.split-bill{display:flex;justify-content:space-between;align-items:center;gap:12px;background:#234f76;color:white;border-radius:12px;padding:12px 18px;margin-bottom:14px}.split-bill small{display:block;color:#bed5ed;font-size:11px;font-weight:bold}.split-bill span{display:block;margin-top:5px;font-size:15px}.split-bill strong{font-size:36px;white-space:nowrap}.split-columns{display:grid;grid-template-columns:1fr 1fr;gap:20px}.split-amounts label{font-size:18px;margin-bottom:12px}.split-amounts input{height:58px;font-size:28px;text-align:right;border:2px solid #94b9de;border-radius:10px;font-weight:600;background:white}.split-amounts input.keypad-active{border-color:#287fcc;background:#f3f8ff}#split-balance{font-size:27px;font-weight:700;background:#fff2dc;color:#965b14;padding:12px 14px;border-radius:10px;margin-top:14px}#split-balance.covered{background:#e4f5ed;color:#137657}#split-change{display:block;font-size:21px;color:#137657;margin:8px 14px}.split-amounts p{font-size:13px;color:#617c96}.split-pad>p{font-size:12px;color:#617c96;margin:0 0 8px;font-weight:600}.split-number-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}.split-number-grid button{height:48px;min-height:48px;font-size:26px;padding:3px}.split-notes{display:grid;grid-template-columns:repeat(5,1fr);gap:5px;margin-top:8px}.split-notes button{min-height:42px;font-size:16px;padding:3px}#split-reference{margin-top:12px;font-size:13px}#split-reference input{min-height:38px;height:38px}#split-card-notice{margin-top:8px;font-weight:400}.split-payment-dialog .modal-foot{display:block;padding:10px 20px 14px;flex:none;background:white}.split-footer-actions{display:grid;grid-template-columns:1fr 1.3fr 1fr;gap:8px;align-items:center}.split-footer-actions button{min-height:54px}#split-status{font-size:14px;line-height:1.3;color:#8c4250;margin-bottom:8px}#split-approval{display:flex;align-items:center;gap:10px;padding:10px;border:1px solid #bbd0e3;border-radius:8px;background:#edf4fa;min-height:54px;font-size:14px}#split-approval input{width:22px;min-height:22px;margin:0}.split-payment-dialog [hidden]{display:none!important}.split-footer-actions #split-save{grid-column:3}@media(max-height:700px){.split-payment-dialog .modal-head{padding:8px 18px}.split-payment-dialog .modal-body{padding:10px 18px}.split-bill{padding:8px 14px;margin-bottom:10px}.split-bill strong{font-size:30px}.split-number-grid button{height:44px;min-height:44px;font-size:24px}.split-amounts input{height:50px;min-height:50px}.split-amounts label{margin-bottom:8px}.split-payment-dialog .modal-foot{padding:8px 18px}.split-footer-actions button,#split-approval{min-height:46px}#split-balance{font-size:23px;padding:10px;margin-top:8px}.split-amounts p{margin:8px 0}.split-columns{gap:16px}}@media(max-width:650px){.split-columns{gap:12px}.split-bill span{font-size:12px}.split-amounts label{font-size:15px}.split-footer-actions{grid-template-columns:1fr 1.3fr 1fr}.split-footer-actions button,#split-approval{font-size:12px;padding:6px}}
@media(max-height:650px){.split-number-grid button{height:40px;min-height:40px}.split-payment-dialog .modal-head h2{font-size:23px}.split-payment-dialog .modal-head .modal-icon{padding:6px}.split-payment-dialog .modal-head{padding-top:6px;padding-bottom:6px}.split-bill{margin-bottom:8px}.split-amounts input{height:48px;min-height:48px}}
.order-payment{display:inline-flex;align-items:center;gap:7px;white-space:nowrap;font-weight:600}.order-payment .desktop-icon{width:22px;height:22px;flex:none}.order-history-dialog [data-icon="view"].desktop-button{display:inline-flex;align-items:center;gap:8px;white-space:nowrap}
.cash-count-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.cash-count-grid input{font-size:20px}.refund-lines{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:14px}#till-form input[type=checkbox]{width:22px;min-height:22px;margin-right:8px}@media(max-width:650px){.cash-count-grid,.refund-lines{grid-template-columns:1fr 1fr}}

#modal:has(.cash-count-grid) .modal-head{padding:16px 24px}#modal:has(.cash-count-grid) .modal-body{padding:16px 24px}#modal:has(.cash-count-grid) .design-form{gap:8px}#modal:has(.cash-count-grid) .design-summary{margin:2px 0;padding:10px}#modal:has(.cash-count-grid) p{margin:0}#modal:has(.cash-count-grid) .design-actions{margin:0}#modal:has(.cash-count-grid) .cash-count-grid input{min-height:42px;height:42px;padding:6px 10px}#modal:has(.cash-count-grid) .cash-count-grid{grid-template-columns:repeat(6,1fr)}@media(max-width:700px){#modal:has(.cash-count-grid) .cash-count-grid{grid-template-columns:repeat(3,1fr)}}

.order-row-actions{display:flex;gap:8px;flex-wrap:wrap}.order-row-actions button{white-space:nowrap}
