.device-workspace--model-picker,
.device-plugin-slot {
  display: grid;
  min-width: 0;
  gap: 0.85rem;
}

.device-model-catalog {
  background: var(--station-panel);
}

.device-model-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(22rem, 1fr));
  gap: 0.85rem;
  margin-top: 1rem;
}

.device-model-card {
  display: grid;
  min-width: 0;
  gap: 0.9rem;
  border-radius: 1rem;
  background: rgb(255 255 255 / 0.025);
  padding: 1rem;
}

.device-model-card > header {
  display: grid;
  min-width: 0;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.75rem;
}

.device-model-card__mark {
  display: grid;
  width: 2.25rem;
  height: 2.25rem;
  place-items: center;
  border-radius: 0.7rem;
  background: rgb(255 255 255 / 0.06);
  color: var(--nodedc-text-primary);
}

.device-model-card header span,
.device-model-card header h3,
.device-model-card > p,
.device-model-card dl {
  margin: 0;
}

.device-model-card header span {
  color: var(--nodedc-text-muted);
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.device-model-card header h3 {
  margin-top: 0.12rem;
  color: var(--nodedc-text-primary);
  font-size: 0.82rem;
}

.device-model-card > p {
  color: var(--nodedc-text-secondary);
  font-size: 0.67rem;
  line-height: 1.5;
}

.device-model-card dl {
  display: grid;
  gap: 0.42rem;
  padding: 0.7rem 0;
}

.device-model-card dl > div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.61rem;
}

.device-model-card dt { color: var(--nodedc-text-muted); }
.device-model-card dd { margin: 0; color: var(--nodedc-text-secondary); text-align: right; }

.device-model-card__capabilities {
  display: flex;
  flex-wrap: wrap;
  gap: 0.38rem;
}

.device-model-card__capabilities span {
  border-radius: 999px;
  background: rgb(255 255 255 / 0.055);
  color: var(--nodedc-text-secondary);
  padding: 0.28rem 0.5rem;
  font-size: 0.54rem;
}

.device-plugin-slot__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-radius: 0.9rem;
  background: rgb(255 255 255 / 0.035);
  padding: 0.72rem 0.85rem;
}

.device-plugin-slot__bar > div { display: grid; min-width: 0; gap: 0.12rem; }
.device-plugin-slot__bar strong { color: var(--nodedc-text-primary); font-size: 0.74rem; }
.device-plugin-slot__bar small { color: var(--nodedc-text-muted); font-size: 0.58rem; }
.device-plugin-slot__bar .device-plugin-slot__error { color: rgb(var(--nodedc-danger-rgb)); }
