/* Isolated ordering theme. The dashboard keeps its existing theme. */
body.pos-mode{overflow:hidden}
body.pos-mode>.shell,body.pos-mode>.restore-test-banner{display:none}
#posPilotDialog.pos-kiosk{--panel:#fff;--panel2:#f2f6f4;--text:#21352e;--muted:#667a71;--line:#dce5e0;--accent:#18785b;position:fixed;inset:0;z-index:60;width:100%;height:100dvh;max-width:none;max-height:none;margin:0;padding:0;border:0;border-radius:0;box-shadow:none;background:#f6f8f7;color:var(--text);display:grid;grid-template-rows:auto minmax(0,1fr);font-size:15px;line-height:1.4;isolation:isolate}
#posPilotDialog.pos-kiosk[hidden],#posPilotDialog.pos-kiosk [hidden]{display:none!important}
#posPilotDialog.pos-kiosk *{box-sizing:border-box}
#posPilotDialog.pos-kiosk button{font:inherit;white-space:normal;touch-action:manipulation;cursor:pointer}
#posPilotDialog.pos-kiosk button:focus-visible,#posPilotDialog.pos-kiosk input:focus-visible,#posPilotDialog.pos-kiosk select:focus-visible{outline:3px solid #4c9ad8;outline-offset:2px}
#posPilotDialog.pos-kiosk button:disabled{opacity:.5;cursor:default}
#posPilotDialog.pos-kiosk .pos-topbar{display:flex;align-items:center;gap:24px;padding:14px 24px;padding-top:max(14px,env(safe-area-inset-top));border-bottom:1px solid var(--line);background:#fff;min-width:0}
#posPilotDialog.pos-kiosk .pos-exit{flex:0 0 auto;border:1px solid var(--line);border-radius:12px;background:#fff;color:#32564a;min-height:48px;padding:10px 16px;font-weight:700}
#posPilotDialog.pos-kiosk .pos-brand{display:flex;align-items:center;gap:12px;min-width:0}
#posPilotDialog.pos-kiosk .pos-brand h2{font-size:23px;margin:0;line-height:1.2}
#posPilotDialog.pos-kiosk .pos-test-badge{background:#fff2d5;color:#765600;padding:5px 9px;border-radius:8px;font-size:11px;font-weight:800;white-space:nowrap}
#posPilotDialog.pos-kiosk .pos-register{width:min(350px,35vw);margin-left:auto;font-size:11px}
#posPilotDialog.pos-kiosk label{display:grid;grid-template-columns:minmax(0,1fr);min-width:0;gap:5px;margin:0;color:#526b60;font-size:13px;font-weight:650}
#posPilotDialog.pos-kiosk input,#posPilotDialog.pos-kiosk select{width:100%;min-width:0;max-width:100%;font-size:16px;min-height:48px;margin:0;border:1px solid var(--line);border-radius:10px;padding:10px 12px;background:#fff;color:#243e32}
#posPilotDialog.pos-kiosk .pos-layout{display:grid;grid-template-columns:minmax(0,1fr) 360px;min-height:0;min-width:0;overflow:hidden}
#posPilotDialog.pos-kiosk .pos-menu-pane{display:flex;flex-direction:column;min-height:0;min-width:0;padding:22px 24px 0}
#posPilotDialog.pos-kiosk .pos-menu-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;min-width:0;margin-bottom:18px}
#posPilotDialog.pos-kiosk .pos-kicker{font-size:11px;font-weight:800;letter-spacing:.12em;color:#667a71}
#posPilotDialog.pos-kiosk .pos-menu-heading h3{margin:3px 0;font-size:26px;line-height:1.2}
#posPilotDialog.pos-kiosk .pos-search{width:min(270px,40%);font-size:11px}
#posPilotDialog.pos-kiosk .pilot-categories{display:flex;flex-wrap:wrap;flex:0 0 auto;gap:8px;overflow:visible;min-width:0;max-width:100%;padding:0 0 18px}
#posPilotDialog.pos-kiosk .pilot-category{flex:0 1 auto;min-height:48px;max-width:100%;padding:10px 16px;border-radius:12px;background:#fff;border:1px solid var(--line);color:#426454;font-size:14px;font-weight:750;white-space:normal;overflow-wrap:anywhere}
#posPilotDialog.pos-kiosk .pilot-category.active{background:#dceee6;border-color:#8dc0aa;color:#125c43}
#posPilotDialog.pos-kiosk .pos-products-scroll{flex:1;overflow-y:auto;overscroll-behavior:contain;min-height:0;padding:0 0 24px;scrollbar-gutter:stable}
#posPilotDialog.pos-kiosk .pilot-menu-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(155px,1fr));min-width:0;gap:14px}
#posPilotDialog.pos-kiosk .pilot-product{display:flex;flex-direction:column;justify-content:flex-start;align-items:stretch;min-width:0;gap:8px;min-height:0;margin:0;padding:10px;text-align:left;border:1px solid var(--line);border-radius:16px;background:#fff;color:#213b2e;overflow-wrap:anywhere;box-shadow:0 2px 5px #123e2410;transition:background .12s,transform .12s}
#posPilotDialog.pos-kiosk .pilot-product:hover{border-color:#8ec4ac;background:#fcfffd}
#posPilotDialog.pos-kiosk .pilot-product:active{transform:scale(.97)}
#posPilotDialog.pos-kiosk .pilot-product img{display:block;width:100%;aspect-ratio:1.5;object-fit:cover;border-radius:10px;background:#f1f5f4}
#posPilotDialog.pos-kiosk .pilot-flyer-crop{position:relative;display:block;width:100%;aspect-ratio:1.5;overflow:hidden;border-radius:10px;background:#f1f5f4}
#posPilotDialog.pos-kiosk .pilot-flyer-crop img{position:absolute;width:350%;max-width:none;height:auto;aspect-ratio:auto;object-fit:unset;border-radius:0;pointer-events:none}
#posPilotDialog.pos-kiosk .pilot-rice-crop img{width:100%;height:100%;object-fit:contain;background:#fff}
#posPilotDialog.pos-kiosk .pos-availability-list{display:grid;gap:8px;margin-top:12px}
#posPilotDialog.pos-kiosk .pos-availability-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(115px,auto);gap:12px;align-items:center;border:1px solid #c8dfd1;border-radius:10px;padding:10px;background:#fff;overflow-wrap:anywhere}
#posPilotDialog.pos-kiosk .pos-availability-row.is-unavailable{background:#fff2ec;border-color:#e9b9a4}
#posPilotDialog.pos-kiosk .pos-availability-row button,#posPilotDialog.pos-kiosk #posAvailabilityOpen{min-height:48px;padding:8px 12px;max-width:100%;white-space:normal}
@media(max-width:600px){#posPilotDialog.pos-kiosk .pos-menu-heading{flex-wrap:wrap;gap:10px}#posPilotDialog.pos-kiosk .pos-menu-heading .pos-search{width:100%}}
#posPilotDialog.pos-kiosk .pilot-flyer-missing{background:#f1f5f4 url('pos-product-placeholder.svg') center / cover no-repeat}
#posPilotDialog.pos-kiosk .pilot-product strong{font-size:15px;line-height:1.3;min-height:2.6em;font-weight:750}
#posPilotDialog.pos-kiosk .pilot-product span{font-size:17px;color:#176247;font-weight:800;margin-top:auto}
#posPilotDialog.pos-kiosk .pilot-product small{font-size:10px;color:#876017;line-height:1.3;background:#fff5df;padding:4px 7px;border-radius:5px;align-self:flex-start}
#posPilotDialog.pos-kiosk .pilot-drink-choices{background:#e8f4ee;border:1px solid #a6cdb9;border-radius:12px;margin:0 0 14px;padding:12px;flex:0 0 auto}
#posPilotDialog.pos-kiosk .pilot-drink-buttons{grid-template-columns:repeat(auto-fit,minmax(130px,1fr))}
#posPilotDialog.pos-kiosk .pilot-modifier-list{display:grid;gap:8px;margin:12px 0}
#posPilotDialog.pos-kiosk .pilot-modifier-row{display:grid;grid-template-columns:minmax(0,1fr) 48px 26px 48px;gap:8px;align-items:center}
#posPilotDialog.pos-kiosk .pilot-modifier-row strong{text-align:center}
#posPilotDialog.pos-kiosk .pilot-modifier-row button{padding:6px;min-height:48px;font-size:22px}
#posPilotDialog.pos-kiosk .pilot-modifier-total{display:block;font-size:22px;margin:10px 0}
#posPilotDialog.pos-kiosk .pilot-drink-choices{max-height:none;overflow:visible}
#posPilotDialog.pos-kiosk .pos-cart-pane{display:flex;flex-direction:column;min-height:0;min-width:0;background:#fff;border-left:1px solid var(--line)}
#posPilotDialog.pos-kiosk .pos-cart-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:22px 20px 14px;border-bottom:1px solid #edf1ee;flex:0 0 auto}
#posPilotDialog.pos-kiosk .pos-cart-heading{flex-wrap:wrap}
#posPilotDialog.pos-kiosk #posClearOrderOpen{min-height:44px;padding:8px;font-size:13px}
#posPilotDialog.pos-kiosk .pos-cart-heading h3{margin:0;font-size:23px}
#posPilotDialog.pos-kiosk .pos-cart-scroll{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:18px 20px;display:flex;flex-direction:column;gap:14px}
#posPilotDialog.pos-kiosk .pos-cart-scroll>*{min-width:0;flex-shrink:0}
#posPilotDialog.pos-kiosk #posPilotCart{display:grid;grid-template-columns:minmax(0,1fr);gap:10px;min-width:0}
#posPilotDialog.pos-kiosk #posPilotCart .pilot-item-row{display:grid;grid-template-columns:minmax(0,1fr);gap:9px;padding:12px;border:1px solid var(--line);border-radius:12px;background:#f8faf9;color:#294534}
#posPilotDialog.pos-kiosk #posPilotCart .pilot-item-row>span{font-size:14px;line-height:1.4;white-space:normal;overflow-wrap:anywhere;min-width:0}
#posPilotDialog.pos-kiosk .pilot-quantity-controls{display:flex;align-items:center;gap:6px;justify-content:flex-end}
#posPilotDialog.pos-kiosk #posPilotCart .pilot-quantity-controls button{flex:0 0 46px;width:46px;min-width:46px;height:46px;min-height:46px;padding:0;font-size:24px;background:#e6f0eb;color:#175e44;border:1px solid #cfe0d6}
#posPilotDialog.pos-kiosk #posPilotCart input{width:58px;font-size:18px;min-height:46px;padding:5px;text-align:center;background:#fff;color:#203f2e}
#posPilotDialog.pos-kiosk .pilot-configure{font-size:12px!important;min-height:40px!important}
#posPilotDialog.pos-kiosk .pos-empty{border:1px dashed #c9d8d0;border-radius:12px;padding:24px 15px;text-align:center;margin:0;color:#718579;font-size:14px}
#posPilotDialog.pos-kiosk .pos-payment-fields{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px}
#posPilotDialog.pos-kiosk .pos-details{border:1px solid var(--line);border-radius:12px;padding:12px;font-size:13px;overflow-wrap:anywhere}
#posPilotDialog.pos-kiosk summary{cursor:pointer;min-height:30px;font-size:14px;font-weight:700;white-space:normal}
#posPilotDialog.pos-kiosk .pos-details label,#posPilotDialog.pos-kiosk .pos-details button{margin-top:10px}
#posPilotDialog.pos-kiosk .pos-help,#posPilotDialog.pos-kiosk #posPilotSaveHint{font-size:12px;line-height:1.45;color:#718176;margin:0;overflow-wrap:anywhere}
#posPilotDialog.pos-kiosk .pos-consent{display:flex;align-items:flex-start;gap:8px}
#posPilotDialog.pos-kiosk .pos-consent input{width:22px;min-height:22px;height:22px;flex:0 0 22px}
#posPilotDialog.pos-kiosk .primary,#posPilotDialog.pos-kiosk .secondary{min-height:48px;width:100%;max-width:100%;padding:11px 14px;margin:0;border-radius:10px;font-size:14px;line-height:1.35;white-space:normal;overflow-wrap:anywhere}
#posPilotDialog.pos-kiosk .primary{background:#18785b;color:#fff}
#posPilotDialog.pos-kiosk .secondary{background:#ecf3ef;color:#345d47;border:1px solid #d6e5dc}
#posPilotDialog.pos-kiosk .pilot-checkout-footer{flex:0 0 auto;display:grid;gap:9px;padding:16px 20px max(16px,env(safe-area-inset-bottom));border-top:1px solid var(--line);background:#fff;min-width:0;max-height:45%;overflow-y:auto}
#posPilotDialog.pos-kiosk #posPilotTotal{font-size:25px;line-height:1.2;margin:0;color:#163e2a}
#posPilotDialog.pos-kiosk #posPilotSubmit{min-height:54px;font-size:16px}
#posPilotDialog.pos-kiosk #posPilotStatus,#posPilotDialog.pos-kiosk #posPilotReceipt{font-size:12px;line-height:1.4;color:#637b6d;max-height:none;overflow-wrap:anywhere}
#posPilotDialog.pos-kiosk #posPilotStatus:empty,#posPilotDialog.pos-kiosk #posPilotReceipt:empty,#posPilotDialog.pos-kiosk #posPilotSaveHint:empty{display:none}
#posPilotDialog.pos-kiosk a,#posPilotDialog.pos-kiosk .pos-link{color:#18785b}
#posPilotDialog.pos-kiosk .pos-link{background:transparent;padding:10px;min-height:44px}
#posPilotDialog.pos-kiosk .pos-mobile-summary,#posPilotDialog.pos-kiosk .pos-cart-jump,#posPilotDialog.pos-kiosk #posBackMenu{display:none}
#posPilotDialog.pos-kiosk .pos-exit-confirm{position:absolute;inset:0;z-index:5;background:#f6f8f7f5;display:grid;place-items:center;padding:24px}
#posPilotDialog.pos-kiosk .pos-exit-confirm>div{width:min(420px,100%);border:1px solid var(--line);background:#fff;border-radius:20px;padding:28px;box-shadow:0 16px 48px #15443018}
#posPilotDialog.pos-kiosk .pos-exit-confirm h3{margin:0;font-size:25px}
#posPilotDialog.pos-kiosk .pos-exit-confirm p{color:#698174}
#posPilotDialog.pos-kiosk .pos-exit-confirm button+button{margin-top:10px}
@media(min-width:1400px){#posPilotDialog.pos-kiosk .pos-layout{grid-template-columns:minmax(0,1fr) 420px}#posPilotDialog.pos-kiosk .pilot-menu-grid{grid-template-columns:repeat(auto-fill,minmax(180px,1fr))}}
@media(max-width:900px){#posPilotDialog.pos-kiosk .pos-topbar{padding:12px 16px;gap:14px}#posPilotDialog.pos-kiosk .pos-brand h2{font-size:19px}#posPilotDialog.pos-kiosk .pos-test-badge{display:none}#posPilotDialog.pos-kiosk .pos-layout{grid-template-columns:minmax(0,1fr) 320px}#posPilotDialog.pos-kiosk .pos-menu-pane{padding:16px 16px 0}#posPilotDialog.pos-kiosk .pos-search{width:45%}#posPilotDialog.pos-kiosk .pos-menu-heading h3{font-size:22px}#posPilotDialog.pos-kiosk .pilot-menu-grid{grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:10px}}
@media(max-width:700px){
 #posPilotDialog.pos-kiosk{grid-template-rows:auto minmax(0,1fr) auto}
 #posPilotDialog.pos-kiosk .pos-topbar{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:9px;padding:10px 12px;padding-top:max(10px,env(safe-area-inset-top))}
 #posPilotDialog.pos-kiosk .pos-exit{font-size:12px;padding:8px;min-height:44px}
 #posPilotDialog.pos-kiosk .pos-brand{justify-content:center}#posPilotDialog.pos-kiosk .pos-brand h2{font-size:17px}
 #posPilotDialog.pos-kiosk .pos-register{grid-column:1/-1;width:100%;margin:0;font-size:10px;gap:3px}#posPilotDialog.pos-kiosk .pos-register select{min-height:42px;padding:7px 10px;font-size:14px}
 #posPilotDialog.pos-kiosk .pos-cart-jump{display:block;background:#dceee6;color:#175c43;border-radius:10px;min-height:44px;padding:7px 10px;font-size:12px;font-weight:750}
 #posPilotDialog.pos-kiosk .pos-layout{grid-template-columns:minmax(0,1fr)}
 #posPilotDialog.pos-kiosk[data-pane="menu"] .pos-cart-pane,#posPilotDialog.pos-kiosk[data-pane="cart"] .pos-menu-pane{display:none}
 #posPilotDialog.pos-kiosk .pos-menu-pane{padding:14px 12px 0}
 #posPilotDialog.pos-kiosk .pos-menu-heading{margin-bottom:12px;gap:10px}#posPilotDialog.pos-kiosk .pos-menu-heading h3{font-size:20px}
 #posPilotDialog.pos-kiosk .pos-search{width:45%;font-size:10px}#posPilotDialog.pos-kiosk .pos-search input{font-size:16px;min-height:44px;padding:8px}
 #posPilotDialog.pos-kiosk .pilot-categories{gap:6px;padding-bottom:12px}#posPilotDialog.pos-kiosk .pilot-category{min-height:44px;padding:8px 11px;font-size:12px}
 #posPilotDialog.pos-kiosk .pilot-menu-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 #posPilotDialog.pos-kiosk .pilot-product{padding:8px;gap:6px;border-radius:12px}#posPilotDialog.pos-kiosk .pilot-product strong{font-size:14px}#posPilotDialog.pos-kiosk .pilot-product span{font-size:16px}
 #posPilotDialog.pos-kiosk .pos-cart-pane{border:0}#posPilotDialog.pos-kiosk .pos-cart-heading{padding:12px 16px}#posPilotDialog.pos-kiosk .pos-cart-scroll{padding:14px 16px}
 #posPilotDialog.pos-kiosk #posBackMenu{display:block}
 #posPilotDialog.pos-kiosk .pos-mobile-summary{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:10px 14px max(10px,env(safe-area-inset-bottom));background:#fff;border-top:1px solid var(--line)}
 #posPilotDialog.pos-kiosk[data-pane="cart"] .pos-mobile-summary{display:none}
 #posPilotDialog.pos-kiosk .pos-mobile-summary span{font-size:20px;font-weight:800;color:#184c33}#posPilotDialog.pos-kiosk .pos-mobile-summary button{background:#18785b;color:#fff;border-radius:10px;min-height:48px;padding:10px 24px;font-weight:750}
 #posPilotDialog.pos-kiosk .pilot-checkout-footer{padding:12px 16px max(12px,env(safe-area-inset-bottom));gap:7px}#posPilotDialog.pos-kiosk #posPilotTotal{font-size:23px}
}
@media print{body.pos-mode{overflow:visible}#posPilotDialog.pos-kiosk{display:none!important}}

#posPilotDialog.pos-kiosk .pos-language-control{flex:0 0 120px;margin-left:0}#posPilotDialog.pos-kiosk .pos-language-control select{font-size:14px;min-height:44px}#posPilotDialog.pos-kiosk .pos-topbar{flex-wrap:wrap}@media(max-width:600px){#posPilotDialog.pos-kiosk .pos-language-control{flex-basis:110px}#posPilotDialog.pos-kiosk .pos-register{flex:1 1 180px;width:auto;margin-left:0}#posPilotDialog.pos-kiosk .pos-brand{flex:1}}

#posPilotDialog.pos-kiosk .pos-quick-cash{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:4px 0 8px}#posPilotDialog.pos-kiosk .pos-quick-cash button{min-width:0;min-height:48px;padding:10px 4px;border:1px solid #bfd7cd;border-radius:10px;background:#edf5f1;color:#175c43;font-size:16px;font-weight:750}#posPilotDialog.pos-kiosk .pos-quick-cash button[aria-pressed="true"]{background:#18785b;color:#fff}#posPilotDialog.pos-kiosk .pos-quick-cash button:disabled{opacity:.5;cursor:default}#posPilotDialog.pos-kiosk .pos-cash-change{display:block;font-size:16px;color:#175c43;overflow-wrap:anywhere}

/* Restaurant register: independent menu and ticket rails, pinned checkout. */
#posPilotDialog.pos-kiosk{top:var(--pos-viewport-top,0px);bottom:auto;height:var(--pos-viewport-height,100dvh);overflow:hidden;grid-template-rows:auto minmax(0,1fr)}
#posPilotDialog.pos-kiosk .pos-topbar{gap:12px;padding:8px 16px;padding-top:max(8px,env(safe-area-inset-top));flex-wrap:nowrap;min-height:64px}
#posPilotDialog.pos-kiosk .pos-exit{width:44px;height:44px;min-height:44px;padding:0;font-size:22px;border-radius:10px;flex:0 0 44px}
#posPilotDialog.pos-kiosk .pos-brand{gap:8px;flex:0 0 auto}#posPilotDialog.pos-kiosk .pos-brand h2{font-size:19px}
#posPilotDialog.pos-kiosk .pos-test-badge{padding:4px 6px;font-size:10px}
#posPilotDialog.pos-kiosk .pos-register{width:min(330px,36vw);margin-left:auto;font-size:11px;gap:2px}#posPilotDialog.pos-kiosk .pos-register select{min-height:40px;padding:7px 9px;font-size:14px}
#posPilotDialog.pos-kiosk .pos-language-control{flex:0 0 110px}#posPilotDialog.pos-kiosk .pos-language-control select{min-height:44px;margin:0;font-size:14px}
#posPilotDialog.pos-kiosk .pos-layout{grid-template-columns:minmax(0,2.05fr) minmax(340px,1fr);overflow:hidden;height:100%;min-height:0}
#posPilotDialog.pos-kiosk .pos-menu-pane{padding:16px 18px 0;overflow:hidden;display:grid;grid-template-rows:auto minmax(0,1fr);gap:0;position:relative}
#posPilotDialog.pos-kiosk .pos-menu-heading{margin-bottom:14px;gap:12px}#posPilotDialog.pos-kiosk .pos-menu-heading h3{font-size:21px;margin:0}
#posPilotDialog.pos-kiosk .pos-search{width:min(280px,55%)}
/* Categories stay visible while products scroll; long lists have their own scroll area. */
#posPilotDialog.pos-kiosk .pos-products-scroll{padding-bottom:18px;min-height:0;min-width:0;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable}
#posPilotDialog.pos-kiosk .pilot-categories{position:sticky;top:0;z-index:4;gap:8px;padding:8px 4px 12px;margin:0 0 8px;background:#f5f8f6;border-bottom:1px solid #cbded3;box-shadow:0 5px 10px #193d2b0a;max-height:min(32dvh,210px);overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-gutter:stable;align-content:start}
#posPilotDialog.pos-kiosk .pilot-category{min-height:44px;padding:9px 13px;flex:0 1 auto;background:#e6f2eb;border-color:#b9d6c5;color:#255b43;line-height:1.3}
#posPilotDialog.pos-kiosk .pilot-category:hover{background:#d3eadc;border-color:#83b89a}
#posPilotDialog.pos-kiosk .pilot-category.active,#posPilotDialog.pos-kiosk .pilot-category.active:hover{background:#19734e;border-color:#19734e;color:#fff;box-shadow:0 2px 5px #194d3026}
#posPilotDialog.pos-kiosk .pilot-category:focus-visible{outline:3px solid #287fc1;outline-offset:2px}
#posPilotDialog.pos-kiosk .pilot-menu-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
#posPilotDialog.pos-kiosk .pilot-product{padding:9px;border-radius:12px;gap:7px}#posPilotDialog.pos-kiosk .pilot-product img{aspect-ratio:1.45}#posPilotDialog.pos-kiosk .pilot-product strong{font-size:14px}#posPilotDialog.pos-kiosk .pilot-product span{font-size:16px}
#posPilotDialog.pos-kiosk .pos-cart-pane{height:100%;overflow:hidden;display:flex;flex-direction:column;min-height:0;box-shadow:-3px 0 14px #193d2b06}
#posPilotDialog.pos-kiosk .pos-cart-heading{padding:12px 18px 8px;border:0}#posPilotDialog.pos-kiosk .pos-cart-heading h3{font-size:21px}
#posPilotDialog.pos-kiosk .pos-register-tabs{display:grid;grid-template-columns:1fr 1fr;gap:6px;padding:0 18px 10px;flex:0 0 auto;border-bottom:1px solid var(--line)}
#posPilotDialog.pos-kiosk .pos-register-tabs button{min-height:44px;padding:8px;background:#f2f5f3;color:#557064;border:1px solid transparent;border-radius:9px;font-size:14px;font-weight:700}
#posPilotDialog.pos-kiosk .pos-register-tabs button[aria-pressed="true"]{background:#e4f0ea;border-color:#a9cdbb;color:#155c41}
#posPilotDialog.pos-kiosk .pos-register-status{flex:0 0 auto;padding:6px 18px;font-size:12px;max-height:52px;overflow:auto;border-bottom:1px solid #edf1ee}
#posPilotDialog.pos-kiosk .pos-register-status:empty{display:none}
#posPilotDialog.pos-kiosk .pos-cart-scroll,#posPilotDialog.pos-kiosk .pos-payment-scroll{flex:1 1 0;min-height:0;min-width:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-gutter:stable;padding:14px 18px;gap:12px}
#posPilotDialog.pos-kiosk .pos-payment-scroll{display:flex;flex-direction:column}#posPilotDialog.pos-kiosk .pos-payment-scroll>*{flex-shrink:0;min-width:0}
#posPilotDialog.pos-kiosk #posPilotCart .pilot-item-row{padding:12px;gap:10px;background:#fff;border:0;border-bottom:1px solid var(--line);border-radius:0}
#posPilotDialog.pos-kiosk #posPilotCart .pilot-line-description{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:12px;row-gap:3px}
#posPilotDialog.pos-kiosk .pilot-line-description>strong{font-size:15px;line-height:1.35}#posPilotDialog.pos-kiosk .pilot-line-description>small{font-size:12px;color:#738378;grid-column:1/-1}
#posPilotDialog.pos-kiosk .pilot-line-total{white-space:nowrap;color:#174d38}
#posPilotDialog.pos-kiosk .pilot-quantity-controls{justify-content:flex-start}#posPilotDialog.pos-kiosk #posPilotCart .pilot-quantity-controls button{height:44px;min-height:44px;width:44px;flex-basis:44px;min-width:44px;border-radius:8px}
#posPilotDialog.pos-kiosk #posPilotCart input{min-height:44px;width:60px;font-size:16px}#posPilotDialog.pos-kiosk #posPilotCart .pilot-quantity-controls .pilot-remove{margin-left:auto;border-color:#eadfdf;background:#fbf5f5;color:#a34c4c;font-size:24px}
#posPilotDialog.pos-kiosk .pilot-checkout-footer{flex:0 0 auto;max-height:none;overflow:visible;display:grid;gap:8px;padding:12px 18px max(12px,env(safe-area-inset-bottom));border-top:1px solid #cdded4;box-shadow:0 -3px 12px #193d2b06;background:#fff}
#posPilotDialog.pos-kiosk .pos-subtotal-row{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:13px;color:#708277}
#posPilotDialog.pos-kiosk #posPilotTotal{font-size:27px;line-height:1.2;margin:0;font-weight:800}
#posPilotDialog.pos-kiosk .pos-tender-summary{display:grid;gap:4px;padding:8px 11px;border:1px solid #b8ddc9;border-radius:11px;background:#eaf7ef;min-width:0}
#posPilotDialog.pos-kiosk .pos-tender-summary[hidden],#posPilotDialog.pos-kiosk .pos-cart-pane[data-register-view="order"] .pos-tender-summary{display:none!important}
#posPilotDialog.pos-kiosk .pos-tender-received{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:13px;color:#355b45}
#posPilotDialog.pos-kiosk .pos-tender-received strong{font-size:15px;color:#1d4832}
#posPilotDialog.pos-kiosk .pos-tender-summary .pos-cash-change{font-size:22px;line-height:1.25;color:#126039;font-weight:850;overflow-wrap:anywhere}
#posPilotDialog.pos-kiosk .pos-tender-summary[data-state="short"]{border-color:#f3c3ae;background:#fff3ec}
#posPilotDialog.pos-kiosk .pos-tender-summary[data-state="short"] .pos-cash-change{color:#a33f26}
#posPilotDialog.pos-kiosk #posPilotSubmit,#posPilotDialog.pos-kiosk #posProceedPayment{min-height:56px;font-size:19px;font-weight:800;width:100%;margin:0;border-radius:12px}
#posPilotDialog.pos-kiosk .pos-cart-pane[data-register-view="order"] #posPilotSubmit,#posPilotDialog.pos-kiosk .pos-cart-pane[data-register-view="payment"] #posProceedPayment{display:none}
#posPilotDialog.pos-kiosk #posPilotReceipt{max-height:52px;overflow-y:auto;margin:0}#posPilotDialog.pos-kiosk #posPilotNew,#posPilotDialog.pos-kiosk #posPilotPrint{min-height:44px;padding:8px}
@media(min-width:1400px){#posPilotDialog.pos-kiosk .pilot-menu-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(min-width:1800px){#posPilotDialog.pos-kiosk .pilot-menu-grid{grid-template-columns:repeat(5,minmax(0,1fr))}}
@media(min-width:761px) and (max-width:1000px){#posPilotDialog.pos-kiosk .pos-layout{grid-template-columns:minmax(0,1fr) 310px}#posPilotDialog.pos-kiosk .pilot-menu-grid{grid-template-columns:repeat(2,minmax(0,1fr))}#posPilotDialog.pos-kiosk .pos-menu-pane{padding:12px 12px 0}#posPilotDialog.pos-kiosk .pos-cart-scroll,#posPilotDialog.pos-kiosk .pos-payment-scroll{padding:12px}#posPilotDialog.pos-kiosk .pos-topbar{gap:8px;padding-left:12px;padding-right:12px}}
@media(max-width:760px){
 #posPilotDialog.pos-kiosk{grid-template-rows:auto minmax(0,1fr) auto}
 #posPilotDialog.pos-kiosk .pos-topbar{display:grid;grid-template-columns:44px minmax(0,1fr) auto;gap:7px;padding:8px 12px;padding-top:max(8px,env(safe-area-inset-top))}
 #posPilotDialog.pos-kiosk .pos-brand{justify-content:flex-start}#posPilotDialog.pos-kiosk .pos-brand h2{font-size:18px}#posPilotDialog.pos-kiosk .pos-test-badge{display:none}
 #posPilotDialog.pos-kiosk .pos-register{grid-column:1/3;grid-row:2;width:100%;margin:0;font-size:10px}#posPilotDialog.pos-kiosk .pos-register select{min-height:40px;font-size:13px}
 #posPilotDialog.pos-kiosk .pos-language-control{grid-column:3;grid-row:2;width:108px;align-self:end}
 #posPilotDialog.pos-kiosk .pos-cart-jump{display:block;min-height:44px;font-size:12px;padding:7px 10px;background:#e4f0ea;color:#175c43;border-radius:10px}
 #posPilotDialog.pos-kiosk .pos-layout{grid-template-columns:minmax(0,1fr)}
 #posPilotDialog.pos-kiosk[data-pane="menu"] .pos-cart-pane,#posPilotDialog.pos-kiosk[data-pane="cart"] .pos-menu-pane{display:none}
 #posPilotDialog.pos-kiosk .pos-menu-pane{padding:12px 12px 0}#posPilotDialog.pos-kiosk .pilot-menu-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 #posPilotDialog.pos-kiosk .pos-cart-pane{border-left:0}#posPilotDialog.pos-kiosk #posBackMenu{display:block}
 #posPilotDialog.pos-kiosk .pos-mobile-summary{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:10px 14px max(10px,env(safe-area-inset-bottom));background:#fff;border-top:1px solid var(--line)}
 #posPilotDialog.pos-kiosk[data-pane="cart"] .pos-mobile-summary{display:none}
 #posPilotDialog.pos-kiosk .pos-cart-heading{padding:8px 14px 4px}#posPilotDialog.pos-kiosk .pos-register-tabs{padding:0 14px 8px}#posPilotDialog.pos-kiosk .pos-cart-scroll,#posPilotDialog.pos-kiosk .pos-payment-scroll{padding:12px 14px}
 #posPilotDialog.pos-kiosk .pilot-checkout-footer{padding:10px 14px max(10px,env(safe-area-inset-bottom));gap:6px}#posPilotDialog.pos-kiosk #posPilotTotal{font-size:24px}
}

#posPilotDialog.pos-kiosk .pos-receipt-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}#posPilotDialog.pos-kiosk .pos-cart-pane[data-confirmed="true"] #posPilotSubmit{display:none}

#posPilotDialog.pos-kiosk .pos-checkout-reason{margin:0;padding:8px 10px;background:#fff5e4;color:#815b1d;border-radius:8px;font-size:12px;line-height:1.35;max-height:64px;overflow-y:auto;overflow-wrap:anywhere}

#posPilotDialog.pos-kiosk .inventory-exception-card{display:grid;gap:8px;border:1px solid var(--line);border-radius:12px;padding:12px;margin:10px 0;overflow-wrap:anywhere}#posPilotDialog.pos-kiosk .inventory-exception-card p{margin:0;font-size:13px}#posPilotDialog.pos-kiosk .inventory-exception-card small{font-size:11px;color:var(--muted)}#posPilotDialog.pos-kiosk .inventory-exception-card textarea{width:100%;min-height:56px;background:#fff;color:#243e32;border:1px solid var(--line);border-radius:8px;padding:10px;font:inherit}#posPilotDialog.pos-kiosk .inventory-exception-card label{display:flex;align-items:center;gap:8px}#posPilotDialog.pos-kiosk .inventory-exception-card input[type=checkbox]{width:24px;height:24px;min-height:24px}#posPilotDialog.pos-kiosk .inventory-issue{font-size:12px;padding:8px;background:#fff5e4;border-radius:8px}
#posPilotDialog.pos-kiosk .inventory-audit-details{border-top:1px solid var(--line);padding-top:4px;color:var(--muted);font-size:12px}
#posPilotDialog.pos-kiosk .inventory-audit-details summary{min-height:44px;display:list-item;align-content:center;cursor:pointer;font-weight:500}
#posPilotDialog.pos-kiosk .inventory-audit-details small{display:block;padding:4px 0;overflow-wrap:anywhere}
#posPilotDialog.pos-kiosk .pos-cash-open{min-height:44px;padding:8px 12px;border:1px solid #bfd0c9;border-radius:8px;background:#eef5f1;color:#214837;font-size:13px;white-space:normal}
@media(max-width:760px){#posPilotDialog.pos-kiosk .pos-cash-open{grid-column:1/-1;grid-row:3}#posPilotDialog.pos-kiosk .pos-cart-jump{grid-column:3;grid-row:1}}

#posPilotDialog.pos-kiosk .pos-usd-rate-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:8px}#posPilotDialog.pos-kiosk .pos-usd-rate-row button{min-height:44px;white-space:normal}#posPilotDialog.pos-kiosk #posUsdRate{background:#eef3f0;color:#1e4e3d;opacity:1}#posPilotDialog.pos-kiosk #posUsdRateStatus{display:block;margin:5px 0 12px;color:#416657}#posPilotDialog.pos-kiosk .pos-usd-manager{display:grid;gap:8px;margin-top:14px;padding:12px;border:1px solid #c8dfd2;border-radius:12px;background:#f7fbf8}#posPilotDialog.pos-kiosk .pos-usd-manager[hidden]{display:none}#posPilotDialog.pos-kiosk .pos-usd-manager h4{margin:0;color:#1d593f}#posPilotDialog.pos-kiosk .pos-usd-manager button{min-height:48px}
@media(max-width:420px){#posPilotDialog.pos-kiosk .pos-usd-rate-row{grid-template-columns:1fr}#posPilotDialog.pos-kiosk .pos-usd-rate-row button{width:100%}}
/* Short labels wrap inside the register; full names stay available in the title. */
#posPilotDialog.pos-kiosk .pilot-line-description>.pos-short-name{min-width:0;white-space:normal;overflow-wrap:anywhere}
#posPilotDialog.pos-kiosk .pos-orders-open{min-height:44px;padding:8px 12px;border:1px solid #bfd0c9;border-radius:8px;background:#eef5f1;color:#214837;font-size:13px;flex-shrink:0}
#posOrdersDialog .pos-orders-controls{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
#posOrdersDialog .pos-orders-controls input{flex:1 1 180px;min-width:0}
#posOrdersDialog .pos-orders-controls button,#posOrdersDialog .pos-orders-actions button{min-height:44px;margin:0}
#posOrdersDialog .pos-orders-layout{display:grid;grid-template-columns:minmax(210px,.8fr) minmax(0,1.2fr);gap:20px;margin-top:12px}
#posOrdersList{display:grid;gap:10px;align-content:start}
#posOrdersDialog .pos-order-card{width:100%;min-width:0;text-align:left;display:grid;gap:5px;padding:14px;border:1px solid #ccd9d2;border-radius:12px;background:#fff;color:#203b2d;overflow-wrap:anywhere}
#posOrdersDialog .pos-order-card[aria-pressed="true"]{border:2px solid #24764c;background:#f0faf4}
#posOrdersDialog .pos-order-card strong{font-size:21px}#posOrdersDialog .pos-order-card small{color:#596d60}
#posOrdersDialog .pos-order-item{display:grid;grid-template-columns:auto minmax(0,1fr);gap:10px;padding:12px 0;border-bottom:1px solid #dbe4de;overflow-wrap:anywhere}
#posOrdersDialog #posOrdersDetail{overflow-wrap:anywhere}#posOrdersDialog #posOrdersDetail h3{font-size:30px}
#posOrdersDialog .pos-orders-actions{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}
#posOrdersEditor{position:sticky;bottom:0;background:#fff;padding:12px 0;border-top:1px solid #ccd9d2}
@media(max-width:760px){#posPilotDialog.pos-kiosk .pos-cash-open{grid-column:1/3}#posPilotDialog.pos-kiosk .pos-orders-open{grid-column:3;grid-row:3;width:100%}#posOrdersDialog .pos-orders-layout{grid-template-columns:minmax(0,1fr)}#posOrdersList{max-height:34vh;overflow:auto}}

/* Preparation stays usable on narrow screens, with separate touch targets per line. */
#posOrdersDialog .pos-order-item{grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px}
#posOrdersDialog .pos-order-item small{grid-column:2}
#posOrdersDialog .pos-item-ready{grid-column:3;grid-row:1;min-height:44px;white-space:normal;max-width:120px;border:1px solid #b6cdbf;background:#fff;color:#27533e;border-radius:9px;padding:8px 12px}
#posOrdersDialog .pos-item-ready[aria-pressed="true"]{background:#e0f2e7;border-color:#549474;color:#175139}
@media(max-width:440px){#posOrdersDialog .pos-order-item{grid-template-columns:auto minmax(0,1fr)}#posOrdersDialog .pos-item-ready{grid-column:2;grid-row:auto;justify-self:start}}

#posOrdersDialog .pos-preparation-area{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:20px 0 4px;padding-top:10px;border-top:1px solid #d8e1dc;color:#244d3a;font-size:16px}#posOrdersDialog .pos-preparation-area small{font-size:13px;color:#5d7166;font-variant-numeric:tabular-nums}#posOrdersDialog #posOrdersFull{min-height:44px;margin:8px 0;width:100%;white-space:normal}#posOrdersDialog #posOrdersFull[hidden]{display:none}

/* Product choices stay at the current viewport. */
#posProductChoiceShade{display:none;position:fixed;inset:0;background:rgb(15 23 42 / .35);z-index:180}
#posPilotDialog:has(#posPilotDrinkChoices[data-choice-mode="product"]:not([hidden])) #posProductChoiceShade{display:block}
#posPilotDialog.pos-kiosk #posPilotDrinkChoices[data-choice-mode="product"]{position:fixed;z-index:181;top:50%;left:50%;transform:translate(-50%,-50%);width:min(680px,calc(100vw - 32px));max-width:calc(100vw - 32px);max-height:calc(100dvh - 40px);overflow:auto;overscroll-behavior:contain;box-sizing:border-box;background:#fff;color:#172d29;border:1px solid #cbd5e1;border-radius:18px;padding:24px;box-shadow:0 20px 70px #132a2940}
#posPilotDialog.pos-kiosk #posPilotDrinkChoices[data-choice-mode="product"][hidden]{display:none}
#posPilotDialog.pos-kiosk #posPilotDrinkChoices[data-choice-mode="product"] h3{margin:0 0 18px;font-size:1.2rem;overflow-wrap:anywhere}
#posPilotDialog.pos-kiosk .pos-prep-groups{display:grid;gap:18px}#posPilotDialog.pos-kiosk .pos-prep-groups fieldset{margin:0;padding:12px;border:1px solid #d2dcd8;border-radius:12px;display:flex;flex-wrap:wrap;gap:10px;min-width:0}
#posPilotDialog.pos-kiosk .pos-prep-groups legend{font-size:.95rem;font-weight:700;padding:0 6px}#posPilotDialog.pos-kiosk .pos-prep-groups button{min-height:48px;white-space:normal;overflow-wrap:anywhere;flex:1 1 170px;text-align:left;background:#f7faf8;color:#193e34;border:1px solid #becfc7}
#posPilotDialog.pos-kiosk .pos-prep-groups button[aria-pressed="true"]{background:#d9eee3;border:2px solid #267153;color:#123f2e}
#posPilotDialog.pos-kiosk .pos-prep-actions{display:flex;gap:12px;position:sticky;bottom:-24px;padding:16px 0;background:#fff;border-top:1px solid #dce5df;margin-top:20px}#posPilotDialog.pos-kiosk .pos-prep-actions button{min-height:48px;flex:1;white-space:normal}
@media(max-width:600px){#posPilotDialog.pos-kiosk #posPilotDrinkChoices[data-choice-mode="product"]{padding:16px;width:calc(100vw - 16px);max-width:calc(100vw - 16px);max-height:calc(100dvh - 24px);border-radius:14px}#posPilotDialog.pos-kiosk .pos-prep-actions{bottom:-16px}#posPilotDialog.pos-kiosk .pos-prep-groups button{flex-basis:135px}}

/* Quick temporary availability is separate from the add-to-order button. */
#posPilotDialog.pos-kiosk .pos-product-card{min-width:0;display:flex;flex-direction:column;border:1px solid #c8d8d0;border-radius:12px;background:#fff;overflow:hidden}
#posPilotDialog.pos-kiosk .pos-product-card>.pilot-product{width:100%;border:0;border-radius:0;flex:1;box-shadow:none}
#posPilotDialog.pos-kiosk .pos-product-availability{align-self:flex-end;min-height:44px;margin:0 8px 8px;padding:8px 10px;border:1px solid #c1d8cc;border-radius:9px;background:#edf7f1;color:#24533c;font-size:12px;font-weight:700;white-space:normal;text-align:right;max-width:calc(100% - 16px)}
#posPilotDialog.pos-kiosk .pos-product-availability[data-unavailable="true"]{background:#fff2e9;color:#833d22;border-color:#e9b599}
#posPilotDialog.pos-kiosk .pos-availability-toolbar,#posPilotDialog.pos-kiosk .pos-availability-bulk{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin:12px 0}
#posPilotDialog.pos-kiosk .pos-availability-toolbar select{width:auto;min-height:48px;max-width:100%}
#posPilotDialog.pos-kiosk .pos-availability-bulk{position:sticky;top:0;z-index:2;padding:10px;background:#edf5ef;border:1px solid #bcd3c3;border-radius:12px}
#posPilotDialog.pos-kiosk .pos-availability-bulk span{font-weight:700;font-size:14px}
#posPilotDialog.pos-kiosk .pos-availability-check{display:flex;align-items:center;gap:12px;min-height:48px;min-width:0;margin:0;cursor:pointer}
#posPilotDialog.pos-kiosk .pos-availability-check input{width:24px;height:24px;min-height:24px;flex:0 0 24px;margin:0;accent-color:#28754f}
#posPilotDialog.pos-kiosk .pos-availability-check span{min-width:0;overflow-wrap:anywhere}#posPilotDialog.pos-kiosk .pos-availability-check small{display:block;color:#587263;margin-top:4px}
@media(max-width:500px){#posPilotDialog.pos-kiosk .pos-availability-row{grid-template-columns:minmax(0,1fr)}#posPilotDialog.pos-kiosk .pos-availability-row>button{justify-self:end}#posPilotDialog.pos-kiosk .pos-availability-toolbar>*{flex:1 1 130px}#posPilotDialog.pos-kiosk .pos-availability-bulk>button{flex:1 1 130px}}

#posPilotDialog.pos-kiosk .pos-rep-actions{display:flex;gap:10px;flex-wrap:wrap}#posPilotDialog.pos-kiosk .pos-availability-back{min-height:48px;margin-bottom:12px}#posPilotDialog.pos-kiosk #posRepStatus{display:block;margin:10px 0;overflow-wrap:anywhere}

#posPilotDialog.pos-kiosk .pilot-product img[src*="images/food/"],#posPilotDialog.pos-kiosk .pilot-product img[src*="images/drinks/"]{object-fit:contain;background:#fff}

#posPilotDialog.pos-kiosk .pos-availability-back{position:sticky;top:0;z-index:4;background:#fff;box-shadow:0 3px 8px #17382a16}#posPilotDialog.pos-kiosk #posPilotDrinkChoices[data-choice-mode="workspace"] .pos-availability-bulk{top:60px}

/* Clear tablet register: fixed title/tabs, one scrolling view, pinned payment. */
#posPilotDialog.pos-kiosk .pos-cart-pane{display:grid;grid-template-rows:auto auto auto minmax(0,1fr) auto;grid-template-columns:minmax(0,1fr)}
#posPilotDialog.pos-kiosk .pos-cart-heading{grid-row:1;background:#fff}
#posPilotDialog.pos-kiosk .pos-register-tabs{grid-row:2;background:#fff;position:relative;z-index:2}
#posPilotDialog.pos-kiosk .pos-register-status{grid-row:3}
#posPilotDialog.pos-kiosk :is(.pos-cart-scroll,.pos-payment-scroll){grid-row:4;grid-column:1;min-height:0;scroll-padding:14px;padding-bottom:24px}
#posPilotDialog.pos-kiosk .pilot-checkout-footer{grid-row:5;grid-column:1;position:relative;z-index:2}
#posPilotDialog.pos-kiosk .pos-cart-pane[data-register-view="order"] .pos-payment-scroll,#posPilotDialog.pos-kiosk .pos-cart-pane[data-register-view="payment"] .pos-cart-scroll{display:none!important}
#posPilotDialog.pos-kiosk .pos-register-tabs button{border-color:#c4d3cb;color:#294a3b;background:#f4f7f5}
#posPilotDialog.pos-kiosk .pos-register-tabs button[aria-pressed="true"]{color:#fff;background:#176e51;border-color:#176e51;box-shadow:0 2px 5px #173d2b20}
#posPilotDialog.pos-kiosk .pos-applied-code{display:flex;align-items:center;flex-wrap:wrap;gap:6px;min-width:0;color:#24513d}
#posPilotDialog.pos-kiosk .pos-applied-code .pos-literal{font-weight:750;overflow-wrap:anywhere}
#posPilotDialog.pos-kiosk .pos-code-input{display:grid;grid-template-columns:minmax(0,1fr) 44px;gap:8px;align-items:center}
#posPilotDialog.pos-kiosk button.pos-code-remove{display:inline-flex;align-items:center;justify-content:center;width:44px;min-width:44px;height:44px;min-height:44px;flex:none;padding:0;border:1px solid #c9d6ce;border-radius:10px;background:#fff;color:#a43c39;font-size:26px;line-height:1}
#posPilotDialog.pos-kiosk .pos-touch-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(135px,100%),1fr));gap:8px;margin:10px 0;min-width:0}
#posPilotDialog.pos-kiosk button.pos-touch-choice{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:4px;min-width:0;min-height:56px;padding:10px 12px;border:1px solid #c5d8cd;border-radius:10px;background:#f4f9f6;color:#244f3a;text-align:left;font-size:14px;overflow-wrap:anywhere}
#posPilotDialog.pos-kiosk button.pos-touch-choice[aria-pressed="true"]{background:#d9eee3;border:2px solid #267253;color:#174d34}
#posPilotDialog.pos-kiosk .pos-touch-choice small{font-size:12px;color:#527360}
#posPilotDialog.pos-kiosk .pos-manual-code{margin:12px 0 0;border-top:1px solid #dce5e0;padding-top:10px}
#posPilotDialog.pos-kiosk .pos-manual-code summary{font-size:13px;color:#3b6550;min-height:44px;cursor:pointer;padding:10px 0}
@media(max-height:600px){#posPilotDialog.pos-kiosk .pilot-checkout-footer{padding-top:7px;padding-bottom:7px;gap:4px}#posPilotDialog.pos-kiosk .pos-tender-summary{padding:5px 9px}#posPilotDialog.pos-kiosk .pos-cart-heading{padding-top:5px;padding-bottom:4px}}

#posPilotDialog.pos-kiosk .pos-employee-open{min-height:44px;max-width:170px;min-width:44px;padding:8px 10px;border:1px solid #bfd3c7;border-radius:10px;color:#21543d;background:#edf6f0;font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media(max-width:760px){#posPilotDialog.pos-kiosk .pos-employee-open{grid-column:1/3;grid-row:3;max-width:none;text-align:left}#posPilotDialog.pos-kiosk .pos-orders-open{grid-column:3;grid-row:3}}
#posEmployeeAccessDialog{background:#fff;color:#203c2e;border:1px solid #c9d9cf;border-radius:18px;width:min(390px,calc(100vw - 24px));max-height:calc(100dvh - 24px);overflow:auto;padding:22px;box-sizing:border-box}
#posEmployeeAccessDialog::backdrop{background:#15372c99}
#posEmployeeAccessDialog h3{margin:0 0 8px}#posEmployeeAccessDialog p{color:#496455;margin:8px 0}
#posEmployeeAccessDialog input{width:100%;box-sizing:border-box;text-align:center;font-size:28px;letter-spacing:12px;color:#173d2a;background:#f5faf6;border:1px solid #b8cec0;border-radius:10px;min-height:56px}
#posEmployeeAccessDialog .pos-access-keypad{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin:14px 0}
#posEmployeeAccessDialog .pos-access-keypad button{min-height:56px;border:1px solid #bfd2c5;background:#edf5ef;color:#1d5037;border-radius:10px;font-size:22px}
#posEmployeeAccessDialog>button{min-height:48px;width:100%;margin-top:8px;border-radius:10px}
#posEmployeeAccessDialog>button.primary{background:#18785b;color:#fff;border:1px solid #18785b}
#posEmployeeAccessDialog>button.secondary{background:#f4f8f5;color:#244e37;border:1px solid #bfd2c5}
#posEmployeeSetup{padding:16px;border:1px solid #d3e0d7;border-radius:12px;margin-top:16px}#posEmployeeSetup label{display:grid;margin:12px 0 8px}#posEmployeeSetup button{min-height:44px}

@media(min-width:761px) and (max-width:1100px){#posPilotDialog.pos-kiosk .pos-topbar{gap:8px}#posPilotDialog.pos-kiosk .pos-employee-open{max-width:145px;flex:0 1 145px}#posPilotDialog.pos-kiosk .pos-register{flex:1 1 180px;width:auto;min-width:110px}}

/* Direct employee handoff remains a 44px target without crowding the menu. */
#posPilotDialog.pos-kiosk .pos-employee-switch{flex:0 0 auto;min-height:44px;padding:8px 10px;max-width:130px;border:1px solid #9dc5af;border-radius:10px;background:#e1f0e7;color:#185437;font-size:13px;font-weight:700}
@media(min-width:761px) and (max-width:1100px){#posPilotDialog.pos-kiosk .pos-test-badge{display:none}#posPilotDialog.pos-kiosk .pos-employee-open{max-width:110px;flex-basis:110px}#posPilotDialog.pos-kiosk .pos-language-control{flex-basis:90px}#posPilotDialog.pos-kiosk .pos-employee-switch{max-width:95px}}
@media(max-width:760px){#posPilotDialog.pos-kiosk .pos-employee-open{grid-column:1/3;grid-row:3}#posPilotDialog.pos-kiosk .pos-employee-switch{grid-column:1/3;grid-row:4;max-width:none;text-align:left}#posPilotDialog.pos-kiosk .pos-orders-open{grid-column:3;grid-row:3/5;align-self:stretch}}
#posEmployeeSetup .pos-employee-access-layout{display:grid;grid-template-columns:minmax(190px,.65fr) minmax(0,1.35fr);gap:20px;margin-top:14px;align-items:start}
#posEmployeeSetup .pos-employee-access-editor{position:sticky;top:0;background:#fff;padding:12px;border:1px solid #d3e0d7;border-radius:12px}
#posEmployeeSetup .pos-employee-access-list{display:grid;gap:10px;max-height:440px;overflow-y:auto;min-width:0;overscroll-behavior:contain;padding:2px}
#posEmployeeSetup .pos-employee-access-card{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;padding:12px;border:1px solid #cbded1;border-radius:12px;background:#f7fbf8;min-width:0;color:#244633}
#posEmployeeSetup .pos-employee-access-card strong{overflow-wrap:anywhere}#posEmployeeSetup .pos-employee-access-card>small{grid-column:1/-1;color:#65786a}
#posEmployeeSetup .pos-employee-access-state{font-size:12px;background:#e3efe7;border-radius:8px;padding:5px 8px;align-self:start}
#posEmployeeSetup .pos-employee-code{font-size:22px;font-weight:750;letter-spacing:4px}
#posEmployeeSetup .pos-employee-access-actions{display:flex;flex-wrap:wrap;gap:8px;grid-column:1/-1}#posEmployeeSetup .pos-employee-access-actions button{min-height:44px;padding:8px 12px;margin:0;font-size:13px;white-space:normal}
#posEmployeeTabletControls{margin-top:20px;border-top:1px solid #d3e0d7;padding-top:12px}#posEmployeeTabletControls[hidden]{display:none}
#posEmployeeDeleteDialog{width:min(440px,calc(100vw - 24px));max-height:calc(100dvh - 24px);overflow:auto;box-sizing:border-box;padding:22px;background:#fff;color:#244633;border:1px solid #cbded1;border-radius:16px}
#posEmployeeDeleteDialog p{overflow-wrap:anywhere}#posEmployeeDeleteDialog button{min-height:48px;padding:10px 16px;border-radius:10px}#posEmployeeDeleteDialog .primary{background:#a83f37;color:#fff;border:1px solid #a83f37}#posEmployeeDeleteDialog .secondary{background:#edf5ef;color:#244633;border:1px solid #cbded1}
@media(max-width:700px){#posEmployeeSetup .pos-employee-access-layout{grid-template-columns:minmax(0,1fr)}#posEmployeeSetup .pos-employee-access-editor{position:static}#posEmployeeSetup .pos-employee-access-list{max-height:none}}

#posEmployeeCreate{border:1px solid #bdd8c9;padding:16px;margin:16px 0;border-radius:12px;background:#f3faf6}#posEmployeeCreate summary{min-height:44px;cursor:pointer;font-weight:750}#posEmployeeCreate .pos-employee-create-fields{display:grid;grid-template-columns:1fr 1fr 160px;gap:12px;margin:12px 0}#posEmployeeCreate label{display:grid;gap:6px}#posEmployeeCreate button{min-height:44px}#posEmployeeCreate input{min-width:0;width:100%;box-sizing:border-box}#posEmployeeSetup .pos-employee-access-card .pos-employee-access-actions button{flex:0 1 auto}
@media(max-width:700px){#posEmployeeCreate .pos-employee-create-fields{grid-template-columns:minmax(0,1fr)}}

/* Compact register chrome preserves room for line items on tablets. */
@media(min-width:760px){#posPilotDialog.pos-kiosk .pos-topbar{padding:8px 12px;gap:8px}#posPilotDialog.pos-kiosk .pos-brand h2{font-size:20px}#posPilotDialog.pos-kiosk .pos-cart-pane{min-width:0}#posPilotDialog.pos-kiosk .pilot-checkout-footer{padding:12px 16px}#posPilotDialog.pos-kiosk .pilot-checkout-footer p{margin:6px 0}#posPilotDialog.pos-kiosk .pilot-checkout-footer button{min-height:48px}#posPilotDialog.pos-kiosk .pos-cart-scroll{min-height:0;overflow-y:auto}}

#posRecentSalesDialog.pos-sales-workspace{width:94vw;max-width:1400px;height:90dvh;max-height:94dvh;background:#fff;color:#173c2d;border:1px solid #cadbd2;padding:20px;border-radius:16px;overflow:auto}#posRecentSalesDialog .dialog-head{position:sticky;top:0;background:#fff;z-index:1;padding-bottom:12px}#posRecentSalesDialog #posPilotRecentList{display:grid;gap:10px;margin:16px 0}#posRecentSalesDialog button{min-height:44px}#posRecentSalesDialog .secondary{background:#edf6f1;color:#174d37;border:1px solid #bed5c8}#posRecentSalesDialog #posPilotRecentStatus{color:#345d4a}

/* Location/title and actions occupy separate rows instead of squeezing employee controls. */
#posPilotDialog.pos-kiosk .pos-topbar{display:grid;grid-template-columns:44px auto minmax(180px,1fr);gap:8px 12px;align-items:center}
#posPilotDialog.pos-kiosk .pos-register{width:auto;min-width:0;max-width:none;margin:0}
#posPilotDialog.pos-kiosk .pos-header-actions{grid-column:1/-1;display:flex;flex-wrap:wrap;justify-content:flex-start;gap:8px;min-width:0;width:100%}
#posPilotDialog.pos-kiosk .pos-header-actions>button,#posPilotDialog.pos-kiosk .pos-header-actions .pos-employee-controls>button{width:auto;flex:0 0 auto;min-width:100px;max-width:none;min-height:44px;padding:8px 14px;white-space:normal;overflow:visible;text-overflow:clip}
#posPilotDialog.pos-kiosk .pos-employee-controls{display:flex;flex-wrap:wrap;gap:8px;flex:0 1 auto;min-width:0}
#posPilotDialog.pos-kiosk .pos-language-control{flex:0 0 115px;max-width:130px;margin:0}
@media(max-width:600px){#posPilotDialog.pos-kiosk .pos-topbar{grid-template-columns:44px minmax(0,1fr)}#posPilotDialog.pos-kiosk .pos-register{grid-column:1/-1}#posPilotDialog.pos-kiosk .pos-header-actions>button{flex:1 1 130px}}

#posPilotDialog.pos-kiosk .pos-admin-controls{margin-left:auto;order:100;display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:8px;min-width:0}#posPilotDialog.pos-kiosk .pos-admin-controls .pos-employee-open{max-width:230px;min-width:130px;flex:0 1 auto;white-space:normal;overflow-wrap:anywhere}#posPilotDialog.pos-kiosk .pos-admin-controls .pos-language-control{flex:0 0 115px}#posPilotDialog.pos-kiosk #posSalesRefundsOpen{flex:0 0 auto;width:auto;min-width:120px}#languageBtn{min-height:44px;min-width:100px;border:1px solid #80b8a1;background:#e5f4ed;color:#14533b;font-weight:750}@media(max-width:850px){#posPilotDialog.pos-kiosk .pos-admin-controls{flex-basis:100%;width:100%;margin-left:0;justify-content:flex-end}}

/* r14: preserve the working register while making its controls fit a phone. */
#posPilotDialog.pos-kiosk .pilot-category[data-category-group="drink"]{background:#e6f2ff;border-color:#aacbe5;color:#205c86}
#posPilotDialog.pos-kiosk .pilot-category[data-category-group="drink"].active{background:#216a9c;border-color:#216a9c;color:#fff}
#posPilotDialog.pos-kiosk .pilot-category[data-category-group="dessert"]{background:#f6eafa;border-color:#d9b3e2;color:#803d91}
#posPilotDialog.pos-kiosk .pilot-category[data-category-group="dessert"].active{background:#8b449c;border-color:#8b449c;color:#fff}
#posPilotDialog.pos-kiosk .pos-category-picker select[data-category-group="drink"]{background:#e6f2ff;border-color:#93bddc;color:#205c86}
#posPilotDialog.pos-kiosk .pos-category-picker select[data-category-group="dessert"]{background:#f6eafa;border-color:#d9b3e2;color:#803d91}
#posPilotDialog.pos-kiosk .pilot-product .pos-drink-description{margin:0;background:transparent;padding:0;color:#607167;font-size:12px;font-weight:400;line-height:1.4;align-self:stretch}
#posPilotDialog.pos-kiosk .pos-category-picker{display:none}
#posPilotDialog.pos-kiosk .pos-language-toggle{min-height:44px;width:100%;padding:7px 10px;border:1px solid #8eb9a2;border-radius:10px;background:#e4f2ea;color:#15543a;font-weight:800;font-size:14px}
#posPilotDialog.pos-kiosk .pos-language-toggle:hover{background:#d7eadd}
#posPilotDialog.pos-kiosk .pos-more-menu{display:none}
#posPilotDialog.pos-kiosk #posPilotDrinkChoices[data-choice-mode="product"]{padding-top:52px}
#posPilotDialog.pos-kiosk .pos-choice-close{position:absolute;top:9px;right:10px;width:44px;height:44px;min-height:44px;padding:0;border:1px solid #c7d9ce;border-radius:11px;background:#eef6f1;color:#21543e;font-size:30px;font-weight:600;line-height:1}
#posPilotDialog.pos-kiosk #posPilotDrinkChoices[data-choice-mode="product"]>.pos-link:last-child{margin-top:14px;min-height:44px}
@media(max-width:900px), (max-width:1100px) and (max-height:650px){
 #posPilotDialog.pos-kiosk .pos-category-picker{display:grid;position:sticky;top:0;z-index:5;gap:3px;background:#f6f8f7;padding:4px 0 8px;font-size:12px}
 #posPilotDialog.pos-kiosk .pos-category-picker select{min-height:44px;padding:8px 12px;font-size:16px;font-weight:700;border-color:#9dc5af;background:#e7f3ec;color:#18563b}
 #posPilotDialog.pos-kiosk .pilot-categories{display:none}
 #posPilotDialog.pos-kiosk .pos-products-scroll{scrollbar-gutter:stable}
}
@media(max-width:760px){
 #posPilotDialog.pos-kiosk .pos-topbar{grid-template-columns:44px minmax(0,1fr) auto;gap:6px 8px;padding:6px 12px;min-height:0}
 #posPilotDialog.pos-kiosk .pos-exit{grid-column:1;grid-row:1}
 #posPilotDialog.pos-kiosk .pos-brand{grid-column:2;grid-row:1;min-width:0}
 #posPilotDialog.pos-kiosk .pos-cart-jump{grid-column:3;grid-row:1;min-width:78px;padding:6px 9px;font-size:13px}
 #posPilotDialog.pos-kiosk .pos-register{grid-column:1/-1;grid-row:2;font-size:11px}
 #posPilotDialog.pos-kiosk .pos-register select{min-height:40px;font-size:14px;text-overflow:ellipsis}
 #posPilotDialog.pos-kiosk .pos-header-actions{grid-column:1/-1;grid-row:3;display:flex;flex-wrap:nowrap;align-items:center;overflow-x:auto;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;scroll-snap-type:x proximity;scrollbar-width:thin;gap:6px;padding-bottom:3px}
 #posPilotDialog.pos-kiosk .pos-header-actions>button,#posPilotDialog.pos-kiosk .pos-header-actions .pos-employee-controls>button{flex:0 0 auto;min-width:0;min-height:44px;white-space:nowrap;padding:7px 12px;scroll-snap-align:start}
 #posPilotDialog.pos-kiosk .pos-employee-controls,#posPilotDialog.pos-kiosk .pos-admin-controls{display:flex;flex:0 0 auto;width:auto;margin:0;justify-content:flex-start;flex-wrap:nowrap;gap:6px}
 #posPilotDialog.pos-kiosk .pos-employee-open,#posPilotDialog.pos-kiosk .pos-employee-switch{max-width:170px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 #posPilotDialog.pos-kiosk .pos-admin-controls .pos-language-control{flex:0 0 112px}
 #posPilotDialog.pos-kiosk .pos-menu-pane{padding:8px 12px 0}
 #posPilotDialog.pos-kiosk .pos-menu-heading{display:grid;grid-template-columns:auto minmax(0,1fr);gap:6px 8px;margin-bottom:4px}
 #posPilotDialog.pos-kiosk .pos-menu-heading h3{font-size:18px;align-self:center}
 #posPilotDialog.pos-kiosk #posAvailabilityOpen{min-height:44px;padding:7px 10px;justify-self:end;width:auto}
 #posPilotDialog.pos-kiosk .pos-menu-heading .pos-search{grid-column:1/-1;width:100%;font-size:11px}
 #posPilotDialog.pos-kiosk .pos-menu-heading .pos-search input{min-height:42px}
 #posPilotDialog.pos-kiosk .pos-mobile-summary{padding:8px 12px max(8px,env(safe-area-inset-bottom))}
 #posPilotDialog.pos-kiosk .pos-mobile-summary button{min-height:48px}
}
@media(max-width:760px) and (max-height:500px){
 #posPilotDialog.pos-kiosk .pos-topbar{grid-template-columns:44px auto minmax(160px,1fr) auto}
 #posPilotDialog.pos-kiosk .pos-register{grid-column:3;grid-row:1}
 #posPilotDialog.pos-kiosk .pos-register>select{min-height:44px}
 #posPilotDialog.pos-kiosk .pos-register{font-size:0}
 #posPilotDialog.pos-kiosk .pos-cart-jump{grid-column:4}
 #posPilotDialog.pos-kiosk .pos-header-actions{grid-row:2}
 #posPilotDialog.pos-kiosk .pos-menu-heading{display:flex;flex-wrap:nowrap;align-items:center;gap:8px}
 #posPilotDialog.pos-kiosk .pos-menu-heading .pos-search{flex:1 1 155px;width:auto;min-width:120px}
 #posPilotDialog.pos-kiosk .pos-menu-heading .pos-search{font-size:0}
 #posPilotDialog.pos-kiosk .pos-category-picker{padding:2px 0 5px}
 #posPilotDialog.pos-kiosk .pos-category-picker span{display:none}
}

#posPilotDialog.pos-kiosk #posUsdManagerSave.primary{background:#116b58;color:#fff;border:1px solid #0c604d;font-weight:800;box-shadow:0 2px 6px #0b5d4425}
#posPilotDialog.pos-kiosk #posUsdManagerSave.primary:disabled{background:#e5eee9;color:#647b70;border-color:#c7d8cf;box-shadow:none;opacity:1}
#posPilotDialog.pos-kiosk .pos-usd-manager:focus-within{scroll-margin-bottom:20px}

#posPilotDialog.pos-kiosk #posUsdManagerForm[hidden]{display:none!important}
#posPilotDialog.pos-kiosk #posUsdManagerToggle{min-height:48px;font-weight:750}
#posPilotDialog.pos-kiosk #posUsdManagerForm{display:grid;gap:8px}

@media(max-width:700px){#posPilotDialog.pos-kiosk.pos-keyboard-open .pos-topbar,#posPilotDialog.pos-kiosk.pos-keyboard-open .pos-cart-heading,#posPilotDialog.pos-kiosk.pos-keyboard-open .pos-register-tabs,#posPilotDialog.pos-kiosk.pos-keyboard-open .pos-register-status,#posPilotDialog.pos-kiosk.pos-keyboard-open .pilot-checkout-footer{display:none!important}#posPilotDialog.pos-kiosk.pos-keyboard-open{grid-template-rows:minmax(0,1fr)}#posPilotDialog.pos-kiosk.pos-keyboard-open .pos-cart-pane{grid-template-rows:minmax(0,1fr)}#posPilotDialog.pos-kiosk.pos-keyboard-open .pos-payment-scroll{grid-row:1;overflow-y:auto;scroll-padding-block:18px;padding:12px 16px 32px}#posPilotDialog.pos-kiosk .pos-payment-scroll input[type=number]{font-size:16px}}

/* Readable order notes in the light POS, including inherited dark browser styles. */
#posPilotDialog.pos-kiosk textarea{background:#fff!important;color:#183e32!important;caret-color:#183e32;border:1px solid #b7cec5;color-scheme:light}
#posPilotDialog.pos-kiosk textarea::placeholder{color:#61756c!important;opacity:1}
#posPilotDialog.pos-kiosk .pos-vegetable-quick{display:grid;grid-template-columns:1fr 1fr;gap:10px;grid-column:1/-1}
#posPilotDialog.pos-kiosk .pos-station-open{white-space:nowrap}

#posPilotDialog.pos-kiosk .pos-station-views{display:flex;align-items:center;gap:8px;padding:6px 10px;border:1px solid #d4ddd9;border-radius:14px;background:#f6f8f7}
#posPilotDialog.pos-kiosk .pos-station-caption{font-size:10px;line-height:1.3;font-weight:800;letter-spacing:.6px;max-width:52px;color:#4d6259}
#posPilotDialog.pos-kiosk .pos-station-open{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:48px;padding:9px 16px;border:2px solid;border-radius:10px;font-size:15px;font-weight:800;box-shadow:0 2px 3px #12251c12}
#posPilotDialog.pos-kiosk .pos-station-kitchen{background:#fff0dd;color:#873d0a;border-color:#e8a04e}
#posPilotDialog.pos-kiosk .pos-station-barista{background:#f2eaff;color:#593196;border-color:#b398db}
#posPilotDialog.pos-kiosk .pos-station-kitchen:hover{background:#ffe0b7;border-color:#ad590e}
#posPilotDialog.pos-kiosk .pos-station-barista:hover{background:#e4d6fb;border-color:#7650ab}
#posPilotDialog.pos-kiosk .pos-station-open:focus-visible{outline:3px solid #146d53;outline-offset:3px}
#posPilotDialog.pos-kiosk .pos-station-icon{display:flex;width:24px;height:24px;flex:none}
#posPilotDialog.pos-kiosk .pos-station-icon svg{width:100%;height:100%}
@media(max-width:640px){#posPilotDialog.pos-kiosk .pos-station-views{padding:5px;gap:5px}#posPilotDialog.pos-kiosk .pos-station-caption{display:none}#posPilotDialog.pos-kiosk .pos-station-open{padding:7px 10px;min-height:44px;font-size:13px}}

/* r40: payment uses the workspace; controls get the space, totals stay compact. */
#posPilotDialog.pos-kiosk .pos-payment-title{display:none}
#posPilotDialog.pos-kiosk[data-checkout-view="payment"] .pos-order-title{display:none}
#posPilotDialog.pos-kiosk[data-checkout-view="payment"] .pos-payment-title{display:inline}
#posPilotDialog.pos-kiosk[data-checkout-view="payment"] .pos-layout{grid-template-columns:minmax(0,1fr)}
#posPilotDialog.pos-kiosk[data-checkout-view="payment"] .pos-menu-pane{display:none!important}
#posPilotDialog.pos-kiosk[data-checkout-view="payment"] .pos-cart-pane{display:grid!important;border-left:0}
#posPilotDialog.pos-kiosk[data-checkout-view="payment"] .pos-register-tabs{max-width:620px;width:100%;box-sizing:border-box}
#posPilotDialog.pos-kiosk[data-checkout-view="payment"] .pos-payment-scroll{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-content:start;align-items:start;gap:16px;padding:16px 24px 24px;background:#f5f8f6}
#posPilotDialog.pos-kiosk .pos-payment-card{display:flex;flex-direction:column;gap:14px;min-width:0;border:1px solid #d7e3dc;background:#fff;border-radius:14px;padding:18px;box-sizing:border-box}
#posPilotDialog.pos-kiosk .pos-payment-card>h4{margin:0 0 2px;font-size:18px;color:#1b4936}
#posPilotDialog.pos-kiosk .pos-payment-card>label{display:flex;flex-direction:column;gap:6px;margin:0}
#posPilotDialog.pos-kiosk .pos-payment-card>*{min-width:0}
#posPilotDialog.pos-kiosk .pos-payment-card .pos-payment-fields{margin:0}
#posPilotDialog.pos-kiosk .pos-payment-card input,#posPilotDialog.pos-kiosk .pos-payment-card select{min-height:48px}
#posPilotDialog.pos-kiosk .pos-payment-notice{grid-column:1/-1;margin:0}
#posPilotDialog.pos-kiosk .pos-payment-notice:empty{display:none}
#posPilotDialog.pos-kiosk .pos-payment-card .pos-quick-cash{margin:0}
#posPilotDialog.pos-kiosk .pos-payment-card #posOrderNotes{min-height:88px;resize:vertical}
#posPilotDialog.pos-kiosk .pos-payment-card #posPilotReceived{font-size:25px;font-weight:750;min-height:58px}
#posPilotDialog.pos-kiosk .pos-payment-card .pos-details{margin:0}
#posPilotDialog.pos-kiosk .pos-receipt-actions:not(:has(button:not([hidden]))),#posPilotDialog.pos-kiosk #posPilotReceipt:empty{display:none}
#posPilotDialog.pos-kiosk .pilot-checkout-footer{gap:5px;padding:9px 16px max(9px,env(safe-area-inset-bottom))}
#posPilotDialog.pos-kiosk .pilot-checkout-footer #posPilotTotal{font-size:22px;line-height:1.2;margin:0}
#posPilotDialog.pos-kiosk .pilot-checkout-footer #posPilotSubmit,#posPilotDialog.pos-kiosk .pilot-checkout-footer #posProceedPayment{min-height:48px;font-size:18px}
#posPilotDialog.pos-kiosk[data-checkout-view="payment"] .pilot-checkout-footer{grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(180px,.7fr);column-gap:20px;align-items:center;padding:10px 24px max(10px,env(safe-area-inset-bottom))}
#posPilotDialog.pos-kiosk[data-checkout-view="payment"] .pilot-checkout-footer>.pos-subtotal-row{grid-column:1;grid-row:1;font-size:12px}
#posPilotDialog.pos-kiosk[data-checkout-view="payment"] #posPromoDiscountRow{grid-column:1;grid-row:2}
#posPilotDialog.pos-kiosk[data-checkout-view="payment"] #posPilotTotal{grid-column:1;grid-row:3}
#posPilotDialog.pos-kiosk[data-checkout-view="payment"] #posCashTenderSummary{grid-column:2;grid-row:1/4;padding:7px 10px;gap:3px}
#posPilotDialog.pos-kiosk[data-checkout-view="payment"] .pos-tender-summary .pos-cash-change{font-size:20px;line-height:1.2}
#posPilotDialog.pos-kiosk[data-checkout-view="payment"] #posCheckoutReason{grid-column:2;grid-row:4;padding:4px 7px;font-size:11px;max-height:38px}
#posPilotDialog.pos-kiosk[data-checkout-view="payment"] #posPilotSubmit{grid-column:3;grid-row:1/4;min-height:56px}
#posPilotDialog.pos-kiosk[data-checkout-view="payment"] .pos-receipt-actions{grid-column:3;grid-row:1/4}
#posPilotDialog.pos-kiosk[data-checkout-view="payment"] #posPilotReceipt{grid-column:1/-1;grid-row:5}
@media(max-width:760px){
 #posPilotDialog.pos-kiosk[data-checkout-view="payment"] .pos-payment-scroll{grid-template-columns:minmax(0,1fr);padding:12px;gap:12px}
 #posPilotDialog.pos-kiosk .pos-payment-card{padding:14px;gap:12px}
 #posPilotDialog.pos-kiosk[data-checkout-view="payment"] .pilot-checkout-footer{grid-template-columns:minmax(0,1fr) minmax(120px,.7fr);column-gap:12px;row-gap:3px;padding:8px 12px max(8px,env(safe-area-inset-bottom))}
 #posPilotDialog.pos-kiosk[data-checkout-view="payment"] #posCashTenderSummary{grid-column:1;grid-row:4;border:0;background:transparent;padding:1px 0}
 #posPilotDialog.pos-kiosk[data-checkout-view="payment"] .pos-tender-received{display:none}
 #posPilotDialog.pos-kiosk[data-checkout-view="payment"] #posPilotTotal{font-size:19px}
 #posPilotDialog.pos-kiosk[data-checkout-view="payment"] .pos-tender-summary .pos-cash-change{font-size:16px}
 #posPilotDialog.pos-kiosk[data-checkout-view="payment"] #posCheckoutReason{grid-column:1/-1;grid-row:5;max-height:30px}
 #posPilotDialog.pos-kiosk[data-checkout-view="payment"] #posPilotSubmit,#posPilotDialog.pos-kiosk[data-checkout-view="payment"] .pos-receipt-actions{grid-column:2;grid-row:1/5;min-height:48px}
 #posPilotDialog.pos-kiosk[data-checkout-view="payment"] #posPilotReceipt{grid-row:6}
 #posPilotDialog.pos-kiosk[data-checkout-view="payment"] .pos-mobile-summary{display:none}
}
@media(max-width:700px){#posPilotDialog.pos-kiosk.pos-keyboard-open[data-checkout-view="payment"] .pos-cart-pane{grid-template-rows:minmax(0,1fr)}#posPilotDialog.pos-kiosk.pos-keyboard-open[data-checkout-view="payment"] .pos-payment-scroll{grid-row:1}}

@media(max-height:500px){
 #posPilotDialog.pos-kiosk[data-checkout-view="payment"]{grid-template-rows:minmax(0,1fr)}
 #posPilotDialog.pos-kiosk[data-checkout-view="payment"] .pos-topbar,#posPilotDialog.pos-kiosk[data-checkout-view="payment"] .pos-cart-heading{display:none}
 #posPilotDialog.pos-kiosk[data-checkout-view="payment"] .pos-cart-pane{grid-template-rows:0 auto auto minmax(0,1fr) auto}
 #posPilotDialog.pos-kiosk[data-checkout-view="payment"] .pos-register-tabs{padding:6px 12px;max-width:none}
 #posPilotDialog.pos-kiosk[data-checkout-view="payment"] .pilot-checkout-footer{padding:6px 12px;column-gap:12px;row-gap:2px}
 #posPilotDialog.pos-kiosk[data-checkout-view="payment"] #posPilotTotal{font-size:18px}
 #posPilotDialog.pos-kiosk[data-checkout-view="payment"] .pos-tender-summary .pos-cash-change{font-size:16px}
 #posPilotDialog.pos-kiosk[data-checkout-view="payment"] #posCashTenderSummary{padding:4px 8px}
 #posPilotDialog.pos-kiosk[data-checkout-view="payment"] .pos-tender-received{font-size:11px}
 #posPilotDialog.pos-kiosk[data-checkout-view="payment"] .pos-tender-received strong{font-size:12px}
 #posPilotDialog.pos-kiosk[data-checkout-view="payment"] #posCheckoutReason{max-height:28px;padding:2px 5px}
}

.pos-vietnamese-name{display:block;font-size:.78rem!important;line-height:1.35;font-weight:400!important;color:#52685f;margin:.15rem 0 .3rem;white-space:normal;overflow-wrap:normal}.pilot-product .pos-vietnamese-name,.channel-product .pos-vietnamese-name{min-height:1.05em}

#posPilotDialog.pos-kiosk .pilot-product .pos-vietnamese-name,.channel-product .pos-vietnamese-name{background:transparent;padding:0;border-radius:0;color:#52685f;font-size:.78rem;align-self:stretch;margin:0 0 .15rem}

/* r62 register isolation: keep payment/cart/menu layout invalidation local. */
#posPilotDialog .pos-menu-pane,#posPilotDialog .pos-cart-pane,#posPilotDialog #posRegisterPaymentView{contain:layout style paint;}
#posPilotReceived{appearance:textfield;-moz-appearance:textfield;}
#posPilotReceived::-webkit-outer-spin-button,#posPilotReceived::-webkit-inner-spin-button{-webkit-appearance:none;margin:0;}

/* r63: compact phone register chrome so menu/products appear higher on screen. */
@media(max-width:760px){
 #posPilotDialog.pos-kiosk .pos-topbar{
  grid-template-columns:42px minmax(0,1fr) auto;
  gap:5px 7px;
  padding:5px 8px 6px;
  padding-top:max(5px,env(safe-area-inset-top));
  min-height:0;
 }
 #posPilotDialog.pos-kiosk .pos-exit{width:42px;height:42px;min-height:42px;font-size:22px;padding:0}
 #posPilotDialog.pos-kiosk .pos-brand{grid-column:2;grid-row:1;justify-content:flex-start;min-width:0}
 #posPilotDialog.pos-kiosk .pos-brand h2{font-size:18px;line-height:1.1;margin:0}
 #posPilotDialog.pos-kiosk .pos-test-badge{display:none!important}
 #posPilotDialog.pos-kiosk .pos-cart-jump{grid-column:3;grid-row:1;min-height:42px;height:42px;padding:5px 9px;font-size:12px}
 #posPilotDialog.pos-kiosk .pos-register{grid-column:1/-1;grid-row:2;width:100%;font-size:0;gap:0;margin:0}
 #posPilotDialog.pos-kiosk .pos-register select{min-height:40px;height:40px;padding:5px 9px;font-size:14px;border-radius:9px}
 #posPilotDialog.pos-kiosk .pos-header-actions{grid-column:1/-1;grid-row:3;gap:5px!important;min-height:0}
 #posPilotDialog.pos-kiosk .pos-header-actions .channel-badge,
 #posPilotDialog.pos-kiosk .pos-header-actions #posOrdersOpen,
 #posPilotDialog.pos-kiosk .pos-header-actions .pos-language-control,
 #posPilotDialog.pos-kiosk .pos-more-menu summary{min-height:40px!important;height:40px!important;padding:4px 6px!important;font-size:11px!important;border-radius:9px!important}
 #posPilotDialog.pos-kiosk .pos-header-actions .pos-language-control{width:76px!important;max-width:76px!important}
 #posPilotDialog.pos-kiosk .pos-more-menu{width:48px}
 #posPilotDialog.pos-kiosk .pos-more-menu summary{width:48px}
 #posPilotDialog.pos-kiosk .pos-station-views{min-height:0;padding:3px;gap:4px;border-radius:10px}
 #posPilotDialog.pos-kiosk .pos-station-caption{display:none!important}
 #posPilotDialog.pos-kiosk .pos-station-open{min-height:40px!important;height:40px;padding:4px 8px!important;font-size:12px!important;gap:5px;border-width:1px}
 #posPilotDialog.pos-kiosk .pos-station-icon{width:18px;height:18px}

 #posPilotDialog.pos-kiosk .pos-menu-pane{padding:7px 8px 0}
 #posPilotDialog.pos-kiosk .pos-menu-heading{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:5px;margin:0 0 5px}
 #posPilotDialog.pos-kiosk .pos-menu-heading h3{display:none}
 #posPilotDialog.pos-kiosk .pos-menu-heading .pos-search{grid-column:1;width:100%;font-size:0;margin:0}
 #posPilotDialog.pos-kiosk .pos-menu-heading .pos-search input{min-height:40px;height:40px;padding:6px 9px;font-size:15px;border-radius:9px}
 #posPilotDialog.pos-kiosk #posAvailabilityOpen{grid-column:2;min-height:40px;height:40px;width:auto;padding:5px 9px;font-size:11px;white-space:nowrap}
 #posPilotDialog.pos-kiosk .pos-category-picker{display:block;padding:0 0 5px;margin:0;font-size:0}
 #posPilotDialog.pos-kiosk .pos-category-picker select{min-height:40px;height:40px;padding:5px 9px;font-size:14px;border-radius:9px}
 #posPilotDialog.pos-kiosk .pilot-categories{display:none!important}
 #posPilotDialog.pos-kiosk .pos-products-scroll{padding-bottom:8px}
 #posPilotDialog.pos-kiosk .pilot-menu-grid{gap:7px}
 #posPilotDialog.pos-kiosk .pilot-product{padding:6px;gap:4px}
 #posPilotDialog.pos-kiosk .pilot-product img{aspect-ratio:1.45}
 #posPilotDialog.pos-kiosk .pilot-product strong{font-size:12px;line-height:1.2}
 #posPilotDialog.pos-kiosk .pilot-product span{font-size:14px}
 #posPilotDialog.pos-kiosk .pos-product-availability{min-height:36px!important;padding:4px 6px!important;font-size:10px!important}
 #posPilotDialog.pos-kiosk .pos-mobile-summary{padding:6px 8px max(6px,env(safe-area-inset-bottom));gap:8px}
 #posPilotDialog.pos-kiosk .pos-mobile-summary span{font-size:17px}
 #posPilotDialog.pos-kiosk .pos-mobile-summary button{min-height:44px;padding:7px 16px}
}


/* r64: mobile register compression + modifier sheet scroll fix */
@media(max-width:760px){
 #posPilotDialog.pos-kiosk .pos-topbar{grid-template-columns:44px minmax(0,1fr) auto!important;grid-template-rows:auto auto!important;gap:6px 8px!important;padding:6px 10px!important;padding-top:max(6px,env(safe-area-inset-top))!important}
 #posPilotDialog.pos-kiosk .pos-exit{grid-column:1!important;grid-row:1!important}
 #posPilotDialog.pos-kiosk .pos-brand{display:none!important}
 #posPilotDialog.pos-kiosk .pos-register{grid-column:2!important;grid-row:1!important;width:100%!important;font-size:0!important}
 #posPilotDialog.pos-kiosk .pos-register select{min-height:44px!important;font-size:15px!important;padding:7px 10px!important}
 #posPilotDialog.pos-kiosk .pos-cart-jump{grid-column:3!important;grid-row:1!important;min-height:44px!important;min-width:82px!important}
 #posPilotDialog.pos-kiosk .pos-header-actions{grid-column:1/-1!important;grid-row:2!important;display:flex!important;flex-wrap:nowrap!important;overflow-x:auto!important;gap:5px!important;padding:0 0 2px!important;scrollbar-width:none!important}
 #posPilotDialog.pos-kiosk .pos-header-actions::-webkit-scrollbar{display:none}
 #posPilotDialog.pos-kiosk .pos-header-actions>button,#posPilotDialog.pos-kiosk .pos-header-actions .pos-employee-controls>button{min-height:40px!important;padding:6px 10px!important;font-size:12px!important}
 #posPilotDialog.pos-kiosk .pos-station-views{min-height:40px!important;padding:3px!important;gap:4px!important;flex:0 0 auto!important}
 #posPilotDialog.pos-kiosk .pos-station-open{min-height:38px!important;padding:5px 8px!important;font-size:12px!important}
 #posPilotDialog.pos-kiosk .pos-station-icon{width:20px!important;height:20px!important}
 #posPilotDialog.pos-kiosk .pos-menu-pane{padding:6px 10px 0!important}
 #posPilotDialog.pos-kiosk .pos-menu-heading{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:6px!important;margin-bottom:3px!important}
 #posPilotDialog.pos-kiosk .pos-menu-heading h3{display:none!important}
 #posPilotDialog.pos-kiosk .pos-menu-heading .pos-search{grid-column:1!important;width:100%!important;font-size:0!important}
 #posPilotDialog.pos-kiosk .pos-menu-heading .pos-search input{min-height:40px!important;font-size:15px!important;padding:7px 9px!important}
 #posPilotDialog.pos-kiosk #posAvailabilityOpen{grid-column:2!important;min-height:40px!important;padding:6px 9px!important;font-size:12px!important}
 #posPilotDialog.pos-kiosk .pos-category-picker{padding:2px 0 5px!important;font-size:0!important}
 #posPilotDialog.pos-kiosk .pos-category-picker span{display:none!important}
 #posPilotDialog.pos-kiosk .pos-category-picker select{min-height:40px!important;padding:6px 10px!important;font-size:15px!important}
 #posPilotDialog.pos-kiosk .pilot-menu-grid{gap:7px!important}
 #posPilotDialog.pos-kiosk .pilot-product{padding:6px!important;gap:4px!important}
}

@media(max-width:760px){
 #posPilotDialog.pos-kiosk #posPilotDrinkChoices.pos-food-choice-sheet[data-choice-mode="product"]{
  position:fixed!important;
  z-index:220!important;
  top:var(--pos-viewport-top,0px)!important;
  left:0!important;
  right:0!important;
  bottom:auto!important;
  transform:none!important;
  width:100vw!important;
  max-width:100vw!important;
  height:var(--pos-viewport-height,100dvh)!important;
  max-height:var(--pos-viewport-height,100dvh)!important;
  border:0!important;
  border-radius:0!important;
  padding:0!important;
  background:#fff!important;
  display:grid!important;
  grid-template-rows:auto minmax(0,1fr) auto!important;
  overflow:hidden!important;
  overscroll-behavior:contain!important;
 }
 #posPilotDialog.pos-kiosk #posPilotDrinkChoices.pos-food-choice-sheet[hidden]{display:none!important}
 #posPilotDialog.pos-kiosk #posPilotDrinkChoices.pos-food-choice-sheet>h3{grid-row:1!important;margin:0!important;padding:14px 58px 12px 14px!important;min-height:54px!important;border-bottom:1px solid #dce5df!important;background:#fff!important;font-size:18px!important;line-height:1.3!important}
 #posPilotDialog.pos-kiosk #posPilotDrinkChoices.pos-food-choice-sheet .pos-choice-close{position:absolute!important;top:7px!important;right:8px!important;z-index:3!important}
 #posPilotDialog.pos-kiosk #posPilotDrinkChoices.pos-food-choice-sheet .pos-prep-groups{grid-row:2!important;display:grid!important;gap:12px!important;min-height:0!important;overflow-y:auto!important;overflow-x:hidden!important;-webkit-overflow-scrolling:touch!important;overscroll-behavior:contain!important;padding:12px 12px 24px!important;scroll-padding-bottom:100px!important}
 #posPilotDialog.pos-kiosk #posPilotDrinkChoices.pos-food-choice-sheet .pos-prep-groups fieldset{padding:10px!important;gap:8px!important}
 #posPilotDialog.pos-kiosk #posPilotDrinkChoices.pos-food-choice-sheet .pos-prep-groups button{min-height:48px!important;flex-basis:calc(50% - 8px)!important;padding:9px 10px!important}
 #posPilotDialog.pos-kiosk #posPilotDrinkChoices.pos-food-choice-sheet .pos-prep-actions{grid-row:3!important;position:static!important;bottom:auto!important;margin:0!important;padding:10px 12px max(10px,env(safe-area-inset-bottom))!important;background:#fff!important;border-top:1px solid #cbded3!important;box-shadow:0 -4px 14px #17382a18!important;z-index:2!important}
 #posPilotDialog.pos-kiosk #posPilotDrinkChoices.pos-food-choice-sheet .pos-prep-actions button{min-height:50px!important;font-size:16px!important}
 #posPilotDialog.pos-kiosk:has(#posPilotDrinkChoices.pos-food-choice-sheet:not([hidden])) .pos-mobile-summary{display:none!important}
}

/* r66: compact, bilingual modifier UX + popup quantity */
#posPilotDialog.pos-kiosk #posPilotDrinkChoices[data-choice-mode="product"]{
  width:min(600px,calc(100vw - 28px));
  padding:18px;
}
#posPilotDialog.pos-kiosk .pos-food-choice-sheet .pos-prep-groups{gap:12px}
#posPilotDialog.pos-kiosk .pos-food-choice-sheet .pos-prep-groups fieldset{padding:10px;gap:8px}
#posPilotDialog.pos-kiosk .pos-food-choice-sheet .pos-prep-groups button{min-height:42px;padding:8px 10px}
#posPilotDialog.pos-kiosk .pos-popup-quantity{
  display:grid;grid-template-columns:1fr 44px 48px 44px;gap:8px;align-items:center;
  margin:14px 0 4px;padding:10px 12px;border:1px solid #d2dcd8;border-radius:12px;background:#f8fbf9
}
#posPilotDialog.pos-kiosk .pos-popup-quantity-label{font-weight:800;color:#24483c}
#posPilotDialog.pos-kiosk .pos-popup-quantity button{min-height:40px;padding:4px;font-size:22px}
#posPilotDialog.pos-kiosk .pos-popup-quantity strong{text-align:center;font-size:18px}
#posPilotDialog.pos-kiosk .pos-prep-actions{margin-top:10px;padding-top:12px}
#posPilotDialog.pos-kiosk .pos-prep-actions button{min-height:44px}

@media(max-width:600px){
  #posPilotDialog.pos-kiosk #posPilotDrinkChoices.pos-food-choice-sheet[data-choice-mode="product"]{
    inset:8px!important;top:8px!important;left:8px!important;right:8px!important;bottom:calc(8px + env(safe-area-inset-bottom))!important;
    width:auto!important;max-width:none!important;height:auto!important;max-height:none!important;transform:none!important;
    padding:0!important;border-radius:14px!important;display:grid!important;grid-template-rows:auto minmax(0,1fr) auto auto!important;overflow:hidden!important
  }
  #posPilotDialog.pos-kiosk #posPilotDrinkChoices.pos-food-choice-sheet>h3{
    grid-row:1!important;padding:12px 52px 10px 12px!important;min-height:48px!important;font-size:17px!important
  }
  #posPilotDialog.pos-kiosk #posPilotDrinkChoices.pos-food-choice-sheet .pos-prep-groups{
    grid-row:2!important;padding:10px!important;gap:9px!important;scroll-padding-bottom:16px!important
  }
  #posPilotDialog.pos-kiosk #posPilotDrinkChoices.pos-food-choice-sheet .pos-prep-groups fieldset{
    display:grid!important;grid-template-columns:1fr!important;padding:9px!important;gap:7px!important;border-radius:10px!important
  }
  #posPilotDialog.pos-kiosk #posPilotDrinkChoices.pos-food-choice-sheet .pos-prep-groups legend{font-size:15px!important}
  #posPilotDialog.pos-kiosk #posPilotDrinkChoices.pos-food-choice-sheet .pos-prep-groups button{
    width:100%!important;min-height:44px!important;flex:none!important;text-align:left!important;padding:8px 10px!important
  }
  #posPilotDialog.pos-kiosk #posPilotDrinkChoices.pos-food-choice-sheet .pos-popup-quantity{
    grid-row:3!important;margin:0!important;border-radius:0!important;border-left:0!important;border-right:0!important;padding:8px 12px!important;background:#fff!important
  }
  #posPilotDialog.pos-kiosk #posPilotDrinkChoices.pos-food-choice-sheet .pos-prep-actions{
    grid-row:4!important;display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important;
    padding:8px 10px max(8px,env(safe-area-inset-bottom))!important;box-shadow:0 -3px 12px #17382a14!important
  }
  #posPilotDialog.pos-kiosk #posPilotDrinkChoices.pos-food-choice-sheet .pos-prep-actions button{min-height:46px!important;margin:0!important}
  #posPilotDialog.pos-kiosk #posPilotDrinkChoices.pos-food-choice-sheet .pos-choice-close{width:38px!important;height:38px!important;min-height:38px!important;font-size:24px!important}
  #posPilotDialog.pos-kiosk #posPilotDrinkChoices:not(.pos-food-choice-sheet)[data-choice-mode="product"]{
    width:calc(100vw - 16px)!important;max-width:calc(100vw - 16px)!important;padding:14px!important
  }
  #posPilotDialog.pos-kiosk #posPilotDrinkChoices:not(.pos-food-choice-sheet) .pos-popup-quantity{
    grid-template-columns:1fr 42px 46px 42px;margin:10px 0
  }
}

/* r67: iOS-safe modifier bottom sheet */
@media(max-width:760px){
 #posPilotDialog.pos-kiosk #posPilotDrinkChoices.pos-food-choice-sheet[data-choice-mode="product"]{
   position:fixed!important;z-index:260!important;
   left:8px!important;right:8px!important;bottom:calc(8px + env(safe-area-inset-bottom))!important;top:auto!important;
   width:auto!important;max-width:none!important;height:auto!important;max-height:min(78dvh,720px)!important;
   transform:none!important;border:1px solid #cbded3!important;border-radius:16px!important;
   padding:0!important;background:#fff!important;display:flex!important;flex-direction:column!important;overflow:hidden!important;
   box-shadow:0 18px 50px #102c2250!important;overscroll-behavior:contain!important;
 }
 #posPilotDialog.pos-kiosk #posPilotDrinkChoices.pos-food-choice-sheet[hidden]{display:none!important}
 #posPilotDialog.pos-kiosk #posPilotDrinkChoices.pos-food-choice-sheet>h3{
   flex:0 0 auto!important;margin:0!important;padding:13px 52px 11px 14px!important;min-height:48px!important;
   border-bottom:1px solid #dce5df!important;background:#fff!important;font-size:17px!important;line-height:1.25!important;
 }
 #posPilotDialog.pos-kiosk #posPilotDrinkChoices.pos-food-choice-sheet .pos-choice-close{
   position:absolute!important;top:7px!important;right:8px!important;z-index:4!important;width:36px!important;height:36px!important;min-height:36px!important
 }
 #posPilotDialog.pos-kiosk #posPilotDrinkChoices.pos-food-choice-sheet .pos-prep-groups{
   flex:1 1 auto!important;min-height:0!important;overflow-y:auto!important;overflow-x:hidden!important;
   -webkit-overflow-scrolling:touch!important;overscroll-behavior:contain!important;padding:10px!important;margin:0!important;
 }
 #posPilotDialog.pos-kiosk #posPilotDrinkChoices.pos-food-choice-sheet .pos-popup-quantity{
   flex:0 0 auto!important;margin:0!important;border-radius:0!important;border-left:0!important;border-right:0!important;
   padding:8px 12px!important;background:#fff!important
 }
 #posPilotDialog.pos-kiosk #posPilotDrinkChoices.pos-food-choice-sheet .pos-prep-actions{
   flex:0 0 auto!important;position:static!important;margin:0!important;display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important;
   padding:8px 10px max(10px,env(safe-area-inset-bottom))!important;background:#fff!important;border-top:1px solid #cbded3!important;
   box-shadow:0 -3px 12px #17382a14!important;z-index:3!important
 }
 #posPilotDialog.pos-kiosk #posPilotDrinkChoices.pos-food-choice-sheet .pos-prep-actions button{min-height:46px!important;margin:0!important}
 #posPilotDialog.pos-kiosk:has(#posPilotDrinkChoices.pos-food-choice-sheet:not([hidden])) .pos-mobile-summary{display:none!important}
}

/* r68: mobile header simplification + dependable Menu return */
#posPilotDialog.pos-kiosk .pos-mobile-quickbar{display:none}
@media(max-width:760px){
 #posPilotDialog.pos-kiosk .pos-header-actions{
   overflow:visible!important;display:block!important;padding:0!important;min-height:0!important;
 }
 #posPilotDialog.pos-kiosk .pos-header-actions>:not(.pos-mobile-quickbar){display:none!important}
 #posPilotDialog.pos-kiosk .pos-mobile-quickbar{
   display:grid!important;grid-template-columns:1fr 1fr;gap:6px;width:100%;position:relative;z-index:45;
 }
 #posPilotDialog.pos-kiosk .pos-mobile-action-menu{position:relative;min-width:0}
 #posPilotDialog.pos-kiosk .pos-mobile-action-menu>summary{
   list-style:none;display:flex;align-items:center;justify-content:center;min-height:38px;height:38px;padding:5px 10px;
   border:1px solid #a8c8b8;border-radius:9px;background:#eef7f2;color:#184c33;font-size:13px;font-weight:800;cursor:pointer
 }
 #posPilotDialog.pos-kiosk .pos-mobile-action-menu>summary::-webkit-details-marker{display:none}
 #posPilotDialog.pos-kiosk .pos-mobile-action-menu>summary::after{content:'▾';font-size:10px;margin-left:7px}
 #posPilotDialog.pos-kiosk .pos-mobile-action-menu[open]>summary::after{content:'▴'}
 #posPilotDialog.pos-kiosk .pos-mobile-action-choices{
   position:absolute;top:calc(100% + 5px);left:0;z-index:80;min-width:190px;max-width:min(82vw,260px);padding:6px;
   display:grid;gap:4px;background:#fff;border:1px solid #bfd4c9;border-radius:11px;box-shadow:0 10px 28px #16382a30
 }
 #posPilotDialog.pos-kiosk .pos-mobile-more-menu .pos-mobile-action-choices{left:auto;right:0}
 #posPilotDialog.pos-kiosk .pos-mobile-action-item{
   width:100%!important;min-height:40px!important;height:auto!important;padding:8px 10px!important;text-align:left!important;
   font-size:13px!important;font-weight:700!important;border:0!important;border-radius:8px!important;background:#f5faf7!important;color:#183f31!important
 }
 #posPilotDialog.pos-kiosk .pos-mobile-action-item:active{background:#e2f1e9!important}
 #posPilotDialog.pos-kiosk #posBackMenu{
   min-height:40px!important;padding:8px 10px!important;font-weight:800!important;position:relative!important;z-index:5!important;touch-action:manipulation!important
 }
}


