/* aieo/category-chips, variant "fields" (21 Nov 2026; the multi-look demo's Mark and Marc, after the owner's
 * "materialize the design as design"): each term one link, a field of its look's colour (printed on the link as
 * --aieo-field, with the look's text or page colour that reads on it as --aieo-field-ink; without a colour a tint of the
 * text's colour). No colour of the block's own; sizes from the theme's scale, corners from its card role.
 * - bars: one full-width bar a row, the name in the heading face at the left, the count at the right, a soft glow of
 *   its own colour (Mark's «Shop by colour.»);
 * - cards: compact 4:3 cards, the name over the count at the bottom (Mark's «Nails, lips, hair, skin.»);
 * cards, windows, samples and squares laid out by count (all in one row, else two, never one alone in a row: below);
 * - windows: on a panel darker than the page, each term a 3:4 window lit from inside in its colour, crossed by its
 *   bars, the name and the number under it in the section's words (Marc's «lit windows»).
 * Hover lifts a field (more on a deep one, toward its words' colour); the focus ring is the theme's. Reduced motion:
 * no transition. Loaded only where the variant renders. */
.aieo-chip-fields {
	margin: 0;
}
.aieo-chip-fields__list {
	display: grid;
	gap: var(--wp--preset--spacing--5, 1.5rem);
	margin: 0;
	padding: 0;
	list-style: none;
}
.aieo-chip-fields__list > li {
	margin: 0;
}
/* Laid out by count (the owner, 21 Nov 2026: "sized to all fit in one row (unless the design is such that it is
 * symmetrical 2 row)"): the list carries the column counts to try, most first (--aieo-fields-c1: all in one row; c2:
 * two rows; c3 and c4: equal rows, the phone's last; one a row last), each variant its smallest term
 * (--aieo-fields-min) and its column gap (--aieo-fields-gap). A count's track is (100% - (c - 1) gap) / c; a count whose track is under the minimum
 * is pushed out of the min() by a large addend (the clamp() is 0 when it fits; its factor 1,000,000, since at 1000 a
 * count a fraction of a pixel short was pushed out by too little and auto-fill made a count of its own: five went
 * 2 + 2 + 1 in a 1–2 px band under a threshold, rooster-tools-60, 22 Nov 2026), so the track is the first count that
 * fits, and auto-fill makes exactly that many columns (0.1 px under, for rounding). The groups' own list (`groups`) is
 * counted the same way, by its groups. */
:is(.aieo-chip-fields__list, .aieo-chip-fields__groups).is-counted {
	--aieo-fields-w1: calc((100% - (var(--aieo-fields-c1) - 1) * var(--aieo-fields-gap)) / var(--aieo-fields-c1));
	--aieo-fields-w2: calc((100% - (var(--aieo-fields-c2) - 1) * var(--aieo-fields-gap)) / var(--aieo-fields-c2));
	--aieo-fields-w3: calc((100% - (var(--aieo-fields-c3) - 1) * var(--aieo-fields-gap)) / var(--aieo-fields-c3));
	--aieo-fields-w4: calc((100% - (var(--aieo-fields-c4) - 1) * var(--aieo-fields-gap)) / var(--aieo-fields-c4));
	--aieo-fields-track: calc(min(
		var(--aieo-fields-w1) + clamp(0px, (var(--aieo-fields-min) - var(--aieo-fields-w1)) * 1000000, 100000px),
		var(--aieo-fields-w2) + clamp(0px, (var(--aieo-fields-min) - var(--aieo-fields-w2)) * 1000000, 100000px),
		var(--aieo-fields-w3) + clamp(0px, (var(--aieo-fields-min) - var(--aieo-fields-w3)) * 1000000, 100000px),
		var(--aieo-fields-w4) + clamp(0px, (var(--aieo-fields-min) - var(--aieo-fields-w4)) * 1000000, 100000px),
		100%
	) - 0.1px);
	grid-template-columns: repeat(auto-fill, minmax(var(--aieo-fields-track), 1fr));
	column-gap: var(--aieo-fields-gap);
}
.aieo-chip-fields .aieo-chip-fields__item {
	display: flex;
	box-sizing: border-box;
	min-width: 0;
	/* The look may set the fields' corner (Mark's prototype: 4 px, where its card role is 16). */
	border-radius: var(--aieo-field-radius, var(--wp--custom--rooster--shape--card, 0.25rem));
	background-color: var(--aieo-field, color-mix(in srgb, currentColor 8%, transparent));
	color: var(--aieo-field-ink, currentColor);
	text-decoration: none;
	transition: background-color 200ms, filter 200ms;
}
.aieo-chip-fields__name {
	font-family: var(--wp--preset--font-family--heading);
	font-weight: var(--aieo-fields-name-weight, 500);
	line-height: 1.1;
	overflow-wrap: anywhere;
}
.aieo-chip-fields__count {
	font-size: var(--wp--preset--font-size--sm, 0.875rem);
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}
.aieo-chip-fields__item:hover {
	filter: brightness(1.05);
}
.aieo-chip-fields__item.is-deep:hover {
	filter: none;
}
/* A deep field moves toward its words' colour under the pointer: only where the link is the field (bars, cards). Every
 * other layout keeps its own ground, or the one a look paints, under the pointer, so none needs to undo it (the cancels
 * here were one class stronger than a look's rule: a deep square went blank on Tamara and a deep sample lost its card on
 * Hearth; rooster-theme-bb, 25 Nov 2026). */
