/* mobile-app-fix: Capacitor / narrow screens */
@media (max-width: 900px) {
  .site-logo-img {
    height: 2.5rem !important;
    max-width: min(148px, 38vw) !important;
    width: auto !important;
    object-fit: contain !important;
    display: block !important;
  }
  /* mob-subnav-scroll-20260827 — single horizontal chip row, not 2-col grid */
  .site-subnav-track {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: 0.35rem !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    padding-bottom: 0.2rem !important;
  }
  .site-subnav-track::-webkit-scrollbar {
    display: none !important;
  }
  .site-subnav-main {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    flex: 0 0 auto !important;
    gap: 0.35rem !important;
    width: auto !important;
    min-width: 0 !important;
  }
  .site-subnav-main .site-subnav-link,
  .site-subnav-main .site-subnav-link.has-mega {
    flex: 0 0 auto !important;
    max-width: none !important;
    width: auto !important;
    box-sizing: border-box !important;
    white-space: nowrap !important;
    font-size: 0.88rem !important;
    min-height: 2.05rem !important;
    padding: 0.36rem 0.62rem !important;
    text-align: center !important;
  }
  .site-subnav-actions,
  .site-subnav-end {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    flex: 0 0 auto !important;
    gap: 0.35rem !important;
    width: auto !important;
    margin-left: 0.15rem !important;
    padding-right: 0 !important;
  }
  .site-subnav-actions .site-subnav-link.is-accent,
  .site-subnav-end a.site-subnav-link.is-accent {
    flex: 0 0 auto !important;
    max-width: none !important;
    min-width: 0 !important;
    font-size: 0.86rem !important;
    white-space: nowrap !important;
    overflow: visible !important;
    text-overflow: clip !important;
    padding: 0.36rem 0.55rem !important;
  }
  .site-subnav-actions .site-subnav-link.is-dashboard,
  .site-subnav-end a.site-subnav-link.is-member,
  .site-subnav-end a.site-subnav-link[href*="dashboard"] {
    flex: 0 0 auto !important;
    max-width: none !important;
    min-width: 0 !important;
    font-size: 0.86rem !important;
    white-space: nowrap !important;
  }
}

/* mobile-rail-fix-20260827: hide duplicate right rail on phone; support bottom App btn */
@media (max-width: 900px) {
  .live-chat .live-chat-rail,
  .live-chat .chat-rail {
    display: none !important;
  }
  .live-chat-panel {
    bottom: calc(5.75rem + env(safe-area-inset-bottom)) !important;
    left: 0.75rem !important;
    right: 0.75rem !important;
    top: auto !important;
    transform: none !important;
    max-height: calc(100vh - 7rem - env(safe-area-inset-bottom)) !important;
  }
  .float-quote-mobile-btn {
    flex: 1.35 1 0 !important;
  }
  .float-quote-mobile-sec {
    flex: 0.72 1 0 !important;
  }
  .float-quote-mobile-sec.is-app {
    flex: 0.62 1 0 !important;
    background: #fff5e8 !important;
    color: #ea580c !important;
    border: 1px solid #fed7aa !important;
    font-size: 0.78rem !important;
  }
}

/* mobile-main-fullwidth-20260827 */
@media (max-width: 900px) {
  html body main {
    padding-right: max(0.7rem, env(safe-area-inset-right, 0px)) !important;
  }
  html body .site-subnav .container,
  html body .site-subnav > .container {
    padding-right: 0.7rem !important;
  }
  html body .site-subnav-actions {
    padding-right: 0 !important;
  }
}

/* mobile-bar-font-20260827 */
@media (max-width: 900px) {
  html body .float-quote-mobile-btn,
  html body .float-quote-mobile-sec {
    min-height: 3.05rem !important;
    font-size: 0.88rem !important;
    line-height: 1.25 !important;
    padding: 0.42rem 0.48rem !important;
  }
  html body .float-quote-mobile-btn {
    font-size: 0.9rem !important;
    font-weight: 800 !important;
  }
  html body .float-quote-mobile-sec.is-app {
    font-size: 0.86rem !important;
  }
  html body main {
    padding-bottom: calc(6.1rem + env(safe-area-inset-bottom, 0px)) !important;
  }
}

/* mobile-header-text-lg-20260827 ? promo bar + subnav chips larger on phone */
@media (max-width: 900px) {
  html body .promo-trust-cta {
    font-size: 0.98rem !important;
    font-weight: 800 !important;
    padding: 0.5rem 0.75rem !important;
    min-height: 2.4rem !important;
  }
  html body .promo-trust-chips a {
    font-size: 0.92rem !important;
    font-weight: 650 !important;
    min-height: 2.15rem !important;
    padding: 0.34rem 0.48rem !important;
    line-height: 1.28 !important;
  }
  html body .site-subnav a.site-subnav-link,
  html body .site-subnav .site-subnav-link,
  html body .site-subnav-link,
  html body .site-subnav-link.has-mega,
  html body .site-subnav-link.is-accent,
  html body .site-subnav-link.is-dashboard {
    font-size: 0.94rem !important;
    font-weight: 800 !important;
    min-height: 2.35rem !important;
    padding: 0.42rem 0.55rem !important;
  }
  html body .site-subnav-actions .site-subnav-link.is-accent,
  html body .site-subnav-actions a.site-subnav-link.is-accent {
    font-size: 0.92rem !important;
  }
}
@media (max-width: 420px) {
  html body .promo-trust-cta {
    font-size: 0.94rem !important;
  }
  html body .promo-trust-chips a {
    font-size: 0.88rem !important;
  }
}

/* mob-subnav-scroll-force-20260827 */
@media (max-width: 900px) {
  html body .site-subnav .container {
    overflow: visible !important;
  }
  html body .site-subnav-track {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    align-items: center !important;
    gap: 0.35rem !important;
  }
  html body .site-subnav-main,
  html body .site-subnav-end,
  html body .site-subnav-actions {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    flex: 0 0 auto !important;
    width: auto !important;
    gap: 0.35rem !important;
  }
  html body .site-subnav-link,
  html body .site-subnav-link.has-mega,
  html body .site-subnav-link.is-accent,
  html body .site-subnav-link.is-dashboard,
  html body .site-subnav-main .site-subnav-link,
  html body .site-subnav-main a.site-subnav-link {
    flex: 0 0 auto !important;
    max-width: none !important;
    width: auto !important;
    white-space: nowrap !important;
  }
}

/* mob-header-no-overlap-20260827 — phone: logo + quote + lang + account only */
@media (max-width: 900px) {
  html body .site-header > .container.site-header-bar,
  html body .site-header .site-header-bar.container {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 0.35rem !important;
    min-height: 3.55rem !important;
    height: auto !important;
    padding-inline: 0.65rem !important;
    overflow: hidden !important;
  }
  html body .site-header .site-logo {
    flex: 0 0 auto !important;
    max-width: 34vw !important;
    min-width: 0 !important;
    margin-left: 0 !important;
    padding-left: 0 !important;
    overflow: hidden !important;
  }
  html body .site-header .site-logo-img {
    display: block !important;
    height: 1.95rem !important;
    width: auto !important;
    max-width: 100% !important;
    object-fit: contain !important;
    object-position: left center !important;
  }
  html body .site-header .site-header-actions {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 0.25rem !important;
    overflow: hidden !important;
  }
  html body .site-header .site-header-home,
  html body .site-header .site-header-engineer,
  html body .site-header .site-header-email,
  html body .site-header .site-header-wa,
  html body .site-header .site-header-upload,
  html body .site-header .site-header-register,
  html body .site-header-actions .site-header-home,
  html body .site-header-actions .site-header-engineer,
  html body .site-header-actions .site-header-email,
  html body .site-header-actions .site-header-wa,
  html body .site-header-actions .site-header-upload,
  html body .site-header-actions .site-header-register,
  html body .site-header-auth-slot .btn-ghost[href*="/login"],
  html body .site-header-auth-slot .btn-ghost[href*="/register"] {
    display: none !important;
  }
  html body .site-header .site-header-actions .btn-primary {
    flex: 0 1 auto !important;
    min-width: 0 !important;
    max-width: 46vw !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    padding: 0.32rem 0.52rem !important;
    font-size: 0.74rem !important;
    min-height: 1.95rem !important;
    line-height: 1.15 !important;
  }
  html body .site-header .site-header-actions .lang-switch,
  html body .site-header .site-header-actions .locale-switch-btn {
    flex: 0 0 auto !important;
    padding: 0.26rem 0.4rem !important;
    font-size: 0.7rem !important;
    min-height: 1.95rem !important;
  }
  html body .site-header .site-header-auth-slot {
    flex: 0 0 auto !important;
    min-width: 0 !important;
  }
  html body .site-header .site-header-auth-pending {
    width: 2.2rem !important;
    height: 1.95rem !important;
  }
  html body .site-header .site-header-actions .account-menu-btn {
    flex: 0 0 auto !important;
    min-height: 1.95rem !important;
    max-width: 5.75rem !important;
    padding: 0.2rem 0.35rem 0.2rem 0.2rem !important;
  }
  html body .site-header .site-header-actions .account-menu-name {
    max-width: 3rem !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }
}