/* r69: POS modifier close is icon-only; never inherit report close styling */
html body #posPilotDialog.pos-kiosk button.pos-choice-close,
html body #posPilotDialog.pos-kiosk button.pos-choice-close.app-close-control{
 width:34px!important;min-width:34px!important;max-width:34px!important;height:34px!important;min-height:34px!important;
 padding:0!important;border-radius:10px!important;font:700 24px/1 system-ui!important;text-indent:0!important;gap:0!important;white-space:nowrap!important
}
@media(max-width:760px){html body #posPilotDialog.pos-kiosk button.pos-choice-close,html body #posPilotDialog.pos-kiosk button.pos-choice-close.app-close-control{width:32px!important;min-width:32px!important;max-width:32px!important;height:32px!important;min-height:32px!important;font-size:22px!important}}

/* r70: single authoritative modifier layout — compact, viewport-safe, sauces last in JS */
#posPilotDialog.pos-kiosk #posPilotDrinkChoices.pos-food-choice-sheet[data-choice-mode="product"]{
  position:fixed!important;
  z-index:280!important;
  left:50%!important;
  right:auto!important;
  top:16px!important;
  bottom:16px!important;
  transform:translateX(-50%)!important;
  width:min(540px,calc(100vw - 32px))!important;
  max-width:540px!important;
  height:auto!important;
  max-height:none!important;
  padding:0!important;
  margin:0!important;
  display:flex!important;
  flex-direction:column!important;
  overflow:hidden!important;
  border:1px solid #cbded3!important;
  border-radius:14px!important;
  background:#fff!important;
  box-shadow:0 18px 50px #102c2240!important;
}
#posPilotDialog.pos-kiosk #posPilotDrinkChoices.pos-food-choice-sheet[hidden]{display:none!important}
#posPilotDialog.pos-kiosk #posPilotDrinkChoices.pos-food-choice-sheet>h3{
  flex:0 0 auto!important;
  margin:0!important;
  min-height:44px!important;
  padding:10px 48px 9px 12px!important;
  border-bottom:1px solid #dce5df!important;
  font-size:17px!important;
  line-height:1.25!important;
  background:#fff!important;
}
#posPilotDialog.pos-kiosk #posPilotDrinkChoices.pos-food-choice-sheet .pos-choice-close{
  position:absolute!important;top:6px!important;right:7px!important;z-index:4!important;
  width:34px!important;height:34px!important;min-height:34px!important;padding:0!important;
  font-size:23px!important;line-height:1!important;border-radius:9px!important;
}
#posPilotDialog.pos-kiosk #posPilotDrinkChoices.pos-food-choice-sheet .pos-prep-groups{
  flex:1 1 auto!important;min-height:0!important;overflow-y:auto!important;overflow-x:hidden!important;
  display:grid!important;gap:8px!important;padding:10px 12px!important;margin:0!important;
  overscroll-behavior:contain!important;scroll-padding-bottom:12px!important;
}
#posPilotDialog.pos-kiosk #posPilotDrinkChoices.pos-food-choice-sheet .pos-prep-groups fieldset{
  margin:0!important;padding:8px!important;gap:6px!important;border-radius:10px!important;
}
#posPilotDialog.pos-kiosk #posPilotDrinkChoices.pos-food-choice-sheet .pos-prep-groups legend{font-size:14px!important}
#posPilotDialog.pos-kiosk #posPilotDrinkChoices.pos-food-choice-sheet .pos-prep-groups button{
  min-height:38px!important;padding:6px 9px!important;font-size:14px!important;line-height:1.25!important;
}
#posPilotDialog.pos-kiosk #posPilotDrinkChoices.pos-food-choice-sheet .pos-popup-quantity{
  flex:0 0 auto!important;margin:0 12px 8px!important;padding:7px 10px!important;
  grid-template-columns:1fr 38px 42px 38px!important;gap:6px!important;border-radius:10px!important;
}
#posPilotDialog.pos-kiosk #posPilotDrinkChoices.pos-food-choice-sheet .pos-popup-quantity button{min-height:36px!important;font-size:20px!important}
#posPilotDialog.pos-kiosk #posPilotDrinkChoices.pos-food-choice-sheet .pos-prep-actions{
  flex:0 0 auto!important;position:static!important;margin:0!important;padding:8px 12px 10px!important;
  display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important;
  border-top:1px solid #dce5df!important;background:#fff!important;box-shadow:none!important;
}
#posPilotDialog.pos-kiosk #posPilotDrinkChoices.pos-food-choice-sheet .pos-prep-actions button{
  min-height:40px!important;margin:0!important;font-size:15px!important;
}
@media(max-width:760px){
 #posPilotDialog.pos-kiosk #posPilotDrinkChoices.pos-food-choice-sheet[data-choice-mode="product"]{
   left:8px!important;right:8px!important;top:auto!important;bottom:calc(8px + env(safe-area-inset-bottom))!important;
   transform:none!important;width:auto!important;max-width:none!important;height:auto!important;max-height:min(82dvh,720px)!important;
   border-radius:14px!important;
 }
 #posPilotDialog.pos-kiosk #posPilotDrinkChoices.pos-food-choice-sheet .pos-prep-groups{padding:8px!important;gap:7px!important}
 #posPilotDialog.pos-kiosk #posPilotDrinkChoices.pos-food-choice-sheet .pos-prep-groups fieldset{display:grid!important;grid-template-columns:1fr!important;padding:8px!important}
 #posPilotDialog.pos-kiosk #posPilotDrinkChoices.pos-food-choice-sheet .pos-prep-groups button{width:100%!important;min-height:42px!important;font-size:15px!important;text-align:left!important}
 #posPilotDialog.pos-kiosk #posPilotDrinkChoices.pos-food-choice-sheet .pos-popup-quantity{margin:0 8px 6px!important;padding:7px 8px!important}
 #posPilotDialog.pos-kiosk #posPilotDrinkChoices.pos-food-choice-sheet .pos-prep-actions{padding:7px 8px max(8px,env(safe-area-inset-bottom))!important}
}

