[data-contentpath="table"] .w-field__input .w-field__wrapper:has(> select[id$="-table-header-choice"]),
[data-contentpath="table"] .w-field__input .w-field__wrapper:has(> label[for$="-handsontable-col-caption"]) {
  display: none;
}

[data-contentpath="table"] [data-field-help],
[data-contentpath="table"] #hot-display-license-info {
  display: none;
}

.mv-comparison-table {
  overflow: hidden;
  border: 1px solid var(--w-color-border-furniture, #374151);
  border-radius: 12px;
  background: var(--w-color-surface-field, #1a1d24);
}

.mv-comparison-table .handsontable {
  color: var(--w-color-text-context, #e5e7eb);
}

.mv-comparison-table .handsontable td,
.mv-comparison-table .handsontable th {
  height: auto;
  padding: 12px 16px;
  color: var(--w-color-text-context, #e5e7eb);
  font-size: 0.9375rem;
  line-height: 1.4;
  vertical-align: middle;
  background: var(--w-color-surface-field, #1a1d24);
  border-color: var(--w-color-border-furniture, #374151);
  white-space: normal;
}

.mv-comparison-table .handsontable th {
  width: 52px;
  color: var(--w-color-text-meta, #9ca3af);
  font-size: 0.7rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: var(--w-color-surface-header, #111318);
}

.mv-comparison-table .handsontable tbody tr:first-child td {
  color: var(--w-color-text-label, #f3f4f6);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--w-color-surface-header, #111318);
}

.mv-comparison-table .handsontable tbody tr:nth-child(odd):not(:first-child) td {
  background: color-mix(in srgb, var(--w-color-surface-page, #0d0f14) 55%, transparent);
}

.mv-comparison-table .handsontable tbody tr td:last-child {
  background-image: linear-gradient(
    90deg,
    transparent 0%,
    color-mix(in srgb, var(--w-color-secondary, #1c8d23) 12%, transparent) 100%
  );
}

.mv-comparison-table .handsontable td.area,
.mv-comparison-table .handsontable td.current {
  background-color: color-mix(in srgb, var(--w-color-secondary, #1c8d23) 18%, var(--w-color-surface-field, #1a1d24));
}

.mv-comparison-table .handsontable .wtBorder.current,
.mv-comparison-table .handsontable .wtBorder.area {
  background-color: var(--w-color-secondary, #1c8d23) !important;
}

.mv-comparison-table .handsontable .htDimmed,
.mv-comparison-table .handsontable .htPlaceholder {
  color: var(--w-color-text-placeholder, #6b7280);
}

.handsontableInput {
  color: var(--w-color-text-context, #111827) !important;
  background-color: var(--w-color-surface-field, #fff) !important;
  box-shadow: inset 0 0 0 2px var(--w-color-secondary, #1c8d23) !important;
}

.htContextMenu table.htCore {
  border-color: var(--w-color-border-furniture, #374151) !important;
  background: var(--w-color-surface-tooltip, #1f2430);
}

.htContextMenu table tbody tr td {
  color: var(--w-color-text-context, #e5e7eb) !important;
  background: var(--w-color-surface-tooltip, #1f2430) !important;
}

.htContextMenu table tbody tr td.current,
.htContextMenu table tbody tr td.zeroclipboard-is-hover {
  background: color-mix(in srgb, var(--w-color-secondary, #1c8d23) 22%, var(--w-color-surface-tooltip, #1f2430)) !important;
}

.htContextMenu table tbody tr td.htSeparator {
  border-top-color: var(--w-color-border-furniture, #374151) !important;
}

.htContextMenu table tbody tr td.htDisabled {
  color: var(--w-color-text-placeholder, #6b7280) !important;
}
