--- name: write-integrated description: JD 기반 통합 지원서 HTML 작성이 필요할 때 --- # 통합 지원서 작성 (경력기술서 + 지원동기) > **용도**: JD(채용공고) 분석 후 맞춤형 통합 지원서 HTML 작성 > **참조 템플릿**: `templates/export/pdf/integrated-application.html` --- ## 개요 JD 분석 결과를 바탕으로 경력기술서와 지원동기를 하나의 HTML 문서로 통합 작성합니다. ### 문서 구성 ``` Page 1: Summary, Core Competencies, Skills, Work Experience Page 2-3: 주요 프로젝트 상세 (STAR 형식) Page 4: 추가 프로젝트 + 이전 회사 경력 Page 5: 지원 동기 + Education ``` ### 사전 요구사항 1. `/jd-match` 실행 완료 (회사 조사, JD 분석, 경험 매칭) 2. 원본 데이터 확인 (`docs/career/my_career_data.md`) --- ## HTML 템플릿 스타일 가이드 ### 페이지 설정 ```css @page { size: A4; margin: 0; } * { margin: 0; padding: 0; box-sizing: border-box; -webkit-print-color-adjust: exact !important; print-color-adjust: exact !important; } body { font-family: 'Malgun Gothic', -apple-system, sans-serif; font-size: 9pt; line-height: 1.5; color: #222; } .page { width: 210mm; height: 297mm; padding: 14mm 18mm; page-break-after: always; } .page:last-child { page-break-after: avoid; } ``` ### 헤더 스타일 ```css .header { text-align: center; border-bottom: 2px solid #000; padding-bottom: 14px; margin-bottom: 16px; } .header h1 { font-size: 20pt; font-weight: 700; letter-spacing: 4px; } .header-info { font-size: 10pt; color: #333; } .header-contact { font-size: 9pt; color: #666; } .header-contact span { margin: 0 10px; } ``` ### 섹션 타이틀 ```css .section-title { font-size: 9.5pt; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; border-bottom: 2px solid #000; background: linear-gradient(90deg, #f8f8f8 0%, #fff 50%); padding: 8px 10px 6px 10px; margin: 0 -10px 12px -10px; } ``` ### Company Header (검정 배경) ```css .company-header { display: flex; justify-content: space-between; padding: 8px 12px; background: #000; color: #fff; margin-bottom: 12px; } .company-name { font-size: 10pt; font-weight: 600; } .company-period { font-size: 9pt; } ``` ### Values Header (지원동기 페이지) ```css .values-header { display: flex; justify-content: space-between; padding: 10px 14px; background: linear-gradient(90deg, #f5f5f5 0%, #fff 100%); border: 2px solid #000; margin-bottom: 16px; } .values-header .company-name { color: #000; font-size: 11pt; font-weight: 700; letter-spacing: 1px; } ``` ### Metrics Row (성과 지표) ```css .metrics-row { display: flex; gap: 6px; margin-bottom: 10px; } .metric-box { flex: 1; text-align: center; padding: 6px 4px; background: #f8f8f8; border-left: 2px solid #000; } .metric-value { font-size: 11pt; font-weight: 700; color: #000; } .metric-label { font-size: 7pt; color: #666; text-transform: uppercase; } .metric-detail { font-size: 6.5pt; color: #888; } ``` ### Context Grid (배경/문제) ```css .context-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-bottom: 12px; } .context-box { padding: 8px 10px; background: #fafafa; border-left: 2px solid #888; font-size: 7.5pt; } .context-label { font-size: 6.5pt; font-weight: 600; color: #666; text-transform: uppercase; letter-spacing: 0.5px; } ``` ### Tech Decision Box ```css .tech-decision { padding: 8px 10px; background: #f5f5f5; border-left: 2px solid #000; margin-bottom: 8px; } .tech-decision-title { font-size: 7pt; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; border-bottom: 1px solid #ddd; margin-bottom: 5px; padding-bottom: 3px; } .tech-decision-item { font-size: 7pt; color: #444; line-height: 1.5; } ``` ### JD Tag (키워드 강조) ```css .jd-tag { display: inline-block; font-size: 6.5pt; background: #000; color: #fff !important; padding: 2px 5px; margin-left: 4px; font-weight: 600; } ``` ### Tech Stack Tags ```css .tech-stack { margin-top: auto; padding-top: 8px; display: flex; gap: 5px; flex-wrap: wrap; } .tech-tag { font-size: 6.5pt; padding: 3px 6px; border: 1px solid #ccc; color: #555; } ``` --- ## 프로젝트 레이아웃 ### 2분할 레이아웃 (한 페이지에 2개 프로젝트) ```css .projects-container { display: flex; flex-direction: column; height: calc(100% - 40px); } .project-half { flex: 1; display: flex; flex-direction: column; padding-bottom: 8px; } .project-half:first-child { border-bottom: 1px dashed #ccc; margin-bottom: 8px; } .project-box { flex: 1; border: 1px solid #ddd; padding: 12px 14px; display: flex; flex-direction: column; } ``` ### 프로젝트 박스 구조 ```html