:where(.aieo-chip-fields--bars, .aieo-chip-fields--cards) .aieo-chip-fields__item.is-deep:hover {
	background-color: color-mix(in oklab, var(--aieo-field), var(--aieo-field-ink) 14%);
}

/* Bars. */
.aieo-chip-fields--bars .aieo-chip-fields__item {
	align-items: center;
	justify-content: space-between;
	gap: var(--wp--preset--spacing--4, 1rem);
	padding: var(--wp--preset--spacing--5, 1.5rem) var(--wp--preset--spacing--6, 2rem);
	box-shadow: 0 0 1.75rem 0.625rem var(--aieo-field, transparent);
}
.aieo-chip-fields--bars .aieo-chip-fields__name {
	font-size: var(--wp--preset--font-size--3-xl, 2rem);
}

/* Cards: compact tiles (rooster-admin-d1, 22 Nov 2026: Mark's 4:5 tiles came out as near-empty colour boxes, 456 x 570
 * two a row at 1,024 px and 1,886 px of stacked tiles on a phone): 4:3, as narrow as 9.5rem, so four sit in one row on a
 * computer and two a row on a phone; the padding a share of the tile's width, the name a step smaller on a phone. */
.aieo-chip-fields--cards .aieo-chip-fields__list {
	--aieo-fields-min: 9.5rem;
	--aieo-fields-gap: var(--wp--preset--spacing--6, 2rem);
	row-gap: var(--wp--preset--spacing--6, 2rem);
}
.aieo-chip-fields--cards .aieo-chip-fields__item {
	flex-direction: column;
	justify-content: flex-end;
	aspect-ratio: 4 / 3;
	padding: clamp(0.875rem, 8%, var(--wp--preset--spacing--5, 1.5rem));
	box-shadow: 0 0 1.5rem 0.5rem var(--aieo-field, transparent);
}
.aieo-chip-fields--cards .aieo-chip-fields__name {
	font-size: var(--wp--preset--font-size--2-xl, 1.75rem);
}
@media (max-width: 599.98px) {
	.aieo-chip-fields--cards .aieo-chip-fields__name {
		font-size: var(--wp--preset--font-size--xl, 1.375rem);
	}
}

/* Windows: the panel is the look's deep ground (Rooster Zero's ground.deep, Marc's #0c1029 by night), else the page's
 * ground taken darker; the frame and its bars are the look's frame ground (ground.frame), else the page's ground lifted
 * toward its text; the light is the term's colour at the window's upper middle, falling to its own deep shade. */
.aieo-chip-fields--windows {
	--aieo-fields-frame: var(--wp--custom--rooster--ground--frame, color-mix(in oklab, var(--wp--preset--color--bg, Canvas), currentColor 16%));
	padding: clamp(1.25rem, 4vw, 3rem);
	border-radius: var(--wp--custom--rooster--shape--card, 0.375rem);
	background-color: var(--wp--preset--color--bg, Canvas);
	background-color: var(--wp--custom--rooster--ground--deep, oklch(from var(--wp--preset--color--bg, Canvas) calc(l * 0.78) c h));
}
/* The prototype's grid (150 px windows) put six a row at 1440 and two under; by count, Marc's eight sit in one row on a
 * computer (windows of 7.5rem at least, the columns' gap narrower), four and four where they do not fit, two a row on a
 * phone. */
