/* On The Map POS, round two: owner-only promo management + true register light/dark theme.
   Scoped to the staff workspace; customer glass styling is intentionally untouched. */
body.otml-mode-staff .otml-pos-theme-switch{display:inline-flex;align-items:center;gap:7px;padding:9px 13px;min-height:39px;border:1px solid rgba(255,239,222,.3);background:rgba(255,247,238,.14);color:#FFF5EB;border-radius:999px;font-size:11px;font-weight:800;line-height:1.2;font-family:inherit;letter-spacing:.02em;cursor:pointer;white-space:nowrap;box-shadow:none}
body.otml-mode-staff .otml-pos-theme-switch:hover{background:rgba(255,247,238,.22)}
body.otml-mode-staff .otml-pos-theme-switch:focus-visible{outline:3px solid #E7BF91;outline-offset:3px}
body.otml-mode-staff .otml-bp-danger{min-height:42px;padding:10px 14px;border-radius:12px;background:#FFF1EE;color:#9D3729;border:1px solid #D9A69F;font-size:12px;font-weight:850;cursor:pointer}
body.otml-mode-staff .otml-bp-danger:hover{background:#FFE1DB}
body.otml-mode-staff .otml-bp-danger:focus-visible{outline:3px solid #C4715E;outline-offset:2px}

/* Larger, better structured checkout and drink customization sheets. */
body.otml-mode-staff #posReviewModal .otml-review-sheet{
 width:min(720px,calc(100vw - 24px))!important;padding:25px!important;max-height:92dvh!important;
 background:linear-gradient(160deg,rgba(255,253,249,.97),rgba(245,235,225,.97))!important;
 border:1px solid rgba(147,111,86,.24)!important;border-radius:28px!important;
 box-shadow:0 30px 90px rgba(29,17,11,.34)!important;
}
body.otml-mode-staff #posReviewModal .otml-sheet-title{font-family:Georgia,serif!important;font-size:30px!important;letter-spacing:-.03em!important}
body.otml-mode-staff #posReviewModal .otml-review-meta{padding:13px 16px!important;border-radius:15px!important;background:rgba(255,255,255,.66)!important}
body.otml-mode-staff #posReviewModal .otml-review-items{max-height:220px!important;padding:2px 8px!important}
body.otml-mode-staff #posReviewModal .otml-review-totals{padding:14px 0 10px!important}
body.otml-mode-staff #posReviewModal .otml-review-totals .due{border-radius:15px!important;background:#F0E2D4!important;color:#3B2A21!important;border:1px solid #E5D1BD!important;padding:15px 17px!important;font-size:19px!important}
body.otml-mode-staff #posReviewModal .otml-tip-picker{gap:10px!important}
body.otml-mode-staff #posReviewModal .otml-tip-picker button{min-height:40px!important;border-radius:11px!important;padding:9px 14px!important}
body.otml-mode-staff #posReviewModal .otml-payment-choices{gap:11px!important}
body.otml-mode-staff #posReviewModal .otml-payment-choices button{min-height:92px!important;border-radius:17px!important;background:rgba(255,255,255,.85)!important;border:1px solid rgba(154,119,93,.20)!important;color:#38271E!important;box-shadow:0 6px 17px rgba(47,30,19,.04)!important;transition:transform .16s ease,border-color .16s ease}
body.otml-mode-staff #posReviewModal .otml-payment-choices button:hover{transform:translateY(-2px)!important;border-color:rgba(137,95,67,.55)!important;background:#FFF9F1!important}
body.otml-mode-staff #posReviewModal .otml-payment-choices button:focus-visible{outline:3px solid #B98B64;outline-offset:3px}
body.otml-mode-staff #posReviewModal .otml-payment-choices .pay-later{min-height:55px!important;background:#F4E8DA!important}
body.otml-mode-staff #posProductModal>div:first-child{
 width:min(620px,calc(100vw - 22px))!important;max-width:620px!important;max-height:90dvh!important;
 overflow-y:auto!important;padding:24px!important;border-radius:26px!important;
 background:linear-gradient(155deg,rgba(255,253,249,.97),rgba(247,238,229,.96))!important;
 border:1px solid rgba(154,119,93,.28)!important;box-shadow:0 30px 90px rgba(24,14,9,.35)!important;
}
body.otml-mode-staff #posProductModal #modalProdTitle{font-family:Georgia,serif!important;font-size:26px!important;line-height:1.13!important;letter-spacing:-.025em!important}
body.otml-mode-staff #posProductModal #modalSizePills{display:flex!important;gap:9px!important;flex-wrap:wrap!important}
body.otml-mode-staff #posProductModal #modalSizePills button,
body.otml-mode-staff #posProductModal .modal-base-pill,
body.otml-mode-staff #posProductModal .modal-temp-pill{min-height:48px!important;padding:10px 14px!important;border-radius:13px!important;font-size:13px!important;font-weight:850!important}
body.otml-mode-staff #posProductModal #modalAddonsList{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important;max-height:260px!important;padding:3px!important}
body.otml-mode-staff #posProductModal #modalAddonsList label{min-height:42px!important;border-radius:12px!important}
body.otml-mode-staff #posProductModal .otml-modifier-card{border-radius:13px!important;padding:12px!important;background:rgba(255,255,255,.80)!important;border:1px solid #E0D1C3!important}
body.otml-mode-staff #posProductModal #btnAddConfiguredDrinkToCart{min-height:56px!important;font-size:15px!important;border-radius:15px!important;background:linear-gradient(145deg,#382318,#5C3B28)!important;color:#FFF6E7!important;box-shadow:0 12px 28px rgba(47,30,19,.15)!important}
body.otml-mode-staff .otml-pos-right .otml-review-pay-button{min-height:59px!important;font-size:14px!important}
body.otml-mode-staff .otml-pos-right #posCartRows{max-height:300px!important}
body.otml-mode-staff .otml-pos-right #posTotalSpan{color:#704A33!important;font-size:21px!important}

/* Dark mode is per-device, POS-only, and doesn't alter any customer's theme. */
body.otml-mode-staff.otml-pos-night{
 --otml-bg:#1D1714;--otml-dark:#FFF2E4;--otml-primary:#EAD1BB;
 --otml-pos-text:#FFF0E3;--otml-pos-muted:#D8BEA9;--otml-panel-bg:#30251F;
 --otml-workspace-bg:#241A16;--otml-tile-bg:#47362B;--otml-pos-border:rgba(246,218,192,.20);
 --otml-border:rgba(244,212,184,.25);--otml-text-muted:#D8BEAA;
 background:radial-gradient(circle at 18% 0%,rgba(129,85,59,.29),transparent 42%),linear-gradient(145deg,#1C1512,#2A201B 54%,#1C1512)!important;
 color:#F9EADF!important;color-scheme:dark;
}
body.otml-mode-staff.otml-pos-night .otml-hub-header{background:linear-gradient(135deg,#211711,#473226)!important;border-color:rgba(244,219,194,.17)!important}
body.otml-mode-staff.otml-pos-night .otml-hub-tabs{background:rgba(68,49,38,.78)!important;border-color:rgba(238,210,182,.18)!important}
body.otml-mode-staff.otml-pos-night .otml-hub-tabs button{color:#E4D0C0!important}
body.otml-mode-staff.otml-pos-night .otml-hub-tabs button.active{background:#EACCB0!important;color:#2D1D15!important;box-shadow:0 6px 16px rgba(10,6,4,.16)!important}
body.otml-mode-staff.otml-pos-night #hubTabPos .otml-pos-left,
body.otml-mode-staff.otml-pos-night #hubTabPos .otml-pos-right{
 background:linear-gradient(150deg,rgba(91,66,51,.50),rgba(39,28,23,.80))!important;
 border-color:rgba(244,219,192,.19)!important;box-shadow:0 17px 40px rgba(5,3,2,.25)!important;
}
body.otml-mode-staff.otml-pos-night #hubTabPos .otml-pos-right>div{background:rgba(80,58,45,.52)!important;border-color:rgba(244,219,192,.15)!important}
body.otml-mode-staff.otml-pos-night #hubTabPos .otml-pos-section-title,
body.otml-mode-staff.otml-pos-night #hubTabPos .otml-drink-title,
body.otml-mode-staff.otml-pos-night #hubTabPos .otml-drink-bottom,
body.otml-mode-staff.otml-pos-night #hubTabPos .otml-pos-right [style*="color:var(--otml-dark)"],
body.otml-mode-staff.otml-pos-night #hubTabPos #posSubtotalSpan,
body.otml-mode-staff.otml-pos-night #hubTabPos #posTotalSpan{color:#FFF2E5!important}
body.otml-mode-staff.otml-pos-night #hubTabPos .otml-pos-section-kicker,
body.otml-mode-staff.otml-pos-night #hubTabPos .otml-drink-desc,
body.otml-mode-staff.otml-pos-night #hubTabPos .otml-pos-right [style*="var(--otml-text-muted)"]{color:#D6BCA8!important}
body.otml-mode-staff.otml-pos-night #hubTabPos .otml-drink-card{background:linear-gradient(145deg,rgba(112,81,62,.56),rgba(55,39,31,.90))!important;border-color:rgba(238,205,176,.17)!important;box-shadow:0 9px 24px rgba(7,4,3,.21)!important}
body.otml-mode-staff.otml-pos-night #hubTabPos .otml-drink-card:hover{border-color:rgba(234,197,164,.53)!important}
body.otml-mode-staff.otml-pos-night #hubTabPos .otml-drink-desc{color:#DDC8B8!important}
body.otml-mode-staff.otml-pos-night #hubTabPos .otml-drink-bottom{color:#F6E6D8!important}
body.otml-mode-staff.otml-pos-night #hubTabPos .otml-add-circle,
body.otml-mode-staff.otml-pos-night #hubTabPos .otml-review-pay-button{background:linear-gradient(145deg,#E3C19C,#C99C74)!important;color:#24170F!important;box-shadow:0 8px 20px rgba(6,4,2,.20)!important}
body.otml-mode-staff.otml-pos-night #hubTabPos .otml-product-image-placeholder{background:linear-gradient(145deg,#564031,#3B2A21)!important;color:#E5C5A5!important}
body.otml-mode-staff.otml-pos-night #hubTabPos .otml-cat-pill{background:rgba(101,73,55,.43)!important;color:#EFE0D2!important;border-color:rgba(244,218,192,.16)!important}
body.otml-mode-staff.otml-pos-night #hubTabPos .otml-cat-pill.active{background:linear-gradient(145deg,#DBBA99,#B98B65)!important;color:#2B1B12!important;border-color:#C69B79!important}
body.otml-mode-staff.otml-pos-night #hubTabPos .otml-cat-pill-bar{background:rgba(56,40,32,.58)!important;border-color:rgba(244,218,192,.15)!important}
body.otml-mode-staff.otml-pos-night #hubTabPos input,
body.otml-mode-staff.otml-pos-night #hubTabPos select,
body.otml-mode-staff.otml-pos-night #hubTabPos .otml-control{background:#392A21!important;color:#FFF1E3!important;border:1px solid rgba(239,211,185,.24)!important}
body.otml-mode-staff.otml-pos-night #hubTabPos input::placeholder{color:#C6AD99!important}
body.otml-mode-staff.otml-pos-night #hubTabPos .otml-unavailable-list-btn,
body.otml-mode-staff.otml-pos-night #hubTabPos .otml-discount-button{background:rgba(87,63,48,.76)!important;color:#F6E6D8!important;border-color:rgba(244,218,192,.22)!important}
body.otml-mode-staff.otml-pos-night #hubTabPos .otml-bp-pos{background:rgba(76,52,38,.50)!important;color:#F5E4D7!important;border-color:rgba(244,218,192,.22)!important}
body.otml-mode-staff.otml-pos-night #hubTabPos .otml-bp-pos small{color:#D8C4B3!important}
body.otml-mode-staff.otml-pos-night #hubTabPos .otml-pos-right button:not(.otml-review-pay-button):not(.otml-add-circle){color:inherit}
body.otml-mode-staff.otml-pos-night #hubTabPos .otml-pos-right button[style*="background:#fff"],
body.otml-mode-staff.otml-pos-night #hubTabPos .otml-pos-right button[style*="background: #fff"]{color:#2D1C13!important}
body.otml-mode-staff.otml-pos-night #posReviewModal .otml-review-sheet,
body.otml-mode-staff.otml-pos-night #posProductModal>div:first-child{background:linear-gradient(150deg,rgba(82,61,48,.98),rgba(40,29,23,.98))!important;border-color:rgba(242,213,185,.23)!important;color:#FFF1E4!important}
body.otml-mode-staff.otml-pos-night #posReviewModal .otml-sheet-title,
body.otml-mode-staff.otml-pos-night #posReviewModal .otml-review-item b,
body.otml-mode-staff.otml-pos-night #posProductModal #modalProdTitle{color:#FFF1E4!important}
body.otml-mode-staff.otml-pos-night #posReviewModal .otml-review-meta,
body.otml-mode-staff.otml-pos-night #posReviewModal .otml-review-totals .due{background:rgba(120,86,61,.30)!important;color:#FFF0E1!important;border-color:rgba(242,213,185,.22)!important}
body.otml-mode-staff.otml-pos-night #posReviewModal .otml-review-totals .grand,
body.otml-mode-staff.otml-pos-night #posReviewModal .otml-review-totals .due b,
body.otml-mode-staff.otml-pos-night #posReviewModal .otml-review-totals span{color:#FFF1E3!important}
body.otml-mode-staff.otml-pos-night #posReviewModal .otml-payment-choices button{background:rgba(119,86,65,.39)!important;color:#FFF1E3!important;border-color:rgba(242,213,185,.22)!important}
body.otml-mode-staff.otml-pos-night #posReviewModal .otml-payment-choices button:hover{background:rgba(141,99,74,.57)!important}
body.otml-mode-staff.otml-pos-night #posReviewModal .otml-payment-choices .pay-later{background:rgba(139,101,66,.28)!important}
body.otml-mode-staff.otml-pos-night #posProductModal #modalProdCategory,
body.otml-mode-staff.otml-pos-night #posProductModal label{color:#E3CDBB!important}
body.otml-mode-staff.otml-pos-night #posProductModal .otml-modifier-card{background:rgba(112,80,61,.38)!important;border-color:rgba(242,213,185,.17)!important;color:#FFF1E3!important}
body.otml-mode-staff.otml-pos-night #posProductModal .otml-modifier-card span,
body.otml-mode-staff.otml-pos-night #posProductModal .otml-modifier-card b{color:#FFF1E3!important}
body.otml-mode-staff.otml-pos-night #posProductModal .otml-modifier-options select{background:#37271E!important;color:#FFF1E3!important;border-color:rgba(242,213,185,.22)!important}
body.otml-mode-staff.otml-pos-night #posProductModal #modalSizePills button:not(.active),
body.otml-mode-staff.otml-pos-night #posProductModal .modal-base-pill:not(.active),
body.otml-mode-staff.otml-pos-night #posProductModal .modal-temp-pill:not(.active){background:#392920!important;color:#EEDCCC!important;border-color:rgba(242,213,185,.22)!important}
body.otml-mode-staff.otml-pos-night #posProductModal #modalSizePills button.active,
body.otml-mode-staff.otml-pos-night #posProductModal .modal-base-pill.active,
body.otml-mode-staff.otml-pos-night #posProductModal .modal-temp-pill.active{background:#DBB692!important;color:#281911!important;border-color:#DBB692!important}
body.otml-mode-staff.otml-pos-night #posProductModal #btnAddConfiguredDrinkToCart{background:linear-gradient(145deg,#DBB692,#B88B67)!important;color:#261810!important}
@media(max-width:700px){
 body.otml-mode-staff #posProductModal>div:first-child{max-height:91dvh!important;border-radius:24px 24px 0 0!important;padding:20px 16px calc(22px + env(safe-area-inset-bottom))!important;align-self:flex-end}
 body.otml-mode-staff #posProductModal{padding:0!important;align-items:flex-end!important}
 body.otml-mode-staff #posReviewModal .otml-review-sheet{max-height:93dvh!important;padding:20px 16px calc(20px + env(safe-area-inset-bottom))!important;border-radius:24px 24px 0 0!important;align-self:flex-end}
 body.otml-mode-staff #posReviewModal{padding:0!important;align-items:flex-end!important}
 body.otml-mode-staff #posProductModal #modalAddonsList{grid-template-columns:1fr!important}
 body.otml-mode-staff #posReviewModal .otml-payment-choices{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 body.otml-mode-staff .otml-pos-theme-switch{padding:8px 10px;font-size:10px}
}
@media(prefers-reduced-motion:reduce){body.otml-mode-staff #posReviewModal .otml-payment-choices button{transition:none!important}}

body.otml-mode-staff.otml-pos-night #posProductModal #modalAddonsList>label{background:rgba(112,80,61,.38)!important;border-color:rgba(242,213,185,.19)!important;color:#FFF1E3!important}
body.otml-mode-staff.otml-pos-night #posProductModal #modalAddonsList>label span,
body.otml-mode-staff.otml-pos-night #posProductModal #modalAddonsList>label b{color:#F5DDC8!important}
body.otml-mode-staff.otml-pos-night #posProductModal #modalAddonsList>label:has(input:checked){border-color:#DBB692!important;background:rgba(164,119,83,.39)!important}
body.otml-mode-staff.otml-pos-night #posProductModal .otml-review-meta,
body.otml-mode-staff.otml-pos-night #posProductModal .otml-taste-field{background:#422F24!important}
