:root {
  --navy: #0a1b36;
  --navy-2: #102747;
  --blue: #1c5b91;
  --gold: #d4a816;
  --gold-deep: #9a7100;
  --paper: #f4f6f8;
  --surface: #ffffff;
  --ink: #10213a;
  --muted: #586b82;
  --line: #d5dee8;
  --success: #176b51;
  --danger: #b63737;
  --header-height: 76px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scrollbar-width: none; }
html::-webkit-scrollbar, body::-webkit-scrollbar { display: none; }
body { min-width: 320px; margin: 0; background: var(--paper); color: var(--ink); font-family: Arial, "Microsoft YaHei", sans-serif; }
body.reading-mode { --muted: #354a64; --line: #aab9ca; font-size: 112.5%; }
button, input, select, textarea { font: inherit; }
button { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
[hidden] { display: none !important; }
.screen { display: none; }
.screen-active { display: block; animation: page-enter 420ms ease both; }

.site-header { position: sticky; z-index: 20; top: 0; display: flex; min-height: var(--header-height); align-items: center; gap: 28px; padding: 10px clamp(18px, 4vw, 68px); border-bottom: 2px solid var(--gold); background: var(--navy); box-shadow: 0 7px 18px rgba(5, 18, 38, .18); }
.scroll-progress { position: fixed; z-index: 21; top: calc(var(--header-height) - 2px); left: 0; width: 100%; height: 2px; background: var(--gold); pointer-events: none; transform: scaleX(0); transform-origin: left; }
.brand { display: inline-flex; min-width: 0; align-items: center; gap: 11px; color: #fff; text-decoration: none; }
.brand-seal { width: 46px; height: 46px; flex: 0 0 46px; object-fit: contain; }
.brand-copy { display: grid; min-width: 0; gap: 2px; }
.brand-copy strong { overflow: hidden; font-family: Georgia, "Microsoft YaHei", serif; font-size: clamp(18px, 2vw, 23px); letter-spacing: 0; text-overflow: ellipsis; white-space: nowrap; }
.brand-copy small { overflow: hidden; color: #c5d4e8; font-size: 9px; font-weight: 700; letter-spacing: .7px; text-overflow: ellipsis; white-space: nowrap; }
.site-nav { display: flex; min-width: 0; align-items: center; justify-content: center; gap: clamp(16px, 2.6vw, 38px); margin-left: auto; }
.site-nav a { position: relative; padding: 10px 0; color: #d9e4f0; font-size: 14px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.site-nav a::after { position: absolute; right: 0; bottom: 3px; left: 0; height: 2px; content: ""; background: var(--gold); opacity: 0; transform: scaleX(.25); transition: opacity 160ms ease, transform 160ms ease; }
.site-nav a:hover, .site-nav a:focus-visible, .site-nav a[aria-current="page"] { color: #fff; outline: none; }
.site-nav a:hover::after, .site-nav a:focus-visible::after, .site-nav a[aria-current="page"]::after { opacity: 1; transform: scaleX(1); }
.account-action { display: inline-flex; min-height: 38px; align-items: center; gap: 8px; padding: 0 13px; border: 1px solid var(--gold); border-radius: 5px; color: #fff; font-size: 13px; font-weight: 800; text-decoration: none; white-space: nowrap; transition: background 160ms ease, color 160ms ease; }
.account-action:hover, .account-action:focus-visible { background: var(--gold); color: var(--navy); outline: none; }
.account-mark { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.nav-toggle { display: none; width: 38px; height: 38px; margin-left: auto; padding: 9px; border: 1px solid rgba(255, 255, 255, .36); border-radius: 4px; background: transparent; color: #fff; cursor: pointer; }
.nav-toggle span { display: block; width: 100%; height: 2px; margin: 3px 0; background: currentColor; }
.site-header, .site-header a, .site-header button, .button, .assistant-widget button, .footer-main, .footer-bottom { -webkit-user-select: none; user-select: none; }

.official-hero { position: relative; overflow: hidden; min-height: 535px; background: var(--navy); color: #fff; }
.official-hero::before { position: absolute; top: 0; bottom: 0; left: 58%; width: 1px; content: ""; background: rgba(212, 168, 22, .32); }
.hero-inner { position: relative; z-index: 1; display: grid; width: min(1220px, calc(100% - 48px)); min-height: 535px; grid-template-columns: minmax(0, 1.1fr) minmax(270px, .45fr); align-items: center; gap: clamp(42px, 8vw, 130px); margin: 0 auto; padding: 72px 0; }
.hero-copy { max-width: 695px; }
.eyebrow { margin: 0 0 12px; color: #f0c83e; font-size: 11px; font-weight: 800; letter-spacing: 1.4px; }
.eyebrow-dark { color: var(--gold-deep); }
.hero-copy h1, .auth-context h1, .request-heading h1 { margin: 0; font-family: Georgia, "Microsoft YaHei", serif; font-size: clamp(46px, 6vw, 78px); line-height: 1.08; letter-spacing: 0; }
.hero-lead { max-width: 630px; margin: 24px 0 31px; color: #d5e1ef; font-size: 17px; line-height: 1.9; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 0; margin: 0; }
.hero-facts div { min-width: 150px; padding: 13px 22px 13px 0; border-right: 1px solid rgba(220, 230, 243, .32); }
.hero-facts div + div { padding-left: 22px; }
.hero-facts div:last-child { border-right: 0; }
.hero-facts dt { color: var(--gold); font-family: Georgia, serif; font-size: 15px; font-weight: 700; }
.hero-facts dd { margin: 6px 0 0; color: #fff; font-size: 13px; font-weight: 700; }
.hero-brief { display: grid; width: min(100%, 295px); justify-self: end; gap: 14px; padding: 28px; border-top: 3px solid var(--gold); background: #fff; color: var(--ink); box-shadow: 18px 18px 0 rgba(212, 168, 22, .12); }
.hero-brief p { margin: 0; color: var(--gold-deep); font-size: 12px; font-weight: 800; }
.hero-brief strong { font-family: Georgia, "Microsoft YaHei", serif; font-size: 24px; line-height: 1.25; }
.hero-brief > span { padding-top: 12px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; line-height: 1.55; }
.hero-brief a { padding-top: 7px; color: var(--blue); font-size: 13px; font-weight: 800; text-decoration: none; }
.hero-brief a:hover { color: var(--gold-deep); }

.content-band { padding: 88px max(24px, calc((100% - 1120px) / 2)); background: var(--surface); }
.section-heading { max-width: 730px; margin-bottom: 34px; }
.section-heading h2 { margin: 0; font-family: Georgia, "Microsoft YaHei", serif; font-size: clamp(29px, 4vw, 44px); line-height: 1.25; letter-spacing: 0; }
.section-heading > p:last-child { margin: 16px 0 0; color: var(--muted); font-size: 16px; line-height: 1.85; }
.section-heading.compact { margin-bottom: 24px; }
.mandate-band { background: #fff; }
.mandate-grid { display: grid; border: 1px solid var(--line); grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mandate-grid article { min-height: 244px; padding: 28px; border-right: 1px solid var(--line); background: #fff; }
.mandate-grid article:last-child { border-right: 0; }
.mandate-grid span { color: var(--gold-deep); font-family: Georgia, serif; font-size: 16px; font-weight: 700; }
.mandate-grid h3 { margin: 34px 0 11px; font-size: 19px; letter-spacing: 0; }
.mandate-grid p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.8; }
.publication-band { background: #edf2f6; }
.publication-layout { display: grid; gap: clamp(38px, 8vw, 110px); grid-template-columns: minmax(0, .9fr) minmax(360px, .9fr); align-items: start; }
.publication-steps { display: grid; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.publication-steps li { display: grid; grid-template-columns: 45px 1fr; gap: 15px; padding: 19px 0; border-bottom: 1px solid var(--line); }
.publication-steps span { color: var(--gold-deep); font-family: Georgia, serif; font-size: 15px; font-weight: 700; }
.publication-steps strong { display: block; font-size: 16px; }
.publication-steps p { margin: 7px 0 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.principle-band { background: var(--paper); }
.principle-layout { display: grid; gap: clamp(38px, 8vw, 120px); grid-template-columns: minmax(0, .9fr) minmax(360px, .9fr); align-items: start; }
.principle-list { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.principle-list li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.principle-list > li > span { color: var(--gold-deep); font-family: Georgia, serif; font-size: 15px; font-weight: 700; }
.principle-list strong { display: block; font-size: 16px; }
.principle-list p { margin: 7px 0 0; color: var(--muted); font-size: 14px; line-height: 1.65; }
.notice-band { background: var(--surface); }
.notice-grid { display: grid; gap: 0; border-top: 1px solid var(--line); grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(230px, .72fr); }
.notice-item, .law-link { min-height: 220px; padding: 25px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.notice-item { display: grid; grid-template-columns: 80px 1fr; gap: 15px; }
.notice-item time { color: var(--gold-deep); font-family: Georgia, serif; font-size: 14px; font-weight: 700; }
.notice-type { margin: 0; color: var(--blue); font-size: 12px; font-weight: 800; }
.notice-item h3 { margin: 11px 0; font-size: 18px; line-height: 1.5; }
.notice-item div > p:last-child { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.law-link { display: flex; flex-direction: column; background: var(--navy); color: #fff; text-decoration: none; }
.law-link span { color: #f0c83e; font-size: 12px; font-weight: 800; }
.law-link strong { margin: auto 0 8px; font-family: Georgia, "Microsoft YaHei", serif; font-size: 23px; line-height: 1.35; }
.law-link small { color: #d8e4f1; font-size: 13px; font-weight: 700; }
.law-link:hover { background: var(--navy-2); }

.auth-screen { min-height: calc(100dvh - var(--header-height)); background: var(--paper); }
.auth-shell { display: grid; min-height: calc(100dvh - var(--header-height)); grid-template-columns: minmax(0, 1fr) minmax(420px, .78fr); }
.auth-context { display: flex; min-height: 0; flex-direction: column; justify-content: center; padding: clamp(38px, 7vw, 100px); background: var(--navy); color: #fff; }
.auth-context h1 { max-width: 570px; font-size: clamp(43px, 5vw, 68px); }
.auth-context > p:last-of-type { max-width: 530px; margin: 19px 0 30px; color: #d2dfed; font-size: 16px; line-height: 1.85; }
.access-notes { display: grid; max-width: 520px; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid rgba(230, 239, 249, .28); }
.access-notes span { padding: 16px 14px 0 0; color: #dbe6f2; font-size: 12px; font-weight: 700; line-height: 1.55; }
.auth-panel { display: flex; width: min(100% - 68px, 430px); margin: auto; flex-direction: column; }
.auth-panel h2, .request-panel h2 { margin: 0; font-family: Georgia, "Microsoft YaHei", serif; font-size: clamp(29px, 3vw, 37px); letter-spacing: 0; }
.form-intro { margin: 12px 0 26px; color: var(--muted); font-size: 14px; line-height: 1.7; }
.form-stack { display: grid; gap: 15px; }
.form-stack label { display: grid; gap: 7px; color: #33455d; font-size: 13px; font-weight: 800; }
.form-stack input, .form-stack select, .form-stack textarea { width: 100%; min-width: 0; border: 1px solid #bfccda; border-radius: 4px; outline: none; background: #fff; color: var(--ink); font-size: 15px; }
.form-stack input, .form-stack select { height: 44px; padding: 0 12px; }
.form-stack textarea { resize: vertical; padding: 11px 12px; line-height: 1.55; }
.form-stack input:focus, .form-stack select:focus, .form-stack textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(28, 91, 145, .14); }
.form-stack [aria-invalid="true"] { border-color: var(--danger); }
.field-error { min-height: 0; color: var(--danger); font-size: 12px; font-weight: 700; line-height: 1.35; }
.field-error:not(:empty) { min-height: 16px; }
.button { display: inline-flex; min-height: 42px; align-items: center; justify-content: center; padding: 0 17px; border: 1px solid transparent; border-radius: 4px; cursor: pointer; font-size: 14px; font-weight: 800; text-decoration: none; transition: background 160ms ease, border-color 160ms ease, color 160ms ease; }
.button-primary { border-color: var(--navy); background: var(--navy); color: #fff; }
.button-primary:hover, .button-primary:focus-visible { background: var(--navy-2); outline: none; }
.button-secondary { border-color: #b7c4d2; background: transparent; color: var(--blue); }
.button-secondary:hover, .button-secondary:focus-visible { border-color: var(--gold); color: var(--gold-deep); outline: none; }
.form-stack .button-primary { width: 100%; }
.form-message { margin: 0; padding: 10px 12px; border-left: 3px solid var(--gold); background: #fff8df; color: #6a5200; font-size: 12px; font-weight: 700; line-height: 1.65; }
.auth-actions { display: flex; flex-wrap: wrap; gap: 15px 23px; margin-top: 22px; }
.text-action { color: var(--blue); font-size: 13px; font-weight: 800; text-decoration: none; }
.text-action:hover { color: var(--gold-deep); }

.request-screen { min-height: calc(100dvh - var(--header-height)); padding: clamp(42px, 7vw, 86px) max(24px, calc((100% - 1080px) / 2)); background: var(--paper); }
.request-shell { display: grid; gap: clamp(38px, 8vw, 115px); grid-template-columns: minmax(0, .75fr) minmax(440px, 1fr); align-items: start; }
.request-heading h1 { font-size: clamp(42px, 5vw, 61px); }
.request-heading > p:last-child { margin: 20px 0 0; color: var(--muted); font-size: 16px; line-height: 1.9; }
.request-steps { display: grid; gap: 0; max-width: 490px; margin: 36px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.request-steps li { display: grid; grid-template-columns: 46px 1fr; gap: 12px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.request-steps span { color: var(--gold-deep); font-family: Georgia, serif; font-size: 14px; font-weight: 700; }
.request-steps strong { display: block; font-size: 14px; }
.request-steps small { display: block; margin-top: 4px; color: var(--muted); font-size: 12px; line-height: 1.5; }
.request-panel { padding: clamp(24px, 4vw, 38px); border-top: 4px solid var(--gold); background: #fff; box-shadow: 0 12px 30px rgba(16, 33, 58, .09); }
.request-panel h2 { margin-bottom: 25px; }
.identifier-note { margin: -11px 0 23px; color: var(--muted); font-size: 12px; font-weight: 700; line-height: 1.65; }
.form-grid { display: grid; gap: 15px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.consent-row { display: flex !important; align-items: flex-start; gap: 10px; padding: 8px 0 2px; color: var(--muted) !important; font-size: 12px !important; font-weight: 700; line-height: 1.55; }
.consent-row input { width: 16px; height: 16px; flex: 0 0 16px; margin: 1px 0 0; accent-color: var(--navy); }
.consent-row a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
.consent-required { grid-template-columns: 16px 1fr; }
.consent-required .field-error { grid-column: 2; }
.request-actions { display: flex; justify-content: flex-end; gap: 10px; }
.request-actions .button-primary { min-width: 126px; }

.visitor-content-screen, .policy-screen { min-height: calc(100dvh - var(--header-height)); background: var(--paper); }
.visitor-content-shell, .policy-shell { width: min(1120px, calc(100% - 48px)); margin: 0 auto; padding: clamp(46px, 7vw, 84px) 0; }
.visitor-content-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 34px; }
.visitor-content-heading h1, .policy-navigation h1 { margin: 0; font-family: Georgia, "Microsoft YaHei", serif; font-size: clamp(35px, 5vw, 55px); letter-spacing: 0; }
.visitor-content-heading p:last-child { max-width: 650px; margin: 14px 0 0; color: var(--muted); font-size: 16px; line-height: 1.8; }
.visitor-content-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.visitor-content-grid article, .visitor-law-link { display: flex; min-height: 240px; flex-direction: column; padding: 26px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.visitor-content-grid article span, .visitor-law-link span { color: var(--gold-deep); font-size: 12px; font-weight: 800; }
.visitor-content-grid h2 { margin: 26px 0 11px; font-size: 20px; line-height: 1.4; }
.visitor-content-grid p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.75; }
.visitor-content-grid article a { margin-top: auto; padding-top: 20px; color: var(--blue); font-size: 13px; font-weight: 800; text-decoration: none; }
.visitor-law-link { border-right: 0; background: var(--navy); color: #fff; text-decoration: none; }
.visitor-law-link span { color: #f0c83e; }
.visitor-law-link strong { margin: auto 0 8px; font-family: Georgia, "Microsoft YaHei", serif; font-size: 23px; line-height: 1.35; }
.visitor-law-link small { color: #d4e0ed; font-size: 12px; font-weight: 800; }
.visitor-boundary { margin: 0; padding: 17px 20px; border-left: 3px solid var(--gold); background: #fff9e9; color: #685200; font-size: 13px; font-weight: 700; line-height: 1.7; }
.policy-shell { display: grid; gap: clamp(45px, 8vw, 115px); grid-template-columns: minmax(245px, .45fr) minmax(0, 1fr); align-items: start; }
.policy-navigation { position: sticky; top: calc(var(--header-height) + 30px); }
.policy-navigation > p:last-of-type { margin: 17px 0 25px; color: var(--muted); font-size: 14px; line-height: 1.75; }
.policy-navigation nav { display: grid; margin-bottom: 25px; border-top: 1px solid var(--line); }
.policy-navigation nav a { padding: 13px 0; border-bottom: 1px solid var(--line); color: var(--blue); font-size: 14px; font-weight: 800; text-decoration: none; }
.policy-navigation nav a:hover { color: var(--gold-deep); }
.policy-document { padding: clamp(25px, 5vw, 48px); border-top: 4px solid var(--gold); background: #fff; box-shadow: 0 12px 30px rgba(16, 33, 58, .08); }
.policy-document header { padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.policy-document h2 { margin: 0; font-family: Georgia, "Microsoft YaHei", serif; font-size: clamp(29px, 4vw, 42px); line-height: 1.3; }
.policy-document header > p:last-child { margin: 14px 0 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.policy-document section { display: grid; grid-template-columns: 45px 1fr; gap: 15px; padding: 29px 0; border-bottom: 1px solid var(--line); scroll-margin-top: calc(var(--header-height) + 24px); }
.policy-document section:last-child { border-bottom: 0; }
.policy-document section > span { color: var(--gold-deep); font-family: Georgia, serif; font-size: 16px; font-weight: 700; }
.policy-document section p { margin: 0; color: var(--blue); font-size: 12px; font-weight: 800; }
.policy-document section h3 { margin: 9px 0 13px; font-size: 19px; line-height: 1.48; }
.policy-document ul { display: grid; gap: 8px; margin: 0; padding-left: 19px; color: var(--muted); font-size: 14px; line-height: 1.75; }

.site-footer { border-top: 1px solid #243957; background: var(--navy); color: #cbd9e7; font-size: 12px; }
body.focused-flow .site-nav,
body.focused-flow .nav-toggle,
body.focused-flow .account-action { display: none; }
body.focused-flow .site-header { position: relative; }
body.focused-flow .auth-screen,
body.focused-flow .request-screen { min-height: calc(100dvh - var(--header-height)); }
body.focused-flow .request-screen { display: none; padding-block: clamp(22px, 3.5vh, 40px); }
body.focused-flow .request-screen.screen-active { display: block; }
body.focused-flow .request-shell { gap: clamp(28px, 4vw, 58px); }
body.focused-flow .request-steps { margin-top: 22px; }
body.focused-flow .request-steps li { padding-block: 10px; }
body.focused-flow .request-panel { padding: clamp(20px, 2.4vw, 28px); }
body.focused-flow .request-panel h2 { margin-bottom: 15px; }
body.focused-flow .identifier-note { margin: -4px 0 14px; }
body.focused-flow .form-stack { gap: 10px; }
body.focused-flow .form-grid { gap: 10px 14px; }
body.focused-flow .form-stack input,
body.focused-flow .form-stack select { height: 40px; }
body.focused-flow .form-stack textarea { min-height: 58px; max-height: 82px; }
@media (min-width: 701px) {
  body.focused-flow { overflow-y: hidden; }
}
.about-screen { min-height: calc(100dvh - var(--header-height)); background: var(--paper); }
.about-shell { width: min(1120px, calc(100% - 48px)); margin: 0 auto; padding: clamp(48px, 7vw, 88px) 0; }
.about-hero { max-width: 790px; margin-bottom: 48px; }
.about-hero h1 { margin: 0; font-family: Georgia, "Microsoft YaHei", serif; font-size: clamp(43px, 6vw, 69px); line-height: 1.1; }
.about-hero > p:last-child { margin: 20px 0 0; color: var(--muted); font-size: 17px; line-height: 1.9; }
.about-mission { display: grid; gap: clamp(32px, 7vw, 92px); grid-template-columns: minmax(0, .85fr) minmax(0, 1fr); padding: 38px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.about-mission h2, .about-governance h2 { margin: 0; font-family: Georgia, "Microsoft YaHei", serif; font-size: clamp(28px, 3.6vw, 41px); line-height: 1.3; }
.about-mission > p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.9; }
.about-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 38px 0; border: 1px solid var(--line); }
.about-values article { min-height: 240px; padding: 26px; border-right: 1px solid var(--line); background: #fff; }
.about-values article:last-child { border-right: 0; }
.about-values span { color: var(--gold-deep); font-family: Georgia, serif; font-size: 15px; font-weight: 700; }
.about-values h2 { margin: 28px 0 11px; font-size: 20px; }
.about-values p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.8; }
.about-governance { display: grid; gap: clamp(32px, 7vw, 102px); grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); padding: 40px 0; background: #edf2f6; }
.about-governance > div, .about-governance > ol { padding: 0 30px; }
.about-governance > div > p:last-child { margin: 17px 0 0; color: var(--muted); font-size: 15px; line-height: 1.8; }
.about-governance ol { display: grid; margin: 0; padding-left: 0; list-style: none; }
.about-governance li { display: grid; grid-template-columns: 43px 1fr; gap: 14px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.about-governance li:last-child { border-bottom: 0; }
.about-governance li > span { color: var(--gold-deep); font-family: Georgia, serif; font-weight: 700; }
.about-governance strong { display: block; font-size: 15px; }
.about-governance li p { margin: 5px 0 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.about-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 38px; border-top: 1px solid var(--line); }
.about-links a { display: flex; min-height: 170px; flex-direction: column; padding: 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; color: var(--ink); text-decoration: none; }
.about-links a:last-child { border-right: 0; }
.about-links span { color: var(--gold-deep); font-size: 12px; font-weight: 800; }
.about-links strong { margin: auto 0 8px; font-size: 19px; line-height: 1.4; }
.about-links small { color: var(--blue); font-size: 12px; font-weight: 800; }
.contact-screen { min-height: calc(100dvh - var(--header-height)); padding: clamp(46px, 7vw, 84px) max(24px, calc((100% - 1120px) / 2)); background: var(--paper); }
.contact-shell { display: grid; gap: clamp(42px, 8vw, 112px); grid-template-columns: minmax(0, .85fr) minmax(430px, 1fr); align-items: start; }
.contact-intro h1 { margin: 0; font-family: Georgia, "Microsoft YaHei", serif; font-size: clamp(43px, 5.5vw, 65px); line-height: 1.1; }
.contact-intro > p:last-of-type { margin: 19px 0 28px; color: var(--muted); font-size: 16px; line-height: 1.85; }
.contact-boundaries { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 29px; }
.contact-boundaries span { padding: 7px 9px; border: 1px solid #c4d0dc; border-radius: 4px; color: #465a73; font-size: 11px; font-weight: 800; }
.contact-intro dl { display: grid; gap: 0; margin: 0; border-top: 1px solid var(--line); }
.contact-intro dl div { display: grid; grid-template-columns: 98px 1fr; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact-intro dt { color: var(--gold-deep); font-size: 13px; font-weight: 800; }
.contact-intro dd { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.contact-panel { padding: clamp(24px, 4vw, 38px); border-top: 4px solid var(--gold); background: #fff; box-shadow: 0 12px 30px rgba(16, 33, 58, .09); }
.contact-panel h2 { margin: 0 0 25px; font-family: Georgia, "Microsoft YaHei", serif; font-size: clamp(29px, 3vw, 37px); }
.footer-main { display: grid; width: min(1280px, calc(100% - 48px)); gap: 28px; grid-template-columns: minmax(230px, 1.45fr) repeat(4, minmax(130px, .8fr)); margin: 0 auto; padding: 46px 0 39px; }
.footer-identity { display: grid; align-content: start; gap: 7px; }
.footer-identity strong { color: #fff; font-family: Georgia, "Microsoft YaHei", serif; font-size: 16px; }
.footer-identity span { color: #e1bd42; font-size: 10px; font-weight: 800; letter-spacing: .9px; }
.footer-identity p { max-width: 320px; margin: 8px 0 0; color: #b8c9dc; font-size: 12px; line-height: 1.75; }
.footer-column { display: grid; align-content: start; gap: 10px; }
.footer-column p { margin: 0 0 4px; color: #fff; font-size: 13px; font-weight: 800; }
.site-footer a { color: #d2dfec; font-weight: 700; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-bottom { display: flex; width: min(1280px, calc(100% - 48px)); align-items: center; justify-content: space-between; gap: 20px; margin: 0 auto; padding: 16px 0 18px; border-top: 1px solid rgba(198, 216, 235, .2); color: #aebfd2; font-size: 11px; }
.footer-bottom span:last-child { display: inline-flex; align-items: center; gap: 7px; color: #d5e4f1; }
.footer-bottom i { width: 7px; height: 7px; border-radius: 50%; background: #5fbe8b; }
.footer-preferences { display: flex; width: min(1280px, calc(100% - 48px)); align-items: center; justify-content: space-between; gap: 22px; margin: 0 auto; padding: 17px 0; border-top: 1px solid rgba(198, 216, 235, .2); }
.footer-preferences > div:first-child { display: grid; gap: 3px; }
.footer-preferences strong { color: #fff; font-size: 12px; }
.footer-preferences span { color: #9fb3c9; font-size: 10px; }
.theme-selector { display: inline-flex; gap: 7px; }
.theme-selector button,
.footer-preferences nav button { display: inline-flex; min-height: 34px; align-items: center; gap: 7px; padding: 0 10px; border: 1px solid #627995; border-radius: 4px; background: transparent; color: #d7e4f1; cursor: pointer; font-size: 11px; font-weight: 700; }
.theme-selector button[aria-pressed="true"] { border-color: var(--gold); background: rgba(212, 168, 22, .12); color: #fff; }
.theme-selector svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.footer-preferences nav { display: flex; align-items: center; gap: 13px; }
.footer-preferences nav a { font-size: 11px; }
.footer-preferences nav button { min-height: 30px; padding-inline: 8px; }

.assistant-widget { position: fixed; z-index: 28; right: 20px; bottom: 20px; }
.assistant-launcher { display: grid; width: 40px; height: 40px; place-items: center; padding: 0; border: 1px solid var(--gold); border-radius: 6px; background: var(--navy); box-shadow: 0 8px 20px rgba(10, 27, 54, .22); color: #fff; cursor: pointer; }
.assistant-launcher:hover, .assistant-launcher:focus-visible, .assistant-launcher[aria-expanded="true"] { background: var(--navy-2); outline: 3px solid rgba(212, 168, 22, .24); outline-offset: 2px; }
.assistant-mark { width: 22px; height: 22px; fill: none; stroke: #f1ca42; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.assistant-panel { position: absolute; right: 0; bottom: 54px; display: grid; width: min(390px, calc(100vw - 32px)); max-height: min(548px, calc(100vh - 92px)); grid-template-rows: auto auto minmax(104px, 1fr) auto auto; overflow: hidden; border: 1px solid #c8d4e0; border-top: 3px solid var(--gold); border-radius: 6px; background: #fff; box-shadow: 0 20px 50px rgba(10, 27, 54, .25); }
.assistant-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; padding: 16px 16px 0; }
.assistant-heading p { margin: 0 0 5px; color: var(--gold-deep); font-size: 10px; font-weight: 800; letter-spacing: .8px; }
.assistant-heading h2 { margin: 0; color: var(--ink); font-family: Georgia, "Microsoft YaHei", serif; font-size: 20px; }
.assistant-close { display: grid; width: 28px; height: 28px; flex: 0 0 auto; place-items: center; padding: 0; border: 1px solid var(--line); border-radius: 4px; background: #fff; color: var(--ink); cursor: pointer; }
.assistant-close svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.assistant-close:hover, .assistant-close:focus-visible { border-color: var(--gold); color: var(--gold-deep); outline: none; }
.assistant-intro { margin: 10px 16px 12px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.assistant-history { display: grid; align-content: start; gap: 9px; min-height: 0; overflow: auto; padding: 0 16px 12px; scrollbar-width: thin; }
.assistant-history::-webkit-scrollbar { display: block; width: 5px; }
.assistant-history::-webkit-scrollbar-thumb { border-radius: 4px; background: #bdcddd; }
.assistant-message { padding: 10px 11px; border: 1px solid #d9e2eb; border-radius: 5px; color: var(--ink); font-size: 12px; line-height: 1.62; }
.assistant-message > span { display: block; margin-bottom: 4px; color: var(--gold-deep); font-size: 10px; font-weight: 800; letter-spacing: .5px; }
.assistant-message p { margin: 0; }
.assistant-message p strong { display: block; margin-bottom: 3px; color: var(--ink); font-size: 13px; }
.assistant-message small { display: block; margin-top: 7px; color: var(--muted); font-size: 10px; font-weight: 700; }
.assistant-message a { display: inline-block; margin-top: 7px; color: var(--blue); font-size: 11px; font-weight: 800; text-decoration: none; }
.assistant-message-user { margin-left: 26px; border-color: #b8cce0; background: #eef4f9; }
.assistant-message-user > span { color: var(--blue); }
.assistant-message-system { margin-right: 10px; background: #fbfcfd; }
.assistant-suggestions { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 16px 12px; }
.assistant-suggestions button { padding: 5px 7px; border: 1px solid #c6d2df; border-radius: 4px; background: #f7f9fb; color: var(--blue); cursor: pointer; font-size: 11px; font-weight: 800; }
.assistant-suggestions button:hover, .assistant-suggestions button:focus-visible { border-color: var(--gold); color: var(--gold-deep); outline: none; }
.assistant-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; padding: 12px 16px 16px; border-top: 1px solid #e0e8ef; }
.assistant-form input { min-width: 0; height: 38px; padding: 0 10px; border: 1px solid #bfccda; border-radius: 4px; color: var(--ink); outline: none; }
.assistant-form input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(28, 91, 145, .14); }
.assistant-form button { min-height: 38px; padding: 0 12px; border: 1px solid var(--navy); border-radius: 4px; background: var(--navy); color: #fff; cursor: pointer; font-size: 12px; font-weight: 800; }
.assistant-form button:hover, .assistant-form button:focus-visible { background: var(--navy-2); outline: none; }
@media (hover: hover) {
  .assistant-launcher::after { position: absolute; right: 49px; width: max-content; padding: 6px 8px; border-radius: 4px; background: #10294c; box-shadow: 0 6px 14px rgba(10, 27, 54, .18); color: #fff; content: "公开信息检索"; font-size: 11px; font-weight: 700; opacity: 0; pointer-events: none; transform: translateY(2px); transition: opacity 150ms ease, transform 150ms ease; }
  .assistant-launcher:hover::after, .assistant-launcher:focus-visible::after { opacity: 1; transform: translateY(0); }
}
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.site-intro { position: fixed; z-index: 50; inset: 0; display: grid; place-items: center; overflow: hidden; background: #071c3b; color: #fff; transition: opacity 440ms ease, visibility 440ms ease; }
.site-intro::before { position: absolute; inset: 0; content: ""; background: linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px) center/25vw 100%, linear-gradient(rgba(255,255,255,.02) 1px, transparent 1px) center/100% 25vh; }
.site-intro::after { position: absolute; top: 0; bottom: 0; left: 50%; width: 1px; content: ""; background: linear-gradient(transparent, rgba(211,169,38,.65) 20%, rgba(211,169,38,.65) 80%, transparent); }
.site-intro-dismissed { visibility: hidden; opacity: 0; pointer-events: none; }
.intro-stage { position: relative; z-index: 1; display: grid; width: min(1080px, calc(100% - 64px)); min-height: 570px; align-content: center; padding: 70px 64px; text-align: left; }
.intro-architecture { position: absolute; z-index: -1; right: -11%; bottom: -4%; width: 68%; height: 76%; background: url("assets/justice-building-line.svg") right bottom/contain no-repeat; filter: brightness(0) invert(1); opacity: .11; animation: intro-architecture 1200ms 200ms ease both; }
.intro-identity { display: flex; align-items: center; gap: 22px; animation: intro-rise 520ms 120ms ease both; }
.intro-seal { width: 86px; height: 86px; flex: 0 0 auto; object-fit: contain; animation: intro-emblem 820ms cubic-bezier(.2,.8,.2,1) both; }
.intro-kicker { margin: 0 0 8px; color: var(--gold); font-size: 11px; font-weight: 800; letter-spacing: 1.8px; }
.intro-stage h1 { margin: 0; font-family: Georgia, "Microsoft YaHei", serif; font-size: clamp(42px, 5.4vw, 64px); line-height: 1; letter-spacing: -.02em; }
.intro-mission { max-width: 760px; margin: 35px 0 28px; color: #e5edf6; font-size: clamp(18px, 2.1vw, 26px); font-weight: 700; letter-spacing: .06em; animation: intro-rise 520ms 440ms ease both; }
.intro-duties { display: grid; width: min(720px, 100%); grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; padding: 0; border-top: 1px solid rgba(213,227,242,.28); border-bottom: 1px solid rgba(213,227,242,.28); list-style: none; }
.intro-duties li { display: grid; min-height: 116px; align-content: center; padding: 18px 24px 18px 0; border-right: 1px solid rgba(213,227,242,.22); animation: intro-rise 460ms ease both; }
.intro-duties li:nth-child(1) { animation-delay: 680ms; }
.intro-duties li:nth-child(2) { padding-left: 24px; animation-delay: 820ms; }
.intro-duties li:nth-child(3) { padding-left: 24px; border-right: 0; animation-delay: 960ms; }
.intro-duties span { color: var(--gold); font-family: Georgia, serif; font-size: 12px; font-weight: 700; }
.intro-duties strong { margin-top: 8px; color: #fff; font-size: 17px; }
.intro-duties small { margin-top: 6px; color: #aebfd3; font-size: 11px; letter-spacing: .08em; }
.intro-exit { display: flex; width: min(720px, 100%); align-items: center; gap: 18px; margin-top: 27px; animation: intro-rise 420ms 1180ms ease both; }
.intro-progress { height: 2px; flex: 1; overflow: hidden; background: rgba(255, 255, 255, .2); }
.intro-progress::after { display: block; width: 100%; height: 100%; content: ""; background: var(--gold); animation: intro-progress 2350ms 300ms ease both; transform-origin: left; }
.intro-skip { min-height: 34px; padding: 0; border: 0; background: transparent; color: #d8e4f0; cursor: pointer; font-size: 12px; font-weight: 800; white-space: nowrap; }
.intro-skip:hover, .intro-skip:focus-visible { color: var(--gold); outline: none; }

.reveal { opacity: 0; transform: translateY(16px); transition: opacity 520ms ease, transform 520ms ease; }
.reveal-visible { opacity: 1; transform: translateY(0); }
.mandate-grid article:nth-child(2), .notice-item:nth-child(2) { transition-delay: 80ms; }
.mandate-grid article:nth-child(3), .law-link { transition-delay: 160ms; }
@keyframes page-enter { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
@keyframes intro-emblem { from { opacity: 0; transform: translateY(-12px) scale(.86); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes intro-rise { from { opacity: 0; transform: translateY(9px); } to { opacity: 1; transform: translateY(0); } }
@keyframes intro-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes intro-architecture { from { opacity: 0; transform: translateX(45px); } to { opacity: .11; transform: translateX(0); } }

@media (max-width: 920px) {
  .site-header { gap: 15px; padding: 10px 20px; }
  .site-nav { gap: 19px; }
  .site-nav a { font-size: 13px; }
  .official-hero::before { left: 67%; }
  .hero-inner { grid-template-columns: minmax(0, 1fr) 235px; gap: 35px; }
  .hero-brief { padding: 22px; }
  .hero-facts div { min-width: 0; flex: 1 1 30%; }
  .principle-layout, .request-shell, .publication-layout { grid-template-columns: 1fr; }
  .request-heading { max-width: 720px; }
  .request-panel { width: min(100%, 720px); }
  .auth-shell { grid-template-columns: minmax(0, .9fr) minmax(360px, .8fr); }
  .auth-context { padding: 42px; }
  .auth-panel { width: min(100% - 48px, 410px); }
  .notice-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .law-link { grid-column: 1 / -1; min-height: 160px; }
  .visitor-content-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .visitor-law-link { grid-column: 1 / -1; min-height: 165px; }
  .policy-shell { grid-template-columns: 1fr; }
  .policy-navigation { position: static; max-width: 720px; }
  .about-mission, .about-governance, .contact-shell { grid-template-columns: 1fr; }
  .about-governance { gap: 20px; }
  .footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-identity { grid-column: 1 / -1; }
}

@media (max-width: 700px) {
  :root { --header-height: 68px; }
  .site-header { min-height: var(--header-height); padding: 8px 16px; }
  .brand-seal { width: 41px; height: 41px; flex-basis: 41px; }
  .brand-copy strong { max-width: 45vw; font-size: 17px; }
  .brand-copy small { max-width: 45vw; }
  .nav-toggle { display: block; }
  .site-nav { position: absolute; top: calc(100% + 2px); right: 0; left: 0; display: none; align-items: stretch; padding: 8px 16px 13px; background: var(--navy); box-shadow: 0 12px 18px rgba(5, 18, 38, .16); }
  .site-nav.site-nav-open { display: grid; }
  .site-nav a { padding: 13px 4px; border-bottom: 1px solid rgba(218, 229, 242, .18); }
  .site-nav a::after { display: none; }
  .account-action { min-height: 36px; padding: 0 10px; }
  .account-action span:last-child { display: none; }
  .official-hero { min-height: 580px; }
  .official-hero::before { left: 22px; }
  .hero-inner { width: min(100% - 40px, 580px); min-height: 580px; grid-template-columns: 1fr; gap: 26px; padding: 62px 0 42px; }
  .hero-copy h1 { font-size: clamp(44px, 14vw, 62px); }
  .hero-lead { margin: 20px 0 27px; font-size: 15px; }
  .hero-facts { max-width: 420px; }
  .hero-facts div { flex: 1 1 50%; padding: 12px 12px 12px 0; border-right: 0; }
  .hero-facts div + div { padding-left: 0; }
  .hero-brief { width: 100%; justify-self: stretch; grid-template-columns: 1fr 1fr; gap: 8px 14px; padding: 18px; box-shadow: 10px 10px 0 rgba(212, 168, 22, .12); }
  .hero-brief strong { grid-column: 1 / -1; font-size: 21px; }
  .hero-brief a { grid-column: 1 / -1; }
  .content-band { padding: 61px 20px; }
  .section-heading h2 { font-size: 30px; }
  .mandate-grid, .notice-grid, .visitor-content-grid { grid-template-columns: 1fr; }
  .mandate-grid article { min-height: 185px; padding: 23px; border-right: 0; border-bottom: 1px solid var(--line); }
  .mandate-grid article:last-child { border-bottom: 0; }
  .mandate-grid h3 { margin-top: 23px; }
  .notice-item, .law-link { min-height: 180px; border-right: 0; }
  .law-link { grid-column: auto; }
  .auth-shell { min-height: calc(100dvh - var(--header-height)); grid-template-columns: 1fr; }
  .auth-context { min-height: 280px; padding: 40px 22px; }
  .auth-context h1 { font-size: 43px; }
  .access-notes { grid-template-columns: 1fr 1fr 1fr; }
  .auth-panel { width: min(100% - 40px, 440px); padding: 42px 0 50px; }
  .request-screen { padding: 42px 20px 57px; }
  .request-heading h1 { font-size: 43px; }
  .request-panel { padding: 24px 20px; }
  .form-grid { grid-template-columns: 1fr; }
  .request-actions { justify-content: stretch; }
  .request-actions .button { flex: 1; }
  .visitor-content-shell, .policy-shell { width: min(100% - 40px, 580px); padding: 42px 0 56px; }
  .visitor-content-heading { align-items: flex-start; flex-direction: column; margin-bottom: 26px; }
  .visitor-content-grid article, .visitor-law-link { min-height: 176px; border-right: 0; }
  .visitor-law-link { grid-column: auto; }
  .about-shell { width: min(100% - 40px, 580px); padding: 43px 0 56px; }
  .about-hero { margin-bottom: 34px; }
  .about-hero h1 { font-size: 43px; }
  .about-mission { gap: 18px; padding: 29px 0; }
  .about-values, .about-links { grid-template-columns: 1fr; }
  .about-values article, .about-links a { min-height: 155px; border-right: 0; border-bottom: 1px solid var(--line); }
  .about-values article:last-child, .about-links a:last-child { border-bottom: 0; }
  .about-values h2 { margin-top: 18px; }
  .about-governance { padding: 26px 0; }
  .about-governance > div, .about-governance > ol { padding: 0 21px; }
  .contact-screen { padding: 43px 20px 56px; }
  .contact-panel { width: min(100%, 650px); padding: 24px 20px; }
  .policy-document { padding: 27px 21px; }
  .policy-document section { grid-template-columns: 31px 1fr; gap: 10px; padding: 24px 0; }
  .policy-document section h3 { font-size: 17px; }
  .footer-main { width: min(100% - 40px, 580px); grid-template-columns: 1fr; padding: 37px 0 31px; }
  .footer-identity { grid-column: auto; }
  .footer-bottom { width: min(100% - 40px, 580px); flex-wrap: wrap; align-items: flex-start; padding: 14px 0 18px; }
  .footer-preferences { width: min(100% - 40px, 580px); align-items: flex-start; flex-direction: column; }
  .theme-selector { width: 100%; }
  .theme-selector button { flex: 1; justify-content: center; }
  .footer-preferences nav { flex-wrap: wrap; }
  .assistant-widget { right: 16px; bottom: 16px; }
  .assistant-panel { width: min(390px, calc(100vw - 32px)); max-height: min(520px, calc(100vh - 80px)); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
