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
S263["섹션 1: 체형·수치<br/>(6)"]:::process
START --> S263
S264["섹션 2: 생활·가족력<br/>(7)"]:::process
S263 --> S264
S413["섹션 3: 대사 관련 진단<br/>(8)"]:::process
S264 --> S413
S414["섹션 4: 식습관<br/>(7)"]:::process
S413 --> S414
S415["섹션 5: 가족력·변화<br/>(3)"]:::process
S414 --> S415
S433["섹션 6: 전문 심화<br/>(11)"]:::process
S415 --> S433
S433 --> RESULT