    html, body {
      height: 100%;
      margin: 0;
      font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
      background: #fff;
      color: #333;
    }

    .comfortaa-qwik {
      font-family: "Comfortaa", sans-serif;
      font-optical-sizing: auto;
      font-weight: 700;
      font-style: normal;
    }

    .none {
      display: none;
    }
    .container {
      min-height: 100%;
      display: flex;
      flex-direction: column;
    }

    .header {
      padding: 24px;
      display: flex;
      justify-content: flex-start;
    }

    .header-inner {
      text-align: left;
    }

    .logo {
      font-size: 28px;
      font-weight: 600;
      letter-spacing: -0.5px;
      color: #111;
      margin-bottom: 4px;
    }

    .tagline {
      font-size: 13px;
      color: #6b7280;
      margin-bottom: 40px;
    }

    .main-content {
      flex: 1;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      padding: 0 24px;
      max-width: 600px;
      margin: 0 auto;
      width: 100%;
    }

    .search-card {
      width: 100%;
    }

    .search-intro {
      font-size: 22px;
      color: #374151;
      margin-bottom: 20px;
      text-align: center;
    }

    .search-form {
      display: flex;
      gap: 10px;
      margin-bottom: 10px;
    }

    .search-input {
      flex: 1;
      height: 48px;
      padding: 0 16px;
      font-size: 15px;
      border: 1px solid #e5e7eb;
      border-radius: 6px;
      outline: none;
      transition: all 0.2s ease;
      background: #fff;
    }

    .search-input:focus {
      border-color: #9ca3af;
      box-shadow: 0 0 0 3px rgba(156, 163, 175, 0.10);
    }

    .search-button {
      height: 48px;
      padding: 0 20px;
      font-size: 15px;
      font-weight: 600;
      border: 1px solid #111;
      background: #111;
      color: #fff;
      border-radius: 6px;
      cursor: pointer;
      transition: all 0.2s ease;
      white-space: nowrap;
    }

    .search-button:hover {
      background: #333;
      border-color: #333;
    }

    /* Minimal post-search controls (Prime + Sort) */
    .controls {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 12px;
      margin: 6px 0 18px;
      color: #6b7280;
      font-size: 12px;
    }

    .controls[hidden] { display: none; }

    .control {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 6px 10px;
      border: 1px solid #f3f4f6;
      border-radius: 999px;
      background: #fff;
    }

    .control input[type="checkbox"] {
      width: 14px;
      height: 14px;
      accent-color: #111;
    }

    .control select {
      border: none;
      background: transparent;
      color: #111;
      font-size: 12px;
      outline: none;
      cursor: pointer;
      padding: 0;
    }

    .control label {
      cursor: pointer;
      user-select: none;
      color: #374151;
      font-weight: 600;
      font-size: 12px;
    }

    .quick-links {
      display: flex;
      gap: 16px;
      justify-content: center;
      margin-top: 2px;
      font-size: 13px;
    }

    .quick-links a {
      color: #374151;
      text-decoration: none;
      font-weight: 500;
      transition: color 0.15s ease, text-decoration-color 0.15s ease;
    }

    .quick-links a:hover {
      color: #111;
      text-decoration: none;
      text-underline-offset: 3px;
    }

    .quick-links a + a::before {
      content: "•";
      margin: 0 8px;
      color: #9ca3af;
    }

    /* Recent searches + Trending (text-only) */
    .micro-section {
      display: none;
      margin-top: 18px;
      padding-top: 14px;
    }

    .micro-title {
      font-size: 12px;
      font-weight: 700;
      color: #6b7280;
      text-transform: uppercase;
      letter-spacing: 0.4px;
      margin-bottom: 10px;
      text-align: center;
    }

    .micro-links {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      justify-content: center;
    }

    .chip-link {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 7px 10px;
      border: 1px solid #f3f4f6;
      border-radius: 999px;
      text-decoration: none;
      color: #374151;
      font-size: 12px;
      font-weight: 600;
      background: #fff;
      transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
    }

    .chip-link:hover {
      border-color: #d1d5db;
      color: #111;
      background: #f9fafb;
    }

    .chip-link:focus {
      outline: none;
      box-shadow: 0 0 0 3px rgba(156, 163, 175, 0.12);
    }

    .muted-help {
      text-align: center;
      font-size: 12px;
      color: #9ca3af;
      margin-top: 10px;
    }

    .footer {
      border-top: 1px solid #f3f4f6;
      margin-top: 40px;
    }

    .footer-inner {
      width: 100%;
      padding: 20px 0px;
    }

    .footer-content {
      display: grid;
      grid-template-columns: 1fr auto 1fr;
      align-items: center;
      width: 100%;
      max-width: 1400px;
      margin: 0 auto;
      font-size: 12px;
      color: #6b7280;
      padding: 0 24px;
      box-sizing: border-box;
    }

    .footer-right { text-align: right; }

    .footer-link {
      color: #6b7280;
      text-decoration: none;
      font-weight: 500;
    }

    .footer-link:hover {
      color: #111;
      text-decoration: none;
      text-underline-offset: 3px;
    }

    .copyright { font-weight: 500; }

    .affiliate-disclaimer {
      max-width: 500px;
      line-height: 1.5;
      text-align: center;
    }

    @media (max-width: 640px) {
      .footer-content {
        grid-template-columns: 1fr;
        gap: 8px;
        text-align: center;
      }
      .footer-right { text-align: center; }
    }

    @media (max-width: 480px) {
      .search-form { flex-direction: column; }
      .search-button { width: 100%; }
      .controls { flex-wrap: wrap; }
    }
  
  /* Footer: separator between links */