.aieo-chip-fields--windows .aieo-chip-fields__list {
	--aieo-fields-min: 7.5rem;
	--aieo-fields-gap: clamp(0.75rem, 1.5vw, 1.5rem);
	row-gap: clamp(1.125rem, 3vw, 2.5rem);
}
.aieo-chip-fields--windows .aieo-chip-fields__item {
	flex-direction: column;
	gap: var(--wp--preset--spacing--3, 0.75rem);
	background: none;
	color: inherit;
}
.aieo-chip-fields__window {
	display: block;
	aspect-ratio: 3 / 4;
	box-sizing: border-box;
	border: 4px solid var(--aieo-fields-frame);
	border-radius: 2px;
	background:
		linear-gradient(var(--aieo-fields-frame), var(--aieo-fields-frame)) 50% 0 / 3px 100% no-repeat,
		linear-gradient(var(--aieo-fields-frame), var(--aieo-fields-frame)) 0 46% / 100% 3px no-repeat,
		radial-gradient(circle at 50% 32%, var(--aieo-field, currentColor), oklch(from var(--aieo-field, currentColor) calc(l * 0.42) c h) 78%);
	box-shadow: 0 0 2.125rem -0.375rem var(--aieo-field, transparent);
	transition: filter 200ms;
}
.aieo-chip-fields--windows .aieo-chip-fields__item:hover {
	filter: none;
}
.aieo-chip-fields--windows .aieo-chip-fields__item:hover .aieo-chip-fields__window {
	filter: brightness(1.25);
}
.aieo-chip-fields__caption {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: var(--wp--preset--spacing--2, 0.5rem);
	font-size: var(--wp--preset--font-size--sm, 0.875rem);
}
.aieo-chip-fields--windows .aieo-chip-fields__name {
	font-family: inherit;
	font-size: inherit;
	font-weight: inherit;
}
.aieo-chip-fields--windows .aieo-chip-fields__count {
	color: color-mix(in srgb, currentColor 72%, transparent);
}

/* Samples and squares: the colour is a square of its own (.aieo-chip-fields__swatch), the words under it in the
 * section's colour; the link itself has no field. Samples: a card on the page's lightest surface (the palette's
 * neutral-50) with the card corners, the swatch with the media corners, the name in the heading face. Squares: the
 * field alone with the media corners (square under a square skin), the name under it in the body face. */
.aieo-chip-fields--samples .aieo-chip-fields__list,
.aieo-chip-fields--squares .aieo-chip-fields__list {
	--aieo-fields-min: 12.5rem;
	--aieo-fields-gap: var(--wp--preset--spacing--5, 1.5rem);
	row-gap: var(--wp--preset--spacing--5, 1.5rem);
}
.aieo-chip-fields--samples .aieo-chip-fields__item,
.aieo-chip-fields--squares .aieo-chip-fields__item {
	flex-direction: column;
	align-items: stretch;
	background: none;
	color: inherit;
}
.aieo-chip-fields--samples .aieo-chip-fields__item {
	gap: var(--wp--preset--spacing--1, 0.25rem);
	padding: var(--wp--preset--spacing--4, 1rem);
	background-color: var(--wp--preset--color--neutral-50, var(--wp--preset--color--bg));
	color: var(--wp--preset--color--fg, currentColor);
}
.aieo-chip-fields__swatch {
	display: block;
	aspect-ratio: 1;
	border-radius: var(--wp--custom--rooster--shape--media, 0);
	background-color: var(--aieo-field, color-mix(in srgb, currentColor 8%, transparent));
}
.aieo-chip-fields--samples .aieo-chip-fields__swatch {
	margin-block-end: var(--wp--preset--spacing--3, 0.75rem);
}
.aieo-chip-fields--samples .aieo-chip-fields__name {
	font-size: var(--wp--preset--font-size--xl, 1.375rem);
}
.aieo-chip-fields--squares .aieo-chip-fields__swatch {
	margin-block-end: 0.625rem;
}
.aieo-chip-fields--squares .aieo-chip-fields__name {
	font-family: inherit;
	font-size: var(--wp--preset--font-size--md, 1rem);
	font-weight: 600;
}

/* Round 4 (22 Nov 2026). Codes (Tony's catalogue): the tiles on the text colour with a 2 px border and 2 px gaps, so
 * the gaps read as hairline rules; each tile on the page's ground: the code line (the `kicker` and the term's place),
 * the term's colour beside the look's code colour (--aieo-field-code, the look's sheet), the name, the count. Its
 * ground turns neutral-50 under the pointer and the focus, at once. */
