/* Appearance row (figma 'Frame 2117131228': title + cube row, column gap 8,
 * pad 16/0, hairline separator; the section column strips it when last). */

.group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 0;
  border-bottom: 1px solid var(--dsw-alias-border-l2);
}

.title {
  font-size: 14px;
  font-weight: 400;
  line-height: 22px;
  color: var(--dsw-alias-label-primary);
}

.cubeRow {
  display: flex;
  align-items: stretch;
  gap: 8px;
  flex-wrap: wrap;
}

/* Appearance cube (figma '.Selector Cube' 276x82 r16, pad 20/32, centered
 * icon-over-label column, gap 4); flexed down from the figma width so all
 * three sit on one row in the 800 panel, wrapping when narrower. */
.themeCube {
  box-sizing: border-box;
  flex: 1 1 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 20px 32px;
  border: 1px solid var(--dsw-alias-border-l2);
  border-radius: 16px;
  background: transparent;
  font: inherit;
  font-size: 14px;
  line-height: 22px;
  color: var(--dsw-alias-label-primary);
  cursor: pointer;
}

.themeCube:hover:not(.selected) {
  background: var(--dsw-alias-interactive-bg-hover);
}

/* Selected cube: #F5F6F7 fill + #ADB2B8 border (static token — the bluish-400
 * step has no alias-layer name). */
.selected {
  background: var(--dsw-alias-bg-module-platform);
  border-color: var(--dsw-static-neutral-bluish-400);
}
