/* ─── CENTRAL DE AJUDA NORTSCALE (/help) — 100% DESIGN SYSTEM NORTSCALE ─── */

.help-page {
  background: var(--bg);
  color: var(--text);
}

.help-main {
  min-height: 60vh;
}

/* ─── HERO (/help) ─── */
.help-hero {
  padding: clamp(104px, 11dvh, 144px) 0 clamp(44px, 5.5dvh, 72px);
  background:
    radial-gradient(760px 360px at 84% 10%, rgba(0, 121, 255, 0.085), transparent 72%),
    radial-gradient(560px 280px at 12% 90%, rgba(0, 121, 255, 0.04), transparent 72%),
    #ffffff;
  border-bottom: 1px solid var(--line);
}

.help-hero-inner {
  max-width: 820px;
}

.help-hero h1 {
  margin: 0 0 16px;
  font-family: 'Manrope', 'Manrope Fallback', sans-serif;
  font-size: clamp(34px, 4.2vw, 54px);
  line-height: 1.07;
  letter-spacing: -0.035em;
  font-weight: 650;
  color: var(--text);
}

.help-hero-search {
  margin-top: 28px;
  max-width: 680px;
}

.help-quick-pills {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
}

.help-quick-pills-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted-2);
  margin-right: 4px;
}

/* ─── SEARCH BOX (HERO & COMPACT TOPBAR) ─── */
.help-search-wrap {
  position: relative;
  width: 100%;
}

.help-search-form {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 1px solid rgba(2, 22, 42, 0.16);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.help-search-form:focus-within {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0, 121, 255, 0.14);
}

.help-search-form.is-hero {
  border-radius: 999px;
  padding: 6px 6px 6px 18px;
  box-shadow: 0 14px 36px rgba(2, 22, 42, 0.06);
}

.help-search-form.is-compact {
  border-radius: 999px;
  padding: 4px 12px;
  height: 38px;
}

.help-search-icon {
  display: inline-flex;
  align-items: center;
  color: var(--muted-2);
  flex-shrink: 0;
}

.help-search-form input {
  width: 100%;
  min-width: 0;
  border: 0;
  background: transparent;
  color: var(--text);
  font-family: inherit;
  outline: none;
}

.help-search-form.is-hero input {
  height: 44px;
  font-size: 15.5px;
}

.help-search-form.is-compact input {
  height: 28px;
  font-size: 13.5px;
}

.help-search-form input::placeholder {
  color: var(--muted-2);
}

.help-search-submit {
  height: 44px;
  padding: 0 22px;
  border-radius: 999px;
  border: 0;
  background: var(--blue);
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background-color 0.18s ease;
}

.help-search-submit:hover {
  background: var(--blue-2);
}

.help-search-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 45;
  background: #ffffff;
  border: 1px solid rgba(2, 22, 42, 0.12);
  border-radius: 18px;
  box-shadow: 0 24px 56px rgba(2, 22, 42, 0.14);
  overflow: hidden;
  max-height: 440px;
  overflow-y: auto;
}

.help-search-status {
  padding: 18px 20px;
  font-size: 14px;
  color: var(--muted);
}

.help-search-group {
  padding: 10px 8px;
  border-bottom: 1px solid rgba(2, 22, 42, 0.06);
}

.help-search-group:last-of-type {
  border-bottom: 0;
}

.help-search-group-title {
  padding: 4px 12px 6px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.help-search-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  text-decoration: none;
  color: var(--text);
  transition: background-color 0.14s ease;
}

.help-search-item:hover,
.help-search-item.is-selected {
  background: #f3f8ff;
}

.help-search-item-main {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.help-search-item-title-row {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.help-search-item-main strong {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text);
}

.help-search-item-meta {
  font-size: 12.5px;
  color: var(--muted-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.help-search-arrow {
  color: var(--blue-2);
  font-size: 14px;
  flex-shrink: 0;
}

.help-search-footer {
  padding: 10px 16px;
  background: var(--bg-soft);
  border-top: 1px solid rgba(2, 22, 42, 0.06);
}

.help-search-footer a {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--blue-2);
}

/* ─── SECTIONS ─── */
.help-section {
  padding: clamp(44px, 5vw, 72px) 0;
}

.help-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: clamp(24px, 3vw, 36px);
}

.help-section-head h2 {
  margin: 0;
  font-family: 'Manrope', 'Manrope Fallback', sans-serif;
  font-size: clamp(26px, 2.8vw, 36px);
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--text);
}

.help-section-sub {
  margin: 8px 0 0;
  font-size: 15px;
  color: var(--muted);
}

