@media (min-width:761px){
  html body.workspace-readable .studio-stage>.topbar>.topbar-links{
    margin-left:auto!important;
  }
  html body.workspace-readable .studio-stage>.topbar .topbar-links>button{
    min-width:116px!important;
    height:44px!important;
    padding:0 18px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:9px!important;
    border:1px solid rgba(213,224,243,.92)!important;
    border-radius:14px!important;
    background:rgba(255,255,255,.9)!important;
    color:#142d5e!important;
    box-shadow:0 6px 18px rgba(54,86,142,.08)!important;
    font-weight:700!important;
    white-space:nowrap!important;
  }
  html body.workspace-readable .studio-stage>.topbar .topbar-links>button>svg{
    display:block!important;
    width:21px!important;
    height:21px!important;
    fill:none!important;
    stroke:currentColor!important;
    stroke-width:1.9!important;
    stroke-linecap:round!important;
    stroke-linejoin:round!important;
  }
  html body.workspace-readable .app-shell .studio-stage>.topbar .top-actions>#customerServiceBtn.workspace-customer-service{
    min-width:112px!important;
    height:44px!important;
    padding:0 4px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:8px!important;
    border:0!important;
    border-radius:0!important;
    background:transparent!important;
    background-image:none!important;
    color:#17315f!important;
    box-shadow:none!important;
    -webkit-backdrop-filter:none!important;
    backdrop-filter:none!important;
  }
  html body.workspace-readable .studio-stage>.topbar #customerServiceBtn.workspace-customer-service>svg{
    display:block!important;width:20px!important;height:20px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.9!important;stroke-linecap:round!important;stroke-linejoin:round!important
  }
  html body.workspace-readable .studio-stage>.topbar #customerServiceBtn.workspace-customer-service>span{
    color:inherit!important;font-size:14px!important;font-weight:700!important;line-height:1!important;white-space:nowrap!important
  }
  html body.workspace-readable .studio-stage>.topbar .top-actions>#customerServiceBtn.workspace-customer-service:is(:hover,:focus-visible){
    border:0!important;background:transparent!important;background-image:none!important;color:#176ff2!important;box-shadow:none!important;transform:none!important;
  }
  html body.workspace-readable .studio-stage>.topbar .top-actions{
    margin-left:0!important;
    display:flex!important;
    align-items:center!important;
    gap:14px!important;
    flex-wrap:nowrap!important;
  }
  html body.workspace-readable .studio-stage>.topbar #serviceStatus,
  html body.workspace-readable .studio-stage>.topbar #installAppBtn,
  html body.workspace-readable .studio-stage>.topbar .topbar-legacy-action{
    display:none!important;
  }
  html body.workspace-readable .studio-stage>.topbar #memberSummary{
    position:relative!important;
    display:flex!important;
    align-items:center!important;
    width:auto!important;
    min-width:0!important;
    height:44px!important;
    padding:0 4px!important;
    margin:0!important;
    border:0!important;
    border-radius:0!important;
    background:transparent!important;
    background-image:none!important;
    box-shadow:none!important;
    backdrop-filter:none!important;
    border-right:0!important;
  }
  html body.workspace-readable .studio-stage>.topbar #memberSummary::before,
  html body.workspace-readable .studio-stage>.topbar #memberSummary::after{display:none!important;content:none!important}
  html body.workspace-readable .app-shell .studio-stage>.topbar .top-actions>#memberSummary>#memberChip.member-stat{
    min-width:0!important;
    height:44px!important;
    padding:0!important;
    display:flex!important;
    align-items:center!important;
    gap:8px!important;
    border:0!important;
    border-radius:0!important;
    background:transparent!important;
    background-image:none!important;
    color:#17315f!important;
    box-shadow:none!important;
    -webkit-backdrop-filter:none!important;
    backdrop-filter:none!important;
    transform:none!important;
  }
  html body.workspace-readable .app-shell .studio-stage>.topbar .top-actions>#memberSummary>#memberChip.member-stat:is(:hover,:focus,:focus-visible,:active){
    border:0!important;
    background:transparent!important;
    background-image:none!important;
    color:#176ff2!important;
    box-shadow:none!important;
    transform:none!important;
  }
  html body.workspace-readable .app-shell .studio-stage>.topbar .top-actions #memberTip{
    display:none!important;
    opacity:0!important;
    visibility:hidden!important;
    pointer-events:none!important;
  }
  html body.workspace-readable .studio-stage>.topbar #memberChip .workspace-crown-icon{
    display:block!important;
    width:24px!important;
    height:24px!important;
    fill:#176ff2!important;
    stroke:#176ff2!important;
    stroke-width:1.5!important;
    stroke-linecap:round!important;
    stroke-linejoin:round!important;
  }
  html body.workspace-readable .studio-stage>.topbar #memberChip .workspace-membership-label{
    display:inline!important;
    color:#17315f!important;
    font-size:14px!important;
    font-weight:700!important;
    line-height:1!important;
    white-space:nowrap!important;
  }
  html body.workspace-readable .app-shell .studio-stage>.topbar .top-actions>#workspaceNotificationBtn.workspace-history-shortcut{
    appearance:none!important;
    flex:0 0 auto!important;
    min-width:0!important;
    width:auto!important;
    height:44px!important;
    padding:0 4px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:8px!important;
    border:0!important;
    border-radius:0!important;
    background:transparent!important;
    background-image:none!important;
    color:#17315f!important;
    box-shadow:none!important;
    -webkit-backdrop-filter:none!important;
    backdrop-filter:none!important;
  }
  html body.workspace-readable .app-shell .studio-stage>.topbar .top-actions>#workspaceNotificationBtn.workspace-history-shortcut:is(:hover,:focus,:focus-visible,:active){
    border:0!important;
    background:transparent!important;
    background-image:none!important;
    color:#176ff2!important;
    box-shadow:none!important;
    transform:none!important;
  }
  html body.workspace-readable .app-shell .studio-stage>.topbar .top-actions>#accountBtn.workspace-account-menu{
    position:relative!important;
    flex:0 0 70px!important;
    min-width:70px!important;
    width:70px!important;
    height:44px!important;
    padding:0!important;
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    border:0!important;
    border-radius:0!important;
    background:transparent!important;
    color:#17315f!important;
    box-shadow:none!important;
    font-size:0!important;
  }
  html body.workspace-readable .app-shell .studio-stage>.topbar .top-actions>#accountBtn.workspace-account-menu:is(:hover,:focus,:focus-visible,:active){
    border:0!important;
    background:transparent!important;
    background-image:none!important;
    box-shadow:none!important;
    transform:none!important;
  }
  html body.workspace-readable .studio-stage>.topbar #accountBtn::before,
  html body.workspace-readable .studio-stage>.topbar #accountBtn::after{display:none!important;content:none!important}
  html body.workspace-readable .studio-stage>.topbar #accountBtn>#workspaceAvatarInitial{
    position:relative!important;
    overflow:hidden!important;
    flex:0 0 44px!important;
    width:44px!important;
    height:44px!important;
    display:grid!important;
    place-items:center!important;
    border-radius:50%!important;
    background:#dfe3e8!important;
    color:#8b929c!important;
    box-shadow:0 6px 14px rgba(37,53,76,.14)!important;
    text-align:center!important;
    text-indent:0!important;
  }
  html body.workspace-readable .studio-stage>.topbar #workspaceAvatarInitial>img{
    position:absolute!important;inset:0!important;display:block!important;width:100%!important;height:100%!important;object-fit:cover!important
  }
  html body.workspace-readable .studio-stage>.topbar #workspaceAvatarInitial>img.hidden{display:none!important}
  html body.workspace-readable .studio-stage>.topbar #workspaceAvatarInitial>svg{
    display:block!important;width:27px!important;height:27px!important;fill:currentColor!important;stroke:none!important
  }
  html body.workspace-readable .studio-stage>.topbar #workspaceAvatarInitial.has-custom-avatar>svg{display:none!important}
  html body.workspace-readable .studio-stage>.topbar #partnerCreditSummary.workspace-credit-brief{
    display:inline-flex!important;align-items:center!important;gap:2px!important;height:36px!important;padding:0 11px!important;border:1px solid #d9e4f2!important;border-radius:11px!important;background:#f7faff!important;color:#60708a!important;font-size:13px!important;line-height:1!important;white-space:nowrap!important
  }
  html body.workspace-readable .studio-stage>.topbar #partnerCreditSummary.workspace-credit-brief.hidden{display:none!important}
  html body.workspace-readable .studio-stage>.topbar #partnerCreditSummary.workspace-credit-brief>b{color:#176ff2!important;font-size:14px!important;font-weight:800!important}
  html body.workspace-readable .studio-stage>.topbar #accountBtn>.workspace-account-chevron{
    display:block!important;
    flex:0 0 8px!important;
    width:8px!important;
    height:8px!important;
    margin:0 3px 4px 0!important;
    border:0!important;
    border-right:1.8px solid #17315f!important;
    border-bottom:1.8px solid #17315f!important;
    border-radius:0!important;
    background:none!important;
    box-shadow:none!important;
    padding:0!important;
    transform:rotate(45deg)!important;
    font-size:0!important;
  }
}

/* Keep every desktop header action visible when the workspace narrows. */
@media (min-width:761px) and (max-width:1390px){
  html body.workspace-readable .studio-stage>.topbar{
    height:auto!important;
    min-height:88px!important;
    flex-wrap:wrap!important;
    column-gap:18px!important;
    row-gap:8px!important;
  }
  html body.workspace-readable .studio-stage>.topbar>.workspace-global-search{
    min-width:0!important;
    max-width:none!important;
  }
  html body.workspace-readable .studio-stage>.topbar>.top-actions{
    flex:0 0 100%!important;
    width:100%!important;
    min-width:0!important;
    margin-left:0!important;
    justify-content:space-between!important;
    flex-wrap:wrap!important;
    gap:8px!important;
  }
}