.aieo-chip-fields--codes .aieo-chip-fields__list {
	--aieo-fields-min: 15rem;
	--aieo-fields-gap: 2px;
	row-gap: 2px;
	border: 2px solid var(--wp--preset--color--fg, currentColor);
	background-color: var(--wp--preset--color--fg, currentColor);
}
.aieo-chip-fields--codes .aieo-chip-fields__item {
	flex-direction: column;
	gap: var(--wp--preset--spacing--3, 0.75rem);
	height: 100%;
	padding: 1.25rem;
	border-radius: var(--wp--custom--rooster--shape--card, 0);
	background-color: var(--wp--preset--color--bg, Canvas);
	color: var(--wp--preset--color--fg, CanvasText);
	transition: none;
}
.aieo-chip-fields--codes .aieo-chip-fields__item:is(:hover, :focus-visible) {
	filter: none;
	background-color: var(--wp--preset--color--neutral-50, var(--wp--preset--color--bg, Canvas));
}
.aieo-chip-fields__kicker {
	font-size: var(--wp--preset--font-size--xs, 0.75rem);
	letter-spacing: var(--wp--custom--rooster--tracking--wide, 0.1em);
	text-transform: uppercase;
}
.aieo-chip-fields__marks {
	display: flex;
	gap: 6px;
}
.aieo-chip-fields--codes .aieo-chip-fields__swatch,
.aieo-chip-fields__code {
	display: block;
	flex: none;
	width: 1.75rem;
	height: 1.75rem;
	aspect-ratio: auto;
}
.aieo-chip-fields__code {
	background: var(--aieo-field-code, transparent);
}
.aieo-chip-fields--codes .aieo-chip-fields__name {
	font-size: var(--wp--preset--font-size--xl, 1.375rem);
	letter-spacing: -0.02em;
}
/* A symbol (`symbol: auto`, Mesa's element tiles): the tile's main mark in the heading face (--aieo-symbol-family,
 * -size, -weight, -tracking), the name under it as its caption in the body face. The name stays the link's words: a
 * look that hides the caption clips it as .screen-reader-text does, never `display: none`. */
.aieo-chip-fields__symbol {
	font-family: var(--aieo-symbol-family, var(--wp--preset--font-family--heading));
	font-size: var(--aieo-symbol-size, var(--wp--preset--font-size--2-xl, 1.75rem));
	font-weight: var(--aieo-symbol-weight, 700);
	letter-spacing: var(--aieo-symbol-tracking, 0.02em);
	line-height: 1;
}
.aieo-chip-fields--codes .aieo-chip-fields__symbol + .aieo-chip-fields__name {
	font-family: inherit;
	font-size: var(--wp--preset--font-size--sm, 0.875rem);
	font-weight: inherit;
	letter-spacing: normal;
}

/* Tags (Johnny's): each term a bordered tag, its colour an 18 px square ringed by the page's ground and a hairline, its
 * name at md, its number alone in the muted colour (its words for a screen reader). One row while every tag fits at
 * the longest tag's width (the list's --aieo-fields-min, from the server), else equal rows; the border takes the text
 * colour under the pointer and the focus.
 * A look draws its own tags with these (rooster-tools-d7, 22 Nov 2026: Chick's grey lower-case tags with a disc, Amrita's
 * gold double-ruled pills, Johannes's pills), each defaulting to Johnny's: --aieo-tag-ground, --aieo-tag-border,
 * --aieo-tag-radius, --aieo-tag-pad, --aieo-tag-size, --aieo-tag-case, --aieo-tag-swatch (its size),
 * --aieo-tag-swatch-radius, --aieo-tag-swatch-ring (its box-shadow), --aieo-tag-count-color, --aieo-tag-count-weight,
 * --aieo-tag-hover-ground, --aieo-tag-hover-border (the border's colour under the pointer and the focus). A value of
 * `inherit` cannot travel in a custom property (it inherits the property itself): the text colour is `currentColor`. */
.aieo-chip-fields--tags .aieo-chip-fields__list {
	--aieo-fields-gap: 0.625rem;
	row-gap: 0.625rem;
}
/* One row at their own widths while it holds them all (rooster-admin-d1, 22 Nov 2026: Johnny's eight tags, as drawn;
 * the owner's rule: one row when they fit, else equal rows). The server prints the row's estimated width
 * (--aieo-tags-sum); --aieo-tags-over is 0 while the list is as wide, a large length once it is narrower. A tag is then
 * its own width (no floor, no ceiling) or exactly the counted track (floor and ceiling the track), so the rows are the
 * equal rows the grid would make. No script: the first paint is the final one. */
