.bc-legal {
  background: #fff8e6;
  border: 1px solid #e6d7a8;
  border-radius: 10px;
  padding: 12px 14px;
  margin: 14px 0 18px;
  font-size: 0.92rem;
}
.bc-legal p {
  margin: 0.35em 0;
}
.bc-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin: 16px 0 20px;
}
.bc-class-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 12px 0 24px;
}
.chart-wrap {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 18px 20px;
  margin: 0 0 24px;
}
.chart-wrap h2 {
  margin: 0 0 4px;
  font-size: 1.15rem;
}
.chart-wrap .bc-sub {
  margin: 0 0 12px;
  font-size: 0.88rem;
  color: var(--muted);
}
table.bc-main {
  width: 100%;
  font-size: 0.82rem;
}
table.bc-main th {
  background: #eef2f6;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
table.bc-main td,
table.bc-main th {
  padding: 6px 8px;
  vertical-align: top;
}
table.bc-main tbody tr:nth-child(even) {
  background: #f8fafc;
}
.bc-modes {
  font-size: 0.78rem;
  margin: 0;
  padding-left: 1.1em;
}
.bc-modes li {
  margin: 2px 0;
}
.bc-power {
  font-size: 0.78rem;
  color: #33475b;
  font-weight: 600;
}
.bc-index-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin: 20px 0;
}

.bc-filters {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px 14px;
  margin: 0 0 10px;
}
.bc-filter-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
}
.bc-filter-inline {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
}
.bc-filter-toolbar select {
  padding: 7px 10px;
  font-size: 0.88rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  min-width: 8.5rem;
}
.bc-band-chips-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 8px;
  margin-top: 12px;
}
.bc-chips-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
  padding-top: 6px;
  flex: 0 0 auto;
}
.bc-band-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  flex: 1;
  min-width: 0;
}
.bc-chip {
  font: inherit;
  font-size: 0.8rem;
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #f4f7fa;
  color: #33475b;
  cursor: pointer;
}
.bc-chip:hover {
  background: #eaf1f8;
}
.bc-chip.active {
  background: #0d3b78;
  border-color: #0d3b78;
  color: #fff;
}
.bc-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 20px;
  font-size: 0.82rem;
  margin: 0 0 10px;
  color: var(--muted);
}
.bc-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.bc-legend-swatch {
  width: 28px;
  height: 10px;
  border-radius: 3px;
  display: inline-block;
}
.bc-data-note {
  background: #f4f8fc;
  border: 1px solid #c5d4e4;
  border-radius: 10px;
  padding: 10px 14px 12px;
  margin: 0 0 12px;
  font-size: 0.88rem;
}
.bc-data-note summary {
  font-weight: 700;
  color: #0a1f44;
  cursor: pointer;
  list-style-position: outside;
}
.bc-data-note-body p {
  margin: 0.45em 0 0;
  line-height: 1.45;
}
.bc-data-note-body p:first-child {
  margin-top: 0.5em;
}
.bc-activity-wrap {
  margin: 14px 0 0;
  padding-top: 10px;
  border-top: 1px dashed var(--line);
}
.bc-activity-heading {
  margin: 0 0 4px;
  font-size: 0.88rem;
}
.bc-activity-disclaimer,
.bc-activity-source {
  margin: 0 0 8px;
  font-size: 0.78rem;
  line-height: 1.4;
}
.bc-activity-table {
  font-size: 0.78rem;
}
.bc-activity-table th {
  font-size: 0.7rem;
}
.bc-result-meta {
  margin: 8px 0 12px;
  font-size: 0.92rem;
}
.bc-bands-container {
  margin: 0 0 24px;
  max-width: 100%;
  overflow-x: auto;
}
.bc-band-block {
  margin-bottom: 28px;
}
.bc-band-bar-wrap {
  margin-bottom: 8px;
}
.bc-band-bar-label {
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: #0a1f44;
}
.bc-mode-bars {
  display: grid;
  grid-template-columns: minmax(4.5rem, auto) 1fr;
  gap: 4px 10px;
  align-items: center;
}
.bc-mode-bar-row {
  display: contents;
}
.bc-mode-bar-name {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted);
  text-align: right;
  line-height: 1.2;
}
.bc-mode-bar-track {
  display: flex;
  width: 100%;
  height: 9px;
  border-radius: 3px;
  overflow: hidden;
  border: 1px solid #c5d0dc;
  background: #fff;
}
.bc-bar-seg {
  display: block;
  height: 100%;
  min-width: 1px;
  box-shadow: inset 0 0 0 1px #d8dee6;
}
.bc-bar-empty {
  background: #fff;
}
.bc-legend-swatch.bc-bar-empty {
  box-shadow: inset 0 0 0 1px #c5d0dc;
}
.bc-bar-cw {
  background: #2563eb;
  box-shadow: none;
}
.bc-bar-rtty {
  background: #0d9488;
  box-shadow: none;
}
.bc-bar-phoneimage {
  background: #2f855a;
  box-shadow: none;
}
.bc-bar-phone {
  background: #2f855a;
}
.bc-bar-image {
  background: #6b46c1;
}
.bc-bar-data {
  background: #2b6cb0;
}
.bc-bar-denied {
  background: #c53030;
  opacity: 0.85;
}
.bc-band-bar-ticks {
  position: relative;
  height: 16px;
  font-size: 0.65rem;
  color: var(--muted);
}
.bc-ticks-spacer {
  display: block;
}
.bc-bar-tick {
  position: absolute;
  top: 0;
  transform: translateX(-50%);
  white-space: nowrap;
}
.bc-bar-tick-start {
  transform: none;
}
.bc-bar-tick-end {
  transform: translateX(-100%);
}
.bc-bar-tick-label {
  display: block;
}
.bc-band-table {
  margin-top: 4px;
}
.bc-cell-allowed {
  color: #276749;
  font-weight: 600;
}
.bc-cell-denied {
  color: #c53030;
  font-weight: 600;
}
.bc-row-gap {
  background: #fff5f5 !important;
}
.bc-row-gap td {
  background: inherit;
}
.bc-row-mode-dim {
  opacity: 0.45;
}
.bc-empty-msg {
  text-align: center;
  color: var(--muted);
  padding: 24px;
}
.only-print {
  display: none;
}

