.dh-epds-calculator { width: 100%; padding: 0; }
.dh-epds-calculator *,
.dh-epds-calculator *::before,
.dh-epds-calculator *::after { box-sizing: border-box; }

.dh-epds-card { max-width: 100%; margin: 0; padding: 18px; border-radius: var(--radius-xl, 16px); background: var(--color-bg-primary, #fff); border: 1px solid var(--color-border, #e2e8f0); }
.dh-epds-header { text-align: center; margin-bottom: 14px; padding-bottom: 12px; border-bottom: 3px solid #edb133; }
.dh-epds-kicker { margin: 0 0 6px; color: var(--color-text-muted, #64748b); font-size: 0.72rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; }
.dh-epds-title { margin: 0 0 4px; color: #346af1; font-size: clamp(1.1rem, 1.6vw, 1.4rem); font-weight: 800; line-height: 1.15; }
.dh-epds-subtitle { margin: 0; color: var(--color-text-muted, #6b7280); font-size: 0.78rem; }
.dh-epds-info { background: rgba(52, 106, 241, 0.08); border: 1px solid #edb133; border-left: 4px solid #edb133; border-radius: 8px; padding: 12px; margin-bottom: 12px; font-size: 0.78rem; color: #1f2937; line-height: 1.5; }
.dh-epds-alert-tempo { background: #e8f4f8; border: 1px solid #346af1; border-left: 4px solid #346af1; border-radius: 8px; padding: 10px 12px; margin-bottom: 16px; font-size: 0.82rem; color: #346af1; font-weight: 700; text-align: center; }
.dh-epds-section-title { margin: 18px 0 10px; padding-left: 10px; border-left: 4px solid #edb133; color: #346af1; font-size: 0.85rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; }

.dh-epds-question { background: #f9fafb; border: 1px solid #e5e7eb; border-left: 4px solid #346af1; border-radius: 8px; padding: 14px; margin-bottom: 10px; }
.dh-epds-question--critica { border-left-color: #ef4444; background: #fef2f2; }
.dh-epds-question-titulo { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 10px; }
.dh-epds-question-number { display: inline-flex; align-items: center; justify-content: center; background: #346af1; color: #fff; width: 24px; height: 24px; border-radius: 50%; font-size: 0.7rem; font-weight: 800; flex-shrink: 0; }
.dh-epds-question--critica .dh-epds-question-number { background: #ef4444; }
.dh-epds-question-text { color: #346af1; font-size: 0.78rem; font-weight: 800; line-height: 1.5; flex: 1; }
.dh-epds-question--critica .dh-epds-question-text { color: #991b1b; }

.dh-epds-options { display: flex; flex-direction: column; gap: 6px; }
.dh-epds-option { display: flex; align-items: center; padding: 10px 12px; border: 2px solid #e5e7eb; border-radius: 8px; background: #fff; color: #1f2937; cursor: pointer; transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease; font-family: inherit; font-size: 0.74rem; font-weight: 600; min-height: 40px; text-align: left; }
.dh-epds-option:hover { background: rgba(52, 106, 241, 0.08); border-color: #edb133; color: #1f2937; }
.dh-epds-option.is-selected { background: #346af1; border-color: #346af1; color: #fff; }

.dh-epds-pontuacao-total { background: #346af1; color: #fff; padding: 18px; border-radius: 12px; margin: 20px 0; text-align: center; }
.dh-epds-pontuacao-label { font-size: 0.7rem; font-weight: 600; margin-bottom: 6px; opacity: 0.85; text-transform: uppercase; letter-spacing: 0.05em; }
.dh-epds-pontuacao-valor { font-size: 2.6rem; font-weight: 800; margin-bottom: 4px; line-height: 1; }
.dh-epds-pontuacao-descricao { font-size: 0.7rem; opacity: 0.85; }

.dh-epds-primary { width: 100%; min-height: 48px; padding: 14px; background: #346af1; color: #fff; border: none; border-radius: 8px; font-family: inherit; font-size: 0.95rem; font-weight: 800; cursor: pointer; text-transform: uppercase; letter-spacing: 0.04em; transition: background 0.15s ease; margin-top: 8px; }
.dh-epds-primary:hover { background: #2855d4; }
.dh-epds-secondary { width: 100%; min-height: 44px; padding: 12px; background: #fff; color: #346af1; border: 2px solid #346af1; border-radius: 8px; font-family: inherit; font-size: 0.82rem; font-weight: 800; cursor: pointer; margin-top: 10px; }
.dh-epds-secondary:hover { background: #e8f4f8; }

.dh-epds-error { margin-top: 14px; padding: 12px 14px; border-radius: 8px; background: #fee2e2; border: 1px solid #fecaca; color: #991b1b; font-size: 0.82rem; font-weight: 600; }

.dh-epds-results { margin-top: 18px; padding: 20px; border-radius: 12px; text-align: center; animation: dhEpdsFadeIn 0.3s ease; }
@keyframes dhEpdsFadeIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }
.dh-epds-resultado-titulo { font-size: 1rem; font-weight: 800; margin-bottom: 10px; letter-spacing: 0.04em; }
.dh-epds-resultado-descricao { font-size: 0.78rem; line-height: 1.6; text-align: left; color: #1f2937; }
.dh-epds-resultado-descricao strong { color: #346af1; }

.dh-epds-detail { background: #fff; border-radius: 8px; padding: 14px; margin-top: 12px; text-align: left; }
.dh-epds-detail-title { font-size: 0.72rem; font-weight: 800; color: #1f2937; margin-bottom: 10px; text-transform: uppercase; letter-spacing: 0.06em; }
.dh-epds-list { margin: 4px 0 0 18px; font-size: 0.74rem; line-height: 1.6; color: #1f2937; }
.dh-epds-list li { margin-bottom: 4px; }

.dh-epds-detail--conduta { background: rgba(52, 106, 241, 0.08); border: 1px solid #edb133; }
.dh-epds-detail--conduta .dh-epds-detail-title { color: #92400e; }
.dh-epds-detail--suicida { background: #fef2f2; border: 2px solid #ef4444; }
.dh-epds-detail--suicida .dh-epds-detail-title { color: #991b1b; }

.dh-epds-results--baixo { background: linear-gradient(135deg, #e0f2fe, #bae6fd); border: 2px solid #346af1; }
.dh-epds-results--baixo .dh-epds-resultado-titulo { color: #346af1; }
.dh-epds-results--provavel { background: linear-gradient(135deg, #fee2e2, #fecaca); border: 2px solid #ef4444; }
.dh-epds-results--provavel .dh-epds-resultado-titulo { color: #dc2626; }

.dh-epds-reference { margin-top: 16px; padding: 12px; background: #f9fafb; border-radius: 8px; border: 1px solid #e5e7eb; font-size: 0.7rem; color: #6b7280; text-align: center; line-height: 1.5; }