.aieo-chip-fields--tags .aieo-chip-fields__list.is-counted {
	--aieo-tags-over: clamp(0px, (var(--aieo-tags-sum, 100000px) - 100%) * 100000, 100000px);
	display: flex;
	flex-wrap: wrap;
}
.aieo-chip-fields--tags .aieo-chip-fields__list.is-counted > li {
	flex: 0 0 auto;
	min-width: min(var(--aieo-tags-over), var(--aieo-fields-track));
	max-width: max(var(--aieo-fields-track), 100000px - var(--aieo-tags-over));
}
.aieo-chip-fields--tags .aieo-chip-fields__item {
	align-items: center;
	gap: 0.625rem;
	height: 100%;
	padding: var(--aieo-tag-pad, 0.625rem 0.875rem);
	border: var(--aieo-tag-border, 1px solid var(--wp--preset--color--line, color-mix(in srgb, currentColor 18%, transparent)));
	border-radius: var(--aieo-tag-radius, var(--wp--custom--rooster--shape--chip, 0));
	background: var(--aieo-tag-ground, none);
	color: inherit;
	font-size: var(--aieo-tag-size, var(--wp--preset--font-size--md, 1rem));
	text-transform: var(--aieo-tag-case, none);
	transition: none;
}
.aieo-chip-fields--tags .aieo-chip-fields__item:is(:hover, :focus-visible) {
	filter: none;
	background: var(--aieo-tag-hover-ground, var(--aieo-tag-ground, none));
	border-color: var(--aieo-tag-hover-border, var(--wp--preset--color--fg, currentColor));
}
.aieo-chip-fields--tags .aieo-chip-fields__swatch {
	flex: none;
	width: var(--aieo-tag-swatch, 18px);
	height: var(--aieo-tag-swatch, 18px);
	aspect-ratio: auto;
	border-radius: var(--aieo-tag-swatch-radius, 0);
	box-shadow: var(--aieo-tag-swatch-ring, inset 0 0 0 3px var(--wp--preset--color--bg, Canvas), 0 0 0 1px var(--wp--preset--color--line, currentColor));
}
.aieo-chip-fields--tags .aieo-chip-fields__name {
	font-family: inherit;
	font-size: inherit;
	font-weight: inherit;
	overflow-wrap: normal;
}
.aieo-chip-fields--tags .aieo-chip-fields__count {
	margin-inline-start: auto;
	color: var(--aieo-tag-count-color, var(--wp--preset--color--muted, color-mix(in srgb, currentColor 70%, transparent)));
	font-weight: var(--aieo-tag-count-weight, inherit);
}

/* Rows (Giovanni's ledger): one term a row, no grid: a hairline above each row, the swatch (18 px, a 1 px border in the
 * text colour; a look's sheet may turn it), the name in the body face at 1.25rem, the count at the end in italics.
 * The words take accent-text under the pointer and the focus. */
.aieo-chip-fields--rows .aieo-chip-fields__list {
	display: block;
}
.aieo-chip-fields--rows .aieo-chip-fields__item {
	align-items: center;
	gap: 12px;
	padding: 8px 0;
	border-block-start: 1px solid var(--wp--preset--color--line, color-mix(in srgb, currentColor 18%, transparent));
	border-radius: 0;
	background: none;
	color: inherit;
	transition: none;
}
.aieo-chip-fields--rows .aieo-chip-fields__item:is(:hover, :focus-visible) {
	filter: none;
	background: none;
	color: var(--wp--preset--color--accent-text, currentColor);
}
.aieo-chip-fields--rows .aieo-chip-fields__swatch {
	flex: none;
	width: var(--aieo-field-swatch, 1.125rem);
	height: var(--aieo-field-swatch, 1.125rem);
	aspect-ratio: auto;
	box-sizing: border-box;
	border: 1px solid var(--wp--preset--color--fg, currentColor);
	border-radius: 0;
}
.aieo-chip-fields--rows .aieo-chip-fields__name {
	font-family: inherit;
	font-size: 1.25rem;
	font-weight: inherit;
}
.aieo-chip-fields--rows .aieo-chip-fields__count {
	margin-inline-start: auto;
	font-size: var(--wp--preset--font-size--md, 1rem);
	font-style: italic;
}

