/* Shared Bobablastic product tokens. Scoped to current Boba pages, never the lab. */
:root{--bb-red:#df123e;--bb-action:#df123e;--bb-pink:#fff0f3;--bb-ink:#241c20;--bb-muted:#75666d;--bb-bg:#fff9f2;--bb-white:#fffefd;--bb-soft:#f6e9e3;--bb-line:#e7d9d2;--bb-radius:12px;--bb-font:'Plus Jakarta Sans',system-ui,-apple-system,'Segoe UI',sans-serif}
html.boba-product-ui{color-scheme:light!important;background:var(--bb-bg)!important;color:var(--bb-ink)!important;--font-sans:var(--bb-font);--sf-font:var(--bb-font);--sf-surface:var(--bb-white);--sf-line:var(--bb-line);--sf-text:var(--bb-ink);--sf-muted:var(--bb-muted);--sf-accent:var(--bb-red);--muted:var(--bb-muted);--line:var(--bb-line);--order-font:var(--bb-font)}
html.boba-product-ui body{font-family:var(--bb-font)!important;background:var(--bb-bg)!important;color:var(--bb-ink)!important}
html.boba-product-ui :is(button,input,textarea,select){font-family:var(--bb-font)}
html.boba-product-ui :is(button,a,input,textarea,select,summary):focus-visible{outline-color:#b70d32!important}
html.boba-product-ui body:before,html.boba-product-ui body:after{display:none!important}
html.boba-product-ui .ambient-glow{display:none!important}
html.boba-product-ui #posPortalHeader{border-bottom-color:var(--bb-line)!important;--sf-muted:var(--bb-muted)!important;--sf-accent:var(--bb-red)!important}
html.boba-product-ui #posPortalHeader :is(.pos-portal-biz,.pos-account-circle){color:var(--bb-ink)!important}
html.boba-product-ui #posPortalHeader .pos-switch-btn{color:var(--bb-muted)!important;border-radius:10px!important}
html.boba-product-ui #posPortalHeader .pos-switch-btn.active{background:var(--bb-red)!important;color:white!important}
html.boba-product-ui #posPortalHeader .pos-switch-btn.active:after{display:none!important}
html.boba-product-ui #posPortalHeader .pos-switch-btn small{color:inherit!important}
html.boba-product-ui #posPortalHeader .pos-account-circle:hover{background:var(--bb-soft)!important}
html.boba-product-ui #view-owner{--manager-primary:var(--bb-ink);--manager-secondary:var(--bb-ink);--manager-muted:var(--bb-muted);max-width:1100px;margin-left:auto;margin-right:auto}
html.boba-product-ui #view-owner :is(.owner-full-panel,.mr-sheet,.mkt-send-summary){background:var(--bb-white)!important;border-color:var(--bb-line)!important;box-shadow:none!important;color:var(--bb-ink)!important;border-radius:var(--bb-radius)!important}
html.boba-product-ui #view-owner :is(.mr-campaign-select,.mr-selection-title,.mr-sheet-head h2,.mkt-editor-label,.owner-panel-title-wrap h3,.min-cust-name,.mkt-editable-text,.mkt-inline-editor-flow,.mkt-pc-title,.mr-customers,.mr-audience-row button,.mr-close){color:var(--bb-ink)!important}
html.boba-product-ui #view-owner :is(.mr-option-sub,.mr-exclusions,.mr-customer-count,.mr-chevron,.mr-right-chevron,.mr-audience-row svg,.mkt-send-reason,.mkt-char-counter,.mkt-auto-personalize-note,.min-cust-meta,.min-cust-phone,.min-cust-visit,.min-cust-send-hold,.owner-audience-note,.mkt-send-summary strong,.mkt-send-summary span,.mkt-send-summary button,#mktMessageSaveStatus,.mkt-message-actions button,.manager-utility-link,.mr-sheet-body #managerRecipientNote){color:var(--bb-muted)!important}
html.boba-product-ui #view-owner :is(.mkt-preset-card,.min-cust-row,.mkt-protected-chip,.mkt-preview-toolbar select){border-color:var(--bb-line)!important;background:var(--bb-bg)!important;color:var(--bb-ink)!important;box-shadow:none!important}
html.boba-product-ui #view-owner :is(.mr-campaign-icon,.mkt-pc-icon){background:var(--bb-soft)!important;color:#b91035!important}
html.boba-product-ui #view-owner .mkt-preset-card.active{background:#ffe8ec!important;border-color:#f0a6b5!important}
html.boba-product-ui #view-owner .mkt-pc-badge{background:var(--bb-soft)!important;color:var(--bb-muted)!important}
html.boba-product-ui #view-owner :is(.mr-campaign-select,.mr-audience-row,.mr-sheet .mkt-preset-card,.mr-sheet .min-cust-row){border-color:var(--bb-line)!important}
html.boba-product-ui #view-owner #mktActionDeck .btn-mkt-send-action{background:var(--bb-red)!important;border-color:var(--bb-red)!important;color:white!important;box-shadow:none!important}
html.boba-product-ui #view-owner #mktActionDeck .btn-mkt-send-action *{color:inherit!important}
html.boba-product-ui #view-owner :is(.mkt-message-actions .is-save,.manager-suggestions-badge){color:white!important}
html.boba-product-ui #view-owner .mr-sheet::backdrop{background:#24151e66!important}
html.boba-product-ui #view-owner .mr-manager-utility .manager-utility-link{border-color:var(--bb-line)!important;background:var(--bb-white)!important}
html.boba-product-ui #view-cashier :is(.pos-stage-panel,.pos-queue-panel,.pos-walkin-form,.rr-lookup,.pos-queue-subhead){background:var(--bb-white)!important;border-color:var(--bb-line)!important;color:var(--bb-ink)!important;box-shadow:none!important}
html.boba-product-ui #view-cashier :is(.pos-search-bar-unified,.pos-panel-search-wrap,.pos-customer-lookup,.rr-empty,.rr-no-customer,.rr-list-head,.pwf-title,.pos-queue-mobile-head,.rr-close-list){background:transparent!important;color:var(--bb-ink)!important;border-color:var(--bb-line)!important}
html.boba-product-ui #view-cashier :is(input,.pos-customer-row,.pos-customer-mini-card,.min-cust-row){background:var(--bb-bg)!important;border-color:var(--bb-line)!important;color:var(--bb-ink)!important;box-shadow:none!important}
html.boba-product-ui #view-cashier :is(.rr-tools button,.rr-list-toggle,.pos-search-bar-unified button,.pos-queue-panel button,.pos-queue-panel .pos-queue-cust-name,.pwf-top-row,.pos-walkin-field label){color:var(--bb-ink)!important}
html.boba-product-ui #view-cashier :is(.rr-count-label,.rr-registration-note,.pos-walkin-status,.pos-queue-cust-phone,.pos-queue-cust-meta,.psb-icon,.pos-queue-progress){color:var(--bb-muted)!important}
html.boba-product-ui #view-cashier .pos-luxury-pass-card{background:var(--bb-red)!important;box-shadow:none!important;border-color:#fdb3bf!important;border-radius:var(--bb-radius)!important}
html.boba-product-ui #view-cashier .rr-tools{background:transparent!important;border-color:var(--bb-line)!important}
html.boba-product-ui #view-cashier .btn-luxury:not(.btn-luxury-primary){background:var(--bb-white)!important;border-color:var(--bb-line)!important;color:var(--bb-ink)!important;box-shadow:none!important}
html.boba-product-ui #view-cashier .btn-luxury-primary{background:var(--bb-red)!important;color:white!important;border-color:var(--bb-red)!important;box-shadow:none!important}
html.boba-product-ui :is(#pinModal,#staffActionDialog,#registerSquareDialog,#smsHistoryDialog,#managerSuggestionsModal,#squareConnectionDialog){background:var(--bb-white)!important;color:var(--bb-ink)!important;border-color:var(--bb-line)!important;box-shadow:0 20px 65px #30142126!important;border-radius:var(--bb-radius)!important}
html.boba-product-ui :is(#pinModal,#staffActionDialog,#registerSquareDialog,#smsHistoryDialog,#managerSuggestionsModal,#squareConnectionDialog) :is(h2,h3,label,.staff-account-status,.sq-connect-row strong,.sq-connect-head button,.staff-dialog-head button,.staff-account-close){color:var(--bb-ink)!important}
html.boba-product-ui :is(#pinModal,#staffActionDialog,#registerSquareDialog,#smsHistoryDialog,#managerSuggestionsModal,#squareConnectionDialog) :is(p,small,.sq-connect-note,.sq-connect-row span,.history-phone,.history-recipient-status){color:var(--bb-muted)!important}
html.boba-product-ui :is(#pinModal,#staffActionDialog,#smsHistoryDialog,#managerSuggestionsModal,#squareConnectionDialog) :is(input,select,textarea,.sq-connect-row,.sq-connect-sale,.sq-connect-summary,.staff-balance-change>div){background:var(--bb-bg)!important;color:var(--bb-ink)!important;border-color:var(--bb-line)!important}
html.boba-product-ui .sq-connect-entry,html.boba-product-ui .sq-connect-secondary{background:var(--bb-bg)!important;color:var(--bb-ink)!important;border-color:var(--bb-line)!important}
html.boba-product-ui #staffConnectionStatus{background:var(--bb-soft)!important;color:var(--bb-ink)!important;border-color:var(--bb-line)!important}
html.boba-product-ui .staff-balance-change{border-color:var(--bb-line)!important}
/* Customer card and its dialogs follow the same surface system; the reward card stays red. */
html.boba-customer-ui :is(.purchase-confirmation,.customer-actions,.customer-dialog,.client-connection-status,.save-card-prompt){background:var(--bb-white)!important;border-color:var(--bb-line)!important;color:var(--bb-ink)!important;box-shadow:none!important}
html.boba-customer-ui :is(.action-row,.client-enrollment label,.close-button,.dialog-button:not(.primary),.receipt-list-button){color:var(--bb-ink)!important}
html.boba-customer-ui :is(.action-icon,.row-chevron,.action-copy small,.receipt-shortcut,.dialog-note,.suggestion-intro,.vip-menu-location,.vip-menu-instruction,.client-enrollment .recovery-actions button,.client-preferences button){color:var(--bb-muted)!important}
html.boba-customer-ui :is(.close-button,.dialog-button:not(.primary),.receipt-list-button,.suggestion-text,.client-enrollment input,.vip-menu-filter,.vip-menu-chips button,.sms-offers-choice){background:var(--bb-bg)!important;color:var(--bb-ink)!important;border-color:var(--bb-line)!important}
html.boba-customer-ui .client-enrollment input::placeholder{color:var(--bb-muted)!important}
html.boba-customer-ui .enrollment-intro{background:var(--bb-red)!important;box-shadow:none!important;border-radius:var(--bb-radius)!important}
html.boba-customer-ui .enrollment-intro.is-recovery{background:none!important;color:var(--bb-ink)!important}
html.boba-customer-ui .enrollment-intro:not(.is-recovery) h2{color:white!important}
html.boba-customer-ui .enrollment-recover strong{color:#a61132!important}
html.boba-customer-ui :is(.enrollment-status,.enrollment-field-error,.suggestion-status){color:#a61132!important}
html.boba-customer-ui .loyalty-card{background:var(--bb-red)!important;border-color:#fbb3c0!important;box-shadow:none!important;color:white!important;border-radius:var(--bb-radius)!important}
html.boba-customer-ui :is(.receipt-earned,.confirmation-icon){background:#ffe8ec!important;color:#9a1234!important}
html.boba-customer-ui .customer-dialog .dialog-header{background:var(--bb-white)!important}
html.boba-customer-ui :is(.vip-menu-filter.active,.vip-menu-chips button.active){background:var(--bb-red)!important;border-color:var(--bb-red)!important;color:white!important}
html.boba-customer-ui :is(.receipt-line,.receipt-total,.action-row+.action-row){border-color:var(--bb-line)!important}
html.boba-customer-ui .brand-logo{box-shadow:none!important;border:1px solid var(--bb-line)}
/* Ordering, presentation and Kitchen share typography, focus and primary color. */
html.boba-product-ui :is(.order-primary,.primary){background:var(--bb-red);border-color:var(--bb-red)}
html.boba-product-ui .kitchen-shell{font-family:var(--bb-font)!important}
html.boba-product-ui #view-kitchen{color-scheme:light}
html.boba-product-ui .recipe-guide{font-family:var(--bb-font)}
@media(max-width:767px){html.boba-product-ui #view-owner .owner-mkt-panel{background:transparent!important;border-radius:0!important}html.boba-product-ui #view-owner .owner-console-grid{margin-top:0!important}}
/* Legacy inline component colors need explicit ownership in the shared theme. */
html.boba-product-ui body.pos-only-mode #view-owner :is(#mktPreviewGreeting,#mktPreviewLink){color:#76525f!important}
html.boba-product-ui body.pos-only-mode #view-owner .recipient-excluded summary{color:var(--bb-muted)!important;border-color:var(--bb-line)!important}
html.boba-product-ui body.pos-only-mode #view-cashier :is(.pos-search-bar-unified,.pos-search-bar-unified input){background:var(--bb-bg)!important;color:var(--bb-ink)!important;border-color:var(--bb-line)!important;box-shadow:none!important}
html.boba-product-ui body.pos-only-mode #view-cashier input::placeholder{color:var(--bb-muted)!important;opacity:1!important}
html.boba-product-ui body.pos-only-mode #view-cashier :is(#btnToggleWalkIn,#registerSquareTools button,.btn-pos-sec-tile){background:var(--bb-bg)!important;color:var(--bb-ink)!important;border:1px solid var(--bb-line)!important;box-shadow:none!important}
html.boba-product-ui body.pos-only-mode #view-cashier .pos-luxury-pass-card{background:var(--bb-red)!important;border-color:#fdb3bf!important;box-shadow:none!important}
html.boba-product-ui body.pos-only-mode #view-cashier .pos-luxury-pass-card .rr-count-label{color:#ffe5eb!important}
html.boba-customer-ui :is(.vip-menu-item,.save-card-options .save-choice,.home-screen-instructions,.client-pending-purchases){background:var(--bb-white)!important;border-color:var(--bb-line)!important;color:var(--bb-ink)!important;box-shadow:none!important}
html.boba-customer-ui :is(.vip-menu-item strong,.vip-menu-price,.vip-menu-chips li,.home-screen-instructions ol){color:var(--bb-ink)!important;border-color:var(--bb-line)!important}
html.boba-customer-ui :is(.vip-menu-item small,.save-choice-copy small,.save-options-intro,.save-choice-arrow){color:var(--bb-muted)!important}
html.boba-customer-ui :is(.vip-menu-flavors,.vip-menu-back,.save-choice-icon){background:var(--bb-soft)!important;color:#9f1536!important;border-color:var(--bb-line)!important}
html.boba-customer-ui .vip-menu-filter[aria-pressed=true]{background:var(--bb-red)!important;border-color:var(--bb-red)!important;color:white!important}
html.boba-customer-ui .vip-menu-filter[aria-pressed=true] .vip-menu-icon{color:white!important}
html.boba-customer-ui .save-card-prompt button{background:var(--bb-red)!important;color:white!important;border-color:var(--bb-red)!important}
html.boba-customer-ui .vip-menu-demo-link{background:var(--bb-soft)!important;color:#9f1536!important;border-color:var(--bb-line)!important}
html.boba-product-ui body.pos-only-mode #view-owner .mr-composer{background:var(--bb-white)!important;color:var(--bb-ink)!important;border:1px solid var(--bb-line)!important;box-shadow:none!important}
html.boba-product-ui body.pos-only-mode #view-owner .mr-campaign-select{background:transparent!important;border-color:var(--bb-line)!important}
html.boba-product-ui body.pos-only-mode #view-owner :is(.mr-selection-title,.mr-selection-sub,.mr-audience-row button,.mr-customer-count,.mr-exclusions){color:var(--bb-ink)!important}
html.boba-product-ui body.pos-only-mode #view-owner .mr-sheet .mr-close{background:var(--bb-soft)!important;color:var(--bb-ink)!important;border:0!important}
html.boba-product-ui :is(#pinModal,#staffActionDialog,#registerSquareDialog,#smsHistoryDialog,#managerSuggestionsModal,#squareConnectionDialog) :is(.staff-account-close,.staff-dialog-head button,.sq-connect-head button){background:var(--bb-soft)!important;color:var(--bb-ink)!important}

/* UI-025: consent, configuration and secondary surfaces receive the same finish. */
html.boba-customer-ui .signup-sms-copy strong{color:var(--bb-ink)!important}
html.boba-customer-ui :is(.signup-sms-details summary,.sms-policy-links a){color:#85505f!important}
html.boba-customer-ui .client-enrollment .signup-sms-opt-in input:checked{background:#cf123d url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center/20px no-repeat!important;border-color:#cf123d!important}
html.boba-customer-ui .client-enrollment button[type=submit]:disabled{background:#eee4e0!important;border-color:var(--bb-line)!important;color:#82727a!important}
html.boba-customer-ui .client-enrollment form[aria-busy=true] button[type=submit]:disabled{background:#bd2245!important;color:white!important;cursor:wait}
html.boba-product-ui #squareConnectionDialog .sq-connect-state{font-size:16px;color:var(--bb-ink)!important;line-height:1.5}
html.boba-product-ui #squareConnectionDialog :is(.sq-connect-options,.sq-connect-technical){border-top:1px solid var(--bb-line);padding-top:6px;margin-top:15px}
html.boba-product-ui #squareConnectionDialog summary{min-height:44px;display:flex;align-items:center;cursor:pointer;font-size:12px;font-weight:600;color:var(--bb-ink);gap:12px}
html.boba-product-ui #squareConnectionDialog summary:after{content:"+";margin-left:auto}
html.boba-product-ui #squareConnectionDialog details[open]>summary:after{content:"−"}
html.boba-product-ui #squareConnectionDialog .sq-connect-sale{border-color:var(--bb-line);padding:11px 0}
html.boba-product-ui #squareConnectionDialog .sq-connect-sale strong{color:var(--bb-ink)!important;font-size:12px}
html.boba-product-ui #squareConnectionDialog .sq-connect-sale :is(span,small){color:var(--bb-muted)!important;font-size:11px}
html.boba-product-ui #squareConnectionDialog .sq-connect-summary{padding:0;background:transparent!important}
html.boba-product-ui #squareConnectionDialog .sq-connect-row{background:transparent!important}
html.boba-product-ui #squareConnectionDialog .sq-connect-row strong{max-width:68%;font-size:12px}
html.boba-product-ui #squareConnectionDialog .sq-connect-technical code{display:block;background:var(--bb-soft)!important;color:var(--bb-muted)!important;overflow-wrap:anywhere;font-size:10px;padding:8px;border-radius:7px}
@media(forced-colors:active){html.boba-customer-ui .client-enrollment .signup-sms-opt-in input:checked{appearance:auto!important;background:none!important}}

/* UI-026: complete staff surfaces. Keep customer branding separate from operator actions. */
html.boba-product-ui body.pos-only-mode #view-cashier .pos-stage-panel{background:transparent!important;border:0!important;padding:0!important;height:auto!important;min-height:0!important;max-height:none!important;box-shadow:none!important;align-self:start!important}
html.boba-product-ui body.pos-only-mode #view-cashier .pos-search-bar-unified:focus-within{outline:2px solid var(--bb-action)!important;outline-offset:2px!important}
html.boba-product-ui body.pos-only-mode #view-cashier .pos-search-bar-unified #cashierSearchInput:focus-visible{outline:none!important}
html.boba-product-ui body.pos-only-mode #view-cashier .cashier-cust-item.active .pos-queue-progress{background:var(--bb-white)!important;border-color:#d9859a!important}
html.boba-product-ui body.pos-only-mode :is(#view-cashier,#view-owner) .pos-queue-stamps-num{color:var(--bb-ink)!important;text-shadow:none!important}
html.boba-product-ui body.pos-only-mode #view-owner .min-cust-stamps-num{color:var(--bb-ink)!important;text-shadow:none!important}
html.boba-product-ui body.pos-only-mode #posPortalHeader .pos-switch-btn.active{background:var(--bb-action)!important;color:#fff!important;box-shadow:none!important}
html.boba-product-ui body.pos-only-mode #posPortalHeader .pos-switch-btn:not(.active):hover{background:var(--bb-soft)!important;color:var(--bb-ink)!important}
html.boba-product-ui body.pos-only-mode #view-cashier :is(.pos-queue-title-text,.cust-name-text,.rr-list-head>span,.pos-empty-title){color:var(--bb-ink)!important}
html.boba-product-ui body.pos-only-mode #view-cashier :is(.pos-queue-count,.cust-phone-wrap,.cust-subline,.min-cust-visit,.min-cust-code,.pos-empty-desc,.rr-registration-note,.pos-walkin-status){color:var(--bb-muted)!important}
html.boba-product-ui body.pos-only-mode #view-cashier .pos-queue-title-text{font-size:16px!important;font-weight:650!important}
html.boba-product-ui body.pos-only-mode #view-cashier .pos-queue-subhead{padding-block:10px!important;border-bottom:1px solid var(--bb-line)!important}
html.boba-product-ui body.pos-only-mode #view-cashier .cashier-cust-item{background:var(--bb-white)!important;border:1px solid var(--bb-line)!important;border-radius:12px!important;box-shadow:none!important;padding:12px!important;min-height:64px!important;transform:none!important;transition:background .15s,border-color .15s!important;cursor:pointer}
html.boba-product-ui body.pos-only-mode #view-cashier .cashier-cust-item:hover{background:var(--bb-bg)!important;border-color:#d5b8c0!important}
html.boba-product-ui body.pos-only-mode #view-cashier .cashier-cust-item.active{background:var(--bb-pink)!important;border-color:#d9859a!important;box-shadow:inset 3px 0 var(--bb-action)!important}
html.boba-product-ui body.pos-only-mode #view-cashier .cust-active-arrow{color:var(--bb-action)!important;background:none!important;box-shadow:none!important}
html.boba-product-ui body.pos-only-mode #view-cashier .cust-name-text{font-size:15px!important;font-weight:650!important;line-height:1.4!important}
html.boba-product-ui body.pos-only-mode #view-cashier :is(.cust-phone-wrap,.min-cust-visit){font-size:13px!important;line-height:1.5!important}
html.boba-product-ui body.pos-only-mode #view-cashier .min-cust-code{font-size:11px!important;font-weight:500!important}
html.boba-product-ui body.pos-only-mode #view-cashier .min-cust-visit:before{color:var(--bb-line)!important}
html.boba-product-ui body.pos-only-mode #view-cashier .pos-queue-progress{background:var(--bb-soft)!important;border:1px solid var(--bb-line)!important;color:var(--bb-ink)!important;box-shadow:none!important;font-size:13px!important}
html.boba-product-ui body.pos-only-mode #view-cashier .pos-queue-progress.is-ready{background:transparent!important;border:0!important}
html.boba-product-ui body.pos-only-mode #view-cashier .pos-luxury-pass-card{background:var(--bb-red)!important;border:0!important;border-radius:var(--bb-radius)!important;box-shadow:none!important;padding:22px!important}
html.boba-product-ui body.pos-only-mode #view-cashier #posCurrentCustName{color:var(--bb-ink)!important;font-weight:700!important}
html.boba-product-ui body.pos-only-mode #view-cashier :is(#posTicketTopPhone,.pos-luxury-pass-card .rr-count-label){color:var(--bb-muted)!important;font-size:13px!important}
html.boba-product-ui body.pos-only-mode #view-cashier #posStampBig{color:var(--bb-action)!important;font-size:32px!important}
html.boba-product-ui body.pos-only-mode #view-cashier .rr-reward-summary{color:var(--bb-action)!important;border-color:var(--bb-line)!important;gap:8px!important;padding-top:14px!important}
html.boba-product-ui body.pos-only-mode #view-cashier .rr-reward-text{color:var(--bb-ink)!important;font-size:14px!important;line-height:1.5!important}
html.boba-product-ui body.pos-only-mode #view-cashier .pos-stamps-grid .locked .wallet-stamp-seal-wrap{background:var(--bb-soft)!important;border:1px solid var(--bb-line)!important}
html.boba-product-ui body.pos-only-mode #view-cashier .pos-stamps-grid .filled .wallet-stamp-seal-wrap{background:#fff!important;border:1px solid #e4bec7!important}
html.boba-product-ui body.pos-only-mode #view-cashier .pos-stamps-grid .wallet-stamp-seal{filter:none!important}
html.boba-product-ui body.pos-only-mode #view-cashier .pos-stamps-grid .locked.is-reward .wallet-stamp-seal-wrap{background:var(--bb-pink)!important;border-color:#e4bec7!important}
html.boba-product-ui body.pos-only-mode #view-cashier .pos-stamps-grid .wallet-stamp-badge.locked{color:var(--bb-action)!important}
html.boba-product-ui body.pos-only-mode #view-cashier .rr-reward-ready .pos-luxury-pass-card{background:var(--bb-pink)!important;border-color:#e4bec7!important;border-top-color:var(--bb-red)!important}
html.boba-product-ui body.pos-only-mode #view-cashier :is(#btnGiantStamp,.btn-pos-quick-add,.btn-empty-register){background:var(--bb-action)!important;border:1px solid var(--bb-action)!important;color:#fff!important;border-radius:12px!important;box-shadow:none!important;text-shadow:none!important}
html.boba-product-ui body.pos-only-mode #view-cashier #btnGiantStamp:hover:not(:disabled){background:#b70d32!important;border-color:#b70d32!important;transform:none!important}
html.boba-product-ui body.pos-only-mode #view-cashier :is(.btn-pos-sec-tile,.rr-tools button,#btnToggleWalkIn,#registerSquareTools button,.btn-empty-clear){background:var(--bb-white)!important;color:var(--bb-ink)!important;border:1px solid var(--bb-line)!important;border-radius:12px!important;box-shadow:none!important}
html.boba-product-ui body.pos-only-mode #view-cashier :is(.btn-pos-sec-tile,.rr-tools button,#btnToggleWalkIn,#registerSquareTools button):hover:not(:disabled){background:var(--bb-soft)!important;border-color:#d5b8c0!important}
html.boba-product-ui body.pos-only-mode #view-cashier :is(#btnGiantStamp,.btn-pos-sec-tile):disabled{background:var(--bb-soft)!important;border-color:var(--bb-line)!important;color:var(--bb-muted)!important;opacity:1!important;cursor:default!important}
html.boba-product-ui body.pos-only-mode #view-cashier .pos-walkin-status.has-error{color:#a61132!important}
html.boba-product-ui body.pos-only-mode #view-cashier .pos-empty-state{background:var(--bb-bg)!important;color:var(--bb-muted)!important;border-color:var(--bb-line)!important;box-shadow:none!important}
html.boba-product-ui body.pos-only-mode #view-cashier .pos-empty-icon{color:var(--bb-action)!important;background:var(--bb-pink)!important}
html.boba-product-ui body.pos-only-mode #view-cashier .pos-member-list{scrollbar-color:#d3bfc3 transparent}

/* Campaign composition and all of its selectable, editing and empty states. */
html.boba-product-ui body.pos-only-mode #view-owner :is(.mr-ready-count,.mr-option-sub,.min-cust-code,.recipient-empty,.recipient-group-title,.recipient-excluded .min-cust-send-hold,#managerRecipientNote>span,.mr-delivery-note,.mr-selected-mark){color:var(--bb-muted)!important}
html.boba-product-ui body.pos-only-mode #view-owner :is(.min-cust-meta,.min-cust-phone,.min-cust-visit,.mr-selection-sub,.mr-exclusions){font-size:13px!important;line-height:1.5!important;color:var(--bb-muted)!important}
html.boba-product-ui body.pos-only-mode #view-owner :is(.mkt-editor-label,.mr-selection-title,.min-cust-name){color:var(--bb-ink)!important;font-size:14px!important;font-weight:600!important}
html.boba-product-ui body.pos-only-mode #view-owner :is(.mr-selection-sub,.mr-option-sub,.mr-ready-count,.mr-customer-count,.mkt-message-actions button,.mkt-send-summary strong,.mkt-send-summary span,.mkt-send-summary button,.manager-utility-link){font-size:13px!important}
html.boba-product-ui body.pos-only-mode #view-owner :is(.mr-campaign-select,.mkt-preset-card){background:var(--bb-bg)!important;color:var(--bb-ink)!important;border-color:var(--bb-line)!important;border-radius:12px!important;box-shadow:none!important;transform:none!important}
html.boba-product-ui body.pos-only-mode #view-owner .mkt-preset-card.active{background:var(--bb-pink)!important;border-color:#d9859a!important;box-shadow:inset 3px 0 var(--bb-action)!important}
html.boba-product-ui body.pos-only-mode #view-owner :is(.mr-campaign-select,.mkt-preset-card):hover{background:var(--bb-pink)!important}
html.boba-product-ui body.pos-only-mode #view-owner :is(.mkt-pc-icon,.mr-campaign-icon,.min-cust-avatar){background:var(--bb-soft)!important;color:var(--bb-action)!important;border-color:var(--bb-line)!important;box-shadow:none!important}
html.boba-product-ui body.pos-only-mode #view-owner .mkt-pc-title{font-size:14px!important;letter-spacing:0!important;text-transform:none!important}
html.boba-product-ui body.pos-only-mode #view-owner .mr-sheet .mkt-pc-icon{display:grid!important;place-items:center!important}
html.boba-product-ui body.pos-only-mode #view-owner #managerCampaignDialog #mktPresetsGrid .mkt-pc-icon{display:grid!important;place-items:center!important}
html.boba-product-ui body.pos-only-mode #view-owner :is(.mkt-pc-badge,.mr-selected-mark){color:var(--bb-action)!important}
html.boba-product-ui body.pos-only-mode #view-owner :is(.recipient-excluded,.mr-audience-row,.mr-manager-utility){border-color:var(--bb-line)!important}
html.boba-product-ui body.pos-only-mode #view-owner .recipient-empty{font-size:14px!important;line-height:1.5!important}
html.boba-product-ui body.pos-only-mode #view-owner .min-cust-row{background:var(--bb-white)!important;border-color:var(--bb-line)!important;border-radius:12px!important;box-shadow:none!important}
html.boba-product-ui body.pos-only-mode #view-owner .mkt-fluid-single-bubble.is-editing{background:var(--bb-bg)!important;border-color:#b85a72!important;box-shadow:none!important}
html.boba-product-ui body.pos-only-mode #view-owner #mktEditableSpan[contenteditable=true]{caret-color:var(--bb-action)!important}
html.boba-product-ui body.pos-only-mode #view-owner .mkt-message-actions .is-save{color:var(--bb-action)!important;font-weight:600!important}
html.boba-product-ui body.pos-only-mode #view-owner #mktSaveMessage{color:var(--bb-action)!important;font-weight:600!important}
html.boba-product-ui body.pos-only-mode #view-owner :is(#mktMessageSaveStatus.has-error,.mkt-availability-retry){color:#a61132!important}
html.boba-product-ui body.pos-only-mode #view-owner .mkt-availability-retry{background:var(--bb-pink)!important;border-color:#d9859a!important}
html.boba-product-ui body.pos-only-mode #view-owner #mktActionDeck .btn-mkt-send-action{background:var(--bb-action)!important;border-color:var(--bb-action)!important;color:white!important;opacity:1!important;border-radius:12px!important}
html.boba-product-ui body.pos-only-mode #view-owner #mktActionDeck #btnMktDispatch:disabled{background:var(--bb-soft)!important;color:var(--bb-muted)!important;border-color:var(--bb-line)!important;cursor:default!important;opacity:1!important}
html.boba-product-ui body.pos-only-mode #view-owner #mktActionDeck .btn-mkt-send-action:hover:not(:disabled){background:#b70d32!important;border-color:#b70d32!important}
html.boba-product-ui body.pos-only-mode #view-owner :is(.mkt-cooldown-deck,.btn-force-dispatch-inline){background:var(--bb-bg)!important;color:var(--bb-ink)!important;border-color:var(--bb-line)!important;box-shadow:none!important}
html.boba-product-ui body.pos-only-mode #view-owner .manager-suggestions-badge{background:var(--bb-action)!important;color:white!important}
html.boba-product-ui body.pos-only-mode #view-owner .manager-utility-link svg{color:var(--bb-muted)!important}
html.boba-product-ui body.pos-only-mode #view-owner .mr-chevron{background:transparent!important;color:var(--bb-muted)!important}
html.boba-product-ui body.pos-only-mode :is(#view-cashier,#view-owner) :is(button,[role=button],a,input,textarea,summary,[contenteditable=true]):focus-visible{outline:2px solid var(--bb-action)!important;outline-offset:3px!important}
@media(max-width:767px){
 html.boba-product-ui body.pos-only-mode #view-cashier .rr-lookup{background:transparent!important;border:0!important;gap:8px!important}
 html.boba-product-ui body.pos-only-mode #view-cashier .rr-lookup{grid-template-columns:minmax(0,1fr) repeat(3,44px)!important;gap:6px!important;align-items:center!important}
 html.boba-product-ui body.pos-only-mode #view-cashier .rr-lookup #btnToggleWalkIn{width:44px!important;min-width:44px!important;min-height:48px!important}
 html.boba-product-ui body.pos-only-mode #view-cashier .rr-lookup #registerSquareTools [data-square=qr]{width:44px!important;min-width:44px!important;min-height:48px!important;padding:0!important}
 html.boba-product-ui body.pos-only-mode #view-cashier .rr-lookup #registerSquareTools [data-square=pending]{position:relative;grid-column:4!important;grid-row:1!important;justify-self:stretch!important;justify-content:center!important;width:44px!important;min-width:44px!important;min-height:48px!important;padding:0!important;font-size:0!important}
 html.boba-product-ui body.pos-only-mode #view-cashier .rr-lookup [data-square=pending]>span:first-child{font-size:0!important}
 html.boba-product-ui body.pos-only-mode #view-cashier .rr-lookup [data-square=pending]:before{content:"";display:block;width:20px;height:20px;background:var(--bb-ink);mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E") center/contain no-repeat}
 html.boba-product-ui body.pos-only-mode #view-cashier .square-pending-count{position:absolute;right:-3px;top:-5px;min-width:19px;height:19px;padding:0 3px;border-radius:10px;background:var(--bb-action);color:#fff!important;font:700 11px/19px var(--bb-font);box-sizing:border-box}
 html.boba-product-ui body.pos-only-mode #view-cashier .cashier-cust-item{padding:12px!important;margin-bottom:8px!important;border-radius:12px!important}
 html.boba-product-ui body.pos-only-mode #view-cashier .pos-luxury-pass-card{padding:20px 18px!important}
 html.boba-product-ui body.pos-only-mode #view-cashier .rr-close-list{font-size:14px!important}
 html.boba-product-ui body.pos-only-mode #view-owner .mr-composer{border-radius:16px!important;padding:14px 16px 8px!important}
 html.boba-product-ui body.pos-only-mode #view-owner .mr-sheet .mkt-preset-card{border-radius:0!important;background:transparent!important}
 html.boba-product-ui body.pos-only-mode #view-owner .mr-sheet .mkt-preset-card.active{background:var(--bb-pink)!important;border-radius:12px!important;padding-left:12px!important}
 html.boba-product-ui body.pos-only-mode #view-owner .mr-sheet .min-cust-row{border-radius:0!important}
}
@media(prefers-reduced-motion:reduce){html.boba-product-ui body.pos-only-mode #view-cashier .cashier-cust-item{transition:none!important}}
@media(max-width:360px){
 html.boba-product-ui body.pos-only-mode #view-cashier .rr-lookup{grid-template-columns:repeat(3,minmax(0,1fr))!important}
 html.boba-product-ui body.pos-only-mode #view-cashier .rr-lookup>.pos-panel-search-wrap{grid-column:1/-1!important;grid-row:1!important}
 html.boba-product-ui body.pos-only-mode #view-cashier .rr-lookup #btnToggleWalkIn{grid-column:1!important;grid-row:2!important;width:100%!important}
 html.boba-product-ui body.pos-only-mode #view-cashier .rr-lookup #registerSquareTools [data-square=qr]{grid-column:2!important;grid-row:2!important;width:100%!important}
 html.boba-product-ui body.pos-only-mode #view-cashier .rr-lookup #registerSquareTools [data-square=pending]{grid-column:3!important;grid-row:2!important;width:100%!important}
}

/* UI-028 — approved product family. Identity is red; workflow actions use meaning. */
html.boba-product-ui{--bb-red:#df123e;--bb-action:#df123e;--bb-accent:#b81037;--bb-pink:#fce7ee;--bb-ink:#30242b;--bb-muted:#796672;--bb-bg:#faf7f8;--bb-white:#fff;--bb-soft:#f1e9ee;--bb-line:#e4d7e0;--bb-radius:12px;--bb-neutral:#30242b;--bb-neutral-text:#fff;--bb-success:#246e4a;--bb-success-text:#fff;--bb-error:#a61132;color-scheme:light!important}
html.boba-product-ui[data-boba-theme=dark]{--bb-accent:#ff92ae;--bb-pink:#32202a;--bb-ink:#f6f2f6;--bb-muted:#b5a8b8;--bb-bg:#111115;--bb-white:#1a191f;--bb-soft:#29242e;--bb-line:#3b3241;--bb-neutral:#e8e0e8;--bb-neutral-text:#251e29;--bb-success:#203e2d;--bb-success-text:#c3e9d1;--bb-error:#ff9ab0;color-scheme:dark!important}
html.boba-product-ui{--order-bg:var(--bb-bg);--order-panel:var(--bb-white);--order-edge:var(--bb-line);--order-muted:var(--bb-muted);--red:var(--bb-red)}
html.boba-product-ui :is(button,input,select,textarea){accent-color:var(--bb-red)}
html.boba-product-ui :is(button,a,input,select,textarea,summary):focus-visible{outline:2px solid var(--bb-accent)!important;outline-offset:3px}
html.boba-product-ui .bb-theme-control{position:relative;display:grid;place-items:center;flex:none;width:44px;height:44px;min-width:44px;min-height:44px;margin-left:auto;padding:0;border:0;color:var(--bb-ink);border-radius:10px;background:transparent;font-size:24px;line-height:1;cursor:pointer;touch-action:manipulation}
html.boba-product-ui .bb-theme-control:focus-within{outline:2px solid var(--bb-accent);outline-offset:2px}
/* The role switch lives in the same header at every width. */
html.boba-product-ui body.pos-only-mode #posPortalHeader,
html.boba-product-ui.staff-foundation-ui.staff-header-layout body.pos-only-mode:has(#view-owner.active,#view-cashier.active,#view-kitchen.active) #posPortalHeader{display:grid!important;grid-template-columns:minmax(44px,1fr) auto minmax(88px,1fr)!important;gap:8px!important;align-items:center!important;width:100%!important;max-width:1440px!important;margin:0 auto 20px!important;padding:12px 20px!important;background:var(--bb-bg)!important;min-height:68px!important}
html.boba-product-ui body.pos-only-mode #posPortalHeader .pos-portal-brand,
html.boba-product-ui.staff-foundation-ui body.pos-only-mode #posPortalHeader .pos-portal-brand{grid-column:1!important;grid-row:1!important;display:flex!important;align-items:center!important;justify-content:flex-start!important;width:auto!important;min-width:0!important;gap:9px!important}
html.boba-product-ui body.pos-only-mode #posPortalHeader .pos-mode-switch-wrap{grid-column:2!important;grid-row:1!important;justify-self:center!important;width:auto!important;margin:0!important}
html.boba-product-ui body.pos-only-mode #posPortalHeader .pos-segmented-switch{display:flex!important;width:auto!important;border:0!important;background:transparent!important;padding:0!important;gap:4px!important}
html.boba-product-ui body.pos-only-mode #posPortalHeader .pos-switch-btn{display:flex!important;align-items:center;justify-content:center;gap:6px!important;min-width:44px!important;min-height:44px!important;padding:10px 14px!important;border:0!important;font-size:12px!important;flex:none!important;line-height:1.2!important}
html.boba-product-ui body.pos-only-mode #posPortalHeader .pos-switch-btn svg{display:block!important;width:18px!important;height:18px!important;flex:none}
html.boba-product-ui body.pos-only-mode #posPortalHeader .pos-switch-btn small{display:none!important}
html.boba-product-ui body.pos-only-mode #posPortalCenterMeta,
html.boba-product-ui.staff-foundation-ui body.pos-only-mode #posPortalHeader #posPortalCenterMeta{grid-column:3!important;grid-row:1!important;justify-self:end!important;gap:2px!important;display:flex!important;margin:0!important}
html.boba-product-ui body.pos-only-mode #posPortalHeader .pos-account-circle{background:transparent!important;border-color:transparent!important;min-width:44px!important}
html.boba-product-ui body.pos-only-mode #posPortalHeader .pos-portal-biz,
html.boba-product-ui.staff-foundation-ui body.pos-only-mode #posPortalHeader .pos-portal-biz{display:flex!important;flex-direction:column!important;min-width:0;line-height:1.15!important;gap:1px;font-size:14px!important}
html.boba-product-ui body.pos-only-mode #posPortalHeader .pos-portal-biz-name{font:700 14px/1.2 var(--bb-font);color:var(--bb-ink);white-space:nowrap}
html.boba-product-ui body.pos-only-mode #posPortalHeader .pos-portal-biz .pos-portal-role{display:block!important;font:550 11px/1.2 var(--bb-font)!important;color:var(--bb-muted)!important;margin:0!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:165px}
html.boba-product-ui body.pos-only-mode #posPortalHeader .pos-portal-brand img{width:34px!important;height:34px!important}
@media(max-width:767px){html.boba-product-ui.staff-foundation-ui body.pos-only-mode #posPortalHeader .pos-portal-biz{display:flex!important}html.boba-product-ui body.pos-only-mode #posPortalHeader .pos-portal-biz .pos-portal-role{max-width:130px}}
@media(max-width:680px){html.boba-product-ui body.pos-only-mode #posPortalHeader,html.boba-product-ui.staff-foundation-ui.staff-header-layout body.pos-only-mode:has(#view-owner.active,#view-cashier.active,#view-kitchen.active) #posPortalHeader{grid-template-columns:minmax(84px,1fr) auto minmax(88px,1fr)!important;padding:10px 12px!important;gap:4px!important}html.boba-product-ui body.pos-only-mode #posPortalHeader .pos-switch-btn{width:44px!important;padding:10px!important}html.boba-product-ui body.pos-only-mode #posPortalHeader .pos-switch-btn>span{display:none!important}}
@media(max-width:560px){html.boba-product-ui.staff-foundation-ui body.pos-only-mode #posPortalHeader .pos-portal-brand{width:auto!important;gap:7px!important}html.boba-product-ui.staff-foundation-ui body.pos-only-mode #posPortalHeader .pos-portal-biz{display:flex!important}html.boba-product-ui.staff-foundation-ui body.pos-only-mode #posPortalHeader .pos-portal-biz-name{display:none!important}html.boba-product-ui.staff-foundation-ui body.pos-only-mode #posPortalHeader .pos-portal-biz .pos-portal-role{max-width:96px;font-size:11px!important}}
/* Shared compact loyalty card, eight stamps in one row, in either theme. */
html.boba-product-ui body.pos-only-mode #view-cashier :is(.pos-luxury-pass-card,.rr-reward-ready .pos-luxury-pass-card),html.boba-customer-ui .loyalty-card{background:var(--bb-red)!important;border:0!important;border-radius:12px!important;padding:20px 18px!important;color:#fff!important;box-shadow:none!important}
html.boba-product-ui body.pos-only-mode #view-cashier :is(#posCurrentCustName,#posStampBig,.rr-count-label,.rr-reward-text,.rr-reward-summary,#posTicketTopPhone){color:#fff!important}
html.boba-product-ui body.pos-only-mode #view-cashier #posStampBig{font-size:32px!important}
html.boba-product-ui body.pos-only-mode #view-cashier #posTicketTopPhone{color:#ffe7ee!important;font-size:12px!important}
html.boba-product-ui body.pos-only-mode #view-cashier .rr-card-identity:before{content:'CUSTOMER CARD';font-size:10px;font-weight:600;color:#fff;margin-bottom:5px}
html.boba-product-ui body.pos-only-mode #view-cashier .rr-count-label{display:none!important}
html.boba-product-ui body.pos-only-mode #view-cashier .rr-reward-summary{border-color:#ffffff40!important}
html.boba-product-ui body.pos-only-mode #view-cashier .rr-reward-text{font-size:12px!important}
html.boba-product-ui body.pos-only-mode #view-cashier .wallet-stamps-stage.pos-cashier-stage{margin:24px 0!important}
html.boba-product-ui body.pos-only-mode #view-cashier .pos-stamps-grid{grid-template-columns:repeat(8,minmax(0,1fr))!important;gap:6px!important}
html.boba-product-ui body.pos-only-mode #view-cashier .pos-stamps-grid .locked .wallet-stamp-seal-wrap{background:#ffffff1a!important;border:1px solid #ffffff50!important}
html.boba-product-ui body.pos-only-mode #view-cashier .pos-stamps-grid .filled .wallet-stamp-seal-wrap{background:#fff!important;border:0!important}
html.boba-product-ui body.pos-only-mode #view-cashier .pos-stamps-grid .locked.is-reward .wallet-stamp-seal-wrap{background:#ffffff1a!important;border-color:#ffffff50!important}
html.boba-product-ui body.pos-only-mode #view-cashier .pos-stamps-grid .wallet-stamp-badge.locked{color:#fff!important}
html.boba-customer-ui .card-heading h2{font-size:21px;font-weight:800}
html.boba-customer-ui .card-heading h2:before{content:'YOUR LOYALTY CARD';display:block;font-size:10px;font-weight:600;margin-bottom:10px}
html.boba-customer-ui .card-count strong{font-size:32px}
html.boba-customer-ui .stamp-track{gap:6px;margin:24px 0;grid-template-columns:repeat(8,minmax(0,1fr))}
html.boba-customer-ui :is(.stamp-slot,.stamp-slot.reward){background:#ffffff1a;border:1px solid #ffffff50;box-shadow:none;color:#fff}
html.boba-customer-ui .stamp-slot.earned{background:transparent;border:0}
html.boba-customer-ui .card-reward{border-color:#ffffff40;padding-top:14px;gap:8px}
html.boba-customer-ui .card-reward h3{display:none}
html.boba-customer-ui .card-reward p{font-size:12px;color:#fff;font-weight:600}
html.boba-customer-ui .reward-icon,html.boba-customer-ui .reward-icon svg{width:17px;height:17px;color:#fff}
/* Selection uses a filled surface, never a brand stripe. */
html.boba-product-ui body.pos-only-mode #view-cashier .cashier-cust-item.active{background:var(--bb-red)!important;border-color:var(--bb-red)!important;box-shadow:none!important}
html.boba-product-ui body.pos-only-mode #view-cashier .cashier-cust-item.active :is(.cust-name-text,.cust-phone-wrap,.cust-subline,.min-cust-visit,.min-cust-code,.cust-active-arrow){color:#fff!important}
html.boba-product-ui body.pos-only-mode #view-cashier .cashier-cust-item.active .pos-queue-progress{background:#ffffff20!important;color:#fff!important;border-color:#ffffff40!important}
html.boba-product-ui body.pos-only-mode #view-owner :is(.mkt-preset-card.active,.mr-sheet .mkt-preset-card.active){background:var(--bb-red)!important;border-color:var(--bb-red)!important;box-shadow:none!important;border-radius:12px!important}
html.boba-product-ui body.pos-only-mode #view-owner .mkt-preset-card.active :is(.mkt-pc-title,.mkt-pc-badge,.mkt-pc-icon,.mr-option-sub,.mr-selected-mark){background:transparent!important;color:#fff!important}
html.boba-product-ui body.pos-only-mode #view-owner .mkt-preset-card.active:before,html.boba-product-ui body.pos-only-mode #view-owner .mkt-preset-card.active:after{display:none!important}
html.boba-product-ui body.pos-only-mode #view-owner :is(.mr-campaign-icon,.mkt-pc-icon){color:var(--bb-accent)!important;background:var(--bb-pink)!important}
html.boba-product-ui body.pos-only-mode #view-owner :is(#mktPreviewGreeting,#mktPreviewLink,.mkt-message-actions .is-save,#mktSaveMessage){color:var(--bb-accent)!important}
html.boba-product-ui body.pos-only-mode #view-owner :is(.mkt-char-counter.warning,#mktMessageSaveStatus.has-error){color:var(--bb-error)!important}
html.boba-product-ui body.pos-only-mode #view-owner :is(.owner-full-panel,.mr-composer,.mr-sheet){border-radius:12px!important}
html.boba-product-ui .owner-home-head{margin-bottom:12px}
html.boba-product-ui .owner-home-head h1{display:none}
html.boba-product-ui .owner-home-head .oh-eyebrow{display:none}
html.boba-product-ui .owner-home-tabs{border:0;padding:4px;background:var(--bb-soft);border-radius:12px;width:fit-content;margin-bottom:24px}
html.boba-product-ui .owner-home-tabs button{border:0;border-radius:9px;min-width:104px}
html.boba-product-ui .owner-home-tabs button[aria-selected=true]{background:var(--bb-neutral);color:var(--bb-neutral-text)}
html.boba-product-ui .oh-metrics .oh-reward-card{background:var(--bb-red);border:0;border-radius:12px;color:#fff}
html.boba-product-ui .oh-metrics .oh-reward-card :is(span,strong,small){color:#fff!important}
html.boba-product-ui .oh-next>button>span:last-child,html.boba-product-ui .oh-square-link span{color:var(--bb-accent)}
/* Surface and text ownership for secondary dialogs in both themes. */
html.boba-product-ui :is(#pinModal,#staffActionDialog,#registerSquareDialog,#smsHistoryDialog,#managerSuggestionsModal,#squareConnectionDialog,.customer-dialog){border-radius:12px!important}
html.boba-product-ui #smsHistoryDialog :is(details,.history-detail article){background:var(--bb-bg);border-color:var(--bb-line);color:var(--bb-ink)}
html.boba-product-ui #smsHistoryDialog :is(time,.history-note,.history-detail article span){color:var(--bb-muted)}
html.boba-customer-ui :is(.signup-sms-details summary,.sms-policy-links a,.vip-menu-demo-link,.vip-menu-back,.save-choice-icon,.vip-menu-flavors,.enrollment-recover strong){color:var(--bb-accent)!important}
html.boba-customer-ui :is(.enrollment-status,.enrollment-field-error,.suggestion-status){color:var(--bb-error)!important}
html.boba-customer-ui .client-enrollment button[type=submit]:disabled{background:var(--bb-soft)!important;color:var(--bb-muted)!important}
/* Kitchen: one selected status and a responsive board of compact independent tickets. */
html.boba-product-ui #view-kitchen{color-scheme:inherit;--kitchen-muted:var(--bb-muted);--kitchen-edge:var(--bb-line);--kitchen-surface:var(--bb-white);padding:8px 20px 36px}
html.boba-product-ui .kitchen-shell{color:var(--bb-ink)!important}
html.boba-product-ui .kitchen-heading h1{font-size:22px;color:var(--bb-ink)}
html.boba-product-ui :is(.kitchen-action,.kitchen-filters button,.kitchen-recipe-button,.kitchen-more summary){color:var(--bb-ink)!important;background:var(--bb-white)!important;border-color:var(--bb-line)!important;box-shadow:none!important}
html.boba-product-ui .kitchen-action[data-kitchen-action=pause][aria-pressed=true]{background:var(--bb-red)!important;color:#fff!important}
html.boba-product-ui .kitchen-action[aria-pressed=true]:not([data-kitchen-action=pause]){background:var(--bb-soft)!important}
html.boba-product-ui .kitchen-filters button[aria-pressed=true]{background:var(--bb-neutral)!important;color:var(--bb-neutral-text)!important;border-color:transparent!important}
html.boba-product-ui .kitchen-mobile-tabs{display:flex!important;gap:4px;padding:4px;background:var(--bb-soft);border:0;border-radius:12px;margin-bottom:16px}
html.boba-product-ui .kitchen-mobile-tabs button{flex:1;background:transparent;color:var(--bb-muted);border:0;border-radius:9px;min-height:44px;font-size:13px}
html.boba-product-ui .kitchen-mobile-tabs button[aria-pressed=true]{background:var(--bb-neutral);color:var(--bb-neutral-text)}
html.boba-product-ui .kitchen-board{display:block}
html.boba-product-ui .kitchen-column{display:none!important;padding:0;border:0;background:transparent}
html.boba-product-ui .kitchen-column.mobile-active{display:block!important}
html.boba-product-ui .kitchen-column>h2{display:none}
html.boba-product-ui .kitchen-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;align-items:start}
html.boba-product-ui .kitchen-order{padding:0!important;border:1px solid var(--bb-line)!important;background:var(--bb-white)!important;border-radius:12px!important;overflow:hidden;box-shadow:none!important;align-self:start}
html.boba-product-ui .kitchen-order-head{background:var(--bb-red);padding:16px;margin:0;align-items:start}
html.boba-product-ui .kitchen-order-head strong{color:white;font-size:28px}
html.boba-product-ui .kitchen-order-name{color:#fff;font-size:12px}
html.boba-product-ui .kitchen-order-head time{background:#00000015;color:white;font-size:11px}
html.boba-product-ui .kitchen-order-items{margin:0;padding:12px 14px 0;border:0;gap:8px}
html.boba-product-ui .kitchen-item{grid-template-columns:42px 18px minmax(0,1fr) 44px;gap:7px;align-items:center}
html.boba-product-ui .kitchen-item .kitchen-product-photo{width:42px;height:58px;object-fit:contain;border-radius:8px;background:#f8ece7;grid-column:1;grid-row:1}
html.boba-product-ui .kitchen-item b{grid-column:2;grid-row:1;background:transparent;color:var(--bb-accent);font-size:17px;width:auto;height:auto;margin:0}
html.boba-product-ui .kitchen-item-copy{grid-column:3;grid-row:1;padding:0}
html.boba-product-ui .kitchen-item strong{color:var(--bb-ink);font-size:13px}
html.boba-product-ui .kitchen-item p{color:var(--bb-muted);font-size:11px}
html.boba-product-ui .kitchen-recipe-button{grid-column:4;grid-row:1;border-radius:10px}
html.boba-product-ui .kitchen-order h3{color:var(--bb-muted)}
html.boba-product-ui .kitchen-order .order-primary{background:var(--bb-neutral);color:var(--bb-neutral-text);border:0;width:calc(100% - 28px);margin:14px;min-height:46px;border-radius:10px}
html.boba-product-ui .kitchen-order[data-status=preparing] .order-primary{background:var(--bb-success);color:var(--bb-success-text)}
html.boba-product-ui .kitchen-order[data-status=ready] .order-primary{background:var(--bb-soft);color:var(--bb-ink)}
html.boba-product-ui .kitchen-order .order-primary:hover{filter:brightness(.94)}
html.boba-product-ui .kitchen-order-count{padding:9px 14px 0;font-size:11px;color:var(--bb-muted);margin:0}
html.boba-product-ui .kitchen-more{padding:8px 14px 0}
html.boba-product-ui .kitchen-more summary{min-height:44px;display:flex;align-items:center;justify-content:center;border:1px solid;border-radius:9px;cursor:pointer;font-size:12px}
html.boba-product-ui .kitchen-more .kitchen-order-items{padding:10px 0 0}
html.boba-product-ui .kitchen-collected{border-color:var(--bb-line)}
html.boba-product-ui :is(.kitchen-collected summary,.kitchen-empty,.kitchen-connection){color:var(--bb-muted)}
html.boba-product-ui .kitchen-settings{background:var(--bb-white);color:var(--bb-ink);border-color:var(--bb-line);border-radius:12px}
html.boba-product-ui .kitchen-settings :is(h2,h3,label,.order-secondary,.kitchen-close,.kitchen-recipe-choice){color:var(--bb-ink);background:var(--bb-white);border-color:var(--bb-line)}
html.boba-product-ui .kitchen-settings :is(p,.kitchen-settings-hint){color:var(--bb-muted)}
html.boba-product-ui .kitchen-recipe-search{color:var(--bb-ink);background:var(--bb-bg);border-color:var(--bb-line)}
html.boba-product-ui .kitchen-error{color:var(--bb-error);background:var(--bb-pink);border-color:var(--bb-line)}
@media(max-width:1000px){html.boba-product-ui .kitchen-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){html.boba-product-ui #view-kitchen{padding:0 0 30px}html.boba-product-ui .kitchen-cards{grid-template-columns:1fr}}
/* Keep the customer menu's pictures, pastel backdrops and original category flow. */
html.boba-product-ui .ordering-app{color:var(--bb-ink)}
html.boba-product-ui .order-header .bb-theme-control{color:#fff}
html.boba-product-ui :is(.order-primary,.dialog-button.primary,.save-card-prompt button){background:var(--bb-red)!important;border-color:var(--bb-red)!important;color:#fff!important;box-shadow:none!important;border-radius:12px}
html.boba-product-ui :is(.product-dialog,.product-dialog-head,.product-actions,.menu-basket,.checkout-card,.cart-item,.option-choice,.order-secondary,.order-close,.order-notice){color:var(--bb-ink);background:var(--bb-white);border-color:var(--bb-line);box-shadow:none}
html.boba-product-ui :is(.product-dialog-head,.product-actions){background:var(--bb-white)!important}
html.boba-product-ui :is(.order-search input,.checkout-card input,.custom-tip input){color:var(--bb-ink)}
html.boba-product-ui .order-search{background:var(--bb-white);border-color:var(--bb-line);color:var(--bb-muted)}
html.boba-product-ui .option-choice:has(input:checked){background:var(--bb-pink);border-color:var(--bb-accent);color:var(--bb-ink)}
html.boba-product-ui :is(.option-choice small,.product-dialog-head span,.product-hero p,.order-brand small){color:var(--bb-muted)}
html.boba-product-ui .order-header .order-brand small{color:#fff}
html.boba-product-ui :is(.order-product,.menu-basket,.product-dialog,.checkout-card){border-radius:12px!important}
html.boba-product-ui .order-product{color:var(--bb-ink);background:var(--bb-white);border-color:var(--bb-line)}
html.boba-product-ui .order-product:hover h3{color:var(--bb-accent)}
html.boba-product-ui .menu-groups button[aria-pressed=true]{background:var(--bb-pink);color:var(--bb-accent)}
html.boba-product-ui .order-categories button[aria-pressed=true]{background:var(--bb-red);color:white;border-color:var(--bb-red)}
html.boba-product-ui .order-categories{background:var(--bb-bg)}
html.boba-product-ui .order-dock{background:var(--bb-bg);border-top:1px solid var(--bb-line)}
html.boba-product-ui .quantity-control button{background:var(--bb-bg);color:var(--bb-ink);border-color:var(--bb-line)}
html.boba-product-ui .recipe-guide{--recipe-bg:var(--bb-white);--recipe-line:var(--bb-line);--recipe-text:var(--bb-ink)}
@media(prefers-reduced-motion:reduce){html.boba-product-ui *{scroll-behavior:auto!important}}

html.boba-product-ui .ordering-app{--order-bg:var(--bb-bg);--order-panel:var(--bb-white);--order-edge:var(--bb-line);--order-muted:var(--bb-muted);--order-red:var(--bb-red);--order-soft:var(--bb-pink);--ui-ink:var(--bb-ink);--ui-muted:var(--bb-muted);--ui-action:var(--bb-red);--ui-border:var(--bb-line);--ui-soft:var(--bb-pink);--ui-shadow:none;--ui-lift:none;color-scheme:inherit}
html.boba-product-ui .kitchen-product-thumb{grid-column:1;grid-row:1;position:relative;display:grid;place-items:center;overflow:hidden;flex:none;width:42px;height:58px;border-radius:8px;background:#f8ece7;color:#9b5265}
html.boba-product-ui .kitchen-product-thumb img{width:100%;height:100%;object-fit:contain}
html.boba-product-ui .kitchen-product-thumb.is-cropped img{position:absolute;max-width:none;object-fit:fill}

/* Resolve Kitchen's legacy body palette and full-width role buttons. */
html.boba-product-ui body.pos-only-mode{background:var(--bb-bg)!important;color:var(--bb-ink)!important}
html.boba-product-ui.staff-header-layout body.pos-only-mode #posPortalHeader .pos-switch-btn{width:auto!important}
html.boba-product-ui.staff-header-layout body.pos-only-mode #posPortalHeader .pos-switch-btn.active{background:var(--bb-red)!important;color:#fff!important}
html.boba-product-ui .kitchen-order .order-primary{background:var(--bb-neutral)!important;color:var(--bb-neutral-text)!important;border:0!important}
html.boba-product-ui .kitchen-order[data-status=preparing] .order-primary{background:var(--bb-success)!important;color:var(--bb-success-text)!important}
html.boba-product-ui .kitchen-order[data-status=ready] .order-primary{background:var(--bb-soft)!important;color:var(--bb-ink)!important}
@media(max-width:680px){html.boba-product-ui.staff-header-layout body.pos-only-mode #posPortalHeader .pos-switch-btn{width:44px!important}}

html.boba-product-ui body.pos-only-mode:has(#view-kitchen.active){background:var(--bb-bg)!important;color:var(--bb-ink)!important}
html.boba-product-ui body.pos-only-mode:has(#view-kitchen.active) #posPortalHeader{background:var(--bb-bg)!important;border-color:var(--bb-line)!important}
html.boba-product-ui body.pos-only-mode:has(#view-kitchen.active) #posPortalHeader .pos-portal-biz{color:var(--bb-ink)!important}
html.boba-product-ui body.pos-only-mode:has(#view-kitchen.active) #posPortalHeader .pos-account-circle{color:var(--bb-ink)!important}
html.boba-product-ui .ordering-app :is(.order-header,.order-title-row){background:var(--bb-red)}
html.boba-product-ui .ordering-app .order-main{background:var(--bb-bg)}
html.boba-product-ui .ordering-app :is(.menu-basket,.checkout-cart,.checkout-payment,.product-dialog,.option-choice,.order-close,.cart-line,.tip-options button,.custom-tip input,.checkout-name input){background:var(--bb-white);color:var(--bb-ink);border-color:var(--bb-line);box-shadow:none}
html.boba-product-ui .ordering-app :is(.checkout-cart h2,.checkout-payment h2,.product-hero h2,.product-options legend,.quantity-control span,.menu-basket h2,.cart-line strong,.order-product strong){color:var(--bb-ink)}
html.boba-product-ui .ordering-app :is(.cart-line small,.cart-line p,.tip-options button small,.product-options legend small,.option-choice small,.demo-payment-note,.product-option-panel .option-choice small){color:var(--bb-muted)}
html.boba-product-ui .ordering-app :is(.menu-subcategories button[aria-pressed=true],.tip-options button[aria-pressed=true],.option-choice:has(input:checked)){background:var(--bb-pink);color:var(--bb-accent);border-color:var(--bb-accent)}
html.boba-product-ui .ordering-app .order-categories button:not([aria-pressed=true]){background:var(--bb-white);color:var(--bb-muted);border-color:var(--bb-line)}
html.boba-product-ui .ordering-app .order-plus{background:var(--bb-red);color:white;border-color:var(--bb-red)}
html.boba-product-ui :is(.recipe-guide,.recipe-dialog){color:var(--bb-ink);color-scheme:inherit}
html.boba-product-ui .recipe-dialog{background:var(--bb-white);border-radius:12px}
html.boba-product-ui .recipe-dialog>header{border-color:var(--bb-line)}
html.boba-product-ui :is(.recipe-close,.recipe-scale,.recipe-motion){color:var(--bb-ink);background:var(--bb-white);border-color:var(--bb-line)}
html.boba-product-ui .recipe-visual{background:var(--bb-bg);border-radius:12px}
html.boba-product-ui :is(.recipe-portion,.recipe-note){color:var(--bb-muted)}
html.boba-product-ui :is(.recipe-progress,.product-ingredients>summary){color:var(--bb-accent)}
html.boba-product-ui :is(.recipe-ingredient,.product-ingredients){border-color:var(--bb-line)}

html.boba-product-ui .kitchen-feedback{display:flex;justify-content:space-between;align-items:center;gap:8px;flex-wrap:wrap;color:var(--bb-ink);font-size:12px;padding:0 0 12px}html.boba-product-ui .kitchen-feedback:empty{display:none}html.boba-product-ui .kitchen-feedback button{font-size:12px;min-height:44px;background:var(--bb-white);color:var(--bb-ink);border:1px solid var(--bb-line);border-radius:10px}

html.boba-product-ui .owner-home-head{display:none}
html.boba-product-ui body.pos-only-mode #view-owner .mr-campaign-select,html.boba-product-ui body.pos-only-mode #view-owner .mr-campaign-select:hover{background:var(--bb-red)!important;border-color:var(--bb-red)!important;color:#fff!important;border-radius:10px!important}
html.boba-product-ui body.pos-only-mode #view-owner .mr-campaign-select :is(.mr-selection-title,.mr-selection-sub,.mr-campaign-icon,.mr-chevron){background:transparent!important;color:#fff!important}
html.boba-product-ui body.pos-only-mode #view-owner .mkt-preset-card:not(.active) .mkt-pc-badge{color:var(--bb-accent)!important}
html.boba-product-ui .ordering-app .order-product{border-color:var(--bb-line)!important}
html.boba-product-ui .ordering-app :is(.option-choice:hover,.quantity-control,.quantity-control button,.quantity-control button:hover,.topping-choice:hover,.cart-edit,.cart-remove,.tip-extra button){background:var(--bb-soft)!important;color:var(--bb-ink)!important;border-color:var(--bb-line)!important}
html.boba-product-ui .ordering-app .option-choice:has(input:checked){background:var(--bb-pink)!important;border-color:var(--bb-accent)!important;color:var(--bb-ink)!important}
html.boba-product-ui .ordering-app :is(.product-hero strong,.product-price,.order-product strong,.cart-price,.cart-totals strong){color:var(--bb-accent)}
html.boba-product-ui .ordering-app .product-options legend:before{background:var(--bb-pink);color:var(--bb-accent)}
html.boba-product-ui .ordering-app .order-product .order-plus{border-color:var(--bb-red)!important;background:var(--bb-red)!important;color:#fff!important}
html.boba-product-ui .ordering-app .order-header{justify-content:initial;gap:10px}
html.boba-product-ui .ordering-app .order-header .demo-pill{margin-left:auto}
html.boba-product-ui .ordering-app .order-header .bb-theme-control{margin-left:0}
@media(max-width:359px){html.boba-product-ui .ordering-app .order-brand{font-size:15px}html.boba-product-ui .ordering-app .order-brand img{width:34px;height:34px}html.boba-product-ui .ordering-app .order-header{gap:6px;padding-inline:14px}html.boba-product-ui .ordering-app .demo-pill{padding:4px}}

html.boba-product-ui .ordering-app .product-base-price{color:var(--bb-accent)}
html.boba-product-ui .ordering-app .order-product:hover h3{color:var(--bb-accent)}
html.boba-product-ui .ordering-app :is(.product-option-panel,.checkout-payment input,.checkout-cart .cart-totals,.tracking-identity,.order-panel){color:var(--bb-ink);background:var(--bb-white);border-color:var(--bb-line)}
html.boba-product-ui .ordering-app :is(.tracking-page .order-progress,.order-progress .progress-dot){background:var(--bb-soft);color:var(--bb-muted);border-color:var(--bb-line)}
html.boba-product-ui .ordering-app .progress-step.done .progress-dot{background:var(--bb-red);color:#fff;border-color:var(--bb-red)}
html.boba-product-ui .ordering-app .tracking-page .progress-step{color:var(--bb-muted)}
html.boba-product-ui .ordering-app :is(.tracking-page .progress-step.current,.tracking-page[data-preview=true] .tracking-label,.tracking-preview-controls button,.connection-note){color:var(--bb-accent)}

html.boba-product-ui .kitchen-shell .kitchen-feedback .order-secondary{background:var(--bb-white)!important;color:var(--bb-ink)!important;border-color:var(--bb-line)!important}

html.boba-product-ui body.pos-only-mode #view-owner .mkt-preset-card.active:hover{background:var(--bb-red)!important;border-color:var(--bb-red)!important}
html.boba-product-ui:has(#view-kitchen.active),html.boba-product-ui:has(body.ordering-app){scrollbar-color:var(--bb-line) var(--bb-bg)}
html.boba-product-ui:has(#view-kitchen.active)::-webkit-scrollbar-track{background:var(--bb-bg)}

/* A session link remains available without returning QR controls to the order board. */
html.boba-product-ui .kitchen-menu-link{border:1px solid var(--bb-line);border-radius:12px;padding:0 12px;margin:0 0 16px}
html.boba-product-ui .kitchen-menu-link summary{min-height:48px;display:flex;align-items:center;cursor:pointer;font-size:13px;font-weight:650}
html.boba-product-ui .kitchen-menu-link input{width:100%;height:44px;background:var(--bb-bg);color:var(--bb-ink);border:1px solid var(--bb-line);border-radius:8px;font-size:12px;padding:8px;accent-color:var(--bb-red)}
html.boba-product-ui .kitchen-settings .kitchen-link-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:8px}
html.boba-product-ui .kitchen-settings .kitchen-link-actions .order-secondary{font-size:12px;text-decoration:none;color:var(--bb-ink);background:var(--bb-white);border-color:var(--bb-line);flex:1;white-space:nowrap}
html.boba-product-ui .kitchen-share-status:empty{display:none}

html.boba-product-ui .kitchen-settings footer{background:var(--bb-white);border-color:var(--bb-line)}
html.boba-product-ui .kitchen-settings .kitchen-link-actions .order-secondary{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:9px 12px;border:1px solid var(--bb-line);border-radius:10px;text-decoration:none}

/* UI-030: dark surfaces own their controls, status and text colors too. */
html.boba-product-ui[data-boba-theme=dark]{--bb-neutral:#3b3241;--bb-neutral-text:#f6f2f6;--bb-warning:#ffd39a;--bb-warning-bg:#392b1d}
html.boba-product-ui[data-boba-theme=dark] :is(input:not([type=checkbox]):not([type=radio]):not([type=submit]),textarea,select){background-color:var(--bb-bg)!important;color:var(--bb-ink)!important;border-color:var(--bb-line)!important;box-shadow:none!important}
html.boba-product-ui[data-boba-theme=dark] :is(input,textarea)::placeholder{color:var(--bb-muted)!important;opacity:1}
html.boba-product-ui[data-boba-theme=dark] :is(dialog,.customer-actions,.save-card-prompt,.recipe-dialog){box-shadow:0 20px 60px #0005!important}
html.boba-product-ui[data-boba-theme=dark] :is(dialog,.recipe-dialog)::backdrop{background:#050509b3!important}
html.boba-product-ui[data-boba-theme=dark] .ordering-app :is(.basket-empty,.product-in-cart,.grand-total,.tracking-label){background:var(--bb-soft)!important;border-color:var(--bb-line)!important;box-shadow:none!important}
html.boba-product-ui[data-boba-theme=dark] .ordering-app :is(.basket-empty p,.selection-summary){color:var(--bb-muted)!important}
html.boba-product-ui[data-boba-theme=dark] .ordering-app :is(.loyalty-menu-link a,.menu-loyalty a,.menu-card-link,.order-back,.cart-edit,.cart-edit button,.cart-line button:not(.cart-remove),.tracking-number,.grand-total span:last-child,.tracking-label){color:var(--bb-accent)!important}
html.boba-product-ui[data-boba-theme=dark] .ordering-app .grand-total span:first-child{color:var(--bb-ink)!important}
html.boba-product-ui[data-boba-theme=dark] .ordering-app :is(#customTipError,.checkout-error,.product-error,.order-error){color:var(--bb-error)!important}
html.boba-product-ui[data-boba-theme=dark] .ordering-app :is(.order-panel,.tracking-identity){box-shadow:none!important;border-color:var(--bb-line)!important}
html.boba-product-ui[data-boba-theme=dark] .ordering-app :is(.checkout-title>.order-icon,.pickup-title>.order-icon,.option-step,.drink-kind){background:var(--bb-pink);color:var(--bb-accent)}
html.boba-product-ui[data-boba-theme=dark] .ordering-app .order-primary .cart-count{background:#0002;color:#fff}
html.boba-product-ui[data-boba-theme=dark] body.pos-only-mode #view-cashier #posTicketTopPhone{color:#fff!important}
html.boba-product-ui[data-boba-theme=dark] body.pos-only-mode #view-cashier .cashier-cust-item.active .pos-queue-progress{background:#0002!important;color:#fff!important;border-color:#ffffff40!important}
html.boba-product-ui[data-boba-theme=dark] body.pos-only-mode #view-cashier .cashier-cust-item.active .pos-queue-stamps-num{color:#fff!important}
html.boba-product-ui[data-boba-theme=dark] body.pos-only-mode #view-owner :is(.mkt-broadcast-icon,.min-meta-dot){color:var(--bb-accent)!important}
html.boba-product-ui[data-boba-theme=dark] :is(.staff-action-buttons button:not([data-action=confirm]),.staff-account-continue,.staff-account-signout,.staff-account-link){background:var(--bb-soft)!important;color:var(--bb-ink)!important;border-color:var(--bb-line)!important}
html.boba-product-ui[data-boba-theme=dark] :is(.history-count,.history-warning,.history-help,.history-copy,.history-recipient-status){background:var(--bb-soft)!important;color:var(--bb-ink)!important;border-color:var(--bb-line)!important}
html.boba-product-ui[data-boba-theme=dark] :is(#registerSquareDialog,#squareConnectionDialog) :is(code,.square-purchase-summary>span,.square-pending-count){color:var(--bb-muted)!important}
html.boba-product-ui[data-boba-theme=dark] :is(.kitchen-paused,.kitchen-settings-error,.kitchen-reset-confirm){color:var(--bb-error)!important}
html.boba-product-ui[data-boba-theme=dark] .kitchen-settings :is(footer,header,.kitchen-settings-body){background:var(--bb-white);border-color:var(--bb-line)}
html.boba-customer-ui[data-boba-theme=dark] :is(.confirmation-icon,.receipt-earned,.save-choice-icon,.action-icon,.enrollment-reward-mark){background:var(--bb-pink)!important;color:var(--bb-accent)!important;border-color:var(--bb-line)!important}
html.boba-customer-ui[data-boba-theme=dark] :is(.enrollment-reward-mark,.enrollment-intro .enrollment-reward-mark){background:#0002!important;color:#fff!important}
html.boba-customer-ui[data-boba-theme=dark] :is(.save-card-options,.home-screen-instructions,.sms-offers-choice,.signup-sms-details,.client-pending-purchases){border-color:var(--bb-line)!important}
html.boba-customer-ui[data-boba-theme=dark] .client-preferences button:hover{color:var(--bb-accent)!important}
html.boba-product-ui .sms-policy-page{color:var(--bb-ink)}
html.boba-product-ui .sms-policy-page :is(h1,h2){color:var(--bb-ink)}
html.boba-product-ui .sms-policy-page .policy-back{color:var(--bb-accent)}
/* The in-app presentation follows the saved theme, including its sample panels. */
html.boba-product-ui body.boba-tour-ui{--ink:var(--bb-ink);--cream:var(--bb-bg);--line:var(--bb-line);--muted:var(--bb-muted);--soft:var(--bb-soft);--red:var(--bb-red)}
html.boba-product-ui[data-boba-theme=dark] .boba-tour-ui :is(.topbar,.tour-panel,.mock,.square-path button,.manager select,.pilot-footer,.skip){background:var(--bb-white);color:var(--bb-ink);border-color:var(--bb-line);box-shadow:none}
html.boba-product-ui[data-boba-theme=dark] .boba-tour-ui :is(.square-detail,.small-button,.square-path button[aria-selected=true],.tour-tabs button[aria-selected=true],.example-pill,.register-steps li>span){background:var(--bb-soft);color:var(--bb-ink);border-color:var(--bb-line)}
html.boba-product-ui[data-boba-theme=dark] .boba-tour-ui .tour-tabs button[aria-selected=true] span{color:var(--bb-ink)}
html.boba-product-ui[data-boba-theme=dark] .boba-tour-ui :is(.eyebrow,.square-path button[aria-selected=true] span,.step-count,.no-send,.square-next){color:var(--bb-accent)}
html.boba-product-ui[data-boba-theme=dark] .boba-tour-ui :is(.square-detail p,.setup-note,.square-bottom p,.art-note){color:var(--bb-muted);border-color:var(--bb-line)}
html.boba-product-ui[data-boba-theme=dark] .boba-tour-ui .hero-art{background:var(--bb-soft)}
html.boba-product-ui[data-boba-theme=dark] .boba-tour-ui .drink-frame img{mix-blend-mode:normal}
html.boba-product-ui[data-boba-theme=dark] .boba-tour-ui .floating-card{background:var(--bb-red);color:#fff;box-shadow:none}
html.boba-product-ui[data-boba-theme=dark] .boba-tour-ui .floating-card small{color:#fff}
html.boba-product-ui[data-boba-theme=dark] .boba-tour-ui :is(.stamp-grid i,.pearls i){background:var(--bb-soft);border-color:var(--bb-line)}
html.boba-product-ui[data-boba-theme=dark] .boba-tour-ui .stamp-grid i.filled{background:var(--bb-red);border-color:var(--bb-red)}
html.boba-product-ui[data-boba-theme=dark] .boba-tour-ui .floating-card .pearls i{background:#fff2;border-color:#fff6}
html.boba-product-ui[data-boba-theme=dark] .boba-tour-ui .floating-card .pearls i.filled{background:#fff;border-color:#fff}
html.boba-product-ui[data-boba-theme=dark] .boba-tour-ui .status.live{background:var(--bb-success);color:var(--bb-success-text)}
html.boba-product-ui[data-boba-theme=dark] .boba-tour-ui :is(.status.demo,.order-status){background:var(--bb-warning-bg);color:var(--bb-warning)}
.boba-tour-ui .topbar .bb-theme-control{margin-left:0}
@media(max-width:600px){.boba-tour-ui .topbar{padding:12px 14px;gap:8px}.boba-tour-ui .topbar .brand{font-size:15px;min-width:0}.boba-tour-ui .topbar nav{gap:6px}.boba-tour-ui .topbar .small-button{padding:10px;font-size:10px;gap:6px}}

html.boba-customer-ui[data-boba-theme=dark] :is(.card-count,.enrollment-intro h2 span){color:#fff!important}
html.boba-product-ui[data-boba-theme=dark] .kitchen-reset summary,html.boba-product-ui[data-boba-theme=dark] .kitchen-recipe-choice small{color:var(--bb-accent)!important}
html.boba-product-ui[data-boba-theme=dark] .history-recipient-status[data-status=accepted],html.boba-product-ui[data-boba-theme=dark] .history-recipient-status[data-status=delivered]{background:var(--bb-success)!important;color:var(--bb-success-text)!important}
html.boba-product-ui[data-boba-theme=dark] .history-recipient-status[data-status=failed],html.boba-product-ui[data-boba-theme=dark] .history-recipient-status[data-status=delivery_failed]{background:var(--bb-pink)!important;color:var(--bb-error)!important}
html.boba-product-ui[data-boba-theme=dark] .history-recipient-status[data-status=unconfirmed]{background:var(--bb-warning-bg)!important;color:var(--bb-warning)!important}

html.boba-product-ui[data-boba-theme=dark] .ordering-app .order-browse-footer a{color:var(--bb-accent)!important}
html.boba-product-ui[data-boba-theme=dark] .ordering-app .cart-footer>span button{color:var(--bb-accent)!important}
html.boba-product-ui[data-boba-theme=dark] .ordering-app .cart-footer>span .cart-remove{color:var(--bb-muted)!important}

html.boba-product-ui[data-boba-theme=dark] .ordering-app :is(.order-inline-note,.order-notice){background:var(--bb-soft)!important;color:var(--bb-ink)!important;border-color:var(--bb-line)!important;box-shadow:none!important}
html.boba-product-ui[data-boba-theme=dark] .ordering-app .order-notice[data-success=true]:before{background:var(--bb-pink);color:var(--bb-accent)}
html.boba-product-ui[data-boba-theme=dark] .ordering-app .field-error{color:var(--bb-error)!important}
html.boba-product-ui[data-boba-theme=dark] .ordering-app :is(.checkout-heading>.order-icon,.pickup-panel h2>.order-icon,.order-categories button:not([aria-pressed=true])>.order-icon){background:var(--bb-pink);color:var(--bb-accent)}
html.boba-product-ui[data-boba-theme=dark] body.pos-only-mode #view-owner .min-meta-dot{color:var(--bb-muted)!important}

html.boba-product-ui[data-boba-theme=dark] body.pos-only-mode #view-owner .mr-campaign-select .mr-selection-sub{color:#fff!important}

html.boba-product-ui[data-boba-theme=dark],html.boba-product-ui[data-boba-theme=dark] *{scrollbar-color:var(--bb-line) transparent}
html.boba-product-ui[data-boba-theme=dark] ::-webkit-scrollbar-thumb{background-color:var(--bb-line)!important;border-color:var(--bb-white)!important}
html.boba-product-ui[data-boba-theme=dark] ::-webkit-scrollbar-track{background-color:transparent!important}

html.boba-product-ui[data-boba-theme=dark] body.pos-only-mode #view-owner #managerCampaignDialog .mkt-preset-card.active :is(.mr-option-sub,.mr-selected-mark){color:#fff!important}

html.boba-product-ui[data-boba-theme=dark] .ordering-app .checkout-pay{background:var(--bb-bg)!important;border-color:var(--bb-line)!important}
html.boba-product-ui[data-boba-theme=dark] .ordering-app .product-in-cart{color:var(--bb-accent)!important}

html.boba-product-ui[data-boba-theme=dark] .kitchen-empty{background:var(--bb-white)!important;color:var(--bb-muted)!important;border-color:var(--bb-line)!important}
html.boba-product-ui[data-boba-theme=dark] .kitchen-empty:before{background:var(--bb-soft)!important;color:var(--bb-muted)!important;border-color:var(--bb-line)!important;box-shadow:none!important}

/* Customer sound preference, beside the existing theme button. */
html.boba-product-ui .bb-sound-control{display:grid;place-items:center;flex:none;width:44px;height:44px;padding:10px;border:0;border-radius:10px;color:var(--bb-ink);background:transparent;cursor:pointer;touch-action:manipulation}
html.boba-product-ui .bb-sound-control[hidden],.bb-sound-control [hidden]{display:none}
html.boba-product-ui .bb-sound-control svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
html.boba-product-ui .order-header .bb-sound-control{color:#fff}
html.boba-product-ui .brand-header .bb-sound-control{margin-left:auto}
html.boba-product-ui .brand-header:has(.bb-sound-control) .bb-theme-control{margin-left:0}
html.boba-product-ui .bb-sound-control:focus-visible{outline:2px solid var(--bb-accent);outline-offset:2px}

/* UI-154: Staff sign-in screen follows shared light/dark tokens with full contrast. */
html.boba-product-ui.staff-signin-gate #pinModal{background:var(--bb-bg)!important;color:var(--bb-ink)!important;box-shadow:none!important;border-radius:0!important}
html.boba-product-ui.staff-signin-gate #pinModal .modal-card{background:var(--bb-white)!important;color:var(--bb-ink)!important;border:1px solid var(--bb-line)!important;border-radius:20px!important;box-shadow:0 16px 48px rgba(36,28,32,0.08)!important}
html.boba-product-ui[data-boba-theme=dark].staff-signin-gate #pinModal .modal-card{box-shadow:0 20px 60px rgba(0,0,0,0.45)!important}
html.boba-product-ui.staff-signin-gate #pinModal .brand{background:var(--bb-pink)!important;border:1px solid var(--bb-line)!important}
html.boba-product-ui.staff-signin-gate #pinModal h1{color:var(--bb-red)!important}
html.boba-product-ui[data-boba-theme=dark].staff-signin-gate #pinModal h1{color:#ff829f!important}
html.boba-product-ui.staff-signin-gate #pinModal header p{color:var(--bb-muted)!important}
html.boba-product-ui.staff-signin-gate #pinModal label{color:var(--bb-ink)!important}
html.boba-product-ui.staff-signin-gate #pinModal .reset{color:var(--bb-accent)!important;min-height:44px;display:inline-flex;align-items:center}
html.boba-product-ui.staff-signin-gate #pinModal .reveal{color:var(--bb-muted)!important;font-weight:600;min-height:44px}
html.boba-product-ui.staff-signin-gate #pinModal .reveal:hover{color:var(--bb-ink)!important}
html.boba-product-ui.staff-signin-gate #pinModal input{background:var(--bb-bg)!important;color:var(--bb-ink)!important;border:1px solid var(--bb-line)!important}
html.boba-product-ui.staff-signin-gate #pinModal input::placeholder{color:var(--bb-muted)!important;opacity:1}
html.boba-product-ui.staff-signin-gate #pinModal .submit,html.boba-product-ui.staff-signin-gate #staffAuthSubmitBtn{background:var(--bb-red)!important;border-color:var(--bb-red)!important;color:#fff!important}
html.boba-product-ui.staff-signin-gate #pinModal :is(#staffAuthRecoveryForm,#staffAuthResetForm) p{color:var(--bb-muted)!important}
html.boba-product-ui.staff-signin-gate #pinModal :is(#staffAuthRecoveryForm,#staffAuthResetForm) .btn-luxury:not(.btn-luxury-primary){background:var(--bb-soft)!important;color:var(--bb-ink)!important;border:1px solid var(--bb-line)!important;opacity:1!important}

/* UI-158: Sleek top-right Account dropdown popover (only when logged in, preserves login card). */
html.boba-product-ui.staff-foundation-ui #pinModal.acct-popover-mode{background:rgba(20,14,18,0.12)!important;backdrop-filter:none;box-shadow:none!important;border:0!important;border-radius:0!important;padding:0!important}
html.boba-product-ui[data-boba-theme=dark].staff-foundation-ui #pinModal.acct-popover-mode{background:rgba(5,4,7,0.34)!important}
html.boba-product-ui.staff-foundation-ui #pinModal.acct-popover-mode .modal-card{
  position:fixed!important;top:64px!important;right:max(16px,calc((100vw - 1440px) / 2 + 20px))!important;
  margin:0!important;width:320px!important;max-width:calc(100vw - 24px)!important;padding:0!important;
  background:var(--bb-white)!important;color:var(--bb-ink)!important;border:1px solid var(--bb-line)!important;
  border-radius:16px!important;box-shadow:0 18px 48px rgba(24,14,20,0.18)!important;overflow:hidden!important;text-align:left!important;
  max-height:calc(var(--staff-visible-height,100dvh) - 80px)!important
}
html.boba-product-ui[data-boba-theme=dark].staff-foundation-ui #pinModal.acct-popover-mode .modal-card{
  background:#19171d!important;border-color:#2f2a35!important;box-shadow:0 22px 56px rgba(0,0,0,0.55)!important
}
html.boba-product-ui.staff-foundation-ui #pinModal.acct-popover-mode .modal-close{
  top:12px!important;right:12px!important;width:36px!important;min-width:36px!important;height:36px!important;min-height:36px!important;
  background:var(--bb-soft)!important;border:1px solid var(--bb-line)!important;color:var(--bb-muted)!important
}
html.boba-product-ui.staff-foundation-ui #pinModal.acct-popover-mode .modal-close:hover{color:var(--bb-ink)!important}
html.boba-product-ui.staff-foundation-ui #pinModal.acct-popover-mode #staffAuthLoggedInView .acct-head{
  display:flex;align-items:center;gap:12px;padding:16px 54px 14px 16px;border-bottom:1px solid var(--bb-line)
}
html.boba-product-ui.staff-foundation-ui #pinModal.acct-popover-mode #staffAuthLoggedInView .acct-avatar{
  width:40px;height:40px;border-radius:50%;flex:none;display:grid;place-items:center;
  background:var(--bb-pink);color:var(--bb-red);border:1px solid var(--bb-line);font:750 15px/1 var(--bb-font)
}
html.boba-product-ui[data-boba-theme=dark].staff-foundation-ui #pinModal.acct-popover-mode #staffAuthLoggedInView .acct-avatar{color:#ff8ea8}
html.boba-product-ui.staff-foundation-ui #pinModal.acct-popover-mode #staffAuthLoggedInView .acct-meta{min-width:0;flex:1}
html.boba-product-ui.staff-foundation-ui #pinModal.acct-popover-mode #staffAuthLoggedInView .mono-caption{
  display:block;margin:0 0 2px!important;font:650 10px/1.2 var(--bb-font)!important;letter-spacing:.9px;text-transform:uppercase;color:var(--bb-muted)!important
}
html.boba-product-ui.staff-foundation-ui #pinModal.acct-popover-mode #staffAuthUserEmail{
  margin:0!important;font:650 13px/1.35 var(--bb-font)!important;color:var(--bb-ink)!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap
}
html.boba-product-ui.staff-foundation-ui #pinModal.acct-popover-mode #staffAuthUserRole{
  display:inline-flex;align-items:center;margin:6px 0 0!important;padding:3px 9px;border-radius:999px;
  background:var(--bb-soft);border:1px solid var(--bb-line);font:600 11px/1.3 var(--bb-font)!important;color:var(--bb-ink)!important
}
html.boba-product-ui.staff-foundation-ui #pinModal.acct-popover-mode #staffAuthLoggedInView .acct-section{
  padding:10px 10px 8px;border-bottom:1px solid var(--bb-line)
}
html.boba-product-ui.staff-foundation-ui #pinModal.acct-popover-mode #staffAuthLoggedInView .acct-section[hidden]{display:none!important}
html.boba-product-ui.staff-foundation-ui #pinModal.acct-popover-mode #staffAuthLoggedInView .acct-label{
  margin:2px 8px 6px!important;font:650 10px/1.2 var(--bb-font)!important;letter-spacing:.8px;text-transform:uppercase;color:var(--bb-muted)!important
}
html.boba-product-ui.staff-foundation-ui #pinModal.acct-popover-mode #staffAuthLoggedInView .acct-store-list{display:grid;gap:4px}
html.boba-product-ui.staff-foundation-ui #pinModal.acct-popover-mode #staffAuthLoggedInView :is(.acct-link,.acct-store-btn,#acctToolsSection .sq-connect-entry){
  display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;
  width:100%!important;min-height:42px!important;margin:0!important;padding:8px 10px!important;border:0!important;
  border-radius:10px!important;background:transparent!important;color:var(--bb-ink)!important;
  font:550 13px/1.35 var(--bb-font)!important;text-decoration:none!important;text-align:left!important;box-shadow:none!important;cursor:pointer
}
html.boba-product-ui.staff-foundation-ui #pinModal.acct-popover-mode #staffAuthLoggedInView .acct-link svg{flex:none;color:var(--bb-muted)}
html.boba-product-ui.staff-foundation-ui #pinModal.acct-popover-mode #staffAuthLoggedInView .acct-link span:nth-of-type(1){flex:1;min-width:0}
html.boba-product-ui.staff-foundation-ui #pinModal.acct-popover-mode #staffAuthLoggedInView .acct-arrow{color:var(--bb-muted);font-size:13px}
html.boba-product-ui.staff-foundation-ui #pinModal.acct-popover-mode #staffAuthLoggedInView :is(.acct-link,.acct-store-btn,#acctToolsSection .sq-connect-entry):hover{
  background:var(--bb-soft)!important
}
html.boba-product-ui.staff-foundation-ui #pinModal.acct-popover-mode #staffAuthLoggedInView .acct-store-btn.is-active{
  background:var(--bb-pink)!important;color:var(--bb-red)!important;font-weight:700!important
}
html.boba-product-ui[data-boba-theme=dark].staff-foundation-ui #pinModal.acct-popover-mode #staffAuthLoggedInView .acct-store-btn.is-active{color:#ff8ea8!important}
html.boba-product-ui.staff-foundation-ui #pinModal.acct-popover-mode #staffAuthLoggedInView #acctToolsSection .sq-connect-entry[hidden]{display:none!important}
html.boba-product-ui.staff-foundation-ui #pinModal.acct-popover-mode #staffAuthLoggedInView .acct-foot{padding:10px}
html.boba-product-ui.staff-foundation-ui #pinModal.acct-popover-mode #staffAuthLoggedInView .acct-foot button[onclick="handleStaffLogout()"]{
  display:flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;
  width:100%!important;min-height:42px!important;margin:0!important;padding:8px 12px!important;
  border:1px solid var(--bb-line)!important;border-radius:10px!important;background:var(--bb-soft)!important;
  color:var(--bb-ink)!important;font:600 13px/1.35 var(--bb-font)!important;box-shadow:none!important
}
html.boba-product-ui.staff-foundation-ui #pinModal.acct-popover-mode #staffAuthLoggedInView .acct-foot button[onclick="handleStaffLogout()"]:hover{
  border-color:var(--bb-red)!important;color:var(--bb-red)!important
}
html.boba-product-ui[data-boba-theme=dark].staff-foundation-ui #pinModal.acct-popover-mode #staffAuthLoggedInView .acct-foot button[onclick="handleStaffLogout()"]:hover{color:#ff8ea8!important}
@media(max-width:767px){
  html.boba-product-ui.staff-foundation-ui #pinModal.acct-popover-mode .modal-card{
    top:60px!important;right:12px!important;width:min(336px,calc(100vw - 24px))!important;
    margin:0!important;align-self:flex-start!important
  }
}

