/* Mirrors the Windows SalesView: basket left, categories/tiles right, money and actions below. */
.checkout-mode .content{padding:16px;max-width:none}.checkout-mode header{height:54px}.checkout-heading{margin-bottom:12px}.checkout-heading h1{font-size:23px;margin:0}.checkout-heading .eyebrow{font-size:10px;margin:0 0 3px}.checkout-connection{position:relative;font-size:12px;color:var(--muted)}.checkout-connection summary{cursor:pointer}.checkout-connection p{position:absolute;right:0;top:20px;width:320px;max-width:85vw;background:#fff;border:1px solid var(--line);box-shadow:0 8px 28px #10243820;padding:14px;border-radius:10px;z-index:3;line-height:1.6;color:#23324a}
.checkout-main{display:grid;grid-template-columns:minmax(390px,5fr) minmax(300px,6fr);gap:14px;height:clamp(330px,calc(100dvh - 335px),690px)}.checkout-left{display:flex;flex-direction:column;gap:10px;min-width:0;min-height:0}.checkout-entry{flex-shrink:0}.checkout-barcode-line{display:flex;align-items:center;padding:8px;gap:8px;border-bottom:1px solid var(--line)}.checkout-barcode-line>span{font-size:25px;color:#55837f}.checkout-barcode-line input{min-width:0;flex:1;border:0;padding:9px 3px;font-size:14px}.checkout-barcode-line button{padding:9px;font-size:12px}.checkout-quantity-line{display:flex;align-items:center;gap:5px;flex-wrap:wrap;padding:8px}.checkout-quantity-line>label{font-size:12px;margin:0 3px 0 0}.checkout-quantity-line .quantity-step{background:#edf3f5;color:#263e4e;font-size:20px;padding:2px;width:28px;min-height:32px}.checkout-quantity-line input{width:56px!important;min-width:0!important;padding:6px;text-align:center;font-weight:700}.checkout-quantity-line .checkout-add{font-size:12px;padding:9px}.checkout-toolbar-separator{height:28px;border-left:1px solid #cbd5e1;margin:0 3px}.checkout-basket-tabs{display:flex;gap:4px}.checkout-basket-tabs button{font-size:11px;padding:8px 6px;background:#f1f5f8;border:1px solid #dce3eb;color:#526578}.checkout-basket-tabs button[aria-pressed=true]{color:#075d53;background:#e2f5ef;border-color:#3caa93}.checkout-basket-panel{display:flex;flex-direction:column;flex:1;min-height:0}.checkout-basket-heading{display:flex;align-items:center;gap:10px;padding:10px 12px;border-bottom:1px solid var(--line)}.checkout-basket-heading h2{font-size:16px;margin:0}.checkout-basket-heading .muted{font-size:11px}.checkout-basket-heading button{font-size:11px;margin-left:auto;padding:5px;color:#a43b40}.checkout-basket-help{font-size:11px;color:#79889c;margin:0;padding:8px 12px;border-top:1px solid var(--line)}#checkout-view #checkout-basket{flex:1;max-height:none;min-height:0;overflow:auto}#checkout-view #checkout-basket table{font-size:14px}#checkout-view #checkout-basket th{padding:10px;font-size:11px}#checkout-view #checkout-basket td{padding:10px;font-size:14px}#checkout-view #checkout-basket td:first-child{min-width:110px;max-width:210px}#checkout-view #checkout-basket td strong{font-size:15px;margin-bottom:3px}#checkout-view #checkout-basket input{width:67px;min-width:0;max-width:75px;padding:7px}#checkout-view #checkout-basket td:last-child button{padding:4px 8px;font-size:19px;color:#a43b40}#checkout-view #checkout-results{margin:0;max-height:35%;flex-shrink:0}#checkout-results td,#checkout-results th{padding:8px 10px}#checkout-results td:first-child{min-width:120px}#checkout-results td small{font-size:10px}#checkout-basket .empty{padding:45px 18px;font-size:13px}
.checkout-right{min-width:0;min-height:0;display:grid;grid-template-rows:auto auto auto auto minmax(0,1fr) auto;background:#f4f7fa}.checkout-tile-search{display:flex;align-items:center;gap:7px;padding:9px;background:#fff}.checkout-tile-search>span{font-size:24px;color:#6b7a90}.checkout-tile-search input{flex:1;min-width:0;padding:8px;font-size:13px}.checkout-tile-search button{padding:8px 12px;font-size:12px}.checkout-scope{display:flex;align-items:center;gap:6px;padding:3px 9px 7px;background:#fff}.checkout-scope button{background:transparent;border-radius:6px;padding:6px 10px;color:#738092;font-size:12px;border-bottom:2px solid transparent}.checkout-scope button[aria-pressed=true]{color:#117363;border-color:#159c83}.checkout-scope .muted{margin-left:auto;font-size:11px}.checkout-categories{display:grid;grid-template-rows:repeat(2,32px);grid-auto-flow:column;grid-auto-columns:minmax(112px,1fr);gap:5px;overflow-x:auto;padding:8px;background:#fff;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.checkout-categories button{border:1px solid #dce4e9;background:#f6f8fa;color:#4e6173;font-size:11px;font-weight:600;padding:3px 8px;white-space:normal;line-height:1.1}.checkout-categories button[aria-pressed=true]{background:#247b70;color:#fff;border-color:#247b70}#checkout-tiles-status{padding:0 12px;margin:0;font-size:12px;color:#8d3d3d}#checkout-tiles-status:not(:empty){padding-top:9px}.checkout-tiles{display:grid;grid-template-columns:repeat(auto-fill,minmax(112px,1fr));gap:8px;padding:10px;overflow:auto;min-height:0;align-content:start}.checkout-product-tile{position:relative;display:flex;flex-direction:column;align-items:stretch;text-align:left;min-height:146px;white-space:normal;overflow:hidden;border:1px solid #dce5e9;background:#fff;border-radius:10px;padding:10px;box-shadow:0 2px 4px #183b6605}.checkout-product-tile:hover{border-color:#2d9a87;box-shadow:0 3px 12px #15574814}.checkout-product-mark{align-self:flex-start;background:#e0f2ec;color:#27816b;border-radius:8px;display:grid;place-items:center;width:29px;height:29px;font-size:15px;margin-bottom:6px}.tone-1 .checkout-product-mark{background:#e4edf9;color:#426fa0}.tone-2 .checkout-product-mark{background:#fbeed7;color:#ab782e}.tone-3 .checkout-product-mark{background:#efe7f9;color:#885ab2}.tone-4 .checkout-product-mark{background:#e0f0f2;color:#428a91}.checkout-product-name{font-size:12px;font-weight:650;line-height:1.3;min-height:32px;overflow-wrap:anywhere}.checkout-product-category{font-size:9px;color:#8d99a9;font-weight:400;margin:4px 0}.checkout-product-price{font-size:17px;color:#1f3849;margin-top:auto;padding-top:5px}.checkout-product-stock{font-size:9px;font-weight:400;color:#8795a5;margin-top:4px}#checkout-more-products{font-size:12px;padding:7px}
.checkout-bottom{margin-top:12px;padding:10px 12px}.checkout-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.checkout-money{border:1px solid #d9e3e7;border-radius:9px;padding:9px 13px;display:flex;flex-direction:column;min-height:98px}.checkout-money p,.checkout-money label{font-size:12px;font-weight:650;margin:0 0 5px;letter-spacing:.2px}.checkout-money strong{font-size:31px;line-height:1.15;font-weight:750;letter-spacing:-.5px}.checkout-money small{font-size:10px;margin-top:auto;padding-top:6px;opacity:.75}.checkout-total-card{background:#dff2e9;color:#0e644c}.checkout-cash-card{background:#e1ecfc;color:#254f8c}.checkout-change-card{background:#fff0c4;color:#806019}.checkout-cash-card input{font-size:30px;line-height:1.1;font-weight:750;padding:0;background:transparent;border:0;min-width:0;width:100%;color:inherit;height:36px;box-shadow:none}.checkout-cash-card input::placeholder{color:#91a9c8}.checkout-actions{display:flex;gap:7px;align-items:stretch;margin-top:10px;flex-wrap:wrap}.checkout-actions .checkout-action{display:flex;align-items:center;justify-content:center;gap:8px;min-height:46px;font-size:13px;font-family:"Segoe UI",Arial,sans-serif;font-weight:600;padding:9px 12px;border-radius:8px}.checkout-action>span{font-size:18px}.checkout-actions .pay-cash,.checkout-actions .pay-card,.checkout-actions .pay-credit{flex:1;min-width:104px;color:#fff}.pay-cash{background:#13815c}.pay-card{background:#3279bd}.pay-credit{background:#8458b0}.checkout-action-separator{align-self:center;height:32px;border-left:1px solid #d1dbe3;margin:0 3px}.checkout-actions .secondary{background:#f4f6f9;color:#45576c;border:1px solid #dce3eb;font-size:12px}.checkout-discount-box{border-top:1px solid var(--line);margin-top:9px;padding-top:7px;font-size:11px;color:#7c899a}.checkout-discount-box summary{cursor:pointer}.checkout-discount-box .date-toolbar{border:0;padding:12px 0 3px;margin:0;background:transparent}.checkout-discount-box .date-toolbar input{width:150px;min-width:0}.checkout-discount-box .date-toolbar>div{max-width:200px}#checkout-view #checkout-status{padding:8px 2px;font-size:12px}.checkout-payment-dialog{width:min(620px,calc(100% - 28px));max-height:90vh;overflow:auto}.checkout-payment-dialog .form-grid{padding:0}.checkout-payment-dialog .toolbar{padding:8px 0}.checkout-payment-dialog #checkout-split-row{grid-template-columns:repeat(3,minmax(0,1fr))}#checkout-price-dialog{width:min(760px,calc(100% - 28px));max-height:85vh;overflow:auto}#checkout-price-dialog .toolbar{padding:12px 0}#checkout-final-dialog{max-height:85vh;overflow:auto}
@media(min-width:1600px){.checkout-tiles{grid-template-columns:repeat(auto-fill,minmax(130px,1fr))}.checkout-product-tile{min-height:165px}.checkout-product-name{font-size:14px}.checkout-product-price{font-size:20px}}
@media(max-width:1120px){.checkout-main{grid-template-columns:minmax(330px,1fr) minmax(270px,1fr)}.checkout-quantity-line{gap:4px}.checkout-basket-tabs button{font-size:10px;padding:7px 4px}.checkout-tiles{grid-template-columns:repeat(auto-fill,minmax(105px,1fr))}.checkout-actions .checkout-action{padding:8px;font-size:12px}.checkout-action>span{display:none}}
@media(max-width:900px){.checkout-main{height:auto;grid-template-columns:1fr}.checkout-left{min-height:340px}.checkout-right{height:420px}#checkout-view #checkout-basket{max-height:320px}.checkout-money strong,.checkout-cash-card input{font-size:25px}.checkout-heading .eyebrow{display:none}.checkout-money{padding:9px;min-height:90px}}
@media(max-width:620px){.checkout-mode .content{padding:12px}.checkout-main{gap:12px}.checkout-right{height:440px}.checkout-summary{gap:5px}.checkout-money strong,.checkout-cash-card input{font-size:20px}.checkout-money p,.checkout-money label{font-size:9px}.checkout-money small{font-size:8px}.checkout-bottom{padding:8px}.checkout-actions .checkout-action{flex:1;min-width:95px;min-height:43px}.checkout-action-separator{display:none}.checkout-connection{font-size:10px}.checkout-basket-tabs button{font-size:11px;padding:8px}.checkout-toolbar-separator{display:none}.checkout-quantity-line{gap:5px}.checkout-basket-tabs{width:100%;justify-content:stretch}.checkout-basket-tabs button{flex:1}.checkout-product-name{font-size:13px}}
/* The quantity strip is not the old 90px quantity wrapper. */
#checkout-find>.checkout-quantity-line{max-width:none}
#checkout-view{display:flex;flex-direction:column;height:calc(100dvh - 86px);min-height:600px}
.checkout-heading,.checkout-bottom,#checkout-status{flex-shrink:0}
.checkout-main{flex:1;height:auto;min-height:280px}
.checkout-actions .secondary{font-size:13px}
@media(max-width:1120px){.checkout-actions .checkout-action{font-size:12px}}
@media(max-width:900px){#checkout-view{height:auto;min-height:0;display:block}.checkout-main{height:auto;min-height:0}.checkout-right{height:420px}}
#checkout-view #checkout-find>.checkout-quantity-line{max-width:none;width:100%}
@media(min-width:901px){.checkout-main{grid-template-columns:minmax(460px,5fr) minmax(240px,6fr)}}
/* Current Windows defaults: SalesAppearance.cs / SalesAppearance.Payment.cs (2026-11-15). */
.checkout-right{grid-template-rows:auto auto minmax(0,1fr) auto auto}
.checkout-add-favorite{margin:8px;min-height:40px;font-size:14px}
.checkout-search-dialog{width:min(850px,calc(100% - 28px));max-height:85vh;overflow:auto}
#checkout-search-dialog #checkout-results{max-height:55vh;overflow:auto;margin:12px 0}
.checkout-search-dialog #checkout-results td:first-child{min-width:180px}
.checkout-barcode-line .checkout-barcode-add{white-space:nowrap}
.checkout-product-picture{width:100%;height:58px;object-fit:contain;display:block;margin:0 auto 4px}
.checkout-product-tile{padding:5px;gap:2px;text-align:center;border-radius:9px;min-height:152px}
.checkout-product-name{font-family:"Segoe UI",sans-serif;font-size:14px;font-weight:600;line-height:18px;min-height:36px}
.checkout-product-category{display:none}
.checkout-product-price{background:#DDF5EA;color:#135C4B;border-radius:7px;padding:5px 3px;font-size:14px;text-align:center;width:100%}
.checkout-product-stock{margin:0;font-size:10px}
.checkout-categories{grid-auto-columns:150px;grid-template-rows:repeat(2,40px)}
.checkout-categories button{font-size:15px;border-radius:8px;padding:6px 10px}
.checkout-total-card{background:#087F5B;color:#fff}
.checkout-cash-card{background:#DBEAFE;color:#111827}
.checkout-change-card{background:#F9D878;color:#111827}
.checkout-money{text-align:center;align-items:stretch;min-height:80px}
.checkout-money p,.checkout-money label{font-size:17px}
.checkout-cash-card input{text-align:center}
.checkout-actions .checkout-action,.checkout-actions .secondary{font-size:16px;font-weight:600;min-height:64px}
.checkout-actions .pay-cash{background:#13994D}
.checkout-actions .pay-card{background:#2674D9}
.checkout-actions .pay-credit{background:#C9790C}
@media(max-width:900px){.checkout-actions .checkout-action,.checkout-actions .secondary{font-size:14px;min-height:48px}.checkout-money p,.checkout-money label{font-size:12px}}
