body #sanbo-header.sb-header .sb-header-inner { gap: clamp(12px, 2vw, 26px); }
body #sanbo-header.sb-header nav { min-width: 0; gap: clamp(12px, 1.5vw, 24px); }
body #sanbo-header.sb-header .sb-contact { flex: 0 0 auto; }
body #sanbo-header.sb-header .sb-language { position: relative; flex: 0 0 auto; z-index: 2; }
.sb-language summary {
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 11px;
  border: 1px solid #ffffff46;
  border-radius: 999px;
  background: #272b2f;
  color: #f2f3f4;
  cursor: pointer;
  font: 600 12px/1 Arial, sans-serif;
  list-style: none;
  transition: border-color .18s, background-color .18s;
}
.sb-language summary::-webkit-details-marker { display: none; }
.sb-language summary:is(:hover, :focus-visible), .sb-language[open] summary { border-color: #aeb8c0; background: #363c41; }
.sb-language summary:focus-visible, #sanbo-header .sb-language a:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.sb-language-globe { width: 17px; height: 17px; }
.sb-language-caret { width: 13px; height: 13px; transition: transform .18s; }
.sb-language[open] .sb-language-caret { transform: rotate(180deg); }
.sb-language-list {
  position: absolute;
  inset: calc(100% + 8px) 0 auto auto;
  width: 155px;
  max-width: calc(100vw - 40px);
  margin: 0;
  padding: 5px;
  list-style: none;
  border: 1px solid #ffffff2f;
  border-radius: 16px;
  background: #272b2f;
  box-shadow: 0 10px 24px #0005;
}
.sb-language[open] .sb-language-list { animation: sb-language-in .18s ease-out both; }
@keyframes sb-language-in {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}
#sanbo-header .sb-language-list a {
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 6px 10px;
  border-radius: 10px;
  color: #e8eaed;
  font: 14px/1.3 Arial, sans-serif;
}
#sanbo-header .sb-language-list a:is(:hover, :focus-visible, [aria-current]) { background: #434a51; color: #fff; }