.help-total-counter {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--muted-2);
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--panel);
}

/* ─── BADGES & PILLS ─── */
.help-count-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--panel);
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.help-module-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: #f1f5f9;
  color: var(--text);
  border: 1px solid rgba(2, 22, 42, 0.08);
  font-size: 12px;
  font-weight: 600;
}

.help-video-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #e8f3ff;
  color: var(--blue-2);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.help-mini-video-pill {
  display: inline-flex;
  align-items: center;
  padding: 2px 7px;
  border-radius: 999px;
  background: #e8f3ff;
  color: var(--blue-2);
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

/* ─── HOME: GRID DE CATEGORIAS PRINCIPAIS ─── */
.help-categories-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.2vw, 28px);
}

.help-category-card {
  display: flex;
  flex-direction: column;
  padding: clamp(22px, 2.4vw, 28px);
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid rgba(2, 22, 42, 0.09);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.help-category-card:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 121, 255, 0.3);
  box-shadow: 0 18px 40px rgba(2, 22, 42, 0.07);
}

.help-category-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.help-category-icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #eef5ff;
  color: var(--blue);
  flex-shrink: 0;
  overflow: hidden;
}

.help-category-icon-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.help-category-card h3 {
  margin: 0 0 8px;
  font-family: 'Manrope', 'Manrope Fallback', sans-serif;
  font-size: 20px;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--text);
}

.help-category-card h3 a:hover {
  color: var(--blue-2);
}

.help-category-card-desc {
  margin: 0 0 16px;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--muted);
}

.help-category-card-links {
  list-style: none;
  margin: 0 0 18px;
  padding: 12px 0 0;
  border-top: 1px solid rgba(2, 22, 42, 0.07);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.help-category-card-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 5px 8px;
  margin: 0 -8px;
  border-radius: 8px;
  font-size: 14px;
  color: var(--text);
  transition: background-color 0.14s ease, color 0.14s ease;
}

.help-category-card-links a:hover {
  background: #f3f8ff;
  color: var(--blue-2);
}

.help-link-count {
  font-size: 12px;
  color: var(--muted-2);
  font-variant-numeric: tabular-nums;
}

.help-category-card-more {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--blue-2);
}

.help-category-card-more:hover {
  color: var(--blue-3);
}

/* ─── HOME: ARTIGOS EM DESTAQUE & VÍDEOS ─── */
.help-featured-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
}

.help-featured-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid rgba(2, 22, 42, 0.09);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.help-featured-card:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 121, 255, 0.3);
  box-shadow: 0 14px 32px rgba(2, 22, 42, 0.06);
}

.help-featured-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.help-featured-crumb {
  font-size: 12px;
  font-weight: 600;
  color: var(--blue-2);
}

.help-featured-card h3 {
  margin: 0;
  font-family: 'Manrope', 'Manrope Fallback', sans-serif;
  font-size: 18px;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--text);
}

.help-featured-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
  flex: 1;
}

.help-video-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.2vw, 26px);
}

.help-video-card {
  display: flex;
  flex-direction: column;
  border-radius: 18px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(2, 22, 42, 0.09);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.help-video-card:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 121, 255, 0.3);
  box-shadow: 0 16px 36px rgba(2, 22, 42, 0.07);
}

.help-video-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #02162a;
  overflow: hidden;
}

.help-video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.help-video-play-chip {
  position: absolute;
  bottom: 12px;
  right: 12px;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: rgba(2, 22, 42, 0.84);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.help-video-card-body {
  padding: 18px 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.help-video-card-body h3 {
  margin: 0;
  font-family: 'Manrope', 'Manrope Fallback', sans-serif;
  font-size: 17.5px;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--text);
}

.help-video-card-body p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
}

/* ─── SEARCH RESULTS PAGE (/help?q=...) ─── */
.help-search-results-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.help-search-results-head h2 {
  margin: 0;
  font-family: 'Manrope', 'Manrope Fallback', sans-serif;
  font-size: clamp(24px, 2.5vw, 32px);
}

.help-search-block {
  margin-bottom: 36px;
}

.help-search-block h3 {
  margin: 0 0 14px;
  font-family: 'Manrope', 'Manrope Fallback', sans-serif;
  font-size: 18px;
  color: var(--text);
}

.help-search-cat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.help-mini-cat-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid rgba(2, 22, 42, 0.09);
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.help-mini-cat-card:hover {
  border-color: var(--blue);
  box-shadow: 0 10px 24px rgba(2, 22, 42, 0.06);
}

