.spectrum-column > .section-note {
  margin-bottom: 12px;
}

.spectrum-table {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.spectrum-row {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  min-height: 230px;
  border-bottom: 1px solid var(--line);
}

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

.spectrum-row-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 6px;
  padding: 18px 14px;
  background: #20231f;
  color: #fff;
  font-size: 16px;
  font-weight: 850;
  line-height: 1.4;
}

.spectrum-row-head span {
  color: #d6d6d6;
  font-size: 12px;
  font-weight: 700;
}

.spectrum-cells {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 0;
  background: var(--line);
}

.spectrum-cell {
  display: grid;
  grid-template-rows: 1fr auto;
  min-height: 230px;
  padding: 0;
  background: #fff;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.spectrum-cell-open {
  display: grid;
  grid-template-rows: 128px 1fr;
  width: 100%;
  padding: 0;
  border: 0;
  background: #fff;
  color: inherit;
  text-align: left;
}

.spectrum-cell:hover,
.spectrum-cell.is-active {
  position: relative;
  z-index: 1;
  box-shadow: inset 0 0 0 2px #111111;
}

.spectrum-cell.is-locked {
  background: #f7f7f7;
}

.spectrum-product-image {
  display: grid;
  place-items: center;
  width: 100%;
  min-width: 0;
  overflow: hidden;
  background: linear-gradient(135deg, #f7f7f7, #e8e8e8);
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}

.spectrum-product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 10px;
}

.spectrum-cell-body {
  display: grid;
  gap: 9px;
  padding: 12px;
}

.spectrum-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.spectrum-title-row h4 {
  margin: 0;
  font-size: 16px;
  line-height: 1.3;
}

.spectrum-cell p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.front-card-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  padding: 0 12px 12px;
}

.front-card-actions .mini-button {
  min-height: 32px;
  padding: 7px 8px;
}

.front-card-actions .mini-button.danger {
  background: #111111;
  color: #ffffff;
  border-color: #111111;
}

.cover-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  align-items: stretch;
}

.cover-tile,
.cover-empty {
  display: grid;
  min-height: 54px;
  aspect-ratio: 4 / 3;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface-muted);
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  text-align: center;
}

.cover-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cover-more {
  display: grid;
  min-height: 54px;
  place-items: center;
  border: 1px dashed var(--line-strong);
  border-radius: 6px;
  background: #ffffff;
  color: #111111;
  font-size: 12px;
  font-weight: 850;
}

.spectrum-empty {
  display: grid;
  min-height: 230px;
  place-items: center;
  padding: 18px;
  background: #fff;
  color: var(--muted);
  font-weight: 800;
}

@media (max-width: 760px) {
  .spectrum-row {
    grid-template-columns: 1fr;
  }

  .spectrum-row-head {
    justify-content: flex-start;
    padding: 12px 14px;
  }

  .spectrum-cells {
    grid-template-columns: 1fr;
  }

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