/* 고객 AI 분석 결과 — 전체화면 독립 페이지 (채팅 셸·허브 컨테이너 미사용) */

html,
body.customer-ai-full-result-page {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  min-height: 100dvh;
  height: auto;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: #f3f5f9;
}

.customer-ai-full-result-page__backdrop {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(255, 227, 0, 0.18), transparent 60%),
    linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
}

.customer-ai-full-result {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 67.5rem;
  margin: 0 auto;
  padding:
    calc(0.85rem + env(safe-area-inset-top, 0))
  1rem
    calc(1.25rem + env(safe-area-inset-bottom, 0));
  box-sizing: border-box;
}

.customer-ai-full-result__header {
  margin-bottom: 1rem;
}

.customer-ai-full-result__brand {
  margin-bottom: 0.75rem;
}

.customer-ai-full-result__title {
  margin: 0;
  font-size: clamp(1.35rem, 4vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #0b1f44;
  line-height: 1.25;
}

.customer-ai-full-result__main {
  background: #fff;
  border: 1px solid #e5e9f0;
  border-radius: 1.25rem;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
  padding: 1rem 1rem 1.25rem;
  margin-bottom: 1rem;
}

.customer-ai-full-result__lead {
  margin: 0 0 0.65rem;
  color: #334155;
  font-size: 0.95rem;
  line-height: 1.55;
}

.customer-ai-full-result__disclaimer {
  margin: 0 0 1rem;
  padding: 0.65rem 0.75rem;
  border-radius: 0.75rem;
  background: #f8fafc;
  color: #64748b;
  font-size: 0.82rem;
  line-height: 1.5;
}

.customer-ai-full-result__empty {
  margin: 0;
  padding: 2rem 0.5rem;
  text-align: center;
  color: #64748b;
  font-size: 0.95rem;
  line-height: 1.6;
  white-space: pre-line;
}

.customer-ai-full-result__body {
  overflow: visible;
  max-height: none;
}

.customer-ai-full-result__body .analysis-section {
  margin-bottom: 1rem;
}

.customer-ai-full-result__body .ai-candidate-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

.customer-ai-full-result__footer {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding-bottom: 0.5rem;
}

.customer-ai-full-result__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 3.1rem;
  border-radius: 1rem;
  font-weight: 800;
  font-size: 1rem;
  text-decoration: none;
  letter-spacing: -0.02em;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.customer-ai-full-result__btn--primary {
  background: linear-gradient(180deg, #ffe033 0%, #ffe300 100%);
  color: #111827;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.1);
}

.customer-ai-full-result__btn--ghost {
  background: #fff;
  color: #0b1f44;
  border: 1px solid #d7dee8;
}

.customer-ai-full-result__meta {
  margin: 0.35rem 0 0;
  text-align: center;
  color: #94a3b8;
  font-size: 0.78rem;
}

@media (min-width: 768px) {
  .customer-ai-full-result {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .customer-ai-full-result__main {
    padding: 1.35rem 1.5rem 1.5rem;
  }

  .customer-ai-full-result__body .ai-candidate-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .customer-ai-full-result__footer {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }

  .customer-ai-full-result__btn {
    flex: 1 1 14rem;
    max-width: 20rem;
  }

  .customer-ai-full-result__meta {
    flex-basis: 100%;
  }
}

@media (min-width: 1024px) {
  .customer-ai-full-result__body .ai-candidate-list {
    grid-template-columns: 1fr;
  }
}
