:root{--bbb-red:#9f241b;--bbb-red-dark:#7f1d16;--bbb-gold:#c7953c;--bbb-ink:#241713;--bbb-muted:#70685f;--bbb-line:#e6ddd2;--bbb-bg:#f6f2ec;--bbb-green:#176b3a;--bbb-blue:#1d4ed8}
.bbbpos-app,.bbbpos-invoice{max-width:1180px;margin:30px auto;color:var(--bbb-ink);font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif}
.bbbpos-shell{background:linear-gradient(180deg,#faf7f2,#f3eee7);border:1px solid var(--bbb-line);border-radius:24px;padding:24px;box-shadow:0 20px 50px rgba(70,42,20,.08)}
.bbbpos-hero{background:radial-gradient(circle at 90% 0,rgba(217,170,91,.5),transparent 35%),linear-gradient(135deg,#2d1713,#86231b);color:#fff;border-radius:20px;padding:27px;margin-bottom:18px;display:flex;justify-content:space-between;gap:25px;align-items:center}
.bbbpos-hero h1{margin:6px 0 8px;font-size:32px;line-height:1.1}.bbbpos-hero p{margin:0;color:#efd9d3}.bbbpos-eyebrow{font-size:11px;letter-spacing:.12em;font-weight:900;color:var(--bbb-gold)}
.bbbpos-meta{display:grid;grid-template-columns:repeat(2,minmax(120px,1fr));gap:8px;min-width:330px}.bbbpos-meta div{background:rgba(255,255,255,.11);border:1px solid rgba(255,255,255,.13);border-radius:10px;padding:10px}.bbbpos-meta small{display:block;color:#ecd5cf;margin-bottom:3px}
.bbbpos-grid{display:grid;grid-template-columns:1.55fr .8fr;gap:18px}.bbbpos-card{background:#fff;border:1px solid var(--bbb-line);border-radius:17px;padding:18px;margin-bottom:15px;box-shadow:0 12px 30px rgba(60,38,20,.05)}
.bbbpos-card h2,.bbbpos-card h3{margin:0 0 5px}.bbbpos-sub{font-size:13px;color:var(--bbb-muted)}.bbbpos-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px}.bbbpos-actions{display:flex;gap:7px;flex-wrap:wrap}
.bbbpos-btn,.bbbpos-print-actions button{border:0;border-radius:10px;padding:10px 13px;font-weight:900;cursor:pointer;background:var(--bbb-red);color:#fff}.bbbpos-btn:hover,.bbbpos-print-actions button:hover{background:var(--bbb-red-dark)}.bbbpos-btn.secondary{background:#f3ece4;color:#4b433b}.bbbpos-btn.outline{background:#fff;color:#4b433b;border:1px solid var(--bbb-line)}.bbbpos-btn.blue{background:#eaf2ff;color:var(--bbb-blue)}.bbbpos-btn.danger{background:#fff0f0;color:#b91c1c}.bbbpos-btn:disabled{opacity:.45;cursor:not-allowed}
.bbbpos-notice{padding:15px;border-radius:11px;border-left:4px solid var(--bbb-gold);background:#fff8e8;margin:15px 0}.bbbpos-error{border-left-color:#b91c1c;background:#fff0f0}.bbbpos-success{border-left-color:var(--bbb-green);background:#effbf3}
.bbbpos-guest{border:1px solid var(--bbb-line);border-radius:14px;padding:14px;margin-bottom:11px;background:#fffdfa}.bbbpos-guest.locked{background:#f2f0ed}.bbbpos-guest-top{display:flex;justify-content:space-between;gap:10px;align-items:flex-start;margin-bottom:11px}.bbbpos-guest-title{display:flex;gap:7px;align-items:center;flex-wrap:wrap}.bbbpos-status,.bbbpos-free{display:inline-block;border-radius:999px;padding:4px 8px;font-size:11px;font-weight:900;background:#fff1c7;color:#815600}.bbbpos-status.accepted{background:#e8f1ff;color:#1d4ed8}.bbbpos-status.confirmed{background:#e7f7ec;color:#166534}.bbbpos-free{background:#f2eafe;color:#6d28d9;margin-left:6px}
.bbbpos-fields{display:grid;grid-template-columns:1.1fr .9fr 1.2fr 1fr 1fr;gap:9px}.bbbpos-field label{display:block;font-size:12px;font-weight:800;color:#5b544d;margin-bottom:5px}.bbbpos-field input,.bbbpos-field select,.bbbpos-field textarea,.bbbpos-qty input{width:100%;border:1px solid #d9d0c5;border-radius:9px;padding:10px;background:#fff}.bbbpos-field input:disabled,.bbbpos-field select:disabled,.bbbpos-field textarea:disabled{background:#f0eeea;color:#888}.bbbpos-field textarea{min-height:78px}.bbbpos-guest-bottom{display:flex;justify-content:space-between;align-items:center;gap:12px;border-top:1px dashed var(--bbb-line);margin-top:11px;padding-top:11px}.bbbpos-check{display:flex;gap:8px;align-items:center;font-size:13px;font-weight:800}.bbbpos-check input{width:auto}
.bbbpos-addon{display:grid;grid-template-columns:1fr auto auto;gap:12px;align-items:center;border-bottom:1px dashed var(--bbb-line);padding:10px 0}.bbbpos-addon:last-child{border-bottom:0}.bbbpos-qty{display:flex;align-items:center;gap:7px}.bbbpos-qty button{width:30px;height:30px;border-radius:8px;border:1px solid var(--bbb-line);background:#fff;cursor:pointer;font-weight:900}.bbbpos-qty span{min-width:24px;text-align:center;font-weight:900}
.bbbpos-owner-pricing{border:2px solid #d9b367;background:linear-gradient(180deg,#fffaf0,#fff)}.bbbpos-owner-badge{display:inline-flex;padding:4px 8px;border-radius:999px;background:#2d1713;color:#fff;font-size:10px;font-weight:900;letter-spacing:.08em;margin-bottom:9px}.bbbpos-owner-price-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:12px}.bbbpos-summary{position:sticky;top:20px}.bbbpos-sumrow{display:flex;justify-content:space-between;gap:14px;padding:8px 0}.bbbpos-sumrow.grand{border-top:2px solid var(--bbb-ink);font-size:19px;font-weight:900;padding-top:13px;margin-top:6px}.bbbpos-sumrow.balance{background:#fff3d9;border-radius:10px;padding:12px 8px;font-weight:900}.bbbpos-progress{height:9px;background:#eee7df;border-radius:999px;overflow:hidden;margin:10px 0}.bbbpos-progress span{height:100%;display:block;background:linear-gradient(90deg,var(--bbb-gold),var(--bbb-green))}
.bbbpos-loading{text-align:center;padding:60px;border:1px solid var(--bbb-line);border-radius:18px;background:#fff}.bbbpos-link{display:flex;gap:7px}.bbbpos-link input{flex:1;min-width:0;border:1px solid var(--bbb-line);border-radius:8px;padding:8px;font-size:12px;background:#f7f4ef}
.bbbpos-guest-page{max-width:780px;margin:auto}.bbbpos-price-big{font-size:30px;color:var(--bbb-red);font-weight:900}.bbbpos-locked{text-align:center;padding:28px;border:1px dashed #b7c9bc;border-radius:13px;background:#f1faf3}
.bbbpos-invoice{background:#fff;border:1px solid var(--bbb-line);border-radius:20px;padding:28px;box-shadow:0 20px 50px rgba(60,38,20,.08)}.bbbpos-invoice-head{display:flex;justify-content:space-between;gap:20px;border-bottom:2px solid var(--bbb-ink);padding-bottom:15px}.bbbpos-invoice-head h1{margin:3px 0;color:var(--bbb-red)}.bbbpos-invoice-number{text-align:right}.bbbpos-invoice-cols{display:grid;grid-template-columns:1fr 1fr;gap:25px;margin:22px 0}.bbbpos-invoice-cols h3{margin:0 0 7px}.bbbpos-table{width:100%;border-collapse:collapse}.bbbpos-table th,.bbbpos-table td{padding:11px 9px;border-bottom:1px solid var(--bbb-line);text-align:left}.bbbpos-table th{font-size:11px;text-transform:uppercase;color:var(--bbb-muted)}.bbbpos-table small{display:block;color:var(--bbb-muted);margin-top:3px}.bbbpos-totals{max-width:390px;margin:20px 0 0 auto}.bbbpos-totals>div{display:flex;justify-content:space-between;padding:8px}.bbbpos-totals .grand{border-top:2px solid var(--bbb-ink);font-size:19px}.bbbpos-totals .balance{background:linear-gradient(135deg,#d95a52,#b63229);color:#fff;border-radius:9px;font-size:20px;font-weight:900}.bbbpos-tip-section{margin-top:20px}.bbbpos-tip-section h2{text-align:center;margin:0 0 10px}.bbbpos-tip-table{width:100%;border-collapse:collapse}.bbbpos-tip-table th,.bbbpos-tip-table td{padding:10px;border:1px solid var(--bbb-line);text-align:center}.bbbpos-tip-table th{font-size:11px;text-transform:uppercase;color:var(--bbb-muted);background:#faf7f2}.bbbpos-tip-table td strong{font-size:18px;color:var(--bbb-red)}.bbbpos-tip-note{text-align:center;color:var(--bbb-muted);font-size:12px;margin:8px 0 0}.bbbpos-print-actions{text-align:right;margin-top:20px}
.bbbpos-booking-frame{max-width:1050px;margin:auto;background:#fff;border:1px solid var(--bbb-line);border-radius:18px;overflow:hidden;box-shadow:0 18px 45px rgba(60,38,20,.08)}
@media(max-width:900px){.bbbpos-grid{grid-template-columns:1fr}.bbbpos-summary{position:static}.bbbpos-hero{align-items:flex-start;flex-direction:column}.bbbpos-meta{width:100%;min-width:0}.bbbpos-fields{grid-template-columns:1fr 1fr}}
@media(max-width:600px){.bbbpos-owner-price-grid{grid-template-columns:1fr}.bbbpos-app,.bbbpos-invoice{margin:14px auto}.bbbpos-shell,.bbbpos-invoice{padding:13px;border-radius:14px}.bbbpos-hero{padding:20px}.bbbpos-hero h1{font-size:26px}.bbbpos-fields,.bbbpos-invoice-cols{grid-template-columns:1fr}.bbbpos-guest-top,.bbbpos-guest-bottom{flex-direction:column;align-items:stretch}.bbbpos-link{flex-direction:column}.bbbpos-table{display:block;overflow:auto}}
@page{size:A4 portrait;margin:4mm}@media print{.bbbpos-print-actions,.bbbpos-btn,.bbbpos-actions{display:none!important}.bbbpos-invoice{box-shadow:none;border:0;margin:0;padding:10px;max-width:none;font-size:18px}.bbbpos-invoice-head{padding-bottom:10px}.bbbpos-invoice-head h1{font-size:40px}.bbbpos-eyebrow{font-size:16px}.bbbpos-invoice-number{font-size:20px}.bbbpos-status,.bbbpos-free{font-size:16px}.bbbpos-invoice-cols{margin:14px 0;font-size:18px}.bbbpos-invoice-cols h3{font-size:20px}.bbbpos-table th,.bbbpos-table td{padding:6px 8px;font-size:17px}.bbbpos-table th{font-size:15px}.bbbpos-totals{margin-top:12px;font-size:18px}.bbbpos-totals>div{padding:5px 8px}.bbbpos-totals .grand{font-size:22px}.bbbpos-totals .balance{font-size:24px}.bbbpos-tip-section{margin-top:12px}.bbbpos-tip-section h2{font-size:22px}.bbbpos-tip-table th,.bbbpos-tip-table td{padding:6px 8px;font-size:17px}.bbbpos-tip-table th{font-size:15px}.bbbpos-tip-table td strong{font-size:20px}.bbbpos-tip-note{font-size:14px;margin:5px 0 0}tr,.bbbpos-totals,.bbbpos-tip-section,.bbbpos-tip-table{break-inside:avoid;page-break-inside:avoid}}


/* v0.3.8: hide the WordPress page heading on customer order screens */
body.bbbpos-order-page .entry-title,
body.bbbpos-order-page .page-title,
body.bbbpos-order-page .wp-block-post-title,
body.bbbpos-order-page article > .entry-header,
body.bbbpos-order-page main > .entry-header{display:none!important}
body.bbbpos-order-page .site-main,
body.bbbpos-order-page main{padding-top:0}


/* v0.3.9: Apple-inspired customer ordering and invoice experience */
.bbbpos-app,.bbbpos-invoice{
  --bbb-red:#0071e3;--bbb-red-dark:#0077ed;--bbb-gold:#0071e3;--bbb-ink:#1d1d1f;
  --bbb-muted:#6e6e73;--bbb-line:#d2d2d7;--bbb-bg:#f5f5f7;--bbb-green:#248a3d;--bbb-blue:#0071e3;
  color:#1d1d1f;font-family:-apple-system,BlinkMacSystemFont,"SF Pro Text","SF Pro Display","Helvetica Neue",Arial,sans-serif;
  letter-spacing:-.01em
}
.bbbpos-shell{background:#f5f5f7;border:0;border-radius:30px;padding:28px;box-shadow:none}
.bbbpos-hero{position:relative;overflow:hidden;background:linear-gradient(145deg,#fff,#f5f9ff);color:#1d1d1f;border:1px solid rgba(0,0,0,.07);border-radius:26px;padding:34px;box-shadow:0 10px 35px rgba(0,0,0,.05)}
.bbbpos-hero:after{content:"";position:absolute;width:280px;height:280px;border-radius:50%;right:-95px;top:-145px;background:radial-gradient(circle,rgba(0,113,227,.16),rgba(0,113,227,0) 70%);pointer-events:none}
.bbbpos-hero h1{font-size:40px;font-weight:700;letter-spacing:-.045em;color:#1d1d1f}.bbbpos-hero p{color:#6e6e73;font-size:16px}.bbbpos-eyebrow{color:#0071e3;letter-spacing:.08em;font-weight:650}.bbbpos-meta{position:relative;z-index:1}.bbbpos-meta div{background:rgba(255,255,255,.8);border:1px solid #e5e5ea;border-radius:15px}.bbbpos-meta small{color:#86868b}.bbbpos-meta strong{color:#1d1d1f}
.bbbpos-card{background:#fff;border:1px solid rgba(0,0,0,.07);border-radius:24px;padding:23px;box-shadow:0 7px 28px rgba(0,0,0,.045)}.bbbpos-card h2,.bbbpos-card h3{font-weight:700;letter-spacing:-.025em}.bbbpos-sub{color:#6e6e73}
.bbbpos-btn,.bbbpos-print-actions button{background:#0071e3;border-radius:980px;padding:11px 18px;font-weight:600}.bbbpos-btn:hover,.bbbpos-print-actions button:hover{background:#0077ed}.bbbpos-btn.secondary{background:#f2f2f7;color:#1d1d1f}.bbbpos-btn.outline{background:#fff;color:#0066cc;border:1px solid #d2d2d7}.bbbpos-btn.blue{background:#e8f2ff;color:#0066cc}.bbbpos-btn.danger{background:#fff1f0;color:#ff3b30}
.bbbpos-notice{border-left:0;border:1px solid #e5e5ea;border-radius:16px;background:#f5f5f7}.bbbpos-error{border-color:#ffc3bf;background:#fff4f3}.bbbpos-success{border-color:#bfe7c8;background:#f1fbf4}
.bbbpos-guest{background:#fff;border:1px solid #e5e5ea;border-radius:20px;padding:18px}.bbbpos-guest.locked{background:#f5f5f7}.bbbpos-status,.bbbpos-free{font-weight:650}.bbbpos-status{background:#fff4ce;color:#765600}.bbbpos-status.accepted{background:#e8f2ff;color:#0066cc}.bbbpos-status.confirmed{background:#e8f7ed;color:#166534}
.bbbpos-field label{color:#515154;font-weight:600}.bbbpos-field input,.bbbpos-field select,.bbbpos-field textarea,.bbbpos-qty input{border:1px solid #d2d2d7;border-radius:14px;background:#fff;min-height:44px}.bbbpos-field input:focus,.bbbpos-field select:focus,.bbbpos-field textarea:focus{outline:0;border-color:#0071e3;box-shadow:0 0 0 3px rgba(0,113,227,.16)}
.bbbpos-addon{border-bottom-color:#ededf0}.bbbpos-qty button{border:0;background:#f2f2f7;border-radius:50%;color:#1d1d1f}.bbbpos-owner-pricing{border:1px solid #d8e8fb;background:linear-gradient(145deg,#fff,#f5f9ff)}.bbbpos-owner-badge{background:#1d1d1f;border-radius:980px;font-weight:600}
.bbbpos-sumrow.grand{border-top-color:#1d1d1f}.bbbpos-sumrow.balance{background:#e8f2ff;color:#004f99;border-radius:16px}.bbbpos-progress{background:#e5e5ea}.bbbpos-progress span{background:#0071e3}.bbbpos-loading{border:0;border-radius:24px;background:#fff;box-shadow:0 7px 28px rgba(0,0,0,.045)}
.bbbpos-link input{border:1px solid #d2d2d7;border-radius:14px;background:#f5f5f7}.bbbpos-price-big{color:#0071e3;font-weight:700;letter-spacing:-.04em}.bbbpos-locked{border:1px solid #cde7d4;border-radius:20px;background:#f1fbf4}
.bbbpos-invoice{background:#fff;border:1px solid rgba(0,0,0,.07);border-radius:28px;padding:34px;box-shadow:0 14px 45px rgba(0,0,0,.065)}.bbbpos-invoice-head{border-bottom:1px solid #d2d2d7}.bbbpos-invoice-head h1{color:#1d1d1f;font-size:32px;letter-spacing:-.04em}.bbbpos-table th{color:#86868b;font-weight:650}.bbbpos-table th,.bbbpos-table td{border-bottom-color:#ededf0}.bbbpos-totals .grand{border-top:1px solid #1d1d1f}.bbbpos-totals .balance{background:#1d1d1f;color:#fff;border-radius:16px}.bbbpos-tip-table th{background:#f5f5f7;color:#86868b}.bbbpos-tip-table td strong{color:#0071e3}.bbbpos-booking-frame{border:1px solid rgba(0,0,0,.07);border-radius:26px;box-shadow:0 14px 45px rgba(0,0,0,.065)}
@media(max-width:600px){.bbbpos-shell,.bbbpos-invoice{border-radius:22px;padding:16px}.bbbpos-hero{border-radius:20px;padding:24px}.bbbpos-hero h1{font-size:32px}}


/* v0.4.0: completely remove the outer WordPress page title on /order/ */
body.bbbpos-order-page .entry-title,
body.bbbpos-order-page .page-title,
body.bbbpos-order-page .wp-block-post-title,
body.bbbpos-order-page .wp-block-query-title,
body.bbbpos-order-page .page-header,
body.bbbpos-order-page .entry-header,
body.bbbpos-order-page header.entry-header,
body.bbbpos-order-page .site-main > h1:first-child,
body.bbbpos-order-page main > h1:first-child,
body.bbbpos-order-page article > h1:first-child,
body.bbbpos-order-page .content-area > h1:first-child{display:none!important}
body.bbbpos-order-page .site-content,
body.bbbpos-order-page .content-area,
body.bbbpos-order-page .site-main,
body.bbbpos-order-page main{padding-top:0!important;margin-top:0!important}


/* v0.4.1: remove the outer WordPress Invoice page heading */
body.bbbpos-invoice-page .entry-title,
body.bbbpos-invoice-page .page-title,
body.bbbpos-invoice-page .wp-block-post-title,
body.bbbpos-invoice-page .wp-block-query-title,
body.bbbpos-invoice-page .page-header,
body.bbbpos-invoice-page .entry-header,
body.bbbpos-invoice-page header.entry-header,
body.bbbpos-invoice-page .site-main > h1:first-child,
body.bbbpos-invoice-page main > h1:first-child,
body.bbbpos-invoice-page article > h1:first-child,
body.bbbpos-invoice-page .content-area > h1:first-child{display:none!important}
body.bbbpos-invoice-page .site-content,
body.bbbpos-invoice-page .content-area,
body.bbbpos-invoice-page .site-main,
body.bbbpos-invoice-page main{padding-top:0!important;margin-top:0!important}

.bbbpos-drink-note{
  margin-top:14px;padding:12px 14px;border-radius:14px;
  background:#f5f5f7;color:#6e6e73;font-size:12px;line-height:1.45
}
.bbbpos-save-items-card{display:flex;align-items:center;gap:14px;flex-wrap:wrap}
.bbbpos-inline-feedback{min-height:20px;margin-top:8px;font-size:13px;font-weight:600;color:#6e6e73}
.bbbpos-inline-feedback.is-success{color:#248a3d}
.bbbpos-inline-feedback.is-error{color:#d70015}
.bbb-guest-save-message{width:100%;text-align:right}

/* v0.4.2: collapsible guest meals and reliable auto-saving add-ons */
.bbbpos-head-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap}
.bbbpos-expand-all{display:inline-flex;align-items:center;justify-content:center;gap:7px;white-space:nowrap}
.bbbpos-expand-all svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;flex:0 0 auto}
.bbbpos-guest-top{align-items:center}
.bbbpos-guest-toggle{width:38px;height:38px;display:inline-flex;align-items:center;justify-content:center;flex:0 0 38px;border:0;border-radius:50%;background:#f2f2f7;color:#1d1d1f;cursor:pointer;transition:background .18s ease,transform .18s ease}
.bbbpos-guest-toggle:hover{background:#e8e8ed}
.bbbpos-guest-toggle:focus-visible{outline:3px solid rgba(0,113,227,.22);outline-offset:2px}
.bbbpos-guest-toggle svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;transition:transform .2s ease}
.bbbpos-guest-toggle svg.is-collapsed{transform:rotate(-90deg)}
.bbbpos-guest-title{flex:1;min-width:180px}
.bbbpos-guest-body{padding-top:4px;animation:bbbposGuestOpen .18s ease}
.bbbpos-guest-body[hidden]{display:none!important}
.bbbpos-guest.is-collapsed{padding-top:12px;padding-bottom:12px}
.bbbpos-guest.is-collapsed .bbbpos-guest-top{margin-bottom:0}
@keyframes bbbposGuestOpen{from{opacity:.35;transform:translateY(-3px)}to{opacity:1;transform:none}}
.bbbpos-addon-total{min-width:76px;text-align:right;font-variant-numeric:tabular-nums}
.bbbpos-qty span{font-variant-numeric:tabular-nums}
.bbbpos-save-items-card{position:relative}
.bbbpos-save-items-card .bbbpos-inline-feedback{margin-top:0}
.bbbpos-inline-feedback.is-success:before{content:"✓ ";font-weight:800}
.bbbpos-inline-feedback.is-error:before{content:"! ";font-weight:800}
@media(max-width:760px){
  .bbbpos-head{align-items:flex-start;flex-direction:column}
  .bbbpos-head-actions{width:100%;justify-content:space-between}
  .bbbpos-expand-all,.bbbpos-head-actions #bbb-add-guest{flex:1}
  .bbbpos-guest-top{display:grid;grid-template-columns:38px 1fr;align-items:center}
  .bbbpos-guest-top>.bbbpos-actions{grid-column:1/-1;margin-top:8px}
}
@media(max-width:460px){
  .bbbpos-head-actions{display:grid;grid-template-columns:1fr 1fr}
  .bbbpos-expand-all,.bbbpos-head-actions #bbb-add-guest{width:100%;padding-left:10px;padding-right:10px}
  .bbbpos-addon{grid-template-columns:1fr auto}
  .bbbpos-addon>.bbbpos-addon-total{grid-column:2;text-align:right}
}


/* v0.4.4: enlarged one-page invoice print typography */


/* v0.4.8: Company/legal footer and Apple-blue meal-selection hero */
.bbbpos-order-page .bbbpos-hero{
  background:#0071e3!important;
  border-color:#0071e3!important;
  color:#fff!important;
  box-shadow:0 18px 45px rgba(0,113,227,.22)!important;
}
.bbbpos-order-page .bbbpos-hero:after{
  background:radial-gradient(circle,rgba(255,255,255,.22),rgba(255,255,255,0) 70%)!important;
}
.bbbpos-order-page .bbbpos-hero h1,
.bbbpos-order-page .bbbpos-hero p,
.bbbpos-order-page .bbbpos-hero .bbbpos-eyebrow{
  color:#fff!important;
}
.bbbpos-order-page .bbbpos-hero .bbbpos-eyebrow{opacity:.9}
.bbbpos-order-page .bbbpos-meta div{
  background:rgba(255,255,255,.14)!important;
  border-color:rgba(255,255,255,.28)!important;
}
.bbbpos-order-page .bbbpos-meta small{color:rgba(255,255,255,.76)!important}
.bbbpos-order-page .bbbpos-meta strong{color:#fff!important}

.bbbpos-legal-footer{
  margin:28px 0 4px;
  padding:20px 8px 4px;
  border-top:1px solid #d2d2d7;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:18px;
  color:#6e6e73;
  font-size:13px;
}
.bbbpos-legal-footer nav{
  display:flex;
  flex-wrap:wrap;
  gap:16px;
}
.bbbpos-legal-footer a{
  color:#0066cc;
  text-decoration:none;
}
.bbbpos-legal-footer a:hover{text-decoration:underline}

.bbbpos-legal-document{
  width:min(920px,calc(100% - 28px));
  margin:38px auto 70px;
  padding:42px;
  border:1px solid #e5e5ea;
  border-radius:28px;
  background:#fff;
  box-shadow:0 16px 50px rgba(0,0,0,.06);
  color:#1d1d1f;
  line-height:1.65;
}
.bbbpos-legal-document h1{
  margin:0 0 10px;
  font-size:46px;
  line-height:1.05;
  letter-spacing:-.04em;
}
.bbbpos-legal-document h2{
  margin:30px 0 8px;
  font-size:23px;
  letter-spacing:-.02em;
}
.bbbpos-legal-document p{font-size:16px;color:#424245}
.bbbpos-legal-document a{color:#0066cc}
.bbbpos-legal-updated{color:#86868b!important;font-size:14px!important}

@media(max-width:700px){
  .bbbpos-legal-footer{align-items:flex-start;flex-direction:column}
  .bbbpos-legal-document{padding:24px;border-radius:20px;margin-top:18px}
  .bbbpos-legal-document h1{font-size:34px}
}


/* v0.5.0 compact Meal Selection controls */
.bbbpos-meals-toolbar{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:6px!important;
  flex-wrap:wrap!important;
  width:auto!important;
}
.bbbpos-meals-toolbar .bbbpos-btn{
  flex:0 0 auto!important;
  width:auto!important;
  min-height:31px!important;
  padding:6px 9px!important;
  border-radius:8px!important;
  font-size:11px!important;
  line-height:1!important;
  white-space:nowrap!important;
}
.bbbpos-meals-toolbar svg{
  width:13px!important;
  height:13px!important;
}

.bbbpos-guest-top-compact{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:7px!important;
  flex-wrap:nowrap!important;
  min-width:0!important;
}
.bbbpos-guest-title-compact{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:8px!important;
  flex:1 1 auto!important;
  min-width:0!important;
  flex-wrap:nowrap!important;
}
.bbbpos-guest-title-compact>strong{
  flex:0 0 auto!important;
  white-space:nowrap!important;
}
.bbbpos-guest-inline-actions{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:5px!important;
  flex:0 0 auto!important;
  white-space:nowrap!important;
}
.bbbpos-guest-inline-actions .bbbpos-status,
.bbbpos-guest-inline-actions .bbbpos-free{
  display:inline-flex!important;
  align-items:center!important;
  min-height:25px!important;
  margin:0!important;
  padding:4px 7px!important;
  border-radius:999px!important;
  font-size:10px!important;
  line-height:1!important;
}
.bbbpos-guest-inline-actions .bbbpos-btn{
  min-height:27px!important;
  padding:5px 8px!important;
  border-radius:7px!important;
  font-size:10px!important;
  line-height:1!important;
  white-space:nowrap!important;
}
.bbbpos-guest-top-compact .bbbpos-guest-toggle{
  flex:0 0 auto!important;
  width:29px!important;
  min-width:29px!important;
  height:29px!important;
}
@media(max-width:700px){
  .bbbpos-head{
    align-items:center!important;
    flex-wrap:nowrap!important;
  }
  .bbbpos-meals-toolbar{
    overflow-x:auto!important;
    -webkit-overflow-scrolling:touch;
  }
  .bbbpos-guest-top-compact{
    overflow-x:auto!important;
    -webkit-overflow-scrolling:touch;
  }
  .bbbpos-guest-title-compact{
    min-width:max-content!important;
  }
}


/* v0.5.4: prominent per-meal Save button */
.bbbpos-meal-save-actions{
  display:flex!important;
  align-items:center!important;
  gap:12px!important;
}
.bbbpos-save-meal{
  min-width:176px!important;
  min-height:48px!important;
  padding:13px 22px!important;
  border-radius:14px!important;
  background:#0071e3!important;
  color:#fff!important;
  font-size:15px!important;
  font-weight:800!important;
  letter-spacing:-.01em!important;
  box-shadow:0 8px 22px rgba(0,113,227,.28)!important;
  transition:transform .18s ease,box-shadow .18s ease,background .18s ease!important;
}
.bbbpos-save-meal:hover{
  background:#0077ed!important;
  transform:translateY(-1px)!important;
  box-shadow:0 11px 26px rgba(0,113,227,.34)!important;
}
.bbbpos-save-meal:focus-visible{
  outline:4px solid rgba(0,113,227,.24)!important;
  outline-offset:3px!important;
}
.bbbpos-save-meal.is-attention{
  background:#0071e3!important;
  color:#fff!important;
  animation:bbbpos-save-pulse 1.35s ease-in-out infinite!important;
}
.bbbpos-save-meal.is-saved{
  background:#34c759!important;
  color:#fff!important;
  box-shadow:0 8px 22px rgba(52,199,89,.28)!important;
}
.bbbpos-guest.has-unsaved-changes{
  border-color:#0071e3!important;
  box-shadow:0 0 0 3px rgba(0,113,227,.10),0 14px 34px rgba(0,0,0,.06)!important;
}
.bbbpos-inline-feedback.is-warning{
  color:#9a6700!important;
  font-weight:700!important;
}
@keyframes bbbpos-save-pulse{
  0%,100%{
    transform:scale(1);
    box-shadow:0 8px 22px rgba(0,113,227,.28);
  }
  50%{
    transform:scale(1.035);
    box-shadow:0 10px 30px rgba(0,113,227,.46);
  }
}
@media(prefers-reduced-motion:reduce){
  .bbbpos-save-meal.is-attention{animation:none!important}
}
@media(max-width:600px){
  .bbbpos-meal-save-actions{
    width:100%!important;
    justify-content:space-between!important;
  }
  .bbbpos-save-meal{
    flex:1 1 auto!important;
    width:100%!important;
    min-width:0!important;
  }
}


/* v0.5.5: one-page invoice print controls */
.bbbpos-print-actions{
  display:flex;
  align-items:flex-end;
  justify-content:flex-end;
  flex-direction:column;
  gap:6px;
}
.bbbpos-print-actions small{
  color:#86868b;
  font-size:12px;
}
@media(max-width:600px){
  .bbbpos-print-actions{
    align-items:stretch;
  }
  .bbbpos-print-actions button{
    width:100%;
  }
}

/* Direct browser-print fallback: compact the invoice before pagination. */
@media print{
  html,
  body{
    overflow:hidden!important;
  }
  body.bbbpos-invoice-page .bbbpos-invoice{
    width:100%!important;
    max-width:none!important;
    margin:0!important;
    page-break-after:avoid!important;
    break-after:avoid!important;
  }
  body.bbbpos-invoice-page .bbbpos-table{
    table-layout:fixed!important;
  }
  body.bbbpos-invoice-page .bbbpos-table th:nth-child(1),
  body.bbbpos-invoice-page .bbbpos-table td:nth-child(1){
    width:24%!important;
  }
  body.bbbpos-invoice-page .bbbpos-table th:nth-child(2),
  body.bbbpos-invoice-page .bbbpos-table td:nth-child(2){
    width:57%!important;
  }
  body.bbbpos-invoice-page .bbbpos-table th:nth-child(3),
  body.bbbpos-invoice-page .bbbpos-table td:nth-child(3){
    width:19%!important;
    text-align:right!important;
    white-space:nowrap!important;
  }
}

html:has(body.bbbpos-standalone),body.bbbpos-standalone{margin:0!important;padding:0!important;background:#f5f5f7!important}
body.bbbpos-standalone #wpadminbar,body.bbbpos-standalone .site-header,body.bbbpos-standalone .site-footer,body.bbbpos-standalone .entry-header,body.bbbpos-standalone .page-header{display:none!important}
body.bbbpos-standalone .bbbpos-standalone-main{width:100%!important;max-width:none!important;min-height:100vh;margin:0!important;padding:0!important}
.bbbpos-booking-app{min-height:100vh;background:radial-gradient(circle at 15% 0%,rgba(0,113,227,.12),transparent 32%),linear-gradient(180deg,#f5f5f7,#fff)}
.bbbpos-booking-loading{padding:80px 20px;text-align:center;color:#6e6e73}.bbbpos-booking-shell{width:min(1040px,calc(100% - 28px));margin:auto;padding:24px 0 50px;color:#1d1d1f}
.bbbpos-booking-brand{display:flex!important;align-items:center;gap:12px;padding:8px 2px 22px}.bbbpos-booking-brand strong,.bbbpos-booking-brand small{display:block}.bbbpos-booking-brand small{color:#6e6e73}
.bbbpos-bolt-logo{position:relative;width:46px;height:46px;border-radius:13px;display:grid;place-items:center;overflow:hidden;background:#050505;color:#fff;box-shadow:0 8px 24px rgba(0,0,0,.18)}
.bbbpos-bolt-logo span{font-size:27px;font-weight:900;transform:translateX(-2px)}.bbbpos-bolt-logo i{position:absolute;right:6px;top:3px;font-size:33px;color:#fff;font-style:normal}
.bbbpos-booking-hero{padding:54px clamp(24px,6vw,70px);border-radius:34px;background:#0071e3;color:#fff;box-shadow:0 24px 65px rgba(0,113,227,.24)}
.bbbpos-booking-hero .bbbpos-eyebrow,.bbbpos-booking-hero h1{color:#fff}.bbbpos-booking-hero h1{max-width:760px;margin:10px 0 14px;font-size:clamp(42px,7vw,72px);line-height:.98;letter-spacing:-.055em}.bbbpos-booking-hero p{max-width:720px;color:rgba(255,255,255,.86);font-size:19px}
.bbbpos-booking-facts{display:flex;flex-wrap:wrap;gap:9px;margin-top:24px}.bbbpos-booking-facts span{padding:8px 12px;border:1px solid rgba(255,255,255,.25);border-radius:999px;background:rgba(255,255,255,.12);font-size:13px}
.bbbpos-booking-card{margin-top:24px;padding:clamp(22px,5vw,48px);border:1px solid #e5e5ea;border-radius:30px;background:#fff;box-shadow:0 18px 60px rgba(0,0,0,.07)}
.bbbpos-booking-progress{display:flex;gap:8px;margin-bottom:30px;color:#86868b;font-size:12px;font-weight:700}.bbbpos-booking-progress span{flex:1;padding:9px;border-radius:9px;background:#f5f5f7;text-align:center}.bbbpos-booking-progress .active{background:#0071e3;color:#fff}
.bbbpos-booking-quick-head{display:none}
.bbbpos-booking-section+.bbbpos-booking-section{margin-top:34px;padding-top:30px;border-top:1px solid #e5e5ea}.bbbpos-booking-section h2{margin:0 0 18px;font-size:25px}
.bbbpos-booking-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.bbbpos-booking-grid label{display:flex;flex-direction:column;gap:6px}.bbbpos-booking-grid .wide{grid-column:1/-1}.bbbpos-booking-grid label>span,.bbbpos-booking-field-title{font-size:13px;font-weight:700}
.bbbpos-booking-grid input,.bbbpos-booking-grid select,.bbbpos-booking-grid textarea{width:100%;min-height:46px;padding:10px 13px;border:1px solid #d2d2d7;border-radius:12px;background:#fff;color:#1d1d1f;font:inherit;box-sizing:border-box}.bbbpos-booking-grid textarea{min-height:88px}.bbbpos-booking-grid input:focus,.bbbpos-booking-grid select:focus,.bbbpos-booking-grid textarea:focus{outline:0;border-color:#0071e3;box-shadow:0 0 0 4px rgba(0,113,227,.12)}
.bbbpos-booking-address-group{display:flex;flex-direction:column;gap:7px}.bbbpos-booking-address-grid{display:grid;grid-template-columns:minmax(240px,2fr) minmax(150px,1fr) minmax(90px,.55fr) minmax(110px,.65fr);gap:12px}.bbbpos-booking-address-grid label{min-width:0}.bbbpos-booking-address-grid input{min-width:0}.bbbpos-address-street{grid-column:auto}
.bbbpos-booking-datetime-wrap{display:flex;flex-direction:column;gap:8px}.bbbpos-booking-datetime-picker{display:grid;grid-template-columns:minmax(320px,1.1fr) minmax(260px,.95fr);gap:14px;padding:14px;border:1px solid #e5e5ea;border-radius:18px;background:#f8f8fa}.bbbpos-booking-calendar-panel,.bbbpos-booking-slots-panel{background:#fff;border:1px solid #e5e5ea;border-radius:16px;padding:14px}.bbbpos-booking-calendar-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}.bbbpos-cal-label{font-size:17px;font-weight:800}.bbbpos-cal-nav{width:38px;height:38px;border:1px solid #d2d2d7;border-radius:999px;background:#fff;color:#1d1d1f;font-size:24px;line-height:1;cursor:pointer}.bbbpos-cal-nav:disabled{opacity:.35;cursor:not-allowed}.bbbpos-cal-weekdays,.bbbpos-cal-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px}.bbbpos-cal-weekdays{margin-bottom:8px}.bbbpos-cal-weekdays span{display:grid;place-items:center;font-size:12px;font-weight:800;color:#6e6e73}.bbbpos-cal-empty{display:block;min-height:52px}.bbbpos-cal-day{min-height:52px;border:1px solid #d2d2d7;border-radius:14px;background:#fff;color:#1d1d1f;font:inherit;font-weight:700;cursor:pointer}.bbbpos-cal-day.is-available{border-color:#c9c9cf}.bbbpos-cal-day.is-unavailable{opacity:.35;cursor:not-allowed;background:#f5f5f7}.bbbpos-cal-day.is-selected{background:#b42318;border-color:#b42318;color:#fff}.bbbpos-slot-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin-bottom:12px}.bbbpos-slot-heading strong{font-size:17px}.bbbpos-slot-heading small{display:block;color:#6e6e73}.bbbpos-slot-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.bbbpos-slot-btn{min-height:58px;padding:10px 12px;border:1px solid #d2d2d7;border-radius:14px;background:#fff;color:#1d1d1f;font:inherit;font-size:16px;font-weight:800;cursor:pointer}.bbbpos-slot-btn.is-selected{background:#0071e3;border-color:#0071e3;color:#fff}.bbbpos-slot-empty{grid-column:1/-1;padding:18px 12px;border:1px dashed #d2d2d7;border-radius:14px;background:#fafafa;color:#6e6e73;text-align:center}.bbbpos-picker-selection{font-size:13px;font-weight:700;color:#424245}
.bbbpos-booking-summary{display:flex;justify-content:space-between;gap:18px;margin-top:28px;padding:17px 18px;border-radius:14px;background:#f5f5f7}.bbbpos-booking-summary span{color:#6e6e73;text-align:right}
.bbbpos-booking-agree{display:flex;gap:10px;margin:20px 0;color:#424245;font-size:13px}.bbbpos-booking-submit{display:inline-flex;align-items:center;justify-content:center;width:100%;min-height:56px;border:0;border-radius:15px;background:#0071e3;color:#fff!important;font-size:17px;font-weight:800;text-decoration:none!important;cursor:pointer}.bbbpos-booking-submit:disabled{opacity:.58}
.bbbpos-booking-deposit{text-align:center;color:#86868b;font-size:12px}.bbbpos-booking-message{min-height:22px;margin:8px 0;font-weight:700}.bbbpos-booking-message.error{color:#b42318}.bbbpos-honeypot{position:absolute!important;left:-10000px!important}
.bbbpos-booking-success{margin-top:30px;padding:70px 30px;border:1px solid #e5e5ea;border-radius:32px;background:#fff;text-align:center;box-shadow:0 20px 60px rgba(0,0,0,.07)}.bbbpos-success-check{width:70px;height:70px;margin:0 auto 20px;border-radius:50%;display:grid;place-items:center;background:#34c759;color:#fff;font-size:38px;font-weight:900}.bbbpos-booking-success h1{font-size:clamp(38px,7vw,66px);line-height:1}.bbbpos-booking-success-actions{width:min(430px,100%);margin:28px auto 18px}
@media(max-width:900px){.bbbpos-booking-address-grid{grid-template-columns:1fr 1fr}.bbbpos-address-street{grid-column:1/-1}.bbbpos-booking-datetime-picker{grid-template-columns:1fr}.bbbpos-slot-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:680px){.bbbpos-booking-shell{width:calc(100% - 18px);padding-top:10px}.bbbpos-booking-hero{padding:38px 22px;border-radius:24px}.bbbpos-booking-card{padding:18px 14px;border-radius:22px}.bbbpos-booking-grid{grid-template-columns:1fr;gap:12px}.bbbpos-booking-grid .wide{grid-column:auto}.bbbpos-booking-address-grid{grid-template-columns:1fr;gap:10px}.bbbpos-booking-summary{flex-direction:column}.bbbpos-booking-summary span{text-align:left}.bbbpos-booking-datetime-picker{padding:10px}.bbbpos-booking-calendar-panel,.bbbpos-booking-slots-panel{padding:12px}.bbbpos-cal-weekdays,.bbbpos-cal-grid{gap:6px}.bbbpos-cal-day{min-height:46px;border-radius:12px}.bbbpos-slot-grid{grid-template-columns:1fr}.bbbpos-slot-btn{min-height:52px}}


/* v0.6.2 official BBBPOS brand logo */
.bbbpos-bolt-logo img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  border-radius:inherit;
}
.bbbpos-bolt-logo span,
.bbbpos-bolt-logo i{
  display:none!important;
}


/* v0.6.7 invoice chef ingredient summary */
.bbbpos-invoice-summary-row{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(320px,355px);
  align-items:stretch;
  gap:24px;
  margin-top:18px;
}
.bbbpos-ingredient-summary{
  min-width:0;
  padding:18px;
  border:1px solid #e5e5ea;
  border-radius:18px;
  background:#f5f5f7;
}
.bbbpos-ingredient-summary-head{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:12px;
  padding-bottom:10px;
  border-bottom:1px solid #d2d2d7;
}
.bbbpos-ingredient-summary-head strong{
  color:#1d1d1f;
  font-size:15px;
}
.bbbpos-ingredient-summary-head span{
  color:#6e6e73;
  font-size:12px;
  white-space:nowrap;
}
.bbbpos-ingredient-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:7px 18px;
  padding-top:11px;
}
.bbbpos-ingredient-item{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  min-width:0;
  color:#424245;
  font-size:13px;
}
.bbbpos-ingredient-item span{
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.bbbpos-ingredient-item strong{
  color:#1d1d1f;
  white-space:nowrap;
  font-variant-numeric:tabular-nums;
}
.bbbpos-ingredient-empty{
  margin:12px 0 0;
  color:#86868b;
  font-size:13px;
}
.bbbpos-invoice-summary-row .bbbpos-totals{
  width:auto;
  margin:0;
}
@media(max-width:760px){
  .bbbpos-invoice-summary-row{
    grid-template-columns:1fr;
  }
}
@media print{
  .bbbpos-invoice-summary-row{
    grid-template-columns:minmax(0,1fr) 355px;
    gap:16px;
    margin-top:10px;
    break-inside:avoid;
    page-break-inside:avoid;
  }
  .bbbpos-ingredient-summary{
    padding:9px 11px;
    border-radius:9px;
  }
  .bbbpos-ingredient-summary-head{
    padding-bottom:5px;
  }
  .bbbpos-ingredient-summary-head strong{
    font-size:13px;
  }
  .bbbpos-ingredient-summary-head span{
    font-size:10px;
  }
  .bbbpos-ingredient-grid{
    gap:3px 12px;
    padding-top:6px;
  }
  .bbbpos-ingredient-item{
    font-size:11px;
  }
  .bbbpos-invoice-summary-row .bbbpos-totals{
    margin:0;
  }
}


/* v0.6.10: invoice summaries for chef ingredients + add-ons/drinks */
.bbbpos-summary-stack{display:grid;gap:12px;align-content:start}
.bbbpos-addon-summary .bbbpos-ingredient-empty{margin-top:8px}
.bbbpos-addon-groups{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding-top:8px}
.bbbpos-addon-group{min-width:0}
.bbbpos-addon-group.single{grid-column:1/-1}
.bbbpos-addon-group-title{margin:0 0 6px;color:#6e6e73;font-size:11px;font-weight:700;letter-spacing:.04em;text-transform:uppercase}
.bbbpos-addon-summary-item{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;padding:2px 0;font-size:13px;line-height:1.25}
.bbbpos-addon-summary-item span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.bbbpos-addon-summary-item strong{white-space:nowrap}
@media(max-width:900px){.bbbpos-addon-groups{grid-template-columns:1fr}}


/* v0.6.11 white-label public pages, legal layout and guest link toolbar */
html:has(body.bbbpos-standalone){margin-top:0!important;padding-top:0!important}
body.bbbpos-standalone{margin:0!important;padding:0!important;min-height:100vh;background:#f5f5f7!important}
body.bbbpos-standalone #wpadminbar,
body.bbbpos-standalone #wp-admin-bar-root-default,
body.bbbpos-standalone #wp-admin-bar-top-secondary{display:none!important}
body.bbbpos-standalone .bbbpos-standalone-main{display:block;width:100%!important;max-width:none!important;min-height:100vh;margin:0!important;padding:0!important}
body.bbbpos-order-page .bbbpos-app,
body.bbbpos-guest-meal-page .bbbpos-app,
body.bbbpos-invoice-page .bbbpos-invoice{margin-top:0!important}
body.bbbpos-order-page .bbbpos-shell,
body.bbbpos-guest-meal-page .bbbpos-shell{padding-top:14px!important}
.bbbpos-copy-all-links.is-saved{background:#eaf7ee!important;color:#167c36!important}

body.page-privacy-policy .bbbpos-standalone-main,
body.page-terms-of-service .bbbpos-standalone-main,
body.page-disclaimer .bbbpos-standalone-main,
body.page-id-privacy-policy .bbbpos-standalone-main{padding:28px 16px 50px!important}
.bbbpos-legal-document{width:min(920px,100%);margin:0 auto;padding:clamp(24px,5vw,54px);border:1px solid #e5e5ea;border-radius:28px;background:#fff;box-shadow:0 18px 55px rgba(0,0,0,.07);color:#1d1d1f;box-sizing:border-box}
.bbbpos-legal-document h1{margin:0 0 8px;font-size:clamp(36px,6vw,58px);line-height:1;letter-spacing:-.05em}
.bbbpos-legal-document h2{margin:30px 0 8px;font-size:21px;line-height:1.2}
.bbbpos-legal-document p{margin:0 0 13px;color:#424245;font-size:15px;line-height:1.7}
.bbbpos-legal-document a{color:#0066cc}
.bbbpos-legal-updated{padding-bottom:20px;border-bottom:1px solid #e5e5ea;color:#86868b!important}

@media(max-width:760px){
  .bbbpos-meals-toolbar{width:100%;justify-content:flex-start}
  .bbbpos-meals-toolbar .bbbpos-btn{flex:1 1 auto}
  .bbbpos-legal-document{padding:24px 18px;border-radius:20px}
}


/* v0.6.12 invoice QR, Chef Summary and highlighted travel/rental charges */
.bbbpos-invoice-head-right{display:flex;align-items:flex-start;justify-content:flex-end;gap:16px}
.bbbpos-invoice-qr{width:94px;color:#1d1d1f;text-align:center;text-decoration:none}
.bbbpos-invoice-qr img{display:block;width:88px;height:88px;margin:0 auto 5px;border-radius:8px;background:#fff}
.bbbpos-invoice-qr span,.bbbpos-invoice-qr small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.bbbpos-invoice-qr span{font-size:11px;font-weight:700}
.bbbpos-invoice-qr small{color:#86868b;font-size:9px}
.bbbpos-service-fees-summary{padding:14px 16px;border:2px solid #1d1d1f;border-radius:16px;background:#fff}
.bbbpos-service-fees-head{display:flex;align-items:baseline;justify-content:space-between;gap:12px;padding-bottom:9px;border-bottom:1px solid #d2d2d7}
.bbbpos-service-fees-head strong{font-size:14px}
.bbbpos-service-fees-head span{color:#6e6e73;font-size:11px}
.bbbpos-service-fee-rows{padding-top:8px}
.bbbpos-service-fee-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:4px 0;color:#1d1d1f;font-size:13px;font-weight:700}
.bbbpos-service-fee-row.is-muted{color:#86868b;font-weight:500}
.bbbpos-chair-count{color:#0066cc!important;font-weight:700}
@media(max-width:700px){.bbbpos-invoice-head-right{gap:8px}.bbbpos-invoice-qr{width:72px}.bbbpos-invoice-qr img{width:66px;height:66px}.bbbpos-service-fees-head{align-items:flex-start;flex-direction:column;gap:3px}}
@media print{.bbbpos-invoice-qr{width:76px}.bbbpos-invoice-qr img{width:70px;height:70px}.bbbpos-service-fees-summary{padding:8px 10px;border-radius:9px}.bbbpos-service-fee-row{padding:2px 0;font-size:11px}}


/* v0.6.14 Company Profile invoice header and reordered summaries */
.bbbpos-invoice-brand{display:flex;align-items:center;gap:16px;min-width:0}
.bbbpos-invoice-company-logo{display:block;width:110px;height:82px;flex:0 0 auto;object-fit:contain}
.bbbpos-invoice-company-copy{min-width:0}
.bbbpos-invoice-company-contact{display:flex;flex-wrap:wrap;gap:5px 14px;margin-top:7px;color:#6e6e73;font-size:12px;line-height:1.35}
.bbbpos-invoice-company-contact a{color:#424245;text-decoration:none}
.bbbpos-invoice-company-contact a:hover{color:#0066cc;text-decoration:underline}
.bbbpos-addon-summary-top{margin-top:18px}
.bbbpos-invoice-summary-row{grid-template-columns:minmax(0,1fr) minmax(320px,390px);align-items:start}
.bbbpos-total-column{display:grid;gap:14px;align-content:start}
.bbbpos-total-column .bbbpos-totals{width:100%;max-width:none}
.bbbpos-chef-summary-under-total{background:#f5f5f7}
@media(max-width:760px){
  .bbbpos-invoice-brand{align-items:flex-start}
  .bbbpos-invoice-company-logo{width:82px;height:62px}
  .bbbpos-invoice-company-contact{font-size:11px}
  .bbbpos-invoice-summary-row{grid-template-columns:1fr}
}
@media(max-width:540px){
  .bbbpos-invoice-brand{gap:10px}
  .bbbpos-invoice-company-logo{width:66px;height:50px}
  .bbbpos-invoice-company-contact{display:grid;gap:2px}
}
@media print{
  .bbbpos-invoice-company-logo{width:76px;height:58px}
  .bbbpos-invoice-company-contact{gap:3px 10px;margin-top:4px;font-size:10px}
  .bbbpos-addon-summary-top{margin-top:8px}
  .bbbpos-total-column{gap:8px}
}


/* v0.6.15 invoice left-column summaries and default company contact */
.bbbpos-invoice-summary-row{align-items:start}
.bbbpos-summary-stack{display:grid;gap:12px;align-content:start;min-width:0}
.bbbpos-summary-stack .bbbpos-addon-summary,
.bbbpos-summary-stack .bbbpos-service-fees-summary{width:100%;margin:0;box-sizing:border-box}
@media(max-width:760px){
  .bbbpos-invoice-summary-row{grid-template-columns:1fr}
}


/* v0.6.16 mobile invoice layout */
@media(max-width:700px){
  body.bbbpos-invoice-page{background:#fff!important}
  body.bbbpos-invoice-page .bbbpos-standalone-main{padding:0!important}
  body.bbbpos-invoice-page .bbbpos-invoice{
    width:100%!important;
    max-width:none!important;
    margin:0!important;
    padding:18px 16px 28px!important;
    border:0!important;
    border-radius:0!important;
    box-shadow:none!important;
  }
  .bbbpos-invoice-head{
    display:flex!important;
    flex-direction:column!important;
    gap:14px!important;
    padding-bottom:16px!important;
  }
  .bbbpos-invoice-brand{
    display:grid!important;
    grid-template-columns:64px minmax(0,1fr)!important;
    gap:14px!important;
    align-items:start!important;
    min-width:0!important;
  }
  .bbbpos-invoice-company-logo{
    width:64px!important;
    height:64px!important;
    max-width:64px!important;
    object-fit:contain!important;
    border-radius:14px!important;
  }
  .bbbpos-invoice-company-copy{min-width:0!important}
  .bbbpos-eyebrow{font-size:10px!important;line-height:1.25!important;letter-spacing:.09em!important}
  .bbbpos-invoice-head h1{
    margin:4px 0 8px!important;
    font-size:32px!important;
    line-height:1.02!important;
    letter-spacing:-.045em!important;
    overflow-wrap:anywhere!important;
  }
  .bbbpos-invoice-company-contact{display:flex!important;flex-wrap:wrap!important;gap:4px 10px!important;font-size:12px!important;line-height:1.25!important}
  .bbbpos-invoice-head-right{
    display:flex!important;
    width:100%!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:12px!important;
    padding-top:12px!important;
    border-top:1px solid #e5e5ea!important;
  }
  .bbbpos-invoice-number{
    min-width:0!important;
    flex:1 1 auto!important;
    text-align:left!important;
    font-size:16px!important;
    line-height:1.2!important;
    overflow-wrap:anywhere!important;
  }
  .bbbpos-invoice-number strong{font-size:18px!important}
  .bbbpos-invoice-qr{flex:0 0 88px!important;width:88px!important;text-align:center!important}
  .bbbpos-invoice-qr img{display:block!important;width:80px!important;height:80px!important;margin:0 auto 3px!important}
  .bbbpos-invoice-qr span{display:block!important;font-size:11px!important;line-height:1.1!important}
  .bbbpos-invoice-qr small{display:block!important;font-size:9px!important;line-height:1.1!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
  .bbbpos-invoice-cols{grid-template-columns:1fr!important;gap:15px!important;margin:18px 0!important;font-size:15px!important;line-height:1.42!important}
  .bbbpos-invoice-cols h3{margin-bottom:5px!important;font-size:22px!important}
  .bbbpos-table{font-size:13px!important;table-layout:fixed!important}
  .bbbpos-table th,.bbbpos-table td{padding:10px 5px!important;vertical-align:middle!important}
  .bbbpos-table th{font-size:10px!important;line-height:1.2!important}
  .bbbpos-table th:nth-child(1),.bbbpos-table td:nth-child(1){width:25%!important}
  .bbbpos-table th:nth-child(2),.bbbpos-table td:nth-child(2){width:53%!important}
  .bbbpos-table th:nth-child(3),.bbbpos-table td:nth-child(3){width:22%!important;text-align:right!important;white-space:nowrap!important}
  .bbbpos-table td:nth-child(1) strong{font-size:13px!important;line-height:1.2!important}
  .bbbpos-invoice-summary-row{grid-template-columns:1fr!important;gap:14px!important;margin-top:16px!important}
  .bbbpos-summary-stack,.bbbpos-total-column{gap:10px!important}
  .bbbpos-ingredient-summary,.bbbpos-service-fees-summary{padding:13px!important;border-radius:14px!important}
  .bbbpos-totals{width:100%!important;font-size:14px!important}
  .bbbpos-totals .grand{font-size:17px!important}
  .bbbpos-totals .balance{font-size:19px!important}
  .bbbpos-tip-section{margin-top:16px!important}
  .bbbpos-tip-table{font-size:12px!important}
  .bbbpos-tip-table th,.bbbpos-tip-table td{padding:7px 4px!important}
}
@media(max-width:380px){
  .bbbpos-invoice-brand{grid-template-columns:54px minmax(0,1fr)!important;gap:10px!important}
  .bbbpos-invoice-company-logo{width:54px!important;height:54px!important;max-width:54px!important}
  .bbbpos-invoice-head h1{font-size:28px!important}
  .bbbpos-invoice-qr{flex-basis:78px!important;width:78px!important}
  .bbbpos-invoice-qr img{width:72px!important;height:72px!important}
  .bbbpos-table{font-size:12px!important}
}


/* v0.6.18 subsidiary Calendar brand as the primary Invoice name */
.bbbpos-invoice-calendar-name{
  max-width:560px;
  margin:4px 0 3px!important;
  color:#1d1d1f!important;
  font-size:clamp(34px,4.8vw,54px)!important;
  line-height:.96!important;
  letter-spacing:-.052em!important;
  font-weight:760!important;
  overflow-wrap:anywhere;
}
.bbbpos-invoice-business-name{
  max-width:560px;
  margin-top:4px;
  color:#6e6e73;
  font-size:13px;
  line-height:1.3;
  font-weight:650;
  letter-spacing:.01em;
  overflow-wrap:anywhere;
}
@media(max-width:700px){
  .bbbpos-invoice-calendar-name{
    margin:3px 0 4px!important;
    font-size:34px!important;
    line-height:.98!important;
    letter-spacing:-.047em!important;
  }
  .bbbpos-invoice-business-name{
    margin-top:2px;
    font-size:11px;
    line-height:1.25;
  }
}
@media(max-width:380px){
  .bbbpos-invoice-calendar-name{font-size:29px!important}
  .bbbpos-invoice-business-name{font-size:10px}
}
@media print{
  .bbbpos-invoice-calendar-name{
    margin:2px 0!important;
    font-size:34px!important;
    line-height:.98!important;
  }
  .bbbpos-invoice-business-name{
    margin-top:2px;
    font-size:10px;
  }
}


/* v0.6.19 mobile invoice header and native print support */
@media(max-width:700px){
  html,body.bbbpos-invoice-page{width:100%!important;max-width:100%!important;overflow-x:hidden!important}
  body.bbbpos-invoice-page{padding-bottom:94px!important}
  body.bbbpos-invoice-page .bbbpos-invoice{
    box-sizing:border-box!important;
    overflow:visible!important;
  }
  body.bbbpos-invoice-page .bbbpos-invoice-head{
    display:grid!important;
    grid-template-columns:minmax(0,1fr)!important;
    width:100%!important;
    min-width:0!important;
    align-items:start!important;
  }
  body.bbbpos-invoice-page .bbbpos-invoice-brand{
    display:grid!important;
    grid-template-columns:72px minmax(0,1fr)!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    align-items:start!important;
    gap:14px!important;
  }
  body.bbbpos-invoice-page .bbbpos-invoice-company-logo{
    width:72px!important;
    height:72px!important;
    max-width:72px!important;
    min-width:72px!important;
  }
  body.bbbpos-invoice-page .bbbpos-invoice-company-copy{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
  }
  body.bbbpos-invoice-page .bbbpos-eyebrow{
    max-width:none!important;
    white-space:normal!important;
  }
  body.bbbpos-invoice-page .bbbpos-invoice-calendar-name{
    display:block!important;
    width:100%!important;
    max-width:none!important;
    margin:4px 0 5px!important;
    font-size:clamp(27px,8.2vw,34px)!important;
    line-height:1.04!important;
    letter-spacing:-.04em!important;
    word-break:normal!important;
    overflow-wrap:break-word!important;
    hyphens:none!important;
  }
  body.bbbpos-invoice-page .bbbpos-invoice-business-name{
    width:100%!important;
    max-width:none!important;
    font-size:11px!important;
    line-height:1.3!important;
  }
  body.bbbpos-invoice-page .bbbpos-invoice-company-contact{
    display:grid!important;
    grid-template-columns:minmax(0,1fr)!important;
    width:100%!important;
    gap:3px!important;
    margin-top:7px!important;
    font-size:12px!important;
  }
  body.bbbpos-invoice-page .bbbpos-invoice-company-contact a{
    display:block!important;
    max-width:100%!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
  }
  body.bbbpos-invoice-page .bbbpos-invoice-head-right{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) 92px!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    align-items:center!important;
    gap:14px!important;
  }
  body.bbbpos-invoice-page .bbbpos-invoice-number{
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    overflow-wrap:normal!important;
    word-break:normal!important;
  }
  body.bbbpos-invoice-page .bbbpos-invoice-number strong{
    display:block!important;
    max-width:100%!important;
    font-size:18px!important;
    line-height:1.25!important;
    overflow-wrap:break-word!important;
  }
  body.bbbpos-invoice-page .bbbpos-invoice-qr{
    width:92px!important;
    max-width:92px!important;
    flex:none!important;
  }
  body.bbbpos-invoice-page .bbbpos-invoice-qr img{
    width:84px!important;
    height:84px!important;
  }
  body.bbbpos-invoice-page .bbbpos-invoice-cols{
    width:100%!important;
    min-width:0!important;
  }
  body.bbbpos-invoice-page .bbbpos-invoice-cols>div{
    min-width:0!important;
    overflow-wrap:break-word!important;
  }
  body.bbbpos-invoice-page .bbbpos-table{
    display:table!important;
    width:100%!important;
    min-width:0!important;
    overflow:visible!important;
    table-layout:fixed!important;
  }
  body.bbbpos-invoice-page .bbbpos-table th,
  body.bbbpos-invoice-page .bbbpos-table td{
    word-break:normal!important;
    overflow-wrap:break-word!important;
  }
  body.bbbpos-invoice-page .bbbpos-table th:nth-child(1),
  body.bbbpos-invoice-page .bbbpos-table td:nth-child(1){width:24%!important}
  body.bbbpos-invoice-page .bbbpos-table th:nth-child(2),
  body.bbbpos-invoice-page .bbbpos-table td:nth-child(2){width:54%!important}
  body.bbbpos-invoice-page .bbbpos-table th:nth-child(3),
  body.bbbpos-invoice-page .bbbpos-table td:nth-child(3){width:22%!important}
  body.bbbpos-invoice-page .bbbpos-print-actions{
    position:fixed!important;
    z-index:99999!important;
    left:0!important;
    right:0!important;
    bottom:0!important;
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:4px!important;
    width:100%!important;
    margin:0!important;
    padding:10px 14px calc(10px + env(safe-area-inset-bottom))!important;
    border-top:1px solid rgba(0,0,0,.09)!important;
    background:rgba(255,255,255,.96)!important;
    box-shadow:0 -8px 28px rgba(0,0,0,.12)!important;
    backdrop-filter:blur(18px)!important;
    -webkit-backdrop-filter:blur(18px)!important;
    text-align:center!important;
  }
  body.bbbpos-invoice-page .bbbpos-print-actions button{
    display:block!important;
    width:100%!important;
    min-height:48px!important;
    margin:0!important;
    font-size:15px!important;
  }
  body.bbbpos-invoice-page .bbbpos-print-actions small{
    display:block!important;
    text-align:center!important;
    font-size:10px!important;
    line-height:1.2!important;
  }
}
@media(max-width:380px){
  body.bbbpos-invoice-page .bbbpos-invoice-brand{
    grid-template-columns:60px minmax(0,1fr)!important;
    gap:11px!important;
  }
  body.bbbpos-invoice-page .bbbpos-invoice-company-logo{
    width:60px!important;
    height:60px!important;
    min-width:60px!important;
    max-width:60px!important;
  }
  body.bbbpos-invoice-page .bbbpos-invoice-calendar-name{
    font-size:27px!important;
  }
  body.bbbpos-invoice-page .bbbpos-invoice-head-right{
    grid-template-columns:minmax(0,1fr) 82px!important;
    gap:10px!important;
  }
  body.bbbpos-invoice-page .bbbpos-invoice-qr,
  body.bbbpos-invoice-page .bbbpos-invoice-qr img{
    width:78px!important;
    max-width:78px!important;
    height:78px!important;
  }
}
@media print{
  body.bbbpos-native-printing{
    margin:0!important;
    padding:0!important;
    background:#fff!important;
  }
  body.bbbpos-native-printing .bbbpos-standalone-main{
    width:208mm!important;
    max-width:208mm!important;
    margin:0!important;
    padding:0!important;
  }
  body.bbbpos-native-printing .bbbpos-invoice{
    width:208mm!important;
    max-width:208mm!important;
    margin:0!important;
    zoom:var(--bbbpos-native-print-scale,1)!important;
    transform-origin:top left!important;
  }
  body.bbbpos-native-printing .bbbpos-print-actions{
    display:none!important;
  }
}
.bbbpos-print-help-overlay{
  position:fixed;z-index:100000;inset:0;display:grid;place-items:center;padding:24px;background:rgba(0,0,0,.52)
}
.bbbpos-print-help-card{
  width:min(420px,100%);padding:24px;border-radius:22px;background:#fff;color:#1d1d1f;box-shadow:0 24px 80px rgba(0,0,0,.28);text-align:left
}
.bbbpos-print-help-card h3{margin:0 0 10px;font-size:21px}
.bbbpos-print-help-card p{margin:0 0 14px;color:#515154;line-height:1.55}
.bbbpos-print-help-card button{width:100%;min-height:44px;border:0;border-radius:999px;background:#0071e3;color:#fff;font-weight:700}


/* v0.6.20 invoice header and mobile layout refinement */
.bbbpos-invoice-head{
  display:grid;
  grid-template-columns:minmax(0,1fr) 118px;
  align-items:start;
  gap:22px;
}
.bbbpos-invoice-brand{
  display:grid;
  grid-template-columns:92px minmax(0,1fr);
  align-items:start;
  gap:14px;
  min-width:0;
}
.bbbpos-invoice-company-logo{
  width:92px;
  height:76px;
  max-width:92px;
  object-fit:contain;
}
.bbbpos-invoice-company-copy{min-width:0}
.bbbpos-eyebrow{
  font-size:10px!important;
  line-height:1.2!important;
  letter-spacing:.09em!important;
}
.bbbpos-invoice-calendar-name{
  max-width:none!important;
  margin:3px 0 3px!important;
  font-size:clamp(28px,3.8vw,40px)!important;
  line-height:1.02!important;
  letter-spacing:-.04em!important;
  overflow-wrap:break-word!important;
}
.bbbpos-invoice-business-name{
  max-width:none!important;
  margin-top:2px!important;
  font-size:11px!important;
  line-height:1.25!important;
}
.bbbpos-invoice-company-contact{
  display:grid!important;
  grid-template-columns:minmax(0,1fr)!important;
  gap:2px!important;
  margin-top:5px!important;
  font-size:10px!important;
  line-height:1.2!important;
}
.bbbpos-invoice-company-contact a{
  display:block;
  max-width:100%;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.bbbpos-invoice-head-right{
  display:grid!important;
  grid-template-columns:1fr!important;
  justify-items:center!important;
  align-content:start!important;
  gap:6px!important;
  width:118px!important;
  min-width:118px!important;
  padding:0!important;
  border:0!important;
}
.bbbpos-invoice-qr{
  width:100px!important;
  max-width:100px!important;
  text-align:center!important;
}
.bbbpos-invoice-qr img{
  width:94px!important;
  height:94px!important;
  margin:0 auto 4px!important;
}
.bbbpos-invoice-number{
  width:118px!important;
  max-width:118px!important;
  min-width:0!important;
  text-align:center!important;
  white-space:normal!important;
  line-height:1.15!important;
  overflow-wrap:anywhere!important;
}
.bbbpos-invoice-number-label{
  display:block;
  color:#6e6e73;
  font-size:9px;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.08em;
}
.bbbpos-invoice-number strong{
  display:block!important;
  margin-top:2px!important;
  font-size:12px!important;
  line-height:1.2!important;
  overflow-wrap:anywhere!important;
}
.bbbpos-invoice-number .bbbpos-status{
  display:inline-block!important;
  margin-top:4px!important;
  font-size:9px!important;
}

@media(max-width:700px){
  body.bbbpos-invoice-page .bbbpos-invoice{
    padding:14px 14px 112px!important;
  }
  body.bbbpos-invoice-page .bbbpos-invoice-head{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) 94px!important;
    align-items:start!important;
    gap:12px!important;
    padding-bottom:14px!important;
  }
  body.bbbpos-invoice-page .bbbpos-invoice-brand{
    display:grid!important;
    grid-template-columns:56px minmax(0,1fr)!important;
    align-items:start!important;
    gap:9px!important;
    width:100%!important;
    min-width:0!important;
  }
  body.bbbpos-invoice-page .bbbpos-invoice-company-logo{
    width:56px!important;
    height:56px!important;
    min-width:56px!important;
    max-width:56px!important;
    border-radius:12px!important;
  }
  body.bbbpos-invoice-page .bbbpos-eyebrow{
    font-size:8px!important;
    line-height:1.18!important;
  }
  body.bbbpos-invoice-page .bbbpos-invoice-calendar-name{
    margin:2px 0 2px!important;
    font-size:clamp(21px,6vw,26px)!important;
    line-height:1.04!important;
    letter-spacing:-.035em!important;
    word-break:normal!important;
    overflow-wrap:break-word!important;
  }
  body.bbbpos-invoice-page .bbbpos-invoice-business-name{
    margin-top:1px!important;
    font-size:9px!important;
    line-height:1.2!important;
  }
  body.bbbpos-invoice-page .bbbpos-invoice-company-contact{
    gap:1px!important;
    margin-top:4px!important;
    font-size:9px!important;
    line-height:1.18!important;
  }
  body.bbbpos-invoice-page .bbbpos-invoice-head-right{
    display:grid!important;
    grid-template-columns:1fr!important;
    justify-items:center!important;
    width:94px!important;
    min-width:94px!important;
    max-width:94px!important;
    gap:4px!important;
    padding:0!important;
    border:0!important;
  }
  body.bbbpos-invoice-page .bbbpos-invoice-qr{
    width:86px!important;
    max-width:86px!important;
  }
  body.bbbpos-invoice-page .bbbpos-invoice-qr img{
    width:80px!important;
    height:80px!important;
    margin:0 auto 3px!important;
  }
  body.bbbpos-invoice-page .bbbpos-invoice-qr span{
    font-size:10px!important;
    line-height:1.1!important;
  }
  body.bbbpos-invoice-page .bbbpos-invoice-qr small{
    max-width:86px!important;
    font-size:8px!important;
  }
  body.bbbpos-invoice-page .bbbpos-invoice-number{
    width:94px!important;
    max-width:94px!important;
    text-align:center!important;
  }
  body.bbbpos-invoice-page .bbbpos-invoice-number-label{
    font-size:8px!important;
  }
  body.bbbpos-invoice-page .bbbpos-invoice-number strong{
    font-size:10px!important;
    line-height:1.15!important;
  }
  body.bbbpos-invoice-page .bbbpos-invoice-cols{
    gap:12px!important;
    margin:14px 0 12px!important;
    font-size:14px!important;
    line-height:1.38!important;
  }
  body.bbbpos-invoice-page .bbbpos-invoice-cols h3{
    margin:0 0 4px!important;
    font-size:20px!important;
  }
  body.bbbpos-invoice-page .bbbpos-table{
    font-size:12px!important;
  }
  body.bbbpos-invoice-page .bbbpos-table th,
  body.bbbpos-invoice-page .bbbpos-table td{
    padding:9px 4px!important;
  }
  body.bbbpos-invoice-page .bbbpos-table th{
    font-size:9px!important;
  }
  body.bbbpos-invoice-page .bbbpos-table th:nth-child(1),
  body.bbbpos-invoice-page .bbbpos-table td:nth-child(1){width:24%!important}
  body.bbbpos-invoice-page .bbbpos-table th:nth-child(2),
  body.bbbpos-invoice-page .bbbpos-table td:nth-child(2){width:54%!important}
  body.bbbpos-invoice-page .bbbpos-table th:nth-child(3),
  body.bbbpos-invoice-page .bbbpos-table td:nth-child(3){width:22%!important}
  body.bbbpos-invoice-page .bbbpos-invoice-summary-row{
    margin-top:13px!important;
    gap:11px!important;
  }
  body.bbbpos-invoice-page .bbbpos-ingredient-summary,
  body.bbbpos-invoice-page .bbbpos-service-fees-summary{
    padding:11px!important;
    border-radius:12px!important;
  }
}

@media(max-width:380px){
  body.bbbpos-invoice-page .bbbpos-invoice-head{
    grid-template-columns:minmax(0,1fr) 84px!important;
    gap:9px!important;
  }
  body.bbbpos-invoice-page .bbbpos-invoice-brand{
    grid-template-columns:50px minmax(0,1fr)!important;
    gap:8px!important;
  }
  body.bbbpos-invoice-page .bbbpos-invoice-company-logo{
    width:50px!important;
    height:50px!important;
    min-width:50px!important;
    max-width:50px!important;
  }
  body.bbbpos-invoice-page .bbbpos-invoice-calendar-name{
    font-size:20px!important;
  }
  body.bbbpos-invoice-page .bbbpos-invoice-head-right,
  body.bbbpos-invoice-page .bbbpos-invoice-number{
    width:84px!important;
    min-width:84px!important;
    max-width:84px!important;
  }
  body.bbbpos-invoice-page .bbbpos-invoice-qr,
  body.bbbpos-invoice-page .bbbpos-invoice-qr img{
    width:76px!important;
    max-width:76px!important;
    height:76px!important;
  }
  body.bbbpos-invoice-page .bbbpos-invoice-number strong{
    font-size:9px!important;
  }
}

@media print{
  .bbbpos-invoice-number-label{display:block!important}
}


/* v0.6.21 final invoice layout normalization */
body.bbbpos-invoice-page .bbbpos-invoice{
  width:min(1120px,calc(100% - 28px))!important;
  margin:18px auto!important;
  padding:26px 28px 30px!important;
  overflow:hidden!important;
}
body.bbbpos-invoice-page .bbbpos-invoice-head{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 112px!important;
  align-items:start!important;
  gap:20px!important;
  width:100%!important;
  min-height:0!important;
  padding-bottom:16px!important;
}
body.bbbpos-invoice-page .bbbpos-invoice-brand{
  min-width:0!important;
  width:100%!important;
  align-items:start!important;
}
body.bbbpos-invoice-page .bbbpos-invoice-brand.has-logo{
  display:grid!important;
  grid-template-columns:82px minmax(0,1fr)!important;
  gap:13px!important;
}
body.bbbpos-invoice-page .bbbpos-invoice-brand.no-logo{
  display:grid!important;
  grid-template-columns:minmax(0,1fr)!important;
  gap:0!important;
}
body.bbbpos-invoice-page .bbbpos-invoice-brand.no-logo .bbbpos-invoice-company-copy{
  grid-column:1/-1!important;
  width:100%!important;
}
body.bbbpos-invoice-page .bbbpos-invoice-company-logo{
  width:82px!important;
  height:70px!important;
  min-width:82px!important;
  max-width:82px!important;
  object-fit:contain!important;
}
body.bbbpos-invoice-page .bbbpos-invoice-company-copy{
  width:100%!important;
  min-width:0!important;
  max-width:none!important;
}
body.bbbpos-invoice-page .bbbpos-eyebrow{
  margin:0!important;
  font-size:9px!important;
  line-height:1.18!important;
  letter-spacing:.09em!important;
}
body.bbbpos-invoice-page .bbbpos-invoice-calendar-name{
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  margin:3px 0 3px!important;
  font-size:clamp(27px,3.4vw,38px)!important;
  line-height:1.03!important;
  letter-spacing:-.04em!important;
  word-break:normal!important;
  overflow-wrap:normal!important;
  hyphens:none!important;
  white-space:normal!important;
}
body.bbbpos-invoice-page .bbbpos-invoice-business-name{
  margin:1px 0 0!important;
  font-size:10px!important;
  line-height:1.22!important;
}
body.bbbpos-invoice-page .bbbpos-invoice-company-contact{
  display:grid!important;
  grid-template-columns:minmax(0,1fr)!important;
  gap:2px!important;
  margin-top:5px!important;
  font-size:10px!important;
  line-height:1.2!important;
}
body.bbbpos-invoice-page .bbbpos-invoice-company-contact a{
  max-width:100%!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}
body.bbbpos-invoice-page .bbbpos-invoice-head-right{
  display:grid!important;
  grid-template-columns:1fr!important;
  justify-items:center!important;
  align-content:start!important;
  gap:5px!important;
  width:112px!important;
  min-width:112px!important;
  max-width:112px!important;
  padding:0!important;
  border:0!important;
}
body.bbbpos-invoice-page .bbbpos-invoice-qr{
  width:94px!important;
  max-width:94px!important;
}
body.bbbpos-invoice-page .bbbpos-invoice-qr img{
  width:88px!important;
  height:88px!important;
  margin:0 auto 3px!important;
}
body.bbbpos-invoice-page .bbbpos-invoice-number{
  width:112px!important;
  max-width:112px!important;
  min-width:112px!important;
  text-align:center!important;
  white-space:normal!important;
}
body.bbbpos-invoice-page .bbbpos-invoice-number strong{
  font-size:11px!important;
  line-height:1.16!important;
}
body.bbbpos-invoice-page .bbbpos-invoice-cols{
  grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr)!important;
  gap:30px!important;
  margin:18px 0 14px!important;
  font-size:15px!important;
  line-height:1.4!important;
}
body.bbbpos-invoice-page .bbbpos-invoice-cols h3{
  margin:0 0 5px!important;
  font-size:21px!important;
}
body.bbbpos-invoice-page .bbbpos-table{
  table-layout:fixed!important;
  font-size:14px!important;
}
body.bbbpos-invoice-page .bbbpos-table th,
body.bbbpos-invoice-page .bbbpos-table td{
  padding:9px 10px!important;
  vertical-align:middle!important;
}
body.bbbpos-invoice-page .bbbpos-table th:nth-child(1),
body.bbbpos-invoice-page .bbbpos-table td:nth-child(1){width:29%!important}
body.bbbpos-invoice-page .bbbpos-table th:nth-child(2),
body.bbbpos-invoice-page .bbbpos-table td:nth-child(2){width:49%!important}
body.bbbpos-invoice-page .bbbpos-table th:nth-child(3),
body.bbbpos-invoice-page .bbbpos-table td:nth-child(3){width:22%!important;text-align:right!important;white-space:nowrap!important}
body.bbbpos-invoice-page .bbbpos-invoice-summary-row{
  gap:16px!important;
  margin-top:15px!important;
}
body.bbbpos-invoice-page .bbbpos-summary-stack,
body.bbbpos-invoice-page .bbbpos-total-column{
  gap:10px!important;
}
body.bbbpos-invoice-page .bbbpos-ingredient-summary,
body.bbbpos-invoice-page .bbbpos-service-fees-summary{
  padding:13px 14px!important;
  border-radius:14px!important;
}
body.bbbpos-invoice-page .bbbpos-tip-section{
  margin-top:14px!important;
}

@media(max-width:700px){
  body.bbbpos-invoice-page .bbbpos-invoice{
    width:100%!important;
    margin:0!important;
    padding:14px 14px 112px!important;
    border:0!important;
    border-radius:0!important;
    box-shadow:none!important;
  }
  body.bbbpos-invoice-page .bbbpos-invoice-head{
    grid-template-columns:minmax(0,1fr) 88px!important;
    gap:11px!important;
    padding-bottom:13px!important;
  }
  body.bbbpos-invoice-page .bbbpos-invoice-brand.has-logo{
    grid-template-columns:50px minmax(0,1fr)!important;
    gap:9px!important;
  }
  body.bbbpos-invoice-page .bbbpos-invoice-brand.no-logo{
    grid-template-columns:minmax(0,1fr)!important;
  }
  body.bbbpos-invoice-page .bbbpos-invoice-company-logo{
    width:50px!important;
    height:50px!important;
    min-width:50px!important;
    max-width:50px!important;
    border-radius:11px!important;
  }
  body.bbbpos-invoice-page .bbbpos-eyebrow{
    font-size:7.5px!important;
  }
  body.bbbpos-invoice-page .bbbpos-invoice-calendar-name{
    margin:2px 0 2px!important;
    font-size:clamp(20px,6vw,25px)!important;
    line-height:1.04!important;
    letter-spacing:-.035em!important;
    word-break:normal!important;
    overflow-wrap:normal!important;
    hyphens:none!important;
  }
  body.bbbpos-invoice-page .bbbpos-invoice-business-name{
    font-size:8.5px!important;
  }
  body.bbbpos-invoice-page .bbbpos-invoice-company-contact{
    margin-top:3px!important;
    font-size:8.5px!important;
  }
  body.bbbpos-invoice-page .bbbpos-invoice-head-right,
  body.bbbpos-invoice-page .bbbpos-invoice-number{
    width:88px!important;
    min-width:88px!important;
    max-width:88px!important;
  }
  body.bbbpos-invoice-page .bbbpos-invoice-qr{
    width:78px!important;
    max-width:78px!important;
  }
  body.bbbpos-invoice-page .bbbpos-invoice-qr img{
    width:72px!important;
    height:72px!important;
  }
  body.bbbpos-invoice-page .bbbpos-invoice-qr span{
    font-size:9px!important;
  }
  body.bbbpos-invoice-page .bbbpos-invoice-qr small{
    font-size:7px!important;
  }
  body.bbbpos-invoice-page .bbbpos-invoice-number-label{
    font-size:7px!important;
  }
  body.bbbpos-invoice-page .bbbpos-invoice-number strong{
    font-size:8.5px!important;
    line-height:1.13!important;
  }
  body.bbbpos-invoice-page .bbbpos-invoice-cols{
    grid-template-columns:1fr!important;
    gap:12px!important;
    margin:14px 0 11px!important;
    font-size:14px!important;
    line-height:1.4!important;
  }
  body.bbbpos-invoice-page .bbbpos-invoice-cols h3{
    font-size:19px!important;
  }
  body.bbbpos-invoice-page .bbbpos-table{
    font-size:12px!important;
  }
  body.bbbpos-invoice-page .bbbpos-table th,
  body.bbbpos-invoice-page .bbbpos-table td{
    padding:8px 4px!important;
  }
  body.bbbpos-invoice-page .bbbpos-table th{
    font-size:8.5px!important;
  }
  body.bbbpos-invoice-page .bbbpos-table th:nth-child(1),
  body.bbbpos-invoice-page .bbbpos-table td:nth-child(1){width:27%!important}
  body.bbbpos-invoice-page .bbbpos-table th:nth-child(2),
  body.bbbpos-invoice-page .bbbpos-table td:nth-child(2){width:50%!important}
  body.bbbpos-invoice-page .bbbpos-table th:nth-child(3),
  body.bbbpos-invoice-page .bbbpos-table td:nth-child(3){width:23%!important}
  body.bbbpos-invoice-page .bbbpos-invoice-summary-row{
    grid-template-columns:1fr!important;
    gap:10px!important;
    margin-top:11px!important;
  }
  body.bbbpos-invoice-page .bbbpos-ingredient-summary,
  body.bbbpos-invoice-page .bbbpos-service-fees-summary{
    padding:10px!important;
    border-radius:12px!important;
  }
}

@media(max-width:380px){
  body.bbbpos-invoice-page .bbbpos-invoice-head{
    grid-template-columns:minmax(0,1fr) 80px!important;
    gap:8px!important;
  }
  body.bbbpos-invoice-page .bbbpos-invoice-brand.has-logo{
    grid-template-columns:46px minmax(0,1fr)!important;
    gap:7px!important;
  }
  body.bbbpos-invoice-page .bbbpos-invoice-company-logo{
    width:46px!important;
    height:46px!important;
    min-width:46px!important;
    max-width:46px!important;
  }
  body.bbbpos-invoice-page .bbbpos-invoice-calendar-name{
    font-size:19px!important;
  }
  body.bbbpos-invoice-page .bbbpos-invoice-head-right,
  body.bbbpos-invoice-page .bbbpos-invoice-number{
    width:80px!important;
    min-width:80px!important;
    max-width:80px!important;
  }
  body.bbbpos-invoice-page .bbbpos-invoice-qr,
  body.bbbpos-invoice-page .bbbpos-invoice-qr img{
    width:70px!important;
    max-width:70px!important;
    height:70px!important;
  }
}

@media print{
  .bbbpos-invoice-brand.no-logo{
    grid-template-columns:minmax(0,1fr)!important;
  }
  .bbbpos-invoice-calendar-name{
    word-break:normal!important;
    overflow-wrap:normal!important;
    hyphens:none!important;
  }
}


/* v0.6.22: top-aligned Invoice number above QR */
body.bbbpos-invoice-page .bbbpos-invoice-head-right{
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:6px!important;
}
body.bbbpos-invoice-page .bbbpos-invoice-number{
  order:0!important;
  margin:0!important;
  padding:0 0 2px!important;
  text-align:center!important;
}
body.bbbpos-invoice-page .bbbpos-invoice-number-label{
  margin:0!important;
}
body.bbbpos-invoice-page .bbbpos-invoice-qr{
  order:1!important;
}
@media(max-width:700px){
  body.bbbpos-invoice-page .bbbpos-invoice-head-right{gap:4px!important}
  body.bbbpos-invoice-page .bbbpos-invoice-number{padding-bottom:1px!important}
}


/* v0.6.24: show the active tax rate directly above the tax amount */
.bbbpos-tax-summary-value,
.bbbpos-tax-total-value{
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-end!important;
  justify-content:center!important;
  gap:2px!important;
  line-height:1.05!important;
}
.bbbpos-tax-summary-value small,
.bbbpos-tax-total-value small{
  display:block!important;
  color:#6e6e73!important;
  font-size:11px!important;
  font-weight:700!important;
  letter-spacing:.01em!important;
  white-space:nowrap!important;
}
.bbbpos-tax-summary-value>span,
.bbbpos-tax-total-value>span{
  display:block!important;
  white-space:nowrap!important;
}
@media(max-width:600px){
  .bbbpos-tax-summary-value small,
  .bbbpos-tax-total-value small{font-size:10px!important}
}
@media print{
  .bbbpos-tax-summary-value small,
  .bbbpos-tax-total-value small{font-size:9px!important}
}


/* v0.6.33: Invoice label and number share one line */
body.bbbpos-invoice-page .bbbpos-invoice-number-line{
  display:block!important;
  white-space:nowrap!important;
  line-height:1.15!important;
  letter-spacing:-.01em!important;
}
@media(max-width:760px){
  body.bbbpos-invoice-page .bbbpos-invoice-number-line{font-size:11px!important}
}
@media(max-width:420px){
  body.bbbpos-invoice-page .bbbpos-invoice-number-line{font-size:9.5px!important}
}


/* v0.6.37: widen the invoice header's right column so the full invoice number remains visible */
body.bbbpos-invoice-page .bbbpos-invoice-head{
  grid-template-columns:minmax(0,1fr) 176px!important;
}
body.bbbpos-invoice-page .bbbpos-invoice-head-right{
  width:176px!important;
  min-width:176px!important;
  max-width:176px!important;
}
body.bbbpos-invoice-page .bbbpos-invoice-number{
  width:176px!important;
  min-width:176px!important;
  max-width:176px!important;
  overflow:visible!important;
}
body.bbbpos-invoice-page .bbbpos-invoice-number-line{
  width:100%!important;
  white-space:nowrap!important;
  overflow:visible!important;
  text-overflow:clip!important;
  overflow-wrap:normal!important;
  word-break:normal!important;
  font-size:12px!important;
  letter-spacing:-.015em!important;
}
@media(max-width:700px){
  body.bbbpos-invoice-page .bbbpos-invoice-head{
    grid-template-columns:minmax(0,1fr) 148px!important;
    gap:10px!important;
  }
  body.bbbpos-invoice-page .bbbpos-invoice-head-right,
  body.bbbpos-invoice-page .bbbpos-invoice-number{
    width:148px!important;
    min-width:148px!important;
    max-width:148px!important;
  }
  body.bbbpos-invoice-page .bbbpos-invoice-number-line{
    font-size:10.5px!important;
    letter-spacing:-.02em!important;
  }
}
@media(max-width:420px){
  body.bbbpos-invoice-page .bbbpos-invoice-head{
    grid-template-columns:minmax(0,1fr) 138px!important;
    gap:8px!important;
  }
  body.bbbpos-invoice-page .bbbpos-invoice-head-right,
  body.bbbpos-invoice-page .bbbpos-invoice-number{
    width:138px!important;
    min-width:138px!important;
    max-width:138px!important;
  }
  body.bbbpos-invoice-page .bbbpos-invoice-number-line{
    font-size:9.5px!important;
  }
}


/* v0.6.40 Invoice logo/PDF width protection */
body.bbbpos-invoice-page .bbbpos-invoice-head{
  overflow:hidden!important;
}
body.bbbpos-invoice-page .bbbpos-invoice-brand,
body.bbbpos-invoice-page .bbbpos-invoice-brand.has-logo{
  min-width:0!important;
  max-width:100%!important;
  overflow:hidden!important;
}
body.bbbpos-invoice-page .bbbpos-invoice-company-logo{
  display:block!important;
  width:84px!important;
  height:72px!important;
  min-width:84px!important;
  max-width:84px!important;
  min-height:72px!important;
  max-height:72px!important;
  object-fit:contain!important;
  object-position:center!important;
  overflow:hidden!important;
  margin:0!important;
  padding:0!important;
  transform:none!important;
}
@media(max-width:700px){
  body.bbbpos-invoice-page .bbbpos-invoice-company-logo{
    width:50px!important;
    height:50px!important;
    min-width:50px!important;
    max-width:50px!important;
    min-height:50px!important;
    max-height:50px!important;
  }
}
@media print{
  body.bbbpos-invoice-page .bbbpos-invoice{
    width:208mm!important;
    max-width:208mm!important;
    overflow:hidden!important;
  }
  body.bbbpos-invoice-page .bbbpos-invoice-head{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) 154px!important;
    gap:18px!important;
    width:100%!important;
    overflow:hidden!important;
  }
  body.bbbpos-invoice-page .bbbpos-invoice-brand,
  body.bbbpos-invoice-page .bbbpos-invoice-brand.has-logo{
    display:grid!important;
    grid-template-columns:84px minmax(0,1fr)!important;
    gap:13px!important;
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    overflow:hidden!important;
  }
  body.bbbpos-invoice-page .bbbpos-invoice-company-logo{
    width:84px!important;
    height:72px!important;
    min-width:84px!important;
    max-width:84px!important;
    min-height:72px!important;
    max-height:72px!important;
  }
  body.bbbpos-invoice-page .bbbpos-invoice-company-copy{
    min-width:0!important;
    max-width:100%!important;
    overflow:hidden!important;
  }
  body.bbbpos-invoice-page .bbbpos-invoice-cols,
  body.bbbpos-invoice-page .bbbpos-table,
  body.bbbpos-invoice-page .bbbpos-invoice-summary-row,
  body.bbbpos-invoice-page .bbbpos-tip-section{
    width:100%!important;
    max-width:100%!important;
  }
}


/* v0.6.48 highlighted table-chair rental and side meat selector */
.bbbpos-addon-highlight{border:2px solid #f3c4c0;background:linear-gradient(180deg,#fff7f7,#fff)!important;border-radius:18px;padding:14px 16px!important;margin-top:8px}
.bbbpos-addon-name-highlight{font-size:20px!important;font-weight:800!important;color:#c62828!important;line-height:1.15!important}
.bbbpos-addon-sub-highlight{font-size:18px!important;font-weight:700!important;color:#b91c1c!important}
.bbbpos-addon-total-highlight{font-size:22px!important;font-weight:900!important;color:#b91c1c!important}
.bbbpos-service-fee-row.bbbpos-table-chair-line,.bbbpos-service-fee-row.bbbpos-table-chair-line span,.bbbpos-service-fee-row.bbbpos-table-chair-line strong{color:#b91c1c!important;font-weight:900!important}
.bbbpos-service-fee-row.bbbpos-table-chair-line{font-size:17px!important;background:#fff4f4;border:1px solid #f2c7c7;border-radius:12px;padding:8px 10px!important;margin-top:6px}
.bbbpos-service-fees-head strong{font-size:15px}
@media(max-width:600px){.bbbpos-addon-name-highlight{font-size:18px!important}.bbbpos-addon-sub-highlight{font-size:16px!important}.bbbpos-addon-total-highlight{font-size:20px!important}.bbbpos-service-fee-row.bbbpos-table-chair-line{font-size:16px!important}}
@media print{.bbbpos-service-fee-row.bbbpos-table-chair-line{font-size:14px!important;padding:5px 8px!important}}


/* v0.6.49 invoice review, final confirmation and print workflow */
.bbbpos-invoice-review-actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:10px}
.bbbpos-invoice-review-actions small{flex-basis:100%;display:block;color:#6e6e73}
.bbbpos-invoice-review-actions .bbbpos-confirmed-button{background:#248a3d!important;color:#fff!important;opacity:1!important;cursor:default!important}
@media(max-width:700px){.bbbpos-invoice-review-actions{justify-content:stretch}.bbbpos-invoice-review-actions button{flex:1 1 100%;width:100%}.bbbpos-invoice-review-actions small{text-align:left;line-height:1.45}}
@media print{.bbbpos-invoice-review-actions{display:none!important}}


/* v0.6.50 protein-only meal selection */
.bbbpos-guest .bbbpos-fields{grid-template-columns:1.15fr .8fr 1fr 1fr 1fr}
.bbbpos-field select.g-m1,.bbbpos-field select.g-m2,.bbbpos-field select.g-m3,#x-m1,#x-m2,#x-m3{font-weight:650}
@media(max-width:900px){.bbbpos-guest .bbbpos-fields{grid-template-columns:1fr 1fr}}
@media(max-width:600px){.bbbpos-guest .bbbpos-fields{grid-template-columns:1fr}}


/* v0.6.62 combo preset and invoice review actions */
.bbbpos-combo-choice{margin:0 0 14px}
.bbbpos-combo-preset{width:100%;text-align:center;border:1px solid #d2d2d7!important}
.bbbpos-combo-preset.is-selected{background:#1d1d1f!important;color:#fff!important;border-color:#1d1d1f!important}
.bbbpos-invoice-edit-order{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;padding:11px 18px;background:#f2f2f7;color:#1d1d1f;text-decoration:none;font-weight:700}
.bbbpos-invoice-review-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:10px}
.bbbpos-invoice-review-actions small{flex-basis:100%}
@media(max-width:600px){.bbbpos-invoice-review-actions>*{width:100%;box-sizing:border-box;text-align:center}}
@media print{.bbbpos-invoice-edit-order{display:none!important}}


/* v0.6.73: public Meal Selection mobile viewport fit */
body.bbbpos-order-page,
body.bbbpos-guest-meal-page{
  width:100%!important;
  max-width:100%!important;
  overflow-x:hidden!important;
}
body.bbbpos-order-page *,
body.bbbpos-guest-meal-page *{
  box-sizing:border-box;
}
body.bbbpos-order-page .bbbpos-standalone-main,
body.bbbpos-guest-meal-page .bbbpos-standalone-main,
body.bbbpos-order-page .bbbpos-app,
body.bbbpos-guest-meal-page .bbbpos-app,
body.bbbpos-order-page .bbbpos-shell,
body.bbbpos-guest-meal-page .bbbpos-shell{
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
}
body.bbbpos-order-page .bbbpos-grid,
body.bbbpos-order-page main,
body.bbbpos-order-page aside,
body.bbbpos-order-page .bbbpos-card,
body.bbbpos-order-page .bbbpos-guest,
body.bbbpos-guest-meal-page .bbbpos-card,
body.bbbpos-guest-meal-page .bbbpos-fields,
body.bbbpos-order-page .bbbpos-fields{
  min-width:0!important;
  max-width:100%!important;
}
body.bbbpos-order-page input,
body.bbbpos-order-page select,
body.bbbpos-order-page textarea,
body.bbbpos-guest-meal-page input,
body.bbbpos-guest-meal-page select,
body.bbbpos-guest-meal-page textarea{
  max-width:100%!important;
  min-width:0!important;
}
@media(max-width:700px){
  body.bbbpos-order-page .bbbpos-app,
  body.bbbpos-guest-meal-page .bbbpos-app{
    margin:0!important;
    padding:0!important;
  }
  body.bbbpos-order-page .bbbpos-shell,
  body.bbbpos-guest-meal-page .bbbpos-shell{
    border-radius:0!important;
    padding:12px!important;
    overflow:hidden!important;
  }
  body.bbbpos-order-page .bbbpos-hero,
  body.bbbpos-guest-meal-page .bbbpos-hero{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    padding:20px 16px!important;
    gap:14px!important;
    border-radius:18px!important;
  }
  body.bbbpos-order-page .bbbpos-hero h1,
  body.bbbpos-guest-meal-page .bbbpos-hero h1{
    font-size:28px!important;
    overflow-wrap:anywhere!important;
  }
  body.bbbpos-order-page .bbbpos-meta{
    grid-template-columns:1fr 1fr!important;
    width:100%!important;
    min-width:0!important;
  }
  body.bbbpos-order-page .bbbpos-card,
  body.bbbpos-guest-meal-page .bbbpos-card{
    width:100%!important;
    padding:16px!important;
    border-radius:18px!important;
  }
  body.bbbpos-order-page .bbbpos-head{
    align-items:flex-start!important;
    flex-direction:column!important;
  }
  body.bbbpos-order-page .bbbpos-head-actions,
  body.bbbpos-order-page .bbbpos-meals-toolbar{
    display:grid!important;
    grid-template-columns:1fr 1fr!important;
    width:100%!important;
    gap:8px!important;
  }
  body.bbbpos-order-page .bbbpos-meals-toolbar .bbbpos-btn{
    width:100%!important;
    min-width:0!important;
    white-space:normal!important;
  }
  body.bbbpos-order-page .bbbpos-guest-top-compact,
  body.bbbpos-order-page .bbbpos-guest-title-compact{
    align-items:flex-start!important;
    flex-wrap:wrap!important;
  }
  body.bbbpos-order-page .bbbpos-guest-inline-actions{
    display:flex!important;
    flex-wrap:wrap!important;
    width:100%!important;
    gap:6px!important;
  }
  body.bbbpos-order-page .bbbpos-guest-inline-actions .bbbpos-btn{
    flex:1 1 120px!important;
    min-width:0!important;
  }
  body.bbbpos-order-page .bbbpos-fields,
  body.bbbpos-guest-meal-page .bbbpos-fields{
    grid-template-columns:1fr!important;
    width:100%!important;
  }
  body.bbbpos-order-page .bbbpos-addon{
    grid-template-columns:minmax(0,1fr) auto!important;
    gap:10px!important;
  }
  body.bbbpos-order-page .bbbpos-addon>.bbbpos-addon-total{
    grid-column:1/-1!important;
    text-align:right!important;
  }
  body.bbbpos-order-page .bbbpos-actions,
  body.bbbpos-guest-meal-page .bbbpos-actions{
    width:100%!important;
  }
  body.bbbpos-order-page .bbbpos-actions .bbbpos-btn,
  body.bbbpos-guest-meal-page .bbbpos-actions .bbbpos-btn{
    flex:1 1 100%!important;
    width:100%!important;
  }
  body.bbbpos-order-page .bbbpos-legal-footer,
  body.bbbpos-guest-meal-page .bbbpos-legal-footer{
    padding-left:4px!important;
    padding-right:4px!important;
  }
}
@media(max-width:390px){
  body.bbbpos-order-page .bbbpos-shell,
  body.bbbpos-guest-meal-page .bbbpos-shell{padding:9px!important}
  body.bbbpos-order-page .bbbpos-meta{grid-template-columns:1fr!important}
  body.bbbpos-order-page .bbbpos-head-actions,
  body.bbbpos-order-page .bbbpos-meals-toolbar{grid-template-columns:1fr!important}
  body.bbbpos-order-page .bbbpos-card,
  body.bbbpos-guest-meal-page .bbbpos-card{padding:14px!important}
}


/* v0.6.74: hard mobile fit for public Meal Selection */
@media (max-width: 760px){
  html,
  body.bbbpos-order-page,
  body.bbbpos-guest-meal-page{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    overflow-x:clip!important;
  }
  body.bbbpos-order-page .bbbpos-standalone-main,
  body.bbbpos-guest-meal-page .bbbpos-standalone-main,
  body.bbbpos-order-page .bbbpos-app,
  body.bbbpos-guest-meal-page .bbbpos-app,
  body.bbbpos-order-page .bbbpos-shell,
  body.bbbpos-guest-meal-page .bbbpos-shell{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin-left:0!important;
    margin-right:0!important;
    overflow-x:clip!important;
  }
  body.bbbpos-order-page .bbbpos-shell,
  body.bbbpos-guest-meal-page .bbbpos-shell{
    padding:12px!important;
  }
  body.bbbpos-order-page .bbbpos-grid,
  body.bbbpos-order-page .bbbpos-grid>main,
  body.bbbpos-order-page .bbbpos-grid>aside,
  body.bbbpos-order-page .bbbpos-card,
  body.bbbpos-order-page .bbbpos-guest,
  body.bbbpos-order-page .bbbpos-head,
  body.bbbpos-order-page .bbbpos-head-actions,
  body.bbbpos-order-page .bbbpos-meals-toolbar,
  body.bbbpos-order-page .bbbpos-guest-top,
  body.bbbpos-order-page .bbbpos-guest-title,
  body.bbbpos-order-page .bbbpos-guest-body,
  body.bbbpos-order-page .bbbpos-addon,
  body.bbbpos-guest-meal-page .bbbpos-card,
  body.bbbpos-guest-meal-page .bbbpos-fields{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
  }
  body.bbbpos-order-page .bbbpos-card,
  body.bbbpos-order-page .bbbpos-guest,
  body.bbbpos-guest-meal-page .bbbpos-card{
    overflow:clip!important;
  }

  /* Meal toolbar: always one button per row on phones. */
  body.bbbpos-order-page .bbbpos-card .bbbpos-head .bbbpos-head-actions.bbbpos-meals-toolbar{
    display:grid!important;
    grid-template-columns:minmax(0,1fr)!important;
    gap:8px!important;
    align-items:stretch!important;
    justify-content:stretch!important;
    flex-wrap:wrap!important;
  }
  body.bbbpos-order-page .bbbpos-card .bbbpos-head .bbbpos-meals-toolbar>.bbbpos-btn{
    display:flex!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    min-height:44px!important;
    align-items:center!important;
    justify-content:center!important;
    white-space:normal!important;
    overflow-wrap:anywhere!important;
  }
  body.bbbpos-order-page .bbbpos-card .bbbpos-head .bbbpos-meals-toolbar>#bbb-add-guest:disabled{
    display:none!important;
  }

  /* Guest cards: title and controls cannot force a wider viewport. */
  body.bbbpos-order-page .bbbpos-guest{
    position:relative!important;
    padding:16px!important;
  }
  body.bbbpos-order-page .bbbpos-guest-top.bbbpos-guest-top-compact{
    display:block!important;
    padding-right:52px!important;
    margin:0!important;
  }
  body.bbbpos-order-page .bbbpos-guest-top-compact>.bbbpos-guest-toggle{
    position:absolute!important;
    top:12px!important;
    right:12px!important;
    width:42px!important;
    height:42px!important;
    min-width:42px!important;
    max-width:42px!important;
    padding:0!important;
    margin:0!important;
    flex:none!important;
  }
  body.bbbpos-order-page .bbbpos-guest-title.bbbpos-guest-title-compact{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
  }
  body.bbbpos-order-page .bbbpos-guest-label{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    padding:5px 0 12px!important;
    font-size:20px!important;
    line-height:1.2!important;
    overflow-wrap:anywhere!important;
  }
  body.bbbpos-order-page .bbbpos-guest-inline-actions{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:7px!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
  }
  body.bbbpos-order-page .bbbpos-guest-inline-actions>*{
    display:flex!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    min-height:38px!important;
    margin:0!important;
    padding:8px 7px!important;
    align-items:center!important;
    justify-content:center!important;
    text-align:center!important;
    white-space:normal!important;
    overflow-wrap:anywhere!important;
    line-height:1.15!important;
  }
  body.bbbpos-order-page .bbbpos-guest-inline-actions .bbb-delete-guest:disabled{
    display:none!important;
  }
  body.bbbpos-order-page .bbbpos-guest-body{
    padding-top:14px!important;
  }

  /* Add-ons: label spans first row; quantity and total share the second row. */
  body.bbbpos-order-page .bbbpos-addon{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    grid-template-areas:
      "copy copy"
      "qty total"!important;
    gap:10px 12px!important;
    align-items:center!important;
    padding:16px 0!important;
  }
  body.bbbpos-order-page .bbbpos-addon>.bbbpos-addon-copy,
  body.bbbpos-order-page .bbbpos-addon>div:first-child{
    grid-area:copy!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
  }
  body.bbbpos-order-page .bbbpos-addon>.bbbpos-qty{
    grid-area:qty!important;
    display:grid!important;
    grid-template-columns:44px minmax(28px,auto) 44px!important;
    gap:8px!important;
    width:max-content!important;
    max-width:100%!important;
    min-width:0!important;
    justify-self:start!important;
  }
  body.bbbpos-order-page .bbbpos-addon>.bbbpos-qty button{
    width:44px!important;
    height:44px!important;
    min-width:44px!important;
    max-width:44px!important;
    padding:0!important;
  }
  body.bbbpos-order-page .bbbpos-addon>.bbbpos-qty span{
    min-width:28px!important;
    text-align:center!important;
  }
  body.bbbpos-order-page .bbbpos-addon>.bbbpos-addon-total{
    grid-area:total!important;
    width:auto!important;
    max-width:100%!important;
    min-width:0!important;
    justify-self:end!important;
    text-align:right!important;
    white-space:nowrap!important;
  }
  body.bbbpos-order-page .bbbpos-addon-highlight{
    padding:16px!important;
    margin-left:0!important;
    margin-right:0!important;
  }
  body.bbbpos-order-page .bbbpos-addon-highlight>.bbbpos-addon-total{
    font-size:20px!important;
  }

  body.bbbpos-order-page .bbbpos-meta,
  body.bbbpos-order-page .bbbpos-fields,
  body.bbbpos-guest-meal-page .bbbpos-fields{
    grid-template-columns:minmax(0,1fr)!important;
  }
  body.bbbpos-order-page .bbbpos-hero h1,
  body.bbbpos-guest-meal-page .bbbpos-hero h1{
    font-size:clamp(28px,9vw,40px)!important;
    line-height:1.08!important;
  }
}

@media (max-width: 380px){
  body.bbbpos-order-page .bbbpos-shell,
  body.bbbpos-guest-meal-page .bbbpos-shell{padding:8px!important}
  body.bbbpos-order-page .bbbpos-card,
  body.bbbpos-order-page .bbbpos-guest,
  body.bbbpos-guest-meal-page .bbbpos-card{padding:13px!important}
  body.bbbpos-order-page .bbbpos-guest-inline-actions{grid-template-columns:minmax(0,1fr)!important}
  body.bbbpos-order-page .bbbpos-addon>.bbbpos-qty{grid-template-columns:40px minmax(24px,auto) 40px!important}
  body.bbbpos-order-page .bbbpos-addon>.bbbpos-qty button{width:40px!important;height:40px!important;min-width:40px!important;max-width:40px!important}
}


/* v0.6.76: clearer customer-link controls and staff-only send action */
.bbbpos-send-customer-link{background:#e8f2ff!important;color:#0066cc!important}
.bbbpos-send-customer-link:hover{background:#dbeaff!important}
.bbbpos-toolbar-feedback{margin:0 0 14px!important;padding:0 2px!important}
@media (min-width:761px){
  .bbbpos-meals-toolbar{max-width:760px!important}
}

/* =========================================================
   BBBPOS v0.7.0 — Host Order + Individual Guest Meal Pages
   ========================================================= */
body.bbbpos-order-page,
body.bbbpos-guest-meal-page{
  overflow-x:hidden!important;
  background:#f3f6fb!important;
}
body.bbbpos-order-page *,
body.bbbpos-guest-meal-page *{box-sizing:border-box}
body.bbbpos-modal-open{overflow:hidden!important}
.bbbpos-v7-host,
.bbbpos-v7-individual{
  width:min(1480px,100%)!important;
  max-width:100%!important;
  margin:0 auto!important;
  padding-bottom:116px!important;
  overflow:visible!important;
}
.bbbpos-v7-loading{
  width:min(720px,calc(100% - 32px));
  margin:80px auto;
  padding:28px;
  border:1px solid #dce4ef;
  border-radius:22px;
  background:#fff;
  text-align:center;
  font-weight:700;
  color:#41546d;
  box-shadow:0 18px 50px rgba(15,34,58,.08);
}
.bbbpos-v7-eventbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  width:100%;
  min-width:0;
  margin:0 0 18px;
  padding:20px 24px;
  color:#fff;
  border:1px solid rgba(255,255,255,.2);
  border-radius:24px;
  background:linear-gradient(135deg,#0b5ed7 0%,#2477e8 58%,#5095ef 100%);
  box-shadow:0 22px 52px rgba(25,100,210,.22);
}
.bbbpos-v7-eventbar>div{min-width:0}
.bbbpos-v7-page-kicker{
  display:block;
  margin-bottom:5px;
  font-size:11px;
  line-height:1.2;
  font-weight:900;
  letter-spacing:.16em;
  opacity:.82;
}
.bbbpos-v7-eventbar h1{
  margin:0!important;
  color:#fff!important;
  font-size:clamp(22px,2.3vw,34px)!important;
  line-height:1.08!important;
  overflow-wrap:anywhere;
}
.bbbpos-v7-eventline{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  flex-wrap:wrap;
  gap:8px 14px;
  min-width:0;
  font-size:14px;
  font-weight:700;
}
.bbbpos-v7-eventline>span:not(.bbbpos-v7-status){
  white-space:nowrap;
  opacity:.96;
}
.bbbpos-v7-status{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:30px;
  padding:6px 11px;
  border-radius:999px;
  white-space:nowrap;
  font-size:12px;
  line-height:1;
  font-weight:900;
  letter-spacing:.01em;
  color:#526071;
  background:#edf1f6;
  border:1px solid #dce3ec;
}
.bbbpos-v7-status.not_started{color:#596579;background:#eef1f5;border-color:#dde3eb}
.bbbpos-v7-status.in_progress{color:#8b5a00;background:#fff7db;border-color:#f1dc8b}
.bbbpos-v7-status.meal_completed{color:#146c3f;background:#e9f8ef;border-color:#bde6cb}
.bbbpos-v7-status.submitted{color:#8a4f00;background:#fff1d6;border-color:#efc276}
.bbbpos-v7-status.host_confirmed{color:#0757b9;background:#e7f1ff;border-color:#b9d7ff}
.bbbpos-v7-eventbar .bbbpos-v7-status{
  color:#fff;
  background:rgba(255,255,255,.15);
  border-color:rgba(255,255,255,.32);
}
.bbbpos-v7-deadline-card{
  display:grid!important;
  grid-template-columns:minmax(220px,1fr) auto;
  align-items:center;
  gap:16px 24px;
  margin-bottom:18px!important;
  padding:18px 22px!important;
}
.bbbpos-v7-deadline-card>div:first-child{display:flex;flex-direction:column;gap:4px;min-width:0}
.bbbpos-v7-deadline-card>div:first-child strong{font-size:17px;color:#17233a}
.bbbpos-v7-deadline-card>div:first-child span{font-size:13px;color:#69788c}
.bbbpos-v7-deadline-actions{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  flex-wrap:wrap;
  gap:8px;
}
.bbbpos-v7-deadline-actions input{
  width:auto!important;
  min-width:220px;
  min-height:44px;
}
.bbbpos-v7-deadline-card>.bbbpos-inline-feedback{grid-column:1/-1;margin:0}
.bbbpos-v7-layout{
  display:grid;
  grid-template-columns:minmax(0,1fr) 330px;
  gap:18px;
  align-items:start;
  min-width:0;
}
.bbbpos-v7-layout>main,
.bbbpos-v7-layout>aside{min-width:0}
.bbbpos-v7-layout>aside{
  position:sticky;
  top:18px;
  display:grid;
  gap:18px;
}
.bbbpos-v7-meals-card{padding:22px!important}
.bbbpos-v7-meals-head{
  align-items:flex-start!important;
  gap:16px!important;
}
.bbbpos-v7-meals-head h2{margin-bottom:5px!important}
.bbbpos-v7-toolbar{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  flex-wrap:wrap!important;
  gap:8px!important;
  max-width:100%!important;
}
.bbbpos-v7-toolbar .bbbpos-btn{min-height:42px;white-space:nowrap}
.bbbpos-v7-meal{
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  margin:14px 0 0!important;
  padding:0!important;
  overflow:hidden!important;
  border:1px solid #dfe5ee!important;
  border-radius:20px!important;
  background:#fff!important;
  box-shadow:0 8px 24px rgba(19,41,75,.055)!important;
}
.bbbpos-v7-meal.locked{background:#f9fbfd!important}
.bbbpos-v7-meal-head{
  display:grid;
  grid-template-columns:36px minmax(160px,1fr) auto auto auto;
  align-items:center;
  gap:10px;
  min-width:0;
  padding:15px 16px;
  background:#f8fafd;
  border-bottom:1px solid #e6ebf2;
}
.bbbpos-v7-meal.is-collapsed .bbbpos-v7-meal-head{border-bottom:0}
.bbbpos-v7-meal-toggle{
  display:inline-grid;
  place-items:center;
  width:34px;
  height:34px;
  min-width:34px;
  padding:0;
  border:0;
  border-radius:50%;
  background:#eef3f9;
  color:#142033;
  font-size:24px;
  line-height:1;
  cursor:pointer;
}
.bbbpos-v7-meal-title{display:flex;flex-direction:column;gap:2px;min-width:0}
.bbbpos-v7-meal-title strong{
  min-width:0;
  color:#172132;
  font-size:17px;
  line-height:1.25;
  overflow-wrap:anywhere;
}
.bbbpos-v7-meal-title span{color:#6d7b8e;font-size:12px;font-weight:700}
.bbbpos-v7-save-state{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:30px;
  padding:6px 10px;
  border-radius:999px;
  white-space:nowrap;
  font-size:12px;
  font-weight:900;
}
.bbbpos-v7-save-state.is-saved{color:#146c3f;background:#e9f8ef}
.bbbpos-v7-save-state.is-unsaved{color:#8f5700;background:#fff2cd}
.bbbpos-v7-save-state.is-saving{color:#0757b9;background:#e7f1ff}
.bbbpos-v7-save-state.is-error{color:#b42318;background:#feeceb}
.bbbpos-v7-meal-head-actions{display:flex;align-items:center;justify-content:flex-end;gap:7px;min-width:0}
.bbbpos-v7-meal-head-actions .bbbpos-btn{min-height:38px;padding:8px 12px!important;white-space:nowrap}
.bbbpos-v7-meal-body{padding:20px;min-width:0}
.bbbpos-v7-contact-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
  min-width:0;
}
.bbbpos-v7-contact-grid>.bbbpos-field:last-child:nth-child(odd){grid-column:1/-1}
.bbbpos-v7-protein-grid{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:14px!important;
  margin-top:14px!important;
}
.bbbpos-v7-meal input,
.bbbpos-v7-meal select,
.bbbpos-v7-meal textarea,
.bbbpos-v7-individual input,
.bbbpos-v7-individual select,
.bbbpos-v7-individual textarea{
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
}
.bbbpos-v7-allergies{
  min-width:0;
  margin:16px 0;
  padding:16px;
  border:1px solid #dde5ee;
  border-radius:16px;
  background:#fbfcfe;
}
.bbbpos-v7-allergies legend{padding:0 6px;color:#17233a;font-weight:900}
.bbbpos-v7-allergies small{display:block;margin-top:9px;color:#6b788a}
.bbbpos-v7-allergy-options{display:flex;flex-wrap:wrap;gap:8px}
.bbbpos-v7-allergy-options label{position:relative;margin:0;cursor:pointer}
.bbbpos-v7-allergy-options input{position:absolute;opacity:0;pointer-events:none}
.bbbpos-v7-allergy-options span{
  display:inline-flex;
  align-items:center;
  min-height:36px;
  padding:8px 12px;
  border:1px solid #dbe3ed;
  border-radius:999px;
  color:#3d4c61;
  background:#fff;
  font-size:13px;
  font-weight:800;
  transition:.15s ease;
}
.bbbpos-v7-allergy-options input:checked+span{color:#075fc7;background:#eaf3ff;border-color:#8dbef7;box-shadow:0 0 0 2px rgba(37,118,222,.08)}
.bbbpos-v7-meal-footer{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:end;
  gap:18px;
  margin-top:18px;
  padding-top:18px;
  border-top:1px solid #e8edf3;
}
.bbbpos-v7-meal-footer>div:last-child{display:flex;flex-direction:column;align-items:flex-end;gap:7px}
.bbbpos-v7-autosave-panel{min-width:180px;padding:13px 14px;border:1px solid #dce6f2;border-radius:14px;background:#f7fbff;text-align:right}
.bbbpos-v7-autosave-panel strong,.bbbpos-v7-private-autosave strong{display:block;color:#105fbe;font-size:13px}
.bbbpos-v7-autosave-panel span,.bbbpos-v7-private-autosave span{display:block;margin-top:3px;color:#69788c;font-size:12px}
.bbbpos-v7-autosave-panel .bbbpos-inline-feedback,.bbbpos-v7-private-autosave .bbbpos-inline-feedback{margin:7px 0 0;padding:0;background:transparent;border:0;font-size:12px}
.bbbpos-v7-add-meal-row{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:18px;padding:18px;border:1px dashed #9fc3ee;border-radius:17px;background:linear-gradient(135deg,#f5faff,#edf6ff)}
.bbbpos-v7-add-meal-row>div{display:flex;flex-direction:column;gap:3px;min-width:0}
.bbbpos-v7-add-meal-row strong{color:#18375e;font-size:16px}
.bbbpos-v7-add-meal-row span{color:#6b7c91;font-size:13px}
.bbbpos-v7-add-meal-row .bbbpos-btn{flex:0 0 auto;min-width:150px}
.bbbpos-v7-breakdown{min-width:0}
.bbbpos-v7-price-lines{
  width:min(100%,560px);
  padding:14px 16px;
  border:1px solid #dfe7f0;
  border-radius:15px;
  background:#f8fbff;
}
.bbbpos-v7-price-lines>div{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:4px 0;color:#536277;font-size:13px}
.bbbpos-v7-price-lines>div span{min-width:0;overflow-wrap:anywhere}
.bbbpos-v7-price-lines>div strong{flex:0 0 auto;color:#233147}
.bbbpos-v7-price-lines>.total{margin-top:6px;padding-top:10px;border-top:1px solid #dce5ef;color:#142038;font-size:15px;font-weight:900}
.bbbpos-v7-price-lines>.total strong{color:#075fc7;font-size:18px}
.bbbpos-v7-addons{margin-top:18px!important}
.bbbpos-v7-addons .bbbpos-addon{min-width:0!important}
.bbbpos-v7-summary{overflow:hidden}
.bbbpos-v7-summary .bbbpos-btn{width:100%;margin-top:12px}
.bbbpos-v7-summary-warning,
.bbbpos-v7-summary-ready{margin-top:12px;padding:11px 12px;border-radius:12px;font-size:13px;font-weight:800}
.bbbpos-v7-summary-warning{color:#895900;background:#fff5d6;border:1px solid #eed89a}
.bbbpos-v7-summary-ready{color:#146c3f;background:#eaf8ef;border:1px solid #c2e8cf}
.bbbpos-v7-sticky-summary{
  position:fixed;
  z-index:1005;
  left:50%;
  bottom:max(14px,env(safe-area-inset-bottom));
  transform:translateX(-50%);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  width:min(920px,calc(100% - 28px));
  min-width:0;
  padding:13px 14px 13px 18px;
  border:1px solid rgba(197,210,228,.95);
  border-radius:20px;
  background:rgba(255,255,255,.96);
  box-shadow:0 18px 60px rgba(13,34,66,.2);
  backdrop-filter:blur(16px);
  -webkit-backdrop-filter:blur(16px);
}
.bbbpos-v7-sticky-summary>div{display:grid;grid-template-columns:auto auto;align-items:baseline;gap:0 10px;min-width:0}
.bbbpos-v7-sticky-summary span{color:#69778a;font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.05em}
.bbbpos-v7-sticky-summary strong{color:#10213a;font-size:24px;line-height:1}
.bbbpos-v7-sticky-summary small{grid-column:1/-1;margin-top:4px;color:#647489;white-space:normal}
.bbbpos-v7-sticky-summary .bbbpos-btn{flex:0 0 auto;white-space:nowrap}

/* Modal, add meal, send and final review */
.bbbpos-v7-modal-backdrop{
  position:fixed;
  z-index:100000;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:20px;
  background:rgba(8,18,34,.64);
  backdrop-filter:blur(5px);
  -webkit-backdrop-filter:blur(5px);
}
.bbbpos-v7-modal{
  position:relative;
  width:min(680px,100%);
  max-width:100%;
  max-height:min(860px,calc(100dvh - 40px));
  overflow:auto;
  padding:28px;
  border-radius:24px;
  background:#fff;
  box-shadow:0 34px 100px rgba(3,15,35,.34);
}
.bbbpos-v7-review-modal{width:min(980px,100%)}
.bbbpos-v7-modal h2{margin:3px 42px 18px 0;color:#162238;font-size:28px}
.bbbpos-v7-modal h3{margin:24px 0 10px;color:#1f2c42;font-size:17px}
.bbbpos-v7-modal-close{
  position:absolute;
  top:14px;
  right:14px;
  display:grid;
  place-items:center;
  width:38px;
  height:38px;
  padding:0;
  border:0;
  border-radius:50%;
  background:#eef2f7;
  color:#172033;
  font-size:25px;
  cursor:pointer;
}
.bbbpos-v7-modal-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.bbbpos-v7-choice{margin:18px 0;padding:15px;border:1px solid #dce4ee;border-radius:15px;background:#fafcff}
.bbbpos-v7-choice legend{padding:0 5px;font-weight:900}
.bbbpos-v7-choice label,.bbbpos-v7-channel-choice label{display:flex;align-items:center;gap:8px;margin:9px 0;font-weight:700;color:#37465a}
.bbbpos-v7-choice input,.bbbpos-v7-channel-choice input{width:auto!important}
.bbbpos-v7-channel-choice{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 12px;margin-top:12px}
.bbbpos-v7-send-buttons{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:18px}
.bbbpos-v7-send-buttons .bbbpos-btn{width:100%}
.bbbpos-v7-modal-actions{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:10px;margin-top:22px}
.bbbpos-v7-review-event{display:flex;flex-wrap:wrap;gap:7px 18px;padding:14px 16px;border-radius:14px;background:#eef5ff;color:#40526b}
.bbbpos-v7-review-event strong{color:#105cb8}
.bbbpos-v7-review-meals{display:grid;gap:9px}
.bbbpos-v7-review-meal{
  display:grid;
  grid-template-columns:minmax(150px,1.2fr) minmax(160px,1fr) minmax(180px,1.2fr) auto;
  gap:12px;
  align-items:center;
  padding:13px 14px;
  border:1px solid #e1e7ef;
  border-radius:14px;
  color:#536176;
  font-size:13px;
}
.bbbpos-v7-review-meal>div:first-child{display:flex;flex-direction:column;gap:2px}
.bbbpos-v7-review-meal>div:first-child strong{color:#17233a;font-size:15px}
.bbbpos-v7-review-meal>strong{color:#075fc7;font-size:16px;white-space:nowrap}
.bbbpos-v7-review-items>div{display:flex;justify-content:space-between;gap:20px;padding:8px 0;border-bottom:1px solid #edf1f5}
.bbbpos-v7-review-total{display:flex;justify-content:space-between;align-items:center;margin-top:18px;padding:16px;border-radius:15px;color:#fff;background:#102f5d}
.bbbpos-v7-review-total strong{font-size:26px}
.bbbpos-v7-confirm-check{display:flex;align-items:flex-start;gap:14px;margin-top:18px;padding:18px;border:1px solid #bcd7f8;border-radius:14px;background:#edf6ff;font-weight:800;color:#21466f;line-height:1.4;cursor:pointer;user-select:none}
.bbbpos-v7-confirm-check input{appearance:auto!important;-webkit-appearance:checkbox!important;width:28px!important;height:28px!important;min-width:28px!important;flex:0 0 28px;margin:0!important;margin-top:1px!important;accent-color:#1769e0;cursor:pointer}
@media (max-width:640px){.bbbpos-v7-confirm-check{gap:14px;padding:18px 16px;font-size:17px;line-height:1.45}.bbbpos-v7-confirm-check input{width:32px!important;height:32px!important;min-width:32px!important;flex-basis:32px}}

/* Individual Guest Meal Page */
.bbbpos-v7-individual{width:min(920px,100%)!important}
.bbbpos-v7-individual .bbbpos-v7-eventbar{align-items:center}
.bbbpos-v7-guest-editor{padding:24px!important}
.bbbpos-v7-guest-editor>.bbbpos-v7-meal-head{
  margin:-24px -24px 20px;
  grid-template-columns:minmax(0,1fr) auto auto;
  border-radius:20px 20px 0 0;
}
.bbbpos-v7-private-autosave{margin-top:18px;padding:15px 16px;border:1px solid #dce6f2;border-radius:15px;background:#f7fbff}

/* Accessibility and interaction */
.bbbpos-v7-modal button:focus-visible,
.bbbpos-v7-host button:focus-visible,
.bbbpos-v7-individual button:focus-visible,
.bbbpos-v7-allergy-options input:focus-visible+span{outline:3px solid rgba(27,111,224,.28);outline-offset:2px}
.bbbpos-v7-meal [hidden],
.bbbpos-v7-individual [hidden]{display:none!important}

@media (max-width:1180px){
  .bbbpos-v7-layout{grid-template-columns:minmax(0,1fr) 290px}
  .bbbpos-v7-meal-head{grid-template-columns:36px minmax(140px,1fr) auto auto}
  .bbbpos-v7-meal-head-actions{grid-column:2/-1;justify-content:flex-start}
}
@media (max-width:960px){
  .bbbpos-v7-eventbar{align-items:flex-start;flex-direction:column}
  .bbbpos-v7-eventline{justify-content:flex-start}
  .bbbpos-v7-layout{grid-template-columns:minmax(0,1fr)}
  .bbbpos-v7-layout>aside{position:static;grid-template-columns:repeat(2,minmax(0,1fr))}
  .bbbpos-v7-meals-head{flex-direction:column!important}
  .bbbpos-v7-toolbar{justify-content:flex-start!important}
  .bbbpos-v7-protein-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .bbbpos-v7-review-meal{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:720px){
  .bbbpos-v7-host,.bbbpos-v7-individual{padding-bottom:150px!important}
  .bbbpos-v7-eventbar{padding:17px 18px;border-radius:20px}
  .bbbpos-v7-eventline{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%;gap:7px 12px}
  .bbbpos-v7-eventline>span:not(.bbbpos-v7-status){white-space:normal;overflow-wrap:anywhere}
  .bbbpos-v7-eventline .bbbpos-v7-status{justify-self:start}
  .bbbpos-v7-deadline-card{grid-template-columns:minmax(0,1fr)}
  .bbbpos-v7-deadline-actions{justify-content:flex-start}
  .bbbpos-v7-deadline-actions input{width:100%!important;min-width:0}
  .bbbpos-v7-deadline-actions .bbbpos-btn{flex:1 1 160px}
  .bbbpos-v7-layout>aside{grid-template-columns:minmax(0,1fr)}
  .bbbpos-v7-meals-card{padding:15px!important}
  .bbbpos-v7-toolbar{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;width:100%!important}
  .bbbpos-v7-toolbar .bbbpos-btn{width:100%;white-space:normal}
  .bbbpos-v7-meal-head{
    grid-template-columns:34px minmax(0,1fr) auto;
    gap:8px;
    padding:13px 12px;
  }
  .bbbpos-v7-meal-head>.bbbpos-v7-status{grid-column:2;justify-self:start}
  .bbbpos-v7-meal-head>.bbbpos-v7-save-state{grid-column:3;grid-row:2}
  .bbbpos-v7-meal-head-actions{grid-column:2/-1;width:100%;display:grid;grid-template-columns:minmax(0,1fr) auto}
  .bbbpos-v7-meal-head-actions .bbbpos-btn{width:100%;white-space:normal}
  .bbbpos-v7-meal-body{padding:15px 12px}
  .bbbpos-v7-contact-grid,.bbbpos-v7-protein-grid{grid-template-columns:minmax(0,1fr)!important}
  .bbbpos-v7-contact-grid>.bbbpos-field:last-child:nth-child(odd){grid-column:auto}
  .bbbpos-v7-meal-footer{grid-template-columns:minmax(0,1fr)}
  .bbbpos-v7-meal-footer>div:last-child{align-items:stretch}
  .bbbpos-v7-autosave-panel{text-align:left;min-width:0}
  .bbbpos-v7-add-meal-row{align-items:stretch;flex-direction:column}
  .bbbpos-v7-add-meal-row .bbbpos-btn{width:100%;min-width:0}
  .bbbpos-v7-price-lines{width:100%}
  .bbbpos-v7-sticky-summary{
    align-items:stretch;
    flex-direction:column;
    gap:10px;
    bottom:max(8px,env(safe-area-inset-bottom));
    width:calc(100% - 16px);
    padding:12px;
    border-radius:18px;
  }
  .bbbpos-v7-sticky-summary>div{grid-template-columns:auto 1fr}
  .bbbpos-v7-sticky-summary strong{text-align:right;font-size:22px}
  .bbbpos-v7-sticky-summary .bbbpos-btn{width:100%;min-height:48px;white-space:normal}
  .bbbpos-v7-modal-backdrop{align-items:flex-end;padding:0}
  .bbbpos-v7-modal{
    width:100%;
    max-height:92dvh;
    padding:23px 16px calc(20px + env(safe-area-inset-bottom));
    border-radius:24px 24px 0 0;
  }
  .bbbpos-v7-modal-grid,.bbbpos-v7-channel-choice,.bbbpos-v7-send-buttons{grid-template-columns:minmax(0,1fr)}
  .bbbpos-v7-modal-actions{display:grid;grid-template-columns:minmax(0,1fr)}
  .bbbpos-v7-modal-actions .bbbpos-btn{width:100%}
  .bbbpos-v7-review-meal{grid-template-columns:minmax(0,1fr);gap:7px}
  .bbbpos-v7-review-meal>strong{justify-self:start}
  .bbbpos-v7-guest-editor{padding:16px!important}
  .bbbpos-v7-guest-editor>.bbbpos-v7-meal-head{margin:-16px -16px 16px;grid-template-columns:minmax(0,1fr) auto}
  .bbbpos-v7-guest-editor>.bbbpos-v7-meal-head .bbbpos-v7-save-state{grid-column:1/-1;justify-self:start}
}
@media (max-width:440px){
  .bbbpos-v7-eventline{grid-template-columns:minmax(0,1fr)}
  .bbbpos-v7-toolbar{grid-template-columns:minmax(0,1fr)!important}
  .bbbpos-v7-meal-head{
    grid-template-columns:32px minmax(0,1fr);
  }
  .bbbpos-v7-meal-head>.bbbpos-v7-status,
  .bbbpos-v7-meal-head>.bbbpos-v7-save-state{grid-column:2;grid-row:auto;justify-self:start}
  .bbbpos-v7-meal-head-actions{grid-column:1/-1;grid-template-columns:minmax(0,1fr)}
  .bbbpos-v7-allergy-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
  .bbbpos-v7-allergy-options span{width:100%;justify-content:center;text-align:center}
}

/* v0.7.2: administrator unlock control for Host Confirmed Meal Selection */
.bbbpos-v7-locked-notice{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
.bbbpos-v7-locked-notice>div:first-child{display:flex;flex-direction:column;gap:3px;min-width:220px}
.bbbpos-v7-locked-notice>div:first-child strong{font-size:16px}
.bbbpos-v7-locked-notice>div:first-child span{color:#41664a}
.bbbpos-v7-unlock-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.bbbpos-v7-unlock-actions small{color:#41664a;font-weight:700}
.bbbpos-v7-locked-notice .bbbpos-inline-feedback{flex-basis:100%;margin:0}
.bbbpos-v7-unlocked-flash{margin-top:14px}
@media(max-width:640px){.bbbpos-v7-locked-notice{align-items:stretch}.bbbpos-v7-unlock-actions{width:100%;align-items:stretch;flex-direction:column}.bbbpos-v7-unlock-actions .bbbpos-btn{width:100%}.bbbpos-v7-unlock-actions small{text-align:center}}



/* v0.7.7: compact private-link control and invoice-first confirmed action */
.bbbpos-v7-meal-head-actions .bbbpos-icon-link{
  width:42px!important;
  min-width:42px!important;
  height:42px;
  min-height:42px;
  padding:0!important;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-size:19px;
  line-height:1;
}
@media(max-width:760px){
  .bbbpos-v7-meal-head-actions{grid-template-columns:auto minmax(0,1fr)!important}
}
@media(max-width:440px){
  .bbbpos-v7-meal-head-actions{grid-template-columns:auto minmax(0,1fr)!important}
}

/* v0.7.8: compact one-line Host toolbar and Guest Meal controls */
.bbbpos-v7-host-meal-head{
  grid-template-columns:36px minmax(160px,1fr) auto!important;
}
.bbbpos-v7-meal-compact-actions{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:7px;
  min-width:0;
  flex-wrap:nowrap;
}
.bbbpos-v7-meal-compact-actions .bbbpos-v7-status,
.bbbpos-v7-meal-compact-actions .bbbpos-v7-save-state,
.bbbpos-v7-meal-compact-actions .bbbpos-btn{
  flex:0 0 auto;
  white-space:nowrap;
}
.bbbpos-v7-meal-compact-actions .bbbpos-btn{
  min-height:38px;
  padding:8px 12px!important;
}
.bbbpos-v7-meal-compact-actions .bbbpos-icon-link{
  width:38px!important;
  min-width:38px!important;
  height:38px;
  min-height:38px;
  padding:0!important;
}

@media (max-width:960px){
  .bbbpos-v7-toolbar{
    display:grid!important;
    grid-template-columns:minmax(72px,.8fr) minmax(132px,1.45fr) minmax(104px,1.1fr)!important;
    width:100%!important;
    gap:6px!important;
  }
  .bbbpos-v7-toolbar .bbbpos-btn{
    width:100%;
    min-width:0;
    min-height:38px;
    padding:8px 6px!important;
    font-size:12px;
    line-height:1.1;
    white-space:nowrap!important;
  }
  .bbbpos-v7-host-meal-head{
    grid-template-columns:34px minmax(0,1fr)!important;
    gap:8px!important;
    padding:12px!important;
  }
  .bbbpos-v7-host-meal-head .bbbpos-v7-meal-compact-actions{
    grid-column:1/-1;
    width:100%;
    justify-content:flex-start;
    gap:6px;
  }
  .bbbpos-v7-host-meal-head .bbbpos-v7-status,
  .bbbpos-v7-host-meal-head .bbbpos-v7-save-state{
    min-height:28px;
    padding:5px 8px;
    font-size:11px;
  }
  .bbbpos-v7-host-meal-head .bbbpos-v7-meal-compact-actions .bbbpos-btn{
    width:auto!important;
    min-height:32px;
    height:32px;
    padding:5px 10px!important;
    font-size:12px;
  }
  .bbbpos-v7-host-meal-head .bbbpos-v7-meal-compact-actions .bbbpos-icon-link{
    width:32px!important;
    min-width:32px!important;
    height:32px;
    min-height:32px;
    padding:0!important;
    font-size:16px;
  }
}

@media (max-width:440px){
  .bbbpos-v7-toolbar{
    grid-template-columns:minmax(64px,.8fr) minmax(124px,1.5fr) minmax(96px,1.1fr)!important;
    gap:4px!important;
  }
  .bbbpos-v7-toolbar .bbbpos-btn{
    min-height:36px;
    padding:7px 4px!important;
    font-size:10px;
    letter-spacing:-.1px;
  }
  .bbbpos-v7-host-meal-head{
    grid-template-columns:32px minmax(0,1fr)!important;
    padding:10px!important;
  }
  .bbbpos-v7-host-meal-head .bbbpos-v7-meal-title strong{font-size:16px}
  .bbbpos-v7-host-meal-head .bbbpos-v7-meal-compact-actions{
    gap:4px;
    justify-content:space-between;
  }
  .bbbpos-v7-host-meal-head .bbbpos-v7-status,
  .bbbpos-v7-host-meal-head .bbbpos-v7-save-state{
    min-height:26px;
    padding:4px 7px;
    font-size:10px;
  }
  .bbbpos-v7-host-meal-head .bbbpos-v7-meal-compact-actions .bbbpos-btn{
    min-height:30px;
    height:30px;
    padding:4px 9px!important;
    font-size:11px;
  }
  .bbbpos-v7-host-meal-head .bbbpos-v7-meal-compact-actions .bbbpos-icon-link{
    width:30px!important;
    min-width:30px!important;
    height:30px;
    min-height:30px;
    padding:0!important;
    font-size:15px;
  }
}

@media (max-width:360px){
  .bbbpos-v7-toolbar .bbbpos-btn{font-size:9px;padding:7px 2px!important}
  .bbbpos-v7-host-meal-head .bbbpos-v7-status,
  .bbbpos-v7-host-meal-head .bbbpos-v7-save-state{font-size:9px;padding:4px 6px}
  .bbbpos-v7-host-meal-head .bbbpos-v7-meal-compact-actions .bbbpos-btn{font-size:10px;padding:4px 7px!important}
}

@media (max-width:360px){
  .bbbpos-v7-toolbar{grid-template-columns:minmax(58px,.78fr) minmax(112px,1.5fr) minmax(88px,1.08fr)!important;gap:3px!important}
}

/* v0.7.10: force the three Host Order toolbar actions onto one row on every phone */
body.bbbpos-order-page .bbbpos-card .bbbpos-head .bbbpos-head-actions.bbbpos-v7-toolbar{
  display:grid!important;
  grid-template-columns:minmax(0,.78fr) minmax(0,1.62fr) minmax(0,1.08fr)!important;
  align-items:stretch!important;
  gap:5px!important;
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  flex-wrap:nowrap!important;
}
body.bbbpos-order-page .bbbpos-card .bbbpos-head .bbbpos-head-actions.bbbpos-v7-toolbar>.bbbpos-btn{
  width:100%!important;
  min-width:0!important;
  max-width:none!important;
  margin:0!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:clip!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
}
@media (max-width:760px){
  body.bbbpos-order-page .bbbpos-card .bbbpos-head .bbbpos-head-actions.bbbpos-v7-toolbar{
    grid-template-columns:minmax(0,.76fr) minmax(0,1.66fr) minmax(0,1.08fr)!important;
    gap:4px!important;
  }
  body.bbbpos-order-page .bbbpos-card .bbbpos-head .bbbpos-head-actions.bbbpos-v7-toolbar>.bbbpos-btn{
    min-height:36px!important;
    padding:7px 3px!important;
    font-size:10px!important;
    line-height:1!important;
    letter-spacing:-.18px!important;
  }
}
@media (max-width:390px){
  body.bbbpos-order-page .bbbpos-card .bbbpos-head .bbbpos-head-actions.bbbpos-v7-toolbar{
    grid-template-columns:minmax(0,.72fr) minmax(0,1.72fr) minmax(0,1.06fr)!important;
    gap:3px!important;
  }
  body.bbbpos-order-page .bbbpos-card .bbbpos-head .bbbpos-head-actions.bbbpos-v7-toolbar>.bbbpos-btn{
    min-height:34px!important;
    padding:6px 1px!important;
    font-size:9px!important;
    letter-spacing:-.28px!important;
  }
}
@media (max-width:340px){
  body.bbbpos-order-page .bbbpos-card .bbbpos-head .bbbpos-head-actions.bbbpos-v7-toolbar>.bbbpos-btn{
    font-size:8px!important;
    letter-spacing:-.38px!important;
  }
}

/* v0.7.11: tighter mobile host header, compact Host Confirmed notice, and one-line deadline controls */
@media (max-width:720px){
  body.bbbpos-order-page .bbbpos-v7-eventbar{
    padding:14px 16px!important;
    border-radius:18px!important;
    gap:10px!important;
  }
  body.bbbpos-order-page .bbbpos-v7-eventbar h1{
    font-size:24px!important;
    line-height:1.05!important;
    margin-bottom:2px!important;
  }
  body.bbbpos-order-page .bbbpos-v7-page-kicker{
    font-size:11px!important;
    letter-spacing:.24em!important;
  }
  body.bbbpos-order-page .bbbpos-v7-eventline{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:6px 10px!important;
  }
  body.bbbpos-order-page .bbbpos-v7-eventline span,
  body.bbbpos-order-page .bbbpos-v7-eventline .bbbpos-v7-status{
    min-height:34px;
    display:flex;
    align-items:center;
  }

  body.bbbpos-order-page .bbbpos-v7-locked-notice{
    display:grid!important;
    grid-template-columns:minmax(0,1fr)!important;
    gap:10px!important;
    padding:16px 16px!important;
  }
  body.bbbpos-order-page .bbbpos-v7-locked-notice>div:first-child{
    min-width:0!important;
    gap:2px!important;
  }
  body.bbbpos-order-page .bbbpos-v7-locked-notice>div:first-child strong{
    font-size:15px!important;
  }
  body.bbbpos-order-page .bbbpos-v7-locked-notice>div:first-child span{
    font-size:13px!important;
    line-height:1.35!important;
  }
  body.bbbpos-order-page .bbbpos-v7-unlock-actions{
    width:100%!important;
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    align-items:center!important;
    gap:8px!important;
  }
  body.bbbpos-order-page .bbbpos-v7-unlock-actions .bbbpos-btn{
    width:100%!important;
    min-height:42px!important;
    padding:9px 12px!important;
    white-space:nowrap!important;
  }
  body.bbbpos-order-page .bbbpos-v7-unlock-actions small{
    margin:0!important;
    white-space:nowrap!important;
    text-align:right!important;
    font-size:12px!important;
  }

  body.bbbpos-order-page .bbbpos-v7-deadline-card{
    grid-template-columns:minmax(0,1fr)!important;
    gap:10px!important;
    padding:16px!important;
  }
  body.bbbpos-order-page .bbbpos-v7-deadline-card>div:first-child{
    gap:2px!important;
  }
  body.bbbpos-order-page .bbbpos-v7-deadline-card>div:first-child strong{
    font-size:15px!important;
  }
  body.bbbpos-order-page .bbbpos-v7-deadline-card>div:first-child span{
    font-size:13px!important;
    line-height:1.35!important;
  }
  body.bbbpos-order-page .bbbpos-v7-deadline-actions{
    display:grid!important;
    grid-template-columns:minmax(0,1.45fr) minmax(0,.9fr) minmax(0,.9fr)!important;
    align-items:center!important;
    gap:8px!important;
    width:100%!important;
  }
  body.bbbpos-order-page .bbbpos-v7-deadline-actions input{
    width:100%!important;
    min-width:0!important;
    min-height:42px!important;
    padding:9px 10px!important;
    font-size:15px!important;
  }
  body.bbbpos-order-page .bbbpos-v7-deadline-actions .bbbpos-btn{
    width:100%!important;
    min-width:0!important;
    min-height:42px!important;
    padding:9px 8px!important;
    white-space:nowrap!important;
    font-size:13px!important;
  }
}

@media (max-width:430px){
  body.bbbpos-order-page .bbbpos-v7-eventbar h1{font-size:22px!important}
  body.bbbpos-order-page .bbbpos-v7-eventline{grid-template-columns:minmax(0,1fr)!important}
  body.bbbpos-order-page .bbbpos-v7-unlock-actions{
    grid-template-columns:minmax(0,1fr)!important;
  }
  body.bbbpos-order-page .bbbpos-v7-unlock-actions small{
    text-align:center!important;
  }
  body.bbbpos-order-page .bbbpos-v7-deadline-actions{
    grid-template-columns:minmax(0,1.22fr) minmax(0,.9fr) minmax(0,.9fr)!important;
    gap:6px!important;
  }
  body.bbbpos-order-page .bbbpos-v7-deadline-actions input{
    font-size:14px!important;
    padding:8px 8px!important;
  }
  body.bbbpos-order-page .bbbpos-v7-deadline-actions .bbbpos-btn{
    min-height:40px!important;
    font-size:12px!important;
    padding:8px 4px!important;
  }
}

@media (max-width:360px){
  body.bbbpos-order-page .bbbpos-v7-deadline-actions{
    grid-template-columns:minmax(0,1.18fr) minmax(0,.88fr) minmax(0,.88fr)!important;
    gap:4px!important;
  }
  body.bbbpos-order-page .bbbpos-v7-deadline-actions .bbbpos-btn{
    font-size:11px!important;
    padding:8px 2px!important;
  }
}

/* v0.7.15: print-only invoice safeguards and two-field Guest identity row */
.bbbpos-v7-contact-grid{
  grid-template-columns:repeat(2,minmax(0,1fr));
}

@media print{
  body.bbbpos-invoice-page{
    margin:0!important;
    padding:0!important;
    background:#fff!important;
  }
  body.bbbpos-invoice-page .bbbpos-print-actions,
  body.bbbpos-invoice-page .bbbpos-invoice-review-actions,
  body.bbbpos-invoice-page .bbbpos-print-help-overlay,
  body.bbbpos-invoice-page .bbbpos-legal-footer{
    display:none!important;
  }
  body.bbbpos-invoice-page .bbbpos-standalone-main{
    margin:0!important;
    padding:0!important;
    width:100%!important;
    max-width:none!important;
  }
  body.bbbpos-invoice-page .bbbpos-invoice{
    margin:0!important;
    box-shadow:none!important;
    border:0!important;
    border-radius:0!important;
    overflow:visible!important;
  }
}

/* v0.7.17: unified Meal Selection alignment and controls */
body.bbbpos-order-page *,
body.bbbpos-guest-meal-page *,
body.bbbpos-invoice-page *{
  box-sizing:border-box;
}
body.bbbpos-order-page,
body.bbbpos-guest-meal-page,
body.bbbpos-invoice-page{
  overflow-x:hidden;
}

/* Center the Meal expand/collapse control in a fixed first column. */
body.bbbpos-order-page .bbbpos-v7-host-meal-head{
  grid-template-columns:40px minmax(0,1fr) auto!important;
  align-items:center!important;
}
body.bbbpos-order-page .bbbpos-v7-meal-toggle{
  align-self:center!important;
  justify-self:center!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:36px!important;
  min-width:36px!important;
  height:36px!important;
  min-height:36px!important;
  margin:0!important;
  padding:0 0 2px!important;
  font-family:Arial,sans-serif!important;
  font-size:19px!important;
  font-weight:800!important;
  line-height:1!important;
  text-align:center!important;
}
body.bbbpos-order-page .bbbpos-v7-meal-title,
body.bbbpos-order-page .bbbpos-v7-meal-compact-actions{
  align-self:center;
}

/* Keep labels, controls and columns aligned on Host and private Guest pages. */
body.bbbpos-order-page .bbbpos-field,
body.bbbpos-guest-meal-page .bbbpos-field{
  display:flex;
  flex-direction:column;
  align-self:stretch;
  min-width:0;
}
body.bbbpos-order-page .bbbpos-field>label,
body.bbbpos-guest-meal-page .bbbpos-field>label{
  min-height:20px;
  margin:0 0 7px!important;
  line-height:1.25;
}
body.bbbpos-order-page .bbbpos-v7-contact-grid,
body.bbbpos-order-page .bbbpos-v7-protein-grid,
body.bbbpos-guest-meal-page .bbbpos-v7-contact-grid,
body.bbbpos-guest-meal-page .bbbpos-v7-protein-grid{
  align-items:end!important;
}
body.bbbpos-order-page input,
body.bbbpos-order-page select,
body.bbbpos-order-page textarea,
body.bbbpos-guest-meal-page input,
body.bbbpos-guest-meal-page select,
body.bbbpos-guest-meal-page textarea{
  box-sizing:border-box!important;
  margin:0!important;
}

/* Replace inconsistent browser arrows with one correctly positioned chevron. */
body.bbbpos-order-page select,
body.bbbpos-guest-meal-page select{
  -webkit-appearance:none!important;
  appearance:none!important;
  background-color:#fff!important;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 7.5 10 12l4.5-4.5' fill='none' stroke='%23172233' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")!important;
  background-repeat:no-repeat!important;
  background-position:right 14px center!important;
  background-size:16px 16px!important;
  padding-right:44px!important;
}
body.bbbpos-order-page select:disabled,
body.bbbpos-guest-meal-page select:disabled{
  background-color:#f2f4f7!important;
}

/* Price details: no empty placeholder rows, full-width labels and stable total alignment. */
body.bbbpos-order-page .bbbpos-v7-price-lines,
body.bbbpos-guest-meal-page .bbbpos-v7-price-lines{
  width:100%!important;
  max-width:620px;
}
body.bbbpos-order-page .bbbpos-v7-price-lines>div,
body.bbbpos-guest-meal-page .bbbpos-v7-price-lines>div{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  align-items:center!important;
  gap:16px!important;
}
body.bbbpos-order-page .bbbpos-v7-price-lines>div:empty,
body.bbbpos-guest-meal-page .bbbpos-v7-price-lines>div:empty{
  display:none!important;
}
body.bbbpos-order-page .bbbpos-v7-price-lines>.total,
body.bbbpos-guest-meal-page .bbbpos-v7-price-lines>.total{
  min-height:48px;
}
body.bbbpos-order-page .bbbpos-v7-meal-footer{
  grid-template-columns:minmax(0,1fr) minmax(190px,260px)!important;
  align-items:stretch!important;
}
body.bbbpos-order-page .bbbpos-v7-autosave-panel{
  width:100%;
  min-width:0;
  height:100%;
  display:flex;
  flex-direction:column;
  justify-content:center;
}

/* Consistent card and action alignment. */
body.bbbpos-order-page .bbbpos-card,
body.bbbpos-order-page .bbbpos-v7-meal,
body.bbbpos-guest-meal-page .bbbpos-card{
  max-width:100%;
}
body.bbbpos-order-page .bbbpos-v7-allergy-options,
body.bbbpos-guest-meal-page .bbbpos-v7-allergy-options{
  align-items:center;
}
body.bbbpos-order-page .bbbpos-v7-meal-compact-actions{
  flex-wrap:nowrap!important;
}

@media (max-width:960px){
  body.bbbpos-order-page .bbbpos-v7-host-meal-head{
    grid-template-columns:38px minmax(0,1fr)!important;
  }
  body.bbbpos-order-page .bbbpos-v7-host-meal-head .bbbpos-v7-meal-compact-actions{
    grid-column:2!important;
    width:100%;
    justify-content:flex-start;
  }
}
@media (max-width:720px){
  body.bbbpos-order-page .bbbpos-v7-host-meal-head{
    grid-template-columns:36px minmax(0,1fr)!important;
    padding:12px!important;
  }
  body.bbbpos-order-page .bbbpos-v7-meal-toggle{
    width:32px!important;
    min-width:32px!important;
    height:32px!important;
    min-height:32px!important;
    font-size:17px!important;
  }
  body.bbbpos-order-page .bbbpos-v7-meal-body,
  body.bbbpos-guest-meal-page .bbbpos-v7-guest-editor{
    padding:14px!important;
  }
  body.bbbpos-order-page .bbbpos-v7-meal-footer{
    grid-template-columns:minmax(0,1fr)!important;
  }
  body.bbbpos-order-page .bbbpos-v7-autosave-panel{
    text-align:left!important;
    align-items:flex-start!important;
  }
  body.bbbpos-order-page select,
  body.bbbpos-guest-meal-page select{
    background-position:right 12px center!important;
    padding-right:40px!important;
  }
}
@media (max-width:440px){
  body.bbbpos-order-page .bbbpos-v7-host-meal-head .bbbpos-v7-meal-compact-actions{
    grid-column:1/-1!important;
  }
  body.bbbpos-order-page .bbbpos-v7-contact-grid,
  body.bbbpos-order-page .bbbpos-v7-protein-grid,
  body.bbbpos-guest-meal-page .bbbpos-v7-contact-grid,
  body.bbbpos-guest-meal-page .bbbpos-v7-protein-grid{
    grid-template-columns:minmax(0,1fr)!important;
  }
}

/* =========================================================
   BBBPOS v0.7.19 — Mobile-first Meal Selection + Invoice UI
   ========================================================= */

/* Guest progress overview */
body.bbbpos-order-page .bbbpos-v7-meal-stats{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
  margin:14px 0 12px;
}
body.bbbpos-order-page .bbbpos-v7-meal-stats>div{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-width:0;
  min-height:58px;
  padding:10px 12px;
  border:1px solid #dbe6f4;
  border-radius:14px;
  background:#f8fbff;
  color:#34516f;
}
body.bbbpos-order-page .bbbpos-v7-meal-stats strong{
  color:#075fc7;
  font-size:22px;
  line-height:1;
}
body.bbbpos-order-page .bbbpos-v7-meal-stats span{
  font-size:12px;
  font-weight:800;
}
body.bbbpos-order-page .bbbpos-v7-meal-stats .has-pending{
  border-color:#f2d49c;
  background:#fff9ed;
  color:#8a5800;
}
body.bbbpos-order-page .bbbpos-v7-meal-stats .has-pending strong{color:#c06a00}
body.bbbpos-order-page .bbbpos-v7-meal-stats .is-ready{
  border-color:#bfe4ce;
  background:#effaf3;
  color:#146c3f;
}
body.bbbpos-order-page .bbbpos-v7-meal-stats .is-ready strong{color:#146c3f}

/* Unified list headings and compact meal summaries. */
body.bbbpos-order-page .bbbpos-v7-meal-list-head{
  display:grid;
  grid-template-columns:minmax(150px,.72fr) minmax(220px,1.2fr) minmax(160px,.92fr) 86px;
  gap:14px;
  align-items:center;
  margin:4px 14px -4px 58px;
  padding:0 10px;
  color:#6d7888;
  font-size:10px;
  line-height:1.2;
  font-weight:900;
  letter-spacing:.06em;
  text-transform:uppercase;
}
body.bbbpos-order-page .bbbpos-v7-host-meal-head{
  grid-template-columns:40px minmax(150px,.72fr) minmax(0,2.2fr) auto!important;
  gap:12px!important;
  padding:12px 14px!important;
}
body.bbbpos-order-page .bbbpos-v7-meal-title strong{
  font-size:16px!important;
  line-height:1.2!important;
}
body.bbbpos-order-page .bbbpos-v7-meal-title span{
  font-size:11px!important;
  line-height:1.3!important;
}
body.bbbpos-order-page .bbbpos-v7-meal-summary{
  display:grid;
  grid-template-columns:minmax(170px,1.2fr) minmax(145px,.9fr) auto;
  gap:14px;
  align-items:center;
  min-width:0;
}
body.bbbpos-order-page .bbbpos-v7-meal-summary-cell{
  display:flex;
  flex-direction:column;
  gap:2px;
  min-width:0;
}
body.bbbpos-order-page .bbbpos-v7-meal-summary-cell small{
  display:none;
  color:#7d8795;
  font-size:9px;
  font-weight:900;
  letter-spacing:.05em;
  text-transform:uppercase;
}
body.bbbpos-order-page .bbbpos-v7-meal-summary-proteins strong,
body.bbbpos-order-page .bbbpos-v7-meal-summary-allergies span{
  display:block;
  min-width:0;
  overflow:hidden;
  color:#3d4a5d;
  font-size:13px;
  line-height:1.35;
  text-overflow:ellipsis;
  white-space:nowrap;
}
body.bbbpos-order-page .bbbpos-v7-meal-summary-proteins strong{font-weight:800;color:#213a59}
body.bbbpos-order-page .bbbpos-v7-meal-summary-price{
  color:#075fc7;
  font-size:17px;
  line-height:1;
  white-space:nowrap;
}
body.bbbpos-order-page .bbbpos-v7-meal-compact-actions{
  gap:5px!important;
  justify-content:flex-end!important;
}
body.bbbpos-order-page .bbbpos-v7-meal-compact-actions .bbbpos-v7-status,
body.bbbpos-order-page .bbbpos-v7-meal-compact-actions .bbbpos-v7-save-state{
  min-height:27px!important;
  padding:5px 8px!important;
  font-size:10px!important;
}
body.bbbpos-order-page .bbbpos-v7-meal-compact-actions .bbbpos-btn{
  min-height:30px!important;
  padding:5px 8px!important;
  font-size:10px!important;
}

/* Review page: readable guest rows and order counts. */
.bbbpos-v7-review-stats{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:8px;
  margin:14px 0 18px;
}
.bbbpos-v7-review-stats>div{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  min-height:68px;
  padding:9px;
  border:1px solid #dfe7f1;
  border-radius:13px;
  background:#f8fbff;
  text-align:center;
}
.bbbpos-v7-review-stats span{color:#6b7788;font-size:10px;font-weight:850;text-transform:uppercase;letter-spacing:.04em}
.bbbpos-v7-review-stats strong{margin-top:4px;color:#15233a;font-size:21px;line-height:1}
.bbbpos-v7-review-stats .has-pending strong{color:#c64535}
.bbbpos-v7-review-stats .is-ready strong{color:#147a48}
.bbbpos-v7-review-meal{
  grid-template-columns:minmax(150px,.9fr) minmax(190px,1.2fr) minmax(180px,1fr) auto!important;
  gap:14px!important;
  align-items:center!important;
  padding:12px 14px!important;
}
.bbbpos-v7-review-meal small{
  display:block;
  margin-bottom:3px;
  color:#7a8594;
  font-size:9px;
  font-weight:900;
  letter-spacing:.05em;
  text-transform:uppercase;
}
.bbbpos-v7-review-selection,
.bbbpos-v7-review-allergy{min-width:0}
.bbbpos-v7-review-selection strong,
.bbbpos-v7-review-allergy span{display:block;overflow-wrap:anywhere}
.bbbpos-v7-review-price{color:#075fc7!important;font-size:17px!important}
.bbbpos-v7-review-items>div{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto auto;
  align-items:center;
  gap:12px!important;
}
.bbbpos-v7-review-item-name{min-width:0;overflow-wrap:anywhere}
.bbbpos-v7-review-item-qty{color:#4e5b6c;font-weight:850;white-space:nowrap}

/* Invoice add-ons: keep the complete name and quantity visible. */
.bbbpos-addon-summary-item{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto auto!important;
  align-items:start!important;
  gap:7px!important;
  padding:4px 0!important;
}
.bbbpos-addon-summary-name{
  min-width:0!important;
  overflow:visible!important;
  color:#2d3748;
  text-overflow:clip!important;
  white-space:normal!important;
  overflow-wrap:anywhere;
}
.bbbpos-addon-summary-qty{
  color:#39465a;
  font-weight:850;
  white-space:nowrap;
}
.bbbpos-addon-summary-amount{white-space:nowrap}

/* Chef Summary: party counts are intentionally separate from ingredient totals. */
.bbbpos-party-counts{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
  margin:12px 0 14px;
  padding:12px;
  border:1px solid #dce6f2;
  border-radius:12px;
  background:#f8fbff;
}
.bbbpos-party-count{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-width:0;
  padding:8px 10px;
  border-radius:10px;
  background:#fff;
  box-shadow:0 4px 12px rgba(22,53,88,.05);
}
.bbbpos-party-count:first-child{border-right:1px solid #dfe7f1}
.bbbpos-party-count span{
  color:#53647a;
  font-size:12px;
  font-weight:850;
  white-space:nowrap;
}
.bbbpos-party-count strong{
  color:#075fc7;
  font-size:17px;
  white-space:nowrap;
}
.bbbpos-party-count-kids strong{color:#d96a00}
.bbbpos-chef-summary-under-total .bbbpos-ingredient-grid{
  margin-top:4px;
  padding-top:12px;
  border-top:1px solid #e4e9ef;
}

@media (max-width:1180px){
  body.bbbpos-order-page .bbbpos-v7-meal-list-head{display:none}
  body.bbbpos-order-page .bbbpos-v7-host-meal-head{
    grid-template-columns:38px minmax(140px,.7fr) minmax(0,1.7fr)!important;
  }
  body.bbbpos-order-page .bbbpos-v7-meal-compact-actions{
    grid-column:2/-1!important;
    justify-content:flex-start!important;
  }
}

@media (max-width:760px){
  body.bbbpos-order-page .bbbpos-v7-meals-card{padding:12px!important}
  body.bbbpos-order-page .bbbpos-v7-meals-head{gap:10px!important}
  body.bbbpos-order-page .bbbpos-v7-meal-stats{gap:6px;margin:10px 0}
  body.bbbpos-order-page .bbbpos-v7-meal-stats>div{
    min-height:50px;
    padding:8px 5px;
    gap:5px;
    border-radius:11px;
  }
  body.bbbpos-order-page .bbbpos-v7-meal-stats strong{font-size:18px}
  body.bbbpos-order-page .bbbpos-v7-meal-stats span{font-size:10px}
  body.bbbpos-order-page .bbbpos-v7-meal{
    margin-top:9px!important;
    border-radius:15px!important;
  }
  body.bbbpos-order-page .bbbpos-v7-host-meal-head{
    grid-template-columns:32px minmax(0,1fr)!important;
    gap:7px 9px!important;
    padding:10px!important;
  }
  body.bbbpos-order-page .bbbpos-v7-meal-toggle{
    grid-column:1;
    grid-row:1;
    width:29px!important;
    min-width:29px!important;
    height:29px!important;
    min-height:29px!important;
    font-size:16px!important;
  }
  body.bbbpos-order-page .bbbpos-v7-meal-title{
    grid-column:2;
    grid-row:1;
  }
  body.bbbpos-order-page .bbbpos-v7-meal-title strong{font-size:15px!important}
  body.bbbpos-order-page .bbbpos-v7-meal-summary{
    grid-column:2;
    grid-row:2;
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    gap:7px 10px;
    width:100%;
    padding-top:3px;
  }
  body.bbbpos-order-page .bbbpos-v7-meal-summary-cell small{display:block}
  body.bbbpos-order-page .bbbpos-v7-meal-summary-proteins{grid-column:1}
  body.bbbpos-order-page .bbbpos-v7-meal-summary-allergies{grid-column:1/-1}
  body.bbbpos-order-page .bbbpos-v7-meal-summary-price{
    grid-column:2;
    grid-row:1;
    align-self:end;
    font-size:16px;
  }
  body.bbbpos-order-page .bbbpos-v7-meal-summary-proteins strong,
  body.bbbpos-order-page .bbbpos-v7-meal-summary-allergies span{
    font-size:12px;
    white-space:normal;
    overflow:visible;
    text-overflow:clip;
  }
  body.bbbpos-order-page .bbbpos-v7-meal-compact-actions{
    grid-column:1/-1!important;
    grid-row:3;
    display:flex!important;
    width:100%!important;
    justify-content:flex-start!important;
    flex-wrap:wrap!important;
    padding-top:2px;
  }
  body.bbbpos-order-page .bbbpos-v7-meal-compact-actions .bbb-v7-delete-meal{margin-left:auto}
  body.bbbpos-order-page .bbbpos-v7-meal-body{padding:12px 10px!important}
  body.bbbpos-order-page .bbbpos-v7-contact-grid,
  body.bbbpos-order-page .bbbpos-v7-protein-grid{
    gap:10px!important;
  }
  body.bbbpos-order-page .bbbpos-v7-allergies{margin:12px 0;padding:12px}

  .bbbpos-v7-review-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
  .bbbpos-v7-review-stats>div{min-height:56px}
  .bbbpos-v7-review-meal{
    grid-template-columns:minmax(0,1fr) auto!important;
    gap:7px 10px!important;
  }
  .bbbpos-v7-review-guest,
  .bbbpos-v7-review-selection,
  .bbbpos-v7-review-allergy{grid-column:1}
  .bbbpos-v7-review-price{grid-column:2;grid-row:1;align-self:center}
  .bbbpos-v7-review-items>div{grid-template-columns:minmax(0,1fr) auto auto!important;gap:8px!important}

  body.bbbpos-invoice-page .bbbpos-addon-groups{gap:10px!important}
  body.bbbpos-invoice-page .bbbpos-addon-summary-item{
    grid-template-columns:minmax(0,1fr) auto auto!important;
    gap:6px!important;
    font-size:12px!important;
  }
  body.bbbpos-invoice-page .bbbpos-party-counts{
    gap:8px;
    margin:10px 0 12px;
    padding:9px;
  }
  body.bbbpos-invoice-page .bbbpos-party-count{padding:7px 5px;gap:5px}
  body.bbbpos-invoice-page .bbbpos-party-count span{font-size:11px}
  body.bbbpos-invoice-page .bbbpos-party-count strong{font-size:15px}
}

@media (max-width:420px){
  body.bbbpos-order-page .bbbpos-v7-toolbar .bbbpos-btn{
    min-height:36px!important;
    font-size:8.5px!important;
    padding:6px 2px!important;
  }
  body.bbbpos-order-page .bbbpos-v7-meal-compact-actions .bbbpos-v7-status,
  body.bbbpos-order-page .bbbpos-v7-meal-compact-actions .bbbpos-v7-save-state{
    min-height:24px!important;
    padding:4px 6px!important;
    font-size:9px!important;
  }
  body.bbbpos-order-page .bbbpos-v7-meal-compact-actions .bbbpos-btn{
    min-height:26px!important;
    padding:4px 7px!important;
    font-size:9px!important;
  }
  .bbbpos-addon-summary-item{
    grid-template-columns:minmax(0,1fr) auto auto!important;
    font-size:11px!important;
  }
  .bbbpos-addon-summary-qty{font-size:11px}
}

@media print{
  body.bbbpos-invoice-page .bbbpos-addon-summary-item{
    grid-template-columns:minmax(0,1fr) auto auto!important;
    gap:4px!important;
    padding:1px 0!important;
  }
  body.bbbpos-invoice-page .bbbpos-addon-summary-name{
    white-space:normal!important;
    overflow:visible!important;
    text-overflow:clip!important;
  }
  body.bbbpos-invoice-page .bbbpos-party-counts{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:4px!important;
    margin:5px 0 6px!important;
    padding:5px!important;
    break-inside:avoid!important;
  }
  body.bbbpos-invoice-page .bbbpos-party-count{
    min-height:0!important;
    padding:3px 5px!important;
    box-shadow:none!important;
  }
  body.bbbpos-invoice-page .bbbpos-party-count span{font-size:8px!important}
  body.bbbpos-invoice-page .bbbpos-party-count strong{font-size:10px!important}
  body.bbbpos-invoice-page .bbbpos-chef-summary-under-total .bbbpos-ingredient-grid{
    padding-top:5px!important;
  }
}

/* ========================================================================
   BBBPOS v0.7.20 — approved Host Order + Invoice & Review visual system
   ======================================================================== */
.bbbpos-v8-mobile-appbar,
.bbbpos-v8-mobile-nav,
.bbbpos-invoice-mobile-bar{display:none}

body.bbbpos-order-page .bbbpos-v8-host{
  width:min(1240px,calc(100% - 28px))!important;
  padding-top:14px!important;
}
body.bbbpos-order-page .bbbpos-v8-deadline-copy{
  display:flex!important;
  align-items:center;
  gap:13px;
  min-width:0;
}
body.bbbpos-order-page .bbbpos-v8-deadline-icon{
  display:grid;
  place-items:center;
  flex:0 0 34px;
  width:34px;
  height:34px;
  border:1px solid #cfe0fb;
  border-radius:50%;
  background:#eef5ff;
  color:#1769df;
  font-size:19px;
  font-weight:900;
}
body.bbbpos-order-page .bbbpos-v8-meal-list-head{
  display:grid;
  grid-template-columns:minmax(170px,1.1fr) minmax(110px,.65fr) repeat(3,minmax(120px,.82fr)) 36px;
  gap:10px;
  margin:14px 0 6px;
  padding:0 15px;
  color:#7b8492;
  font-size:10px;
  font-weight:850;
  letter-spacing:.02em;
  text-transform:none;
}
body.bbbpos-order-page .bbbpos-v7-host-meal-head{
  grid-template-columns:34px minmax(135px,.95fr) minmax(360px,2.4fr) auto 34px!important;
  gap:10px!important;
  padding:12px 14px!important;
  background:#fff!important;
}
body.bbbpos-order-page .bbbpos-v8-meal-index{
  display:grid;
  place-items:center;
  width:28px;
  height:28px;
  border-radius:50%;
  color:#53647a;
  background:#eef3f9;
  font-size:12px;
  font-weight:900;
}
body.bbbpos-order-page .bbbpos-v7-meal-summary{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(120px,.65fr) auto;
  align-items:center;
  gap:12px;
  min-width:0;
}
body.bbbpos-order-page .bbbpos-v8-protein-summary{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:8px;
  min-width:0;
}
body.bbbpos-order-page .bbbpos-v8-protein-cell,
body.bbbpos-order-page .bbbpos-v7-meal-summary-allergies{
  min-width:0;
}
body.bbbpos-order-page .bbbpos-v8-protein-cell small,
body.bbbpos-order-page .bbbpos-v7-meal-summary-allergies small{
  display:none;
  color:#8a94a3;
  font-size:9px;
  font-weight:850;
}
body.bbbpos-order-page .bbbpos-v8-protein-cell strong{
  display:flex;
  align-items:center;
  gap:5px;
  min-width:0;
  color:#27384f;
  font-size:12px;
  font-weight:750;
  line-height:1.3;
  overflow-wrap:anywhere;
}
body.bbbpos-order-page .bbbpos-v8-protein-cell strong span{font-size:14px}
body.bbbpos-order-page .bbbpos-v7-meal-summary-allergies span{
  display:block;
  overflow:hidden;
  color:#6b7687;
  font-size:11px;
  text-overflow:ellipsis;
  white-space:nowrap;
}
body.bbbpos-order-page .bbbpos-v7-meal-summary-price{
  color:#145fc5;
  font-size:14px;
  white-space:nowrap;
}
body.bbbpos-order-page .bbbpos-v7-meal-compact-actions{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:5px!important;
  min-width:0;
}
body.bbbpos-order-page .bbbpos-v7-meal-toggle{
  grid-column:auto!important;
  justify-self:end!important;
  width:30px!important;
  min-width:30px!important;
  height:30px!important;
  min-height:30px!important;
  color:#53647a!important;
  background:transparent!important;
  font-size:22px!important;
}
body.bbbpos-order-page .bbbpos-v8-sticky-summary{
  display:grid;
  grid-template-columns:minmax(250px,390px) minmax(0,1fr);
  align-items:center;
  gap:12px 24px;
}
body.bbbpos-order-page .bbbpos-v8-review-button{min-height:50px}
body.bbbpos-order-page .bbbpos-v8-sticky-totals{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:0!important;
  width:100%;
}
body.bbbpos-order-page .bbbpos-v8-sticky-totals>div{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:5px;
  min-width:0;
  padding:5px 15px;
  border-left:1px solid #e0e6ef;
}
body.bbbpos-order-page .bbbpos-v8-sticky-totals>div:first-child{border-left:0}
body.bbbpos-order-page .bbbpos-v8-sticky-totals span{
  color:#677384;
  font-size:10px;
  font-weight:800;
  letter-spacing:.04em;
  text-transform:uppercase;
}
body.bbbpos-order-page .bbbpos-v8-sticky-totals strong{
  color:#17243a;
  font-size:19px;
  white-space:nowrap;
}
body.bbbpos-order-page .bbbpos-v8-sticky-totals .is-paid{color:#17985b}
body.bbbpos-order-page .bbbpos-v8-sticky-summary>small{
  grid-column:1/-1;
  margin:0!important;
  text-align:center;
  color:#788493;
  font-size:10px;
}

/* Final review table modeled on the approved desktop reference. */
.bbbpos-v8-review-modal{width:min(920px,100%)!important}
.bbbpos-v8-review-modal>h2{margin-bottom:14px!important}
.bbbpos-v8-review-warning{
  display:flex;
  flex-direction:column;
  gap:4px;
  margin:0 0 16px;
  padding:13px 15px;
  border:1px solid #f1c765;
  border-radius:11px;
  background:#fffaf0;
  color:#6b4a00;
}
.bbbpos-v8-review-warning strong{font-size:13px}
.bbbpos-v8-review-warning span{font-size:12px}
.bbbpos-v8-review-table{
  overflow:hidden;
  border:1px solid #e2e7ef;
  border-radius:12px;
  background:#fff;
}
.bbbpos-v8-review-head,
.bbbpos-v8-review-row{
  display:grid;
  grid-template-columns:minmax(135px,1.08fr) minmax(82px,.58fr) minmax(105px,.75fr) minmax(105px,.75fr) minmax(105px,.75fr) minmax(95px,.7fr) 82px;
  align-items:center;
  gap:10px;
}
.bbbpos-v8-review-head{
  padding:10px 12px;
  border-bottom:1px solid #e2e7ef;
  color:#737f90;
  background:#f8fafc;
  font-size:9px;
  font-weight:900;
  letter-spacing:.04em;
  text-transform:uppercase;
}
.bbbpos-v8-review-row{
  min-height:66px;
  padding:10px 12px;
  border-bottom:1px solid #edf0f4;
  color:#2f3d50;
  font-size:12px;
}
.bbbpos-v8-review-row:last-child{border-bottom:0}
.bbbpos-v8-review-row.is-incomplete{background:#fffdf8}
.bbbpos-v8-review-guest{
  display:grid;
  grid-template-columns:22px minmax(0,1fr);
  gap:1px 7px;
  align-items:center;
  min-width:0;
}
.bbbpos-v8-review-index{
  grid-row:1/3;
  display:grid;
  place-items:center;
  width:22px;
  height:22px;
  border-radius:50%;
  background:#eef3f8;
  color:#53647a;
  font-size:10px;
  font-weight:900;
}
.bbbpos-v8-review-guest strong{min-width:0;overflow-wrap:anywhere}
.bbbpos-v8-review-guest small{color:#a56a00;font-size:9px;font-weight:750}
.bbbpos-v8-review-row:not(.is-incomplete) .bbbpos-v8-review-guest small{color:#198052}
.bbbpos-v8-review-info{
  display:flex;
  flex-direction:column;
  gap:3px;
  margin-top:14px;
  padding:12px 14px;
  border:1px solid #cbdff8;
  border-radius:10px;
  background:#edf5ff;
  color:#25538b;
}
.bbbpos-v8-review-info strong{font-size:12px}
.bbbpos-v8-review-info span{font-size:11px}
.bbbpos-v8-review-footnote{display:block;margin-top:12px;text-align:center;color:#7b8492;font-size:10px}

/* Invoice & Review desktop refinements. */
body.bbbpos-invoice-page .bbbpos-invoice-mobile-bar{display:none}
body.bbbpos-invoice-page .bbbpos-invoice-guest-section{
  margin:14px 0 0;
  padding:0;
}
body.bbbpos-invoice-page .bbbpos-invoice-section-title{
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:12px;
  margin:0 0 7px;
}
body.bbbpos-invoice-page .bbbpos-invoice-section-title h2{
  margin:0;
  color:#17233a;
  font-size:15px;
}
body.bbbpos-invoice-page .bbbpos-invoice-section-title span{color:#7b8492;font-size:10px}
body.bbbpos-invoice-page .bbbpos-invoice-cols>div,
body.bbbpos-invoice-page .bbbpos-ingredient-summary,
body.bbbpos-invoice-page .bbbpos-service-fees-summary,
body.bbbpos-invoice-page .bbbpos-totals,
body.bbbpos-invoice-page .bbbpos-tip-section{
  border-color:#dfe5ed!important;
}
body.bbbpos-invoice-page .bbbpos-totals .balance{
  background:linear-gradient(135deg,#1769df,#0756c8)!important;
}

@media (max-width:760px){
  body.bbbpos-order-page{background:#f4f7fb!important}
  body.bbbpos-order-page .bbbpos-v8-host{
    width:100%!important;
    padding:0 14px 214px!important;
  }
  body.bbbpos-order-page .bbbpos-v8-mobile-appbar{
    position:sticky;
    z-index:90;
    top:0;
    display:grid;
    grid-template-columns:42px minmax(0,1fr) 42px;
    align-items:center;
    min-height:64px;
    margin:0 -14px 12px;
    padding:8px 14px;
    color:#fff;
    background:linear-gradient(135deg,#0e5bd5,#1f70e7);
    box-shadow:0 7px 20px rgba(26,91,190,.24);
  }
  body.bbbpos-order-page .bbbpos-v8-mobile-appbar strong{
    text-align:left;
    font-size:19px;
    letter-spacing:-.02em;
  }
  body.bbbpos-order-page .bbbpos-v8-mobile-appbar button{
    display:grid;
    place-items:center;
    width:38px;
    height:38px;
    padding:0;
    border:0;
    border-radius:10px;
    color:#fff;
    background:transparent;
    font-size:28px;
    line-height:1;
  }
  body.bbbpos-order-page .bbbpos-v8-appbar-more{font-size:17px!important;letter-spacing:2px}
  body.bbbpos-order-page .bbbpos-v7-eventbar{display:none!important}
  body.bbbpos-order-page .bbbpos-v7-deadline-card{
    gap:12px!important;
    margin:0 0 18px!important;
    padding:16px!important;
    border:1px solid #d7e3f5!important;
    border-radius:15px!important;
    background:linear-gradient(135deg,#fff,#f4f8ff)!important;
    box-shadow:none!important;
  }
  body.bbbpos-order-page .bbbpos-v8-deadline-copy{align-items:flex-start!important}
  body.bbbpos-order-page .bbbpos-v8-deadline-copy>div{display:flex;flex-direction:column;gap:3px}
  body.bbbpos-order-page .bbbpos-v8-deadline-copy strong{font-size:14px!important}
  body.bbbpos-order-page .bbbpos-v8-deadline-copy span:not(.bbbpos-v8-deadline-icon){font-size:11px!important;line-height:1.35}
  body.bbbpos-order-page .bbbpos-v8-deadline-icon{flex-basis:26px;width:26px;height:26px;font-size:15px}
  body.bbbpos-order-page .bbbpos-v7-deadline-actions{
    grid-template-columns:minmax(0,1fr) auto!important;
    gap:9px!important;
  }
  body.bbbpos-order-page .bbbpos-v7-deadline-actions input{
    min-height:40px!important;
    padding:8px 10px!important;
    border:0!important;
    border-radius:10px!important;
    background:#fff!important;
    box-shadow:0 0 0 1px #e2e8f0 inset!important;
    font-size:13px!important;
    font-weight:700!important;
  }
  body.bbbpos-order-page #bbb-v7-save-deadline{display:none!important}
  body.bbbpos-order-page #bbb-v7-reminders{
    min-width:122px!important;
    min-height:40px!important;
    padding:8px 12px!important;
    border-radius:10px!important;
    background:#edf4ff!important;
    color:#1769df!important;
    box-shadow:none!important;
    font-size:12px!important;
  }
  body.bbbpos-order-page .bbbpos-v7-layout{display:block!important}
  body.bbbpos-order-page .bbbpos-v7-layout>aside{display:none!important}
  body.bbbpos-order-page .bbbpos-v7-meals-card{
    padding:0!important;
    border:0!important;
    background:transparent!important;
    box-shadow:none!important;
  }
  body.bbbpos-order-page .bbbpos-v7-meals-head{
    display:block!important;
    margin-bottom:8px!important;
  }
  body.bbbpos-order-page .bbbpos-v7-meals-head h2{font-size:18px!important}
  body.bbbpos-order-page .bbbpos-v7-meals-head .bbbpos-sub{font-size:12px!important}
  body.bbbpos-order-page .bbbpos-v7-toolbar,
  body.bbbpos-order-page #bbb-v7-toolbar-message{display:none!important}
  body.bbbpos-order-page .bbbpos-v7-meal-stats{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:9px!important;
    margin:12px 0 15px!important;
  }
  body.bbbpos-order-page .bbbpos-v7-meal-stats>div{
    min-height:68px!important;
    padding:10px 7px!important;
    border:1px solid #d9e2ef!important;
    border-radius:11px!important;
    background:#f6faff!important;
    box-shadow:none!important;
  }
  body.bbbpos-order-page .bbbpos-v7-meal-stats>div:nth-child(2){background:#f1fbf6!important;border-color:#d8eee1!important}
  body.bbbpos-order-page .bbbpos-v7-meal-stats>div:nth-child(3){background:#fff8f0!important;border-color:#f2dcc2!important}
  body.bbbpos-order-page .bbbpos-v7-meal-stats strong{font-size:21px!important}
  body.bbbpos-order-page .bbbpos-v7-meal-stats span{font-size:11px!important;text-transform:none!important;letter-spacing:0!important}
  body.bbbpos-order-page .bbbpos-v8-meal-list-head{
    display:grid!important;
    grid-template-columns:minmax(78px,1.2fr) minmax(54px,.75fr) repeat(3,minmax(58px,.9fr)) 16px;
    gap:5px;
    margin:0 0 5px;
    padding:0 8px;
    font-size:9px;
    line-height:1.15;
    text-align:center;
  }
  body.bbbpos-order-page .bbbpos-v8-meal-list-head span:first-child{text-align:left}
  body.bbbpos-order-page .bbbpos-v7-meal{
    margin:0 0 8px!important;
    border:1px solid #dfe5ed!important;
    border-radius:11px!important;
    box-shadow:none!important;
  }
  body.bbbpos-order-page .bbbpos-v7-host-meal-head{
    grid-template-columns:26px minmax(72px,1.2fr) minmax(202px,3.45fr) 18px!important;
    gap:5px!important;
    min-height:70px;
    padding:9px 8px!important;
  }
  body.bbbpos-order-page .bbbpos-v8-meal-index{
    width:23px;
    height:23px;
    font-size:10px;
  }
  body.bbbpos-order-page .bbbpos-v7-meal-title{gap:2px!important}
  body.bbbpos-order-page .bbbpos-v7-meal-title strong{font-size:12px!important;line-height:1.25!important}
  body.bbbpos-order-page .bbbpos-v7-meal-title span{font-size:9px!important;line-height:1.25!important}
  body.bbbpos-order-page .bbbpos-v7-meal-summary{
    display:block!important;
    min-width:0!important;
  }
  body.bbbpos-order-page .bbbpos-v8-protein-summary{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:4px!important;
  }
  body.bbbpos-order-page .bbbpos-v8-protein-cell{text-align:center}
  body.bbbpos-order-page .bbbpos-v8-protein-cell small{display:none!important}
  body.bbbpos-order-page .bbbpos-v8-protein-cell strong{
    display:flex;
    flex-direction:column;
    justify-content:center;
    gap:1px;
    min-height:36px;
    color:#2e3c4f;
    font-size:9px;
    font-weight:650;
    line-height:1.15;
    text-align:center;
  }
  body.bbbpos-order-page .bbbpos-v8-protein-cell strong span{font-size:13px}
  body.bbbpos-order-page .bbbpos-v7-meal-summary-allergies,
  body.bbbpos-order-page .bbbpos-v7-meal-summary-price,
  body.bbbpos-order-page .bbbpos-v7-meal-compact-actions{display:none!important}
  body.bbbpos-order-page .bbbpos-v7-meal-toggle{
    display:grid!important;
    grid-column:4!important;
    width:18px!important;
    min-width:18px!important;
    height:30px!important;
    min-height:30px!important;
    padding:0!important;
    font-size:20px!important;
  }
  body.bbbpos-order-page .bbbpos-v7-meal-body{
    padding:14px 11px!important;
    border-top:1px solid #e7ebf0;
    background:#fff;
  }
  body.bbbpos-order-page .bbbpos-v7-add-meal-row{
    margin:10px 0 17px!important;
    padding:12px!important;
    border:1px dashed #cdd8e8!important;
    border-radius:12px!important;
  }
  body.bbbpos-order-page .bbbpos-v7-addons{
    scroll-margin-top:78px;
    padding:15px!important;
    border-radius:14px!important;
  }
  body.bbbpos-order-page .bbbpos-v8-sticky-summary{
    position:fixed!important;
    z-index:100;
    right:0!important;
    bottom:66px!important;
    left:0!important;
    display:block!important;
    width:100%!important;
    padding:10px 14px 8px!important;
    border:0!important;
    border-top:1px solid #e2e6ec!important;
    border-radius:0!important;
    background:rgba(255,255,255,.98)!important;
    box-shadow:0 -8px 28px rgba(25,43,68,.08)!important;
    backdrop-filter:blur(16px);
  }
  body.bbbpos-order-page .bbbpos-v8-review-button{
    display:flex!important;
    width:100%!important;
    min-height:48px!important;
    margin:0 0 9px!important;
    border-radius:12px!important;
    font-size:14px!important;
  }
  body.bbbpos-order-page .bbbpos-v8-sticky-totals{
    display:grid!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
  }
  body.bbbpos-order-page .bbbpos-v8-sticky-totals>div{padding:3px 7px!important}
  body.bbbpos-order-page .bbbpos-v8-sticky-totals span{font-size:8px!important}
  body.bbbpos-order-page .bbbpos-v8-sticky-totals strong{font-size:16px!important}
  body.bbbpos-order-page .bbbpos-v8-sticky-summary>small{display:none!important}
  body.bbbpos-order-page .bbbpos-v8-mobile-nav{
    position:fixed;
    z-index:101;
    right:0;
    bottom:0;
    left:0;
    display:grid;
    grid-template-columns:repeat(5,minmax(0,1fr));
    min-height:66px;
    padding:6px 7px calc(6px + env(safe-area-inset-bottom));
    border-top:1px solid #e1e5eb;
    background:#fff;
  }
  body.bbbpos-order-page .bbbpos-v8-mobile-nav a,
  body.bbbpos-order-page .bbbpos-v8-mobile-nav button{
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:2px;
    min-width:0;
    padding:3px;
    border:0;
    color:#7a8390;
    background:transparent;
    font-size:9px;
    font-weight:700;
    text-decoration:none;
  }
  body.bbbpos-order-page .bbbpos-v8-mobile-nav span{font-size:18px;line-height:1}
  body.bbbpos-order-page .bbbpos-v8-mobile-nav .active{color:#1769df}
  body.bbbpos-order-page .bbbpos-legal-footer{display:none!important}

  .bbbpos-v8-review-modal{border-radius:20px 20px 0 0!important}
  .bbbpos-v8-review-head{display:none}
  .bbbpos-v8-review-table{border:0;background:transparent}
  .bbbpos-v8-review-row{
    grid-template-columns:minmax(0,1fr) auto!important;
    gap:7px 10px!important;
    margin:0 0 8px;
    padding:12px!important;
    border:1px solid #e2e7ef!important;
    border-radius:12px;
    background:#fff;
  }
  .bbbpos-v8-review-row>span{grid-column:1;display:block}
  .bbbpos-v8-review-row>span:nth-of-type(1){color:#697588;font-size:10px}
  .bbbpos-v8-review-row>span:nth-of-type(2),
  .bbbpos-v8-review-row>span:nth-of-type(3),
  .bbbpos-v8-review-row>span:nth-of-type(4){font-size:11px}
  .bbbpos-v8-review-row>span:nth-of-type(5){color:#7b8492;font-size:10px}
  .bbbpos-v8-review-row .bbbpos-v7-review-price{grid-column:2;grid-row:1;font-size:15px!important}
  .bbbpos-v8-review-warning{margin-bottom:12px}
}

@media (max-width:430px){
  body.bbbpos-order-page .bbbpos-v7-host-meal-head{
    grid-template-columns:24px minmax(64px,1.05fr) minmax(177px,3.2fr) 15px!important;
    gap:4px!important;
    padding:8px 6px!important;
  }
  body.bbbpos-order-page .bbbpos-v8-meal-list-head{
    grid-template-columns:minmax(70px,1.05fr) minmax(49px,.72fr) repeat(3,minmax(50px,.82fr)) 12px;
    gap:3px;
    padding:0 5px;
    font-size:8px;
  }
  body.bbbpos-order-page .bbbpos-v8-protein-cell strong{font-size:8px}
  body.bbbpos-order-page .bbbpos-v8-sticky-totals strong{font-size:14px!important}
}

/* Mobile invoice matches the approved Invoice & Review reference. */
@media (max-width:760px){
  body.bbbpos-invoice-page{
    background:#f4f6f9!important;
  }
  body.bbbpos-invoice-page .bbbpos-standalone-main{padding:0!important}
  body.bbbpos-invoice-page .bbbpos-invoice{
    width:100%!important;
    max-width:100%!important;
    margin:0!important;
    padding:0 13px 24px!important;
    border:0!important;
    border-radius:0!important;
    background:#f4f6f9!important;
    box-shadow:none!important;
    overflow:visible!important;
  }
  body.bbbpos-invoice-page .bbbpos-invoice-mobile-bar{
    position:sticky;
    z-index:80;
    top:0;
    display:grid;
    grid-template-columns:42px minmax(0,1fr) 42px;
    align-items:center;
    min-height:64px;
    margin:0 -13px 12px;
    padding:8px 13px;
    color:#fff;
    background:linear-gradient(135deg,#0d5bd7,#246fdf);
    box-shadow:0 7px 20px rgba(25,86,180,.22);
  }
  body.bbbpos-invoice-page .bbbpos-invoice-mobile-bar strong{font-size:18px}
  body.bbbpos-invoice-page .bbbpos-invoice-mobile-bar button{
    display:grid;
    place-items:center;
    width:38px;
    height:38px;
    padding:0;
    border:0;
    color:#fff;
    background:transparent;
    font-size:28px;
  }
  body.bbbpos-invoice-page .bbbpos-invoice-mobile-bar button:last-child{font-size:23px}
  body.bbbpos-invoice-page .bbbpos-invoice-head{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    align-items:start!important;
    gap:8px!important;
    margin:0 0 12px!important;
    padding:16px 13px!important;
    border:1px solid #dfe4ea!important;
    border-radius:14px!important;
    background:#fff!important;
    box-shadow:none!important;
  }
  body.bbbpos-invoice-page .bbbpos-invoice-brand{gap:9px!important;min-width:0}
  body.bbbpos-invoice-page .bbbpos-invoice-company-logo{
    width:58px!important;
    max-width:58px!important;
    height:58px!important;
    max-height:58px!important;
  }
  body.bbbpos-invoice-page .bbbpos-eyebrow{font-size:8px!important;letter-spacing:.12em!important}
  body.bbbpos-invoice-page .bbbpos-invoice-calendar-name{
    margin:2px 0!important;
    font-size:17px!important;
    line-height:1.08!important;
  }
  body.bbbpos-invoice-page .bbbpos-invoice-business-name,
  body.bbbpos-invoice-page .bbbpos-invoice-company-contact{font-size:9px!important;line-height:1.35!important}
  body.bbbpos-invoice-page .bbbpos-invoice-head-right{display:block!important;min-width:78px!important}
  body.bbbpos-invoice-page .bbbpos-invoice-number{text-align:right!important}
  body.bbbpos-invoice-page .bbbpos-invoice-number-line{font-size:10px!important;line-height:1.3!important;white-space:normal!important}
  body.bbbpos-invoice-page .bbbpos-invoice-number .bbbpos-status{margin-top:7px!important;font-size:8px!important}
  body.bbbpos-invoice-page .bbbpos-invoice-qr{display:none!important}
  body.bbbpos-invoice-page .bbbpos-invoice-cols{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:0!important;
    margin:0 0 12px!important;
    padding:14px 12px!important;
    border:1px solid #dfe4ea!important;
    border-radius:13px!important;
    background:#fff!important;
    font-size:11px!important;
    line-height:1.5!important;
  }
  body.bbbpos-invoice-page .bbbpos-invoice-cols>div{
    padding:0 10px!important;
    border:0!important;
    border-left:1px solid #e4e8ed!important;
    border-radius:0!important;
    background:transparent!important;
    box-shadow:none!important;
  }
  body.bbbpos-invoice-page .bbbpos-invoice-cols>div:first-child{padding-left:0!important;border-left:0!important}
  body.bbbpos-invoice-page .bbbpos-invoice-cols h3{margin:0 0 6px!important;font-size:12px!important}
  body.bbbpos-invoice-page .bbbpos-invoice-guest-section{
    margin:0 0 12px!important;
    padding:13px 12px!important;
    border:1px solid #dfe4ea!important;
    border-radius:13px!important;
    background:#fff!important;
  }
  body.bbbpos-invoice-page .bbbpos-invoice-section-title{margin-bottom:6px!important}
  body.bbbpos-invoice-page .bbbpos-invoice-section-title h2{font-size:13px!important}
  body.bbbpos-invoice-page .bbbpos-invoice-section-title span{font-size:8px!important}
  body.bbbpos-invoice-page .bbbpos-table{display:table!important;overflow:visible!important;font-size:9px!important}
  body.bbbpos-invoice-page .bbbpos-table th,
  body.bbbpos-invoice-page .bbbpos-table td{padding:6px 4px!important}
  body.bbbpos-invoice-page .bbbpos-table th{font-size:8px!important}
  body.bbbpos-invoice-page .bbbpos-invoice-summary-row{
    display:flex!important;
    flex-direction:column!important;
    gap:12px!important;
    margin:0!important;
  }
  body.bbbpos-invoice-page .bbbpos-summary-stack{display:contents!important}
  body.bbbpos-invoice-page .bbbpos-addon-summary{order:1}
  body.bbbpos-invoice-page .bbbpos-chef-summary-under-total{order:2}
  body.bbbpos-invoice-page .bbbpos-service-fees-summary{order:3}
  body.bbbpos-invoice-page .bbbpos-total-column{display:contents!important}
  body.bbbpos-invoice-page .bbbpos-totals{order:4}
  body.bbbpos-invoice-page .bbbpos-ingredient-summary,
  body.bbbpos-invoice-page .bbbpos-service-fees-summary,
  body.bbbpos-invoice-page .bbbpos-totals{
    width:100%!important;
    max-width:none!important;
    margin:0!important;
    padding:14px 12px!important;
    border:1px solid #dfe4ea!important;
    border-radius:13px!important;
    background:#fff!important;
    box-shadow:none!important;
  }
  body.bbbpos-invoice-page .bbbpos-ingredient-summary-head,
  body.bbbpos-invoice-page .bbbpos-service-fees-head{padding-bottom:8px!important}
  body.bbbpos-invoice-page .bbbpos-ingredient-summary-head strong,
  body.bbbpos-invoice-page .bbbpos-service-fees-head strong{font-size:13px!important}
  body.bbbpos-invoice-page .bbbpos-ingredient-summary-head span,
  body.bbbpos-invoice-page .bbbpos-service-fees-head span{display:none!important}
  body.bbbpos-invoice-page .bbbpos-addon-groups{display:block!important}
  body.bbbpos-invoice-page .bbbpos-addon-group{padding:0!important;border:0!important;background:transparent!important}
  body.bbbpos-invoice-page .bbbpos-addon-group+.bbbpos-addon-group{margin-top:8px!important;padding-top:8px!important;border-top:1px solid #edf0f4!important}
  body.bbbpos-invoice-page .bbbpos-addon-group-title{display:none!important}
  body.bbbpos-invoice-page .bbbpos-addon-summary-item,
  body.bbbpos-invoice-page .bbbpos-service-fee-row{
    min-height:29px;
    padding:5px 0!important;
    font-size:11px!important;
  }
  body.bbbpos-invoice-page .bbbpos-party-counts{
    margin:10px 0!important;
    padding:0!important;
    border:0!important;
    background:#f8fafc!important;
  }
  body.bbbpos-invoice-page .bbbpos-party-count{
    min-height:50px!important;
    padding:8px!important;
    box-shadow:none!important;
  }
  body.bbbpos-invoice-page .bbbpos-ingredient-grid{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:0!important;
    padding-top:7px!important;
  }
  body.bbbpos-invoice-page .bbbpos-ingredient-item{
    min-height:30px;
    padding:6px 0!important;
    border-bottom:1px solid #edf0f4;
    font-size:11px!important;
  }
  body.bbbpos-invoice-page .bbbpos-ingredient-item:last-child{border-bottom:0}
  body.bbbpos-invoice-page .bbbpos-totals>div{padding:6px 0!important;font-size:11px!important}
  body.bbbpos-invoice-page .bbbpos-totals .grand{font-size:13px!important}
  body.bbbpos-invoice-page .bbbpos-totals .balance{
    margin:5px -4px -4px!important;
    padding:9px 10px!important;
    border-radius:8px!important;
    font-size:15px!important;
  }
  body.bbbpos-invoice-page .bbbpos-tip-section{
    margin:12px 0 0!important;
    padding:14px 10px!important;
    border:1px solid #dfe4ea!important;
    border-radius:13px!important;
    background:#fff!important;
  }
  body.bbbpos-invoice-page .bbbpos-tip-section h2{margin:0 0 10px!important;text-align:left!important;font-size:13px!important}
  body.bbbpos-invoice-page .bbbpos-tip-table,
  body.bbbpos-invoice-page .bbbpos-tip-table tbody{display:block!important;width:100%!important}
  body.bbbpos-invoice-page .bbbpos-tip-table thead{display:none!important}
  body.bbbpos-invoice-page .bbbpos-tip-table tbody{
    display:grid!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:8px!important;
  }
  body.bbbpos-invoice-page .bbbpos-tip-table tr{
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    min-height:78px;
    padding:8px 4px!important;
    border:1px solid #dfe4ea!important;
    border-radius:9px!important;
    background:#fbfcfe!important;
  }
  body.bbbpos-invoice-page .bbbpos-tip-table tr:nth-child(2){border-color:#4f8df0!important;box-shadow:0 0 0 1px #4f8df0 inset!important}
  body.bbbpos-invoice-page .bbbpos-tip-table td{
    display:block!important;
    width:100%!important;
    padding:1px!important;
    border:0!important;
    font-size:10px!important;
  }
  body.bbbpos-invoice-page .bbbpos-tip-table td:first-child{font-size:13px!important;font-weight:850!important}
  body.bbbpos-invoice-page .bbbpos-tip-table td:nth-child(2){font-size:11px!important;font-weight:750!important}
  body.bbbpos-invoice-page .bbbpos-tip-table td:nth-child(3){display:none!important}
  body.bbbpos-invoice-page .bbbpos-tip-note{font-size:8px!important}
  body.bbbpos-invoice-page .bbbpos-print-actions{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:9px!important;
    margin:12px 0 0!important;
    padding:0!important;
  }
  body.bbbpos-invoice-page .bbbpos-print-actions a,
  body.bbbpos-invoice-page .bbbpos-print-actions button{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    min-height:46px!important;
    margin:0!important;
    padding:9px!important;
    border-radius:9px!important;
    font-size:11px!important;
    font-weight:800!important;
    text-decoration:none!important;
  }
  body.bbbpos-invoice-page .bbbpos-print-actions .bbbpos-invoice-edit-order{
    border:1px solid #1769df!important;
    color:#1769df!important;
    background:#fff!important;
  }
  body.bbbpos-invoice-page .bbbpos-print-actions #bbbpos-final-confirm-order{
    border:1px solid #1769df!important;
    color:#fff!important;
    background:#1769df!important;
  }
  body.bbbpos-invoice-page .bbbpos-print-actions button[onclick*="Print"]{
    grid-column:1/-1!important;
    min-height:39px!important;
    border:1px solid #dfe4ea!important;
    color:#566476!important;
    background:#fff!important;
  }
  body.bbbpos-invoice-page .bbbpos-print-actions small{grid-column:1/-1!important;text-align:center!important;font-size:8px!important}
  body.bbbpos-invoice-page .bbbpos-legal-footer{display:none!important}
}

@media print{
  body.bbbpos-order-page .bbbpos-v8-mobile-appbar,
  body.bbbpos-order-page .bbbpos-v8-mobile-nav,
  body.bbbpos-invoice-page .bbbpos-invoice-mobile-bar{display:none!important}
}


/* ========================================================================
   BBBPOS v0.7.21 — Invoice counts, add-on balance and mobile print polish
   ======================================================================== */
.bbbpos-invoice .bbbpos-chef-people-summary,
body.bbbpos-invoice-page .bbbpos-chef-people-summary{
  display:none!important;
}
body.bbbpos-invoice-page .bbbpos-party-counts{
  display:flex!important;
  align-items:center!important;
  grid-template-columns:none!important;
  gap:0!important;
}
body.bbbpos-invoice-page .bbbpos-party-count{
  display:flex!important;
  flex:1 1 50%!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px!important;
  min-width:0!important;
  white-space:nowrap!important;
}
body.bbbpos-invoice-page .bbbpos-party-count:first-child{
  border-right:1px solid #dfe7f1!important;
}
body.bbbpos-invoice-page .bbbpos-party-count span,
body.bbbpos-invoice-page .bbbpos-party-count strong{
  font-weight:900!important;
  white-space:nowrap!important;
}
body.bbbpos-invoice-page .bbbpos-party-count-adults span,
body.bbbpos-invoice-page .bbbpos-party-count-adults strong{color:#075fc7!important}
body.bbbpos-invoice-page .bbbpos-party-count-kids span,
body.bbbpos-invoice-page .bbbpos-party-count-kids strong{color:#d96a00!important}

@media (min-width:761px){
  body.bbbpos-invoice-page .bbbpos-addon-groups{
    grid-template-columns:minmax(0,.82fr) minmax(0,1.18fr)!important;
  }
}

body.bbbpos-invoice-page .bbbpos-service-fee-row.bbbpos-table-chair-line,
body.bbbpos-invoice-page .bbbpos-service-fee-row.bbbpos-table-chair-line span,
body.bbbpos-invoice-page .bbbpos-service-fee-row.bbbpos-table-chair-line strong{
  color:#b42318!important;
  font-weight:900!important;
}
body.bbbpos-invoice-page .bbbpos-service-fee-row.bbbpos-table-chair-line{
  border-color:#f0b4af!important;
  background:#fff1f0!important;
}

@page{size:Letter portrait;margin:0}
@media print{
  html,body{
    -webkit-print-color-adjust:exact!important;
    print-color-adjust:exact!important;
  }
  body.bbbpos-invoice-page .bbbpos-chef-people-summary{display:none!important}
  body.bbbpos-invoice-page .bbbpos-party-counts{
    display:flex!important;
    gap:0!important;
    margin:5px 0 6px!important;
    padding:5px!important;
  }
  body.bbbpos-invoice-page .bbbpos-party-count{
    flex:1 1 50%!important;
    min-height:0!important;
    padding:3px 5px!important;
  }
  body.bbbpos-invoice-page .bbbpos-party-count span,
  body.bbbpos-invoice-page .bbbpos-party-count strong{
    font-size:10px!important;
    font-weight:900!important;
  }
  body.bbbpos-invoice-page .bbbpos-addon-groups{
    grid-template-columns:minmax(0,.82fr) minmax(0,1.18fr)!important;
  }
  body.bbbpos-invoice-page .bbbpos-service-fee-row.bbbpos-table-chair-line{
    margin-top:3px!important;
    padding:4px 6px!important;
    border:1px solid #f0b4af!important;
    border-radius:7px!important;
    background:#fff1f0!important;
  }
}

/* ========================================================================
   BBBPOS v0.7.22 — single invoice header + named dietary alerts
   ======================================================================== */
body.bbbpos-invoice-page .bbbpos-invoice-mobile-bar,
.bbbpos-invoice .bbbpos-invoice-mobile-bar{
  display:none!important;
}
body.bbbpos-invoice-page .bbbpos-invoice-dietary-alert{
  display:block;
  margin-top:4px;
  color:#b42318!important;
  font-size:12px;
  line-height:1.35;
  font-weight:750;
  overflow-wrap:anywhere;
}
body.bbbpos-invoice-page .bbbpos-invoice-dietary-alert strong{
  color:#b42318!important;
  font-weight:900!important;
}
body.bbbpos-invoice-page .bbbpos-chef-dietary-summary{
  margin:8px 0;
  padding:8px 10px;
  border:1px solid #f0b4af;
  border-radius:10px;
  background:#fff1f0;
  color:#b42318!important;
}
body.bbbpos-invoice-page .bbbpos-chef-dietary-title{
  display:block;
  margin:0 0 5px;
  color:#b42318!important;
  font-size:12px;
  font-weight:900!important;
}
body.bbbpos-invoice-page .bbbpos-chef-dietary-list{
  display:grid;
  gap:4px;
}
body.bbbpos-invoice-page .bbbpos-chef-dietary-item{
  color:#b42318!important;
  font-size:11px;
  line-height:1.35;
  overflow-wrap:anywhere;
}
body.bbbpos-invoice-page .bbbpos-chef-dietary-item strong,
body.bbbpos-invoice-page .bbbpos-chef-dietary-item span{
  color:#b42318!important;
}
body.bbbpos-invoice-page .bbbpos-chef-dietary-item strong{
  font-weight:900!important;
}

@media(max-width:760px){
  body.bbbpos-invoice-page .bbbpos-invoice-dietary-alert{font-size:10px!important}
  body.bbbpos-invoice-page .bbbpos-chef-dietary-summary{margin:6px 0!important;padding:7px 8px!important}
  body.bbbpos-invoice-page .bbbpos-chef-dietary-title{font-size:10px!important}
  body.bbbpos-invoice-page .bbbpos-chef-dietary-item{font-size:9px!important}
}

@media print{
  body.bbbpos-invoice-page .bbbpos-invoice-dietary-alert{
    margin-top:2px!important;
    color:#9f1239!important;
    font-size:8px!important;
    line-height:1.2!important;
    font-weight:800!important;
  }
  body.bbbpos-invoice-page .bbbpos-invoice-dietary-alert strong{color:#9f1239!important}
  body.bbbpos-invoice-page .bbbpos-chef-dietary-summary{
    margin:4px 0!important;
    padding:4px 6px!important;
    border:1px solid #e9a9a2!important;
    border-radius:6px!important;
    background:#fff1f0!important;
    color:#9f1239!important;
    break-inside:avoid!important;
  }
  body.bbbpos-invoice-page .bbbpos-chef-dietary-title{
    margin-bottom:2px!important;
    color:#9f1239!important;
    font-size:8px!important;
  }
  body.bbbpos-invoice-page .bbbpos-chef-dietary-list{gap:1px!important}
  body.bbbpos-invoice-page .bbbpos-chef-dietary-item,
  body.bbbpos-invoice-page .bbbpos-chef-dietary-item strong,
  body.bbbpos-invoice-page .bbbpos-chef-dietary-item span{
    color:#9f1239!important;
    font-size:7px!important;
    line-height:1.15!important;
  }
}

/* v0.7.29 — keep the Chef Summary title inside the same card as Adults/Kids. */
.bbbpos-appetizers-chef-row>.bbbpos-chef-summary-grouped{
  display:block!important;
  width:100%!important;
  min-width:0!important;
  margin:0!important;
  break-inside:avoid!important;
  page-break-inside:avoid!important;
}
.bbbpos-chef-summary-card{
  width:100%!important;
  min-width:0!important;
  margin:0!important;
  background:#f7f7f9!important;
  break-inside:avoid!important;
  page-break-inside:avoid!important;
}
.bbbpos-chef-summary-title-block{
  display:block!important;
  position:static!important;
  float:none!important;
  width:100%!important;
  margin:0!important;
  padding:0 0 6px!important;
  border-bottom:1px solid #dedee2!important;
  transform:none!important;
}
.bbbpos-chef-summary-title-block>strong,
.bbbpos-chef-summary-title-block>span{
  display:block!important;
  position:static!important;
  float:none!important;
  width:100%!important;
  margin:0!important;
  transform:none!important;
}
.bbbpos-chef-summary-title-block>strong{
  color:#1d1d1f!important;
  font-size:13px!important;
  font-weight:800!important;
  line-height:1.15!important;
}
.bbbpos-chef-summary-title-block>span{
  margin-top:2px!important;
  color:#667085!important;
  font-size:10px!important;
  font-weight:700!important;
  line-height:1.2!important;
  white-space:normal!important;
}
.bbbpos-chef-summary-card>.bbbpos-party-counts{margin-top:7px!important}
@media print{
  .bbbpos-appetizers-chef-row>.bbbpos-chef-summary-grouped,
  .bbbpos-chef-summary-card,
  .bbbpos-chef-summary-title-block,
  .bbbpos-chef-summary-title-block>strong,
  .bbbpos-chef-summary-title-block>span{
    display:block!important;
    position:static!important;
    float:none!important;
    transform:none!important;
  }
  .bbbpos-chef-summary-card{
    contain:layout paint!important;
    overflow:hidden!important;
  }
}

/* =========================================================
   BBBPOS v0.7.34 — Invoice dietary needs beside meal details
   ========================================================= */
body.bbbpos-invoice-page .bbbpos-table th:nth-child(1),
body.bbbpos-invoice-page .bbbpos-table td:nth-child(1){
  width:22%!important;
}
body.bbbpos-invoice-page .bbbpos-table th:nth-child(2),
body.bbbpos-invoice-page .bbbpos-table td:nth-child(2){
  width:38%!important;
  text-align:left!important;
  white-space:normal!important;
}
body.bbbpos-invoice-page .bbbpos-table th:nth-child(3),
body.bbbpos-invoice-page .bbbpos-table td:nth-child(3){
  width:28%!important;
  text-align:left!important;
  white-space:normal!important;
}
body.bbbpos-invoice-page .bbbpos-table th:nth-child(4),
body.bbbpos-invoice-page .bbbpos-table td:nth-child(4){
  width:12%!important;
  text-align:right!important;
  white-space:nowrap!important;
}
body.bbbpos-invoice-page .bbbpos-table th:nth-child(3){
  color:#9f1239!important;
}
body.bbbpos-invoice-page .bbbpos-meal-description-cell,
body.bbbpos-invoice-page .bbbpos-dietary-needs-cell{
  min-width:0!important;
  overflow-wrap:anywhere!important;
}
body.bbbpos-invoice-page .bbbpos-invoice-dietary-alert{
  display:block!important;
  margin:0!important;
  padding:0!important;
  color:#b42318!important;
  font-weight:850!important;
  line-height:1.2!important;
  overflow-wrap:anywhere!important;
}
@media(max-width:600px){
  body.bbbpos-invoice-page .bbbpos-table th:nth-child(1),
  body.bbbpos-invoice-page .bbbpos-table td:nth-child(1){width:21%!important}
  body.bbbpos-invoice-page .bbbpos-table th:nth-child(2),
  body.bbbpos-invoice-page .bbbpos-table td:nth-child(2){width:38%!important}
  body.bbbpos-invoice-page .bbbpos-table th:nth-child(3),
  body.bbbpos-invoice-page .bbbpos-table td:nth-child(3){width:29%!important}
  body.bbbpos-invoice-page .bbbpos-table th:nth-child(4),
  body.bbbpos-invoice-page .bbbpos-table td:nth-child(4){width:12%!important}
  body.bbbpos-invoice-page .bbbpos-table th:nth-child(3){
    font-size:7px!important;
    letter-spacing:0!important;
  }
  body.bbbpos-invoice-page .bbbpos-invoice-dietary-alert{
    font-size:8px!important;
    line-height:1.15!important;
  }
}
@media print{
  body.bbbpos-invoice-page .bbbpos-table th:nth-child(1),
  body.bbbpos-invoice-page .bbbpos-table td:nth-child(1){width:22%!important}
  body.bbbpos-invoice-page .bbbpos-table th:nth-child(2),
  body.bbbpos-invoice-page .bbbpos-table td:nth-child(2){width:38%!important}
  body.bbbpos-invoice-page .bbbpos-table th:nth-child(3),
  body.bbbpos-invoice-page .bbbpos-table td:nth-child(3){width:28%!important}
  body.bbbpos-invoice-page .bbbpos-table th:nth-child(4),
  body.bbbpos-invoice-page .bbbpos-table td:nth-child(4){width:12%!important}
  body.bbbpos-invoice-page .bbbpos-table th:nth-child(3){
    color:#9f1239!important;
  }
  body.bbbpos-invoice-page .bbbpos-invoice-dietary-alert{
    margin:0!important;
    padding:0!important;
    color:#9f1239!important;
  }
}



/* ========================================================================
   BBBPOS v0.7.35 — Review Invoice Chef Summary placement and party labels
   ======================================================================== */
@media screen{
  body.bbbpos-invoice-page .bbbpos-appetizers-chef-row,
  .bbbpos-invoice .bbbpos-appetizers-chef-row{
    display:grid!important;
    grid-template-columns:minmax(0,1fr)!important;
    gap:8px!important;
    align-items:start!important;
  }
  body.bbbpos-invoice-page .bbbpos-appetizers-chef-row>.bbbpos-appetizers-summary,
  body.bbbpos-invoice-page .bbbpos-appetizers-chef-row>[data-bbbpos-chef-card="1"],
  .bbbpos-invoice .bbbpos-appetizers-chef-row>.bbbpos-appetizers-summary,
  .bbbpos-invoice .bbbpos-appetizers-chef-row>[data-bbbpos-chef-card="1"]{
    grid-column:1!important;
    width:100%!important;
    max-width:none!important;
    min-width:0!important;
    margin:0!important;
  }
  body.bbbpos-invoice-page .bbbpos-appetizers-chef-row>.bbbpos-appetizers-summary,
  .bbbpos-invoice .bbbpos-appetizers-chef-row>.bbbpos-appetizers-summary{grid-row:1!important}
  body.bbbpos-invoice-page .bbbpos-appetizers-chef-row>[data-bbbpos-chef-card="1"],
  .bbbpos-invoice .bbbpos-appetizers-chef-row>[data-bbbpos-chef-card="1"]{grid-row:2!important}
  body.bbbpos-invoice-page [data-bbbpos-native-party-summary="1"],
  .bbbpos-invoice [data-bbbpos-native-party-summary="1"]{
    display:flex!important;
    visibility:visible!important;
    opacity:1!important;
  }
}


/* ========================================================================
   BBBPOS v0.7.37 — use more of the Letter page width when printing invoices
   ======================================================================== */
@media print{
  body.bbbpos-invoice-page .bbbpos-standalone-main,
  body.bbbpos-invoice-page .bbbpos-invoice,
  body.bbbpos-native-printing .bbbpos-standalone-main,
  body.bbbpos-native-printing .bbbpos-invoice{
    width:208mm!important;
    max-width:208mm!important;
    margin-left:auto!important;
    margin-right:auto!important;
  }
}

/* ========================================================================
   BBBPOS v0.7.41 — portrait mobile browser fit for Host Order
   ======================================================================== */
@media (max-width:760px){
  html,
  body.bbbpos-order-page{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    overflow-x:hidden!important;
    overscroll-behavior-x:none;
  }

  body.bbbpos-order-page .bbbpos-standalone-main,
  body.bbbpos-order-page .bbbpos-app,
  body.bbbpos-order-page .bbbpos-v8-host,
  body.bbbpos-order-page .bbbpos-v7-layout,
  body.bbbpos-order-page .bbbpos-v7-layout>main,
  body.bbbpos-order-page .bbbpos-v7-addons,
  body.bbbpos-order-page .bbbpos-addon{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
  }

  body.bbbpos-order-page .bbbpos-v8-host{
    padding-left:12px!important;
    padding-right:12px!important;
    padding-bottom:226px!important;
  }

  body.bbbpos-order-page .bbbpos-v7-addons{
    overflow:hidden!important;
  }
  body.bbbpos-order-page .bbbpos-v7-addons .bbbpos-head,
  body.bbbpos-order-page .bbbpos-v7-addons .bbbpos-head>div,
  body.bbbpos-order-page .bbbpos-addon-copy{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
  }
  body.bbbpos-order-page .bbbpos-v7-addons h2,
  body.bbbpos-order-page .bbbpos-addon-copy strong,
  body.bbbpos-order-page .bbbpos-addon-copy .bbbpos-sub{
    max-width:100%!important;
    white-space:normal!important;
    overflow-wrap:anywhere!important;
    word-break:normal!important;
  }

  /* These two controls are portaled directly under body by frontend.js. */
  body.bbbpos-order-page>.bbbpos-v8-sticky-summary[data-bbbpos-mobile-portal="1"]{
    position:fixed!important;
    z-index:1000!important;
    inset-inline:0!important;
    right:0!important;
    bottom:calc(66px + env(safe-area-inset-bottom,0px))!important;
    left:0!important;
    display:grid!important;
    grid-template-columns:minmax(0,1fr)!important;
    gap:8px!important;
    width:100vw!important;
    max-width:100vw!important;
    min-width:0!important;
    margin:0!important;
    padding:9px 12px 8px!important;
    transform:none!important;
    border:0!important;
    border-top:1px solid #e1e6ed!important;
    border-radius:0!important;
    background:rgba(255,255,255,.985)!important;
    box-shadow:0 -9px 28px rgba(24,43,70,.11)!important;
    box-sizing:border-box!important;
  }
  body.bbbpos-order-page>.bbbpos-v8-sticky-summary[data-bbbpos-mobile-portal="1"] .bbbpos-v8-review-button{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    min-height:44px!important;
    margin:0!important;
    padding:10px 12px!important;
    border-radius:11px!important;
    white-space:normal!important;
  }
  body.bbbpos-order-page>.bbbpos-v8-sticky-summary[data-bbbpos-mobile-portal="1"] .bbbpos-v8-sticky-totals{
    display:grid!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
  }
  body.bbbpos-order-page>.bbbpos-v8-sticky-summary[data-bbbpos-mobile-portal="1"] .bbbpos-v8-sticky-totals>div{
    min-width:0!important;
    padding:3px 5px!important;
  }
  body.bbbpos-order-page>.bbbpos-v8-sticky-summary[data-bbbpos-mobile-portal="1"] .bbbpos-v8-sticky-totals span{
    display:block!important;
    max-width:100%!important;
    overflow:hidden!important;
    font-size:8px!important;
    letter-spacing:.02em!important;
    line-height:1.2!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
  }
  body.bbbpos-order-page>.bbbpos-v8-sticky-summary[data-bbbpos-mobile-portal="1"] .bbbpos-v8-sticky-totals strong{
    display:block!important;
    max-width:100%!important;
    overflow:hidden!important;
    font-size:clamp(13px,4vw,16px)!important;
    line-height:1.15!important;
    text-align:center!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
  }

  body.bbbpos-order-page>.bbbpos-v8-mobile-nav[data-bbbpos-mobile-portal="1"]{
    position:fixed!important;
    z-index:1001!important;
    inset-inline:0!important;
    right:0!important;
    bottom:0!important;
    left:0!important;
    width:100vw!important;
    max-width:100vw!important;
    min-width:0!important;
    margin:0!important;
    box-sizing:border-box!important;
  }
}

@supports (width:100dvw){
  @media (max-width:760px){
    body.bbbpos-order-page>.bbbpos-v8-sticky-summary[data-bbbpos-mobile-portal="1"],
    body.bbbpos-order-page>.bbbpos-v8-mobile-nav[data-bbbpos-mobile-portal="1"]{
      width:100dvw!important;
      max-width:100dvw!important;
    }
  }
}

@media (max-width:390px){
  body.bbbpos-order-page .bbbpos-v8-host{
    padding-left:9px!important;
    padding-right:9px!important;
  }
  body.bbbpos-order-page>.bbbpos-v8-sticky-summary[data-bbbpos-mobile-portal="1"]{
    padding-left:8px!important;
    padding-right:8px!important;
  }
  body.bbbpos-order-page>.bbbpos-v8-sticky-summary[data-bbbpos-mobile-portal="1"] .bbbpos-v8-sticky-totals span{
    font-size:7px!important;
  }
  body.bbbpos-order-page>.bbbpos-v8-sticky-summary[data-bbbpos-mobile-portal="1"] .bbbpos-v8-sticky-totals strong{
    font-size:13px!important;
  }
}



/* BBBPOS v0.7.48 — cleaner Invoice header/details layout. */
body.bbbpos-invoice-page .bbbpos-invoice-qr small,
body.bbbpos-invoice-page .bbbpos-chef-summary-title-block > span,
body.bbbpos-invoice-page .bbbpos-chef-prep-heading > span{
  display:none!important;
}
body.bbbpos-invoice-page .bbbpos-invoice-details-grid{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
  gap:24px!important;
  margin:14px 0 16px!important;
}
body.bbbpos-invoice-page .bbbpos-invoice-detail-card{
  min-width:0!important;
}
body.bbbpos-invoice-page .bbbpos-invoice-detail-heading{
  display:grid!important;
  grid-template-columns:auto minmax(0,1fr)!important;
  align-items:baseline!important;
  gap:14px!important;
  padding-bottom:5px!important;
  border-bottom:1px solid var(--bbb-line,#d2d2d7)!important;
}
body.bbbpos-invoice-page .bbbpos-invoice-detail-heading h3{
  margin:0!important;
  white-space:nowrap!important;
}
body.bbbpos-invoice-page .bbbpos-invoice-detail-primary{
  min-width:0!important;
  overflow:hidden!important;
  text-align:right!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}
body.bbbpos-invoice-page .bbbpos-invoice-detail-meta{
  display:flex!important;
  align-items:center!important;
  gap:7px!important;
  min-width:0!important;
  padding-top:6px!important;
  overflow:hidden!important;
  color:var(--bbb-muted,#6e6e73)!important;
  font-size:13px!important;
  line-height:1.25!important;
  white-space:nowrap!important;
}
body.bbbpos-invoice-page .bbbpos-invoice-detail-meta>a,
body.bbbpos-invoice-page .bbbpos-invoice-detail-meta>span:not(.bbbpos-invoice-meta-separator){
  min-width:0!important;
  overflow:hidden!important;
  color:inherit!important;
  text-decoration:none!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}
body.bbbpos-invoice-page .bbbpos-invoice-meta-separator{
  flex:0 0 auto!important;
  color:#8e8e93!important;
}
body.bbbpos-invoice-page .bbbpos-invoice-event-meta>span:first-child,
body.bbbpos-invoice-page .bbbpos-invoice-customer-meta>a:last-child{
  flex:1 1 auto!important;
}
@media(max-width:700px){
  body.bbbpos-invoice-page .bbbpos-invoice-details-grid{
    grid-template-columns:minmax(0,1fr)!important;
    gap:12px!important;
  }
  body.bbbpos-invoice-page .bbbpos-invoice-detail-meta{
    font-size:12px!important;
  }
}

/* v0.7.53+ Buffet Style order mode */
.bbbpos-v7-buffet-section{padding:14px 16px!important}
.bbbpos-v7-buffet-section .bbbpos-head{margin-bottom:8px!important}
.bbbpos-v7-buffet-section .bbbpos-head h2{font-size:18px!important;margin:0!important}
.bbbpos-v7-buffet-section .bbbpos-sub{font-size:12px!important;line-height:1.35!important}
.bbbpos-buffet-style-row{border:1px solid #cfe2ff!important;background:linear-gradient(180deg,#f8fbff,#fff)!important;border-radius:14px;padding:10px 12px!important;margin-top:6px;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important}
.bbbpos-buffet-style-row.is-collapsed{border-style:dashed!important}
.bbbpos-buffet-check{display:flex!important;align-items:center!important;gap:10px!important;margin:0!important;flex:1 1 auto!important;min-width:0!important}
.bbbpos-buffet-check input{width:18px!important;height:18px!important;flex:0 0 auto!important}
.bbbpos-buffet-check span{display:flex!important;flex-direction:column!important;gap:2px!important;min-width:0!important}
.bbbpos-buffet-check strong{color:#0b5ed7;font-size:14px!important;font-weight:900!important;line-height:1.2!important}
.bbbpos-buffet-check small{font-size:11px!important;color:#667085!important;line-height:1.25!important}
.bbbpos-buffet-expanded{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:10px!important;flex-wrap:wrap!important}
.bbbpos-buffet-people{display:flex!important;align-items:center!important;gap:6px!important}
.bbbpos-buffet-people label{font-size:11px!important;font-weight:800!important;color:#475467!important;margin:0!important}
.bbbpos-buffet-qty-input{width:82px!important;height:34px!important;padding:4px 8px!important;text-align:center!important;border:1px solid #cbd5e1!important;border-radius:10px!important;font-size:14px!important;font-weight:800!important}
.bbbpos-buffet-style-row .bbbpos-addon-total{font-size:14px!important;min-width:82px!important;text-align:right!important}
.bbbpos-buffet-style-row .bbbpos-rental-mode-hint{font-size:11px!important;color:#667085!important}
.bbbpos-v7-buffet-selected{border:1px solid #b7e4c7!important;background:#f0fff4!important;color:#154734!important}
.bbbpos-v7-buffet-selected h2{margin:0 0 8px!important;color:#0f5132!important}
.bbbpos-v7-buffet-selected p{margin:0!important;line-height:1.45!important}
@media(max-width:700px){
  .bbbpos-buffet-style-row{align-items:stretch!important;flex-direction:column!important}
  .bbbpos-buffet-expanded{justify-content:space-between!important;width:100%!important}
  .bbbpos-buffet-people{justify-content:space-between!important}
}

/* v0.7.57: mobile Meal Selection keeps owner Travel / Carrying Fee and Discount visible for administrators. */

/* ========================================================================
   BBBPOS v0.7.57 — mobile deadline and owner pricing refinements
   ======================================================================== */
body.bbbpos-order-page .bbbpos-v8-deadline-copy > div{
  display:flex!important;
  flex-direction:row!important;
  align-items:center!important;
  gap:6px!important;
  min-width:0!important;
  white-space:nowrap!important;
}
body.bbbpos-order-page .bbbpos-v8-deadline-copy strong,
body.bbbpos-order-page .bbbpos-v8-deadline-copy span:not(.bbbpos-v8-deadline-icon){
  white-space:nowrap!important;
}
body.bbbpos-order-page .bbbpos-owner-pricing{
  display:block!important;
}
@media (max-width: 760px){
  body.bbbpos-order-page .bbbpos-v8-deadline-copy{
    align-items:center!important;
    gap:8px!important;
    overflow:hidden!important;
  }
  body.bbbpos-order-page .bbbpos-v8-deadline-copy > div{
    overflow:hidden!important;
  }
  body.bbbpos-order-page .bbbpos-v8-deadline-copy strong{
    font-size:12px!important;
    letter-spacing:-.02em!important;
  }
  body.bbbpos-order-page .bbbpos-v8-deadline-copy span:not(.bbbpos-v8-deadline-icon){
    font-size:10px!important;
    line-height:1.2!important;
    color:#667085!important;
  }
  body.bbbpos-order-page .bbbpos-owner-pricing{
    margin-top:12px!important;
    padding:12px!important;
    border-radius:14px!important;
  }
  body.bbbpos-order-page .bbbpos-owner-pricing h2{
    font-size:16px!important;
    margin:4px 0 10px!important;
  }
  body.bbbpos-order-page .bbbpos-owner-pricing .bbbpos-field{
    margin-bottom:9px!important;
  }
  body.bbbpos-order-page .bbbpos-owner-pricing input{
    min-height:42px!important;
    font-size:16px!important;
  }
  body.bbbpos-order-page .bbbpos-owner-pricing .bbbpos-btn{
    width:100%!important;
    justify-content:center!important;
  }
}

/* ========================================================================
   BBBPOS v0.7.58 — simple deadline copy and mobile manager pricing gate
   ======================================================================== */
body.bbbpos-order-page .bbbpos-v8-deadline-copy-simple{
  display:flex!important;
  align-items:center!important;
  gap:8px!important;
  min-width:0!important;
  white-space:nowrap!important;
}
body.bbbpos-order-page .bbbpos-v8-deadline-copy-simple strong{
  color:#17243a!important;
  font-size:15px!important;
  font-weight:900!important;
  white-space:nowrap!important;
}
body.bbbpos-order-page .bbbpos-v8-deadline-copy-simple span{
  color:#667085!important;
  font-size:12px!important;
  font-weight:700!important;
  white-space:nowrap!important;
}
body.bbbpos-order-page .bbbpos-v8-deadline-icon{display:none!important}
body.bbbpos-order-page .bbbpos-v8-menu-open-notice strong,
body.bbbpos-order-page .bbbpos-v7-menu-open-notice strong{margin-right:6px!important}
body.bbbpos-order-page .bbbpos-v8-appbar-actions{display:flex;align-items:center;justify-content:flex-end;gap:2px}
body.bbbpos-order-page .bbbpos-v8-manager-button{font-size:18px!important;letter-spacing:0!important}
.bbbpos-v8-manager-modal{width:min(560px,100%)!important}
.bbbpos-v8-manager-modal p{margin:0 0 14px;color:#667085;font-size:13px;font-weight:600}
@media (max-width:760px){
  body.bbbpos-order-page .bbbpos-v8-mobile-appbar{grid-template-columns:42px minmax(0,1fr) auto!important}
  body.bbbpos-order-page .bbbpos-v8-deadline-copy-simple{gap:6px!important;overflow:hidden!important}
  body.bbbpos-order-page .bbbpos-v8-deadline-copy-simple strong{font-size:13px!important;letter-spacing:-.02em!important}
  body.bbbpos-order-page .bbbpos-v8-deadline-copy-simple span{font-size:11px!important;overflow:hidden!important;text-overflow:ellipsis!important}
  body.bbbpos-order-page .bbbpos-owner-pricing{display:none!important}
  body.bbbpos-order-page .bbbpos-v8-manager-button{display:grid!important}
}
@media (min-width:761px){
  body.bbbpos-order-page .bbbpos-v8-manager-button{display:none!important}
}

/* ========================================================================
   BBBPOS v0.7.60 — cleaner host meal deadline and removed helper copy
   ======================================================================== */
body.bbbpos-order-page .bbbpos-v7-menu-open-notice{display:none!important}
body.bbbpos-order-page .bbbpos-v7-deadline-card{
  padding:12px 18px!important;
  margin-bottom:14px!important;
  min-height:0!important;
  gap:10px 14px!important;
  border-radius:22px!important;
  align-items:center!important;
}
body.bbbpos-order-page .bbbpos-v8-deadline-copy-simple{
  display:flex!important;
  align-items:center!important;
  gap:8px!important;
  line-height:1.1!important;
}
body.bbbpos-order-page .bbbpos-v8-deadline-copy-simple strong{
  font-size:15px!important;
  font-weight:900!important;
  letter-spacing:-.02em!important;
}
body.bbbpos-order-page .bbbpos-v8-deadline-copy-simple span{
  font-size:12px!important;
  font-weight:800!important;
  color:#667085!important;
}
body.bbbpos-order-page .bbbpos-v7-deadline-actions{
  gap:8px!important;
  align-items:center!important;
}
body.bbbpos-order-page .bbbpos-v7-deadline-actions input{
  min-height:40px!important;
  height:40px!important;
  min-width:210px!important;
  font-size:13px!important;
}
body.bbbpos-order-page .bbbpos-v7-deadline-actions .bbbpos-btn{
  min-height:40px!important;
  padding:0 16px!important;
  white-space:nowrap!important;
}
body.bbbpos-order-page .bbbpos-v7-meals-head .bbbpos-sub,
body.bbbpos-order-page .bbbpos-v7-addons>.bbbpos-head .bbbpos-sub{display:none!important}
@media (max-width:760px){
  body.bbbpos-order-page .bbbpos-v7-deadline-card{
    padding:10px 12px!important;
    margin-bottom:12px!important;
    grid-template-columns:1fr!important;
    gap:8px!important;
    border-radius:18px!important;
  }
  body.bbbpos-order-page .bbbpos-v8-deadline-copy-simple{
    justify-content:flex-start!important;
    overflow:visible!important;
  }
  body.bbbpos-order-page .bbbpos-v8-deadline-copy-simple strong{font-size:14px!important}
  body.bbbpos-order-page .bbbpos-v8-deadline-copy-simple span{font-size:11px!important}
  body.bbbpos-order-page .bbbpos-v7-deadline-actions{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    gap:8px!important;
    width:100%!important;
  }
  body.bbbpos-order-page .bbbpos-v7-deadline-actions input{
    width:100%!important;
    min-width:0!important;
    height:38px!important;
    min-height:38px!important;
    font-size:12px!important;
  }
  body.bbbpos-order-page .bbbpos-v7-deadline-actions .bbbpos-btn{
    min-height:38px!important;
    padding:0 12px!important;
    font-size:12px!important;
  }
  body.bbbpos-order-page #bbb-v7-save-deadline{display:none!important}
}


/* v0.7.62: tap the guest row to expand and keep mobile meal inputs compact. */
body.bbbpos-order-page .bbbpos-v7-host-meal-head{
  cursor:pointer;
}
body.bbbpos-order-page .bbbpos-v7-host-meal-head button,
body.bbbpos-order-page .bbbpos-v7-host-meal-head a{
  cursor:pointer;
}
body.bbbpos-order-page .bbbpos-v7-meal-body .bbbpos-field label{
  white-space:nowrap;
}
@media (max-width:760px){
  body.bbbpos-order-page .bbbpos-v7-contact-grid{
    display:grid!important;
    grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr)!important;
    gap:8px!important;
    align-items:end!important;
  }
  body.bbbpos-order-page .bbbpos-v7-contact-grid>.bbbpos-field:last-child:nth-child(odd){
    grid-column:auto!important;
  }
  body.bbbpos-order-page .bbbpos-v7-protein-grid{
    display:grid!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:6px!important;
    margin-top:9px!important;
    align-items:end!important;
  }
  body.bbbpos-order-page .bbbpos-v7-meal-body .bbbpos-field label{
    min-height:16px!important;
    margin-bottom:4px!important;
    font-size:10px!important;
    line-height:1.1!important;
    letter-spacing:-.01em!important;
  }
  body.bbbpos-order-page .bbbpos-v7-meal-body input,
  body.bbbpos-order-page .bbbpos-v7-meal-body select{
    min-height:38px!important;
    height:38px!important;
    padding:8px 26px 8px 9px!important;
    border-radius:10px!important;
    font-size:12px!important;
    line-height:1.15!important;
  }
  body.bbbpos-order-page .bbbpos-v7-meal-body .g-name{
    padding-right:9px!important;
  }
  body.bbbpos-order-page .bbbpos-v7-meal-body{
    padding:11px 8px!important;
  }
}
@media (max-width:430px){
  body.bbbpos-order-page .bbbpos-v7-contact-grid{
    grid-template-columns:minmax(0,1.12fr) minmax(0,.88fr)!important;
    gap:6px!important;
  }
  body.bbbpos-order-page .bbbpos-v7-protein-grid{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:5px!important;
  }
  body.bbbpos-order-page .bbbpos-v7-meal-body .bbbpos-field label{
    font-size:9px!important;
  }
  body.bbbpos-order-page .bbbpos-v7-meal-body input,
  body.bbbpos-order-page .bbbpos-v7-meal-body select{
    min-height:36px!important;
    height:36px!important;
    padding-left:6px!important;
    padding-right:20px!important;
    font-size:11px!important;
  }
}

/* v0.7.63: show selected meal emojis next to the guest name, without protein names. */
body.bbbpos-order-page .bbbpos-v8-meal-list-head{
  display:none!important;
}
body.bbbpos-order-page .bbbpos-v7-host-meal-head{
  grid-template-columns:34px minmax(0,1fr) auto 34px!important;
  align-items:center!important;
}
body.bbbpos-order-page .bbbpos-v7-meal-summary.bbbpos-v763-row-summary,
body.bbbpos-order-page .bbbpos-v7-meal-summary{
  display:none!important;
}
body.bbbpos-order-page .bbbpos-v7-meal-title strong{
  display:flex!important;
  align-items:center!important;
  gap:8px!important;
  min-width:0!important;
  max-width:100%!important;
  white-space:normal!important;
}
body.bbbpos-order-page .bbbpos-v763-name-icons{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:4px!important;
  flex:0 0 auto!important;
  min-width:0!important;
  margin-left:2px!important;
  color:inherit!important;
  font-size:17px!important;
  line-height:1!important;
  letter-spacing:0!important;
  white-space:nowrap!important;
}
body.bbbpos-order-page .bbbpos-v763-name-icons span{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  font-size:1em!important;
  line-height:1!important;
}
@media (max-width:760px){
  body.bbbpos-order-page .bbbpos-v7-host-meal-head{
    grid-template-columns:26px minmax(0,1fr) 18px!important;
    gap:7px!important;
    min-height:58px!important;
  }
  body.bbbpos-order-page .bbbpos-v7-meal-compact-actions{
    display:none!important;
  }
  body.bbbpos-order-page .bbbpos-v7-meal-toggle{
    grid-column:3!important;
    width:18px!important;
    min-width:18px!important;
  }
  body.bbbpos-order-page .bbbpos-v7-meal-title strong{
    display:flex!important;
    flex-wrap:wrap!important;
    row-gap:2px!important;
    column-gap:6px!important;
    font-size:15px!important;
    line-height:1.2!important;
  }
  body.bbbpos-order-page .bbbpos-v763-name-icons{
    font-size:15px!important;
    gap:3px!important;
    margin-left:0!important;
  }
}
@media (max-width:430px){
  body.bbbpos-order-page .bbbpos-v7-host-meal-head{
    grid-template-columns:24px minmax(0,1fr) 16px!important;
    gap:6px!important;
  }
  body.bbbpos-order-page .bbbpos-v7-meal-title strong{
    font-size:14px!important;
  }
  body.bbbpos-order-page .bbbpos-v763-name-icons{
    font-size:14px!important;
    gap:2px!important;
  }
}


/* ========================================================================
   BBBPOS v0.7.64 — compact host toolbar labels and full-width pricing buttons
   ======================================================================== */
body.bbbpos-order-page .bbbpos-owner-pricing .bbbpos-v8-owner-save,
body.bbbpos-order-page .bbbpos-v7-summary .bbbpos-v8-summary-review{
  display:flex!important;
  width:100%!important;
  min-height:44px!important;
  box-sizing:border-box!important;
  align-items:center!important;
  justify-content:center!important;
  text-align:center!important;
  white-space:nowrap!important;
  line-height:1.1!important;
  padding:12px 14px!important;
  margin-top:12px!important;
}
body.bbbpos-order-page .bbbpos-owner-pricing .bbbpos-v8-owner-save{
  border-radius:999px!important;
}
body.bbbpos-order-page .bbbpos-v7-summary .bbbpos-v8-summary-review{
  border-radius:999px!important;
}
@media (max-width:760px){
  body.bbbpos-order-page .bbbpos-v7-toolbar .bbbpos-btn{
    padding-left:10px!important;
    padding-right:10px!important;
  }
}

/* ========================================================================
   BBBPOS v0.7.65 — larger meal emojis and emoji-only age summary
   ======================================================================== */
body.bbbpos-order-page .bbbpos-v763-name-icons{
  font-size:1.8em!important;
  line-height:1!important;
  gap:.18em!important;
  vertical-align:middle!important;
}
body.bbbpos-order-page .bbbpos-v763-name-icons span{
  font-size:1em!important;
  line-height:1!important;
}
body.bbbpos-order-page .bbbpos-v765-age-emoji{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  width:auto!important;
  max-width:max-content!important;
  color:inherit!important;
  font-size:1.35em!important;
  line-height:1!important;
  font-weight:900!important;
  margin-top:2px!important;
}
@media (max-width:760px){
  body.bbbpos-order-page .bbbpos-v763-name-icons{
    font-size:1.8em!important;
    gap:.15em!important;
  }
  body.bbbpos-order-page .bbbpos-v765-age-emoji{
    font-size:1.35em!important;
    margin-top:1px!important;
  }
}


/* ========================================================================
   BBBPOS v0.7.66 — keep Guest Meals text on one line
   ======================================================================== */
body.bbbpos-order-page .bbbpos-v7-meals-head h2,
body.bbbpos-order-page .bbbpos-v7-add-meal-row strong,
body.bbbpos-order-page .bbbpos-v7-meal-stats strong,
body.bbbpos-order-page .bbbpos-v7-meal-stats span{
  white-space:nowrap!important;
  word-break:keep-all!important;
  overflow-wrap:normal!important;
}
body.bbbpos-order-page .bbbpos-v7-meals-head h2{
  display:block!important;
  min-width:max-content!important;
  line-height:1.1!important;
}
@media (max-width:760px){
  body.bbbpos-order-page .bbbpos-v7-meals-head h2{
    font-size:20px!important;
    white-space:nowrap!important;
  }
  body.bbbpos-order-page .bbbpos-v7-meal-stats strong{
    font-size:26px!important;
  }
  body.bbbpos-order-page .bbbpos-v7-meal-stats span{
    font-size:12px!important;
  }
}
@media (max-width:380px){
  body.bbbpos-order-page .bbbpos-v7-meals-head h2{font-size:19px!important;}
  body.bbbpos-order-page .bbbpos-v7-meal-stats strong{font-size:23px!important;}
  body.bbbpos-order-page .bbbpos-v7-meal-stats span{font-size:11px!important;}
}


/* ========================================================================
   BBBPOS v0.7.67 — mobile meal header/actions, compact guest cards, inline add-on descriptions
   ======================================================================== */
body.bbbpos-order-page .bbbpos-addon-name-line{
  display:flex!important;
  align-items:baseline!important;
  justify-content:flex-start!important;
  gap:8px!important;
  min-width:0!important;
  max-width:100%!important;
  flex-wrap:wrap!important;
}
body.bbbpos-order-page .bbbpos-addon-name-line>strong{
  flex:0 1 auto!important;
  min-width:0!important;
  max-width:100%!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}
body.bbbpos-order-page .bbbpos-addon-meta-inline{
  display:inline-flex!important;
  align-items:center!important;
  flex:0 0 auto!important;
  color:var(--bbb-muted)!important;
  font-size:12px!important;
  font-weight:700!important;
  line-height:1.15!important;
  white-space:nowrap!important;
}
body.bbbpos-order-page .bbbpos-addon-meta-inline .bbbpos-rental-mode-hint{
  display:inline!important;
  margin-left:0!important;
  color:var(--bbb-muted)!important;
  font-size:inherit!important;
  font-weight:700!important;
}
@media (max-width:760px){
  body.bbbpos-order-page .bbbpos-v7-meals-head{
    display:flex!important;
    flex-direction:row!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:8px!important;
    margin-bottom:8px!important;
  }
  body.bbbpos-order-page .bbbpos-v7-meals-head>div:first-child{
    flex:0 0 auto!important;
    min-width:auto!important;
  }
  body.bbbpos-order-page .bbbpos-v7-meals-head h2{
    margin:0!important;
    font-size:19px!important;
    line-height:1!important;
  }
  body.bbbpos-order-page .bbbpos-v7-toolbar{
    flex:1 1 auto!important;
    display:flex!important;
    flex-direction:row!important;
    flex-wrap:nowrap!important;
    align-items:center!important;
    justify-content:flex-end!important;
    gap:6px!important;
    min-width:0!important;
  }
  body.bbbpos-order-page .bbbpos-v7-toolbar .bbbpos-btn{
    min-height:32px!important;
    height:32px!important;
    padding:0 9px!important;
    border-radius:999px!important;
    font-size:11.5px!important;
    line-height:1!important;
    white-space:nowrap!important;
  }
  body.bbbpos-order-page .bbbpos-v7-toolbar #bbb-v7-send-host{
    display:none!important;
  }
  body.bbbpos-order-page .bbbpos-v7-meal-stats{
    margin:8px 0 7px!important;
  }
  body.bbbpos-order-page .bbbpos-v7-meal-stats>div{
    min-height:44px!important;
    padding:6px 4px!important;
    border-radius:12px!important;
  }
  body.bbbpos-order-page .bbbpos-v7-meal-stats strong{
    font-size:22px!important;
    line-height:1!important;
  }
  body.bbbpos-order-page .bbbpos-v7-meal-stats span{
    font-size:11px!important;
    line-height:1!important;
  }
  body.bbbpos-order-page .bbbpos-v7-meal{
    margin-top:7px!important;
    border-radius:14px!important;
    box-shadow:0 4px 14px rgba(19,41,75,.045)!important;
  }
  body.bbbpos-order-page .bbbpos-v7-host-meal-head{
    min-height:44px!important;
    padding:7px 9px!important;
    grid-template-columns:24px minmax(0,1fr) 16px!important;
    gap:6px!important;
  }
  body.bbbpos-order-page .bbbpos-v8-meal-index{
    width:24px!important;
    height:24px!important;
    min-width:24px!important;
    font-size:11px!important;
  }
  body.bbbpos-order-page .bbbpos-v7-meal-toggle{
    width:16px!important;
    min-width:16px!important;
    height:24px!important;
    min-height:24px!important;
    font-size:17px!important;
    background:transparent!important;
  }
  body.bbbpos-order-page .bbbpos-v7-meal-title{
    gap:0!important;
    min-height:0!important;
  }
  body.bbbpos-order-page .bbbpos-v7-meal-title strong{
    font-size:14px!important;
    line-height:1.08!important;
    flex-wrap:nowrap!important;
    gap:5px!important;
  }
  body.bbbpos-order-page .bbbpos-v763-name-icons{
    font-size:1.8em!important;
    gap:.12em!important;
  }
  body.bbbpos-order-page .bbbpos-v765-age-emoji{
    font-size:1.15em!important;
    margin-top:0!important;
  }
  body.bbbpos-order-page .bbbpos-v7-meal-body{
    padding:9px 8px!important;
  }
  body.bbbpos-order-page .bbbpos-v7-contact-grid,
  body.bbbpos-order-page .bbbpos-v7-protein-grid{
    gap:6px!important;
  }
  body.bbbpos-order-page .bbbpos-v7-meal-body input,
  body.bbbpos-order-page .bbbpos-v7-meal-body select{
    min-height:34px!important;
    height:34px!important;
    border-radius:9px!important;
  }
  body.bbbpos-order-page .bbbpos-v7-addons .bbbpos-addon{
    grid-template-columns:minmax(0,1fr) auto auto!important;
    gap:7px!important;
    padding:8px 0!important;
    align-items:center!important;
  }
  body.bbbpos-order-page .bbbpos-v7-addons .bbbpos-addon-copy{
    min-width:0!important;
  }
  body.bbbpos-order-page .bbbpos-v7-addons .bbbpos-addon-name-line{
    flex-wrap:nowrap!important;
    gap:6px!important;
  }
  body.bbbpos-order-page .bbbpos-v7-addons .bbbpos-addon-name-line>strong{
    font-size:14px!important;
  }
  body.bbbpos-order-page .bbbpos-v7-addons .bbbpos-addon-meta-inline{
    font-size:11px!important;
  }
  body.bbbpos-order-page .bbbpos-v7-addons .bbbpos-qty{
    gap:5px!important;
  }
  body.bbbpos-order-page .bbbpos-v7-addons .bbbpos-qty button{
    width:30px!important;
    height:30px!important;
    min-width:30px!important;
    max-width:30px!important;
  }
  body.bbbpos-order-page .bbbpos-v7-addons .bbbpos-qty span{
    min-width:18px!important;
    font-size:14px!important;
  }
  body.bbbpos-order-page .bbbpos-v7-addons .bbbpos-addon-total{
    min-width:62px!important;
    font-size:14px!important;
  }
}
@media (max-width:380px){
  body.bbbpos-order-page .bbbpos-v7-meals-head h2{font-size:18px!important;}
  body.bbbpos-order-page .bbbpos-v7-toolbar .bbbpos-btn{padding:0 7px!important;font-size:11px!important;}
  body.bbbpos-order-page .bbbpos-v763-name-icons{font-size:1.7em!important;}
  body.bbbpos-order-page .bbbpos-v7-addons .bbbpos-addon-meta-inline{font-size:10.5px!important;}
}


/* v0.8.7: Clean iframe embed mode - hide BBBPOS booking logo and blue hero header inside external iframes. */
html.bbbpos-iframe-mode .bbbpos-booking-app{min-height:auto!important;background:#fff!important}
html.bbbpos-iframe-mode .bbbpos-booking-brand,
html.bbbpos-iframe-mode .bbbpos-booking-hero{display:none!important}
html.bbbpos-iframe-mode .bbbpos-booking-shell{width:100%!important;max-width:none!important;margin:0!important;padding:0!important}
html.bbbpos-iframe-mode .bbbpos-booking-card{margin-top:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;padding:clamp(20px,4vw,36px)!important}
html.bbbpos-iframe-mode .bbbpos-legal-footer{display:none!important}

/* v0.8.9: Add visual booking calendar/time picker and keep compact address layout. */
html.bbbpos-iframe-mode .bbbpos-booking-card{padding:18px 22px!important}
html.bbbpos-iframe-mode .bbbpos-booking-section h2{margin-bottom:12px!important;font-size:22px!important}
html.bbbpos-iframe-mode .bbbpos-booking-section+.bbbpos-booking-section{margin-top:20px!important;padding-top:18px!important}
html.bbbpos-iframe-mode .bbbpos-booking-progress{margin-bottom:18px!important}
html.bbbpos-iframe-mode .bbbpos-booking-grid{gap:12px!important}
html.bbbpos-iframe-mode .bbbpos-booking-grid input,
html.bbbpos-iframe-mode .bbbpos-booking-grid select,
html.bbbpos-iframe-mode .bbbpos-booking-grid textarea{min-height:44px!important;padding:9px 12px!important;border-radius:11px!important}
html.bbbpos-iframe-mode .bbbpos-booking-grid textarea{min-height:78px!important}
html.bbbpos-iframe-mode .bbbpos-booking-summary{margin:16px 0 12px!important;padding:12px 14px!important}
html.bbbpos-iframe-mode .bbbpos-booking-submit{padding:12px 18px!important}
@media(max-width:680px){html.bbbpos-iframe-mode .bbbpos-booking-card{padding:14px 12px!important}}

/* v0.8.10: Iframe quick-booking UI - simplified layout for external website embeds. */
html.bbbpos-iframe-mode .bbbpos-booking-card{padding:12px 14px!important}
html.bbbpos-iframe-mode .bbbpos-booking-quick-head{display:flex!important;align-items:flex-start;justify-content:space-between;gap:12px;margin:0 0 12px;padding:12px 14px;border:1px solid #e5e5ea;border-radius:14px;background:#f8fafc}
html.bbbpos-iframe-mode .bbbpos-booking-quick-head span{display:block;margin-bottom:2px;color:#0071e3;font-size:11px;font-weight:900;letter-spacing:.06em;text-transform:uppercase}
html.bbbpos-iframe-mode .bbbpos-booking-quick-head strong{display:block;color:#1d1d1f;font-size:20px;line-height:1.12;letter-spacing:-.02em}
html.bbbpos-iframe-mode .bbbpos-booking-quick-head small{max-width:390px;color:#6e6e73;font-size:13px;line-height:1.35;text-align:right}
html.bbbpos-iframe-mode .bbbpos-booking-progress{display:none!important}
html.bbbpos-iframe-mode .bbbpos-booking-section h2{margin:0 0 9px!important;font-size:18px!important;line-height:1.2!important;letter-spacing:-.02em!important}
html.bbbpos-iframe-mode .bbbpos-booking-section+.bbbpos-booking-section{margin-top:14px!important;padding-top:14px!important}
html.bbbpos-iframe-mode .bbbpos-booking-grid{gap:9px!important}
html.bbbpos-iframe-mode .bbbpos-booking-grid label{gap:4px!important}
html.bbbpos-iframe-mode .bbbpos-booking-grid label>span,
html.bbbpos-iframe-mode .bbbpos-booking-field-title{font-size:12px!important;line-height:1.2!important}
html.bbbpos-iframe-mode .bbbpos-booking-grid input,
html.bbbpos-iframe-mode .bbbpos-booking-grid select,
html.bbbpos-iframe-mode .bbbpos-booking-grid textarea{min-height:38px!important;padding:7px 10px!important;border-radius:9px!important;font-size:14px!important}
html.bbbpos-iframe-mode .bbbpos-booking-grid textarea{min-height:56px!important}
html.bbbpos-iframe-mode .bbbpos-booking-address-group{gap:5px!important}
html.bbbpos-iframe-mode .bbbpos-booking-address-grid{gap:8px!important;grid-template-columns:minmax(220px,1.6fr) minmax(130px,.9fr) minmax(70px,.45fr) minmax(90px,.55fr)!important}
html.bbbpos-iframe-mode .bbbpos-booking-datetime-wrap{gap:6px!important}
html.bbbpos-iframe-mode .bbbpos-booking-datetime-picker{gap:10px!important;padding:10px!important;border-radius:14px!important;background:#fff!important}
html.bbbpos-iframe-mode .bbbpos-booking-calendar-panel,
html.bbbpos-iframe-mode .bbbpos-booking-slots-panel{padding:10px!important;border-radius:12px!important}
html.bbbpos-iframe-mode .bbbpos-booking-calendar-head{margin-bottom:7px!important}
html.bbbpos-iframe-mode .bbbpos-cal-label{font-size:15px!important}
html.bbbpos-iframe-mode .bbbpos-cal-nav{width:32px!important;height:32px!important;font-size:20px!important}
html.bbbpos-iframe-mode .bbbpos-cal-weekdays,
html.bbbpos-iframe-mode .bbbpos-cal-grid{gap:5px!important}
html.bbbpos-iframe-mode .bbbpos-cal-empty{min-height:34px!important}
html.bbbpos-iframe-mode .bbbpos-cal-day{min-height:34px!important;border-radius:9px!important;font-size:13px!important}
html.bbbpos-iframe-mode .bbbpos-slot-heading{margin-bottom:8px!important}
html.bbbpos-iframe-mode .bbbpos-slot-heading strong{font-size:14px!important}
html.bbbpos-iframe-mode .bbbpos-slot-heading small{font-size:11px!important}
html.bbbpos-iframe-mode .bbbpos-slot-grid{gap:7px!important}
html.bbbpos-iframe-mode .bbbpos-slot-btn{min-height:42px!important;padding:8px 10px!important;border-radius:10px!important;font-size:14px!important}
html.bbbpos-iframe-mode .bbbpos-picker-selection{font-size:12px!important}
html.bbbpos-iframe-mode .bbbpos-booking-summary{align-items:center;margin:12px 0 8px!important;padding:10px 12px!important;border-radius:11px!important;background:#eef6ff!important}
html.bbbpos-iframe-mode .bbbpos-booking-summary strong{white-space:nowrap}
html.bbbpos-iframe-mode .bbbpos-booking-summary span{font-size:13px!important}
html.bbbpos-iframe-mode .bbbpos-booking-agree{margin:9px 0!important;font-size:11px!important;line-height:1.35!important}
html.bbbpos-iframe-mode .bbbpos-booking-message{min-height:18px!important;margin:4px 0!important}
html.bbbpos-iframe-mode .bbbpos-booking-submit{min-height:46px!important;padding:10px 16px!important;border-radius:12px!important;font-size:16px!important}
html.bbbpos-iframe-mode .bbbpos-booking-deposit{display:none!important}
@media(max-width:900px){html.bbbpos-iframe-mode .bbbpos-booking-address-grid{grid-template-columns:1fr 1fr!important}html.bbbpos-iframe-mode .bbbpos-address-street{grid-column:1/-1!important}}
@media(max-width:680px){html.bbbpos-iframe-mode .bbbpos-booking-card{padding:10px!important}html.bbbpos-iframe-mode .bbbpos-booking-quick-head{display:block!important;padding:10px 12px!important}html.bbbpos-iframe-mode .bbbpos-booking-quick-head small{display:block;max-width:none;margin-top:3px;text-align:left}html.bbbpos-iframe-mode .bbbpos-booking-datetime-picker{grid-template-columns:1fr!important}html.bbbpos-iframe-mode .bbbpos-booking-address-grid{grid-template-columns:1fr!important}html.bbbpos-iframe-mode .bbbpos-slot-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}


/* v0.8.11: Make Invoice Final Total and Suggested Tips easier for customers to see. */
body.bbbpos-invoice-page .bbbpos-totals .balance.final-total{
  padding:13px 16px!important;
  border-radius:14px!important;
  background:linear-gradient(135deg,#111827,#000)!important;
  font-size:24px!important;
  font-weight:950!important;
  box-shadow:0 10px 24px rgba(0,0,0,.18)!important;
}
body.bbbpos-invoice-page .bbbpos-totals .balance.final-total span{
  font-size:18px!important;
  font-weight:900!important;
  letter-spacing:.01em!important;
}
body.bbbpos-invoice-page .bbbpos-totals .balance.final-total strong{
  font-size:32px!important;
  line-height:1!important;
  font-weight:1000!important;
}
body.bbbpos-invoice-page .bbbpos-tip-section{
  padding:18px!important;
  border:2px solid #dbeafe!important;
  border-radius:18px!important;
  background:#f8fbff!important;
}
body.bbbpos-invoice-page .bbbpos-tip-section h2{
  font-size:28px!important;
  line-height:1.1!important;
  font-weight:950!important;
  color:#111827!important;
}
body.bbbpos-invoice-page .bbbpos-tip-table th{
  font-size:13px!important;
  font-weight:900!important;
}
body.bbbpos-invoice-page .bbbpos-tip-table td{
  font-size:18px!important;
  font-weight:800!important;
}
body.bbbpos-invoice-page .bbbpos-tip-table td strong{
  font-size:26px!important;
  line-height:1!important;
  font-weight:1000!important;
}
@media(max-width:760px){
  body.bbbpos-invoice-page .bbbpos-totals .balance.final-total{
    padding:12px 13px!important;
    font-size:20px!important;
  }
  body.bbbpos-invoice-page .bbbpos-totals .balance.final-total span{font-size:15px!important}
  body.bbbpos-invoice-page .bbbpos-totals .balance.final-total strong{font-size:26px!important}
  body.bbbpos-invoice-page .bbbpos-tip-section{padding:14px 10px!important}
  body.bbbpos-invoice-page .bbbpos-tip-section h2{font-size:20px!important}
  body.bbbpos-invoice-page .bbbpos-tip-table td:first-child{font-size:15px!important}
  body.bbbpos-invoice-page .bbbpos-tip-table td:nth-child(2){font-size:13px!important}
}

/* v0.8.36: Clear booking process explanation for iframe booking page. */
.bbbpos-booking-flow{
  margin:16px 0 18px!important;
  padding:16px!important;
  border:1px solid #d8dee8!important;
  border-radius:18px!important;
  background:#f8fafc!important;
}
.bbbpos-booking-flow-head{
  display:flex!important;
  align-items:baseline!important;
  justify-content:space-between!important;
  gap:12px!important;
  margin-bottom:12px!important;
}
.bbbpos-booking-flow-head span{
  color:#0071e3!important;
  font-size:12px!important;
  font-weight:900!important;
  letter-spacing:.08em!important;
  text-transform:uppercase!important;
}
.bbbpos-booking-flow-head strong{
  color:#111827!important;
  font-size:17px!important;
  line-height:1.15!important;
  font-weight:950!important;
}
.bbbpos-booking-flow ol{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:10px!important;
  margin:0!important;
  padding:0!important;
  list-style:none!important;
}
.bbbpos-booking-flow li{
  position:relative!important;
  display:grid!important;
  grid-template-columns:34px 1fr!important;
  gap:8px 10px!important;
  align-items:flex-start!important;
  min-width:0!important;
  padding:12px!important;
  border:1px solid #d8dee8!important;
  border-radius:15px!important;
  background:#fff!important;
}
.bbbpos-booking-flow li.is-current{
  border-color:#0071e3!important;
  background:#f1f7ff!important;
}
.bbbpos-booking-flow li b{
  grid-row:1 / span 2!important;
  display:grid!important;
  place-items:center!important;
  width:34px!important;
  height:34px!important;
  border-radius:50%!important;
  background:#111827!important;
  color:#fff!important;
  font-size:15px!important;
  line-height:1!important;
  font-weight:950!important;
}
.bbbpos-booking-flow li.is-current b{
  background:#0071e3!important;
}
.bbbpos-booking-flow li strong{
  color:#111827!important;
  font-size:15px!important;
  line-height:1.1!important;
  font-weight:950!important;
}
.bbbpos-booking-flow li span{
  color:#64748b!important;
  font-size:12px!important;
  line-height:1.32!important;
  font-weight:650!important;
}
.bbbpos-booking-success-next{
  width:min(720px,100%)!important;
  margin:18px auto!important;
  padding:16px!important;
  border:1px solid #d8dee8!important;
  border-radius:18px!important;
  background:#f8fafc!important;
  text-align:left!important;
}
.bbbpos-booking-success-next strong{
  display:block!important;
  margin-bottom:9px!important;
  color:#111827!important;
  font-size:17px!important;
  font-weight:950!important;
}
.bbbpos-booking-success-next ol{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:8px 14px!important;
  margin:0!important;
  padding-left:20px!important;
  color:#475569!important;
  font-size:14px!important;
  line-height:1.35!important;
}
@media(max-width:900px){
  .bbbpos-booking-flow ol{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:560px){
  .bbbpos-booking-flow{
    margin:12px 0 14px!important;
    padding:12px!important;
  }
  .bbbpos-booking-flow-head{
    display:block!important;
  }
  .bbbpos-booking-flow-head strong{
    display:block!important;
    margin-top:4px!important;
    font-size:16px!important;
  }
  .bbbpos-booking-flow ol{
    grid-template-columns:1fr!important;
    gap:8px!important;
  }
  .bbbpos-booking-flow li{
    grid-template-columns:30px 1fr!important;
    padding:10px!important;
  }
  .bbbpos-booking-flow li b{
    width:30px!important;
    height:30px!important;
    font-size:14px!important;
  }
  .bbbpos-booking-success-next ol{
    grid-template-columns:1fr!important;
  }
}

/* v0.8.37: Calendar service city/state display in BBBPOS Booking iframe. */
.bbbpos-booking-service-location{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:12px!important;
  margin:0 0 14px!important;
  padding:12px 14px!important;
  border:1px solid #d8dee8!important;
  border-radius:14px!important;
  background:#f8fafc!important;
}
.bbbpos-booking-service-location strong{
  color:#475569!important;
  font-size:13px!important;
  font-weight:900!important;
  letter-spacing:.02em!important;
  text-transform:uppercase!important;
}
.bbbpos-booking-service-location span{
  color:#111827!important;
  font-size:16px!important;
  font-weight:950!important;
}
@media(max-width:560px){
  .bbbpos-booking-service-location{
    align-items:flex-start!important;
    flex-direction:column!important;
    gap:4px!important;
    padding:10px 12px!important;
  }
}

/* v0.8.49: Deposit-first booking success flow. */
.bbbpos-booking-deposit-box{
  width:min(720px,100%)!important;
  margin:18px auto!important;
  padding:18px!important;
  border:2px solid #2563eb!important;
  border-radius:20px!important;
  background:#eff6ff!important;
  text-align:left!important;
  box-shadow:0 14px 34px rgba(37,99,235,.14)!important;
}
.bbbpos-booking-deposit-box>strong{
  display:block!important;
  color:#111827!important;
  font-size:22px!important;
  line-height:1.15!important;
  font-weight:950!important;
  margin-bottom:10px!important;
}
.bbbpos-booking-deposit-amount{
  display:inline-flex!important;
  align-items:center!important;
  margin:0 0 12px!important;
  padding:8px 12px!important;
  border-radius:999px!important;
  background:#dcfce7!important;
  color:#14532d!important;
  font-size:16px!important;
  font-weight:950!important;
}
.bbbpos-booking-contact-line{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:100%!important;
  min-height:46px!important;
  margin:9px 0!important;
  border-radius:14px!important;
  background:#2563eb!important;
  color:#fff!important;
  text-decoration:none!important;
  font-size:17px!important;
  font-weight:950!important;
}
.bbbpos-booking-contact-line:hover{
  background:#1d4ed8!important;
  color:#fff!important;
}
.bbbpos-booking-deposit-instructions{
  margin:12px 0!important;
  padding:12px!important;
  border-radius:14px!important;
  background:#fff!important;
  color:#334155!important;
  font-size:14px!important;
  line-height:1.45!important;
  font-weight:650!important;
  white-space:pre-line!important;
}
.bbbpos-booking-deposit-box small{
  display:block!important;
  color:#64748b!important;
  font-size:13px!important;
  line-height:1.35!important;
  font-weight:750!important;
}

/* v0.8.62.5: booking / meal selection clarity */
.bbbpos-booking-flow-v8625 ol,
.bbbpos-order-flow-v8625 ol{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:10px!important;
  margin:12px 0!important;
  padding:0!important;
  list-style:none!important;
}
.bbbpos-booking-flow-v8625 li,
.bbbpos-order-flow-v8625 li{
  position:relative!important;
  min-height:86px!important;
  padding:14px 12px!important;
  border:1px solid #dbe3ef!important;
  border-radius:18px!important;
  background:#fff!important;
  box-shadow:0 8px 24px rgba(15,23,42,.06)!important;
}
.bbbpos-booking-flow-v8625 li b,
.bbbpos-order-flow-v8625 li b{
  display:inline-flex!important;
  width:28px!important;height:28px!important;
  align-items:center!important;justify-content:center!important;
  border-radius:999px!important;
  background:#111827!important;color:#fff!important;
  font-weight:900!important;
  margin-bottom:8px!important;
}
.bbbpos-booking-flow-v8625 li strong,
.bbbpos-order-flow-v8625 li strong{display:block!important;font-size:15px!important;color:#111827!important;font-weight:950!important}
.bbbpos-booking-flow-v8625 li span{display:block!important;margin-top:4px!important;color:#6b7280!important;font-size:12px!important;line-height:1.35!important}
.bbbpos-booking-flow-v8625 li.is-current,
.bbbpos-order-flow-v8625 li.is-current{border-color:#2563eb!important;background:#eff6ff!important}
.bbbpos-order-flow-v8625 li.is-done{border-color:#16a34a!important;background:#f0fdf4!important}
.bbbpos-order-flow-v8625 li.is-done b{background:#16a34a!important}
.bbbpos-order-flow-v8625 li.is-warning{border-color:#f59e0b!important;background:#fffbeb!important}
.bbbpos-order-flow-v8625 li.is-warning b{background:#f59e0b!important}
.bbbpos-booking-deposit-status,
.bbbpos-deposit-banner{
  display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;
  margin:12px 0!important;padding:13px 16px!important;border-radius:18px!important;
  border:1px solid #fed7aa!important;background:#fff7ed!important;color:#9a3412!important;
  font-weight:800!important;
}
.bbbpos-booking-deposit-status span,
.bbbpos-deposit-banner span{font-weight:650!important;color:inherit!important;font-size:13px!important}
.bbbpos-booking-deposit-status.is-paid,
.bbbpos-deposit-banner.is-paid{border-color:#bbf7d0!important;background:#f0fdf4!important;color:#166534!important}
.bbbpos-booking-deposit-status.is-unpaid,
.bbbpos-deposit-banner.is-unpaid{border-color:#fdba74!important;background:#fff7ed!important;color:#9a3412!important}
.bbbpos-meal-sticky-alert{
  position:sticky!important;top:10px!important;z-index:30!important;
  display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;
  margin:12px 0!important;padding:12px 16px!important;border-radius:18px!important;
  border:1px solid #fbbf24!important;background:#fffbeb!important;color:#92400e!important;
  box-shadow:0 10px 28px rgba(245,158,11,.18)!important;
}
.bbbpos-meal-sticky-alert strong{font-size:15px!important;font-weight:950!important}
.bbbpos-meal-sticky-alert span{font-size:13px!important;font-weight:750!important}
.bbbpos-v7-meal.is-pending-meal{
  border-color:#f59e0b!important;
  box-shadow:0 0 0 2px rgba(245,158,11,.16),0 12px 28px rgba(245,158,11,.10)!important;
}
.bbbpos-v7-meal.is-pending-meal .bbbpos-v7-meal-head{
  background:linear-gradient(90deg,#fffbeb,#fff)!important;
}
.bbbpos-v7-meal.is-ready-meal{
  border-color:#bbf7d0!important;
}
.bbbpos-v7-meal-stats .has-pending,
.bbbpos-v7-meal-stats div.has-pending{
  background:#fffbeb!important;border-color:#f59e0b!important;color:#92400e!important;
}
.bbbpos-v7-review-button,
.bbbpos-booking-submit,
.bbbpos-v8-owner-save,
#bbb-save-owner-pricing{
  min-height:50px!important;
  border-radius:999px!important;
  font-size:16px!important;
  font-weight:950!important;
  box-shadow:0 10px 24px rgba(0,113,227,.25)!important;
}
.bbbpos-v7-autosave-panel{
  border:1px solid #bfdbfe!important;
  background:#eff6ff!important;
}
@media(max-width:760px){
  .bbbpos-booking-flow-v8625 ol,.bbbpos-order-flow-v8625 ol{grid-template-columns:1fr 1fr!important}
  .bbbpos-booking-deposit-status,.bbbpos-deposit-banner,.bbbpos-meal-sticky-alert{align-items:flex-start!important;flex-direction:column!important}
}

/* v9.0.2: Add multiple Guest Meals from one quantity field. */
.bbbpos-v902-add-meal-row{
  align-items:center;
  gap:14px;
}
.bbbpos-v902-add-meal-control{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:10px;
  flex-wrap:wrap;
}
.bbbpos-v902-add-meal-control label{
  font-weight:800;
  color:#1f2937;
  white-space:nowrap;
}
.bbbpos-v902-add-meal-control input{
  width:94px;
  min-height:44px;
  border:1px solid #d6e0ed;
  border-radius:999px;
  padding:8px 14px;
  font-size:18px;
  font-weight:900;
  text-align:center;
  color:#0f172a;
  background:#fff;
}
.bbbpos-v902-add-meal-control input:disabled{
  opacity:.7;
  background:#f3f6fb;
}
@media (max-width:760px){
  .bbbpos-v902-add-meal-row{
    align-items:stretch;
  }
  .bbbpos-v902-add-meal-control{
    width:100%;
    justify-content:space-between;
    display:grid;
    grid-template-columns:1fr 92px;
    gap:10px;
  }
  .bbbpos-v902-add-meal-control label{
    grid-column:1 / -1;
  }
  .bbbpos-v902-add-meal-control input{
    width:100%;
  }
  .bbbpos-v902-add-meal-control #bbb-v7-add-meal{
    width:100%;
  }
}

/* v9.0.6: mobile delete meal and change request card. */
.bbbpos-v906-change-card{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  margin:14px 0;
  padding:16px 18px;
  border:1px solid #cfe3fb;
  border-radius:18px;
  background:linear-gradient(135deg,#f8fbff,#eef6ff);
}
.bbbpos-v906-change-card strong,
.bbbpos-v906-change-card span{
  display:block;
}
.bbbpos-v906-change-card span{
  color:#475569;
  margin-top:3px;
}
.bbbpos-v906-mobile-delete-row{
  display:none;
  margin-top:14px;
  padding-top:14px;
  border-top:1px dashed #f2b4b4;
}
.bbbpos-v906-delete-meal-wide{
  width:100%;
  justify-content:center;
}
.bbbpos-v8-review-row.is-incomplete{
  outline:2px solid #f59e0b;
  outline-offset:-2px;
}
@media(max-width:760px){
  .bbbpos-v906-change-card{
    display:grid;
    grid-template-columns:1fr;
    padding:14px;
  }
  .bbbpos-v906-change-card .bbbpos-btn{
    width:100%;
  }
  .bbbpos-v7-meal-compact-actions .bbb-v7-delete-meal{
    display:none!important;
  }
  .bbbpos-v906-mobile-delete-row{
    display:block;
  }
}

/* v9.0.9: Meal Selection per-meal quantity controls. */
.bbbpos-v909-meal-qty-box{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  margin:14px 0;
  padding:14px 16px;
  border:1px solid #d6e3f3;
  border-radius:18px;
  background:linear-gradient(135deg,#f8fbff,#eef6ff);
}
.bbbpos-v909-meal-qty-box strong,
.bbbpos-v909-meal-qty-box span{
  display:block;
}
.bbbpos-v909-meal-qty-box strong{
  color:#0f172a;
  font-size:15px;
  font-weight:950;
}
.bbbpos-v909-meal-qty-box span{
  margin-top:2px;
  color:#64748b;
  font-size:13px;
  font-weight:750;
}
.bbbpos-v909-meal-qty-control{
  display:inline-grid;
  grid-template-columns:46px 84px 46px;
  align-items:center;
  gap:8px;
}
.bbbpos-v909-meal-qty-control button{
  width:46px;
  height:46px;
  border:0;
  border-radius:999px;
  background:#e8f2ff;
  color:#0969c3;
  font-size:24px;
  font-weight:950;
  cursor:pointer;
}
.bbbpos-v909-meal-qty-control button:hover{
  background:#d9ecff;
}
.bbbpos-v909-meal-qty-control button:disabled{
  opacity:.55;
  cursor:not-allowed;
}
.bbbpos-v909-meal-qty-control input{
  width:84px;
  height:46px;
  border:1px solid #cbd8e8;
  border-radius:999px;
  background:#fff;
  color:#0f172a;
  font-size:20px;
  font-weight:950;
  text-align:center;
}
@media(max-width:760px){
  .bbbpos-v909-meal-qty-box{
    display:grid;
    grid-template-columns:1fr;
    gap:10px;
  }
  .bbbpos-v909-meal-qty-control{
    width:100%;
    grid-template-columns:54px 1fr 54px;
  }
  .bbbpos-v909-meal-qty-control input{
    width:100%;
  }
}

/* v9.0.11: make Meal Quantity visible in the Guest Meal header, including collapsed cards. */
.bbbpos-v911-meal-qty-head{
  margin:0!important;
  padding:8px 10px!important;
  min-width:260px;
  flex:0 0 auto;
  border-color:#b7d8ff!important;
  background:linear-gradient(135deg,#eef7ff,#e4f1ff)!important;
}
.bbbpos-v911-meal-qty-head strong{
  font-size:12px!important;
  line-height:1!important;
}
.bbbpos-v911-meal-qty-head span{
  font-size:10.5px!important;
  line-height:1.1!important;
  white-space:nowrap;
}
.bbbpos-v911-meal-qty-head .bbbpos-v909-meal-qty-control{
  grid-template-columns:34px 58px 34px!important;
  gap:5px!important;
}
.bbbpos-v911-meal-qty-head .bbbpos-v909-meal-qty-control button{
  width:34px!important;
  height:34px!important;
  font-size:20px!important;
}
.bbbpos-v911-meal-qty-head .bbbpos-v909-meal-qty-control input{
  width:58px!important;
  height:34px!important;
  font-size:17px!important;
}
@media(max-width:960px){
  .bbbpos-v7-host-meal-head{
    flex-wrap:wrap!important;
  }
  .bbbpos-v911-meal-qty-head{
    order:8;
    width:100%;
    min-width:0;
  }
}
@media(max-width:760px){
  .bbbpos-v911-meal-qty-head{
    display:grid!important;
    grid-template-columns:1fr auto!important;
    align-items:center!important;
  }
  .bbbpos-v911-meal-qty-head .bbbpos-v909-meal-qty-control{
    width:auto!important;
    grid-template-columns:40px 70px 40px!important;
  }
  .bbbpos-v911-meal-qty-head .bbbpos-v909-meal-qty-control button{
    width:40px!important;
    height:40px!important;
  }
  .bbbpos-v911-meal-qty-head .bbbpos-v909-meal-qty-control input{
    width:70px!important;
    height:40px!important;
  }
}

/* v9.0.12: make selected Protein Icons larger in Meal Selection guest list. */
body.bbbpos-order-page .bbbpos-v7-host-meal-head .bbbpos-v763-name-icons,
body.bbbpos-order-page .bbbpos-v7-meal-title .bbbpos-v763-name-icons{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:8px!important;
  margin-left:8px!important;
  font-size:26px!important;
  line-height:1!important;
  transform:translateY(1px)!important;
  white-space:nowrap!important;
}
body.bbbpos-order-page .bbbpos-v7-host-meal-head .bbbpos-v763-name-icons span,
body.bbbpos-order-page .bbbpos-v7-meal-title .bbbpos-v763-name-icons span{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:1.15em!important;
  height:1.15em!important;
  font-size:1em!important;
  line-height:1!important;
}
@media(max-width:760px){
  body.bbbpos-order-page .bbbpos-v7-host-meal-head .bbbpos-v763-name-icons,
  body.bbbpos-order-page .bbbpos-v7-meal-title .bbbpos-v763-name-icons{
    font-size:24px!important;
    gap:7px!important;
    margin-left:6px!important;
  }
}
@media(max-width:430px){
  body.bbbpos-order-page .bbbpos-v7-host-meal-head .bbbpos-v763-name-icons,
  body.bbbpos-order-page .bbbpos-v7-meal-title .bbbpos-v763-name-icons{
    font-size:22px!important;
    gap:6px!important;
    margin-left:5px!important;
  }
}

/* v9.0.13: Duplicate controls moved to a clean second row; arrow stays after Remove. */
body.bbbpos-order-page .bbbpos-v7-host-meal-head{
  display:grid!important;
  grid-template-columns:44px minmax(0,1fr) auto!important;
  grid-template-rows:auto auto!important;
  align-items:center!important;
  column-gap:14px!important;
  row-gap:12px!important;
}
body.bbbpos-order-page .bbbpos-v7-host-meal-head > .bbbpos-v8-meal-index{
  grid-column:1!important;
  grid-row:1!important;
}
body.bbbpos-order-page .bbbpos-v7-host-meal-head > .bbbpos-v7-meal-title{
  grid-column:2!important;
  grid-row:1!important;
}
body.bbbpos-order-page .bbbpos-v7-host-meal-head > .bbbpos-v7-meal-summary{
  display:none!important;
}
body.bbbpos-order-page .bbbpos-v7-host-meal-head > .bbbpos-v7-meal-compact-actions{
  grid-column:3!important;
  grid-row:1!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:8px!important;
  min-width:max-content!important;
  flex-wrap:nowrap!important;
}
body.bbbpos-order-page .bbbpos-v7-host-meal-head > .bbbpos-v913-duplicate-row{
  grid-column:2 / 4!important;
  grid-row:2!important;
  width:100%!important;
  min-width:0!important;
  max-width:420px!important;
  margin:0!important;
  padding:8px 10px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:12px!important;
}
body.bbbpos-order-page .bbbpos-v913-duplicate-row strong{
  font-size:15px!important;
  line-height:1!important;
  white-space:nowrap!important;
}
body.bbbpos-order-page .bbbpos-v913-duplicate-row span{
  display:none!important;
}
body.bbbpos-order-page .bbbpos-v913-duplicate-row .bbbpos-v909-meal-qty-control{
  grid-template-columns:38px 64px 38px!important;
  gap:6px!important;
}
body.bbbpos-order-page .bbbpos-v913-duplicate-row .bbbpos-v909-meal-qty-control button{
  width:38px!important;
  height:38px!important;
}
body.bbbpos-order-page .bbbpos-v913-duplicate-row .bbbpos-v909-meal-qty-control input{
  width:64px!important;
  height:38px!important;
}
body.bbbpos-order-page .bbbpos-v7-meal-compact-actions .bbbpos-v7-meal-toggle{
  position:static!important;
  grid-column:auto!important;
  width:42px!important;
  min-width:42px!important;
  height:42px!important;
  margin:0!important;
  display:inline-grid!important;
}
@media(max-width:960px){
  body.bbbpos-order-page .bbbpos-v7-host-meal-head{
    grid-template-columns:38px minmax(0,1fr) auto!important;
    gap:10px!important;
  }
  body.bbbpos-order-page .bbbpos-v7-host-meal-head > .bbbpos-v913-duplicate-row{
    grid-column:1 / -1!important;
    max-width:none!important;
  }
}
@media(max-width:760px){
  body.bbbpos-order-page .bbbpos-v7-host-meal-head{
    grid-template-columns:34px minmax(0,1fr) auto!important;
    row-gap:10px!important;
  }
  body.bbbpos-order-page .bbbpos-v7-host-meal-head > .bbbpos-v7-meal-compact-actions{
    display:flex!important;
    grid-column:1 / -1!important;
    grid-row:2!important;
    justify-content:flex-start!important;
    gap:7px!important;
    min-width:0!important;
    overflow-x:auto!important;
    padding-bottom:2px!important;
  }
  body.bbbpos-order-page .bbbpos-v7-host-meal-head > .bbbpos-v913-duplicate-row{
    grid-column:1 / -1!important;
    grid-row:3!important;
    display:grid!important;
    grid-template-columns:1fr auto!important;
  }
  body.bbbpos-order-page .bbbpos-v913-duplicate-row .bbbpos-v909-meal-qty-control{
    grid-template-columns:40px 70px 40px!important;
  }
}


/* v9.0.14: inline age icon + compact wand Duplicate control before status badges. */
body.bbbpos-order-page .bbbpos-v7-host-meal-head{
  display:grid!important;
  grid-template-columns:44px minmax(0,1fr) auto auto!important;
  align-items:center!important;
  column-gap:12px!important;
  row-gap:10px!important;
}
body.bbbpos-order-page .bbbpos-v7-host-meal-head > .bbbpos-v8-meal-index{
  grid-column:1!important;
  grid-row:1!important;
}
body.bbbpos-order-page .bbbpos-v7-host-meal-head > .bbbpos-v7-meal-title{
  grid-column:2!important;
  grid-row:1!important;
  min-width:0!important;
}
body.bbbpos-order-page .bbbpos-v7-host-meal-head > .bbbpos-v7-meal-summary{
  display:none!important;
}
body.bbbpos-order-page .bbbpos-v7-host-meal-head > .bbbpos-v913-duplicate-row{
  grid-column:3!important;
  grid-row:1!important;
  width:auto!important;
  max-width:none!important;
  min-width:0!important;
  margin:0!important;
  padding:6px 8px!important;
  border-radius:14px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px!important;
  background:#eef5ff!important;
  border:1px solid #b8d0ff!important;
}
body.bbbpos-order-page .bbbpos-v914-duplicate-badge{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  font-size:20px!important;
  line-height:1!important;
  cursor:help!important;
}
body.bbbpos-order-page .bbbpos-v913-duplicate-row .bbbpos-v909-meal-qty-control{
  display:grid!important;
  grid-template-columns:30px 46px 30px!important;
  gap:4px!important;
  align-items:center!important;
}
body.bbbpos-order-page .bbbpos-v913-duplicate-row .bbbpos-v909-meal-qty-control button{
  width:30px!important;
  min-width:30px!important;
  height:30px!important;
  min-height:30px!important;
  padding:0!important;
  border-radius:999px!important;
  font-size:24px!important;
  line-height:1!important;
}
body.bbbpos-order-page .bbbpos-v913-duplicate-row .bbbpos-v909-meal-qty-control input{
  width:46px!important;
  min-width:46px!important;
  height:30px!important;
  padding:0 6px!important;
  text-align:center!important;
  font-size:14px!important;
  font-weight:800!important;
  border-radius:999px!important;
}
body.bbbpos-order-page .bbbpos-v7-host-meal-head > .bbbpos-v7-meal-compact-actions{
  grid-column:4!important;
  grid-row:1!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:8px!important;
  min-width:max-content!important;
  flex-wrap:nowrap!important;
}
body.bbbpos-order-page .bbbpos-v7-host-meal-head .bbbpos-v7-meal-title strong,
body.bbbpos-order-page .bbbpos-v914-title-inline{
  display:inline-flex!important;
  align-items:center!important;
  flex-wrap:nowrap!important;
  gap:8px!important;
}
body.bbbpos-order-page .bbbpos-v914-guest-name{
  display:inline-block!important;
}
body.bbbpos-order-page .bbbpos-v7-host-meal-head .bbbpos-v765-age-emoji{
  order:-1!important;
  margin:0!important;
  font-size:20px!important;
  line-height:1!important;
}
body.bbbpos-order-page .bbbpos-v7-host-meal-head .bbbpos-v763-name-icons{
  margin-left:4px!important;
  font-size:24px!important;
  gap:6px!important;
}
@media(max-width:960px){
  body.bbbpos-order-page .bbbpos-v7-host-meal-head{
    grid-template-columns:40px minmax(0,1fr) auto!important;
  }
  body.bbbpos-order-page .bbbpos-v7-host-meal-head > .bbbpos-v7-meal-compact-actions{
    grid-column:2 / 4!important;
    grid-row:2!important;
    justify-content:flex-start!important;
  }
  body.bbbpos-order-page .bbbpos-v7-host-meal-head > .bbbpos-v913-duplicate-row{
    grid-column:3!important;
    grid-row:1!important;
  }
}
@media(max-width:760px){
  body.bbbpos-order-page .bbbpos-v7-host-meal-head{
    grid-template-columns:34px minmax(0,1fr)!important;
    row-gap:8px!important;
  }
  body.bbbpos-order-page .bbbpos-v7-host-meal-head > .bbbpos-v913-duplicate-row{
    grid-column:2!important;
    grid-row:2!important;
    justify-self:start!important;
    padding:5px 8px!important;
  }
  body.bbbpos-order-page .bbbpos-v7-host-meal-head > .bbbpos-v7-meal-compact-actions{
    grid-column:1 / -1!important;
    grid-row:3!important;
    justify-content:flex-start!important;
    overflow-x:auto!important;
    padding-bottom:2px!important;
  }
  body.bbbpos-order-page .bbbpos-v7-host-meal-head .bbbpos-v765-age-emoji{
    font-size:18px!important;
  }
  body.bbbpos-order-page .bbbpos-v7-host-meal-head .bbbpos-v763-name-icons{
    font-size:22px!important;
    gap:5px!important;
  }
}

/* v9.0.15: mobile Meal Selection header order - age before name, wand after protein, Remove after arrow. */
@media(max-width:760px){
  body.bbbpos-order-page .bbbpos-v7-host-meal-head{
    display:grid!important;
    grid-template-columns:34px minmax(0,1fr) auto!important;
    grid-template-rows:auto auto!important;
    align-items:center!important;
    column-gap:8px!important;
    row-gap:8px!important;
  }
  body.bbbpos-order-page .bbbpos-v7-host-meal-head > .bbbpos-v8-meal-index{
    grid-column:1!important;
    grid-row:1!important;
  }
  body.bbbpos-order-page .bbbpos-v7-host-meal-head > .bbbpos-v7-meal-title{
    grid-column:2!important;
    grid-row:1!important;
    min-width:0!important;
  }
  body.bbbpos-order-page .bbbpos-v7-host-meal-head .bbbpos-v7-meal-title strong,
  body.bbbpos-order-page .bbbpos-v914-title-inline{
    display:flex!important;
    align-items:center!important;
    flex-wrap:nowrap!important;
    gap:6px!important;
    min-width:0!important;
    max-width:100%!important;
    white-space:nowrap!important;
  }
  body.bbbpos-order-page .bbbpos-v7-host-meal-head .bbbpos-v765-age-emoji{
    order:-10!important;
    flex:0 0 auto!important;
    margin:0!important;
    font-size:18px!important;
    line-height:1!important;
  }
  body.bbbpos-order-page .bbbpos-v914-guest-name{
    flex:0 1 auto!important;
    min-width:0!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
  }
  body.bbbpos-order-page .bbbpos-v7-host-meal-head .bbbpos-v763-name-icons{
    flex:0 0 auto!important;
    margin-left:2px!important;
    font-size:22px!important;
    gap:5px!important;
    white-space:nowrap!important;
  }
  body.bbbpos-order-page .bbbpos-v7-host-meal-head > .bbbpos-v913-duplicate-row{
    grid-column:3!important;
    grid-row:1!important;
    justify-self:end!important;
    align-self:center!important;
    width:auto!important;
    min-width:0!important;
    max-width:none!important;
    margin:0!important;
    padding:4px 6px!important;
    border-radius:999px!important;
    display:inline-flex!important;
    align-items:center!important;
    gap:4px!important;
  }
  body.bbbpos-order-page .bbbpos-v914-duplicate-badge{
    font-size:18px!important;
    width:22px!important;
    height:22px!important;
  }
  body.bbbpos-order-page .bbbpos-v913-duplicate-row .bbbpos-v909-meal-qty-control{
    grid-template-columns:24px 38px 24px!important;
    gap:3px!important;
  }
  body.bbbpos-order-page .bbbpos-v913-duplicate-row .bbbpos-v909-meal-qty-control button{
    width:24px!important;
    min-width:24px!important;
    height:24px!important;
    min-height:24px!important;
    font-size:18px!important;
  }
  body.bbbpos-order-page .bbbpos-v913-duplicate-row .bbbpos-v909-meal-qty-control input{
    width:38px!important;
    min-width:38px!important;
    height:24px!important;
    font-size:12px!important;
    padding:0 3px!important;
  }
  body.bbbpos-order-page .bbbpos-v7-host-meal-head > .bbbpos-v7-meal-compact-actions{
    grid-column:1 / -1!important;
    grid-row:2!important;
    display:flex!important;
    justify-content:flex-start!important;
    align-items:center!important;
    gap:7px!important;
    overflow-x:auto!important;
    min-width:0!important;
    padding-bottom:2px!important;
  }
  body.bbbpos-order-page .bbbpos-v7-meal-compact-actions .bbbpos-v7-meal-toggle{
    order:40!important;
    position:static!important;
    display:inline-grid!important;
    width:36px!important;
    min-width:36px!important;
    height:36px!important;
    margin:0!important;
  }
  body.bbbpos-order-page .bbbpos-v7-meal-compact-actions .bbb-v7-delete-meal{
    order:50!important;
    display:inline-flex!important;
  }
}
@media(max-width:430px){
  body.bbbpos-order-page .bbbpos-v7-host-meal-head{
    grid-template-columns:30px minmax(0,1fr) auto!important;
    column-gap:6px!important;
  }
  body.bbbpos-order-page .bbbpos-v7-host-meal-head .bbbpos-v763-name-icons{
    font-size:20px!important;
    gap:4px!important;
  }
  body.bbbpos-order-page .bbbpos-v7-host-meal-head > .bbbpos-v913-duplicate-row{
    padding:3px 5px!important;
  }
}

/* v9.0.17: Meal Selection status and remove icon. */
body.bbbpos-order-page .bbbpos-v7-meal-compact-actions .bbbpos-v7-status.meal_completed{
  min-width:auto!important;
}
body.bbbpos-order-page .bbbpos-v917-remove-icon{
  width:42px!important;
  min-width:42px!important;
  height:42px!important;
  min-height:42px!important;
  padding:0!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  border-radius:999px!important;
  font-size:18px!important;
  line-height:1!important;
}
@media(max-width:760px){
  body.bbbpos-order-page .bbbpos-v917-remove-icon{
    width:38px!important;
    min-width:38px!important;
    height:38px!important;
    min-height:38px!important;
    font-size:17px!important;
  }
}

/* v9.0.18: make Meal Selection expand/collapse arrow larger on desktop and mobile. */
body.bbbpos-order-page .bbbpos-v7-meal-compact-actions .bbbpos-v7-meal-toggle,
body.bbbpos-order-page .bbbpos-v7-host-meal-head .bbbpos-v7-meal-toggle{
  width:46px!important;
  min-width:46px!important;
  height:46px!important;
  min-height:46px!important;
  padding:0!important;
  display:inline-grid!important;
  place-items:center!important;
  border-radius:999px!important;
  font-size:34px!important;
  font-weight:950!important;
  line-height:1!important;
  text-align:center!important;
}
@media(max-width:760px){
  body.bbbpos-order-page .bbbpos-v7-meal-compact-actions .bbbpos-v7-meal-toggle,
  body.bbbpos-order-page .bbbpos-v7-host-meal-head .bbbpos-v7-meal-toggle{
    width:46px!important;
    min-width:46px!important;
    height:46px!important;
    min-height:46px!important;
    font-size:34px!important;
  }
}

/* v9.0.22: restored Submitted for Review lock notice and admin unlock visibility. */
.bbbpos-v7-locked-notice{
  border:1px solid #b7e4c7!important;
  background:linear-gradient(135deg,#f2fff6,#eafaf0)!important;
  color:#14532d!important;
}
.bbbpos-v7-locked-notice strong{
  color:#166534!important;
}
.bbbpos-v7-unlock-actions .bbbpos-btn{
  white-space:nowrap!important;
}

/* v9.0.24: hide customer-facing Submitted for Review notice; keep admin unlock login entry. */
.bbbpos-v924-admin-unlock-card{
  background:#fff!important;
  border:1px dashed #cbd5e1!important;
  color:#111827!important;
  padding:12px!important;
}
.bbbpos-v924-admin-unlock-card>div:first-child{
  min-width:0!important;
}
.bbbpos-v924-admin-unlock-card .bbbpos-v7-unlock-actions{
  width:100%!important;
  justify-content:flex-start!important;
}
.bbbpos-v924-admin-unlock-card .bbbpos-v7-unlock-actions small{
  color:#6b7280!important;
}
@media(max-width:640px){
  .bbbpos-v924-admin-unlock-card{
    padding:10px!important;
  }
}

/* v9.0.25: Admin Unlock Order and Administrator only stay on one line on desktop and mobile. */
.bbbpos-v924-admin-unlock-card .bbbpos-v7-unlock-actions,
body.bbbpos-order-page .bbbpos-v7-locked-notice .bbbpos-v7-unlock-actions{
  display:inline-flex!important;
  flex-direction:row!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:10px!important;
  flex-wrap:nowrap!important;
  width:auto!important;
  max-width:100%!important;
}
.bbbpos-v924-admin-unlock-card .bbbpos-v7-unlock-actions .bbbpos-btn,
body.bbbpos-order-page .bbbpos-v7-locked-notice .bbbpos-v7-unlock-actions .bbbpos-btn{
  width:auto!important;
  min-width:max-content!important;
  white-space:nowrap!important;
  flex:0 0 auto!important;
}
.bbbpos-v924-admin-unlock-card .bbbpos-v7-unlock-actions small,
body.bbbpos-order-page .bbbpos-v7-locked-notice .bbbpos-v7-unlock-actions small{
  display:inline-block!important;
  width:auto!important;
  min-width:max-content!important;
  margin:0!important;
  white-space:nowrap!important;
  text-align:left!important;
  flex:0 0 auto!important;
}
@media(max-width:640px){
  .bbbpos-v924-admin-unlock-card .bbbpos-v7-unlock-actions,
  body.bbbpos-order-page .bbbpos-v7-locked-notice .bbbpos-v7-unlock-actions{
    display:inline-flex!important;
    flex-direction:row!important;
    align-items:center!important;
    justify-content:flex-start!important;
    gap:8px!important;
    flex-wrap:nowrap!important;
    width:100%!important;
    overflow-x:auto!important;
    -webkit-overflow-scrolling:touch!important;
  }
  .bbbpos-v924-admin-unlock-card .bbbpos-v7-unlock-actions .bbbpos-btn,
  body.bbbpos-order-page .bbbpos-v7-locked-notice .bbbpos-v7-unlock-actions .bbbpos-btn{
    width:auto!important;
    min-width:max-content!important;
    padding-left:14px!important;
    padding-right:14px!important;
  }
  .bbbpos-v924-admin-unlock-card .bbbpos-v7-unlock-actions small,
  body.bbbpos-order-page .bbbpos-v7-locked-notice .bbbpos-v7-unlock-actions small{
    font-size:12px!important;
  }
}
