@charset "utf-8";
/**
 * chp-project.css — chp 레이어의 프로젝트 전용 보강분
 *
 * 퍼블 산출물(chp-tokens/base/components/layout/mobile)은 그대로 두고, 여기에만 추가한다.
 * 산출물이 새로 전달되어 덮어써도 이 파일은 살아남는다.
 *
 * 담는 것: 시안에 슬롯이 없지만 현재 사이트가 실제로 쓰고 있는 기능들.
 *   1. 권한변경 select — 시안은 읽기전용 뱃지(B2B회원)로 그렸으나, 실제로는 일반회원/B2B회원을
 *      전환하는 select 다. 기능을 지울 수 없어 뱃지 자리에 select 를 넣고 모양만 맞춘다.
 *   2. 상단 배너(topBanner) — DB 로 내려오는 띠배너. GNB 위에 온다.
 *   3. 모바일 이벤트 버튼(navBtn) — 모바일 헤더 햄버거 왼쪽.
 *   4. 푸터 소셜 아이콘 · CCM 인증 이미지 — 시안 푸터에 없다. 기존 스프라이트를 그대로 쓴다.
 */

/* ── 0. 기존 layout.css 의 요소 선택자 무력화 ─────────────────────────────
   layout.css 는 header{} / footer{} 로 '요소'를 직접 잡는다.
     header  {height:var(--init-hh); background:white; border-bottom:...}
     header:before {position:absolute; bottom:0; width:100vw; height:78px; background:white}
     footer  {height:413px; padding:70px 60px}
   chp 마크업이 그 요소 위에 올라가면 이 규칙들이 그대로 적용된다.
   (산출물 README 6절의 "충돌 없음"은 chp 클래스가 요소 선택자를 쓰지 않는다는 뜻이고,
    기존 CSS 가 요소를 잡는 경우까지 막아주지는 않는다.)

   실측(2026-08-14): .chp-gnb 를 <header> 로 두었더니 높이가 130px 로 고정되고
   ::before 흰 블록 78px 이 메뉴 행 전체를 덮었다. GNB 는 <div> 로 바꿔 회피했고,
   요소 태그를 유지해야 하는 아래 둘만 여기서 되돌린다.                          */
.chp-appheader::before{content:none}
footer.chp-footer{height:auto;padding:48px 0 64px}
[data-mode="mobile"] footer.chp-footer{padding:32px 16px 48px}

/* z-index 스케일 정합.
   chp 레이어는 60(GNB) / 100(전체메뉴) 을 쓰는데, 기존 사이트는 common.css :root 에
   --zih:1050(헤더) · --zipn:1000(패널) · --zipop:1100(팝업) 스케일을 쓴다.
   실측: 메인의 퀵메뉴(.quick-wrap, z-index:1000)가 전체메뉴를 덮었다.
   GNB 를 --zih 로 올리면 그 안에 있는 전체메뉴도 함께 올라간다(스태킹 컨텍스트).
   팝업(1100)보다는 낮게 두어 기존 팝업이 계속 위에 오도록 한다. */
.chp-gnb{z-index:var(--zih)}
.chp-appheader{z-index:var(--zih)}
/* Mobile·Tablet 전체메뉴는 앱헤더를 **덮는** 패널이다(3-1 · 3-1-1절). 앱헤더가 --zih(1050)
   인데 패널이 chp 스케일의 100 이면 앱헤더가 위에 남아, 패널의 네이비 밴드가 그 뒤에 가려진다
   — 실측(2026-09-02): 네이비 밴드가 둘로 겹치고 화면에는 앱헤더의 가운데 로고만 보였다.
   같은 --zih 로 올리면 DOM 순서상 뒤에 오는 패널이 이긴다. */
[data-mode="mobile"] .chp-megamenu,
[data-mode="tablet"] .chp-megamenu{z-index:var(--zih)}

/* 모달·진행 오버레이도 같은 이유로 팝업 스케일로 올린다.
   시안(DS)은 모달 300 · 토스트 400 을 쓰는데 그 값은 DS 안에서만 성립한다 —
   이 사이트는 헤더가 1050, 패널이 1000, 데이트피커가 700 이라 300 이면
   **헤더가 모달을 덮는다.** 세션 안내 토스트가 이미 같은 이유로 올려져 있다
   (chp-components.css 14절의 .chp-toast-layer--notice = 1100).
   레거시 팝업(--zipop:1100)과 같은 층에 두면 나중에 append 되는 쪽이 이기므로,
   레이어 팝업 위에서 띄우는 알림이 팝업 위에 온다.
   토스트는 모달보다 위여야 하므로(모달 안 토스트는 절대배치라 무관하지만
   화면 토스트가 모달에 가리면 안 된다) 한 단 위로 둔다. */
.chp-modal{z-index:var(--zipop)}
.chp-overlay{z-index:var(--zipop)}
.chp-toast-layer{z-index:calc(var(--zipop) + 100)}
.chp-toast-layer--notice{z-index:calc(var(--zipop) + 100)}

/* 화면 토스트를 위로 올린다 — 뷰포트 바닥에서 40px(모바일 24) 고정이라 창이 세로로 길수록
   방금 누른 버튼에서 멀어지고, 오른쪽 아래 채팅 상담 버튼과 같은 높이대에 겹친다.
   DS 문서가 확정으로 적어 둔 것은 **"하단 가운데"** 라는 배치이고
   (design-system/components/feedback/Toast.prompt.md 1행 — 다만 .fig 에는 없다),
   40/24 라는 px 은 DS 구현값(_shared/overlays.jsx:250)이지 정해진 수치가 아니다.
   그래서 배치는 그대로 두고 높이만 창 비율로 바꾼다 — 어떤 창에서도 같은 자리에 온다.
   38vh = 화면 아래에서 38% → 토스트가 세로 62% 지점, '가운데보다 조금 아래'다.
   짧은 창에서는 토큰값(40/24px)이 바닥이 되어 화면 밖으로 밀리지 않는다.
   ⚠ --notice(세션 안내)는 **반드시 제외**한다. 그쪽은 chp-components.css 가 `top:…; bottom:auto`
     로 잡는데 특이도가 같고(둘 다 클래스 하나) 이 파일이 나중에 로드돼 bottom 이 덮인다.
     그러면 top·bottom 이 동시에 걸려 레이어가 세로로 늘어나고, display:flex 의 기본
     align-items:stretch 때문에 **검은 알약이 그 높이만큼 커진다**(2026-10-01 실측).
   ⚠ 모달 안 토스트도 제외한다. :not() 이 특이도를 (0,1,0)→(0,2,0) 으로 올려
       `.chp-modal .chp-toast-layer{bottom:auto}`(같은 0,2,0, 먼저 로드)를 이겨 버린다.
       `body >` 로 **화면 레이어만** 집는다 — chp-ui.js 가 그쪽은 body 바로 아래,
       모달 쪽은 .chp-modal__box 안에 붙인다. 선택자가 아예 안 맞으므로 충돌이 없다. */
body > .chp-toast-layer:not(.chp-toast-layer--notice){bottom:max(calc(var(--chp-toast-bottom) * 1px), 38vh)}

/* ── 0-1. 사용자명 노란색 ───────────────────────────────────────────────
   기존 사이트: <p class="-fylw"> → style.css:141 [class*="-fylw"]{color:var(--lvylw)} = #f5be54
   React 시안 : prototypes/gnb-menu/index.html:740 color:var(--color-yellow) = #F5BE54  (같은 색)
   퍼블 산출물: chp-layout.css:150 .chp-gnb__user{color:var(--color-white)}  ← 여기서 흰색이 됐다
   기존과 시안이 일치하므로 노란색으로 되돌린다. 굵기도 시안값(700)을 따른다. */
.chp-gnb__user{
  color:var(--color-yellow);
  font-weight:var(--fw-bold);
}
/* 모바일 전체메뉴의 인사말(.chp-megamenu__user)도 같은 노란색이다 —
   기존 <p class="mobile -fylw h-greating"> 와 같은 기준. 값은 3-1 절에서 함께 정의한다. */

/* ── 1. 권한변경 select (기존 .curAuth) ─────────────────────────────────── */
/* 값은 React 시안(prototypes/gnb-menu/index.html:744-751)에서 그대로 가져왔다.
   시안은 흰색 pill + 검정 텍스트 + 회색 chevron 으로 드롭다운임을 드러낸다.
   퍼블 산출물(publish/pc/gnb-menu.html:49)이 이걸 <span> 으로 납작하게 만들면서
   chevron 이 빠졌는데, 실제 기능은 일반회원/B2B회원 전환 select 다.
   전환 진입점은 이 컨트롤 하나뿐이라(header.tag 의 changeAuthUser) 반드시 조작 가능해야 한다. */
.chp-gnb__member--select{
  height:32px;
  padding:0;
  background:var(--color-white);
  border-radius:calc(var(--radius-field) * 1px);
}
.chp-gnb__member--select select{
  height:32px;
  padding:0 30px 0 10px;
  border:0;
  border-radius:inherit;
  background:transparent
    url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' fill='none'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23666666' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    no-repeat right 10px center;
  color:var(--color-black);
  font:var(--fw-medium) 13px/32px var(--font-core);
  letter-spacing:var(--tracking-core);
  -webkit-appearance:none;
  appearance:none;
  cursor:pointer;
}

/* ── 1-1. GNB hover 띠 (2depth) ─────────────────────────────────────────
   시안(prototypes/gnb-menu/index.html:236~296)은 1depth 에 hover 하면 헤더 구분선 아래로
   메뉴 행과 같은 높이의 흰 띠가 내려오고, 그 그룹의 2depth 가 가로로 놓인다.
   퍼블 산출물에는 이 층이 통째로 빠져 있다(.chp-gnb__link:hover 색상 규칙만 있다).
   기존 사이트에도 같은 동작이 있었다(layout.css 의 .h-menu-od > *.over .h-menu-td). */
.chp-gnb__drop{
  position:absolute;
  left:0;right:0;
  top:calc(100% + 1px);
  z-index:2;
  background:var(--color-white);
  border-bottom:1px solid var(--ui-line-ccc);
  /* DS 토큰 --shadow-gnb-drop(colors.css:115)과 **같은 값**이다. 레포 chp-tokens.css 에는
     그 토큰이 없어(산출물 복사본이라 손대지 않는다) 리터럴로 둔다.
     ⚠ 모달 그림자와 하는 일이 다르다 — 딤 없이 헤더에 붙어 내려오는 층이다(DS 주석). */
  box-shadow:0 12px 24px -18px rgba(0,0,0,.28);
}
.chp-gnb__drop[hidden]{display:none}
.chp-gnb__drop-row{
  min-height:80px;
  display:flex;
  align-items:center;
  box-sizing:border-box;
}
.chp-gnb__drop-list{
  display:inline-flex;align-items:center;
  gap:44px;
  white-space:nowrap;
  margin:0;padding:0;list-style:none;
}
.chp-gnb__drop-list a{
  display:inline-flex;align-items:center;gap:6px;
  font:var(--fw-regular) 18px/1.4 var(--font-core);
  letter-spacing:var(--tracking-core);
  color:var(--ui-gray-444);
}
/* ⚠ hover 색을 --ui-navy 에서 **--ui-blue** 로 되돌린다(2026-09-04, DS 소스 대조).
   DS `chrome/PCGNB.jsx` 가 그 이유를 적어 두었다 —
     "hover 는 **색만** 바뀐다 … hover = --ui-blue(400), 현재 위치 = 같은 blue 의 700 이다.
      색이 '누르면 갈 곳'을 말하고 무게가 '지금 여기'를 말한다 (오너 확정 2026.08.29,
      **같은 날 navy 안을 대체**). navy(#40476B)는 기본 #444444 와 한 단 차이라 짚었다는
      것이 읽히지 않았다."
   즉 레포에 남아 있던 navy 는 **폐기된 안**이다. 1depth 라벨의 "파랑은 현재 위치 전용" 규칙은
   그대로 유효하지만, 2depth 목록은 밑줄을 걸 자리가 없어 규칙이 다르다 — 두 파랑을 무게로 가른다. */
.chp-gnb__drop-list a:hover{color:var(--ui-blue);text-decoration:none}
/* 현재 위치 — 같은 blue 의 700 (DS PCGNB: `${o.active ? 700 : 400} 18px/1.4`). */
.chp-gnb__drop-list a.is-current{color:var(--ui-blue);font-weight:var(--fw-bold)}

/* 밑줄 두 겹.
   현재 위치는 파랑을 유지하고, 다른 항목을 hover 하면 그 항목에 검정 밑줄이 그어지며
   파랑은 사라진다. 현재 항목 자신을 hover 할 때는 파랑을 그대로 둔다(오너 지시 2026.08.12).
   2depth 가 없는 그룹도 hover 하면 밑줄은 그어진다 — 밑줄은 커서 자리 표시다. */
/* 밑줄은 헤더 하단 구분선에 맞물려야 한다 — 시안은 라벨 앵커(top 75, height 30) 안에서
   top:53 이라 절대 y 128~130 이고, 구분선이 y=130 이다("2px 포커스바를 그 선에 겹쳐 그린다").
   기준을 <a> 로 잡으면 인라인 박스 높이가 line-height(30) 가 아니라 폰트 메트릭(약 25)이라
   밑줄이 4~5px 떠 버린다. 그래서 기준을 <li> 로 옮기고 시안과 같은 높이 30px 을 준다.
   메뉴 행 80 안에서 세로 중앙 → li 는 25~55, 밑줄 bottom:-25px → 78~80 = 구분선 바로 위. */
.chp-gnb__nav > li{position:relative;display:flex;align-items:center;height:30px}
.chp-gnb__link::after{
  content:"";
  position:absolute;left:0;right:0;bottom:-25px;height:2px;
  transform:scaleX(0);
  transform-origin:center;
  transition:transform .16s linear;
}
/* 시안은 1depth 라벨 '색'을 hover 로 바꾸지 않는다. 파랑은 현재 위치 전용이고,
   hover 는 굵기와 검정 밑줄로만 나타낸다("검정 밑줄은 '여기가 아닌 곳'을 가리킬 때만 쓴다").
   산출물의 .chp-gnb__link:hover{color:var(--ui-blue)} 는 그 규칙과 어긋나 되돌린다. */
.chp-gnb__link:hover{color:var(--color-black)}
/* 현재 위치는 색과 **굵기** 둘 다 바뀐다 — 시안 실측(?bp=pc): 일반 500 20px #222 /
   현재 700 20px --ui-blue. 색만 넣고 굵기를 빠뜨려 굵어지지 않았다(사용자 지적 2026-09-10). */
.chp-gnb__link.is-current,
.chp-gnb__link.is-current:hover{color:var(--ui-blue);font-weight:var(--fw-bold)}

.chp-gnb__link.is-current::after{background:var(--ui-blue);transform:scaleX(1)}
.chp-gnb__nav.is-hovering .chp-gnb__link.is-current:not(.is-hover)::after{transform:scaleX(0)}
.chp-gnb__link.is-hover:not(.is-current)::after{background:var(--color-black);transform:scaleX(1)}
.chp-gnb__nav.is-hovering .chp-gnb__link.is-hover{font-weight:var(--fw-bold)}

/* ── 1-2. PC 전체메뉴(햄버거) ────────────────────────────────────────────
   시안(prototypes/gnb-menu/index.html:308~352)의 PC 전체메뉴는 이렇다.
     · 유틸 띠(50) 아래부터 열려 **헤더 행(로고·1depth·햄버거)을 덮는다**
     · 1depth 를 왼쪽 220 열에 두고 2depth 를 오른쪽에 가로로 흘리는 **행**이 쌓인다
     · 패널 아래는 검정 80% 딤이 덮고, 딤을 누르면 닫힌다
     · 가려진 햄버거 자리에 × 가 온다
   퍼블 산출물은 이 층을 GNB **아래로** 내리고 1depth 를 가로 6열로 세웠으며 딤과 × 가 없다
   (publish/pc/gnb-menu.html:89~145 · publish/css/chp-layout.css:225~232).
   시안과 다르므로 되돌린다. 값은 시안 좌표 그대로이고, 1920 고정좌표를 1400 트랙
   흐름배치로 옮기기만 했다. Mobile 아코디언은 손대지 않으므로 전부 [data-mode="pc"] 안에 둔다. */

/* 패널을 유틸 띠 바로 아래로 올린다. 50 은 .chp-gnb__util 높이(chp-layout.css:135).
   위쪽 테두리는 네이비 띠와 맞닿아 필요 없고, 아래쪽에만 선이 온다.
   산출물의 그림자는 딤이 대신하므로 지운다. */
[data-mode="pc"] .chp-megamenu{
  top:50px;
  border-top:0;
  border-bottom:1px solid var(--ui-line-ccc);
  box-shadow:none;
}
/* 스크롤은 패널이 아니라 __inner 가 맡는다 — 딤(자식)이 스크롤 영역에 들어가면
   100vh 만큼 스크롤 길이가 생겨 버린다. */
[data-mode="pc"] .chp-megamenu__inner{
  display:block;
  padding:80px 0 56px;
  max-height:calc(100vh - 50px);
  overflow-y:auto;
}

/* 행 — 왼쪽 220 이 1depth, 오른쪽이 2depth. 첫 행 위에는 선을 두지 않는다. */
[data-mode="pc"] .chp-megamenu__row{
  display:grid;
  grid-template-columns:220px 1fr;
  align-items:center;
  min-height:80px;
  padding:18px 0;
}
[data-mode="pc"] .chp-megamenu__row + .chp-megamenu__row{border-top:1px solid var(--ui-line-e2e2e2)}

/* 1depth 라벨. 산출물은 열 제목이라 아래에 짧은 구분선을 뒀지만, 행 구조에서는
   선이 행 사이 전폭으로 가므로 지운다. 현재 그룹만 네이비(fnGnbActive 가 심는다). */
[data-mode="pc"] .chp-megamenu__head{
  padding:0;
  border-bottom:0;
  font:var(--fw-bold) 20px/1.4 var(--font-core);
  letter-spacing:var(--tracking-core);
}
/* ⚠ 2026-09-10 에 이 값을 --ui-blue 로 바꿨다가 **되돌렸다**(2026-09-11).
   그때 근거로 삼은 "PC 만 파랑" 은 GNB **바**의 1depth 라벨 값이었고, 여기(전체메뉴 패널의
   그룹 라벨)는 세 디바이스 모두 navy 다.
   기준: exports/gnb-snb-handoff/GNB-menu-spec.html (2026.09.11) 2절 '색 어휘'.
   세 브레이크포인트가 같다 — blue 는 **2depth 현재 위치**(와 PC 2depth hover) 전용이고,
   navy 는 **1depth 쪽**(현재 위치가 속한 그룹 · 펼쳐진 그룹 · 포커스선)이다. */
[data-mode="pc"] .chp-megamenu__head.is-current{color:var(--ui-navy)}

/* 2depth — 세로 쌓기에서 가로 흘리기로. hover 는 GNB hover 띠와 같은 네이비다
   (파랑은 현재 위치 전용이라는 규칙, 1-1절과 같다). */
[data-mode="pc"] .chp-megamenu__list{
  margin:0;
  flex-direction:row;
  flex-wrap:wrap;
  column-gap:44px;
  row-gap:22px;
}
/* 시안 2depth 행은 white-space:nowrap 이다. 없으면 긴 항목(TalkTalk실전회화)이 두 줄로
   접혀 행 높이가 어긋난다(실측 PC 폭 138.8 · 태블릿에서는 실제로 접혔다). */
[data-mode="pc"] .chp-megamenu__list a{gap:6px;white-space:nowrap}
/* ⚠ 전체메뉴 패널의 2depth 도 같은 규칙이다 — hover 는 --ui-blue 다(위 1-1절 주석 참고).
   여기 있던 navy 는 "GNB hover 띠와 같은 네이비" 라는 근거로 넣은 것인데, 그 띠 자체가
   폐기된 안이었다. chp-layout.css:307 의 기본값(--ui-blue)이 이미 맞으므로 재정의를 걷는다. */
/* N 뱃지는 PC 에서 **띠와 패널이 같은 값**이다 — GNB-menu-spec 3절 "신규 뱃지 · --color-red
   원 18px · 700 11/18"(시안은 두 곳이 같은 Item 컴포넌트다). 간격은 각 목록의 gap 이 맡으므로
   기본값 margin-left:8 은 뺀다. 전에는 띠만 기본값 22/12 로 남아 패널보다 컸다. */
[data-mode="pc"] .chp-megamenu__list .chp-newdot,
[data-mode="pc"] .chp-gnb__drop-list .chp-newdot{
  width:18px;height:18px;
  margin-left:0;
  font:var(--fw-bold) 11px/18px var(--font-core);
}

/* × — 가려진 햄버거와 같은 자리·같은 중심. 햄버거는 1400 트랙 오른끝에 붙은 26px 이므로
   같은 폭으로 트랙 오른끝에 맞춘다(left:50% + 700 - 26). 세로는 시안 top:18 그대로 —
   패널이 y=50 에서 시작하고 메뉴 행 중심이 y=90 이라 18+44/2 로 정확히 겹친다. */
[data-mode="pc"] .chp-megamenu__close{
  right:auto;
  left:50%;
  margin-left:calc(var(--content-max-pc) / 2 - 26px);
  top:18px;
  width:26px;height:44px;
  color:var(--color-black);
  font:300 28px/1 var(--font-core);
}

/* 딤 — 패널 아래를 덮는다. 시안은 --color-black(#222) 80%. */
.chp-megamenu__scrim{display:none}
[data-mode="pc"] .chp-megamenu__scrim{
  display:block;
  position:absolute;
  left:0;right:0;
  top:100%;
  height:100vh;
  background:rgba(34,34,34,.8);
  cursor:pointer;
}

/* ── 1-3. 회원정보(SCR-06) — 시안의 카드 구조 ─────────────────────────────
   시안(prototypes/member-info/index.html, MISections.jsx 의 Section/Field/Note/Rows)은
   섹션을 **카드**로 그린다: 1px --ui-line-ddd 테두리 + radius 16 + 흰 배경, 제목 줄이
   카드 안 상단에 들어가고 그 아래 1px 구분선, 본문은 28/32 여백.
   산출물은 같은 화면을 카드 없이 "제목 + 검정 2px 밑줄" 목록으로 옮겼고(chp-screens.css 의
   .chp-sec__head), 그래서 화면 전체가 시안과 다르게 읽힌다. 시안 구조로 되돌린다.

   PC 값은 시안 S.pc 그대로 — secTitle 18 · body 16 · sub 14 · labelW 150 · rowGap 18 ·
   colGap 24 · bodyPad 28/32 · headPad 20/32 · headH 84 · radius 16 · 섹션 간격 48.

   ⚠ Mobile 값은 시안 S.mo(body 12 등)를 그대로 쓰지 않는다. 시안 셸은 375 프레임에
      zoom(--k, 최대 1.28)을 걸어 12px 이 실제로는 약 15px 로 찍히는데, 우리 모바일은
      확대하지 않으므로 12px 을 그대로 쓰면 읽을 수 없다. 기존 chp 모바일 눈금(14px)에
      맞추고, 시안에서는 '라벨을 위로 접는다(stack)'는 구조만 가져온다. */

.chp-sec{
  border:1px solid var(--ui-line-ddd);
  border-radius:16px;
  background:var(--color-white);
  overflow:hidden;
}
/* 제목 줄 — 산출물의 검정 2px 밑줄을 지우고 카드 안 헤더로 바꾼다.
   높이는 **버튼이 있든 없든 84 로 고정한다.** 비워 두면 [수정]이 있는 기본 정보와
   버튼이 없는 결제 정보의 제목 줄이 어긋나, 카드가 줄줄이 놓였을 때 리듬이 흔들린다
   (시안 주석에 오너 지적 2026.08.06 으로 남아 있다). */
.chp-sec > .chp-sec__head{
  padding:20px 32px;
  min-height:84px;
  box-sizing:border-box;
  align-items:center;
  gap:16px;
  border-bottom:0;
  box-shadow:inset 0 -1px 0 var(--ui-line-ddd);
}
/* 보조 문구와 버튼은 오른쪽에서 한 덩어리다 — auto 여백은 앞의 것 하나만 갖는다.
   둘 다 auto 면 남는 폭이 둘 사이로 갈라져 버튼이 혼자 더 밀린다. */
.chp-sec > .chp-sec__head > .chp-sec__note + .chp-sec__act{margin-left:0}
.chp-sec__body{padding:28px 32px}
/* 행이 카드 폭을 다 쓰는 본문(자녀·약관) — 여백은 행이 각자 갖는다 */
.chp-sec__body--flush{padding:0}

/* 라벨:값 행 — 시안 Field. 구분선이 없고 행 간격(18)으로만 나뉜다.
   기존 .chp-formrow 는 행마다 1px 선을 긋고 라벨이 medium 18 검정인데, 시안은
   선 없이 regular 16 회색이다. 입력 폼(B2B 사번·증빙자료)은 성격이 달라
   .chp-formrow 를 그대로 쓰고, 읽기 전용인 이 행만 새로 둔다(시안도 Field / FormRow 로 나뉜다). */
.chp-drows{display:flex;flex-direction:column;gap:18px}
.chp-drow{
  display:grid;
  grid-template-columns:150px minmax(0,1fr);
  column-gap:24px;
  align-items:baseline;
}
.chp-drow--top{align-items:start}
.chp-drow--center{align-items:center}
.chp-drow__label{
  font:var(--fw-regular) 16px/1.5 var(--font-core);
  letter-spacing:var(--tracking-core);
  color:var(--ui-gray-666);
}
.chp-drow__val{
  min-width:0;
  font:var(--fw-regular) 16px/1.5 var(--font-core);
  letter-spacing:var(--tracking-core);
  color:var(--color-black);
}
.chp-drow__val--strong{font-weight:var(--fw-bold)}
/* 값이 없을 때 — 시안은 --text-dim 으로 한 단계 더 죽인다(회색 라벨과 구분되게) */
.chp-drow__val--dim{color:var(--text-dim)}
/* 값 아래 버튼 묶음 (자동결제 카드 · 환불 계좌) */
.chp-drow__stack{display:flex;flex-direction:column;gap:12px;align-items:flex-start}
.chp-drow__btns{display:flex;gap:12px;flex-wrap:wrap}

/* 정책 안내 — 시안 Note. 회색 면이다.
   같은 화면의 '결제 진행 중' 배너가 파란 면(--surface-badge)을 쓰므로 파랑을 두 번 쓰지
   않는다 — 파랑은 지금 해야 할 일, 회색은 알아 둘 규칙(시안 주석). */
.chp-note{
  background:var(--bg-gray);
  border-radius:8px;
  padding:16px 20px;
  display:flex;flex-direction:column;gap:6px;
}
.chp-note__title{
  margin:0;
  font:var(--fw-bold) 16px/1.5 var(--font-core);
  letter-spacing:var(--tracking-core);color:var(--color-black);
}
.chp-note__text{
  margin:0;
  font:var(--fw-regular) 14px/1.5 var(--font-core);
  letter-spacing:var(--tracking-core);color:var(--ui-gray-666);
}

/* 카드 안 목록 행 (자녀 · 약관) — 시안은 행마다 bodyPad 를 갖고 위쪽 1px 을 inset 으로 긋는다.
   첫 행은 헤더 구분선이 이미 있으므로 긋지 않는다. */
.chp-sec__body--flush .chp-listrow{
  padding:28px 32px;
  border-bottom:0;
  box-shadow:inset 0 1px 0 var(--ui-line-ddd);
}
.chp-sec__body--flush .chp-listrow:first-child{box-shadow:none}
.chp-listrow__col{display:flex;flex-direction:column;gap:6px;min-width:0;flex:1 1 auto}
.chp-listrow__nameline{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap}
.chp-listrow__name{
  font:var(--fw-bold) 16px/1.4 var(--font-core);
  letter-spacing:var(--tracking-core);color:var(--color-black);
}
.chp-listrow__aside{display:flex;align-items:center;gap:20px;flex-shrink:0}
.chp-listrow__main--inline{display:flex;align-items:baseline;gap:16px;flex-wrap:wrap}

/* 약관 [보기] — 시안은 버튼이 아니라 파란 밑줄 링크다. 약관 전문을 여는 것은
   상태를 바꾸는 동작이 아니라 읽으러 가는 길이라, 버튼(동의/동의해제)과 무게를 나눈다. */
.chp-termlink{
  flex-shrink:0;
  padding:0;border:0;background:none;cursor:pointer;
  font:var(--fw-regular) 14px/1.5 var(--font-core);
  letter-spacing:var(--tracking-core);
  color:var(--ui-blue);text-decoration:underline;
}
.chp-termlink:hover{color:var(--ui-navy)}
/* 동의 일시 / 미동의 — 미동의는 한 단계 더 죽인다(시안) */
.chp-termdate{
  font:var(--fw-regular) 14px/1.5 var(--font-core);
  letter-spacing:var(--tracking-core);color:var(--ui-gray-666);
}
.chp-termdate--none{color:var(--text-dim)}

/* Mobile — 시안 `prototypes/member-info/index.html?bp=mo` 실측값으로 맞춘다(2026-09-09).

   ⚠ **앞의 ⚠(모바일은 14px 로 올려 쓴다)는 철회한다.** 시안 셸이 375 아트보드에 zoom 을
      거는 것은 창에 맞춰 보여 주는 미리보기 배율일 뿐이고, 설계 프레임은 그대로 375 다
      (DS `tokens/breakpoints.css` — `--frame-mobile:375px`, "Mobile — vw-fluid inside a
      375px reference frame"). DS 타이포도 `tokens/typography.css` 가 **`.mo-body` 12px** ·
      `.mo-caption` 12px · `.mo-title` 16px 로 못 박아 두었다. 즉 12 가 설계값이다.
      확대해서 15 로 보이던 것을 설계값으로 착각해 14 로 올려 잡았던 것이다.

   실측 기준(375 프레임, zoom 되돌린 값):
     섹션 카드 343 · radius 12 · 섹션 간격 28
     헤더 pad 14/16 · 1행 높이 40(버튼이 없어도) · 제목 14/1.4 700 · 보조문구는 **다음 줄**
     본문 pad 16 · 행 간격 14 · 라벨↔값 6 · 라벨/값 12/1.5
     행 안 버튼은 DS `size=small` (h32 · pad 0 12 · 12px) — 헤더 버튼만 medium(h40)이다
     (`design-system/components/_shared/controls.jsx` 의 `GEOM.mo`). */
[data-mode="mobile"] .chp-sec{border-radius:12px}
[data-mode="mobile"] .chp-sec > .chp-sec__head{
  padding:14px 16px;min-height:0;
  flex-wrap:wrap;gap:8px 16px;align-items:center;
}
/* 시안 헤더는 [제목 … 버튼] 한 줄 + 그 아래 보조문구다. 마크업 순서는 제목·문구·버튼이고
   그건 PC 계약이라 손대지 않는다 — order 로 자리만 바꾼다. */
[data-mode="mobile"] .chp-sec__title{
  order:1;
  display:flex;align-items:center;min-height:40px;   /* 버튼이 없는 카드도 1행 40 (시안) */
  font-size:14px;
}
[data-mode="mobile"] .chp-sec__act{order:2;margin-left:auto;width:auto}
/* 위 308행이 `보조문구 + 액션` 조합에서 margin-left 를 0 으로 되돌린다(PC 규칙).
   모바일은 보조문구가 다음 줄로 내려가므로 버튼이 다시 오른쪽 끝으로 가야 한다. */
[data-mode="mobile"] .chp-sec > .chp-sec__head > .chp-sec__note + .chp-sec__act{margin-left:auto}
[data-mode="mobile"] .chp-sec__note{order:3;flex:1 0 100%;margin-left:0;font-size:12px}
[data-mode="mobile"] .chp-sec__body{padding:16px}
[data-mode="mobile"] .chp-sec__body--flush{padding:0}
[data-mode="mobile"] .chp-drows{gap:14px}
[data-mode="mobile"] .chp-drow{grid-template-columns:minmax(0,1fr);row-gap:6px}
[data-mode="mobile"] .chp-drow__label,
[data-mode="mobile"] .chp-drow__val{font-size:12px}
[data-mode="mobile"] .chp-sec .chp-drow__btns{gap:8px}      /* DS mobile --gap-button:8 */
[data-mode="mobile"] .chp-note{padding:12px 14px}
[data-mode="mobile"] .chp-note__title{font-size:12px}
[data-mode="mobile"] .chp-note__text{font-size:12px}
[data-mode="mobile"] .chp-sec__body--flush .chp-listrow{padding:16px;align-items:flex-start}
[data-mode="mobile"] .chp-listrow{gap:12px 16px}
[data-mode="mobile"] .chp-listrow__main{font-size:12px}
[data-mode="mobile"] .chp-listrow__main--inline{gap:10px}
[data-mode="mobile"] .chp-listrow__name{font-size:12px}
[data-mode="mobile"] .chp-listrow__sub{font-size:12px}
/* 약관 행 2번째 줄 — 날짜는 왼쪽, 버튼은 오른쪽 끝(시안). 자녀 행은 aside 가 없어 안 걸린다. */
[data-mode="mobile"] .chp-listrow__aside{flex:1 0 100%;justify-content:space-between;gap:12px}
[data-mode="mobile"] .chp-termlink{font-size:12px}
[data-mode="mobile"] .chp-termdate{font-size:12px}
/* 행 안 액션은 small — 헤더의 [수정]·[자녀등록]은 medium 그대로다.
   B2B 입력 폼(.chp-formrow)의 [파일선택]과 [저장](--lg)도 대상이 아니다. */
[data-mode="mobile"] .chp-drow__btns > .chp-btn,
[data-mode="mobile"] .chp-listrow > .chp-btn,
[data-mode="mobile"] .chp-listrow__aside > .chp-btn{
  height:32px;padding:0 12px;font-size:12px;
}
/* 섹션 간격 — 시안 28 (PC 48). .chp-gap-48 은 이 화면 전용 스페이서다. */
[data-mode="mobile"] .chp-gap-48{height:28px}

/* ── 1-4. 화면 제목 — 콘텐츠 열 안 왼쪽 ───────────────────────────────────
   시안은 화면 제목을 콘텐츠 열 첫 줄에 두고 **LNB 제목과 같은 높이**에 맞춘다
   (prototypes/member-info: LNB '마이페이지' 와 본문 '회원정보' 가 둘 다 top 239,
    본문 제목은 left 360 = 콘텐츠 열 시작, 700 20px/30px).

   기존 사이트는 제목을 LNB 위쪽의 별도 블록(.sub-top)에 두고 트랙 전체 폭에 가운데
   정렬한다(layout.css:139 — 34px · text-align:center). 실측하면 LNB 제목과 107.6px
   어긋나고 가로도 가운데에 놓인다. .contents 안의 h3.sub-tit 은 layout.css:134 가
   display:none 으로 감춰 두어 쓸 수 없다.

   그래서 body.tag 에 chpTitle="true" 를 넘겨 .sub-top 의 큰 제목을 끄고, 화면 JSP 가
   .contents 첫 줄에 이 클래스로 제목을 그린다. 열의 첫 요소라 LNB 제목과 top 이 저절로 맞는다.
   ⚠ 아직 이 화면만 쓴다 — 다른 86개 본문은 기존 가운데 제목을 그대로 쓰므로 전역으로 바꾸지 않았다. */
.chp-page-title{
  margin:0 0 32px;                 /* 제목 → 첫 카드 32 (시안 MIPc 의 gap(32)) */
  font:var(--fw-bold) 20px/1.5 var(--font-core);
  letter-spacing:var(--tracking-core);
  color:var(--color-black);
  text-align:left;
}
/* 경로 내비게이션 → 제목 40 (시안: 경로 내비게이션 bottom 199 → 제목 top 239).
   경로 내비게이션 줄 높이도 시안과 같게 28 로 둔다(시안 14px/28px, 기본은 줄높이 미지정이라 19.6).
   둘을 함께 맞춰야 경로 내비게이션 위끝 → 제목 위끝이 시안과 같은 68 이 된다.
   ⚠ #container 를 붙이는 이유는 특이성뿐이다 — 레거시가 `#container .sub-top .inner`
      (layout.css:136) 로 id 를 끼고 있어 클래스만으로는 이기지 못한다. */
#container .chp-subtop > .inner{padding-bottom:40px}
#container .chp-subtop .page-loc{line-height:28px}
/* 브레이크포인트별 제목 크기. 값은 chp-layout.css 3절의 .chp-pagetitle 이 갖고 있었지만
   그 클래스는 사용처가 0 이라(하이픈 1개) 적용되지 않았다 — 실측에서 태블릿·모바일 모두
   20px 로 나온 원인이다. 실제 쓰는 이름으로 여기에 둔다. */
/* ⚠ **글자 배율 정책(DT-4548 2판)을 여기에도 건다.** 고정 px 로 적혀 있어
     표·버튼·라벨은 폭을 따라 줄어드는데 **제목만 그대로** 여서 좋은 폭에서 혼자 컸다
     (오너 지적 2026-10-14 · 실측 769~2200 에서 태블릿 28 고정 · 모바일 18 고정).
       Tablet  clamp(0.70N, 100vw×N/1400, N)    — 상한 필수(1400 위에서도 태블릿 모드가 유지된다)
       Mobile  clamp(N, 100vw×N/375, N×1.15)  — 375 아래 안 줄고 430 위로 안 커진다
     ★ **값(N)은 그대로 두고 배율만 올렸다.** 시안은 TA 20 · MO 16 으로 더 작은데,
       값까지 바꾸면 이 클래스를 쓰는 화면이 한꺼번에 움직인다 — 값은 별도 판단이다.
       (시안 TA 제목 20 은 같은 화면의 표 글자 26보다 작아 그대로 율기에 이상하다.)
     여백은 가독성 항목이 아니라 하한 없이 `min()` 이다(모바일 여백은 정책 밖이라 그대로). */
[data-mode="tablet"] .chp-page-title{
  margin-bottom:min(calc(100vw * 32 / 1400), 32px);
  font-size:clamp(19.6px, calc(100vw * 28 / 1400), 28px);
  line-height:1.4;
}
[data-mode="mobile"] .chp-page-title{
  margin-bottom:20px;
  font-size:clamp(18px, calc(100vw * 18 / 375), 20.7px);
}

/* ── 1-5. 전체폭(bleed) 블록 — LNB 가 붙은 화면에서 넘치는 것 ────────────
   custom.css:544~545 는 상품소개(.brd-vw01)의 탭 띠와 본문 블록을 화면 끝까지
   늘리는 전체폭 트릭을 쓴다.

       .brd-vw01 .tab-menu03-wrap,
       .brd-vw01 .brd-cont { width:100vw; margin-left:calc(-50vw + 50%); }

   이 트릭은 **담는 상자의 가운데가 뷰포트 가운데와 같을 때만** 성립한다.
   50% 는 상자 폭의 절반이므로, 상자가 화면 가운데에 있어야 -50vw 와 상쇄되어
   왼쪽 끝(0)에 붙는다. LNB 가 없던 시절에는 .contents 가 1400 트랙 전체였으므로 맞았다.

   LNB 를 붙이면 .contents 가 1140 이 되고 시작점이 오른쪽으로 260 밀린다.
   상자 가운데가 뷰포트 가운데보다 130 오른쪽이 되어, 그만큼 오른쪽으로 넘친다
   (실측: 1600 뷰포트에서 문서 폭 1760 — 160 초과).

   전체폭을 되살리려면 트랙·LNB 폭을 CSS 에 박아야 하고(1400/260), LNB 를 가로지르는
   띠가 되어 오히려 어색하다. 그래서 **콘텐츠 열 폭에 맞춘다.**
   LNB 가 있을 때만 적용한다 — 같은 클래스를 쓰는 게시판 상세(operate/board/boardDtl.jsp)는
   LNB 가 없어 기존 전체폭을 그대로 유지해야 한다.
   #container 를 붙이는 이유는 특이성뿐이다(레거시가 .brd-vw01 .brd-cont 로 0,2,0). */
#container .sub-lnb-wrap + .contents .brd-vw01 .tab-menu03-wrap,
#container .sub-lnb-wrap + .contents .brd-vw01 .brd-cont{
  width:auto;
  margin-left:0;
}
/* 안쪽 고정폭도 콘텐츠 열을 넘지 않게 (brd-list 는 900 고정) */
#container .sub-lnb-wrap + .contents .brd-vw01 .brd-cont .brd-list{max-width:100%}

/* ⓐ 콘텐츠 열이 자기 몫(1140)까지 줄어들 수 있게 한다.
   .contents 는 flex 항목인데 min-width 기본값이 auto 라, 안에 1200 고정폭이 있으면
   그 최소폭에 걸려 열이 1280 으로 벌어지고 트랙(1400)을 넘는다. min-width:0 이 정석이다. */
#container .sub-lnb-wrap + .contents{min-width:0}

/* ⓑ 상품소개 안쪽 .inner 는 custom.css:528 이 1200 고정으로 잡는다.
   전체폭 1400 시절의 값이라 콘텐츠 열(1140)에서는 60 넘친다. 열에 맞춘다.
   ⚠ width:auto 가 아니라 100% 다. .tab-menu03-wrap 이 display:flex 이므로 auto 는
      '내용 크기로 쪼그라들기'가 되어 탭 줄이 글자 폭(142)까지 줄고,
      .tab-menu03 > * {flex:1}(custom.css:385)이 펴질 자리를 잃어 탭 두 개가 붙어 버린다. */
#container .sub-lnb-wrap + .contents .brd-vw01 .inner{width:100%;max-width:100%}

/* ⓒ 콘텐츠 열 **안에** 다시 나오는 .inner 는 1400 고정이다(트랙과 같은 값).
   전체폭 시절에는 콘텐츠가 곧 트랙이라 맞았지만, LNB 가 붙은 열(1140)에서는 260 넘친다.
   실측: 열 안에 .inner 를 넣으면 width 1400 · margin-right -260 이 된다.
   상담신청의 '상담신청완료' 블록(#divResult)처럼 처음에 display:none 인 곳에도 있어
   화면을 처음 열 때는 드러나지 않는다 — 그래서 열 단위로 한 번에 막는다.
   ⚠ 최상위 #container > .inner(트랙)는 대상이 아니다. 아래 선택자는 .contents 안쪽만 잡는다. */
#container .sub-lnb-wrap + .contents .inner{
  width:100%;
  max-width:100%;
  margin-left:0;
  margin-right:0;
}

/* ⓓ .inner03 은 layout.css:123 이 1440 고정으로 잡는다 — 트랙(1400)보다도 큰 값이다.
   전체폭 배경을 깔던 메인용 래퍼인데 학습후기 목록(operate/stdylater)의 검색 줄이 이 클래스를
   쓴다. 콘텐츠 열(1140)에서는 300 넘친다. ⓒ 와 클래스 이름이 달라(.inner ≠ .inner03)
   같은 선택자로는 안 잡히므로 따로 막는다.
   ⚠ .inner02(1000 고정, layout.css:122)는 열 안에 들어가므로 그대로 둔다 — 가운데 정렬이
      기존 모습이다. */
#container .sub-lnb-wrap + .contents .inner03{
  width:100%;
  max-width:100%;
}

/* ⓔ 메인 섹션의 전체폭(100vw) — custom.css:1142 `.main [class*="section-"]{overflow:hidden;width:100vw}`.
   학습후기 목록(operate/stdylater)의 베스트 후기 슬라이더가 메인 페이지 마크업(.main.sub >
   .section-06)을 그대로 재사용한다. 예전에는 이 블록이 #container 바로 아래(=본문 전체 폭)에
   있어서 100vw 가 뷰포트와 정확히 겹쳤지만, 콘텐츠 열(1140) 안으로 들어오면 열 시작점부터
   100vw 라 오른쪽으로 넘친다(실측: 1600 뷰포트에서 문서 폭 1960 — 360 초과).
   열 폭에 맞춘다. overflow:hidden 은 그대로 둔다 — 루프 슬라이드를 잘라 주는 원래 역할이다. */
#container .sub-lnb-wrap + .contents .main [class*="section-"]{
  width:100%;
}

/* ── 1-6. Tablet · Mobile — m.css 가 끌고 오는 레거시 비주얼 되돌리기 ──────
   웹 태블릿에도 m.css 를 로드하게 되면서(resource.tag) 그 안의
   @media (max-width:1400px) 블록이 함께 걸린다. 그 블록이 하는 일 중
   **레이아웃은 시안과 일치한다** — 실측으로 확인했다:
       .sub-lnb-wrap{display:none}   (m.css:123)  → 시안 태블릿에 LNB 없음
       .sub-top{display:none}        (m.css:129)  → 시안 태블릿에 경로 내비 없음
       #container{background:#f7f7f7}(m.css:122)  → ⚠ **틀렸다.** 아래 ⓐ 참조
       [class*="inner"] 여백 4.17vw               → 시안 56/1400 = 4.00vw (모든 폭에서 4% 차)
   그래서 그 블록을 되살려 쓰고, **어긋나는 비주얼 두 가지만** 여기서 되돌린다.
   이 둘은 레거시 모바일의 시각 정체성(빨간 바닥 위에 얹힌 라운드 카드)인데
   시안 태블릿은 연회색 전면에 각진 컨테이너다.

   ⚠ [data-mode="tablet"] 은 <body> 에 붙는다. body 자신을 잡으려면 선택자가
      body[data-mode="tablet"] 이어야 한다 — [data-mode="tablet"] body 는 맞지 않는다. */

/* ⓐ 바닥색. m.css:118 이 body{background:var(--lvred)} 로 빨간색을 깐다.
      #container 가 그 위에 라운드 카드로 얹히는 구성이었다.

   ⚠ **정정(2026-09-17).** 처음에는 m.css:122 의 #f7f7f7 을 "시안 배경과 같은 연회색"이라
      적고 그대로 두었는데, 시안을 다시 재니 **태블릿 아트보드에 바닥 칠이 없다**(투명 = 흰색).
      네 화면에서 같은 결과였다 — payment-history · member-info · order-detail · consult-and-pay.
      #F7F7F7 은 토큰 정의가 말하는 대로 `BG/gray · search + bar surfaces` 이고,
      실제로 시안에서 이 색이 칠해진 곳은 **검색바 한 덩이(913×98)뿐**이었다.
      그래서 바닥은 흰색으로 되돌리고, 검색바는 자기 색을 그대로 들고 있으므로 흰 바탕 위에
      띠로 남는다. (오너 지적 2026-09-17 "화면이 흰색 배경이어야 한다") */
body[data-mode="tablet"]{background:var(--color-white)}

/* ⓐ-1 모바일도 같다(2026-09-21 오너 지적 "모바일 배경이 흰색이어야 한다").
      m.css:118 body{--lvred} · :122 #container{#f7f7f7} 가 모바일 블록에도 그대로 있다.
      시안 모바일 아트보드 역시 **바닥 칠이 없다**(투명 = 흰색) — payment-history ·
      member-info · order-detail 세 화면에서 같은 결과였고, 칠이 있는 곳은 앱바(네이비)뿐이다.
      ⚠ 2026-09-11 에 이미 "시안은 세 브레이크포인트 모두 흰 바탕"이라고 적어 두고도
        `.inner.chp-myclass` 처럼 **화면별로만** 걸었다. 그 판단("다른 화면은 회색이 기본")이
        틀렸다 — 회색은 레거시가 칠하던 것이지 시안 기준이 아니다. 여기서 한 번에 건다. */
body[data-mode="mobile"]{background:var(--color-white)}
body[data-mode="mobile"] #container{background:var(--color-white)}

/* ⓑ 컨테이너. m.css:122 의 border-radius:3.13vw 3.13vw 0 0 을 없애고 상단 여백을
      섹션 토큰으로 맞춘다(태블릿 56). 좌우 0 은 그대로 둔다 — 좌우 여백은 안쪽
      [class*="inner"] 가 vw 로 준다. */
body[data-mode="tablet"] #container{
  /* m.css:122 의 #f7f7f7 을 함께 끈다 — body 만 흰색으로 두면 #container 가 그 위를 덮는다. */
  background:var(--color-white);
  border-radius:0;
  padding:calc(var(--space-section-top) * 1px) 0 60px;
}

/* ⓒ LNB·경로 내비는 **폭과 무관하게** 태블릿이면 감춘다.
      m.css 는 이 둘을 @media (max-width:1400px) 안에서만 감춘다(123 · 129행). 그런데
      data-mode 는 1400 을 넘는 태블릿에서도 tablet 이므로(대형 안드로이드 가로 등)
      그 구간에서 **태블릿 헤더 + PC LNB** 가 섞였다 — 실측 1600 폭에서 LNB 가 그대로 나왔다.
      시안 태블릿에는 LNB 도 경로 내비도 없다. 그래서 모드 기준으로 한 번 더 못 박는다.
      ⚠ 특이성: m.css 가 `#container .sub-lnb-wrap`(id 1 + class 1)이고 chp 보다 나중에
        로드되므로, 이기려면 최소 id 1 + class 2 여야 한다. */
body[data-mode="tablet"] #container .sub-lnb-wrap{display:none}
body[data-mode="tablet"] #container .sub-top{display:none}

/* ⓓ 제목 중복. 화면 JSP 는 제목을 두 벌 갖고 있다 —
      <c:if test="${device ne 'M' and appYn ne 'Y'}"> 안의 h2.chp-page-title 과,
      조건 없이 그리는 h3.sub-tit(모바일 제목 + 뒤로가기 버튼)이다.
      태블릿은 device ne 'M' 이라 chp-page-title 이 나오는데, m.css:124 가 ≤1400 에서
      h3.sub-tit 도 display:flex 로 보이게 한다 → 제목이 두 번 나온다
      (실측: 28px 제목 아래에 14.6px 제목).

      시안 태블릿은 본문 상단 제목 하나다. 그래서 태블릿에서는 h3 쪽을 감춘다.
      ▸ 뒤로가기 버튼(.pre-btn)이 h3 안에 있지만 기능 손실이 아니다 — 이 변경 전에는
        태블릿이 pc 모드였고 layout.css:134 가 h3.sub-tit 를 display:none 으로 감췄다.
        즉 태블릿에 뒤로가기 버튼은 원래 없었다. 시안에도 없다.
      ▸ **이관하지 않은 화면은 건드리지 않는다.** 그 화면들은 chp-page-title 이 없고
        h3.sub-tit 가 태블릿의 유일한 제목이다(전에는 .sub-top 의 h2 가 device eq 'P'
        조건이라 태블릿에 제목이 아예 없었다 — 오히려 좋아진 자리다).
        그래서 chpTitle="true" 가 붙은 화면의 표식인 .chp-subtop 을 기준으로 범위를 좁힌다.
      ⚠ #container 를 붙이는 이유는 특이성이다 — m.css 가 `#container .contents .sub-tit`
        (id 1 + class 2)로 잡고 chp 보다 나중에 로드된다. 이기려면 id 1 + class 3 이어야 한다. */
body[data-mode="tablet"] #container .chp-subtop ~ * .sub-tit{display:none}

/* ⓔ 레거시 태블릿 헤더 규칙 무력화. m.css 85~137 블록은 레거시 마크업
      (header .h-logo · .h-gnb · .h-mid > .inner)을 전제로 네이비/빨간 바를 그린다.
      chp 는 헤더를 .chp-appheader / .chp-gnb 로 갈아서 위 선택자에 걸리는 요소가
      없지만, 상단 배너(.main-top-banner)만은 레거시 이름을 그대로 쓴다.
      배너는 전폭이 원래 모습이므로 vw 여백을 받지 않게 둔다. */
body[data-mode="tablet"] .main-top-banner{width:100%;padding:0}

/* ── 1-7. Tablet · Mobile — m.css 의 [class*="btn-"] 가 chp 버튼을 덮는다 ────
   m.css:211 `[class*="btn-"]{border-radius:0.26vw; height:var(--fom-h);
   padding:0 3.47vw}` 는 특이성이 (0,1,0) 으로 `.chp-btn`(0,1,0)과 같은데
   **m.css 가 chp 보다 나중에 로드된다**(resource.tag 79·82행). 그래서 동점이
   순서로 갈리고 레거시가 이긴다 — 실측 태블릿 800 에서 조회 버튼 높이가 시안 58 이
   아니라 33(=4.17vw)이었다. 반지름도 2px, 좌우 여백도 27.8px 로 끌려간다.

   ⚠ `.chp-btn` 하나만 붙은 버튼은 걸리지 않는다. 속성 선택자가 찾는 문자열이
   `btn-` 인데 "chp-btn" 에는 그 하이픈이 없다 — 걸리는 것은 변형 클래스를 함께
   붙인 버튼(`chp-btn chp-btn--navy`)뿐이다. 그래서 증상이 버튼마다 달라 보인다.

   모드로 한 단계 올려(0,2,0) 되돌린다. 검색바 전용이 아니라 M·T 의 모든 chp
   버튼에 해당하므로 여기 공통으로 둔다. 색은 m.css 가 건드리지 않아 그대로다. */
[data-mode="tablet"] .chp-btn,
[data-mode="mobile"] .chp-btn{
  height:calc(var(--chp-btn-h-md) * 1px);
  padding:0 calc(var(--space-btn-x) * 1px);
  border-radius:calc(var(--radius-btn) * 1px);
}
[data-mode="tablet"] .chp-btn--lg,
[data-mode="mobile"] .chp-btn--lg{
  height:calc(var(--chp-btn-h-lg) * 1px);
  border-radius:calc(var(--radius-btn-large) * 1px);
}

/* ── 1-8. LNB 를 GNB 아래에 멈춘다(sticky) ────────────────────────────────
   시안: 차이홍_퍼블/SNB-scroll-pattern (1).html — 세 안(A 함께 흐른다 / B 따라오다 멈춘다 /
   C 아예 나눈다) 중 **B 확정**(오너 확정 2026.08.21). 구현 원본은
   prototypes/member-info/index.html 의 .pc-lnb 규칙이다.

     .pc-lnb{padding-top:40px; margin-bottom:60px; position:sticky; top:130px;
             align-self:start; max-height:calc(var(--stage-h,100vh) - 218px); overflow-y:auto}

   고른 이유(시안 주석) — 학습일정·학습이력·회원정보·학습분석이 Tablet·Mobile 에서 탭으로
   나란히 놓여 화면 간 이동이 잦은 구조다. Tablet·Mobile 은 탭이 그 이동을 맡으므로
   PC 에서는 왼쪽 메뉴를 계속 보이게 두는 것이 이동 비용을 가장 적게 만든다.
   ⚠ 디자인시스템은 고정 요소를 GNB·결제바 둘로 규정한다. sticky 는 그 둘과 달리 흐름 안에
      있고 푸터에서 풀리지만, 시안이 밝힌 대로 **소스에서 벗어난 결정**이다.

   ▸ 옮기며 바꾼 것 1 — 여백을 padding 이 아니라 top 에 넣었다.
     시안은 top:130(헤더) + 요소의 padding-top:40 으로 멈춤 여백을 만든다. 그럴 수 있는 것은
     시안의 본문 열(.pc-content)도 padding:40px 0 60px 을 갖고 있어 두 열이 같은 높이에서
     시작하기 때문이다. 이 레포는 그 여백을 #container{padding:60px 0 80px}(layout.css:125)가
     **열 바깥에서** 준다. LNB 에만 padding-top 을 넣으면 LNB 제목이 본문 제목보다 40 내려가
     1-4절이 맞춰 둔 정렬(둘 다 열의 첫 요소, 시안 member-info 는 둘 다 top 239)이 깨진다.
     그래서 40 을 top 에 합쳐 흐름 배치를 건드리지 않는다.
     실측 확인: 정지 상태에서 LNB 제목·본문 제목 둘 다 191(=131 GNB + 60 #container).
   ▸ 옮기며 바꾼 것 2 — margin-bottom:60px 은 넣지 않는다.
     시안의 60 은 본문 열 padding-bottom 과 같은 값이라 두 열이 같은 줄에서 끝난다.
     이 레포는 아래 여백도 #container 가 바깥에서 주므로(80) 두 열이 **이미** 같은 줄에서
     끝난다. margin 을 넣으면 오히려 LNB 만 60 먼저 끝난다.
   ▸ 옮기며 바꾼 것 3 — max-height 를 218 이 아니라 219 로 뺀다.
     ⚠ 시안 .pc-lnb 은 **content-box** 다(실측: boxSizing=content-box, maxHeight=663px,
        rectH=703 = 663 + padding-top 40). 즉 시안의 218 은 **콘텐츠 높이**에서 빠지고
        padding 40 이 다시 붙어, 실제 아래 여백은 88 이 아니라 48 이다(실측: rectBottom
        902, 스테이지 913 → 11... 스테이지 높이 881 기준 833 → 48).
     이 레포는 common.css:174 가 `*{box-sizing:border-box}` 라 max-height 가 곧 보이는
     높이다. 여백을 top 에 합쳤으므로(위 ①) 시안과 같은 아래끝·같은 메뉴 높이를 얻는
     값은 100vh - 219 다 — 219 = 시안 218 + 1(GNB 131 vs 시안 표기 130).
       시안  : 위 130 · 아래 V-48 · 메뉴 663(=V-218)
       이 레포: 위 171 · 아래 V-48 · 메뉴  V-219
     처음에 `- 171px - 88px`(=V-259)로 적었는데 시안보다 41 짧았다. border-box 를 전제로
     88 을 그대로 옮긴 것이 원인이다.
   ▸ 그대로 둔 것 — overflow-y:auto.
     overscroll-behavior 는 선언하지 않는다. 기본값 auto 가 곧 "끝에 닿으면 휠이 페이지로
     이어진다"이고 시안도 선언하지 않았다.

   ▸ 실측(2026-09-01, Chrome headless, 폭 1600) —
     마이페이지 LNB 높이 706.7. 창 1080(뷰포트 993)에서는 잘리지 않고, 900(813)·768(681)
     에서만 내부 스크롤이 생긴다. 시안이 설명한 동작과 같다.
     sticky 동작: 정지 191 → 스크롤 후 171 고정 → 바닥에서 해제(본문 열과 같은 줄에서 끝남).

   ⚠ align-self:start 가 없으면 움직이지 않는다. .sub-lnb-wrap 은 #container > .inner
      (layout.css:126 display:flex)의 flex 아이템이라 기본값 stretch 로 열 높이를 다 채우고,
      다 채운 요소는 sticky 로 이동할 자리가 없다.
   ⚠ Tablet·Mobile 은 그대로 둔다(시안 지시). 그 구간은 LNB 자체가 감춰져 있다 —
      m.css:123(≤1400) · 1-6절 ⓒ. 그래서 pc 모드로 범위를 좁힌다.                        */
body[data-mode="pc"] #container .sub-lnb-wrap{
  position:sticky;
  /* 131(PC GNB 실측: 유틸 50 + 메뉴 행 80 + 1px) + 40(시안 여백).
     GNB 는 숨을 수 있으므로 그 131 을 `--hdr-on`(1 보임 / 0 숨김)에 묶는다 — 28절.
     고정 숫자로 두면 헤더가 빠진 자리에 빈 띠가 생기고 LNB 가 공중에 뜬다.
     `--hdr-on` 은 기본값 1 이라 헤더가 숨지 않는 화면에서는 종전과 같은 171 이다. */
  top:calc(var(--hdr-on, 1) * 131px + 40px);
  transition:top .22s linear, max-height .22s linear;
  align-self:start;
  /* 낮은 화면 안전장치. 88 = 시안 218 − 130. GNB 가 숨으면 그만큼 더 쓸 수 있다. */
  max-height:calc(100vh - 88px - var(--hdr-on, 1) * 131px);
  overflow-y:auto;
}
/* 안쪽 nav 의 width:200px 고정(chp-layout.css 2절)을 열 폭에 맞춘다.
   세로 스크롤바가 생기면 열 안쪽 폭이 줄어드는데 nav 가 200 을 고집해
   **가로 스크롤바까지** 함께 생긴다(실측: scrollWidth 200 vs clientWidth 184).
   가장 긴 항목이 '차이홍TalkTalk 무료체험' 181.8 이라 아래 8px 스크롤바를 뺀 192 안에 들어간다. */
body[data-mode="pc"] #container .sub-lnb-wrap > .chp-lnb{width:100%}

/* 스크롤바 — 시안과 갈리는 자리다.
   시안 프로토타입에는 `::-webkit-scrollbar` 규칙이 **0건**이라 macOS 오버레이 스크롤바가
   걸린다(스크롤할 때만 나타나고 폭도 차지하지 않는다). 이 레포는 style.css:508 이
   `*::-webkit-scrollbar` 로 **전역** 스타일을 주는데, Chrome 은 이 의사요소가 스타일되면
   오버레이를 포기하고 레거시 스크롤바로 바꾼다. 그래서 --scr-w:16px(common.css:163)가
   **처음부터** 보이고 열 폭까지 16 먹었다.
   전역 규칙은 99화면이 함께 쓰므로 손대지 않고 이 열에서만 되돌린다.

   ▸ 굵기 8 · thumb #CCCCCC · radius 4 는 시안 SNB-scroll-pattern 의 .fr 값이다.
   ▸ track 은 투명하게 둔다. 데모의 #F7F7F7 은 테두리 있는 프레임 기준 값이고, 흰 배경
     열에 깔면 평소에도 회색 띠가 남아 "처음부터 보인다"가 그대로다.
   ▸ thumb 도 기본 투명 → hover 에서만 노출. 오버레이의 "스크롤할 때만"과 같지는 않지만,
     전역 규칙을 건드리지 않고 얻을 수 있는 가장 가까운 상태다.
   ⚠ width:0 으로 아예 숨기면 폭은 안 먹지만 스크롤 가능하다는 단서가 사라진다.
      8 을 남기는 대신 위 .chp-lnb{width:100%} 가 가로 넘침을 막는다. */
body[data-mode="pc"] #container .sub-lnb-wrap::-webkit-scrollbar{
  width:8px;
  background:transparent;
  border-radius:4px;
}
body[data-mode="pc"] #container .sub-lnb-wrap::-webkit-scrollbar-track{
  background:transparent;
  border-radius:4px;
}
body[data-mode="pc"] #container .sub-lnb-wrap::-webkit-scrollbar-thumb{
  background:transparent;
  border-radius:4px;
}
body[data-mode="pc"] #container .sub-lnb-wrap:hover::-webkit-scrollbar-thumb{
  background:var(--ui-line-ccc);
}

/* ── 1-9. 버튼 hover — 눌림과 같은 면 ─────────────────────────────────────
   전달본 2판(2026.08.31)에서 DS 원본이 고친 것이다. READ-FIRST.md:
     "PC 버튼 hover 가 실제로 동작합니다 — ensureHoverRule() 의 세 선언에 !important 가
      없어 인라인 스타일에 밀리고 있었습니다. 마우스를 올리면 눌린 색이 됩니다
      (navy #4C549A · outline #EEEEEE). 터치 환경 · selected · disabled 에는 걸리지 않습니다."

   DS 원본(design-system/components/_shared/controls.jsx · ensureHoverRule)은
   PAINT[type].active 를 그대로 hover 에 쓴다 — **hover 면 = 눌림 면**이다. 새로 정할 값이
   없고, chp-components.css 218~244 의 :active 규칙을 :hover 로 한 벌 더 쓰는 것이 곧
   이식이다(토큰까지 같은 값이다).

   ▸ !important 는 옮기지 않는다. DS 가 그것을 붙인 이유는 renderButton 이 background ·
     boxShadow · color 를 **인라인 style** 로 써서 선택자가 이길 수 없기 때문이다.
     이 레포는 클래스로만 칠하므로 필요 없다.
   ▸ :active 와 순서를 다투지 않는다. 두 상태의 면이 같은 값이라 어느 쪽이 이겨도 결과가
     같다 — DS 가 active 팔레트를 hover 에 그대로 쓰는 설계다.
   ▸ @media (hover:hover) 로 감싼다. 터치 환경의 sticky hover(손을 뗀 뒤 색이 남는 것)를
     막는 조건이고 DS 와 같다. data-mode 로 좁히지 않는다 — 마우스를 붙인 태블릿은
     hover 가 동작하는 것이 맞다.
   ▸ 제외는 [disabled] · .is-disabled · .is-selected 다. selected(검색 칩)는 흰 바탕 +
     navy 링으로 따로 만든 지속 상태라(chp-components.css:248) hover 가 덮으면 선택이
     사라진다. DS 도 같은 이유로 지속 상태에는 붙이지 않는다.
   ⚠ 변종 클래스가 없는 맨 .chp-btn 은 넣지 않는다 — 그쪽은 :active 도 없다(기본 blue 면).
      기존 코드와 같은 범위를 유지한다.                                                  */
@media (hover:hover){
  .chp-btn--outline:not([disabled]):not(.is-disabled):not(.is-selected):hover{
    background:var(--surface-btn-active);
    color:var(--grayscale-300);
  }
  .chp-btn--outline-red:not([disabled]):not(.is-disabled):hover{
    background:var(--surface-btn-outline-red-active);
  }
  .chp-btn--outline-blue:not([disabled]):not(.is-disabled):hover{
    background:var(--color-light-blue);
  }
  .chp-btn--red:not([disabled]):not(.is-disabled):hover{
    background:var(--surface-btn-red-active);
    box-shadow:inset 0 0 0 1px var(--surface-btn-red-active);
  }
  .chp-btn--gray:not([disabled]):not(.is-disabled):hover{
    background:var(--ui-gray-pressed);
    box-shadow:inset 0 0 0 1px var(--ui-gray-pressed);
  }
  .chp-btn--black:not([disabled]):not(.is-disabled):hover{
    background:var(--ui-navy);
    box-shadow:inset 0 0 0 1px var(--ui-navy);
  }
  .chp-btn--navy:not([disabled]):not(.is-disabled):hover{
    background:var(--ui-navy-pressed);
    box-shadow:inset 0 0 0 1px var(--ui-navy-pressed);
  }
  .chp-btn--blue:not([disabled]):not(.is-disabled):hover{
    background:var(--ui-navy-pressed);
    box-shadow:inset 0 0 0 1px var(--ui-navy-pressed);
  }
}

/* ── 2. 상단 배너 ───────────────────────────────────────────────────────── */
.chp-topbanner{width:100%;overflow:hidden;text-align:center}
.chp-topbanner a{display:block;height:100%}
.chp-topbanner img{width:100%;object-fit:cover;display:block}

/* ── 3. 모바일 헤더의 이벤트 버튼 ───────────────────────────────────────── */
.chp-appheader__extra{display:flex;align-items:center;margin-left:auto;margin-right:12px}
.chp-appheader__extra img{width:108px;object-fit:cover;display:block}
/* 이벤트 버튼이 있으면 좌측 spacer 를 JSP 에서 아예 안 그린다.
   (:has() 로 접으면 구형 브라우저에서 동작하지 않는다 — 이 사이트는 IE=Edge 를 선언한다) */

/* ── 3-1. 모바일 전체메뉴 패널 상단 ─────────────────────────────────────
   시안(prototypes/gnb-menu/index.html:722~763)은 전체메뉴가 열리면 패널이 앱바를 덮고
   자체 네이비 밴드를 그린다 — 로고 왼쪽 정렬, × 오른쪽, 그 아래 인사말+권한변경,
   그 아래 3등분 유틸 링크. 값은 모두 시안에서 그대로 가져왔다.
   퍼블 산출물은 앱바를 남기고 그 아래에 패널을 붙여(chp-layout.css:266) 로고가 앱바에
   가운데 정렬로 남는다 — 시안과 다르므로 inset 을 0 으로 덮는다. */
[data-mode="mobile"] .chp-megamenu{inset:0;top:0}

.chp-megamenu__util{display:none}
[data-mode="mobile"] .chp-megamenu__util{
  display:block;
  position:relative;
  padding:0 16px;
  background:var(--ui-navy);
}
/* 로고 밴드 — 앱바와 같은 높이(모바일 --space-header-height:48). 로고는 그 안에서 세로 중앙. */
.chp-megamenu__bar{
  display:flex;align-items:center;
  height:calc(var(--space-header-height) * 1px);
}
.chp-megamenu__logo{display:flex}
.chp-megamenu__logo img{display:block;width:170px;height:19px}
/* × 는 햄버거(18px 바, 오른쪽 정렬)와 같은 중심에 놓는다. */
.chp-megamenu__close{
  position:absolute;right:16px;top:15px;
  width:18px;height:18px;
  display:flex;align-items:center;justify-content:center;
  background:none;border:0;padding:0;cursor:pointer;
  color:var(--color-white);
  font:300 20px/18px var(--font-core);
}
.chp-megamenu__greet{
  display:flex;align-items:center;justify-content:space-between;
  gap:12px;
  padding:4px 0 14px;
}
.chp-megamenu__user{
  margin:0;
  font:var(--fw-bold) 14px/1.4 var(--font-core);
  letter-spacing:var(--tracking-core);
  color:var(--color-yellow);
}
/* 유틸 링크 3등분 + 세로 구분선 */
.chp-megamenu__util-links{
  display:grid;grid-template-columns:repeat(3,1fr);
  border-top:1px solid #565D80;
  margin:0;padding:0;list-style:none;
}
.chp-megamenu__util-links a{
  display:block;text-align:center;padding:13px 0;
  font:var(--fw-regular) 13px/1.4 var(--font-core);
  letter-spacing:var(--tracking-core);
  color:var(--color-white);
}
.chp-megamenu__util-links > li + li > a{border-left:1px solid #565D80}
.chp-megamenu__util-links a:hover{text-decoration:none}

/* ── 3-1-1. Tablet 전체메뉴 상단 밴드 ─────────────────────────────────────
   기준: prototypes/gnb-menu/index.html?bp=ta 실측(2026-09-02).

   ⚠ 이 밴드는 **태블릿에서 꺼져 있었다**. 위 3-1절이 `.chp-megamenu__util{display:none}`
      으로 끄고 mobile 에서만 켰기 때문이다. 마크업은 megamenu.tag 가 device ne 'P' 에
      항상 그리고 있었으므로 CSS 만 켜면 된다.

   시안은 메뉴가 **열릴 때만** 이 밴드를 그린다 — 닫으면 사라지고 앱헤더의 페이지 제목이
   돌아온다(실측: 열림에는 로고·인사말·로그아웃/정보변경/고객센터, 닫힘에는 '추천상품 결제'
   하나뿐). 즉 앱헤더가 아니라 **패널 자신의 밴드**이고, 패널이 앱헤더를 덮는다.
   그래서 태블릿 패널도 모바일처럼 inset:0 으로 올린다.

   실측값(설계 단위 · 캔버스 1400) —
     밴드 높이 76 · padding 0 98 0 78 · --ui-navy · flex/가운데 정렬
     로고 233×26, 왼쪽 끝(78)
     인사말·뱃지·링크는 오른쪽 묶음(margin-left:auto) · 사이 간격 20
     인사말 17px/700 --color-yellow · 유틸 링크 16px/400 --on-navy-dim(#C7CADA)
     × 44×44 흰색, 오른쪽 15 · 위 16 (안쪽 아이콘 22)
     첫 1depth 는 밴드 아래 52 → 76+52 = 128 (실측 128.0 과 일치)

   ⚠ 모바일 밴드와 값이 다르다. 모바일은 로고 170×19, 인사말 14, 링크 13 흰색 3등분에
      #565D80 구분선이다. 태블릿은 한 줄이고 구분선이 없다 — 그래서 아래에서 되돌린다. */
[data-mode="tablet"] .chp-megamenu{inset:0;top:0}
[data-mode="tablet"] .chp-megamenu__util{
  display:flex;
  align-items:center;
  position:relative;
  /* ⚠ 높이만 **vw 가 아니라 앱바와 같은 고정 76** 이다(오너 지시 2026-10-18).
     시안 설계값 76 을 캔버스 비율로 줄이면 1024 에서 55.6 인데, **닫힌 앱바는 고정 76**
     (`.chp-appheader{height:calc(var(--space-header-height)*1px)}`)이라 메뉴를 여는 순간
     네이비 줄이 20px 쪼그라드는 것이 보였다(오너 지적 · 실측 1024: 76 → 55.6).
     앱바 높이는 sticky 오프셋·앱바 ←·제목 크기가 함께 쓰는 값이라 그쪽을 줄이는 대신
     **밴드를 앱바에 맞춘다** — 유패스 앱(42절)에서 먼저 그렇게 맞췄고 웹도 같은 규칙으로 간다.
     여백·로고·글자는 그대로 vw 다 — 바뀌는 것은 줄 높이 하나뿐이다. */
  height:calc(var(--space-header-height) * 1px);
  padding:0 min(calc(100vw * 98 / 1400), 98px) 0 min(calc(100vw * 78 / 1400), 78px);
  background:var(--ui-navy);
}
[data-mode="tablet"] .chp-megamenu__bar{height:auto}
[data-mode="tablet"] .chp-megamenu__logo img{
  width:min(calc(100vw * 233 / 1400), 233px);
  height:min(calc(100vw * 26 / 1400), 26px);
}
[data-mode="tablet"] .chp-megamenu__greet{
  margin-left:auto;
  justify-content:normal;
  gap:min(calc(100vw * 20 / 1400), 20px);
  padding:0;
}
[data-mode="tablet"] .chp-megamenu__user{
  font-size:clamp(12px, calc(100vw * 17 / 1400), 17px);
}
[data-mode="tablet"] .chp-megamenu__util-links{
  display:flex;
  gap:min(calc(100vw * 20 / 1400), 20px);
  margin-left:min(calc(100vw * 20 / 1400), 20px);
  border-top:0;
}
[data-mode="tablet"] .chp-megamenu__util-links a{
  padding:0;
  text-align:left;
  font-size:clamp(12px, calc(100vw * 16 / 1400), 16px);
  color:var(--on-navy-dim);
}
[data-mode="tablet"] .chp-megamenu__util-links a:hover{color:var(--color-white)}
/* 모바일의 3등분 세로 구분선(#565D80)은 태블릿에 없다 — 링크가 한 줄로 흐른다. */
[data-mode="tablet"] .chp-megamenu__util-links > li + li > a{border-left:0}
[data-mode="tablet"] .chp-megamenu__close{
  right:min(calc(100vw * 15 / 1400), 15px);
  /* 세로는 **밴드 가운데**다 — top 을 vw 로 주면 어긋난다.
     밴드 높이만 고정 76(위 주석)인데 top 과 크기는 vw 라 1400 미만에서 둘만 줄어든다 —
     1138 에서 top 13.0 · 44→35.8 이라 × 중심이 30.9, 밴드 중심 38 보다 7 위로 뜬다
     (실측 1138×712 · 로고·유틸 링크는 flex 가운데라 38 그대로여서 × 혼자 떠 보였다).
     시안값 top 16 도 76 밴드에 44 를 가운데 둔 것이다(16+44/2 = 38) — 가운데 정렬이 원래 뜻이다. */
  top:50%;
  transform:translateY(-50%);
  width:min(calc(100vw * 44 / 1400), 44px);
  height:min(calc(100vw * 44 / 1400), 44px);
  font-size:clamp(22.4px, calc(100vw * 32 / 1400), 32px);
  line-height:1;
}

/* ── 3-2. Tablet 전체메뉴 — 시안의 마스터·디테일 구조 ─────────────────────
   기준: prototypes/gnb-menu/index.html?bp=ta 실측(2026-09-02).

   산출물 구조는 여섯 그룹을 6열로 **동시에** 편다. 시안 2판은 그렇지 않다 — 왼쪽 220 열에
   1depth 여섯을 세로로 쌓고, 1px 세로선 오른쪽에 **고른 그룹의 2depth 하나만** 5열
   그리드로 편다. 실측으로 확인했다: colGap 56 그리드가 여섯인데 동시 노출은 1개다.

   실측값(시안 설계 단위 · 캔버스 1400) —
     트랙 1260 → 좌우 여백 70 · 1depth 열 220 · 열 간격 32 · 세로선 1px #DDDDDD
     1depth 위 여백 52 · 항목 높이 84 · padding-left 8 · 28px/400 #222222
     현재 그룹 28px/700 --ui-navy
     2depth 5열 · column-gap 56 · row-gap 24 · 26px/400 #444444
     좌표 검산 — 1depth x=70 · 세로선 x=322(70+220+32) · 2depth x=355(322+1+32)

   ⚠ 마크업은 그대로 둔다. .chp-megamenu__row 를 왼쪽 열 폭으로 좁히고 그 안의 __list 만
      오른쪽 pane 으로 **절대배치**하면, 여섯 목록이 같은 자리에 겹치고 펼친 하나만 보인다.
      display:contents + grid 로도 되지만 grid-row:1/-1 이 암시적 그리드에서 한 줄로
      접히는 문제가 있어 절대배치를 골랐다.
   ⚠ 값은 calc(100vw * V / 1400) 이다. 태블릿은 1400 캔버스를 폭에 맞춰 줄이는 구간이고
      (nav-handoff: k = w/1400) 5-9절 검색바가 이미 같은 방식을 쓴다.
   ⚠ 패널 높이 848 은 장식이 아니다. 2depth 가 고른 1depth 옆에 붙으므로 마지막 그룹
      (마이페이지, 11항목 = 3줄)을 고르면 목록이 1depth 열보다 아래로 내려간다 —
      1depth 열은 52 + 84×6 + 40 = 596 뿐이다. 그 여유가 848 이다. 다만 height 로 박으면
      짧은 태블릿에서 잘리므로 min-height 로 둔다(넘치면 패널이 스크롤한다).
   ⚠ 하나는 늘 열려 있어야 한다 — 여닫기는 chp-ui.js 8절이 태블릿에서만 라디오로 돈다. */
[data-mode="tablet"] .chp-megamenu__inner{
  position:relative;
  display:block;
  width:100%;
  min-height:min(calc(100vw * 848 / 1400), 848px);
  padding:min(calc(100vw * 52 / 1400), 52px) min(calc(100vw * 70 / 1400), 70px) min(calc(100vw * 40 / 1400), 40px);
  background:var(--color-white);
}
/* 세로 구분선 — 별도 마크업 없이 판 위에 긋는다. */
[data-mode="tablet"] .chp-megamenu__inner::before{
  content:"";
  position:absolute;
  left:min(calc(100vw * 322 / 1400), 322px);
  top:0;
  bottom:0;
  width:1px;
  background:var(--ui-line-ddd);
}
/* 행이 오른쪽 pane 의 위치 기준이다 — 2depth 는 패널 상단이 아니라 **고른 1depth 옆**에
   붙는다(아래 __list 주석 참고). 그래서 행마다 position:relative 가 필요하다. */
[data-mode="tablet"] .chp-megamenu__row{
  position:relative;
  width:min(calc(100vw * 220 / 1400), 220px);
}
[data-mode="tablet"] .chp-megamenu__head{
  position:relative;
  display:flex;
  align-items:center;
  width:100%;
  height:min(calc(100vw * 84 / 1400), 84px);
  padding:0 0 0 min(calc(100vw * 8 / 1400), 8px);
  border-bottom:0;
  background:none;
  font:var(--fw-regular) min(calc(100vw * 28 / 1400), 28px)/1.4 var(--font-core);
  letter-spacing:var(--tracking-core);
  color:var(--color-black);
  text-align:left;
  cursor:pointer;
}
[data-mode="tablet"] .chp-megamenu__head::after{content:none}
[data-mode="tablet"] .chp-megamenu__head.is-current,
[data-mode="tablet"] .chp-megamenu__head[aria-expanded="true"]{
  font-weight:var(--fw-bold);
  color:var(--ui-navy);
}
/* 현재 그룹도 열린 그룹과 같은 navy 다(위 블록과 같은 값이라 따로 재정의하지 않는다).
   2026-09-10 에 --ui-blue 로 바꿨던 규칙은 스펙 확인 후 걷었다 — GNB-menu-spec 4절
   '1depth · 펼침 = --ui-navy', 2절 '色 어휘: navy 는 1depth 쪽'. */
/* 고른 1depth 를 가리키는 **포커스 막대**. 세로 구분선 위에 겹쳐 놓는다.
   실측(2026-09-02) — 3×28 --ui-navy, 구분선(321.5 중심)에 겹치고 그 행의 세로 중앙:
     선택 '마이페이지' y=472 h=84 → 막대 top=500 = 472 + (84−28)/2 ✓
   시안 소스에서는 구분선 DIV 의 자식(absolute left:-1)인데, 이 레포는 구분선이 __inner 의
   ::before 라 자식을 둘 수 없다. 대신 머리 자신이 그린다 — 행 왼쪽(70)에서 251 이 구분선이다.
   ⚠ nav-handoff 표의 "포커스는 3×28 **흰** 막대" 는 패널이 네이비이던 판의 값이다.
      2판에서 패널이 흰 면이 되며 색이 --ui-navy 로 뒤집혔다(실측 rgb(64,71,107)). */
[data-mode="tablet"] .chp-megamenu__head[aria-expanded="true"]::after{
  content:"";
  position:absolute;
  top:50%;
  left:min(calc(100vw * 251 / 1400), 251px);
  width:min(calc(100vw * 3 / 1400), 3px);
  height:min(calc(100vw * 28 / 1400), 28px);
  margin-top:max(calc(100vw * -14 / 1400), -14px);
  background:var(--ui-navy);
}
/* 오른쪽 pane — **고른 1depth 옆**에 붙는다. 패널 상단 고정이 아니다.
   실측(2026-09-02, bp=ta) — 어느 그룹을 골라도 첫 2depth 의 top 이 그 1depth 의 top 보다
   정확히 12(설계) 아래다:
     마이페이지   1depth y=400.8 → 2depth y=409.6   (+8.8 = 12 × k)
     학습신청     1depth y=155.0 → 2depth y=163.8
     나의 강의실  1depth y=339.4 → 2depth y=348.1
   그래서 위치 기준을 패널(__inner)이 아니라 **행(__row)** 으로 둔다. left 는 행 왼쪽
   기준이므로 285 다(트랙 좌표 355 − 행 시작 70). */
[data-mode="tablet"] .chp-megamenu__list{
  position:absolute;
  top:min(calc(100vw * 12 / 1400), 12px);
  left:min(calc(100vw * 285 / 1400), 285px);
  width:min(calc(100vw * 975 / 1400), 975px);   /* 트랙 오른끝 1330 − 2depth 시작 355 */
  display:none;
  grid-template-columns:repeat(5, minmax(0, auto));
  justify-content:start;
  align-content:start;
  column-gap:min(calc(100vw * 56 / 1400), 56px);
  row-gap:min(calc(100vw * 24 / 1400), 24px);
  margin:0;
  /* 시안 그리드는 padding-left 20 을 갖는다(실측 pad=484px 0 0 20px — 위 484 는 고른
     1depth 만큼 밀어 둔 값이고, 이 레포는 그 몫을 __row 기준 top:12 가 한다). */
  padding:0 0 0 min(calc(100vw * 20 / 1400), 20px);
  background:none;
}
[data-mode="tablet"] .chp-megamenu__head[aria-expanded="true"] + .chp-megamenu__list{display:grid}
/* 앱 전체메뉴(`.chp-appmenu`)는 위 2단 규칙에서 뺀다 (2026-10-02 · DT-4586).
   앱 웹뷰는 `mb/page/header.tag` 가 메뉴를 직접 그리는데, 1depth 가 없는 **평평한 5개**
   (HOME·강의실목록·마이페이지·설정·로그아웃)이면서 클래스는 `.chp-megamenu__list` 를
   같이 쓴다. 그래서 태블릿의 "고른 1depth 옆에 2depth" 규칙(absolute · left 285 · grid)이
   그대로 걸려, 열면 목록이 「메뉴」 제목 **위로** 튀어 올라 가로로 늘어섰다
   (실측 1333: 목록 @271,84 인데 「메뉴」 는 @67,122).
   앱에는 태블릿 시안이 없으므로 **구조는 모바일과 같은 세로 목록**으로 두고,
   글자·높이는 바로 위 태블릿 값(a{height 60 · font 26})을 그대로 쓴다. */
[data-mode="tablet"] .chp-megamenu__list.chp-appmenu{
  position:static;
  top:auto;
  left:auto;
  width:auto;
  flex-direction:column;
  padding:min(calc(100vw * 8 / 1400), 8px) 0 min(calc(100vw * 16 / 1400), 16px);
}
[data-mode="tablet"] .chp-megamenu__head[aria-expanded="true"] + .chp-megamenu__list.chp-appmenu{
  display:flex;
}
/* 「메뉴」 오른쪽의 파란 세로 막대도 뺀다 — 그것은 **고른 1depth** 를 가리키는 표식인데
   앱 메뉴는 1depth 가 하나뿐이라 가리킬 대상이 없다. */
[data-mode="tablet"] .chp-megamenu__head[aria-expanded="true"]:has(+ .chp-appmenu)::after{
  display:none;
}
/* N 뱃지 — 시안 `NewDot size={20}`(글자 = size × 0.55 = 11). 다른 태블릿 값과 같이 vw 로 준다. */
[data-mode="tablet"] .chp-megamenu__list .chp-newdot{
  width:min(calc(100vw * 20 / 1400), 20px);
  height:min(calc(100vw * 20 / 1400), 20px);
  margin-left:min(calc(100vw * 8 / 1400), 8px);
  font:var(--fw-bold) min(calc(100vw * 11 / 1400), 11px)/min(calc(100vw * 20 / 1400), 20px) var(--font-core);
}
/* 행 간격 — 항목 상자가 **60** 이다(실측 computed h=59.9854). 글자 줄상자(26×1.4=36.4)만
   두면 줄 간격이 60.4 로 좁아져 시안(84)과 어긋난다. 60 + row-gap 24 = 84 가 맞는 값이고,
   상자를 60 으로 둬야 첫 줄 글자 중심이 고른 1depth 글자 중심과 같아진다
   (1depth 472+42=514 / 2depth 484+30=514). */
[data-mode="tablet"] .chp-megamenu__list a{
  height:min(calc(100vw * 60 / 1400), 60px);
  white-space:nowrap;   /* 시안과 같다. 없으면 TalkTalk실전회화 가 두 줄로 접혀 상자(60)를 넘친다 */
  padding:0;
  font:var(--fw-regular) min(calc(100vw * 26 / 1400), 26px)/1.4 var(--font-core);
  letter-spacing:var(--tracking-core);
  color:var(--ui-gray-444);
}
/* 현재 2depth 항목 — 글자 왼쪽 −18 에 6px 원(실측: left:-18px · 6×6 · radius 50% ·
   --ui-blue). nav-handoff 표의 "6px **흰** 원" 도 네이비 패널 시절 값이다.
   시안 실측(2026-09-10, ?bp=ta): 현재 항목은 일반 항목과 글자도 다르다 —
     일반   font:400 26px/1.4 · color:--ui-gray-444
     현재   font:700 30px/1.4 · color:--ui-blue · position:relative
   ⚠ **글자 크기 30 은 따르지 않는다**(사용자 확정 2026-09-10). 한 항목만 커지면 그 줄의
     기준선과 열 폭이 흔들려, 굵기·색으로만 구분하고 크기는 26 그대로 둔다.
   ⚠ 색 재정의가 필요하다. 바로 위 `[data-mode=tablet] … a{color:--ui-gray-444}` 와
     chp-layout.css:308 `.chp-megamenu__list a.is-current{color:--ui-blue}` 는 특이성이
     (0,2,1) 로 같고 이 파일이 나중 로드라 회색이 이긴다(모바일도 같은 이유로 막혀 있었다). */
[data-mode="tablet"] .chp-megamenu__list a.is-current{
  position:relative;
  font-weight:var(--fw-bold);
  color:var(--ui-blue);
}
[data-mode="tablet"] .chp-megamenu__list a.is-current::before{
  content:"";
  position:absolute;
  left:max(calc(100vw * -18 / 1400), -18px);
  top:50%;
  transform:translateY(-50%);   /* 시안의 margin-top:-3px(=원 지름의 절반). 크기가 vw 로 줄어도 따라간다 */
  width:min(calc(100vw * 6 / 1400), 6px);
  height:min(calc(100vw * 6 / 1400), 6px);
  border-radius:50%;
  background:var(--ui-blue);
}

/* ── 3-3. Mobile 전체메뉴 — 시안 수치로 맞춘다 ────────────────────────────
   기준: prototypes/gnb-menu/index.html?bp=mo 실측(2026-09-02).
   구조(아코디언)는 이미 시안과 같고 수치만 어긋나 있었다.

     1depth   높이 56 · 좌우 20 · 16px/700 #222222 · 현재 --ui-navy · 구분선 #DDDDDD
     2depth   바탕 --bg-gray · 컨테이너 padding 6 0 12
              항목 min 44 · padding 0 20 0 32 · 15px/400 #333333 · 앞에 불릿

   ⚠ 접힘/펼침 표시(▼)를 걷는다. 2판 READ-FIRST 가 "Mobile 드로어 1depth 행의 › 를
      걷었습니다" 라고 적었고, 실측에서도 여섯 머리 전부 ::after 가 none 이고 자식이 없다.
      nav-handoff 표에는 "없으면 즉시 이동 + 우측 ›" 가 남아 있으나 그것은 갱신되지 않은
      기술이다 — 이 레포는 2depth 가 없는 그룹도 megamenu.tag 가 라벨을 되풀이해 넣으므로
      "2depth 없는 그룹" 자체가 없다.
   ⚠ 불릿은 시안에서 링크 **텍스트**의 일부다(::before 가 아니다). 마크업을 건드리지 않으려고
      여기서는 ::before 로 넣는다 — 보이는 결과는 같고 본문 텍스트는 그대로 남는다. */
/* ▸ 회원구분(권한변경)은 인사말과 **같은 줄이 아니다**. 실측(bp=mo) — 네이비 블록의 자식이
     로고행(48) / 인사말행(35.6, padding 4 0 12) / **회원구분행(48)** / 유틸링크행(45.1)
     네 덩이로 세로로 쌓인다. 회원구분 행은
       폭 전체(343 = 375 − 좌우 16) · 높이 48 · border-top 1px #565D80
       justify-content:space-between → 라벨 왼쪽 · chevron 오른쪽 끝
       라벨 14px/500 흰색 · chevron 10×6 --on-navy-dim(#C7CADA), 오른끝 여백 0
     레포는 __greet 이 flex + space-between 이라 인사말과 select 가 한 줄에 나란히 있었다.
     마크업을 건드리지 않고 __greet 을 block 으로 풀어 두 덩이로 쌓는다.
   ⚠ 이 레포는 권한변경을 **B2B 계정에만** 그린다(megamenu.tag 의 corpId > 0). 시안은 일반회원
      에게도 보여 준다 — 노출 조건은 기능 계약이라 건드리지 않았다. */
[data-mode="mobile"] .chp-megamenu__greet{display:block;padding:0}
[data-mode="mobile"] .chp-megamenu__user{display:block;padding:4px 0 12px}

/* ▸ 회원구분은 네이티브 select 의 드롭다운이 아니라 **하단 시트**로 연다(시안 실측).
     시트를 눌러 고르면 닫히고 트리거 라벨이 바뀐다. 딤은 없다.
       시트   bottom:0 · 전체폭 · height 128 · padding 8 0 · radius 12 12 0 0
              box-shadow rgba(0,0,0,.2) 0 4px 16px · 배경 흰색
       옵션   height 56 · padding 0 20 · 14px/400 #222222
       선택됨 배경 --bg-gray · --ui-blue · medium (체크 표시는 없다)

   ⚠ **기능 계약은 건드리지 않는다.** <select class="curAuth"> 는 DOM 에 그대로 두고
      모바일에서만 감춘다. 시트가 고른 값을 그 select 에 써넣고 change 를 발생시키므로
      header.tag:387 의 $(".curAuth").on("change") → changeAuthUser 경로가 그대로 산다.
      스크립트가 없으면 감춰지지도 않아 네이티브 select 로 그대로 쓸 수 있다.
   ⚠ 토스트는 **모바일 구간에만** 넣는다(사용자 지시). PC·Tablet 은 기존 select 그대로다 —
      시안도 이 시트는 모바일 드로어에서만 확인된다.
   ⚠ 시안은 밖을 눌렀을 때를 정의하지 않았다. 일반적인 바텀시트대로 **바깥 탭·ESC 로 닫는다**
      (사용자 확인 2026-09-02). 딤은 시안대로 넣지 않는다. */
.chp-authsheet,
.chp-authsheet__trigger{display:none}

[data-mode="mobile"] .chp-megamenu__greet .chp-gnb__member--select{display:none}
[data-mode="mobile"] .chp-authsheet__trigger{
  display:flex;
  align-items:center;
  justify-content:space-between;
  width:100%;
  height:48px;
  padding:0;
  border:0;
  border-top:1px solid #565D80;
  border-radius:0;
  background:none;
  color:var(--color-white);
  font:var(--fw-medium) 14px/1 var(--font-core);
  letter-spacing:var(--tracking-core);
  text-align:left;
  cursor:pointer;
}
[data-mode="mobile"] .chp-authsheet__trigger::after{
  content:"";
  flex-shrink:0;
  width:10px;height:6px;
  background:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' fill='none'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23C7CADA' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center;
}
/* 딤 — 시트가 열리면 뒤를 덮는다. 시안 실측 #222222/60% = **--scrim-modal** 이다.
   ⚠ GNB 전체메뉴의 딤(검정 80%)과 **다른 값**이다. nav-handoff 도 그렇게 적어 두었다:
      "오버레이 딤 color-mix(--color-black 80%) … 모달 딤(--scrim-modal 60%)과 다른 값".
      시트는 모달 계열이라 60% 를 쓴다.
   ⚠ 시안은 딤을 시트의 **부모**로 두고 드로어 전체를 덮는다(실측 position:absolute · inset:0
      · z-index:110 · 390×781). 그래서 여기서도 감싸는 구조로 만든다 — 딤을 누르면 닫힌다.
   ▸ 여는 동작 — 딤은 페이드 인, 시트는 슬라이드 업이다.
     **시작값 translateY(12px) 는 실측이다**: 헤드리스가 전환 시작 상태에서 얼어붙어
     opacity:0 · transform matrix(1,0,0,1,0,12) 이 잡혔다. 끝값은 0 이다.
     길이는 시안의 transition 이 shorthand `all` 로만 읽혀 알 수 없었다 —
     이 레포가 다른 곳에서 쓰는 **.12s linear** 로 맞춘다(사용자 지시 2026-09-02).
   ⚠ display 는 전환되지 않는다. [hidden] 을 뗀 다음 프레임에 .is-open 을 붙여야
      브라우저가 시작값(opacity 0 · translateY 12)을 인식한다 — chp-ui.js 가 맡는다. */
/* ⚠ 화면 크기와 무관하게 **시트 전체가 보여야 한다**. 세 가지를 함께 건다 —
     ① 딤은 <body> 직속이다(chp-ui.js 가 옮긴다). 전체메뉴 안에 두면 조상에 transform 이
        하나라도 생기는 순간 position:fixed 가 그 조상에 갇혀, 스크롤해야 보이는 상태가 된다.
     ② 높이를 100dvh 로 잡는다. 모바일 주소창이 접히고 펴지면 100vh(=large viewport)는
        실제 보이는 높이보다 커서 아래쪽이 화면 밖으로 밀린다. dvh 는 현재 보이는 높이다.
        (100vh 줄은 dvh 미지원 폴백이라 순서를 바꾸면 안 된다.)
     ③ 시트에 max-height + overflow-y:auto 를 준다. 옵션이 늘어나거나 화면이 아주 낮아도
        시트가 딤을 넘지 않고 안에서 스크롤한다. 24 는 위쪽 숨 쉴 여백이다.
     viewport-fit=cover(resource.tag:40)라 아래 홈 인디케이터 영역이 있을 수 있어
     padding-bottom 에 safe-area 를 더한다. */
[data-mode="mobile"] .chp-authsheet:not([hidden]){
  display:block;
  position:fixed;
  inset:0;
  height:100vh;
  height:100dvh;
  background:var(--scrim-modal);
  /* 전체메뉴 패널(--zih) 위에 온다. 팝업(--zipop:1100)보다는 낮게 둔다. */
  z-index:calc(var(--zih) + 1);
  opacity:0;
  transition:opacity .12s linear;
}
[data-mode="mobile"] .chp-authsheet.is-open{opacity:1}
[data-mode="mobile"] .chp-authsheet__panel{
  position:absolute;
  left:0;right:0;bottom:0;
  max-height:calc(100% - 24px);
  overflow-y:auto;
  padding:8px 0;
  padding-bottom:calc(8px + env(safe-area-inset-bottom, 0px));
  border-radius:12px 12px 0 0;
  background:var(--color-white);
  box-shadow:0 4px 16px rgba(0,0,0,.2);
  transform:translateY(12px);
  transition:transform .12s linear;
}
[data-mode="mobile"] .chp-authsheet.is-open .chp-authsheet__panel{transform:translateY(0)}
[data-mode="mobile"] .chp-authsheet__opt{
  display:flex;
  align-items:center;
  justify-content:space-between;
  width:100%;
  height:56px;
  padding:0 20px;
  border:0;
  background:var(--color-white);
  color:var(--color-black);
  font:var(--fw-regular) 14px/1 var(--font-core);
  letter-spacing:var(--tracking-core);
  text-align:left;
  cursor:pointer;
}
[data-mode="mobile"] .chp-authsheet__opt.is-current{
  background:var(--bg-gray);
  color:var(--ui-blue);
  font-weight:var(--fw-medium);
}

[data-mode="mobile"] .chp-megamenu__head{
  height:56px;
  padding:0 20px;
  font-size:16px;
}
[data-mode="mobile"] .chp-megamenu__head::after{content:none}
/* 현재 그룹 — GNB-menu-spec 5절 "1depth 행 · 현재 그룹 = --ui-navy. 펼침 여부가 아니라
   현재 화면이 그 그룹에 속하는가로 갈린다". 2026-09-10 의 파랑은 되돌렸다(2026-09-11). */
[data-mode="mobile"] .chp-megamenu__head.is-current{color:var(--ui-navy)}
[data-mode="mobile"] .chp-megamenu__list{padding:6px 0 12px}
[data-mode="mobile"] .chp-megamenu__list a{
  min-height:44px;
  padding:0 20px 0 32px;
  gap:8px;
  font-size:15px;
  color:var(--ui-gray-333);
}
/* ⚠ 앞서 "시안은 불릿이 텍스트의 첫 글자라 붙어 있다" 를 근거로 gap 을 0 으로 두었는데
   그 전제가 틀렸다(2026-09-10 시안 소스로 확인, DT-4514).
   prototypes/gnb-menu/index.html?bp=mo 의 2depth 행은 불릿이 별도 요소이고 gap 이 8 이다 —
     <a style="display:flex;align-items:center;gap:8px;min-height:44px;padding:0 20px 0 32px;
               font:400 15px/1.4 …;color:var(--ui-gray-333)">
       <span style="color:var(--ui-gray-666)">•</span>회원정보</a>
   실측(390): 라벨 x 가 a 왼쪽 기준 시안 46.25 · gap 0 일 때 38.25 로 8 붙어 있었다.
   불릿 색도 라벨(333)보다 한 단 연한 666 이고, 현재 위치일 때만 라벨과 같이 파랑이 된다. */
[data-mode="mobile"] .chp-megamenu__list a::before{content:"\2022";color:var(--ui-gray-666)}
[data-mode="mobile"] .chp-megamenu__list a:hover::before,
[data-mode="mobile"] .chp-megamenu__list a.is-current::before{color:inherit}
/* 현재 위치 파랑이 모바일에서만 먹지 않고 있었다(위 불릿 색을 넣다가 확인).
   chp-layout.css:308 `.chp-megamenu__list a.is-current{color:--ui-blue}` 와
   바로 위 `[data-mode=mobile] .chp-megamenu__list a{color:--ui-gray-333}` 은
   특이성이 (0,2,1) 로 같고 이 파일이 나중에 로드돼 333 이 이겼다. 같은 층으로 올려 되돌린다. */
[data-mode="mobile"] .chp-megamenu__list a.is-current{color:var(--ui-blue)}
/* N 뱃지 — GNB-menu-spec 5절 "--color-red 원 16px · 700 10/16".
   기본값(22 · 12/22)보다 작다. 간격은 위 gap 8 이 맡으므로 기본 margin-left:8 은 눕힌다
   (안 눕히면 8+8=16 이 된다). PC(1-2절)도 같은 이유로 0 이다. */
[data-mode="mobile"] .chp-megamenu__list .chp-newdot{
  margin-left:0;
  width:16px;height:16px;
  font:var(--fw-bold) 10px/16px var(--font-core);
}

/* ── 4. 푸터 보강 ───────────────────────────────────────────────────────── */
/* 링크 줄과 소셜 아이콘을 한 줄에 양끝으로. 시안은 링크만 있어 justify 규칙이 없다. */
.chp-footer__top{display:flex;align-items:center;justify-content:space-between;gap:24px}
.chp-footer__social{display:flex;gap:30px;margin:0;padding:0;list-style:none}
.chp-footer__social > li > a{
  display:flex;align-items:center;justify-content:center;
  width:40px;height:40px;
}
/* 주소·사업자정보(왼쪽) + CCM 인증마크(오른쪽) 를 한 행에.
   기존 푸터는 footer{height:413px} 고정에 기대어 .ccm 을 position:absolute(right:35px)
   로 띄웠다. 새 푸터는 높이가 내용에 따라 늘어나므로 absolute 를 쓰면 겹치거나 잘린다.
   같은 '우측 정렬' 결과를 flex 로 만든다. */
.chp-footer__main{display:flex;align-items:flex-start;justify-content:space-between;gap:40px}
.chp-footer__main .chp-footer__info{flex:1 1 auto;min-width:0}
.chp-footer__ccm{flex:0 0 auto}
.chp-footer__ccm img{width:220px;display:block}

/* ⚠ 예전에는 여기서 소셜 아이콘을 모바일·태블릿에서 감췄다. 기존 스프라이트(.ic-blog 등)가
   PC 픽셀 좌표를 쓰는데 m.css 가 ≤1400 에서 --bgsize 를 바꿔 깨졌기 때문이다(실측 2026-08-14).
   2026-09-03 에 전달본의 개별 SVG 로 바꾸면서 그 이유가 사라져 **감춤 규칙을 걷어냈다**.
   DS 도 세 구간 모두 아이콘을 둔다(PCFooter · TAFooter · MOFooter). 구간별 크기는 4-1절. */
/* ⚠ 예전 모바일 규칙 `flex-direction:column; gap:20` 은 걷었다. 4-1절이 __main 을
   가로 flex(wrap)로 쓰는데 column 이 남아 있으면 align-items:flex-end 가 교차축(가로)에
   걸려 본문이 통째로 **오른쪽 정렬**된다 — 화면으로 확인했다(주소 줄 x=235, 시작은 16). */


/* ── 4-1. 푸터 — 디바이스별 (design-system 기준) ──────────────────────────
   ⚠ 기준을 바꿨다. 처음에는 prototypes/soon 을 헤드리스로 띄워 **재서** 값을 넣었는데,
      READ-FIRST 는 "화면 파일이 아니라 design-system/ 을 보고 구현하십시오" 라고 못 박는다.
      DS 에 세 구간 컴포넌트가 다 있었다 —
        components/chrome/PCFooter.jsx · kit-ta/TAFooter.jsx · kit-mo/MOFooter.jsx
      측정으로는 못 얻는 것들이 거기 있었다: 개인정보처리방침만 700, SNS 자산 4종,
      copyright 과 상패의 아랫변 정렬 규칙, TA 의 두 묶음 구조.

   DS 가 밝힌 세 푸터의 공통 규칙 —
     · 글자가 각 breakpoint 본문과 1:1  (PC 16 / TA 20 / MO 12)
     · 자산이 그 비율             (SNS 36 / 44 / 27 · 상패 220 / 275 / 165)
     · **copyright 밑줄이 상패 아랫변에서 끝난다**(오너 지시 2026.08.27)

   ⚠ 그 아랫변 규칙 때문에 copyright 이 정보 열의 마지막 줄이어야 한다 — footer.tag 에서
      __copy 를 __info 안으로 옮겼다. DS 세 컴포넌트가 모두 그 구조다.
   ⚠ 소셜 아이콘을 전달본 SVG 로 바꾸면서 **태블릿·모바일에서도 노출**한다. 스프라이트가
      깨져서 감추고 있던 것이라 감출 이유가 사라졌다(footer.tag 주석).                    */

/* 공통 */
/* DS 는 정보 항목마다 whiteSpace:nowrap 이다 — 항목이 중간에서 쪼개지지 않고 줄바꿈은
   **항목 사이**에서만 일어난다. 주소 줄은 span 이 아니라 텍스트라 자연 줄바꿈이 남는다. */
.chp-footer__info span{white-space:nowrap}
/* DS 는 링크에도 whiteSpace:nowrap 이다(PCFooter·TAFooter·MOFooter 전부).
   없으면 좁은 폭에서 '이메일주소무단수집거부' 같은 긴 항목이 **글자 중간에서 쪼개진다**.
   줄바꿈은 항목 사이에서만 일어나야 한다. */
.chp-footer__links a{color:var(--color-white);white-space:nowrap}
/* DS: 개인정보처리방침만 fontWeight 700 (PCFooter text3 · TAFooter LINKS b:true) */
.chp-footer__links a.is-strong{font-weight:var(--fw-bold)}
.chp-footer__info{color:#C2C2C2}
.chp-footer__copy{color:#C2C2C2}
.chp-footer__info em{color:var(--color-red);font-style:normal}
.chp-footer__social{display:flex;align-items:center;gap:20px;margin:0;padding:0;list-style:none}
.chp-footer__social > li > a{display:flex;align-items:center;justify-content:center;width:auto;height:auto}
/* 폭은 auto 다 — viewBox(111/36 · 36/36 · 51/36 · 39/36)가 DS 의 구간별 폭을 그대로 낸다. */
.chp-footer__social img{display:block;width:auto}

/* ── PC ── DS PCFooter: 높이 413 고정 · 트랙 1400 · 좌표 배치
     링크 top 61 (SNS 36 행 안에서 세로 중앙) · 주소 184 · 사업자행 218 · 전화행 252
     copyright 318(lh36) · SNS right 0 top 58 gap 20 h36 · 상패 left 1180 top 123 220
   흐름 배치로 같은 좌표를 만든다 — padding-top 58, 묶음 간격은 명시 margin 으로. */
[data-mode="pc"] footer.chp-footer{height:413px;min-height:0;padding:58px 0 0}
[data-mode="pc"] .chp-footer__inner{position:relative;gap:0}
[data-mode="pc"] .chp-footer__social img{height:36px}
[data-mode="pc"] .chp-footer__links{gap:30px}
[data-mode="pc"] .chp-footer__links a{font-size:16px;line-height:30px}
[data-mode="pc"] .chp-footer__main{display:block;margin-top:90px}   /* 탑행 끝 94 → 주소 184 */
[data-mode="pc"] .chp-footer__info{
  font-size:16px;line-height:16px;             /* DS lh 100% */
  display:flex;flex-direction:column;gap:18px; /* 줄 피치 34 = 16 + 18 */
  max-width:calc(100% - 268px);                /* 상패 220 + 여백 48 — 문구가 길어져도 안 겹친다 */
}
[data-mode="pc"] .chp-footer__info > p{display:flex;flex-wrap:wrap;column-gap:19px;row-gap:18px}
[data-mode="pc"] .chp-footer__copy{font-size:16px;line-height:36px;margin-top:32px} /* 268 +18 +32 = 318 */
[data-mode="pc"] .chp-footer__ccm{position:absolute;right:0;top:65px}               /* 58 + 65 = 123 */
[data-mode="pc"] .chp-footer__ccm img{width:220px}

/* ── Tablet ── DS TAFooter: 두 묶음, 사이 56 · 판 안쪽 위 56 / 아래 64
   ⚠ **값을 고정 px 로 두면 안 된다.** DS 의 20px 은 캔버스 1400 기준이고, 태블릿 구간은
      1400 을 폭에 맞춰 줄이는 곳이다(nav-handoff: 769–1399 · 1400 기준 vw 유동 · k = w/1400).
      시안 뷰어도 1400 캔버스를 창 폭으로 축소해 보여 준다 — 컨트롤에 "고정 · 1024px - Tablet"
      으로 표시된다. 그래서 1024 화면에서 시안 글자는 20 × 1024/1400 = **14.6px** 로 읽힌다.
      처음에 20px 고정으로 넣어 시안보다 27% 크게 나왔다(사용자 지적, 화면 비교).
      이 레포도 태블릿 chp 는 이미 calc(100vw * V / 1400) 로 60곳을 짜 두었다 — 같은 방식으로
      맞춘다. line-height 는 단위 없는 배수라 글자 크기를 따라간다.
   ⚠ 탭 타깃 44 도 함께 줄어든다(1024 에서 32). 시안도 캔버스째 축소되므로 같은 결과지만,
      접근성 기준(44)에서는 벗어난다 — 판단이 필요하면 이 자리다.
     ① 링크 + SNS  (space-between · 링크 columnGap 32 / rowGap 16 · SNS gap 20 · 탭 44)
     ② 정보열 + 상패 (align-items:flex-end · gap 48) → copyright 밑줄 = 상패 아랫변
     copyright 은 ② 왼쪽 열의 마지막 줄이고 margin-top 32 를 더 갖는다.
   ⚠ DS 는 트랙을 1288 **고정**으로 두지만 그것은 캔버스 1400 전제다. 실제 태블릿은 1138 등
      더 좁아 고정하면 넘친다 — 폭 100% + 좌우 56(--space-section-side)으로 옮긴다. */
[data-mode="tablet"] footer.chp-footer{
  height:auto;min-height:0;
  padding:min(calc(100vw * 56 / 1400), 56px) 0 min(calc(100vw * 64 / 1400), 64px);
}
[data-mode="tablet"] .chp-footer__inner{
  position:static;
  width:100%;
  padding:0 min(calc(100vw * 56 / 1400), 56px);
  gap:min(calc(100vw * 16 / 1400), 16px);
}
/* 탑행 → 정보 사이만 56 이다(16 + 40). Copyright 은 16 을 그대로 쓴다. */
[data-mode="tablet"] .chp-footer__main{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:min(calc(100vw * 48 / 1400), 48px);
  margin-top:min(calc(100vw * 40 / 1400), 40px);
}
[data-mode="tablet"] .chp-footer__social{gap:min(calc(100vw * 20 / 1400), 20px)}
[data-mode="tablet"] .chp-footer__social img{height:min(calc(100vw * 44 / 1400), 44px)}
[data-mode="tablet"] .chp-footer__social > li > a{
  min-width:min(calc(100vw * 44 / 1400), 44px);
  height:min(calc(100vw * 44 / 1400), 44px);
}
[data-mode="tablet"] .chp-footer__links{gap:min(calc(100vw * 16 / 1400), 16px) min(calc(100vw * 32 / 1400), 32px)}
[data-mode="tablet"] .chp-footer__links a{font-size:clamp(14px, calc(100vw * 20 / 1400), 20px);line-height:1.5}
[data-mode="tablet"] .chp-footer__info{
  font-size:clamp(14px, calc(100vw * 20 / 1400), 20px);
  line-height:1.6;
  display:flex;flex-direction:column;
  gap:min(calc(100vw * 16 / 1400), 16px);
  min-width:0;max-width:none;
}
[data-mode="tablet"] .chp-footer__info > p{
  display:flex;flex-wrap:wrap;
  column-gap:min(calc(100vw * 32 / 1400), 32px);
  row-gap:min(calc(100vw * 16 / 1400), 16px);
}
[data-mode="tablet"] .chp-footer__copy{
  font-size:clamp(14px, calc(100vw * 20 / 1400), 20px);
  line-height:1.6;
  margin-top:min(calc(100vw * 32 / 1400), 32px);
}
[data-mode="tablet"] .chp-footer__ccm{position:static;flex-shrink:0}
[data-mode="tablet"] .chp-footer__ccm img{width:min(calc(100vw * 275 / 1400), 275px)}

/* ── Mobile ── DS MOFooter: padding 40 16 48 · 묶음 사이 32
     ① 링크 + SNS 를 세로로(gap 24) · 링크 columnGap 16 / rowGap 12 · SNS gap 8 · 탭 44
     ② 정보 줄 사이 12 · 마지막 행에 [copyright | 상패] 를 아랫변 정렬(margin-top 12)
   ⚠ 상패를 글 묶음 **옆**에 세울 폭이 없어 copyright 줄만 상패와 한 행이다(DS 주석).
      __info 를 display:contents 로 풀어 그 줄과 상패를 같은 flex 행에 올린다. */
[data-mode="mobile"] footer.chp-footer{height:auto;min-height:0;padding:40px 16px 48px}
[data-mode="mobile"] .chp-footer__inner{position:static;width:100%;padding:0;gap:32px}
[data-mode="mobile"] .chp-footer__top{flex-direction:column;align-items:flex-start;gap:24px}
[data-mode="mobile"] .chp-footer__social{gap:8px}
[data-mode="mobile"] .chp-footer__social img{height:27px}
[data-mode="mobile"] .chp-footer__social > li > a{min-width:44px;height:44px}
[data-mode="mobile"] .chp-footer__links{gap:12px 16px}
[data-mode="mobile"] .chp-footer__links a{display:block;font-size:12px;line-height:1.6}
/* ⚠ justify-content 를 flex-start 로 되돌려야 한다. 4절의 .chp-footer__main 이
   space-between 을 갖고 있어서, 줄마다 한 줄씩 놓인 <p> 가 **오른쪽으로 밀렸다**
   — 화면으로 확인했다(주소 줄 x=188, 콘텐츠 시작은 16).
   폭도 flex-basis 에만 기대지 않고 width:100% 로 못 박는다. */
[data-mode="mobile"] .chp-footer__main{
  display:flex;flex-wrap:wrap;
  align-items:flex-end;
  justify-content:flex-start;
  gap:12px;
}
[data-mode="mobile"] .chp-footer__info{display:contents}
[data-mode="mobile"] .chp-footer__info > p{
  flex:0 0 100%;width:100%;
  font-size:12px;line-height:1.6;
  display:flex;flex-direction:column;gap:12px;   /* 항목마다 한 줄 */
}
[data-mode="mobile"] .chp-footer__info > p span{display:block}
/* ⚠ 주소 줄의 **강제 줄바꿈을 끈다**. 레거시 <br class="m-br"> 이 m.css:81(≤768 블록)에서
   display:block !important 로 살아나 주소가 '…대교타워' / '(주)대교' 두 줄로 쪼개진다.
   DS MOFooter 의 주소는 한 덩이라 폭이 남으면 한 줄이고, 모자라면 자연 줄바꿈이다
   (실측: 시안 343 폭에서 1줄 · 레포는 강제로 2줄). m.css 가 !important 라 여기도 필요하다. */
[data-mode="mobile"] .chp-footer__info .m-br{display:none !important}
/* ⚠ 전화 줄만 예외다. DS MOFooter 는 '전화 상담 : 080-222-0909 월~금(공휴일 제외) 09:00~18:00'
   을 **한 span** 으로 두고 이메일을 다음 줄로 내린다 — 두 줄이다. 위 규칙만 두면 셋 다
   따로 내려가 세 줄이 된다(사용자 지적). 앞 둘을 한 줄로 흘리고 이메일에만 100% 를 준다.
   간격 4 는 DS 가 두 문구 사이에 넣은 공백 한 칸에 해당한다. */
[data-mode="mobile"] .chp-footer__info > p.chp-footer__contact{
  flex-direction:row;
  flex-wrap:wrap;
  column-gap:4px;
  row-gap:12px;
}
[data-mode="mobile"] .chp-footer__info > p.chp-footer__contact .chp-footer__mail{flex:0 0 100%}
/* ⚠ __copy 는 이제 __info 안의 <p> 라 위 규칙(.chp-footer__info > p, 특이성 0-2-1)에
   함께 잡힌다. 클래스를 덧붙여 특이성을 올려야 flex 가 덮이지 않는다 — 그러지 않으면
   copyright 이 전체폭을 차지해 상패와 한 행에 서지 못한다. */
[data-mode="mobile"] .chp-footer__info > p.chp-footer__copy{
  /* flex-grow 0 — 늘어나면 한 줄로 퍼져 상패와 멀어진다(DS 는 2줄로 상패에 붙는다). */
  flex:0 1 auto;width:auto;
  font-size:12px;line-height:1.6;
  margin-top:12px;
}
[data-mode="mobile"] .chp-footer__ccm{flex:0 0 auto;margin-left:auto;margin-top:12px}
[data-mode="mobile"] .chp-footer__ccm img{width:165px}
/* Copyright 줄바꿈 — DS MOFooter 는 "Copyright © 2022 DAEKYO.<br />All Rights Reserved" 로
   **2줄**이다. 그래서 폭이 145 로 좁아 상패(165) 바로 옆에 붙어 한 행으로 읽힌다.
   레포는 한 줄이라 291 로 퍼지고 상패가 멀리 밀려 "따로 있는" 것처럼 보였다 — 사용자 지적.
   ⚠ 레거시 .m-br 을 쓰지 않는다. m.css:81 의 `.m-br{display:block !important}` 가
      ≤1400 블록이라 **태블릿에도** 줄바꿈이 걸리는데, DS 태블릿 copyright 은 한 줄이다. */
.chp-footer__copy-br{display:none}
[data-mode="mobile"] .chp-footer__copy-br{display:inline}


/* ── 5. 기간 검색바 캘린더 — 레거시 datepicker 를 시안 모양으로 ────────────
   ⚠ **검색바 컴포넌트 자체는 이미 있다.** 산출물에서 복사해 온 CSS 에 들어 있다 —
        chp-components.css:483  .chp-datefield (+ __value · __icon · input · --fluid)
        chp-components.css:898  .chp-searchbar (+ __group · __label · __tilde
                                · __divider · __submit)
        chp-mobile.css:42~55    모바일 3단 쌓기(--dates · --chips)
        chp-tokens.css          --chp-search-* · --chp-date-* 를 모드별로 갖고 있다
     처음에 이 절에서 같은 것을 다시 선언했는데 중복이었다. 걷어내고 **없는 것만** 남겼다.
     새 컴포넌트를 만들기 전에 chp-components.css 를 먼저 grep 할 것.

   여기 남은 것은 두 가지다.
     ① 캘린더 — 산출물에는 없다. 시안은 React 로 직접 그리지만 우리는 레거시
        jQuery UI datepicker(front.js:141 $.fn.datep)를 쓰므로 .ui-datepicker 를
        시안 값으로 재정의한다. 그리드 구조가 이미 같다 — 7열, 일요일 시작
        (front.js:19 firstDay:0), 월 헤더 + 이전/다음, yy.mm.dd.
     ② 산출물이 시안과 어긋난 자리 하나 — 태블릿 조회 버튼 폭.

   시안 캘린더 값(prototypes/_lib/CPSearchBar.jsx SPEC)
     pc  셀36 요일12 일14 / 팝오버 폭 284(=36*7+32) padding16 radius8
     ta  셀40 요일13 일15 / 팝오버 폭 312
     mo  셀38 요일12 일14 / 하단 시트
   ------------------------------------------------------------------------ */

/* 5-1. 산출물↔시안 차이 — 태블릿 조회 버튼 폭 ───────────────────────────
   chp-mobile.css:205 가 태블릿에서 160 을 준다. 시안은 브레이크포인트와 무관하게
   120 이다(CPSearchBar: width: stacked ? '100%' : 120). 모바일 100% 는 그대로 둔다.
   → 태블릿의 실제 값은 5-9 절이 1400 캔버스 비율로 다시 준다. */
[data-mode="tablet"] .chp-searchbar__submit{width:120px}

/* 5-2. 레거시 .inp-date 를 .chp-datefield 안에서 쓰기 ────────────────────
   화면 JSP 의 날짜 입력은 `.inp-date > input#searchFromDate` 다. 이 구조가
   front.js 의 $.fn.datep 이 datepicker 를 붙이는 자리이자 DateUtil.js 가 찾는
   자리라 **바꿀 수 없다.** 그래서 .chp-datefield 로 감싸고 안쪽 .inp-date 는
   테두리·배경 없는 통로로 만든다 — 겉모습은 .chp-datefield 가 낸다. */
.chp-datefield .inp-date{
  display:flex;align-items:center;min-width:0;flex:1 1 auto;
  border:0;background:none;padding:0;margin:0;
}
.chp-datefield .inp-date input{
  /* .chp-datefield input 규칙이 이미 테두리·배경·폰트를 잡는다. 여기서는
     레거시가 넣는 배경 아이콘만 끈다 — 아이콘은 __icon 슬롯이 그린다. */
  background-image:none;cursor:pointer;width:100%;
}
/* ⚠ 위 규칙만으로는 배경이 회색으로 남는다. custom.css:173 이
   `input[type="text"][readonly]{background:var(--moc01)}` 로 #f5f5f5 를 깔고,
   그 특이성 (0,2,1) 이 chp-components.css:517 `.chp-datefield input`(0,1,1)보다
   높아서 **로드 순서와 무관하게 이긴다.** 실측에서 흰 상자 안에 회색 빈칸이
   보인 원인이 이것이다. 같은 속성 조합을 달아 (0,4,1)로 되돌린다.
   readonly 는 달력으로만 입력받기 위한 것이므로 커서도 pointer 로 둔다. */
.chp-datefield .inp-date input[type="text"][readonly]{
  background:transparent;cursor:pointer;
}
/* 상자 전체가 클릭 영역이다(searchDate.tag 의 위임 핸들러) — 커서도 맞춘다.
   아이콘은 클릭을 먹지 않아도 되지만, 상자 핸들러가 받으므로 그대로 둔다. */
.chp-searchbar .chp-datefield{cursor:pointer}
/* datepicker 가 showOn:"both" 로 만드는 트리거 버튼은 감춘다 — __icon 과 중복이다. */
.chp-datefield .ui-datepicker-trigger{display:none}

/* 5-3. 캘린더 — .ui-datepicker 재정의 ────────────────────────────────────
   ⚠ jQuery UI 는 #ui-datepicker-div 를 <body> 끝에 하나만 만들어 재사용한다.
      [data-mode] 는 <body> 에 있으므로 자손 선택이 정상 동작한다.
   ⚠ 특이성 — plugin.css 가 .ui-datepicker 클래스로 잡으므로 id 로 이긴다.
      z-index 는 jQuery UI 가 **인라인으로** 박으므로(실측 1) !important 가 필요하다. */
#ui-datepicker-div.ui-datepicker{
  box-sizing:border-box;
  width:284px;                    /* 셀 36 × 7 + padding 32 */
  padding:16px;
  background:var(--color-white);
  border:1px solid var(--ui-line-ddd);
  border-radius:8px;
  box-shadow:0 8px 24px rgba(0,0,0,.12);
  font:var(--fw-regular) 14px/1 var(--font-core);
  letter-spacing:var(--tracking-core);
  z-index:1100 !important;        /* 기존 팝업 스케일(--zipop:1100)과 맞춘다 */
}
[data-mode="tablet"] #ui-datepicker-div.ui-datepicker{width:312px}   /* 셀 40 */
[data-mode="mobile"] #ui-datepicker-div.ui-datepicker{width:298px}   /* 셀 38 */

/* 헤더 — "YYYY년 M월" 가운데, 이전/다음 28×28.
   문구는 CSS 로 못 바꾼다 — 레거시 로케일(front.js:9)이 "2026. 01" 을 만든다.
   <ui:searchDate> 가 해당 인스턴스에만 monthNames·yearSuffix 를 덮는다. */
#ui-datepicker-div .ui-datepicker-header{
  position:relative;display:flex;align-items:center;justify-content:space-between;
  margin:0 0 12px;padding:0;border:0;background:none;
}
/* ⚠ 헤더에는 ui-helper-clearfix 가 붙어 있고 그 ::before/::after 가 `content:""`
   `display:table` 이다. flex 컨테이너에서 **의사요소도 flex 아이템**이 되고
   order 가 0 이라 prev(1)·title(2)·next(3) 보다 앞에 선다. 그래서 아이템이 5개가
   되어 space-between 이 간격을 4등분하고, 헤더 전체가 오른쪽으로 밀린다 —
   실측 PC: prev 가 왼쪽 끝(547)이 아니라 606, 간격이 59 가 아니라 29.5 였다.
   float 시절의 clearfix 라 flex 에서는 쓸모가 없으므로 끈다. */
#ui-datepicker-div .ui-datepicker-header::before,
#ui-datepicker-div .ui-datepicker-header::after{display:none}
#ui-datepicker-div .ui-datepicker-title{
  order:2;margin:0;
  font:500 16px/1.4 var(--font-core);
  letter-spacing:var(--tracking-core);
  color:var(--color-black);
}
[data-mode="tablet"] #ui-datepicker-div .ui-datepicker-title{font-size:20px}
[data-mode="mobile"] #ui-datepicker-div .ui-datepicker-title{font-size:14px}
#ui-datepicker-div .ui-datepicker-prev,
#ui-datepicker-div .ui-datepicker-next{
  position:static;top:auto;left:auto;right:auto;
  width:28px;height:28px;
  display:inline-flex;align-items:center;justify-content:center;
  border:0;background:none;border-radius:4px;cursor:pointer;
  color:var(--ui-gray-444);
  /* ⚠ style.css:332 가 `top:50%` 절대배치와 짝지어 `transform:translate(0,-50%)`
     를 걸어 둔다. position 을 static 으로 되돌리면 top 은 무시되지만 **transform
     은 static 요소에도 그대로 적용된다** — 화살표만 28의 절반인 14px 위로 올라가
     제목과 높이가 어긋난다(실측: 화살표 중심 60 / 제목 중심 74). */
  transform:none;
}
/* ⚠ style.css:333 이 :before 로 스프라이트 화살표를 하나 더 그린다(실측 6×10,
   배경 이미지 로드됨). 우리는 span 에 마스크로 시안 chevron 을 그리므로 중복이다.
   prev/next 가 static 이라 이 :before 는 position:relative 인 헤더를 기준으로
   잡혀 엉뚱한 자리에 겹친다. */
#ui-datepicker-div .ui-datepicker-prev::before,
#ui-datepicker-div .ui-datepicker-next::before{display:none}
#ui-datepicker-div .ui-datepicker-prev{order:1}
#ui-datepicker-div .ui-datepicker-next{order:3}
/* 기본 스프라이트를 끄고 시안 chevron(8×13, stroke 1.4)으로 그린다 */
#ui-datepicker-div .ui-datepicker-prev span,
#ui-datepicker-div .ui-datepicker-next span{
  display:block;width:8px;height:13px;margin:0;
  position:static;text-indent:0;
  background:currentColor;
  -webkit-mask:var(--chp-cal-chevron) center/8px 13px no-repeat;
          mask:var(--chp-cal-chevron) center/8px 13px no-repeat;
}
#ui-datepicker-div .ui-datepicker-next span{transform:rotate(180deg)}
:root{
  --chp-cal-chevron:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='13' viewBox='0 0 8 13' fill='none'%3E%3Cpath d='M7 1L1.5 6.5L7 12' stroke='%23000' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* 요일 줄 — 내용 24 + 아래 여백 4.
   ⚠ box-sizing:border-box 라 height 안으로 padding 이 흡수된다(실측). 그래서
      height 를 28 로 두어야 내용이 24 가 된다. 첫 날짜 행에 padding-top 을 주면
      그 행만 4px 높아진다(실측 40 vs 36). */
/* ⚠ style.css:341 이 표에 height:153px 을 박아 둔다. 표의 height 는 최소높이로
   동작해서 4주짜리 달(4×36=144)에서 행이 늘어난다. 시안은 행 높이가 고정이다. */
#ui-datepicker-div .ui-datepicker-calendar{width:100%;height:auto;border-collapse:collapse;margin:0}
#ui-datepicker-div .ui-datepicker-calendar th{
  height:28px;padding:0 0 4px;border:0;font-weight:var(--fw-regular);
  font-size:12px;line-height:1;color:var(--grayscale-300);
  text-align:center;
  /* ⚠ th 기본값은 vertical-align:baseline 이다. line-height 가 12 뿐이라 글자가
     24 밴드의 **맨 위**에 붙고, 남은 12 + padding 4 가 아래로 몰려 날짜 행이
     내려앉은 것처럼 보인다(실측: 요일 중심 106 · 첫 날짜 중심 146 = 40 간격,
     시안은 34). 시안은 span 을 height 24 · align-items:center 로 그린다 —
     표에서는 middle 한 줄이 같은 결과다. */
  vertical-align:middle;
}
[data-mode="tablet"] #ui-datepicker-div .ui-datepicker-calendar th{font-size:13px}
#ui-datepicker-div .ui-datepicker-calendar thead tr th:first-child{color:var(--color-red)}

/* 날짜 셀 */
#ui-datepicker-div .ui-datepicker-calendar td{padding:0;border:0;text-align:center}
#ui-datepicker-div .ui-datepicker-calendar td a,
#ui-datepicker-div .ui-datepicker-calendar td span{
  display:flex;align-items:center;justify-content:center;
  height:36px;padding:0;border:0;background:none;
  font:var(--fw-regular) 14px/1 var(--font-core);
  letter-spacing:var(--tracking-core);
  color:var(--ui-gray-333);
  border-radius:0;
  /* ⚠ width 를 안 주면 칸을 다 채우지 않는다 — jQuery UI 기본 CSS 가 a 에 폭을
     주고 있어 display:flex 만으로는 부족하다(실측 td 35.7 인데 a 24). */
  width:100%;box-sizing:border-box;
}
[data-mode="tablet"] #ui-datepicker-div .ui-datepicker-calendar td a,
[data-mode="tablet"] #ui-datepicker-div .ui-datepicker-calendar td span{height:40px;font-size:15px}
[data-mode="mobile"] #ui-datepicker-div .ui-datepicker-calendar td a,
[data-mode="mobile"] #ui-datepicker-div .ui-datepicker-calendar td span{height:38px}
/* 비활성(다른 달 · min/max 밖) */
#ui-datepicker-div .ui-datepicker-calendar td.ui-datepicker-unselectable span,
#ui-datepicker-div .ui-datepicker-calendar td.ui-state-disabled span{color:var(--grayscale-100)}
/* 오늘 — 시안은 채움 없이 파란 외곽선만이다.
   ⚠ jQuery UI 가 오늘 날짜의 <a> 에 ui-state-highlight 를 붙이고, style.css:345 가
      그 클래스에 `background:var(--mlc); border-radius:50%` 로 **원형 채움**을 준다.
      외곽선만 얹으면 채움이 남으므로 함께 지운다. */
#ui-datepicker-div .ui-datepicker-calendar td.ui-datepicker-today a:not(.ui-state-active){
  outline:1px solid var(--ui-blue);outline-offset:-1px;
  background:transparent;border-radius:0;
}
/* 기간 하이라이트 — 시안 Calendar 의 inRange / edge.
   시작일·종료일 사이를 --surface-row-selected 로 잇고, 양끝은 r4 로 둥글린다.
   클래스는 beforeShowDay 가 <td> 에 붙인다(<a> 가 아니다 — jQuery UI 규약).
   ⚠ 반드시 '선택'(.ui-state-active) 규칙보다 **위**에 있어야 한다. 특이성이
      같아서 순서로 갈리는데, 아래에 두면 선택일이 밴드색에 덮인다. */
#ui-datepicker-div .ui-datepicker-calendar td.chp-cal-range a,
#ui-datepicker-div .ui-datepicker-calendar td.chp-cal-range span{
  background:var(--surface-row-selected);border-radius:0;
}
#ui-datepicker-div .ui-datepicker-calendar td.chp-cal-edge a,
#ui-datepicker-div .ui-datepicker-calendar td.chp-cal-edge span{
  background:var(--surface-row-selected);border-radius:4px;
}

/* 선택 */
#ui-datepicker-div .ui-datepicker-calendar td a.ui-state-active{
  background:var(--ui-blue);color:var(--color-white);
  border-radius:4px;font-weight:500;
}
#ui-datepicker-div .ui-datepicker-calendar td a:hover{background:var(--surface-row-selected);border-radius:4px}
#ui-datepicker-div .ui-datepicker-calendar td a.ui-state-active:hover{background:var(--ui-blue)}

/* 하단 버튼 줄 — 시안은 구분선 아래 [오늘](outline) · [닫기](navy) 를 반씩 둔다.
   front.js:144 가 showButtonPanel:false 로 만들므로 <ui:searchDate> 가 이 인스턴스만
   true 로 덮고, 라벨도 currentText/closeText 로 시안 문구를 준다. */
#ui-datepicker-div .ui-datepicker-buttonpane{
  display:flex;gap:8px;margin:12px 0 0;padding:12px 0 0;
  border-top:1px solid var(--ui-line-ddd);
  background:none;
}
#ui-datepicker-div .ui-datepicker-buttonpane button{
  flex:1 1 0;float:none;margin:0;
  height:calc(var(--chp-btn-h-sm) * 1px);
  padding:0 calc(var(--space-btn-x) * 1px);
  border:0;
  border-radius:calc(var(--radius-btn) * 1px);
  font:var(--fw-regular) calc(var(--chp-btn-fs-sm) * 1px)/1.4 var(--font-core);
  font-weight:var(--chp-btn-fw-sm);
  letter-spacing:var(--tracking-core);
  cursor:pointer;
}

/* DT-4618 [오늘] · [닫기] small(PC 36 · Tablet 46) — 퍼블 2026-11-05. Mobile 은 시트 버튼이라 medium 유지 */
[data-mode="mobile"] #ui-datepicker-div .ui-datepicker-buttonpane button{
  height:calc(var(--chp-btn-h-md) * 1px);
  font:var(--fw-regular) calc(var(--chp-btn-fs-md-quiet) * 1px)/1.4 var(--font-core);
}
#ui-datepicker-div .ui-datepicker-buttonpane button.ui-datepicker-current{
  background:var(--color-white);color:var(--ui-gray-666);
  box-shadow:inset 0 0 0 1px var(--ui-line-e2e2e2);
}
#ui-datepicker-div .ui-datepicker-buttonpane button.ui-datepicker-close{
  background:var(--ui-navy);color:var(--color-white);
  box-shadow:inset 0 0 0 1px var(--ui-navy);
}

/* 열려 있는 입력칸 — 시안 PickerField 는 open 이면 테두리와 **달력 아이콘**이
   모두 --ui-blue 로 바뀐다(닫힘은 테두리 --ui-line-ddd · 아이콘 --grayscale-200).
   아이콘 SVG 가 fill="currentColor" 라 래퍼의 color 만 바꾸면 된다.
   <ui:searchDate> 의 beforeShow/onClose 가 .is-open 을 붙였다 뗀다.
   테두리는 --grayscale-200 · 아이콘은 blue 유지(디자인QA DT-4651 · 전달본 2026.11.12). */
.chp-datefield.is-open{border-color:var(--grayscale-200)}
.chp-datefield.is-open .chp-datefield__icon{color:var(--ui-blue)}

/* 5-4. 모바일 — 하단 시트 ───────────────────────────────────────────────
   시안은 모바일에서 팝오버가 아니라 **하단 시트**를 쓴다(CPMoDateSheet).
   jQuery UI 가 position/top/left 를 인라인으로 박으므로 자리는 !important 로 덮는다.
   ⚠ 스크림과 슬라이드 애니메이션은 별도 요소·상태가 필요해 CSS 만으로는 못 넣는다.
      지금은 시트 자리·모양까지다. chp-ui.js 보강이 필요하다. */
[data-mode="mobile"] #ui-datepicker-div.ui-datepicker{
  position:fixed !important;
  left:0 !important;right:0 !important;
  top:auto !important;bottom:0 !important;
  width:100% !important;
  /* ⚠ 사이트 채팅 런처(iframe#launcher)가 z-index 999999 로 우측 하단에 떠 있어
     시트의 마지막 주 토요일 칸을 덮는다 — 실측 390×844 에서 런처가 310~374 ·
     764~828 을 차지해 28일을 누를 수 없었다. 시트는 잠깐 뜨는 모달 면이므로
     런처보다 위에 온다. 5-3 절의 1100 을 모바일에서만 올린다. */
  z-index:1000000 !important;
  padding:16px 16px 24px;
  border:0;
  border-radius:calc(var(--radius-container) * 1px) calc(var(--radius-container) * 1px) 0 0;
  box-shadow:var(--shadow-bar-sm);
}
/* 시트에서는 날짜 열이 폭을 균등 분할한다(시안 inline: repeat(7,1fr)) */
[data-mode="mobile"] #ui-datepicker-div .ui-datepicker-calendar th,
[data-mode="mobile"] #ui-datepicker-div .ui-datepicker-calendar td{width:calc(100% / 7)}

/* 5-5. 좁은 폭에서 바가 한 줄에 안 들어간다 ──────────────────────────────
   시안은 태블릿을 1400 캔버스로 그린다(콘텐츠 1288). 우리 태블릿은 실제 기기 폭이라
   1024 에서 콘텐츠 열이 939 다. 실측하면 바 내용이 **1,169** 를 원한다 —
   기간 그룹 665 + 칩 347 + 구분선 1 + 조회 120 + gap 36. 230 이 모자란다.
   PC(1140)도 아슬아슬하다.

   시안 치수를 줄이는 대신 **줄을 바꾼다.** 요소 크기는 시안 그대로 두고 바만 wrap 한다 —
   기간 그룹이 한 줄, 칩+조회가 다음 줄로 내려간다. 폭이 넉넉하면 한 줄로 붙는다.
   ⚠ 조회 버튼과 구분선은 shrink 를 막아야 한다. 안 막으면 시안 120 이 100 으로
      쪼그라든다(실측 태블릿 1024). 산출물 CSS 에 flex-shrink 지정이 없다. */
.chp-searchbar{flex-wrap:wrap}
.chp-searchbar__divider,
.chp-searchbar__submit{flex-shrink:0}
/* ⚠ 줄바꿈이 구분선과 조회 사이에서 일어나면 1px 선만 앞 줄 끝에 남는다
   (실측 태블릿 1024). searchDate.tag 가 둘을 __group--tail 로 묶어 붙여 두므로
   선은 항상 조회를 따라간다. 그룹 자체도 쪼그라들지 않게 막는다. */
.chp-searchbar__group--tail{flex-shrink:0}
/* 모바일 시안은 3단이다 — 라벨+기간 / 칩(전폭 균등) / 조회(전폭).
   --tail 안에 칩·구분선·조회가 함께 있으므로 모바일에서는 그룹을 세로로 풀어야
   그 3단이 나온다. 구분선은 chp-mobile.css 가 이미 감춘다(시안 mo.divider = 0). */
[data-mode="mobile"] .chp-searchbar__group--tail{
  width:100%;
  flex-direction:column;
  align-items:stretch;
}

/* 5-6. 산출물↔시안 차이 — 모바일 바 좌우 여백 ───────────────────────────
   --chp-search-px 의 모바일 값이 20 인데(chp-tokens.css) 시안은 16 이다.
   CPSearchBar 의 stacked 분기와 CPMobile 실사용 모두 `... 16px` 로 박아 두었고,
   SPEC.mo.px(20)은 그 분기에서 쓰이지 않는다. 시안을 따른다. */
[data-mode="mobile"] .chp-searchbar{padding-left:16px;padding-right:16px}

/* 5-7. 퀵 칩 — 레거시 클래스에 시안 모양을 입힌다 ─────────────────────────
   시안의 칩은 CPButton 의 outline / outline+selected 두 상태다
   (.chp-btn--outline, .chp-btn--outline.is-selected).
   ⚠ 그런데 칩에 chp 클래스를 얹을 수 없다 — 화면 초기설정 스크립트가
   `$("#yearM").attr('class','btn-gry')` 로 **클래스 속성을 통째로 교체**해서
   활성 표시를 하기 때문이다(counselCmpl.jsp:126·131·136). 얹어 두면 첫 전환에서
   chp 클래스가 함께 날아간다. 그래서 마크업은 레거시 클래스(btn-b-lgry /
   btn-gry) 그대로 두고 **검색바 안에서만** 모양을 시안으로 맞춘다 —
   기능 계약을 건드리지 않는 방법이다.
   > 로 직계만 잡으므로 표 행의 btn-b-lgry(상담취소·결제하기)에는 닿지 않는다. */
.chp-searchbar .chp-searchbar__group--chips > .btn-b-lgry,
.chp-searchbar .chp-searchbar__group--chips > .btn-gry{
  display:inline-flex;align-items:center;justify-content:center;
  height:calc(var(--chp-btn-h-md) * 1px);
  padding:0 calc(var(--space-btn-x) * 1px);
  border:0;
  border-radius:calc(var(--radius-btn) * 1px);
  background:var(--color-white);
  color:var(--ui-gray-666);
  box-shadow:inset 0 0 0 1px var(--ui-line-e2e2e2);
  font:var(--fw-regular) calc(var(--chp-btn-fs-md-quiet) * 1px)/1.4 var(--font-core);
  letter-spacing:var(--tracking-core);
  white-space:nowrap;cursor:pointer;
}
/* 선택된 칩. 채움을 쓰면 #EEE 가 "비활성"으로 읽혀서 시안은 흰 바탕 + navy 링 +
   navy Bold 로 따로 만들었다(.chp-btn--outline.is-selected 와 같은 값이다). */
.chp-searchbar .chp-searchbar__group--chips > .btn-gry{
  color:var(--ui-navy);
  box-shadow:inset 0 0 0 1px var(--ui-navy);
  font-weight:var(--fw-bold);
}
/* 모바일에서 칩이 남는 폭을 고르게 나누는 규칙은 chp-mobile.css:51 에 있는데
   셀렉터가 `.chp-btn` 이라 레거시 클래스 칩에는 걸리지 않는다. 같은 값을 준다. */
[data-mode="mobile"] .chp-searchbar .chp-searchbar__group--chips > .btn-b-lgry,
[data-mode="mobile"] .chp-searchbar .chp-searchbar__group--chips > .btn-gry{
  flex:1 1 0;min-width:0;padding:0 8px;
}

/* 5-8. 조회 버튼 — 시안은 navy 다 ────────────────────────────────────────
   레거시 .btn-blk 는 #333 채움이고 시안 CPSearchBar 의 조회는 CPButton
   type="navy" 다. 이 버튼은 스크립트가 클래스를 건드리지 않으므로(onclick 만
   있다) searchDate.tag 는 chp 컴포넌트(`chp-btn chp-btn--navy`)를 바로 쓴다.
   아래 규칙은 레거시 마크업을 그대로 둔 화면이 검색바를 이관할 때를 위한 것이다. */
.chp-searchbar .btn-blk.chp-searchbar__submit{
  background:var(--ui-navy);
  border-color:var(--ui-navy);
  color:var(--color-white);
}

/* ── 5-9. Tablet — 시안 1400 캔버스 비율로 축소한다 ────────────────────────
   시안의 태블릿은 **1400 캔버스를 창에 맞게 축소해서** 보여준다. 그래서 창이
   좁아도 바가 한 줄이다. 우리 태블릿은 뷰포트가 실제 기기 폭이라 시안의 절대
   치수(필드 58/글자 20/여백 62)를 그대로 쓰면 좁은 기기에서 넘친다 —
   실측: 필요 940 vs 사용가능 800→609 · 1024→815 · 1280→1049 · 1400→1159.
   즉 **뷰포트 1230 미만에서는 반드시 줄이 바뀐다.**

   그래서 태블릿 구간만 치수를 `100vw * N / 1400` 로 준다. 시안 캔버스 축소와
   수식이 같으므로 어느 폭에서든 시안과 같은 비율·같은 한 줄이 된다.
   레거시 m.css 태블릿 블록도 같은 모델(vw)이라 사이트 전체와도 어긋나지 않는다.
   N 은 시안 SPEC.ta 값 그대로다 — px 62 · gap 12 · h 138 · label 20 · divider 24 ·
   fh 58 · fr 6 · fpx 20 · fgap 12 · ffs 20, 세로 여백 40, 조회 폭 120.

   ⚠ 모바일은 건드리지 않는다. 시안 모바일은 축소가 아니라 stacked 3단 재배치이고
      375 캔버스를 사실상 1:1 로 쓴다(mo.px 20).
   ⚠ 달력 팝오버는 그대로 절대 치수다. 떠 있는 패널이라 축소 대상이 아니다. */
[data-mode="tablet"] .chp-searchbar{
  gap:min(calc(100vw * 12 / 1400), 12px);
  min-height:min(calc(100vw * 138 / 1400), 138px);
  padding:min(calc(100vw * 40 / 1400), 40px) min(calc(100vw * 62 / 1400), 62px);
}
[data-mode="tablet"] .chp-searchbar .chp-searchbar__group{gap:min(calc(100vw * 12 / 1400), 12px)}
[data-mode="tablet"] .chp-searchbar .chp-searchbar__label,
[data-mode="tablet"] .chp-searchbar .chp-searchbar__tilde{font-size:clamp(14px, calc(100vw * 20 / 1400), 20px)}
[data-mode="tablet"] .chp-searchbar .chp-searchbar__divider{height:min(calc(100vw * 24 / 1400), 24px)}

/* 기간 필드 */
[data-mode="tablet"] .chp-searchbar .chp-datefield{
  height:clamp(40px, calc(100vw * 58 / 1400), 58px);   /* DT-4661 조회 버튼(7-1 #container .chp-btn)과 같은 하한 40 */
  padding:0 min(calc(100vw * 20 / 1400), 20px);
  gap:min(calc(100vw * 12 / 1400), 12px);
  border-radius:min(calc(100vw * 6 / 1400), 6px);
}
[data-mode="tablet"] .chp-searchbar .chp-datefield .inp-date{align-self:stretch}
[data-mode="tablet"] .chp-searchbar .chp-datefield .inp-date input{
  height:100%;min-height:0;   /* DT-4661 안쪽 입력이 바깥 상자 높이를 따름(따로 40 으로 남던 것) */
  font-size:clamp(14px, calc(100vw * 20 / 1400), 20px);
}
[data-mode="tablet"] .chp-searchbar .chp-datefield__icon{
  width:min(calc(100vw * 20 / 1400), 20px);
  height:min(calc(100vw * 20 / 1400), 20px);
}

/* 퀵 칩 — 클래스는 레거시 그대로다(5-7 절 참고) */
[data-mode="tablet"] .chp-searchbar .chp-searchbar__group--chips > .btn-b-lgry,
[data-mode="tablet"] .chp-searchbar .chp-searchbar__group--chips > .btn-gry{
  height:clamp(40px, calc(100vw * 58 / 1400), 58px);   /* DT-4661 조회 버튼과 같은 하한 40 */
  padding:0 min(calc(100vw * 20 / 1400), 20px);
  border-radius:min(calc(100vw * 6 / 1400), 6px);
  font-size:clamp(14px, calc(100vw * 20 / 1400), 20px);
}

/* 조회 — chp-mobile.css:205 의 160 과 5-1 의 120px 을 모두 덮는다 */
[data-mode="tablet"] .chp-searchbar .chp-searchbar__submit{
  width:min(calc(100vw * 120 / 1400), 120px);
  height:min(calc(100vw * 58 / 1400), 58px);
  padding:0 min(calc(100vw * 20 / 1400), 20px);
  border-radius:min(calc(100vw * 6 / 1400), 6px);
  font-size:clamp(14px, calc(100vw * 20 / 1400), 20px);
}


/* ═════════════════════════════════════════════════════════════════════════
   6. 공통 알림·확인 셸 — 레거시 alertLayer · confirmLayer 의 겉모양
   ─────────────────────────────────────────────────────────────────────────
   마크업은 chp-ui.js 2-b절이 만들고, com.js 의 $.fn.alertLayer ·
   $.fn.confirmLayer 이 그것으로 위임한다(스위치: chp.alert-shell.enabled).
   여기 있는 것은 그 셸을 쓰면서 드러난 **산출물↔DS 차이**와 시안에 없던 배치뿐이다.
   ═══════════════════════════════════════════════════════════════════════ */

/* ── 6-1. 산출물↔DS 차이 — alert 본문 색 ─────────────────────────────────
   DS `ConfirmModal` 의 본문은 세 슬롯이고 색이 다르다(_shared/overlays.jsx):
     message  Color/black       본문 첫 문장
     detail   --ui-gray-666     보조 줄(대표 상품명처럼 괄호로 붙는 것)
     question Color/black       마지막 질문 줄
   산출물에서 복사해 온 chp-components.css 는 이것을 한 클래스
   (.chp-modal__alert-text)로 합치면서 색을 **gray 하나로** 만들었다.
   알림·확인의 본문은 message 자리이므로 기본을 black 으로 되돌리고,
   보조 줄은 --sub 로 따로 둔다. 크기·줄높이(--chp-form-field-fs / 1.6)는
   DS 값(pc 16 · ta 20 · mo 14)과 이미 같아 건드리지 않는다.
   ⚠ 사용처가 아직 없어서(2026-09-04 확인) 기본값을 바꿔도 회귀 대상이 없다. */
.chp-modal__alert-text{color:var(--color-black)}
.chp-modal__alert-text--sub{color:var(--ui-gray-666)}

/* ── 6-2. 단일 버튼 푸터 ─────────────────────────────────────────────────
   알림(alertLayer)은 [확인] 하나로 끝난다. DS 의 ModalActions 는 **두 개 한 쌍**이
   전제라 alert 푸터가 grid(1fr 1fr)이고, 버튼 하나만 넣으면 전폭으로 늘어난다.
   시안에도 단일 버튼 선례가 있다 — 무통장입금 안내가 `footer` 로 navy large 하나를
   넣고 모바일만 전폭이다(prototypes/common-modals · BankGuideModal).
   그 규칙을 그대로 쓴다: PC·Tablet 은 가운데 hug(최소폭은 .chp-btn--lg 가 진다),
   Mobile 은 전폭.                                                          */
/* ⚠ 특이성 — .chp-modal--alert .chp-modal__actions(0,2,0)가 grid 를 걸고 있어
   단일 클래스로는 이기지 못한다(실측: display 가 grid 로 남아 버튼이 전폭 384 가 됐다). */
.chp-modal--alert .chp-modal__actions--single{
  display:flex;
  justify-content:center;
}
[data-mode="mobile"] .chp-modal--alert .chp-modal__actions--single .chp-btn{width:100%}


/* ── 6-3. 산출물 내부 모순 — 모바일 하단 시트가 떠 있다 ────────────────────
   chp-components.css 13절은 시트의 겉 여백을 0 으로 둔다(DS 와 같다 —
   `padding: m.sheet ? 0 : 24`, _shared/overlays.jsx). 그런데
   chp-mobile.css:173 이 `[data-mode="mobile"] .chp-modal{padding:16px}` 로
   **같은 특이성(0,2,0)** 을 걸고 **나중에 로드된다**(resource.tag 62행 ↔ 64행).
   동점이 순서로 갈려 시트가 좌우·하단 16px 떠 있었다 — 실측(2026-09-04, 뷰포트 500):
   상자 468 / left 16. 하단 시트는 화면 밑단에 붙어야 시트다.
   한 단 올려(0,3,0) 되돌린다.
   ⚠ alert(시트가 아닌 가운데 다이얼로그)의 16px 은 그대로 둔다. DS 값은 24 지만
     상자가 320 고정이라 좁은 폭에서는 16 이 오히려 안전하다(320+32=352 < 375). */
[data-mode="mobile"] .chp-modal.chp-modal--sheet{padding:0}


/* ═════════════════════════════════════════════════════════════════════════
   7. 태블릿 — 시안 캔버스 비율(vw)로 통일
   ─────────────────────────────────────────────────────────────────────────
   시안의 태블릿 아트보드는 **1400 캔버스**이고 뷰어가 그것을 창 폭에 맞게 축소해
   보여 준다. 그래서 시안의 태블릿 수치는 **설계값**이지 화면 px 이 아니다.
   구현이 그 값을 그대로 px 로 쓰면 실제 화면에서 그만큼 커진다 —
   실측(2026-09-04, 1024): `.chp-btn` 높이 58px, 시안 의도 42.4px = **1.37배**.
   Confluence `TO-BE 디바이스 해상도 대응` 2-1절이 정한 규칙이 이것이다:

       태블릿 치수 = calc(100vw * N / 1400)      (N = 시안 1400 캔버스 설계값)

   푸터(4절)·검색바(5-9절)가 이미 이 방식이고, 여기서 **본문 컴포넌트까지** 넓힌다
   (사용자 결정 2026-09-04 — 태블릿 지원 범위가 768~1400 전 구간이므로 한 폭에
   맞춘 고정 px 은 다른 폭에서 다시 어긋난다: 768 에서 +32% / 1366 에서 −26%).

   ⚠ **범위는 `#container` 안(본문)이다.** 아트보드 **밖**의 고정 오버레이는 1:1 이다 —
      시안 모달을 태블릿으로 재면 설계 720 이 화면 697.5(= 720 × 뷰어 zoom)로 나온다.
      `position:fixed` 라 캔버스 축소를 받지 않기 때문이다. 모달·토스트는 `#container`
      밖에 붙으므로 이 선택자에 걸리지 않는다. 헤더·전체메뉴·푸터도 자기 절이 따로 있다.
   ⚠ 1-7절(태블릿·모바일 버튼을 토큰 px 로 되돌리는 규칙)은 그대로 둔다. 그것은 m.css
      의 `[class*="btn-"]` 를 이기기 위한 것이고, 여기 규칙은 `#container` 가 붙어
      특이성이 한 단 높아(1,2,0) 본문에서만 이긴다. 모달 안 버튼은 1-7절이 계속 맡는다.
   ⚠ 레거시 m.css 도 태블릿 본문을 vw 로 줄인다 — 우리 컴포넌트만 고정이면 한 화면에서
      크기가 어긋난다. 사용자가 회원정보에서 그 상태를 발견해 이 작업이 시작됐다.
   ═══════════════════════════════════════════════════════════════════════ */

/* ── 7-0. 가독성 하한 — DS 가 규정한다 ───────────────────────────────────
   `design-system/tokens/breakpoints.css` 의 브레이크포인트 계약 원문:

     PC     — fixed px. Content column is locked to 1400px and centred …
     Tablet — vw-fluid. Elements scale with viewport width between 1400 and 769.
     Mobile — vw-fluid inside a 375px reference frame.
     Readability floors stay FIXED even on Tablet: pagination dot 40px /
     number 16px, captions never below 14px.

   즉 **태블릿의 vw 도, 그 하한도 DS 규정**이다. 하한이 없으면 769 근처에서
   태블릿이 모바일보다 작아진다 — 실측(768): 버튼 31.8(모바일 40) · 버튼 글자
   11.0(모바일 14) · 라벨 13.2(모바일 14). 탭 타깃 44 기준도 벗어난다.

   그래서 아래 규칙은 전부 `max(하한, calc(100vw * N / 1400))` 형태다. 하한값은
   **같은 요소의 모바일 토큰**을 쓰고, 그것이 14 미만인 항목(상태칩 13 · 노트 12)은
   DS 의 `--caption-min:14px` 를 따라 14 로 올린다.

     버튼 높이 40 · 버튼 글자 14 · large 높이 48 · large 글자 16
     필드 높이 40 · 필드 글자 14 · 라벨 14 · 상태칩 24/14
     섹션 제목 15 · 안내문 14 · 행 라벨·값 14

   ⚠ 여백 · 간격 · 트랙 폭에는 **하한**을 두지 않는다. 가독성 하한이 아니고, 하한을 두면
      좁은 폭에서 내용이 넘친다. 대신 **상한**은 전부 있다(아래).

   ⚠ **상한 = 설계값.** DS 문구가 "between 1400 and 769" 이므로 1400 을 넘는 폭에서는
      더 커지지 않고 설계값에서 멈춘다. 처음에 상한을 빼먹어 **2200 폭에서 라벨이 37.7px,
      섹션 제목이 40.9px** 까지 커졌다(사용자 발견 2026-09-04). 태블릿 모드는 1400 을
      넘어도 유지되므로(`body.tag` 폭 교정이 M·T 에서 pc 를 내지 않는다) 실제로 일어난다.
      그래서 가독성 항목은 `clamp(하한, vw, 설계값)`, 여백·간격은 `min(vw, 설계값)` 이다.
   ⚠ 페이지네이션(dot 40 / number 16)은 이관 화면에서 chp 컴포넌트를 쓰지 않아
      대상이 없다. 쓰게 되면 같은 하한을 넣는다.                                */

/* ── 7-1. 토큰 기반 컴포넌트 — 값은 그대로, 단위만 vw ─────────────────────
   토큰(`--chp-btn-h-md` 등)이 이미 시안 태블릿 설계값이므로 숫자를 옮겨 적지 않고
   단위 기준만 바꾼다. 토큰이 갱신되면 이 규칙이 따라온다.                    */
[data-mode="tablet"] #container .chp-btn{
  height:clamp(40px, calc(100vw * var(--chp-btn-h-md) / 1400), calc(var(--chp-btn-h-md) * 1px));
  padding:0 min(calc(100vw * var(--space-btn-x) / 1400), calc(var(--space-btn-x) * 1px));
  border-radius:min(calc(100vw * var(--radius-btn) / 1400), calc(var(--radius-btn) * 1px));
  font-size:clamp(14px, calc(100vw * var(--chp-btn-fs-md) / 1400), calc(var(--chp-btn-fs-md) * 1px));
}
[data-mode="tablet"] #container .chp-btn--outline,
[data-mode="tablet"] #container .chp-btn--outline-red,
[data-mode="tablet"] #container .chp-btn--outline-blue{
  font-size:clamp(14px, calc(100vw * var(--chp-btn-fs-md-quiet) / 1400), calc(var(--chp-btn-fs-md-quiet) * 1px));
}
[data-mode="tablet"] #container .chp-btn--lg{
  height:clamp(48px, calc(100vw * var(--chp-btn-h-lg) / 1400), calc(var(--chp-btn-h-lg) * 1px));
  border-radius:min(calc(100vw * var(--radius-btn-large) / 1400), calc(var(--radius-btn-large) * 1px));
  font-size:clamp(16px, calc(100vw * var(--chp-btn-fs-lg) / 1400), calc(var(--chp-btn-fs-lg) * 1px));
  min-width:min(calc(100vw * var(--width-btn-large-min) / 1400), calc(var(--width-btn-large-min) * 1px));
}
[data-mode="tablet"] #container .chp-btn--lg.chp-btn--outline,
[data-mode="tablet"] #container .chp-btn--lg.chp-btn--outline-red,
[data-mode="tablet"] #container .chp-btn--lg.chp-btn--outline-blue{
  font-size:clamp(16px, calc(100vw * var(--chp-btn-fs-lg) / 1400), calc(var(--chp-btn-fs-lg) * 1px));
}

[data-mode="tablet"] #container .chp-field{
  height:clamp(40px, calc(100vw * var(--chp-form-field-h) / 1400), calc(var(--chp-form-field-h) * 1px));
  padding:0 min(calc(100vw * var(--chp-form-pad-x) / 1400), calc(var(--chp-form-pad-x) * 1px));
  border-radius:min(calc(100vw * var(--radius-field) / 1400), calc(var(--radius-field) * 1px));
  font-size:clamp(14px, calc(100vw * var(--chp-form-field-fs) / 1400), calc(var(--chp-form-field-fs) * 1px));
}
[data-mode="tablet"] #container .chp-formrow{
  padding:min(calc(100vw * var(--chp-form-row-py) / 1400), calc(var(--chp-form-row-py) * 1px)) 0;
}
[data-mode="tablet"] #container .chp-formrow__label{
  width:min(calc(100vw * var(--chp-form-label-w) / 1400), calc(var(--chp-form-label-w) * 1px));
  font-size:clamp(14px, calc(100vw * var(--chp-form-label-fs) / 1400), calc(var(--chp-form-label-fs) * 1px));
}
[data-mode="tablet"] #container .chp-status{
  height:clamp(24px, calc(100vw * var(--chp-status-h) / 1400), calc(var(--chp-status-h) * 1px));
  padding:min(calc(100vw * var(--chp-status-py) / 1400), calc(var(--chp-status-py) * 1px)) min(calc(100vw * var(--chp-status-px) / 1400), calc(var(--chp-status-px) * 1px));
  font-size:clamp(14px, calc(100vw * var(--chp-status-fs) / 1400), calc(var(--chp-status-fs) * 1px));
}

/* ⚠ 여기까지가 2026-09-04 에 넣은 목록이고 **그것이 전부가 아니었다.** 그때 회원정보 화면에
   필요한 토큰(버튼 md·lg / 폼 / 상태칩)만 담았는데, 태블릿 토큰 블록에는 표·배지·small 버튼·
   결제바·요약바·날짜·아코디언도 있다. 목록에 없는 것은 **시안 1400 설계값이 고정 px 로** 나간다.
   2026-09-17 결제이력(stdy/appl/selectStdyApplPaymentList)에서 드러났다 — 묶음결제(ITSM-7112)가
   그 화면을 .chp-table 마크업으로 다시 쓰면서 표 토큰을 처음 타게 됐고, 1024 에서 셀 글자가
   19.0 이어야 할 자리에 **26px** 로 나와 행이 부풀고 학습자명이 두 줄로 깨졌다.
   아래는 그 화면이 쓰는 것(표·배지·small 버튼)을 메운 것이다.
   ⚠ **아직 남은 토큰군** — --chp-paybar-*(7) · --chp-sab-*(8) · --chp-date-*(5) · --chp-acc-*(4).
     결제바·요약바는 결제 흐름 화면이라 함께 손대면 검증 범위가 결제 전체로 커진다. 별도로 둔다. */

/* 표 — 머리 높이·글자, 셀 여백·글자, 상품명. 하한은 같은 요소의 모바일 토큰이고
   글자는 DS 가독성 하한 14 를 쓴다(7-0절과 같은 기준). 실제로 하한이 무는 것은
   머리 글자(24 → 769 에서 13.2)뿐이고 셀 26 은 769 에서 14.28 이라 물지 않는다. */
[data-mode="tablet"] #container .chp-table__head{
  height:clamp(40px, calc(100vw * var(--chp-tbl-head-h) / 1400), calc(var(--chp-tbl-head-h) * 1px));
  font-size:clamp(14px, calc(100vw * var(--chp-tbl-head-fs) / 1400), calc(var(--chp-tbl-head-fs) * 1px));
}
[data-mode="tablet"] #container .chp-table__head > *{
  padding:0 min(calc(100vw * var(--chp-tbl-px) / 1400), calc(var(--chp-tbl-px) * 1px));
}
[data-mode="tablet"] #container .chp-table__row > *{
  padding:min(calc(100vw * var(--chp-tbl-py) / 1400), calc(var(--chp-tbl-py) * 1px)) min(calc(100vw * var(--chp-tbl-px) / 1400), calc(var(--chp-tbl-px) * 1px));
  font-size:clamp(14px, calc(100vw * var(--chp-tbl-cell-fs) / 1400), calc(var(--chp-tbl-cell-fs) * 1px));
}
[data-mode="tablet"] #container .chp-tc-product{
  font-size:clamp(14px, calc(100vw * var(--chp-tbl-product-fs) / 1400), calc(var(--chp-tbl-product-fs) * 1px));
}

/* DT-4657 — 결제바 · 전체선택 줄(남은 토큰군)이 태블릿에서 고정 px 이라 안 줄던 것
   DS breakpoints.css 식 clamp(max(하한, X * 0.7px), X * 100vw / 1400, X * 1px) · 읽는 글자 하한 12
   X = 태블릿 토큰(전달본 consultpay-handoff-2026-11-16 SPEC_PAYBAR.ta 20/24/20/28 · SPEC_SELECTALL.ta 22/18/26 과 같음) */
[data-mode="tablet"] .chp-paybar__count-label{font-size:clamp(max(12px, calc(var(--chp-paybar-label-fs) * .7px)), calc(100vw * var(--chp-paybar-label-fs) / 1400), calc(var(--chp-paybar-label-fs) * 1px))}
[data-mode="tablet"] .chp-paybar__count-value{font-size:clamp(max(12px, calc(var(--chp-paybar-count-fs) * .7px)), calc(100vw * var(--chp-paybar-count-fs) / 1400), calc(var(--chp-paybar-count-fs) * 1px))}
[data-mode="tablet"] .chp-paybar__total-label{font-size:clamp(max(12px, calc(var(--chp-paybar-total-fs) * .7px)), calc(100vw * var(--chp-paybar-total-fs) / 1400), calc(var(--chp-paybar-total-fs) * 1px))}
[data-mode="tablet"] .chp-paybar__amount{font-size:clamp(max(12px, calc(var(--chp-paybar-amount-fs) * .7px)), calc(100vw * var(--chp-paybar-amount-fs) / 1400), calc(var(--chp-paybar-amount-fs) * 1px))}
[data-mode="tablet"] .chp-selectall__label{font-size:clamp(max(12px, calc(var(--chp-sab-label-fs) * .7px)), calc(100vw * var(--chp-sab-label-fs) / 1400), calc(var(--chp-sab-label-fs) * 1px))}
[data-mode="tablet"] .chp-selectall__count{font-size:clamp(max(12px, calc(var(--chp-sab-count-fs) * .7px)), calc(100vw * var(--chp-sab-count-fs) / 1400), calc(var(--chp-sab-count-fs) * 1px))}
[data-mode="tablet"] .chp-selectall__amount{font-size:clamp(max(12px, calc(var(--chp-sab-amount-fs) * .7px)), calc(100vw * var(--chp-sab-amount-fs) / 1400), calc(var(--chp-sab-amount-fs) * 1px))}

/* DT-4658 — 결제바 좌우가 표 상자와 어긋나던 것 · 상자는 .inner 여백(m.css --init-lrp 4.17vw)이라 폭 따라 주는데 바만 56 고정이었음 */
[data-mode="tablet"] .chp-paybar{padding:0 var(--init-lrp, calc(var(--space-section-side) * 1px))}

/* DT-4658 — 체크박스를 DS renderCheckbox(28차 · consultpay-handoff-2026-11-16-v5)로
   ① 체크 표시: 글자 ✓(13px 굵게)라 기울고 작아 보이던 것 → DS check.svg 글리프를 상자 꽉 채워 currentColor 로
   ② 상자: PC · Tablet 22 · Mobile clamp(22px, 22 * 100vw / 375, 25.3px)
   ③ 누르는 영역 40 × 40 — 투명 input 을 상자 가운데 기준 최소 40 으로(배치는 그대로) */
.chp-check .chp-check__box::before{content:"";flex-shrink:0;width:inherit;height:inherit;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M19.5742 7.55664L9.32324 18.1338L4.44043 13.3613L5.55957 12.2178L9.29199 15.8662L18.4258 6.44336L19.5742 7.55664Z'/%3E%3C/svg%3E") center/100% 100% no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M19.5742 7.55664L9.32324 18.1338L4.44043 13.3613L5.55957 12.2178L9.29199 15.8662L18.4258 6.44336L19.5742 7.55664Z'/%3E%3C/svg%3E") center/100% 100% no-repeat}
[data-mode="mobile"] .chp-check__box{width:clamp(22px, calc(22 * 100vw / 375), 25.3px);height:clamp(22px, calc(22 * 100vw / 375), 25.3px)}
.chp-check input{top:50%;left:50%;width:max(100%, 40px);height:max(100%, 40px);transform:translate(-50%, -50%)}

/* 결제(정보입력) 대교직원여부 N / Y — 라디오 두 개 → 나란한 버튼 한 쌍(전달본 radio-handoff-2026-11-16 COPc.jsx)
   고른 쪽 navy 채움 · 안 고른 쪽 outline · 폭 op-w4(아래 직원 이름 · 사번 칸과 같은 열) · 높이 PC · Tablet = 버튼 medium · Mobile = large(48)
   input 은 칸 전체를 덮는 투명 라디오 — 값 · change 이벤트 그대로, 선택 표시는 :has(input:checked) 로(복원 · 스크립트 변경에도 따라감) */
.op-yn{display:flex;gap:calc(var(--gap-button) * 1px);max-width:100%}
.op-yn .op-yn__btn{flex:1 1 0;min-width:0;position:relative;cursor:pointer}
.op-yn .op-yn__btn input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:inherit}
#cntArea .op-yn .op-yn__btn:has(input:checked){background:var(--ui-navy);color:var(--color-white);box-shadow:inset 0 0 0 1px var(--ui-navy)}   /* #cntArea — outline hover 규칙(chp-project.css 1-x @media hover, 0,5,0)에 고른 쪽 navy 가 덮이지 않게 */
.op-yn .op-yn__btn:has(input:focus-visible){outline:2px solid var(--ui-blue);outline-offset:2px}
@media (hover:none){#cntArea .op-yn .op-yn__btn:not(:has(input:checked)):hover{background:var(--color-white)}}   /* 터치에서 style.css [class*="btn-"]:hover(navy 계열)가 안 고른 칸을 고른 것처럼 칠하던 것 */
[data-mode="mobile"] .op-yn .op-yn__btn{height:calc(var(--chp-btn-h-lg) * 1px)}
.op-yn .op-yn__btn{font-size:calc(var(--chp-btn-fs-md) * 1px);font-weight:var(--fw-bold)}   /* outline 의 quiet 글자(모바일 12) 말고 navy 와 같은 글자 · 전달본 Btn 라벨 굵게 */
[data-mode="mobile"] .op-yn .op-yn__btn{font-size:calc(var(--chp-btn-fs-lg) * 1px)}

/* 태블릿 결제(정보입력) 글자 — 1400 기준 크기로 고정돼 좁은 태블릿에서 커 보이던 것(1024 에서 도움말 18 · 제목 28 vs 전달본 12.8 · 19.8)
   DS breakpoints.css 식 clamp(max(하한, X * 0.7px), X * 100vw / 1400, X * 1px) · 하한 읽는 글자 12 · 버튼(칩) 14 · X = 지금 태블릿 값(전달본 radio-handoff-2026-11-16 checkout 과 같음)
   범위: 결제(정보입력) stdyApplOrderPay 만 — #cntArea:has(.op-order__head)(.op-order__head 는 이 화면에만 있음 · payMethod 로 잡으면 기존 단건 결제 화면 단계 표시까지 걸림) */
[data-mode="tablet"] #cntArea:has(.op-order__head) .chp-steps__num{font-size:clamp(max(12px, 16.8px), calc(100vw * 24 / 1400), 24px)}
[data-mode="tablet"] #cntArea:has(.op-order__head) .chp-steps__label{font-size:clamp(max(12px, 14px), calc(100vw * 20 / 1400), 20px)}
[data-mode="tablet"] #cntArea:has(.op-order__head) .op-order__head{font-size:clamp(max(12px, 15.4px), calc(100vw * 22 / 1400), 22px)}
[data-mode="tablet"] #cntArea:has(.op-order__head) .op-order__price{font-size:clamp(max(12px, 15.4px), calc(100vw * 22 / 1400), 22px)}
[data-mode="tablet"] #cntArea:has(.op-order__head) .op-order__total-label{font-size:clamp(max(12px, 15.4px), calc(100vw * 22 / 1400), 22px)}
[data-mode="tablet"] #cntArea:has(.op-order__head) .op-order__total-amount{font-size:clamp(max(12px, 21px), calc(100vw * 30 / 1400), 30px)}
[data-mode="tablet"] #cntArea:has(.op-order__head) .chp-section-title{font-size:clamp(max(12px, 19.6px), calc(100vw * 28 / 1400), 28px)}
[data-mode="tablet"] #cntArea:has(.op-order__head) .op-chip{font-size:clamp(max(14px, 14px), calc(100vw * 20 / 1400), 20px)}
[data-mode="tablet"] #cntArea:has(.op-order__head) .chp-field-help{font-size:clamp(max(12px, 12.6px), calc(100vw * 18 / 1400), 18px)}
[data-mode="tablet"] #cntArea:has(.op-order__head) .chp-radio--block .chp-tc-strong{font-size:clamp(max(12px, 15.4px), calc(100vw * 22 / 1400), 22px)}
[data-mode="tablet"] #cntArea:has(.op-order__head) .chp-radio--block .chp-tc-sub{font-size:clamp(max(12px, 12.6px), calc(100vw * 18 / 1400), 18px)}
[data-mode="tablet"] #cntArea:has(.op-order__head) .op-order__name .chp-tc-strong{font-size:clamp(max(12px, 15.4px), calc(100vw * 22 / 1400), 22px)}
[data-mode="tablet"] #cntArea:has(.op-order__head) .op-foot__pair > span:first-child{font-size:clamp(max(12px, 14px), calc(100vw * 20 / 1400), 20px)}
[data-mode="tablet"] #cntArea:has(.op-order__head) .op-foot__amount{font-size:clamp(max(12px, 16.8px), calc(100vw * 24 / 1400), 24px)}
[data-mode="tablet"] #cntArea:has(.op-order__head) .op-foot__pair + .op-foot__pair .op-foot__amount{font-size:clamp(max(12px, 19.6px), calc(100vw * 28 / 1400), 28px)}

/* DT-4659 — 라디오를 체크박스와 같은 크기 규칙으로(DS renderRadio · radio-handoff-2026-11-16)
   ① 원 · 체크형 자리: PC · Tablet 22(Tablet 26 이던 것) · Mobile clamp(22px, 22 * 100vw / 375, 25.3px)
   ② 점 = 원 − 12 · 원은 라벨 첫 줄 가운데(위 여백 (글자 × 1.5 − 원) ÷ 2)
   ③ 체크형(결제수단): 글자 ✓ → DS check.svg 글리프 · 높이 원 × 0.6 · 너비 × 1.2946(글리프 비율)
   ④ 누르는 영역: 한 줄 라디오 최소 40 × 40(줄 전체 block 은 원래 줄 전체라 그대로) */
.chp-radio{--chp-radio:22px}
[data-mode="mobile"] .chp-radio{--chp-radio:clamp(22px, calc(22 * 100vw / 375), 25.3px)}
.chp-radio .chp-radio__dot{width:var(--chp-radio);height:var(--chp-radio);box-sizing:border-box;margin-top:calc((var(--chp-form-field-fs) * 1.5px - var(--chp-radio)) / 2)}
.chp-radio .chp-radio__dot::before{width:calc(var(--chp-radio) - 12px);height:calc(var(--chp-radio) - 12px)}
.chp-radio--block .chp-radio__dot{margin-top:0}
.chp-radio--check .chp-radio__dot::before{content:"";width:calc(var(--chp-radio) * .6 * 1.2946);height:calc(var(--chp-radio) * .6);background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='4.44043 6.44336 15.13377 11.69044'%3E%3Cpath d='M19.5742 7.55664L9.32324 18.1338L4.44043 13.3613L5.55957 12.2178L9.29199 15.8662L18.4258 6.44336L19.5742 7.55664Z'/%3E%3C/svg%3E") center/100% 100% no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='4.44043 6.44336 15.13377 11.69044'%3E%3Cpath d='M19.5742 7.55664L9.32324 18.1338L4.44043 13.3613L5.55957 12.2178L9.29199 15.8662L18.4258 6.44336L19.5742 7.55664Z'/%3E%3C/svg%3E") center/100% 100% no-repeat}
.chp-radio--check input:checked + .chp-radio__dot::before{background:currentColor}
.chp-radio:not(.chp-radio--block) input{top:50%;left:50%;width:max(100%, 40px);height:max(100%, 40px);transform:translate(-50%, -50%)}
/* 주문 상세 취소 사유 — 라벨이 폼 글자 토큰이 아닌 상속 글자(Tablet 14 · 줄 19.6)라 위 첫 줄 식이 어긋남(5px 처짐) · 한 줄 라벨이라 가운데 정렬 */
.cm-reasons .chp-radio{align-items:center}
.cm-reasons .chp-radio .chp-radio__dot{margin-top:0}

/* DT-4658 — 전체선택 줄 · 행 체크 칸이 태블릿에서 전달본과 다르게 서던 것
   전달본은 레이아웃을 k(= 폭/1400)로 줄이고 체크박스만 22 로 둠(SPEC_SELECTALL.ta h76 · px24 · cb68 / PayableRow 체크 칸 68 · 여백 24 · 12)
   ① 전체선택 줄 높이 · 여백 · 체크 칸 고정 → k 배율
   ② 행 체크 칸: 표 행 규칙(#container .chp-table__row > *)이 여백을 20k 로 덮던 것 → 24k · 12k · 열 하한 56 제거(68k) */
[data-mode="tablet"] .chp-selectall{height:min(calc(100vw * 76 / 1400), 76px);padding-right:min(calc(100vw * 24 / 1400), 24px)}
[data-mode="tablet"] .chp-selectall__check{box-sizing:border-box;width:min(calc(100vw * 68 / 1400), 68px);padding-left:min(calc(100vw * 24 / 1400), 24px)}
[data-mode="tablet"] #container .cp-amt-table .chp-tc-check{padding-left:min(calc(100vw * 24 / 1400), 24px);padding-right:min(calc(100vw * 12 / 1400), 12px);overflow:visible}
/* DT-4658 댓글(11-17) — 「학습상품」 머리 · 상품명이 「전체선택」 글자보다 20k 안쪽에서 시작하던 것 · 전달본은 체크 칸(68k) 바로 뒤에서 시작(SPEC_PAYABLE_HEAD/ROW.ta 첫 열 왼쪽 여백 0 · 1024 실측 셋 다 48.7) */
[data-mode="tablet"] #container .chp-table--payable.cp-amt-table :is(.chp-table__head, .chp-table__row) > .chp-tc-check + *{padding-left:0}

/* 배지(`묶음`) — 표 안에서 상태칩과 나란히 선다. 상태칩만 줄고 배지는 안 줄면 둘이 어긋난다. */
[data-mode="tablet"] #container .chp-badge{
  height:clamp(26px, calc(100vw * var(--chp-badge-h) / 1400), calc(var(--chp-badge-h) * 1px));
  padding:min(calc(100vw * var(--chp-badge-py) / 1400), calc(var(--chp-badge-py) * 1px)) min(calc(100vw * var(--chp-badge-px) / 1400), calc(var(--chp-badge-px) * 1px));
  font-size:clamp(14px, calc(100vw * var(--chp-badge-fs) / 1400), calc(var(--chp-badge-fs) * 1px));
}

/* small 버튼 — 이 규칙이 없으면 **위의 .chp-btn 규칙이 특이성으로 이겨서 medium 크기로 나온다**
   (`[data-mode="tablet"] #container .chp-btn` (1,2,0) > `.chp-btn--sm` (0,1,0)).
   행 안의 hug 액션이 medium 이 되면 행 높이까지 따라 올라간다. */
[data-mode="tablet"] #container .chp-btn--sm,
[data-mode="tablet"] #container .chp-btn--sm.chp-btn--outline,
[data-mode="tablet"] #container .chp-btn--sm.chp-btn--outline-red,
[data-mode="tablet"] #container .chp-btn--sm.chp-btn--outline-blue{
  height:clamp(32px, calc(100vw * var(--chp-btn-h-sm) / 1400), calc(var(--chp-btn-h-sm) * 1px));
  padding:0 min(calc(100vw * var(--chp-btn-px-sm) / 1400), calc(var(--chp-btn-px-sm) * 1px));
  font-size:clamp(14px, calc(100vw * var(--chp-btn-fs-sm) / 1400), calc(var(--chp-btn-fs-sm) * 1px));
}

/* ── 7-2. 하드코딩 컴포넌트 — 시안 태블릿 설계값을 새로 넣는다 ─────────────
   카드·행·리스트행은 토큰을 쓰지 않고 PC 값이 하드코딩되어 있었고 **태블릿 규칙이
   아예 없었다.** 그래서 태블릿에서 PC 값이 그대로 나왔다(라벨 16px — 시안 의도 17.6).
   아래 N 은 `prototypes/member-info/index.html?bp=ta` 를 헤드리스로 실측한 설계값이다
   (computed 는 zoom 전 설계 단위를 준다 — [[headless-measure-traps]]).       */
[data-mode="tablet"] #container .chp-sec{
  border-radius:min(calc(100vw * 16 / 1400), 16px);
}
[data-mode="tablet"] #container .chp-sec > .chp-sec__head{
  padding:min(calc(100vw * 24 / 1400), 24px) min(calc(100vw * 36 / 1400), 36px);
  min-height:min(calc(100vw * 106 / 1400), 106px);
  gap:min(calc(100vw * 20 / 1400), 20px);
}
[data-mode="tablet"] #container .chp-sec__body{
  padding:min(calc(100vw * 24 / 1400), 24px) min(calc(100vw * 36 / 1400), 36px);
}
[data-mode="tablet"] #container .chp-sec__title{font-size:clamp(18.2px, calc(100vw * 26 / 1400), 26px)}
[data-mode="tablet"] #container .chp-sec__note{font-size:clamp(14px, calc(100vw * 18 / 1400), 18px)}
[data-mode="tablet"] #container .chp-drows{gap:min(calc(100vw * 22 / 1400), 22px)}
[data-mode="tablet"] #container .chp-drow{
  grid-template-columns:min(calc(100vw * 220 / 1400), 220px) minmax(0,1fr);
  column-gap:min(calc(100vw * 28 / 1400), 28px);
}
[data-mode="tablet"] #container .chp-drow__label,
[data-mode="tablet"] #container .chp-drow__val{font-size:clamp(16.8px, calc(100vw * 24 / 1400), 24px)}
/* 노트(회색 상시 안내 상자) — DS 에 `Note` 컴포넌트는 없다. 다만 `_shared/banners.jsx`
   의 `SPEC_NOTICE` 와 우리 PC 값이 정확히 일치한다(DS pc body 16 / sub 14 ↔ 우리
   __title 16 / __text 14). 산출물이 그 기하를 따라 쓴 것으로 보고 태블릿도 같은 표의
   ta 값(body 24 / sub 18 · pad 20 24)을 쓴다.
   ⚠ 우리 PC 여백(16 20)은 DS pc(20 24)와 다르다 — PC 모양이 바뀌므로 손대지 않고 남긴다. */
[data-mode="tablet"] #container .chp-note{
  padding:min(calc(100vw * 20 / 1400), 20px) min(calc(100vw * 24 / 1400), 24px);
}
[data-mode="tablet"] #container .chp-note__title{font-size:clamp(16.8px, calc(100vw * 24 / 1400), 24px)}
[data-mode="tablet"] #container .chp-note__text{font-size:clamp(14px, calc(100vw * 18 / 1400), 18px)}

/* 리스트행 여백은 시안에서 따로 재지 못해 **카드 본문과 같은 값**으로 둔다 —
   PC 도 그렇게 작성되어 있다(본문 28/32 = 리스트행 28/32). 실측으로 확정할 것. */
/* DT-4655 — 위 태블릿 .chp-sec__body 여백이 flush 본문까지 덮어 행 여백과 겹치던 것(모바일 462 줄과 같은 되돌림) */
[data-mode="tablet"] #container .chp-sec__body--flush{padding:0}
[data-mode="tablet"] #container .chp-sec__body--flush .chp-listrow{
  padding:min(calc(100vw * 24 / 1400), 24px) min(calc(100vw * 36 / 1400), 36px);
}


/* ═════════════════════════════════════════════════════════════════════════
   8. 산출물↔DS 토큰 교정 — large 버튼 글자
   ─────────────────────────────────────────────────────────────────────────
   DS 원본 `components/_shared/controls.jsx` 의 GEOM 표와 전수 대조한 결과
   **large 의 글자 크기만 세 구간 모두 어긋나 있었다**(2026-09-04).
   높이 · 여백 · 반지름 · medium 값은 전부 일치한다.

     size=large   DS          산출물 복사본
     PC           fs 20       18
     Tablet       fs 24       20
     Mobile       fs 16       14

   토큰이 정의된 chp-components.css 는 산출물 복사본이라 손대지 않고(이름·구조 보존
   원칙) 여기서 값만 덮는다 — 6절의 alert 본문 색과 같은 방식이다.
   ⚠ 이 값은 모달 푸터의 [확인]·[취소](`.chp-btn--lg`)가 쓴다. 교정하면 그 글자가
      커진다(PC 18→20 · Tablet 20→24 · Mobile 14→16).
   ═══════════════════════════════════════════════════════════════════════ */
:root                {--chp-btn-fs-lg:24}
[data-mode="pc"]     {--chp-btn-fs-lg:20}
[data-mode="mobile"] {--chp-btn-fs-lg:16}


/* ── 10. 앱바 좌측 ← (Mobile · Tablet) — 2depth 화면의 이전 페이지 ────────────
   DS `components/_shared/sidenav.jsx` 의 renderAppHeader + SPEC_APPHEADER 가 기준이다.
   마크업은 `pc/page/appback.tag`, 노출 판정은 `pc/page/header.tag` 의 스크립트다.

     SPEC_APPHEADER   h    fs   px   bar   backIcon
       ta             76   22   24   42    22
       mo             48   16   16   24    14

   h · fs · px · bar 는 chp-layout.css 366~383 이 이미 갖고 있다(spacer · title · menu).
   여기 있는 것은 **좌측 칸을 ← 가 받을 때의 기하**뿐이다.

   ⚠ 44 탭 타깃이 칸(bar)보다 크다. DS 는 이것을 padding + 같은 크기의 음수 마진으로
     만든다 — "차지하는 자리는 s.bar 그대로다". 그래서 backPad = 44 - bar 이고
     (ta 2 · mo 20) 오른쪽에만 준다. 칸을 넘겨 제목을 밀지 않는다.
   ⚠ box-sizing 을 content-box 로 되돌린다. 이 레포는 `*{box-sizing:border-box}`
     (common.css:174)라 그대로 두면 width 42 안에 padding 이 먹혀 칸이 좁아진다.
     [[헤드리스 실측 함정]] 의 max-height 건과 같은 유형이다.

   ⚠ 글리프는 DS `Glyph name="arrowLeft"` 다(자산 `assets/icons/arrow-left.svg`).
     Glyph 는 `size` 를 **높이**로 쓰고 폭은 size × (12.5762/11.0704) 로 낸다 —
     ta 25.0 × 22 · mo 15.9 × 14. viewBox 가 글리프 bbox 로 잘려 있어 그 값이 곧 보이는
     크기다. 색은 fill:currentColor 이므로 링크의 color(흰색)를 따른다.
   ⚠ MO 14 는 제목 자 크기(16)가 아니다 — DS 주석: "같은 앱바의 햄버거가 상자 27.4 안에서
     실제로는 16.0 × 13.3 으로 보이고, 16짜리 화살표를 옆에 두면 화살표가 더 커 보인다.
     상자가 아니라 **보이는 획끼리** 맞춘 값이다."

   ⚠ 본문 제목 앞의 레거시 ←(.pre-btn)는 **← 가 실제로 붙은 화면에서만** 감춘다.
     DS 는 그 ← 를 걷어냈다 — "본문 제목 앞의 ← 는 이 화면 하나에만 있어서 화면을 옮기면
     사라졌다. 헤더 칸은 어느 화면에나 있다"(order-detail Tablet 주석). 다만 우리는 12 화면만
     그것을 갖고 있고 그중 3 곳은 fnCancel() · fnBack() 처럼 화면 고유 동작이라, 판정이
     거짓인 화면에서 무조건 감추면 돌아갈 길이 사라진다. 그래서 body[data-chp-back] 으로
     묶었다 — 헤더 ← 가 그 자리를 대신하는 화면에서만 감춘다. */
.chp-appheader__back{
  box-sizing:content-box;
  height:44px;
  flex-shrink:0;
  display:flex;
  align-items:center;
  justify-content:flex-start;
  background:none;
  border:0;
  color:var(--color-white);
  text-decoration:none;
}
/* ⚠ `display:flex` 가 브라우저 기본 `[hidden]{display:none}` 을 이긴다 — 클래스 선택자가
   속성 선택자보다 특이성이 같고(0,1,0) 우리 시트가 나중에 로드되기 때문이다. 그래서 1depth
   화면에서 ← 가 **hidden 인데도 그려졌고**, 좌측이 ←(42) + spacer(42) = 84 가 되어 제목이
   오른쪽으로 밀렸다(실측 1024: 어긋남 145.9). 사용자가 "1depth 인데 화살표가 나오고 중앙정렬도
   아니다" 로 지적한 것이 이 하나의 원인이다.
   ⚠ 검증할 때 `hidden` 속성만 읽고 "안 보인다" 로 적지 않는다 — **렌더된 크기로 확인한다.** */
.chp-appheader__back[hidden]{display:none}
.chp-appheader__back:hover{color:var(--color-white)}
[data-mode="mobile"] .chp-appheader__back{width:24px;padding:0 20px 0 0;margin-right:-20px}
[data-mode="tablet"] .chp-appheader__back{width:42px;padding:0 2px 0 0;margin-right:-2px}
.chp-appheader__back-ico{display:block;flex-shrink:0}
[data-mode="mobile"] .chp-appheader__back-ico{width:15.9px;height:14px}
[data-mode="tablet"] .chp-appheader__back-ico{width:25px;height:22px}

/* 레거시 본문 ← — 헤더 ← 가 대신하는 화면에서만 감춘다(위 주석 참고). */
body[data-chp-back="1"][data-mode="mobile"] #container .pre-btn,
body[data-chp-back="1"][data-mode="tablet"] #container .pre-btn{display:none}

/* ⚠ 전체메뉴가 열려 있는 동안은 헤더가 메뉴의 것이다 — 가운데는 로고, ← 는 없다
   (오너 지시 2026.08.27). DS `GNBKit.TAHeader` 는 열리면 헤더를 **아예 렌더하지 않는다**
   (`{!open ? <HeaderTablet …/> : null}`)와 메뉴가 자기 로고 행을 그린다.
   우리는 헤더를 남긴 채 `megamenu.tag` 의 상단 밴드가 그 위를 덮는 구조라, 제목을 넣은
   뒤로 **← 와 화면 제목이 밴드 뒤에 남아 겹쳤다**(실측 1024: back y=16 · 제목 y=23 ·
   밴드 y=18). DS 주석이 같은 것을 지적한다 — "덮으면 사라지지 않고 원본이 DOM 에 그대로
   남아 한 앱바에 제목이 두 벌 생긴다(스크린리더·키보드에는 둘 다 노출된다)".

   헤더를 통째로 감출 수는 없다 — 닫기 × 가 그 안의 햄버거(aria-expanded=true 에서 × 로
   바뀐다, chp-layout.css 272~278)다. 그래서 좌측 ← 와 제목만 걷는다.
   visibility 를 쓰는 이유는 칸을 남겨 × 위치를 그대로 두기 위해서다.

   ⚠ `:has()` 를 쓴 이유 — 전체메뉴는 `<header>` 의 **형제**이고 헤더보다 뒤에 있어서
     그 상태로 헤더 안을 고르는 다른 방법이 없다. 산출물 `chp-ui.js` 에 body 플래그를
     심는 방법도 있으나 그 파일을 건드리지 않는 원칙을 지켰다.
     `:has()` 를 모르는 구형 브라우저에서는 규칙이 무시되어 **지금과 같은 상태**가 된다
     (← 가 밴드 뒤에 남는다) — 기능이 깨지지는 않는다. */
[data-mode="tablet"] .chp-appheader:has(.chp-appheader__menu[aria-expanded="true"]) .chp-appheader__back,
[data-mode="tablet"] .chp-appheader:has(.chp-appheader__menu[aria-expanded="true"]) .chp-appheader__title,
[data-mode="mobile"] .chp-appheader:has(.chp-appheader__menu[aria-expanded="true"]) .chp-appheader__back,
[data-mode="mobile"] .chp-appheader:has(.chp-appheader__menu[aria-expanded="true"]) .chp-appheader__title{
  visibility:hidden;
}

/* ── 10-1. Tablet 본문 제목 — 헤더가 제목을 맡으므로 걷는다 ────────────────────
   Tablet 앱바 가운데가 화면 제목을 받은 뒤(위 10절) 같은 문구가 두 번 나왔다 —
   실측 1024 `/myClass/product/productList`: 헤더 "나의 강의실" 22px + 본문
   .chp-page-title "나의 강의실" 28px. 사용자 판단으로 본문 쪽을 감춘다(2026-09-07).

   ⚠ 시안은 헤더 제목과 본문 제목을 함께 두지만 **문구가 다르다** — order-detail 은
     헤더가 "주문 상세"(화면 이름), 본문이 상품명이다. 우리는 둘이 같은 subTitle 이라
     같은 상황이 아니다.
   ⚠ **Mobile 도 대상이다**(2026-10-08 정정). 위 문장은 "폰은 `device eq 'M'` 이라 본문에
     .chp-page-title 이 아예 없다"는 **UA 기준** 판단이었는데, 모드는 **폭 기준**이다 —
     태블릿을 세로로 들면 `device='T'` 라 제목이 렌더되는데 폭이 768 이하라 모드는 mobile 이
     되어 이 규칙을 비껴갔다. 그 결과 앱바와 본문에 같은 문구가 두 번 나왔다
     (실측 SM-T837A 712: 앱바 "나의 강의실" + 본문 "나의 강의실").
     폰에서는 본문에 그 요소가 없으므로 이 규칙이 아무 일도 하지 않는다.
     모바일 제목인 h3.sub-tit 은 문구가 다른 화면이 있어(강의실 목록 ↔ 나의 강의실)
     그것은 그대로 둔다. */
/* ⚠ 주문 상세(.od-title)는 예외다 — 바로 위 주석이 적어 둔 그 예외가 실재한다.
      그 화면은 앱바가 "주문 상세"(화면 이름), 본문이 "{상품명} 외 N건" 이라 문구가 다르고,
      본문 제목에는 [묶음] 뱃지·ⓘ 가 함께 붙어 있어 감추면 그 표식까지 사라진다(DT-4579). */
[data-mode="tablet"] #container .chp-page-title:not(.od-title),
[data-mode="mobile"] #container .chp-page-title:not(.od-title){display:none}


/* ── 11. Tablet — 모바일에만 풀려 있던 고정폭 (전 화면) ──────────────────────
   레거시 고정폭 중 **모바일(≤768)에만 100% 로 풀려 있고 태블릿(769~1400)에는 규칙이
   없는 것**이 둘 있다. 그래서 태블릿에서 PC 값이 그대로 걸려 컨테이너를 넘는다.

     선택자              PC        ≤1400      ≤768
     .brd-wrap.w960      1140px    없음       m.css:2518  width:100%
     .box-type02          960px    없음       m.css:2533  width:100%

   실측(1024, /stdy/appl/stdyApplUserAddr): 결제 단계 칩 줄이 좌우로 잘리고 금액 상자가
   오른쪽으로 넘어간다. `.brd-wrap.w960` 은 `margin:0 auto` 라 **양쪽으로** 삐져나간다.
   ⚠ 클래스 이름이 w960 인데 값은 1140 이다(custom.css:2333). 이름을 믿지 않는다.

   전역 고정폭 ≥800px 를 전수 조사해(메인·PC GNB 제외) 이 둘만 태블릿 규칙이 없었다.
   나머지는 m.css ≤1400 이 이미 vw 로 덮는다 — .inner02 52.08vw · .inner03 100vw ·
   .brd-vw01 .inner 85.71vw · [class*="pop-type02"] .pop-contain 90vw 등.
   `.inp-sch01`(1000px)도 규칙이 없지만 **사용 화면이 0** 이라 넣지 않았다.
   `.talk-talk-report … .table-body`(1100px)는 `.pc-mode` 전용 스코프라 별건이다.

   값은 모바일과 같은 100% 다 — 두 요소 모두 컨테이너 폭을 그대로 쓰는 블록이고,
   모바일에서 이미 그렇게 동작하는 것이 확인돼 있다. 태블릿만의 새 치수를 만들지 않는다.
   #container 를 넣어 (1,3,0) 으로 custom.css(0,2,0)를 이긴다. */
[data-mode="tablet"] #container .brd-wrap.w960{width:100%}
[data-mode="tablet"] #container .box-type02{width:100%}


/* ── 12. Tablet — 학습분석(월간) 레이아웃 (DT-4537) ─────────────────────────
   `.talk-talk-report … .pc-mode` 아래 치수가 전부 **PC 트랙(1100) 기준 고정값**인데
   태블릿 규칙이 없어 트랙(1024 에서 899)을 넘거나 줄바꿈된다. 11절과 같은 종류의
   문제이고(모바일에만 풀려 있음), 값은 새로 만들지 않고 **트랙을 나눠 쓰게** 바꾼다.

     지라 항목            증상(1024 실측)                         원인
     ② 평균점수 상하여백   카드 h153 = 도넛 h153 (여백 0)          PC 는 12, 태블릿 규칙 없음
        좌측 카드 높이     129 vs 153 로 어긋남                    m.css .dash_cont01{height:12.57vw}
     ③ 통계 4칸 → 3칸     행 h160 → h325 (문제풀이가 둘째 줄)      .mini-card-item{min-width:261px}
                          261×4 + gap 33 = 1077 > 899             (≤768 에만 100%/auto 로 풀림)
     ④ 채점결과 표 폭      w1100 그대로 → 201px 넘침                .table-body{width:1100px}
     ⑤ 하단 두 묶음 세로   464×2 + 8.5 = 936.5 > 899 라 줄바꿈      .bottom-info{width:538px}
                                                                  + m.css .dash_cont02{max-width:45.27vw}

   ⚠ 특이성 — custom.css 의 이 화면 규칙들이 `#container … #divMain …` 로 id 2개 +
      클래스 9개다. 그래서 같은 사슬을 그대로 쓰고 앞에 `[data-mode="tablet"]` 만 붙인다.
      선택자가 길지만 짧게 쓰면 이기지 못한다.
   ⚠ ④ 의 "목록이 없으면 표를 감춘다" 는 DT-4536 에서 JS 로 처리됐다. 여기서는 폭만 본다. */

/* ② 평균 점수 — 위아래 10px, 좌측 타이틀 카드는 늘어난 높이에 맞춘다(지라 문구 그대로) */
[data-mode="tablet"] .talk-talk-report #container .inner .contents .dash_wrap.pc-mode .fx-1.fx-gap-24 .dash_cont.fx-c{padding:10px 0}
[data-mode="tablet"] .talk-talk-report #container .inner .contents .dash_wrap.pc-mode .fx-1.fx-gap-24 .dash_cont01.fx-1{height:auto;align-self:stretch}

/* ③ 통계 4칸 — 고정 261 을 풀어 한 줄에 넷이 들어가게 한다(모바일이 이미 쓰는 방식) */
[data-mode="tablet"] .talk-talk-report #container .inner .contents .dash_wrap.pc-mode #divMain .dash_cont02.month-info .mini-card .mini-card-item{
  min-width:0;width:auto;flex:1 1 0;
}

/* ④ 채점 결과 표 — 카드들과 같은 좌우 그리드(=트랙 폭) */
[data-mode="tablet"] .talk-talk-report #container .inner .contents .dash_wrap.pc-mode .table-body{width:100%}
[data-mode="tablet"] .talk-talk-report #container .inner .contents .dash_wrap.pc-mode .table-body table{width:100%}

/* ⑤ 하단 두 묶음 — 트랙을 반씩 나눠 PC 처럼 나란히.
   ⚠ 바깥만 반으로 줄이면 안쪽 고정폭(.mini-card 506 · .mini-card-item-long 458)이
      그대로 남아 화면이 넘친다(실측 800 에서 99px). 안쪽도 함께 풀어야 한다. */
[data-mode="tablet"] .talk-talk-report #container .inner .contents .dash_wrap.pc-mode #divMain .dash_cont02.bottom-info{
  width:auto;max-width:none;min-width:0;flex:1 1 0;
}
/*    안쪽은 2열 그리드로 둔다. flex + `flex:1 1 40%` 로 하면 **마지막 줄에 하나만 남을 때**
      (영역이 홀수개, 예: 듣기·읽기·쓰기) 그 하나가 줄 전체로 늘어나 크기가 달라진다.
      그리드면 칸이 고정이라 몇 개든 같은 크기이고, 가로로 긴 카드만 두 칸을 쓴다.
      gap 은 기존 값을 그대로 물려받는다(1024 에서 10.96). */
[data-mode="tablet"] .talk-talk-report #container .inner .contents .dash_wrap.pc-mode #divMain .dash_cont02.bottom-info .mini-card{
  width:100%;display:grid;grid-template-columns:repeat(2, minmax(0, 1fr));
}
[data-mode="tablet"] .talk-talk-report #container .inner .contents .dash_wrap.pc-mode #divMain .dash_cont02.bottom-info .mini-card .mini-card-item{min-width:0}
[data-mode="tablet"] .talk-talk-report #container .inner .contents .dash_wrap.pc-mode #divMain .dash_cont02.bottom-info .mini-card .mini-card-item-long{
  width:auto;grid-column:1 / -1;
}


/* ── 13. Mobile — 학습일정 자학학습 · 수업시간 전체 설정 팝업 (DT-4543) ────────
   보안성 점검 QA 지적 두 곳. 원인이 서로 다르다.

   ⓐ 자학학습 — 폰트는 정상(14.55)이고 `stdySched.jsp` 의 인라인 `max-height:45px` 가 원인이었다.
      모바일에서 상품명·이용기간이 두 열(152 씩)로 접혀 내용이 85 가 되는데 45 로 잘려
      아랫줄과 겹쳤다. 인라인은 JSP 에서 걷었고(PC 는 한 줄 20 이라 그 값이 하던 일이 없다),
      여기서는 **상품명 한 줄 / [이용기간]+날짜 한 줄** 로 세로로 쌓는다(사용자 지시 2026-09-09).

   ⓑ 팝업 — `m.css:507~518` 의 `pop-type02` 블록이 **@media ≤1400 에만 있고 ≤768 재선언이
      없다.** 그래서 태블릿용 vw 가 모바일까지 내려온다. 390 실측:
        .pop-cont      font 1.56vw = 6.08 · line-height 2.50vw = 9.75
        .pop-head h1   2.50vw = 9.75      · 버튼 1.25vw = 4.88 (높이 4.17vw = 16)
      ⚠ 겹침의 정체는 **line-height 가 font-size 보다 작은 것**이다. `.tit-02`(제목·강사명)는
        자기 font-size 를 다시 선언해 14.55 로 돌아오지만 줄간격 9.75 는 그대로 상속해
        두 줄짜리가 서로 포개졌다("테스트화상교사 선생님" · "수업일시 설정 (…삭제)").
        그래서 `.pop-cont` 의 줄간격을 **배수(1.5)** 로 준다 — 자식이 제 글자 크기로 계산한다.
      ⚠ 버튼은 높이도 함께 올린다. 16px 상자에 14px 글자는 담기지 않는다(사용자 확인 2026-09-09).

   특이성 — m.css 가 chp 보다 나중에 로드된다. `[class*="pop-type02"] .pop-cont`(0,2,0)를
   이기려면 최소 (0,3,0) 이 필요해 `[data-mode="mobile"]` 를 앞에 붙인다. */

/* ⓐ 자학학습 */
[data-mode="mobile"] #container .sche-self .fx-gap-10{gap:12px}
[data-mode="mobile"] #container .sche-self dl{
  display:flex;flex-direction:column;align-items:flex-start;gap:6px;
  max-height:none;
}
[data-mode="mobile"] #container .sche-self dl > dt{width:100%}
[data-mode="mobile"] #container .sche-self dl > dd{
  display:flex;align-items:center;gap:8px;width:100%;
}

/* ⓑ 수업시간 전체 설정 팝업 */
[data-mode="mobile"] [class*="pop-type02"] .pop-cont{font-size:14px;line-height:1.5}
[data-mode="mobile"] [class*="pop-type02"] .pop-head h1{font-size:16px}
[data-mode="mobile"] [class*="pop-type02"] .pop-foot{height:auto}
[data-mode="mobile"] [class*="pop-type02"] .pop-foot > button,
[data-mode="mobile"] [class*="pop-type02"] .pop-foot > a{
  height:44px;font-size:14px;border-radius:999px;
}

/* ══ 14. 나의 강의실 › 강의실 목록 — 2026.09.11 전달본 수정안 (DT-4531) ══════
   기준: 차이홍_퍼블/myClass/handoff-myclass/prototypes/my-class (MCParts.jsx `MCT`·`MCG`).
   **PC·Tablet 은 표, Mobile 은 카드**다(오너 지시 2026.09.08) — 이 사이트의 다른 목록
   (결제이력·상담 및 결제·자녀등록)이 모두 표이고 DS 도 "표가 기본 그릇"이라고 적는다.
   표로 가면 DT-4531 이 요청한 두 가지가 함께 풀린다 — 제목이 맨 윗줄을 통째로 써서 잘리지
   않고, [강의실 입장]이 액션 열에 서므로 카드 위쪽 빈 자리가 사라진다.
   ⚠ 라이브 카드(.lec-lst01 .txt-cont{flex:0 0 435px})가 만들던 제목 넘침도 마크업이
     바뀌면서 사라진다 — 고정폭 칸 자체가 없다.
   ⚠ 마크업은 한 벌이다. .chp-lecrow__cols 그리드 배치를 [data-mode] 가 바꾼다 —
     학습형태가 PC 에서는 '대상' 아래, Mobile 에서는 표지 아래로 가야 해서다. */

.chp-lecsec{position:relative}
.chp-lecsec__bar{
  /* z-index 는 2 다. 로딩 딤(.loading-wrap, custom.css:1995)이 z-index:10 이라
     그보다 높으면 [강의실 입장] 로딩 중에 이 흰 띠만 딤 위로 떠오른다
     — 본문이 모두 어두워진 자리에 띠 하나만 밝게 남는다(실측 2026-09-14).
     띠가 이겨야 할 상대는 같은 섹션 안의 행뿐이고 행에는 위치 지정이 없으므로 2 로 족하다. */
  position:sticky;z-index:2;
  /* top 은 각 모드가 `calc(var(--hdr-on, 1) * N px)` 로 잡는다 — 헤더가 숨으면 0 이 되어
     띠가 맨 위로 따라 붙는다. 고정 숫자를 넣으면 헤더가 빠진 자리에 빈 띠가 생긴다. */
  transition:top .22s linear;
  display:flex;align-items:center;
  background:var(--color-white);
}
.chp-lecsec__bar::before,
.chp-lecsec__bar::after{content:"";flex:1 1 auto;height:1px;background:var(--grayscale-100)}
.chp-lecsec__bar span{
  font-weight:var(--fw-bold);
  letter-spacing:var(--tracking-core);
  color:var(--ui-navy);
  white-space:nowrap;
}
/* 목록 전체를 블록 하나가 감싼다 — 결제이력과 같은 껍데기다(1px + radius/block). */
.chp-lecblock{
  border:1px solid var(--grayscale-100);
  border-radius:calc(var(--radius-block) * 1px);
  overflow:hidden;
  background:var(--color-white);
}
.chp-lecempty{
  padding:80px 0;text-align:center;
  font:var(--fw-regular) 16px/1.6 var(--font-core);
  letter-spacing:var(--tracking-core);color:var(--ui-gray-666);
}
/* 행 — 아래 구분선은 inset 그림자로 둔다. border 를 쓰면 마지막 행에서 블록 radius 와 겹친다. */
.chp-lecrow{
  background:var(--color-white);
  display:flex;flex-direction:column;
  box-sizing:border-box;
  box-shadow:inset 0 -1px 0 var(--grayscale-100);
}
.chp-lecrow:last-child{box-shadow:none}
.chp-lecrow__title{
  font-weight:var(--fw-bold);
  letter-spacing:var(--tracking-core);
  color:var(--color-black);
  word-break:keep-all;
  margin:0;
}
.chp-lecrow__badge{
  margin-left:8px;
  font-weight:var(--fw-medium);
  color:var(--ui-gray-666);
  white-space:nowrap;
}
.chp-lecrow__cols{display:grid;align-items:start}
.chp-lecrow__cover img{display:block;border-radius:4px;object-fit:cover}
.chp-lecrow__col{display:flex;flex-direction:column;gap:8px;min-width:0}
.chp-lecrow__lbl,
.chp-lecrow__sub{
  font-weight:var(--fw-regular);
  letter-spacing:var(--tracking-core);
  color:var(--ui-gray-666);
  word-break:keep-all;
}
.chp-lecrow__lbl{white-space:nowrap}
.chp-lecrow__val{
  font-weight:var(--fw-regular);
  letter-spacing:var(--tracking-core);
  color:var(--color-black);
  word-break:keep-all;
}
/* 라벨+값 쌍을 inline-block 으로 묶어 '34회' 가 글자 중간에서 갈리지 않게 한다. */
.chp-lecrow__lesson{
  font-weight:var(--fw-regular);
  letter-spacing:var(--tracking-core);
  color:var(--ui-gray-666);
  word-break:keep-all;
}
.chp-lecrow__lesson > span{display:inline-block;white-space:nowrap}
.chp-lecrow__lesson b{font-weight:var(--fw-medium);color:var(--color-black)}
/* 학습형태 — navy 원 + 흰 픽토그램. 원 지름은 라벨의 약 1.75배다. */
.chp-lecrow__kind{display:flex;align-items:center;margin:0}
.chp-lecrow__kindico{
  flex:0 0 auto;border-radius:50%;
  background:var(--color-dark-blue);
  display:inline-flex;align-items:center;justify-content:center;
}
.chp-lecrow__kindico svg{display:block;fill:var(--color-white)}
.chp-lecrow__kind span{
  font-weight:var(--fw-regular);
  letter-spacing:var(--tracking-core);
  color:var(--ui-gray-666);
  white-space:nowrap;
}
/* 진도바 — DS 에 프로그레스 컴포넌트가 없어 이 화면의 구현이다. 값은 전부 DS 에서 왔다:
   그라디언트 없음(이 시스템은 화면에 그라디언트를 쓰지 않는다) · 라운드 4 · 트랙
   --color-light-gray · 숫자는 바 밖 **검정**(같은 행에 navy 버튼이 있어 파랑을 쓰지 않는다). */
/* ⚠ `margin-top` 을 두지 않는다. 이 바는 `.chp-lecrow__col`(flex · gap 8) 의 자식이라
   칸의 gap 이 이미 8 을 준다. 시안은 칸에 gap 이 없고 바가 marginTop 8 을 들고 있는데
   (MCBar), 우리는 둘 다 걸려 **16 으로 두 번 벌어졌다**(실측 2026-10-08, 시안 8). */
.chp-lecbar{display:flex;align-items:center;gap:10px}
.chp-lecbar__track{
  flex:1 1 auto;height:8px;border-radius:4px;
  background:var(--color-light-gray);overflow:hidden;
}
.chp-lecbar__track i{display:block;height:8px;border-radius:4px;background:var(--ui-blue)}
.chp-lecbar__num{
  flex-shrink:0;font-weight:var(--fw-bold);
  letter-spacing:var(--tracking-core);color:var(--color-black);
}
.chp-lecrow__btn{width:auto}

/* T·M 바탕은 **1-6 ⓐ 가 전역으로 흰색**이다(2026-09-21). 여기 있던 화면별 예외
   (`.inner.chp-myclass` 로 좁힌 것)는 같은 값을 두 번 쓰는 것이라 걷었다. */

/* ── 14-1. PC — 표 ────────────────────────────────────────────────────── */
[data-mode="pc"] #container .chp-lecsec + .chp-lecsec{margin-top:48px}
[data-mode="pc"] #container .chp-lecsec__bar{top:calc(var(--hdr-on, 1) * 131px);gap:20px;padding:14px 0;margin-bottom:24px}
[data-mode="pc"] #container .chp-lecsec__bar span{font-size:20px;line-height:1.4}
[data-mode="pc"] #container .chp-lecrow{padding:32px 24px;gap:20px}
[data-mode="pc"] #container .chp-lecrow__title{font-size:18px;line-height:1.4}
[data-mode="pc"] #container .chp-lecrow__badge{font-size:14px}
/* ⚠ **표지 칸은 이미지 폭만 차지한다**(시안 `MCParts` 주석 그대로) — 첫 칸을 `auto` 로 두면
   표에 남는 폭을 마지막 `auto`(버튼 칸)와 나눠 가져 **표지 오른쪽이 73px 비었다**
   (실측 2026-10-01: 칸 153 ↔ 이미지 80, 그래서 이미지↔다음 열이 113). 시안은 flex 행에
   `flex:0 0 auto` + 폭 `coverW` 라 표지 칸이 늘어날 여지가 없다.
   첫 칸을 `coverW` 로 못 박고 **남는 폭은 버튼 앞**(마지막 칸 `1fr`)으로 보낸다 —
   시안도 버튼이 `marginLeft:auto` 로 오른쪽 끝에 선다. */
[data-mode="pc"] #container .chp-lecrow__cols{
  grid-template-columns:80px 210px 180px 210px 1fr;
  column-gap:40px;
}
[data-mode="pc"] #container .chp-lecrow__cover{grid-area:1 / 1 / 3 / 2}
[data-mode="pc"] #container .chp-lecrow__cover img{width:80px;height:90px}
[data-mode="pc"] #container .chp-lecrow__col--target{grid-area:1 / 2 / 2 / 3}
[data-mode="pc"] #container .chp-lecrow__kind{grid-area:2 / 2 / 3 / 3;margin-top:12px;gap:8px}
[data-mode="pc"] #container .chp-lecrow__kindico{width:24px;height:24px}
[data-mode="pc"] #container .chp-lecrow__kindico svg{width:18px;height:18px}
[data-mode="pc"] #container .chp-lecrow__kind span{font-size:14px;line-height:1.4}
[data-mode="pc"] #container .chp-lecrow__col--period{grid-area:1 / 3 / 3 / 4}
[data-mode="pc"] #container .chp-lecrow__col--prog{grid-area:1 / 4 / 3 / 5}
[data-mode="pc"] #container .chp-lecrow__act{grid-area:1 / 5 / 3 / 6;align-self:center;justify-self:end}
[data-mode="pc"] #container .chp-lecrow__lbl,
[data-mode="pc"] #container .chp-lecrow__sub,
[data-mode="pc"] #container .chp-lecrow__lesson,
[data-mode="pc"] #container .chp-lecbar__num{font-size:14px;line-height:1.4}
[data-mode="pc"] #container .chp-lecrow__val{font-size:16px;line-height:1.4}
[data-mode="pc"] #container .chp-lecrow__btn{height:36px;font-size:14px;padding:0 20px}

/* ── 14-2. Tablet — 표 ───────────────────────────────────────────────────
   값은 PC × 1.3125(DS ta body 21 ÷ pc body 16)로, 시안 `MCT.ta` 그대로다.
   ⚠ 시안은 **1400 좌표계에 그리고 `zoom: w/1400` 으로 줄여** 보인다. 그 값을 px 로 그대로
     넣으면 1024 에서 행 폭이 1298 이 되어 진도 열과 버튼이 잘린다(실측 2026-09-11).
     그래서 이 레포의 태블릿 스케일 패턴 `min(calc(100vw * N / 1400), N px)` 로 옮겼다 —
     1400 에서 설계값과 같고 그 아래로는 비례해 줄어든다([[태블릿 스케일]] 규칙). */
[data-mode="tablet"] #container .chp-lecsec + .chp-lecsec{margin-top:min(calc(100vw * 63 / 1400), 63px)}
[data-mode="tablet"] #container .chp-lecsec__bar{top:calc(var(--hdr-on, 1) * 76px);gap:min(calc(100vw * 26 / 1400), 26px);padding:min(calc(100vw * 18 / 1400), 18px) 0;margin-bottom:min(calc(100vw * 32 / 1400), 32px)}
[data-mode="tablet"] #container .chp-lecsec__bar span{font-size:clamp(18.2px, calc(100vw * 26 / 1400), 26px);line-height:1.4}
[data-mode="tablet"] #container .chp-lecrow{padding:min(calc(100vw * 42 / 1400), 42px) min(calc(100vw * 32 / 1400), 32px);gap:min(calc(100vw * 26 / 1400), 26px)}
[data-mode="tablet"] #container .chp-lecrow__title{font-size:clamp(18.2px, calc(100vw * 26 / 1400), 26px);line-height:1.4}
[data-mode="tablet"] #container .chp-lecrow__badge{font-size:clamp(12.6px, calc(100vw * 18 / 1400), 18px)}
[data-mode="tablet"] #container .chp-lecrow__cols{
  grid-template-columns:min(calc(100vw * 105 / 1400), 105px) min(calc(100vw * 266 / 1400), 266px) min(calc(100vw * 250 / 1400), 250px) min(calc(100vw * 270 / 1400), 270px) 1fr;
  column-gap:min(calc(100vw * 52 / 1400), 52px);
}
[data-mode="tablet"] #container .chp-lecrow__cover{grid-area:1 / 1 / 3 / 2}
[data-mode="tablet"] #container .chp-lecrow__cover img{width:min(calc(100vw * 105 / 1400), 105px);height:min(calc(100vw * 118 / 1400), 118px)}
[data-mode="tablet"] #container .chp-lecrow__col--target{grid-area:1 / 2 / 2 / 3}
[data-mode="tablet"] #container .chp-lecrow__kind{grid-area:2 / 2 / 3 / 3;margin-top:min(calc(100vw * 12 / 1400), 12px);gap:min(calc(100vw * 8 / 1400), 8px)}
[data-mode="tablet"] #container .chp-lecrow__kindico{width:min(calc(100vw * 32 / 1400), 32px);height:min(calc(100vw * 32 / 1400), 32px)}
[data-mode="tablet"] #container .chp-lecrow__kindico svg{width:min(calc(100vw * 22 / 1400), 22px);height:min(calc(100vw * 22 / 1400), 22px)}
[data-mode="tablet"] #container .chp-lecrow__kind span{font-size:clamp(12.6px, calc(100vw * 18 / 1400), 18px);line-height:1.4}
[data-mode="tablet"] #container .chp-lecrow__col--period{grid-area:1 / 3 / 3 / 4}
[data-mode="tablet"] #container .chp-lecrow__col--prog{grid-area:1 / 4 / 3 / 5}
[data-mode="tablet"] #container .chp-lecrow__act{grid-area:1 / 5 / 3 / 6;align-self:center;justify-self:end}
[data-mode="tablet"] #container .chp-lecrow__lbl,
[data-mode="tablet"] #container .chp-lecrow__sub,
[data-mode="tablet"] #container .chp-lecrow__lesson,
[data-mode="tablet"] #container .chp-lecbar__num{font-size:clamp(12.6px, calc(100vw * 18 / 1400), 18px);line-height:1.4}
[data-mode="tablet"] #container .chp-lecrow__val{font-size:clamp(16.8px, calc(100vw * 24 / 1400), 24px);line-height:1.4}
[data-mode="tablet"] #container .chp-lecrow__btn{height:min(calc(100vw * 46 / 1400), 46px);font-size:clamp(14px, calc(100vw * 18 / 1400), 18px);padding:0 min(calc(100vw * 26 / 1400), 26px)}

/* ── 14-3. Mobile — 카드 ──────────────────────────────────────────────────
   DS MO/Card 규칙: 라운드도 그림자도 없이 1px 선으로만 가른다. 카드 아래 선은 두지 않는다 —
   전폭 [강의실 입장] 바로 아래에 선이 오면 버튼에 딸린 선으로 읽힌다(오너 지적 2026.09.08).
   카드 사이는 여백이 가른다. */
[data-mode="mobile"] #container .chp-lecblock{border:0;border-radius:0;overflow:visible}
[data-mode="mobile"] #container .chp-lecsec + .chp-lecsec{margin-top:12px}
[data-mode="mobile"] #container .chp-lecsec__bar{top:calc(var(--hdr-on, 1) * 48px);gap:10px;padding:8px 0;margin-bottom:12px}
[data-mode="mobile"] #container .chp-lecsec__bar span{font-size:14px;line-height:1.4}
[data-mode="mobile"] #container .chp-lecrow{padding:20px 0;gap:12px;box-shadow:none}
[data-mode="mobile"] #container .chp-lecrow__title{font-size:16px;line-height:1.35}
[data-mode="mobile"] #container .chp-lecrow__badge{font-size:12px}
[data-mode="mobile"] #container .chp-lecrow__cols{
  grid-template-columns:auto minmax(0, 1fr);
  column-gap:16px;row-gap:8px;
}
/* 표지는 정보 세 줄 **전체**에 걸친다. 두 줄만 걸치면 96px 표지가 그 두 행을 늘려
   '대상' 과 '학습 기간' 사이가 벌어진다(실측 2026-09-11). 학습형태는 표지 아래다. */
[data-mode="mobile"] #container .chp-lecrow__cover{grid-area:1 / 1 / 4 / 2}
[data-mode="mobile"] #container .chp-lecrow__cover img{width:86px;height:96px}
[data-mode="mobile"] #container .chp-lecrow__kind{grid-area:4 / 1 / 5 / 2;gap:8px;margin-top:8px}
[data-mode="mobile"] #container .chp-lecrow__kindico{width:22px;height:22px}
[data-mode="mobile"] #container .chp-lecrow__kindico svg{width:16px;height:16px}
[data-mode="mobile"] #container .chp-lecrow__kind span{font-size:12px;line-height:1.4}
[data-mode="mobile"] #container .chp-lecrow__col--target{grid-area:1 / 2 / 2 / 3}
[data-mode="mobile"] #container .chp-lecrow__col--period{grid-area:2 / 2 / 3 / 3}
[data-mode="mobile"] #container .chp-lecrow__col--prog{grid-area:3 / 2 / 4 / 3}
[data-mode="mobile"] #container .chp-lecrow__act{grid-area:5 / 1 / 6 / 3;margin-top:12px}
/* 모바일은 라벨과 값이 한 줄이다 — 표가 아니라 카드라 열 정렬이 필요 없다. */
[data-mode="mobile"] #container .chp-lecrow__col{flex-direction:row;flex-wrap:wrap;gap:4px}
[data-mode="mobile"] #container .chp-lecrow__col--prog{flex-direction:column;gap:2px}
[data-mode="mobile"] #container .chp-lecrow__lbl,
[data-mode="mobile"] #container .chp-lecrow__sub,
[data-mode="mobile"] #container .chp-lecrow__lesson,
[data-mode="mobile"] #container .chp-lecrow__val,
[data-mode="mobile"] #container .chp-lecbar__num{font-size:12px;line-height:20px}
[data-mode="mobile"] #container .chp-lecrow__btn{height:40px;font-size:14px;width:100%}

/* ══ 15. 학습 공간 상단 (공통) — 2026.09.11 전달본 ═══════════════════════════
   기준: prototypes/classroom-space (screen.jsx `TitleRow` · `Tabs`).
   네 화면이 myClass/common/classTop.jsp 하나를 공유한다 —
   classMainCrc(유패스 방문) · classMainLes(유패스) · classMain · classNewMainLes.
   ⚠ 탭 **구성**(방문 유무 · 브랜드)은 JSP 가 갖고 있다. 여기는 모양만 입힌다. */

.chp-spacetop{display:flex;align-items:center;justify-content:space-between;gap:16px}
.chp-spacetop__title{
  margin:0;min-width:0;
  color:var(--color-black);
  letter-spacing:var(--tracking-core);
  font-weight:var(--fw-bold);
  display:flex;align-items:center;gap:12px;
}
.chp-spacetop__sub{flex-shrink:0}

/* 탭 — 시안이 라이브에서 셋을 고쳤다(오너 확정 2026.09.09):
     ① 위로 뜨던 그림자(bs-type02)를 걷었다 — 하단 고정 바가 아닌데 위로 뜨고 있었다.
     ② 탭 줄 아래에 2px 네이비 면을 뒀다. 위만 둥근 형태는 '아래 면에 붙은 탭' 을 말하는데
        붙을 면이 없어 탭과 내용이 이어져 보이지 않았다.
     ③ 비활성을 무채색으로 내렸다(navy 20% + navy 700 → --bg-gray + #666 400) —
        대비는 전에도 충분했고, 문제는 둘 다 네이비라 켜진 것이 색이 아니라 명도로만 갈린 것이다.
   ⚠ 탭은 넷까지 온다. 그래도 **들어갈 때는 균등분할**이다 — flex:1 1 0 이 그 일을 하고
     (1 1 auto 는 라벨 길이에 따라 폭이 갈린다), 한 줄에 못 들어갈 때만 min-width:max-content
     가 밀어내며 가로 스크롤로 넘긴다(줄바꿈은 탭 줄 높이가 달라져 아래 면과 어긋난다). */
#container .chp-spacetab{
  display:flex;
  list-style:none;margin:48px 0 0;padding:0;
  overflow-x:auto;overflow-y:hidden;
  scrollbar-width:none;-ms-overflow-style:none;
  border-bottom:2px solid var(--ui-navy);
  background:none;
}
#container .chp-spacetab::-webkit-scrollbar{display:none}
#container .chp-spacetab > li{flex:1 1 0;min-width:max-content;margin:0;padding:0;background:none;border:0}
#container .chp-spacetab > li > a{
  display:flex;align-items:center;justify-content:center;
  width:100%;box-sizing:border-box;
  background:var(--bg-gray);
  color:var(--ui-gray-666);
  font-weight:var(--fw-regular);
  letter-spacing:var(--tracking-core);
  white-space:nowrap;
  border:0;
  /* ⚠ 위 ①(그림자를 걷었다)을 **주석에만 쓰고 규칙을 안 넣었다**(오너 지적 2026.09.11 —
     "라운드가 깨끗하게 보이지 않아"). 레거시 `.tab-menu01 > li > a` 의
     `box-shadow:0 -3px 4px rgba(0,0,0,.1)` 이 살아 있었고, 탭이 서로 맞붙어 있어
     **이웃의 그림자가 경계에 세로 실선으로 쌓였다** — 라운드가 만나는 지점부터 아래
     네이비 선까지 한 줄. 시안은 같은 자리에서 두 탭이 이음매 없이 한 면이다(실측 대조).
     위쪽 V 홈은 시안에도 똑같이 있다(양쪽 라운드가 서로 등지는 자리 · 배경도 둘 다 흰색)
     — 문제는 그 아래 세로선이었다. */
  box-shadow:none;
}
#container .chp-spacetab > li > a:hover{text-decoration:none}
#container .chp-spacetab > li.active > a{
  background:var(--ui-navy);
  color:var(--color-white);
  font-weight:var(--fw-bold);
}

/* ── 15-1. PC ─────────────────────────────────────────────────────────── */
[data-mode="pc"] #container .chp-spacetop__title{font-size:20px;line-height:30px}
[data-mode="pc"] #container .chp-spacetop__sub{height:40px;font-size:16px;padding:0 20px}
[data-mode="pc"] #container .chp-spacetab > li > a{height:64px;padding:0 56px;border-radius:6px 6px 0 0;font-size:20px;line-height:1}

/* ── 15-2. Tablet — 1400 좌표계 비례 축소(시안은 zoom, 이 레포는 vw) ───────── */
[data-mode="tablet"] #container .chp-spacetop__title{font-size:clamp(18.2px, calc(100vw * 26 / 1400), 26px);line-height:1.4}
[data-mode="tablet"] #container .chp-spacetop__sub{height:min(calc(100vw * 46 / 1400), 46px);font-size:clamp(12.6px, calc(100vw * 18 / 1400), 18px);padding:0 min(calc(100vw * 26 / 1400), 26px)}
[data-mode="tablet"] #container .chp-spacetab{margin-top:min(calc(100vw * 48 / 1400), 48px)}
[data-mode="tablet"] #container .chp-spacetab > li > a{
  height:min(calc(100vw * 64 / 1400), 64px);
  padding:0 min(calc(100vw * 56 / 1400), 56px);
  border-radius:6px 6px 0 0;
  font-size:clamp(18.2px, calc(100vw * 26 / 1400), 26px);line-height:1;
}

/* ── 15-3. Mobile ─────────────────────────────────────────────────────── */
[data-mode="mobile"] #container .chp-spacetop{gap:12px}
[data-mode="mobile"] #container .chp-spacetop__title{font-size:16px;line-height:1.4}
[data-mode="mobile"] #container .chp-spacetop__sub{height:40px;font-size:14px;padding:0 16px}
[data-mode="mobile"] #container .chp-spacetab{margin-top:28px}
[data-mode="mobile"] #container .chp-spacetab > li > a{height:44px;padding:0 14px;border-radius:4px 4px 0 0;font-size:16px;line-height:1}

/* ⚠ **라운드는 DS 값이다**(2026.09.16 전달본 고정). 시안 셸이 `window.SPACE_BTN_DS = true`
   로 못박아 두었다 — "전달본 고정 — DS 라운드가 기본(오너 지시 2026.09.16)".
   그래서 `cardR/wordR/tabR` 이 전부 DS 쪽을 고른다:
     카드 radiusDS **16/16/12**(라이브 형태 언어의 40/40/28 아님) ·
     단어 카드 wRadiusDS **16/16/12** · 탭 tabRDS **6/6/4**.
   한때 반대쪽(40·24·24)을 적용했다가 되돌린 자리다 — 토글의 기본값을 확인하지 않았다. */
/* ══ 16. 학습 공간 카드 (공통) — 2026.09.11 전달본 ═══════════════════════════
   기준: prototypes/classroom-space (screen.jsx `Card` · `SZ`).
   회차 카드(classMainCrc)와 레슨 카드(classMainLes)가 같은 셸을 쓴다 —
   `.inner.chp-space` 로 두 화면에만 건다(.brd-lst02 는 다른 화면도 쓴다).
   ⚠ 화살표(.swi-ui-type02)는 손대지 않는다 — 이미 시안 값이다(64 원 · 좌우 -30 · hover --mlc).

   라이브에서 바뀌는 것 다섯:
     ① 높이 616 고정 → **min-height 440**(PC·TA) · 300(MO). "내용에 비해 너무 커서 가운데가
        비었다"(오너 지적). 가로 캐러셀이라 카드끼리 높이는 align-items:stretch 가 맞춘다.
     ② 그림자 → **1px 테두리**. 라이브 `--moc02` #E4E4E4 는 흰 바탕에서 거의 보이지 않았고,
        DS 는 카드 그림자를 쓰지 않는다(그림자 다섯은 전부 하단 고정 바·모달·GNB). */
.chp-space .brd-lst02 > li{
  height:auto;
  background:var(--color-white);
  box-shadow:none;
  border:1px solid var(--grayscale-100);
  box-sizing:border-box;
  /* ⚠ 카드는 `flex-direction:column; justify-content:space-between` 인데 레거시가 거기에
     **gap 을 vw 로** 걸어 뒀다 — `m.css:655 0.58vw`(TA 1024 에서 5.9) ·
     `m.css:1639 11.46vw`(MO 390 에서 **44.7**). PC(custom.css:459)만 0 이다.
     그래서 태블릿·모바일에서 제목과 설명 사이가 통째로 벌어져 설명이 진도바 바로 위까지
     밀려 내려와 있었다(오너 지적 2026.09.11 "영역이 아래로 내려와").
     시안 `Card` 는 gap 이 없다 — 두 덩이를 벌리는 일은 space-between 이 한다. */
  gap:0;
}
/* ③④⑤ 타이포 — 라이브는 분류 24 · 제목 20 · 설명 30 이라 **분류가 제목보다 컸다**.
   시안은 분류 18 · 제목 16 · 설명 20 이다(SZ.pc). 설명 색은 #888(--ui-gray-888 자리). */
.chp-space .brd-lst02 .brd-ctgr{font-weight:var(--fw-medium)}
.chp-space .brd-lst02 .tit-02{font-weight:var(--fw-bold)}

/* ── 16-1. PC ─────────────────────────────────────────────────────────── */
[data-mode="pc"] #container .chp-space .brd-lst02 > li{min-height:426px;border-radius:16px;padding:64px 48px 48px}
[data-mode="pc"] #container .chp-space .brd-lst02 .brd-ctgr{font-size:18px;line-height:26px}
[data-mode="pc"] #container .chp-space .brd-lst02 .tit-02{font-size:16px;line-height:22px}
[data-mode="pc"] #container .chp-space .brd-lst02 .brd-desc{font-size:20px;line-height:30px}

/* ── 16-2. Tablet — 1400 좌표계 비례 축소 ─────────────────────────────── */
[data-mode="tablet"] #container .chp-space .brd-lst02 > li{
  min-height:min(calc(100vw * 450 / 1400), 450px);
  border-radius:min(calc(100vw * 16 / 1400), 16px);
  padding:min(calc(100vw * 64 / 1400), 64px) min(calc(100vw * 48 / 1400), 48px) min(calc(100vw * 48 / 1400), 48px);
}
[data-mode="tablet"] #container .chp-space .brd-lst02 .brd-ctgr{font-size:clamp(18.2px, calc(100vw * 26 / 1400), 26px);line-height:min(calc(100vw * 36 / 1400), 36px)}
[data-mode="tablet"] #container .chp-space .brd-lst02 .tit-02{font-size:clamp(16.8px, calc(100vw * 24 / 1400), 24px);line-height:min(calc(100vw * 32 / 1400), 32px)}
[data-mode="tablet"] #container .chp-space .brd-lst02 .brd-desc{font-size:clamp(19.6px, calc(100vw * 28 / 1400), 28px);line-height:min(calc(100vw * 40 / 1400), 40px)}

/* ── 16-3. Mobile ─────────────────────────────────────────────────────── */
[data-mode="mobile"] #container .chp-space .brd-lst02 > li{min-height:308px;border-radius:12px;padding:47px 28px 28px}
[data-mode="mobile"] #container .chp-space .brd-lst02 .brd-ctgr{font-size:14px;line-height:20px}
[data-mode="mobile"] #container .chp-space .brd-lst02 .tit-02{font-size:12px;line-height:18px}
[data-mode="mobile"] #container .chp-space .brd-lst02 .brd-desc{font-size:16px;line-height:24px}

/* 잠금 띠 — 윗선을 **옆 카드 주 액션 버튼의 윗선**과 맞춘다(오너 지시 2026.09.09).
   높이 = 카드 아래 패딩 + 버튼 높이(pillH) → PC 48+56=104 · TA 48+64=112 · MO 28+48=76.
   ⚠ 2026-10-01 에 다시 계산했다 — 09.16 전달본에서 `pillH` 가 80/80/56 → **56/64/48** 로
     내려갔는데(DS Button 사다리) 이 띠만 옛 128/128/84 로 남아 버튼선보다 24 아래를 덮었다.
   라이브는 200 이라 버튼을 중간에서 잘라 반쯤 남겼다(실측 2026-09-11).
   면은 --bg-gray 다 — 라이브 --moc02 #E4E4E4 는 시안에서 쓰는 자리가 사라졌다. */
.chp-space .brd-lst02 .brd-overlock .lock_wrap{background:var(--bg-gray)}
[data-mode="pc"] #container .chp-space .brd-lst02 .brd-overlock .lock_wrap{height:104px}
[data-mode="tablet"] #container .chp-space .brd-lst02 .brd-overlock .lock_wrap{height:min(calc(100vw * 112 / 1400), 112px)}
[data-mode="mobile"] #container .chp-space .brd-lst02 .brd-overlock .lock_wrap{height:76px}

/* 자물쇠 크기 — 시안 `SZ.lockImg` 44(PC·TA) · 32(MO), 세로는 원본 비율 108:122 로
   44→50 · 32→36 이다(시안도 같은 식으로 계산한다: round(lockImg*122/108)).
   ⚠ 크기를 안 정하면 **원본 108×122 그대로** 나온다 — 128 띠 안에서 거의 꽉 차 버렸다
     (오너 지적 2026.09.11 "잠금이미지가 작게 노출되지 않아"). 레거시도 PC 규칙이 없고
     태블릿에만 `m.css:669 height:6.43vw`(1024 에서 65.8)가 있었다.
   ⚠ `.fx-c` 가 height:100% 라 이미지에 직접 건다. */
[data-mode="pc"] #container .chp-space .brd-lst02 .brd-overlock .lock_wrap img{width:44px;height:50px}
[data-mode="tablet"] #container .chp-space .brd-lst02 .brd-overlock .lock_wrap img{
  width:min(calc(100vw * 44 / 1400), 44px);height:min(calc(100vw * 50 / 1400), 50px);
}
[data-mode="mobile"] #container .chp-space .brd-lst02 .brd-overlock .lock_wrap img{width:32px;height:36px}

/* 수업시간 라벨 — 라이브는 `1px 테두리 + 완전 원형`(.badge-)인데, 그 페인트는 이 화면에서
   **아웃라인 필 버튼**의 것이다. 같은 스타일이 한 화면에서 '누를 수 있는 것' 과 '읽는 값' 둘을
   가리키면 안 된다 → **라운드 4 회색 칩**으로 내린다(오너 확정 2026.09.09).
   값(시간)은 칩 밖이라 시간이 길어져도 라벨 폭이 카드마다 달라지지 않는다. */
.chp-space .brd-lst02 .badge-{
  border:0;
  border-radius:4px;
  background:var(--bg-gray);
  color:var(--ui-gray-666);
  font-weight:var(--fw-medium);
}
[data-mode="pc"] #container .chp-space .brd-lst02 .badge-{height:36px;padding:0 12px;font-size:20px}
[data-mode="tablet"] #container .chp-space .brd-lst02 .badge-{height:min(calc(100vw * 36 / 1400), 36px);padding:0 min(calc(100vw * 12 / 1400), 12px);font-size:clamp(14px, calc(100vw * 20 / 1400), 20px)}
[data-mode="mobile"] #container .chp-space .brd-lst02 .badge-{height:27px;padding:0 10px;font-size:15px}

/* ── 16-4. 레슨 카드 (classMainLes) ──────────────────────────────────────
   시안이 라이브에서 셋을 바꿨다.
   ① **진도 바가 위, 버튼이 아래**다(오너 확정 2026.09.09). 라이브는 반대였는데 그때는 버튼이
      높이 27 인 텍스트 버튼이라 가벼웠다. 아웃라인 필로 올리고 나니 카드마다 액션이 다른
      높이에 서서 옆 카드의 [시작하기](맨 아래)와 어긋났다 — 액션은 카드 사이에서 같은 바닥선에
      서야 하고, 상태(진도)를 보고 행동을 고르는 순서로도 이쪽이 맞다.
      ⚠ DOM 순서(설명 → 버튼 → 바)는 그대로 두고 flex order 로만 뒤집는다.
   ② [학습하기] 텍스트 버튼 → **아웃라인 필**(.btn-b- .btn-rsz01, 단어 카드 [상세]와 같은 것).
      이유는 밑줄이 아니라 무게다 — 옆 카드의 같은 급 액션([시작하기])이 80px 채움이라
      나란히 놓인 두 카드에서 가장 강한 컨트롤과 가장 약한 컨트롤로 갈렸다.
      ⚠ 섹션의 [전체 보기]는 텍스트 버튼 그대로다 — 카드 액션이 아니라 목록으로 가는 옆길이다.
   ③ 진도율 숫자 — 라이브 --fmnl #8F64EB(보라)는 DS 에 없는 색이라 --ui-blue 로 맞춘다(수정표 13번). */
.chp-space #divLesson .brd-bot-wrap{display:flex;flex-direction:column}
.chp-space #divLesson .brd-bot-wrap > .brd-desc{order:1}
.chp-space #divLesson .brd-bot-wrap > .brd-bot{order:2}
.chp-space #divLesson .brd-bot-wrap > .btn-rsz01{order:3;align-self:flex-end;margin-top:16px}
/* 크기(높이·글자·좌우여백)는 [상세]와 함께 16-10 에 모았다 — 둘은 시안에서 같은 필이다. */
.chp-space [class*="grp-horbar01"] .grp-horbar-inner > .grp-horbar-num,
.chp-space [class*="grp-horbar01"] .grp-horbar-num{color:var(--ui-blue)}

/* 진도 바 — 시안 `ProgressBar`: 트랙 h8 · radius 4 · --color-light-gray,
   채움과 숫자는 둘 다 --ui-blue(700). 라이브는 트랙 h16 radius16 #E4E4E4 이고 숫자가
   보라(--fmnl #8F64EB)였다 — DS 에 없는 색이라 --ui-blue 로 맞춘다(수정표 13번).
   ⚠ 숫자는 **바 옆**이다 — 시안은 `display:flex; gap:10` 에 바가 `flex:1 1 auto`,
     숫자가 `flexShrink:0` 이다. 즉 **바가 남는 폭을 전부 먹고 숫자는 제 글자 폭만** 쓴다.
     레거시는 숫자가 채움(p) **안**에 절대배치로 떠 있어(`top:-25px`) 바 위에 얹혀 있었다.
     JSP 에서 숫자를 바 밖 형제로 꺼내고 여기서 flex 로 세운다.
     ⚠ 절대배치로 흉내 내려다 두 번 틀렸다(2026-09-11, 오너가 둘 다 잡아 줬다).
       ① `.grp-bar-wrap` 이 `position:relative`(custom.css:913)라 `right:0` 의 기준이
          카드가 아니라 **트랙**이었다 → 숫자가 카드 안쪽 끝보다 44px 왼쪽(실측 329 ↔ 373).
       ② 그래서 트랙에 오른쪽 여백을 주고 숫자 칸을 가장 긴 값(`100%` 51px)으로 못 박았더니
          **0% 일 때도 그 51 을 비워 두어 바가 22px 짧았다**. 시안은 자리를 예약하지 않는다.
     결론 — 흉내 내지 말고 시안과 같은 구조(flex)로 맞춘다. */
.chp-space #divLesson .grp-bar-type01{display:flex;align-items:center;gap:10px}
.chp-space #divLesson .grp-bar-wrap{flex:1 1 auto;height:8px;border-radius:4px;background:var(--color-light-gray)}
.chp-space #divLesson .grp-bar-wrap > p{height:8px;border-radius:4px;background:var(--ui-blue)}
/* 수치의 잉크 — **기본은 파랑이지만 이 카드에서는 검정이다**(시안 `ProgressBar` 의 `ink`).
   DS 의 "파란 숫자 — 거리 규칙"대로다: 홀로 선 숫자는 파랑이고, **같은 묶음에 파란 채움 버튼이
   있으면 검정**이다. 09.16 전달본에서 이 카드의 액션이 파란 채움이 되어(16-10절) 바로 아래에
   같은 파랑이 섰다 — 그때까지는 아웃라인 [학습하기]라 숫자가 홀로 선 파랑이었다. */
.chp-space #divLesson .grp-bar-type01 > strong{
  flex:0 0 auto;color:var(--color-black);font-weight:var(--fw-bold);line-height:1.4;
}
[data-mode="pc"] #container .chp-space #divLesson .grp-bar-type01 > strong{font-size:20px}
[data-mode="tablet"] #container .chp-space #divLesson .grp-bar-type01 > strong{font-size:clamp(14px, calc(100vw * 20 / 1400), 20px)}
[data-mode="mobile"] #container .chp-space #divLesson .grp-bar-type01 > strong{font-size:15px}

/* ── 16-5. 단어 섹션 (classMainLes #divWord) ────────────────────────────
   ⚠ 이 절의 [전체 보기] 페인트는 **스크랩의 [단어장] 과 같은 부품**이다(시안이 둘 다
     `outline medium + chevron-right` 로 그린다) — 선택자를 `:is(.chp-space, .chp-word)` 로
     넓혀 두 화면이 한 벌을 쓴다.
   시안 `WordSection`. 유패스 구성이라 **과정 BI 줄과 발음 스피커는 그리지 않는다**
   (둘 다 차이홍 구성 전용 — screen.jsx `isCont`). 헤더는 한 줄이다.
   ① 섹션 제목 — 라이브 32/44.8 → **20/30**(SZ.secFs·secLh). 건수 `em` 은 --ui-blue 다
      (라이브 --fmnl 보라를 걷은 자리 · 수정표 13번). 이미 파랑이라 그대로 둔다.
   ② [전체 보기] — 시안 `MoreButton` 은 **아웃라인 medium + chevron** 이다.
      라이브는 2px 밑줄의 텍스트 버튼이었다. 선택자는 그대로 두고 페인트만 버튼으로 올린다.
      ⚠ 카드 안 액션(16-4 [학습하기])과 자리가 다르다 — 이쪽은 섹션 헤더라 medium 이고,
        카드 안은 행 액션이라 small 이다(CLAUDE.md 버튼 자리 배정). */
.chp-space .tit-01{font-weight:var(--fw-regular)}
[data-mode="pc"] #container .chp-space .tit-01{font-size:20px;line-height:30px}
[data-mode="tablet"] #container .chp-space .tit-01{font-size:clamp(18.2px, calc(100vw * 26 / 1400), 26px);line-height:min(calc(100vw * 38 / 1400), 38px)}
[data-mode="mobile"] #container .chp-space .tit-01{font-size:14px;line-height:20px}

:is(.chp-space, .chp-word) .btncus-ic-more{
  display:inline-flex;align-items:center;justify-content:center;gap:6px;
  height:calc(var(--chp-btn-h-md) * 1px);
  padding:0 calc(var(--space-btn-x) * 1px);
  border:0;border-bottom:0;
  border-radius:calc(var(--radius-btn) * 1px);
  box-shadow:inset 0 0 0 1px var(--grayscale-100);
  background:var(--color-white);
  color:var(--ui-gray-333);
  font:var(--fw-regular) calc(var(--chp-btn-fs-md-quiet) * 1px)/1.4 var(--font-core);
  letter-spacing:var(--tracking-core);
}
:is(.chp-space, .chp-word) .btncus-ic-more:hover{background:var(--surface-btn-active);color:var(--ui-gray-333)}

/* 꺾쇠 — 라이브는 스프라이트(10×15 · `--icon` 의 -200px 0)라 **보랏빛 굵은 화살표**였고
   색을 못 바꿨다(오너 지적 2026.09.11 "전체 보기 화살표 시안하고 맞춰줘").
   DS `chevron-right` 진품을 mask 로 얹고 면을 currentColor 로 둔다 — 라벨과 같은 잉크가 되고
   hover 에서도 함께 움직인다.
   크기는 DS 규칙대로 **라벨의 줄 상자(fs × 1.4)** 다 — "라벨 크기가 바뀌면 아이콘도 따라온다".
   ⚠ 버튼 아이콘은 `Glyph` 와 달리 **24 아트워크 상자 그대로** 쓴다(잘린 bbox 가 아니다).
     그 상자는 안쪽 8.3%(= box/12)가 빈 여백이라, 그만큼 바깥쪽 음수 마진을 줘
     **상자가 아니라 획**을 패딩 선에 맞춘다(DS `IconButton.inset` 과 같은 원리).
   간격은 DS `--gap-btn-icon`(PC·TA 12 · MO 8)이다 — 라이브 17 에서 옮긴다.
   테두리·라벨도 함께 맞췄다 — DS `outline` 은 선 `--grayscale-100`(#D3D3D3) · 라벨
   `--ui-gray-333` 이다("한 화면에서 1px 회색 경계는 하나여야 한다", 오너 확정 2026.09.11).
   hover 는 그 type 의 active 면 `--surface-btn-active`(#EEE)다. */
:is(.chp-space, .chp-word) .btncus-ic-more:after{
  content:"";display:block;flex-shrink:0;
  width:calc(var(--chp-btn-fs-md-quiet) * 1.4px);
  height:calc(var(--chp-btn-fs-md-quiet) * 1.4px);
  margin-right:calc(var(--chp-btn-fs-md-quiet) * -1.4px / 12);
  background:currentColor;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M16.1318 12L9.56543 18.5654L8.43457 17.4346L13.8691 12L8.43457 6.56543L9.56543 5.43457L16.1318 12Z' fill='black'/%3E%3C/svg%3E") no-repeat center / contain;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M16.1318 12L9.56543 18.5654L8.43457 17.4346L13.8691 12L8.43457 6.56543L9.56543 5.43457L16.1318 12Z' fill='black'/%3E%3C/svg%3E") no-repeat center / contain;
}
[data-mode="pc"] #container :is(.chp-space, .chp-word) .btncus-ic-more,
[data-mode="tablet"] #container :is(.chp-space, .chp-word) .btncus-ic-more{gap:12px}
[data-mode="mobile"] #container :is(.chp-space, .chp-word) .btncus-ic-more{gap:8px}

/* ── 16-6. 회차·레슨 리본 ────────────────────────────────────────────────
   시안 `Ribbon`. 라이브(.ic-ribbon03)에서 셋이 바뀐다.
   ① **숫자를 뺀다** — 리본 안 숫자는 바로 옆 라벨(`레슨1` · `1회차수업`)과 같은 값을
      두 번 말한다. 스프라이트였다면 못 뺐을 자리인데 도형이 CSS 라 뺄 수 있다.
   ② **자리를 카드 위 모서리로 올린다** — 라벨 앞에 있으면 글줄을 밀어 첫 줄만 들여쓰기가
      달라 보였다. 리본은 카드에 꽂힌 표식이지 글줄의 일부가 아니다.
      left 는 카드 좌측 패딩과 같다(PC·TA 48 · MO 28).
   ③ **색은 --ui-blue**, 잠금 카드는 #CCC(C.moc03).
      라이브의 빨강은 시안이 걷었다 — "한때 구성의 강조색(차이홍은 빨강)으로 뒀는데
      **차이홍 구성에는 리본이 없다**(오너 지적 2026.09.10). 그래서 빨강 가지는 어느 화면에서도
      그려지지 않는 값이었다."
   ⚠ 크기(35×44 · MO 26×33)는 라이브와 같아 건드리지 않는다.
   ⚠ 레벨 색 7종의 과정별 매핑은 시안에서도 열린 항목이다(스펙 10) — 규칙이 정해지면
      데이터가 색을 넘기게 바꾼다. 지금은 한 색이다. */
.chp-space .brd-lst02 .brd-ctgr{position:static}
.chp-space .brd-lst02 .ic-ribbon03{
  position:absolute;top:0;
  display:block;
  background:var(--ui-blue);
  clip-path:polygon(0 0,100% 0,100% 100%,50% 78%,0 100%);
}
.chp-space .brd-lst02 .ic-ribbon03 > span{display:none}
/* ⚠ 빨강의 정체는 `.ic-ribbon03::before` 의 **스프라이트**(icon.png -2px -68px)다.
   배경색만 바꾸면 그 그림이 위를 덮어 화면은 그대로 빨강이었다(실측 2026-09-11).
   도형을 CSS 로 그리기로 했으니 스프라이트는 걷는다 — 잠금 회색도 라이브는
   `.stat-lock .ic-ribbon03:before{filter:grayscale(1)}` 로 그 그림을 물들이던 것이라
   함께 필요 없어진다(위 :has(.brd-overlock) 규칙이 대신한다). */
.chp-space .brd-lst02 .ic-ribbon03::before{content:none}
/* 잠금 카드 — 띠(.brd-overlock)를 가진 카드의 리본은 회색이다. */
.chp-space .brd-lst02 > li:has(.brd-overlock) .ic-ribbon03{background:var(--moc03, #CCC)}
[data-mode="pc"] #container .chp-space .brd-lst02 .ic-ribbon03{left:48px;width:35px;height:44px}
[data-mode="tablet"] #container .chp-space .brd-lst02 .ic-ribbon03{
  left:min(calc(100vw * 48 / 1400), 48px);
  width:min(calc(100vw * 35 / 1400), 35px);
  height:min(calc(100vw * 44 / 1400), 44px);
}
[data-mode="mobile"] #container .chp-space .brd-lst02 .ic-ribbon03{left:28px;width:26px;height:33px}

/* ── 16-7. 캐러셀 페이지네이션 ───────────────────────────────────────────
   시안 `Bullets`. 라이브(스펙 08)는 **막대 136×20 · 폭 동일 · 2px 테두리**인데 시안이 옮겼다:
     **비활성은 회색 원, 활성만 알약으로 늘어난다**(오너 확정 2026.09.09).
     "폭이 같은 막대가 여럿이면 켜진 칸을 색으로만 찾아야 하는데, 길이 차는 곁눈으로도 잡힌다."
   모양은 세 브레이크포인트가 같고 크기만 다르다(dotH · dotOnW · dotGap · bulletTop).
   ⚠ 우리 라이브는 기본·활성이 **둘 다 navy 채움**이라 켜진 칸이 구분되지 않았다(실측).
   ⚠ 단어 캐러셀(#divWord)은 막대를 그리지 않는다(오너 지시 2026.09.10) — 마크업에서 이미
     주석 처리돼 있어 손대지 않는다. 화살표는 남으므로 좌우로 넘길 길은 그대로다.
   ⚠ 넘길 곳이 없으면 화살표·불릿을 함께 걷는 것도 시안과 같다 — 화면 JS 가 이미 그렇게 한다
     (레슨 3장이면 숨는다). */
.chp-space .swiper-pagination .swiper-pagination-bullet{flex-shrink:0;
  border:0;
  background:var(--dot, #D9D9D9);
  opacity:1;
  transition:width .2s ease;
}
.chp-space .swiper-pagination .swiper-pagination-bullet-active{background:var(--ui-navy)}
/* ⚠ **도트가 많으면 찌그러진다.** 시안 데이터는 2페이지라 그 경우를 만나지 않았는데,
   실데이터는 레슨 45개 = 23페이지다(모바일). `flex-shrink:1` 이라 356 트랙에서 도트가
   1~2px 막대로 눌렸다(사용자 지적 2026-09-30). 줄이지 않게 하고 넘치면 **줄을 바꾼다** —
   가로 스크롤은 켜진 도트가 화면 밖에 있을 수 있어 지금 어디쯤인지를 잃는다. */
[data-mode="pc"] #container .chp-space .swiper-pagination{flex-wrap:wrap;gap:12px;margin-top:40px}
[data-mode="pc"] #container .chp-space .swiper-pagination .swiper-pagination-bullet{width:16px;height:16px;border-radius:16px}
[data-mode="pc"] #container .chp-space .swiper-pagination .swiper-pagination-bullet-active{width:100px}
[data-mode="tablet"] #container .chp-space .swiper-pagination{flex-wrap:wrap;gap:min(calc(100vw * 12 / 1400), 12px);margin-top:min(calc(100vw * 40 / 1400), 40px)}
/* ⚠ 테두리를 **모드 블록에서 다시 끈다.** 위 `.chp-space …{border:0}` 는 (0,3,0) 인데
   `m.css:549` 의 `.swi-ui-type02 … {border:0.10vw solid #40476B}` 가 같은 특이도이고
   **m.css 가 마지막에 실려** 태블릿·모바일에서 네이비 1px 링이 살아났다(실측 1024 에서
   1.02px). PC 에는 그 블록이 없어 안 보였다 — 학습 공간 전 화면이 같았다. */
[data-mode="tablet"] #container .chp-space .swiper-pagination .swiper-pagination-bullet{border:0;
  width:min(calc(100vw * 16 / 1400), 16px);height:min(calc(100vw * 16 / 1400), 16px);border-radius:16px;
}
[data-mode="tablet"] #container .chp-space .swiper-pagination .swiper-pagination-bullet-active{width:min(calc(100vw * 100 / 1400), 100px)}
[data-mode="mobile"] #container .chp-space .swiper-pagination{flex-wrap:wrap;gap:8px;margin-top:24px}
/* **Mobile 에는 화살표를 두지 않는다**(시안 `Carousel` · 오너 확정 2026.09.09) —
   16-14-5 와 같은 근거다: "모바일은 바깥 여백이 20 뿐이라 카드 위로 밀려 들어와 내용을 가렸다.
   터치에서는 스와이프와 아래 페이지네이션이 그 일을 한다."
   16절 머리말의 "화살표는 손대지 않는다(이미 시안 값)" 는 **PC 기준**이었다 — 모바일 조건은
   시안 `Carousel` 의 렌더 분기에 있어 값 비교만으로는 안 보였다. */
[data-mode="mobile"] #container .chp-space .swi-ui-type02 .swiper-button-prev,
[data-mode="mobile"] #container .chp-space .swi-ui-type02 .swiper-button-next{display:none}

[data-mode="mobile"] #container .chp-space .swiper-pagination .swiper-pagination-bullet{border:0;width:10px;height:10px;border-radius:10px}
[data-mode="mobile"] #container .chp-space .swiper-pagination .swiper-pagination-bullet-active{width:64px}

/* ── 16-8. 단어 카드 (classMainLes #divWord) ─────────────────────────────
   시안 `WordCard`. 상자(416 · radius 24)는 라이브와 같고 나머지가 다르다.
   ① **1px --grayscale-100 테두리** — 레슨 카드와 같은 경계다(라이브는 테두리가 없었다).
   ② 높이 224 는 **최소값**이고 패딩은 `wPad*0.7 / wPad` = 28/40 이다(라이브 0/40).
   ③ **한자는 --ui-blue · 700** 이다(라이브 검정). "카드에서 눈이 먼저 닿아야 하는 것이
      한자이고, 병음·뜻은 회색이라 색을 가진 것이 하나뿐이다"(오너 문답 2026.09.10).
   ④ 병음·뜻 24 → **16**, 병음 색은 #9B9B9B(C.phon).
   ⑤ 스크랩 버튼 40.
   ⚠ 발음 스피커는 **차이홍 구성 전용**이라 유패스에는 그리지 않는다(오너 확정 2026.09.10). */
.chp-space .brd-lst03 > li{
  min-height:224px;height:auto;
  border:1px solid var(--grayscale-100);
  box-shadow:none;
  box-sizing:border-box;
}
/* 라운드 — 시안 `wordR(s)` 다. 전달본이 `SPACE_BTN_DS = true` 로 고정돼 있어(오너 지시
   2026.09.16) `wRadiusDS` **16/16/12** 가 기본값이다. 24/24/18 은 그 토글이 꺼진 값이라
   지금은 어느 화면에도 그려지지 않는다. 레슨 카드(16-1~16-3)가 이미 16/16/12 다.
   ⚠ 그림자도 함께 걷는다 — 레슨 카드가 1px 선으로 내려온 자리에 단어 카드만 그림자로
     남아 있었다(라이브 `0 3px 10px rgba(0,0,0,.12)`). 시안은 두 카드가 같은 경계다. */
[data-mode="pc"] #container .chp-space .brd-lst03 > li{border-radius:16px}
[data-mode="tablet"] #container .chp-space .brd-lst03 > li{border-radius:min(calc(100vw * 16 / 1400), 16px)}
[data-mode="mobile"] #container .chp-space .brd-lst03 > li{border-radius:12px}
.chp-space .brd-lst03 .brd-word{color:var(--ui-blue);font-weight:var(--fw-bold)}
.chp-space .brd-lst03 .brd-phonetic{color:#9B9B9B}
[data-mode="pc"] #container .chp-space .brd-lst03 > li{padding:28px 40px}
[data-mode="pc"] #container .chp-space .brd-lst03 .brd-word{font-size:24px;line-height:1.4}
[data-mode="pc"] #container .chp-space .brd-lst03 .brd-phonetic,
[data-mode="pc"] #container .chp-space .brd-lst03 .brd-mean{font-size:16px;line-height:1.4}
[data-mode="pc"] #container .chp-space .brd-lst03 .ico-scrap{width:40px;height:40px}
[data-mode="tablet"] #container .chp-space .brd-lst03 > li{
  min-height:min(calc(100vw * 224 / 1400), 224px);
  padding:min(calc(100vw * 28 / 1400), 28px) min(calc(100vw * 40 / 1400), 40px);
}
[data-mode="tablet"] #container .chp-space .brd-lst03 .brd-word{font-size:clamp(22.4px, calc(100vw * 32 / 1400), 32px);line-height:1.4}
[data-mode="tablet"] #container .chp-space .brd-lst03 .brd-phonetic,
[data-mode="tablet"] #container .chp-space .brd-lst03 .brd-mean{font-size:clamp(16.8px, calc(100vw * 24 / 1400), 24px);line-height:1.4}
[data-mode="tablet"] #container .chp-space .brd-lst03 .ico-scrap{width:min(calc(100vw * 48 / 1400), 48px);height:min(calc(100vw * 48 / 1400), 48px)}
[data-mode="mobile"] #container .chp-space .brd-lst03 > li{min-height:168px;padding:20px 28px}
[data-mode="mobile"] #container .chp-space .brd-lst03 .brd-word{font-size:20px;line-height:1.4}
[data-mode="mobile"] #container .chp-space .brd-lst03 .brd-phonetic,
[data-mode="mobile"] #container .chp-space .brd-lst03 .brd-mean{font-size:12px;line-height:1.4}
[data-mode="mobile"] #container .chp-space .brd-lst03 .ico-scrap{width:32px;height:32px}

/* ── 16-9. 카드 아래 묶음 · 캐러셀 폭 ────────────────────────────────────
   ① 시안 `Card` 는 [상단 텍스트] / [진도바 + 버튼] **두 덩이**를 space-between 으로 나눈다.
      우리 .brd-bot-wrap 은 설명·바·버튼 **셋**이 한 상자에 있고 space-between 이라 셋이 고르게
      벌어져, 바가 카드 가운데에 떠 있고 버튼과 멀었다(실측 1280: 바 y226 · 버튼 y341).
      설명만 위에 두고 바부터 아래로 밀어 바와 버튼을 한 덩이로 만든다.
   ② 바↔버튼 간격은 시안 **20**(PC·TA) · **12**(MO) 다 — 차이홍 구성과 같은 값이고
      (오너 지시 2026.09.12) 저쪽은 결과 칸이 위아래로 그만큼 띄운다.
      24/16 은 **바가 없는 카드**(액션만 있는 카드)의 값이라 여기 쓰면 한 줄에서 어긋난다. */
.chp-space #divLesson .brd-bot-wrap{justify-content:flex-start}
.chp-space #divLesson .brd-bot-wrap > .brd-bot{margin-top:auto}
[data-mode="pc"] #container .chp-space #divLesson .brd-bot-wrap > .btn-rsz01{margin-top:20px}
[data-mode="tablet"] #container .chp-space #divLesson .brd-bot-wrap > .btn-rsz01{margin-top:min(calc(100vw * 20 / 1400), 20px)}
[data-mode="mobile"] #container .chp-space #divLesson .brd-bot-wrap > .btn-rsz01{margin-top:12px}

/* ③ 카드 폭 — 시안 SZ.card 422(PC·TA) · 300(MO), 단어 카드 SZ.wCard 416 · 300.
      전에는 스와이퍼 `slidesPerView:4` 가 칸을 나눠 인라인 폭을 덮어써서 1280 에서 337 이었다.
      JSP 를 "auto" 로 바꿨으므로 폭은 여기서 정한다 — 시안과 같은 자리에서 같은 값이 나온다.
      ⚠ `flex:0 0 auto` 가 함께 있어야 한다. 카드는 flex 아이템이고 m.css 가 `.brd-lst02 > *` 에
        `flex:0 0 21.98vw`(TA) · `0 0 100%`(MO) 를 걸어 두어, **basis 가 width 를 이긴다.**
        width 만 넣었을 때 태블릿 1024 에서 225(=21.98vw)로 남아 있었다(실측). */
[data-mode="pc"] #container .chp-space .swi-ui-type02 .swiper-slide{flex:0 0 auto;width:422px}
[data-mode="tablet"] #container .chp-space .swi-ui-type02 .swiper-slide{flex:0 0 auto;width:min(calc(100vw * 422 / 1400), 422px)}
[data-mode="mobile"] #container .chp-space .swi-ui-type02 .swiper-slide{flex:0 0 auto;width:300px}
[data-mode="pc"] #container .chp-space #divWord .swiper-slide{flex:0 0 auto;width:416px}
[data-mode="tablet"] #container .chp-space #divWord .swiper-slide{flex:0 0 auto;width:min(calc(100vw * 416 / 1400), 416px)}
[data-mode="mobile"] #container .chp-space #divWord .swiper-slide{flex:0 0 auto;width:300px}

/* ④ 모바일에는 화살표를 두지 않는다(시안 `Carousel` · 오너 확정 2026.09.09).
      바깥 여백이 20 뿐이라 화살표가 카드 위로 밀려 들어와 내용을 가린다 —
      터치에서는 스와이프와 아래 페이지네이션이 그 일을 한다. */
[data-mode="mobile"] #container .chp-space .swiper-button-prev,
[data-mode="mobile"] #container .chp-space .swiper-button-next{display:none}

/* ── 16-10. 카드 액션 — 전폭 필 · 행 안 작은 필 ─────────────────────────
   **2026-10-01 에 09.16 전달본 세대로 올렸다.** 이 절은 09.11 전달본을 옮긴 것이었고 그 뒤
   시안이 두 단계 움직였다(전달본 수정표 45 · 50번):
     ① 기하를 **DS Button 사다리**로 내렸다 — 주 액션 large · 행 안 액션 small.
        pillH 80/80/56 → **56/64/48** · pillFs 24/24/17 → **20/24/16** · 굵기 400 → **700**
        pillSmH 50/50/38 → **36/46/32** · pillSmFs 20/20/15 → **14/18/12**
     ② **카드 액션이 모두 전폭 같은 크기가 됐다.** 09.11 까지는 [학습하기]가 오른쪽 끝
        아웃라인 작은 필이었는데, 한 줄에 56 채움 · 잠금 띠 · 36 아웃라인이 섞여 섰다.
        시안: "이 카드들의 액션은 모두 같은 행동을 유도한다 — 수업에 들어가는 것이다.
        같은 행동에 크기가 셋이면 그 차이가 뜻을 가진 것으로 읽힌다."
     ③ 라운드는 전달본이 `SPACE_BTN_DS = true` 로 고정돼(오너 지시 2026.09.16) **6/6/4** 다.
        완전 원형(999)은 그 토글이 꺼진 값이라 지금은 어느 화면에도 그려지지 않는다.

   **페인트는 카드의 상태가 정한다**(오너 확정 2026.09.11 · 2026.09.12) — 리본 구성(유패스
   방문·화상·디지털)의 표는 이렇다:

   | 자리 | 페인트 |
   |---|---|
   | 지금 할 일 — `학습하기` · `이어하기` · `시작하기` | **`--ui-blue` 채움** |
   | 끝난 카드의 액션 — `복습하기` · `결과 보기` | **네이비 채움** |

   파랑인 이유는 **카드 위에 파란 리본이 이미 서 있기 때문**이다. 그전에는 네이비였는데,
   네이비가 차이홍 구성에서 "끝난 카드의 재수행"을 가리키므로 같은 색이 방문에서는 "지금 할
   일"을 가리키는 충돌이 있었다 — 탭으로 두 구성이 붙어 있어 그것이 그대로 보인다.
   맞바꾸면 **네이비가 양쪽에서 "끝난 카드의 액션" 하나만** 가리킨다.

   행 안 작은 필은 단어 카드 [상세] 하나뿐이다 — 폭을 못 박는다(pillSmW 102/102/76).
   시안 주석: "모바일 76px 에 `0 32px` 이 들어가면 안쪽 폭이 12px 만 남아 글자가 밀린다." */

/* 전폭 채움 — 카드 안 액션 셋이 같은 부품이다.
   `.btn-rsz01`(디지털 [학습하기]) · `.btn-rsz02`([시작하기]) · `.btncus-ic-more`(화상 [학습하기]).
   ⚠ `.brd-bot-wrap` 안으로 한정한다 — `#divWord` 의 [상세]와 `.brd-overcont`(완료 층)는
     같은 클래스를 쓰지만 다른 부품이다(각각 아래 · 16-10-1절). */
/* ⚠ 레거시가 이 버튼에 **inset 링과 꺾쇠**를 달아 둔다 — `box-shadow:inset 0 0 0 1px #D3D3D3`
   이 채움 위에 회색 테두리로 보였고(오너 지적 2026-10-01), `.btncus-ic-more:after` 는
   스프라이트 꺾쇠다. 시안 `Pill` 은 라벨 하나뿐이다 — 꺾쇠는 섹션 옆길(`전체 보기`)의 것이다. */
#container .chp-space .brd-bot-wrap :is(.btn-rsz01, .btn-rsz02, .btncus-ic-more):after{display:none}
#container .chp-space .brd-bot-wrap :is(.btn-rsz01, .btn-rsz02, .btncus-ic-more){
  box-sizing:border-box;width:100%;align-self:stretch;box-shadow:none;
  display:inline-flex;align-items:center;justify-content:center;
  background:var(--ui-blue);border:1px solid var(--ui-blue);color:var(--color-white);
  font-weight:var(--fw-bold);line-height:1;white-space:nowrap;
}
/* hover 도 면이 바뀌지 않는다 — 시안 `Pill` 에 hover 페인트가 없다. 레거시 두 규칙
   (`style.css:90` `[class*="btn-"]:hover` · `:95` `[class*="btn-b-"]:hover`)을 함께 덮는다. */
#container .chp-space .brd-bot-wrap :is(.btn-rsz01, .btn-rsz02, .btncus-ic-more):hover{
  background:var(--ui-blue);border-color:var(--ui-blue);color:var(--color-white);
}
[data-mode="pc"] #container .chp-space .brd-bot-wrap :is(.btn-rsz01, .btn-rsz02, .btncus-ic-more){
  height:56px;border-radius:6px;padding:0 20px;font-size:20px;
}
[data-mode="tablet"] #container .chp-space .brd-bot-wrap :is(.btn-rsz01, .btn-rsz02, .btncus-ic-more){
  height:min(calc(100vw * 64 / 1400), 64px);
  border-radius:min(calc(100vw * 6 / 1400), 6px);
  padding:0 min(calc(100vw * 20 / 1400), 20px);
  font-size:clamp(16.8px, calc(100vw * 24 / 1400), 24px);
}
[data-mode="mobile"] #container .chp-space .brd-bot-wrap :is(.btn-rsz01, .btn-rsz02, .btncus-ic-more){
  height:48px;border-radius:4px;padding:0 20px;font-size:16px;
}

/* 행 안 작은 필 — 단어 카드 [상세]. DS small 이고 폭을 못 박는다. */
#container .chp-space #divWord .btn-rsz01{
  box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;
  background:var(--color-white);border:1px solid var(--mc);color:var(--mc);
  font-weight:var(--fw-medium);line-height:1;padding:0;
}
[data-mode="pc"] #container .chp-space #divWord .btn-rsz01{width:102px;height:36px;border-radius:6px;font-size:14px}
[data-mode="tablet"] #container .chp-space #divWord .btn-rsz01{
  width:min(calc(100vw * 102 / 1400), 102px);
  height:min(calc(100vw * 46 / 1400), 46px);
  border-radius:min(calc(100vw * 6 / 1400), 6px);
  font-size:clamp(14px, calc(100vw * 18 / 1400), 18px);
  font-weight:var(--fw-regular);
}
[data-mode="mobile"] #container .chp-space #divWord .btn-rsz01{
  width:76px;height:32px;border-radius:4px;font-size:12px;font-weight:var(--fw-regular);
}

/* ── 16-10-1. 완료 층 (.brd-overcont) ───────────────────────────────────
   09.11 전달본에는 이 자리가 없어("시안이 다루지 않는 자리") 손대지 않았는데, 09.16 전달본의
   `Card` 가 완료 층을 들고 왔다. 라이브는 **검정 딤**(#646464 = 흰 면에 검정 61%)이라 카드 넷이
   한 줄에 서면 완료 카드만 어두운 판이 되어 눈에 걸렸다.
   시안은 **흰 면 80% + blur 4px** 이다(오너 지시 2026.09.12 · 수정표 43번) — 카드 바탕과 같은
   색이라 층이 아니라 **같은 카드가 흐려진 것**으로 읽힌다. 흰 면은 검정보다 가리는 힘이 약해
   (흰 80% 아래 #222 글자는 대비 1.5:1 로 그대로 읽힌다) 블러가 그 몫을 맡는다.
   ⚠ 밑의 카드는 렌더에서 빼지 않는다 — **지운 것이 아니라 덮은 것**이라야 상태가 읽힌다.
   ⚠ 블러는 화면 로컬이다 — DS 는 모달 딤에서 블러를 걷었지만(2026.08.05) 여기는 모달이 아니라
     카드 안의 완료 층이라 그 규칙 밖으로 본다(딤 농도는 `--scrim-modal` 과 같다).

   층 안은 **날짜 / (별 + 라벨 + 안내문구) / 버튼** 셋을 space-between 으로 나눈다.
   회차 라벨은 **`--ui-blue` 600** 이다(오너 직접 수정 2026.09.15) — "완료 층에서 눈이 가장 먼저
   닿아야 하는 것이 「무엇이 끝났나」이고, 검정 500 으로는 넷이 한 색 한 무게로 깔려 그 줄이
   서지 않았다." 흰 딤 위 4.9:1 이라 본문 하한(4.5)을 넘는다 — 후보였던 `--color-yellow`(1.8:1)를
   못 쓴 이유가 이 색에는 없다. 라이브 클래스 이름이 아직 `-fylw` 인 것은 그 흔적이다.
   글자 크기는 `doneFs` **20/24/16** 이고 Tablet 만 굵기가 500 이다(오너 지적 2026.09.12 —
   "태블릿에서 안내문구랑 날짜가 왜 이렇게 크게 느껴지지"). */
#container .chp-space .brd-lst02 .brd-overcont{
  background:color-mix(in srgb, var(--color-white) 80%, transparent);
  -webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);
  box-sizing:border-box;
}
/* ⚠ **딤을 흰색으로 바꾸면 글자색도 함께 내려야 한다.** 라이브 딤은 검정(#646464)이라 이 층의
   글자가 전부 `#fff` 였다 — 면만 흰색으로 바꾸자 날짜와 안내문구가 **흰 면 위 흰 글자**가 되어
   사라졌다(오너 지적 2026-10-01 · 라벨만 보였던 것은 그 줄만 --ui-blue 로 칠해서다).
   같은 함정을 16-10절 hover 주석이 이미 적어 두었다 — "면을 바꾸는 규칙과 글자를 바꾸는 규칙이
   따로 있다." 면을 뒤집을 때는 그 면 위에 서는 **모든 잉크**를 함께 뒤집는다. */
#container .chp-space .brd-overcont,
#container .chp-space .brd-overcont :is(p, h2, h3, strong, span, div){color:var(--color-black)}
#container .chp-space .brd-overcont .-fylw{color:var(--ui-blue);font-weight:600}
/* 층 안 — 날짜(위) / 별+문구(가운데) / 버튼(아래). 안쪽 여백은 **카드와 같은 값**이다
   (시안 `done` 층이 `s.pad` 를 그대로 쓴다). 라이브는 사방 48 이었다. */
#container .chp-space .brd-overcont > .fx-row{width:100%;text-align:center}
#container .chp-space .brd-overcont .fx-1{justify-content:center}
#container .chp-space .brd-overcont .brd-over-bot{margin-top:auto}

/* ── 회차 완료 층(classMainCrc) — 날짜 위 · [라벨+문구] 가운데 · 아래 비움 ──
   시안 `Card` 의 `done` 층은 셋을 `space-between` 으로 나누고, **라벨과 문구는 gap 8 의 한
   덩이**다(모바일 6). 방문 완료 카드는 별·버튼이 없어 "그 묶음이 남는 자리를 받아 가운데 선다".
   라이브는 `.fx-1` 네 칸(날짜 · 라벨 · 문구 · 빈 버튼자리)이 고르게 벌어지고, 거기에 레거시가
   `p`·`h2` 에 얹어 둔 여백이 더해져 **라벨과 문구가 82px·27px 씩 떨어져 있었다**
   (오너 지적 2026-10-01 "줄바꿈이 더 됐어"). 여백을 걷고 auto 마진으로 묶음을 가운데 세운다. */
#container .chp-space #divCrc .brd-overcont .fx-1{justify-content:flex-start;gap:0}
/* ⚠ `flex` 를 함께 눕혀야 한다 — 레거시가 날짜 `p` 에 `0 1 25%`, 라벨 `h2` 에 **`1 1 0%`** 를
   걸어 두어 남는 높이를 라벨이 통째로 먹었다(실측: h2 한 줄인데 상자가 178px).
   `flex-basis` 가 높이를 정하는 자리는 `margin` 만 걷어서는 움직이지 않는다 — 9절과 같은 함정. */
#container .chp-space #divCrc .brd-overcont .fx-1 > p,
#container .chp-space #divCrc .brd-overcont .fx-1 > .tit-02{margin:0;flex:0 0 auto}
#container .chp-space #divCrc .brd-overcont .fx-1 > .tit-02{margin-top:auto}
#container .chp-space #divCrc .brd-overcont .fx-1 > .fx-row{margin-bottom:auto}
#container .chp-space #divCrc .brd-overcont .fx-1 > .fx-row > p{margin:0}
/* ⚠ `auto` 마진은 **둘만** 둔다 — `.brd-over-bot` 에도 위 블록이 `margin-top:auto` 를 주어
   남는 높이가 셋으로 갈리고 묶음이 가운데보다 위에 섰다. 여기선 0 으로 되돌린다
   (그 규칙은 레슨 완료 카드용이다 — 거기는 버튼이 바닥에 서야 한다). */
#container .chp-space #divCrc .brd-overcont .brd-over-bot{margin-top:0}
[data-mode="pc"] #container .chp-space #divCrc .brd-overcont .fx-1 > .fx-row{margin-top:8px}
[data-mode="tablet"] #container .chp-space #divCrc .brd-overcont .fx-1 > .fx-row{margin-top:min(calc(100vw * 8 / 1400), 8px)}
[data-mode="mobile"] #container .chp-space #divCrc .brd-overcont .fx-1 > .fx-row{margin-top:6px}
/* 별 — 시안은 `<img>` 를 **폭으로 재고**(`starW` 192/156/120) 높이는 자산 비율 112:214 로
   따라온다(100/82/63). 라이브는 배경이미지 `div` 에 `height:120px; margin:15% 0`(custom.css:478)
   이라 세로 여백만 97px 이고, 그 묶음이 들어갈 자리가 없어 **플렉스가 별을 36.8px 로 눌러**
   가운데 별이 사다리꼴로 잘려 있었다(실측 2026-10-01). 폭·높이를 못 박고 여백을 걷는다. */
#container .chp-space .brd-overcont .brd-bigstar{
  flex:0 0 auto;align-self:center;margin:0;background-size:contain;background-position:center;
}
/* ⚠ `flex-shrink:0` 만으로는 안 된다 — 레거시가 이 둘에 **`flex:1`**(= `1 0 0%`)을 걸어 두어
   `flex-basis:0%` 가 `height` 를 이긴다. 높이가 플렉스 분배로 정해지고 있었다(별 100 → 63 ·
   날짜 한 줄 28 → 78). 세 값을 모두 되돌려야 선언한 높이가 산다. */
#container .chp-space .brd-overcont > .fx-row > p{flex:0 0 auto;margin:0}
#container .chp-space .brd-overcont .fx-1 > .fx-row{flex:0 0 auto}
#container .chp-space .brd-overcont .fx-1 > .fx-row > p{flex:0 0 auto;margin:0}
/* 날짜 ↔ 시각 — 시안은 날짜가 `doneFw`(PC 700 · TA 500 · MO 700)이고 **시각 줄만 400** 이다
   (오너 직접 수정 2026.09.15) — "같은 굵기로 두었더니 날짜와 한 덩이로 굳어 어느 쪽이 회차의
   날짜인지 읽는 순서가 생기지 않았다." 라이브는 `<br/>` 한 줄이라 두 줄이 같은 굵기였다. */
#container .chp-space .brd-overcont .done-time{display:block;font-weight:var(--fw-regular)}
#container .chp-space .brd-overcont .brd-over-bot{flex:0 0 auto}
[data-mode="pc"] #container .chp-space .brd-overcont{padding:64px 48px 48px;gap:16px}
[data-mode="pc"] #container .chp-space .brd-overcont .fx-1{gap:12px}
[data-mode="pc"] #container .chp-space .brd-overcont .fx-1 > .fx-row{gap:8px}
[data-mode="pc"] #container .chp-space .brd-overcont .brd-bigstar{width:192px;height:100px}
[data-mode="pc"] #container .chp-space .brd-overcont .brd-over-bot{padding-top:20px}
[data-mode="tablet"] #container .chp-space .brd-overcont{
  padding:min(calc(100vw * 64 / 1400), 64px) min(calc(100vw * 48 / 1400), 48px) min(calc(100vw * 48 / 1400), 48px);
  gap:min(calc(100vw * 16 / 1400), 16px);
}
[data-mode="tablet"] #container .chp-space .brd-overcont .fx-1{gap:min(calc(100vw * 12 / 1400), 12px)}
[data-mode="tablet"] #container .chp-space .brd-overcont .fx-1 > .fx-row{gap:min(calc(100vw * 8 / 1400), 8px)}
[data-mode="tablet"] #container .chp-space .brd-overcont .brd-bigstar{
  width:min(calc(100vw * 156 / 1400), 156px);height:min(calc(100vw * 82 / 1400), 82px);
}
[data-mode="tablet"] #container .chp-space .brd-overcont .brd-over-bot{padding-top:min(calc(100vw * 20 / 1400), 20px)}
[data-mode="mobile"] #container .chp-space .brd-overcont{padding:47px 28px 28px;gap:12px}
[data-mode="mobile"] #container .chp-space .brd-overcont .fx-1{gap:8px}
[data-mode="mobile"] #container .chp-space .brd-overcont .fx-1 > .fx-row{gap:6px}
[data-mode="mobile"] #container .chp-space .brd-overcont .brd-bigstar{width:120px;height:63px}
[data-mode="mobile"] #container .chp-space .brd-overcont .brd-over-bot{padding-top:14px}
/* 완료 층의 버튼 — **끝난 카드라 네이비 채움**이다(전폭, 크기는 카드 액션과 같다). */
#container .chp-space .brd-overcont .btn-rsz02{
  box-sizing:border-box;width:100%;
  display:inline-flex;align-items:center;justify-content:center;
  background:var(--mc);border:1px solid var(--mc);color:var(--color-white);
  font-weight:var(--fw-bold);line-height:1;white-space:nowrap;
}
#container .chp-space .brd-overcont .btn-rsz02:hover{background:var(--mc);border-color:var(--mc);color:var(--color-white)}
#container .chp-space .brd-overcont .brd-over-bot{width:100%}
[data-mode="pc"] #container .chp-space .brd-overcont .btn-rsz02{height:56px;border-radius:6px;padding:0 20px;font-size:20px}
[data-mode="tablet"] #container .chp-space .brd-overcont .btn-rsz02{
  height:min(calc(100vw * 64 / 1400), 64px);
  border-radius:min(calc(100vw * 6 / 1400), 6px);
  padding:0 min(calc(100vw * 20 / 1400), 20px);
  font-size:clamp(16.8px, calc(100vw * 24 / 1400), 24px);
}
[data-mode="mobile"] #container .chp-space .brd-overcont .btn-rsz02{height:48px;border-radius:4px;padding:0 20px;font-size:16px}
/* ⚠ 크기에 `!important` 를 붙인다 — `m.css:663`·`:1649` 가
     `.brd-lst02 .brd-overcont p{font-size:max(12px, 1.04vw) !important}` 로 못 박아 두어
     태블릿·모바일에서 이 층의 글자가 전부 **하한 12px** 에 눌려 있었다(1024 에서 10.65 ·
     375 에서 9.75 라 하한이 이긴다). DT-4548 이 vw 붕괴를 막으려 깐 그물인데, 시안 값을
     주려면 같은 무기가 필요하다([[caihong-legacy-vw-fonts]] 와 같은 자리다). */
[data-mode="pc"] #container .chp-space .brd-overcont :is(p, .tit-02){font-size:20px !important;line-height:1.4}
[data-mode="pc"] #container .chp-space .brd-overcont .fx-1 > p,
[data-mode="pc"] #container .chp-space .brd-overcont > .fx-row > p{font-weight:var(--fw-bold)}
[data-mode="tablet"] #container .chp-space .brd-overcont :is(p, .tit-02){
  font-size:clamp(16.8px, calc(100vw * 24 / 1400), 24px) !important;line-height:1.4;font-weight:var(--fw-medium);
}
[data-mode="mobile"] #container .chp-space .brd-overcont :is(p, .tit-02){font-size:16px !important;line-height:1.4}
[data-mode="mobile"] #container .chp-space .brd-overcont .fx-1 > p,
[data-mode="mobile"] #container .chp-space .brd-overcont > .fx-row > p{font-weight:var(--fw-bold)}
/* 회차 라벨 — 위 세 줄이 `p` 를 통째로 잡으므로 **그 뒤에서** 다시 세운다(같은 특이도라
   순서가 가른다). 태블릿에서 굵기가 500 으로 눌려 있던 자리다. */
[data-mode="pc"] #container .chp-space .brd-overcont .-fylw,
[data-mode="tablet"] #container .chp-space .brd-overcont .-fylw,
[data-mode="mobile"] #container .chp-space .brd-overcont .-fylw{color:var(--ui-blue);font-weight:600}

/* ── 16-10-2. 수업시간 칩 · 안내문구 (classMainCrc) ─────────────────────
   시안 `Card` 의 상태 줄이다. **칩과 액션이 함께 선다**(오너 지시 2026.09.15) — 전에는 둘 중
   하나였고 그래서 수업시간이 잠금 카드에서만 보였다. 잠금이 풀리면 사라지는 정보가 됐다.
   ⚠ 라이브의 `.badge-` 는 **1px 테두리 + 완전 원형**인데 그것은 이 화면에서 아웃라인 필
     버튼의 페인트다 — 같은 스타일이 한 화면에서 **누를 수 있는 것**과 **읽는 값** 둘을
     가리키면 안 된다. 라운드 4 회색 칩으로 내린다(오너 확정 2026.09.09).
   칩 높이는 보조 버튼의 0.9 배다(32/41/29) — 버튼과 같은 높이로 두지 않는 이유가 그것이다.
   값은 **칩 밖**이다 — 시간이 길어져도(`19:00 ~ 19:40`) 라벨 폭이 카드마다 달라지지 않는다.
   줄 간격은 12 다(라이브 `fx-gap-20` 은 20).
   `On Air`(화상)는 같은 칩이고 값만 빨강이다 — 칩이 회색 면이라 멀리서 보면 진행중인지
   읽히지 않아 **색은 시각이 나른다**(시안). */
#container .chp-space .brd-bot-wrap .badge-{
  box-sizing:border-box;display:inline-flex;align-items:center;flex-shrink:0;
  border:0;border-radius:4px;background:var(--bg-gray);color:var(--ui-gray-666);
  font-weight:var(--fw-medium);line-height:1;
}
#container .chp-space .brd-bot-wrap .badge-.-bred{background:var(--bg-gray);color:var(--ui-gray-666)}
/* ⚠ **값(칩 밖 텍스트)에도 크기를 줘야 한다.** 시안은 칩과 값이 같은 `pillSmFs`(14/18/12)이고
   값만 400 이다. 줄에 크기를 주지 않으면 맨 텍스트 노드가 카드 본문 크기를 물려받아
   칩의 두 배로 커진다(오너 지적 2026-10-01 · 방문 학습중·화상 카드 둘 다).
   색은 `#666`(`--ui-gray-666`)이고, 화상 `On Air` 줄만 시각이 빨강이다 —
   "칩은 회색 면이라 멀리서 보면 진행중인지 읽히지 않는다. 색은 시각이 나른다"(시안). */
#container .chp-space .brd-bot-wrap .fx-gap-20{
  color:var(--ui-gray-666);font-weight:var(--fw-regular);line-height:1;
}
#container .chp-space .brd-bot-wrap .fx-gap-20.-fred{color:var(--color-red)}
[data-mode="pc"] #container .chp-space .brd-bot-wrap .fx-gap-20{gap:12px;min-height:36px;font-size:14px}
[data-mode="pc"] #container .chp-space .brd-bot-wrap .badge-{height:32px;padding:0 12px;font-size:14px}
[data-mode="tablet"] #container .chp-space .brd-bot-wrap .fx-gap-20{
  gap:min(calc(100vw * 12 / 1400), 12px);
  min-height:min(calc(100vw * 46 / 1400), 46px);
  font-size:clamp(12.6px, calc(100vw * 18 / 1400), 18px);
}
[data-mode="tablet"] #container .chp-space .brd-bot-wrap .badge-{
  height:min(calc(100vw * 41 / 1400), 41px);
  padding:0 min(calc(100vw * 12 / 1400), 12px);
  font-size:clamp(12.6px, calc(100vw * 18 / 1400), 18px);
}
[data-mode="mobile"] #container .chp-space .brd-bot-wrap .fx-gap-20{gap:12px;min-height:32px;font-size:12px}
[data-mode="mobile"] #container .chp-space .brd-bot-wrap .badge-{height:29px;padding:0 12px;font-size:12px}

/* 안내문구 `ⓘ 수업 시작 10분전 부터 입장 가능` — **버튼이 없는 카드에만 서고 그 자리를
   버튼 대신 받는다**(시안: "누를 수 없는 동안에는 버튼이 아니라 이야기가 있어야 한다").
   그래서 칸 높이가 `pillH` 이고 위 간격이 액션 줄과 같은 값이다(검증 지적 2026.09.15 —
   20↔24 로 갈려 있어 밑에서 쌓는 칸에서 그 4px 이 위로 번져 칩 줄이 카드마다 어긋났다). */
#container .chp-space .brd-bot-wrap .msg_alert{
  display:flex;align-items:center;gap:6px;color:var(--ui-gray-666);font-weight:var(--fw-regular);line-height:1.4;
}
/* ⚠ 크기에 `!important` — `m.css:665` 이 `.msg_alert{font-size:max(12px, 1.04vw) !important}` 로
   못 박아 두어 ≤1400 구간에서 하한 12 에 눌렸다(1024 에서 10.65 라 하한이 이긴다).
   `.brd-overcont` 글자와 같은 자리의 같은 그물이다([[caihong-legacy-vw-fonts]]).
   ⚠ 자리(높이·위 간격)는 안내문구가 아니라 **액션 슬롯(`.brd-bot`)**이 진다 — 아래 블록. */
[data-mode="pc"] #container .chp-space .brd-bot-wrap .msg_alert{font-size:14px !important}
[data-mode="tablet"] #container .chp-space .brd-bot-wrap .msg_alert{
  font-size:clamp(12.6px, calc(100vw * 18 / 1400), 18px) !important;
}
[data-mode="mobile"] #container .chp-space .brd-bot-wrap .msg_alert{font-size:12px !important}

/* ── 상태 줄 · 액션 줄을 **밑에서 쌓는다** (회차 카드) ────────────────────
   시안 `Card`: "재는 방식은 **밑에서 위로**다 — 카드 내용의 양이 카드마다 다를지라도 밑변은
   같기 때문이고, 슬롯 둘의 높이를 고정해 두면(상태 `pillSmH` · 액션 `pillH`) 보이는 것이
   무엇이든 줄이 맞는다 — 버튼만 있는 카드도, 안내문구만 있는 카드도, 둘 다 없는 카드도."
   라이브 `.brd-bot-wrap` 은 `space-between` 이라 **설명 길이에 따라 칩 줄이 오르내렸다**
   (실측 2026-10-01: On Air 카드 208 ↔ 잠금 카드 219 · 11px 어긋남. 오너 지적).
   설명은 위에 두고 칩 줄부터는 `margin-top:auto` 로 바닥 쪽에 붙인다.
   액션 슬롯(`.brd-bot`)은 **보이는 것과 무관하게** `pillH` 를 차지한다 — 잠금 카드의
   `&nbsp;` 한 줄(34px)도, 안내문구도, 버튼도 같은 자리를 쓴다. 그래야 칩 줄이 한 선에 선다.
   ⚠ `#divCrc` 로만 좁힌다 — `#divLesson` 의 `.brd-bot` 은 진도 바를 담는 다른 자리다. */
#container .chp-space #divCrc .brd-bot-wrap{justify-content:flex-start}
#container .chp-space #divCrc .brd-bot-wrap > .fx-gap-20{margin-top:auto}
#container .chp-space #divCrc .brd-bot{display:flex;align-items:center;box-sizing:border-box}
[data-mode="pc"] #container .chp-space #divCrc .brd-bot{min-height:56px;margin-top:24px}
[data-mode="tablet"] #container .chp-space #divCrc .brd-bot{
  min-height:min(calc(100vw * 64 / 1400), 64px);margin-top:min(calc(100vw * 24 / 1400), 24px);
}
[data-mode="mobile"] #container .chp-space #divCrc .brd-bot{min-height:48px;margin-top:16px}

/* 액션 줄이 **아예 없는 카드**는 잠금 카드와 같은 자리를 비운다(오너 지시 2026.09.16 —
   "우측 잠금 상태일 때 참고해서 높이값을 맞춰줘"). 방문 회차는 버튼도 안내문구도 진도 바도
   없어서, 그대로 두면 수업시간 칩이 카드 밑변까지 내려가 옆 잠금 카드의 칩보다 한참 낮게 선다.
   비우는 양은 **잠금 띠가 덮는 액션 자리와 같은 값**(`pillH + 24` = 80/88/72)이다 —
   새 상수를 만들지 않는다. 그 띠가 덮는 것이 바로 액션 자리이므로.
   ⚠ 가려내는 조건이 `:has()` 다 — 액션 슬롯에 **무엇이든 하나라도** 그려지는 카드
     (`.brd-bot` = 버튼·진도바·안내문구 · `.brd-overlock` = 잠금 띠)는 이미 줄이 맞는다. */
#container .chp-space .brd-lst02 > li:not(:has(.brd-bot)):not(:has(.brd-overlock)) .brd-bot-wrap{
  padding-bottom:80px;
}
[data-mode="tablet"] #container .chp-space .brd-lst02 > li:not(:has(.brd-bot)):not(:has(.brd-overlock)) .brd-bot-wrap{
  padding-bottom:min(calc(100vw * 88 / 1400), 88px);
}
/* ⚠ 모바일만 **64** 다(72 가 아니다). 시안 식은 `band - padB + 24` = 72 인데, 같은 시안의
   모바일 액션 간격은 `marginTop:16` 이라 액션 슬롯이 `48+16` = 64 다 — 두 수가 8px 어긋나
   칩 줄이 카드마다 갈렸다(실측 2026-10-01: 학습중 175 ↔ 잠금 183. 오너 지적).
   PC·Tablet 은 둘 다 `pillH + 24` 라 원래 같다(80 · 88). **빈자리는 액션 슬롯과 같은 값**으로
   맞춘다 — 비우는 뜻이 "액션이 설 자리"이므로 그 자리의 실제 크기를 따라야 한다. */
[data-mode="mobile"] #container .chp-space .brd-lst02 > li:not(:has(.brd-bot)):not(:has(.brd-overlock)) .brd-bot-wrap{
  padding-bottom:64px;
}

/* hover 없음 — 시안 `Pill` 에 hover 페인트가 없다(오너 확정 2026.09.11).
   ⚠ **규칙을 지우면 되는 게 아니라, 지우면 되돌아간다.** 레거시 `style.css:95` 가
     `[class*="btn-b-"]:hover{background:var(--moc03)}` 로 **#CCC 를 채우고**, 우리 버튼은
     `class="btn-b- btn-rsz01"` 이라 거기에 걸린다. 아웃라인 필에 그 면이 들어오면 네이비
     라벨이 회색 칩에 갇혀 눌린 것이 아니라 **꺼진 것처럼** 보였다. 그래서 hover 를 없앤다는
     것은 **기본 면을 다시 선언하는 것**이다.
   ⚠⚠ 게다가 면을 바꾸는 규칙이 **둘**이다. 면만 되돌렸더니 글자가 안 보인다는 지적을 받았다
     (오너 2026.09.11). `style.css:90` 이 먼저 `[class*="btn-"]:hover` 로 **면·테두리·글자
     셋 다** 바꾸고(`background/border-color: --moc` · `color:#fff`), 95 줄이 그중 면만
     `--moc03` 로 덮는 구조다. 그래서 면을 흰색으로 되돌리면 `color:#fff` 만 남아
     **흰 글자가 흰 면 위에** 선다. 기본 선언(`[class*="btn-b-"]{background:white;
     border-color:var(--mc); color:var(--mc)}`)의 **세 값을 그대로 되풀이해야** 한다.
   한때 DS 원칙("마우스 환경에는 누를 수 있다는 신호가 필요하다")을 들어 아웃라인 active 면
   `--surface-btn-active`(#EEEEEE)로 내렸는데, 오너가 시안대로 없애기로 정했다.
   ⚠ `.chp-space` 안으로만 건다. `[class*="btn-b-"]` 는 다른 화면 아웃라인 버튼도 전부 잡는다. */
.chp-space [class*="btn-b-"]:hover{background:var(--color-white);border-color:var(--mc);color:var(--mc)}

/* 화살표가 창 끝에서 잘리지 않게 당긴다 — 시안이 스스로 세운 규칙이다("바깥 여백이 20 뿐이라
   -14 로 당긴다 · 그러지 않으면 오른쪽 화살표가 화면 끝에서 잘린다", Carousel 주석).
   PC 레이아웃이 1400 고정이라 창이 1480 보다 좁으면 바깥 여백이 30 이 안 되고, 1440 에서
   가로 스크롤이 10px 생겼다(실측). 여백만큼만 나가고(하한 -30), 여백이 아예 없으면 트랙 끝에
   붙인다(상한 0) — 창이 1400 보다 좁을 때다. */
[data-mode="pc"] #container .chp-space .swi-ui-type02 .swiper-button-prev{left:clamp(-30px, calc((1400px - 100vw) / 2), 0px)}
[data-mode="pc"] #container .chp-space .swi-ui-type02 .swiper-button-next{right:clamp(-30px, calc((1400px - 100vw) / 2), 0px)}

/* ── 16-11. 캐러셀 좌우 화살표 ───────────────────────────────────────────
   기준: 시안 `_lib/CarouselArrow.jsx`(오너 지시 2026.09.10 — 화면 안 사본을 공통 부품으로 올림).
   라이브는 **#C4C4C4 회색 원반 + 흰 꺾쇠**였는데 시안이 통째로 바꿨다:
     "회색 원반이 거부감을 준다 · 이 시스템은 면이 아니라 **선으로 경계를 말하고**,
      회색 채움은 부활성(`outline` Active #EEE)에만 쓴다. 회색 원은 그 뜻과 부딪혀
      '누를 수 없는 것' 으로 읽힐 여지가 있었다."
     · 면 흰색 · 테두리 1px --grayscale-100(#D3D3D3, 카드·표 경계와 같은 토큰)
     · 꺾쇠 --color-black(#222) — 제목 잉크와 같다
     · hover --surface-btn-active(#EEE). **파란 채움을 쓰지 않는다** — 파랑은 이 사이트에서
       CTA 의 색이고 캐러셀 넘기기는 CTA 가 아니다(라이브 hover 는 --mlc 파랑이었다)
     · 부활성은 면 --bg-gray(#F7F7F7) · 잉크 --text-dim(#A7A7A7) · opacity .5

   꺾쇠는 DS `chevronLeft`/`chevronRight` 진품이다. DS `Glyph` 의 viewBox 가 **획에 맞춰
   잘려 있어**(7.697 × 13.131) size 가 상자가 아니라 보이는 획의 높이다 — 원 지름의 0.3 이므로
   64 원에 19 이고, 폭은 19 × 7.697/13.131 = 11.1 이다.
   ⚠ PNG 스프라이트(`--icon`)로는 색을 못 바꾼다. **mask 로 얹고 면을 currentColor** 로 둬야
     부활성에서 잉크가 따라 흐려진다. 레거시는 `next:after` 를 rotate(180deg) 로 돌려 왼쪽
     그림 하나를 재활용했는데, 우리는 좌우 진품을 따로 쓰므로 그 회전을 푼다.
   ⚠ 태블릿은 라이브가 m.css vw 로 34 까지 줄여 놨다 — 시안 값 64 를 1400 좌표계로 비례
     축소하면 1024 에서 46.8 이다(실측 34 → 47). 여백(-30)도 같이 줄인다. */
.chp-space .swi-ui-type02 .swiper-button-prev,
.chp-space .swi-ui-type02 .swiper-button-next{
  box-sizing:border-box;
  background:var(--color-white);
  border:1px solid var(--grayscale-100);
  color:var(--color-black);
  z-index:2;
}
.chp-space .swi-ui-type02 .swiper-button-prev:hover,
.chp-space .swi-ui-type02 .swiper-button-next:hover{background:var(--surface-btn-active)}
.chp-space .swi-ui-type02 .swiper-button-disabled{
  background:var(--bg-gray);color:var(--text-dim);opacity:.5;
}
.chp-space .swi-ui-type02 .swiper-button-prev:after,
.chp-space .swi-ui-type02 .swiper-button-next:after{
  background:currentColor;
  -webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;
  -webkit-mask-position:center;mask-position:center;
  -webkit-mask-size:contain;mask-size:contain;
}
.chp-space .swi-ui-type02 .swiper-button-prev:after{
  -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='7.86816 5.43457 7.69724 13.13086'%3E%3Cpath d='M15.5654 6.56543L10.1309 12L15.5654 17.4346L14.4346 18.5654L7.86816 12L14.4346 5.43457L15.5654 6.56543Z' fill='black'/%3E%3C/svg%3E");
  mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='7.86816 5.43457 7.69724 13.13086'%3E%3Cpath d='M15.5654 6.56543L10.1309 12L15.5654 17.4346L14.4346 18.5654L7.86816 12L14.4346 5.43457L15.5654 6.56543Z' fill='black'/%3E%3C/svg%3E");
}
.chp-space .swi-ui-type02 .swiper-button-next:after{
  transform:translate(-50%,-50%);
  -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='8.43457 5.43457 7.69723 13.13086'%3E%3Cpath d='M16.1318 12L9.56543 18.5654L8.43457 17.4346L13.8691 12L8.43457 6.56543L9.56543 5.43457L16.1318 12Z' fill='black'/%3E%3C/svg%3E");
  mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='8.43457 5.43457 7.69723 13.13086'%3E%3Cpath d='M16.1318 12L9.56543 18.5654L8.43457 17.4346L13.8691 12L8.43457 6.56543L9.56543 5.43457L16.1318 12Z' fill='black'/%3E%3C/svg%3E");
}
[data-mode="pc"] #container .chp-space .swi-ui-type02 .swiper-button-prev,
[data-mode="pc"] #container .chp-space .swi-ui-type02 .swiper-button-next{width:64px;height:64px}
[data-mode="pc"] #container .chp-space .swi-ui-type02 .swiper-button-prev:after,
[data-mode="pc"] #container .chp-space .swi-ui-type02 .swiper-button-next:after{width:11.1px;height:19px}
[data-mode="tablet"] #container .chp-space .swi-ui-type02 .swiper-button-prev,
[data-mode="tablet"] #container .chp-space .swi-ui-type02 .swiper-button-next{
  width:min(calc(100vw * 64 / 1400), 64px);height:min(calc(100vw * 64 / 1400), 64px);
}
[data-mode="tablet"] #container .chp-space .swi-ui-type02 .swiper-button-prev:after,
[data-mode="tablet"] #container .chp-space .swi-ui-type02 .swiper-button-next:after{
  width:min(calc(100vw * 11.1 / 1400), 11.1px);height:min(calc(100vw * 19 / 1400), 19px);
}
[data-mode="tablet"] #container .chp-space .swi-ui-type02 .swiper-button-prev{left:calc(-1 * min(calc(100vw * 30 / 1400), 30px))}
[data-mode="tablet"] #container .chp-space .swi-ui-type02 .swiper-button-next{right:calc(-1 * min(calc(100vw * 30 / 1400), 30px))}

/* ── 16-12. 0건 상태 (.chp-empty) ────────────────────────────────────────
   기준: 시안 `EmptyArea`.
   라이브 `.no-data01`(custom.css:223)은 **게시판 목록의 머리선** 규약을 지고 있다 —
   `border-top:2px solid var(--mc)` + `border-bottom:1px solid #ccc`. 그런데 이 화면은 바로
   위에 탭 줄의 네이비 2px 선이 있어 **같은 색 가로줄이 둘 겹쳐 보였다**(오너 지적 2026.09.11).
   시안은 여기에 선이 아니라 **상자**를 둔다:
     "글자만 덩그러니 두었더니 디자인을 하다 만 것처럼 읽혔다. 트랙 폭 전체를 쓰는 빈 상자
      하나를 두고 그 안에 문장을 가운데로 놓는다 — 카드를 다 그리자는 것이 아니라,
      **카드가 설 자리**를 남기는 것이다."
   · 흰 면 · 1px --grayscale-100 · 라운드는 **그 자리 카드의 것**(레슨 40/40/28 · 단어 24/24/18)
     — "두 상자가 다르게 보여야 '여기는 레슨, 여기는 단어' 가 읽힌다".
   · 패딩 80/24(MO 48/24) · 글자 emptyFs(PC 16 · TA 24 · MO 12) --ui-gray-666 · 가운데정렬
   · 높이는 카드 높이(440)를 쓰지 않는다 — "상자가 자리를 말하고, 높이는 0건의 것이다".
   ⚠ 위 여백은 **같은 자리 캐러셀과 같은 값**이어야 한다(오너 지적 2026.09.11 —
     "0건일 때만 탭에 붙어 보이면 자리가 달라진 인상을 준다"). 레슨 자리 캐러셀이 mt30,
     단어 자리가 mt24 라 JSP 의 유틸 클래스를 각각 그 값으로 맞췄다.
   ⚠ 느낌표 아이콘은 시안 `EmptyArea` 에 없다. 스프라이트라 마크업에 남겨 두고 숨긴다 —
     학습활동 피드의 0건(파란 원 24 + 느낌표)은 아이콘을 쓰므로 클래스를 지우면 안 된다. */
.chp-space .chp-empty{
  display:block;
  min-height:0;
  background:var(--color-white);
  border:1px solid var(--grayscale-100);
  text-align:center;
  color:var(--ui-gray-666);
  font-weight:var(--fw-regular);
  line-height:1.6;
}
.chp-space .chp-empty > .ic-wrn{display:none}
.chp-space .chp-empty > p{margin:0}
[data-mode="pc"] #container .chp-space .chp-empty{padding:80px 24px;font-size:16px}
[data-mode="pc"] #container .chp-space .chp-empty--card{border-radius:16px}
[data-mode="pc"] #container .chp-space .chp-empty--word{border-radius:16px}
[data-mode="tablet"] #container .chp-space .chp-empty{
  padding:min(calc(100vw * 80 / 1400), 80px) min(calc(100vw * 24 / 1400), 24px);
  font-size:clamp(16.8px, calc(100vw * 24 / 1400), 24px);
}
[data-mode="tablet"] #container .chp-space .chp-empty--card{border-radius:min(calc(100vw * 16 / 1400), 16px)}
[data-mode="tablet"] #container .chp-space .chp-empty--word{border-radius:min(calc(100vw * 16 / 1400), 16px)}
[data-mode="mobile"] #container .chp-space .chp-empty{padding:48px 24px;font-size:12px}
[data-mode="mobile"] #container .chp-space .chp-empty--card{border-radius:12px}
[data-mode="mobile"] #container .chp-space .chp-empty--word{border-radius:12px}

/* ── 16-13. 태블릿·모바일 바탕 ───────────────────────────────────────────
   시안은 세 브레이크포인트 모두 **흰 바탕**이다(`SpaceTablet`·`SpaceMobile` 에 배경 선언이
   없고, 프로토타입 화면 픽셀도 rgb(255,255,255) — 실측 대조 2026-09-11).
   레거시는 `m.css:122` 가 ≤1400 에서 `#container{background:#f7f7f7}` 를 칠한다(전역 규칙).
   그래서 태블릿·모바일에서만 카드가 회색 위에 떠 이질감이 생겼다(오너 지적 2026-09-11
   "모바일·태블릿인 경우 배경이 흰색이 아니야" · 실측 #container rgb(247,247,247)).
   ⚠ 태블릿은 `body` 까지 회색이라 둘 다 걷는다(모바일 body 는 원래 투명이다).
   ⚠ **이 화면에만** 건다 — `.inner.chp-space` 를 가진 것으로 좁혔다. 다른 T·M 화면은 회색
      바탕이 이 사이트의 기본이라 넓히면 그쪽이 어긋난다. 14절의 강의실 목록이 같은 이유로
      같은 모양의 규칙을 갖고 있다. */
[data-mode="tablet"] #container:has(> .inner.chp-space),
[data-mode="mobile"] #container:has(> .inner.chp-space),
/* 바탕 흰색은 1-6 ⓐ 가 전역으로 준다(2026-09-21) — 화면별 예외를 걷었다. */
body[data-mode="tablet"]:has(.inner.chp-space),
body[data-mode="tablet"]:has(.inner.chp-word),
body[data-mode="tablet"]:has(.inner.chp-chld){background:var(--color-white)}
/* ⚠ 자녀정보는 흰 바탕이 **필수**다 — 등록 패널이 `--bg-gray`(#F7F7F7)인데 `m.css:122` 가
   ≤1400 에서 `#container` 를 같은 #f7f7f7 로 칠해 **패널이 배경에 녹아 사라졌다**(실측). */

/* 제목 앞 [←] — 시안 `TitleRow` 의 PC 전용 링크.
   44×44 탭 칸 · `margin-left:-14` 로 글리프의 광학 왼끝을 본문 왼선에 맞춘다 ·
   글리프는 DS `arrowLeft` 진품(획 높이 16 · 폭 16 × 12.5762/11.0704 = 18.2) · 잉크 #222.
   ⚠ **PC 에만 그린다.** Tablet·Mobile 은 앱바 왼쪽 칸이 뒤로가기를 든다 — 둘 다 두면
     한 화면에 뒤로가기가 둘이다. `display:none` 이라 탭 순서에서도 빠진다.
   ⚠ SVG 를 mask 로 얹고 면을 currentColor 로 둔다 — 색을 CSS 가 쥐고 있어야
     hover·부활성에서 따라 움직인다(16-11 화살표와 같은 방식). */
.chp-spacetop__back{display:none;flex-shrink:0;align-items:center;justify-content:center;
  width:44px;height:44px;margin-left:-14px;text-decoration:none;color:var(--color-black)}
.chp-spacetop__back::before{
  content:"";display:block;width:18.2px;height:16px;background:currentColor;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='5.4238 6.4648 12.5762 11.0704'%3E%3Cpath d='M11.5947 7.53516L8.2959 11.2002H18V12.7998H8.2959L11.5947 16.4648L10.4053 17.5352L5.42383 12L10.4053 6.46484L11.5947 7.53516Z' fill='black'/%3E%3C/svg%3E") no-repeat center / contain;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='5.4238 6.4648 12.5762 11.0704'%3E%3Cpath d='M11.5947 7.53516L8.2959 11.2002H18V12.7998H8.2959L11.5947 16.4648L10.4053 17.5352L5.42383 12L10.4053 6.46484L11.5947 7.53516Z' fill='black'/%3E%3C/svg%3E") no-repeat center / contain;
}
[data-mode="pc"] #container .chp-spacetop__back{display:flex}

/* ── 16-14. 차이홍(톡톡) 디지털 카드 (myClass/classMain/classNewMainLes) ─────
   기준: 시안 `screen.jsx` 의 `DarkCard` · `ContCard`(치수표 `SZ` · `metaSpec`).
   시안이 구성을 넷으로 갈라 두었다(2026.09.15):
     base    유패스(화상+디지털)      리본형
     cont    **차이홍(디지털)**       **차이홍 구성** ← 이 화면
     combo   결합 유패스(방문+디지털)  리본형
     chcombo 결합 차이홍(방문+디지털)  방문은 리본형 · 디지털은 차이홍 구성
   그래서 **톡톡 방문(classMainCrc)은 이 절이 아니라 16절(리본형)이다** — 이미 적용돼 있다.

   이 화면만 마크업이 다르다(`.talk-talk-lesson` + swiper). `.brd-lst02` 를 쓰지 않아
   16절이 걸리지 않으므로 같은 값을 여기서 다시 준다. **클래스가 6개 변형에 일관돼 있어
   JSP 분기 50KB 를 건드리지 않고 CSS 로만 옮긴다.**

   라이브에서 바뀌는 것:
     카드     300×346 고정 · r24 · 1px #EBEDF4 · 그림자 2겹
              → **422(MO 300) · min-height 440(MO 300) · r40(MO 28) · 1px --grayscale-100 · 그림자 없음**
              폭·하한·라운드·패딩은 옆 레슨 카드와 **같은 껍데기**다(시안: "`Card` 와 껍데기를 공유").
     제목 줄  padding 24/16/16 + **아래 1px #DFE4ED** · 20/600
              → 선을 걷고 카드 패딩 안으로 · 아이콘 52(MO 40) · 글자 500 18/26(TA 26/36 · MO 14/20)
     순서     제목 → 진도 → [날짜박스 + 버튼]
              → **제목 → 정보 패널 → 진도 → 액션**(시안 `DarkCard`). `.talk-slide-body` 를
                `display:contents` 로 풀고 `order` 로 세운다 — JSP 를 건드리지 않는 값이다.
     정보 패널 268 고정 · padding 24 · gap 16 · r12 · #F5F6FA · 라벨 #6E7191 600
              → 전폭 · 16·20 · gap 8 · **r8** · --bg-gray · 라벨 --ui-navy 폭 92 · 값 --color-black
     진도     인라인 SVG 230×12 빨강 그라디언트(#FF9796→#DE4D4B) · % 12/600 #A1ADC4
              → 시안 `ProgressBar`(트랙 8 --color-light-gray · 채움 --ui-blue · 라벨 700 20 파랑).
                **마크업도 바꿨다** — 옆 레슨 카드와 규격이 갈려 있었고, 16절이 이미 쓰는
                `.grp-bar-wrap > p` 로 맞추면 두 화면이 한 부품을 쓴다.
     버튼     268×56 · r16 · #DE4D4B · 18/600 → **전폭 · 56(TA 64 · MO 48) · r6(MO 4) · 700 20**

   ⚠ **빨강 채움은 "지금 할 일"의 차이홍 브랜드 색이다**(오너 확정 2026.09.12 · 시안 페인트 표).
     한때 "학습하는 동작은 전부 빨강"이었다가, 네 카드 중 셋이 같은 빨강이 되어 "이 카드들은
     같다"고 말해 버려 축을 둘로 갈랐다 — **지금 할 일은 그 구성의 브랜드 색, 끝난 카드는 네이비**.
     그래서 이 화면에서 빨강은 [학습하기] 하나뿐이고, [다시 풀기]·[복습하기]는 네이비다(16-14-7).
     값만 라이브 #DE4D4B → 이 화면이 이미 쓰는 `--color-red` 로 모은다.
     ⚠ 다만 그 빨강이 DS 에서 취소·주의의 색인 것은 **수정표 37번에 그대로 열려 있다** —
       색을 바꾸는 결정이 나면 이 한 줄만 갈면 된다. */
/* ⚠ swiper 가 `slidesPerView:"auto"` 라 **카드 폭을 CSS 가 정한다.** 시안 `s.card` 다. */
/* ⚠ 레거시 `.swiper-wrapper{height:350px}`(custom.css:2506)가 카드를 자른다 — 카드 하한이
   346 이던 시절의 값이다. 440 으로 올렸으므로 높이는 카드가 정하게 둔다. */
#container .chp-talkles .swiper-wrapper{height:auto}

#container .chp-talkles .swiper-slide{
  height:auto;box-shadow:none;align-items:stretch;
  border:1px solid var(--grayscale-100);background:var(--color-white);
  display:flex;flex-direction:column;box-sizing:border-box;
}
/* 순서 — `.talk-slide-body` 를 풀어 넷을 형제로 세운다 */
#container .chp-talkles .swiper-slide:not(.locked) .talk-slide-body{display:contents}
#container .chp-talkles .swiper-slide:not(.locked) .talk-slide-header{order:1}
#container .chp-talkles .swiper-slide:not(.locked) .study-date-box{order:2}
#container .chp-talkles .swiper-slide:not(.locked) .talk-slide-progress{order:3}
#container .chp-talkles .swiper-slide:not(.locked) .study-btn,
#container .chp-talkles .swiper-slide:not(.locked) .talk-slide-body .wrapper,
#container .chp-talkles .swiper-slide.completed .score{order:4}
/* 점수 카드는 점수가 가운데 칸이다 — 버튼보다 앞에 온다 */
#container .chp-talkles .swiper-slide.completed .score{order:3;align-self:center}

/* 제목 줄 — 라이브의 아래 1px 구분선을 걷는다. 카드 안을 선으로 가르지 않는다. */
#container .chp-talkles .talk-slide-header{
  padding:0;border-bottom:0;align-self:stretch;
  color:var(--color-black);font-weight:var(--fw-medium);
}
#container .chp-talkles .talk-slide-header img{flex-shrink:0;display:block}

/* 정보 패널 — 라벨 열은 고정 폭이라 값이 같은 선에서 시작한다(시안 metaSpec) */
#container .chp-talkles .study-date-box{
  width:auto;align-self:stretch;box-sizing:border-box;
  border-radius:8px;background:var(--bg-gray);
}
#container .chp-talkles .study-date-row{align-items:baseline}
#container .chp-talkles .study-text{flex:0 0 auto;color:var(--ui-navy);font-weight:var(--fw-regular)}
#container .chp-talkles .study-date{color:var(--color-black);font-weight:var(--fw-regular);
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

/* 진도 — 16절과 같은 부품. 라벨은 700 파랑(액션에 파랑 채움이 없으므로 거리 규칙상 파랑이다). */
#container .chp-talkles .talk-slide-progress{
  width:auto;align-self:stretch;padding:0;align-items:center;
}
#container .chp-talkles .talk-slide-progress .grp-bar-wrap{
  flex:1 1 auto;height:8px;border-radius:4px;background:var(--color-light-gray);overflow:hidden;
}
#container .chp-talkles .talk-slide-progress .grp-bar-wrap > p{
  height:8px;border-radius:4px;background:var(--ui-blue);margin:0;
}
#container .chp-talkles .talk-slide-progress .percent,
#container .chp-talkles .talk-slide-progress .before-study{
  flex-shrink:0;color:var(--ui-blue);font-weight:var(--fw-bold);line-height:1.4;
}
#container .chp-talkles .talk-slide-progress .before-study{width:auto;color:var(--ui-gray-666)}

/* 액션 — 전폭. 빨강은 유지하되 값만 --color-red 로 모은다(위 ⚠ 참조). */
#container .chp-talkles .study-btn{
  width:auto;align-self:stretch;margin-top:auto;
  background:var(--color-red);color:var(--color-white);
  font-weight:var(--fw-bold);line-height:1;
}
#container .chp-talkles .talk-slide-body .wrapper{align-self:stretch;margin-top:auto}
#container .chp-talkles .talk-slide-body .wrapper > *{flex:1 1 0;min-width:0}

/* ── 16-14-1. PC ───────────────────────────────────────────────────────── */
[data-mode="pc"] #container .chp-talkles .swiper-slide{width:422px;min-height:440px;border-radius:16px;padding:64px 48px 48px}
[data-mode="pc"] #container .chp-talkles .talk-slide-header{gap:12px;font-size:18px;line-height:26px}
[data-mode="pc"] #container .chp-talkles .talk-slide-header img{width:52px;height:52px}
[data-mode="pc"] #container .chp-talkles .study-date-box{margin-top:44px;padding:16px 20px;gap:8px}
[data-mode="pc"] #container .chp-talkles .study-date-row{gap:20px}
[data-mode="pc"] #container .chp-talkles .study-text{width:92px}
[data-mode="pc"] #container .chp-talkles .study-text,
[data-mode="pc"] #container .chp-talkles .study-date{font-size:16px;line-height:22px}
[data-mode="pc"] #container .chp-talkles .talk-slide-progress{margin:20px 0;gap:10px}
[data-mode="pc"] #container .chp-talkles .talk-slide-progress .percent,
[data-mode="pc"] #container .chp-talkles .talk-slide-progress .before-study{font-size:20px}
[data-mode="pc"] #container .chp-talkles .study-btn{height:56px;border-radius:6px;font-size:20px}
[data-mode="pc"] #container .chp-talkles .talk-slide-body .wrapper{gap:12px}
[data-mode="pc"] #container .chp-talkles .swiper-slide.completed .score{font-size:32px;line-height:1.2}

/* ── 16-14-2. Tablet — 1400 캔버스를 100vw 로 줄인다 ───────────────────── */
[data-mode="tablet"] #container .chp-talkles .swiper-slide{width:min(calc(100vw * 422 / 1400), 422px);
  min-height:min(calc(100vw * 440 / 1400), 440px);
  border-radius:min(calc(100vw * 16 / 1400), 16px);
  padding:min(calc(100vw * 64 / 1400), 64px) min(calc(100vw * 48 / 1400), 48px) min(calc(100vw * 48 / 1400), 48px);
}
[data-mode="tablet"] #container .chp-talkles .talk-slide-header{
  gap:min(calc(100vw * 12 / 1400), 12px);
  font-size:clamp(18.2px, calc(100vw * 26 / 1400), 26px);line-height:1.4;
}
[data-mode="tablet"] #container .chp-talkles .talk-slide-header img{
  width:min(calc(100vw * 52 / 1400), 52px);height:min(calc(100vw * 52 / 1400), 52px);
}
[data-mode="tablet"] #container .chp-talkles .study-date-box{
  margin-top:min(calc(100vw * 44 / 1400), 44px);
  padding:min(calc(100vw * 16 / 1400), 16px) min(calc(100vw * 20 / 1400), 20px);
  gap:min(calc(100vw * 8 / 1400), 8px);
}
[data-mode="tablet"] #container .chp-talkles .study-date-row{gap:min(calc(100vw * 12 / 1400), 12px)}
[data-mode="tablet"] #container .chp-talkles .study-text{width:min(calc(100vw * 104 / 1400), 104px)}
[data-mode="tablet"] #container .chp-talkles .study-text,
[data-mode="tablet"] #container .chp-talkles .study-date{
  font-size:clamp(14px, calc(100vw * 20 / 1400), 20px);line-height:1.4;
}
[data-mode="tablet"] #container .chp-talkles .talk-slide-progress{
  margin:min(calc(100vw * 20 / 1400), 20px) 0;gap:min(calc(100vw * 10 / 1400), 10px);
}
[data-mode="tablet"] #container .chp-talkles .talk-slide-progress .percent,
[data-mode="tablet"] #container .chp-talkles .talk-slide-progress .before-study{
  font-size:clamp(14px, calc(100vw * 20 / 1400), 20px);
}
[data-mode="tablet"] #container .chp-talkles .study-btn{
  height:min(calc(100vw * 64 / 1400), 64px);border-radius:6px;
  font-size:clamp(16.8px, calc(100vw * 24 / 1400), 24px);
}
[data-mode="tablet"] #container .chp-talkles .talk-slide-body .wrapper{gap:min(calc(100vw * 12 / 1400), 12px)}
[data-mode="tablet"] #container .chp-talkles .swiper-slide.completed .score{font-size:clamp(25.2px, calc(100vw * 36 / 1400), 36px);line-height:1.2}

/* ── 16-14-3. Mobile ──────────────────────────────────────────────────── */
[data-mode="mobile"] #container .chp-talkles .swiper-slide{width:300px;min-height:300px;border-radius:12px;padding:47px 28px 28px}
[data-mode="mobile"] #container .chp-talkles .talk-slide-header{gap:8px;font-size:14px;line-height:20px}
[data-mode="mobile"] #container .chp-talkles .talk-slide-header img{width:40px;height:40px}
[data-mode="mobile"] #container .chp-talkles .study-date-box{margin-top:16px;padding:12px 14px;gap:6px}
[data-mode="mobile"] #container .chp-talkles .study-date-row{gap:12px}
[data-mode="mobile"] #container .chp-talkles .study-text{width:64px}
[data-mode="mobile"] #container .chp-talkles .study-text,
[data-mode="mobile"] #container .chp-talkles .study-date{font-size:12px;line-height:17px}
[data-mode="mobile"] #container .chp-talkles .talk-slide-progress{margin:12px 0;gap:8px}
[data-mode="mobile"] #container .chp-talkles .talk-slide-progress .percent,
[data-mode="mobile"] #container .chp-talkles .talk-slide-progress .before-study{font-size:15px}
[data-mode="mobile"] #container .chp-talkles .study-btn{height:48px;border-radius:4px;font-size:16px}
[data-mode="mobile"] #container .chp-talkles .talk-slide-body .wrapper{gap:8px}
[data-mode="mobile"] #container .chp-talkles .swiper-slide.completed .score{font-size:24px;line-height:1.2}

/* ── 16-14-4. 잠긴 카드 ──────────────────────────────────────────────────
   시안 `ContCard` 의 `item.lock` 분기다. 라이브와 **성격이 다르다**:
     라이브  카드 전체를 반투명 blur(`backdrop-filter:blur(20px)` + rgba(255,255,255,.1))로
             덮고 자물쇠를 절대좌표(left 118 · top 141)에 박는다 — 300x346 카드의 수다.
     시안    제목 줄은 **그대로 보이되 글자만 흐리고**(`C.moc03`), 그 아래로 **불투명
             `--bg-gray` 띠**가 카드 좌우 끝과 밑변까지 닿는다. 자물쇠는 그 띠의 한가운데다.
   시안 주석: "라이브 잠금 띠 `--moc02` #E4E4E4 는 흰 카드 위에서 너무 진했다 → 같은 줄에 선
   카드의 메타 패널과 같은 `--bg-gray` 로 맞췄다." DS 는 스크림·투명도를 쓰지 않는다.
   ⚠ 자물쇠 잉크도 한 단 내린다 — 라이브 원본이 `#CCCCCC` 라 바로 아래 단어 카드의 북마크와
     한 층으로 읽혔다(시안: `--grayscale-100` 으로 내린 사본 `live-big-lock-dim.png`).
     우리는 사본이 없으므로 **PNG 를 mask 로 얹고 면을 토큰으로 칠한다** — 같은 결과이고
     자산을 새로 만들지 않는다.
   ⚠ **음수 여백은 `max()` 다.** `min(calc(100vw*-48/1400), -48px)` 는 늘 -48 을 고른다
     (둘 중 작은 쪽) — 태블릿에서 패딩만 35.1 로 줄고 띠는 48 을 밀어 12.9 넘쳤다.
   ⚠ 띠가 카드 라운드를 넘지 않도록 카드에 `overflow:hidden` 을 준다(시안도 같다).
   순서 규칙(`display:contents` + `order`)은 `.blur` 래퍼가 한 겹 더 있어 헛돌므로
   `:not(.locked)` 로 비껴 둔다. */
#container .chp-talkles .swiper-slide{overflow:hidden}
#container .chp-talkles .locked .talk-slide-header{color:var(--moc03)}
#container .chp-talkles .locked .blur{
  position:relative;flex:1 1 auto;height:auto;align-content:stretch;
  background:var(--bg-gray);backdrop-filter:none;-webkit-backdrop-filter:none;
}
#container .chp-talkles .locked .blur:after{
  content:"";position:absolute;left:50%;top:50%;transform:translate(-50%, -50%);
  /* 방문 카드와 같은 자물쇠(디자인QA DT-4649 · 디자이너 전달 svg #D3D3D3 108×122) — 톡톡 lock.png 는 모양이 달랐음 */
  background:url("/resources/images/img/big_lock_dim.svg") no-repeat center / contain;
}
/* 띠 안의 것은 전부 걷는다 — 빈 버튼과 blur 면만 들어 있던 칸이다. */
#container .chp-talkles .locked .talk-slide-progress,
#container .chp-talkles .locked .talk-slide-body,
#container .chp-talkles .locked .locker{display:none}
[data-mode="pc"] #container .chp-talkles .locked .blur{margin:44px -48px -48px}
[data-mode="pc"] #container .chp-talkles .locked .blur:after{width:44px;height:50px}
[data-mode="tablet"] #container .chp-talkles .locked .blur{
  margin:min(calc(100vw * 44 / 1400), 44px) max(calc(100vw * -48 / 1400), -48px) max(calc(100vw * -48 / 1400), -48px);
}
[data-mode="tablet"] #container .chp-talkles .locked .blur:after{
  width:min(calc(100vw * 44 / 1400), 44px);height:min(calc(100vw * 50 / 1400), 50px);
}
[data-mode="mobile"] #container .chp-talkles .locked .blur{margin:16px -28px -28px}
[data-mode="mobile"] #container .chp-talkles .locked .blur:after{width:32px;height:36px}

/* 단어 섹션 머리 글자 — 시안 `secFs` 20 / 26 / 14 · BI 로고 높이 `biH` 28 / 36 / 22.
   라이브는 세 모드가 모두 20 고정이고 BI 가 `width="106px"` 라 모바일에서 줄지 않았다. */
#container .chp-talkles :is(.talk-talk-word, .talk-talk-word-mobile){font-weight:var(--fw-bold);line-height:1.4}
#container .chp-talkles :is(.talk-talk-word, .talk-talk-word-mobile) img{width:auto;flex-shrink:0}
[data-mode="pc"] #container .chp-talkles :is(.talk-talk-word, .talk-talk-word-mobile){font-size:20px}
[data-mode="pc"] #container .chp-talkles :is(.talk-talk-word, .talk-talk-word-mobile) img{height:28px}
[data-mode="tablet"] #container .chp-talkles :is(.talk-talk-word, .talk-talk-word-mobile){font-size:clamp(18.2px, calc(100vw * 26 / 1400), 26px)}
[data-mode="tablet"] #container .chp-talkles :is(.talk-talk-word, .talk-talk-word-mobile) img{height:min(calc(100vw * 36 / 1400), 36px)}
[data-mode="mobile"] #container .chp-talkles :is(.talk-talk-word, .talk-talk-word-mobile){font-size:14px}
[data-mode="mobile"] #container .chp-talkles :is(.talk-talk-word, .talk-talk-word-mobile) img{height:22px}
[data-mode="mobile"] #container .chp-talkles .talk-talk-word-mobile > .flex-row{margin:4px 0}

/* ── 16-14-9. 태블릿 단어 섹션 머리 ────────────────────────────────────
   ⚠ **태블릿에 모바일 마크업이 내려온다.** JSP 가 서버 플래그 `isMobile` 로 갈리는데 그 값이
     태블릿에서도 'Y' 라, PC 의 한 줄짜리 `.talk-talk-word` 대신 두 덩이를 쌓은
     `.talk-talk-word-mobile` 이 온다(실측: 두 `.flex-row` 가 y0 · y42, 높이 84).
     시안은 PC·Tablet 이 **한 줄**이다. 마크업을 갈아 끼우려면 서버 분기를 바꿔야 하므로
     여기서는 **CSS 로 한 줄로 세운다** — 읽는 순서는 그대로다.
     구분선은 PC 쪽 `.divider` 와 같은 값을 둘째 덩이 앞에 둔다(그 마크업에는 요소가 없다). */
[data-mode="tablet"] #container .chp-talkles .talk-talk-word-mobile{
  display:flex;align-items:center;gap:0;
}
[data-mode="tablet"] #container .chp-talkles .talk-talk-word-mobile > .flex-row{margin:0}
[data-mode="tablet"] #container .chp-talkles .talk-talk-word-mobile > .flex-row + .flex-row:before{
  content:"";flex-shrink:0;width:1px;height:min(calc(100vw * 16 / 1400), 16px);
  margin:0 min(calc(100vw * 16 / 1400), 16px);background:#BFC8D7;
}

/* ── 16-14-5. 캐러셀 화살표 ──────────────────────────────────────────────
   기준: 공통 부품 `CarouselArrow`(시안 `_lib`). 16절이 옆 화면(`.swi-ui-type02`)에 이미 같은
   값을 깔아 뒀는데, 이 화면만 **다른 마크업**(`.talk-swiper-button-*` 은 원이 없는 맨 div 에
   70x76 인라인 SVG 한 장)이라 안 걸렸다.
     흰 면 · 1px --grayscale-100 · 꺾쇠 #222 · 지름 64(MO 40) · 획 높이 = 지름 x 0.3
     hover --surface-btn-active(#EEE) · 부활성 면 --bg-gray + --text-dim + opacity .5
   시안 주석: "회색 원반이 거부감을 준다 … 이 시스템은 면이 아니라 선으로 경계를 말한다."
   ⚠ **자리에 `!important` 를 쓴다.** 단어 캐러셀 화살표는 Swiper 가 `style="top:40px;
     left:-20px"` 를 **인라인으로** 박아 CSS 로는 못 이긴다. 레슨 쪽 레거시 값(top 110)도
     카드가 346 이던 시절의 수라 함께 덮는다. */
#container .chp-talkles .talk-swiper-button-prev,
#container .chp-talkles .talk-swiper-button-next{
  box-sizing:border-box;border-radius:50%;
  background:var(--color-white);border:1px solid var(--grayscale-100);
  color:var(--color-black);z-index:2;
  display:flex;align-items:center;justify-content:center;
  top:50% !important;transform:translateY(-50%);
}
#container .chp-talkles .talk-swiper-button-prev > svg,
#container .chp-talkles .talk-swiper-button-next > svg{display:none}
#container .chp-talkles .talk-swiper-button-prev:hover,
#container .chp-talkles .talk-swiper-button-next:hover{background:var(--surface-btn-active)}
#container .chp-talkles .talk-swiper-button-prev.swiper-button-disabled,
#container .chp-talkles .talk-swiper-button-next.swiper-button-disabled{
  background:var(--bg-gray);color:var(--text-dim);opacity:.5;
}
/* ⚠ **`lock` 은 `disabled` 와 다른 뜻이다 — 한 묶음이던 것을 갈랐다(2026-10-01).**
   `disabled` 는 *그 방향으로* 더 갈 곳이 없다(반대쪽은 갈 수 있다)이고,
   `lock` 은 **카드가 한 화면에 다 들어와 넘길 곳 자체가 없다**는 Swiper 의 판정이다.
   시안 `Carousel` 은 후자를 **그리지 않는다** — "넘길 것이 없는 자리에 컨트롤 둘이 회색으로
   서 있으면 눌러 봐야 아무 일도 없다는 것을 알게 된다"(오너 지시 2026.09.09).
   그런데 위 기본 규칙의 `display:flex`(1 id + 2 class)가 Swiper 기본 CSS 의
   `.swiper-button-lock{display:none}`(0,1,0)을 **특이도로 이겨서**, 단어 카드 셋처럼 다 보이는
   자리에 회색 화살표가 남아 있었다(실측 2026-10-01 · 톡톡 디지털 `#divWord`).
   유패스 두 화면은 JSP 의 Swiper `init` 훅이 `isLocked` 일 때 `.hide()` 를 걸어 가려 주고
   있었다 — 같은 규칙인데 가려지는 경로가 화면마다 달랐다. CSS 로 통일한다. */
#container .chp-talkles .talk-swiper-button-prev.swiper-button-lock,
#container .chp-talkles .talk-swiper-button-next.swiper-button-lock{display:none}
#container .chp-talkles .talk-swiper-button-prev:after,
#container .chp-talkles .talk-swiper-button-next:after{
  content:"";display:block;background:currentColor;
  -webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;
  -webkit-mask-position:center;mask-position:center;
  -webkit-mask-size:contain;mask-size:contain;
}
#container .chp-talkles .talk-swiper-button-prev:after{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='7.86816 5.43457 7.69724 13.13086'%3E%3Cpath d='M15.5654 6.56543L10.1309 12L15.5654 17.4346L14.4346 18.5654L7.86816 12L14.4346 5.43457L15.5654 6.56543Z' fill='black'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='7.86816 5.43457 7.69724 13.13086'%3E%3Cpath d='M15.5654 6.56543L10.1309 12L15.5654 17.4346L14.4346 18.5654L7.86816 12L14.4346 5.43457L15.5654 6.56543Z' fill='black'/%3E%3C/svg%3E")}
#container .chp-talkles .talk-swiper-button-next:after{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='8.43457 5.43457 7.69723 13.13086'%3E%3Cpath d='M16.1318 12L9.56543 18.5654L8.43457 17.4346L13.8691 12L8.43457 6.56543L9.56543 5.43457L16.1318 12Z' fill='black'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='8.43457 5.43457 7.69723 13.13086'%3E%3Cpath d='M16.1318 12L9.56543 18.5654L8.43457 17.4346L13.8691 12L8.43457 6.56543L9.56543 5.43457L16.1318 12Z' fill='black'/%3E%3C/svg%3E")}
[data-mode="pc"] #container .chp-talkles .talk-swiper-button-prev,
[data-mode="pc"] #container .chp-talkles .talk-swiper-button-next{width:64px;height:64px}
[data-mode="pc"] #container .chp-talkles .talk-swiper-button-prev{left:-30px !important}
[data-mode="pc"] #container .chp-talkles .talk-swiper-button-next{right:-30px !important}
[data-mode="pc"] #container .chp-talkles .talk-swiper-button-prev:after,
[data-mode="pc"] #container .chp-talkles .talk-swiper-button-next:after{width:11.1px;height:19px}
[data-mode="tablet"] #container .chp-talkles .talk-swiper-button-prev,
[data-mode="tablet"] #container .chp-talkles .talk-swiper-button-next{
  width:min(calc(100vw * 64 / 1400), 64px);height:min(calc(100vw * 64 / 1400), 64px);
}
[data-mode="tablet"] #container .chp-talkles .talk-swiper-button-prev{left:max(calc(100vw * -30 / 1400), -30px) !important}
[data-mode="tablet"] #container .chp-talkles .talk-swiper-button-next{right:max(calc(100vw * -30 / 1400), -30px) !important}
[data-mode="tablet"] #container .chp-talkles .talk-swiper-button-prev:after,
[data-mode="tablet"] #container .chp-talkles .talk-swiper-button-next:after{
  width:min(calc(100vw * 11.1 / 1400), 11.1px);height:min(calc(100vw * 19 / 1400), 19px);
}
/* **Mobile 에는 화살표를 두지 않는다**(시안 `Carousel` · 오너 확정 2026.09.09):
     "PC 는 트랙 밖 -30 에 서지만 모바일은 바깥 여백이 20 뿐이라 **카드 위로 밀려 들어와
      내용을 가렸다**. 터치에서는 스와이프와 아래 페이지네이션이 그 일을 한다."
   ⚠ 한때 `SZ.mo.arrowOff: 4` 만 보고 "트랙 안쪽으로 들인다"로 읽어 40px 원을 그렸다가
     되돌린 자리다 — 그 값은 쓰이지 않는다(모바일은 화살표를 렌더하지 않으므로).
     실제로 단어 카드의 병음을 덮고 있었다. */
[data-mode="mobile"] #container .chp-talkles .talk-swiper-button-prev,
[data-mode="mobile"] #container .chp-talkles .talk-swiper-button-next{display:none}
/* ── 16-14-7. 완료 카드 (.completed) ─────────────────────────────────────
   기준: 시안 `DarkCard`. **라이브는 차콜 카드다** — 카드·헤더 `#2F343D` · 패널 `#4A505C` ·
   점수와 값 흰 글자. 시안이 2026.09.11 에 **흰 카드로 내렸다**(오너 직접 편집):
     "오전까지 라이브 차콜이었는데 너무 무거워 흰 계열로 내렸다. … tint 도 걷었다 — 흰 카드다.
      완료를 나르는 것은 면이 아니라 **내용 넷**이다: 초록 체크 · 가득 찬 진도 바 ·
      `학습 종료일` 의 날짜 · 버튼 라벨."
   ⚠ 16-14 의 앞 절들이 카드 면만 흰색으로 올려 두어 **두 곳이 라이브 차콜에 남아 있었다**
     (사용자 지적 2026-09-30): ① 헤더 배경 `#2F343D` 가 과정명 뒤에 검은 띠로 남고
     ② 점수 글자가 `#FFF` 라 **흰 바탕에 흰 글자**로 사라졌다. 둘 다 여기서 걷는다.
   ⚠ 액션 둘의 페인트는 시안 데이터 그대로다 — `[결과 보기] outline` · `[다시 풀기] navy`.
     시안 주석: "[결과 보기]는 DS `outline`(보는 동작), [다시 풀기]는 채움(학습하는 동작)이다."
     라이브는 `#EBEDF3` / `#F13D44` 였다. 진행 카드의 전폭 [학습하기]가 빨강인 것과 갈리는데,
     시안도 "같은 라벨이 구성에 따라 두 페인트로 갈려 있는 것은 그때 함께 정리한다"고 열어 뒀다.
   점수 칸은 `resultRowH`(= max(barH, barFs×1.4, scoreFs×1.2))를 하한으로 둔다 — 옆 진행 카드의
   진도 바와 **같은 높이에 서야** 캐러셀을 넘길 때 패널과 버튼이 움직이지 않는다. */
#container .chp-talkles .swiper-slide.completed{background:var(--color-white)}
#container .chp-talkles .swiper-slide.completed .talk-slide-header{background:none;border-bottom:0}
/* **끝난 카드의 [복습하기]도 네이비다.** `.study-btn` 은 두 자리에 쓰인다 — 진행·학습전
   카드의 [학습하기](빨강)와 **완료 카드의 [복습하기]**. 시안 페인트 표(오너 확정 2026.09.12):
     | 자리 | 차이홍(디지털) | 리본(방문·화상) |
     | 지금 할 일 (시작하기·학습하기) | **빨강 채움** | 파랑 채움 |
     | 끝난 카드의 액션 (다시 풀기·복습하기) | **네이비 채움** | — |
     | 보는 동작 (결과 보기) | **DS outline** | 네이비 채움 |
   "완료 두 장이 같은 네이비인 것도 요점이다 — 같은 상태를 다른 페인트로 가르면 설명할 수 없는
   차이가 생긴다." 그래서 [다시 풀기]와 [복습하기]가 한 색이다. */
#container .chp-talkles .swiper-slide.completed .study-btn{
  background:var(--ui-navy);color:var(--color-white);
}
/* 점수 — 남는 높이를 먹고 그 안에서 가운데. 홀로 선 숫자라 가로도 가운데다(시안). */
#container .chp-talkles .swiper-slide.completed .score{
  flex:1 1 auto;width:auto;height:auto;align-self:stretch;
  display:flex;align-items:center;justify-content:center;padding:0;
  color:var(--color-black);font-weight:var(--fw-bold);line-height:1.2;
}
/* 액션 둘 */
#container .chp-talkles .swiper-slide.completed .wrapper > .result,
#container .chp-talkles .swiper-slide.completed .wrapper > .retry{
  box-sizing:border-box;width:auto;flex:1 1 0;min-width:0;padding:0;
  font-weight:var(--fw-bold);line-height:1;
}
#container .chp-talkles .swiper-slide.completed .wrapper > .result{
  background:var(--color-white);color:var(--ui-gray-333);
  box-shadow:inset 0 0 0 1px var(--grayscale-100);
}
#container .chp-talkles .swiper-slide.completed .wrapper > .retry{
  background:var(--ui-navy);color:var(--color-white);
}
[data-mode="pc"] #container .chp-talkles .swiper-slide.completed .score{min-height:38px;margin:20px 0;font-size:32px}
[data-mode="pc"] #container .chp-talkles .swiper-slide.completed .wrapper > .result,
[data-mode="pc"] #container .chp-talkles .swiper-slide.completed .wrapper > .retry{height:56px;border-radius:6px;font-size:20px}
[data-mode="tablet"] #container .chp-talkles .swiper-slide.completed .score{
  min-height:min(calc(100vw * 43 / 1400), 43px);margin:min(calc(100vw * 20 / 1400), 20px) 0;
  font-size:clamp(25.2px, calc(100vw * 36 / 1400), 36px);
}
[data-mode="tablet"] #container .chp-talkles .swiper-slide.completed .wrapper > .result,
[data-mode="tablet"] #container .chp-talkles .swiper-slide.completed .wrapper > .retry{
  height:min(calc(100vw * 64 / 1400), 64px);border-radius:6px;
  font-size:clamp(16.8px, calc(100vw * 24 / 1400), 24px);
}
[data-mode="mobile"] #container .chp-talkles .swiper-slide.completed .score{min-height:29px;margin:12px 0;font-size:24px}
[data-mode="mobile"] #container .chp-talkles .swiper-slide.completed .wrapper > .result,
[data-mode="mobile"] #container .chp-talkles .swiper-slide.completed .wrapper > .retry{height:48px;border-radius:4px;font-size:16px}

/* ── 16-14-8. 단어 영역 머리 [전체 보기] · 아이콘 둘 ─────────────────────
   ① [전체 보기] — 시안 `MoreButton` 은 **DS Button(type=outline · size=medium · iconEnd
      chevron-right)** 이다. 라이브는 손으로 그린 알약(`#EBEDF3` 채움 · radius 999 · 12/700).
      시안 주석: "size 는 medium — CLAUDE.md 버튼 자리 배정: small 은 행·셀 안의 액션,
      **섹션 헤더에 붙는 것은 medium**(회원정보 [수정] · 자녀등록 [자녀등록]과 같은 자리)."
      마크업이 `<button class="talk-select-word">전체 보기 <svg/></button>` 한 덩이라 DS 클래스를
      붙이지 않고 같은 값을 여기서 준다 — 안의 꺾쇠 SVG 는 살리고 크기만 맞춘다.
   ② 스피커 · 북마크 — **자산이 달랐다**(사용자 지적 2026-09-30). 시안 진품을 전달본 번들에서
      꺼내 `images/img/talk-talk/ds/` 에 넣고 이 화면만 그쪽을 가리키게 했다:
        스피커  라이브 PNG 두 장 → 시안 공통 부품의 진품 패스 셋(body/바깥 음파/안쪽 음파)을
                24 viewBox SVG 로. 재생 중에는 `--ui-blue` 로 바뀐다(라이브도 src 를 갈아 끼우던
                자리라 JS 는 그대로다).
        북마크  라이브는 **빨간 윤곽 북마크 + 체크**였고 시안은 **회색 윤곽 + `+` / 파란 채움 +
                흰 체크**다(48x48 진품). 모양과 색이 둘 다 달랐다.
      ⚠ 스크랩 화면(`scrap/ajax/scrapNewWordList.jsp`)과 단어장(`classMain/ajax/lessonNewWordList.jsp`)
        이 **같은 라이브 자산을 쓴다** — 그 둘은 이번 범위가 아니라 건드리지 않았다. 함께 갈지는
        확인이 필요하다(`ds/` 밑에 따로 둔 이유가 이것이다). */
#container .chp-talkles .talk-select-word{
  box-sizing:border-box;border-radius:calc(var(--radius-btn) * 1px);
  background:var(--color-white);color:var(--ui-gray-333);
  box-shadow:inset 0 0 0 1px var(--line-block, var(--grayscale-100));
  font-weight:var(--fw-regular);line-height:1.4;justify-content:center;
}
#container .chp-talkles .talk-select-word > svg{flex-shrink:0}
[data-mode="pc"] #container .chp-talkles .talk-select-word{height:44px;padding:0 20px;gap:4px;font-size:16px;margin-left:16px}
[data-mode="pc"] #container .chp-talkles .talk-select-word > svg{width:16px;height:16px}
[data-mode="tablet"] #container .chp-talkles .talk-select-word{
  height:min(calc(100vw * 58 / 1400), 58px);padding:0 min(calc(100vw * 20 / 1400), 20px);
  gap:min(calc(100vw * 4 / 1400), 4px);font-size:clamp(14px, calc(100vw * 20 / 1400), 20px);
  margin-left:min(calc(100vw * 16 / 1400), 16px);
}
[data-mode="tablet"] #container .chp-talkles .talk-select-word > svg{
  width:min(calc(100vw * 20 / 1400), 20px);height:min(calc(100vw * 20 / 1400), 20px);
}
[data-mode="mobile"] #container .chp-talkles .talk-select-word{height:40px;padding:0 14px;gap:4px;font-size:12px;margin-left:12px}
[data-mode="mobile"] #container .chp-talkles .talk-select-word > svg{width:14px;height:14px}


/* ── 16-14-6. 단어 카드 ──────────────────────────────────────────────────
   기준: 시안 `WordCard`(단어 학습 파일). 라이브에서 바뀌는 것 넷:
     카드   320x132 고정 · r16 · **2px #DFE4ED** · padding 24 · 가운데정렬
            → **416(MO 300) · 높이는 내용이 정한다(하한 0) · r24(MO 18) · 1px --grayscale-100 ·
              padding 28 40(MO 20 28) · space-between**
            ⚠ 하한 0 은 시안이 차이홍 구성에만 내린 결정이다 — `상세` 줄이 사라진 뒤 224 가
              126px 내용을 담아 아래 3분의 1이 빈 상자가 됐다. 한 줄의 카드 높이는 stretch 가 맞춘다.
     한자   #13151A 검정 → **--ui-blue**. 시안: "카드에서 눈이 먼저 닿아야 하는 것이 한자이고,
            병음·뜻은 회색이라 색을 가진 것이 하나뿐이다." 빨강으로 두지 않은 이유도 적혀 있다 —
            "한자는 브랜드 표시가 아니라 UI 강조다 … 브랜드는 색이 아니라 마크가 진다."
     자리   라이브는 **스피커와 북마크가 바로 붙어**(`.icons` 한 덩이 · 오른쪽) 둘 중 무엇을
            누를지 한 번 더 가려야 했다 → 시안은 **스피커는 한자 옆(글자 흐름), 북마크는 카드
            오른쪽 끝**이다. `.icons` 를 `display:contents` 로 풀고 북마크만 `margin-left:auto`
            로 밀어 **마크업을 건드리지 않고** 같은 배치를 만든다.
     병음·뜻 둘 다 #13151A 16 → **병음 #9B9B9B · 뜻 --color-black**, 크기 16/24/14 */
#container .chp-talkles .talk-word-slide .swiper-slide{
  width:auto;height:auto;min-height:0;box-sizing:border-box;
  border:1px solid var(--grayscale-100);background:var(--color-white);
  justify-content:space-between;align-items:stretch;gap:0;
}
/* ⚠ `gap` 을 0 으로 둔다 — 스피커의 왼 간격은 시안이 `margin-left` 하나로 낸다
   (`round(chi*0.4) - audPad`). 둘을 함께 두면 간격이 더해져 PC 에서 10 이 18 이 됐다. */
#container .chp-talkles .talk-word-slide .chinese{
  flex:0 0 auto;justify-content:flex-start;align-items:center;
  color:var(--ui-blue);font-weight:var(--fw-regular);line-height:1.4;
}
#container .chp-talkles .talk-word-slide .chinese .icons{display:contents}
#container .chp-talkles .talk-word-slide .chinese > div:first-child{flex:0 0 auto;min-width:0}
#container .chp-talkles .talk-word-slide .chinese audio{display:none}
#container .chp-talkles .talk-word-slide .chinese [id^="scrap_"]{margin-left:auto;flex-shrink:0}
/* 스피커 크기 — **글자의 1.85배**다(시안 `audSize = round(chi * 1.85)`). 근거가 주석에 있다:
   "`size` 는 도형이 아니라 **상자**다 — 이 자산은 도형이 24 상자의 세로 55.7%(y 5.3~18.7)만
   차지하므로, 글자 옆에 둘 때는 글자의 1.85배를 주면 **보이는 획이 글자와 거의 같은 높이**가 된다."
   라이브는 `width="24px"` 한 값으로 박아 두어 한자(24/32/20) 옆에서 항상 작았다.
   왼쪽 간격은 `round(chi * 0.4) - audPad` 이고, Mobile 만 상자가 44 에 못 미쳐(37) 패딩 4 로
   탭 판정을 44 까지 넓히고 같은 값의 음의 마진으로 레이아웃 영향을 지운다(시안과 같은 방식).
   ⚠ 시안은 스피커를 **글자 흐름 안 인라인**으로 둔다(긴 한자가 줄바꿈해도 마지막 글자를 따라가라고).
     우리는 `.chinese` 가 flex 라 형제로 선다 — 한 줄짜리 단어에서는 결과가 같고, 여러 줄로 감기는
     한자에서만 갈린다. 마크업을 바꿔야 하는 자리라 남겨 둔다. */
#container .chp-talkles .talk-word-slide .chinese .audio-controller{flex-shrink:0;align-self:center;box-sizing:content-box}
#container .chp-talkles .talk-word-slide .pinyin{color:var(--phon-gray, #9B9B9B);font-weight:var(--fw-regular);line-height:1.4}
#container .chp-talkles .talk-word-slide .meaning{
  color:var(--color-black);font-weight:var(--fw-regular);line-height:1.4;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
}
[data-mode="pc"] #container .chp-talkles .talk-word-slide .swiper-slide{width:416px;border-radius:16px;padding:28px 40px}
[data-mode="pc"] #container .chp-talkles .talk-word-slide .chinese{gap:0;font-size:24px}
[data-mode="pc"] #container .chp-talkles .talk-word-slide .chinese .audio-controller{width:44px;height:44px;margin-left:10px;}
[data-mode="pc"] #container .chp-talkles .talk-word-slide .chinese [id^="scrap_"]{width:40px;height:40px}
[data-mode="pc"] #container .chp-talkles .talk-word-slide .pinyin{margin-top:2px;font-size:16px}
[data-mode="pc"] #container .chp-talkles .talk-word-slide .meaning{margin-top:6px;font-size:16px}
[data-mode="tablet"] #container .chp-talkles .talk-word-slide .swiper-slide{
  width:min(calc(100vw * 416 / 1400), 416px);border-radius:min(calc(100vw * 16 / 1400), 16px);
  padding:min(calc(100vw * 28 / 1400), 28px) min(calc(100vw * 40 / 1400), 40px);
}
[data-mode="tablet"] #container .chp-talkles .talk-word-slide .chinese{
  gap:0;font-size:clamp(22.4px, calc(100vw * 32 / 1400), 32px);
}
[data-mode="tablet"] #container .chp-talkles .talk-word-slide .chinese .audio-controller{width:min(calc(100vw * 59 / 1400), 59px);height:min(calc(100vw * 59 / 1400), 59px);margin-left:min(calc(100vw * 13 / 1400), 13px);}
[data-mode="tablet"] #container .chp-talkles .talk-word-slide .chinese [id^="scrap_"]{
  width:min(calc(100vw * 48 / 1400), 48px);height:min(calc(100vw * 48 / 1400), 48px);
}
[data-mode="tablet"] #container .chp-talkles .talk-word-slide .pinyin{margin-top:2px;font-size:clamp(16.8px, calc(100vw * 24 / 1400), 24px)}
[data-mode="tablet"] #container .chp-talkles .talk-word-slide .meaning{margin-top:6px;font-size:clamp(16.8px, calc(100vw * 24 / 1400), 24px)}
[data-mode="mobile"] #container .chp-talkles .talk-word-slide .swiper-slide{width:300px;border-radius:12px;padding:20px 28px}
[data-mode="mobile"] #container .chp-talkles .talk-word-slide .chinese{gap:0;font-size:20px}
[data-mode="mobile"] #container .chp-talkles .talk-word-slide .chinese .audio-controller{width:37px;height:37px;margin-left:4px;padding:4px;margin-top:-4px;margin-bottom:-4px;}
[data-mode="mobile"] #container .chp-talkles .talk-word-slide .chinese [id^="scrap_"]{width:32px;height:32px}
[data-mode="mobile"] #container .chp-talkles .talk-word-slide .pinyin{margin-top:2px;font-size:14px}
[data-mode="mobile"] #container .chp-talkles .talk-word-slide .meaning{margin-top:6px;font-size:14px}
/* ══ 16-15. 단어장 · 스크랩 — 네 화면 공용 (시안 `_lib/WordRow.jsx`) ══════════
   화면 넷이 이 절을 나눠 쓴다:
     차이홍(톡톡)  `classMain/lessonNewWordMain`(+`ajax/lessonNewWordList`) ·
                   `scrap/scrapNewMain`(+`ajax/scrapNewWordList`)
     유패스        `classMain/lessonWordMain`(+`ajax/lessonWordList`) ·
                   `scrap/scrapMain`(+`ajax/wordList`)      ← 다른 값은 16-15-4절
   기준: 전달본 `prototypes/lesson-word` 의 **공용 부품** `_lib/WordRow.jsx`.
   시안도 부품 하나를 네 자리에서 부른다(오너 확정 2026.09.10 — "안의 컨텐츠가 모두
   동일하다면 맞추는 게 맞다"). 그래서 선택자도 화면이 아니라 **행 클래스**로 잡는다:
   `.chp-wordgrid` · `.chp-wordcell` … 는 이 네 목록에만 있다.

   ⚠ **부품이 브랜드로 갈린다.** 처음에 톡톡에 유패스용 `WordTable` 을 붙였다가 되돌린 자리다:
       {ch ? <ChRows/> : bp==='mo' ? <WordList/> : <WordTable/>}
     `WordTable`(유패스)은 단어 블록 + 북마크 + **[상세]** 의 2열 표이고 예문이 없다.
     **차이홍(톡톡)은 `ChRows`** 다 — 예문 블록이 붙고 상세 버튼이 없다.
     ⚠ 브랜드를 화면 클래스로 가르지 말 것 — 근거는 16-15-4절 위 주석.

   ChRows 의 한 항목은 **격자**다(시안 주석):
     ┌ 단어 블록(1열) ──────────┬ 북마크(2열·세로 중앙) ┐
     └ 예문 블록(1열만) ────────┴──────────────────────┘
     "북마크는 **단어 블록의 세로 중앙**이다 — 저장하는 대상이 단어이고, 예문 길이가 줄마다
      달라져도 자리가 흔들리지 않는다. 행 전체의 중앙에 두면 예문이 두 줄인 항목과 세 줄인
      항목이 섞일 때 북마크가 위아래로 춤춘다."

   라이브에서 바뀌는 것:
     ① 1열 `<table>` → **2열 격자**(PC·Tablet. 오너 확정 2026.09.13). 모바일은 1열 그대로다 —
        "335 트랙에 두 칸은 들어가지 않는다."
     ② 껍데기 — 블록 하나가 감싼다(1px --grayscale-100 + --radius-block + overflow:hidden).
        **모바일에는 감싸는 블록을 두지 않는다**(오너 지적 2026.09.10 — "모바일에서 박스는 아닌듯") —
        위선 하나 + 줄 사이 선뿐이다. "좁은 화면에서는 테두리가 정보를 밀어낸다."
     ③ 단어 블록은 **흰 면**, 예문 블록만 **--bg-gray 틴트 + radius 8**.
        "면을 가진 쪽이 주(主)다 … 가 아니라 반대다: --bg-gray 가 탁해서 단어에 깔면 주가
         가라앉는다. 유패스 단어장에는 회색 톤이 전혀 없다 — 깔끔한 쪽이 메인 단어다.
         그리고 **면이 발음 버튼을 그 글줄에 묶는다**."
     ④ 발음 버튼이 **두 자리에서 다르다** — 단어는 글자 옆 **인라인**(글자의 1.85배),
        예문은 면 **오른쪽 끝**(글자의 1.5배). "단어 쪽은 흰 면이라 묶어 주는 것이 없고 PC 1400
        트랙에서 한자와 오른쪽 끝 버튼 사이가 멀어 어느 쪽의 버튼인지 흐렸다."
     ⑤ 북마크가 **왼쪽 첫 칸 → 오른쪽**(오너 확정 2026.09.10). "북마크는 행을 고르는 체크박스가
        아니라 **읽은 뒤의 저장**이다 — 일괄 작업이 따라오지 않으므로 오른쪽이다."
     ⑥ 한자 `400 #13151A` → **`700` --ui-blue** · 병음·뜻 → **#9B9B9B**(라이브 `-fgry` 값 그대로)
     ⑦ 예문 병음은 **`700`** 이다(시안 `ChRows` — 한자·뜻과 달리 이 줄만 굵다)

   치수(PC / Tablet / Mobile) — `WR_SZ` 에서 온다:
     fs 16/24/14 · chi 24/32/20 · cellPy 32/42/20 · cellPx 24/32/0 · chPad 24/32/14
     scrap 40/48/32 · 위 여백 16/20/16
     항목 패딩 `round(cellPy*0.6)` = 19/25/12, 좌우 cellPx = 24/32/0
     패널 패딩 `round(cellPy*0.5)` = 16/21/10, 좌우 chPad = 24/32/14
     단어 스피커 `round(chi*1.85)` = 44/59/37 · 예문 스피커 `round(chi*1.5)` = 36/48/30
     예문 라벨 `max(12, round(fs*0.85))` = 14/20/12 */
#container .chp-wordgrid{
  display:grid;grid-template-columns:repeat(2, minmax(0, 1fr));
  border:1px solid var(--grayscale-100);
  border-radius:calc(var(--radius-block, 16) * 1px);
  overflow:hidden;background:var(--color-white);
}
/* 한 항목 = 격자. 단어(1열) · 북마크(2열) · 예문(1열, 둘째 행) */
#container .chp-wordcell{
  box-sizing:border-box;min-width:0;
  display:grid;grid-template-columns:1fr auto;row-gap:8px;align-content:start;
  border-bottom:1px solid var(--grayscale-100);
  border-right:1px solid var(--grayscale-100);
}
#container .chp-wordcell:nth-child(2n),
#container .chp-wordcell:last-child{border-right:0}
#container .chp-wordcell:last-child,
#container .chp-wordcell:nth-last-child(2):nth-child(odd){border-bottom:0}
/* 패널 — 단어는 면이 없고 예문만 틴트다 */
#container .chp-wordpanel{grid-column:1;display:flex;align-items:center;min-width:0}
#container .chp-wordblock{flex:1 1 auto;min-width:0}
#container .chp-wordscrap{
  grid-column:2;grid-row:1;align-self:center;
  display:inline-flex;align-items:center;justify-content:center;box-sizing:content-box;flex-shrink:0;
}
#container .chp-wordscrap img{display:block;cursor:pointer}
/* 한자 — 이 줄에서 색을 가진 것은 이것 하나다. 스피커는 글자 흐름 안 인라인이다. */
#container .chp-wordblock .word-chinese{
  display:block;margin:0;color:var(--ui-blue);font-weight:var(--fw-bold);line-height:1.35;
}
#container .chp-wordblock .word-pinyin,
#container .chp-wordblock .word-korean{
  display:block;margin:0;color:#9B9B9B;font-weight:var(--fw-regular);line-height:1.5;
}
#container .chp-wordblock .word-pinyin{margin-top:2px}
#container .chp-wordblock .audio-controller{
  box-sizing:content-box;vertical-align:middle;position:relative;cursor:pointer;
}
#container .chp-wordblock audio{display:none}
/* 예문 — 틴트 면 + 라운드 8. 라벨은 면 없이 회색 글자만, 스피커는 면 오른쪽 끝. */
#container .chp-wordcell .sentence,
#container .chp-wordcell .sentence-mobile{
  grid-column:1;width:auto;
  display:flex;align-items:flex-start;
  background:var(--bg-gray);border-radius:8px;
}
#container .chp-wordcell .sentence-icon{
  flex-shrink:0;color:var(--ui-gray-666);font-weight:var(--fw-medium);line-height:1.5;
}
#container .chp-wordcell .sentence-word{flex:1 1 auto;min-width:0}
#container .chp-wordcell .sentence-word .word-chinese{
  display:block;margin:0;color:var(--color-black);font-weight:var(--fw-regular);line-height:1.5;
}
#container .chp-wordcell .sentence-word .word-pinyin{
  display:block;margin:0;color:var(--color-black);font-weight:var(--fw-bold);line-height:1.5;
}
#container .chp-wordcell .sentence-word .word-korean{
  display:block;margin:0;color:#9B9B9B;font-weight:var(--fw-regular);line-height:1.5;
}
#container .chp-wordcell .sentence-sound{flex-shrink:0;align-self:center;margin-left:auto}
#container .chp-wordcell .sentence-sound .audio-controller{cursor:pointer}
#container .chp-wordcell .sentence-sound audio{display:none}
/* 모바일 래퍼 한 겹 더(.sentence-wrapper)는 풀어 같은 격자로 만든다 */
#container .chp-wordcell .sentence-wrapper{display:contents}

/* 레슨명 caption — **목록에 레슨이 둘 이상 섞여 있을 때만** 붙는 것이 시안 규칙이지만,
   스크랩은 여러 레슨이 섞이는 것이 정상 상태인 목록이라(시안: "어느 레슨의 단어인지 행이
   말해야 한다") 늘 붙인다. 급은 `예문` 라벨과 같은 회색 caption 이다. */
#container .chp-wordlesson{
  display:block;color:var(--ui-gray-666);font-weight:var(--fw-medium);line-height:1.4;margin-bottom:4px;
}

/* ── 스크랩 액션 줄 — 왼쪽 레슨 필터 · 오른쪽 [단어장 >] ─────────────────
   라이브는 좌우가 반대이고 버튼이 **빨강 채움**이라 화면에서 가장 강했다. 시안이 둘 다 뒤집었다:
   자리는 "읽는 순서의 시작이 범위"라서, 페인트는 "두 묶음을 오가는 **이동**이고 이 화면의 주
   액션이 아니라서"다. 꺾쇠는 **뒤**(iconEnd)다 — 떠나는 이동이라 방향이 오른쪽이고, 같은
   화면의 `전체 보기` 도 이미 그렇다. */
#container .chp-scrap .chp-scrap__act{justify-content:space-between;align-items:center}
#container .chp-scrap .word-btn{
  box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;
  border:0;border-radius:calc(var(--radius-btn) * 1px);
  background:var(--color-white);color:var(--ui-gray-333);
  box-shadow:inset 0 0 0 1px var(--line-block, var(--grayscale-100));
  font-weight:var(--fw-regular);line-height:1.4;white-space:nowrap;
}
#container .chp-scrap .word-btn:after{
  content:"";display:block;flex-shrink:0;background:currentColor;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='8.43457 5.43457 7.69723 13.13086'%3E%3Cpath d='M16.1318 12L9.56543 18.5654L8.43457 17.4346L13.8691 12L8.43457 6.56543L9.56543 5.43457L16.1318 12Z' fill='black'/%3E%3C/svg%3E") no-repeat center / contain;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='8.43457 5.43457 7.69723 13.13086'%3E%3Cpath d='M16.1318 12L9.56543 18.5654L8.43457 17.4346L13.8691 12L8.43457 6.56543L9.56543 5.43457L16.1318 12Z' fill='black'/%3E%3C/svg%3E") no-repeat center / contain;
}
[data-mode="pc"] #container .chp-scrap .chp-scrap__act{margin-top:40px;gap:16px}
[data-mode="pc"] #container .chp-scrap .word-btn{height:44px;padding:0 20px;gap:4px;font-size:16px}
[data-mode="pc"] #container .chp-scrap .word-btn:after{width:6.5px;height:11px}
[data-mode="pc"] #container .chp-scrap .sel-type{width:200px}
[data-mode="pc"] #container .chp-wordlesson{font-size:14px}
[data-mode="tablet"] #container .chp-scrap .chp-scrap__act{margin-top:min(calc(100vw * 40 / 1400), 40px);gap:min(calc(100vw * 16 / 1400), 16px)}
[data-mode="tablet"] #container .chp-scrap .word-btn{
  height:min(calc(100vw * 58 / 1400), 58px);padding:0 min(calc(100vw * 20 / 1400), 20px);
  gap:min(calc(100vw * 4 / 1400), 4px);font-size:clamp(14px, calc(100vw * 20 / 1400), 20px);
}
[data-mode="tablet"] #container .chp-scrap .word-btn:after{
  width:min(calc(100vw * 8 / 1400), 8px);height:min(calc(100vw * 13.7 / 1400), 13.7px);
}
[data-mode="tablet"] #container .chp-scrap .sel-type{width:min(calc(100vw * 260 / 1400), 260px)}
[data-mode="tablet"] #container .chp-wordlesson{font-size:clamp(14px, calc(100vw * 20 / 1400), 20px)}
[data-mode="mobile"] #container .chp-scrap .chp-scrap__act{margin-top:24px;gap:12px}
[data-mode="mobile"] #container .chp-scrap .word-btn{height:40px;padding:0 14px;gap:4px;font-size:12px}
[data-mode="mobile"] #container .chp-scrap .word-btn:after{width:5.5px;height:9.4px}
[data-mode="mobile"] #container .chp-scrap .sel-type{width:140px}
[data-mode="mobile"] #container .chp-wordlesson{font-size:12px}

/* ── 0건 — 시안 `Empty` ────────────────────────────────────────────────
   "그릇은 목록이 있을 때와 같아야 한다": 같은 블록(1px --grayscale-100 + --radius-block +
   overflow:hidden) 안에 흰 면 하나를 두고 문장을 가운데로 둔다. 라이브는 `.no-data01`
   (게시판 머리선 위 2px 네이비 + 아래 1px #CCC + 느낌표 원)이라 목록과 다른 그릇이었다.
   ⚠ 모바일은 목록 쪽에 감싸는 블록이 없지만(16-15-3) **0건에는 둔다** — 빈 화면에 선 하나만
     그으면 무엇이 비었는지 자리가 말하지 않는다. 학습 공간 0건(16-12)과 같은 판단이다. */
#container .chp-wordempty{
  display:block;min-height:0;
  border:1px solid var(--grayscale-100);
  border-radius:calc(var(--radius-block, 16) * 1px);
  background:var(--color-white);
  text-align:center;color:var(--ui-gray-666);
  font-weight:var(--fw-regular);line-height:1.6;
}
#container .chp-wordempty > .ic-wrn{display:none}
#container .chp-wordempty > p{margin:0}
[data-mode="pc"] #container .chp-wordempty{margin-top:16px;padding:80px 24px;font-size:16px}
[data-mode="tablet"] #container .chp-wordempty{
  margin-top:min(calc(100vw * 20 / 1400), 20px);
  padding:min(calc(100vw * 80 / 1400), 80px) min(calc(100vw * 24 / 1400), 24px);
  font-size:clamp(16.8px, calc(100vw * 24 / 1400), 24px);
}
[data-mode="mobile"] #container .chp-wordempty{margin-top:16px;padding:48px 20px;font-size:14px}

/* [상세] — 시안 `DetailBtn` = DS `Button(type=outline · size=small)`.
   "size 는 **행 액션**이므로 small"(CLAUDE.md 버튼 자리 배정). 라이브는 완전 원형 아웃라인
   필 102x50 이었다. 유패스에만 있다 — 차이홍은 예문·발음이 그 자리를 진다. */
#container .chp-worddetail{
  grid-column:3;grid-row:1;align-self:center;flex-shrink:0;text-decoration:none;
}
/* 유패스는 칸의 열이 셋이다(단어 · 북마크 · 상세) — `.chp-wordgrid--upass` 로 가른다.
   ⚠ 브랜드를 **화면 클래스로 가르지 말 것**. 처음에 `.chp-word` 로 갈랐는데 차이홍 단어장
     (`lessonNewWordMain`)도 같은 `.chp-word` 를 들고 있어 예문 칸이 셋째 열로 밀려났다.
     가르는 것은 화면이 아니라 부품이다(시안도 `ChRows` / `WordTable` 로 갈린다). */
#container .chp-wordgrid--upass .chp-wordcell{grid-template-columns:1fr auto auto}

/* ── 16-15-1. PC ───────────────────────────────────────────────────────── */
[data-mode="pc"] #container .chp-wordgrid{margin-top:16px}
[data-mode="pc"] #container .chp-wordcell{padding:19px 24px;column-gap:24px}
[data-mode="pc"] #container .chp-wordpanel{padding:16px 24px;gap:24px}
[data-mode="pc"] #container .chp-wordblock .word-chinese{font-size:24px}
[data-mode="pc"] #container .chp-wordblock .word-pinyin,
[data-mode="pc"] #container .chp-wordblock .word-korean{font-size:16px}
[data-mode="pc"] #container .chp-wordblock .audio-controller{width:44px;height:44px;margin-left:10px;top:-2px}
[data-mode="pc"] #container .chp-wordscrap img{width:40px;height:40px}
[data-mode="pc"] #container .chp-wordcell .sentence,
[data-mode="pc"] #container .chp-wordcell .sentence-mobile{padding:16px 24px;gap:24px}
[data-mode="pc"] #container .chp-wordcell .sentence-icon{font-size:14px}
[data-mode="pc"] #container .chp-wordcell .sentence-word > *{font-size:16px}
[data-mode="pc"] #container .chp-wordcell .sentence-sound .audio-controller{width:36px;height:36px}

/* ── 16-15-2. Tablet ──────────────────────────────────────────────────── */
[data-mode="tablet"] #container .chp-wordgrid{margin-top:min(calc(100vw * 20 / 1400), 20px)}
[data-mode="tablet"] #container .chp-wordcell{
  padding:min(calc(100vw * 25 / 1400), 25px) min(calc(100vw * 32 / 1400), 32px);
  column-gap:min(calc(100vw * 32 / 1400), 32px);
}
[data-mode="tablet"] #container .chp-wordpanel{
  padding:min(calc(100vw * 21 / 1400), 21px) min(calc(100vw * 32 / 1400), 32px);
  gap:min(calc(100vw * 32 / 1400), 32px);
}
[data-mode="tablet"] #container .chp-wordblock .word-chinese{font-size:clamp(22.4px, calc(100vw * 32 / 1400), 32px)}
[data-mode="tablet"] #container .chp-wordblock .word-pinyin,
[data-mode="tablet"] #container .chp-wordblock .word-korean{font-size:clamp(16.8px, calc(100vw * 24 / 1400), 24px)}
[data-mode="tablet"] #container .chp-wordblock .audio-controller{
  width:min(calc(100vw * 59 / 1400), 59px);height:min(calc(100vw * 59 / 1400), 59px);
  margin-left:min(calc(100vw * 13 / 1400), 13px);top:max(calc(100vw * -2 / 1400), -2px);
}
[data-mode="tablet"] #container .chp-wordscrap img{
  width:min(calc(100vw * 48 / 1400), 48px);height:min(calc(100vw * 48 / 1400), 48px);
}
[data-mode="tablet"] #container .chp-wordcell .sentence,
[data-mode="tablet"] #container .chp-wordcell .sentence-mobile{
  padding:min(calc(100vw * 21 / 1400), 21px) min(calc(100vw * 32 / 1400), 32px);
  gap:min(calc(100vw * 32 / 1400), 32px);
}
[data-mode="tablet"] #container .chp-wordcell .sentence-icon{font-size:clamp(14px, calc(100vw * 20 / 1400), 20px)}
[data-mode="tablet"] #container .chp-wordcell .sentence-word > *{font-size:clamp(16.8px, calc(100vw * 24 / 1400), 24px)}
[data-mode="tablet"] #container .chp-wordcell .sentence-sound .audio-controller{
  width:min(calc(100vw * 48 / 1400), 48px);height:min(calc(100vw * 48 / 1400), 48px);
}

/* ── 16-15-3. Mobile — 1열 · 감싸는 블록 없음 ─────────────────────────── */
[data-mode="mobile"] #container .chp-wordgrid{
  grid-template-columns:1fr;margin-top:16px;
  border:0;border-top:1px solid var(--grayscale-100);border-radius:0;overflow:visible;
}
[data-mode="mobile"] #container .chp-wordcell{padding:12px 0;column-gap:14px;border-right:0}
/* ⚠ 위 3803 행의 `:nth-last-child(2):nth-child(odd){border-bottom:0}` 은 **2열 전용**이다 —
   2열에서 마지막 줄(칸 둘)의 앞칸을 짚는 선택자인데, 1열인 모바일에서는 그냥 **끝에서 둘째 줄**
   이라 줄 사이 선이 하나 사라진다(항목이 둘이면 선이 아예 없다 · 오너 지적 2026.09.30).
   모바일에서 선이 없는 줄은 `:last-child` 하나뿐이므로 여기서 되돌린다. */
[data-mode="mobile"] #container .chp-wordcell:nth-last-child(2):nth-child(odd){
  border-bottom:1px solid var(--grayscale-100);
}
[data-mode="mobile"] #container .chp-wordcell:last-child{border-bottom:0}
[data-mode="mobile"] #container .chp-wordpanel{padding:10px 14px;gap:14px}
[data-mode="mobile"] #container .chp-wordblock .word-chinese{font-size:20px}
[data-mode="mobile"] #container .chp-wordblock .word-pinyin,
[data-mode="mobile"] #container .chp-wordblock .word-korean{font-size:14px}
[data-mode="mobile"] #container .chp-wordblock .audio-controller{
  width:37px;height:37px;padding:4px;margin:-4px 0 -4px 4px;top:-1px;
}
/* 탭 판정을 44 로 넓히는 음수 마진은 **오른쪽만 0** 이다 — 사방에 주면 줄이 6px 넘친다. */
[data-mode="mobile"] #container .chp-wordscrap{padding:6px;margin:-6px 0 -6px -6px}
[data-mode="mobile"] #container .chp-wordscrap img{width:32px;height:32px}
[data-mode="mobile"] #container .chp-wordcell .sentence,
[data-mode="mobile"] #container .chp-wordcell .sentence-mobile{padding:10px 14px;gap:14px}
[data-mode="mobile"] #container .chp-wordcell .sentence-icon{font-size:12px}
[data-mode="mobile"] #container .chp-wordcell .sentence-word > *{font-size:14px}
[data-mode="mobile"] #container .chp-wordcell .sentence-sound .audio-controller{width:30px;height:30px}

/* ── 16-15-4. 유패스 `WordTable` — 단어 · 북마크 · [상세] ───────────────
   화면: `classMain/lessonWordMain`(+`ajax/lessonWordList`) · `scrap/scrapMain`(+`ajax/wordList`).
   같은 부품 파일의 다른 함수다:  {ch ? <ChRows/> : bp==='mo' ? <WordList/> : <WordTable/>}
   단어 블록(3줄)은 차이홍과 **한 벌**이다(오너 지시 2026.09.13 — "차이홍이랑 같은 방식으로
   하는게, 읽는 사람도 헷갈리지 않을 것 같아"). 그전까지 유패스는 `한자 병음 뜻` 을 한 줄에
   늘어놓아 셋이 대등한 값처럼 읽혔다. 이제 다른 것은 둘뿐이다:
     ① **예문·발음이 없다** — 유패스에 그 데이터가 없다(시안: "브랜드로 가르지 않고 부르는
        쪽이 정한다"). 그래서 칸에 **틴트 패널을 두지 않는다** — 묶어 줄 것이 없다.
     ② **북마크 다음에 [상세]** 가 붙는다 — 단어 상세가 iframe 팝업이라 갈 곳이 있다.
   안쪽 여백은 차이홍과 같은 값이다(시안: "안쪽 여백도 차이홍과 같게 맞췄다"). 다만 차이홍은
   칸(`cellPy*0.6`)과 패널(`cellPy*0.5`)에 두 겹으로 나뉘어 있는 것을, 패널이 없는 이쪽은
   **칸 하나에 더해서** 준다:
     세로 19+16=35 / 25+21=46 · 가로 24+24=48 / 32+32=64 · 칸 안 간격 24 / 32
   모바일은 `WordList` 다 — 위선 하나 + 줄 사이 선, 좌우 여백 0. 칸 패딩이 `cellPy`(20) 통째로라
   차이홍 모바일(12)보다 넉넉한데, 예문 블록이 없어 한 항목이 그만큼 낮기 때문이다. */
[data-mode="pc"] #container .chp-wordgrid--upass .chp-wordcell{padding:35px 48px;column-gap:24px}
[data-mode="tablet"] #container .chp-wordgrid--upass .chp-wordcell{
  padding:min(calc(100vw * 46 / 1400), 46px) min(calc(100vw * 64 / 1400), 64px);
  column-gap:min(calc(100vw * 32 / 1400), 32px);
}
[data-mode="mobile"] #container .chp-wordgrid--upass .chp-wordcell{padding:20px 0;column-gap:12px}
/* 북마크의 탭 판정 음수 마진 — 차이홍은 오른쪽만 0 이지만(칸의 마지막이라 줄이 넘친다)
   유패스는 뒤에 [상세] 가 서므로 **되살린다**. 그러지 않으면 6px 패딩이 그대로 사이 간격에
   더해져 북마크↔상세가 12 가 아니라 18 이 된다. */
[data-mode="mobile"] #container .chp-wordgrid--upass .chp-wordscrap{margin-right:-6px}

/* ══ 17. 학습활동 탭 (myClass/community/communityMain) ══════════════════════
   기준: prototypes/classroom-space `ActivityPanel`. 시안 자체가 **운영 화면 캡처를 옮긴 것**
   이라(오너 첨부 2026.09.01) 골격은 라이브와 같고 값만 다르다. 캡처 실측값:
     분류 라벨 18 · 점 8 · 고른 줄만 --mlc 700 · 나머지 #222 400 · 점 #CCC
     피드 머리 [최신 피드][인기 피드] 18(고른 줄 700 + 2px #222 밑줄) · [글쓰기] 아웃라인 pill
     피드 칸 위아래 1px — 라이브 #DDD 를 **--grayscale-100 으로 옮겼다**(오너 확인 2026.09.11):
       "이 화면의 다른 1px 선이 전부 그 값인데 이 탭만 라이브 값으로 하드코딩돼 남아 있었다."
   ⚠ 2026.09.11 전달본까지는 **게시글이 있는 상태가 시안에 없어**("캡처가 없어 지어내지
     않았다") 피드 행(.box-reply)을 손대지 않았다. 2026.09.15 에 오너가 Tablet 캡처를 보내
     확정됐고 **17-1 절이 그 자리를 채운다.** 이 절이 그리는 것은 분류 열 · 피드 머리다.
   ⚠ 분류 목록은 라이브가 `.cmu-menu.box-` 로 **패딩 60/40 의 상자**에 담아 뒀다. 시안은
     상자 없이 370 열 + 위 12 뿐이다 — 상자를 두면 첫 줄이 옆 칸 [최신 피드]보다 48 내려간다. */
[data-mode="pc"] #container .chp-actv .cmu-main,
[data-mode="tablet"] #container .chp-actv .cmu-main{align-items:flex-start}
[data-mode="pc"] #container .chp-actv .cmu-main{margin-top:60px;gap:40px}
[data-mode="tablet"] #container .chp-actv .cmu-main{
  margin-top:min(calc(100vw * 60 / 1400), 60px);gap:min(calc(100vw * 40 / 1400), 40px);
}
[data-mode="mobile"] #container .chp-actv .cmu-main{margin-top:20px;gap:20px}

/* 분류 열 */
[data-mode="pc"] #container .chp-actv .cmu-menu{flex:0 0 370px;min-height:0;padding:12px 0 0}
[data-mode="tablet"] #container .chp-actv .cmu-menu{
  flex:0 0 min(calc(100vw * 370 / 1400), 370px);min-height:0;
  padding:min(calc(100vw * 12 / 1400), 12px) 0 0;
}
[data-mode="mobile"] #container .chp-actv .cmu-menu{flex:0 0 auto;min-height:0;padding:0}
.chp-actv .cmu-menu ul{display:flex;flex-direction:column;margin:0}
.chp-actv .cmu-menu ul > li{margin:0}
.chp-actv .cmu-menu ul > li + li{margin-top:0}
.chp-actv .cmu-menu ul > li > a{
  display:flex;align-items:center;min-height:44px;
  padding:0;text-indent:0;
  color:var(--color-black);font-weight:var(--fw-regular);line-height:1.4;
}
.chp-actv .cmu-menu ul > li.active > a{color:var(--mlc);font-weight:var(--fw-bold)}
/* 점 — 시안은 고른 줄도 **8** 이다(라이브는 12로 키웠다). 켜짐은 색으로만 말한다. */
.chp-actv .cmu-menu ul > li > a:before{
  width:8px;height:8px;margin:0;flex-shrink:0;background:var(--moc03, #CCC);
}
.chp-actv .cmu-menu ul > li.active > a:before{width:8px;height:8px;background:var(--mlc)}
[data-mode="pc"] #container .chp-actv .cmu-menu ul{gap:22px}
[data-mode="pc"] #container .chp-actv .cmu-menu ul > li > a{gap:20px;font-size:18px}
[data-mode="tablet"] #container .chp-actv .cmu-menu ul{gap:min(calc(100vw * 22 / 1400), 22px)}
[data-mode="tablet"] #container .chp-actv .cmu-menu ul > li > a{
  gap:min(calc(100vw * 20 / 1400), 20px);font-size:clamp(12.6px, calc(100vw * 18 / 1400), 18px);
}
/* 모바일은 두 칸을 나란히 둘 폭이 없어 **같은 모양 그대로 가로로 눕혀 감는다**(시안 ④안,
   오너 제안 2026.09.01). 칩이 아니라 불릿+글자 그대로라 원본에서 바뀐 것은 자리 배치뿐이다.
   경계가 안 보이므로 누를 폭은 gap 이 아니라 **항목 안쪽 여백**(0 12)이 만든다 —
   보이는 간격은 24, 판정은 폭 전체 × 44 다. ul 의 -12 는 첫 불릿을 본문 왼선에 되돌린다. */
[data-mode="mobile"] #container .chp-actv .cmu-menu ul{flex-direction:row;flex-wrap:wrap;margin:0 -12px}
[data-mode="mobile"] #container .chp-actv .cmu-menu ul > li > a{gap:8px;padding:0 12px;font-size:14px;white-space:nowrap}

/* 피드 머리 — 오른쪽 정렬. [글쓰기]의 글자 중심을 옆 [최신 피드]와 맞춘다:
   그쪽은 아래 padding 6 + 밑줄 2 를 업어 상자 중심이 글자 중심보다 4 아래라,
   이 버튼에 margin-bottom 8 을 줘야 둘의 글자 중심이 같은 자리에 온다(시안 주석). */
[data-mode="pc"] #container .chp-actv .cmu-feedhead{gap:28px}
[data-mode="tablet"] #container .chp-actv .cmu-feedhead{gap:min(calc(100vw * 28 / 1400), 28px)}
[data-mode="mobile"] #container .chp-actv .cmu-feedhead{gap:16px}
.chp-actv .tab-menu0301{gap:inherit}
.chp-actv .tab-menu0301 > li > a{
  display:flex;align-items:center;min-height:44px;padding:0 0 6px;
  border-bottom:2px solid transparent;
  color:var(--moc03, #CCC);font-weight:var(--fw-regular);line-height:1.4;
}
.chp-actv .tab-menu0301 > li.active > a{color:var(--color-black);font-weight:var(--fw-bold);border-bottom-color:var(--color-black)}
[data-mode="pc"] #container .chp-actv .tab-menu0301 > li > a{font-size:18px}
[data-mode="tablet"] #container .chp-actv .tab-menu0301 > li > a{font-size:clamp(12.6px, calc(100vw * 18 / 1400), 18px)}
[data-mode="mobile"] #container .chp-actv .tab-menu0301 > li > a{font-size:14px}

/* [글쓰기] — **DS Button(size=medium · type=outlineBlue)** 이다. 마크업이 `.chp-btn
   .chp-btn--outline-blue` 를 들므로 모양·크기·페인트는 전부 chp-components 가 준다
   (높이 PC 44 · TA 58 · MO 40 · 라운드 6/6/4 · 흰 면 + 파란 테두리·라벨).
   한때 여기서 알약(1px --mlc · radius 999 · 38/34)을 손으로 그렸는데, 2026.09.15 에
   오너가 "DS 코드 버튼으로 바꿔야 하지 않을까?" 라고 짚었다 — 이 버튼이 여는 글쓰기 폼 안이
   이미 DS 버튼 넷이라 **같은 묶음 안에서 한 개만 다른 부품**이었다.
   여기 남는 것은 자리뿐이다: 왼쪽 12(MO 4) + 아래 8. 그 8 은 옆 [최신 피드]가 아래 padding 6 +
   밑줄 2 를 업어 상자 중심이 글자 중심보다 4 아래라, 둘의 글자 중심을 같은 자리에 세운다. */
#container .chp-actv .cmu-feedhead > .chp-btn{flex-shrink:0}
[data-mode="pc"] #container .chp-actv .cmu-feedhead > .chp-btn{margin:0 0 8px 12px}
[data-mode="tablet"] #container .chp-actv .cmu-feedhead > .chp-btn{
  margin:0 0 min(calc(100vw * 8 / 1400), 8px) min(calc(100vw * 12 / 1400), 12px);
}
[data-mode="mobile"] #container .chp-actv .cmu-feedhead > .chp-btn{margin:0 0 8px 4px}

/* 0건 — **카드와 같은 상자다**(2026.09.15 전달본에서 바뀌었다). 종전 전달본은 위아래 1px
   선만 두었고 이 절도 그렇게 따라갔는데, 새 전달본이 피드 카드(1px --grayscale-100 ·
   라운드 16)와 같은 상자로 바꿨다: "목록이 찰 때와 빌 때 **상자의 모양이 같아야** 그 칸이
   같은 칸으로 읽힌다 — 카드가 서면 카드의 테두리가 그 일을 하고, 선이 남으면 카드 위아래에
   쓰이지 않는 줄 둘이 생긴다." 16-12 의 기본 상자를 그대로 쓰고 라운드만 카드 값으로 맞춘다.
   라이브의 파란 원 + `!` 는 걷은 그대로다(16-12 가 .ic-wrn 을 숨긴다). */
[data-mode="pc"] #container .chp-space .chp-empty--feed{padding:80px 20px;border-radius:16px}
[data-mode="tablet"] #container .chp-space .chp-empty--feed{
  padding:min(calc(100vw * 80 / 1400), 80px) min(calc(100vw * 20 / 1400), 20px);
  border-radius:min(calc(100vw * 16 / 1400), 16px);
}
[data-mode="mobile"] #container .chp-space .chp-empty--feed{padding:48px 16px;border-radius:12px}

/* ── 17-1. 피드 카드 (.box-reply) — 2026.09.16 전달본 ─────────────────────────
   기준: prototypes/classroom-space 의 `ActivityTab.jsx` `Post`(치수표 `PSZ`).
   17절을 쓸 때 비워 둔 자리다 — 글이 있는 상태의 캡처가 그때는 없었다.

   라이브(custom.css:1691~ · m.css:1141~/1962~)에서 바뀌는 것 넷:
     그림자 bs-type01      → **없음.** 1px --grayscale-100 테두리 + 라운드 16/16/12
     프로필 이미지 .ic-re  → **걷는다**(오너 지시 2026.09.15 — "회원정보에서 프로필
                             이미지를 뺐다"). 얼굴 자리로 비워 둔 왼 여백 64 도 함께 걷혀
                             안쪽 여백이 고르게 선다(PC 28/32 · TA 32/36 · MO 20/16)
     글자 24 고정          → 제목·본문 18/24/14 · meta 16/20/13
     점선 앞뒤 24/16       → 앞 gRule 36/40/24 · 뒤 gMeta 20/22/14

   치수표(PC / Tablet / Mobile):
     안쪽여백 28·32 / 32·36 / 20·16   라운드 16 / 16 / 12
     제목·본문 18 / 24 / 14           meta 16 / 20 / 13
     제목→본문 20 / 24 / 14           본문→점선 36 / 40 / 24   점선→반응 20 / 22 / 14
     카드 사이 24 / 24 / 16           첫 카드 위 20 / 20 / 16
     제목↔수정삭제 16 / 16 / 10       수정↔삭제 12 / 12 / 8    반응 항목 28 / 28 / 16

   ⚠ **.box-reply 는 이 화면만의 것이 아니다** — 상세의 댓글(.type1/.type2) · FAQ ·
     알림(.my-alert)이 같은 클래스를 쓰고 색·여백이 서로 다르다. 그래서 전부 `.chp-actv`
     아래로 한정한다(이 클래스는 communityMain 에만 붙는다).
   ⚠ 시안이 첨부 이미지에 테두리·라운드를 두지만 **적용하지 않았다** — 시안의 그것은 16:10
     자리표(image-slot)이고 우리 것은 비율이 제각각인 실제 첨부다(음성활동 교재 이미지 포함).
   ⚠ 좋아요·신고하기는 시안에서 걷혔다(오너 2026.09.15). 마크업 쪽에서 지웠고 여기서는
     남는 `댓글 N` 만 다룬다 — 그것은 누르는 것이 아니라 **읽는 값**이라 span 이다. */
#container .chp-actv .box-reply{
  box-shadow:none;border:1px solid var(--grayscale-100);background:var(--color-white);
  color:var(--color-black);line-height:1.6;
}
#container .chp-actv .box-reply .ic-re{display:none}
[data-mode="pc"] #container .chp-actv .box-reply{padding:28px 32px;border-radius:16px;font-size:18px}
[data-mode="tablet"] #container .chp-actv .box-reply{
  padding:min(calc(100vw * 32 / 1400), 32px) min(calc(100vw * 36 / 1400), 36px);
  border-radius:min(calc(100vw * 16 / 1400), 16px);
  font-size:clamp(16.8px, calc(100vw * 24 / 1400), 24px);
}
[data-mode="mobile"] #container .chp-actv .box-reply{padding:20px 16px;border-radius:12px;font-size:14px}

/* 카드 사이 — 라이브는 .mt30 유틸이 일괄 30 이었다. 그 유틸은 `!important` 라 여기서 덮을 수
   없어 **마크업에서 걷었다**(.inp-file 의 .mt10 도 같다). 시안은 목록 위 20(MO 16) ·
   사이 24(MO 16) 다. */
#container .chp-actv #communityList .box-reply{margin-top:24px}
#container .chp-actv #communityList .box-reply:first-child{margin-top:20px}
[data-mode="mobile"] #container .chp-actv #communityList .box-reply,
[data-mode="mobile"] #container .chp-actv #communityList .box-reply:first-child{margin-top:16px}

/* 제목 줄 — 링크가 남는 폭을 먹고 [수정 │ 삭제]는 줄지 않는다. 폭이 모자라면 덩이째 다음
   줄로 넘어간다. 모바일은 늘 그렇게 되므로 액션을 **아래 줄 오른쪽 끝**에 세운다 —
   같은 줄에 두면 제목이 169 로 좁혀져 세 줄이 된다(시안 주석).
   ⚠ 시안은 제목이 문자열 하나라 inline-flex 로 충분했지만 우리는 `[분류]` · <span>작성자 ·
     <b>일시 가 따로 서 있다. flex 는 그 사이 **공백만 있는 텍스트 노드를 버리므로** 셋이
     붙어 버린다(`[학습후기]조경조경조경2026-09-15`). column-gap 으로 되살린다 — .25em 은
     Spoqa 의 공백 폭이라 글자 크기를 따라 같이 자란다. */
#container .chp-actv .box-reply .reply-tit{flex-wrap:wrap;align-items:center}
/* 제목 밑줄은 **CSS 가 준다**. 목록 JSP 는 인라인 `style="text-decoration:underline"` 을 달고
   있지만 상세 JSP 에는 없어 상세만 밑줄이 빠졌다(실제 화면 실측 2026-09-30). 시안은 목록·상세
   모두 밑줄 링크다. 댓글(.type1/.type2)은 17-3 이 다시 끈다 — 여는 링크가 아니다. */
#container .chp-actv .box-reply .reply-tit > strong{
  flex:1 1 auto;min-width:0;display:inline-flex;align-items:center;flex-wrap:wrap;column-gap:.25em;text-decoration:underline;
  min-height:44px;font-weight:var(--fw-bold);line-height:1.4;color:var(--color-black);
  text-underline-offset:3px;text-decoration-thickness:1px;
}
#container .chp-actv .box-reply .reply-tit > strong *{color:inherit;font-weight:inherit}
#container .chp-actv .box-reply .reply-mdfy{flex-shrink:0}
#container .chp-actv .box-reply .reply-mdfy > li{display:flex;align-items:center}
#container .chp-actv .box-reply .reply-mdfy button{
  min-height:44px;font-weight:var(--fw-regular);line-height:1.4;
  color:var(--color-black);white-space:nowrap;
}
/* 구분자 — 라이브는 2px 세로 막대(--moc05 #666)다. 시안은 1px --moc03 의 `│` 라 가늘고 옅다.
   li 를 flex 로 세워 막대가 글자 높이 가운데 오게 한다(라이브는 margin-top 6 으로 맞췄다). */
#container .chp-actv .box-reply .reply-tit .reply-mdfy li + li:before{
  width:1px;background:var(--moc03);
}
[data-mode="pc"] #container .chp-actv .box-reply .reply-tit{column-gap:16px}
[data-mode="pc"] #container .chp-actv .box-reply .reply-mdfy button{font-size:16px}
[data-mode="pc"] #container .chp-actv .box-reply .reply-tit .reply-mdfy li + li:before{height:16px;margin:0 12px}
[data-mode="tablet"] #container .chp-actv .box-reply .reply-tit{column-gap:min(calc(100vw * 16 / 1400), 16px)}
[data-mode="tablet"] #container .chp-actv .box-reply .reply-mdfy button{font-size:clamp(14px, calc(100vw * 20 / 1400), 20px)}
[data-mode="tablet"] #container .chp-actv .box-reply .reply-tit .reply-mdfy li + li:before{
  height:clamp(12px, calc(100vw * 20 / 1400), 20px);margin:0 min(calc(100vw * 12 / 1400), 12px);
}
[data-mode="mobile"] #container .chp-actv .box-reply .reply-tit{column-gap:10px}
[data-mode="mobile"] #container .chp-actv .box-reply .reply-mdfy{flex:1 1 100%;justify-content:flex-end}
[data-mode="mobile"] #container .chp-actv .box-reply .reply-mdfy button{font-size:13px}
[data-mode="mobile"] #container .chp-actv .box-reply .reply-tit .reply-mdfy li + li:before{height:13px;margin:0 8px}

/* 본문 — 점선은 카드 안에서 본문과 반응 줄을 가르는 약한 선이라 실선(경계)과 다른 일을 한다.
   색은 라이브 --moc04 #9B9B9B 에서 이 화면의 1px 선 값으로 옮겼다(수정표 29번). */
#container .chp-actv .box-reply .reply-cont{
  border-bottom:1px dashed var(--grayscale-100);color:var(--color-black);line-height:1.6;
}
[data-mode="pc"] #container .chp-actv .box-reply .reply-cont{padding:20px 0 36px;font-size:18px}
[data-mode="tablet"] #container .chp-actv .box-reply .reply-cont{
  padding:min(calc(100vw * 24 / 1400), 24px) 0 min(calc(100vw * 40 / 1400), 40px);
  font-size:clamp(16.8px, calc(100vw * 24 / 1400), 24px);
}
[data-mode="mobile"] #container .chp-actv .box-reply .reply-cont{padding:14px 0 24px;font-size:14px}

/* 반응 줄 — **첨부 파일 이름이 이 줄의 왼쪽이다**(시안 캡처 둘 모두). 따로 줄을 만들지 않고
   누르는 자리이되 밑줄은 쓰지 않는다 — 한 카드에 밑줄 링크가 둘이면 제목이 머리로 서지 않는다.
   숫자만 700 + --ui-blue(= 라이브 --mlc 와 같은 #6070CF)다. */
#container .chp-actv .box-reply .reply-ft{align-items:center;flex-wrap:wrap;color:var(--color-black);line-height:1.4}
#container .chp-actv .box-reply .reply-ft .re-btns{flex-shrink:0;font-weight:var(--fw-regular)}
#container .chp-actv .box-reply .reply-ft .re-cmt{white-space:nowrap}
#container .chp-actv .box-reply .reply-ft em{font-weight:var(--fw-bold);color:var(--ui-blue)}
#container .chp-actv .box-reply .reply-ft .inp-file{margin-top:0}
#container .chp-actv .box-reply .reply-ft .inp-file-lst a{color:var(--color-black);text-decoration:none;word-break:break-all}
[data-mode="pc"] #container .chp-actv .box-reply .reply-ft{margin-top:20px;gap:24px;font-size:16px}
[data-mode="pc"] #container .chp-actv .box-reply .reply-ft .re-btns{gap:28px}
[data-mode="tablet"] #container .chp-actv .box-reply .reply-ft{
  margin-top:min(calc(100vw * 22 / 1400), 22px);gap:min(calc(100vw * 24 / 1400), 24px);
  font-size:clamp(14px, calc(100vw * 20 / 1400), 20px);
}
[data-mode="tablet"] #container .chp-actv .box-reply .reply-ft .re-btns{gap:min(calc(100vw * 28 / 1400), 28px)}
[data-mode="mobile"] #container .chp-actv .box-reply .reply-ft{margin-top:14px;gap:12px;font-size:13px}
[data-mode="mobile"] #container .chp-actv .box-reply .reply-ft .re-btns{gap:16px}

/* ── 17-2. 글쓰기 · 수정 폼 (myClass/community/communitySave) ─────────────
   기준: 시안 `ActivityTab.jsx` 의 `WriteForm`(치수표 `WSZ`) + `AttachButtons`.
   시안에서는 탭 안에서 목록 자리를 이 폼이 받지만 우리는 **별도 URL** 이다 — 그려지는 것은
   같으므로 값만 옮긴다(오가는 방식은 라이브 그대로 `postGoto`).

   치수표 (PC / Tablet / Mobile):
     유형 셀렉트 폭  200 / 240 / 100%      세로 간격(유형→본문→첨부) 20 / 24 / 14
     본문 줄 수      8 / 8 / 6             확정 줄 위 64 / 93 / 40
     확정 버튼 최소폭 205 / 256 / 150      확정 버튼 사이 20 / 24 / 12
     첨부 원 지름    44 / 58 / 44          글리프 24 / 32 / 20      원 사이 12 / 12 / 8

   라이브에서 바뀌는 것 넷:
     `.brd-wrt{border-top:2px solid black}` → **없앤다.** 그 선은 *테두리 없는* 입력 영역의
       시작을 말하던 것이다. 본문이 DS `.chp-textarea`(1px 링 + 라운드)가 되면 상자가 이미
       그 말을 한다 — 둘을 함께 두면 같은 말을 두 번 하고 그중 선이 더 약하고 더 낡다.
     `.brd-cont{border-top:1px solid #ccc; padding:30px}` → 0. 같은 이유다.
     검은 채움 [이미지]·[음성 피드] → **둥근 아이콘 버튼 둘**(오너 지적 2026.09.15 —
       "너무 튀지 않아?"). #333 은 흰 바탕 대비 12.6:1 로 같은 줄 파란 [등록하기](4.9:1)보다
       진해 눈이 먼저 그쪽으로 갔다. 둥근 아이콘은 "도구", 라벨 붙은 사각형은 "결정" 이다.
     확정 버튼 **순서를 뒤집었다** — 아웃라인 [취소] 왼쪽 · 채움 [등록하기] 오른쪽.
       이 프로젝트가 같은 결정을 이미 두 번 내렸다(스크랩 해제 모달 · 결제 푸터).

   ⚠ 유형 셀렉트는 `nice-select` 플러그인이 만든다(`$.fn.slt` 가 `[class*='sel-type']` 를
     전부 집는다). DS 규격은 **18-6 절이 이미 갖고 있어** 그 선택자에 `.chp-write` 를 묶었다.
     여기서는 폭만 덮는다 — 시안 `selW` 가 단어장(260/140)과 다르다.
   ⚠ `.mt40`(brd-wrap) 은 `!important` 라 마크업에서 걷었다. 17-1 의 `.mt30` 과 같다. */
[data-mode="pc"] #container .chp-write .sel-type{width:200px}
[data-mode="tablet"] #container .chp-write .sel-type{width:min(calc(100vw * 240 / 1400), 240px)}
[data-mode="mobile"] #container .chp-write .sel-type{width:100%}
[data-mode="mobile"] #container .chp-write .fx-jcfe{display:block}

/* 본문 — 선 둘을 걷고 DS textarea 하나만 남긴다 */
#container .chp-write .brd-wrt{border-top:0}
#container .chp-write .brd-wrt .brd-cont{border-top:0;padding:0;font-size:inherit;color:inherit}
#container .chp-write .brd-wrt .brd-cont img{display:block;max-width:100%;margin:0 auto}
#container .chp-write .brd-wrt .brd-cont img + .chp-textarea{margin-top:20px}
/* 줄 수는 `rows` 가 아니라 높이로 준다 — 글자 크기가 모드마다 달라 rows 로는 세 값이 안 맞는다.
   DS textarea 는 줄높이 1.6 · 위아래 여백 11 이므로 N줄 = fs * 1.6 * N + 22 다. */
[data-mode="pc"] #container .chp-write .brd-cont .chp-textarea{min-height:calc(16px * 1.6 * 8 + 22px)}
[data-mode="tablet"] #container .chp-write .brd-cont .chp-textarea{
  min-height:calc(clamp(12px, calc(100vw * 20 / 1400), 20px) * 1.6 * 8 + 22px);
}
[data-mode="mobile"] #container .chp-write .brd-cont .chp-textarea{min-height:calc(14px * 1.6 * 6 + 22px)}

/* 세로 간격 — 유형 → 본문 → 첨부 가 같은 값으로 벌어진다(시안 `w.gap`) */
[data-mode="pc"] #container .chp-write .brd-wrap{margin-top:20px}
[data-mode="pc"] #container .chp-write .chp-attach{margin-top:20px}
[data-mode="tablet"] #container .chp-write .brd-wrap,
[data-mode="tablet"] #container .chp-write .chp-attach{margin-top:min(calc(100vw * 24 / 1400), 24px)}
[data-mode="mobile"] #container .chp-write .brd-wrap,
[data-mode="mobile"] #container .chp-write .chp-attach{margin-top:14px}

/* 첨부 — 채워진 흰 원 + DS 글리프. **DS `IconButton` 이 아니다**(그쪽은 바탕이 없는 버튼:
   모달 닫기 · 페이징). 원과 테두리는 이 화면이 들고 글리프만 시안이 준 것을 쓴다.
   원 지름은 같은 줄 확정 버튼(DS medium)의 높이다 — Mobile 만 medium 40 대신 44 를 지킨다
   (라벨 없는 컨트롤은 보이는 상자가 곧 탭 타깃이고 44 가 이 프로젝트의 하한이다). */
.chp-attach{display:flex;align-items:center}
.chp-attach__btn{
  display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;
  padding:0;border-radius:50%;border:1px solid var(--grayscale-100);
  background:var(--color-white);color:var(--ui-navy);cursor:pointer;
}
.chp-attach__btn > input[type="file"]{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}
.chp-attach__btn > svg{display:block}
[data-mode="pc"] #container .chp-attach{gap:12px}
[data-mode="pc"] #container .chp-attach__btn{width:44px;height:44px}
[data-mode="pc"] #container .chp-attach__btn > svg{width:24px;height:24px}
[data-mode="tablet"] #container .chp-attach{gap:min(calc(100vw * 12 / 1400), 12px)}
[data-mode="tablet"] #container .chp-attach__btn{
  width:min(calc(100vw * 58 / 1400), 58px);height:min(calc(100vw * 58 / 1400), 58px);
}
[data-mode="tablet"] #container .chp-attach__btn > svg{
  width:min(calc(100vw * 32 / 1400), 32px);height:min(calc(100vw * 32 / 1400), 32px);
}
[data-mode="mobile"] #container .chp-attach{gap:8px}
[data-mode="mobile"] #container .chp-attach__btn{width:44px;height:44px}
[data-mode="mobile"] #container .chp-attach__btn > svg{width:20px;height:20px}

/* 확정 줄 — 가운데. 최소폭은 짧은 라벨 둘이 대칭으로 서게 한다. */
#container .chp-write .chp-write__foot{display:flex;justify-content:center;flex-wrap:wrap}
[data-mode="pc"] #container .chp-write .chp-write__foot{margin-top:64px;gap:20px}
[data-mode="pc"] #container .chp-write .chp-write__foot > .chp-btn{min-width:205px}
[data-mode="tablet"] #container .chp-write .chp-write__foot{
  margin-top:min(calc(100vw * 93 / 1400), 93px);gap:min(calc(100vw * 24 / 1400), 24px);
}
[data-mode="tablet"] #container .chp-write .chp-write__foot > .chp-btn{min-width:min(calc(100vw * 256 / 1400), 256px)}
[data-mode="mobile"] #container .chp-write .chp-write__foot{margin-top:40px;gap:12px}
[data-mode="mobile"] #container .chp-write .chp-write__foot > .chp-btn{min-width:150px}

/* ── 17-3. 상세 · 댓글 (myClass/community/communityDetail) ─────────────────
   기준: 시안 `ActivityTab.jsx` 의 `PostDetail` · `Comment` · `CommentForm`(치수표 `CMT_SZ`).
   게시글 카드는 목록과 같은 것이라 **17-1 을 그대로 탄다**(래퍼에 `.chp-actv` 를 붙였다).
   여기서 그리는 것은 댓글 · 대댓글 · 입력 폼 셋이다.

   치수표 (PC / Tablet / Mobile):
     들여쓰기 72 / 80 / 16        라운드 16 / 16 / 12        안쪽 여백 24·32 / 28·36 / 16·16
     제목·본문 18 / 24 / 14       meta 16 / 20 / 13          카드 사이 20 / 20 / 12
     제목→본문 14 / 14 / 10       본문→점선 24 / 24 / 16     점선→반응 14 / 14 / 10
     폼 패딩 32 / 36 / 20         폼 위 24 / 24 / 16

   **네이비의 뜻이 바뀌었다**(오너 문답 2026.09.15). 라이브는 깊이를 말했다 —
   댓글(.type1) 네이비 + 80 들여쓰기, 대댓글(.type2) 회색 + 160 들여쓰기. 그러면 한 가지
   사실에 신호가 셋이고(들여쓰기 · 면 · 글자색), 160 들여쓴 대댓글은 댓글보다 20% 좁아져
   **얻는 것 없이 글이 눌리는 폭만 잘린다.** 이 게시판은 1:1 이라 깊이가 더 자라지 않는다.
   시안이 규칙을 둘로 갈랐다:
     들여쓰기 한 단 = 게시글에 달린 것 (댓글·대댓글이 **같은 선**에서 시작한다)
     네이비 면      = **강사가 쓴 것** (내가 쓴 것은 흰 면 + 1px --grayscale-100)
   그래서 마크업에 `is-mine` 을 붙였다 — 없으면 네이비다.
   ⚠ 버린 것 하나 — 강사의 댓글과 강사의 대댓글이 나란히 서면 무엇이 무엇에 달렸는지가
     자리로 갈리지 않는다. 깊이가 다시 필요해지면 `.type2` 의 margin-left 한 줄이면 된다.
   ⚠ `--line-on-navy-strong` 은 **우리 토큰에 아직 없다.** DS 가 쓰는 이름이라 그대로 적고
     시안과 같은 대체값(#565D80)을 둔다 — 토큰이 들어오면 대체값만 지우면 된다.
   ⚠ 대댓글에는 **반응 줄도 점선도 없다**(2026.09.15) — 좋아요를 걷으면서 그 줄에 남는 것이
     없어졌고, 아래에 아무것도 없는 구분선은 카드를 닫는 선으로 읽힌다. */

/* 게시글 카드 — 17-1 이 그린다. 목록의 `#communityList` 자리 여백만 여기서 준다. */
/* 게시글 카드 — 17-1 이 그린다. 위 여백은 **건드리지 않는다**: `layout.css:135` 의
   `#container .contents .sub-tit + *{margin-top:20px !important}` 이 사이트 공통으로
   제목 아래 간격을 정하고 있고, 이 화면만 다른 값을 쓰면 `.sub-tit` 을 쓰는 다른 화면들과
   어긋난다. 시안의 12(MO 8)는 제목이 없는 SPA 레이아웃의 값이라 우리 자리와 다르다. */

/* `← 목록으로` — 라이브의 그라데이션 pill `[목록]`(`.btn-gra01.pre-btn`, 오른쪽 위)을
   시안의 텍스트 링크로 바꿨다. "`목록으로` 는 이 프로젝트의 말이다(주문 상세의 같은 자리)."
   글리프는 주문 상세 `.od-title__back` 과 같은 DS arrowLeft 진품이고 크기는 meta × 0.8 이다. */
.chp-backlist{
  display:inline-flex;align-items:center;gap:8px;min-height:44px;
  padding:0;border:0;background:transparent;cursor:pointer;
  color:var(--ui-gray-666);font-weight:var(--fw-regular);line-height:1.4;
}
.chp-backlist > svg{display:block;flex-shrink:0}
[data-mode="pc"] #container .chp-actv .chp-backlist{font-size:16px;margin-bottom:12px}
[data-mode="pc"] #container .chp-actv .chp-backlist > svg{width:13px;height:13px}
[data-mode="tablet"] #container .chp-actv .chp-backlist{
  font-size:clamp(14px, calc(100vw * 20 / 1400), 20px);margin-bottom:min(calc(100vw * 12 / 1400), 12px);
}
[data-mode="tablet"] #container .chp-actv .chp-backlist > svg{
  width:min(calc(100vw * 16 / 1400), 16px);height:min(calc(100vw * 16 / 1400), 16px);
}
[data-mode="mobile"] #container .chp-actv .chp-backlist{font-size:13px;margin-bottom:8px}
[data-mode="mobile"] #container .chp-actv .chp-backlist > svg{width:10px;height:10px}

/* 댓글 · 대댓글 — 같은 부품. 다른 것은 아래 두 줄(점선·반응 줄)뿐이다. */
#container .chp-actv .box-reply.type1:not(.chp-cmtform),
#container .chp-actv .box-reply.type2:not(.chp-cmtform){
  box-shadow:none;background:var(--ui-navy);color:var(--color-white);border:0;
}
#container .chp-actv .box-reply.type1.is-mine:not(.chp-cmtform),
#container .chp-actv .box-reply.type2.is-mine:not(.chp-cmtform){
  background:var(--color-white);color:var(--color-black);border:1px solid var(--grayscale-100);
}
[data-mode="pc"] #container .chp-actv .box-reply.type1:not(.chp-cmtform),
[data-mode="pc"] #container .chp-actv .box-reply.type2:not(.chp-cmtform){
  margin:20px 0 0 72px;padding:24px 32px;border-radius:16px;font-size:18px;
}
[data-mode="tablet"] #container .chp-actv .box-reply.type1:not(.chp-cmtform),
[data-mode="tablet"] #container .chp-actv .box-reply.type2:not(.chp-cmtform){
  margin:min(calc(100vw * 20 / 1400), 20px) 0 0 min(calc(100vw * 80 / 1400), 80px);
  padding:min(calc(100vw * 28 / 1400), 28px) min(calc(100vw * 36 / 1400), 36px);
  border-radius:min(calc(100vw * 16 / 1400), 16px);
  font-size:clamp(16.8px, calc(100vw * 24 / 1400), 24px);
}
[data-mode="mobile"] #container .chp-actv .box-reply.type1:not(.chp-cmtform),
[data-mode="mobile"] #container .chp-actv .box-reply.type2:not(.chp-cmtform){
  margin:12px 0 0 16px;padding:16px;border-radius:12px;font-size:14px;
}

/* ── 대댓글 한 단 더 ─────────────────────────────────────────────────────
   ⚠ **시안에서 벗어난 곳이다.** 시안은 들여쓰기를 한 단으로 통일하고 깊이 대신
     "누가 썼는가"(네이비=강사)를 말하게 했다. 그런데 그러면 **내가 쓴 댓글과 내가 쓴
     대댓글이 똑같은 흰 상자**가 되어 무엇이 무엇에 달린 것인지 자리로 읽히지 않는다
     (사용자 지적 2026-09-30 — "대댓글 작성시 댓글로 작성되고 있어").
     저장은 정상이었다(DB 확인: reply_lvl 2 · parent = 댓글). 보이는 것만의 문제였다.
   시안 소스가 남겨 둔 되돌리기 그대로다 — "깊이가 다시 필요해지면 `marginLeft` 한 줄이면
   된다". 대댓글과 그 입력 폼만 한 단(=ind) 더 들여쓴다. 나머지(면·라운드·여백·글자)는
   시안 그대로 두므로, 되돌리려면 이 블록만 지우면 된다.
   폭 영향: PC 오른쪽 칸 990 → 대댓글 846(-15%). 시안이 걱정한 730 칸보다 넓어 글이 눌리지 않는다. */
/* ⚠ **대댓글은 댓글과 같은 자리에 선다**(오너 수정요청 2026-10-01).
   09.15 전달본은 "들여쓰기 한 단 = 게시글에 달린 것"으로 깊이를 표시했는데, 오너가 보내 준
   시안 캡처에서는 댓글(네이비)과 대댓글(흰 면)이 **같은 x 에서 시작**한다.
   깊이는 이제 **면**이 진다 — 네이비는 강사가 쓴 것, 흰 면은 그 아래 달린 것.
   ⚠ 위 블록이 `type1` 과 `type2` 에 **이미 같은 margin** 을 주고 있다. 그래서 할 일은
     더하는 것이 아니라 **아무것도 더하지 않는 것**이다 — 한때 `margin-left:0` 으로 눌렀더니
     대댓글이 댓글보다 72px **왼쪽**으로 나갔다(실측 2026-10-01: 댓글 538 ↔ 대댓글 466).
   입력 폼(`.chp-cmtform.type2`)만 위 규칙의 `:not()` 에서 빠지므로 여기서 같은 값을 준다. */
[data-mode="pc"] #container .chp-actv .box-reply.chp-cmtform.type2{margin-left:72px}
[data-mode="tablet"] #container .chp-actv .box-reply.chp-cmtform.type2{margin-left:min(calc(100vw * 80 / 1400), 80px)}
[data-mode="mobile"] #container .chp-actv .box-reply.chp-cmtform.type2{margin-left:16px}

/* 제목 줄 — `작성자 일시` 700. 게시글과 달리 밑줄이 없다(여는 링크가 아니다). */
#container .chp-actv .box-reply.type1:not(.chp-cmtform) .reply-tit > strong,
#container .chp-actv .box-reply.type2:not(.chp-cmtform) .reply-tit > strong{
  text-decoration:none;color:inherit;
}
#container .chp-actv .box-reply.type1:not(.chp-cmtform) .reply-tit > strong *,
#container .chp-actv .box-reply.type2:not(.chp-cmtform) .reply-tit > strong *{color:inherit}
/* 네이비 위의 구분자 `│` 와 점선은 흰 계열 선이다 */
#container .chp-actv .box-reply.type1:not(.chp-cmtform) .reply-mdfy li + li:before,
#container .chp-actv .box-reply.type2:not(.chp-cmtform) .reply-mdfy li + li:before{
  background:var(--line-on-navy-strong, #565D80);
}
#container .chp-actv .box-reply.type1.is-mine:not(.chp-cmtform) .reply-mdfy li + li:before,
#container .chp-actv .box-reply.type2.is-mine:not(.chp-cmtform) .reply-mdfy li + li:before{background:var(--moc03)}
#container .chp-actv .box-reply.type1:not(.chp-cmtform) .reply-mdfy button,
#container .chp-actv .box-reply.type2:not(.chp-cmtform) .reply-mdfy button{color:inherit}

/* 본문 — 네이비 위는 흰 글자, 흰 면 위는 --ui-gray-666(제목보다 옅다) */
#container .chp-actv .box-reply.type1:not(.chp-cmtform) .reply-cont,
#container .chp-actv .box-reply.type2:not(.chp-cmtform) .reply-cont{
  color:var(--color-white);border-bottom:1px dashed var(--line-on-navy-strong, #565D80);
}
#container .chp-actv .box-reply.type1.is-mine:not(.chp-cmtform) .reply-cont,
#container .chp-actv .box-reply.type2.is-mine:not(.chp-cmtform) .reply-cont{
  color:var(--ui-gray-666);border-bottom-color:var(--grayscale-100);
}
/* 대댓글은 점선이 없다 */
#container .chp-actv .box-reply.type2:not(.chp-cmtform) .reply-cont{border-bottom:0}
[data-mode="pc"] #container .chp-actv .box-reply.type1:not(.chp-cmtform) .reply-cont,
[data-mode="pc"] #container .chp-actv .box-reply.type2:not(.chp-cmtform) .reply-cont{padding:14px 0 24px;font-size:18px}
[data-mode="tablet"] #container .chp-actv .box-reply.type1:not(.chp-cmtform) .reply-cont,
[data-mode="tablet"] #container .chp-actv .box-reply.type2:not(.chp-cmtform) .reply-cont{
  padding:min(calc(100vw * 14 / 1400), 14px) 0 min(calc(100vw * 24 / 1400), 24px);
  font-size:clamp(16.8px, calc(100vw * 24 / 1400), 24px);
}
[data-mode="mobile"] #container .chp-actv .box-reply.type1:not(.chp-cmtform) .reply-cont,
[data-mode="mobile"] #container .chp-actv .box-reply.type2:not(.chp-cmtform) .reply-cont{padding:10px 0 16px;font-size:14px}
[data-mode="pc"] #container .chp-actv .box-reply.type2:not(.chp-cmtform) .reply-cont{padding-bottom:0}
[data-mode="tablet"] #container .chp-actv .box-reply.type2:not(.chp-cmtform) .reply-cont{padding-bottom:0}
[data-mode="mobile"] #container .chp-actv .box-reply.type2:not(.chp-cmtform) .reply-cont{padding-bottom:0}

/* 반응 줄 — 게시글은 space-between(왼쪽이 첨부)이지만 댓글은 **오른쪽 정렬**이다.
   댓글에는 첨부 이름이 설 왼쪽이 없다. 대댓글은 이 줄 자체가 없다. */
#container .chp-actv .box-reply.type1:not(.chp-cmtform) .reply-ft{justify-content:flex-end;color:inherit}
#container .chp-actv .box-reply.type1:not(.chp-cmtform) .reply-ft em{color:var(--color-white)}
#container .chp-actv .box-reply.type1.is-mine:not(.chp-cmtform) .reply-ft em{color:var(--ui-blue)}
#container .chp-actv .box-reply.type1:not(.chp-cmtform) .reply-ft button{color:inherit}
[data-mode="pc"] #container .chp-actv .box-reply.type1:not(.chp-cmtform) .reply-ft{margin-top:14px}
[data-mode="tablet"] #container .chp-actv .box-reply.type1:not(.chp-cmtform) .reply-ft{margin-top:min(calc(100vw * 14 / 1400), 14px)}
[data-mode="mobile"] #container .chp-actv .box-reply.type1:not(.chp-cmtform) .reply-ft{margin-top:10px}
#container .chp-actv .box-reply.type2:not(.chp-cmtform) .reply-ft{margin-top:0}

/* ── 입력 폼 (등록 · 수정) — 회색 면 안에 흰 textarea 하나와 확정 줄 ────────
   ⚠ 이 폼은 JS 가 `.type1`/`.type2` 를 **덧붙인다**(fnReply). 그대로 두면 위의 네이비가
     폼에까지 걸린다. `.type1`/`.type2` 쪽에 `:not(.chp-cmtform)` 을 달아 **아예 안 맞게** 한다
     — 특이도로 겨루면 `.chp-actv .box-reply.type1`(1,4,0)이라 이기기 어렵다(실측으로 걸렸다).
     폼 자신은 17-1 의 `.chp-actv .box-reply`(1,3,0)도 넘어야 해 같은 깊이로 적는다.
   ⚠ 확정 버튼은 **[취소] → [등록하기]** 순이다(17-2 와 같은 근거). 라이브는 반대였다. */
#container .chp-actv .box-reply.chp-cmtform{
  box-shadow:none;border:0;background:var(--bg-gray);color:var(--color-black);
}
#container .chp-actv .box-reply.chp-cmtform .reply-cont{padding:0;border-bottom:0;color:inherit}
#container .chp-actv .box-reply.chp-cmtform .reply-wrt{margin-top:0}
#container .chp-actv .box-reply.chp-cmtform .reply-ft{align-items:center;flex-wrap:wrap;margin-top:0}
#container .chp-actv .box-reply.chp-cmtform .reply-ft .re-file{min-width:0;word-break:break-all}
#container .chp-actv .box-reply.chp-cmtform .reply-ft .re-file > span{margin:0}
#container .chp-actv .box-reply.chp-cmtform .re-btns{flex-shrink:0}
/* 점선 — textarea 와 확정 줄 사이. 마크업에 선 요소가 없어 reply-cont 의 아래선을 되쓴다. */
#container .chp-actv .box-reply.chp-cmtform .reply-cont{border-bottom:1px dashed var(--grayscale-100)}
[data-mode="pc"] #container .chp-actv .box-reply.chp-cmtform{margin:24px 0 0 72px;padding:32px;border-radius:16px}
[data-mode="pc"] #container .chp-actv .box-reply.chp-cmtform .reply-cont{padding-bottom:24px}
[data-mode="pc"] #container .chp-actv .box-reply.chp-cmtform .reply-ft{margin-top:20px;gap:20px}
[data-mode="pc"] #container .chp-actv .box-reply.chp-cmtform .re-btns{gap:12px}
[data-mode="pc"] #container .chp-actv .box-reply.chp-cmtform .chp-textarea{min-height:calc(16px * 1.6 * 4 + 22px)}
[data-mode="tablet"] #container .chp-actv .box-reply.chp-cmtform{
  margin:min(calc(100vw * 24 / 1400), 24px) 0 0 min(calc(100vw * 80 / 1400), 80px);
  padding:min(calc(100vw * 36 / 1400), 36px);border-radius:min(calc(100vw * 16 / 1400), 16px);
}
[data-mode="tablet"] #container .chp-actv .box-reply.chp-cmtform .reply-cont{padding-bottom:min(calc(100vw * 24 / 1400), 24px)}
[data-mode="tablet"] #container .chp-actv .box-reply.chp-cmtform .reply-ft{
  margin-top:min(calc(100vw * 20 / 1400), 20px);gap:min(calc(100vw * 20 / 1400), 20px);
}
[data-mode="tablet"] #container .chp-actv .box-reply.chp-cmtform .re-btns{gap:min(calc(100vw * 12 / 1400), 12px)}
[data-mode="tablet"] #container .chp-actv .box-reply.chp-cmtform .chp-textarea{
  min-height:calc(clamp(12px, calc(100vw * 20 / 1400), 20px) * 1.6 * 4 + 22px);
}
[data-mode="mobile"] #container .chp-actv .box-reply.chp-cmtform{margin:16px 0 0 16px;padding:20px;border-radius:12px}
[data-mode="mobile"] #container .chp-actv .box-reply.chp-cmtform .reply-cont{padding-bottom:16px}
[data-mode="mobile"] #container .chp-actv .box-reply.chp-cmtform .reply-ft{margin-top:14px;gap:10px}
[data-mode="mobile"] #container .chp-actv .box-reply.chp-cmtform .re-btns{gap:8px}
[data-mode="mobile"] #container .chp-actv .box-reply.chp-cmtform .chp-textarea{min-height:calc(14px * 1.6 * 3 + 22px)}

/* ══ 18. 학습 단어장 · 스크랩 — 유패스 (classMain/lessonWordMain · scrap/scrapMain) ═══
   기준: prototypes/lesson-word (`screen.jsx` · 공용 `_lib/WordRow.jsx`) 유패스 구성.
   ⚠ **이 화면만 DS 를 적용한다**(오너 지시 2026.09.09). 학습 공간(16·17절)은 라이브 값을
     그대로 옮겼지만 이 화면은 라이브 값이 우리 화면들 사이에서 혼자 튀었다 —
     표 글자 30 · 위아래 2px 네이비 · 행 사이 1px dashed #9B9B9B · 건수 30px 보라.
   ⚠ **행은 이 절이 그리지 않는다** — 2026.09.13 에 1열 5열 표가 2열 격자가 되면서
     차이홍과 한 부품이 됐다(`WordRow.jsx`). 그 값은 **16-15절**, 유패스만의 값은
     **16-15-4절**에 있다. 여기 남은 것은 이 화면의 껍데기다:
       필터 줄 위 여백 · 건수 · 제목 줄 [←] · 페이지 이동 · 레슨 셀렉트.
   시안이 바꾼 것 중 껍데기 몫(수정표 역할로 남긴다):
     건수  30px --fmnl(보라) → **16 / 26 / 12**, 숫자만 --ui-blue
   ⚠ 페이징(`ui:paging`)은 공통 태그라 손대지 않았다 — 시안은 DS `PaginationDot` 을 쓴다. */
[data-mode="pc"] #container .chp-word .chp-word__filter{margin-top:32px}
[data-mode="tablet"] #container .chp-word .chp-word__filter{margin-top:min(calc(100vw * 40 / 1400), 40px)}
[data-mode="mobile"] #container .chp-word .chp-word__filter{margin-top:20px}
.chp-word .chp-word__count{color:var(--color-black);flex-shrink:0;white-space:nowrap;font-weight:var(--fw-bold)}
.chp-word .chp-word__count .-fmnl{color:var(--ui-blue)}
[data-mode="pc"] #container .chp-word .chp-word__count{font-size:16px}
[data-mode="tablet"] #container .chp-word .chp-word__count{font-size:clamp(18.2px, calc(100vw * 26 / 1400), 26px)}
[data-mode="mobile"] #container .chp-word .chp-word__count{font-size:12px}

/* ── 18-1 ~ 18-3(표 그릇 · 모바일 카드 · [상세]) · 18-7(스크랩) 은 **걷었다**(2026-09-30).
   1열 5열 표를 2열 격자로 바꾸면서(오너 확정 2026.09.13) 마크업에서 `<table>` 이 없어졌다 —
   `.chp-wordtable` 을 부르는 JSP 가 0 이라 규칙이 통째로 죽은 코드였다.
   지금 이 화면의 행을 그리는 것은 **16-15절**이고, 유패스만의 값은 **16-15-4절**이다.
   아래 18-4 ~ 18-6(제목 줄 ← · 페이지 이동 · 레슨 셀렉트)은 살아 있다. */

/* ── 18-4. 제목 줄 [←] ───────────────────────────────────────────────────
   라이브 `.pre-btn` 은 스프라이트 화살표다. 15절 `.chp-spacetop__back` 과 같은 자산·같은
   기하(44 탭 칸 · 글리프 18.2×16 · 왼쪽 -14)로 맞춘다 — 두 화면이 한 줄기라 ← 가 갈리면 안 된다. */
/* ⚠ `layout.css:134` 가 `#container .contents .sub-tit{display:none}` 로 감춘다(특이도 1,2,0).
   이 화면의 제목은 여기뿐이라 되살려야 한다 — `[data-mode]` 를 앞에 붙여 특이도를 올린다.
   **PC 에만 살린다.** Tablet·Mobile 은 앱바 가운데가 화면 이름을 든다(이 프로젝트의 규칙 ·
   [[caihong-mobile-title-single]] 과 같은 판단). */
.chp-word .sub-tit{align-items:center;gap:12px;margin:0;color:var(--color-black)}
[data-mode="pc"] #container .chp-word .sub-tit{display:flex}
/* Tablet·Mobile 은 앱바 가운데가 "학습 단어장" 을 든다(실측 확인) — 본문에 또 두면
   같은 제목이 두 번 나온다. 태블릿은 layout.css 가 이미 감추고, 모바일만 m.css 가
   되살려 두어 여기서 다시 끈다([[caihong-mobile-title-single]] 과 같은 판단). */
[data-mode="mobile"] #container .chp-word .sub-tit{display:none}
.chp-word .sub-tit .pre-btn{
  display:flex;align-items:center;justify-content:center;flex-shrink:0;
  width:44px;height:44px;margin-left:-14px;background:none;color:var(--color-black);
}
.chp-word .sub-tit .pre-btn:before,
.chp-word .sub-tit .pre-btn:after{content:none}
.chp-word .sub-tit .pre-btn > .blind{
  position:static;width:18.2px;height:16px;margin:0;padding:0;clip:auto;overflow:hidden;
  display:block;text-indent:-999px;background:currentColor;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='5.4238 6.4648 12.5762 11.0704'%3E%3Cpath d='M11.5947 7.53516L8.2959 11.2002H18V12.7998H8.2959L11.5947 16.4648L10.4053 17.5352L5.42383 12L10.4053 6.46484L11.5947 7.53516Z' fill='black'/%3E%3C/svg%3E") no-repeat center / contain;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='5.4238 6.4648 12.5762 11.0704'%3E%3Cpath d='M11.5947 7.53516L8.2959 11.2002H18V12.7998H8.2959L11.5947 16.4648L10.4053 17.5352L5.42383 12L10.4053 6.46484L11.5947 7.53516Z' fill='black'/%3E%3C/svg%3E") no-repeat center / contain;
}
[data-mode="pc"] #container .chp-word .sub-tit{font-size:20px;line-height:30px;font-weight:var(--fw-bold)}

/* ── 18-5. 페이지 이동 → **21절로 옮겼다**(2026-09-17) ──────────────────────
   시안이 이 부품을 "공통으로 사용할 수 있는 네비게이션"으로 규정했고, 단어장·교재배송정보
   두 화면에만 걸어 두면 나머지 26개 화면이 계속 레거시 모양으로 남는다. 전역 규칙은 21절.
   ⚠ 여기에 규칙을 되살리지 말 것 — 21절과 둘이 되면 한쪽만 고쳐져 갈라진다. */

/* ── 18-6. 레슨 고르기 (nice-select) ─────────────────────────────────────
   기준: 시안 `FilterRow` 가 쓰는 **DS `Select`**(오너 지시 2026.09.09 — "DS 에 있으니 안 쓸
   이유가 없다"). 라이브는 `nice-select` jQuery 플러그인이고 시안은 그 값을 못 읽어
   "같은 자리에 테두리 있는 버튼형으로 그렸다" 고 적어 뒀다 — 그 자리를 DS 규격으로 채운다.
   마크업은 플러그인이 만들므로(.nice-select > .current + ul.list > li.option) **CSS 로만** 맞춘다.
   ⚠ 2026-09-30 부터 **학습활동 글쓰기(17-2)도 같은 셀렉트를 쓴다.** 두 화면이 같은 DS
     규격이라 선택자를 `:is(.chp-word,.chp-write)` 로 묶었다. **폭 세 줄만 갈라 둔다** —
     시안 `selW` 가 서로 다르고(단어장 200/260/140 · 글쓰기 200/240/100%), 특이도가
     같으면 뒤에 오는 18-6 이 이겨 17-2 의 폭이 먹히지 않는다(실측으로 걸렸다).

   DS `SPEC_SELECT.field` 실값:
     높이 52 / 58 / 40 · 글자 500 16 / 20 / 14 · 좌우 여백 20 / 20 / 14 · 줄 높이 44 / 64 / 48
     꺾쇠(보이는 획 높이) 5.9 / 7 / 5.9 — 폭은 13.1309/7.69723 비율로 따라온다
     면 흰색 · 테두리 1px --line-field · 라운드 --radius-field · 목록 그림자 --shadow-modal
     고른 줄 = --bg-gray 면 + --ui-blue 500, 나머지 흰 면 + --color-black 400, 줄 사이 1px
   라이브에서 바뀌는 것:
     테두리 --mc(네이비) → --line-field(#DDD) · 목록 라운드 `0 0 r r` 붙은 모양 → 독립 카드
     옵션 hover/선택 **--mlc 파란 채움 + 흰 글자** → --bg-gray 면 + --ui-blue 글자
       (파란 채움은 이 사이트에서 CTA 의 색이다 — 목록에서 지나가는 줄이 그 무게를 지면 안 된다)
     꺾쇠 스프라이트(-150px -50px · 14×8) → DS chevronDown 마스크
   고른 줄에는 **체크 아이콘**도 둔다(DS `row`): 줄을 `space-between` 으로 두고 오른쪽 끝에
     `--ui-blue` 체크. DS 주석의 이유 그대로다 — "면은 hover 와 구별되기 어렵고 색은 색약에서
     약해서, 표시를 하나 더 둔다". 플러그인이 그 자리를 만들지 않지만 `::after` + mask 로
     넣는다(화살표 셋과 같은 방식). ⚠ 한 번 "플러그인이 자리를 안 만들어 못 넣는다" 고 적었는데
     틀렸다(오너 지적 2026.09.11).
   ⚠ `.open` 일 때 꺾쇠는 레거시의 `rotate(180deg)` 를 그대로 쓴다 — DS 는 chevronUp 자산으로
     바꾸지만, 위아래 대칭이라 돌린 것과 같은 그림이다. */
:is(.chp-word,.chp-write,.chp-scrap) .sel-type{flex:0 0 auto}
:is(.chp-word,.chp-write,.chp-scrap) .sel-type .nice-select{
  box-sizing:border-box;
  background:var(--color-white);
  border:1px solid var(--line-field);
  border-radius:calc(var(--radius-field) * 1px);
  color:var(--color-black);
  font-weight:var(--fw-medium);
}
:is(.chp-word,.chp-write,.chp-scrap) .sel-type .nice-select.open{border-color:var(--line-field);border-radius:calc(var(--radius-field) * 1px)}
/* 라벨은 세로 가운데다. 레거시는 `line-height: calc(--fom-h - 2px)` 로 높이를 흉내 내는데
   우리가 높이를 바꿨으므로 줄높이로 맞추면 또 어긋난다 — flex 로 세운다(DS Select 도 flex). */
:is(.chp-word,.chp-write,.chp-scrap) .sel-type .nice-select .current{display:flex;align-items:center;height:100%;line-height:1}
/* 꺾쇠 — 스프라이트를 걷고 DS chevronDown 을 마스크로. 색은 --ui-gray-666. */
:is(.chp-word,.chp-write,.chp-scrap) .sel-type .nice-select:after{
  background:var(--ui-gray-666);
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='5.43457 8.43457 13.1309 7.69723'%3E%3Cpath d='M18.5654 9.56543L12 16.1318L5.43457 9.56543L6.56543 8.43457L12 13.8691L17.4346 8.43457L18.5654 9.56543Z' fill='black'/%3E%3C/svg%3E") no-repeat center / contain;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='5.43457 8.43457 13.1309 7.69723'%3E%3Cpath d='M18.5654 9.56543L12 16.1318L5.43457 9.56543L6.56543 8.43457L12 13.8691L17.4346 8.43457L18.5654 9.56543Z' fill='black'/%3E%3C/svg%3E") no-repeat center / contain;
}
:is(.chp-word,.chp-write,.chp-scrap) .sel-type .nice-select .list{
  margin:4px 0 0;border:1px solid var(--line-field);
  border-radius:calc(var(--radius-field) * 1px);
  box-shadow:var(--shadow-modal);overflow:hidden auto;
}
:is(.chp-word,.chp-write,.chp-scrap) .sel-type .nice-select .option{
  display:flex;align-items:center;justify-content:space-between;gap:8px;line-height:1;
  background:var(--color-white);color:var(--color-black);font-weight:var(--fw-regular);
  border-top:1px solid var(--line-field);
}
:is(.chp-word,.chp-write,.chp-scrap) .sel-type .nice-select .option.selected:after{
  content:"";display:block;flex-shrink:0;background:var(--ui-blue);
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='4.44043 6.44336 15.13377 11.69044'%3E%3Cpath d='M19.5742 7.55664L9.32324 18.1338L4.44043 13.3613L5.55957 12.2178L9.29199 15.8662L18.4258 6.44336L19.5742 7.55664Z' fill='black'/%3E%3C/svg%3E") no-repeat center / contain;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='4.44043 6.44336 15.13377 11.69044'%3E%3Cpath d='M19.5742 7.55664L9.32324 18.1338L4.44043 13.3613L5.55957 12.2178L9.29199 15.8662L18.4258 6.44336L19.5742 7.55664Z' fill='black'/%3E%3C/svg%3E") no-repeat center / contain;
}
:is(.chp-word,.chp-write,.chp-scrap) .sel-type .nice-select .option:first-child{border-top:0}
/* ⚠ hover·focus 규칙을 먼저 두고 **고른 줄을 뒤에** 둔다. 플러그인은 고른 줄에
   `selected focus` 를 함께 붙이는데, hover 쪽에 색까지 적어 두면 클래스가 하나 더 많은
   그쪽이 이겨 **고른 줄이 파랑이 아니라 검정이 된다**(실측으로 걸렸다).
   라이브 값(`--mlc` 파란 채움 + 흰 글자)을 덮어야 하므로 color 를 같이 적을 수밖에 없고,
   그래서 순서와 특이도로 가른다. */
:is(.chp-word,.chp-write,.chp-scrap) .sel-type .nice-select .option:hover,
:is(.chp-word,.chp-write,.chp-scrap) .sel-type .nice-select .option.focus,
:is(.chp-word,.chp-write,.chp-scrap) .sel-type .nice-select .option.focus:hover{background:var(--bg-gray);color:var(--color-black)}
:is(.chp-word,.chp-write,.chp-scrap) .sel-type .nice-select .option.selected,
:is(.chp-word,.chp-write,.chp-scrap) .sel-type .nice-select .option.selected:hover,
:is(.chp-word,.chp-write,.chp-scrap) .sel-type .nice-select .option.selected.focus,
:is(.chp-word,.chp-write,.chp-scrap) .sel-type .nice-select .option.selected.focus:hover{
  background:var(--bg-gray);color:var(--ui-blue);font-weight:var(--fw-medium);
}

[data-mode="pc"] #container .chp-word .sel-type{width:200px}
[data-mode="pc"] #container :is(.chp-word,.chp-write,.chp-scrap) .sel-type .nice-select{height:52px;padding:0 38px 0 20px;font-size:16px;line-height:50px}
[data-mode="pc"] #container :is(.chp-word,.chp-write,.chp-scrap) .sel-type .nice-select:after{right:20px;width:10.1px;height:5.9px}
[data-mode="pc"] #container :is(.chp-word,.chp-write,.chp-scrap) .sel-type .nice-select .option{height:44px;min-height:44px;padding:0 20px;font-size:16px}
[data-mode="pc"] #container :is(.chp-word,.chp-write,.chp-scrap) .sel-type .nice-select .option.selected:after{width:12.9px;height:10px}
[data-mode="pc"] #container :is(.chp-word,.chp-write,.chp-scrap) .sel-type .nice-select .list{max-height:264px}

[data-mode="tablet"] #container .chp-word .sel-type{width:min(calc(100vw * 260 / 1400), 260px)}
[data-mode="tablet"] #container :is(.chp-word,.chp-write,.chp-scrap) .sel-type .nice-select{
  height:min(calc(100vw * 58 / 1400), 58px);
  padding:0 min(calc(100vw * 40 / 1400), 40px) 0 min(calc(100vw * 20 / 1400), 20px);
  font-size:clamp(14px, calc(100vw * 20 / 1400), 20px);line-height:min(calc(100vw * 56 / 1400), 56px);
}
[data-mode="tablet"] #container :is(.chp-word,.chp-write,.chp-scrap) .sel-type .nice-select:after{
  right:min(calc(100vw * 20 / 1400), 20px);
  width:min(calc(100vw * 11.9 / 1400), 11.9px);height:min(calc(100vw * 7 / 1400), 7px);
}
[data-mode="tablet"] #container :is(.chp-word,.chp-write,.chp-scrap) .sel-type .nice-select .option{
  height:min(calc(100vw * 64 / 1400), 64px);min-height:min(calc(100vw * 64 / 1400), 64px);
  padding:0 min(calc(100vw * 20 / 1400), 20px);font-size:clamp(14px, calc(100vw * 20 / 1400), 20px);
}
[data-mode="tablet"] #container :is(.chp-word,.chp-write,.chp-scrap) .sel-type .nice-select .option.selected:after{
  width:min(calc(100vw * 18.1 / 1400), 18.1px);height:min(calc(100vw * 14 / 1400), 14px);
}
[data-mode="tablet"] #container :is(.chp-word,.chp-write,.chp-scrap) .sel-type .nice-select .list{max-height:min(calc(100vw * 384 / 1400), 384px)}

[data-mode="mobile"] #container .chp-word .sel-type{width:140px}
[data-mode="mobile"] #container :is(.chp-word,.chp-write,.chp-scrap) .sel-type .nice-select{height:40px;padding:0 32px 0 14px;font-size:14px;line-height:38px}
[data-mode="mobile"] #container :is(.chp-word,.chp-write,.chp-scrap) .sel-type .nice-select:after{right:14px;width:10.1px;height:5.9px}
[data-mode="mobile"] #container :is(.chp-word,.chp-write,.chp-scrap) .sel-type .nice-select .option{height:48px;min-height:48px;padding:0 14px;font-size:14px}
[data-mode="mobile"] #container :is(.chp-word,.chp-write,.chp-scrap) .sel-type .nice-select .option.selected:after{width:12.9px;height:10px}
[data-mode="mobile"] #container :is(.chp-word,.chp-write,.chp-scrap) .sel-type .nice-select .list{max-height:288px}

/* ══ 19. 자녀정보 (mypage/selectChldMapList · chldinfo/chldMap.jsp) ═════════
   기준: 차이홍_퍼블/자녀등록/handoff-childreg (2026.09.10 전달본) — **B안(표: DS 구성)**.
   전달본이 `CRVariant='b'` 로 굳혔다(READ-FIRST: "프로토타입에는 토글이 있지만 전달본에서는
   DS 구성만 남겼습니다").
   시안 자체가 웹서비스팀 Aden 의 「자녀정보 목록 테이블 레이아웃 수정안」(2026.09.07)을 눈으로
   확인하려고 세운 것이라, 그 문서가 짚은 결함이 그대로 고쳐야 할 목록이다:
     · 6열이 모바일 357px 에 안 들어가 **날짜가 한 글자씩 세로로 깨진다**(`word-break:break-all`)
     · [삭제] 버튼이 셀을 넘는다
     · 열 폭이 퍼센트라 값 길이와 무관하게 접힌다

   B안이 A안(라이브 최소 수정)과 다른 넷 — 시안 주석 그대로:
     ① 열 폭이 **고정 px**(퍼센트가 아니다). 값 길이에서 잡았다: 회원번호 7자리 · 전화 11자리 ·
        날짜 10자. 마지막 액션 열 **206** 은 CLAUDE.md 의 "PC 표 액션 206" 규칙이다.
        성명이 남는 폭을 흡수한다.
     ② **왼쪽 정렬**이다 — 액션 열만 가운데. "표의 값은 왼끝이 한 줄로 서야 훑어진다."
     ③ 셀 상하 여백 32(PC) / 40(Tablet).
     ④ 블록이 1px 선 + `radius/block` 으로 감싸인다(결제이력과 같은 껍데기).

   ⚠ **제목은 '자녀정보' 로 둔다.** 시안은 '자녀등록' 으로 통일했지만(오너 확정 2026.09.07)
     오너가 이번에 유지로 정했다. 바꿨다면 `header.tag:194·226` 의
     `list.menu_name ne '자녀정보'` 조건까지 함께 손대야 했다 — 그 값은 DB 메뉴명이다.
   ⚠ **검색이 아니라 등록 입력이다.** 시안은 이 줄을 "검색 영역"으로 읽었지만 `fn_chldAdd()` 가
     이 두 값으로 자녀를 등록하고, 컨트롤러는 검색 파라미터를 받지 않는다. 구성을 그대로 쓰는
     이유는 시안이 패널 안 버튼을 [조회]가 아니라 [자녀등록]으로 정해 둔 덕분이다. */

/* ── 19-1. 등록 패널 (시안 `CRSearchDS`) ─────────────────────────────────
   상담·결제/결제이력의 검색 행과 같은 껍데기다: --bg-gray 면 · radius/searchbox ·
   space/searchbox-pad. 항목은 **가운데로 모으고** 간격은 12 하나로 고른다.
   ⚠ 1px 세로 구분선은 가져오지 않는다(시안 판단) — 그 선은 조작 묶음과 확정 버튼을 가르는
     장치인데, 이 줄은 라벨 붙은 필드 둘과 버튼 하나뿐이라 가를 묶음이 없다. */
.chp-chld__panel{
  display:flex;align-items:center;justify-content:center;
  background:var(--bg-gray);
  border-radius:calc(var(--radius-searchbox) * 1px);
  box-sizing:border-box;
}
.chp-chld__field{display:flex;align-items:center}
.chp-chld__field > span{
  color:var(--color-black);letter-spacing:var(--tracking-core);
  font-weight:var(--fw-regular);line-height:1.4;white-space:nowrap;
}
/* ⚠ 높이뿐 아니라 테두리 · 모서리 · 여백 · 글자까지 다시 지정 — `.chp-field`(0,1,0)가 레거시
   `style.css:257 input[type="text"]`(0,1,1)에 져서 예전 진한 테두리 · 예전 모서리가 남던 것(디자인QA DT-4648)
   링 = 전달본 `--line-field` #D3D3D3(우리 토큰은 아직 #DDD · 공통 토큰은 범위 밖이라 이 화면만 `--grayscale-100`) · :focus 파란 링은 따로 다시 지정
   DS `TextField` fieldH = PC 44 · TA 58 · MO 40(전달본 2026.11.12 · 토큰 PC 52 와 다름) */
.chp-chld__field > .chp-field{flex:0 0 auto}
body[data-mode] #container .chp-chld__field > .chp-field{
  border:0;border-radius:calc(var(--radius-field) * 1px);min-height:0;background:var(--color-white);
  padding:0 calc(var(--chp-form-pad-x) * 1px);font-size:calc(var(--chp-form-field-fs) * 1px);
  box-shadow:inset 0 0 0 1px var(--grayscale-100);
}
body[data-mode] #container .chp-chld__field > .chp-field:focus{box-shadow:inset 0 0 0 1px var(--grayscale-200)}
[data-mode="pc"] #container .chp-chld__field > .chp-field{height:44px}
/* 태블릿 — 전달본은 화면 전체를 폭 ÷ 1400 으로 줄임(1032 실측 0.737) · 라벨 · 표처럼 입력칸 · 버튼 · 패널 여백도 같은 비율(글자 하한 14) */
body[data-mode="tablet"] #container .chp-chld__field > .chp-field{
  height:min(calc(100vw * 58 / 1400), 58px);padding:0 min(calc(100vw * 20 / 1400), 20px);
  font-size:clamp(14px, calc(100vw * 20 / 1400), 20px);border-radius:min(calc(100vw * 6 / 1400), 6px);
}
[data-mode="mobile"] #container .chp-chld__field > .chp-field{height:40px}
/* [자녀등록] — navy 채움 medium. 라이브 검은 채움(.btn-blk)에서 옮겼다:
   "추천상품 결제의 [조회]와 같은 자리·같은 성격이라 같은 페인트를 쓴다." */
.chp-chld__add{
  display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;
  box-sizing:border-box;border:0;cursor:pointer;white-space:nowrap;
  height:calc(var(--chp-btn-h-md) * 1px);
  border-radius:calc(var(--radius-btn) * 1px);
  background:var(--ui-navy);color:var(--color-white);
  font:var(--chp-btn-fw-md) calc(var(--chp-btn-fs-md) * 1px)/1.4 var(--font-core);
  letter-spacing:var(--tracking-core);
}
[data-mode="pc"] #container .chp-chld__panel{padding:calc(var(--space-searchbox-pad) * 1px) 58px;gap:12px}
[data-mode="pc"] #container .chp-chld__field{gap:12px}
[data-mode="pc"] #container .chp-chld__field > span{font-size:16px}
[data-mode="pc"] #container .chp-chld__field > .chp-field{width:200px}
[data-mode="pc"] #container .chp-chld__add{width:120px}

[data-mode="tablet"] #container .chp-chld__panel{
  padding:min(calc(100vw * var(--space-searchbox-pad) / 1400), calc(var(--space-searchbox-pad) * 1px)) min(calc(100vw * 62 / 1400), 62px);
  gap:min(calc(100vw * 12 / 1400), 12px);
  border-radius:min(calc(100vw * var(--radius-searchbox) / 1400), calc(var(--radius-searchbox) * 1px));
}
[data-mode="tablet"] #container .chp-chld__field{gap:min(calc(100vw * 12 / 1400), 12px)}
[data-mode="tablet"] #container .chp-chld__field > span{font-size:clamp(14px, calc(100vw * 20 / 1400), 20px)}
[data-mode="tablet"] #container .chp-chld__field > .chp-field{width:min(calc(100vw * 280 / 1400), 280px)}
[data-mode="tablet"] #container .chp-chld__add{
  width:min(calc(100vw * 120 / 1400), 120px);height:min(calc(100vw * 58 / 1400), 58px);
  font-size:clamp(14px, calc(100vw * 20 / 1400), 20px);border-radius:min(calc(100vw * 6 / 1400), 6px);
}

/* 모바일 — 세로로 쌓이고 [자녀등록]은 전폭이다(오너 전달 스크린샷과 같은 구성).
   라벨은 84px 칸에 고정해 두 줄의 입력이 같은 왼끝에서 시작한다. */
[data-mode="mobile"] #container .chp-chld__panel{
  flex-direction:column;align-items:stretch;
  padding:calc(var(--space-searchbox-pad) * 1px) 16px;
  gap:calc(var(--space-field-gap) * 1px);
}
[data-mode="mobile"] #container .chp-chld__field{gap:8px}
[data-mode="mobile"] #container .chp-chld__field > span{flex:0 0 84px;font-size:14px}
[data-mode="mobile"] #container .chp-chld__field > .chp-field{flex:1 1 auto;width:100%}
[data-mode="mobile"] #container .chp-chld__add{width:100%}

/* ── 19-2. 총 N건 ───────────────────────────────────────────────────────
   패널과 표 사이에 선다. 숫자만 --ui-blue(라이브 --fmnl 보라를 걷은 자리). */
.chp-chld__count{
  display:block;color:var(--color-black);font-weight:var(--fw-bold);
  letter-spacing:var(--tracking-core);line-height:1.4;
}
.chp-chld__count .-fmnl{color:var(--ui-blue)}
[data-mode="pc"] #container .chp-chld__count{margin:48px 0 32px;font-size:18px}
[data-mode="tablet"] #container .chp-chld__count{margin:min(calc(100vw * 56 / 1400), 56px) 0 min(calc(100vw * 32 / 1400), 32px);font-size:clamp(16.8px, calc(100vw * 24 / 1400), 24px)}
[data-mode="mobile"] #container .chp-chld__count{margin:24px 0 16px;font-size:14px}

/* ── 19-3. 표 (시안 `CRTableDS`) ─────────────────────────────────────────
   ⚠ 레거시가 덮어써야 할 것 넷 — `custom.css:1020~1031`:
     `[class*="tbl-type01"]` 위 1px 검정 테두리 · `margin-top:30` · th #f6f6f6 18px/500 ·
     th·td `border-bottom:1px #ccc` · `.tbl-type0103 *:not(:first-child){border-left}` 세로선.
     B안은 사방 1px 라운드 껍데기에 가로선만 있고 세로선은 없다. */
.chp-chld .chp-chldtbl{
  width:100%;margin-top:0;table-layout:fixed;
  border:1px solid var(--grayscale-100);
  border-radius:calc(var(--radius-block) * 1px);
  border-collapse:separate;border-spacing:0;overflow:hidden;
}
.chp-chld .chp-chldtbl thead tr{background:var(--bg-gray)}
.chp-chld .chp-chldtbl th{
  border:0;background:none;text-align:left;vertical-align:middle;
  color:var(--ui-gray-666);font-weight:var(--fw-regular);line-height:1.4;white-space:nowrap;
}
.chp-chld .chp-chldtbl td{
  border:0;vertical-align:middle;text-align:left;
  color:var(--color-black);font-weight:var(--fw-regular);line-height:1.4;
  /* 문서 4-1 — 숫자·날짜가 한 글자씩 세로로 깨지던 원인이 `word-break:break-all` 이었다.
     nowrap 으로 막고 폭은 col 이 준다. */
  white-space:nowrap;
}
/* 행 사이만 가른다 — 마지막 행 아래에는 두지 않는다(껍데기 테두리가 그 자리다). */
.chp-chld .chp-chldtbl tbody tr + tr td{border-top:1px solid var(--grayscale-100)}
.chp-chld .chp-chldtbl th:last-child,
.chp-chld .chp-chldtbl .chp-chldtbl__act{text-align:center}
/* 0건 칸 — `colspan=6` 짜리 **첫 번째 셀**이라 위의 `:first-child`(좌여백)와 모바일
   `nth-of-type(1)`(카드 머리 ID 자리) 규칙에 함께 걸린다. 클래스를 두 번 적어 특이도를 올리고
   자리 배치를 되돌린다 — 학습 단어장에서 같은 함정을 밟았다(18-1절 주석). */
.chp-chld .chp-chldtbl .chp-chldtbl__empty td{
  text-align:center;color:var(--ui-gray-666);line-height:1.6;white-space:normal;
  padding-left:0;padding-right:0;
}

/* 열 폭 — 고정 px. 성명(3번째)만 auto 로 남는 폭을 흡수한다.
   ⚠ `<col>` 에 건다. `table-layout:fixed` 에서는 셀의 min/max-width 가 무시되고 열 폭을
     col(과 첫 행)만 정한다 — 학습 단어장에서 같은 함정을 밟았다(18-1절). */
[data-mode="pc"] #container .chp-chld .chp-chldtbl thead tr{height:54px}
[data-mode="pc"] #container .chp-chld .chp-chldtbl th,
[data-mode="pc"] #container .chp-chld .chp-chldtbl td{padding-left:0;padding-right:0}
[data-mode="pc"] #container .chp-chld .chp-chldtbl th:first-child,
[data-mode="pc"] #container .chp-chld .chp-chldtbl td:first-child{padding-left:24px}
[data-mode="pc"] #container .chp-chld .chp-chldtbl th:nth-of-type(3),
[data-mode="pc"] #container .chp-chld .chp-chldtbl td:nth-of-type(3){padding-right:20px}
[data-mode="pc"] #container .chp-chld .chp-chldtbl th{font-size:16px}
[data-mode="pc"] #container .chp-chld .chp-chldtbl th:first-child{padding-left:24px}
[data-mode="pc"] #container .chp-chld .chp-chldtbl td{padding-top:32px;padding-bottom:32px;font-size:16px}
[data-mode="pc"] #container .chp-chld .chp-chldtbl .chp-chldtbl__act{padding:32px 12px}
[data-mode="pc"] #container .chp-chld .chp-chldtbl th:last-child{padding:0 12px}
[data-mode="pc"] #container .chp-chld .chp-chldtbl .chp-chldtbl__empty td{padding:72px 0}
[data-mode="pc"] #container .chp-chld .chp-chldtbl col:nth-of-type(1){width:140px}
[data-mode="pc"] #container .chp-chld .chp-chldtbl col:nth-of-type(2){width:160px}
[data-mode="pc"] #container .chp-chld .chp-chldtbl col:nth-of-type(4){width:220px}
[data-mode="pc"] #container .chp-chld .chp-chldtbl col:nth-of-type(5){width:180px}
[data-mode="pc"] #container .chp-chld .chp-chldtbl col:nth-of-type(6){width:206px}

[data-mode="tablet"] #container .chp-chld .chp-chldtbl thead tr{height:min(calc(100vw * 76 / 1400), 76px)}
[data-mode="tablet"] #container .chp-chld .chp-chldtbl th,
[data-mode="tablet"] #container .chp-chld .chp-chldtbl td{padding-left:0;padding-right:0}
[data-mode="tablet"] #container .chp-chld .chp-chldtbl th:first-child,
[data-mode="tablet"] #container .chp-chld .chp-chldtbl td:first-child{padding-left:min(calc(100vw * 32 / 1400), 32px)}
[data-mode="tablet"] #container .chp-chld .chp-chldtbl th:nth-of-type(3),
[data-mode="tablet"] #container .chp-chld .chp-chldtbl td:nth-of-type(3){padding-right:min(calc(100vw * 20 / 1400), 20px)}
[data-mode="tablet"] #container .chp-chld .chp-chldtbl th{font-size:clamp(14.7px, calc(100vw * 21 / 1400), 21px)}
[data-mode="tablet"] #container .chp-chld .chp-chldtbl td{padding-top:min(calc(100vw * 40 / 1400), 40px);padding-bottom:min(calc(100vw * 40 / 1400), 40px);font-size:clamp(14.7px, calc(100vw * 21 / 1400), 21px)}
[data-mode="tablet"] #container .chp-chld .chp-chldtbl .chp-chldtbl__act{padding:min(calc(100vw * 40 / 1400), 40px) 12px}
[data-mode="tablet"] #container .chp-chld .chp-chldtbl th:last-child{padding:0 12px}
[data-mode="tablet"] #container .chp-chld .chp-chldtbl .chp-chldtbl__empty td{padding:min(calc(100vw * 96 / 1400), 96px) 0}
/* ⚠ 태블릿은 시안 값을 **1400 좌표계로 비례 축소**한다 — 열 폭뿐 아니라 **글자·여백까지 전부**다.
   한 번 열 폭만 줄이고 글자를 21px 고정으로 뒀더니 `tester0***` 가 110px 열을 넘어
   회원번호 칸을 침범했다(실측 1024). `table-layout:fixed` + `nowrap` 이라 넘친 글자가
   그대로 옆 칸 위로 지나간다 — 폭과 글자는 같은 비율로 움직여야 한다.
   ⚠ **글자에만 하한 12px 을 둔다**(`clamp`). 여백·높이·열폭은 작아져도 되지만 글자는
     769(태블릿 하한)에서 표 11.5 · 라벨 11.0 · [삭제] 9.9px 까지 내려갔다(실측).
     이 프로젝트의 caption 하한은 12px 이고 시안 `CRParts` 주석도 같은 값을 든다
     ([[caihong-tablet-scale]] · [[caihong-legacy-vw-fonts]]).
     하한에 걸려도 겹치지 않는다 — 769 에서 열1 82px 에 `tester0***` 가 12px 로 38px 다. 시안의 ta 값 합이
   150+180+260+210+240 = 1040 인데 그 화면의 트랙은 1400 이고 우리 태블릿 콘텐츠 폭은
   1024 에서 939 다 — px 를 그대로 쓰면 표가 101px 넘친다(실측 1085/1024).
   이 저장소의 태블릿 규칙이 그 축소다([[caihong-tablet-scale]]). */
[data-mode="tablet"] #container .chp-chld .chp-chldtbl col:nth-of-type(1){width:min(calc(100vw * 150 / 1400), 150px)}
[data-mode="tablet"] #container .chp-chld .chp-chldtbl col:nth-of-type(2){width:min(calc(100vw * 180 / 1400), 180px)}
[data-mode="tablet"] #container .chp-chld .chp-chldtbl col:nth-of-type(4){width:min(calc(100vw * 260 / 1400), 260px)}
[data-mode="tablet"] #container .chp-chld .chp-chldtbl col:nth-of-type(5){width:min(calc(100vw * 210 / 1400), 210px)}
[data-mode="tablet"] #container .chp-chld .chp-chldtbl col:nth-of-type(6){width:min(calc(100vw * 240 / 1400), 240px)}

/* [삭제] — DS `Button outline small`. 라이브 `.btn-b-lgry` 는 흰 면 + #666 이었다.
   "보이는 크기(36/46/32)와 탭 판정(40/46/40)이 분리돼 있어 문서가 걱정한 '버튼이 셀을 넘는'
   문제와 탭 타깃이 함께 풀린다." */
.chp-chld .chp-chldtbl .btn-b-lgry{
  display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;
  width:auto;background:var(--color-white);color:var(--ui-gray-333);
  border:1px solid var(--grayscale-100);
  border-radius:calc(var(--radius-btn) * 1px);
  font-weight:var(--fw-regular);line-height:1;
}
.chp-chld .chp-chldtbl .btn-b-lgry:hover{background:var(--surface-btn-active);border-color:var(--grayscale-100);color:var(--ui-gray-333)}
[data-mode="pc"] #container .chp-chld .chp-chldtbl .btn-b-lgry{height:36px;padding:0 12px;font-size:14px}
[data-mode="tablet"] #container .chp-chld .chp-chldtbl .btn-b-lgry{height:min(calc(100vw * 46 / 1400), 46px);padding:0 min(calc(100vw * 16 / 1400), 16px);font-size:clamp(14px, calc(100vw * 18 / 1400), 18px)}
[data-mode="mobile"] #container .chp-chld .chp-chldtbl .btn-b-lgry{height:32px;padding:0 12px;font-size:12px}

/* ── 19-4. 모바일 — 표를 카드로 접는다 ───────────────────────────────────
   6열은 357px 콘텐츠 폭에 들어가지 않는다(문서 1장: 컬럼당 글자 공간 14~31px).
   행 하나가 카드 하나이고 라벨은 `td[data-label]` 의 `::before` 가 만든다 — 표 마크업을
   유지한 채 카드처럼 보이게 하는 방법이고, 시안 주석이 지목한 그 방법이다.
   B안 카드는 **성명·ID 를 카드 머리로 세운다** — "카드에서 먼저 읽어야 하는 것이 누구인가".
   ⚠ 라벨 폭은 문서의 `22vw`(70~134px)가 아니라 **84px 고정**이다. 글자도 vw 가 아니라 px 다 —
     문서의 `3.13vw` 는 360 화면에서 11.3px · 320 에서 10px 이고 이 프로젝트의 하한은 12px 다. */
[data-mode="mobile"] #container .chp-chld .chp-chldtbl{
  display:block;border:0;border-radius:0;overflow:visible;
}
[data-mode="mobile"] #container .chp-chld .chp-chldtbl colgroup,
[data-mode="mobile"] #container .chp-chld .chp-chldtbl thead{display:none}
[data-mode="mobile"] #container .chp-chld .chp-chldtbl tbody{display:block}
[data-mode="mobile"] #container .chp-chld .chp-chldtbl tbody tr{
  display:grid;grid-template-columns:auto 1fr;align-items:baseline;
  padding:20px 0;border-top:1px solid var(--grayscale-100);
}
[data-mode="mobile"] #container .chp-chld .chp-chldtbl tbody tr + tr td{border-top:0}
[data-mode="mobile"] #container .chp-chld .chp-chldtbl td{
  display:block;border:0;padding:5px 0;font-size:14px;white-space:normal;word-break:keep-all;
}
[data-mode="mobile"] #container .chp-chld .chp-chldtbl td::before{
  content:attr(data-label);display:inline-block;width:84px;flex-shrink:0;
  color:var(--ui-gray-666);font-size:12px;line-height:1.5;
}
/* 카드 머리 — 성명(3번째)이 왼쪽, ID(1번째)가 그 옆. 둘은 라벨을 달지 않는다. */
[data-mode="mobile"] #container .chp-chld .chp-chldtbl td:nth-of-type(3){
  grid-area:1/1;padding:0;font-size:16px;font-weight:var(--fw-bold);
}
[data-mode="mobile"] #container .chp-chld .chp-chldtbl td:nth-of-type(1){
  grid-area:1/2;padding:0 0 0 8px;font-size:13px;color:var(--ui-gray-666);justify-self:start;
}
[data-mode="mobile"] #container .chp-chld .chp-chldtbl td:nth-of-type(3)::before,
[data-mode="mobile"] #container .chp-chld .chp-chldtbl td:nth-of-type(1)::before{content:none}
[data-mode="mobile"] #container .chp-chld .chp-chldtbl td:nth-of-type(2){grid-area:2/1/3/3;margin-top:10px}
[data-mode="mobile"] #container .chp-chld .chp-chldtbl td:nth-of-type(4){grid-area:3/1/4/3}
[data-mode="mobile"] #container .chp-chld .chp-chldtbl td:nth-of-type(5){grid-area:4/1/5/3}
[data-mode="mobile"] #container .chp-chld .chp-chldtbl .chp-chldtbl__act{
  grid-area:5/1/6/3;text-align:right;padding:0;margin-top:10px;
}
/* 모바일 0건 — 그 줄은 카드가 아니다. grid 배치를 풀고 한 줄로 둔다. */
[data-mode="mobile"] #container .chp-chld .chp-chldtbl tbody tr.chp-chldtbl__empty{display:block;padding:0}
/* ⚠ `width:100%` 가 있어야 한다. `<td>` 를 `display:block` 으로 바꿔도 브라우저가
   **shrink-to-fit** 으로 재서, 문장 폭 그대로인 131px 상자가 됐다(실측) — 그 안에서
   `text-align:center` 는 아무 일도 하지 않아 문구가 왼쪽에 붙어 보였다. */
[data-mode="mobile"] #container .chp-chld .chp-chldtbl .chp-chldtbl__empty td{
  width:100%;box-sizing:border-box;padding:48px 0;font-size:14px;grid-area:auto;font-weight:var(--fw-regular);
}
[data-mode="mobile"] #container .chp-chld .chp-chldtbl .chp-chldtbl__empty td::before{content:none}
/* ── 추천상품 결제 — 하단 고정 결제바 자리 ───────────────────────────────
   결제바는 position:fixed 라 문서 흐름에서 빠진다. 본문 끝(페이지네이션)이 바 밑에
   깔리지 않게 바 높이만큼 자리를 둔다. 시안이 이 여백을 결제바가 있는 화면에만
   두라고 했으므로(전달본 8.31 판) JSP 가 결제 가능 상품이 있을 때만 이 클래스를 붙인다.
   값은 바 높이 토큰 그대로 — PC 88 / Tablet 100 / Mobile 120.

   ⚠ 2026-09-21 에 "바가 푸터를 덮는다"는 지적으로 sticky 로 바꿨다가 **되돌렸다**
     (오너 확인 2026-09-21 — 그 근거였던 시안 이미지가 잘못된 것이었다).
     바는 종전대로 뷰포트 바닥에 고정이고, 이 여백은 본문 끝만 책임진다. */
.cp-paybar-pad{padding-bottom:calc(var(--chp-paybar-minh) * 1px + 24px)}

/* ── 푸터가 결제바에 가리지 않게 ─────────────────────────────────────────
   위 여백은 **본문 끝**만 책임진다 — 푸터는 #container 의 형제라 닿지 않는다.
   시안은 화면과 푸터를 함께 감싸는 래퍼에 바 높이만큼 여백을 둔다(Auto 모드 기준):
     .bp-pc{padding-bottom:88px} · .bp-ta{100px} · .bp-mo{120px}
   그래서 맨 아래까지 내리면 바가 그 빈 자리에 놓이고 푸터가 온전히 보인다.

   우리는 그 래퍼가 없다(body 는 높이가 뷰포트로 고정이라 padding 이 문서를 안 늘린다 —
   실측 body 상자 800 · 내용 1432). 그래서 **푸터 상자 자체를 그만큼 늘린다.**
   ⚠ margin 은 안 된다 — 문서 끝의 bottom margin 은 스크롤 영역에 안 잡힌다(실측).
   ⚠ 푸터의 padding-bottom 을 덮어써도 안 된다 — 푸터가 이미 제 여백을 갖고 있어
     덮으면 원래 여백이 사라진다(실측: 모바일 144 를 줬는데 96 만 늘었다).
     그래서 빈 블록을 하나 더 두어 상자만 늘린다. */
body:has(.cp-paybar-pad) footer.chp-footer::after{
  content:"";
  display:block;
  width:100%;
  height:calc(var(--chp-paybar-minh) * 1px);
}
/* ⚠ PC 는 푸터 높이가 **고정 413px** 이라(1390행) 안쪽 블록이 상자를 못 늘린다 —
   실측: ::after 는 88px 로 잡히는데 푸터 높이는 413 그대로였다. PC 만 상자를 키운다. */
body[data-mode="pc"]:has(.cp-paybar-pad) footer.chp-footer{
  height:calc(413px + var(--chp-paybar-minh) * 1px);
}

/* 챗봇(Zendesk) 런처 가리기 - 하단 결제바/결제 CTA 를 정확히 덮는 자리에 떠 있다.
   런처는 body 바로 밑 무클래스 div 안의 iframe#launcher 이고, 말풍선도 같은 div 에 들어있다
   -> 그 div 를 통째로 숨긴다. 클래스가 없어 :has() 말고는 잡을 방법이 없다.
   범위는 두 화면뿐이다: 상담및결제(결제바가 떠 있을 때만) / 묶음 결제화면(#orderPayForm, 항상).
   :has() 를 모르는 구형 브라우저는 예전처럼 런처가 보일 뿐이라 깨지지 않는다.
   ★ :not(:has(...)) 가 핵심 안전장치다. Zendesk 가 런처를 페이지 래퍼(body > div#wrap) 안에
     꽂으면 래퍼도 "런처를 품은 body 직속 div" 가 되어 화면 전체가 숨는다 — 하네스로 실제
     재현했다(직속 체인 > div > iframe 만으로는 못 막는다). 챗봇 컨테이너는 우리 훅
     (결제바 / 결제폼)을 절대 품지 않으므로, 그걸 품은 div 는 래퍼로 보고 제외한다. */
body:has(.chp-paybar.is-visible) > div:has(iframe#launcher):not(:has(.chp-paybar)),
body:has(#orderPayForm) > div:has(iframe#launcher):not(:has(#orderPayForm)){display:none}


/* ── 묶음 주문 정보입력(SCR-02-1) 필드 폭 ────────────────────────────────
   시안 df4b979b.js 의 G.w1~w5 그대로다. 모바일은 전폭(w5 우편번호만 고정).
   w1 배송지명·수령인·휴대폰 / w2 주소 / w3 상세주소 / w4 환불계좌 / w5 우편번호 */
/* ⚠ #cntArea 로 특이성을 올려야 한다 — style.css:257 `input[type="text"]{width:fit-content}` 가
   (0,1,1) 로 맨 클래스(0,1,0)를 이겨서 PC 에서 폭이 전부 input 기본 size 폭(약 200px)이 됐다.
   fit-content 는 input 에서 '내용'이 아니라 size 속성 기준이라 네 칸이 똑같이 좁아진다.
   태블릿·모바일 규칙은 [data-mode=…] 가 붙어 (0,2,0) 이라 이미 이기고 있다 — 그대로 둔다. */
#cntArea .op-w1{width:360px}
#cntArea .op-w2{width:480px}
#cntArea .op-w3{width:330px}
#cntArea .op-w4{width:320px}
#cntArea .op-w5{width:140px}
/* ★ #cntArea 를 반드시 붙인다 — 위 기본 규칙이 `#cntArea .op-w1`(1,1,0) 이라
   ID 가 없는 `[data-mode="tablet"] .op-w1`(0,2,0) 은 **져서 죽는다**.
   그 탓에 320px 화면에서도 PC 폭(360~480px)이 그대로 걸려 입력칸이 패널 밖으로 나갔다
   (실측 2026-09-17). 클래스 몇 개를 겹쳐도 ID 하나를 못 이긴다. */
[data-mode="tablet"] #cntArea .op-w1{width:490px}
[data-mode="tablet"] #cntArea .op-w2{width:650px}
[data-mode="tablet"] #cntArea .op-w3{width:450px}
[data-mode="tablet"] #cntArea .op-w4{width:440px}
[data-mode="tablet"] #cntArea .op-w5{width:190px}
[data-mode="mobile"] #cntArea .op-w1,
[data-mode="mobile"] #cntArea .op-w2,
[data-mode="mobile"] #cntArea .op-w3,
[data-mode="mobile"] #cntArea .op-w4{width:100%}
[data-mode="mobile"] #cntArea .op-w5{width:120px}

/* 배송지선택 칩 — 시안은 노란 pill 이다(선택 시 --color-yellow + 700). */
.op-chip{
  height:36px;padding:0 16px;border:0;border-radius:99px;cursor:pointer;white-space:nowrap;
  background:transparent;
  font:var(--fw-regular) 15px/1 var(--font-core);letter-spacing:var(--tracking-core);color:var(--color-black);
}
.op-chip.is-selected{background:var(--color-yellow);font-weight:var(--fw-bold)}
[data-mode="tablet"] .op-chip{height:48px;padding:0 22px;font-size:20px}
[data-mode="mobile"] .op-chip{height:44px;font-size:13px}

/* 조건부 블록 — 자동결제 설정(회색 면) · 환불계좌(흰 면 1px) */
.op-optbox{
  padding:24px;background:var(--bg-gray);border-radius:calc(var(--radius-block) * 1px);
  display:flex;flex-direction:column;gap:16px;
}
.op-formbox{
  padding:20px 24px 24px;background:var(--color-white);
  border:1px solid var(--ui-line-ddd);border-radius:calc(var(--radius-block) * 1px);
}
[data-mode="mobile"] .op-optbox{padding:16px}
[data-mode="mobile"] .op-formbox{padding:16px 16px 20px}

/* 카드 등록 안내 줄 — light yellow 면 + burnt cinnamon 본문(DS 조합) */
.op-cardrow{
  display:flex;align-items:center;justify-content:space-between;gap:16px;
  padding:14px 16px;border-radius:calc(var(--radius-field) * 1px);
  background:var(--color-white);border:1px solid var(--ui-line-ddd);
}
.op-cardrow--need{background:var(--color-light-yellow);border:0;color:var(--color-burnt-cinnamon)}
/* 등록된 카드 줄 — 라벨+카드번호 한 줄, 그 아래 쓰임 설명 한 줄(시안 구조). */
.op-cardrow__text{display:flex;flex-direction:column;gap:4px;min-width:0}
.op-cardrow__head{display:flex;align-items:baseline;gap:16px;flex-wrap:wrap;
  font:var(--fw-regular) 16px/1.6 var(--font-core);letter-spacing:var(--tracking-core);color:var(--color-black)}
[data-mode="tablet"] .op-cardrow__head{font-size:22px}
[data-mode="mobile"] .op-cardrow__head{font-size:14px;gap:8px}
[data-mode="mobile"] .op-cardrow{flex-direction:column;align-items:stretch;gap:10px}

/* 하단 액션 — 시안 df4b979b.js 하단 블록.
   PC·태블릿: 한 줄. 좌 [이전] / 우 (선택 상품 N건 · 총 결제금액 · [결제하기]).
   모바일: 금액 한 줄 + 전폭 버튼 둘. 구조가 달라 JSP 가 마크업을 가르고 여기서 각자 잡는다. */
.op-foot{
  min-height:88px;box-sizing:border-box;background:var(--color-white);
  border-top:1px solid var(--color-black);
  display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:80px;
}
.op-foot__sum{display:flex;gap:20px;align-items:center}
.op-foot__pair{display:flex;gap:12px;align-items:center}
/* 금액·건수 — 시안 PC 18/24, 태블릿 24/28 */
.op-foot__amount{font:var(--fw-bold) 24px/1.4 var(--font-core);letter-spacing:var(--tracking-core);color:var(--color-black);white-space:nowrap}
.op-foot__pair:first-child .op-foot__amount{font-size:18px}
[data-mode="tablet"] .op-foot{min-height:100px;gap:24px}
[data-mode="tablet"] .op-foot__sum{gap:24px}
[data-mode="tablet"] .op-foot__amount{font-size:28px}
[data-mode="tablet"] .op-foot__pair:first-child .op-foot__amount{font-size:24px}

/* 모바일 — 금액 줄(총 결제금액 (N건) ─ 금액) + 버튼 둘 */
.op-foot--mo{
  min-height:0;flex-direction:column;align-items:stretch;gap:16px;
  padding-top:16px;margin-bottom:40px;
}
.op-foot__mo-sum{
  display:flex;align-items:center;justify-content:space-between;gap:12px;
  font:var(--fw-regular) 14px/1.4 var(--font-core);letter-spacing:var(--tracking-core);color:var(--color-black);
}
.op-foot__mo-amount{font:var(--fw-bold) 20px/1.4 var(--font-core);letter-spacing:var(--tracking-core);color:var(--color-black);white-space:nowrap}
.op-foot__act{display:flex;gap:calc(var(--gap-button) * 1px)}
.op-foot__act .chp-btn{flex:1 1 0;min-width:0}

/* ── 묶음 주문 상품 요약 (SCR-02-1) ─────────────────────────────────────
   시안 df4b979b.js 의 G 값 그대로다 — 헤더 54 / 행 padding 20 24 / 총액 금액 22.
   표(.chp-table)를 쓰지 않는 이유는 컬럼 그리드가 아니라 "상품 : 금액" 두 덩어리라서다. */
.op-order__head{
  height:54px;display:flex;align-items:center;padding:0 24px;
  background:var(--bg-gray);
  font:var(--fw-bold) 16px/1.4 var(--font-core);letter-spacing:var(--tracking-core);color:var(--color-black);
}
.op-order__row{
  display:flex;align-items:center;gap:16px;padding:20px 24px;
  border-top:1px solid var(--ui-line-ddd);
}
.op-order__name{display:flex;flex-direction:column;gap:6px;flex:1 1 auto;min-width:0}
/* 상품명 줄높이 1.6 — 시안 실측(2026-09-10). 표의 셀(1.4)과 다르다: 여기는 표가 아니라
   상품 한 덩어리라 행 높이가 이 값으로 정해진다(20 + 25.6 + 6 + 28 + 20 = 100). */
.op-order__name > .chp-tc-strong{line-height:1.6}
.op-order__meta{display:flex;align-items:center;gap:10px}
.op-order__price{
  font:var(--fw-bold) 16px/1.4 var(--font-core);letter-spacing:var(--tracking-core);
  color:var(--color-black);white-space:nowrap;
}
.op-order__total{
  display:flex;align-items:center;justify-content:space-between;padding:20px 24px;
  border-top:1px solid var(--ui-line-ccc);background:var(--bg-gray);
}
.op-order__total-label{font:var(--fw-bold) 16px/1.4 var(--font-core);letter-spacing:var(--tracking-core);color:var(--color-black)}
.op-order__total-amount{font:var(--fw-bold) 22px/1.2 var(--font-core);letter-spacing:var(--tracking-core);color:var(--color-black)}
[data-mode="tablet"] .op-order__head{height:74px;padding:0 32px;font-size:22px}
[data-mode="tablet"] .op-order__row{padding:28px 32px}
[data-mode="tablet"] .op-order__price{font-size:22px}
[data-mode="tablet"] .op-order__total{padding:28px 32px}
[data-mode="tablet"] .op-order__total-label{font-size:22px}
[data-mode="tablet"] .op-order__total-amount{font-size:30px}
[data-mode="mobile"] .op-order__head{height:44px;padding:0 16px;font-size:14px}
/* 모바일은 상품 아래로 금액이 내려가고 우측 정렬된다(시안). */
[data-mode="mobile"] .op-order__row{flex-direction:column;align-items:stretch;gap:8px;padding:14px 16px}
[data-mode="mobile"] .op-order__price{font-size:14px;text-align:right}
[data-mode="mobile"] .op-order__total{padding:14px 16px}
[data-mode="mobile"] .op-order__total-label{font-size:14px}
[data-mode="mobile"] .op-order__total-amount{font-size:18px}

/* 약관 [보기] — 버튼이 아니라 회색 텍스트다(시안 캡처 그대로). 보이는 크기는 그대로 두고
   **판정만** 넓힌다(DS small · IconButton 과 같은 원리): 세로는 음수 마진으로 넓혀 행 높이를
   건드리지 않고, 가로는 최소폭으로 벌린 뒤 글자를 오른쪽에 붙인다. */
.op-linkbtn{
  border:0;background:none;cursor:pointer;
  flex-shrink:0;display:inline-flex;justify-content:flex-end;
  min-width:42px;padding:10px 0;margin:-10px 0;
}
[data-mode="mobile"] .op-linkbtn{min-width:46px;padding:15px 0;margin:-15px 0}

/* 결제 화면 제목 — 콘텐츠 열 가운데. 시안 df4b979b.js 의 G.h1 (PC 28 / Tablet 38 / Mobile 20).
   모바일·태블릿은 앱바가 제목을 들기 때문에 JSP 가 PC 에서만 그린다. */
.op-title{
  margin:0;text-align:center;
  font:var(--fw-bold) 28px/1.4 var(--font-core);letter-spacing:var(--tracking-core);color:var(--color-black);
}
[data-mode="tablet"] .op-title{font-size:38px}
[data-mode="mobile"] .op-title{font-size:20px}

/* ══ 묶음 결제완료(SCR-03) — 신규 화면 ════════════════════════════════════
   값은 시안 prototypes/checkout 의 SCR-03(3dc580bd.js) G 그대로다.
   블록 폭은 PC 760 / Tablet 1040 / Mobile 전폭이고 가운데 정렬이다 —
   정보입력 화면이 콘텐츠 열 전체를 쓰는 것과 달리 완료 화면은 좁은 단이다. */
.od-block{width:760px;max-width:100%;margin:0 auto;box-sizing:border-box}
[data-mode="tablet"] .od-block{width:1040px}
[data-mode="mobile"] .od-block{width:100%}

/* ① 완료 안내 — 성공을 뜻하는 색은 이 시스템에서 green 램프뿐이다(Complete 뱃지와 같은 색). */
.od-done{display:flex;flex-direction:column;align-items:center;gap:20px;width:100%}
.od-done__ring{
  width:72px;height:72px;border-radius:50%;flex-shrink:0;
  background:var(--color-light-green);color:var(--color-dark-green);
  display:inline-flex;align-items:center;justify-content:center;
}
.od-done__text{display:flex;flex-direction:column;align-items:center;gap:10px;text-align:center;width:100%}
.od-done__title{font:var(--fw-bold) 32px/1.4 var(--font-core);letter-spacing:var(--tracking-core);color:var(--color-black);white-space:nowrap}
.od-done__ordno{font:var(--fw-regular) 16px/1.6 var(--font-core);letter-spacing:var(--tracking-core);color:var(--ui-gray-666)}
[data-mode="tablet"] .od-done{gap:20px}
[data-mode="tablet"] .od-done__ring{width:96px;height:96px}
[data-mode="tablet"] .od-done__title{font-size:42px}
[data-mode="tablet"] .od-done__ordno{font-size:22px}
[data-mode="mobile"] .od-done{gap:14px}
[data-mode="mobile"] .od-done__ring{width:56px;height:56px}
[data-mode="mobile"] .od-done__title{font-size:22px}
[data-mode="mobile"] .od-done__ordno{font-size:13px}

/* ①-1 무통장입금 한 줄 — 대기 램프. 계좌·유의사항은 공용 팝업이 든다. */
.od-bank{
  display:flex;align-items:center;justify-content:space-between;gap:20px;
  padding:16px 20px;border-radius:calc(var(--radius-block) * 1px);
  background:var(--surface-status-longunpaid);color:var(--text-status-longunpaid);
  font:var(--fw-regular) 15px/1.6 var(--font-core);letter-spacing:var(--tracking-core);
}
[data-mode="tablet"] .od-bank{padding:20px 28px;font-size:20px}
[data-mode="mobile"] .od-bank{flex-direction:column;align-items:stretch;gap:12px;padding:16px;font-size:13px}

/* ② 주문 상품 요약 — 정보입력의 표와 같은 그릇. 달라지는 것은 상품별 한 줄(결제수단·자동결제)이다. */
/* 헤더의 묶음 뱃지 — .chp-badge 는 스스로 align-self:flex-start 라 부모 alignItems 로는
   가운데로 오지 않는다(시안 주석이 같은 것을 지적한다). 이 자리에서만 되돌린다. */
.od-order__head .chp-badge{align-self:center}
.od-order__head{
  height:54px;display:flex;align-items:center;gap:12px;padding:0 24px;
  background:var(--bg-gray);
  font:var(--fw-bold) 16px/1.4 var(--font-core);letter-spacing:var(--tracking-core);color:var(--color-black);
}
.od-order__row{display:flex;align-items:center;gap:16px;padding:20px 24px;border-top:1px solid var(--ui-line-ddd)}
.od-order__name{display:flex;flex-direction:column;gap:6px;min-width:0;flex:1 1 auto}
.od-order__title{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.od-order__price{font:var(--fw-bold) 16px/1.6 var(--font-core);letter-spacing:var(--tracking-core);color:var(--color-black);white-space:nowrap}
.od-order__total{display:flex;align-items:center;justify-content:space-between;padding:20px 24px;border-top:1px solid var(--ui-line-ccc);background:var(--bg-gray)}
.od-order__total-label{font:var(--fw-bold) 16px/1.6 var(--font-core);letter-spacing:var(--tracking-core);color:var(--color-black)}
.od-order__total-amount{font:var(--fw-bold) 30px/1.2 var(--font-core);letter-spacing:var(--tracking-core);color:var(--color-black)}
[data-mode="tablet"] .od-order__head{height:74px;padding:0 32px;font-size:22px}
[data-mode="tablet"] .od-order__row{padding:28px 32px}
[data-mode="tablet"] .od-order__price{font-size:22px}
[data-mode="tablet"] .od-order__total{padding:28px 32px}
[data-mode="tablet"] .od-order__total-label{font-size:22px}
[data-mode="tablet"] .od-order__total-amount{font-size:40px}
[data-mode="mobile"] .od-order__head{height:44px;padding:0 16px;font-size:14px}
[data-mode="mobile"] .od-order__row{flex-direction:column;align-items:stretch;gap:8px;padding:14px 16px}
[data-mode="mobile"] .od-order__price{font-size:14px;text-align:right}
[data-mode="mobile"] .od-order__total{padding:14px 16px}
[data-mode="mobile"] .od-order__total-label{font-size:14px}
[data-mode="mobile"] .od-order__total-amount{font-size:20px}

/* 행 안 [학습일정 등록하기] — 흰 면 + UI/blue 1px + blue 라벨(DS outlineBlue).
   높이만 DS 버튼보다 작다(30/40/44) — 행 안 부가 동작이라 화면 로컬 값이다(시안). */
.od-livebtn{
  height:30px;padding:0 10px;border-radius:4px;cursor:pointer;flex-shrink:0;
  border:1px solid var(--ui-blue);background:var(--color-white);color:var(--ui-blue);
  font:var(--fw-bold) 14px/1 var(--font-core);letter-spacing:var(--tracking-core);
  display:inline-flex;align-items:center;gap:6px;white-space:nowrap;
}
[data-mode="tablet"] .od-livebtn{height:40px;padding:0 14px;font-size:18px;gap:8px}
[data-mode="mobile"] .od-livebtn{height:44px;padding:0 14px;font-size:12px;align-self:flex-start}

/* ④ 결제 후 남은 할 일 — **한 그릇에 줄로** 놓는다. 같은 파란 블록을 둘 세우면 둘 다 배경으로 밀린다. */
.od-note{
  background:var(--surface-badge);border-radius:calc(var(--radius-block) * 1px);
  padding:16px 20px;display:flex;flex-direction:column;gap:10px;
  font:var(--fw-regular) 15px/1.6 var(--font-core);letter-spacing:var(--tracking-core);color:var(--ui-navy);
}
.od-note__row{display:flex;align-items:center;justify-content:space-between;gap:20px}
.od-note__sep{height:1px;background:var(--ui-line-ddd)}
/* 자동결제 안내는 두 줄이 한 덩어리다 — 둘째 줄이 첫 줄의 부연이라 줄 간격만 좁게 둔다. */
.od-note__stack{display:flex;flex-direction:column;gap:4px}
.od-note__link{
  border:0;background:none;padding:0;cursor:pointer;flex-shrink:0;white-space:nowrap;
  font:inherit;color:var(--ui-blue);text-decoration:underline;text-underline-offset:3px;
}
[data-mode="tablet"] .od-note{padding:22px 28px;font-size:20px}
[data-mode="mobile"] .od-note{padding:14px 16px;font-size:13px}
[data-mode="mobile"] .od-note__row{flex-direction:column;align-items:flex-start;gap:6px}

/* ④-1 결제 전 상품 — 요약과 같은 그릇에 **헤드만 대기 램프**다.
   회색 헤드로 두면 요약 표의 두 번째 덩어리로 읽혀 눈에 안 들어온다(시안 리뷰). */
.od-pending__head{
  min-height:54px;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:0 24px;
  background:var(--color-light-yellow);color:var(--color-burnt-cinnamon);
  font:var(--fw-bold) 16px/1.4 var(--font-core);letter-spacing:var(--tracking-core);
}
.od-pending__head-note{font-weight:var(--fw-regular);font-size:15px}
.od-pending__foot{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 24px;border-top:1px solid var(--ui-line-ccc)}
[data-mode="tablet"] .od-pending__head{min-height:74px;padding:0 32px;font-size:22px}
[data-mode="tablet"] .od-pending__head-note{font-size:20px}
[data-mode="tablet"] .od-pending__foot{padding:28px 32px}
[data-mode="mobile"] .od-pending__head{flex-direction:column;align-items:flex-start;gap:2px;padding:10px 16px;font-size:14px}
[data-mode="mobile"] .od-pending__head-note{font-size:13px}
[data-mode="mobile"] .od-pending__foot{flex-direction:column;align-items:flex-start;gap:8px;padding:14px 16px}

/* ⑤ 이동 버튼 — 결제 세션은 여기서 끝난다. */
.od-actions{display:flex;justify-content:center;gap:calc(var(--gap-button) * 1px)}
[data-mode="mobile"] .od-actions .chp-btn{flex:1 1 0;min-width:0}


/* ══ 주문 상세 (SCR-04) ══════════════════════════════════════════════════
   상단 정보 블록은 2열(주문/결제정보 | 배송정보)이고 그 아래 금액 요약 한 줄이 붙는다.
   태블릿·모바일은 1열로 접힌다(시안 ODTablet/ODMobile 과 같은 규칙).
   뱃지·표·빈상태는 전부 기존 chp 부품을 쓴다 — 여기 있는 것은 이 화면만의 골격뿐이다. */
.od-info{display:grid;grid-template-columns:minmax(0,1.35fr) 1px minmax(0,1fr);gap:32px;padding:28px 32px;background:var(--color-white)}
.od-info__rule{background:var(--ui-line-ddd)}
.od-info__col{display:flex;flex-direction:column}
.od-info__title{font:var(--fw-bold) 16px/1.4 var(--font-core);letter-spacing:var(--tracking-core);color:var(--color-black);margin-bottom:18px}
.od-info__list{display:flex;flex-direction:column;gap:14px}
.od-info__row{display:grid;grid-template-columns:96px 1fr;align-items:baseline;column-gap:20px}
.od-info__lab{font:var(--fw-regular) 16px/1.5 var(--font-core);letter-spacing:var(--tracking-core);color:var(--ui-gray-666)}
.od-info__val{font:var(--fw-regular) 16px/1.5 var(--font-core);letter-spacing:var(--tracking-core);color:var(--color-black);display:flex;align-items:center;gap:16px;flex-wrap:wrap}
.od-info__val b{font-weight:var(--fw-bold)}
/* 금액 요약 — 결제금액 · 취소금액 · 실 결제금액. 강조는 금액 강조색(--ui-blue). */
.od-sum{
  display:flex;align-items:center;justify-content:flex-end;gap:32px;
  padding:20px 32px;background:var(--bg-gray);border-top:1px solid var(--ui-line-ddd);
  font:var(--fw-regular) 16px/1.4 var(--font-core);letter-spacing:var(--tracking-core);color:var(--ui-gray-666);
}
.od-sum b{font-weight:var(--fw-bold);color:var(--color-black);margin-left:8px}
.od-sum__rule{width:1px;height:16px;background:var(--ui-line-ccc);flex-shrink:0}
.od-sum__net{display:inline-flex;align-items:baseline;gap:8px}
.od-sum__net b{font:var(--fw-bold) 24px/1.2 var(--font-core);letter-spacing:var(--tracking-core);color:var(--ui-blue);margin-left:0}
.od-sum__cancel b{color:var(--text-status-cancel-done)}
/* 유의사항 — 표 아래 각주 목록 */
.od-notes{display:flex;flex-direction:column;gap:8px;margin:0;padding:0;list-style:none}
.od-notes li{font:var(--fw-regular) 14px/1.6 var(--font-core);letter-spacing:var(--tracking-core);color:var(--ui-gray-666);text-wrap:pretty}
/* 취소영수증 병합 — 전체취소로 끝난 묶음 주문(stdyApplOrderDetail.jsp rcptMerge).
   상품 행들은 앞 5칸만 쓰고, 버튼 칸 하나를 행 높이 전체로 세운다(행은 각자 격자라 rowspan 이 없다).
   ⚠ 열 너비는 chp-components.css .chp-table--order-slot 의 --chp-cols 와 같아야 한다
     — 앞 5칸 + 마지막 칸(태블릿 170px · PC 145px). 그쪽이 바뀌면 여기도 같이 고친다. */
.od-rcpt-merge{display:grid;grid-template-columns:1fr 170px}
.od-rcpt-merge .chp-table__row{--chp-cols:minmax(320px,1fr) 120px 150px 170px 160px}
[data-mode="pc"] .od-rcpt-merge{grid-template-columns:1fr 145px}
[data-mode="pc"] .od-rcpt-merge .chp-table__row{--chp-cols:minmax(300px,1fr) 96px 130px 150px 130px}
.od-rcpt-merge__act{display:flex;align-items:center;justify-content:center;background:var(--color-white);box-shadow:inset 1px 0 0 var(--chp-tbl-rule)}
/* 버튼 칸 앞 세로선 — 모든 행·머리글에 둔다. 합친 칸에만 있으면 격자가 깨져 보였다(2026-10-14).
   이 표(주문 상세 상품 목록) 하나에만 건다 */
.chp-table--order-slot .chp-table__head > :last-child,
.chp-table--order-slot .chp-table__row > .chp-tc-act{box-shadow:inset 1px 0 0 var(--chp-tbl-rule)}
.od-rcpt-merge-m{margin-top:12px}

/* 회원정보 환불 계좌 목록 — 상품명 | 은행 · 계좌. 계좌는 줄바꿈하지 않는다.
   모바일은 공용 규칙이 상품명을 둘째 줄로 보내므로(chp-screens.css .chp-listbox) 계좌를 그 아래로.
   ⚠ 이름에 'box-' 를 넣지 않는다 — style.css:52 [class*="box-"] 가 padding:40px·radius 16 을 준다
     (처음 chp-listbox--refund 로 지었다가 상자가 커다란 네모칸이 됐다) */
.chp-refund-list .chp-listrow__sub{flex-shrink:0;white-space:nowrap}
[data-mode="mobile"] .chp-refund-list .chp-listrow > .chp-listrow__sub{order:4;flex-basis:100%}
/* 일부 취소 후 한 번에 취소한 상품 묶음 — 표 중간에 오면 아래 구분선이 필요하다
   (안쪽 행은 :last-child 라 선이 없고, 흰 배경이 감싸개의 inset 그림자를 가린다 	 border).
   카드 목록에서는 묶음 버튼 뒤 카드도 카드 사이 간격을 받는다 */
.od-rcpt-merge:not(:last-child){border-bottom:1px solid var(--chp-tbl-rule)}
.od-rcpt-merge-m + .chp-card{margin-top:12px}

/* ── 태블릿 — 시안 ODTablet.jsx 값을 **vw 로** 옮긴다 (2026-10-14 대조 교정) ─────
   ⚠ **정보 블록을 1열로 접고 있었다.** 시안은 PC 와 같은 2열이다
     (ODTInfo: `minmax(0,1.35fr) 1px minmax(0,1fr)` · gap 36 · padding 32px 36px).
   ⚠ **시안 숫자를 그대로 고정 px 로 적으면 안 된다.** 시안은 1400 캔버스를 통째로
     `zoom: w/1400` 로 줌인다(프로토타입 셸의 `k = w / REF.ta`). 고정 px 로 옮기면
     1399 에서만 맞고 769 에서는 두 열이 겹친다 — 실측에서 주문번호와 배송상태가 포개졌고
     요약 금액이 `260` / `원` 으로 끊겼다(2026-10-14).
     그래서 7절 태블릿 규칙을 따른다 — 길이는 `min(calc(100vw*N/1400), Npx)`,
     글자는 `clamp(N×0.70, calc(100vw*N/1400), Npx)`(가독성 하한). 1399 에서 시안과 같아지고
     좋은 폭에서는 시안의 zoom 처럼 같이 줄어든다.
   ⚠ 테두리·구분선은 시안이 `--ui-line-ccc` 다(PC 는 ddd) — 태블릿만 갈아끼운다. */
[data-mode="tablet"] .od-info{
  gap:min(calc(100vw * 36 / 1400), 36px);
  padding:min(calc(100vw * 32 / 1400), 32px) min(calc(100vw * 36 / 1400), 36px);
}
[data-mode="tablet"] .od-info__title{
  font-size:clamp(18.2px, calc(100vw * 26 / 1400), 26px);
  margin-bottom:min(calc(100vw * 22 / 1400), 22px);
}
[data-mode="tablet"] .od-info__list{gap:min(calc(100vw * 18 / 1400), 18px)}
[data-mode="tablet"] .od-info__row{
  grid-template-columns:min(calc(100vw * 150 / 1400), 150px) 1fr;
  column-gap:min(calc(100vw * 24 / 1400), 24px);
}
[data-mode="tablet"] .od-info__lab,
[data-mode="tablet"] .od-info__val{font-size:clamp(16.8px, calc(100vw * 24 / 1400), 24px)}
[data-mode="tablet"] .od-info__val{gap:min(calc(100vw * 16 / 1400), 16px)}
[data-mode="tablet"] .od-info__rule{background:var(--ui-line-ccc)}
[data-mode="tablet"] .od-sum{
  gap:min(calc(100vw * 36 / 1400), 36px);
  padding:min(calc(100vw * 24 / 1400), 24px) min(calc(100vw * 36 / 1400), 36px);
  font-size:clamp(16.8px, calc(100vw * 24 / 1400), 24px);
  border-top-color:var(--ui-line-ccc);
}
[data-mode="tablet"] .od-sum b{margin-left:min(calc(100vw * 10 / 1400), 10px)}
[data-mode="tablet"] .od-sum__rule{height:min(calc(100vw * 22 / 1400), 22px)}
[data-mode="tablet"] .od-sum__net b{font-size:clamp(25.2px, calc(100vw * 36 / 1400), 36px);margin-left:0}
/* 요약 줄은 줄바꿈을 허용하지 않는다 — `260` 과 `원` 이 끈기면 금액으로 안 읽힌다. */
[data-mode="tablet"] .od-sum > span{white-space:nowrap}
[data-mode="tablet"] .od-notes li{font-size:18px}

[data-mode="mobile"] .od-info{grid-template-columns:1fr;gap:20px;padding:16px}
[data-mode="mobile"] .od-info__rule{height:1px;width:auto}
[data-mode="mobile"] .od-info__title{font-size:14px;margin-bottom:12px}
[data-mode="mobile"] .od-info__list{gap:10px}
[data-mode="mobile"] .od-info__row{grid-template-columns:80px 1fr;column-gap:12px}
[data-mode="mobile"] .od-info__lab,
[data-mode="mobile"] .od-info__val{font-size:12px}
[data-mode="mobile"] .od-info__val{gap:8px}
/* 금액 요약은 모바일에서 세로로 접고 라벨-값을 양끝으로 벌린다 */
[data-mode="mobile"] .od-sum{flex-direction:column;align-items:stretch;gap:8px;padding:14px 16px;font-size:12px}
[data-mode="mobile"] .od-sum > span{display:flex;align-items:baseline;justify-content:space-between}
[data-mode="mobile"] .od-sum__rule{display:none}
[data-mode="mobile"] .od-sum__net b{font-size:18px}
[data-mode="mobile"] .od-notes li{font-size:12px}

/* 취소 모달(SCR-05) — 사유 라디오는 줄바꿈되는 가로 나열, 상세 사유는 글자수 카운터가 우측에 붙는다.
   나머지(모달 셸·라디오·체크·textarea·버튼)는 전부 기존 부품이다. */
/* 시안은 머리와 금액줄의 라벨·값을 양끝으로 벌린다. 치수·태블릿·모바일 규칙은
   .od-order__head / .od-order__row / .od-sum 것을 그대로 쓰므로 여기서는 정렬만 바꾼다. */
.od-order__head--between{justify-content:space-between}
.od-sum--between{justify-content:space-between}

/* ⚠ 본문 기준 글자 크기 — 태블릿·모바일에서 크기를 스스로 정하지 않는 부품이 부풀던 것을 막는다.
   경로: common.css 가 `body{font-size:var(--init-fs)}` 를 걸고, m.css:55 가 태블릿·모바일에서
   그 토큰을 `3.73vw` 로 덮는다 → 768px 에서 body 가 **28.65px**(실측 2026-09-14).
   chp 부품 대부분은 제 크기를 갖지만 `.chp-tc-strong` 은 굵기·색만 정하고 크기는 **상속**이라,
   결제화면 상품명이 28px 로 커졌다(다른 화면은 전부 명시 크기라 멀쩡했다 — 전역 토큰 문제가 아니다).
   #cntArea 는 묶음결제 5화면에만 있는 컨텐츠 루트라 영향 범위가 그 안으로 닫힌다.
   크기를 가진 부품(뱃지·금액·표 셀 등)은 그대로다. */
#cntArea{font-size:16px}
[data-mode="mobile"] #cntArea{font-size:14px}

/* 입력칸은 폰트를 상속하지 않아 위 규칙으로 잡히지 않는다 — 그리고 레거시가 먼저 잡고 있다:
   style.css:258 `input[type="text"]{font-size:var(--fom-fs)}` 가 `.chp-field` 보다 특이성이 높고
   (0,1,1 vs 0,1,0), m.css:60 이 태블릿·모바일에서 `--fom-fs:3.2vw` 로 덮는다 → 768px 에서 24.6px.
   .chp-field 는 제 크기(--chp-form-field-fs: PC 16 / 태블릿 20 / 모바일 14)를 이미 갖고 있으므로
   **그 값을 되돌려 주기만 한다** — 새 값을 만들지 않는다. #cntArea 로 특이성을 올려 범위도 닫는다.

   ▸ 태블릿에서는 이 규칙이 지고, 그게 맞다: 위쪽 `[data-mode="tablet"] #container .chp-field`
     (이 파일 2055 줄, 특이성 1,2,0 > 여기 1,1,0)가 height·padding·radius·font-size 를 한 세트로
     1400 기준 비례축소한다. 1024 폭이면 20 → 14.63px · 58 → 42.7px 로 **비율이 맞다**.
     태블릿 실측(2026-09-14, iPad 1024×768)에서 20px 이 아니라고 여기를 고치려 들지 말 것. */
#cntArea .chp-field,
#cntArea .chp-textarea{font-size:calc(var(--chp-form-field-fs) * 1px)}
/* 주문상세 제목 — 시안은 ← + 대표상품명 외 N건 + 묶음 뱃지 + ⓘ 를 한 줄에 둔다.
   글자 크기·여백은 .chp-page-title 것을 그대로 쓰고 여기서는 가로 배치만 더한다.
   .chp-badge 는 스스로 align-self:flex-start 라 가운데로 오지 않으므로 이 자리에서만 되돌린다
   (주문 상품 머리 .od-order__head 와 같은 처리). */
.od-title{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.od-title .chp-badge{align-self:center}
.od-title__back{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;padding:0;background:none;border:0;color:var(--color-black);cursor:pointer;flex-shrink:0}
.od-title__back svg{width:18px;height:18px;display:block}
/* ← 는 **PC 전용**이다 — 태블릿·모바일은 앱바 왼쪽 칸이 뒤로가기를 맡아 둘이 된다
   (오너 지적 2026-10-14). 시안도 ODTablet 은 제목을 평범한 텍스트로 두고 ODPc 만 ← 를 갖는다. */
[data-mode="tablet"] .od-title__back,
[data-mode="mobile"] .od-title__back{display:none}


/* 묶음 표식 — [묶음] 뱃지 + ⓘ 한 덩어리. 누르면 설명이 열린다(DT-4579).
   시안은 설명을 별도 블록으로 떼지 않는다 — 목록에서 보던 [묶음] 표식과 이어져야 해서
   뱃지에 ⓘ 를 붙여 "누르면 더 있다"를 알리고 설명은 접어 둔다.
   ⓘ 색은 기본 --text-dim, 열리면 --ui-blue 다(새 색을 들이지 않는다). */
.od-bundle{position:relative;display:inline-flex;align-items:center;flex-shrink:0}
.od-bundle__btn{
  display:inline-flex;align-items:center;gap:6px;
  padding:0;border:0;background:transparent;cursor:pointer;font:inherit;
}
.od-bundle__icon{font-size:16px;line-height:1;color:var(--text-dim);transition:color .12s linear}
.od-bundle__btn[aria-expanded="true"] .od-bundle__icon{color:var(--ui-blue)}
/* PC·태블릿 — 뱃지 아래로 떨어지는 상자. 위 10px 은 마진이 아니라 패딩이어야 한다:
   마우스가 뱃지에서 상자로 내려오는 도중 hover 가 끊기면 안 된다. */
.od-bundle__tip{
  position:absolute;top:100%;left:0;z-index:20;
  width:360px;max-width:min(360px, calc(100vw - 32px));box-sizing:border-box;
  padding:10px 0 0;
  font:var(--fw-regular) 15px/1.6 var(--font-core);letter-spacing:var(--tracking-core);
  color:var(--ui-navy);text-wrap:pretty;
}
.od-bundle__tip > span{
  display:block;padding:16px 18px;box-sizing:border-box;
  background:var(--surface-badge);border:1px solid var(--ui-blue);border-radius:8px;
}
/* 모바일 — 떠 있는 상자는 좁은 화면에서 뒤를 가리기만 한다. 뱃지 아래 전폭 블록으로 편다(시안). */
[data-mode="mobile"] .od-bundle{display:flex;flex-direction:column;align-items:flex-start;gap:8px;width:100%}
[data-mode="mobile"] .od-bundle__tip{position:static;width:100%;max-width:none;padding:0;font-size:13px}
[data-mode="mobile"] .od-bundle__tip > span{padding:12px 14px}
.cm-reasons{display:flex;flex-wrap:wrap;gap:12px 24px;align-items:center}
.cm-detail{display:flex;flex-direction:column;gap:6px;align-items:stretch;min-width:0}
.cm-detail .cm-count{text-align:right}
[data-mode="mobile"] .cm-reasons{gap:10px 16px}
/* 모달 안에서는 정보 행을 라벨 위·값 아래로 쌓는다 — 96px 라벨 열이 모달 폭을 잡아먹는다 */
.chp-modal .od-info__row{grid-template-columns:1fr;row-gap:10px}

/* 주문 상세 — 상품 표 위 줄: 왼쪽 "주문 상품 N건", 오른쪽 "취소 가능 N건" + [전체 취소 요청].
   왼쪽 글자는 목록의 총건수와 같은 부품(.chp-countrow__count)을 그대로 쓴다. */
.od-allcancel{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:16px}
.od-allcancel__act{display:flex;align-items:center;gap:16px;flex-shrink:0}
/* 모바일은 폭이 좁아 줄을 나눈다 — 버튼은 오른쪽에 붙인다 */
[data-mode="mobile"] .od-allcancel{flex-direction:column;align-items:stretch;gap:10px;margin-bottom:12px}
[data-mode="mobile"] .od-allcancel__act{justify-content:space-between}

/* ══ 미성년 결제자 단계 (신규 2026-09-16 · 전달본 handoff-consult-pay) ═══════════
   값은 전달본 MinorFlow.jsx 와 1:1. 새 토큰은 만들지 않았다.

   ★ 태블릿 규칙이 없는 것은 **빠뜨린 게 아니다.** 전달본이 `mo ? X : Y` 한 갈래뿐이고
     spec 에도 "Tablet 은 PC 와 값이 같아 ta 를 pc 의 별칭으로 뒀다" 고 적혀 있다.

   ★ 패널 안은 **제목 + 점선 + 본문만**이다. 버튼줄(.op-minor__acts)은 패널 밖에 선다. */
#cntArea .op-minor__welcome{
  margin:0;text-align:center;font:var(--fw-bold) 24px/1.4 var(--font-core);
  letter-spacing:var(--tracking-core);color:var(--ui-navy);
}
#cntArea .op-minor__lead{
  margin:12px 0 0;text-align:center;font:var(--fw-regular) 16px/1.4 var(--font-core);
  letter-spacing:var(--tracking-core);color:var(--ui-gray-666);
}

/* 생년월일 낱자 상자 — 전달본 BirthBoxes (56×64 · r8 · 26px) */
#cntArea .op-birth{margin:32px 0 40px;display:flex;justify-content:center;align-items:center;gap:8px}
#cntArea .op-birth__box{
  width:56px;height:64px;box-sizing:border-box;border-radius:8px;background:var(--color-white);
  border:1px solid var(--grayscale-100);display:flex;align-items:center;justify-content:center;
  font:var(--fw-medium) 26px/1 var(--font-core);color:var(--color-black);
}
#cntArea .op-birth__sep{font:var(--fw-regular) 22px/1 var(--font-core);color:var(--grayscale-200);padding:0 4px}

#cntArea .op-minor{
  width:960px;max-width:100%;margin:0 auto;box-sizing:border-box;min-height:240px;
  background:var(--bg-gray);border:4px solid var(--grayscale-100);border-radius:40px;
  padding:48px 24px;display:flex;flex-direction:column;align-items:center;justify-content:center;
  gap:32px;text-align:center;
}
#cntArea .op-minor__title{
  margin:0;font:var(--fw-bold) 28px/1.4 var(--font-core);letter-spacing:var(--tracking-core);
  color:var(--color-black);text-wrap:pretty;
}
#cntArea .op-minor__title em{font-style:normal;color:var(--ui-blue)}
/* 점선 구분선 — 전달본 Dashes (640 고정 · 1px dashed) */
#cntArea .op-minor__dash{width:640px;max-width:100%;height:0;border-top:1px dashed var(--color-dark-blue)}
#cntArea .op-minor__body{
  margin:0;font:var(--fw-medium) 17px/1.7 var(--font-core);letter-spacing:var(--tracking-core);
  color:var(--ui-gray-666);text-wrap:pretty;
}
#cntArea .op-minor__body b{font-weight:var(--fw-bold);color:var(--ui-navy)}

/* 선택 알약 — radius 99 · 높이 64 · 고른 쪽만 채움. DS Button 의 세 size 어디에도 없는
   형태라 그쪽을 쓰지 않는다(전달본 spec 의 ⚠ 와 같은 판단). PC·태블릿은 가로로 눕는다. */
#cntArea .op-minor__opts{display:flex;flex-direction:row;justify-content:center;align-items:center;gap:16px}
#cntArea .op-minor__opt{
  min-width:236px;height:64px;padding:0 32px;box-sizing:border-box;
  background:var(--color-white);border:0;border-radius:99px;cursor:pointer;
  font:var(--fw-medium) 17px/1 var(--font-core);letter-spacing:var(--tracking-core);color:var(--color-black);
}
#cntArea .op-minor__opt.is-selected{background:var(--ui-navy);color:var(--color-white);font-weight:var(--fw-bold)}

/* 인증 버튼과 완료 표시가 같은 자리에 선다 — 높이를 잡아 두어야 자리가 튀지 않는다 */
#cntArea .op-minor__auth{margin-top:40px;min-height:48px;display:flex;justify-content:center;align-items:center}
/* 버튼 줄 — 패널 밖. 한 화면에 파랑 채움은 하나다(DS 규칙) */
#cntArea .op-minor__acts{
  margin-top:56px;display:flex;justify-content:center;align-items:center;
  gap:calc(var(--gap-button) * 1px);padding-bottom:80px;
}

/* 보호자 본인인증 완료 표시 — 두 자리에 같은 것이 선다(동의 단계 · 정보입력의 결제 정보 옆).
   ⚠ 전달본 캡처는 방패지만 방패 자산이 없다. 원+체크는 이미 쓰는 어휘이고 색도 기존 토큰이다. */
#cntArea .op-seal{
  display:inline-flex;align-items:center;gap:8px;
  font:var(--fw-regular) 15px/1.4 var(--font-core);letter-spacing:var(--tracking-core);color:var(--ui-gray-666);
}
#cntArea .op-seal--big{gap:10px;font-size:17px}
#cntArea .op-seal b{font-weight:var(--fw-bold);color:var(--color-black)}
#cntArea .op-seal__mark{
  width:20px;height:20px;border-radius:50%;background:var(--color-dark-green);
  display:inline-block;position:relative;flex-shrink:0;
}
#cntArea .op-seal--big .op-seal__mark{width:24px;height:24px}
#cntArea .op-seal__mark::after{
  content:"";position:absolute;left:7px;top:4px;width:4px;height:8px;
  border:solid var(--color-white);border-width:0 2px 2px 0;transform:rotate(45deg);
}
#cntArea .op-seal--big .op-seal__mark::after{left:8.5px;top:5px;width:5px;height:9px}

/* ── 모바일만 덜어낸다 (전달본 mo 값) ──────────────────────────────────── */
[data-mode="mobile"] #cntArea .op-minor__welcome{font-size:18px}
[data-mode="mobile"] #cntArea .op-minor__lead{font-size:13px;margin-top:8px}
[data-mode="mobile"] #cntArea .op-birth{margin:20px 0 28px;gap:5px}
[data-mode="mobile"] #cntArea .op-birth__box{width:30px;height:38px;font-size:16px}
[data-mode="mobile"] #cntArea .op-birth__sep{font-size:15px;padding:0 2px}
[data-mode="mobile"] #cntArea .op-minor{
  width:100%;min-height:0;border-width:3px;border-radius:20px;padding:24px 16px;gap:20px;
}
[data-mode="mobile"] #cntArea .op-minor__title{font-size:18px}
[data-mode="mobile"] #cntArea .op-minor__dash{width:100%}
[data-mode="mobile"] #cntArea .op-minor__body{font-size:13px}
[data-mode="mobile"] #cntArea .op-minor__opts{flex-direction:column;gap:10px;width:100%}
[data-mode="mobile"] #cntArea .op-minor__opt{width:100%;min-width:0;height:48px;font-size:14px}
[data-mode="mobile"] #cntArea .op-minor__auth{margin-top:24px;min-height:44px}
/* 모바일 버튼줄 — 전달본대로 **세로로 쌓되 주 액션([다음])이 위**다(오너 지시 2026-09-16).
   ★ column-reverse 를 쓴다 — 마크업의 DOM 순서는 [이전][다음] 그대로 두고 보이는 순서만 뒤집는다.
     탭 이동·스크린리더는 논리 순서를 지키고, 화면에서는 [다음]이 위로 온다. */
[data-mode="mobile"] #cntArea .op-minor__acts{
  margin-top:32px;flex-direction:column-reverse;padding-bottom:16px;width:100%;
}
[data-mode="mobile"] #cntArea .op-minor__acts .chp-btn{width:100%}
[data-mode="mobile"] #cntArea .op-seal{font-size:12px;gap:6px}
[data-mode="mobile"] #cntArea .op-seal--big{font-size:14px}
[data-mode="mobile"] #cntArea .op-seal__mark{width:16px;height:16px}
[data-mode="mobile"] #cntArea .op-seal--big .op-seal__mark{width:20px;height:20px}
[data-mode="mobile"] #cntArea .op-seal__mark::after{left:5.5px;top:3px;width:3px;height:7px}

/* ══ 20. 교재배송정보 (mypage/selectStdyBookDlvryList · mypage/stdyBookDlvry.jsp) ═══
   기준: 차이홍_퍼블/배송정보/handoff-textbook-delivery (2026.09.16 전달본)
         source/textbook-delivery/screens/TDParts.jsx · data.js

   라이브는 주문을 카드로 묶고 그 안에 교재를 여러 줄 넣었다. 시안은 **한 행 = 한 교재**의
   6열 표다(주문일 · 주문번호 · 교재명 · 배송정보 · 주문상태 · 배송조회). 쿼리가 이미 교재
   단위로 내려오므로 JSP 의 묶음만 풀었고 SQL 은 건드리지 않았다.

   ⚠ 마크업은 한 벌이다. 교재명·주문상태가 PC 에서는 3·5번째 칸이지만 Mobile 카드에서는
     **머리로 올라간다** — DOM 을 나누지 않고 grid-template-areas 가 자리를 바꾼다.
   ⚠ 어휘는 자녀정보 B안(19절)과 같다 — 1px --grayscale-100 테두리 + radius/block,
     --bg-gray 머리줄, 왼쪽 정렬(액션 열만 가운데), 고정 px 열 폭.
   ══════════════════════════════════════════════════════════════════════════ */

/* ── 20-1. 총 N개 ───────────────────────────────────────────────────────
   19-2 와 같은 부품이다. 숫자만 --ui-blue(라이브 --fmnl 보라를 걷은 자리). */
.chp-dlv__count{
  display:block;color:var(--color-black);font-weight:var(--fw-bold);
  letter-spacing:var(--tracking-core);line-height:1.4;
}
.chp-dlv__count .-fmnl{color:var(--ui-blue)}
[data-mode="pc"] #container .chp-dlv__count{margin:48px 0 24px;font-size:18px}
[data-mode="tablet"] #container .chp-dlv__count{margin:min(calc(100vw * 40 / 1400), 40px) 0 min(calc(100vw * 32 / 1400), 32px);font-size:clamp(16.8px, calc(100vw * 24 / 1400), 24px)}
[data-mode="mobile"] #container .chp-dlv__count{margin:24px 0 16px;font-size:14px}

/* ── 20-2. 표 껍데기 ────────────────────────────────────────────────────
   Mobile 에서는 껍데기를 걷는다 — 카드가 위쪽 1px 선으로만 갈린다(시안 TDCards). */
.chp-dlvtbl{
  border:1px solid var(--grayscale-100);
  border-radius:calc(var(--radius-block) * 1px);
  overflow:hidden;background:var(--color-white);
}
[data-mode="mobile"] #container .chp-dlvtbl{border:0;border-radius:0;overflow:visible;background:none}

/* 머리줄 — 액션 열만 가운데. Mobile 은 값마다 라벨을 따로 달아서 머리가 필요 없다. */
.chp-dlvtbl__head{
  display:grid;align-items:center;background:var(--bg-gray);
  color:var(--ui-gray-666);letter-spacing:var(--tracking-core);line-height:1.4;
}
.chp-dlvtbl__head > span{overflow:hidden}
.chp-dlvtbl__head > span:last-child{text-align:center}
[data-mode="mobile"] #container .chp-dlvtbl__head{display:none}

/* 0건 — 그릇은 목록이 있을 때와 같다(시안 `empty`). */
.chp-dlvtbl__empty{
  margin:0;text-align:center;color:var(--ui-gray-666);
  letter-spacing:var(--tracking-core);line-height:1.6;background:var(--color-white);
}
[data-mode="pc"] #container .chp-dlvtbl__empty{padding:72px 0;font-size:16px}
[data-mode="tablet"] #container .chp-dlvtbl__empty{padding:min(calc(100vw * 96 / 1400), 96px) 0;font-size:clamp(14.7px, calc(100vw * 21 / 1400), 21px)}
[data-mode="mobile"] #container .chp-dlvtbl__empty{padding:48px 0;font-size:14px;border-top:1px solid var(--grayscale-100);background:none}

/* ── 20-3. 행 ───────────────────────────────────────────────────────────
   칸 사이 여백은 **폭 안에서** 뗀다(box-sizing:border-box) — 열 경계가 움직이지 않는다.
   없으면 태블릿에서 긴 주문번호(Free1754977446896_EB118)가 교재명에 붙는다(시안 주석). */
.chp-dlvrow{display:grid;align-items:stretch;background:var(--color-white)}
.chp-dlvrow + .chp-dlvrow{box-shadow:inset 0 1px 0 var(--grayscale-100)}
.chp-dlvrow__cell{
  display:flex;align-items:center;box-sizing:border-box;overflow:hidden;
  color:var(--color-black);letter-spacing:var(--tracking-core);line-height:1.4;
}
.chp-dlvrow__lbl{display:none}
.chp-dlvrow__val{display:block;min-width:0}
/* 주문일·주문번호는 한 글자씩 깨지지 않게 nowrap 이다(19-3 과 같은 원인).
   교재명은 반대로 keep-all — 남는 칸을 흡수하는 열이라 줄바꿈이 일어난다. */
.chp-dlvrow__cell--date .chp-dlvrow__val,
.chp-dlvrow__cell--order .chp-dlvrow__val{white-space:nowrap}
.chp-dlvrow__cell--book .chp-dlvrow__val{word-break:keep-all}
/* 배송정보 — 배지 한 줄, 택배사·송장번호 한 줄. 「신청」 건은 배지 하나뿐이다. */
.chp-dlvrow__cell--ship .chp-dlvrow__val{display:flex;flex-direction:column;align-items:flex-start;gap:6px}
.chp-dlvrow__sub{color:var(--ui-gray-666);white-space:nowrap;line-height:1.4}
.chp-dlvrow__cell--act{justify-content:center}

/* ── 20-4. PC — 1140 트랙 안 6열 ────────────────────────────────────────
   첫 칸 폭에 왼쪽 여백 24 를 더해 열 경계를 맞춘다(시안 TDGEO.pc).
   액션 열 148 은 시안이 계산한 값이다 — small [조회] 2자 ≈ 100 + 좌우 24. */
[data-mode="pc"] #container .chp-dlvtbl__head,
/* ★ 주문상태 128 → 97 · 배송조회 148 → 97 (시안 10-02 판).
   오너가 "주문상태와 배송조회 사이가 멀다" 고 지적해 둘 다 내용에서 다시 잡은 값이다 —
   주문상태 = 가장 긴 뱃지 77 + 오른쪽 20 · 배송조회 = small [조회] 49 + 좌우 24.
   줄어든 82 는 교재명이 받는다(실측 254 → 336).
   ⚠ 하한을 `min-content` 로 둔다 — 시안은 렌더 뒤에 재서 `--tbl-cN` 으로 넘치는 열만
     넓히는데(10-02 text-clamp.js) 우리는 그 JS 가 없다. 97 은 여유가 0.2px 뿐이라
     상태 문구가 한 글자만 길어져도 잘린다. 바닥을 내용 폭으로 두면 그 열만 넓어지고
     교재명이 줄어든다 — 시안이 JS 로 하던 것과 같은 결과다. */
[data-mode="pc"] #container .chp-dlvrow{
  grid-template-columns:136px 224px minmax(120px, 1fr) 248px 97px 97px;
}
[data-mode="pc"] #container .chp-dlvtbl__head{height:54px;font-size:16px}
[data-mode="pc"] #container .chp-dlvtbl__head > span:first-child{padding-left:24px}
[data-mode="pc"] #container .chp-dlvtbl__head > span:not(:last-child){padding-right:20px}
[data-mode="pc"] #container .chp-dlvrow__cell{padding:20px 20px 20px 0;font-size:16px}
[data-mode="pc"] #container .chp-dlvrow__cell--date{padding-left:24px}
[data-mode="pc"] #container .chp-dlvrow__cell--act{padding:20px 12px}
[data-mode="pc"] #container .chp-dlvrow__sub{font-size:14px}
/* 줄 위 여백 — 시안 TDBoard 는 PC 48 · Tablet 56 · Mobile 32 다(단어장은 48/48/28).
   PC 48 과 모양은 21절 전역 규칙이 그대로 주므로 여기서는 다른 두 구간만 덮는다. */

/* ── 20-5. Tablet — 1288 트랙(1400 - section-side 56 × 2) ───────────────
   시안 TDGEO.ta 값을 1400 좌표계로 비례 축소한다(7절 규칙). 가독성 항목만 하한을 둔다. */
[data-mode="tablet"] #container .chp-dlvtbl__head,
[data-mode="tablet"] #container .chp-dlvrow{
  /* ★ 주문상태 150 → 111 · 배송조회 180 → 112 (시안 10-02 판, PC 와 같은 근거).
     둘 다 하한은 `min-content` 다 — 글자가 14 에서 멈춰 뱃지·버튼은 안 줄어드는데
     칸은 vw 로 줄어 중간 폭에서 모자란다(실측 1024: 뱃지 69.8 + 여백 14.6 = 84.4 > 81.2). */
  /* 날짜·주문번호도 바닥을 내용 폭으로 둔다 — 시안 10-02 노트가 지목한 자리다
     ("날짜 · 주문번호가 칸을 넘침"). 글자 하한 14.7 때문에 769 에서 주문번호가 5px 잘렸다.
     우리 주문번호는 시안 샘플보다 길다(`1790835063236_EB9998` 20자). */
  /* ⚠ 좌우 바닥은 `max()` 로 고정값이어야 한다 — `min-content` 는 **행마다 따로** 계산된다
       (머리줄과 각 행이 제각각 grid 다). 주문번호 길이가 행마다 달라 열이 틀어졌다
       (실측 769: 머리 94,254,432 ↔ 행 100,274,417). 시안은 한 번 재서 `--tbl-cN` 에 넣어
       모두가 같은 값을 보게 했는데, 우리는 그 JS 가 없으므로 고정값을 긐는다.
     바닥 근거(글자 하한 14.7 구간 실측):
       주문번호 769 에서 필요 164 · 800 에서 166  → 167
       주문상태 769 에서 필요 65 · 900 에서 71   → 72 (900 위로는 vw 값이 더 크다)
     ⚠ `Free1754977446896_EB118`(23자) 가 실제로 나오면 주문번호 바닥을 다시 재야 한다. */
  grid-template-columns:min(calc(100vw * 172 / 1400), 172px) max(167px, min(calc(100vw * 290 / 1400), 290px)) minmax(100px, 1fr) min(calc(100vw * 270 / 1400), 270px) max(72px, min(calc(100vw * 111 / 1400), 111px)) min(calc(100vw * 112 / 1400), 112px);
}
[data-mode="tablet"] #container .chp-dlvtbl__head{height:min(calc(100vw * 76 / 1400), 76px);font-size:clamp(14.7px, calc(100vw * 21 / 1400), 21px)}
[data-mode="tablet"] #container .chp-dlvtbl__head > span:first-child{padding-left:min(calc(100vw * 32 / 1400), 32px)}
[data-mode="tablet"] #container .chp-dlvtbl__head > span:not(:last-child){padding-right:min(calc(100vw * 20 / 1400), 20px)}
[data-mode="tablet"] #container .chp-dlvrow__cell{padding:min(calc(100vw * 28 / 1400), 28px) min(calc(100vw * 20 / 1400), 20px) min(calc(100vw * 28 / 1400), 28px) 0;font-size:clamp(14.7px, calc(100vw * 21 / 1400), 21px)}
[data-mode="tablet"] #container .chp-dlvrow__cell--date{padding-left:min(calc(100vw * 32 / 1400), 32px)}
[data-mode="tablet"] #container .chp-dlvrow__cell--act{padding-left:min(calc(100vw * 12 / 1400), 12px);padding-right:min(calc(100vw * 12 / 1400), 12px)}
[data-mode="tablet"] #container .chp-dlvrow__sub{font-size:clamp(12.6px, calc(100vw * 18 / 1400), 18px)}
[data-mode="tablet"] #container .chp-dlv .brd-paging{margin-top:min(calc(100vw * 56 / 1400), 56px)}

/* ── 20-6. Mobile — 표를 카드로 접는다 ──────────────────────────────────
   여섯 칸은 358 트랙에 들어가지 않는다. **머리는 교재명 + 주문상태**다 — 카드에서 먼저
   읽어야 하는 것이 "무슨 교재가 어떻게 됐나"라서다(시안 TDCards). 그 아래가 라벨-값 세 줄,
   [조회]는 오른쪽 아래. 자리는 grid-template-areas 가 바꾼다(DOM 순서는 PC 표 그대로다). */
[data-mode="mobile"] #container .chp-dlvrow{
  grid-template-columns:1fr auto;
  grid-template-areas:"book pay" "date date" "order order" "ship ship" "act act";
  padding:20px 0;border-top:1px solid var(--grayscale-100);background:none;
}
[data-mode="mobile"] #container .chp-dlvrow + .chp-dlvrow{box-shadow:none}
[data-mode="mobile"] #container .chp-dlvrow__cell--book{grid-area:book;align-items:flex-start}
[data-mode="mobile"] #container .chp-dlvrow__cell--pay{grid-area:pay;justify-content:flex-end;align-items:flex-start;padding-left:12px}
[data-mode="mobile"] #container .chp-dlvrow__cell--date{grid-area:date}
[data-mode="mobile"] #container .chp-dlvrow__cell--order{grid-area:order}
[data-mode="mobile"] #container .chp-dlvrow__cell--ship{grid-area:ship;align-items:flex-start}
[data-mode="mobile"] #container .chp-dlvrow__cell--act{grid-area:act;justify-content:flex-end;margin-top:10px}
/* 교재명이 카드 제목이 된다 — 표에서는 본문 글자였다. */
[data-mode="mobile"] #container .chp-dlvrow__cell--book .chp-dlvrow__val{
  font-size:16px;font-weight:var(--fw-bold);line-height:1.4;
}
/* 라벨-값 — 라벨 열 76 고정. 값이 길어도 라벨 열이 밀리지 않는다. */
[data-mode="mobile"] #container .chp-dlvrow__cell--date,
[data-mode="mobile"] #container .chp-dlvrow__cell--order,
[data-mode="mobile"] #container .chp-dlvrow__cell--ship{
  display:flex;align-items:baseline;gap:12px;padding:5px 0;
}
[data-mode="mobile"] #container .chp-dlvrow__cell--date .chp-dlvrow__lbl,
[data-mode="mobile"] #container .chp-dlvrow__cell--order .chp-dlvrow__lbl,
[data-mode="mobile"] #container .chp-dlvrow__cell--ship .chp-dlvrow__lbl{
  display:block;flex:0 0 76px;font-size:12px;line-height:1.5;color:var(--ui-gray-666);
}
[data-mode="mobile"] #container .chp-dlvrow__cell--date .chp-dlvrow__val,
[data-mode="mobile"] #container .chp-dlvrow__cell--order .chp-dlvrow__val,
[data-mode="mobile"] #container .chp-dlvrow__cell--ship .chp-dlvrow__val{font-size:14px;line-height:1.5}
[data-mode="mobile"] #container .chp-dlvrow__cell--book .chp-dlvrow__lbl{display:none}
[data-mode="mobile"] #container .chp-dlvrow__sub{font-size:13px}
[data-mode="mobile"] #container .chp-dlv .brd-paging{margin-top:32px}

/* ── 20-7. 배송조회 모달 — 라벨-값 넷 ───────────────────────────────────
   라벨은 표의 열 이름을 그대로 쓴다(시안) — 같은 값을 두 이름으로 부르지 않는다. */
.chp-dlvinfo{display:grid;grid-template-columns:auto 1fr;margin:0}
.chp-dlvinfo > dt{
  color:var(--ui-gray-666);letter-spacing:var(--tracking-core);line-height:1.5;
  white-space:nowrap;
}
.chp-dlvinfo > dd{
  margin:0;color:var(--color-black);font-weight:var(--fw-medium);
  letter-spacing:var(--tracking-core);line-height:1.5;word-break:keep-all;
}
[data-mode="pc"] .chp-dlvinfo{column-gap:16px}
[data-mode="pc"] .chp-dlvinfo > dt{flex-basis:104px;min-width:104px;padding:7px 0;font-size:16px}
[data-mode="pc"] .chp-dlvinfo > dd{padding:7px 0;font-size:16px}
[data-mode="tablet"] .chp-dlvinfo{column-gap:16px}
[data-mode="tablet"] .chp-dlvinfo > dt{min-width:104px;padding:7px 0;font-size:20px}
[data-mode="tablet"] .chp-dlvinfo > dd{padding:7px 0;font-size:20px}
[data-mode="mobile"] .chp-dlvinfo{column-gap:16px}
[data-mode="mobile"] .chp-dlvinfo > dt{min-width:84px;padding:7px 0;font-size:14px}
[data-mode="mobile"] .chp-dlvinfo > dd{padding:7px 0;font-size:14px}


/* ══ 21. 페이지 이동 — 전역 공용 부품 ═══════════════════════════════════════
   기준: 시안 공용 부품 _lib/Pager.jsx — 안쪽은 전부 DS PaginationDot 이다.
   "스타일을 새로 만들지 않았다(오너 지시 2026.09.10 — 현재 스타일을 그대로)."

   ⚠ ui:paging 을 쓰는 **28개 화면 전부**에 걸린다(2026-09-17 전역 전환, 오너 지시).
     그 전에는 학습 단어장·교재배송정보에만 걸어 두었는데, 시안이 이것을 공통 부품으로
     규정한 이상 화면마다 따로 거는 것은 같은 것을 여러 벌 두는 일이다.

   레거시와 달라지는 것 — custom.css:588~597 · m.css:747 · m.css:1713
     · 활성 채움  --mc → --ui-navy. **색은 안 바뀐다** — 둘 다 #40476b 다
                  (common.css:83 · chp-tokens.css:94). 토큰 이름만 chp 쪽으로 옮긴 것이다
     · hover      --mc 채움 → **없음**. DS PaginationDot 에 hover 페인트가 없다 —
                  안 걷으면 지나가는 칸이 활성 칸과 같은 페인트가 된다
     · 원 크기    PC 40 유지 / **Tablet 2.08vw(1024 에서 ≈21) → 40** / Mobile 5.21vw(≈20) → 32
                  DS Foundations: "Pagination은 PC=Tablet 공용 고정" — 태블릿 비례 축소를
                  쓰지 않는 자리다. 모바일 값은 DS 에 없어 시안 Pager 가 32/12/14 로 정했다
     · 화살표     --icon 스프라이트(12×20) → DS 셀브론 mask + currentColor(24 상자).
                  스프라이트는 색을 못 바꾼다 — 16-5·16-11 과 같은 패턴이다
     · 양 끝      부활성 없음 → is-disabled(--grayscale-200 · pointer-events:none)
     · 1페이지    늘 보임 → **줄 전체를 감춘다**

   특이성 — #container .brd-paging(1,2,0)이 custom.css(0,2,0)와 m.css(0,2,0)를 둘 다 이긴다.
   **m.css 가 맨 마지막에 실리므로** 클래스만으로는 못 이긴다.

   ⚠ 클래스 이름이 뜻과 반대다 — paging.tag 에서 **이전** 링크가 brd-paging-next,
     **다음** 링크가 brd-paging-prev 다. 이름을 고치면 28개 화면이 전부 영향권이라
     글리프를 이름에 맞춰 건다.
   ⚠ type="TALK" 변형(단어장 ajax 2곳)은 화살표 클래스가 talk-paging-* 이라 셀브론 규칙에
     안 걸린다. 그 둘은 인라인 SVG 를 쓰고 있어 원래도 스프라이트를 안 탔다 — 원·색만 바뀐다.
   ══════════════════════════════════════════════════════════════════════════ */
/* ── 범위 — 본문과 **레이어 팝업 둘 다** (2026-10-22) ──────────────────────
   `#popup_area` 는 `#container` 의 **형제**다. 그래서 `#container` 로만 걸린 이 규칙이
   모달 안 페이징에는 닿지 않았고, 교육국 찾기 팝업에서 레거시 `.brd-paging` 이 그대로
   나왔다 — `m.css` 의 vw 라 744 에서 39×39 로 부풀었다(설계 20).
   `:is()` 는 인자 중 가장 센 것의 특이성을 쓰므로 (1,2,0) 그대로다 — m.css 를 계속 이긴다. */
:is(#container, #popup_area) .brd-paging{gap:calc(var(--space-paging-dot) * 1px);margin-top:48px}
:is(#container, #popup_area) .brd-paging a{
  width:40px;height:40px;border-radius:999px;
  background:transparent;color:#000;font-size:16px;font-weight:var(--fw-medium);line-height:1;
}
:is(#container, #popup_area) .brd-paging a.active{background:var(--ui-navy);color:var(--color-white)}
:is(#container, #popup_area) .brd-paging a:hover{background:transparent;color:#000}
:is(#container, #popup_area) .brd-paging a.active:hover{background:var(--ui-navy);color:var(--color-white)}
/* 화살표 — 스프라이트를 걷고 DS 셀브론을 mask 로 얹는다. 상자 24 · 보이는 획 13.1. */
:is(#container, #popup_area) .brd-paging [class*="brd-paging"]:hover{background:transparent}
:is(#container, #popup_area) .brd-paging [class*="brd-paging"]:before{
  width:24px;height:24px;transform:none;
  background:currentColor;
  -webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;
  -webkit-mask-position:center;mask-position:center;
  -webkit-mask-size:contain;mask-size:contain;
}
:is(#container, #popup_area) .brd-paging .brd-paging-next:before{
  -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M15.5654 6.56543L10.1309 12L15.5654 17.4346L14.4346 18.5654L7.86816 12L14.4346 5.43457L15.5654 6.56543Z' fill='black'/%3E%3C/svg%3E");
  mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M15.5654 6.56543L10.1309 12L15.5654 17.4346L14.4346 18.5654L7.86816 12L14.4346 5.43457L15.5654 6.56543Z' fill='black'/%3E%3C/svg%3E");
}
:is(#container, #popup_area) .brd-paging .brd-paging-prev:before{
  -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M16.1318 12L9.56543 18.5654L8.43457 17.4346L13.8691 12L8.43457 6.56543L9.56543 5.43457L16.1318 12Z' fill='black'/%3E%3C/svg%3E");
  mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M16.1318 12L9.56543 18.5654L8.43457 17.4346L13.8691 12L8.43457 6.56543L9.56543 5.43457L16.1318 12Z' fill='black'/%3E%3C/svg%3E");
}
:is(#container, #popup_area) .brd-paging .is-disabled{color:var(--grayscale-200);cursor:default;pointer-events:none}
/* DT-4653 — 단어장 type="TALK" 화살표는 인라인 SVG 색(#2F343D) 고정이라 위 회색이 안 먹던 것 · 비활성만 글자색 따라감 */
:is(#container, #popup_area) .brd-paging .is-disabled svg path{fill:currentColor !important}

/* 페이지가 하나면 **아무것도 그리지 않는다** — 시안 Pager 의 규칙이다("넘길 곳이 없는 자리에
   회색 컨트롤을 세우면 눌러 봐야 아무 일도 없다는 것을 알게 된다").
   ⚠ 감추는 것은 **줄 전체**다. 두 페이지가 되는 순간 숫자와 화살표가 함께 돌아온다.
   태그는 1페이지여도 늘 그리므로 **숫자 링크가 활성 하나뿐인지**로 가른다 — 화살표 둘은
   클래스에 brd-paging 이 들어 있어 이 검사에서 제외된다.
   ⚠ :has() 를 모르는 브라우저는 이 규칙을 통째로 무시한다 — 페이징이 그대로 보인다(종전 동작). */
:is(#container, #popup_area) .brd-paging:not(:has(a:not(.active):not([class*="brd-paging"]))){display:none}

/* 모바일만 줄인다 — 40/40 이면 여섯 칸이 375 프레임에서 102px 넘친다(시안 Pager). */
[data-mode="mobile"] :is(#container, #popup_area) .brd-paging{gap:12px;margin-top:28px}
[data-mode="mobile"] :is(#container, #popup_area) .brd-paging a{width:32px;height:32px;font-size:14px}
[data-mode="mobile"] :is(#container, #popup_area) .brd-paging [class*="brd-paging"]:before{width:24px;height:24px}
/* ══ 22. 결제이력 — 2026.09.21 전달본 싱크 (stdy/appl/stdyApplPayment.jsp) ═══
   기준: 차이홍_퍼블/결제이력/handoff-payment-history (SCR-04a)
         source/payment-history/screens/PHPc.jsx · PHTablet.jsx · PHMobile.jsx

   PC 는 이미 맞다 — chp-components.css:774 의 `--chp-cols:214px … 124px` 가 시안
   `PH_COLS`(date 190 + padL 24 · learner 96 · method 130 · amount 150 · status 150 · act 124)와
   같은 값이다. 여기서 고치는 것은 **Tablet 뿐**이다.

   ⚠ 무엇이 깨져 있었나 — Tablet 열 폭이 **고정 px** 합 1,270 이라 1024 트랙(≈912)을 넘겨
     상태·상세보기 두 열이 화면 밖으로 밀려 있었다(실측). 시안 Tablet 은 1400 기준 vw 유동이다.
   ⚠ 시안은 Tablet 을 **6열**로 접는다 — PC 7열이 태블릿 폭에 안 들어가서 `결제수단`을
     학습상품 셀의 meta 한 줄로 내렸다(PHTablet.jsx). 마크업은 한 벌이라 DOM 은 7칸 그대로 두고
     4번째 칸을 감춘 뒤, 상품 셀 안의 meta 줄을 태블릿에서만 보인다.
   ══════════════════════════════════════════════════════════════════════════ */

/* 열 폭 — 시안 PHT_COLS(date 180 + padL 28 · learner 128 · amount 180 · status 176 · act 144).
   학습상품이 남는 폭을 가져간다(minWidth 240). 값은 옮겨 적되 단위만 1400 기준 vw 다. */
/* ⚠ 열마다 **하한**이 있다. 폭은 vw 로 줄어드는데 글자는 14px 에서 멈추므로(7-0절 가독성
     하한), 비례만 쓰면 769 쪽에서 글자가 칸을 넘는다 — 실측 769 에서 주문번호 +39 ·
     상태 +15 · [상세보기] +5 가 잘렸다. 하한은 **글자가 하한(14px)일 때 필요한 폭**이다:
       주문번호 148.1 + 첫칸 왼쪽여백 15.4 → 164
       학습자 48.6 + 오른여백 11 → 60   ·   결제금액 96.9 + 11 → 108
       상태 배지(부분취소 + 취소 1건) → 140   ·   [상세보기] 버튼 → 76
     ⚠ 하한은 769 만 보고 정하면 모자란다 — **여백도 vw 로 줄기 때문**에 중간 폭(900~1200)에서
       다시 몇 px 씩 부족했다(실측 주문번호 +2 · 상태 +10). 글자가 하한에 머무는 구간 전체에서
       `칸 − 여백 ≥ 글자` 가 성립하도록 잡았다. 상태는 설계값도 176 → 180 으로 올렸다.
     합 520 + 학습상품 최소 132 = 652 < 769 트랙(707.6) 이라 들어간다. */
[data-mode="tablet"] .chp-table--history{
  --chp-cols:
    clamp(195px, calc(100vw * 252 / 1400), 252px)
    minmax(0, 1fr)   /* 시안 10-02 판이 minWidth 0 이다 — 아래 ★ */
    clamp(60px, calc(100vw * 128 / 1400), 128px)
    clamp(108px, calc(100vw * 180 / 1400), 180px)
    clamp(140px, calc(100vw * 180 / 1400), 180px)
    clamp(76px, calc(100vw * 124 / 1400), 124px);
}
/* ★ 학습상품 열은 **하한이 없다**(2026-10-15). 시안 10-02 판이 `minWidth: 0` 으로 바꾸면서
   "넘치면 그 열만 넓히고 학습상품 열이 줄어든다" 로 정리했다 — 나머지 열의 하한을 지키는 것이
   먼저다. 240 으로 받쳐 두었더니 첫 칸 여백 24 를 되돌리자 769 에서 표가 9px 넘쳼다(실측). */
/* 4번째 칸(결제수단)만 접는다 — 내용은 상품 셀의 meta 줄이 든다. **태블릿은 6열이다.**
   ⚠ 학습자를 같이 접을 뻄했다가 되돌렸다(2026-10-15). 전달본이 세 판이라 여기서 갈린다:
     8-31 판은 학습자를 상품 셀로 접었고(`차*이 · 카드결제`), 9-21 판이 오너 지시로 다시
     제 열로 돌렸고(160), 10-02 판이 그걸 이어받았다. 오너 최종 확인 — **10-02 판이 최신이고
     학습자는 제 열이 맞다.** 판이 여럿일 땐 날짜만 보지 말고 오너에게 열 구성을 확인한다. */
[data-mode="tablet"] .chp-table--history .chp-table__head > :nth-child(4),
[data-mode="tablet"] .chp-table--history .chp-table__row > :nth-child(4){display:none}
/* 첫 칸 왼쪽 여백은 시안이 28 이다(PC 는 24 — chp-components.css:786). */
/* ⚠ #container 가 있어야 한다 — 7-1절의 `[data-mode="tablet"] #container .chp-table__row > *`
     가 (1,2,0)이라 id 없는 (0,4,0) 선택자는 진다. 여백이 28 이 아니라 20 으로 나왔었다. */
[data-mode="tablet"] #container .chp-table--history .chp-table__head > :first-child,
[data-mode="tablet"] #container .chp-table--history .chp-table__row > :first-child{
  padding-left:min(calc(100vw * 28 / 1400), 28px);
}
/* 상품 셀의 결제수단 meta — 태블릿에서만 보인다(PC 는 제 열이 있고 모바일은 카드가 따로 든다). */
.chp-tc-method{display:none}
[data-mode="tablet"] #container .chp-table--history .chp-tc-method{display:block}

/* 보조 글자 — 시안은 PC 14 · Tablet 18 · Mobile 12 인데 산출물은 세 모드 모두 14 고정이다
   (chp-components.css:741). 태블릿만 커지고 모바일은 작아진다. */
[data-mode="tablet"] #container .chp-tc-sub{font-size:clamp(14px, calc(100vw * 18 / 1400), 18px)}
[data-mode="mobile"] #container .chp-tc-sub{font-size:12px}
/* 금액은 본문보다 한 단 크다(시안 Tablet 28/700 · 본문 26). */
[data-mode="tablet"] #container .chp-table--history .chp-tc-right.chp-tc-strong{
  font-size:clamp(19.6px, calc(100vw * 28 / 1400), 28px);
}

/* ── 22-1. 칸 안쪽 여백 — 시안은 첫 칸 말고 **왼쪽 여백이 없다** ──────────────
   시안 셀 기본은 `padding:'32px 0'` 이고, 오른쪽 여백만 필요한 칸에 따로 준다
   (PHPc/PHTablet: product·amount 20~24 · act 8~12). 첫 칸만 padL 24/28 이다.
   산출물은 모든 칸에 `--chp-tbl-px` 를 **좌우로** 넣어(chp-components.css:731) 칸마다
   안쪽이 20(PC)·28(TA) 씩 좁았다.

   ⚠ 이것이 학습자명이 밀리던 원인이다 — Tablet 1024 에서 칸 93.6 · 좌우 여백 29.3 →
     안쪽 64.3 인데 `조****경` 이 65.9 라 **1.6px 모자라 두 줄**이 됐다.
     설계 좌표(1400)로 환산하면 칸 128 · 안쪽 88 · 글자 90.2 — 2.2px 차이다.
   ⚠ 시안 샘플은 `차*이`(3자)라 이 문제가 안 보였다. 실데이터 마스킹은 `조****경`(5자)다.
     왼쪽 여백을 걷으면 안쪽이 108 이 되어 90.2 를 넉넉히 담는다.
   ⚠ `.chp-table--history` **한 표에만** 건다 — 다른 표(payable·detail·order-slot)는
     열 폭이 이 전제로 잡혀 있지 않다. 넓히려면 그 표들도 각각 재야 한다. */
.chp-table--history .chp-table__head > :not(:first-child),
.chp-table--history .chp-table__row > :not(:first-child){padding-left:0}
/* ⚠ 태블릿은 7-1절의 `[data-mode="tablet"] #container .chp-table__row > *`(1,3,0)가
     위 규칙(0,3,0)을 이긴다 — 같은 전제를 한 단 위 특이성으로 한 번 더 못 박는다. */
[data-mode="tablet"] #container .chp-table--history .chp-table__head > :not(:first-child),
[data-mode="tablet"] #container .chp-table--history .chp-table__row > :not(:first-child){padding-left:0}

/* ── 22-2. 주문번호 — 우리 주문번호가 시안 샘플보다 길다 ──────────────────────
   시안 첫 칸은 `width: date + padL` 에 **왼쪽 여백만** 준다(셀 기본 `padding:32px 0`).
   산출물은 오른쪽에도 --chp-tbl-px 를 넣어 안쪽이 그만큼 좁았다. 먼저 그것을 걷는다.

   그래도 태블릿은 모자란다 — 설계 좌표(1400) 기준 실측:
       시안 샘플 `20260720-000841`   15자  147.1  → date 180 안에 들어간다
       실데이터 `1789634236980_EB118` 19자  190.5  → **넘친다**
                `Free1754977446896_EB118` 23자  224.4  → 더 넘친다
   시안 주석도 "주문번호(18px, 15자)가 180 을 거의 채운다"고 적어 두었다 — 그 15자가
   `YYYYMMDD-NNNNNN` 형식 샘플이고, 우리 주문번호는 `{epoch}_{상품코드}` 라 최대 23자다.
   그래서 date 를 **180 → 200** 으로 넓힌다(첫 열 200 + padL 28 = 228). 19자 190.2 를 담고
   9.8 이 남는다. ⚠ 23자(`Free…` 224.4)는 여전히 넘친다 — 그 형식이 실제로 쓰이면 다시 재야 한다.
   ⚠ 늘어난 20 은 **맨 뒤 액션 열이 내준다**(144 → 124, 오너 지시 2026-09-21). 실측에서 그 열만
     여유가 있었다(안쪽 124 · [상세보기] 95.3 → 28.7 남음). 학습상품은 09.21 에 오너가 일부러
     넓힌 열이라 건드리지 않는다. 상태(−1)·결제금액·학습자에는 여유가 없다.
   ⚠ PC 는 sub 가 14px 이라 23자가 174.6 이고, 오른쪽 여백만 걷으면 안쪽 190 으로 들어간다 —
     **PC 열 폭은 시안 값 그대로 둔다.** */
.chp-table--history .chp-table__head > :first-child,
.chp-table--history .chp-table__row > :first-child{padding-right:0}
[data-mode="tablet"] #container .chp-table--history .chp-table__head > :first-child,
[data-mode="tablet"] #container .chp-table--history .chp-table__row > :first-child{padding-right:0}
/* 액션 열 오른쪽 여백은 시안이 12 다(PHTablet `padding:'32px 12px 32px 0'`). */
[data-mode="tablet"] #container .chp-table--history .chp-table__head > :last-child,
[data-mode="tablet"] #container .chp-table--history .chp-table__row > :last-child{
  padding-right:min(calc(100vw * 12 / 1400), 12px);
}
/* 주문번호는 줄을 바꾸지 않는다 — 한 글자씩 끊기면 식별자로 못 읽는다. */
.chp-table--history .chp-table__row > :first-child .chp-tc-sub{white-space:nowrap}
/* 학습자·금액·주문번호는 줄을 바꾸지 않는다 — 한 글자씩 끊기면 읽히지 않는다(19-3 과 같은 이유). */
.chp-table--history .chp-table__row > :nth-child(3),
.chp-table--history .chp-table__row .chp-tc-right.chp-tc-strong{white-space:nowrap}

/* ══ 23. 상담 및 결제 — 시안 대조 교정 (mypage/selectCounselCmplList) ═══════
   기준: 차이홍_퍼블/prototypes/consult-and-pay/index.html (전달본 manifest 안 소스)
         ui_kits/consult-and-pay/ScreenPC.jsx · ScreenTablet.jsx · ScreenMobile.jsx
         + DS 번들 `AccordionHeader` · `renderPayBar`

   오너 지적 2026-09-21 — ① 구매 완료 옆 화살표가 시안과 다르다 ② 하단 결제바가
   `선택 N건` 이 아니라 `선택 상품 N건` 이어야 한다.

   ② 는 JSP 에서 고쳤다(`chp-paybar__count-label`). DS `renderPayBar` 의 기본값이
   `countLabel = '선택 상품'` 이고 `<span>{countLabel}</span><span>{count}건</span>` 으로 그린다.
   ⚠ **윗줄 전체선택 바는 그대로 `선택 N건` 이 맞다** — `renderSelectAllBar` 가
     `countLabel ?? \`선택 ${selected}건\`` 이라 화면이 값을 안 넘기면 그 문구다. 둘이
     다른 것이 의도다(전체선택 줄은 고른 수, 결제바는 결제 대상 상품 수).

   ① 아코디언 화살표 — 산출물은 유니코드 ▶(\25B6)·▼(\25BC) 글리프를 쓴다
   (chp-components.css:925~926, 상자 fs×0.75). 시안은 2026.08.27 에 그것을 **DS 꺾쇠**로
   바꿨다: 접힘 `chevron-right` · 펼침 `chevron-down`, --ui-navy, 상자 **fs×1.25**
   ("Box is fs×1.25 so the ink reads at the old triangle's weight").
   ⚠ 꺾쇠 경로는 `iconPaths` 의 것이고 **21절 페이징·16절 캐러셀과 같은 자산**이다 —
     스프라이트가 아니라 mask + currentColor 라 색을 바꿀 수 있다.
   ⚠ 시안 상자는 PC 20 · Tablet 26 · Mobile 18 이다. fs(16·21·14)×1.25 = 20 · 26.25 · 17.5 라
     토큰에서 계산하지 않고 **값을 그대로 쓴다** — 26.25·17.5 는 반픽셀이 생긴다.
   ══════════════════════════════════════════════════════════════════════════ */
.chp-accordion__mark{
  /* 글리프를 걷고 꺾쇠를 얹는다 — content 를 비우지 않으면 상자 안에 ▶ 가 남는다. */
  display:block;flex-shrink:0;
  background:var(--ui-navy);
  -webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;
  -webkit-mask-position:center;mask-position:center;
  -webkit-mask-size:contain;mask-size:contain;
  -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M16.1318 12L9.56543 18.5654L8.43457 17.4346L13.8691 12L8.43457 6.56543L9.56543 5.43457L16.1318 12Z' fill='black'/%3E%3C/svg%3E");
  mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M16.1318 12L9.56543 18.5654L8.43457 17.4346L13.8691 12L8.43457 6.56543L9.56543 5.43457L16.1318 12Z' fill='black'/%3E%3C/svg%3E");
}
.chp-accordion__mark::before{content:none}
.chp-accordion[aria-expanded="true"] .chp-accordion__mark{
  -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M18.5654 9.56543L12 16.1318L5.43457 9.56543L6.56543 8.43457L12 13.8691L17.4346 8.43457L18.5654 9.56543Z' fill='black'/%3E%3C/svg%3E");
  mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M18.5654 9.56543L12 16.1318L5.43457 9.56543L6.56543 8.43457L12 13.8691L17.4346 8.43457L18.5654 9.56543Z' fill='black'/%3E%3C/svg%3E");
}
/* 상자 — 시안 SPEC.ic (PC 20 · Tablet 26 · Mobile 18). */
[data-mode="pc"] #container .chp-accordion__mark{width:20px;height:20px}
[data-mode="mobile"] #container .chp-accordion__mark{width:18px;height:18px}
/* Tablet 은 1400 기준 vw 유동이다(7절 규칙) — 라벨·여백도 함께 줄어야 화살표만 크게 남지 않는다.
   --chp-acc-* 는 7-1절이 아직 다루지 않는 토큰군이라 여기서 이 화면 몫만 준다. */
[data-mode="tablet"] #container .chp-accordion__mark{
  width:clamp(18px, calc(100vw * 26 / 1400), 26px);
  height:clamp(18px, calc(100vw * 26 / 1400), 26px);
}
[data-mode="tablet"] #container .chp-accordion{
  gap:min(calc(100vw * var(--chp-acc-gap) / 1400), calc(var(--chp-acc-gap) * 1px));
  padding:min(calc(100vw * var(--chp-acc-py) / 1400), calc(var(--chp-acc-py) * 1px)) 0;
  font-size:clamp(14px, calc(100vw * var(--chp-acc-fs) / 1400), calc(var(--chp-acc-fs) * 1px));
}

/* ── 23-1. 결제바 — 모바일은 구성이 다르다 ──────────────────────────────────
   DS `renderPayBar` 는 `bp === 'mo'` 에서 **한 줄**로 그린다:
     `총 결제금액 (N건)` + 금액,  그 아래 [결제하기]
   PC·Tablet 만 `선택 상품 N건` 블록을 따로 둔다.
   ⚠ chp-mobile.css:69 가 `.chp-paybar__count` 를 모바일에서 감추는데, 건수를 다른 데서
     되살리지 않아 **모바일에서 건수가 통째로 사라져 있었다**(오너 지적 2026-09-21 ·
     화면에 `총 결제금액 100원` 만 나왔다). 총액 라벨 뒤에 `(N건)` 을 붙여 되살린다. */
.chp-paybar__total-count{display:none}

/* ── 23-2. 결제바 안쪽이 레거시 컨테이너 규칙에 걸린다 ──────────────────────
   `layout.css` 의 `[class*="inner"]{width:var(--init-cont-w);padding:0 var(--init-lrp);
   margin:0 auto}` 가 **클래스 이름에 inner 가 들어간다는 이유로** `.chp-paybar__inner` 에
   걸린다. 모바일에서 실측 — 폭 390(=100vw) · 좌우 16.653 이라 바 안쪽(358)을 32px 넘겨
   **금액이 오른쪽 끝에 붙어 잘렸다**(오너 지적 2026-09-21).
   ⚠ 시안 결제바 좌우 여백은 바가 갖는다(SPEC_PAYBAR: PC 0 + 1140 열 · TA section-side ·
     MO 16). 안쪽 상자는 여백을 갖지 않는다.
   ⚠ #container 를 붙이는 이유는 특이성이다 — 이름이 같은 클래스 하나(0,1,0)로는
     맨 나중에 실리는 m.css 의 같은 패턴을 못 이긴다. */
#container .chp-paybar__inner{width:auto;padding:0;margin:0}
[data-mode="mobile"] #container .chp-paybar__total-count,
[data-mode="mobile"] .chp-paybar__total-count{display:inline}

/* ══ 24. 상담 및 결제 — 태블릿 표 열 폭 (mypage/selectCounselCmplList) ═══════
   오너 지적 2026-09-21 — "태블릿에서 상담요청일 옆 [취소하기]·[결제하기]가 안 보인다".

   원인은 22절(결제이력)과 같다. `chp-components.css:766` 의 태블릿 열 폭이 **고정 px** 이고
   합이 1,288 인데 1024 트랙은 ≈942 라, 마지막 액션 열(280)이 화면 밖으로 밀려 있었다.
   ⚠ 값 자체는 시안과 같다 — DS `SPEC_PAYABLE_ROW.ta` 가
     `cb 68 · first 380 · cols [220,158,182] · act 280` 이고 합 1,288 이 **1400 트랙**
     (1400 − section-side 56×2 = 1288)에 정확히 맞는다. 즉 1400 캔버스 설계값이고
     그 아래에서는 vw 로 줄어야 한다(7절 규칙). 단위만 바꾼다.
   ⚠ 열마다 하한이 있다 — 글자는 14px 에서 멈추는데 폭만 줄면 좁은 쪽에서 버튼·값이 넘친다
     (22절에서 같은 함정을 밟았다). 하한 합 + 상품 열 최소가 769 트랙(≈707) 안에 들어가야 한다.
   ⚠ 체크 열 하한은 44 가 아니라 **56** 이다 — 여백이 vw 로 늘어 900·1024 에서 체크박스가
     1~2px 잘렸다(실측). 글자가 아니라 여백이 커지는 쪽이라 하한을 폭 전체로 잡아야 한다.
   ══════════════════════════════════════════════════════════════════════════ */
/* ⚠ **합이 트랙을 넘고 있었다**(2026-10-08 · 오너 지적 "800 에서 결제하기가 안 보인다").
     전 구간에서 조금씩 넘쳤고 800 부근이 가장 컸다 — 769 +69 · 800 +62 · 900 +37 ·
     1024 +11 · 1399 +7. 넘친 만큼 마지막 액션 열이 밀려 버튼이 잘렸다(800 에서 36px).

     시안(`prototypes/consult-and-pay`)은 **하한 없이 전부 vw 로** 줄어든다. 설계 합 1288 이
     1400 트랙과 같아 어느 폭에서도 딱 맞는다(실측 800: 37·208·121·87·100·154 = 707).
     우리는 글자를 14px 에서 멈추므로 버튼이 줄지 않아 하한이 필요하고, 그 하한이 합을 밀어
     올렸다. 가운데 네 열은 시안과 비율이 정확히 같았다 — 어긋난 것은 체크·액션 둘뿐이다.

     ① 상품 열을 `minmax(0, 1fr)` 로 둔다. 고정 하한 160 을 고집하면 합이 트랙을 넘는다.
        상품명은 두 줄로 접히면 되는 값이고, 남는 폭은 전부 이 열이 받는다.
     ② 액션 하한 200 → **160**. 두 버튼이 실제로 필요한 폭은 146~148 이다(글자 14px 고정).
     ③ 체크 하한 56 은 그대로 둔다 — 위 ⚠ 가 실측으로 정한 값이다.
     검증: 769·800·900·1024·1200·1399 에서 **초과 0 · 잘린 버튼 0**. */
/* ★ 2026-10-15 — **시안 10-02 판이 이 화면의 열 폭을 고쳐서 그 값으로 갈아끼운다.**
     전달본 READ-FIRST 가 직접 적고 있다 — "상담요청일이 칸을 18px 넘침 · 표 오른쪽
     여백이 사라짐 → 액션·상태 280→**250**, 학습상품 380→395, 교육국 220→**235**".
     학습상품 395 는 받지 않는다 — 위 ① 대로 `minmax(0, 1fr)` 이 우리 상황에 맞는 답이고,
     시안도 같은 이유로 10-02 에 minWidth 를 풀었다.
   ★ **액션 하한 160 → 186.**
     10-08 에 "두 버튼이 146~148" 라고 160 을 박았는데, 그 뒤 DT-4548 이 버튼 높이·글자를
     고정해 버튼이 다시 넓어졌다 — 실측 769 에서 66.8×2 + 간격 12 + 안쪽여백 11×2 = **167.6**
     인데 칸이 160 이라 [결제하기]가 표 선에 붙어 4px 잘렸다.
     버튼 안쪽여백은 폭을 따라 늘고 글자는 14 에서 멈췄는데 칸은 250×w/1400 으로 늘어
       **중간 폭까지 모자란다** — 필요 폭 실측: 769 → 152 · 900 → 169 · 1024 → **185** ·
       1100 부터는 칸이 충분하다. 가장 큰 185 에 1 을 더해 186 으로 둔다.
     ⚠ **`minmax(min-content, …)` 을 쓰면 안 된다.** 머리줄과 각 행이 제각각 grid 라
       `min-content` 가 **행마다 따로** 계산된다 — 머리줄의 액션 칸은 비어 있어 0 이라
       머리와 행의 열 경계가 어긋난다(실측 769 에서 31px). 2026-10-15 한 번 그렇게 내보냈다.
     시안은 `text-clamp.js` 가 렌더 뒤에 재서 `--tbl-cN` 에 넣어 머리·행이 **같은 값**을 보게 한다.
   ★ **`--simple`(구매완료·상담취소) 도 같이 태운다.** 그쪽은 고정 px 합 1288 이 703 트랙에
     그대로 들어가 **태블릿에서 585px 넘치고 있었다**(감싸는 블록이 overflow:hidden 이라
     상태 열이 아예 안 보였다). 시안도 두 표가 같은 열 폭이다(실측 1024: 50·281·172·116·133·189).
     마지막 열은 `--simple` 에서 상태 뱃지 하나라 172 가 남아돌리지만, 남는 폭은 학습상품이
     받으므로 두 표를 가를 이유가 없다. */
[data-mode="tablet"] .chp-table--payable,
[data-mode="tablet"] .chp-table--simple{
  --chp-cols:
    clamp(56px, calc(100vw * 68 / 1400), 68px)
    minmax(0, 1fr)
    clamp(110px, calc(100vw * 235 / 1400), 235px)
    clamp(70px, calc(100vw * 158 / 1400), 158px)
    clamp(95px, calc(100vw * 182 / 1400), 182px)
    max(186px, min(calc(100vw * 250 / 1400), 250px));
}

/* ══ 25. 대체수업 모달 (myClass/classMain/repClassPop) ══════════════════════
   공통 모달 셸(`chp-modal`)로 옮기면서 이 팝업의 폼 줄만 손본다 — 셸은 건드리지 않는다.

   ① **입력칸이 칸을 채우지 않았다.** `.chp-field` 가 `width:100%` 인데도 PC 200 · TA 185 ·
      MO 143 으로 나왔다(실측 2026-10-01) — `<input>` 의 기본 `size` 폭이다. 칸(`__field`)은
      PC 396 이라 오른쪽이 절반 가까이 비었다. 이 모달의 두 값(룸 아이디·룸 타이틀)은 길이가
      정해져 있지 않으므로 **칸을 채운다**.
      ⚠ 다른 화면(회원정보)은 `style="width:240px"` 로 자리마다 정하고 있다 — 거기는 값의
        길이가 정해져 있어서다. 그래서 전역이 아니라 이 모달로 좁힌다.
      글자 크기도 같은 자리에서 되돌린다 — `input[type="text"]{font-size:var(--fom-fs)}`(0,1,1)가
      `.chp-field`(0,1,0)를 이겨 모바일에서 12px 로 나왔다. 5680 줄 `#cntArea` 처리와 같은 방식이다.
   ② **모바일에서 라벨을 접지 않는다**(오너 지시 2026-10-01). `chp-mobile.css:152` 가
      `.chp-formrow` 를 `flex-direction:column` 으로 눕혀 라벨이 위로 올라갔다 —
      값이 짧은 두 줄이라 접을 이유가 없고, 접으면 모달이 그만큼 길어진다. */
#container .chp-modal#repClassPop .chp-formrow__field .chp-field,
.chp-modal#repClassPop .chp-formrow__field .chp-field{
  width:100%;
  font-size:calc(var(--chp-form-field-fs) * 1px);
}
[data-mode="mobile"] .chp-modal#repClassPop .chp-formrow{
  flex-direction:row;align-items:center;gap:12px;
}
[data-mode="mobile"] .chp-modal#repClassPop .chp-formrow__label{
  width:auto;flex:0 0 auto;white-space:nowrap;
}

/* ③ **태블릿은 1400 캔버스를 100vw 로 줄인다**(오너 지적 2026-10-01 "전체적으로 너무 크다").
      모달 셸의 태블릿 토큰은 전부 **1400 설계 px 그대로**다 — 상자 720 · 제목 24 · 라벨 180 ·
      안쪽 36. 1024 뷰포트에서 상자가 **화면의 70%** 를 덮었다(PC 는 40%).
      본문(`#container`)은 7-1절이 이미 `min(100vw*N/1400, Npx)` 로 줄이는데, 모달은
      `#popup_area` 에 붙어 **`#container` 밖**이라 그 규칙이 닿지 않는다([[caihong-tablet-scale]]).
      ⚠ `--chp-modal-*` 는 **전역 토큰**이라 다른 chp 모달도 태블릿에서 720 이다. 셸을 통째로
        줄이는 것은 결제·마이페이지 모달까지 바꾸는 일이라, 지적받은 이 모달로 좁혔다.
        셸 전체에 적용할지는 별도 판단이 필요하다. */
[data-mode="tablet"] .chp-modal#repClassPop .chp-modal__box{
  width:min(calc(100vw * 720 / 1400), 720px);
  border-radius:min(calc(100vw * 12 / 1400), 12px);
}
[data-mode="tablet"] .chp-modal#repClassPop .chp-modal__head{
  padding:min(calc(100vw * 24 / 1400), 24px) min(calc(100vw * 28 / 1400), 28px)
          min(calc(100vw * 24 / 1400), 24px) min(calc(100vw * 36 / 1400), 36px);
}
[data-mode="tablet"] .chp-modal#repClassPop .chp-modal__title{
  font-size:clamp(16.8px, calc(100vw * 24 / 1400), 24px);
}
[data-mode="tablet"] .chp-modal#repClassPop .chp-modal__body{
  padding:min(calc(100vw * 36 / 1400), 36px) min(calc(100vw * 36 / 1400), 36px) 0;
  font-size:clamp(14px, calc(100vw * 20 / 1400), 20px);
}
[data-mode="tablet"] .chp-modal#repClassPop .chp-modal__foot{padding:0 min(calc(100vw * 36 / 1400), 36px)}
[data-mode="tablet"] .chp-modal#repClassPop .chp-modal__actions{
  padding-top:min(calc(100vw * 40 / 1400), 40px);
  padding-bottom:min(calc(100vw * 56 / 1400), 56px);
  gap:min(calc(100vw * 24 / 1400), 24px);
}
[data-mode="tablet"] .chp-modal#repClassPop .chp-formrow{padding:min(calc(100vw * 20 / 1400), 20px) 0}
[data-mode="tablet"] .chp-modal#repClassPop .chp-formrow__label{
  width:min(calc(100vw * 180 / 1400), 180px);
  font-size:clamp(15.4px, calc(100vw * 22 / 1400), 22px);
}
[data-mode="tablet"] .chp-modal#repClassPop .chp-field{
  height:clamp(40px, calc(100vw * 58 / 1400), 58px);
  padding:0 min(calc(100vw * 20 / 1400), 20px);
  border-radius:min(calc(100vw * 6 / 1400), 6px);
  font-size:clamp(14px, calc(100vw * 20 / 1400), 20px);
}
[data-mode="tablet"] .chp-modal#repClassPop .chp-btn--lg{
  height:min(calc(100vw * 64 / 1400), 64px);
  min-width:min(calc(100vw * 240 / 1400), 240px);
  border-radius:min(calc(100vw * 8 / 1400), 8px);
  font-size:clamp(16.8px, calc(100vw * 24 / 1400), 24px);
}

/* ══ 26. 수업시간 설정 모달 (mypage · chldinfo / stdyPopup) ══════════════
   레거시 `pop-type0201 w1200` 을 공통 모달 셔로 옮긴 뒤, 상자 폭만 되돌린다.
   셔 기본폭은 PC 600 인데 이 모달은 **달력 7열**을 들어야 한다 — 레거시도 그래서
   800 이었고(실측), 600 으로 줄이면 요일 칸이 글자 폭을 못 받는다.
   태블릿은 레거시가 90vw(1024 기준 922) 였다 — 세로로 긴 달력이라 가로를 줄이면
   열이 먼저 무너진다. 모바일은 셔 기본값(340, 모달 안쪽 여백 24 때문에 실제 327)을
   그대로 둔다 — 레거시 342 와 거의 같고, 다른 chp 모달과 폭을 맞추는 편이 낫다. */
[data-mode="pc"] .chp-modal#stdySchedPop .chp-modal__box{width:800px}
[data-mode="tablet"] .chp-modal#stdySchedPop .chp-modal__box{
  width:min(calc(100vw * 800 / 1400), 800px);
}
/* 태블릿은 1400 캐버스를 폭으로 비례축소한다(오너 지적 2026-10-01 "태블릿이 PC 보다 더 크다").
   셀 태블릿 토큰(상자 720 · 안쪽 36 · 제목 24)은 **1400 기준 설계값**이라 1024 에서
   그대로 쓰면 PC(1400 에서 1:1) 보다 커진다 — 레거시도 90vw(922) 라 같은 문제가 있었다.
   이 모달은 `#container` 안에 있지만 7-1절은 모달 토큰을 건들지 않으므로 여기서 준다.
   수치는 열 일곱짜리 달력이 기준이다 — 상자 800 기준으로 줄이면 1024 에서 585. */
[data-mode="tablet"] .chp-modal#stdySchedPop .chp-modal__head{
  padding:min(calc(100vw * 24 / 1400), 24px) min(calc(100vw * 29 / 1400), 29px)
          min(calc(100vw * 24 / 1400), 24px) min(calc(100vw * 36 / 1400), 36px);
}
[data-mode="tablet"] .chp-modal#stdySchedPop .chp-modal__title{
  font-size:clamp(16.8px, calc(100vw * 24 / 1400), 24px);
}
[data-mode="tablet"] .chp-modal#stdySchedPop .chp-modal__body{
  padding:min(calc(100vw * 36 / 1400), 36px) min(calc(100vw * 36 / 1400), 36px) 0;
}
[data-mode="tablet"] .chp-modal#stdySchedPop .chp-modal__foot{padding:0 min(calc(100vw * 36 / 1400), 36px)}
[data-mode="tablet"] .chp-modal#stdySchedPop .chp-modal__actions{
  padding-top:min(calc(100vw * 40 / 1400), 40px);
  padding-bottom:min(calc(100vw * 40 / 1400), 40px);
  gap:min(calc(100vw * 24 / 1400), 24px);
}

/* 버튼 아래 여백은 위와 같게 둔다(오너 지적 2026-10-01 "아래 영역이 너무 넓다").
   셔 기본값은 위 40 · 아래 60(PC) 인데, 이 모달은 화면을 거의 꽉 채워서
   밑에 남는 60px 가 빈 판으로 읽힌다 — 레거시 `pop-foot` 도 위아래가 같았다(≈33).
   모바일은 셔이 이미 20/20 이라 그대로 둔다.
   ⚠ `--chp-modal-foot-bottom` 은 **전역 토큰**이므로 다른 chp 모달은 60 그대로다.
     셔 전체에 적용할지는 별도 판단이 필요하다. */
[data-mode="pc"] .chp-modal#stdySchedPop .chp-modal__actions{padding-bottom:40px}

/* 달력 머리는 **한 줄**이다(오너 지시 2026-10-01). 라벨과 주차 이동이 나란히 선다.
   상자를 585 로 줄이자 글자만 20px 로 남아 둘의 합이 툴바 폭(532)을 넘겨졌고,
   그 결과 낱말 중간에서 「10월 1주 / 차 의 … 수업일 / 정」 처럼 깔렸다.
   줄을 하나 더 만드는 대신 **글자를 상자와 같은 비율로** 줄인다 — 상자가 1400 캐버스의
   0.73 배인데 글자만 1 배로 남아 있었던 것이 원인이다. */
[data-mode="tablet"] #stdySchedPop .fc-header-toolbar,
[data-mode="tablet"] #stdySchedPop .fc-toolbar-chunk,
[data-mode="tablet"] #stdySchedPop .fc-toolbar-title{
  font-size:clamp(14px, calc(100vw * 20 / 1400), 20px);
}
[data-mode="tablet"] #stdySchedPop .fc-toolbar-title{margin:0 min(calc(100vw * 24 / 1400), 24px)}
[data-mode="mobile"] #stdySchedPop .fc-header-toolbar,
[data-mode="mobile"] #stdySchedPop .fc-toolbar-chunk,
[data-mode="mobile"] #stdySchedPop .fc-toolbar-title{font-size:13px}
[data-mode="mobile"] #stdySchedPop .fc-toolbar-title{margin:0 8px}
/* 모바일 340 에서는 두 덩어리가 한 줄에 들어가지 않는다(라벨 142 + 주차 166 = 툴바 308 꺽).
   거기서 더 줄이면 글자가 읽힐 크기 아래로 간다. 라벨을 제 줄로 내리고 주차 이동을
   그 아래에 둔다 — 라벨이 두 줄로 접힌 옮 주차와 나란히 서는 것보다 읽힌다. PC·태블릿은 한 줄이다. */
[data-mode="mobile"] #stdySchedPop .fc-header-toolbar{flex-wrap:wrap;row-gap:4px}
[data-mode="mobile"] #stdySchedPop .fc-header-toolbar > .fc-toolbar-chunk:first-child{flex:1 0 100%}

/* 한글은 낱말 단위로 끊는다. 레거시가 줄바꿈을 글자 단위로 두어
   「… 전체 일정 삭 / 제)」 「테스트화상교사 / 선생님」 처럼 깔여 읽혔다. */
#stdySchedPop .chp-modal__body{word-break:keep-all}

/* 달력 위아래 여백은 모달 리듬으로 맞춘다(오너 지적 2026-10-01 "사이 여백이 너무 넓다").
   두 값은 한 페이지를 꽉 채우는 **학습일정 본문 달력**을 보고 정한 것이라 팝업에서는
   그냥 빈 판이다 — `custom.css` 의 `.fc[data-fc="month"]{margin:39px}` 와
   `.fc-header-toolbar{height:98px}`(m.css 는 10.21vw · 12.76vw). 머리는 내용만큼만 높이고
   위는 24 · 아래는 16 로 둔다(모달 안 다른 간격과 같은 눈금). 머리를 줄인 만큼
   날짜 칸이 더 보인다 — `height:564` 는 달력 전체 높이라 머리가 가져가던 것이 돌아온다. */
#stdySchedPop .fc[data-fc="month"]{margin-top:24px}
#stdySchedPop .fc[data-fc="month"] .fc-header-toolbar{height:auto;margin-bottom:16px}
[data-mode="tablet"] #stdySchedPop .fc[data-fc="month"]{margin-top:min(calc(100vw * 24 / 1400), 24px)}
[data-mode="tablet"] #stdySchedPop .fc[data-fc="month"] .fc-header-toolbar{
  margin-bottom:min(calc(100vw * 16 / 1400), 16px);
}
[data-mode="mobile"] #stdySchedPop .fc[data-fc="month"]{margin-top:16px}
[data-mode="mobile"] #stdySchedPop .fc[data-fc="month"] .fc-header-toolbar{margin-bottom:12px}
[data-mode="tablet"] .chp-modal#stdySchedPop .chp-btn--lg{
  height:min(calc(100vw * 64 / 1400), 64px);
  min-width:min(calc(100vw * 240 / 1400), 240px);
  border-radius:min(calc(100vw * 8 / 1400), 8px);
  font-size:clamp(16.8px, calc(100vw * 24 / 1400), 24px);
}

/* 표 셀 — 세로 2줄 셀(.chp-tc-stack)을 가운데로 둘 때.
   .chp-tc-center 는 justify-content 인데 stack 은 flex-direction:column 이라
   그 축이 세로다. 가로 가운데는 align-items 로 줘야 한다.
   두 클래스를 함께 쓴 셀에만 걸리므로 기존 stack 셀에는 영향이 없다. */
.chp-tc-stack.chp-tc-center{align-items:center;text-align:center}

/* ══ 27. 카드 ↔ 표 — 마크업을 한 벌로 내리고 폭이 고른다 ═══════════════════
   서버는 요청 시점에 **뷰포트 폭을 모른다**. UA 만 안다. 그래서 JSP 가 `device` 로
   모바일을 가르면 폭 기준인 `data-mode` 와 어긋난다 — 안드로이드 태블릿은 UA 에
   `Mobile` 토큰이 없어 device='T' 인데, 세로로 들면 폭이 768 아래다. 그 구간에서
   마크업은 표인데 CSS 는 mobile 이 되어, 표가 라벨 없이 쌓였다
   (SM-T837A 712x1138 재현 · 결제이력. chp-mobile.css 의 표 폴백은 data-label 을
   전제하는데 목록 화면들은 시안이 카드를 따로 그려서 라벨이 없다).

   그래서 두 벌을 다 내리고 **보이는 쪽만 폭이 고른다.** 분기가 CSS 한 곳으로 모인다.
   목록은 한 페이지 10행(ui:paging listSize=10)이라 중복 DOM 비용은 작다. */
[data-mode="mobile"] .chp-wide-only{display:none}
[data-mode="tablet"] .chp-narrow-only,
[data-mode="pc"]     .chp-narrow-only{display:none}

/* ══ 28. 헤더 숨김 — 강의실 목록 전용 ══════════════════════════════════════
   내릴 때 헤더가 숨고 올릴 때 다시 나온다(전달본 4차 1번, 2026.10.02).
   **`body[data-hdr]` 가 붙은 화면에서만** 전환이 걸린다 — 그 속성은 강의실 목록의
   스크립트만 붙이므로 다른 화면의 헤더는 지금과 똑같다.

   밑에서 멈추는 섹션 바(.chp-lecsec__bar)는 `--hdr-on`(1 보임 / 0 숨김)을 곱해 top 을
   잡는다. 헤더만 숨기고 top 을 고정 숫자로 두면 헤더가 빠진 자리에 빈 띠가 생기고
   제목이 공중에 뜬다(전달본 live-bug 캡처 2장). 새 sticky 를 더할 때도 같은 꼴로 쓴다. */
/* ⚠ 헤더가 **실제로 상단에 고정되어 있지 않다.** `common.css:175·176` 이 html·body 에
   `height:100%` 를 줘서 sticky 가 그 높이(= 뷰포트) 밖에서 풀린다 — 긴 목록을 내리면
   헤더가 화면 위로 사라진다. 전달본 `source/my-class/spec.md` 가 "사이트 전역 이슈이고
   개발이 라이브에서 고쳐야 한다"고 적어 둔 그 문제다.

   그대로 두면 **올릴 때** 티가 난다 — 스크립트가 헤더를 되돌려 `--hdr-on` 이 1 이 되고
   섹션 바는 131 자리로 내려오는데 헤더는 화면 밖이라, 그 131px 띠로 앞 카드가 비친다
   (오너 캡처 2026.10.08).

   전역 규칙을 바꾸면 99화면이 영향권이라 **이 화면에서만** 푼다. body 높이를 내용에 맡기면
   sticky 범위가 문서 전체가 된다. `min-height:100%` 로 짧은 화면의 기존 모습은 지킨다. */
body[data-hdr]{height:auto;min-height:100%}

body[data-hdr] .chp-gnb,
body[data-hdr] .chp-appheader{transition:transform .22s linear}
body[data-hdr="off"] .chp-gnb,
body[data-hdr="off"] .chp-appheader{transform:translateY(-100%)}

/* ══ 29. 캐러셀 점 — 최대 다섯 칸 창 (공통) ════════════════════════════════
   전달본 4차 2번(2026.10.02 · 수정표 123). 회차가 많으면 점이 두 줄로 넘쳤다
   (레슨 45개 = 23페이지). 점 전부를 한 줄에 두고 **다섯 칸 폭의 창**으로 자른다 —
   켜진 점이 가운데(셋째)에 오도록 줄이 미끄러지고(`.3s ease`), 창 밖에 더 있으면
   그쪽 끝 점을 **0.6 배**로 그려 "더 있다"를 말한다. 다섯 이하면 창을 걸지 않는다.

   **화면을 가리지 않는다** — `chp-ui.js` 의 `chp.dotWindow` 가 전 화면의
   `.swiper-pagination` 을 스스로 맞춘다. 점 모양·색·크기는 각 화면 규칙 그대로이고
   여기서는 **창과 밀림만** 다룬다.

   창 폭과 밀림량은 JS 가 잰 값을 인라인으로 넣는다. 점 크기가 모드마다 다르고 태블릿은
   vw 식이라 CSS 변수로 넘기면 JS 가 숫자로 읽을 수 없기 때문이다.
   끝 점 축소는 `transform` 이라 **자리 폭은 그대로**다(시안과 같다). */
[data-mode] #container .swiper-pagination.is-dotwin{
  flex-wrap:nowrap;overflow:hidden;
  /* ⚠ **베이스라인을 없앤다.** 변형에 따라 이 요소가 `display:block` 인 곳이 있고
     (`swi-ui-type03` · 후기 슬라이드), 거기서는 점이 인라인 베이스라인에 앚아
     아래로 밀리고 `overflow:hidden` 에 잘린다 — 실측(메인 모바일 375) 상자 11.7 에
     점 6.2~14 로 **15개 전부 잘림**. `line-height:0` 이면 0~7.8 로 들어간다.
     ★ `display:flex` 로 바꾸면 중앙 정렬로도 풀리지만 **점 간격이 바뀜다**
       (첫 간격 24.3 → 35.1 · 실측). 레이아웃 모델을 건드리지 않는 쪽을 택한다.
     ★ 점은 빈 요소라 상속된 `line-height` 가 다른 데 쓰이지 않는다. */
  line-height:0;
  /* ⚠ `justify-content:center` 를 반드시 끈다. 점을 가운데 모으던 그 값이 창 안에서는
     **넘치는 줄을 양쪽으로 똑같이 밀어** 첫 점이 창 왼쪽에 서지 않는다(실측: 23개 중
     6~13번이 보였다). 가운데 정렬은 창 자체를 `margin:auto` 로 옮겨 맡는다. */
  justify-content:flex-start;
  /* 레거시 캐러셀은 `display:block` + `text-align:center` 로 점을 가운데 모은다
     (메인 `.swi-ui-type03`). 창 안에서는 그것도 첫 점을 왼쪽에 세우지 못하므로 함께 끈다.
     줄바꿈 금지는 flex(nowrap)·block(white-space) 둘 다 필요하다. */
  text-align:left;white-space:nowrap;
  /* 가운데 정렬은 **창 자체**가 맡는다. 레거시 페이지네이션은 `position:absolute; left:0;
     width:100%` 라, 폭만 줄이면 `margin:auto` 가 듣지 않고 왼쪽에 고정된다 — 절대배치에서
     margin auto 가 가운데로 가려면 `left` · `right` 가 **둘 다** 값이 있어야 한다.
     static·flex 인 곳에서는 left/right 가 아무 일도 하지 않으므로 함께 둬도 안전하다. */
  left:0;right:0;
  margin-left:auto;margin-right:auto;
}
[data-mode] #container .swiper-pagination.is-dotwin .swiper-pagination-bullet{
  flex-shrink:0;
  transition:width .2s ease, transform .3s ease, margin-left .3s ease;
}
[data-mode] #container .swiper-pagination.is-dotwin .swiper-pagination-bullet.is-dotedge{transform:scale(.6)}

/* ⚠ **세로 여유는 padding 으로 만든다.** 레거시 페이지네이션은 점이 줄상자보다 아래로
   내려와 있어(실측: 창 높이 12.2 인데 점은 5.9~14.0) `overflow:hidden` 이 아래 1.8px 를
   잘라 원이 반달로 보였다. 위아래에 8px 을 넣고 같은 크기의 음수 margin 으로 되돌린다 —
   잘리는 상자만 커지고 **자리와 폭은 그대로**다(세로 padding 은 width 에 영향이 없다).

   ⚠ `clip-path` 로 가로만 자르는 방법은 쓰지 않는다. 그리기만 자르고 **레이아웃 넘침은
      그대로 둬서** 창 밖 점들이 문서를 가로로 밀었다 — 모바일 학습 공간에서 카드를 넘기면
      페이지가 71px 옆으로 밀렸다(실측 2026-10-08, 문서 461 ↔ 뷰포트 390). */
/* ⚠ **세로 padding·음수 margin 을 둘 다 뺀다**(2026-10-15 오너 지적 —
   "점 상하 여백이 없고 PC 에선 안 보인다").

   전 주석은 "세로 여유를 padding 으로 만들고 같은 크기의 음수 margin 으로 되돌린다" 였는데
   **전제가 틀렸다.** 이 요소는 `box-sizing:border-box` 에 height 가 고정이라
   padding 이 상자를 키우지 않고 **안쪽을 줄인다** — 오히려 점을 아래로 밀어 잘리게 했다.
     실측(모바일 375) — 상자 16 · 점 8~18 → **15개 중 15개가 잘림**.
     padding 을 빼면 상자 11.7 · 점 0~10 → **잘림 0**. 애초에 들어가는 크기였다.
   그리고 음수 margin 은 되돌릴 대상이 없는 채로 **8px 끄 끌어올렸고**, 그 와중에
   레거시의 `margin-top`(custom.css:297 `16px` · `.type-black` `50px` · m.css 태블릿 `0.83vw`)
   까지 덮어 여백이 통째로 사라졌다 — 점이 카드 아래로 8px 파고들어 PC 에선 반쪽만 보였다.

   → 세로는 **레거시가 정한 대로** 둔다. 여기서 하는 일은 가로 창뿐이다.
   ⚠ `clip-path` 로 가로만 자르는 방법은 여전히 쓰지 않는다 — 그리기만 자르고
      레이아웃 넘침은 그대로 두어 창 밖 점들이 문서를 가로로 밀었다
      (실측 2026-10-08, 문서 461 ↔ 뷰포트 390). `overflow:hidden` 은 위 29절에 그대로 있다. */

/* ══ 30. 주문상세 — 태블릿 표를 네 열로 접는다 (stdy/appl/stdyApplOrderDetail) ══
   오너 지적 2026-10-08 — "태블릿 800 에서 상품 표가 화면을 넘어간다".

   원인은 22절(결제이력)·24절(상담 및 결제)과 같다. `chp-components.css:795` 의 태블릿
   열 폭이 **고정 px** 이고 합이 1,090 인데 트랙은 769≈703 · 800≈731 · 1024≈937 이라
   마지막 두 열(상태·액션)이 화면 밖으로 밀려 있었다(실측 769 +387 · 800 +359 · 1024 +153).

   ⚠ 단위만 바꿔서는 들어가지 않는다 — 시안은 **Tablet 을 네 열로 접는다**.
     `ODTablet.jsx` 의 `ODT_COLS = { amount: 240, status: 200, act: 210, padL: 28 }` 가 전부다 —
     PC 의 `학습자`·`결제수단` 열은 없고, 둘을 상품 셀 안 한 줄(`meta = [learner, method]
     .join(' · ')`)로 내린다. 결제이력이 결제수단 한 열을 접었던 것과 같은 손질이다.
     마크업은 한 벌이므로 DOM 은 6칸 그대로 두고 2·3번째 칸을 감춘 뒤, 상품 셀 안의
     meta 줄을 태블릿에서만 보인다(JSP 에 `.chp-tc-meta` 추가).
   ⚠ 열마다 **하한**이 있다 — 폭은 vw 로 줄지만 글자는 가독성 하한에서 멈췄다(7-0절).
     값은 **글자가 하한일 때 칸이 요구하는 폭**을 769에서 재서 정했다:
       결제금액 126(`1,234,000원` + `-1,234,000원 환불`) → 132
       상태 105(`취소 요청 중` 배지)                        → 110
       액션 102(`[취소영수증]` 한 개)                       → 108
     하한 합 350 + 상품 최소 164.8 = 514.8 < 769 트랙(702.9) 이라 들어간다.
   ⚠ 액션 칸에 버튼이 **둘** 붙는 주문이 있다 — 부분취소된 결제는 같은 PAYMENT_ID 의
     남은 상품에도 RCPT_TID 가 따라붙어(StdyOrder.xml:754) `[취소영수증]`과
     `[취소 요청]` 이 한 칸에 같이 내려온다. 둘을 나란히 놓으려면 769 에서 183 이
     필요하다(실측) — 그만큼 열을 넓히면 상품 열이 그만큼 줄어든다. 좌우로 못 놓으면
     **위아래로 쌓게** 둔다 — 모바일 카드가 이미 같은 모양이다.
   ═════════════════════════════════════════════════════════════════════════════ */
[data-mode="tablet"] .chp-table--order-slot{
  --chp-cols:
    minmax(min(calc(100vw * 300 / 1400), 300px), 1fr)
    clamp(132px, calc(100vw * 240 / 1400), 240px)
    clamp(110px, calc(100vw * 200 / 1400), 200px)
    clamp(108px, calc(100vw * 210 / 1400), 210px);
}
/* 2·3번째 칸(학습자·결제수단)을 접는다 — 내용은 상품 셀의 meta 줄이 든다. */
[data-mode="tablet"] .chp-table--order-slot .chp-table__head > :nth-child(2),
[data-mode="tablet"] .chp-table--order-slot .chp-table__row > :nth-child(2),
[data-mode="tablet"] .chp-table--order-slot .chp-table__head > :nth-child(3),
[data-mode="tablet"] .chp-table--order-slot .chp-table__row > :nth-child(3){display:none}
.chp-table--order-slot .chp-tc-meta{display:none}
[data-mode="tablet"] #container .chp-table--order-slot .chp-tc-meta{display:block}
/* 버튼 둘은 쌓는다(위 ⚠). `justify-content:center` 는 그대로고 줄만 나뉘게 둔다. */
[data-mode="tablet"] .chp-table--order-slot .chp-tc-act{flex-wrap:wrap}

/* ── 30-1. 취소영수증 병합과 맞물린다 (dev ITSM-7112, 2026-10-14) ──────
   한 번에 취소한 상품들은 버튼 칸 없이 **앞 다섯 칸만** 쓰고, 바깥 감싸개(`.od-rcpt-merge`)가
   버튼 칸 하나를 여러 행 높이로 세운다(행이 각자 격자라 rowspan 이 없다).

   ⚠ 그 감싸개가 열 너비를 **고정 px 로 다시 적고 있다** — `1fr 170px` 과
     `--chp-cols:minmax(320px,1fr) 120px 150px 170px 160px`. 30절이 태블릿을 네 열로 접었으므로
     그대로 두면 머리글과 병합 행의 열이 어긋난다. dev 주석도 같은 것을 적어 두었다 —
     "열 너비는 `--chp-cols` 와 같아야 한다 · 그쪽이 바뀜면 여기도 같이 고친다".
   ⚠ 병합 행은 보이는 칸이 셋이다(상품·결제금액·상태) — 학습자·결제수단을 30절이 접었고
     버튼 칸은 바깥으로 빠졌다. 머리글(네 칸)과 줄이 맞으려면
     바깥 1fr = 전체 − 액션 · 안쪽 1fr = 그 안에서 금액·상태를 뺀 나머지 — 둘이 같아진다. */
[data-mode="tablet"] .od-rcpt-merge{
  grid-template-columns:1fr clamp(108px, calc(100vw * 210 / 1400), 210px);
}
[data-mode="tablet"] .od-rcpt-merge .chp-table__row{
  --chp-cols:
    minmax(0, 1fr)
    clamp(132px, calc(100vw * 240 / 1400), 240px)
    clamp(110px, calc(100vw * 200 / 1400), 200px);
}

/* ══ 31. 주문상세 — 시안 대조 교정 (PC·Tablet·Mobile) ═══════════════════
   기준: 차이홍_퍼블/prototypes/order-detail (전달본 manifest 안 소스)
         ODPc.jsx · ODTablet.jsx · ODMobile.jsx

   오너 지적 2026-10-14 — "특정 해상도가 아니라 전체 디바이스에서 차이가 있다".
   세 벌을 소스와 항목별로 대조해 발견한 것을 고친다.

   ① **유의사항이 회색 상자 안에 들어가 있다** — 세 벌 모두 `background:--bg-gray ·
      border-radius:8` 에 안쪽 여백을 갖고, 각 줄은 `·` 불릿을 앞에 둔다.
      산출물은 상자도 불릿도 없는 맨 회색 글줄이었다(실측 2026-10-14).
      ⚠ 취소 모달 안의 `#cmNotes` 는 같은 클래스를 쓰지만 시안에서 **상자가 아니다** —
        제외한다.
   ② **표 → 유의사항 간격이 달랑다** — 시안 PC 32 · TA 36 · MO 24, 산출물은 세 벌 모두 24.
      **유의사항 → [목록으로]** 도 시안은 PC 48 · TA 48 · MO 32 다.
   ③ **PC 칸 안쪽 여백** — 시안 셀 기본은 `padding:32px 0` 이고 필요한 칸에만 한쪽을 준다
      (첫 칸 padL 24 · 금액 padR 20 · 액션 padR 24). 산출물은 모든 칸에 좌우 20 을 넣어
      학습자·결제수단·상태 칸이 그만큼 좁았다. 22절이 결제이력 표에 한 것과 같은 손질이고,
      그 주석이 "다른 표는 각자 재야 한다" 고 적어 둔 그 표다.
      ⚠ 여백을 걷는 쪽은 칸 안쪽을 **넓히는** 방향이라 열 폭을 다시 재도 넘치지 않는다.
   ═════════════════════════════════════════════════════════════════════════════ */

/* ① 유의사항 상자 + 불릿 */
.od-notes:not(#cmNotes){
  padding:24px 28px;background:var(--bg-gray);border-radius:8px;box-sizing:border-box;
}
.od-notes:not(#cmNotes) li{position:relative;padding-left:14px}
.od-notes:not(#cmNotes) li::before{content:"\00B7";position:absolute;left:0;top:0}
[data-mode="tablet"] .od-notes:not(#cmNotes){
  padding:min(calc(100vw * 28 / 1400), 28px) min(calc(100vw * 32 / 1400), 32px);
  gap:min(calc(100vw * 12 / 1400), 12px);
}
[data-mode="tablet"] .od-notes:not(#cmNotes) li{padding-left:min(calc(100vw * 18 / 1400), 18px)}
[data-mode="mobile"] .od-notes:not(#cmNotes){padding:16px;gap:8px}
[data-mode="mobile"] .od-notes:not(#cmNotes) li{padding-left:12px}

/* ② 세로 간격 — 시안 값 그대로 */
.od-gap-notes{height:32px;flex-shrink:0}
[data-mode="tablet"] .od-gap-notes{height:min(calc(100vw * 36 / 1400), 36px)}
[data-mode="mobile"] .od-gap-notes{height:24px}
.od-gap-foot{height:48px;flex-shrink:0}
[data-mode="mobile"] .od-gap-foot{height:32px}

/* ③ PC 칸 안쪽 여백 — 첫 칸 외에는 왼쪽 여백이 없다
   ⚠ 7-1절의 `[data-mode="..."] #container .chp-table__row > *` 가 (1,3,0)이라
     id 없는 선택자는 진다 — 22절과 같이 `#container` 를 붙인다. */
#container .chp-table--order-slot .chp-table__head > :not(:first-child),
#container .chp-table--order-slot .chp-table__row > :not(:first-child),
[data-mode="pc"] #container .chp-table--order-slot .chp-table__head > :not(:first-child),
[data-mode="pc"] #container .chp-table--order-slot .chp-table__row > :not(:first-child),
[data-mode="tablet"] #container .chp-table--order-slot .chp-table__head > :not(:first-child),
[data-mode="tablet"] #container .chp-table--order-slot .chp-table__row > :not(:first-child){padding-left:0}
/* 액션 칸은 오른쪽 24 만 갖는다(시안 `padding:32px 24px 32px 0`). */
[data-mode="pc"] #container .chp-table--order-slot .chp-tc-act,
[data-mode="tablet"] #container .chp-table--order-slot .chp-tc-act{padding-left:0;padding-right:min(calc(100vw * 24 / 1400), 24px)}
/* 오른쪽 여백은 금액 칸만 20 이다 — 학습자·결제수단·상태 는 `padding:32px 0` 이다(시안). */
#container .chp-table--order-slot .chp-table__head > :nth-child(2),
#container .chp-table--order-slot .chp-table__row > :nth-child(2),
#container .chp-table--order-slot .chp-table__head > :nth-child(3),
#container .chp-table--order-slot .chp-table__row > :nth-child(3),
#container .chp-table--order-slot .chp-table__head > :nth-child(5),
#container .chp-table--order-slot .chp-table__row > :nth-child(5),
[data-mode="pc"] #container .chp-table--order-slot .chp-table__head > :nth-child(2),
[data-mode="pc"] #container .chp-table--order-slot .chp-table__row > :nth-child(2),
[data-mode="pc"] #container .chp-table--order-slot .chp-table__head > :nth-child(3),
[data-mode="pc"] #container .chp-table--order-slot .chp-table__row > :nth-child(3),
[data-mode="pc"] #container .chp-table--order-slot .chp-table__head > :nth-child(5),
[data-mode="pc"] #container .chp-table--order-slot .chp-table__row > :nth-child(5),
[data-mode="tablet"] #container .chp-table--order-slot .chp-table__head > :nth-child(5),
[data-mode="tablet"] #container .chp-table--order-slot .chp-table__row > :nth-child(5){padding-right:0}

/* ④ 모바일 요약 구분선이 살아 있었다 — 시안은 줄마다 양끝 배치라 세로선을 안 쓴다.
   `[data-mode="mobile"] .od-sum__rule{display:none}`(0,2,0) 가 있었지만 바로 뒤의
   `[data-mode="mobile"] .od-sum > span{display:flex}`(0,2,1) 에 져 **16px 짜리 선**으로
   남아 있었다(실측 2026-10-14). 같은 모양으로 한 단 올려 닫는다. */
[data-mode="mobile"] .od-sum > .od-sum__rule{display:none}

/* ⑤ 정보 블록 → `주문 상품 N건` 줄 간격 — 시안은 PC 48 · TA `--gap-box-count`(48) · MO 28 이다.
   산출물은 `--gap-count-table` 을 써서 PC 32 · TA 36 · MO 8 로 나갔다 — **토큰을 잘못 골랐다**.
   `--gap-count-table` 은 건수 줄과 표 사이 값이고, 여기는 상자와 건수 줄 사이다. */
.od-gap-count{height:48px;flex-shrink:0}
[data-mode="tablet"] .od-gap-count{height:calc(var(--gap-box-count) * 1px)}
[data-mode="mobile"] .od-gap-count{height:28px}

/* ══ 32. 주문상세 — 모바일 시안 대조 (ODMobile.jsx) ══════════════════════
   오너 지시 2026-10-14 — "모바일부터 시안과 맞춰줘".

   ① **카드가 세 덩어리가 아니었다.** 시안은 카드 안을 ①상품 ②왜 ③금액·액션 으로 묶고
      덩어리 사이 12 · 덩어리 안 6 을 둔다. 산출물은 한 줄씩 평면으로 gap 8 이었다.
   ② **금액과 버튼이 한 줄이다**(양끝). 산출물은 금액이 본문 글자(12px)로 누워 있고
      버튼은 `is-full` 로 전폭이었다. 시안 금액은 **700 16px** · 버튼은 hug(MOButton medium).
   ③ **카드 사이가 붙어 있었다** — 시안은 12. `.chp-card-list` 에 gap 이 없었다.
   ④ 상자 모서리 12(산출물 8) · 라벨열 76(80) · 요약 안쪽 16(14/16).
   ⑤ **건수 줄이 한 줄이다** — `주문 상품 N건` ↔ `취소 가능 N건` 을 양끝으로 놓고,
      전체취소 버튼은 **그 아래 전폭**으로 내린다. 산출물은 둘을 한 줄에 묶고 버튼을 hug 로 두었다.
   ⑥ [목록으로] 는 MOButton **medium**(40/4/14/400) 이다 — 산출물은 `--lg`(48/16/700).
   ⚠ 전부 `[data-mode="mobile"]` + 이 화면 클래스로 좁힌다 — `.chp-card` 는 상담완료·결제이력도 쓴다.
   ═════════════════════════════════════════════════════════════════════════ */

/* ① 세 덩어리 */
[data-mode="mobile"] #container .chp-card__body:has(.od-card__head){gap:12px}
.od-card__head,
.od-card__why{display:flex;flex-direction:column;align-items:flex-start;gap:6px;align-self:stretch}
.od-card__why:empty{display:none}
/* ② 금액 ↔ 버튼 한 줄 */
.od-card__foot{display:flex;align-items:center;justify-content:space-between;gap:12px;align-self:stretch}
.od-card__amt{display:flex;flex-direction:column;gap:4px;min-width:0}
[data-mode="mobile"] #container .od-card__amt .chp-tc-strong{
  font:var(--fw-bold) 16px/1.4 var(--font-core);letter-spacing:var(--tracking-core);color:var(--color-black);
}
[data-mode="mobile"] #container .od-card__amt .chp-tc-sub{font-size:12px;line-height:1.4}
.od-card__foot .chp-card__act{flex:0 0 auto;width:auto}
/* ③ 카드 사이 */
[data-mode="mobile"] .chp-card-list{gap:12px}
/* ④ 상자 모서리 · 라벨열 · 요약 안쪽 */
[data-mode="mobile"] .od-info__row{grid-template-columns:76px 1fr}
[data-mode="mobile"] .od-sum{padding:16px}
/* ⑤ 건수 줄 — `주문 상품 N건` ↔ `취소 가능 N건` 을 한 줄에 양끝으로, 버튼은 그 아래 전폭.
   `__act` 를 `display:contents` 로 풀어 세 아이템을 같은 줄에 세운다 — 버튼만 100% 로
   다음 줄로 내려보낸다(마크업은 PC·태블릿과 한 벌이라 구조를 건드리지 않는다). */
[data-mode="mobile"] .od-allcancel{flex-direction:row;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:10px}
[data-mode="mobile"] .od-allcancel__act{display:contents}
[data-mode="mobile"] #container .od-allcancel__act > .chp-btn{flex:1 0 100%;width:100%}
/* ⑥ [목록으로] — 시안 모바일은 `MOButton type="outline" fullWidth` 로 **size 기본값 medium** 이다
   (40 · r4 · 16px 안쪽 · 라벨 14/400). 마크업은 한 벌이라 PC·태블릿의 `--lg` 를 그대로 두고
   모바일에서만 되돌린다. 전폭은 기존 `[data-mode="mobile"] .od-actions .chp-btn{flex:1 1 0}` 가 맡는다. */
[data-mode="mobile"] #container .od-actions .chp-btn--lg{
  height:40px;border-radius:4px;padding:0 16px;
  font:var(--fw-regular) 14px/1.4 var(--font-core);letter-spacing:var(--tracking-core);
}
/* ⑦ 결제영수증 — 모바일은 목록 아래 12 띄고 전폭(시안 ODMInfo).
   PC·태블릿은 `결제수단` 줄 안 작은 버튼 그대로다 — 둘은 마크업이 따로고 폭이 고른다. */
.od-info__receipt{margin-top:12px}
[data-mode="mobile"] #container .od-info__receipt .chp-btn{width:100%}

/* ⑧ 입금 안내 띄 — 시안 ODDeposit. 정보 블록 **바깥**에 대기 램프 띄로 선다.
   산출물은 띄 없이 `입금기한` 줄 안에 [입금 안내] 버튼만 있었다 — 무엇을 해야 하는지
   말해 주는 문구가 없었다. 시안 값: pad PC 20/24 · TA 24/28 · MO 16, 본문 16/24/12,
   모바일만 세로로 접고 버튼을 전폭으로 둔다. */
.od-deposit{
  background:var(--surface-status-longunpaid);border-radius:8px;padding:20px 24px;box-sizing:border-box;
  display:flex;align-items:center;justify-content:space-between;gap:24px;
  color:var(--text-status-longunpaid);
  font:var(--fw-regular) 16px/1.6 var(--font-core);letter-spacing:var(--tracking-core);
}
.od-deposit__msg{text-wrap:pretty}
[data-mode="tablet"] .od-deposit{
  padding:min(calc(100vw * 24 / 1400), 24px) min(calc(100vw * 28 / 1400), 28px);
  gap:min(calc(100vw * 24 / 1400), 24px);
  font-size:clamp(16.8px, calc(100vw * 24 / 1400), 24px);
}
[data-mode="mobile"] .od-deposit{flex-direction:column;align-items:stretch;gap:12px;padding:16px;font-size:12px}
/* 모바일은 시안이 `fullWidth` medium 이다 — 마크업은 한 벌이라 `--sm` 기하만 되돌린다. */
[data-mode="mobile"] #container .od-deposit .chp-btn--sm{width:100%;height:40px;padding:0 16px;border-radius:4px}
.od-gap-dep{height:16px;flex-shrink:0}
[data-mode="tablet"] .od-gap-dep{height:min(calc(100vw * 20 / 1400), 20px)}
[data-mode="mobile"] .od-gap-dep{height:12px}
.od-gap-depbot{height:32px;flex-shrink:0}
[data-mode="tablet"] .od-gap-depbot{height:min(calc(100vw * 40 / 1400), 40px)}
[data-mode="mobile"] .od-gap-depbot{height:24px}
/* ⑨ 취소 철회 안내 띄 — 기획 SCR-04b-5(DT-4593). 입금 안내 띄의 기하(패딩·글자)를 그대로 받고
   색과 배치만 바꾼다. 색은 시안 값이다(대기 램프 토큰과 다르다). 세 줄 모두 Regular · 줄간 1.6 · 여백 없음(시안 1047:1057). */
.od-deposit.od-wthdrwl{display:block;background:#FFF4E5;color:#8A4B00}
.od-wthdrwl p{margin:0}

/* ══ 33. 무통장입금 안내 팝업 (stdy/appl/popup/orderVBankInfoPop) ══════════════
   오너 지시 2026-10-14 — "공통 팝업으로 맞춰줘". 셀은 `chp-modal` 로 옮겼고(JSP),
   안의 구성은 시안 `BankGuideModal` 을 그대로 옮긴다.
   ★ **면을 가진 것은 회색 그릇 하나뿐이다** — 필드 목록과 유의사항을 한 그릇에 담고
     그 사이를 1px 선으로 가른다. 산출물은 `table.al` + `ul.al` 로 나뉘어 면이 없었다.
   ★ 금액만 `--ui-blue` 다 — 이 팝업에서 홀로 선 숫자라서이고, 옆에 파란 버튼이 없을 때만
     허용된다는 DS 규칙에 맞는다.
   ═════════════════════════════════════════════════════════════════════════ */
.bg-guide{
  background:var(--bg-gray);border-radius:8px;box-sizing:border-box;
  padding:20px 24px;display:flex;flex-direction:column;gap:18px;
}
.bg-guide__rows{
  display:grid;grid-template-columns:110px 1fr;align-items:baseline;
  row-gap:12px;column-gap:24px;
}
.bg-guide__lab{
  font:var(--fw-bold) 16px/1.5 var(--font-core);letter-spacing:var(--tracking-core);color:var(--color-black);
}
.bg-guide__val{
  font:var(--fw-regular) 16px/1.5 var(--font-core);letter-spacing:var(--tracking-core);color:var(--color-black);
  text-wrap:pretty;
}
.bg-guide__val--strong{font-weight:var(--fw-bold)}
.bg-guide__val--amt{font-weight:var(--fw-bold);color:var(--ui-blue)}
.bg-guide__rule{height:1px;background:var(--ui-line-ddd)}
.bg-guide__notes{
  margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:8px;
}
.bg-guide__notes li{
  font:var(--fw-regular) 14px/1.6 var(--font-core);letter-spacing:var(--tracking-core);
  color:var(--ui-gray-666);text-wrap:pretty;
}
/* 태블릿은 40절이 셸을 1400 캔버스 비율로 줄인다 — 안쪽 내용이 고정 px 로 남으면
   좁은 폭에서 상자만 작아지고 글자는 그대로라 넘친다(769 에서 상자 395). 같은 식으로 줄인다. */
[data-mode="tablet"] .bg-guide{
  padding:min(calc(100vw * 28 / 1400), 28px) min(calc(100vw * 32 / 1400), 32px);
  gap:min(calc(100vw * 18 / 1400), 18px);
}
[data-mode="tablet"] .bg-guide__rows{
  grid-template-columns:min(calc(100vw * 150 / 1400), 150px) 1fr;
  row-gap:min(calc(100vw * 12 / 1400), 12px);
  column-gap:min(calc(100vw * 24 / 1400), 24px);
}
[data-mode="tablet"] .bg-guide__lab,
[data-mode="tablet"] .bg-guide__val{font-size:clamp(14px, calc(100vw * 20 / 1400), 20px)}
[data-mode="tablet"] .bg-guide__notes li{font-size:clamp(14px, calc(100vw * 18 / 1400), 18px)}
[data-mode="mobile"] .bg-guide{padding:16px;gap:14px}
[data-mode="mobile"] .bg-guide__rows{grid-template-columns:84px 1fr;row-gap:10px;column-gap:12px}
[data-mode="mobile"] .bg-guide__lab,
[data-mode="mobile"] .bg-guide__val{font-size:14px}
[data-mode="mobile"] .bg-guide__notes{gap:6px}
[data-mode="mobile"] .bg-guide__notes li{font-size:12px}
/* 모바일 푸터는 버튼이 전폭이다(시안 `fullWidth={mo}`) */
[data-mode="mobile"] #container .chp-modal__actions--single .chp-btn,
[data-mode="mobile"] .chp-modal__actions--single .chp-btn{width:100%}

/* ══ 34. 외부 페이지 모달 — 결제영수증(chp.frameModal) ══════════════════
   오너 지시 2026-10-14 — 영수증이 새 창으로 떠서 우리 화면을 벗어난다.
   `window.open` 은 **모바일·태블릿에서 크기 옵션을 무시**하고 새 탭으로 여는다 —
   크기를 어떻게 주든 그쪽은 해결되지 않아 셀을 바꾸는 수밖에 없다.

   ★ 상자 크기는 호출부가 정한다(`--chp-framemodal-w/h`). 기본은 550×600.
   ★ 모바일은 띄우지 않고 **화면을 거의 다 쓴다** — 좋은 화면에서 550 상자는 읽힐 수 없다.
   ⚠ 모달은 아트보드 밖이라 태블릿 vw 스케일을 받지 않는다(7절 범위 = `#container` 안).
   ═════════════════════════════════════════════════════════════════════════ */
/* ★ 상자를 **세로 flex** 로 두고 프레임이 남는 높이를 채우게 한다.
   처음엔 프레임에 `height: calc(100vh - N)` 을 줬는데, 낮은 화면에서 **내용이 거의
   안 보였다** — 폰 가로(852×393) 실측에서 본문 101px · 프레임 173px 였다(2026-10-14).
   이제 `flex:0 1 <희망높이>` 라 자리가 있으면 600, 없으면 줄어든다. */
.chp-framemodal .chp-modal__box{
  display:flex;flex-direction:column;max-height:100%;
  width:var(--chp-framemodal-w, 550px);max-width:calc(100vw - 32px);
}
.chp-framemodal__body{
  flex:0 1 var(--chp-framemodal-h, 600px);min-height:0;
  padding:0;overflow:hidden;
}
.chp-framemodal__frame{display:block;width:100%;height:100%;border:0;background:var(--color-white)}
/* ★ 푸터는 **얄게** 둔다. 모달 기본 푸터는 확인/취소 다이얼로그용이라
   위아래 여백이 PC 40+56 · TA 40+60 이다 — 실측 푸터만 160px 를 먹었고
   그만큼 영수증이 납짝해졌다(오너 지적 2026-10-14). 여기 버튼은 **비상구**지
   주 동작이 아니다 — 크기도 large → medium 으로 낮춘다(JS 쪽 클래스). */
.chp-framemodal .chp-modal__actions{padding-top:16px;padding-bottom:20px}
[data-mode="mobile"] .chp-framemodal .chp-modal__actions{padding-top:12px;padding-bottom:16px}
[data-mode="mobile"] .chp-framemodal .chp-modal__box{width:calc(100vw - 32px)}
/* ★ 낮은 화면(폰 가로 등)에서는 가장자리 여백을 버리고 화면을 다 쓴다 —
   24px 마진과 둥근 모서리가 아까운 높이다. */
@media (max-height: 560px){
  .chp-framemodal .chp-modal__box{max-height:100vh;border-radius:0}
  .chp-framemodal .chp-modal__actions{padding-top:10px;padding-bottom:12px}
}

/* ══ 35. 주문상세 표 — 액션 칸 앞 세로선을 걷는다 ════════════════════
   오너 지시 2026-10-14 — "다른 열들은 칸 구분이 없는데 하나만 있다".
   시안(ODPc·ODTablet)에도 세로선은 없다 — 행을 가르는 가로선만 있다.

   ⚠ 이 선은 dev 가 2026-10-14 취소영수증 병합(ITSM-7112) 을 넣으면서 **일부러** 추가한 것이다
     (`"합친 칸에만 있으면 격자가 깨져 보였다"`). 그래서 **지우지 않고 여기서 덮는다** —
     그쪽 주석과 근거를 남겨 두어야 다음에 왼 걷었는지 읽힌다.
   ⚠ **병합 칸의 선도 같이 걷는다.** 한쪽만 남기면 병합 주문에서만 선이 나타나
     "하나만 칸 구분이 있다"는 지적이 그대로 남는다.
   ★ 행을 가르는 가로선(`.od-rcpt-merge:not(:last-child)`)은 그대로 둔다 — 그건 시안에도 있다.
   ═════════════════════════════════════════════════════════════════════════ */
#container .chp-table--order-slot .chp-table__head > :last-child,
#container .chp-table--order-slot .chp-table__row > .chp-tc-act,
#container .od-rcpt-merge__act{box-shadow:none}

/* ══ 36. 결제이력 — 시안 대조 교정 (stdy/appl/selectStdyApplPaymentList) ═══
   기준: 차이홍_퍼블/해상도별폰트제어/handoff-text-clamp/source/payment-history/
         PHPc.jsx · PHTablet.jsx · PHMobile.jsx (2026.10.02 판 — 결제이력 전달본 9.21 보다 새것이다)

   22절이 Tablet 열 폭을 맞췄고, 여기서는 **정렬 · 칸 여백 · 모바일 카드 구성**을 맞춘다.
   ★ 22절이 근거를 적어 둔 우리 쪽 값(날짜 열 228 · 액션 124 · 첫 칸 오른쪽 여백 0)은
     그대로 둔다 — 우리 주문번호가 시안 샘플보다 길어서 일부러 벌린 자리다.

   ── 무엇이 달랐나 ───────────────────────────────────────────────
   ① **정렬** — 시안 셀은 `display:flex; align-items:center` 가 전부라 **가로는 왼쪽이 기본**이다.
      결제금액만 `justify-content:flex-end`, 상태만 `center` 다. 산출물은 날짜·학습자·결제수단·
      금액까지 전부 가운데였다. (JSP 의 `chp-tc-center` 를 걷고 금액은 `chp-tc-right` 로 바꿨다.)
      ↳ 금액을 `chp-tc-right` 로 바꾸면 22절이 미리 적어 둔 두 규칙이 **그제서야 걸린다** —
        태블릿 금액 28/700 과 줄바꿈 금지. 선택자가 `.chp-tc-right.chp-tc-strong` 인데
        마크업은 `chp-tc-center` 였어서 **여태 한 번도 적용된 적이 없다**.
   ② **칸 오른쪽 여백** — 시안은 필요한 칸에만 준다(PC: 상품 20 · 금액 20 · 액션 8 ·
      나머지 0 / Tablet: 날짜·상품·학습자·금액 24 · 상태 0 · 액션 12). 산출물은 모든 칸에
      `--chp-tbl-px`(PC 20 · TA 20vw)를 넣어 상태 칸까지 안쪽이 좁았다.
   ③ **액션 칸** — 시안은 버튼을 가로 가운데로 세우고 세로 간격이 PC 8 · TA 10 이다.
      산출물은 `.chp-tc-stack` 때문에 왼쪽 정렬이고 간격이 `--gap-button`(12)이었다.

   ⚠ 표 테두리·행 구분선 색은 **그대로 둔다** — 시안은 PC `--grayscale-100`(#D3D3D3) ·
     Tablet `--ui-line-ccc`(#CCC) 인데 우리 `.chp-block` 은 전역으로 `--ui-line-ddd`(#DDD) 다.
     두세 단계 차이라 눈에 띄지 않고, 바꾸면 이 표만이 아니라 블록을 쓰는 화면이 전부 움직인다.
   ═════════════════════════════════════════════════════════════════════════ */

/* ── 36-1. PC 칸 오른쪽 여백 — 시안은 상품·금액·액션에만 준다 ───────────── */
[data-mode="pc"] .chp-table--history .chp-table__head > *,
[data-mode="pc"] .chp-table--history .chp-table__row  > *{padding-right:0}
[data-mode="pc"] .chp-table--history .chp-table__head > :nth-child(2),
[data-mode="pc"] .chp-table--history .chp-table__row  > :nth-child(2),
[data-mode="pc"] .chp-table--history .chp-table__head > :nth-child(5),
[data-mode="pc"] .chp-table--history .chp-table__row  > :nth-child(5){padding-right:20px}
[data-mode="pc"] .chp-table--history .chp-table__head > :last-child,
[data-mode="pc"] .chp-table--history .chp-table__row  > :last-child{padding-right:8px}

/* ── 36-2. Tablet 칸 오른쪽 여백 — 시안은 24, 상태만 0 ──────────────────
   ⚠ `#container` 가 필요하다 — 7-1절의 `[data-mode="tablet"] #container .chp-table__row > *`
     (1,3,0)를 이겨야 한다. 그리고 **첫 칸 0 을 다시 못 박는다** — 22-2절이 같은 특이성이라
     뒤에 오는 이 규칙이 그냥 두면 24 로 덮어쓴다(주문번호가 다시 좁아진다). */
[data-mode="tablet"] #container .chp-table--history .chp-table__head > *,
[data-mode="tablet"] #container .chp-table--history .chp-table__row  > *{
  padding-right:min(calc(100vw * 24 / 1400), 24px);
}
/* 첫 칸은 시안 10-02 노트가 명시한 대로 **주문번호와 학습상품 사이 24** 를 둔다.
   22-2절은 이 여백을 걷고 열을 더 넓혔는데, 그러면 769(글자가 하한 14px 에 멈추는 구간)에서
   `…19634236980_EB118없음` 처럼 주문번호와 상품 메타가 **붙어 한 단어처럼 읽혐다**(실측).
   여백을 되돌리는 대신 열 폭을 그만큼 올렸다(22절 클랡프 228→252 · 하한 172→**195**).
   ⚠ 하한은 186 이 아니라 195 다 — 186 은 19자(`1790917002004_EB118`) 기준이고, 실데이터에는
     20자(`1790916664065_EB9998`)가 있어 글자 하한 구간에서 모자랐다(실측 1024 에서 필요 194 · +8 잘림).
     1078 위로는 vw 값이 더 커서 하한이 풀린다. */
[data-mode="tablet"] #container .chp-table--history .chp-table__head > :first-child,
[data-mode="tablet"] #container .chp-table--history .chp-table__row  > :first-child{
  padding-right:min(calc(100vw * 24 / 1400), 24px);
}
[data-mode="tablet"] #container .chp-table--history .chp-table__head > :nth-child(6),
[data-mode="tablet"] #container .chp-table--history .chp-table__row  > :nth-child(6){padding-right:0}
[data-mode="tablet"] #container .chp-table--history .chp-table__head > :last-child,
[data-mode="tablet"] #container .chp-table--history .chp-table__row  > :last-child{
  padding-right:min(calc(100vw * 12 / 1400), 12px);
}

/* ── 36-3. 액션 칸 — 버튼을 가운데로 세우고 간격을 시안 값으로 ────────────
   마크업이 `.chp-tc-act .chp-tc-stack` 이라 stack 의 `align-items:flex-start` 가 이긴다. */
.chp-table--history .chp-tc-act.chp-tc-stack{align-items:center;gap:8px}
[data-mode="tablet"] #container .chp-table--history .chp-tc-act.chp-tc-stack{
  gap:min(calc(100vw * 10 / 1400), 10px);
}

/* ── 36-4. 모바일 카드 — 시안은 세 덩어리다(PHMobile.jsx) ────────────────
   ① 날짜+주문번호(세로 2줄) ↔ 상태 뱃지   ② 상품명·묶음·학습자·결제수단
   ③ 금액 ↔ 액션 버튼(**한 줄**)
   덩어리 사이 12 · 덩어리 안 4~6. 산출물은 다섯 줄이 평평하게 8 간격으로 쌓여 있었고
   금액이 본문과 같은 12/400 이라 눈에 들어오지 않았으며 버튼이 전폭이라 한 줄을 더 썼다.
   ⚠ `.chp-card*` 는 상담 및 결제·주문상세도 쓰는 공용 부품이다 — `.ph-card` 로만 가른다. */
[data-mode="mobile"] .ph-card .chp-card__body{gap:12px}
[data-mode="mobile"] .ph-card .chp-card__top{align-items:flex-start;justify-content:space-between;gap:12px}
[data-mode="mobile"] .ph-card .chp-card__top > .chp-status{flex-shrink:0}
.ph-card__when{display:flex;flex-direction:column;align-items:flex-start;gap:4px;min-width:0}
.ph-card__when > span{font:var(--fw-regular) 12px/1.5 var(--font-core);letter-spacing:var(--tracking-core);color:#000}
.ph-card__prod{display:flex;flex-direction:column;align-items:flex-start;gap:6px;align-self:stretch;min-width:0}
.ph-card__foot{display:flex;align-items:center;justify-content:space-between;gap:12px;align-self:stretch}
.ph-card__amt{
  flex-shrink:0;
  font:var(--fw-bold) 16px/1.4 var(--font-core);
  letter-spacing:var(--tracking-core);
  color:var(--color-black);
}
/* 버튼 묶음은 오른쪽에 **내용폭**으로 선다 — `.chp-card__act` 기본이 `align-self:stretch` 다. */
.ph-card__foot .chp-card__act{flex:0 0 auto;width:auto;align-self:auto}

/* ── 36-5. 세로 간격도 태블릿에서는 폭을 따라 줄인다 ──────────────────────
   시안 Tablet 은 이 간격들을 `calc(var(--gap-*) * 1px)` 로 쓰는데, 그 1px 가 **1400 캔버스의
   1px** 이라 프로토타입 셸이 통째로 줌하면 폭에 비례해 줄어든다(실측 1024: 상자→건수 35 ·
   건수→표 26). 산출물은 고정 px 이라 48 · 36 으로 서서, 좁은 태블릿에서 표보다 여백이 컸다.
   7절(태블릿 스케일)의 길이 규칙 그대로 — 하한 없이 `min()` 이다.
   ⚠ 쓰는 화면은 둘뿐이다(결제이력 · 상담 및 결제). 둘 다 같은 시안 계열이라 같이 맞는다. */
[data-mode="tablet"] #container .chp-gap-title-box{height:min(calc(var(--gap-title-box) * 100vw / 1400), calc(var(--gap-title-box) * 1px))}
[data-mode="tablet"] #container .chp-gap-box-count{height:min(calc(var(--gap-box-count) * 100vw / 1400), calc(var(--gap-box-count) * 1px))}
[data-mode="tablet"] #container .chp-gap-count-table{height:min(calc(var(--gap-count-table) * 100vw / 1400), calc(var(--gap-count-table) * 1px))}
[data-mode="tablet"] #container .chp-gap-table-paging{height:min(calc(var(--gap-table-paging) * 100vw / 1400), calc(var(--gap-table-paging) * 1px))}

/* ⚠ CSS 주석 안에서는 강조 별표 둘을 숫자 뒤 사슬래시 바로 앞에 두지 않는다.
   별표 다음에 사슬래시가 오면 그것이 곧 주석 닫는 기호라 **주석이 거기서 끝난다**.
   끝난 뒤 남은 설명문은 CSS 로 읽혀 중괄호를 삼키고, 바로 뒤 규칙까지 통째로 날아간다
   (2026-10-15 이 절에서 실제로 겪었다 — 규칙 세 개가 한 줄도 안 걸렸다).
   값은 `[14]/400` 처럼 대괄호로 쓰거나 강조를 띄운다. */
/* ══ 37. 검색바 칩 · 전체선택 줄 — 시안 글자값 교정 (2026-10-15) ═════════
   기준: 해상도별폰트제어/handoff-text-clamp/prototypes/consult-and-pay (10-02 판)
   세 모드를 같은 폭에서 재어 비교했다(PC 1600 · Tablet 1399 ≈ 설계 단위 · Mobile 375).
   표·카드·버튼·뱃지·아코디언은 전부 맞았고 아래 셋만 어긋나 있었다.

   ① 기간 칩 — 시안 PC 16/[500] · TA 20/400 · MO [14]/400.
      산출물은 `--chp-btn-fs-md-quiet`(PC 16 · TA 20 · MO 12) + `--fw-regular` 라
      **PC 는 굵기가, 모바일은 크기가** 달랐다.
      ⚠ 토큰을 고치면 안 된다 — `.chp-btn--outline` 3종이 같은 토큰을 쓴다. 칩만 덮는다.
   ② 전체선택 라벨 — 시안 MO 16/[400] (PC 16/500 · TA 22/500 은 그대로다).
      크기는 `--chp-sab-label-fs` 모바일값 14→16 으로 고쳤고(이 토큰은 이 라벨만 쓴다),
      굵기는 모바일만 400 으로 내린다.
   ③ 검색 라벨 `상담일`·`~` — 시안 MO [12]/400. `--chp-search-label-fs` 모바일 14→12.
      (이 토큰도 `.chp-searchbar__label`·`__tilde` 만 쓴다 — searchDate.tag 전용이다.)

   ⚠ 남은 하나는 여기서 손대지 않는다 — 모바일 [취소하기]가 12 인데 시안은 14 다.
     `.chp-btn--outline{font-size:var(--chp-btn-fs-md-quiet)}` 전역 규칙("아웃라인은 한 단계
     작다")이 원인이고, 시안 세 화면이 모두 그렇지 않다. 전역이라 따로 판단한다.
   ═════════════════════════════════════════════════════════════════════════ */
[data-mode="pc"] .chp-searchbar .chp-searchbar__group--chips > .btn-b-lgry{
  font-weight:var(--fw-medium);
}
[data-mode="mobile"] .chp-searchbar .chp-searchbar__group--chips > .btn-b-lgry,
[data-mode="mobile"] .chp-searchbar .chp-searchbar__group--chips > .btn-gry{
  font-size:14px;
}
[data-mode="mobile"] .chp-selectall__label{font-weight:var(--fw-regular)}

/* ══ 38. 상담 및 결제 모바일 — 전체선택 줄 · 상품 영역 (오너 지적 2026-10-15) ══
   기준: handoff-text-clamp/source/consult-and-pay/CPMobile.jsx (페이지 안에 원문이 들어 있다)

       <span className="mo-title">결제 가능 상품</span>
       <div style={{ height: 20 }} />
       <div style={{ display:'flex', alignItems:'center', justifyContent:'space-between',
                     paddingBottom: 12 }}>
         <MOCheckbox label={`전체선택 (n/m)`} />
         <span className="mo-body-bold">{fmt(b.total)}</span>
       </div>
       {rows.map(r => <MOCard … />)}

   시안 모바일은 **전체선택이 상자 안에 들어가지 않는다** — 제목 밑에 그냥 한 줄로 서고,
   그 아래로 카드가 각자 선다. 상자(테두리·회색 띠)는 PC·Tablet 의 표 머리 형태다.

   실측 차이(375):
     전체선택 줄   시안 357×36 · 배경 투명 · 여백 0 0 12      ↔  우리 341×48 · #F7F7F7 · 모서리 8 8 0 0
     오른쪽       시안 금액 하나                              ↔  우리 `선택 N건` + 금액
     감싸는 것    시안 없음                                   ↔  우리 .chp-block(1px #DDD · r8)
     카드         시안 357×154 · 1px #D3D3D3 · r12 · 선택 #F0F2F7 ↔ 우리 341 · 1px #DDD · r12 · 선택 동일 ✓

   ⚠ `.chp-block` · `.chp-selectall` 은 공용이라 **이 화면의 덩어리에만** 건다 —
     `:has(> .chp-selectall)` 로 전체선택을 품은 블록만 고른다(결제이력의 표 블록·빈 목록 블록은
     모바일에서 각각 `chp-wide-only` 와 빈 상태라 닿지 않지만, 선택자로도 갈라 둔다).
   ⚠ `선택 N건` 은 **지우지 않고 감춘다** — chp-ui.js 5절이 `data-chp-selected-count` 를 두 군데
     (여기와 결제 바) 같이 갱신한다. 마크업에서 빼면 그 계약을 건드린다.
   ═════════════════════════════════════════════════════════════════════════ */
[data-mode="mobile"] .chp-block:has(> .chp-selectall){
  border:0;
  border-radius:0;
  overflow:visible;
}
[data-mode="mobile"] .chp-block:has(> .chp-selectall) > .chp-selectall{
  height:auto;
  padding:0 0 12px;
  background:transparent;
  border-bottom:0;
  border-radius:0;
}
[data-mode="mobile"] .chp-selectall__check{padding-left:0}
/* 같은 화면의 **구매 완료 · 상담 취소** 섹션(`mypage/inc/counselCmplSection.jsp`)은
   전체선택 줄이 없어 위 선택자(`:has(> .chp-selectall)`)에 걸리지 않았다. 그래서 그쪽만
   바깥 블록 테두리가 남아 **카드 테두리와 두 겹**으로 보였다(사용자 지적 2026-11-09).
   시안은 모바일에서 카드가 각자 서고 감싸는 상자가 없다(위 실측표 '감싸는 것 — 없음').
   카드 목록을 품은 블록이면 전체선택 유무와 상관없이 같이 면을 지운다.
   ⚠ 표(`.chp-table`)를 품은 블록은 그대로다 — 그쪽 테두리가 곧 표의 틀이고, 좁은 폭에서는
     표가 `chp-wide-only` 로 감춰져 블록만 남지도 않는다(카드가 같은 블록 안에 함께 있다). */
[data-mode="mobile"] .chp-block:has(> .chp-card-list){
  border:0;
  border-radius:0;
  overflow:visible;
}
[data-mode="mobile"] .chp-selectall__count{display:none}
/* 제목 줄(`결제 가능 상품 N건`) → 전체선택 20. 공용 스페이서는 모바일 8 이라 이 화면만 올린다. */
[data-mode="mobile"] .chp-gap-count-table:has(+ [data-chp-select]){height:20px}

/* ══ 39. 약관 보기 팝업 본문 (common/termsMngrPop) ═══════════════════════
   본문은 **운영이 넣은 HTML** 이고 `.revert`(custom.css:2432 `.revert *{all:revert}`)가
   안쪽을 UA 기본값으로 되돌린다 — 그래야 표 테두리·목록 기호가 산다. 그래서 우리 토큰은
   **그릇에만** 건다. 상속되는 속성(글자 크기·줄높이)은 UA 가 규칙을 갖지 않는 요소
   (`p` · `td` · `div` · `span`)에서 그릇 값을 그대로 물려받는다 — 제목 태그만 UA 크기를 지킨다.

   ⚠ 선언 자리가 중요하다. `.revert *{all:revert}` 와 특이성이 같은 규칙은 **나중에 실린 쪽**이
     이긴다 — chp-project.css 가 custom.css 뒤라 여기서 쓰면 걸린다. custom.css 안에 쓰면 진다.

   ⚠ 표가 모달을 넘친다. 약관은 3열 표(수집·이용 항목 / 목적 / 기간)를 담는데, `all:revert` 가
     `table-layout` 까지 되돌려 **내용 폭대로 벌어진다**. 모바일 340 상자에서 가로로 삐져나갔다.
     `table-layout:fixed` + `width:100%` 로 칸을 가두고 긴 낱말은 줄바꿈시킨다.
   ═════════════════════════════════════════════════════════════════════════ */
/* ⚠ 레거시 `[class*="tbl-type01"]`(custom.css)가 **검은 윗줄 + margin-top 30** 을 얻는다 —
   본문에 표 블록을 올리던 규칙이라 제목줄이 있는 모달 안에서는 군더더기다(실측: 머리 아래
   60px 가 비고 검은 줄이 그어졌다). 클래스는 두고(칸 구분선이 그걸 타다) 그릴 것만 걷는다. */
.chp-terms[class*="tbl-type01"]{border-top:0;margin-top:0}
.chp-terms{
  font:var(--fw-regular) 14px/1.7 var(--font-core);
  letter-spacing:var(--tracking-core);
  color:var(--color-black);
  word-break:keep-all;
}
[data-mode="tablet"] #container .chp-terms,
[data-mode="tablet"] .chp-modal .chp-terms{font-size:clamp(14px, calc(100vw * 20 / 1400), 20px)}
[data-mode="mobile"] .chp-modal .chp-terms{font-size:12px;line-height:1.6}
/* 표 — 모달 폭 안에 가둔다 */
.chp-terms table{width:100%;max-width:100%;table-layout:fixed;border-collapse:collapse}
/* ⚠ `word-break:break-word` 는 **낱말 한가운데를 끊는다** — 태블릿에서 상자가 좁아지자
   칸 안에서 `수집·이용 항 / 목` 처럼 갈라졌다. 한글은 `keep-all` 로 낱말을 지키고,
   칸에 도저히 안 들어가는 긴 토큰(계좌번호·URL)만 `overflow-wrap` 으로 끊는다. */
.chp-terms td,
.chp-terms th{padding:10px 12px;vertical-align:top;word-break:keep-all;overflow-wrap:anywhere}
/* 칸 글자는 **그릇을 따른다.** 레거시 `[class*="tbl-type01"] td` 가 custom.css 16px ·
   m.css 태블릿 `max(17.93px, 1.83vw)` 로 따로 잡아, 실측 1024 에서 본문 14.6 인데 칸만
   18.7 이었다(769 에서는 14 대 17.9). 그 값들은 본문 폭 표를 위한 것이라 360~720 짜리
   모달 안에서는 과하다.
   ⚠ `.chp-terms td`(0,1,1)로는 못 이긴다 — m.css 가 chp-project.css **뒤에** 실려
     같은 특이성이면 그쪽이 이긴다. `.chp-modal` 을 앞에 세워 (0,2,1)로 올린다. */
.chp-modal .chp-terms td,
.chp-modal .chp-terms th{font-size:inherit}
[data-mode="mobile"] .chp-modal .chp-terms td,
[data-mode="mobile"] .chp-modal .chp-terms th{padding:8px}
/* 이미지도 넘치지 않게 */
.chp-terms img{max-width:100%;height:auto}

/* 약관명 — 본문 첫 줄이다. 운영 HTML 이 태그 없이 맨 텍스트로 두어 팝업 스크립트가
   `p.chp-terms__title` 로 감싼다(termsMngrPop.jsp). 제목처럼 세운다.
   ⚠ `.revert *{all:revert}` 와 특이성이 같으면 나중에 실린 이 파일이 이긴다 — 39절 머리 참고. */
.chp-terms .chp-terms__title{
  margin:0 0 12px;
  font-weight:var(--fw-bold);
  font-size:1.15em;
  line-height:1.5;
  color:var(--color-black);
}
[data-mode="mobile"] .chp-modal .chp-terms .chp-terms__title{margin-bottom:10px}

/* ══ 40. 공통 모달 셸 — 태블릿도 1400 캔버스를 100vw 로 줄인다 ═══════════
   오너 지적 2026-10-15 — "공통팝업에 디바이스별 폰트/버튼 정책이 적용되지 않았다".

   무엇이 어긋났나(실측 2026-10-15, 약관 보기 팝업 · `SM-T870` UA)

     뷰포트   본문 `.chp-btn--lg`   모달 `.chp-btn--lg`   모달 상자
       769      48h · 16px           64h · 24px          720 (화면의 94%)
      1024      48h · 17.6px         64h · 24px          720 (70%)
      1399      64h · 24px           64h · 24px          720 (51%)  ← 여기서만 설계대로

   모달 쪽 값이 769~1399 **전 구간에서 꼼짝하지 않는다**. 7-1절이 태블릿 vw 스케일을
   `#container` 안으로 한정했는데, 모달은 둘 중 어느 쪽이든 그 규칙이 닿지 않거나
   반만 닿는다 — ajax 팝업(약관)은 `#popup_area`(= body 바로 밑)라 통째로 밖이고,
   JSP 에 박힌 모달(배송조회·취소·카드등록)은 `#container` 안이라 **버튼만 줄고 셸은
   안 줄어** 오히려 더 어긋난다.

   ★ 7절의 "모달은 1:1" 단서는 **철회한다.** 그것은 시안 프로토타입에서 `position:fixed`
     오버레이가 캔버스 축소를 받지 않는 것을 보고 쓴 추정이었다. DS 계약
     (`tokens/breakpoints.css`)은 예외를 두지 않는다 — *"Tablet — vw-fluid. Elements
     scale with viewport width between 1400 and 769."*
   ★ 25절(대체수업)·26절(수업시간)이 이미 같은 일을 **모달 id 로 좁혀서** 하고 있었고,
     25절 주석에 "셸 전체에 적용할지는 별도 판단이 필요하다"고 남겨 뒀다. 이 절이 그 판단이다.
     두 절의 id 규칙은 특이성이 한 단 높아 그대로 이기고 값도 같다 — 건드리지 않는다.

   ⚠ 특이성 함정 둘(실제로 밟았다)
     · `[data-mode="tablet"] .chp-modal .chp-modal__box` 는 (0,3,0)이라 `.chp-modal--alert
       .chp-modal__box`(0,2,0)의 560 과 `.chp-framemodal .chp-modal__box`(0,2,0)의
       `--chp-framemodal-w` 를 **덮어버린다.** alert 는 자기 토큰으로 다시 쓰고(아래),
       프레임 모달(34절 영수증)은 `:not()` 으로 비켜 간다 — 그쪽은 DS 기하가 아니다.
     · `.chp-btn--sm`·`--lg` 는 각자 규칙을 둬야 한다. 안 그러면 위의 `.chp-btn` 규칙이
       특이성으로 이겨 전부 medium 이 된다(7-1절이 같은 함정을 적어 뒀다).

   하한은 7절과 같은 기준이다 — **설계값 × 0.7**(= 980 폭에서의 값), 본문 글자는 DS
   가독성 하한 14. 값은 토큰 `var()` 를 그대로 곱해 쓰므로 토큰이 갱신되면 따라온다.
   ═══════════════════════════════════════════════════════════════════════ */

/* ── 40-1. 셸 ──────────────────────────────────────────────────────────── */
[data-mode="tablet"] .chp-modal:not(.chp-framemodal) .chp-modal__box{
  width:min(calc(100vw * var(--chp-modal-w) / 1400), calc(var(--chp-modal-w) * 1px));
  border-radius:min(calc(100vw * var(--radius-modal) / 1400), calc(var(--radius-modal) * 1px));
}
[data-mode="tablet"] .chp-modal__head{
  padding:min(calc(100vw * var(--chp-modal-head-py) / 1400), calc(var(--chp-modal-head-py) * 1px))
          min(calc(100vw * (var(--chp-modal-pad) - var(--chp-modal-x-inset)) / 1400), calc((var(--chp-modal-pad) - var(--chp-modal-x-inset)) * 1px))
          min(calc(100vw * var(--chp-modal-head-py) / 1400), calc(var(--chp-modal-head-py) * 1px))
          min(calc(100vw * var(--chp-modal-pad) / 1400), calc(var(--chp-modal-pad) * 1px));
}
[data-mode="tablet"] .chp-modal__title{
  font-size:clamp(calc(var(--chp-modal-title-fs) * 0.7px), calc(100vw * var(--chp-modal-title-fs) / 1400), calc(var(--chp-modal-title-fs) * 1px));
}
/* 닫기 X — **보이는 상자(svg)만 줄이고 탭 영역 44 는 그대로 둔다.** 44 는 DS 가 고정으로
   규정한 하한이라(브레이크포인트 계약의 readability floor 와 같은 성격) vw 를 태우지 않는다. */
[data-mode="tablet"] .chp-modal__head .chp-iconbtn svg{
  width:min(calc(100vw * var(--chp-modal-x) / 1400), calc(var(--chp-modal-x) * 1px));
  height:min(calc(100vw * var(--chp-modal-x) / 1400), calc(var(--chp-modal-x) * 1px));
}
[data-mode="tablet"] .chp-modal__body{
  padding:min(calc(100vw * var(--chp-modal-pad) / 1400), calc(var(--chp-modal-pad) * 1px))
          min(calc(100vw * var(--chp-modal-pad) / 1400), calc(var(--chp-modal-pad) * 1px)) 0;
  font-size:clamp(14px, calc(100vw * 20 / 1400), 20px);
}
[data-mode="tablet"] .chp-modal__foot{
  padding:0 min(calc(100vw * var(--chp-modal-pad) / 1400), calc(var(--chp-modal-pad) * 1px));
}
[data-mode="tablet"] .chp-modal__actions{
  gap:min(calc(100vw * var(--chp-modal-btn-gap) / 1400), calc(var(--chp-modal-btn-gap) * 1px));
  padding-top:min(calc(100vw * var(--chp-modal-foot-top) / 1400), calc(var(--chp-modal-foot-top) * 1px));
  padding-bottom:min(calc(100vw * var(--chp-modal-foot-bottom) / 1400), calc(var(--chp-modal-foot-bottom) * 1px));
}

/* ── 40-2. variant = alert — 자기 토큰(`--chp-alert-*`)으로 다시 쓴다 ─────
   ⚠ 상자 폭 규칙에는 **`:not(.chp-framemodal)` 을 똑같이 달아야 한다.** 40-1 의 `:not()`
     이 특이성을 (0,4,0)으로 올려 놓아서, 이 규칙을 (0,3,0)으로 쓰면 진다 —
     실측에서 알림 상자가 560 이 아니라 720 비율(769 에서 395)로 나왔다. */
[data-mode="tablet"] .chp-modal--alert:not(.chp-framemodal) .chp-modal__box{
  width:min(calc(100vw * var(--chp-alert-w) / 1400), calc(var(--chp-alert-w) * 1px));
}
[data-mode="tablet"] .chp-modal--alert .chp-modal__body{
  padding:min(calc(100vw * var(--chp-alert-pad) / 1400), calc(var(--chp-alert-pad) * 1px))
          min(calc(100vw * var(--chp-alert-pad) / 1400), calc(var(--chp-alert-pad) * 1px)) 0;
}
[data-mode="tablet"] .chp-modal--alert .chp-modal__foot{
  padding:0 min(calc(100vw * var(--chp-alert-pad) / 1400), calc(var(--chp-alert-pad) * 1px));
}
[data-mode="tablet"] .chp-modal--alert .chp-modal__actions{
  gap:min(calc(100vw * var(--chp-alert-btn-gap) / 1400), calc(var(--chp-alert-btn-gap) * 1px));
  padding-top:min(calc(100vw * var(--chp-alert-foot-top) / 1400), calc(var(--chp-alert-foot-top) * 1px));
  padding-bottom:min(calc(100vw * var(--chp-alert-foot-bottom) / 1400), calc(var(--chp-alert-foot-bottom) * 1px));
}
[data-mode="tablet"] .chp-modal__alert-title{
  font-size:clamp(calc(var(--chp-alert-title-fs) * 0.7px), calc(100vw * var(--chp-alert-title-fs) / 1400), calc(var(--chp-alert-title-fs) * 1px));
  margin-bottom:min(calc(100vw * var(--chp-alert-title-gap) / 1400), calc(var(--chp-alert-title-gap) * 1px));
}
[data-mode="tablet"] .chp-modal__alert-text{
  font-size:clamp(14px, calc(100vw * var(--chp-form-field-fs) / 1400), calc(var(--chp-form-field-fs) * 1px));
}

/* ── 40-3. 모달 안 공용 부품 — 7-1절과 같은 식, 범위만 `.chp-modal` ──────
   `#container` 안에 박힌 모달은 7-1절이 이미 버튼·필드를 줄이고 있다. 값이 같으므로
   둘이 겹쳐도 결과가 바뀌지 않고, ajax 팝업처럼 `#container` 밖인 모달만 여기서 처음 걸린다. */
[data-mode="tablet"] .chp-modal .chp-btn{
  height:clamp(40px, calc(100vw * var(--chp-btn-h-md) / 1400), calc(var(--chp-btn-h-md) * 1px));
  padding:0 min(calc(100vw * var(--space-btn-x) / 1400), calc(var(--space-btn-x) * 1px));
  border-radius:min(calc(100vw * var(--radius-btn) / 1400), calc(var(--radius-btn) * 1px));
  font-size:clamp(14px, calc(100vw * var(--chp-btn-fs-md) / 1400), calc(var(--chp-btn-fs-md) * 1px));
}
[data-mode="tablet"] .chp-modal .chp-btn--outline,
[data-mode="tablet"] .chp-modal .chp-btn--outline-red,
[data-mode="tablet"] .chp-modal .chp-btn--outline-blue{
  font-size:clamp(14px, calc(100vw * var(--chp-btn-fs-md-quiet) / 1400), calc(var(--chp-btn-fs-md-quiet) * 1px));
}
[data-mode="tablet"] .chp-modal .chp-btn--lg,
[data-mode="tablet"] .chp-modal .chp-btn--lg.chp-btn--outline,
[data-mode="tablet"] .chp-modal .chp-btn--lg.chp-btn--outline-red,
[data-mode="tablet"] .chp-modal .chp-btn--lg.chp-btn--outline-blue{
  height:clamp(48px, calc(100vw * var(--chp-btn-h-lg) / 1400), calc(var(--chp-btn-h-lg) * 1px));
  border-radius:min(calc(100vw * var(--radius-btn-large) / 1400), calc(var(--radius-btn-large) * 1px));
  font-size:clamp(16px, calc(100vw * var(--chp-btn-fs-lg) / 1400), calc(var(--chp-btn-fs-lg) * 1px));
  min-width:min(calc(100vw * var(--width-btn-large-min) / 1400), calc(var(--width-btn-large-min) * 1px));
}
[data-mode="tablet"] .chp-modal .chp-btn--sm,
[data-mode="tablet"] .chp-modal .chp-btn--sm.chp-btn--outline,
[data-mode="tablet"] .chp-modal .chp-btn--sm.chp-btn--outline-red,
[data-mode="tablet"] .chp-modal .chp-btn--sm.chp-btn--outline-blue{
  height:clamp(32px, calc(100vw * var(--chp-btn-h-sm) / 1400), calc(var(--chp-btn-h-sm) * 1px));
  padding:0 min(calc(100vw * var(--chp-btn-px-sm) / 1400), calc(var(--chp-btn-px-sm) * 1px));
  font-size:clamp(14px, calc(100vw * var(--chp-btn-fs-sm) / 1400), calc(var(--chp-btn-fs-sm) * 1px));
}
[data-mode="tablet"] .chp-modal .chp-field{
  height:clamp(40px, calc(100vw * var(--chp-form-field-h) / 1400), calc(var(--chp-form-field-h) * 1px));
  padding:0 min(calc(100vw * var(--chp-form-pad-x) / 1400), calc(var(--chp-form-pad-x) * 1px));
  border-radius:min(calc(100vw * var(--radius-field) / 1400), calc(var(--radius-field) * 1px));
  font-size:clamp(14px, calc(100vw * var(--chp-form-field-fs) / 1400), calc(var(--chp-form-field-fs) * 1px));
}
[data-mode="tablet"] .chp-modal .chp-formrow{
  padding:min(calc(100vw * var(--chp-form-row-py) / 1400), calc(var(--chp-form-row-py) * 1px)) 0;
}
[data-mode="tablet"] .chp-modal .chp-formrow__label{
  width:min(calc(100vw * var(--chp-form-label-w) / 1400), calc(var(--chp-form-label-w) * 1px));
  font-size:clamp(14px, calc(100vw * var(--chp-form-label-fs) / 1400), calc(var(--chp-form-label-fs) * 1px));
}
/* 안내 상자(`.chp-note`) — 7-2절이 `#container` 안에서만 줄이고 있었다. 모달 안에도 같은
   그릇이 쓰인다(학습자(자녀) 등록의 안내 3줄 · 시안 `ChildRegisterModal`). 값은 7-2절과 같다. */
[data-mode="tablet"] .chp-modal .chp-note{
  padding:min(calc(100vw * 20 / 1400), 20px) min(calc(100vw * 24 / 1400), 24px);
}
[data-mode="tablet"] .chp-modal .chp-note__title{font-size:clamp(16.8px, calc(100vw * 24 / 1400), 24px)}
[data-mode="tablet"] .chp-modal .chp-note__text{font-size:clamp(14px, calc(100vw * 18 / 1400), 18px)}

/* ── 40-4. 모바일 푸터 — 두 버튼은 **전폭**이다 ───────────────────────────
   DS `renderModalActions` 가 `bp === 'mo'` 일 때 두 버튼 모두 `fullWidth` 로 그린다
   (`full = layout === 'split' || bp === 'mo'`). 우리는 `--single` 만 전폭으로 두고 있어
   두 버튼짜리 모달(배송조회·취소·대체수업·학습자 등록)이 **각 60px** 로 쪼그라들어 있었다
   (실측 375: 상자 340 안에서 60+12+60). 둘 다 100% 면 flex 가 남는 폭을 반씩 나눈다. */
[data-mode="mobile"] .chp-modal__actions .chp-btn{width:100%}

/* ══ 41. 학습자(자녀) 등록 모달 (common/childrenAddPop) ═══════════════════
   시안 `prototypes/common-modals` 의 `ChildRegisterModal`(SCR-09 F). 셸·폼·안내 상자는
   전부 공용 부품이라 이 절이 손대는 것은 **이 모달에서만 다른 두 가지**뿐이다.
   ═════════════════════════════════════════════════════════════════════════ */
/* 입력칸과 안내 상자 사이 — 시안 `marginTop` mo 12 / 그 외 16.
   공용 간격 유틸(`.chp-gap-16`)은 모바일에서도 16 이라 이 자리만 따로 둔다. */
#childrenAddPop .chp-note{margin-top:16px}
[data-mode="mobile"] #childrenAddPop .chp-note{margin-top:12px}
/* 입력칸이 칸을 채우지 않았다 — `<input>` 의 기본 `size` 폭이 나온다(실측 1024: 칸 474 에
   입력칸 184). 자녀 ID·성명은 길이가 정해져 있지 않으니 **칸을 채운다**. 25절 대체수업과
   같은 처리이고, 자리마다 폭을 정해 둔 회원정보와 섞이지 않게 이 모달로 좁힌다.
   ⚠ **폭만 준다.** 25절처럼 여기서 `font-size` 까지 주면 (1,3,0)이 40-3 의 태블릿 규칙
     (0,3,0)을 이겨 글자가 vw 를 타지 않는다. 모바일만 따로 되돌린다 — 그쪽은
     `input[type="text"]{font-size:var(--fom-fs)}`(0,1,1)가 `.chp-field`(0,1,0)를 이겨 12px 로 나온다. */
.chp-modal#childrenAddPop .chp-formrow__field .chp-field{width:100%}
[data-mode="mobile"] .chp-modal#childrenAddPop .chp-field{font-size:calc(var(--chp-form-field-fs) * 1px)}

/* ══ 42. 앱 웹뷰 GNB — 유패스 (mb/page/header.tag) ═══════════════════════
   기준 시안: `Upass-GNB/handoff-upass-menu`(2026.10.16 전달본) — `source/_lib/UpassKit.jsx`
   의 `TAHeader` 와 `upass-data.js`. **앱에서만 지나는 길**이고(appYn='Y' → mb/page/header.tag),
   웹 전체메뉴와 클래스를 공유하므로 **`--upass` 수식자로 가른다.**

   시안 값(Tablet · 1400 캔버스)
     앱바 76 네이비 · 로고 97×50(위아래 13) · 열린 줄 padding 0 98 0 78
     × right 24 · top 25(아이콘 30) · 딤 검정 80% · 패널 흰색 + 아래 1px --ui-line-ccc
     메뉴 가운데 정렬 · 28px · 행 84 · 위아래 52 → 패널 356
     현재 위치 --ui-navy 700 + 밑줄 2px(글자 아래 22)

   ⚠ **모바일 시안은 없다.** 사용자 지시(2026-10-16)로 **같은 규칙을 앱바 비율로 줄여** 쓴다 —
     `--space-header-height` 가 ta 76 · mo 48 이므로 **48/76 = 0.632**. 반올림한 값:
       글자 28→18 · 행 84→53 · 위아래 52→33(패널 225) · 로고 97×50→62×32 · 밑줄 아래 22→14
     앱바·밴드·× 는 모바일 값이 이미 있다(3-1절) — 로고만 유패스 비율로 바꾼다.
   ⚠ 태블릿 값은 7절 규칙대로 `min(100vw*N/1400, Npx)`(여백·크기) · `clamp(N*0.7, …, N)`(글자)다.
     고정 px 로 넣으면 769 에서 1.37배가 된다.
   ⚠ 행 높이에는 **탭 하한 44** 를 둔다 — 769 에서 84×0.549 = 46 이라 실제로 물리지는 않지만,
     더 좁은 앱 태블릿이 들어와도 손가락 크기는 줄지 않는다.
   ═══════════════════════════════════════════════════════════════════════ */

/* ── 42-1. 로고 — 닫힌 앱바(가운데) · 열린 네이비 줄(왼쪽) 공통 ──────────
   ⚠ **로고는 vw 로 줄이지 않는다.** 앱바 높이(`--space-header-height`)가 ta 76 · mo 48 **고정
     px** 이기 때문이다 — 로고만 vw 로 줄이면 1024 에서 36.6 이 되어 위아래 여백이 13 이 아니라
     19.7 로 벌어진다(실측 2026-10-16). 시안의 "앱바 76 안 위아래 13" 을 지키려면 로고도 고정이다.
   모바일은 48 프레임에 같은 비율 — 48 − 13×0.632×2 ≈ 32, 폭은 97:50 비율로 62. */
.chp-appheader__logo,
.chp-megamenu--upass .chp-megamenu__logo img{display:block;width:62px;height:32px}
[data-mode="tablet"] .chp-appheader__logo,
[data-mode="tablet"] .chp-megamenu--upass .chp-megamenu__logo img{width:97px;height:50px}

/* ── 42-2. 열린 네이비 줄 — 높이는 3-1-1절이 공통으로 맡는다 ──────────────
   처음에는 앱만 `--upass` 로 앱바 높이에 맞췄는데, **웹 태블릿도 같은 어긋남**이 있었고
   오너가 같은 규칙으로 맞추라고 정했다(2026-10-18) — 그래서 3-1-1절로 올렸다.
   여기에 같은 선언을 또 두면 어느 쪽을 고쳐야 하는지 갈린다. 이 절은 로고만 맡는다. */
/* 태블릿 × — 가르는 것은 right 하나다(시안 24 · 웹 밴드는 15).
   세로는 3-1-1 절의 가운데 정렬을 그대로 쓴다 — 시안의 top 25 는 밴드가 94(25+44+25)일
   때의 가운데값이고, 여기 밴드는 앱바에 맞춘 76 이다(42-2). 다시 셈해도 가운데다. */
[data-mode="tablet"] .chp-megamenu--upass .chp-megamenu__close{
  right:min(calc(100vw * 24 / 1400), 24px);
}

/* ── 42-3. 패널 — 내용 높이만큼만 내려오고 아래는 딤 ──────────────────────
   기본 `.chp-megamenu` 는 흰 면이 화면을 다 덮는다(chp-layout.css 5절). 시안은 **흰 패널이
   내용만큼만** 내려오고 그 아래를 딤이 덮는다 — 그래서 바깥을 딤 색으로 칠하고 안쪽 둘
   (네이비 줄 · 흰 메뉴판)만 불투명하게 둔다. 태블릿은 3-1-1절이 이미 inset:0 으로 올려놨다. */
/* ⚠ 딤 색은 **수식자 하나로는 못 이긴다** — chp-layout.css 5절의
     `[data-mode="tablet"] .chp-megamenu{background:rgba(0,0,0,.8)}`(0,2,0)가 위다.
     실측에서 #222 가 아니라 #000 으로 나왔다. `[data-mode]` 를 함께 걸어 같은 단으로 올린다. */
.chp-megamenu--upass,
[data-mode="tablet"] .chp-megamenu--upass,
[data-mode="mobile"] .chp-megamenu--upass{
  background:rgba(34,34,34,.8);   /* --scrim-gnb = --color-black(#222) 80% */
  display:flex;
  flex-direction:column;
  align-items:stretch;
}
.chp-megamenu--upass .chp-megamenu__util{flex:0 0 auto}

/* ── 42-2-1. 인사말을 로고와 같은 줄에 (사용자 지적 2026-11-10) ───────────
   모바일 밴드는 [로고] / [인사말] / [유틸 3등분] 이 세 줄로 쌓인다. 태블릿은 이미
   한 줄이다(3-1-1절 `display:flex`). 모바일도 **인사말까지는 로고와 같은 줄**에 둔다.
   마크업은 건드리지 않는다 — 인사말과 유틸 링크가 `.chp-megamenu__greet` 한 칸에
   같이 들어 있어서, 그 칸을 `display:contents` 로 녹여 둘을 밴드의 직계 칸으로
   만든 뒤 줄바꿈으로 가른다. 마크업을 옮기면 태블릿에서 인사말이 오른끝(greet 의
   `margin-left:auto`)에서 로고 옆으로 끌려와 밴드가 달라진다.
   ⚠ × 는 밴드 오른끝에 절대배치(right:16 · 18px)라 그만큼 오른쪽을 비워 둔다.
   ⚠ 이름이 길면 줄을 밀어내므로 한 줄 말줄임으로 묶는다. */
[data-mode="mobile"] .chp-megamenu--upass .chp-megamenu__util{
  display:flex;flex-wrap:wrap;align-items:center;
}
[data-mode="mobile"] .chp-megamenu--upass .chp-megamenu__greet{display:contents}
[data-mode="mobile"] .chp-megamenu--upass .chp-megamenu__bar{
  padding-right:12px;
}
[data-mode="mobile"] .chp-megamenu--upass .chp-megamenu__user{
  /* 오른끝에 붙인다 — 태블릿 밴드(3-1-1절 `greet{margin-left:auto}`)와 같은 자리다. */
  flex:0 1 auto;min-width:0;
  margin-left:auto;margin-right:30px;padding:0;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
}
[data-mode="mobile"] .chp-megamenu--upass .chp-megamenu__util-links{flex:0 0 100%}
/* ── 42-4. 메뉴판 — 차이홍 Tablet 전체메뉴 구성 (전달본 upass-gnbV2 · 2026-11-10) ──
   전달본 결론: **모양은 차이홍 Tablet 전체메뉴 그대로, 누르는 방식은 Mobile 을 따른다.**
   그래서 마크업을 웹 전체메뉴와 같은 계약(`__inner > __row > __head + __list`)으로 바꿨고
   (`mb/page/header.tag`), 값은 이미 있는 Tablet 블록(1046~1210절)과 **같은 수치**다.
   여기서 다시 적는 이유는 둘이다.
     ① 유패스는 모바일 모드에서도 이 구성을 쓴다(앱은 가로 고정이고 전달본이 모바일 가로
        844 기준으로 Tablet 구성을 정했다). Tablet 블록은 `[data-mode="tablet"]` 안이라
        모바일에서 걸리지 않고, 대신 모바일 아코디언 규칙이 걸린다.
     ② 글자는 **0.70배 하한**이 있다(전달본 4절 · 프로젝트 규정). Tablet 블록은 `min()` 이라
        하한이 없다 — 768 에서 28 → 15.4 가 된다.
   `[data-mode]` 를 앞에 둬 모바일 블록(0,2,0)을 이긴다.
   ⚠ 패널 높이는 차이홍(848)과 다르다 — 같은 규칙(가장 긴 상태 + 아래 여백 80)으로 **384**
      (52 + 84×3 + 80). 1depth 가 셋뿐이다.
   ⚠ 2depth 누르는 높이가 844 에서 약 36 으로 프로젝트 하한 40 보다 작다(전달본 6절이
      스스로 적어 둔 한계다). 값을 그대로 따르고 여기서 키우지 않는다.
   ⚠ 차이홍 Tablet 전체메뉴를 고치면 여기도 함께 본다(전달본 자신이 사본이라 적어 뒀다). */
[data-mode] .chp-megamenu--upass .chp-megamenu__inner{
  flex:0 0 auto;
  position:relative;
  display:block;
  width:100%;
  box-sizing:border-box;
  min-height:min(calc(100vw * 384 / 1400), 384px);
  padding:min(calc(100vw * 52 / 1400), 52px) min(calc(100vw * 70 / 1400), 70px) min(calc(100vw * 80 / 1400), 80px);
  background:var(--color-white);
  border-bottom:1px solid var(--ui-line-ccc);
}
/* 세로 구분선 — 별도 마크업 없이 판 위에 긋는다(트랙 좌표 322 = 70 + 220 + 32). */
[data-mode] .chp-megamenu--upass .chp-megamenu__inner::before{
  content:"";
  position:absolute;
  left:min(calc(100vw * 322 / 1400), 322px);
  top:0;bottom:0;width:1px;
  background:var(--ui-line-ddd);
}
/* 행이 오른쪽 pane 의 위치 기준이다 — 2depth 는 패널 상단이 아니라 **고른 1depth 옆**이다. */
[data-mode] .chp-megamenu--upass .chp-megamenu__row{
  position:relative;
  width:min(calc(100vw * 220 / 1400), 220px);
  border:0;
}
[data-mode] .chp-megamenu--upass .chp-megamenu__head{
  position:relative;
  display:flex;
  align-items:center;
  width:100%;
  height:clamp(44px, calc(100vw * 84 / 1400), 84px);
  padding:0 0 0 min(calc(100vw * 8 / 1400), 8px);
  border:0;
  background:none;
  font:var(--fw-regular) clamp(19.6px, calc(100vw * 28 / 1400), 28px)/1.4 var(--font-core);
  letter-spacing:var(--tracking-core);
  color:var(--color-black);
  text-align:left;
  cursor:pointer;
}
/* 모바일 아코디언의 꺾쇠는 쓰지 않는다(전달본 — 차이홍 Mobile 도 2026-08-31 에 걷었다). */
[data-mode] .chp-megamenu--upass .chp-megamenu__head::after{content:none}
[data-mode] .chp-megamenu--upass .chp-megamenu__head.is-current,
[data-mode] .chp-megamenu--upass .chp-megamenu__head[aria-expanded="true"]{
  font-weight:var(--fw-bold);
  color:var(--ui-navy);
}
/* 고른 1depth 를 가리키는 포커스 막대 — 세로 구분선 위에 겹친다(행 왼쪽 70 에서 251). */
[data-mode] .chp-megamenu--upass .chp-megamenu__head[aria-expanded="true"]::after{
  content:"";
  position:absolute;
  top:50%;
  left:min(calc(100vw * 251 / 1400), 251px);
  width:min(calc(100vw * 3 / 1400), 3px);
  height:min(calc(100vw * 28 / 1400), 28px);
  margin-top:max(calc(100vw * -14 / 1400), -14px);
  background:var(--ui-navy);
}
/* 오른쪽 pane — 고른 1depth 줄에서 +12 아래부터. left 는 행 왼쪽 기준 285(=355-70). */
[data-mode] .chp-megamenu--upass .chp-megamenu__list{
  position:absolute;
  top:min(calc(100vw * 12 / 1400), 12px);
  left:min(calc(100vw * 285 / 1400), 285px);
  width:min(calc(100vw * 975 / 1400), 975px);
  display:none;
  grid-template-columns:repeat(5, minmax(0, auto));
  justify-content:start;
  align-content:start;
  column-gap:min(calc(100vw * 56 / 1400), 56px);
  row-gap:min(calc(100vw * 24 / 1400), 24px);
  margin:0;
  padding:0 0 0 min(calc(100vw * 20 / 1400), 20px);
  background:none;
  border:0;
}
[data-mode] .chp-megamenu--upass .chp-megamenu__head[aria-expanded="true"] + .chp-megamenu__list{display:grid}
[data-mode] .chp-megamenu--upass .chp-megamenu__list a{
  display:flex;
  align-items:center;
  height:min(calc(100vw * 60 / 1400), 60px);
  /* 전달본 6절이 스스로 적어 둔 한계 — 844 에서 2depth 누르는 높이가 약 36 으로 프로젝트
     하한 40 보다 작다. 여기서 44 를 바닥으로 둔다(모바일 아코디언 규칙이 갖고 있던 값과
     같다 — 그 규칙은 특이성에서 져 우연히 남던 것이라 명시로 바꾼다). */
  min-height:44px;
  white-space:nowrap;
  padding:0;
  font:var(--fw-regular) clamp(18.2px, calc(100vw * 26 / 1400), 26px)/1.4 var(--font-core);
  letter-spacing:var(--tracking-core);
  color:var(--ui-gray-444);
}
[data-mode] .chp-megamenu--upass .chp-megamenu__list a:hover{text-decoration:none}
/* 모바일 아코디언의 불릿(`•`)은 쓰지 않는다 — Tablet 구성에는 없다.
   지금 위치의 6px 점은 `.is-current::before`(클래스 한 칸 더)가 그려서 영향받지 않는다. */
[data-mode] .chp-megamenu--upass .chp-megamenu__list a::before{content:none}
/* 지금 위치 — 굵기·색으로만 말한다(크기는 26 그대로, 차이홍과 같은 확정). */
[data-mode] .chp-megamenu--upass .chp-megamenu__list a.is-current{
  position:relative;
  font-weight:var(--fw-bold);
  color:var(--ui-blue);
}
[data-mode] .chp-megamenu--upass .chp-megamenu__list a.is-current::before{
  content:"";
  position:absolute;
  left:max(calc(100vw * -18 / 1400), -18px);
  top:50%;
  transform:translateY(-50%);
  width:min(calc(100vw * 6 / 1400), 6px);
  height:min(calc(100vw * 6 / 1400), 6px);
  border-radius:50%;
  background:var(--ui-blue);
}

/* ══ 43. 이벤트 목록 카드 — 높이를 내용에 맞춘다 ═════════════════════════
   전달본 `차이홍_퍼블/이벤트목록_카드노출`(2026-10-16, Aden) 의 "카드 높이 규칙".
   대상은 `/operate/event/selectEventPageList` 의 카드 그리드다.

   무엇이 문제였나 — 카드 높이가 **고정**이라(PC 490 · ≤1400 35vw · ≤768 56.8vw) 제목이
   두 줄이 되거나 날짜가 줄바꿈되면 글이 회색 면 밖으로 넘쳤다(전달본 실측 모바일 최대 22px,
   카드 세로 간격이 26px 이라 아랫줄 카드에 거의 닿았다).

   고치는 법 — `height` 를 **`min-height`** 로 바꾼다(값은 그대로). 글이 짧으면 지금 모양
   그대로이고 길면 카드가 늘어난다. 같은 줄은 grid 기본 `stretch` 가 가장 큰 카드에 맞춘다.
   `.brd-cont` 는 `space-between` → `flex-start` 로 바꿔 날짜를 제목 바로 아래 붙인다
   (안 그러면 늘어난 카드에서 날짜가 바닥으로 밀린다). 썸네일·간격·폰트·열 수는 그대로다.

   ⚠ 전달본의 CSS 는 `#eventAppList` 로 한정돼 있는데 **그 id 는 모바일 화면에만 있다** —
     `EventCtr:51` 이 `device.isMobile()` 이면 `eventAppMain`(= `#eventAppList` 안에 ajax 로
     목록을 넣는다), 아니면 `eventList` 를 돌려준다. 그대로 옮기면 **PC·태블릿은 안 고쳐진다**
     (전달본이 모바일 폭에서만 확인한 결과다). 그래서 카드 클래스로 건다 — 같은 카드를 쓰는
     세 화면(`eventList` · `eventAppMain` · `ajax/eventAppList`)이 함께 고쳐진다.
   ⚠ 선택자는 `> li` 다. `m.css`(≤1400 737줄 · ≤768 1764줄)가 `.brd-lst06 > *` 로 높이를
     다시 잡는데 **m.css 가 이 파일보다 뒤에 실린다** — 같은 특이성(0,1,0)으로는 진다.
     `li` 를 붙여 (0,1,1)로 올린다. 카드의 자식은 `li` 뿐이다(세 JSP 확인).
   ▸ 호버 오버레이(`.brd-over`)는 `.thumb-01`(고정 높이) 안에 있어 카드가 늘어나도 그대로다 —
     전달본이 "확인 못 함"으로 남긴 항목인데 마크업상 영향이 없다.
   ═══════════════════════════════════════════════════════════════════════ */
.brd-lst06 > li{height:auto;min-height:490px}
.brd-lst06 .brd-cont{justify-content:flex-start}
@media (max-width:1400px){
  .brd-lst06 > li{min-height:35vw}
}
@media (max-width:768px){
  .brd-lst06 > li{min-height:56.8vw}
}

/* ══ 44. 글자 배율을 키워도 입력칸이 줄 밖으로 밀리지 않게 ═══════════════
   오너 제보 2026-10-22 — SM-P610 태블릿 세로에서 사전설문(`/survey/write`)의 연락처 세 칸이
   화면 밖으로 밀렸다. 디바이스 판정은 정상이었다(UA `Android 10; K` → 태블릿 · 뷰포트 800×1165).

   원인은 **`style.css` 의 `input[type="text"]{width:fit-content}`** 다. `fit-content` 는 글자
   크기를 따라 자라는 값이라, 단말의 **글꼴 크기(텍스트 배율)** 를 키우면 칸이 함께 넓어진다.
   실측(800 폭, 배율만 바꿈) — 기본 14.7px 일 때 전화2 168 · 오른끝 707(안전),
   120% → 225 · 821(21 밖), **145% → 268 · 907(107 밖)**, 160% → 294 · 959(159 밖).
   제보 화면이 145% 와 맞는다. 모바일(≤768)에서 안 깨지는 이유는 `m.css:2562` 의
   `.inp-tel input{width:100%}` 가 거기서만 `fit-content` 를 덮기 때문이다 — 구멍은 태블릿·PC 다.

   고치는 법은 **줄어들 수 있게** 만드는 것이다. 지금 `.inp-tel` 은 `display:flex` 인데
   칸(`> div`)이 `min-width:auto` 라 내용(=입력칸 intrinsic 폭) 아래로 못 줄어든다.
     · 입력칸에 `max-width:100%` · `min-width:0` → 제 칸을 넘지 않는다
     · `.inp-tel > *` 에 `min-width:0` → 칸이 줄어들 수 있다
   ⚠ `> *:first-child` 만 `flex-shrink:0` 이다. 앞 3자리 칸에는 인라인 `width:12.3vw`
     (`write.jsp:253`)가 있는데, 같이 줄이면 **기본 배율에서도** 74→56 으로 바뀐다(실측).
     이 절은 기본 배율에서 **아무것도 바꾸지 않는 것**이 조건이라 거기만 고정한다.

   검증 — 설문·학습신청 목록·이벤트 목록 × 1500/800/600 에서 기본 배율 수치 **전부 동일**,
   800 폭에서 배율 120·145·160·200% 모두 **문서 넘침 0**.
   ═══════════════════════════════════════════════════════════════════════ */
input[type="text"],
input[type="password"],
input[type="tel"],
input[type="number"],
input[type="email"],
select,
textarea{max-width:100%;min-width:0}
.inp-tel{min-width:0}
.inp-tel > *{min-width:0}
.inp-tel > *:first-child{flex-shrink:0}
.inp-tel input{min-width:0}

/* ══ 45. 표는 셸 밖으로 밀지 않는다 — 제 상자 안에서 가로 스크롤 ═══════════
   오너 지시 2026-10-22 — "정의한 영역(헤더·푸터 폭)을 벗어나면 영역을 벗어나지 말고
   스크롤을 생성해 달라". 레거시 표(`tbl-type*`)는 폭이 내용대로 벌어져서, 좁은 화면이나
   글자 배율이 큰 단말에서 **페이지 전체를 가로로 밀어** 헤더·푸터까지 어긋나게 만든다.

   상자는 `chp-ui.js` 의 `chp.tableScroll()` 이 감싼다(래퍼가 화면마다 제각각이라 CSS 만으로는
   못 건다 — 실측: `qst-wrap` 16 · 클래스 없음 11 · `pop-cont-in` 8 · 기타). 여기서는 그 상자의
   성질만 정한다. **들어맞는 표에는 스크롤바가 생기지 않으므로** 상시 적용해도 모양이 안 바뀐다.
   ⚠ `overflow-x:auto` 는 세로도 스크롤 컨테이너로 만든다. 표 **바깥**에 걸면 본문 안에서 밖으로
     나가야 하는 것(달력·드롭다운)이 잘린다 — 그래서 범위를 **표 하나**로 좁혔다.
   ═══════════════════════════════════════════════════════════════════════ */
.chp-tscroll{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}

/* ══ 46. 모바일 폼 표 — 라벨을 값 위로 올린다 ════════════════════════════
   오너 지시 2026-10-22 — "좌측(라벨) 영역을 줄여 우측을 확보하자" → B안(라벨을 위로) 확정.

   레거시 폼 표는 라벨 열이 **고정 px** 이다(`survey/write.jsp:205` 의 `<col width:155px>`).
   360 폰에서 라벨이 화면의 **43%** 를 먹어, 연락처 세 칸이 44/32/32 까지 눌렸다.
   실측 비교(360 / 393) —
     지금(155 고정)   연락처 44/32/32 · 48/43/43
     라벨 110         44/52/52 · 48/64/64
     라벨 88          44/62/62 · 48/74/74
     **라벨 위로**    44/110/110 · 48/122/122   ← 이 절
   이것이 **우리 DS 가 정한 모바일 폼 모양**이기도 하다 — chp 토큰 `--chp-form-label-w` 가
   모바일에서 0 이고, 이관된 화면(회원정보·결제)은 이미 그렇게 동작한다.

   ⚠ **표라고 다 접으면 안 된다.** 목록 표(thead + 여러 열)를 세로로 접으면 열이 무너진다.
      대상 표시는 `chp-ui.js` 가 구조로 판정해 붙인다(`thead` 없고 행머리 th 가 있으면 폼).
   ⚠ `<col>` 의 인라인 폭은 `display:block` 이 되는 순간 무력해진다 — 그래서 폭을 덮을 필요가 없다.
   ⚠ 경계는 `data-mode` 가 아니라 **미디어쿼리**다. 데스크톱 UA 로 들어온 좁은 화면
      (아이패드 데스크톱 모드 등)에서도 폭이 좁으면 접히는 쪽이 맞다.
   ═══════════════════════════════════════════════════════════════════════ */
@media (max-width:768px){
  .chp-formtable,
  .chp-formtable > tbody,
  .chp-formtable > tbody > tr,
  .chp-formtable > tbody > tr > th,
  .chp-formtable > tbody > tr > td{display:block;width:auto}
  /* ⚠ **표에서는 무시되던 값이 블록이 되면 살아난다.** `[class*="tbl-type01"] th,td` 의
     `min-height:90px`(custom.css:1021)와 `th{background:#f6f6f6}`(1022)가 그렇다 —
     그대로 두면 라벨이 **90px 회색 띠**가 된다(오너 제보 2026-10-22, 합격인증하기).
     세로로 펴진 라벨은 "칸"이 아니라 글이므로 면·높이·칸 테두리를 걷는다. */
  .chp-formtable > tbody > tr > th,
  .chp-formtable > tbody > tr > td{min-height:0;height:auto;background:none}
  /* 간격은 칸이 든다 — 라벨 위 14, 값 아래 14. 행에 padding 을 주면 **선이 경계에서 뜬다**. */
  .chp-formtable > tbody > tr > th{text-align:left;border:0;padding:14px 0 6px}
  .chp-formtable > tbody > tr > td{padding:0 0 14px}
  /* ⚠ **접힌 폼에는 가로선을 두지 않는다**(오너 지시 2026-10-22 — "강제 가로선 넣지 말고").
     표에서는 칸을 가르던 선이, 세로로 펴지면 값마다 밑줄이 그어진 꼴이 된다(합격인증:
     칸 아래 #ccc 1px · 표 위 검정 1px). 라벨이 굵게 서 있으므로 경계는 **여백이 든다** —
     라벨 위 14 + 값 아래 14 = 28. 이것이 우리 DS 폼 행의 모양이기도 하다(선 없음).
     ▸ 앞서 행(tr)에 선을 **그렸다가** 선이 없던 화면에 없던 줄이 생겨 되돌린 적이 있다.
       이번에는 반대쪽 끝까지 간다 — 만들지도 않고 **남기지도 않는다**. 접힌 폼은 모두 같다. */
  .chp-formtable{border-top:0;border-bottom:0}
  /* ⚠ `:not()` 가 특이성을 올린다 — `custom.css:1031` 의
     `.tbl-type0103 td:not(:first-child)` 는 (0,2,1) 이라 `.chp-formtable > tbody > tr > td`
     (0,1,3) 를 **이긴다**(클래스 수가 먼저다). 그래서 세로선이 남아 있었다(오너 지적).
     같은 꼴을 `0102`·`0106` 도 쓰므로 `:not(:first-child)` 를 붙여 (0,2,3) 으로 맞선다. */
  .chp-formtable > tbody > tr > th,
  .chp-formtable > tbody > tr > td,
  .chp-formtable > tbody > tr > th:not(:first-child),
  .chp-formtable > tbody > tr > td:not(:first-child){border:0}
  /* 라벨 **맨 앞의 줄바꿈**은 걷는다. PC 2열에서 라벨을 한 줄 내려 값과 맞추려고 손으로 넣은
     것인데(`<th><br/>학습 희망 지역</th>` · 레벨테스트 결과의 `<th><br/>교육국</th>`),
     세로로 펴면 **빈 줄**로 남는다. 가운데 줄바꿈은 건드리지 않는다 — 지우면 낱말이 붙는다. */
  .chp-formtable > tbody > tr > th > br:first-child{display:none}
  /* 점수표처럼 **칸 안에 들어 있는 표**는 접지 않는다 — 그 표는 목록이다. */
  .chp-formtable > tbody > tr > td table{display:table;width:100%}
  .chp-formtable > tbody > tr > td table th,
  .chp-formtable > tbody > tr > td table td{display:table-cell;min-height:0}
}

/* ══ 47. 무료체험·설문 계열 모바일 다듬기 ═══════════════════════════════
   오너 지시 2026-10-22 — 버튼이 작고(29px), 버튼 아래가 붙고(푸터까지 8px),
   연락처 칸이 다른 입력칸과 따로 놀아 보인다.

   ⚠ 범위는 `.qst-wrap .qst-btn`(설문·레벨테스트 전용 묶음)과 `.inp-tel` 이다.
     `.btn-sz01`·`.btn-lgry` 는 사이트 전역에서 쓰므로 **버튼 클래스로 걸지 않는다.**
   ═══════════════════════════════════════════════════════════════════════ */
@media (max-width:768px){
  /* ── 버튼 — 모바일 탭 크기로. 실측 29px 였다(m.css 의 `height:8.67vw`).
     DS 모바일 large 가 48/16 이다(`--chp-btn-h-lg:48` · `--chp-btn-fs-lg:16`).
     모바일 CTA 는 폭을 나눠 갖는다 — 모달 푸터(40-4절)와 같은 결이다. */
  /* ⚠ `body` 를 앞에 세워 한 단 올린다 — `m.css:1566` 의 `.qst-wrap .qst-btn > *`(0,2,1)가
     이 파일보다 **뒤에 실려** 같은 특이성으로는 진다(실측: 높이가 29 그대로였다). */
  body .qst-wrap .qst-btn{gap:12px;margin-bottom:40px}
  body .qst-wrap .qst-btn > *{
    flex:1 1 0;min-width:0;
    height:calc(var(--chp-btn-h-lg, 48) * 1px);
    padding:0 16px;
    font-size:calc(var(--chp-btn-fs-lg, 16) * 1px);
    display:inline-flex;align-items:center;justify-content:center;
  }
  /* ⚠ 문항 화면(`.qst-mi`)의 보기 버튼은 제외한다 — 그쪽은 높이가 내용에 따라 늘어나는
     카드형이라(custom.css:999 `height:auto;padding:36px 60px`) 48 로 묶으면 글이 넘친다. */
  body .qst-wrap .qst-mi .qst-btn > *{flex:none;height:auto;padding:2.57vw 4.29vw;font-size:inherit}

  /* ── 구역 제목(`무료체험 신청 정보` · `성향테스트` · `개인정보`)이 제목으로 안 보인다.
     `m.css:1871` 이 ≤768 에서 `clamp(12px, 4.17vw, 13.8px)` 로 **13.8 에 묶어** 본문과 같아졌다
     (실측 — 393: 제목 13.8 / 본문 12.3 · **712: 제목 13.8 = 본문 13.8**). 태블릿 세로가 ≤768 이라
     같이 묶인 것이 오너가 말한 "세로형일 때 태블릿 포함" 이다.
     PC 는 제목 32 / 본문 24 로 **1.33배**다. 모바일 본문이 12.3~13.8 이므로 그 비율이면 18 이다.
     ⚠ 13.8 상한은 DT-4548(레거시 vw 폰트 붕괴) 때 일괄로 씌운 것이다 — 제목은 그 일괄의
       **예외**로 둔다. 큰 글자는 역할별로 가려야 한다는 그 작업의 단서 그대로다. */
  body .qst-wrap .qst-tit{
    font-size:clamp(16px, calc(100vw * 18 / 375), 18px);
    font-weight:var(--fw-bold, 700);
  }

  /* ── 연락처 세 칸 — 다른 입력칸과 따로 놀아 보인다(실측 48/122/122).
     테두리·높이·글자는 이미 같다. 다른 것은 **폭**뿐이라 자릿수 비율(3:4:4)로 나눈다.
     ⚠ 첫 칸에는 인라인 `width:12.3vw`(write.jsp:253)가 있어 `!important` 가 아니면 못 이긴다.
       PC·태블릿은 그대로 두고 **모바일에서만** 되돌린다. */
  .inp-tel > *{flex:4 1 0;min-width:0}
  .inp-tel > *:first-child{flex:3 1 0}
  .inp-tel input{width:100% !important}
}

/* 태블릿도 같은 결함이다 — `m.css:870` 의 `height:4.00vw` 라 800 에서 **32px** 이었다.
   7절 규칙대로 토큰을 vw 로 태우고 하한을 둔다(태블릿 토큰은 large 64/24). 폭은 hug 그대로다. */
@media (min-width:769px) and (max-width:1400px){
  body .qst-wrap .qst-btn{gap:min(calc(100vw * 24 / 1400), 24px)}
  body .qst-wrap .qst-btn > *{
    height:clamp(48px, calc(100vw * var(--chp-btn-h-lg, 64) / 1400), calc(var(--chp-btn-h-lg, 64) * 1px));
    padding:0 min(calc(100vw * 32 / 1400), 32px);
    font-size:clamp(16px, calc(100vw * var(--chp-btn-fs-lg, 24) / 1400), calc(var(--chp-btn-fs-lg, 24) * 1px));
    display:inline-flex;align-items:center;justify-content:center;
  }
  body .qst-wrap .qst-mi .qst-btn > *{height:auto;padding:2.57vw 4.29vw;font-size:inherit}
}

/* ══ 48. 공통 모달 — 모바일 구간 윗폭에서 속이 부푸는 것 ══════════════════
   `m.css` 의 `@media (max-width:768px)` 블록은 **390 폰을 캔버스로 한 vw** 로 짜여 있다.
   그래서 같은 '모바일 모드' 라도 744(태블릿 세로)에서는 값이 1.9배가 된다 — 실측:

     | 요소 | 744 | 393(설계) |
     |---|---|---|
     | `.lst-box > *` 안쪽 여백 | 38.5 | 20 |
     | `.df-chk .ic-ct-` 동그라미 | 38×38 | 20×20 |
     | 검색 돋보기 / 지우기 원 | 17.4 / 29 | 9.2 / 15.3 |

   그런데 **모달 상자는 340 에서 멈춘다**(`--chp-modal-w:340`, 40절과 같은 "설계 px 를 넘지
   않는다" 규칙). 상자는 그대로인데 속만 부푸니 좁은 상자에 38px 동그라미가 박힌다.

   글자는 DT-4548 이 이미 `clamp(12px, Xvw, 13.8px)` 로 393 값에 묶어 뒀다 — 그래서 글자만
   멀쩡했다. **기하도 같은 방식으로 묶는다**: `min(Xvw, 393에서의 px)`.
   393 이하에서는 지금처럼 vw 로 줄고, 그 위로는 폰 설계 1:1 로 멈춘다.

   페이징은 여기서 묶지 않는다 — **21절의 공통 규칙**(공지사항 등 28개 화면이 쓰는 그것)을
   `#popup_area` 까지 넓혀 그대로 받게 했다(오너 지시 2026-10-22). 모바일 32×32 · gap 12 다.

   ⚠ 카드 규칙의 범위는 `#beduList` 로 좁혔다. `.lst-box` 는 다른 화면도 쓰는데 그쪽은
     이번 변경과 무관하게 **전부터 같은 상태**다(744 에서 똑같이 부푼다). 전역으로 묶는 것은
     화면 전수 확인이 필요해 별도 건으로 남긴다.
   특이성은 id 하나로 충분하다 — `m.css` 가 뒤에 실리지만 (1,x,x) 가 (0,x,x) 를 이긴다.
   ═══════════════════════════════════════════════════════════════════════ */

/* 모달 입력칸이 줄을 못 채운다 — `style.css` 의 `input[type="text"]{width:fit-content}` 가
   특이성 (0,1,1) 로 `.chp-field`(0,1,0) 를 이겨 **기본 20자 폭(148px)** 에서 멈춘다.
   실측 393: 줄은 308 인데 칸은 148. 줄을 채우는 것이 DS 폼 행의 기본이라 (0,2,0) 으로 되돌린다.
   ⚠ 자리가 따로 지정된 칸(`#container .chp-chld__field > .chp-field` 등)은 특이성이 더 높아
     영향을 받지 않는다. 위쪽 `.chp-chld__field` 주석이 같은 함정을 적어 뒀다. */
.chp-modal .chp-field{width:100%}

@media (max-width:768px){
  #beduList .lst-box{margin-top:min(4.17vw, 16px)}
  #beduList .lst-box > *{padding:min(5.17vw, 20px)}
  #beduList .lst-box > * + *{margin-top:min(4.17vw, 16px)}

  #beduList .df-chk .ic-ct-{width:min(5.17vw, 20px);height:min(5.17vw, 20px);border-radius:50%}
  #beduList .df-chk input:checked + .ic-ct-:before{
    width:min(2.6vw, 10px);height:min(2.6vw, 10px);border-radius:50%;
  }
  #beduList .lst-box .df-chk .ic-ct-{left:min(5.17vw, 20px);top:min(5.17vw, 20px)}

  /* 이름은 동그라미 오른쪽에서 시작한다 — 여백도 함께 묶지 않으면 글자만 왼쪽으로 밀린다 */
  #beduList .lst-box p.lst-info{padding-left:min(6.51vw, 26px)}
  #beduList .lst-box div.lst-info{margin-top:min(2.6vw, 10px)}
}

/* 검색칸 아이콘도 같은 병이다 — 돋보기·지우기는 **sprite** 라 아이콘 크기만 묶으면 그림이
   잘린다. `background-size`·`background-position` 까지 한 벌로 묶어야 한다(393 환산:
   시트 511.7 · 돋보기 -76.75 · 지우기 -102.34). 음수인 위치는 `min` 이 아니라 `max` 다 —
   393 아래에서는 vw 가 더 작으므로(절댓값) 그쪽을 살려야 한다.
   실측 744: 돋보기 17.4 → 9.2 · 지우기 어두운 원 29 → 15.3.
   범위는 **공통 모달 전체**다 — 교육국 찾기와 무료체험 신청(레벨테스트 결과)이 같은 칸을 쓴다.
   특이성 (0,2,2) 로 `m.css` 의 `[class*="inp-sch"] > a:before`(0,1,2)를 이긴다. */
@media (max-width:768px){
  .chp-modal .inp-sch > a:before{
    width:min(2.34vw, 9.2px);height:min(2.34vw, 9.2px);
    background-size:min(130.21vw, 511.7px);
    background-position:max(-19.53vw, -76.75px) max(-19.53vw, -76.75px);
  }
  .chp-modal .inp-sch > button.clear:before{
    width:min(1.82vw, 7.15px);height:min(1.82vw, 7.15px);
    background-size:min(130.21vw, 511.7px);
    background-position:max(-26.04vw, -102.34px) max(-19.53vw, -76.75px);
  }
  .chp-modal .inp-sch > button.clear:after{
    width:min(1.82vw, 7.15px);height:min(1.82vw, 7.15px);padding:min(1.04vw, 4.09px);
  }
}

/* ══ 49. 합격인증하기 — 모바일 다듬기 (mypage/passCertiAddForm.jsp) ═════════
   무료체험(47절)과 같은 기준으로 정리한다. 폼 표를 세로로 접는 일(46절)은 이미 돌고 있고,
   접힌 뒤에 남는 것들이다 — 실측 393(접힘 후):

     | 무엇 | 전 | 왜 |
     |---|---|---|
     | 수험번호·응시일 칸 | **148** | `style.css` 의 `input[type="text"]{width:fit-content}` — 기본 20자 폭 |
     | 휴대폰 3칸 | 148+148 / **줄바꿈** | 고정폭이라 한 줄에 못 들어간다 |
     | 구역 제목 `.tit-02` | **13.8** | 본문과 같은 크기 — 구역이 구분되지 않는다 |
     | 버튼 | 172×**34** | 레거시 `btn-sz01` — 공통 버튼 부품으로 바꾼다 |
     | 점수표 머리 행 | **90** | JSP 인라인 `height:90px` (PC 설계값) |

   ⚠ 범위는 화면 클래스 `.chp-pcerti` 다 — `#divWrite`·`#saveTb`·`.btnArea`·`.tit-02` 는
     상담 등 다른 화면도 쓰는 이름이라 id 로 좁힐 수 없다(JSP 에 후크를 하나 붙였다).
   ⚠ 점수표 높이는 **인라인 속성**이라 `!important` 가 아니면 못 이긴다(47절과 같은 함정).
   ═══════════════════════════════════════════════════════════════════════ */
[data-mode="mobile"] .chp-pcerti #saveTb > tbody > tr > td > input[type="text"],
[data-mode="mobile"] .chp-pcerti .inp-date,
[data-mode="mobile"] .chp-pcerti .inp-date input[type="text"]{width:100%}

/* 휴대폰 — 자릿수 비율 3:4:4 로 한 줄에 넣는다(무료체험 연락처와 같다).
   사이의 `-` 는 텍스트 노드라 flex 항목이 아니다. 줄바꿈을 막고 칸만 나눈다. */
[data-mode="mobile"] .chp-pcerti #usrMobileNo1{flex:3 1 0}
[data-mode="mobile"] .chp-pcerti #usrMobileNo2,
[data-mode="mobile"] .chp-pcerti #usrMobileNo3{flex:4 1 0}
[data-mode="mobile"] .chp-pcerti #usrMobileNo1,
[data-mode="mobile"] .chp-pcerti #usrMobileNo2,
[data-mode="mobile"] .chp-pcerti #usrMobileNo3{min-width:0;width:auto}

/* 구역 제목은 51절이 공통으로 든다(오너 지시 2026-10-22 — 화면별로 반복하지 않는다). */

/* 버튼 — **공통 버튼 부품**으로 바꿨다(JSP: `chp-btn chp-btn--outline` / `--navy`).
   색은 **공통색 네이비**다. 레거시가 파랑(`btn-lblu`)이었다고 `--blue` 로 옮기면 공통색을
   벗어난다(오너 지적 2026-10-22) — 공통 모달의 확인 버튼과 같은 짝으로 맞춘다.
   높이·글자는 부품이 토큰으로 든다(PC 58/20 · 태블릿 50/18 · 모바일 44/16) — 여기서
   다시 못 박지 않는다. 줄 자체는 학습활동 글쓰기의 확정 줄(17-1)과 같은 규칙을 쓴다.
   줄 자체의 규칙은 **58절**이 세 화면 공용으로 든다. */

/* 점수표 — PC 설계값 90 이 모바일에서도 그대로였다. 내용만큼 두고 여백으로 숨을 준다. */
[data-mode="mobile"] .chp-pcerti #saveTb .tbl-type03 th{height:auto !important;padding:10px 4px}
[data-mode="mobile"] .chp-pcerti #saveTb .tbl-type03 td{padding:10px 4px}

/* ══ 50. 상담신청 — 모바일 다듬기 (stdy/appl/stdyApplCounsel.jsp) ══════════
   오너 지시 2026-10-22 — "입력칸만 조정이 아니라 페이지 정리". 49절(합격인증)과 같은 기준이다.
   폼 표 접기(46절)와 연락처 3:4:4(47절)는 이미 전역으로 돌고 있어 그 위에 남은 것만 손댄다.

   실측 393(콘텐츠 359) —
     | 무엇 | 전 | 후 | 왜 |
     |---|---|---|---|
     | 구역 제목 `.tit-02` ×3 | **13.8** | 18 | **51절이 공통으로 든다** |
     | 상담자 성명 | **148** | 359 | `style.css` 의 `input{width:fit-content}` — 기본 20자 폭 |
     | 학습자 성명 셀렉트 | **105** | 359 | **flex 항목이라 내용 폭에 머문다**(부모가 `.fx-aic`) |
     | 상담 가능 시간 셀렉트 ×2 | 105 + 105 | 반반 | 〃 — 줄의 60%가 비어 있었다 |
     | 주소 · 상세주소 | 177 + 177 한 줄 | 한 줄씩 | 주소는 길다. 모바일에서 반 줄은 못 읽는다 |
     | 우편번호 칸 | 148 | 남는 폭 | 옆 버튼은 글자폭 그대로 둔다 |
     | 버튼 | 172×**34** | 공통 부품 | 레거시 `btn-sz01` |

   ⚠ 셀렉트가 좁았던 이유는 폭 선언이 아니라 **자리**다 — `.sel-type` 에 `width` 를 주는 규칙이
     아예 없고, 부모가 flex 라 내용만큼만 차지했다. `width:100%` 가 아니라 `flex` 로 고친다.
   ⚠ 범위는 화면 클래스 `.chp-counsel` 이다 — `#divWrite`·`.saveTb`·`.tit-02`·`.btnArea` 는
     다른 화면도 쓴다(49절과 같은 이유로 JSP 에 후크를 하나 붙였다).
   ═══════════════════════════════════════════════════════════════════════ */
/* 두 표의 왼쪽·오른쪽을 맞춘다 — 첫 표에만 `.box-type01` 이 붙어 **오른쪽 10px** 이 남는다.
   표 모양이 사라진 접힌 상태에서는 그 여백이 "학습자 정보 블록만 10px 좁다"로 보일 뿐이다. */
[data-mode="mobile"] .chp-counsel .chp-formtable{padding:0}

/* 칸에 홀로 있는 입력칸은 줄을 채운다(상담자 성명). 여럿 있는 자리는 건드리지 않는다. */
[data-mode="mobile"] .chp-counsel .chp-formtable > tbody > tr > td > input[type="text"]:only-child{width:100%}

/* 셀렉트 — 자리를 넓힌다. 학습자 성명은 줄 전체, 시간 두 개는 반반.
   ⚠ 학습자 줄에는 [자녀등록] 버튼과 안내문이 함께 오는 경우가 있다(`btobYn eq 'N'`).
     줄바꿈을 허용해 **셀렉트가 한 줄을 먹고 버튼·안내문이 다음 줄**로 가게 한다. */
[data-mode="mobile"] .chp-counsel #stdyUsrId_area{flex:1 1 100%}
[data-mode="mobile"] .chp-counsel #stdyUsrId_area + *{margin-top:12px}
[data-mode="mobile"] .chp-counsel .chp-formtable .fx-aic:has(#stdyUsrId_area){flex-wrap:wrap}
[data-mode="mobile"] .chp-counsel #counselStime_area,
[data-mode="mobile"] .chp-counsel #counselEtime_area{flex:1 1 0;min-width:0}

/* 주소 — 우편번호 칸은 남는 폭을 먹고, 주소·상세는 한 줄씩 쌓는다. */
[data-mode="mobile"] .chp-counsel #usrZip{flex:1 1 auto;min-width:0}
[data-mode="mobile"] .chp-counsel #usrAddr,
[data-mode="mobile"] .chp-counsel #usrAddrDtl{flex:1 1 100%}
[data-mode="mobile"] .chp-counsel #usrAddr{margin-bottom:10px}

/* 확정 줄 — 58절이 세 화면 공용으로 든다(학습활동 글쓰기 17-1 패턴). */

/* ══ 51. 모바일 구역 제목 — 본문 배율에 묶지 않는다 ══════════════════════
   오너 지시 2026-10-22 — 합격인증·상담신청에서 같은 지적이 두 번 나와 **공통으로 올린다**
   (화면 클래스로 반복하지 않는다).

   `m.css:1727` 이 `≤768` 에서 `.tit-02{font-size:clamp(12px, 3.73vw, 13.8px)}` 로 잡는다.
   13.8 상한은 DT-4548 이 **본문 글자**에 씌운 것인데 구역 제목까지 함께 묶였다 —
   그래서 `학습자 정보`·`개인정보 수집 및 이용 동의` 가 본문과 **같은 크기**로 나왔다.
   제목은 본문 배율의 대상이 아니다. 375 캔버스 18 을 상한으로, 가독성 하한 16 으로 둔다.

   ⚠ 변형은 건드리지 않는다 — `m.css` 의 `.sche-desc .tit-02`(학습일정) ·
     `[class*="dash_cont"] .tit-02` · `.swi-ui-type09 .tit-02` 는 (0,2,0) 이고 **m.css 가 뒤에
     실리므로** 같은 특이성인 이 규칙을 이긴다. 자기 치수를 가진 부품들이라 그대로 두는 것이 맞다.
   ⚠ `margin-top`(6.11vw ≒ 24)은 손대지 않는다 — 제목과 앞 블록의 간격은 지금이 맞다.
   ═══════════════════════════════════════════════════════════════════════ */
[data-mode="mobile"] .tit-02{
  font-size:clamp(16px, calc(100vw * 18 / 375), 18px);font-weight:700;
}

/* ══ 52. 상세 보기(.brd-vw01) — 모바일 제목·확정 줄 ═══════════════════════
   오너 지시 2026-10-26 — 학습상품소개가 "모바일·태블릿 세로에서 이상하게 보인다".
   세 가지였고, 가장 큰 것(정보 표가 세로로 접히던 것)은 **판정 쪽에서** 고쳤다
   (`chp-ui.js` — 채울 것이 없으면 폼이 아니다). 여기서는 나머지 둘을 든다.

   ① 상품명이 본문과 같은 크기였다 — `m.css:1782` 가 `.brd-vw01 .brd-tit` 를
      `clamp(12px, 4.43vw, 13.8px)` 로 잡는다. **13.8 상한은 DT-4548 이 본문 글자에
      씌운 것**인데 상세 화면의 제목까지 함께 묶였다(51절과 같은 유형).
      설계값은 393 에서 4.43vw ≒ **17.4** 다 — 상한만 18 로 올리고 하한 16 을 둔다.
      그래야 744 에서도 18 에서 멈춘다(상한이 없으면 33).

   ② 버튼이 레거시였다 — 744 에서 **326×65**(vw)에 색도 공통색이 아니었다
      (`btn-lblu` = rgb(96,112,207)). JSP 를 공통 부품으로 바꾸고 줄만 여기서 잡는다.
      높이·글자는 부품이 토큰으로 든다(PC 44/16 · 태블릿 58 · 모바일 40).

   ⚠ `.brd-vw01` 은 **게시판 상세(operate/board/boardDtl)와 공유**한다. ①은 그 화면의
     제목도 같이 커진다(같은 유형의 제목이라 맞다). ②는 `> .chp-btn` 에만 걸리므로
     마크업을 안 바꾼 그 화면의 레거시 버튼에는 **닿지 않는다.**
   ═══════════════════════════════════════════════════════════════════════ */
[data-mode="mobile"] .brd-vw01 .brd-tit{font-size:clamp(16px, 4.43vw, 18px)}

/* 확정 줄 — 58절이 세 화면 공용으로 든다. 위쪽 간격만 이 화면이 좁다(58절 끝). */

/* ══ 53. 공통 모달 — 폼 행 사이 구분선을 두지 않는다 ═════════════════════
   오너 지시 2026-10-26 — "항목 사이 가로선은 필요없어"(배송지 등록 팝업).
   선은 **DS 부품 자체**가 긋는다(`chp-components.css` FormRow: `border-bottom:1px`).
   레거시가 남긴 것이 아니라 산출물 값이라, 끄는 것은 **의도된 이탈**이다.

   라벨이 굵게 서 있어 선이 없어도 항목은 갈린다. 같은 판단을 접힌 폼 표에서 이미 두 번 했다
   (46절 — "만들지도 않고 남기지도 않는다"). 모달 폼도 같은 얼굴로 맞춘다.

   ⚠ 범위는 **모달 안**이다. `.chp-formrow` 는 회원정보(`mypage/userInfo`)와
     주문결제(`stdyApplOrderPay`) 본문도 쓰는데 그 둘은 모달이 아니라 **그대로 둔다** —
     긴 폼에서는 선이 구역을 나누는 일을 한다. 모달은 항목이 서넛이라 선이 없어도 읽힌다.
   ▸ 함께 바뀌는 모달 — 배송지 등록/수정 · 자녀등록 · 무료체험 신청(레벨테스트 결과) ·
     대체수업(`repClassPop`). 넷 다 같은 모양이 된다.
   ═══════════════════════════════════════════════════════════════════════ */
.chp-modal .chp-formrow{border-bottom:0}

/* ══ 54. 메인 팝업이 채팅 런처에 가려 닫히지 않는다 ═══════════════════════════
   메인 팝업(`#mainPopup`, pop-type05)은 --zipop(1100)인데, Zendesk 웹위젯 런처
   (`iframe#launcher`, resource.tag:176 의 ze-snippet)가 **z-index 999999** 로
   우측 하단에 고정이다. 실측 393×852 — 런처 313~377 · 772~836, 팝업의 `닫기`
   339~363 · 783~831 이라 버튼이 **통째로** 덮인다.
   elementFromPoint(닫기 중앙) 이 iframe#launcher 를 돌려줘 클릭이 런처에 먹히고
   팝업을 닫을 수 없었다(오너 제보). 팝업 높이가 95vh 라 푸터가 늘 화면 바닥
   근처로 내려오므로 좁은 폭에서는 항상 겹친다.
   팝업은 잠깐 뜨는 모달 면이니 상주 런처보다 위에 둔다 — 5-4절의 데이트피커
   하단 시트가 같은 이유로 이미 1000000 을 쓴다.
   ⚠ 다른 레이어 팝업(#popup_area)과 공통 모달(.chp-modal)도 같은 1100 이라
     세로로 긴 경우 똑같이 가려진다. 여기서는 제보된 메인 팝업만 올린다.
   ══════════════════════════════════════════════════════════════════════════ */
#mainPopup{z-index:1000000}

/* ══ 55. 모바일 브라우저 툴바에 팝업 아래쪽이 먹힌다 ═══════════════════════
   아이폰 크롬에서 `닫기` 가 화면 밖으로 밀려 팝업을 닫을 수 없었다(오너 제보).
   54절이 런처를 걷어낸 자리에서 다시 드러난, 원인이 다른 같은 증상이다.

   `--pop-maxh` 가 **95vh** 인데, 모바일 브라우저의 `vh` 는 **툴바를 모두 숨겼을
   때의 큰 뷰포트**에 고정이다. 반면 덮개(`[class*="pop-type"]`, style.css:468)는
   `position:fixed; top:0; bottom:0` 이라 **지금 보이는 높이**로 늘어난다.
   주소창과 하단 바가 떠 있는 동안 이 둘이 어긋나, 덮개 안에서 가운데 맞춘
   상자만 위아래로 삐져나온다.

   실측(보이는 높이 670 · vh 기준 804 = 아이폰 크롬 툴바 노출 상태) —
   상자 764px 가 top −47 · bottom 717 에 놓여 `닫기`(669~717)가 **1px만** 남았다.
   elementFromPoint 가 null 을 돌려준다(화면 밖). 95svh 로 바꾸면 636.5px 라
   상자가 덮개(670) 안에 온전히 들어온다.

   **svh 를 쓴다(dvh 가 아니다).** dvh 는 툴바가 숨었다 나올 때마다 팝업이
   커졌다 작아지며 출렁인다. svh 는 **툴바가 다 보일 때의 높이**로 고정이라
   어떤 상태에서도 잘리지 않는다 — 잠깐 떴다 닫는 모달에는 고정 쪽이 맞다.

   ⚠ `@supports` 로 감싼 이유 — 커스텀 속성은 **값을 검증하지 않는다.**
     svh 를 모르는 구형 브라우저도 `--pop-maxh:95svh` 를 그대로 받아 두었다가
     쓰는 쪽 `max-height:var(--pop-maxh)` 가 계산 시점에 무효가 되고,
     그러면 **상한이 none 으로 풀려** 통째로 사라진다. 지원 브라우저에만 건넨다.
   ▸ PC·데스크톱은 svh 와 vh 가 같아 변화가 없다. 안드로이드 크롬도 같이 낫는다.
   ▸ `--pop-maxh` 를 쓰는 곳이 함께 바뀐다 — 레거시 팝업 전 종류(.pop-contain ·
     .pop-cont · .pop-cont-in · .pop-cont iframe)와 달력 일정 시트(.sche-pop-contain).
     공통 모달(.chp-modal)은 이 변수를 쓰지 않아 해당 없다.
   ▸ 등록 가능한 세로 길이의 상한이 그만큼 내려간다 — 기준이 "툴바 숨긴 높이"에서
     "툴바 보이는 높이"로 바뀌기 때문이다. 넘치면 잘리는 대신 **안에서 스크롤**된다.
   ══════════════════════════════════════════════════════════════════════════ */
@supports (height:1svh) {
	:root{--pop-maxh:95svh}
}

/* ══ 56. B2B 금액 내역 · 상담및결제 결제금액 열 ══════════════════════════════
   시안: 추천상품결제 · 결제_정보입력 개발전달본(2026.11.02). 원본 DS 에 없는 **사본 전용** 부품이라
   기존 규칙은 손대지 않고 이 절에서 더하기만 함.

   ① .chp-b2b — B2B 금액 내역(ui:b2bBreakdown 태그). 상담및결제 표 행 · 모바일 카드 · 결제(정보입력) 주문 상품이
      같은 부품. PC·Tablet = 이어 쓴 한 줄(넘치면 꺾임) · Mobile = 라벨 왼쪽 · 금액 오른쪽 쌓기.
      글자 PC 14 · Tablet 20(하한 14) · Mobile 12, 빼기 기호 가로 70%.
   ② .cp-amt-table — 상담및결제 세 표(결제 가능 · 구매 완료 · 상담 취소)에 결제금액 열을 더한 열 세트.
      기존 세트(chp-components.css 766 · 이 파일 24절 tablet)는 다른 화면도 쓰므로 덮지 않고 클래스로 좁힘.
      시안도 세 표가 같은 열 폭(마지막 열 = 액션 / 상태).
      메타 열 폭 = 시안 값(PC 150·130·124·106 / Tablet 150·130·170·160 @1400). 결제금액 열은 오른쪽 정렬 · Bold ·
      왼쪽 여백 0, 폭은 100만원대(1,840,000원)까지. 지점 · 학습자는 한 줄 말줄임(전체 값은 title).
      Tablet 하한 = 긴 값이 14px 에서 들어가는 폭(지점 '화상센터' · 날짜 · 100만원대 금액).
   ③ .cp-b2b-line — 금액 내역 줄. 지점 열 글자 시작 → [결제하기] 오른쪽 끝(확정 2안). 위 칸들의 아래 여백(py)에
      겹쳐 올라와 칸 끝 → 상자 위 12. 상자 글자 시작 = 지점 글자 시작이라 왼쪽 여백 = 칸 px − 상자 padX.
      ⚠ tablet 칸 여백 규칙이 #container 를 물고 있어(2178 줄) 같은 특이도로 따로 적음.
   ④ .cp-card-amt — 모바일 카드 결제금액 상자(정보 줄과 버튼 사이, 흰 면이라 선택 배경에 안 묻힘).
   ══════════════════════════════════════════════════════════════════════════ */
.chp-b2b{
  --b2b-fs:14px;
  --b2b-gap:10px;
  display:flex;
  flex-wrap:wrap;
  align-items:baseline;
  column-gap:var(--b2b-gap);
  row-gap:4px;
  box-sizing:border-box;
  padding:8px 14px;
  background:var(--bg-gray);
  border-radius:6px;
  font:var(--fw-regular) var(--b2b-fs)/1.4 var(--font-core);
  letter-spacing:var(--tracking-core);
  color:var(--ui-gray-444);
}
.chp-b2b__item{display:inline-flex;align-items:baseline;column-gap:.25em;white-space:nowrap}
.chp-b2b__label{display:inline-flex;align-items:baseline;column-gap:var(--b2b-gap)}
.chp-b2b__op{display:inline-block;transform:scaleX(.7);margin:0 -.15em;font-style:normal;color:var(--grayscale-300)}
.chp-b2b__value{font-weight:var(--fw-medium);color:var(--color-black)}
[data-mode="tablet"] .chp-b2b{
  --b2b-fs:clamp(14px, calc(100vw * 20 / 1400), 20px);
  --b2b-gap:min(calc(100vw * 14 / 1400), 14px);
  padding:min(calc(100vw * 10 / 1400), 10px) min(calc(100vw * 16 / 1400), 16px);
}
[data-mode="mobile"] .chp-b2b{
  --b2b-fs:12px;
  flex-direction:column;
  align-items:stretch;
  gap:8px;
  padding:10px 12px;
  line-height:1;
}
[data-mode="mobile"] .chp-b2b__item{display:flex;justify-content:space-between;gap:8px}
[data-mode="mobile"] .chp-b2b__label{column-gap:.25em}
.chp-b2b.is-plain{padding:0;background:none;border-radius:0}

/* ② 결제금액 열 */
[data-mode="pc"] .chp-table--payable.cp-amt-table,
[data-mode="pc"] .chp-table--simple.cp-amt-table{--chp-cols:58px minmax(364px,1fr) 150px 130px 124px 106px 206px}
[data-mode="tablet"] .chp-table--payable.cp-amt-table,
[data-mode="tablet"] .chp-table--simple.cp-amt-table{
  --chp-cols:
    min(calc(100vw * 68 / 1400), 68px)   /* DT-4658 하한 56 제거 — 전달본 68k */
    minmax(0, 1fr)
    clamp(78px, calc(100vw * 150 / 1400), 150px)
    clamp(64px, calc(100vw * 130 / 1400), 130px)
    clamp(92px, calc(100vw * 170 / 1400), 170px)
    clamp(90px, calc(100vw * 160 / 1400), 160px)
    max(186px, min(calc(100vw * 250 / 1400), 250px));
}
.cp-amt-table .chp-table__head > .cp-tc-amt,
.cp-amt-table .chp-table__row > .cp-tc-amt,
[data-mode="tablet"] #container .cp-amt-table .chp-table__head > .cp-tc-amt,
[data-mode="tablet"] #container .cp-amt-table .chp-table__row > .cp-tc-amt{justify-content:flex-end;padding-left:0}
.cp-amt-table .chp-table__row > .cp-tc-amt{font-weight:var(--fw-bold);color:var(--color-black);white-space:nowrap}
.cp-ellipsis{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

/* ③ 금액 내역 줄 */
.cp-amt-table .chp-table__row > .cp-b2b-line{
  grid-column:3 / -1;
  display:block;
  padding:0 24px calc(var(--chp-tbl-py) * 1px) calc((var(--chp-tbl-px) - 14) * 1px);
  margin-top:calc((12 - var(--chp-tbl-py)) * 1px);
}
[data-mode="tablet"] #container .cp-amt-table .chp-table__row > .cp-b2b-line{
  padding:0 min(calc(100vw * 24 / 1400), 24px) min(calc(100vw * var(--chp-tbl-py) / 1400), calc(var(--chp-tbl-py) * 1px))
          calc(min(calc(100vw * var(--chp-tbl-px) / 1400), calc(var(--chp-tbl-px) * 1px)) - min(calc(100vw * 16 / 1400), 16px));
  margin-top:calc(12px - min(calc(100vw * var(--chp-tbl-py) / 1400), calc(var(--chp-tbl-py) * 1px)));
}

/* ④ 모바일 카드 결제금액 상자 */
.cp-card-amt{
  align-self:stretch;
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  padding:12px 14px;
  box-sizing:border-box;
  background:var(--color-white);
  border:1px solid var(--grayscale-100);
  border-radius:8px;
}
.cp-card-amt__bd{flex-basis:100%;padding-bottom:10px;margin-bottom:2px;border-bottom:1px solid var(--grayscale-100)}
.cp-card-amt__label{font:var(--fw-medium) 12px/1 var(--font-core);letter-spacing:var(--tracking-core);color:var(--color-black)}
.cp-card-amt__value{font:var(--fw-bold) 14px/1 var(--font-core);letter-spacing:var(--tracking-core);color:var(--color-black)}

/* 결제(정보입력) 주문 상품 — 학습자 줄 아래(Mobile 은 폭 전체) */
.op-order__name > .chp-b2b{margin-top:4px;align-self:flex-start}
[data-mode="mobile"] .op-order__name > .chp-b2b{align-self:stretch}
/* ══ 57. 성향테스트 문항 — 모바일 고정 높이가 하위문항을 잘랐다 ═══════════════
   m.css 1879~1880(DT-2912, 2025-03-06)이 모바일에서 문항 줄에 고정 높이를 준다.
     .qst-wrap .qst-mc > li  {height:4.5vh}
     .qst-wrap .qst-mc .fx-1 {height:12vw}
   선택지 한 줄에는 맞지만 **하위문항(2-1 · 3-1 · 4-1)도 같은 `li`** 다 — 그 안에는
   제목과 입력칸이 들어가므로 393x852 에서 내용 79.6px 가 상자 40.9px 를 넘쳐
   다음 문항 제목 위로 겹쳤다(오너 제보, 아이폰 16).
   ⚠ vh 라 기기 높이를 탄다 — 852 에서 38.3px, 667(SE)에서 30.0px 로 더 심해진다.
   ⚠ 선택지가 두 줄이 되는 칸도 함께 잘린다 — 2-1 의 `5급 이상`(393 에서 줄바꿈).

   높이를 내용 기준으로 돌린다. 선택지 줄의 터치 높이 12vw 는 min-height 로 남겨
   기존 리듬을 유지한다.
   특이성 — m.css 가 맨 뒤에 실리므로 id 를 끼워야 이긴다(2-1절).
   실측(수정 후, #container 안 넘침 0) — 3-1 상자 360:117 · 375:119 · 393:123 · 430:130
   ══════════════════════════════════════════════════════════════════════════ */
[data-mode="mobile"] #container .qst-wrap .qst-mc > li{height:auto}
[data-mode="mobile"] #container .qst-wrap .qst-mc .fx-1{height:auto;min-height:12vw}

/* ── 57-1. 레벨테스트 `초기화` 버튼도 같은 고정 높이다 ───────────────────────
   `[class*="qst-mi"] .inp-wrap .btn-sz02` 에 높이와 패딩이 함께 박혀 있고
   `*{box-sizing:border-box}` 라 글자가 들어갈 자리가 거의 없다.
     PC      custom.css:989  height:34     padding:15     → 내용 4px (실측 34 / 필요 37)
     Mobile  m.css:1890      height:4.43vw padding:1.95vw → 내용 2px (실측 17.4 / 필요 27)
   ⚠ **모바일만 푼다.** PC 에서 auto 로 두면 아이콘과 글자가 세로로 쌓여 34 -> 74 가 된다.
      PC 의 3px 는 글자 아래끝이 테두리에 닿는 정도라 그대로 둔다.
   ⚠ **세로 패딩을 지우고 max-height 로 가둔다.** 이 버튼은 `.inp-wrap`(style.css:265,
      `height:var(--fom-h)` 고정 + `overflow:hidden`) 안에 든다. height 만 auto 로 풀면
      40px 래퍼 안에서 56px 이 되어 위아래가 잘리고 답안칸과 겹쳐 보인다(오너 제보).
      가로 패딩 1.95vw 는 원래 값 그대로다. */
[data-mode="mobile"] #container .qst-wrap [class*="qst-mi"] .inp-wrap .btn-sz02{
  height:auto;max-height:100%;padding:0 1.95vw;
}

/* ── 57-2. 묶음 문항 구분선이 아래 문항에 붙는다 ─────────────────────────────
   style.css:44 가 구분선을 **아래 항목의 top:0** 에 그린다.
     [class*="hbar-"] > * + *:before{position:absolute; left:0; top:0; height:1px}
   그래서 간격(.qst-mi-01 의 gap)이 전부 선 **위쪽**에만 생기고 아래는 0 이 된다 —
   선 바로 밑에서 다음 지문이 시작한다(오너 제보, 레벨테스트 Q4~7 묶음 문항).
   선을 간격 한가운데로 올린다. 새 수치를 만들지 않고 모드별 gap 의 절반만 쓴다.
     PC      custom.css:990  gap 60     -> -30px
     Tablet  m.css:878       gap 4.29vw -> -2.145vw
     Mobile  m.css:1891      gap 7.81vw -> -3.905vw
   ⚠ 범위를 `.qst-wrap` 안의 `qst-mi-01` 묶음으로 한정한다 — `hbar-` 는 공용 유틸이라
      다른 화면의 선까지 움직이면 안 된다(0008 · 0009 템플릿만 이 조합을 쓴다). */
#container .qst-wrap .qst-mi-01[class*="hbar-"] > * + *::before{top:-30px}
[data-mode="tablet"] #container .qst-wrap .qst-mi-01[class*="hbar-"] > * + *::before{top:-2.145vw}
[data-mode="mobile"] #container .qst-wrap .qst-mi-01[class*="hbar-"] > * + *::before{top:-3.905vw}

/* ── 57-3. 문장배열형 단어 버튼의 hover·선택 색 ────────────────────────────
   style.css 가 세 줄로 나눠 칠한다.
     :90  [class*="btn-"]:hover       {background:var(--moc); border-color:var(--moc); color:#fff}
     :95  [class*="btn-b-"]:hover     {background:var(--moc03)}
     :98  [class*="btn-b-"][disabled] {background:var(--moc03); border-color:var(--moc03); color:var(--moc05)}
   여기에 `custom.css:987 .qst-wrap [class*="qst-mi"] .btn-b-gry{background:white}` 가
   (0,3,0)으로 hover 규칙(0,2,0)을 이겨 **배경만 흰색으로 남고 글자는 #fff 가 된다**
   — 흰 바탕에 흰 글자라 단어가 사라진다(오너 제보, PC).
   단어를 고르면 front.js:1022 가 `disabled` 를 붙인다 — 이것이 선택 상태다.
   오너가 지정한 색으로 둘을 가른다. hover 는 #f0f0f0 바탕 + #999999 선,
   선택은 #4C549A 바탕 + 흰 글자다 — DS 의 navy 눌림 면(1-9절) · `--lvblu` 와 같은 값이고,
   레벨테스트·사전설문의 라디오 선택(m.css:2685)이 이미 쓰는 색이다.
   ⚠ `@media (hover:hover)` 로 감싼다 — 터치에서 손을 뗀 뒤 색이 남는 것을 막는다.
   ⚠ `:not([disabled])` — hover 가 선택색을 덮지 않는다.
   ⚠ id 1 + class 4 — custom.css 가 (0,4,0)이고 m.css 가 chp 뒤에 실린다. */
@media (hover:hover){
  #container .qst-wrap [class*="qst-mi"] .btn-b-gry:not([disabled]):hover{
    background:#f0f0f0;
    border-color:#999999;
    color:var(--mc);
  }
}
#container .qst-wrap [class*="qst-mi"] .btn-b-gry[disabled]{
  background:#4C549A;
  border-color:#4C549A;
  color:#ffffff;
}

/* ══ 58. 확정 줄(`.btnArea`) — 세 화면 공용 ══════════════════════════════════
   합격인증(49절) · 상담신청(50절) · 상세 보기(52절)가 같은 규칙을 각자 적고 있었다.
   학습활동 글쓰기의 확정 줄(17-1)과 같은 패턴이다 — 버튼의 높이·글자는 부품(`chp-btn`)이
   토큰으로 들고, 여기서는 **줄의 배치와 버튼 최소폭**만 든다.
   ⚠ `custom.css:1684` 의 `.btnArea`(0,1,0)가 gap 30 · margin-top 70 을 주고 있어
     화면 클래스를 앞에 세워 (0,2,0)·(0,3,0) 으로 덮는다 — 합치기 전과 같은 특이성이다.
   ⚠ 화면을 넓히지 않는다 — 세 화면 클래스를 그대로 나열한다. `.btnArea` 는 다른 화면도
     쓰는 이름이라 단독으로 걸면 전역이 된다(49·50절의 후크를 붙인 이유).
   ⚠ 위쪽 간격만 상세 보기가 좁다(PC 40 · 태블릿 40 · 모바일 32) — 그 한 줄만 뒤에 남긴다.
   ══════════════════════════════════════════════════════════════════════════ */
.chp-pcerti .btnArea,
.chp-counsel .btnArea,
.brd-vw01 .btnArea{display:flex;justify-content:center;flex-wrap:wrap}

[data-mode="pc"] .chp-pcerti .btnArea,
[data-mode="pc"] .chp-counsel .btnArea,
[data-mode="pc"] .brd-vw01 .btnArea{margin-top:64px;gap:20px}
[data-mode="pc"] .chp-pcerti .btnArea > .chp-btn,
[data-mode="pc"] .chp-counsel .btnArea > .chp-btn,
[data-mode="pc"] .brd-vw01 .btnArea > .chp-btn{min-width:205px}

[data-mode="tablet"] .chp-pcerti .btnArea,
[data-mode="tablet"] .chp-counsel .btnArea,
[data-mode="tablet"] .brd-vw01 .btnArea{
  margin-top:min(calc(100vw * 93 / 1400), 93px);gap:min(calc(100vw * 24 / 1400), 24px);
}
[data-mode="tablet"] .chp-pcerti .btnArea > .chp-btn,
[data-mode="tablet"] .chp-counsel .btnArea > .chp-btn,
/* 태블릿 — 정보 열이 화면의 36% 안팎(1399 에서 506)이라 256×2+24 가 어느 폭에서도 안 들어가 늘 세로로 쌓였음.
   열 폭을 둘이 나눠 한 줄에 둠(min-width:0 이라야 flex-basis 0 으로 줄바꿈 판정) */
[data-mode="tablet"] .brd-vw01 .btnArea > .chp-btn{flex:1 1 0;min-width:0}

[data-mode="mobile"] .chp-pcerti .btnArea,
[data-mode="mobile"] .chp-counsel .btnArea,
[data-mode="mobile"] .brd-vw01 .btnArea{margin-top:40px;gap:12px}
[data-mode="mobile"] .chp-pcerti .btnArea > .chp-btn,
[data-mode="mobile"] .chp-counsel .btnArea > .chp-btn,
[data-mode="mobile"] .brd-vw01 .btnArea > .chp-btn{min-width:150px}

/* 상세 보기만 위쪽 간격이 좁다 — 글 본문에 바로 잇는 줄이다(52절 실측값). */
[data-mode="pc"] .brd-vw01 .btnArea{margin-top:40px}
[data-mode="tablet"] .brd-vw01 .btnArea{margin-top:min(calc(100vw * 40 / 1400), 40px)}
[data-mode="mobile"] .brd-vw01 .btnArea{margin-top:32px}

/* ══ 59. 교육국 찾기 목록 — 본문 전체폭 표의 치수가 600 모달에 그대로 들어와 있다 ════
   `custom.css:1020~1025` 의 `[class*="tbl-type01"]` 는 **본문 전체폭 표**용 치수다.
     :1020  {margin-top:30px}
     :1021  th,td{min-height:90px}
     :1024  thead th{height:54px}
     :1025  td{padding:31px 20px}
   교육국 찾기는 그 표를 **PC 600 모달 안**에서 쓴다 — 한 줄짜리 교육국명 위아래로 31px 이
   붙어 행이 92.4px 가 되고, 본문 624 자리에 내용이 1,386 쌓였다. 한 번에 네 줄만 보여
   목록이 정돈돼 보이지 않는다(오너 지적 2026-11-04, PC).
   ⚠ 범위는 `#beduPop #beduList` 다 — `tbl-type01` 은 본문 표가 전역에서 쓰고, 같은 모달
     셸을 쓰는 약관 보기(39절)·학습자 등록(41절)에도 제 치수가 따로 있다.
   ⚠ 검색칸과의 간격은 마크업의 `.chp-gap-16` 이 든다 — custom.css 의 30px 이 그 위에
     더해져 46px 이었다. 표의 `margin-top` 만 0 으로 되돌린다.
   ⚠ 모바일은 카드(`.chp-narrow-only`)라 이 규칙이 닿지 않는다. 페이징만 양쪽에 걸리므로
     **PC·태블릿으로 한정한다** — 모바일 간격은 이관(2026-10-22) 때 본 그대로 둔다.
     21절 공통 페이징(`:is(#container,#popup_area)` = (1,2,0))을 이기도록 id 둘을 세운다.
   실측 — 행 92.4 → 58.4 · 본문 1,386 → 982 · 보이는 행 4 → 7 (PC 1440)
          태블릿 1024 85.5 → 60.1 · 800 93.0 → 79.2
   ══════════════════════════════════════════════════════════════════════════ */
#beduPop #beduList [class*="tbl-type01"]{margin-top:0}
#beduPop #beduList [class*="tbl-type01"] th,
#beduPop #beduList [class*="tbl-type01"] td{min-height:0}
#beduPop #beduList [class*="tbl-type01"] thead th{height:44px;font-size:16px}
#beduPop #beduList [class*="tbl-type01"] td{padding:14px 20px}

[data-mode="pc"] #beduPop #beduList .brd-paging,
[data-mode="tablet"] #beduPop #beduList .brd-paging{margin-top:24px}

/* ══ 60. 날짜 입력의 달력 아이콘이 1400 이하에서 무너진다 ═══════════════════
   아이콘은 jQuery UI 가 만드는 트리거 버튼에 스프라이트로 그린다(front.js:35 가
   `$(document).datep()` 로 전역에서 붙인다).
     style.css:314  [class*="inp-date"] button:before
                    {background-position:-150px 0; background-size:var(--bgsize); width:16px; height:17px}
     m.css:249      〃 (@media max-width:1400px)
                    {background-position:-7.81vw 0; background-size:var(--bgsize); width:0.83vw; height:0.89vw}
   m.css 의 vw 는 **1920 캔버스에서만** PC 값과 같아진다(-7.81vw=-150px · 0.83vw=16px).
   그런데 그 블록은 1400 이하에서만 걸리므로 **맞는 폭에서는 적용되지 않고, 걸리는 폭에서는
   전부 작아진다** — DT-4548 의 레거시 vw 붕괴와 같은 계열이다.
   ⚠ ≤768 에서는 `--c-icon` 이 `common_m_icon.png` 로, `--bgsize` 가 130.21vw 로 바뀐다.
     그러면 -7.81vw 오프셋이 **다른 그림 자리**를 가리켜 달력이 아예 안 나온다 — 작아진 것이
     아니라 빈 칸이다(오너 제보 2026-11-04, 합격인증 응시일).
   실측(수정 전 → 후, 아이콘 박스) —
     1138 태블릿 가로  9.4 x 10.1 → 16 x 17
      852 폰 가로      7.1 x  7.6 → 16 x 17
      712 태블릿 세로  5.9 x  6.3 → 16 x 17
      393 폰           3.3 x  3.5 → 16 x 17   (수정 전에는 4배 확대해도 빈 칸)
   ⚠ 폭만 타고 `data-mode` 와는 무관한 결함이지만, 고치는 자리는 mode 로 건다 —
     PC 규칙(style.css)은 그대로 두고 1400 이하만 PC 스프라이트·PC 치수로 고정한다.
   ⚠ 버튼 자체(탭 영역 44)는 건드리지 않는다. 바꾸는 것은 그림뿐이다.
   ⚠ 경로는 이 파일 기준이다 — chp/ 안이므로 `../../images/`.
   범위 — 레거시 `.inp-date` 를 쓰는 3화면(합격인증 응시일 · 수업시간 설정 모달 2개).
     `ui:searchDate` 쪽은 5-2절이 트리거를 감추고 제 아이콘을 그리므로 닿지 않는다.
   ══════════════════════════════════════════════════════════════════════════ */
[data-mode="tablet"] [class*="inp-date"] button::before,
[data-mode="mobile"] [class*="inp-date"] button::before{
  background-image:url("../../images/common_icon.png");
  background-size:1000px;
  background-position:-150px 0;
  width:16px;height:17px;
}

/* ══ 61. 레거시 게시판 공통 UI ═══════════════════════════════════════════════
   기준: 전달본 `차이홍_퍼블/legacy-board`(2026-11-06) · `source/ref-room/fix-table.md` 1~28.
   아직 개편하지 않은 게시판 다섯(자료실 · 공지사항 · 학습후기 · 이벤트 · FAQ)이 **같은
   레거시 클래스를 공유**한다 — 그래서 화면별이 아니라 클래스별로 한 번 덧입힌다.
   전달본이 그렇게 설계했다("같은 class 를 쓰는 화면이면 CSS 한 번으로 함께 바뀝니다").
   다섯 화면 밖에서도 같은 클래스를 쓰는 곳이 13화면 있고(배송지관리 · 합격인증 ·
   교육국찾기 팝업 · 설문 · 레벨테스트 결과 등) **함께 바뀌는 것이 오너 결정이다**(2026-11-06).

   ⚠ **선택자 앞에 `body[data-mode]` 를 세운다.** `m.css` 가 이 파일보다 **뒤에** 실리므로
     `.brd-lst01 .brd-tit`(0,2,0) 같은 레거시 규칙을 같은 특이성으로는 못 이긴다.
     `body[data-mode]` 를 붙이면 (0,3,1)이 되어 이긴다 — `[data-mode]` 는 폭 기준 3단이라
     값을 가르는 일도 겸한다. 값 자체는 61-0 의 변수가 든다.
   ⚠ **스프라이트 아이콘(`--c-icon`)은 건드리지 않는다.** 돋보기 · 지우기 ×는 상자 크기가
     곧 잘라내는 범위라, 크기를 바꾸면 다른 그림이 나온다(DT-4590 달력 아이콘과 같은 함정).
     `:before` 는 `left/top:50% + translate` 로 가운데 있으므로 **바깥 상자만** 키우고 줄인다.
     이전글 · 다음글 꺾쇠만 스프라이트를 떠나 DS 글리프(mask)로 바꾼다 — 전달본이 화살표(→)를
     "제목의 뒤로 가기 전용"으로 정했고(fix-table 19) 꺾쇠는 스프라이트에 없다. */

/* ── 61-0. 크기표 ────────────────────────────────────────────────────────
   전달본 `source/_lib/BoardKit.jsx` 의 `SZ`(pc · ta · mo)를 그대로 옮긴 것이다.
   태블릿은 이 저장소 규약대로 1400 캔버스 비율로 줄인다 —
   여백·크기는 `min(calc(100vw * N / 1400), N px)`, 글자는 하한을 둔 `clamp()`.
   하한은 같은 항목의 **모바일 값**이고(가독성 항목은 14 미만으로 내리지 않는다),
   탭·입력칸처럼 손가락이 닿는 높이는 44 를 하한으로 둔다. [[태블릿 스케일]] */
body[data-mode="pc"]{
  --bd-tab-h:64px;    --bd-tab-fs:20px;  --bd-tab-r:6px;
  --bd-field-h:44px;  --bd-field-fs:16px; --bd-r:6px;
  --bd-block-r:16px;  --bd-pad:32px;
  --bd-row-fs:16px;   --bd-tit-fs:20px;  --bd-meta-fs:14px;
  --bd-body-fs:16px;  --bd-cnt-fs:16px;
  --bd-empty-pad:80px; --bd-nav-top:24px;
  --bd-file-r:8px;    --bd-file-pad:20px 24px;
  --bd-body-min:200px; --bd-list-min:440px;
  --bd-gap:40px;      --bd-gap-s:16px;
}
body[data-mode="tablet"]{
  --bd-tab-h:max(44px, min(calc(100vw * 64 / 1400), 64px));
  --bd-tab-fs:clamp(16px, calc(100vw * 26 / 1400), 26px);
  --bd-tab-r:min(calc(100vw * 6 / 1400), 6px);
  --bd-field-h:max(44px, min(calc(100vw * 58 / 1400), 58px));
  --bd-field-fs:clamp(14px, calc(100vw * 20 / 1400), 20px);
  --bd-r:min(calc(100vw * 6 / 1400), 6px);
  --bd-block-r:min(calc(100vw * 16 / 1400), 16px);
  --bd-pad:min(calc(100vw * 40 / 1400), 40px);
  --bd-row-fs:clamp(14px, calc(100vw * 20 / 1400), 20px);
  --bd-tit-fs:clamp(16px, calc(100vw * 26 / 1400), 26px);
  --bd-meta-fs:clamp(12px, calc(100vw * 18 / 1400), 18px);
  --bd-body-fs:clamp(14px, calc(100vw * 20 / 1400), 20px);
  --bd-cnt-fs:clamp(16px, calc(100vw * 20 / 1400), 20px);
  --bd-empty-pad:min(calc(100vw * 96 / 1400), 96px);
  --bd-nav-top:min(calc(100vw * 32 / 1400), 32px);
  --bd-file-r:min(calc(100vw * 8 / 1400), 8px);
  --bd-file-pad:min(calc(100vw * 24 / 1400), 24px) min(calc(100vw * 28 / 1400), 28px);
  --bd-body-min:min(calc(100vw * 240 / 1400), 240px);
  --bd-list-min:min(calc(100vw * 540 / 1400), 540px);
  --bd-gap:min(calc(100vw * 48 / 1400), 48px);
  --bd-gap-s:min(calc(100vw * 20 / 1400), 20px);
}
body[data-mode="mobile"]{
  --bd-tab-h:44px;    --bd-tab-fs:16px;  --bd-tab-r:4px;
  --bd-field-h:40px;  --bd-field-fs:14px; --bd-r:4px;
  --bd-block-r:12px;  --bd-pad:16px;
  --bd-row-fs:14px;   --bd-tit-fs:16px;  --bd-meta-fs:12px;
  --bd-body-fs:14px;  --bd-cnt-fs:16px;
  --bd-empty-pad:56px; --bd-nav-top:16px;
  --bd-file-r:8px;    --bd-file-pad:14px 16px;
  --bd-body-min:160px; --bd-list-min:260px;
  --bd-gap:24px;      --bd-gap-s:12px;
}

/* ── 61-1. 탭 (fix-table 1 · 2 · 27) ──────────────────────────────────────
   라이브는 네이비 1px 테두리 상자에 80 높이, 비활성 #888(대비 3.54:1)이었다.
   나의강의실 학습 공간 탭과 같은 모양으로 맞춘다 — 회색 면 · 위쪽만 라운드 ·
   활성 네이비 흰 700 · 탭 줄 아래 2px 네이비(오너 2026-11-05).
   ⚠ 칸은 **한 줄 균등분할**이다. 라이브의 `repeat(auto-fit, minmax(20%, auto))` 는 칸 수가
     바뀌면 폭이 어긋나서 flex `1 1 0` 으로 바꾼다 — 탭이 둘(이벤트)이든 다섯(FAQ)이든 같다.
   ⚠ 이름이 칸에 안 들어가면 **어절에서 줄바꿈해 칸 안에서 두 줄**로 둔다(fix-table 27).
     글자 크기는 그대로 두고 줄 높이만 1.25 — 그 줄의 칸 높이는 가장 긴 칸을 따라간다. */
body[data-mode] .tab-menu04{
  display:flex;
  border:0;
  border-bottom:2px solid var(--ui-navy);
  font-size:var(--bd-tab-fs);
  color:var(--ui-gray-666);
}
body[data-mode] .tab-menu04 > *{display:flex;flex:1 1 0;min-width:0}
body[data-mode] .tab-menu04 > * > *{
  display:flex;align-items:center;justify-content:center;
  width:100%;height:auto;min-height:var(--bd-tab-h);
  padding:8px 12px;
  border-radius:var(--bd-tab-r) var(--bd-tab-r) 0 0;
  background:var(--bg-gray);
  color:var(--ui-gray-666);
  font:var(--fw-regular) var(--bd-tab-fs)/1.25 var(--font-core);
  letter-spacing:var(--tracking-core);
  text-align:center;
  white-space:normal;word-break:keep-all;
}
body[data-mode="mobile"] .tab-menu04 > * > *{padding:8px 2px}
body[data-mode] .tab-menu04 > * > *:hover,
body[data-mode] .tab-menu04 > *.active > *{background:var(--ui-navy);color:var(--color-white)}
body[data-mode] .tab-menu04 > *.active > *{font-weight:var(--fw-bold)}

/* ── 61-2. 검색칸 (fix-table 3 · 4 · 5 · 7) ───────────────────────────────
   DS `SearchField`(22차) 기하 — 높이 44 · 58 · 40, 선 `--grayscale-100`(#D3D3D3),
   라운드 6 · 6 · 4, 포커스 링 `--ui-blue`. 폭은 **콘텐츠 폭 100%**(오너 2026-11-05 —
   라이브는 화면마다 1000 · 853 · 311 로 제각각이라 탭 · 목록과 그리드가 맞지 않았다).
   ⚠ DS 는 선을 2026-09-09 에 #D3D3D3 으로 내렸는데 이 저장소의 `--line-field` 는 아직
     `--ui-line-ddd`(#DDD)다. 토큰을 바꾸면 사이트 전체 입력칸이 함께 움직이므로
     여기서는 `--grayscale-100`(= DS 가 가리키는 값)을 직접 쓴다. 토큰 정렬은 따로 볼 일이다.
   ⚠ 지우기 ×는 **글자가 있을 때만** 보인다(오너 2026-11-05) — 빈 칸에서 지울 것이 없다. */
body[data-mode] [class*="inp-sch"]{
  align-items:center;
  height:var(--bd-field-h);
  border:1px solid var(--grayscale-100);
  border-radius:var(--bd-r);
  background:var(--color-white);
}
body[data-mode] [class*="inp-sch"]:focus-within{
  border-color:var(--grayscale-200);   /* DS SearchField 링 1px(디자인QA DT-4651) */
}
body[data-mode] [class*="inp-sch"] > a,
body[data-mode] [class*="inp-sch"] > button{
  flex:0 0 var(--bd-field-h);width:var(--bd-field-h);height:var(--bd-field-h);
}
body[data-mode] [class*="inp-sch"] input[type="text"]{
  height:100%;padding:0;background:transparent;
  font:var(--fw-regular) var(--bd-field-fs)/1.4 var(--font-core);
  letter-spacing:var(--tracking-core);
  color:var(--color-black);
}
body[data-mode] [class*="inp-sch"] input:placeholder-shown ~ button.clear{display:none}

/* 지우기 × — 라이브는 스프라이트 × 위에 `:after` 로 **검은 동그라미**를 얹었다
   (`style.css:308` · `background:var(--moc06)` · 반지름 50%). 전달본은 DS IconButton
   `close` — 면 없는 얇은 × · `--ui-gray-666` · 아이콘 PC 20 · 태블릿 26 · 모바일 18.
   돋보기와 같은 이유로 mask 로 바꾼다(스프라이트는 색을 못 바꾼다).
   ⚠ 동그라미는 `:after` 라 `display:none` 으로 걷는다 — 48 절이 모바일에서 그 원의
     크기를 묶어 둔 것도 함께 무의미해진다(원이 없으므로).
   ⚠ **노출 기준은 글자가 있을 때만**이다(위 `:placeholder-shown` 규칙). 그 선택자는
     입력칸에 `placeholder` 속성이 **있어야** 동작한다 — 없으면 `:placeholder-shown` 이
     영영 맞지 않아 빈 칸에서도 × 가 선다. 그래서 속성이 없던 여섯 칸(교육국 넷 ·
     교육국 찾기 팝업 · 강의실 과제 이미지 파일명)에 `placeholder=" "` 를 넣었다.
     값이 스크립트로 들어가도(교육국은 팝업이 `.val()` 로 채운다) 이벤트 없이 바로 반응한다 —
     `:placeholder-shown` 은 **현재 값**을 보기 때문이다. */
body[data-mode] [class*="inp-sch"] > button.clear{color:var(--ui-gray-666)}
body[data-mode] [class*="inp-sch"] > button.clear:after{display:none}
body[data-mode] [class*="inp-sch"] > button.clear:before{
  background:currentColor;
  -webkit-mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20viewBox%3D%270%200%2024%2024%27%3E%3Cpath%20d%3D%27M18.5654%206.56543L13.1309%2012L18.5654%2017.4346L17.4346%2018.5654L12%2013.1309L6.56543%2018.5654L5.43457%2017.4346L10.8691%2012L5.43457%206.56543L6.56543%205.43457L12%2010.8691L17.4346%205.43457L18.5654%206.56543Z%27/%3E%3C/svg%3E") no-repeat center / contain;
  mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20viewBox%3D%270%200%2024%2024%27%3E%3Cpath%20d%3D%27M18.5654%206.56543L13.1309%2012L18.5654%2017.4346L17.4346%2018.5654L12%2013.1309L6.56543%2018.5654L5.43457%2017.4346L10.8691%2012L5.43457%206.56543L6.56543%205.43457L12%2010.8691L17.4346%205.43457L18.5654%206.56543Z%27/%3E%3C/svg%3E") no-repeat center / contain;
  width:20px;height:20px;
}
body[data-mode="tablet"] [class*="inp-sch"] > button.clear:before{
  width:min(calc(100vw * 26 / 1400), 26px);
  height:min(calc(100vw * 26 / 1400), 26px);
}
body[data-mode="mobile"] [class*="inp-sch"] > button.clear:before{width:18px;height:18px}

/* 돋보기 — 라이브는 스프라이트(-150 -150 · 18×18)였다. 전달본은 DS `search` 글리프다
   (디자인시스템 22차 · `SearchField` 는 아이콘 상자 20·26·18 의 **0.73 배**로 그린다 —
   PC 14.6 · 태블릿 19 · 모바일 13.1 · 색 `--color-black`).
   ⚠ 스프라이트는 색을 바꿀 수 없어 `mask` + `background:currentColor` 로 바꾼다(61-8 과 같은 방법).
     그러면 상자 크기를 바꿔도 다른 그림이 나오지 않는다.
   ⚠ 거는 곳은 **검색 아이콘뿐**이다 — `button.clear`(지우기)는 제 규칙이 따로 있어 건드리지 않고,
     `<a>` 가 없는 칸(강의실 과제 이미지의 파일명 칸)은 애초에 해당하지 않는다. */
body[data-mode] [class*="inp-sch"] > a,
body[data-mode] [class*="inp-sch"] > button:not(.clear){color:var(--color-black)}
body[data-mode] [class*="inp-sch"] > a:before,
body[data-mode] [class*="inp-sch"] > button:not(.clear):before{
  background:currentColor;
  -webkit-mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20viewBox%3D%273.1%203.1%2017.54%2017.54%27%3E%3Cpath%20d%3D%27M3.1%2010.5a7.4%207.4%200%201%200%2014.8%200a7.4%207.4%200%201%200%20-14.8%200Z%20M4.9%2010.5a5.6%205.6%200%201%201%2011.2%200a5.6%205.6%200%201%201%20-11.2%200Z%27/%3E%3Cpath%20d%3D%27M14.8636%2016.1364L19.3636%2020.6364A0.9%200.9%200%200%200%2020.6364%2019.3636L16.1364%2014.8636A0.9%200.9%200%200%200%2014.8636%2016.1364Z%27/%3E%3C/svg%3E") no-repeat center / contain;
  mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20viewBox%3D%273.1%203.1%2017.54%2017.54%27%3E%3Cpath%20d%3D%27M3.1%2010.5a7.4%207.4%200%201%200%2014.8%200a7.4%207.4%200%201%200%20-14.8%200Z%20M4.9%2010.5a5.6%205.6%200%201%201%2011.2%200a5.6%205.6%200%201%201%20-11.2%200Z%27/%3E%3Cpath%20d%3D%27M14.8636%2016.1364L19.3636%2020.6364A0.9%200.9%200%200%200%2020.6364%2019.3636L16.1364%2014.8636A0.9%200.9%200%200%200%2014.8636%2016.1364Z%27/%3E%3C/svg%3E") no-repeat center / contain;
  width:14.6px;height:14.6px;
}
body[data-mode="tablet"] [class*="inp-sch"] > a:before,
body[data-mode="tablet"] [class*="inp-sch"] > button:not(.clear):before{
  width:min(calc(100vw * 19 / 1400), 19px);
  height:min(calc(100vw * 19 / 1400), 19px);
}
body[data-mode="mobile"] [class*="inp-sch"] > a:before,
body[data-mode="mobile"] [class*="inp-sch"] > button:not(.clear):before{
  width:13.1px;height:13.1px;
}
/* ⚠ 48 절이 모달 돋보기를 `min(2.34vw, 9.2px)` 로 묶어 둔 것은 **스프라이트 전용 처방**이다 —
   `m.css` 가 390 캔버스 vw 로 그려서 744(태블릿 세로)에서 17.4 까지 부풀던 것을 393 설계값에
   세운 것이고, 9.2 는 DS 값이 아니라 그때의 스프라이트 크기였다. 글리프는 고정 px 라 부풀지
   않으므로 묶을 것이 없다 — 모달도 다른 검색칸과 같은 13.1 로 선다(사용자 지적 2026-11-09).
   48 절의 그 줄은 `background-size`·`background-position` 과 한 벌이라 그대로 두었다.
   mask 로 바뀐 뒤에는 그 두 값이 아무 일도 하지 않고, 크기는 위 규칙이 뒤에 실려 이긴다. */
/* 폭 100% 는 **게시판 안에서만** 푼다(fix-table 4 는 게시판 그리드를 맞추자는 항목이다).
   `.inp-sch` 는 검색칸 전용이 아니다 — 강의실 과제 이미지 화면은 같은 클래스를 파일명
   칸 + [지우기] 로 쓴다(myClass/classMain/courseActivImg.jsp). 거기까지 100% 로 늘리면
   옆 요소와의 가로 배치가 무너진다. 생김새(높이·선·라운드·포커스)는 입력칸 공통이라 함께 받는다. */
body[data-mode] .chp-bd [class*="inp-sch"]{width:100%}
/* 탭 바로 아래 검색이 오는 화면(FAQ)은 사이가 비어 있지 않았다 — 다른 게시판이 마크업의
   `mt40`·`mt48` 로 띄우는 만큼을 여기서 준다(전달본 SZ `gap` 40 · 48 · 24). */
body[data-mode] .chp-bd .tab-menu04 + .inner02{margin-top:var(--bd-gap)}
/* 검색칸을 1000 으로 묶던 껍데기 — `.inner02`(layout.css:122)는 **게시판 검색 바깥 상자로만**
   쓰인다(저장소 전체 8곳이 모두 그 자리다). 그래서 따로 가르지 않고 폭만 푼다.
   이벤트는 `.inp-sch` 자신에게 `inner02` 를 붙여 두었는데 위 규칙이 이미 100% 로 잡는다. */
body[data-mode] .inner02{width:100%;padding-left:0;padding-right:0}
/* ⚠ 태블릿·모바일에서 `.inner02` 는 좌우 안쪽 여백까지 지고 있었다(769 에서 32씩) —
   폭만 100% 로 풀면 검색칸이 탭·목록보다 64 좁게 남는다(1024 실측 853 vs 939). */

/* ── 61-3. 총 건수 (fix-table 8) ──────────────────────────────────────────
   개편 `.chp-countrow` 와 같게 — 검정 700 에 숫자만 파랑.
   ⚠ `.brd-top` 은 목록에서는 건수 줄이고 상세에서는 제목·메타 줄이다(같은 클래스 두 뜻).
     건수는 `strong` 이 있는 쪽에만 있으므로 `strong` 을 집어 둘을 가른다. */
body[data-mode] .brd-top strong{
  font:var(--fw-bold) var(--bd-cnt-fs)/1.4 var(--font-core);
  letter-spacing:var(--tracking-core);
  color:var(--color-black);
}
body[data-mode] .brd-top strong span{color:var(--ui-blue)}

/* ── 61-4. 목록 블록 (fix-table 9 · 10) ───────────────────────────────────
   라이브는 위 2px 네이비 + 줄 아래 1px #DDD 의 '표' 꼴이었다. DS PC 표 블록으로 —
   테두리 1px · 라운드 16 · 줄 사이 1px · 안쪽 32. 제목은 본문 크기 500. */
body[data-mode] .brd-lst01{
  border:1px solid var(--grayscale-100);
  border-radius:var(--bd-block-r);
  margin-top:var(--bd-gap-s);
  overflow:hidden;
  font-size:var(--bd-row-fs);
}
body[data-mode] .brd-lst01 > *{border-bottom:0;padding:var(--bd-pad)}
body[data-mode] .brd-lst01 > * + *{border-top:1px solid var(--grayscale-100)}
body[data-mode] .brd-lst01 .brd-tit{
  font:var(--fw-medium) var(--bd-row-fs)/1.5 var(--font-core);
  letter-spacing:var(--tracking-core);
  color:var(--color-black);
}

/* ── 61-5. 빈 결과 (fix-table 20) ─────────────────────────────────────────
   라이브는 위 2px 네이비 + 경고 아이콘 + 검정이었다. 개편 `.chp-empty` 값으로 —
   테두리 블록 · 아이콘 없음 · #666 · 위아래 80.
   ⚠ 아이콘은 스프라이트라 마크업에 남겨 두고 숨긴다(다른 화면이 같은 클래스로 아이콘을 쓴다).
   ⚠ 문구 `<p class="mt20">` 의 20px 는 `!important` 유틸이라 같은 무게로 되돌린다 —
     아이콘을 감춘 뒤에는 위아래 여백이 80/100 으로 어긋나 보인다. */
body[data-mode] .no-data01{
  flex-direction:column;justify-content:center;
  gap:0;min-height:0;
  border:1px solid var(--grayscale-100);
  border-radius:var(--bd-block-r);
  margin-top:var(--bd-gap-s);
  padding:var(--bd-empty-pad) 24px;   /* `.ds-bbox` 를 함께 쓰면 아래에서 0 으로 되돌리고 안쪽 글이 진다 */
  color:var(--ui-gray-666);
  font:var(--fw-regular) var(--bd-body-fs)/1.6 var(--font-core);
  letter-spacing:var(--tracking-core);
  text-align:center;
}
body[data-mode] .no-data01 > .ic-wrn{display:none}
body[data-mode] .no-data01 > p{margin:0 !important}

/* ── 61-6. 목록 자리 최소 높이 (fix-table 24) ─────────────────────────────
   1건 · 0건이면 푸터가 목록 바로 밑까지 올라와 화면이 무너져 보였다(오너 2026-11-06).
   건수 아래 **목록 칸과 빈 결과 칸**에 한 줄 제목 다섯 줄 분량의 하한만 둔다 —
   화면을 채우자는 것이 아니라 자리를 남기는 것이다. 페이지 틀은 건드리지 않는다.
   ⚠ 하한은 **다섯 게시판(`.chp-bd`) 안에만** 건다. `.brd-wrap` + `.no-data01` 조합은
     배송지관리 · 합격인증 · 자녀상담 · 결제(앱)도 쓰는데, 거기까지 빈 자리를 세우는 것은
     전달본이 말한 범위가 아니다(전달본 기준은 "다섯 게시판 공통 BoardArea").
     모양(61-5)은 그 화면들도 함께 받는다 — 하한만 가른다.
   ⚠ 하한을 지는 것은 **자리**이지 상자가 아니다. 처음에는 `.brd-lst01` · `.no-data01` 에
     직접 걸었는데, 그러면 0건일 때 **테두리 상자가 440 으로 부푼다** — 시안의 빈 상자는
     위아래 80 의 184 이고 남는 자리는 테두리 없는 여백이다(사용자 지적 2026-11-09).
     전달본도 `BoardArea` 라는 바깥 칸이 하한을 진다. 여기서 그 칸은 `.brd-wrap`
     (건수 + 목록 — 페이지 이동은 밖에 있다)이므로 건수 한 줄과 그 아래 간격을 더해
     전달본과 같은 자리를 남긴다. FAQ 도 `#faqList` 안을 같은 꼴로 쪼갰다 —
     처음에는 `#faqList` 통째로 걸었는데, 그 안에 페이지 이동까지 들어 있어 번호가
     목록 바로 밑에 붙고 빈 자리가 그 **아래**로 갔다(사용자 지적 2026-11-09).
     다른 게시판은 번호가 자리 끝에 선다 — 같은 기준으로 맞춘다.
   ⚠ 상세의 `.brd-wrap` 까지 걸리면 안 되므로 목록을 담은 것만 `:has()` 로 집는다 —
     지원하지 않는 브라우저는 하한 없이 지금 그대로다(61-9 와 같은 처리).
     자식(`>`)이 아니라 **자손**으로 찾는다 — 모바일 이벤트 목록은 더보기 방식이라
     `.brd-wrap > #eventAppList` 안에 목록과 빈 결과가 한 칸 더 들어가 있다.
     상세 다섯 화면의 `.brd-wrap` 에는 `brd-lst` · `no-data01` · `aco-type` 이 없다(확인). */
body[data-mode] .chp-bd .brd-wrap:has(.no-data01),
body[data-mode] .chp-bd .brd-wrap:has([class*="brd-lst"]),
body[data-mode] .chp-bd .brd-wrap:has([class*="aco-type"]){
  min-height:calc(var(--bd-list-min) + var(--bd-cnt-fs) * 1.4 + var(--bd-gap-s));
}

/* ── 61-6-1. 마지막 줄과 푸터 사이 (사용자 지적 2026-11-09) ───────────────
   내용이 짧은 글 · 마지막 페이지처럼 노출할 것이 적으면 상세의 이전글 · 목록 · 다음글
   줄(또는 목록의 페이지 이동) 아래로 화면 하나만큼 빈 자리가 생겼다.
   레거시 셸이 `#container{min-height:var(--init-cont-h)}` 로 화면을 채우는데,
   그 값이 PC 는 `100vh - 헤더 - 푸터`(common.css:78)인 반면 태블릿 · 모바일은
   `100vh - 헤더`(m.css:10 · app.css:10)여서 **푸터 높이가 통째로 빈 자리가 된다** —
   모바일 블록은 `--init-fh` 를 선언해 두고도 `--init-cont-h` 를 다시 셈하지 않는다.
   여기서는 셸의 화면 채우기를 끄고, **남는 자리를 푸터가 먹게** 한다 — body 를 열로
   세우고 푸터만 `flex:1 0 auto` 를 준다. 그러면 마지막 줄과 푸터 사이는 `#container`
   의 아래 여백 하나로 늘 같고(태블릿 60 · 모바일 8 · PC 80), 화면보다 페이지가 짧아도
   푸터가 바닥까지 늘어나 빈 자리가 보이지 않는다.
   ⚠ `#container{min-height:0}` 만으로 끄면 세로로 긴 태블릿(834×1194 · 1024×1366)에서
     푸터 **아래**로 400 이 넘는 흰 자리가 남는다. 반대로 푸터 높이를 빼서 다시 셈하면
     그 화면에서 셸이 다시 늘어나 간격이 350~570 으로 벌어진다. 푸터가 먹는 쪽이 둘 다 푼다.
   ⚠ `height:auto` 를 함께 적어야 한다 — 레거시가 `html, body{height:100%}` 라 그대로
     열로 세우면 body 가 화면 높이에 갇혀 내용이 **잘린다**(간격이 음수로 측정됐다).
   ⚠ 열 flex 는 자식을 줄일 수 있어 아래에서 `flex-shrink:0` 으로 못 박는다.
   ⚠ **전 화면에 건다**(오너 확정 2026-11-09 — "커뮤니티만이 아니라 모든 페이지 공통").
     처음에는 다섯 게시판(`.chp-bd`) 안에만 걸었다.
     PC 는 `--init-cont-h` 가 이미 푸터를 빼고 있어 셸이 늘어나지 않는다 — 열 구조는 태블릿 ·
     모바일에만 건다. */
body[data-mode="tablet"],
body[data-mode="mobile"]{
  height:auto;min-height:100vh;display:flex;flex-direction:column;
}
body[data-mode="tablet"] > #container,
body[data-mode="mobile"] > #container{min-height:0;flex:0 0 auto}
body[data-mode="tablet"] > footer,
body[data-mode="mobile"] > footer{flex:1 0 auto}
/* 유패스 앱은 푸터가 없다(body.tag — appYn eq 'Y' 면 그리지 않는다). 그러면 남는 자리를
   먹을 요소가 사라져 짧은 페이지에서 아래가 빈다. 푸터가 없을 때만 본문이 늘어난다.
   ⚠ `:has()` 를 못 받는 브라우저는 예전처럼 빈 자리가 보인다 — 앱 웹뷰는 모두 지원한다. */
body[data-mode="tablet"]:not(:has(> footer)) > #container,
body[data-mode="mobile"]:not(:has(> footer)) > #container{flex:1 0 auto}
/* 열(column) flex 는 자식을 줄일 수 있다 — 스크립트가 body 끝에 붙이는 칸(`#popup_area`
   com.js:1088 · 광고 태그 div)이 0 으로 접히거나 늘어나지 않게 못 박는다. 팝업 자체는
   `position:fixed` 라 흐름 밖이다. */
body[data-mode="tablet"] > *,
body[data-mode="mobile"] > *{flex-shrink:0}

/* ── 61-6-2. 아래 여백은 시안 값으로 (사용자 지적 2026-11-09) ─────────────
   마지막 줄과 푸터 사이는 `#container` 의 아래 여백 하나다(61-6-1). 그 값이 레포는
   PC 80(layout.css:125) · 태블릿 60(7 절) · 모바일 2.08vw = 8(m.css:139)인데,
   전달본의 콘텐츠 열은 PC 60 · 태블릿 56 · 모바일 16 이다(실측 — 1400 캔버스 기준).
   **전 화면**에 그 값으로 맞춘다(오너 확정 2026-11-09). 태블릿은 1400 캔버스 값이라 폭으로 줄인다. */
body[data-mode="pc"] #container{padding-bottom:60px}
body[data-mode="tablet"] #container{padding-bottom:min(calc(100vw * 56 / 1400), 56px)}
body[data-mode="mobile"] #container{padding-bottom:16px}

/* ── 61-7. 상세 블록 (fix-table 12 · 13 · 14 · 15 · 16 · 23) ──────────────
   목록 블록과 같은 꼴(테두리 1px · 라운드 16)로 맞추고, 머리와 본문 사이만 1px.
   · 제목 20/700 #222 (라이브 18/500 #000)
   · 날짜 · 조회수는 양 끝에 떨어져 있던 것을 **한 줄 `날짜 · 조회수 N`** 으로(14 · #666)
   · 본문 #888(3.54:1) → `--ui-gray-333`. 보조 정보처럼 읽히던 것을 본문으로 되돌린다
   · 본문 최소 높이 200 · 240 · 160 — 짧은 글에서 본문이 머리보다 얇았다(오너 2026-11-06)
   · 첨부는 위아래 선 대신 회색 면 상자로 본문 블록 안에 둔다 */
body[data-mode] .brd-vw02{
  border:1px solid var(--grayscale-100);
  border-radius:var(--bd-block-r);
  overflow:hidden;
}
body[data-mode] .brd-vw02 > .brd-top{
  margin:0;padding:var(--bd-pad);
  font-size:var(--bd-meta-fs);color:var(--ui-gray-666);
}
body[data-mode] .brd-vw02 .brd-tit{
  font:var(--fw-bold) var(--bd-tit-fs)/1.4 var(--font-core);
  letter-spacing:var(--tracking-core);
  color:var(--color-black);
}
body[data-mode] .brd-vw02 > .brd-top .fx-jcsb{
  justify-content:flex-start;
  gap:calc(var(--bd-gap-s) / 2);
}
body[data-mode] .brd-vw02 .brd-date,
body[data-mode] .brd-vw02 .brd-hit{
  font:var(--fw-regular) var(--bd-meta-fs)/1.4 var(--font-core);
  letter-spacing:var(--tracking-core);
  color:var(--ui-gray-666);
}
body[data-mode] .brd-vw02 .brd-hit:not(:first-child)::before{
  content:"·";margin-right:calc(var(--bd-gap-s) / 2);
}
body[data-mode] .brd-vw02 .brd-cont{
  border-top:1px solid var(--grayscale-100);
  padding:var(--bd-pad);
  min-height:var(--bd-body-min);
  font:var(--fw-regular) var(--bd-body-fs)/1.6 var(--font-core);
  letter-spacing:var(--tracking-core);
  color:var(--ui-gray-333);
}
body[data-mode] .brd-vw02 .brd-file{
  display:flex;
  border-top:0;
  margin:0 var(--bd-pad) var(--bd-pad);
  padding:var(--bd-file-pad);
  background:var(--bg-gray);
  border-radius:var(--bd-file-r);
}
body[data-mode] .brd-vw02 .brd-file-tit{
  flex:0 0 auto;
  margin-right:var(--bd-gap-s);
  font:var(--fw-medium) var(--bd-meta-fs)/1.6 var(--font-core);
  letter-spacing:var(--tracking-core);
  color:var(--color-black);
  text-align:left;
}

/* ── 61-8. 이전글 · 다음글 (fix-table 19) ─────────────────────────────────
   라이브는 높이 25 에 없는 쪽을 `opacity:.3` 으로 흐렸다. 누르는 높이 44 ·
   본문 크기 · 없는 쪽은 `--grayscale-200`.
   ⚠ 꺾쇠는 스프라이트(-750px 0 = 화살표)를 떠나 DS `chevron-left` 글리프를 mask 로 쓴다.
     mask 라 색이 `currentColor` 를 따라가므로 비활성 회색이 꺾쇠에도 그대로 간다 —
     스프라이트는 색을 바꿀 수 없어 흐리게 하는 수밖에 없었다. */
body[data-mode] .brd-pn{
  display:flex;align-items:center;justify-content:space-between;
  gap:var(--bd-gap-s);
  padding-top:var(--bd-nav-top);
}
body[data-mode] .brd-pn > a{
  display:flex;align-items:center;gap:8px;
  min-height:44px;
  font:var(--fw-regular) var(--bd-body-fs)/1.4 var(--font-core);
  letter-spacing:var(--tracking-core);
  color:var(--ui-gray-333);
}
body[data-mode] .brd-pn > a[disabled]{
  opacity:1;color:var(--grayscale-200);pointer-events:none;
}
body[data-mode] .brd-pn .brd-ic-prev:before,
body[data-mode] .brd-pn .brd-ic-next:after{
  background:currentColor;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M15.5654 6.56543L10.1309 12L15.5654 17.4346L14.4346 18.5654L7.86816 12L14.4346 5.43457L15.5654 6.56543Z'/%3E%3C/svg%3E") no-repeat center / contain;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M15.5654 6.56543L10.1309 12L15.5654 17.4346L14.4346 18.5654L7.86816 12L14.4346 5.43457L15.5654 6.56543Z'/%3E%3C/svg%3E") no-repeat center / contain;
  width:var(--bd-body-fs);height:var(--bd-body-fs);
}
body[data-mode] .brd-pn .brd-ic-next:after{transform:rotate(180deg)}

/* ── 61-9. 1페이지면 페이지 이동을 그리지 않는다 (fix-table 21) ───────────
   **21 절(6238행)이 이미 전 화면에 같은 일을 하고 있다** — `:is(#container, #popup_area)
   .brd-paging:not(:has(a:not(.active):not([class*="brd-paging"])))`.
   게시판용으로 한 벌 더 두면 같은 판정을 두 선택자가 나눠 갖게 되므로 여기서는 두지 않는다.
   고칠 일이 생기면 21 절 한 곳만 본다. */

/* ── 61-10. 목록 줄의 날짜 · 작성자 (공지사항 N1 · 학습후기 R2) ────────────
   둘 다 `.brd-lst01` 줄 안에서 제목 옆 오른쪽 끝에 선다. 라이브는 16 #888(3.54:1)이었다.
   ⚠ 이 저장소의 줄은 `[class*="fx-row"]{flex-direction:column}`(style.css:160) 때문에
     **모든 폭에서 제목 아래로 내려와 있었다**. 전달본의 "오른쪽 끝(Mobile 은 제목 아래)"에
     맞추려면 PC · 태블릿만 가로로 되돌리면 된다 — 마크업은 그대로다.
   ⚠ 학습후기는 작성자와 날짜를 `.vbar-01`(세로 막대)로 묶는다. 상세 메타와 같은
     가운데 점으로 바꾼다 — 같은 급의 보조 정보를 두 가지 기호로 가르지 않는다. */
body[data-mode] .brd-lst01 .brd-date{
  font:var(--fw-regular) var(--bd-meta-fs)/1.5 var(--font-core);
  letter-spacing:var(--tracking-core);
  color:var(--ui-gray-666);
}
body[data-mode="pc"] .brd-lst01 > * > [class*="fx-row"],
body[data-mode="tablet"] .brd-lst01 > * > [class*="fx-row"]{
  flex-direction:row;align-items:center;flex-wrap:nowrap;
}
body[data-mode="pc"] .brd-lst01 > * > [class*="fx-row"] > :first-child,
body[data-mode="tablet"] .brd-lst01 > * > [class*="fx-row"] > :first-child{flex:1 1 auto;min-width:0}
body[data-mode="pc"] .brd-lst01 > * > [class*="fx-row"] > .brd-date,
body[data-mode="pc"] .brd-lst01 > * > [class*="fx-row"] > .vbar-01,
body[data-mode="tablet"] .brd-lst01 > * > [class*="fx-row"] > .brd-date,
body[data-mode="tablet"] .brd-lst01 > * > [class*="fx-row"] > .vbar-01{flex:0 0 auto;margin-left:auto}

/* 세로 막대 → 가운데 점. 라이브 `:before` 는 #ccc 1px 막대라 색·크기를 모두 되돌린다. */
body[data-mode] .brd-lst01 .vbar-01,
body[data-mode] .brd-vw02 .vbar-01{gap:calc(var(--bd-gap-s) / 2);align-items:center}
body[data-mode] .brd-lst01 .vbar-01 > * + *,
body[data-mode] .brd-vw02 .vbar-01 > * + *{padding-left:0}
body[data-mode] .brd-lst01 .vbar-01 > * + *:before,
body[data-mode] .brd-vw02 .vbar-01 > * + *:before{
  content:"·";
  position:static;transform:none;
  width:auto;height:auto;background:none;
  margin-right:calc(var(--bd-gap-s) / 2);
  color:var(--ui-gray-666);
}

/* ── 61-11. 공지사항 — 고정글 배지 (fix-table N2 · N3) ────────────────────
   라이브는 빨강 `[공지]` + 제목 700 이었다. 빨강은 DS 에서 취소 · 오류 계열이고,
   첫 페이지가 전부 고정글이라 강조가 경계 구실도 못 했다(오너 2026-11-06).
   DS 배지(연파랑 면 + `--ui-blue`)로 바꾸고 제목은 일반 글과 같은 500 으로 되돌린다.
   대괄호는 JSP 에서 뺐다 — 배지 안에 괄호가 남으면 안 된다(N3 · 템플릿 수정). */
body[data-mode] .chp-bd--notice .brd-lst01 .brd-tit strong{font-weight:var(--fw-medium)}
body[data-mode] .chp-bd--notice .brd-tit em{
  display:inline-block;vertical-align:middle;
  margin-right:8px;padding:0 10px;
  border-radius:4px;
  background:#EEF0FB;color:var(--ui-blue);
  font:var(--fw-medium) var(--bd-meta-fs)/1.9 var(--font-core);
  letter-spacing:var(--tracking-core);
}

/* ── 61-12. 학습후기 (fix-table R1 · R4 · R5 · R8) ────────────────────────
   · R1 분류 `[디지털]` 은 빨강이 아니라 보조 정보 회색이다. 파랑 배지는 공지사항의
     '고정글' 뜻으로만 쓴다 — 같은 꼴이 두 뜻을 가지면 읽는 사람이 배운 것을 잃는다.
   · R4 캐러셀 카드 위 빨강은 파란 카드에서 1.4:1 이었다 — 흰색으로.
   · R5 세 번째 카드 색 #575757 은 팔레트 밖 값이다 — 이름 있는 가장 가까운 DS 값으로.
   · R8 '같은 학습유형의 다른 후기' 카드를 1e 블록으로(선 · 라운드 16 · 설명 #666 ·
     검정 채움 버튼 → 줄마다 되풀이되는 CTA 색인 navy). */
body[data-mode] .chp-bd--review .brd-tit em{
  color:var(--ui-gray-666);
  font-weight:var(--fw-regular);
}
body[data-mode] .chp-bd--review .comment-slide-txt01 em{color:var(--color-white)}
body[data-mode] .chp-bd--review .comment-slide .swiper-slide:nth-child(3n+1){background:var(--ui-gray-606060)}
body[data-mode] .brd-review{gap:var(--bd-gap-s)}
body[data-mode] .brd-review > *{
  justify-content:flex-start;align-items:flex-start;
  gap:calc(var(--bd-gap-s) / 2);
  height:auto;min-height:0;
  padding:var(--bd-pad);
  border:1px solid var(--grayscale-100);
  border-radius:var(--bd-block-r);
  text-align:left;
}
body[data-mode="mobile"] .brd-review{grid-template-columns:minmax(0,1fr)}
body[data-mode] .brd-review .brd-rv-tit{
  font:var(--fw-medium) var(--bd-row-fs)/1.5 var(--font-core);
  letter-spacing:var(--tracking-core);
  color:var(--color-black);
}
body[data-mode] .brd-review .brd-rv-tit em{color:var(--ui-gray-666);font-weight:var(--fw-regular)}
body[data-mode] .brd-review .brd-rv-desc{
  font:var(--fw-regular) var(--bd-meta-fs)/1.6 var(--font-core);
  letter-spacing:var(--tracking-core);
  color:var(--ui-gray-666);
}
body[data-mode] .brd-review .btn-blk{
  margin-top:auto;
  border-color:var(--ui-navy);
  background:var(--ui-navy);
  color:var(--color-white);
}

/* ── 61-13. 이벤트 (fix-table E3 · E4 · E6 · E7 · E8 · E12) ───────────────
   카드 높이(E1)와 안쪽 정렬(E2)은 **43절이 이미 들고 있다**(2026-10-19 PR #249).
   여기서는 겉모양만 1e 어휘로 맞춘다 — 회색 면을 흰 면 + 테두리로, 썸네일 바탕은
   `--bg-gray`, 빨강 배지는 연파랑(진행중) · 연회색(종료)으로.
   ⚠ 빨강(#F65555)은 이 사이트에서 취소 · 오류 계열이라 '진행중' 에 쓰면 경고로 읽힌다
     — 학습후기 R1 · FAQ F4 와 같은 이유다. */
body[data-mode] .brd-lst06 > li{
  background:var(--color-white);
  border:1px solid var(--grayscale-100);
  border-radius:var(--bd-block-r);
  overflow:hidden;
}
body[data-mode] .brd-lst06 .thumb-01{background:var(--bg-gray)}
body[data-mode="mobile"] .brd-lst06{gap:12px}
body[data-mode] .chp-bd--event [class*="bage-01"]{
  border-radius:4px;
  font:var(--fw-medium) var(--bd-meta-fs)/1.9 var(--font-core);
  letter-spacing:var(--tracking-core);
}
body[data-mode] .chp-bd--event .bage-01-red{background:#EEF0FB;color:var(--ui-blue)}
body[data-mode] .chp-bd--event .bage-01-blk{background:var(--color-light-gray);color:var(--ui-gray-666)}
body[data-mode] .brd-lst06 .brd-over{background:rgba(0,0,0,.65)}
body[data-mode] .chp-bd--event .event_list li{
  background:var(--bg-gray);
  border:1px solid var(--grayscale-100);
  border-radius:var(--bd-block-r);
  color:var(--ui-gray-666);
}

/* ── 61-14. FAQ 아코디언 (fix-table F3 · F4 · F5 · F6) ────────────────────
   라이브는 위아래 #CCC 선만 있는 90 높이 줄이었다. 다른 게시판 목록과 같은 블록으로
   바꾸고(테두리 · 라운드 16), 답변 칸은 회색 면으로 질문과 갈라 놓는다.
   · `Q.` 빨강 → `--ui-navy` 700 · `A.` 검정 → #666 700
   · 답변 본문 #888(3.54:1) → `--ui-gray-333`
   ⚠ 펼침 표시는 스프라이트(15×10 화살촉)를 떠나 DS `chevron-down` 을 mask 로 쓴다.
     **회전이 아니라 위아래 뒤집기**(scaleY)다 — 오너 2026-11-06. 0.2초.
   ⚠ 줄 전체가 버튼이다. 라이브도 `.aco-head` 에 onclick 이 걸려 있어 동작은 같고,
     보이는 자리만 90×87 버튼에서 줄 전체로 넓힌다. */
body[data-mode] .aco-type0101 .aco-wrap{
  border:1px solid var(--grayscale-100);
  border-radius:var(--bd-block-r);
  overflow:hidden;
}
body[data-mode] .aco-type0101 .aco-wrap + .aco-wrap{margin-top:var(--bd-gap-s)}
body[data-mode] .aco-type0101 > .aco-wrap > .aco-head,
body[data-mode] .aco-type0101 > .aco-wrap:first-child > .aco-head{
  border:0;
  height:auto;min-height:0;
  padding:var(--bd-pad);
  cursor:pointer;
}
body[data-mode] .aco-type0101 .qna-q{
  font:var(--fw-medium) var(--bd-row-fs)/1.5 var(--font-core);
  letter-spacing:var(--tracking-core);
  color:var(--color-black);
}
body[data-mode] .aco-type0101 .qna-q em{color:var(--ui-navy);font-weight:var(--fw-bold)}
body[data-mode] .aco-type0101 .aco-cont{
  padding:var(--bd-pad);
  background:var(--bg-gray);
  font:var(--fw-regular) var(--bd-body-fs)/1.6 var(--font-core);
  letter-spacing:var(--tracking-core);
  color:var(--ui-gray-333);
}
body[data-mode] .aco-type0101 .qna-a b{
  color:var(--ui-gray-666);
  font-weight:var(--fw-bold);
  font-size:var(--bd-body-fs);
}
body[data-mode] .chp-bd--faq .aco-type0101 .aco-ic-ct-btn{
  flex:0 0 var(--bd-body-fs);width:var(--bd-body-fs);height:var(--bd-body-fs);
  transform:none;
}
body[data-mode] .chp-bd--faq .aco-type0101 .aco-ic-ct-btn:before{
  width:var(--bd-body-fs);height:var(--bd-body-fs);
  background:var(--ui-gray-666);
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.56543 8.43457L12 13.8691L17.4346 8.43457L18.5654 9.56543L12 16.1318L5.43457 9.56543L6.56543 8.43457Z'/%3E%3C/svg%3E") no-repeat center / contain;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.56543 8.43457L12 13.8691L17.4346 8.43457L18.5654 9.56543L12 16.1318L5.43457 9.56543L6.56543 8.43457Z'/%3E%3C/svg%3E") no-repeat center / contain;
  transition:transform .2s ease;
}
body[data-mode] .chp-bd--faq .aco-type0101 .aco-wrap.active .aco-ic-ct-btn{transform:none}
body[data-mode] .chp-bd--faq .aco-type0101 .aco-wrap.active .aco-ic-ct-btn:before{transform:translate(-50%, -50%) scaleY(-1)}

/* ── 61-15. 상세의 되돌아가는 길 (fix-table 17 · 18 · 25 · 26 · 28) ───────
   되돌아가는 동작이라 **파랑을 쓰지 않는다**(오너 2026-11-05). DS Button outline —
   흰 면 · `--grayscale-100` 선 · `--ui-gray-333` 글자.
   · 이전글 · 목록 · 다음글이 한 줄인 화면(자료실 · 공지사항)은 **medium**, 줄을 고르게.
   · [목록]만 있는 화면(학습후기 · 이벤트)은 **large**, 모바일은 꽉 찬 폭 —
     결제이력 상세 [목록으로]와 같은 크기다.
   · PC 상세는 제목 앞에 ← 를 둔다(28). 제목째로 눌러 목록으로 간다.
     태블릿 · 모바일은 앱바의 ← 가 같은 일을 하므로 그리지 않는다. */
body[data-mode] .brd-pn > .brd-pn-list{
  display:flex;align-items:center;justify-content:center;
  height:calc(var(--chp-btn-h-md) * 1px);
  padding:0 calc(var(--space-btn-x) * 1px);
  border:1px solid var(--grayscale-100);
  border-radius:calc(var(--radius-btn) * 1px);
  background:var(--color-white);
  color:var(--ui-gray-333);
  font:var(--chp-btn-fw-md) calc(var(--chp-btn-fs-md) * 1px)/1.4 var(--font-core);
  letter-spacing:var(--tracking-core);
}
/* [목록]만 있는 화면의 버튼 줄 — 위 간격은 이전글 · 목록 · 다음글 줄과 같은 `--bd-nav-top`
   (PC 24 · 태블릿 32 · 모바일 16). 레거시는 `custom.css:1684` 70 · `m.css:1206` 5.83vw 라
   공지 · 자료실 상세보다 훨씬 떨어져 있었다(사용자 지적 2026-11-09). */
body[data-mode] .chp-bd .btnArea{margin-top:var(--bd-nav-top)}
body[data-mode] .chp-bd .btnArea > .btn-b-lblu.btn-sz01{
  height:calc(var(--chp-btn-h-lg) * 1px);
  padding:0 calc(var(--space-btn-x) * 2px);
  border:1px solid var(--grayscale-100);
  border-radius:calc(var(--radius-btn) * 1px);
  background:var(--color-white);
  color:var(--ui-gray-333);
  font:var(--fw-regular) calc(var(--chp-btn-fs-lg) * 1px)/1.4 var(--font-core);
  letter-spacing:var(--tracking-core);
}
body[data-mode="mobile"] .chp-bd .btnArea > .btn-b-lblu.btn-sz01{width:100%}
/* 태블릿 — 7-1 절과 같은 규약으로 줄인다. 시안의 58·20·20·6 은 **1400 캔버스** 값이라
   고정 px 로 두면 폭이 줄어도 상자만 그대로 남는다 — 1024 시안은 42.4×14.6 인데
   여기는 58×14.6 이라 라벨보다 상자가 커 보였다(사용자 지적 2026-11-09).
   ⚠ 글자만 이미 맞았던 것은 `.brd-pn > a`(0,2,2) 가 `.brd-pn-list`(0,2,1) 를 이겨
     `--bd-body-fs` 의 clamp 이 쓰이고 있었기 때문이다. 선택자를 `.brd-pn > .brd-pn-list`
     로 올려 버튼 제 값이 서도록 했으므로 글자도 여기서 직접 줄인다. */
body[data-mode="tablet"] .brd-pn > .brd-pn-list{
  height:clamp(40px, calc(100vw * var(--chp-btn-h-md) / 1400), calc(var(--chp-btn-h-md) * 1px));
  padding:0 min(calc(100vw * var(--space-btn-x) / 1400), calc(var(--space-btn-x) * 1px));
  border-radius:min(calc(100vw * var(--radius-btn) / 1400), calc(var(--radius-btn) * 1px));
  font-size:clamp(14px, calc(100vw * var(--chp-btn-fs-md) / 1400), calc(var(--chp-btn-fs-md) * 1px));
}
body[data-mode="tablet"] .chp-bd .btnArea > .btn-b-lblu.btn-sz01{
  height:clamp(48px, calc(100vw * var(--chp-btn-h-lg) / 1400), calc(var(--chp-btn-h-lg) * 1px));
  padding:0 min(calc(100vw * var(--space-btn-x) * 2 / 1400), calc(var(--space-btn-x) * 2px));
  border-radius:min(calc(100vw * var(--radius-btn) / 1400), calc(var(--radius-btn) * 1px));
  font-size:clamp(16px, calc(100vw * var(--chp-btn-fs-lg) / 1400), calc(var(--chp-btn-fs-lg) * 1px));
}
body[data-mode] .chp-title-back{color:inherit}
body[data-mode="pc"] .chp-title-back{display:inline-flex;align-items:center;gap:12px}
body[data-mode="pc"] .chp-title-back:before{
  content:"";flex:0 0 16px;width:16px;height:16px;
  background:currentColor;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M11.2998 4.30078L12.6992 5.7002L7.40039 11H20V13H7.40039L12.6992 18.2998L11.2998 19.6992L3.59961 12L11.2998 4.30078Z'/%3E%3C/svg%3E") no-repeat center / contain;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M11.2998 4.30078L12.6992 5.7002L7.40039 11H20V13H7.40039L12.6992 18.2998L11.2998 19.6992L3.59961 12L11.2998 4.30078Z'/%3E%3C/svg%3E") no-repeat center / contain;
}

/* ── 61-16. 이벤트 댓글 (fix-table E7) ───────────────────────────────────
   라이브는 테두리 없는 입력칸 + 파란 버튼(글자 20 · 좌우 32) + 가로줄만 있는 표였다.
   전달본은 DS TextField + DS blue [댓글등록](이 화면에서 앞으로 가는 동작이 이것뿐이라
   파랑을 쓴다) · 목록은 다른 게시판과 같은 테두리 블록 — 왼쪽 댓글, 오른쪽 `작성자 · 날짜`
   #666, 모바일은 두 줄로 쌓는다. 0 건이면 블록을 그리지 않는다(라이브는 빈 표를 그렸다).
   ⚠ 표 마크업(`.tbl-type01`)은 그대로 두고 flex 로 읽는다 — 사이트 전역이 쓰는
     클래스라 `.chp-bd--event` 안에서만 건드린다.
   ⚠ 본문과 띄우는 `<br>`(eventDtl.jsp:55)은 **댓글형에서만** 감춘다. 간격은 토큰이 진다.
     일반 · 시험형 이벤트는 `<br>` 이 그대로라 지금 모습이 유지된다. */
body[data-mode] .chp-bd--event .brd-wrap:has(.brd-reply) > br,
body[data-mode] .chp-bd--event .brd-wrap:has(.tbl-type01) > br{display:none}

body[data-mode] .chp-bd--event .brd-reply{
  display:flex;align-items:center;gap:12px;
  margin-top:var(--bd-gap);
}
body[data-mode="tablet"] .chp-bd--event .brd-reply{gap:min(calc(100vw * 12 / 1400), 12px)}
body[data-mode="mobile"] .chp-bd--event .brd-reply{gap:8px}

body[data-mode] .chp-bd--event .brd-reply input[type="text"]{
  flex:1 1 auto;min-width:0;width:auto;
  box-sizing:border-box;
  height:var(--bd-field-h);
  border:1px solid var(--grayscale-100);
  border-radius:var(--bd-r);
  padding:0 var(--bd-gap-s);
  background:var(--color-white);
  font:var(--fw-regular) var(--bd-field-fs)/1.4 var(--font-core);
  letter-spacing:var(--tracking-core);
  color:var(--ui-gray-333);
}
body[data-mode] .chp-bd--event .brd-reply input[type="text"]:focus{
  border-color:var(--grayscale-200);outline:0;
}
body[data-mode] .chp-bd--event .brd-reply input[type="text"] + [class*="btn-"]{
  flex:0 0 auto;margin-left:0;
  display:flex;align-items:center;justify-content:center;
  height:var(--bd-field-h);
  padding:0 var(--bd-gap-s);
  border:0;border-radius:var(--bd-r);
  background:var(--ui-blue);color:var(--color-white);
  font:var(--chp-btn-fw-md) var(--bd-field-fs)/1.4 var(--font-core);
  letter-spacing:var(--tracking-core);
  white-space:nowrap;
}

body[data-mode] .chp-bd--event .tbl-type01{
  display:block;width:100%;
  margin-top:var(--bd-gap-s);
  border:1px solid var(--grayscale-100);
  border-radius:var(--bd-block-r);
  overflow:hidden;
}
/* 종료된 댓글형은 입력줄이 없다 — 본문과의 간격을 입력줄이 지던 값으로 올린다. */
body[data-mode] .chp-bd--event .brd-wrap:not(:has(.brd-reply)) .tbl-type01{margin-top:var(--bd-gap)}
body[data-mode] .chp-bd--event .tbl-type01 > colgroup{display:none}
body[data-mode] .chp-bd--event .tbl-type01 > tbody{display:block}
body[data-mode] .chp-bd--event .tbl-type01 tr{
  display:flex;align-items:center;gap:24px;
  padding:var(--bd-pad);
}
body[data-mode="tablet"] .chp-bd--event .tbl-type01 tr{gap:min(calc(100vw * 24 / 1400), 24px)}
body[data-mode="mobile"] .chp-bd--event .tbl-type01 tr{flex-direction:column;align-items:stretch;gap:6px}
body[data-mode] .chp-bd--event .tbl-type01 tr + tr{border-top:1px solid var(--grayscale-100)}
body[data-mode] .chp-bd--event .tbl-type01 td{
  display:block;padding:0;border:0;
  font:var(--fw-regular) var(--bd-body-fs)/1.5 var(--font-core);
  letter-spacing:var(--tracking-core);
  color:var(--color-black);
  overflow-wrap:anywhere;
}
body[data-mode] .chp-bd--event .tbl-type01 td:first-child{flex:1 1 auto;min-width:0}
body[data-mode] .chp-bd--event .tbl-type01 td + td{
  flex:0 0 auto;
  font-size:var(--bd-meta-fs);color:var(--ui-gray-666);
}
/* 0 건이면 테두리만 남은 상자가 서지 않게 한다(미지원 브라우저는 빈 상자 그대로). */
body[data-mode] .chp-bd--event .tbl-type01:not(:has(tbody tr)){display:none}

/* ── 61-17. 학습후기 베스트 캐러셀 (fix-table R4 · R5 · R6 · 전달본 RV_BEST) ──
   전달본의 값표(`source/review/screens/RVScreens.jsx` 의 `RV_BEST`):
       PC  카드 360×340 · 여백 28 · 라운드 20 · 제목 20 · 본문 16 · 작성자 18 · 점 8/24 · 점간격 6 · 점 위 24
       TA  카드 440×420 · 여백 36 · 라운드 20 · 제목 26 · 본문 20 · 작성자 22 · 점 10/30 · 점간격 8 · 점 위 24
       MO  카드 280×300 · 여백 20 · 라운드 16 · 제목 16 · 본문 14 · 작성자 15 · 점 6/18 · 점간격 4 · 점 위 16
   카드 묶음 아래 여백은 PC · TA 48 · MO 32. 카드 색(회색 → 파랑 → 네이비)과 배치(켜진 카드를
   가운데 두고 양옆이 걸쳐 보임)는 라이브 그대로라 바꾸지 않는다.
   ⚠ 라이브는 카드 폭을 Swiper 의 `slidesPerView`(PC 2.5)가 정해 열 폭에 따라 444 까지 커졌다.
     전달본은 카드 폭이 고정이므로 `slidesPerView:'auto'` 로 세우고(stdyLaterList.jsp) 폭은
     여기서 준다. front.js 의 `.swi-type03` 공통 설정과 값이 달라 이 화면만 따로 띄운다.
   ⚠ 점은 `.swi-ui-type03` 의 레거시 값(16/56 · #333 · 간격 24)을 덮는다. 점줄은 절대배치라
     흐름에 자리를 차지하지 않는다 — 섹션 아래 여백이 점 자리와 아래 여백을 함께 진다. */
body[data-mode] .chp-bd--review .comment-slide .swiper-slide{
  flex:0 0 auto;
  justify-content:space-between;
  box-sizing:border-box;
}
body[data-mode="pc"] .chp-bd--review .comment-slide .swiper-slide{
  width:360px;height:340px;padding:28px;border-radius:20px;
}
body[data-mode="tablet"] .chp-bd--review .comment-slide .swiper-slide{
  width:min(calc(100vw * 440 / 1400), 440px);
  height:min(calc(100vw * 420 / 1400), 420px);
  padding:min(calc(100vw * 36 / 1400), 36px);
  border-radius:min(calc(100vw * 20 / 1400), 20px);
}
body[data-mode="mobile"] .chp-bd--review .comment-slide .swiper-slide{
  width:280px;height:300px;padding:20px;border-radius:16px;
}

/* 카드 글자 — 제목 묶음은 `.swiper-slide > div` 안, 작성자는 슬라이드의 직계 자식이다. */
body[data-mode="pc"] .chp-bd--review .comment-slide-txt01{font-size:20px}
body[data-mode="pc"] .chp-bd--review .comment-slide-txt02{font-size:16px;line-height:1.6}
body[data-mode="pc"] .chp-bd--review .swiper-slide > .comment-slide-txt01{font-size:18px}
body[data-mode="tablet"] .chp-bd--review .comment-slide-txt01{font-size:clamp(16px, calc(100vw * 26 / 1400), 26px)}
body[data-mode="tablet"] .chp-bd--review .comment-slide-txt02{font-size:clamp(14px, calc(100vw * 20 / 1400), 20px);line-height:1.6}
body[data-mode="tablet"] .chp-bd--review .swiper-slide > .comment-slide-txt01{font-size:clamp(14px, calc(100vw * 22 / 1400), 22px)}
body[data-mode="mobile"] .chp-bd--review .comment-slide-txt01{font-size:16px}
body[data-mode="mobile"] .chp-bd--review .comment-slide-txt02{font-size:14px;line-height:1.6}
body[data-mode="mobile"] .chp-bd--review .swiper-slide > .comment-slide-txt01{font-size:15px}

/* 점 — 꺼진 점 `--grayscale-100` 원, 켜진 점 네이비 알약. */
body[data-mode] .chp-bd--review .swi-ui-type03 .swiper-pagination .swiper-pagination-bullet{
  display:inline-block;vertical-align:top;
  opacity:1;background:var(--grayscale-100);border-radius:999px;
}
body[data-mode] .chp-bd--review .swi-ui-type03 .swiper-pagination .swiper-pagination-bullet-active{
  background:var(--ui-navy);
}
body[data-mode="pc"] .chp-bd--review .swi-ui-type03 .swiper-pagination{margin-top:24px;height:8px}
body[data-mode="pc"] .chp-bd--review .swi-ui-type03 .swiper-pagination .swiper-pagination-bullet{flex:0 0 8px;width:8px;height:8px;margin:0 3px}
body[data-mode="pc"] .chp-bd--review .swi-ui-type03 .swiper-pagination .swiper-pagination-bullet-active{flex:0 0 24px;width:24px}
body[data-mode="tablet"] .chp-bd--review .swi-ui-type03 .swiper-pagination{
  margin-top:min(calc(100vw * 24 / 1400), 24px);
  height:min(calc(100vw * 10 / 1400), 10px);
}
body[data-mode="tablet"] .chp-bd--review .swi-ui-type03 .swiper-pagination .swiper-pagination-bullet{
  flex:0 0 min(calc(100vw * 10 / 1400), 10px);
  width:min(calc(100vw * 10 / 1400), 10px);
  height:min(calc(100vw * 10 / 1400), 10px);
  margin:0 min(calc(100vw * 4 / 1400), 4px);
}
body[data-mode="tablet"] .chp-bd--review .swi-ui-type03 .swiper-pagination .swiper-pagination-bullet-active{
  flex:0 0 min(calc(100vw * 30 / 1400), 30px);
  width:min(calc(100vw * 30 / 1400), 30px);
}
body[data-mode="mobile"] .chp-bd--review .swi-ui-type03 .swiper-pagination{margin-top:16px;height:6px}
body[data-mode="mobile"] .chp-bd--review .swi-ui-type03 .swiper-pagination .swiper-pagination-bullet{flex:0 0 6px;width:6px;height:6px;margin:0 2px}
body[data-mode="mobile"] .chp-bd--review .swi-ui-type03 .swiper-pagination .swiper-pagination-bullet-active{flex:0 0 18px;width:18px}

/* 캐러셀 묶음 아래 — 점줄은 이 레포에서 흐름 안에 있으므로(절대배치가 아니다) 카드 · 점이
   `.comment-slide` 높이를 그대로 만든다(PC 340 + 24 + 8 = 372 — 전달본과 같다).
   아래 여백 48 은 마크업의 `.inner02.mt48` 이 이미 지므로 섹션은 0 으로 둔다
   (라이브는 160 이라 점줄과 검색칸 사이가 128 이었다). */
body[data-mode] .chp-bd--review .main .section-06{padding-bottom:0}
body[data-mode] .chp-bd--review .main .section-06 .comment-slide{margin-top:0}
/* 캐러셀 묶음 위 — `custom.css` 의 `.main{margin-top:-60px}`(메인 페이지 전용 보정)이
   여기서는 캐러셀을 화면 제목 위로 끌어올려 28 겹쳐 있었다. 이 화면에서만 끈다. */
body[data-mode] .chp-bd--review .main{margin-top:0}
/* 모바일 캐러셀 아래는 전달본 32 다. 마크업의 `.mt48` 은 모바일에서 6.25vw(390 폭 24)라
   8 모자란다 — `!important` 유틸이므로 같은 무게로 되돌린다(태블릿 3.43vw = 1400 에서 48 로 맞다). */
body[data-mode="mobile"] .chp-bd--review #searchForm .inner02.mt48{margin-top:32px !important}

/* ── 61-18. 목록 화면 세로 간격 (전달본 공통) ────────────────────────────
   전달본 실측(공지 · 학습후기 모두 같다 · 1400 캔버스):
       검색칸 → 총 건수 40 · 총 건수 → 목록 16 · 목록 → 페이지 이동 40.
   이 레포는 `custom.css:423 .brd-wrap .brd-top{margin-top:50px}` 과 48 짜리 페이지 이동
   여백을 쓰고 있었다. 값은 `--bd-gap`(PC 40 · 태블릿 48 · 모바일 24)과 같으므로 토큰으로 건다. */
/* DT-4654 — `>` 로 목록 건수 줄만. 상세 제목줄(.brd-vw02 > .brd-top)까지 걸려 상자 안 위 여백이 생기던 것 */
body[data-mode] .chp-bd .brd-wrap > .brd-top{margin-top:var(--bd-gap)}
/* ⚠ `:is(#container, #popup_area) .brd-paging{margin-top:48px}`(위 절)이 (1,0,1)이라
   클래스만으로는 못 이긴다 — `#container` 를 함께 세운다. */
#container .chp-bd .brd-paging{margin-top:var(--bd-gap)}

/* ══ 62. 목록 상자 공통 클래스 `.ds-bbox` (전달본 공통_최종 · DS 23차 2026-11-09) ═══
   오너 지시 "클래스 하나로 전 게시판". 여러 건을 늘어놓는 자리는 **상자 하나 안에 줄을
   쌓고 줄 사이를 선으로 나눈다** — 게시판 목록 네 곳 · 이벤트 댓글 · 교재배송정보 ·
   자녀정보 · 결제이력 Mobile · 추천상품 결제 Mobile 이 같은 모양이 된다.

     .ds-bbox         바깥 상자 — 1px `--line-block` · 라운드 PC/태블릿 16 · 모바일 12 · 흰 면
     .ds-bbox > * + * 줄 사이 1px 선(머리줄 · 줄 · 빈 결과 모두)
     .ds-bbox-row     한 줄 — 안쪽 여백 PC 32 · 태블릿 40 · 모바일 16
     .ds-bbox-head    (옵션) 표 머리줄 — 회색 면, 좌우 여백은 줄과 같다
     .ds-bbox-empty   빈 결과 — 가운데 문구, 위아래 PC 80 · 태블릿 96 · 모바일 56

   ⚠ 전달본은 단계를 `data-bp="pc|ta|mo"` 로 고르지만 그것은 프로토타입 셸의 장치다 —
     "실서비스는 미디어 쿼리로 같은 세 값을 건다"(전달본 2절). 이 레포의 그 장치가
     `body[data-mode]` 이므로 값은 61-0 의 `--bd-*` 토큰에서 그대로 받는다.
     **값의 출처를 한 곳으로 둔다** — 같은 숫자를 두 번 적지 않는다.
   ⚠ `chp-components.css` 에 넣지 않는다. 그 파일은 산출물 복사본이라 직접 고치지 않는다(2-7).
     다음 산출물에 DS `board-box` 구역이 들어오면 이 절을 지우고 그쪽으로 넘긴다.
   ⚠ 레거시 클래스(`.brd-lst01` · `.no-data01` · `.chp-card-list` 등)는 **떼지 않고 병기**한다.
     게시판 밖 화면(배송지관리 · 합격인증 · 자녀상담)이 같은 클래스를 쓰고 있고,
     그 화면들은 이번 범위 밖이다(오너 2026-11-09). 그쪽 모양은 61 절이 그대로 짊어진다. */
body[data-mode] .ds-bbox{
  --bbox-pad:var(--bd-pad);
  --bbox-r:var(--bd-block-r);
  --bbox-empty:var(--bd-empty-pad);
  /* ⚠ 원문의 `margin:0` 은 `<ul>` 기본 여백을 지우려는 것인데, 이 레포는 `common.css` 리셋이
     이미 지운다. 그대로 두면 목록 위 간격(61-4 의 `margin-top`)까지 지워진다 — 뺀다. */
  padding:0;list-style:none;box-sizing:border-box;
  border:1px solid var(--grayscale-100);
  border-radius:var(--bbox-r);
  overflow:hidden;
  background:var(--color-white);
}
body[data-mode] .ds-bbox > * + *{border-top:1px solid var(--grayscale-100)}
body[data-mode] .ds-bbox-row{
  display:block;box-sizing:border-box;width:100%;
  padding:var(--bbox-pad);
  background:var(--color-white);
}
body[data-mode] .ds-bbox-head{
  box-sizing:border-box;
  padding:0 var(--bbox-pad);
  background:var(--bg-gray);
}
body[data-mode] .ds-bbox-empty{
  box-sizing:border-box;
  padding:var(--bbox-empty) 20px;
  text-align:center;
  color:var(--ui-gray-666);
}
/* ⚠ 클래스 이름에 `box-` 가 들어 있어 레거시 `style.css:52` · `app.css:101` `[class*="box-"]` 의 라운드가 줄마다 붙음
   (여백 · 폭은 위에서 덮이고 라운드만 새던 것 — 디자인QA DT-4643 공지사항 · 자료실 · 학습후기). 줄은 각진 선으로만 나눔 */
body[data-mode] .ds-bbox-row,
body[data-mode] .ds-bbox-head,
body[data-mode] .ds-bbox-empty{border-radius:0}

/* ── 62-1. 교재배송정보 (전달본 "바뀜" — 줄 여백 20/28 → 32/40 · Mobile 껍데기 복원) ──
   표 껍데기는 `.ds-bbox` 가 지고, 줄 안쪽 여백은 **칸**이 나눠 진다(grid 라 줄에 padding 을
   주면 열 경계가 움직인다 — 20-3 주석). 그래서 `.chp-dlvrow` 에는 `.ds-bbox-row` 를 붙이지
   않고 세로 여백만 같은 값(`--bd-pad`)으로 올린다.
   ⚠ 줄 사이 선은 `.ds-bbox > * + *` 가 그린다 — 20-3 의 `box-shadow:inset` 과 겹치지 않게 끈다. */
body[data-mode] #container .chp-dlvrow + .chp-dlvrow{box-shadow:none}
body[data-mode] #container .chp-dlvrow__cell{padding-top:var(--bd-pad);padding-bottom:var(--bd-pad)}
body[data-mode] #container .chp-dlvrow__cell--date{padding-left:var(--bd-pad)}
body[data-mode] #container .chp-dlvrow__cell--act{padding-right:var(--bd-pad)}
/* 머리줄 여백은 줄과 같은 자리(첫 칸 왼쪽 · 끝 칸 양옆)에 둠 — 머리줄 전체에 좌우 여백을 주면 1fr(교재명)만
   64 좁아져 배송정보부터 32씩 어긋났음(디자인QA DT-4650) */
body[data-mode] #container .chp-dlvtbl__head{padding:0}
body[data-mode] #container .chp-dlvtbl__head > span:first-child{padding-left:var(--bd-pad)}
/* 끝 칸(배송조회)은 버튼 칸(좌 12 · 우 --bd-pad)과 가운데만 맞추고 여백은 그 차이만 오른쪽에 — 양쪽에 다 주면 97 칸에 53 만 남아 「배송조회」가 줄바꿈됨 */
body[data-mode] #container .chp-dlvtbl__head > span:last-child{white-space:nowrap;padding-left:0}
body[data-mode="pc"] #container .chp-dlvtbl__head > span:last-child{padding-right:calc(var(--bd-pad) - 12px)}
body[data-mode="tablet"] #container .chp-dlvtbl__head > span:last-child{padding-right:calc(var(--bd-pad) - min(calc(100vw * 12 / 1400), 12px))}
body[data-mode] #container .chp-dlvtbl__empty{padding:var(--bd-empty-pad) 20px}
/* Mobile — 20-2 가 걷었던 껍데기를 되살린다. 줄은 상자 안에서 여백을 스스로 진다. */
body[data-mode="mobile"] #container .chp-dlvtbl{
  border:1px solid var(--grayscale-100);
  border-radius:var(--bd-block-r);
  overflow:hidden;background:var(--color-white);
}
body[data-mode="mobile"] #container .chp-dlvrow{
  padding:var(--bd-pad);background:var(--color-white);
}
/* 줄 사이 선은 20-6 의 `border-top` 을 그대로 쓴다. 머리줄이 Mobile 에서 `display:none` 이라
   **첫 줄에도** 선이 남으므로 그것만 끈다(상자 테두리 바로 아래 겹친다). */
body[data-mode="mobile"] #container .chp-dlvtbl__head + .chp-dlvrow{border-top:0}
body[data-mode="mobile"] #container .chp-dlvrow__cell{padding-top:0;padding-bottom:0}
body[data-mode="mobile"] #container .chp-dlvrow__cell--date,
body[data-mode="mobile"] #container .chp-dlvrow__cell--act{padding-left:0;padding-right:0}
body[data-mode="mobile"] #container .chp-dlvtbl__empty{border-top:0;background:var(--color-white)}

/* ── 62-2. 자녀정보 (전달본 "바뀜" — 첫 칸 왼쪽 24/32 → 32/40) ─────────────
   표 마크업이라 머리줄 · 줄은 `thead tr` · `tbody tr` 이 맡는다. 껍데기만 `.ds-bbox` 로
   받고(값이 같다) 좌우 여백을 줄 여백과 맞춘다. 빈 결과도 같은 값으로. */
body[data-mode="pc"] #container .chp-chld .chp-chldtbl th:first-child,
body[data-mode="pc"] #container .chp-chld .chp-chldtbl td:first-child,
body[data-mode="tablet"] #container .chp-chld .chp-chldtbl th:first-child,
body[data-mode="tablet"] #container .chp-chld .chp-chldtbl td:first-child{padding-left:var(--bd-pad)}
body[data-mode="pc"] #container .chp-chld .chp-chldtbl th:last-child,
body[data-mode="pc"] #container .chp-chld .chp-chldtbl .chp-chldtbl__act,
body[data-mode="tablet"] #container .chp-chld .chp-chldtbl th:last-child,
body[data-mode="tablet"] #container .chp-chld .chp-chldtbl .chp-chldtbl__act{padding-right:var(--bd-pad)}
body[data-mode] #container .chp-chld .chp-chldtbl .chp-chldtbl__empty td{padding:var(--bd-empty-pad) 0}
/* Mobile — 19-6 이 걷었던 껍데기를 되살리고 줄마다 같은 여백을 준다. */
body[data-mode="mobile"] #container .chp-chld .chp-chldtbl{
  border:1px solid var(--grayscale-100);
  border-radius:var(--bd-block-r);
  overflow:hidden;background:var(--color-white);
}
body[data-mode="mobile"] #container .chp-chld .chp-chldtbl tbody tr{padding:var(--bd-pad)}
/* ⚠ Mobile 은 머리줄이 `display:none` 이라 `.ds-bbox > * + *` 가 `tbody` 에 그은 선과
   19-6 이 **모든 줄**에 그은 `border-top` 이 상자 테두리 바로 아래 겹쳐
   **테두리가 둘로 보였다**(사용자 지적 2026-11-09). 상자는 표 하나만 그린다. */
body[data-mode="mobile"] #container .chp-chld .chp-chldtbl > thead,
body[data-mode="mobile"] #container .chp-chld .chp-chldtbl > tbody{border-top:0}
body[data-mode="mobile"] #container .chp-chld .chp-chldtbl tbody tr:first-child{border-top:0}
/* ⚠ 줄 높이가 폭을 따라 부풀었다 — `m.css` 의 `[class*="tbl-type01"] th, td{min-height:11.72vw}`
   가 **768 캔버스 vw** 라 712(태블릿 세로)에서 칸마다 83.4, 393 에서 46.1 이 된다(실측).
   Mobile 에서 이 표는 카드로 접혀 칸이 한 줄씩 쌓이므로 그 하한은 뜻이 없다 — 내용 높이로 둔다.
   상자 안쪽 여백은 줄(`tbody tr`)의 `--bd-pad` 하나가 진다. */
body[data-mode="mobile"] #container .chp-chld .chp-chldtbl th,
body[data-mode="mobile"] #container .chp-chld .chp-chldtbl td{min-height:0}
body[data-mode="mobile"] #container .chp-chld .chp-chldtbl .chp-chldtbl__empty td{padding:var(--bd-empty-pad) 0}

/* ── 62-3 · 62-4. 결제이력 · 추천상품 결제 Mobile (전달본 "바뀜" — 카드마다 상자 → 상자 안의 줄)
   `.chp-card-list` 가 `.ds-bbox`, `.chp-card` 가 `.ds-bbox-row` 다. 카드가 스스로 지고 있던
   테두리 · 라운드 · 카드 사이 간격을 걷는다 — 그 자리를 바깥 상자와 줄 사이 선이 대신한다.
   ⚠ 고른 줄은 **면만** `--surface-row-selected` 로 바뀐다(테두리 · 선은 그대로) — 이미 그렇다.
   ⚠ PC · 태블릿에서는 `.chp-narrow-only` 가 감추므로 이 규칙이 보이지 않는다. */
body[data-mode="mobile"] #container .chp-card-list.ds-bbox{gap:0}
body[data-mode="mobile"] #container .ds-bbox > .chp-card{
  border:0;border-radius:0;margin-top:0;
  padding:var(--bd-pad);
}
/* ⚠ 위 `border:0` 이 `.ds-bbox > * + *` 의 줄 사이 선까지 지운다 — 여기서 다시 긋는다. */
body[data-mode="mobile"] #container .ds-bbox > .chp-card + .chp-card{
  border-top:1px solid var(--grayscale-100);
}

/* ── 62-5. 게시판 다섯 화면 — 공통 클래스 병기 ───────────────────────────
   자료실 · 공지사항 · 학습후기 · FAQ · 이벤트 댓글. 값은 61 절과 같아 **모양이 바뀌지
   않는다**(FAQ 만 예외 — 아래). 상자 · 줄 사이 선 · 줄 여백의 출처를 62 절 하나로 모은다.
   레거시 클래스는 떼지 않는다 — 게시판 밖 화면이 같은 클래스를 쓰고 그쪽은 범위 밖이다. */

/* 빈 결과 — 바깥은 `.ds-bbox`(테두리 · 라운드), 안쪽 글이 `.ds-bbox-empty`(위아래 여백)다.
   61-5 가 바깥에 주던 여백을 끈다 — 두 번 들어가면 상자가 두 배가 된다. */
body[data-mode] .no-data01.ds-bbox{padding:0}

/* FAQ — 전달본은 **상자 하나 안에 질문 줄과 답변 칸을 쌓는다.** 61-14 는 문항마다 따로 된
   상자(테두리 + 라운드 + 사이 간격)였다. 바깥을 `.aco-type0101.ds-bbox` 가 맡고 문항은
   줄이 된다. 줄 사이 선은 `.ds-bbox > * + *` 가 긋는다. */
body[data-mode] .aco-type0101.ds-bbox .aco-wrap{border:0;border-radius:0;overflow:visible}
body[data-mode] .aco-type0101.ds-bbox .aco-wrap + .aco-wrap{
  /* ⚠ 위 `border:0` 이 `.ds-bbox > * + *` 의 줄 사이 선까지 지운다 — 다시 긋는다. */
  margin-top:0;border-top:1px solid var(--grayscale-100);
}

/* 이벤트 댓글 — `<table>` 이라 `.ds-bbox > * + *` 가 `colgroup` 뒤의 `tbody` 에 선을 긋는다.
   머리줄이 없는 목록이라 그 선은 상자 테두리 바로 아래 겹친다(자녀정보에서 같은 함정). */
body[data-mode] .chp-bd--event .tbl-type01.ds-bbox > tbody{border-top:0}

/* 자녀정보 — `<colgroup>` 이 첫 자식이라 `.ds-bbox > * + *` 가 **머리줄 위**에 선을 긋는다
   (상자 테두리 바로 아래 겹친다). 머리줄과 본문을 가르는 선은 `tbody` 쪽 하나면 된다. */
body[data-mode] #container .chp-chld .chp-chldtbl.ds-bbox > thead{border-top:0}

/* ══ 63. 유패스 앱 메인 — [강의실 입장] (사용자 지적 2026-11-10) ══════════════
   `/app/main`(appIndex.jsp `#up_main_2`)의 버튼이 타원으로 뚱뚱하게 나온다.
   원인은 둘이고 **알약 모양 자체는 유지한다**(디자인 확정 2026-11-10).

   ① 높이와 글자가 따로 논다.
      `.btn-rsz02` 의 높이·반지름은 vw 로 계속 커지는데(m.css:1570 `10.42vw`)
      글자는 `clamp(12px, 3.13vw, 13.8px)` 로 상한에 묶여 있다(DT-4548 글자 배율).
      실측: 폭 500 → 52/13.8(3.8:1) · 폭 768 → **80/13.8(5.8:1)**.
      태블릿은 3.0:1 로 이미 맞아 손대지 않는다 — 앱은 가로 고정이라 실제로 보이는
      구간이 그쪽이고, 거기 값을 흔들 이유가 없다.
   ② 카드가 고정 높이라 버튼이 밖으로 나간다.
      `#up_main_2 .my-course .box-wht{height:43.75vw}`(m.css:1386)인데 버튼이 나중에
      들어왔다 — 원래 자리인 `.my-course-btn` 은 주석으로 막혀 있고 `<a>` 만 `<ul>`
      뒤에 붙어 있다. `overflow:visible` 이라 넘친 만큼 그대로 삐져나온다.
      실측 넘침: 500 +21 · 600 +18 · 768 +19 (820 이상은 안 넘친다).
      높이를 `min-height` 로 바꿔 **짧을 때는 그대로, 넘칠 때만 늘어나게** 한다.
   ⚠ chp 레이어의 기존 `.btn-rsz02` 보정(3365~3380)은 `.chp-space .brd-overcont`
     안쪽을 요구해서 이 화면에는 하나도 걸리지 않는다. 그래서 여기 따로 둔다.
   ═══════════════════════════════════════════════════════════════════════ */
[data-mode="mobile"] #up_main_2 .my-course-cont .btn-rsz02{
  height:48px;            /* 10.42vw → 48 고정. 글자 13.8 과 3.5:1 */
  border-radius:999px;    /* 알약 유지 */
}
/* ⚠ m.css 가 chp-project.css **뒤에** 실린다. 같은 선택자(1,0,2)로는 지므로
   `body[data-mode]` 를 붙여 한 단 올린다(1,1,3). */
body[data-mode] #up_main_2 .my-course .box-wht{height:auto;min-height:43.75vw}

/* ── 63-1. 수강 정보 머리글이 폭에 따라 계단으로 뛴다 (사용자 지적 2026-11-10) ──
   실측(과정명 / 날짜):
     500  12   / 12      ← max(12px, 2vw) 하한에 눌림
     768  15.4 / 12
     769  19.6 / 12      ← **+4.2 점프** (m.css:1392 DT-4548 태블릿 하한)
     900  19.6 / 12      ← 폭이 늘어도 하한에 눌려 그대로(2vw 가 19.6 을 넘는 건 980 부터)
    1200  24   / 13.8
    1400  28   / 16.1
    1401  36   / 22      ← **+8 점프** (m.css ≤1400 블록이 꺼지고 custom.css 고정값으로)
   끊기는 자리가 둘이다. 7 절 태블릿 규약으로 한 줄로 잇는다 —
   `clamp(하한, calc(100vw * N / 1400), N px)`, N 은 1400 캔버스 값(= PC 값 36 · 22).
   그러면 769 에서 19.8 로 이어지고 1400 에서 36 에 멈춰 1401 점프가 사라진다.
   ⚠ `.my-course-info span` 으로 잡으면 과정명 안의 `<span>과정</span>`(custom.css:1884
     `font-size:inherit`)까지 집어 글자가 둘로 갈린다. 날짜는 `.fx-1 > span` 으로만 잡는다.
   ⚠ m.css 가 뒤에 실리므로 `[data-mode]` 를 붙여 특이성을 올린다.
   ⚠ 모바일(≤768)은 건드리지 않는다 — 앱은 가로 고정이고, DT-4548 이 정한 값이다. */
/* ⚠ N 은 **PC 값(36 · 22)이 아니라 m.css 의 1400 값(28 · 16)** 이다. PC 값으로 잡았더니
   1333 에서 과정명이 26.7 → 34.3 으로 커져 한 줄 말줄임에 걸렸다(사용자 지적 2026-11-10 ·
   `송화연 화상 온 테스트2과정` → `송화연 화상 온 테스트2…`). 이 값은 ≤1400 에서 지금과
   같은 크기를 유지하면서 1401 점프만 없앤다. */
[data-mode="tablet"] #up_main_2 .my-course-info .fx-1 > strong{
  font-size:clamp(19.6px, calc(100vw * 28 / 1400), 28px);
}
[data-mode="tablet"] #up_main_2 .my-course-info .fx-1 > span{
  font-size:clamp(12px, calc(100vw * 16 / 1400), 16px);
}

/* ── 63-2. 앱바 아래 여백을 전달본 값으로 (사용자 지시 2026-11-10) ─────────
   앱바 아래 본문까지의 여백은 `#container` 의 위쪽 패딩 하나다. 그 값이
     태블릿  56 **고정**      (chp-project.css:653 — 토큰 --space-section-top)
     모바일  4.17vw → 768 에서 32 · 600 에서 25   (m.css:139, 레거시)
   인데, 전달본 콘텐츠 열은 **태블릿 56 · 모바일 16**(1400 캔버스 기준)이다.
   61-6-2 절이 **아래** 여백을 이미 그 값으로 맞춰 놨다 — 위만 어긋나 있었다.
     · 모바일: 위 32 ↔ 아래 16 (두 배)
     · 태블릿: 위는 고정 56, 아래는 폭으로 줄인 56 → 1333 에서 56 ↔ 53.3
   `#container` 는 전 화면 공용이라 그쪽을 고치면 모든 화면이 움직인다. 유패스 메인만
   맞추라는 지시이므로 `#up_main_2` 를 음수 마진으로 당겨 **그 차이만** 지운다.
   ⚠ 아래 여백(61-6-2)과 **같은 식**을 쓴다 — 위아래가 같은 규칙으로 줄어야 대칭이다. */
body[data-mode="tablet"] #container #up_main_2{
  margin-top:calc(min(calc(100vw * 56 / 1400), 56px) - 56px);
}
body[data-mode="mobile"] #container #up_main_2{
  margin-top:calc(16px - 4.17vw);
}
