:root {
  --body-font-family: "Inter", system-ui, -apple-system, sans-serif;
  --headlines-font-family: "Inter", system-ui, -apple-system, sans-serif;
  --primaryColor: #5A9D9D;
  --neutral-100: #f5f5f5;
  --neutral-200: #e5e5e5;
  --neutral-400: #a3a3a3;
  --neutral-500: #737373;
  --neutral-600: #525252;
  --neutral-700: #404040;
  --neutral-800: #262626;
  --neutral-900: #171717;
  --neutral-base: #ffffff;
  --blue-50: #eff6ff;
  --blue-100: #dbeafe;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --sl-color-primary: #5A9D9D;
  --sl-color-primary-inverse: #FFFFFF;
  --sl-font-heading: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --sl-font-text: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --sl-spacer: 1rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--body-font-family);
  color: var(--neutral-900);
  background: var(--neutral-base);
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Layout */

.kb-page-layout {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.kb-content-wrapper {
  display: flex;
  width: 100%;
  flex: 1;
  justify-content: center;
  padding: 24px;
  background: var(--neutral-base);
  margin-top: 4px;
}

.kb-collection-content-wrapper {
  display: flex;
  width: 100%;
  flex: 1;
  justify-content: center;
  padding: 0 24px 24px 24px;
  background: var(--neutral-base);
}

.kb-collection-content-wrapper #kb-search-results {
  margin-top: 24px;
}

.kb-content {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  flex: 1;
}

/* Banner */

.kb-banner {
  position: relative;
  z-index: 1;
  height: 220px;
  min-height: 220px;
  transition: height 500ms ease-in-out, min-height 500ms ease-in-out;
}

.kb-banner[data-kb-state="searching"] {
  height: 128px;
  min-height: 128px;
}

.kb-banner-bg {
  position: absolute;
  inset: 0;
  overflow: clip;
  z-index: -1;
}

.kb-banner-bg-color {
  position: absolute;
  z-index: -1;
  width: 100%;
  height: 280px;
  overflow: clip;
  background-size: cover;
  background-position: center;
  opacity: 1;
  transition: height 500ms ease-in-out, opacity 500ms ease-in-out;
}

.kb-banner[data-kb-state="searching"] .kb-banner-bg-color {
  height: 128px;
  opacity: 0;
}

.kb-banner-bg-blur {
  pointer-events: none;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1000px;
  max-width: 100%;
  height: 1000px;
  transform: translate(-50%, -50%);
  filter: blur(180px);
  opacity: 0.15;
  transition: opacity 500ms ease-in-out;
}

.kb-banner[data-kb-state="searching"] .kb-banner-bg-blur {
  opacity: 0;
}

.kb-banner-bg-image {
  position: absolute;
  z-index: -1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  transition: opacity 500ms ease-in-out;
}

.kb-banner[data-kb-state="searching"] .kb-banner-bg-image {
  opacity: 0;
}

.kb-banner-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 24px 0 24px;
  margin-bottom: 0 !important;
}

.kb-banner-title {
  display: flex;
  max-width: 100%;
  overflow: hidden;
  text-align: center;
  font-weight: 600;
  font-size: 36px;
  height: 54px;
  margin-top: 24px;
  margin-bottom: 16px;
  opacity: 1;
  transition: opacity 500ms ease-in-out, height 500ms ease-in-out,
    margin 500ms ease-in-out;
  font-family: var(--headlines-font-family);
}

.kb-banner-title-text {
  line-height: 1.5;
}

.kb-banner[data-kb-state="searching"] .kb-banner-title {
  height: 0;
  margin: 0;
  opacity: 0;
}

.kb-banner-title span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.kb-banner--dark-text {
  color: var(--neutral-900);
}

.kb-banner--light-text {
  color: var(--neutral-base);
}

.kb-logo-bright {
  display: none;
}

.kb-banner--light-text .kb-logo-default {
  display: none;
}

.kb-banner--light-text .kb-logo-bright {
  display: block;
}

.kb-banner[data-kb-state="searching"].kb-banner--light-text {
  color: var(--neutral-900);
}

.kb-banner[data-kb-state="searching"].kb-banner--light-text .kb-logo-default {
  display: block;
}

.kb-banner[data-kb-state="searching"].kb-banner--light-text .kb-logo-bright {
  display: none;
}

.kb-banner[data-kb-state="searching"].kb-banner--light-text .kb-auth-button {
  border-color: var(--neutral-200);
  color: var(--neutral-900);
}

.kb-search-container {
  position: relative;
  max-width: 100%;
  width: 512px;
  transition: width 500ms ease-in-out;
}

.kb-banner[data-kb-state="searching"] .kb-search-container {
  width: 1000px;
}

/* Search Input */

.kb-search-icon {
  pointer-events: none;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: center;
  padding-left: 12px;
  color: var(--neutral-500);
}

.kb-search-icon svg {
  width: 20px;
  height: 20px;
}

.KnowledgeBaseSearchInput {
  font-size: 14px;
  height: 44px;
  width: 100%;
  padding-left: 38px;
  padding-right: 12px;
  border-radius: 8px;
  border: 1px solid transparent;
  outline: 1px solid rgba(0, 0, 0, 0.1);
  background: var(--neutral-base);
  font-family: var(--body-font-family);
  color: var(--neutral-900);
}

.KnowledgeBaseSearchInput:hover {
  box-shadow: 0px 2px 8px 0px rgba(0, 0, 0, 0.08);
}

.KnowledgeBaseSearchInput:focus {
  box-shadow: 0px 2px 8px 0px rgba(0, 0, 0, 0.08);
  border: 1px solid transparent;
  outline-offset: 0px;
  outline: 1px solid var(--primaryColor);
}

.KnowledgeBaseSearchInput::placeholder {
  color: var(--neutral-500);
}

/* Search results visibility */

#kb-search-results {
  display: none;
}

.kb-banner[data-kb-state="searching"] ~ .kb-content-wrapper #kb-search-results {
  display: block;
}

.kb-banner[data-kb-state="searching"]
  ~ .kb-content-wrapper
  .kb-homepage-content {
  display: none;
}

/* Header */

.kb-header {
  position: relative;
  display: flex;
  width: 100%;
  justify-content: center;
  padding: 4px;
}

.kb-header-inner {
  display: flex;
  max-width: 1000px;
  flex: 1;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin: 0 auto;
}

.kb-header-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.kb-header-logo img {
  height: 32px;
  flex-shrink: 0;
}

.kb-header-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.kb-header-link {
  font-size: 14px;
  font-weight: 500;
  transition: opacity 0.2s;
}

.kb-header-link:hover {
  opacity: 0.7;
}

@media (max-width: 640px) {
  .kb-header-link {
    display: none;
  }
}

.kb-header-hamburger {
  display: none;
  align-items: center;
  justify-content: center;
  padding: 4px;
  border: none;
  background: none;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  color: inherit;
  flex-shrink: 0;
}

@media (max-width: 640px) {
  .kb-header-hamburger {
    display: flex;
  }
}

.kb-header-mobile-nav {
  display: none;
  flex-direction: column;
  position: absolute;
  top: calc(100% - 4px);
  left: 24px;
  right: 24px;
  background: var(--neutral-base);
  border: 1px solid var(--neutral-200);
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  padding: 4px 0;
  z-index: 50;
}

.kb-header--menu-open .kb-header-mobile-nav {
  display: flex;
}

@media (min-width: 641px) {
  .kb-header--menu-open .kb-header-mobile-nav {
    display: none;
  }
}

.kb-header-mobile-link {
  font-size: 14px;
  font-weight: 500;
  padding: 8px 16px;
  color: var(--neutral-900);
  border-radius: 4px;
  margin: 0 4px;
  transition: background-color 0.15s;
}

.kb-header-mobile-link:hover {
  background-color: var(--neutral-100);
}

.kb-header--dark-text .kb-header-link {
  color: var(--neutral-900);
}

.kb-header--light-text .kb-header-link {
  color: var(--neutral-base);
}

/* Auth Button */

.kb-auth-wrapper {
  position: relative;
}

.kb-auth-button {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px 4px 12px;
  border: 1px solid rgba(23, 23, 23, 0.2);
  border-radius: 4px;
  background: transparent;
  font-family: inherit;
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  color: var(--neutral-900);
  cursor: pointer;
  transition: all 0.15s;
}

.kb-auth-button:hover {
  background: rgba(229, 229, 229, 0.1);
}

.kb-banner--light-text .kb-auth-button {
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--neutral-base);
}

.kb-auth-logout {
  gap: 8px;
  padding: 4px 12px 4px 10px;
}

.kb-auth-avatar {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  object-fit: cover;
}

.kb-auth-chevron {
  flex-shrink: 0;
}

.kb-auth-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  white-space: nowrap;
  padding: 4px 0;
  background: var(--neutral-base);
  border-radius: 4px;
  box-shadow: 0px 2px 8px 0px rgba(0, 0, 0, 0.12);
  z-index: 100;
}

.kb-auth-dropdown-item {
  display: block;
  width: 100%;
  padding: 8px 16px;
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: 14px;
  color: var(--neutral-900);
  text-align: left;
  cursor: pointer;
}

.kb-auth-dropdown-item:hover {
  background: var(--neutral-100);
}

/* Locale Switcher */

#kb-locale:empty {
  display: none;
}

.kb-locale-wrapper {
  position: relative;
}

.kb-locale-button {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  color: inherit;
  cursor: pointer;
  transition: opacity 0.2s;
}

.kb-locale-button:hover {
  opacity: 0.7;
}

.kb-locale-globe {
  flex-shrink: 0;
}

.kb-locale-chevron {
  flex-shrink: 0;
}

.kb-locale-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  white-space: nowrap;
  padding: 4px 0;
  max-height: 240px;
  overflow-y: auto;
  background: var(--neutral-base);
  border-radius: 4px;
  box-shadow: 0px 2px 8px 0px rgba(0, 0, 0, 0.12);
  z-index: 100;
}

.kb-locale-dropdown-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 8px 16px;
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: 14px;
  color: var(--neutral-900);
  text-align: left;
  cursor: pointer;
}

.kb-locale-dropdown-item:hover {
  background: var(--neutral-100);
}

.kb-locale-dropdown-item--active {
  font-weight: 500;
}

/* Collections Grid */

