/* Keep the mode caption attached to the real power switch in both rig layouts. */
.device-heading .device-heading-labels > span {
  color: inherit;
  letter-spacing: inherit;
  text-align: left;
}

.analyzer > .power-mode-label {
  position: absolute;
  z-index: 7;
  left: 20px;
  top: 230px;
  width: 148px;
  box-sizing: border-box;
  padding: 2px 4px;
  border: 1px solid #a8ac8b66;
  background: #182019ed;
  color: #e0d9bd;
  font: calc(12px / var(--scale, 1)) / 1.15 'PT Mono',Consolas, 'Courier New', monospace;
  letter-spacing: 0;
  text-align: center;
  text-wrap: balance;
  white-space: normal;
  pointer-events: none;
}

.analyzer > #power[aria-pressed="true"] + .power-mode-label {
  border-color: #9cb47788;
  color: #d0e9ac;
}

@media (max-width: 319px) {
  .analyzer > .power-mode-label { font-size: calc(11px / var(--scale, 1)); }
}
