/* 마켓지원센터 웹 시안 — 공용 스타일. 색·면은 허브 토큰(xde-marketcenter)만 쓴다 · hex 0 · 바탕 흰색. */
:root {
  --font-display: var(--p-font-sans);
  --font-body: var(--p-font-sans);
  --r-sm: 6px; --r-md: 10px; --r-lg: 16px;
  --pad: 24px; --w: 1200px;
  --shadow: 0 1px 2px color-mix(in oklab, var(--fg) 8%, transparent), 0 8px 24px color-mix(in oklab, var(--fg) 6%, transparent);
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--font-body); word-break: keep-all; line-break: strict; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
.wrap { max-width: var(--w); margin: 0 auto; padding: 0 var(--pad); }
.skip { position: absolute; left: 16px; top: -100px; z-index: 50; }
.skip:focus { top: 16px; }
h1, h2, h3 { margin: 0; letter-spacing: -0.02em; line-height: 1.25; text-wrap: balance; }
p { margin: 0; line-height: 1.65; }
.muted { color: var(--fg-muted); }
.subtle { color: var(--fg-subtle); }

/* 버튼 */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: var(--r-md); font: 600 var(--fs-body)/1 var(--font-body); text-decoration: none; border: 1px solid transparent; cursor: pointer; }
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 2px; }
.btn-primary { background: var(--accent-ink); color: var(--surface); }
.btn-primary:hover { background: color-mix(in oklab, var(--accent-ink) 85%, var(--fg)); }
.btn-ghost { background: var(--surface); color: var(--fg); border-color: var(--line); }
.btn-ghost:hover { background: var(--sunken); }
.btn-block { width: 100%; }

/* 머리 */
.site-head { position: sticky; top: 0; z-index: 20; background: color-mix(in oklab, var(--surface) 94%, transparent); border-bottom: 1px solid var(--line-soft); backdrop-filter: saturate(1.2) blur(8px); }
.site-head .wrap { display: flex; align-items: center; gap: 32px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark { display: flex; gap: 4px; align-items: center; }
.brand-mark i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.brand-mark i:last-child { background: var(--fg); }
.brand b { font-size: var(--fs-lead); letter-spacing: -0.02em; }
.brand small { font-size: var(--fs-min); color: var(--fg-subtle); margin-left: 6px; }
.gnb { display: flex; gap: 4px; margin-left: auto; }
.gnb a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: var(--r-sm); font-size: var(--fs-body); font-weight: 500; text-decoration: none; color: var(--fg-muted); }
.gnb a:hover { background: var(--sunken); color: var(--fg); }
.head-cta { display: flex; gap: 8px; }
@media (max-width: 1023px) { .gnb { display: none; } .head-cta { margin-left: auto; } }
@media (max-width: 639px) { .head-cta .btn-ghost { display: none; } .brand small { display: none; } }

/* 섹션 */
.sec { padding: 96px 0; }
.sec + .sec { border-top: 1px solid var(--line-soft); }
.sec-head { display: grid; gap: 12px; margin-bottom: 40px; max-width: 760px; }
.sec-head .kicker { font-size: var(--fs-meta); font-weight: 600; color: var(--accent-ink); }
.sec-head h2 { font-size: clamp(26px, 3.2vw, 38px); }
.sec-head p { font-size: var(--fs-lead); color: var(--fg-muted); }
@media (max-width: 639px) { .sec { padding: 64px 0; } }

/* 히어로 */
.hero { padding: 72px 0 88px; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(34px, 4.6vw, 56px); letter-spacing: -0.035em; }
.hero h1 em { font-style: normal; color: var(--accent-ink); }
.hero .lead { font-size: var(--fs-lead); color: var(--fg-muted); margin-top: 20px; max-width: 34em; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.hero-note { margin-top: 28px; display: flex; gap: 24px; flex-wrap: wrap; font-size: var(--fs-meta); color: var(--fg-subtle); }
.hero-note b { color: var(--fg); font-weight: 600; }
.hero-media { position: relative; }
.hero-media img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: var(--r-lg); }
.hero-media .frame { position: absolute; inset: 18px -18px -18px 18px; border: 1px solid var(--accent); border-radius: var(--r-lg); z-index: -1; }
.hero-media figcaption { margin-top: 26px; font-size: var(--fs-min); color: var(--fg-subtle); }
@media (max-width: 1023px) { .hero .wrap { grid-template-columns: 1fr; } .hero-media { order: -1; } .hero-media .frame { display: none; } }