/* r71: authoritative compact menu controls + unclipped modifier overlay */
#posPilotDialog.pos-kiosk .pos-menu-pane:has(#posPilotDrinkChoices.pos-food-choice-sheet:not([hidden])){
  contain:none!important;
  overflow:visible!important;
}
#posPilotDialog.pos-kiosk .pos-menu-heading{
  margin-bottom:6px!important;
  gap:8px!important;
}
#posPilotDialog.pos-kiosk .pos-menu-heading h3{
  font-size:18px!important;
  line-height:1.15!important;
}
#posPilotDialog.pos-kiosk .pos-search{
  width:min(235px,42%)!important;
  font-size:10px!important;
}
#posPilotDialog.pos-kiosk .pos-search input{
  min-height:36px!important;
  height:36px!important;
  padding:5px 9px!important;
  font-size:14px!important;
  border-radius:8px!important;
}
#posPilotDialog.pos-kiosk .pilot-categories{
  gap:5px!important;
  padding:4px 2px 6px!important;
  margin:0 0 5px!important;
  max-height:96px!important;
  border-bottom:1px solid #d7e5dd!important;
  box-shadow:none!important;
}
#posPilotDialog.pos-kiosk .pilot-category{
  min-height:34px!important;
  padding:5px 9px!important;
  border-radius:8px!important;
  font-size:12px!important;
  line-height:1.15!important;
}
#posPilotDialog.pos-kiosk #posAvailabilityOpen,
#posPilotDialog.pos-kiosk .pos-availability-row button{
  min-height:36px!important;
  padding:5px 9px!important;
  border-radius:8px!important;
  font-size:12px!important;
}
@media(max-width:760px){
 #posPilotDialog.pos-kiosk .pos-menu-pane{padding-top:8px!important}
 #posPilotDialog.pos-kiosk .pos-menu-heading{margin-bottom:5px!important;gap:6px!important;align-items:center!important}
 #posPilotDialog.pos-kiosk .pos-search{width:calc(100% - 96px)!important}
 #posPilotDialog.pos-kiosk .pos-search input{min-height:38px!important;height:38px!important}
 #posPilotDialog.pos-kiosk #posAvailabilityOpen{min-height:38px!important;padding:5px 8px!important}
 #posPilotDialog.pos-kiosk .pilot-category{min-height:32px!important;padding:4px 7px!important;font-size:11px!important}
}


