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
S469["섹션 1: 환자 기본 정보 및 주소증<br/>(4)"]:::process
START --> S469
S470["섹션 2: 교정 치료 동기 및 협조도<br/>(5)"]:::process
S469 --> S470
S471["섹션 3: 치과 기왕력 및 구강 건강<br/>(6)"]:::process
S470 --> S471
S472["섹션 4: 전신 질환 및 복약력<br/>(6)"]:::process
S471 --> S472
S473["섹션 5: 턱관절 및 구강 악습관<br/>(6)"]:::process
S472 --> S473
S474["섹션 6: 안모 및 심미적 평가<br/>(5)"]:::process
S473 --> S474
S475["섹션 7: 과거 교정 치료 경험<br/>(4)"]:::process
S474 --> S475
S475 --> RESULT