/* Classeto v8.18: the public mobile dock is centered by physical insets.
   Do not combine a residual left:0 with right:50% and translateX(50%) in RTL.
   CSS owns the geometry, including first paint, toolbar resizing and BFCache restore. */
@media (max-width: 800px) {
  html.classeto-public-page .public > .mobile-tabbar {
    position: fixed;
    top: auto;
    left: 15px;
    right: 15px;
    bottom: 14px;
    left: max(15px, env(safe-area-inset-left, 0px));
    right: max(15px, env(safe-area-inset-right, 0px));
    bottom: max(14px, env(safe-area-inset-bottom, 0px));
    width: auto;
    min-width: 0;
    max-width: 520px;
    margin: 0 auto;
    box-sizing: border-box;
    transform: none;
    translate: none;
    direction: rtl;
  }

  html.classeto-public-page .public > .mobile-tabbar > a {
    flex: 1 1 0;
    min-width: 0;
    text-align: center;
    white-space: nowrap;
  }
}
