.bh-wrapper {
  --bh-accent: #10b981;
  --bh-warn: #f59e0b;
  --bh-danger: #f43f5e;
  --bh-blue: #3b82f6;
  --bh-surface: #fff;
  --bh-surface-alt: #f8fafc;
  --bh-surface-dark: #020617;
  --bh-border: #e2e8f0;
  --bh-text: #0f172a;
  --bh-text-muted: #64748b;
  --bh-text-faint: #94a3b8;

  width: 100%;
  color: var(--bh-text);
}

.theme-dark .bh-wrapper {
  --bh-surface: #09090b;
  --bh-surface-alt: #18181b;
  --bh-border: #27272a;
  --bh-text: #fafafa;
  --bh-text-muted: #a1a1aa;
  --bh-text-faint: #52525b;
}

.bh-status-card[data-status="excelente"] {
  background: rgba(16, 185, 129, 0.08);
  border-color: rgba(16, 185, 129, 0.2);
  color: #065f46;
}

.theme-dark .bh-status-card[data-status="excelente"] {
  color: #34d399;
}

.bh-status-card[data-status="bueno"] {
  background: rgba(59, 130, 246, 0.08);
  border-color: rgba(59, 130, 246, 0.2);
  color: #1e40af;
}

.theme-dark .bh-status-card[data-status="bueno"] {
  color: #93c5fd;
}

.bh-status-card[data-status="regular"] {
  background: rgba(245, 158, 11, 0.08);
  border-color: rgba(245, 158, 11, 0.2);
  color: #92400e;
}

.theme-dark .bh-status-card[data-status="regular"] {
  color: #fcd34d;
}

.bh-status-card[data-status="critico"] {
  background: rgba(244, 63, 94, 0.08);
  border-color: rgba(244, 63, 94, 0.2);
  color: #9f1239;
}

.theme-dark .bh-status-card[data-status="critico"] {
  color: #fda4af;
}

.bh-rec {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  opacity: 0.85;
}

.bh-rec-dot {
  flex-shrink: 0;
  width: 0.25rem;
  height: 0.25rem;
  border-radius: 9999px;
  background: currentcolor;
  margin-top: 0.5rem;
}

.bh-rec p {
  margin: 0;
  font-size: 0.75rem;
  line-height: 1.5;
}

