.vc-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.vc-option {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 7px;
  padding: 9px;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  color: var(--ink);
  min-width: 0;
}
.vc-option:hover {
  border-color: var(--teal);
  background: var(--paper);
}
.vc-option.vc-selected {
  border-color: var(--teal);
  box-shadow: inset 0 0 0 1px var(--teal);
  background: var(--panel);
}
.vc-check {
  position: absolute;
  right: 5px;
  top: 4px;
  border-radius: 50%;
  width: 17px;
  height: 17px;
  background: var(--teal);
  color: var(--panel);
  font: 11px/17px system-ui;
  text-align: center;
  display: none;
}
.vc-selected > .vc-check {
  display: block;
}
.vc-preview {
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 5px;
  background: var(--paper);
}
.vc-preview > svg {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.vc-copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.vc-copy strong {
  font-size: 11px;
  font-weight: 600;
  line-height: 1.4;
  overflow-wrap: anywhere;
}
.vc-copy small {
  font-size: 9px;
  line-height: 1.5;
  color: var(--muted);
}
.vc-swatches {
  display: flex;
  width: 100%;
  height: 24px;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px #0002;
}
.vc-swatches i {
  flex: 1;
  min-width: 0;
}
.vc-dropdown {
  position: relative;
  width: 100%;
}
.vc-dropdown > summary {
  display: flex;
  align-items: center;
  gap: 9px;
  cursor: pointer;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 7px 9px;
  list-style: none;
  background: var(--panel);
  color: var(--ink);
  font: inherit;
}
.vc-dropdown > summary::-webkit-details-marker {
  display: none;
}
.vc-dropdown > summary .vc-mini {
  height: 28px;
  width: 66px;
  flex-shrink: 0;
  background: transparent;
}
.vc-dropdown > summary .vc-copy {
  flex: 1;
}
.vc-dropdown > summary strong {
  font-size: 11px;
}
.vc-arrow {
  margin-left: auto;
  color: var(--muted);
}
.vc-dropdown[open] > summary {
  border-color: var(--teal);
}
.vc-dropdown[open] > .vc-options {
  margin-top: 7px;
  max-height: 330px;
  overflow: auto;
  padding: 3px;
  overscroll-behavior: contain;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--paper);
}
.vc-rows {
  grid-template-columns: 1fr;
}
.vc-rows > .vc-option {
  flex-direction: row;
  align-items: center;
  padding: 8px;
  gap: 10px;
}
.vc-rows .vc-preview {
  height: 30px;
  width: 85px;
  flex-shrink: 0;
}
.vc-rows .vc-copy {
  padding-right: 12px;
}
.vc-rows .vc-check {
  top: 50%;
  transform: translateY(-50%);
}
.vc-small .vc-preview {
  height: 42px;
}
.vc-small .vc-copy strong {
  font-size: 9px;
}
.vc-small .vc-option {
  padding: 6px;
  gap: 4px;
}
.vc-small {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.vc-preview .vc-swatches {
  height: 100%;
}
.vc-options input {
  font-size: 12px;
}
label:has(+ select[hidden]) {
  cursor: default;
}
[data-theme="dark"] .vc-option:hover {
  background: var(--hover);
}
.vc-dropdown > summary:focus-visible {
  outline: 3px solid #d69a49;
  outline-offset: 2px;
}
.visual-label {
  display: block;
  font-size: 11px;
  margin: 14px 0 6px;
  color: var(--ink);
}
