/* V435: true single PC header owner. Keep #xlsPcTopbarOwnerV433, retire every legacy page topbar on PC. */
@media (min-width: 821px) {
  body.pc-layout-ready header.topbar:not(#xlsPcTopbarOwnerV433),
  body.pc-layout-ready .topbar:not(#xlsPcTopbarOwnerV433),
  body.pc-layout-ready .profile-topbar,
  body.pc-layout-ready .zsb-topbar,
  body.pc-layout-ready .ai-records-topbar,
  body.pc-layout-ready .home-topbar,
  body.pc-layout-ready .mobile-topbar,
  body.pc-layout-ready .xls-mobile-header,
  body.pc-layout-ready .advice-topbar,
  body.pc-layout-ready .nav-inner,
  body.pc-layout-ready .zsb-top-actions,
  body.pc-layout-ready .profile-actions,
  body.pc-layout-ready .nav-actions,
  body.pc-layout-ready .navs,
  body.pc-layout-ready .xls-global-actions,
  body.pc-layout-ready [data-xls-pc-legacy-header="1"],
  body.pc-layout-ready [data-xls-pc-owner-hidden="1"] {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
    max-width: 0 !important;
    max-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
  }

  #xlsMobileAppMenuBtnV424,
  #xlsMobileAppMenuPanelV424,
  #xlsMobileAppMenuMaskV424,
  #xlsUnifiedMobileMenuBtnV422,
  #xlsUnifiedMobileMenuPanelV422,
  #xlsUnifiedMobileMenuMaskV422,
  .xls-mobile-menu-btn,
  .xls-mobile-fixed-menu-slot,
  .xls-v421-menu-btn,
  .xls-v421-menu-panel {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
    max-width: 0 !important;
    max-height: 0 !important;
    overflow: hidden !important;
  }

  #xlsPcTopbarOwnerV433.xls-pc-topbar-owner,
  .xls-pc-topbar-owner {
    width: min(100% - 32px, 1560px);
    min-height: 68px;
    margin: 16px auto 18px;
    padding: 0 18px;
    border-radius: 24px;
    background: rgba(255,255,255,.96);
    border: 1px solid rgba(207,225,255,.9);
    box-shadow: 0 14px 40px rgba(47,128,255,.08);
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    box-sizing: border-box;
    position: relative;
    z-index: 20;
  }

  .xls-pc-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    text-decoration: none;
    color: #12396d;
    font-weight: 1000;
  }

  .xls-pc-logo {
    width: 38px;
    height: 38px;
    border-radius: 14px;
    background: linear-gradient(135deg,#2f80ff,#7aa7ff);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 1000;
    flex: 0 0 38px;
    overflow: hidden;
  }

  .xls-pc-logo img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
  }

  .xls-pc-title {
    font-size: 18px;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .xls-pc-actions {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
  }

  .xls-pc-btn {
    height: 42px;
    padding: 0 16px;
    border-radius: 999px;
    border: 1px solid #d9e8ff;
    background: #fff;
    color: #24508f;
    text-decoration: none;
    font-size: 14px;
    font-weight: 900;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
  }

  .xls-pc-btn.primary {
    background: linear-gradient(135deg,#2f80ff,#5d9bff);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 8px 18px rgba(47,128,255,.18);
  }
}

@media (max-width: 820px) {
  .xls-pc-topbar-owner,
  #xlsPcTopbarOwnerV433 {
    display: none !important;
  }
}