.kb-collections-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.kb-collection-card {
  display: flex;
  flex-direction: column;
  border-radius: 8px;
  border: 1px solid var(--neutral-200);
  padding: 16px;
  transition: box-shadow 0.2s;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

.kb-collection-card:hover {
  box-shadow: 0px 2px 8px 0px rgba(0, 0, 0, 0.08);
}

.kb-collection-card-icon {
  margin-bottom: 8px;
  flex-shrink: 0;
  color: var(--neutral-400);
  height: 24px;
}

.kb-collection-card-icon svg {
  width: 24px;
  height: 24px;
}

.kb-collection-card-icon .kb-collection-custom-icon {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.kb-collection-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 6px;
  overflow: hidden;
}

.kb-collection-card-title {
  font-family: var(--headlines-font-family);
  font-weight: 500;
  color: var(--neutral-900);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 1.5;
}

.kb-collection-card-description {
  font-size: 14px;
  color: var(--neutral-800);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 44px;
  line-height: calc(1.25 / 0.875);
}

.kb-collection-card-count {
  margin-top: 8px;
  font-size: 12px;
  color: var(--neutral-500);
  line-height: calc(1 / 0.75);
}

/* Popular Articles */

.kb-popular-articles {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.kb-popular-articles-title {
  font-family: var(--headlines-font-family);
  font-size: 18px;
  font-weight: 600;
  color: var(--neutral-900);
}

.kb-article-card {
  display: flex;
  align-items: center;
  border-radius: 8px;
  border: 1px solid var(--neutral-200);
  padding: 16px;
  transition: box-shadow 0.2s;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

.kb-article-card:hover {
  box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.08);
}

.kb-article-card-icon {
  flex-shrink: 0;
  color: var(--neutral-400);
  margin-right: 8px;
  height: 20px;
}

.kb-article-card-icon svg {
  width: 20px;
  height: 20px;
}

.kb-article-card-title {
  flex: 1;
  color: var(--neutral-900);
}

.kb-article-card-chevron {
  width: 16px;
  height: 16px;
  color: var(--neutral-600);
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

/* Footer */

.kb-footer {
  background: var(--neutral-base);
}

.kb-footer-divider {
  height: 1px;
  width: 100%;
  flex-shrink: 0;
  background: var(--neutral-200);
  margin-top: 40px;
}

.kb-footer-content {
  display: flex;
  width: 100%;
  justify-content: center;
  padding: 24px 24px 48px;
  margin-top: 8px;
}

@media (max-width: 640px) {
  .kb-footer-content {
    padding-bottom: 60px;
  }
}

.kb-footer-inner {
  display: flex;
  max-width: 1000px;
  flex: 1;
  flex-direction: column;
  gap: 32px;
  margin: 0 auto;
}

.kb-footer-sections {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px 0;
}

.kb-footer-links-group {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  font-size: 14px;
}

.kb-footer-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-right: 32px;
}

.kb-footer-section-title {
  font-family: var(--headlines-font-family);
  font-weight: 500;
  color: var(--neutral-900);
  margin-bottom: 4px;
}

.kb-footer-section-links {
  display: flex;
  flex: 1;
  flex-direction: column;
  flex-wrap: wrap;
  gap: 16px;
}

.kb-footer-section-link {
  color: var(--neutral-600);
  transition: color 0.2s;
  line-height: calc(1.25 / 0.875);
}

.kb-footer-section-link:hover {
  color: var(--neutral-700);
}

.kb-footer-social-links {
  display: flex;
  gap: 16px;
}

.kb-footer-social-link {
  color: var(--neutral-600);
  transition: color 0.2s;
}

.kb-footer-social-link:hover {
  color: var(--neutral-700);
}

.kb-footer-bottom {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
}

.kb-footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.kb-footer-logo img {
  height: 32px;
  flex-shrink: 0;
  border-radius: 4px;
}

.kb-powered-by {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: var(--slate-400);
  transition: color 0.2s;
}

.kb-powered-by:hover {
  color: var(--slate-500);
}

.kb-powered-by img {
  height: 14px;
  width: auto;
}

.kb-powered-by span {
  display: flex;
  align-items: center;
  gap: 2px;
  font-weight: 500;
}

/* Search Results */

.kb-search-input-wrapper {
  position: relative;
}

.kb-search-results-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.kb-search-result-skeleton {
  height: 100px;
  width: 100%;
  background: var(--neutral-100);
  border-radius: 8px;
  animation: kb-pulse 2s ease-in-out infinite;
}

@keyframes kb-pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.kb-search-result-item {
  display: flex;
  flex-direction: column;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  margin-inline: 8px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--neutral-200);
}

.kb-search-result-item:hover .kb-search-result-title {
  color: var(--neutral-900);
}

.kb-search-result-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  margin-bottom: 4px;
  line-height: calc(1 / 0.75);
}

.kb-search-result-breadcrumbs svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--neutral-500);
}

.kb-search-result-breadcrumb-segment {
  display: flex;
  align-items: center;
  gap: 4px;
}

.kb-search-result-breadcrumb-segment svg {
  width: 14px;
  height: 14px;
}

.kb-search-result-breadcrumb-link {
  color: var(--neutral-900);
  text-decoration: none;
}

.kb-search-result-badge {
  border-radius: 2px;
  background-color: var(--neutral-200, #e5e5e5);
  padding: 2px 8px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--neutral-800, #262626);
  line-height: calc(1 / 0.75);
}

.kb-search-result-breadcrumb-link:hover {
  text-decoration: underline;
}

.kb-search-result-title {
  font-size: 18px;
  font-weight: 500;
  color: var(--neutral-800);
  transition: color 0.2s ease-in-out;
  line-height: 1.5;
}

.kb-search-result-highlight {
  line-height: 1.5;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.kb-search-result-highlight em,
.kb-search-result-highlight mark,
.kb-search-result-highlight .highlight-result {
  font-style: normal;
  font-weight: 400;
  background-color: var(--blue-100);
}

.kb-search-result-breadcrumb-favicon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  border-radius: 2px;
}

.kb-search-no-results {
  padding: 24px 0;
  text-align: center;
  color: var(--neutral-500);
}

/* Ask AI synthesized response */

.kb-ask-ai {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-inline: 8px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--neutral-200);
}

.kb-ask-ai-header {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
  color: var(--neutral-600);
}

.kb-ask-ai-header svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.kb-ask-ai-body {
  overflow: hidden;
  transition: max-height 0.2s ease-in-out;
}

.kb-ask-ai-body--clamped {
  max-height: 124px;
  -webkit-mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
}

.kb-ask-ai-title {
  font-weight: 600;
  font-size: 16px;
  color: var(--neutral-900);
  line-height: 1.5;
  margin-bottom: 4px;
}

.kb-ask-ai-response {
  line-height: 1.5;
  white-space: pre-line;
}

/* Sources chip + popover */

.kb-sources-chip-wrapper {
  display: inline-flex;
  margin-top: -2px;
  align-items: center;
  justify-content: center;
  height: 20px;
  padding-inline: 2px;
}

.kb-sources-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 4px;
  font-size: 12px;
  line-height: 1;
  cursor: pointer;
  background: var(--neutral-100);
  color: var(--neutral-600);
  transition: background-color 0.1s ease-in-out;
}

.kb-sources-chip:hover {
  background: var(--neutral-200);
}

.kb-sources-popover {
  position: absolute;
  left: 0;
  top: 100%;
  z-index: 50;
  min-width: 400px;
  max-width: 535px;
  background: var(--neutral-0, #fff);
  border: 1px solid var(--neutral-200);
  border-radius: 6px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.kb-sources-popover-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 4px;
  border-radius: 4px;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: background-color 0.1s ease-in-out;
}

.kb-sources-popover-row:hover {
  background: var(--neutral-100);
}

.kb-sources-popover-index {
  flex-shrink: 0;
  width: 16px;
  text-align: center;
  font-size: 13px;
  color: var(--neutral-500);
}

.kb-sources-popover-title {
  flex: 1;
  min-width: 0;
  font-size: 13px;
  color: var(--neutral-900);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.kb-sources-popover-meta {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--neutral-500);
}

.kb-sources-popover-domain {
  white-space: nowrap;
}

.kb-sources-popover-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.kb-sources-popover-icon svg {
  width: 16px;
  height: 16px;
}

.kb-sources-popover-favicon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  border-radius: 2px;
  object-fit: contain;
}

.kb-ask-ai-feedback {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
}

.kb-ask-ai-feedback-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  border: none;
  outline: none;
  background: transparent;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  border-radius: 4px;
  color: var(--neutral-400);
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out;
}

.kb-ask-ai-feedback-btn:hover {
  color: var(--neutral-600);
  background-color: var(--neutral-100);
}

.kb-ask-ai-feedback-btn svg {
  width: 14px;
  height: 14px;
}

.kb-ask-ai-feedback-result {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--neutral-900);
}

.kb-ask-ai-feedback-result svg {
  width: 14px;
  height: 14px;
}

.kb-ask-ai-toggle {
  font-size: 14px;
  font-weight: 500;
  color: var(--primaryColor);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  text-align: left;
}

.kb-ask-ai-toggle:hover {
  text-decoration: underline;
}

/* Search results + filter wrapper */

.kb-search-results-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

@media (min-width: 640px) {
  .kb-search-results-wrapper {
    flex-direction: row;
    gap: 16px;
  }

  .kb-search-results-wrapper > .kb-search-results-list {
    flex: 1;
    min-width: 0;
  }
}

/* Search filter sidebar */

.kb-search-filter {
  width: 240px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.kb-search-filter-heading {
  font-size: 12px;
  font-weight: 500;
  color: var(--neutral-600);
}

.kb-search-filter-section-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--neutral-900);
  font-family: var(--headlines-font-family);
}

.kb-search-filter-checkboxes {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px;
}

.kb-filter-checkbox-label {
  --unchecked-border-color: var(--neutral-400);
  --unchecked-hover-color: var(--neutral-100);
  --checked-color: oklch(
    from var(--checkboxColor, var(--primaryColor)) min(l, 0.5) max(c, 0.1) h
  );
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  font-size: 14px;
  color: var(--neutral-900);
}

.kb-filter-checkbox-input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.kb-filter-checkbox-custom {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  border: 1px solid var(--unchecked-border-color);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  background-color: transparent;
  transition: background-color 0.1s ease-in, border-color 0.1s ease-in;
}

.kb-filter-checkbox-custom svg {
  width: 1rem;
  height: 1rem;
  opacity: 0;
  transition: opacity 0.1s ease-in-out;
}

.kb-filter-checkbox-input:checked + .kb-filter-checkbox-custom {
  background-color: var(--checked-color);
  border-color: var(--checked-color);
}

.kb-filter-checkbox-input:checked + .kb-filter-checkbox-custom svg {
  opacity: 1;
}

.kb-filter-checkbox-label:hover
  .kb-filter-checkbox-input:not(:checked)
  + .kb-filter-checkbox-custom {
  background-color: var(--unchecked-hover-color);
}

.kb-filter-checkbox-label:hover
  .kb-filter-checkbox-input:checked
  + .kb-filter-checkbox-custom {
  background-color: color-mix(in oklch, var(--checked-color), black 15%);
  border-color: color-mix(in oklch, var(--checked-color), black 15%);
}

.kb-filter-checkbox-content {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.kb-filter-checkbox-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.kb-filter-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--neutral-500);
}

.kb-filter-icon svg {
  width: 20px;
  height: 20px;
}

.kb-filter-favicon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  border-radius: 2px;
}

/* Breadcrumbs */

.kb-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  line-height: calc(1 / 0.75);
}

.kb-breadcrumb-link {
  color: var(--neutral-900);
  text-decoration: none;
}

.kb-breadcrumb-link:hover {
  text-decoration: underline;
}

.kb-breadcrumb-separator {
  color: var(--neutral-500);
  font-size: 14px;
}

.kb-breadcrumb-current {
  color: var(--neutral-500);
}

/* Article Badges */

.kb-article-badges-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.kb-article-badges {
  display: flex;
  align-items: center;
  gap: 6px;
}

.kb-article-badge {
  border-radius: 2px;
  background-color: var(--neutral-200, #e5e5e5);
  padding: 2px 8px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--neutral-800, #262626);
  line-height: calc(1 / 0.75);
}

/* Collection Page */

.kb-collection-page-content {
  display: flex;
  flex-direction: column;
  margin-top: 24px;
}

.kb-collection-page-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
}

.kb-collection-page-icon {
  flex-shrink: 0;
  color: var(--neutral-400);
  height: 28px;
}

.kb-collection-page-icon svg {
  width: 28px;
  height: 28px;
}

.kb-collection-page-icon .kb-collection-custom-icon {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.kb-collection-page-title {
  font-family: var(--headlines-font-family);
  font-size: 24px;
  font-weight: 600;
  color: var(--neutral-900);
  line-height: 1.5;
}

.kb-collection-page-description {
  margin-top: 16px;
  color: var(--neutral-700);
  line-height: 1.5;
}

.kb-collection-page-items {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 24px;
}

/* Article Page */

.kb-article-content-wrapper {
  display: flex;
  width: 100%;
  flex: 1;
  justify-content: center;
  padding: 0 24px 24px 24px;
  background: var(--neutral-base);
}

.kb-article-content-wrapper #kb-search-results {
  margin-top: 24px;
}

