.help-body {
  font-family: inherit;
  margin: 0;
  padding: 0;
  background: var(--bg-color, #1a1a1a);
  color: var(--text-color, #e0e0e0);
}

.help-header {
  background: var(--card-bg, #2a2a2a);
  border-bottom: 1px solid #444;
  padding: 0.75rem 0;
  margin: 0;
}

.help-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.help-logo {
  color: var(--accent-color, #4a9eff);
  text-decoration: none;
  font-weight: 500;
}

.help-header h1 {
  margin: 0;
  font-size: 1.5rem;
}

.search-container {
  flex: 0 0 300px;
}

#searchInput {
  width: 100%;
  padding: 0.5rem;
  border: 1px solid #444;
  border-radius: 4px;
  background: var(--bg-color, #1a1a1a);
  color: var(--text-color, #e0e0e0);
}

.help-layout {
  display: flex;
  max-width: 1200px;
  margin: 0 auto;
  min-height: calc(100vh - 120px);
}

.help-nav {
  flex: 0 0 280px;
  background: var(--card-bg, #2a2a2a);
  border-right: 1px solid #444;
  padding: 1rem 0;
}

.nav-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu > li {
  margin: 0;
}

.nav-menu > li > a {
  display: block;
  padding: 0.75rem 1rem;
  color: var(--text-color, #e0e0e0);
  text-decoration: none;
  border-left: 3px solid transparent;
}

.nav-menu > li > a:hover,
.nav-menu > li > a.active {
  background: rgba(74, 158, 255, 0.1);
  border-left-color: var(--accent-color, #4a9eff);
}

.nav-section .nav-toggle {
  display: block;
  padding: 0.75rem 1rem;
  color: var(--text-color, #e0e0e0);
  cursor: pointer;
  border-left: 3px solid transparent;
  position: relative;
}

.nav-section .nav-toggle:hover {
  background: rgba(74, 158, 255, 0.1);
}

.nav-section .nav-toggle::after {
  content: '▶';
  position: absolute;
  right: 1rem;
  transition: transform 0.2s;
  font-size: 0.8rem;
}

.nav-section.expanded .nav-toggle::after {
  transform: rotate(90deg);
}

.nav-submenu {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background: rgba(0, 0, 0, 0.2);
}

.nav-section.expanded .nav-submenu {
  max-height: 300px;
}

.nav-submenu li a {
  display: block;
  padding: 0.5rem 1rem 0.5rem 2rem;
  color: #ccc;
  text-decoration: none;
  font-size: 0.9rem;
}

.nav-submenu li a:hover {
  background: rgba(74, 158, 255, 0.1);
  color: var(--accent-color, #4a9eff);
}

.help-content {
  flex: 1;
  padding: 2rem;
  line-height: 1.6;
}

/* Breadcrumb */
.breadcrumb {
  padding: 0.5rem 0;
  margin-bottom: 1rem;
  font-size: 0.875rem;
  color: #6c757d;
}

.breadcrumb a {
  color: var(--accent-color, #4a9eff);
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
  cursor: pointer;
}

.breadcrumb-separator {
  margin: 0 0.5rem;
  color: #6c757d;
}

.breadcrumb-section-pages {
  position: absolute;
  background: var(--card-bg, #2a2a2a);
  border: 1px solid #444;
  border-radius: 4px;
  padding: 0.5rem;
  margin-top: 0.25rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  z-index: 1000;
}

.breadcrumb-section-pages:empty {
  display: none !important;
}

.breadcrumb-section-pages a {
  display: block;
  padding: 0.25rem 0.5rem;
  color: var(--text-color, #e0e0e0);
  text-decoration: none;
  border-radius: 2px;
  white-space: nowrap;
}

.breadcrumb-section-pages a:hover {
  background: rgba(74, 158, 255, 0.1);
  color: var(--accent-color, #4a9eff);
}

.help-content h1 {
  margin: 0 0 1.5rem 0;
  color: var(--accent-color, #4a9eff);
  border-bottom: 2px solid var(--accent-color, #4a9eff);
  padding-bottom: 0.5rem;
}

.help-content h2 {
  margin: 2rem 0 1rem 0;
  color: var(--text-color, #e0e0e0);
  font-size: 1.4rem;
}

.help-content h3 {
  margin: 1.5rem 0 0.75rem 0;
  color: #ccc;
  font-size: 1.2rem;
}

.help-content p {
  margin: 0 0 1rem 0;
  color: #ccc;
}

.help-content ul,
.help-content ol {
  margin: 0 0 1rem 0;
  padding-left: 1.5rem;
}

.help-content li {
  margin: 0.25rem 0;
  color: #ccc;
}

.help-content strong {
  color: var(--text-color, #e0e0e0);
}

.help-content code {
  background: rgba(0, 0, 0, 0.3);
  padding: 0.2rem 0.4rem;
  border-radius: 3px;
  font-family: 'Courier New', monospace;
  color: var(--accent-color, #4a9eff);
}

.help-content pre {
  background: rgba(0, 0, 0, 0.3);
  padding: 1rem;
  border-radius: 4px;
  overflow-x: auto;
  margin: 1rem 0;
}

.help-content blockquote {
  border-left: 3px solid var(--accent-color, #4a9eff);
  margin: 1rem 0;
  padding: 0.5rem 1rem;
  background: rgba(74, 158, 255, 0.1);
  font-style: italic;
}

.studio-preview {
  margin: 2rem 0;
  text-align: center;
}

.studio-screenshot {
  max-width: 90%;
  height: auto;
  border: 1px solid #444;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  margin: 0 5%;
}

.image-caption {
  margin: 0.5rem 0 0 0;
  font-size: 0.9rem;
  color: #888;
  font-style: italic;
}

.help-sections {
  margin: 2rem 0;
}

.help-section {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin: 1.5rem 0;
  padding: 1rem;
  background: rgba(74, 158, 255, 0.05);
  border-radius: 8px;
  border-left: 3px solid var(--accent-color, #4a9eff);
}

.section-content {
  flex: 1;
  margin-right: 1rem;
}

.section-content h3 {
  margin: 0 0 0.5rem 0;
  color: var(--accent-color, #4a9eff);
}

.section-content p {
  margin: 0;
}

.section-images {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  flex-shrink: 0;
}

.section-icon {
  width: 120px;
  height: 120px;
  filter: brightness(0) saturate(100%) invert(42%) sepia(93%) saturate(1352%) hue-rotate(204deg) brightness(103%) contrast(101%);
}

.search-results {
  background: var(--card-bg, #2a2a2a);
  border: 1px solid #444;
  border-radius: 8px;
  margin: 0 0 2rem 0;
  padding: 1rem;
}

.search-header {
  font-weight: bold;
  color: var(--accent-color, #4a9eff);
  margin: 0 0 1rem 0;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #444;
}

.search-result {
  margin: 1rem 0;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 4px;
}

.search-result h3 {
  margin: 0 0 0.5rem 0;
  font-size: 1.1rem;
}

.search-result h3 a {
  color: var(--accent-color, #4a9eff);
  text-decoration: none;
}

.search-result h3 a:hover {
  text-decoration: underline;
}

.search-snippet {
  margin: 0;
  color: #ccc;
  font-size: 0.9rem;
  line-height: 1.4;
}

.search-snippet mark {
  background: var(--accent-color, #4a9eff);
  color: #000;
  padding: 0.1rem 0.2rem;
  border-radius: 2px;
}

.no-results {
  text-align: center;
  color: #888;
  padding: 2rem;
  font-style: italic;
}

@media (max-width: 768px) {
  .help-layout {
    flex-direction: column;
  }
  
  .help-nav {
    flex: none;
    border-right: none;
    border-bottom: 1px solid #444;
  }
  
  .help-header .container {
    flex-direction: column;
    gap: 1rem;
  }
  
  .search-container {
    flex: none;
    width: 100%;
  }
}