body.is-widget .bh-wrapper {
  padding: 0;
}

    .bh-grid {
      display: grid;
      grid-template-columns: 1fr 2fr;
      gap: 2rem;
      align-items: start;
    }

    @media (max-width: 768px) {
      .bh-grid {
        grid-template-columns: 1fr;
      }
    }

    .bh-left {
      display: flex;
      flex-direction: column;
      gap: 1.25rem;
    }

    .bh-params-panel {
      background: var(--bh-surface);
      border: 1px solid var(--bh-border);
      border-radius: 1.5rem;
      padding: 2rem;
    }

    .bh-params-title {
      display: flex;
      align-items: center;
      gap: 0.5rem;
      font-size: 1rem;
      font-weight: 800;
      margin: 0 0 2rem;
    }

    .bh-params-icon {
      width: 1.25rem;
      height: 1.25rem;
      color: var(--bh-accent);
    }

    .bh-sliders {
      display: flex;
      flex-direction: column;
      gap: 2rem;
    }

    .bh-slider-group {
      display: flex;
      flex-direction: column;
      gap: 0.75rem;
    }

    .bh-slider-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .bh-slider-label {
      font-size: 0.7rem;
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: 0.1em;
      color: var(--bh-text-muted);
    }

    .bh-slider-val {
      font-size: 0.875rem;
      font-weight: 700;
      color: var(--bh-accent);
    }

    .bh-slider {
      -webkit-appearance: none;
      appearance: none;
      width: 100%;
      height: 6px;
      background: var(--bh-border);
      border-radius: 3px;
      outline: none;
      accent-color: var(--bh-accent);
    }

    .bh-slider::-webkit-slider-thumb {
      -webkit-appearance: none;
      appearance: none;
      width: 18px;
      height: 18px;
      background: var(--bh-accent);
      border-radius: 50%;
      cursor: pointer;
      border: 4px solid var(--bh-surface);
      box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    }

    .bh-slider-hint {
      font-size: 0.625rem;
      color: var(--bh-text-faint);
      font-style: italic;
      margin: 0;
    }

    .bh-status-card {
      padding: 1.25rem;
      border-radius: 1rem;
      border: 1px solid var(--bh-border);
      display: flex;
      flex-direction: column;
      gap: 0.75rem;
      transition: background 400ms, border-color 400ms, color 400ms;
    }

    .bh-status-text {
      font-size: 0.8rem;
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: 0.05em;
    }

    .bh-recs {
      display: flex;
      flex-direction: column;
      gap: 0.5rem;
    }

    .bh-right {
      display: flex;
      flex-direction: column;
      gap: 1.5rem;
    }

    .bh-ring-wrap {
      background: var(--bh-surface);
      border: 1px solid var(--bh-border);
      border-radius: 1.5rem;
      padding: 2rem;
      display: flex;
      align-items: center;
      justify-content: center;
      min-height: 340px;
      position: relative;
      overflow: hidden;
    }

    .bh-ring-glow {
      position: absolute;
      inset: 0;
      background: radial-gradient(circle at 50% 50%, rgba(16, 185, 129, 0.05), transparent);
      pointer-events: none;
    }

    .bh-ring-container {
      position: relative;
      width: 220px;
      height: 220px;
    }

    .bh-ring-svg {
      width: 100%;
      height: 100%;
      transform: rotate(-90deg);
    }

    .bh-ring-track {
      color: var(--bh-border);
      stroke: currentcolor;
    }

    .bh-ring-progress {
      color: var(--bh-accent);
      stroke: currentcolor;
      transition: stroke-dashoffset 1s ease-out, stroke 500ms ease;
    }

    .bh-ring-overlay {
      position: absolute;
      inset: 0;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      text-align: center;
    }

    .bh-ring-label {
      font-size: 0.6rem;
      font-weight: 900;
      text-transform: uppercase;
      letter-spacing: 0.2em;
      color: var(--bh-text-faint);
      margin-bottom: 0.25rem;
    }

    .bh-ring-value {
      display: flex;
      align-items: flex-end;
      gap: 0.25rem;
      line-height: 1;
    }

    #bh-soh {
      font-size: 4rem;
      font-weight: 900;
      color: var(--bh-text);
    }

    .bh-ring-pct {
      font-size: 1.5rem;
      font-weight: 900;
      color: var(--bh-text-muted);
      margin-bottom: 0.25rem;
    }

    .bh-ring-years {
      margin-top: 1rem;
      padding: 0.375rem 1rem;
      border-radius: 9999px;
      background: var(--bh-surface-alt);
      border: 1px solid var(--bh-border);
      font-size: 0.65rem;
      font-weight: 900;
      text-transform: uppercase;
      letter-spacing: 0.1em;
      color: var(--bh-text-muted);
    }

    .bh-indicators {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 0.75rem;
    }

    .bh-indicator {
      background: var(--bh-surface);
      border: 1px solid var(--bh-border);
      border-radius: 1rem;
      padding: 1rem;
    }

    .bh-indicator-title {
      display: block;
      font-size: 0.6rem;
      font-weight: 900;
      text-transform: uppercase;
      letter-spacing: 0.1em;
      color: var(--bh-text-faint);
      margin-bottom: 0.5rem;
    }

    .bh-indicator-row {
      display: flex;
      align-items: center;
      gap: 0.5rem;
    }

    .bh-dot {
      width: 0.75rem;
      height: 0.75rem;
      border-radius: 9999px;
      background: var(--bh-accent);
      flex-shrink: 0;
      transition: background 300ms;
    }

    .bh-indicator-label {
      font-size: 0.8rem;
      font-weight: 700;
      color: var(--bh-text);
    }