/* TurboHelp public help center base theme. Built into public_hc/themes/theme1/css/theme.min.css */
:root {
  color-scheme: light;
  --hc-bg: #f8fafc;
  --hc-bg-elevated: #fff;
  --hc-bg-alt: #f1f5f9;
  --hc-text: #111827;
  --hc-muted: #64748b;
  --hc-disabled: #94a3b8;
  --hc-border: #e2e8f0;
  --hc-border-light: #edf2f7;
  --hc-primary: #2563eb;
  --hc-primary-soft: rgba(37, 99, 235, .1);
  --hc-hover: rgba(15, 23, 42, .06);
  --hc-focus: rgba(37, 99, 235, .24);
  --hc-shadow-sm: 0 1px 2px rgba(15, 23, 42, .05);
  --hc-shadow: 0 18px 50px rgba(15, 23, 42, .1);
  --hc-radius: 8px;
  --hc-button-radius: 6px;
  --hc-navbar-height: 64px;
}

html.hc-dark {
  color-scheme: dark;
  --hc-bg: #0f1117;
  --hc-bg-elevated: #171a23;
  --hc-bg-alt: #202431;
  --hc-text: #f3f5f7;
  --hc-muted: #a8b0bf;
  --hc-disabled: #737d91;
  --hc-border: #2b3040;
  --hc-border-light: #222735;
  --hc-primary: #8ab4ff;
  --hc-primary-soft: rgba(138, 180, 255, .16);
  --hc-hover: rgba(255, 255, 255, .08);
  --hc-focus: rgba(138, 180, 255, .28);
  --hc-shadow-sm: 0 1px 2px rgba(0, 0, 0, .24);
  --hc-shadow: 0 18px 50px rgba(0, 0, 0, .36);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--hc-bg);
  color: var(--hc-text);
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 12% 0, rgba(37, 99, 235, .08), transparent 30rem),
    var(--hc-bg);
  color: var(--hc-text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

html.hc-dark body {
  background:
    radial-gradient(circle at 12% 0, rgba(138, 180, 255, .11), transparent 30rem),
    var(--hc-bg);
}

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

a:hover {
  color: var(--hc-primary);
}

button,
input {
  font: inherit;
}

.hc-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.hc-container {
  width: min(1180px, calc(100% - 28px));
  margin-inline: auto;
}

.hc-top {
  position: relative;
  z-index: 30;
  margin: 0 0 34px;
  overflow: visible;
  color: var(--hc-text);
  background: transparent;
}

.hc-header {
  position: sticky;
  top: 0;
  z-index: 5000;
  border-bottom: 1px solid var(--hc-border);
  background: color-mix(in srgb, var(--hc-bg-elevated) 92%, transparent);
  color: var(--hc-text);
  backdrop-filter: blur(14px);
}

.hc-nav {
  min-height: var(--hc-navbar-height);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  padding: 8px 0;
}

.hc-brand {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  height: 36px;
  margin-right: 20px;
  min-width: 0;
  font-weight: 700;
}

.hc-brand img {
  display: block;
  width: auto;
  max-width: 168px;
  max-height: 36px;
  object-fit: contain;
}

html.hc-dark .hc-brand img {
  filter: brightness(0) invert(1);
}

.hc-brand-name {
  overflow: hidden;
  color: var(--hc-text);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hc-nav-search {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  flex: 0 1 320px;
  min-width: 220px;
  height: 36px;
  margin-right: auto;
  border: 1px solid var(--hc-border);
  border-radius: var(--hc-button-radius);
  background: var(--hc-bg-elevated);
  color: var(--hc-muted);
  box-shadow: var(--hc-shadow-sm);
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.hc-nav-search:focus-within {
  z-index: 5100;
  border-color: var(--hc-primary);
  box-shadow: 0 0 0 3px var(--hc-focus);
}

.hc-nav-search svg {
  width: 18px;
  height: 18px;
  margin-left: 12px;
  flex: 0 0 auto;
}

.hc-nav-search input {
  min-width: 0;
  width: 100%;
  height: 100%;
  border: 0;
  outline: 0;
  padding: 0 8px;
  background: transparent;
  color: var(--hc-text);
  font-size: 14px;
}

.hc-nav-search input::placeholder {
  color: var(--hc-muted);
}

.hc-nav-search kbd {
  margin-left: auto;
  margin-right: 10px;
  color: var(--hc-muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
}

.hc-language,
.hc-header-link,
.hc-header-button,
.hc-auth-user,
.hc-chip,
.hc-theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  border-radius: var(--hc-button-radius);
  padding: 0 12px;
  border: 1px solid transparent;
  color: var(--hc-text);
  background: transparent;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}

.hc-language svg,
.hc-theme-toggle svg {
  width: 18px;
  height: 18px;
  margin-right: 8px;
  color: var(--hc-muted);
}

.hc-language {
  color: var(--hc-muted);
}

.hc-language-menu {
  position: relative;
  z-index: 5050;
  flex: 0 0 auto;
}

.hc-language-menu summary {
  list-style: none;
  cursor: pointer;
}

.hc-language-menu summary::-webkit-details-marker {
  display: none;
}

.hc-language-menu[open] {
  z-index: 5200;
}

.hc-language-chevron {
  width: 18px;
  height: 18px;
  margin-right: 0;
  margin-left: 6px;
  transition: transform .18s ease;
}

.hc-language-menu[open] .hc-language-chevron {
  transform: rotate(180deg);
}

.hc-language-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 5200;
  min-width: 190px;
  overflow: hidden;
  border: 1px solid var(--hc-border);
  border-radius: var(--hc-radius);
  background: var(--hc-bg-elevated);
  box-shadow: 0 18px 48px rgb(0 0 0 / 18%);
  color: var(--hc-text);
}

.hc-language-dropdown a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  color: var(--hc-text);
}

.hc-language-dropdown a:hover,
.hc-language-dropdown a[aria-current="page"] {
  background: var(--hc-hover);
}

.hc-language-dropdown small {
  color: var(--hc-muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0;
}

.hc-header-links,
.hc-footer-menu,
.hc-footer-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.hc-header-links {
  margin-left: 0;
  flex-wrap: nowrap;
}

.hc-header-link:hover,
.hc-language:hover,
.hc-theme-toggle:hover,
.hc-chip:hover {
  background: var(--hc-hover);
  color: var(--hc-text);
}

.hc-header-button {
  border-color: var(--hc-border);
  background: var(--hc-bg-elevated);
  box-shadow: var(--hc-shadow-sm);
}

.hc-header-button:hover {
  border-color: var(--hc-primary);
  background: var(--hc-primary-soft);
  color: var(--hc-primary);
}

.hc-auth-user {
  gap: 10px;
  padding-left: 4px;
}

.hc-auth-user span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: #0284c7;
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
}

.hc-auth-user strong {
  display: block;
  max-width: 124px;
  overflow: hidden;
  font-size: 14px;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hc-hero {
  margin-top: 0;
  padding: 54px 0 64px;
  background:
    linear-gradient(135deg, rgba(9, 24, 54, .92), rgba(37, 99, 235, .76)),
    var(--hero-image, url("/assets/images/hc-header-pattern.svg")),
    #10234d;
  background-position: var(--hero-position, center);
  background-repeat: var(--hero-repeat, no-repeat);
  background-size: var(--hero-size, cover);
  color: #fff;
  text-align: center;
}

.hc-top-simple .hc-hero {
  border-bottom: 1px solid var(--hc-border);
  background:
    var(--hero-image, url("/assets/images/hc-header-pattern.svg")),
    var(--hc-bg-elevated);
  color: var(--hc-text);
  text-align: left;
}

.hc-hero h1 {
  margin: 0;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.08;
  letter-spacing: 0;
}

.hc-hero p {
  margin: 12px auto 0;
  max-width: 680px;
  color: rgba(255, 255, 255, .86);
  font-size: clamp(16px, 2vw, 21px);
}

.hc-top-simple .hc-hero p {
  margin-left: 0;
  color: var(--hc-muted);
}

.hc-search {
  width: min(780px, 100%);
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 30px auto 0;
}

.hc-search-field {
  position: relative;
  flex: 1;
}

.hc-search-field svg {
  position: absolute;
  left: 18px;
  top: 50%;
  width: 22px;
  height: 22px;
  transform: translateY(-50%);
  color: var(--hc-muted);
}

.hc-search input {
  width: 100%;
  height: 60px;
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 0 18px 0 52px;
  background: #fff;
  color: #111827;
  box-shadow: var(--hc-shadow);
}

html.hc-dark .hc-search input {
  border-color: var(--hc-border);
  background: var(--hc-bg-elevated);
  color: var(--hc-text);
}

.hc-search button,
.hc-button {
  height: 52px;
  border: 0;
  border-radius: var(--hc-button-radius);
  padding: 0 18px;
  background: #111827;
  color: #fff;
  cursor: pointer;
  font-weight: 700;
}

.hc-search button:hover,
.hc-button:hover {
  background: #0b1220;
  color: #fff;
}

.hc-main {
  flex: 1;
  padding: 0 0 64px;
}

.hc-page-title {
  margin: 0 0 24px;
  color: var(--hc-text);
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.16;
  letter-spacing: 0;
}

.hc-description {
  margin: -12px 0 28px;
  max-width: 760px;
  color: var(--hc-muted);
}

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

.hc-card,
.hc-section,
.hc-article,
.hc-sidebar {
  border: 1px solid var(--hc-border);
  border-radius: var(--hc-radius);
  background: var(--hc-bg-elevated);
  box-shadow: var(--hc-shadow-sm);
}

.hc-card {
  padding: 22px;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.hc-card:hover {
  border-color: color-mix(in srgb, var(--hc-primary) 34%, var(--hc-border));
  box-shadow: var(--hc-shadow);
  transform: translateY(-1px);
}

.hc-section {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.hc-section-page {
  grid-template-columns: minmax(0, 1fr);
  max-width: none;
  gap: 22px;
}

.hc-section-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.hc-section-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  border-radius: var(--hc-radius);
  background: var(--hc-bg-alt);
  color: var(--hc-primary);
  font-weight: 700;
}

.hc-section-image,
.hc-section-header img,
.hc-article-section-title img {
  display: block;
  width: auto;
  height: auto;
  max-width: 30px;
  max-height: 30px;
  flex: 0 0 auto;
  border-radius: var(--hc-radius);
  object-fit: contain;
}

.hc-section h2,
.hc-card h2,
.hc-card h3 {
  margin: 0;
  color: var(--hc-text);
  font-size: clamp(21px, 3vw, 30px);
  line-height: 1.2;
  letter-spacing: 0;
}

.hc-card h2,
.hc-card h3 {
  font-size: 19px;
}

.hc-card p,
.hc-section-description {
  margin: 8px 0 0;
  color: var(--hc-muted);
}

.hc-list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.hc-list a {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--hc-border-light);
  color: var(--hc-text);
}

.hc-list li:last-child a {
  border-bottom: 0;
}

.hc-list a:hover {
  color: var(--hc-primary);
}

.hc-list .hc-list-overflow a {
  color: var(--hc-primary);
  font-weight: 700;
}

.hc-section-page .hc-section {
  overflow: hidden;
  border: 1px solid var(--hc-border);
  border-radius: 12px;
  padding: 12px;
  background: var(--hc-bg-elevated);
  box-shadow: var(--hc-shadow-sm);
}

.hc-section-page .hc-section-header {
  min-height: 58px;
  margin: 0 12px;
  border-bottom: 1px solid var(--hc-border-light);
  padding: 8px 0 20px;
}

.hc-section-page .hc-section-header h2 {
  font-size: 20px;
  font-weight: 500;
}

.hc-section-page .hc-section-description {
  margin: 12px 12px 0;
}

.hc-section-page .hc-list {
  margin: 12px 0 0;
}

.hc-section-page .hc-list a {
  min-height: 44px;
  align-items: center;
  border: 0;
  border-radius: 10px;
  padding: 12px;
  font-size: 14px;
  line-height: 20px;
  transition: background-color .16s ease, box-shadow .16s ease, color .16s ease;
}

.hc-section-page .hc-list a > span:last-child {
  transition: transform .16s ease;
}

.hc-section-page .hc-list a:hover {
  background: var(--hc-hover);
  color: var(--hc-text);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--hc-border) 72%, transparent);
}

