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(["🟢 문진 시작: 니코틴 의존도 (FTND)"]):::terminator
RESULT(["🏁 결과 산출"]):::terminator
subgraph S121 ["섹션 1: 흡연 습관"]
direction LR
Q604["F1<br/>★ 아침에 일어나 첫 담배를 피우기까지 걸리는 시간"]:::processReq
Q605{"F2<br/>★ 금연구역에서 담배를 참기 어렵습니까?"}:::decisionReq
Q604 --> Q605
Q606{"F3<br/>★ 하루 중 가장 끊기 어려운 담배는?"}:::decisionReq
Q605 --> Q606
Q607["F4<br/>★ 하루 흡연량"]:::processReq
Q606 --> Q607
Q608{"F5<br/>★ 기상 직후 몇 시간 동안 더 자주 피웁니까?"}:::decisionReq
Q607 --> Q608
Q609{"F6<br/>★ 몸이 아파 하루 종일 누워 있어도 담배를 피웁니까?"}:::decisionReq
Q608 --> Q609
Q3238[/"Q_ENR_SMOKE_START_AGE<br/>★ 매일 규칙적으로 담배를 피우기 시작한 연령은 만 몇 세입니까?"/]:::inputReq
Q609 --> Q3238
Q3239{"Q_ENR_PAST_QUIT_ATTEMPT<br/>★ 과거에 본인의 의지로 24시간 이상 금연을 시도한 적이<br/>있습니까?"}:::decisionReq
Q3238 --> Q3239
Q3240["Q_ENR_LONGEST_QUIT_DURATION<br/>★ 과거 금연 시도 중 가장 길게 유지했던 금연 기간은 어느<br/>정도입니까?"]:::processReq
Q3239 -. .-> Q3240
Q3241[/"Q_ENR_WITHDRAWAL_SYMPTOMS<br/>★ 과거 금연 시도 시 가장 견디기 힘들었던 금단 증상은<br/>무엇이었습니까? (복수 선택 가능)"/]:::inputReq
Q3240 -. .-> Q3241
Q3242["Q_ENR_ALT_TOBACCO_USE<br/>★ 현재 일반 궐련(연초) 외에 전자담배 등 다른 담배 제품을<br/>함께 사용하고 계십니까?"]:::processReq
Q3241 --> Q3242
Q3243["Q_ENR_ALCOHOL_TRIGGER<br/>★ 음주 시 평소에 비해 흡연량이 어떻게 변화합니까?"]:::processReq
Q3242 --> Q3243
Q3244[/"Q_ENR_COMORBIDITY<br/>★ 현재 진단받고 치료 중이거나 과거에 앓았던 질환이 있습니까?<br/>(복수 선택 가능)"/]:::inputReq
Q3243 --> Q3244
Q3245{"Q_ENR_PSYCHIATRIC_HX<br/>★ 우울증, 불안장애 등 정신건강의학과 질환으로 진단받거나 약물<br/>치료를 받은 적이 있습니까?"}:::decisionReq
Q3244 --> Q3245
Q3246{"Q_ENR_HOUSEHOLD_SMOKER<br/>★ 현재 함께 거주하는 가족 중에 본인 외에 다른 흡연자가<br/>있습니까?"}:::decisionReq
Q3245 --> Q3246
Q3247["Q_ENR_READINESS_TO_QUIT<br/>★ 현재 금연하고자 하는 의지는 어느 정도입니까?"]:::processReq
Q3246 --> Q3247
Q3248["Q_ENR_QUIT_MOTIVATION<br/>★ 이번에 금연을 결심하게 된 가장 큰 동기는 무엇입니까?"]:::processReq
Q3247 --> Q3248
end
START --> Q604
Q3248 --> RESULT