/* Restaurant counter: menu, current order and payment share one desktop view. */
.restaurant-fast-workspace > .pos-heading { gap:12px; margin-bottom:14px; }
.restaurant-fast-workspace > .pos-heading h2 { margin:0; font-size:24px; }
.restaurant-fast-workspace > .pos-heading .eyebrow { font-size:10px; margin:0 0 5px; }
.restaurant-fast-workspace .restaurant-actions { align-items:center;gap:7px; }
.restaurant-fast-workspace > .pos-heading .restaurant-actions button { min-height:42px;font-size:13px;padding:9px 13px; }
.restaurant-counter-tools { position:relative;display:block;color:var(--ink); }
.restaurant-counter-tools > summary { cursor:pointer;border:1px solid var(--line);border-radius:8px;padding:10px 12px;background:var(--surface);font-size:12px;white-space:nowrap; }
.restaurant-counter-tool-list { position:absolute;inset-inline-end:0;top:calc(100% + 5px);width:230px;padding:9px;display:grid;gap:6px;background:var(--surface);border:1px solid var(--line);border-radius:10px;box-shadow:0 8px 28px #18213826;z-index:12; }
.restaurant-counter-tool-list button { text-align:start;width:100%;margin:0!important; }
.restaurant-fast-workspace .restaurant-metrics { gap:10px;margin:14px 0; }
.restaurant-fast-workspace .pos-metric { padding:14px;gap:6px;border-radius:10px; }
.restaurant-fast-workspace .pos-metric strong { font-size:24px; }
.restaurant-fast-workspace .retail-shift-panel { padding:9px 12px;margin:10px 0;gap:10px;border-radius:9px; }
.restaurant-fast-workspace .rs-intro { gap:2px; }
.restaurant-fast-workspace .rs-eyebrow { display:none; }
.restaurant-fast-workspace .rs-intro strong { font-size:13px; }
.restaurant-fast-workspace .rs-intro small { font-size:11px; }
.restaurant-fast-workspace .rs-actions button,.restaurant-fast-workspace .pos-operations-bar button { min-height:32px;font-size:11px;padding:7px 10px; }
.restaurant-fast-workspace .pos-operations-bar { gap:6px;margin:8px 0; }
.restaurant-fast-workspace .restaurant-table-grid { grid-template-columns:repeat(auto-fill,minmax(185px,1fr));gap:12px; }
.restaurant-fast-workspace .restaurant-floor-table { min-height:210px;padding:13px;gap:4px; }
.restaurant-fast-workspace .dining-scene { height:95px;max-width:175px;margin:0 auto; }
.restaurant-fast-workspace .restaurant-floor-table h3 { font-size:17px;margin:4px 0; }
.restaurant-fast-workspace .restaurant-floor-table p { margin:3px 0;font-size:12px; }
.restaurant-fast-workspace .restaurant-floor-table strong { font-size:14px; }
dialog.restaurant-dialog.restaurant-order-fullscreen.restaurant-fast-order { padding:0 16px calc(var(--restaurant-payment-dock-height,90px) + env(safe-area-inset-bottom))!important; }
.restaurant-fast-order > .pos-heading { margin:0 -16px!important;padding:9px 16px!important;gap:14px!important; }
.restaurant-fast-order > .pos-heading h2 { font-size:19px; }
.restaurant-fast-order .restaurant-order-back { min-height:38px;padding:9px 13px!important;font-size:13px!important; }
.restaurant-fast-order .restaurant-counter-shortcuts { margin-inline-start:auto;color:var(--muted);font-size:11px; }
.restaurant-fast-order .restaurant-order-details { margin:0 0 7px;padding:9px 0; }
.restaurant-fast-order .restaurant-order-details > summary { font-size:12px; }
.restaurant-fast-order .restaurant-order-summary { margin:10px 0;gap:8px; }
.restaurant-fast-order .restaurant-order-summary > div { padding:8px; }
.restaurant-fast-order .restaurant-actions { display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin:0; }
.restaurant-fast-order .restaurant-actions > button { min-height:34px;padding:7px 11px;font-size:12px; }
.restaurant-fast-order .restaurant-actions .restaurant-counter-tools { margin-inline-start:auto; }
.restaurant-fast-order .restaurant-order-layout { grid-template-columns:minmax(380px,1fr) minmax(600px,1.22fr);gap:14px;margin-top:10px; }
.restaurant-fast-order .restaurant-menu { padding:12px;border-radius:11px;box-shadow:none;grid-template-columns:110px minmax(0,1fr);gap:9px;margin:0; }
.restaurant-fast-order .restaurant-menu > h3 { font-size:17px; }
.restaurant-fast-order .restaurant-menu > input { min-height:44px;font-size:14px;margin:0;border:2px solid var(--purple); }
.restaurant-fast-order .restaurant-category-list { gap:6px;max-height:calc(100dvh - 320px); }
.restaurant-fast-order .restaurant-category-list button { min-height:40px;padding:8px 9px;font-size:12px;border-radius:7px; }
.restaurant-fast-order .restaurant-menu-grid { grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;min-height:200px;max-height:calc(100dvh - 320px);padding:2px 5px 4px 2px;scrollbar-gutter:stable; }
.restaurant-fast-order .restaurant-menu-item { min-height:95px;padding:11px;gap:8px;border-radius:9px;background:var(--surface);color:var(--ink);border:1px solid var(--line); }
.restaurant-fast-order .restaurant-menu-item:hover { background:var(--surface-soft);border-color:var(--purple); }
.restaurant-fast-order .restaurant-menu-item strong { font-size:13px;line-height:1.3; }
.restaurant-fast-order .restaurant-menu-item small { font-size:11px;line-height:1.4; }
.restaurant-fast-order .restaurant-additions { min-width:0; }
.restaurant-fast-order .restaurant-addition { grid-template-columns:minmax(0,1fr) 65px 70px auto;gap:7px;padding:9px 0; }
.restaurant-fast-order .restaurant-addition input { min-height:34px;font-size:13px; }
.restaurant-fast-order .restaurant-addition > input.restaurant-addition-note { grid-column:1/-1;text-align:start;min-height:34px; }
.restaurant-fast-order .restaurant-addition button { padding:7px 9px;font-size:11px; }
.restaurant-fast-order .restaurant-additions > button { min-height:43px;margin-top:9px;font-size:14px; }
dialog.restaurant-fast-order aside.restaurant-order-aside { position:static;display:grid;grid-template-columns:minmax(0,1fr) minmax(250px,.98fr);gap:8px 12px;padding:0;color:var(--ink);background:transparent;width:auto;height:auto; }
.restaurant-fast-order .restaurant-order-aside > h3 { grid-column:1;font-size:16px;margin:0 0 6px; }
.restaurant-fast-order .restaurant-order-lines { grid-column:1;max-height:calc(100dvh - 395px);min-height:100px;overflow:auto;margin:0;scrollbar-gutter:stable; }
.restaurant-fast-order .restaurant-order-line { gap:5px;padding:9px 0; }
.restaurant-fast-order .restaurant-order-line > strong { flex-basis:100%;min-width:0;font-size:13px; }
.restaurant-fast-order .restaurant-order-line > span { font-size:11px; }
.restaurant-fast-order .restaurant-order-line > small { font-size:10px; }
.restaurant-fast-order .restaurant-order-line button { min-height:30px;min-width:30px;font-size:12px;padding:6px 8px; }
.restaurant-fast-order .restaurant-checkout-panel,.restaurant-fast-order .restaurant-checkout-grid { display:contents; }
.restaurant-fast-order .restaurant-checkout-heading { display:none; }
.restaurant-fast-order .restaurant-bill { grid-column:1;margin:0;padding:10px;border-radius:9px; }
.restaurant-fast-order .restaurant-bill h3 { font-size:13px;margin:0 0 6px; }
.restaurant-fast-order .restaurant-bill .summary-line { margin:0;padding:6px 0;font-size:12px; }
.restaurant-fast-order .restaurant-bill .restaurant-total-row { margin-top:5px;padding-top:9px; }
.restaurant-fast-order .restaurant-total-row strong { font-size:23px; }
.restaurant-fast-order .restaurant-payment-panel { grid-column:2;grid-row:1 / span 4;align-self:start;gap:9px;padding:12px;border-radius:10px; }
.restaurant-fast-order .restaurant-payment-heading h3 { font-size:16px; }
.restaurant-fast-order .restaurant-payment-heading p,.restaurant-fast-order .restaurant-payment-panel > p { font-size:11px;line-height:1.4;margin:0; }
.restaurant-fast-order .restaurant-payment-choices { grid-template-columns:1fr 1fr;gap:6px; }
.restaurant-fast-order .restaurant-payment-choice { min-height:40px;padding:8px;font-size:12px;border-radius:7px; }
.restaurant-fast-order .restaurant-payment-choice.active,.restaurant-fast-order .restaurant-category-list button.active { background:var(--deep);color:#fff;border-color:var(--purple); }
.restaurant-fast-order .restaurant-payment-field { font-size:11px;gap:4px; }
.restaurant-fast-order .restaurant-payment-field input { min-height:42px;font-size:18px;padding:8px 10px; }
.restaurant-fast-order .restaurant-quick-cash { gap:4px; }
.restaurant-fast-order .restaurant-quick-cash button { min-height:31px;padding:5px 7px;font-size:11px; }
.restaurant-fast-order .restaurant-change-display { padding:9px;font-size:14px; }
.restaurant-fast-order .restaurant-draft-notice { padding:8px 10px;font-size:11px; }
.restaurant-fast-order .restaurant-paid-summary { grid-column:2;grid-row:1 / span 3;padding:15px;font-size:16px; }
.restaurant-fast-order .restaurant-payment-dock { padding:10px 16px;gap:18px;box-shadow:0 -3px 16px #30205b0a; }
.restaurant-fast-order .restaurant-payment-dock > button { min-height:48px;min-width:270px;font-size:17px; }
.restaurant-fast-order .restaurant-payment-dock strong { font-size:23px;font-variant-numeric:tabular-nums; }
.restaurant-fast-order .restaurant-payment-dock .error { max-width:55%;font-size:12px;line-height:1.4; }
.restaurant-fast-order .restaurant-audit { margin:12px 0;font-size:11px; }
.restaurant-fast-order :is(button,input,summary):focus-visible,.restaurant-fast-workspace :is(button,summary):focus-visible { outline:3px solid var(--focus);outline-offset:2px; }
@media(min-width:1700px) { .restaurant-fast-order .restaurant-menu-grid { grid-template-columns:repeat(3,minmax(0,1fr)); } }
@media(max-width:1100px) {
 .restaurant-fast-order .restaurant-order-layout { grid-template-columns:minmax(0,1fr) minmax(300px,.85fr); }
 dialog.restaurant-fast-order aside.restaurant-order-aside { display:block; }
 .restaurant-fast-order .restaurant-checkout-panel,.restaurant-fast-order .restaurant-checkout-grid { display:grid;grid-template-columns:1fr;gap:10px;padding:0;border:0;box-shadow:none;background:transparent; }
 .restaurant-fast-order .restaurant-order-lines { max-height:210px; }
 .restaurant-fast-order .restaurant-payment-panel { margin-top:9px; }
}
@media(max-width:760px) {
 .restaurant-fast-workspace > .pos-heading .restaurant-actions { display:flex;flex-wrap:wrap; }
 .restaurant-fast-workspace .restaurant-table-grid { grid-template-columns:repeat(2,minmax(0,1fr));gap:9px; }
 .restaurant-fast-workspace .restaurant-floor-table { min-height:190px;padding:9px; }
 .restaurant-fast-order .restaurant-order-layout { grid-template-columns:1fr; }
 .restaurant-fast-order .restaurant-menu { grid-template-columns:95px minmax(0,1fr);padding:10px; }
 .restaurant-fast-order .restaurant-menu-grid { min-height:150px;max-height:300px; }
 .restaurant-fast-order .restaurant-category-list { max-height:300px; }
 .restaurant-fast-order .restaurant-menu-item { min-height:85px; }
 .restaurant-fast-order .restaurant-counter-shortcuts { display:none; }
 dialog.restaurant-fast-order aside.restaurant-order-aside { display:grid;grid-template-columns:1fr; }
 .restaurant-fast-order .restaurant-order-aside > *, .restaurant-fast-order .restaurant-payment-panel,.restaurant-fast-order .restaurant-bill,.restaurant-fast-order .restaurant-paid-summary { grid-column:1;grid-row:auto; }
 .restaurant-fast-order .restaurant-payment-dock > button { min-width:0;flex:1;min-height:48px;font-size:14px; }
 .restaurant-fast-order .restaurant-payment-dock .error { max-width:none;flex-basis:100%; }
 .restaurant-fast-order .restaurant-addition { grid-template-columns:minmax(0,1fr) 60px auto; }
 .restaurant-fast-order .restaurant-addition > span { display:none; }
 .restaurant-fast-order .restaurant-order-line button { min-height:40px; }
 .restaurant-fast-order .restaurant-order-back { max-width:165px; }
 .restaurant-counter-tool-list { width:210px; }
}
@media(max-width:600px) { .restaurant-fast-order .restaurant-menu-grid { grid-template-columns:1fr; } }
@media(prefers-reduced-motion:reduce) { .restaurant-fast-workspace .restaurant-floor-table { transition:none;transform:none; } }
