/* Phase 20.5.15.18.26.6 — Admin Shell Scoped Layout Recovery & Safe Regression Lock
   Scope: admin shell/layout only. No database impact.
   Goal: normalize admin pages that include the right sidebar to dashboard-like width, remove sidebar top gaps,
   consolidate 26.3/26.4 page-shell patches into one safer source, and keep tablet/mobile behavior stable.
*/
:root{
  --bz-admin-shell-max-v2051518266:1780px;
  --bz-admin-shell-gutter-v2051518266:clamp(14px,1.2vw,26px);
  --bz-admin-sidebar-w-v2051518266:300px;
  --bz-admin-shell-gap-v2051518266:clamp(18px,1.7vw,34px);
  --bz-admin-shell-top-v2051518266:24px;
  --bz-admin-card-radius-v2051518266:28px;
}
body.admin-page,
body[class*="route-admin"]{overflow-x:hidden;}
body.admin-page .marketak-app-shell-main-v205101,
body[class*="route-admin"] .marketak-app-shell-main-v205101{
  width:100%;
  max-width:100%;
  min-width:0;
  box-sizing:border-box;
  overflow-x:clip;
}

/* One normalized desktop shell for both the dashboard (.admin-shell) and legacy admin pages (.admin-page-shell). */
@media (min-width:981px){
  body.admin-page :where(.admin-pro-page,.admin-page-shell,.admin-control-center-page,.admin-settings-page,.admin-payment-unified-page),
  body[class*="route-admin"] :where(.admin-pro-page,.admin-page-shell,.admin-control-center-page,.admin-settings-page,.admin-payment-unified-page){
    width:min(calc(100vw - (var(--bz-admin-shell-gutter-v2051518266) * 2)),var(--bz-admin-shell-max-v2051518266));
    max-width:min(calc(100vw - (var(--bz-admin-shell-gutter-v2051518266) * 2)),var(--bz-admin-shell-max-v2051518266));
    min-width:0;
    margin-inline:auto;
    box-sizing:border-box;
  }

  body.admin-page .admin-page-shell,
  body[class*="route-admin"] .admin-page-shell{
    display:grid;
    grid-template-columns:minmax(0,1fr) var(--bz-admin-sidebar-w-v2051518266);
    gap:var(--bz-admin-shell-gap-v2051518266);
    align-items:start;
    direction:rtl;
    padding-block:var(--bz-admin-shell-top-v2051518266) 72px;
    overflow:visible;
  }

  body.admin-page :where(.admin-pro-page,.admin-control-center-page) .admin-shell,
  body[class*="route-admin"] :where(.admin-pro-page,.admin-control-center-page) .admin-shell,
  body.admin-page :where(.admin-settings-page,.admin-payment-unified-page) :where(.admin-settings-shell,.settings-shell,.admin-shell),
  body[class*="route-admin"] :where(.admin-settings-page,.admin-payment-unified-page) :where(.admin-settings-shell,.settings-shell,.admin-shell){
    display:grid;
    grid-template-columns:minmax(0,1fr) var(--bz-admin-sidebar-w-v2051518266);
    gap:var(--bz-admin-shell-gap-v2051518266);
    align-items:start;
    direction:rtl;
    width:100%;
    max-width:100%;
    min-width:0;
    margin:0;
    padding-block:var(--bz-admin-shell-top-v2051518266) 72px;
    box-sizing:border-box;
    overflow:visible;
  }

  /* Sidebar always lives in the right column in RTL, and starts at shell top. */
  body.admin-page :where(.admin-page-shell,.admin-shell,.admin-settings-shell,.settings-shell) > :where(.admin-sidebar,.admin-sidebar-unified-v167,.settings-sidebar,.admin-sidebar-pro),
  body[class*="route-admin"] :where(.admin-page-shell,.admin-shell,.admin-settings-shell,.settings-shell) > :where(.admin-sidebar,.admin-sidebar-unified-v167,.settings-sidebar,.admin-sidebar-pro){
    grid-column:2;
    grid-row:1;
    width:var(--bz-admin-sidebar-w-v2051518266);
    max-width:var(--bz-admin-sidebar-w-v2051518266);
    min-width:0;
    align-self:start;
    justify-self:stretch;
    margin:0;
    margin-block-start:0;
    transform:none;
    position:sticky;
    top:16px;
    max-height:calc(100vh - 32px);
    overflow:auto;
    box-sizing:border-box;
    z-index:4;
  }
  body.admin-page :where(.admin-page-shell,.admin-shell,.admin-settings-shell,.settings-shell) > :where(.admin-sidebar,.admin-sidebar-unified-v167,.settings-sidebar,.admin-sidebar-pro) > :first-child,
  body[class*="route-admin"] :where(.admin-page-shell,.admin-shell,.admin-settings-shell,.settings-shell) > :where(.admin-sidebar,.admin-sidebar-unified-v167,.settings-sidebar,.admin-sidebar-pro) > :first-child{
    margin-top:0;
  }

  body.admin-page :where(.admin-page-shell,.admin-shell,.admin-settings-shell,.settings-shell) > :where(.admin-main-pro,.admin-content,.settings-main,.main-pro,.admin-payment-main,.payment-main),
  body[class*="route-admin"] :where(.admin-page-shell,.admin-shell,.admin-settings-shell,.settings-shell) > :where(.admin-main-pro,.admin-content,.settings-main,.main-pro,.admin-payment-main,.payment-main){
    grid-column:1;
    grid-row:1;
    min-width:0;
    width:100%;
    max-width:100%;
    margin:0;
    padding:0;
    align-self:start;
    overflow:visible;
    box-sizing:border-box;
  }
  body.admin-page :where(.admin-main-pro,.admin-content,.settings-main,.main-pro,.admin-payment-main,.payment-main) > :first-child,
  body[class*="route-admin"] :where(.admin-main-pro,.admin-content,.settings-main,.main-pro,.admin-payment-main,.payment-main) > :first-child{
    margin-top:0;
  }

  /* Cards/hero/tables should breathe like dashboard, but avoid touching public/vendor pages. */
  body.admin-page :where(.admin-hero-pro,.settings-hero,.admin-onboarding-hero-v2051515,.payment-unified-hero,.review-hero,.codrev-hero),
  body[class*="route-admin"] :where(.admin-hero-pro,.settings-hero,.admin-onboarding-hero-v2051515,.payment-unified-hero,.review-hero,.codrev-hero){
    width:100%;
    max-width:100%;
    min-width:0;
    box-sizing:border-box;
    border-radius:clamp(24px,2vw,34px);
  }
  body.admin-page :where(.admin-panel-pro,.settings-card,.admin-card,.panel-pro,.admin-onboarding-table-card-v2051515,.admin-table-wrap,.table-wrap,.payment-review-card-unified),
  body[class*="route-admin"] :where(.admin-panel-pro,.settings-card,.admin-card,.panel-pro,.admin-onboarding-table-card-v2051515,.admin-table-wrap,.table-wrap,.payment-review-card-unified){
    width:100%;
    max-width:100%;
    min-width:0;
    box-sizing:border-box;
  }
}