.kb-article-page-content {
  display: flex;
  flex-direction: column;
  margin-top: 24px;
}

.kb-article-layout {
  display: flex;
  gap: 44px;
  position: relative;
}

.kb-article-main {
  width: 100%;
  min-width: 0;
  max-width: 640px;
  margin: 0 auto;
}

.kb-article-header {
  margin-top: 16px;
}

.kb-article-title {
  font-family: var(--headlines-font-family);
  font-size: 24px;
  font-weight: 600;
  color: var(--neutral-900);
  line-height: 1.4;
  word-break: break-word;
}

.kb-article-meta {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 8px;
  font-size: 12px;
  color: var(--neutral-500);
}

.kb-article-edit-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: 4px;
}

.kb-article-edit-link > svg {
  width: 4px;
  height: 4px;
  flex-shrink: 0;
}

.kb-article-edit-link a svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.kb-article-edit-link a {
  font-weight: 500;
  color: var(--neutral-600);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}

.kb-article-edit-link a:hover {
  text-decoration: underline;
}

.kb-article-body {
  margin-top: 24px;
  line-height: 1.6;
  font-size: 16px;
  color: var(--neutral-900);
  word-break: break-word;
}

.kb-article-body h1,
.kb-article-body h2,
.kb-article-body h3 {
  font-family: var(--headlines-font-family);
  font-weight: 600;
  color: var(--neutral-900);
  cursor: pointer;
}

.kb-article-body h1 {
  font-size: 20px;
  line-height: 28px;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.kb-article-body h2 {
  font-size: 18px;
  line-height: 25px;
  margin-top: 1.75rem;
  margin-bottom: 1rem;
}

.kb-article-body h3 {
  font-size: 16px;
  line-height: 22px;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  font-weight: 500;
}

.kb-article-body p {
  margin: 0.4rem 0;
  line-height: 24px;
}

.kb-article-body a {
  color: var(--text-link-color, var(--primaryColor));
  text-decoration: underline;
}

.kb-article-body a:hover {
  opacity: 0.8;
}

.kb-article-body ul,
.kb-article-body ol {
  padding-left: 1.5rem;
  margin: 0.5rem 0;
}

.kb-article-body li {
  margin: 0.25rem 0;
  line-height: 24px;
}

.kb-article-body img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 1rem 0;
}

.kb-article-body img[data-width="25%"] { width: 25%; }
.kb-article-body img[data-width="50%"] { width: 50%; }
.kb-article-body img[data-width="75%"] { width: 75%; }
.kb-article-body img[data-width="100%"] { width: 100%; }

.kb-article-body img[data-align="center"] {
  margin-left: auto;
  margin-right: auto;
}

.kb-article-body img[data-align="left"] {
  margin-left: 0;
  margin-right: auto;
}

.kb-article-body img[data-align="right"] {
  margin-left: auto;
  margin-right: 0;
}

.kb-article-body pre {
  background: var(--neutral-100);
  border-radius: 8px;
  padding: 16px;
  overflow-x: auto;
  margin: 1rem 0;
  font-size: 14px;
  line-height: 1.5;
}

.kb-article-body code {
  background: var(--neutral-100);
  border-radius: 4px;
  padding: 2px 6px;
  font-size: 14px;
}

.kb-article-body pre code {
  background: none;
  padding: 0;
  border-radius: 0;
}

.kb-article-body blockquote {
  border-left: 3px solid var(--neutral-200);
  padding-left: 16px;
  margin: 1rem 0;
  color: var(--neutral-600);
}

.kb-article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
  font-size: 14px;
}

.kb-article-body th,
.kb-article-body td {
  border: 1px solid var(--neutral-200);
  padding: 8px 12px;
  text-align: left;
}

.kb-article-body th {
  background: var(--neutral-100);
  font-weight: 600;
}

.kb-article-body hr {
  border: none;
  border-top: 1px solid var(--neutral-200);
  margin: 1.5rem 0;
}

/* Tiptap Article Content */

.kb-article-body .ProseMirror {
  outline: none;
}

.kb-article-body .ProseMirror > * {
  max-width: 640px;
  margin-block: 0.75rem;
}

.kb-article-body .ProseMirror p {
  margin-block: 0.4rem;
  line-height: 24px;
  font-size: 16px;
  color: var(--neutral-900);
}

.kb-article-body .ProseMirror p:first-child {
  margin-top: 0;
}

.kb-article-body .ProseMirror h1 {
  font-size: 20px;
  font-weight: 600;
  line-height: 28px;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: var(--neutral-900);
}

.kb-article-body .ProseMirror h2 {
  font-size: 18px;
  font-weight: 600;
  line-height: 25px;
  margin-top: 1.75rem;
  margin-bottom: 1rem;
  color: var(--neutral-900);
}

.kb-article-body .ProseMirror h3 {
  font-size: 16px;
  font-weight: 500;
  line-height: 22px;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  color: var(--neutral-900);
}

.kb-article-body .ProseMirror h1,
.kb-article-body .ProseMirror h2,
.kb-article-body .ProseMirror h3 {
  font-family: var(--headlines-font-family);
  cursor: pointer;
  position: relative;
}

.kb-article-body .ProseMirror h1:hover::before,
.kb-article-body .ProseMirror h2:hover::before,
.kb-article-body .ProseMirror h3:hover::before {
  content: "#";
  position: absolute;
  left: -20px;
  color: var(--neutral-400);
}

.kb-article-body .ProseMirror a {
  color: var(--text-link-color, var(--primaryColor));
  cursor: pointer;
  text-decoration: none;
}

.kb-article-body .ProseMirror a:hover {
  text-decoration: underline;
}

.kb-article-body .ProseMirror img {
  display: block;
  height: auto;
  width: 100%;
  max-width: 100%;
  border-radius: 4px;
}

.kb-article-body .node-imageBlock button:not(dialog *) {
  display: block;
  width: 100%;
  background: none;
  border: none;
  padding: 0;
  cursor: zoom-in;
  text-align: inherit;
}

.kb-article-body dialog.dialog > section {
  width: fit-content;
  margin: auto;
  transform: translateY(calc(50vh - 50%));
}

.kb-article-body .kb-image-preview {
  position: relative;
  overflow: hidden;
  border-radius: 0.5rem;
  display: inline-block;
}

.kb-article-body .kb-image-preview-close {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  z-index: 1;
}

.kb-article-body .kb-image-preview-close button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  padding: 0;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--neutral-200);
  border-radius: 0.375rem;
  cursor: pointer;
  color: var(--neutral-700);
  line-height: 1;
}

.kb-article-body .kb-image-preview-close button:hover {
  background: rgba(255, 255, 255, 1);
}

.kb-article-body .kb-image-preview-close button div {
  display: flex;
  align-items: center;
  justify-content: center;
}

.kb-article-body .kb-image-preview-close button svg {
  width: 18px;
  height: 18px;
}

.kb-article-body .kb-image-preview-img {
  width: auto;
  max-height: 80vh;
  max-width: 100%;
  object-fit: contain;
  margin: 0;
  border-radius: 0;
}

.kb-article-body .kb-image-wrapper[data-align="center"] {
  margin-left: auto;
  margin-right: auto;
}

.kb-article-body .kb-image-wrapper[data-align="left"] {
  margin-left: 0;
  margin-right: auto;
}

.kb-article-body .kb-image-wrapper[data-align="right"] {
  margin-left: auto;
  margin-right: 0;
}

.kb-article-body .kb-image {
  display: block;
  width: 100%;
  margin: 0;
  overflow: hidden;
  border-radius: 4px;
}

.kb-article-body .ProseMirror figure {
  margin: 1.5rem 0;
}

.kb-article-body .ProseMirror figcaption {
  margin-top: 6px;
  font-size: 14px;
  color: var(--neutral-500);
}

.kb-article-body .ProseMirror iframe,
.kb-article-body .ProseMirror video,
.kb-article-body .kb-video {
  margin-block: 1.5rem;
  width: 100%;
  border-radius: 4px;
}

.kb-article-body .ProseMirror iframe,
.kb-article-body iframe.kb-video {
  aspect-ratio: 16 / 9;
  background-color: black;
}

.kb-article-body .ProseMirror ol {
  list-style-type: decimal;
  margin: 0.75rem 0 0.25rem 0;
  padding: 0 2rem;
}

.kb-article-body .ProseMirror ul {
  list-style-type: disc;
 margin: 0.75rem 0 0.25rem 0;
  padding: 0 2rem;
}

