/* ══════════════════════════════════════════════════════════════════════
   Clinic OS 컴포넌트 — 해독 (2026-09-25 원장: 「페이지를 다시 짜」 — 본원 구조로 전면 재작성)
   ──────────────────────────────────────────────────────────────────────
   웰니스(wellness-v2 style.css 「Clinic OS 컴포넌트」)와 같은 부품. 값은 www.dongjedang.com 라이브 실측,
   색은 build.py SKIN_CSS 의 data-skin="detox" 토큰에서 온다. 헤더·푸터는 build.py 인라인 그대로.
   ══════════════════════════════════════════════════════════════════════ */
/* 본원(Tailwind preflight)과 같이 테두리까지 폭에 넣는다 — width: 100% 버튼이 카드 밖으로 나가지 않게 */
*, *::before, *::after { box-sizing: border-box; }

:root {
  --serif: "Noto Serif KR", serif;
  --cos-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, .1), 0 2px 4px -1px rgba(0, 0, 0, .06);
  --cos-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, .1), 0 4px 6px -2px rgba(0, 0, 0, .05);
  --cos-ease: .2s ease-out;
}

/* 버튼 — 본원: 48px · 16px · 600 · 여백 0 24px · 알약. 기본은 보조(흰 바탕 + 연한 실선) */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; white-space: nowrap; height: 48px; padding: 0 24px; border-radius: 999px;
       border: 1px solid var(--border-subtle); background: var(--bg-surface); color: var(--text-main); font-size: 16px; font-weight: 600; cursor: pointer;
       transition: transform var(--cos-ease), background var(--cos-ease), border-color var(--cos-ease), color var(--cos-ease), box-shadow var(--cos-ease); }
.btn:hover { background: var(--bg-body); border-color: var(--accent); color: var(--accent); }
.btn:active { background: var(--accent-soft); transform: scale(.98); }
.btn--primary { border-color: transparent; background: linear-gradient(135deg, var(--accent-gradient-start), var(--accent-gradient-end)); color: var(--text-on-accent); box-shadow: var(--cos-shadow-md); }
.btn--primary:hover { border-color: transparent; background: linear-gradient(135deg, var(--accent-gradient-end), var(--accent-gradient-start)); color: var(--text-on-accent);
                      transform: translateY(-1px); box-shadow: 0 10px 15px -3px rgba(0, 0, 0, .15), 0 4px 6px -2px rgba(0, 0, 0, .1); }
.btn--primary:active { transform: translateY(1px) scale(.98); box-shadow: 0 2px 4px -1px rgba(0, 0, 0, .1), 0 1px 2px -1px rgba(0, 0, 0, .06); }
.btn--block { width: 100%; }

/* 틀 */
.page-container { width: min(1120px, 100% - 48px); margin-inline: auto; }
.page-container--narrow { width: min(1024px, 100% - 48px); }
.page-container--read { width: min(768px, 100% - 32px); }
.section { padding-block: 80px; }
.section--tone-elevated { background: var(--bg-surface); border-block: 1px solid var(--border-subtle); }
.section-header { display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; margin-bottom: 48px; }
.section-header--left { align-items: flex-start; text-align: left; }
.eyebrow { font-size: 14px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-strong); }
.section-title { font-family: var(--serif); font-size: clamp(28px, 3vw, 36px); line-height: 1.3; font-weight: 700; letter-spacing: -.02em; color: var(--text-main); }
.section-description { max-width: 36rem; font-size: clamp(16px, 1.3vw, 18px); line-height: 1.7; color: var(--text-muted); }
.section-header--left .section-description { max-width: 32rem; }