@media (min-width: 1100px) {
  .bc-index-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .bc-bands-container,
  .chart-wrap {
    max-width: none;
    width: 100%;
  }
  table.bc-main,
  table.bc-interactive,
  .bc-activity-table {
    width: 100%;
    font-size: 1rem;
  }
  table.bc-main th,
  table.bc-main td,
  table.bc-interactive th,
  table.bc-interactive td {
    padding: 10px 14px;
  }
  body[data-license-class="extra"] table.bc-main {
    font-size: 0.95rem;
  }
}
@media (min-width: 720px) and (max-width: 1099px) {
  .bc-index-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 719px) {
  .bc-index-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .bc-bands-container,
  .chart-wrap,
  .bc-band-bar-ticks {
    max-width: 100%;
    overflow-x: auto;
  }
  .bc-filter-toolbar select {
    font-size: 16px;
    min-height: 44px;
    width: 100%;
  }
  .bc-chip {
    min-height: 44px;
    padding: 8px 14px;
    font-size: 1rem;
  }
  .bc-chip:active,
  .bc-chip:hover {
    background: #eaf1f8;
  }
  .bc-chip.active,
  .bc-chip.active:hover,
  .bc-chip.active:active {
    background: #0d3b78;
    border-color: #0d3b78;
    color: #fff;
  }
  .bc-data-note summary {
    min-height: 44px;
    display: flex;
    align-items: center;
  }
}

@media (max-width: 640px) {
  .bc-filter-toolbar {
    flex-direction: column;
    align-items: stretch;
  }
  .bc-filter-toolbar select {
    width: 100%;
  }
  .bc-band-chips-wrap {
    flex-direction: column;
  }
  table.bc-interactive thead {
    display: none;
  }
  table.bc-interactive,
  table.bc-interactive tbody,
  table.bc-interactive tr,
  table.bc-interactive td {
    display: block;
    width: 100%;
  }
  table.bc-interactive tr {
    border: 1px solid var(--line);
    border-radius: 10px;
    margin-bottom: 12px;
    padding: 10px 12px;
    background: #fff;
  }
  table.bc-interactive tbody tr:nth-child(even) {
    background: #fff;
  }
  table.bc-interactive td {
    padding: 6px 0;
    border: none;
  }
  table.bc-interactive td::before {
    content: attr(data-label);
    display: block;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--muted);
    font-weight: 600;
    margin-bottom: 2px;
  }
  table.bc-interactive td:first-child {
    padding-top: 0;
  }
  .bc-row-gap {
    border-color: #feb2b2;
  }
}

body[data-license-class="extra"] table.bc-main {
  font-size: 0.76rem;
}

@media print {
  header,
  footer,
  .hero,
  .bc-toolbar,
  .bc-class-links,
  .bc-filters,
  .bc-legend,
  .bc-result-meta,
  .no-print {
    display: none !important;
  }
  .only-print,
  .bc-print-summary {
    display: block !important;
  }
  .bc-print-summary {
    font-size: 11pt;
    margin: 0 0 10px;
    font-weight: 600;
  }
  body {
    background: #fff;
    color: #000;
    font-size: 9pt;
    line-height: 1.25;
  }
  main.wrap {
    max-width: none;
    padding: 0;
  }
  .chart-wrap {
    border: none;
    border-radius: 0;
    padding: 0;
    margin: 0;
    box-shadow: none;
  }
  table.bc-main {
    font-size: 7.5pt;
  }
  body[data-license-class="extra"] table.bc-main {
    font-size: 6.5pt;
  }
  table.bc-main tr {
    page-break-inside: avoid;
  }
  table.bc-main th,
  table.bc-main td {
    padding: 3px 5px;
  }
  .bc-legal {
    border: 1px solid #999;
    padding: 8px;
    margin-bottom: 10px;
    font-size: 7.5pt;
  }
  .bc-modes {
    font-size: 7pt;
  }
  .bc-band-block {
    page-break-inside: avoid;
    margin-bottom: 14px;
  }
  .bc-activity-wrap {
    border-top-color: #999;
    margin-top: 8px;
    padding-top: 6px;
  }
  .bc-activity-table {
    font-size: 7pt;
  }
  .bc-activity-disclaimer,
  .bc-activity-source {
    font-size: 6.5pt;
  }
  .bc-row-mode-dim {
    opacity: 1;
  }
  @page {
    size: letter portrait;
    margin: 0.45in;
  }
}
