/* Public header actions: moved outside the hamburger navigation on phones/tablets.
   Deliberately retain the existing PWA install engine and login routes. */
.public-mobile-actions{display:none}
@media(max-width:980px){
  /* The two external buttons are always visible immediately below the site logo. */
  body.public-premium-theme .main-header .public-mobile-actions{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:9px;
    padding:0 12px 12px;
    background:transparent;
    align-items:stretch;
  }
  body.public-premium-theme .main-header .public-mobile-actions .btn{
    display:flex!important;
    width:100%;
    min-width:0;
    min-height:44px;
    padding:8px 8px;
    border-radius:12px;
    gap:7px;
    align-items:center;
    justify-content:center;
    text-align:center;
    font-size:clamp(12px,2.8vw,15px);
    line-height:1.4;
    font-weight:800;
    white-space:normal;
    overflow-wrap:anywhere;
    box-shadow:0 4px 14px rgba(0,0,0,.12);
  }
  body.public-premium-theme .main-header .public-mobile-install{
    background:#fff!important;
    color:#103b80!important;
    border:1px solid #fff!important;
  }
  body.public-premium-theme .main-header .public-mobile-login{
    background:#e6b448!important;
    color:#122b52!important;
    border:1px solid #f8d77d!important;
    text-decoration:none!important;
  }
  body.public-premium-theme .main-header .public-mobile-actions .btn .ui-icon{
    width:17px;
    height:17px;
    flex-shrink:0;
    color:currentColor!important;
  }
  /* Remove hidden/duplicate header actions while retaining the registration/menu controls. */
  body.public-premium-theme .main-header .nav-actions > .install-app-btn,
  body.public-premium-theme .main-header .nav-actions > [data-public-login],
  body.public-premium-theme .main-header .nav-actions > [data-public-dashboard]{display:none!important}
}
@media(max-width:350px){
  body.public-premium-theme .main-header .public-mobile-actions{gap:5px;padding-inline:7px}
  body.public-premium-theme .main-header .public-mobile-actions .btn{font-size:12px;padding-inline:4px;gap:4px}
  body.public-premium-theme .main-header .public-mobile-actions .btn .ui-icon{width:15px;height:15px}
}
@media(min-width:981px){.public-mobile-actions{display:none!important}}
@media print{.public-mobile-actions{display:none!important}}
