/* SwaadBhoomi 5.4.2. Scoped refinements; no global zoom or font scaling. */
.addon-controls{margin:14px 16px}.addon-group{margin:0 0 14px;border:1px solid #e7e1d9;border-radius:16px;padding:12px;background:#fff;min-width:0}.addon-group legend{font-size:17px;font-weight:800;padding:0 5px}.addon-group-help{display:flex;gap:8px;align-items:center;justify-content:space-between;color:#6c675e;margin:0 0 8px}.addon-group-help small{font-size:12px;line-height:1.4}.addon-clear{border:0;background:none;color:#9d760b;font:inherit;font-size:13px;cursor:pointer}.addon-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 0;border-top:1px solid #f0eae3}.addon-name{font-size:16px;line-height:1.35;overflow-wrap:anywhere;flex:1;min-width:0}.addon-choice{flex:none;display:flex;flex-direction:column;align-items:end;gap:4px}.addon-choice>small{font-size:12px;color:#66583a}.addon-stepper{display:flex;justify-content:center;align-items:center;min-width:100px;border:1px solid #d0a425;border-radius:10px;overflow:hidden;color:#a4760c;background:#fffdf4}.addon-stepper.is-selected{background:#d5a722;color:#21180a}.addon-stepper button{font:inherit;font-weight:800;font-size:16px;border:0;background:none;cursor:pointer;min-width:34px;min-height:38px;color:inherit}.addon-stepper:not(.is-selected) .addon-plus{min-width:100px}.addon-stepper output{min-width:26px;text-align:center;font-size:16px;font-weight:800}.addon-error{margin:6px 0;color:#9f2424;font-size:13px;line-height:1.4}.addon-stepper [hidden],.addon-error[hidden]{display:none!important}
.food-type-row .inline-prep{display:inline-flex;align-items:center;flex:none;font-size:11px;line-height:1.25;padding:3px 6px;border-radius:7px;font-weight:600;margin:0;white-space:nowrap;background:#f3eedf;color:#75603a}.food-type-row{flex-wrap:wrap;gap:7px}.product-info>.preparation-chip{display:none}
/* Cart and incentive are a single, safe-area-aware block; never two overlapping bars. */
.customer-cart-dock{display:none}.cart-incentive{font:inherit;font-size:12px;line-height:1.4;text-align:left;border:0;border-bottom:1px solid #efe4c8;background:#fffaf0;display:flex;align-items:center;gap:9px;width:100%;padding:8px 12px;color:#745412}.cart-incentive>span:nth-child(2){flex:1}.cart-incentive>span:first-child{font-size:20px}.cart-incentive[hidden]{display:none}.cart-continue{font-size:16px;white-space:nowrap}.floating-cart-copy{flex:1;text-align:left;min-width:0}.floating-cart-copy strong{font-size:16px;line-height:1.25;display:block}.floating-cart-copy small{font-size:12px;line-height:1.3;display:block}
@media(max-width:1100px){
 .customer-cart-dock:not(.hidden){display:flex;flex-direction:column;position:fixed;left:12px;right:12px;bottom:max(12px,env(safe-area-inset-bottom,0px));z-index:180;border-radius:17px;box-shadow:0 6px 24px #0002;overflow:hidden;background:#fff;max-width:680px;margin-inline:auto}
 .customer-cart-dock .floating-cart{position:static!important;inset:auto!important;transform:none!important;display:flex!important;align-items:center;gap:10px;width:100%;margin:0;padding:12px 14px;min-height:58px;border-radius:0;box-shadow:none!important;background:#13894d;color:#fff;border:0}
 .customer-cart-dock .floating-cart.hidden{display:none!important}.customer-cart-dock .floating-count{min-width:36px;min-height:36px;display:grid;place-items:center;background:#ffffff28;border-radius:10px}
 .cart-open .customer-cart-dock,.menu-open .customer-cart-dock,body:has(dialog[open]) .customer-cart-dock{display:none!important}
 body.has-cart-dock .site-footer{padding-bottom:calc(120px + env(safe-area-inset-bottom,0px))}.product-dialog-copy .food-type-row{min-height:24px}
}
/* Real viewport modal: selecting at bottom of the catalogue never opens off-screen. */
#posProductDialog[open]{position:fixed!important;left:50%!important;right:auto!important;bottom:auto!important;top:calc(var(--sb-viewport-top,0px) + max(12px,env(safe-area-inset-top,0px)))!important;transform:translateX(-50%)!important;margin:0!important;width:min(650px,calc(100% - 20px))!important;max-width:calc(100% - 20px)!important;height:min(760px,calc(var(--sb-viewport-height,100dvh) - max(12px,env(safe-area-inset-top,0px)) - max(20px,env(safe-area-inset-bottom,0px))));max-height:calc(var(--sb-viewport-height,100dvh) - max(12px,env(safe-area-inset-top,0px)) - max(20px,env(safe-area-inset-bottom,0px)))!important;display:flex;flex-direction:column;overflow:hidden!important;padding:0!important;border:0;border-radius:20px;box-shadow:0 14px 60px #0004}
#posDialogBody{display:flex;flex-direction:column;flex:1;min-height:0;overflow:hidden}.pos-dialog-scroll{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:16px}.pos-dialog-scroll .dialog-product-heading{padding-right:40px;display:flex;gap:12px}.pos-dialog-scroll .dialog-product-heading img{width:64px;height:64px;object-fit:cover;border-radius:12px}.pos-dialog-scroll h2{font-size:21px;line-height:1.25;margin:0 0 4px;overflow-wrap:anywhere}.pos-dialog-scroll .addon-controls{margin:12px 0}.pos-dialog-scroll .dialog-product-heading p{font-size:12px;margin:0 0 4px}.pos-dialog-scroll .admin-field{font-size:14px}.pos-dialog-scroll textarea{width:100%;font-size:16px!important;padding:10px}
#posDialogBody>.dialog-add-row{flex:none;display:grid;grid-template-columns:110px minmax(0,1fr);align-items:center;gap:10px;padding:12px 14px max(20px,env(safe-area-inset-bottom,0px));background:white;border-top:1px solid #e8e0d5;margin:0}#posDialogBody>.dialog-add-row button{min-height:46px}#posDialogClose{position:absolute;top:10px;right:10px;z-index:3;width:36px;height:36px}
.pos-customer-details>summary{display:none}.pos-customer-details:not([open])>.pos-customer-fields{display:none}.pos-instructions>summary{display:none}.pos-instructions{border:0}.pos-customer-details:not(.captain-editor *)>.pos-customer-fields{margin-top:0}#posTotalsToggle{display:none}
.captain-editor .pos-heading{display:flex;flex-wrap:nowrap;align-items:center;margin:0 0 8px;gap:8px}.captain-editor .pos-heading h1{font-size:18px!important;margin:0;line-height:1.2}.captain-editor .pos-heading p{display:none}.captain-editor .heading-actions{gap:4px;flex-wrap:nowrap}.captain-editor .heading-actions a,.captain-editor .heading-actions button{padding:7px;font-size:11px;min-height:34px;white-space:nowrap}.captain-editor .heading-actions .count-badge{padding:2px 4px;font-size:10px}
.captain-editor .pos-cart{position:static!important;padding:8px!important;border-radius:14px}.captain-editor .pos-cart>.card-heading{padding:2px 4px!important;align-items:center;margin:0!important}.captain-editor .card-heading h2{font-size:17px;margin:0}.captain-editor #posCartCount{font-size:11px;display:inline-block;margin:0 0 0 8px}.captain-editor .card-heading>div{display:flex;align-items:center}.captain-editor .pos-customer-details>summary{display:flex;align-items:center;gap:6px;font-size:12px;padding:7px 4px;cursor:pointer;background:#faf7f0;border-radius:8px;margin:4px 0}.captain-editor .pos-customer-details>summary>span{margin-left:auto;font-size:11px;color:#816319}.captain-editor .pos-customer-fields{padding:6px 4px}.captain-editor .pos-cart-lines{padding:0 4px!important;max-height:115px}.captain-editor .pos-cart-lines .admin-empty{padding:4px!important;min-height:26px!important}.captain-editor .pos-cart-lines .admin-empty>span{display:none}.captain-editor .pos-cart-lines .admin-empty>p{margin:3px!important}.captain-editor .pos-cart-row{padding:5px 0!important}.captain-editor .pos-cart-row>div>span{font-size:11px}.captain-editor .pos-total-box{display:flex;gap:10px;align-items:center;justify-content:space-between;margin:4px!important;padding:4px 6px!important;background:#fff9e5}.captain-editor .pos-total-box>div:not(.grand){display:none}.captain-editor .pos-total-box>.grand{display:flex;flex:1;justify-content:end;gap:10px;border:0;padding:0!important;margin:0!important;font-size:16px}.captain-editor #posTotalsToggle{display:inline-block;font-size:11px;margin:0;padding:4px}.captain-editor .pos-total-box.show-details{display:flex;flex-wrap:wrap}.captain-editor .pos-total-box.show-details>div:not(.hidden){display:flex;gap:8px;font-size:12px}.captain-editor .pos-total-box.show-details>.grand{flex-basis:100%}
.captain-editor .pos-instructions>summary{display:block;cursor:pointer;font-size:12px;padding:4px}.captain-editor .pos-instructions .admin-field>span{display:none}.captain-editor .pos-cart form#posCheckout{padding:0 4px 3px!important;gap:4px}.captain-editor .pos-cart .pos-create-button{min-height:40px;font-size:14px;padding:8px!important}.captain-editor .pos-layout{gap:8px!important}.captain-editor .pos-catalog-toolbar{padding:6px!important;margin:0!important}.captain-editor .pos-search input{height:40px}.captain-editor .pos-category-rail{padding:3px}.captain-editor .pos-category-button{min-height:36px;font-size:11px}.captain-editor .pos-catalog{padding:6px!important}
@media(max-width:480px){.captain-editor .pos-heading{align-items:start;flex-direction:column;gap:5px}.captain-editor .pos-heading h1{font-size:17px!important}.captain-editor .heading-actions{width:100%}.captain-editor .heading-actions>*{flex:1;text-align:center}.captain-editor .pos-customer-details>summary{flex-wrap:wrap}.captain-editor .pos-customer-details>summary>span{font-size:10px}}
/* Admin-managed table plan. */
.table-plan-form{display:grid;gap:16px}.table-plan-settings-link{margin-bottom:16px}.table-add-row{display:flex;gap:12px;align-items:end;max-width:520px}.table-add-row label{flex:1}.table-label-chips{display:flex;flex-wrap:wrap;gap:8px;padding:12px 0}.table-label-chip{display:flex;align-items:center;gap:10px;padding:5px 9px;border-radius:9px;background:#fff5d5;border:1px solid #d6c38d;font-size:15px;font-weight:700}.table-label-chip button{width:30px;height:30px;font-size:22px;border:0;background:transparent;cursor:pointer}.captain-assignment{padding:12px;margin:12px 0;border:1px solid #dfd5c5;border-radius:12px;min-width:0}.captain-assignment legend{font-weight:bold}.captain-assignment label{display:flex;gap:7px;align-items:center;min-height:36px;font-size:14px}.captain-assignment input{width:18px;height:18px}.table-assignment-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:5px;margin-top:8px}
/* Dashboard action overflow: no multi-row button wall on POS. */
.dashboard-more{position:relative;z-index:40}.dashboard-more>summary{list-style:none;cursor:pointer;white-space:nowrap}.dashboard-more>summary::-webkit-details-marker{display:none}.dashboard-more-menu{position:absolute;right:0;top:calc(100% + 6px);display:grid;gap:7px;background:#fff;padding:12px;border:1px solid #e1d8ca;border-radius:12px;box-shadow:0 8px 32px #0002;min-width:210px}.dashboard-more-menu form,.dashboard-more-menu button,.dashboard-more-menu a{width:100%}.dashboard-heading .heading-actions{flex-wrap:nowrap}.operations-dashboard-page .dashboard-heading>div:first-child{min-width:0}
@media(min-width:760px){
 html.pos-touch .operations-dashboard-page{--live-card-height:clamp(124px,calc((100dvh - 220px)/3 - 5px),164px)}
 html.pos-touch .dashboard-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 7px!important;min-height:38px}
 html.pos-touch .dashboard-heading h1{font-size:18px!important;line-height:1.25;margin:0;white-space:nowrap}html.pos-touch .dashboard-heading p{display:none!important}
 html.pos-touch .dashboard-heading .heading-actions{gap:6px;flex:none;flex-wrap:nowrap}html.pos-touch .dashboard-heading .heading-actions>.admin-primary,html.pos-touch .dashboard-heading .heading-actions>.admin-secondary,html.pos-touch .dashboard-heading .dashboard-more>summary{padding:7px 9px!important;font-size:12px;min-height:34px;border-radius:9px}
 html.pos-touch #dashboardSoundToggle{font-size:0!important;min-width:36px}html.pos-touch #dashboardSoundToggle:before{content:'🔔';font-size:16px}html.pos-touch #dashboardSoundToggle[aria-pressed=false]:before{content:'🔕'}
 html.pos-touch .stats-grid.dashboard-stats.live-stats{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:7px!important;margin:0 0 8px!important}
 html.pos-touch .live-stats .stat-card{min-width:0;min-height:56px!important;padding:7px 9px!important;gap:7px!important;border-radius:11px;box-shadow:0 3px 12px #00000006;align-items:center}
 html.pos-touch .live-stats .stat-icon{width:26px;height:26px;font-size:14px;border-radius:8px;flex:none}
 html.pos-touch .live-stats .stat-card>div:last-child{min-width:0}.pos-touch .live-stats .stat-card span{font-size:11px!important;line-height:1.2;display:block;white-space:nowrap}
 html.pos-touch .live-stats .stat-card strong{display:block;font-size:20px!important;line-height:1.25;overflow-wrap:anywhere}.pos-touch .live-stats .stat-card small{display:none}
 html.pos-touch .operations-dashboard-page>.alert-stack{display:none}
 html.pos-touch .operations-dashboard-grid{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:10px!important}
 html.pos-touch .operations-dashboard-grid>.live-order-board{grid-column:1/-1!important;padding:8px 9px!important;border-radius:14px}
 html.pos-touch .live-board-heading{min-height:28px;padding:0 2px 6px!important;margin:0!important;display:flex;align-items:center;gap:10px}
 html.pos-touch .live-board-heading h2{font-size:15px!important;margin:0}.pos-touch .live-board-heading p{display:none}.pos-touch .live-count{margin-left:auto;font-size:10px;padding:4px 7px}
 html.pos-touch .live-order-scroll{padding:0!important;max-height:calc(var(--live-card-height)*3 + 14px)!important;overflow:auto;overscroll-behavior:contain}
 html.pos-touch .live-order-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:6px!important;grid-auto-rows:var(--live-card-height);align-items:stretch}
 html.pos-touch .live-order-card{display:grid;grid-template-columns:minmax(0,.7fr) minmax(0,1.3fr);grid-template-rows:17px 16px minmax(18px,1fr) 16px 30px;gap:2px 5px;position:relative;min-width:0;min-height:0!important;height:100%!important;padding:6px!important;border-top-width:3px;border-radius:10px;box-shadow:none;overflow:hidden}
 html.pos-touch .live-order-top,html.pos-touch .live-customer,html.pos-touch .live-order-items,html.pos-touch .live-order-meta{grid-column:1/-1;padding:0!important;margin:0!important;border:0;min-width:0}
 html.pos-touch .live-order-top{align-items:center;gap:5px}.pos-touch .live-order-top>div{min-width:0}.pos-touch .live-order-top a{font-size:10px!important;white-space:nowrap;overflow:hidden;display:block;text-overflow:ellipsis}.pos-touch .live-order-top small{display:none}.pos-touch .live-order-top>span{font-size:9px;padding:2px 4px;white-space:nowrap}
 html.pos-touch .live-customer{display:flex;align-items:center;justify-content:space-between;gap:5px}.pos-touch .live-customer strong{font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}.pos-touch .live-customer small{font-size:9px;white-space:nowrap;flex:none;max-width:45%;overflow:hidden;text-overflow:ellipsis}
 html.pos-touch .live-order-items{display:flex;gap:5px;align-items:start;overflow:hidden}.pos-touch .live-order-items b{font-size:9px;line-height:13px;white-space:nowrap;flex:none}.pos-touch .live-order-items p{font-size:10px;line-height:13px;margin:0;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
 html.pos-touch .live-order-meta{display:flex;align-items:center;gap:5px}.pos-touch .live-order-meta>span{font-size:14px;font-weight:800}.pos-touch .live-order-meta small{font-size:9px;line-height:1.2}.pos-touch .live-order-meta small:last-child{margin-left:auto;white-space:nowrap}
 html.pos-touch .live-order-status{grid-column:1;display:flex;gap:3px;align-items:center;min-width:0;margin:0;padding:0}.pos-touch .live-order-status .status-badge{font-size:9px;padding:3px 4px;line-height:1.3;max-width:100%;white-space:normal}.pos-touch .live-order-status>a{display:none}
 html.pos-touch .live-order-actions{grid-column:2;display:flex;gap:3px;min-width:0;margin:0!important;align-items:stretch}.pos-touch .live-order-actions>*{flex:1;min-width:0}.pos-touch .workflow-button{display:flex;align-items:center;justify-content:center;min-height:30px;height:30px;padding:3px!important;font-size:10px!important;line-height:1.1;border-radius:7px;white-space:normal;text-align:center}
 html.pos-touch .live-special{position:absolute;right:6px;top:42px;margin:0;padding:1px 3px;width:15px;height:15px;background:#803e0d;color:#fff;border-radius:50%;font-size:0;overflow:hidden;z-index:2}.pos-touch .live-special:before{content:'!';font-size:11px;font-weight:800}.pos-touch .live-special:focus{width:auto;max-width:90%;height:auto;font-size:11px;padding:6px;top:36px}.pos-touch .live-special:focus span{display:block;font-size:11px}
 html.pos-touch .awaiting-operator-action:after{display:none!important}.pos-touch .awaiting-operator-action{animation:none;box-shadow:inset 0 0 0 1px #d9362c}
 html.pos-touch .new-order-alert:not([hidden]){position:static!important;inset:auto!important;transform:none!important;display:flex!important;align-items:center;gap:5px;background:#fff2ef;color:#922017;padding:3px 6px!important;margin:0!important;max-width:330px;width:auto;min-height:24px;border:1px solid #edb6ad;border-radius:7px;box-shadow:none!important;animation:none!important}
 html.pos-touch .new-order-alert-icon{font-size:12px;width:20px;height:20px;padding:0;background:none}.pos-touch #newOrderAlertTitle{font-size:10px;white-space:nowrap}.pos-touch #newOrderAlertCopy{display:none}.pos-touch #newOrderAlertOpen{font-size:10px;padding:3px;color:#922017;background:transparent}.pos-touch #newOrderAlertClose{font-size:14px;background:transparent;padding:1px;width:18px;height:18px;color:#922017}
 html.pos-touch .operations-dashboard-grid>.admin-card:not(.live-order-board){grid-column:1/-1!important}.pos-touch .operations-dashboard-grid>.admin-card:not(.live-order-board) .admin-empty{min-height:70px}
 html.pos-touch .operations-dashboard-page .recent-orders-card{margin-top:0}
}
@media(min-width:760px) and (max-width:860px){html.pos-touch .dashboard-heading h1{font-size:17px!important}html.pos-touch .live-stats .stat-icon{display:none}.pos-touch .new-order-alert:not([hidden]){max-width:250px}.pos-touch #newOrderAlertTitle{max-width:155px;overflow:hidden;text-overflow:ellipsis}html.pos-touch .machine-pos-layout{font-size:0}html.pos-touch .machine-pos-layout select{font-size:12px}}
@media(max-width:759px){.dashboard-heading{display:flex;flex-wrap:wrap;gap:8px}.dashboard-heading .heading-actions{gap:4px;flex-wrap:nowrap}.dashboard-heading .heading-actions>.admin-primary,.dashboard-heading .heading-actions>.admin-secondary,.dashboard-more>summary{padding:8px;font-size:11px}}
@media(min-width:760px){
 html.pos-touch .operations-dashboard-grid{margin-top:6px!important}
 html.pos-touch .new-order-alert>a{min-height:20px!important;height:20px!important}
 html.pos-touch .new-order-alert>button{position:static!important;inset:auto!important;min-height:18px!important;flex:none}
 html.pos-touch .live-board-heading{height:34px;padding-bottom:6px!important}
 html.pos-touch .operations-dashboard-page{--live-card-height:clamp(120px,calc((100dvh - 222px)/3 - 5px),164px)}
 html.pos-touch .operations-dashboard-page>.alert-stack{display:none}
 html.pos-touch .admin-content:has(.operations-dashboard-page){width:100%;padding:7px 12px!important}
}
.captain-editor #posCategory{display:none}.compact-dashboard-notices{font-size:12px;max-width:280px;white-space:normal;color:#763316}.compact-dashboard-notices p{margin:5px 0;line-height:1.4}
@media(min-width:981px){html.pos-touch .live-order-top a{font-size:11px!important}html.pos-touch .live-customer strong{font-size:12px}html.pos-touch .live-order-items p{font-size:11px;line-height:14px}}