/* 역할 입구 */
.roles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.role { display: grid; grid-template-rows: auto auto 1fr auto; gap: 12px; padding: 28px 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.role:hover { border-color: var(--accent); box-shadow: var(--shadow); }
.role .ic { width: 44px; height: 44px; border-radius: 50%; background: var(--sunken); display: grid; place-items: center; color: var(--accent-ink); }
.role h3 { font-size: var(--fs-h3); }
.role ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; font-size: var(--fs-body); color: var(--fg-muted); }
.role li::before { content: ""; display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); margin: 0 10px 4px 0; }
.role .go { font-size: var(--fs-meta); font-weight: 600; color: var(--accent-ink); }
.role.main { background: var(--sunken); border-color: var(--accent); }
@media (max-width: 1023px) { .roles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 639px) { .roles { grid-template-columns: 1fr; } }

/* 과정 */
.courses { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.course { display: grid; gap: 14px; align-content: start; padding: 32px 28px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }
.course.rec { border: 2px solid var(--accent-ink); }
.course .tag { justify-self: start; font-size: var(--fs-min); font-weight: 600; padding: 6px 10px; border-radius: 999px; background: var(--sunken); color: var(--accent-ink); }
.course.rec .tag { background: var(--accent-ink); color: var(--surface); }
.course h3 { font-size: var(--fs-h3-lg); }
.course .slogan { font-size: var(--fs-body); font-weight: 600; color: var(--accent-ink); }
.course .hrs { font-size: var(--fs-body); color: var(--fg-muted); padding-bottom: 14px; border-bottom: 1px solid var(--line-soft); }
.course ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; font-size: var(--fs-body); }
.course li { display: grid; grid-template-columns: 64px 1fr; gap: 8px; }
.course li span { font-size: var(--fs-min); font-weight: 600; color: var(--fg-subtle); padding-top: 2px; }
@media (max-width: 1023px) { .courses { grid-template-columns: 1fr; } }

/* 캘린더 */
.cal { display: grid; gap: 0; border-top: 1px solid var(--line); }
.cal-row { display: grid; grid-template-columns: 120px minmax(0, 1fr) 160px 140px; gap: 24px; align-items: center; padding: 22px 4px; border-bottom: 1px solid var(--line); }
.cal-date b { display: block; font-size: var(--fs-h3-lg); letter-spacing: -0.02em; }
.cal-date small { font-size: var(--fs-min); color: var(--fg-subtle); }
.cal-row h3 { font-size: var(--fs-lead); }
.cal-row p { font-size: var(--fs-meta); color: var(--fg-muted); margin-top: 4px; }
.chip { display: inline-flex; align-items: center; gap: 6px; min-height: 28px; padding: 0 10px; border-radius: 999px; font-size: var(--fs-min); font-weight: 600; background: var(--sunken); color: var(--fg-muted); white-space: nowrap; }
.chip.open { background: color-mix(in oklab, var(--moss) 16%, var(--surface)); color: var(--moss-ink); }
.chip.soon { background: color-mix(in oklab, var(--accent) 18%, var(--surface)); color: var(--accent-ink); }
.chip.done { background: color-mix(in oklab, var(--moss) 16%, var(--surface)); color: var(--moss-ink); }
.chip.warn { background: color-mix(in oklab, var(--ember) 14%, var(--surface)); color: var(--ember); }
@media (max-width: 767px) { .cal-row { grid-template-columns: 88px minmax(0, 1fr); } .cal-row .chip, .cal-row .btn { grid-column: 2; justify-self: start; } }

/* 이용 순서 */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin: 0; padding: 0; list-style: none; counter-reset: s; }
.steps li { counter-increment: s; padding: 0 24px 0 0; display: grid; gap: 10px; }
.steps li::before { content: counter(s, decimal-leading-zero); font-size: var(--fs-meta); font-weight: 700; color: var(--accent-ink); padding-bottom: 14px; border-bottom: 2px solid var(--accent); }
.steps h3 { font-size: var(--fs-lead); }
.steps p { font-size: var(--fs-body); color: var(--fg-muted); }
@media (max-width: 1023px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; } }
@media (max-width: 639px) { .steps { grid-template-columns: 1fr; } }

