/* ---------------------------------------------------------------
   ChannelDock Help Center — page styles
   --------------------------------------------------------------- */

:root {
  --cd-help-text: #1f2937;
  --cd-help-muted: #6b7280;
  --cd-help-border: #e5e7eb;
  --cd-help-bg-soft: #f8fafc;
  --cd-help-accent: #0d6efd;
  --cd-help-radius: 10px;
}

/* ===== Search bar ================================================*/
.cd-help-search-bar {
  background: #fff;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--cd-help-border);
}
.cd-help-search-bar__inner {
  max-width: 560px;
  margin: 0 auto;
}
.cd-help-search-bar--hero {
  background: transparent;
  border: 0;
  padding: 0;
  margin-top: 1.5rem;
}

/* ===== Hero (landing / collection / section) =====================*/
.cd-help-hero {
  background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
  padding: 3rem 0 2.5rem;
  border-bottom: 1px solid var(--cd-help-border);
}
.cd-help-hero--landing {
  text-align: center;
  padding: 4rem 0 3rem;
  background:
    radial-gradient(80% 60% at 50% 0%, rgba(13, 110, 253, 0.06), transparent 70%),
    linear-gradient(180deg, #f8fafc 0%, #fff 100%);
}
.cd-help-hero__title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--cd-help-text);
  margin: 0 0 0.5rem;
  line-height: 1.1;
}
.cd-help-hero--landing .cd-help-hero__title {
  font-size: clamp(2.25rem, 5vw, 3.25rem);
}
.cd-help-hero__lede {
  font-size: 1.0625rem;
  color: var(--cd-help-muted);
  margin: 0;
}
.cd-help-hero--landing .cd-help-hero__lede {
  font-size: 1.125rem;
  max-width: 560px;
  margin: 0 auto;
}
.cd-help-hero .breadcrumb { margin-bottom: 1rem; }

/* ===== Card grid (landing + collection) ==========================*/
.cd-help-section-grid {
  padding: 3rem 0 4rem;
  background: #fff;
}
.cd-help-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1.5rem 1.5rem 1.75rem;
  background: #fff;
  border: 1px solid var(--cd-help-border);
  border-radius: var(--cd-help-radius);
  color: var(--cd-help-text);
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  overflow: hidden;
}
.cd-help-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--cd-help-accent), #6610f2);
  opacity: 0;
  transition: opacity 0.18s ease;
}
.cd-help-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.08);
  border-color: #c7d2fe;
  color: var(--cd-help-text);
}
.cd-help-card:hover::before { opacity: 1; }
.cd-help-card__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.75rem;
}
.cd-help-card__title {
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0;
  color: var(--cd-help-text);
  letter-spacing: -0.005em;
}
.cd-help-card__count {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--cd-help-muted);
  background: var(--cd-help-bg-soft);
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  white-space: nowrap;
  flex-shrink: 0;
}
.cd-help-card__list {
  list-style: none;
  padding: 0;
  margin: 0 0 0.5rem;
  font-size: 0.875rem;
  color: var(--cd-help-muted);
  line-height: 1.6;
  flex-grow: 1;
}
.cd-help-card__list li {
  padding: 0.125rem 0;
  position: relative;
  padding-left: 1rem;
}
.cd-help-card__list li::before {
  content: "›";
  position: absolute;
  left: 0;
  color: #cbd5e1;
}
.cd-help-card__more {
  color: var(--cd-help-accent) !important;
  font-weight: 500;
}
.cd-help-card__more::before { content: "" !important; }
.cd-help-card__arrow {
  align-self: flex-end;
  font-size: 1.25rem;
  color: var(--cd-help-accent);
  opacity: 0.6;
  transition: transform 0.18s ease, opacity 0.18s ease;
  margin-top: 0.5rem;
}
.cd-help-card:hover .cd-help-card__arrow {
  transform: translateX(4px);
  opacity: 1;
}

/* ===== Landing-page icon cards ===================================*/
.cd-help-card--icon {
  padding: 2rem 1.75rem 1.75rem;
}
.cd-help-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  margin-bottom: 1.25rem;
  font-size: 1.4rem;
  color: var(--cd-help-accent);
  background: linear-gradient(135deg, rgba(13, 110, 253, 0.10), rgba(102, 16, 242, 0.10));
  transition: transform 0.18s ease, background 0.18s ease;
}
.cd-help-card:hover .cd-help-card__icon {
  transform: scale(1.05) rotate(-2deg);
  background: linear-gradient(135deg, rgba(13, 110, 253, 0.18), rgba(102, 16, 242, 0.18));
}
.cd-help-card--icon .cd-help-card__title {
  font-size: 1.2rem;
  margin: 0 0 0.25rem;
}
.cd-help-card__meta {
  font-size: 0.8125rem;
  color: var(--cd-help-muted);
  margin: 0 0 1rem;
  font-weight: 500;
}
.cd-help-card--icon .cd-help-card__list {
  margin-bottom: 1.25rem;
}
.cd-help-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--cd-help-accent);
  margin-top: auto;
  opacity: 0.85;
  transition: gap 0.18s ease, opacity 0.18s ease;
}
.cd-help-card__cta i { font-size: 0.75rem; transition: transform 0.18s ease; }
.cd-help-card:hover .cd-help-card__cta {
  opacity: 1;
  gap: 0.6rem;
}
.cd-help-card:hover .cd-help-card__cta i { transform: translateX(2px); }

