/* 门店帮助中心；复用 Web 暖白主题，样式限定在帮助模块。 */
.nav-help { margin-top: 20px; border-top: 1px solid var(--line); padding-top: 18px; }
.help-center { max-width: 1480px; margin: 0 auto; min-width: 0; }
.help-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 32px; padding: 6px 0 28px; border-bottom: 1px solid var(--line); }
.help-heading { min-width: 0; }
.help-header-tools { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; min-width: 0; }
.help-eyebrow { color: var(--gold); font-size: 12px; font-weight: 600; letter-spacing: 1px; margin: 0 0 12px; }
.help-header h2 { font-size: 34px; font-family: var(--font-serif); font-weight: 600; line-height: 1.3; letter-spacing: .02em; }
.help-intro { color: var(--text-dim); font-size: 14px; line-height: 1.8; margin-top: 12px; max-width: 690px; }
.help-version { color: var(--muted); font-size: 12px; white-space: nowrap; }
.help-center.is-reading .help-header { padding-bottom: 24px; }
.help-center.is-reading .help-header h2 { font-size: 22px; }
.help-center.is-reading .help-header .help-eyebrow, .help-center.is-reading .help-intro { display: none; }
.help-searchbar { display: flex; align-items: center; justify-content: flex-end; gap: 10px; max-width: 100%; }
.help-search { display: flex; align-items: center; gap: 8px; width: 220px; max-width: 100%; background: transparent; border: 1px solid var(--line); border-radius: 6px; padding: 0 11px; }
.help-search > span:first-child { font-size: 20px; color: var(--gold); line-height: 1; }
.help-search input { min-width: 0; width: 100%; border: 0; padding: 9px 0; background: transparent; font: inherit; font-size: 13px; outline: none; color: var(--text); }
.help-search:focus-within { outline: 2px solid var(--gold); outline-offset: 2px; }
.help-center [hidden] { display: none !important; }
.help-platforms { display: flex; justify-content: flex-end; gap: 6px; flex-wrap: wrap; }
.help-platforms button { border: 0; border-radius: 5px; padding: 9px 14px; background: transparent; color: var(--text-dim); cursor: pointer; font: inherit; font-size: 13px; min-height: 40px; }
.help-platforms button[aria-pressed="true"] { background: #EAE2D1; color: #6F531A; font-weight: 600; }
.help-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 28px; align-items: start; padding-top: 28px; }
.help-directory { min-width: 0; padding: 0; }
.help-directory-toggle { display: none; }
.help-directory section { margin-top: 24px; }
.help-directory section:first-child { margin-top: 0; }
.help-directory h3 { font-size: 15px; line-height: 1.5; color: var(--text); padding: 9px 12px; margin: 0 0 6px; font-weight: 700; background: #EAE2D1; border-radius: 6px; }
.help-directory section a { display: block; color: var(--text-dim); font-size: 13px; line-height: 1.65; padding: 8px 12px 8px 20px; margin: 2px 0; text-decoration: none; border-radius: 6px; transition: color .16s, background-color .16s; }
.help-directory section a:hover { background: var(--bg-elev); color: var(--text); }
.help-directory section a[aria-current] { background: #F3EBDD; color: #6F531A; font-weight: 700; box-shadow: inset 3px 0 var(--gold-2); }
.help-directory-empty { color: var(--muted); font-size: 13px; padding: 8px; }
.help-main { min-width: 0; }
.help-overview > h2, .help-results > h2 { font-size: 30px; line-height: 1.4; font-family: var(--font-serif); letter-spacing: .01em; }
.help-roles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 24px; background: var(--bg-panel); border: 1px solid var(--line); border-radius: 8px; }
.help-roles > div { padding: 24px 20px; }
.help-roles > div + div { border-left: 1px solid var(--line); }
.help-roles span { font-size: 12px; color: var(--gold); }
.help-roles h3 { font-size: 16px; line-height: 1.5; margin: 10px 0; font-weight: 600; }
.help-roles p { font-size: 13px; line-height: 1.8; color: var(--text-dim); }
.help-service-note { font-size: 13px; color: var(--text-dim); line-height: 1.8; padding: 14px 0; }
.help-section-title { font-size: 18px; margin: 20px 0 16px; font-family: var(--font-serif); }
.help-recommendations, .help-results-list { display: grid; gap: 12px; }
.help-result { display: block; padding: 21px 22px; background: var(--bg-panel); border: 1px solid var(--line); border-radius: 8px; text-decoration: none; color: var(--text); }
.help-result:hover { border-color: var(--gold-2); }
.help-result-category { font-size: 12px; color: var(--gold); }
.help-result h3 { font-size: 16px; line-height: 1.6; margin: 8px 0; display: flex; justify-content: space-between; gap: 12px; }
.help-result h3 span { color: var(--gold); }
.help-result p { font-size: 13px; color: var(--text-dim); line-height: 1.8; }
.help-read-time { display: block; font-size: 12px; color: var(--muted); margin-top: 12px; }
.help-manual-links { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin: 36px 0; }
.help-manual-links h3 { font-size: 17px; font-family: var(--font-serif); border-bottom: 1px solid var(--line); padding-bottom: 12px; }
.help-manual-links ul { list-style: none; }
.help-manual-links a { display: flex; gap: 10px; justify-content: space-between; text-decoration: none; font-size: 13px; line-height: 1.7; padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--text-dim); }
.help-manual-links a:hover { color: var(--gold); }
.help-results-count { color: var(--muted); font-size: 13px; margin: 12px 0 24px; }
.help-article { background: var(--bg-panel); border: 1px solid var(--line); border-radius: 8px; padding: 36px clamp(24px, 3.2vw, 52px); }
.help-article > header { padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.help-article-meta { display: flex; align-items: center; gap: 12px; font-size: 12px; color: var(--muted); }
.help-article-meta span:first-child { color: #6F531A; background: #F3EBDD; padding: 5px 9px; border-radius: 4px; font-weight: 600; }
.help-article h2 { font-size: 30px; line-height: 1.45; font-family: var(--font-serif); margin: 17px 0 10px; letter-spacing: .01em; text-wrap: pretty; }
.help-article-summary { color: var(--text-dim); line-height: 1.9; font-size: 15px; max-width: 70ch; }
.help-audience { display: inline-flex; font-size: 12px; color: #6F531A; margin-top: 16px; padding: 6px 9px; background: var(--bg-elev); border-radius: 4px; }
.help-article-tools { display: flex; gap: 20px; margin: 18px 0 24px; }
.help-toc { display: flex; flex-wrap: wrap; gap: 7px; background: var(--bg-elev); border: 1px solid var(--line); border-radius: 6px; padding: 12px; margin: 22px 0 32px; }
.help-toc button { font: inherit; font-size: 13px; border: 1px solid transparent; border-radius: 4px; background: transparent; color: var(--text-dim); cursor: pointer; padding: 8px 10px; transition: background-color .16s, color .16s; }
.help-toc button:hover { background: var(--bg-panel); color: var(--text); }
.help-article-section { margin-bottom: 40px; scroll-margin-top: 96px; }
.help-article-section h3, .help-related h3 { display: flex; align-items: baseline; gap: 11px; font-size: 20px; margin-bottom: 17px; line-height: 1.5; font-weight: 650; }
.help-article-section h3 > span { font: 600 12px/1 var(--font-mono); letter-spacing: .04em; color: var(--gold); }
.help-article-section > p { font-size: 15px; line-height: 1.95; margin: 13px 0; color: var(--text-dim); max-width: 76ch; }
.help-steps { counter-reset: help-step; list-style: none; }
.help-steps li { position: relative; counter-increment: help-step; font-size: 14px; line-height: 1.95; padding-left: 38px; margin: 16px 0; color: var(--text-dim); }
.help-steps li::before { content: counter(help-step); position: absolute; left: 0; top: 2px; display: grid; place-items: center; width: 25px; height: 25px; border-radius: 50%; background: var(--bg-elev); border: 1px solid var(--line); color: var(--gold); font-size: 12px; font-weight: 600; }
.help-note { border-left: 3px solid var(--gold-2); background: var(--bg-elev); padding: 16px 18px; margin: 20px 0; }
.help-note strong { font-size: 13px; color: var(--gold); }
.help-note p { font-size: 13px; line-height: 1.9; color: var(--text-dim); margin-top: 6px; }
.help-diagram { margin: 24px 0; border: 1px solid var(--line); border-radius: 7px; background: var(--bg-elev); padding: 20px; }
.help-diagram figcaption { font-size: 13px; font-weight: 600; margin-bottom: 18px; }
.help-diagram figcaption span { font-size: 11px; color: var(--muted); font-weight: 400; margin-left: 12px; }
.help-diagram ol { display: grid; grid-template-columns: 1fr 1fr; list-style: none; gap: 18px; }
.help-diagram li { position: relative; padding: 0 0 0 34px; }
.help-flow-index { position: absolute; left: 0; top: 0; background: #EAE2D1; color: #6F531A; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; }
.help-flow-who { font-size: 11px; color: var(--gold); }
.help-diagram strong { display: block; margin: 6px 0; font-size: 14px; }
.help-diagram li > span:last-child { color: var(--text-dim); font-size: 12px; line-height: 1.6; display: block; }
.help-figure { margin: 24px 0; }
.help-image-button { display: block; position: relative; border: 1px solid var(--line); border-radius: 6px; padding: 0; width: 100%; background: var(--bg-base); overflow: hidden; cursor: zoom-in; }
.help-image-button img { width: 100%; height: auto; display: block; }
.help-image-button span { position: absolute; right: 12px; bottom: 12px; padding: 6px 10px; background: #fff; color: var(--text-dim); border: 1px solid var(--line); border-radius: 5px; font-size: 12px; }
.help-figure figcaption { color: var(--muted); font-size: 12px; line-height: 1.8; margin-top: 8px; }
.help-related { border-top: 1px solid var(--line); padding-top: 22px; }
.help-related a { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; font-size: 13px; color: var(--gold); text-decoration: none; }
.help-empty { padding: 32px 0; }
.help-empty p { color: var(--muted); font-size: 14px; line-height: 1.8; margin: 12px 0; }
.help-empty a { color: var(--gold); }
.help-lightbox { margin: auto; width: min(96vw, 1500px); max-width: 96vw; max-height: 94vh; border: 1px solid var(--line); border-radius: 8px; padding: 48px 20px 18px; background: var(--bg-panel); overflow: auto; }
.help-lightbox::backdrop { background: rgba(30, 25, 18, .72); }
.help-lightbox img { display: block; width: 100%; height: auto; }
.help-lightbox p { color: var(--text-dim); font-size: 13px; line-height: 1.8; margin-top: 14px; }
.help-lightbox-close { position: absolute; top: 6px; right: 12px; width: 38px; height: 38px; font-size: 28px; background: transparent; border: 0; color: var(--text); cursor: pointer; }
.help-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.help-center a:focus-visible, .help-center button:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
@media (max-width: 1150px) {
  .help-header { flex-wrap: wrap; }
  .help-header-tools { margin-left: auto; }
  .help-layout { grid-template-columns: 190px minmax(0, 1fr); gap: 22px; }
  .help-roles { grid-template-columns: 1fr; }
  .help-roles > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .help-roles > div { padding: 18px 20px; }
}
@media (max-width: 800px) {
  .help-layout { grid-template-columns: minmax(0, 1fr); }
  .help-directory { border: 1px solid var(--line); border-radius: 6px; padding: 12px; }
  .help-directory-toggle { display: flex; justify-content: space-between; align-items: center; width: 100%; padding: 3px 4px; min-height: 32px; border: 0; background: transparent; font: inherit; font-size: 14px; color: var(--text); cursor: pointer; }
  .help-directory-body { display: none; }
  .help-directory.is-expanded .help-directory-body { display: block; }
  .help-directory.is-expanded .help-directory-body { padding-top: 12px; }
  .help-directory section { margin-bottom: 14px; }
  .help-header { flex-direction: column; gap: 20px; }
  .help-header-tools { width: 100%; align-items: flex-start; margin-left: 0; }
  .help-searchbar { justify-content: flex-start; }
  .help-platforms { justify-content: flex-start; }
  .help-manual-links { grid-template-columns: 1fr; gap: 24px; }
  .help-article { padding: 24px 18px; }
  .help-article h2 { font-size: 25px; }
  .help-diagram ol { grid-template-columns: 1fr; }
  .help-diagram figcaption span { display: block; margin: 4px 0 0; }
}
@media print {
  .sidebar, .topbar, .scrim, .help-header, .help-searchbar, .help-platforms, .help-directory, .help-toc, .help-article-tools, .help-related, .help-lightbox { display: none !important; }
  .shell, .main, .help-layout { display: block !important; width: 100% !important; margin: 0 !important; }
  .content { padding: 0 !important; }
  .help-article { border: 0; padding: 0; }
  .help-article-section, .help-figure, .help-note { break-inside: avoid; }
  .help-image-button span { display: none; }
}