/* 사례 */
.cases { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.case { display: grid; gap: 12px; align-content: start; }
.case img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-md); }
.case h3 { font-size: var(--fs-lead); }
.case small { font-size: var(--fs-min); font-weight: 600; color: var(--accent-ink); }
.case p { font-size: var(--fs-meta); color: var(--fg-muted); }
@media (max-width: 1023px) { .cases { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* 자주 묻는 질문 */
.faq { display: grid; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; min-height: 64px; font-size: var(--fs-lead); font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: var(--fs-h3); font-weight: 400; color: var(--accent-ink); }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 0 20px; color: var(--fg-muted); max-width: 64ch; }

/* 마지막 행동 */
.final { background: var(--sunken); border-radius: var(--r-lg); padding: 56px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: center; }
.final h2 { font-size: clamp(24px, 3vw, 34px); }
.final p { color: var(--fg-muted); margin-top: 10px; }
@media (max-width: 767px) { .final { grid-template-columns: 1fr; padding: 32px; } }

/* 바닥 */
.site-foot { padding: 48px 0 56px; border-top: 1px solid var(--line); font-size: var(--fs-meta); color: var(--fg-subtle); }
.site-foot .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; }
.site-foot nav { display: flex; gap: 20px; flex-wrap: wrap; }
.site-foot a { text-decoration: none; display: inline-flex; min-height: 44px; align-items: center; }
@media (max-width: 767px) { .site-foot .wrap { grid-template-columns: 1fr; } }

/* ===== 프로그램 — 모듈 지도 · 조합 예시 ===== */
.mods td { vertical-align: top; }
.mods td:first-child { min-width: 120px; }
.mods td:first-child b { display: block; font-size: var(--fs-body); color: var(--accent-ink); }
.mods td:first-child small { display: block; margin-top: 4px; font-size: var(--fs-min); color: var(--fg-subtle); }
.mods ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; font-size: var(--fs-body); }
.opt { display: inline-flex; align-items: center; min-height: 22px; margin-left: 4px; padding: 0 8px; border-radius: 4px; font-size: var(--fs-min); font-weight: 600; background: var(--sunken); color: var(--fg-muted); white-space: nowrap; }
.mix tr.rec td { background: color-mix(in oklab, var(--accent) 8%, var(--surface)); }
.mix td:first-child b { display: block; }
.mix .chip { margin-top: 6px; }
.kit ol { margin: 0; padding-left: 20px; display: grid; gap: 6px; font-size: var(--fs-body); color: var(--fg-muted); }