/* Vendor onboarding: use the same shell ratio, but keep its specific hero/table polish. */
body.admin-page .admin-vendor-onboarding-v2051515,
body[class*="route-admin"] .admin-vendor-onboarding-v2051515{
  --bz-admin-shell-max-v2051518266:1780px;
}
body.admin-page .admin-vendor-onboarding-v2051515 .admin-onboarding-hero-v2051515,
body[class*="route-admin"] .admin-vendor-onboarding-v2051515 .admin-onboarding-hero-v2051515{
  margin-top:0;
  padding:clamp(24px,2.2vw,36px) clamp(28px,2.4vw,42px);
}
body.admin-page .admin-vendor-onboarding-v2051515 .admin-onboarding-stats-v2051515,
body[class*="route-admin"] .admin-vendor-onboarding-v2051515 .admin-onboarding-stats-v2051515{
  display:grid;
  grid-template-columns:repeat(6,minmax(0,1fr));
  gap:clamp(12px,1vw,16px);
  width:100%;
  max-width:100%;
  margin:18px 0 20px;
}
body.admin-page .admin-vendor-onboarding-v2051515 .admin-onboarding-table-wrap-v2051515,
body[class*="route-admin"] .admin-vendor-onboarding-v2051515 .admin-onboarding-table-wrap-v2051515{
  width:100%;
  max-width:100%;
  overflow-x:auto;
  -webkit-overflow-scrolling:touch;
}
body.admin-page .admin-vendor-onboarding-v2051515 .admin-onboarding-table-wrap-v2051515 table,
body[class*="route-admin"] .admin-vendor-onboarding-v2051515 .admin-onboarding-table-wrap-v2051515 table{
  min-width:min(1180px,100%);
}

