/* Le widget hérite police et couleur du thème : il s'adapte aux thèmes clairs et sombres. */
.f5kaz-dxc {
  --line: rgba(128, 128, 128, 0.28);
  --soft: rgba(128, 128, 128, 0.10);
  font-size: 0.95rem;
  line-height: 1.4;
  color: inherit;
}

.f5kaz-dxc *,
.f5kaz-dxc *::before,
.f5kaz-dxc *::after { box-sizing: border-box; }

.f5kaz-dxc__bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.f5kaz-dxc__bands { display: flex; flex-wrap: wrap; gap: 0.35rem; }

.f5kaz-dxc__chip {
  --hue: 0;
  appearance: none;
  cursor: pointer;
  font: inherit;
  color: inherit;
  background: transparent;
  border: 1px solid var(--line);
  border-left: 4px solid hsl(var(--hue) 65% 50%);
  border-radius: 4px;
  padding: 0.25rem 0.6rem;
}
.f5kaz-dxc__chip:first-child { border-left-width: 1px; }
.f5kaz-dxc__chip:hover { background: var(--soft); }
.f5kaz-dxc__chip[aria-pressed="true"] {
  background: var(--soft);
  border-color: currentColor;
  font-weight: 600;
}
.f5kaz-dxc__chip:focus-visible,
.f5kaz-dxc__mode select:focus-visible,
.f5kaz-dxc__call a:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }

.f5kaz-dxc__mode { display: inline-flex; align-items: center; gap: 0.4rem; }
.f5kaz-dxc__mode select {
  font: inherit;
  color: inherit;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 0.25rem 0.4rem;
}
.f5kaz-dxc__mode select option { color: #111; background: #fff; }

.f5kaz-dxc__scroll {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 4px;
}

.f5kaz-dxc__table {
  width: 100%;
  min-width: 640px;
  margin: 0;
  border-collapse: collapse;
  border: 0;
}

.f5kaz-dxc__table th,
.f5kaz-dxc__table td {
  padding: 0.4rem 0.65rem;
  text-align: left;
  vertical-align: top;
  border: 0;
  border-bottom: 1px solid var(--line);
}
.f5kaz-dxc__table thead th {
  font-weight: 600;
  background: var(--soft);
  white-space: nowrap;
}
.f5kaz-dxc__table tbody tr:last-child td { border-bottom: 0; }

.f5kaz-dxc__time,
.f5kaz-dxc__freq { font-variant-numeric: tabular-nums; white-space: nowrap; }
.f5kaz-dxc__freq { text-align: right; }
.f5kaz-dxc__table th:nth-child(2) { text-align: right; }

.f5kaz-dxc__call a { font-weight: 700; text-decoration: none; color: inherit; border-bottom: 1px dotted currentColor; }
.f5kaz-dxc__call a:hover { border-bottom-style: solid; }

.f5kaz-dxc__band {
  --hue: 0;
  box-shadow: inset 4px 0 0 hsl(var(--hue) 65% 50%);
  padding-left: 0.9rem !important;
  white-space: nowrap;
}

.f5kaz-dxc__comment { word-break: break-word; }
.f5kaz-dxc__spotter { white-space: nowrap; opacity: 0.75; }

.f5kaz-dxc__table tr.is-club td { background: rgba(255, 180, 0, 0.18); }

.f5kaz-dxc__empty,
.f5kaz-dxc__status { margin: 0.6rem 0 0; font-size: 0.85rem; opacity: 0.8; }
.f5kaz-dxc__status.is-error { opacity: 1; font-weight: 600; }

@media (max-width: 600px) {
  .f5kaz-dxc { font-size: 0.9rem; }
}
