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

.dh-gprn-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-gprn-header { text-align: center; margin-bottom: 14px; padding-bottom: 12px; border-bottom: 3px solid #edb133; }
.dh-gprn-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-gprn-title { margin: 0 0 4px; color: #346af1; font-size: clamp(1.1rem, 1.6vw, 1.4rem); font-weight: 800; line-height: 1.15; }
.dh-gprn-subtitle { margin: 0; color: var(--color-text-muted, #6b7280); font-size: 0.78rem; }
.dh-gprn-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-gprn-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-gprn-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
.dh-gprn-pesagem { background: #f9fafb; border: 1px solid #e5e7eb; border-left: 4px solid #346af1; border-radius: 8px; padding: 14px; }
.dh-gprn-pesagem-titulo { color: #346af1; font-size: 0.78rem; font-weight: 800; margin-bottom: 10px; text-transform: uppercase; letter-spacing: 0.04em; }
.dh-gprn-field { margin-bottom: 10px; }
.dh-gprn-field:last-child { margin-bottom: 0; }
.dh-gprn-field label { display: block; font-size: 0.7rem; font-weight: 600; color: #374151; margin-bottom: 4px; }
.dh-gprn-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; }
.dh-gprn-input:focus { outline: none; border-color: #346af1; }

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

.dh-gprn-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-gprn-results { margin-top: 18px; padding: 20px; border-radius: 12px; animation: dhGprnFadeIn 0.3s ease; }
@keyframes dhGprnFadeIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }
.dh-gprn-resultado-titulo { font-size: 1rem; font-weight: 800; margin-bottom: 14px; text-align: center; }

.dh-gprn-num-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
.dh-gprn-num-card { background: #fff; border-radius: 8px; padding: 12px 10px; text-align: center; }
.dh-gprn-num-label { font-size: 0.65rem; font-weight: 800; color: #6b7280; text-transform: uppercase; margin-bottom: 4px; }
.dh-gprn-num-valor { font-size: 1.25rem; font-weight: 800; color: #346af1; line-height: 1.1; margin-bottom: 2px; }
.dh-gprn-num-sub { font-size: 0.65rem; color: #6b7280; }

.dh-gprn-detail { background: #fff; border-radius: 8px; padding: 14px; margin-top: 12px; text-align: left; }
.dh-gprn-detail-title { font-size: 0.72rem; font-weight: 800; color: #1f2937; margin-bottom: 10px; text-transform: uppercase; letter-spacing: 0.06em; }
.dh-gprn-detail p { font-size: 0.74rem; line-height: 1.6; color: #1f2937; }
.dh-gprn-detail--obs { background: rgba(52, 106, 241, 0.08); border: 1px solid #edb133; }
.dh-gprn-detail--obs .dh-gprn-detail-title { color: #92400e; }

.dh-gprn-results--adequado { background: linear-gradient(135deg, #e0f2fe, #bae6fd); border: 2px solid #346af1; }
.dh-gprn-results--adequado .dh-gprn-resultado-titulo { color: #346af1; }
.dh-gprn-results--baixo { background: linear-gradient(135deg, #fef3c7, #fde68a); border: 2px solid #edb133; }
.dh-gprn-results--baixo .dh-gprn-resultado-titulo { color: #d97706; }
.dh-gprn-results--alarme { background: linear-gradient(135deg, #fee2e2, #fecaca); border: 2px solid #ef4444; }
.dh-gprn-results--alarme .dh-gprn-resultado-titulo { color: #dc2626; }

.dh-gprn-protocolo { background: #f9fafb; border: 1px solid #e5e7eb; border-left: 4px solid #346af1; border-radius: 8px; overflow: hidden; }
.dh-gprn-tabela { width: 100%; border-collapse: collapse; }
.dh-gprn-tabela th { background: #346af1; color: #fff; font-size: 0.65rem; font-weight: 800; padding: 8px 10px; text-align: left; text-transform: uppercase; }
.dh-gprn-tabela td { padding: 10px; font-size: 0.74rem; color: #374151; border-bottom: 1px solid #e5e7eb; line-height: 1.5; vertical-align: middle; }
.dh-gprn-tabela tr:last-child td { border-bottom: none; }
.dh-gprn-col-passo { width: 10%; text-align: center; }
.dh-gprn-col-acao { width: 30%; font-weight: 800; color: #346af1; }
.dh-gprn-tabela tr:nth-child(3) td { background: rgba(52, 106, 241, 0.08); }
.dh-gprn-passo-num { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; background: #346af1; color: #fff; border-radius: 50%; font-size: 0.72rem; font-weight: 800; }

.dh-gprn-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-gprn-grid { grid-template-columns: 1fr; } .dh-gprn-num-grid { grid-template-columns: 1fr; } }
