/* Brutto-netto table (1.8.19). */
.bn-calc { --gap: 16px; }
.bn-calc [hidden] { display: none !important; }

.bn-calc .bn-links { list-style: none; margin: 16px 0; display: flex; gap: 8px 20px; flex-wrap: wrap; padding: 0; }
.bn-calc .bn-custom-box { margin: 24px 0 8px; }

.bn-calc .bn-table { table-layout: auto; font-size: .85rem; min-width: 0; }
.bn-calc .bn-table th,
.bn-calc .bn-table td {
  padding: 7px 8px;
  text-align: right;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.bn-calc .bn-table th:first-child,
.bn-calc .bn-table td:first-child { text-align: left; white-space: normal; }
.bn-calc .bn-table thead th { font-size: .7rem; vertical-align: bottom; }
.bn-calc .bn-table tbody th { font-weight: 600; background: #f8fafc; }
.bn-calc .bn-row--varies { background: #fffbeb; }
.bn-calc .bn-row--varies sup { color: #b45309; font-weight: 700; }
.bn-calc tr.is-selected-year { font-weight: 600; }

.bn-calc .jak-table-wrap { overflow-x: auto; }

.bn-calc .bn-custom-label { margin: 16px 0 6px; font-weight: 600; }

@media (max-width: 480px) {
  .bn-calc .bn-table th,
  .bn-calc .bn-table td { padding: 6px 5px; font-size: .74rem; }
  .bn-calc .bn-table thead th { font-size: .6rem; }
}