/* r72: compact modifier content and boba selection */
#posPilotDialog.pos-kiosk #posPilotDrinkChoices[data-choice-mode="product"] .pos-drink-description,
#posPilotDialog.pos-kiosk #posPilotDrinkChoices.pos-food-choice-sheet .pos-drink-description{
  display:none!important;
}
#posPilotDialog.pos-kiosk #posPilotDrinkChoices .pilot-drink-buttons.pos-boba-options{
  display:grid!important;
  grid-template-columns:repeat(auto-fit,minmax(120px,1fr))!important;
  gap:7px!important;
  margin:8px 0!important;
}
#posPilotDialog.pos-kiosk #posPilotDrinkChoices .pilot-drink-buttons.pos-boba-options button{
  min-height:58px!important;
  padding:7px 9px!important;
  font-size:13px!important;
  line-height:1.15!important;
  text-align:left!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
  gap:2px!important;
}
#posPilotDialog.pos-kiosk #posPilotDrinkChoices .pos-boba-name{font-size:13px!important;font-weight:650!important;line-height:1.15!important}
#posPilotDialog.pos-kiosk #posPilotDrinkChoices .pos-boba-price{font-size:10px!important;font-weight:500!important;opacity:.72!important;line-height:1.1!important}
#posPilotDialog.pos-kiosk #posPilotDrinkChoices .pos-boba-double{
  min-height:34px!important;
  margin:5px 0!important;
  padding:5px 8px!important;
  font-size:12px!important;
  gap:7px!important;
}
#posPilotDialog.pos-kiosk #posPilotDrinkChoices .pos-boba-double[hidden]{display:none!important}
#posPilotDialog.pos-kiosk #posPilotDrinkChoices .pos-boba-double input{width:18px!important;height:18px!important}
#posPilotDialog.pos-kiosk #posPilotDrinkChoices .pos-boba-add{min-height:38px!important;margin-top:6px!important;font-size:14px!important}
#posPilotDialog.pos-kiosk #posPilotDrinkChoices.pos-food-choice-sheet .pos-prep-groups button small,
#posPilotDialog.pos-kiosk #posPilotDrinkChoices.pos-food-choice-sheet .pos-prep-groups button .pos-drink-description{display:none!important}
@media(max-width:760px){
 #posPilotDialog.pos-kiosk #posPilotDrinkChoices .pilot-drink-buttons.pos-boba-options{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px!important}
 #posPilotDialog.pos-kiosk #posPilotDrinkChoices .pilot-drink-buttons.pos-boba-options button{min-height:52px!important;padding:6px 8px!important}
}

