/* Help/Documentation full scrollable page */
.help-layout {
  max-width: 1100px;
  margin: 0 auto;
  min-height: 70vh;
}
.help-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: #000;
  padding: 6px 10px 0;
  border-bottom: 1px solid #00f;
  box-shadow: 0 4px 12px rgba(0,0,0,0.8);
}
.help-topnav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 10px 0 14px;
  border-bottom: 1px solid #333;
  margin-bottom: 10px;
}
.help-topnav a {
  display: inline-block;
  padding: 6px 12px;
  background: #003;
  border: 1px solid #00f;
  border-radius: 0;
  color: #0ff;
  text-decoration: none;
  font-family: 'Courier New', Courier, 'Lucida Console', monospace;
  font-size: 0.85rem;
  transition: background 0.15s, color 0.15s;
}
.help-topnav a:hover {
  background: #00f;
  color: #fff;
}
.help-content {
  padding: 0 0 40px 0;
}
.help-content h3 {
  color: #0f0;
  font-size: 1.1em;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 28px 0 10px;
  padding-top: 16px;
  border-top: 1px solid #333;
  scroll-margin-top: 70px;
}
.help-content h3:first-child {
  border-top: none;
  margin-top: 0;
  padding-top: 0;
}
.help-content h4 {
  color: #ff0;
  margin: 18px 0 6px;
  font-size: 0.98em;
}
.help-content p,
.help-content li {
  color: #ccc;
  line-height: 1.6;
  font-size: 0.92rem;
}
.help-content ul {
  padding-left: 20px;
  margin: 8px 0;
}
.help-content li {
  margin-bottom: 5px;
}
.help-content ol {
  padding-left: 22px;
  margin: 8px 0;
}
.help-content ol li {
  margin-bottom: 7px;
}
.help-content .help-table {
  width: 100%;
  border-collapse: collapse;
  margin: 10px 0 14px;
}
.help-content .help-table th {
  background: #1a1a2e;
  color: #0ff;
  padding: 7px 9px;
  text-align: left;
  border-bottom: 1px solid #333;
  font-size: 0.8em;
  text-transform: uppercase;
}
.help-content .help-table td {
  padding: 6px 9px;
  border-bottom: 1px solid #222;
  color: #ccc;
  font-size: 0.88em;
  vertical-align: top;
}
.help-content .help-table tr:nth-child(even) td {
  background: #12121e;
}
.help-content .help-table tr:hover td {
  background: #1a1a2e;
}
.help-content .tag {
  display: inline-block;
  padding: 1px 5px;
  border-radius: 2px;
  font-size: 0.78em;
  margin-right: 3px;
  color: #000;
  font-weight: bold;
}
.tag-off {
  background: #f55;
}
.tag-def {
  background: #0f0;
}
.tag-mix {
  background: #ff0;
}
.help-content .key {
  display: inline-block;
  background: #1a1a2e;
  border: 1px solid #333;
  padding: 2px 7px;
  font-size: 0.83em;
  color: #ff0;
  margin: 0 2px;
}
.help-content blockquote {
  border-left: 3px solid #0ff;
  margin: 10px 0;
  padding-left: 12px;
  color: #888;
  font-style: italic;
}
.help-content .note {
  background: #1a1200;
  border: 1px solid #443300;
  padding: 8px 12px;
  margin: 10px 0;
  color: #cc9;
  font-size: 0.9em;
  border-radius: 2px;
}
.help-content .back-to-top {
  display: inline-block;
  color: #0ff;
  font-size: 0.8em;
  text-decoration: none;
  margin-top: 4px;
}
.help-content .back-to-top:hover {
  color: #fff;
}
/* mobile */
@media (max-width: 720px) {
  .help-layout { flex-direction: column; }
  .help-sidebar {
    flex: none;
    border-right: none;
    border-bottom: 1px solid #333;
    max-height: 180px;
    position: static;
    padding-right: 0;
  }
  .help-content { padding-left: 0; }
}
