:root {
  color-scheme: light;
  --brand: #ff3038;
  --brand-dark: #d81824;
  --purple: #9f3eff;
  --ink: #17181c;
  --muted: #636872;
  --line: #e5e7ec;
  --surface: #fff;
  --page: #f4f5f8;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; color: var(--ink); background: radial-gradient(circle at 88% 4%, rgba(159,62,255,.08), transparent 26rem), radial-gradient(circle at 8% 18%, rgba(255,48,56,.05), transparent 24rem), var(--page); font-family: -apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif; line-height: 1.7; -webkit-font-smoothing: antialiased; }
h1,h2,h3,h4,p,figure { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
button:disabled { cursor: default; opacity: .35; }
a,button,summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--purple); outline-offset: 4px; }
img { display: block; max-width: 100%; }
.shell { width: min(1180px,calc(100% - 40px)); margin-inline: auto; }
.icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.skip-link { position: fixed; z-index: 50; left: 20px; top: -100px; padding: 10px 16px; background: #fff; border: 1px solid var(--line); border-radius: 10px; }
.skip-link:focus { top: 12px; }
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(244,245,248,.9); backdrop-filter: blur(18px); border-bottom: 1px solid rgba(229,231,236,.8); }
.nav-wrap { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand-link img { width: 154px; height: auto; }
.top-nav { display: flex; align-items: center; gap: 28px; font-size: 15px; font-weight: 650; }
.top-nav a { padding-block: 12px; }
.top-nav a:hover,.top-nav a[aria-current] { color: var(--brand-dark); }
.breadcrumb { display: flex; gap: 12px; color: var(--muted); font-size: 12px; margin-top: 28px; }
.breadcrumb a:hover { color: var(--brand-dark); }
.help-hero { display: grid; grid-template-columns: 1fr 300px; align-items: center; gap: 80px; padding: 36px 0 54px; }
.eyebrow { display: flex; align-items: center; gap: 8px; color: var(--brand-dark); font-size: 12px; font-weight: 700; letter-spacing: 1.4px; }
.eyebrow>span { width: 7px; height: 7px; background: var(--brand); border-radius: 50%; }
h1 { font-size: clamp(34px,4.5vw,52px); line-height: 1.28; letter-spacing: -1.6px; margin: 17px 0; }
.hero-description { color: var(--muted); max-width: 620px; font-size: 15px; line-height: 1.9; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 25px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 20px; min-height: 48px; padding: 11px 22px; border: 1px solid var(--line); border-radius: 13px; font-size: 14px; font-weight: 650; transition: background .15s,color .15s; }
.primary { color: #fff; background: var(--brand); border-color: var(--brand); }
.primary:hover { background: var(--brand-dark); }
.secondary { background: var(--surface); color: var(--ink); }
.secondary:hover { border-color: #d2c5e3; background: #fcf9ff; }
.hero-note { position: relative; padding: 24px 28px; border: 1px solid #e3d8ed; border-radius: 24px; background: linear-gradient(135deg,#fff 20%,#f2e7ff); overflow: hidden; }
.note-number { font-size: 64px; font-weight: 750; line-height: 1.2; letter-spacing: -3px; color: #9737e5; }
.note-number>span { font-size: 15px; font-weight: 600; letter-spacing: 0; margin-left: 10px; }
.hero-note h2 { margin: 12px 0 8px; font-size: 20px; }
.hero-note p { color: var(--muted); font-size: 13px; }
.note-foot { border-top: 1px solid #e4d9ef; padding-top: 14px; margin-top: 20px; color: #786988; font-size: 11px; }
.guide-layout { display: grid; grid-template-columns: 244px minmax(0,1fr); align-items: start; gap: 32px; }
.guide-sidebar { position: sticky; top: 100px; padding: 20px 0; }
.toc-heading { display: flex; justify-content: space-between; padding: 0 14px 14px; font-size: 13px; font-weight: 700; }
.toc-heading span { font-size: 9px; color: #7f838d; letter-spacing: 1px; font-weight: 500; align-self: center; }
.toc-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 5px; }
.toc-list a { display: flex; align-items: center; gap: 12px; border: 1px solid transparent; border-radius: 10px; padding: 11px 13px; font-size: 13px; }
.toc-list a>span { font-size: 11px; color: #90949e; font-variant-numeric: tabular-nums; }
.toc-list a:hover { background: #ececf2; }
.toc-list a[aria-current="location"] { color: var(--brand-dark); background: #fff; border-color: var(--line); font-weight: 650; box-shadow: 0 4px 12px #17181c04; }
.toc-list a[aria-current="location"]>span { color: var(--brand); }
.toc-extra { display: flex; gap: 20px; padding: 18px 14px; margin-top: 14px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.toc-extra a:hover { color: var(--brand-dark); }
.sidebar-note { font-size: 11px; color: #7e838d; padding: 10px 14px; }
.guide-content { min-width: 0; }
.guide-intro { display: flex; gap: 10px; padding: 0 4px 22px; font-size: 12px; color: var(--muted); }
.intro-dot { flex: 0 0 6px; height: 6px; border-radius: 50%; background: var(--purple); margin-top: 8px; }
.step-detail { padding: 32px; margin-bottom: 24px; background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 16px 40px rgba(31,33,43,.025); }
.step-kicker { font-size: 11px; color: var(--brand-dark); font-weight: 650; letter-spacing: 1px; margin-bottom: 10px; }
.step-detail h2,.reference-section h2 { font-size: 25px; line-height: 1.45; letter-spacing: -.5px; margin-bottom: 12px; }
.detail-intro { color: var(--muted); font-size: 14px; margin-bottom: 20px; }
.instructions { padding-left: 23px; margin: 0; font-size: 14px; line-height: 1.95; color: #50545e; }
.instructions li { padding-left: 6px; margin: 7px 0; }
.instructions li::marker { color: var(--brand-dark); font-weight: 650; }
.instructions b { color: var(--ink); font-weight: 650; }
.notice { display: flex; gap: 10px; background: #f5f2fa; color: #736382; padding: 15px 16px; border-radius: 11px; font-size: 12px; line-height: 1.85; margin-top: 20px; }
.notice .icon { width: 17px; height: 17px; margin-top: 3px; }
.notice.warm { color: #8c6146; background: #fff5ed; }
.menu-example { padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: #f9f9fb; margin-top: 20px; }
.example-label { font-size: 10px; color: var(--muted); margin-bottom: 10px; }
.menu-items { display: flex; flex-wrap: wrap; gap: 8px; }
.menu-items span { background: #fff; border: 1px solid var(--line); padding: 5px 10px; border-radius: 7px; font-size: 12px; }
.publish-flow { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 20px; }
.publish-flow span { padding: 7px 12px; border: 1px solid var(--line); border-radius: 7px; font-size: 12px; }
.publish-flow span:last-child { color: #6c378e; background: #f4ebfc; border-color: #ead8f9; }
.publish-flow .icon { width: 15px; height: 15px; color: #aaa2b0; }
.roles { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; margin-top: 20px; }
.role { border: 1px solid var(--line); border-radius: 10px; padding: 14px; font-size: 13px; }
.role p { color: var(--muted); font-size: 12px; margin-top: 5px; }
.screenshot { margin-top: 24px; border: 1px solid var(--line); border-radius: 13px; overflow: hidden; background: #f7f7fa; }
.screenshot-trigger { display: block; position: relative; width: 100%; padding: 0; border: 0; background: #f7f7fa; cursor: zoom-in; }
.screenshot img { width: 100%; height: auto; }
.shot-zoom { position: absolute; right: 10px; bottom: 10px; display: flex; align-items: center; gap: 7px; padding: 5px 10px; border-radius: 7px; font-size: 10px; color: #fff; background: rgba(23,24,28,.75); backdrop-filter: blur(4px); }
.shot-zoom .icon { width: 13px; height: 13px; }
.screenshot figcaption { display: grid; gap: 5px; padding: 15px 17px; background: #fcfcfd; line-height: 1.75; }
.shot-title { font-size: 12px; font-weight: 650; }
.shot-description { font-size: 12px; color: var(--muted); }
.shot-meta { font-size: 10px; color: #80848d; }
.reference-section { padding: 36px 0 12px; }
.reference-section .eyebrow { margin-bottom: 12px; }
.capability-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; margin-top: 24px; }
.cap-row { padding: 22px; border: 1px solid var(--line); background: #fff; border-radius: 16px; }
.cap-row h3 { font-size: 15px; margin-bottom: 8px; }
.cap-row p { font-size: 13px; color: var(--muted); line-height: 1.85; }
.cap-row a { color: var(--brand-dark); white-space: nowrap; }
.faq-list { border-top: 1px solid var(--line); margin-top: 24px; }
details { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 20px 0; font-size: 14px; font-weight: 650; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; color: var(--brand); font-size: 22px; font-weight: 400; }
details[open] summary::after { content: '−'; }
.faq-answer { font-size: 13px; color: var(--muted); line-height: 1.9; padding: 0 30px 22px 0; }
.support-callout { display: flex; align-items: center; justify-content: space-between; gap: 24px; background: #ede8f5; border: 1px solid #e5dcef; border-radius: 18px; padding: 26px; margin-top: 38px; }
.support-callout h2 { font-size: 18px; margin-bottom: 6px; }
.support-callout p { font-size: 12px; color: var(--muted); }
.support-callout .button { flex-shrink: 0; font-size: 12px; padding-inline: 16px; }
.back-top { display: block; width: fit-content; margin: 28px 0 40px auto; font-size: 12px; color: var(--muted); }
.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; font-size: 12px; color: var(--muted); border-top: 1px solid var(--line); padding: 24px 0 30px; }
.site-footer div { display: flex; flex-wrap: wrap; gap: 22px; }
html.viewer-open { overflow: hidden; }
#image-viewer { width: min(1400px,calc(100vw - 36px)); max-width: none; max-height: calc(100dvh - 36px); padding: 0; border: 1px solid #4c4c54; border-radius: 16px; background: #18191e; color: #fff; overflow: auto; }
#image-viewer::backdrop { background: rgba(8,9,14,.86); backdrop-filter: blur(8px); }
.viewer-bar { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 16px 20px; }
.viewer-bar>div { display: flex; gap: 15px; align-items: center; }
#viewer-count { color: #b4acbc; font-size: 12px; white-space: nowrap; }
#viewer-title { font-size: 15px; }
#image-viewer button { border: 1px solid #50515b; border-radius: 8px; padding: 7px 12px; color: #fff; background: #2a2b33; font-size: 12px; white-space: nowrap; }
.viewer-stage { display: flex; justify-content: center; background: #0e0f12; padding: 10px; }
#viewer-image { width: auto; height: auto; max-width: 100%; max-height: calc(100dvh - 230px); object-fit: contain; }
.viewer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 16px 20px; }
#viewer-description { font-size: 12px; color: #cac6d1; text-align: center; }
@media(max-width:960px) {
  .help-hero { gap: 32px; grid-template-columns: 1fr 240px; }
  .guide-layout { grid-template-columns: 205px minmax(0,1fr); gap: 22px; }
  .toc-list a { font-size: 12px; gap: 9px; padding-inline: 9px; }
  .step-detail { padding: 26px; }
  .support-callout { align-items: flex-start; flex-direction: column; gap: 16px; }
}
@media(max-width:720px) {
  html { scroll-padding-top: 20px; }
  .shell { width: calc(100% - 28px); }
  .site-header { position: static; }
  .nav-wrap { min-height: 68px; gap: 15px; }
  .brand-link img { width: 124px; }
  .top-nav { gap: 16px; font-size: 12px; }
  .top-nav a:first-child { display: none; }
  .breadcrumb { margin-top: 22px; font-size: 11px; }
  .help-hero { grid-template-columns: 1fr; padding: 28px 4px 32px; gap: 24px; }
  h1 { font-size: clamp(31px,7.7vw,44px); letter-spacing: -1px; }
  .hero-description { font-size: 14px; }
  .hero-note { display: none; }
  .guide-layout { grid-template-columns: 1fr; gap: 22px; }
  .guide-sidebar { position: static; padding: 18px 12px 6px; border: 1px solid var(--line); border-radius: 18px; background: #eeedf4; }
  .toc-list { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .toc-list a { padding: 11px 9px; }
  .toc-heading { padding-inline: 9px; }
  .toc-extra { margin-top: 10px; padding: 12px 9px; }
  .sidebar-note { display: none; }
  .guide-intro { padding-bottom: 18px; }
  .step-detail { padding: 23px 20px; border-radius: 18px; margin-bottom: 18px; }
  .step-detail h2,.reference-section h2 { font-size: 22px; }
  .instructions { font-size: 13px; padding-left: 20px; }
  .instructions li { padding-left: 2px; }
  .screenshot { margin-inline: -8px; border-radius: 9px; }
  .shot-zoom { font-size: 9px; bottom: 6px; right: 6px; }
  .screenshot figcaption { padding: 12px; }
  .roles { grid-template-columns: 1fr; }
  .reference-section { padding-inline: 4px; }
  .capability-grid { grid-template-columns: 1fr; gap: 10px; }
  .cap-row { padding: 20px; }
  .site-footer { align-items: flex-start; flex-direction: column; gap: 10px; font-size: 11px; }
  #image-viewer { width: calc(100vw - 16px); max-height: calc(100dvh - 16px); border-radius: 12px; }
  .viewer-bar,.viewer-bottom { padding: 12px; gap: 10px; }
  .viewer-bar>div { gap: 10px; }
  #viewer-title { font-size: 12px; }
  .viewer-bottom { flex-wrap: wrap; }
  #viewer-description { order: -1; width: 100%; text-align: left; }
}
@media(prefers-reduced-motion:reduce) { html { scroll-behavior: auto; } }
@media print {
  @page { margin: 15mm; }
  html { scroll-behavior: auto; }
  body { background: #fff; font-size: 11pt; }
  .shell { width: 100%; }
  .site-header,.breadcrumb,.guide-sidebar,.hero-actions,.hero-note,.back-top,.shot-zoom,.support-callout,.skip-link,#image-viewer { display: none !important; }
  .help-hero { display: block; padding: 0 0 24px; }
  h1 { font-size: 28pt; }
  .guide-layout { display: block; }
  .step-detail { box-shadow: none; padding: 20px; margin-bottom: 20px; border-radius: 8px; }
  h2,h3,.step-kicker { break-after: avoid; }
  .screenshot,.notice,.role,.cap-row { break-inside: avoid; }
  .screenshot img { max-height: 150mm; object-fit: contain; }
  .step-detail,.reference-section { break-inside: auto; }
  .site-footer { font-size: 9pt; }
}