/* ===== 앱 화면(로그인 뒤) ===== */
.app { min-height: 100vh; background: var(--bg); }
.sample { display: inline-flex; align-items: center; min-height: 24px; padding: 0 8px; border-radius: 4px; font-size: var(--fs-min); font-weight: 600; border: 1px dashed var(--line); color: var(--fg-subtle); }
.m { max-width: 430px; margin: 0 auto; padding: 0 0 96px; }
.m-top { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: 10px; padding: 14px 20px; background: var(--surface); border-bottom: 1px solid var(--line-soft); }
.m-top .who { margin-left: auto; text-align: right; font-size: var(--fs-min); color: var(--fg-subtle); }
.m-top .who b { display: block; font-size: var(--fs-body); color: var(--fg); }
.m-sec { padding: 20px; }
.m-sec + .m-sec { padding-top: 4px; }
.m-h { font-size: var(--fs-body); font-weight: 700; margin-bottom: 12px; display: flex; justify-content: space-between; align-items: baseline; }
.m-h a { font-size: var(--fs-meta); font-weight: 600; color: var(--accent-ink); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px; }
.card.hero-card { background: var(--fg); color: var(--surface); border: 0; }
.hero-card .k { font-size: var(--fs-min); color: color-mix(in oklab, var(--surface) 72%, var(--fg)); }
.hero-card h2 { font-size: var(--fs-h3); margin-top: 6px; }
.hero-card .dday { display: flex; align-items: baseline; gap: 10px; margin-top: 18px; }
.hero-card .dday b { font-size: 44px; letter-spacing: -0.03em; color: var(--accent-soft); }
.hero-card .bar { height: 6px; border-radius: 4px; background: color-mix(in oklab, var(--surface) 22%, var(--fg)); margin-top: 16px; overflow: hidden; }
.hero-card .bar i { display: block; height: 100%; background: var(--accent-soft); }
.hero-card .bar-l { display: flex; justify-content: space-between; font-size: var(--fs-min); margin-top: 8px; color: color-mix(in oklab, var(--surface) 72%, var(--fg)); }
.todo { display: grid; gap: 0; }
.todo a { display: grid; grid-template-columns: 28px 1fr auto; gap: 12px; align-items: center; min-height: 64px; padding: 0 4px; border-bottom: 1px solid var(--line-soft); text-decoration: none; font-size: var(--fs-body); }
.todo a:last-child { border-bottom: 0; }
.todo .ck { width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--line); display: grid; place-items: center; }
.todo .ck.on { background: var(--moss); border-color: var(--moss); color: var(--surface); }
.todo small { display: block; font-size: var(--fs-min); color: var(--fg-subtle); margin-top: 2px; }
.todo .due { font-size: var(--fs-min); font-weight: 600; color: var(--accent-ink); }
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.tile { display: grid; justify-items: center; gap: 8px; padding: 16px 6px; min-height: 96px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); text-decoration: none; font-size: var(--fs-meta); font-weight: 600; text-align: center; }
.tile .ic { color: var(--accent-ink); }
.spot { display: grid; grid-template-columns: 116px 1fr; gap: 16px; align-items: center; }
.spot img { width: 116px; height: 88px; object-fit: cover; border-radius: var(--r-md); border: 1px solid var(--line-soft); }
.spot b { font-size: var(--fs-h3-lg); letter-spacing: -0.02em; }
.spot p { font-size: var(--fs-meta); color: var(--fg-muted); }
.tabbar { position: fixed; bottom: 0; left: 50%; transform: translateX(-50%); width: 100%; max-width: 430px; display: grid; grid-template-columns: repeat(4, 1fr); background: var(--surface); border-top: 1px solid var(--line); padding: 6px 8px 10px; }
.tabbar a { display: grid; justify-items: center; gap: 2px; min-height: 52px; align-content: center; font-size: var(--fs-min); text-decoration: none; color: var(--fg-subtle); }
.tabbar a.on { color: var(--accent-ink); font-weight: 700; }
.field { display: grid; gap: 8px; margin-bottom: 16px; }
.field label { font-size: var(--fs-meta); font-weight: 600; }
.field input { min-height: 52px; padding: 0 14px; border: 1px solid var(--line); border-radius: var(--r-md); font: 16px var(--font-body); background: var(--surface); color: var(--fg); }
.field .hint { font-size: var(--fs-min); color: var(--fg-subtle); }
.qr-prev { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); }
.qr-prev .top { height: 8px; background: var(--accent); }
.qr-prev .body { padding: 22px 22px 18px; text-align: center; }
.qr-prev h3 { font-size: var(--fs-h3); }
.qr-prev .one { font-size: var(--fs-meta); color: var(--fg-muted); margin-top: 6px; }
.qr-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 18px; }
.qr-pair figure { margin: 0; display: grid; gap: 8px; justify-items: center; font-size: var(--fs-min); font-weight: 600; }
.qr-pair svg { width: 100%; max-width: 132px; height: auto; color: var(--fg); }
.qr-prev .foot { border-top: 1px solid var(--line-soft); padding: 12px; font-size: var(--fs-min); color: var(--fg-subtle); text-align: center; }
.big-count { display: grid; grid-template-columns: 72px 1fr 72px; align-items: center; gap: 8px; }
.big-count button { min-height: 72px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); font: 600 30px/1 var(--font-body); color: var(--fg); cursor: pointer; }
.big-count button.plus { background: var(--accent-ink); color: var(--surface); border: 0; }
.big-count .num { text-align: center; }
.big-count .num b { display: block; font-size: 52px; letter-spacing: -0.03em; }
.big-count .num small { font-size: var(--fs-min); color: var(--fg-subtle); }
.meter { display: grid; gap: 8px; }
.meter .row { display: flex; justify-content: space-between; font-size: var(--fs-meta); }
.meter .track { height: 10px; border-radius: 4px; background: var(--sunken); overflow: hidden; }
.meter .track i { display: block; height: 100%; background: var(--moss); }
.check-list { display: grid; gap: 0; }
.check-list label { display: flex; align-items: center; gap: 12px; min-height: 56px; border-bottom: 1px solid var(--line-soft); font-size: var(--fs-body); }
.check-list input { width: 24px; height: 24px; accent-color: var(--moss); }
.alert { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--r-md); background: color-mix(in oklab, var(--ember) 10%, var(--surface)); border: 1px solid color-mix(in oklab, var(--ember) 30%, var(--surface)); font-size: var(--fs-meta); }
.alert b { color: var(--ember); }

