:root {
  color-scheme: dark;
  --page: #07111b;
  --surface: #0c1b29;
  --surface-2: #102535;
  --surface-3: #153247;
  --text: #edf7ff;
  --muted: #9eb5c7;
  --line: rgba(111, 205, 255, 0.22);
  --line-strong: rgba(111, 205, 255, 0.48);
  --cyan: #53d9ff;
  --blue: #4b8dff;
  --green: #39dc9a;
  --yellow: #ffd86b;
  --red: #ff7171;
  --shadow: 0 22px 70px rgba(0, 0, 0, 0.32);
  --sidebar: 19rem;
  --content: 76rem;
  font-family: "Microsoft YaHei UI", "Microsoft YaHei", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 1.5rem;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 78% 0%, rgba(0, 174, 255, 0.13), transparent 31rem),
    linear-gradient(180deg, #071522, var(--page) 42rem);
  font-size: 16px;
  line-height: 1.82;
}

a {
  color: var(--cyan);
  text-underline-offset: 0.22em;
}

a:hover {
  color: #a8edff;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 300;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.65rem 1rem;
  color: #07111b;
  background: var(--yellow);
  border-radius: 0.5rem;
  transform: translateY(-180%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(7, 19, 30, 0.9);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.02);
}

.brand-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(calc(100% - 3rem), 96rem);
  margin: 0 auto;
  padding: 1rem 0;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.brand img {
  border-radius: 0.7rem;
  box-shadow: 0 0 22px rgba(63, 190, 255, 0.2);
}

.brand span {
  display: grid;
  line-height: 1.15;
}

.brand small {
  margin-top: 0.25rem;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.header-actions a,
.header-actions button {
  min-height: 2.5rem;
  padding: 0.48rem 0.85rem;
  color: var(--muted);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 0.6rem;
  cursor: pointer;
  text-decoration: none;
}

.header-actions a:hover,
.header-actions button:hover {
  color: var(--text);
  background: rgba(83, 217, 255, 0.08);
  border-color: var(--line);
}

.hero {
  width: min(calc(100% - 3rem), 96rem);
  margin: 0 auto;
  padding: 3.2rem 0 3.4rem;
}

.hero .eyebrow {
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.2em;
}

.hero h1 {
  max-width: 22ch;
  margin: 0.55rem 0 0.3rem;
  font-size: clamp(2.1rem, 4vw, 4.4rem);
  line-height: 1.13;
  letter-spacing: -0.035em;
}

.hero > p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.25rem);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.5rem;
}

.hero-meta span {
  padding: 0.45rem 0.8rem;
  color: #c9ecff;
  background: rgba(24, 82, 115, 0.36);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.85rem;
}

.manual-layout {
  display: grid;
  grid-template-columns: var(--sidebar) minmax(0, 1fr);
  width: min(calc(100% - 2rem), 100rem);
  margin: 0 auto;
  align-items: start;
}

.manual-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 1.25rem 1rem 1.5rem 0;
}

.sidebar-inner {
  height: 100%;
  overflow: auto;
  scrollbar-color: rgba(83, 217, 255, 0.38) transparent;
  padding: 1.25rem;
  background: rgba(12, 27, 41, 0.9);
  border: 1px solid var(--line);
  border-radius: 1rem;
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.sidebar-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.1rem;
}

.sidebar-heading strong {
  font-size: 1.05rem;
}

.nav-close {
  display: none;
}

