.summary{padding:16px;background:var(--surface,#f4f4f4);border-radius:24px;margin-block:12px;color:inherit;min-width:0}
.service-sheet{position:fixed;inset:0;z-index:80;height:100dvh;min-height:0;padding:8px 12px 12px;background:var(--background);visibility:hidden;overflow:hidden}
.service-guide{z-index:100}
.menu-app.bill-food-preview .grid-controls{display:grid;grid-template-columns:64px minmax(0,1fr);gap:8px;direction:ltr}
.bill-grid-sections{display:flex;flex-direction:column;align-self:center;gap:4px;padding:4px;border-radius:16px;background:var(--customer-control-fill);box-shadow:var(--customer-control-rim);outline:1px solid var(--customer-control-edge);outline-offset:-1px}
.bill-grid-sections button{min-height:36px;width:100%;padding:5px 2px;border:0;border-radius:12px;background:transparent;color:var(--foreground);font:inherit;font-size:10px;line-height:1.4;white-space:normal}
.bill-grid-sections button[aria-pressed=true]{background:var(--customer-button-fill);color:var(--inverse)}
@media(max-width:360px),(max-height:520px) and (min-aspect-ratio:6/5){.menu-app.bill-food-preview .grid-controls{grid-template-columns:54px minmax(0,1fr);gap:6px}.bill-grid-sections{padding:3px}.bill-grid-sections button{font-size:9px;min-height:32px}}
.service-action[data-complete=true]{background:#396b80}
.service-shell{height:100%;max-width:600px;margin:auto;display:flex;flex-direction:column;gap:8px;min-height:0}
.service-shell>.menu-heading,.service-shell>.toolbar-frame{flex:none}
.service-content{flex:1;min-height:0;overflow:hidden}
.service-panel{height:100%;overflow:hidden;display:flex;flex-direction:column;gap:12px;padding:8px 0}
.service-sheet .service-panel[data-panel=preorder]{padding-inline:5px}
.service-panel[hidden],.service-sheet [hidden]{display:none!important}
.service-panel h2{font-size:23px;line-height:1.5;margin:0}
.service-panel>p{font-size:13px;line-height:1.7;margin:0}
.service-lines{list-style:none;padding:0;margin:0;display:grid;gap:8px}
.service-lines>li{display:grid;grid-template-columns:42px minmax(0,1fr) auto;gap:8px;align-items:center;background:var(--surface);border-radius:14px;padding:8px;font-size:13px}
.service-lines img{width:42px;height:42px;border-radius:10px;object-fit:cover}
.service-lines .itemName{font-size:13px}
.service-lines .itemName small{display:block;font-size:11px;color:var(--muted);margin-top:4px}
.service-total{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 0;border-top:1px solid var(--line);font-size:14px}
.service-total bdi{font-size:22px;font-weight:600}
.service-action{min-height:48px;padding:12px 18px;border:0;border-radius:24px;background:var(--customer-button-fill);color:var(--inverse);font:inherit;font-size:14px;font-weight:600;line-height:1.5;display:flex;justify-content:space-between;align-items:center;gap:8px}
.service-action.secondary{background:var(--customer-control-fill);color:var(--foreground);border:1px solid var(--line)}
.service-action[data-emphasis=true]{outline:2px solid var(--customer-button-fill);outline-offset:3px}
.service-sheet .service-note{font-size:11px;line-height:1.6;color:var(--muted);margin:0}
.service-role{width:fit-content;border-radius:20px;padding:5px 10px;background:var(--soft);color:var(--customer-button-fill);font-size:12px}
.bill-people{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;flex:none}
.bill-person{padding:5px 2px;border:1px solid var(--line);border-radius:14px;background:var(--surface);color:var(--foreground);display:flex;justify-content:center;align-items:center;gap:4px;font-size:10px;min-height:36px}
.bill-person b{display:grid;place-items:center;flex:none;width:20px;height:20px;border-radius:50%;background:var(--guest-color);color:white;font-size:12px}
.bill-person[aria-pressed=true]{border-color:var(--guest-color);box-shadow:inset 0 0 0 1px var(--guest-color)}
.service-sheet .bill-summary{margin:0;padding:12px;overflow:hidden}
.bill-owner{font-size:11px;color:var(--muted);display:block}
.service-sheet .bill-personal{margin-block:10px}
.service-sheet .bill-person-order{border-inline-start:0;padding:8px;background:var(--background)}
.service-sheet .bill-person-order::before{display:none}
.service-sheet .bill-everyone h4{font-size:13px;margin:10px 0}
.service-sheet .guest{padding:9px 0}
.service-sheet .guestCopy strong,.service-sheet .guestAmount{font-size:13px}
.service-sheet .guestCopy small{font-size:10px}
.service-sheet .guestCount{width:26px;height:26px;font-size:12px}
.service-sheet .customerTotals>div{padding-block:8px;font-size:13px}
.service-sheet .customerTotals dd{font-size:21px}
.service-sheet .personal-total{border-inline-start:3px solid var(--guest-color,#b94a36);padding-inline-start:8px}
.qr-panel{align-items:center;text-align:center}
.demo-qr{position:relative;width:min(230px,66vw,40dvh);aspect-ratio:1;flex:none;background:#fff9f4;border:1px solid var(--line);border-radius:20px;overflow:hidden}
.demo-qr img{width:100%;height:100%;display:block}
.qr-scan{position:absolute;inset-inline:10%;height:2px;top:calc(12% + var(--scan-progress,0)*76%);background:var(--customer-button-fill);box-shadow:0 0 8px #bf3c2666}
.qr-state{font-size:14px;color:var(--customer-button-fill)}
.demo-fields{display:grid;gap:10px}
.demo-fields label{display:grid;gap:5px;font-size:13px;font-weight:600}
.demo-fields input,.demo-fields select{width:100%;min-width:0;min-height:42px;border:1px solid var(--line);border-radius:12px;padding:9px 12px;background:var(--surface);color:var(--foreground);font:inherit;opacity:1;-webkit-text-fill-color:var(--foreground)}
.demo-fields [data-emphasis=true]{outline:2px solid var(--blue,#396b80);outline-offset:2px}
.demo-order-progress{display:flex;gap:6px;list-style:none;margin:0;padding:0}
.demo-order-progress li{flex:1;border-top:3px solid var(--line);padding-top:8px;font-size:11px;line-height:1.5}
.demo-order-progress .is-current{border-color:var(--customer-button-fill);color:var(--customer-button-fill)}
@media(max-height:650px){.service-panel{gap:8px}.service-panel h2{font-size:20px}.service-sheet .summary{padding:10px}.service-sheet .summary h3{font-size:15px}.service-sheet .customerTotals{margin-top:6px}.service-sheet .customerTotals>div{padding-block:6px}.service-sheet .service-lines>li{padding:5px;grid-template-columns:32px minmax(0,1fr) auto}.service-lines img{width:32px;height:32px}.service-action{min-height:42px;padding-block:8px}.demo-fields{gap:6px}.demo-fields input,.demo-fields select{min-height:36px;padding-block:5px}}
@media(max-height:520px) and (min-aspect-ratio:6/5){.service-shell{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-rows:44px minmax(0,1fr);gap:8px 16px;max-width:900px}.service-shell>.menu-heading{grid-area:1/1}.service-shell>.toolbar-frame{grid-area:1/2}.service-content{grid-area:2/1/3/3}.service-panel{padding:0;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:6px 16px;align-content:start}.service-panel>h2,.service-panel>.service-role{grid-column:1/-1}.service-panel[data-panel=bill]{display:block}.bill-people{width:48%;margin-bottom:6px}.service-sheet .bill-summary{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:16px;position:relative;height:calc(100% - 42px);overflow:hidden;padding:6px 10px}.bill-summary>header,.bill-summary>.customerTotals{grid-column:1}.bill-summary>.bill-personal,.bill-summary>.bill-everyone{grid-column:2;grid-row:1/4;margin:0}.bill-summary>.service-note{grid-column:1;font-size:9px}.service-sheet .customerTotals>div{padding-block:4px}.service-sheet .customerTotals dd{font-size:18px}.service-sheet .guest{padding:5px 0}.service-sheet .guests{margin-top:4px}.bill-everyone h4{margin:0!important}.service-panel>.service-lines{grid-column:1;grid-row:2/5}.service-panel>.service-total,.service-panel>.service-action{grid-column:2}.service-panel>.service-note{grid-column:2;font-size:10px}.qr-panel{grid-template-columns:1fr 1fr}.qr-panel>h2{grid-column:2}.qr-panel>.demo-qr{grid-column:1;grid-row:1/5;justify-self:center;width:min(210px,65dvh)}.qr-panel>p,.qr-panel>.qr-state{grid-column:2}.service-panel[data-panel=preorder]>.demo-fields{grid-column:1;grid-row:2/6}.demo-fields{grid-template-columns:1fr 1fr;gap:4px}.demo-fields label:last-child{grid-column:1/-1}.service-panel[data-panel=pending]>.service-lines{grid-column:2;grid-row:2/5}.service-panel[data-panel=pending]>p,.service-panel[data-panel=pending]>.service-total,.demo-order-progress{grid-column:1}.demo-fields input,.demo-fields select{min-height:32px}.service-panel h2{font-size:18px}}
.summary header{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin:0}
.summary h3{font-size:17px;margin:0}.summary p{font-size:13px;font-weight:600;line-height:1.7;margin-block:8px}
.status{font-size:13px;font-weight:600;color:var(--muted,#666)}
.overview{display:flex;align-items:baseline;justify-content:space-between;gap:10px;flex-wrap:wrap;padding-top:12px}.overview>span{font-size:13px;font-weight:600}.overview>strong{font-size:24px;line-height:1.5}.overview small{font-size:13px;font-weight:600}
.breakdown{font-size:13px;font-weight:600;margin-top:4px}.breakdown>summary{cursor:pointer;min-height:44px;padding-block:10px;color:var(--muted,#666)}
.summary dl{margin:0;display:grid;gap:8px}.summary dl>div{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:13px}.summary dd{margin:0;font-weight:600;font-variant-numeric:tabular-nums}
.summary .customerTotals{margin-top:12px;gap:0}.summary .customerTotals>div{align-items:baseline;padding-block:10px;font-size:15px;font-weight:600}.customerTotals>div+div{border-top:1px solid var(--line,#ddd)}.customerTotals dd{font-size:22px;overflow-wrap:anywhere}.customerTotals small{font-size:12px;font-weight:600}
.customer{margin-block:8px;direction:var(--reading-direction,ltr)}.customer>p{font-size:13px;font-weight:600;line-height:1.7;color:var(--muted,#666)}
.customerHeading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 8px}.customerHeading h3{font-size:17px;margin:0}.customerHeading button{border:1px solid var(--line,#e5e5e5);background:var(--customer-control-fill,#f4f4f4);box-shadow:var(--customer-control-rim,0 2px 3px #0001);color:inherit;border-radius:99px;min-height:44px;padding:8px 16px;font:inherit;font-size:13px;font-weight:600}
.empty{background:var(--surface,#f4f4f4);padding:20px;border-radius:18px;text-align:center}
.accounts{display:grid;gap:12px;margin-top:16px}.account{background:var(--background,#fff);border-radius:18px;padding:14px;min-width:0}.account h4{font-size:15px;margin:0}.account header>bdi{font-size:14px;font-weight:700}
.guests{list-style:none;padding:0;margin:12px 0 0}.guest{padding:14px 0;border-top:1px solid var(--line,#ddd);min-width:0}.guest:last-child{padding-bottom:0}
.guestHeading{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.guestCount{width:34px;height:34px;flex:none;display:grid;place-items:center;border:3px solid var(--guest-color);border-radius:50%;background:var(--background,#fff);color:var(--foreground,#202322);font-size:15px;font-weight:700;font-variant-numeric:tabular-nums}.guestCopy{display:grid;gap:3px;min-width:0;flex:1}.guestCopy strong{font-size:16px;overflow-wrap:anywhere}.guestCopy small{font-size:13px;font-weight:600;color:var(--muted,#666)}.guestAmount{font-size:16px;overflow-wrap:anywhere}.guestAmount small{font-size:12px;font-weight:600}
.orderDetails{display:grid;gap:8px;margin-top:8px}.order{min-width:0;background:var(--surface,#f4f4f4);border-radius:12px;padding:10px}.orderHeading{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;font-size:13px;font-weight:700;margin-bottom:8px}.orderLines{list-style:none;padding:0;margin:0;display:grid;gap:10px}.orderLines>li{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:start;gap:8px;font-size:14px;font-weight:600}.itemQuantity{font-size:13px;line-height:1.7}.itemName{min-width:0;overflow-wrap:anywhere}.itemName small{display:block;font-size:13px;font-weight:600;line-height:1.6;color:var(--muted,#666)}.itemAmount{font-size:13px;text-align:end;line-height:1.7}.orderService{display:flex;justify-content:space-between;gap:8px;color:var(--muted,#666)}
.own{margin-top:12px;background:var(--surface,#f4f4f4);border-radius:18px;padding:0 14px}.own>summary{min-height:48px;padding:14px 0;font-size:14px;font-weight:700;cursor:pointer}.own[open]{padding-bottom:14px}.own article+article{margin-top:16px}
@media(max-width:360px){.summary{padding:12px}.account{padding:10px}.guestAmount{width:100%;padding-inline-start:43px}.orderLines>li{grid-template-columns:auto minmax(0,1fr)}.itemAmount{grid-column:2;text-align:start}.overview>strong{font-size:22px}}
.guests{position:relative;padding-inline-start:14px;border-inline-start:2px solid var(--line,#ddd);margin-inline-start:2px}
.guest{position:relative;border-top:0;padding-top:12px;padding-bottom:18px}
.guest::before{content:'';position:absolute;inset-inline-start:-16px;top:0;width:16px;height:29px;border-inline-start:2px solid var(--guest-color);border-bottom:2px solid var(--guest-color);border-end-start-radius:12px}
.guestHeading{align-items:flex-start}.guestCount{position:relative;z-index:1}
.orderDetails{position:relative;border-inline-start:2px solid var(--guest-color);margin-inline-start:16px;padding-inline-start:12px;margin-top:10px}
.order{position:relative}.order::before{content:'';position:absolute;inset-inline-start:-14px;top:20px;width:14px;border-top:2px solid var(--guest-color)}

.guestDots{display:flex;flex-wrap:wrap;gap:4px;width:32px;flex:0 0 32px;position:relative;z-index:1;padding-top:8px}.guestDots>span{display:block;width:9px;height:9px;border-radius:50%;background:var(--guest-color);flex:none}
.orderTime{margin:6px 0 12px;font-size:.8rem;color:#686868;overflow-wrap:anywhere}
.service-sheet .customerTotals>div{flex-wrap:nowrap;align-items:center;gap:8px}
.service-sheet .customerTotals dt{min-width:0;flex:1}
.service-sheet .customerTotals dd{flex:none}
.service-sheet .guestAmount{width:auto;padding-inline-start:0;flex:none}
.service-sheet .service-lines .itemAmount{grid-column:auto;text-align:end}
@media(max-height:650px){.service-sheet .customerTotals>div{padding-block:6px;font-size:13px}.service-sheet .customerTotals dd{font-size:18px}.service-sheet .bill-everyone h4{margin:8px 0;font-size:12px}.service-sheet .guests{margin-top:6px}.service-sheet .guest{padding:6px 0}.service-sheet .guestHeading{gap:6px;flex-wrap:nowrap}.service-sheet .guestCopy{gap:1px}.service-sheet .guestCopy strong,.service-sheet .guestAmount{font-size:12px}.service-sheet .bill-personal{margin-block:6px}.service-sheet .service-lines{gap:6px}}
@media(max-height:520px) and (min-aspect-ratio:6/5){.service-sheet .bill-summary{grid-template-rows:auto 1fr auto}.service-sheet .bill-everyone h4{margin:0}.service-sheet .guest{padding:3px 0}.service-sheet .guestCopy small{font-size:9px}.service-sheet .guestCount{width:22px;height:22px}.service-sheet .customerTotals>div{padding-block:3px}.service-panel[data-panel=waiter]>.service-role{grid-area:1/1}.service-panel[data-panel=waiter]>h2{grid-area:1/2}.service-panel[data-panel=waiter]>.service-lines{grid-area:2/1/5/2}.service-panel[data-panel=waiter]>.service-total{grid-area:2/2;padding:6px 0}.service-panel[data-panel=waiter]>.service-action{grid-area:3/2}.service-panel[data-panel=waiter]>.service-note{grid-area:4/2}.service-panel[data-panel=pending]>.service-role{grid-area:1/2}.service-panel[data-panel=pending]>h2{grid-area:1/1}.service-panel[data-panel=pending]>.demo-order-progress{grid-area:2/1}.service-panel[data-panel=pending]>p:not(.service-note){grid-area:3/1;font-size:11px}.service-panel[data-panel=pending]>.service-total{grid-area:4/1;padding:4px 0;font-size:12px}.service-panel[data-panel=pending]>.service-note{grid-area:5/1;font-size:9px}.service-panel[data-panel=pending]>.service-lines{grid-area:2/2/6/3}.service-panel[data-panel=pending] .demo-order-progress li{font-size:9px;padding-top:4px}}
