/*
  글로벌 약사 크리에이터 아카데미 — 스타일시트 (7개 파일을 하나로 합친 것)

  ▸ 읽는 법
    위에서 아래로 적용됩니다. 같은 요소에 규칙이 여럿이면 "아래쪽 규칙"이 이깁니다.
    그래서 최신 수정은 파일 끝부분(7번 구역 끝)에 있습니다. 값을 바꿀 때는 끝에서부터 찾으세요.

  ▸ 구역
    1. 기본        2. 본문 레이아웃        3. 헤더·목차·상세창·하단 지원 바
    4. 수치 카드    5. 브랜드 로고 흐름     6. 사진 위 손글씨 표시        7. 개편(v2) 규칙

  ▸ 자주 고치는 곳 (Ctrl+F 검색어)
    - 섹션 색 5가지(네이비·파랑·로고 파랑·연파랑·연회색) ........ "--c-navy"
    - 섹션별 배경 순서(어느 섹션을 칠할지) ....................... "PM_ v3"
    - 섹션 머리 색 띠 ........................................... ".sec-head"
    - 글자 크기·굵기 체계(제목 38 / 본문 18 / 카드 16 / 설명 13) ... "one type system"
    - 사진 크기·비율·모서리 .................................... "one image format"
    - PC 하단 지원 박스 ......................................... "desktop-cta"
    - 모바일 전용 규칙 .......................................... "@media (max-width: 800px)"

  ▸ 일정(모집 마감·개강 등 날짜)은 CSS가 아니라 schedule.js에서 고칩니다.
*/
/* ====================================================================================================
   1. 기본 — 전체 글꼴·색·기본 여백 (가장 먼저 적용)
   ==================================================================================================== */
:root {
  --ink: #12162b;
  --blue: #2556ea;
  --muted: #596579;
  --line: #e0e3ee;
  --light: #f5f6fa;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  color: var(--ink);
  background: #fff;

  word-break: keep-all;
  overflow-wrap: anywhere;
}
a {
  color: var(--blue);
}
.review-bar {
  text-align: center;
}
header {
  z-index: 10;
  background: #fffffff5;
  border-bottom: 1px solid var(--line);

  display: flex;
  align-items: center;

  backdrop-filter: blur(12px);
}
.brand {
  text-decoration: none;

  color: var(--ink);
  line-height: 1.2;
  white-space: nowrap;
}
.brand span {
  color: var(--blue);
}
.brand small {
  display: block;

  letter-spacing: 0;

  color: var(--muted);
}
nav {
  margin-left: auto;
  display: flex;
}
nav a {
  text-decoration: none;

  color: #42485b;
}
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;

  background: var(--blue);
  color: #fff;
  border: 0;

  text-decoration: none;
  cursor: pointer;
  line-height: 1.4;
}
.button:hover {
  background: #1d43bb;
}
.button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 3px solid #edc74a;
  outline-offset: 5px;
}

.eyebrow {
  color: var(--blue);

  margin-bottom: 30px;
}

h1,
h2,
h3,
h4 {
  line-height: 1.4;
  letter-spacing: -1.5px;
  color: var(--ink);
}
h1 {
  font-size: clamp(36px, 4.4vw, 62px);
  font-weight: 900;
  margin: 28px 0;
}
h2 {
  margin: 76px 0 32px;
}
h3 {
  margin: 48px 0 24px;
}
h4 {
  margin: 32px 0 20px;
}

.hero .callout h4 {
  margin-top: 0;
}
article {
  margin: auto;
}
p {
  color: var(--muted);
  margin: 17px 0;
}
strong {
  color: var(--ink);
}

hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 35px 0;
}
figure {
  margin: 35px auto;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: auto;
  border-radius: 22px;
}
article figure img {
  max-height: 700px;
  object-fit: contain;
}

.section-title {
  border: 0;
  background: var(--light);
  margin: 90px -28px 35px;
  padding: 40px 28px;
}
.section-title h2 {
  margin: 0;
}
.callout h3 {
  margin-top: 8px;
}
.cta {
  text-align: center;
}

