/* V8.2 Mobile responsiveness: no desktop regressions, iOS Safari zoom protection */
@media (max-width: 800px) {
  html { width:100%; max-width:100%; overflow-x:clip; -webkit-text-size-adjust:100%; }
  body { width:100%; max-width:100%; overflow-x:clip; padding-bottom:calc(82px + env(safe-area-inset-bottom,0px)); }
  body *, body *::before, body *::after { box-sizing:border-box; }
  main, .container, .content, .seo-main, .hero, .site-header, .site-footer { max-width:100%; }
  img, svg, video, iframe { max-width:100%; }
  p, h1, h2, h3, h4, a, label { overflow-wrap:break-word; }
  input:not([type=checkbox]):not([type=radio]), textarea, select, #wizardBody .smb-select-trigger, .location-panel input { font-size:16px !important; max-width:100%; min-width:0; }
  input[type=date] { min-height:46px; }
  .form-grid, .form-grid .field, .field, .auth-wrap, .auth-card, .cards, .tile { min-width:0; max-width:100%; }
  .form-grid { grid-template-columns:minmax(0,1fr) !important; }
  .form-grid > *, .form-grid .full { grid-column:1/-1; min-width:0; }
  #wizardBackdrop { position:fixed; inset:0; width:100%; max-width:100%; padding:8px !important; overflow:hidden; }
  #wizardBackdrop .wizard { width:100%; max-width:100%; min-width:0; max-height:calc(100dvh - 16px); height:calc(100dvh - 16px); }
  #wizardBackdrop .wizard-body { overflow-x:hidden; overflow-y:auto; min-width:0; max-width:100%; flex:1 1 auto; -webkit-overflow-scrolling:touch; }
  #wizardBackdrop .wizard-title { font-size:clamp(23px,6vw,31px); line-height:1.2; overflow-wrap:anywhere; }
  #wizardBackdrop .wizard-description { width:100%; max-width:100%; font-size:13px; line-height:1.55; overflow-wrap:anywhere; }
  #wizardBackdrop .wizard-bottom { flex-shrink:0; width:100%; max-width:100%; display:flex; gap:10px; align-items:center; }
  #wizardBackdrop .wizard-bottom .btn { flex:1 1 0; min-width:0; max-width:100%; font-size:14px; min-height:45px; padding:10px 12px; white-space:normal; }
  .location-backdrop .location-panel, .smb-picker-dialog, .smb-accessory-modal { width:100%; max-width:min(100%,440px); }
  .mobile-cta { display:none !important; }
  .smb-bottom-nav { display:grid !important; }
  body:has(#wizardBackdrop:not([hidden])) .smb-bottom-nav { display:none !important; }
}
.smb-bottom-nav { display:none; }
@media (max-width:800px) {
 .smb-bottom-nav { position:fixed; bottom:0; left:0; right:0; z-index:55; height:calc(68px + env(safe-area-inset-bottom,0px)); padding:6px 8px calc(6px + env(safe-area-inset-bottom,0px)); grid-template-columns:repeat(4,minmax(0,1fr)); gap:4px; background:#fff; border-top:1px solid #e6e4f1; box-shadow:0 -4px 18px rgba(29,21,65,.08); }
 .smb-bottom-nav a { min-width:0; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:3px; border-radius:12px; color:#687086; text-decoration:none; font:700 11px/1.2 system-ui,-apple-system,sans-serif; }
 .smb-bottom-nav a[aria-current=page] { color:#6846ca; background:#f3eeff; }
 .smb-bottom-nav svg { width:21px; height:21px; stroke:currentColor; fill:none; stroke-width:1.9; stroke-linecap:round; stroke-linejoin:round; flex:none; }
 .smb-bottom-nav a:focus-visible { outline:3px solid #9777ee; outline-offset:-2px; }
 .seo-main, .content { min-width:0; }
 .bar-inner, .seo-header { max-width:100%; }
}
