@import url("https://fonts.googleapis.com/css2?family=Open+Sans&display=swap");
@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css');
@import "reset.css";
@import "variables.css";

/* Components */
@import "components/status-bar.css";
@import "components/nav-bar.css";
@import "components/screen-header.css";
@import "components/user-component.css";
@import "components/badge.css";
@import "components/icon-row.css";
@import "components/alt-screen-header.css";
@import "components/no-mobile.css";

/* Screens */
@import "screens/login.css";
@import "screens/friends.css";
@import "screens/find.css";
@import "screens/more.css";
@import "screens/settings.css";
@import "screens/chat.css?v=20261019_1400";
@import "screens/senior.css?v=20261019_1400";
@import "screens/link.css";
@import "screens/schedule.css";

/* import 순서가 중요하니까!!! 유의할 것!!! */

body {
  color: #2e363e;
  font-family: "Open Sans", sans-serif;
  font-weight: 600;
}

.main-screen {
}

.icon-big {
  width: 35px;
  height: 35px;
}

@keyframes hideSplashScreen {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
    visibility: hidden;
  }
}

#splash-screen {
  background-color: var(--yellow);
  position: absolute;
  height: 100vh;
  width: 100vw;
  top: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 15vw;
  color: rgb(51, 28, 27);
  animation: hideSplashScreen 0.4s ease-in-out forwards;
  animation-delay: 1s;
}

body {
  overflow: auto;
}
body::-webkit-scrollbar {
  width: 10px;
}
body::-webkit-scrollbar-thumb {
  background-color: #2f3542;
  border-radius: 10px;
  background-clip: padding-box;
  border: 2px solid transparent;
}
body::-webkit-scrollbar-track {
  background-color: grey;
  border-radius: 10px;
  box-shadow: inset 0px 0px 5px white;
}

.typing-dots::after {
  content: '.';
  animation: typing 1.5s steps(4, end) infinite;
}
@keyframes typing {
  0%, 20% { content: '.'; }
  40% { content: '..'; }
  60%, 100% { content: '...'; }
}

/* 카카오톡 스타일 UI 리뉴얼 */
body, html {
  background-color: #b2c7d9; /* 최신 카톡 기본 배경색 */
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", "맑은 고딕", sans-serif;
}
.chat-screen {
  background-color: #b2c7d9;
  min-height: 100vh;
  min-height: 100dvh;
}
.alt-header {
  border-bottom: 1px solid rgba(0,0,0,0.05);
  background-color: #b2c7d9;
}
.status-bar {
  background-color: #b2c7d9;
}
.message-row {
  margin-bottom: 15px;
  display: flex;
  width: 100%;
}
.message-row--own {
  justify-content: flex-end;
}
.message-row > img {
  width: 42px;
  height: 42px;
  border-radius: 16px;
  margin-right: 10px;
  object-fit: cover;
}
.message__author {
  display: block;
  font-size: 13px;
  color: #3e4a56;
  margin-bottom: 5px;
  font-weight: 500;
}
.message__box {
  display: flex;
  align-items: flex-end;
}
.message-row--own .message__box {
  flex-direction: row-reverse;
}
.message__bubble {
  padding: 9px 13px;
  border-radius: 12px;
  font-size: 15px;
  line-height: 1.4;
  display: inline-block;
  max-width: 280px; /* 동적 옵션 UI 렌더링을 위해 최대 너비 확장 */
  word-break: break-all;
  box-shadow: none;
}
.message-row--inbound .message-row__content {
  flex: 1;
  min-width: 0;
}
.message-row--inbound .message__bubble {
  background-color: #ffffff;
  border-top-left-radius: 4px;
  border: 1px solid #e1e7ed;
}
.message-row--own .message__bubble {
  background-color: #fee500; /* 카톡 노란색 */
  border-top-right-radius: 4px;
}
.message__time {
  font-size: 11px;
  color: #555;
  margin: 0 5px;
}
.chat__timestamp {
  text-align: center;
  margin: 20px 0;
  background-color: transparent !important; /* 외부 CSS 배경색 겹침 방지 */
  padding: 0 !important; /* 외부 CSS 패딩 겹침 방지 */
}
.chat__timestamp span {
  background-color: rgba(0, 0, 0, 0.15);
  color: white;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 12px;
}
/* 입력창 모던 플로팅 아일랜드 스타일 (New UI) */
.reply {
  position: absolute;
  background-color: #ffffff;
  padding: 8px; /* 상하좌우 동일한 패딩으로 완벽한 대칭 구성 */
  display: flex;
  flex-direction: column;
  align-items: stretch;
  position: sticky;
  bottom: 20px;
  width: calc(100% - 32px);
  margin: 0 auto 20px auto;
  box-sizing: border-box;
  border-radius: 28px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1), 0 2px 8px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.05);
  z-index: 10;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.reply:focus-within {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15), 0 4px 12px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
  border-color: rgba(0, 0, 0, 0.1);
}
.reply__column:first-child {
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 5px;
  margin-bottom: 0; /* 우측 요소들과 40px 동일 높이 */
  background-color: #f0f2f5;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0; /* 아이콘 찌그러짐 방지 */
}
.reply__column:first-child:hover {
  background-color: #e4e6eb;
  transform: rotate(90deg) scale(1.05);
}
.reply__column:first-child img {
  width: 20px;
  height: 20px;
  opacity: 0.6;
  transition: opacity 0.3s ease;
}
.reply__column:first-child:hover img {
  opacity: 0.9;
}
.reply__column:last-child {
  flex: 1;
  position: relative;
  background-color: transparent;
  display: block; /* Flexbox가 absolute 엘리먼트(전송 버튼)의 위치에 간섭하는 것을 방지 */
}
.message-input {
  width: 100%;
  background-color: transparent;
  border: none;
  padding: 10px 48px 10px 8px;
  font-size: 15px;
  line-height: 20px;
  min-height: 40px;
  margin: 0; /* 브라우저 기본 마진 간섭 완벽 차단 */
  resize: none;
  max-height: 120px;
  box-sizing: border-box;
  display: block;
  overflow-y: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
  color: #222222;
  font-weight: 500;
}
.message-input::-webkit-scrollbar {
  display: none;
}
.message-input::placeholder {
  color: #adb5bd;
  font-weight: 400;
}
.message-input:focus {
  outline: none;
}
#send-button {
  position: absolute;
  right: 0;
  bottom: 0; /* 높이를 똑같이 40px로 맞췄으므로 0으로 설정하면 완벽하게 바닥에서 정렬됨 */
  top: auto; /* screens/chat.css에 있는 top: 4px 속성을 무효화하여 bottom이 적용되게 함 */
  background-color: #08B967;
  border: none;
  width: 40px; /* 다른 컴포넌트와 동일하게 40px 꽉 채움 */
  height: 40px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
  padding: 0;
}
#send-button:hover {
  background-color: #333333;
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}
#send-button:active {
  transform: scale(0.95) translateY(0);
}
#send-button img {
  width: 16px;
  height: 16px;
  margin-left: -2px;
  filter: brightness(0) invert(1); /* 어떤 색상의 아이콘이든 완벽한 흰색으로 반전 처리 */
}

