/* Guest help — mobile-first, minimal text */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-sans, Inter, system-ui, sans-serif);
  background: var(--color-surface-subtle, #f4f6fa);
  color: var(--color-text, #1a1a1a);
}

.help-main {
  padding: 20px 16px 24px;
}

.help-hero {
  margin: 0 0 20px;
  font-size: clamp(1.75rem, 6vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--color-brand, #1a3a8f);
  text-align: center;
}

.help-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

.help-action {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 56px;
  padding: 14px 18px;
  border: none;
  border-radius: 14px;
  background: var(--color-brand, #1a3a8f);
  color: #fff;
  font-family: inherit;
  font-size: 17px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(26, 58, 143, 0.2);
  -webkit-tap-highlight-color: transparent;
}

.help-action:hover,
.help-action:focus-visible {
  background: var(--color-brand-strong, #0f2460);
  color: #fff;
  outline: none;
}

.help-action:focus-visible {
  outline: 2px solid var(--color-brand-muted, #3d5ba9);
  outline-offset: 2px;
}

.help-action--secondary {
  background: #fff;
  color: var(--color-brand, #1a3a8f);
  border: 2px solid var(--color-brand, #1a3a8f);
  box-shadow: none;
}

.help-action--secondary:hover,
.help-action--secondary:focus-visible {
  background: var(--color-surface-subtle, #f4f6fa);
  color: var(--color-brand-strong, #0f2460);
}

.help-action[hidden] {
  display: none !important;
}

.help-action-icon {
  font-size: 1.35rem;
  line-height: 1;
}

.help-faq-title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-muted, #6b7280);
  margin: 0 0 10px;
}

.help-faq {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--color-border, #e5e7eb);
  background: #fff;
}

.help-faq details {
  border-bottom: 1px solid var(--color-border, #e5e7eb);
}

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

.help-faq summary {
  list-style: none;
  padding: 16px 44px 16px 16px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  position: relative;
  -webkit-tap-highlight-color: transparent;
}

.help-faq summary::-webkit-details-marker {
  display: none;
}

.help-faq summary::after {
  content: "";
  position: absolute;
  right: 16px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--color-text-muted, #6b7280);
  border-bottom: 2px solid var(--color-text-muted, #6b7280);
  transform: translateY(-60%) rotate(45deg);
  transition: transform 0.15s ease;
}

.help-faq details[open] summary::after {
  transform: translateY(-20%) rotate(-135deg);
}

.help-faq summary:focus-visible {
  outline: 2px solid var(--color-brand, #1a3a8f);
  outline-offset: -2px;
}

.help-faq .help-faq-a {
  margin: 0;
  padding: 0 16px 16px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--color-text-muted, #6b7280);
}

.help-faq .help-faq-a a {
  color: var(--color-brand, #1a3a8f);
  font-weight: 600;
}

/* Pass 7: topbar inner — display:contents on mobile so slots participate in .guest-topbar grid */
.guest-topbar-inner-help-v7-desktop {
  display: contents;
}

@media (max-width: 1023px) {
  body.guest-app--help-v7-desktop .search-desktop-only {
    display: none !important;
  }
}

@media (min-width: 1024px) {
  html:has(body.guest-app--help-v7-desktop),
  html body.guest-app--help-v7-desktop {
    max-width: none;
    width: 100%;
    margin: 0;
    background: #ededed;
  }

  body.guest-app--help-v7-desktop {
    max-width: none;
    width: 100%;
    margin: 0;
    background: #ededed;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding-bottom: 64px;
  }

  body.guest-app--help-v7-desktop .guest-topbar {
    position: static;
    display: block;
    padding-top: calc(env(safe-area-inset-top, 0px) + 14px);
    padding-bottom: 14px;
    padding-left: max(24px, env(safe-area-inset-left, 0px));
    padding-right: max(24px, env(safe-area-inset-right, 0px));
    min-height: 0;
  }

  body.guest-app--help-v7-desktop .guest-topbar-inner-help-v7-desktop {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    column-gap: 32px;
    max-width: 700px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
  }

  body.guest-app--help-v7-desktop .guest-topbar__slot--start {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
  }

  body.guest-app--help-v7-desktop .guest-topbar__brand {
    grid-column: 2;
    grid-row: 1;
    justify-self: center;
    z-index: auto;
    pointer-events: auto;
    max-width: none;
    padding-inline: 0;
  }

  body.guest-app--help-v7-desktop .guest-topbar__slot--end {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
    padding-inline-start: 0;
  }

  body.guest-app--help-v7-desktop .guest-topbar__back,
  body.guest-app--help-v7-desktop .guest-topbar__back--text {
    text-decoration: underline;
    font-weight: 500;
    font-size: 14px;
  }

  body.guest-app--help-v7-desktop .guest-topbar__bookings {
    text-decoration: underline;
    font-size: 14px;
    font-weight: 500;
  }

  body.guest-app--help-v7-desktop .guest-topbar__logo {
    font-size: 17px;
    font-weight: 700;
    text-decoration: none;
  }

  body.guest-app--help-v7-desktop .guest-topbar__home {
    text-decoration: none;
  }

  body.guest-app--help-v7-desktop .help-main {
    flex: 1;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    padding: 48px 24px 60px;
    box-sizing: border-box;
  }

  body.guest-app--help-v7-desktop .help-hero {
    font-size: 32px;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 0 0 32px;
    color: #1a3a8f;
  }

  body.guest-app--help-v7-desktop .help-actions {
    margin-bottom: 40px;
    gap: 12px;
  }

  body.guest-app--help-v7-desktop .help-action {
    min-height: 0;
    padding: 18px 24px;
    border-radius: 999px;
    font-size: 16px;
    font-weight: 700;
    background: #fff;
    color: #1a3a8f;
    border: 2px solid #1a3a8f;
    box-shadow: none;
  }

  body.guest-app--help-v7-desktop .help-action:hover {
    opacity: 0.9;
    background: #fff;
    color: #1a3a8f;
  }

  body.guest-app--help-v7-desktop .help-action:focus-visible {
    opacity: 1;
    outline: 2px solid #3d5ba9;
    outline-offset: 2px;
  }

  body.guest-app--help-v7-desktop .help-action--secondary {
    background: #fff;
    color: #1a3a8f;
    border: 2px solid #1a3a8f;
    box-shadow: none;
  }

  body.guest-app--help-v7-desktop .help-action--secondary:hover {
    opacity: 0.9;
    background: #fff;
    color: #1a3a8f;
  }

  body.guest-app--help-v7-desktop .help-action--secondary:focus-visible {
    outline: 2px solid #3d5ba9;
    outline-offset: 2px;
  }

  body.guest-app--help-v7-desktop .help-faq-title {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #555;
    margin: 0 0 12px;
  }

  body.guest-app--help-v7-desktop .help-faq {
    border: none;
    background: transparent;
    border-radius: 0;
    overflow: visible;
  }

  body.guest-app--help-v7-desktop .help-faq details.help-faq-item {
    border: none;
    margin-bottom: 8px;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
    overflow: hidden;
  }

  body.guest-app--help-v7-desktop .help-faq details.help-faq-item:last-child {
    margin-bottom: 0;
  }

  body.guest-app--help-v7-desktop .help-faq summary {
    padding: 18px 44px 18px 20px;
    font-weight: 700;
    color: #1a1a1a;
  }

  body.guest-app--help-v7-desktop .help-faq summary::after {
    right: 20px;
    border-color: #888;
  }

  body.guest-app--help-v7-desktop .help-faq .help-faq-a {
    padding: 0 20px 20px;
    color: #555;
    line-height: 1.6;
  }

  body.guest-app--help-v7-desktop .footer-v11-desktop {
    background: #f5f5f5;
    border-top: 1px solid #e8e8e8;
    padding: 32px 0 16px;
    margin-top: 24px;
    flex-shrink: 0;
  }

  body.guest-app--help-v7-desktop .footer-inner-v11-desktop {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 24px;
  }

  body.guest-app--help-v7-desktop .footer-cols-v11-desktop {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 24px;
  }

  body.guest-app--help-v7-desktop .footer-col-title-v11-desktop {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #1a1a1a;
  }

  body.guest-app--help-v7-desktop .footer-col-v11-desktop a {
    display: block;
    font-size: 13px;
    color: #595959;
    text-decoration: none;
    padding: 4px 0;
  }

  body.guest-app--help-v7-desktop .footer-col-v11-desktop a:hover {
    color: #1a3a8f;
    text-decoration: underline;
  }

  body.guest-app--help-v7-desktop .footer-contact-v11-desktop {
    font-size: 13px;
    color: #595959;
    line-height: 1.8;
  }

  body.guest-app--help-v7-desktop .footer-bottom-v11-desktop {
    border-top: 1px solid #e8e8e8;
    padding-top: 16px;
    text-align: center;
    font-size: 12px;
    color: #888;
  }

  @media (max-width: 1100px) {
    body.guest-app--help-v7-desktop .footer-cols-v11-desktop {
      grid-template-columns: repeat(2, 1fr);
    }
  }
}