/* Orbs (Vangelis's): each term a glowing circle of its colour (a highlight at the upper left, the colour fading into the
 * page's ground), the name under it in the heading face, spaced capitals, then its count in words in the muted
 * colour. Only the name takes the hover ink, at once. The highlight is a white light in both schemes, as drawn
 * (--aieo-orb-light, which a look may set). */
.aieo-chip-fields--orbs .aieo-chip-fields__list {
	--aieo-fields-min: 6.75rem;
	--aieo-fields-gap: 1.25rem;
	row-gap: 1.25rem;
}
.aieo-chip-fields--orbs .aieo-chip-fields__item {
	flex-direction: column;
	align-items: flex-start;
	gap: var(--wp--preset--spacing--2, 0.5rem);
	background: none;
	color: inherit;
	transition: none;
}
.aieo-chip-fields--orbs .aieo-chip-fields__item:is(:hover, :focus-visible) {
	filter: none;
	background: none;
}
.aieo-chip-fields--orbs .aieo-chip-fields__item:is(:hover, :focus-visible) .aieo-chip-fields__name {
	color: var(--aieo-fields-hover-ink, currentColor);
}
.aieo-chip-fields--orbs .aieo-chip-fields__swatch {
	width: 100%;
	aspect-ratio: 1;
	border-radius: 50%;
	background:
		radial-gradient(circle at 35% 30%, var(--aieo-orb-light, color-mix(in srgb, white 33%, transparent)) 0, transparent 30%),
		radial-gradient(circle at 50% 50%, var(--aieo-field, currentColor) 0 55%, var(--wp--preset--color--bg, Canvas) 72%);
	box-shadow: 0 0 2.5rem color-mix(in srgb, var(--aieo-field, currentColor) 33%, transparent);
}
.aieo-chip-fields--orbs .aieo-chip-fields__name {
	font-size: 0.8125rem;
	font-weight: 500;
	letter-spacing: 0.3em;
	text-transform: uppercase;
}
.aieo-chip-fields--orbs .aieo-chip-fields__count {
	color: var(--wp--preset--color--muted, color-mix(in srgb, currentColor 70%, transparent));
	font-size: var(--wp--preset--font-size--xs, 0.75rem);
}

/* Round 4, more (22 Nov 2026). Each layout's smallest term and gap sit on the block's root, so a look's sheet may set
 * them (Igor's acts at a gap of 0). */

/* Acts (Igor's programme): a group of terms one item on the look's act ground (--aieo-act-ground, else the subtle
 * surface) in its act ink (--aieo-act-ink, else the text colour): the kicker large in the heading face (its size
 * --aieo-fields-kicker-size), the words, and at the foot each term's colour as a circle ringed in the item's words.
 * Brighter under the pointer and the focus, at once. */
.aieo-chip-fields--acts {
	--aieo-fields-min: 16.25rem;
	--aieo-fields-gap: var(--wp--preset--spacing--4, 1rem);
}
.aieo-chip-fields--acts .aieo-chip-fields__list {
	row-gap: var(--aieo-fields-gap);
}
.aieo-chip-fields--acts .aieo-chip-fields__item {
	flex-direction: column;
	gap: 0.625rem;
	height: 100%;
	min-block-size: 17rem;
	padding: 1.625rem;
	border-radius: var(--wp--custom--rooster--shape--card, 0);
	background-color: var(--aieo-act-ground, var(--wp--preset--color--subtle, color-mix(in srgb, currentColor 8%, transparent)));
	color: var(--aieo-act-ink, var(--wp--preset--color--fg, currentColor));
	transition: none;
}
.aieo-chip-fields--acts .aieo-chip-fields__item:is(:hover, :focus-visible) {
	filter: brightness(1.08);
}
.aieo-chip-fields--acts .aieo-chip-fields__kicker {
	font-family: var(--wp--preset--font-family--heading);
	font-size: var(--aieo-fields-kicker-size, var(--wp--preset--font-size--3-xl, 2rem));
	font-weight: 900;
	letter-spacing: normal;
	line-height: 0.9;
}
.aieo-chip-fields--acts .aieo-chip-fields__name {
	font-family: var(--wp--preset--font-family--body, inherit);
	font-size: var(--wp--preset--font-size--lg, 1.125rem);
	font-weight: 600;
}
.aieo-chip-fields__dots {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-block-start: auto;
}
.aieo-chip-fields__dot {
	display: block;
	box-sizing: content-box;
	width: 2.125rem;
	height: 2.125rem;
	border: 3px solid currentColor;
	border-radius: 50%;
	background-color: var(--aieo-field, transparent);
}

