/* ==========================================================================
   신청 · 내 신청 관리 · 제휴 문의 — 단계형 화면 (시안 v3 "지원 신청 4단계")
   휴대폰: 위 막대 + 진행 막대 + 아래 고정 버튼 / PC: 왼쪽 단계 목록 + 오른쪽 폼
   ========================================================================== */
.flow { min-height: 100svh; display: flex; flex-direction: column; }
.flow-hd { position: sticky; top: 0; z-index: var(--z-header); background: rgba(244, 242, 238, .94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: var(--bw) solid var(--line); }
.flow-hd__in { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; height: 60px; gap: var(--sp-3); }
.flow-hd__title { font-size: 15.5px; font-weight: var(--fw-bold); text-align: center; white-space: nowrap; }
.flow-hd__back { justify-self: start; display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 var(--sp-2) 0 0; border: 0; background: none; font-size: var(--fs-xs); font-weight: var(--fw-medium); color: var(--fg); }
.flow-hd .logo { justify-self: start; }
.flow-hd .logo .logo__mark { width: 31px; height: 24px; }
.flow-hd .wm b { font-size: 13px; }
.flow-hd__step { justify-self: end; font-size: var(--fs-2xs); font-weight: var(--fw-bold); }
.flow-hd__step em { font-style: normal; color: var(--fg-muted); }
.flow-hd .steps { padding-bottom: 0; }

.flow-body { flex: 1; display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: var(--sp-16); padding-block: var(--sp-12) 140px; align-items: start; }
.flow-body--single { grid-template-columns: minmax(0, 1fr); max-width: calc(var(--wrap-narrow) + var(--gutter) * 2); }
.flow-side { position: sticky; top: 100px; }
.flow-side ol { border-top: var(--bw) solid var(--line-strong); }
.flow-side li { display: grid; grid-template-columns: 32px 1fr; padding: 14px 0; border-bottom: var(--bw) solid var(--line); font-size: var(--fs-sm); color: var(--fg-muted); }
.flow-side li span { font-size: var(--fs-3xs); font-weight: var(--fw-bold); padding-top: 3px; }
.flow-side li.is-current { color: var(--fg); font-weight: var(--fw-bold); }
.flow-side li.is-current span { color: var(--accent-text); }
.flow-side li.is-done { color: var(--fg); }
.flow-side li.is-done span::after { content: " ✓"; }
.flow-side__note { margin-top: var(--sp-6); font-size: var(--fs-xs); color: var(--fg-muted); line-height: 1.7; }
.flow-main { min-width: 0; max-width: 680px; }
.flow-main h1 { margin: var(--sp-3) 0 var(--sp-3); }
.flow-main .ty-lede { margin-bottom: var(--sp-8); }
.flow-section + .flow-section { margin-top: var(--sp-10); padding-top: var(--sp-10); border-top: var(--bw) solid var(--line); }
.flow-section > h2 { margin-bottom: var(--sp-5); font-size: var(--fs-h4); font-weight: var(--fw-black); }
.flow-fields { display: grid; gap: var(--sp-6); }
.flow-fields--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 560px) { .flow-fields--2 { grid-template-columns: minmax(0, 1fr); } }
.flow-ft { position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-mbar); background: rgba(244, 242, 238, .96); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-top: var(--bw) solid var(--line); padding: 12px 0 calc(12px + env(safe-area-inset-bottom, 0px)); }
.flow-ft__in { display: flex; justify-content: flex-end; gap: var(--sp-2); }
.flow-ft__msg { margin-right: auto; align-self: center; font-size: var(--fs-xs); color: var(--fg-muted); }
.flow-ft .btn { --btn-h: 52px; font-size: 15px; }
.flow-ft .btn--primary { min-width: 200px; }
.flow-saved { margin-top: var(--sp-5); font-size: var(--fs-xs); color: var(--c-ok); }
.flow-tips { margin-top: var(--sp-5); border-top: var(--bw) solid var(--line); }
.flow-tips li { padding: 12px 0; border-bottom: var(--bw) solid var(--line); font-size: 13.5px; }
.flow-photo-text { font-size: var(--fs-sm); line-height: 1.8; color: var(--fg-muted); white-space: pre-line; margin-bottom: var(--sp-6); }
.flow-done { text-align: left; }
.flow-done__no { display: inline-flex; align-items: center; gap: var(--sp-3); margin: var(--sp-6) 0; padding: var(--sp-4) var(--sp-5); border: var(--bw) solid var(--line-strong); background: var(--bg-raised); }
.flow-done__no b { font-family: var(--font-wide); font-stretch: 112%; font-size: 26px; font-weight: var(--fw-heavy); letter-spacing: .02em; }
.flow-card { padding: var(--sp-6); background: var(--bg-raised); border: var(--bw) solid var(--line); }
.flow-card + .flow-card { margin-top: var(--sp-4); }
.flow-card__head { display: flex; justify-content: space-between; align-items: flex-start; gap: var(--sp-3); margin-bottom: var(--sp-4); }
.flow-card__no { font-family: var(--font-wide); font-stretch: 112%; font-size: 20px; font-weight: var(--fw-heavy); }
.pub-status { display: grid; grid-template-columns: repeat(3, 1fr); margin: var(--sp-4) 0; border-top: var(--bw-strong) solid var(--line); }
.pub-status span { padding-top: var(--sp-3); font-size: var(--fs-2xs); color: var(--fg-muted); position: relative; }
.pub-status span.is-on { color: var(--fg); font-weight: var(--fw-bold); }
.pub-status span.is-on::before { content: ""; position: absolute; left: 0; right: 0; top: -2px; height: 2px; background: var(--accent); }
@media (max-width: 900px) {
  .flow-body { grid-template-columns: minmax(0, 1fr); gap: 0; padding-block: var(--sp-8) 130px; }
  .flow-side { display: none; }
  .flow-ft .btn--primary { min-width: 0; flex: 1; }
  .flow-ft__msg { display: none; }
}
@media (max-width: 560px) { .flow-hd .wm { display: none; } }   /* 좁은 화면: 위 막대는 심볼만 — 제목과 겹치지 않게 */
