@charset "utf-8";
/* ==========================================================================
   CHIR www-member.css — ref/figma-html/chir-web/assets/css/style.css 분할(U-90 §3.1·§3.2)
   화면전용 login·signup·signup-complete·mypage-*.html: 블록 20d·20f-g
   원본 줄을 순서대로 옮기기만 했다(FE-2 — 값·셀렉터 불변). 반응형은 원본 @media 를 파일마다 다시 연다.
   셀렉터 목록이 여러 파일에 걸친 원본 줄(703·721)은 셀렉터만 나눴다. 보정(R2·R4)은 chir-corrections.css.
   ========================================================================== */
/* 단계 표시 */
.steps { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.steps__item { display: flex; align-items: center; gap: 8px; }
.steps__num {
  display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%;
  background: rgba(1,22,50,.08); color: var(--body-sub); font-size: 13px; font-weight: 600;
}
.steps__item.is-done .steps__num { background: var(--done); color: var(--white); }
.steps__item.is-current .steps__num { background: var(--link); color: var(--white); }
.steps__label { font-size: var(--fs-sm); font-weight: 500; color: var(--body-sub); }
.steps__item.is-current .steps__label { color: var(--ink); font-weight: 700; }
.steps__bar { width: 28px; height: 1px; background: var(--line-strong); }
/* 중앙 정렬 카드 (로그인 / 완료) */
.auth-wrap { max-width: 480px; margin-inline: auto; }
.auth-wrap--wide { max-width: 620px; }
.auth-card { padding: 36px; border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); }
.auth-foot { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 18px; font-size: var(--fs-sm); color: var(--muted); }
.result-mark { display: grid; place-items: center; width: 64px; height: 64px; margin-inline: auto; border-radius: 50%; background: var(--done-bg); color: var(--done); font-size: 28px; }
.result-status { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: var(--pill); background: var(--progress-bg); color: var(--caution); font-size: 13px; font-weight: 600; }

/* 마이페이지 */
.mypage { display: grid; grid-template-columns: 240px 1fr; gap: 28px; align-items: start; }
.mypage__aside { padding: 20px; border-radius: var(--r-sm); background: var(--white); border: 1px solid var(--line); display: grid; gap: 6px; position: sticky; top: 104px; }
.mypage__user { display: grid; gap: 3px; margin-bottom: 10px; }
.mypage__user strong { font-size: 17px; font-weight: 700; line-height: 1.6; color: var(--navy); }
.mypage__user span { font-size: var(--fs-xs); color: var(--body-sub); }
.mypage__nav { display: grid; place-items: center; height: 43px; border-radius: 10px; font-size: var(--fs-sm); font-weight: 500; color: var(--body-sub); }
.mypage__nav:hover { text-decoration: none; background: var(--slot-bg); }
.mypage__nav[aria-current="page"] { background: var(--navy); color: var(--white); }

.stat-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.stat-tile { display: grid; gap: 4px; padding: 20px; border-radius: var(--r-md); background: var(--tint); }
.stat-tile__label { font-size: var(--fs-xs); color: var(--body-sub); }
.stat-tile__value { font-size: 26px; font-weight: 700; line-height: 1.4; letter-spacing: -.01em; color: var(--link); }
.stat-tile__value small { font-size: var(--fs-sm); font-weight: 500; color: var(--body-sub); margin-left: 3px; }

