#bdTool [hidden] { display: none !important; }
.bd-buttons { display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0; }
.bd-buttons .btn { flex: 1 1 160px; white-space: normal; }
.bd-plan-wrapper { height: 420px; }
.bd-legend { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-bottom: 14px; font-size: .875rem; }
.bd-legend span { display: inline-flex; gap: 7px; align-items: center; }
.bd-legend i { width: 12px; height: 12px; background: #15803d; border-radius: 50%; }
.bd-legend .bd-path-key { background: #cbd5e1; border-radius: 0; }
.bd-legend .bd-margin-key { background: #f1f5f9; border: 1px solid #94a3b8; border-radius: 0; }
.bd-output-table th { white-space: normal; }
.bd-output-table td { text-align: right; }
.bd-output-table td:first-child, .bd-output-table td:nth-child(2) { text-align: left; }
.bd-output-table .bd-selected { background: var(--bg-result); font-weight: 600; }
@media print { .bd-buttons { display: none; } }
