/* SooperKanoon - Help Center */

.sk-help-page {
  background: linear-gradient(180deg, #f8fafc 0%, #eef2ff 38%, #f8fafc 100%);
  min-height: 60vh;
  padding-bottom: 3rem;
}

.sk-help-hero {
  background: linear-gradient(135deg, #1e1b4b 0%, #312e81 46%, #4338ca 100%);
  border-radius: 0 0 24px 24px;
  padding: 2.5rem 1.5rem 2.75rem;
  margin: 0 -1rem 2rem;
  color: #fff;
  position: relative;
  overflow: hidden;
}

@media (min-width: 640px) {
  .sk-help-hero {
    margin: 0 0 2rem;
    border-radius: 20px;
    padding: 2.75rem 2.25rem 3rem;
  }
}

.sk-help-hero__inner {
  position: relative;
  max-width: 42rem;
  margin: 0 auto;
  text-align: center;
}

.sk-help-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #c7d2fe;
  margin-bottom: 1rem;
}

.sk-help-hero__title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  line-height: 1.15;
}

.sk-help-hero__title span {
  background: linear-gradient(90deg, #c7d2fe, #e0e7ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.sk-help-hero__subtitle {
  margin: 0 auto 1.75rem;
  max-width: 34rem;
  font-size: 1rem;
  line-height: 1.65;
  color: #c7d2fe;
}

.sk-help-search {
  position: relative;
  max-width: 32rem;
  margin: 0 auto;
}

.sk-help-search__icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.125rem;
  height: 1.125rem;
  color: #94a3b8;
  pointer-events: none;
}

.sk-help-search__input {
  width: 100%;
  padding: 0.85rem 2.75rem 0.85rem 2.75rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.95);
  font-size: 1rem;
  color: #1e293b;
}

.sk-help-search__clear {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  display: none;
  padding: 0.25rem;
  border: none;
  background: transparent;
  cursor: pointer;
  color: #64748b;
}

.sk-help-search__clear.is-visible { display: block; }

.sk-help-search-results {
  margin-top: 0.75rem;
  text-align: left;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  max-height: 280px;
  overflow-y: auto;
}

.sk-help-search-results[hidden] { display: none; }

.sk-help-search-results a,
.sk-help-search-results__item {
  display: block;
  padding: 0.75rem 1rem;
  color: #1e293b;
  text-decoration: none;
  border-bottom: 1px solid #f1f5f9;
}

.sk-help-search-results a:hover,
.sk-help-search-results__item:hover { background: #f8fafc; }

.sk-help-search-results__empty {
  padding: 0.75rem 1rem;
  margin: 0;
  color: #64748b;
}

.sk-help-search-results__item strong {
  color: inherit;
}

.sk-help-search-results__item span {
  font-size: 0.8rem;
  color: #64748b;
}

.sk-help-section { margin-bottom: 2.5rem; }

.sk-help-section__title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 1rem;
}

.sk-help-task-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .sk-help-task-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .sk-help-task-grid { grid-template-columns: repeat(4, 1fr); }
}

.sk-help-task-card {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1rem 1.15rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  text-decoration: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.sk-help-task-card:hover {
  border-color: #818cf8;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.12);
}

.sk-help-task-card__title {
  font-weight: 600;
  color: #1e293b;
  font-size: 0.95rem;
}

.sk-help-task-card__sub {
  font-size: 0.8rem;
  color: #64748b;
  line-height: 1.4;
}

.sk-help-start-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .sk-help-start-grid { grid-template-columns: repeat(3, 1fr); }
}

.sk-help-start-card {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.25rem;
  background: #fff;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  text-decoration: none;
}

