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
S496["섹션 1: 기본 병력 및 발병 양상<br/>(8)"]:::process
START --> S496
S497["섹션 2: 시각 및 안과 증상<br/>(6)"]:::process
S496 --> S497
S498["섹션 3: 감각 이상 및 통증<br/>(7)"]:::process
S497 --> S498
S499["섹션 4: 운동 기능 및 보행<br/>(6)"]:::process
S498 --> S499
S500["섹션 5: 뇌간 및 소뇌 증상<br/>(6)"]:::process
S499 --> S500
S501["섹션 6: 자율신경 증상<br/>(5)"]:::process
S500 --> S501
S502["섹션 7: 피로, 인지 및 전신 증상<br/>(7)"]:::process
S501 --> S502
S502 --> RESULT