/* 인썸 1:1 / 범혁 1:1 신청 폼 공통 스타일. 원본: 데스크탑/인썸1:1 설문지/index.html의 <style>
   블록을 그대로 옮겨 두 신청 폼이 공유한다. 브랜드색만 각 apply.html의 :root 변수로 덮어쓴다. */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}
html, body { width: 100%; }
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: #EFEDEC;
    color: #2A2A2A;
    word-break: keep-all;
}
:root {
    --brand: #FF6B9D;
    --brand-dark: #E85A8F;
    --brand-tint: #FFF3F7;
    --brand-tint2: #FFEBF2;
}
.page { max-width: 480px; margin: 0 auto; min-height: 100vh; background: #EFEDEC; position: relative; }
@media (min-width: 481px) {
    body { background: #E4E2E0; }
    .page { box-shadow: 0 0 24px rgba(0,0,0,0.08); background: #EFEDEC; }
}

.hero-photo-wrap { position: relative; width: 100%; height: 370px; overflow: hidden; background: #1A1518; margin-bottom: 16px; }
.hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 79%; }
.hero-photo-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0.12) 0%, rgba(0,0,0,0.20) 45%, rgba(0,0,0,0.72) 100%); }
.hero-photo-content { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: space-between; padding: 24px 24px 28px; }
.hero-brand { display: flex; flex-direction: column; align-items: flex-start; }
.hero-brand-label { font-size: 12px; font-weight: 800; color: #FFE1EC; letter-spacing: 0.07em; margin-bottom: 6px; }
.hero-brand-accent { width: 22px; height: 3px; background: var(--brand); border-radius: 2px; }
.hero-title { font-size: 30px; font-weight: 800; line-height: 1.3; color: #FFFFFF; letter-spacing: -0.01em; text-shadow: 0 1px 10px rgba(0,0,0,0.3); margin-bottom: 14px; }
.hero-sub-desc { font-size: 16px; font-weight: 500; color: rgba(255,255,255,0.82); line-height: 1.6; }

.step-indicator { position: sticky; top: 0; z-index: 30; display: flex; align-items: flex-start; justify-content: center; background: #EFEDEC; padding: 10px 16px 12px; box-shadow: 0 1px 0 rgba(0,0,0,0.06); }
.step-item { display: flex; flex-direction: column; align-items: center; gap: 5px; width: 68px; flex-shrink: 0; }
.step-dot { width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid #D8D5D3; background: #fff; color: #999; font-size: 11.5px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.step-name { font-size: 10.5px; color: #999; }
.step-item.active .step-dot { background: var(--brand); border-color: var(--brand); color: #fff; }
.step-item.active .step-name { color: var(--brand-dark); font-weight: 700; }
.step-item.done .step-dot { background: var(--brand); border-color: var(--brand); color: #fff; }
.step-item.done .step-name { color: var(--brand-dark); }
.step-line { flex: 0 0 20px; height: 1px; background: #D8D5D3; margin: 12px 2px 0; }
.step-line.done { background: var(--brand); }

.container { padding: 14px 16px; padding-bottom: 108px; }

.step-panel { display: none; opacity: 0; transform: translateY(6px); transition: opacity 0.18s ease, transform 0.18s ease; }
.step-panel.in { opacity: 1; transform: translateY(0); }
.step-heading { font-size: 15px; font-weight: 800; color: #2A2A2A; margin: 2px 2px 8px; }
.step-desc { font-size: 12.5px; color: #666; line-height: 1.6; margin: 0 2px 14px; }
.step-sub { font-size: 14px; font-weight: 700; color: var(--brand-dark); margin: 2px 2px 12px; }
.mini-heading { font-size: 14px; font-weight: 800; color: #2A2A2A; margin: 18px 2px 4px; }
.mini-desc { font-size: 12px; color: #999; margin: 0 2px 10px; line-height: 1.5; }

.notice-box { background: var(--brand-tint); border: 1px solid #FFD6E4; border-radius: 12px; padding: 14px 16px; margin-bottom: 14px; }
.notice-box-title { font-size: 13px; font-weight: 800; color: var(--brand-dark); margin-bottom: 6px; }
.notice-box p, .notice-box li { font-size: 12px; color: #7a5266; line-height: 1.7; }
.notice-box ul { margin: 6px 0 0 0; padding-left: 18px; }

.form-section { background: white; border-radius: 12px; padding: 18px; margin-bottom: 10px; box-shadow: 0 1px 4px rgba(0,0,0,0.06); }
.section-num { font-size: 13px; font-weight: 700; color: var(--brand-dark); margin-bottom: 10px; line-height: 1.5; }
.vis-public, .vis-private { display: block; font-size: 11px; font-weight: 500; margin-top: 2px; }
.vis-public { color: #3E9C6E; }
.vis-private { color: #999; }

input[type="text"], input[type="tel"], textarea, select.field-select {
    width: 100%; padding: 15px 14px; border: 1px solid #E0DEDC; border-radius: 10px;
    font-size: 16px; font-family: inherit; background: white; -webkit-appearance: none; min-height: 52px;
}
input:focus, textarea:focus, select.field-select:focus { outline: none; border-color: var(--brand); background: #FFFBFC; }
textarea { resize: none; line-height: 1.5; }
.form-help { font-size: 11.5px; color: #999; margin-top: 8px; line-height: 1.55; }

.field-error { display: none; color: #E5397A; font-size: 12px; margin-top: 8px; }
.field-error.show { display: block; }
input.input-error, textarea.input-error, select.field-select.input-error { border-color: #E5397A; background: #FFF6F8; }

.select-wrap { position: relative; }
select.field-select { appearance: none; -moz-appearance: none; -webkit-appearance: none; padding-right: 40px; color: #2A2A2A; cursor: pointer; }
select.field-select.placeholder { color: #999; }
.select-wrap::after { content: ''; position: absolute; right: 16px; top: 50%; width: 8px; height: 8px; border-right: 2px solid #999; border-bottom: 2px solid #999; transform: translateY(-65%) rotate(45deg); pointer-events: none; }

.choice-group { display: flex; gap: 8px; }
.choice-btn { flex: 1; padding: 15px 10px; min-height: 54px; border-radius: 10px; border: 1px solid #E0DEDC; background: #fff; font-size: 15px; font-weight: 600; color: #2A2A2A; text-align: center; cursor: pointer; font-family: inherit; }
.choice-btn.selected { background: var(--brand); color: #fff; border-color: var(--brand); }
.choice-btn:active { transform: scale(0.98); }

.choice-stack { display: flex; flex-direction: column; gap: 8px; }
.choice-btn-full { width: 100%; padding: 14px; min-height: 52px; border-radius: 10px; border: 1px solid #E0DEDC; background: #fff; font-size: 14.5px; font-weight: 600; color: #2A2A2A; text-align: left; cursor: pointer; font-family: inherit; }
.choice-btn-full.selected { background: var(--brand); color: #fff; border-color: var(--brand); }
.choice-btn-full:active { transform: scale(0.99); }

.conditional-block { display: none; opacity: 0; transform: translateY(-6px); transition: opacity 0.2s ease, transform 0.2s ease; }
.conditional-block.in { opacity: 1; transform: translateY(0); }

.input-suffix-wrap { position: relative; }
.input-suffix-wrap input { padding-right: 46px; }
.input-suffix { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); font-size: 14px; color: #999; pointer-events: none; }

.char-counter { text-align: right; font-size: 11px; color: #999; margin-top: 6px; }

.example-box { background: #F8F6F5; border-radius: 10px; padding: 12px 14px; margin-top: 10px; }
.example-box-title { font-size: 12px; font-weight: 700; color: var(--brand-dark); margin-bottom: 8px; }
.example-box p { font-size: 11.5px; color: #888; line-height: 1.6; }
.intro-guide { background: var(--brand-tint); border-radius: 10px; padding: 10px 14px; margin-bottom: 10px; }
.intro-guide-item { font-size: 11.5px; color: #A6577A; line-height: 1.8; font-weight: 600; }

.chip-group { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.chip { padding: 12px 6px; border-radius: 10px; border: 1px solid #E0DEDC; background: #fff; font-size: 13px; color: #666; cursor: pointer; font-family: inherit; text-align: center; }
.chip.selected { background: var(--brand); color: #fff; border-color: var(--brand); font-weight: 700; }
.chip-hint { display: none; font-size: 12px; color: #E5397A; margin-top: 10px; background: var(--brand-tint2); padding: 8px 10px; border-radius: 8px; }
.chip-hint.show { display: block; }
.vis-inline { font-weight: 500; }
.vis-inline.pub { color: #3E9C6E; }
.vis-inline.priv { color: #999; }
.job-detail-block { padding-top: 14px; border-top: 1px dashed #E5E1DE; }
.job-detail-label { font-size: 12px; color: #777; font-weight: 600; margin-bottom: 8px; }

.keyword-cat-label { font-size: 12px; font-weight: 700; color: #999; margin: 12px 0 8px; }
.keyword-cat-label:first-child { margin-top: 0; }
.chip-wrap { display: flex; flex-wrap: wrap; gap: 6px; }
.chip-sm { padding: 8px 12px; border-radius: 20px; border: 1px solid #E0DEDC; background: #fff; font-size: 12.5px; color: #666; cursor: pointer; font-family: inherit; }
.chip-sm.selected { background: var(--brand); color: #fff; border-color: var(--brand); font-weight: 700; }

.range-readout { font-size: 18px; font-weight: 800; color: #2A2A2A; text-align: center; margin-bottom: 6px; }
.range-slider { position: relative; height: 44px; margin: 6px 10px 4px; touch-action: none; }
.range-slider.disabled { opacity: 0.4; pointer-events: none; }
.range-track { position: absolute; top: 50%; left: 0; right: 0; height: 4px; background: #E5E1DE; border-radius: 3px; transform: translateY(-50%); }
.range-fill { position: absolute; top: 0; height: 100%; background: var(--brand); border-radius: 3px; }
.range-thumb { position: absolute; top: 50%; width: 24px; height: 24px; margin-left: -12px; border-radius: 50%; background: var(--brand); border: 3px solid #fff; box-shadow: 0 1px 5px rgba(0,0,0,0.28); transform: translateY(-50%); touch-action: none; cursor: grab; z-index: 2; }
.range-thumb::after { content: ''; position: absolute; top: -14px; left: -14px; right: -14px; bottom: -14px; }

.any-check-row { display: flex; align-items: center; gap: 8px; cursor: pointer; padding: 2px 0; }
.any-check-row input { width: 20px; height: 20px; accent-color: var(--brand); cursor: pointer; flex-shrink: 0; }
.any-check-row span { font-size: 12.5px; color: #666; }

.multiselect.disabled .multiselect-trigger { opacity: 0.5; pointer-events: none; }
.multiselect-trigger { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 15px 14px; min-height: 52px; border: 1px solid #E0DEDC; border-radius: 10px; background: #fff; font-size: 14px; color: #2A2A2A; font-family: inherit; cursor: pointer; }
.ms-summary.placeholder { color: #999; }
.ms-chevron { color: #999; font-size: 11px; transition: transform 0.15s ease; flex-shrink: 0; margin-left: 8px; }
.multiselect-trigger.open .ms-chevron { transform: rotate(180deg); }
.multiselect-panel { margin-top: 8px; border: 1px solid #E0DEDC; border-radius: 10px; padding: 4px; max-height: 280px; overflow-y: auto; background: #fff; }
.ms-option { display: flex; align-items: center; gap: 10px; padding: 11px 10px; cursor: pointer; font-size: 13.5px; }
.ms-option input { width: 20px; height: 20px; accent-color: var(--brand); cursor: pointer; flex-shrink: 0; }

.photo-slot { margin-bottom: 16px; }
.photo-slot:last-child { margin-bottom: 0; }
.photo-slot-label { font-size: 12.5px; font-weight: 700; color: #2A2A2A; margin-bottom: 8px; }
.photo-upload-sm { border: 1.5px dashed #F0B9CE; border-radius: 10px; padding: 14px; text-align: center; cursor: pointer; background: var(--brand-tint); font-size: 12.5px; color: var(--brand-dark); font-weight: 700; }
.photo-upload-sm:active { border-color: var(--brand); background: var(--brand-tint2); }
.photo-preview-sm { display: flex; margin-top: 10px; }
.photo-preview-sm .photo-item { width: 96px; }
.photo-item { position: relative; aspect-ratio: 1; background: #F5F3F2; border-radius: 8px; overflow: hidden; border: 1px solid #E0DEDC; }
.photo-item img { width: 100%; height: 100%; object-fit: cover; }
.photo-remove { position: absolute; top: 4px; right: 4px; background: rgba(0,0,0,0.55); color: white; border: none; width: 20px; height: 20px; border-radius: 50%; cursor: pointer; font-size: 12px; display: flex; align-items: center; justify-content: center; }
.doc-chip { display: inline-flex; align-items: center; padding: 10px 12px; background: #F5F3F2; border-radius: 8px; font-size: 12.5px; color: #555; }
.doc-chip .photo-remove { position: static; margin-left: 10px; }

.reels-card { background: var(--brand-tint); border: 1px solid #FFD6E4; box-shadow: none; }
.reels-row { display: flex; align-items: flex-start; gap: 10px; }
.reels-row input[type="checkbox"] { width: 21px; height: 21px; margin-top: 1px; cursor: pointer; accent-color: var(--brand); flex-shrink: 0; }
.reels-title { font-size: 13px; font-weight: 800; color: var(--brand-dark); margin-bottom: 6px; }
.reels-label { font-size: 13.5px; font-weight: 700; color: #2A2A2A; line-height: 1.5; cursor: pointer; display: block; margin-bottom: 8px; }
.reels-desc { font-size: 11.5px; color: #999; line-height: 1.65; }

.consent-row { display: flex; align-items: flex-start; gap: 10px; padding: 10px 0; }
.consent-row + .consent-row { border-top: 1px solid #F0EEEC; }
.consent-row input[type="checkbox"] { width: 21px; height: 21px; margin-top: 1px; cursor: pointer; accent-color: var(--brand); flex-shrink: 0; }
.consent-text { flex: 1; }
.consent-label { font-size: 13px; color: #2A2A2A; line-height: 1.5; cursor: pointer; display: block; }
.consent-tag { font-size: 11px; font-weight: 800; color: var(--brand); margin-right: 4px; }
.consent-tag.optional { color: #999; }
.consent-toggle { font-size: 11px; color: #999; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; background: none; border: none; padding: 4px 0 0; font-family: inherit; }
.consent-detail-body { display: none; font-size: 11px; color: #999; line-height: 1.6; margin-top: 8px; background: #F8F6F5; padding: 10px; border-radius: 8px; }
.consent-detail-body.show { display: block; }
.legal-todo { display: block; font-size: 10.5px; color: #C22A5D; margin-top: 6px; }

/* 동의 상세 [보기] — 모바일: 하단에서 올라오는 bottom sheet, PC(481px~): 중앙 모달.
   요구사항(2026-09) — .consent-detail-body는 더 이상 인라인으로 펼치지 않고, 그 안의
   내용을 이 오버레이로 그대로 옮겨서 보여준다(콘텐츠 소스는 그대로 재사용). */
.consent-sheet-backdrop { position: fixed; inset: 0; background: rgba(20,16,15,0.5); z-index: 2000; display: flex; align-items: flex-end; justify-content: center; opacity: 0; pointer-events: none; transition: opacity 0.2s ease; }
.consent-sheet-backdrop.show { opacity: 1; pointer-events: auto; }
.consent-sheet { position: relative; background: #fff; width: 100%; max-width: 480px; max-height: 78vh; border-radius: 18px 18px 0 0; padding: 22px 20px; padding-bottom: max(22px, env(safe-area-inset-bottom)); overflow-y: auto; -webkit-overflow-scrolling: touch; transform: translateY(100%); transition: transform 0.22s cubic-bezier(0.22,1,0.36,1); box-shadow: 0 -8px 30px rgba(0,0,0,0.18); }
.consent-sheet-backdrop.show .consent-sheet { transform: translateY(0); }
.consent-sheet-handle { width: 36px; height: 4px; border-radius: 3px; background: #E0DEDC; margin: 0 auto 14px; }
.consent-sheet-title { font-size: 15px; font-weight: 800; color: #2A2A2A; margin-bottom: 12px; padding-right: 30px; line-height: 1.4; }
.consent-sheet-close { position: absolute; top: 16px; right: 16px; width: 28px; height: 28px; border-radius: 50%; background: #F5F3F2; color: #666; font-size: 15px; display: flex; align-items: center; justify-content: center; cursor: pointer; border: none; }
.consent-sheet-body { font-size: 13px; color: #555; line-height: 1.75; }
.consent-sheet-body b { color: #2A2A2A; }
.consent-sheet-body .legal-todo { font-size: 11px; margin-top: 10px; }
@media (min-width: 481px) {
    .consent-sheet-backdrop { align-items: center; padding: 24px; }
    .consent-sheet { border-radius: 16px; max-height: 70vh; transform: translateY(12px) scale(0.98); transition: transform 0.18s ease, opacity 0.18s ease; opacity: 0; box-shadow: 0 16px 48px rgba(0,0,0,0.22); }
    .consent-sheet-backdrop.show .consent-sheet { transform: translateY(0) scale(1); opacity: 1; }
    .consent-sheet-handle { display: none; }
}

.button-group { position: fixed; bottom: 0; left: 50%; transform: translateX(-50%); width: 100%; max-width: 480px; display: flex; gap: 8px; padding: 12px 16px; background: white; border-top: 1px solid #EDEBE9; z-index: 999; }
button { border: none; border-radius: 10px; font-size: 15px; font-weight: 700; cursor: pointer; -webkit-appearance: none; font-family: inherit; }
.btn-prev { flex: 0 0 92px; padding: 15px 8px; background: #F5F3F2; color: #666; border: 1px solid #E0DEDC; min-height: 52px; }
.btn-prev:active { background: #EDEAE8; }
.btn-next { flex: 1; padding: 15px; background: var(--brand); color: white; min-height: 52px; }
.btn-next:active { background: var(--brand-dark); transform: scale(0.98); }
.btn-next:disabled { opacity: 0.5; }

.loading { display: none; text-align: center; padding: 70px 20px 120px; }
.spinner { border: 3px solid var(--brand-tint2); border-top: 3px solid var(--brand); border-radius: 50%; width: 40px; height: 40px; animation: spin 1s linear infinite; margin: 0 auto 16px; }
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

.success-message { display: none; text-align: center; padding: 56px 24px 120px; }
.success-icon { width: 64px; height: 64px; border-radius: 50%; background: var(--brand); color: #fff; font-size: 30px; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; }
.success-text { font-size: 16px; font-weight: 800; color: #2A2A2A; margin-bottom: 14px; }
.success-detail { font-size: 13px; color: #666; line-height: 1.7; }

.error-message { background: #FFEBEE; border-left: 3px solid #E5397A; color: #C22A5D; padding: 12px; border-radius: 8px; margin: 0 16px 12px; display: none; font-size: 12.5px; }
.error-message.show { display: block; }

@supports (padding: max(0px)) {
    .button-group { padding-bottom: max(12px, env(safe-area-inset-bottom)); }
    .container { padding-bottom: calc(108px + max(12px, env(safe-area-inset-bottom))); }
}

/* ---------- 범혁 1:1 — 마지막 단계 "신청 전 확인"(2026-09 v2): 동의 3줄 + 선택 1줄, 상세는 "보기" 시트 ---------- */
.final-head { margin: 28px 2px 12px; padding-top: 20px; border-top: 1px solid #EDEBF3; }
.final-title { font-size: 16px; font-weight: 800; color: #2A2A2A; margin: 0 0 4px; }
.final-desc { font-size: 13px; color: #888; margin: 0; line-height: 1.55; }
.agree-card { background: white; border-radius: 14px; padding: 6px 16px; box-shadow: 0 1px 4px rgba(0,0,0,0.06); margin-bottom: 10px; }
.agree-row { display: flex; align-items: flex-start; gap: 10px; padding: 14px 0 12px; min-width: 0; }
.agree-row input[type="checkbox"] { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--brand); }
.agree-label { flex: 1 1 auto; min-width: 0; font-size: 14px; font-weight: 600; color: #2A2A2A; line-height: 1.45; cursor: pointer; overflow-wrap: anywhere; word-break: keep-all; }
.agree-tag { display: inline-block; margin-right: 6px; padding: 0 6px; border-radius: 5px; font-size: 11px; font-weight: 800; line-height: 1.7; vertical-align: 1px; color: var(--brand-dark); background: var(--brand-tint); }
.agree-tag.opt { color: #8A8A8A; background: #F2F2F4; }
.agree-view { flex: none; align-self: center; border: none; background: none; padding: 6px 0 6px 6px; font: inherit; font-size: 12.5px; color: #8A8A8A; cursor: pointer; white-space: nowrap; }
.agree-view span { font-size: 15px; vertical-align: -1px; }
.agree-view:hover { color: var(--brand-dark); }
.agree-sub { margin: -6px 0 12px 30px; font-size: 12px; color: #8A8A8A; line-height: 1.55; overflow-wrap: anywhere; word-break: keep-all; }
.agree-row.small .agree-label { font-size: 13px; font-weight: 500; color: #555; }
.agree-row.small + .agree-sub { margin-top: -8px; }
.agree-div { height: 1px; background: #F0EEF4; }
.agree-err { margin: -6px 0 10px 30px; }
.agree-submit-hint { position: fixed; bottom: 76px; left: 50%; transform: translateX(-50%); width: 100%; max-width: 480px; margin: 0; padding: 6px 16px; font-size: 12px; color: #8A8A8A; text-align: center; background: rgba(255,255,255,0.94); z-index: 998; }
@media (max-width: 600px) { .agree-submit-hint { bottom: calc(76px + env(safe-area-inset-bottom)); } }
.btn-next:disabled { opacity: 0.45; cursor: not-allowed; }
/* 동의 상세 시트 — PC 가운데 모달 / 모바일 하단 시트 */
.agree-sheet-wrap { position: fixed; inset: 0; z-index: 2000; display: flex; align-items: center; justify-content: center; }
.agree-sheet-backdrop { position: absolute; inset: 0; background: rgba(20, 18, 30, 0.45); opacity: 0; transition: opacity .18s; }
.agree-sheet { position: relative; width: min(520px, calc(100% - 40px)); max-height: min(78vh, 680px); display: flex; flex-direction: column; background: white; border-radius: 16px; box-shadow: 0 20px 50px rgba(0,0,0,0.2); transform: translateY(12px); opacity: 0; transition: transform .18s, opacity .18s; }
.agree-sheet-wrap.in .agree-sheet-backdrop { opacity: 1; }
.agree-sheet-wrap.in .agree-sheet { transform: none; opacity: 1; }
.agree-sheet-head { display: flex; align-items: flex-start; gap: 10px; padding: 18px 20px 10px; border-bottom: 1px solid #F0EEF4; }
.agree-sheet-head h3 { flex: 1; min-width: 0; margin: 0; font-size: 15px; font-weight: 800; color: #2A2A2A; line-height: 1.45; word-break: keep-all; overflow-wrap: anywhere; }
.agree-sheet-x { flex: none; width: 32px; height: 32px; margin: -4px -6px 0 0; border: none; background: none; font-size: 22px; line-height: 1; color: #888; cursor: pointer; border-radius: 8px; }
.agree-sheet-body { flex: 1 1 auto; min-height: 0; overflow-y: auto; padding: 14px 20px 6px; font-size: 13.5px; line-height: 1.7; color: #444; overscroll-behavior: contain; word-break: keep-all; overflow-wrap: anywhere; }
.agree-sheet-body h4 { margin: 16px 0 4px; font-size: 13.5px; font-weight: 800; color: #2A2A2A; }
.agree-sheet-body p { margin: 0 0 8px; }
.agree-sheet-body ul { margin: 0 0 8px; padding-left: 18px; }
.agree-sheet-body .sheet-lead { color: #666; }
.agree-sheet-body .sheet-note { padding: 10px 12px; border-radius: 10px; background: #F7F6FB; font-size: 12.5px; color: #555; }
.agree-sheet-foot { padding: 10px 20px 16px; border-top: 1px solid #F0EEF4; }
.agree-sheet-close { width: 100%; min-height: 46px; border: none; border-radius: 12px; background: var(--brand); color: white; font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; }
body.agree-sheet-open { overflow: hidden; }
@media (max-width: 600px) {
  .agree-sheet-wrap { align-items: flex-end; }
  .agree-sheet { width: 100%; max-width: 480px; max-height: 82vh; border-radius: 18px 18px 0 0; transform: translateY(100%); opacity: 1; }
  .agree-sheet-foot { padding-bottom: max(16px, env(safe-area-inset-bottom)); }
}
/* 안내사항(체크 없음) — 신청 버튼 바로 위, 회색 톤 */
.agree-info { display: flex; gap: 10px; align-items: flex-start; margin: 4px 0 10px; padding: 12px 14px; border-radius: 12px; background: #F4F4F6; color: #6E6E73; font-size: 12.5px; line-height: 1.6; }
.agree-info b { display: block; font-size: 12.5px; color: #555; margin-bottom: 2px; }
.agree-info p { margin: 0; overflow-wrap: anywhere; word-break: keep-all; }
.agree-info-ic { flex: none; width: 18px; height: 18px; margin-top: 1px; border-radius: 50%; border: 1.5px solid #A0A0A8; color: #8A8A92; font-size: 11px; font-weight: 800; font-style: italic; line-height: 15px; text-align: center; font-family: Georgia, serif; }
/* 2026-09 범혁 1:1 — 매칭 제안 Instagram DM 안내(신청 마지막 단계 · 완료 화면) */
.ig-notice { margin: 4px 0 12px; padding: 14px 16px; border-radius: 14px; background: #FFF7F0; border: 1px solid #FFD9BF; color: #5A4636; font-size: 13px; line-height: 1.65; overflow-wrap: anywhere; word-break: keep-all; }
.ig-notice-title { font-size: 14.5px; font-weight: 800; color: #3A2A1E; margin-bottom: 6px; }
.ig-notice p { margin: 0 0 4px; }
.ig-notice-cta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.ig-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 0 16px; border-radius: 999px; background: linear-gradient(135deg, #F58529, #DD2A7B 55%, #8134AF); color: #fff; font-size: 13.5px; font-weight: 700; text-decoration: none; }
.ig-btn.ghost { background: #fff; color: #C13584; border: 1.5px solid #E9A8C9; }
.ig-done-note { font-size: 12.5px; color: #777; }
.success-detail .ig-btn { margin-top: 10px; }
.ig-input-note { margin-top: 8px; padding: 10px 12px; border-radius: 10px; background: #FFF7F0; color: #5A4636; font-size: 12.5px; line-height: 1.6; overflow-wrap: anywhere; word-break: keep-all; }
.ig-input-note b { color: #3A2A1E; }
.ig-input-note span { display: block; margin-top: 2px; color: #7A6556; }
/* STEP 3 안내는 설명만(버튼 없음) · 신청 완료 화면 Instagram 카드만 강조 */
.ig-notice-next { color: #9A6B45; font-weight: 600; }
.ig-done-card { margin: 18px auto 0; max-width: 420px; padding: 16px 18px; border-radius: 16px; text-align: left; background: #FFF7F0; border: 1.5px solid #FFC9A3; color: #5A4636; font-size: 13.5px; line-height: 1.65; overflow-wrap: anywhere; word-break: keep-all; }
.ig-done-title { font-size: 15px; font-weight: 800; color: #3A2A1E; margin-bottom: 6px; }
.ig-done-card p { margin: 0 0 4px; }
.ig-done-cta { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.ig-done-cta .ig-btn { width: 100%; min-height: 46px; font-size: 14.5px; }
.ig-done-hint { font-size: 12px; color: #8A7666; margin-top: 8px !important; }

/* 2026-09: Instagram 아래 필수 동의 — [보기 ›] 상세(매칭 제안 시 프로필 공개 범위) */
.consent-text .ig-consent-view { display: inline-block; padding: 4px 0 0; }
.ig-input-note span + span { margin-top: 4px; }

/* ===== 2026-09 신청서 안내 정리: 예상 소요시간 · 프로필 정보 공개 안내 · 원하는 상대 = 매칭 참고용 ===== */
.apply-eta { margin: 8px auto 0; max-width: 560px; padding: 0 16px; font-size: 12px; color: #8A8A8A; text-align: right; }
.apply-eta span { margin-right: 2px; }
.profile-info-note { margin: 0 2px 16px; padding: 12px 14px; border-radius: 12px; background: #F6F3F0; color: #5E5750; font-size: 12.5px; line-height: 1.65; word-break: keep-all; overflow-wrap: anywhere; }
.profile-info-note-title { font-weight: 700; color: #3F3934; margin-bottom: 2px; }
.profile-info-note p { margin: 0; }
.step3-note { margin: -6px 2px 14px; font-size: 12px; line-height: 1.5; word-break: keep-all; }
.agree-card-profile .agree-title { white-space: normal; line-height: 1.45; }
.agree-card-profile .agree-row { align-items: flex-start; }
.agree-card-profile .agree-view { align-self: flex-start; }
@media (max-width: 480px) { .profile-info-note p br { display: none; } }

/* =====================================================================
   신청서 안내문 디자인 시스템(2026-09) — 모든 안내·설명·주의·공개 범위 표시를 같은 규칙으로.
   1) .note--info   일반 안내(회색·i)         2) .note--safe  안심/개인정보 보호(연한 초록·✓)
   3) .note--caution 입력 주의(연한 주황·!)    4) 공개 범위 한 줄: .vis-public(상대 공개) / .vis-private(비공개) / .vis-info(사용 목적)
   한글은 단어 단위로 줄바꿈(keep-all) — 강제 <br> 없이 문단(<p>)으로만 나눈다. 색만으로 구분하지 않도록 문구 자체에 공개/비공개를 적는다.
   ===================================================================== */
.bh-apply .note { position: relative; display: block; margin: 10px 0 14px; padding: 12px 14px 12px 42px; border-radius: 12px; border: 1px solid transparent;
  font-size: 13px; line-height: 1.65; color: #4A4541; word-break: keep-all; overflow-wrap: anywhere; box-sizing: border-box; max-width: 100%; }
.bh-apply .note p { margin: 0; }
.bh-apply .note p + p { margin-top: 7px; }
.bh-apply .note .note-title { font-size: 13.5px; font-weight: 700; color: #2F2A26; margin-bottom: 3px; }
.bh-apply .note .note-title + p { margin-top: 0; }
.bh-apply .note::before { content: ""; position: absolute; left: 14px; top: 13px; width: 18px; height: 18px; border-radius: 50%; box-sizing: border-box;
  display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 800; line-height: 1; }
.bh-apply .note.note--info { background: #F4F2F0; border-color: #EAE5E1; color: #4F4843; }
.bh-apply .note.note--info::before { content: "i"; border: 1.5px solid #9C948D; color: #8A817A; font-style: italic; font-family: Georgia, serif; }
.bh-apply .note.note--safe { background: #EEF6F1; border-color: #D5EADC; color: #35493F; }
.bh-apply .note.note--safe::before { content: "✓"; background: #3E9C6E; color: #fff; }
.bh-apply .note.note--safe b { display: block; color: #24392F; margin-bottom: 1px; font-size: inherit; }
.bh-apply .note.note--caution { background: #FFF6EC; border-color: #F8DFC3; color: #5A4636; }
.bh-apply .note.note--caution::before { content: "!"; background: #E0A05A; color: #fff; }
.bh-apply .note.note--caution .note-title { color: #3A2A1E; }
/* 예전 클래스와 함께 쓰일 때 예전 배치 규칙(flex·아이콘 span)을 끈다 */
.bh-apply .note.agree-info { display: block; }
.bh-apply .note.ig-input-note span, .bh-apply .note.agree-info b + p { display: block; }
/* 공개 범위 한 줄 — 너무 작은 회색 글씨를 쓰지 않는다(12px) */
.bh-apply .vis-public, .bh-apply .vis-private, .bh-apply .vis-info { display: block; font-size: 12px; line-height: 1.5; font-weight: 500; margin-top: 3px; word-break: keep-all; overflow-wrap: anywhere; }
.bh-apply .vis-public { color: #2E7D57; }
.bh-apply .vis-private { color: #746C66; }
.bh-apply .vis-info { color: #5F5852; }
.bh-apply .vis-public::before { content: "✓ "; font-weight: 700; }
.bh-apply .vis-private::before { content: "🔒"; font-size: 11px; display: inline-block; margin-right: 4px; }
.bh-apply .vis-public::before, .bh-apply .vis-info::before { display: inline-block; margin-right: 2px; }
.bh-apply .vis-info::before { content: "ⓘ "; }
.bh-apply .form-help { font-size: 12px; color: #857E78; word-break: keep-all; overflow-wrap: anywhere; }
.bh-apply .step-desc, .bh-apply .agree-sub, .bh-apply .notice-box p, .bh-apply .notice-box li, .bh-apply .consent-text, .bh-apply .agree-title, .bh-apply .sheet-note, .bh-apply .agree-sheet-body p { word-break: keep-all; overflow-wrap: anywhere; }
.bh-apply .step3-note { margin: -4px 2px 14px; }
@media (max-width: 360px) {
  .bh-apply .note { padding: 11px 12px 11px 38px; font-size: 12.5px; }
  .bh-apply .note::before { left: 12px; top: 12px; }
}
/* 전화번호 공개(선택) 동의 카드 — 마케팅 동의와 분리된 별도 카드 */
.bh-apply .agree-card-phone .agree-title { white-space: normal; line-height: 1.45; }
.bh-apply .agree-card-phone .agree-sub { margin-bottom: 10px; }
/* 2026-09 범혁: Instagram 입력 — @는 고정 prefix, 사용자는 username만 입력(저장 시 normalizeInstagram이 @·URL을 한 번 더 정리) */
.ig-input-wrap { position: relative; }
.ig-input-wrap .ig-at { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: #8A8A8A; font-weight: 600; pointer-events: none; }
.ig-input-wrap input[type="text"] { padding-left: 32px; }
/* 전화번호 공개(선택) 질문 */
.bh-apply .agree-q { margin: 4px 2px 8px; font-size: 13.5px; font-weight: 700; color: #333; line-height: 1.45; word-break: keep-all; }
.bh-apply .agree-q-opt { font-weight: 500; color: #8A8A8A; }
/* 프로필 공개 동의 — "꼭 읽어주세요" 강조(2026-10) */
.agree-must-read { margin: 4px 0 2px 30px; padding: 9px 11px; border-radius: 10px; background: #FFF4E5; border: 1px solid #FFD59E; color: #8A4B00; font-size: 12.5px; line-height: 1.55; word-break: keep-all; overflow-wrap: anywhere; }
.agree-must-read b { color: #B85C00; }
.agree-view.agree-view-must { color: #B85C00; font-weight: 700; }
/* 개인정보 동의 필독 안내(2026-10) — 작게 */
.agree-sub-must b { color: #B85C00; font-weight: 700; }