/* 기관 진행판(넓은 화면) */
.d { display: grid; grid-template-columns: 248px minmax(0, 1fr); min-height: 100vh; }
.d-nav { background: var(--surface); border-right: 1px solid var(--line); padding: 24px 16px; display: grid; align-content: start; gap: 4px; }
.d-nav .brand { padding: 4px 8px 24px; }
.d-nav a.item { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 12px; border-radius: var(--r-sm); font-size: var(--fs-body); color: var(--fg-muted); text-decoration: none; }
.d-nav a.item.on { background: var(--sunken); color: var(--fg); font-weight: 600; }
.d-main { padding: 32px 40px 56px; display: grid; gap: 24px; align-content: start; }
.d-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; }
.d-head h1 { font-size: 28px; }
.d-head p { color: var(--fg-subtle); font-size: var(--fs-meta); margin-top: 6px; }
.stepper { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 0; }
.stepper div { position: relative; padding-top: 30px; font-size: var(--fs-meta); }
.stepper div::before { content: ""; position: absolute; top: 8px; left: 0; right: 0; height: 2px; background: var(--line); }
.stepper div::after { content: ""; position: absolute; top: 1px; left: 0; width: 16px; height: 16px; border-radius: 50%; background: var(--surface); border: 2px solid var(--line); }
.stepper div.done::before, .stepper div.done::after { background: var(--moss); border-color: var(--moss); }
.stepper div.now::after { background: var(--accent-ink); border-color: var(--accent-ink); box-shadow: 0 0 0 5px color-mix(in oklab, var(--accent) 30%, transparent); }
.stepper b { display: block; font-size: var(--fs-body); }
.stepper small { color: var(--fg-subtle); }
.grid4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.kpi { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px; display: grid; gap: 6px; }
.kpi small { font-size: var(--fs-min); color: var(--fg-subtle); }
.kpi b { font-size: 32px; letter-spacing: -0.02em; }
.kpi span { font-size: var(--fs-min); color: var(--fg-muted); }
.split { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 16px; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; }
.panel h2 { font-size: var(--fs-lead); margin-bottom: 16px; }
.decide { display: grid; gap: 12px; }
.decide .it { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 12px; padding: 16px; border-radius: var(--r-md); border: 1px solid var(--line-soft); }
.decide .it.now { border: 2px solid var(--accent-ink); background: color-mix(in oklab, var(--accent) 8%, var(--surface)); }
.decide .it b { font-size: var(--fs-body); }
.decide .it p { font-size: var(--fs-min); color: var(--fg-subtle); }
.tbl-wrap { overflow-x: auto; }
table.tbl { width: 100%; border-collapse: collapse; font-size: var(--fs-meta); white-space: nowrap; }
.tbl th { text-align: left; font-size: var(--fs-min); font-weight: 600; color: var(--fg-subtle); padding: 10px 12px; border-bottom: 1px solid var(--line); }
.tbl td { padding: 14px 12px; border-bottom: 1px solid var(--line-soft); }
.files { display: grid; gap: 0; }
.files a { display: flex; justify-content: space-between; align-items: center; min-height: 52px; border-bottom: 1px solid var(--line-soft); text-decoration: none; font-size: var(--fs-body); }
.files a span { font-size: var(--fs-min); color: var(--fg-subtle); }

/* 게이트 반영(2026-11-18) — 로고 누르기 높이 44 · 진행판 반응형 · 작은 글자 13px */
.brand { min-height: 44px; }
.stepper small { display: block; font-size: var(--fs-min); }
@media (max-width: 959px) {
  .d { grid-template-columns: 1fr; }
  .d-nav { grid-auto-flow: column; grid-auto-columns: max-content; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--line); padding: 12px 16px; align-items: center; }
  .d-nav .brand { padding: 0 12px 0 4px; }
  .d-main { padding: 24px 20px 48px; }
  .d-head { flex-direction: column; align-items: flex-start; }
  .grid4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split { grid-template-columns: minmax(0, 1fr); }
  .stepper-wrap { overflow-x: auto; }
  .stepper { min-width: 640px; }
}
@media (max-width: 479px) { .d-head h1 { font-size: var(--fs-h3); } .kpi b { font-size: var(--fs-h3-lg); } }
@media (max-width: 959px) { .d { grid-template-columns: minmax(0, 1fr); } .d-nav { min-width: 0; } }
.m-h a, .site-foot a { min-width: 44px; justify-content: flex-end; }
.check-list input { width: 28px; height: 28px; }
@media (max-width: 959px) { .d-nav { display: flex; flex-wrap: wrap; overflow: visible; } .d-nav .brand { width: 100%; } }
.d-main { grid-template-columns: minmax(0, 1fr); }
.d-main > *, .panel { min-width: 0; }
.hero-media img, .case img, .spot img { height: auto; }
.spot img { height: 88px; }
.cal-row .chip { justify-self: start; }

