/* Phase 45.43.4 — final mobile authority. Loaded last on purpose. */
.lfp-mobile-authority-45434 .lfp-front-wrap,
.lfp-mobile-authority-45434 .lfp-phase4516-page-chrome,
.lfp-mobile-authority-45434 .lfp-front-inner,
.lfp-mobile-authority-45434 .lfp-front-inner > *,
.lfp-mobile-authority-45434 .lfp-box,
.lfp-mobile-authority-45434 .lfp-note,
.lfp-mobile-authority-45434 .lfp-alert,
.lfp-mobile-authority-45434 .lfp-order-card,
.lfp-mobile-authority-45434 .lfp-product-card,
.lfp-mobile-authority-45434 .lfp-market-card,
.lfp-mobile-authority-45434 .lfp-store-card,
.lfp-mobile-authority-45434 form,
.lfp-mobile-authority-45434 fieldset,
.lfp-mobile-authority-45434 img,
.lfp-mobile-authority-45434 video,
.lfp-mobile-authority-45434 iframe {
  box-sizing:border-box;
  min-width:0;
  max-width:100%;
}
.lfp-mobile-authority-45434 img,.lfp-mobile-authority-45434 video{height:auto}
.lfp-mobile-authority-45434 .lfp-front-wrap,
.lfp-mobile-authority-45434 .lfp-phase4516-page-chrome{overflow-x:clip}
.lfp-mobile-authority-45434 .lfp-box *,
.lfp-mobile-authority-45434 .lfp-note *,
.lfp-mobile-authority-45434 .lfp-alert *,
.lfp-mobile-authority-45434 .lfp-product-card *,
.lfp-mobile-authority-45434 .lfp-market-card *,
.lfp-mobile-authority-45434 .lfp-store-card *{min-width:0}
.lfp-mobile-authority-45434 p,
.lfp-mobile-authority-45434 li,
.lfp-mobile-authority-45434 td,
.lfp-mobile-authority-45434 th,
.lfp-mobile-authority-45434 label,
.lfp-mobile-authority-45434 a,
.lfp-mobile-authority-45434 strong,
.lfp-mobile-authority-45434 span{overflow-wrap:anywhere;word-break:normal}

/* Tablets: stop rigid multi-column panels from fighting for width. */
@media (max-width:900px){
  .lfp-mobile-authority-45434 .lfp-front-inner{width:calc(100% - 24px)!important;max-width:100%!important;margin-inline:auto!important}
  .lfp-mobile-authority-45434 .lfp-phase4516-header-inner,
  .lfp-mobile-authority-45434 .lfp451911-status-head,
  .lfp-mobile-authority-45434 .lfp4530-manager-head{flex-wrap:wrap!important}
  .lfp-mobile-authority-45434 .lfp-catalogue-layout,
  .lfp-mobile-authority-45434 .lfp-preview-grid,
  .lfp-mobile-authority-45434 .lfp-split,
  .lfp-mobile-authority-45434 .lfp-two-col,
  .lfp-mobile-authority-45434 .lfp-two-column,
  .lfp-mobile-authority-45434 .lfp-checkout-grid,
  .lfp-mobile-authority-45434 .lfp-cart-grid{grid-template-columns:1fr!important}
  .lfp-mobile-authority-45434 .lfp-catalogue-side,
  .lfp-mobile-authority-45434 .lfp-side-cart,
  .lfp-mobile-authority-45434 .lfp-sidebar{position:static!important;inset:auto!important;width:100%!important}
}