/* r85 unified Pho protein rows */
#posPilotDialog.pos-kiosk .pos-food-choice-sheet .pos-protein-stack{display:grid!important;grid-template-columns:1fr!important}
#posPilotDialog.pos-kiosk .pos-food-choice-sheet .pos-protein-stack .pilot-modifier-row{display:grid!important;grid-template-columns:minmax(150px,1fr) 56px 44px 56px!important;width:100%!important;gap:10px!important;align-items:center!important}
#posPilotDialog.pos-kiosk .pos-food-choice-sheet .pos-protein-stack .pilot-modifier-row button{width:56px!important;min-width:56px!important;text-align:center!important}
#posPilotDialog.pos-kiosk .pos-food-choice-sheet .pos-prep-actions{position:sticky!important;bottom:0!important}

/* r86: cleaner one-screen Pho + Lemonade Specials modifiers */
#posPilotDialog.pos-kiosk .pos-food-choice-sheet .pos-protein-stack{
  display:flex!important;
  flex-direction:column!important;
  gap:8px!important;
}
#posPilotDialog.pos-kiosk .pos-food-choice-sheet .pos-protein-stack > .pilot-modifier-row{
  display:grid!important;
  grid-template-columns:minmax(180px,1fr) 56px 44px 56px!important;
  width:100%!important;
  max-width:100%!important;
  align-items:center!important;
  gap:10px!important;
  border-bottom:1px solid #dbe7df;
  padding:8px 0!important;
}
#posPilotDialog.pos-kiosk .pos-food-choice-sheet .pos-protein-stack > .pilot-modifier-row:last-child{border-bottom:0}
#posPilotDialog.pos-kiosk .pos-lemonade-sheet{max-width:760px!important}
#posPilotDialog.pos-kiosk .pos-lemonade-groups{display:flex;flex-direction:column;gap:12px}
#posPilotDialog.pos-kiosk .pos-lemonade-flavor-section,
#posPilotDialog.pos-kiosk .pos-lemonade-boba-section{display:block!important}
#posPilotDialog.pos-kiosk .pos-lemonade-flavor-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
#posPilotDialog.pos-kiosk .pos-lemonade-flavor-list button{min-height:52px;text-align:left;padding:10px 14px}
#posPilotDialog.pos-kiosk .pos-lemonade-flavor-list button[aria-pressed="true"]{outline:3px solid #167a58;background:#e7f5ee;font-weight:700}
#posPilotDialog.pos-kiosk .pos-lemonade-boba-options{grid-template-columns:repeat(2,minmax(0,1fr))!important}
#posPilotDialog.pos-kiosk .pos-lemonade-actions{position:sticky;bottom:0;background:#fff;padding-top:10px;z-index:2}
@media (max-width:700px){
 #posPilotDialog.pos-kiosk .pos-lemonade-flavor-list{grid-template-columns:1fr}
 #posPilotDialog.pos-kiosk .pos-lemonade-boba-options{grid-template-columns:1fr!important}
}


