﻿:root {
  color-scheme: light;
  --blue: #0068b7;
  --navy: #092d4c;
  --muted: #486277;
  --line: #ccdae6;
  --pale: #eff6fc;
  font-family: "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
  color: var(--navy);
  line-height: 1.65;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; }
img { display: block; max-width: 100%; height: auto; }
a { color: #005b9f; text-underline-offset: .2em; }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid #9d5000; outline-offset: 3px; }
.wrap { width: min(100% - 2rem, 76rem); margin-inline: auto; }
.skip { position: fixed; z-index: 2; top: .5rem; left: .75rem; padding: .6rem 1rem; background: white; transform: translateY(-150%); }
.skip:focus { transform: none; }
.site-header { background: white; border-bottom: 1px solid var(--line); border-top: 4px solid var(--blue); }
.masthead { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: .75rem; padding-block: .7rem; }
.brand { display: flex; align-items: center; min-height: 44px; width: fit-content; }
.desktop-nav { display: none; }
.site-header ul { list-style: none; margin: 0; padding: 0; }
.site-header nav a, .mobile-nav summary { display: flex; align-items: center; min-height: 44px; padding: .5rem .75rem; text-decoration: none; font-weight: 700; white-space: nowrap; }
.mobile-nav summary { display: list-item; cursor: pointer; background: var(--pale); border-radius: .35rem; }
.mobile-nav[open] { display: contents; }
.mobile-nav[open] summary { grid-column: 2; }
.mobile-nav nav { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: .35rem; }
.mobile-nav ul { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
[aria-current="page"], [data-section="active"] { background: var(--pale); box-shadow: inset 0 -3px var(--blue); border-radius: .25rem; }
main { flex: 1; padding-block: clamp(1.5rem,4vw,3.5rem) 4rem; overflow-wrap: anywhere; }
h1, h2 { line-height: 1.25; }
h1 { margin: 0 0 1.25rem; font-size: clamp(1.9rem,4.5vw,3.9rem); letter-spacing: -.03em; }
h2 { margin: 0 0 1rem; font-size: clamp(1.35rem,2.2vw,2rem); }
section { margin-block: 2.5rem; }
.intro { color: var(--muted); font-size: clamp(1.05rem,2vw,1.3rem); max-width: 36em; }
.hero { display: grid; background: var(--pale); border-radius: .75rem; overflow: hidden; box-shadow: inset 0 4px var(--blue); }
.hero-copy { padding: clamp(1.15rem,4vw,3rem); }
.hero picture { display: block; min-width: 0; }
.hero img { width: 100%; }
.actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.25rem; }
.actions a { display: inline-flex; align-items: center; min-height: 44px; padding: .55rem .95rem; background: #005eaa; color: white; border-radius: .35rem; text-decoration: none; }
.actions a + a { background: white; color: #005b9f; box-shadow: inset 0 0 0 1px var(--line); }
.applications, .cards, .map-list { display: grid; list-style: none; margin: 0; padding: 0; gap: .85rem; }
.applications { grid-template-columns: repeat(2,minmax(0,1fr)); }
.applications a { display: flex; min-height: 52px; align-items: center; padding: .65rem .9rem; background: var(--pale); border-left: 3px solid var(--blue); border-radius: .25rem; font-weight: 700; }
.cards { grid-template-columns: repeat(auto-fit,minmax(min(100%,14rem),1fr)); }
.card { border: 1px solid var(--line); border-radius: .5rem; }
.card a { display: flex; flex-direction: column; height: 100%; min-height: 44px; text-decoration: none; }
.card a:hover span { text-decoration: underline; }
.card img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; padding: .6rem; background: #f4f8fb; border-radius: .5rem .5rem 0 0; }
.card span { padding: .75rem .9rem; font-weight: 700; }
.crumb { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem; margin-bottom: .65rem; }
.crumb a, .map-list a, .site-footer a { display: inline-flex; align-items: center; min-height: 44px; }
.detail { max-width: 54rem; }
.detail figure, .gallery figure { margin: 0; }
.detail figure img { max-height: 32rem; width: auto; object-fit: contain; }
.detail figcaption, .date { color: var(--muted); }
.detail table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; }
.detail :is(th,td) { padding: .5rem; border: 1px solid var(--line); }
.detail section { border-top: 1px solid var(--line); padding-top: 1.15rem; }
.gallery { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit,minmax(min(100%,17rem),1fr)); }
.steps { display: grid; gap: .5rem 2rem; grid-template-columns: repeat(auto-fit,minmax(9rem,1fr)); padding-inline-start: 1.6rem; }
.steps li { padding: .6rem; background: var(--pale); }
main details { max-width: 55rem; border-top: 1px solid var(--line); }
main details:last-child { border-bottom: 1px solid var(--line); }
main summary { padding: .65rem .25rem; min-height: 44px; cursor: pointer; font-weight: 700; }
main details p { margin: 0; padding: .25rem 1rem 1rem; }
.map-list { grid-template-columns: repeat(auto-fit,minmax(min(100%,16rem),1fr)); gap: .25rem 1rem; }
.site-footer { background: var(--navy); color: white; padding-block: 1rem; }
.site-footer > div { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.site-footer a { color: white; }
@media (min-width: 48rem) {
  .desktop-nav, .desktop-nav ul { display: flex; }
  .mobile-nav { display: none; }
  .applications { grid-template-columns: repeat(4,minmax(0,1fr)); }
}
@media (min-width: 64rem) {
  .hero { grid-template-columns: 4fr 6fr; align-items: stretch; }
  .hero picture { display: flex; }
  .hero img { object-fit: cover; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; }
}