.kb-article-body .ProseMirror ul li,
.kb-article-body .ProseMirror ol li {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.kb-article-body .ProseMirror li ol {
  list-style-type: lower-alpha;
}

.kb-article-body .ProseMirror li li ol {
  list-style-type: lower-roman;
}

.kb-article-body .ProseMirror li ul {
  list-style-type: circle;
}

.kb-article-body .ProseMirror li li ul {
  list-style-type: square;
}

.kb-article-body .ProseMirror code {
  border-radius: 4px;
  border: 1px solid var(--neutral-200);
  font-size: 14px;
  background-color: var(--neutral-100);
  color: #dc2626;
  padding: 1px 3px;
}

.kb-article-body .ProseMirror pre {
  overflow-x: auto;
  white-space: pre;
  border-radius: 4px;
  background-color: var(--neutral-100);
  border: 1px solid var(--neutral-200);
  font-size: 12px;
  line-height: 1.5;
  margin-block: 0.75rem;
  padding: 0.5rem;
}

.kb-article-body .ProseMirror .in-group pre {
  margin-top: 0;
  margin-bottom: 0;
}

.kb-article-body .ProseMirror .with-tabs pre {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  border-top: 0;
}

.kb-article-body .ProseMirror .with-line-numbers pre {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  border-left: 0;
}

.kb-article-body .ProseMirror pre code {
  border: none;
  background: inherit;
  padding: 0;
  font-size: 12px;
  color: inherit;
  box-shadow: none;
}

.kb-article-body .ProseMirror > .react-renderer {
  margin: 2rem 0;
}

.kb-article-body .ProseMirror > .react-renderer:first-child {
  margin-top: 0;
}

/* Code block group */

.kb-article-body .ProseMirror > .react-renderer.node-codeBlockGroup {
  margin: 0.75rem 0;
}

.kb-article-body .ProseMirror .code-block-group {
  position: relative;
}

.kb-article-body .ProseMirror .code-block-group .hidden {
  display: none !important;
}

.kb-article-body .ProseMirror .code-block-group pre[data-hidden="true"] {
  display: none !important;
}

.kb-article-body
  .ProseMirror
  .code-block-group
  > div:first-of-type:has(button) {
  display: none;
}

.kb-article-body
  .ProseMirror
  .code-block-group
  > div[class*="flex"][class*="rounded-t"] {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  overflow: hidden;
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
  border: 1px solid var(--neutral-200);
  border-bottom: none;
  background-color: var(--neutral-200);
}

.kb-article-body
  .ProseMirror
  .code-block-group
  > div[class*="flex"][class*="rounded-t"]
  button {
  padding: 6px 12px;
  font-size: 14px;
  color: var(--neutral-600);
  background: none;
  border: none;
  cursor: pointer;
  min-height: 36px;
}

.kb-article-body
  .ProseMirror
  .code-block-group
  > div[class*="flex"][class*="rounded-t"]
  button:hover {
  background-color: #d1d5db;
}

.kb-article-body
  .ProseMirror
  .code-block-group
  > div[class*="flex"][class*="rounded-t"]
  button[class*="bg-gray-50"] {
  background-color: var(--neutral-100);
}

.kb-article-body
  .ProseMirror
  .code-block-group
  > div[class*="flex"][class*="rounded-t"]
  button[class*="bg-gray-50"]:hover {
  background-color: var(--neutral-100);
}

.kb-article-body .ProseMirror .code-block-group > div[class*="grid"] {
  display: grid;
}

.kb-article-body .ProseMirror .code-block-group > div[class*="grid-cols"] {
  grid-template-columns: min-content 1fr;
}

.kb-article-body .ProseMirror .code-block-group pre:has(> code[aria-hidden]) {
  position: relative;
  width: min-content;
  white-space: pre-wrap !important;
  display: flex;
  overflow: hidden;
  margin-top: 0;
  margin-bottom: 0;
  border-right: none;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  line-height: 1.5;
}

.kb-article-body
  .ProseMirror
  .code-block-group:has(> div[class*="rounded-t"])
  pre:has(> code[aria-hidden]) {
  border-top: 0;
  border-top-left-radius: 0;
}

.kb-article-body .ProseMirror .code-block-group pre > code[aria-hidden] {
  visibility: hidden;
}

.kb-article-body .ProseMirror .code-block-group pre > code[aria-hidden] + code {
  position: absolute;
  display: block;
  height: 100%;
  color: var(--neutral-500);
  line-height: inherit;
}

.kb-article-body
  .ProseMirror
  .code-block-group
  > div[class*="grid"]
  > div[class*="relative"] {
  position: relative;
  min-width: 0;
}

.kb-article-body
  .ProseMirror
  .code-block-group
  > div[class*="grid"]
  > div[class*="relative"]
  > div[class*="absolute"] {
  position: absolute;
  top: 50%;
  right: 8px;
  z-index: 10;
  transform: translateY(-50%);
}

/* Tooltip (rendered as a portal outside .kb-article-body) */

.nexus-tooltip__content {
  border-radius: 4px;
  padding: 6px 8px;
  font-size: 12px;
  font-family: var(--body-font-family);
  font-weight: normal;
  color: white;
  background: rgba(28, 29, 47);
  box-shadow: 0px 2px 8px 0px rgba(0, 0, 0, 0.12);
  word-break: break-word;
  white-space: pre-wrap;
  max-width: 230px;
}

/* Code block copy button */

.kb-article-body .ProseMirror .code-block-group .button {
  --tertiary-alt-color: var(--neutral-800);
  --tertiary-alt-icon-color: var(--neutral-500);
  --tertiary-alt-hover-bg: var(--neutral-200);
  --tertiary-alt-active-bg: rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  border: 1px solid transparent;
  background: transparent;
  cursor: pointer;
  outline: none;
  color: var(--tertiary-alt-color);
}

.kb-article-body .ProseMirror .code-block-group .button:hover {
  background-color: var(--tertiary-alt-hover-bg);
}

.kb-article-body .ProseMirror .code-block-group .button svg {
  width: 14px;
  height: 14px;
  color: var(--tertiary-alt-icon-color);
}

.kb-article-body .ProseMirror .code-block-group .button.button--sm {
  height: 1.5rem;
  font-size: 12px;
  padding: 3px;
}

.kb-article-body .ProseMirror .code-block-group .button.button--icon {
  min-width: auto;
  aspect-ratio: 1 / 1;
}

/* Syntax highlighting (lowlight / highlight.js) */

.kb-article-body .hljs {
  color: #383a42;
}

.kb-article-body .hljs-comment,
.kb-article-body .hljs-quote {
  color: #a0a1a7;
  font-style: italic;
}

.kb-article-body .hljs-doctag,
.kb-article-body .hljs-keyword,
.kb-article-body .hljs-formula {
  color: #a626a4;
}

.kb-article-body .hljs-section,
.kb-article-body .hljs-name,
.kb-article-body .hljs-selector-tag,
.kb-article-body .hljs-deletion,
.kb-article-body .hljs-subst {
  color: #e45649;
}

.kb-article-body .hljs-literal {
  color: #0184bb;
}

.kb-article-body .hljs-string,
.kb-article-body .hljs-regexp,
.kb-article-body .hljs-addition,
.kb-article-body .hljs-attribute,
.kb-article-body .hljs-meta .hljs-string {
  color: #50a14f;
}

.kb-article-body .hljs-attr,
.kb-article-body .hljs-variable,
.kb-article-body .hljs-template-variable,
.kb-article-body .hljs-type,
.kb-article-body .hljs-selector-class,
.kb-article-body .hljs-selector-attr,
.kb-article-body .hljs-selector-pseudo,
.kb-article-body .hljs-number {
  color: #986801;
}

.kb-article-body .hljs-symbol,
.kb-article-body .hljs-bullet,
.kb-article-body .hljs-link,
.kb-article-body .hljs-meta,
.kb-article-body .hljs-selector-id,
.kb-article-body .hljs-title {
  color: #4078f2;
}

.kb-article-body .hljs-built_in,
.kb-article-body .hljs-title.class_,
.kb-article-body .hljs-class .hljs-title {
  color: #c18401;
}

.kb-article-body .hljs-emphasis {
  font-style: italic;
}

.kb-article-body .hljs-strong {
  font-weight: bold;
}

.kb-article-body .hljs-link {
  text-decoration: underline;
}

.kb-article-body .hljs-punctuation {
  color: #383a42;
}

.kb-article-body .ProseMirror > .react-renderer.node-fileBlock {
  margin: 0.5rem 0;
}

.kb-article-body .ProseMirror .node-fileBlock a,
.kb-article-body-placeholder div[data-type="file-block"] a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  max-width: 100%;
  color: var(--text-link-color, var(--primaryColor));
  text-decoration: none;
}

.kb-article-body .ProseMirror .node-fileBlock a:hover,
.kb-article-body-placeholder div[data-type="file-block"] a:hover {
  text-decoration: underline;
}

.kb-article-body .ProseMirror .node-fileBlock a::before,
.kb-article-body-placeholder div[data-type="file-block"] a::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  background-color: currentColor;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='currentColor' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 22H4C3.44772 22 3 21.5523 3 21V3C3 2.44772 3.44772 2 4 2H20C20.5523 2 21 2.44772 21 3V21C21 21.5523 20.5523 22 20 22ZM19 20V4H5V20H19ZM7 6H11V10H7V6ZM7 12H17V14H7V12ZM7 16H17V18H7V16ZM13 7H17V9H13V7Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='currentColor' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 22H4C3.44772 22 3 21.5523 3 21V3C3 2.44772 3.44772 2 4 2H20C20.5523 2 21 2.44772 21 3V21C21 21.5523 20.5523 22 20 22ZM19 20V4H5V20H19ZM7 6H11V10H7V6ZM7 12H17V14H7V12ZM7 16H17V18H7V16ZM13 7H17V9H13V7Z'/%3E%3C/svg%3E");
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}

.kb-article-body-placeholder div[data-type="file-block"] {
  margin: 0.5rem 0;
}

/* Callout */

.kb-article-body .EditorCallout {
  display: flex;
  gap: 12px;
  border-radius: 8px;
  border: 1px solid var(--neutral-200);
  padding: 16px;
  background-color: var(--neutral-100);
  color: var(--neutral-700);
}

.kb-article-body .EditorCallout[data-color="blue"] {
  border-color: rgb(39, 110, 241) !important;
  background-color: rgb(212, 226, 252) !important;
  color: #1a1a1a !important;
}

.kb-article-body .EditorCallout[data-color="red"] {
  border-color: #fecaca;
  background-color: rgba(254, 226, 226, 0.7);
  color: #7f1d1d;
}

.kb-article-body .EditorCallout[data-color="orange"] {
  border-color: #fed7aa;
  background-color: rgba(255, 237, 213, 0.7);
  color: #7c2d12;
}

.kb-article-body .EditorCallout[data-color="yellow"] {
  background-color: #f8f9fa !important;
  border-color: #F7BB14 !important;
  border-left-width: 4px !important;
  border-top: none !important;
  border-right: none !important;
  border-bottom: none !important;
  border-radius: 0 6px 6px 0 !important;
  color: #1a1a1a !important;
}

.kb-article-body .EditorCallout[data-color="green"] {
  border-color: rgb(70, 124, 124) !important;
  background-color: rgb(239, 246, 246) !important;
  color: #1a1a1a !important;
}

.kb-article-body .EditorCallout[data-color="indigo"] {
  border-color: #c7d2fe;
  background-color: rgba(224, 231, 255, 0.7);
  color: #312e81;
}

.kb-article-body .EditorCallout[data-color="purple"] {
  border-color: #e9d5ff;
  background-color: rgba(243, 232, 255, 0.7);
  color: #581c87;
}

.kb-article-body .EditorCallout[data-color] .EditorCallout-content p,
.kb-article-body .EditorCallout[data-color] .EditorCallout-content blockquote,
.kb-article-body .EditorCallout[data-color] .EditorCallout-content li {
  color: inherit;
}

.kb-article-body .EditorCallout-icon {
  flex-shrink: 0;
  margin-top: 3px;
  display: flex;
  align-items: flex-start;
  width: 18px;
  height: 18px;
}

.kb-article-body .EditorCallout-icon svg {
  width: 18px;
  height: 18px;
}

.kb-article-body .EditorCallout-content {
  min-width: 0;
  flex: 1;
}

/* Callout SSR placeholder (before islands hydrate, renderHTML output has no .EditorCallout class).
   Scoped to .kb-article-body-placeholder so it does not style the TipTap NodeViewWrapper after hydration. */

.kb-article-body-placeholder div[data-type="callout"] {
  border-radius: 8px;
  border: 1px solid var(--neutral-200);
  padding: 16px;
  background-color: var(--neutral-100);
  color: var(--neutral-700);
}

.kb-article-body-placeholder div[data-type="callout"][data-color="blue"] {
  border-color: #bfdbfe;
  background-color: rgba(219, 234, 254, 0.7);
  color: #1e3a5f;
}

.kb-article-body-placeholder div[data-type="callout"][data-color="red"] {
  border-color: #fecaca;
  background-color: rgba(254, 226, 226, 0.7);
  color: #7f1d1d;
}

.kb-article-body-placeholder div[data-type="callout"][data-color="orange"] {
  border-color: #fed7aa;
  background-color: rgba(255, 237, 213, 0.7);
  color: #7c2d12;
}

.kb-article-body-placeholder div[data-type="callout"][data-color="yellow"] {
  border-color: #fde68a;
  background-color: rgba(254, 249, 195, 0.3);
  color: #713f12;
}

.kb-article-body-placeholder div[data-type="callout"][data-color="green"] {
  border-color: #bbf7d0;
  background-color: rgba(220, 252, 231, 0.5);
  color: #14532d;
}

.kb-article-body-placeholder div[data-type="callout"][data-color="indigo"] {
  border-color: #c7d2fe;
  background-color: rgba(224, 231, 255, 0.7);
  color: #312e81;
}

.kb-article-body-placeholder div[data-type="callout"][data-color="purple"] {
  border-color: #e9d5ff;
  background-color: rgba(243, 232, 255, 0.7);
  color: #581c87;
}

/* Internal Note */

.kb-article-body .ProseMirror div[data-type="internalBlock"] {
  padding: 1rem;
  padding-top: 3rem;
  border-radius: 4px;
  position: relative;
  background-color: var(--blue-50);
}

.kb-article-body .ProseMirror div[data-type="internalBlock"]::before {
  content: "Internal Note";
  position: absolute;
  top: 1rem;
  left: 1rem;
  font-size: 0.875rem;
  color: var(--slate-400);
}

.kb-article-body-placeholder div[data-type="internalBlock"] {
  padding: 1rem;
  padding-top: 3rem;
  border-radius: 4px;
  position: relative;
  background-color: var(--blue-50);
}

