
/* Phase 6C production final: unified account state + mobile polish */
.public-account-menu{position:relative;display:inline-flex;align-items:center}
.account-trigger{height:40px;display:inline-flex;align-items:center;gap:7px;padding:0 11px;border:1px solid #dfe5ef;border-radius:11px;background:#fff;color:var(--navy);font:inherit;font-size:12px;font-weight:850;cursor:pointer;white-space:nowrap;box-shadow:0 5px 16px rgba(15,31,77,.05)}
.account-trigger:hover{transform:translateY(-1px);box-shadow:0 8px 20px rgba(15,31,77,.10)}
.account-icon{font-size:14px;line-height:1}.account-caret{font-size:10px;opacity:.7}.account-label{max-width:120px;overflow:hidden;text-overflow:ellipsis}
.account-dropdown{display:none;position:absolute;right:0;top:calc(100% + 9px);z-index:150;width:230px;padding:8px;border:1px solid #e0e6ef;border-radius:14px;background:#fff;box-shadow:0 18px 46px rgba(12,28,70,.18)}
.public-account-menu.open .account-dropdown{display:block}
.account-dropdown a,.account-dropdown .account-meta{display:flex;align-items:center;gap:8px;width:100%;padding:10px 11px;border-radius:10px;color:#142650;text-decoration:none;font-size:12px;font-weight:750}
.account-dropdown a:hover{background:#f3f6fc}.account-dropdown .account-meta{display:block;background:#f6f8fd;margin-bottom:5px}.account-dropdown .account-meta small{display:block;color:#6b7690;font-weight:650;margin-top:3px}
.account-role{display:inline-flex;margin-left:5px;padding:2px 6px;border-radius:999px;background:#fff0d7;color:#8a5a00;font-size:9px;font-weight:900;letter-spacing:.03em;text-transform:uppercase}
.account-role.customer{background:#eaf7f1;color:#146b48}
body.account-authenticated .header-create{display:none!important}
@media(max-width:1180px){.public-account-menu .account-label{max-width:86px}}
@media(max-width:720px){.public-account-menu{display:inline-flex}.account-trigger{width:40px;padding:0;justify-content:center}.account-trigger .account-label,.account-trigger .account-caret{display:none}.account-dropdown{right:-54px;width:min(250px,calc(100vw - 24px))}}

/* Phase 6C final mobile QA polish - 2026-10-20 */
@media (max-width:720px){
  /* The secondary desktop utility strip is redundant on mobile and wastes two lines. */
  .topbar{display:none!important}
  .site-header{top:0!important}
  .nav-links{top:78px!important}

  /* WhatsApp already exists in the mobile header, so avoid covering CTAs/content. */
  .wa-float{display:none!important}

  /* Keep the Services jump links fully visible without a browser-style horizontal scrollbar. */
  .service-jumpbar{margin-top:-14px!important}
  .service-jumpbar-in{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:8px!important;
    overflow:visible!important;
    padding:10px!important;
  }
  .service-jumpbar a{
    min-height:44px;
    padding:9px 8px!important;
    white-space:normal!important;
    text-align:center;
    justify-content:center;
    line-height:1.25;
  }

  /* Keep mobile account menu compact and inside the viewport. */
  .account-dropdown{
    top:calc(100% + 7px)!important;
    width:min(238px,calc(100vw - 22px))!important;
  }
}

@media (max-width:420px){
  .header-in{gap:8px!important}
  .header-actions{gap:6px!important}
  .brand-copy strong{font-size:11px!important}
  .brand-copy small{font-size:7px!important}
  .service-jumpbar a{font-size:11px!important}
}