.tablewrap {
  overflow: auto;
  border: 1px solid var(--line);
}
table {
  border-collapse: collapse;
  width: 100%;

  text-align: left;
}
td,
th {
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

tr:last-child td {
  border-bottom: 0;
}
details {
  border: 1px solid var(--line);

  background: white;
}
summary {
  cursor: pointer;

  line-height: 1.6;
}
summary small {
  display: block;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
}
.week {
  margin: 12px 0;
}

.week .tablewrap {
  margin-bottom: 0;
}
li {
  margin: 14px 0;
  color: var(--muted);
}
span[color="blue"] {
  color: var(--blue);
}

span[underline="true"] {
  text-decoration-color: #adc0f8;
  text-underline-offset: 7px;
}

label {
  display: block;

  margin-bottom: 18px;
}
label span {
  font-size: 12px;
  color: var(--muted);
  font-weight: 400;
  margin-left: 6px;
}
input:not([type="radio"]):not([type="checkbox"]),
select {
  display: block;
  width: 100%;
  border: 1px solid #ccd1df;

  font: inherit;
  margin-top: 8px;
  background: white;
  color: var(--ink);
}
input:focus,
select:focus {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}
input[type="checkbox"],
input[type="radio"] {
  accent-color: var(--blue);
  width: 18px;
  height: 18px;
  vertical-align: middle;
}

footer {
  background: #171c3b;
  color: white;
  text-align: center;
}
footer p {
  color: #c6cae1;
  font-size: 14px;
}
.mobile-cta {
  display: none;
}
[hidden] {
  display: none !important;
}
@media (min-width: 1000px) {
  article > h2 {
    text-align: center;
  }
}
@media (max-width: 800px) {
  nav {
    display: none;
  }
  header {
    justify-content: space-between;
  }

  article {
    padding: 0 22px;
  }
  .callout {
    padding: 22px;
  }
  .section-title {
    margin: 64px -22px 28px;
    padding: 32px 22px;
  }
  .tablewrap table {
    min-width: 600px;
  }
  .week table {
    min-width: 0;
  }
  .week thead {
    display: none;
  }
  .week tr {
    display: block;

    border-bottom: 1px solid var(--line);
  }
  .week td {
    display: block;
    border: 0;
    padding: 4px 0;
    font-size: 15px;
  }
  .week td:first-child {
    color: var(--blue);
    font-weight: 800;
  }
  .week td:last-child {
    font-size: 14px;
    color: var(--muted);
  }

  .eyebrow {
    font-size: 11px;
    letter-spacing: 1.4px;
  }
  .mobile-cta {
    display: flex;
    position: fixed;

    z-index: 12;
    box-shadow: 0 6px 25px #2224;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

/* ====================================================================================================
   2. 본문 레이아웃 — 섹션 여백, 제목·문단·표·타임라인
   ==================================================================================================== */
@font-face {
  font-family: Pretendard;
  src: url("assets/PretendardSubset.woff2") format("woff2"); /* 2026-09-25: subset (page text + KS X 1001 Hangul 2,350) — 2.0MB → 0.45MB */
  font-weight: 100 900;
  font-display: swap;
}
:root {
  --ink: #161b32;
  --muted: #5f6b80;
  --blue: #2556ea;
  --line: #e5e7ef;
  --light: #f7f8fc;
}
body {
  font-family: Pretendard, "Malgun Gothic", sans-serif;
  font-size: 18px;
  line-height: 1.85;

  -webkit-font-smoothing: antialiased;
}
header {
  padding: 18px max(32px, calc((100% - 1180px) / 2));
  gap: 32px;
}
.review-bar {
  font-size: 12px;
  padding: 5px 20px;
  background: #f0f1f8;
  color: #666d80;
  letter-spacing: 0;
}
.brand {
  font-size: 24px;
  letter-spacing: -1px;
  font-weight: 850;
}
.brand small {
  font-size: 11px;
  font-weight: 500;
  margin-top: 6px;
}
nav {
  gap: 26px;
}
nav a {
  font-size: 14px;
  font-weight: 600;
}
.button {
  border-radius: 12px;
  font-size: 16px;
  font-weight: 650;
  padding: 18px 28px;
  gap: 24px;
  box-shadow: 0 5px 14px #2556ea12;
  transition: background 0.15s;
}
.compact {
  padding: 12px 20px;
  font-size: 14px;
  border-radius: 9px;
}
.eyebrow {
  font-size: 12px;
  line-height: 1.6;
  letter-spacing: 0.18em;
  font-weight: 650;
}
.hero {
  padding: 32px 32px 56px;
  background: linear-gradient(180deg, #fff 35%, #f6f7fc);
  text-align: center;
}
.hero-copy {
  max-width: 940px;
  margin: 0 auto;
}
.hero .eyebrow {
  margin-bottom: 30px;
}
.hero h3:first-of-type {
  margin: 0 auto 24px;
  max-width: 640px;
  font-size: 18px;
  line-height: 1.7;
  letter-spacing: -0.025em;
  font-weight: 500;
  color: var(--muted);
}
.hero h3:first-of-type strong {
  font-weight: 600;
}
.hero h3:first-of-type br {
  display: none;
}
.hero h1 {
  margin: 0 auto 28px;
  font-size: clamp(40px, 4.3vw, 60px);
  font-weight: 780;
  letter-spacing: -0.055em;
  line-height: 1.24;
  text-wrap: balance;
}
.hero h1 span {
  color: var(--blue);
  text-decoration: none;
}
.hero p {
  font-size: 17px;
  line-height: 1.8;
  margin: 14px auto;
  max-width: 680px;
  color: #5f6b80;
}
.hero p strong {
  font-weight: 550;
  color: #3d4659;
}
.hero .cta {
  margin: 30px auto 0;
}
.cta p {
  font-size: 13px;
  line-height: 1.7;
  color: #737c8d;
  margin-top: 14px;
}
.hero-bottom {
  max-width: 1080px;
  margin: 52px auto 0;
}
.hero .callout {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  text-align: left;
  padding: 0;
  margin: 0;
  max-width: none;
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 12px 36px #1a204207;
  overflow: hidden;
}
.hero .callout h4 {
  grid-column: 1/-1;
  padding: 19px 26px;
  margin: 0;

  letter-spacing: -0.02em;
  border-bottom: 1px solid var(--line);
}
.hero .callout p {
  padding: 20px 26px;
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  border-right: 1px solid var(--line);
}
.hero .callout p:nth-child(3n + 1) {
  border-right: 0;
}
.hero .callout p:nth-child(n + 5) {
  border-top: 1px solid var(--line);
}
.hero .callout p > strong:first-child {
  display: block;

  color: var(--blue);
  margin-bottom: 7px;
}
.hero .callout p strong {
  color: var(--ink);
  font-weight: 650;
}
.hero .callout.yellow {
  background: #fff;
  border: 1px solid var(--line);
}
.hero figure {
  width: 420px;
  max-width: 100%;
  margin: 28px auto;
  mix-blend-mode: normal;
}
.hero figure img {
  border-radius: 0;
  clip-path: inset(2%);
}
article {
  max-width: none;
  padding: 0;
}
.chapter {
  padding: 96px 32px;
  border-top: 1px solid var(--line);
}
.chapter:nth-child(even) {
  background: #f7f8fc;
}
.chapter-inner {
  margin: auto;
}
.chapter-inner > p,
.chapter-inner > h3,
.chapter-inner > h4,
.chapter-inner > ul,
.chapter-inner > hr {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.chapter-inner > p {
  margin-top: 12px;
  margin-bottom: 12px;
}
.chapter p,
.chapter li {
  line-height: 1.8;
  text-wrap: pretty;
}
.chapter p {
  color: #3d4659;
}
.chapter h3 + p,
.chapter h4 + p {
  margin-top: 0;
}
.chapter h3 {
  margin-top: 44px;
  margin-bottom: 16px;
}
.chapter h4 {
  margin-top: 28px;
  margin-bottom: 14px;
}
.chapter .callout > p:first-child {
  margin-top: 0;
}
.chapter .callout > p:last-child {
  margin-bottom: 0;
}
.chapter .callout p + p {
  margin-top: 12px;
}
h2 {
  font-size: 38px;
  font-weight: 740;
  letter-spacing: -0.045em;
  line-height: 1.4;
  text-wrap: balance;
}
.chapter-inner > h2 {
  max-width: 820px;
  margin: 0 auto 44px;
  text-align: center;
}
h3 {
  font-size: 26px;
  line-height: 1.5;
  font-weight: 700;
  letter-spacing: -0.035em;
  margin-top: 56px;
  margin-bottom: 22px;
  text-wrap: pretty;
}
h4 {
  font-size: 21px;
  line-height: 1.6;
  letter-spacing: -0.025em;
  font-weight: 650;
}
strong {
  font-weight: 650;
}
hr {
  display: none;
}
.chapter figure {
  max-width: 920px;
  margin: 36px auto;
}
.chapter figure img {
  max-height: 600px;
  border-radius: 12px;
}
.chapter-inner > h2 + figure {
  max-width: 820px;
}
.callout {
  max-width: 800px;
  margin: 32px auto;
  padding: 28px 32px;
  border: 0;
  border-radius: 12px;
  background: #f1f2f8;
}
.callout p {
  font-size: 17px;
}
.callout.yellow {
  background: #eef3ff;
  border-left: 3px solid #2556ea;
}
.section-title:has(h2),
.yellow:has(h2) {
  max-width: 860px;
  margin: 0 auto 44px;
  padding: 0;
  background: none;
  border: 0;
  text-align: center;
}
.section-title:not(:has(h2)) {
  padding: 28px 32px;
  margin: 32px auto;
}
.section-title h2,
.yellow h2 {
  margin: 0;
}
span[color="blue_bg"] {
  background: transparent;
  color: var(--ink);
}
span[underline="true"] {
  text-decoration: none;
}
.timeline {
  max-width: 800px;
  margin: 48px auto 0;
  background: transparent;
  border-left: 1px solid #d5d5e8;
  border-radius: 0;
  padding: 0 0 0 36px;
}
.timeline h4 {
  position: relative;
  color: var(--blue);
  margin-top: 48px;
  margin-bottom: 18px;
  font-size: 20px;
}
.timeline h4:before {
  content: "";
  position: absolute;
  width: 9px;
  height: 9px;
  background: var(--blue);
  border: 5px solid white;
  box-sizing: content-box;
  border-radius: 50%;
  left: -46px;
  top: 5px;
}
.timeline p {
  margin: 12px 0;
}
.timeline figure {
  margin: 26px 0;
}
.chapter ul {
  list-style: disc;
  padding-left: 1.4em;
}
.chapter-inner > ul {
  margin-top: 16px;
  margin-bottom: 24px;
}
.chapter ul li {
  border: 0;
  padding: 0 0 0 4px;
  margin: 8px 0;
  font-size: 17px;
}
.chapter ul li::marker {
  color: var(--blue);
  font-size: 0.85em;
}
.chapter ul li:first-child {
  margin-top: 0;
}
.chapter ul li:last-child {
  margin-bottom: 0;
}
.chapter-inner > h3 + ul {
  margin-top: 12px;
}

.week > p {
  margin: 16px 0 8px;
}
.cta {
  margin: 40px auto 0;
}
.tablewrap {
  margin: 32px 0;
  border-radius: 12px;
  background: white;
}
table {
  font-size: 15px;
  line-height: 1.7;
}
td,
th {
  padding: 20px 24px;
}
th {
  background: #f0f1f7;
  color: #3d4659;
  font-size: 13px;
  font-weight: 650;
}
td strong {
  font-weight: 650;
}
details {
  padding: 24px 28px;
  border-radius: 12px;
  margin: 24px 0;
}
summary {
  font-size: 17px;
  font-weight: 650;
  letter-spacing: -0.02em;
}
.week {
  padding: 24px;
  background: #fff;
}
.week summary {
  color: var(--ink);
}
.week summary small {
  float: right;
  font-size: 13px;
  font-weight: 450;
}
.week[open] {
  border-color: #a6bbf7;
  box-shadow: 0 5px 20px #171c3b04;
}
.closing {
  background: #171c3b;
  border-radius: 20px;
  padding: 64px 36px;
  margin: 72px 0 0;
  text-align: center;
}
.closing h2 {
  color: white;
  font-size: 34px;
  max-width: 700px;
  margin: 0 auto;
}
.closing p {
  color: #c0c4dd;
}
.closing .cta {
  margin-top: 32px;
}

label {
  font-weight: 550;
  font-size: 15px;
}
input:not([type="radio"]):not([type="checkbox"]),
select {
  font-size: 16px;
  border-radius: 8px;
  padding: 13px 14px;
}

footer {
  padding: 40px 24px;
}
footer strong {
  color: white;
  letter-spacing: 0.04em;
  font-size: 16px;
}

@media (max-width: 1050px) {
  header {
    gap: 20px;
    padding: 16px 28px;
  }
  nav {
    gap: 18px;
  }
  .brand small {
    display: none;
  }
  .hero h1 {
    font-size: 50px;
  }
}
@media (max-width: 800px) {
  body {
    font-size: 17px;
    line-height: 1.85;
  }
  html {
    scroll-padding-top: 92px;
  }

  .brand {
    font-size: 21px;
  }
  .compact {
    padding: 11px 15px;
    font-size: 13px;
  }
  .review-bar {
    font-size: 11px;
    line-height: 1.5;
    padding: 6px 20px;
  }
  .hero {
    padding: 48px 24px 32px;
    text-align: left;
  }
  .hero-copy {
    max-width: 540px;
  }
  .hero .eyebrow {
    font-size: 10px;
    letter-spacing: 0.1em;
    margin: 0 0 24px;
  }
  .hero h3:first-of-type {
    font-size: 15px;
    line-height: 1.7;
    margin: 0 0 20px;
    max-width: 360px;
  }
  .hero h1 {
    font-size: clamp(30px, 8vw, 40px);
    letter-spacing: -0.045em;
    line-height: 1.32;
    margin: 0 0 24px;
    text-wrap: pretty;
  }
  .desktop-break {
    display: none;
  }
  .hero h1 span {
    display: inline;
  }
  .hero p {
    font-size: 15px;
    line-height: 1.8;
    margin: 12px 0;
  }
  .hero .cta {
    text-align: left;
    margin-top: 24px;
  }
  .hero .cta p {
    font-size: 12px;
  }
  .hero-bottom {
    max-width: 540px;
    margin-top: 36px;
  }
  .hero .callout {
    grid-template-columns: 1fr 1fr;
  }
  .hero .callout h4 {
    padding: 16px 20px;
  }
  .hero .callout p {
    padding: 16px 20px;
    font-size: 14px;
    border: 0;
    margin: 0;
  }
  .hero .callout p:nth-child(n + 4) {
    border-top: 1px solid var(--line);
  }
  .hero .callout p:nth-child(even) {
    border-right: 1px solid var(--line);
  }

  .hero figure {
    width: 320px;
    margin: 28px auto;
  }
  .chapter {
    padding: 60px 24px;
  }
  .chapter-inner > h2,
  .section-title:has(h2),
  .yellow:has(h2) {
    text-align: left;
    margin-bottom: 28px;
  }
  h2 {
    font-size: 28px;
    line-height: 1.45;
    letter-spacing: -0.035em;
  }
  h3 {
    font-size: 23px;
    line-height: 1.5;
    margin-top: 38px;
    margin-bottom: 18px;
  }
  h4 {
    font-size: 19px;
    line-height: 1.6;
  }
  .chapter figure {
    margin: 28px auto;
  }
  .chapter figure img {
    border-radius: 8px;
  }
  .callout,
  .section-title:not(:has(h2)) {
    margin: 28px auto;
    padding: 22px;
  }
  .callout p {
    font-size: 16px;
  }
  .timeline {
    padding: 0 0 0 22px;
    margin-top: 32px;
  }
  .timeline h4 {
    font-size: 18px;
    margin-top: 32px;
  }
  .timeline h4:before {
    left: -32px;
  }
  .chapter-inner > ul li {
    font-size: 16px;
    line-height: 1.8;
  }
  .cta {
    margin-top: 28px;
    text-align: left;
  }
  .button {
    font-size: 15px;
    padding: 16px 20px;
    border-radius: 10px;
  }
  .tablewrap {
    margin: 24px 0;
  }
  details {
    padding: 20px;
  }
  summary {
    font-size: 16px;
  }
  .week {
    padding: 18px;
  }
  .week summary small {
    float: none;
    margin-top: 6px;
  }
  .week tr {
    padding: 16px;
  }
  .week td {
    line-height: 1.8;
  }
  .chapter-inner > .tablewrap table {
    min-width: 0;
  }
  .chapter-inner > .tablewrap thead {
    display: none;
  }
  .chapter-inner > .tablewrap tr {
    display: grid;
    grid-template-columns: 1fr;
    padding: 18px 20px;
    border-bottom: 1px solid var(--line);
  }
  .chapter-inner > .tablewrap td {
    display: block;
    padding: 3px 0;
    border: 0;
  }
  .chapter-inner > .tablewrap td:first-child {
    color: var(--blue);
    font-size: 13px;
    font-weight: 650;
  }
  .chapter-inner > .tablewrap td:last-child {
    color: #747d90;
    font-size: 13px;
  }
  .closing {
    padding: 36px 24px;
    border-radius: 14px;
    margin-top: 44px;
    text-align: left;
  }
  .closing h2 {
    font-size: 26px;
    line-height: 1.5;
  }

  .mobile-cta {
    bottom: 12px;
    left: 20px;
    right: 20px;
    padding: 15px;
    border-radius: 12px;
  }
  footer {
    padding-bottom: 100px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .button {
    transition: none;
  }
}
.chapter-2 .callout:has(#section-10) {
  text-align: left;

  border-left: 3px solid #2556ea;
}
#section-10 {
  text-align: left;
  text-wrap: initial;
}
.chapter .timeline {
  padding: 0 0 0 24px;
  border: 0;
  border-left: 1px solid #d5dbe7;
  background: transparent;
  max-width: 760px;
  margin: 32px auto;
}
.history-entry {
  position: relative;
  background: #f3f4f6;
  border-radius: 12px;
  padding: 24px 28px;
  margin: 14px 0;
}
.history-entry::before {
  content: "";
  position: absolute;
  left: -30px;
  top: 29px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 4px white;
}
.chapter .history-entry h4 {
  line-height: 1.55;
  margin: 0 0 14px;
}
.history-entry h4::before {
  content: none;
}
.chapter .history-entry p {
  font-size: 16px;
  line-height: 1.75;
  margin: 10px 0;
}
.history-entry p:last-child {
  margin-bottom: 0;
}
.chapter .history-entry figure {
  margin: 20px 0 0;
}

@media (max-width: 800px) {
  .chapter .timeline {
    padding-left: 18px;
  }
  .history-entry::before {
    left: -24px;
  }
  .chapter .history-entry h4 {
    margin-bottom: 12px;
  }

  .chapter-2 .callout:has(#section-10) {
    padding: 16px 12px;
    margin-bottom: 24px;
  }
  #section-10 {
    font-size: clamp(18px, 5.6vw, 25px);
    line-height: 1.5;
    letter-spacing: -0.04em;
  }
}
@media (min-width: 801px) {
  #section-10 {
    font-size: clamp(28px, 3vw, 38px);
    white-space: nowrap;
  }
  #section-10 br {
    display: none;
  }
}
/* Keep heading weight consistent even when source copy wraps it in strong. */
.chapter h2 {
  font-weight: 800;
}
.chapter h3 {
  font-weight: 700;
}
.chapter h4 {
  font-weight: 600;
}
.chapter :is(h2, h3, h4) strong {
  font-weight: inherit;
}
.chapter summary {
  font-weight: 650;
}
.chapter summary strong {
  font-weight: inherit;
}
.chapter summary small {
  font-weight: 450;
}
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

header .brand {
  --logo-width: 160px;
  display: block;
  flex-shrink: 0;
  width: var(--logo-width);
  line-height: 0;
  mix-blend-mode: normal;
}
header .brand-mark {
  display: block;
  position: relative;
  width: 100%;
  height: calc(var(--logo-width) * 0.416 + 2px);
  overflow: hidden;
}
header .brand img {
  position: absolute;
  width: 123.87%;
  max-width: none;
  height: auto;
  left: -13.42%;
  top: calc(1px - var(--logo-width) * 0.0839);
  border-radius: 0;
}
header .brand small {
  display: block;
  margin: 5px 0 0;
  font-size: 10px;
  line-height: 1.5;
  letter-spacing: -0.04em;
  font-weight: 500;
  text-align: center;
  color: var(--muted);
  white-space: nowrap;
}
header {
  padding-top: 8px;
  padding-bottom: 8px;
}
@media (max-width: 800px) {
  .chapter details {
    padding: 0;
    overflow: hidden;
  }
  .chapter details > summary {
    position: relative;
    display: block;
    list-style: none;
    min-height: 72px;
    padding: 18px 92px 18px 18px;
    font-size: 16px;
    line-height: 1.55;
    color: var(--ink);
    background: #fff;
    cursor: pointer;
  }
  .chapter details > summary::-webkit-details-marker {
    display: none;
  }
  .chapter details > summary::marker {
    content: "";
  }
  .chapter details > summary::after {
    content: "펼치기 ⌄";
    position: absolute;
    right: 14px;
    top: 22px;
    padding: 5px 9px;
    border-radius: 6px;
    font-size: 12px;
    line-height: 1.5;
    font-weight: 650;
    color: var(--blue);
    background: #eef3ff;
  }
  .chapter details[open] {
    border-color: #8faaf2;
  }
  .chapter details[open] > summary {
    background: #eef3ff;
    border-bottom: 1px solid #d5e0fc;
  }
  .chapter details[open] > summary::after {
    content: "접기 ⌃";
    background: #fff;
  }
  .chapter details > summary small {
    display: block;
    margin-top: 6px;
    font-size: 13px;
    float: none;
  }
  .chapter details > p {
    margin: 16px 18px;
  }
  .chapter details > .tablewrap {
    margin: 18px;
  }
  .chapter details > summary:focus-visible {
    outline: 3px solid var(--blue);
    outline-offset: -3px;
  }
}

@media (max-width: 800px) {
  .tablewrap:has(.mobile-cards) {
    overflow: visible;
    border: 0;
    background: transparent;
  }
  .tablewrap table.mobile-cards {
    display: block;
    min-width: 0;
    width: 100%;
  }
  .mobile-cards thead {
    display: none;
  }
  .mobile-cards tbody {
    display: block;
  }
  .chapter .mobile-cards tr {
    display: block;
    padding: 18px;
    margin: 0 0 12px;
    background: white;
    border: 1px solid var(--line);
    border-radius: 12px;
  }
  .chapter .mobile-cards td {
    display: block;
    width: auto;
    padding: 0;
    border: 0;
    font-size: 16px;
    line-height: 1.75;
    color: var(--ink);
    overflow-wrap: anywhere;
  }
  .chapter .mobile-cards td + td {
    margin-top: 12px;
  }
  .chapter .mobile-cards td:first-child {
    color: var(--blue);
    font-size: 17px;
    font-weight: 700;
  }
  .chapter .mobile-cards td:first-child strong {
    color: inherit;
    font-weight: inherit;
  }
  .chapter .mobile-cards td:not(:first-child)::before {
    content: attr(data-label);
    display: block;
    font-size: 12px;
    line-height: 1.5;
    font-weight: 600;
    color: #69758c;
    margin-bottom: 4px;
  }

  .chapter-inner > details:has(.preparation) {
    padding: 0;
  }
}
@media (max-width: 800px) {
  header .brand {
    --logo-width: 140px;
  }
  header {
    padding-top: 6px;
    padding-bottom: 6px;
  }
}
/* One shared article column; only container interiors have an inset. */
.chapter-inner {
  max-width: 800px;
}
.chapter-inner > p,
.chapter-inner > h2,
.chapter-inner > h3,
.chapter-inner > h4,
.chapter-inner > ul,
.chapter-inner > figure,
.chapter-inner > .callout,
.chapter-inner > .tablewrap,
.chapter-inner > details,
.chapter-inner > .closing,
.chapter-inner > .cta {
  max-width: none;
  width: 100%;
  margin-left: 0;
  margin-right: 0;
}
.chapter-inner > h2,
.chapter-inner > .callout:has(h2) {
  text-align: left;
}
.chapter-inner > .timeline {
  max-width: none;
}
.chapter-inner > figure img {
  width: 100%;
  max-height: none;
}
.chapter-inner > .cta {
  text-align: left;
}
.chapter-inner > .cta p {
  margin-left: 0;
}

/* 2026-09-22: larger sub-sub titles (h4) — article h4 21→24px / mobile 19→21px, timeline entry h4 18→21px / mobile 17→19px. h3 (26/23px) stays above h4. */
.chapter h4 {
  font-size: 24px;
}
.chapter .history-entry h4 {
  font-size: 21px;
}
@media (max-width: 800px) {
  .chapter h4 {
    font-size: 21px;
  }
}

/* 2026-09-22: tighter curriculum week tables (row padding 18→11px, line-height 1.85→1.6; mobile card rows 16→12px). */
.chapter .week td,
.chapter .week th {
  padding: 11px 14px;
  line-height: 1.6;
}
@media (max-width: 800px) {
  .chapter .week tr {
    padding: 12px 14px;
  }
  .chapter .week td {
    padding: 3px 0;
    line-height: 1.6;
  }
}

/* 2026-09-22: only the gap directly below the sticky header is reduced (hero top padding 32→20px; ≥1600px 100→56px; mobile 48→32px). Nothing else in the hero changes. */
.hero {
  padding-top: 20px;
}
@media (min-width: 1600px) {
  .hero {
    padding-top: 56px;
  }
}
@media (max-width: 800px) {
  .hero {
    padding-top: 32px;
  }
}

/* 2026-09-23: "한눈에 보기" card — title 15→17px, blue labels 13→15px (mobile 12→14px), both semibold(600). */
.hero .callout h4 {
  font-size: 17px;
  font-weight: 600;
}
.hero .callout p > strong:first-child {
  font-size: 15px;
  font-weight: 600;
}
@media (max-width: 800px) {
  .hero .callout p > strong:first-child {
    font-size: 14px;
  }
}

/* Disclaimer fine print (2026-09-23): slimmer and smaller than body copy. */
.chapter-inner > p.fine-print {
  font-size: 13px;
  line-height: 1.6;
  font-weight: 400;

  margin: 12px 0 0;
}

/* Highlighter on chapter sub-headings (h3) — 2026-09-23. Marker-pen band under the lower part of the text, wrapping per line. */
.chapter h3 .hl {
  background: linear-gradient(transparent 56%, #fff0a3 56%, #fff0a3 94%, transparent 94%);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  padding: 0 0.14em;
  margin: 0 -0.14em;
}

/* ====================================================================================================
   3. 헤더·목차·상세창(오른쪽에서 열리는 창)·PC 하단 지원 바
   ==================================================================================================== */
/* Table of contents, detail panel, desktop bottom CTA. Loaded after editorial.css. */
:root {
  --header-h: 88px;
  --toc-bar-h: 0px;
  --panel-w: 440px;
}
html {
  scroll-padding-top: calc(var(--header-h) + var(--toc-bar-h) + 20px);
}

/* ---------- TOC: shared list ---------- */
.toc-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.toc-list li {
  margin: 0;
}
.toc-list a {
  padding: 9px 12px;
  border-radius: 10px;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 600;
  color: #3d4659;
  text-decoration: none;
  border-left: 3px solid transparent;
}
.toc-list a:hover {
  background: #f3f5fb;
  color: var(--ink);
}
.toc-list a.is-active {
  color: var(--blue);
  background: #eef3ff;
  border-left-color: var(--blue);
}
.toc-list a:focus-visible {
  outline: 3px solid #edc74a;
  outline-offset: 2px;
}

/* ---------- TOC: desktop fixed rail (≥1360px only, so it clears the 880px application column; narrower widths use the collapsible bar). Hidden while the wider hero is on screen. ---------- */
.toc-desktop {
  display: none;
}
.toc-mobile {
  display: block;
}
@media (min-width: 1360px) {
  .toc-mobile {
    display: none;
  }
  .toc-desktop {
    display: block;
    position: fixed;
    left: max(16px, calc((100vw - 800px) / 2 - 232px));
    top: calc(var(--header-h) + 24px);
    width: 208px;
    max-height: calc(100vh - var(--header-h) - 48px);
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 6px 0 6px;
    z-index: 5;
    scrollbar-width: thin;
    opacity: 0;
    visibility: hidden;
    transition:
      opacity 0.2s,
      visibility 0.2s;
  }
  .toc-desktop.is-visible {
    opacity: 1;
    visibility: visible;
  }
  .toc-desktop nav {
    display: block;
    margin: 0;
  }
  .toc-title {
    margin: 0 12px 8px;
    font-size: 11px;
    letter-spacing: 0.14em;
    font-weight: 800;
    color: #8a93a8;
    text-transform: uppercase;
  }
}

/* ---------- TOC: collapsible bar (mobile + tablet), sticky under the header ---------- */
.toc-mobile {
  position: sticky;

  z-index: 9;
  background: #fffffff5;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.toc-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 46px;
  padding: 8px 20px;
  background: transparent;
  border: 0;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
}
.toc-toggle:focus-visible {
  outline: 3px solid #edc74a;
  outline-offset: -3px;
}
.toc-current {
  flex: 1;
  min-width: 0;
  font-weight: 600;
  color: var(--blue);
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.toc-current:empty {
  display: none;
}
.toc-chevron {
  margin-left: auto;
  width: 9px;
  height: 9px;
  border-right: 2px solid #69758c;
  border-bottom: 2px solid #69758c;
  transform: rotate(45deg);
  transition: transform 0.2s;
  flex: none;
}
.toc-toggle[aria-expanded="true"] .toc-chevron {
  transform: rotate(-135deg);
}
.toc-mobile-list {
  display: block;
  margin: 0;
  padding: 6px 12px 12px;
  max-height: min(60vh, 480px);
  overflow-y: auto;
  overscroll-behavior: contain;
  border-top: 1px solid var(--line);
}
.toc-mobile-list .toc-list a {
  padding: 12px 12px;
  font-size: 15px;
}
@media (min-width: 801px) {
  .toc-toggle {
    padding-left: 32px;
    padding-right: 32px;
  }
  .toc-mobile-list {
    padding-left: 24px;
    padding-right: 24px;
  }
}

/* ---------- Triggers inside the article ---------- */
.chapter-inner > p.panel-actions {
  margin: 18px 0 8px;
}
.button.ghost {
  background: #fff;
  color: var(--blue);
  border: 1.5px solid #c7d4fb;
  padding: 12px 22px;
  font-size: 15px;
  gap: 8px;
}
.button.ghost:hover {
  background: #eef3ff;
}
a[data-panel="case"] {
  cursor: pointer;
}

/* ---------- Detail panel: right overlay drawer (desktop/tablet) ---------- */
.panel-backdrop {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: #12162b66;
}
.detail-panel {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 41;
  width: min(var(--panel-w), 100vw);
  background: #fff;
  box-shadow: -8px 0 24px #1a204212;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.28s ease-in;
}
.detail-panel.is-open {
  transform: translateX(0);
}
.panel-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  background: #fff;
  flex: none;
}
.panel-title {
  flex: 1;
  min-width: 0;
  margin: 0;
  font-size: 17px;
  line-height: 1.4;
  letter-spacing: -0.02em;
  font-weight: 800;
}
.panel-close {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 100px;
  background: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
}
.panel-close:hover {
  background: #f3f5fb;
}
.panel-close:focus-visible,
.panel-body:focus-visible {
  outline: 3px solid #edc74a;
  outline-offset: 2px;
}
.panel-body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: 20px 20px calc(24px + env(safe-area-inset-bottom, 0px));
}
/* Panel body scrolls without a visible scrollbar (2026-09-23). */
.panel-body {
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.panel-body::-webkit-scrollbar {
  display: none;
}
.panel-section {
  display: none;
}
.detail-panel[data-mode="case"] .panel-section[data-mode="case"],
.detail-panel[data-mode="week"] .panel-section[data-mode="week"] {
  display: block;
}
/* Week mode: wider drawer (1.8× the case drawer) on desktop; the cloned week table reuses the article table styles. */
.detail-panel[data-mode="week"] {
  --panel-w: 792px;
}
.panel-week.chapter,
.panel-week.week {
  padding: 0;
  border: 0;
  margin: 0;
  background: transparent;
  box-shadow: none;
}
.panel-week .tablewrap {
  overflow: auto;
}
.panel-week .tablewrap {
  margin: 0 0 18px;
}
.panel-week .tablewrap table {
  table-layout: auto;
}
.panel-week .tablewrap td,
.panel-week .tablewrap th {
  padding: 14px 12px;
}
@media (min-width: 801px) {
  .panel-week .tablewrap th:first-child,
  .panel-week .tablewrap td:first-child {
    width: 132px;
  }
  .panel-week .tablewrap th:nth-child(2),
  .panel-week .tablewrap td:nth-child(2) {
    width: 160px;
  }
  .panel-week .tablewrap th:last-child,
  .panel-week .tablewrap td:last-child {
    white-space: nowrap;
  }
}
@media (max-width: 800px) {
  .panel-week .tablewrap {
    border: 0;
  }
  .panel-week .tablewrap table {
    min-width: 0;
    width: 100%;
  }
  .panel-week .tablewrap tr {
    display: block;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }
  .panel-week .tablewrap td {
    display: block;
    width: auto;
    border: 0;
    padding: 3px 0;
  }
  .panel-week .tablewrap td:first-child {
    color: var(--blue);
    font-weight: 800;
  }
  .panel-week .tablewrap thead {
    display: none;
  }
}
.panel-week > p {
  margin: 12px 0;
  font-size: 15px;
  color: var(--muted);
}
.panel-week > p:first-child {
  margin-top: 0;
}
/* Week navigation lives in a fixed footer under the scrolling body, so the buttons stay put across weeks (2026-09-23). */
.panel-foot {
  display: none;
  flex: none;
  padding: 12px 20px calc(12px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--line);
  background: #fff;
}
.detail-panel[data-mode="week"] .panel-foot {
  display: block;
}
.panel-week-nav {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
}
.panel-week-nav .button.ghost {
  padding: 10px 16px;
  font-size: 14px;
}
.panel-week-nav .button.ghost[disabled] {
  opacity: 0.4;
  cursor: default;
}
/* With the panel active (desktop/tablet ≥801px), the week rows read as "open in panel" rather than expand/collapse; the native disclosure marker is hidden. Mobile keeps the plain <details> toggle. */

.panel-subtitle {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 750;
  letter-spacing: -0.02em;
}
.panel-note {
  margin: 0 0 16px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}
.panel-actions {
  margin: 14px 0 22px;
}
.panel-figure {
  margin: 0;
}
.panel-figure img {
  width: 100%;
  height: auto;
  border-radius: 14px;
  border: 1px solid var(--line);
}
.tiktok-frame {
  min-height: 120px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #f8f9fc;
  overflow: hidden;
}
.tiktok-frame blockquote {
  margin: 0 !important;
}
.tiktok-frame iframe {
  display: block;
  width: 100% !important;
  margin: 0 auto;
}
.tiktok-loading {
  margin: 0;
  padding: 24px 16px;
  text-align: center;
  font-size: 14px;
  color: var(--muted);
}
.tiktok-fallback {
  margin: 12px 0 0;
  padding: 14px 16px;
  background: #fff7e6;
  border: 1px solid #f1dfae;
  border-radius: 12px;
  font-size: 14px;
  color: #6b5312;
}

/* ---------- Detail panel: full-screen sheet (mobile) ---------- */
@media (max-width: 800px) {
  .detail-panel {
    width: 100vw;
    box-shadow: none;
  }
  .panel-head {
    padding: 12px 16px;
    padding-top: calc(12px + env(safe-area-inset-top, 0px));
    position: sticky;
    top: 0;
  }
  .panel-title {
    font-size: 16px;
  }
  .panel-body {
    padding: 16px 16px calc(32px + env(safe-area-inset-bottom, 0px));
  }
}
body.panel-locked {
  position: fixed;
  left: 0;
  right: 0;
  overflow: hidden;
  width: 100%;
}

/* ---------- Desktop bottom CTA (mobile keeps the existing .mobile-cta) ---------- */
.desktop-cta {
  display: none;
}
@media (min-width: 801px) {
  .desktop-cta {
    display: flex;
    align-items: center;
    justify-content: center;

    position: fixed;

    z-index: 12;
  }
  .desktop-cta p {
    margin: 0;
  }
  .desktop-cta[hidden] {
    display: none;
  }
  footer {
    padding-bottom: 110px;
  }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .detail-panel,
  .toc-chevron,
  .toc-desktop {
    transition: none;
  }
}

/* ---------- In-body application CTAs removed (2026-09-22): the header shortcut and the fixed bottom CTA remain. Markup is kept so the copy stays in the generated HTML. ---------- */
div.cta {
  display: none;
}

/* ====================================================================================================
   4. 파마브로스 누적 수치 카드
   ==================================================================================================== */
/* Stats card ("2023년부터 이렇게 쌓았습니다") — replaces assets/image-5.png. Loaded after nav.css. */

/* Value row: a hidden sizer reserves the final width/height in the same grid cell; the live number sits on top, left-aligned. */

/* "+" stays visible during the count-up (2026-09-23). */

/* Letter signature: two blank lines of space above "약들약 고약사 드림". */
.chapter-inner > p.signature {
  margin-top: calc(12px + 2 * 1.85em);
}

/* ====================================================================================================
   5. 76개 협업 브랜드 로고 흐름
   ==================================================================================================== */
/* Brand logo marquee ("76개 브랜드와 협업했습니다") — replaces assets/image-10.png. Loaded after stats.css. */
.brand-marquee {
  --bm-blue: #4e6ed1;
  --bm-line: #e4e8f0;
  --bm-gap: 56px;
  --bm-duration: 60s;
  background: transparent;
  border: 0;
  padding: 0;
  margin: 28px 0;
  overflow: hidden;
}
.bm-head {
  display: flex;
  justify-content: flex-end;
  align-items: baseline;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--bm-line);
}

.bm-asof {
  font-size: 13px;
  color: #9aa3b2;
  white-space: nowrap;
}
.bm-title-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px 24px;
  padding: 22px 0 8px;
}
.bm-copy {
  min-width: 0;
}
.chapter .bm-title {
  margin: 0 0 8px;

  line-height: 1.3;
  font-weight: 800;
  letter-spacing: -0.035em;
  color: var(--ink);
}
.chapter .bm-desc {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: #5f6b80;
}
.bm-stat {
  flex: none;
  text-align: right;
}
.bm-stat-num {
  display: block;
  font-size: 34px;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--bm-blue);
  font-variant-numeric: tabular-nums;
}
.bm-stat-label {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  color: #5f6b80;
}
/* Viewport: one row, soft fade at both ends, no scrollbar in motion mode. */
.bm-viewport {
  position: relative;
  margin: 14px 0 0;
  padding: 18px 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 56px, #000 calc(100% - 56px), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 56px, #000 calc(100% - 56px), transparent 100%);
}
.bm-viewport:focus-visible {
  outline: 3px solid #edc74a;
  outline-offset: -3px;
}
.bm-rail {
  display: flex;
  width: max-content;
  will-change: transform;
  animation: bm-scroll var(--bm-duration) linear infinite;
  transform: translate3d(-50%, 0, 0);
}
.chapter .bm-track {
  list-style: none;
  display: flex;
  align-items: center;
  gap: var(--bm-gap);
  margin: 0;
  padding: 0 calc(var(--bm-gap) / 2);
  flex: none;
}
.chapter .bm-track li.bm-item {
  margin: 0;
  padding: 0;
  flex: none;
  width: var(--w);
  height: var(--h);
  display: flex;
  align-items: center;
  justify-content: center;
}
.chapter .bm-track li.bm-item::marker {
  content: "";
}
.bm-item img {
  display: block;
  width: var(--w);
  height: var(--h);
  max-width: none;
  margin: 0;
  border-radius: 0;
  object-fit: contain;
}
@keyframes bm-scroll {
  from {
    transform: translate3d(-50%, 0, 0);
  }
  to {
    transform: translate3d(0, 0, 0);
  }
}
/* Runs continuously; only paused while off-screen (saves work, not visible). */
.brand-marquee.is-offscreen .bm-rail {
  animation-play-state: paused;
}
/* Footer row: note. */
.bm-foot {
  padding-top: 6px;
}
.chapter .bm-note {
  margin: 0;
  font-size: 13px;
  color: #9aa3b2;
}
@media (max-width: 800px) {
  .brand-marquee {
    --bm-gap: 40px;
  }
  .bm-title-row {
    flex-direction: column;
    gap: 12px;
    padding-top: 18px;
  }
  .bm-stat {
    text-align: left;
  }
  .bm-stat-num {
    font-size: 28px;
  }

  .chapter .bm-desc {
    font-size: 14px;
  }
  .bm-viewport {
    padding: 14px 0;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 32px, #000 calc(100% - 32px), transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 32px, #000 calc(100% - 32px), transparent 100%);
  }
}
/* Reduced motion: no auto-scroll; the single row becomes a horizontally scrollable strip and the clone is dropped. */
@media (prefers-reduced-motion: reduce) {
  .bm-rail {
    animation: none;
    transform: none;
    width: auto;
  }
  .bm-viewport {
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scrollbar-width: thin;
    -webkit-mask-image: none;
    mask-image: none;
    padding-bottom: 12px;
  }
  .chapter .bm-track.bm-clone {
    display: none;
  }
}

