/* Support Center — minimal supplements on top of Tailwind CDN */
:root {
  --support-bg: #f6f7f9;
  --support-card: #ffffff;
  --support-ring: rgba(15, 23, 42, 0.08);
}

html {
  scroll-behavior: smooth;
}

body.lp-support-body {
  min-height: 100vh;
}

.lp-live-chat-panel {
  transform: translateX(100%);
}

.lp-live-chat-panel.is-open {
  transform: translateX(0);
}

.lp-live-chat-overlay {
  opacity: 0;
  pointer-events: none;
}

.lp-live-chat-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

/* Live chat widget hidden until server reports CHATTU_LIVE_CHAT_ENABLED (see /api/support/contact). */
body.lp-live-chat-off #live-chat-fab,
body.lp-live-chat-off #live-chat-panel,
body.lp-live-chat-off #live-chat-overlay {
  display: none !important;
  pointer-events: none !important;
}

.lp-support-shell {
  max-width: 1080px;
}

.lp-support-search-results {
  max-height: min(380px, 52vh);
  overflow-y: auto;
  scrollbar-gutter: stable;
}

.lp-support-highlight mark {
  background: rgba(37, 211, 102, 0.28);
  color: inherit;
  padding: 0 0.12em;
  border-radius: 0.25em;
}

details.lp-support-acc > summary {
  list-style: none;
}

details.lp-support-acc > summary::-webkit-details-marker {
  display: none;
}

details.lp-support-acc summary .lp-chevron {
  transition: transform 0.2s ease;
}

details.lp-support-acc[open] summary .lp-chevron {
  transform: rotate(90deg);
}

.lp-support-chip {
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.lp-support-chip:hover {
  transform: translateY(-1px);
}

@keyframes lpFadeInUp {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.lp-animate-enter {
  animation: lpFadeInUp 0.28s ease both;
}

/* Live-chat placeholder shimmer (subtle) */
.lp-live-chat-slot {
  background: linear-gradient(110deg, rgba(248, 250, 252, 0.9), rgba(236, 253, 245, 0.95), rgba(248, 250, 252, 0.9));
  background-size: 200% 100%;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .lp-animate-enter {
    animation: none;
  }
}
