:root {
  --bg: #1a1c20;
  --bg-raised: #24262c;
  --border: #33363d;
  --text: #e6e8eb;
  --text-dim: #9aa0a8;
  --accent: #5eb1f2;
  --accent-dim: #3a4a5a;
  --accent-contrast: #0b1a24;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.topbar {
  display: flex;
  align-items: center;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-raised);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-icon {
  width: 24px;
  height: 14px;
}

.brand-name {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.navbar {
  display: flex;
  gap: 4px;
  padding: 10px 16px;
  background: var(--bg-raised);
  border-bottom: 1px solid var(--border);
}

.nav-item {
  background: transparent;
  border: none;
  color: var(--text-dim);
  font-size: 14px;
  padding: 8px 14px;
  border-radius: 6px;
  cursor: pointer;
}

.nav-item:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.nav-item[aria-current="page"] {
  color: var(--accent-contrast);
  background: var(--accent);
  font-weight: 600;
}

a.nav-item {
  text-decoration: none;
  display: inline-block;
}
.page {
  padding: 16px 24px;
  max-width: 1800px;
  margin: 0 auto;
}
.page h1 {
  margin-top: 0;
  font-size: 20px;
  font-weight: 600;
}
.menu-anchor {
  margin-left: auto;
  position: relative;
}
.dropdown-menu {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 8px;
  min-width: 160px;
  padding: 6px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  z-index: 40;
}
.dropdown-menu.open {
  display: block;
}
.dropdown-item {
  display: block;
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  color: var(--text);
  font-size: 13px;
  padding: 8px 10px;
  border-radius: 6px;
  cursor: pointer;
}
.dropdown-item:hover {
  background: rgba(255, 255, 255, 0.05);
}
.auth-screen {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.auth-card {
  width: 100%;
  max-width: 360px;
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 32px;
}
.auth-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
}
.auth-card h1 {
  font-size: 18px;
  font-weight: 600;
  margin: 0;
}
.auth-subtitle {
  color: var(--text-dim);
  font-size: 13px;
  margin: 6px 0 24px;
}
.auth-field {
  margin-bottom: 14px;
}

.settings-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 16px;
}
.settings-grid .auth-field {
  flex: 1 1 190px;
  min-width: 160px;
  margin-bottom: 0;
}
.stat-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.stat-tile {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 14px 18px;
  flex: 1 1 120px;
  min-width: 110px;
}
.stat-tile-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-dim);
  margin-bottom: 6px;
}
.stat-tile-value {
  font-size: 20px;
  font-weight: 700;
}
.stat-tile-value.positive {
  color: #4ade80;
}
.pnl-pos {
  color: #4ade80;
  font-weight: 600;
  white-space: nowrap;
}
.pnl-neg {
  color: #f28b82;
  font-weight: 600;
  white-space: nowrap;
}
.funnel-status-warn {
  color: #f59e0b;
}
.funnel-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
@media (max-width: 1100px) {
  .funnel-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 720px) {
  .funnel-grid {
    grid-template-columns: 1fr;
  }
}
.funnel-tile {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg-raised);
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.funnel-tile-name {
  font-weight: 700;
  font-size: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}
