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
S52["섹션 1: 기본 정보<br/>(3)"]:::process
START --> S52
S53["섹션 2: 생활습관<br/>(4)"]:::process
S52 --> S53
S54["섹션 3: 부인과<br/>(6)"]:::process
S53 --> S54
S55["섹션 4: 유방·갑상선<br/>(3)"]:::process
S54 --> S55
S56["섹션 5: 골건강<br/>(2)"]:::process
S55 --> S56
S57["섹션 6: 기왕력·가족력<br/>(4)"]:::process
S56 --> S57
S100["섹션 7: 생활습관 상세<br/>(5)"]:::process
S57 --> S100
S101["섹션 8: 부인과 상세<br/>(4)"]:::process
S100 --> S101
S102["섹션 9: 검진·예방 이력<br/>(5)"]:::process
S101 --> S102
S103["섹션 10: 전신 증상 스크리닝<br/>(9)"]:::process
S102 --> S103
S104["섹션 11: 가족력 상세<br/>(3)"]:::process
S103 --> S104
S118["섹션 12: 추가 평가<br/>(8)"]:::process
S104 --> S118
S425["섹션 13: 추가 심화<br/>(10)"]:::process
S118 --> S425
S425 --> RESULT