/* ALLB global responsive shell v1.0.1
   Central mobile overlay for admin, customer, sales and character marketplace surfaces.
   Desktop layout is intentionally left unchanged. */
html,body{max-width:100%;overflow-x:clip}img,svg,video,canvas,iframe{max-width:100%}pre{max-width:100%;overflow:auto;-webkit-overflow-scrolling:touch}.allb-mobile-shell-toggle,.allb-mobile-shell-backdrop{display:none}.allb-mobile-shell-rail{display:none}.allb-mobile-table-scroll{width:100%;max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch;border-radius:inherit}.allb-mobile-table-scroll>table{margin-top:0;min-width:680px}.allb-mobile-table-scroll:focus{outline:3px solid rgba(37,99,235,.22);outline-offset:2px}

/* Prevent rigid page fragments from escaping their parent shell. */
.admin-container,.cw-content,.avs-content,.site-container,.pub-char-shell,.card,.cw-card,.stat-card,.data-card,.price-card-pro,.feature-card{min-width:0;max-width:100%}.admin-container *,.cw-content *,.avs-content *,.site-container *{overflow-wrap:anywhere}.admin-container table,.cw-content table,.avs-content table{overflow-wrap:normal}.admin-container input,.admin-container select,.admin-container textarea,.cw-content input,.cw-content select,.cw-content textarea,.avs-content input,.avs-content select,.avs-content textarea{max-width:100%}