.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.stack { display: flex; flex-direction: column; gap: 16px; }
.row-center { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.row-left { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.cos-gap-top { margin-top: 32px; }

/* 카드 — 본원 .card: 흰 바탕 · 1px 실선 · 16px · 중간 그림자, 올리면 4px 뜨고 테두리 강조색 */
.card { display: flex; flex-direction: column; gap: 12px; padding: 32px; background: var(--bg-surface); border: 1px solid var(--border-subtle); border-radius: 16px;
        box-shadow: var(--cos-shadow-md); transition: transform var(--cos-ease), box-shadow var(--cos-ease), border-color var(--cos-ease); color: var(--text-main); }
.card:hover { transform: translateY(-4px); border-color: var(--accent); box-shadow: var(--cos-shadow-lg); }
.card--soft { background: var(--accent-soft); border-color: transparent; box-shadow: none; }
.card--soft:hover { border-color: var(--accent); }
.card--tint { background: var(--tint); border-color: transparent; box-shadow: none; }
.card--line { border: 2px solid var(--accent); box-shadow: none; }
.card--hot { border: 2px solid var(--accent); }
.card--static:hover, .card--flush.card--static:hover { transform: none; border-color: var(--border-subtle); box-shadow: var(--cos-shadow-md); }
.card--line.card--static:hover { border-color: var(--accent); box-shadow: none; }
.card--flush { padding: 0; overflow: hidden; gap: 0; }
.card__pad { display: flex; flex-direction: column; gap: 12px; padding: 24px 28px 28px; }
.card-no { font-size: 13px; font-weight: 700; letter-spacing: .08em; color: var(--accent-highlight); }
.card-label { font-size: 13px; font-weight: 700; letter-spacing: .04em; color: var(--accent-strong); }
.card-title { font-family: var(--serif); font-size: 20px; line-height: 1.4; font-weight: 700; letter-spacing: -.02em; color: var(--text-main); }
.card-body { font-size: 15px; line-height: 1.7; color: var(--text-muted); }
.card-note { font-size: 14px; line-height: 1.7; color: var(--text-main); padding: 12px 14px; border-radius: 12px; background: var(--accent-soft); }
.card-link { margin-top: auto; padding-top: 4px; font-size: 14px; font-weight: 600; color: var(--accent); }
a.card:hover .card-link, .card-link:hover { color: var(--accent-strong); }
.card-mark { display: flex; align-items: baseline; justify-content: space-between; padding: 28px; background: var(--accent-soft); }
.card-mark b { font: 500 64px/1 var(--serif); color: var(--accent); }
.card-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.card-head strong { font-size: 13.5px; font-weight: 700; color: var(--accent); }
.card--hot .card-head strong::after { content: ""; }

.cos-photo { display: block; margin: 0; border-radius: 16px; overflow: hidden; background: var(--accent-soft); }
.cos-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.cos-photo--tall { aspect-ratio: 3 / 4; max-width: 480px; width: 100%; justify-self: center; }
.cos-photo--wide { aspect-ratio: 4 / 3; }

/* 대문 — 본원 홈: 가운데 정렬, 명조 400 큰 제목, 명조 300 설명 */
.hero-section { padding-block: clamp(72px, 10vw, 140px) clamp(56px, 7vw, 96px); text-align: center; }
.hero-section .eyebrow { display: block; margin-bottom: 28px; letter-spacing: .3em; font-weight: 500; }
.hero-title { font-family: var(--serif); font-size: clamp(44px, 7.5vw, 112px); line-height: 1.2; font-weight: 400; letter-spacing: -.02em; color: var(--text-main); margin-bottom: 32px; }
.hero-sub { font-family: var(--serif); font-size: clamp(20px, 2vw, 28px); line-height: 1.5; font-weight: 700; letter-spacing: -.02em; margin-bottom: 20px; }
.hero-lead { max-width: 40rem; margin-inline: auto; font-family: var(--serif); font-size: clamp(17px, 1.5vw, 20px); line-height: 2; font-weight: 300; color: var(--text-muted); }
.hero-actions { margin-top: 40px; }

/* 세부 페이지 대문 — 본원 프로그램 페이지: 왼쪽 명조 큰 제목 */
.page-hero { padding-block: 48px 64px; }
.page-hero__text { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.page-title { font-family: var(--serif); font-size: clamp(36px, 5.2vw, 72px); line-height: 1.15; font-weight: 700; letter-spacing: -.02em; color: var(--text-main); }
.page-lead { max-width: 40rem; font-size: clamp(16px, 1.3vw, 18px); line-height: 1.8; color: var(--text-muted); }
.page-note { max-width: 40rem; padding-top: 14px; border-top: 1px solid var(--border-subtle); font-size: 14px; line-height: 1.7; color: var(--text-muted); }
.crumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--text-muted); }
.crumb [aria-current] { color: var(--text-main); }
.cos-hanja { font: 500 clamp(48px, 5vw, 64px)/1 var(--serif); color: var(--accent); }
.cos-hanja--sm { font-size: 40px; }

/* 목록 · 표 */
.cos-points { display: flex; flex-direction: column; gap: 8px; }
.cos-points li { display: grid; grid-template-columns: 14px minmax(0, 1fr); gap: 8px; font-size: 15px; line-height: 1.7; color: var(--text-main); }
.cos-points li::before { content: ""; width: 6px; height: 6px; margin-top: 10px; border-radius: 50%; background: var(--accent); }
.cos-numbered { display: flex; flex-direction: column; }
.cos-numbered > li { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 2px 12px; padding: 16px 0; border-top: 1px solid var(--border-subtle); }
.cos-numbered > li:first-child { border-top: 0; padding-top: 0; }
.cos-numbered > li > .card-no { padding-top: 3px; }
.cos-numbered > li > div { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.cos-dl { display: flex; flex-direction: column; }
.cos-dl > div { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 6px 20px; padding: 14px 0; border-top: 1px solid var(--border-subtle); }
.cos-dl > div:first-child { border-top: 0; padding-top: 0; }
.cos-dl dt { font-size: 14.5px; font-weight: 700; color: var(--text-main); }
.cos-dl dd { font-size: 15px; line-height: 1.75; color: var(--text-muted); }
.cos-dl dd a { font-weight: 700; color: var(--accent); }
.cos-dl--tight > div { grid-template-columns: 44px minmax(0, 1fr); gap: 4px 10px; padding: 8px 0; }
.cos-dl--tight dt { font-size: 13.5px; color: var(--text-muted); }
.cos-dl--tight dd { font-size: 14px; line-height: 1.65; color: var(--text-main); }
.cos-muted { font-size: 13.5px; line-height: 1.7; color: var(--text-muted); }
.cos-basis { margin-top: 24px; text-align: center; font-size: 13.5px; line-height: 1.7; color: var(--text-muted); }

/* 칩 */
.cos-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.cos-chips > * { display: inline-flex; align-items: center; min-height: 34px; padding: 4px 14px; border-radius: 999px; background: var(--accent-soft); font-size: 14px; line-height: 1.3; font-weight: 500; color: var(--text-main); }
.cos-chips--line > * { background: var(--bg-surface); border: 1px solid var(--border-subtle); }
.cos-chips--tint > * { background: var(--tint); }
.cos-chips--ban > * { background: var(--accent); color: var(--text-on-accent); font-weight: 700; }
.cos-chips--avoid > * { background: transparent; border: 1.5px solid var(--accent); color: var(--accent); font-weight: 700; text-decoration: line-through; text-decoration-thickness: 1.5px; }

/* 둘로 나눈 섹션 */
.cos-split { align-items: center; }
.cos-split--top { align-items: start; }
.cos-sticky { position: sticky; top: 104px; margin-bottom: 0; }
.cos-body { display: flex; flex-direction: column; gap: 20px; }
.cos-body > p { font-size: clamp(16px, 1.3vw, 18px); line-height: 1.85; color: var(--text-main); }
.cos-body > p.cos-muted { font-size: 13.5px; color: var(--text-muted); }
.cos-sub { font-family: var(--serif); font-size: clamp(18px, 1.6vw, 22px); line-height: 1.55; font-weight: 700; letter-spacing: -.02em; color: var(--text-main); }

/* FAQ — 본원: 질문 하나가 카드 하나 */
.cos-faq { display: flex; flex-direction: column; gap: 12px; }
.cos-faq details { padding: 0; gap: 0; }
.cos-faq details:hover, .cos-faq details[open]:hover { transform: none; }
.cos-faq details[open] { box-shadow: var(--cos-shadow-lg); }
.cos-faq summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 24px; cursor: pointer; font-size: 17px; font-weight: 600; line-height: 1.5; }
.cos-faq summary::after { content: "+"; flex-shrink: 0; font-size: 24px; font-weight: 300; color: var(--accent); transition: transform .2s; }
.cos-faq details[open] summary::after { transform: rotate(45deg); }
.cos-faq .faq-a { padding: 0 24px 22px; font-size: 15px; line-height: 1.8; color: var(--text-muted); }
.cos-faq--sm summary { padding: 16px 20px; font-size: 15.5px; }
.cos-faq--sm .faq-a { padding: 0 20px 18px; font-size: 14.5px; }

/* 맺음 — 본원 CTA 카드 */
.cos-cta { align-items: center; text-align: center; gap: 20px; padding: 56px 40px; }
.cos-cta .card-body { max-width: 40rem; }
.cos-cta:hover { transform: none; border-color: var(--border-subtle); box-shadow: var(--cos-shadow-md); }

/* 주제 목차(FAQ) */
.cos-toc { gap: 6px; padding: 24px; }
.cos-toc:hover { transform: none; border-color: var(--border-subtle); box-shadow: var(--cos-shadow-md); }
.cos-toc a { display: flex; justify-content: space-between; padding: 10px 0; border-top: 1px solid var(--border-subtle); font-size: 15px; font-weight: 500; color: var(--text-muted); }
.cos-toc li:first-child a { border-top: 0; }
.cos-toc a:hover { color: var(--accent); }
.cos-toc a small { font-size: 12.5px; }
.cos-groups { display: flex; flex-direction: column; gap: 56px; }
.cos-groups > section { display: flex; flex-direction: column; gap: 20px; scroll-margin-top: 100px; }

/* 링크 목록(체질식 단계) */
.cos-linklist { display: flex; flex-direction: column; margin-top: auto; }
.cos-linklist a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--border-subtle); font-size: 15px; font-weight: 600; }
.cos-linklist a::after { content: "→"; color: var(--accent); transition: transform .2s; }
.cos-linklist a:hover { color: var(--accent); }
.cos-linklist a:hover::after { transform: translateX(3px); }

