#bac-app { margin: 1rem 0 2rem; }
#bac-app .bac-tabs { display: flex; flex-wrap: wrap; gap: .4rem; margin: .8rem 0 1rem; }
#bac-app .bac-tabs button { font: 500 .85rem 'Source Sans 3', sans-serif; padding: .45rem .8rem; border: 1px solid #0f766e;
  background: transparent; color: #0f766e; border-radius: 999px; cursor: pointer; }
#bac-app .bac-tabs button.on { background: #0f766e; color: #fff; }
#bac-app .bac-ctls { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: .6rem 1rem; margin-bottom: .8rem; }
#bac-app .bac-ctl { display: flex; flex-direction: column; font-size: .82rem; gap: .2rem; }
#bac-app .bac-ctl span { font-weight: 600; }
#bac-app .bac-ctl select, #bac-app .bac-ctl input { width: 100%; }
#bac-app .bac-ctl output { font-family: 'IBM Plex Mono', monospace; font-size: .8rem; }
#bac-app .bac-table { width: 100%; border-collapse: collapse; font-size: .82rem; margin: .4rem 0 1rem; display: block; overflow-x: auto; }
#bac-app .bac-table th, #bac-app .bac-table td { padding: .35rem .5rem; border-bottom: 1px solid rgba(127,127,127,.25); text-align: right; white-space: nowrap; }
#bac-app .bac-table th:first-child, #bac-app .bac-table td:first-child { text-align: left; }
#bac-app .bac-dot { display: inline-block; width: .6rem; height: .6rem; border-radius: 50%; margin-right: .35rem; }
#bac-app .bac-chart { position: relative; height: 280px; margin: .5rem 0 1.2rem; }
#bac-app .bac-note { font-size: .82rem; opacity: .85; }
#bac-app h4 { font-size: .95rem; margin-top: 1rem; }
@media (max-width: 600px) { #bac-app .bac-chart { height: 230px; } }
