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
S41["섹션 1: 기본 정보<br/>(3)"]:::process
START --> S41
S42["섹션 2: 월경 양상<br/>(4)"]:::process
S41 --> S42
S43["섹션 3: 압박·통증 증상<br/>(2)"]:::process
S42 --> S43
S44["섹션 4: 빈혈 증상<br/>(2)"]:::process
S43 --> S44
S45["섹션 5: 진단·과거력<br/>(4)"]:::process
S44 --> S45
S46["섹션 6: 임신 계획<br/>(1)"]:::process
S45 --> S46
S90["섹션 7: 월경 상세<br/>(6)"]:::process
S46 --> S90
S91["섹션 8: 통증·압박 상세<br/>(7)"]:::process
S90 --> S91
S92["섹션 9: 빈혈 상세<br/>(5)"]:::process
S91 --> S92
S93["섹션 10: 임신·검진력<br/>(8)"]:::process
S92 --> S93
S94["섹션 11: 동반 증상·과거력<br/>(5)"]:::process
S93 --> S94
S116["섹션 12: 추가 평가<br/>(7)"]:::process
S94 --> S116
S423["섹션 13: 추가 심화<br/>(11)"]:::process
S116 --> S423
S423 --> RESULT