/* 홈 첫 화면으로 이동 플로팅 버튼 (.home-nav-btn / .undo) */
.chat-screen .reply .undo,
.chat-screen .reply .home-nav-btn {
  position: absolute;
  left: 4px;
  right: auto;
  top: -56px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1.5px solid #dce8df;
  background: #ffffff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12), 0 1px 3px rgba(0, 0, 0, 0.06);
  cursor: pointer;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  margin: 0 !important;
  z-index: 100;
  transition: all 0.2s cubic-bezier(0.25, 0.8, 0.25, 1);
  outline: none;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
  pointer-events: auto !important;
  color: #08B967;
}

.chat-screen .reply .undo:hover,
.chat-screen .reply .home-nav-btn:hover {
  background: #f7faf8;
  border-color: #08B967;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(8, 185, 103, 0.2);
}

.chat-screen .reply .undo:active,
.chat-screen .reply .home-nav-btn:active {
  transform: scale(0.92);
  background: #edf7f0;
}

.chat-screen .reply .undo i,
.chat-screen .reply .home-nav-btn i,
.chat-screen .reply .home-nav-btn i.fa-home {
  font-size: 18px !important;
  line-height: 1 !important;
  width: auto !important;
  height: auto !important;
  color: #08B967 !important;
  opacity: 1 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 !important;
  padding: 0 !important;
  pointer-events: none;
}

/* 시니어 모드 홈 버튼 스타일 */
.chat-screen.senior-mode .reply .undo,
.chat-screen.senior-mode .reply .home-nav-btn {
  top: -62px;
  width: 52px;
  height: 52px;
  border: 2px solid #173d2b;
  background: #ffffff;
}

.chat-screen.senior-mode .reply .undo i,
.chat-screen.senior-mode .reply .home-nav-btn i {
  font-size: 22px !important;
  color: #173d2b !important;
  opacity: 1 !important;
}

/* 기타 선택 버튼 스타일 개선 */
.button-selection {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}
.my-button {
  background-color: #ffffff;
  border: 1px solid #c9d2db;
  padding: 8px 14px;
  border-radius: 18px;
  font-size: 13px;
  cursor: pointer;
  color: #333;
  transition: background-color 0.2s;
}
.my-button:hover {
  background-color: #f2f2f2;
}
.bot-menu {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 10px;
  width: 100%;
}
.qbtn {
  background-color: #ffffff !important;
  border: 1px solid #d5dce2 !important;
  border-radius: 10px !important;
  box-shadow: none !important;
  color: #333 !important;
  margin-bottom: 2px;
  padding: 12px 14px;
  font-size: 14px;
  width: 100%;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.2s;
}
.qbtn:hover {
  background-color: #f7f9fa !important;
}

/* 백엔드 연동 동적 옵션(카드) 렌더링 스타일 */
.dynamic-options-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 8px;
  margin-top: 12px;
  width: 100%;
}

/* 브랜드 목록인 경우 강제로 세로 2줄(가로 2열)로 고정 */
.dynamic-options-container.grid-brand {
  grid-template-columns: repeat(2, 1fr);
}

.dynamic-option-card {
  background-color: #ffffff;
  border: 1px solid #e1e4e8;
  border-radius: 12px;
  padding: 10px;
  cursor: pointer;
  text-align: center;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 3px rgba(0,0,0,0.02);
}
.dynamic-option-card:hover {
  border-color: #1a1a1a;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}
.insurance-entry-btn {
  display: block;
  width: 100%;
  margin-top: 10px;
  border: 1px solid #1b2a6b;
  border-radius: 12px;
  background: #fff;
  color: #1b2a6b;
  font-size: 15px;
  font-weight: 800;
  padding: 14px 12px;
  cursor: pointer;
  text-align: center;
}
.insurance-entry-btn:hover {
  background: #f4f6fb;
}
/* 다중 선택 및 단일 선택(외장 색상) 옵션 카드 공통 스타일 */
.dynamic-option-card.multiple-option,
.dynamic-option-card.single-select-option {
  position: relative;
  padding-left: 36px;
  text-align: left;
  align-items: flex-start;
}
.dynamic-option-card.single-select-option::before {
  content: '';
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  border: 1.5px solid #c9d2db;
  border-radius: 4px;
  background-color: #fff;
  transition: all 0.2s ease;
  box-sizing: border-box;
}
.dynamic-option-card.single-select-option.selected::before {
  border-color: #fee500;
  background-color: #fee500;
  content: '✓';
  color: #1a1a1a;
  font-size: 11px;
  font-weight: bold;
  text-align: center;
  line-height: 14px;
}
.dynamic-option-card.multiple-option .opt-checkbox {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  cursor: pointer;
  accent-color: #fee500;
  margin: 0;
}
.dynamic-option-card.multiple-option.selected,
.dynamic-option-card.single-select-option.selected {
  border-color: #fee500;
  background-color: #fffdf0;
  box-shadow: 0 2px 8px rgba(254, 229, 0, 0.2);
}
.opt-img-wrap {
  height: 44px;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.opt-img-wrap.opt-img-wrap--large {
  height: 132px;
}
.opt-img-wrap.opt-img-wrap--medium {
  height: 66px;
}
.opt-img-wrap img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}
.opt-img-wrap.opt-img-wrap--large img,
.opt-img-wrap.opt-img-wrap--medium img {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
}
.message__bubble img[src*="/color/image/interior"] {
  width: 132px;
  height: 132px;
  object-fit: contain;
  border-radius: 8px;
  display: block;
  margin-top: 6px;
}
.opt-label {
  font-size: 13px;
  font-weight: 600;
  color: #333;
  word-break: keep-all;
}
.opt-price {
  font-size: 12px;
  color: #e65d5d;
  margin-top: 4px;
}
.opt-desc {
  font-size: 11px;
  color: #888;
  margin-top: 4px;
  line-height: 1.2;
}
.opt-summary {
  margin-top: 10px;
  padding: 12px 14px;
  border-top: 1px dashed #d1d4d8;
  background-color: #f8fafc;
  border-radius: 10px;
  font-size: 13px;
  color: #555;
  width: calc(100% - 28px);
  box-sizing: border-box;
}
.opt-summary-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 6px;
  font-weight: 500;
}
.opt-summary-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #e1e4e8;
  font-weight: bold;
  color: #333;
}
.opt-summary-total strong {
  color: #e65d5d;
  font-size: 16px;
}

/* 모바일 소형 디바이스 (width 320px 이하) UI 최적화 */
@media screen and (max-width: 320px) {
  .main-chat {
    padding-left: 12px;
    padding-right: 12px;
  }
  .reply {
    width: calc(100% - 16px); /* 화면을 꽉 채우지 않도록 좌우 여백을 줄임 */
    padding: 6px;
    bottom: 10px;
    margin-bottom: 10px;
    border-radius: 22px;
  }
  .reply__column:first-child {
    width: 34px;
    height: 34px;
    margin-right: 6px;
  }
  .reply__column:first-child img {
    width: 16px;
    height: 16px;
  }
  .message-input {
    min-height: 34px; /* 최소 높이 34px로 변경 */
    padding: 7px 40px 7px 8px; /* 상하 패딩(14px) + 텍스트(20px) = 34px 완벽 대칭 */
    font-size: 14px;
  }
  #send-button {
    width: 34px;
    height: 34px;
  }
  #send-button img {
    width: 14px;
    height: 14px;
  }
  .message__bubble {
    max-width: 210px; /* 말풍선 최대 너비를 좁혀서 작은 화면에서 밀려나지 않게 함 */
  }
}

