/* POS system: floor-plan first, comfortable on a restaurant touch display. */
:root{--pos-ink:var(--ink);--pos-navy:var(--pos-ground);--pos-blue:var(--brand);--pos-blue-hover:color-mix(in srgb, var(--brand) 82%, black 18%);--pos-blue-wash:color-mix(in srgb, var(--brand) 12%, white 88%);--pos-blue-line:color-mix(in srgb, var(--brand) 35%, white 65%);--pos-sand:var(--bg);--pos-paper:var(--surface);--pos-line:color-mix(in srgb, var(--ink) 16%, var(--surface) 84%);--pos-mint:color-mix(in srgb, var(--brand) 16%, white 84%);--pos-green:var(--brand);--pos-amber:var(--accent);--pos-red:#a74737}
.pos-app{position:fixed;inset:0;z-index:1000;background:var(--bg);color:var(--pos-ink);font-family: var(--font-body);overflow:hidden}.pos-app.hidden{display:none}.pos-topbar{height:76px;background:var(--pos-navy);color:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 30px;border-bottom:3px solid var(--accent)}.pos-brand,.pos-user-control,.pos-shift{display:flex;align-items:center;gap:12px}.pos-brand-mark,.pos-login-logo{display:grid;place-items:center;width:38px;height:38px;border:1px solid var(--accent);border-radius:50%;font-family: var(--font-heading);font-weight:700;color:var(--accent)}.pos-brand strong{display:block;font-family: var(--font-heading);font-size:16px;letter-spacing:.02em}.pos-brand small{color:#a8c4c8;font-size:10px;letter-spacing:.1em;text-transform:uppercase}.pos-shift{font-size:12px;color:#d3e1df}.pos-shift strong{color:#fff;font-variant-numeric:tabular-nums;margin-left:5px}.pos-status-dot,.pos-printer-dot{width:8px;height:8px;border-radius:50%;background:#81c8aa;box-shadow:0 0 0 4px rgba(129,200,170,.12)}.pos-user-button,.pos-exit{border:0;background:transparent;color:#fff;cursor:pointer}.pos-user-button{display:flex;align-items:center;gap:9px;font:600 13px/1 var(--font-body)}.pos-user-button span:first-child{display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:#d8e8de;color:var(--pos-navy);font-size:11px}.pos-user-button b{font-size:17px;font-weight:400;transform:rotate(90deg)}.pos-exit{border-left:1px solid rgba(255,255,255,.22);margin-left:7px;padding-left:18px;font-size:20px}.pos-workspace{height:calc(100vh - 76px);display:grid;grid-template-columns:minmax(0,1fr) 398px}.pos-floor-zone{display:flex;min-width:0;flex-direction:column;padding:25px 26px 18px}.pos-floor-head{display:flex;align-items:end;justify-content:space-between;margin:0 1px 18px}.pos-floor-head .eyebrow,.pos-modal-shell .eyebrow{margin:0 0 5px;color:#5e7f81;font-size:10px;font-weight:800;letter-spacing:.14em;text-transform:uppercase}.pos-floor-head h1{margin:0;font-family: var(--font-heading);font-size:30px;font-weight:500;letter-spacing:-.03em}.pos-legend{display:flex;gap:13px;color:#5a6b6c;font-size:11px}.pos-legend span{display:flex;align-items:center;gap:5px}.pos-legend i{display:block;width:8px;height:8px;border-radius:50%;background:#e3e7e3}.pos-legend .occupied{background:#1e8190}.pos-legend .selected{background:var(--accent)}.pos-floor{position:relative;flex:1;min-height:420px;overflow:hidden;background:#f7f4ed;border:1px solid #dadbd3;border-radius:20px;box-shadow:inset 0 0 0 10px rgba(255,255,255,.35),0 12px 30px rgba(15,37,48,.06);background-image:linear-gradient(90deg,rgba(7,37,54,.025) 1px,transparent 1px),linear-gradient(rgba(7,37,54,.025) 1px,transparent 1px);background-size:28px 28px}.pos-floor:before{content:"OCEAN SIDE";position:absolute;right:25px;bottom:20px;color:#b5bbb3;font-size:10px;letter-spacing:.24em;font-weight:700;transform:rotate(-90deg);transform-origin:right bottom}.pos-bar-counter{position:absolute;z-index:0;display:grid;place-items:center;color:#a77935;background:#e4d1ad;border:1px solid #c8aa79;border-radius:7px;font-family: var(--font-heading);font-size:10px;letter-spacing:.16em;writing-mode:vertical-rl}.pos-bar-counter--central{left:41.9%;top:10%;height:82%;width:6.2%}.pos-bar-counter--right{left:90.5%;top:17%;height:77%;width:6.2%}.pos-table{position:absolute;z-index:2;display:grid;place-items:center;transform:translate(-50%,-50%);border:1px solid #c8d4d0;color:#2d5555;background:#fbfcf8;box-shadow:0 4px 0 rgba(37,80,76,.12),0 8px 12px rgba(8,36,49,.08);font:800 10px/1 var(--font-body);letter-spacing:.04em;cursor:pointer;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease,background .18s ease}.pos-table:hover{transform:translate(-50%,-50%) scale(1.08);z-index:4}.pos-table:focus-visible{outline:3px solid var(--accent);outline-offset:3px}.pos-dining-table{width:59px;height:59px;border-radius:7px}.pos-bar-seat{width:34px;height:34px;border-radius:4px;background:#fff9ee;font-size:8px}.pos-table.occupied{border-color:#328291;background:#e0eff0;color:#165d6b;box-shadow:0 4px 0 rgba(21,93,107,.15),0 8px 14px rgba(8,36,49,.1)}.pos-table.selected{border:3px solid var(--accent);background:#fff4db;color:#855514;box-shadow:0 0 0 4px rgba(223,158,65,.22),0 6px 0 rgba(143,90,22,.15);transform:translate(-50%,-50%) scale(1.06)}.pos-table i{position:absolute;right:-4px;top:-4px;width:8px;height:8px;border-radius:50%;border:2px solid #f7f4ed;background:#dc8d2d}.pos-floor-footer{display:flex;justify-content:space-between;padding:14px 4px 0;color:#637171;font-size:11px}.pos-floor-footer span:first-child{font-weight:700;color:#385b5c}.pos-order-rail{background:var(--pos-paper);border-left:1px solid #d9ded7;box-shadow:-9px 0 22px rgba(23,50,54,.05);display:flex;flex-direction:column;min-height:0}.pos-rail-head{display:flex;align-items:start;justify-content:space-between;padding:25px 24px 13px}.pos-table-type{color:#778985;font-size:10px;font-weight:800;letter-spacing:.13em;text-transform:uppercase}.pos-rail-head h2{margin:2px 0 2px;font-family: var(--font-heading);font-size:31px;font-weight:500;letter-spacing:-.045em}.pos-guest-button{padding:0;border:0;background:none;color:#547271;font:600 11px/1 var(--font-body);cursor:pointer}.pos-rail-more,.pos-icon-action{border:1px solid #d9e0db;background:#fff;color:#4f6f6f;border-radius:7px;cursor:pointer}.pos-rail-more{margin-top:5px;padding:8px 10px;font:700 10px var(--font-body);text-transform:uppercase;letter-spacing:.08em}.pos-rail-actions{display:flex;gap:8px;padding:0 24px 16px;border-bottom:1px solid #e5e8e3}.pos-action-outline{flex:1;border:1px solid #7eaba7;border-radius:8px;background:#f4faf7;color:#20616a;font:800 12px var(--font-body);cursor:pointer}.pos-icon-action{width:37px;font-size:17px}.pos-order-scroll{flex:1;min-height:0;overflow:auto;padding:14px 24px}.pos-order-status{display:flex;justify-content:space-between;align-items:center;padding:9px 11px;background:#eff6f2;border-radius:7px;color:#326662;font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.08em}.pos-order-status small{color:#758c88;font-size:9px;letter-spacing:0;text-transform:none}.pos-item-list{padding-top:8px}.pos-order-item{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto 22px;gap:8px;align-items:start;padding:13px 0;border-bottom:1px solid #e9ece7}.pos-order-item strong{display:block;font-size:13px;line-height:1.25}.pos-order-item small{display:block;overflow:hidden;margin-top:3px;color:#7b8885;font-size:10px;white-space:nowrap;text-overflow:ellipsis}.pos-order-item>b{font-size:12px;white-space:nowrap}.pos-order-item button{width:20px;height:20px;padding:0;border:0;border-radius:4px;background:#f5e9e4;color:#a55342;font-size:16px;line-height:16px;cursor:pointer}.pos-order-item.draft{margin:6px -7px;padding:10px 7px;border-radius:7px;background:#fff5df;border-bottom:0}.pos-order-item.draft strong:after{content:" NEW";margin-left:6px;color:#ae7325;font-size:8px;letter-spacing:.1em}.pos-empty-order{text-align:center;padding:50px 23px;color:#74827f}.pos-empty-order span{display:grid;place-items:center;width:35px;height:35px;margin:auto auto 12px;border:1px dashed #aac2ba;border-radius:50%;font-size:22px;color:#57837b}.pos-empty-order strong{display:block;color:#3d5c5b;font-size:12px}.pos-empty-order p{margin:5px 0;font-size:11px;line-height:1.45}.pos-totals{padding:12px 24px;border-top:1px solid #e5e8e3;color:#637371;font-size:12px}.pos-totals>div{display:flex;justify-content:space-between;margin:5px 0}.pos-totals b{color:#294e4c;font-variant-numeric:tabular-nums}.pos-totals .pos-total{margin-top:9px;padding-top:9px;border-top:1px dashed #cad3cd;color:#132e36;font-size:16px;font-weight:800}.pos-total b{color:#132e36}.pos-totals .pos-paid b{color:#388167}.pos-rail-bottom{padding:12px 24px 20px}.pos-send-button,.pos-settle-button,.pos-primary-button{border:0;border-radius:8px;background:#0d5362;color:#fff;font:800 12px var(--font-body);letter-spacing:.02em;cursor:pointer}.pos-send-button{width:100%;padding:12px;margin-bottom:8px;background:#c98126}.pos-minor-actions{display:flex;gap:10px;margin:5px 0 10px}.pos-minor-actions button{flex:1;padding:6px;border:0;background:none;color:#73817e;font:600 10px var(--font-body);cursor:pointer;text-decoration:underline;text-underline-offset:3px}.pos-minor-actions button:disabled{opacity:.35;text-decoration:none;cursor:not-allowed}.pos-settle-button{width:100%;padding:13px;background:var(--pos-ground);font-size:13px}.pos-dialog{z-index:1100;padding:0;border:0;border-radius:16px;box-shadow:0 24px 80px rgba(5,30,38,.3);color:var(--pos-ink);font-family: var(--font-body)}.pos-dialog::backdrop{background:rgba(5,29,37,.57);backdrop-filter:blur(2px)}.pos-login-dialog{width:min(95vw,610px);background:var(--pos-paper)}.pos-login-card{position:relative;padding:42px 48px 33px;text-align:center}.pos-login-logo{width:52px;height:52px;margin:auto auto 18px;font-size:16px;background:var(--pos-ground)}.pos-login-card h2{margin:5px 0 5px;font-family: var(--font-heading);font-size:31px;font-weight:500;letter-spacing:-.04em}.pos-login-copy{margin:0;color:#70807e;font-size:13px}.pos-dialog-close{position:absolute;right:17px;top:14px;width:28px;height:28px;padding:0;border:0;border-radius:50%;background:#f0f2ed;color:#536764;font-size:22px;cursor:pointer}.pos-staff-picker{display:flex;justify-content:center;gap:8px;margin:25px 0}.pos-staff-picker button{width:78px;padding:8px 3px;border:1px solid #e1e7e1;border-radius:9px;background:#fff;color:#536864;cursor:pointer}.pos-staff-picker button.selected{border-color:#2f7c7f;background:#edf7f3;color:#154f56;box-shadow:0 0 0 2px rgba(48,124,127,.14)}.pos-staff-picker span{display:grid;place-items:center;width:29px;height:29px;margin:auto auto 5px;border-radius:50%;background:#e4ebe3;font-size:10px}.pos-staff-picker b,.pos-staff-picker small{display:block;font-size:10px}.pos-staff-picker small{margin-top:2px;color:#83918e;font-size:8px;text-transform:capitalize}.pos-field{display:block;text-align:left}.pos-field>span{display:block;margin-bottom:6px;color:#5f716e;font-size:10px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.pos-field input,.pos-field select,.pos-field textarea{box-sizing:border-box;width:100%;border:1px solid #d9e0da;border-radius:7px;background:#fff;color:#18383d;font:13px var(--font-body);padding:10px 11px;outline:none}.pos-field input:focus,.pos-field select:focus,.pos-field textarea:focus{border-color:#499294;box-shadow:0 0 0 3px rgba(73,146,148,.12)}.pos-login-card .pos-field{max-width:242px;margin:0 auto 13px}.pos-login-card .pos-field input{text-align:center;font-size:19px;letter-spacing:.26em}.pos-primary-button{width:100%;padding:12px}.pos-demo-help{display:block;margin-top:14px;color:#84918d;font-size:10px}.pos-modal-shell{position:relative;min-width:min(95vw,620px);background:var(--pos-paper)}.pos-modal-shell>header{position:relative;display:flex;justify-content:space-between;align-items:start;padding:25px 29px 17px;border-bottom:1px solid #e3e7e0}.pos-modal-shell h2{margin:0;font-family: var(--font-heading);font-size:27px;font-weight:500;letter-spacing:-.035em}.pos-modal-shell .pos-dialog-close{position:static}.pos-menu-shell{width:min(96vw,980px)}.pos-menu-tabs{display:flex;gap:7px;overflow:auto;padding:14px 29px;border-bottom:1px solid #e3e7e0}.pos-menu-tabs button{padding:7px 12px;border:1px solid #dce3dc;border-radius:18px;background:#fff;color:#5e716d;font:700 10px var(--font-body);cursor:pointer;white-space:nowrap}.pos-menu-tabs button.active{border-color:#257077;background:#e7f2ef;color:#15565d}.pos-menu-content{display:grid;grid-template-columns:minmax(0,1fr) 245px;min-height:385px}.pos-menu-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;align-content:start;overflow:auto;max-height:430px;padding:20px 25px}.pos-menu-item{display:flex;min-height:126px;flex-direction:column;justify-content:space-between;padding:14px;border:1px solid #e2e7e0;border-radius:9px;background:#fff}.pos-menu-item.unavailable{opacity:.55;background:#faf9f4}.pos-menu-item>div>span{color:#91826d;font-size:9px;font-weight:800;letter-spacing:.1em;text-transform:uppercase}.pos-menu-item h3{margin:6px 0 3px;font-family: var(--font-heading);font-size:17px;font-weight:500}.pos-menu-item p{margin:0;color:#76837f;font-size:10px;line-height:1.35}.pos-menu-item footer{display:flex;align-items:center;justify-content:space-between;margin-top:8px}.pos-menu-item footer>b{font-size:12px}.pos-menu-item footer button{width:27px;height:27px;padding:0;border:0;border-radius:6px;background:#e6f2ed;color:#17615f;font-size:20px;cursor:pointer}.pos-menu-item footer button:disabled{background:#ede8df;color:#9c8778;font-size:9px}.pos-modifier-panel{padding:20px;border-left:1px solid #e2e7e0;background:#faf9f4}.pos-modifier-panel h3{margin:2px 0 16px;font-family: var(--font-heading);font-size:20px;font-weight:500}.pos-modifier-empty{display:block;padding-top:85px;color:#89928e;font-size:11px;line-height:1.5;text-align:center}.pos-addon-set{display:grid;gap:7px;margin-bottom:17px;color:#536966;font-size:11px}.pos-addon-set>span{color:#5f716e;font-size:10px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.pos-addon-set label{display:flex;align-items:center;gap:7px}.pos-menu-shell>footer{display:flex;align-items:center;justify-content:space-between;padding:15px 29px;border-top:1px solid #e3e7e0;font-size:12px;color:#647673}.pos-menu-shell>footer .pos-primary-button{width:auto;min-width:134px}.pos-payment-shell{width:min(95vw,550px)}.pos-payment-summary{display:grid;grid-template-columns:1fr 1fr 1fr;margin:23px 29px 16px;border:1px solid #e2e7e0;border-radius:8px;overflow:hidden}.pos-payment-summary div{padding:12px;border-right:1px solid #e2e7e0}.pos-payment-summary div:last-child{border:0}.pos-payment-summary span,.pos-payment-summary b,.pos-payment-summary strong{display:block}.pos-payment-summary span{color:#778580;font-size:9px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.pos-payment-summary b{margin-top:5px;color:#61827c;font-size:13px}.pos-payment-summary strong{margin-top:5px;color:#173842;font-size:16px}.pos-payment-summary .balance{background:#eff7f3}.pos-payment-methods{display:grid;grid-template-columns:repeat(4,1fr);gap:7px;margin:0 29px}.pos-payment-methods button{min-height:46px;border:1px solid #dce3dd;border-radius:7px;background:#fff;color:#5e716e;font:700 10px var(--font-body);cursor:pointer}.pos-payment-methods button.active{border-color:#2c7c7c;background:#e6f2ef;color:#135359}.pos-payment-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:17px 29px}.pos-payment-note,.pos-tax-note{margin:0 29px;color:#72827e;font-size:11px;line-height:1.4}.pos-tax-note{margin-top:16px;padding:10px;background:#f8f0df;color:#866735;border-radius:6px;font-size:10px}.pos-payment-actions{display:flex;gap:10px;margin:21px 29px 26px}.pos-payment-actions .pos-primary-button{width:auto;min-width:150px}.pos-admin-secondary{border:1px solid #ccd8d0;border-radius:7px;background:#fff;color:#3d6765;font:700 11px var(--font-body);cursor:pointer;padding:10px 12px}.pos-payment-actions .pos-admin-secondary{flex:1}.pos-simple-shell{width:min(94vw,430px)}.pos-simple-copy{margin:22px 26px 14px;color:#687975;font-size:12px;line-height:1.48}.pos-simple-shell>.pos-field,.pos-simple-shell>#pos-move-body .pos-field{margin:0 26px 20px}.pos-simple-shell>#pos-move-body>.pos-primary-button{width:calc(100% - 52px);margin:2px 26px 26px}.pos-auth-content{padding:21px 26px 26px}.pos-auth-content .pos-field{margin-bottom:14px}.pos-auth-content textarea{resize:vertical}.pos-staff-form{padding:22px 26px 26px}.pos-form-two{display:grid;grid-template-columns:1fr 1fr;gap:13px;margin-bottom:14px}.pos-check{display:flex;align-items:end;gap:8px;padding-bottom:10px;color:#526764;font-size:12px;font-weight:600}.pos-permissions{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:8px 0 19px;border:1px solid #e0e6df;border-radius:7px;color:#526764;font-size:11px}.pos-permissions legend{padding:0 5px;color:#60716e;font-size:10px;font-weight:800;letter-spacing:.07em;text-transform:uppercase}.pos-permissions label{display:flex;gap:6px}.pos-toast{position:fixed;z-index:1300;right:28px;bottom:25px;max-width:340px;padding:12px 16px;border-radius:8px;background:#123b48;color:#fff;font:600 12px var(--font-body);box-shadow:0 14px 30px rgba(6,32,39,.22);opacity:0;transform:translateY(12px);pointer-events:none;transition:.22s ease}.pos-toast.show{opacity:1;transform:translateY(0)}.pos-toast.warn{background:#8c5225}
/* Owner dashboard controls */
.pos-admin-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;margin-top:22px}.pos-admin-card{padding:19px;border:1px solid #dce3df;border-radius:10px;background:#fff}.pos-card-title{display:flex;align-items:start;justify-content:space-between;gap:10px;margin-bottom:13px;color:#244648;font-size:14px;font-weight:800}.pos-card-title small{max-width:190px;color:#7b8986;font-size:10px;font-weight:500;line-height:1.35;text-align:right}.pos-text-button{padding:0;border:0;background:none;color:#167077;font:700 11px var(--font-body);cursor:pointer}.pos-live-pill{padding:4px 7px;border-radius:12px;background:#e3f2e9;color:#26755a;font-size:9px;text-transform:uppercase;letter-spacing:.08em}.pos-staff-row{display:grid;grid-template-columns:31px minmax(0,1fr) 51px auto;gap:9px;align-items:center;padding:10px 0;border-bottom:1px solid #edf0ec}.pos-staff-row:last-child{border-bottom:0}.pos-staff-avatar{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#e4eee9;color:#28645f;font-size:9px;font-weight:800}.pos-staff-row strong,.pos-staff-row small{display:block}.pos-staff-row strong{font-size:11px}.pos-staff-row small{margin-top:2px;color:#7a8986;font-size:9px;text-transform:capitalize}.pos-perm-dots{display:flex;gap:5px;justify-content:center}.pos-perm-dots i{width:6px;height:6px;border-radius:50%;background:#d9dfda}.pos-perm-dots i.on{background:#3e9980}.pos-icon-button{padding:4px 6px;border:1px solid #d8e0d9;border-radius:5px;background:#fff;color:#52716e;font:700 9px var(--font-body);cursor:pointer}.pos-inline-field{display:flex;gap:7px}.pos-inline-field input{min-width:0}.pos-small-button{border:0;border-radius:6px;background:#245f67;color:#fff;font:700 10px var(--font-body);padding:0 10px;cursor:pointer}.pos-control-row{display:flex;justify-content:space-between;align-items:center;padding:13px 0;border-bottom:1px solid #edf0eb}.pos-control-row strong,.pos-control-row small{display:block}.pos-control-row strong{font-size:11px}.pos-control-row small{margin-top:3px;color:#798986;font-size:9px}.pos-control-row+.pos-admin-secondary{margin-top:15px}.pos-availability-row{display:flex;justify-content:space-between;align-items:center;width:100%;padding:8px 0;border:0;border-bottom:1px solid #edf0eb;background:none;color:#294a4a;text-align:left;cursor:pointer}.pos-availability-row span b,.pos-availability-row span small{display:block}.pos-availability-row span b{font-size:10px}.pos-availability-row span small{margin-top:2px;color:#7d8c88;font-size:9px}.pos-availability-row i{padding:3px 6px;border-radius:9px;background:#e2f1e7;color:#378064;font-size:8px;font-style:normal;font-weight:800}.pos-availability-row.off i{background:#f3e7e0;color:#a85c46}.pos-audit-row{display:grid;grid-template-columns:36px 1fr;gap:8px;padding:8px 0;border-bottom:1px solid #edf0eb}.pos-audit-row:last-child{border-bottom:0}.pos-audit-row time{color:#70827d;font-size:9px;font-weight:700}.pos-audit-row strong,.pos-audit-row small{display:block}.pos-audit-row strong{font-size:10px}.pos-audit-row small{margin-top:2px;color:#7a8986;font-size:9px;line-height:1.3}
@media (max-width:900px){.pos-topbar{padding:0 17px}.pos-workspace{grid-template-columns:minmax(0,1fr) 340px}.pos-floor-zone{padding:18px}.pos-legend{display:none}.pos-menu-content{grid-template-columns:1fr}.pos-modifier-panel{border-top:1px solid #e2e7e0;border-left:0}.pos-modifier-empty{padding-top:10px}.pos-admin-grid{grid-template-columns:1fr}.pos-availability-card,.pos-audit-card{grid-column:auto}}
@media (max-width:700px){.pos-app{overflow:auto}.pos-topbar{height:63px}.pos-brand small,.pos-shift,.pos-user-button span:nth-child(2),.pos-user-button b{display:none}.pos-workspace{height:auto;min-height:calc(100vh - 63px);grid-template-columns:1fr}.pos-floor-zone{height:calc(100vh - 330px);min-height:430px;padding:15px}.pos-floor-head h1{font-size:24px}.pos-floor{min-height:330px}.pos-order-rail{border-top:1px solid #d9ded7;border-left:0;min-height:310px}.pos-order-scroll{max-height:235px}.pos-floor-footer span:last-child{display:none}.pos-dining-table{width:48px;height:48px}.pos-bar-seat{width:29px;height:29px}.pos-table{font-size:8px}.pos-modal-shell{min-width:0;width:min(96vw,600px)}.pos-login-card{padding:36px 18px 25px}.pos-staff-picker{gap:4px;overflow:auto;justify-content:flex-start}.pos-staff-picker button{min-width:67px}.pos-menu-grid{grid-template-columns:1fr;max-height:360px;padding:14px}.pos-payment-summary{margin:18px}.pos-payment-methods{grid-template-columns:1fr 1fr;margin:0 18px}.pos-payment-fields{margin:15px 18px}.pos-payment-note,.pos-tax-note{margin-left:18px;margin-right:18px}.pos-payment-actions{margin:19px 18px 22px}.pos-form-two{grid-template-columns:1fr}.pos-permissions{grid-template-columns:1fr}.pos-floor:before{font-size:8px}.pos-topbar{position:sticky;top:0;z-index:10}}

/* Settle owns the financial breakdown; the active order rail stays operational. */
.pos-payment-breakdown{margin:0 29px 18px;padding:4px 0 14px;border-bottom:1px solid #dfe5df;color:#596c69;font-size:12px}
.pos-payment-breakdown>div{display:flex;align-items:baseline;justify-content:space-between;gap:18px;padding:5px 0}
.pos-payment-breakdown b,.pos-payment-breakdown strong{color:#1c4147;font-variant-numeric:tabular-nums;white-space:nowrap}
.pos-payment-breakdown .discount b{color:#9a523f}
.pos-payment-breakdown .total{margin-top:6px;padding-top:11px;border-top:1px dashed #cbd5cf;color:#132e36;font-size:15px;font-weight:800}
.pos-payment-breakdown small{display:block;margin-top:8px;color:#75847f;font-size:10px;line-height:1.4}
@media (max-width:700px){.pos-payment-breakdown{margin:0 18px 16px}}

/* Keep transient feedback clear of the payment control on desktop. */
.pos-toast{right:430px}
@media (max-width:700px){.pos-toast{right:18px;bottom:18px;max-width:calc(100vw - 36px)}}

/* Desktop command rail: the floor stays dominant, actions stay one tap away. */
.pos-workspace{grid-template-columns:70px minmax(0,1fr) 398px}
.pos-command-rail{display:flex;flex-direction:column;align-items:center;gap:11px;padding:19px 0;background:#e6ece7;border-right:1px solid #d2dad4}.pos-command-rail button{position:relative;display:grid;place-items:center;width:38px;height:38px;padding:0;border:1px solid transparent;border-radius:8px;background:transparent;color:#6a7d78;cursor:pointer}.pos-command-rail button:hover{background:#f7f7f1;color:#235c64}.pos-command-rail button.is-active{border-color:#c4d7d0;background:#fefdf8;color:#0f5965;box-shadow:0 2px 5px rgba(10,46,53,.08)}.pos-command-rail button.is-active:after{position:absolute;right:-15px;width:3px;height:18px;border-radius:2px;background:#c47c27;content:""}.pos-command-rail svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.pos-command-rail i{position:absolute;top:7px;right:7px;width:6px;height:6px;border:1px solid #e6ece7;border-radius:50%;background:#cb7f28}.pos-command-rail>span{flex:1}.pos-command-rail button:last-child{margin-bottom:4px;border-color:#cfdad3;color:#365e60}
@media (max-width:900px){.pos-workspace{grid-template-columns:58px minmax(0,1fr) 340px}.pos-command-rail{padding-top:16px}.pos-command-rail button{width:34px;height:34px}.pos-command-rail button.is-active:after{right:-11px}}
@media (max-width:700px){.pos-workspace{grid-template-columns:1fr}.pos-command-rail{display:none}}

/* Shared touchscreen terminal refinements. */
.pos-brand-mark{overflow:hidden;background:var(--pos-ground)}.pos-brand-mark img{display:block;width:84%;height:84%;object-fit:contain}.pos-workspace{grid-template-columns:138px minmax(0,1fr) 420px}.pos-command-rail{gap:12px;padding:24px 14px;background:#e8ede7}.pos-command-rail button{display:flex;flex-direction:column;justify-content:center;gap:7px;width:108px;height:78px;border-radius:10px}.pos-command-rail button svg{width:21px;height:21px}.pos-command-rail button::after{content:attr(aria-label);font:800 10px/1 var(--font-body);letter-spacing:.035em;text-align:center}.pos-command-rail button.is-active:after{right:-15px;width:4px;height:34px}.pos-command-rail>span{min-height:16px}.pos-command-rail button:last-child{height:64px}.pos-floor-zone{padding-left:25px}.pos-table{min-width:66px;min-height:66px;font-size:11px}.pos-bar-seat{min-width:42px;min-height:42px;font-size:8px}.pos-rail-actions{gap:10px}.pos-action-outline{min-height:54px}.pos-icon-action{width:52px;min-height:54px;font-size:21px}.pos-rail-more{min-height:39px;padding:8px 13px}.pos-send-button,.pos-settle-button{min-height:54px;font-size:14px}.pos-order-item button{width:30px;height:30px;font-size:21px;line-height:21px}.pos-open-orders-view{display:flex;flex:1;min-height:0;flex-direction:column;border:1px solid #d8dfd9;border-radius:17px;background:#f9f9f3;box-shadow:inset 0 0 0 9px rgba(255,255,255,.38);overflow:hidden}.pos-open-orders-view.hidden{display:none}.pos-orders-view-head{display:flex;align-items:center;justify-content:space-between;padding:20px 23px 14px;border-bottom:1px solid #e0e5df}.pos-orders-view-head p{margin:0;color:#4b6c69;font-size:11px;font-weight:800;letter-spacing:.11em;text-transform:uppercase}.pos-orders-view-head span{color:#6a7e79;font-size:12px;font-weight:700}.pos-open-orders-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-content:start;overflow:auto;padding:17px}.pos-open-order{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:12px;align-items:center;min-height:88px;padding:14px;border:1px solid #d8e1da;border-radius:10px;background:var(--surface);color:#1d4142;text-align:left;cursor:pointer}.pos-open-order:hover,.pos-open-order.is-current{border-color:#367b7b;background:#eff7f3;box-shadow:0 5px 14px rgba(19,68,65,.08)}.pos-open-order-mark{display:grid;place-items:center;width:42px;height:42px;border-radius:7px;background:#e0eee8;color:#347167;font-size:8px;font-weight:900;letter-spacing:.05em}.pos-open-order strong,.pos-open-order small{display:block}.pos-open-order strong{font-family: var(--font-heading);font-size:19px;font-weight:500}.pos-open-order small{overflow:hidden;margin-top:4px;color:#70817c;font-size:10px;white-space:nowrap;text-overflow:ellipsis}.pos-open-order>b{font-size:12px;white-space:nowrap}.pos-open-order i{grid-column:2 / -1;color:#2f8168;font-size:9px;font-style:normal;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.pos-orders-empty{padding:70px 25px;text-align:center;color:#75827f}.pos-orders-empty span{display:grid;place-items:center;width:46px;height:46px;margin:0 auto 13px;border:1px solid #a9cfc0;border-radius:50%;color:#2f806a;font-size:21px}.pos-orders-empty strong{display:block;color:#3b5b59}.pos-orders-empty p{font-size:12px}.pos-staff-picker{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:25px 0}.pos-staff-picker button{width:auto;min-height:82px;padding:10px}.pos-staff-picker span{width:33px;height:33px}.pos-login-card .pos-field input{min-height:55px}.pos-pin-keypad{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;max-width:300px;margin:0 auto 15px}.pos-pin-keypad button{min-height:54px;border:1px solid #d5dfd7;border-radius:8px;background:var(--surface);color:#1c4549;font:800 20px/1 var(--font-body);cursor:pointer}.pos-pin-keypad button:hover{border-color:#4e928b;background:#eef7f2}.pos-pin-keypad .pos-key-clear{font-size:10px;letter-spacing:.05em}.pos-pin-keypad .pos-key-back{font-size:20px}.pos-login-card .pos-primary-button{min-height:54px;max-width:300px}.pos-login-card .pos-field{margin-bottom:12px}@media (max-width:1050px){.pos-workspace{grid-template-columns:104px minmax(0,1fr) 360px}.pos-command-rail{padding:19px 9px}.pos-command-rail button{width:82px;height:70px}.pos-floor-zone{padding-left:18px}.pos-open-orders-list{grid-template-columns:1fr}}@media (max-width:700px){.pos-table{min-width:48px;min-height:48px}.pos-bar-seat{min-width:29px;min-height:29px}.pos-open-orders-list{grid-template-columns:1fr}.pos-staff-picker{grid-template-columns:repeat(2,minmax(0,1fr))}.pos-pin-keypad{max-width:none}.pos-login-card .pos-primary-button{max-width:none}}

.pos-menu-item footer,.pos-menu-item footer button{position:relative;z-index:2}

.pos-menu-tabs .pos-promos-tab{border-color:#d6b776;background:#fbf4e5;color:#82591e}.pos-menu-tabs .pos-promos-tab.active{border-color:#b97925;background:var(--accent);color:#fffdf6}.pos-menu-item{min-height:148px;padding:18px}.pos-menu-item h3{font-size:20px}.pos-menu-item p{font-size:11px;line-height:1.45}.pos-menu-item footer{margin-top:14px}.pos-menu-item footer>b{font-size:14px}.pos-menu-item footer button{width:54px;height:54px;border-radius:9px;font-size:31px;line-height:1}.pos-menu-item footer button:disabled{font-size:9px}.pos-menu-shell>footer .pos-primary-button{min-height:56px;min-width:164px;font-size:14px}

/* Locked terminal entry, purposefully compact enough for a fixed touchscreen. */
.pos-brand-mark{width:54px;height:54px;border:1.5px solid var(--accent);border-radius:50%;background:var(--pos-ground)}.pos-brand-mark img{width:128%;height:128%;transform:scale(1.15)}.pos-login-logo{display:grid;place-items:center;width:50px;height:50px;margin:0 auto 10px;overflow:hidden;border:1.5px solid var(--accent);border-radius:50%;background:var(--pos-ground)}.pos-login-logo img{width:128%;height:128%;object-fit:contain;transform:scale(1.15)}.pos-login-dialog{width:min(94vw,510px);max-height:calc(100dvh - 22px);overflow:hidden}.pos-login-card{box-sizing:border-box;max-height:calc(100dvh - 22px);padding:20px 38px 16px;overflow:hidden}.pos-login-card h2{margin:3px 0;font-size:28px}.pos-login-copy{font-size:12px}.pos-user-dropdown{display:block;margin:16px auto 12px;text-align:left}.pos-user-dropdown>span{display:block;margin-bottom:6px;color:#5f716e;font-size:10px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.pos-user-dropdown select{box-sizing:border-box;width:100%;min-height:50px;border:1px solid #cbd7cf;border-radius:8px;background:var(--surface);color:#173c43;padding:0 12px;font:700 14px var(--font-body)}.pos-staff-picker{display:block;margin:0}.pos-login-card .pos-field{max-width:none;margin-bottom:9px}.pos-login-card .pos-field input{min-height:49px;font-size:17px}.pos-pin-keypad{gap:6px;max-width:none;margin:0 0 10px}.pos-pin-keypad button{min-height:46px;font-size:18px}.pos-login-card .pos-primary-button{min-height:48px;max-width:none}.pos-demo-help{margin-top:8px;font-size:9px}.pos-command-rail button:nth-of-type(3){display:none}
@media (max-height:720px){.pos-login-card{padding:13px 32px 11px}.pos-login-logo{width:42px;height:42px;margin-bottom:5px}.pos-login-card h2{font-size:24px}.pos-user-dropdown{margin:10px auto 8px}.pos-login-card .pos-field input{min-height:44px}.pos-pin-keypad button{min-height:40px}.pos-login-card .pos-primary-button{min-height:43px}.pos-demo-help{display:none}}
@media (max-width:700px){.pos-login-card{padding:18px 22px 14px}.pos-brand-mark{width:44px;height:44px}}

.pos-command-rail button:nth-of-type(3){display:flex}

.pos-staff-picker .pos-user-dropdown>span{display:block;width:auto;height:auto;margin:0 0 6px;border-radius:0;background:transparent;color:#5f716e;font-size:10px}

/* Present the restaurant mark naturally, without a circular badge. */
.pos-brand-mark{display:block;width:104px;height:58px;overflow:visible;border:0;border-radius:0;background:transparent}.pos-brand-mark img{width:100%;height:100%;object-fit:contain;transform:none}.pos-login-logo{display:block;width:148px;height:74px;margin:0 auto 9px;overflow:visible;border:0;border-radius:0;background:transparent}.pos-login-logo img{width:100%;height:100%;object-fit:contain;transform:none}
@media (max-width:700px){.pos-brand-mark{width:84px;height:46px}}

/* Every service surface uses the floor plans published by the owner. */
.pos-floor-tabs{display:flex;gap:9px;overflow-x:auto;margin:-5px 0 13px;padding:2px 1px 5px;scrollbar-width:thin}.pos-floor-tabs[hidden]{display:none}.pos-floor-tabs button{min-height:48px;min-width:118px;padding:0 18px;border:1px solid #cbd8d1;border-radius:10px;background:var(--surface);color:#456766;font:800 12px/1 var(--font-body);cursor:pointer;white-space:nowrap}.pos-floor-tabs button.active{border-color:var(--brand);background:var(--brand);color:var(--brand-ink);box-shadow:0 4px 10px rgba(19,83,86,.14)}.pos-floor-tabs button:focus-visible{outline:3px solid var(--accent);outline-offset:2px}
.pos-dining-table.capacity-md{width:76px;height:59px}.pos-dining-table.capacity-lg{width:92px;height:62px}.pos-dining-table.capacity-xl{width:108px;height:65px}.pos-dining-table.capacity-md.is-vertical{width:59px;height:76px}.pos-dining-table.capacity-lg.is-vertical{width:62px;height:92px}.pos-dining-table.capacity-xl.is-vertical{width:65px;height:108px}
.pos-order-item:has(.pos-draft-controls){grid-template-columns:minmax(0,1fr) auto 58px}.pos-draft-controls{display:flex;gap:6px}.pos-draft-controls button{width:26px;height:26px;font-size:15px}.pos-draft-controls button:first-child{background:#e5f2eb;color:#17675f}
.pos-split-items{display:grid;gap:7px;margin:0 29px 15px;padding:12px;border:1px solid #dce3dd;border-radius:8px;background:#f8faf6}.pos-split-items[hidden]{display:none}.pos-split-items legend{padding:0 6px;color:#536d68;font-size:10px;font-weight:800;letter-spacing:.07em;text-transform:uppercase}.pos-split-items label{display:grid;grid-template-columns:24px minmax(0,1fr) auto;align-items:center;gap:8px;min-height:42px;border-bottom:1px solid #e3e8e2;color:#315352;font-size:11px}.pos-split-items label:last-child{border-bottom:0}.pos-split-items input{width:20px;height:20px}.pos-split-items b{font-variant-numeric:tabular-nums}
@media (max-height:720px){.pos-login-logo{width:118px;height:59px;margin-bottom:5px}}
@media (max-width:700px) and (min-height:721px){.pos-login-logo{width:132px;height:66px}.pos-floor-tabs button{min-width:105px;min-height:48px;padding:0 14px}}

/* Table selection uses the full service canvas. The live ticket stays pinned on the right. */
.pos-command-rail{display:none!important}
.pos-workspace{grid-template-columns:minmax(0,1fr) 420px}
.pos-floor-head.hidden,.pos-floor.hidden,.pos-floor-footer.hidden{display:none}
.pos-open-orders-button,.pos-menu-view-button{min-height:44px;border:1px solid #cbdad4;border-radius:8px;background:var(--surface);color:#245e63;padding:0 13px;font:800 11px/1 var(--font-body);cursor:pointer}.pos-open-orders-button{margin-left:7px}.pos-menu-view-button{margin-left:8px}.pos-menu-view-button--primary{border-color:var(--brand);background:var(--brand);color:var(--brand-ink)}.pos-open-orders-button:hover,.pos-menu-view-button:hover{border-color:#2a7b7d;background:#edf7f3}.pos-menu-view-button--primary:hover{background:color-mix(in srgb, var(--brand) 85%, black 15%);color:var(--brand-ink)}
.pos-floor-zone{min-height:0}.pos-inline-menu{display:flex;flex:1;min-height:0;flex-direction:column;overflow:hidden;border:1px solid #d8dfd9;border-radius:17px;background:#f9f9f3;box-shadow:inset 0 0 0 9px rgba(255,255,255,.38)}.pos-inline-menu.hidden{display:none}.pos-inline-menu-head{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:19px 23px 15px;border-bottom:1px solid #e0e5df}.pos-inline-menu-head .eyebrow{margin:0 0 5px;color:#5e7f81;font-size:10px;font-weight:800;letter-spacing:.14em;text-transform:uppercase}.pos-inline-menu-head h2{margin:0;color:#153d43;font-family: var(--font-heading);font-size:28px;font-weight:500;letter-spacing:-.035em}.pos-inline-menu-head h2 span{color:#aa7025}.pos-inline-menu-tabs{display:flex;gap:8px;overflow-x:auto;padding:13px 20px;border-bottom:1px solid #e0e5df;scrollbar-width:thin}.pos-inline-menu-tab{min-height:44px;padding:0 14px;border:1px solid #d5dfd8;border-radius:22px;background:var(--surface);color:#536d6d;font:800 11px/1 var(--font-body);cursor:pointer;white-space:nowrap}.pos-inline-menu-tab:hover{border-color:#4e908b;background:#eef7f2}.pos-inline-menu-tab.active{border-color:var(--brand);background:var(--brand);color:var(--brand-ink)}.pos-inline-menu-tab.pos-popular-tab{border-color:var(--accent);background:#fbf4e5;color:var(--accent)}.pos-inline-menu-tab.pos-popular-tab.active{border-color:var(--accent);background:var(--accent);color:var(--brand-ink)}.pos-inline-menu-grid{display:grid;flex:1;min-height:0;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:13px;align-content:start;overflow:auto;padding:18px}.pos-inline-dish{position:relative;display:grid;grid-template-columns:88px minmax(0,1fr) 44px;gap:13px;align-items:center;min-height:154px;padding:10px;border:1px solid #d6e1da;border-radius:12px;background:var(--surface);color:#183e42;text-align:left;cursor:pointer;transition:transform .18s ease-out,border-color .18s ease-out,box-shadow .18s ease-out}.pos-inline-dish:hover{border-color:#40847f;box-shadow:0 8px 18px rgba(19,68,65,.09);transform:translateY(-2px)}.pos-inline-dish:active{transform:translateY(0);background:#f1f8f4}.pos-inline-dish:focus-visible,.pos-open-orders-button:focus-visible,.pos-menu-view-button:focus-visible,.pos-inline-menu-tab:focus-visible{outline:3px solid var(--accent);outline-offset:3px}.pos-inline-dish img{width:88px;height:132px;border-radius:8px;object-fit:cover;background:#e8efe9}.pos-inline-dish-copy{display:grid;align-content:center;gap:5px;min-width:0}.pos-inline-dish-copy small{color:#8e774d;font-size:9px;font-weight:800;letter-spacing:.1em;text-transform:uppercase}.pos-inline-dish-copy strong{display:block;font-family: var(--font-heading);font-size:20px;font-weight:500;line-height:1.08}.pos-inline-dish-copy em{display:-webkit-box;overflow:hidden;color:#6d7e7b;font-size:11px;font-style:normal;line-height:1.35;-webkit-box-orient:vertical;-webkit-line-clamp:2}.pos-inline-dish-copy b{color:#214e4d;font-size:13px;font-variant-numeric:tabular-nums}.pos-inline-dish>i{display:grid;place-items:center;width:44px;height:44px;border-radius:9px;background:#e5f2eb;color:#17675f;font-size:27px;font-style:normal;font-weight:500}.pos-inline-dish.unavailable{opacity:.56;cursor:not-allowed}.pos-inline-dish.unavailable>i{background:#eee9df;color:#8f8879}.pos-inline-dish:disabled{transform:none;box-shadow:none}.pos-no-menu{padding:52px 20px;color:#6f807c;text-align:center}
@media (max-width:1050px){.pos-workspace{grid-template-columns:minmax(0,1fr) 360px}.pos-inline-menu-head{padding:17px}.pos-inline-menu-grid{grid-template-columns:repeat(auto-fit,minmax(190px,1fr));padding:14px}.pos-inline-dish{grid-template-columns:74px minmax(0,1fr) 42px;gap:10px;min-height:138px}.pos-inline-dish img{width:74px;height:116px}.pos-inline-dish-copy strong{font-size:18px}}
@media (max-width:700px){.pos-workspace{grid-template-columns:1fr}.pos-inline-menu-head{align-items:flex-start;flex-direction:column;padding:15px}.pos-inline-menu-head>div:last-child{display:flex;width:100%;gap:8px}.pos-menu-view-button{flex:1;margin:0}.pos-inline-menu-tabs{padding:10px 13px}.pos-inline-menu-grid{grid-template-columns:1fr;padding:13px}.pos-inline-dish{min-height:126px}.pos-open-orders-button{display:none}.pos-inline-menu-head h2{font-size:24px}}
@media (pointer:coarse){.pos-inline-dish{min-height:164px}.pos-inline-menu-tab{min-height:48px}.pos-open-orders-button,.pos-menu-view-button{min-height:48px}}

/* The service canvas owns the full terminal until a table is selected. */
.pos-workspace{grid-template-columns:minmax(0,1fr)}
.pos-workspace.has-active-order{grid-template-columns:minmax(0,1fr) 420px}
.pos-order-rail.is-collapsed{display:none}
.pos-rail-head-actions{display:flex;align-items:center;gap:8px}
.pos-rail-collapse{display:flex;align-items:center;gap:7px;min-height:44px;padding:0 11px;border:1px solid #d9e0db;border-radius:7px;background:var(--surface);color:#466765;font:800 10px/1 var(--font-body);cursor:pointer;white-space:nowrap}
.pos-rail-collapse b{font-size:18px;font-weight:500}
.pos-rail-reopen{min-height:44px;padding:0 13px;border:1px solid rgba(255,255,255,.28);border-radius:8px;background:rgba(255,255,255,.08);color:var(--brand-ink);font:800 11px/1 var(--font-body);cursor:pointer;white-space:nowrap}
.pos-language-button{min-width:48px;min-height:44px;padding:0 12px;border:1px solid rgba(255,255,255,.3);border-radius:8px;background:rgba(255,255,255,.08);color:#fff;font:800 12px/1 var(--font-body);cursor:pointer;letter-spacing:.08em}.pos-language-button:focus-visible{outline:3px solid var(--accent);outline-offset:3px}
.pos-payment-shell{max-height:min(92vh,760px);overflow:auto}.pos-fiscal-details{margin:16px 29px 0;border:1px solid #dce3dd;border-radius:8px;background:#fbfcf9}.pos-fiscal-details summary{min-height:46px;display:flex;align-items:center;padding:0 13px;color:#315f5d;font-size:11px;font-weight:800;cursor:pointer}.pos-fiscal-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:4px 13px 14px;border-top:1px solid #e3e8e2}.pos-fiscal-grid .pos-field{margin-top:10px}@media(max-width:700px){.pos-fiscal-details{margin-left:18px;margin-right:18px}.pos-fiscal-grid{grid-template-columns:1fr}}
.pos-rail-reopen.hidden{display:none}
.pos-rail-collapse:hover{border-color:#6f9c97;background:#edf7f3;color:#155c62}
.pos-rail-reopen:hover{border-color:#e7c58c;background:rgba(255,255,255,.15)}
.pos-rail-collapse:focus-visible,.pos-rail-reopen:focus-visible{outline:3px solid var(--accent);outline-offset:3px}
@media (max-width:1050px){.pos-workspace.has-active-order{grid-template-columns:minmax(0,1fr) 360px}.pos-rail-collapse span{display:none}}
@media (max-width:700px){.pos-workspace.has-active-order{grid-template-columns:1fr}.pos-order-rail:not(.is-collapsed){display:flex}.pos-rail-reopen{min-height:40px;padding:0 9px;font-size:10px}.pos-floor-zone{height:auto;min-height:calc(100dvh - 63px)}.pos-workspace.has-active-order .pos-floor-zone{min-height:430px}}
@media (pointer:coarse){.pos-rail-collapse,.pos-rail-reopen{min-height:48px}}

/* Local-first production status stays visible without competing with service actions. */
.pos-sync-indicator{display:flex;align-items:center;gap:7px;min-height:34px;padding:0 11px;border:1px solid rgba(238,243,237,.2);border-radius:18px;background:rgba(238,243,237,.08);color:#d7e4df;font:800 10px/1 var(--font-body);letter-spacing:.025em;white-space:nowrap}.pos-sync-indicator i{width:8px;height:8px;border-radius:50%;background:#d8a34c;box-shadow:0 0 0 4px rgba(216,163,76,.13)}.pos-sync-indicator.is-online i{background:#79c4a3;box-shadow:0 0 0 4px rgba(121,196,163,.13)}.pos-sync-indicator.is-offline,.pos-sync-indicator.is-save-error,.pos-sync-indicator.is-service-error{border-color:rgba(237,158,119,.32);color:#f0c6ad}.pos-sync-indicator.is-offline i,.pos-sync-indicator.is-save-error i,.pos-sync-indicator.is-service-error i{background:#dc855f;box-shadow:0 0 0 4px rgba(220,133,95,.14)}.pos-sync-indicator.is-unpaired{color:#efd09b}.pos-sync-indicator.is-demo{color:#acc4c5}.pos-sync-indicator.is-demo i{background:#7e9fa2;box-shadow:none}
@media (max-width:900px){.pos-sync-indicator{width:34px;padding:0;justify-content:center}.pos-sync-indicator span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}}

/* Till opening and reconciliation are prominent, permission-controlled touch tasks. */
.pos-shift{min-height:44px;padding:0 12px;border:1px solid rgba(255,255,255,.18);border-radius:9px;background:rgba(255,255,255,.06);cursor:pointer;user-select:none}.pos-shift:hover{border-color:rgba(229,195,141,.6);background:rgba(255,255,255,.11)}.pos-shift:focus-visible{outline:3px solid var(--accent);outline-offset:3px}.pos-shift.is-closed{border-color:rgba(237,158,119,.35);color:#f0c6ad}.pos-shift.is-closed .pos-status-dot{background:#dc855f;box-shadow:0 0 0 4px rgba(220,133,95,.14)}.pos-till-body{display:grid;gap:15px;padding:22px 29px 29px}.pos-till-body .pos-primary-button{min-height:54px;font-size:14px}.pos-till-summary{display:grid;grid-template-columns:1fr 1fr;gap:10px}.pos-till-summary>div{display:grid;gap:5px;padding:13px;border:1px solid #dde5df;border-radius:9px;background:#f7faf6}.pos-till-summary span{color:#647873;font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.04em}.pos-till-summary b,.pos-till-summary strong{color:#173e44;font-size:16px;font-variant-numeric:tabular-nums}.pos-simple-copy{margin:0;color:#5f726e;font-size:13px;line-height:1.5}
@media (max-width:700px){.pos-shift{padding:0 8px}.pos-shift>span:nth-of-type(2){display:none}.pos-till-body{padding:18px}.pos-till-summary{grid-template-columns:1fr}}

.pos-till-dialog{max-width:none;max-height:none}.pos-till-shell{width:min(96vw,980px);max-height:min(92vh,850px);overflow:hidden}.pos-till-shell>header{position:sticky;top:0;z-index:2;background:var(--pos-paper)}.pos-till-body{max-height:calc(min(92vh,850px) - 92px);overflow:auto}.pos-blind-count-intro{padding:15px 17px;border:1px solid #c8ded5;border-radius:10px;background:#eef7f2}.pos-blind-count-intro strong{display:block;color:#164e4e;font-size:15px}.pos-blind-count-intro p{margin:4px 0 0;color:#5e7470;font-size:12px}.pos-till-blocker{display:grid;gap:12px;padding:16px;border:1px solid #e4b39a;border-radius:10px;background:#fff4ed}.pos-till-blocker>strong{color:#8b432d;font-size:14px}.pos-till-blocker>p{margin:0;color:#76594f;font-size:12px}.pos-till-blocker .pos-field{margin:0}.pos-denomination-columns{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:16px;align-items:start}.pos-denomination-group{overflow:hidden;border:1px solid #d9e3dc;border-radius:12px;background:#fff}.pos-denomination-group>header{display:flex;align-items:center;justify-content:space-between;padding:14px 16px;background:#f2f7f3;border-bottom:1px solid #dfe7e1}.pos-denomination-group>header strong,.pos-denomination-group>header small{display:block}.pos-denomination-group>header strong{color:#123f45;font-size:15px}.pos-denomination-group>header small{margin-top:2px;color:#71827e;font-size:10px}.pos-denomination-group>header>b{color:#0c5860;font-size:18px;font-variant-numeric:tabular-nums}.pos-denomination-list{display:grid}.pos-denomination-row{display:grid;grid-template-columns:minmax(90px,1fr) 154px minmax(88px,auto);gap:10px;align-items:center;min-height:58px;padding:6px 12px;border-bottom:1px solid #edf0ec}.pos-denomination-row:last-child{border-bottom:0}.pos-denomination-row>span b,.pos-denomination-row>span small{display:block}.pos-denomination-row>span b{color:#244e4f;font-size:12px}.pos-denomination-row>span small{margin-top:2px;color:#84908d;font-size:9px;text-transform:capitalize}.pos-denomination-row>strong{text-align:right;color:#315b59;font-size:12px;font-variant-numeric:tabular-nums}.pos-denomination-stepper{display:grid;grid-template-columns:44px 1fr 44px;overflow:hidden;border:1px solid #cad7cf;border-radius:9px}.pos-denomination-stepper button{min-height:44px;border:0;background:#e8f2ed;color:#145b5b;font-size:22px;font-weight:700;cursor:pointer;touch-action:manipulation}.pos-denomination-stepper button:active{background:#cfe4da}.pos-denomination-stepper input{width:100%;min-width:0;padding:0;border:0;border-left:1px solid #cad7cf;border-right:1px solid #cad7cf;text-align:center;color:#153d42;font:800 16px var(--font-body);-moz-appearance:textfield}.pos-denomination-stepper input::-webkit-inner-spin-button,.pos-denomination-stepper input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.pos-till-review-button{position:sticky;bottom:0;box-shadow:0 -9px 18px rgba(248,249,245,.9)}.pos-till-review{display:grid;gap:17px}.pos-till-review>header{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}.pos-till-review>header>div{padding:14px;border:1px solid #dce4df;border-radius:9px;background:#f8faf7}.pos-till-review>header span,.pos-till-review>header strong{display:block}.pos-till-review>header span{color:#71817d;font-size:9px;font-weight:800;letter-spacing:.06em;text-transform:uppercase}.pos-till-review>header strong{margin-top:5px;color:#173f44;font-size:17px}.pos-till-review>header .is-balanced{border-color:#a9d4be;background:#edf8f1}.pos-till-review>header .is-balanced strong{color:#247453}.pos-till-review>header .is-variance{border-color:#e6ba9f;background:#fff3ec}.pos-till-review>header .is-variance strong{color:#a14e30}.pos-till-review h3{margin:0;color:#244f50;font-size:14px}.pos-till-review dl{display:grid;grid-template-columns:repeat(5,1fr);gap:1px;margin:0;overflow:hidden;border:1px solid #dde4df;border-radius:9px;background:#dde4df}.pos-till-review dl>div{padding:12px;background:#fff}.pos-till-review dt{color:#788580;font-size:9px}.pos-till-review dd{margin:5px 0 0;color:#20484a;font-size:13px;font-weight:800}.pos-override-confirmed{display:flex;gap:12px;margin:0;padding:13px 15px;border-radius:9px;background:#fff2e8;color:#784631;font-size:11px}.pos-override-confirmed strong{white-space:nowrap}.pos-till-review>footer{display:flex;justify-content:flex-end;gap:10px}.pos-till-review>footer .pos-primary-button{width:auto;min-width:230px}

@media (max-width:800px){.pos-till-shell{width:98vw;max-height:96vh}.pos-till-body{max-height:calc(96vh - 84px)}.pos-denomination-columns{grid-template-columns:1fr}.pos-till-review>header{grid-template-columns:1fr 1fr}.pos-till-review dl{grid-template-columns:1fr 1fr}.pos-denomination-row{grid-template-columns:minmax(75px,1fr) 145px minmax(78px,auto)}}

@media (max-width:520px){.pos-denomination-row{grid-template-columns:72px 132px minmax(65px,auto);gap:6px;padding:6px 8px}.pos-denomination-stepper{grid-template-columns:40px 1fr 40px}.pos-till-review>header,.pos-till-review dl{grid-template-columns:1fr}.pos-till-review>footer{flex-direction:column}.pos-till-review>footer .pos-primary-button{width:100%;min-width:0}}

/* Local printer queue: large, direct controls for the shared touch terminal. */
.pos-printer-button{min-width:112px;min-height:46px}.pos-printer-button.has-warning{border-color:#d79b42;color:#ffe0a8;background:rgba(215,155,66,.16)}.pos-printer-shell{width:min(680px,calc(100vw - 32px))}#pos-printer-body{display:grid;gap:16px;padding:4px 24px 24px}.pos-printer-health{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:16px 0;border-bottom:1px solid rgba(17,55,50,.14)}.pos-printer-health div{display:flex;flex-direction:column;gap:4px}.pos-printer-health span,.pos-printer-health small,.pos-print-job-list span,.pos-print-job-list small{color:#66736f}.pos-printer-actions button,.pos-print-job-list button{min-height:48px;padding:0 18px;border:1px solid rgba(17,55,50,.24);border-radius:10px;background:#fff;color:#113732;font:inherit;font-weight:700;cursor:pointer}.pos-print-job-list{display:grid;max-height:min(54vh,520px);overflow:auto}.pos-print-job-list article{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:76px;padding:12px 0;border-bottom:1px solid rgba(17,55,50,.1)}.pos-print-job-list article>div:first-child{display:grid;gap:3px}.pos-print-job-list article>div:last-child{display:flex;gap:8px}.pos-printer-loading,.pos-printer-empty,.pos-printer-error{margin:16px 0;color:#66736f}.pos-printer-error{color:#9d3327}
@media(max-width:760px){.pos-printer-button{min-width:52px;max-width:110px}.pos-print-job-list article{align-items:flex-start;flex-direction:column}}

/* One clear item action and one clear table-action entry point keep service fast on touchscreens. */
.pos-table-actions-button{display:flex;align-items:center;justify-content:center;gap:8px;min-height:48px;min-width:118px;padding:0 16px;border:1px solid #cbd8d1;border-radius:9px;background:var(--surface);color:#285d5d;font:800 11px/1 var(--font-body);cursor:pointer}.pos-table-actions-button span{font-size:15px}.pos-table-actions-button:hover{border-color:#4c8a84;background:#edf7f3}.pos-table-actions-button:focus-visible{outline:3px solid var(--accent);outline-offset:2px}.pos-rail-head h2 small{display:inline-block;margin-left:5px;color:#b1782d;font:800 11px/1 var(--font-body);text-transform:uppercase;letter-spacing:.04em}.pos-item-discount-price{display:grid;justify-items:end;gap:2px}.pos-item-discount-price s{color:#8a9793;font-size:9px}.pos-item-discount-price b{color:#26645e;font-size:12px}.pos-item-action-content{display:grid;gap:17px;padding:22px 26px 27px}.pos-item-action-grid,.pos-table-action-grid{display:grid;gap:11px}.pos-item-action-grid{grid-template-columns:1fr 1fr}.pos-item-action-grid button,.pos-table-action-grid button{display:grid;grid-template-columns:50px minmax(0,1fr);grid-template-rows:auto auto;align-items:center;gap:3px 12px;min-height:84px;padding:14px;border:1px solid #d4dfd8;border-radius:10px;background:var(--surface);color:#214e4f;text-align:left;cursor:pointer}.pos-item-action-grid button>span,.pos-table-action-grid button>span{grid-row:1/3;display:grid;place-items:center;width:50px;height:50px;border-radius:9px;background:#e6f1ec;color:#17645f;font-size:25px;font-weight:700}.pos-item-action-grid button strong,.pos-table-action-grid button strong{align-self:end;font-size:14px}.pos-item-action-grid button small,.pos-table-action-grid button small{align-self:start;color:#71817d;font-size:10px;line-height:1.3}.pos-item-action-grid button:hover,.pos-table-action-grid button:hover{border-color:#43847e;background:#f1f8f4}.pos-item-action-grid button.is-danger>span{background:#f8e9e1;color:#9a4e33}.pos-item-action-grid button.is-danger:hover{border-color:#cf8e72;background:#fff5ef}.pos-table-action-grid button:disabled{opacity:.5;cursor:not-allowed}.pos-action-empty{margin-top:16px;padding:18px;border:1px solid #dde4df;border-radius:9px;background:#f7f9f5;color:#647671;text-align:center;font-size:12px}.pos-split-tab-nav{display:flex;gap:7px;overflow-x:auto;padding:10px 17px;border-bottom:1px solid #e0e6e1;background:#f5f8f4;scrollbar-width:thin}.pos-split-tab-nav button{display:grid;gap:3px;min-width:92px;min-height:48px;padding:8px 11px;border:1px solid #d4ded8;border-radius:8px;background:#fff;color:#536b68;text-align:left;cursor:pointer}.pos-split-tab-nav button span{font-size:10px;font-weight:800;text-transform:uppercase}.pos-split-tab-nav button b{font-size:11px}.pos-split-tab-nav button.active{border-color:var(--brand);background:var(--brand);color:#fff}.pos-split-tab-nav button:focus-visible{outline:3px solid var(--accent);outline-offset:2px}

/* Split workspace supports mouse drag-and-drop and a two-tap touchscreen fallback. */
.pos-split-dialog{max-width:none;max-height:none}.pos-split-shell{width:min(96vw,1180px);max-height:min(94vh,880px);overflow:hidden}.pos-split-setup{display:grid;gap:17px;max-width:500px;padding:28px}.pos-split-setup p{margin:0;color:#5f726e;font-size:13px;line-height:1.55}.pos-split-setup .pos-primary-button{min-height:54px}.pos-split-instructions{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;padding:15px 22px;border-bottom:1px solid #dce4de;background:#f3f7f3}.pos-split-instructions strong{color:#214d4e;font-size:13px}.pos-split-instructions p{max-width:650px;margin:0;color:#6a7b77;font-size:11px;line-height:1.45}.pos-split-board{display:flex;gap:12px;min-height:440px;max-height:calc(min(94vh,880px) - 190px);overflow:auto;padding:16px;scroll-snap-type:x proximity}.pos-split-column{flex:0 0 238px;min-height:390px;overflow:hidden;border:1px solid #d7e0da;border-radius:11px;background:#f9faf7;scroll-snap-align:start;transition:border-color .15s,background .15s}.pos-split-column.is-source{background:#f4f1e8}.pos-split-column.is-drag-over{border-color:#1f776f;background:#eaf6f0;box-shadow:inset 0 0 0 2px #1f776f}.pos-split-column>header{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:62px;padding:10px 12px;border-bottom:1px solid #dde4de;background:#fff}.pos-split-column>header strong,.pos-split-column>header small{display:block}.pos-split-column>header strong{color:#244e4f;font-size:12px}.pos-split-column>header small{margin-top:3px;color:#7b8985;font-size:9px}.pos-split-column>header>b{color:#174f51;font-size:11px}.pos-split-dropzone{display:grid;align-content:start;gap:8px;min-height:325px;padding:10px}.pos-split-dropzone>p{margin:28px 9px;color:#89938f;font-size:10px;line-height:1.45;text-align:center}.pos-split-item{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:5px 9px;align-items:center;min-height:58px;padding:10px 11px;border:1px solid #d2ded7;border-radius:8px;background:#fff;color:#234e4d;text-align:left;cursor:grab;touch-action:manipulation}.pos-split-item span{font-size:11px;font-weight:800;line-height:1.25}.pos-split-item b{font-size:10px}.pos-split-item small{grid-column:1/-1;color:#a35d37;font-size:9px;font-weight:800}.pos-split-item.is-selected{border-color:#c7842e;background:#fff6e7;box-shadow:0 0 0 2px rgba(199,132,46,.22)}.pos-split-item.is-dragging{opacity:.45}.pos-split-item:focus-visible,.pos-split-column:focus-visible{outline:3px solid var(--accent);outline-offset:2px}.pos-split-footer{display:flex;align-items:center;justify-content:flex-end;gap:10px;padding:12px 17px;border-top:1px solid #dce3dd;background:#fff}.pos-split-footer>span{margin-right:auto;color:#657874;font-size:11px;font-weight:800}.pos-split-footer button{min-height:48px}.pos-split-footer .pos-primary-button{width:auto;min-width:170px}.pos-split-footer .pos-primary-button:disabled{opacity:.45;cursor:not-allowed}
@media(max-width:700px){.pos-item-action-grid{grid-template-columns:1fr}.pos-table-actions-button{min-width:105px}.pos-split-shell{width:98vw;max-height:96vh}.pos-split-instructions{display:grid;gap:5px;padding:12px 15px}.pos-split-board{max-height:calc(96vh - 205px);padding:12px}.pos-split-column{flex-basis:82vw}.pos-split-footer{flex-wrap:wrap}.pos-split-footer>span{width:100%;margin:0}.pos-split-footer button{flex:1}.pos-split-footer .pos-primary-button{min-width:0}}
@media(pointer:coarse){.pos-item-action-grid button,.pos-table-action-grid button{min-height:96px}.pos-split-item{min-height:68px}.pos-split-tab-nav button{min-height:54px}}

/* Drinks, Food, Docks, and the conditional Promos entry stay fast on touchscreens. */
.pos-menu-tabs .pos-promos-tab,
.pos-inline-menu-tab.pos-promos-tab {
  border-color: var(--accent);
  background: #fbf4e5;
  color: var(--accent);
}
.pos-menu-tabs .pos-promos-tab.active,
.pos-inline-menu-tab.pos-promos-tab.active {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--brand-ink);
}
.pos-menu-tabs,
.pos-inline-menu-tabs {
  flex-direction: column;
  align-items: stretch;
  overflow: visible;
}
.pos-menu-primary,
.pos-inline-menu-primary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 8px;
  width: 100%;
}
.pos-menu-primary > button,
.pos-inline-menu-primary > button {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  touch-action: manipulation;
}
.pos-menu-category-picker {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 48px;
  padding: 0 13px;
  border: 1px solid #cbd9d2;
  border-radius: 9px;
  background: #f5f9f5;
  color: #315e5c;
  box-sizing: border-box;
}
.pos-menu-category-picker > span {
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.pos-menu-category-picker select {
  min-width: 0;
  height: 46px;
  padding: 0 28px 0 6px;
  border: 0;
  outline: 0;
  background: transparent;
  color: #163f44;
  font: 800 12px var(--font-body);
  appearance: none;
  cursor: pointer;
}
.pos-menu-category-picker:focus-within {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(23,108,114,.13);
}
.pos-menu-category-picker > i {
  color: var(--brand);
  font-size: 18px;
  font-style: normal;
  pointer-events: none;
}
.pos-menu-tabs .pos-menu-breadcrumb,
.pos-inline-menu-tabs .pos-menu-breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 42px;
  padding: 7px 11px;
  border: 0;
  border-radius: 8px;
  background: #eef4ef;
  color: #315e5c;
  font: 700 11px/1.2 var(--font-body);
  text-align: left;
  cursor: pointer;
  touch-action: manipulation;
}
.pos-menu-tabs .pos-menu-breadcrumb:hover,
.pos-inline-menu-tabs .pos-menu-breadcrumb:hover {
  background: #e4eee8;
  color: #184f50;
}
.pos-menu-tabs .pos-menu-breadcrumb:focus-visible,
.pos-inline-menu-tabs .pos-menu-breadcrumb:focus-visible,
.pos-menu-category-tile:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}
.pos-menu-breadcrumb > span:first-child {
  flex: 0 0 auto;
  font-size: 18px;
}
.pos-menu-breadcrumb > span:last-child {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 8px;
}
.pos-menu-breadcrumb b,
.pos-menu-breadcrumb strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pos-menu-breadcrumb i {
  color: #8ca09a;
  font-style: normal;
}
.pos-menu-grid.is-category-grid,
.pos-inline-menu-grid.is-category-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: minmax(88px, 112px);
  align-content: start;
  overflow: hidden;
}
.pos-menu-category-tile {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 7px 10px;
  align-items: center;
  min-width: 0;
  min-height: 88px;
  padding: 16px;
  border: 1px solid #cddbd4;
  border-radius: 12px;
  background: var(--surface);
  color: #173f43;
  text-align: left;
  cursor: pointer;
  touch-action: manipulation;
  transition: transform .18s cubic-bezier(.22,1,.36,1), border-color .18s cubic-bezier(.22,1,.36,1), background .18s cubic-bezier(.22,1,.36,1), box-shadow .18s cubic-bezier(.22,1,.36,1);
}
.pos-menu-category-tile:hover {
  border-color: #4b8c86;
  background: #f1f8f4;
  box-shadow: 0 7px 18px rgba(20,70,65,.08);
  transform: translateY(-2px);
}
.pos-menu-category-tile:active {
  background: #e7f2ec;
  transform: translateY(0);
}
.pos-menu-category-tile > span {
  display: -webkit-box;
  overflow: hidden;
  align-self: end;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.16;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.pos-menu-category-tile > small {
  align-self: start;
  color: #70827d;
  font-size: 10px;
  font-weight: 700;
}
.pos-menu-category-tile > i {
  grid-column: 2;
  grid-row: 1 / 3;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 9px;
  background: #e4f0e9;
  color: #17645f;
  font-size: 21px;
  font-style: normal;
}
.is-category-grid .pos-no-menu {
  grid-column: 1 / -1;
  align-self: center;
}
.pos-menu-item h3 {
  margin: 0;
}
.pos-inline-dish {
  grid-template-columns: 78px minmax(0, 1fr) 44px;
}
.pos-inline-dish img {
  width: 78px;
  height: 116px;
}
.pos-inline-dish-copy {
  gap: 12px;
}

@media (max-width:1050px) {
  .pos-menu-grid.is-category-grid,
  .pos-inline-menu-grid.is-category-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: minmax(78px, 86px);
  }
  .pos-menu-category-tile {
    min-height: 78px;
    padding: 13px;
  }
  .pos-menu-category-tile > span {
    font-size: 14px;
  }
  .pos-inline-dish {
    grid-template-columns: 70px minmax(0, 1fr) 42px;
  }
  .pos-inline-dish img {
    width: 70px;
    height: 104px;
  }
}

@media (max-width:700px) {
  .pos-menu-primary,
  .pos-inline-menu-primary {
    grid-template-columns: repeat(auto-fit, minmax(68px, 1fr));
  }
  .pos-menu-primary > button,
  .pos-inline-menu-primary > button {
    padding-right: 7px;
    padding-left: 7px;
    font-size: 9px;
  }
  .pos-menu-grid.is-category-grid,
  .pos-inline-menu-grid.is-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: minmax(68px, 84px);
    gap: 9px;
    overflow: auto;
  }
  .pos-menu-category-tile {
    min-height: 68px;
    padding: 10px 11px;
    border-radius: 10px;
  }
  .pos-menu-category-tile > i {
    width: 32px;
    height: 32px;
    font-size: 18px;
  }
}

@media (max-width:900px) {
  .pos-floor-head {
    align-items: center;
    gap: 14px;
  }
  .pos-legend {
    display: flex;
  }
  .pos-legend > span {
    display: none;
  }
  .pos-open-orders-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}

/* Open-order navigation stays available independently of the queue contents. */
.pos-orders-view-head {
  gap: 18px;
}
.pos-orders-view-title {
  min-width: 0;
}
.pos-orders-view-head h2 {
  margin: 3px 0 4px;
  color: #153d43;
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -.035em;
}
.pos-orders-view-head #pos-open-order-count {
  color: #6a7e79;
  font-size: 12px;
  font-weight: 700;
}
.pos-orders-back {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-left: 18px;
  white-space: nowrap;
}
.pos-orders-back > span {
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
}
.pos-orders-back > span[aria-hidden="true"] {
  font-size: 17px;
  line-height: 1;
}

@media (max-width:700px) {
  .pos-orders-view-head {
    align-items: flex-start;
    padding: 15px;
  }
  .pos-orders-view-head h2 {
    font-size: 24px;
  }
  .pos-orders-back {
    flex: 0 0 auto;
    margin-left: 0;
  }
}

@media (max-width:480px) {
  .pos-floor-head {
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
  }
  .pos-legend,
  .pos-open-orders-button {
    width: 100%;
  }
  .pos-open-orders-button {
    margin-left: 0;
  }
  .pos-orders-view-head {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .pos-orders-back {
    width: 100%;
  }
}

@media (min-width:1200px) {
  .pos-menu-grid.is-category-grid,
  .pos-inline-menu-grid.is-category-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (pointer:coarse) {
  .pos-menu-category-tile {
    min-height: 72px;
  }
}

/* Product choices prioritize scan speed: title-only tiles keep eight or more in view. */
.pos-menu-grid:not(.is-category-grid),
.pos-inline-menu-grid:not(.is-category-grid) {
  grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
  grid-auto-rows: 68px;
  gap: 8px;
  align-content: start;
  overflow: auto;
  padding: 10px;
}
.pos-inline-dish,
.pos-menu-item {
  box-sizing: border-box;
  display: grid;
  place-items: center;
  width: 100%;
  min-width: 0;
  min-height: 68px;
  padding: 8px 10px;
  border: 1px solid #cfdcd5;
  border-radius: 9px;
  background: var(--surface);
  color: #173f43;
  font-family: var(--font-body);
  text-align: center;
  cursor: pointer;
  touch-action: manipulation;
  transition: transform .14s ease-out, border-color .14s ease-out, background .14s ease-out, box-shadow .14s ease-out;
}
.pos-inline-dish {
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
}
.pos-inline-dish:hover,
.pos-menu-item:hover {
  border-color: #40847f;
  background: #f1f8f4;
  box-shadow: 0 5px 12px rgba(19,68,65,.08);
  transform: translateY(-1px);
}
.pos-inline-dish:active,
.pos-menu-item:active {
  background: #e8f3ed;
  transform: translateY(0);
}
.pos-inline-dish:focus-visible,
.pos-menu-item:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}
.pos-inline-dish-copy {
  display: block;
  width: 100%;
  min-width: 0;
}
.pos-inline-dish-copy strong,
.pos-menu-item h3 {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  color: inherit;
  font-family: var(--font-body);
  font-size: clamp(13px, 1.15vw, 15px);
  font-weight: 800;
  line-height: 1.18;
  overflow-wrap: anywhere;
  text-align: center;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.pos-inline-dish.unavailable,
.pos-menu-item.unavailable,
.pos-inline-dish:disabled,
.pos-menu-item:disabled {
  opacity: .5;
  background: #f4f1e9;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

@media (max-width:1050px) {
  .pos-menu-grid:not(.is-category-grid),
  .pos-inline-menu-grid:not(.is-category-grid) {
    grid-template-columns: repeat(auto-fill, minmax(118px, 1fr));
    grid-auto-rows: 60px;
    gap: 7px;
    padding: 9px;
  }
  .pos-inline-dish,
  .pos-menu-item {
    min-height: 60px;
    padding: 7px 8px;
  }
}

@media (max-width:700px) {
  .pos-inline-menu-head {
    flex-direction: row;
    align-items: center;
    gap: 8px;
    padding: 9px 10px;
  }
  .pos-inline-menu-head .eyebrow {
    display: none;
  }
  .pos-inline-menu-head > div:first-child {
    min-width: 0;
  }
  .pos-inline-menu-head h2 {
    overflow: hidden;
    font-size: 18px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .pos-inline-menu-head > div:last-child {
    display: grid;
    flex: 1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 5px;
    width: auto;
    min-width: 0;
  }
  .pos-inline-menu-head .pos-menu-view-button {
    min-width: 0;
    min-height: 44px;
    margin: 0;
    padding: 0 6px;
    font-size: 9px;
  }
  .pos-inline-menu-tabs {
    gap: 6px;
    padding: 8px;
  }
  .pos-inline-menu-primary {
    grid-template-columns: repeat(auto-fit, minmax(68px, 1fr));
    gap: 5px;
  }
  .pos-inline-menu-primary > button {
    min-height: 44px;
    padding-right: 5px;
    padding-left: 5px;
    font-size: 8px;
  }
  .pos-menu-grid:not(.is-category-grid),
  .pos-inline-menu-grid:not(.is-category-grid) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 52px;
    gap: 6px;
    padding: 7px;
  }
  .pos-inline-dish,
  .pos-menu-item,
  .pos-inline-dish:disabled,
  .pos-menu-item:disabled {
    min-height: 52px;
    padding: 6px 7px;
  }
  .pos-inline-dish-copy strong,
  .pos-menu-item h3 {
    font-size: 12px;
  }
}

/* Product-specific required prompts and optional fast edits. */
.pos-inline-menu-grid.hidden,
.pos-inline-menu-tabs.hidden,
.pos-inline-modifier.hidden {
  display: none;
}
.pos-inline-modifier {
  display: flex;
  flex: 1;
  min-height: 0;
  flex-direction: column;
  overflow: hidden;
  background: #f7f5ed;
}
.pos-required-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 24px 17px;
  border-bottom: 1px solid #dce3dc;
  background: var(--surface);
}
.pos-required-head p {
  margin: 0 0 5px;
  color: var(--accent);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.pos-required-head h2 {
  margin: 0;
  color: #163f45;
  font-family: var(--font-heading);
  font-size: clamp(25px, 3vw, 36px);
  font-weight: 500;
}
.pos-required-head > button {
  min-width: 108px;
  min-height: 52px;
  border: 1px solid #d3ddd6;
  border-radius: 10px;
  background: #fff;
  color: #475f5d;
  font: 800 12px var(--font-body);
  cursor: pointer;
}
.pos-required-groups {
  display: grid;
  flex: 1;
  min-height: 0;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 16px;
  align-content: start;
  overflow: auto;
  padding: 20px 24px;
}
.pos-fast-group {
  margin: 0 0 16px;
}
.pos-fast-group > header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 9px;
}
.pos-fast-group h4 {
  margin: 0;
  color: #224c4d;
  font-size: 13px;
}
.pos-fast-group > header span {
  color: #7d8985;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.pos-fast-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(128px, 1fr));
  gap: 9px;
}
.pos-fast-options button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 58px;
  padding: 11px 13px;
  border: 1px solid #ccd9d2;
  border-radius: 10px;
  background: var(--surface);
  color: #2a5352;
  font: 800 12px/1.2 var(--font-body);
  text-align: left;
  cursor: pointer;
}
.pos-fast-options button b {
  color: var(--accent);
  font-size: 10px;
  white-space: nowrap;
}
.pos-fast-options button:hover {
  border-color: #478981;
  background: #f1f8f4;
}
.pos-fast-options button.is-selected {
  border-color: var(--brand);
  background: var(--brand);
  color: #fff;
  box-shadow: 0 0 0 3px rgba(23,108,114,.13);
}
.pos-fast-options button.is-selected b {
  color: #ffdda6;
}
.pos-fast-options button:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}
.pos-promo-child {
  padding: 16px;
  border: 1px solid #d8dfd7;
  border-radius: 13px;
  background: var(--surface);
}
.pos-promo-child > h3 {
  margin: 0 0 14px;
  color: var(--accent);
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 500;
}
.pos-inline-modifier > footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  padding: 15px 24px;
  border-top: 1px solid #dce3dc;
  background: var(--surface);
}
.pos-inline-modifier > footer span {
  color: #617773;
  font-size: 11px;
  font-weight: 700;
}
.pos-inline-modifier > footer .pos-primary-button {
  width: auto;
  min-width: 190px;
  min-height: 54px;
  font-size: 13px;
}
.pos-primary-button:disabled {
  background: #aeb8b3;
  cursor: not-allowed;
}
.pos-modifier-panel .pos-fast-options,
#pos-customize-body .pos-fast-options {
  grid-template-columns: 1fr;
}
.pos-modifier-panel .pos-fast-options button,
#pos-customize-body .pos-fast-options button {
  min-height: 48px;
}
.pos-modifier-panel .pos-field,
#pos-customize-body .pos-field {
  margin-top: 18px;
}
.pos-modifier-panel .pos-text-button,
#pos-customize-body .pos-text-button {
  width: 100%;
  min-height: 48px;
  margin-top: 12px;
  border: 0;
  border-radius: 8px;
  background: var(--pos-ground);
  color: #fff;
  font: 800 12px var(--font-body);
  cursor: pointer;
}

@media (max-width:700px) {
  .pos-required-head {
    align-items: flex-start;
    padding: 15px;
  }
  .pos-required-groups {
    grid-template-columns: 1fr;
    padding: 15px;
  }
  .pos-fast-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .pos-inline-modifier > footer {
    align-items: stretch;
    flex-direction: column;
    padding: 12px 15px;
  }
  .pos-inline-modifier > footer .pos-primary-button {
    width: 100%;
  }
}

/* Checkout, tax visibility, and high-touch guest controls. */
.pos-field[hidden],
.pos-stack-warning[hidden] {
  display: none !important;
}
.pos-guest-stepper {
  display: grid;
  grid-template-columns: auto 42px 34px 42px;
  align-items: center;
  gap: 7px;
  margin-top: 10px;
}
.pos-guest-stepper > span {
  color: #547271;
  font-size: 11px;
  font-weight: 700;
}
.pos-guest-stepper button {
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid #bfcfc8;
  border-radius: 10px;
  background: #fff;
  color: #164f58;
  font: 800 24px/1 var(--font-body);
  cursor: pointer;
}
.pos-guest-stepper button:hover:not(:disabled),
.pos-guest-stepper button:focus-visible {
  border-color: #1f7578;
  background: #eaf5f1;
}
.pos-guest-stepper button:disabled {
  opacity: .35;
  cursor: not-allowed;
}
.pos-guest-stepper output {
  color: #173842;
  font-size: 18px;
  font-weight: 900;
  text-align: center;
}
.pos-line-flags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 5px;
}
.pos-line-flags span {
  display: inline-flex;
  align-items: center;
  min-height: 19px;
  padding: 2px 6px;
  border: 1px solid #d9c8a9;
  border-radius: 999px;
  background: #fff7e8;
  color: #805d27;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.pos-danger-copy {
  margin: 0 0 16px;
  padding: 11px 12px;
  border-left: 4px solid #b85d4a;
  border-radius: 6px;
  background: #fbefeb;
  color: #7d3d32;
  font-size: 11px;
  line-height: 1.45;
}
.pos-danger-button {
  width: 100%;
  min-height: 48px;
  border: 0;
  border-radius: 8px;
  background: #a84235;
  color: #fff;
  font: 800 12px var(--font-body);
  cursor: pointer;
}
.pos-danger-button:hover,
.pos-danger-button:focus-visible {
  background: #8b342a;
}
.pos-checkout-controls {
  display: grid;
  grid-template-columns: minmax(150px,.72fr) minmax(0,1.28fr);
  gap: 10px;
  margin: 0 29px 14px;
}
.pos-checkout-controls > button {
  min-height: 54px;
}
.pos-takeout-check {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 54px;
  padding: 8px 12px;
  border: 1px solid #d6e1db;
  border-radius: 8px;
  background: #f7fbf8;
  cursor: pointer;
}
.pos-takeout-check input {
  width: 20px;
  height: 20px;
  accent-color: var(--brand);
}
.pos-takeout-check span,
.pos-takeout-check strong,
.pos-takeout-check small {
  display: block;
}
.pos-takeout-check strong {
  color: #285553;
  font-size: 11px;
}
.pos-takeout-check small {
  margin-top: 2px;
  color: #73847f;
  font-size: 9px;
  line-height: 1.3;
}
.pos-stack-warning,
.pos-payment-draft-message {
  margin: 0 29px 14px;
  padding: 10px 12px;
  border-radius: 7px;
  font-size: 10px;
  line-height: 1.4;
}
.pos-stack-warning {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid #dfbd7d;
  background: #fff5de;
  color: #74501d;
}
.pos-stack-warning button {
  flex: 0 0 auto;
  min-height: 32px;
  border: 0;
  border-radius: 6px;
  background: #9b681e;
  color: #fff;
  font: 800 10px var(--font-body);
  cursor: pointer;
}
.pos-payment-draft-message {
  background: #f6e7e2;
  color: #824438;
  font-weight: 700;
}
.pos-tender-builder {
  margin: 0 29px;
  padding: 15px;
  border: 1px solid #dde5df;
  border-radius: 10px;
  background: #fbfcf9;
}
.pos-tender-builder h3 {
  margin: 0 0 11px;
  color: #315c5b;
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 500;
}
.pos-tender-builder .pos-payment-methods,
.pos-tender-builder .pos-payment-fields,
.pos-tender-builder .pos-payment-note {
  margin-right: 0;
  margin-left: 0;
}
.pos-tender-builder .pos-payment-fields {
  align-items: end;
  margin-bottom: 9px;
}
.pos-add-tender {
  min-height: 42px;
  border: 0;
  border-radius: 7px;
  background: var(--brand);
  color: #fff;
  font: 800 11px var(--font-body);
  cursor: pointer;
}
.pos-tender-list {
  display: grid;
  gap: 7px;
  margin: 13px 0 0;
  padding: 0;
  list-style: none;
}
.pos-tender-list li {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto auto;
  align-items: center;
  gap: 9px;
  min-height: 34px;
  padding: 5px 8px;
  border-radius: 6px;
  background: #eef5f1;
  color: #365b59;
  font-size: 10px;
}
.pos-tender-list li b {
  color: #153d42;
  font-variant-numeric: tabular-nums;
}
.pos-tender-list li button {
  width: 27px;
  height: 27px;
  padding: 0;
  border: 0;
  border-radius: 5px;
  background: #f3dfd9;
  color: #994b3d;
  cursor: pointer;
}
.pos-tender-list .pos-empty-tenders {
  display: block;
  padding: 10px;
  color: #7a8985;
  text-align: center;
}
.pos-fiscal-details {
  margin: 15px 29px 0;
  border-top: 1px solid #e2e7e0;
  color: #536966;
  font-size: 11px;
}
.pos-fiscal-details summary {
  padding: 13px 0 5px;
  font-weight: 800;
  cursor: pointer;
}
.pos-fiscal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 11px;
  padding-top: 9px;
}
.pos-payment-actions .pos-primary-button:disabled {
  background: #aeb8b3;
  cursor: not-allowed;
}

@media (max-width:700px) {
  .pos-guest-stepper {
    grid-template-columns: auto 46px 34px 46px;
  }
  .pos-guest-stepper button {
    width: 46px;
    height: 46px;
  }
  .pos-checkout-controls,
  .pos-fiscal-grid {
    grid-template-columns: 1fr;
  }
  .pos-tender-builder .pos-payment-methods {
    grid-template-columns: repeat(2,1fr);
  }
}

/* Split billing keeps setup compact and confirmation anchored outside the moving board. */
.pos-split-shell {
  display: flex;
  height: min(94vh, 880px);
  height: min(94dvh, 880px);
  flex-direction: column;
}
.pos-split-shell > header {
  flex: 0 0 auto;
}
#pos-split-body {
  display: flex;
  flex: 1 1 auto;
  min-height: 0;
  flex-direction: column;
  overflow: hidden;
}
.pos-split-shell.is-setup {
  width: min(92vw, 520px);
  min-width: 0;
  height: auto;
  max-height: min(92vh, 640px);
  max-height: min(92dvh, 640px);
  overflow: auto;
}
.pos-split-shell.is-setup > header {
  position: relative;
  justify-content: center;
  padding: 23px 54px 16px;
  text-align: center;
}
.pos-split-shell.is-setup > header > div {
  min-width: 0;
}
.pos-split-shell.is-setup > header .pos-dialog-close {
  position: absolute;
  top: 14px;
  right: 16px;
}
.pos-split-shell.is-setup #pos-split-body {
  display: block;
  flex: none;
  overflow: auto;
}
.pos-split-setup {
  box-sizing: border-box;
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
  padding: 23px 32px 30px;
  justify-items: stretch;
  text-align: center;
}
.pos-split-setup > p {
  max-width: 46ch;
  margin-right: auto;
  margin-left: auto;
}
.pos-split-count-field {
  display: grid;
  justify-items: center;
  gap: 8px;
}
.pos-split-count-field > span {
  color: #536a66;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.pos-split-count-field > small {
  color: #7a8985;
  font-size: 10px;
}
.pos-split-count-stepper {
  display: grid;
  grid-template-columns: 60px 82px 60px;
  overflow: hidden;
  border: 1px solid #bdcec5;
  border-radius: 12px;
  background: var(--surface);
  box-shadow: 0 6px 15px rgba(20,61,57,.07);
}
.pos-split-count-stepper button,
.pos-split-count-stepper output {
  display: grid;
  place-items: center;
  min-width: 0;
  height: 60px;
  box-sizing: border-box;
}
.pos-split-count-stepper button {
  padding: 0;
  border: 0;
  background: #e8f2ed;
  color: #145b5b;
  font: 800 30px/1 var(--font-body);
  cursor: pointer;
  touch-action: manipulation;
}
.pos-split-count-stepper button:hover:not(:disabled) {
  background: #d8ebe2;
}
.pos-split-count-stepper button:active:not(:disabled) {
  background: #c9e0d5;
}
.pos-split-count-stepper button:focus-visible {
  position: relative;
  z-index: 1;
  outline: 3px solid var(--accent);
  outline-offset: -3px;
}
.pos-split-count-stepper button:disabled {
  color: #9ca9a4;
  background: #f1f3ee;
  cursor: not-allowed;
}
.pos-split-count-stepper output {
  border-right: 1px solid #bdcec5;
  border-left: 1px solid #bdcec5;
  color: #153f44;
  font: 900 24px/1 var(--font-body);
  font-variant-numeric: tabular-nums;
}
.pos-split-setup > .pos-primary-button {
  width: min(100%, 320px);
  min-height: 54px;
  justify-self: center;
}
.pos-split-instructions {
  flex: 0 0 auto;
}
.pos-split-board {
  display: grid;
  flex: 1 1 auto;
  grid-auto-columns: minmax(210px, 1fr);
  grid-auto-flow: column;
  grid-template-rows: minmax(0, 1fr);
  min-height: 0;
  max-height: none;
  box-sizing: border-box;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior: contain;
  scroll-padding: 16px;
  scroll-snap-type: x proximity;
}
.pos-split-column {
  display: flex;
  width: auto;
  height: 100%;
  min-height: 0;
  box-sizing: border-box;
  flex-direction: column;
}
.pos-split-column > header {
  flex: 0 0 auto;
}
.pos-split-dropzone {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.pos-split-footer {
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
  min-height: 72px;
  box-sizing: border-box;
  padding-bottom: max(12px, env(safe-area-inset-bottom));
  background: var(--surface);
  box-shadow: 0 -9px 20px rgba(18,53,49,.08);
}
.pos-split-footer .pos-split-confirm {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 180px;
}
.pos-split-confirm > span[aria-hidden="true"] {
  font-size: 16px;
}

@media (max-width:700px) {
  .pos-split-shell {
    width: calc(100vw - 12px);
    height: calc(100vh - 12px);
    height: calc(100dvh - 12px);
    max-height: calc(100vh - 12px);
    max-height: calc(100dvh - 12px);
  }
  .pos-split-shell.is-setup {
    width: min(calc(100vw - 24px), 480px);
    height: auto;
    max-height: calc(100vh - 24px);
    max-height: calc(100dvh - 24px);
  }
  .pos-split-shell.is-setup > header {
    padding: 19px 48px 13px;
  }
  .pos-split-setup {
    padding: 20px 20px 24px;
  }
  .pos-split-count-stepper {
    grid-template-columns: 56px 74px 56px;
  }
  .pos-split-count-stepper button,
  .pos-split-count-stepper output {
    height: 56px;
  }
  .pos-split-instructions {
    gap: 4px;
    padding: 10px 12px;
  }
  .pos-split-instructions p {
    font-size: 10px;
  }
  .pos-split-board {
    grid-auto-columns: min(78vw, 300px);
    gap: 10px;
    padding: 10px;
    scroll-padding: 10px;
    scroll-snap-type: x mandatory;
  }
  .pos-split-column {
    min-height: 0;
  }
  .pos-split-footer {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
    gap: 8px;
    padding: 9px 10px max(9px, env(safe-area-inset-bottom));
  }
  .pos-split-footer > span {
    grid-column: 1 / -1;
    width: auto;
    margin: 0;
  }
  .pos-split-footer button,
  .pos-split-footer .pos-primary-button {
    width: 100%;
    min-width: 0;
    min-height: 48px;
  }
}

@media (max-height:480px) {
  .pos-split-shell.is-setup > header,
  .pos-split-shell:not(.is-setup) > header {
    padding: 12px 48px 9px;
  }
  .pos-split-shell > header .eyebrow,
  .pos-split-setup > p,
  .pos-split-instructions > p {
    display: none;
  }
  .pos-split-shell > header h2 {
    font-size: 22px;
  }
  .pos-split-setup {
    gap: 10px;
    padding: 12px 20px 16px;
  }
  .pos-split-count-stepper {
    grid-template-columns: 48px 66px 48px;
  }
  .pos-split-count-stepper button,
  .pos-split-count-stepper output {
    height: 48px;
  }
  .pos-split-setup > .pos-primary-button {
    min-height: 48px;
  }
  .pos-split-instructions {
    padding: 8px 12px;
  }
  .pos-split-footer {
    min-height: 64px;
    padding-top: 8px;
    padding-bottom: max(8px, env(safe-area-inset-bottom));
  }
}

/* Owner-dashboard blues now carry the POS shell, primary actions, and sign-in experience. */
.pos-primary-button,
.pos-settle-button,
.pos-menu-view-button--primary,
.pos-inline-menu-tab.active:not(.pos-popular-tab),
.pos-split-tab-nav button.active {
  border-color: var(--pos-blue);
  background: var(--pos-blue);
  color: #f7f9fc;
}
.pos-primary-button:hover:not(:disabled),
.pos-settle-button:hover:not(:disabled),
.pos-menu-view-button--primary:hover,
.pos-inline-menu-tab.active:not(.pos-popular-tab):hover,
.pos-split-tab-nav button.active:hover {
  border-color: var(--pos-blue-hover);
  background: var(--pos-blue-hover);
  color: #f7f9fc;
}
.pos-open-orders-button,
.pos-menu-view-button:not(.pos-menu-view-button--primary),
.pos-action-outline,
.pos-table-actions-button {
  border-color: var(--pos-blue-line);
  color: var(--pos-blue);
}
.pos-open-orders-button:hover,
.pos-menu-view-button:not(.pos-menu-view-button--primary):hover,
.pos-action-outline:hover,
.pos-table-actions-button:hover {
  border-color: var(--pos-blue);
  background: var(--pos-blue-wash);
  color: var(--pos-blue-hover);
}
.pos-payment-methods button.active {
  border-color: var(--pos-blue);
  background: var(--pos-blue-wash);
  color: var(--pos-navy);
}
.pos-table.occupied {
  border-color: var(--pos-blue);
  background: var(--pos-blue-wash);
  background: color-mix(in oklch, var(--pos-blue) 13%, #f7f9fc);
  color: var(--pos-navy);
  box-shadow: 0 4px 0 color-mix(in oklch, var(--pos-blue) 18%, transparent), 0 8px 14px rgba(9, 43, 74, .1);
}
.pos-open-order:hover,
.pos-open-order.is-current {
  border-color: var(--pos-blue);
  background: var(--pos-blue-wash);
  box-shadow: 0 5px 14px rgba(9, 43, 74, .1);
}

.pos-login-dialog {
  border: 1px solid rgba(247, 249, 252, .18);
  background: var(--pos-navy);
  color: #f7f9fc;
  box-shadow: 0 24px 80px rgba(3, 19, 34, .42);
}
.pos-login-dialog::backdrop {
  background: rgba(5, 29, 37, .57);
  backdrop-filter: blur(2px);
}
.pos-login-card {
  background: var(--pos-navy);
}
.pos-login-logo img {
  filter: grayscale(1) saturate(0) contrast(1.28);
}
.pos-login-card .eyebrow,
.pos-login-card .pos-user-dropdown > span,
.pos-login-card .pos-field > span {
  color: #b6cff1;
}
.pos-login-card h2 {
  color: #f7f9fc;
}
.pos-login-copy {
  color: #d3e0ed;
}
.pos-login-card .pos-demo-help {
  color: #afc4d9;
}
.pos-login-card .pos-dialog-close {
  background: rgba(247, 249, 252, .12);
  color: #f7f9fc;
}
.pos-login-card .pos-dialog-close:hover {
  background: rgba(247, 249, 252, .2);
}
.pos-login-card .pos-user-dropdown select,
.pos-login-card .pos-field input,
.pos-login-card .pos-pin-keypad button {
  border-color: #a9c3e7;
  background: #f7f9fc;
  color: var(--pos-navy);
}
.pos-login-card .pos-user-dropdown select:focus,
.pos-login-card .pos-field input:focus {
  border-color: #79a7e2;
  box-shadow: 0 0 0 3px rgba(182, 207, 241, .24);
}
.pos-login-card .pos-pin-keypad button:hover {
  border-color: #79a7e2;
  background: var(--pos-blue-wash);
  color: var(--pos-blue-hover);
}
.pos-login-card .pos-pin-keypad button:active {
  background: #ccdcf2;
}
.pos-login-mode-actions {
  display: flex;
  justify-content: center;
  max-width: 300px;
  margin: 0 auto;
}
.pos-login-mode-actions [hidden] {
  display: none;
}
.pos-checkout-button,
.pos-checkout-cancel {
  display: inline-flex;
  min-width: 148px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 8px 16px;
  color: #f7f9fc;
  font: 800 12px/1 var(--font-body);
  cursor: pointer;
}
.pos-checkout-button {
  border-color: #d6535e;
  background: #b42332;
}
.pos-checkout-button:hover:not(:disabled) {
  border-color: #ee7b83;
  background: #921b29;
}
.pos-checkout-cancel {
  border-color: #a9c3e7;
  background: rgba(247, 249, 252, .1);
}
.pos-checkout-cancel:hover:not(:disabled) {
  background: rgba(247, 249, 252, .2);
}
.pos-checkout-button:focus-visible,
.pos-checkout-cancel:focus-visible {
  outline: 3px solid #f3c969;
  outline-offset: 3px;
}
.pos-checkout-button:disabled,
.pos-checkout-cancel:disabled {
  opacity: .58;
  cursor: wait;
}
.pos-login-feedback {
  min-height: 16px;
  max-width: 300px;
  margin: 7px auto 0;
  color: #d3e0ed;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.35;
}
.pos-login-feedback[data-tone="error"] {
  color: #ffb7bd;
}
.pos-login-feedback[data-tone="success"] {
  color: #b8f0d2;
}

@media (max-height:480px) and (min-width:600px) {
  .pos-login-dialog {
    width: min(calc(100vw - 24px), 720px);
  }
  .pos-login-card {
    display: grid;
    grid-template-columns: minmax(180px, .72fr) minmax(300px, 1fr);
    grid-template-areas:
      "logo form"
      "kicker form"
      "title form"
      "copy form";
    column-gap: 30px;
    align-items: center;
    max-height: none;
    padding: 16px 26px;
    overflow: visible;
    text-align: left;
  }
  .pos-login-logo {
    grid-area: logo;
    width: 118px;
    height: 59px;
    margin: 0 0 5px;
  }
  .pos-login-card > .eyebrow {
    grid-area: kicker;
    margin: 0 0 4px;
  }
  .pos-login-card > h2 {
    grid-area: title;
    margin: 0 0 5px;
  }
  .pos-login-card > .pos-login-copy {
    grid-area: copy;
    max-width: 24ch;
  }
  .pos-login-card > #pos-login-form {
    grid-area: form;
    min-width: 0;
  }
  .pos-login-mode-actions,
  .pos-login-feedback {
    max-width: none;
  }
  .pos-login-card .pos-pin-keypad button {
    min-height: 44px;
  }
  .pos-login-card .pos-demo-help {
    display: none;
  }
}
