.oc {
  position: relative;
  width: 540px;
  height: 540px;
  overflow: hidden;
  background: #0b0f15;
  color: #dbe6f0;
  font-family: "VT323", monospace;
  user-select: none;
  touch-action: none;
  --ink: #ff6b3d;
  --line: #96b0cc;
}

.oc * { box-sizing: border-box; }

.oc-layer {
  position: absolute;
  left: 0;
  top: 0;
  width: 540px;
  height: 540px;
  pointer-events: none;
}

/* Chart frame. */
.oc-frame {
  position: absolute;
  left: 20px;
  top: 18px;
  width: 322px;
  height: 504px;
  border: 1px solid #96b0cc8c;
  pointer-events: none;
}

/* Where the hand takes the probe. */
.oc-grip {
  position: absolute;
  left: 48px;
  top: 234px;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  cursor: grab;
}

.oc-grip[data-held] { cursor: grabbing; }

/* The listbox: one row per well, level with it. */
.oc-list {
  position: absolute;
  left: 356px;
  top: 18px;
  width: 164px;
  height: 504px;
  display: flex;
  flex-direction: column;
  border: 1px solid #96b0cc8c;
  outline: none;
}

.oc-item {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 0 2px 14px;
  outline: none;
  cursor: pointer;
}

.oc-item + .oc-item { border-top: 1px solid #96b0cc8c; }

.oc-name {
  font-size: 32px;
  line-height: 28px;
}

.oc-at {
  font-size: 16px;
  line-height: 18px;
  color: #8fa3b8;
}

.oc-item[data-selected] {
  background: var(--ink);
  color: #0b0f15;
}

.oc-item[data-selected] .oc-at { color: #0b0f15; }

.oc-mark {
  position: absolute;
  right: 9px;
  top: 9px;
  width: 16px;
  height: 16px;
}

.oc-mark svg {
  display: block;
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
}

.oc-mark .oc-mark-body { fill: currentColor; stroke: var(--ink); stroke-width: 2; }

.oc-item:focus-visible::after {
  content: "";
  position: absolute;
  inset: 3px;
  border: 2px solid #dbe6f0;
}

.oc-item[data-selected]:focus-visible::after { border-color: #0b0f15; }