/* ====================================================================================================
   6. 골드버튼 사진 위 손글씨 표시
   ==================================================================================================== */
/* Animated hand-drawn marks over assets/image-3.png (circle + underline). Loaded after brands.css. */
.annot {
  position: relative;
  display: block;
}
.annot > img {
  display: block;
}
.annot-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.annot-reveal {
  fill: none;
  stroke: #fff;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}
.annot-reveal-1 {
  stroke-width: 48;
}
.annot-reveal-2 {
  stroke-width: 64;
}
.annot.is-drawn .annot-reveal-1 {
  animation: annot-draw 0.75s cubic-bezier(0.42, 0, 1, 1) forwards;
}
.annot.is-drawn .annot-reveal-2 {
  animation: annot-draw 0.55s cubic-bezier(0.42, 0, 1, 1) 0.8s forwards;
}
@keyframes annot-draw {
  to {
    stroke-dashoffset: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .annot-reveal {
    stroke-dashoffset: 0;
    animation: none !important;
  }
}

/* ====================================================================================================
   7. 개편(v2) 규칙 — 뒤에 올수록 우선. PM_ 섹션 색·글자 체계·사진 규격이 이 구역 끝에 있음
   ==================================================================================================== */
/* v2 (2026-09-25): 9-section structure — section labels, counters, meters, emoji cards, speaker lineup, drawer templates.
   Loaded last; reuses the editorial tokens (--ink, --muted, --blue, --line, --light). */

/* ---------- section label + lead ---------- */
.chapter-inner > .sec-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: auto;
  margin: 0 0 14px;
  padding: 5px 12px 5px 6px;
  border-radius: 100px;
  background: #eef3ff;
  color: var(--blue);
  font-size: 13px;
  line-height: 1.5;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.sec-no {
  display: inline-grid;
  place-items: center;
  min-width: 26px;
  height: 22px;
  padding: 0 6px;
  border-radius: 100px;
  background: var(--blue);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.chapter-inner > .callout.section-title:has(h2) {
  margin-bottom: 18px;
}
.chapter-inner > p.deck {
  margin: 0 0 30px;
  font-size: 22px;
  line-height: 1.6;
  font-weight: 650;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.deck .hl,
.chapter h3 .hl {
  background: linear-gradient(transparent 56%, #fff0a3 56%, #fff0a3 94%, transparent 94%);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  padding: 0 0.14em;
  margin: 0 -0.14em;
}
.chapter-inner > p.caption,
.chapter-inner > p.hint {
  margin: 10px 0 0;
  font-size: 13px;
  line-height: 1.6;
  color: #5f6b80;
}
.chapter-inner > p.hint {
  margin: 0 0 14px;
}
.caption {
  font-size: 13px;
  color: #5f6b80;
}
.chapter-inner > .chapter-inner,
.chapter-inner > div,
.chapter-inner > ol,
.chapter-inner > dl {
  width: 100%;
}

/* ---------- hero: key numbers + date track ---------- */
.hero .kpis {
  list-style: none;
  max-width: 1080px;
  margin: 44px auto 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  text-align: left;
}
.kpis li {
  margin: 0;
  padding: 20px 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 10px 28px #1a204206;
}
.kpis .kn {
  display: block;
  font-size: 34px;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--blue);
  font-variant-numeric: tabular-nums;
}
.kpis .kl {
  display: block;
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 600;
  color: var(--muted);
}
.chapter .kpis {
  list-style: none;
  padding: 0;
  margin: 0 0 10px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.chapter .kpis li {
  margin: 0;
  padding: 18px;
}
.chapter .kpis .kn {
  font-size: 30px;
}
.chapter .kpis .kl {
  font-size: 13px;
}
.track {
  list-style: none;
  max-width: 1080px;
  margin: 18px auto 0;
  padding: 18px 22px 16px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  text-align: left;
}
.track li {
  position: relative;
  margin: 0;
  padding: 22px 8px 0 0;
}
.track li::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 6px;
  height: 2px;
  background: #dfe4f1;
}
.track li::after {
  content: "";
  position: absolute;
  left: 0;
  top: 1px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #b9c5e6;
  box-sizing: border-box;
}
.track li.start::before,
.track li.end::before {
  background: var(--blue);
}
.track li.end::before {
  right: 100%;
}
.track li.start::after,
.track li.end::after {
  background: var(--blue);
  border-color: var(--blue);
}
.track li:last-child::before {
  right: auto;
  width: 0;
}
.track .d {
  display: block;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.track .l {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}
.track li.start .d,
.track li.end .d {
  color: var(--blue);
}

/* ---------- compare + meters ---------- */
.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 26px 0 0;
}
.cmp {
  padding: 22px 22px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
}
.cmp.is-open {
  border-color: #9db4f5;
  box-shadow: 0 10px 28px #2556ea12;
}
.cmp p {
  margin: 0;
}
.cmp .k {
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
}
.cmp .v {
  margin: 8px 0 10px;
  font-size: 21px;
  line-height: 1.4;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.cmp.is-open .v {
  color: var(--blue);
}
.cmp .n {
  font-size: 14px;
  line-height: 1.65;
  color: var(--muted);
}
.meter {
  height: 8px;
  margin: 16px 0 8px;
  border-radius: 100px;
  background: #edf0f7;
  overflow: hidden;
}
.meter span,
.reach .bar span {
  display: block;
  height: 100%;
  width: var(--w);
  border-radius: inherit;
  background: #e0584b;
  transform-origin: left center;
}
.meter.good span {
  background: #1fae6f;
}
.will-fill span {
  transform: scaleX(0);
  transition: transform 1.2s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.will-fill.is-in span {
  transform: scaleX(1);
}
.cmp .mlabel {
  font-size: 13px;
  color: #5f6b80;
}
.mlabel .warn {
  color: #d64535;
}
.mlabel .ok {
  color: #15965d;
}

/* ---------- big numbers ---------- */
.bigstats {
  display: grid;

  gap: 12px;
  margin: 18px 0 22px;
}
.bs {
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
}
.bs p {
  margin: 0;
}
.bs .num {
  font-size: 44px;
  line-height: 1.1;
  font-weight: 850;
  letter-spacing: -0.045em;
  color: var(--blue);
  font-variant-numeric: tabular-nums;
}
.bs .cap {
  margin-top: 10px !important;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}

/* ---------- reach (규모의 경제) ---------- */
.reach {
  margin: 30px 0;
  padding: 24px 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 3px solid var(--blue);
  border-radius: 14px;
}
.reach p {
  margin: 0;
}
.reach .rt {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 18px;
}
.reach .rb {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 4px 14px;
  align-items: center;
  margin: 12px 0;
}
.reach .rl {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}
.reach .bar {
  height: 12px;
  border-radius: 100px;
  background: #edf0f7;
  overflow: hidden;
}
.reach .bar span {
  background: #aab4c8;
}
.reach .bar.brand span {
  background: var(--blue);
}
.reach .rv {
  grid-column: 2;
  font-size: 13px;
  color: #5f6b80;
}
.reach .rs {
  margin-top: 18px;
  font-size: 16px;
  line-height: 1.7;
  color: #3d4659;
}
.reach .rs strong {
  color: var(--ink);
}

/* ---------- case card ---------- */
.case-card {
  display: block;
  width: 100%;
  margin: 6px 0 26px;
  padding: 0;
  text-align: left;
  font: inherit;
  color: inherit;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 12px 30px #1a204208;
  transition:
    border-color 0.15s,
    box-shadow 0.15s,
    transform 0.15s;
}
.case-card:hover {
  border-color: #9db4f5;
  box-shadow: 0 8px 18px #1a20420d;
  transform: translateY(-1px);
}
.case-card:focus-visible {
  outline: 3px solid #edc74a;
  outline-offset: 3px;
}
.case-card img {
  display: block;
  width: 100%;
  height: auto;
  border-bottom: 1px solid var(--line);
}
.cc-body {
  display: block;
  padding: 18px 22px 20px;
}
.cc-who {
  display: block;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--blue);
}
.cc-note {
  display: block;
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--muted);
}
.cc-open {
  display: inline-block;
  margin-top: 12px;
  padding: 6px 12px;
  border-radius: 8px;
  background: #eef3ff;
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
}

/* ---------- keys (3 principles) ---------- */
.chapter-inner > ul.keys {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 10px;
  margin: 14px 0 22px;
}
.chapter ul.keys li {
  margin: 0;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 4px 16px;
  align-items: baseline;
}
.keys .t {
  font-size: 17px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.keys .d {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.65;
}

/* ---------- curriculum ---------- */
.journey {
  list-style: none;
  margin: 0 0 6px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
}
.journey li {
  margin: 0;
}
.jstep {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  width: 100%;
  height: 100%;
  padding: 14px 12px;
  font: inherit;
  text-align: left;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  cursor: pointer;
  transition:
    border-color 0.15s,
    background 0.15s,
    transform 0.15s;
}
.jstep:hover {
  border-color: #9db4f5;
  background: #f6f8ff;
  transform: translateY(-1px);
}
.jstep:focus-visible {
  outline: 3px solid #edc74a;
  outline-offset: 2px;
}
.jn {
  font-size: 12px;
  font-weight: 800;
  color: var(--blue);
  letter-spacing: 0.02em;
}
.je {
  font-size: 22px;
  line-height: 1.2;
}
.jt {
  line-height: 1.4;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
  word-break: keep-all;
}
.chapter .week-table {
  width: 100%;
}
.chapter .week-table th,
.chapter .crit th {
  background: #171c3b;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 12px 16px;
}
.chapter .week-table td {
  padding: 14px 16px;
  vertical-align: middle;
  font-size: 15px;
  line-height: 1.6;
  border-top: 1px solid var(--line);
}
.week-table .wk-e {
  margin-right: 6px;
}
.week-table .sub {
  display: block;
  font-size: 13px;
  color: #5f6b80;
}
.week-table .nw {
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  color: var(--muted);
}
.week-table .go {
  text-align: right;
  width: 1%;
  white-space: nowrap;
}
.week-open {
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  color: var(--blue);
  background: #eef3ff;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
}
.week-open:hover {
  background: #dfe8ff;
}
.week-table tbody tr {
  cursor: pointer;
}
.week-table tbody tr:hover td {
  background: #f8faff;
}

.chapter-inner > h3.special-title {
  margin-top: 56px;
}

.spk {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 16px;

  padding: 14px;
  font: inherit;
  text-align: left;
  color: inherit;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  cursor: pointer;
  box-shadow: 0 10px 26px #1a204207;
  transition:
    border-color 0.15s,
    box-shadow 0.15s,
    transform 0.15s;
}
.spk:hover {
  border-color: #9db4f5;
  box-shadow: 0 8px 18px #1a20420d;
  transform: translateY(-1px);
}
.spk:focus-visible {
  outline: 3px solid #edc74a;
  outline-offset: 3px;
}

.chip {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 100px;
  font-size: 12px;
  line-height: 1.5;
  font-weight: 700;
  background: #eef1f7;
  color: #3d4659;
  white-space: nowrap;
}
.chip.live {
  background: #ffe9ec;
  color: #d5263e;
}
.chip.vod {
  background: #eef3ff;
  color: var(--blue);
}
.chip.mission {
  background: #e8f7ef;
  color: #138a55;
}
.chapter-inner > p.special-extra {
  margin: 0 0 8px;
  font-size: 14px;
  line-height: 1.9;
  color: var(--muted);
}
.special-extra .dot {
  margin: 0 4px;
  color: #c0c6d4;
}

.chapter figcaption {
  margin-top: 10px;
  font-size: 13px;
  color: #5f6b80;
  text-align: left;
}

/* ---------- price ---------- */
.pricebox {
  display: grid;
  grid-template-columns: 1fr auto 1.3fr;
  gap: 14px;
  align-items: center;
  margin: 0 0 10px;
  padding: 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 12px 30px #1a204208;
}
.pricebox > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.pricebox .pl {
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
}
.pricebox .pv {
  font-size: 40px;
  line-height: 1.15;
  font-weight: 850;
  letter-spacing: -0.04em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.pricebox .pv.ok {
  color: var(--blue);
}
.pricebox .ps {
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
}
.pb-arrow {
  font-size: 26px;
  color: #b9c5e6;
}
.chapter .crit td:first-child {
  width: 130px;
  white-space: nowrap;
  font-weight: 700;
  color: var(--ink);
}
.chapter .crit td {
  padding: 14px 16px;
  border-top: 1px solid var(--line);
}
.chapter .crit th {
  background: #171c3b;
}

/* ---------- who ---------- */
.fit {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 0 0 10px;
}
.fit > div {
  padding: 22px 22px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
}
.fit-yes {
  border-top: 3px solid var(--blue) !important;
}
.fit-no {
  border-top: 3px solid #d5dae6 !important;
}
.fit h3 {
  margin: 0 0 12px !important;
  font-size: 19px;
}
.fit ul {
  margin: 0;
  padding-left: 1.2em;
}
.chapter .fit li {
  font-size: 15px;
  margin: 8px 0;
}
.fit-no li {
  color: #5f6b80;
}
.fit-no li::marker {
  color: #b5bccb !important;
}
.worry {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 0;
  margin: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}
.worry dt,
.worry dd {
  margin: 0;
  padding: 16px 20px;
  border-top: 1px solid var(--line);
  font-size: 15px;
  line-height: 1.7;
}
.worry dt {
  font-weight: 800;
  color: var(--ink);
}
.worry dd {
  color: #3d4659;
}
.worry dt:first-of-type,
.worry dd:first-of-type {
  border-top: 0;
}

/* ---------- after ---------- */
.groups {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 0 0 26px;
}
.group {
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
}
.group h3 {
  margin: 0 0 12px !important;
  font-size: 19px;
}
.group ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.chapter .group li {
  margin: 0;
  padding: 10px 0;
  border-top: 1px solid #eef0f5;
}
.chapter .group li:first-child {
  border-top: 0;
  padding-top: 0;
}
.group .t,
.group .gl .t {
  display: block;
  font-size: 15px;
  font-weight: 800;
  color: var(--ink);
}
.group .d,
.group .gl .d {
  display: block;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}
button.group-crew {
  display: block;
  width: 100%;
  font: inherit;
  text-align: left;
  color: inherit;
  cursor: pointer;
  background: linear-gradient(180deg, #f3f6ff, #fff 60%);
  border: 1.5px solid #9db4f5;
  box-shadow: 0 12px 30px #2556ea14;
}
button.group-crew:hover {
  box-shadow: 0 8px 20px #2556ea14;
  transform: translateY(-1px);
}
button.group-crew:focus-visible {
  outline: 3px solid #edc74a;
  outline-offset: 3px;
}
.group-crew .gh {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px 10px;
  margin-bottom: 12px;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.035em;
  color: var(--ink);
}
.gopen {
  padding: 5px 10px;
  border-radius: 8px;
  background: var(--blue);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
}
.group-crew .gl {
  display: block;
  padding: 10px 0;
  border-top: 1px solid #e3e9fb;
}
.group-crew .gh + .gl {
  border-top: 0;
  padding-top: 0;
}

/* ---------- apply guide ---------- */
.chapter-inner > ol.questions {
  margin: 6px 0 18px;
  padding: 0;
  list-style: none;
  counter-reset: q;
  display: grid;
  gap: 8px;
}
.questions li {
  counter-increment: q;
  position: relative;
  margin: 0;
  padding: 14px 18px 14px 52px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}
.questions li::before {
  content: "Q" counter(q);
  position: absolute;
  left: 16px;
  top: 14px;
  font-size: 13px;
  font-weight: 800;
  color: var(--blue);
}
.chapter-inner > ol.sched {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}
.sched li {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 2px 18px;
  margin: 0;
  padding: 14px 22px;
  border-top: 1px solid var(--line);
  align-items: baseline;
}
.sched li:first-child {
  border-top: 0;
}
.sched .sd {
  font-size: 16px;
  font-weight: 800;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.sched .st {
  font-size: 16px;
  font-weight: 600;
  color: #3d4659;
}
.sched .ss {
  grid-column: 2;
  font-size: 13px;
  color: #5f6b80;
}
.sched li.hi {
  background: #f3f6ff;
}
.sched li.hi .sd,
.sched li.hi .st {
  color: var(--blue);
}
.chapter-inner > details.prep {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0;
}
.prep > summary {
  padding: 18px 22px;
  cursor: pointer;
}
.prep > *:not(summary) {
  margin-left: 22px;
  margin-right: 22px;
}
.prep > .tablewrap {
  margin: 14px 22px;
}

/* ---------- drawer (templates) ---------- */
.detail-panel[data-mode="tpl"] .panel-section[data-mode="tpl"] {
  display: block;
}
.detail-panel[data-mode="tpl"] {
  --panel-w: 720px;
}
.panel-body {
  position: relative;
}
.panel-titles {
  flex: 1;
  min-width: 0;
}
.panel-sub {
  margin: 2px 0 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
}
.panel-week .session,
.panel-tpl .lecture {
  margin: 0 0 12px;
  padding: 18px 18px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}
.session .top,
.lecture .top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px 10px;
  margin-bottom: 8px;
}
.session .when {
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.session h3 {
  margin: 0 0 4px !important;
  font-size: 17px !important;
  line-height: 1.45;
  letter-spacing: -0.02em;
}
.session .desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: #3d4659;
}
.session .who {
  margin: 10px 0 0;
  padding: 8px 12px;
  border-radius: 10px;
  background: #f3f6ff;
  font-size: 13px;
  font-weight: 700;
  color: var(--blue);
}
.session.is-special {
  border-color: #f2b9c1;
  box-shadow: 0 8px 22px #d5263e10;
}
.session.is-special .who {
  background: #fff1f3;
  color: #c22037;
}
.session .subs {
  list-style: none;
  margin: 12px 0 0;
  padding: 12px 0 0;
  border-top: 1px dashed #e3e6ee;
  display: grid;
  gap: 10px;
}
.session .subs li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 10px;
  margin: 0;
  font-size: 14px;
}
.subs .code {
  font-size: 12px;
  font-weight: 800;
  color: var(--blue);
  padding-top: 2px;
  font-variant-numeric: tabular-nums;
}
.subs .t {
  display: block;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.5;
}
.subs .d {
  display: block;
  color: var(--muted);
  line-height: 1.6;
}
.panel-tpl h3 {
  margin: 22px 0 10px;
  font-size: 18px;
  letter-spacing: -0.02em;
}
.panel-tpl h3:first-child {
  margin-top: 0;
}
.panel-tpl p {
  font-size: 15px;
  line-height: 1.75;
  color: #3d4659;
}
.lecture.is-focus {
  border-color: #9db4f5;
  box-shadow: 0 0 0 3px #dfe8ff;
}
.lec-head {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 14px;
  align-items: center;
  margin-bottom: 12px;
}
.lec-head img,
.lec-mono {
  width: 88px;
  height: 110px;
  border-radius: 12px;
  object-fit: cover;
}
.lec-mono {
  display: grid;
  place-items: center;
  background: linear-gradient(160deg, #243061, #2556ea);
  color: #fff;
  font-weight: 800;
  font-size: 18px;
}
.lecture .chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 8px;
}
.lecture .name {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1.35;
}
.lecture .role {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0;
}
.lecture .t {
  margin: 0 0 4px;
  font-size: 17px;
  font-weight: 800;
  color: var(--blue);
}
.lecture .d {
  margin: 0;
}
.lecture .career {
  margin: 12px 0 0;
  padding: 12px 0 0 1.1em;
  border-top: 1px dashed #e3e6ee;
}
.lecture .career li {
  color: #3d4659;
}
.tbd-note {
  margin: 10px 0 0 !important;
  font-size: 12px !important;
  color: #5f6b80 !important;
}
.steps5 {
  list-style: none;
  margin: 14px 0;
  padding: 0;
  counter-reset: s;
  display: grid;
  gap: 8px;
}
.steps5 li,
.crew-benefits li,
.crew-steps li {
  margin: 0;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}
.steps5 .t,
.crew-benefits .t,
.crew-steps .t {
  display: block;
  font-size: 15px;
  font-weight: 800;
  color: var(--ink);
}
.steps5 .d,
.crew-benefits .d,
.crew-steps .d {
  display: block;
  margin-top: 2px;
  font-size: 14px;
  line-height: 1.65;
  color: #3d4659;
}
.crew-lead {
  padding: 16px 18px;
  border-radius: 12px;
  background: #f3f6ff;
  color: var(--ink) !important;
}
.crew-benefits {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.crew-steps {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  counter-reset: c;
  display: grid;
  gap: 8px;
}
.crew-steps li {
  counter-increment: c;
  position: relative;
  padding-left: 52px;
}
.crew-steps li::before {
  content: counter(c);
  position: absolute;
  left: 16px;
  top: 14px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  display: grid;
  place-items: center;
}
.panel-tpl .fine-print {
  font-size: 12px;
  color: #5f6b80;
}
.panel-figure figcaption {
  margin-top: 8px;
  font-size: 12px;
  color: #5f6b80;
}

/* ---------- TOC numbers ---------- */
.toc-n {
  display: inline-block;
  min-width: 24px;
  margin-right: 6px;
  font-size: 11px;
  font-weight: 800;
  color: #a3abbe;
  font-variant-numeric: tabular-nums;
}
.toc-list a.is-active .toc-n {
  color: var(--blue);
}

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .hero .kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .journey {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
@media (max-width: 800px) {
  .chapter-inner > p.deck {
    font-size: 19px;
    margin-bottom: 24px;
  }
  .hero .kpis {
    margin-top: 32px;
    gap: 8px;
  }
  .kpis li {
    padding: 16px;
  }
  .kpis .kn {
    font-size: 26px;
  }

  .chapter .kpis {
    grid-template-columns: 1fr;
  }
  .chapter .kpis li {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
  }
  .chapter .kpis .kl {
    margin: 0;
    text-align: right;
  }
  .track {
    grid-template-columns: 1fr;
    padding: 16px 18px;
    gap: 0;
  }
  .track li {
    padding: 0 0 12px 24px;
  }
  .track li::before {
    left: 5px;
    right: auto;
    top: 12px;
    bottom: -2px;
    width: 2px;
    height: auto;
  }
  .track li:last-child::before {
    display: none;
  }
  .track li.end::before {
    right: auto;
  }
  .track li::after {
    top: 4px;
  }
  .track li {
    display: flex;
    align-items: baseline;
    gap: 10px;
  }
  .track .d {
    font-size: 16px;
  }
  .compare,
  .bigstats,
  .fit,
  .groups {
    grid-template-columns: 1fr;
  }
  .bs .num {
    font-size: 36px;
  }
  .reach {
    padding: 20px;
  }
  .reach .rb {
    grid-template-columns: 78px 1fr;
  }
  .chapter ul.keys li {
    grid-template-columns: 1fr;
  }
  .journey {
    overflow-x: auto;

    scrollbar-width: none;
  }
  .journey::-webkit-scrollbar {
    display: none;
  }
  .journey li {
    scroll-snap-align: start;
  }
  .chapter-inner > .tablewrap .week-table tr {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2px 12px;
    padding: 14px 16px;
  }
  .chapter-inner > .tablewrap .week-table td {
    padding: 0;
    border: 0;
    font-size: 14px;
    color: #3d4659;
  }
  .chapter-inner > .tablewrap .week-table td:first-child {
    grid-column: 1;
    font-size: 13px;
  }
  .chapter-inner > .tablewrap .week-table td:nth-child(2) {
    grid-column: 1;
    color: var(--ink);
    font-size: 15px;
  }
  .chapter-inner > .tablewrap .week-table td:nth-child(3) {
    grid-column: 1;
  }
  .chapter-inner > .tablewrap .week-table td:nth-child(4) {
    grid-column: 1;
  }
  .chapter-inner > .tablewrap .week-table td.go {
    grid-column: 2;
    grid-row: 1 / span 4;
    align-self: center;
  }
  .spk {
    grid-template-columns: 96px 1fr;
  }
  .pricebox {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 20px;
  }
  .pb-arrow {
    transform: rotate(90deg);
    width: 26px;
  }
  .pricebox .pv {
    font-size: 34px;
  }
  .chapter-inner > .tablewrap .crit td:first-child {
    width: auto;
  }
  .chapter-inner > .tablewrap .crit td {
    border: 0;
  }
  .chapter-inner > .tablewrap .crit td:last-child {
    color: #3d4659;
    font-size: 15px;
  }
  .worry {
    grid-template-columns: 1fr;
  }
  .worry dd {
    border-top: 0;
    padding-top: 0;
  }
  .sched li {
    grid-template-columns: 112px 1fr;
    padding: 12px 16px;
    gap: 2px 12px;
  }
  .sched .sd,
  .sched .st {
    font-size: 15px;
  }
  .prep > *:not(summary) {
    margin-left: 16px;
    margin-right: 16px;
  }
  .prep > .tablewrap {
    margin: 12px 16px;
  }
  .lec-head {
    grid-template-columns: 72px 1fr;
  }
  .lec-head img,
  .lec-mono {
    width: 72px;
    height: 90px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .will-fill span {
    transition: none;
    transform: none;
  }
  .case-card,
  .spk,
  .jstep,
  button.group-crew {
    transition: none;
  }
}

/* 2026-09-25: CASE 01 image has ~15% built-in white space on top — trim it and tighten the gap under the h4. */
.chapter-inner > figure.fig-case01 {
  margin-top: 8px;
}
/* 2026-09-28: CASE 01 shown uncropped at its own ratio (was cropped to 1470/950) */

/* 2026-09-25: letter stats in the V.1.0 layout (lead number + 3-column row). */
.pb-stats {
  margin: 28px 0 24px;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
}
.chapter .pb-stats p {
  margin: 0;
  font-style: normal;
}
.pb-stats .h {
  font-size: 15px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 14px !important;
}
.pb-stats .num {
  color: var(--blue);
  font-weight: 750;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.pb-stats .lead .num {
  font-size: 44px;
  line-height: 1.1;
}
.pb-stats .lead .cap {
  margin-top: 6px !important;
  font-size: 15px;
  color: #3d4659;
}
.pb-stats .row {
  display: grid;

  gap: 16px;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.pb-stats .row .num {
  font-size: 24px;
  line-height: 1.2;
}
.pb-stats .row .cap {
  margin-top: 4px !important;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--muted);
}
.pb-stats .src {
  margin-top: 18px !important;
  font-size: 13px;
  color: #5f6b80;
}
@media (max-width: 800px) {
  .pb-stats {
    padding: 22px 18px;
  }
  .pb-stats .lead .num {
    font-size: 34px;
  }
  .pb-stats .row {
    gap: 10px;
  }
  .pb-stats .row .num {
    font-size: 18px;
  }
}

/* 2026-09-25: week drawer UX — in-drawer week tabs (all widths), current-week marks, no page shift (week tabs reach every week). */
.detail-panel .week-tabs {
  margin: 0;
  align-self: stretch;
}
.week-tabs {
  display: none;
  flex: none;
  gap: 6px;
  padding: 10px 20px;
  border-bottom: 1px solid var(--line);
  background: #fafbfe;
  overflow-x: auto;
  scrollbar-width: none;
}
.week-tabs::-webkit-scrollbar {
  display: none;
}
.detail-panel[data-mode="week"] .week-tabs {
  display: flex;
}
.week-tabs button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;

  font: inherit;
  font-size: 13px;
  font-weight: 700;
  color: #3d4659;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
}
.week-tabs button:hover {
  border-color: #9db4f5;
  color: var(--blue);
}
.week-tabs button.is-current {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}
.week-tabs button:focus-visible {
  outline: 3px solid #edc74a;
  outline-offset: 1px;
}
.wt-e {
  font-size: 14px;
}
.jstep.is-current {
  border-color: var(--blue);
  background: #eef3ff;
  box-shadow: 0 0 0 2px #2556ea33;
}
.week-table tbody tr.is-current td {
  background: #eef3ff;
}
@media (max-width: 800px) {
  .week-tabs {
    padding: 8px 12px;
    gap: 5px;
  }
  .week-tabs button {
    min-width: 40px;
    padding: 6px 6px;
    font-size: 12px;
  }
  .wt-e {
    display: none;
  }
}

/* Desktop: while any drawer is open, the bottom CTA bar centres in the space left of the drawer. */
@media (min-width: 801px) {
  body.panel-open .desktop-cta {
    right: var(--drawer-w, 0px);
    transition: right 0.28s ease;
  }
}
.spk.is-current {
  border-color: var(--blue);
  box-shadow: 0 0 0 2px #2556ea33;
  background: #f6f8ff;
}
/* Special drawer: sticky speaker shortcuts (cards on the page can sit under the drawer). */
.spk-tabs {
  position: sticky;
  top: -20px;
  z-index: 2;
  display: flex;
  gap: 6px;
  margin: -20px -20px 14px;
  padding: 10px 20px;
  background: #fafbfe;
  border-bottom: 1px solid var(--line);
}
.spk-tabs button {
  flex: 1;
  padding: 7px 8px;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  color: #3d4659;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
}
.spk-tabs button:hover {
  border-color: #9db4f5;
  color: var(--blue);
}
.spk-tabs button.is-current {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}
@media (max-width: 800px) {
  .spk-tabs {
    top: -16px;
    margin: -16px -16px 12px;
    padding: 8px 12px;
  }
  .spk-tabs button {
    font-size: 12px;
    padding: 6px 4px;
  }
}
/* Case drawer: title/sub now live in the drawer header (same as the other drawers), so the in-body duplicates hide. */
.detail-panel[data-mode="case"] .panel-subtitle,
.detail-panel[data-mode="case"] .panel-note {
  display: none;
}
/* Speaker highlight badges in the special drawer (2026-09-25). */
.lecture .hi {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 12px !important;
}
.lecture .hi > span {
  padding: 4px 10px;
  border-radius: 8px;
  background: linear-gradient(135deg, #eef3ff, #f6f0ff);
  border: 1px solid #dbe4ff;
  color: #1f3fb8;
  font-size: 12.5px;
  font-weight: 750;
  letter-spacing: -0.01em;
}
.lecture .career b {
  color: var(--ink);
  font-weight: 750;
}
/* Speaker cards list the full career (2026-09-25). */

.spk {
  align-items: start;
}
/* Week table: emoji + "N주차" always on one line (2026-09-25). */
.chapter .week-table td:first-child {
  white-space: nowrap;
}
/* Week tabs fit all 7 in the narrower drawer: equal widths, number only (2026-09-25). */
.week-tabs button {
  flex: 1 1 0;
  min-width: 0;
  padding: 7px 4px;
}
.week-tabs .wt-e {
  display: none;
}

/* ===== 2026-09-25 readability pass (audit items 2–12, item 1 excluded) ===== */
/* 2 · hero facts: 3 items only */
@media (max-width: 800px) {
  .hero .callout.hero-facts {
    grid-template-columns: 1fr;
  }
  .hero .callout.hero-facts p {
    border: 0 !important;
  }
  .hero .callout.hero-facts p + p {
    border-top: 1px solid var(--line) !important;
  }
  .pc-br {
    display: none;
  }
}
/* 3 · prose measure ≈ 680px (about 38–42 Korean characters per line) */

/* 4 · muted text contrast ≥ 4.5:1 */
.chapter-inner > p.fine-print {
  color: #5f6b80;
}
/* 5 · letter timeline: collapsible entries */
.chapter-inner > p.hint + .timeline {
  margin-top: 10px;
}
.chapter details.history-entry {
  padding: 0;
  overflow: visible;
}
.chapter details.history-entry > summary {
  position: static;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  min-height: 0;
  padding: 22px 26px;
  list-style: none;
  background: transparent;
  border: 0;
  cursor: pointer;
  border-radius: 12px;
}
.chapter details.history-entry > summary::-webkit-details-marker {
  display: none;
}
.chapter details.history-entry > summary::marker {
  content: "";
}
.chapter details.history-entry > summary::after {
  content: none;
}
.chapter details.history-entry[open] > summary {
  background: transparent;
  border: 0;
  padding-bottom: 4px;
}
.chapter details.history-entry > summary h4 {
  margin: 0;
}
.chapter details.history-entry > summary:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
}

.chapter details.history-entry > p {
  margin: 10px 26px;
}
.chapter details.history-entry > p:last-child {
  margin-bottom: 24px;
}

@media (max-width: 800px) {
  .chapter details.history-entry > summary {
    padding: 18px 16px;
    gap: 10px;
  }
  .chapter details.history-entry > p {
    margin: 10px 16px;
  }
  .chapter details.history-entry > p:last-child {
    margin-bottom: 20px;
  }
  .chapter-inner > p.bridge {
    margin-top: 32px;
  }
}
/* 6 · wrapping: no orphan last words, balanced headings */
p,
li,
figcaption,
.cap,
.fine-print {
  text-wrap: pretty;
}
h1,
h2,
h3,
h4,
.deck,
.panel-title {
  text-wrap: balance;
}
/* 7 · mobile minimum 13px for reading text */
.panel-tpl .fine-print,
.panel-figure figcaption {
  font-size: 13px;
}
@media (max-width: 800px) {
  .kpis .kl {
    font-size: 13px;
  }
  .chapter-inner > .tablewrap .week-table td:nth-child(4) {
    font-size: 13px;
  }
  .chapter-inner > p.fine-print {
    font-size: 13px;
  }
}
/* 9 · larger tap target for week 상세 buttons */
.week-open {
  min-height: 40px;
  padding: 9px 14px;
}
/* 10 · roadmap labels on one line */
.jt {
  font-size: 13px;
  white-space: nowrap;
}
/* 11 · note + photo side by side */

.bm-asof,
.chapter .bm-note {
  color: #5f6b80;
}
td,
dd,
dt,
summary {
  text-wrap: pretty;
}
.pb-stats .num {
  white-space: nowrap;
}

@media (max-width: 800px) {
  .week-tabs button {
    min-height: 40px;
  }
}
/* 2026-09-25: letter timeline always expanded — date bold, title semibold */
.chapter .history-entry h4 {
  font-weight: 600;
}

/* 2026-09-25: letter closing line — centered, one line on PC, yellow highlight */
.chapter-inner > p.bridge {
  max-width: none !important;
  margin: 64px 0 8px;
  text-align: center;
  font-size: 26px;
  line-height: 1.5;
  font-weight: 700;
  letter-spacing: -0.035em;
  color: var(--ink);
}
.chapter-inner > p.bridge .bhl {
  background: linear-gradient(transparent 56%, #fff0a3 56%, #fff0a3 94%, transparent 94%);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  padding: 0 0.14em;
  margin: 0 -0.14em;
}
@media (min-width: 801px) {
  .chapter-inner > p.bridge {
    white-space: nowrap;
  }
}
@media (max-width: 800px) {
  .chapter-inner > p.bridge {
    margin: 48px 0 4px;
    font-size: 21px;
  }
}
.mo-br {
  display: none;
}
@media (max-width: 800px) {
  .mo-br {
    display: inline;
  }
  .chapter-inner > p.bridge .bhl {
    white-space: nowrap;
  }
}
/* 2026-09-25: timeline — clearer bold/semibold contrast, tighter mobile type */
.chapter .history-entry h4 strong {
  font-weight: 800;
}
@media (max-width: 800px) {
  .history-entry {
    padding: 18px 16px;
    margin: 10px 0;
  }
  .history-entry::before {
    top: 23px;
  }
  .chapter .history-entry h4 {
    font-size: 17px;
    line-height: 1.45;
    margin: 0 0 10px;
  }
  .chapter .history-entry p {
    font-size: 15px;
    line-height: 1.6;
    margin: 8px 0;
  }
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
/* 2026-09-25: mobile roadmap — no horizontal scroll, 4 + 3 grid */
@media (max-width: 800px) {
  .journey {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
    overflow: visible;
    margin: 0 0 6px;
    padding: 0;
    scroll-snap-type: none;
  }
  .journey li {
    flex: none;
  }
  .jstep {
    padding: 10px 8px;
    gap: 3px;
  }
  .je {
    font-size: 20px;
  }
  .jt {
    white-space: normal;
    word-break: keep-all;
    line-height: 1.35;
  }
}

/* ===== 2026-09-26 team-lead feedback round ===== */
/* 2 · desktop CTA bar in brand blue */
@media (min-width: 801px) {
  .desktop-cta {
    background: var(--blue);
    border-top: 0;
    backdrop-filter: none;
  }
  .desktop-cta p {
    color: #fff;
    font-size: 15px;
    font-weight: 600;
  }
  .desktop-cta .button {
    background: #fff;
    color: var(--blue);
    border-color: #fff;
    box-shadow: none;
  }
  .desktop-cta .button:hover {
    background: #eef3ff;
    color: var(--blue);
  }
}
/* 5 · special lectures as a table */
.spk-cell {
  display: flex;
  align-items: center;
  gap: 12px;
}
.spk-cell .av {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  background: #eef1f7;
  display: grid;
  place-items: center;
}
.spk-cell .av img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 18%;
}
.spk-cell .av-mono {
  font-size: 15px;
  font-weight: 800;
  color: #3d4659;
}
.spk-table .chip {
  white-space: nowrap;
}
.spk-table tbody tr.is-current td {
  background: #eef3ff;
}
.chapter .spk-table td:first-child {
  width: 1%;
}
@media (max-width: 800px) {
  .chapter-inner > .tablewrap .week-table:not(.spk-table) td.go {
    grid-row: 1 / span 3;
  }
  .chapter-inner > .tablewrap .week-table:not(.spk-table) td:nth-child(3) {
    font-size: 13px;
  }
  .chapter-inner > .tablewrap .spk-table td {
    grid-column: 1;
  }
  .chapter-inner > .tablewrap .spk-table td:nth-child(3) {
    color: var(--ink);
    font-weight: 600;
    font-size: 15px;
  }
  .chapter-inner > .tablewrap .spk-table td:nth-child(4) {
    font-size: 13px;
  }
  .chapter-inner > .tablewrap .spk-table td.go {
    grid-column: 2;
    grid-row: 1 / span 4;
  }
  .chapter .spk-table td:first-child {
    width: auto;
  }
}
/* 6 · drawer career lines: role on line 1, detail on line 2 */
.lecture .career li {
  margin: 8px 0;
  font-size: 14px;
  line-height: 1.55;
}
.lecture .career .cd {
  display: block;
  margin-top: 1px;
  font-size: 13px;
  color: #5f6b80;
}
/* 7 · collaboration mail screenshot under the brand marquee */
.chapter-inner > figure.fig-mail {
  margin: 28px 0 0;
}
/* 8 · longer TOC labels: wrapped lines align with the label, not the number */
.toc-list a {
  display: flex;
  align-items: baseline;
}
.toc-n {
  flex: 0 0 24px;
}

/* ===== 2026-09-26 readability round (team-lead rules + expert values) ===== */
/* rule 1 · middle-dot compounds never break (W3C klreq word-unit breaking, team-lead rule) */
.nb {
  white-space: nowrap;
}
/* rule 2 · visible gap between paragraphs: 12px → 24px (WCAG 1.4.8 direction; value is our judgment) */

/* PC measure 680px → 620px (~34× font size, ≤ 36 Hangul per line — typography night school 25–35×, WCAG ≤ 40 CJK) */
.chapter-inner > p:not(.deck):not(.sec-label):not(.caption):not(.hint):not(.fine-print):not(.more-row),
.chapter-inner > ul,
.chapter-inner > h3,
.chapter-inner > h4,
.history-entry p {
  max-width: 620px;
}
/* 2026-09-26: headings keep the full column (the 620px measure is for body text only) */
.chapter-inner > h3,
.chapter-inner > h4 {
  max-width: none;
}
/* 2026-09-26: same paragraph gap inside drawers */

/* 2026-09-26: phrase-unit spans (built by assemble.py) — break only between phrases */
.pj {
  white-space: nowrap;
}
.pj.pj-off {
  white-space: normal;
}
.crew-lead p {
  margin: 0;
  color: var(--ink);
}
.crew-lead p + p {
  margin-top: 10px !important;
}

/* 2026-09-26: no header on the first screen — it slides in together with the TOC once the hero is scrolled past */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  transform: translateY(-100%);
  visibility: hidden;
  transition:
    transform 0.25s ease,
    visibility 0s linear 0.25s;
}
body.hdr-on header {
  transform: none;
  visibility: visible;
  transition:
    transform 0.25s ease,
    visibility 0s;
}
.toc-mobile {
  top: 0;
  transition: top 0.25s ease;
}
body.hdr-on .toc-mobile {
  top: var(--header-h);
}
@media (prefers-reduced-motion: reduce) {
  header,
  .toc-mobile {
    transition: none;
  }
}
/* 2026-09-26: main apply button — centered, large, unmistakable */
.chapter-inner > p.apply-main {
  max-width: none !important;
  display: flex;
  justify-content: center;
  margin: 44px 0 12px;
}
.apply-main .apply-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: min(100%, 440px);
  min-height: 68px;
  padding: 18px 32px;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  background: var(--blue);
  border-radius: 16px;
  box-shadow:
    0 14px 30px #2556ea45,
    0 0 0 6px #2556ea1f;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease;
}
.apply-main .apply-btn:hover {
  transform: translateY(-1px);
  box-shadow:
    0 16px 34px #2556ea55,
    0 0 0 6px #2556ea29;
}
.apply-main .apply-btn:focus-visible {
  outline: 3px solid #edc74a;
  outline-offset: 4px;
}
@media (max-width: 800px) {
  .apply-main .apply-btn {
    width: 100%;
    min-height: 62px;
    font-size: 19px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .apply-main .apply-btn {
    transition: none;
  }
}

/* Fit boxes: make the "want" box the obvious one (2026-09-27). */
.fit-yes {
  background: linear-gradient(180deg, #f3f6ff 0%, #fff 70%) !important;
  border: 2px solid var(--blue) !important;
  box-shadow: 0 14px 32px #2556ea24;
}
.fit-yes h3 {
  color: #1f3fb8;
  font-size: 21px;
}
.chapter .fit-yes li {
  color: var(--ink);
  font-weight: 500;
}
.chapter .fit-yes li strong {
  font-weight: 800;
  color: #1f3fb8;
}
.fit-no {
  border-top-width: 1px !important;
}
.fit-no h3 {
  color: #5f6b80;
  font-size: 17px;
}
@media (min-width: 801px) {
  .fit {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: start;
  }
}

/* Prep table (desktop): keep item names and costs on one line (2026-09-27). */
@media (min-width: 801px) {
  .preparation th:first-child,
  .preparation td:first-child,
  .preparation th:last-child,
  .preparation td:last-child {
    white-space: nowrap;
    width: 1%;
  }
}

/* AI note: full-width callout strip + standalone Live photo (option A, 2026-09-28). */
.chapter-inner > .ai-callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 36px 0 0;
  padding: 18px 22px;

  border-left: 4px solid var(--blue);
  border-radius: 0 12px 12px 0;
}
.ai-callout p {
  margin: 0 !important;
  max-width: none !important;
  font-size: 16px;
  line-height: 1.7;
}
.ai-callout-link {
  flex: none;
  padding: 8px 0;
  background: none;
  border: 0;
  font: inherit;
  font-size: 15px;
  font-weight: 800;
  color: var(--blue);
  white-space: nowrap;
  cursor: pointer;
}
.ai-callout-link:hover,
.ai-callout-link:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.chapter-inner > figure.fig-live {
  margin: 28px 0 0;
}
@media (max-width: 800px) {
  .chapter-inner > .ai-callout {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    margin-top: 28px;
    padding: 16px 18px;
  }
  .ai-callout-link {
    min-height: 40px;
  }
}

/* ===== 2026-09-28 readability rework (team-lead review, V1.0 baseline) ===== */
/* Fonts: Paperlogy (G마켓 산스 계열, 광고·상세페이지에서 많이 쓰는 폰트) for the page, Gowun Batang for the letter voice. */
@font-face {
  font-family: "Paperlogy";
  src: url("assets/fonts/Paperlogy-400.subset.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Paperlogy";
  src: url("assets/fonts/Paperlogy-500.subset.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Paperlogy";
  src: url("assets/fonts/Paperlogy-600.subset.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Paperlogy";
  src: url("assets/fonts/Paperlogy-700.subset.woff2") format("woff2");
  font-weight: 700 900;
  font-style: normal;
  font-display: swap;
}

body,
button,
input,
select,
textarea {
  font-family: "Paperlogy", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
}
/* 2026-09-28: letter section back to the page's common font (Paperlogy); Hahmlet stays only in #case */

#case .chapter-inner > p:not([class]) strong {
  font-weight: 800;
  color: var(--ink);
}

/* Spacing, two levels: small gap inside a topic, large gap when the topic changes (NN/g proximity). */
.chapter-inner > p:not([class]) + p:not([class]) {
  margin-top: 14px;
}
.panel-tpl p:not([class]) + p:not([class]) {
  margin-top: 14px;
}
.chapter .history-entry p + p {
  margin-top: 12px;
}
.chapter-inner > h3 {
  margin-top: 60px;
}
.chapter-inner > p.bridge-next {
  max-width: 620px;
  margin: 18px auto 0;
  text-align: center;
}

/* Fewer boxes: section 4 title matches the other section titles. (Timeline cards kept — team lead likes them, 2026-09-28.) */
.chapter-2 .callout:has(#section-10) {
  background: none;
  border: 0;
  padding: 0;
}
.kpis li,
.cmp.is-open,
.pricebox,
button.group-crew,
.case-card,
.hero .callout {
  box-shadow: none;
}
.case-card:hover,
button.group-crew:hover {
  box-shadow: none;
}

@media (max-width: 800px) {
  .chapter-inner > h3 {
    margin-top: 48px;
  }
  .bigstats {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .bigstats .bs {
    padding: 16px 14px;
  }
  .kpis.three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }
  .kpis.three li {
    padding: 14px 10px;
  }
  #case .chapter-inner > p:not([class]) {
    font-size: 16px;
    line-height: 1.85;
  }
  .chapter-inner > p.bridge-next {
    text-align: left;
  }
}
/* numbers never split across lines (2-column stats on mobile) */
.bigstats .num,
.kpis .kn,
.pricebox .pv,
.pb-stats .num {
  white-space: nowrap;
}
@media (max-width: 800px) {
  .bigstats .num {
    font-size: clamp(26px, 8vw, 36px);
  }
  .kpis.three .kn {
    font-size: clamp(22px, 6.6vw, 30px);
  }
  .kpis.three .kl {
    font-size: 13px;
    line-height: 1.45;
  }
}
/* Paperlogy is a wider geometric face: the tight tracking tuned for Pretendard crushes it. */
body {
  letter-spacing: -0.005em;
}
h1,
h2,
h3,
h4,
.deck,
.callout p strong,
.bridge {
  letter-spacing: -0.012em !important;
}
.chapter-inner p,
.chapter-inner li,
.chapter-inner dd,
.chapter-inner td,
.panel-tpl p,
.panel-tpl li {
  letter-spacing: -0.005em;
}

/* 2026-09-28: 약들약 YouTube — letter screenshot opens a drawer with the channel's uploads playlist embedded. */
.chapter-inner > figure.yt-fig {
  margin-bottom: 28px;
}
.yt-card {
  display: block;
  width: 100%;
  padding: 0;
  margin: 0;
  font: inherit;
  color: inherit;
  text-align: left;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
}
.yt-card img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0 !important;
}
.yt-card .yt-open {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 16px;
  font-size: 15px;
  font-weight: 700;
  color: #d5263e;
  border-top: 1px solid var(--line);
}
.yt-card:hover {
  border-color: #f2b9c1;
}
.yt-card:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}
.yt-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  margin: 4px 0 12px;
  background: #0f0f0f;
  border-radius: 12px;
  overflow: hidden;
}
.yt-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.panel-tpl .yt-note {
  margin: 0 0 16px;
  font-size: 14px;
  color: #5f6b80;
}

/* 2026-09-28: worry table — the label column fits its longest label on one line (PC). */
@media (min-width: 801px) {
  .worry {
    grid-template-columns: max-content 1fr;
  }
  .worry dt {
    white-space: nowrap;
    padding-right: 28px;
  }
}
/* 2026-09-28: 약들약 drawer — channel profile card + subscribe link (F) above the uploads player (A). */
.yt-profile {
  display: flex;
  align-items: center;

  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
}
.yt-av {
  flex: none;

  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 18%;
  background: #eef0f5;
}
.yt-info {
  flex: 1;
  min-width: 0;
}
.panel-tpl .yt-info p {
  margin: 0 !important;
}
.panel-tpl .yt-name {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--ink);
}
.panel-tpl .yt-meta {
  font-size: 13px;
  line-height: 1.5;
  color: #5f6b80;
}
.yt-sub {
  flex: none;
  display: inline-flex;
  align-items: center;

  border-radius: 999px;
  background: #d5263e;
  color: #fff !important;

  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.yt-sub:hover {
  background: #b81f33;
}
.yt-sub:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
}
@media (max-width: 800px) {
  .yt-sub {
    justify-content: center;
  }
}
/* the drawer is ~370px wide on PC as well, so the stacked layout keeps name and meta on one line everywhere */

.yt-sub {
  justify-content: center;
}
/* 2026-09-28: option ④ — video first, one channel row (avatar · name · 구독자 · 채널 보기 · 구독). Overrides the stacked layout above. */
.yt-profile {
  flex-wrap: nowrap;
  gap: 12px;
  margin: 0 0 10px;
  padding: 12px 14px;
}
.yt-av {
  width: 48px;
  height: 48px;
}
.yt-sub {
  width: auto;
  min-height: 38px;
  padding: 0 16px;
  font-size: 14px;
}
.panel-tpl .yt-name {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.panel-tpl .yt-meta {
  white-space: nowrap;
}
.yt-ch {
  color: var(--blue);
  font-weight: 700;
  text-decoration: none;
}
.yt-ch:hover {
  text-decoration: underline;
}
@media (max-width: 800px) {
  .yt-profile {
    flex-wrap: nowrap;
  }
  .yt-sub {
    width: auto;
  }
}
@media (max-width: 359px) {
  .yt-profile {
    gap: 8px;
    padding: 10px 10px;
  }
  .yt-av {
    width: 40px;
    height: 40px;
  }
  .panel-tpl .yt-name {
    font-size: 14.5px;
  }
  .panel-tpl .yt-meta {
    font-size: 12px;
  }
  .yt-sub {
    padding: 0 12px;
    font-size: 13px;
  }
}
/* 2026-09-28: timeline cards sit on the #f7f8fc letter background — darken them so the box reads like the original page (#f3f4f6 on white). */
#letter-sec .history-entry {
  background: #eaedf3;
  border: 1px solid #e0e4ec;
}

/* 2026-09-28: faint boxes — every card edge gets at least ~1.35:1 against its background (was 1.24 or less). */
:root {
  --line: #d9dde7;
}
.chapter-inner > .ai-callout {
  background: #edf1fc;
}
.fit-no {
  background: #f1f3f8 !important;
  border-color: #d9dde7 !important;
}
.worry dt {
  background: #f3f5fa;
}
.chapter .callout.yellow:not(.hero-facts),
.chapter .callout.section-title:not(:has(h2)) {
  border: 1px solid #dde4f6;
}
#letter-sec .history-entry {
  border-color: #d9dde7;
}
/* fix: 3-column course stats on mobile stack number over label (the 1-column row layout clipped the label) */
@media (max-width: 800px) {
  .chapter .kpis.three li {
    display: block;
    padding: 14px 12px;
  }
  .chapter .kpis.three .kl {
    margin-top: 6px;
    text-align: left;
  }
}
@media (max-width: 359px) {
  .chapter .kpis.three {
    grid-template-columns: 1fr;
  }
  .chapter .kpis.three li {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
  }
  .chapter .kpis.three .kl {
    margin: 0;
    text-align: right;
  }
}
/* 2026-09-28: crew card — soft shadow on hover (it opens a drawer) */
button.group-crew {
  transition:
    box-shadow 0.2s ease,
    transform 0.2s ease;
}
button.group-crew:hover,
button.group-crew:focus-visible {
  box-shadow: 0 10px 24px #2556ea1f;
  transform: translateY(-1px);
}
@media (prefers-reduced-motion: reduce) {
  button.group-crew,
  button.group-crew:hover {
    transition: none;
    transform: none;
  }
}

/* 2026-09-28: drawers — emphasis readable, nothing below 13px */
#detail-panel .chip,
#detail-panel .subs .code,
#detail-panel .lecture .hi > span,
#detail-panel .tbd-note {
  font-size: 13px;
}
#detail-panel .spk-tabs button,
#detail-panel .week-tabs .wt-n {
  font-size: 13px;
}
.panel-tpl .d strong,
.panel-tpl .desc strong,
.panel-tpl p strong,
.panel-tpl li strong {
  font-weight: 700;
  color: var(--ink);
}
#detail-panel .lecture .tbd-note,
#detail-panel .lecture .tbd-note .pj {
  font-size: 13px;
}
/* 2026-09-28: off-screen holder for the preloaded TikTok embed (laid out, never visible) */
.tt-preload {
  position: fixed;
  left: -10000px;
  top: 0;
  visibility: hidden;
  pointer-events: none;
}

/* 2026-09-28: letter/case body font → Hahmlet (눈누, OFL). Medium 500 body, ExtraBold 800 emphasis. Replaces Gowun Batang (too thin). */

/* 2026-09-28 mobile cleanup: compact solid header, tighter criteria cards */
@media (max-width: 800px) {
  :root {
    --header-h: 52px;
  }
  header {
    padding: 6px 16px !important;
    background: #fff !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    min-height: 50px;
    box-sizing: border-box;
    align-items: center;
  }
  header .brand {
    --logo-width: 88px;
  }
  header .brand small {
    display: none !important;
  }
  .toc-mobile {
    background: #fff;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .chapter-inner > .tablewrap .crit tr {
    padding: 14px 16px;
    gap: 4px;
  }
  .chapter-inner > .tablewrap .crit td {
    padding: 0;
  }
}
/* 2026-09-28: nothing may be wider than the phone (a too-wide box widened the whole page on small phones) */
.pb-stats .row {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.pb-stats .row .cap .nb {
  white-space: normal;
}
@media (max-width: 399px) {
  .pb-stats .row {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .pb-stats .row > div {
    display: flex;
    align-items: baseline;
    gap: 10px;
  }
  .pb-stats .row .num {
    font-size: 20px;
    min-width: 0;
  }
  .pb-stats .row .cap {
    margin-top: 0 !important;
  }
}
.bigstats {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.bigstats .cap .nb {
  white-space: normal;
}
@media (max-width: 359px) {
  .bigstats {
    grid-template-columns: 1fr;
  }
}
/* 2026-09-28: every photo = same width as the annotated letter photo (full column), height follows each image's own ratio */
.chapter-inner > figure img,
.case-card img,
.yt-card img {
  height: auto !important;
  object-fit: initial;
}
/* 2026-09-28: desktop bottom apply bar → floating rounded box, lifted off the bottom edge (still follows on scroll) */
@media (min-width: 801px) {
  .desktop-cta {
    left: 0;
    right: 0;
    bottom: 20px;
    width: fit-content;
    max-width: calc(100% - 48px);
    margin: 0 auto;

    border-radius: 16px;
    box-shadow: 0 10px 30px #2556ea40;
  }
}
/* 2026-09-28: whole CTA box is clickable */
.desktop-cta {
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s;
}
.desktop-cta:hover {
  background: #1d43bb;
}
.desktop-cta:hover .button {
  background: #eef3ff;
}
.desktop-cta:focus-visible {
  outline: 3px solid #edc74a;
  outline-offset: 3px;
}
/* 2026-09-28: one box only — the inner white pill removed; the whole blue box is the button */
@media (min-width: 801px) {
  .desktop-cta {
    padding: 16px 28px;
    gap: 20px;
  }
  .desktop-cta .button,
  .desktop-cta:hover .button {
    background: none !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 0 0 0 20px;
    border-radius: 0;
    color: #fff !important;
    font-size: 16px;
    font-weight: 800;
    border-left: 1px solid #ffffff59 !important;
    min-height: 0;
  }
  .desktop-cta .button {
    gap: 6px;
  }
  .desktop-cta .button::after {
    content: "→";
    display: inline-block;
    transition: transform 0.15s;
  }
  .desktop-cta:hover .button::after {
    transform: translateX(3px);
  }
}
/* ===== 2026-09-28 PM_: section colour system (reference: realclass all-pass — strong colour only on section head bands, reading areas stay light) =====
   navy  = why / proof (02 market, 04 case)
   brand = what / how (05 curriculum, 06 cost, 07 eligibility, 08 after)   gradient UI blue #2556ea -> logo blue #2983f1
   ui    = action (09 apply)
   body: white / light gray #f2f4f8 / pale blue #eef3ff (03 letter, 09 apply) */
:root {
  --c-navy: #171c3b;
  --c-brand: #2983f1;
  --c-ui: #2556ea;
  --c-pale: #eef3ff;
  --c-gray: #f2f4f8;
}
.chapter {
  overflow-x: clip;
}
.chapter,
.chapter:nth-child(even) {
  background: #fff;
}
#letter-sec,
#apply {
  background: var(--c-pale);
}

.chapter:has(> .chapter-inner > .sec-head) {
  border-top: 0;
}
.chapter-inner > .sec-head {
  position: relative;
  isolation: isolate;
  width: 100%;
  margin: -96px 0 48px;
  padding: 72px 0 56px;
  color: #fff;
}
.sec-head::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
}
.sec-head.navy::before {
  background: var(--c-navy);
}
.sec-head.brand::before {
  background: linear-gradient(115deg, var(--c-ui) 0%, var(--c-brand) 100%);
}

.sec-head > .sec-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  padding: 5px 12px 5px 6px;
  border-radius: 100px;
  background: #ffffff1f;
  color: #fff;
  font-size: 13px;
  line-height: 1.5;
  font-weight: 700;
  letter-spacing: -0.01em;
  max-width: none;
}
.sec-head > .sec-label .sec-no {
  background: #fff;
  color: var(--c-ui);
}
.sec-head.navy > .sec-label .sec-no {
  color: var(--c-navy);
}
.sec-head > .callout.section-title,
.chapter-2 .sec-head > .callout:has(#section-10) {
  max-width: none;
  margin: 0 0 16px;
  padding: 0;
  background: none;
  border: 0;
  text-align: left;
}
.sec-head h2,
.sec-head h2 * {
  color: #fff !important;
  margin: 0;
}
.sec-head > p.deck {
  max-width: none;
  margin: 0;
  font-size: 22px;
  line-height: 1.6;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: #ffffffe6;
}
.sec-head > p.deck * {
  color: #fff !important;
}
.sec-head .hl {
  background: linear-gradient(transparent 58%, #ffffff3d 58%, #ffffff3d 92%, transparent 92%);
}
@media (max-width: 800px) {
  .chapter-inner > .sec-head {
    margin-top: -60px;
    margin-bottom: 36px;
    padding: 48px 0 40px;
  }
  .sec-head > p.deck {
    font-size: 19px;
  }
}
/* PM_: the desktop TOC floats over the coloured head bands → give it its own white card so it stays readable */
@media (min-width: 801px) {
  .toc-desktop {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: 0 8px 24px #1a20421a;
    padding: 10px 6px;
  }
}
/* ===== 2026-09-29 PM_: one type system (reference realclass: one family, two weights, a fixed scale) =====
   family Paperlogy only · weights 400 / 700
   scale PC (mobile): h1 60 (32) · h2 38 (28) · lead 22 (19) · h3 26 (23) · h4 · card title 20 (18) · body 18 (17) · card text 16 (15) · caption 13 */
#case .chapter-inner > p:not([class]),
#case .signature {
  font-family: inherit;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.8;
  letter-spacing: -0.005em;
  color: #3d4659;
}
.hero h1,
.chapter h2,
.chapter h3,
.chapter h4,
.closing h2,
.chapter strong,
.hero strong,
.chapter b,
.chapter dt,
.chapter summary,
.chapter summary strong {
  font-weight: 700 !important;
}
.sec-head > p.deck,
.chapter-inner > p.deck {
  font-weight: 700;
}
.sec-head h2 {
  font-size: 38px !important;
  line-height: 1.4 !important;
}
/* body 18 */
.chapter .history-entry p,
.chapter .callout p,
.chapter-inner > p.rs,
.chapter-inner > .ai-callout p,
.chapter-inner > p.bridge-next,
.chapter-inner > p.prep-why,
.chapter details.prep > p {
  font-size: 18px !important;
  line-height: 1.8 !important;
  font-weight: 400;
  color: #3d4659;
}
.chapter .callout p strong,
.chapter .history-entry p strong {
  color: var(--ink);
}
/* h4 / card titles 20 */
.chapter .history-entry h4,
.chapter-inner > h4,
.chapter .cmp p.v,
.chapter .reach p.rt,
.chapter .fit-yes h3,
.chapter .fit-no h3,
.chapter .group h3,
.chapter ul.keys li .t {
  font-size: 20px !important;
  line-height: 1.5 !important;
}
.chapter .bm-title {
  font-size: 26px !important;
}
.chapter summary {
  font-size: 18px !important;
}
/* card text 16 */
.chapter .fit li,
.chapter .worry dt,
.chapter .worry dd,
.chapter .cmp p.n,
.chapter .bm-desc,
.chapter-inner > p.special-extra,
.chapter ol.questions li,
.chapter ul.keys li .d,
.hero .hero-facts p {
  font-size: 16px !important;
  line-height: 1.7 !important;
}
.chapter .fit li {
  font-weight: 400 !important;
}
@media (max-width: 800px) {
  .sec-head h2 {
    font-size: 28px !important;
    line-height: 1.45 !important;
  }
  #case .chapter-inner > p:not([class]),
  #case .signature,
  .chapter .history-entry p,
  .chapter .callout p,
  .chapter-inner > p.rs,
  .chapter-inner > .ai-callout p,
  .chapter-inner > p.bridge-next,
  .chapter-inner > p.prep-why,
  .chapter details.prep > p {
    font-size: 17px !important;
  }
  .chapter .history-entry h4,
  .chapter-inner > h4,
  .chapter .cmp p.v,
  .chapter .reach p.rt,
  .chapter .fit-yes h3,
  .chapter .fit-no h3,
  .chapter .group h3,
  .chapter ul.keys li .t {
    font-size: 18px !important;
  }
  .chapter .bm-title {
    font-size: 23px !important;
  }
  .chapter summary {
    font-size: 17px !important;
  }
  .chapter .fit li,
  .chapter .worry dt,
  .chapter .worry dd,
  .chapter .cmp p.n,
  .chapter .bm-desc,
  .chapter-inner > p.special-extra,
  .chapter ol.questions li,
  .chapter ul.keys li .d,
  .hero .hero-facts p {
    font-size: 15px !important;
  }
}

/* ===== 2026-09-29 PM_: one image format (reference realclass: images in a group share size, ratio and corner) =====
   content photos: full column width · 16:10 · radius 12px · 1px line · no shadow   |   photo cards (YouTube, Uni case): 3:1 header · radius 12px · same line */
.chapter-inner > figure > img,
.chapter-inner > figure > .annot {
  display: block;
  width: 100% !important;
  max-width: none !important;
  aspect-ratio: 16/10 !important;
  height: auto !important;
  object-fit: cover !important;
  object-position: 50% 50%;
  border-radius: 12px !important;
  border: 1px solid #e3e6ee !important;
  box-sizing: border-box;
  box-shadow: none !important;
}
.chapter-inner > figure > .annot {
  position: relative;
  overflow: hidden;
}
.chapter-inner > figure > .annot > img {
  width: 100%;
  height: 100% !important;
  object-fit: cover;
  border: 0 !important;
  border-radius: 0 !important;
}
.yt-card,
.case-card {
  border-radius: 12px !important;
  border: 1px solid #e3e6ee !important;
  box-shadow: none !important;
  overflow: hidden;
}
.yt-card img,
.case-card img {
  aspect-ratio: 3/1 !important;
  height: auto !important;
  object-fit: cover !important;
  object-position: 50% 50%;
  border-radius: 0 !important;
}
/* PM_ type system — remaining odd weights/sizes */
.chapter .cmp p.v,
.chapter .reach p.rt,
.chapter .bm-title,
.chapter ol.questions li,
.chapter .cmp p.k {
  font-weight: 700 !important;
}
.hero h3 {
  font-weight: 400 !important;
}
.chapter .reach p.rs {
  font-size: 18px !important;
  line-height: 1.8 !important;
}
.chapter .cmp p.k {
  font-size: 16px !important;
}
@media (max-width: 800px) {
  .chapter .reach p.rs {
    font-size: 17px !important;
  }
  .chapter .cmp p.k {
    font-size: 15px !important;
  }
}
/* ===== 2026-09-29 PM_ v3: the text-heavy sections are painted whole (02 market, 03 letter, 04 case);
   card-heavy sections keep a colour head band on a light body. Adjacent painted sections alternate navy / deep blue.
   Order: 02 PAINTED navy · 03 PAINTED deep blue · 04 PAINTED navy · 05 blue band/gray · 06 navy band/white · 07 blue band/gray · 08 navy band/white · 09 blue band/pale · closing navy */
:root {
  --c-deep: #1b3478;
}
#why,
#case {
  background: var(--c-navy) !important;
  border-top: 0;
}
#letter-sec {
  background: var(--c-deep) !important;
  border-top: 0;
}
#curriculum-sec,
#who {
  background: var(--c-gray) !important;
}
#refund-sec,
#after {
  background: #fff !important;
}
:is(#why, #letter-sec, #case) .sec-head::before {
  background: none !important;
}
:is(#why, #letter-sec, #case) .sec-head {
  padding-bottom: 8px;
}
/* text on the painted colour */
:is(#why, #letter-sec, #case) .chapter-inner > :is(h2, h3, h4) {
  color: #fff !important;
}
:is(#why, #letter-sec, #case) .chapter-inner > :is(h2, h3, h4) * {
  color: inherit;
}
:is(#why, #letter-sec, #case) .chapter-inner > p:not(.deck):not(.sec-label):not(.caption):not(.hint):not(.fine-print) {
  color: #dbe2f3 !important;
}
:is(#why, #letter-sec, #case) .chapter-inner > p strong,
:is(#why, #letter-sec, #case) .chapter-inner > p b {
  color: #fff !important;
}
:is(#why, #letter-sec, #case) .chapter-inner > p:is(.caption, .hint, .fine-print),
:is(#why, #letter-sec, #case) .chapter-inner > figure figcaption {
  color: #aeb8d2 !important;
}
:is(#why, #letter-sec, #case) .chapter-inner > hr {
  border-top-color: #ffffff2e;
}
:is(#why, #letter-sec, #case) .hl {
  background: linear-gradient(transparent 58%, #ffffff33 58%, #ffffff33 92%, transparent 92%) !important;
  color: #fff;
}
#letter-sec .chapter-inner > .sec-label {
  background: #ffffff1f;
  color: #fff;
}
#letter-sec .chapter-inner > .sec-label .sec-no {
  background: #fff;
  color: var(--c-deep);
}
#letter-sec h2 a,
#letter-sec h2 [underline] {
  color: #fff !important;
  text-decoration-color: #8fb0ff;
}
#letter-sec .chapter-inner > p.bridge .bhl {
  background: linear-gradient(transparent 58%, #ffffff33 58%, #ffffff33 92%, transparent 92%) !important;
}
:is(#why, #letter-sec, #case) .chapter-inner > figure > img,
:is(#why, #letter-sec, #case) .chapter-inner > figure > .annot {
  border-color: #ffffff26 !important;
}