.hc-section-page .hc-list a:hover > span:last-child {
  transform: translateX(3px);
}

.hc-section-page .hc-list a:focus-visible {
  outline: 3px solid var(--hc-focus);
  outline-offset: -1px;
}

.hc-empty-list {
  display: block;
  padding: 10px 0;
  color: var(--hc-muted);
}

.hc-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  gap: 32px;
  align-items: start;
}

.hc-container.hc-article-page,
.hc-container.hc-header-container,
.hc-container.hc-footer-container {
  width: min(1420px, calc(100% - 28px));
}

.hc-article-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 18px;
}

.hc-article-toolbar .hc-breadcrumbs {
  min-width: 0;
  margin: 0;
}

.hc-article-preview-notice {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
  margin-bottom: 20px;
  border: 1px solid #d97706;
  border-radius: var(--hc-radius);
  padding: 12px 16px;
  background: color-mix(in srgb, #f59e0b 12%, var(--hc-bg-elevated));
  color: var(--hc-text);
  font-size: 14px;
}

.hc-article-preview-notice strong {
  color: #92400e;
}

html.hc-dark .hc-article-preview-notice strong {
  color: #fbbf24;
}

.hc-print-article {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  gap: 7px;
  flex: 0 0 auto;
  border: 0;
  border-radius: var(--hc-button-radius);
  padding: 0 10px;
  background: transparent;
  color: var(--hc-muted);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
}

.hc-print-article svg {
  width: 17px;
  height: 17px;
}

.hc-print-article:hover {
  background: var(--hc-hover);
  color: var(--hc-text);
}

.hc-print-article:focus-visible {
  outline: 3px solid var(--hc-focus);
  outline-offset: 1px;
}

.hc-article-layout {
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
}

.hc-article {
  min-width: 0;
  border-radius: 12px;
  padding: clamp(26px, 3.2vw, 40px);
}

.hc-article-heading {
  margin-bottom: 24px;
  border-bottom: 1px solid var(--hc-border-light);
  padding-bottom: 24px;
}

.hc-article-category {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  margin-bottom: 12px;
  border-radius: 7px;
  padding: 3px 10px;
  background: var(--hc-primary-soft);
  color: var(--hc-primary-dark);
  font-size: 12px;
  font-weight: 700;
}

.hc-article-category:hover {
  background: color-mix(in srgb, var(--hc-primary) 18%, transparent);
  color: var(--hc-primary-dark);
}

.hc-article-heading .hc-page-title {
  margin-bottom: 10px;
  font-size: clamp(27px, 3.5vw, 38px);
}

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

.hc-article-heading .hc-description {
  margin: 14px 0 0;
  max-width: none;
  color: var(--hc-text);
}

.hc-article-body {
  color: var(--hc-text);
  font-size: 16px;
  line-height: 1.7;
}

.hc-article-body > :first-child {
  margin-top: 0;
}

.hc-article-body > :last-child {
  margin-bottom: 0;
}

.hc-article-body h2,
.hc-article-body h3 {
  scroll-margin-top: calc(var(--hc-navbar-height) + 24px);
  color: var(--hc-text);
  line-height: 1.35;
}

.hc-article-body h2 {
  margin: 30px 0 10px;
  font-size: 20px;
}

.hc-article-body h3 {
  margin: 24px 0 8px;
  font-size: 17px;
}

.hc-article-body p,
.hc-article-body ul,
.hc-article-body ol,
.hc-article-body blockquote {
  margin-top: 0;
  margin-bottom: 16px;
}

.hc-article-body a {
  color: var(--hc-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.hc-article-body img {
  max-width: 100%;
  height: auto;
  border: 1px solid var(--hc-border-light);
  border-radius: 10px;
  box-shadow: var(--hc-shadow-sm);
}

.hc-article-body pre {
  overflow-x: auto;
  padding: 16px;
  border-radius: var(--hc-radius);
  background: #111827;
  color: #f9fafb;
}

.hc-article-body blockquote {
  border: 1px solid color-mix(in srgb, #22c55e 28%, var(--hc-border));
  border-left: 3px solid #22c55e;
  border-radius: 8px;
  padding: 12px 14px;
  background: color-mix(in srgb, #22c55e 9%, var(--hc-bg-elevated));
  color: color-mix(in srgb, #166534 82%, var(--hc-text));
}

.hc-article-body blockquote > :last-child {
  margin-bottom: 0;
}

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

.hc-article-body th,
.hc-article-body td {
  border: 1px solid var(--hc-border);
  padding: 10px 12px;
  text-align: left;
}

.hc-article-body th {
  background: var(--hc-bg-alt);
}

.hc-article-sidebar {
  position: sticky;
  top: calc(var(--hc-navbar-height) + 22px);
  display: grid;
  gap: 16px;
}

.hc-sidebar-card {
  min-width: 0;
  border: 1px solid var(--hc-border);
  border-radius: 12px;
  padding: 22px;
  background: var(--hc-bg-elevated);
  box-shadow: var(--hc-shadow-sm);
}

.hc-sidebar-card h2 {
  margin: 0 0 14px;
  color: var(--hc-text);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
}

.hc-page-nav {
  display: grid;
  gap: 4px;
}

.hc-page-nav a,
.hc-sidebar-articles a {
  display: block;
  border-radius: 7px;
  padding: 8px 10px;
  color: var(--hc-muted);
  font-size: 13px;
  line-height: 1.45;
  transition: background-color .16s ease, color .16s ease, box-shadow .16s ease;
}

.hc-page-nav a {
  border-left: 2px solid transparent;
}

.hc-page-nav a:hover,
.hc-page-nav a:focus-visible,
.hc-sidebar-articles a:hover,
.hc-sidebar-articles a:focus-visible {
  background: var(--hc-hover);
  color: var(--hc-text);
  outline: none;
  box-shadow: inset 2px 0 0 var(--hc-primary);
}

.hc-page-nav .hc-page-nav-indent {
  padding-left: 22px;
}

.hc-sidebar-articles {
  display: grid;
  gap: 3px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hc-sidebar-articles a {
  display: flex;
  min-height: 40px;
  align-items: center;
  gap: 12px;
  border: 1px solid transparent;
  border-radius: 9px;
  padding: 8px 12px;
  color: var(--hc-text);
  font-weight: 500;
}

.hc-sidebar-articles a::after {
  content: '';
  width: 7px;
  height: 7px;
  flex: none;
  margin-left: auto;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  opacity: .45;
  transform: rotate(45deg);
}

.hc-sidebar-articles a:hover,
.hc-sidebar-articles a:focus-visible {
  border-color: var(--hc-border-light);
  background: var(--hc-hover);
  color: var(--hc-primary-dark);
  box-shadow: none;
}

.hc-sidebar-articles a[aria-current="page"] {
  border-color: color-mix(in srgb, var(--hc-primary) 18%, transparent);
  background: var(--hc-primary-soft);
  color: var(--hc-primary-dark);
  font-weight: 700;
  box-shadow: inset 3px 0 0 var(--hc-primary);
}

.hc-sidebar-articles a[aria-current="page"]::after {
  opacity: 1;
}

html.hc-dark .hc-sidebar-articles a:hover,
html.hc-dark .hc-sidebar-articles a:focus-visible,
html.hc-dark .hc-sidebar-articles a[aria-current="page"] {
  color: var(--hc-primary);
}

.hc-sidebar-support {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  border-color: color-mix(in srgb, var(--hc-primary) 18%, var(--hc-border));
  background: color-mix(in srgb, var(--hc-primary) 4%, var(--hc-bg-elevated));
}

.hc-sidebar-support h2 {
  margin-bottom: 4px;
}

.hc-sidebar-support p {
  margin: 0 0 14px;
  color: var(--hc-muted);
  font-size: 13px;
  line-height: 1.5;
}

.hc-sidebar-support a {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-self: start;
  border: 1px solid var(--hc-primary);
  border-radius: var(--hc-button-radius);
  padding: 0 17px;
  background: var(--hc-primary);
  color: var(--hc-bg-elevated);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 4px 12px color-mix(in srgb, var(--hc-primary) 20%, transparent);
  transition: filter .16s ease, box-shadow .16s ease, transform .16s ease;
}

.hc-sidebar-support a span {
  margin-left: 10px;
  font-size: 17px;
  font-weight: 400;
  line-height: 1;
}

.hc-sidebar-support a:hover {
  border-color: var(--hc-primary);
  color: var(--hc-bg-elevated);
  filter: brightness(.96);
  box-shadow: 0 7px 18px color-mix(in srgb, var(--hc-primary) 28%, transparent);
  transform: translateY(-1px);
}

.hc-sidebar-support a:focus-visible {
  outline: 3px solid var(--hc-focus);
  outline-offset: 2px;
}

@media (max-width: 1100px) {
  .hc-article-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .hc-article-sidebar {
    position: static;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  }
}

@media (max-width: 760px) {
  .hc-article-toolbar {
    align-items: flex-start;
  }

  .hc-print-article span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .hc-article-sidebar {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media print {
  .hc-header,
  .hc-footer,
  .hc-article-toolbar,
  .hc-article-sidebar,
  .hc-article-actions,
  #th-chat-iframe {
    display: none !important;
  }

  .hc-main {
    padding: 0;
  }

  .hc-article-layout {
    display: block;
  }

  .hc-article {
    border: 0;
    padding: 0;
    box-shadow: none;
  }
}

.hc-sidebar {
  position: sticky;
  top: calc(var(--hc-navbar-height) + 24px);
  padding: 14px;
}

.hc-sidebar-title {
  margin: 0 0 8px;
  padding: 0 4px;
  color: var(--hc-muted);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.hc-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 22px;
  color: var(--hc-muted);
  font-size: 14px;
}

.hc-breadcrumbs span::after,
.hc-breadcrumbs a::after {
  content: "/";
  margin-left: 6px;
  color: var(--hc-disabled);
}

.hc-breadcrumbs span:last-child::after,
.hc-breadcrumbs a:last-child::after {
  content: "";
  margin: 0;
}

.hc-attachments {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hc-chip {
  min-height: 32px;
  padding: 4px 12px;
  background: transparent;
  color: var(--hc-muted);
  font-size: 13px;
}

.hc-footer {
  border-top: 1px solid var(--hc-border);
  padding: 54px 0 34px;
  color: var(--hc-muted);
  background: var(--hc-bg);
  font-size: 14px;
}

.hc-footer-top,
.hc-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.hc-footer-top {
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--hc-border);
}

.hc-footer-bottom {
  padding-top: 0;
}

.hc-footer-menu {
  gap: 30px;
  color: var(--hc-primary);
}

.hc-footer-actions {
  gap: 8px;
  color: var(--hc-muted);
}

.hc-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: transparent;
  color: var(--hc-muted);
  font-size: 17px;
  font-weight: 800;
  text-transform: uppercase;
}

.hc-social svg {
  width: 22px;
  height: 22px;
}

.hc-social:hover {
  background: var(--hc-hover);
  color: var(--hc-primary);
}

.hc-powered-by {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  border: 1px solid var(--hc-border);
  border-radius: var(--hc-button-radius);
  padding: 4px 12px;
  color: var(--hc-text);
  background: var(--hc-bg-elevated);
  font-size: 13px;
  font-weight: 700;
}

.hc-powered-by svg {
  width: 16px;
  height: 16px;
  color: var(--hc-primary);
}

.hc-theme-toggle {
  cursor: pointer;
}

html.hc-dark .hc-theme-toggle span {
  font-size: 0;
}

html.hc-dark .hc-theme-toggle span::before {
  content: "Light mode";
  font-size: 14px;
}

.hc-cookie-notice {
  position: fixed;
  z-index: 1000;
  left: 0;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 14px 20px;
  background: #1f2937;
  color: #fff;
  box-shadow: 0 8px 28px rgb(0 0 0 / 24%);
  font-size: 14px;
}

.hc-cookie-notice[hidden] {
  display: none;
}

.hc-cookie-notice-top {
  top: 0;
}

.hc-cookie-notice-bottom {
  bottom: 0;
}

.hc-cookie-notice p {
  margin: 0;
}

.hc-cookie-notice a {
  color: #bfdbfe;
  text-decoration: underline;
}

.hc-cookie-notice button {
  flex: 0 0 auto;
  min-height: 32px;
  border: 0;
  border-radius: var(--hc-input-radius);
  padding: 6px 18px;
  background: var(--hc-primary);
  color: #fff;
  cursor: pointer;
  font-weight: 700;
}

@media (max-width: 900px) {
  .hc-nav {
    gap: 8px;
  }

  .hc-brand {
    margin-right: 4px;
  }

  .hc-nav-search {
    flex-basis: auto;
    min-width: 44px;
    width: 44px;
    justify-content: center;
  }

  .hc-nav-search input,
  .hc-nav-search kbd {
    display: none;
  }

  .hc-nav-search svg {
    margin: 0;
  }

  .hc-language span,
  .hc-auth-user strong {
    display: none;
  }

  .hc-language svg {
    margin: 0;
  }
}

@media (max-width: 640px) {
  .hc-cookie-notice {
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
  }

  .hc-cookie-notice button {
    align-self: flex-start;
  }
}

@media (max-width: 760px) {
  .hc-container {
    width: min(100% - 28px, 1180px);
  }

  .hc-header-links {
    margin-left: auto;
  }

  .hc-header-link {
    display: none;
  }

  .hc-header-button {
    padding-inline: 10px;
  }

  .hc-hero {
    padding: 42px 0 54px;
  }

  .hc-search {
    flex-direction: column;
    align-items: stretch;
  }

  .hc-search button {
    width: 100%;
  }

  .hc-layout {
    grid-template-columns: 1fr;
  }

  .hc-sidebar {
    position: static;
  }

  .hc-footer-top,
  .hc-footer-bottom {
    align-items: stretch;
    flex-direction: column;
    text-align: center;
  }

  .hc-footer-menu,
  .hc-footer-actions {
    justify-content: center;
  }
}

/* Theme1 pass: mirror the classic ajax help center skin. */
:root {
  --hc-bg: rgb(var(--th-bg, 255 255 255));
  --hc-bg-elevated: rgb(var(--th-bg-elevated, 255 255 255));
  --hc-bg-alt: rgb(var(--th-bg-alt, 246 248 250));
  --hc-bg-chip: rgb(var(--th-bg-chip, 233 236 239));
  --hc-text: rgb(var(--th-fg-base, 0 0 0) / var(--th-text-main-opacity, 87%));
  --hc-muted: rgb(var(--th-fg-base, 0 0 0) / var(--th-text-muted-opacity, 60%));
  --hc-border: rgb(var(--th-fg-base, 0 0 0) / var(--th-divider-opacity, 12%));
  --hc-border-light: rgb(var(--th-fg-base, 0 0 0) / 8%);
  --hc-primary: rgb(var(--th-primary, 59 130 246));
  --hc-primary-dark: rgb(var(--th-primary-dark, 37 99 235));
  --hc-hover: rgb(var(--th-fg-base, 0 0 0) / var(--th-hover-opacity, 4%));
  --hc-focus: rgb(var(--th-primary, 59 130 246) / var(--th-focus-opacity, 12%));
  --hc-radius: var(--th-panel-radius, .75rem);
  --hc-button-radius: var(--th-button-radius, 1.5rem);
  --hc-input-radius: var(--th-input-radius, .5rem);
  --hc-shadow-sm: 0 1px 2px rgb(0 0 0 / 5%);
  --hc-shadow: 0 14px 30px rgb(15 23 42 / 14%);
  --hc-navbar-height: 64px;
}

html.hc-dark {
  --hc-bg: #111318;
  --hc-bg-elevated: #171a21;
  --hc-bg-alt: #20242d;
  --hc-bg-chip: #2a303b;
  --hc-text: rgb(255 255 255 / 87%);
  --hc-muted: rgb(255 255 255 / 60%);
  --hc-border: rgb(255 255 255 / 12%);
  --hc-border-light: rgb(255 255 255 / 8%);
  --hc-hover: rgb(255 255 255 / 8%);
  --hc-focus: rgb(96 165 250 / 22%);
  --hc-primary: #60a5fa;
  --hc-primary-dark: rgb(37 99 235 / 40%);
}

body {
  background: var(--hc-bg);
}

.hc-container {
  width: min(1180px, calc(100% - 28px));
}

.hc-top {
  margin-bottom: 30px;
  overflow: visible;
  background: var(--hc-bg);
}

.hc-top.hc-has-hero {
  margin-bottom: 60px;
  background-color: rgb(var(--th-primary-dark, 37 99 235));
  background-image:
    linear-gradient(rgb(var(--th-primary-dark, 37 99 235) / 88%), rgb(var(--th-primary-dark, 37 99 235) / 88%)),
    var(--hero-image, url("/assets/images/hc-header-pattern.svg"));
  background-position: var(--hero-position, center);
  background-repeat: var(--hero-repeat, no-repeat);
  background-size: var(--hero-size, cover);
  color: #fff;
}

html.hc-dark .hc-top.hc-has-hero {
  background-color: rgb(var(--th-primary-dark, 37 99 235) / 40%);
  background-image:
    linear-gradient(rgb(15 23 42 / 34%), rgb(15 23 42 / 34%)),
    var(--hero-image, url("/assets/images/hc-header-pattern.svg"));
}

.hc-header {
  position: sticky;
  top: 0;
  min-height: var(--hc-navbar-height);
  border-bottom: 1px solid var(--hc-border);
  background: var(--hc-bg-elevated);
  backdrop-filter: none;
}

.hc-has-hero .hc-header {
  position: relative;
  border-bottom: 0;
  background: transparent;
  color: #fff;
}

.hc-nav {
  min-height: var(--hc-navbar-height);
  justify-content: flex-end;
  gap: 10px;
  padding: 8px 14px;
}

.hc-brand {
  height: 36px;
  max-height: 36px;
  margin-right: 24px;
}

.hc-brand img {
  height: 100%;
  max-height: 36px;
}

html.hc-dark .hc-brand img {
  filter: none;
}

.hc-has-hero .hc-nav-search {
  display: none;
}

.hc-nav-search {
  height: 42px;
  max-width: 420px;
  margin-right: auto;
  border-radius: var(--hc-input-radius);
  background: var(--hc-bg-elevated);
}

.hc-header-links {
  margin-left: auto;
  gap: 10px;
}

.hc-language,
.hc-header-link,
.hc-header-button,
.hc-auth-user,
.hc-chip,
.hc-theme-toggle {
  min-height: 36px;
  border-radius: var(--hc-button-radius);
  padding: 0 18px;
  font-size: 14px;
  font-weight: 600;
}

.hc-has-hero .hc-language,
.hc-has-hero .hc-header-link,
.hc-has-hero .hc-theme-toggle {
  color: rgb(255 255 255 / 90%);
}

.hc-has-hero .hc-language svg,
.hc-has-hero .hc-theme-toggle svg {
  color: currentColor;
}

.hc-has-hero .hc-header-link:hover,
.hc-has-hero .hc-language:hover {
  background: rgb(255 255 255 / 10%);
  color: #fff;
}

.hc-header-button {
  border: 1px solid var(--hc-border);
  background: var(--hc-bg-elevated);
  color: var(--hc-text);
  box-shadow: var(--hc-shadow-sm);
}

.hc-has-hero .hc-header-button {
  border-color: #fff;
  background: #fff;
  color: #111;
  box-shadow: 0 8px 18px rgb(0 0 0 / 18%);
}

.hc-has-hero .hc-header-button:hover {
  border-color: #fff;
  background: rgb(255 255 255 / 90%);
  color: #111;
}

.hc-hero {
  padding: 40px 0 64px;
  background: transparent;
  color: #fff;
  text-align: center;
}

.hc-top-simple .hc-hero {
  color: var(--hc-text);
}

.hc-hero h1 {
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 500;
}

.hc-hero p {
  margin-top: 12px;
  color: rgb(255 255 255 / 90%);
  font-size: clamp(16px, 2vw, 20px);
}

.hc-search {
  width: min(850px, 100%);
  margin-top: 34px;
}

.hc-search-field svg {
  left: 16px;
  width: 24px;
  height: 24px;
  color: rgb(0 0 0 / 60%);
}

.hc-search input {
  min-height: 60px;
  height: 60px;
  border: 1px solid var(--hc-border);
  border-radius: 12px;
  padding-left: 46px;
  background: #fff;
  color: rgb(0 0 0 / 87%);
  font-size: 16px;
  box-shadow: var(--hc-shadow-sm);
}

.hc-search button,
.hc-button,
.hc-auth-submit {
  border-radius: var(--hc-button-radius);
}

.hc-main {
  min-height: 680px;
}

.hc-grid {
  gap: 54px 54px;
}

.hc-home-stack {
  display: grid;
  gap: 60px;
}

.hc-parent-category-header {
  margin-bottom: 0;
}

.hc-parent-category-header .hc-section-header {
  margin-bottom: 4px;
}

.hc-parent-category-header h2 {
  margin: 0;
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0;
}

.hc-article-section-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 84px 54px;
  margin-top: 34px;
}

.hc-article-section-card {
  min-width: 0;
}

.hc-article-section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 34px;
  border-bottom: 1px solid var(--hc-border-light);
  padding-bottom: 8px;
}

.hc-article-section-title h3 {
  min-width: 0;
  margin: 0;
  color: var(--hc-text);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0;
}

.hc-category-grid-card {
  display: block;
}

.hc-category-grid-card .hc-section-header {
  margin-bottom: 10px;
}

.hc-category-grid-card p:last-child {
  margin-top: 16px;
  color: var(--hc-primary);
  font-weight: 700;
}

.hc-multiproduct-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 20px;
}

.hc-product-card h2 {
  font-size: 21px;
  font-weight: 600;
}

.hc-product-sections {
  overflow: hidden;
  padding: 0;
}

.hc-product-section-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  color: var(--hc-text);
}

.hc-product-section-name,
.hc-product-section-article {
  display: block;
}

.hc-product-section-article {
  margin-top: 4px;
  color: var(--hc-text-muted);
  font-size: 13px;
  line-height: 1.4;
}

.hc-product-section-link-bordered {
  border-bottom: 1px solid var(--hc-border-light);
}

.hc-product-section-link:hover {
  background: var(--hc-hover);
  color: var(--hc-primary);
}

.hc-section-header {
  margin-bottom: 6px;
}

.hc-section-icon {
  width: 30px;
  height: 30px;
  border-radius: var(--hc-radius);
  background: var(--hc-bg-chip);
  color: var(--hc-primary);
}

.hc-section h2 {
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 500;
}

.hc-section-description {
  margin-top: 4px;
  font-size: 14px;
}

.hc-list {
  margin-top: 24px;
}

.hc-list a {
  border-bottom-color: transparent;
  padding: 8px 0;
}

.hc-container.hc-category-page {
  width: min(820px, calc(100% - 28px));
}

.hc-category-intro {
  margin: 28px 0 30px;
}

.hc-category-intro > .hc-section-icon,
.hc-category-intro > .hc-section-image {
  width: 48px;
  height: 48px;
  max-width: 48px;
  max-height: 48px;
  margin-bottom: 18px;
}

.hc-category-intro > .hc-section-icon {
  flex-basis: 48px;
}

.hc-category-intro > .hc-section-icon svg {
  width: 26px;
  height: 26px;
}

.hc-category-intro .hc-page-title {
  margin: 0 0 8px;
  font-size: clamp(30px, 4vw, 38px);
}

.hc-category-intro .hc-description {
  margin: 0 0 10px;
}

.hc-category-article-count {
  margin: 0;
  color: var(--hc-muted);
  font-size: 13px;
  font-weight: 600;
}

.hc-category-page .hc-grid {
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
}

.hc-category-page .hc-section {
  overflow: hidden;
  border: 1px solid var(--hc-border);
  border-radius: var(--hc-radius);
  padding: 18px 20px 10px;
  background: var(--hc-bg-elevated);
  box-shadow: var(--hc-shadow-sm);
}

.hc-category-page .hc-section-card-heading {
  border-bottom: 1px solid var(--hc-border-light);
  padding: 0 4px 14px;
}

.hc-category-page .hc-section-header,
.hc-category-page .hc-section-page .hc-section-header {
  min-height: 0;
  margin: 0;
  border: 0;
  padding: 0;
}

.hc-category-page .hc-section h2,
.hc-category-page .hc-section-page .hc-section-header h2 {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
}

.hc-category-page .hc-section-header h2 a:hover {
  color: var(--hc-primary);
}

.hc-category-page .hc-section-count {
  margin-left: auto;
  color: var(--hc-muted);
  font-size: 12px;
  white-space: nowrap;
}

.hc-category-page .hc-section-description {
  margin: 8px 0 0;
  font-size: 13px;
}

.hc-category-page .hc-list,
.hc-category-page .hc-section-page .hc-list {
  margin: 6px 0 0;
}

.hc-category-page .hc-list a,
.hc-category-page .hc-section-page .hc-list a {
  min-height: 42px;
  align-items: center;
  border: 0;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 14px;
  line-height: 1.45;
  transition: background-color .16s ease, color .16s ease;
}

.hc-category-page .hc-list a:hover,
.hc-category-page .hc-section-page .hc-list a:hover {
  background: var(--hc-hover);
  color: var(--hc-text);
  box-shadow: none;
}

.hc-category-page .hc-list a:focus-visible {
  outline: 3px solid var(--hc-focus);
  outline-offset: -1px;
}

.hc-category-page .hc-list a > span:last-child {
  color: var(--hc-muted);
  transition: transform .16s ease;
}

.hc-category-page .hc-list a:hover > span:last-child {
  transform: translateX(3px);
}

.hc-category-page .hc-list .hc-list-overflow a {
  color: var(--hc-primary);
}

@media (max-width: 600px) {
  .hc-category-intro {
    margin: 22px 0 26px;
  }

  .hc-category-page .hc-section {
    padding: 16px 12px 8px;
  }

  .hc-category-page .hc-section-card-heading {
    padding: 0 8px 12px;
  }
}

.hc-card,
.hc-article,
.hc-sidebar {
  border-radius: var(--hc-radius);
}

.hc-footer {
  border-top: 0;
  padding: 54px 40px;
  background: var(--hc-bg);
}

.hc-footer-top {
  overflow-x: auto;
}

.hc-footer-menu {
  color: var(--hc-primary);
}

.hc-footer-bottom {
  color: var(--hc-muted);
}

.hc-auth-page {
  display: flex;
  justify-content: center;
  padding: 34px 14px 84px;
}

.hc-auth-card {
  width: min(100%, 430px);
  border: 1px solid var(--hc-border);
  border-radius: var(--hc-radius);
  padding: 30px;
  background: var(--hc-bg-elevated);
  box-shadow: var(--hc-shadow-sm);
}

.hc-auth-eyebrow {
  margin: 0 0 8px;
  color: var(--hc-primary);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.hc-auth-card h1 {
  margin: 0;
  font-size: 32px;
  font-weight: 600;
  letter-spacing: 0;
}

.hc-auth-subtitle {
  margin: 10px 0 0;
  color: var(--hc-muted);
}

.hc-auth-form {
  display: grid;
  gap: 16px;
  margin-top: 26px;
}

.hc-auth-form label {
  display: grid;
  gap: 6px;
  color: var(--hc-text);
  font-size: 14px;
  font-weight: 600;
}

.hc-auth-form input {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--hc-border);
  border-radius: var(--hc-input-radius);
  padding: 0 14px;
  background: var(--hc-bg);
  color: var(--hc-text);
  outline: none;
}

.hc-auth-form input:focus {
  border-color: var(--hc-primary);
  box-shadow: 0 0 0 3px var(--hc-focus);
}

.hc-auth-error {
  margin: 0;
  border-radius: var(--hc-input-radius);
  padding: 10px 12px;
  background: #fee2e2;
  color: #991b1b;
  font-size: 14px;
}

.hc-auth-success {
  margin: 0;
  border-radius: var(--hc-input-radius);
  padding: 10px 12px;
  background: #dcfce7;
  color: #166534;
  font-size: 14px;
}

.hc-auth-submit {
  min-height: 46px;
  border: 0;
  background: var(--hc-primary);
  color: #fff;
  cursor: pointer;
  font-weight: 700;
}

.hc-auth-submit:hover {
  background: var(--hc-primary-dark);
}

.hc-auth-switch {
  margin: 20px 0 0;
  color: var(--hc-muted);
  text-align: center;
}

.hc-auth-switch a {
  color: var(--hc-primary);
  font-weight: 700;
}

.hc-search-live {
  position: relative;
  z-index: 40;
}

.hc-search-popover {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 4px);
  z-index: 6000;
  overflow: hidden;
  border: 1px solid var(--hc-border);
  border-radius: var(--hc-radius);
  background: var(--hc-bg-elevated);
  box-shadow: 0 18px 48px rgb(0 0 0 / 18%);
  color: var(--hc-text);
  text-align: left;
}

.hc-search-field .ajax-search-results,
.hc-nav-search .ajax-search-results {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 4px);
  z-index: 6000;
  overflow: hidden;
  border: 1px solid var(--hc-border);
  border-radius: var(--hc-radius);
  background: var(--hc-bg-elevated);
  box-shadow: 0 18px 48px rgb(0 0 0 / 18%);
  color: var(--hc-text);
  text-align: left;
}

.hc-search:focus-within,
.hc-search-field:focus-within {
  position: relative;
  z-index: 5900;
}

.hc-footer-language-menu {
  z-index: 20;
}

.hc-footer-language-menu[open] {
  z-index: 5300;
}

.hc-footer-language-toggle {
  cursor: pointer;
}

.hc-footer-language-toggle svg {
  width: 18px;
  height: 18px;
  margin-right: 8px;
  color: var(--hc-muted);
}

.hc-footer-language-toggle .hc-language-chevron {
  margin-right: 0;
  margin-left: 6px;
}

.hc-footer-language-dropdown {
  top: auto;
  bottom: calc(100% + 8px);
  z-index: 5300;
}

.hc-search-field .ajax-search-results a,
.hc-nav-search .ajax-search-results a,
.hc-search-field .ajax-search-empty,
.hc-nav-search .ajax-search-empty {
  display: block;
  padding: 10px 12px;
  color: var(--hc-text);
}

.hc-search-field .ajax-search-results a:hover,
.hc-nav-search .ajax-search-results a:hover {
  background: var(--hc-hover);
  color: var(--hc-text);
}

.hc-search-field .ajax-search-results strong,
.hc-nav-search .ajax-search-results strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14px;
}

