/* Shared admin shell: keep the rail and its branding invariant across workspaces. */
@media (min-width: 901px) {
  .admin {
    grid-template-columns: 280px minmax(0, 1fr) !important;
  }

  .admin > .admin-sidebar {
    width: 280px !important;
    min-width: 280px !important;
    max-width: 280px !important;
    flex: 0 0 280px !important;
    transform: none !important;
    zoom: 1 !important;
    box-sizing: border-box;
    scrollbar-gutter: stable;
  }
}

.admin-sidebar .admin-brand {
  box-sizing: border-box;
  width: 100%;
}

.admin-sidebar .admin-nav-tree,
.admin-sidebar .admin-nav-primary,
.admin-sidebar .admin-nav-group,
.admin-sidebar .admin-nav-children {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
}

.admin-sidebar .admin-nav-tree {
  overflow-y: scroll !important;
  scrollbar-gutter: stable;
}

.admin-sidebar .admin-nav-primary > a,
.admin-sidebar .admin-nav-group-title,
.admin-sidebar .admin-nav-children > a,
.admin-sidebar .admin-nav-children > button {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  margin-left: 0;
  margin-right: 0;
}

.admin-sidebar .admin-nav-children > a,
.admin-sidebar .admin-nav-children > button {
  display: grid !important;
  grid-template-columns: 24px minmax(0, 1fr);
  align-items: center;
  column-gap: 0;
  min-height: 40px !important;
  padding: 7px 8px !important;
  font-size: 12.5px !important;
  font-weight: 600 !important;
  line-height: 1.35;
}

.admin-sidebar .admin-nav-children .admin-nav-icon {
  width: 24px !important;
  min-width: 24px;
  height: 20px;
  font-size: 13px !important;
  line-height: 20px;
  place-items: center;
}

.admin-nav-disabled {
  width: 100%;
  display: grid !important;
  grid-template-columns: 24px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  opacity: .62;
  cursor: not-allowed !important;
  pointer-events: none;
}

.admin-nav-disabled small {
  border-radius: 999px;
  padding: 3px 6px;
  background: #dff4fc;
  color: #087cac;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .04em;
}

/* Moderate heading scale while retaining the four explicit type-scale levels. */
.store-shell .hero h1 {
  font-size: clamp(calc(38px * var(--type-scale, 1)), calc(5.4vw * var(--type-scale, 1)), calc(70px * var(--type-scale, 1))) !important;
}
.store-shell .hero-editorial h1,
.store-shell .hero-carousel h1 {
  font-size: clamp(calc(42px * var(--type-scale, 1)), calc(6.2vw * var(--type-scale, 1)), calc(80px * var(--type-scale, 1))) !important;
}
.store-shell .hero-video h1 {
  font-size: clamp(calc(39px * var(--type-scale, 1)), calc(5.4vw * var(--type-scale, 1)), calc(70px * var(--type-scale, 1))) !important;
}
.store-shell .section-title h2 { font-size: calc(29px * var(--type-scale, 1)) !important; }
.store-shell .content-block-copy h2 { font-size: clamp(calc(26px * var(--type-scale, 1)), calc(2.7vw * var(--type-scale, 1)), calc(40px * var(--type-scale, 1))) !important; }
.store-shell .reviews-heading h2 { font-size: clamp(calc(28px * var(--type-scale, 1)), calc(3.6vw * var(--type-scale, 1)), calc(44px * var(--type-scale, 1))) !important; }
.store-shell .benefits-section > header h2 { font-size: clamp(calc(29px * var(--type-scale, 1)), calc(3.6vw * var(--type-scale, 1)), calc(47px * var(--type-scale, 1))) !important; }

@media (max-width: 600px) {
  .store-shell .hero h1,
  .store-shell .hero-editorial h1,
  .store-shell .hero-carousel h1,
  .store-shell .hero-video h1 {
    overflow-wrap: anywhere;
    font-size: clamp(calc(27px * var(--type-scale, 1)), calc(8.6vw * var(--type-scale, 1)), calc(38px * var(--type-scale, 1))) !important;
  }
  .store-shell .section-title h2 {
    font-size: clamp(calc(21px * var(--type-scale, 1)), calc(6.2vw * var(--type-scale, 1)), calc(29px * var(--type-scale, 1))) !important;
  }
}

.preview-mobile .store-shell .hero h1,
.preview-mobile .store-shell .hero-editorial h1,
.preview-mobile .store-shell .hero-carousel h1,
.preview-mobile .store-shell .hero-video h1 {
  overflow-wrap: anywhere;
  font-size: clamp(calc(27px * var(--type-scale, 1)), calc(8.6vw * var(--type-scale, 1)), calc(38px * var(--type-scale, 1))) !important;
}
.preview-mobile .store-shell .section-title h2 {
  font-size: clamp(calc(21px * var(--type-scale, 1)), calc(6.2vw * var(--type-scale, 1)), calc(29px * var(--type-scale, 1))) !important;
}

.mtt-global-save-toast {
  position: fixed;
  z-index: 2147482500;
  right: 24px;
  bottom: 24px;
  padding: 12px 17px;
  border: 1px solid #a9ddc6;
  border-radius: 10px;
  background: #effbf5;
  color: #126c49;
  box-shadow: 0 10px 30px rgb(15 60 42 / 16%);
  font-weight: 700;
}
