.lerws-help-center {
  --lerws-help-bg: var(--lerws-portal-bg, var(--lerws-core-bg, var(--bg-primary, #f6f5f2)));
  --lerws-help-surface: var(--lerws-portal-surface, var(--lerws-core-surface, var(--bg-elevated, #ffffff)));
  --lerws-help-surface-strong: var(--lerws-portal-surface-alt, var(--lerws-core-surface-strong, var(--bg-secondary, #f0efeb)));
  --lerws-help-text: var(--lerws-portal-text, var(--lerws-core-text, var(--text-primary, #121212)));
  --lerws-help-text-muted: var(--lerws-portal-text-muted, var(--lerws-core-text-muted, var(--text-secondary, #5e646d)));
  --lerws-help-secondary: var(--lerws-portal-text-secondary, #475569);
  --lerws-help-muted: var(--lerws-portal-text-muted, #64748b);
  --lerws-help-line: var(--lerws-portal-line-soft, var(--lerws-core-line, var(--border-color, #ddddda)));
  --lerws-help-line-strong: var(--lerws-portal-line, #e2e8f0);
  --lerws-help-accent: var(--lerws-portal-accent, var(--lerws-core-accent, var(--accent-primary, #181818)));
  --lerws-help-accent-soft: var(--lerws-portal-accent-soft, rgba(255, 255, 255, 0.08));
  --lerws-help-on-accent: var(--lerws-portal-on-accent, var(--lerws-core-bg, #f6f5f2));
  --lerws-help-shadow: var(--lerws-portal-shadow-lg, var(--lerws-core-shadow, var(--shadow-sm, 0 18px 50px rgba(18, 18, 18, 0.06))));
  --lerws-help-danger: var(--lerws-portal-danger, var(--color-danger, var(--accent-primary, var(--lerws-core-accent, #181818))));
  --lerws-help-radius-lg: 12px;
  --lerws-help-radius-md: 8px;
  --lerws-help-hero-bg: var(--lerws-core-accent, #181818);
  --lerws-help-hero-text: var(--lerws-core-bg, #f6f5f2);
  color: var(--lerws-help-text);
}

html[data-theme="dark"] .lerws-help-center {
  --lerws-help-accent: var(--lerws-portal-accent, var(--lerws-core-text, var(--text-primary, #f5f5f3)));
  --lerws-help-on-accent: var(--lerws-portal-on-accent, var(--lerws-core-bg, #090909));
  --lerws-help-secondary: var(--lerws-portal-text-secondary, #a1a1aa);
  --lerws-help-muted: var(--lerws-portal-text-muted, #6b7280);
  --lerws-help-line-strong: var(--lerws-portal-line, #2a2a35);
  --lerws-help-accent-soft: var(--lerws-portal-accent-soft, rgba(255, 255, 255, 0.08));
  --lerws-help-hero-bg: var(--lerws-help-surface-strong);
  --lerws-help-hero-text: var(--lerws-help-text);
}

.lerws-help-main {
  padding-bottom: 2rem;
}

.lerws-help-main-inner {
  width: min(1200px, calc(100vw - 2rem));
  margin: 0 auto;
}

.lerws-help-center,
.lerws-help-center * {
  box-sizing: border-box;
}

.lerws-help-center {
  display: grid;
  gap: 1.35rem;
  min-width: 0;
  overflow-x: clip;
}

.lerws-help-center a {
  color: inherit;
}

.lerws-help-center h1,
.lerws-help-center h2,
.lerws-help-center h3 {
  margin: 0;
  color: var(--lerws-help-text);
}

.lerws-help-center p {
  margin: 0;
}

.lerws-help-section,
.lerws-help-article-page {
  display: grid;
  gap: 24px;
}

.lerws-help-section--spacious,
.lerws-help-article-page {
  gap: 20px;
}

.lerws-help-section--nested {
  gap: 16px;
}

.lerws-help-page-header,
.lerws-help-article-header,
.lerws-help-contact-cta,
.lerws-help-empty-state {
  border: 1px solid var(--lerws-help-line);
  border-radius: 20px;
  background: var(--lerws-help-surface);
  box-shadow: var(--lerws-help-shadow);
}

.lerws-help-hero {
  display: grid;
  gap: 0.5rem;
  padding: 0.1rem 0 0.15rem;
}

.lerws-help-hero h1 {
  font-size: 24px;
  line-height: normal;
  letter-spacing: normal;
  font-weight: 400;
  color: var(--lerws-help-text);
}

.lerws-help-hero p {
  max-width: 720px;
  color: var(--lerws-help-text-muted);
  font-size: 14px;
  line-height: normal;
}

@media (min-width: 1024px) {
  .lerws-help-hero h1 {
    font-size: 28px;
  }
}

.lerws-help-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 1rem;
  align-items: center;
}

.lerws-help-toolbar__search,
.lerws-help-toolbar__select {
  position: relative;
  display: grid;
  align-items: center;
}

.lerws-help-toolbar__search {
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.75rem;
  min-height: 46px;
  padding: 0 1rem;
  overflow: hidden;
  border: 1px solid var(--lerws-help-line-strong);
  border-radius: 9999px;
  background: var(--lerws-help-surface-strong);
  box-shadow: none;
}

.lerws-help-toolbar__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--lerws-help-muted);
}

.lerws-help-toolbar__icon svg {
  width: 18px;
  height: 18px;
}

.lerws-help-toolbar input,
.lerws-help-toolbar select {
  width: 100%;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--lerws-help-text);
  box-shadow: none;
  outline: 0;
}

.lerws-help-toolbar__search .lerws-help-search-input,
.lerws-help-toolbar__search .lerws-help-search-input[type="search"],
.lerws-help-toolbar__search input.lerws-help-search-input,
.lerws-help-toolbar__search input.lerws-help-search-input[type="text"] {
  all: unset;
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 0;
  color: var(--lerws-help-text);
  font: inherit;
  line-height: 1.2;
  cursor: text;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  outline: 0 !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
}

.lerws-help-toolbar__search .lerws-help-search-input::-webkit-search-decoration,
.lerws-help-toolbar__search .lerws-help-search-input::-webkit-search-cancel-button,
.lerws-help-toolbar__search .lerws-help-search-input::-webkit-search-results-button,
.lerws-help-toolbar__search .lerws-help-search-input::-webkit-search-results-decoration {
  -webkit-appearance: none;
}

.lerws-help-toolbar input::placeholder {
  color: color-mix(in srgb, var(--lerws-help-muted) 92%, transparent);
}

.lerws-help-toolbar__search:focus-within {
  border-color: color-mix(in srgb, var(--lerws-help-accent) 28%, var(--lerws-help-line-strong));
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--lerws-help-accent-soft) 35%, transparent);
}

.lerws-help-toolbar__select span {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.lerws-help-toolbar__select::after {
  content: "";
  position: absolute;
  right: 1.25rem;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-60%) rotate(45deg);
  color: var(--lerws-help-muted);
  pointer-events: none;
}

.lerws-help-toolbar__select select {
  min-height: 46px;
  padding: 0 3rem 0 1.2rem;
  border: 1px solid var(--lerws-help-line-strong);
  border-radius: 9999px;
  background: var(--lerws-help-surface-strong);
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

.lerws-help-search-input:focus,
.lerws-help-category-filter:focus {
  outline: none;
}

.lerws-help-search-results {
  display: grid;
  gap: 12px;
}

.lerws-help-search-results-label {
  font-size: 13px;
  color: var(--lerws-help-muted);
}

.lerws-help-search-results-list,
.lerws-help-article-list {
  display: grid;
  border: 1px solid var(--lerws-help-line);
  border-radius: var(--lerws-help-radius-md);
  overflow: hidden;
  background: var(--lerws-help-surface);
}

.lerws-help-search-results-list {
  border-color: var(--lerws-help-line);
}

.lerws-help-search-results-list .lerws-help-article-row,
.lerws-help-article-list .lerws-help-article-row {
  border-bottom: 1px solid var(--lerws-help-line);
}

.lerws-help-search-results-list .lerws-help-article-row:last-child,
.lerws-help-article-list .lerws-help-article-row:last-child {
  border-bottom: none;
}

.lerws-help-section-heading {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.lerws-help-section-heading-icon {
  display: inline-flex;
  align-items: center;
  color: var(--lerws-help-text-muted);
}

.lerws-help-section-label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--lerws-help-text-muted);
}

.lerws-help-default-content {
  display: grid;
  gap: 32px;
}

.lerws-help-topic-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.lerws-help-topic-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--lerws-help-line);
  border-radius: var(--lerws-help-radius-md);
  background: var(--lerws-help-surface);
  text-decoration: none;
  box-shadow: var(--shadow-sm, none);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.lerws-help-topic-card:hover {
  border-color: color-mix(in srgb, var(--lerws-help-text) 20%, var(--lerws-help-line));
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  transform: translateY(-1px);
}

.lerws-help-topic-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 6px;
  background: color-mix(in srgb, var(--lerws-help-accent) 8%, var(--lerws-help-surface));
  color: var(--lerws-help-text);
}

.lerws-help-topic-card-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.lerws-help-topic-card-title {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
}

.lerws-help-topic-card-count {
  font-size: 12px;
  color: var(--lerws-help-text-muted);
}

.lerws-help-article-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  background: var(--lerws-help-surface);
  text-decoration: none;
  transition: background 0.2s ease;
}

.lerws-help-article-row:hover {
  background: color-mix(in srgb, var(--lerws-help-surface-strong) 72%, var(--lerws-help-surface));
}

.lerws-help-article-row-copy {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.lerws-help-article-row-head {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.lerws-help-article-row-title {
  font-size: 14px;
  font-weight: 500;
}

.lerws-help-article-badge {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 2px 8px;
  border-radius: 4px;
  background: color-mix(in srgb, var(--lerws-help-accent) 8%, var(--lerws-help-surface));
  color: var(--lerws-help-text-muted);
  font-size: 11px;
  line-height: 1;
}

.lerws-help-article-row-excerpt {
  font-size: 14px;
  line-height: 1.6;
  color: var(--lerws-help-text-muted);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.lerws-help-article-row-meta,
.lerws-help-article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  color: var(--lerws-help-text-muted);
  font-size: 12px;
}

.lerws-help-inline-icon {
  display: inline-flex;
  align-items: center;
  margin-right: 6px;
  vertical-align: middle;
}

.lerws-help-article-row-arrow {
  opacity: 0;
  color: var(--lerws-help-text-muted);
  transition: opacity 0.2s ease;
}

.lerws-help-article-row:hover .lerws-help-article-row-arrow {
  opacity: 1;
}

.lerws-help-article-empty,
.lerws-help-empty-state {
  text-align: center;
  color: var(--lerws-help-text-muted);
}

.lerws-help-empty-state {
  display: grid;
  gap: 16px;
  padding: 48px 32px;
}

.lerws-help-empty-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.lerws-help-outline-link,
.lerws-help-feedback-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 1.15rem;
  border: 1px solid var(--lerws-help-line);
  border-radius: 9999px;
  background: transparent;
  color: var(--lerws-help-text);
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.lerws-help-outline-link:hover,
.lerws-help-feedback-btn:hover {
  background: color-mix(in srgb, var(--lerws-help-surface-strong) 65%, transparent);
  border-color: color-mix(in srgb, var(--lerws-help-text) 15%, var(--lerws-help-line));
}

.lerws-help-breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--lerws-help-text-muted);
  font-size: 14px;
}

.lerws-help-breadcrumbs a:hover {
  color: var(--lerws-help-text);
  opacity: 1;
}

.lerws-help-breadcrumb-current {
  color: var(--lerws-help-text);
}

.lerws-help-page-header,
.lerws-help-article-header {
  display: grid;
  gap: 12px;
  padding: 28px;
}

.lerws-help-page-header h1,
.lerws-help-article-header h1 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.08;
}

.lerws-help-page-header p,
.lerws-help-article-summary {
  color: var(--lerws-help-text-muted);
  line-height: 1.6;
}

.lerws-help-article-body {
  display: grid;
  gap: 16px;
  padding: 28px;
  border: 1px solid var(--lerws-help-line);
  border-radius: 20px;
  background: var(--lerws-help-surface);
  box-shadow: var(--lerws-help-shadow);
}

.lerws-help-paragraph {
  font-size: inherit;
  line-height: 1.7;
  color: color-mix(in srgb, var(--lerws-help-text) 82%, var(--lerws-help-text-muted));
  margin-bottom: 0;
}

.lerws-help-prerequisites,
.lerws-help-completion {
  display: grid;
  gap: 12px;
  padding: 20px;
  border: 1px solid var(--lerws-help-line);
  border-radius: var(--lerws-help-radius-md);
  background: color-mix(in srgb, var(--lerws-help-surface-strong) 60%, var(--lerws-help-surface));
}

.lerws-help-prerequisites-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--lerws-help-text-muted);
}

.lerws-help-prerequisites ul {
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.lerws-help-prerequisites li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 14px;
  line-height: 1.6;
  color: color-mix(in srgb, var(--lerws-help-text) 82%, var(--lerws-help-text-muted));
}

.lerws-help-step {
  position: relative;
  margin-left: 18px;
  padding-left: 56px;
  padding-bottom: 32px;
  border-left: 2px solid color-mix(in srgb, var(--lerws-help-text-muted) 20%, var(--lerws-help-line));
}

.lerws-help-step--last {
  border-left-color: transparent;
  padding-bottom: 8px;
}

.lerws-help-step-number {
  position: absolute;
  top: 0;
  left: -20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--lerws-help-accent);
  color: var(--lerws-help-on-accent);
  font-size: 14px;
  font-weight: 500;
}

.lerws-help-step-content {
  display: grid;
  gap: 8px;
}

.lerws-help-step-content h3,
.lerws-help-completion h3 {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  line-height: 1.35;
}

.lerws-help-step-content p,
.lerws-help-completion p,
.lerws-help-faq-answer p {
  font-size: 14px;
  line-height: 1.7;
  color: color-mix(in srgb, var(--lerws-help-text) 82%, var(--lerws-help-text-muted));
}

.lerws-help-callout {
  display: flex;
  gap: 12px;
  padding: 16px;
  border-left: 4px solid var(--lerws-help-accent);
  border-radius: 0 var(--lerws-help-radius-md) var(--lerws-help-radius-md) 0;
  background: color-mix(in srgb, var(--lerws-help-accent) 6%, var(--lerws-help-surface));
  font-size: 14px;
  line-height: 1.6;
  color: color-mix(in srgb, var(--lerws-help-text) 85%, var(--lerws-help-text-muted));
}

.lerws-help-callout-icon {
  display: inline-flex;
  margin-top: 2px;
  flex-shrink: 0;
}

.lerws-help-callout-tip {
  border-left-color: color-mix(in srgb, var(--lerws-help-text-muted) 70%, var(--lerws-help-line));
  background: color-mix(in srgb, var(--lerws-help-text-muted) 8%, var(--lerws-help-surface));
}

.lerws-help-callout-tip .lerws-help-callout-icon {
  color: var(--lerws-help-text-muted);
}

.lerws-help-callout-warning {
  border-left-color: var(--lerws-help-danger);
  background: color-mix(in srgb, var(--lerws-help-danger) 8%, var(--lerws-help-surface));
}

.lerws-help-faq {
  display: grid;
  gap: 12px;
}

.lerws-help-faq-list {
  display: grid;
  border: 1px solid var(--lerws-help-line);
  border-radius: var(--lerws-help-radius-md);
  overflow: hidden;
  background: var(--lerws-help-surface);
}

.lerws-help-faq-item {
  border-bottom: 1px solid var(--lerws-help-line);
}

.lerws-help-faq-item:last-child {
  border-bottom: none;
}

.lerws-help-faq-item button {
  width: 100%;
  min-height: 0;
  padding: 16px;
  border: none;
  border-radius: 0;
  background: transparent;
  color: var(--lerws-help-text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 14px;
  font-weight: 400;
  cursor: pointer;
}

.lerws-help-faq-answer {
  display: none;
  padding: 0 16px 16px;
}

.lerws-help-faq-item.open .lerws-help-faq-answer {
  display: block;
}

.lerws-help-faq-item button svg:last-child {
  transition: transform 0.2s ease;
}

.lerws-help-faq-item.open button svg:last-child {
  transform: rotate(180deg);
}

.lerws-help-feedback {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 32px;
  border-top: 1px solid var(--lerws-help-line);
}

.lerws-help-feedback-copy {
  color: var(--lerws-help-text-muted);
  font-size: 14px;
}

.lerws-help-feedback-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.lerws-help-contact-cta {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 32px 24px;
  text-align: center;
  background: color-mix(in srgb, var(--lerws-help-surface-strong) 70%, var(--lerws-help-surface));
}

.lerws-help-contact-cta h2 {
  font-size: clamp(1.5rem, 2vw, 2rem);
}

.lerws-help-contact-cta p {
  max-width: 560px;
  color: var(--lerws-help-text-muted);
  line-height: 1.6;
}

.lerws-help-contact-cta .button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.9rem 1.4rem;
  border: 1px solid var(--lerws-help-accent);
  border-radius: 999px;
  background: var(--lerws-help-accent);
  color: var(--lerws-help-on-accent);
  text-decoration: none;
  font-weight: 600;
  line-height: 1;
  box-shadow: 0 14px 30px -22px color-mix(in srgb, var(--lerws-help-accent) 45%, transparent);
  transition: transform 140ms ease, box-shadow 140ms ease, background 140ms ease, color 140ms ease, border-color 140ms ease;
}

.lerws-help-contact-cta .button,
.lerws-help-contact-cta .button:visited,
.lerws-help-contact-cta .button:hover,
.lerws-help-contact-cta .button:focus-visible {
  color: var(--lerws-help-on-accent);
}

.lerws-help-contact-cta .button:hover,
.lerws-help-contact-cta .button:focus-visible {
  background: color-mix(in srgb, var(--lerws-help-accent) 90%, var(--lerws-help-surface));
  border-color: color-mix(in srgb, var(--lerws-help-accent) 90%, var(--lerws-help-surface));
  box-shadow: 0 18px 36px -24px color-mix(in srgb, var(--lerws-help-accent) 55%, transparent);
  transform: translateY(-1px);
}

.lerws-help-contact-cta .button:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--lerws-help-accent) 28%, transparent);
  outline-offset: 3px;
}

@media (max-width: 1024px) {
  .lerws-help-topic-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .lerws-help-topic-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lerws-help-page-header,
  .lerws-help-article-header,
  .lerws-help-article-body,
  .lerws-help-contact-cta {
    padding: 24px 20px;
  }

  .lerws-help-toolbar {
    grid-template-columns: 1fr;
  }

  .lerws-help-feedback {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .lerws-help-topic-grid {
    grid-template-columns: 1fr;
  }

  .lerws-help-toolbar__search,
  .lerws-help-toolbar__select select {
    min-height: 44px;
  }

  .lerws-help-article-row {
    padding: 16px;
  }

  .lerws-help-article-row-arrow {
    display: none;
  }

  .lerws-help-step {
    margin-left: 12px;
    padding-left: 44px;
  }

  .lerws-help-step-number {
    left: -18px;
  }
}

.lerws-help-main-inner {
  width: min(1275px, calc(100vw - 2rem));
}

.lerws-help-center.lerws-sites-shell.is-help-center {
  width: 100%;
  max-width: 1275px;
  margin: 0 auto;
  gap: 1.5rem;
}

.lerws-sites-shell.is-help-center .lerws-help-search-input {
  all: unset;
  display: block;
  width: 100%;
  min-width: 0;
  color: var(--lerws-help-text);
  font: inherit;
  line-height: 1.2;
  cursor: text;
}

.lerws-sites-shell.is-help-center .lerws-help-search-input::placeholder {
  color: color-mix(in srgb, var(--lerws-help-muted) 92%, transparent);
}

.lerws-help-home-content {
  display: grid;
  gap: 2rem;
}

.lerws-help-action-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.lerws-help-action-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  border: 1px solid var(--lerws-help-line);
  border-radius: 16px;
  background: var(--lerws-help-surface);
  text-decoration: none;
  box-shadow: var(--shadow-sm, none);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.lerws-help-action-card:hover {
  border-color: color-mix(in srgb, var(--lerws-help-text) 16%, var(--lerws-help-line));
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  transform: translateY(-1px);
}

.lerws-help-action-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 10px;
  background: color-mix(in srgb, var(--lerws-help-accent) 6%, var(--lerws-help-surface));
  color: var(--lerws-help-text-muted);
}

.lerws-help-action-card-copy {
  display: grid;
  gap: 0.25rem;
  min-width: 0;
}

.lerws-help-action-card-title {
  font-size: 14px;
  font-weight: 500;
  color: var(--lerws-help-text);
}

.lerws-help-action-card-text {
  font-size: 14px;
  color: var(--lerws-help-text-muted);
}

.lerws-help-topic-grid {
  gap: 10px;
}

.lerws-help-topic-card {
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border-radius: 12px;
}

.lerws-help-topic-card-main {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.lerws-help-topic-card-icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: color-mix(in srgb, var(--lerws-help-accent) 6%, var(--lerws-help-surface));
  color: var(--lerws-help-text-muted);
}

.lerws-help-topic-card-copy {
  gap: 0;
}

.lerws-help-topic-card-title {
  font-size: 13px;
  font-weight: 500;
}

.lerws-help-topic-card-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  color: var(--lerws-help-text-muted);
  font-size: 12px;
}

.lerws-help-article-list--compact {
  border-radius: 14px;
}

.lerws-help-article-list--compact .lerws-help-article-row {
  align-items: center;
  padding: 16px;
}

.lerws-help-article-list--compact .lerws-help-article-row-copy {
  gap: 0;
}

.lerws-help-article-list--compact .lerws-help-article-row-head {
  gap: 10px;
}

.lerws-help-article-list--compact .lerws-help-article-row-title {
  font-size: 14px;
  font-weight: 500;
}

.lerws-help-article-list--compact .lerws-help-article-badge {
  min-height: 20px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 10px;
}

.lerws-help-article-row-side {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.lerws-help-article-row-time {
  color: var(--lerws-help-text-muted);
  font-size: 12px;
  white-space: nowrap;
}

.lerws-help-article-list--compact .lerws-help-article-row-arrow {
  opacity: 1;
}

.lerws-help-ticket-page {
  display: grid;
  gap: 1.5rem;
}

.lerws-help-ticket-topbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 1rem 1.5rem;
}

.lerws-help-ticket-header {
  display: grid;
  gap: 0.5rem;
}

.lerws-help-ticket-header h1,
.lerws-help-ticket-section-header h2,
.lerws-help-ticket-panel-header h2 {
  margin: 0;
  font-size: 24px;
  font-weight: 400;
  color: var(--lerws-help-text);
}

.lerws-help-ticket-header p,
.lerws-help-ticket-section-header p,
.lerws-help-ticket-panel-header p {
  margin: 0;
  color: var(--lerws-help-text-muted);
  font-size: 14px;
}

.lerws-help-ticket-tabs {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.35rem;
  border: 1px solid var(--lerws-help-line);
  border-radius: 14px;
  background: var(--lerws-help-surface-strong);
}

.lerws-help-ticket-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 38px;
  padding: 0 1rem;
  border-radius: 10px;
  color: var(--lerws-help-text-muted);
  text-decoration: none;
  font-size: 14px;
  transition: background 0.2s ease, color 0.2s ease;
}

.lerws-help-ticket-tab.is-active {
  background: var(--lerws-help-bg);
  color: var(--lerws-help-text);
}

.lerws-help-ticket-tab-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: #f4f4f5;
  color: #0b0b0b;
  font-size: 12px;
  line-height: 1;
}

.lerws-help-ticket-notice {
  padding: 14px 16px;
  border: 1px solid var(--lerws-help-line);
  border-radius: 14px;
  background: var(--lerws-help-surface);
  font-size: 14px;
}

.lerws-help-ticket-notice.is-success {
  border-color: color-mix(in srgb, #10b981 25%, var(--lerws-help-line));
}

.lerws-help-ticket-notice.is-error {
  border-color: color-mix(in srgb, #ef4444 25%, var(--lerws-help-line));
}

.lerws-help-ticket-info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.lerws-help-ticket-info-card,
.lerws-help-ticket-panel {
  border: 1px solid var(--lerws-help-line);
  border-radius: 18px;
  background: var(--lerws-help-surface);
  box-shadow: var(--shadow-sm, none);
}

.lerws-help-ticket-info-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px;
}

.lerws-help-ticket-info-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 10px;
  background: color-mix(in srgb, var(--lerws-help-accent) 6%, var(--lerws-help-surface));
  color: var(--lerws-help-text-muted);
}

.lerws-help-ticket-info-copy {
  display: grid;
  gap: 0.35rem;
}

.lerws-help-ticket-info-copy h2 {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
}

.lerws-help-ticket-info-copy p,
.lerws-help-ticket-info-copy a {
  font-size: 14px;
  color: var(--lerws-help-text-muted);
}

.lerws-help-ticket-panel {
  display: grid;
  gap: 1.5rem;
  padding: 2rem;
}

.lerws-help-ticket-form {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.lerws-help-ticket-field {
  display: grid;
  gap: 0.55rem;
  min-width: 0;
}

.lerws-help-ticket-field--full {
  grid-column: 1 / span 2;
}

.lerws-help-ticket-field span {
  font-size: 14px;
  font-weight: 500;
  color: var(--lerws-help-text);
}

.lerws-help-ticket-field span em {
  font-style: normal;
  color: var(--lerws-help-text-muted);
  font-weight: 400;
}

.lerws-help-ticket-field input,
.lerws-help-ticket-field select,
.lerws-help-ticket-field textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.9rem 1rem;
  border: 1px solid var(--lerws-help-line);
  border-radius: 12px;
  background: color-mix(in srgb, var(--lerws-help-surface-strong) 42%, var(--lerws-help-surface));
  color: var(--lerws-help-text);
  outline: 0;
  box-shadow: none;
}

.lerws-help-ticket-field textarea {
  min-height: 200px;
  resize: vertical;
}

.lerws-help-ticket-field input:focus,
.lerws-help-ticket-field select:focus,
.lerws-help-ticket-field textarea:focus {
  border-color: color-mix(in srgb, var(--lerws-help-accent) 28%, var(--lerws-help-line));
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--lerws-help-accent-soft) 35%, transparent);
}

.lerws-help-ticket-upload {
  grid-column: 3;
}

.lerws-help-ticket-upload-box {
  position: relative;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 0.5rem;
  min-height: 200px;
  padding: 1.25rem;
  border: 1px dashed var(--lerws-help-line);
  border-radius: 14px;
  background: color-mix(in srgb, var(--lerws-help-surface-strong) 30%, var(--lerws-help-surface));
  text-align: center;
  color: var(--lerws-help-text-muted);
}

.lerws-help-ticket-upload-icon {
  display: inline-flex;
  color: var(--lerws-help-text-muted);
}

.lerws-help-ticket-upload-box small {
  font-size: 13px;
  color: var(--lerws-help-text-muted);
}

.lerws-help-ticket-upload-box input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.lerws-help-ticket-actions {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.lerws-help-ticket-actions .button,
.lerws-help-ticket-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 1.15rem;
  border-radius: 12px;
  text-decoration: none;
}

.lerws-help-ticket-page .button,
.lerws-help-ticket-cta-btn {
  border: 1px solid #f4f4f5;
  background: #f4f4f5;
  color: #0b0b0b;
  box-shadow: none;
}

.lerws-help-ticket-page .button:hover,
.lerws-help-ticket-cta-btn:hover {
  background: #ffffff;
  border-color: #ffffff;
  color: #0b0b0b;
}

.lerws-help-ticket-actions .lerws-help-outline-link {
  border-radius: 12px;
}

.lerws-help-ticket-section-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
}

.lerws-help-ticket-table {
  display: grid;
  border: 1px solid var(--lerws-help-line);
  border-radius: 14px;
  overflow: hidden;
}

.lerws-help-ticket-table-head,
.lerws-help-ticket-table-row {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr) 160px 100px;
  gap: 16px;
  align-items: center;
}

.lerws-help-ticket-table-head {
  padding: 14px 18px;
  background: color-mix(in srgb, var(--lerws-help-surface-strong) 40%, var(--lerws-help-surface));
  color: var(--lerws-help-text-muted);
  font-size: 11px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.lerws-help-ticket-table-row {
  padding: 18px;
  border-top: 1px solid var(--lerws-help-line);
}

.lerws-help-ticket-code,
.lerws-help-ticket-updated {
  color: var(--lerws-help-text-muted);
  font-size: 14px;
}

.lerws-help-ticket-subject {
  font-size: 14px;
  color: var(--lerws-help-text);
}

.lerws-help-ticket-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 0.9rem;
  border-radius: 8px;
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: 1px solid var(--lerws-help-line);
}

.lerws-help-ticket-status.is-new {
  background: color-mix(in srgb, #f59e0b 8%, var(--lerws-help-surface));
  border-color: color-mix(in srgb, #f59e0b 24%, var(--lerws-help-line));
}

.lerws-help-ticket-status.is-in-progress {
  background: var(--lerws-help-on-accent);
  color: var(--lerws-help-bg);
  border-color: transparent;
}

.lerws-help-ticket-status.is-resolved {
  background: color-mix(in srgb, var(--lerws-help-surface-strong) 56%, var(--lerws-help-surface));
}

.lerws-help-ticket-check-form {
  display: flex;
  align-items: end;
  gap: 1rem;
  flex-wrap: wrap;
}

.lerws-help-ticket-check-form .lerws-help-ticket-field {
  width: min(100%, 260px);
}

.lerws-help-ticket-result {
  display: grid;
  gap: 1rem;
  padding: 1.5rem;
  border: 1px solid var(--lerws-help-line);
  border-radius: 14px;
  background: color-mix(in srgb, var(--lerws-help-surface-strong) 30%, var(--lerws-help-surface));
}

.lerws-help-ticket-result-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
}

.lerws-help-ticket-result-head strong {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--lerws-help-text-muted);
  font-size: 13px;
  font-weight: 400;
}

.lerws-help-ticket-result-head h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 500;
}

.lerws-help-ticket-result-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.lerws-help-ticket-result-grid div {
  display: grid;
  gap: 0.35rem;
}

.lerws-help-ticket-result-grid span {
  color: var(--lerws-help-text-muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.lerws-help-ticket-result-grid strong {
  font-size: 14px;
  font-weight: 500;
  color: var(--lerws-help-text);
}

@media (max-width: 1023px) {
  .lerws-help-ticket-topbar {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .lerws-help-ticket-info-grid,
  .lerws-help-ticket-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lerws-help-ticket-upload,
  .lerws-help-ticket-field--full {
    grid-column: auto;
  }

  .lerws-help-ticket-result-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .lerws-help-action-grid,
  .lerws-help-ticket-info-grid,
  .lerws-help-ticket-form,
  .lerws-help-ticket-result-grid {
    grid-template-columns: 1fr;
  }

  .lerws-help-ticket-panel {
    padding: 1.5rem;
  }

  .lerws-help-ticket-section-header {
    flex-direction: column;
    align-items: start;
  }

  .lerws-help-ticket-table-head {
    display: none;
  }

  .lerws-help-ticket-table-row {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
}

@media (max-width: 640px) {
  .lerws-help-ticket-tabs {
    width: 100%;
    justify-content: stretch;
  }

  .lerws-help-ticket-tab {
    flex: 1 1 0;
    justify-content: center;
    padding: 0 0.65rem;
  }
}