.hc-search-field .ajax-search-results span,
.hc-nav-search .ajax-search-results span,
.hc-search-field .ajax-search-empty,
.hc-nav-search .ajax-search-empty {
  display: block;
  margin-top: 4px;
  color: var(--hc-muted);
  font-size: 12px;
}

.hc-search-option {
  display: block;
  padding: 10px 12px;
  color: var(--hc-text);
}

.hc-search-option:hover,
.hc-search-option:focus {
  background: var(--hc-hover);
  color: var(--hc-text);
  outline: none;
}

.hc-search-option-title {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 600;
}

.hc-search-option-path {
  display: block;
  margin-top: 4px;
  color: var(--hc-muted);
  font-size: 12px;
}

.hc-article-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  margin-top: 32px;
}

.hc-article-feedback {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 12px;
  min-width: 0;
  min-height: 88px;
  margin: 0;
  border: 1px solid var(--hc-border);
  border-radius: 10px;
  padding: 18px 20px;
  background: var(--hc-bg-elevated);
  color: var(--hc-text);
}

.hc-feedback-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.hc-feedback-copy > span {
  font-weight: 600;
}

.hc-feedback-copy small {
  color: var(--hc-muted);
  font-size: 13px;
}

.hc-article-feedback form {
  margin: 0;
}

