.beacon-signals-nav {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 4px;
  padding: 0 10px;
  border-bottom-color: transparent;
  white-space: nowrap;
}

.beacon-signals-nav.hidden,
.beacon-signals-nav[hidden] {
  display: none;
}

.beacon-signals-nav-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #c5d0e0;
  box-shadow: none;
}

.beacon-signals-nav.has-signals .beacon-signals-nav-dot {
  background: var(--blue);
  box-shadow: 0 0 0 3px rgba(47, 110, 201, .16);
}

.beacon-signals-nav b {
  font-weight: 900;
}

.team-signals-panel {
  position: static;
  margin: 0 0 14px;
  overflow-x: hidden;
  max-width: 100%;
}

.team-signals-panel:focus {
  outline: none;
}

.team-signals-panel:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.team-signals-panel .dashboard-signals,
.team-lineup-suggestions {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: #fff;
}

.team-lineup-suggestions {
  padding: 0;
  border-bottom: 1px solid #edf0f4;
}

.team-lineup-suggestions[hidden] {
  display: none;
}

.team-lineup-suggestions-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 14px;
  border-bottom: 1px solid #edf0f4;
  color: var(--navy);
}

.team-lineup-suggestions-heading strong {
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .55px;
  text-transform: uppercase;
}

.team-lineup-suggestions-heading small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
}

.dashboard-signals-panel:focus {
  outline: none;
}

.dashboard-signals-panel:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.dashboard-signals-panel .dashboard-signals {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: #fff;
}

.team-action-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
}

.team-action-strip[hidden] {
  display: none;
}

.team-action-chip {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 5px 10px;
  border: 1px solid #d7deea;
  border-radius: 999px;
  background: #f7f9fc;
  color: var(--navy);
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
  cursor: pointer;
}

.team-action-chip.is-critical {
  border-color: #e2c2b8;
  background: #fff6f2;
  color: #7a2a2a;
}

.team-action-chip.is-warning {
  border-color: #e4d2a8;
  background: #fff8e8;
  color: #8a4b12;
}

.team-action-chip.is-overage {
  border-color: #d5c7a4;
  background: #f8f3e8;
  color: #6d4b16;
}

.team-attention-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px 14px 14px;
  border-bottom: 1px solid #edf0f4;
}

.team-attention-card.is-critical,
.team-attention-card.is-starter.is-critical {
  background: #fff6f2;
}

.team-attention-card.is-warning,
.team-attention-card.is-starter.is-warning {
  background: #fffaf3;
}

.team-attention-card.is-review,
.team-attention-card.is-starter.is-review {
  background: #fff;
}

.team-attention-card.is-overage {
  background: #f8f5ee;
}

.team-attention-card > strong {
  color: var(--navy);
  font-size: 14px;
  font-weight: 850;
}

.team-attention-card > p,
.team-attention-note {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.team-attention-player {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2px 10px;
  width: 100%;
  padding: 6px 0;
  border: 0;
  border-bottom: 1px solid #edf0f4;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.team-attention-player:last-of-type {
  border-bottom: 0;
}

.team-attention-player strong {
  font-size: 13px;
}

.team-attention-player span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
}

.team-attention-player.is-critical span {
  color: #7a2a2a;
}

.team-attention-player small {
  grid-column: 1 / -1;
  color: var(--navy);
  font-size: 11px;
}

.team-signal-detail {
  margin-top: 4px;
}

.team-signal-detail summary {
  cursor: pointer;
  color: var(--blue);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .3px;
  text-transform: uppercase;
}

.team-signal-detail-body {
  margin-top: 8px;
}

.team-signal-detail-body .beacon-signal-overage {
  padding: 10px 0 0;
  border-bottom: 0;
  background: transparent;
}

.beacon-signal-row.is-routine {
  background: #fff;
}

.beacon-signal-row.is-routine small {
  display: none;
}

.beacon-signal-row.is-routine small.lineup-opportunity-note {
  display: block;
  white-space: normal;
  overflow-wrap: anywhere;
}

.position-health {
  padding: 10px 14px 14px;
}

.position-health-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.position-health-list li {
  display: grid;
  grid-template-columns: 2.2em auto 1fr;
  align-items: baseline;
  gap: 8px;
  padding: 6px 0;
  border-bottom: 1px solid #edf0f4;
  color: var(--muted);
  font-size: 12px;
}

.position-health-list li:last-child {
  border-bottom: 0;
}

.position-health-list span {
  color: var(--navy);
  font-weight: 850;
}

.position-health-list b {
  color: var(--ink);
  font-weight: 750;
}

.position-health-list em {
  justify-self: end;
  font-style: normal;
  font-size: 11px;
  font-weight: 800;
}

.position-health-list .is-ok em,
.position-health-list .is-adequate em {
  color: #21543a;
}

.position-health-list .is-thin em,
.position-health-list .is-already_thin em {
  color: #8a4b12;
}

.position-health-list .is-below_starter em,
.position-health-list .is-below_starter_requirement em {
  color: #7a2a2a;
}

.position-health-list .is-coverage-met em {
  color: #3d4f66;
}

