/* Shared product navigation: keep layout and icon framing identical on both sites. */
.suite-header { container-type: inline-size; }
.suite-header .header-inner {
  display: grid;
  grid-template-columns: auto auto 1fr;
  grid-template-areas: "products credit navigation";
  align-items: end;
  gap: 0 24px;
  min-height: 88px;
  padding-block: 16px 0;
}
.suite-header .brand-credit {
  grid-area: credit;
  margin-bottom: 10px;
}
.suite-header .page-nav {
  grid-area: navigation;
  justify-self: end;
  justify-content: flex-end;
  margin-bottom: 10px;
  gap: 8px 22px;
}
.suite-header .product-tabs {
  grid-area: products;
  display: flex;
  align-items: stretch;
  flex-wrap: nowrap;
  gap: 8px;
  width: auto;
}
/* The selected folder stays warm white in either appearance so selection is unmistakable. */
.product-tab {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 64px;
  padding: 10px 14px 12px;
  border: 1px solid #69737a;
  border-bottom: 0;
  border-radius: 14px 14px 0 0;
  background: #272d31;
  color: var(--sidebar-secondary);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -.5px;
  white-space: nowrap;
  transition: background-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
}
.product-tab:not([aria-current="true"]) { margin-top: 5px; min-height: 59px; }
.product-tab:hover { background: #394247; color: var(--sidebar-text); }
.product-tab[aria-current="true"] {
  z-index: 1;
  color: #2d3337;
  background: #faf9f7;
  border-color: #faf9f7;
  box-shadow: 0 -3px 14px #00000024, inset 0 2px #fff;
}
.product-tab > span:last-child { position: relative; }
.product-tab[aria-current="true"] > span:last-child::after {
  content: "";
  position: absolute;
  bottom: -7px;
  left: 0;
  right: 0;
  height: 2px;
  border-radius: 2px;
  background: #b93236;
}
.suite-header .product-tab:focus-visible {
  outline: 3px solid #f07879;
  outline-offset: -5px;
}
.suite-header .product-tab[aria-current="true"]:focus-visible {
  outline-color: #b93236;
}
.product-tab .product-icon { width: 34px; height: 34px; border-radius: 7px; }
.product-tab .product-icon img { width: calc(34px * 4 / 3); height: calc(34px * 4 / 3); }
@media (prefers-reduced-motion: reduce) {
  .product-tab { transition: none; }
}
.product-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 42px;
  height: 42px;
  overflow: hidden;
  border-radius: 9px;
}
/* Native PNGs include 16px canvas padding. Frame their white tiles, not the canvas. */
.product-icon img {
  flex: none;
  width: 56px;
  height: 56px;
  max-width: none;
}
@container (max-width: 1180px) {
  .suite-header .header-inner {
    grid-template-columns: 1fr auto;
    grid-template-areas: "credit navigation" "products products";
    gap: 0 24px;
    padding-top: 10px;
  }
  .suite-header .brand-credit,
  .suite-header .page-nav { margin-bottom: 12px; }
  .suite-header .product-tabs { justify-self: start; }
}
@container (max-width: 680px) {
  .suite-header .header-inner {
    grid-template-columns: 1fr;
    grid-template-areas: "credit" "navigation" "products";
    gap: 0;
  }
  .suite-header .brand-credit { margin-bottom: 0; font-size: .9375rem; }
  .suite-header .page-nav { justify-self: stretch; justify-content: space-between; gap: 6px 14px; }
  .suite-header .product-tabs { width: 100%; }
  .product-tab { flex: 1; min-width: 0; min-height: 64px; padding-inline: 12px; font-size: 20px; }
  .product-prefix { display: none; }
}