/* Keys (Nicholas's jukebox): each term a key on the lightest surface in a 3 px line of the text colour: the key (A1 …)
 * on the contrast ground, the term's colour as a disc in a 2 px ring, the name. The key lifts under the pointer and the
 * focus (the theme's lift and its timing; `translate`, as the theme's link lift, so the two never add up) and its name
 * takes accent-text. */
.aieo-chip-fields--keys {
	--aieo-fields-min: 10rem;
	--aieo-fields-gap: 0.875rem;
}
.aieo-chip-fields--keys .aieo-chip-fields__list {
	row-gap: var(--aieo-fields-gap);
}
.aieo-chip-fields--keys .aieo-chip-fields__item {
	align-items: center;
	gap: 0.75rem;
	height: 100%;
	padding: 0.75rem;
	border: 3px solid var(--wp--preset--color--fg, currentColor);
	background-color: var(--wp--preset--color--neutral-50, var(--wp--preset--color--bg, Canvas));
	color: var(--wp--preset--color--fg, CanvasText);
	transition: none;
}
.aieo-chip-fields--keys .aieo-chip-fields__item:is(:hover, :focus-visible) {
	filter: none;
	background-color: var(--wp--preset--color--neutral-50, var(--wp--preset--color--bg, Canvas));
}
.aieo-chip-fields--keys .aieo-chip-fields__item:is(:hover, :focus-visible) .aieo-chip-fields__name {
	color: var(--wp--preset--color--accent-text, currentColor);
}
.aieo-chip-fields__key {
	flex: none;
	padding: 0.375rem 0.5rem;
	border-radius: var(--wp--custom--rooster--radius--md, 0.5rem);
	background-color: var(--wp--preset--color--contrast, CanvasText);
	color: var(--wp--preset--color--on-contrast, Canvas);
	font-family: var(--wp--preset--font-family--heading);
	font-size: 1rem;
	font-weight: 800;
	line-height: 1;
}
.aieo-chip-fields--keys .aieo-chip-fields__swatch {
	flex: none;
	width: 1.75rem;
	height: 1.75rem;
	aspect-ratio: auto;
	border-radius: 50%;
	box-shadow: 0 0 0 2px var(--wp--preset--color--fg, currentColor);
}
.aieo-chip-fields--keys .aieo-chip-fields__name {
	font-family: inherit;
	font-size: var(--wp--preset--font-size--md, 1rem);
	font-weight: 600;
	overflow-wrap: normal;
}
@media (prefers-reduced-motion: no-preference) {
	.aieo-chip-fields--keys .aieo-chip-fields__item {
		transition: translate var(--wp--custom--rooster--motion--hover--out--lift, 0.26s cubic-bezier(0.2, 0.7, 0.2, 1));
	}
	.aieo-chip-fields--keys .aieo-chip-fields__item:is(:hover, :focus-visible) {
		translate: 0 calc(var(--wp--custom--rooster--motion--hover--lift, 4px) * -1);
		transition: translate var(--wp--custom--rooster--motion--hover--in--lift, 0.26s cubic-bezier(0.2, 0.7, 0.2, 1));
	}
}

/* Prints (Georges's hand-tinted prints): a 4:3 print in a 6 px frame (--aieo-print-frame, else the text colour), the
 * block's picture in grey with the term's colour over it, blended as colour; without a picture the colour alone. The
 * name in the heading face, the number alone beside it in the muted colour (its words for a screen reader). The
 * picture zooms under the pointer and the focus (the theme's zoom and its timing) and the name takes accent-text. */