/* r87: unified modifier clarity and category-safe Special Lemonade */
#posPilotDialog.pos-kiosk #posPilotDrinkChoices.pos-food-choice-sheet,
#posPilotDialog.pos-kiosk #posPilotDrinkChoices.pos-lemonade-sheet{
  display:flex!important;
  flex-direction:column!important;
  overflow:hidden!important;
  max-height:min(86vh,780px)!important;
}

#posPilotDialog.pos-kiosk #posPilotDrinkChoices.pos-food-choice-sheet[hidden],
#posPilotDialog.pos-kiosk #posPilotDrinkChoices.pos-lemonade-sheet[hidden]{display:none!important}
#posPilotDialog.pos-kiosk #posPilotDrinkChoices.pos-food-choice-sheet > .pos-prep-groups,
#posPilotDialog.pos-kiosk #posPilotDrinkChoices.pos-lemonade-sheet > .pos-lemonade-groups{
  overflow-y:auto!important;
  min-height:0!important;
  padding-right:6px!important;
}
#posPilotDialog.pos-kiosk #posPilotDrinkChoices.pos-food-choice-sheet > .pos-prep-actions,
#posPilotDialog.pos-kiosk #posPilotDrinkChoices.pos-lemonade-sheet > .pos-prep-actions{
  position:relative!important;
  bottom:auto!important;
  flex:0 0 auto!important;
  margin-top:8px!important;
  padding:10px 0 2px!important;
  background:#fff!important;
  border-top:1px solid #dbe7df!important;
  z-index:3!important;
}
#posPilotDialog.pos-kiosk .pos-vegetable-quick button[aria-pressed="true"],
#posPilotDialog.pos-kiosk [data-food-code][aria-pressed="true"]{
  outline:3px solid #167a58!important;
  background:#e7f5ee!important;
}
#posPilotDialog.pos-kiosk .pos-lemonade-flavor-list{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
}
#posPilotDialog.pos-kiosk .pos-lemonade-flavor-choice{
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  justify-content:center!important;
  min-height:76px!important;
  gap:5px!important;
}
#posPilotDialog.pos-kiosk .pos-lemonade-flavor-name{font-weight:700!important;line-height:1.15!important}
#posPilotDialog.pos-kiosk .pos-lemonade-flavor-description{font-size:12px!important;line-height:1.25!important;opacity:.76!important;font-weight:500!important;text-align:left!important}
#posPilotDialog.pos-kiosk .pos-pho-combo-sheet .pos-prep-groups{padding-bottom:8px!important}
@media(max-width:700px){
 #posPilotDialog.pos-kiosk .pos-lemonade-flavor-list{grid-template-columns:1fr!important}
}