.history { display: grid; gap: 10px; }
.history__item { display: grid; gap: 6px; padding: 18px 20px; border-radius: var(--r-md); background: var(--white); border: 1px solid var(--line); }
.history__top { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.history__cat { font-size: 11px; font-weight: 600; letter-spacing: .04em; color: var(--link); }
.history__title { font-size: var(--fs-body); font-weight: 600; color: var(--ink); }
.history__watch { font-size: var(--fs-sm); color: var(--body-sub); }
.history__state { font-size: 13px; font-weight: 600; white-space: nowrap; }
.history__state--done { color: var(--done); }
.history__state--need { color: var(--caution); }
.history__state--doing { color: var(--link); }
@media (max-width: 1023px) {
  .mypage { grid-template-columns: 1fr; }
  .mypage__aside { position: static; }
}
@media (max-width: 767px) {
  .stat-tiles { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .stat-tile { padding: 14px 12px; }
  .stat-tile__value { font-size: 22px; }
  .auth-card { padding: 22px; }
  .steps { gap: 6px; }
  .steps__bar { width: 14px; }
  .steps__label { font-size: 12px; }
  .history__top { flex-direction: column; align-items: flex-start; gap: 4px; }
}

/* ==========================================================================
   만족도조사(U-08 — P4-FB-05 · BL #368) — ref/chir-web_full/assets/css/style.css:1402-1438(디자인 측 10-23 전달본) 줄 이동(FE-2 — 값·셀렉터 불변).
   표 마크업 규칙(survey-tablewrap·survey-table*·survey-cards — :1404-1411·:1426·:1430-1431)은 옮기지 않는다: 마크업 1벌(ol + fieldset/legend — R5)이라 대상 요소가 없고
   PC 표 모양은 chir-corrections.css U-08 절이 같은 값으로 재현한다.
   ========================================================================== */
.survey-guide { align-items: baseline; }
.likert { display: flex; align-items: center; gap: 10px; }
.likert__end { font-size: var(--fs-xs); color: var(--muted); white-space: nowrap; }
.likert__opt { position: relative; display: inline-grid; cursor: pointer; }
.likert__opt input {
  position: absolute; inset: 0; width: 100%; height: 100%;
  margin: 0; opacity: 0; cursor: pointer;
}
.likert__circle {
  display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid var(--line-strong); background: var(--white);
  font-size: var(--fs-xs); font-weight: 600; color: var(--body-sub);
}
.likert__opt input:checked + .likert__circle { background: var(--link); border-color: var(--link); color: var(--white); }
.likert__opt input:focus-visible + .likert__circle { outline: 3px solid var(--link); outline-offset: 2px; }
.survey-foot { display: grid; justify-items: center; gap: 14px; margin-top: 28px; }
.survey-foot__note { margin: 0; font-size: 13px; color: var(--body-sub); text-align: center; }
@media (max-width: 767px) {
  .survey-card { display: grid; gap: 12px; padding: 16px; background: var(--tint); border-radius: var(--r-sm); }
  .survey-card__q { display: flex; gap: 8px; margin: 0; font-size: 13px; line-height: 1.6; color: var(--ink); }
  .survey-card__num { flex: 0 0 auto; white-space: nowrap; font-weight: 700; color: var(--link); }
  .likert--card { justify-content: space-between; gap: 6px; background: var(--white); border-radius: var(--r-xs); padding: 10px 12px; min-height: 44px; }
  .likert--card .likert__end { font-size: 10px; white-space: normal; max-width: 52px; line-height: 1.3; }
  .likert--card .likert__circle { width: 30px; height: 30px; }
}

/* ==========================================================================
   U-24 약관 3종 · U-20 약관 상자(P5-V3-07 — v3 R-8). ref/chir-web_v3_full_261112/assets/css/style.css:1539-1558 그대로(FE-2 — 값·셀렉터 불변).
   U-24 는 pageCss "member" 로 이 파일을 쓴다(PolicyController). U-20 상자 안 스코프 규칙(.agree-scroll .policy-*)은 P5-V3-08.
   ========================================================================== */
/* ── 정책 전문 페이지 (S-18·19·20) — 본문 880 중앙 ── */
.policy-wrap { max-width: 880px; }
.policy-intro, .policy-p { margin: 0 0 14px; font-size: var(--fs-body); line-height: 1.75; color: var(--body-sub); }
.policy-p--lead { font-size: var(--fs-body); }
.policy-sec { margin-top: 34px; }
.policy-sec:first-of-type { margin-top: 28px; }
.policy-h2 { margin: 0 0 12px; font-size: 19px; font-weight: 700; line-height: 1.4; color: var(--navy); }
.policy-note { margin: 10px 0 0; font-size: var(--fs-sm); line-height: 1.7; color: var(--muted); }
.policy-box {
  display: grid; gap: 10px; margin: 14px 0; padding: 18px 20px;
  background: var(--slot-bg); border-radius: var(--r-sm);
}
.policy-box__head { margin: 0; font-size: var(--fs-sm); font-weight: 700; color: var(--navy); }
.policy-box__row { display: grid; grid-template-columns: 150px 1fr; gap: 12px; }
.policy-box__row dt { font-size: var(--fs-sm); font-weight: 600; color: var(--ink); }
.policy-box__row dd { margin: 0; font-size: var(--fs-sm); line-height: 1.6; color: var(--body-sub); }
@media (max-width: 767px) {
  .policy-h2 { font-size: 17px; }
  .policy-box__row { grid-template-columns: 1fr; gap: 2px; }
}

/* ==========================================================================
   U-20 가입 동의(P5-V3-08 — v3 R-3·N8~N10). ref/chir-web_v3_full_261112/assets/css/style.css:1517-1537 그대로(FE-2 — 값·셀렉터 불변).
   N8 = v3 동의 블록 전체(.consent* — U-08 P5-V3-09 가 앞 7규칙을 같은 절에 더함 · U-20 은 .consent__check·input·.consent__req 3규칙만 쓴다).
   .btn[disabled]·[aria-disabled="true"] 는 이 파일에 둔다(chir-components 면 관리자 버튼 회귀 — R-3 · pageCss "member" 화면의 제출 중 버튼도 흐려진다: U-20 미결 13 승인).
   ========================================================================== */
/* ── 동의 블록 (만족도조사 S-11) ── U-08(P5-V3-09) — v3 style.css:1503-1515 그대로(FE-2). U-08 pageCss 도 "member"(LectureSurveyController) */
.consent { margin-top: 24px; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.consent__head {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 16px 20px; background: var(--slot-bg);
}
.consent__title { margin: 0; font-size: var(--fs-body); font-weight: 600; color: var(--navy); }
.consent__toggle {
  flex: 0 0 auto; border: 0; background: none; padding: 4px 2px;
  font-size: 13px; font-weight: 500; color: var(--link); cursor: pointer;
}
.consent__body { padding: 18px 20px; border-top: 1px solid var(--line); }
.consent__body p { margin: 0; font-size: var(--fs-sm); line-height: 1.7; color: var(--body-sub); }
.consent__body[hidden] { display: none; }
.consent__check {
  display: flex; align-items: flex-start; gap: 10px; padding: 14px 20px;
  border-top: 1px solid var(--line); font-size: var(--fs-sm); font-weight: 600;
  color: var(--ink); cursor: pointer;
}
.consent__check input { width: 18px; height: 18px; margin-top: 1px; accent-color: var(--link); }
.consent__req { font-style: normal; color: var(--link); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .45; pointer-events: none; cursor: default; }

/* ── 회원가입 약관 동의 스텝 (S-14-0) ── */
.agree-form { display: grid; gap: 26px; }
.agree-block { display: grid; gap: 12px; }
.agree-block__title { margin: 0; font-size: 18px; font-weight: 700; color: var(--navy); }
.agree-scroll {
  max-height: 220px; overflow-y: auto; padding: 16px 18px;
  background: var(--slot-bg); border: 1px solid var(--line); border-radius: var(--r-xs);
}
.agree-scroll p { margin: 0 0 12px; font-size: 13px; line-height: 1.7; color: var(--body-sub); }
.agree-scroll__h { margin: 14px 0 6px; font-size: 13px; font-weight: 700; color: var(--ink); }
.agree-scroll__h:first-child { margin-top: 0; }
.agree-form .consent__check { border: 1px solid var(--line); border-radius: var(--r-xs); }

/* U-20 상자 안 이용약관 조각 스코프(U-20 미결 10 — P5-V3-07 인계). 조각은 U-24 와 같은 1벌(section.policy-sec > h3.policy-h2 + p.policy-p)이라
   위 U-24 절 .policy-* 가 상자에도 걸린다 → v3 상자 모양(.agree-scroll__h 값 — style.css:1535-1536)으로 되돌린다. 문단은 .agree-scroll p 가 특이성으로 이미 이긴다.
   line-height 는 v3 상자 소제목처럼 본문 상속(.policy-h2 1.4 해제) · 0,2,0 이라 ≤767 .policy-h2 17px 도 이긴다. */
.agree-scroll .policy-sec, .agree-scroll .policy-sec:first-of-type { margin-top: 0; }
.agree-scroll .policy-h2 { margin: 14px 0 6px; font-size: 13px; font-weight: 700; line-height: inherit; color: var(--ink); }
.agree-scroll .policy-sec:first-of-type .policy-h2 { margin-top: 0; }
