/* Shared site tokens, navigation, footer, and homepage layout. */
body.site-page {
  --home-ink: #262e38;
  --home-muted: #737e8d;
  --home-accent: #557ba6;
  --home-line: #e9edf1;
  background: #fdfefd;
  color: var(--home-ink);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  -webkit-font-smoothing: antialiased;
}
.site-page button, .site-page input { font: inherit; }
.site-page button { cursor: pointer; }
.site-page [hidden] { display: none !important; }
.site-page svg { flex-shrink: 0; }
.site-page :where(a, button):focus-visible { outline: 2px solid var(--home-accent); outline-offset: 5px; border-radius: 4px; }
.site-page .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.home-skip { position: fixed; top: -80px; left: 16px; z-index: 100; background: var(--home-accent); color: #fff; padding: 10px 16px; border-radius: 5px; }
.home-skip:focus { top: 12px; }
.home-header { max-width: 1200px; padding: 0 40px; margin: auto; }
.home-header-inner { height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--home-line); }
.home-brand { display: flex; align-items: center; gap: 12px; font-size: 22px; font-weight: 550; letter-spacing: -.5px; white-space: nowrap; }
.brand-logo { display: block; width: 44px; height: 44px; object-fit: contain; flex-shrink: 0; }
.home-brand-cn { font-size: 14px; font-weight: 400; color: var(--home-muted); margin-left: 18px; letter-spacing: 0; }
.home-nav { display: flex; gap: 34px; align-items: center; height: 100%; font-size: 14px; color: #737c88; }
.home-nav a { position: relative; padding: 7px 0; transition: color .18s; }
.home-nav a:hover, .home-nav a[aria-current] { color: var(--home-accent); }
.home-nav a[aria-current]::after { content: ''; position: absolute; bottom: -6px; left: -2px; right: -2px; height: 2px; background: var(--home-accent); }
.home-main { max-width: 1200px; margin: auto; padding: 0 40px; }
.home-hero { text-align: center; padding: 44px 0 40px; }
.hero-eyebrow { font-size: 13px; color: var(--home-muted); margin-bottom: 13px; }
.home-hero h1 { font-size: clamp(28px, 3.3vw, 44px); font-weight: 600; line-height: 1.4; letter-spacing: -1px; }
.hero-description { font-size: 16px; color: #788291; line-height: 1.8; margin-top: 13px; }
.hero-search { height: 56px; max-width: 650px; margin: 32px auto 0; padding: 0 14px 0 15px; display: flex; align-items: center; gap: 13px; background: #f6f8fa; border: 1px solid #e1e7ee; border-radius: 10px; transition: border-color .18s, box-shadow .18s; }
.hero-search:focus-within { border-color: #97b0cf; box-shadow: 0 0 0 3px #557ba611; }
.search-submit { border: none; background: none; color: var(--home-accent); padding: 5px; display: flex; align-items: center; justify-content: center; }
.hero-search input { color: var(--home-ink); background: none; width: 100%; min-width: 0; height: 100%; font-size: 15px; border: none; outline: none; }
.hero-search input::placeholder { color: #818b98; }
.search-shortcut { font-family: inherit; font-size: 12px; color: #7e8a9b; border: 1px solid #e0e6ec; border-radius: 6px; padding: 3px 7px; background: #fafbfc; white-space: nowrap; }
.hero-hot { display: flex; justify-content: center; align-items: center; gap: 25px; margin-top: 20px; font-size: 13px; }
.hero-hot > span { color: #7c8592; margin-right: -6px; }
.hero-hot button { color: var(--home-accent); background: none; border: none; padding: 4px 0; transition: color .18s; }
.hero-hot button:hover { color: #304f76; text-decoration: underline; text-underline-offset: 4px; }
.toolkit-section { scroll-margin-top: 24px; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 8px; }
.section-heading h2, .latest-panel h2 { font-size: 20px; font-weight: 550; line-height: 1.5; letter-spacing: -.3px; }
.section-heading > span { font-size: 12px; color: var(--home-muted); }
.collection-filters { display: flex; gap: 26px; border-bottom: 1px solid var(--home-line); }
.collection-filters button { font-size: 14px; color: #747d89; padding: 11px 6px 13px; border: none; border-bottom: 2px solid transparent; margin-bottom: -1px; background: transparent; transition: color .18s; }
.collection-filters button[aria-pressed='true'] { color: var(--home-accent); border-bottom-color: var(--home-accent); }
.collection-filters button:hover { color: var(--home-accent); }
.sheet-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 32px; }
.sheet-card { display: flex; align-items: center; gap: 16px; min-width: 0; min-height: 108px; padding: 23px 0; border-bottom: 1px solid var(--home-line); position: relative; isolation: isolate; }
.sheet-card::before { content: ''; position: absolute; inset: 9px -9px; z-index: -1; background: #f4f7fa; border-radius: 7px; opacity: 0; transition: opacity .18s; }
.sheet-card:hover::before { opacity: 1; }
.sheet-icon { width: 46px; height: 48px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; color: #607f9d; background: #f2f5f8; border-radius: 8px; }
.sheet-copy { min-width: 0; flex: 1; }
.sheet-copy h3 { font-size: 16px; font-weight: 550; line-height: 1.5; white-space: nowrap; text-overflow: ellipsis; overflow: hidden; }
.sheet-copy p { color: #748092; font-size: 12px; margin-top: 3px; line-height: 1.7; white-space: nowrap; text-overflow: ellipsis; overflow: hidden; }
.sheet-arrow { display: flex; color: #8393a7; margin-left: 2px; }
.sheet-card:hover .sheet-arrow { color: var(--home-accent); }
.collection-more { text-align: center; padding-top: 17px; min-height: 51px; }
.collection-more button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; font-size: 13px; border: none; color: var(--home-accent); background: transparent; padding: 6px 10px; }
.collection-more button:hover { text-decoration: underline; text-underline-offset: 4px; }
.collection-empty { text-align: center; padding: 42px 16px; color: var(--home-muted); }
.collection-empty > svg { margin-bottom: 12px; color: #819ab6; }
.collection-empty h3 { color: #4c5b6c; font-size: 16px; font-weight: 500; }
.collection-empty p { font-size: 13px; margin-top: 7px; }
.collection-empty button { color: var(--home-accent); border: none; background: none; font-size: 13px; padding: 7px; margin-top: 15px; }
.toolkit-section noscript p { text-align: center; font-size: 13px; }
.toolkit-section noscript a { color: var(--home-accent); }
.latest-panel { margin-top: 29px; margin-bottom: 27px; }
.latest-panel h2 { display: flex; align-items: center; gap: 12px; margin-bottom: 11px; font-size: 18px; }
.latest-panel h2 svg { color: #8094ad; }
.latest-list { border-top: 1px solid var(--home-line); }
.latest-list > a { display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--home-line); min-height: 38px; padding: 9px 0; font-size: 13px; transition: color .18s; }
.latest-title { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.latest-list a:hover { color: var(--home-accent); }
.latest-list time { color: #7d899b; font-size: 12px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.home-footer { max-width: 1200px; margin: auto; padding: 0 40px 20px; }
.home-footer-content { display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid var(--home-line); padding-top: 20px; color: #7c8796; font-size: 12px; }
.home-footer-content nav { display: flex; gap: 22px; }
.home-footer a:hover { color: var(--home-accent); }
.home-registration { display: inline-block; font-size: 10px; color: #929aa6; margin-top: 8px; }
@media (max-width: 900px) {
  .home-header, .home-main, .home-footer { padding-left: 28px; padding-right: 28px; }
  .home-brand-cn { display: none; }
  .sheet-grid { column-gap: 22px; }
  .sheet-card { gap: 12px; }
  .sheet-icon { width: 40px; height: 42px; }
  .sheet-copy h3 { font-size: 15px; }
  .sheet-copy p { font-size: 11px; }
}
@media (max-width: 700px) {
  .home-header-inner { height: 70px; }
  .home-brand { font-size: 18px; gap: 9px; }
  .brand-logo { width: 40px; height: 40px; }
  .home-nav { gap: 22px; font-size: 12px; }
  .home-hero { padding-top: 42px; padding-bottom: 38px; }
  .home-hero h1 { font-size: 32px; letter-spacing: -.8px; }
  .hero-description { font-size: 13px; max-width: 390px; margin: 13px auto 0; }
  .hero-search { margin-top: 27px; }
  .sheet-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 26px; }
  .sheet-card { min-height: 104px; }
  .sheet-copy p { font-size: 12px; }
  .section-heading h2 { font-size: 19px; }
}
@media (max-width: 480px) {
  .home-header, .home-main, .home-footer { padding-left: 22px; padding-right: 22px; }
  .home-header-inner { height: auto; min-height: 70px; flex-wrap: wrap; padding-top: 20px; gap: 15px; }
  .home-brand-cn { display: inline; font-size: 12px; margin-left: 12px; }
  .home-nav { width: 100%; justify-content: space-between; height: 40px; }
  .home-nav a[aria-current]::after { bottom: -3px; }
  .home-hero { padding-top: 36px; padding-bottom: 35px; }
  .home-hero h1 { font-size: clamp(23px, 6.5vw, 30px); letter-spacing: -.8px; }
  .hero-eyebrow { font-size: 11px; margin-bottom: 12px; }
  .hero-description { font-size: 12px; line-height: 1.9; max-width: 290px; }
  .hero-search { height: 53px; padding-left: 10px; padding-right: 10px; gap: 8px; margin-top: 23px; }
  .hero-search input { font-size: 14px; }
  .search-shortcut { display: none; }
  .hero-hot { gap: 20px; font-size: 12px; margin-top: 17px; }
  .section-heading { gap: 12px; }
  .section-heading h2 { font-size: 18px; }
  .section-heading > span { font-size: 10px; }
  .collection-filters { gap: 22px; }
  .collection-filters button { font-size: 13px; }
  .sheet-grid { grid-template-columns: minmax(0, 1fr); }
  .sheet-card { min-height: 87px; gap: 14px; padding: 17px 0; }
  .sheet-icon { width: 43px; height: 45px; }
  .sheet-copy h3 { font-size: 16px; }
  .sheet-copy p { font-size: 12px; }
  .sheet-arrow { margin-right: 3px; }
  .latest-panel { margin-top: 26px; }
  .latest-list > a { font-size: 12px; gap: 12px; min-height: 42px; }
  .latest-list time { font-size: 10px; }
  .home-footer-content { font-size: 10px; gap: 14px; }
  .home-footer-content nav { gap: 14px; }
  .home-registration { font-size: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  .site-page *, .site-page *::before { transition: none !important; scroll-behavior: auto !important; }
}
