flowchart TD
classDef terminator fill:#4338ca,stroke:#312e81,stroke-width:2px,color:#fff,font-weight:700;
classDef decision fill:#fef3c7,stroke:#d97706,stroke-width:2.5px,color:#78350f,font-weight:700;
classDef process fill:#ffffff,stroke:#475569,stroke-width:1.5px,color:#0f172a;
classDef processReq fill:#ffffff,stroke:#475569,stroke-width:1.5px,color:#0f172a,font-weight:600;
classDef input fill:#cffafe,stroke:#0891b2,stroke-width:1.8px,color:#164e63;
classDef inputReq fill:#cffafe,stroke:#0891b2,stroke-width:1.8px,color:#164e63,font-weight:600;
classDef decisionReq fill:#fef3c7,stroke:#d97706,stroke-width:2.5px,color:#78350f,font-weight:700;
classDef chOk fill:#dcfce7,stroke:#16a34a,color:#14532d;
classDef chWarn fill:#fef3c7,stroke:#d97706,color:#78350f;
classDef chRisk fill:#fee2e2,stroke:#dc2626,color:#7f1d1d;
linkStyle default stroke:#94a3b8,stroke-width:1.6px;
START(["🟢 문진 시작: 산후 건강·정서 문진표"]):::terminator
RESULT(["🏁 결과 산출"]):::terminator
S58["섹션 1: 분만 정보<br/>(3)"]:::process
START --> S58
S59["섹션 2: 신체 회복<br/>(3)"]:::process
S58 --> S59
S60["섹션 3: 최근 7일 정서 (EPDS)<br/>(7)"]:::process
S59 --> S60
S105["섹션 4: 신체 회복 상세<br/>(9)"]:::process
S60 --> S105
S106["섹션 5: 수유·신생아 돌봄<br/>(6)"]:::process
S105 --> S106
S107["섹션 6: 수면·지지체계<br/>(7)"]:::process
S106 --> S107
S108["섹션 7: 과거력·위험<br/>(6)"]:::process
S107 --> S108
S119["섹션 8: 추가 평가<br/>(6)"]:::process
S108 --> S119
S426["섹션 9: 추가 심화<br/>(10)"]:::process
S119 --> S426
S426 --> RESULT