@charset "UTF-8";

.pri-modal,
.pri-alert-modal,
.pri-detail {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 999;
}

.pri-alert-modal {
  z-index: 1000;
}

.pri-modal .pri-container,
.pri-alert-modal .pri-alert-container,
.pri-detail-wrap {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--color-white, #fff);
  box-sizing: border-box;
}

.pri-modal .pri-container {
  display: flex;
  flex-direction: column;
  width: 440px;
  max-width: calc(100vw - 32px);
  /* min-height: 658px; */
  max-height: calc(100vh - 80px);
  padding: 30px;
  border-radius: 20px;
  color: var(--gray-900, #060b11);
  font-family: var(--font-base);
}

.pri-modal .pri-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.pri-modal .pri-title {
  margin: 0;
  color: var(--gray-900, #060b11);
  font-size: var(--font-title-2-size, 24px);
  line-height: 30px;
  font-weight: var(--font-title-2-weight, 700);
  letter-spacing: -0.02em;
}

.pri-modal .pri-close,
.pri-detail-x,
.pri-alert-modal .pri-alert-close {
  position: relative;
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.pri-modal .pri-close::before,
.pri-modal .pri-close::after,
.pri-alert-modal .pri-alert-close::before,
.pri-alert-modal .pri-alert-close::after,
.pri-detail-x::after,
.pri-detail-x::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 3px;
  height: 25px;
  border-radius: 999px;
  background: var(--gray-900, #060b11);
  transform-origin: center;
}

.pri-modal .pri-close::before,
.pri-alert-modal .pri-alert-close::before,
.pri-detail-x::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.pri-modal .pri-close::after,
.pri-alert-modal .pri-alert-close::after,
.pri-detail-x::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.pri-modal .pri-state-input {
  display: none;
}

.pri-modal .pri-agree-card {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 60px;
  margin-top: 20px;
  padding: 14px 18px;
  border-radius: 8px;
  background: var(--gray-50, #f8f9fa);
  box-sizing: border-box;
  cursor: pointer;
}

.pri-modal .pri-agree-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.pri-modal .pri-check {
  position: relative;
  display: block;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border: 2px solid var(--gray-400, #b2bac2);
  border-radius: 3px;
  background: var(--color-white, #fff);
  box-sizing: border-box;
}

.pri-modal .pri-check::after {
  display: none;
}

.pri-modal #pri-agree:checked + .pri-check {
  border: none;
  background-color: var(--color-primary, #30b566);
  background-image: url("../img/icon_checked.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 60%;
}

.pri-modal #pri-agree:checked + .pri-check::after {
  display: none;
}

.pri-modal .pri-agree-text {
  color: var(--gray-900, #060b11);
  font-size: var(--font-button-size, 18px);
  line-height: 24px;
  font-weight: var(--font-button-weight, 700);
  letter-spacing: -0.01em;
}

.pri-modal .pri-content {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  overflow-y: auto;
  min-height: 0;
  gap: 20px;
  margin-top: 20px;
}

.pri-modal .pri-content.has-more {
  -webkit-mask-image: linear-gradient(
    to bottom,
    #000 calc(100% - 36px),
    transparent 100%
  );
  mask-image: linear-gradient(
    to bottom,
    #000 calc(100% - 36px),
    transparent 100%
  );
}

.pri-modal .pri-section h3 {
  margin: 0 0 4px;
  color: var(--gray-900, #060b11);
  font-size: var(--font-button-size, 18px);
  line-height: 20px;
  font-weight: var(--font-button-weight, 700);
  letter-spacing: -0.01em;
}

.pri-modal .pri-section p,
.pri-modal .pri-notice {
  margin: 0;
  color: var(--gray-700, #555d65);
  font-size: var(--font-body-4-size, 14px);
  line-height: 22px;
  font-weight: var(--font-body-4-weight, 600);
  letter-spacing: -0.01em;
  word-break: keep-all;
}

.pri-modal .pri-notice {
  margin-top: 2px;
}

.pri-modal .pri-notice a {
  text-decoration: underline;
  font-size: var(--font-body-3-size);
  color: var(--gray-700);
  font-weight: var(--font-body-3-weight);
}

.pri-modal .pri-confirm {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 100%;
  min-width: 96px;
  height: 70px;
  min-height: 56px;
  margin-top: 30px;
  padding: 2px 28px;
  border: 0;
  border-radius: 12px;
  background: var(--color-primary, #30b566);
  color: var(--color-white, #fff);
  font-family: inherit;
  font-size: var(--font-button-size, 18px);
  line-height: 20px;
  font-weight: var(--font-button-weight, 700);
  letter-spacing: -0.01em;
  cursor: pointer;
  flex-direction: column;
}

.pri-modal .pri-confirm span {
  display: block;
  font-weight: 400;
  font-size: 16px;
}

.pri-modal .pri-confirm.not-click {
  background: var(--gray-300, #ced4da);
  cursor: not-allowed;
}
/* ==================== */
.all_check_wrap {
  width: 100%;
  height: 56px;
  border: 1px solid #ced4da;
  background-color: #fff;
  margin: 20px 0;
  border-radius: 12px;
}
.all_check_wrap > label {
  width: 100%;
  height: 100%;
  padding: 0 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.all_check_wrap > label > input {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  margin: 0;
  width: 24px;
  height: 24px;
  background: url("../img/common/check_before.svg") no-repeat center/contain;
}
.all_check_wrap > label > input:checked {
  background: url("../img/common/check_after.svg") no-repeat center/contain;
}
.all_check_wrap > label > p {
  font-weight: 700;
  font-size: 18px;
  line-height: 20px;
  letter-spacing: -1%;
  text-align: center;
  vertical-align: middle;
}
.privacy_box {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 10px;
  margin-bottom: 8px;
}
.privacy_box > .checkbox > label {
  display: flex;
  align-items: center;
  gap: 4px;
}
.privacy_box > .checkbox > label > input {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  background: url("../img/common/check_before.svg") no-repeat center/contain;
  margin: 0;
}
.privacy_box > .checkbox > label > input:checked {
  background: url("../img/common/check_after.svg") no-repeat center/contain;
}
.privacy_box > .checkbox > label > p {
  font-weight: 500;
  font-size: 16px;
  line-height: 22px;
  letter-spacing: -1%;
  vertical-align: middle;
  color: #2e3338;
}
.privacy_box > .more {
  font-size: 16px;
  line-height: 22px;
  color: #707c87;
  white-space: nowrap;
  text-decoration: underline;
  margin-left: auto;
  text-decoration: underline;
}
/*  */

.pri-detail-wrap {
  padding: 70px 30px 30px;
  border-radius: 20px;
  width: calc(100% - 40px);
  max-width: 440px;
}
.pri-detail-x {
  position: absolute;
  top: 30px;
  right: 30px;
}
.pri-detail-wrap > h2 {
  font-weight: 700;
  font-size: 24px;

  line-height: 30px;
  letter-spacing: -2%;
  margin-bottom: 16px;
}
.pri-detail-wrap > h3 {
  font-weight: 700;
  font-size: 18px;

  line-height: 20px;
  letter-spacing: -1%;
  margin-bottom: 8px;
}
.pri-detail-wrap > p {
  font-weight: 500;
  font-size: 16px;

  line-height: 22px;
  letter-spacing: -1%;
  margin-bottom: 20px;
  color: #555d65;
}
.pri-detail-wrap > a {
  font-weight: 500;
  font-size: 16px;

  line-height: 22px;
  letter-spacing: -1%;
  text-decoration: underline;
  color: #555d65;
  display: block;
  margin-bottom: 20px;
  word-break: break-all;
}
.pri-detail-radio {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 30px;
}
.pri-detail-radio > label {
  display: flex;
  align-items: center;
  gap: 8px;
}
.pri-detail-radio > label > input {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;

  width: 24px;
  height: 24px;
  border: 1px solid #b2bac2;
  border-radius: 50%;
  position: relative;
}
.pri-detail-radio > label > input:checked {
  border: 2px solid var(--color-primary);
}
.pri-detail-radio > label > input:checked::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--color-primary);
}
.pri-detail-radio > label > p {
  font-weight: 500;
  font-size: 16px;

  line-height: 22px;
  letter-spacing: -1%;
}
.pri-detail-ok {
  width: 100%;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #30b566;
  color: #fff;
  border-radius: 12px;
  font-weight: 700;
  font-size: 18px;
  line-height: 20px;
  letter-spacing: -1%;
  text-align: center;
  vertical-align: middle;
}
/* ==================== */
.pri-alert-modal .pri-alert-container {
  width: 420px;
  max-width: calc(100vw - 32px);
  padding: 34px 36px 36px;
  border-radius: 20px;
  text-align: center;
  font-family: var(--font-base);
}

.pri-alert-modal .pri-alert-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 28px;
  height: 28px;
}

.pri-alert-modal .pri-alert-close::before,
.pri-alert-modal .pri-alert-close::after {
  width: 2px;
  height: 22px;
  background: var(--gray-700, #555d65);
}

.pri-alert-modal span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-bottom: 18px;
  color: var(--gray-700, #555d65);
  font-size: var(--font-body-1-size, 18px);
  font-weight: var(--font-body-1-weight, 500);
}

.pri-alert-modal span i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--color-error, #ff4242);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  font-style: normal;
}

.pri-alert-modal h5 {
  margin: 0 0 14px;
  color: var(--gray-900, #060b11);
  font-size: var(--font-title-3-size, 20px);
  line-height: 1.35;
  font-weight: var(--font-body-1-weight, 500);
  letter-spacing: -0.02em;
}

.pri-alert-modal h5 b {
  color: var(--color-primary, #30b566);
  font-weight: 700;
}

.pri-alert-modal p {
  margin: 0;
  color: var(--gray-600, #606a74);
  font-size: var(--font-body-2-size, 16px);
  line-height: 1.45;
  font-weight: var(--font-body-2-weight, 500);
}

.pri-alert-modal .pri-btn-wrap {
  display: flex;
  gap: 10px;
  margin-top: 24px;
}

.pri-alert-modal .pri-btn-wrap button {
  height: 48px;
  border: 0;
  border-radius: 10px;
  color: #fff;
  font-family: inherit;
  font-size: var(--font-body-1-size, 18px);
  font-weight: var(--font-button-weight, 700);
  cursor: pointer;
}

.pri-alert-modal .pri-alert-disagree {
  width: 45%;
  background: var(--gray-300, #ced4da);
}

.pri-alert-modal .pri-alert-agree {
  width: 55%;
  background: var(--color-primary, #30b566);
}

/* 문자신청 결과 알림 모달 (pri-alert-modal 과 동일한 톤 유지) */
.result-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 10000000;
}

.result-modal .result-alert-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 380px;
  max-width: calc(100vw - 32px);
  padding: 36px 32px 28px;
  border-radius: 20px;
  background: var(--color-white, #fff);
  box-sizing: border-box;
  text-align: center;
  font-family: var(--font-base);
}

.result-modal .result-alert-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 28px;
  height: 28px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.result-modal .result-alert-close::before,
.result-modal .result-alert-close::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 2px;
  height: 22px;
  border-radius: 999px;
  background: var(--gray-700, #555d65);
  transform-origin: center;
}

.result-modal .result-alert-close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.result-modal .result-alert-close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.result-modal .result-alert-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--color-primary, #30b566);
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  font-style: normal;
}

.result-modal .result-alert-icon.is-error {
  background: var(--color-error, #ff4242);
}

.result-modal h5 {
  margin: 0;
  color: var(--gray-900, #060b11);
  font-size: var(--font-title-3-size, 20px);
  line-height: 1.4;
  font-weight: var(--font-body-1-weight, 500);
  letter-spacing: -0.02em;
  word-break: keep-all;
}

.result-modal .result-btn-wrap {
  margin-top: 26px;
}

.result-modal .result-alert-confirm {
  width: 100%;
  height: 52px;
  border: 0;
  border-radius: 10px;
  background: var(--color-primary, #30b566);
  color: #fff;
  font-family: inherit;
  font-size: var(--font-body-1-size, 18px);
  font-weight: var(--font-button-weight, 700);
  cursor: pointer;
}

/* 푸터 link-list 정보 모달 */
.info-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
}

.info-modal .info-dim {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}

.info-modal .info-container {
  display: none;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  flex-direction: column;
  width: 440px;
  max-width: calc(100vw - 32px);
  max-height: calc(100vh - 80px);
  padding: 30px;
  border-radius: 20px;
  background: var(--color-white, #fff);
  color: var(--gray-900, #060b11);
  font-family: var(--font-base);
  box-sizing: border-box;
  padding-left: 0;
  padding-right: 0;
}

.info-modal .info-container[data-modal-content="notice"] {
  max-width: 800px;
  width: calc(100% - 40px);
}

.info-modal .info-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 30px;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.info-modal .info-title {
  margin: 0;
  color: var(--gray-900, #060b11);
  font-size: var(--font-title-2-size, 24px);
  line-height: 30px;
  font-weight: var(--font-title-2-weight, 700);
  letter-spacing: -0.02em;
}

.info-modal .info-close {
  position: relative;
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  cursor: pointer;
  margin-left: auto;
  margin-right: -8px;
}

.info-modal .info-close::before,
.info-modal .info-close::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 3px;
  height: 25px;
  border-radius: 999px;
  background: var(--gray-900, #060b11);
  transform-origin: center;
}

.info-modal .info-close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.info-modal .info-close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.info-modal .info-content {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  overflow-y: auto;
  min-height: 0;
  gap: 30px;
  margin-top: 20px;
  padding: 0 30px;
}

.info-modal .info-section h3 {
  margin: 0 0 4px;
  color: var(--gray-900, #060b11);
  font-size: var(--font-button-size, 18px);
  line-height: 20px;
  font-weight: var(--font-button-weight, 700);
  letter-spacing: -0.01em;
}

.info-modal .info-section h3 a {
  color: var(--color-primary);
}

.info-modal .info-section p {
  margin: 0;
  color: var(--gray-700, #555d65);
  font-size: var(--font-body-3-size, 14px);
  line-height: 22px;
  font-weight: var(--font-body-3-weight, 600);
  letter-spacing: -0.01em;
  word-break: keep-all;
}

.modal-link-list {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 10px;
}

.modal-link-list li {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 10px;
}
.modal-link-list li span {
  font-size: var(--font-body-3-size);
  font-weight: var(--font-body-3-weight);
  color: var(--gray-900);
}
.modal-link-list li a {
  font-size: var(--font-body-3-size);
  font-weight: var(--font-body-3-weight);
  color: var(--color-primary);
  text-decoration: underline;
}

/* ────────────────────────────────────────────────────────────
   보험료/해약환급금 예시 모달 공용 컴포넌트
   premium·value(순수보장/만기지급) 모달이 모두 재사용합니다.
   넓은 모달은 .info-container 에 --wide 모디파이어를 추가하세요.
   ──────────────────────────────────────────────────────────── */
.info-modal .info-container--wide {
  width: 600px;
}

.lp-rate {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* 인트로 (제목 + 기준 설명) */
.lp-rate-intro {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.lp-cv .lp-cv-view:not([data-cv-view="select"]) .lp-rate-intro {
  padding-bottom: 40px;
  position: relative;
}

.lp-cv .lp-cv-view:not([data-cv-view="select"]) .lp-rate-intro::after {
  content: "";
  width: calc(100% + 60px);
  position: absolute;
  left: 50%;
  bottom: 0;
  height: 10px;
  background: #f2f3f5;
  transform: translateX(-50%);
}

.lp-rate-intro h3 {
  margin: 0;
  color: var(--gray-900, #060b11);
  font-size: var(--font-title-3-size, 20px);
  line-height: 28px;
  font-weight: var(--font-title-3-weight, 700);
  letter-spacing: -0.02em;
}

.lp-rate-intro p {
  margin: 0;
  color: var(--gray-700, #555d65);
  font-size: var(--font-body-2-size, 16px);
  line-height: 22px;
  font-weight: var(--font-body-2-weight, 500);
  letter-spacing: -0.01em;
  word-break: keep-all;
}

/* 세그먼트 컨트롤 (나이 탭) */
.lp-seg {
  position: relative;
  display: flex;
  padding: 4px 5px;
  background: var(--color-bg, #f2f3f5);
  border-radius: 12px;
}

/* 활성 탭 뒤에서 좌우로 슬라이드하는 흰색 배경(썸) - 위치/너비는 JS 에서 계산 */
.lp-seg-thumb {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 0;
  width: 0;
  border-radius: 10px;
  background: var(--color-white, #fff);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.09);
  transition:
    transform 0.25s ease,
    width 0.25s ease;
  pointer-events: none;
}

.lp-seg-item {
  position: relative;
  z-index: 1;
  flex: 1 1 0;
  min-height: 40px;
  padding: 8px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--gray-600, #606a74);
  font-size: var(--font-heading-2-size, 16px);
  line-height: 20px;
  font-weight: var(--font-heading-2-weight, 600);
  letter-spacing: -0.01em;
  text-align: center;
  cursor: pointer;
  transition: color 0.2s ease;
}

.lp-seg-item.is-active {
  color: var(--gray-900, #060b11);
}

/* 탭 패널 */
.lp-seg-panel {
  display: none;
}

.lp-seg-panel.is-active {
  display: block;
}

/* 결과 카드 (남/여) */
.lp-rate-cards {
  display: flex;
  gap: 16px;
  margin-top: 20px;
}

.lp-rate-card {
  box-sizing: border-box;
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 20px;
  border: 1px solid var(--color-line, #dfdfdf);
  border-radius: 12px;
}

.lp-rate-card__title {
  margin: 0;
  color: var(--gray-900, #060b11);
  font-size: var(--font-title-3-size, 20px);
  line-height: 28px;
  font-weight: var(--font-title-3-weight, 700);
  letter-spacing: -0.02em;
}

.lp-rate-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.lp-rate-row__label {
  color: var(--gray-700, #555d65);
  font-size: var(--font-body-2-size, 16px);
  line-height: 22px;
  font-weight: var(--font-body-2-weight, 500);
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.lp-rate-row__value {
  color: var(--gray-900, #060b11);
  font-size: var(--font-heading-1-size, 16px);
  line-height: 20px;
  font-weight: var(--font-heading-1-weight, 700);
  letter-spacing: -0.01em;
  white-space: nowrap;
}

/* 상세 박스 (상세보기 + 안내) */
.lp-detail-box {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px;
  background: var(--gray-50, #f8f9fa);
  border-radius: 12px;
}

.lp-detail-box__head {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.lp-detail-box__head h4 {
  margin: 0;
  color: var(--gray-900, #060b11);
  font-size: var(--font-title-3-size, 20px);
  line-height: 28px;
  font-weight: var(--font-title-3-weight, 700);
  letter-spacing: -0.02em;
}

.lp-detail-box__head p {
  margin: 0;
  color: var(--gray-700, #555d65);
  font-size: var(--font-body-2-size, 16px);
  line-height: 22px;
  font-weight: var(--font-body-2-weight, 500);
  letter-spacing: -0.01em;
}

.lp-detail-list {
  display: flex;
  flex-direction: column;
  padding: 8px 0;
  border-top: 1px solid var(--color-line, #dfdfdf);
  border-bottom: 1px solid var(--color-line, #dfdfdf);
}

.lp-detail-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
}

.lp-detail-row__label {
  color: var(--gray-800, #2e3338);
  font-size: var(--font-heading-1-size, 16px);
  line-height: 20px;
  font-weight: var(--font-heading-1-weight, 700);
  letter-spacing: -0.01em;
}

.lp-detail-row__value {
  color: var(--gray-900, #060b11);
  font-size: var(--font-heading-1-size, 16px);
  line-height: 20px;
  font-weight: var(--font-heading-1-weight, 700);
  letter-spacing: -0.01em;
}

.lp-detail-sub {
  margin: 0;
  padding: 0 0 4px;
  color: var(--gray-700, #555d65);
  font-size: var(--font-body-3-size, 15px);
  line-height: 20px;
  font-weight: var(--font-body-3-weight, 500);
  letter-spacing: -0.02em;
}

/* 안내 코멘트 (info 아이콘 + 텍스트) */
.lp-modal-note {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin: 0;
  color: var(--gray-500, #707c87);
  font-size: var(--font-body-3-size, 15px);
  line-height: 20px;
  font-weight: var(--font-body-3-weight, 500);
  letter-spacing: -0.02em;
  word-break: keep-all;
}

.lp-modal-note__icon {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
}

/* ────────────────────────────────────────────────────────────
   해약환급금 상세 (만기시점 / 기간별 예상 해약환급금·환급률 / 안내사항)
   좌측 컬럼: 기간·납입보험료 / 우측 컬럼: 환급금·환급률
   ──────────────────────────────────────────────────────────── */
.lp-detail-con {
  display: flex;
  flex-direction: column;
  padding: 20px 0;
  border-bottom: 1px solid var(--color-line, #dfdfdf);
}

/* 마지막 섹션(안내사항)은 구분선 없음 */
.lp-detail-con--guide {
  border-bottom: 0;
}

.lp-detail-con__head {
  margin: 0 0 20px;
}

.lp-detail-con__head h4 {
  margin: 0;
  color: var(--gray-900, #060b11);
  font-size: var(--font-title-3-size, 20px);
  line-height: 28px;
  font-weight: var(--font-title-3-weight, 700);
  letter-spacing: -0.02em;
}

/* 한 기간(행): 좌측 컬럼 ↔ 우측 컬럼 (space-between) */
.lp-detail-con-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.lp-detail-con-row + .lp-detail-con-row {
  margin-top: 16px;
}

.lp-detail-con__meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

/* 우측 컬럼(환급금/환급률)은 우측 정렬 */
.lp-detail-con__meta:last-child {
  align-items: flex-end;
  text-align: right;
}

/* 윗줄: 기간 / 환급금 (Body 1, 18px) */
.lp-detail-con__label {
  color: var(--gray-900, #060b11);
  font-size: var(--font-body-1-size, 18px);
  line-height: 24px;
  font-weight: var(--font-body-1-weight, 500);
  letter-spacing: -0.01em;
}

/* 우측 윗줄(환급금)은 강조 (Button, 700) */
.lp-detail-con__meta:last-child .lp-detail-con__label {
  font-weight: var(--font-button-weight, 700);
}

/* 아랫줄: 납입보험료 / 환급률 (Body 2, 16px, gray-700) */
.lp-detail-con__value {
  color: var(--gray-700, #555d65);
  font-size: var(--font-body-2-size, 16px);
  line-height: 22px;
  font-weight: var(--font-body-2-weight, 500);
  letter-spacing: -0.01em;
}

/* 안내사항 리스트 (dash 타입) */
.li-detail-guide {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.li-detail-guide li {
  position: relative;
  padding-left: 12px;
  color: var(--gray-700, #555d65);
  font-size: var(--font-body-2-size, 16px);
  line-height: 22px;
  font-weight: var(--font-body-2-weight, 500);
  letter-spacing: -0.01em;
  word-break: keep-all;
}

.li-detail-guide li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  background: var(--gray-500, #707c87);
  width: 4px;
  height: 4px;
  border-radius: 100px;
}

/* ────────────────────────────────────────────────────────────
   해약환급금 선택형(2-step) 모달
   성별 카드 선택 → 해당 성별 상세 화면으로 전환합니다.
   ──────────────────────────────────────────────────────────── */
.lp-cv {
  display: flex;
  flex-direction: column;
}

.lp-cv-view {
  display: none;
  flex-direction: column;
  gap: 16px;
}

.lp-cv-view.is-active {
  display: flex;
}

/* 카드 내 성별 선택 버튼 (월납 + 해약환급금 예시 >) */
.lp-rate-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.lp-rate-link__action {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  color: var(--color-primary, #30b566);
  font-size: var(--font-heading-1-size, 16px);
  line-height: 20px;
  font-weight: var(--font-heading-1-weight, 700);
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.lp-rate-link__action svg {
  flex: 0 0 auto;
}

/* 상세 화면 뒤로가기 */
.lp-cv-back {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  align-self: flex-start;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--gray-600, #606a74);
  font-size: var(--font-body-2-size, 16px);
  line-height: 22px;
  font-weight: var(--font-body-2-weight, 500);
  letter-spacing: -0.01em;
  cursor: pointer;
}

.lp-cv-back svg {
  flex: 0 0 auto;
}

@media (max-width: 720px) {
  .pri-modal {
    overflow-y: hidden;
    padding: 20px 16px;
    box-sizing: border-box;
    align-items: center;
    justify-content: center;
  }

  .pri-modal .pri-container,
  .info-modal .info-container[data-modal-content="notice"] {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: calc(100% - 40px);
    max-width: 440px;
    min-height: auto;
    max-height: fit-content;
    margin: 0 auto;
    padding: 20px;
    border-radius: 16px;
    height: calc(100vh - 40px);
  }

  .info-modal .info-container[data-modal-content="notice"] {
    padding-left: 0;
    padding-right: 0;
  }

  .pri-modal .pri-title {
    /* font-size: 24px; */
    /* line-height: 30px; */
  }

  .pri-modal .pri-close {
    width: 36px;
    height: 36px;
  }

  .pri-modal .pri-close::before,
  .pri-modal .pri-close::after {
    height: 25px;
  }

  .pri-modal .pri-agree-card {
    min-height: 60px;
    margin-top: 24px;
    padding: 14px 18px;
    border-radius: 8px;
  }

  .pri-modal .pri-check {
    width: 22px;
    height: 22px;
    border-radius: 4px;
  }

  .pri-modal .pri-check::after {
    display: none;
  }

  .pri-modal .pri-agree-text,
  .pri-modal .pri-section h3,
  .pri-modal .pri-confirm {
    font-size: var(--font-heading-1-size);
  }

  .pri-modal .pri-agree-text {
    font-size: var(--font-heading-1-size);
    line-height: 22px;
  }

  .pri-modal .pri-content {
    gap: 20px;
    margin-top: 20px;
  }

  .pri-modal .pri-section h3 {
    margin-bottom: 02px;
    line-height: 24px;
  }

  .pri-modal .pri-section p,
  .pri-modal .pri-notice {
    font-size: 14px;
    line-height: 22px;
    overflow-wrap: anywhere;
  }

  .pri-modal .pri-confirm {
    height: 66px;
    margin-top: 30px;
    border-radius: 8px;
  }

  .pri-alert-modal .pri-alert-container {
    width: min(420px, calc(100% - 32px));
    max-width: calc(100% - 32px);
    padding: 34px 28px 28px;
  }

  .pri-alert-modal span,
  .pri-alert-modal .pri-btn-wrap button {
    font-size: 16px;
  }

  .pri-alert-modal h5 {
    font-size: 22px;
  }

  .pri-alert-modal p {
    font-size: 16px;
  }

  .pri-alert-modal .pri-btn-wrap button {
    height: 52px;
  }

  .result-modal .result-alert-container {
    width: min(360px, calc(100% - 32px));
    max-width: calc(100% - 32px);
    padding: 30px 24px 24px;
  }

  .result-modal h5 {
    font-size: 18px;
  }

  .result-modal .result-alert-confirm {
    height: 48px;
    font-size: 16px;
  }

  .info-modal .info-dim {
    display: block;
  }

  .info-modal .info-container {
    position: absolute;
    inset: 0;
    top: auto;
    left: auto;
    transform: none;
    width: 100%;
    max-width: none;
    height: 100%;
    max-height: none;
    padding: 24px 20px;
    border-radius: 0;
    overflow-y: auto;
    padding-left: 0;
    padding-right: 0;
    overflow-x: clip;
  }

  .info-modal .info-container--wide {
    width: 100%;
  }

  .info-modal .info-close {
    width: 24px;
    height: 24px;
  }
  .info-modal .info-close::before,
  .info-modal .info-close::after {
    height: 20px;
  }
  .info-modal .info-content,
  .info-modal .info-header {
    /* overflow-y: visible; */
    padding: 0 20px;
    overflow-x: clip;
    margin-top: 0;
    margin-bottom: 20px;
  }

  .info-modal .info-title {
    font-size: var(--font-title-3-size, 20px);
  }

  /* 예시 모달: 모바일에서 카드 여백 축소 */
  .lp-rate-card {
    padding: 16px;
    gap: 12px;
  }

  .lp-detail-box {
    padding: 16px;
  }

  /* ============ */

  .pri-modal h2.pri-title {
    font-weight: 700;
    font-size: 20px;
    line-height: 28px;
    letter-spacing: -2%;
  }
  .privacy_box > .checkbox > label > p {
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: -2%;
    vertical-align: middle;
  }
  .pri-modal .pri-close {
    width: 24px;
    height: 24px;
  }
  .privacy_box {
    padding: 0;
  }
  .pri-detail-wrap {
    width: 100%;
    height: 100%;
    max-width: 100%;
    padding: 40px 20px 100px;
    border-radius: 0;
    overflow-y: auto;
  }
  .pri-detail-x {
    right: 20px;
    width: 24px;
    height: 24px;
  }
  .pri-detail-wrap > h2 {
    font-weight: 700;
    font-size: 18px;
    line-height: 20px;
    letter-spacing: -1%;
  }
  .pri-detail-wrap > h3 {
    font-weight: 700;
    font-size: 16px;
    line-height: 20px;
    letter-spacing: -1%;
  }
  .pri-detail-wrap > p {
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: -2%;
  }
  .pri-detail-wrap > a {
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: -2%;
  }
  .pri-detail-radio {
    margin-bottom: 0;
  }
  div:has(> .pri-detail-ok) {
    position: fixed;
    box-shadow: 0px -4px 6px 0px #0000001a;
    background-color: #fff;
    padding: 20px 20px 30px;
    width: 100%;
    left: 0;
    bottom: 0;
  }
  .privacy_box > .more {
    font-size: 13px;
    line-height: 20px;
  }
  .pri-modal .pri-confirm span {
    font-size: 14px;
  }
}

@media (max-width: 460px) {
  .lp-rate-cards {
    flex-direction: column;
  }
}