.manual-sidebar label {
  display: block;
  margin-bottom: 0.4rem;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.search-box {
  position: relative;
}

.search-box input {
  width: 100%;
  min-height: 2.8rem;
  padding: 0.65rem 2.6rem 0.65rem 0.75rem;
  color: var(--text);
  background: #071522;
  border: 1px solid var(--line-strong);
  border-radius: 0.65rem;
}

.search-box input::placeholder {
  color: #6f889b;
}

.search-box kbd {
  position: absolute;
  top: 50%;
  right: 0.6rem;
  transform: translateY(-50%);
  color: var(--muted);
}

.search-status {
  margin: 0.45rem 0 0.85rem;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.55;
}

.search-results {
  display: grid;
  gap: 0.45rem;
  margin: 0 0 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.search-results[hidden] {
  display: none;
}

.search-results a {
  display: grid;
  gap: 0.18rem;
  padding: 0.65rem 0.7rem;
  color: var(--text);
  background: rgba(83, 217, 255, 0.05);
  border: 1px solid transparent;
  border-radius: 0.55rem;
  text-decoration: none;
}

.search-results a:hover {
  border-color: var(--line-strong);
}

.search-results small {
  color: var(--muted);
  line-height: 1.45;
}

.sidebar-toc {
  display: grid;
  gap: 0.16rem;
}

.sidebar-toc a {
  position: relative;
  padding: 0.48rem 0.65rem;
  color: #b8ccda;
  border-radius: 0.5rem;
  font-size: 0.84rem;
  line-height: 1.45;
  text-decoration: none;
}

.sidebar-toc a:hover,
.sidebar-toc a[aria-current="location"] {
  color: var(--text);
  background: rgba(83, 217, 255, 0.1);
}

.sidebar-toc a[aria-current="location"]::before {
  position: absolute;
  top: 0.55rem;
  bottom: 0.55rem;
  left: 0;
  width: 3px;
  background: var(--cyan);
  border-radius: 3px;
  content: "";
}

.sidebar-note {
  margin: 1rem 0 0;
  padding-top: 1rem;
  color: #7791a3;
  border-top: 1px solid var(--line);
  font-size: 0.75rem;
  line-height: 1.6;
}

main {
  width: min(100%, var(--content));
  min-width: 0;
  padding: 1.25rem 0 6rem 2rem;
}

.reading-note,
.front-matter,
.generated-toc-card,
.chapter {
  margin-bottom: 1.25rem;
  padding: clamp(1.35rem, 3vw, 2.6rem);
  background: rgba(12, 27, 41, 0.82);
  border: 1px solid var(--line);
  border-radius: 1.1rem;
  box-shadow: 0 12px 45px rgba(0, 0, 0, 0.16);
}

.reading-note {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 0.9rem 1.3rem;
  background: linear-gradient(110deg, rgba(19, 68, 93, 0.78), rgba(12, 27, 41, 0.82));
}

.reading-note strong {
  color: var(--cyan);
}

.reading-note p {
  margin: 0;
  color: #c8dae6;
}

.front-matter > p:first-child {
  margin-top: 0;
  font-size: 1.45rem;
}

.generated-toc-card {
  margin-bottom: 1.25rem;
}

.generated-toc-card > h2 {
  margin: 0 0 1rem;
  color: #f4fbff;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
}

.chapter {
  scroll-margin-top: 1rem;
}

.chapter > h2 {
  margin: 0 0 1.3rem;
  padding-bottom: 0.8rem;
  color: #f4fbff;
  border-bottom: 1px solid var(--line-strong);
  font-size: clamp(1.65rem, 2.8vw, 2.4rem);
  line-height: 1.25;
  letter-spacing: -0.025em;
}

h3 {
  margin: 2.35rem 0 0.85rem;
  color: #aeeaff;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  line-height: 1.35;
}

h4 {
  margin: 1.7rem 0 0.55rem;
  color: #d9f3ff;
  font-size: 1.03rem;
}

p {
  margin: 0.7rem 0 1rem;
}

strong {
  color: #f6fbff;
}

code,
kbd {
  font-family: Consolas, "SFMono-Regular", monospace;
}

code {
  padding: 0.1rem 0.34rem;
  color: #bdefff;
  background: rgba(0, 0, 0, 0.34);
  border: 1px solid rgba(83, 217, 255, 0.16);
  border-radius: 0.28rem;
}

kbd {
  display: inline-block;
  min-width: 1.55em;
  padding: 0.04rem 0.34rem;
  color: #dff7ff;
  background: #091522;
  border: 1px solid #456578;
  border-bottom-width: 2px;
  border-radius: 0.28rem;
  font-size: 0.88em;
  line-height: 1.5;
  text-align: center;
}

.manual-list,
.procedure {
  margin: 0.9rem 0 1.25rem;
  padding-left: 1.55rem;
}

.manual-list li,
.procedure li {
  margin: 0.5rem 0;
  padding-left: 0.28rem;
}

.manual-list li::marker {
  color: var(--cyan);
}

.procedure li::marker {
  color: var(--yellow);
  font-weight: 800;
}

.manual-note {
  display: grid;
  grid-template-columns: 1.8rem 1fr;
  gap: 0.8rem;
  margin: 1.2rem 0;
  padding: 1rem 1.1rem;
  background: rgba(45, 105, 135, 0.14);
  border: 1px solid var(--line-strong);
  border-left: 4px solid var(--cyan);
  border-radius: 0.65rem;
}

.manual-note > span {
  display: grid;
  place-items: center;
  width: 1.7rem;
  height: 1.7rem;
  color: #07111b;
  background: var(--cyan);
  border-radius: 50%;
  font-weight: 900;
  line-height: 1;
}

.manual-note p {
  margin: 0;
}

.document-toc {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.25rem 1rem;
  margin: 0.8rem 0 1.6rem;
  padding: 1rem;
  background: rgba(6, 15, 24, 0.45);
  border: 1px solid var(--line);
  border-radius: 0.75rem;
}

.document-toc a {
  padding: 0.33rem 0.5rem;
  color: #d3e8f4;
  border-radius: 0.4rem;
  text-decoration: none;
}

.document-toc a:hover {
  color: var(--cyan);
  background: rgba(83, 217, 255, 0.08);
}

.document-toc .toc-section {
  padding-left: 1.25rem;
  color: var(--muted);
  font-size: 0.84rem;
}

.table-scroll {
  max-width: 100%;
  margin: 1.2rem 0 1.6rem;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
}

table {
  width: 100%;
  min-width: 42rem;
  border-collapse: collapse;
  background: rgba(6, 15, 24, 0.48);
  font-size: 0.9rem;
  line-height: 1.62;
}

th,
td {
  padding: 0.74rem 0.85rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th:last-child,
td:last-child {
  border-right: 0;
}

tbody tr:last-child td {
  border-bottom: 0;
}

th {
  color: #dff7ff;
  background: #123146;
  font-weight: 800;
  white-space: nowrap;
}

tbody tr:nth-child(even) {
  background: rgba(83, 217, 255, 0.028);
}

.manual-figure {
  margin: 1.4rem 0 1.8rem;
  padding: 0.75rem;
  background: #071522;
  border: 1px solid var(--line-strong);
  border-radius: 0.85rem;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.28);
}

.figure-open {
  position: relative;
  display: block;
  overflow: hidden;
  color: inherit;
  background: #040b12;
  border-radius: 0.55rem;
}

.figure-open::after {
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  padding: 0.38rem 0.62rem;
  color: white;
  background: rgba(4, 14, 22, 0.82);
  border: 1px solid var(--line-strong);
  border-radius: 0.45rem;
  font-size: 0.76rem;
  content: "查看高清原图";
  backdrop-filter: blur(8px);
}

.figure-open img {
  display: block;
  width: 100%;
  height: auto;
}

.manual-figure figcaption {
  padding: 0.78rem 0.35rem 0.15rem;
  color: #e7f6ff;
  font-weight: 800;
  line-height: 1.55;
}

.figure-meta,
.figure-source {
  margin: 0.25rem 0.35rem 0.5rem;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.6;
}

.figure-sensitive-note {
  color: #fbbf24;
  font-weight: 700;
}

.figure-steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem 1.25rem;
  margin: 0.75rem 0.35rem;
  padding-left: 1.5rem;
}

.figure-steps li::marker {
  content: "";
}

.figure-steps li {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.55rem;
  align-items: start;
}

.figure-steps b {
  display: grid;
  place-items: center;
  width: 1.55rem;
  height: 1.55rem;
  color: #06111a;
  background: var(--cyan);
  border-radius: 50%;
  font-size: 0.78rem;
  line-height: 1;
}

.figure-caption-text {
  margin: -1rem 0 1.6rem;
  padding: 0 1rem;
  color: #c9dce8;
  font-size: 0.9rem;
}

.mobile-nav-toggle {
  display: none;
}

.manual-footer {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-top: 2rem;
  padding: 1.3rem 1.5rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.manual-footer img {
  border-radius: 0.5rem;
}

.manual-footer div {
  display: grid;
  line-height: 1.35;
}

.manual-footer strong {
  font-size: 0.9rem;
}

.manual-footer span {
  font-size: 0.74rem;
}

.manual-footer a {
  margin-left: auto;
}

.image-viewer {
  width: min(96vw, 112rem);
  height: min(94vh, 72rem);
  max-width: none;
  max-height: none;
  padding: 0;
  color: var(--text);
  background: #050c13;
  border: 1px solid var(--line-strong);
  border-radius: 0.9rem;
  box-shadow: 0 35px 120px rgba(0, 0, 0, 0.72);
}

.image-viewer::backdrop {
  background: rgba(0, 5, 9, 0.88);
  backdrop-filter: blur(5px);
}

.viewer-shell {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  height: 100%;
}

.viewer-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1rem;
  background: #0c1b29;
  border-bottom: 1px solid var(--line);
}

.viewer-toolbar > div:first-child {
  display: grid;
  min-width: 0;
  line-height: 1.32;
}

.viewer-kicker,
#viewer-meta {
  color: var(--muted);
  font-size: 0.72rem;
}