.funnel-tile-route {
  font-size: 13px;
}
.funnel-tile-rule {
  font-size: 11px;
  color: var(--text-dim);
}
.funnel-tile-now {
  font-size: 12px;
}
.funnel-tile-flow {
  font-size: 12px;
  border-top: 1px solid var(--border);
  padding-top: 6px;
  margin-top: 2px;
}
.funnel-tile-last {
  font-size: 11px;
}
.funnel-tile-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 6px;
  flex-wrap: wrap;
}
.funnel-tile-auto {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  color: var(--text-dim);
  cursor: pointer;
}
.btn-link {
  background: none;
  border: none;
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
}
.btn-link:hover {
  text-decoration: underline;
}
.btn-sm {
  padding: 5px 10px;
  font-size: 12px;
}
.pos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 16px;
}
.pos-tile {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pos-tile-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}
.pos-tile-mint code {
  font-size: 11px;
  color: var(--text-dim);
}
.pos-tile-operator {
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  margin-top: 4px;
}
.pos-tile-pnl {
  padding: 8px 10px;
  background: var(--bg);
  border-radius: 6px;
}
.pos-tile-pnl-big {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.1;
}
.pos-tile-pnl-sub {
  font-size: 11px;
  opacity: 0.85;
  margin-top: 2px;
}
.pos-tile-meta {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px 16px;
  font-size: 12px;
  flex-wrap: wrap;
}
.pos-meta-cell {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}
.pos-meta-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--text-dim);
  white-space: nowrap;
}
.pos-meta-val {
  font-size: 13px;
  white-space: nowrap;
}
.pos-status {
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.pos-status-open { background: rgba(99, 102, 241, 0.15); color: var(--accent); }
.pos-status-closing { background: rgba(245, 158, 11, 0.15); color: #f59e0b; }
.pos-target-slider {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.pos-target-track {
  position: relative;
  height: 8px;
  background: var(--bg);
  border-radius: 4px;
  overflow: hidden;
}
.pos-target-zero {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--border);
}
.pos-target-fill {
  position: absolute;
  top: 0;
  bottom: 0;
}
.pos-target-fill-pos { background: #4ade80; }
.pos-target-fill-neg { background: #f28b82; }
.pos-target-fill-hit { background: #fbbf24; }
.pos-target-marker {
  position: absolute;
  top: -3px;
  width: 2px;
  height: 14px;
  background: var(--text);
  transform: translateX(-1px);
  border-radius: 1px;
}
.pos-target-marker-hit { background: #fbbf24; }
.pos-target-labels {
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  color: var(--text-dim);
}
.addr-link {
  color: var(--accent, #58a6ff);
  text-decoration: none;
  border-bottom: 1px dashed rgba(88, 166, 255, 0.45);
  transition: color 0.12s ease, border-color 0.12s ease;
}
.addr-link:hover {
  color: var(--text, #e8eaed);
  border-bottom-color: var(--accent, #58a6ff);
}
.stat-tile-value.negative {
  color: #f28b82;
}
.help-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid var(--border);
  color: var(--text-dim);
  font-size: 10px;
  line-height: 1;
  cursor: help;
  user-select: none;
}
.help-icon:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.help-tooltip {
  position: fixed;
  bottom: 16px;
  right: 16px;
  max-width: 320px;
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 13px;
  line-height: 1.4;
  color: var(--text);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.12s ease;
}
.help-tooltip.visible {
  opacity: 1;
}
.auth-field label {
  display: block;
  font-size: 12px;
  color: var(--text-dim);
  margin-bottom: 6px;
}
.auth-field input,
.auth-field select,
.auth-field textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 14px;
  padding: 10px 12px;
  border-radius: 6px;
  font-family: inherit;
  resize: vertical;
}
.auth-field input:focus,
.auth-field select:focus,
.auth-field textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.auth-submit {
  width: 100%;
  background: var(--accent);
  color: var(--accent-contrast);
  border: none;
  font-size: 14px;
  font-weight: 600;
  padding: 11px 12px;
  border-radius: 6px;
  cursor: pointer;
  margin-top: 6px;
}
.auth-submit:hover {
  filter: brightness(1.05);
}
.auth-error {
  color: #f28b82;
  font-size: 13px;
  margin: -6px 0 14px;
  min-height: 16px;
}
.auth-switch {
  text-align: center;
  color: var(--text-dim);
  font-size: 13px;
  margin: 20px 0 0;
}
.auth-switch a {
  color: var(--accent);
  text-decoration: none;
}
.auth-switch a:hover {
  text-decoration: underline;
}
.section-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0 0 12px;
}
.wallet-card {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px;
}
.wallet-key-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.wallet-key {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 14px;
}
.wallet-balance {
  color: var(--text-dim);
  font-size: 13px;
  margin-bottom: 20px;
}
.icon-btn {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-dim);
  border-radius: 6px;
  width: 30px;
  height: 30px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.icon-btn:hover {
  color: var(--text);
  border-color: var(--accent);
}
.wallet-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.btn {
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  padding: 9px 16px;
  border-radius: 6px;
  cursor: pointer;
}
.btn:hover {
  border-color: var(--accent);
}
.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.btn:disabled:hover {
  border-color: var(--border);
}
.btn-primary:disabled:hover {
  filter: none;
}
.btn-primary {
  background: var(--accent);
  color: var(--accent-contrast);
  border-color: var(--accent);
}

.btn-primary:hover {
  filter: brightness(1.05);
}

.btn-danger {
  border-color: #7a2e2e;
  color: #f28b82;
}
.btn-danger:hover {
  border-color: #f28b82;
}

.btn-state-green {
  background: rgba(74, 222, 128, 0.15);
  border-color: #4ade80;
  color: #4ade80;
}
.btn-state-green:hover {
  background: rgba(74, 222, 128, 0.25);
}

.btn-state-red {
  background: rgba(242, 139, 130, 0.15);
  border-color: #f28b82;
  color: #f28b82;
}
.btn-state-red:hover {
  background: rgba(242, 139, 130, 0.25);
}
.autotrade-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  margin-right: 10px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
  background: rgba(245, 158, 11, 0.15);
  color: #f59e0b;
  border: 1px solid rgba(245, 158, 11, 0.4);
  cursor: pointer;
  white-space: nowrap;
  vertical-align: middle;
}
.autotrade-chip:hover {
  background: rgba(245, 158, 11, 0.25);
}
.price-chip {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.4);
}
.price-chip:hover {
  background: rgba(239, 68, 68, 0.25);
}
.price-status-chip {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.4);
}
.modal-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  align-items: center;
  justify-content: center;
  z-index: 50;
  padding: 20px;
}

.modal-backdrop.open {
  display: flex;
}
.modal {
  width: 100%;
  max-width: 440px;
  max-height: 85vh;
  overflow-y: auto;
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 24px;
}

.modal.modal-wide {
  max-width: 680px;
}
.modal-grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 16px;
}
.modal-grid-2col .auth-field {
  margin-bottom: 10px;
}
@media (max-width: 560px) {
  .modal-grid-2col {
    grid-template-columns: 1fr;
  }
}
.modal h2 {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 6px;
}
.modal-subtitle {
  color: var(--text-dim);
  font-size: 13px;
  margin: 0 0 20px;
}
.modal-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 18px;
}
.rotate-option {
  display: block;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 14px;
  margin-bottom: 10px;
  cursor: pointer;
}
.rotate-option:has(input:checked) {
  border-color: var(--accent);
  background: rgba(94, 177, 242, 0.08);
}