.footer-sep {
  margin: 0 8px;
  color: #9ca3af;
}

/* Quick links: ensure internal link matches external link styling */
.quick-links .quick-link-internal {
  color: #374151;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.15s ease, text-decoration-color 0.15s ease;
}
.quick-links .quick-link-internal:hover {
  color: #111;
  text-decoration: none;
  text-underline-offset: 3px;
}

/* =============== */
/* Businesses page */
/* =============== */

.qe-page {
  padding: 28px 0;
}

.qe-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
}

.qe-pageHead {
  margin-bottom: 18px;
}

.qe-pageTitle {
  font-size: 28px;
  line-height: 1.2;
  margin: 0;
}

.qe-pageSub {
  margin: 8px 0 0;
  color: rgba(0, 0, 0, 0.65);
}

.qe-empty {
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 14px;
  padding: 18px;
  background: #fff;
}

.qe-emptyTitle {
  font-weight: 700;
  font-size: 16px;
}

.qe-emptyText {
  margin-top: 6px;
  color: rgba(0, 0, 0, 0.65);
}

.qe-emptyActions {
  margin-top: 12px;
}

.qe-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding: 0 12px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  border: 1px solid rgba(0, 0, 0, 0.12);
}

.qe-btn--primary {
  background: #111;
  color: #fff;
  border-color: #111;
}

.qe-bizGrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

@media (max-width: 980px) {
  .qe-bizGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .qe-bizGrid {
    grid-template-columns: 1fr;
  }
}

.qe-card {
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  background: #fff;
  overflow: hidden;
}

.qe-bizCard__link {
  display: block;
  color: inherit;
  text-decoration: none;
  padding: 14px;
}

.qe-bizCard__link:hover {
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.02);
}

.qe-bizCard__top {
  display: flex;
  gap: 12px;
  align-items: center;
}

.qe-bizCard__logo {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  overflow: hidden;
  flex: 0 0 auto;
  background: rgba(0, 0, 0, 0.04);
}

.qe-bizCard__logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.qe-bizCard__logoFallback {
  width: 100%;
  height: 100%;
}

.qe-bizCard__meta {
  min-width: 0;
}

.qe-bizCard__titleRow {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
}

.qe-bizCard__title {
  font-size: 16px;
  line-height: 1.2;
  margin: 0;
  font-weight: 800;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.qe-bizCard__sub {
  margin-top: 6px;
  font-size: 13px;
  color: rgba(0, 0, 0, 0.65);
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.qe-dot {
  opacity: 0.7;
}

.qe-badge {
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.10);
  background: rgba(0, 0, 0, 0.03);
  white-space: nowrap;
}

.qe-badge--featured {
  background: rgba(0, 0, 0, 0.08);
}

.qe-bizCard__desc {
  margin: 12px 0 0;
  color: rgba(0, 0, 0, 0.75);
  font-size: 14px;
  line-height: 1.4;
  min-height: 38px;
}

.qe-bizCard__footer {
  margin-top: 12px;
  display: flex;
  justify-content: flex-end;
}

.qe-link {
  font-weight: 700;
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