.hc-article-feedback button {
  display: inline-flex;
  min-width: 58px;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid currentColor;
  border-radius: 999px;
  padding: 0 14px;
  background: var(--hc-bg-elevated);
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  transition: background-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.hc-feedback-button::before {
  font-size: 18px;
  font-weight: 500;
  line-height: 1;
}

.hc-feedback-yes {
  color: #15803d;
}

.hc-feedback-yes::before {
  content: "✓";
}

.hc-feedback-no {
  color: #dc2626;
}

.hc-feedback-no::before {
  content: "×";
  font-size: 23px;
}

.hc-article-feedback button:hover {
  background: color-mix(in srgb, currentColor 9%, var(--hc-bg-elevated));
  box-shadow: 0 5px 14px color-mix(in srgb, currentColor 13%, transparent);
  transform: translateY(-1px);
}

.hc-article-feedback button:focus-visible,
.hc-submit-request-cta a:focus-visible {
  outline: 3px solid var(--hc-focus);
  outline-offset: 2px;
}

.hc-article-feedback-loading button {
  opacity: .55;
  pointer-events: none;
}

.hc-article-feedback strong {
  grid-column: 1 / -1;
  justify-self: start;
  border: 1px solid rgb(34 197 94 / 35%);
  border-radius: var(--hc-radius);
  padding: 7px 12px;
  background: rgb(34 197 94 / 12%);
  color: #15803d;
}

.hc-article-feedback-success .hc-feedback-copy,
.hc-article-feedback-success button {
  display: none;
}

.hc-article-feedback-success strong {
  display: inline-flex;
}

.hc-submit-request-cta {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  min-width: 0;
  border: 1px solid color-mix(in srgb, var(--hc-primary) 26%, var(--hc-border));
  border-radius: 10px;
  padding: 18px;
  background: color-mix(in srgb, var(--hc-primary) 5%, var(--hc-bg-elevated));
}

.hc-support-icon {
  display: inline-grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 999px;
  background: var(--hc-primary-soft);
  color: var(--hc-primary);
}

.hc-submit-request-cta > .hc-support-icon {
  width: 58px;
  height: 58px;
}

.hc-support-icon svg {
  width: 24px;
  height: 24px;
}

.hc-support-content {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.hc-support-content > span {
  font-weight: 600;
}

.hc-support-content > small {
  color: var(--hc-muted);
  font-size: 13px;
}

.hc-support-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 8px;
}

.hc-submit-request-cta a {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  border: 1px solid var(--hc-primary);
  border-radius: var(--hc-button-radius);
  padding: 0 16px;
  background: var(--hc-primary);
  color: #fff;
  font-weight: 700;
  white-space: nowrap;
  transition: background-color .16s ease, box-shadow .16s ease, color .16s ease, transform .16s ease;
}

.hc-submit-request-cta a:hover {
  background: var(--hc-primary-dark);
  color: #fff;
  box-shadow: 0 6px 16px color-mix(in srgb, var(--hc-primary) 22%, transparent);
  transform: translateY(-1px);
}

.hc-support-actions > small {
  color: var(--hc-muted);
  font-size: 12px;
}

@media (max-width: 760px) {
  .hc-article-feedback {
    grid-template-columns: repeat(2, auto) minmax(0, 1fr);
    justify-content: start;
  }

  .hc-feedback-copy {
    grid-column: 1 / -1;
  }

  .hc-article-feedback form {
    grid-row: 2;
  }

  .hc-submit-request-cta {
    grid-template-columns: 48px minmax(0, 1fr);
    align-items: start;
  }

  .hc-submit-request-cta > .hc-support-icon {
    width: 48px;
    height: 48px;
  }

  .hc-support-actions {
    align-items: flex-start;
    flex-direction: column;
  }
}

.portal-header,
.portal-filter,
.ticket-detail-header,
.reply-form,
.new-ticket-form {
  display: grid;
  gap: 16px;
}

.portal-header {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  border-bottom: 1px solid var(--hc-border);
  margin: -22px -22px 22px;
  padding: 22px;
}

.portal-tabs,
.portal-pager {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.portal-tabs .active,
.portal-pager a:hover {
  border-color: var(--hc-primary);
  background: var(--hc-primary-soft);
  color: var(--hc-primary);
}

.portal-body {
  display: grid;
  gap: 24px;
}

.portal-filter {
  grid-template-columns: minmax(0, 1fr) minmax(170px, 240px) auto;
}

.portal-filter input,
.portal-filter select,
.reply-form textarea,
.new-ticket-form input,
.new-ticket-form textarea,
.new-ticket-form select {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--hc-border);
  border-radius: var(--hc-input-radius);
  padding: 0 14px;
  background: var(--hc-bg);
  color: var(--hc-text);
  outline: none;
}

.reply-form textarea,
.new-ticket-form textarea {
  min-height: 140px;
  padding-block: 12px;
  resize: vertical;
}

.portal-filter input:focus,
.portal-filter select:focus,
.reply-form textarea:focus,
.new-ticket-form input:focus,
.new-ticket-form textarea:focus,
.new-ticket-form select:focus {
  border-color: var(--hc-primary);
  box-shadow: 0 0 0 3px var(--hc-focus);
}

.portal-filter button,
.reply-form button,
.new-ticket-form button,
.secondary-button {
  min-height: 42px;
  border: 1px solid var(--hc-primary);
  border-radius: var(--hc-button-radius);
  padding: 0 18px;
  background: var(--hc-primary);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
}

.secondary-button {
  border-color: var(--hc-border);
  background: transparent;
  color: var(--hc-text);
}

.ticket-list,
.message-list {
  display: grid;
  gap: 12px;
}

.ticket-list a,
.message-list article,
.portal-empty,
.portal-tips {
  border: 1px solid var(--hc-border);
  border-radius: var(--hc-radius);
  padding: 18px;
  background: var(--hc-bg-elevated);
}

.ticket-list a {
  display: grid;
  gap: 4px;
}

.portal-empty,
.portal-tips {
  color: var(--hc-muted);
}

.portal-empty h2,
.portal-tips h2,
.ticket-detail h2 {
  margin: 0;
  color: var(--hc-text);
  font-size: 22px;
  font-weight: 600;
}

.portal-tips {
  display: grid;
  gap: 14px;
}

.portal-tips section {
  display: grid;
  gap: 4px;
}

.portal-loading,
.portal-muted,
.portal-form-status {
  color: var(--hc-muted);
}

.portal-alert {
  border: 1px solid color-mix(in srgb, var(--hc-danger, #b42318) 30%, var(--hc-border));
  border-radius: var(--hc-radius);
  padding: 14px 16px;
  background: color-mix(in srgb, var(--hc-danger, #b42318) 8%, var(--hc-bg));
  color: var(--hc-text);
  font-weight: 600;
}

.portal-captcha {
  display: grid;
  gap: 8px;
  color: var(--hc-text);
  font-size: 14px;
  font-weight: 600;
}

.portal-captcha #captcha-container {
  min-height: 65px;
}

.portal-back {
  color: var(--hc-primary);
  font-weight: 700;
}

.new-ticket-form label,
.reply-form label {
  display: grid;
  gap: 6px;
  color: var(--hc-text);
  font-size: 14px;
  font-weight: 600;
}

.new-ticket-form small {
  color: var(--hc-muted);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
}

.portal-choice-group {
  display: grid;
  gap: 8px;
  border: 0;
  margin: 0;
  padding: 0;
  color: var(--hc-text);
}

.portal-choice-group legend {
  margin: 0;
  padding: 0;
  font-size: 14px;
  font-weight: 600;
}

.portal-choice-group > div {
  display: grid;
  gap: 8px;
}

.new-ticket-form .portal-inline-choice {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  font-weight: 500;
}

.new-ticket-form .portal-inline-choice input {
  width: 18px;
  min-height: 18px;
  margin: 0;
  padding: 0;
  accent-color: var(--hc-primary);
}

.new-ticket-form .portal-inline-choice small {
  grid-column: 2;
}

.portal-switch {
  min-height: 46px;
}

.file-input input {
  padding: 10px 14px;
}

.hc-account-name {
  max-width: 180px;
  overflow: hidden;
  color: var(--hc-text);
  font-size: 13px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Customer ticket detail follows the original React portal layout. */
.tickets-detail-page {
  max-width: 1120px;
}

.tickets-detail-page .hc-breadcrumbs {
  margin-bottom: 44px;
}

.ticket-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 350px;
  gap: 64px;
  align-items: start;
}

.ticket-detail-main {
  min-width: 0;
}

.ticket-detail-header {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  margin-bottom: 28px;
}

.ticket-detail-header h1 {
  margin: 0;
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 500;
  line-height: 1.3;
}

.mark-solved-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 600;
}

.mark-solved-button:disabled {
  opacity: 0.55;
  cursor: wait;
}

.ticket-conversation {
  gap: 0;
}

.message-list.ticket-conversation .message-item {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 12px;
  border: 0;
  border-bottom: 1px solid var(--hc-border);
  border-radius: 0;
  padding: 28px 4px 30px;
  background: transparent;
}

.message-list.ticket-conversation .message-item:first-child {
  border-top: 1px solid var(--hc-border);
}

.message-avatar {
  display: inline-grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 999px;
  background: var(--hc-primary-soft);
  color: var(--hc-primary);
  font-size: 9px;
  font-weight: 800;
}

.message-item-content {
  min-width: 0;
}

.message-item-content > header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 10px;
  font-size: 14px;
}

.message-item-content time,
.conversation-event time {
  color: var(--hc-muted);
  font-size: 12px;
  font-weight: 400;
  white-space: nowrap;
}

.message-body {
  color: var(--hc-text);
  font-size: 14px;
  line-height: 1.65;
}

.message-body > :first-child {
  margin-top: 0;
}

.message-body > :last-child {
  margin-bottom: 0;
}

.conversation-event {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--hc-border);
  padding: 20px 4px;
  color: var(--hc-text);
  font-size: 13px;
}

.conversation-event > span {
  color: var(--hc-muted);
  text-align: center;
}

.ticket-details-card {
  position: sticky;
  top: calc(var(--hc-navbar-height) + 24px);
  border: 1px solid var(--hc-border);
  border-radius: var(--hc-panel-radius, var(--hc-radius));
  padding: 12px 20px;
  background: var(--hc-bg-elevated);
}

.ticket-details-card dl {
  margin: 0;
}

.ticket-detail-row {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  gap: 12px;
  padding: 10px 0;
  font-size: 14px;
  line-height: 1.45;
}

.ticket-detail-row.has-divider {
  margin-bottom: 14px;
  border-bottom: 1px solid var(--hc-border);
  padding-bottom: 20px;
}

.ticket-detail-row dt {
  color: var(--hc-muted);
}

.ticket-detail-row dd {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
}

.ticket-status-chip {
  display: inline-flex;
  border-radius: 999px;
  padding: 3px 10px;
  background: var(--hc-primary-soft);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
}

.ticket-status-chip.active {
  background: var(--hc-primary);
  color: #fff;
}

.ticket-reply-composer {
  gap: 8px;
  margin-top: 36px;
}

.reply-form-title {
  font-size: 14px;
  font-weight: 700;
}

.ticket-reply-composer textarea {
  min-height: 170px;
  border-radius: var(--hc-panel-radius, var(--hc-radius));
}

.reply-form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: -54px;
  padding: 0 12px 12px;
  pointer-events: none;
}