/* ── 회복기 도구 (날짜 선택 · 오늘 식사) ── */
.cos-tool { display: flex; flex-direction: column; gap: 24px; }
.cos-dayhead { display: flex; flex-direction: column; gap: 10px; padding: 20px; background: var(--deep); color: var(--surface); }
.cos-dayhead__top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.cos-dayhead__top strong { font-size: 14.5px; font-weight: 700; color: #9fd3cd; }
.cos-dayhead__top span, .cos-dayhead p { font-size: 12.5px; line-height: 1.6; color: color-mix(in srgb, var(--surface) 78%, transparent); }
.cos-dayhead p a { color: var(--surface); text-decoration: underline; text-underline-offset: 3px; }
.cos-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.cos-days .day-btn { border-radius: 12px !important; }
.cos-today { display: flex; flex-direction: column; gap: 14px; padding: 24px; }
.cos-today__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 16px; }
.cos-today__head h2 { font-size: clamp(22px, 3vw, 28px); line-height: 1.25; }
.cos-today__head span#phase-amount { font-size: 14px; font-weight: 600; color: var(--accent-highlight); }
.cos-meals { display: flex; flex-direction: column; gap: 8px; }
.cos-meals > div { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 12px; align-items: start; padding: 14px 16px; background: var(--tint); border-radius: 12px; }
.cos-meals > div.is-snack { background: var(--soft); }
.cos-meals dt { padding-top: 2px; font-size: 13.5px; font-weight: 700; color: var(--accent); }
.cos-meals dd { font-size: 16.5px; line-height: 1.55; font-weight: 500; }
.cos-tip { margin-top: 10px; padding: 12px 16px; border-left: 3px solid var(--accent); background: var(--soft); border-radius: 0 12px 12px 0; font-size: 14px; line-height: 1.7; color: var(--text-muted); }
.cos-more { margin-top: 14px; border-top: 1px solid var(--border-subtle); }
.cos-more summary { display: flex; justify-content: space-between; align-items: center; min-height: 48px; font-size: 15px; font-weight: 700; }
.cos-more summary::after { content: "+"; font-size: 22px; font-weight: 300; color: var(--accent); }
.cos-more[open] summary::after { content: "–"; }
.cos-more .cos-dl > div { grid-template-columns: minmax(0, 1fr); gap: 2px; padding: 10px 0; }
.cos-more .cos-dl > div:first-child { padding-top: 10px; border-top: 1px solid var(--border-subtle); }
.cos-more .cos-dl dd { font-size: 13.5px; }
.cos-more > p { padding: 10px 0 4px; font-size: 13.5px; line-height: 1.65; color: var(--text-muted); }
.cos-more > p strong { color: var(--text-main); }
.cos-rules2 { padding: 0 24px 24px; gap: 12px; }
.cos-rules2 .card { padding: 20px 22px; gap: 10px; }
.cos-tiles a.card { padding: 20px; gap: 10px; min-height: 132px; }
.cos-tiles .card-head b { font: 500 34px/.9 var(--serif); color: var(--accent); }
.cos-tiles .card-head span { color: var(--accent-highlight); }
.cos-tiles .card-title { font-size: 18px; }
.cos-tiles .card-body { font-size: 13px; line-height: 1.5; }

