/* 리포트 메뉴 전용 스타일. landing.css의 토큰과 버튼을 그대로 쓴다. */

.rp-head { padding: 34px 0 26px; text-align: center; }
.rp-head h1 {
  font-size: 27px; line-height: 1.4; font-weight: 700; margin: 0 0 12px;
  color: var(--text); word-break: keep-all;
}
.rp-head p { font-size: 14.5px; line-height: 1.95; color: var(--muted); margin: 0; word-break: keep-all; }

/* ── 프리미엄 ── */
.rp-premium {
  position: relative; margin: 0 0 30px; padding: 26px 20px 22px;
  border: 1px solid rgba(201,168,76,.55); border-radius: 16px;
  background: linear-gradient(150deg, rgba(201,168,76,.12), rgba(201,168,76,.02));
}
.rp-premium .badge {
  position: absolute; top: -10px; left: 50%; transform: translateX(-50%);
  font-size: 10px; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap;
  background: var(--gold); color: #07091a; font-weight: 700; padding: 4px 12px; border-radius: 999px;
}
.rp-premium h2 { font-size: 19px; font-weight: 700; margin: 4px 0 10px; color: var(--text); text-align: center; }
.rp-price { text-align: center; margin: 0 0 6px; }
.rp-price .was { font-size: 15px; color: var(--muted); text-decoration: line-through; margin-right: 8px; }
.rp-price .now { font-size: 34px; font-weight: 700; color: var(--gold); }
.rp-save { text-align: center; font-size: 12px; color: var(--gold-light); margin: 0 0 16px; letter-spacing: .04em; }
.rp-premium ul { margin: 0 0 18px; padding-left: 18px; }
.rp-premium li { font-size: 13.5px; line-height: 1.95; color: var(--muted); }
.rp-premium li strong { color: var(--text); }

/* ── 개별 항목 ── */
.rp-sec-label {
  display: flex; align-items: baseline; justify-content: space-between; gap: 10px;
  font-size: 12px; letter-spacing: .14em; color: var(--gold); text-transform: uppercase;
  padding-bottom: 9px; border-bottom: 1px solid var(--border); margin: 0 0 16px;
}
.rp-sec-label em { font-style: normal; font-size: 12px; color: var(--muted); letter-spacing: 0; }

.rp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0 0 26px; }
.rp-item {
  display: flex; flex-direction: column; text-align: left;
  background: var(--bg2); border: 1px solid var(--border); border-radius: 12px;
  padding: 15px 14px 13px; font-family: inherit; cursor: pointer; min-height: 132px;
  min-width: 0; overflow-wrap: break-word;
}
.rp-item:active { border-color: rgba(201,168,76,.5); }
.rp-item .n { font-size: 10px; color: rgba(201,168,76,.65); letter-spacing: .1em; margin-bottom: 7px; }
.rp-item h3 { font-size: 14.5px; font-weight: 700; line-height: 1.45; color: var(--text); margin: 0 0 6px; word-break: keep-all; }
.rp-item p { font-size: 12px; line-height: 1.75; color: var(--muted); margin: 0 0 11px; word-break: keep-all; overflow-wrap: break-word; }
.rp-item .buy {
  margin-top: auto; display: flex; align-items: center; justify-content: space-between;
  font-size: 13px; font-weight: 700; color: var(--gold);
}
.rp-item .buy .arrow { font-size: 15px; opacity: .75; }

.rp-note {
  font-size: 12.5px; line-height: 1.9; color: rgba(232,224,204,.45);
  padding: 20px 0 36px; word-break: keep-all;
}

/* 아주 좁은 화면에서는 두 칸이 답답하다 */
@media (max-width: 340px) { .rp-grid { grid-template-columns: 1fr; } }

/* ── 생년월일시 입력 ── */
.rp-birth {
  background: var(--bg2); border: 1px solid var(--border); border-radius: 14px;
  padding: 16px 16px 14px; margin: 0 0 22px;
}
.rp-birth h2 {
  font-size: 12px; letter-spacing: .14em; color: var(--gold);
  margin: 0 0 12px; font-weight: 400;
}
.rp-birth .grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.rp-birth .grid > label { display: flex; flex-direction: column; gap: 4px; }
.rp-birth .grid span { font-size: 10px; color: var(--muted); letter-spacing: .04em; }
.rp-birth input {
  width: 100%; min-width: 0; box-sizing: border-box;
  background: var(--bg); border: 1px solid var(--border); border-radius: 8px;
  color: var(--text); font-family: inherit; font-size: 15px; text-align: center;
  padding: 9px 2px; -moz-appearance: textfield;
}
.rp-birth input::-webkit-outer-spin-button,
.rp-birth input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.rp-birth input:focus { outline: none; border-color: rgba(201, 168, 76, .55); }

.rp-opts { display: flex; align-items: center; gap: 8px; margin-top: 11px; flex-wrap: wrap; }
.rp-seg { display: flex; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; }
.rp-seg button {
  background: transparent; border: 0; color: var(--muted); font-family: inherit;
  font-size: 13px; padding: 9px 16px; min-height: 40px; cursor: pointer;
}
.rp-seg button[aria-pressed="true"] { background: rgba(201, 168, 76, .16); color: var(--gold); font-weight: 700; }
.rp-chk { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--muted); cursor: pointer; }
.rp-chk input { width: 16px; height: 16px; accent-color: var(--gold); }

/* 저장된 값이 있을 때의 접힌 줄 */
.rp-birth.done .grid, .rp-birth.done .rp-opts { display: none; }
.rp-birth .saved { display: none; align-items: center; justify-content: space-between; gap: 10px; }
.rp-birth.done .saved { display: flex; }
.rp-birth .saved b { color: var(--text); font-size: 14.5px; font-weight: 400; }
.rp-birth .saved button {
  background: none; border: 0; color: var(--gold); font-family: inherit;
  font-size: 13px; text-decoration: underline; cursor: pointer; padding: 6px 2px;
}
.rp-err { color: #e08585; font-size: 12.5px; margin: 10px 0 0; display: none; }
