/* Shared with the homepage; scoped so opening help from a room has the same tone. */
.help-screen, body.static-guide {
  --primary: #a9412c;
  --primary-hover: #893320;
  --primary-light: #f5e6dd;
  --primary-border: #d7af9b;
  --accent: #a9412c;
  --bg-main: #fbf6ef;
  --bg-surface: #fffdf9;
  --bg-surface-elevated: #f1e6d8;
  --bg-glass: #fbf6eff2;
  --border-color: #e5d8ca;
  --text-main: #342c28;
  --text-muted: #76675c;
  --text-subtle: #76675c;
  --shadow-md: 0 12px 36px #4937270b;
  background: var(--bg-main);
  color: var(--text-main);
}
:is(.help-screen, .static-guide) :is(button, a, summary):focus-visible {
  outline: 3px solid #a75c19;
  outline-offset: 3px;
}
.help-header-row { padding-block: 18px 12px; }
.help-brand { display: flex; align-items: center; gap: 10px; }
.help-title { font: 700 26px Georgia, serif; }
.help-title-wrap .help-portal-link { color: var(--text-muted); }
.help-guide-label { color: var(--text-muted); font-size: 12px; }
.help-nav { padding-bottom: 14px; }
.help-nav-btn.active { background: var(--primary); color: #fff; }
.help-hero { gap: 42px; padding-block: 56px; }
.help-hero::before { display: none; }
.help-hero h1 { font-family: 'Noto Serif KR', Georgia, serif; font-size: clamp(32px, 4vw, 52px); line-height: 1.35; font-weight: 600; letter-spacing: -1.8px; }
.help-hero h1 em { background: none; color: var(--primary); }
.help-hero-pill { border-color: var(--border-color); color: var(--text-muted); background: transparent; padding: 8px 14px; font-weight: 500; }
.help-hero-copy > p { margin-bottom: 24px; }
.help-hero-example { min-width: 0; }
.help-hero-caption { margin-top: 12px; color: var(--text-muted); text-align: center; font-size: 12px; }
.help-hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.help-section { padding-block: 36px 20px; }
.help-section-title > span { color: var(--primary); }
:is(.help-screen, .static-guide) .help-step { background: var(--bg-surface); box-shadow: var(--shadow-md); }
:is(.help-screen, .static-guide) .help-board-card.active { background: var(--primary-light); }
:is(.help-screen, .static-guide) .help-when span { color: #785431; background: #f1e6d8; }
:is(.help-screen, .static-guide) .help-note { background: #e7efde; color: #4e6a46; }
:is(.help-screen, .static-guide) .p2p-server { background: var(--primary-light); }
:is(.help-screen, .static-guide) .p2p-device { background: #e7efde; }
:is(.help-screen, .static-guide) .p2p-link i { background: repeating-linear-gradient(90deg, #a9412c 0 8px, transparent 8px 14px); }
:is(.help-screen, .static-guide) .hm-window { border-color: var(--border-color); background: var(--bg-surface); color: var(--text-main); box-shadow: var(--shadow-md); }
:is(.help-screen, .static-guide) .hm-titlebar { background: var(--bg-surface-elevated); color: var(--text-muted); }
:is(.help-screen, .static-guide) .hm-md { background: #f1e6d8; color: var(--text-main); border-color: #a9412c; }
:is(.help-screen, .static-guide) :is(.hm-chip.is-primary, .hm-toolbar i.is-on) { background: var(--primary); }
:is(.help-screen, .static-guide) .hm-item.is-selected { background: var(--primary-light); border-color: var(--primary-border); }
:is(.help-screen, .static-guide) .hm-item b { color: var(--primary); }
:is(.help-screen, .static-guide) .hm-bars i { background: #a9412c; }
.static-guide .static-brand { font: 700 26px Georgia, serif; }
.static-guide .static-main { padding-top: 0; }
.static-guide .help-hero { border-bottom: 1px solid var(--border-color); }
.static-guide .help-section { scroll-margin-top: 100px; }
.help-footer { border-top: 1px solid var(--border-color); margin-top: 32px; }
.help-scenario-paths { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.help-scenario-paths article { padding: 24px; background: var(--bg-surface); border: 1px solid var(--border-color); border-radius: 16px; }
.help-scenario-paths article > span { color: var(--primary); font: italic 24px Georgia, serif; }
.help-scenario-paths h3 { margin-block: 8px; }
.help-scenario-paths p { color: var(--text-muted); line-height: 1.8; }
.help-common-tools { margin-top: 20px; padding: 20px 24px; border: 1px solid var(--border-color); border-radius: 16px; background: #e7efde; }
.help-common-tools summary { cursor: pointer; font-weight: 700; }
.help-common-tools h3 { margin-top: 20px; font-size: 16px; }
.help-common-tools p { margin-top: 6px; color: var(--text-muted); line-height: 1.8; }
:is(.help-screen, .static-guide) .help-board-detail { grid-template-columns: 1fr; gap: 24px; padding: 28px; }
.help-scenario-copy h3 { font-size: 24px; margin-block: 16px; word-break: keep-all; }
.help-scenario-copy .help-mini-steps { max-width: 850px; }
.help-scenario-capture { margin: 0; min-width: 0; }
.help-scenario-capture a { display: block; border: 1px solid var(--border-color); border-radius: 12px; overflow: hidden; }
.help-scenario-capture img { display: block; width: 100%; height: auto; }
.help-scenario-capture figcaption { color: var(--text-muted); font-size: 12px; margin-top: 10px; text-align: center; }
.help-board-detail .help-board-text { border-top: 1px solid var(--border-color); padding-top: 20px; }
@media (max-width: 720px) {
  .help-scenario-paths { grid-template-columns: 1fr; }
  :is(.help-screen, .static-guide) .help-board-detail { padding: 18px; }
  .help-header-row { padding-block: 12px; }
  .help-title { font-size: 22px; }
  .help-hero { grid-template-columns: 1fr; gap: 28px; padding-block: 32px; }
  .help-hero-example { max-width: 560px; width: 100%; margin-inline: auto; }
  .help-hero h1 { font-size: 36px; }
}