/* Per-collection icon accent (subtle hue per category). */
.cd-help-card[data-coll="getting-started"] .cd-help-card__icon { color: #16a34a; background: linear-gradient(135deg, rgba(22,163,74,.12), rgba(22,163,74,.05)); }
.cd-help-card[data-coll="sales-channels"] .cd-help-card__icon { color: #2563eb; background: linear-gradient(135deg, rgba(37,99,235,.12), rgba(37,99,235,.05)); }
.cd-help-card[data-coll="products-inventory"] .cd-help-card__icon { color: #f59e0b; background: linear-gradient(135deg, rgba(245,158,11,.14), rgba(245,158,11,.06)); }
.cd-help-card[data-coll="orders"] .cd-help-card__icon { color: #db2777; background: linear-gradient(135deg, rgba(219,39,119,.12), rgba(219,39,119,.05)); }
.cd-help-card[data-coll="picking-packing"] .cd-help-card__icon { color: #9333ea; background: linear-gradient(135deg, rgba(147,51,234,.12), rgba(147,51,234,.05)); }
.cd-help-card[data-coll="shipping"] .cd-help-card__icon { color: #0891b2; background: linear-gradient(135deg, rgba(8,145,178,.12), rgba(8,145,178,.05)); }
.cd-help-card[data-coll="fulfillment-network"] .cd-help-card__icon { color: #0d9488; background: linear-gradient(135deg, rgba(13,148,136,.12), rgba(13,148,136,.05)); }
.cd-help-card[data-coll="for-fulfillment-centers"] .cd-help-card__icon { color: #4f46e5; background: linear-gradient(135deg, rgba(79,70,229,.12), rgba(79,70,229,.05)); }
.cd-help-card[data-coll="integrations-api"] .cd-help-card__icon { color: #475569; background: linear-gradient(135deg, rgba(71,85,105,.12), rgba(71,85,105,.05)); }
.cd-help-card[data-coll="account-billing"] .cd-help-card__icon { color: #ea580c; background: linear-gradient(135deg, rgba(234,88,12,.12), rgba(234,88,12,.05)); }
.cd-help-card[data-coll="support"] .cd-help-card__icon { color: #be185d; background: linear-gradient(135deg, rgba(190,24,93,.12), rgba(190,24,93,.05)); }
.cd-help-card[data-coll="point-of-sale"] .cd-help-card__icon { color: #65a30d; background: linear-gradient(135deg, rgba(101,163,13,.12), rgba(101,163,13,.05)); }

/* ===== Collection page hero icon =================================*/
.cd-help-hero__head {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}
.cd-help-hero__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 16px;
  font-size: 1.75rem;
  flex-shrink: 0;
  color: var(--cd-help-accent);
  background: linear-gradient(135deg, rgba(13, 110, 253, 0.12), rgba(102, 16, 242, 0.10));
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
}
/* Reuse the per-collection palette for the hero icon too. */
.cd-help-hero[data-coll="getting-started"] .cd-help-hero__icon { color: #16a34a; background: linear-gradient(135deg, rgba(22,163,74,.14), rgba(22,163,74,.06)); }
.cd-help-hero[data-coll="sales-channels"] .cd-help-hero__icon { color: #2563eb; background: linear-gradient(135deg, rgba(37,99,235,.14), rgba(37,99,235,.06)); }
.cd-help-hero[data-coll="products-inventory"] .cd-help-hero__icon { color: #f59e0b; background: linear-gradient(135deg, rgba(245,158,11,.16), rgba(245,158,11,.06)); }
.cd-help-hero[data-coll="orders"] .cd-help-hero__icon { color: #db2777; background: linear-gradient(135deg, rgba(219,39,119,.14), rgba(219,39,119,.06)); }
.cd-help-hero[data-coll="picking-packing"] .cd-help-hero__icon { color: #9333ea; background: linear-gradient(135deg, rgba(147,51,234,.14), rgba(147,51,234,.06)); }
.cd-help-hero[data-coll="shipping"] .cd-help-hero__icon { color: #0891b2; background: linear-gradient(135deg, rgba(8,145,178,.14), rgba(8,145,178,.06)); }
.cd-help-hero[data-coll="fulfillment-network"] .cd-help-hero__icon { color: #0d9488; background: linear-gradient(135deg, rgba(13,148,136,.14), rgba(13,148,136,.06)); }
.cd-help-hero[data-coll="for-fulfillment-centers"] .cd-help-hero__icon { color: #4f46e5; background: linear-gradient(135deg, rgba(79,70,229,.14), rgba(79,70,229,.06)); }
.cd-help-hero[data-coll="integrations-api"] .cd-help-hero__icon { color: #475569; background: linear-gradient(135deg, rgba(71,85,105,.14), rgba(71,85,105,.06)); }
.cd-help-hero[data-coll="account-billing"] .cd-help-hero__icon { color: #ea580c; background: linear-gradient(135deg, rgba(234,88,12,.14), rgba(234,88,12,.06)); }
.cd-help-hero[data-coll="support"] .cd-help-hero__icon { color: #be185d; background: linear-gradient(135deg, rgba(190,24,93,.14), rgba(190,24,93,.06)); }
.cd-help-hero[data-coll="point-of-sale"] .cd-help-hero__icon { color: #65a30d; background: linear-gradient(135deg, rgba(101,163,13,.14), rgba(101,163,13,.06)); }

/* ===== Topic blocks (collection page — merged section lists) =====*/
.cd-help-section-grid--collection {
  padding-top: 2.5rem;
}
.cd-help-topic-block {
  scroll-margin-top: 96px;
  margin-bottom: 3.5rem;
}
.cd-help-topic-block:last-child {
  margin-bottom: 0;
}
.cd-help-topic-block__head {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.cd-help-topic-block__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 11px;
  font-size: 1.15rem;
  flex-shrink: 0;
  color: var(--cd-help-accent);
  background: linear-gradient(135deg, rgba(13, 110, 253, 0.10), rgba(102, 16, 242, 0.10));
}
.cd-help-topic-block__title {
  font-size: clamp(1.375rem, 3vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--cd-help-text);
  margin: 0 0 0.25rem;
  line-height: 1.15;
}
.cd-help-topic-block__lede {
  font-size: 0.9375rem;
  color: var(--cd-help-muted);
  margin: 0;
}
.cd-help-section-grid--collection .cd-help-article-list {
  max-width: none;
}

/* Per-collection topic icon accents (reuse card palette). */
.cd-help-topic-block[data-coll="getting-started"] .cd-help-topic-block__icon { color: #16a34a; background: linear-gradient(135deg, rgba(22,163,74,.12), rgba(22,163,74,.05)); }
.cd-help-topic-block[data-coll="sales-channels"] .cd-help-topic-block__icon { color: #2563eb; background: linear-gradient(135deg, rgba(37,99,235,.12), rgba(37,99,235,.05)); }
.cd-help-topic-block[data-coll="products-inventory"] .cd-help-topic-block__icon { color: #f59e0b; background: linear-gradient(135deg, rgba(245,158,11,.14), rgba(245,158,11,.06)); }
.cd-help-topic-block[data-coll="orders"] .cd-help-topic-block__icon { color: #db2777; background: linear-gradient(135deg, rgba(219,39,119,.12), rgba(219,39,119,.05)); }
.cd-help-topic-block[data-coll="picking-packing"] .cd-help-topic-block__icon { color: #9333ea; background: linear-gradient(135deg, rgba(147,51,234,.12), rgba(147,51,234,.05)); }
.cd-help-topic-block[data-coll="shipping"] .cd-help-topic-block__icon { color: #0891b2; background: linear-gradient(135deg, rgba(8,145,178,.12), rgba(8,145,178,.05)); }
.cd-help-topic-block[data-coll="fulfillment-network"] .cd-help-topic-block__icon { color: #0d9488; background: linear-gradient(135deg, rgba(13,148,136,.12), rgba(13,148,136,.05)); }
.cd-help-topic-block[data-coll="for-fulfillment-centers"] .cd-help-topic-block__icon { color: #4f46e5; background: linear-gradient(135deg, rgba(79,70,229,.12), rgba(79,70,229,.05)); }
.cd-help-topic-block[data-coll="integrations-api"] .cd-help-topic-block__icon { color: #475569; background: linear-gradient(135deg, rgba(71,85,105,.12), rgba(71,85,105,.05)); }
.cd-help-topic-block[data-coll="account-billing"] .cd-help-topic-block__icon { color: #ea580c; background: linear-gradient(135deg, rgba(234,88,12,.12), rgba(234,88,12,.05)); }
.cd-help-topic-block[data-coll="support"] .cd-help-topic-block__icon { color: #be185d; background: linear-gradient(135deg, rgba(190,24,93,.12), rgba(190,24,93,.05)); }
.cd-help-topic-block[data-coll="point-of-sale"] .cd-help-topic-block__icon { color: #65a30d; background: linear-gradient(135deg, rgba(101,163,13,.12), rgba(101,163,13,.05)); }

/* ===== Section card (collection page) ============================*/
.cd-help-card--section {
  flex-direction: row;
  align-items: flex-start;
  gap: 1.1rem;
  padding: 1.5rem 1.5rem 1.25rem;
}
.cd-help-card--section .cd-help-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  font-size: 1.15rem;
  margin: 0;
  flex-shrink: 0;
}
.cd-help-card--section .cd-help-card__body {
  flex: 1;
  min-width: 0;
}
.cd-help-card--section .cd-help-card__header {
  margin-bottom: 0.5rem;
}
.cd-help-card--section .cd-help-card__title {
  font-size: 1.0625rem;
}
.cd-help-card--section .cd-help-card__list {
  font-size: 0.85rem;
  margin-bottom: 0;
}
.cd-help-card--section .cd-help-card__cta {
  position: absolute;
  right: 1.5rem;
  bottom: 1.25rem;
}
.cd-help-card--section { padding-bottom: 3rem; }

@media (max-width: 575.98px) {
  .cd-help-card--section .cd-help-card__cta { position: static; margin-top: 0.75rem; }
  .cd-help-card--section { padding-bottom: 1.25rem; }
}

/* ===== Article list (section page) ===============================*/
.cd-help-article-list-wrap {
  padding: 2.5rem 0 4rem;
  background: #fff;
}
.cd-help-article-list {
  list-style: none;
  padding: 0;
  margin: 0;
  max-width: 820px;
  border: 1px solid var(--cd-help-border);
  border-radius: var(--cd-help-radius);
  overflow: hidden;
  background: #fff;
}
.cd-help-article-list > li + li {
  border-top: 1px solid var(--cd-help-border);
}
.cd-help-article-list__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  text-decoration: none;
  color: var(--cd-help-text);
  transition: background 0.12s ease;
}
.cd-help-article-list__item:hover {
  background: var(--cd-help-bg-soft);
  color: var(--cd-help-text);
}
.cd-help-article-list__title {
  display: block;
  font-weight: 600;
  font-size: 0.9375rem;
  margin-bottom: 0.15rem;
}
.cd-help-article-list__desc {
  display: block;
  font-size: 0.8125rem;
  color: var(--cd-help-muted);
  line-height: 1.5;
}
.cd-help-article-list__arrow {
  color: var(--cd-help-accent);
  opacity: 0.5;
  transition: transform 0.18s ease, opacity 0.18s ease;
  flex-shrink: 0;
}
.cd-help-article-list__item:hover .cd-help-article-list__arrow {
  transform: translateX(4px);
  opacity: 1;
}

/* ===== Sidebar ===================================================*/
.cd-help-sidebar {
  position: sticky;
  top: 96px;
  max-height: calc(100vh - 112px);
  overflow-y: auto;
  padding-right: 0.5rem;
  font-size: 0.9375rem;
}
.cd-help-sidebar::-webkit-scrollbar { width: 6px; }
.cd-help-sidebar::-webkit-scrollbar-thumb {
  background: #e5e7eb; border-radius: 3px;
}

/* Current-collection header link (replaces full tree) */
.cd-help-sidebar__current-coll {
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--cd-help-border);
  margin-bottom: 0.25rem;
}
.cd-help-sidebar__coll-link {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--cd-help-text);
  text-decoration: none;
}
.cd-help-sidebar__coll-link::before {
  content: "←";
  color: var(--cd-help-muted);
  font-weight: 400;
  font-size: 0.875rem;
}
.cd-help-sidebar__coll-link:hover {
  color: var(--cd-help-accent);
}

.cd-help-sidebar__coll {
  border-bottom: 1px solid var(--cd-help-border);
  padding: 0.5rem 0;
}
.cd-help-sidebar__coll > summary {
  list-style: none;
  cursor: pointer;
  font-weight: 600;
  color: var(--cd-help-text);
  padding: 0.4rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.cd-help-sidebar__coll > summary::-webkit-details-marker { display: none; }
.cd-help-sidebar__coll > summary::after {
  content: "+";
  color: var(--cd-help-muted);
  font-weight: 400;
  margin-left: 0.5rem;
}
.cd-help-sidebar__coll[open] > summary::after { content: "−"; }

.cd-help-sidebar__sections {
  list-style: none;
  padding: 0 0 0 0.25rem;
  margin: 0.25rem 0 0.5rem;
}
.cd-help-sidebar__sections > li { margin: 0.15rem 0; }

.cd-help-sidebar__sect { padding: 0.1rem 0; }
.cd-help-sidebar__section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.3rem 0;
  color: var(--cd-help-muted);
  text-decoration: none;
  border-radius: 4px;
  cursor: pointer;
  list-style: none;
  user-select: none;
}
.cd-help-sidebar__section::-webkit-details-marker { display: none; }
.cd-help-sidebar__section::after {
  content: "+";
  color: #cbd5e1;
  font-weight: 400;
  margin-left: 0.5rem;
}
.cd-help-sidebar__sect[open] > .cd-help-sidebar__section::after { content: "−"; }
.cd-help-sidebar__section:hover { color: var(--cd-help-accent); }
.cd-help-sidebar__section.is-active {
  color: var(--cd-help-text);
  font-weight: 600;
}

.cd-help-sidebar__articles {
  list-style: none;
  padding: 0.25rem 0 0.25rem 0.75rem;
  margin: 0 0 0.5rem;
  border-left: 2px solid var(--cd-help-border);
}
.cd-help-sidebar__articles > li { margin: 0.1rem 0; }
.cd-help-sidebar__article {
  display: block;
  padding: 0.2rem 0.5rem;
  color: var(--cd-help-muted);
  font-size: 0.875rem;
  text-decoration: none;
  border-radius: 4px;
  line-height: 1.35;
}
.cd-help-sidebar__article:hover {
  color: var(--cd-help-accent);
  background: var(--cd-help-bg-soft);
}
.cd-help-sidebar__article.is-current {
  color: var(--cd-help-text);
  background: var(--cd-help-bg-soft);
  font-weight: 600;
}

/* ===== Article body ==============================================*/
.cd-help-detail-lp article {
  max-width: 760px;
}
.cd-help-detail-lp h1 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--cd-help-text);
  line-height: 1.2;
}

/* Reset Intercom-imported inline styles. Articles arrive as HTML
   converted to Markdown; some HTML survives with font-family/font-size/
   color/width attributes. We force a unified look, but exclude <pre>
   and inline <code> because they own their own background + color. */
.cd-help-body, .cd-help-body :not(pre):not(code):not(pre *):not(code *) {
  font-family: inherit !important;
}
.cd-help-body :not(pre):not(code):not(pre *):not(code *) {
  background-color: transparent !important;
}
.cd-help-body p, .cd-help-body li, .cd-help-body span:not(pre *):not(code *),
.cd-help-body div:not(pre *), .cd-help-body td, .cd-help-body th {
  font-size: 1rem !important;
  color: var(--cd-help-text) !important;
  line-height: 1.7 !important;
}
.cd-help-body h1, .cd-help-body h2, .cd-help-body h3,
.cd-help-body h4, .cd-help-body h5, .cd-help-body h6 {
  color: var(--cd-help-text) !important;
}
/* Inline <code> (outside a <pre>) — pink-on-soft-bg. */
.cd-help-body :not(pre) > code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace !important;
  font-size: 0.875em !important;
  color: #be185d !important;
  background: var(--cd-help-bg-soft) !important;
  border: 1px solid var(--cd-help-border) !important;
  padding: 0.1rem 0.4rem !important;
  border-radius: 4px !important;
}
/* <pre> block — light text on dark background. */
.cd-help-body pre {
  background: #0f172a !important;
  color: #e2e8f0 !important;
  padding: 1rem 1.25rem !important;
  border-radius: var(--cd-help-radius) !important;
  overflow-x: auto !important;
  font-size: 0.875rem !important;
  line-height: 1.55 !important;
}
.cd-help-body pre code, .cd-help-body pre code * {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace !important;
  color: #e2e8f0 !important;
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
  font-size: 1em !important;
}
.cd-help-body a, .cd-help-body a * {
  color: var(--cd-help-accent) !important;
}

.cd-help-body {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--cd-help-text);
}
.cd-help-body > * + * { margin-top: 1rem; }
.cd-help-body h2 {
  margin-top: 2.5rem;
  margin-bottom: 0.5rem;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.cd-help-body h3 {
  margin-top: 2rem;
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
  font-weight: 600;
}
.cd-help-body p { margin: 0 0 1rem; }
.cd-help-body ul, .cd-help-body ol { padding-left: 1.25rem; margin: 0.5rem 0 1rem; }
.cd-help-body li { margin: 0.25rem 0; }

.cd-help-body a {
  color: var(--cd-help-accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cd-help-body a:hover { text-decoration-thickness: 2px; }

.cd-help-body img {
  display: block;
  max-width: 100%;
  width: auto;
  height: auto;
  margin: 1.25rem 0;
}

.cd-help-body blockquote {
  margin: 1.5rem 0;
  padding: 0.75rem 1rem;
  border-left: 4px solid var(--cd-help-accent);
  background: var(--cd-help-bg-soft);
  color: var(--cd-help-text);
  border-radius: 0 var(--cd-help-radius) var(--cd-help-radius) 0;
}

.cd-help-body pre {
  background: #0f172a;
  color: #e2e8f0;
  padding: 1rem 1.25rem;
  border-radius: var(--cd-help-radius);
  overflow-x: auto;
  font-size: 0.875rem;
  line-height: 1.55;
}
.cd-help-body code {
  background: var(--cd-help-bg-soft);
  border: 1px solid var(--cd-help-border);
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
  font-size: 0.875em;
  color: #be185d;
}
.cd-help-body pre code {
  background: transparent;
  border: 0;
  padding: 0;
  color: inherit;
}

.cd-help-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.25rem 0;
  font-size: 0.9375rem;
}
.cd-help-body th, .cd-help-body td {
  border: 1px solid var(--cd-help-border);
  padding: 0.5rem 0.75rem;
  text-align: left;
  vertical-align: top;
}
.cd-help-body th { background: var(--cd-help-bg-soft); font-weight: 600; }

.cd-help-body .cd-help-prio-table {
  display: block;
  overflow-x: auto;
}
.cd-help-body .cd-help-prio-table table,
.cd-help-body table.cd-help-prio-table {
  display: table;
  min-width: 36rem;
}
.cd-help-prio {
  display: inline-block;
  font-weight: 650;
  font-size: 0.8125rem;
  letter-spacing: 0.01em;
  line-height: 1.2;
  padding: 0.28rem 0.6rem;
  border-radius: 999px;
  white-space: nowrap;
  border: 1px solid transparent;
}
.cd-help-prio--critical {
  color: #9b1c1c;
  background: #fef2f2;
  border-color: #fecaca;
}
.cd-help-prio--high {
  color: #9a3412;
  background: #fff7ed;
  border-color: #fed7aa;
}
.cd-help-prio--medium {
  color: #1d4ed8;
  background: #eff6ff;
  border-color: #bfdbfe;
}
.cd-help-prio--low {
  color: #334155;
  background: #f1f5f9;
  border-color: #cbd5e1;
}
.cd-help-body tr:has(.cd-help-prio--critical) td:first-child { border-left: 3px solid #ef4444; }
.cd-help-body tr:has(.cd-help-prio--high) td:first-child { border-left: 3px solid #f97316; }
.cd-help-body tr:has(.cd-help-prio--medium) td:first-child { border-left: 3px solid #3b82f6; }
.cd-help-body tr:has(.cd-help-prio--low) td:first-child { border-left: 3px solid #94a3b8; }

.cd-help-body hr {
  border: 0;
  border-top: 1px solid var(--cd-help-border);
  margin: 2rem 0;
}

.cd-help-body iframe,
.cd-help-body video {
  display: block;
  max-width: 100%;
  margin: 1.5rem auto;
  border: 1px solid var(--cd-help-border);
  border-radius: var(--cd-help-radius);
  aspect-ratio: 16 / 9;
  width: 100%;
  height: auto;
}

/* ===== Breadcrumbs ===============================================*/
.breadcrumb { font-size: 0.875rem; }
.breadcrumb-item + .breadcrumb-item::before { content: "›"; color: var(--cd-help-muted); }
.breadcrumb a { color: var(--cd-help-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--cd-help-accent); }

/* ===== Feedback widget ===========================================*/
.cd-help-feedback {
  margin: 3rem 0 1.5rem;
  padding: 1.25rem;
  border: 1px solid var(--cd-help-border);
  border-radius: var(--cd-help-radius);
  background: var(--cd-help-bg-soft);
  text-align: center;
}
.cd-help-feedback p { margin-bottom: 0.75rem; }
.cd-help-feedback .btn { min-width: 80px; }

/* ===== Help search (Pagefind API) ===============================*/
.cd-hs {
  position: relative;
  text-align: left;
}
.cd-hs__form {
  position: relative;
  display: flex;
  align-items: center;
  margin: 0;
}
.cd-hs__icon {
  position: absolute;
  left: 1rem;
  color: var(--cd-help-muted);
  font-size: 0.95rem;
  pointer-events: none;
}
.cd-hs__input {
  width: 100%;
  height: 48px;
  padding: 0 2.75rem 0 2.75rem;
  font-size: 1rem;
  color: var(--cd-help-text);
  background: #fff;
  border: 1px solid var(--cd-help-border);
  border-radius: var(--cd-help-radius);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  transition: border-color 0.15s, box-shadow 0.15s;
  -webkit-appearance: none;
  appearance: none;
}
.cd-hs__input::-webkit-search-cancel-button { display: none; }
.cd-hs__input::placeholder { color: #9ca3af; }
.cd-hs__input:focus {
  outline: none;
  border-color: var(--cd-help-accent);
  box-shadow: 0 0 0 4px rgba(13, 110, 253, 0.12);
}
.cd-help-search-bar--hero .cd-hs__input {
  height: 56px;
  font-size: 1.0625rem;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}
.cd-hs__kbd,
.cd-hs__footer kbd {
  font-family: inherit;
  font-size: 0.75rem;
  line-height: 1;
  color: var(--cd-help-muted);
  background: var(--cd-help-bg-soft);
  border: 1px solid var(--cd-help-border);
  border-radius: 4px;
  padding: 0.2rem 0.4rem;
}
.cd-hs__kbd {
  position: absolute;
  right: 0.9rem;
  pointer-events: none;
}
.cd-hs__clear {
  position: absolute;
  right: 0.5rem;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--cd-help-muted);
}
.cd-hs__clear:hover { background: var(--cd-help-bg-soft); color: var(--cd-help-text); }
.cd-hs.is-loading .cd-hs__icon { animation: cd-hs-pulse 0.9s ease-in-out infinite; }
@keyframes cd-hs-pulse { 50% { opacity: 0.35; } }

.cd-hs__panel {
  position: absolute;
  z-index: 1050;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  max-height: min(70vh, 560px);
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--cd-help-border);
  border-radius: var(--cd-help-radius);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.14);
  overflow: hidden;
}
.cd-hs__panel[hidden] { display: none; }
.cd-hs__status {
  margin: 0;
  padding: 0.65rem 1rem;
  font-size: 0.8125rem;
  color: var(--cd-help-muted);
  border-bottom: 1px solid var(--cd-help-border);
}
.cd-hs__empty { display: block; color: var(--cd-help-text); font-weight: 600; font-size: 0.9375rem; }
.cd-hs__empty-hint { display: block; margin-top: 0.15rem; }
.cd-hs__results {
  list-style: none;
  margin: 0;
  padding: 0.35rem;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.cd-hs__results:empty { display: none; }
.cd-hs__link {
  display: block;
  padding: 0.65rem 0.75rem;
  border-radius: 8px;
  color: inherit;
  text-decoration: none;
}
.cd-hs__item.is-active .cd-hs__link { background: rgba(13, 110, 253, 0.07); }
.cd-hs__crumb {
  display: block;
  font-size: 0.75rem;
  color: var(--cd-help-muted);
  margin-bottom: 0.1rem;
}
.cd-hs__title {
  display: block;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--cd-help-text);
}
.cd-hs__item.is-active .cd-hs__title { color: var(--cd-help-accent); }
.cd-hs__heading { font-weight: 500; color: var(--cd-help-muted); margin-left: 0.35rem; }
.cd-hs__excerpt {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-top: 0.2rem;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--cd-help-muted);
}
.cd-hs__excerpt mark {
  background: rgba(13, 110, 253, 0.12);
  color: var(--cd-help-text);
  padding: 0 0.1em;
  border-radius: 3px;
}
.cd-hs__more {
  margin: 0 0.35rem 0.35rem;
  padding: 0.55rem;
  border: 0;
  border-radius: 8px;
  background: var(--cd-help-bg-soft);
  color: var(--cd-help-accent);
  font-size: 0.875rem;
  font-weight: 600;
}
.cd-hs__more:hover { background: rgba(13, 110, 253, 0.07); }
.cd-hs__footer {
  display: flex;
  gap: 1rem;
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
  color: var(--cd-help-muted);
  border-top: 1px solid var(--cd-help-border);
  background: var(--cd-help-bg-soft);
}
.cd-hs__footer kbd { margin-right: 0.15rem; }
@media (hover: none), (max-width: 575.98px) {
  .cd-hs__kbd, .cd-hs__footer { display: none; }
}

/* ===== Responsive ================================================*/
@media (max-width: 991.98px) {
  .cd-help-sidebar { position: static; max-height: none; }
  .cd-help-detail-lp article { max-width: none; }
}

/* ===== Mobile sidebar toggle ====================================*/
.cd-help-sidebar-mobile {
  border: 1px solid var(--cd-help-border);
  border-radius: var(--cd-help-radius);
  background: #fff;
  padding: 0;
  overflow: hidden;
}
.cd-help-sidebar-mobile > summary {
  list-style: none;
  cursor: pointer;
  padding: 0.85rem 1rem;
  font-weight: 600;
  color: var(--cd-help-text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
}
.cd-help-sidebar-mobile > summary::-webkit-details-marker { display: none; }
.cd-help-sidebar-mobile > summary::after {
  content: "+";
  color: var(--cd-help-muted);
  font-weight: 400;
  font-size: 1.25rem;
  line-height: 1;
}
.cd-help-sidebar-mobile[open] > summary::after { content: "−"; }
.cd-help-sidebar-mobile[open] > summary {
  border-bottom: 1px solid var(--cd-help-border);
}
.cd-help-sidebar-mobile .cd-help-sidebar {
  padding: 0.75rem 1rem 1rem;
  max-height: 60vh;
}

/* ===== Employee onboarding ======================================*/
.cd-help-onboarding-kicker {
  margin: 0 0 0.35rem;
  font-size: 0.8125rem;
  font-weight: 650;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--cd-help-muted);
}
.cd-help-onboarding-lede {
  font-size: 1.0625rem;
  color: var(--cd-help-muted);
  margin: 0 0 1.5rem;
  max-width: 40rem;
}
.cd-help-onboarding-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 1.75rem;
}
.cd-help-onboarding-jump a {
  display: inline-flex;
  align-items: center;
  min-height: 2.5rem;
  padding: 0.4rem 0.85rem;
  border: 1px solid var(--cd-help-border);
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--cd-help-text);
  background: #fff;
}
.cd-help-onboarding-jump a:hover {
  border-color: var(--cd-help-accent);
  color: var(--cd-help-accent);
}
.cd-help-onboarding-lessons__note {
  color: var(--cd-help-muted);
  margin-bottom: 1rem;
}
.cd-help-onboarding-group {
  margin: 0 0 1.75rem;
  padding: 1.15rem 1.15rem 0.5rem;
  border: 1px solid var(--cd-help-border);
  border-radius: var(--cd-help-radius);
  background: #fff;
}
.cd-help-onboarding-group__header h3 {
  margin: 0 0 0.25rem;
  font-size: 1.125rem;
}
.cd-help-onboarding-group__header p {
  margin: 0 0 0.85rem;
  color: var(--cd-help-muted);
  font-size: 0.9375rem;
}
.cd-help-onboarding-cards {
  list-style: none;
  margin: 0;
  padding: 0;
}
.cd-help-onboarding-cards > li {
  margin: 0 0 0.65rem;
}
.cd-help-onboarding-card {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  min-height: 3.25rem;
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--cd-help-border);
  border-radius: 8px;
  text-decoration: none;
  color: inherit;
  background: var(--cd-help-bg-soft);
}
.cd-help-onboarding-card:hover {
  border-color: var(--cd-help-accent);
  background: #fff;
}
.cd-help-onboarding-card__num {
  flex: 0 0 1.75rem;
  width: 1.75rem;
  height: 1.75rem;
  margin-top: 0.1rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--cd-help-border);
  font-size: 0.8125rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.cd-help-onboarding-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}
.cd-help-onboarding-card__title {
  font-weight: 650;
  color: var(--cd-help-text);
}
.cd-help-onboarding-card__summary {
  font-size: 0.875rem;
  color: var(--cd-help-muted);
}
.cd-help-onboarding-sidebar__groups {
  list-style: none;
  margin: 0;
  padding: 0;
}
.cd-help-onboarding-sidebar__group {
  margin: 0.85rem 0 0.25rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--cd-help-muted);
}
.cd-help-onboarding-sidebar__list {
  list-style: none;
  margin: 0 0 0.35rem;
  padding: 0;
}
.cd-help-onboarding-sidebar__list .cd-help-sidebar__article {
  padding-left: 0.5rem;
}
.cd-help-onboarding-sidebar__more {
  margin: 1rem 0 0;
  font-size: 0.8125rem;
}
.cd-help-body--onboarding > p:first-child {
  font-size: 1.05rem;
}
.cd-help-body--onboarding h2 {
  margin: 1.75rem 0 0.75rem;
  padding: 0.55rem 0 0.45rem;
  border-top: 1px solid var(--cd-help-border);
  font-size: 1.05rem;
  font-weight: 700;
}
.cd-help-body--onboarding h2:first-child {
  border-top: 0;
  margin-top: 0.5rem;
}
.cd-help-body--onboarding h3 {
  font-size: 1rem;
  margin: 1.1rem 0 0.45rem;
}
.cd-help-body--onboarding ol,
.cd-help-body--onboarding ul {
  padding-left: 1.2rem;
}
.cd-help-body--onboarding li {
  margin: 0.35rem 0;
}
.cd-help-body--onboarding .cd-help-more {
  margin-top: 1.25rem;
  padding: 0.85rem 1rem;
  background: var(--cd-help-bg-soft);
  border-radius: 8px;
  font-size: 0.9375rem;
}
.cd-help-demo-block {
  margin: 1.25rem 0 0.5rem;
}
.cd-help-demo {
  margin: 0 0 1.25rem;
}
.cd-help-demo__title {
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.cd-help-demo__frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--cd-help-border);
  border-radius: var(--cd-help-radius);
  overflow: hidden;
  background: var(--cd-help-bg-soft);
}
.cd-help-demo__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  margin: 0;
  aspect-ratio: auto;
  max-width: none;
}
.cd-help-onboarding-nav {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 2.5rem;
}
.cd-help-onboarding-nav__pager {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.cd-help-onboarding-nav__btn {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0.1rem;
  min-height: 2.75rem;
  padding: 0.65rem 1rem;
  border: 1px solid var(--cd-help-border);
  border-radius: var(--cd-help-radius);
  background: #fff;
  color: var(--cd-help-text);
  text-decoration: none;
  font-weight: 600;
  text-align: left;
  max-width: 100%;
}
.cd-help-onboarding-nav__dir {
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  opacity: 0.75;
}
.cd-help-onboarding-nav__title {
  font-size: 0.9375rem;
  line-height: 1.25;
}
.cd-help-onboarding-nav__btn:hover {
  border-color: var(--cd-help-accent);
  color: var(--cd-help-accent);
}
.cd-help-onboarding-nav__btn--primary {
  background: var(--cd-help-accent);
  border-color: var(--cd-help-accent);
  color: #fff;
}
.cd-help-onboarding-nav__btn--primary:hover {
  color: #fff;
  filter: brightness(0.95);
}
@media (min-width: 768px) {
  .cd-help-onboarding-nav {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}
