.migorix-hub button {
  width: auto;
  height: auto;
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  line-height: inherit;
  border-radius: 0;
  background: transparent;
  color: inherit;
}

.migorix-section-card {
  margin-top: 8px;
  background: rgba(14, 22, 36, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.065);
  border-radius: 0;
  padding: 12px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.migorix-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  color: var(--color-text-muted);
  font-size: 16px;
  font-weight: 500;
}

.migorix-section-header button {
  background: transparent;
  border: none;
  color: var(--color-text-soft);
  font-size: 13px;
  cursor: pointer;
}

.migorix-grid-2,
.migorix-grid-3,
.migorix-grid-4,
.migorix-grid-5 {
  display: grid;
  gap: 12px;
}

.migorix-grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.migorix-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.migorix-grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.migorix-grid-5 {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.migorix-row-action {
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 16px;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.028);
  border: 1px solid rgba(255, 255, 255, 0.055);
  color: var(--color-text-main);
  font-size: 13px;
  text-align: left;
  cursor: pointer;
}

.migorix-row-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.migorix-row-right {
  color: var(--color-text-muted);
  font-size: 14px;
  white-space: nowrap;
}

.migorix-stat-cell {
  min-height: 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  padding: 0 14px;
  border-right: 1px solid rgba(255, 255, 255, 0.055);
}

.migorix-stat-cell:last-child {
  border-right: none;
}

.migorix-stat-cell strong {
  color: var(--color-text-main);
  font-size: 18px;
  font-weight: 500;
}

.migorix-stat-cell span {
  color: var(--color-text-muted);
  font-size: 12px;
}

@media (max-width: 430px) {
  .migorix-section-card {
    margin-top: 4px;
    padding: 4px 6px;
    border-radius: 0;
  }

  .migorix-section-header {
    margin-bottom: 3px;
    gap: 4px;
    align-items: center;
    min-height: 0;
    font-size: 11px;
    line-height: 1;
  }

  .migorix-section-header button {
    width: auto;
    height: auto;
    padding: 0;
    margin-left: auto;
    background: transparent;
    border: 0;
  }

  .migorix-section-header span,
  .migorix-section-header h3,
  .migorix-section-header div:first-child {
    white-space: nowrap;
  }

  .migorix-grid-2 {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .migorix-grid-3,
  .migorix-grid-4,
  .migorix-grid-5 {
    gap: 6px;
  }

  .migorix-row-action {
    min-height: 32px;
    padding: 0 5px;
    border-radius: 0;
    font-size: 10px;
    line-height: 1.05;
  }

  .migorix-row-left {
    gap: 3px;
  }

  .migorix-row-right {
    font-size: 9px;
    line-height: 1;
  }

  .migorix-row-action svg,
  .migorix-row-action img {
    width: 14px;
    height: 14px;
  }

  .migorix-stat-cell {
    min-height: 52px;
    padding: 0 8px;
    gap: 2px;
  }

  .migorix-stat-cell strong {
    font-size: 16px;
  }

  .migorix-stat-cell span {
    font-size: 10px;
  }

  .migorix-activity-list {
    margin-top: 0;
    padding-top: 0;
  }

  .migorix-activity-item {
    min-height: 18px;
    line-height: 1.05;
    font-size: 10px;
  }
}