.kb-article-body-placeholder div[data-type="internalBlock"]::before {
  content: "Internal Note";
  position: absolute;
  top: 1rem;
  left: 1rem;
  font-size: 0.875rem;
  color: var(--slate-400);
}

/* Blockquote */

.kb-article-body .ProseMirror blockquote[data-type="blockquote"] {
  border-left: 4px solid var(--neutral-200);
  padding: 8px 16px;
  margin-block: 0.75rem;
}

/* Horizontal rule */

.kb-article-body .ProseMirror [data-type="horizontalRule"] {
  margin: 0.5rem 0;
  padding: 0.5rem 0;
}

.kb-article-body .ProseMirror [data-type="horizontalRule"] hr {
  border: none;
  border-top: 1px solid var(--neutral-200);
}

/* Table */

.kb-article-body .ProseMirror .tableWrapper {
  margin-block: 2rem;
  overflow-x: auto;
}

.kb-article-body .ProseMirror table {
  width: 100%;
  max-width: 640px;
  border-collapse: collapse;
  border-radius: 4px;
  word-break: break-word;
}

.kb-article-body .ProseMirror table td,
.kb-article-body .ProseMirror table th {
  min-width: 100px;
  padding: 8px;
  text-align: left;
  vertical-align: top;
  border: 1px solid var(--neutral-200);
}

.kb-article-body .ProseMirror table td p,
.kb-article-body .ProseMirror table th p {
  margin: 0;
}

.kb-article-body .ProseMirror table th {
  font-weight: 600;
}

/* Emoji */

.kb-article-body .ProseMirror span[data-type="emoji"] {
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}

.kb-article-body .ProseMirror span[data-type="emoji"] > img {
  display: inline;
  width: 1em;
  vertical-align: text-top;
}

/* Relative link (cross-reference to another article) */

.kb-article-body .ProseMirror a.relative-link > * {
  display: inline-flex;
  vertical-align: -0.15em;
  margin-right: 8px;
}

.kb-article-body .ProseMirror a.relative-link svg {
  width: 1em;
  height: 1em;
}

/* Accordion (post-hydration NodeView) */

/* Accordion list inherits margin from the generic .react-renderer rule (margin: 2rem 0). */

.kb-article-body .ProseMirror .node-accordion_list > [data-node-view-wrapper] {
  border: 1px solid var(--neutral-200);
  border-radius: 8px;
  overflow: hidden;
}

.kb-article-body .ProseMirror .pylon-rte-accordion {
  display: grid;
  grid-template-columns: min-content 1fr;
  align-items: center;
  border-top: 1px solid var(--neutral-200);
  padding: 12px;
}

.kb-article-body .ProseMirror .pylon-rte-accordion:first-child {
  border-top: none;
}

.kb-article-body
  .ProseMirror
  .pylon-rte-accordion
  [data-type="accordion_details"] {
  display: none;
  grid-column: 2;
}

.kb-article-body
  .ProseMirror
  .pylon-rte-accordion[data-open="true"]
  [data-type="accordion_details"] {
  display: block;
}

.kb-article-body .ProseMirror .pylon-rte-accordion p {
  margin: 0;
}

.kb-article-body .ProseMirror .pylon-rte-accordion .node-accordion_summary {
  display: contents;
  font-weight: 500;
}

.kb-article-body
  .ProseMirror
  .pylon-rte-accordion
  .node-accordion_summary
  > div {
  display: contents;
}

.kb-article-body
  .ProseMirror
  .pylon-rte-accordion
  .node-accordion_summary
  button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin-right: 4px;
  border-radius: 4px;
  border: none;
  background: none;
  cursor: pointer;
  flex-shrink: 0;
}

.kb-article-body
  .ProseMirror
  .pylon-rte-accordion
  .node-accordion_summary
  button:hover {
  background-color: var(--neutral-100);
}

.kb-article-body
  .ProseMirror
  .pylon-rte-accordion
  .node-accordion_summary
  button
  > div {
  transition: 0.2s ease transform;
  display: flex;
  align-items: center;
  justify-content: center;
}

.kb-article-body
  .ProseMirror
  .pylon-rte-accordion
  .node-accordion_summary
  button
  svg {
  width: 16px;
  height: 16px;
}

.kb-article-body
  .ProseMirror
  .pylon-rte-accordion[data-open="true"]
  .node-accordion_summary
  button
  > div {
  transform: rotate(90deg);
}

/* Accordion SSR placeholder (renderHTML output, before islands hydrate) */

.kb-article-body-placeholder div[data-type="accordion_list"] {
  border: 1px solid var(--neutral-200);
  border-radius: 8px;
  margin-block: 0.75rem;
}

.kb-article-body-placeholder div[data-type="accordion"] {
  border-top: 1px solid var(--neutral-200);
}

.kb-article-body-placeholder div[data-type="accordion"]:first-child {
  border-top: none;
}

.kb-article-body-placeholder div[data-type="accordion_summary"] {
  padding: 12px 16px;
  font-weight: 500;
}

.kb-article-body-placeholder div[data-type="accordion_details"] {
  display: none;
}

/* ProseMirror separator */

.kb-article-body .ProseMirror .ProseMirror-separator {
  display: inline;
}

/* Article Sidebar */

.kb-article-sidebar {
  position: sticky;
  top: 40px;
  align-self: flex-start;
  width: 300px;
  max-height: calc(100vh - 80px);
  overflow-y: auto;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 24px;
}

@media (max-width: 768px) {
  .kb-article-sidebar {
    display: none;
  }
}

.kb-article-sidebar:not(:has(.kb-toc-item, .kb-related-articles, .kb-related-issues)) {
  display: none;
}

/* Table of Contents */

.kb-toc-item {
  display: block;
  padding: 6px 0;
  border-left: 2px solid var(--neutral-200);
  font-size: 14px;
  color: var(--neutral-500);
  text-decoration: none;
  cursor: pointer;
  transition: color 0.2s ease-in-out, border-color 0.2s ease-in-out;
  line-height: 1.4;
}

#kb-toc a:hover {
  color: #000000 !important;
}

.kb-toc-item.active {
  color: var(--neutral-900);
  border-left-color: var(--primaryColor);
}

/* Related Articles */

.kb-related-articles {
  display: flex;
  flex-direction: column;
  background-color: var(--neutral-100);
  border-radius: 8px;
  padding: 18px 24px;
}

.kb-related-articles-title {
  font-family: var(--headlines-font-family);
  font-weight: 600;
  color: var(--neutral-900);
  line-height: 22px;
}

.kb-related-article-link {
  display: block;
  margin-top: 10px;
  font-size: 14px;
  color: var(--neutral-600);
  text-decoration: none;
  line-height: 1.4;
}

.kb-related-article-link:hover {
  color: var(--neutral-900);
  text-decoration: underline;
}

/* Related Issues */

.kb-related-issues {
  background-color: var(--neutral-100);
  border-radius: 8px;
  padding: 16px 20px;
}

.kb-related-issues-details {
  display: flex;
  flex-direction: column;
}

.kb-related-issues-details summary {
  list-style: none;
}

.kb-related-issues-details summary::-webkit-details-marker {
  display: none;
}

.kb-related-issues-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.kb-related-issues-title-row {
  display: flex;
  align-items: center;
  gap: 4px;
}

.kb-related-issues-title {
  font-family: var(--headlines-font-family);
  font-weight: 500;
  color: var(--neutral-900);
}

.kb-related-issues-chevron {
  flex-shrink: 0;
  color: var(--neutral-900);
  transition: transform 0.2s ease;
  transform: rotate(-90deg);
}

.kb-related-issues-details[open] .kb-related-issues-chevron {
  transform: rotate(0deg);
}

.kb-related-issues-badge {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: var(--neutral-500);
  white-space: nowrap;
}

.kb-related-issues-badge svg {
  flex-shrink: 0;
}

.kb-related-issues-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 12px 0;
}

.kb-related-issue-card {
  display: flex;
  flex-direction: column;
  background: var(--neutral-base);
  border: 1px solid var(--neutral-200);
  border-radius: 8px;
  padding: 8px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.kb-related-issue-card-header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding-bottom: 6px;
}

.kb-related-issue-account-logo {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  object-fit: cover;
  flex-shrink: 0;
}

.kb-related-issue-card-header-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.kb-related-issue-card-title-row {
  display: flex;
  align-items: center;
  gap: 4px;
}

.kb-related-issue-account-name {
  font-size: 12px;
  font-weight: 600;
  color: var(--neutral-900);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.kb-related-issue-ticket-number {
  font-size: 12px;
  color: var(--neutral-500);
  flex-shrink: 0;
}

.kb-related-issue-requester {
  font-size: 12px;
  color: var(--neutral-600);
}

.kb-related-issue-body {
  font-size: 12px;
  color: var(--neutral-600);
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  line-height: 1.4;
}

.kb-related-issue-subject {
  font-weight: 500;
}

.kb-related-issue-closed {
  font-size: 12px;
  color: var(--neutral-400);
  margin-top: auto;
  padding-top: 4px;
}

.kb-related-issues-view-all {
  font-size: 14px;
  color: var(--neutral-900);
  text-decoration: none;
  padding: 4px 0;
}

.kb-related-issues-view-all:hover {
  text-decoration: underline;
}

/* Feedback */

.kb-feedback {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: 32px;
  padding: 24px;
  background: var(--neutral-100);
  border-radius: 8px;
}

.kb-feedback-title {
  font-size: 14px;
  color: var(--neutral-900);
  text-align: center;
}

.kb-feedback-scores {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
}

.kb-feedback-score {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  font-size: 28px;
  cursor: pointer;
  border: none;
  background: transparent;
  padding: 0;
  padding-top: 2px;
}

.kb-feedback-score:hover,
.kb-feedback-score.selected {
  background: var(--neutral-200);
}

.kb-feedback-form {
  width: 100%;
  max-width: 400px;
  margin-top: 8px;
}

.kb-feedback-label {
  font-size: 13px;
  color: var(--neutral-600);
  margin-bottom: 4px;
}

.kb-feedback-textarea {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid var(--neutral-200);
  border-radius: 6px;
  font-size: 14px;
  font-family: inherit;
  resize: vertical;
  min-height: 56px;
  outline: none;
}

.kb-feedback-textarea:focus {
  border-color: var(--neutral-400);
}

.kb-feedback-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 8px;
}

.kb-feedback-submit {
  padding: 6px 16px;
  border-radius: 6px;
  border: none;
  font-size: 13px;
  font-weight: 500;
  color: white;
  background: var(--primaryColor);
  cursor: pointer;
}

.kb-feedback-submit:hover {
  opacity: 0.9;
}

.kb-feedback-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.kb-feedback-thanks {
  font-size: 14px;
  color: var(--neutral-900);
  text-align: center;
}

/* Not Found Page */

.kb-not-found-content-wrapper {
  display: flex;
  width: 100%;
  flex: 1;
  justify-content: center;
  padding: 0 24px 24px 24px;
  background: var(--neutral-base);
}

.kb-not-found-content-wrapper #kb-search-results {
  margin-top: 24px;
}

.kb-not-found-message {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-top: 64px;
}

.kb-not-found-title {
  font-family: var(--headlines-font-family);
  font-size: 30px;
  font-weight: 700;
  color: var(--neutral-900);
  margin-bottom: 16px;
}

.kb-not-found-description {
  font-size: 18px;
  color: var(--neutral-500);
}

/* Hide SSR article HTML visually; keep in DOM for crawlers/SEO. */