.aieo-chip-fields--prints {
	--aieo-fields-min: 8.25rem;
	--aieo-fields-gap: 1.125rem;
}
.aieo-chip-fields--prints .aieo-chip-fields__list {
	row-gap: var(--aieo-fields-gap);
}
.aieo-chip-fields--prints .aieo-chip-fields__item {
	flex-direction: column;
	gap: var(--wp--preset--spacing--2, 0.5rem);
	background: none;
	color: inherit;
	transition: none;
}
.aieo-chip-fields--prints .aieo-chip-fields__item:is(:hover, :focus-visible) {
	filter: none;
	background: none;
}
.aieo-chip-fields--prints .aieo-chip-fields__item:is(:hover, :focus-visible) .aieo-chip-fields__name {
	color: var(--wp--preset--color--accent-text, currentColor);
}
.aieo-chip-fields__print {
	position: relative;
	display: block;
	box-sizing: border-box;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	border: 6px solid var(--aieo-print-frame, var(--wp--preset--color--fg, currentColor));
	background-color: var(--aieo-field, color-mix(in srgb, currentColor 8%, transparent));
}
.aieo-chip-fields__print .aieo-chip-fields__picture {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: grayscale(1) contrast(1.2);
}
.aieo-chip-fields__tint {
	position: absolute;
	inset: 0;
	background-color: var(--aieo-field, transparent);
	mix-blend-mode: color;
}
.aieo-chip-fields__caption {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: var(--wp--preset--spacing--2, 0.5rem);
}
.aieo-chip-fields--prints .aieo-chip-fields__name {
	font-size: var(--wp--preset--font-size--lg, 1.125rem);
	font-weight: 400;
}
.aieo-chip-fields--prints .aieo-chip-fields__count {
	color: var(--wp--preset--color--muted, color-mix(in srgb, currentColor 70%, transparent));
	font-size: var(--wp--preset--font-size--xs, 0.75rem);
}
@media (prefers-reduced-motion: no-preference) {
	.aieo-chip-fields__print .aieo-chip-fields__picture {
		transition: transform var(--wp--custom--rooster--motion--hover--out--zoom, 0.6s cubic-bezier(0.2, 0.7, 0.2, 1));
	}
	.aieo-chip-fields--prints .aieo-chip-fields__item:is(:hover, :focus-visible) .aieo-chip-fields__picture {
		transform: scale(var(--wp--custom--rooster--motion--hover--zoom, 1.06));
		transition: transform var(--wp--custom--rooster--motion--hover--in--zoom, 0.6s cubic-bezier(0.2, 0.7, 0.2, 1));
	}
}

/* Groups (the multi-look demo's sweep, 22 Nov 2026: Roger 2's elements, John's sides, Giovanni's voices): the chips in
 * groups, each a heading over its own list of rows, tags or squares (the root carries `--groups` and the item's layout,
 * so each list and chip is drawn as that layout draws it). The groups are counted as the fields are (one row, else equal
 * rows), each at least --aieo-groups-min wide, --aieo-groups-gap apart, inside --aieo-groups-border. A group is a
 * column: its ground, words, border, rule above it, corners, padding and gap are the look's tokens (--aieo-group-*;
 * none, the page's, 0 by default). Its heading is a kicker in spaced capitals unless the look's tokens say otherwise
 * (--aieo-group-head-*). */
.aieo-chip-fields__groups {
	--aieo-fields-min: var(--aieo-groups-min, 13.75rem);
	--aieo-fields-gap: var(--aieo-groups-gap, var(--wp--preset--spacing--5, 1.5rem));
	display: grid;
	row-gap: var(--aieo-fields-gap);
	margin: 0;
	padding: 0;
	border: var(--aieo-groups-border, 0);
	list-style: none;
}
.aieo-chip-fields__groups > .aieo-chip-fields__group {
	display: flex;
	flex-direction: column;
	gap: var(--aieo-group-gap, var(--wp--preset--spacing--3, 0.75rem));
	box-sizing: border-box;
	min-width: 0;
	margin: 0;
	padding: var(--aieo-group-padding, 0);
	border: var(--aieo-group-border, 0);
	border-block-start: var(--aieo-group-rule, var(--aieo-group-border, 0));
	border-radius: var(--aieo-group-radius, 0);
	background: var(--aieo-group-ground, none);
	color: var(--aieo-group-ink, inherit);
}
.aieo-chip-fields__head {
	margin: 0;
	color: var(--aieo-group-head-ink, inherit);
	font-family: var(--aieo-group-head-family, inherit);
	font-size: var(--aieo-group-head-size, var(--wp--preset--font-size--xs, 0.75rem));
	font-weight: var(--aieo-group-head-weight, 600);
	letter-spacing: var(--aieo-group-head-tracking, var(--wp--custom--rooster--tracking--wide, 0.1em));
	line-height: 1.2;
	text-transform: var(--aieo-group-head-case, uppercase);
}

@media (prefers-reduced-motion: reduce) {
	.aieo-chip-fields .aieo-chip-fields__item,
	.aieo-chip-fields__window {
		transition: none;
	}
}
