/* Reference-style supplier dock; existing destinations and access rules are retained. */
@media (max-width:767px) {
 [data-portal] .supplier-mobile-footer {
  grid-template-columns:repeat(3,minmax(0,1fr)) 76px;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);
  min-height:58px;padding:3px 6px calc(3px + env(safe-area-inset-bottom,0px));
  background:#fcfcfe;border-radius:22px 22px 0 0;box-shadow:0 -4px 20px #10263b08;
  isolation:isolate;overflow:visible;
 }
 [data-portal] .supplier-mobile-footer>button {
  position:relative;min-height:52px;gap:3px;padding:4px 2px 3px;border-radius:14px;
  background:transparent;color:#56565f;font:600 11px/1.2 Inter,system-ui,sans-serif;
 }
 [data-portal] .supplier-mobile-footer>button>svg {width:22px;height:22px;stroke-width:2.3;flex-shrink:0}
 [data-portal] .supplier-mobile-footer>button.active {background:transparent;color:#32649b}
 [data-portal] .supplier-mobile-footer>.fm-ai-entry {align-self:stretch;justify-content:flex-start;padding-top:0}
 [data-portal] .supplier-mobile-footer>.fm-ai-entry::before {
  content:"";position:absolute;z-index:-1;top:-8px;left:50%;transform:translateX(-50%);
  width:86px;height:56px;border-radius:0 0 40px 40px;background:#f0f0f5;
 }
 [data-portal] .supplier-mobile-footer .fm-ai-mark {
  width:64px!important;height:64px!important;flex:0 0 64px!important;margin-top:-20px!important;
  border-width:5px!important;box-shadow:0 10px 18px #11263e24,inset 0 0 0 5px #147bc94d!important;
 }
 [data-portal] .main {padding-bottom:calc(80px + env(safe-area-inset-bottom,0px))!important}
}
@media(max-width:350px){[data-portal] .supplier-mobile-footer>button{font-size:11px}}

@media(max-width:767px){[data-portal] .supplier-mobile-footer:has(>button[data-view-switch][hidden]){grid-template-columns:none;grid-auto-columns:minmax(0,1fr)}}