.rotate-option input {
  margin-right: 8px;
}
.rotate-option-title {
  font-weight: 600;
  font-size: 14px;
}

.rotate-option-desc {
  color: var(--text-dim);
  font-size: 12px;
  margin: 4px 0 0 22px;
}
.reveal-key-box {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
  word-break: break-all;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 12px;
  margin-bottom: 12px;
}
.modal-warning {
  color: #f2c744;
  font-size: 12px;
  margin: 0 0 16px;
}
.result-log {
  font-size: 12px;
  color: var(--text-dim);
  max-height: 200px;
  overflow-y: auto;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 10px;
  margin-top: 12px;
}
.result-log div {
  margin-bottom: 4px;
}
.settings-layout {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}
.settings-nav {
  width: 180px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.settings-nav-item {
  text-align: left;
  background: transparent;
  border: none;
  color: var(--text-dim);
  font-size: 14px;
  padding: 8px 14px;
  border-radius: 6px;
  cursor: pointer;
}
.settings-nav-item:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}
.settings-nav-item.active {
  color: var(--accent-contrast);
  background: var(--accent);
  font-weight: 600;
}
.settings-content {
  flex: 1;
  min-width: 0;
}
.settings-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.settings-row:last-child {
  border-bottom: none;
}
.settings-row-label {
  font-size: 14px;
  font-weight: 600;
}
.settings-row-hint {
  font-size: 12px;
  color: var(--text-dim);
  margin-top: 2px;
}
.theme-toggle {
  display: flex;
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
}
.theme-toggle button {
  background: transparent;
  border: none;
  color: var(--text-dim);
  font-size: 13px;
  padding: 7px 14px;
  cursor: pointer;
}
.theme-toggle button.active {
  background: var(--accent);
  color: var(--accent-contrast);
  font-weight: 600;
}
:root[data-theme="day"] {
  --bg: #f4f6f8;
  --bg-raised: #ffffff;
  --border: #dfe3e8;
  --text: #1a1c20;
  --text-dim: #5b6470;
  --accent: #2f8fe0;
  --accent-dim: #cfe6fa;
  --accent-contrast: #0b1a24;
}
.rpc-intro {
  color: var(--text-dim);
  font-size: 13px;
  margin: 0 0 16px;
  max-width: 640px;
}
.rpc-row {
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
}
.rpc-row-main {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.rpc-url-input,
.rpc-label-input {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 13px;
  padding: 8px 10px;
  border-radius: 6px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}
.rpc-label-input {
  font-family: inherit;
  max-width: 240px;
}
.rpc-url-input:focus,
.rpc-label-input:focus {
  outline: none;
  border-color: var(--accent);
}
.rpc-row-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.rpc-enabled {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-dim);
  cursor: pointer;
}
.wallet-list-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
}
.wallet-list-row:last-child {
  border-bottom: none;
}

