/* ===== HELP CENTER (public) =====
 * Crisp-style knowledge base at modalcrm.com/help.
 * Inherits design tokens (--primary, --bg, --text, etc.) from landing.css.
 */

.help-body {
  background: var(--surface-subtle, #FAFAFA);
  color: var(--text, #000);
  font-family: 'Inter', system-ui, sans-serif;
  margin: 0;
  -webkit-font-smoothing: antialiased;
}

/* ---------- NAV ---------- */
.help-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--border, #E8E8E8);
}
.help-nav__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.help-nav__logo {
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.02em;
  color: var(--text, #000);
  text-decoration: none;
}
.help-nav__logo span {
  color: var(--primary, #5C5278);
}
.help-nav__links {
  display: flex;
  gap: 24px;
  flex: 1;
}
.help-nav__link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary, #6B6B6B);
  text-decoration: none;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color .15s ease, border-color .15s ease;
}
.help-nav__link:hover { color: var(--text, #000); }
.help-nav__link--active {
  color: var(--text, #000);
  border-bottom-color: var(--primary, #5C5278);
}
.help-nav__right { display: flex; gap: 8px; }

/* ---------- HERO ---------- */
.help-hero {
  padding: 72px 24px 48px;
  background: linear-gradient(180deg, #FFFFFF 0%, var(--surface-subtle, #FAFAFA) 100%);
  border-bottom: 1px solid var(--border-light, #EFEFEF);
}
.help-hero__inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.help-hero h1 {
  font-size: clamp(32px, 5vw, 44px);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin: 0 0 12px;
  color: var(--text, #000);
}
.help-hero__sub {
  color: var(--text-secondary, #6B6B6B);
  font-size: 16px;
  margin: 0 0 32px;
}

/* ---------- SEARCH ---------- */
.help-search {
  display: flex;
  align-items: center;
  gap: 0;
  background: #fff;
  border: 1px solid var(--border-strong, #D8D8D8);
  border-radius: 12px;
  padding: 6px;
  box-shadow: 0 1px 2px rgba(0,0,0,.04);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.help-search:focus-within {
  border-color: var(--primary, #5C5278);
  box-shadow: 0 0 0 4px rgba(92, 82, 120, 0.10);
}
.help-search__icon {
  display: inline-flex;
  padding: 0 10px 0 12px;
  color: var(--text-muted, #888);
}
.help-search input[type="search"] {
  flex: 1;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 16px;
  padding: 12px 8px;
  outline: 0;
  min-width: 0;
}
.help-search input[type="search"]::-webkit-search-cancel-button { -webkit-appearance: none; }
.help-search button[type="submit"] { white-space: nowrap; }

.help-search--compact {
  margin-top: 16px;
  max-width: 480px;
}
.help-search--compact input[type="search"] {
  font-size: 14px;
  padding: 8px 8px;
}

.help-search-suggestions {
  margin-top: 12px;
  background: #fff;
  border: 1px solid var(--border, #E8E8E8);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
  overflow: hidden;
  text-align: left;
}
.help-search-suggestions a {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 16px;
  text-decoration: none;
  color: var(--text, #000);
  border-bottom: 1px solid var(--border-light, #EFEFEF);
}
.help-search-suggestions a:last-child { border-bottom: 0; }
.help-search-suggestions a:hover { background: var(--surface-subtle, #FAFAFA); }
.help-search-suggestions__cat {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--text-muted, #888);
  font-weight: 600;
}
.help-search-suggestions__title { font-weight: 600; font-size: 14px; }

/* ---------- SUBHERO (category/article header) ---------- */
.help-subhero {
  padding: 36px 24px 28px;
  background: #fff;
  border-bottom: 1px solid var(--border-light, #EFEFEF);
}
.help-subhero__inner {
  max-width: 960px;
  margin: 0 auto;
}
.help-subhero__title-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin: 12px 0 0;
}
.help-subhero__icon { font-size: 36px; line-height: 1; }
.help-subhero h1 {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
  margin: 0 0 6px;
  letter-spacing: -0.02em;
}
.help-subhero p {
  margin: 0;
  color: var(--text-secondary, #6B6B6B);
  font-size: 15px;
}

/* ---------- BREADCRUMBS ---------- */
.help-breadcrumbs {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 13px;
  color: var(--text-muted, #888);
}
.help-breadcrumbs a {
  color: var(--text-secondary, #6B6B6B);
  text-decoration: none;
}
.help-breadcrumbs a:hover { color: var(--primary, #5C5278); }
.help-breadcrumbs span[aria-hidden="true"] { color: var(--border-strong, #D8D8D8); }

/* ---------- MAIN ---------- */
.help-main {
  max-width: 960px;
  margin: 0 auto;
  padding: 48px 24px 64px;
}

/* ---------- CATEGORY GRID ---------- */
.help-categories {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 16px;
}
.help-category {
  display: flex;
  gap: 16px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--border, #E8E8E8);
  border-radius: 12px;
  text-decoration: none;
  color: var(--text, #000);
  transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease;
  position: relative;
}
.help-category:hover {
  border-color: var(--primary, #5C5278);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0,0,0,.06);
}
.help-category__icon {
  font-size: 28px;
  line-height: 1;
  flex-shrink: 0;
}
.help-category__body { flex: 1; min-width: 0; }
.help-category__title {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 4px;
  letter-spacing: -0.01em;
}
.help-category__count {
  font-size: 12px;
  color: var(--text-muted, #888);
  margin: 0 0 12px;
}
.help-category__preview {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.help-category__preview li {
  font-size: 13px;
  color: var(--text-secondary, #6B6B6B);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.help-category__arrow {
  position: absolute;
  top: 24px;
  right: 24px;
  color: var(--border-strong, #D8D8D8);
  transition: color .15s ease, transform .15s ease;
}
.help-category:hover .help-category__arrow {
  color: var(--primary, #5C5278);
  transform: translateX(2px);
}

/* ---------- ARTICLE LIST (in category & search) ---------- */
.help-articles-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.help-article-link {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: #fff;
  border: 1px solid var(--border, #E8E8E8);
  border-radius: 12px;
  text-decoration: none;
  color: var(--text, #000);
  transition: border-color .15s ease, transform .15s ease;
}
.help-article-link:hover {
  border-color: var(--primary, #5C5278);
  transform: translateX(2px);
}
.help-article-link__body { flex: 1; min-width: 0; }
.help-article-link__cat {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .04em;
  font-weight: 600;
  color: var(--primary, #5C5278);
  margin-bottom: 4px;
}
.help-article-link h3 {
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 4px;
}
.help-article-link p {
  font-size: 13px;
  color: var(--text-secondary, #6B6B6B);
  margin: 0;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.help-article-link__arrow { color: var(--border-strong, #D8D8D8); flex-shrink: 0; }
.help-article-link:hover .help-article-link__arrow { color: var(--primary, #5C5278); }

/* ---------- ARTICLE PAGE ---------- */
.help-article-layout {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  padding: 32px 24px 64px;
}
.help-sidebar {
  position: sticky;
  top: 80px;
  align-self: start;
  max-height: calc(100vh - 96px);
  overflow-y: auto;
  padding-right: 8px;
}
.help-sidebar__category {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text, #000);
  text-decoration: none;
  margin-bottom: 12px;
  padding: 8px 12px;
  border-radius: 8px;
  background: var(--surface-subtle, #FAFAFA);
}
.help-sidebar__category-icon { font-size: 16px; }
.help-sidebar__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.help-sidebar__link {
  display: block;
  padding: 8px 12px;
  font-size: 13px;
  color: var(--text-secondary, #6B6B6B);
  text-decoration: none;
  border-radius: 6px;
  border-left: 2px solid transparent;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.help-sidebar__link:hover {
  background: var(--surface-subtle, #FAFAFA);
  color: var(--text, #000);
}
.help-sidebar__link--active {
  color: var(--primary, #5C5278);
  font-weight: 600;
  border-left-color: var(--primary, #5C5278);
  background: var(--primary-light, rgba(92, 82, 120, 0.08));
}

.help-article {
  background: #fff;
  border: 1px solid var(--border, #E8E8E8);
  border-radius: 12px;
  padding: 32px 40px;
}
.help-article__body h1 {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
  margin: 12px 0 24px;
  letter-spacing: -0.02em;
}
.help-article__content {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text, #000);
}
.help-article__content h1,
.help-article__content h2 {
  font-size: 22px;
  font-weight: 700;
  margin: 32px 0 12px;
  letter-spacing: -0.015em;
}
.help-article__content h3 { font-size: 18px; font-weight: 700; margin: 24px 0 10px; }
.help-article__content p { margin: 0 0 14px; }
.help-article__content ul,
.help-article__content ol { margin: 0 0 14px; padding-left: 24px; }
.help-article__content li { margin-bottom: 6px; }
.help-article__content a { color: var(--primary, #5C5278); }
.help-article__content a:hover { text-decoration: underline; }
.help-article__content code {
  background: var(--surface-subtle, #FAFAFA);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 13px;
  font-family: 'JetBrains Mono', monospace;
}
.help-article__content pre {
  background: var(--surface-subtle, #FAFAFA);
  border: 1px solid var(--border, #E8E8E8);
  padding: 12px 16px;
  border-radius: 8px;
  overflow-x: auto;
  font-size: 13px;
}
.help-article__content blockquote {
  border-left: 3px solid var(--primary, #5C5278);
  padding: 4px 16px;
  margin: 16px 0;
  color: var(--text-secondary, #6B6B6B);
  background: var(--surface-subtle, #FAFAFA);
  border-radius: 0 8px 8px 0;
}
.help-article__content table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 14px;
}
.help-article__content th,
.help-article__content td {
  border: 1px solid var(--border, #E8E8E8);
  padding: 8px 12px;
  text-align: left;
}
.help-article__content th { background: var(--surface-subtle, #FAFAFA); font-weight: 600; }

/* ---------- FEEDBACK ---------- */
.help-feedback {
  margin-top: 40px;
  padding: 20px 24px;
  background: var(--surface-subtle, #FAFAFA);
  border-radius: 12px;
  text-align: center;
}
.help-feedback__q {
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 12px;
}
.help-feedback__btns {
  display: flex;
  gap: 8px;
  justify-content: center;
}
.help-feedback__thanks {
  font-size: 13px;
  color: var(--success, #2E5D3F);
  margin: 12px 0 0;
}

/* ---------- ARTICLE NAV ---------- */
.help-article-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 32px;
}
.help-article-nav__link {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 20px;
  background: #fff;
  border: 1px solid var(--border, #E8E8E8);
  border-radius: 8px;
  text-decoration: none;
  color: var(--text, #000);
  transition: border-color .15s ease;
}
.help-article-nav__link:hover { border-color: var(--primary, #5C5278); }
.help-article-nav__link--next { text-align: right; }
.help-article-nav__label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .04em;
  font-weight: 600;
  color: var(--text-muted, #888);
}
.help-article-nav__title {
  font-size: 14px;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.help-article-nav__spacer { display: block; }

/* ---------- CONTACT BLOCK ---------- */
.help-contact-block {
  margin-top: 48px;
  padding: 32px;
  background: #fff;
  border: 1px solid var(--border, #E8E8E8);
  border-radius: 12px;
  text-align: center;
}
.help-contact-block h2 {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 8px;
}
.help-contact-block p {
  font-size: 14px;
  color: var(--text-secondary, #6B6B6B);
  margin: 0 0 20px;
}
.help-contact-block__actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.help-article__contact {
  margin-top: 32px;
  padding: 20px 24px;
  border-top: 1px solid var(--border-light, #EFEFEF);
}
.help-article__contact h3 { font-size: 14px; margin: 0 0 4px; }
.help-article__contact p { font-size: 13px; color: var(--text-secondary, #6B6B6B); margin: 0; }

.help-back-row { margin-top: 24px; }
.help-back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary, #6B6B6B);
  text-decoration: none;
}
.help-back-link:hover { color: var(--primary, #5C5278); }

/* ---------- FOOTER ---------- */
.help-footer {
  border-top: 1px solid var(--border-light, #EFEFEF);
  padding: 20px 24px;
  background: #fff;
}
.help-footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--text-secondary, #6B6B6B);
  flex-wrap: wrap;
  gap: 12px;
}
.help-footer nav { display: flex; gap: 16px; }
.help-footer a { color: var(--text-secondary, #6B6B6B); text-decoration: none; }
.help-footer a:hover { color: var(--text, #000); }

/* ---------- FLOATING WIDGET (landing + in-CRM) ---------- */
.help-widget-fab {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--primary, #5C5278);
  color: #fff;
  border: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,.16);
  z-index: 9000;
  transition: transform .15s ease, box-shadow .15s ease;
}
.help-widget-fab:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(0,0,0,.20);
}
.help-widget-fab svg { width: 24px; height: 24px; }

.help-widget-panel {
  position: fixed;
  right: 24px;
  bottom: 96px;
  width: 420px;
  max-width: calc(100vw - 32px);
  height: 640px;
  max-height: calc(100vh - 120px);
  background: #fff;
  border: 1px solid var(--border, #E8E8E8);
  border-radius: 16px;
  box-shadow: 0 12px 48px rgba(0,0,0,.18);
  z-index: 9000;
  display: none;
  flex-direction: column;
  overflow: hidden;
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--text, #000);
}
.help-widget-panel--open { display: flex; }

.help-widget-panel__header {
  padding: 16px 20px 14px;
  background: linear-gradient(135deg, var(--primary, #5C5278), #4A4263);
  color: #fff;
  flex-shrink: 0;
}
.help-widget-panel__topbar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}
.help-widget-panel__title {
  flex: 1;
  font-size: 16px;
  font-weight: 700;
  margin: 0;
  letter-spacing: -0.01em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.help-widget-panel__back,
.help-widget-panel__close-x {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  border: 0;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  cursor: pointer;
  flex-shrink: 0;
  transition: background .12s ease;
}
.help-widget-panel__back[hidden] { display: none !important; }
.help-widget-panel__back:hover,
.help-widget-panel__close-x:hover { background: rgba(255, 255, 255, 0.24); }

.help-widget-panel__search {
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 8px;
  padding: 6px 10px;
}
.help-widget-panel__search input {
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  font: inherit;
  font-size: 14px;
  padding: 6px 4px;
  color: var(--text, #000);
}
.help-widget-panel__search svg { color: var(--text-muted, #888); flex-shrink: 0; }

.help-widget-panel__body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  background: #fff;
  display: flex;
  flex-direction: column;
}

/* Row buttons (category, article, search result) */
.help-widget-row {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 14px 20px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--border-light, #EFEFEF);
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: var(--text, #000);
  transition: background .12s ease;
}
.help-widget-row:hover { background: var(--surface-subtle, #FAFAFA); }
.help-widget-row:last-child { border-bottom: 0; }
.help-widget-row__icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: #F4F2F8;
  color: var(--primary, #5C5278);
}
.help-widget-row__icon svg { width: 20px; height: 20px; display: block; }
.help-widget-row__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.help-widget-row__cat {
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: .04em;
  font-weight: 700;
  color: var(--primary, #5C5278);
}
.help-widget-row__title {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
}
.help-widget-row__meta {
  font-size: 12.5px;
  color: var(--text-muted, #888);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.help-widget-row__arrow {
  color: var(--border-strong, #D8D8D8);
  flex-shrink: 0;
  transition: transform .12s ease, color .12s ease;
}
.help-widget-row:hover .help-widget-row__arrow {
  color: var(--primary, #5C5278);
  transform: translateX(2px);
}
.help-widget-row--art .help-widget-row__title { font-weight: 600; }

.help-widget-cat-intro {
  padding: 12px 20px;
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: var(--text-secondary, #6B6B6B);
  background: var(--surface-subtle, #FAFAFA);
  border-bottom: 1px solid var(--border-light, #EFEFEF);
}

/* Article inline view */
.help-widget-article {
  padding: 20px 22px 12px;
}
.help-widget-article__title {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin: 0 0 16px;
  line-height: 1.35;
}
.help-widget-article__content {
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--text, #000);
}
.help-widget-article__content h1,
.help-widget-article__content h2 {
  font-size: 15px;
  font-weight: 700;
  margin: 20px 0 8px;
  letter-spacing: -0.01em;
}
.help-widget-article__content h3 { font-size: 14px; font-weight: 700; margin: 16px 0 6px; }
.help-widget-article__content p { margin: 0 0 10px; }
.help-widget-article__content ul,
.help-widget-article__content ol { margin: 0 0 10px; padding-left: 22px; }
.help-widget-article__content li { margin-bottom: 4px; }
.help-widget-article__content a { color: var(--primary, #5C5278); }
.help-widget-article__content a:hover { text-decoration: underline; }
.help-widget-article__content code {
  background: var(--surface-subtle, #FAFAFA);
  padding: 1px 5px;
  border-radius: 4px;
  font-size: 12px;
  font-family: 'JetBrains Mono', monospace;
}
.help-widget-article__content pre {
  background: var(--surface-subtle, #FAFAFA);
  border: 1px solid var(--border, #E8E8E8);
  padding: 10px 12px;
  border-radius: 6px;
  overflow-x: auto;
  font-size: 12px;
  margin: 0 0 10px;
}
.help-widget-article__content blockquote {
  border-left: 3px solid var(--primary, #5C5278);
  padding: 4px 12px;
  margin: 12px 0;
  color: var(--text-secondary, #6B6B6B);
  background: var(--surface-subtle, #FAFAFA);
  border-radius: 0 6px 6px 0;
  font-size: 13px;
}
.help-widget-article__content table {
  width: 100%;
  border-collapse: collapse;
  margin: 10px 0;
  font-size: 12.5px;
}
.help-widget-article__content th,
.help-widget-article__content td {
  border: 1px solid var(--border, #E8E8E8);
  padding: 6px 8px;
  text-align: left;
}

.help-widget-article__feedback {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 20px 0 12px;
  padding: 12px;
  background: var(--surface-subtle, #FAFAFA);
  border-radius: 8px;
  font-size: 12.5px;
  flex-wrap: wrap;
}
.help-widget-article__feedback-q { font-weight: 600; flex: 1; min-width: 80px; }
.help-widget-article__fb {
  border: 1px solid var(--border, #E8E8E8);
  background: #fff;
  border-radius: 6px;
  padding: 4px 10px;
  font: inherit;
  font-size: 12.5px;
  cursor: pointer;
  transition: border-color .12s ease;
}
.help-widget-article__fb:hover:not(:disabled) { border-color: var(--primary, #5C5278); }
.help-widget-article__fb:disabled { opacity: .5; cursor: default; }
.help-widget-article__feedback-thanks {
  color: var(--success, #2E5D3F);
  font-weight: 600;
  font-size: 12.5px;
}
.help-widget-article__permalink {
  display: inline-block;
  margin-top: 6px;
  font-size: 12.5px;
  color: var(--text-muted, #888);
  text-decoration: none;
}
.help-widget-article__permalink:hover { color: var(--primary, #5C5278); }

.help-widget-status {
  padding: 32px 24px;
  text-align: center;
  font-size: 13px;
  color: var(--text-muted, #888);
}
.help-widget-status--empty { padding-top: 48px; }

.help-widget-panel__footer {
  padding: 10px 20px;
  border-top: 1px solid var(--border-light, #EFEFEF);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12.5px;
  background: var(--surface-subtle, #FAFAFA);
  flex-shrink: 0;
}
.help-widget-panel__footer-link {
  color: var(--primary, #5C5278);
  font-weight: 500;
  text-decoration: none;
}
.help-widget-panel__footer-link:hover { text-decoration: underline; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 880px) {
  .help-article-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .help-sidebar {
    position: static;
    max-height: none;
  }
  .help-article { padding: 24px 20px; }
  .help-article-nav { grid-template-columns: 1fr; }
  .help-article-nav__link--next { text-align: left; }
  .help-nav__links { display: none; }
  .help-hero { padding: 48px 16px 32px; }
  .help-main { padding: 32px 16px 48px; }
}

@media (max-width: 520px) {
  .help-widget-panel {
    right: 8px;
    left: 8px;
    bottom: 80px;
    width: auto;
    height: calc(100vh - 100px);
    max-height: none;
  }
}
