/* Merchant shell: restrained brand row and independent business navigation. */
html body.bs-admin.bs-merchant > header.bs-workspace-header {
  display: block !important;
  padding: 0 !important;
  background: #fff !important;
  border: 0 !important;
  border-bottom: 1px solid #dde4d1 !important;
  color: #43513c !important;
  box-shadow: 0 3px 14px rgb(53 74 44 / 4%);
}
.bs-workspace-header .bs-workspace-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 12px 24px;
  box-sizing: border-box;
}
html body.bs-admin > header.bs-workspace-header a.bs-workspace-brand,
html body.bs-admin > header.bs-workspace-header a.bs-workspace-brand:hover {
  display: block;
  flex: 0 0 auto;
  width: 276px;
  padding: 0;
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0;
}
.bs-workspace-brand img { display: block; width: 100%; height: 68px; object-fit: cover; }
.bs-workspace-tools { display: flex; align-items: center; justify-content: flex-end; gap: 20px; }
html body.bs-admin > header.bs-workspace-header nav.bs-workspace-languages {
  display: inline-flex;
  gap: 3px;
  padding: 4px;
  border: 1px solid #e0e6d7;
  border-radius: 11px;
  background: #f8faf3;
}
html body.bs-admin > header.bs-workspace-header .bs-workspace-languages a {
  padding: 6px 10px;
  border-radius: 7px;
  color: #68765d !important;
  background: transparent !important;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  text-decoration: none;
  white-space: nowrap;
}
html body.bs-admin > header.bs-workspace-header .bs-workspace-languages a[lang="en"] { font-family: "BuildStudio EN", sans-serif !important; }
html body.bs-admin > header.bs-workspace-header .bs-workspace-languages a[lang="ja"] { font-family: "BuildStudio JP", sans-serif !important; }
html body.bs-admin > header.bs-workspace-header .bs-workspace-languages a[lang="zh"] { font-family: "BuildStudio SC", sans-serif !important; }
html body.bs-admin > header.bs-workspace-header .bs-workspace-languages a[aria-current="true"] {
  color: #fff !important;
  background: var(--bs-brand-green-fill) !important;
  box-shadow: 0 2px 5px rgb(61 83 32 / 10%);
}
html body.bs-admin > header.bs-workspace-header a.bs-workspace-native,
html body.bs-admin > header.bs-workspace-header a.bs-workspace-native:hover {
  color: #6c7c5b !important;
  background: transparent !important;
  padding: 6px 0 6px 18px;
  border-left: 1px solid #e0e6d7;
  border-radius: 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  text-decoration: none;
  white-space: nowrap;
}
html body.bs-admin > header.bs-workspace-header nav.bs-workspace-nav {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 6px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 10px 24px 14px;
  box-sizing: border-box;
  border-top: 1px solid #f0f3e9;
  overflow-x: auto;
  scrollbar-width: thin;
  scroll-snap-type: x proximity;
}
html body.bs-admin > header.bs-workspace-header .bs-workspace-nav a {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  padding: 10px 14px;
  color: #59694b !important;
  background: transparent !important;
  border-radius: 9px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  text-decoration: none;
  white-space: nowrap;
  scroll-snap-align: start;
  transition: background-color 160ms ease, box-shadow 160ms ease;
}
html body.bs-admin > header.bs-workspace-header .bs-workspace-nav a[aria-current="page"] {
  color: #fff !important;
  background: var(--bs-brand-green-fill) !important;
  font-weight: 600;
  box-shadow: 0 3px 7px rgb(61 83 32 / 12%);
}
@media (hover: hover) and (pointer: fine) {
  html body.bs-admin > header.bs-workspace-header .bs-workspace-nav a:hover:not([aria-current="page"]),
  html body.bs-admin > header.bs-workspace-header .bs-workspace-languages a:hover:not([aria-current="true"]) { background: #f0f4e7 !important; }
  html body.bs-admin > header.bs-workspace-header a.bs-workspace-native:hover { color: #435b2e !important; text-decoration: underline; }
}
html body.bs-admin > header.bs-workspace-header a:focus-visible { outline: 2px solid #a7730d; outline-offset: 3px; }
@media (max-width: 620px) {
  .bs-workspace-header .bs-workspace-top { flex-direction: column; align-items: stretch; gap: 8px; padding: 8px 16px 12px; }
  html body.bs-admin > header.bs-workspace-header a.bs-workspace-brand { width: 236px; }
  .bs-workspace-brand img { height: 58px; }
  .bs-workspace-tools { justify-content: space-between; gap: 10px; }
  html body.bs-admin > header.bs-workspace-header nav.bs-workspace-nav { padding: 8px 16px 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html body.bs-admin > header.bs-workspace-header .bs-workspace-nav a { transition: none; }
}

/* Language tools contain language choices only. Management stays in business navigation. */
html body.bs-admin > header.bs-workspace-header .bs-workspace-nav a.bs-workspace-native {
  margin-left: auto;
  padding: 8px 0 8px 18px;
  font-size: 14px;
  font-weight: 500;
  color: #6c7c5b !important;
  background: transparent !important;
  border-left: 1px solid #e0e6d7;
  border-radius: 0;
}