.sk-help-start-card strong { color: #312e81; }
.sk-help-start-card span { font-size: 0.875rem; color: #64748b; }

.sk-help-module-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}

.sk-help-module-card {
  padding: 1.15rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.sk-help-module-card__title { font-weight: 700; color: #1e293b; }
.sk-help-module-card__sub { font-size: 0.8rem; color: #64748b; }
.sk-help-module-card__count { font-size: 0.75rem; color: #818cf8; margin-top: 0.35rem; }

.sk-help-persona-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .sk-help-persona-grid { grid-template-columns: repeat(2, 1fr); }
}

.sk-help-persona-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1.25rem;
}

.sk-help-persona-card h3 { margin: 0 0 0.35rem; font-size: 1rem; }
.sk-help-persona-card p { margin: 0 0 0.75rem; font-size: 0.875rem; color: #64748b; }
.sk-help-persona-card ul { margin: 0; padding-left: 1.1rem; font-size: 0.875rem; }

.sk-help-faq-list { display: flex; flex-direction: column; gap: 0.5rem; }

.sk-help-faq-item {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 0.75rem 1rem;
}

.sk-help-faq-item summary {
  cursor: pointer;
  font-weight: 600;
  color: #1e293b;
}

.sk-help-faq-item__answer {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  line-height: 1.6;
  color: #475569;
}

.sk-help-cta {
  text-align: center;
  padding: 2rem;
  background: #fff;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
}

.sk-help-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 1rem;
}

.sk-help-cta__btn {
  padding: 0.65rem 1.25rem;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
}

.sk-help-cta__btn--primary { background: #4f46e5; color: #fff; }
.sk-help-cta__btn--ghost { border: 1px solid #cbd5e1; color: #334155; }

/* Layout */
.sk-help-container {
  padding-top: 1.25rem;
  padding-bottom: 3rem;
}

.sk-help-page--article .sk-breadcrumbs__link {
  color: #6366f1;
}

.sk-help-page--article .sk-breadcrumbs__link:hover {
  color: #4338ca;
}

.sk-help-page--article .sk-breadcrumbs__current {
  color: #64748b;
  font-weight: 500;
}

.sk-help-layout {
  display: grid;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 1024px) {
  .sk-help-layout {
    grid-template-columns: 15rem minmax(0, 1fr);
    gap: 2.5rem;
  }
}

.sk-help-main {
  min-width: 0;
}

/* Article hero */
.sk-help-page--article {
  background: #f8fafc;
}

.sk-help-article-hero {
  margin-bottom: 2rem;
  padding: 1.75rem 1.5rem;
  background: linear-gradient(135deg, #1e1b4b 0%, #312e81 55%, #4338ca 100%);
  border-radius: 16px;
  color: #fff;
  box-shadow: 0 12px 32px rgba(49, 46, 129, 0.22);
}

@media (min-width: 640px) {
  .sk-help-article-hero {
    padding: 2rem 2.25rem;
  }
}

.sk-help-article-hero__module {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.85rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #e0e7ff;
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s;
}

.sk-help-article-hero__module:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.sk-help-article-hero__title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  margin-bottom: 0.65rem;
}

.sk-help-article-hero__title {
  margin: 0;
  font-size: clamp(1.65rem, 3.5vw, 2.35rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.sk-help-article-hero__desc {
  margin: 0 0 1.25rem;
  max-width: 42rem;
  font-size: 1rem;
  line-height: 1.65;
  color: #c7d2fe;
}

.sk-help-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.sk-help-badges--hero {
  flex-shrink: 0;
}

.sk-help-badge {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  letter-spacing: 0.02em;
}

.sk-help-badge--free { background: #dcfce7; color: #166534; }
.sk-help-badge--login { background: #fef3c7; color: #92400e; }
.sk-help-badge--paid { background: #ede9fe; color: #5b21b6; }

.sk-help-article-hero .sk-help-badge {
  padding: 0.3rem 0.75rem;
  border: 1px solid transparent;
}

.sk-help-article-hero .sk-help-badge--free {
  background: rgba(220, 252, 231, 0.15);
  border-color: rgba(134, 239, 172, 0.45);
  color: #bbf7d0;
}

.sk-help-article-hero .sk-help-badge--login {
  background: rgba(254, 243, 199, 0.12);
  border-color: rgba(252, 211, 77, 0.4);
  color: #fde68a;
}

.sk-help-article-hero .sk-help-badge--paid {
  background: rgba(237, 233, 254, 0.12);
  border-color: rgba(196, 181, 253, 0.4);
  color: #ddd6fe;
}

.sk-help-try-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.65rem 1.15rem;
  background: #fff;
  color: #312e81;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.925rem;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.15);
  transition: transform 0.15s, box-shadow 0.15s;
}

.sk-help-try-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.2);
  color: #1e1b4b;
}

/* Sidebar TOC */
.sk-help-sidebar {
  display: none;
}

@media (min-width: 1024px) {
  .sk-help-sidebar {
    display: block;
    position: sticky;
    top: 5.5rem;
  }
}

.sk-help-toc {
  padding: 1rem 1.1rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  margin-bottom: 1rem;
}

.sk-help-toc__label {
  margin: 0 0 0.65rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #64748b;
}

.sk-help-toc__list {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: toc;
}

.sk-help-toc__list li {
  margin: 0;
  padding: 0;
}

.sk-help-toc__link {
  display: block;
  padding: 0.4rem 0.5rem 0.4rem 0.75rem;
  border-left: 2px solid transparent;
  font-size: 0.875rem;
  line-height: 1.45;
  color: #475569;
  text-decoration: none;
  border-radius: 0 6px 6px 0;
  transition: color 0.12s, border-color 0.12s, background 0.12s;
}

.sk-help-toc__link:hover {
  color: #4338ca;
  background: #f8fafc;
}

.sk-help-toc__link.is-active {
  color: #4338ca;
  border-left-color: #6366f1;
  background: #eef2ff;
  font-weight: 600;
}

.sk-help-sidebar-card {
  padding: 1rem 1.1rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
}

.sk-help-sidebar-card__title {
  margin: 0 0 0.35rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: #1e293b;
}

.sk-help-sidebar-card__text {
  margin: 0 0 0.75rem;
  font-size: 0.825rem;
  line-height: 1.5;
  color: #64748b;
}

.sk-help-sidebar-card__link {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #4f46e5;
  text-decoration: none;
}

.sk-help-sidebar-card__link--ghost {
  color: #64748b;
}

.sk-help-sidebar-card__link:hover {
  color: #4338ca;
}

/* Article body + section blocks */
.sk-help-article__body {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.sk-help-block {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

.sk-help-block__title {
  margin: 0;
  padding: 1rem 1.25rem 0.85rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  border-bottom: 1px solid #f1f5f9;
  scroll-margin-top: 5.5rem;
}

.sk-help-block__content {
  padding: 1rem 1.25rem 1.25rem;
  line-height: 1.75;
  color: #334155;
  font-size: 0.975rem;
}

.sk-help-block__content > :first-child {
  margin-top: 0;
}

.sk-help-block__content > :last-child {
  margin-bottom: 0;
}

.sk-help-block__content p {
  margin: 0 0 0.85rem;
}

.sk-help-block__content ul,
.sk-help-block__content ol {
  margin: 0 0 0.85rem;
  padding-left: 1.35rem;
}

.sk-help-block__content li {
  margin-bottom: 0.45rem;
}

.sk-help-block__content li:last-child {
  margin-bottom: 0;
}

.sk-help-block__content a {
  color: #4f46e5;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.sk-help-block__content a:hover {
  color: #4338ca;
}

.sk-help-block__content code {
  background: #f1f5f9;
  padding: 0.12rem 0.4rem;
  border-radius: 5px;
  font-size: 0.875em;
  color: #4338ca;
}

.sk-help-block__content strong {
  color: #1e293b;
}

/* Section variants */
.sk-help-block--summary {
  border-color: #c7d2fe;
  background: linear-gradient(180deg, #eef2ff 0%, #fff 100%);
}

.sk-help-block--summary .sk-help-block__title {
  color: #312e81;
  border-bottom-color: #e0e7ff;
}

.sk-help-block--oneliner {
  border-color: #e2e8f0;
  background: #fafafa;
}

.sk-help-block--oneliner .sk-help-block__content {
  font-size: 1.05rem;
  font-style: italic;
  color: #475569;
}

.sk-help-block--prereq {
  border-color: #fde68a;
  background: linear-gradient(180deg, #fffbeb 0%, #fff 100%);
}

.sk-help-block--prereq .sk-help-block__title {
  color: #92400e;
  border-bottom-color: #fef3c7;
}

.sk-help-block--steps .sk-help-block__content ol {
  list-style: none;
  padding-left: 0;
  counter-reset: step;
}

.sk-help-block--steps .sk-help-block__content ol > li {
  position: relative;
  padding-left: 2.75rem;
  margin-bottom: 0.85rem;
  counter-increment: step;
}

.sk-help-block--steps .sk-help-block__content ol > li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0.1rem;
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 999px;
  background: #4f46e5;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.85rem;
  text-align: center;
}

.sk-help-block--preview {
  border-color: #bae6fd;
  background: linear-gradient(180deg, #f0f9ff 0%, #fff 100%);
}

.sk-help-block--preview .sk-help-block__title {
  color: #0369a1;
  border-bottom-color: #e0f2fe;
}

.sk-help-block--mistakes {
  border-color: #fecaca;
  background: linear-gradient(180deg, #fef2f2 0%, #fff 100%);
}

.sk-help-block--mistakes .sk-help-block__title {
  color: #b91c1c;
  border-bottom-color: #fee2e2;
}

.sk-help-block--tips {
  border-color: #bbf7d0;
  background: linear-gradient(180deg, #f0fdf4 0%, #fff 100%);
}

.sk-help-block--tips .sk-help-block__title {
  color: #15803d;
  border-bottom-color: #dcfce7;
}

.sk-help-block--tips .sk-help-block__content ul {
  list-style: none;
  padding-left: 0;
}

.sk-help-block--tips .sk-help-block__content ul > li {
  position: relative;
  padding-left: 1.35rem;
}

.sk-help-block--tips .sk-help-block__content ul > li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #16a34a;
  font-weight: 700;
}

/* Related + footer */
.sk-help-article__faqs,
.sk-help-article__related {
  margin-top: 2rem;
}

.sk-help-related-grid {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .sk-help-related-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.sk-help-related-card {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.15rem 1.25rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  text-decoration: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.sk-help-related-card:hover {
  border-color: #818cf8;
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.12);
}

.sk-help-related-card__title {
  font-weight: 700;
  color: #1e293b;
  font-size: 0.95rem;
}

.sk-help-related-card__desc {
  font-size: 0.85rem;
  color: #64748b;
  line-height: 1.5;
}

.sk-help-related-card__cta {
  margin-top: 0.25rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: #4f46e5;
}

.sk-help-article-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e2e8f0;
}

.sk-help-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 600;
  color: #4f46e5;
  text-decoration: none;
}

.sk-help-back-link--muted {
  color: #64748b;
}

.sk-help-back-link:hover {
  color: #4338ca;
}

/* Module page header */
.sk-help-module-header {
  margin-bottom: 2rem;
  padding: 1.75rem 1.5rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
}

.sk-help-module-header__badge {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: #eef2ff;
  border: 1px solid #c7d2fe;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #4338ca;
  margin: 0;
}

.sk-help-module-header__title {
  margin: 0.5rem 0 0.35rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: #0f172a;
}

.sk-help-module-header__sub {
  margin: 0 0 1rem;
  color: #64748b;
  line-height: 1.6;
}

.sk-help-module-header__link {
  font-weight: 600;
  color: #4f46e5;
  text-decoration: none;
}

.sk-help-article-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.sk-help-article-card__link {
  font-size: 0.85rem;
  font-weight: 600;
  color: #4f46e5;
  text-decoration: none;
}

.sk-help-back { margin-top: 2rem; }
.sk-help-back a { color: #4f46e5; font-weight: 600; }
.sk-help-article-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1.25rem;
}

.sk-help-article-card h2 { margin: 0 0 0.5rem; font-size: 1.1rem; }
.sk-help-article-card h2 a { color: #312e81; text-decoration: none; }
.sk-help-article-card p { margin: 0 0 0.75rem; color: #64748b; font-size: 0.9rem; }

/* In-product tip – compact trigger + dialog */
.sk-help-tip {
  margin: 0.75rem 0;
}

.sk-help-tip__trigger {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  margin: 0;
  padding: 0.5rem 0.75rem;
  border: 1px solid #c7d2fe;
  border-radius: 8px;
  background: linear-gradient(135deg, #f8fafc 0%, #eef2ff 100%);
  color: #312e81;
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.35;
  text-align: left;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.sk-help-tip__trigger:hover,
.sk-help-tip__trigger:focus {
  border-color: #a5b4fc;
  background: #eef2ff;
  box-shadow: 0 1px 4px rgba(79, 70, 229, 0.12);
  outline: none;
}

.sk-help-tip__trigger:focus-visible {
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.25);
}

.sk-help-tip__trigger-text {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.25rem 0.35rem;
  min-width: 0;
}

.sk-help-tip__trigger-label {
  font-weight: 700;
  color: #4338ca;
  white-space: nowrap;
}

.sk-help-tip__trigger-sep {
  color: #94a3b8;
}

.sk-help-tip__trigger-title {
  color: #475569;
  font-weight: 500;
}

.sk-help-tip__icon {
  color: #4f46e5;
  flex-shrink: 0;
}

.sk-help-tip__dialog {
  width: min(420px, calc(100vw - 2rem));
  max-height: calc(100vh - 2rem);
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: transparent;
  overflow: visible;
}

.sk-help-tip__dialog::backdrop {
  background: rgba(15, 23, 42, 0.45);
}

.sk-help-tip__dialog[open] {
  display: flex;
  flex-direction: column;
}

.sk-help-tip__dialog-inner {
  position: relative;
  padding: 1.15rem 1.25rem 1.25rem;
  background: linear-gradient(135deg, #eef2ff 0%, #f8fafc 100%);
  border: 1px solid #c7d2fe;
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.18);
  font-size: 0.9rem;
  overflow-y: auto;
  max-height: calc(100vh - 2rem);
}

.sk-help-tip__dialog-close {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #64748b;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.sk-help-tip__dialog-close:hover,
.sk-help-tip__dialog-close:focus {
  background: rgba(79, 70, 229, 0.1);
  color: #4338ca;
  outline: none;
}

.sk-help-tip__header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 2rem 0.65rem 0;
}

.sk-help-tip__title {
  color: #312e81;
  font-size: 0.95rem;
}

.sk-help-tip__steps {
  margin: 0 0 0.85rem;
  padding-left: 1.25rem;
  color: #475569;
  line-height: 1.55;
}

.sk-help-tip__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.15rem;
  border-top: 1px solid rgba(199, 210, 254, 0.6);
}

.sk-help-tip__link {
  font-weight: 600;
  color: #4f46e5 !important;
  text-decoration: none !important;
}

.sk-help-tip__link:hover,
.sk-help-tip__link:focus {
  color: #4338ca !important;
  text-decoration: underline !important;
}

.sk-help-tip__try {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0.75rem;
  background-color: #4f46e5 !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  border: 0;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.25;
  text-decoration: none !important;
  white-space: nowrap;
}

.sk-help-tip__try:hover,
.sk-help-tip__try:focus {
  background: #4338ca;
  color: #fff !important;
  text-decoration: none !important;
}

.sk-help-home-banner {
  margin-top: 1.5rem;
  padding: 1rem 1.25rem;
  background: #eef2ff;
  border: 1px solid #c7d2fe;
  border-radius: 12px;
  text-align: center;
}

.sk-help-home-banner a:not(.sk-help-tip__try) {
  font-weight: 700;
  color: #4338ca;
}

/* Homepage hero – compact trigger only */
.sk-help-tip--home {
  margin: 0;
}

.sk-help-tip--home .sk-help-tip__trigger {
  padding: 0.625rem 0.875rem;
  border-color: #e2e8f0;
  background: #fff;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
  font-size: 0.875rem;
}

.sk-help-tip--home .sk-help-tip__trigger:hover,
.sk-help-tip--home .sk-help-tip__trigger:focus {
  border-color: #c7d2fe;
  background: #f8fafc;
}

.sk-help-tip--home .sk-help-tip__dialog-inner {
  background: #fff;
  border-color: #e2e8f0;
}

.sk-help-tip--home .sk-help-tip__steps {
  font-size: 0.875rem;
}

.sk-help-tip--home .sk-help-tip__actions {
  border-top-color: #f1f5f9;
}

.sk-help-tip--home .sk-help-tip__try {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  border-radius: 8px;
  min-height: 2.5rem;
}

.sk-case-help-tips--compact {
  margin: 0.75rem 0 1rem;
}

.sk-case-help-tips--compact .sk-help-tip {
  margin: 0;
}

.sk-case-help-tip-wrap {
  display: none;
}

.sk-case-help-tip-wrap.is-active {
  display: block;
}

@media (max-width: 639px) {
  .sk-help-tip__dialog {
    width: calc(100vw - 1.5rem);
  }

  .sk-help-tip__actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
  }

  .sk-help-tip__try {
    width: 100%;
    justify-content: center;
    min-height: 2.5rem;
  }
}

.sk-help-figure {
  margin: 1.25rem 0;
  text-align: center;
}

.sk-help-figure img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08);
}

.sk-help-figure figcaption {
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: #64748b;
}

/* Dark mode - scoped to .sk-help-page and in-product .sk-help-tip */
html[data-sk-theme="dark"] .sk-help-page {
  background: #0f172a;
  color: #e2e8f0;
}

html[data-sk-theme="dark"] .sk-help-page--article,
html[data-sk-theme="dark"] .sk-help-page--module {
  background: #0f172a;
}

/* Section headings */
html[data-sk-theme="dark"] .sk-help-page .sk-help-section__title,
html[data-sk-theme="dark"] .sk-help-page .sk-help-module-header__title,
html[data-sk-theme="dark"] .sk-help-page .sk-help-sidebar-card__title,
html[data-sk-theme="dark"] .sk-help-page .sk-help-related-card__title,
html[data-sk-theme="dark"] .sk-help-page .sk-help-block__title,
html[data-sk-theme="dark"] .sk-help-page .sk-help-cta h2,
html[data-sk-theme="dark"] .sk-help-page .sk-help-persona-card h3 {
  color: #f1f5f9;
}

/* Card / panel backgrounds */
html[data-sk-theme="dark"] .sk-help-page .sk-help-toc,
html[data-sk-theme="dark"] .sk-help-page .sk-help-sidebar-card,
html[data-sk-theme="dark"] .sk-help-page .sk-help-block,
html[data-sk-theme="dark"] .sk-help-page .sk-help-module-header,
html[data-sk-theme="dark"] .sk-help-page .sk-help-article-card,
html[data-sk-theme="dark"] .sk-help-page .sk-help-related-card,
html[data-sk-theme="dark"] .sk-help-page .sk-help-faq-item,
html[data-sk-theme="dark"] .sk-help-page .sk-help-task-card,
html[data-sk-theme="dark"] .sk-help-page .sk-help-start-card,
html[data-sk-theme="dark"] .sk-help-page .sk-help-module-card,
html[data-sk-theme="dark"] .sk-help-page .sk-help-persona-card,
html[data-sk-theme="dark"] .sk-help-page .sk-help-cta,
html[data-sk-theme="dark"] .sk-help-page .sk-help-search-results {
  background: #1e293b;
  border-color: #334155;
}

/* Card titles & primary text */
html[data-sk-theme="dark"] .sk-help-page .sk-help-task-card__title,
html[data-sk-theme="dark"] .sk-help-page .sk-help-module-card__title,
html[data-sk-theme="dark"] .sk-help-page .sk-help-start-card strong,
html[data-sk-theme="dark"] .sk-help-page .sk-help-article-card h2,
html[data-sk-theme="dark"] .sk-help-page .sk-help-article-card h2 a,
html[data-sk-theme="dark"] .sk-help-page .sk-help-faq-item summary {
  color: #f1f5f9;
}

/* Card subtitles & secondary text */
html[data-sk-theme="dark"] .sk-help-page .sk-help-task-card__sub,
html[data-sk-theme="dark"] .sk-help-page .sk-help-module-card__sub,
html[data-sk-theme="dark"] .sk-help-page .sk-help-start-card span,
html[data-sk-theme="dark"] .sk-help-page .sk-help-article-card p,
html[data-sk-theme="dark"] .sk-help-page .sk-help-cta p,
html[data-sk-theme="dark"] .sk-help-page .sk-help-persona-card p,
html[data-sk-theme="dark"] .sk-help-page .sk-help-toc__label {
  color: #94a3b8;
}

/* Accent / links */
html[data-sk-theme="dark"] .sk-help-page .sk-help-module-card__count,
html[data-sk-theme="dark"] .sk-help-page .sk-help-article-card__link,
html[data-sk-theme="dark"] .sk-help-page .sk-help-related-card__cta,
html[data-sk-theme="dark"] .sk-help-page .sk-help-back a,
html[data-sk-theme="dark"] .sk-help-page .sk-help-back-link,
html[data-sk-theme="dark"] .sk-help-page .sk-help-sidebar-card__link,
html[data-sk-theme="dark"] .sk-help-page .sk-help-module-header__link,
html[data-sk-theme="dark"] .sk-help-page .sk-help-persona-card a,
html[data-sk-theme="dark"] .sk-help-page--article .sk-breadcrumbs__link {
  color: #a5b4fc;
}

html[data-sk-theme="dark"] .sk-help-page .sk-help-module-card__count:hover,
html[data-sk-theme="dark"] .sk-help-page .sk-help-article-card__link:hover,
html[data-sk-theme="dark"] .sk-help-page .sk-help-related-card__cta:hover,
html[data-sk-theme="dark"] .sk-help-page .sk-help-back a:hover,
html[data-sk-theme="dark"] .sk-help-page .sk-help-back-link:hover,
html[data-sk-theme="dark"] .sk-help-page .sk-help-sidebar-card__link:hover,
html[data-sk-theme="dark"] .sk-help-page .sk-help-module-header__link:hover,
html[data-sk-theme="dark"] .sk-help-page .sk-help-persona-card a:hover,
html[data-sk-theme="dark"] .sk-help-page--article .sk-breadcrumbs__link:hover {
  color: #c7d2fe;
}

html[data-sk-theme="dark"] .sk-help-page--article .sk-breadcrumbs__current {
  color: #94a3b8;
}

/* Card hover */
html[data-sk-theme="dark"] .sk-help-page .sk-help-task-card:hover,
html[data-sk-theme="dark"] .sk-help-page .sk-help-module-card:hover,
html[data-sk-theme="dark"] .sk-help-page .sk-help-start-card:hover,
html[data-sk-theme="dark"] .sk-help-page .sk-help-related-card:hover {
  border-color: #6366f1;
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.2);
}

/* Article body */
html[data-sk-theme="dark"] .sk-help-page .sk-help-block__content,
html[data-sk-theme="dark"] .sk-help-page .sk-help-faq-item__answer,
html[data-sk-theme="dark"] .sk-help-page .sk-help-module-header__sub,
html[data-sk-theme="dark"] .sk-help-page .sk-help-sidebar-card__text,
html[data-sk-theme="dark"] .sk-help-page .sk-help-related-card__desc,
html[data-sk-theme="dark"] .sk-help-page .sk-help-persona-card li {
  color: #cbd5e1;
}

html[data-sk-theme="dark"] .sk-help-page .sk-help-block__content strong {
  color: #f1f5f9;
}

html[data-sk-theme="dark"] .sk-help-page .sk-help-block__content a,
html[data-sk-theme="dark"] .sk-help-page .sk-help-block__content code {
  color: #a5b4fc;
}

html[data-sk-theme="dark"] .sk-help-page .sk-help-block__content code {
  background: #334155;
}

/* TOC */
html[data-sk-theme="dark"] .sk-help-page .sk-help-toc__link {
  color: #94a3b8;
}

html[data-sk-theme="dark"] .sk-help-page .sk-help-toc__link:hover,
html[data-sk-theme="dark"] .sk-help-page .sk-help-toc__link.is-active {
  color: #c7d2fe;
  background: #334155;
}

/* Section block variants */
html[data-sk-theme="dark"] .sk-help-page .sk-help-block--summary {
  background: linear-gradient(180deg, #312e81 0%, #1e293b 100%);
  border-color: #4338ca;
}

html[data-sk-theme="dark"] .sk-help-page .sk-help-block--summary .sk-help-block__title {
  color: #e0e7ff;
}

html[data-sk-theme="dark"] .sk-help-page .sk-help-block--oneliner {
  background: #1e293b;
  border-color: #475569;
}

html[data-sk-theme="dark"] .sk-help-page .sk-help-block--oneliner .sk-help-block__content {
  color: #cbd5e1;
}

html[data-sk-theme="dark"] .sk-help-page .sk-help-block--prereq {
  background: linear-gradient(180deg, #422006 0%, #1e293b 100%);
  border-color: #92400e;
}

html[data-sk-theme="dark"] .sk-help-page .sk-help-block--prereq .sk-help-block__title {
  color: #fde68a;
}

html[data-sk-theme="dark"] .sk-help-page .sk-help-block--preview {
  background: linear-gradient(180deg, #0c4a6e 0%, #1e293b 100%);
  border-color: #0369a1;
}

html[data-sk-theme="dark"] .sk-help-page .sk-help-block--preview .sk-help-block__title {
  color: #bae6fd;
}

html[data-sk-theme="dark"] .sk-help-page .sk-help-block--mistakes {
  background: linear-gradient(180deg, #450a0a 0%, #1e293b 100%);
  border-color: #b91c1c;
}

html[data-sk-theme="dark"] .sk-help-page .sk-help-block--mistakes .sk-help-block__title {
  color: #fecaca;
}

html[data-sk-theme="dark"] .sk-help-page .sk-help-block--tips {
  background: linear-gradient(180deg, #14532d 0%, #1e293b 100%);
  border-color: #15803d;
}

html[data-sk-theme="dark"] .sk-help-page .sk-help-block--tips .sk-help-block__title {
  color: #bbf7d0;
}

html[data-sk-theme="dark"] .sk-help-page .sk-help-block--steps .sk-help-block__content ol > li::before {
  background: #6366f1;
  color: #fff;
}

html[data-sk-theme="dark"] .sk-help-page .sk-help-block__title {
  border-bottom-color: #334155;
}

html[data-sk-theme="dark"] .sk-help-page .sk-help-article-footer {
  border-top-color: #334155;
}

html[data-sk-theme="dark"] .sk-help-page .sk-help-back-link--muted,
html[data-sk-theme="dark"] .sk-help-page .sk-help-sidebar-card__link--ghost {
  color: #94a3b8;
}

/* Module header badge */
html[data-sk-theme="dark"] .sk-help-page .sk-help-module-header__badge {
  background: #312e81;
  border-color: #4338ca;
  color: #c7d2fe;
}

/* CTA buttons */
html[data-sk-theme="dark"] .sk-help-page .sk-help-cta__btn--ghost {
  border-color: #475569;
  color: #e2e8f0;
}

html[data-sk-theme="dark"] .sk-help-page .sk-help-cta__btn--ghost:hover {
  background: #334155;
  border-color: #64748b;
}

/* Search dropdown (hero stays light input; results panel adapts) */
html[data-sk-theme="dark"] .sk-help-page .sk-help-search-results a,
html[data-sk-theme="dark"] .sk-help-page .sk-help-search-results__item {
  color: #f1f5f9;
  border-bottom-color: #334155;
}

html[data-sk-theme="dark"] .sk-help-page .sk-help-search-results a:hover,
html[data-sk-theme="dark"] .sk-help-page .sk-help-search-results__item:hover {
  background: #334155;
}

html[data-sk-theme="dark"] .sk-help-page .sk-help-search-results__empty,
html[data-sk-theme="dark"] .sk-help-page .sk-help-search-results__item span {
  color: #94a3b8;
}

/* Figure captions */
html[data-sk-theme="dark"] .sk-help-page .sk-help-figure figcaption {
  color: #94a3b8;
}

html[data-sk-theme="dark"] .sk-help-page .sk-help-figure img {
  border-color: #334155;
}

/* In-product tips (outside .sk-help-page) */
html[data-sk-theme="dark"] .sk-help-tip__trigger {
  background: linear-gradient(135deg, #1e293b 0%, #1e1b4b 100%);
  border-color: #4338ca;
  color: #e0e7ff;
}

html[data-sk-theme="dark"] .sk-help-tip__trigger:hover,
html[data-sk-theme="dark"] .sk-help-tip__trigger:focus {
  background: #312e81;
  border-color: #6366f1;
}

html[data-sk-theme="dark"] .sk-help-tip__trigger-label {
  color: #c7d2fe;
}

html[data-sk-theme="dark"] .sk-help-tip__trigger-title {
  color: #94a3b8;
}

html[data-sk-theme="dark"] .sk-help-tip__dialog-inner {
  background: linear-gradient(135deg, #1e1b4b 0%, #1e293b 100%);
  border-color: #4338ca;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}

html[data-sk-theme="dark"] .sk-help-tip__dialog-close {
  color: #94a3b8;
}

html[data-sk-theme="dark"] .sk-help-tip__dialog-close:hover,
html[data-sk-theme="dark"] .sk-help-tip__dialog-close:focus {
  background: rgba(99, 102, 241, 0.2);
  color: #e0e7ff;
}

html[data-sk-theme="dark"] .sk-help-tip__title {
  color: #e0e7ff;
}

html[data-sk-theme="dark"] .sk-help-tip__steps {
  color: #cbd5e1;
}

html[data-sk-theme="dark"] .sk-help-tip__actions {
  border-top-color: #334155;
}

html[data-sk-theme="dark"] .sk-help-tip__link {
  color: #a5b4fc !important;
}

html[data-sk-theme="dark"] .sk-help-tip__link:hover,
html[data-sk-theme="dark"] .sk-help-tip__link:focus {
  color: #c7d2fe !important;
}

html[data-sk-theme="dark"] .sk-help-tip__try {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  background-color: #4f46e5 !important;
  text-decoration: none !important;
}

html[data-sk-theme="dark"] .sk-help-tip__try:hover,
html[data-sk-theme="dark"] .sk-help-tip__try:focus {
  background: #6366f1;
  color: #fff !important;
}

html[data-sk-theme="dark"] .sk-help-tip--home .sk-help-tip__trigger {
  background: #1e293b;
  border-color: #334155;
  box-shadow: none;
}

html[data-sk-theme="dark"] .sk-help-tip--home .sk-help-tip__trigger:hover,
html[data-sk-theme="dark"] .sk-help-tip--home .sk-help-tip__trigger:focus {
  background: #334155;
  border-color: #475569;
}

html[data-sk-theme="dark"] .sk-help-tip--home .sk-help-tip__dialog-inner {
  background: #1e293b;
  border-color: #334155;
}

html[data-sk-theme="dark"] .sk-help-tip--home .sk-help-tip__actions {
  border-top-color: #334155;
}

html[data-sk-theme="dark"] .sk-help-home-banner {
  background: #1e293b;
  border-color: #4338ca;
  color: #cbd5e1;
}

html[data-sk-theme="dark"] .sk-help-home-banner a:not(.sk-help-tip__try) {
  color: #a5b4fc;
}
