.question-field{background:#f8f9fa;border-radius:12px;padding:20px;border:1px solid #e9ecef;transition:all .3s ease}.question-field:hover{border-color:#667eea;box-shadow:0 2px 8px #667eea1a}.question-header{display:flex;align-items:flex-start;gap:12px;margin-bottom:15px}.question-number{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;width:28px;height:28px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:.9rem;font-weight:600;flex-shrink:0;margin-top:2px}.question-text{flex:1;font-size:1.1rem;font-weight:500;color:#2c3e50;line-height:1.5;cursor:pointer}.required-indicator{color:#e74c3c;margin-left:4px}.input-container,.scale-input{width:100%}.scale-container{display:flex;justify-content:space-between;gap:8px;margin-bottom:10px;flex-wrap:wrap}.scale-option{display:flex;flex-direction:column;align-items:center;cursor:pointer;transition:transform .2s ease}.scale-option:hover{transform:scale(1.1)}.scale-option input[type=radio]{display:none}.scale-number{width:40px;height:40px;border:2px solid #dee2e6;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:600;transition:all .3s ease;background:white;color:#6c757d}.scale-option input[type=radio]:checked+.scale-number{background:linear-gradient(135deg,#667eea,#764ba2);border-color:#667eea;color:#fff;transform:scale(1.1)}.scale-labels{display:flex;justify-content:space-between;font-size:.85rem;color:#666;margin-top:5px}.scale-description{margin-top:10px;color:#666;font-style:italic}.text-input{width:100%;padding:12px 16px;border:2px solid #dee2e6;border-radius:8px;font-size:1rem;font-family:inherit;resize:vertical;min-height:100px;transition:border-color .3s ease}.text-input:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 3px #667eea1a}.select-input{width:100%;padding:12px 16px;border:2px solid #dee2e6;border-radius:8px;font-size:1rem;background:white;cursor:pointer;transition:border-color .3s ease}.select-input:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 3px #667eea1a}.default-input{width:100%;padding:12px 16px;border:2px solid #dee2e6;border-radius:8px;font-size:1rem;transition:border-color .3s ease}.default-input:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 3px #667eea1a}@media (max-width: 768px){.question-field{padding:15px}.question-header{gap:8px}.question-number{width:24px;height:24px;font-size:.8rem}.question-text{font-size:1rem}.scale-container{gap:4px}.scale-number{width:32px;height:32px;font-size:.9rem}.scale-labels{font-size:.8rem}}.form-section{max-width:100%}.section-header{margin-bottom:30px;padding-bottom:20px;border-bottom:2px solid #f1f3f4}.section-header h2{color:#2c3e50;font-size:1.8rem;margin-bottom:15px;font-weight:600}.related-symptoms{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.symptoms-label{font-weight:500;color:#666;font-size:.9rem}.symptom-tag{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;padding:4px 12px;border-radius:20px;font-size:.85rem;font-weight:500}.questions-container{display:flex;flex-direction:column;gap:25px}@media (max-width: 768px){.section-header h2{font-size:1.5rem}.related-symptoms{flex-direction:column;align-items:flex-start;gap:10px}.symptom-tag{font-size:.8rem}}.dynamic-form{background:white;border-radius:16px;box-shadow:0 10px 40px #0000001a;overflow:hidden;min-height:600px;display:flex;flex-direction:column}.progress-bar{background:#f8f9fa;padding:20px;border-bottom:1px solid #e9ecef}.progress-info{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px;font-size:.9rem;color:#666}.progress-track{height:8px;background:#e9ecef;border-radius:4px;overflow:hidden}.progress-fill{height:100%;background:linear-gradient(90deg,#667eea,#764ba2);border-radius:4px;transition:width .3s ease}.form-content{flex:1;padding:30px}.form-navigation{display:flex;justify-content:space-between;align-items:center;padding:20px 30px;background:#f8f9fa;border-top:1px solid #e9ecef;flex-wrap:wrap;gap:15px}.form-hint{width:100%;text-align:center;margin-bottom:10px}.form-hint small{color:#28a745;background:rgba(40,167,69,.1);padding:8px 16px;border-radius:20px;border:1px solid rgba(40,167,69,.2);display:inline-block}.nav-button{padding:12px 24px;border:none;border-radius:8px;font-size:1rem;font-weight:500;cursor:pointer;transition:all .3s ease;min-width:100px}.prev-button{background:#6c757d;color:#fff}.prev-button:hover:not(:disabled){background:#5a6268}.next-button{background:#007bff;color:#fff}.next-button:hover:not(:disabled){background:#0056b3}.submit-button{background:#28a745;color:#fff}.submit-button:hover:not(:disabled){background:#1e7e34}.nav-button:disabled{opacity:.5;cursor:not-allowed}.section-indicators{display:flex;gap:8px}.indicator{width:32px;height:32px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:.9rem;font-weight:500;cursor:pointer;transition:all .3s ease;background:#e9ecef;color:#6c757d}.indicator.active{background:#007bff;color:#fff}.indicator.completed{background:#28a745;color:#fff}.indicator:hover{transform:scale(1.1)}.no-data{text-align:center;padding:60px 20px;color:#666;font-size:1.1rem;background:white;border-radius:16px;box-shadow:0 10px 40px #0000001a}@media (max-width: 768px){.form-navigation{flex-direction:column;gap:15px}.form-hint{order:-2;margin-bottom:0}.section-indicators{order:-1}.nav-button{width:100%;max-width:200px}.progress-info{flex-direction:column;gap:5px;text-align:center}.form-content{padding:20px}}.loading-container{display:flex;justify-content:center;align-items:center;min-height:100vh;background:linear-gradient(135deg,#667eea 0%,#764ba2 100%)}.loading-spinner{text-align:center;color:#fff}.spinner{width:50px;height:50px;border:4px solid rgba(255,255,255,.3);border-top:4px solid white;border-radius:50%;animation:spin 1s linear infinite;margin:0 auto 20px}.loading-spinner p{font-size:1.1rem;margin:0}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.conclusion-report{background:#f5f7fa;min-height:100vh;padding:40px 0 60px;border-radius:24px;overflow:hidden;box-shadow:none;margin-top:0;font-family:inherit;color:#2c3e50}#report-content,.raw-data-content{background:#fff;border-radius:22px;box-shadow:0 10px 40px #0000001a;max-width:900px;margin:0 auto;padding:40px 36px 36px;position:relative}#report-content .opening-statement{margin-left:4px}.report-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px;padding-bottom:16px;border-bottom:2px solid #764ba2;padding-left:24px;padding-right:24px;border-top-left-radius:22px;border-top-right-radius:22px;background:#fff}.report-header h1,.report-actions,.raw-data-section h2{padding-left:24px;padding-right:24px}.report-header h1{color:#764ba2;margin:0;font-size:1.8rem}.report-actions{display:flex;gap:12px;padding-left:24px;padding-right:24px}.report-actions button{padding:10px 20px;border-radius:6px;font-size:16px;cursor:pointer;font-weight:500;border:none;transition:all .2s ease}.raw-data-button{background:#e7f3ff;color:#007bff}.raw-data-button:hover{background:#d1e7ff}.download-button{background:#764ba2;color:#fff}.download-button:hover{background:#663d99}.back-button{background:#f8f9fa;color:#495057;border:1px solid #dee2e6}.back-button:hover{background:#e9ecef}.report-section{margin-bottom:32px}.report-section h2{color:#3b4890;font-size:1.25rem;font-weight:700;margin-bottom:10px;margin-top:0;letter-spacing:.5px}.report-card{background:#f4f8ff;border-radius:10px;padding:20px 24px;margin-bottom:18px;box-shadow:0 2px 8px #3c3c780a}.report-card h3{color:#3b4890;font-size:1.08rem;font-weight:700;margin-bottom:8px;margin-top:0}.opening-statement,.overall-status{font-size:1.1rem;line-height:1.6;margin-bottom:20px}.symptom-clusters{background:#eaf1fb;border-radius:10px;padding:18px 18px 8px;margin:18px 0 0}.cluster-card{background:#f4f8ff;border-radius:10px;padding:20px 24px;margin-bottom:18px;box-shadow:0 2px 8px #3c3c780a}.cluster-card h3{color:#3b4890;font-size:1.08rem;font-weight:700;margin-bottom:8px;margin-top:0}.related-data{margin-top:12px;font-size:.9rem;color:#666}.related-data ul{list-style:disc inside;margin-left:24px;padding-left:0}.key-risks,.caregiver-summary,.overall-impression{margin-top:18px}.key-risks h3,.caregiver-summary h3,.overall-impression h3{color:#764ba2;margin-bottom:12px}.raw-data-section{margin-bottom:32px;padding-left:4px;padding-right:4px}.raw-data-section h2{color:#667eea;font-size:1.4rem;margin-bottom:16px}.raw-data-card{background:#f8f9fa;border-radius:12px;padding:24px}.raw-data-item{display:flex;gap:12px;margin-bottom:12px}.raw-data-item .label{color:#495057;font-weight:500;min-width:120px}.raw-data-item .value{color:#2c3e50}.raw-data-list{list-style:none;padding:0;margin:0}.raw-data-list li{padding:8px 0;border-bottom:1px solid #e9ecef}.raw-data-list li:last-child{border-bottom:none}.no-data{color:#6c757d;font-style:italic}.disclaimer{margin-top:32px;padding-top:16px;border-top:1px solid #dee2e6;color:#e74c3c;font-size:.95rem;font-style:italic}.report-card ul,.report-card li,.cluster-card ul,.cluster-card li,.intervention-card ul,.intervention-card li{list-style:none;margin-left:24px;padding-left:0}.report-card,.cluster-card,.intervention-card{background:#f4f8ff;border-radius:10px;padding:20px 24px;margin-bottom:18px;box-shadow:0 2px 8px #3c3c780a}.report-card h3,.cluster-card h3,.intervention-card h4,.key-risks h3,.caregiver-summary h3,.overall-impression h3,.general-principles h3,.specific-interventions h3,.critical-conditions h3,.general-concerns h3,.contact-details h3{color:#764ba2;margin-bottom:12px}.conclusion-report,.report-card,.cluster-card,.intervention-card{font-size:1.05rem;line-height:1.7}.raw-data-list{list-style:none;margin-left:24px;padding-left:0}.app{min-height:100vh;padding:20px}.container{max-width:800px;margin:0 auto}.header{text-align:center;margin-bottom:40px;color:#fff}.header h1{font-size:2.5rem;margin-bottom:10px;text-shadow:0 2px 4px rgba(0,0,0,.3)}.header p{font-size:1.1rem;opacity:.9}.error-container{display:flex;justify-content:center;align-items:center;min-height:100vh;padding:20px}.error-card{background:white;padding:40px;border-radius:12px;box-shadow:0 8px 32px #0000001a;text-align:center;max-width:400px;width:100%}.error-card h2{color:#e74c3c;margin-bottom:15px;font-size:1.5rem}.error-card p{color:#666;margin-bottom:25px;line-height:1.5}.error-card button{background:#3498db;color:#fff;border:none;padding:12px 24px;border-radius:6px;cursor:pointer;font-size:1rem;transition:background-color .3s ease}.error-card button:hover{background:#2980b9}@media (max-width: 768px){.header h1{font-size:2rem}.header p{font-size:1rem}.container{padding:0 10px}}