.help-mini-cat-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.help-parent-crumb {
  font-size: 12px;
  color: var(--blue-2);
  font-weight: 600;
}

.help-mini-cat-card p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--muted);
}

/* ─── SUPPORT BANNER ─── */
.help-support-section {
  padding-top: 12px;
}

.help-support-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}

.help-support-banner-copy {
  max-width: 60ch;
}

/* ─── TOPBAR (CATEGORIA E ARTIGO) ─── */
.help-topbar {
  margin-top: 68px;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
}

.help-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.help-topbar .sp-breadcrumb {
  margin: 0;
}

.help-breadcrumb-current {
  color: var(--text);
  font-weight: 600;
}

.help-topbar-search {
  width: min(320px, 100%);
  flex-shrink: 0;
}

/* ─── SHELLS: CATEGORIA (2 COLUNAS) E ARTIGO (3 COLUNAS) ─── */
.help-category-shell {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  gap: clamp(28px, 3.6vw, 52px);
  align-items: start;
  padding-top: clamp(28px, 3.5vw, 44px);
  padding-bottom: clamp(56px, 6vw, 88px);
}

.help-article-shell {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr) 250px;
  gap: clamp(24px, 3vw, 44px);
  align-items: start;
  padding-top: clamp(28px, 3.5vw, 44px);
  padding-bottom: clamp(56px, 6vw, 88px);
}

/* ─── LEFT RAIL: ÁRVORE DE NAVEGAÇÃO ─── */
.help-left-rail {
  position: sticky;
  top: 90px;
  max-height: calc(100dvh - 110px);
  overflow-y: auto;
  padding-right: 8px;
}

.help-mobile-nav-toggle {
  display: none;
  margin-bottom: 20px;
  border-radius: 14px;
  border: 1px solid rgba(2, 22, 42, 0.12);
  background: var(--bg-soft);
}

.help-mobile-nav-toggle > summary {
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
}

.help-mobile-nav-body {
  padding: 0 14px 14px;
}

.help-tree-home-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--blue-2);
  margin-bottom: 14px;
  padding: 4px 0;
}

.help-tree-home-link:hover {
  color: var(--blue-3);
}

.help-tree-empty {
  font-size: 13.5px;
  color: var(--muted-2);
}

.help-tree-root,
.help-tree-children {
  list-style: none;
  margin: 0;
  padding: 0;
}

.help-tree-root {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.help-tree-children {
  margin: 4px 0 6px 10px;
  padding-left: 10px;
  border-left: 1px solid rgba(2, 22, 42, 0.09);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.help-tree-summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  padding: 7px 10px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  transition: background-color 0.14s ease, color 0.14s ease;
}

.help-tree-summary::-webkit-details-marker {
  display: none;
}

.help-tree-summary:hover {
  background: var(--panel);
}

.help-tree-summary.is-active {
  background: #e8f3ff;
  color: var(--blue-2);
}

.help-tree-summary-link {
  flex: 1;
  min-width: 0;
  line-height: 1.35;
}

.help-tree-chevron {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 6px;
  color: var(--muted-2);
  transition: transform 0.16s ease, background-color 0.14s ease, color 0.14s ease;
  flex-shrink: 0;
}

.help-tree-chevron:hover {
  background: rgba(2, 22, 42, 0.06);
  color: var(--text);
}

.help-tree-branch details[open] > .help-tree-summary .help-tree-chevron {
  transform: rotate(90deg);
}

.help-tree-cat-link {
  display: flex;
  align-items: center;
  padding: 7px 10px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.help-tree-cat-link:hover {
  background: var(--panel);
  color: var(--blue-2);
}

.help-tree-cat-link.is-active {
  background: #e8f3ff;
  color: var(--blue-2);
}

.help-tree-branch.depth-1 .help-tree-summary,
.help-tree-branch.depth-2 .help-tree-summary {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--muted);
}

.help-tree-article-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 13.5px;
  line-height: 1.38;
  color: var(--muted);
  transition: background-color 0.14s ease, color 0.14s ease;
}

.help-tree-article-link:hover {
  background: var(--panel);
  color: var(--text);
}

.help-tree-article-link.is-active {
  background: #e8f3ff;
  color: var(--blue-2);
  font-weight: 600;
}

.help-tree-video-icon {
  display: inline-flex;
  align-items: center;
  color: var(--blue);
  flex-shrink: 0;
}

/* ─── CATEGORY / SUBCATEGORY PAGE MAIN ─── */
.help-category-main {
  min-width: 0;
}

