:root {
    --paper: #fff; --canvas: #f7f9f9; --ink: #19313b; --muted: #62737a;
    --line: #e2e8e8; --accent: #187168; --accent-dark: #10564f; --accent-soft: #edf6f3;
    --navy: #172f3a; --warning: #83591a; --warning-soft: #fbf5e9;
    --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px;
    --text-xs: 12px; --text-sm: 13px; --text-base: 15px; --text-lg: 18px; --text-xl: 24px; --text-title: 34px;
    --radius: 10px; --header: 72px; --sidebar: 244px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; color: var(--ink); background: var(--paper); font: var(--text-base)/1.8 "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
button:focus-visible, a:focus-visible, input:focus-visible, summary:focus-visible { outline: 3px solid #328f80; outline-offset: 4px; }
button:disabled { cursor: default; opacity: .5; }
button, input { border-radius: 6px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 30; padding: 12px 20px; background: var(--navy); color: white; }
.skip-link:focus { top: 12px; }
.topbar { height: var(--header); position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: var(--s5); padding: 0 var(--s6); background: var(--paper); border-bottom: 1px solid var(--line); }
.brand { display: flex; gap: 10px; align-items: center; color: var(--ink); font-size: var(--text-xl); letter-spacing: -.9px; font-weight: 750; white-space: nowrap; }
.brand:hover { text-decoration: none; }
.brand-mark { width: 34px; height: 36px; display: block; object-fit: contain; }
.brand-text { color: #146bc4; background: linear-gradient(105deg, #0847ab, #247ce0 58%, #55a7ee); background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.brand-domain { font-weight: 400; }
.header-divider { height: 22px; width: 1px; background: var(--line); }
.header-title { font-size: var(--text-base); font-weight: 600; white-space: nowrap; }
.environment { display: flex; gap: 7px; align-items: center; color: var(--accent-dark); background: var(--accent-soft); border: 1px solid #d9e9e3; padding: 3px 10px; border-radius: 5px; font-size: var(--text-xs); white-space: nowrap; }
.environment > span { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.search-wrap { margin-left: auto; width: 300px; position: relative; }
.search-wrap input { width: 100%; border: 1px solid var(--line); background: var(--canvas); padding: 8px 66px 8px 34px; font-size: var(--text-sm); color: var(--ink); height: 38px; }
.search-symbol { position: absolute; left: 12px; top: 1px; font-size: 23px; color: var(--muted); pointer-events: none; }
kbd { position: absolute; right: 10px; top: 9px; border: 1px solid #d5dddd; border-radius: 4px; color: var(--muted); font: 10px/18px "Segoe UI", sans-serif; padding: 0 4px; pointer-events: none; }
.search-results { position: absolute; top: 46px; right: 0; width: 420px; max-height: 460px; overflow-y: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); box-shadow: 0 12px 40px #19313b16; padding: var(--s2); }
.search-results a { display: block; padding: 10px 12px; border-radius: 5px; color: var(--ink); }
.search-results a:hover, .search-results a:focus { background: var(--accent-soft); text-decoration: none; }
.search-results small { display: block; color: var(--muted); font-size: var(--text-xs); }
.search-empty { padding: 16px; color: var(--muted); }
.workspace { display: grid; grid-template-columns: var(--sidebar-width, var(--sidebar)) minmax(0, 1fr) 188px; width: 100%; }
.sidebar-shell { min-width: 0; height: calc(100dvh - var(--header)); position: sticky; top: var(--header); }
.sidebar { border-right: 1px solid var(--line); background: var(--canvas); height: 100%; overflow-y: auto; padding: 30px 16px 22px; display: flex; flex-direction: column; }
.sidebar, .page-outline { scrollbar-width: none; -ms-overflow-style: none; }
.sidebar::-webkit-scrollbar, .page-outline::-webkit-scrollbar { display: none; }
.sidebar-resizer { position: absolute; top: 0; bottom: 0; right: -5px; width: 10px; z-index: 3; cursor: col-resize; touch-action: none; }
.sidebar-resizer:focus-visible { outline: none; background: var(--accent-soft); }
.resizing-sidebar, .resizing-sidebar * { cursor: col-resize !important; user-select: none !important; }
.sidebar-heading { display: flex; justify-content: flex-end; align-items: center; margin: 0 10px 20px; font-size: var(--text-xs); color: var(--muted); }
.text-button { border: 0; color: var(--muted); font-size: var(--text-xs); background: transparent; padding: 4px; }
.text-button:hover { color: var(--accent); }
.chapter { margin-bottom: var(--s3); }
.chapter summary { font-size: var(--text-sm); font-weight: 650; cursor: pointer; padding: 8px 10px; display: flex; align-items: center; gap: 9px; list-style: none; }
.chapter summary::after { content: '›'; transform: rotate(90deg); margin-left: auto; color: var(--muted); font-size: 18px; line-height: 1; }
.chapter:not([open]) summary::after { transform: none; }
summary::-webkit-details-marker { display: none; }
.chapter-index { color: #7e9298; font-size: 11px; letter-spacing: 1px; font-weight: 500; }
.chapter a { font-size: var(--text-sm); color: var(--muted); display: block; padding: 7px 10px 7px 36px; border-radius: 6px; margin: 2px 0; border-left: 2px solid transparent; }
.chapter a:hover { color: var(--accent); text-decoration: none; background: #edf1f0; }
.chapter a.active { background: #e5f0ec; color: var(--accent-dark); border-left-color: var(--accent); font-weight: 600; }
.chapter .pending { font-size: 10px; color: var(--muted); padding-left: 6px; font-weight: 400; }
.sidebar-note { margin: auto 10px 0; padding-top: 30px; font-size: var(--text-xs); color: var(--muted); }
.sidebar-note p { margin: 8px 0 20px; }
.note-label { color: var(--ink); font-weight: 600; }
.version { font-size: 11px; }
main { min-width: 0; padding: 32px clamp(28px, 4vw, 64px) 0; }
/* 正文容器接收跳转焦点，不显示浏览器默认的整页边框。 */
main:focus { outline: none; }
.breadcrumb { color: var(--muted); font-size: var(--text-xs); display: flex; gap: 10px; margin-bottom: 28px; }
.breadcrumb span:last-child { color: var(--ink); }
.eyebrow { color: var(--accent); font-size: 11px; font-weight: 650; letter-spacing: 1.6px; margin: 0 0 8px; }
h1 { font-size: var(--text-title); line-height: 1.35; letter-spacing: -.8px; margin: 0 0 16px; font-weight: 650; }
h2 { font-size: 21px; line-height: 1.5; margin: 0 0 12px; font-weight: 650; }
h3 { font-size: var(--text-lg); line-height: 1.55; margin: 0 0 12px; font-weight: 650; }
p { margin: 0 0 16px; }
.lead { font-size: var(--text-base); color: var(--muted); max-width: 680px; line-height: 1.95; }
.page-meta { display: flex; gap: 16px; align-items: center; font-size: var(--text-xs); color: var(--muted); margin: 20px 0 32px; }
.page-meta span + span { border-left: 1px solid var(--line); padding-left: 16px; }
.intro-rule { height: 1px; background: var(--line); margin-bottom: 36px; }
section { margin-bottom: 40px; scroll-margin-top: 98px; }
.section-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 16px; }
.section-heading h2 { margin-bottom: 0; }
.caption { font-size: var(--text-xs); color: var(--muted); }
.role-tabs { display: flex; gap: 4px; background: var(--canvas); padding: 5px; border: 1px solid var(--line); border-radius: 9px; margin-bottom: 22px; }
.role-tab { flex: 1; color: var(--muted); background: transparent; border: 0; padding: 9px 4px; font-size: var(--text-sm); border-radius: 5px; }
.role-tab[aria-selected=true] { color: var(--paper); background: var(--navy); font-weight: 600; }
.role-tab:hover:not([aria-selected=true]) { background: #e9efec; color: var(--ink); }
.role-description { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 20px; min-height: 164px; padding: 4px 0 10px; }
.role-label { font-size: var(--text-xs); color: var(--muted); margin: 0 0 6px; }
.role-name { font-size: var(--text-xl); font-weight: 600; }
.role-detail > p { margin: 0 0 10px; color: var(--muted); font-size: var(--text-sm); }
.role-detail strong { color: var(--ink); font-weight: 600; }
.capabilities { display: flex; flex-wrap: wrap; gap: 6px; }
.capabilities span { padding: 2px 9px; border: 1px solid var(--line); border-radius: 4px; font-size: var(--text-xs); color: var(--muted); }
.callout { padding: 16px 20px; background: var(--accent-soft); border-left: 3px solid var(--accent); border-radius: 0 6px 6px 0; font-size: var(--text-sm); margin: 20px 0; }
.callout p:last-child { margin-bottom: 0; }
.callout strong { font-weight: 650; }
.callout.warning { background: var(--warning-soft); border-left-color: #b68a42; color: #72531d; }
.callout-title { display: block; margin-bottom: 5px; font-weight: 650; }
.flow-topline { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 15px; }
.mode-note { color: var(--muted); font-size: var(--text-xs); }
.status-pill { color: var(--accent-dark); background: var(--accent-soft); font-size: 11px; border: 1px solid #d5e8df; border-radius: 20px; padding: 2px 9px; white-space: nowrap; }
.stage-tabs { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); border-bottom: 1px solid var(--line); margin: 0 0 24px; gap: 14px; }
.stage-tab { border: 0; border-bottom: 2px solid transparent; border-radius: 0; background: transparent; padding: 12px 0; text-align: left; color: var(--muted); font-size: var(--text-sm); }
.stage-tab span { font-size: 11px; display: block; letter-spacing: 1px; margin-bottom: 2px; }
.stage-tab[aria-selected=true] { border-bottom-color: var(--accent); color: var(--accent-dark); font-weight: 650; }
.stage-tab:hover { color: var(--accent); }
.flow-grid { display: grid; grid-template-columns: 242px minmax(0, 1fr); border: 1px solid var(--line); border-radius: var(--radius); overflow: clip; }
.step-column { padding: 20px 12px; border-right: 1px solid var(--line); background: var(--canvas); }
.step-column-heading { display: flex; justify-content: space-between; color: var(--muted); font-size: 11px; padding: 0 10px 14px; }
.step-list { list-style: none; padding: 0; margin: 0; }
.step-list li { position: relative; margin: 0; padding-bottom: 9px; }
.step-list li:not(:last-child)::after { content: ''; position: absolute; left: 23px; top: 43px; bottom: -1px; width: 1px; background: #d9e2df; }
.step-button { position: relative; z-index: 1; display: flex; align-items: flex-start; gap: 10px; width: 100%; text-align: left; border: 1px solid transparent; background: transparent; padding: 10px; color: var(--ink); border-radius: 7px; }
.step-button:hover { background: #ecf2ef; }
.step-button[aria-current=step] { background: var(--paper); border-color: #b9d5c9; box-shadow: 0 2px 6px #19313b06; }
.step-number { flex: 0 0 23px; height: 23px; display: grid; place-items: center; font-size: 10px; font-weight: 650; border: 1px solid #cfdad6; background: var(--paper); color: var(--muted); border-radius: 50%; margin-top: 1px; }
.step-button[aria-current=step] .step-number { background: var(--accent); border-color: var(--accent); color: white; }
.step-copy { flex: 1; min-width: 0; font-size: var(--text-sm); line-height: 1.6; }
.step-copy small { display: block; color: var(--muted); font-size: 10px; font-weight: 400; margin-top: 1px; }
.step-chevron { color: var(--accent); margin-top: 2px; }
.step-detail { min-width: 0; padding: 28px; background: var(--paper); }
.step-detail .eyebrow { letter-spacing: 1px; margin-bottom: 12px; }
.step-detail h3 { font-size: 22px; margin-bottom: 12px; }
.step-summary { color: var(--muted); font-size: var(--text-sm); margin-bottom: 22px; }
.field-label { font-size: var(--text-xs); font-weight: 650; color: var(--accent-dark); margin: 20px 0 8px; }
.instruction-list { padding-left: 21px; margin: 0; font-size: var(--text-sm); }
.instruction-list li { padding-left: 3px; margin: 0 0 9px; }
.instruction-list li::marker { color: var(--accent); font-weight: 600; }
.result { border-top: 1px solid var(--line); margin-top: 24px; padding-top: 14px; font-size: var(--text-sm); }
.result strong { display: block; font-size: var(--text-xs); margin-bottom: 6px; color: var(--accent-dark); }
.result p { margin: 0; }
.step-pager { display: flex; justify-content: space-between; gap: 12px; padding-top: 24px; margin-top: 22px; border-top: 1px solid var(--line); }
.secondary-button { border: 1px solid var(--line); color: var(--ink); background: var(--paper); padding: 7px 12px; font-size: var(--text-xs); }
.secondary-button:hover:enabled { background: var(--canvas); border-color: #a7c9bc; }
.role-link { display: inline-block; color: var(--accent-dark); background: var(--accent-soft); padding: 5px 10px; font-size: var(--text-xs); margin-top: 14px; border-radius: 5px; }
.principles { padding-left: 0; list-style: none; margin: 0; }
.principles li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 10px; padding: 15px 0; border-bottom: 1px solid var(--line); font-size: var(--text-sm); }
.principles .index { color: var(--accent); font-size: 11px; padding-top: 2px; }
.principles strong { display: block; margin-bottom: 3px; }
.principles p { color: var(--muted); margin: 0; }
.mode-comparison { width: 100%; table-layout: fixed; border-collapse: collapse; font-size: var(--text-sm); margin: var(--s5) 0; overflow-wrap: anywhere; }
.mode-comparison th, .mode-comparison td { padding: var(--s3); border: 1px solid var(--line); text-align: left; vertical-align: top; }
.mode-comparison thead th { color: var(--accent-dark); background: var(--accent-soft); }
.mode-comparison tr > th:first-child { width: 18%; }
.mode-comparison tbody th { background: var(--canvas); }
.page-outline { padding: 36px 20px 24px 0; height: calc(100dvh - var(--header)); position: sticky; top: var(--header); overflow-y: auto; }
.page-outline details { border-left: 1px solid var(--line); padding-left: 18px; }
.page-outline summary { display: flex; align-items: center; justify-content: space-between; cursor: pointer; font-size: var(--text-xs); font-weight: 650; padding: 0 0 12px; list-style: none; }
.page-outline summary::after { content: '−'; color: var(--muted); }
.page-outline details:not([open]) summary::after { content: '+'; }
.page-outline nav a { display: block; font-size: var(--text-xs); color: var(--muted); padding: 5px 0; line-height: 1.7; }
.page-outline nav a:hover { color: var(--accent); }
.reading-tip { font-size: 11px; margin: 35px 0 0 19px; color: var(--muted); }
.reading-tip > span { color: var(--accent); }
.reading-tip p { margin-top: 5px; line-height: 1.9; }
.page-footer { padding: 22px 0; margin-top: 48px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; display: flex; justify-content: space-between; gap: 16px; }
.login-entry { display: flex; align-items: center; justify-content: space-between; gap: 20px; background: var(--canvas); padding: 20px 24px; border: 1px solid var(--line); border-radius: var(--radius); }
.login-entry p { margin: 0; font-size: var(--text-sm); color: var(--muted); }
.primary-button { display: inline-block; background: var(--accent); border: 1px solid var(--accent); color: white; padding: 9px 16px; font-size: var(--text-sm); white-space: nowrap; border-radius: 6px; }
.primary-button:hover { background: var(--accent-dark); text-decoration: none; }
.login-steps { counter-reset: login; list-style: none; padding: 0; margin: 24px 0; }
.login-steps li { counter-increment: login; position: relative; padding: 0 0 24px 42px; font-size: var(--text-sm); }
.login-steps li::before { content: counter(login, decimal-leading-zero); position: absolute; left: 0; top: 0; color: var(--accent); font-size: 12px; font-weight: 650; padding-top: 2px; }
.login-steps strong { display: block; margin-bottom: 3px; font-size: var(--text-base); }
.login-steps p { margin: 0; color: var(--muted); }
code { font-family: Consolas, monospace; background: #e9f0ed; color: var(--accent-dark); border-radius: 4px; padding: 2px 7px; letter-spacing: .7px; }
.screenshot-button { display: block; width: 100%; padding: 0; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: var(--canvas); cursor: zoom-in; }
.screenshot-button img { display: block; width: 100%; height: auto; }
figure { margin: 0; }
.form-example { max-width: 680px; }
.user-guide-screens { display: flex; flex-wrap: wrap; gap: var(--s5); align-items: flex-start; }
.user-guide-screens > figure, .user-guide-image { width: 100%; max-width: calc(var(--s6) * 11); }
figcaption { font-size: var(--text-xs); color: var(--muted); text-align: center; padding: 10px 0; }
.pending-panel { background: var(--canvas); border-top: 1px solid var(--line); padding: 24px 0; }
.pending-panel p { color: var(--muted); font-size: var(--text-sm); }
.task-links { display: grid; gap: 0; border-top: 1px solid var(--line); }
.task-links a { display: flex; justify-content: space-between; gap: 16px; padding: 13px 4px; border-bottom: 1px solid var(--line); font-size: var(--text-sm); color: var(--ink); }
.task-links a:hover { color: var(--accent); text-decoration: none; }
.task-links small { color: var(--muted); font-size: 11px; }
dialog { padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); max-width: min(95vw, 1600px); max-height: 92dvh; }
dialog::backdrop { background: #142c39bb; }
dialog img { display: block; max-width: 100%; max-height: 80dvh; object-fit: contain; }
.image-toolbar { display: flex; justify-content: space-between; gap: 24px; align-items: center; margin-bottom: 12px; font-size: var(--text-sm); }
.image-toolbar button { border: 1px solid var(--line); background: var(--canvas); padding: 5px 12px; color: var(--ink); font-size: var(--text-xs); }
.noscript { position: fixed; bottom: 0; width: 100%; padding: 20px; background: var(--warning-soft); }
@media (min-width: 1500px) { :root { --sidebar: 260px; } .workspace { grid-template-columns: var(--sidebar-width, var(--sidebar)) minmax(0, 1fr) 210px; } .flow-grid { grid-template-columns: 270px minmax(0,1fr); } }
@media (max-width: 1199px) { .workspace { grid-template-columns: var(--sidebar-width, 222px) minmax(0,1fr); } .page-outline { display: none; } main { padding-left: 30px; padding-right: 30px; } .topbar { gap: 16px; padding: 0 24px; } .flow-grid { grid-template-columns: 225px minmax(0,1fr); } .step-detail { padding: 22px; } }
@media (max-width: 900px) { .workspace { grid-template-columns: var(--sidebar-width, 190px) minmax(0,1fr); } .sidebar { padding-left: 8px; padding-right: 8px; } .search-wrap { width: 220px; } .header-divider, .header-title { display: none; } .flow-grid { grid-template-columns: 1fr; } .step-column { border-right: 0; border-bottom: 1px solid var(--line); max-height: 310px; overflow-y: auto; } .role-description { grid-template-columns: 1fr; gap: 14px; } h1 { font-size: 29px; } .stage-tabs { gap: 10px; } .stage-tab { font-size: 12px; } }
@media (max-width: 640px) { :root { --header: 64px; } .topbar { padding: 0 16px; gap: 12px; } .brand { font-size: 20px; } .brand-mark { width: 29px; height: 31px; font-size: 25px; } .environment, kbd { display: none; } .search-wrap { width: 170px; } .search-wrap input { padding-right: 10px; } .search-results { width: min(90vw, 400px); } .workspace { display: block; } .sidebar-shell { position: static; height: auto; } .sidebar-resizer { display: none; } .sidebar { height: auto; max-height: 310px; border-bottom: 1px solid var(--line); border-right: 0; padding: 18px 16px; } .sidebar-note { display: none; } .sidebar-heading { margin-bottom: 8px; } main { padding: 24px 20px 0; } .breadcrumb { margin-bottom: 20px; } h1 { font-size: 27px; } .role-tab { font-size: 12px; padding: 10px 0; } .login-entry { align-items: flex-start; flex-direction: column; } .section-heading { flex-wrap: wrap; gap: 6px; } .step-detail { padding: 20px; } .flow-topline { align-items: flex-start; flex-direction: column; } .page-footer { flex-direction: column; gap: 4px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
