.business-header {
  min-height: 70px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
  position: sticky;
  top: 0;
  z-index: 100;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #111827;
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: #111827;
  color: #fff;
  font-weight: 800;
}

.brand-text strong,
.brand-text small {
  display: block;
}

.brand-text small {
  color: #6b7280;
  font-size: 12px;
}

.header-nav {
  display: flex;
  gap: 18px;
}

.header-nav a,
.dashboard-link {
  color: #4b5563;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
}

.header-nav a:hover,
.header-nav a.active,
.dashboard-link:hover {
  color: #111827;
}

.help-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px 70px;
}

.help-hero {
  background: #111827;
  border-radius: 20px;
  padding: 60px 35px;
  margin-bottom: 45px;
  color: #fff;
}

.hero-content {
  max-width: 800px;
  margin: auto;
  text-align: center;
}

.eyebrow,
.section-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  color: #6b7280;
}

.help-hero .eyebrow {
  color: #d1d5db;
}

.help-hero h1 {
  margin: 10px 0;
  font-size: 42px;
}

.help-hero p {
  color: #d1d5db;
  font-size: 16px;
  margin-bottom: 28px;
}

.help-search {
  background: #fff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  padding: 5px;
}

.search-icon {
  color: #6b7280;
  font-size: 24px;
  padding: 0 10px;
}

.help-search input {
  flex: 1;
  border: 0;
  outline: 0;
  min-width: 0;
  font-size: 15px;
  padding: 13px 5px;
  color: #111827;
}

.help-search button {
  border: 0;
  background: #111827;
  color: #fff;
  padding: 12px 22px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 800;
}

.page-message {
  padding: 14px 18px;
  margin-bottom: 25px;
  border-radius: 10px;
  background: #fef3c7;
  color: #92400e;
}

.hidden {
  display: none !important;
}

.quick-section,
.articles-section,
.article-results,
.tickets-section,
.contact-section {
  margin-bottom: 50px;
}

.section-heading {
  margin-bottom: 22px;
}

.section-heading h2 {
  margin: 6px 0;
  color: #111827;
  font-size: 25px;
}

.section-heading p {
  margin: 0;
  color: #6b7280;
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.quick-card {
  text-decoration: none;
  color: #111827;
  border: 1px solid #e5e7eb;
  background: #fff;
  border-radius: 14px;
  padding: 22px;
  transition: transform .15s ease, box-shadow .15s ease;
}

.quick-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .06);
}

.quick-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #f3f4f6;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  font-weight: 800;
}

.quick-card strong,
.quick-card small {
  display: block;
}

.quick-card small {
  color: #6b7280;
  margin-top: 5px;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}

.category-card {
  text-align: left;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 20px;
  cursor: pointer;
}

.category-card:hover,
.category-card.active {
  border-color: #111827;
}

.category-icon {
  display: block;
  font-size: 26px;
  margin-bottom: 13px;
}

.category-card strong,
.category-card small {
  display: block;
}

.category-card small {
  color: #6b7280;
  margin-top: 6px;
  line-height: 1.5;
}

.article-list {
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
}

.article-card {
  border-bottom: 1px solid #e5e7eb;
}

.article-card:last-child {
  border-bottom: 0;
}

.article-question {
  width: 100%;
  padding: 20px;
  border: 0;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  cursor: pointer;
  font-weight: 800;
  color: #111827;
}

.article-question span {
  font-size: 20px;
  color: #6b7280;
}

.article-answer {
  display: none;
  padding: 0 20px 20px;
  color: #6b7280;
  line-height: 1.7;
}

.article-card.open .article-answer {
  display: block;
}

.article-card.open .article-question span {
  transform: rotate(45deg);
}

.ticket-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}

.ticket-table-wrapper {
  overflow-x: auto;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  background: #fff;
}

.ticket-table {
  width: 100%;
  min-width: 700px;
  border-collapse: collapse;
}

.ticket-table th,
.ticket-table td {
  padding: 15px 18px;
  text-align: left;
  border-bottom: 1px solid #e5e7eb;
}

.ticket-table th {
  background: #f9fafb;
  color: #6b7280;
  font-size: 12px;
  text-transform: uppercase;
}

.ticket-table td {
  font-size: 14px;
  color: #374151;
}

.table-loading {
  text-align: center !important;
  color: #6b7280 !important;
}

.ticket-status {
  display: inline-block;
  padding: 5px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  background: #f3f4f6;
}

.ticket-status.open {
  background: #dbeafe;
  color: #1d4ed8;
}

.ticket-status.pending {
  background: #fef3c7;
  color: #92400e;
}

.ticket-status.resolved,
.ticket-status.closed {
  background: #dcfce7;
  color: #166534;
}

.ticket-link {
  color: #111827;
  text-decoration: none;
  font-weight: 800;
}

.primary-button {
  border: 0;
  border-radius: 9px;
  padding: 12px 18px;
  background: #111827;
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}

.primary-button:hover {
  background: #000;
}

.full-width {
  width: 100%;
}

.contact-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  padding: 28px;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  background: #f9fafb;
}

.contact-card h2 {
  margin: 6px 0;
  color: #111827;
}

.contact-card p {
  color: #6b7280;
  max-width: 700px;
  line-height: 1.6;
  margin: 0;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: grid;
  place-items: center;
  padding: 20px;
}

.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .55);
}

.modal-box {
  position: relative;
  z-index: 2;
  width: min(540px, 100%);
  background: #fff;
  border-radius: 18px;
  padding: 30px;
}

.modal-box h2 {
  margin: 8px 0;
}

.modal-box p {
  color: #6b7280;
  line-height: 1.6;
}

.modal-box label {
  display: block;
  margin: 18px 0 7px;
  color: #374151;
  font-weight: 700;
  font-size: 14px;
}

.modal-box input,
.modal-box select,
.modal-box textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 12px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  outline: none;
  font: inherit;
}

.modal-box input:focus,
.modal-box select:focus,
.modal-box textarea:focus {
  border-color: #111827;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 15px;
  border: 0;
  background: transparent;
  font-size: 28px;
  cursor: pointer;
  color: #6b7280;
}

.business-footer {
  border-top: 1px solid #e5e7eb;
  padding: 25px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: #6b7280;
  font-size: 13px;
}

.business-footer a {
  color: #4b5563;
  text-decoration: none;
  margin-left: 15px;
}

.empty-state {
  text-align: center;
  padding: 35px;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  color: #6b7280;
}

.empty-state strong {
  color: #111827;
  display: block;
  margin-bottom: 5px;
}

@media (max-width: 950px) {

  .header-nav {
    display: none;
  }

  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .quick-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 650px) {

  .help-page {
    padding: 25px 15px 50px;
  }

  .help-hero {
    padding: 40px 20px;
  }

  .help-hero h1 {
    font-size: 32px;
  }

  .help-search {
    flex-wrap: wrap;
  }

  .help-search input {
    width: 100%;
  }

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

  .category-grid {
    grid-template-columns: 1fr;
  }

  .ticket-heading,
  .contact-card {
    align-items: stretch;
    flex-direction: column;
  }

  .primary-button {
    width: 100%;
  }

  .business-footer {
    flex-direction: column;
  }

  .business-footer a {
    margin-left: 0;
    margin-right: 15px;
  }
}