/* 대화창 내부에서 텍스트와 분리되어 렌더링되는 옵션 컨테이너 스타일 (실행창 좌측 확장) */
.interactive-option-wrap {
  margin-top: 8px;
  width: calc(100% + 52px);
  margin-left: -52px;
  padding: 0 4px;
  box-sizing: border-box;
}
.interactive-option-wrap > div[class*="ml-[50px]"],
.interactive-option-wrap > div[class*="ml-"] {
  margin-left: 0 !important; /* 말풍선 밖으로 나갔을 때 불필요한 좌측 마진 제거 */
}
.interactive-option-wrap .consultation-summary,
.interactive-option-wrap .ai-quote-report-card {
  margin: 6px 0 10px 0;
  width: 100%;
  box-sizing: border-box;
}

/* 접수 및 AI 진단 카드 좌측 안내창 전폭(-52px) 확장 및 말풍선 스타일 제거 폴백 */
.message-row--inbound .message__bubble:has(.consultation-summary),
.message-row--inbound .message__bubble:has(.ai-quote-report-card) {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  max-width: none !important;
  width: calc(100% + 52px) !important;
  margin-left: -52px !important;
  box-shadow: none !important;
}

/* 최저가 견적 방법 선택 버튼 세로 위아래 배치 및 확대 */
.dynamic-options-container.estimate-compare-container {
  grid-template-columns: 1fr;
  gap: 12px;
}
.dynamic-options-container.estimate-compare-container .dynamic-option-card {
  padding: 18px 16px;
  font-size: 16px;
  font-weight: 700;
  border-radius: 14px;
}

/* 설명 모달창 스타일 */
.desc-modal {
  display: none;
  position: fixed;
  z-index: 200; /* Sit on top of everything, including sticky headers */
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  justify-content: center;
  align-items: center;
}
.desc-modal-content {
  background-color: #ffffff;
  padding: 24px;
  border-radius: 16px;
  width: 85%;
  max-width: 320px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  position: relative;
  box-sizing: border-box;
  animation: modalFadeIn 0.3s ease-out;
}
@keyframes modalFadeIn {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.desc-close-button {
  position: absolute;
  top: 12px;
  right: 16px;
  color: #aaa;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.2s;
}

/* Chat login modal — social (Kakao / Naver / Google) */
.chat-login-modal {
  max-width: 340px;
  width: 90%;
}
.chat-login-title {
  font-size: 18px;
  font-weight: bold;
  margin: 0 0 16px;
  border-bottom: 1px solid #eee;
  padding-bottom: 8px;
}
.chat-social-login-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.chat-social-login-item button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 10px 14px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font: inherit;
  transition: transform 0.15s ease, opacity 0.15s ease;
}
.chat-social-login-item button:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}
.chat-social-login-item button:active {
  transform: translateY(0);
}
.chat-social-login-item img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  flex: none;
}
.chat-social-login-item strong {
  font-size: 14px;
  font-weight: 700;
}
.chat-social-login-item.kakao button {
  background: #fee500;
  color: #191919;
}
.chat-social-login-item.naver button {
  background: #03c75a;
  color: #fff;
}
.chat-social-login-item.google button {
  background: #fff;
  color: #3c4043;
  border: 1px solid #dadce0;
}
.chat-login-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 16px 0 12px;
  color: #9aa3a0;
  font-size: 12px;
  font-weight: 600;
}
.chat-login-divider::before,
.chat-login-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #e6ebe8;
}
.chat-login-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.chat-login-form input {
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 14px;
  outline: none;
}
.chat-login-form input:focus {
  border-color: #08B967;
}
.chat-login-submit {
  padding: 12px;
  border-radius: 8px;
  border: none;
  background: #08B967;
  color: #fff;
  font-weight: bold;
  cursor: pointer;
  margin-top: 4px;
}
.desc-close-button:hover {
  color: #333;
}
#descModalTitle {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 12px;
  color: #1a1a1a;
  border-bottom: 1px solid #eee;
  padding-bottom: 8px;
}
#descModalText {
  font-size: 14px;
  line-height: 1.5;
  color: #555;
  word-break: keep-all;
}

/* 옵션 라벨 도움말 버튼 스타일 */
.opt-label-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
}
.dynamic-option-card.multiple-option .opt-label-container,
.dynamic-option-card.single-select-option .opt-label-container {
  justify-content: flex-start;
}
.opt-help-btn {
  background-color: #f1f3f5;
  border: 1px solid #dee2e6;
  color: #868e96;
  border-radius: 50%;
  width: 16px;
  height: 16px;
  font-size: 11px;
  font-weight: bold;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: all 0.2s ease;
  flex-shrink: 0;
}
.opt-help-btn:hover {
  background-color: #e9ecef;
  color: #495057;
  border-color: #ced4da;
  transform: scale(1.1);
}

.trim-prompt-row {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.trim-prompt-text {
  line-height: 1.4;
}

.trim-prompt-help-btn {
  flex-shrink: 0;
}

@keyframes highlight-pulse-animation {
  0% {
    box-shadow: 0 0 0 0 rgba(254, 229, 0, 0.7);
    transform: scale(1);
    background-color: #fee500;
  }
  50% {
    box-shadow: 0 0 0 10px rgba(254, 229, 0, 0);
    transform: scale(1.2);
    background-color: #fee500;
  }
  100% {
    box-shadow: 0 0 0 0 rgba(254, 229, 0, 0);
    transform: scale(1);
    background-color: #f0f2f5;
  }
}

.highlight-pulse {
  animation: highlight-pulse-animation 1s ease-in-out infinite;
  background-color: #fee500 !important;
}

.highlight-pulse img {
  opacity: 1 !important;
}

.recommend-pick-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.recommend-pick-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  text-align: left;
  padding: 0;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: #fff;
}

.recommend-pick-card:hover {
  border-color: #94a3b8;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.recommend-pick-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  background: #f8fafc;
}

.recommend-pick-body {
  padding: 12px 14px 14px;
}

.recommend-pick-badge {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: #1a202c;
  background: #fef3c7;
  border-radius: 999px;
  padding: 4px 10px;
  margin-bottom: 8px;
}

.recommend-pick-model {
  font-size: 16px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 8px;
  line-height: 1.35;
}

.recommend-pick-rationale {
  font-size: 13px;
  line-height: 1.55;
  color: #334155;
  margin-bottom: 10px;
}

.recommend-pick-spec {
  font-size: 12px;
  line-height: 1.5;
  color: #64748b;
  background: #f8fafc;
  border-radius: 8px;
  padding: 10px 12px;
  margin-bottom: 10px;
}

.recommend-pick-price {
  font-size: 13px;
  color: #475569;
  flex: 1;
  min-width: 0;
}

.recommend-pick-price strong {
  color: #e65d5d;
  font-size: 16px;
}

.recommend-pick-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 4px;
}

.recommend-pick-select-btn {
  flex-shrink: 0;
  border: none;
  border-radius: 10px;
  padding: 10px 16px;
  background: #08B967;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(8, 185, 103, 0.35);
}

.recommend-pick-select-btn:hover {
  background: #07A35A;
}

.recommend-pick-select-btn:active {
  transform: scale(0.98);
}

.recommend-progress-bubble {
  color: #334155;
  line-height: 1.5;
}

.selection-preview-summary {
  margin-top: 8px;
}

.selection-preview-image {
  margin-bottom: 12px;
  border-radius: 10px;
  overflow: hidden;
  background: #f7f8fa;
}

