/* SilverByte POS presentation. Ported from the approved private demo, with live application bindings retained. */
*{box-sizing:border-box}
body{margin:0;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:14px;color:var(--text-primary,#17233a);background:var(--bg-page,#f5f6f8)}
button,input,select,textarea{font:inherit}
button{border:0;background:none;color:inherit;cursor:pointer}
button:disabled{cursor:not-allowed;opacity:.4}
input,select,textarea{color:var(--text-primary);background:var(--bg-field);border:1px solid var(--border-subtle);border-radius:9px;padding:10px 12px;min-width:0}
input:focus-visible,select:focus-visible,textarea:focus-visible,button:focus-visible{outline:3px solid var(--brand-500);outline-offset:3px}
button svg{pointer-events:none}
h1,h2,h3,p{margin-top:0}
svg.pos-icon{width:19px;height:19px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
.pos-root.pos-shell{height:100dvh;padding:14px 20px 18px}
.pos-appearance-trigger{display:flex;align-items:center;gap:7px;font-size:12px!important;min-height:40px}
.pos-ui-avatar{height:35px;width:35px;display:grid;place-items:center;border-radius:50%;background:var(--brand-tint-bg);color:var(--brand-600);font-size:11px;font-weight:800}
.pos-ui-user{display:flex;align-items:center;gap:9px;border-left:1px solid var(--border-faint);padding-left:15px}
.pos-ui-user small{display:block;color:var(--text-muted);font-size:10px;margin-top:3px}
.pos-ui-user strong{font-size:11px}
.pos-workspace{grid-template-columns:minmax(0,1fr) 360px}
.pos-menu-toolbar{padding:16px 18px 9px;gap:9px}
.pos-menu-categories{gap:7px;padding:8px 18px 14px}
.pos-menu-categories button{display:flex;align-items:center;gap:7px;min-height:39px;padding:9px 12px;font-size:11px}
.category-symbol{font-size:16px;filter:saturate(.8)}
.pos-menu-scroll{padding:0 18px 16px}
.pos-catalogue-grid{gap:12px}
.pos-product-photo{aspect-ratio:1.35;background:var(--bg-field);position:relative}
.pos-product-photo img{object-fit:cover;transition:transform .25s}
.pos-product-select:hover img{transform:scale(1.04)}
.pos-product-copy{padding:11px 35px 13px 12px;gap:4px}
.pos-product-copy strong{font-size:12px;letter-spacing:-.2px;line-height:1.4}
.pos-product-price{font-size:13px}
.pos-product-add{height:27px;width:27px;bottom:13px;right:10px;z-index:1}
.pos-product-favourite{font-size:17px;opacity:0;transition:opacity .15s;box-shadow:0 1px 8px #0001}
.pos-menu-card:hover .pos-product-favourite,.pos-product-favourite[aria-pressed=true]{opacity:1}
.pos-product-count{font-size:10px}
.pos-ui-product-fallback{display:grid;place-items:center;height:100%;min-height:100px;background:linear-gradient(135deg,var(--brand-tint-bg),var(--bg-field));font-size:65px}
.pos-ui-catalogue-footer{display:flex;justify-content:space-between;padding:9px 18px;border-top:1px solid var(--border-faint);color:var(--text-muted);font-size:10px;flex-shrink:0}
.pos-ui-catalogue-footer>span:last-child{display:flex;align-items:center;gap:5px}
.pos-ui-catalogue-footer i{height:5px;width:5px;border-radius:50%;background:#4d9e7c}
.pos-cart-col{display:flex;flex-direction:column;height:100%;overflow:hidden}
.pos-cart-body{display:flex;flex-direction:column;overflow:hidden;height:100%}
.pos-cart-context{padding:15px 15px 13px;border-bottom:1px solid var(--border-faint)}
.pos-ui-context-fields{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.pos-ui-context-fields label{color:var(--text-primary);font-size:10px;font-weight:600}
.pos-ui-context-fields select{display:block;font-size:11px;width:100%;margin-top:7px;padding:9px 8px;background:var(--bg-field)}
.pos-cart-list-heading{padding:15px 15px 8px}
.pos-cart-list-heading strong{font-size:12px}
.pos-ui-order-number{font-size:10px;color:var(--text-muted);font-weight:500}
.pos-cart-items{flex:1;overflow:auto;padding:0 14px;scrollbar-width:thin}
.pos-cart-item-row{display:flex;align-items:center;gap:9px;min-height:76px;padding:12px 0;border-bottom:1px solid var(--border-faint);cursor:pointer}
.pos-ui-cart-photo{width:43px;height:43px;border-radius:8px;object-fit:cover;flex-shrink:0;background:var(--bg-field);display:grid;place-items:center;font-size:23px;overflow:hidden}
.pos-ui-cart-photo img{width:100%;height:100%;object-fit:cover}
.pos-ui-line-copy{flex:1;min-width:0}
.pos-ui-line-copy strong{font-size:11px;display:block;line-height:1.4}
.pos-ui-line-copy small{display:block;color:var(--text-muted);font-size:9px;margin-top:4px}
.pos-ui-line-controls{display:flex;align-items:center;gap:6px}
.pos-ui-quantity{display:flex;align-items:center;gap:1px;background:var(--bg-field);border:1px solid var(--border-faint);border-radius:6px}
.pos-ui-quantity button{padding:2px;min-height:25px!important;min-width:22px!important;color:var(--text-muted)}
.pos-ui-quantity output{min-width:15px;text-align:center;font-size:11px;font-weight:700}
.pos-ui-line-total{font-size:11px;font-weight:750;min-width:43px;text-align:right}
.pos-ui-remove{font-size:17px;color:var(--text-muted);min-width:17px!important;padding:2px}
.pos-cart-notes{padding:10px 14px}
.pos-ui-note-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.pos-ui-note-actions button{display:flex;justify-content:center;align-items:center;gap:6px;border:1px solid var(--border-subtle);border-radius:8px;padding:8px;font-size:10px;min-height:34px}
.pos-ui-note-actions .pos-icon{height:14px;width:14px}
.pos-ui-note-indicator{margin:6px 0 0;font-size:10px;color:var(--text-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pos-cart-totals{padding:11px 15px;border-top:1px solid var(--border-faint)}
.pos-ui-total-row{display:flex;align-items:center;justify-content:space-between;font-size:19px;font-weight:800}
.pos-ui-total-row strong{font-size:25px;color:var(--brand-600);letter-spacing:-.8px}
.pos-ui-gst-row{display:flex;justify-content:space-between;color:var(--text-muted);font-size:9px;margin-top:6px}
.pos-ui-discount-row{display:flex;justify-content:space-between;color:#27816b;font-size:10px;margin-bottom:7px}
.pos-cart-actions{padding:5px 14px 7px}
.pos-ui-pay-methods{display:grid;grid-template-columns:repeat(4,1fr);gap:7px}
.pos-ui-pay-methods button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;padding:9px 4px;border:1px solid var(--brand-tint-border);background:var(--brand-tint-bg);color:var(--brand-600);border-radius:9px;font-size:10px;min-height:61px}
.pos-ui-pay-methods button:first-child{background:#3476f514;border-color:#3476f545;color:#386cce}
.pos-ui-pay-methods button:last-child{background:var(--bg-field);border-color:var(--border-subtle);color:var(--text-muted)}
.pos-ui-cart-utilities{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin-top:8px}
.pos-ui-cart-utilities button{font-size:10px;border:1px solid var(--border-subtle);border-radius:7px;padding:7px 4px}
.pos-ui-cart-utilities button:last-child{color:#d94d4d}
.pos-cart-body>.pos-primary-checkout{margin:4px 14px 12px;min-height:42px;font-size:12px;justify-content:center;gap:8px}
.pos-ui-cart-empty{padding:42px 15px;color:var(--text-muted);display:grid;place-items:center;text-align:center;gap:10px}
.pos-ui-cart-empty .pos-icon{width:35px;height:35px;opacity:.4}
.pos-ui-cart-empty strong{color:var(--text-primary);font-size:13px}
.pos-ui-cart-empty p{font-size:11px;max-width:180px;line-height:1.7}
.pos-mobile-cart-toggle{z-index:65}
.pos-ui-title{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:24px}
.pos-ui-title h1{font-size:27px;letter-spacing:-1px;margin:0 0 5px}
.pos-ui-eyebrow{font-size:9px;letter-spacing:1.5px;color:var(--brand-600);text-transform:uppercase;font-weight:750;margin-bottom:8px}
.pos-ui-title p{font-size:12px;color:var(--text-muted);margin:0}
.pos-ui-page{background:var(--bg-page);padding:30px;min-height:0;flex:1;overflow:auto;border:1px solid var(--border-faint);border-top:0;border-radius:0 0 18px 18px}
.pos-ui-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;border:1px solid var(--border-subtle);background:var(--bg-surface);color:var(--text-primary);border-radius:9px;min-height:38px;padding:10px 15px;font-size:12px;font-weight:650}
.pos-ui-button.primary{background:var(--brand-600);color:var(--brand-strong-ink);border-color:var(--brand-600)}
.pos-ui-button .pos-icon{width:16px;height:16px}
.pos-ui-toolbar{display:flex;align-items:center;gap:8px;margin-bottom:20px;flex-wrap:wrap}
.pos-ui-toolbar input{margin-left:auto;background:var(--bg-surface);min-width:200px;font-size:12px}
.pos-ui-filter{border:1px solid var(--border-subtle);border-radius:8px;font-size:11px;padding:9px 13px;background:var(--bg-surface)}
.pos-ui-filter.selected{background:var(--brand-600);color:var(--brand-strong-ink);border-color:var(--brand-600)}
.pos-ui-table-wrap{border:1px solid var(--border-faint);border-radius:12px;background:var(--bg-surface);overflow:auto}
.pos-ui-table{width:100%;border-collapse:collapse;white-space:nowrap;font-size:12px}
.pos-ui-table th{text-align:left;font-size:9px;text-transform:uppercase;letter-spacing:.8px;color:var(--text-muted);padding:16px 18px;background:var(--bg-field)}
.pos-ui-table td{padding:17px 18px;border-top:1px solid var(--border-faint)}
.pos-ui-table td strong{font-size:12px}
.pos-ui-table td small{font-size:10px;color:var(--text-muted)}
.pos-ui-table td:first-child{font-weight:700}
.pos-ui-table .pos-ui-button{min-height:30px;padding:6px 10px;font-size:10px}
.pos-ui-badge{display:inline-flex;align-items:center;gap:5px;border-radius:6px;padding:5px 8px;font-size:9px;font-weight:750;background:var(--bg-field);color:var(--text-muted)}
.pos-ui-badge.paid,.pos-ui-badge.ready{background:#38a78316;color:#298064}
.pos-ui-badge.open,.pos-ui-badge.preparing{background:var(--brand-tint-bg);color:var(--brand-600)}
.pos-ui-metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;margin:20px 0 24px}
.pos-ui-metric{background:var(--bg-surface);padding:21px;border:1px solid var(--border-faint);border-radius:12px}
.pos-ui-metric small{display:block;font-size:10px;color:var(--text-muted);margin-bottom:15px}
.pos-ui-metric strong{display:block;font-size:28px;letter-spacing:-1px}
.pos-ui-metric span{display:block;color:var(--text-muted);font-size:9px;margin-top:8px}
.pos-ui-chart-grid{display:grid;grid-template-columns:1.6fr 1fr;gap:18px}
.pos-ui-report-card{padding:24px;border:1px solid var(--border-faint);border-radius:12px;background:var(--bg-surface)}
.pos-ui-report-card h2{font-size:15px}
.pos-ui-report-card>p{font-size:10px;color:var(--text-muted)}
.pos-ui-bar-chart{display:flex;gap:14px;height:220px;align-items:flex-end;border-bottom:1px solid var(--border-subtle);padding:10px 8px 0;margin-bottom:28px}
.pos-ui-bar{flex:1;position:relative;display:flex;align-items:center;flex-direction:column;justify-content:flex-end;height:100%;gap:5px}
.pos-ui-bar i{display:block;width:100%;max-width:55px;border-radius:5px 5px 0 0;background:var(--brand-tint-bg);border:1px solid var(--brand-tint-border);min-height:8px}
.pos-ui-bar:last-child i{background:var(--brand-500)}
.pos-ui-bar small{position:absolute;bottom:-22px;color:var(--text-muted);font-size:9px}
.pos-ui-bar span{font-size:8px;color:var(--text-muted)}
.pos-ui-top-item{display:flex;align-items:center;gap:10px;padding:12px 0;border-bottom:1px solid var(--border-faint)}
.pos-ui-top-item>span:first-child{width:26px;color:var(--text-muted);font-size:10px}
.pos-ui-top-item strong{font-size:11px}
.pos-ui-top-item small{display:block;font-size:9px;color:var(--text-muted);margin-top:4px}
.pos-ui-top-item b{margin-left:auto;font-size:11px}
.pos-ui-kitchen{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.pos-ui-kitchen-column{min-width:0}
.pos-ui-kitchen-column>h2{font-size:12px;display:flex;justify-content:space-between}
.pos-ui-ticket{border:1px solid var(--border-faint);border-radius:12px;background:var(--bg-surface);padding:18px;margin:15px 0}
.pos-ui-ticket header{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px;font-size:12px}
.pos-ui-ticket p{font-size:11px;color:var(--text-muted);line-height:1.9}
.pos-ui-ticket button{width:100%;font-size:10px}
.pos-shared-payment-bar{gap:12px}
.pos-shared-total strong{font-size:24px}
.pos-quantity-pad{background:var(--bg-surface)}
.pos-quantity-pad .pos-ui-keypad-heading{display:flex;font-size:11px;gap:10px;align-items:center;margin-bottom:8px}
.pos-ui-keypad-heading small{flex:1;color:var(--text-muted);font-size:10px}
.pos-ui-keypad-heading output{font-size:17px;font-weight:700}
.pos-quick-keys .pos-menu-card{margin:0}
.pos-open-orders h2,.pos-quick-keys h2,.pos-secondary-menu>h2{font-size:14px}
.pos-editor-zone{border-top:0;border-bottom:0;border-radius:0}
.pos-ui-editor{height:100%;display:flex;flex-direction:column;overflow:hidden}
.pos-ui-editor header{padding:20px 18px;border-bottom:1px solid var(--border-faint);display:flex;justify-content:space-between;gap:10px;align-items:center}
.pos-ui-editor header h2{font-size:16px;margin:0}
.pos-ui-editor header p{font-size:10px;color:var(--text-muted);margin:5px 0 0}
.pos-ui-editor-scroll{overflow:auto;flex:1;padding:18px}
.pos-ui-editor fieldset{border:0;padding:0;margin:0 0 23px}
.pos-ui-editor legend{font-size:11px;font-weight:750;margin-bottom:10px}
.pos-ui-editor legend small{font-size:9px;font-weight:400;color:var(--text-muted)}
.pos-ui-options{display:grid;grid-template-columns:repeat(2,1fr);gap:8px}
.pos-ui-option{position:relative;font-size:11px;padding:12px 9px;border:1px solid var(--border-subtle);border-radius:8px;cursor:pointer;background:var(--bg-surface)}
.pos-ui-option:has(input:checked){border-color:var(--brand-500);background:var(--brand-tint-bg);color:var(--brand-600)}
.pos-ui-option input{position:absolute;opacity:0;pointer-events:none}
.pos-ui-option strong{display:block;font-size:10px}
.pos-ui-option small{display:block;font-size:9px;color:var(--text-muted);margin-top:5px}
.pos-ui-editor textarea{width:100%;font-size:11px;resize:vertical;min-height:62px;margin-top:7px}
.pos-ui-editor footer{padding:16px 18px;border-top:1px solid var(--border-faint)}
.pos-ui-editor footer button{width:100%}
.pos-ui-dialog{padding:0;border:1px solid var(--border-subtle);border-radius:17px;background:var(--bg-surface);color:var(--text-primary);width:min(510px,calc(100vw - 28px));max-height:92dvh;box-shadow:0 25px 90px #0003;overflow:auto}
.pos-ui-dialog::backdrop{background:#16213e80;backdrop-filter:blur(3px)}
.pos-ui-dialog.appearance-modal{width:min(1120px,calc(100vw - 28px));overflow:hidden}
.pos-appearance-dialog footer{display:flex;align-items:center;gap:8px;justify-content:flex-end;padding:14px 24px;border-top:1px solid var(--border-faint)}
.pos-appearance-dialog footer button{min-height:37px;border:1px solid var(--border-subtle);border-radius:8px;font-size:11px;padding:9px 13px}
.pos-appearance-feedback{margin-right:auto;font-size:10px;color:var(--text-muted)}
.pos-appearance-content{height:min(60dvh,620px)}
.pos-design-thumbnail{aspect-ratio:1.8}
.pos-design-option.selected{box-shadow:0 0 0 2px var(--brand-tint-bg)}
.pos-match-colours{font-size:10px!important;min-height:34px}
.pos-design-option>button:first-child{color:var(--text-primary)}
.pos-design-option>button:first-child strong{font-size:12px}
.pos-appearance-tabs button{color:var(--text-primary)}
.pos-palette-option strong{font-size:11px}
.pos-custom-colours legend{font-size:13px;font-weight:700}
.pos-display-settings{display:grid;gap:16px;max-width:520px}
.pos-display-settings label{display:grid;gap:8px;font-size:12px}
.pos-display-settings p{color:var(--text-muted);font-size:12px;line-height:1.8}
.pos-display-settings .pos-ui-button{justify-self:start}
.pos-appearance-dialog>header>button{background:var(--bg-field)}
.pos-ui-modal-header{padding:23px 24px 18px;display:flex;align-items:flex-start;justify-content:space-between;gap:15px;border-bottom:1px solid var(--border-faint)}
.pos-ui-modal-header h2{font-size:21px;letter-spacing:-.5px;margin:0 0 5px}
.pos-ui-modal-header p{font-size:11px;color:var(--text-muted);margin:0;line-height:1.6}
.pos-ui-close{height:29px;width:29px;display:grid;place-items:center;border-radius:7px;background:var(--bg-field);font-size:21px;flex-shrink:0}
.pos-ui-modal-body{padding:22px 24px}
.pos-ui-modal-footer{display:flex;justify-content:flex-end;gap:8px;padding:15px 24px;border-top:1px solid var(--border-faint)}
.pos-ui-modal-body>label{font-size:11px;font-weight:650;display:grid;gap:8px;margin-bottom:17px}
.pos-ui-modal-body textarea{resize:vertical;min-height:90px}
.pos-ui-modal-total{display:flex;justify-content:space-between;align-items:center;margin-bottom:22px;font-size:13px}
.pos-ui-modal-total strong{font-size:32px;letter-spacing:-1px}
.pos-ui-method-tabs{display:flex;gap:7px;margin-bottom:20px}
.pos-ui-method-tabs button{flex:1;padding:10px;border:1px solid var(--border-subtle);border-radius:8px;font-size:11px}
.pos-ui-method-tabs button.selected{border-color:var(--brand-500);color:var(--brand-600);background:var(--brand-tint-bg)}
.pos-ui-card-visual{display:grid;place-items:center;text-align:center;padding:23px;border:1px dashed var(--border-subtle);border-radius:12px;background:var(--bg-field);gap:9px}
.pos-ui-card-visual .pos-icon{height:42px;width:42px;color:var(--brand-600)}
.pos-ui-card-visual strong{font-size:13px}
.pos-ui-card-visual p{color:var(--text-muted);font-size:10px;line-height:1.8;margin:0}
.pos-ui-quick-cash{display:flex;gap:7px;margin:10px 0 15px}
.pos-ui-quick-cash button{padding:8px 13px;border:1px solid var(--border-subtle);border-radius:7px;font-size:11px}
.pos-ui-change{display:flex;justify-content:space-between;background:var(--bg-field);padding:14px;border-radius:9px;font-size:12px;margin:15px 0}
.pos-ui-payment-note{margin-top:17px;font-size:10px;color:var(--text-muted);line-height:1.7}
.pos-ui-receipt{font-size:12px;line-height:1.8}
.pos-ui-receipt-brand{text-align:center;border-bottom:1px dashed var(--border-subtle);padding-bottom:18px;margin-bottom:17px}
.pos-ui-receipt-brand strong{font-size:25px;letter-spacing:-1px}
.pos-ui-receipt-brand p{font-size:10px;color:var(--text-muted);margin:4px 0}
.pos-ui-receipt-line{display:flex;justify-content:space-between;gap:15px;margin:7px 0}
.pos-ui-receipt-line small{display:block;color:var(--text-muted);font-size:9px}
.pos-ui-receipt-total{margin-top:17px;padding-top:14px;border-top:1px dashed var(--border-subtle);font-size:20px;font-weight:800}
.pos-ui-success-mark{width:45px;height:45px;background:#38a78316;color:#26805d;border-radius:50%;display:grid;place-items:center;margin:0 auto 12px;font-size:25px}
.pos-ui-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.pos-ui-form-grid label{font-size:11px;display:grid;gap:8px;margin-bottom:15px}
.pos-ui-form-grid label:first-child{grid-column:1/-1}
.pos-ui-about{font-size:12px;line-height:1.9;color:var(--text-muted)}
.pos-ui-about a{color:var(--brand-600)}
.pos-ui-no-results{padding:45px;text-align:center;color:var(--text-muted);font-size:12px;grid-column:1/-1}
.pos-ui-help{color:var(--text-muted);font-size:10px;line-height:1.8}
.pos-ui-input-error{color:#d94d4d;font-size:11px;margin:8px 0}
.pos-ui-shortcut{font-size:9px;padding:2px 5px;border:1px solid var(--border-subtle);border-radius:4px;color:var(--text-muted)}
.pos-layout-navigation .pos-icon{width:20px;height:20px}
.pos-shell:is([data-layout=bottom-cart],[data-layout=top-cart],[data-layout=category-board]) .pos-cart-context{padding:8px 12px}
.pos-shell:is([data-layout=bottom-cart],[data-layout=top-cart],[data-layout=category-board]) .pos-ui-context-fields{display:flex;gap:12px;align-items:center}
.pos-shell:is([data-layout=bottom-cart],[data-layout=top-cart],[data-layout=category-board]) .pos-ui-context-fields label{display:flex;gap:8px;align-items:center}
.pos-shell:is([data-layout=bottom-cart],[data-layout=top-cart],[data-layout=category-board]) .pos-ui-context-fields select{margin:0;padding:7px}
.pos-shell:is([data-layout=bottom-cart],[data-layout=top-cart]) .pos-ui-line-controls{flex-wrap:wrap;justify-content:flex-end}
.pos-shell:is([data-layout=bottom-cart],[data-layout=top-cart]) .pos-ui-cart-photo{display:none}
.pos-shell:is([data-layout=bottom-cart],[data-layout=top-cart],[data-layout=category-board]) .pos-ui-gst-row{font-size:8px}
.pos-shell:is([data-layout=bottom-cart],[data-layout=top-cart],[data-layout=category-board]) .pos-ui-total-row strong{font-size:21px}
.pos-shell:is([data-layout=bottom-cart],[data-layout=top-cart],[data-layout=category-board]) .pos-ui-pay-methods button{min-height:46px;padding:5px 2px;font-size:9px;gap:4px}
.pos-shell:is([data-layout=bottom-cart],[data-layout=top-cart],[data-layout=category-board]) .pos-ui-pay-methods .pos-icon{height:15px;width:15px}
.pos-shell[data-layout=category-board] .pos-ui-line-copy small{display:none}
.pos-shell[data-layout=category-board] .pos-ui-cart-photo{width:28px;height:28px}
.pos-shell[data-layout=modifiers] .pos-editor-zone{display:flex;flex-direction:column}
.pos-ui-products-name{display:flex;align-items:center;gap:12px}
.pos-ui-products-name img{width:42px;height:42px;object-fit:cover;border-radius:7px}
.pos-ui-products-name>span{display:flex;flex-direction:column;gap:4px}
@media(min-width:1650px){.pos-root.pos-shell{padding:20px 30px 25px}.pos-workspace{grid-template-columns:minmax(0,1fr) 390px}.pos-product-copy strong{font-size:13px}.pos-product-photo{aspect-ratio:1.48}.pos-ui-line-copy strong{font-size:12px}.pos-ui-line-total{font-size:12px}.pos-ui-pay-methods button{min-height:70px}.pos-cart-context{padding:20px}.pos-ui-context-fields select{padding:11px}.pos-cart-item-row{min-height:86px}}
@media(max-width:1250px){.pos-ui-user{display:none}.pos-product-copy{padding-left:10px}}
@media(max-width:960px){.pos-root.pos-shell{padding:0}.pos-ui-page{padding:22px}.pos-ui-metrics{grid-template-columns:repeat(2,1fr)}.pos-ui-chart-grid{grid-template-columns:1fr}.pos-shared-payment-bar>.pos-primary-checkout{min-width:155px}.pos-shared-actions{gap:4px}.pos-shared-actions button{padding:9px;font-size:11px}.pos-shell[data-layout=modifiers] .pos-editor-zone{display:none!important}.pos-ui-kitchen{grid-template-columns:repeat(2,1fr)}}
@media(max-width:700px){.pos-appearance-trigger .pos-icon{height:21px;width:21px}.pos-menu-toolbar{padding:12px 12px 6px}.pos-menu-categories{padding:8px 12px 12px}.pos-menu-scroll{padding:0 12px 13px}.pos-ui-catalogue-footer{display:none}.pos-product-favourite{opacity:.9}.pos-product-copy strong{font-size:12px}.pos-product-photo{aspect-ratio:1.3}.pos-product-add{bottom:11px}.pos-menu-display button{width:28px}.pos-ui-page{padding:20px 14px}.pos-ui-title h1{font-size:23px}.pos-ui-title p{font-size:10px;line-height:1.6}.pos-ui-title .pos-ui-button{font-size:10px;padding:8px 10px;white-space:nowrap}.pos-ui-table th,.pos-ui-table td{padding:13px;font-size:11px}.pos-ui-toolbar input{margin-left:0;flex:1;min-width:140px}.pos-ui-metrics{gap:10px;margin-top:15px}.pos-ui-metric{padding:16px}.pos-ui-metric strong{font-size:24px}.pos-ui-report-card{padding:18px}.pos-ui-kitchen{grid-template-columns:1fr}.pos-cart-items{padding:0 15px}.pos-ui-line-copy strong{font-size:12px}.pos-ui-line-copy small{font-size:10px}.pos-ui-cart-photo{height:47px;width:47px}.pos-ui-line-controls{gap:8px}.pos-ui-line-total{font-size:12px;min-width:49px}.pos-ui-quantity button{min-width:28px!important;min-height:28px!important}.pos-ui-context-fields select{padding:10px}.pos-ui-gst-row{font-size:10px}.pos-cart-body>.pos-primary-checkout{display:flex!important}.pos-ui-pay-methods button{min-height:57px}.pos-cart-actions{padding:6px 14px}.pos-ui-cart-utilities button{min-height:32px}.pos-cart-notes{padding:8px 14px}.pos-cart-totals{padding:9px 15px}.pos-root.pos-shell .pos-cart-col{height:100%}.pos-shell .pos-workspace{padding-bottom:57px}.pos-shell:is([data-layout=bottom-cart],[data-layout=top-cart],[data-layout=category-board]) .pos-ui-context-fields{display:grid;grid-template-columns:1fr 1fr}.pos-shell:is([data-layout=bottom-cart],[data-layout=top-cart],[data-layout=category-board]) .pos-ui-context-fields label{display:block}.pos-shell:is([data-layout=bottom-cart],[data-layout=top-cart],[data-layout=category-board]) .pos-ui-context-fields select{margin-top:6px;width:100%}.pos-shell:is([data-layout=bottom-cart],[data-layout=top-cart],[data-layout=category-board]) .pos-ui-pay-methods button{min-height:57px;font-size:10px}.pos-shell[data-layout=category-board] .pos-ui-cart-photo{height:47px;width:47px}.pos-appearance-content{height:64dvh;padding:15px}.pos-appearance-dialog>header{padding:18px 15px 13px;gap:10px}.pos-appearance-dialog header p{line-height:1.6}.pos-appearance-dialog h2{font-size:19px}.pos-appearance-tabs{padding:0 15px 13px}.pos-appearance-dialog footer{padding:12px;flex-wrap:wrap}.pos-appearance-feedback{flex-basis:100%;font-size:9px}.pos-appearance-dialog footer button{padding:8px 10px;font-size:10px}.pos-design-option>button:first-child{padding:7px}.pos-design-option>button:first-child strong{font-size:10px}.pos-design-option small{font-size:9px;line-height:1.5;min-height:41px}.pos-match-colours{font-size:9px!important}.pos-ui-modal-header{padding:21px 19px 16px}.pos-ui-modal-body{padding:20px 19px}.pos-ui-modal-footer{padding:14px 19px}.pos-ui-no-results{padding:35px 15px}.pos-ui-title{align-items:flex-start}.pos-ui-dialog.appearance-modal{max-height:96dvh}}
/* Keep compact checkout controls available for horizontal/payment-bar layouts. */
@media(max-width:700px){.pos-root.pos-shell .pos-cart-body{display:flex!important}.pos-root.pos-shell[data-layout][data-cart-view=cart] .pos-cart-totals,.pos-root.pos-shell[data-layout][data-cart-view=cart] .pos-cart-actions{display:block!important}.pos-root.pos-shell[data-layout][data-cart-view=cart] .pos-cart-body>.pos-primary-checkout{display:flex!important}.pos-root.pos-shell[data-layout][data-cart-view=cart] .pos-cart-notes{display:block!important}}
/* The approved original editor and alternative selector styles. */
.pos-ui-editor.pos-item-editor { min-height:0; background:var(--bg-page); }
.pos-ui-editor .pos-editor-header { padding:12px 16px; gap:11px; flex-shrink:0; background:var(--bg-surface); }
.pos-ui-editor-back { width:32px; height:32px; display:grid; place-items:center; flex-shrink:0; border-radius:10px; background:var(--bg-field); color:var(--text-muted); }
.pos-ui-editor-back .pos-icon { width:16px; height:16px; }
.pos-ui-editor-photo { width:38px; height:38px; overflow:hidden; border-radius:9px; flex-shrink:0; background:var(--bg-field); }
.pos-ui-editor-photo img { width:100%; height:100%; object-fit:cover; }
.pos-ui-editor-photo .pos-ui-product-fallback { font-size:22px; min-height:38px; }
.pos-ui-editor-product { min-width:0; flex:1; }
.pos-ui-editor .pos-editor-header h2 { font-size:14px; font-weight:800; }
.pos-ui-editor .pos-editor-header p { color:var(--brand-600); font-size:11px; font-weight:700; margin:4px 0 0; }
.pos-ui-editor .pos-editor-price { padding:8px 12px; border-radius:10px; font-size:14px; background:linear-gradient(135deg,var(--brand-600),var(--brand-500)); }
.pos-ui-editor .pos-selector-tabs { display:flex; align-items:flex-end; gap:4px; padding:12px 12px 0; overflow-x:auto; scrollbar-width:none; border-bottom:2px solid var(--border-faint); flex-shrink:0; }
.pos-ui-editor .pos-selector-tab { display:flex; align-items:center; gap:6px; padding:10px 14px; border-radius:11px 11px 0 0; white-space:nowrap; color:var(--text-muted); background:var(--bg-field); font-size:12px; font-weight:750; flex-shrink:0; }
.pos-ui-editor .pos-selector-tab[aria-selected="true"] { background:var(--brand-500); color:var(--brand-ink); }
.pos-ui-editor .pos-selector-additional[aria-selected="true"] { background:#c084fc; color:#fff; }
.pos-ui-tab-tick { font-size:11px; opacity:.8; }
.pos-ui-editor .pos-selector-scroll { overflow-y:auto; flex:1; }
.pos-ui-editor .pos-option-panel { padding:16px; }
.pos-ui-editor .pos-ui-option-hint { display:flex; gap:7px; align-items:center; margin:0 0 13px; }
.pos-ui-option-hint>span { padding:3px 8px; border:1px solid var(--brand-tint-border); border-radius:6px; color:var(--brand-600); background:var(--brand-tint-bg); text-transform:uppercase; font-size:9px; font-weight:750; }
.pos-ui-option-hint>small { padding:3px 8px; border-radius:6px; color:#d94d4d; background:#ef444416; font-size:9px; font-weight:750; }
.pos-ui-editor .pos-option-grid { display:grid; gap:8px; }
.pos-ui-editor .pos-option-choice { position:relative; display:block; cursor:pointer; }
.pos-ui-editor .pos-option-choice>input { position:absolute; opacity:0; width:1px; height:1px; }
.pos-ui-editor .pos-option-choice>div { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:7px; border:1.5px solid var(--border-faint); border-radius:16px; background:var(--bg-surface); padding:12px 8px; text-align:center; min-height:77px; }
.pos-ui-editor .pos-option-choice strong { font-size:12px; line-height:1.4; }
.pos-ui-editor .pos-option-choice small { font-size:10px; color:var(--text-muted); }
.pos-ui-editor .pos-option-choice:has(input:checked)>div { background:linear-gradient(135deg,var(--brand-600),var(--brand-500)); color:var(--brand-strong-ink); border-color:transparent; box-shadow:0 4px 16px var(--glow-brand); }
.pos-ui-editor .pos-option-choice:has(input:checked) small { color:inherit; opacity:.85; }
.pos-ui-editor .pos-option-choice input:focus-visible+div { outline:3px solid var(--brand-500); outline-offset:3px; }
.pos-ui-editor .pos-editor-footer { padding:16px; background:var(--bg-surface); flex-shrink:0; }
.pos-ui-editor .pos-editor-submit { display:flex; align-items:center; justify-content:center; gap:9px; width:100%; min-height:49px; padding:12px; border:0; border-radius:14px; background:linear-gradient(135deg,var(--brand-600),var(--brand-500)); font-size:14px; font-weight:800; box-shadow:0 4px 16px var(--glow-brand); }
.pos-ui-item-note { display:block; font-size:10px; color:var(--text-muted); margin-bottom:10px; }
.pos-ui-editor .pos-ui-item-note textarea { resize:none; min-height:42px; height:42px; margin:6px 0 0; padding:10px 12px; }
.pos-ui-quick-notes { display:flex; flex-wrap:wrap; gap:8px; margin-top:15px; }
.pos-ui-quick-notes button { border:1px solid #c084fc55; background:#c084fc15; color:#9b59c7; border-radius:10px; padding:8px 12px; font-size:11px; font-weight:650; }
.pos-ui-editor [hidden] { display:none!important; }
.pos-shell[data-selector="side-tabs"] .pos-ui-editor .pos-selector-tabs { align-items:stretch; padding:12px 8px; }
.pos-shell[data-selector="side-tabs"] .pos-ui-editor .pos-selector-tab { border-radius:8px; padding:11px; }
.pos-shell[data-selector="pill-tabs"] .pos-ui-editor .pos-selector-tab { border-radius:99px; }
.pos-shell[data-selector="pill-tabs"] .pos-ui-editor .pos-option-choice>div { border-radius:24px; }
.pos-shell[data-selector="underline-tabs"] .pos-ui-editor .pos-selector-tab { border-radius:0; }
.pos-shell[data-selector="underline-tabs"] .pos-ui-editor .pos-option-choice>div { border-radius:7px; }
.pos-shell[data-selector="segmented-tabs"] .pos-ui-editor .pos-selector-tabs { padding:4px; }
.pos-shell[data-selector="segmented-tabs"] .pos-ui-editor .pos-selector-tab { flex:1; justify-content:center; border-radius:7px; }
.pos-shell[data-selector="segmented-tabs"] .pos-ui-editor .pos-option-choice>div { flex-direction:row; justify-content:space-between; min-height:48px; border-radius:9px; padding:12px; }
.pos-shell[data-selector="stacked"] .pos-ui-editor .pos-option-choice>div { min-height:60px; border-radius:9px; }
/* Compact details retain readable product cards and working checkout controls. */
.pos-root.pos-shell[data-chrome="compact"] .pos-ui-user { padding-left:9px; margin-left:4px; }
.pos-root.pos-shell[data-chrome="compact"] .pos-ui-avatar { width:29px; height:29px; font-size:10px; }
.pos-root.pos-shell[data-chrome="compact"] .pos-ui-user strong { font-size:10px; }
.pos-root.pos-shell[data-chrome="compact"] .pos-ui-user small { font-size:8px; }
.pos-root.pos-shell[data-chrome="compact"] .pos-ui-cart-top { padding:10px 11px; }
.pos-root.pos-shell[data-chrome="compact"] .pos-ui-cart-heading { font-size:15px; }
.pos-root.pos-shell[data-chrome="compact"] .pos-ui-context-fields { gap:7px; }
.pos-root.pos-shell[data-chrome="compact"] .pos-ui-context-fields select { padding:7px 9px; font-size:11px; margin-top:3px; }
.pos-root.pos-shell[data-chrome="compact"] .pos-ui-cart-photo { width:34px; height:34px; border-radius:7px; }
.pos-root.pos-shell[data-chrome="compact"] .pos-ui-line-copy strong { font-size:11px; }
.pos-root.pos-shell[data-chrome="compact"] .pos-ui-line-copy small { font-size:9px; margin-top:4px; }
.pos-root.pos-shell[data-chrome="compact"] .pos-ui-line-controls { gap:5px; }
.pos-root.pos-shell[data-chrome="compact"] .pos-ui-line-total { font-size:11px; }
.pos-root.pos-shell[data-chrome="compact"] .pos-ui-total-row strong { font-size:24px; }
.pos-root.pos-shell[data-chrome="compact"] .pos-ui-pay-methods button { min-height:49px; padding:7px 3px; font-size:9px; gap:4px; }
.pos-root.pos-shell[data-chrome="compact"] .pos-ui-pay-methods .pos-icon { width:17px; height:17px; }
.pos-root.pos-shell[data-chrome="compact"] .pos-ui-cart-utilities { gap:5px; margin-top:6px; }
.pos-root.pos-shell[data-chrome="compact"] .pos-ui-cart-utilities button { min-height:30px; padding:6px 4px; font-size:10px; }
.pos-root.pos-shell[data-chrome="compact"] .pos-ui-catalogue-footer { padding:5px 12px; font-size:9px; }
@media(min-width:701px) {
    .pos-shell[data-chrome="compact"][data-layout="category-board"] .pos-cart-item-row { min-height:38px; padding:3px 7px; }
    .pos-shell[data-chrome="compact"][data-layout="category-board"] .pos-ui-cart-photo { width:27px; height:27px; }
}
@media(max-width:960px) {
    .pos-root.pos-shell[data-layout="modifiers"] .pos-editor-inline { display:flex!important; flex-direction:column; }
}
@media(max-width:700px) {
    .pos-root.pos-shell[data-chrome="compact"] .pos-ui-pay-methods button { min-height:48px; }
    .pos-root.pos-shell[data-chrome="compact"] .pos-ui-cart-utilities button { min-height:40px; }
    .pos-root.pos-shell[data-layout="modifiers"].pos-mobile-cart-open .pos-editor-inline { display:none!important; }
    .pos-ui-editor .pos-editor-header { padding:10px; gap:8px; }
    .pos-ui-editor .pos-selector-tab { padding:10px; }
    .pos-ui-editor .pos-editor-price { padding:7px 9px; }
}
@media(pointer:coarse) {
    .pos-root.pos-shell[data-chrome="compact"] .pos-ui-cart-utilities button,.pos-root.pos-shell[data-chrome="compact"] .pos-ui-quantity button { min-height:44px!important; min-width:34px!important; }
}
/* Restored dashboard, dedicated payment panels and floor-plan selection. */
.pos-ui-ai-trigger{display:inline-flex!important;align-items:center;gap:4px;min-width:42px;min-height:34px;padding:6px 9px;border:1px solid var(--brand-tint-border);border-radius:8px;background:var(--brand-tint-bg);color:var(--brand-600);font-size:11px;font-weight:800;white-space:nowrap}
.pos-ui-ai-trigger>span:first-child{font-size:19px}
.pos-ui-context-fields input{display:block;width:100%;font-size:11px;margin-top:7px;padding:9px 8px}
.pos-ui-table-shortcut{width:100%;text-align:left;font-size:10px;color:var(--brand-600);background:var(--brand-tint-bg);padding:7px 9px;border-radius:6px;margin-top:9px}
.pos-ui-item-note{display:grid;gap:9px;font-size:13px;font-weight:700;margin:0 0 22px}
.pos-ui-item-note small{font-weight:400;color:var(--text-muted)}
.pos-ui-item-note .pos-item-instructions-input{min-height:205px;font-size:14px;font-weight:400;resize:vertical}
.pos-ui-additional-panel .pos-ui-quick-notes{margin-top:9px}
.pos-ui-inline-payment{background:var(--bg-surface);min-height:0;overflow:hidden;display:flex!important;flex-direction:column!important}
.pos-ui-payment-heading{display:flex;align-items:center;gap:10px;min-height:64px;padding:13px 15px;border-bottom:1px solid var(--border-faint);flex-shrink:0}
.pos-ui-payment-heading>button{display:grid;place-items:center;width:32px;height:32px;border:1px solid var(--border-subtle);border-radius:8px}
.pos-ui-payment-heading strong{display:block;font-size:14px}
.pos-ui-payment-heading small{display:block;font-size:10px;color:var(--text-muted);margin-top:4px}
.pos-ui-payment-scroll{overflow:auto;min-height:0;flex:1;padding:22px 18px}
.pos-ui-payment-amount{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:15px 0 24px;font-size:12px}
.pos-ui-payment-amount strong{font-size:30px;letter-spacing:-1px}
.pos-ui-cash-label{display:grid;gap:8px;margin-bottom:16px;font-size:12px}
.pos-ui-cash-label input,.pos-ui-cash-label select{width:100%;font-size:15px}
.pos-ui-cash-label #cash-tendered{font-size:28px;font-weight:700;padding:14px}
.pos-ui-payment-submit{width:100%;justify-content:center;min-height:43px;margin-top:12px}
.pos-ui-terminal-state{text-align:center;padding:20px 0}
.pos-ui-terminal-state h3{font-size:37px;margin:18px 0 14px;letter-spacing:-1.5px}
.pos-ui-terminal-state p{font-size:12px;line-height:1.8;color:var(--text-muted);margin-top:12px}
.pos-ui-terminal-icon{display:grid;place-items:center;width:68px;height:68px;border-radius:20px;background:var(--brand-tint-bg);color:var(--brand-600);margin:0 auto 16px}
.pos-ui-terminal-icon .pos-icon{height:34px;width:34px}
.pos-ui-split-modes,.pos-ui-split-methods{display:flex;gap:8px;margin:15px 0}
.pos-ui-split-modes button,.pos-ui-split-methods button{flex:1;padding:13px 8px;border:1px solid var(--border-subtle);border-radius:8px;font-size:12px}
.pos-ui-split-modes [aria-pressed=true]{background:var(--brand-tint-bg);border-color:var(--brand-500);color:var(--brand-600)}
.pos-ui-split-records{margin-top:24px;padding-top:18px;border-top:1px solid var(--border-faint)}
.pos-ui-split-records h3{font-size:12px}
.pos-ui-split-records>div{display:flex;justify-content:space-between;font-size:11px;padding:10px 0;gap:10px}
.pos-ui-split-records small{display:block;color:var(--text-muted);margin-top:4px}
.pos-ui-hub-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin:22px 0}
.pos-ui-hub-card{position:relative;display:flex;align-items:flex-start;flex-direction:column;gap:9px;min-height:138px;text-align:left;background:var(--bg-surface);border:1px solid var(--border-subtle);border-radius:12px;padding:18px;transition:transform .15s,box-shadow .15s}
.pos-ui-hub-card:hover{transform:translateY(-2px);box-shadow:0 5px 20px #0001;border-color:var(--brand-500)}
.pos-ui-hub-icon{display:grid;place-items:center;width:34px;height:34px;border-radius:9px;background:var(--brand-tint-bg);color:var(--brand-600);font-size:24px}
.pos-ui-hub-card strong{font-size:13px}
.pos-ui-hub-card small{font-size:10px;color:var(--text-muted);line-height:1.5;padding-right:7px}
.pos-ui-hub-arrow{position:absolute;right:13px;top:15px;color:var(--text-muted)}
.pos-ui-hub-ai{border-color:var(--brand-tint-border)}
.pos-ui-dialog.pos-ui-map-dialog{width:1100px;max-width:calc(100vw - 24px)}
.pos-ui-map-dialog .pos-ui-modal-body{padding:0;overflow:hidden}
.pos-ui-map-dialog .pos-ui-modal-header{padding:18px 20px}
.pos-ui-map-dialog .pos-ui-modal-footer{padding:12px 16px;flex-wrap:wrap}
.pos-ui-map-dialog .pos-table-map-viewport{height:min(440px,50dvh);min-height:240px}
.pos-ui-table-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding:20px}
.pos-ui-table-list-item{padding:17px;border:1px solid var(--border-subtle);border-radius:9px;text-align:left}
.pos-ui-table-list-item strong,.pos-ui-table-list-item span{display:block}
.pos-ui-table-list-item span{font-size:10px;color:var(--text-muted);margin-top:6px}
.pos-ui-ai-welcome{text-align:center;padding:12px}
.pos-ui-ai-welcome>span{display:block;font-size:42px;color:var(--brand-500);margin-bottom:12px}
.pos-ui-ai-welcome h3{font-size:20px;margin-bottom:10px}
.pos-ui-ai-welcome p{font-size:12px;color:var(--text-muted);line-height:1.8}
.pos-ui-ai-prompts{display:flex;flex-wrap:wrap;gap:8px;margin:6px 0 22px}
.pos-ui-ai-answer{padding:16px;margin-bottom:20px;border:1px solid var(--brand-tint-border);background:var(--brand-tint-bg);border-radius:10px;font-size:12px;line-height:1.8}
.pos-ui-form-grid label{display:grid;gap:7px;font-size:12px}
.pos-ui-form-grid input,.pos-ui-form-grid select{width:100%}
.pos-ui-page{min-height:0;overflow:auto}
@media(min-width:701px) and (max-width:1120px){.pos-ui-user{display:none}.pos-ui-hub-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:700px){.pos-ui-user{display:none}.pos-ui-ai-trigger{padding:5px 7px;min-width:37px}.pos-ui-context-fields input{font-size:16px;padding:9px;margin-top:6px}.pos-ui-hub-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:15px 0}.pos-ui-hub-card{min-height:127px;padding:14px;gap:7px}.pos-ui-hub-card strong{font-size:12px}.pos-ui-hub-card small{font-size:10px}.pos-ui-dashboard .pos-ui-title{display:block}.pos-ui-dashboard .pos-ui-title>.pos-ui-button{margin-top:6px}.pos-ui-item-note .pos-item-instructions-input{font-size:16px;min-height:180px}.pos-ui-payment-scroll{padding:17px}.pos-ui-payment-heading{min-height:58px}.pos-ui-payment-heading strong{font-size:14px}.pos-ui-table-list{grid-template-columns:repeat(2,minmax(0,1fr));padding:13px}.pos-ui-map-dialog .pos-ui-modal-header{padding:16px}.pos-ui-map-dialog .pos-ui-modal-footer{gap:7px}.pos-ui-map-dialog .pos-ui-modal-footer .pos-ui-button{font-size:10px;padding:9px}.pos-ui-dialog.pos-ui-map-dialog{max-height:94dvh}.pos-ui-map-dialog .pos-table-map-viewport{height:360px;min-height:220px}.pos-ui-payment-scroll input,.pos-ui-payment-scroll select{font-size:16px}.pos-shell[data-layout] .pos-ui-inline-payment{height:100%;min-height:0}}
.pos-ui-editor .pos-ui-item-note textarea.pos-item-instructions-input{height:205px;min-height:205px;margin:0;padding:14px;resize:vertical;line-height:1.7;font-size:14px}
@media(max-width:700px){.pos-ui-editor .pos-ui-item-note textarea.pos-item-instructions-input{height:180px;min-height:180px;font-size:16px}}

/* Live application elements corresponding to the demo's navigation and cart. */
.pos-header-legacy-controls.pos-ui-tools{padding:0!important;gap:0!important;border:0!important}
.pos-ui-tools .pos-tools-menu>summary{min-width:27px;padding:6px;color:var(--text-muted)}
.pos-ui-tools .pos-tools-popover form{margin:0;width:100%}
.pos-layout-navigation>a{display:flex;flex-direction:column;gap:4px;align-items:center;justify-content:center;min-height:59px;border:0;border-radius:9px;color:var(--text-muted);font-size:21px;text-decoration:none}
.pos-layout-navigation>a:hover{background:var(--brand-tint-bg);color:var(--brand-600)}
.pos-layout-navigation .pos-icon{width:19px;height:19px}
.pos-ui-context-fields label{display:block;font-size:10px;font-weight:600;line-height:1.4;color:var(--text-primary)}
.pos-ui-context-fields input,.pos-ui-context-fields .pos-ui-table-field>button{height:34px;width:100%;margin-top:3px;padding:7px 9px;background:var(--bg-field)!important;border:1px solid var(--border-subtle);border-radius:9px;font-size:11px;box-shadow:none}
.pos-ui-table-field>button svg:first-child{display:none}
.pos-ui-context-fields .pos-ui-table-field>button span{font-size:11px}
.pos-ui-edit-item{padding:0;background:none;border:0;text-align:left;min-height:0!important;min-width:0!important;width:100%;color:var(--text-primary)}
.pos-ui-edit-item:hover strong{text-decoration:underline;text-underline-offset:3px}
.pos-ui-line-copy strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pos-ui-line-copy small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pos-ui-cart-utilities button{display:flex;align-items:center;justify-content:center;gap:5px;background:transparent!important;border:1px solid var(--border-subtle)!important;color:var(--text-muted)!important;box-shadow:none!important;font-weight:500}
.pos-ui-cart-utilities button:last-child{color:#d94d4d!important}
.pos-ui-cart-utilities button svg{width:14px;height:14px;flex-shrink:0}
.pos-ui-pay-methods button svg{width:17px;height:17px}
.pos-root.pos-shell .pos-cart-body>.pos-primary-checkout{display:flex;align-items:center;justify-content:center;gap:8px}
.pos-cart-context{background:var(--bg-surface)!important}
.pos-ui-note-actions button{font-weight:500}
.pos-ui-gst-row{gap:8px;flex-wrap:wrap}
.pos-appearance-dialog{width:min(1120px,calc(100vw - 28px));border-radius:17px;max-height:90dvh}
.pos-appearance-dialog input,.pos-appearance-dialog select{color:var(--text-primary)}
.pos-shell[data-navigation="bottom"] .pos-layout-navigation>a{flex-direction:row;min-height:40px;gap:9px;padding:7px 20px}
@media(min-width:701px) and (max-width:1120px){.pos-ui-user{display:none}}
@media(max-width:700px){.pos-ui-context-fields input{font-size:16px}.pos-ui-tools .pos-tools-popover{right:0}.pos-root.pos-shell .pos-ui-cart-utilities button{min-height:40px}.pos-appearance-dialog{max-height:94dvh}}

.pos-ui-product-fallback{font-weight:400!important;min-height:100%;font-size:65px!important}

/* Keep Livewire's two cart views exclusive even in layouts that force a grid. */
.pos-root.pos-shell[data-layout][data-cart-view="cart"] .pos-cart-payment-body{display:none!important}
.pos-root.pos-shell[data-layout]:not([data-cart-view="cart"]) .pos-cart-order-body{display:none!important}
.pos-root.pos-shell[data-layout]:not([data-cart-view="cart"]) .pos-cart-payment-body{display:flex!important;flex-direction:column;min-height:0}
