/* BWIP SVGs have a viewBox without intrinsic dimensions. Give their flex wrapper
   a definite width so max-width:100% does not collapse the symbol to 0 x 0. */
.bdv-app .bdv-output > div:not(.bdv-sheet) {
  width: 100%;
  min-width: 0;
  max-width: 720px;
}
.bdv-app .bdv-output > div:not(.bdv-sheet) > svg {
  display: block;
  width: 100%;
  height: auto;
  max-height: 360px;
}
.bdv-app .bdv-btn {
  background: #2955eb;
  color: #fff;
  border: 1px solid #2955eb;
}
.bdv-app .bdv-btn:hover { background: #193fbe; color: #fff; }
.bdv-app .bdv-secondary {
  background: #eaf0fd;
  color: #213fa9;
  border: 1px solid #d3def7;
}
.bdv-app .bdv-secondary:hover { background: #dce6fc; color: #173384; }
.bd-header .bd-toggle { display: none !important; }
@media (max-width: 820px) {
  .bd-header .bd-toggle { display: inline-flex !important; align-items: center; }
}
@media (max-width: 550px) {
  .bd-footer .bd-footer-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .bd-footer .bd-footer-grid > div:first-child { grid-column: auto; }
}
