<commit_before>@use 'sass:math';

.label-stack {
	--item-wide: 10em;
	--item-narrow: 1.5em;
	--item-scale: #{math.div(2, 3)}; // 0.666…

	font-size: em(12);
	font-weight: var(--font-weight-semibold); // Overrides when unread email context

	&.max-w100 {
		--item-wide: 100%;
	}

	&-item,
	&-overflow-count {
		border-radius: 1em;
		line-height: 1.5;
	}

	&-item {
		max-inline-size: var(--item-wide);
		margin: 0.125em;
		overflow: hidden;
		background-color: var(--label-bg, var(--background-strong));
		color: white;

		&-inner {
			padding-inline: em(8, 12);
			text-align: start;

			&.with-delete {
				padding-inline-end: em(4, 12);
			}
		}

		&-inner:not(#{&}-button) &-text {
			cursor: default;
			user-select: all;<commit_msg>Inherit border-radius for a better focus state<commit_after>@use 'sass:math';

.label-stack {
	--item-wide: 10em;
	--item-narrow: 1.5em;
	--item-scale: #{math.div(2, 3)}; // 0.666…

	font-size: em(12);
	font-weight: var(--font-weight-semibold); // Overrides when unread email context

	&.max-w100 {
		--item-wide: 100%;
	}

	&-item,
	&-overflow-count {
		border-radius: 1em;
		line-height: 1.5;
	}

	&-item {
		max-inline-size: var(--item-wide);
		margin: 0.125em;
		overflow: hidden;
		background-color: var(--label-bg, var(--background-strong));
		color: white;

		&-inner {
			padding-inline: em(8, 12);
			border-radius: inherit;
			text-align: start;

			&.with-delete {
				padding-inline-end: em(4, 12);
			}
		}

		&-inner:not(#{&}-button) &-text {
			cursor: default;
			user-select: all;
{'fraction_non_alphanumeric': 0.20599739243807041, 'fraction_numerical': 0.04041720990873533, 'mean_word_length': 2.85678391959799, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3011724', 'n_tokens_mistral': 743, 'n_tokens_neox': 623, 'n_words': 121}