/* CCC 0.9.2a: compact single-row phone header. Applies to both web and Android WebView. */
@media (max-width:760px) {
  .topbar {display:flex!important;flex-wrap:nowrap!important;align-items:center!important;gap:6px!important;padding:9px 8px!important;min-height:58px}
  .topbar .brand {flex:1 1 auto;min-width:0;gap:6px;overflow:hidden}
  .topbar .brand .ccc-logo {width:33px;height:33px;flex:0 0 33px}
  .topbar .brand > div {flex:1 1 auto;min-width:0;overflow:hidden}
  .topbar .brand strong {display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:0!important;line-height:1.3}
  .topbar .brand strong::after {content:'Coutts Connect';font-size:13px;font-weight:750;white-space:nowrap}
  .topbar .brand small {display:none!important}
  .topbar .header-actions {display:flex!important;align-items:center!important;justify-content:flex-end!important;flex:0 0 auto;width:auto!important;min-width:0;gap:6px!important;flex-wrap:nowrap!important;margin:0}
  .topbar .account-menu,.topbar .header-actions > .ccc-user {flex:0 1 auto;min-width:0;grid-column:auto;grid-row:auto}
  .topbar .ccc-user {width:auto;max-width:123px;min-width:0;padding:4px 5px;gap:5px;border-radius:30px}
  .topbar .ccc-avatar {width:28px;height:28px;flex:0 0 28px}
  .topbar .ccc-avatar-img,.topbar .ccc-initials {width:28px!important;height:28px!important}
  .topbar .ccc-userinfo {min-width:0;max-width:77px}
  .topbar .ccc-userinfo strong {font-size:11px!important;white-space:nowrap!important;overflow:hidden;text-overflow:ellipsis;line-height:1.3}
  .topbar .ccc-userinfo small {display:none!important}
  .topbar #pm-open {order:0;flex:0 0 36px;width:36px;height:36px;padding:5px;border-radius:10px}
  .topbar #pm-open .pm-envelope {width:23px;height:23px}
  .topbar #pm-count:not(:empty) {right:-4px;top:-5px}
}
@media (max-width:375px) {
  .topbar .brand strong::after {content:'CCC Connect';font-size:12px}
  .topbar .ccc-user {max-width:103px}
  .topbar .ccc-userinfo {max-width:57px}
}
