.nav-actions { display: flex; align-items: center; gap: 24px; }
.language-switcher { position: relative; flex-shrink: 0; color: #385c47; font-size: 13px; }
.language-switcher summary { display: flex; align-items: center; gap: 7px; padding: 8px 10px; border: 1px solid rgba(72,187,120,.25); border-radius: 10px; background: rgba(255,255,255,.8); cursor: pointer; list-style: none; white-space: nowrap; }
.language-switcher summary::-webkit-details-marker { display: none; }
.language-switcher summary:hover { background: #eef9f3; }
.language-switcher summary:focus-visible, .language-options button:focus-visible { outline: 2px solid #38a169; outline-offset: 3px; }
.language-options { position: absolute; top: calc(100% + 8px); right: 0; width: 168px; padding: 6px; border: 1px solid #e2eee6; border-radius: 12px; background: #fff; box-shadow: 0 12px 36px rgba(15,40,25,.12); }
.language-options button { display: flex; align-items: center; justify-content: space-between; width: 100%; border: 0; border-radius: 7px; background: transparent; color: #385c47; padding: 10px 12px; font: inherit; text-align: left; cursor: pointer; }
.language-options button:hover { background: #f3f9f5; }
.language-options button[aria-pressed="true"] { background: #eaf7ee; color: #23864c; font-weight: 600; }
.language-check { visibility: hidden; }
.language-options button[aria-pressed="true"] .language-check { visibility: visible; }
.msg-box { pointer-events: none; }
.trust-badges { flex-wrap: wrap; }
.trust-badge { white-space: nowrap; }
.trust-badge svg { flex-shrink: 0; }
html:not([lang="zh-CN"]) .left-headline { font-size: clamp(30px, 3vw, 40px); line-height: 1.3; }
html[lang="ko-KR"] .left-panel { word-break: keep-all; }
.public-about .hero-title > span[data-i18n="about.focus"], .public-about .hero-title > span[data-i18n="about.empower"] { color: inherit; background: none; -webkit-text-fill-color: currentColor; }
.public-docs .content { min-width: 0; }
.public-docs .sidebar-item { white-space: normal; }
@media (max-width: 1150px) {
    .nav-actions { gap: 14px; }
    .top-nav .nav-links { gap: 16px; }
}
@media (max-width: 800px) {
    .top-nav .nav-links { display: none; }
    .public-docs .layout { flex-direction: column; }
    .public-docs .sidebar { position: static; display: flex; gap: 8px; width: 100%; min-width: 0; padding: 8px; overflow-x: auto; border-bottom: 1px solid #e2eee6; }
    .public-docs .sidebar-section { min-width: 185px; flex-shrink: 0; margin: 0; }
    .public-docs .sidebar-item { padding: 8px 12px; }
    .public-docs .content { margin-left: 0; max-width: 100%; padding: 24px 16px 48px; }
    .public-docs table { display: block; max-width: 100%; overflow-x: auto; }
}
@media (max-width: 480px) {
    .top-nav .nav-brand { min-width: 0; }
    .top-nav .nav-brand-name { max-width: 125px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; }
    .nav-actions { gap: 8px; margin-left: 8px; }
    .language-switcher summary { padding: 8px; gap: 5px; font-size: 12px; }
    .top-nav .nav-brand-icon, .top-nav .nav-brand-icon img { width: 36px !important; height: 36px !important; flex-shrink: 0; }
    .public-docs .top-nav { padding: 0 12px; }
    .public-docs .top-nav .nav-btn { display: none; }
    .public-about .nav-logo { min-width: 0; }
    .public-about .nav-logo > span { max-width: 125px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}
