:root { --accent: #f8995b; --accent-ink: #a64f1c; --ink: #242424; --muted: #85817e; --line: #eeeae6; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: #f7f7f8; font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
a:focus-visible, button:focus-visible, [tabindex]:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 4px; }
[hidden] { display: none !important; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 10; padding: 12px 20px; background: #fff; transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.site-header { background: #f3ece7; }
.topbar { max-width: 1440px; min-height: 92px; margin: auto; padding: 18px 6.67%; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.logo { display: inline-flex; align-items: center; gap: 15px; flex-shrink: 0; }
.logo img { width: 54px; height: 54px; border-radius: 10px; }
.brand { font-family: 'DingTalk JinBuTi', 'PingFang SC', sans-serif; font-size: 14px; letter-spacing: 2.52px; text-transform: uppercase; }
.site-nav { display: flex; align-items: center; gap: clamp(8px, 1.55vw, 22px); }
.site-nav a { display: inline-flex; align-items: center; justify-content: center; min-height: 43px; white-space: nowrap; font-size: 12px; border-bottom: 2px solid transparent; }
.site-nav a:hover { color: var(--accent-ink); }
.site-nav a[aria-current] { border-bottom-color: var(--accent); }
.hero { background: radial-gradient(ellipse at 86% 0%, #f9e1d0 0%, transparent 58%), linear-gradient(180deg, #f3ece7, #f7f7f8); }
.hero-inner { max-width: 1248px; margin: auto; padding: 40px 0 44px; }
.eyebrow { display: flex; align-items: center; gap: 9px; margin: 0 0 12px; color: #74665b; font-size: 12px; letter-spacing: 3px; }
.eyebrow::before { content: ''; width: 7px; height: 7px; background: var(--accent); border-radius: 2px; transform: rotate(45deg); }
.hero h1 { margin: 0; font-size: 36px; font-weight: 600; letter-spacing: 2px; }
.hero-description { margin: 14px 0 0; color: #7b736e; font-size: 14px; line-height: 1.8; }
.help-main { max-width: 1248px; margin: auto; padding-bottom: 64px; }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 0 0 24px; color: var(--muted); font-size: 13px; line-height: 1.8; }
.breadcrumb a:hover { color: var(--accent-ink); }
.breadcrumb [aria-current] { color: #59544f; }
.help-layout { display: grid; grid-template-columns: 252px minmax(0, 1fr); gap: 24px; align-items: start; }
.protocol-sidebar { position: sticky; top: 24px; padding: 24px 12px 18px; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.sidebar-heading { display: flex; align-items: center; gap: 10px; margin: 0 12px 20px; font-size: 16px; font-weight: 600; }
.sidebar-heading svg { color: #a4978d; }
.menu-group { padding: 0 12px; margin: 20px 0 10px; color: #97918c; font-size: 11px; letter-spacing: 2px; font-weight: 400; }
.protocol-menu { margin: 0; padding: 0; list-style: none; }
.protocol-menu li + li { margin-top: 3px; }
.protocol-menu a { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 48px; padding: 12px; color: #625d59; border-radius: 6px; font-size: 14px; line-height: 1.6; transition: color .18s, background .18s; }
.protocol-menu a:hover { background: #faf6f2; color: var(--accent-ink); }
.protocol-menu a[aria-current] { background: #fff1e6; color: var(--accent-ink); font-weight: 600; }
.protocol-menu a[aria-current]::before { content: ''; position: absolute; left: -12px; top: 14px; bottom: 14px; width: 3px; border-radius: 0 2px 2px 0; background: var(--accent); }
.menu-arrow { color: #c7c0bb; font-size: 20px; font-weight: 400; }
.protocol-menu a[aria-current] .menu-arrow { color: #c47a48; }
.protocol-panel { min-width: 0; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.js .protocol-article { display: none; }
.js .protocol-article.is-active { display: block; }
.panel-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 20px 36px; border-bottom: 1px solid var(--line); }
.panel-label { color: #8d847d; font-size: 12px; letter-spacing: 1px; }
.copy-link { display: inline-flex; align-items: center; gap: 7px; min-height: 32px; border: 1px solid #e9e3dd; border-radius: 6px; padding: 5px 10px; color: #726960; background: #fff; cursor: pointer; font-size: 12px; }
.copy-link:hover { border-color: var(--accent); color: var(--accent-ink); background: #fffaf6; }
.copy-status { padding: 12px 36px 0; margin: 0; color: var(--accent-ink); font-size: 13px; overflow-wrap: anywhere; }
.protocol-article { padding: 32px 40px 24px; scroll-margin-top: 24px; }
.protocol-article:focus { outline: none; }
.protocol-header { padding-bottom: 26px; margin-bottom: 28px; border-bottom: 1px solid var(--line); }
.protocol-header h2 { margin: 0 0 16px; color: #282522; font-size: 25px; font-weight: 600; line-height: 1.6; }
.protocol-header .update-info, .protocol-header .dates, .protocol-header .subtitle { margin: 4px 0 0; color: #948b84; font-size: 12px; line-height: 1.9; }
.protocol-header .dates p { margin: 0; }
.protocol-header .intro { margin: 12px 0 18px; color: #625d59; font-size: 14px; line-height: 1.9; }
.protocol-body { color: #56514d; font-size: 15px; line-height: 2; overflow-wrap: anywhere; }
.protocol-body p { margin: 0 0 15px; text-align: justify; }
.protocol-body section, .protocol-body .section { margin-bottom: 30px; }
.protocol-body h2 { margin: 30px 0 16px; padding-bottom: 10px; border-bottom: 1px solid #f0eeec; color: #302c29; font-size: 18px; font-weight: 600; line-height: 1.7; }
.protocol-body h3 { margin: 24px 0 10px; color: #3d3834; font-size: 16px; line-height: 1.7; }
.protocol-body h2:first-child { margin-top: 0; }
.protocol-body strong { color: #34302c; font-weight: 700; }
.protocol-body .notice { padding: 18px 20px; margin-bottom: 28px; background: #fff8f1; border-left: 3px solid #f1bd94; border-radius: 0 6px 6px 0; font-size: 14px; }
.protocol-body .notice p:last-child { margin-bottom: 0; }
.protocol-body ul, .protocol-body ol { margin: 0 0 18px; padding-left: 1.5em; }
.protocol-body li { margin-bottom: 8px; }
.protocol-body ul.items { list-style: none; padding-left: 0; }
.protocol-body ul.plain { list-style: disc; padding-left: 1.5em; }
.protocol-body ul.toc { list-style: none; padding-left: 0; color: #756b64; }
.protocol-body a { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 3px; }
.protocol-body .clause { padding-left: 1.7em; text-indent: -1.7em; }
.protocol-body table { width: 100%; border-collapse: collapse; font-size: 13px; }
.protocol-body td, .protocol-body th { padding: 8px; border: 1px solid var(--line); }
.no-script { padding: 16px; background: #fff1e6; line-height: 1.8; font-size: 14px; }
@media (max-width: 1344px) { .hero-inner, .help-main { margin-left: 48px; margin-right: 48px; } }
@media (max-width: 1000px) { .topbar { padding: 16px 32px; gap: 20px; } .site-nav { gap: 16px; } .site-nav a { font-size: 12px; } .brand { display: none; } .hero-inner, .help-main { margin-left: 32px; margin-right: 32px; } .help-layout { grid-template-columns: 224px minmax(0, 1fr); gap: 18px; } .protocol-article { padding: 28px; } .panel-toolbar { padding: 16px 28px; } .copy-status { padding-left: 28px; padding-right: 28px; } }
@media (max-width: 700px) { .topbar { padding: 16px 20px 0; flex-wrap: wrap; gap: 10px; } .logo img { width: 40px; height: 40px; } .brand { display: inline; } .site-nav { width: 100%; overflow-x: auto; gap: 18px; } .site-nav a { flex: 0 0 auto; font-size: 12px; } .hero-inner { padding-top: 28px; padding-bottom: 28px; } .hero h1 { font-size: 30px; } .hero-inner, .help-main { margin-left: 20px; margin-right: 20px; } .help-main { padding-bottom: 36px; } .breadcrumb { gap: 8px; font-size: 12px; margin-bottom: 16px; } .help-layout { grid-template-columns: minmax(0, 1fr); gap: 16px; } .protocol-sidebar { position: static; padding: 18px 12px; } .sidebar-heading { margin-bottom: 14px; font-size: 15px; } .menu-group { margin-top: 12px; } .protocol-menu { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; } .protocol-menu li + li { margin-top: 0; } .protocol-menu a { height: 100%; min-height: 44px; font-size: 12px; padding: 10px; gap: 4px; } .protocol-menu a[aria-current]::before { display: none; } .panel-toolbar { padding: 14px 20px; } .protocol-article { padding: 24px 20px; scroll-margin-top: 16px; } .protocol-header h2 { font-size: 21px; } .protocol-body { font-size: 14px; } .protocol-body p { text-align: left; } .protocol-body h2 { font-size: 17px; } .protocol-body .notice { padding: 14px; } .copy-status { padding-left: 20px; padding-right: 20px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
@media print { body { background: #fff; } .site-header, .hero, .breadcrumb, .protocol-sidebar, .panel-toolbar, .copy-status { display: none; } .help-main { max-width: none; margin: 0; padding: 0; } .help-layout { display: block; } .protocol-panel { border: 0; } .protocol-article { padding: 0; } }
