/* Brand application and typography. Navigation and content stay unchanged. */
:root {
  --ink: #262b2f;
  --muted: #616a73;
  --line: #e1e5e9;
  --surface: #ffffff;
}
body { background: #fff; }
.sidebar { background: #f6f7f8; border-right-color: #e4e7eb; padding-top: 24px; }
.brand { padding: 0 12px 24px; margin-bottom: 18px; border-bottom: 1px solid #e1e5e9; flex-shrink: 0; }
.brand-logo { display: block; width: 184px; max-width: 100%; height: auto; margin-left: -6px; }
.brand-caption { margin-top: 7px; font-size: 13px; letter-spacing: .8px; color: #606971; padding-left: 10px; }
.home-link, .side-guide { min-height: 43px; }
.home-link[aria-current], .side-guide[aria-current] { background: #e6e9ed; color: #242b30; }
.home-link { font-weight: 550; }
.sidebar>.nav-label { margin-top: 24px; margin-bottom: 12px; color: #707983; letter-spacing: 1.2px; }
.nav-group summary { color: #414b54; padding-top: 10px; padding-bottom: 10px; }
.nav-number { color: #76818c; font-weight: 400; }
.nav-group[open]>summary { background: #edf0f4; }
.nav-group.is-current[open]>summary { background: #e9f1fb; }
.topic-nav .nav-children a { color: #5e6872; }
.topic-nav .nav-children a[aria-current], #mobile-nav .nav-children a[aria-current] { color: #005ebd; background: #e7f0fc; font-weight: 500; }
.nav-entry small { color: #7a8591; font-size: 12px; }
.sidebar-bottom { border-top-color: #e4e8ec; }
.curator-mark { background: #e9edf2; color: #647383; }
.sidebar-bottom div>span { color: #7c8792; }
.topbar { min-height: 68px; background: rgb(255 255 255 / 94%); border-bottom-color: #eef0f3; }
.breadcrumb { color: #4f5a64; }
.breadcrumb a, .header-search { color: #626d77; }
.header-search { padding: 7px 10px; margin-right: -10px; border-radius: 8px; transition: background .15s, color .15s; }
.header-search:hover { background: #f3f6fa; }
main { padding-top: 43px; padding-bottom: 54px; }
.intro { margin-bottom: 28px; }
.intro .eyebrow { color: #8a939c; font-size: 12px; letter-spacing: 2px; margin-bottom: 12px; }
.intro h1 { font-size: 38px; line-height: 1.35; letter-spacing: -.8px; font-weight: 600; }
.intro>p { margin-top: 14px; color: #59636d; line-height: 1.8; }
.preview-label { background: #f2f4f6; border: 0; border-radius: 5px; color: #66717b; padding: 5px 10px; }
.search-form { border-color: #d6dce2; background: #fff; border-radius: 10px; padding: 8px 10px 8px 18px; box-shadow: 0 2px 8px #27394a05; }
.search-form:focus-within { background: #fff; border-color: #85b1de; box-shadow: 0 0 0 3px #0071e310; }
.search-form>svg { color: #8a97a4; }
.search-form input { padding: 10px 0; }
.search-form input::placeholder { color: #737e88; }
.search-form button { color: #fff; background: #353b40; padding: 10px 19px; border-radius: 7px; line-height: 1.5; }
.search-form button:hover { color: #fff; background: #1f252b; }
.quick-search { margin-top: 13px; gap: 8px; }
.quick-search>span { font-size: 12px; color: #747e88; margin-right: 3px; }
.quick-search a { background: #f4f6f8; color: #52606b; padding: 4px 10px; font-size: 14px; }
.quick-search a:hover { background: #eaf2fc; color: var(--blue); border-color: transparent; }
.starting-points { margin-top: 28px; }
.section-kicker { color: #3c4852; font-size: 14px; font-weight: 550; margin-bottom: 13px; }
.path-grid { gap: 12px; }
.path-card { padding: 15px 16px; background: #fff; border-color: #dfe4e9; border-radius: 8px; transition: border-color .16s, background .16s, box-shadow .16s; }
.path-card>span { font-weight: 500; color: #303d48; }
.path-card svg { color: #6d7e8c; }
.path-card:hover { background: #f1f6fc; border-color: #cbddef; box-shadow: 0 3px 9px #24354906; }
.path-card:hover svg { color: var(--blue); }
.reading-intro-link { color: #77838e; font-size: 13px; margin-top: 11px; padding: 14px 0; }
.reading-intro-link>svg:first-child { color: #8b9cad; }
.topics { margin-top: 26px; }
.section-heading { margin-bottom: 23px; }
.section-heading h2 { font-size: 24px; font-weight: 600; letter-spacing: -.4px; }
.section-heading p { color: #616d77; margin-top: 7px; }
.topic-total { color: #6c7883; font-size: 13px; padding-bottom: 4px; }
.home-directory { column-gap: 44px; row-gap: 42px; }
.directory-group { display: flex; flex-direction: column; border-top-color: #dce2e7; padding-top: 20px; }
.directory-group-heading { gap: 12px; align-items: baseline; }
.directory-group .card-number { display: inline-block; width: 26px; color: #6d7d8b; font-size: 13px; font-weight: 500; letter-spacing: .5px; }
.directory-group h3 { font-size: 20px; font-weight: 600; line-height: 1.65; color: #252e35; }
.directory-group ul { margin: 12px 0 14px 38px; }
.directory-group li+li { margin-top: 0; }
.directory-group li a { font-size: 16px; line-height: 1.8; color: #414d57; padding: 6px 8px; margin-left: -8px; border-radius: 5px; transition: background .15s, color .15s; }
.directory-group li a:hover { text-decoration: none; color: #0066cc; background: #f4f8fd; }
.directory-all { color: #23649c; margin: auto 0 0 38px; font-size: 14px; align-self: flex-start; }
.directory-all:hover { color: var(--blue); }
.page-note { margin-top: 42px; padding-top: 20px; border-top: 1px solid var(--line); color: #687680; font-size: 13px; }
.page>footer { border-top-color: #edf0f3; color: #74818b; padding-bottom: 26px; }
.detail-heading { margin-top: 5px; }
.detail-heading .eyebrow { color: #8a96a2; }
.detail-heading h1 { font-weight: 620; }
.detail-heading>p { color: #5c6873; }
.entry-list, .result-list { border-color: #e3e8ed; border-radius: 12px; }
.entry-row-link { padding-top: 23px; padding-bottom: 23px; }
.entry-row h3 { color: #3c4751; }
.entry-status { color: #7c8995; background: #f3f6f8; }
.item-index { color: #98a3ae; }
.related-card, .pager-link { background: #fafbfd; border-color: #e6eaf0; }
.reading-main { padding-top: 39px; }
.article-heading { border-bottom-color: #e9edf1; }
.article-meta { color: #8a96a1; }
.article h1 { color: #293138; font-weight: 620; letter-spacing: -.6px; }
.article-lead { color: #5d6c78; }
.article-content { color: #3b4853; line-height: 2; }
.article-content h2 { font-weight: 600; color: #303a43; }
.article-toc>p { color: #5a6672; }
.toc-link, .context-links a { color: #63717d; }
.inline-resource { border-color: #e3e9f0; background: #fafcff; }
.article-callout { background: #f1f6fc; border-left-color: #a5bfdc; color: #52718e; }
.reading-pager { border-top-color: #e9edf1; }
.pager-link strong { color: #557797; }
.pager-link:hover strong { color: var(--blue); }
.pending-article>p { color: #77838f; }
.pending-icon { background: #f0f4f8; color: #94a4b5; }
.pending-article h2 { color: #596773; font-weight: 550; }
.context-topic { color: #5e7fa1; }
.mobile-brand img { display: block; width: 142px; height: auto; }
#mobile-menu { background: #fff; border-color: #e2e8ee; }
.menu-heading { background: #fff; }
#mobile-nav .nav-group[open]>summary { background: #f0f4f8; }
@media (min-width: 1600px) {
  main { padding-top: 50px; }
  .intro h1 { font-size: 40px; }
  .home-directory { column-gap: 56px; }
}
@media (max-width: 1200px) {
  .brand { padding-left: 9px; padding-right: 9px; }
  .brand-logo { width: 176px; }
  main { padding-top: 36px; }
  .intro h1 { font-size: 36px; }
  .home-directory { column-gap: 30px; }
  .directory-group h3 { font-size: 19px; }
}
@media (max-width: 1000px) {
  .topbar { min-height: 74px; padding-top: 4px; padding-bottom: 4px; gap: 12px; }
  .mobile-brand { display: block; flex-shrink: 0; margin-left: -9px; }
  .mobile-brand img { width: 144px; }
  .header-search { margin-right: -5px; }
  .breadcrumb { margin-left: 3px; }
  html { scroll-padding-top: 94px; }
  .article-content>section { scroll-margin-top: 94px; }
}
@media (max-width: 700px) {
  .topbar { min-height: 72px; padding-left: 17px; padding-right: 17px; gap: 9px; }
  .mobile-brand img { width: 138px; }
  .header-search span { display: none; }
  .header-search { width: 36px; height: 36px; justify-content: center; padding: 8px; margin-right: 0; }
  .header-search svg { width: 20px; height: 20px; }
  main { padding: 30px 23px 38px; }
  .intro { margin-bottom: 24px; }
  .intro .eyebrow { letter-spacing: 1.6px; font-size: 11px; margin-bottom: 11px; }
  .intro h1 { font-size: 30px; letter-spacing: -.7px; }
  .intro>p { font-size: 15px; margin-top: 12px; max-width: 29em; }
  .title-line { gap: 10px; }
  .title-line .preview-label { font-size: 12px; padding: 4px 8px; margin-top: 4px; }
  .search-form { gap: 10px; padding-left: 14px; }
  .search-form input::placeholder { font-size: 13px; }
  .search-form button { padding: 10px 14px; }
  .quick-search { gap: 6px; }
  .quick-search>span { display: none; }
  .quick-search a { padding: 4px 8px; }
  .starting-points { margin-top: 26px; }
  .path-grid { gap: 10px; }
  .path-card { padding: 15px 14px; }
  .path-card>span { font-size: 14px; }
  .reading-intro-link { font-size: 13px; line-height: 1.8; }
  .topics { margin-top: 23px; }
  .section-heading { margin-bottom: 21px; }
  .section-heading h2 { font-size: 23px; }
  .section-heading p { font-size: 13px; max-width: 255px; }
  .home-directory { row-gap: 32px; }
  .directory-group { padding-top: 20px; }
  .directory-group h3 { font-size: 19px; }
  .directory-group li a { font-size: 16px; padding-top: 7px; padding-bottom: 7px; }
  .directory-all { font-size: 14px; }
  .page-note { margin-top: 29px; }
  .article h1 { font-size: 28px; }
  .article-lead { font-size: 17px; }
  .article-content { font-size: 17px; }
  .reading-main { padding-top: 29px; }
  .entry-row-link { padding-top: 19px; padding-bottom: 19px; }
}
@media (max-width: 380px) {
  main { padding-left: 19px; padding-right: 19px; }
  .intro h1 { font-size: 30px; }
  .title-line .preview-label { margin-top: 2px; }
  .path-card { padding-left: 12px; padding-right: 12px; }
  .search-form input::placeholder { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}

/* Keep the homepage directory within easy reach, including narrow screens. */
.home-main { padding-top: 32px; }
.home-main .title-line { justify-content: flex-start; align-items: center; gap: 14px; }
.home-main .title-line .preview-label { margin-top: 0; flex-shrink: 0; }
.home-main .intro { margin-bottom: 22px; }
.home-main .intro>p { font-size: 16px; max-width: none; text-wrap: pretty; }
.home-main .intro>p>span { display: inline-block; }
.home-main .starting-points { margin-top: 22px; }
.home-main .topics { margin-top: 34px; }
.home-main .section-heading { align-items: flex-start; gap: 12px; }
.home-main .section-heading>div { min-width: 0; }
.home-main .section-heading p { max-width: none; text-wrap: pretty; color: #616d77; }
.home-main .topic-total { white-space: nowrap; padding-top: 7px; }
.reading-start { display: flex; align-items: center; gap: 15px; margin-top: 22px; padding: 16px 20px; border: 1px solid #dce6ef; border-radius: 10px; background: #f3f7fb; transition: background .16s, border-color .16s; }
.reading-start:hover { background: #edf4fb; border-color: #b9cfe2; }
.reading-start-icon { display: grid; place-items: center; width: 28px; color: #34536e; flex-shrink: 0; }
.reading-start-copy { display: grid; gap: 3px; min-width: 0; }
.reading-start-label { color: #526f88; font-size: 12px; line-height: 1.5; }
.reading-start-copy strong { color: #273c4e; font-size: 17px; font-weight: 550; line-height: 1.6; }
.reading-start-action { display: flex; align-items: center; gap: 9px; margin-left: auto; color: #23649c; font-size: 14px; white-space: nowrap; }
.reading-start-action svg { width: 18px; height: 18px; }
@media (max-width: 700px) {
  .home-main { padding-top: 24px; }
  .home-main .title-line { gap: 10px; }
  .home-main .intro>p, .home-main .section-heading p { text-wrap: balance; }
  .reading-start { gap: 10px; padding: 13px 14px; margin-top: 20px; }
  .reading-start-icon { width: 22px; }
  .reading-start-copy strong { font-size: 16px; }
  .reading-start-action>span { display: none; }
  .home-main .topics { margin-top: 26px; }
}
@media (max-width: 380px) {
  .home-main .path-card { padding: 14px 10px; gap: 6px; }
  .home-main .path-card>span { font-size: 13px; }
  .home-main .path-card svg { width: 16px; height: 16px; }
}

/* Aliyun deployment: public filing information. */
.page>footer { flex-wrap: wrap; gap: 12px 24px; }
.page>footer .icp-link { color: inherit; font-size: inherit; }
.page>footer .icp-link:hover { color: var(--blue); text-decoration: underline; }
