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

.dh-katz-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-katz-header { text-align: center; margin-bottom: 14px; padding-bottom: 12px; border-bottom: 3px solid #edb133; }
.dh-katz-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-katz-title { margin: 0 0 4px; color: #346af1; font-size: clamp(1.1rem, 1.6vw, 1.4rem); font-weight: 800; line-height: 1.15; }
.dh-katz-subtitle { margin: 0; color: var(--color-text-muted, #6b7280); font-size: 0.78rem; }
.dh-katz-info { background: rgba(52, 106, 241, 0.08); border: 1px solid #edb133; border-left: 4px solid #edb133; border-radius: 8px; padding: 12px; margin-bottom: 16px; font-size: 0.78rem; color: #1f2937; line-height: 1.5; }
.dh-katz-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-katz-function { background: #f9fafb; border: 1px solid #e5e7eb; border-left: 4px solid #346af1; border-radius: 8px; padding: 14px; margin-bottom: 10px; }
.dh-katz-function-header { color: #346af1; font-size: 0.85rem; font-weight: 800; margin-bottom: 6px; }
.dh-katz-function-desc { font-size: 0.74rem; color: #6b7280; line-height: 1.55; margin-bottom: 12px; font-style: italic; }

.dh-katz-options { display: flex; flex-direction: column; gap: 6px; }
.dh-katz-option { display: flex; align-items: center; padding: 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; text-align: left; width: 100%; gap: 10px; }
.dh-katz-option:hover { background: rgba(52, 106, 241, 0.08); border-color: #edb133; color: #1f2937; }
.dh-katz-option.is-selected { background: #346af1; border-color: #346af1; color: #fff; }
.dh-katz-option-text { flex: 1; font-size: 0.78rem; font-weight: 600; line-height: 1.5; }
.dh-katz-option-label { font-size: 0.7rem; font-weight: 800; padding: 4px 10px; border-radius: 6px; background: rgba(237, 177, 51, 0.2); color: #92400e; flex-shrink: 0; text-transform: uppercase; }
.dh-katz-option.is-selected .dh-katz-option-label { background: rgba(255, 255, 255, 0.25); color: #fff; }

.dh-katz-actions { margin-top: 16px; }
.dh-katz-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; }
.dh-katz-primary:hover { background: #2855d4; }

.dh-katz-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-katz-results { margin-top: 18px; padding: 20px; border-radius: 12px; text-align: center; animation: dhKatzFadeIn 0.3s ease; }
@keyframes dhKatzFadeIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }
.dh-katz-pontuacao { font-size: 3.5rem; font-weight: 800; margin-bottom: 4px; line-height: 1; }
.dh-katz-pontuacao-sub { font-size: 0.78rem; font-weight: 700; opacity: 0.8; margin-bottom: 8px; }
.dh-katz-interpretacao { font-size: 1rem; font-weight: 800; margin-bottom: 10px; letter-spacing: 0.04em; }
.dh-katz-descricao { font-size: 0.8rem; line-height: 1.55; margin-bottom: 12px; color: #1f2937; }

.dh-katz-detail { background: #fff; border-radius: 8px; padding: 14px; margin-top: 12px; text-align: left; }
.dh-katz-detail-title { font-size: 0.72rem; font-weight: 800; color: #1f2937; margin-bottom: 10px; text-transform: uppercase; letter-spacing: 0.06em; }
.dh-katz-detail-item { display: flex; justify-content: space-between; padding: 6px 0; border-bottom: 1px solid #e5e7eb; font-size: 0.78rem; gap: 10px; }
.dh-katz-detail-item:last-child { border-bottom: none; }
.dh-katz-detail-item span:first-child { color: #6b7280; font-weight: 600; flex: 1; }
.dh-katz-detail-item span:last-child { color: #1f2937; font-weight: 700; }
.dh-katz-detail-item--alert { border-top: 2px solid #346af1; padding-top: 10px; margin-top: 6px; border-bottom: none; }
.dh-katz-detail-item--alert span:first-child { color: #346af1; font-weight: 800; }
.dh-katz-detail-item--alert span:last-child { color: #346af1; }

.dh-katz-detail--guidance { background: rgba(52, 106, 241, 0.08); border: 1px solid #edb133; }
.dh-katz-detail--guidance .dh-katz-detail-title { color: #92400e; }
.dh-katz-guidance-text { font-size: 0.78rem; color: #1f2937; line-height: 1.55; }

.dh-katz-results--a, .dh-katz-results--b { background: linear-gradient(135deg, #e0f2fe, #bae6fd); border: 2px solid #346af1; }
.dh-katz-results--a .dh-katz-pontuacao, .dh-katz-results--a .dh-katz-interpretacao,
.dh-katz-results--b .dh-katz-pontuacao, .dh-katz-results--b .dh-katz-interpretacao { color: #346af1; }

.dh-katz-results--c, .dh-katz-results--d { background: linear-gradient(135deg, #fef3c7, #fde68a); border: 2px solid #edb133; }
.dh-katz-results--c .dh-katz-pontuacao, .dh-katz-results--c .dh-katz-interpretacao,
.dh-katz-results--d .dh-katz-pontuacao, .dh-katz-results--d .dh-katz-interpretacao { color: #d97706; }

.dh-katz-results--e, .dh-katz-results--f, .dh-katz-results--outro { background: linear-gradient(135deg, #fed7aa, #fdba74); border: 2px solid #f97316; }
.dh-katz-results--e .dh-katz-pontuacao, .dh-katz-results--e .dh-katz-interpretacao,
.dh-katz-results--f .dh-katz-pontuacao, .dh-katz-results--f .dh-katz-interpretacao,
.dh-katz-results--outro .dh-katz-pontuacao, .dh-katz-results--outro .dh-katz-interpretacao { color: #ea580c; }

.dh-katz-results--g { background: linear-gradient(135deg, #fee2e2, #fecaca); border: 2px solid #ef4444; }
.dh-katz-results--g .dh-katz-pontuacao, .dh-katz-results--g .dh-katz-interpretacao { color: #dc2626; }

.dh-katz-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; }

@media (max-width: 600px) { .dh-katz-option { flex-direction: column; align-items: flex-start; gap: 6px; } .dh-katz-option-label { align-self: flex-start; } .dh-katz-pontuacao { font-size: 2.6rem; } }
