/* A value behind dots until clicked (templates/components/redacted-value.php).
   The original redact-price styles, moved out of the students page. */
.redacted-value {
	all: unset;
	cursor: pointer;
	display: inline-block;
	font: inherit;
	color: inherit;

	.dots {
		letter-spacing: 0.1em;
		color: var(--ink-secondary);
	}

	.value {
		display: none;
	}

	&[aria-pressed='true'] .dots {
		display: none;
	}

	&[aria-pressed='true'] .value {
		display: inline;
	}

	&:focus-visible {
		outline: var(--control-focus-ring);
		outline-offset: var(--control-focus-offset);
	}
}
