help-page { --bg-sidebar: #ffffff; --bg-sidebar-hover: #bababa; --bg-sidebar-active: #000000; --bg-content: #ebebeb; --bg-card: #ffffff; --text-dark: #000000; --text-muted: #3d3d3d; --text-ondark: #000000; --text-ondark-dim: #4a4a4a; --accent: #000000; --divider: #d6d6d6; --divider-light: #e2e2e2; --radius: 8px; --font-mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, "Courier New", monospace; --font-body: -apple-system, "Segoe UI", "Arial Hebrew", Arial, system-ui, sans-serif; font-family: var(--font-body); color: var(--text-dark); background: var(--bg-content); min-height: 100vh; display: flex; line-height: 1.7; }
help-page * { box-sizing: border-box; }
help-nav-title, help-page-title, help-content h1, help-chapter-head h2, help-sub h3, help-chapter-body, help-nav a span, help-badge, help-chapter-num { unicode-bidi: isolate; }
help-nav { position: sticky; top: 0px; height: 100vh; width: 300px; flex: 0 0 300px; background: var(--bg-sidebar); color: var(--text-ondark); overflow-y: auto; display: block; padding: 28px 0px 40px; border-inline-end: 1px solid var(--divider); }
help-brand { display: flex; align-items: center; gap: 10px; padding: 0px 22px 18px; }
help-brand a { display: inline-flex; text-decoration: none; }
help-logo { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 34px; height: 34px; border-radius: 8px; background: var(--text-dark); color: rgb(255, 255, 255); font-family: var(--font-mono); font-size: 11px; font-weight: 700; letter-spacing: 0.02em; unicode-bidi: isolate; }
help-brand span { font-size: 14px; font-weight: 600; unicode-bidi: isolate; }
help-lang-switch { display: block; padding: 0px 22px 18px; }
help-lang-switch select { width: 100%; padding: 6px 10px; border-radius: 6px; border: 1px solid var(--divider); background: var(--bg-sidebar); color: var(--text-ondark); font-family: var(--font-body); font-size: 13px; unicode-bidi: isolate; }
help-nav-title { display: block; font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.04em; color: var(--text-ondark-dim); padding: 0px 22px 18px; text-transform: uppercase; }
help-nav ul { list-style: none; margin: 0px; padding: 0px; }
help-nav > ul > li + li { border-top: 1px solid var(--divider); }
help-nav a { display: flex; align-items: center; gap: 10px; padding: 11px 22px; color: var(--text-ondark); text-decoration: none; font-size: 14.5px; border-inline-start: 3px solid transparent; transition: background 0.12s, color 0.12s, border-color 0.12s; }
help-nav a:hover { background: var(--bg-sidebar-hover); }
help-badge { font-family: var(--font-mono); font-size: 11px; flex: 0 0 auto; width: 22px; height: 22px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--text-ondark-dim); color: var(--text-ondark-dim); }
help-sub-list { display: block; padding-inline-start: 0px; }
help-sub-list a { padding-inline-start: 44px; font-size: 13.5px; color: var(--text-ondark-dim); }
help-sub-list a::before { content: ""; width: 6px; height: 1px; background: var(--text-ondark-dim); margin-inline-end: 2px; }
help-nav a[data-active] { background: var(--bg-sidebar-active); font-weight: 600; border-inline-start-color: var(--accent); color: rgb(255, 255, 255); }
help-nav a[data-active]:hover { background: var(--bg-sidebar-active); }
help-nav a[data-active] help-badge { border-color: var(--accent); color: rgb(255, 255, 255); background: var(--accent); }
help-sub-list a[data-active] { color: var(--text-dark); font-weight: 600; }
help-content { display: block; flex: 1 1 auto; min-width: 0px; padding: 56px 48px 120px; max-width: 760px; }
help-page-title { display: block; font-family: var(--font-mono); font-size: 15px; color: var(--text-muted); letter-spacing: 0.03em; margin: 0px 0px 4px; }
help-content h1 { font-size: 30px; margin: 0px 0px 44px; }
help-chapter { display: block; scroll-margin-top: 24px; padding-top: 24px; margin-bottom: 40px; }
help-chapter-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
help-chapter-num { font-family: var(--font-mono); font-size: 13px; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--divider-light); display: inline-flex; align-items: center; justify-content: center; color: var(--text-muted); flex: 0 0 auto; }
help-chapter-head h2 { font-size: 21px; margin: 0px; }
help-chapter-body { display: block; background: var(--bg-card); border: 1px solid var(--divider-light); border-radius: var(--radius); padding: 20px 24px; }
help-chapter-body p { margin: 0px 0px 12px; }
help-chapter-body p:last-child { margin-bottom: 0px; }
help-chapter-body ul { margin: 0px 0px 12px; padding-inline-start: 20px; }
help-chapter-body strong { color: var(--text-dark); }
help-chapter-body pre { direction: ltr; unicode-bidi: isolate; text-align: left; overflow-x: auto; max-width: 100%; background: var(--bg-content); border: 1px solid var(--divider-light); border-radius: var(--radius); padding: 14px 16px; margin: 0px 0px 12px; font-family: var(--font-mono); font-size: 13px; line-height: 1.6; }
help-chapter-body pre:last-child { margin-bottom: 0px; }
help-chapter-body pre code { background: none; border: none; padding: 0px; }
help-chapter-body code { direction: ltr; unicode-bidi: isolate; font-family: var(--font-mono); font-size: 0.9em; background: var(--bg-content); border: 1px solid var(--divider-light); border-radius: 4px; padding: 1px 5px; }
help-shot { display: block; margin: 4px 0px 12px; }
help-shot:last-child { margin-bottom: 0px; }
help-shot img { display: block; max-width: 100%; height: auto; border: 1px solid var(--divider-light); border-radius: var(--radius); background: var(--bg-content); cursor: zoom-in; }
help-lightbox { position: fixed; inset: 0px; z-index: 999; display: flex; align-items: center; justify-content: center; padding: 24px; background: rgba(0, 0, 0, 0.75); cursor: zoom-out; }
help-lightbox img { max-width: 92vw; max-height: 90vh; border-radius: 6px; box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5); }
help-nav-toggle { display: none; }
help-nav-toggle button { display: none; }
help-sub { display: block; scroll-margin-top: 24px; padding-top: 22px; padding-inline-start: 42px; border-inline-start: 2px solid var(--divider-light); margin-inline-start: 15px; margin-top: 6px; }
help-sub h3 { font-size: 16px; margin: 0px 0px 8px; }
help-sub help-chapter-body { padding: 16px 20px; }
help-sub#help-server-save-backup { margin-bottom: 5px; }
@media (max-width: 860px) {
  help-page { flex-direction: column; }
  help-nav { position: sticky; top: 0px; height: auto; max-height: none; width: 100%; flex: 0 0 auto; border-inline-end: none; border-bottom: 1px solid var(--divider); padding: 0px 0px 0px; background: var(--bg-sidebar); z-index: 20; }
  help-brand { padding: 14px 20px; }
  help-nav-toggle { display: block; }
  help-nav-toggle button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 14px 20px; margin: 0px; border: none; border-top: 1px solid var(--divider); background: var(--bg-sidebar-hover); color: var(--text-ondark); font-family: var(--font-body); font-size: 15px; font-weight: 700; cursor: pointer; }
  help-nav-toggle button::before { content: "\2630"; font-size: 16px; }
  help-nav-toggle button::after { content: "\25be"; margin-inline-start: auto; }
  help-nav[data-open] help-nav-toggle button::after { content: "\25b4"; }
  help-lang-switch, help-nav-title, help-nav > ul { display: none; }
  help-nav[data-open] help-lang-switch, help-nav[data-open] help-nav-title, help-nav[data-open] > ul { display: block; }
  help-nav[data-open] { max-height: 100vh; overflow-y: auto; }
  help-content { padding: 32px 20px 80px; max-width: none; }
}
@media (max-width: 640px) {
  help-brand, help-lang-switch, help-nav-title { padding-inline: 16px; }
  help-nav a { padding: 10px 16px; font-size: 14px; }
  help-sub-list a { padding-inline-start: 34px; }
  help-content { padding: 24px 14px 64px; }
  help-content h1 { font-size: 23px; margin-bottom: 28px; }
  help-page-title { font-size: 13px; }
  help-chapter { margin-bottom: 28px; }
  help-chapter-head { gap: 8px; }
  help-chapter-head h2 { font-size: 18px; }
  help-chapter-num { width: 26px; height: 26px; font-size: 12px; }
  help-chapter-body { padding: 14px 16px; }
  help-sub { padding-inline-start: 20px; margin-inline-start: 6px; }
  help-sub help-chapter-body { padding: 12px 14px; }
  help-lightbox { padding: 10px; }
}
