.hub-registry-color-menu {
  position: fixed;
  z-index: 10000;
  inset: auto;
  box-sizing: border-box;
  margin: 0;
  padding: 14px;
  overflow: auto;
  overscroll-behavior: contain;
  border: 1px solid var(--line, #d7e3ea);
  border-radius: 14px;
  background: var(--surface, #fff);
  color: var(--ink, #102b3a);
  font: 500 13px/1.4 var(--hub-font, system-ui, sans-serif);
  box-shadow: 0 12px 32px rgb(7 21 29 / 16%);
}
.hub-registry-color-menu *, .hub-registry-color-menu *::before { box-sizing: border-box; }
.hub-registry-color-menu h3 { margin: 0 0 12px; font-size: 15px; }
.hub-registry-color-menu label { display: block; margin: 10px 0; }
.hub-registry-color-menu label > span { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.hub-registry-color-menu output { color: var(--muted, #66737b); font-variant-numeric: tabular-nums; }
.hub-registry-color-value { display: flex; align-items: end; gap: 10px; }
.hub-registry-color-value label { flex: 1; min-width: 0; margin: 0; }
.hub-registry-color-value [data-preview] { width: 44px; height: 36px; border: 1px solid var(--line-strong, #bdcbd2); border-radius: 9px; }
.hub-registry-color-menu input[type="text"] {
  width: 100%; height: 36px; margin-top: 4px; padding: 4px 9px;
  border: 1px solid var(--line-strong, #bdcbd2); border-radius: 9px; color: inherit; background: white;
  font: inherit; font-variant-numeric: tabular-nums; text-transform: uppercase;
}
.hub-registry-color-menu input[aria-invalid="true"] { border-color: var(--red, #bd3d43); }
.hub-registry-color-menu input[type="range"] { display: block; width: 100%; margin: 6px 0 0; accent-color: var(--blue-deep, #0879c7); cursor: pointer; }
.hub-registry-color-swatches { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 4px; margin: 12px 0; }
.hub-registry-color-swatches button {
  padding: 0; width: 100%; min-width: 0; height: 29px; border: 1px solid rgb(7 21 29 / 25%);
  border-radius: 7px; background: var(--swatch); cursor: pointer;
}
.hub-registry-color-swatches button[aria-pressed="true"] { outline: 2px solid var(--blue-deep, #0879c7); outline-offset: 1px; }
.hub-registry-color-actions { display: flex; justify-content: end; gap: 6px; padding-top: 8px; }
.hub-registry-color-actions button {
  border: 1px solid var(--line, #d7e3ea); border-radius: 9px; padding: 6px 12px; min-height: 34px;
  background: var(--surface, white); color: var(--ink, #102b3a); font: inherit; cursor: pointer;
}
.hub-registry-color-actions [data-apply] { background: var(--blue-deep, #0879c7); color: white; }
.hub-registry-color-actions button:disabled { opacity: .55; cursor: default; }
.hub-registry-color-menu :is(button,input):focus-visible { outline: 2px solid var(--blue-deep, #0879c7); outline-offset: 2px; }