.selection-preview-image img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.selection-preview-prices {
  margin-top: 4px;
  padding-top: 10px;
  border-top: 1px dashed #edf2f7;
}

/* 상담 완료 요약 디자인 */
.consultation-summary {
  background: #fdfdfd;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 16px;
  margin: 10px 0;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  font-family: inherit;
  display: block;
  box-sizing: border-box;
  width: 100%;
}

.summary-header {
  font-size: 15px;
  font-weight: 700;
  color: #1a202c;
  border-bottom: 2px solid #edf2f7;
  padding-bottom: 8px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  text-align: left;
}

.summary-header i {
  color: #08B967;
}

.summary-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 12px;
}

.summary-table tr {
  border-bottom: 1px dashed #edf2f7;
}

.summary-table tr:last-child {
  border-bottom: none;
}

.summary-table th {
  text-align: left;
  font-size: 13px;
  color: #718096;
  font-weight: 600;
  padding: 8px 4px;
  width: 90px;
  vertical-align: top;
}

.summary-table td {
  text-align: left;
  font-size: 13px;
  color: #2d3748;
  font-weight: 500;
  padding: 8px 4px;
  word-break: break-all;
}

.summary-footer {
  background: #f8fafc;
  border-top: 1px solid #edf2f7;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 13px;
  color: #4a5568;
  line-height: 1.5;
  text-align: center;
  font-weight: 500;
}

/* Contact Form Card Design */
.contact-form-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 20px;
  margin-top: 12px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  font-family: inherit;
  width: 100%;
  max-width: 320px;
  box-sizing: border-box;
  display: inline-block;
}

.contact-info-preview {
  font-size: 14px;
  color: #4a5568;
  background: #f7fafc;
  border-radius: 10px;
  padding: 12px 16px;
  margin-bottom: 16px;
  line-height: 1.8;
  text-align: left;
}

.contact-form-group {
  margin-bottom: 14px;
  text-align: left;
}

.contact-form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #4a5568;
  margin-bottom: 6px;
}

.contact-form-group input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #cbd5e0;
  border-radius: 10px;
  font-size: 13px;
  color: #2d3748;
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.2s;
}

.contact-form-group input:focus {
  border-color: #fee500;
}

.contact-agreement-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  font-size: 12px;
  color: #718096;
}

.agreement-label {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  user-select: none;
}

.agreement-label input {
  cursor: pointer;
  accent-color: #fee500;
  width: 16px;
  height: 16px;
}

.privacy-detail-btn {
  background: none;
  border: none;
  color: #a0aec0;
  text-decoration: underline;
  cursor: pointer;
  font-size: 11px;
  padding: 0;
}

.privacy-detail-box {
  background: #f7fafc;
  border: 1px solid #edf2f7;
  border-radius: 8px;
  padding: 10px;
  font-size: 11px;
  color: #718096;
  text-align: left;
  line-height: 1.5;
  margin-bottom: 12px;
  max-height: 80px;
  overflow-y: auto;
}

.contact-submit-btn {
  width: 100%;
  background: #fee500;
  border: none;
  border-radius: 12px;
  padding: 12px;
  font-size: 14px;
  font-weight: 700;
  color: #1e1e1e;
  cursor: pointer;
  transition: background-color 0.2s, transform 0.1s;
}

.contact-submit-btn:hover {
  background: #fada0a;
}

.contact-submit-btn:active {
  transform: scale(0.98);
}

.contact-submit-btn:disabled {
  background: #cbd5e0;
  color: #a0aec0;
  cursor: not-allowed;
}