.kb-article-body-placeholder {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

/* Skeleton shown while TipTap hydrates */

.kb-article-body-skeleton {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 4px;
}

.kb-article-skeleton-line {
  height: 16px;
  width: 100%;
  background: var(--neutral-100);
  border-radius: 4px;
  animation: kb-pulse 2s ease-in-out infinite;
}

.kb-article-skeleton-line--lg {
  height: 20px;
  width: 60%;
}

.kb-article-skeleton-line--md {
  width: 80%;
}

.kb-article-skeleton-line--sm {
  width: 45%;
}

.kb-article-skeleton-gap {
  height: 8px;
}

/* Homepage content container */

.kb-homepage-content {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-top: 6px;
}
.quote{
background-color: #F5F5F5;
padding-left: 10px;
  padding-right: 10px;
  padding-top: 5px;
  padding-bottom: 2px;
  border-left: 4px solid #F7BB14;
  border-radius: 7px;
  
}

.early-access-callout {
      background: linear-gradient(135deg, #fff8e0 0%, #fdedb8 100%);
      border: 1px solid #f4c842;
      border-left: 4px solid #e8a838;
      border-radius: 8px;
      padding: 18px 20px;
      margin: 20px 0;
      box-shadow: 0 2px 6px rgba(232, 168, 56, 0.12);
    }
    .early-access-header {
      display: flex;
      align-items: center;
      gap: 10px;
      margin-bottom: 8px;
    }
    .early-access-badge {
      background: #e8a838;
      color: #ffffff;
      font-size: 10px;
      font-weight: 700;
      letter-spacing: 0.8px;
      padding: 4px 8px;
      border-radius: 4px;
      line-height: 1;
    }
    .early-access-title {
      font-size: 15px;
      font-weight: 700;
      color: #6b4a0a;
      letter-spacing: 0.2px;
    }
    .early-access-callout p {
      margin: 0;
      color: #2d2d2d;
      line-height: 1.55;
    }
    .early-access-callout p + p {
      margin-top: 8px;
    }

.card-container{
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 10px;
}
.card-product{
  width: 100%;
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0px 2px 4px rgba(0,0,0,0.2);
  margin-top: 20px;
  margin-bottom: 20px;
}
.card img{
  width: 100%;
  height: auto;
}
.card-content{
  padding: 16px;
}
.card-content p{
  color: black;
  
}
.card-content .btn{
  display: inline-block;
  padding: 12px 16px;
  background-color: #F7BB14;
  text-decoration: none;
  border-radius: 7px;
  margin-top: 16px;
  color: black;
  cursor: pointer;
  transition: transform .6s;
  position: relative;
}
.card-content .btn:hover{
  transform: scale(1.1);  
}

.highlight{
  background: linear-gradient(180deg,rgba(255,255,255,0) 55%, #FCE4A1 50%);
  font-weight: 500;
}
.date-pill{
  background-color: #FCE4A1;
  border: 2px solid;
  border-color: #F7BB14;
  padding: 5px 20px;
  text-align: center;
  margin: 4px 2px;
  display: inline-block;
  border-radius: 30px;
  color: black;
}

.container2 {
  width: 100%;
  padding: 20px;
  margin-top: 20px;
  background-color: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  border-radius: 7px;
  border-style: solid;
  border-width: 1.5px;
  border-color: #CCCCCC;
}
.question2 {
  font-weight: bold;
  margin-bottom: 10px;
  color: #5A9D9D;
}
.question3 {
  font-weight: bold;
  margin-bottom: 10px;
  color: black;
  font-size: 32px;
}
.options2 {
  margin-bottom: 20px;
}
.option2 {
  display: block;
  margin-bottom: 10px;
}
.button2 {
  display: inline-block;
  padding: 10px 20px;
  background-color: #F7BB14;
  font-weight: bold;
  color: black;
  border: none;
  cursor: pointer;
  font-size: 16px;
  border-radius: 4px;
  transition: background-color 0.3s;
  margin-right: 10px;
}
.button2:hover {
  background-color: #C69610;
}
.result2 {
  text-align: center;
  margin-top: 20px;
  font-weight: bold;
  font-size: 24px;
  padding-bottom: 20px;
}
.hide2{
  display: none;
}
.radio{
  color: orange;
}

.buttontake {
  display: inline-block;
  border-radius: 7px;
  background-color: #F7BB14;
  border: none;
  border-width: 2px;
  color: black;
  font-weight: bold;
  text-align: center;
  font-size: 18px;
  padding: 20px;
  width: 100%;
  transition: all 0.5s;
  cursor: pointer;
  margin: 5px;
box-shadow: 0px 2px 4px rgba(0,0,0,0.2);
}
.buttontake:hover {
  display: inline-block;
  border-radius: 7px;
  background-color: #FDF1D0;
  border: #F7BB14, solid;
  color: black;
  font-weight: bold;
  text-align: center;
  font-size: 18px;
  padding: 20px;
  width: 100%;
  transition: all 0.1s;
  cursor: pointer;
  margin: 5px;
box-shadow: 0px 2px 4px rgba(0,0,0,0.2);
}

.buttontake span {
  cursor: pointer;
  display: inline-block;
  position: relative;
  transition: 0.5s;
}

.buttontake span:after {
  content: '\1F855';
  position: absolute;
  opacity: 0;
  top: 0;
  right: -20px;
  transition: 0.5s;
}

.buttontake:hover span {
  padding-right: 25px;
}

.buttontake:hover span:after {
  opacity: 1;
  right: 0;
}

iframe.slvideo{
  border: solid;
border-width: 1px; 
border-color: #E6E6E6; 
-webkit-box-shadow: 0px 0px 34px -4px rgba(186,186,186,0.5); 
-moz-box-shadow: 0px 0px 34px -4px rgba(186,186,186,0.5); 
box-shadow: 0px 0px 34px -4px rgba(186,186,186,0.5);
}
p.learn{
  border: solid;
  border-radius: 7px;
  padding: 15px;
  border-width: 2px;
  border-color: #467C7C;
  background-color: #eff6f6;
}

p.slnote{
  border: solid;
  border-radius: 7px;
  padding: 15px;
  border-width: 2px;
  border-color: #276EF1;
  background-color: #d4e2fc;
}

p.slwarning{
border: solid;
border-radius: 7px;
padding: 15px;
border-width: 2px;
border-color: #F7BB14;
background-color: #fdf1d0;
}

div.align-items-center-learn {
  align-items: flex-start;
  border: solid;
  border-radius: 7px;
  padding: 15px;
  border-width: 2px;
  border-color: #467C7C;
  background-color: #eff6f6;
}
iframe.loom{
  box-shadow: 0px 3px 17px -3px rgba(0,0,0,0.36);
  -webkit-box-shadow: 0px 3px 17px -3px rgba(0,0,0,0.36);
  -moz-box-shadow: 0px 3px 17px -3px rgba(0,0,0,0.36);
}
div.align-items-center-note {
  align-items: flex-start;
  border: solid;
  border-radius: 7px;
  padding: 15px;
  border-width: 2px;
  border-color: #276EF1;
  background-color: #d4e2fc;
}
div.align-items-center-warning {
  align-items: flex-start;
  border: solid;
  border-radius: 7px;
  padding: 15px;
  border-width: 2px;
  border-color: #F7BB14;
  background-color: #fdf1d0;
}
hr.product{
   box-sizing: content-box;
  height: 0;
  overflow: visible;
  border: 2px solid #F7BB14;
  width: 10%;
}
.kb-article-body hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
  border: 3px solid #5A9D9D;
  width: 10%;
  margin-left: 0;
}

p.image {
  border: solid;
  border-width: 1.25px;
  border-color: #e6e6e6;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0px 3px 13px 0px rgba(212, 212, 212, 0.74);
  transition: transform 0.4s ease-in-out;
}

p.image:hover {
  transform: scale(1.015);
}

p.faq{
font-weight: bold;
font-size: 20px;
color: #5A9D9D;
padding-top: 30px;

}
p.faq-top{
font-weight: bold;
font-size: 20px;
color: #5A9D9D;

}

div.faq {
  border: solid;
  padding: 15px;
  border: 1px solid #E6E6E6;
}

div.user {
  border: solid;
  border-radius: 7px;
  padding: 15px;
  border-width: 2px;
  border-color: black;
}

div.video{
  padding-top: 25px;
  padding-bottom: 10px;
}

hr.white {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
  border: 8px solid white;
  width: 10%;
  margin-left: 0;
}

hr.grey {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
  border: .5px solid #E6E6E6;
  width: 10%;
  margin-left: 0;
}

hr.video {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
  border: 2px solid #e6e6e6;
  width: 33%;
margin: auto;
}

/* â”€â”€ Badges â”€â”€ */

.badge-white {
  color: #1A202C;
  background-color: #fff;
}

a.badge-white:focus, a.badge-white:hover {
  color: #1A202C;
  background-color: #E5E5E5;
}

a.badge-white:focus, a.badge-white.is-focused {
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.25);
}

.badge-date {
  color: black;
  background-color: #F7BB14;
  font-weight: bold;
}

.badge-peek {
  color: white;
  background-color: #7356BF;
  font-weight: bold;
}

a.badge-new:focus, a.badge-new:hover {
  color: #fff;
  background-color: #AE7F22;
}

a.badge-new:focus, a.badge-new.is-focused {
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(214, 158, 46, 0.25);
}

.badge-feature {
  color: white;
  background-color: #05944F;
  font-weight: bold;
}

a.badge-open:focus, a.badge-open:hover {
  color: #fff;
  background-color: #D31C1C;
}

a.badge-open:focus, a.badge-open.is-focused {
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(229, 62, 62, 0.25);
}

.badge-improvement {
  color: white;
  background-color: #276EF1;
  font-weight: bold;
}

a.badge-hold:focus, a.badge-hold:hover {
  color: #fff;
  background-color: #07080B;
}

a.badge-hold:focus, a.badge-hold.is-focused {
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(26, 32, 44, 0.25);
}

.badge-fixed {
  color: white;
  background-color: #E11900;
  font-weight: bold;
}

a.badge-solved:focus, a.badge-solved:hover {
  color: #fff;
  background-color: #5A6679;
}

a.badge-solved:focus, a.badge-solved.is-focused {
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(113, 128, 150, 0.25);
}

.badge-answered,
.badge-answered,
.badge-completed,
.badge-planned {
  color: #fff;
  background-color: #3490dc;
}

a.badge-answered:focus, a.badge-answered:hover, .badge-answered:focus, .badge-answered:hover, .badge-completed:focus, .badge-completed:hover, .badge-planned:focus, .badge-planned:hover {
  color: #fff;
  background-color: #2075BC;
}

a.badge-answered:focus, a.badge-answered.is-focused, .badge-answered:focus, .badge-answered.is-focused, .badge-completed:focus, .badge-completed.is-focused, .badge-planned:focus, .badge-planned.is-focused {
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(52, 144, 220, 0.25);
}

/* â”€â”€ Custom Lists â”€â”€ */

.list-check,
.list-number,
.list-gear{
  list-style: none;
  padding-left: 0;
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}

.list-check > li,
.list-number > li,
.list-gear > li {
  position: relative;
  padding-left: 2em;
  margin-top: 0.5rem;
  margin-bottom: 0.9rem;
}

.list-check > li::before,
.list-number > li::before,
.list-number > li::before {
  position: absolute;
  left: .25em;
  display: inline-block;
  width: 1.725em;
  height: 1.725em;
  line-height: 1.76em;
  text-align: center;
  font-size: .8em;
  font-weight: 700;
  border-radius: 50%;
}

.list-check > li::before {
  content: "âœ“";
  background-color: #5A9D9D;
  color: #EFF6F6;
}

.list-gear > li::before {
  content: "âš™ï¸";
}

.list-number {
  counter-reset: list;
}

.list-number > li {
  counter-increment: list;
}

.list-number > li::before {
  content: counter(list);
  background-color: #5A9D9D;
  color: #EFF6F6;
}

/* â”€â”€ Release Carousel & Custom Components â”€â”€ */

/* ===================================
   Release Notes Carousel
   =================================== */

.release-notes-container {
  overflow: visible !important;
}

/* Carousel Container */
.release-carousel {
  display: flex;
  justify-content: center; /* centers the whole stack */
  gap: 0; /* prevent default spacing between flex items */
  width: 100%;
  max-width: 700px; /* match width of row cards below */
  margin: 0 auto 60px auto; /* center with space below */
  padding: 0 16px; /* match horizontal page padding if needed */
  position: relative;
  z-index: 0;
  overflow: visible;
}

/* Inner Scroll Area */
.carousel-inner {
  display: flex;
  flex-direction: row;
  gap: 0;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 20px 0; /* Changed from 20px 60px */
  position: relative;
  z-index: 1;
}

.carousel-inner::-webkit-scrollbar {
  display: none;
}

/* Cards */
.release-card {
  flex: 0 0 260px;
  height: 320px;
  background: white;
  border-radius: 16px;
  border: 1px solid #BDDDDD;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  padding: 20px;
  scroll-snap-align: center;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  z-index: 1;
 text-decoration: none;
  color: inherit;
}
.release-card * {
  text-decoration: none !important;
}

.release-card a:hover {
  text-decoration: none;
}

.release-card:not(:first-child) {
  margin-left: -60px;
}

.release-card:first-child {
  margin-left: 0;
}

/* ==== DEFAULT stacking order ==== */
.release-card:nth-child(1) { z-index: 3; } /* July - top */
.release-card:nth-child(2) { z-index: 2; } /* June - middle */
.release-card:nth-child(3) { z-index: 1; } /* May - bottom */

/* ==== Hover logic for MAY ==== */
.release-carousel:has(.release-card:nth-child(3):hover) .release-card:nth-child(1) {
  z-index: 1 !important; /* July to bottom */
}
.release-carousel:has(.release-card:nth-child(3):hover) .release-card:nth-child(2) {
  z-index: 2 !important; /* June middle */
}
.release-carousel:has(.release-card:nth-child(3):hover) .release-card:nth-child(3) {
  z-index: 3 !important; /* May top */
}

/* ==== Hover logic for JUNE ==== */
.release-carousel:has(.release-card:nth-child(2):hover) .release-card:nth-child(1) {
  z-index: 1 !important; /* July bottom */
}
.release-carousel:has(.release-card:nth-child(2):hover) .release-card:nth-child(2) {
  z-index: 3 !important; /* June top */
}
.release-carousel:has(.release-card:nth-child(2):hover) .release-card:nth-child(3) {
  z-index: 2 !important; /* May middle */
}

/* ==== Hover logic for JULY ==== */
.release-carousel:has(.release-card:nth-child(1):hover) .release-card:nth-child(1) {
  z-index: 3 !important; /* July top */
}
.release-carousel:has(.release-card:nth-child(1):hover) .release-card:nth-child(2) {
  z-index: 2 !important; /* June middle */
}
.release-carousel:has(.release-card:nth-child(1):hover) .release-card:nth-child(3) {
  z-index: 1 !important; /* May bottom */
}

/* ==== On actual card hover (scale + shadow) ==== */
.release-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.release-card:hover {
  transform: scale(1.04);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
  z-index: 10;
}
/* Headings */
.release-card h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
  color: #244040;
  position: relative;
}