/* ===== 메뉴별 독립 페이지(2026-11-18) ===== */
.gnb a[aria-current="page"] { color: var(--fg); background: var(--sunken); font-weight: 600; }
.mnav { display: none; position: relative; }
.mnav summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border: 1px solid var(--line); border-radius: var(--r-md); font-weight: 600; font-size: var(--fs-body); }
.mnav summary::-webkit-details-marker { display: none; }
.mnav nav { position: absolute; right: 0; top: 52px; display: grid; min-width: 200px; padding: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow); }
.mnav nav a { display: flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: var(--r-sm); text-decoration: none; font-size: var(--fs-body); }
.mnav nav a[aria-current="page"] { background: var(--sunken); font-weight: 600; }
@media (max-width: 1023px) { .mnav { display: block; } .head-cta .btn-primary { display: none; } }
.page-head { padding: 64px 0 56px; border-bottom: 1px solid var(--line-soft); }
.page-head .crumb { font-size: var(--fs-meta); color: var(--fg-subtle); margin-bottom: 18px; }
.page-head .crumb a { text-decoration: none; display: inline-flex; min-height: 44px; align-items: center; }
.page-head h1 { font-size: clamp(30px, 4vw, 48px); letter-spacing: -0.03em; }
.page-head h1 em { font-style: normal; color: var(--accent-ink); }
.page-head .lead { font-size: var(--fs-lead); color: var(--fg-muted); margin-top: 16px; max-width: 40em; }
.teasers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.teaser { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 20px; padding: 16px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.teaser:hover { border-color: var(--accent); box-shadow: var(--shadow); }
.teaser img { width: 200px; height: 150px; object-fit: cover; border-radius: var(--r-md); }
.teaser > div { display: grid; gap: 6px; align-content: center; }
.teaser small { font-size: var(--fs-min); font-weight: 600; color: var(--accent-ink); }
.teaser h3 { font-size: var(--fs-lead); }
.teaser p { font-size: var(--fs-body); color: var(--fg-muted); }
.teaser .go { font-size: var(--fs-meta); font-weight: 600; color: var(--accent-ink); }
@media (max-width: 1023px) { .teasers { grid-template-columns: 1fr; } }
@media (max-width: 539px) { .teaser { grid-template-columns: 1fr; } .teaser img { width: 100%; height: 180px; } }
.principles { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.principles div { padding: 24px 20px; border-top: 2px solid var(--accent); background: var(--surface); display: grid; gap: 10px; align-content: start; }
.principles b { font-size: var(--fs-meta); color: var(--accent-ink); }
.principles h3 { font-size: var(--fs-lead); }
.principles p { font-size: var(--fs-body); color: var(--fg-muted); }
@media (max-width: 1023px) { .principles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 539px) { .principles { grid-template-columns: 1fr; } }
.person { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 48px; align-items: start; }
.person img { width: 280px; height: 280px; object-fit: cover; border-radius: var(--r-lg); }
.person .kicker { font-size: var(--fs-meta); font-weight: 600; color: var(--accent-ink); }
.person h2 { font-size: 34px; margin: 8px 0 6px; }
.facts { list-style: none; margin: 24px 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.facts li { display: grid; grid-template-columns: 100px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line-soft); font-size: var(--fs-body); }
.facts b { color: var(--accent-ink); }
.person blockquote { margin: 0; padding: 20px 24px; background: var(--sunken); border-radius: var(--r-md); font-size: var(--fs-h3); font-weight: 700; }
@media (max-width: 767px) { .person { grid-template-columns: 1fr; } .person img { width: 100%; height: auto; aspect-ratio: 1; } }
.tt td:first-child { font-weight: 600; color: var(--accent-ink); }
.tt td[colspan] { background: var(--sunken); font-weight: 600; }
.kit { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.kit div { padding: 24px; border: 1px solid var(--line); border-radius: var(--r-lg); display: grid; gap: 10px; align-content: start; }
.kit h3 { font-size: var(--fs-lead); }
.kit p { font-size: var(--fs-body); color: var(--fg-muted); line-height: 1.8; }
@media (max-width: 1023px) { .kit { grid-template-columns: 1fr; } }
.case-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.case-row { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 32px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.case-row img { width: 320px; height: 210px; object-fit: cover; border-radius: var(--r-md); }
.case-row > div { display: grid; gap: 10px; align-content: start; }
.case-row small { font-size: var(--fs-min); font-weight: 600; color: var(--accent-ink); }
.case-row h3 { font-size: var(--fs-h3); }
.case-row p { color: var(--fg-muted); max-width: 60ch; }
.case-row .q { font-weight: 600; color: var(--fg); }
@media (max-width: 767px) { .case-row { grid-template-columns: 1fr; } .case-row img { width: 100%; height: auto; aspect-ratio: 3 / 2; } }
.world { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.world div { padding: 20px; border: 1px solid var(--line); border-radius: var(--r-md); display: grid; gap: 6px; align-content: start; }
.world small { font-size: var(--fs-min); font-weight: 600; color: var(--accent-ink); }
.world h3 { font-size: var(--fs-lead); }
.world p { font-size: var(--fs-meta); color: var(--fg-muted); }
@media (max-width: 1023px) { .world { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 16px; }
.contact .panel { display: grid; gap: 14px; align-content: start; }
.contact .btn { justify-self: start; font-size: var(--fs-h3); min-height: 56px; }
.ask { margin: 0; padding-left: 20px; display: grid; gap: 12px; color: var(--fg-muted); }
.ask b { color: var(--fg); }
@media (max-width: 767px) { .contact { grid-template-columns: 1fr; } }
.page-head .crumb a { min-width: 44px; justify-content: flex-start; }
.contact .panel p a { display: inline-flex; min-height: 44px; align-items: center; }
.page-head .crumb a { min-width: 0; padding-right: 12px; }
/* ===== 마켓문서 통합본 반영(2026-11-19) — 단계 띠 · 자료실 · 원칙 · 표 줄바꿈 ===== */
@media (max-width: 1199px) { .gnb { display: none; } .mnav { display: block; } .head-cta { margin-left: auto; } .head-cta .btn-primary { display: none; } }
.more { display: inline-flex; align-items: center; min-height: 44px; font-size: var(--fs-body); font-weight: 600; color: var(--accent-ink); text-decoration: none; }
.toc { display: flex; flex-wrap: wrap; gap: 4px 8px; padding-top: 20px; padding-bottom: 4px; }
.toc a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; font-size: var(--fs-meta); font-weight: 500; color: var(--fg-muted); text-decoration: none; }
.toc a:hover { border-color: var(--accent); color: var(--fg); }
.stagebar { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.stagebar li { display: grid; gap: 8px; align-content: start; padding: 24px; border: 1px solid var(--line); border-top: 3px solid var(--accent); border-radius: var(--r-md); background: var(--surface); }
.stagebar .k { font-size: var(--fs-meta); font-weight: 600; color: var(--accent-ink); }
.stagebar h3 { font-size: var(--fs-h3); }
.stagebar p { font-size: var(--fs-body); font-weight: 600; }
.stagebar small { font-size: var(--fs-meta); color: var(--fg-subtle); }
@media (max-width: 767px) { .stagebar { grid-template-columns: 1fr; } }
.course .q { font-size: var(--fs-body); font-weight: 600; color: var(--fg); }
.mods li { line-height: 1.5; }
.mods .no { display: inline-block; min-width: 48px; font-size: var(--fs-min); font-weight: 600; color: var(--fg-subtle); }
.mods .min { font-size: var(--fs-min); color: var(--fg-subtle); }
.mods td { white-space: normal; min-width: 260px; }
.mods td:first-child { min-width: 128px; }
.tbl.wrapcells td, .tbl.wrapcells th { white-space: normal; }
.tbl.wrapcells td { min-width: 140px; font-size: var(--fs-body); line-height: 1.5; }
.tbl.wrapcells td:first-child { min-width: 120px; }
.tbl caption { text-align: left; font-size: var(--fs-lead); font-weight: 700; padding-bottom: 8px; }
.kit h3 .cnt, .shelf-card small { font-size: var(--fs-min); font-weight: 600; color: var(--fg-subtle); }
.codes { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; font-size: var(--fs-body); }
.codes li { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 8px; padding: 8px 0; border-bottom: 1px solid var(--line-soft); }
.codes li span { font-size: var(--fs-min); font-weight: 600; color: var(--accent-ink); padding-top: 2px; }
.codes.cols2 { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; }
.codes.inline li { grid-template-columns: 72px minmax(0, 1fr); }
@media (max-width: 767px) { .codes.cols2 { grid-template-columns: 1fr; } }
.kit.tools ul { margin: 0; }
.shelf { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.shelf-card { display: grid; gap: 8px; align-content: start; padding: 24px 20px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.shelf-card:hover { border-color: var(--accent); box-shadow: var(--shadow); }
.shelf-card b { font-size: 28px; line-height: 1; color: var(--accent-ink); }
.shelf-card h3 { font-size: var(--fs-h3); }
.shelf-card p { font-size: var(--fs-body); color: var(--fg-muted); }
.shelf-card .who { font-size: var(--fs-min); font-weight: 600; color: var(--fg-subtle); }
@media (max-width: 1023px) { .shelf { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 479px) { .shelf { grid-template-columns: 1fr; } }
.shelf-mini { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 8px; }
.shelf-mini a { display: grid; gap: 6px; align-content: start; padding: 16px 14px; min-height: 44px; border: 1px solid var(--line); border-radius: var(--r-md); text-decoration: none; }
.shelf-mini a:hover { border-color: var(--accent); }
.shelf-mini b { font-size: var(--fs-h3); line-height: 1; color: var(--accent-ink); }
.shelf-mini span { font-size: var(--fs-body); font-weight: 700; }
.shelf-mini small { font-size: var(--fs-min); color: var(--fg-subtle); }
@media (max-width: 1023px) { .shelf-mini { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 479px) { .shelf-mini { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.principles small { font-size: var(--fs-min); font-weight: 600; color: var(--fg-subtle); }
.five { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.five div { padding: 24px 20px; display: grid; gap: 10px; align-content: start; background: var(--surface); }
.five div + div { border-left: 1px solid var(--line-soft); }
.five b { font-size: var(--fs-h3); color: var(--accent-ink); }
.five p { font-size: var(--fs-body); }
@media (max-width: 1023px) { .five { grid-template-columns: 1fr; } .five div + div { border-left: 0; border-top: 1px solid var(--line-soft); } }
.pull { margin: 32px 0 0; padding: 24px 28px; background: var(--sunken); border-left: 3px solid var(--accent); border-radius: var(--r-md); font-size: var(--fs-lead); font-weight: 600; line-height: 1.6; }
.pull cite { display: block; margin-top: 10px; font-size: var(--fs-meta); font-style: normal; font-weight: 500; color: var(--fg-subtle); }
.pull.sm { font-size: var(--fs-body); margin-top: 20px; }
.twocol { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; }
.twocol > div { display: grid; gap: 12px; align-content: start; }
.twocol h3 { font-size: var(--fs-h3); }
.numlist { margin: 8px 0 0; padding: 0; list-style: none; counter-reset: n; display: grid; gap: 0; border-top: 1px solid var(--line); }
.numlist li { counter-increment: n; display: grid; grid-template-columns: 36px minmax(0, 1fr); column-gap: 8px; row-gap: 4px; padding: 14px 0; border-bottom: 1px solid var(--line-soft); }
.numlist li::before { content: counter(n); grid-row: span 2; font-size: var(--fs-lead); font-weight: 700; color: var(--accent-ink); }
.numlist b { font-size: var(--fs-lead); }
.numlist span { font-size: var(--fs-body); color: var(--fg-muted); }
.note { font-size: var(--fs-meta); }
@media (max-width: 1023px) { .twocol { grid-template-columns: 1fr; } }
.manuals { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.manuals > div { padding: 24px 20px; border: 1px solid var(--line); border-radius: var(--r-lg); display: grid; gap: 8px; align-content: start; }
.manuals h3 { font-size: var(--fs-lead); }
.manuals .who { font-size: var(--fs-meta); font-weight: 600; color: var(--accent-ink); }
.manuals ol { margin: 4px 0 0; padding-left: 20px; display: grid; gap: 6px; font-size: var(--fs-body); color: var(--fg-muted); }
@media (max-width: 1023px) { .manuals { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 639px) { .manuals { grid-template-columns: 1fr; } }
.steps.seven, .steps.five-steps { row-gap: 32px; }
.steps.five-steps { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 1023px) { .steps.five-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 639px) { .steps.five-steps { grid-template-columns: 1fr; } }
.ask li { line-height: 1.55; }
.contact .panel h2 + p.muted { font-size: var(--fs-body); }
.page-head .crumb a { min-width: 44px; }
.kit h3 .cnt { font-size: var(--fs-meta); font-weight: 500; letter-spacing: 0.01em; margin-left: 4px; }
