/* Shared compact radar-profile navigation. */
.ng-radar-profile-nav {
  margin: 0 0 8px;
  padding: 0 2px;
}

.ng-radar-profile-row {
  display: flex;
  align-items: stretch;
  gap: 4px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
  padding: 2px 1px 3px;
}

.ng-radar-profile-item {
  flex: 0 0 auto;
  min-width: 62px;
  min-height: 56px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 5px 6px;
  border: 1px solid #263a52;
  border-radius: 9px;
  background: #0b1626;
  color: #a9bdd5;
  text-decoration: none;
  font: inherit;
  font-size: 10px;
  line-height: 1.05;
  cursor: pointer;
  touch-action: manipulation;
}

.ng-radar-profile-item svg {
  width: 20px;
  height: 20px;
  display: block;
  flex: 0 0 20px;
}

.ng-radar-profile-item small {
  display: block;
  max-width: 64px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 9.5px;
  font-weight: 700;
  color: inherit;
}

.ng-radar-profile-item:hover,
.ng-radar-profile-item:focus-visible {
  border-color: #67d7ff;
  color: #eaf7ff;
  outline: none;
}

.ng-radar-profile-item.active,
.ng-radar-profile-item[aria-current="page"] {
  border-color: #67d7ff;
  background: #12334a;
  color: #f5fbff;
  box-shadow: inset 0 0 0 1px rgba(103, 215, 255, .18);
}

.ng-radar-profile-item.planned {
  border-style: dashed;
  border-color: #31455d;
  background: rgba(255, 255, 255, .015);
  color: #6f86a0;
  cursor: not-allowed;
}

.ng-radar-profile-state {
  display: block;
  max-width: 62px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 7.5px;
  font-weight: 500;
  color: #7188a2;
}

.ng-radar-profile-more {
  display: flex;
  align-items: stretch;
  gap: 4px;
  overflow-x: auto;
  padding: 5px 1px 2px;
  scrollbar-width: thin;
}

.ng-radar-profile-more[hidden] {
  display: none;
}

.ng-radar-profile-more .ng-radar-profile-item {
  min-width: 78px;
  min-height: 48px;
}

.ng-radar-profile-other {
  color: #9db5ce;
}

@media (min-width: 760px) {
  .ng-radar-profile-item {
    min-width: 78px;
  }
  .ng-radar-profile-item small {
    max-width: 86px;
  }
}

@media (max-width: 420px) {
  .ng-radar-profile-item {
    min-width: 52px;
    min-height: 52px;
    padding-inline: 3px;
  }

  .ng-radar-profile-item small {
    max-width: 52px;
    font-size: 8.8px;
  }

  .ng-radar-profile-state {
    max-width: 52px;
    font-size: 7px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ng-radar-profile-item {
    transition: none;
  }
}
