/* All new styling is phone-only. Management pages never load this stylesheet. */
@media (max-width:767px) {
  html.cmui-mobile { --cmui-red:#c73742; --cmui-ink:#26282b; --cmui-muted:#7e838c; --cmui-line:#ebedf0; }
  html.cmui-mobile body { color:var(--cmui-ink); background:#f7f8fa; -webkit-text-size-adjust:100%; font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",Arial,sans-serif; }
  html.cmui-mobile .cmui-screen-title { margin:0; padding:15px 0; font-size:20px; line-height:1.4; font-weight:650; text-align:center; }
  html.cmui-mobile .cmui-section-heading { margin:0 0 6px; font-size:17px; font-weight:650; line-height:1.5; }
  html.cmui-mobile .cmui-text-action { border:0; background:transparent; color:var(--cmui-red); font-size:13px; padding:10px 5px; min-height:44px; white-space:nowrap; cursor:pointer; }
  html.cmui-stage-form .top-nav, html.cmui-stage-meal .top-nav { display:none!important; }
  html.cmui-mobile #delivery-static-form { margin:0 auto!important; padding:0 12px 24px; max-width:600px; }
  html.cmui-mobile #delivery-static-form > .bg-white { padding:0!important; background:transparent!important; box-shadow:none!important; border-radius:0!important; }
  html.cmui-mobile #delivery-static-form .meal-time-notice { margin:0 0 14px!important; padding:10px 8px; gap:5px 10px; border:1px solid var(--cmui-line); border-radius:10px; background:#fff; box-shadow:none; font-size:12px; color:#555; }
  html.cmui-mobile #delivery-static-form .meal-time-slot { gap:4px; font-size:12px; white-space:nowrap; }
  html.cmui-mobile #delivery-static-form .meal-time-notice strong { background:#f9eeee; color:var(--cmui-red); padding:3px 7px; font-size:11px; }
  html.cmui-mobile .cmui-form-card { background:#fff; border:1px solid var(--cmui-line); border-radius:12px; padding:14px; margin-bottom:12px; }
  html.cmui-mobile #delivery-static-form .delivery-form-row { min-width:0; padding:13px 0; font-size:14px; gap:4px; border-color:var(--cmui-line); }
  html.cmui-mobile #delivery-static-form .delivery-form-label { width:68px; font-size:14px; color:#34373d; }
  html.cmui-mobile #delivery-static-form .delivery-form-content { min-width:0; }
  html.cmui-mobile #delivery-static-form .delivery-input { border:1px solid #dde1e7!important; border-radius:7px; background:#fff!important; min-height:44px; padding:9px 10px!important; font-size:16px; line-height:1.4; min-width:0; }
  html.cmui-mobile #delivery-static-form .delivery-input::placeholder { color:#969ba5; font-size:14px; }
  html.cmui-mobile #delivery-static-form .gender-btn { min-height:38px; padding:8px 16px; font-size:14px; margin-right:8px; background:#fff; border-radius:6px; }
  html.cmui-mobile #delivery-static-form .gender-btn.active { color:var(--cmui-red); border-color:var(--cmui-red); background:#fcf2f3; }
  html.cmui-mobile #static-poi-display { font-size:14px; overflow-wrap:anywhere; line-height:1.55; min-width:0; }
  html.cmui-mobile #static-poi-display span { font-size:14px!important; }
  html.cmui-mobile #delivery-static-form .address-search-help { padding:4px 0 12px 72px; justify-content:flex-start; }
  html.cmui-mobile #delivery-static-form .address-search-help-btn { padding:6px 0; min-height:38px; background:transparent; border-radius:0; font-size:12px; color:var(--cmui-red); }
  html.cmui-mobile #delivery-static-form .cmui-address-tags, html.cmui-mobile #custom-label-row { display:none!important; }
  html.cmui-mobile #delivery-static-form .delivery-booking-hint { font-size:12px; margin:4px 0 0 72px; color:var(--cmui-muted); }
  html.cmui-mobile #booking-time-text { color:var(--cmui-red)!important; font-size:15px; overflow-wrap:anywhere; }
  html.cmui-mobile .cmui-form-reminder { color:var(--cmui-muted); font-size:12px; line-height:1.5; margin:12px 0; }
  html.cmui-mobile #btn-static-save-address, html.cmui-mobile #btn-save-address { min-height:46px; font-size:16px!important; padding:11px!important; border-radius:8px!important; background:var(--cmui-red)!important; color:#fff!important; box-shadow:none!important; }
  html.cmui-mobile .cmui-invalid { flex-wrap:wrap; }
  html.cmui-mobile .cmui-invalid .delivery-input, html.cmui-mobile input[aria-invalid="true"] { border-color:var(--cmui-red)!important; }
  html.cmui-mobile .cmui-field-error { color:var(--cmui-red); font-size:12px; line-height:1.5; flex-basis:100%; margin:5px 0 0 72px; overflow-wrap:anywhere; }
  html.cmui-mobile #addressInputDynamic .cmui-field-error { margin-left:0; }
  html.cmui-mobile .cmui-invalid #static-poi-display { color:var(--cmui-red)!important; }
  html.cmui-mobile .cmui-meal { background:#f7f8fa!important; padding:0 10px 16px!important; max-width:660px; margin:auto; }
  html.cmui-mobile .cmui-meal-header { padding-bottom:10px; }
  html.cmui-mobile .cmui-store-line { display:flex; justify-content:space-between; align-items:center; gap:12px; padding:9px 12px; background:#fff; border:1px solid var(--cmui-line); border-radius:10px; }
  html.cmui-mobile .cmui-store-name { min-width:0; font-size:15px; overflow-wrap:anywhere; }
  html.cmui-mobile .stock-help-notice { border:1px solid var(--cmui-line); border-radius:10px; box-shadow:none; margin:0 0 12px; background:#fff; }
  html.cmui-mobile .stock-help-content { padding:10px 12px; }
  html.cmui-mobile .stock-help-heading { font-size:14px; }
  html.cmui-mobile .stock-help-heading strong { font-size:14px; }
  html.cmui-mobile .stock-help-description { font-size:12px; margin:5px 0 3px; line-height:1.5; }
  html.cmui-mobile .stock-help-footnote { font-size:11px; line-height:1.5; margin:0; }
  html.cmui-mobile .stock-help-actions { background:#fafafa; }
  html.cmui-mobile .stock-help-action { min-height:44px; padding:8px; font-size:13px; color:var(--cmui-red); background:transparent; }
  html.cmui-mobile .delivery-parts-nav { border:1px solid var(--cmui-line); border-radius:10px; box-shadow:none!important; margin-bottom:12px; padding:12px!important; }
  html.cmui-mobile .delivery-parts-heading { display:flex; align-items:center; gap:7px; flex-wrap:wrap; }
  html.cmui-mobile .delivery-parts-heading strong { font-size:16px; }
  html.cmui-mobile .delivery-parts-heading p { font-size:12px; margin:4px 0 0; color:var(--cmui-muted); }
  html.cmui-mobile .cmui-progress-count { color:var(--cmui-muted); font-size:12px; margin-left:auto; }
  html.cmui-mobile .delivery-parts-buttons { display:flex; gap:8px; overflow-x:auto; padding-top:10px; }
  html.cmui-mobile .delivery-tab-btn { flex:1 0 90px!important; min-height:56px; border-radius:8px!important; margin:0!important; padding:7px 9px!important; font-size:15px; background:#fff!important; color:var(--cmui-ink)!important; border-color:#dfe2e7!important; box-shadow:none!important; }
  html.cmui-mobile .delivery-tab-btn.btn-primary { color:var(--cmui-red)!important; border-color:var(--cmui-red)!important; background:#fcf4f4!important; }
  html.cmui-mobile .cmui-tab-status { display:block; font-size:12px; font-weight:400; line-height:1.5; margin-top:3px; white-space:normal; }
  html.cmui-mobile .cmui-meal .card { border-color:var(--cmui-line); border-radius:10px; box-shadow:none!important; }
  html.cmui-mobile .cmui-meal .card-header { background:#fff!important; }
  html.cmui-mobile .cmui-meal .card-header .fw-bold { font-size:15px!important; }
  html.cmui-mobile .cmui-meal [data-round-id] { scroll-margin-top:150px; }
  html.cmui-mobile .cmui-food-col { width:100%!important; flex:0 0 100%!important; max-width:100%!important; }
  html.cmui-mobile .cmui-food-card { display:grid; grid-template-columns:80px minmax(0,1fr); align-items:center; padding:9px; text-align:left!important; }
  html.cmui-mobile .cmui-food-card > .p-1 { padding:0!important; }
  html.cmui-mobile .cmui-food-card img, html.cmui-mobile .cmui-food-card .recipe-img-fallback { width:76px!important; height:76px!important; aspect-ratio:1; object-fit:cover; border-radius:8px!important; }
  html.cmui-mobile .cmui-food-card img[style*="display: none"], html.cmui-mobile .cmui-food-card img[style*="display:none"] { display:none!important; }
  html.cmui-mobile .cmui-food-card > .card-body { min-width:0; padding:0 0 0 10px!important; gap:8px; }
  html.cmui-mobile .cmui-food-card > .card-body > .fw-bold { font-size:14px!important; line-height:1.5!important; text-align:left; }
  html.cmui-mobile .cmui-food-card .qty-control { justify-content:flex-end!important; }
  html.cmui-mobile .cmui-meal .qty-control { gap:4px; flex-wrap:nowrap; }
  html.cmui-mobile .cmui-meal .qty-control button { min-width:38px; min-height:42px; padding:6px!important; border-radius:7px!important; color:var(--cmui-red); }
  html.cmui-mobile .cmui-meal .qty-control button.btn-primary { background:var(--cmui-red); border-color:var(--cmui-red); color:#fff; }
  html.cmui-mobile .cmui-meal .qty-control button.btn-outline-primary { border-color:#e1acb1; background:#fff; }
  html.cmui-mobile .cmui-meal .qty-control .qty-value { font-size:16px; min-width:23px; text-align:center; }
  html.cmui-mobile .cmui-pane-progress { display:flex; align-items:center; justify-content:space-between; gap:8px; padding:10px 12px; margin:10px 0; border:1px solid var(--cmui-line); border-radius:9px; background:#fff; color:var(--cmui-red); font-size:13px; line-height:1.6; }
  html.cmui-mobile .cmui-pane-progress-text { min-width:0; overflow-wrap:anywhere; }
  html.cmui-mobile .cmui-complete .cmui-pane-progress-text { color:var(--cmui-red); }
  html.cmui-mobile #delivery-global-footer.cmui-checkout-footer { flex-wrap:wrap; gap:7px 10px; padding:10px 12px calc(10px + env(safe-area-inset-bottom))!important; box-shadow:0 -2px 8px #00000006!important; }
  html.cmui-mobile .cmui-checkout-notice { flex-basis:100%; font-size:12px; line-height:1.5; color:#727780; text-align:center; }
  html.cmui-mobile .cmui-checkout-notice[hidden] { display:none!important; }
  html.cmui-mobile #delivery-global-footer > div.d-flex { flex:1; min-width:0; }
  html.cmui-mobile #global-total-price { font-size:16px!important; line-height:1.4; }
  html.cmui-mobile .cmui-view-selected { padding:2px 0; min-height:30px; text-align:left; }
  html.cmui-mobile #global-next-btn, html.cmui-mobile #delivery-checkout-btn, html.cmui-mobile .cmui-meal button[onclick="submitSelection()"] { background:var(--cmui-red)!important; color:#fff!important; border:0!important; min-height:46px; font-size:16px; letter-spacing:0!important; padding:10px 18px!important; border-radius:24px!important; box-shadow:none!important; white-space:normal; }
  html.cmui-mobile #global-next-btn:disabled, html.cmui-mobile .cmui-meal button[onclick="submitSelection()"]:disabled { background:#e4e6e9!important; color:#91959d!important; opacity:1!important; }
  html.cmui-mobile .cmui-selected-dialog { width:calc(100% - 28px); max-width:470px; max-height:78vh; overflow:auto; border:1px solid var(--cmui-line); border-radius:12px; padding:18px; color:var(--cmui-ink); }
  html.cmui-mobile .cmui-selected-dialog::backdrop { background:#0006; }
  html.cmui-mobile .cmui-selected-title { font-size:14px; margin:15px 0 4px; }
  html.cmui-mobile .cmui-selected-row { display:flex; justify-content:space-between; gap:12px; padding:9px 0; border-bottom:1px solid var(--cmui-line); font-size:14px; }
  html.cmui-mobile .cmui-muted { color:var(--cmui-muted); font-size:13px; }
  html.cmui-mobile .cmui-dialog-close { width:100%; min-height:44px; margin-top:16px; border:1px solid #dce0e6; border-radius:7px; background:#fff; color:var(--cmui-ink); }
  html.cmui-mobile #orderStatusContainer.customer-track-v2 { background:#f7f8fa!important; }
  html.cmui-mobile #orderStatusContainer .customer-track-nav { padding:12px!important; }
  html.cmui-mobile #orderStatusContainer .customer-track-content { max-width:600px; padding:0 12px; margin-top:12px!important; }
  html.cmui-mobile #orderStatusContainer .customer-track-sheet { padding:16px 14px!important; }
  html.cmui-mobile #orderStatusContainer #track-pickup-code-container { text-align:left!important; margin-bottom:12px!important; }
  html.cmui-mobile #orderStatusContainer #track-pickup-code { font-size:38px!important; line-height:1.2; color:var(--cmui-red)!important; }
  html.cmui-mobile #orderStatusContainer #track-status-name { font-size:18px!important; line-height:1.5; }
  html.cmui-mobile #orderStatusContainer #track-customer-time { font-size:15px; line-height:1.5; margin:8px 0 13px; }
  html.cmui-mobile #orderStatusContainer #track-time-value { color:#555!important; }
  html.cmui-mobile #orderStatusContainer .customer-order-progress li { font-size:12px; gap:6px; }
  html.cmui-mobile #orderStatusContainer .customer-step-dot { width:20px; height:20px; }
  html.cmui-mobile #orderStatusContainer .customer-order-progress li:not(:last-child)::after { top:9px; }
  html.cmui-mobile #orderStatusContainer .is-current .customer-step-dot, html.cmui-mobile #orderStatusContainer .is-complete .customer-step-dot { border-color:var(--cmui-red); }
  html.cmui-mobile #orderStatusContainer .is-current .customer-step-dot::after, html.cmui-mobile #orderStatusContainer .is-complete .customer-step-dot, html.cmui-mobile #orderStatusContainer .is-complete:not(:last-child)::after { background:var(--cmui-red); }
  html.cmui-mobile #orderStatusContainer .is-current .customer-step-label { color:var(--cmui-red); }
  html.cmui-mobile #orderStatusContainer #track-delivery-container { padding-top:13px!important; margin-top:13px!important; }
  html.cmui-mobile #orderStatusContainer .customer-track-order-details { padding-top:13px!important; }
  html.cmui-mobile #orderStatusContainer #track-store-phone-row { padding:10px!important; background:#fafafa!important; }
  html.cmui-mobile #orderStatusContainer #track-store-phone { color:#444!important; font-size:15px!important; }
  html.cmui-mobile #orderStatusContainer .customer-track-actions { margin-top:14px; gap:9px; }
  html.cmui-mobile #orderStatusContainer .customer-track-actions button { min-height:46px; font-size:15px; color:#303237!important; border-color:#d1d5db!important; }
  html.cmui-mobile #orderStatusContainer #btn-customer-status-contact { background:#f0f1f3; }
  html.cmui-mobile #orderStatusContainer #btn-customer-delivery-modify { color:#333!important; border-color:#dce0e6!important; font-size:14px!important; min-height:44px; }
}
@media (max-width:350px) {
  html.cmui-mobile #delivery-static-form { padding-left:8px; padding-right:8px; }
  html.cmui-mobile .cmui-form-card { padding:11px; }
  html.cmui-mobile #delivery-static-form .delivery-form-label { width:59px; font-size:13px; }
  html.cmui-mobile #delivery-static-form .delivery-booking-hint, html.cmui-mobile .cmui-field-error { margin-left:63px; }
  html.cmui-mobile #delivery-static-form .address-search-help { padding-left:63px; }
  html.cmui-mobile #global-next-btn { padding:10px 13px!important; font-size:15px; }
}
