.workstation-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 18px;
}

.workstation-toggle {
  margin-top: 14px;
  min-height: 38px;
  padding: 8px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background-color: transparent;
  color: var(--text);
  cursor: pointer;
  font: inherit;
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    color 160ms ease;
}

.workstation-toggle:hover {
  border-color: var(--accent);
  background-color: var(--glow-mint);
  color: var(--text);
}

.workstation-toggle[hidden] {
  display: none;
}

.workstation-card {
  display: flex;
  flex-direction: column;
  min-height: 260px;
  padding: 22px;
  border: 1px solid color-mix(in srgb, var(--card-accent) 36%, var(--border));
  border-radius: 8px;
  background:
    linear-gradient(140deg, var(--card-glow), transparent 48%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent),
    var(--surface);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.2);
  transition:
    border-color 160ms ease,
    transform 160ms ease,
    box-shadow 160ms ease;
}

.workstation-card:hover {
  border-color: var(--card-accent);
  box-shadow: 0 24px 52px rgba(0, 0, 0, 0.28);
  transform: translateY(-5px);
}

.workstation-card__header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.workstation-card__index {
  color: var(--text-soft);
  font-family: var(--fonts-monospace);
  font-size: 0.82rem;
}

.workstation-card__key,
.workstation-card__status {
  border-radius: 8px;
  padding: 4px 8px;
  font-family: var(--fonts-monospace);
  font-size: 0.82rem;
  font-weight: 700;
}

.workstation-card__key {
  border: 1px solid color-mix(in srgb, var(--card-accent) 56%, var(--border));
  color: var(--card-accent);
  text-transform: uppercase;
}

.workstation-card__status {
  margin-left: auto;
  background-color: rgba(31, 31, 40, 0.52);
  color: var(--text);
}
.workstation-card__status--actual {
  background-color: var(--card-accent);
  color: var(--surface);
}
.workstation-card__status--archive {
  background-color: rgba(31, 31, 40, 0.52);
  color: var(--text);
  font-style: italic;
}

.workstation-card__title {
  margin-top: 22px;
  color: var(--text);
  font-size: clamp(1.6rem, 2.4vw, 1.9rem);
  line-height: 1;
}

.workstation-card__specs {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
  gap: 8px 12px;
  margin-top: 18px;
  font-family: var(--fonts-monospace);
}

.workstation-card__specs dt {
  align-self: start;
  border: 1px solid color-mix(in srgb, var(--card-accent) 48%, var(--border));
  border-radius: 8px;
  padding: 4px 7px;
  background-color: rgba(31, 31, 40, 0.36);
  color: var(--card-accent);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
}

.workstation-card__specs dd {
  align-self: center;
  min-width: 0;
  color: var(--text);
  font-weight: 400;
  line-height: 1.4;
}

.workstation-card__group {
  margin-top: 20px;
}

.workstation-card__group-title {
  color: var(--card-accent);
  font-family: var(--fonts-monospace);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.workstation-card__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.workstation-card__chips span {
  border-radius: 8px;
  border: 1px solid var(--card-glow);
  padding: 5px 9px;
  background-color: rgba(31, 31, 40, 0.42);
  color: var(--card-accent);
  font-family: var(--fonts-monospace);
  font-size: 0.9rem;
}

@media (max-width: 780px) {
  .workstation-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .workstation-card__specs {
    grid-template-columns: 58px minmax(0, 1fr);
  }

  .workstation-card__specs dd {
    margin-bottom: 0;
  }
}