html[data-sb-language]:not([data-sb-language="zh"]) :is(#sanbo-site, .ab, .sb-about-hero, #sanbo-footer) {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, "Microsoft YaHei", sans-serif;
}
html[data-sb-language]:not([data-sb-language="zh"]) :is(#sanbo-site, .ab, .sb-about-hero, #sanbo-footer) :is(h1, h2, h3, h4) {
  word-break: normal;
  overflow-wrap: anywhere;
  hyphens: manual;
  text-wrap: balance;
  letter-spacing: -.025em;
}
html[data-sb-language]:not([data-sb-language="zh"]) #sanbo-site.corp-site .hero .chapter-copy :is(h1, h2) {
  max-inline-size: 18ch;
  font: 620 clamp(34px, 4vw, 64px)/1.05 "Segoe UI", system-ui, sans-serif;
  letter-spacing: -.035em;
  text-transform: none;
}
html[data-sb-language]:not([data-sb-language="zh"]) #sanbo-site.corp-site .hero .chapter-copy :is(h1, h2) em {
  display: block;
  font: inherit;
}
html[data-sb-language]:not([data-sb-language="zh"]) #sanbo-site.corp-site .hero .chapter-copy .eyebrow {
  font: 650 11px/1.4 "Segoe UI", system-ui, sans-serif;
  letter-spacing: .11em;
  text-transform: none;
}
html[data-sb-language]:not([data-sb-language="zh"]) #sanbo-site.corp-site .hero .hero-copy .eyebrow {
  display: none;
}
html[data-sb-language]:not([data-sb-language="zh"]) #sanbo-site.corp-site .hero .chapter-copy :is(.chapter-description, .hero-description) {
  max-inline-size: min(100%, 43ch);
  font: 400 clamp(15px, 1.2vw, 18px)/1.48 "Segoe UI", system-ui, sans-serif;
  letter-spacing: 0;
  text-wrap: pretty;
}
html[data-sb-language]:not([data-sb-language="zh"]) #sanbo-site.corp-site .hero .hero-end :is(h2, .chapter-description) {
  margin-inline: auto;
}
html[data-sb-language]:not([data-sb-language="zh"]) #sanbo-site .sb-native-journey :is(.framer-q1iyi8, .framer-c1g53j, .framer-1am92kz) .framer-text {
  font: 540 clamp(20px, 1.8vw, 27px)/1.13 system-ui, sans-serif;
  white-space: normal;
  text-wrap: balance;
  overflow-wrap: anywhere;
}
html[data-sb-language]:not([data-sb-language="zh"]) #sanbo-site .terminal-home .tm-evidence-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 146px), 1fr));
}
html[data-sb-language]:not([data-sb-language="zh"]) #sanbo-site .terminal-home .tm-evidence-grid a {
  min-width: 0;
  height: auto;
  min-height: clamp(78px, 9vw, 138px);
  padding: 14px;
  font-size: clamp(15px, 1.25vw, 19px);
  line-height: 1.3;
  letter-spacing: -.01em;
  text-align: center;
  text-wrap: balance;
  overflow-wrap: anywhere;
}
html[data-sb-language]:not([data-sb-language="zh"]) #sanbo-site:is([data-page="products"], [data-page="product"]) .catalog-card h3 {
  font-size: clamp(16px, 1.4vw, 22px);
  font-weight: 550;
  line-height: 1.24;
  letter-spacing: -.015em;
}
html[data-sb-language]:not([data-sb-language="zh"]) #sanbo-site[data-page="product"] #detail-title {
  font-size: clamp(27px, 3vw, 46px);
  font-weight: 650;
  line-height: 1.1;
}
html[data-sb-language]:not([data-sb-language="zh"]) #sanbo-site[data-page="product"] .detail-facts {
  container-type: inline-size;
}
html[data-sb-language]:not([data-sb-language="zh"]) #sanbo-site[data-page="product"] .detail-facts dl > div {
  grid-template-columns: minmax(8.5em, 26%) minmax(0, 1fr);
  gap: 16px;
}
html[data-sb-language]:not([data-sb-language="zh"]) #sanbo-site[data-page="product"] .detail-facts :is(dt, dd) {
  min-width: 0;
  overflow-wrap: anywhere;
}
@container (max-width: 295px) {
  html[data-sb-language]:not([data-sb-language="zh"]) #sanbo-site[data-page="product"] .detail-facts dl > div {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }
}
html[data-sb-language]:not([data-sb-language="zh"]) #sanbo-site :is(.guide-sidebar a, .contact-card, .quality-button, .catalog-purchase) {
  overflow-wrap: anywhere;
}
html[data-sb-language]:not([data-sb-language="zh"]) #sanbo-site :is(.tm-intro h2, .tm-contact-copy h2) { font-size: clamp(28px, 4vw, 62px); }
html[data-sb-language]:not([data-sb-language="zh"]) #sanbo-site :is(.tm-tabs button, .quality-button, .catalog-purchase) {
  white-space: normal;
  height: auto;
  min-height: 44px;
  text-align: center;
  line-height: 1.25;
}
html[data-sb-language] #sanbo-site[data-page="products"] .catalog-filter-bar { top: var(--sb-language-header, var(--catalog-header-offset)); }
html[data-sb-language]:not([data-sb-language="zh"]) #sanbo-site[data-page="products"] #category-filters { flex-wrap: nowrap; overflow: auto; }
html[data-sb-language]:not([data-sb-language="zh"]) #sanbo-site[data-page="products"] #category-filters button { flex: none; white-space: nowrap; }
html[data-sb-language]:not([data-sb-language="zh"]) #sanbo-site :is(.quality-grid > *, .product-grid > *, .catalog-card-copy, .contact-layout > *, .detail-layout > *, .tm-planner-grid > *, .tm-contact > *, .tm-steps-inner > *) { min-width: 0; }
html[data-sb-language]:not([data-sb-language="zh"]) #sanbo-site :is(.tm-app-copy, .quality-panel, .catalog-card-copy) p { overflow-wrap: break-word; }
@media (max-width: 1200px) {
  html[data-sb-language] body #sanbo-header.sb-header nav {
    justify-content: flex-start;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
  }
}
@media (max-width: 900px) {
  body #sanbo-header.sb-header .sb-header-inner { column-gap: 8px; row-gap: 0; }
  body #sanbo-header.sb-header .sb-language { margin-left: auto; }
  body #sanbo-header.sb-header .sb-contact { margin-left: 0; min-width: 0; padding-inline: 12px; }
  html[data-sb-language]:not([data-sb-language="zh"]) #sanbo-site.corp-site .hero .chapter-copy :is(h1, h2) {
    max-inline-size: 100%;
    font-size: clamp(26px, 6.5vw, 42px);
  }
}
@media (max-width: 650px) {
  html[data-sb-language]:not([data-sb-language="zh"]) #sanbo-site .hero :is(.hero-copy, .chapter-detail, .chapter-worktable) { top: max(142px, 22%); }
  html[data-sb-language]:not([data-sb-language="zh"]) #sanbo-site .hero :is(.hero-copy, .chapter-detail, .chapter-worktable) :is(h1, h2) { margin-block: 8px 10px; }
  html[data-sb-language]:not([data-sb-language="zh"]) #sanbo-site .hero .hero-end { top: max(146px, 18%); }
  html[data-sb-language]:not([data-sb-language="zh"]) #sanbo-site .terminal-home .tm-step .tm-reading { font-size: 14px; line-height: 1.43; }
  html[data-sb-language]:not([data-sb-language="zh"]) #sanbo-site .terminal-home .tm-app-copy { padding: 18px; }
  html[data-sb-language]:not([data-sb-language="zh"]) #sanbo-site .terminal-home .tm-app-copy > p:not(.tm-mono) { font-size: 15px; line-height: 1.5; }
}
@media (prefers-reduced-motion: reduce) {
  .sb-language[open] .sb-language-list { animation: none; }
  .sb-language summary, .sb-language-caret { transition: none; }
}
@media (min-width: 901px) {
  html[data-sb-language]:not([data-sb-language="zh"]) #sanbo-site.corp-site .hero .chapter-copy:not(.hero-end) {
    top: 29%;
    height: auto;
  }
  html[data-sb-language]:not([data-sb-language="zh"]) #sanbo-site.corp-site .hero .chapter-copy:not(.hero-end) :is(h1, h2, .eyebrow, .hero-description, .chapter-description, .hero-guide) {
    position: static;
    transform: none;
    margin-block: 10px;
  }
}
@media (max-width: 650px) {
  html[data-sb-language] body #sanbo-header.sb-header .sb-header-inner > .sb-brand { width: min(27vw, 100px); }
  html[data-sb-language] body #sanbo-header.sb-header .sb-contact { padding-inline: 9px; white-space: nowrap; }
  .sb-language summary { padding-inline: 7px; gap: 4px; }
  html[data-sb-language]:not([data-sb-language="zh"]) #sanbo-site .sb-featured { padding-inline: 20px; }
  html[data-sb-language]:not([data-sb-language="zh"]) #sanbo-site .sb-featured-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  html[data-sb-language]:not([data-sb-language="zh"]) #sanbo-site .sb-featured-label { position: static; padding: 8px; opacity: 1; }
  html[data-sb-language]:not([data-sb-language="zh"]) #sanbo-site .sb-featured-card::after { display: none; }
  html[data-sb-language]:not([data-sb-language="zh"]) #sanbo-site .terminal-home .tm-planner-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  html[data-sb-language]:not([data-sb-language="zh"]) #sanbo-site .terminal-home .tm-contact { width: calc(100% - 40px); padding-inline: 0; }
}