.position-health-list .is-coverage-short em {
  color: #8a4b12;
}

.beacon-signal-list {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow-x: hidden;
}

.beacon-signal-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 12px;
  align-items: center;
  width: 100%;
  min-width: 0;
  padding: 10px 16px;
  border: 0;
  border-bottom: 1px solid #edf0f4;
  background: #fff;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.beacon-signal-row:last-child {
  border-bottom: 0;
}

.beacon-signal-row:hover,
.beacon-signal-row:focus-visible {
  background: #f4f7ff;
}

.beacon-signal-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.beacon-signal-row-type {
  color: var(--blue);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .55px;
  text-transform: uppercase;
}

.beacon-signal-row strong {
  min-width: 0;
  color: var(--navy);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -.2px;
  line-height: 1.3;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.beacon-signal-row small {
  min-width: 0;
  color: var(--muted);
  font-size: 12px;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.beacon-signal-row b {
  justify-self: end;
  align-self: center;
  flex-shrink: 0;
  padding: 7px 10px;
  border-radius: 3px;
  background: var(--blue);
  color: #fff;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .4px;
  text-transform: uppercase;
  white-space: nowrap;
}

.beacon-empty-signal {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 20px;
}

.beacon-empty-signal strong {
  color: var(--navy);
  font-size: 15px;
}

.beacon-empty-signal span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.beacon-signal-overage {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 18px 18px;
  border-bottom: 1px solid #edf0f4;
  background: #f7f9fc;
}

.beacon-signal-overage strong {
  color: var(--navy);
  font-size: 16px;
  font-weight: 850;
  letter-spacing: -.2px;
}

.beacon-signal-overage p,
.beacon-signal-overage > small {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.beacon-overage-drops,
.beacon-overage-alternatives {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
}

.beacon-overage-drops h4,
.beacon-overage-depth h5,
.beacon-overage-alternatives h5 {
  margin: 0;
  color: var(--navy);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .45px;
  text-transform: uppercase;
}

.beacon-overage-player {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2px 10px;
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #e4eaf3;
  border-radius: 4px;
  background: #fff;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.beacon-overage-player:hover,
.beacon-overage-player:focus-visible {
  border-color: var(--blue);
  background: #f4f7ff;
}

.beacon-overage-player strong {
  font-size: 14px;
}

.beacon-overage-player span {
  color: var(--blue);
  font-size: 11px;
  font-weight: 850;
}

.beacon-overage-player small {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.beacon-overage-player.is-alt {
  background: #fbfcfe;
}

.beacon-overage-concern {
  color: #8a4b12;
  font-size: 12px;
  line-height: 1.45;
}

.beacon-overage-depth {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 4px;
}

.beacon-overage-depth ul {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin: 0;
  padding: 10px 12px;
  border: 1px solid #e4eaf3;
  border-radius: 4px;
  background: #fff;
  list-style: none;
}

.beacon-overage-depth li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 8px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.beacon-overage-depth li span {
  min-width: 1.8em;
  color: var(--navy);
  font-weight: 850;
}

.beacon-overage-depth li b {
  font-weight: 650;
}

.beacon-overage-depth li em,
.beacon-overage-depth-status {
  margin: 0;
  padding: 1px 6px;
  border-radius: 999px;
  color: #8a4b12;
  background: #f6ecd8;
  font-style: normal;
  font-size: 11px;
  font-weight: 800;
}

.beacon-overage-depth-status.is-adequate {
  color: #21543a;
  background: #e7f3ec;
}

.beacon-overage-depth-status.is-already_thin,
.beacon-overage-depth-status.is-becomes_thin {
  color: #8a4b12;
  background: #f6ecd8;
}

.beacon-overage-depth-status.is-below_starter_requirement,
.beacon-overage-depth-status.is-below_starter {
  color: #7a2a2a;
  background: #f8e6e6;
}

.beacon-signal-starter {
  background: #fff6f2;
}

.beacon-signal-starter .beacon-overage-player small + small {
  margin-top: 2px;
  color: var(--navy);
  font-weight: 650;
}

@media (prefers-reduced-motion: reduce) {
  .beacon-signals-nav.has-signals .beacon-signals-nav-dot {
    animation: none;
    box-shadow: 0 0 0 3px rgba(47, 110, 201, .16);
  }
}

@media (max-width: 720px) {
  .beacon-signal-row {
    padding: 10px 12px;
  }

  .team-action-strip {
    margin-bottom: 12px;
  }
}

@media (max-width: 390px) {
  .beacon-signals-nav {
    min-width: 0;
    padding: 0 9px;
    font-size: 10px;
  }

  .beacon-signal-list,
  .dashboard-signals-panel,
  .team-signals-panel,
  .beacon-signal-row {
    overflow-x: hidden;
  }

  .beacon-signal-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
    padding: 10px 12px;
  }

  .beacon-signal-row b {
    justify-self: start;
    margin-top: 4px;
    min-height: 36px;
    padding: 9px 12px;
  }

  .team-action-chip {
    min-height: 36px;
  }
}