.help-category-header {
  padding-bottom: 24px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.help-category-header-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
}

.help-category-header h1 {
  margin: 0;
  font-family: 'Manrope', 'Manrope Fallback', sans-serif;
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--text);
}

.help-category-header .blog-kicker {
  margin-bottom: 4px;
}

.help-category-stats {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--muted-2);
}

.help-subcategories-section {
  margin-bottom: 36px;
}

.help-subcategories-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.help-subcategory-box {
  display: flex;
  flex-direction: column;
  padding: 22px;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid rgba(2, 22, 42, 0.09);
}

.help-subcategory-box-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.help-subcategory-box-head h2 {
  margin: 0;
  font-family: 'Manrope', 'Manrope Fallback', sans-serif;
  font-size: 19px;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--text);
}

.help-subcategory-box-head h2 a:hover {
  color: var(--blue-2);
}

.help-subcategory-desc {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
}

.help-nested-subcats {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}

.help-subcategory-article-list {
  list-style: none;
  margin: 0 0 14px;
  padding: 12px 0 0;
  border-top: 1px solid rgba(2, 22, 42, 0.07);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.help-subcategory-article-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 7px 10px;
  margin: 0 -10px;
  border-radius: 10px;
  font-size: 14px;
  color: var(--text);
  transition: background-color 0.14s ease, color 0.14s ease;
}

.help-subcategory-article-list a:hover {
  background: #f3f8ff;
  color: var(--blue-2);
}

.help-sub-art-right {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.help-subcategory-empty {
  margin: 8px 0 0;
  font-size: 13.5px;
  color: var(--muted-2);
}

.help-direct-articles h2 {
  margin: 0 0 16px;
  font-family: 'Manrope', 'Manrope Fallback', sans-serif;
  font-size: 22px;
  letter-spacing: -0.02em;
}

.help-article-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.help-article-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 22px;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid rgba(2, 22, 42, 0.09);
  transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.help-article-row:hover {
  border-color: rgba(0, 121, 255, 0.35);
  box-shadow: 0 12px 28px rgba(2, 22, 42, 0.06);
  transform: translateY(-1px);
}

.help-article-row-main {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.help-article-row-title {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.help-article-row-title strong {
  font-family: 'Manrope', 'Manrope Fallback', sans-serif;
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
}

.help-article-row:hover .help-article-row-title strong {
  color: var(--blue-2);
}

.help-article-row-main p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--muted);
}

.help-article-row-trail {
  font-size: 12.5px;
  color: var(--muted-2);
}

.help-row-arrow {
  color: var(--blue-2);
  font-size: 16px;
  flex-shrink: 0;
}

/* ─── ARTICLE VIEW (CENTER COLUMN) ─── */
.help-article-content {
  min-width: 0;
}

.help-article-header {
  padding-bottom: 24px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.help-article-badges {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.help-article-title {
  margin: 0 0 14px;
  font-family: 'Manrope', 'Manrope Fallback', sans-serif;
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.12;
  letter-spacing: -0.03em;
  font-weight: 660;
  color: var(--text);
}

.help-article-subtitle {
  margin: 0 0 16px;
  font-size: clamp(16px, 1.3vw, 18.5px);
  line-height: 1.6;
  color: var(--muted);
}

.help-article-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13.5px;
  color: var(--muted-2);
}

.help-md-link {
  color: var(--blue-2);
  font-weight: 500;
}

.help-md-link:hover {
  text-decoration: underline;
}

.help-featured-video {
  margin-bottom: 32px;
}

.help-featured-video-heading {
  margin: 0 0 12px;
  font-family: 'Manrope', 'Manrope Fallback', sans-serif;
  font-size: 20px;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--text);
  scroll-margin-top: 96px;
}

.help-article-content .blog-article-body {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

/* ─── FEEDBACK WIDGET ─── */
.help-feedback-box {
  margin-top: 44px;
  padding: 22px 24px;
  border-radius: 18px;
  background: var(--bg-soft);
  border: 1px solid rgba(2, 22, 42, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.help-feedback-copy h2 {
  margin: 0 0 4px;
  font-family: 'Manrope', 'Manrope Fallback', sans-serif;
  font-size: 18px;
  letter-spacing: -0.02em;
  color: var(--text);
}

.help-feedback-copy p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}

.help-feedback-thanks {
  color: var(--text) !important;
  font-weight: 500;
}

.help-feedback-stats {
  color: var(--muted-2);
  font-weight: 400;
}

.help-feedback-error {
  margin-top: 6px !important;
  color: var(--bad) !important;
  font-size: 13px !important;
}

.help-feedback-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.help-feedback-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid rgba(2, 22, 42, 0.14);
  background: #ffffff;
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.16s ease, background-color 0.16s ease, color 0.16s ease;
}

.help-feedback-btn:hover:not(:disabled) {
  border-color: var(--blue);
  background: #f3f8ff;
  color: var(--blue-2);
}

.help-feedback-btn:disabled {
  opacity: 0.6;
  cursor: wait;
}

.help-feedback-support-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--blue-2);
}

