/* The picker lives in a Dropdown popover above the block toolbar, so it sizes itself rather than
   filling a pane. Colours come from the editor's own CSS variables, which already follow whatever
   admin colour scheme and dark-mode plugin the site is running. */
.accent-letters {
	width: 320px;
	max-width: 90vw;
	padding: 12px;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.accent-letters__pills {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
}

.accent-letters__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(36px, 1fr));
	gap: 4px;
	max-height: 260px;
	overflow-y: auto;
}

.accent-letters__cell {
	aspect-ratio: 1;
	min-width: 36px;
	min-height: 36px;
	display: grid;
	place-items: center;
	font-size: 17px;
	font-family: "Iowan Old Style", Palatino, Georgia, serif;
	color: var(--wp-components-color-foreground, #1e1e1e);
	background: var(--wp-components-color-background, #fff);
	border: 1px solid var(--wp-components-color-gray-300, #ddd);
	border-radius: 2px;
	cursor: pointer;
}

.accent-letters__cell:hover {
	border-color: var(--wp-components-color-accent, #3858e9);
	background: var(--wp-components-color-gray-100, #f0f0f0);
}

.accent-letters__cell:focus-visible {
	outline: 2px solid var(--wp-components-color-accent, #3858e9);
	outline-offset: 1px;
}

.accent-letters__note {
	margin: 0;
	font-size: 12px;
	line-height: 1.5;
	color: var(--wp-components-color-gray-700, #757575);
}