/* mob-subnav-rail-redesign-20260827 — swipe-right chip rail (fix squeeze/clipping) */
@media (max-width: 900px) {
  html body .site-subnav {
    position: relative !important;
    overflow: hidden !important;
    background: linear-gradient(180deg, #f5f8ff 0%, #eef3fb 100%) !important;
  }
  html body .site-subnav .container,
  html body .site-subnav > .container {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: visible !important;
  }
  html body .site-subnav-track {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 0.5rem !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    overscroll-behavior-x: contain !important;
    scroll-snap-type: x proximity !important;
    scroll-padding-inline: 0.75rem !important;
    scrollbar-width: none !important;
    padding: 0.5rem 0.75rem 0.62rem !important;
    box-sizing: border-box !important;
  }
  html body .site-subnav-track::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
  }
  html body .site-subnav-main,
  html body .site-subnav-actions,
  html body .site-subnav-end {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    flex: 0 0 auto !important;
    flex-shrink: 0 !important;
    align-items: center !important;
    gap: 0.5rem !important;
    width: auto !important;
    min-width: max-content !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  html body .site-subnav-main .site-subnav-link,
  html body .site-subnav-main a.site-subnav-link,
  html body .site-subnav-main .site-subnav-link.has-mega,
  html body .site-subnav-main a.site-subnav-link.has-mega,
  html body .site-subnav-actions .site-subnav-link,
  html body .site-subnav-actions a.site-subnav-link,
  html body .site-subnav-actions .site-subnav-link.is-accent,
  html body .site-subnav-actions a.site-subnav-link.is-accent,
  html body .site-subnav-actions .site-subnav-link.is-dashboard,
  html body .site-subnav-actions a.site-subnav-link.is-dashboard,
  html body .site-subnav-end a.site-subnav-link,
  html body .site-subnav a.site-subnav-link,
  html body .site-subnav-link,
  html body .site-subnav-link.has-mega,
  html body .site-subnav-link.is-accent,
  html body .site-subnav-link.is-dashboard {
    flex: 0 0 auto !important;
    flex-shrink: 0 !important;
    flex-grow: 0 !important;
    width: auto !important;
    min-width: max-content !important;
    max-width: none !important;
    scroll-snap-align: start !important;
    scroll-snap-stop: normal !important;
    box-sizing: border-box !important;
    white-space: nowrap !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 2.35rem !important;
    padding: 0.4rem 0.82rem !important;
    border-radius: 999px !important;
    font-size: 0.94rem !important;
    font-weight: 800 !important;
    line-height: 1.25 !important;
    letter-spacing: 0 !important;
    background: #e4edf9 !important;
    color: #1a2f4a !important;
    box-shadow: inset 0 0 0 1px rgba(26, 47, 74, 0.06) !important;
  }
  html body .site-subnav-actions .site-subnav-link.is-accent,
  html body .site-subnav-actions a.site-subnav-link.is-accent,
  html body .site-subnav-end a.site-subnav-link.is-accent {
    background: linear-gradient(180deg, #2b7bff, #0b63f6) !important;
    color: #fff !important;
    box-shadow: 0 8px 18px rgba(11, 99, 246, 0.22) !important;
    padding: 0.4rem 0.78rem !important;
    font-size: 0.92rem !important;
  }
  html body .site-subnav-actions .site-subnav-link.is-dashboard,
  html body .site-subnav-actions a.site-subnav-link.is-dashboard {
    background: #dbeafe !important;
    color: #1d4ed8 !important;
    box-shadow: inset 0 0 0 1px rgba(29, 78, 216, 0.14) !important;
  }
  /* fade hint: more items off-screen to the right */
  html body .site-subnav::after {
    content: "" !important;
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
    width: 2rem !important;
    height: 100% !important;
    pointer-events: none !important;
    background: linear-gradient(90deg, rgba(238, 243, 251, 0) 0%, rgba(238, 243, 251, 0.92) 72%, #eef3fb 100%) !important;
    z-index: 2 !important;
  }
}

/* mob-subnav-grid-20260827 — phone: 3-col grid, all nav chips visible (no swipe) */
@media (max-width: 900px) {
  html body .site-subnav {
    position: relative !important;
    overflow: visible !important;
    max-height: none !important;
    background: linear-gradient(180deg, #f5f8ff 0%, #eef3fb 100%) !important;
  }
  html body .site-subnav::after {
    display: none !important;
  }
  html body .site-subnav .container,
  html body .site-subnav > .container {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0.45rem 0.65rem 0.5rem !important;
    overflow: visible !important;
  }
  html body .site-subnav-track {
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    gap: 0.42rem !important;
    width: 100% !important;
    overflow: visible !important;
    overflow-x: visible !important;
    overflow-y: visible !important;
    padding: 0 !important;
    scroll-snap-type: none !important;
  }
  html body .site-subnav-main {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 0.38rem 0.32rem !important;
    width: 100% !important;
    min-width: 0 !important;
    flex: none !important;
  }
  html body .site-subnav-actions,
  html body .site-subnav-end {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.38rem !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    flex: none !important;
  }
  html body .site-subnav-main .site-subnav-link,
  html body .site-subnav-main a.site-subnav-link,
  html body .site-subnav-main .site-subnav-link.has-mega,
  html body .site-subnav-main a.site-subnav-link.has-mega,
  html body .site-subnav-actions .site-subnav-link,
  html body .site-subnav-actions a.site-subnav-link,
  html body .site-subnav-actions .site-subnav-link.is-accent,
  html body .site-subnav-actions a.site-subnav-link.is-accent,
  html body .site-subnav-actions .site-subnav-link.is-dashboard,
  html body .site-subnav-actions a.site-subnav-link.is-dashboard,
  html body .site-subnav-end a.site-subnav-link,
  html body .site-subnav a.site-subnav-link,
  html body .site-subnav-link {
    flex: none !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    min-height: 2.05rem !important;
    padding: 0.34rem 0.38rem !important;
    font-size: 0.8rem !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 0.65rem !important;
    background: #e8f0fb !important;
    color: #1a2f4a !important;
    box-shadow: inset 0 0 0 1px rgba(26, 47, 74, 0.07) !important;
    scroll-snap-align: unset !important;
  }
  html body .site-subnav-actions .site-subnav-link.is-accent,
  html body .site-subnav-actions a.site-subnav-link.is-accent {
    background: linear-gradient(180deg, #2b7bff, #0b63f6) !important;
    color: #fff !important;
    font-weight: 800 !important;
    box-shadow: 0 6px 14px rgba(11, 99, 246, 0.2) !important;
    font-size: 0.78rem !important;
  }
  html body .site-subnav-actions .site-subnav-link.is-dashboard,
  html body .site-subnav-actions a.site-subnav-link.is-dashboard {
    background: #dbeafe !important;
    color: #1d4ed8 !important;
    font-weight: 800 !important;
    box-shadow: inset 0 0 0 1px rgba(29, 78, 216, 0.14) !important;
  }
  /* only one action button: span full row */
  html body .site-subnav-actions:has(.site-subnav-link:only-child) .site-subnav-link.is-accent,
  html body .site-subnav-actions:has(a.site-subnav-link:only-child) a.site-subnav-link.is-accent {
    grid-column: 1 / -1 !important;
  }
}
@media (max-width: 420px) {
  html body .site-subnav-main .site-subnav-link,
  html body .site-subnav-main a.site-subnav-link {
    font-size: 0.76rem !important;
    min-height: 1.95rem !important;
    padding: 0.3rem 0.28rem !important;
  }
}

/* mob-subnav-active-20260827 — open tab matches accent button blue */
@media (max-width: 900px) {
  html body .site-subnav-main .site-subnav-link.has-mega.is-open,
  html body .site-subnav-main a.site-subnav-link.has-mega.is-open {
    background: linear-gradient(180deg, #2b7bff, #0b63f6) !important;
    color: #fff !important;
    font-weight: 800 !important;
    box-shadow: 0 6px 14px rgba(11, 99, 246, 0.22) !important;
  }
  html body .site-subnav-main .site-subnav-link.has-mega:active,
  html body .site-subnav-main a.site-subnav-link.has-mega:active {
    background: linear-gradient(180deg, #1f6ef5, #0858d4) !important;
    color: #fff !important;
  }
  /* mega dropdown items: pill buttons like subnav */
  html body .mega-panel.site-mega .mega-item {
    border-radius: 0.65rem !important;
    border: none !important;
    background: #e8f0fb !important;
    box-shadow: inset 0 0 0 1px rgba(26, 47, 74, 0.07) !important;
    padding: 0.55rem 0.65rem !important;
  }
  html body .mega-panel.site-mega .mega-item:active,
  html body .mega-panel.site-mega .mega-item:hover {
    background: linear-gradient(180deg, #2b7bff, #0b63f6) !important;
    box-shadow: 0 4px 12px rgba(11, 99, 246, 0.18) !important;
    transform: none !important;
  }
  html body .mega-panel.site-mega .mega-item:active .mega-copy strong,
  html body .mega-panel.site-mega .mega-item:hover .mega-copy strong {
    color: #fff !important;
  }
  html body .mega-panel.site-mega .mega-item:active .mega-copy span,
  html body .mega-panel.site-mega .mega-item:hover .mega-copy span {
    color: rgba(255, 255, 255, 0.88) !important;
  }
  html body .mega-panel.site-mega .mega-col-list a {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.12rem !important;
    padding: 0.5rem 0.62rem !important;
    margin-bottom: 0.32rem !important;
    border-radius: 0.65rem !important;
    background: #e8f0fb !important;
    color: #1a2f4a !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    box-shadow: inset 0 0 0 1px rgba(26, 47, 74, 0.07) !important;
  }
  html body .mega-panel.site-mega .mega-col-list a:active,
  html body .mega-panel.site-mega .mega-col-list a:hover {
    background: linear-gradient(180deg, #2b7bff, #0b63f6) !important;
    color: #fff !important;
  }
  html body .mega-panel.site-mega .mega-col-list a span {
    color: inherit !important;
    opacity: 0.85 !important;
    font-weight: 500 !important;
    font-size: 0.74rem !important;
  }
  /* accent row: full width, no right clip */
  html body .site-subnav-actions {
    width: 100% !important;
    box-sizing: border-box !important;
  }
  html body .site-subnav-actions .site-subnav-link.is-accent,
  html body .site-subnav-actions a.site-subnav-link.is-accent {
    grid-column: 1 / -1 !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
}

/* mob-subnav-font-unify-20260827 — all main chips same font as 制造能力 */
@media (max-width: 900px) {
  html[lang] body .site-subnav-main .site-subnav-link,
  html[lang] body .site-subnav-main a.site-subnav-link,
  html[lang] body .site-subnav-main .site-subnav-link.has-mega,
  html[lang] body .site-subnav-main a.site-subnav-link.has-mega,
  html[lang] body .site-subnav-main .site-subnav-link:not(.has-mega),
  html[lang] body .site-subnav-main a.site-subnav-link:not(.has-mega),
  html[lang] body .site-subnav-main .site-subnav-link:not(.is-accent):not(.is-dashboard),
  html[lang] body .site-subnav-main a.site-subnav-link:not(.is-accent):not(.is-dashboard) {
    font-size: 0.8rem !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    letter-spacing: 0.01em !important;
    font-family: var(--font-display, "Segoe UI Variable Display", "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif) !important;
  }
}
@media (max-width: 420px) {
  html[lang] body .site-subnav-main .site-subnav-link,
  html[lang] body .site-subnav-main a.site-subnav-link {
    font-size: 0.76rem !important;
    min-height: 1.95rem !important;
  }
}

/* mob-subnav-always-show-20260827 — phone: subnav grid always visible */
@media (max-width: 900px) {
  html body .site-subnav {
    display: block !important;
    max-height: none !important;
    opacity: 1 !important;
    overflow: visible !important;
    transition: none !important;
    will-change: auto !important;
    pointer-events: auto !important;
  }
  html body .site-header.is-subnav-collapsed .site-subnav {
    display: block !important;
    opacity: 1 !important;
    pointer-events: auto !important;
  }
}

/* mob-subnav-scroll-away-20260827 — red-box nav scrolls, logo bar stays sticky */
@media (max-width: 900px) {
  html body .site-header {
    position: static !important;
    top: auto !important;
  }
  html body .site-header-bar {
    position: sticky !important;
    top: 0 !important;
    z-index: 141 !important;
    background: rgba(255, 255, 255, 0.97) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border-bottom: 1px solid #d7e3f4 !important;
  }
  html body .site-subnav {
    position: static !important;
    top: auto !important;
    z-index: auto !important;
  }
  html body .site-subnav-track {
    position: static !important;
  }
}

/* mob-subnav-font-lg-20260827 — larger mobile subnav grid labels */
@media (max-width: 900px) {
  html[lang] body .site-subnav-main .site-subnav-link,
  html[lang] body .site-subnav-main a.site-subnav-link,
  html[lang] body .site-subnav-main .site-subnav-link.has-mega,
  html[lang] body .site-subnav-main a.site-subnav-link.has-mega,
  html[lang] body .site-subnav-main .site-subnav-link:not(.has-mega),
  html[lang] body .site-subnav-main a.site-subnav-link:not(.has-mega),
  html[lang] body .site-subnav-main .site-subnav-link:not(.is-accent):not(.is-dashboard),
  html[lang] body .site-subnav-main a.site-subnav-link:not(.is-accent):not(.is-dashboard) {
    font-size: 0.92rem !important;
    font-weight: 700 !important;
    line-height: 1.22 !important;
    letter-spacing: 0.01em !important;
    min-height: 2.15rem !important;
    padding-inline: 0.42rem !important;
    font-family: var(--font-display, "Segoe UI Variable Display", "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif) !important;
  }
  html[lang] body .site-subnav-actions .site-subnav-link.is-accent,
  html[lang] body .site-subnav-actions a.site-subnav-link.is-accent {
    font-size: 0.9rem !important;
    font-weight: 700 !important;
    min-height: 2.2rem !important;
  }
}
@media (max-width: 420px) {
  html[lang] body .site-subnav-main .site-subnav-link,
  html[lang] body .site-subnav-main a.site-subnav-link {
    font-size: 0.86rem !important;
    min-height: 2.05rem !important;
  }
}

/* mob-mega-noverlap-20260827 — phone: mega in document flow, no hero bleed-through */
@media (max-width: 900px) {
  html body .site-header:has(.mega-panel.site-mega) {
    position: relative !important;
    z-index: 180 !important;
  }
  html body .mega-panel.site-mega {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    width: 100% !important;
    z-index: 2 !important;
    margin-top: 0 !important;
    max-height: none !important;
    overflow-x: hidden !important;
    overflow-y: visible !important;
    overscroll-behavior: auto !important;
    -webkit-overflow-scrolling: touch !important;
    background: linear-gradient(180deg, #ffffff 0%, #f5f8ff 100%) !important;
    box-shadow: 0 14px 32px rgba(11, 31, 58, 0.14) !important;
    isolation: isolate !important;
  }
  html body .mega-backdrop {
    position: fixed !important;
    inset: 0 !important;
    z-index: 170 !important;
  }
  html body .mega-panel.site-mega .mega-inner {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.75rem !important;
    padding: 0.85rem 0 1rem !important;
    min-width: 0 !important;
  }
  html body .mega-panel.site-mega .mega-aside {
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0.4rem !important;
    overflow: hidden !important;
    flex-shrink: 0 !important;
  }
  html body .mega-panel.site-mega .mega-eyebrow {
    position: relative !important;
    z-index: 1 !important;
    line-height: 1.3 !important;
  }
  html body .mega-panel.site-mega .mega-aside h3,
  html body .mega-panel.site-mega .mega-aside h3.brand-font {
    position: relative !important;
    z-index: 1 !important;
    margin: 0.2rem 0 0 !important;
    line-height: 1.25 !important;
  }
  html body .mega-panel.site-mega .mega-aside p {
    position: relative !important;
    z-index: 1 !important;
    margin: 0.35rem 0 0 !important;
    line-height: 1.45 !important;
  }
  html body .mega-panel.site-mega .mega-cta {
    position: relative !important;
    z-index: 1 !important;
    margin-top: 0.65rem !important;
  }
  html body .mega-panel.site-mega .mega-grid,
  html body .mega-panel.site-mega .mega-cols {
    position: relative !important;
    z-index: 1 !important;
    min-width: 0 !important;
  }
}

/* mob-logo-lg-20260827 — phone: larger ZORYRA logo + CN subtitle */
@media (max-width: 900px) {
  html body .site-header > .container.site-header-bar,
  html body .site-header .site-header-bar.container {
    min-height: 4rem !important;
    padding-inline: 0.55rem !important;
    align-items: center !important;
  }
  html body .site-header .site-logo {
    flex: 0 0 auto !important;
    max-width: 44vw !important;
    min-width: 0 !important;
    overflow: visible !important;
  }
  html body .site-header .site-logo-img {
    height: 2.55rem !important;
    max-width: min(168px, 44vw) !important;
    width: auto !important;
    object-fit: contain !important;
    object-position: left center !important;
  }
  html[lang="zh-CN"] .site-logo::after,
  html[lang="zh"] .site-logo::after,
  html[lang="zh-TW"] .site-logo::after {
    font-size: 15px !important;
    margin-top: 0.02rem !important;
    line-height: 1.12 !important;
  }
}
@media (max-width: 420px) {
  html body .site-header .site-logo-img {
    height: 2.38rem !important;
    max-width: min(156px, 46vw) !important;
  }
  html body .site-header .site-logo {
    max-width: 46vw !important;
  }
}

/* lang-menu-fix-20260828 — phone: locale menu escapes sticky header clip */
@media (max-width: 900px) {
  html body .site-header .site-header-bar:has(.locale-switch.is-open),
  html body .site-header > .container.site-header-bar:has(.locale-switch.is-open),
  html body .site-header .site-header-bar.container:has(.locale-switch.is-open) {
    overflow: visible !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
  html body .site-header .site-header-actions:has(.locale-switch.is-open),
  html body .site-header .locale-switch.is-open {
    overflow: visible !important;
    position: relative !important;
    z-index: 220 !important;
  }
  html body .locale-switch.is-open .locale-switch-menu,
  html body .locale-switch.is-open .locale-switch-menu.is-wide,
  html body .site-header .locale-switch-menu,
  html body .site-header .locale-switch-menu.is-wide {
    position: fixed !important;
    left: 50% !important;
    right: auto !important;
    inset-inline-end: auto !important;
    transform: translateX(-50%) !important;
    top: max(4.2rem, calc(env(safe-area-inset-top, 0px) + 3.6rem)) !important;
    width: min(22rem, calc(100vw - 1.25rem)) !important;
    min-width: min(22rem, calc(100vw - 1.25rem)) !important;
    max-width: calc(100vw - 1.25rem) !important;
    max-height: min(68vh, 28rem) !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    z-index: 230 !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.2) !important;
  }
}

/* lang-menu-portal-20260828 — phone: locale menu on body, opaque + backdrop */
@media (max-width: 900px) {
  html body .locale-backdrop {
    display: block !important;
    position: fixed !important;
    inset: 0 !important;
    z-index: 9000 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: rgba(8, 20, 40, 0.42) !important;
    cursor: pointer !important;
    -webkit-tap-highlight-color: transparent !important;
  }
  html body .locale-switch-menu.is-mobile-portal,
  html body .locale-switch-menu.is-mobile-portal.is-wide {
    position: fixed !important;
    left: 50% !important;
    right: auto !important;
    inset-inline-end: auto !important;
    transform: translateX(-50%) !important;
    top: max(4.15rem, calc(env(safe-area-inset-top, 0px) + 3.55rem)) !important;
    width: min(22rem, calc(100vw - 1.25rem)) !important;
    min-width: min(22rem, calc(100vw - 1.25rem)) !important;
    max-width: calc(100vw - 1.25rem) !important;
    max-height: min(70vh, 30rem) !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    overscroll-behavior: contain !important;
    -webkit-overflow-scrolling: touch !important;
    z-index: 9010 !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.12rem !important;
    padding: 0.45rem !important;
    margin: 0 !important;
    background: #ffffff !important;
    border: 1px solid #d7e0ea !important;
    border-radius: 0.85rem !important;
    box-shadow: 0 22px 48px rgba(15, 23, 42, 0.24) !important;
    isolation: isolate !important;
  }
  html body .locale-switch-menu.is-mobile-portal .locale-switch-item {
    background: #ffffff !important;
    position: relative !important;
    z-index: 1 !important;
  }
  html body .locale-switch-menu.is-mobile-portal .locale-switch-item:hover,
  html body .locale-switch-menu.is-mobile-portal .locale-switch-item.is-active {
    background: #eef5ff !important;
  }
  html body:has(.locale-backdrop) main,
  html body:has(.locale-backdrop) .hero-quote,
  html body:has(.locale-backdrop) .hero-quote-intro,
  html body:has(.locale-backdrop) .hero-quote-intro h1 {
    z-index: 0 !important;
  }
}

/* lang-menu-solid-20260828 — phone: opaque locale layer, never bleed hero text */
@media (max-width: 900px) {
  html body:has(.locale-switch.is-open)::before,
  html body:has(.intro-lang.is-open)::before {
    content: "" !important;
    display: block !important;
    position: fixed !important;
    inset: 0 !important;
    z-index: 8999 !important;
    background: rgba(8, 20, 40, 0.46) !important;
    pointer-events: auto !important;
  }
  html body:has(.locale-switch.is-open),
  html body:has(.intro-lang.is-open) {
    overflow: hidden !important;
  }
  html body .site-header .site-header-bar:has(.locale-switch.is-open),
  html body .site-header > .container.site-header-bar:has(.locale-switch.is-open) {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    overflow: visible !important;
  }
  html body .locale-switch.is-open .locale-switch-menu,
  html body .locale-switch.is-open .locale-switch-menu.is-wide,
  html body .locale-switch-menu.is-mobile-portal,
  html body .locale-switch-menu.is-mobile-portal.is-wide {
    position: fixed !important;
    left: 50% !important;
    right: auto !important;
    inset-inline-end: auto !important;
    transform: translateX(-50%) !important;
    top: max(3.85rem, calc(env(safe-area-inset-top, 0px) + 3.35rem)) !important;
    width: min(22rem, calc(100vw - 1.25rem)) !important;
    min-width: min(22rem, calc(100vw - 1.25rem)) !important;
    max-width: calc(100vw - 1.25rem) !important;
    max-height: min(72vh, 32rem) !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    overscroll-behavior: contain !important;
    -webkit-overflow-scrolling: touch !important;
    z-index: 9010 !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.12rem !important;
    padding: 0.45rem !important;
    margin: 0 !important;
    background: #ffffff !important;
    background-color: #ffffff !important;
    opacity: 1 !important;
    border: 1px solid #d7e0ea !important;
    border-radius: 0.85rem !important;
    box-shadow: 0 22px 48px rgba(15, 23, 42, 0.28) !important;
    isolation: isolate !important;
    mix-blend-mode: normal !important;
    pointer-events: auto !important;
  }
  html body .locale-switch-menu .locale-switch-item,
  html body .locale-switch-menu.is-mobile-portal .locale-switch-item {
    background: #ffffff !important;
    position: relative !important;
    z-index: 1 !important;
  }
  html body:has(.locale-switch.is-open) main,
  html body:has(.locale-switch.is-open) .hero-quote,
  html body:has(.locale-switch.is-open) .hero-quote-inner,
  html body:has(.locale-switch.is-open) .hero-quote-intro,
  html body:has(.locale-switch.is-open) .hero-quote-intro h1,
  html body:has(.locale-switch.is-open) .quote-board-unified {
    z-index: 0 !important;
    transform: none !important;
    filter: none !important;
    opacity: 1 !important;
  }
  html body .intro-lang-menu,
  html body .intro-lang.is-open .intro-lang-menu,
  html body .intro-lang-menu.is-mobile-portal {
    position: fixed !important;
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) !important;
    top: max(4rem, calc(env(safe-area-inset-top, 0px) + 3.75rem)) !important;
    width: min(22rem, calc(100vw - 1.25rem)) !important;
    min-width: min(22rem, calc(100vw - 1.25rem)) !important;
    max-width: calc(100vw - 1.25rem) !important;
    max-height: min(72vh, 32rem) !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    z-index: 9010 !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.12rem !important;
    padding: 0.45rem !important;
    margin: 0 !important;
    list-style: none !important;
    background: #ffffff !important;
    border: 1px solid #d7e0ea !important;
    border-radius: 0.85rem !important;
    box-shadow: 0 22px 48px rgba(15, 23, 42, 0.28) !important;
    isolation: isolate !important;
  }
  html body .intro-lang:not(.is-open) .intro-lang-menu {
    display: none !important;
  }
}

/* lang-menu-touch-20260828 — keep EN/other locales menu above header; solid sheet */
@media (max-width: 900px) {
  html body .locale-backdrop {
    z-index: 12000 !important;
    background: rgba(8, 20, 40, 0.5) !important;
  }
  html body .locale-switch-menu.is-mobile-portal,
  html body .locale-switch-menu.is-mobile-portal.is-wide,
  html body .locale-switch.is-open .locale-switch-menu,
  html body .locale-switch.is-open .locale-switch-menu.is-wide {
    z-index: 12010 !important;
    top: max(5.25rem, calc(env(safe-area-inset-top, 0px) + 4.75rem)) !important;
    background: #ffffff !important;
    background-color: #ffffff !important;
  }
  html body .site-header,
  html body .site-header-bar {
    z-index: 141 !important;
  }
  html body .site-header:has(.locale-switch.is-open),
  html body .site-header-bar:has(.locale-switch.is-open) {
    z-index: 11990 !important;
  }
}

/* logo-home-click-20260828 — full logo (img + 泽锐精工) always clickable → home */
html body .site-header .site-logo,
html body a.site-logo {
  pointer-events: auto !important;
  cursor: pointer !important;
  position: relative !important;
  z-index: 20 !important;
  -webkit-tap-highlight-color: transparent !important;
}
html body .site-header .site-logo-img,
html body a.site-logo .site-logo-img {
  pointer-events: none !important;
}
@media (max-width: 900px) {
  html body .site-header > .container.site-header-bar,
  html body .site-header .site-header-bar.container {
    overflow: visible !important;
  }
  html body .site-header .site-logo,
  html body a.site-logo {
    overflow: visible !important;
    max-width: 48vw !important;
  }
}

/* cap-land-text-wrap-20260828 — phone: hero copy must stay inside viewport */
@media (max-width: 900px) {
  html body main {
    padding-left: 0.7rem !important;
    padding-right: 0.7rem !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }

  html body .seo-page,
  html body .seo-inner.container,
  html body .container.seo-inner,
  html body .cap-land,
  html body .cap-hub,
  html body .sla,
  html body .ind-land {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
    grid-template-columns: minmax(0, 1fr) !important;
  }

  html body .cap-land > *,
  html body .cap-hub > *,
  html body .sla > * {
    min-width: 0 !important;
    max-width: 100% !important;
  }

  html body .cap-land-hero,
  html body .cap-hub-hero,
  html body .sla-hero,
  html body .ind-land-hero {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    padding: 0.95rem 0.85rem !important;
    gap: 0.85rem !important;
    overflow: hidden !important;
  }

  html body .cap-land-hero-copy,
  html body .cap-hub-hero-copy,
  html body .sla-hero-copy,
  html body .ind-land-hero-copy,
  html body .cap-land-hero-media,
  html body .cap-hub-hero-media,
  html body .sla-hero-media {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    flex: 1 1 auto !important;
  }

  html body .cap-land-hero-copy > p,
  html body .cap-hub-hero-copy > p,
  html body .sla-hero-copy > p,
  html body .sla-lead,
  html body .cap-land-kicker,
  html body .cap-land-section-card p,
  html body .cap-land-how-card p,
  html body .cap-land-hero-copy h1,
  html body .cap-land-hero-copy h2 {
    width: 100% !important;
    max-width: 100% !important;
    overflow-wrap: anywhere !important;
    word-break: break-word !important;
    box-sizing: border-box !important;
  }

  html body .cap-land-actions,
  html body .sla-actions,
  html body .cap-land-chips {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  html body .cap-land-actions .btn,
  html body .sla-actions .btn {
    max-width: 100% !important;
    white-space: normal !important;
  }

  html body .cap-land-how-grid,
  html body .cap-land-sections,
  html body .cap-land-case-grid,
  html body .cap-hub-cols,
  html body .cap-land-sib-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    min-width: 0 !important;
    width: 100% !important;
  }
}

/* mob-mega-page-scroll-20260828 — phone: mega expands in flow; page scrolls (no trapped panel) */
@media (max-width: 900px) {
  html body .site-header:has(.mega-panel.site-mega) {
    position: static !important;
    z-index: auto !important;
    overflow: visible !important;
  }

  html body .mega-panel.site-mega,
  html body .site-header .mega-panel.site-mega {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    width: 100% !important;
    max-height: none !important;
    height: auto !important;
    overflow: visible !important;
    overflow-x: visible !important;
    overflow-y: visible !important;
    overscroll-behavior: auto !important;
    -webkit-overflow-scrolling: auto !important;
    z-index: 2 !important;
    margin-top: 0 !important;
    padding-bottom: calc(5.75rem + env(safe-area-inset-bottom, 0px)) !important;
  }

  /* Keep logo bar sticky only; let subnav + mega scroll away with page */
  html body .site-header-bar {
    position: sticky !important;
    top: 0 !important;
    z-index: 141 !important;
  }

  html body .site-subnav {
    position: static !important;
    overflow: visible !important;
  }

  /* Backdrop must not cover the page and steal touch scroll */
  html body .mega-backdrop {
    display: none !important;
    pointer-events: none !important;
  }

  /* Ensure document can scroll on phone while mega is open */
  html:has(.mega-panel.site-mega),
  html:has(.mega-panel.site-mega) body {
    overflow-x: clip !important;
    overflow-y: auto !important;
    height: auto !important;
    max-height: none !important;
    touch-action: pan-y !important;
  }
}

/* img-perf-20260829 — keep photos light on phone/desktop */
html body img {
  max-width: 100%;
  height: auto;
}
html body .page-media-hero img,
html body .page-media-card img,
html body .page-media-thumb img,
html body .factory-gallery-img,
html body .cap-land-hero-media img,
html body .cap-land-case-media img {
  content-visibility: auto;
  contain-intrinsic-size: 640px 400px;
  background: #e8eef8;
}


/* intro-seo-entry-20260829 */
html body .intro-seo-entry {
  padding: 2rem 0 2.4rem !important;
  background: linear-gradient(180deg, #f7faff 0%, #ffffff 100%) !important;
  border-top: 1px solid #e4edf8 !important;
}
html body .intro-seo-entry-inner {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 1rem 1.5rem !important;
}
html body .intro-seo-entry .section-title {
  font-size: clamp(1.25rem, 2vw, 1.55rem) !important;
  margin: 0.25rem 0 0.4rem !important;
}
html body .intro-seo-entry .section-lead {
  margin: 0 !important;
  max-width: 40rem !important;
  font-size: 0.95rem !important;
}


/* mob-mega-page-scroll-20260829b — phone: open category = page scroll, never trapped panel */
@media (max-width: 900px) {
  html body .site-header:has(.mega-panel.site-mega),
  html body .site-header:has(.mega-panel) {
    position: static !important;
    z-index: auto !important;
    overflow: visible !important;
    max-height: none !important;
    height: auto !important;
  }

  html body .mega-panel.site-mega,
  html body .mega-panel,
  html body .site-header .mega-panel.site-mega,
  html body .site-header .mega-panel {
    position: relative !important;
    inset: auto !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    width: 100% !important;
    max-height: none !important;
    height: auto !important;
    overflow: visible !important;
    overflow-x: visible !important;
    overflow-y: visible !important;
    overscroll-behavior: auto !important;
    -webkit-overflow-scrolling: auto !important;
    touch-action: pan-y !important;
    z-index: 2 !important;
    padding-bottom: calc(5.75rem + env(safe-area-inset-bottom, 0px)) !important;
  }

  html body .mega-backdrop,
  html body .site-header .mega-backdrop {
    display: none !important;
    pointer-events: none !important;
    opacity: 0 !important;
  }

  html body .site-header-bar {
    position: sticky !important;
    top: 0 !important;
    z-index: 141 !important;
  }

  html body .site-subnav {
    position: static !important;
    overflow: visible !important;
    max-height: none !important;
  }

  /* Document scrolls; do not lock html/body height to viewport */
  html:has(.mega-panel),
  html:has(.mega-panel) body {
    overflow-x: hidden !important;
    overflow-y: scroll !important;
    height: auto !important;
    max-height: none !important;
    position: static !important;
    touch-action: pan-y !important;
    overscroll-behavior-y: auto !important;
  }
}


/* chat-rail-desktop-vcenter-20260829b — true viewport vertical center (margin auto, no transform) */
@media (min-width: 901px) {
  html body .live-chat .live-chat-rail,
  html body .live-chat .chat-rail,
  html body .chat-rail,
  html body aside.live-chat .chat-rail,
  html body .live-chat > .chat-rail {
    position: fixed !important;
    top: 0 !important;
    bottom: 0 !important;
    right: max(0.55rem, env(safe-area-inset-right, 0px)) !important;
    left: auto !important;
    height: max-content !important;
    max-height: none !important;
    margin-top: auto !important;
    margin-bottom: auto !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    transform: none !important;
    translate: none !important;
    inset-block: 0 !important;
    z-index: 151 !important;
    justify-content: flex-start !important;
  }
}


/* chat-rail-z-above-header-20260829 — desktop float rail above sticky header/subnav */
@media (min-width: 901px) {
  html body .live-chat {
    position: relative !important;
    z-index: 2600 !important;
  }
  html body .live-chat .live-chat-rail,
  html body .live-chat .chat-rail,
  html body .chat-rail,
  html body .live-chat > .chat-rail {
    z-index: 2610 !important;
    isolation: isolate !important;
  }
  html body .live-chat .chat-rail-quote,
  html body .chat-rail-quote,
  html body .live-chat .chat-rail-btn,
  html body .chat-rail-btn {
    position: relative !important;
    z-index: 2611 !important;
  }
}


/* chat-rail-z-above-header-20260829 — desktop float rail above sticky header/subnav */
@media (min-width: 901px) {
  html body .live-chat {
    position: relative !important;
    z-index: 2600 !important;
  }
  html body .live-chat .live-chat-rail,
  html body .live-chat .chat-rail,
  html body .chat-rail,
  html body .live-chat > .chat-rail {
    z-index: 2610 !important;
    isolation: isolate !important;
  }
  html body .live-chat .chat-rail-quote,
  html body .chat-rail-quote,
  html body .live-chat .chat-rail-btn,
  html body .chat-rail-btn {
    position: relative !important;
    z-index: 2611 !important;
  }
}


/* chat-rail-z-above-header-20260829 — desktop float rail above sticky header/subnav */
@media (min-width: 901px) {
  html body .live-chat {
    position: relative !important;
    z-index: 2600 !important;
  }
  html body .live-chat .live-chat-rail,
  html body .live-chat .chat-rail,
  html body .chat-rail,
  html body .live-chat > .chat-rail {
    z-index: 2610 !important;
    isolation: isolate !important;
  }
  html body .live-chat .chat-rail-quote,
  html body .chat-rail-quote,
  html body .live-chat .chat-rail-btn,
  html body .chat-rail-btn {
    position: relative !important;
    z-index: 2611 !important;
  }
}


/* subnav-longlocale-compact-20260829 — non-CJK: denser chips so long labels fit */
@media (min-width: 901px) {
  html:not([lang^="zh"]) body .site-subnav > .container {
    overflow: hidden !important;
  }
  html:not([lang^="zh"]) body .site-subnav-track {
    gap: 0.28rem !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scrollbar-width: thin !important;
    -webkit-overflow-scrolling: touch !important;
  }
  html:not([lang^="zh"]) body .site-subnav-main {
    gap: 0.28rem !important;
    min-width: 0 !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    flex-wrap: nowrap !important;
  }
  html:not([lang^="zh"]) body .site-subnav-main .site-subnav-link,
  html:not([lang^="zh"]) body .site-subnav-main a.site-subnav-link {
    font-size: 0.82rem !important;
    letter-spacing: 0 !important;
    padding: 0.38rem 0.62rem !important;
    white-space: nowrap !important;
    flex: 0 0 auto !important;
    max-width: none !important;
  }
  html:not([lang^="zh"]) body .site-subnav-end {
    flex-shrink: 0 !important;
    margin-left: 0.45rem !important;
  }
  html:not([lang^="zh"]) body .site-subnav-end .site-subnav-link,
  html:not([lang^="zh"]) body .site-subnav-end a.site-subnav-link {
    font-size: 0.8rem !important;
    letter-spacing: 0 !important;
    padding: 0.38rem 0.7rem !important;
    white-space: nowrap !important;
  }
}
/* subnav-col-sync-20260830b
   Subnav was forced to 1440 while Tailwind .container caps header/hero at
   1280 (xl) / 1536 (2xl) — so 制造能力 sat left of logo + hero.
   Match those caps + same left inset as logo-clear-left. */
@media (min-width: 901px) {
  html body .site-subnav > .container,
  html body .site-subnav .container,
  html[lang] body .site-subnav > .container,
  html[lang^="zh"] body .site-subnav > .container {
    width: 100% !important;
    max-width: 1280px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 1rem !important;
    box-sizing: border-box !important;
  }
}
@media (min-width: 1536px) {
  html body .site-subnav > .container,
  html body .site-subnav .container,
  html[lang] body .site-subnav > .container,
  html[lang^="zh"] body .site-subnav > .container {
    max-width: 1536px !important;
    width: min(1440px, calc(100% - 2rem)) !important;
    padding-left: 0 !important;
    padding-right: 1rem !important;
  }
}


/* mob-app-logo-bigger-20260830 — phone + APP: larger top-left logo all langs */
@media (max-width: 900px) {
  html body .site-header .site-logo,
  html[lang] body .site-header .site-logo,
  html body a.site-logo,
  html.is-app-webview body .site-header .site-logo {
    flex: 0 0 auto !important;
    max-width: 56vw !important;
    min-width: 0 !important;
    overflow: visible !important;
  }
  html body .site-header .site-logo-img,
  html[lang] body .site-header .site-logo-img,
  html body a.site-logo .site-logo-img,
  html.is-app-webview body .site-header .site-logo-img,
  html.is-app-webview .site-logo-img {
    height: 3.15rem !important;
    max-width: min(210px, 56vw) !important;
    width: auto !important;
    object-fit: contain !important;
    object-position: left center !important;
  }
  html[lang^="zh"] body .site-logo::after,
  html[lang="zh-CN"] .site-logo::after,
  html[lang="zh"] .site-logo::after,
  html[lang="zh-TW"] .site-logo::after {
    font-size: 16px !important;
    line-height: 1.12 !important;
  }
  html body .site-header > .container.site-header-bar,
  html body .site-header .site-header-bar.container {
    min-height: 4.35rem !important;
  }
}
@media (max-width: 420px) {
  html body .site-header .site-logo-img,
  html[lang] body .site-header .site-logo-img,
  html.is-app-webview body .site-header .site-logo-img,
  html.is-app-webview .site-logo-img {
    height: 2.95rem !important;
    max-width: min(196px, 58vw) !important;
  }
  html body .site-header .site-logo,
  html[lang] body .site-header .site-logo {
    max-width: 58vw !important;
  }
}


/* nav-fit-align-20260830 — logo+L2 flush to hero/container left (red line) */
@media (min-width: 901px) {
  html body .site-header > .container.site-header-bar,
  html body .site-header .site-header-bar.container,
  html[lang] body .site-header > .container.site-header-bar,
  html[lang] body .site-header .site-header-bar.container {
    padding-left: 0 !important;
  }
  html body .site-header .site-logo,
  html[lang] body .site-header .site-logo {
    margin-left: 0 !important;
    padding-left: 0 !important;
  }
  html body .site-subnav > .container,
  html body .site-subnav .container,
  html[lang] body .site-subnav > .container,
  html[lang] body .site-subnav .container,
  html[lang^="zh"] body .site-subnav > .container,
  html[lang^="zh"] body .site-subnav .container {
    padding-left: 0 !important;
  }
  html body .site-subnav .site-subnav-main,
  html[lang] body .site-subnav .site-subnav-main,
  html[lang^="zh"] body .site-subnav .site-subnav-main {
    margin-left: 0 !important;
    padding-left: 0 !important;
  }
}


/* ru-subnav-dense-20260830 — RU/non-zh L2 use dense card-title font (beat SimHei/Arial Black) */
html:not([lang^="zh"]) body .site-subnav .site-subnav-link,
html:not([lang^="zh"]) body .site-subnav a.site-subnav-link,
html:not([lang^="zh"]) body .site-subnav .site-subnav-link.has-mega,
html:not([lang^="zh"]) body .site-subnav a.site-subnav-link.has-mega,
html:not([lang^="zh"]) body .site-subnav .site-subnav-link.is-accent,
html:not([lang^="zh"]) body .site-subnav .site-subnav-link.is-dashboard,
html:not([lang^="zh"]) body .site-subnav-actions .site-subnav-link,
html:not([lang^="zh"]) body .site-subnav-end a.site-subnav-link,
html[lang="ru"] body .site-subnav .site-subnav-link,
html[lang^="ru"] body .site-subnav .site-subnav-link,
html[lang^="ru"] body .site-subnav a.site-subnav-link,
html[lang^="ru"] body .site-subnav .site-subnav-link.has-mega,
html[lang^="ru"] body .site-subnav .site-subnav-link.is-accent,
html[lang^="ru"] body .site-subnav .site-subnav-link.is-dashboard {
  font-family: "Helvetica Neue", "Noto Sans", Arial, system-ui, sans-serif !important;
  font-weight: 700 !important;
  font-style: normal !important;
  letter-spacing: -0.025em !important;
  font-synthesis: none !important;
}
@media (min-width: 901px) {
  html:not([lang^="zh"]) body .site-subnav-main .site-subnav-link,
  html:not([lang^="zh"]) body .site-subnav-main a.site-subnav-link,
  html[lang^="ru"] body .site-subnav-main .site-subnav-link,
  html[lang^="ru"] body .site-subnav-main a.site-subnav-link {
    padding-inline: 0.22rem !important;
    padding-left: 0.22rem !important;
    padding-right: 0.22rem !important;
  }
}


/* l2-redline-all-20260830 — ALL langs: L2 first item left = logo/hero (RU red-line) */
@media (min-width: 901px) {
  html body .site-header > .container.site-header-bar,
  html body .site-header .site-header-bar.container,
  html[lang] body .site-header > .container.site-header-bar,
  html[lang] body .site-header .site-header-bar.container,
  html[lang^="zh"] body .site-header > .container.site-header-bar,
  html[lang^="zh"] body .site-header .site-header-bar.container,
  html:not([lang^="zh"]) body .site-header > .container.site-header-bar {
    padding-left: 0 !important;
  }
  html body .site-header .site-logo,
  html[lang] body .site-header .site-logo,
  html[lang^="zh"] body .site-header .site-logo {
    margin-left: 0 !important;
    padding-left: 0 !important;
  }
  html body .site-subnav > .container,
  html body .site-subnav .container,
  html[lang] body .site-subnav > .container,
  html[lang] body .site-subnav .container,
  html[lang^="zh"] body .site-subnav > .container,
  html[lang^="zh"] body .site-subnav .container,
  html:not([lang^="zh"]) body .site-subnav > .container,
  html:not([lang^="zh"]) body .site-subnav .container,
  html[lang^="ru"] body .site-subnav > .container,
  html[lang^="en"] body .site-subnav > .container,
  html[lang^="de"] body .site-subnav > .container,
  html[lang^="ja"] body .site-subnav > .container,
  html[lang^="ko"] body .site-subnav > .container {
    padding-left: 0 !important;
  }
  html body .site-subnav .site-subnav-main,
  html[lang] body .site-subnav .site-subnav-main,
  html[lang^="zh"] body .site-subnav .site-subnav-main,
  html:not([lang^="zh"]) body .site-subnav .site-subnav-main,
  html[lang^="ru"] body .site-subnav .site-subnav-main {
    margin-left: 0 !important;
    padding-left: 0 !important;
    justify-content: flex-start !important;
  }
  html body .site-subnav-track,
  html[lang] body .site-subnav-track {
    margin-left: 0 !important;
    padding-left: 0 !important;
  }
}


/* l2-gutter-lock-20260830 — keep natural container gutter; logo+L2+hero same left; no extra inset */
@media (min-width: 901px) {
  html body .site-header > .container.site-header-bar,
  html body .site-header .site-header-bar.container,
  html[lang] body .site-header > .container.site-header-bar,
  html[lang] body .site-header .site-header-bar.container,
  html[lang^="zh"] body .site-header > .container.site-header-bar {
    padding-left: 0 !important;
  }
  html body .site-header .site-logo,
  html[lang] body .site-header .site-logo,
  html[lang^="zh"] body .site-header .site-logo {
    margin-left: 0 !important;
    padding-left: 0 !important;
  }
  html body .site-subnav > .container,
  html body .site-subnav .container,
  html[lang] body .site-subnav > .container,
  html[lang] body .site-subnav .container,
  html[lang^="zh"] body .site-subnav > .container,
  html[lang^="zh"] body .site-subnav .container,
  html:not([lang^="zh"]) body .site-subnav > .container {
    padding-left: 0 !important;
  }
  html body .site-subnav .site-subnav-main,
  html[lang] body .site-subnav .site-subnav-main,
  html[lang^="zh"] body .site-subnav .site-subnav-main,
  html:not([lang^="zh"]) body .site-subnav .site-subnav-main {
    margin-left: 0 !important;
    padding-left: 0 !important;
    justify-content: flex-start !important;
  }
}


/* ru-subnav-match-btn-20260830 — RU/non-zh L2 same font as blue btn (Мгновенная оценка) */
html[lang^="ru"] body .site-subnav .site-subnav-link,
html[lang^="ru"] body .site-subnav a.site-subnav-link,
html[lang^="ru"] body .site-subnav .site-subnav-link.has-mega,
html[lang^="ru"] body .site-subnav a.site-subnav-link.has-mega,
html[lang^="ru"] body .site-subnav .site-subnav-link.is-accent,
html[lang^="ru"] body .site-subnav .site-subnav-link.is-dashboard,
html[lang^="ru"] body .site-subnav-actions a.site-subnav-link,
html[lang^="ru"] body .site-subnav-end a.site-subnav-link,
html:not([lang^="zh"]) body .site-subnav .site-subnav-link,
html:not([lang^="zh"]) body .site-subnav a.site-subnav-link,
html:not([lang^="zh"]) body .site-subnav .site-subnav-link.has-mega,
html:not([lang^="zh"]) body .site-subnav .site-subnav-link.is-accent,
html:not([lang^="zh"]) body .site-subnav .site-subnav-link.is-dashboard {
  font: 700 13.8px/1.25 "Helvetica Neue", "Noto Sans", "Noto Sans SC", "Noto Sans JP", "Noto Sans KR", "Noto Sans Arabic", sans-serif !important;
  font-family: "Helvetica Neue", "Noto Sans", "Noto Sans SC", "Noto Sans JP", "Noto Sans KR", "Noto Sans Arabic", sans-serif !important;
  font-weight: 700 !important;
  font-style: normal !important;
  letter-spacing: -0.01em !important;
  font-synthesis: weight style small-caps !important;
}


/* l1-match-btn-font-20260830 — L1 header actions same font as blue btn / RU L2 */
html[lang] body .site-header .site-header-actions a.btn,
html[lang] body .site-header .site-header-actions .btn,
html[lang] body .site-header .site-header-actions .btn-ghost,
html[lang] body .site-header .site-header-actions .btn-primary,
html[lang] body .site-header .site-header-actions .lang-switch,
html[lang] body .site-header .site-header-actions .locale-switch-btn,
html[lang] body .site-header .site-header-actions .account-menu-btn,
html[lang] body .site-header-home .site-header-actions a.btn,
html[lang] body .site-header-home .site-header-actions .btn,
html[lang^="ru"] body .site-header .site-header-actions a.btn,
html[lang^="ru"] body .site-header .site-header-actions .btn,
html[lang^="ru"] body .site-header .site-header-actions .btn-primary,
html[lang^="ru"] body .site-header .site-header-actions .lang-switch,
html[lang^="ru"] body .site-header .site-header-actions .account-menu-btn,
html:not([lang^="zh"]) body .site-header .site-header-actions a.btn,
html:not([lang^="zh"]) body .site-header .site-header-actions .btn,
html:not([lang^="zh"]) body .site-header .site-header-actions .btn-primary {
  font-family: "Helvetica Neue", "Noto Sans", "Noto Sans SC", "Noto Sans JP", "Noto Sans KR", "Noto Sans Arabic", sans-serif !important;
  font-weight: 700 !important;
  font-style: normal !important;
  letter-spacing: -0.01em !important;
  font-synthesis: weight style small-caps !important;
}
html[lang] body .site-header .site-header-actions .btn-primary,
html[lang^="ru"] body .site-header .site-header-actions .btn-primary {
  font-weight: 700 !important;
}


/* l2-match-l1-format-20260830 — L2 same font+format as L1 header buttons */
@media (min-width: 901px) {
  html[lang] body .site-subnav .site-subnav-link,
  html[lang] body .site-subnav a.site-subnav-link,
  html[lang] body .site-subnav .site-subnav-link.has-mega,
  html[lang] body .site-subnav a.site-subnav-link.has-mega,
  html[lang] body .site-subnav-main .site-subnav-link,
  html[lang] body .site-subnav-main a.site-subnav-link,
  html[lang] body .site-subnav-actions .site-subnav-link,
  html[lang] body .site-subnav-end a.site-subnav-link,
  html[lang^="zh"] body .site-subnav .site-subnav-link,
  html[lang^="ru"] body .site-subnav .site-subnav-link,
  html:not([lang^="zh"]) body .site-subnav .site-subnav-link {
    font-family: "Helvetica Neue", "Noto Sans", "Noto Sans SC", "Noto Sans JP", "Noto Sans KR", "Noto Sans Arabic", sans-serif !important;
    font-weight: 700 !important;
    font-style: normal !important;
    font-size: 14px !important;
    line-height: 1.25 !important;
    letter-spacing: -0.01em !important;
    font-synthesis: weight style small-caps !important;
    border-radius: 12px !important;
    border: 1px solid #d7e3f4 !important;
    background: #fff !important;
    color: #1a2f4a !important;
    padding: 0.32rem 0.55rem !important;
    min-height: 2.4rem !important;
    box-shadow: none !important;
  }
  html[lang] body .site-subnav .site-subnav-link.is-accent,
  html[lang] body .site-subnav a.site-subnav-link.is-accent,
  html[lang] body .site-subnav-end a.site-subnav-link.is-accent,
  html[lang] body .site-subnav-actions a.site-subnav-link.is-accent {
    background: #0b63f6 !important;
    border-color: transparent !important;
    color: #fff !important;
    border-radius: 12px !important;
    font-weight: 700 !important;
    letter-spacing: -0.01em !important;
  }
  html[lang] body .site-subnav .site-subnav-link.is-dashboard,
  html[lang] body .site-subnav a.site-subnav-link.is-dashboard,
  html[lang] body .site-subnav-end a.site-subnav-link.is-dashboard,
  html[lang] body .site-subnav-end a.site-subnav-link.is-member {
    background: #fff !important;
    border: 1px solid #d7e3f4 !important;
    color: #1d4ed8 !important;
    border-radius: 12px !important;
    font-weight: 700 !important;
    letter-spacing: -0.01em !important;
  }
}


/* l2-pack-left-redline-20260830 — all langs: L2 pack to logo red-line (CN fig2); CTA stays right */
@media (min-width: 901px) {
  html body .site-subnav > .container,
  html body .site-subnav .container,
  html[lang] body .site-subnav > .container,
  html[lang] body .site-subnav .container,
  html[lang^="zh"] body .site-subnav > .container,
  html[lang^="ru"] body .site-subnav > .container,
  html:not([lang^="zh"]) body .site-subnav > .container {
    padding-left: 0 !important;
  }
  html body .site-subnav-track,
  html[lang] body .site-subnav-track,
  html[lang^="zh"] body .site-subnav-track,
  html[lang^="ru"] body .site-subnav-track {
    display: flex !important;
    justify-content: flex-start !important;
    align-items: center !important;
    gap: 0.35rem !important;
    margin-left: 0 !important;
    padding-left: 0 !important;
    width: 100% !important;
  }
  html body .site-subnav .site-subnav-main,
  html[lang] body .site-subnav .site-subnav-main,
  html[lang^="zh"] body .site-subnav .site-subnav-main,
  html[lang^="ru"] body .site-subnav .site-subnav-main,
  html:not([lang^="zh"]) body .site-subnav .site-subnav-main {
    display: flex !important;
    justify-content: flex-start !important;
    align-items: center !important;
    flex: 0 1 auto !important;
    min-width: 0 !important;
    margin-left: 0 !important;
    padding-left: 0 !important;
    gap: 0.2rem !important;
    overflow: visible !important;
  }
  html body .site-subnav-actions,
  html body .site-subnav-end,
  html[lang] body .site-subnav-actions,
  html[lang] body .site-subnav-end,
  html[lang^="ru"] body .site-subnav-actions {
    display: flex !important;
    flex: 0 0 auto !important;
    margin-left: auto !important;
    gap: 0.3rem !important;
  }
  /* same L1 btn font+format; tighter left pad so text hugs red-line */
  html[lang] body .site-subnav .site-subnav-link,
  html[lang] body .site-subnav a.site-subnav-link,
  html[lang] body .site-subnav-main .site-subnav-link,
  html[lang^="zh"] body .site-subnav .site-subnav-link,
  html[lang^="ru"] body .site-subnav .site-subnav-link {
    font-family: "Helvetica Neue", "Noto Sans", "Noto Sans SC", "Noto Sans JP", "Noto Sans KR", "Noto Sans Arabic", sans-serif !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    letter-spacing: -0.01em !important;
    border-radius: 12px !important;
    border: 1px solid #d7e3f4 !important;
    background: #fff !important;
    color: #1a2f4a !important;
    padding: 0.32rem 0.55rem 0.32rem 0.28rem !important;
    min-height: 2.4rem !important;
  }
  html[lang] body .site-subnav .site-subnav-link.is-accent,
  html[lang] body .site-subnav a.site-subnav-link.is-accent {
    background: #0b63f6 !important;
    border-color: transparent !important;
    color: #fff !important;
    padding: 0.32rem 0.55rem !important;
  }
  html[lang] body .site-subnav .site-subnav-link.is-dashboard,
  html[lang] body .site-subnav a.site-subnav-link.is-dashboard {
    background: #fff !important;
    border: 1px solid #d7e3f4 !important;
    color: #1d4ed8 !important;
  }
}
/* hero-two-col-quote-20260830 — desktop: left copy + right CAD/AI quote panel */
@media (min-width: 901px) {
  html body .hero-quote-inner,
  html[lang] body .hero-quote-inner {
    display: grid !important;
    grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr) !important;
    column-gap: clamp(1.25rem, 2.4vw, 2.1rem) !important;
    row-gap: 1.25rem !important;
    align-items: start !important;
  }
  html body .hero-quote-intro,
  html[lang] body .hero-quote-intro {
    max-width: none !important;
    width: 100% !important;
    margin-inline: 0 !important;
  }
  html body .quote-hero-drop-wrap,
  html[lang] body .quote-hero-drop-wrap {
    margin-top: 0.15rem !important;
    min-width: 0 !important;
    align-self: start !important;
    height: auto !important;
  }
  html body .quote-hero-teaser,
  html[lang] body .quote-hero-teaser {
    margin-top: 0 !important;
    height: auto !important;
  }
  html body .quote-hero-teaser-card,
  html[lang] body .quote-hero-teaser-card {
    height: auto !important;
  }
  /* Side column: compact vertical drop (not stretched) */
  html body .quote-hero-teaser-drop,
  html[lang] body .quote-hero-teaser-drop {
    grid-template-columns: 1fr !important;
    grid-template-rows: none !important;
    justify-items: center !important;
    text-align: center !important;
    padding: 1.55rem 1.15rem 1.35rem !important;
    margin: 0.9rem !important;
  }
  html body .quote-hero-teaser-drop .quote-drop-ico,
  html body .quote-hero-teaser-drop strong,
  html body .quote-hero-teaser-sub,
  html body .quote-hero-teaser-drop .quote-format-list {
    grid-column: auto !important;
    grid-row: auto !important;
  }
  html body .quote-hero-teaser-drop .quote-drop-ico {
    margin-bottom: 0.2rem !important;
  }
  html body .quote-hero-teaser-drop strong {
    font-size: 1.05rem !important;
    max-width: 18rem !important;
  }
  html body .quote-hero-teaser-sub {
    font-size: 0.86rem !important;
    max-width: 17rem !important;
  }
  html body .quote-hero-teaser-drop .quote-format-list {
    justify-content: center !important;
  }
}
@media (max-width: 900px) {
  html body .hero-quote-inner,
  html[lang] body .hero-quote-inner {
    grid-template-columns: 1fr !important;
  }
  html body .hero-quote-intro,
  html[lang] body .hero-quote-intro {
    max-width: 46rem !important;
  }
}