/* ─── PREV / NEXT NAVIGATION ─── */
.help-prev-next {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.help-prev-next-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 20px;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid rgba(2, 22, 42, 0.09);
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.help-prev-next-card:hover {
  border-color: var(--blue);
  box-shadow: 0 10px 24px rgba(2, 22, 42, 0.06);
}

.help-prev-next-card.is-next {
  text-align: right;
  align-items: flex-end;
}

.help-prev-next-kicker {
  font-size: 12px;
  font-weight: 600;
  color: var(--blue-2);
}

.help-prev-next-card strong {
  font-family: 'Manrope', 'Manrope Fallback', sans-serif;
  font-size: 15.5px;
  line-height: 1.3;
  color: var(--text);
}

/* ─── RELATED ARTICLES ─── */
.help-related-section {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.help-related-section h2 {
  margin: 0 0 16px;
  font-family: 'Manrope', 'Manrope Fallback', sans-serif;
  font-size: 20px;
  letter-spacing: -0.02em;
  color: var(--text);
}

.help-related-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.help-related-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 18px;
  border-radius: 14px;
  background: var(--bg-soft);
  border: 1px solid rgba(2, 22, 42, 0.08);
  transition: border-color 0.16s ease, background-color 0.16s ease;
}

.help-related-card:hover {
  background: #ffffff;
  border-color: rgba(0, 121, 255, 0.35);
}

.help-related-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.help-related-card strong {
  font-size: 15px;
  line-height: 1.35;
  color: var(--text);
}

.help-related-card:hover strong {
  color: var(--blue-2);
}

.help-related-card p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.48;
  color: var(--muted);
}

/* ─── RIGHT RAIL (TOC + SUPPORT CARD) ─── */
.help-right-rail {
  position: sticky;
  top: 90px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.help-right-rail .blog-toc ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.help-right-rail .blog-toc li.is-h3 {
  padding-left: 12px;
}

.help-right-rail .blog-toc a {
  display: block;
  font-size: 13.5px;
  line-height: 1.4;
  color: var(--muted);
  transition: color 0.15s ease;
}

.help-right-rail .blog-toc a:hover {
  color: var(--blue-2);
}

.help-support-sidecard {
  padding: 20px;
  border-radius: 18px;
  background: linear-gradient(155deg, #02162a 0%, #07284a 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.help-support-sidecard h3 {
  margin: 0;
  font-family: 'Manrope', 'Manrope Fallback', sans-serif;
  font-size: 17.5px;
  line-height: 1.25;
  color: #ffffff;
}

.help-support-sidecard p {
  margin: 0 0 6px;
  font-size: 13.5px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.8);
}

.help-support-sidecard .blog-btn-light {
  justify-content: center;
  width: 100%;
  font-size: 13.5px;
  padding: 10px 14px;
}

.help-support-email {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.72);
  text-align: center;
  margin-top: 2px;
}

.help-support-email:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* ─── RESPONSIVO ─── */
@media (max-width: 1180px) {
  .help-article-shell {
    grid-template-columns: 240px minmax(0, 1fr);
  }
  .help-right-rail {
    display: none;
  }
}

@media (max-width: 980px) {
  .help-categories-grid,
  .help-featured-grid,
  .help-video-grid,
  .help-search-cat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .help-category-shell,
  .help-article-shell {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .help-left-rail {
    position: static;
    max-height: none;
    overflow: visible;
    padding-right: 0;
  }

  .help-desktop-tree {
    display: none;
  }

  .help-mobile-nav-toggle {
    display: block;
  }

  .help-subcategories-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 680px) {
  .help-categories-grid,
  .help-featured-grid,
  .help-video-grid,
  .help-search-cat-grid,
  .help-prev-next,
  .help-related-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .help-topbar-search {
    width: 100%;
  }

  .help-search-form.is-hero {
    padding: 5px 5px 5px 14px;
  }

  .help-search-submit {
    padding: 0 16px;
  }

  .help-prev-next-card.is-next {
    text-align: left;
    align-items: flex-start;
  }
}