/* r88: guaranteed Pho footer + stronger lemonade selected state */
#posPilotDialog.pos-kiosk #posPilotDrinkChoices.pos-food-choice-sheet{
  display:flex!important;flex-direction:column!important;overflow:hidden!important;
}
#posPilotDialog.pos-kiosk #posPilotDrinkChoices.pos-food-choice-sheet > .pos-prep-groups{
  flex:1 1 0!important;min-height:0!important;overflow-y:auto!important;overscroll-behavior:contain!important;
}
#posPilotDialog.pos-kiosk #posPilotDrinkChoices.pos-food-choice-sheet > .pos-prep-footer{
  flex:0 0 auto!important;display:block!important;background:#fff!important;border-top:1px solid #cbded3!important;
  box-shadow:0 -5px 16px rgba(23,56,42,.10)!important;z-index:8!important;padding:8px 12px 10px!important;
}
#posPilotDialog.pos-kiosk #posPilotDrinkChoices.pos-food-choice-sheet > .pos-prep-footer > .pos-popup-quantity{
  margin:0 0 8px!important;padding:7px 10px!important;
}
#posPilotDialog.pos-kiosk #posPilotDrinkChoices.pos-food-choice-sheet > .pos-prep-footer > .pos-prep-actions{
  position:static!important;margin:0!important;padding:0!important;border:0!important;box-shadow:none!important;
  display:grid!important;grid-template-columns:1fr 1fr!important;gap:10px!important;background:#fff!important;
}
#posPilotDialog.pos-kiosk #posPilotDrinkChoices.pos-food-choice-sheet > .pos-prep-footer > .pos-prep-actions button{min-height:48px!important;margin:0!important}
#posPilotDialog.pos-kiosk .pos-lemonade-flavor-choice[aria-pressed="true"]{
  background:#1f7658!important;color:#fff!important;border-color:#14553f!important;outline:3px solid #0d5e43!important;
  box-shadow:0 0 0 3px rgba(31,118,88,.16)!important;font-weight:800!important;
}
#posPilotDialog.pos-kiosk .pos-lemonade-flavor-choice[aria-pressed="true"] .pos-lemonade-flavor-description{
  color:#fff!important;opacity:.95!important;
}
@media(max-width:760px){
 #posPilotDialog.pos-kiosk #posPilotDrinkChoices.pos-food-choice-sheet > .pos-prep-footer{padding:7px 8px max(8px,env(safe-area-inset-bottom))!important}
}


