/* Native text entry surface: keep the caret, remove the desktop web focus rectangle. */
.preview-stage :is(
  input:not([type="file"]):not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="color"]):not([type="button"]):not([type="submit"]):not([type="reset"]),
  textarea,
  [contenteditable="true"]
):focus,
.preview-stage :is(
  input:not([type="file"]):not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="color"]):not([type="button"]):not([type="submit"]):not([type="reset"]),
  textarea,
  [contenteditable="true"]
):focus-visible {
  outline: none !important;
  outline-offset: 0 !important;
}

.preview-stage :is(.memory-profile-input, .memory-summary-input):focus,
.preview-stage :is(.memory-profile-input, .memory-summary-input):focus-visible {
  box-shadow: none !important;
}

.preview-stage .cb-field:focus,
.preview-stage .cb-field:focus-visible {
  border-color: rgba(60, 60, 67, 0.23) !important;
  box-shadow: none !important;
}
