/* Hub pages (instrument, brand, best) */

/* Brand hub spec table — mirrors database.php table view (.table-wrap, thead, bar-cell, depth pips, use-tag) */
.brand-hub-spec-table {
  margin-bottom: 28px;
}

.brand-hub-spec-table .table-wrap {
  overflow-x: auto;
}

.brand-hub-spec-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.brand-hub-spec-table thead th {
  padding: 9px 12px;
  text-align: left;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
  background: var(--surface2);
  white-space: nowrap;
}

.brand-hub-spec-table tbody tr {
  border-bottom: 1px solid var(--border);
  transition: 0.1s;
}

.brand-hub-spec-table tbody tr.brand-hub-spec-row {
  cursor: pointer;
}

.brand-hub-spec-table tbody tr:hover {
  background: var(--brass-l);
}

.brand-hub-spec-table tbody td {
  padding: 10px 12px;
  vertical-align: middle;
}

.brand-hub-spec-table td.model {
  font-family: 'DM Mono', monospace;
  font-size: 12px;
}

.brand-hub-spec-table td.model a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
}

.brand-hub-spec-table td.model a:hover {
  color: var(--brass);
  text-decoration: underline;
}

.brand-hub-spec-table td.num {
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  color: var(--text);
}

.brand-hub-spec-table td.bar-cell {
  min-width: 90px;
}

.brand-hub-spec-table .mini-bar {
  height: 4px;
  background: var(--faint);
  border-radius: 2px;
  overflow: hidden;
  margin-top: 3px;
}

.brand-hub-spec-table .mini-bar-fill {
  height: 100%;
  border-radius: 2px;
  background: var(--brass);
}

.brand-hub-spec-table .depth-pips {
  display: flex;
  gap: 3px;
}

.brand-hub-spec-table .dpip {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--faint);
  border: 1px solid var(--border);
}

.brand-hub-spec-table .dpip.on {
  background: var(--brass);
  border-color: var(--brass);
}

.brand-hub-spec-table caption {
  caption-side: top;
  text-align: left;
  padding: 0 0 10px;
  font-size: 13px;
  color: var(--muted);
}

.brand-hub-empty {
  padding: 24px;
  text-align: center;
  color: var(--muted);
  border: 1px dashed var(--border);
  border-radius: 10px;
  margin-bottom: 28px;
}