/* r90: clean popup lifecycle, guaranteed Pho combo footer, unified selected states */
#posPilotDialog.pos-kiosk #posPilotDrinkChoices.pos-pho-combo-sheet{
  display:grid!important;grid-template-rows:auto minmax(0,1fr) auto!important;
  height:min(82vh,760px)!important;max-height:min(82vh,760px)!important;overflow:hidden!important;box-sizing:border-box!important;
}
#posPilotDialog.pos-kiosk #posPilotDrinkChoices.pos-pho-combo-sheet > .pos-prep-groups{
  min-height:0!important;overflow-y:auto!important;overscroll-behavior:contain!important;padding-bottom:12px!important;
}
#posPilotDialog.pos-kiosk #posPilotDrinkChoices.pos-pho-combo-sheet > .pos-prep-footer{
  display:block!important;position:relative!important;z-index:20!important;background:#fff!important;
  border-top:1px solid #cbded3!important;box-shadow:0 -5px 16px rgba(23,56,42,.10)!important;padding:8px 12px 10px!important;
}
#posPilotDialog.pos-kiosk #posPilotDrinkChoices button.secondary[aria-pressed="true"],
#posPilotDialog.pos-kiosk #posPilotDrinkChoices .pos-boba-options button[aria-pressed="true"],
#posPilotDialog.pos-kiosk #posPilotDrinkChoices .pos-lemonade-boba-options button[aria-pressed="true"],
#posPilotDialog.pos-kiosk #posPilotDrinkChoices [data-food-code][aria-pressed="true"],
#posPilotDialog.pos-kiosk #posPilotDrinkChoices .pos-lemonade-flavor-choice[aria-pressed="true"]{
  background:#1f7658!important;color:#fff!important;border-color:#14553f!important;outline:3px solid #0d5e43!important;
  box-shadow:0 0 0 3px rgba(31,118,88,.16)!important;font-weight:800!important;
}
#posPilotDialog.pos-kiosk #posPilotDrinkChoices button.secondary[aria-pressed="true"] small,
#posPilotDialog.pos-kiosk #posPilotDrinkChoices button.secondary[aria-pressed="true"] span,
#posPilotDialog.pos-kiosk #posPilotDrinkChoices .pos-boba-options button[aria-pressed="true"] small,
#posPilotDialog.pos-kiosk #posPilotDrinkChoices .pos-boba-options button[aria-pressed="true"] span,
#posPilotDialog.pos-kiosk #posPilotDrinkChoices .pos-lemonade-boba-options button[aria-pressed="true"] small,
#posPilotDialog.pos-kiosk #posPilotDrinkChoices .pos-lemonade-boba-options button[aria-pressed="true"] span{color:#fff!important;opacity:1!important}

/* r98: authoritative mobile modifier viewport — never bottom-anchor product sheets */
@media(max-width:760px){
  #posPilotDialog.pos-kiosk #posPilotDrinkChoices.pos-food-choice-sheet[data-choice-mode="product"]{
    position:fixed!important;
    z-index:2147483000!important;
    top:max(8px,env(safe-area-inset-top,0px))!important;
    right:8px!important;
    bottom:max(8px,env(safe-area-inset-bottom,0px))!important;
    left:8px!important;
    width:auto!important;
    max-width:none!important;
    height:auto!important;
    max-height:none!important;
    margin:0!important;
    transform:none!important;
    display:flex!important;
    flex-direction:column!important;
    overflow:hidden!important;
    border-radius:14px!important;
  }
  #posPilotDialog.pos-kiosk #posPilotDrinkChoices.pos-food-choice-sheet[hidden]{display:none!important}
  #posPilotDialog.pos-kiosk #posPilotDrinkChoices.pos-food-choice-sheet>h3{flex:0 0 auto!important}
  #posPilotDialog.pos-kiosk #posPilotDrinkChoices.pos-food-choice-sheet .pos-prep-groups{
    flex:1 1 auto!important;
    min-height:0!important;
    overflow-y:auto!important;
    overflow-x:hidden!important;
    -webkit-overflow-scrolling:touch!important;
    overscroll-behavior:contain!important;
    padding:10px!important;
    scroll-padding-bottom:16px!important;
  }
  #posPilotDialog.pos-kiosk #posPilotDrinkChoices.pos-food-choice-sheet .pos-popup-quantity,
  #posPilotDialog.pos-kiosk #posPilotDrinkChoices.pos-food-choice-sheet .pos-prep-actions{
    flex:0 0 auto!important;
  }
  #posPilotDialog.pos-kiosk:has(#posPilotDrinkChoices.pos-food-choice-sheet:not([hidden])) .pos-products-scroll,
  #posPilotDialog.pos-kiosk:has(#posPilotDrinkChoices.pos-food-choice-sheet:not([hidden])) .pos-mobile-summary{
    overscroll-behavior:none!important;
  }
}


/* r101: desktop-only compact food modifier controls */
@media (min-width:1024px) and (pointer:fine){
  #posPilotDialog.pos-kiosk #posPilotDrinkChoices.pos-food-choice-sheet[data-choice-mode="product"]{
    width:min(500px,calc(100vw - 48px))!important;
    max-width:500px!important;
  }
  #posPilotDialog.pos-kiosk #posPilotDrinkChoices.pos-food-choice-sheet .pos-prep-groups{
    align-content:start!important;
    grid-auto-rows:max-content!important;
    gap:7px!important;
  }
  #posPilotDialog.pos-kiosk #posPilotDrinkChoices.pos-food-choice-sheet .pos-prep-groups fieldset{
    align-content:start!important;
    align-items:flex-start!important;
    min-height:0!important;
    padding:7px 8px!important;
    gap:6px!important;
  }
  #posPilotDialog.pos-kiosk #posPilotDrinkChoices.pos-food-choice-sheet .pos-prep-groups button{
    min-height:34px!important;
    height:auto!important;
    padding:6px 9px!important;
    font-size:13px!important;
    line-height:1.2!important;
    align-self:flex-start!important;
  }
  #posPilotDialog.pos-kiosk #posPilotDrinkChoices.pos-food-choice-sheet .pos-protein-stack > .pilot-modifier-row{
    padding:5px 0!important;
    grid-template-columns:minmax(160px,1fr) 42px 34px 42px!important;
    gap:7px!important;
  }
  #posPilotDialog.pos-kiosk #posPilotDrinkChoices.pos-food-choice-sheet .pos-protein-stack > .pilot-modifier-row button{
    width:42px!important;min-width:42px!important;min-height:34px!important;padding:4px!important;
  }
  #posPilotDialog.pos-kiosk #posPilotDrinkChoices.pos-food-choice-sheet > h3{
    min-height:40px!important;padding:8px 44px 7px 10px!important;font-size:16px!important;
  }
  #posPilotDialog.pos-kiosk #posPilotDrinkChoices.pos-food-choice-sheet > .pos-prep-footer > .pos-popup-quantity{
    padding:5px 8px!important;margin-bottom:6px!important;
  }
  #posPilotDialog.pos-kiosk #posPilotDrinkChoices.pos-food-choice-sheet > .pos-prep-footer > .pos-prep-actions button{
    min-height:38px!important;font-size:14px!important;
  }
}

@media(max-width:760px){#posPilotDialog.pos-kiosk .pos-mobile-action-choices{max-height:55vh;overflow-y:auto;-webkit-overflow-scrolling:touch}#posPilotDialog.pos-kiosk .pos-mobile-action-item[hidden]{display:none!important}}
