/* Break Point guest help — small orange phone pills, responsive and accessible. */
.bp-guest-help-actions{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:10px;margin:14px 0 6px;padding:0 4px}
.bp-guest-call-pill{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:50px;padding:12px 23px;border:0;border-radius:999px;background:#f46719;color:#fff!important;text-decoration:none!important;font:750 15px/1.2 system-ui,-apple-system,sans-serif;box-shadow:0 6px 18px #f4671930;touch-action:manipulation}
.bp-guest-call-pill:hover,.bp-guest-call-pill:focus-visible{background:#d9500d}
.bp-guest-call-pill svg{flex:none}
.bp-guest-help-login{margin:20px 0 0}
.bp-guest-help-request{min-height:50px;padding:10px 20px;background:#fff;border:1px solid #d9d9d7;border-radius:999px;font:700 14px system-ui,-apple-system,sans-serif;color:#242424;cursor:pointer}
.bp-guest-help-note{font-size:12px!important;line-height:1.5!important;color:#777!important;text-align:center}
#order-sheet.rc8-order-success > .bp-guest-help-actions{display:flex!important;margin:16px auto 20px}
.bp-guest-assist-backdrop{position:fixed;inset:0;z-index:5000;display:grid;place-items:center;padding:12px;background:#15151588;backdrop-filter:blur(5px)}
.bp-guest-assist-sheet{box-sizing:border-box;position:relative;width:min(100%,490px);max-height:92dvh;overflow-y:auto;-webkit-overflow-scrolling:touch;background:#fffaf6;border-radius:25px;padding:28px 23px 24px;color:#222;box-shadow:0 25px 65px #0003}
.bp-guest-assist-close{position:absolute;right:14px;top:14px;border:0;border-radius:50%;background:#eee;width:42px;height:42px;font-size:25px;cursor:pointer}
.bp-guest-assist-sheet>small{font-size:10px;letter-spacing:.12em;color:#da601e;font-weight:800}
.bp-guest-assist-sheet>h2{margin:9px 42px 8px 0;font-size:27px;letter-spacing:-.04em}
.bp-guest-assist-sheet>p{font-size:13px;color:#6d6862;line-height:1.5}
.bp-guest-assist-form{display:grid;gap:12px;margin-top:19px}
.bp-guest-assist-form label{display:grid;gap:6px;font-weight:650;font-size:13px}
.bp-guest-assist-form input:not([type=checkbox]),.bp-guest-assist-form textarea{box-sizing:border-box;width:100%;padding:12px;min-height:49px;border:1px solid #dedbd7;border-radius:13px;background:#fff;color:#222;font:400 16px system-ui,-apple-system,sans-serif}
.bp-guest-assist-form .bp-guest-assist-consent{display:flex;align-items:flex-start;gap:10px;font-weight:500;line-height:1.4;font-size:12px}
.bp-guest-assist-consent input{margin-top:3px;accent-color:#f46719}
.bp-guest-assist-submit{min-height:50px;border:0;border-radius:14px;background:#222;color:#fff;font-weight:750;cursor:pointer}
.bp-guest-assist-submit:disabled{opacity:.5;cursor:wait}
.bp-guest-assist-status{margin:0;color:#69645e;font-size:12px;line-height:1.4}
.bp-guest-assist-status[data-tone=error]{color:#ac322b}
.bp-guest-assist-status[data-tone=success]{color:#1c7447;font-weight:700}
.bp-guest-assist-phone{display:flex;justify-content:center;align-items:center;gap:8px;margin-top:16px;color:#dc5b15;text-decoration:none;font-size:13px;font-weight:750}
@media(max-width:480px){.bp-guest-assist-backdrop{align-items:end;padding:0}.bp-guest-assist-sheet{width:100%;max-height:91dvh;border-radius:25px 25px 0 0;padding:25px 17px calc(25px + env(safe-area-inset-bottom))}.bp-guest-help-login{flex-wrap:wrap}.bp-guest-help-login>*{flex:1 1 140px}}

.bp-guest-assist-form[hidden],.bp-guest-assist-backdrop[hidden]{display:none!important}

/* Checkout: QR stays the prominent primary CTA; assistance is deliberately ghosted. 
   Other help locations retain their original orange call buttons. */
#order-sheet > .bp-guest-help-actions {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  column-gap:12px;
  row-gap:7px;
  align-items:stretch;
  margin:12px 0 0;
  padding:0 2px calc(12px + env(safe-area-inset-bottom));
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
  box-sizing:border-box;
}
#order-sheet:not(.bp-assist-active):not(.rc8-order-success) > .bp-guest-help-actions::before {
  content:"Unahitaji msaada?";
  grid-column:1 / -1;
  text-align:center;
  font:500 13px/1.35 system-ui,-apple-system,sans-serif;
  color:#737373;
  padding:0 0 2px;
}
#order-sheet > .bp-guest-help-actions > :is(button,a) {
  box-sizing:border-box;
  position:static;
  display:inline-flex;
  justify-content:center;
  align-items:center;
  gap:7px;
  width:100%;
  min-width:0;
  min-height:52px;
  margin:0;
  padding:10px 8px;
  border:1px solid transparent;
  border-radius:999px;
  background:transparent!important;
  color:#272727!important;
  font:650 15px/1.2 system-ui,-apple-system,sans-serif;
  text-decoration:none!important;
  box-shadow:none!important;
  cursor:pointer;
  touch-action:manipulation;
}
#order-sheet > .bp-guest-help-actions > .bp-guest-message-pill {
  border-color:#e3e3e0;
}
#order-sheet > .bp-guest-help-actions > :is(button,a):is(:hover,:active) {
  background:rgba(0,0,0,.035)!important;
}
#order-sheet > .bp-guest-help-actions > :is(button,a):focus-visible {
  outline:2px solid #242424;
  outline-offset:2px;
}
#order-sheet > .bp-guest-help-actions > .bp-guest-call-pill svg {
  width:18px;
  height:18px;
}
#order-sheet > .bp-guest-help-actions > [hidden] {
  display:none!important;
}
/* A permitted staff member sees Assist + Call us; guests see Message us + Call us. */
#order-sheet > .bp-guest-help-actions:has(#guest-staff-assist:not([hidden])) > .bp-guest-message-pill {
  display:none!important;
}
/* The established success-state toolbar remains a row without QR guidance. */
#order-sheet.rc8-order-success > .bp-guest-help-actions > :is(button,a) {
  flex:1 1 0;
}
#order-sheet.bp-assist-active > .bp-guest-help-actions,
#order-sheet.bp-assist-active #order-form > :not(#guest-staff-assist-fields){display:none!important}
#order-sheet #guest-staff-assist-fields[hidden]{display:none!important}
#order-sheet.bp-assist-active{
 box-sizing:border-box;position:fixed;top:var(--assist-top,0px)!important;bottom:auto!important;
 height:var(--assist-height,100dvh)!important;max-height:var(--assist-height,100dvh)!important;
 width:100%;max-width:100vw;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;
 padding-bottom:calc(16px + env(safe-area-inset-bottom));
}
#order-sheet.bp-assist-active #order-form,
#order-sheet.bp-assist-active #guest-staff-assist-fields{min-width:0;width:100%;box-sizing:border-box}
#order-sheet.bp-assist-active #guest-staff-assist-fields{display:grid;grid-template-columns:minmax(0,1fr);gap:12px}
#order-sheet.bp-assist-active #guest-staff-assist-fields input,
#order-sheet.bp-assist-active #guest-staff-assist-fields textarea{box-sizing:border-box;min-width:0;max-width:100%;font-size:16px}
#order-sheet.bp-assist-active #guest-staff-assist-fields button{position:static;width:100%;min-width:0;margin:0;box-sizing:border-box}

/* BreakPoint Assisted Ordering V1: two equal-height actions, Cancel unstyled. */
#order-sheet.bp-assist-active #guest-staff-assist-fields .bp-assist-actions{
 display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px;align-items:stretch;margin-top:7px;
}
#order-sheet.bp-assist-active #guest-staff-assist-fields .bp-assist-actions button{
 min-height:52px;height:100%;padding:12px 8px;border-radius:13px;font-size:14px;line-height:1.25;font-weight:700;
}
#order-sheet.bp-assist-active #guest-staff-assist-fields .bp-assist-actions .bp-assist-cancel{
 background:transparent!important;border:0!important;box-shadow:none!important;color:#454545!important;
}
#order-sheet.bp-assist-active #guest-staff-assist-fields .bp-assist-actions .bp-assist-send{
 background:#191919!important;border:0!important;color:#fff!important;box-shadow:none!important;
}
#order-sheet.bp-assist-active #guest-staff-assist-fields textarea{resize:vertical;min-height:78px}
#order-sheet.bp-assist-active #guest-staff-assist-fields [data-assist-status]{overflow-wrap:anywhere;min-width:0}

/* In-app table assistance replaces orange phone CTA on product/cart sheets only. */
#order-sheet > .bp-guest-help-actions > .bp-guest-table-call,
#product-sheet .bp-guest-help-actions > .bp-guest-table-call {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 9px;
  box-sizing: border-box;
  min-height: 52px;
  border: 1px solid #111 !important;
  border-radius: 999px !important;
  background: #111 !important;
  color: #fff !important;
  box-shadow: none !important;
  font: 750 15px/1.2 system-ui,-apple-system,sans-serif;
  text-decoration: none !important;
  touch-action: manipulation;
  cursor: pointer;
}
#order-sheet > .bp-guest-help-actions > .bp-guest-table-call:is(:hover,:active),
#product-sheet .bp-guest-help-actions > .bp-guest-table-call:is(:hover,:active) {
  background: #242424 !important;
}
#order-sheet > .bp-guest-help-actions > .bp-guest-table-call:disabled,
#product-sheet .bp-guest-help-actions > .bp-guest-table-call:disabled {
  opacity: .72 !important;
  cursor: default;
}
#order-sheet > .bp-guest-help-actions > .bp-guest-table-call svg,
#product-sheet .bp-guest-help-actions > .bp-guest-table-call svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}
#order-sheet > .bp-guest-help-actions > .bp-guest-table-call:focus-visible,
#product-sheet .bp-guest-help-actions > .bp-guest-table-call:focus-visible {
  outline: 3px solid #666;
  outline-offset: 3px;
}
#order-sheet > .bp-guest-help-actions > .bp-guest-table-call-status,
#product-sheet .bp-guest-help-actions > .bp-guest-table-call-status {
  grid-column: 1 / -1;
  width: 100%;
  box-sizing: border-box;
  margin: 2px 0 0;
  padding: 0 8px 6px;
  color: #666;
  text-align: center;
  font: 500 12px/1.45 system-ui,-apple-system,sans-serif;
}
#order-sheet > .bp-guest-help-actions > .bp-guest-table-call-status[data-tone="error"],
#product-sheet .bp-guest-help-actions > .bp-guest-table-call-status[data-tone="error"] {
  color: #ac322b;
}
#order-sheet > .bp-guest-help-actions > .bp-guest-table-call-status[hidden],
#product-sheet .bp-guest-help-actions > .bp-guest-table-call-status[hidden] {
  display: none !important;
}
