.bpd-app [hidden] { display: none !important; }
.bpd-basis { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.bpd-basis p { color: var(--text-muted); font-size: 12px; }
.bpd-badge { padding: 6px 11px; border: 1px solid var(--primary); border-radius: 5px; color: var(--primary-deep); font-family: var(--font-mono); font-size: 12px; }
.bpd-status { margin-bottom: 16px; color: var(--text-muted); }
.bpd-error { color: #a52b20; font-size: 12px; margin-top: 4px; }
.bpd-error:empty { display: none; }
.bpd-app [aria-invalid="true"] { border-color: #a52b20; }
.bpd-app .summary-row { grid-template-columns: 1.3fr 1fr; }
.bpd-result-card { border-color: var(--primary); background: #edf7f8; }
.bpd-result-card .summary-value { color: var(--primary-deep); }
.bpd-app .results-section h2 { color: var(--heading); font-size: 15px; margin-bottom: 12px; }
.bpd-breakdown th { font-weight: 400; color: var(--text-muted); text-align: left; padding: 7px 10px; width: 48%; }
.bpd-breakdown td { font-weight: 600; }
.bpd-notes { padding-left: 20px; }
.bpd-notes li + li { margin-top: 10px; }
.bpd-notice { border-left: 3px solid var(--primary); padding: 12px 16px; background: var(--soft-tint); font-size: 12px; }
.bpd-chart { margin: 18px 0 10px; }
.bpd-chart svg { display: block; width: 100%; height: auto; }
.bpd-coefficients summary { cursor: pointer; color: var(--primary-deep); font-weight: 600; padding: 10px 0; }
.bpd-coefficients caption { text-align: left; color: var(--text-muted); font-size: 12px; padding-bottom: 8px; }
.bpd-coefficients tr.is-selected { background: #edf7f8; font-weight: 700; }
.bpd-app #exampleBtn { width: 100%; margin-top: 8px; }
@media (max-width: 480px) {
  .bpd-app .summary-row { grid-template-columns: 1fr; }
  .bpd-breakdown th { width: 44%; }
}
