:root {
  color: #202c3c;
  background: #f2f6fb;
  font: 15px/1.7 "Microsoft YaHei UI", "PingFang SC", system-ui, sans-serif;
  --nav: #eaf2fc;
  --outline: #dbe4f0;
  --link: #15578d;
  --active: #dcefff;
  --red: #912634;
  --gold: #a66a2a;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: .2em; }
:focus-visible { outline: 2px solid #2775ac; outline-offset: 3px; }
[hidden] { display: none !important; }
.topbar { background: #fff; border-bottom: 1px solid var(--outline); }
.topbar-inner {
  max-width: 1360px; margin-inline: auto; padding: 12px 26px; min-height: 65px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--red); line-height: 1.3; }
.brand strong { display: block; font-size: 19px; }
.brand small { color: var(--gold); font-size: 12px; }
.search {
  display: flex; gap: 11px; align-items: center; width: min(100%, 270px); min-height: 38px;
  border: 1px solid var(--outline); border-radius: 6px; padding: 0 12px; color: #58718b;
}
.search:focus-within { border-color: #5297ca; }
.search input { color: #253548; border: 0; flex: 1; min-width: 0; width: 100%; font: inherit; background: none; outline: none; }
.search-icon { position: relative; margin-right: 2px; width: 13px; height: 13px; border: 1.5px solid; border-radius: 50%; }
.search-icon::after { content: ""; position: absolute; width: 5px; height: 1.5px; background: currentColor; bottom: -2px; right: -4px; transform: rotate(45deg); }
.layout { max-width: 1360px; margin-inline: auto; min-height: calc(100vh - 65px); display: grid; grid-template-columns: 232px minmax(0, 1fr); }
aside { background: var(--nav); border-right: 1px solid var(--outline); }
nav { position: sticky; top: 0; max-height: 100vh; overflow: auto; padding: 24px 14px; }
nav details { margin: 6px 0; }
nav summary { cursor: pointer; font-weight: 600; padding: 6px 9px; color: #334d66; }
nav a { display: block; padding: 5px 10px; margin: 2px 0; border: 1px solid transparent; border-radius: 6px; color: #314b61; overflow-wrap: anywhere; }
nav details a { padding-left: 22px; }
nav a:hover, nav a[aria-current="page"] { background: var(--active); color: #144e77; border-color: #b7dbf7; text-decoration: none; }
main { min-width: 0; background: #fff; padding: 34px clamp(18px, 4%, 58px) 55px; }
h1, h2, p, figure { margin: 0; }
h1 { color: #152a3e; font-size: 32px; line-height: 1.25; margin-bottom: 22px; overflow-wrap: anywhere; }
h2 { font-size: 19px; color: #243c53; }
.breadcrumb { font-size: 13px; color: #637489; display: flex; gap: 8px; margin-bottom: 12px; }
.intro { margin-bottom: 24px; }
.collections { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 225px), 1fr)); column-gap: 28px; }
.collections section { padding: 15px 0; border-top: 1px solid var(--outline); }
.collections ul { padding-left: 20px; margin: 8px 0 0; }
.collections li { margin-block: 4px; }
.steps { padding-inline-start: 24px; margin: 0 0 18px; }
.steps li { padding-inline-start: 5px; margin-block: 10px; }
.steps li::marker { color: var(--link); font-weight: 700; }
.note { background: #fff8e9; border-left: 3px solid #d89e3b; padding: 11px 14px; margin-block: 20px; color: #644922; }
figure { margin-top: 22px; }
figure img, .overview img { display: block; width: 100%; height: auto; border: 1px solid var(--outline); border-radius: 6px; }
figcaption { color: #5c7084; font-size: 13px; margin-top: 6px; }
.overview { margin-block: 20px 30px; max-width: 100%; }
@media (max-width: 710px) {
  .topbar-inner { padding-inline: 14px; }
  .brand { flex-shrink: 0; }
  .brand strong { font-size: 16px; }
  .search { max-width: 175px; }
  .layout { display: flex; flex-direction: column; }
  aside { border-right: 0; border-bottom: 1px solid var(--outline); }
  nav { display: flex; gap: 5px; max-height: none; padding: 6px 12px; position: static; flex-wrap: wrap; }
  nav details { margin: 2px 0; }
  nav details[open] { flex-basis: 100%; }
  nav a { padding: 4px 7px; }
  nav summary { padding: 5px 7px; }
  main { padding-top: 22px; }
  h1 { font-size: 27px; }
}
