/* Blink Till on the counter iPad: the staff workspace and the owner's view. */
.tablet{--st-ink:#16181a;--st-muted:#6d6a64;--st-paper:#f3f1ec;--st-line:#e3dfd6;--st-orange:#ff5a1f;flex:1;min-height:0;display:flex;padding:11px;border-radius:30px;background:#1d2021;box-shadow:0 20px 50px #1d18122b,inset 0 0 0 1px #ffffff14}
.tablet-glass{flex:1;min-width:0;min-height:0;display:flex;flex-direction:column;border-radius:20px;overflow:hidden;background:var(--st-paper);color:var(--st-ink);font-family:var(--body)}
.staff-bar{display:flex;align-items:center;gap:10px;padding:11px 14px;border-bottom:1px solid var(--st-line);background:#f7f5f0;flex-shrink:0}
.st-venue{display:flex;align-items:center;gap:9px;flex:1;min-width:0}.st-venue img{width:34px;height:34px;border-radius:9px}
.st-venue strong{display:block;font:700 14px var(--display)}.st-venue small{display:block;font-size:11px;color:var(--st-muted)}
.st-clock{font:600 12px var(--display);color:var(--st-muted)}
.st-role{display:flex;flex-direction:column;align-items:flex-end;padding:5px 12px;border-radius:14px;background:#fff;box-shadow:inset 0 0 0 1px var(--st-line)}
.st-role strong{font-size:12px}.st-role small{font-size:10px;color:var(--st-muted)}
.staff-screen{flex:1;min-height:0;overflow-y:auto;padding:14px 16px 18px;outline:none;scrollbar-width:thin}
.staff-screen[dir=rtl]{font-family:'IBM Plex Sans Arabic',var(--body)}
.st-title{font:700 22px/1.15 var(--display);letter-spacing:-.4px;margin:2px 0 3px}
[dir=rtl] .st-title{font-family:'IBM Plex Sans Arabic',sans-serif;letter-spacing:0}
.st-sub{font-size:12px;line-height:1.5;color:var(--st-muted);margin:0 0 10px}
.st-h3{font:700 16px var(--display);margin:14px 0 4px}
.st-label{font:700 10px var(--body);letter-spacing:1.4px;color:var(--st-muted);margin:16px 2px 7px}
.st-group{border-radius:18px;background:#fffdf9;box-shadow:inset 0 0 0 1px var(--st-line);overflow:hidden}
.st-row{width:100%;display:flex;align-items:center;gap:11px;padding:12px 13px;background:none;color:inherit;text-align:start;border-bottom:1px solid var(--st-line)}
.st-row:last-child{border-bottom:0}.st-row:disabled{opacity:.5}
.st-row>span:nth-child(2){flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.st-row strong{font:700 13.5px var(--body)}.st-row small{font-size:11.5px;color:var(--st-muted)}
.st-row>.ui-icon{width:17px;color:var(--st-muted)}
.st-row-icon{width:38px;height:38px;border-radius:11px;display:grid;place-content:center;background:#efece5;flex-shrink:0}.st-row-icon .ui-icon{width:18px}
.st-row.static{justify-content:space-between}
.st-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;border-radius:18px;overflow:hidden;background:var(--st-line);box-shadow:inset 0 0 0 1px var(--st-line)}
.st-stat{background:#fffdf9;padding:12px;display:flex;flex-direction:column;gap:2px}
.st-stat b{font:700 22px var(--display)}.st-stat span{font:600 12px var(--body)}.st-stat small{font-size:10.5px;color:var(--st-muted)}.st-stat small.up{color:#1c8a4a}
.st-link-row{width:100%;display:flex;justify-content:space-between;align-items:center;padding:12px 14px;margin-top:8px;border-radius:16px;background:#fffdf9;box-shadow:inset 0 0 0 1px var(--st-line);font:600 12.5px var(--body);color:var(--st-ink)}
.st-foot{font-size:10.5px;color:var(--st-muted);margin:14px 2px 0;line-height:1.5}
.st-member-head{display:flex;justify-content:space-between;gap:10px}
.st-close{width:38px;height:38px;border-radius:50%;display:grid;place-content:center;background:#fff;box-shadow:inset 0 0 0 1px var(--st-line);color:var(--st-ink);flex-shrink:0}.st-close .ui-icon{width:16px}
.st-card{padding:12px 14px;border-radius:18px;background:#fffdf9;box-shadow:inset 0 0 0 1px var(--st-line);margin:8px 0;display:flex;flex-direction:column;gap:3px}
.st-card .st-label{margin:2px 0 4px}
.st-balance{display:flex;align-items:baseline;gap:8px;margin:0;font:600 13px var(--body);color:var(--st-muted)}.st-balance b{font:700 34px var(--display);color:var(--st-ink)}.st-balance small{margin-inline-start:8px;font-size:12px}
.st-dots{display:flex;gap:6px;flex-wrap:wrap;margin:4px 0}
.st-dot{width:28px;height:28px;border-radius:50%;display:grid;place-content:center;border:2px dashed #cfc9be;color:#fff}
.st-dot.on{border:0;background:var(--st-orange)}.st-dot.gift{border:2px solid var(--st-orange);color:var(--st-orange);background:#fff1ea}.st-dot.gift.on{background:var(--st-orange);color:#fff}
.st-dot .ui-icon{width:15px;height:15px}
.st-ready{display:flex;align-items:center;gap:6px;font:700 13px var(--body);color:#e0480f;margin:6px 0 0}.st-ready .ui-icon{width:16px}
.st-next{font:600 12px var(--body);margin:2px 0 0;color:var(--st-ink)}
.st-primary,.st-button{width:100%;display:flex;align-items:center;justify-content:center;gap:8px;padding:14px;border-radius:32px;font:700 14.5px var(--body);margin-top:8px;transition:filter .2s,transform .12s}
.st-primary{background:var(--st-orange);color:#fff;box-shadow:0 8px 18px #ff5a1f40}.st-primary b{font-weight:700;opacity:.85}
.st-button{background:#fffdf9;color:var(--st-ink);box-shadow:inset 0 0 0 1px #d8d3c9}
.st-primary:active,.st-button:active{transform:scale(.98)}.st-button:disabled{opacity:.45}
.st-primary.small,.st-button.small{width:auto;padding:9px 14px;font-size:12.5px;margin:0}
.st-check{font-size:12px;color:var(--st-muted);background:#ebe7df;padding:11px 13px;border-radius:14px;margin:12px 0 0}
.st-history{list-style:none;margin:0;padding:4px 14px;border-radius:18px;background:#fffdf9;box-shadow:inset 0 0 0 1px var(--st-line)}
.st-history li{display:flex;justify-content:space-between;gap:10px;padding:10px 0;border-bottom:1px solid var(--st-line)}.st-history li:last-child{border:0}
.st-history span{display:flex;flex-direction:column;gap:1px}.st-history strong{font:600 13px var(--body)}.st-history small{font-size:11px;color:var(--st-muted)}.st-history b{font:700 13px var(--display)}
.st-receipt{padding:16px 18px;border-radius:20px;background:#141517;color:#fff;margin:8px 0;display:flex;flex-direction:column;gap:4px}
.st-receipt .st-label{color:#a9a69f;margin:0}.st-receipt>b{font:700 30px var(--display);color:var(--st-orange)}.st-receipt>span{font:600 13px var(--body)}
.st-amount{display:flex;align-items:baseline;justify-content:center;gap:8px;padding:12px;border-radius:18px;background:#fffdf9;box-shadow:inset 0 0 0 1px var(--st-line);margin:8px 0}
.st-amount input{width:6ch;min-width:0;border:0;background:none;outline:none;padding:0;margin:0;text-align:center;font:700 36px var(--display);color:var(--st-ink);border-radius:8px}.st-amount span{font:600 13px var(--body);color:var(--st-muted)}
.st-amount:focus-within{box-shadow:0 0 0 2px var(--st-orange)}
.st-chips{display:flex;gap:6px;flex-wrap:wrap}
.st-chips button{flex:1;min-width:58px;padding:11px 6px;border-radius:14px;background:#fffdf9;box-shadow:inset 0 0 0 1px #d8d3c9;font:700 13px var(--display);color:var(--st-ink)}
.st-chips button[aria-pressed=true]{background:var(--st-ink);color:#fff;box-shadow:none}
.st-preview{font:700 18px var(--display);color:#e0480f;margin:12px 2px 0;display:flex;align-items:baseline;gap:8px}.st-preview small{font:500 11.5px var(--body);color:var(--st-muted)}
.st-after{display:flex;justify-content:space-between;align-items:center;padding:13px 16px;border-radius:16px;background:#ebe7df;font:600 13px var(--body)}.st-after b{font:700 22px var(--display)}
.st-find{display:flex;gap:8px;align-items:stretch}
.st-search{flex:1;display:flex;align-items:center;gap:8px;padding:0 13px;border-radius:16px;background:#fffdf9;box-shadow:inset 0 0 0 1px #d8d3c9}
.st-search .ui-icon{width:17px;color:var(--st-muted)}.st-search input{flex:1;min-width:0;border:0;outline:none;background:none;font:500 15px var(--body);padding:13px 0;color:var(--st-ink)}
.st-scan{width:auto;margin:0;padding:0 16px;border-radius:16px}.st-scan .ui-icon{width:18px}
.st-member-row{padding:13px}.st-code{font:700 14px var(--display);letter-spacing:1.5px;padding:8px 10px;border-radius:10px;background:#fff1ea;color:#e0480f}
.st-empty{font-size:12.5px;color:var(--st-muted);padding:14px;border-radius:16px;border:1px dashed #cfc9be;margin:0;line-height:1.5}
.st-hero-card{flex-direction:row;align-items:center;gap:12px}
.st-hero-card>span:nth-child(2){flex:1;display:flex;flex-direction:column;align-items:flex-start;gap:4px}.st-hero-card strong{font:700 15px var(--body)}.st-hero-card small{font-size:12px;color:var(--st-muted)}
.st-thumb{width:46px;height:46px;border-radius:12px;overflow:hidden;background:#efece5;flex-shrink:0;display:block}.st-thumb.big{width:62px;height:62px}
.st-thumb img{width:100%;height:100%;object-fit:cover}.st-letter{width:100%;height:100%;display:grid;place-content:center;font:700 18px var(--display);color:var(--st-muted)}
.st-picker{max-height:240px;overflow-y:auto;border-radius:18px;background:#fffdf9;box-shadow:inset 0 0 0 1px var(--st-line);padding:4px;margin-bottom:6px}
.st-pick{width:100%;display:flex;align-items:center;gap:10px;padding:7px;border-radius:14px;background:none;text-align:start;color:inherit}
.st-pick>span:nth-child(2){flex:1;display:flex;flex-direction:column;gap:1px}.st-pick strong{font:600 13px var(--body)}.st-pick small{font-size:11px;color:var(--st-muted)}
.st-pick.on{background:#fff1ea}.st-pick>.ui-icon{color:#e0480f;width:18px}
.st-chip{display:inline-block;font:700 10.5px var(--body);padding:4px 9px;border-radius:20px;background:#ebe7df;color:var(--st-muted);white-space:nowrap}.st-chip.open{background:#dff2e5;color:#17723c}
.st-menu-card{gap:9px}.st-menu-top{display:flex;justify-content:space-between;align-items:flex-start;gap:10px}
.st-menu-top>span:first-child{display:flex;flex-direction:column;gap:2px}.st-menu-top strong{font:700 15px var(--body)}.st-menu-top small{font-size:11.5px;color:var(--st-muted)}
.st-toggle{display:flex;align-items:center;gap:10px;font:600 13px var(--body);cursor:pointer}
.st-toggle input{position:absolute;opacity:0;pointer-events:none}
.st-toggle span{width:44px;height:26px;border-radius:20px;background:#cfc9be;position:relative;transition:background .2s;flex-shrink:0}
.st-toggle span:after{content:'';position:absolute;left:3px;top:3px;width:20px;height:20px;border-radius:50%;background:#fff;box-shadow:0 2px 4px #0003;transition:transform .2s}
.st-toggle input:checked+span{background:#1c8a4a}.st-toggle input:checked+span:after{transform:translateX(18px)}
.st-toggle input:focus-visible+span{outline:2px solid var(--st-orange);outline-offset:3px}
.st-hours{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.st-hours .st-sub{margin:0;flex-basis:100%}
.st-select{display:flex;align-items:center;gap:6px;font:600 12px var(--body);color:var(--st-muted)}
.st-select select{font:700 14px var(--display);padding:9px 10px;border-radius:12px;border:1px solid #d8d3c9;background:#fff;color:var(--st-ink)}
.st-savebar{position:sticky;bottom:-18px;display:flex;align-items:center;gap:8px;padding:11px 12px;margin:14px -4px 0;border-radius:18px;background:#fffdf9;box-shadow:0 -6px 18px #0000000d,inset 0 0 0 1px var(--st-line)}
.st-savebar>span{flex:1;font:600 12.5px var(--body);color:var(--st-muted)}.st-savebar.dirty>span{color:#e0480f}
.st-insights-head{display:flex;justify-content:space-between;align-items:flex-start;gap:10px}
.st-insight-grid{display:grid;grid-template-columns:1fr;gap:4px}
.st-table{width:100%;border-collapse:separate;border-spacing:0;border-radius:16px;overflow:hidden;background:#fffdf9;box-shadow:inset 0 0 0 1px var(--st-line);font-size:12.5px}
.st-table thead th{background:#efece5;font:700 10px var(--body);letter-spacing:1.2px;color:var(--st-muted);padding:8px 12px;text-align:end}
.st-table tbody th{text-align:start;font:600 13px var(--body);padding:10px 12px;border-top:1px solid var(--st-line)}
.st-table td{text-align:end;padding:10px 12px;border-top:1px solid var(--st-line);color:var(--st-muted)}.st-table td b{font:700 15px var(--display);color:var(--st-ink)}
.st-table .trend{text-align:center;width:30px}.st-table .trend.up{color:#1c8a4a}.st-table .trend.down{color:#c4471c}
.st-best{display:flex;flex-direction:column;align-items:flex-end}.st-best b{font:700 15px var(--display)}.st-best small{font-size:10.5px;color:var(--st-muted)}
.st-code-text{color:#e0480f!important;font:700 12px var(--display)!important;letter-spacing:1.5px}
.staff-nav{display:grid;grid-template-columns:repeat(5,1fr);align-items:end;padding:6px 10px 9px;border-top:1px solid var(--st-line);background:#f7f5f0;flex-shrink:0}
.staff-nav button{display:flex;flex-direction:column;align-items:center;gap:3px;padding:6px 2px;background:none;color:var(--st-muted);font:600 11px var(--body);border-radius:14px}
.staff-nav button[aria-current=page]{color:var(--st-ink)}.staff-nav button[aria-current=page]:not(.st-fab) .ui-icon{background:var(--st-ink);color:#fff;border-radius:10px;padding:3px;width:28px;height:24px}
.staff-nav .ui-icon{width:20px;height:20px}
.st-fab .ui-icon{width:46px;height:46px;padding:12px;border-radius:50%;background:var(--st-orange);color:#fff;box-shadow:0 8px 16px #ff5a1f55;margin-top:-22px}
@media(max-width:800px){.tablet{padding:0;background:none;box-shadow:none}.tablet-glass{border-radius:18px;box-shadow:0 8px 20px #3424160f,inset 0 0 0 1px #00000014}.st-stats{grid-template-columns:repeat(2,1fr)}}
.st-stat-link{position:relative;align-items:flex-start;justify-content:space-between;text-align:start;color:var(--st-ink);border:0}.st-stat-link .ui-icon{position:absolute;top:12px;inset-inline-end:12px;width:18px;color:var(--st-orange)}.st-stat-link b{color:#1c8a4a}
.st-member-head.compact{align-items:center;padding:10px 12px;border-radius:16px;background:#fffdf9;box-shadow:inset 0 0 0 1px var(--st-line)}
.st-member-head.compact span{display:flex;flex-direction:column;gap:1px}.st-member-head.compact strong{font:700 15px var(--display)}.st-member-head.compact small{font-size:12px;color:var(--st-muted)}
.st-member-head.compact .st-close{width:32px;height:32px}

/* Action buttons stay on screen: pinned to the bottom of the screen, clear of the raised Loyalty button. */
.st-actions{position:sticky;bottom:-18px;z-index:5;display:flex;flex-direction:column;gap:8px;margin:10px -16px 0;padding:18px 16px 32px;background:linear-gradient(180deg,#f3f1ec00 0,var(--st-paper) 16px)}
.st-actions .st-primary,.st-actions .st-button{margin-top:0}
.st-primary:disabled{opacity:.45;box-shadow:none}
.st-refusal{margin:2px 2px 0;color:#c4471c;font-size:13px;line-height:1.45}
@media(max-height:900px){.st-card{padding:10px 14px;margin:6px 0}.st-balance b{font-size:30px}.st-label{margin:12px 2px 6px}.st-check{margin-top:8px;padding:9px 12px}.st-dot{width:26px;height:26px}.st-member-head .st-title{font-size:20px}.st-member-head .st-sub{margin-bottom:4px}}
/* Present mode reads from across a counter. */
body.present .st-next,body.present .st-check,body.present .st-sub,body.present .st-stat small,body.present .st-foot,body.present .st-row small,body.present .st-history small{font-size:13px}
body.present .st-label,body.present .st-role small,body.present .st-chip,body.present .st-best small,body.present .st-table thead th,body.present .staff-nav button,body.present .st-venue small,body.present .st-pick small,body.present .st-preview small{font-size:11.5px}
@media(max-width:480px),(max-height:800px){.st-actions{flex-direction:row;margin-top:6px;padding:14px 16px 28px}.st-actions .st-primary{flex:3}.st-actions .st-button{flex:2;padding-inline:8px}.st-actions .st-primary,.st-actions .st-button{padding-block:12px}}

.st-pct{font:700 12px var(--display);color:var(--st-ink)}
.st-row.used{opacity:.62}
.st-row.static .st-button.small{flex-shrink:0;white-space:nowrap}
.st-voucher-chip{display:inline-flex;align-items:center;gap:6px;background:#fff1ea;color:#e0480f;padding:6px 11px;margin-top:2px;font-size:11.5px}.st-voucher-chip .ui-icon{width:14px;height:14px}

/* Menu tab: the real menu editor's rows, with the Available / Sold out switch and a price editor. */
.st-sections{margin:4px 0 0;flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;padding-bottom:2px}.st-sections::-webkit-scrollbar{display:none}.st-sections button{flex:none;min-width:0;padding:9px 13px;font:700 12px var(--body)}
.st-count{font:600 10px var(--body);letter-spacing:0;color:var(--st-muted);margin-inline-start:4px}
.st-item{display:flex;align-items:center;gap:10px;padding:10px 12px;border-bottom:1px solid var(--st-line)}
.st-group>.st-item:last-child,.st-group>.st-edit:last-child{border-bottom:0}
.st-item.off .st-thumb,.st-item.off .st-item-copy{opacity:.55}
.st-item-copy{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.st-item-copy strong{font:700 13.5px var(--body);overflow-wrap:anywhere}
.st-item-copy small{font:700 12px var(--display);color:#e0480f}
.st-item.off .st-item-copy small{color:var(--st-muted)}
.st-item-actions{display:flex;align-items:center;gap:6px;flex-shrink:0}
.st-avail{min-height:38px;padding:0 13px;border-radius:12px;font:700 12.5px var(--body);background:#e8e4dc;color:var(--st-muted);white-space:nowrap}
.st-avail.on{background:#0f9d58;color:#fff}
.st-item-actions .st-button.small{min-height:38px;padding:0 13px}
.st-edit{padding:4px 12px 14px;border-bottom:1px solid var(--st-line);background:#faf7f1}
.st-edit-fields{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:10px}
.st-price{display:flex;flex-direction:column;gap:5px;flex:1;min-width:120px;font:600 11.5px var(--body);color:var(--st-muted)}
.st-price-box{display:flex;align-items:center;gap:8px;padding:0 12px;border-radius:14px;background:#fff;box-shadow:inset 0 0 0 1px #d8d3c9}
.st-price-box:focus-within{box-shadow:0 0 0 2px var(--st-orange)}
.st-price-box input{flex:1;min-width:0;border:0;outline:none;background:none;padding:11px 0;font:700 18px var(--display);color:var(--st-ink)}
.st-price-box b{font:600 12px var(--body);color:var(--st-muted)}
.st-edit-actions{display:flex;gap:8px}.st-edit-actions .st-primary.small{box-shadow:none}
@media(max-width:480px){.staff-nav button{font-size:10.5px;padding-inline:0}.st-item{flex-wrap:wrap}.st-item-copy{flex-basis:calc(100% - 60px)}.st-item-actions{width:100%;justify-content:flex-end}}

/* Confirm a new customer's card. */
.st-newcard{gap:10px;border-radius:18px;margin-top:12px}.st-newcard>strong{font:700 15px var(--body)}.st-newcard>small{font:600 12.5px var(--body);color:#e0480f}
.st-newcard .st-sub{margin:0}.st-newcard .st-price-box input{font:700 20px var(--display);letter-spacing:2px;text-transform:uppercase}
.st-hint{font-size:11px;color:var(--st-muted)}
.st-attest{display:flex;align-items:flex-start;gap:11px;font:600 13px/1.4 var(--body);cursor:pointer;min-height:44px}.st-attest input{width:22px;height:22px;margin:0;accent-color:#e0480f;flex-shrink:0}
.st-row .st-chip{flex-shrink:0}
.st-flow-actions{margin:12px 0 6px}.st-flow-actions .st-primary{margin-top:0}
body.present :is(.st-hint,.st-item-copy small,.st-price,.st-attest,.st-newcard .st-sub){font-size:13px}
