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

.dh-ic-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-ic-header { text-align: center; margin-bottom: 14px; padding-bottom: 12px; border-bottom: 3px solid #edb133; }
.dh-ic-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-ic-title { margin: 0 0 4px; color: #346af1; font-size: clamp(1.1rem, 1.6vw, 1.4rem); font-weight: 800; line-height: 1.15; }
.dh-ic-subtitle { margin: 0; color: var(--color-text-muted, #6b7280); font-size: 0.78rem; }
.dh-ic-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-ic-formula { background: #e8f4f8; border: 1px solid #346af1; border-left: 4px solid #346af1; border-radius: 8px; padding: 12px 14px; margin-bottom: 16px; text-align: center; }
.dh-ic-formula-label { font-size: 0.74rem; font-weight: 700; color: #1f2937; }
.dh-ic-formula-content { font-size: 0.85rem; font-weight: 800; color: #346af1; margin-top: 4px; }

.dh-ic-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-ic-question { background: #f9fafb; border: 1px solid #e5e7eb; border-left: 4px solid #346af1; border-radius: 8px; padding: 14px; margin-bottom: 10px; }
.dh-ic-question-titulo { color: #346af1; font-size: 0.78rem; font-weight: 800; margin-bottom: 8px; }
.dh-ic-input-duplo { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-items: end; }
.dh-ic-input-field { display: flex; flex-direction: column; gap: 4px; }
.dh-ic-input-field label { font-size: 0.65rem; font-weight: 600; color: #6b7280; }
.dh-ic-input { width: 100%; min-height: 44px; padding: 10px 12px; border: 2px solid #e5e7eb; border-radius: 8px; font-family: inherit; font-size: 0.85rem; font-weight: 600; color: #1f2937; background: #fff; text-align: center; }
.dh-ic-input:focus { outline: none; border-color: #346af1; }

.dh-ic-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-ic-primary:hover { background: #2855d4; }
.dh-ic-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-ic-secondary:hover { background: #e8f4f8; }

.dh-ic-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; text-align: center; }

.dh-ic-results { margin-top: 18px; padding: 20px; border-radius: 12px; background: linear-gradient(135deg, #e8f4f8, #dbeafe); border: 2px solid #346af1; text-align: center; animation: dhIcFadeIn 0.3s ease; }
@keyframes dhIcFadeIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }
.dh-ic-resultado-titulo { font-size: 0.7rem; font-weight: 800; color: #346af1; text-transform: uppercase; margin-bottom: 6px; letter-spacing: 0.05em; }
.dh-ic-resultado-valor { font-size: 1.6rem; font-weight: 800; color: #346af1; line-height: 1.2; margin-bottom: 4px; }
.dh-ic-resultado-sub { font-size: 0.74rem; color: #6b7280; margin-bottom: 10px; }

.dh-ic-tags { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; margin-top: 10px; }
.dh-ic-tag { font-size: 0.65rem; padding: 4px 10px; border-radius: 12px; font-weight: 800; }
.dh-ic-tag--ok { background: #e0f2fe; color: #2855d4; border: 1px solid #346af1; }
.dh-ic-tag--alert { background: rgba(52, 106, 241, 0.08); color: #92400e; border: 1px solid #edb133; }

.dh-ic-tabela { width: 100%; border-collapse: collapse; border: 1px solid #e5e7eb; border-radius: 8px; overflow: hidden; }
.dh-ic-tabela th { background: #346af1; color: #fff; font-size: 0.7rem; font-weight: 800; padding: 10px 14px; text-align: left; text-transform: uppercase; }
.dh-ic-tabela td { padding: 10px 14px; font-size: 0.78rem; color: #374151; border-bottom: 1px solid #e5e7eb; line-height: 1.5; }
.dh-ic-tabela tr:last-child td { border-bottom: none; }
.dh-ic-col-param { width: 55%; font-weight: 600; color: #1f2937; }
.dh-ic-col-limite { font-weight: 800; color: #346af1; }
.dh-ic-tabela tr.is-active td { background: rgba(52, 106, 241, 0.08); }
.dh-ic-tabela tr.is-active .dh-ic-col-param { border-left: 3px solid #edb133; }

.dh-ic-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: 500px) { .dh-ic-input-duplo { grid-template-columns: 1fr; } }