.reply-form-footer > * {
  pointer-events: auto;
}

.reply-file-input {
  display: inline-flex !important;
  align-items: center;
  min-width: 0;
}

.reply-file-input span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.reply-file-input input {
  width: min(280px, 100%);
  min-height: 36px;
  border: 0;
  padding: 4px;
  background: transparent;
  font-size: 12px;
}

.ticket-reply-composer .portal-form-status {
  min-height: 20px;
  margin: 8px 0 0;
  font-size: 13px;
}

@media (max-width: 760px) {
  .hc-top.hc-has-hero {
    margin-bottom: 34px;
  }

  .hc-nav {
    padding-inline: 0;
  }

  .hc-brand {
    margin-right: auto;
  }

  .hc-language {
    padding-inline: 12px;
  }

  .hc-hero {
    padding: 40px 0 52px;
  }

  .hc-search button {
    display: none;
  }

  .hc-grid {
    gap: 42px;
  }

  .hc-article-section-grid,
  .hc-multiproduct-grid,
  .portal-header,
  .portal-filter,
  .ticket-detail-layout,
  .ticket-detail-header {
    grid-template-columns: 1fr;
  }

  .hc-article-section-grid {
    gap: 42px;
  }

  .portal-header {
    margin-inline: -22px;
  }

  .tickets-detail-page .hc-breadcrumbs {
    margin-bottom: 28px;
  }

  .ticket-detail-layout {
    gap: 32px;
  }

  .ticket-details-card {
    position: static;
    grid-row: 2;
  }

  .mark-solved-button {
    justify-self: start;
  }

  .message-item-content > header,
  .conversation-event {
    align-items: start;
  }

  .conversation-event {
    grid-template-columns: 24px minmax(0, 1fr);
  }

  .conversation-event time {
    grid-column: 2;
  }

  .hc-footer {
    padding-inline: 20px;
  }
}