/* 회복기 안내문(인쇄되는 한 장) */
.cos-sheet { display: flex; flex-direction: column; }
.cos-sheet__head { display: flex; flex-direction: column; gap: 18px; padding: clamp(24px, 4vw, 36px) clamp(20px, 4vw, 40px) 24px; background: var(--deep); color: var(--surface); }
.cos-sheet__title { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; }
.cos-sheet__title > div { display: flex; align-items: baseline; gap: 12px; }
.cos-sheet__title b { font: 500 44px/.9 var(--serif); color: #9fd3cd; }
.cos-sheet__title h1 { font-size: clamp(24px, 3.4vw, 32px); line-height: 1.2; color: var(--surface); }
.cos-sheet__head > p { max-width: 560px; font-size: 15px; line-height: 1.7; color: color-mix(in srgb, var(--surface) 82%, transparent); }
.cos-print { height: 40px; padding: 0 18px; border: 1px solid color-mix(in srgb, var(--surface) 40%, transparent); border-radius: 999px; background: transparent; color: var(--surface); font-size: 14px; font-weight: 700; }
.cos-print:hover { background: color-mix(in srgb, var(--surface) 12%, transparent); }
.cos-sheet__sec { display: flex; flex-direction: column; gap: 14px; padding: clamp(24px, 4vw, 32px) clamp(20px, 4vw, 40px); border-top: 1px solid var(--border-subtle); }
.cos-sheet__sec:first-of-type { border-top: 0; }
.cos-sheet__sec h2 { font-size: 20px; line-height: 1.3; }
.cos-sheet__foot { display: flex; flex-direction: column; gap: 10px; padding: 20px clamp(20px, 4vw, 40px) 24px; background: var(--soft); font-size: 13px; line-height: 1.7; color: var(--text-muted); }
.cos-sheet__foot strong { color: var(--text-main); }
.cos-sheet__foot a { font-weight: 700; color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.cos-rows { display: flex; flex-direction: column; gap: 14px; }
.cos-rows > div, .cos-rows > dl > div { display: grid; grid-template-columns: minmax(0, 96px) minmax(0, 1fr); gap: 8px 14px; align-items: start; padding-bottom: 14px; border-bottom: 1px solid var(--border-subtle); }
.cos-rows dt { padding-top: 6px; font-size: 13.5px; font-weight: 700; line-height: 1.5; color: var(--accent); }
.cos-rows .is-dim { opacity: .55; }
.cos-rows .is-dim dt { color: var(--text-muted); }
.cos-rows .is-dim .cos-chips > * { background: var(--bg-surface); border: 1px solid var(--border-subtle); }
.cos-plan { display: flex; flex-direction: column; gap: 10px; }
.cos-plan > div { display: grid; grid-template-columns: minmax(0, 150px) minmax(0, 1fr); gap: 8px 20px; padding: 12px 14px; background: var(--soft); border-radius: 12px; }
.cos-plan h3 { font-size: 14px; line-height: 1.4; }
.cos-plan .cos-dl--tight > div { padding: 2px 0; border: 0; grid-template-columns: 72px minmax(0, 1fr); }
.cos-plan .cos-dl--tight dt { color: var(--accent-highlight); }
.cos-shop summary { display: flex; justify-content: space-between; align-items: center; padding-bottom: 8px; border-bottom: 1px solid var(--border-subtle); font-size: 16px; font-weight: 700; }
.cos-shop summary::after { content: "+"; font-weight: 300; color: var(--accent); }
.cos-shop[open] summary::after { content: "–"; }
.cos-shop .cos-chips { padding-top: 12px; }

/* 체질식 안내문 — 체질·단계 선택 탭 */
.cos-seg { display: grid; gap: 6px; }
.cos-seg--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cos-seg--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cos-seg a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 48px; padding: 6px 4px; border: 1px solid var(--border-subtle); border-radius: 12px;
             background: var(--bg-surface); font-size: 14px; font-weight: 700; white-space: nowrap; transition: border-color var(--cos-ease), color var(--cos-ease), transform var(--cos-ease); }
.cos-seg--4 a { min-height: 56px; }
.cos-seg a b { font: 500 15px/1 var(--serif); }
.cos-seg a:hover { border-color: var(--accent); color: var(--accent); }
.cos-seg a:active { transform: scale(.98); }
.cos-seg a[aria-selected="true"] { border-color: transparent; background: linear-gradient(135deg, var(--accent-gradient-start), var(--accent-gradient-end)); color: var(--text-on-accent); box-shadow: var(--cos-shadow-md); }
.cos-foods { display: flex; flex-direction: column; gap: 14px; }
.cos-foods > div { display: flex; flex-direction: column; gap: 8px; padding-bottom: 14px; border-bottom: 1px solid var(--border-subtle); }
.cos-foods > div:last-child { border-bottom: 0; padding-bottom: 0; }
.cos-foods dt { font-size: 13.5px; font-weight: 700; color: var(--accent); }

@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cos-sticky { position: static; }
}
@media (max-width: 720px) {
  .section { padding-block: 64px; }
  .section-header { margin-bottom: 32px; }
  .grid-2, .grid-3 { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .grid-4 { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .grid-2.cos-tiles, .grid-4.cos-keep2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .card { padding: 24px; }
  .card--flush { padding: 0; }
  .hero-title { margin-bottom: 24px; }
  .page-hero { padding-block: 32px 48px; }
  .cos-dl > div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .cos-dl--tight > div { grid-template-columns: 44px minmax(0, 1fr); }
  .cos-cta { padding: 36px 22px; }
  .cos-today { padding: 20px 16px; }
  .cos-dayhead { padding: 18px 16px 16px; }
  .cos-rules2 { padding: 0 16px 20px; }
  .cos-plan > div { grid-template-columns: minmax(0, 1fr); }
  .cos-tiles a.card { padding: 16px; }
}
@media (prefers-reduced-motion: reduce) { .card, .btn, .cos-seg a { transition: none; } .card:hover, .btn:hover, .btn:active { transform: none; } }
@media print {
  .card { box-shadow: none !important; }
  .cos-sheet { border: 0 !important; border-radius: 0 !important; }
}

/* 쪽 틀 보조 */
.cos-main { display: flex; flex-direction: column; gap: 28px; padding-block: 32px 72px; }
.page-title--sm { font-size: clamp(30px, 5vw, 44px); }
.card-badge { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-strong); font-size: 12px; font-weight: 700; letter-spacing: .04em; }
.cos-chips--links > a:hover { border-color: var(--accent); color: var(--accent); }
.cos-faqgrid { grid-template-columns: minmax(0, 280px) minmax(0, 1fr); }
.cos-toc ol { display: flex; flex-direction: column; }
@media (max-width: 720px) {
  .cos-faqgrid { grid-template-columns: minmax(0, 1fr); }
  .cos-main { padding-block: 24px 56px; gap: 24px; }
}

/* 프로그램 페이지 — 감로수 소개와 한 달 과정을 한 덩어리로 (사이 선 없음) */
#gamrosu { border-bottom: 0; }

/* 작은 담당 의료진 카드 — 웰니스 홈 .cos-strip 과 같은 부품 (2026-09-25 원장: 큰 의료진 섹션 대신) */
.cos-strip { gap: 16px; margin-top: 8px; }
.cos-strip__who { display: flex; align-items: center; gap: 16px; }
.cos-strip__who > div { display: flex; flex-direction: column; gap: 2px; }
.cos-strip__who .eyebrow { font-size: 12px; }
.cos-strip__who strong { font-family: var(--serif); font-size: 20px; font-weight: 700; letter-spacing: -.02em; }
.cos-strip__who span:last-child { font-size: 14px; color: var(--text-muted); }
.cos-strip__face { flex-shrink: 0; width: 64px; height: 64px; border-radius: 50%; overflow: hidden; background: var(--accent-soft); }
.cos-strip__face img { width: 100%; height: 100%; object-fit: cover; }
.cos-strip .row-left { gap: 12px 20px; }
.cos-strip .card-link { margin-top: 0; padding-top: 0; }