#viewer-title {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.viewer-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.45rem;
}

.viewer-actions button,
.viewer-actions a {
  min-height: 2.35rem;
  padding: 0.42rem 0.72rem;
  color: #dff7ff;
  background: #102535;
  border: 1px solid var(--line-strong);
  border-radius: 0.48rem;
  cursor: pointer;
  text-decoration: none;
}

.viewer-actions button[aria-pressed="true"] {
  color: #06111a;
  background: var(--cyan);
  border-color: var(--cyan);
}

.viewer-actions .viewer-close {
  min-width: 2.35rem;
  padding: 0;
  color: white;
  background: #883c45;
  border-color: #c9616d;
  font-size: 1.45rem;
}

.viewer-canvas {
  display: grid;
  place-items: center;
  min-height: 0;
  overflow: auto;
  background:
    linear-gradient(45deg, #07111b 25%, transparent 25%),
    linear-gradient(-45deg, #07111b 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, #07111b 75%),
    linear-gradient(-45deg, transparent 75%, #07111b 75%),
    #091722;
  background-position: 0 0, 0 8px, 8px -8px, -8px 0;
  background-size: 16px 16px;
}

.viewer-canvas img {
  display: block;
  max-width: calc(100% - 2rem);
  max-height: calc(100% - 2rem);
  object-fit: contain;
  box-shadow: 0 12px 50px rgba(0, 0, 0, 0.55);
}

.viewer-canvas.is-original {
  display: block;
  padding: 1rem;
}

.viewer-canvas.is-original img {
  width: auto;
  height: auto;
  max-width: none;
  max-height: none;
  margin: 0;
}

.viewer-help {
  margin: 0;
  padding: 0.55rem 1rem;
  color: var(--muted);
  background: #0c1b29;
  border-top: 1px solid var(--line);
  font-size: 0.75rem;
  text-align: center;
}

@media (max-width: 980px) {
  .site-header {
    padding-top: 3.3rem;
  }

  .brand-line {
    width: min(calc(100% - 2rem), 96rem);
  }

  .header-actions a:not(:first-child) {
    display: none;
  }

  .hero {
    width: min(calc(100% - 2rem), 96rem);
    padding: 2.2rem 0 2.5rem;
  }

  .mobile-nav-toggle {
    position: fixed;
    z-index: 160;
    top: 0.65rem;
    left: 0.75rem;
    display: block;
    min-height: 2.5rem;
    padding: 0.45rem 0.8rem;
    color: #06111a;
    background: var(--cyan);
    border: 0;
    border-radius: 0.6rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
    cursor: pointer;
    font-weight: 800;
  }

  .manual-layout {
    display: block;
    width: min(calc(100% - 1.25rem), var(--content));
  }

  .manual-sidebar {
    position: fixed;
    z-index: 200;
    top: 0;
    bottom: 0;
    left: 0;
    width: min(88vw, 23rem);
    height: 100dvh;
    padding: 0;
    transform: translateX(-105%);
    transition: transform 180ms ease;
  }

  .manual-sidebar.is-open {
    transform: translateX(0);
  }

  .sidebar-inner {
    border-radius: 0 1rem 1rem 0;
  }

  .nav-close {
    display: grid;
    place-items: center;
    width: 2.3rem;
    height: 2.3rem;
    padding: 0;
    color: var(--text);
    background: transparent;
    border: 1px solid var(--line);
    border-radius: 0.5rem;
    font-size: 1.4rem;
  }

  .nav-backdrop {
    position: fixed;
    z-index: 190;
    inset: 0;
    background: rgba(0, 5, 9, 0.72);
  }

  .nav-backdrop[hidden] {
    display: none;
  }

  main {
    padding: 1rem 0 5rem;
  }

  body.nav-open {
    overflow: hidden;
  }
}

@media (max-width: 680px) {
  body {
    font-size: 15px;
    line-height: 1.72;
  }

  .brand-line {
    align-items: flex-start;
  }

  .brand img {
    width: 38px;
    height: 38px;
  }

  .header-actions a {
    display: none;
  }

  .header-actions button {
    min-height: 2.25rem;
    padding: 0.35rem 0.55rem;
    font-size: 0.8rem;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero-meta {
    gap: 0.42rem;
  }

  .hero-meta span {
    padding: 0.35rem 0.6rem;
    font-size: 0.75rem;
  }

  .reading-note,
  .front-matter,
  .generated-toc-card,
  .chapter {
    padding: 1.2rem;
    border-radius: 0.85rem;
  }

  .reading-note {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .document-toc,
  .figure-steps {
    grid-template-columns: 1fr;
  }

  .document-toc .toc-section {
    display: none;
  }

  .manual-figure {
    margin-right: -0.35rem;
    margin-left: -0.35rem;
    padding: 0.45rem;
  }

  .figure-open::after {
    right: 0.45rem;
    bottom: 0.45rem;
  }

  .manual-footer {
    flex-wrap: wrap;
  }

  .manual-footer a {
    width: 100%;
    margin-left: 0;
  }

  .image-viewer {
    width: 100vw;
    height: 100dvh;
    border: 0;
    border-radius: 0;
  }

  .viewer-toolbar {
    align-items: flex-start;
    padding: 0.65rem;
  }

  .viewer-toolbar > div:first-child {
    max-width: 48%;
  }

  .viewer-actions {
    gap: 0.3rem;
  }

  .viewer-actions button,
  .viewer-actions a {
    min-height: 2.2rem;
    padding: 0.35rem 0.52rem;
    font-size: 0.74rem;
  }

  .viewer-help {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media print {
  :root {
    color-scheme: light;
  }

  @page {
    size: A4 portrait;
    margin: 16mm 14mm 17mm;
  }

  body {
    color: #111;
    background: white;
    font-size: 10pt;
    line-height: 1.55;
  }

  .site-header {
    color: #111;
    background: white;
    border: 0;
  }

  .brand-line,
  .manual-sidebar,
  .mobile-nav-toggle,
  .nav-backdrop,
  .reading-note,
  .image-viewer,
  .figure-open::after,
  .manual-footer a {
    display: none !important;
  }

  .hero {
    width: auto;
    min-height: 220mm;
    padding: 55mm 8mm 0;
    page-break-after: always;
  }

  .hero .eyebrow,
  .hero > p,
  .hero-meta span {
    color: #31566e;
  }

  .hero-meta span {
    background: white;
    border-color: #9fb6c4;
  }

  .manual-layout,
  main {
    display: block;
    width: auto;
    max-width: none;
    padding: 0;
  }

  .front-matter,
  .generated-toc-card,
  .chapter {
    padding: 0;
    color: #111;
    background: white;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .chapter {
    page-break-before: always;
  }

  .chapter > h2,
  h3,
  h4,
  strong {
    color: #111;
  }

  .chapter > h2 {
    border-color: #999;
  }

  a {
    color: #111;
    text-decoration: none;
  }

  .document-toc {
    display: block;
    background: white;
    border: 0;
  }

  .document-toc a {
    display: block;
    color: #111;
  }

  .table-scroll {
    overflow: visible;
    border-color: #777;
    break-inside: avoid;
  }

  table {
    min-width: 0;
    color: #111;
    background: white;
    font-size: 8pt;
  }

  th {
    color: #111;
    background: #e7eef2;
  }

  th,
  td {
    border-color: #aaa;
  }

  .manual-note {
    color: #111;
    background: #f2f7fa;
    border-color: #7192a6;
    break-inside: avoid;
  }

  .manual-note > span {
    color: white;
    background: #31566e;
  }

  .manual-figure {
    padding: 3mm;
    background: white;
    border-color: #777;
    box-shadow: none;
    break-inside: avoid;
  }

  .figure-open img {
    max-height: 160mm;
    object-fit: contain;
  }

  .manual-figure figcaption,
  .figure-meta,
  .figure-source,
  .figure-caption-text {
    color: #222;
  }

  .manual-footer {
    color: #333;
    border-color: #999;
  }
}

.manual-diagram { margin: 1.5rem 0 2rem; padding: .4rem; overflow-x: auto; border: 1px solid #b7d4e9; border-radius: 18px; background: #f7fbff; }
.manual-diagram svg { display: block; width: 100%; min-width: 580px; height: auto; }
.manual-diagram figcaption { padding: .1rem .8rem .9rem; color: #3c5b71; font-size: .93rem; }
@media (max-width:680px) { .manual-diagram::before { content:'左右滑动查看完整流程 →'; display:block; padding:.35rem .65rem 0; color:#47697e; font-size:.85rem; } }
.manual-demo-photo { margin: 1.5rem 0 2rem; } .manual-demo-photo img { display: block; width: 100%; height: auto; border-radius: 15px; } .manual-demo-photo figcaption { padding: .7rem 0; color: #3c5b71; }
.manual-figure { margin:1.7rem 0 2.3rem; } .manual-figure img { max-width:100%; height:auto; } .manual-figure .figure-meta { color:#557188; }
.auth-details { display:grid; grid-template-columns:repeat(auto-fit,minmax(230px,1fr)); gap:1rem; margin:1.2rem 0 1.8rem; } .auth-details section { background:#17344a; border:1px solid #6b9dc1; border-radius:14px; padding:1rem 1.15rem; } .auth-details h4 { margin:0 0 .7rem; color:#a8e9ee; } .auth-details ol { margin:0; padding-left:1.35rem; } .auth-details li { margin:.45rem 0; line-height:1.65; }
