/* Scoped to generated headers; legacy/private navigation is unaffected. */
html { scroll-padding-top: 100px; }
header.dsk-header, .dsk-header * { box-sizing: border-box; }
header.dsk-header { position: sticky; top: 0; left: 0; width: 100%; height: 80px; min-height: 0; z-index: 100; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 0 clamp(22px,3vw,56px); margin: 0; color: #171915; background: #faf7f1; border: 0; border-bottom: 1px solid #dedbd4; font: 14px/1.4 Arial,"Microsoft YaHei",sans-serif; isolation: isolate; }
header.dsk-header.dsk-home { position: fixed; height: 88px; color: #fff; background: linear-gradient(rgba(0,0,0,.32),rgba(0,0,0,.12)); border-bottom-color: #ffffff40; }
header.dsk-header.dsk-scrolled, header.dsk-header.dsk-open { height: 80px; color: #171915; background: #faf7f1; border-bottom-color: #dedbd4; }
header.dsk-header.dsk-open { position: fixed; z-index: 15000; }
.dsk-header a { color: inherit; text-decoration: none; }
.dsk-header .dsk-brand { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
.dsk-header .dsk-mark { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid currentColor; border-radius: 50%; font: 12px/1 Georgia,serif; letter-spacing: .06em; }
.dsk-header .dsk-brand b { display: block; font: 14px/1.25 Georgia,"Microsoft YaHei",serif; letter-spacing: .055em; }
.dsk-header .dsk-brand small { display: block; margin-top: 4px; font: 9px/1.3 Arial,sans-serif; letter-spacing: .14em; }
.dsk-header .dsk-navigation { display: flex; align-items: center; gap: clamp(12px,1.25vw,24px); margin: 0; padding: 0; background: none; font: inherit; }
.dsk-header .dsk-item { position: relative; }
.dsk-header .dsk-item-row, .dsk-header .dsk-actions { display: flex; align-items: center; gap: 2px; }
.dsk-header .dsk-main-link { display: flex; align-items: center; min-height: 44px; white-space: nowrap; padding: 8px 0; }
.dsk-header .dsk-current { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 7px; }
.dsk-header button { cursor: pointer; font: inherit; color: inherit; border: 0; border-radius: 0; box-shadow: none; background: none; margin: 0; text-transform: none; }
.dsk-header .dsk-sub-toggle { display: grid; place-items: center; width: 28px; min-height: 44px; padding: 0; }
.dsk-header .dsk-sub-toggle[aria-expanded=true] span { transform: rotate(180deg); }
.dsk-header .dsk-submenu { position: absolute; top: calc(100% + 8px); left: -16px; min-width: 240px; padding: 10px; color: #171915; background: #faf7f1; border: 1px solid #dedbd4; box-shadow: 0 12px 28px #00000018; }
.dsk-header .dsk-submenu[hidden] { display: none; }
.dsk-header .dsk-submenu a { display: block; min-height: 44px; padding: 12px; white-space: nowrap; font: 14px/1.5 Arial,"Microsoft YaHei",sans-serif; }
.dsk-header .dsk-submenu a:hover { background: #ece7df; }
.dsk-header .dsk-actions { gap: 15px; }
.dsk-header .dsk-language { display: grid; place-items: center; min-width: 44px; min-height: 44px; font-size: 12px; }
.dsk-header .dsk-language-note { font-size: 12px; opacity: .7; }
.dsk-header .dsk-cta { display: flex; align-items: center; justify-content: center; gap: 15px; min-height: 44px; padding: 12px 17px; white-space: nowrap; color: #fff; background: #171915; font-size: 13px; }
.dsk-header.dsk-home:not(.dsk-scrolled):not(.dsk-open) .dsk-cta { background: #faf7f1; color: #171915; }
.dsk-header a:focus-visible, .dsk-header button:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.dsk-header .dsk-menu-toggle { display: none; }
body.dsk-menu-open { overflow: hidden !important; }
@media(min-width:1200px) and (max-width:1350px) { .dsk-header .dsk-brand small { display: none; } .dsk-header .dsk-brand b { font-size: 12px; } .dsk-header .dsk-actions { gap: 8px; } }
@media(max-width:1199px) {
  header.dsk-header, header.dsk-header.dsk-home, header.dsk-header.dsk-scrolled { height: 72px; padding: 0 20px; }
  .dsk-header .dsk-brand b { font-size: 12px; } .dsk-header .dsk-brand small { display: none; } .dsk-header .dsk-mark { width: 36px; height: 36px; }
  .dsk-header.dsk-enhanced .dsk-menu-toggle { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 0 8px 12px; }
  .dsk-header .dsk-navigation { display: flex; position: fixed; inset: 72px 0 0; height: calc(100dvh - 72px); overflow-y: auto; overscroll-behavior: contain; flex-direction: column; align-items: stretch; gap: 0; padding: 20px 24px max(28px,env(safe-area-inset-bottom)); background: #faf7f1; color: #171915; }
  .dsk-header.dsk-enhanced:not(.dsk-open) .dsk-navigation { display: none; }
  .dsk-header .dsk-item { flex-shrink: 0; border-bottom: 1px solid #dedbd4; }
  .dsk-header .dsk-item-row { justify-content: space-between; }
  .dsk-header .dsk-main-link { flex: 1; min-height: 57px; padding: 12px 0; font: 23px/1.4 Georgia,"Microsoft YaHei",serif; }
  .dsk-header .dsk-sub-toggle { width: 48px; height: 48px; }
  .dsk-header .dsk-submenu { position: static; border: 0; border-left: 2px solid #dedbd4; box-shadow: none; padding: 0 0 0 10px; margin: 0 0 15px; min-width: 0; }
  .dsk-header .dsk-submenu a { white-space: normal; }
  .dsk-header .dsk-actions { flex-shrink: 0; margin-top: 24px; gap: 20px; justify-content: space-between; }
  .dsk-header .dsk-cta { padding: 14px 20px; }
  .dsk-header:not(.dsk-enhanced) { height: auto; position: relative; display: block; padding-top: 16px; color: #171915; background: #faf7f1; }
  .dsk-header:not(.dsk-enhanced) .dsk-navigation { position: static; height: auto; padding: 15px 0; }
}
@media(prefers-reduced-motion:reduce) { html { scroll-behavior: auto !important; } }