/* Phones: one readable flow, no side-by-side product/store cards. */
@media (max-width:700px){
  html{overflow-x:hidden}
  body.lfp-mobile-authority-45434{overflow-x:hidden;max-width:100vw}
  .lfp-mobile-authority-45434 .lfp-phase4516-page-chrome{padding-inline:0!important;margin-inline:0!important;width:100%!important;max-width:100%!important}
  .lfp-mobile-authority-45434 .lfp-front-inner{width:calc(100% - 20px)!important;max-width:none!important;padding-top:10px!important;margin-inline:10px!important}

  .lfp-mobile-authority-45434 .lfp-phase4516-header{border-radius:14px!important;margin:0 0 12px!important}
  .lfp-mobile-authority-45434 .lfp-phase4516-header-inner{padding:14px!important;gap:12px!important}
  .lfp-mobile-authority-45434 .lfp-phase4516-brand{display:grid!important;grid-template-columns:auto minmax(0,1fr)!important;align-items:center!important;width:100%!important;gap:10px!important}
  .lfp-mobile-authority-45434 .lfp-phase4516-logo{width:52px!important;height:52px!important;min-width:52px!important;flex-basis:52px!important;border-radius:13px!important}
  .lfp-mobile-authority-45434 .lfp-phase4516-brand-copy strong{font-size:clamp(20px,7vw,26px)!important;line-height:1.08!important}
  .lfp-mobile-authority-45434 .lfp-phase4516-brand-copy span{font-size:12px!important;line-height:1.35!important}
  .lfp-mobile-authority-45434 .lfp-phase4516-nav{display:grid!important;grid-template-columns:1fr 1fr!important;width:100%!important;gap:7px!important}
  .lfp-mobile-authority-45434 .lfp-phase4516-nav a{display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;min-width:0!important;min-height:44px!important;margin:0!important;padding:9px 8px!important;font-size:13px!important;line-height:1.2!important;text-align:center!important;white-space:normal!important}

  .lfp-mobile-authority-45434 h1{font-size:clamp(26px,9vw,36px)!important;line-height:1.08!important}
  .lfp-mobile-authority-45434 h2{font-size:clamp(21px,7vw,29px)!important;line-height:1.12!important}
  .lfp-mobile-authority-45434 h3{font-size:clamp(18px,6vw,23px)!important;line-height:1.18!important}
  .lfp-mobile-authority-45434 p,.lfp-mobile-authority-45434 li,.lfp-mobile-authority-45434 label{font-size:15px!important;line-height:1.55!important}

  .lfp-mobile-authority-45434 .lfp-box,
  .lfp-mobile-authority-45434 .lfp-note,
  .lfp-mobile-authority-45434 .lfp-alert,
  .lfp-mobile-authority-45434 .lfp-order-card,
  .lfp-mobile-authority-45434 .lfp-product-card,
  .lfp-mobile-authority-45434 .lfp-market-card,
  .lfp-mobile-authority-45434 .lfp-store-card,
  .lfp-mobile-authority-45434 .lfp451911-choice,
  .lfp-mobile-authority-45434 .lfp4530-mobile-upload,
  .lfp-mobile-authority-45434 .lfp4530-product-card{width:100%!important;max-width:100%!important;margin-left:0!important;margin-right:0!important;padding:14px!important;border-radius:15px!important}

  /* Historical grids collapse to one card per row. */
  .lfp-mobile-authority-45434 .lfp-grid,
  .lfp-mobile-authority-45434 .lfp-grid-cards,
  .lfp-mobile-authority-45434 .lfp-link-grid,
  .lfp-mobile-authority-45434 .lfp-market-grid,
  .lfp-mobile-authority-45434 .lfp-store-grid,
  .lfp-mobile-authority-45434 .lfp-catalogue-live-grid,
  .lfp-mobile-authority-45434 .lfp-subscription-tier-grid,
  .lfp-mobile-authority-45434 .lfp-phase403-mini-grid,
  .lfp-mobile-authority-45434 .lfp-phase403-role-grid,
  .lfp-mobile-authority-45434 .lfp-phase417-dashboard-cards,
  .lfp-mobile-authority-45434 .lfp451911-choice-grid,
  .lfp-mobile-authority-45434 .lfp45198-client-progress ul,
  .lfp-mobile-authority-45434 .lfp4530-product-list,
  .lfp-mobile-authority-45434 .lfp4530-product-form,
  .lfp-mobile-authority-45434 .lfp4530-mini-grid,
  .lfp-mobile-authority-45434 .lfp4530-kpis,
  .lfp-mobile-authority-45434 .lfp-tier-feature-list,
  .lfp-mobile-authority-45434 .lfp-trade-strip,
  .lfp-mobile-authority-45434 .lfp-product-spec-grid{grid-template-columns:minmax(0,1fr)!important;gap:10px!important}

  body.lfp-phase45192-dense-marketplace.lfp-mobile-authority-45434 .lfp-market-grid,
  body.lfp-phase45192-dense-marketplace.lfp-mobile-authority-45434 .lfp-store-grid,
  body.lfp-phase45192-dense-catalogue.lfp-mobile-authority-45434 .lfp-catalogue-live-grid{grid-template-columns:minmax(0,1fr)!important;gap:12px!important}

  .lfp-mobile-authority-45434 .lfp-product-card .lfp-product-media,
  .lfp-mobile-authority-45434 .lfp-market-thumb{width:100%!important;height:auto!important;min-height:0!important;aspect-ratio:4/3!important;object-fit:cover!important}
  .lfp-mobile-authority-45434 .lfp-product-card img,
  .lfp-mobile-authority-45434 .lfp-market-card img,
  .lfp-mobile-authority-45434 .lfp-store-card img{max-width:100%!important}

  /* Forms and controls must stay inside the card. */
  .lfp-mobile-authority-45434 input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=submit]):not([type=button]),
  .lfp-mobile-authority-45434 select,
  .lfp-mobile-authority-45434 textarea{display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;min-height:44px!important;box-sizing:border-box!important}
  .lfp-mobile-authority-45434 textarea{min-height:96px!important}
  .lfp-mobile-authority-45434 input[type=file]{max-width:100%!important;white-space:normal!important}

  .lfp-mobile-authority-45434 .lfp-actions,
  .lfp-mobile-authority-45434 .lfp-side-cart-actions,
  .lfp-mobile-authority-45434 .lfp-phase403-actions,
  .lfp-mobile-authority-45434 .lfp-filter-actions,
  .lfp-mobile-authority-45434 .lfp-market-card-foot,
  .lfp-mobile-authority-45434 .lfp4530-actions,
  .lfp-mobile-authority-45434 .lfp4527-prompt-actions{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:8px!important;width:100%!important}
  .lfp-mobile-authority-45434 .lfp-actions > *,
  .lfp-mobile-authority-45434 .lfp-side-cart-actions > *,
  .lfp-mobile-authority-45434 .lfp-phase403-actions > *,
  .lfp-mobile-authority-45434 .lfp-filter-actions > *,
  .lfp-mobile-authority-45434 .lfp-market-card-foot > *,
  .lfp-mobile-authority-45434 .lfp4530-actions > *{width:100%!important;max-width:100%!important;margin:0!important;white-space:normal!important}
  .lfp-mobile-authority-45434 .lfp-btn,
  .lfp-mobile-authority-45434 .lfp-btn-alt,
  .lfp-mobile-authority-45434 .lfp-btn-soft,
  .lfp-mobile-authority-45434 button:not(.lfp-preview-close):not(.lfp4527-prompt-close):not(.lfp4530-page-nudge>button),
  .lfp-mobile-authority-45434 input[type=submit]{min-height:44px;max-width:100%;white-space:normal;overflow-wrap:anywhere}

  /* No card/table is allowed to push the page wider than the viewport. */
  .lfp-mobile-authority-45434 .lfp-table-wrap,
  .lfp-mobile-authority-45434 .table-responsive,
  .lfp-mobile-authority-45434 .wp-block-table{display:block!important;width:100%!important;max-width:100%!important;overflow-x:auto!important;-webkit-overflow-scrolling:touch!important}
  .lfp-mobile-authority-45434 table:not(.lfp-4517-mobile-card-table){max-width:none!important}
  .lfp-mobile-authority-45434 .lfp-4517-mobile-card-table{min-width:0!important;width:100%!important}
  .lfp-mobile-authority-45434 .lfp-4517-mobile-card-table td{grid-template-columns:minmax(88px,34%) minmax(0,1fr)!important;gap:8px!important}

  /* Product/store manager rows are readable rather than squeezed. */
  .lfp-mobile-authority-45434 .lfp4530-product-card{grid-template-columns:64px minmax(0,1fr)!important;gap:10px!important}
  .lfp-mobile-authority-45434 .lfp4530-product-card>img{width:64px!important;height:64px!important}
  .lfp-mobile-authority-45434 .lfp4530-display-settings{display:grid!important;grid-template-columns:1fr!important;gap:8px!important}
  .lfp-mobile-authority-45434 .lfp4530-store-nav{display:grid!important;grid-template-columns:1fr 1fr!important;width:100%!important}
  .lfp-mobile-authority-45434 .lfp4530-store-nav a{text-align:center!important;white-space:normal!important}

  /* Modal previews become a phone-safe sheet. */
  .lfp-mobile-authority-45434 .lfp-preview-modal{padding:8px!important;align-items:flex-end!important}
  .lfp-mobile-authority-45434 .lfp-preview-dialog{width:100%!important;max-width:100%!important;max-height:calc(100dvh - 16px)!important;border-radius:18px 18px 8px 8px!important;padding:12px!important}
  .lfp-mobile-authority-45434 .lfp-preview-grid{grid-template-columns:1fr!important;gap:10px!important}
  .lfp-mobile-authority-45434 .lfp-preview-media{height:auto!important;max-height:42dvh!important;aspect-ratio:4/3!important}

  /* Lethabo prompts remain useful without covering the whole screen. */
  .lfp-mobile-authority-45434 .lfp4527-prompt,
  .lfp-mobile-authority-45434 .lfp4530-page-nudge{left:10px!important;right:10px!important;bottom:70px!important;width:auto!important;max-width:none!important;max-height:45dvh!important;overflow:auto!important;padding:12px!important;border-radius:16px!important}
}