.release-card h3::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 3px;
  background-color: #F7BB14;
  border-radius: 2px;
  transition: background-color 0.3s ease;
}

.release-card:hover h3::after {
  background-color: #5A9D9D;
}

/* Description */
.release-card p {
  font-size: 14px;
  line-height: 1.4;
  color: #666;
  max-width: 200px;
}

.carousel-nav svg {
  width: 20px;
  height: 20px;
  fill: #244040;
}

/* Row Style for Full Release Notes */
.release-row {
  background: white;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 20px;
  margin: 20px auto;
  max-width: 640px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

.release-row p {
  font-size: 14px !important;
  line-height: 1.5 !important;
  font-weight: 400 !important;
  color: #333 !important;
  margin-bottom: 12px !important;
}

.release-row-header {
  font-size: 20px !important;
  font-weight: 700;
  margin-bottom: 10px;
  color: #122020;
}

.release-tags {
  margin-bottom: 10px;
}

.badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  color: white;
  border-radius: 12px;
  padding: 3px 10px;
  margin-right: 6px;
  text-transform: none; /* removes all-caps */
  line-height: 1.4;
}

.badge-new {
  background-color: #28a745;
}

.badge-improvement {
  background-color: #007bff;
}

.badge-bug {
  background-color: #dc3545;
}
.release-notes-container,
.release-carousel,
.carousel-inner {
  overflow: visible !important;
}
.release-card:hover,
.release-card:hover h3,
.release-card:hover p {
  text-decoration: none !important;
}
/* Make entire row block a clickable card */
.release-row-link {
  display: block;
  width: 100%;
  max-width: none;
  padding: 0;
  margin: 0 auto;
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-sizing: border-box;
}

.release-row-link:hover .release-row {
  transform: scale(1.02);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
  z-index: 10;
}

/* Row styles */
.release-row {
  background: white;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 20px;
  margin: 20px auto;
  width: 100%;
  box-sizing: border-box;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Ensure no default underlines */
.release-row-link,
.release-row-link *,
.release-row-link:hover,
.release-row-link:hover * {
  text-decoration: none !important;
}

/* Container should allow full width alignment */
.release-notes-container {
  width: 100%;
  padding: 0;
  margin: 0 auto;
  box-sizing: border-box;
}
.release-tags {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  font-size: 11px;
}

.release-label {
  color: black;
  margin-right: 6px;
  font-weight: normal;
  white-space: nowrap;
  font-size: inherit;
  line-height: 1.4;
}

.release-tag {
  background-color: #f2f2f2;
  color: #555;
  font-size: inherit;
  padding: 2px 8px;
  border-radius: 12px;
  border: 1px solid #ddd;
  line-height: 1.4;
}

/*----------------- */
.org-scroll-wrapper {
  /* TODO: re-host this image in Pylon -- Zendesk URL will break */
  background: #fdfdf6 url('https://shelterluv.zendesk.com/guide-media/01K0S42DEDBND6EC6ZCNF8RVVJ') repeat;
  background-size: 120px;
  background-position: center;
  border: 2px solid #2DA39A;
  border-radius: 12px;
  padding: 16px;
  margin: 24px 0;
  font-size: 15px;
  line-height: 2;
}

.scroll-lane {
  overflow: hidden;
  white-space: nowrap;
  display: flex;
  align-items: center;
  margin-bottom: 6px;
  height: 1.6em;
  position: relative;
}

.scroll-content {
  display: inline-block;
  padding-left: 100%;
  white-space: nowrap;
  font-weight: bold;
}

.lane1 .scroll-content {
  animation: scroll-left 120s linear infinite;
}

.lane2 .scroll-content {
  animation: scroll-right 120s linear infinite;
}

.lane3 .scroll-content {
  animation: scroll-left 120s linear infinite;
}

.lane4 .scroll-content {
  animation: scroll-right 120s linear infinite;
}

.lane5 .scroll-content {
  animation: scroll-left 120s linear infinite;
}

@keyframes scroll-left {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-100%);
  }
}

@keyframes scroll-right {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(0%);
  }
}

.scroll-content span {
  margin: 0 8px;
  display: inline-block;
}
/*_________________________________________________*/
.listen-badge {
  background-color: #F7BB14;
  color: black;
  border-radius: 12px;
  padding: 12px 16px;
  width: 100%;
  display: block;
  box-sizing: border-box;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.4s ease, box-shadow 0.3s ease;
}

.listen-badge:hover {
  background-color: #F7BB14;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transform: scale(1.015);
}
/* Disable hover effect once clicked */
.listen-badge.played:hover {
  background-color: #F7BB14;
  box-shadow: none;
  transform: none;
  cursor: default;
}

.listen-label {
  display: block;
  font-size: 15px;
  line-height: 1.4;
}

.kb-article-body audio {
  margin-top: 8px;
  max-width: 100%;
}
.hidden-audio {
  display: none;
}

.show-audio {
  display: block !important;
  margin-top: 12px;
  width: 100%;
}
.faq-item {
    background-color: #f8f9fa;
    border-left: 4px solid #F7BB14;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 0 6px 6px 0;
}

.faq-item p {
    margin: 0 0 10px 0;
}

.faq-item p:last-child {
    margin-bottom: 0;
}

.faq-item strong {
    color: #2c5f5f;
}

/* Override Pylon's inline width on small/icon images migrated from Zendesk */
.kb-article-body .kb-image-wrapper[style*="width: 100%"] img[src$=".svg"],
.kb-article-body .kb-image-wrapper[style*="width: 100%"] img[width] {
  width: auto !important;
  max-width: 100%;
}
.kb-banner-content {
  margin-bottom: 0 !important;
  padding-bottom: 16px !important;
}
.kb-banner-title {
  color: #1a1a1a !important;
}
.kb-breadcrumb-link {
  color: #3a9a96 !important;
}

.kb-breadcrumb-separator {
  color: #3a9a96 !important;
}

.kb-breadcrumb-current {
  color: #3a9a96 !important;
}

.kb-toc-item {
  color: #3a9a96 !important;
}

.kb-toc-item:hover {
  color: #2d7a77 !important;
  border-left-color: #3a9a96 !important;
}

.kb-toc-item.active {
  color: #3a9a96 !important;
  border-left-color: #3a9a96 !important;
}

.kb-search-icon svg {
  width: 20px !important;
  height: 20px !important;
}

.kb-header-logo img {
  height: 32px !important;
  max-width: 200px !important;
}

.kb-banner-content {
  margin-bottom: 0 !important;
  padding-bottom: 16px !important;
}

.kb-banner-title {
  color: #1a1a1a !important;
}
.kb-article-body .kb-image-wrapper:has(img[src^="data:"]) {
  display: inline-block !important;
  width: auto !important;
  max-width: 28px !important;
  vertical-align: middle !important;
  margin: 0 2px !important;
}

.kb-article-body .kb-image-wrapper:has(img[src^="data:"]) img {
  width: 24px !important;
  height: 24px !important;
  max-width: 24px !important;
}

.kb-article-body .node-imageBlock:has(img[src^="data:"]) {
  display: inline !important;
  vertical-align: middle !important;
}

.kb-article-body .node-imageBlock:has(img[src^="data:"]) button {
  display: inline !important;
  vertical-align: middle !important;
  width: auto !important;
}

.kb-header-logo img {
  height: 40px !important;
  max-width: none !important;
}
.kb-article-body .react-renderer.node-imageBlock:has(img[src^="data:"]) {
  display: inline !important;
  vertical-align: middle !important;
}
.kb-article-body .EditorCallout[data-color="gray"] {
  border: 2px solid #1a1a1a !important;
  background-color: #ffffff !important;
  color: #1a1a1a !important;
}

.kb-article-body .ProseMirror ul {
  list-style: none !important;
}

.kb-article-body .ProseMirror ul li {
  position: relative !important;
  list-style: none !important;
}

.kb-article-body .ProseMirror ul li::before {
  content: '' !important;
  position: absolute !important;
  left: -1.85rem !important;
  top: 1px !important;
  width: 22px !important;
  height: 22px !important;
  background-color: #3D7A7A !important;
  border-radius: 50% !important;
}

.kb-article-body .ProseMirror ul li::after {
  content: '' !important;
  position: absolute !important;
  left: -1.52rem !important;
  top: 4px !important;
  width: 5px !important;
  height: 10px !important;
  border: 2.5px solid white !important;
  border-top: none !important;
  border-left: none !important;
  transform: rotate(45deg) !important;
}

