/* The shared navigation is scoped so it can also run on the document and account pages. */
[data-site-header], [data-site-footer] {
  font-family: "Inter", "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: #1b1c1c;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 450;
  letter-spacing: normal;
}
[data-site-header] { position: sticky; z-index: 50; top: 0; padding: 12px clamp(12px,2vw,32px) 4px; background: transparent; }
[data-site-header] *, [data-site-footer] * { box-sizing: border-box; }
[data-site-header] [hidden], [data-site-footer] [hidden] { display: none !important; }
.ocp-bar { position: relative; max-width: 1480px; margin: auto; display: flex; align-items: center; gap: clamp(16px,2.6vw,44px); min-height: 57px; padding: 5px 7px 5px 23px; background: #f4f4f2; border: 1px solid #e9e9e6; border-radius: 32px; }
.ocp-header a, .ocp-footer a { text-decoration: none; color: inherit; }
.ocp-header button { font: inherit; letter-spacing: inherit; color: inherit; cursor: pointer; border: 0; }
.ocp-brand { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; color: #161717; font-size: 21px; line-height: 1.15; font-weight: 680; letter-spacing: -.065em; }
.ocp-icon { width: 16px; height: 16px; flex: none; display: inline-block; vertical-align: middle; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ocp-brand .ocp-icon { width: 28px; height: 28px; stroke-width: 1.85; }
.ocp-navigation, .ocp-actions { display: flex; align-items: center; }
.ocp-navigation { gap: 2px; margin-inline: auto; }
.ocp-actions { gap: 6px; flex: none; }
.ocp-navigation > a, .ocp-trigger, .ocp-actions > a, .ocp-logout {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 38px;
  padding: 6px clamp(7px,.7vw,13px); background: transparent; border-radius: 22px; white-space: nowrap;
  font-size: 13px; font-weight: 540; line-height: 1.35;
}
.ocp-header .ocp-trigger { font-size: 13px; font-weight: 540; }
.ocp-caret { width: 6px; height: 6px; border-bottom: 1.25px solid; border-right: 1.25px solid; transform: translateY(-2px) rotate(45deg); }
.ocp-trigger[aria-expanded=true] .ocp-caret { transform: translateY(2px) rotate(225deg); }
.ocp-trigger[aria-expanded=true], .ocp-trigger:hover, .ocp-navigation > a:hover, .ocp-actions > a:not(.ocp-start):hover, .ocp-logout:hover { background: #e7e7e4; }
.ocp-actions .ocp-lang { font: 550 12px/1 ui-monospace, "Consolas", monospace; }
.ocp-account-name { max-width: 7em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; }
.ocp-actions .ocp-start { color: #fff; background: #1c1d1c; min-height: 42px; padding-inline: 18px; }
.ocp-start .ocp-icon { width: 14px; height: 14px; }
.ocp-start:hover { background: #393b39; transform: scale(1.02); }
.ocp-bar .ocp-toggle, .ocp-bar .ocp-mobile-login { display: none; }
.ocp-menu {
  position: absolute; top: calc(100% + 6px); z-index: 2; width: 266px; padding: 9px;
  border: 1px solid #e4e4e1; border-radius: 16px; background: white; box-shadow: 0 12px 30px #1111110b;
  opacity: 0; visibility: hidden; transform: translateY(-4px); pointer-events: none;
  transition: opacity .15s, transform .15s, visibility .15s;
}
.ocp-wide { width: min(656px,calc(100% - 28px)); }
.ocp-trigger[aria-expanded=true] + .ocp-menu { opacity: 1; visibility: visible; transform: none; pointer-events: auto; transition: opacity .15s, transform .15s; }
.ocp-menu-head { padding: 3px 6px 9px; border-bottom: 1px solid #eaeae8; }
.ocp-menu-head a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px; font-weight: 600; }
.ocp-menu-body { display: grid; grid-auto-columns: 1fr; grid-auto-flow: column; gap: 5px; padding: 10px 3px 2px; }
.ocp-menu-body h2, .ocp-foot-top h2 { margin: 0 0 7px; color: #676862; font-size: 12px; font-weight: 510; letter-spacing: 0; line-height: 1.5; }
.ocp-menu-body h2 { padding: 4px 10px; }
.ocp-menu-body a { display: block; padding: 7px 10px; font-size: 13px; border-radius: 7px; }
.ocp-menu-body a:hover, .ocp-menu-head a:hover { color: #133f91; background: #f4f5f3; border-radius: 7px; }
.ocp-header :is(a,button):focus-visible, .ocp-footer a:focus-visible { outline: 2px solid #335f9d; outline-offset: 2px; }
.ocp-header :is(a,button):active { scale: .98; }
.ocp-footer { background: #f7f7f5; border-top: 1px solid #e4e4df; }
.ocp-foot-wrap { width: min(1216px,calc(100% - 96px)); margin: auto; padding: 46px 0 22px; }
.ocp-foot-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 36px; }
.ocp-foot-top p { margin: 12px 0 0; font-size: 12px; color: #666964; }
.ocp-foot-top nav { display: grid; grid-template-columns: repeat(3,minmax(100px,1fr)); gap: clamp(26px,6vw,100px); }
.ocp-foot-top nav a { display: block; width: fit-content; padding-block: 4px; font-size: 13px; line-height: 1.6; }
.ocp-foot-top nav a:hover, .ocp-foot-bottom a:hover { text-decoration: underline; text-underline-offset: 3px; }
.ocp-foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; margin-top: 38px; padding-top: 17px; border-top: 1px solid #dddeda; color: #636661; font-size: 12px; }
.ocp-foot-bottom > div { display: flex; gap: 20px; flex-wrap: wrap; }
@view-transition { navigation: auto; }
@media(prefers-reduced-motion:no-preference) {
  .ocp-header .ocp-brand { view-transition-name: ocp-wordmark; }
  .ocp-bar :is(a,button), .ocp-caret, .ocp-footer a { transition: background-color .16s, transform .16s, color .16s, scale .15s; }
  ::view-transition-group(*) { animation-duration: .22s; }
}
@media(max-width:1060px) {
  .ocp-bar { padding-left: 16px; gap: 12px; }
  .ocp-actions { margin-left: auto; }
  .ocp-bar .ocp-toggle { display: grid; place-items: center; background: transparent; border-radius: 50%; width: 40px; height: 40px; }
  .ocp-toggle .ocp-icon { width: 20px; height: 20px; }
  .ocp-toggle .ocp-icon:last-child, .ocp-toggle[aria-expanded=true] .ocp-icon:first-child { display: none; }
  .ocp-toggle[aria-expanded=true] .ocp-icon:last-child { display: block; }
  .ocp-navigation {
    position: absolute; top: calc(100% + 7px); left: 0; right: 0; max-height: calc(100dvh - 88px);
    overflow: auto; overscroll-behavior: contain; display: block; background: #fff; border: 1px solid #dfdfdb; border-radius: 17px; padding: 10px;
    opacity: 0; visibility: hidden; transform: translateY(-5px); transition: opacity .15s,transform .15s,visibility .15s; box-shadow: 0 12px 30px #1111110c;
  }
  .ocp-nav-open .ocp-navigation { opacity: 1; visibility: visible; transform: none; }
  .ocp-navigation > a, .ocp-header .ocp-trigger { display: flex; justify-content: space-between; padding: 12px; width: 100%; min-height: 42px; border-radius: 7px; font-size: 15px; }
  .ocp-menu, .ocp-wide { position: static; width: auto; box-shadow: none; border: 0; border-radius: 0; display: none; padding: 4px 4px 12px; }
  .ocp-trigger[aria-expanded=true] + .ocp-menu { display: block; }
  .ocp-menu-head { padding: 0; }
  .ocp-menu-body { grid-auto-flow: row; grid-template-columns: repeat(auto-fit,minmax(160px,1fr)); }
}
@media(max-width:620px) {
  [data-site-header] { padding: 8px 8px 4px; }
  .ocp-bar { min-height: 51px; padding: 4px 4px 4px 13px; }
  .ocp-brand { font-size: 19px; }
  .ocp-brand .ocp-icon { width: 25px; height: 25px; }
  .ocp-actions { gap: 1px; }
  .ocp-actions .ocp-login { display: none; }
  .ocp-actions .ocp-start { min-height: 35px; padding-inline: 12px; font-size: 12px; }
  .ocp-bar .ocp-mobile-login { display: flex; border-top: 1px solid #e8e8e5; border-radius: 0; }
  .ocp-foot-wrap { width: calc(100% - 40px); padding-block: 30px 20px; }
  .ocp-foot-top { flex-direction: column; gap: 24px; }
  .ocp-foot-top nav { gap: 17px; width: 100%; grid-template-columns: repeat(3,minmax(0,1fr)); }
  .ocp-foot-bottom { margin-top: 22px; }
}
@media(max-width:370px) {
  .ocp-bar { gap: 6px; padding-left: 10px; }
  .ocp-start .ocp-icon { display: none; }
  .ocp-account-name { max-width: 3em; }
  .ocp-brand { font-size: 18px; gap: 5px; }
}
@media(prefers-reduced-motion:reduce) {
  .ocp-header *, .ocp-footer * { animation: none !important; transition: none !important; }
  ::view-transition-group(*) { animation-duration: .01ms; }
}