@media (min-width:1500px){
  body.admin-page :where(.admin-page-shell,.admin-shell,.admin-settings-shell,.settings-shell),
  body[class*="route-admin"] :where(.admin-page-shell,.admin-shell,.admin-settings-shell,.settings-shell){
    --bz-admin-sidebar-w-v2051518266:304px;
  }
}
@media (max-width:1280px) and (min-width:981px){
  body.admin-page :where(.admin-page-shell,.admin-shell,.admin-settings-shell,.settings-shell),
  body[class*="route-admin"] :where(.admin-page-shell,.admin-shell,.admin-settings-shell,.settings-shell){
    --bz-admin-sidebar-w-v2051518266:286px;
    --bz-admin-shell-gap-v2051518266:20px;
  }
  body.admin-page .admin-vendor-onboarding-v2051515 .admin-onboarding-stats-v2051515,
  body[class*="route-admin"] .admin-vendor-onboarding-v2051515 .admin-onboarding-stats-v2051515{
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
}

/* Tablet/mobile: stack content first, sidebar second; no compressed desktop columns. */
@media (max-width:980px){
  body.admin-page :where(.admin-pro-page,.admin-page-shell,.admin-control-center-page,.admin-settings-page,.admin-payment-unified-page),
  body[class*="route-admin"] :where(.admin-pro-page,.admin-page-shell,.admin-control-center-page,.admin-settings-page,.admin-payment-unified-page){
    width:100%;
    max-width:100%;
    margin:0;
    padding-inline:10px;
    box-sizing:border-box;
  }
  body.admin-page .admin-page-shell,
  body[class*="route-admin"] .admin-page-shell,
  body.admin-page :where(.admin-pro-page,.admin-control-center-page) .admin-shell,
  body[class*="route-admin"] :where(.admin-pro-page,.admin-control-center-page) .admin-shell,
  body.admin-page :where(.admin-settings-page,.admin-payment-unified-page) :where(.admin-settings-shell,.settings-shell,.admin-shell),
  body[class*="route-admin"] :where(.admin-settings-page,.admin-payment-unified-page) :where(.admin-settings-shell,.settings-shell,.admin-shell){
    display:grid;
    grid-template-columns:1fr;
    gap:14px;
    width:100%;
    max-width:100%;
    margin:0;
    padding:14px 0 42px;
    box-sizing:border-box;
  }
  body.admin-page :where(.admin-page-shell,.admin-shell,.admin-settings-shell,.settings-shell) > :where(.admin-main-pro,.admin-content,.settings-main,.main-pro,.admin-payment-main,.payment-main),
  body[class*="route-admin"] :where(.admin-page-shell,.admin-shell,.admin-settings-shell,.settings-shell) > :where(.admin-main-pro,.admin-content,.settings-main,.main-pro,.admin-payment-main,.payment-main){
    order:1;
    grid-column:1;
    width:100%;
    max-width:100%;
    min-width:0;
    margin:0;
    padding:0;
  }
  body.admin-page :where(.admin-page-shell,.admin-shell,.admin-settings-shell,.settings-shell) > :where(.admin-sidebar,.admin-sidebar-unified-v167,.settings-sidebar,.admin-sidebar-pro),
  body[class*="route-admin"] :where(.admin-page-shell,.admin-shell,.admin-settings-shell,.settings-shell) > :where(.admin-sidebar,.admin-sidebar-unified-v167,.settings-sidebar,.admin-sidebar-pro){
    order:2;
    grid-column:1;
    position:relative;
    top:auto;
    width:100%;
    max-width:100%;
    min-width:0;
    max-height:none;
    margin:0;
    overflow:visible;
    box-sizing:border-box;
  }
  body.admin-page .admin-vendor-onboarding-v2051515 .admin-onboarding-stats-v2051515,
  body[class*="route-admin"] .admin-vendor-onboarding-v2051515 .admin-onboarding-stats-v2051515{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}
@media (max-width:640px){
  body.admin-page :where(.admin-pro-page,.admin-page-shell,.admin-control-center-page,.admin-settings-page,.admin-payment-unified-page),
  body[class*="route-admin"] :where(.admin-pro-page,.admin-page-shell,.admin-control-center-page,.admin-settings-page,.admin-payment-unified-page){
    padding-inline:8px;
  }
  body.admin-page .admin-vendor-onboarding-v2051515 .admin-onboarding-stats-v2051515,
  body[class*="route-admin"] .admin-vendor-onboarding-v2051515 .admin-onboarding-stats-v2051515{
    grid-template-columns:1fr;
  }
  body.admin-page .admin-vendor-onboarding-v2051515 .admin-onboarding-hero-v2051515,
  body[class*="route-admin"] .admin-vendor-onboarding-v2051515 .admin-onboarding-hero-v2051515{
    padding:20px 16px;
  }
}


/* Phase 20.5.15.18.26.6 — Scoped Recovery Layer
   Reason: 26.5 global normalization was useful for most admin pages, but compressed
   /admin/vendor-onboarding on some desktop widths. This section is intentionally
   more specific than the generic shell rules above and does not affect database or routes.
*/
@media (min-width:981px){
  body.admin-page .admin-page-shell.admin-vendor-onboarding-v2051515,
  body[class*="route-admin"] .admin-page-shell.admin-vendor-onboarding-v2051515{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) var(--bz-admin-sidebar-w-v2051518266)!important;
    gap:var(--bz-admin-shell-gap-v2051518266)!important;
    align-items:start!important;
    direction:ltr!important;
    width:min(calc(100vw - (var(--bz-admin-shell-gutter-v2051518266) * 2)),var(--bz-admin-shell-max-v2051518266))!important;
    max-width:min(calc(100vw - (var(--bz-admin-shell-gutter-v2051518266) * 2)),var(--bz-admin-shell-max-v2051518266))!important;
    margin-inline:auto!important;
    padding-block:var(--bz-admin-shell-top-v2051518266) 72px!important;
    box-sizing:border-box!important;
    overflow:visible!important;
  }
  body.admin-page .admin-page-shell.admin-vendor-onboarding-v2051515 > :where(.admin-sidebar,.admin-sidebar-unified-v167,.settings-sidebar,.admin-sidebar-pro),
  body[class*="route-admin"] .admin-page-shell.admin-vendor-onboarding-v2051515 > :where(.admin-sidebar,.admin-sidebar-unified-v167,.settings-sidebar,.admin-sidebar-pro){
    grid-column:2!important;
    grid-row:1!important;
    direction:rtl!important;
    width:var(--bz-admin-sidebar-w-v2051518266)!important;
    max-width:var(--bz-admin-sidebar-w-v2051518266)!important;
    min-width:0!important;
    margin:0!important;
    align-self:start!important;
    justify-self:stretch!important;
    position:sticky!important;
    top:16px!important;
    max-height:calc(100vh - 32px)!important;
    overflow:auto!important;
    z-index:5!important;
  }
  body.admin-page .admin-page-shell.admin-vendor-onboarding-v2051515 > :where(.admin-main-pro,.admin-content,.settings-main,.main-pro),
  body[class*="route-admin"] .admin-page-shell.admin-vendor-onboarding-v2051515 > :where(.admin-main-pro,.admin-content,.settings-main,.main-pro){
    grid-column:1!important;
    grid-row:1!important;
    direction:rtl!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin:0!important;
    padding:0!important;
    overflow:visible!important;
    box-sizing:border-box!important;
  }
  body.admin-page .admin-page-shell.admin-vendor-onboarding-v2051515 .admin-onboarding-hero-v2051515,
  body[class*="route-admin"] .admin-page-shell.admin-vendor-onboarding-v2051515 .admin-onboarding-hero-v2051515{
    display:flex!important;
    flex-direction:row!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:clamp(18px,2vw,34px)!important;
    width:100%!important;
    max-width:100%!important;
    min-height:clamp(190px,18vw,270px)!important;
    padding:clamp(28px,3vw,52px)!important;
    text-align:right!important;
    overflow:hidden!important;
    box-sizing:border-box!important;
  }
  body.admin-page .admin-page-shell.admin-vendor-onboarding-v2051515 .admin-onboarding-hero-v2051515 > div,
  body[class*="route-admin"] .admin-page-shell.admin-vendor-onboarding-v2051515 .admin-onboarding-hero-v2051515 > div{
    min-width:0!important;
    flex:1 1 auto!important;
  }
  body.admin-page .admin-page-shell.admin-vendor-onboarding-v2051515 .admin-onboarding-hero-v2051515 h1,
  body[class*="route-admin"] .admin-page-shell.admin-vendor-onboarding-v2051515 .admin-onboarding-hero-v2051515 h1{
    font-size:clamp(30px,2.7vw,48px)!important;
    line-height:1.25!important;
    margin:10px 0 8px!important;
    white-space:normal!important;
  }
  body.admin-page .admin-page-shell.admin-vendor-onboarding-v2051515 .admin-onboarding-hero-v2051515 p,
  body[class*="route-admin"] .admin-page-shell.admin-vendor-onboarding-v2051515 .admin-onboarding-hero-v2051515 p{
    max-width:980px!important;
    line-height:1.85!important;
  }
  body.admin-page .admin-page-shell.admin-vendor-onboarding-v2051515 .admin-onboarding-hero-v2051515 > a,
  body[class*="route-admin"] .admin-page-shell.admin-vendor-onboarding-v2051515 .admin-onboarding-hero-v2051515 > a{
    flex:0 0 auto!important;
    min-width:120px!important;
    max-width:180px!important;
    white-space:normal!important;
    text-align:center!important;
  }
  body.admin-page .admin-page-shell.admin-vendor-onboarding-v2051515 .admin-onboarding-stats-v2051515,
  body[class*="route-admin"] .admin-page-shell.admin-vendor-onboarding-v2051515 .admin-onboarding-stats-v2051515{
    grid-template-columns:repeat(6,minmax(0,1fr))!important;
  }
  body.admin-page .admin-page-shell.admin-vendor-onboarding-v2051515 .admin-onboarding-table-wrap-v2051515 table,
  body[class*="route-admin"] .admin-page-shell.admin-vendor-onboarding-v2051515 .admin-onboarding-table-wrap-v2051515 table{
    min-width:1120px!important;
  }
}
@media (max-width:1280px) and (min-width:981px){
  body.admin-page .admin-page-shell.admin-vendor-onboarding-v2051515 .admin-onboarding-stats-v2051515,
  body[class*="route-admin"] .admin-page-shell.admin-vendor-onboarding-v2051515 .admin-onboarding-stats-v2051515{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
  }
}
@media (max-width:980px){
  body.admin-page .admin-page-shell.admin-vendor-onboarding-v2051515,
  body[class*="route-admin"] .admin-page-shell.admin-vendor-onboarding-v2051515{
    display:grid!important;
    grid-template-columns:1fr!important;
    direction:rtl!important;
  }
  body.admin-page .admin-page-shell.admin-vendor-onboarding-v2051515 > :where(.admin-main-pro,.admin-content,.settings-main,.main-pro),
  body[class*="route-admin"] .admin-page-shell.admin-vendor-onboarding-v2051515 > :where(.admin-main-pro,.admin-content,.settings-main,.main-pro){
    order:1!important;
    grid-column:1!important;
  }
  body.admin-page .admin-page-shell.admin-vendor-onboarding-v2051515 > :where(.admin-sidebar,.admin-sidebar-unified-v167,.settings-sidebar,.admin-sidebar-pro),
  body[class*="route-admin"] .admin-page-shell.admin-vendor-onboarding-v2051515 > :where(.admin-sidebar,.admin-sidebar-unified-v167,.settings-sidebar,.admin-sidebar-pro){
    order:2!important;
    grid-column:1!important;
    position:relative!important;
    width:100%!important;
    max-width:100%!important;
    max-height:none!important;
  }
}

/* Public category mega-menu guard on admin pages.
   Admin pages keep the top category strip visible, but public mega portals should not cover
   admin hero/cards while operators are working inside the control center. */
body.admin-page .bzp-mega-portal-v2051511,
body[class*="route-admin"] .bzp-mega-portal-v2051511,
body.admin-page .bzp-mega-bridge-v2051511,
body[class*="route-admin"] .bzp-mega-bridge-v2051511,
body.admin-page .market-header .mega-holder > :where(.mega-menu,.mega-menu-v30),
body[class*="route-admin"] .market-header .mega-holder > :where(.mega-menu,.mega-menu-v30){
  display:none!important;
  opacity:0!important;
  visibility:hidden!important;
  pointer-events:none!important;
}

/* Phase 20.5.15.18.26.7 — Vendor Onboarding Final Top Offset Polish & Regression QA Lock
   Scope: /admin/vendor-onboarding only, plus harmless action button spacing.
   Intent: preserve the good dashboard/admin pages, recover full hero visibility, align sidebar start,
   and make table action buttons breathe without changing database or admin routes.
*/
@media (min-width:981px){
  body.admin-page .admin-page-shell.admin-vendor-onboarding-v2051515,
  body[class*="route-admin"] .admin-page-shell.admin-vendor-onboarding-v2051515{
    padding-block-start:clamp(34px,2.5vw,48px)!important;
    scroll-margin-top:calc(var(--bz-header-total-height-v2051518262, 180px) + 18px)!important;
  }
  body.admin-page .admin-page-shell.admin-vendor-onboarding-v2051515 > :where(.admin-main-pro,.admin-content,.settings-main,.main-pro),
  body[class*="route-admin"] .admin-page-shell.admin-vendor-onboarding-v2051515 > :where(.admin-main-pro,.admin-content,.settings-main,.main-pro){
    align-self:start!important;
    padding-top:0!important;
    margin-top:0!important;
  }
  body.admin-page .admin-page-shell.admin-vendor-onboarding-v2051515 .admin-onboarding-hero-v2051515,
  body[class*="route-admin"] .admin-page-shell.admin-vendor-onboarding-v2051515 .admin-onboarding-hero-v2051515{
    margin-block-start:0!important;
    min-height:clamp(206px,17vw,286px)!important;
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    overflow:hidden!important;
    transform:none!important;
  }
  body.admin-page .admin-page-shell.admin-vendor-onboarding-v2051515 > :where(.admin-sidebar,.admin-sidebar-unified-v167,.settings-sidebar,.admin-sidebar-pro),
  body[class*="route-admin"] .admin-page-shell.admin-vendor-onboarding-v2051515 > :where(.admin-sidebar,.admin-sidebar-unified-v167,.settings-sidebar,.admin-sidebar-pro){
    top:clamp(18px,1.4vw,26px)!important;
    align-self:start!important;
    margin-top:0!important;
  }
  body.admin-page .admin-page-shell.admin-vendor-onboarding-v2051515 .actions-cell-v2051515,
  body[class*="route-admin"] .admin-page-shell.admin-vendor-onboarding-v2051515 .actions-cell-v2051515{
    display:flex!important;
    flex-wrap:wrap!important;
    align-items:center!important;
    justify-content:flex-start!important;
    gap:8px!important;
    min-width:230px!important;
  }
  body.admin-page .admin-page-shell.admin-vendor-onboarding-v2051515 .actions-cell-v2051515 a,
  body[class*="route-admin"] .admin-page-shell.admin-vendor-onboarding-v2051515 .actions-cell-v2051515 a{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    min-height:34px!important;
    padding:8px 12px!important;
    line-height:1.25!important;
    white-space:nowrap!important;
    border-radius:999px!important;
  }
  body.admin-page .admin-page-shell.admin-vendor-onboarding-v2051515 .admin-onboarding-table-wrap-v2051515 table,
  body[class*="route-admin"] .admin-page-shell.admin-vendor-onboarding-v2051515 .admin-onboarding-table-wrap-v2051515 table{
    min-width:1240px!important;
  }
}
@media (max-width:980px){
  body.admin-page .admin-page-shell.admin-vendor-onboarding-v2051515,
  body[class*="route-admin"] .admin-page-shell.admin-vendor-onboarding-v2051515{
    padding-top:18px!important;
  }
  body.admin-page .admin-page-shell.admin-vendor-onboarding-v2051515 .admin-onboarding-hero-v2051515,
  body[class*="route-admin"] .admin-page-shell.admin-vendor-onboarding-v2051515 .admin-onboarding-hero-v2051515{
    margin-top:0!important;
    min-height:auto!important;
  }
  body.admin-page .admin-page-shell.admin-vendor-onboarding-v2051515 .actions-cell-v2051515,
  body[class*="route-admin"] .admin-page-shell.admin-vendor-onboarding-v2051515 .actions-cell-v2051515{
    display:flex!important;
    flex-wrap:wrap!important;
    gap:8px!important;
  }
}

/* Phase 20.5.15.18.26.8 — Admin Sidebar Top Baseline & Table Actions Alignment Lock
   Scope: visual layout only. No database/routes/business changes.
   Purpose: keep sidebar start aligned with the first hero block across admin pages and restore table-row border alignment by avoiding flex on <td> cells.
*/
:root{
  --bz-admin-sidebar-top-v2051518268:0px;
  --bz-admin-shell-page-top-v2051518268:clamp(24px,1.7vw,34px);
}
@media (min-width:981px){
  body.admin-page :where(.admin-shell,.admin-page-shell,.admin-settings-shell,.settings-shell),
  body[class*="route-admin"] :where(.admin-shell,.admin-page-shell,.admin-settings-shell,.settings-shell){
    align-items:start!important;
  }
  body.admin-page :where(.admin-shell,.admin-page-shell,.admin-settings-shell,.settings-shell) > :where(.admin-sidebar,.admin-sidebar-unified-v167,.settings-sidebar,.admin-sidebar-pro),
  body[class*="route-admin"] :where(.admin-shell,.admin-page-shell,.admin-settings-shell,.settings-shell) > :where(.admin-sidebar,.admin-sidebar-unified-v167,.settings-sidebar,.admin-sidebar-pro){
    align-self:start!important;
    justify-self:stretch!important;
    margin-top:0!important;
    margin-block-start:0!important;
    padding-top:18px!important;
    transform:none!important;
    top:var(--bz-admin-sidebar-top-v2051518268)!important;
  }
  body.admin-page :where(.admin-shell,.admin-page-shell,.admin-settings-shell,.settings-shell) > :where(.admin-main-pro,.admin-content,.settings-main,.main-pro,.admin-payment-main,.payment-main),
  body[class*="route-admin"] :where(.admin-shell,.admin-page-shell,.admin-settings-shell,.settings-shell) > :where(.admin-main-pro,.admin-content,.settings-main,.main-pro,.admin-payment-main,.payment-main){
    align-self:start!important;
    margin-top:0!important;
    padding-top:0!important;
  }

  /* Specific pages with inline legacy sidebar top values: normalize without changing their hero/cards. */
  body.admin-page :where(.admin-time-settings-page-v18952858947,.codrev-admin-polish-v189528561,.admin-home-sections-page-v1863) .admin-shell > :where(.admin-sidebar,.admin-sidebar-unified-v167),
  body[class*="route-admin"] :where(.admin-time-settings-page-v18952858947,.codrev-admin-polish-v189528561,.admin-home-sections-page-v1863) .admin-shell > :where(.admin-sidebar,.admin-sidebar-unified-v167){
    position:sticky!important;
    top:var(--bz-admin-sidebar-top-v2051518268)!important;
    margin-top:0!important;
    align-self:start!important;
  }

  /* Vendor onboarding final table alignment: table cells stay cells; inner wrapper handles button flex. */
  body.admin-page .admin-page-shell.admin-vendor-onboarding-v2051515 .admin-onboarding-table-wrap-v2051515 table,
  body[class*="route-admin"] .admin-page-shell.admin-vendor-onboarding-v2051515 .admin-onboarding-table-wrap-v2051515 table{
    border-collapse:separate!important;
    border-spacing:0!important;
  }
  body.admin-page .admin-page-shell.admin-vendor-onboarding-v2051515 .admin-onboarding-table-wrap-v2051515 :where(th,td),
  body[class*="route-admin"] .admin-page-shell.admin-vendor-onboarding-v2051515 .admin-onboarding-table-wrap-v2051515 :where(th,td){
    vertical-align:middle!important;
    box-sizing:border-box!important;
  }
  body.admin-page .admin-page-shell.admin-vendor-onboarding-v2051515 td.actions-cell-v2051515,
  body[class*="route-admin"] .admin-page-shell.admin-vendor-onboarding-v2051515 td.actions-cell-v2051515{
    display:table-cell!important;
    min-width:250px!important;
    vertical-align:middle!important;
    padding-block:14px!important;
    border-top-color:#e8eef7!important;
    border-bottom-color:#e8eef7!important;
  }
  body.admin-page .admin-page-shell.admin-vendor-onboarding-v2051515 .actions-cell-inner-v2051518268,
  body[class*="route-admin"] .admin-page-shell.admin-vendor-onboarding-v2051515 .actions-cell-inner-v2051518268{
    display:flex!important;
    flex-wrap:wrap!important;
    align-items:center!important;
    justify-content:flex-start!important;
    gap:9px!important;
    min-height:38px!important;
    width:100%!important;
  }
  body.admin-page .admin-page-shell.admin-vendor-onboarding-v2051515 .actions-cell-v2051515 .actions-cell-inner-v2051518268 a,
  body[class*="route-admin"] .admin-page-shell.admin-vendor-onboarding-v2051515 .actions-cell-v2051515 .actions-cell-inner-v2051518268 a{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    min-height:34px!important;
    padding:8px 13px!important;
    line-height:1.25!important;
    white-space:nowrap!important;
    border-radius:999px!important;
    margin:0!important;
  }
}
@media (max-width:980px){
  body.admin-page .admin-page-shell.admin-vendor-onboarding-v2051515 td.actions-cell-v2051515,
  body[class*="route-admin"] .admin-page-shell.admin-vendor-onboarding-v2051515 td.actions-cell-v2051515{
    display:table-cell!important;
    vertical-align:middle!important;
  }
  body.admin-page .admin-page-shell.admin-vendor-onboarding-v2051515 .actions-cell-inner-v2051518268,
  body[class*="route-admin"] .admin-page-shell.admin-vendor-onboarding-v2051515 .actions-cell-inner-v2051518268{
    display:flex!important;
    flex-wrap:wrap!important;
    gap:8px!important;
  }
}