/* Side Menu and Crew Screen Styles */
.side-menu{position:fixed;top:0;right:-280px;width:280px;height:100%;background:#fff;box-shadow:-3px 0 20px rgba(0,0,0,.15);transition:.3s;z-index:9999;padding-top:70px;overflow-y:auto;}
.side-menu.open{right:0}
.menu-item{padding:18px 20px;border-bottom:1px solid #eee;font-weight:700;cursor:pointer}
.menu-item:hover{background:#f9f9f9}
.overlay{position:fixed;inset:0;background:rgba(0,0,0,.3);display:none;z-index:9998}
.overlay.open{display:block}

.crew-screen{position:fixed;top:0;right:auto;bottom:0;left:50%;width:100%;max-width:430px;transform:translateX(-50%);box-shadow:0 0 28px rgba(0,0,0,.18);background:#f4f6f5;display:none;flex-direction:column;z-index:10001}
.crew-screen.open{display:flex}
.crew-head{height:62px;background:#08B967;display:flex;align-items:center;gap:12px;padding:0 16px;flex-shrink:0}
.crew-head button{border:0;background:transparent;font-size:28px;cursor:pointer;color:#fff;}
.crew-head strong{font-size:18px;color:#fff;}
.crew-scroll{overflow-y:auto;padding:18px 14px 30px;flex:1;}
.crew-hero{background:linear-gradient(145deg,#12251b,#1c3b29);color:#fff;border-radius:22px;padding:22px 20px;box-shadow:0 8px 24px rgba(0,0,0,.16)}
.crew-kicker{font-size:11px;color:#79eaa9;font-weight:900;letter-spacing:.12em}
.crew-hero h1{font-size:24px;line-height:1.3;margin:8px 0}
.crew-hero p{font-size:13px;line-height:1.6;margin:0;color:#d7e5dc}
.crew-section-title{font-size:17px;margin:22px 2px 12px;color:#111;font-weight:bold;}
.plans{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.plan{background:#fff;border:2px solid transparent;border-radius:17px;padding:16px 13px;text-align:left;cursor:pointer;box-shadow:0 2px 10px rgba(0,0,0,.05)}
.plan.selected{border-color:#08B967;background:#f2fff7}
.plan b{display:block;font-size:16px;color:#111;}
.plan strong{display:block;font-size:21px;margin:8px 0 3px;color:#111;}
.plan span{font-size:11px;color:#67736c}
.crew-pay{width:100%;border:0;border-radius:14px;background:#08B967;padding:15px;font-size:15px;font-weight:900;margin-top:12px;cursor:pointer;color:#fff;}
.crew-note{font-size:11px;color:#738078;text-align:center;margin:8px 0}
.member-box{background:#fff;border-radius:18px;padding:16px;margin-top:14px}
.member-box h3{margin:0 0 10px;font-size:16px;color:#111;}
.usage{height:8px;background:#e8ece9;border-radius:99px;overflow:hidden}
.usage i{display:block;height:100%;width:20%;background:#08B967}
.lead-card{background:#fff;border:1px solid #e2e7e3;border-radius:14px;padding:13px;margin-top:9px;font-size:12px;line-height:1.6;color:#111;}
.lead-card b{font-size:14px}
.lead-card .tag{float:right;background:#e8fff1;color:#079345;border-radius:99px;padding:2px 8px;font-weight:800}
.support-chat{background:#e9f0ec;border-radius:16px;padding:12px;margin-top:12px}
.support-msg{background:#fff;border-radius:4px 12px 12px 12px;padding:10px;font-size:12px;line-height:1.5;margin-bottom:9px;color:#111;}
.support-input{display:flex;gap:7px}
.support-input input{background:#fff;flex:1;border:none;border-radius:20px;padding:10px;outline:none;}
.support-input button{border:0;border-radius:50%;width:38px;height:38px;background:#08B967;font-weight:900;cursor:pointer;flex-shrink:0;color:#fff;}
.locked{text-align:center;background:#fff;border-radius:16px;padding:23px 15px;color:#67736c;font-size:13px;line-height:1.6}
.crew-tabs{height:58px;display:flex;align-items:stretch;gap:22px;padding:0 18px;background:#fff;border-bottom:1px solid #dfe4e1;flex-shrink:0}
.crew-tab{position:relative;border:0;background:transparent;padding:0 0 2px;color:#738078;font-size:15px;font-weight:800;cursor:pointer;white-space:nowrap}
.crew-tab.active{color:#14251c}
.crew-tab.active:after{content:"";position:absolute;left:0;right:0;bottom:0;height:3px;border-radius:3px;background:#08B967}
.crew-pane{display:none}
.crew-pane.active{display:block}
.crew-pane .locked{margin-top:0}

.coupon-book-screen{position:fixed;top:0;right:auto;bottom:0;left:50%;width:100%;max-width:430px;transform:translateX(-50%);box-shadow:0 0 28px rgba(0,0,0,.18);background:#f4f6f5;display:none;flex-direction:column;z-index:10001}
.coupon-book-screen.open{display:flex}
.coupon-book-head{height:62px;background:#08B967;display:flex;align-items:center;gap:12px;padding:0 16px;flex-shrink:0}
.coupon-book-head button{border:0;background:transparent;font-size:28px;cursor:pointer;color:#fff}
.coupon-book-head strong{font-size:18px;color:#fff}
.coupon-book-scroll{overflow-y:auto;padding:16px 14px 30px;flex:1}
.coupon-book-desc{font-size:13px;line-height:1.6;color:#556068;text-align:center;margin:0 0 18px}
.coupon-card{background:#fff;border-radius:16px;overflow:hidden;margin-bottom:16px;box-shadow:0 2px 12px rgba(0,0,0,.06)}
.coupon-card img{display:block;width:100%;height:auto}
.coupon-card-meta{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 14px;border-top:1px solid #eef1f3}
.coupon-card-title{font-size:14px;font-weight:700;color:#1a202c;line-height:1.35}
.coupon-download-btn{flex-shrink:0;border:0;border-radius:10px;background:#08B967;color:#fff;font-size:13px;font-weight:800;padding:10px 14px;cursor:pointer}
.coupon-download-btn:active{opacity:.85}

/* 채팅 녹화 — 기본 숨김, 로고 3연속 클릭(데스크톱만) 후 표시 */
.chat-screen .icons #chatRecordBtn {
  display: none;
  color: #fff;
  line-height: 1;
  font-size: 18px;
}
html.chat-record-unlocked .chat-screen .icons #chatRecordBtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
#menuChatRecord {
  display: none !important;
}
html.chat-record-unlocked #menuChatRecord {
  display: block !important;
}
.chat-record-overlay__timer {
  display: none;
  font-size: 28px;
  font-weight: 800;
  text-align: center;
  color: #e53935;
  margin: 4px 0 14px;
  font-variant-numeric: tabular-nums;
}
.chat-record-overlay__primary,
.chat-record-overlay__stop {
  width: 100%;
  border: 0;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  padding: 12px;
  cursor: pointer;
  margin-bottom: 8px;
}
.chat-record-overlay__primary {
  background: #08B967;
  color: #fff;
}
.chat-record-overlay__stop {
  display: none;
  background: #e53935;
  color: #fff;
}
.chat-record-overlay__stop:active,
.chat-record-overlay__primary:active {
  opacity: 0.85;
}
.side-menu .menu-item.is-disabled {
  opacity: 0.45;
  pointer-events: none;
}
.chat-record-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10060;
  background: rgba(0, 0, 0, 0.55);
  align-items: flex-end;
  justify-content: center;
  padding: 16px;
  box-sizing: border-box;
}
.chat-record-overlay.is-active {
  display: flex;
}
.chat-record-overlay__panel {
  width: 100%;
  max-width: 400px;
  background: #fff;
  border-radius: 16px;
  padding: 18px 16px 14px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.22);
  box-sizing: border-box;
}
.chat-record-overlay__panel strong {
  display: block;
  font-size: 16px;
  margin-bottom: 6px;
}
.chat-record-overlay__panel p {
  margin: 0 0 12px;
  font-size: 13px;
  color: #556068;
  line-height: 1.5;
}
.chat-record-overlay__cancel {
  width: 100%;
  border: 0;
  border-radius: 10px;
  background: #f1f3f5;
  color: #111;
  font-size: 14px;
  font-weight: 700;
  padding: 12px;
  cursor: pointer;
}

/* 녹화 중 — 채팅 가리지 않는 플로팅 컨트롤 */
.chat-record-floating {
  display: none;
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: calc(68px + env(safe-area-inset-bottom, 0px));
  z-index: 10055;
  width: calc(100% - 24px);
  max-width: 376px;
  box-sizing: border-box;
  align-items: center;
  gap: 8px;
  padding: 8px 10px 8px 12px;
  border-radius: 999px;
  background: rgba(20, 24, 28, 0.92);
  color: #fff;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.28);
  pointer-events: auto;
}
.chat-record-floating.is-active {
  display: flex;
}
.chat-record-floating__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff5252;
  flex-shrink: 0;
  animation: chat-record-pulse 1.2s ease-in-out infinite;
}
@keyframes chat-record-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}
.chat-record-floating__timer {
  font-size: 13px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  min-width: 42px;
}
.chat-record-floating__stop {
  margin-left: auto;
  border: 0;
  border-radius: 999px;
  background: #e53935;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  padding: 8px 14px;
  cursor: pointer;
  white-space: nowrap;
}
.chat-record-floating__stop:active {
  opacity: 0.85;
}

/* Signup Form Styles */
.chat-signup-toggle-btn {
  display: block;
  width: 100%;
  padding: 10px;
  margin-top: 10px;
  background-color: transparent;
  color: #555;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.2s;
}

.chat-signup-toggle-btn:hover {
  background-color: #f5f5f5;
}

.chat-signup-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 15px;
}

.chat-signup-form input[type="text"],
.chat-signup-form input[type="password"] {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 14px;
}

.chat-signup-agree {
  display: flex;
  align-items: center;
  font-size: 14px;
  color: #333;
  margin: 5px 0;
}

.chat-signup-agree input[type="checkbox"] {
  margin-right: 8px;
  width: 16px;
  height: 16px;
}

/* Hide voice converse button as requested */
.senior-listen { display: none !important; }

/* 나의 상담내역 화면 */
.consult-history-screen {
  position: fixed;
  top: 0;
  right: auto;
  bottom: 0;
  left: 50%;
  width: 100%;
  max-width: 430px;
  transform: translateX(-50%);
  box-shadow: 0 0 28px rgba(0,0,0,.18);
  background: #f4f6f8;
  display: none;
  flex-direction: column;
  z-index: 10001;
}
.consult-history-screen.open {
  display: flex;
}
.consult-history-head {
  height: 62px;
  background: #08B967;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  flex-shrink: 0;
}
.consult-head-left {
  display: flex;
  align-items: center;
  gap: 12px;
}
.consult-back-btn {
  border: 0;
  background: transparent;
  font-size: 28px;
  cursor: pointer;
  color: #fff;
  padding: 0;
  line-height: 1;
}
.consult-history-head strong {
  font-size: 18px;
  color: #fff;
  font-weight: 700;
}
.consult-new-btn {
  border: 0;
  border-radius: 8px;
  background: #111;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 7px 12px;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,0.12);
  transition: opacity 0.2s;
}
.consult-new-btn:active {
  opacity: 0.85;
}
.consult-history-scroll {
  overflow-y: auto;
  padding: 16px 14px 30px;
  flex: 1;
  -webkit-overflow-scrolling: touch;
}
.consult-loading, .consult-empty {
  text-align: center;
  padding: 40px 16px;
  color: #6b7684;
}
.consult-empty .empty-icon {
  font-size: 48px;
  margin-bottom: 12px;
}
.consult-empty .empty-title {
  font-size: 16px;
  font-weight: 700;
  color: #191f28;
  margin-bottom: 8px;
}
.consult-empty .empty-desc {
  font-size: 13px;
  line-height: 1.6;
  color: #8b95a1;
  margin-bottom: 20px;
}
.consult-empty .empty-btn {
  border: 0;
  background: #08B967;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  padding: 11px 20px;
  border-radius: 10px;
  cursor: pointer;
}
.consult-summary-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  padding: 0 4px;
}
.consult-summary-text {
  font-size: 13px;
  font-weight: 600;
  color: #4e5968;
}
.consult-card {
  background: #fff;
  border-radius: 14px;
  margin-bottom: 14px;
  padding: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  border: 1px solid #eef1f3;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
}
.consult-card.is-current {
  border: 1.5px solid #08B967;
  background: #fcfffd;
}
.consult-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.consult-card-badges {
  display: flex;
  align-items: center;
  gap: 6px;
}
.consult-badge {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  line-height: 1.2;
}
.consult-badge.done {
  background: #e6f9ed;
  color: #03a84e;
}
.consult-badge.ing {
  background: #eef4fe;
  color: #3182f6;
}
.consult-badge.current {
  background: #111;
  color: #fff;
}
.consult-card-date {
  font-size: 12px;
  color: #8b95a1;
}
.consult-card-body {
  display: flex;
  gap: 14px;
  align-items: center;
  cursor: pointer;
}
.consult-card-thumb {
  width: 76px;
  height: 56px;
  border-radius: 8px;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  border: 1px solid #edf0f2;
}
.consult-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.consult-card-thumb .thumb-placeholder {
  font-size: 26px;
  line-height: 1;
}
.consult-card-info {
  flex: 1;
  min-width: 0;
}
.consult-card-title {
  font-size: 15px;
  font-weight: 700;
  color: #191f28;
  margin-bottom: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.consult-card-sub {
  font-size: 12px;
  color: #6b7684;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.consult-card-price {
  font-size: 14px;
  font-weight: 700;
  color: #e54646;
  margin-top: 3px;
}
.consult-card-snippet {
  background: #f9fafb;
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 12px;
  color: #6b7684;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.consult-card-actions {
  display: flex;
  gap: 8px;
  margin-top: 2px;
  border-top: 1px solid #f2f4f6;
  padding-top: 10px;
}
.consult-action-view {
  flex: 1;
  background: #08B967;
  color: #fff;
  border: 0;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  padding: 9px 0;
  cursor: pointer;
  text-align: center;
  transition: opacity 0.15s;
}
.consult-action-view:active {
  opacity: 0.85;
}
.consult-action-view.current {
  background: #222;
  color: #fff;
}
.consult-action-delete {
  background: #f2f4f6;
  color: #8b95a1;
  border: 0;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  padding: 9px 12px;
  cursor: pointer;
  transition: background 0.15s;
}
.consult-action-delete:hover {
  background: #fee2e2;
  color: #ef4444;
}


/* ==================== 코코포인트몰 (User Chat Front) ==================== */
.point-mall-screen {
  position: fixed;
  top: 0;
  right: auto;
  bottom: 0;
  left: 50%;
  width: 100%;
  max-width: 430px;
  transform: translateX(-50%);
  box-shadow: 0 0 28px rgba(0, 0, 0, 0.18);
  background: #f4f6f8;
  display: none;
  flex-direction: column;
  z-index: 10001;
}
.point-mall-screen.open {
  display: flex;
}
.point-mall-head {
  height: 62px;
  background: #08B967;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  flex-shrink: 0;
}
.point-head-left {
  display: flex;
  align-items: center;
  gap: 12px;
}
.point-back-btn {
  border: 0;
  background: transparent;
  font-size: 28px;
  cursor: pointer;
  color: #111;
  padding: 0;
  line-height: 1;
}
.point-mall-head strong {
  font-size: 18px;
  color: #111;
  font-weight: 700;
}
.point-mall-scroll {
  overflow-y: auto;
  padding: 14px 14px 40px;
  flex: 1;
  -webkit-overflow-scrolling: touch;
}

/* 포인트 요약 카드 */
.point-summary-card {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  border-radius: 16px;
  padding: 18px 20px;
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.18);
  margin-bottom: 14px;
}
.point-summary-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: #cbd5e1;
  margin-bottom: 8px;
}
.point-summary-balance {
  font-size: 28px;
  font-weight: 900;
  color: #facc15;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 14px;
}
.point-summary-balance small {
  font-size: 18px;
  color: #ffffff;
}
.point-summary-stats {
  display: flex;
  gap: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 12px;
  font-size: 12px;
}
.point-summary-stats div {
  flex: 1;
}
.point-summary-stats span {
  display: block;
  color: #94a3b8;
  margin-bottom: 2px;
}
.point-summary-stats strong {
  font-size: 13px;
  color: #ffffff;
}
.point-login-prompt {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 16px;
  text-align: center;
  margin-bottom: 14px;
}
.point-login-prompt p {
  margin: 0 0 10px;
  font-size: 13px;
  color: #475569;
}
.point-login-prompt button {
  background: #08B967;
  color: #fff;
  border: 0;
  border-radius: 8px;
  padding: 8px 16px;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
}

/* 포인트몰 탭 */
.point-mall-nav-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 14px;
}
.point-nav-tab {
  flex: 1;
  border: 0;
  background: #e2e8f0;
  color: #475569;
  border-radius: 10px;
  padding: 10px 0;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
}
.point-nav-tab.active {
  background: #111827;
  color: #ffffff;
}

/* 카테고리 칩 */
.point-category-chips {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 8px;
  margin-bottom: 14px;
  -webkit-overflow-scrolling: touch;
}
.point-category-chips::-webkit-scrollbar {
  display: none;
}
.point-chip {
  flex-shrink: 0;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #475569;
  border-radius: 9999px;
  padding: 6px 13px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}
.point-chip.active {
  background: #08B967;
  color: #fff;
  border-color: #08B967;
  font-weight: 800;
}

/* 상품 그리드 (모바일 2열 카드) */
.point-product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.point-prod-card {
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}
.point-prod-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #f1f5f9;
  overflow: hidden;
}
.point-prod-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.point-prod-tag {
  position: absolute;
  top: 8px;
  left: 8px;
  background: rgba(17, 24, 39, 0.8);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
}
.point-prod-body {
  padding: 10px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.point-prod-title {
  font-size: 13px;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 4px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 34px;
}
.point-prod-price {
  font-size: 14px;
  font-weight: 900;
  color: #ea580c;
  margin-bottom: 8px;
}
.point-prod-exchange-btn {
  margin-top: auto;
  border: 0;
  background: #08B967;
  color: #fff;
  border-radius: 8px;
  padding: 8px 0;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  width: 100%;
  text-align: center;
  transition: opacity 0.15s;
}
.point-prod-exchange-btn:disabled {
  background: #e2e8f0;
  color: #94a3b8;
  cursor: not-allowed;
}

/* 포인트 내역 리스트 */
.point-history-item {
  background: #ffffff;
  border-radius: 12px;
  padding: 14px 16px;
  border: 1px solid #e2e8f0;
  margin-bottom: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.point-history-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.point-history-reason {
  font-size: 14px;
  font-weight: 700;
  color: #1e293b;
}
.point-history-date {
  font-size: 11px;
  color: #94a3b8;
}
.point-history-amount {
  text-align: right;
}
.point-history-amount strong {
  font-size: 15px;
  font-weight: 800;
  display: block;
}
.point-history-amount .balance-after {
  font-size: 11px;
  color: #64748b;
}
.amount-plus { color: #059669; }
.amount-minus { color: #dc2626; }

/* 교환 내역 리스트 */
.point-order-item {
  background: #ffffff;
  border-radius: 14px;
  padding: 14px 16px;
  border: 1px solid #e2e8f0;
  margin-bottom: 12px;
}
.point-order-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  font-size: 12px;
  color: #64748b;
}
.point-order-prod {
  font-size: 15px;
  font-weight: 800;
  color: #1e293b;
  margin-bottom: 6px;
}
.point-order-meta {
  font-size: 12px;
  color: #475569;
  line-height: 1.5;
  background: #f8fafc;
  padding: 8px 10px;
  border-radius: 8px;
}

/* 모달 */
.point-modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 10005;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.point-modal-overlay.open {
  display: flex;
}
.point-modal-card {
  background: #ffffff;
  border-radius: 18px;
  width: 100%;
  max-width: 380px;
  padding: 22px 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}
.point-modal-card h4 {
  margin: 0 0 14px;
  font-size: 17px;
  font-weight: 800;
  color: #111827;
  text-align: center;
}
.point-modal-field {
  margin-bottom: 12px;
}
.point-modal-field label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: #475569;
  margin-bottom: 4px;
}
.point-modal-field input, .point-modal-field textarea {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 9px 12px;
  font-size: 13px;
  box-sizing: border-box;
}
.point-modal-btns {
  display: flex;
  gap: 8px;
  margin-top: 18px;
}
.point-modal-btns button {
  flex: 1;
  padding: 11px 0;
  border-radius: 10px;
  border: 0;
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
}
.point-btn-cancel {
  background: #f1f5f9;
  color: #475569;
}
.point-btn-submit {
  background: #08B967;
  color: #fff;
}

/* 옵션 상세 설명 링크 및 미디어 카드 */
.opt-spec-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 11.5px;
  font-weight: 600;
  text-decoration: none !important;
  cursor: pointer;
  line-height: 1.35;
  transition: all 0.15s ease;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
  color: #1d4ed8 !important;
  background: #ffffff;
  border: 1px solid #bfdbfe;
}
.opt-spec-link:hover, .opt-spec-link:active {
  background: #eff6ff;
  color: #1e40af !important;
  border-color: #93c5fd;
}
.opt-spec-link.is-video {
  color: #be123c !important;
  background: #ffffff;
  border: 1px solid #fecdd3;
}
.opt-spec-link.is-video:hover,
.opt-spec-link.is-video:active {
  background: #fff1f2;
  color: #9f1239 !important;
  border-color: #fda4af;
}
.opt-spec-link.is-photo {
  color: #2563eb !important;
  background: #ffffff;
  border: 1px solid #bfdbfe;
}
.opt-spec-link.is-photo:hover,
.opt-spec-link.is-photo:active {
  background: #eff6ff;
  color: #1d4ed8 !important;
  border-color: #93c5fd;
}
.opt-spec-text-chip {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 11.5px;
  font-weight: 500;
  color: #475569;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  line-height: 1.35;
}
.chat-media-box {
  margin: 10px 0 12px 0;
  border-radius: 12px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
  width: 100%;
  max-width: 440px;
}
.chat-media-head {
  padding: 10px 13px 9px;
  background: #ffffff;
  border-bottom: 1px solid #f1f5f9;
}
.chat-media-tag {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 3px;
}
.chat-media-badge {
  display: inline-flex;
  align-items: center;
  font-size: 10.5px;
  font-weight: 700;
  color: #dc2626;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 4px;
  padding: 1px 6px;
  letter-spacing: -0.2px;
}
.chat-media-provider {
  font-size: 11px;
  font-weight: 500;
  color: #64748b;
}
.chat-media-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.4;
  word-break: break-all;
}
.chat-media-frame {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  background: #000000;
}
.chat-media-frame iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.chat-opt-img-wrap {
  margin: 8px 0 12px 0;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  background: #fff;
  width: 100%;
  max-width: 380px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}

/* ==========================================================================
   Metro-style Option Guide UI (.metro-guide) - Clean Native Portal Style
   ========================================================================== */
.metro-guide {
  font-family: -apple-system, BlinkMacSystemFont, "Pretendard", "Segoe UI", Roboto, "Noto Sans KR", sans-serif;
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 440px;
  margin: 4px 0 8px 0;
  color: #1e293b;
  line-height: 1.5;
}

/* 1. Hero Card (Clean & Sophisticated) */
.metro-hero-tile {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  padding: 14px 16px;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}
.metro-hero-badge {
  display: inline-block;
  background: #f1f5f9;
  color: #475569;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: 6px;
  letter-spacing: -0.2px;
}
.metro-hero-title {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 6px 0;
  line-height: 1.35;
  color: #0f172a;
}
.metro-hero-desc {
  font-size: 12.5px;
  margin: 0;
  line-height: 1.55;
  color: #475569;
}

/* 2. Section Title */
.metro-sec-title {
  display: flex;
  align-items: center;
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
  margin-top: 6px;
  margin-bottom: 2px;
  padding-left: 2px;
  letter-spacing: -0.2px;
}

/* 3. Feature Tiles (Clean Uniform Cards) */
.metro-tile-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.metro-card-tile {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 11px 13px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}
.metro-card-title {
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 5px;
  letter-spacing: -0.2px;
}
.metro-card-body {
  font-size: 12px;
  color: #475569;
  line-height: 1.55;
}
.metro-sub-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 5px;
  font-size: 11.5px;
}
.metro-sub-badge {
  flex-shrink: 0;
  background: #f1f5f9;
  color: #334155;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 11px;
}

/* 4. Brand Spec Table / Grid */
.metro-brand-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
}
.metro-brand-tile {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 9px 12px;
  display: flex;
  flex-direction: column;
}
.metro-brand-label {
  font-size: 11px;
  font-weight: 600;
  color: #64748b;
  margin-bottom: 2px;
}
.metro-brand-val {
  font-size: 12.5px;
  font-weight: 700;
  color: #0f172a;
}

/* 5. Step Timeline */
.metro-steps {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.metro-step-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 9px 12px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.metro-step-num {
  flex-shrink: 0;
  font-size: 10.5px;
  font-weight: 700;
  color: #0284c7;
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  border-radius: 4px;
  padding: 1px 5px;
  margin-top: 1px;
  letter-spacing: 0.2px;
}
.metro-step-text {
  font-size: 12px;
  color: #334155;
  line-height: 1.5;
}

/* 6. Car Option Package Card (Vertical Layout - 세로 배치) */
.metro-pkg-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 13px 14px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}
.metro-pkg-header {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding-bottom: 8px;
  border-bottom: 1px solid #f1f5f9;
  margin-bottom: 8px;
}
.metro-pkg-model {
  display: inline-block;
  align-self: flex-start;
  font-size: 11px;
  font-weight: 700;
  color: #475569;
  background: #f1f5f9;
  padding: 2px 7px;
  border-radius: 4px;
  letter-spacing: -0.2px;
  margin-bottom: 2px;
}
.metro-pkg-name {
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.4;
  margin-top: 1px;
}
.metro-pkg-price {
  font-size: 13.5px;
  font-weight: 800;
  color: #0284c7;
  margin-top: 2px;
}
.metro-pkg-desc {
  font-size: 12px;
  color: #475569;
  line-height: 1.55;
  margin-top: 6px;
}
.pkg-desc-title {
  font-size: 12px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 6px;
  letter-spacing: -0.2px;
}
.pkg-spec-group {
  background: #f8fafc;
  border: 1px solid #f1f5f9;
  border-radius: 8px;
  padding: 8px 10px;
  margin-top: 6px;
}
.pkg-spec-group.is-video {
  background: #fffafa;
  border-color: #ffe4e6;
}
.pkg-spec-group.is-photo {
  background: #f8faff;
  border-color: #e0e7ff;
}
.pkg-spec-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}
.pkg-spec-label {
  font-size: 11.5px;
  font-weight: 700;
  color: #334155;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.pkg-spec-group.is-video .pkg-spec-label {
  color: #9f1239;
}
.pkg-spec-group.is-photo .pkg-spec-label {
  color: #3730a3;
}
.pkg-spec-count {
  font-size: 10.5px;
  font-weight: 600;
  color: #64748b;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  padding: 0 6px;
  border-radius: 10px;
  line-height: 1.6;
}
.pkg-spec-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 6px;
}

/* 7. Footer Prompt */
.metro-footer-tile {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 12px;
  font-weight: 500;
  color: #64748b;
  text-align: center;
}

/* 8. Lineup Engine Spec Modal */
.engine-spec-wrap {
  width: 100%;
  font-family: inherit;
}
.engine-spec-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 14px;
  font-size: 13px;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #e9ecef;
}
.engine-spec-table th {
  width: 32%;
  padding: 8px 10px;
  background-color: #f8f9fa;
  color: #495057;
  font-weight: 600;
  border-bottom: 1px solid #e9ecef;
  text-align: left;
  vertical-align: middle;
}
.engine-spec-table td {
  padding: 8px 10px;
  color: #212529;
  border-bottom: 1px solid #e9ecef;
  text-align: left;
  vertical-align: middle;
}
.engine-spec-table tr:last-child th,
.engine-spec-table tr:last-child td {
  border-bottom: none;
}
.engine-spec-feature {
  background-color: #f4f8f6;
  border: 1px solid #d1e7dd;
  border-radius: 8px;
  padding: 10px 12px;
  margin-top: 10px;
}
.spec-feature-title {
  font-weight: 700;
  color: #087457;
  font-size: 12px;
  margin-bottom: 5px;
  display: flex;
  align-items: center;
  gap: 5px;
}
.spec-feature-text {
  font-size: 12px;
  color: #333;
  line-height: 1.5;
  word-break: keep-all;
}

/* AI 견적 진단 프로그램 리포트 카드 디자인 */
.ai-quote-report-card {
  background: #ffffff;
  border: 1px solid #e1ede6;
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 4px 16px rgba(7, 88, 63, 0.08);
  font-family: inherit;
  box-sizing: border-box;
  width: 100%;
  display: block;
  text-align: left;
}

.ai-quote-report-card .report-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid #edf4f0;
}

.ai-quote-report-card .report-head-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 900;
  color: #11221b;
  letter-spacing: -0.5px;
}

.ai-quote-report-card .report-head-title i {
  color: #08B967;
  font-size: 16px;
}

.ai-quote-report-card .report-badge {
  display: inline-block;
  background: #e6f8ef;
  color: #087a46;
  font-size: 11px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 99px;
}

.ai-quote-report-card .report-time {
  font-size: 11px;
  color: #8c9993;
}

.ai-quote-report-card .report-body {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 16px;
  align-items: center;
  margin-bottom: 14px;
}

.ai-quote-report-card .report-ring-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.ai-quote-report-card .report-ring {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: conic-gradient(#08B967 0 72%, #e8efeb 72%);
  display: grid;
  place-items: center;
  position: relative;
  box-shadow: 0 4px 12px rgba(8, 185, 103, 0.15);
}

.ai-quote-report-card .report-ring:after {
  content: '';
  position: absolute;
  inset: 11px;
  background: #fff;
  border-radius: 50%;
}

.ai-quote-report-card .report-ring-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: baseline;
  justify-content: center;
}

.ai-quote-report-card .report-score-num {
  font-size: 28px;
  font-weight: 950;
  color: #07583f;
  line-height: 1;
  letter-spacing: -1px;
}

.ai-quote-report-card .report-score-unit {
  font-size: 13px;
  font-weight: 850;
  color: #08B967;
  margin-left: 1px;
}

.ai-quote-report-card .report-ring-label {
  font-size: 11px;
  font-weight: 750;
  color: #556760;
}

.ai-quote-report-card .report-grades {
  display: grid;
  gap: 7px;
}

.ai-quote-report-card .report-grade-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  font-weight: 700;
  color: #273630;
}

.ai-quote-report-card .grade-badge {
  border-radius: 10px;
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 800;
  border: none;
}

.ai-quote-report-card .grade-badge.is-good {
  background: #e0f6e9;
  color: #087042;
}

.ai-quote-report-card .grade-badge.is-normal {
  background: #fff4e0;
  color: #b56e00;
}

.ai-quote-report-card .grade-badge.is-warn {
  background: #ffebe8;
  color: #d13426;
}

.ai-quote-report-card .grade-badge.is-alert {
  background: #ffe8e8;
  color: #cf2213;
  font-weight: 900;
}

.ai-quote-report-card .report-insight-box {
  background: #f4faf6;
  border: 1px solid #dceed4;
  border-radius: 13px;
  padding: 12px 14px;
}

.ai-quote-report-card .report-insight-text {
  margin: 0 0 9px 0;
  font-size: 12.5px;
  line-height: 1.45;
  color: #233a30;
  letter-spacing: -0.3px;
}

.ai-quote-report-card .report-insight-text strong {
  color: #d13426;
}

.ai-quote-report-card .report-saving-banner {
  display: flex;
  align-items: center;
  gap: 9px;
  background: #08B967;
  color: #ffffff;
  padding: 8px 12px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(8, 185, 103, 0.2);
}

.ai-quote-report-card .saving-icon {
  font-size: 18px;
  line-height: 1;
}

.ai-quote-report-card .saving-copy {
  display: flex;
  flex-direction: column;
}

.ai-quote-report-card .saving-copy small {
  font-size: 10px;
  color: #e5fbf0;
  line-height: 1.2;
}

.ai-quote-report-card .saving-copy strong {
  font-size: 13px;
  font-weight: 950;
  letter-spacing: -0.4px;
}

/* 사용자 질문 말풍선이 화면 상단에 정확히 배치될 수 있도록 하는 스크롤 여유 공간 */
.main-chat.has-user-msg {
  padding-bottom: calc(100vh - 160px);
  padding-bottom: calc(100dvh - 160px);
}
.chat-screen.senior-mode .main-chat.has-user-msg {
  padding-bottom: calc(100vh - 160px);
  padding-bottom: calc(100dvh - 160px);
}