@media(max-width:980px){
  /* First-paint guard: sidebars are off-canvas before deferred JS adds its
     enhancement class. This prevents the customer menu flashing above every
     destination page during navigation. */
  body:not(.login-main) .admin-sidebar,
  body:not(.login-main) .avs-sidebar{
    position:fixed!important;left:0!important;right:auto!important;top:var(--allb-mobile-topbar-height,0)!important;bottom:0!important;width:min(86vw,320px)!important;height:calc(100dvh - var(--allb-mobile-topbar-height,0px))!important;max-height:calc(100dvh - var(--allb-mobile-topbar-height,0px))!important;z-index:1200!important;overflow-y:auto!important;overflow-x:hidden!important;transform:translateX(-105%)!important;visibility:hidden!important;pointer-events:none!important;transition:transform .2s ease,visibility 0s linear .2s!important;box-shadow:18px 0 48px rgba(2,8,23,.32)!important;background:#071426!important;overscroll-behavior:contain!important
  }
  [dir="rtl"] body:not(.login-main) .admin-sidebar,
  [dir="rtl"] body:not(.login-main) .avs-sidebar,
  body[dir="rtl"]:not(.login-main) .admin-sidebar,
  body[dir="rtl"]:not(.login-main) .avs-sidebar{left:auto!important;right:0!important;transform:translateX(105%)!important;box-shadow:-18px 0 48px rgba(2,8,23,.32)!important}
  body.allb-shell-open:not(.login-main) .admin-sidebar,
  body.allb-shell-open:not(.login-main) .avs-sidebar{transform:translateX(0)!important;visibility:visible!important;pointer-events:auto!important;transition-delay:0s!important}
  body:not(.login-main) .admin-main,
  body:not(.login-main) .cw-main,
  body:not(.login-main) .avs-main{margin-left:0!important;margin-right:0!important;width:100%!important;min-width:0!important}
  body.allb-has-mobile-shell{--allb-mobile-sidebar-width:min(86vw,320px);--allb-mobile-topbar-height:calc(64px + env(safe-area-inset-top,0px));--allb-mobile-toggle-size:46px;--allb-mobile-toggle-offset:10px}
  body.allb-has-mobile-shell .admin-main,body.allb-has-mobile-shell .cw-main,body.allb-has-mobile-shell .avs-main{margin-left:0!important;margin-right:0!important;padding-left:0!important;padding-right:0!important;width:100%!important;min-width:0!important}
  body.allb-has-mobile-shell .avs-app{display:block!important;grid-template-columns:1fr!important;padding-left:0!important;padding-right:0!important;min-width:0!important}
  body.allb-has-mobile-shell .admin-sidebar,
  body.allb-has-mobile-shell .avs-sidebar{
    position:fixed!important;left:0!important;right:auto!important;top:var(--allb-mobile-topbar-height,0)!important;bottom:0!important;width:var(--allb-mobile-sidebar-width)!important;height:calc(100dvh - var(--allb-mobile-topbar-height,0px))!important;max-height:calc(100dvh - var(--allb-mobile-topbar-height,0px))!important;z-index:1200!important;overflow-y:auto!important;overflow-x:hidden!important;border-right:1px solid rgba(148,163,184,.22)!important;border-bottom:0!important;padding:18px 14px!important;transform:translateX(-105%)!important;visibility:hidden!important;pointer-events:none!important;transition:transform .2s ease,visibility 0s linear .2s!important;box-shadow:18px 0 48px rgba(2,8,23,.32)!important;background:#071426!important;overscroll-behavior:contain!important
  }
  [dir="rtl"] body.allb-has-mobile-shell .admin-sidebar,[dir="rtl"] body.allb-has-mobile-shell .avs-sidebar,body.allb-has-mobile-shell[dir="rtl"] .admin-sidebar,body.allb-has-mobile-shell[dir="rtl"] .avs-sidebar{left:auto!important;right:0!important;transform:translateX(105%)!important;border-right:0!important;border-left:1px solid rgba(148,163,184,.22)!important;box-shadow:-18px 0 48px rgba(2,8,23,.32)!important}
  body.allb-has-mobile-shell.allb-shell-open .admin-sidebar,body.allb-has-mobile-shell.allb-shell-open .avs-sidebar{transform:translateX(0)!important;visibility:visible!important;pointer-events:auto!important;transition-delay:0s!important}
  body.allb-has-mobile-shell .avs-sidebar .avs-nav,body.allb-has-mobile-shell .avs-sidebar .allb-customer-workspace-nav{display:flex!important;flex-direction:column!important;overflow-y:visible!important;overflow-x:hidden!important;gap:5px!important}
  body.allb-has-mobile-shell .avs-sidebar .avs-nav-item,body.allb-has-mobile-shell .avs-sidebar .allb-customer-workspace-nav>.avs-nav-item{width:100%!important;min-width:0!important;white-space:normal!important;flex:0 0 auto!important}
  body.allb-has-mobile-shell .avs-sidebar .avs-sidebar-foot,body.allb-has-mobile-shell .avs-sidebar .avs-nav-title{display:block!important}
  .allb-mobile-shell-toggle{display:inline-flex!important;position:fixed!important;top:calc(var(--allb-mobile-toggle-offset,10px) + env(safe-area-inset-top,0px))!important;left:max(var(--allb-mobile-toggle-offset,10px),env(safe-area-inset-left,0px))!important;right:auto!important;bottom:auto!important;align-items:center!important;justify-content:center!important;gap:0!important;width:var(--allb-mobile-toggle-size,46px)!important;min-width:var(--allb-mobile-toggle-size,46px)!important;height:var(--allb-mobile-toggle-size,46px)!important;min-height:var(--allb-mobile-toggle-size,46px)!important;padding:0!important;border:1px solid rgba(100,116,139,.26)!important;border-radius:14px!important;background:#10243b!important;color:#eef6ff!important;font:900 13px/1 Inter,Arial,sans-serif!important;cursor:pointer!important;box-shadow:0 10px 28px rgba(1,8,20,.34)!important;flex:0 0 auto!important;z-index:1265!important}
  .avs-body .allb-mobile-shell-toggle,.cw-main .allb-mobile-shell-toggle,.admin-body .allb-mobile-shell-toggle{background:#10243b!important;color:#eef6ff!important;border-color:rgba(148,163,184,.26)!important}
  [dir="rtl"] .allb-mobile-shell-toggle,body[dir="rtl"] .allb-mobile-shell-toggle{left:auto!important;right:max(var(--allb-mobile-toggle-offset,10px),env(safe-area-inset-right,0px))!important}
  .allb-mobile-shell-toggle svg{width:22px!important;height:22px!important;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round}
  .allb-mobile-shell-rail{display:block!important;position:fixed!important;top:0!important;left:0!important;right:0!important;height:var(--allb-mobile-topbar-height)!important;z-index:1210!important;background:rgba(5,18,34,.965)!important;border-bottom:1px solid rgba(137,164,198,.18)!important;box-shadow:0 10px 28px rgba(1,8,20,.24)!important;backdrop-filter:blur(14px)!important;-webkit-backdrop-filter:blur(14px)!important;pointer-events:none!important}
  body.allb-has-mobile-shell .allb-shell-sidebar-target{position:fixed!important;top:var(--allb-mobile-topbar-height,64px)!important;bottom:0!important;height:calc(100dvh - var(--allb-mobile-topbar-height,64px))!important;max-height:calc(100dvh - var(--allb-mobile-topbar-height,64px))!important;z-index:1200!important;overflow-y:auto!important;overflow-x:hidden!important;transform:translateX(-105%)!important;visibility:hidden!important;pointer-events:none!important;transition:transform .2s ease,visibility 0s linear .2s!important;background:#071426!important;overscroll-behavior:contain!important}
  [dir="rtl"] body.allb-has-mobile-shell .allb-shell-sidebar-target,body.allb-has-mobile-shell[dir="rtl"] .allb-shell-sidebar-target{left:auto!important;right:0!important;transform:translateX(105%)!important}
  body.allb-has-mobile-shell.allb-shell-open .allb-shell-sidebar-target{transform:translateX(0)!important;visibility:visible!important;pointer-events:auto!important;transition-delay:0s!important}
  body.allb-has-mobile-shell .allb-shell-sidebar-target .avs-sidebar-toggle{display:none!important}
  body.allb-has-mobile-shell .allb-shell-sidebar-target.avs-collapsed .avs-brand-copy,body.allb-has-mobile-shell .allb-shell-sidebar-target.avs-collapsed .avs-workspace-group-title,body.allb-has-mobile-shell .allb-shell-sidebar-target.avs-collapsed .avs-nav-item span,body.allb-has-mobile-shell .allb-shell-sidebar-target.avs-collapsed .avs-side-card,body.allb-has-mobile-shell .allb-shell-sidebar-target.avs-collapsed .avs-side-stats{display:block!important}
  body.allb-has-mobile-shell .allb-shell-sidebar-target.avs-collapsed .avs-nav-item{justify-content:flex-start!important;padding-left:12px!important;padding-right:12px!important}
  body.allb-has-mobile-shell.allb-mobile-shell-no-known-main{padding-top:var(--allb-mobile-topbar-height)!important}
  .allb-mobile-shell-backdrop{display:block;position:fixed;inset:0;z-index:1150;background:rgba(2,8,23,.56);backdrop-filter:blur(2px);opacity:0;pointer-events:none;transition:opacity .2s ease}
  body.allb-shell-open .allb-mobile-shell-backdrop{opacity:1;pointer-events:auto}
  body.allb-shell-open{overflow-x:clip!important}
  .admin-top,.cw-top,.avs-topbar,.aaw-top,.pve-top{position:fixed!important;top:0!important;left:0!important;right:0!important;z-index:1220!important;min-height:var(--allb-mobile-topbar-height)!important;height:var(--allb-mobile-topbar-height)!important;padding:calc(9px + env(safe-area-inset-top,0px)) 10px 9px calc(66px + env(safe-area-inset-left,0px))!important;gap:8px!important;align-items:center!important;flex-wrap:nowrap!important;background:rgba(5,18,34,.965)!important;border-bottom:1px solid rgba(137,164,198,.18)!important;box-shadow:0 10px 28px rgba(1,8,20,.24)!important;backdrop-filter:blur(14px)!important;-webkit-backdrop-filter:blur(14px)!important}
  .admin-top>strong,.cw-top>div:first-child,.avs-topbar>.avs-breadcrumb{min-width:0;flex:1 1 auto}.admin-top-right,.customer-top-right,.cw-top-actions,.avs-top-actions,.allb-customer-top-actions,.pve-top .actions{max-width:100%;min-width:0;flex-wrap:nowrap!important;overflow-x:auto!important;overflow-y:hidden!important;scrollbar-width:none!important}.admin-top-right::-webkit-scrollbar,.customer-top-right::-webkit-scrollbar,.cw-top-actions::-webkit-scrollbar,.avs-top-actions::-webkit-scrollbar,.allb-customer-top-actions::-webkit-scrollbar,.pve-top .actions::-webkit-scrollbar{display:none!important}
  [dir="rtl"] .admin-top,[dir="rtl"] .cw-top,[dir="rtl"] .avs-topbar,[dir="rtl"] .aaw-top,[dir="rtl"] .pve-top,body[dir="rtl"] .admin-top,body[dir="rtl"] .cw-top,body[dir="rtl"] .avs-topbar,body[dir="rtl"] .aaw-top,body[dir="rtl"] .pve-top{padding-left:10px!important;padding-right:calc(66px + env(safe-area-inset-right,0px))!important}
  body.allb-has-mobile-shell .admin-main,body.allb-has-mobile-shell .cw-main,body.allb-has-mobile-shell .avs-main,body.allb-has-mobile-shell .aaw-main,body.allb-has-mobile-shell .pve-app{padding-top:var(--allb-mobile-topbar-height)!important}

  .admin-container,.cw-content,.avs-content{padding:16px!important;width:100%!important;max-width:100%!important}
  .admin-grid,.admin-grid.two,.package-help,.cw-grid,.cw-grid.two,.cw-grid.three,.cw-assets,.cw-form-grid,.avs-form-grid,.avs-form-grid.three{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .admin-access-banner,.cw-route-admin,.cta-inner,.split-section{min-width:0}
  .admin-action-row,.cm-actions,.cw-actions,.hero-actions{max-width:100%}
  .approval-float{right:12px!important;bottom:12px!important;max-width:calc(100vw - 24px)!important}
  .public-topbar-inner,.public-header-inner,.footer-grid{max-width:100%}
  .hero-grid,.split-section,.checkout-wrap{min-width:0}
  .pub-char-toolbar{max-width:100%;overflow:hidden}.pub-char-search{min-width:0}.pub-char-tabs{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-width:thin}.pub-char-tabs a{flex:0 0 auto}
  .cm-table{min-width:720px}.cm-detail-hero{grid-template-columns:minmax(0,1fr)!important}.cm-detail-mainimg{min-height:300px!important}.cm-actions{align-items:stretch}.cm-actions form{min-width:0}
}

@media(max-width:700px){
  .admin-container,.cw-content,.avs-content{padding:12px!important}
  .admin-container h1,.cw-head h1,.avs-hero h1{font-size:clamp(26px,8vw,32px)!important}
  .admin-grid,.admin-grid.two,.package-help,.cw-grid,.cw-grid.two,.cw-grid.three,.cw-assets,.cw-form-grid,.avs-form-grid,.avs-form-grid.three,.grid.two,.grid.three,.grid.four,.grid.five{grid-template-columns:1fr!important}
  .card,.stat-card,.cw-card,.data-card,.feature-card,.price-card-pro{padding:15px!important;border-radius:15px!important}
  .admin-top-right,.customer-top-right,.allb-customer-top-actions,.cw-top-actions,.avs-top-actions{width:100%!important;justify-content:flex-start!important;flex-wrap:wrap!important}
  .locale-switcher{max-width:100%!important}.locale-switcher select{min-width:0!important;max-width:none!important}
  input:not([type="checkbox"]):not([type="radio"]),select,textarea{font-size:16px!important}
  button,.btn,.cw-btn,.avs-btn,.aaw-btn,.pub-char-btn,.pub-char-cta{min-height:44px}
  .admin-action-row>.btn,.cm-actions>.cw-btn,.cm-actions>form,.cm-actions>form>.cw-btn,.cw-actions>.cw-btn{width:100%!important;margin-left:0!important;margin-right:0!important}
  .cm-grid{grid-template-columns:1fr!important}.cm-stat{grid-template-columns:repeat(2,minmax(0,1fr))!important}.cm-specs{grid-template-columns:1fr!important}.cm-thumb{height:auto!important;aspect-ratio:4/3}.cm-thumb img{object-fit:contain!important}.cm-detail-mainimg{min-height:0!important;aspect-ratio:4/5}.cm-gallery{grid-template-columns:repeat(3,minmax(0,1fr))!important}.cm-gallery a{height:auto!important;aspect-ratio:1/1}.cm-price{font-size:19px!important}
  .pub-char-shell{width:min(100% - 20px,1540px)!important}.pub-char-grid{grid-template-columns:1fr!important;gap:14px!important}.pub-char-card-media{aspect-ratio:16/13!important}.pub-char-detail,.pub-char-detail-meta{grid-template-columns:1fr!important}.pub-char-detail-copy{position:static!important}.pub-char-toolbar{grid-template-columns:1fr!important}.pub-char-tabs{display:flex!important;gap:7px!important;padding-bottom:4px}.pub-char-tabs a{min-height:42px}.pub-char-hero-actions{display:grid!important}.pub-char-cta{width:100%!important}
  .sales-hero .hero-grid,.hero-grid,.split-section{grid-template-columns:1fr!important}.hero-copy h1{font-size:clamp(32px,10vw,42px)!important}.section-heading,.split-copy h2,.page-hero h1{font-size:clamp(28px,8vw,35px)!important}.footer-grid{grid-template-columns:1fr!important}
  .public-topbar-actions{min-width:0}.public-topbar-actions .locale-switcher{min-width:0}.public-topbar-actions .nav-cta{max-width:128px!important}
}

@media(max-width:440px){
  .allb-mobile-shell-toggle .allb-mobile-shell-label{display:none}
  .admin-container,.cw-content,.avs-content{padding:10px!important}
  .cm-stat{grid-template-columns:1fr!important}.cm-gallery{grid-template-columns:repeat(2,minmax(0,1fr))!important}.pub-char-shell{width:min(100% - 14px,1540px)!important}
  .customer-locale-row,.customer-locale-row .locale-switcher{width:100%!important;min-width:0!important}.customer-locale-row .locale-switcher{grid-template-columns:1fr 1fr!important}
}


@media(min-width:981px){
  .admin-top,.cw-top,.avs-topbar,.aaw-top,.pve-top{position:sticky!important;top:0!important;z-index:80!important;box-sizing:border-box!important;min-height:64px!important;height:64px!important;max-height:64px!important;display:flex!important;align-items:center!important;flex-wrap:nowrap!important;gap:6px!important;overflow:hidden!important}
  .allb-customer-top-actions{display:flex!important;flex:1 1 auto!important;width:100%!important;min-width:0!important;max-width:100%!important;align-items:center!important;justify-content:flex-start!important;flex-wrap:nowrap!important;gap:5px!important;overflow:hidden!important}
  .allb-customer-action-form{display:inline-flex!important;flex:0 1 auto!important;min-width:0!important;margin:0!important}
  .allb-customer-action{flex:0 1 auto!important;min-width:0!important;min-height:38px!important;padding:7px 9px!important;gap:6px!important;font-size:10.5px!important}
  .allb-customer-action-icon{width:25px!important;min-width:25px!important;height:25px!important}
  .allb-customer-action-label{min-width:0!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
  .avs-topbar>.avs-breadcrumb,.cw-top>div:first-child:not(.allb-customer-top-actions){flex:0 0 auto!important}
}
@media(prefers-reduced-motion:reduce){.admin-sidebar,.avs-sidebar,.allb-mobile-shell-backdrop{transition:none!important}}
