@charset "utf-8";
:root {
  --ocean-950: #052c3c;
  --ocean-900: #063f58;
  --ocean-800: #075975;
  --ocean-100: #d9eff3;
  --ocean-50: #edf8f8;
  --orange: #f36b32;
  --orange-dark: #c84a1b;
  --orange-soft: #ffe4d6;
  --paper: #fbfaf5;
  --white: #ffffff;
  --ink: #132d35;
  --muted: #60777e;
  --line: #c6d9dc;
  --shadow: 0 18px 50px rgba(5, 44, 60, .11);
  --radius: 22px;
  --max: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body { margin: 0; min-width: 0; overflow-x: hidden; color: var(--ink); background: var(--paper); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif; line-height: 1.75; }
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button, input, select { font: inherit; }
button, .button { min-height: 44px; }
p, h1, h2, h3 { overflow-wrap: anywhere; }
.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid rgba(198, 217, 220, .78); background: rgba(251, 250, 245, .94); backdrop-filter: blur(16px); }
.header-inner { width: min(var(--max), calc(100% - 40px)); min-height: 78px; margin: auto; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 850; color: var(--ocean-950); line-height: 1.08; flex: 0 0 auto; }
.brand-mark { width: 42px; height: 42px; border-radius: 14px 5px 14px 5px; display: grid; place-items: center; color: white; background: var(--orange); box-shadow: 5px 5px 0 var(--ocean-900); font-size: .82rem; letter-spacing: .04em; }
.brand small { display: block; margin-top: 5px; color: var(--muted); font-size: .64rem; font-weight: 650; letter-spacing: .08em; }
.desktop-nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.desktop-nav a { padding: 9px 10px; border-radius: 9px; color: var(--ocean-900); font-size: .88rem; font-weight: 700; white-space: nowrap; }
.desktop-nav a:hover, .desktop-nav a:focus-visible { background: var(--ocean-100); outline: none; }
.menu-toggle { display: none; margin-left: auto; width: 50px; padding: 8px; border: 1px solid var(--line); border-radius: 12px; background: white; color: var(--ocean-950); cursor: pointer; }
.menu-toggle span { display: block; width: 22px; height: 2px; margin: 3px auto; background: currentColor; }
.menu-toggle b { display: block; font-size: .65rem; margin-top: 2px; }
.site-drawer, .drawer-scrim { display: none; }
main { min-height: 68vh; }
.home-hero { width: min(var(--max), calc(100% - 40px)); margin: 46px auto 70px; display: grid; grid-template-columns: 1.05fr .95fr; gap: 44px; align-items: center; }
.editor-note { position: relative; padding: 44px; border: 1px solid var(--line); border-radius: 6px 34px 6px 34px; background: var(--white); box-shadow: var(--shadow); }
.editor-note::before { content: "编辑按"; position: absolute; top: -15px; right: 30px; padding: 5px 14px; color: white; background: var(--orange); font-size: .74rem; font-weight: 850; letter-spacing: .14em; transform: rotate(2deg); }
.eyebrow, .section-label { color: var(--orange-dark); font-size: .72rem; font-weight: 900; letter-spacing: .15em; text-transform: uppercase; }
h1 { margin: 12px 0 18px; color: var(--ocean-950); font-size: clamp(2.35rem, 6vw, 5rem); line-height: 1.03; letter-spacing: -.045em; }
h2 { margin: 8px 0 16px; color: var(--ocean-950); font-size: clamp(1.5rem, 3vw, 2.3rem); line-height: 1.22; letter-spacing: -.025em; }
h3 { color: var(--ocean-950); line-height: 1.35; }
.hero-lead, .lead { margin: 0; color: #38545c; font-size: 1.08rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 20px; }
.button { display: inline-flex; align-items: center; justify-content: center; padding: 10px 18px; border: 1px solid var(--ocean-900); border-radius: 11px; font-weight: 800; }
.button.primary { color: white; background: var(--ocean-900); }
.button.ghost { color: var(--ocean-900); background: white; }
.truth-note { margin: 0; padding-top: 18px; border-top: 1px dashed var(--line); color: var(--muted); font-size: .84rem; }
.hero-visual { margin: 0; padding: 20px; border-radius: var(--radius); background: linear-gradient(145deg, var(--ocean-900), var(--ocean-950)); box-shadow: var(--shadow); transform: rotate(1.2deg); }
.hero-visual img { width: 100%; border-radius: 14px; }
.hero-visual figcaption { display: flex; justify-content: space-between; gap: 8px; padding: 16px 4px 0; color: var(--ocean-100); font-size: .77rem; }
.hero-visual figcaption span { color: #ffae83; font-weight: 900; }
.home-timeline, .channel-section, .article-index, .topic-section, .tool-section, .editor-section, .faq-section { width: min(var(--max), calc(100% - 40px)); margin: 0 auto 82px; }
.home-timeline { padding: 40px; border-radius: var(--radius); color: white; background: var(--ocean-950); }
.home-timeline h2 { color: white; max-width: 720px; }
.method-track { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 34px; }
.method-track::before { content: ""; position: absolute; top: 25px; left: 7%; right: 7%; height: 2px; background: rgba(255,255,255,.24); }
.method-track > div { position: relative; min-width: 0; }
.method-track b { position: relative; z-index: 1; display: grid; place-items: center; width: 50px; height: 50px; margin-bottom: 18px; border: 5px solid var(--ocean-950); border-radius: 50%; color: var(--ocean-950); background: #ffae83; }
.method-track strong { display: block; color: white; }
.method-track p { margin: 7px 0 0; color: #cbe4e8; font-size: .9rem; }
.section-intro { max-width: 720px; color: var(--muted); }
.channel-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 30px; counter-reset: cards; }
.channel-card { min-width: 0; padding: 26px; border: 1px solid var(--line); border-radius: 4px 22px 4px 22px; background: white; transition: transform .2s ease, box-shadow .2s ease; }
.channel-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.channel-card > span { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 12px 4px 12px 4px; color: white; background: var(--orange); font-weight: 900; }
.channel-card h2 { margin: 18px 0 9px; font-size: 1.25rem; }
.channel-card p { color: var(--muted); font-size: .92rem; }
.channel-card b { color: var(--orange-dark); font-size: .84rem; }
.article-index { display: grid; grid-template-columns: .46fr 1fr; column-gap: 50px; padding: 44px; border: 1px solid var(--line); border-radius: var(--radius); background: white; }
.article-index .section-label, .article-index h2, .article-index .text-link { grid-column: 1; }
.article-index ol { grid-column: 2; grid-row: 1 / span 4; margin: 0; padding: 0; list-style: none; }
.article-index li { display: grid; grid-template-columns: 44px 1fr; gap: 3px 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.article-index li > span { grid-row: 1 / span 2; color: var(--orange); font-weight: 900; }
.article-index li a { font-weight: 800; line-height: 1.45; }
.article-index li em { color: var(--muted); font-size: .78rem; font-style: normal; }
.text-link { align-self: end; color: var(--orange-dark); font-weight: 850; }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.tag-cloud a { padding: 8px 13px; border: 1px solid var(--line); border-radius: 999px; color: var(--ocean-800); background: white; font-size: .86rem; font-weight: 750; }
.file-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 28px; }
.file-card { min-width: 0; display: flex; flex-direction: column; padding: 23px; border: 1px solid var(--line); border-radius: 5px 20px 5px 20px; background: white; }
.file-card span { color: var(--orange); font-weight: 950; }
.file-card strong { margin: 14px 0 9px; line-height: 1.42; }
.file-card em { margin-top: auto; color: var(--muted); font-size: .78rem; font-style: normal; }
.editor-section { display: grid; grid-template-columns: .7fr 1.3fr; gap: 54px; align-items: start; padding: 40px; border-radius: var(--radius); background: var(--orange-soft); }
.editor-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.editor-list a { padding: 18px; border-radius: 12px; background: rgba(255,255,255,.7); }
.editor-list strong, .editor-list span { display: block; }
.editor-list span { margin-top: 6px; color: var(--muted); font-size: .78rem; }
.faq-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.faq-grid article { padding: 23px; border-top: 4px solid var(--orange); background: white; }
.faq-grid h3 { margin-top: 0; }
.faq-grid p { margin-bottom: 0; color: var(--muted); }
.breadcrumbs, .article-shell { width: min(940px, calc(100% - 40px)); margin-inline: auto; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 28px; color: var(--muted); font-size: .79rem; }
.article-shell { margin-top: 22px; margin-bottom: 90px; }
.article-hero { display: grid; grid-template-columns: 1.18fr .82fr; gap: 38px; align-items: center; padding: 40px; border: 1px solid var(--line); border-radius: 6px 34px 6px 34px; background: white; box-shadow: var(--shadow); }
.article-hero h1 { font-size: clamp(2rem, 5vw, 3.8rem); }
.status-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.status-row span { padding: 6px 10px; border-radius: 999px; color: var(--ocean-900); background: var(--ocean-50); font-size: .72rem; font-weight: 800; }
.ledger-figure { margin: 0; padding: 15px; border-radius: 15px; background: var(--ocean-950); }
.ledger-figure img { border-radius: 9px; }
.ledger-figure figcaption { padding: 11px 2px 0; color: #cbe4e8; font-size: .74rem; }
.timeline { position: relative; margin: 48px 0; }
.timeline::before { content: ""; position: absolute; top: 8px; bottom: 8px; left: 25px; width: 2px; background: var(--line); }
.timeline-entry { position: relative; display: grid; grid-template-columns: 52px 1fr; gap: 20px; margin-bottom: 24px; }
.timeline-entry > div:last-child { min-width: 0; padding: 25px; border: 1px solid var(--line); border-radius: 4px 18px 4px 18px; background: white; }
.timeline-no { position: relative; z-index: 1; display: grid; place-items: center; width: 52px; height: 52px; border: 5px solid var(--paper); border-radius: 50%; color: white; background: var(--orange); font-size: .78rem; font-weight: 900; }
.timeline-entry h2 { font-size: 1.28rem; }
.timeline-entry p { margin-bottom: 16px; color: #36535b; }
.evidence-strip { display: flex; flex-wrap: wrap; gap: 8px 12px; padding-top: 14px; border-top: 1px dashed var(--line); font-size: .75rem; }
.evidence-strip span { color: var(--orange-dark); font-weight: 900; }
.evidence-strip b { color: var(--muted); }
.related { margin-top: 56px; }
.related .file-grid { grid-template-columns: repeat(3, 1fr); }
.local-tool { margin: 54px 0; padding: 32px; border: 2px solid var(--ocean-900); border-radius: var(--radius); background: var(--ocean-50); }
.tool-panel { display: grid; gap: 13px; margin-top: 22px; }
.tool-panel label, .tool-panel legend { color: var(--ocean-950); font-weight: 800; }
.tool-panel input[type="text"], .tool-panel select { width: 100%; min-width: 0; min-height: 48px; padding: 10px 12px; border: 1px solid #88aeb6; border-radius: 8px; background: white; }
.tool-panel button { justify-self: start; padding: 9px 18px; border: 0; border-radius: 9px; color: white; background: var(--orange-dark); font-weight: 850; cursor: pointer; }
.tool-panel fieldset { display: grid; gap: 8px; border: 1px solid var(--line); border-radius: 10px; }
.tool-panel fieldset label { font-weight: 600; }
.tool-output { min-height: 54px; padding: 13px; border-left: 4px solid var(--orange); background: white; overflow-wrap: anywhere; }
.tool-boundary { color: var(--muted); font-size: .8rem; }
.source-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.site-footer { padding: 52px max(20px, calc((100% - var(--max)) / 2)); color: #d9eef1; background: var(--ocean-950); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 34px; }
.footer-grid strong { color: white; }
.footer-grid p { color: #afd0d5; font-size: .85rem; }
.footer-links { display: grid; gap: 7px; margin-top: 10px; }
.footer-links a { color: #afd0d5; font-size: .8rem; }
.footer-links a:hover { color: #ffae83; }
.footer-note { margin: 34px 0 0; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.14); color: #8db5bc; font-size: .76rem; }
@media (max-width: 1040px) {
  .desktop-nav { display: none; }
  .menu-toggle { display: block; }
  .site-drawer { display: flex; position: fixed; top: 0; right: 0; z-index: 80; width: min(360px, 88vw); height: 100dvh; padding: 22px; flex-direction: column; opacity: 0; pointer-events: none; transition: opacity .18s ease; color: white; background: var(--ocean-950); visibility: hidden; }
  .site-drawer[aria-hidden="false"] { opacity: 1; pointer-events: auto; visibility: visible; }
  .drawer-scrim { display: block; position: fixed; inset: 0; z-index: 70; background: rgba(5, 44, 60, .56); }
  .drawer-scrim[hidden] { display: none; }
  .drawer-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 16px; border-bottom: 1px solid rgba(255,255,255,.18); }
  .drawer-head button { width: 44px; border: 0; border-radius: 50%; color: white; background: rgba(255,255,255,.12); font-size: 1.5rem; }
  .drawer-links { display: grid; gap: 6px; margin-top: 18px; }
  .drawer-links a, .drawer-tools a { padding: 11px; border-radius: 8px; background: rgba(255,255,255,.07); }
  .drawer-tools { display: grid; gap: 6px; margin-top: auto; }
  .home-hero, .article-hero { grid-template-columns: 1fr; }
  .channel-grid { grid-template-columns: 1fr 1fr; }
  .file-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 767px) {
  .header-inner { width: min(100% - 28px, var(--max)); min-height: 68px; }
  .brand small { display: none; }
  .home-hero, .home-timeline, .channel-section, .article-index, .topic-section, .tool-section, .editor-section, .faq-section, .breadcrumbs, .article-shell { width: calc(100% - 28px); }
  .home-hero { margin-top: 26px; gap: 20px; }
  .editor-note, .article-hero { padding: 25px 20px; }
  .hero-visual { padding: 12px; transform: none; }
  .hero-visual figcaption { display: grid; grid-template-columns: auto 1fr; }
  .home-timeline { padding: 25px 20px; }
  .method-track { grid-template-columns: 1fr; }
  .method-track::before { top: 8px; bottom: 8px; left: 24px; right: auto; width: 2px; height: auto; }
  .method-track > div { display: grid; grid-template-columns: 52px 1fr; gap: 0 14px; }
  .method-track b { grid-row: 1 / span 2; }
  .method-track p { grid-column: 2; }
  .channel-grid, .file-grid, .faq-grid, .editor-list, .source-fields, .footer-grid { grid-template-columns: 1fr; }
  .article-index { display: block; padding: 25px 20px; }
  .article-index ol { margin-top: 24px; }
  .article-index li { grid-template-columns: 34px 1fr; }
  .editor-section { grid-template-columns: 1fr; padding: 25px 20px; gap: 20px; }
  .article-hero { gap: 24px; }
  .article-hero h1 { font-size: clamp(1.95rem, 10vw, 3rem); }
  .timeline-entry { grid-template-columns: 42px 1fr; gap: 10px; }
  .timeline::before { left: 20px; }
  .timeline-no { width: 42px; height: 42px; border-width: 4px; }
  .timeline-entry > div:last-child { padding: 19px; }
  .related .file-grid { grid-template-columns: 1fr; }
  .local-tool { padding: 23px 18px; }
  .site-footer { padding-inline: 20px; }
}
@media (max-width: 390px) {
  .brand { font-size: .9rem; }
  .brand-mark { width: 38px; height: 38px; }
  .editor-note, .article-hero { padding-inline: 17px; }
  .hero-actions { display: grid; }
  .button { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