@media (max-width:430px){
  .lfp-mobile-authority-45434 .lfp-front-inner{width:calc(100% - 16px)!important;margin-inline:8px!important}
  .lfp-mobile-authority-45434 .lfp-phase4516-nav,
  .lfp-mobile-authority-45434 .lfp4530-store-nav{grid-template-columns:1fr!important}
  .lfp-mobile-authority-45434 .lfp-box,
  .lfp-mobile-authority-45434 .lfp-note,
  .lfp-mobile-authority-45434 .lfp-alert,
  .lfp-mobile-authority-45434 .lfp-order-card,
  .lfp-mobile-authority-45434 .lfp-product-card,
  .lfp-mobile-authority-45434 .lfp-market-card,
  .lfp-mobile-authority-45434 .lfp-store-card{padding:12px!important}
  .lfp-mobile-authority-45434 .lfp4530-product-card{grid-template-columns:1fr!important}
  .lfp-mobile-authority-45434 .lfp4530-product-card>img{width:100%!important;height:auto!important;aspect-ratio:16/9!important}
  .lfp-mobile-authority-45434 .lfp-4517-mobile-card-table td{display:block!important;text-align:left!important}
  .lfp-mobile-authority-45434 .lfp-4517-mobile-card-table td::before{display:block!important;margin-bottom:3px!important}
}

@media (prefers-reduced-motion:reduce){
  .lfp-mobile-authority-45434 *{scroll-behavior:auto!important}
}