.kb-article-body .ProseMirror ol {
  list-style: none !important;
  counter-reset: teal-counter !important;
}

.kb-article-body .ProseMirror ol li {
  position: relative !important;
  list-style: none !important;
  counter-increment: teal-counter !important;
  padding-left: 0.5rem !important;
}

.kb-article-body .ProseMirror ol li::before {
  content: counter(teal-counter) !important;
  position: absolute !important;
  left: -1.75rem !important;
  top: 1px !important;
  width: 22px !important;
  height: 22px !important;
  background-color: #3D7A7A !important;
  color: #ffffff !important;
  border-radius: 50% !important;
  font-size: 0.75rem !important;
  font-weight: 700 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1 !important;
}
.kb-article-body .ProseMirror ul li::before {
  content: '✓' !important;
  color: white !important;
  font-size: 13px !important;
  font-weight: 900 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1 !important;
}

.kb-article-body .ProseMirror ul li::after {
  display: none !important;
}
.kb-article-body .EditorCallout[data-color="yellow"] {
  background-color: #f8f9fa !important;
  border-color: #F7BB14 !important;
  border-left-width: 4px !important;
  border-radius: 0 6px 6px 0 !important;
  color: #1a1a1a !important;
}

.kb-article-body .EditorCallout[data-color="yellow"] .EditorCallout-content p {
  color: #1a1a1a !important;
}
.kb-article-body .EditorCallout[data-color="yellow"] .EditorCallout-content p:first-child {
  color: #3D7A7A !important;
  font-weight: 600 !important;
}
.kb-article-body,
.kb-article-body .ProseMirror,
.kb-article-body .ProseMirror p,
.kb-article-body .ProseMirror h1,
.kb-article-body .ProseMirror h2,
.kb-article-body .ProseMirror h3,
.kb-article-body .ProseMirror li {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
}
.kb-article-body .EditorCallout[data-color="yellow"] .EditorCallout-content p:first-child {
  color: #3D7A7A !important;
  font-weight: 500 !important;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-size: 16px !important;
}
.kb-article-body .ProseMirror a {
  color: #000000 !important;
  font-weight: 700 !important;
  text-decoration: underline !important;
  text-decoration-color: #f0a500 !important;
  text-underline-offset: 3px !important;
}

.kb-article-body .ProseMirror a:hover {
  color: #000000 !important;
  text-decoration-color: #3a9a96 !important;
}
.kb-article-body .ProseMirror a {
  color: #000000 !important;
  font-weight: 700 !important;
  text-decoration: underline !important;
  text-decoration-color: #f0a500 !important;
  text-decoration-thickness: 3px !important;
  text-underline-offset: 6px !important;
}

.kb-article-body .ProseMirror a:hover {
  color: #000000 !important;
  text-decoration-color: #3a9a96 !important;
}
.kb-article-body .ProseMirror h1 {
  font-size: 28px !important;
}

.kb-article-body .ProseMirror h2 {
  font-size: 24px !important;
}
.kb-article-title {
  font-size: 32px !important;
}
/* Teal fat line after h2 */
.kb-article-body .ProseMirror h2 + div[data-type="horizontalRule"] hr {
  border: 3px solid #3D7A7A !important;
  width: 10% !important;
  margin-left: 0 !important;
}

/* Thin gray line everywhere else */
.kb-article-body .ProseMirror div[data-type="horizontalRule"] hr {
  border: none !important;
  border-top: 1px solid #e0e0e0 !important;
  width: 33% !important;
  margin: 0 auto !important;
}
.kb-toc-header {
  font-weight: 800 !important;
  font-size: 20px !important;
  color: #3D7A7A !important;
  margin-bottom: 8px !important;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
}
.kb-toc-item {
  font-weight: 600 !important;
  font-size: 16px !important;
  color: #5a9d9d !important;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
}
.kb-breadcrumbs {
  font-size: 15px !important;
  font-weight: 500 !important;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
}
.kb-article-body .ProseMirror ul,
.kb-article-body .ProseMirror ol {
  margin-bottom: 0.25rem !important;
}
.kb-article-body .ProseMirror .kb-image {
  border-radius: 10px !important;
  box-shadow: 0px 3px 13px 0px rgba(212, 212, 212, 0.74) !important;
}
.kb-article-body .EditorCallout:not([data-color="yellow"]) .EditorCallout-content p,
.kb-article-body .EditorCallout:not([data-color="yellow"]) .EditorCallout-content li,
.kb-article-body .EditorCallout:not([data-color="yellow"]) .EditorCallout-content a {
  color: #1a1a1a !important;
}
.kb-article-body .ProseMirror ul ol li::before {
  content: counter(teal-counter) !important;
  background-color: #3D7A7A !important;
  color: #ffffff !important;
  border-radius: 50% !important;
  position: absolute !important;
  left: -1.75rem !important;
  top: 1px !important;
  width: 22px !important;
  height: 22px !important;
  font-size: 0.75rem !important;
  font-weight: 700 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1 !important;
}

.kb-article-body .ProseMirror ul ol {
  counter-reset: teal-counter !important;
  list-style: none !important;
}
.kb-article-title {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
}
.kb-banner-title {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
}
.kb-banner-bg-image {
  object-position: center 24% !important;
}
@media (max-width: 640px) {
  .kb-banner-bg-image {
    object-position: center center !important;
    object-fit: contain !important;
  }

  .kb-banner-title {
    font-size: 24px !important;
    height: auto !important;
    padding: 0 16px !important;
    text-align: center !important;
    word-break: break-word !important;
  }

  .kb-header-logo img {
    height: 28px !important;
    max-width: 160px !important;
    object-fit: contain !important;
  }

  .kb-banner {
    height: auto !important;
    min-height: 200px !important;
  }

  .kb-search-container {
    width: 55% !important;
  }

  .kb-banner-content {
    padding: 0 12px !important;
  }
}
.KnowledgeBaseSearchInput {
    height: 36px !important;
    font-size: 13px !important;
  }
.kb-auth-button {
    font-size: 12px !important;
    padding: 2px 8px !important;
  }

  .kb-banner {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }

.kb-header {
  padding: 10px 24px !important;
}
.kb-banner {
  height: 240px !important;
  min-height: 240px !important;
}
.kb-article-body .ProseMirror h3 {
  color: #307A7A !important;
  font-size: 1.1rem !important;
  font-weight: 700 !important;
}
/* =============================================
   HOMEPAGE: Feature Cards
   ============================================= */
.sl-feature-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 40px auto 0;
  max-width: 800px;
}

.sl-feature-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background-color: #8fb8b5;
  border-radius: 8px;
  padding: 36px 28px;
  text-decoration: none !important;
  color: #1a1a1a !important;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.sl-feature-card:hover {
  background-color: #7aa8a5;
  transform: translateY(-2px);
}

.sl-feature-card-icon {
  font-size: 28px;
  margin-bottom: 14px;
}

.sl-feature-card-title {
  font-family: 'Inter', sans-serif;
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 10px;
  color: #1a1a1a;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s ease;
}

.sl-feature-card:hover .sl-feature-card-title {
  border-bottom: 2px solid #2a6e6b;
}

.sl-feature-card-desc {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #2a2a2a;
  line-height: 1.5;
}

/* =============================================
   HOMEPAGE: Browse by Topic
   ============================================= */
.sl-browse-section {
  margin: 48px auto;
  max-width: 800px;
}

.sl-browse-title {
  font-family: 'Inter', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 16px;
}

.sl-collections-list {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  columns: 3;
  column-gap: 24px;
}

.sl-collection-row {
  break-inside: avoid;
}

.sl-collection-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid #e0e0e0;
  text-decoration: none !important;
  background: #fff;
  transition: background-color 0.15s ease;
}

.sl-collection-row:last-child {
  border-bottom: none;
}

.sl-collection-row:hover {
  background-color: #f5fafa;
}

.sl-collection-row-title {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: #3a9a96 !important;
}

.sl-collection-row-chevron {
  font-size: 20px;
  color: #3a9a96;
  line-height: 1;
}

/* =============================================
   HOMEPAGE: Customer Solutions Team
   ============================================= */
.sl-cst-section {
  margin: 0 auto 0;
  max-width: 800px;
  padding-bottom: 40px;
}

.sl-cst-title {
  font-family: 'Inter', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 20px;
}

.sl-cst-cards {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
}

.sl-cst-card {
  background-color: #F7BB14;
  border-radius: 8px;
  padding: 32px 28px;
  text-decoration: none !important;
  color: #1a1a1a !important;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.sl-cst-card:hover {
  background-color: #e6ac0f;
  transform: translateY(-2px);
}

.sl-cst-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sl-cst-icon {
  font-size: 22px;
  line-height: 1;
}

.sl-cst-icon--badge {
  font-size: 12px;
  font-weight: 700;
  background: #1a1a1a;
  color: #F7BB14;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sl-cst-card-title {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #1a1a1a;
}

.sl-cst-card-desc {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: #1a1a1a;
  line-height: 1.6;
}

/* =============================================
   HOMEPAGE: Teal Wave Footer
   ============================================= */
.sl-wave-footer {
  position: relative;
  margin-top: 40px;
  margin-bottom: -1px;
}

.sl-wave-svg {
  display: block;
  width: 100%;
  height: 170px;
}

.sl-wave-footer-content {
  background-color: #3D7A7A;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 48px 28px;
  flex-wrap: wrap;
  gap: 12px;
}

.sl-wave-footer-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.sl-wave-footer-inner span,
.sl-wave-footer-inner a {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: #fff !important;
  text-decoration: none !important;
}

.sl-wave-footer-inner a:hover {
  text-decoration: underline !important;
}

.sl-wave-footer-social {
  display: flex;
  align-items: center;
  gap: 16px;
}

.sl-wave-footer-social a {
  color: #fff;
  display: flex;
  align-items: center;
  opacity: 0.85;
  transition: opacity 0.15s ease;
}

.sl-wave-footer-social a:hover {
  opacity: 1;
}

/* =============================================
   HOMEPAGE: Hide default collection grid
   ============================================= */
.kb-homepage-content .kb-collections-grid {
  display: none;
}

/* =============================================
   HOMEPAGE: Mobile
   ============================================= */
@media (max-width: 640px) {
  .sl-feature-cards {
    grid-template-columns: 1fr;
  }
  .sl-cst-cards {
    grid-template-columns: 1fr;
  }
  .sl-wave-footer-content {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px 28px;
  }
}
.sl-wave-footer {
  position: relative;
  margin-top: 40px;
  margin-bottom: 0;
}

.sl-wave-footer-content {
  margin-bottom: 0;
  padding-bottom: 40px;
}
.kb-footer {
  display: none !important;
}
.sl-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background-color: #1a1a1a !important;
  border-radius: 4px;
  padding: 4px;
  box-sizing: border-box;
}

.sl-social-link svg path {
  fill: white !important;
}

.sl-social-icon-wrap,
.sl-social-icon {
  display: none !important;
}
.sl-wave-footer-social a {
  background: none !important;
  background-color: transparent !important;
  padding: 0 !important;
  border: none !important;
}
.kb-collection-content-wrapper .sl-cst-section {
  max-width: 100% !important;
  margin: 0 !important;
  padding: 40px 48px 0 !important;
}

.kb-collection-content-wrapper .sl-wave-footer {
  margin-top: 40px !important;
}
.kb-article-content-wrapper .sl-cst-section {
  border-top: 1px solid #e0e0e0;
  padding-top: 40px;
  margin-top: 40px;
}
.sl-section-divider {
  border: none;
  margin: 40px 0 0 0;
}
.kb-article-body h2,
.kb-article-body h3 {
  cursor: default !important;
}
.kb-article-body h2::before,
.kb-article-body h3::before {
  display: none !important;
}