.wallet-list-row:hover {
  background: rgba(255, 255, 255, 0.03);
}
.wallet-list-key {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
}
.wallet-list-meta {
  font-size: 12px;
  color: var(--text-dim);
  white-space: nowrap;
}
.wallet-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 10px;
  margin-left: 8px;
}
.wallet-badge.active {
  background: var(--accent);
  color: var(--accent-contrast);
}

.wallet-badge.retired,
.wallet-badge.pending {
  background: var(--border);
  color: var(--text-dim);
}
.wallet-badge.running,
.wallet-badge.open {
  background: var(--accent);
  color: var(--accent-contrast);
}
.wallet-badge.closing {
  background: var(--border);
  color: var(--text-dim);
}
.wallet-badge.complete,
.wallet-badge.closed {
  background: rgba(74, 222, 128, 0.2);
  color: #4ade80;
}
.wallet-badge.failed {
  background: rgba(242, 139, 130, 0.2);
  color: #f28b82;
}
.wallet-manager-toolbar {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
}
.wallet-manager-toolbar input {
  flex: 1;
  background: var(--bg-raised);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 13px;
  padding: 9px 12px;
  border-radius: 6px;
}
.wallet-manager-toolbar input:focus {
  outline: none;
  border-color: var(--accent);
}
.wallet-manager-pagination {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  color: var(--text-dim);
  font-size: 13px;
}

.label-input-inline {
  width: 220px;
  max-width: 100%;
  background: transparent;
  border: 1px solid transparent;
  color: var(--text);
  font-size: 13px;
  padding: 6px 8px;
  border-radius: 6px;
}
.label-input-inline:hover {
  border-color: var(--border);
}
.label-input-inline:focus {
  outline: none;
  background: var(--bg);
  border-color: var(--accent);
}
.analytics-chart {
  height: 240px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
}
.analytics-toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 14px 0;
}
.analytics-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}
.analytics-chip {
  background: var(--bg);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 6px;
  padding: 8px 12px;
  min-width: 150px;
}
.analytics-chip-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.analytics-chip-value {
  font-size: 18px;
  font-weight: 600;
  margin-top: 2px;
}
.analytics-chip-meta {
  font-size: 11px;
  color: var(--text-dim);
}
.analytics-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.analytics-table th {
  text-align: left;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-dim);
  padding: 6px 10px;
  border-bottom: 1px solid var(--border);
}
.analytics-table td {
  padding: 8px 10px;
  border-bottom: 1px solid var(--border);
}
.analytics-table tr:last-child td {
  border-bottom: none;
}
.analytics-table tbody tr.clickable-row {
  cursor: pointer;
}
.analytics-table tbody tr.clickable-row:hover td {
  background: var(--bg);
}

/* Help / Documentation page */
.help-section {
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-bottom: 8px;
  overflow: hidden;
}
.help-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-raised);
  border: none;
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
}
.help-section-header:hover {
  background: var(--bg);
}
.help-section-arrow {
  font-size: 12px;
  color: var(--text-dim);
}
.help-section-body {
  padding: 16px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--text);
}
.help-section-body p {
  margin: 0 0 8px;
}
.help-section-body ul,
.help-section-body ol {
  margin: 0 0 8px;
  padding-left: 20px;
}
.help-section-body li {
  margin-bottom: 4px;
}
.help-section-body strong {
  color: var(--text);
}
.help-section-body em {
  color: var(--text-dim);
}
.help-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  margin-top: 4px;
}
.help-table th,
.help-table td {
  padding: 6px 10px;
  border-bottom: 1px solid var(--border);
  text-align: left;
}
.help-table th {
  font-weight: 600;
  color: var(--text-dim);
  font-size: 12px;
}
.help-table td {
  color: var(--text);
}
.help-table tr:last-child td {
  border-bottom: none;
}
