/*
 * Entangle Budget — what a visitor sees: the list of proposals, the timeline of an edition, its categories, the notice of a
 * closed call for proposals, the page of an edition.
 *
 * Written to stand on any block theme. Nothing here names a class of a theme: colours, spacing and shape come from
 * custom properties with fallbacks — the theme's own where it has them (--color-*, --radius-*, --wp--custom--gutter,
 * --wp--preset--spacing--*), else values derived from the colour of the text around, so a dark theme gets a dark list.
 * Override the --eb-* properties to restyle the whole thing at once:
 *
 *   --eb-gap     the air between items
 *   --eb-rule    the thin lines
 *   --eb-muted   the colour of secondary lines
 *   --eb-chip-bg / --eb-chip-ink   a label
 *   --eb-accent  the current phase, the links that look like buttons
 *   --eb-radius  the roundness of labels and cards
 *
 * Every grid has one column that may shrink to nothing (minmax(0, 1fr)): a long title or address never makes the page
 * wider than a phone. Pagination is plain links and the filters a form; their baseline is written with :where() (no specificity),
 * so a theme that styles pagination, selects and buttons styles them.
 */

.entangle-proposals,
.entangle-phases,
.entangle-current-phase,
.entangle-categories,
.entangle-results,
.entangle-results-intro,
.entangle-budget-call,
.entangle-share,
.entangle-follow,
.entangle-page-links,
.entangle-about,
.entangle-editions,
.entangle-documents,
.entangle-ways,
.entangle-steps,
.entangle-deadline,
.entangle-panel,
.entangle-icon,
.entangle-proposal-around,
.entangle-edition-facts,
.entangle-results-chosen,
.entangle-news,
.entangle-edition-page,
.entangle-editions-page,
.entangle-section-head,
.entangle-title-row,
.entangle-contacts,
.entangle-proposal-final {
	/* Colour. */
	--eb-rule: var(--color-rule, color-mix(in srgb, currentColor 18%, transparent));
	--eb-muted: var(--color-ink-soft, color-mix(in srgb, currentColor 68%, transparent));
	--eb-chip-bg: var(--color-brand-soft, color-mix(in srgb, currentColor 9%, transparent));
	--eb-chip-ink: var(--color-ink, currentColor);
	--eb-accent: var(--color-brand, currentColor);
	/* The votes for and against: never the only sign (the column says it in words), a contrast of 4.5:1 on white. */
	--eb-vote-for: var(--color-success, #1a7f37);
	--eb-vote-against: var(--color-danger, #b42318);
	/* What an assessment said, as a colour (the owner, 28. 10.): it can be done, it can with reservations, it cannot.
	   The theme's own tones where it has them — it writes --color-status-running itself, outside its palette, for
	   exactly this reason — else one that holds AA on the pale tint of itself that the chip is drawn on. */
	--eb-tone: currentColor;
	--eb-tone-ok: var(--color-status-running, hsl(140, 60%, 28%));
	--eb-tone-caution: var(--color-status-caution, hsl(32, 90%, 27%));
	--eb-tone-stop: var(--color-status-stop, hsl(0, 62%, 38%));
	/* The box of the final assessment on the page of a proposal: as wide as the list of the assessments under it (the
	   lines between them: its 960 px at most), its words as long as theirs (the measure of the projects, less the
	   padding and the bar of the box), and its tint half of what its chip has. */
	--eb-final-width: 960px;
	--eb-final-text: calc(var(--ep-measure, 760px) - 2 * var(--eb-pad-card) - 4px);
	--eb-final-tint: 6%;
	/* The air between the row of a section's heading and its list: the band at the foot of a proposal's page has it. */
	--eb-section-head-after: var(--wp--preset--spacing--30, 1rem);
	--eb-final-after: var(--wp--preset--spacing--60, 2.5rem);

	/* Between the blocks of a layout: the theme's grid gap, which its own grids use. */
	--eb-gap: var(--grid-gap, var(--wp--preset--spacing--50, 1.5rem));
	/* Between the ROWS of the gallery a little more than between its columns (the owner, 31. 10.): the next row's
	   picture must not touch the title above it. The same as the grid of the projects (entangle-projects' --ep-row-gap);
	   a theme whose cards touch (grid gap 0) keeps them touching. */
	--eb-row-gap: calc(var(--eb-gap) * 5 / 3);
	/* Under the count of the list ("31 proposals") before its first row: as under the count of the projects. */
	--eb-status-after: 3rem;
	/* The gallery's filters, count and split are the projects' archive's, to the pixel (the owner, 31. 10.: "the
	   proposals are still not matched with the projects"): a field 48 px high with a firm line under it, 16 / 24 px
	   between fields, 16 px under the row, the count at 14 px, 32 px between the cards and the map. */
	--eb-filter-height: 48px;
	--eb-filter-gap: 16px 24px;
	--eb-filter-after: 16px;
	--eb-filter-rule: var(--color-rule-solid, color-mix(in srgb, currentColor 30%, transparent));
	--eb-count-size: 14px;
	--eb-split-gap: 32px;
	/* Inside a component, in `em`: the air grows with the text it is around. */
	--eb-space-2xs: 0.25em;
	--eb-space-xs: 0.5em;
	--eb-space-sm: 0.75em;
	--eb-space-md: 1em;
	--eb-space-lg: 1.5em;
	/* The air around the introduction, from the page's own scale (fluid in this theme). */
	--eb-space-hero: var(--wp--preset--spacing--80, 4rem);
	--eb-space-hero-inline: var(--wp--preset--spacing--60, 2rem);
	--eb-space-hero-rule: var(--wp--preset--spacing--60, 2rem);

	/* Type. The theme's own steps first, then the ones WordPress gives every theme, then a number. */
	--eb-text-sm: var(--wp--preset--font-size--compact, var(--wp--preset--font-size--small, 0.875em));
	--eb-text-xs: var(--wp--preset--font-size--small, 0.8125em);
	/* The sentence under the headline of the introduction. The reference writes it at 25 against a page of 19
	   (pr.entangle.cz, measured 27. 10.), and no step of this theme's scale is that size — 21 is too small and 27 too
	   big — so the ratio itself is the value, and it holds whatever size the page sets. */
	--eb-text-hero: calc(25em / 19);
	/* The heading steps of the theme are `h-5` … `h-2`: WordPress kebab-cases the slug of theme.json ("h2" becomes
	   `--wp--preset--font-size--h-2`), so a name without the hyphen is a name nothing declares. The head of the page
	   stands a step above the headings of its sections — that one is the theme's `section-title`. */
	--eb-title-xs: var(--wp--preset--font-size--h-5, var(--wp--preset--font-size--medium, 1.0625em));
	--eb-title-sm: var(--wp--preset--font-size--h-4, var(--wp--preset--font-size--medium, 1.125em));
	--eb-title-md: var(--wp--preset--font-size--h-3, var(--wp--preset--font-size--large, 1.5em));
	--eb-title-lg: var(--wp--preset--font-size--h-2, var(--wp--preset--font-size--x-large, 2em));
	--eb-title-hero: var(--wp--preset--font-size--section-title, var(--wp--preset--font-size--x-large, 2.5em));
	/* An arrow or a mark beside text, and a pictogram, which is sized by the page and not by its line. */
	--eb-glyph: 1.25em;
	--eb-icon: 2.5rem;
	--eb-leading-flat: 1;
	--eb-leading-tight: 1.2;
	--eb-leading-snug: 1.3;
	--eb-leading-feed: 1.45;

	/* The longest line prose is read in, and the longest a title is read in. */
	--eb-measure: 68ch;
	--eb-measure-title: 24ch;

	/* A chip, a pill, a card: three paddings, not seven. */
	--eb-pad-chip: 0.125em 0.5em;
	--eb-pad-pill: 0.4em 1em;
	--eb-pad-card: var(--wp--preset--spacing--30, 1rem);
	/* What a finger has to reach, and the corners of the page. */
	--eb-target: var(--btn-target, 44px);
	/* A button of a compact row (the links to share in the head of a page): still well above the 24 px WCAG asks for. */
	--eb-target-compact: 36px;
	/* The round photo of a person of the contacts (the owner, 31. 10.: always round, a card of the size of a business card). */
	--eb-avatar: 80px;
	/* The least height of the panel of the news from the proposals (Blocks\News): one general update beside it would
	   leave it a sliver. */
	--eb-news-min: 26rem;
	/* The shadow of the head and the foot of the feed of the news from the proposals: barely there. */
	--eb-news-shade: color-mix(in srgb, currentColor 6%, transparent);
	/* A band under the introduction is a road, not a button: the reference gives it 100 px of its own (pr.entangle.cz,
	   measured 27. 10.) — far more than the 44 px a finger needs — and writes its label at 26.7 against a page of 19,
	   a step and a half above the text. The air above and below it is the page's step and not 1.5em of that label,
	   which would make the band taller than the 100 px it is meant to be. */
	--eb-band-min: 6.25rem;
	--eb-band-text: 1.4em;
	--eb-pad-band: var(--wp--preset--spacing--50, 1.5rem);
	--eb-radius: var(--radius, var(--wp--custom--radius, 0));
	--eb-radius-pill: var(--radius-pill, 999px);
	--eb-page: var(--entangle-budget-width, 64rem);
	/* The width a BAND of cards keeps inside the page (the foot of a proposal's page): the container of the theme,
	   because a row of four cards needs the whole of it, not the narrower column that reading text keeps. */
	--eb-band-page: var(--container, var(--wp--custom--container, 75rem));
	/* The narrowest a card may be: four, three, two and one of them fit as the wrapper narrows. The second is the
	   width a card has in a row of FOUR, and it is what a row is built of (the owner, 28. 10.): a page that shows
	   three cards shows them that size and leaves the fourth place empty, instead of three cards grown to fill the
	   width — the same card has to look the same wherever it stands. Where four of them no longer fit, the floor
	   takes over and the row holds three, two, one. */
	--eb-card: 16.5rem;
	--eb-card-row: max(var(--eb-card), calc((100% - 3 * var(--eb-gap)) / 4));
	--eb-sticky-top: calc(var(--header-h, 0px) + var(--wp-admin--admin-bar--height, 0px) + 24px);
	/* The List / Map switch floats at the foot of a phone's window, as the projects' archive's does (the owner, 1. 11.):
	   a card of its own with a shadow, its chosen half in the accent; the list keeps room under its last card for it. */
	--eb-on-accent: var(--color-on-brand, var(--color-contrast, #fff));
	--eb-float-bg: var(--color-card, var(--color-bg, #fff));
	--eb-float-shadow: 0 8px 24px rgba(11, 29, 63, 0.22);
	--eb-float-room: 72px;
	/* The map on a phone: the window under the header, less the foot the switch floats in. */
	--eb-map-phone: calc(100svh - var(--header-h, 0px) - var(--wp-admin--admin-bar--height, 0px) - 96px);
	/* A band of a quiet background (the ways of submitting, the panel of the form): the air inside it is the air the
	   page puts between its sections, so the band breathes like the rest of the page and not like a card. */
	--eb-quiet: var(--color-bg-alt, color-mix(in srgb, currentColor 6%, transparent));
	/* The colour under the band at the foot of a page — the same quiet surface. */
	--eb-band-surface: var(--eb-quiet);
	/* The air of that band, above and below its content; the projects' band is drawn with the same two steps. */
	--eb-band-top: var(--wp--preset--spacing--70, 3rem);
	--eb-band-bottom: var(--wp--preset--spacing--80, 4rem);
	/* The foot of the page of a proposal: from the tabs to the way through the edition, and from that to the band.
	   The page of a project keeps the same two (projects.css, `.entangle-projects-nav`; the owner, 29. 10.). */
	--eb-foot-top: var(--wp--preset--spacing--80, 4rem);
	--eb-foot-band: var(--wp--preset--spacing--70, 3rem);
	--eb-pad-band-block: var(--wp--preset--spacing--70, 3rem);
	--eb-pad-band-inline: var(--wp--preset--spacing--60, 2rem);
	--eb-pad-box: var(--wp--preset--spacing--50, 1.5rem);
	box-sizing: border-box;
	min-width: 0;
}

/* ===== The signpost of the editions (the owner, 27. 10.) =====
   One card per year, built like the cards of the proposals and the projects — the same grid, the same frame — because
   a visitor who has just read those should not have to learn a new shape to find last year. */
.entangle-editions__list {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, var(--eb-card)), 1fr));
	gap: var(--eb-gap);
	margin: 0;
	padding: 0;
	list-style: none;
}
.entangle-editions__item {
	display: grid;
	margin: 0;
}
.entangle-edition {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: var(--eb-space-xs);
	box-sizing: border-box;
	height: 100%;
	padding: var(--eb-pad-card);
	border: 1px solid rgba(128, 128, 128, 0.3);
	border-color: var(--eb-rule);
	border-radius: var(--eb-radius);
	background: var(--color-card, transparent);
	overflow-wrap: break-word;
}
.entangle-edition__eyebrow {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--eb-space-2xs) var(--eb-space-xs);
	margin: 0;
	color: var(--eb-muted);
	font-size: var(--eb-text-xs);
}
.entangle-edition__chip {
	padding: var(--eb-pad-chip);
	border-radius: var(--eb-radius-pill);
	background: var(--eb-chip-bg);
	color: var(--eb-chip-ink);
}
.entangle-edition__title {
	margin: 0;
	font-size: var(--eb-title-sm);
	line-height: var(--eb-leading-snug);
}
.entangle-edition__title a {
	color: inherit;
}
/* The whole card leads to the page of the edition (the owner, 31. 10.): the link of the title is stretched over it,
   and the ring of that link is the card's — not the ring of a road of the card, which has its own. */
.entangle-edition__title a::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
}
.entangle-edition__title a:focus-visible {
	outline: none;
}
.entangle-edition:has(.entangle-edition__title a:focus-visible) {
	outline: 2px solid var(--eb-accent);
	outline-offset: 2px;
}
.entangle-edition__facts {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: var(--eb-space-2xs);
	margin: 0;
	font-size: var(--eb-text-sm);
}
.entangle-edition__fact {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: var(--eb-space-2xs) var(--eb-space-xs);
}
.entangle-edition__fact dt {
	color: var(--eb-muted);
}
.entangle-edition__fact dd {
	margin: 0;
}
/* The two roads, at the foot of the card whatever the facts above them say, and at the end of the row the words
   that say where the rest of the card leads. */
.entangle-edition__links {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--eb-space-xs);
	margin: auto 0 0;
	padding-block-start: var(--eb-space-sm);
	border-block-start: 1px solid rgba(128, 128, 128, 0.3);
	border-block-start-color: var(--eb-rule);
	font-size: var(--eb-text-sm);
}
.entangle-edition__link {
	position: relative;
	z-index: 1;
	display: inline-flex;
	align-items: center;
	min-height: var(--eb-target);
	padding: var(--eb-pad-pill);
	border: 1px solid rgba(128, 128, 128, 0.3);
	border-color: var(--eb-rule);
	border-radius: var(--eb-radius);
	color: inherit;
	font-weight: 600;
	text-decoration: none;
}
.entangle-edition__link:hover,
.entangle-edition__link:focus-visible {
	border-color: var(--eb-accent);
	color: var(--eb-accent);
}
/* Words, not a link of their own: a click on them is a click on the card. */
.entangle-edition__more {
	display: inline-flex;
	align-items: center;
	gap: var(--eb-space-2xs);
	margin-inline-start: auto;
	color: var(--eb-accent);
	font-weight: 600;
	pointer-events: none;
}
.entangle-edition__more::after {
	content: "\2192";
}
@media (prefers-reduced-motion: no-preference) {
	.entangle-edition__more::after {
		transition: transform 0.2s ease;
	}
	.entangle-edition:has(.entangle-edition__title a:hover) .entangle-edition__more::after {
		transform: translateX(3px);
	}
}

/* ===== The page of an edition and the archive (the templates) ===== */
.entangle-edition-page,
.entangle-editions-page {
	width: 100%;
	max-width: var(--eb-page);
	margin-inline: auto;
	padding-inline: var(--gutter, var(--wp--custom--gutter, 1.25rem));
	padding-block-start: var(--wp--preset--spacing--70, 3rem);
	padding-block-end: var(--entangle-footer-space, var(--wp--preset--spacing--80, 4rem));
	overflow-wrap: break-word;
}
.entangle-edition-page > * + * {
	margin-block-start: var(--eb-gap);
}
/* The page ends in ONE space, the one above the footer (its padding-block-end): the last section's own padding stood
   on top of it (13. 11.: 64px + the footer's 100). A band of its own colour keeps its padding — it is a surface.
   !important: the section's padding is written in its markup (a block's own style), and only this outranks it. */
.entangle-edition-page > :last-child:not(.entangle-band, .has-background),
.entangle-editions-page > :last-child:not(.entangle-band, .has-background) {
	padding-block-end: 0 !important;
	margin-block-end: 0;
}

/* ===== The list of proposals =====
   One card, one family: the card of a proposal is built like the card of a project (entangle-projects, the owner's model
   of 26. 10.) — a picture on top in the same 3:2, a body with its own air, the title under the quiet line that numbers
   it, and the facts at the FOOT of the card, parted by a hairline, wherever the title ends. Four of them fit a wide
   page and the row drops to three, two and one as the wrapper narrows (no breakpoint of its own: the grid counts). */
.entangle-proposals__list {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, var(--eb-card-row)), 1fr));
	gap: var(--eb-row-gap) var(--eb-gap);
	margin: 0;
	padding: 0;
	list-style: none;
}
.entangle-proposals__item {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	min-width: 0;
	margin: 0;
}
/* A card the band at the foot of a proposal holds back for "Show more" (the projects' more.js sets `hidden`): its own
   display above would show it all the same (found 29. 10.: the band showed every card it had). */
.entangle-proposals__item[hidden] {
	display: none;
}
.entangle-proposals__empty {
	margin: 0;
	color: var(--eb-muted);
}
/* Which year the list is of, when it is not the one the page is about. */
.entangle-proposals__edition {
	margin: 0;
	color: var(--eb-muted);
	font-size: var(--eb-text-sm);
}
/* A card is a picture with words under it (the owner, 28. 10.), the same as the projects' card: no frame, no fill,
   the words at the picture's own edge. The padded box is a variant for a card on a colour of its own. */
.entangle-proposal {
	position: relative;
	display: flex;
	flex-direction: column;
	box-sizing: border-box;
	height: 100%;
	min-width: 0;
	border: 0;
	background: transparent;
	overflow-wrap: break-word;
}
.entangle-proposal--boxed {
	overflow: hidden;
	border: 1px solid rgba(128, 128, 128, 0.3);
	border-color: var(--eb-rule);
	border-radius: var(--eb-radius);
	background: var(--color-card, transparent);
}
.entangle-proposal:focus-within {
	outline: 2px solid var(--eb-accent);
	outline-offset: 2px;
}
.entangle-proposal__image {
	display: block;
	aspect-ratio: 3 / 2;
	overflow: hidden;
	border-radius: var(--eb-radius);
	background: var(--eb-chip-bg);
}
.entangle-proposal--boxed .entangle-proposal__image {
	border-radius: 0;
}
/* The picture answers the hover, and nothing else does. */
@media (prefers-reduced-motion: no-preference) {
	.entangle-proposal__image img {
		transition: transform 0.4s ease;
	}
	.entangle-proposal:hover .entangle-proposal__image img {
		transform: scale(1.04);
	}
}
.entangle-proposal__image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
/* The drawn picture of a proposal that has none of its own (entangle-projects' own mark) fills the same box. */
.entangle-proposal__image .entangle-projects-placeholder {
	display: grid;
	place-items: center;
	width: 100%;
	height: 100%;
	color: var(--eb-muted);
}
.entangle-proposal__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: var(--eb-space-xs);
	padding: var(--eb-space-sm) 0 0;
}
.entangle-proposal--boxed .entangle-proposal__body {
	padding: var(--eb-pad-card);
}
/* The quiet line a card opens with (the projects' card is the model): the stage as a chip, the category in the small
   caps an area is set in, the number last. One line that wraps, never a column. */
.entangle-proposal__eyebrow {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--eb-space-2xs) var(--eb-space-xs);
	margin: 0;
	color: var(--eb-muted);
	font-size: var(--eb-text-xs);
}
.entangle-proposal__chip {
	display: inline-flex;
	align-items: center;
	gap: 0.4em;
	padding: var(--eb-pad-chip);
	border-radius: var(--eb-radius-pill);
	background: var(--eb-chip-bg);
	color: var(--eb-chip-ink);
}
/* Where the proposal stands is one word (Card::status(), the owner, 31. 10.) with a dot in the colour of what it says:
   a row of cards is read at a glance, and the word is there for whoever does not read colour. */
.entangle-proposal__chip::before {
	content: "";
	flex: none;
	width: 0.5em;
	height: 0.5em;
	border-radius: 50%;
	background: var(--eb-tone);
}
.entangle-proposal__chip--ok {
	--eb-tone: var(--eb-tone-ok);
}
.entangle-proposal__chip--caution {
	--eb-tone: var(--eb-tone-caution);
}
.entangle-proposal__chip--stop {
	--eb-tone: var(--eb-tone-stop);
}
.entangle-proposal__chip--plain {
	--eb-tone: var(--eb-muted);
}
/* A stage a proposal is still going through (handed in, being assessed, on the ballot) is said in the accent, as the
   tag of the same stage is on the proposal's page; only what is over without a verdict stays grey. */
.entangle-proposal:is([data-stage="proposal.submitted"], [data-stage="proposal.assessment"], [data-stage="proposal.ballot"]) .entangle-proposal__chip--plain {
	--eb-tone: var(--color-brand-deep, var(--eb-accent));
}
/* Where the proposal stands is the one word that rides on the picture; the rest stays in the line under it. It is
   stuck to the picture's edges in its bottom START corner (the owner, 12. 11.) — right above the edition and the
   title it belongs to, so the three are read as one — as the tags of a project's card are, and in their colours: the
   hue of what it says for the words, a share of it in the ground — opaque, on the card's own surface, because over a
   photograph a tint is no background (the owner, 28. 10.).

   A theme may round its pictures as much as it likes (`--radius`): the tag is cut to the same curve — by a mask, which
   takes any radius (a `border-radius` larger than the tag is high would be scaled down, and the tag would stand out
   of the corner) — gives its words room for it, and ends in a corner of the theme's radius as far as a tag can carry
   one. It reaches one pixel past the picture on its two outer sides, and its curve is that pixel wider: two shapes
   cut to the very same curve let the darker one show through along it. */
.entangle-proposal__media {
	position: relative;
}
/* Above the stretched link of the title: words, not a target — a click on them is a click on the card. */
.entangle-proposal__tags {
	position: absolute;
	z-index: 1;
	bottom: -1px;
	left: -1px;
	display: flex;
	max-width: 100%;
	margin: 0;
	pointer-events: none;
}
.entangle-proposal:not(.entangle-proposal--boxed) .entangle-proposal__tags .entangle-proposal__chip {
	--tag-r: calc(var(--eb-radius) + 1px);
	-webkit-mask:
		linear-gradient(#000 0 0) right / calc(100% - var(--tag-r)) 100% no-repeat,
		linear-gradient(#000 0 0) top / 100% max(0px, calc(100% - var(--tag-r))) no-repeat,
		radial-gradient(circle at var(--tag-r) calc(100% - var(--tag-r)), #000 calc(var(--tag-r) - 0.5px), transparent var(--tag-r)) left / var(--tag-r) 100% no-repeat;
	mask:
		linear-gradient(#000 0 0) right / calc(100% - var(--tag-r)) 100% no-repeat,
		linear-gradient(#000 0 0) top / 100% max(0px, calc(100% - var(--tag-r))) no-repeat,
		radial-gradient(circle at var(--tag-r) calc(100% - var(--tag-r)), #000 calc(var(--tag-r) - 0.5px), transparent var(--tag-r)) left / var(--tag-r) 100% no-repeat;
}
/* In a padded box the picture is square, and the box clips what stands in it. */
.entangle-proposal--boxed .entangle-proposal__tags {
	bottom: 0;
	left: 0;
}
.entangle-proposal__tags .entangle-proposal__chip {
	padding: 6px 12px 7px;
	padding-left: max(13px, calc(var(--eb-radius) * 0.55 + 1px));
	border-radius: 0;
	border-top-right-radius: min(var(--eb-radius), 10px);
	background: var(--color-card, var(--color-bg, #fff));
	color: var(--eb-tone);
	font-size: var(--eb-text-xs);
	font-weight: 600;
	line-height: var(--eb-leading-snug);
}
@supports (background: color-mix(in srgb, red 10%, white)) {
	.entangle-proposal__tags .entangle-proposal__chip {
		background: color-mix(in srgb, var(--eb-tone) 14%, var(--color-card, var(--color-bg, #fff)));
	}
}
/* On the picture the colour of the tag says what the dot said. */
.entangle-proposal__tags .entangle-proposal__chip::before {
	content: none;
}
.entangle-proposal__category {
	letter-spacing: 0.04em;
	text-transform: uppercase;
}
.entangle-proposal__number {
	margin: 0;
	font-variant-numeric: tabular-nums;
}
/* The coordinator's final assessment at the head of the tab of the assessments (29. 10.): set apart from the
   assessments of the groups under it — as wide as the lines between them, its words as long as theirs, tinted by its
   verdict a little lighter than its chip, with a bar of that colour on its start side. Without a verdict, the accent. */
.entangle-proposal-final {
	--eb-tone: var(--eb-accent);
	box-sizing: border-box;
	max-width: var(--eb-final-width);
	margin: 0 0 var(--eb-final-after);
	padding: var(--eb-pad-card, 1.25em);
	border-inline-start: 4px solid var(--eb-tone);
	border-radius: var(--eb-radius);
	background: color-mix(in srgb, var(--eb-tone) var(--eb-final-tint), transparent);
}
.entangle-proposal-final--ok {
	--eb-tone: var(--eb-tone-ok);
}
.entangle-proposal-final--caution {
	--eb-tone: var(--eb-tone-caution);
}
.entangle-proposal-final--stop {
	--eb-tone: var(--eb-tone-stop);
}
.entangle-proposal-final__head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--eb-space-sm);
}
.entangle-proposal-final__title {
	margin: 0;
	font-size: var(--eb-title-sm);
}
.entangle-proposal-final__text {
	max-width: var(--eb-final-text);
	margin-block-start: var(--eb-space-sm);
}
.entangle-proposal-final__text > :first-child {
	margin-block-start: 0;
}
.entangle-proposal-final__text > :last-child {
	margin-block-end: 0;
}
/* Which edition the proposal belongs to: a page of proposals outlives the year it was written in. It is the one word
   of the line that is read (the owner, 12. 11.): the colour of the text and a heavier cut, a size above the line's. */
.entangle-proposal__edition {
	color: var(--color-ink, inherit);
	font-size: var(--eb-text-sm);
	font-weight: 600;
}
/* How many comments the proposal has, beside the edition and only where it has some: quiet, parted by a dot. */
.entangle-proposal__comments {
	display: inline-flex;
	align-items: center;
	gap: var(--eb-space-xs);
	font-size: var(--eb-text-sm);
}
.entangle-proposal__edition + .entangle-proposal__comments::before {
	content: "";
	flex: none;
	width: 3px;
	height: 3px;
	border-radius: 50%;
	background: currentColor;
}
/* The title IS the card now that there is no lead under it. */
.entangle-proposal__title {
	margin: 0;
	font-size: var(--eb-title-md);
	line-height: var(--eb-leading-snug);
	text-wrap: balance;
}
.entangle-proposal__title a {
	color: inherit;
}
/* The whole card leads to the proposal; the link keeps its own ring (:focus-within above draws it). */
.entangle-proposal__title a::after {
	content: "";
	position: absolute;
	inset: 0;
}
.entangle-proposal__title a:focus-visible {
	outline: none;
}
.entangle-proposal__facts {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: var(--eb-space-2xs);
	margin: auto 0 0;
	padding-block-start: var(--eb-space-sm);
	border-block-start: 1px solid rgba(128, 128, 128, 0.3);
	border-block-start-color: var(--eb-rule);
	font-size: var(--eb-text-sm);
}
/* A line, not a column of pairs: a card is 264 px wide at its narrowest, and a label column of its own would leave the
   value three words to a line. The projects' card says its facts the same way. */
.entangle-proposal__fact {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: var(--eb-space-2xs) var(--eb-space-xs);
}
.entangle-proposal__fact dt {
	color: var(--eb-muted);
}
.entangle-proposal__fact dd {
	margin: 0;
}
/* ===== Filters: selects in a plain GET form, pages: plain links =====
   No label is seen (the first option of a select says what it is: "All categories"); the name a screen reader says is the select's
   aria-label. The baseline is written with :where() (no specificity): a theme that styles its selects and buttons styles these. Without
   a script the form has its "Show" button; with proposals-filter.js (`is-ajax` on the block) the button is out of sight while the
   mouse or the finger chooses, and comes back (`is-keyboard`) once the keyboard is used on a select, as in the projects' archive. */
.entangle-proposals__filters {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	gap: var(--eb-filter-gap);
	margin-block-end: var(--eb-filter-after);
}
/* The fields share the row as the projects' do: each at least 220 px, growing to 320 px at most, from the left; more of
   them than fit go on to the next row. On a phone each has the whole width. */
.entangle-proposals__filter {
	flex: 1 1 220px;
	min-width: min(100%, 220px);
	max-width: 320px;
}
@media (max-width: 599px) {
	.entangle-proposals__filter {
		flex-basis: 100%;
		max-width: none;
	}
}
/* A filter is a word with a line under it (the reference site, 28. 10.), the same as the projects' archive: no box,
   no fill, the chevron drawn by the field so that it takes the colour of the state. */
.entangle-proposals__filter {
	position: relative;
	color: var(--color-ink, inherit);
}
.entangle-proposals__filter::after {
	content: "";
	position: absolute;
	right: 4px;
	top: 50%;
	width: 9px;
	height: 9px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: translateY(-75%) rotate(45deg);
	pointer-events: none;
}
:where(.entangle-proposals__filter-select) {
	box-sizing: border-box;
	width: 100%;
	min-height: var(--eb-filter-height);
	margin: 0;
	padding: 10px 28px 10px 0;
	border: 0;
	border-bottom: 1px solid var(--eb-filter-rule);
	border-radius: 0;
	appearance: none;
	background-color: transparent;
	color: inherit;
	font: inherit;
	line-height: var(--eb-leading-snug);
}
/* The one that is set: two pixels under it, and the word and the chevron in the accent. */
.entangle-proposals__filter.is-set {
	color: var(--eb-accent);
}
.entangle-proposals__filter.is-set .entangle-proposals__filter-select {
	padding-bottom: 9px;
	border-bottom: 2px solid var(--eb-accent);
	color: var(--eb-accent);
}
:where(.entangle-proposals__filter-select:focus-visible, .entangle-proposals__filter-reset:focus-visible) {
	outline: 2px solid var(--eb-accent);
	outline-offset: 2px;
}
.entangle-proposals__filter-actions {
	display: flex;
	align-items: center;
	gap: var(--eb-space-md);
	min-height: var(--eb-filter-height);
}
:where(.entangle-proposals__filter-submit) {
	min-height: var(--eb-target);
	cursor: pointer;
}
.entangle-proposals.is-ajax .entangle-proposals__filter-submit {
	display: none;
}
.entangle-proposals.is-ajax .entangle-proposals__filters.is-keyboard .entangle-proposals__filter-submit {
	display: inline-flex;
	align-items: center;
}
:where(.entangle-proposals__filter-reset) {
	color: var(--eb-accent);
	font-size: var(--eb-text-sm);
	font-weight: 600;
}
.entangle-proposals__filter-reset[hidden] {
	display: none;
}
/* How many the choices found: read under the filters as the archive of projects reads it, and announced to a
   screen reader when the script changes the list without a page. */
.entangle-proposals__status {
	margin: 0 0 var(--eb-status-after);
	color: var(--eb-muted);
	font-size: var(--eb-count-size);
}
.entangle-proposals.is-loading .entangle-proposals__main {
	opacity: 0.55;
}

/* „Zobrazit vše“ pod hrstkou návrhů na úvodní stránce: dveře k celému seznamu.
   Stejně jako na předloze stojí pod výpisem, ne u nadpisu. */
.entangle-proposals__all {
	margin-block-start: var(--eb-space-lg);
}
.entangle-proposals__all-link {
	display: inline-flex;
	align-items: center;
	gap: var(--eb-space-xs);
	font-weight: 600;
}
.entangle-proposals__all-link::after {
	content: "\2192";
	content: "\2192" / "";
	font-size: var(--eb-glyph);
	line-height: var(--eb-leading-flat);
}
.entangle-proposals__all-link:dir(rtl)::after {
	content: "\2190";
	content: "\2190" / "";
}
:where(.entangle-proposals__pagination) {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--eb-space-xs) var(--eb-space-md);
	margin-block-start: var(--eb-gap);
}

/* ===== The cards beside a sticky map (F2d) =====
   The layout of the projects' archive: the cards on the left, the map on the right and in view while the cards scroll, from 1024 px
   up; under it the cards and the map are stacked, and (once proposals-view.js runs: `is-enhanced`) a List / Map switch shows one of
   the two. Without scripts the cards are followed by the map and the switch stays hidden. */
.entangle-proposals__viewtoggle {
	display: none;
	position: fixed;
	z-index: 30;
	left: 50%;
	bottom: max(16px, env(safe-area-inset-bottom));
	overflow: hidden;
	border: 1px solid rgba(128, 128, 128, 0.3);
	border-color: var(--eb-rule);
	border-radius: var(--eb-radius-pill);
	background: var(--eb-float-bg);
	box-shadow: var(--eb-float-shadow);
	transform: translateX(-50%);
}
.entangle-proposals.is-enhanced .entangle-proposals__viewtoggle {
	display: inline-flex;
}
.entangle-proposals__viewtoggle-btn {
	display: inline-flex;
	align-items: center;
	min-height: var(--eb-target);
	margin: 0;
	padding: 0 var(--eb-space-lg);
	border: 0;
	background: transparent;
	color: inherit;
	font: inherit;
	font-weight: 600;
	cursor: pointer;
}
.entangle-proposals__viewtoggle-btn.is-active {
	background: var(--eb-accent);
	color: var(--eb-on-accent);
}
.entangle-proposals__viewtoggle-btn:focus-visible {
	outline: 2px solid var(--eb-accent);
	outline-offset: -4px;
}
.entangle-proposals__split {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: var(--eb-split-gap);
}
.entangle-proposals__main {
	min-width: 0;
}
/* The column of the cards is narrower than the block; the cards in it are the same cards (--eb-card), two to a row. */
/* One panel at a time, from the first paint: where scripts run (`scripting: enabled`) the map is hidden under 1024 px until the switch
   asks for it, so that the map's script, which builds a map only where it is shown, fetches no tile for a panel nobody sees (it boots
   before this block's own script has run, so a class that script sets would be too late). Where they do not, the cards are followed
   by the map. */
@media (max-width: 1023px) and (scripting: enabled) {
	.entangle-proposals--switch:not(.is-map-view) .entangle-proposals__split > .entangle-proposals__map {
		display: none;
	}
	.entangle-proposals--switch.is-map-view .entangle-proposals__main {
		display: none;
	}
	/* The floating switch must not cover the last card or the button under it. */
	.entangle-proposals--switch.is-enhanced .entangle-proposals__split {
		padding-block-end: var(--eb-float-room);
	}
	/* The map fills the window under the header (the switch opens it there: proposals-view.js). */
	.entangle-proposals--has-map.entangle-proposals--switch .entangle-proposals__map .entangle-projects-map[data-entangle-projects-map]:not(.is-failed) {
		height: var(--eb-map-phone);
		min-height: 320px;
	}
}

/* The list goes on as it is read (proposals-load.js): three more pages by themselves, then the button. The numbered
   pages stay in the page for whoever has no script and are hidden once the cards come by themselves — said here,
   because the pagination of core is a flex box, and a `display` beats the attribute (12. 11.: both were shown). */
.entangle-proposals__pagination[hidden] {
	display: none;
}
.entangle-proposals__load {
	display: grid;
	justify-items: center;
	gap: var(--eb-space-sm);
	margin-block-start: var(--eb-gap);
}
.entangle-proposals__loading {
	display: none;
	margin: 0;
	color: var(--eb-muted);
	font-size: var(--eb-text-sm);
}
.entangle-proposals.is-loading-more .entangle-proposals__loading {
	display: block;
}
.entangle-proposals__load-more[hidden] {
	display: none;
}
.entangle-proposals__sr {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}
@media (min-width: 1024px) {
	.entangle-proposals.is-enhanced .entangle-proposals__viewtoggle {
		display: none;
	}
	.entangle-proposals--has-map .entangle-proposals__split {
		grid-template-columns: minmax(0, 1fr) minmax(0, 0.78fr);
		align-items: start;
	}
}

/* ===== The map of the list (platform v2 F2) =====
   The container is the projects' (`.entangle-projects-map`, drawn by their script and, with their stylesheet, their pin
   and popup); what is set here is only what a page without a projects archive lacks: the height Leaflet needs, and the
   few custom properties the pins, their discs and the popup read. The sentence under the map is plain text. */
.entangle-proposals__map {
	--ep-accent: var(--eb-accent);
	--ep-accent-deep: var(--eb-accent);
	--ep-on-accent: var(--eb-on-accent);
	--ep-ink: var(--color-ink, currentColor);
	--ep-muted: var(--eb-muted);
	--ep-surface: var(--eb-chip-bg);
	--ep-radius: var(--eb-radius);
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: var(--eb-space-xs);
	margin-block-end: var(--eb-gap);
}
/* The height is the map's, not the container's. Without the script (or with a library that failed) the container holds a sentence
   and a link, and takes the room of those — the projects' own stylesheet gives every map a min-height, taken back here. The
   script adds `is-ready` when it draws; a browser that says scripting is on holds the height from the first paint (the page
   below does not jump when the map appears), and `is-failed` gives it up again (the editor's preview, which draws no map, has no data attribute and keeps the room of its sentence). */
.entangle-proposals__map .entangle-projects-map {
	min-height: 0;
}
.entangle-proposals__map .entangle-projects-map.is-ready {
	min-height: 20rem;
	height: 28rem;
	max-height: 70vh;
}
@media (scripting: enabled) {
	.entangle-proposals__map .entangle-projects-map[data-entangle-projects-map]:not(.is-failed) {
		min-height: 20rem;
		height: 28rem;
		max-height: 70vh;
	}
}
.entangle-proposals__map-note {
	margin: 0;
	color: var(--eb-muted);
	font-size: var(--eb-text-sm);
}
/* A note on its own (no map to put it under: nothing to show, or the editor says why) keeps the air a map would. */
:where(.entangle-proposals > .entangle-proposals__map-note) {
	margin-block-end: var(--eb-gap);
}
/* Beside the cards the map has the room of the column, not a height of its own (the box is the sticky one, the map fills it and the
   sentence sits under it); stacked under 1024 px it is as tall as most of the screen, like the projects' archive's. Without the script
   (nothing draws a map: the container holds a sentence and a link) the box and the container take the room of those, as above. */
.entangle-proposals--has-map .entangle-proposals__split > .entangle-proposals__map {
	margin-block-end: 0;
}
.entangle-proposals--has-map .entangle-proposals__map .entangle-projects-map.is-ready {
	height: 70vh;
	min-height: 20rem;
	max-height: none;
}
@media (scripting: enabled) {
	.entangle-proposals--has-map .entangle-proposals__map .entangle-projects-map[data-entangle-projects-map]:not(.is-failed) {
		height: 70vh;
		min-height: 20rem;
		max-height: none;
	}
}
@media (min-width: 1024px) {
	.entangle-proposals--has-map .entangle-proposals__split > .entangle-proposals__map {
		position: sticky;
		top: var(--eb-sticky-top);
		grid-template-rows: minmax(0, 1fr) auto;
	}
	.entangle-proposals--has-map .entangle-proposals__map .entangle-projects-map.is-ready {
		height: 100%;
		min-height: 0;
	}
}
@media (min-width: 1024px) and (scripting: enabled) {
	.entangle-proposals--has-map .entangle-proposals__split > .entangle-proposals__map {
		height: calc(100vh - var(--eb-sticky-top) - 24px);
		min-height: 26rem;
	}
	.entangle-proposals--has-map .entangle-proposals__map .entangle-projects-map[data-entangle-projects-map]:not(.is-failed) {
		height: 100%;
		min-height: 0;
	}
}

/* ===== The timeline of an edition ===== */
.entangle-phases__list {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: entangle-phase;
}
.entangle-phases__phase {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: var(--eb-space-2xs);
	margin: 0;
	/* A phase is one line and its days: the list is read in one go, so each item takes a line's worth of air. */
	padding-block: var(--eb-space-xs);
	padding-inline-start: 2.25em;
	border-inline-start: 2px solid rgba(128, 128, 128, 0.3);
	border-inline-start-color: var(--eb-rule);
	counter-increment: entangle-phase;
}
.entangle-phases__phase::before {
	content: counter(entangle-phase);
	position: absolute;
	inset-inline-start: -0.875em;
	inset-block-start: var(--eb-space-xs);
	display: grid;
	place-items: center;
	width: 1.75em;
	height: 1.75em;
	border: 2px solid rgba(128, 128, 128, 0.3);
	border-color: var(--eb-rule);
	border-radius: 50%;
	background: var(--color-bg, Canvas);
	font-size: var(--eb-text-sm);
	font-variant-numeric: tabular-nums;
}
.entangle-phases__phase--past {
	color: var(--eb-muted);
}
.entangle-phases__phase--current {
	border-inline-start-color: var(--eb-accent);
}
.entangle-phases__phase--current::before {
	border-color: var(--eb-accent);
	background: var(--eb-accent);
	color: var(--color-on-brand, Canvas);
}
.entangle-phases__dates,
.entangle-phases__now {
	margin: 0;
	color: var(--eb-muted);
	font-size: var(--eb-text-sm);
}
.entangle-phases__now {
	color: var(--eb-accent);
	font-weight: 600;
}
.entangle-phases__label {
	margin: 0;
	font-size: var(--eb-title-xs);
}
/* Which phase is now, in the timeline (the owner, 27. 10.): the accent is on the NAME, where the eye already is, and
   the badge beside it goes — the line "Now" stays in the page for whoever does not see a colour (the rule of the
   hidden text below). Outside the timeline, in the plain introduction, the line is read as it was. */
.entangle-phases__phase--current .entangle-phases__label {
	color: var(--eb-accent);
}
.entangle-phases__text > :first-child {
	margin-block-start: 0;
}
.entangle-phases__text > :last-child {
	margin-block-end: 0;
}
.entangle-phases__cta {
	display: flex;
	flex-wrap: wrap;
	gap: var(--eb-space-xs);
	margin: var(--eb-space-xs) 0 0;
}

/* Fáze může mít dvě tlačítka (vlastník, 26. 10.): hlavní cestu a vedle ní tišší
   — pravidla vedle „Podat návrh“, výsledky vedle hlasování. Druhé si bere obrys
   místo plochy, aby se o pozornost nepralo; barvu i tvar dává pořád téma
   (wp-element-button), tohle jen obrátí plochu a text. */
.entangle-phases__button--secondary {
	background-color: transparent;
	color: var(--eb-accent, currentColor);
	box-shadow: inset 0 0 0 1px currentColor;
}

/*
 * The introduction of a page (entangle-budget/current-phase): the current phase alone. It is drawn by the same method as
 * the timeline's current item, so the parts keep the timeline's classes (--eb-* and all); the wrapper is its own.
 */
.entangle-current-phase {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: var(--eb-space-2xs);
	padding-inline-start: var(--eb-space-md);
	border-inline-start: 4px solid var(--eb-accent);
}
.entangle-current-phase .entangle-phases__label {
	font-size: var(--eb-title-md);
}

/*
 * The introduction as bands (layout "bands"): the name of the phase, one sentence with its term, its text, and under them
 * wide bands across the whole width of the block — the primary one (the button of the phase) and the second one (the list
 * of proposals, or what the city wrote). Only tokens of the theme (--color-*, --radius, --btn-target, --space-*) with fallbacks
 * to the colours of the page, no picture of its own: a band is a solid colour, and a theme that wants a picture behind it sets
 * --eb-band-image (a url()) on the block or above it. The arrow is drawn here (it carries no meaning of its own: the empty
 * alternative text after the slash keeps it from being read).
 */
.entangle-current-phase--bands {
	padding-inline-start: 0;
	border-inline-start: 0;
	gap: var(--eb-space-xs);
}

/*
 * Úvod přes fotku ročníku (vlastník, 26. 10.). Obrázek je <img> pod obsahem, ne
 * pozadí ve style atributu: tenhle balík inline styly nepíše a jen img nese
 * srcset, takže si telefon nestahuje fotku pro desktop.
 *
 * Text přes fotku je čitelný jen tehdy, když se o to někdo postará: fotka může
 * být světlá, tmavá i oboje. Proto závojek — tmavý přechod zdola — a text na
 * něm bíle. Nejde o vkus: na 4,5 : 1 se u textu přes obrázek jinak spolehnout
 * nedá a kontrast se počítá proti tomu, co je pod písmem, ne proti fotce jako
 * celku.
 */
.entangle-current-phase--cover {
	position: relative;
	display: grid;
	/* Text a pruhy sedí na spodní hraně, nad nimi fotka — jinak by se úvod
	   scvrkl na výšku svého textu a z fotky by zbyl proužek. */
	align-content: end;
	/* The whole introduction, the bands included: the reference is 450 px of picture and 100 px of bands at 1400 px
	   (measured 27. 10.). Below that width it follows the window, as it did. */
	min-height: clamp(18rem, 42vw, 34.5rem);
	padding: 0;
	overflow: hidden;
	border-radius: var(--eb-radius);
	isolation: isolate;
}
.entangle-current-phase__image {
	position: absolute;
	inset: 0;
	z-index: -2;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.entangle-current-phase--cover::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	/* Dole 80 %, v pásmu, kde text opravdu leží, 62 %. I kdyby pod ním byla
	   bílá obloha, vyjde bílé písmo na 5,7 : 1 — AA tedy platí pro každou
	   fotku, ne jen pro tu, kterou zrovna někdo nahrál. */
	background: linear-gradient(to top, rgb(0 0 0 / 80%) 0%, rgb(0 0 0 / 62%) 55%, rgb(0 0 0 / 25%) 100%);
}
.entangle-current-phase__inner {
	display: grid;
	gap: var(--eb-space-xs);
	/* Pruhy sedí na spodní hraně jako u Liberce, text nad nimi. */
	padding: var(--eb-space-hero) var(--eb-space-hero-inline) 0;
	color: #fff;
}
.entangle-current-phase--cover .entangle-phases__label,
.entangle-current-phase--cover .entangle-phases__text {
	color: #fff;
}
/* Pruhy jdou až ke krajům a navazují na sebe, ne aby se vznášely v mřížce; text pruhu začíná tam, kde text nad ním
   (vlastník, 27. 10.): odsazení pruhu je odsazení hlavičky, ne jeho vlastní. */
.entangle-current-phase--cover .entangle-phases__band {
	padding-inline: var(--eb-space-hero-inline);
}
.entangle-current-phase--cover .entangle-phases__bands {
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
	gap: 0;
	margin-block-start: var(--eb-space-hero-rule);
	margin-inline: calc(-1 * var(--eb-space-hero-inline));
}
.entangle-current-phase--cover .entangle-phases__band {
	border-radius: 0;
}

@media (prefers-reduced-motion: no-preference) {
	.entangle-current-phase--cover .entangle-phases__band {
		transition: background-color 0.15s ease;
	}
}
.entangle-current-phase--bands .entangle-phases__label {
	max-width: var(--eb-measure-title);
	font-size: var(--eb-title-hero);
	line-height: var(--eb-leading-tight);
}
.entangle-current-phase--bands .entangle-phases__text {
	max-width: var(--eb-measure);
	font-size: var(--eb-text-hero);
}
.entangle-phases__bands {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: var(--eb-space-sm);
	margin-block-start: var(--eb-space-xs);
}
.entangle-phases__band {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--eb-space-md);
	box-sizing: border-box;
	min-height: var(--eb-band-min);
	/* A band is a road, not a button in a row of them: it is given the air of one (the owner, 27. 10.). */
	padding: var(--eb-pad-band) var(--eb-space-lg);
	border-radius: var(--eb-radius);
	background-image: var(--eb-band-image, none);
	background-position: center;
	background-size: cover;
	font-size: var(--eb-band-text);
	/* The loud road is bold and the quiet one is not, as on the reference: the weight says which is which before the
	   colour does. */
	font-weight: 400;
	line-height: var(--eb-leading-tight);
	text-decoration: none;
	overflow-wrap: anywhere;
}
.entangle-phases__band::after {
	content: "\2192";
	content: "\2192" / "";
	flex: none;
	font-size: var(--eb-glyph);
	line-height: var(--eb-leading-flat);
}
.entangle-phases__band:dir(rtl)::after {
	content: "\2190";
	content: "\2190" / "";
}
.entangle-phases__band:hover,
.entangle-phases__band:focus-visible {
	text-decoration: none;
}
.entangle-phases__band:focus-visible {
	outline: 3px solid var(--color-ink, CanvasText);
	outline-offset: 3px;
}
.entangle-phases__band--primary {
	background-color: var(--color-brand, LinkText);
	color: var(--color-on-brand, Canvas);
	font-weight: 700;
}
.entangle-phases__band--primary:hover,
.entangle-phases__band--primary:focus-visible {
	background-color: var(--color-brand-deep, var(--color-brand, LinkText));
	color: var(--color-on-brand, Canvas);
}
.entangle-phases__band--secondary {
	/* The quiet road is a light grey with grey writing (the reference, 27. 10.) — the light surface of the palette
	   (theme.json: "surface"), so a child theme that moves its greys moves this one with them; the same grey as the
	   feed of the news under it and the hover of their cards (the owner, 30. 10.: one grey). */
	background-color: var(--eb-quiet);
	color: var(--color-ink-soft, CanvasText);
}
.entangle-phases__band--secondary:hover,
.entangle-phases__band--secondary:focus-visible {
	background-color: color-mix(in srgb, var(--color-bg-alt, Canvas) 94%, var(--color-ink, CanvasText));
	color: var(--color-ink, CanvasText);
}
@media (prefers-reduced-motion: no-preference) {
	.entangle-phases__band {
		transition: background-color 0.15s ease;
	}
	.entangle-phases__band::after {
		transition: transform 0.15s ease;
	}
	.entangle-phases__band:hover::after,
	.entangle-phases__band:focus-visible::after {
		transform: translateX(0.25em);
	}
	.entangle-phases__band:dir(rtl):hover::after,
	.entangle-phases__band:dir(rtl):focus-visible::after {
		transform: translateX(-0.25em);
	}
}

/* ===== The categories ===== */
.entangle-categories__total {
	margin: 0 0 var(--eb-space-sm);
}
.entangle-categories__total-label {
	color: var(--eb-muted);
}
.entangle-categories__scroll {
	max-width: 100%;
	overflow-x: auto;
}
.entangle-categories__table {
	width: 100%;
	border-collapse: collapse;
	font-size: var(--eb-text-sm);
}
.entangle-categories__table caption {
	margin-block-end: var(--eb-space-xs);
	text-align: start;
	font-weight: 600;
}
.entangle-categories__table th,
.entangle-categories__table td {
	padding: var(--eb-space-xs) var(--eb-space-sm) var(--eb-space-xs) 0;
	border-block-end: 1px solid rgba(128, 128, 128, 0.3);
	border-block-end-color: var(--eb-rule);
	text-align: start;
	vertical-align: top;
}

/* ===== The results of the vote (phase 5b) ===== */
/* The words above the table stand as far apart as the page's own paragraphs that follow them. */
.entangle-results-intro > p {
	margin-block: 0;
}
.entangle-results-intro > p + p {
	margin-block-start: var(--wp--style--block-gap, 1.5em);
}
.entangle-results__summary {
	margin: 0 0 var(--eb-space-sm);
	color: var(--eb-muted);
}
.entangle-results__filters,
.entangle-results > .entangle-pill {
	margin-block-end: var(--eb-gap);
}
.entangle-results__filter-list {
	display: flex;
	flex-wrap: wrap;
	gap: var(--eb-space-xs);
	margin: 0;
	padding: 0;
	list-style: none;
}
/* Links, not labels: a finger has to reach them (the mark of a result below keeps the chip's padding). */
:where(.entangle-results__filter-link) {
	display: inline-flex;
	align-items: center;
	min-height: var(--eb-target);
	padding: var(--eb-pad-pill);
	border: 1px solid rgba(128, 128, 128, 0.3);
	border-color: var(--eb-rule);
	border-radius: var(--eb-radius-pill);
	color: inherit;
	text-decoration: none;
}
:where(.entangle-results__filter-link[aria-current="page"]) {
	border-color: var(--eb-accent);
	background: var(--eb-chip-bg);
	font-weight: 600;
}
.entangle-results__category + .entangle-results__category {
	margin-block-start: var(--eb-gap);
}
.entangle-results__title {
	margin: 0 0 var(--eb-space-2xs);
}
.entangle-results__budget {
	margin: 0 0 var(--eb-space-sm);
	color: var(--eb-muted);
}
.entangle-results__scroll {
	max-width: 100%;
	overflow-x: auto;
}
.entangle-results__table {
	width: 100%;
	border-collapse: collapse;
	font-size: var(--eb-text-sm);
}
/* The heading above says the same to the eye; a reader of the screen keeps the name of the table. */
.entangle-results__caption {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}
.entangle-results__table th,
.entangle-results__table td {
	padding: var(--eb-space-xs) var(--eb-space-sm) var(--eb-space-xs) 0;
	border-block-end: 1px solid rgba(128, 128, 128, 0.3);
	border-block-end-color: var(--eb-rule);
	text-align: start;
	vertical-align: middle;
}
.entangle-results__table tr > :first-child {
	padding-inline-start: var(--eb-space-sm);
}
/* Every row as tall as the next (the owner, 2. 11.): room for two lines of a name, and a name never takes more (the whole of it
   is in its title, and in the text for a reader of the screen). */
.entangle-results__row {
	height: calc(2 * var(--eb-leading-snug) * 1em + 2 * var(--eb-space-xs));
}
.entangle-results__proposal {
	min-width: 16em;
	font-weight: 400;
}
.entangle-results__name {
	display: -webkit-box;
	overflow: hidden;
	line-height: var(--eb-leading-snug);
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	line-clamp: 2;
}
.entangle-results__number,
.entangle-results__not {
	color: var(--eb-muted);
	font-size: var(--eb-text-xs);
}
.entangle-results__rank,
.entangle-results__for,
.entangle-results__against,
.entangle-results__score,
.entangle-results__cost {
	white-space: nowrap;
	font-variant-numeric: tabular-nums;
}
.entangle-results__for,
.entangle-results__against {
	font-weight: 600;
}
.entangle-results__for {
	color: var(--eb-vote-for);
}
.entangle-results__against {
	color: var(--eb-vote-against);
}
.entangle-results__mark,
.entangle-results__not {
	white-space: nowrap;
}
.entangle-results__mark {
	display: inline-block;
	padding: var(--eb-pad-chip);
	border-radius: var(--eb-radius);
	background: var(--eb-chip-bg);
	color: var(--eb-chip-ink);
	font-weight: 600;
}
.entangle-results__row--chosen {
	background: color-mix(in srgb, var(--eb-accent) 6%, transparent);
}
.entangle-results__row--chosen .entangle-results__proposal {
	font-weight: 600;
}
/* The figure the order is made of stands out of the row (the owner, 2. 11.). */
.entangle-results__score {
	font-weight: 700;
}
/* The whole row is the link of its name (the owner, 2. 11.), as a row that leads to its record in a list of updates. A proposal
   nobody may read has no link and stays a plain row. Over the cells that are positioned themselves (the votes against). */
.entangle-results__row:has(.entangle-results__link) {
	position: relative;
}
.entangle-results__link::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
}
.entangle-results__link:focus-visible {
	outline: none;
}
.entangle-results__row:has(.entangle-results__link:focus-visible) {
	outline: 2px solid var(--eb-accent);
	outline-offset: -2px;
}
@media (hover: hover) {
	.entangle-results__row:has(.entangle-results__link):hover {
		background: var(--color-bg-alt, rgba(128, 128, 128, 0.06));
	}
	.entangle-results__row--chosen:has(.entangle-results__link):hover {
		background: color-mix(in srgb, var(--eb-accent) 12%, transparent);
	}
	.entangle-results__row:hover .entangle-results__link {
		color: var(--eb-accent);
		text-decoration: underline;
		text-underline-offset: 3px;
	}
}

/* ===== What the rows of the results say besides the numbers (F2b, F2d) =====
   The votes against carry their share; the spoken form of the share is hidden from the eye and read by a screen reader. */
.entangle-results__rule {
	margin: 0 0 var(--eb-gap);
	color: var(--eb-muted);
}
.entangle-results__share {
	color: var(--eb-muted);
	font-size: var(--eb-text-xs);
	font-weight: 400;
}
.entangle-results__said {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}
.entangle-results__against {
	position: relative;
}

/* ===== A call for proposals that takes nothing now ===== */
/*
 * The button of the submission phase leads to the form of the edition (PhaseButton::button(): the page's address with the
 * anchor of the form). Where the call is closed, the anchor is the notice that stands in the form's place (Submission\Gate,
 * the same id): it stops below the sticky header too. The form itself does the same in Entangle Forms' own stylesheet.
 */
.entangle-budget-call {
	scroll-margin-top: calc(var(--header-h, 0px) + var(--wp-admin--admin-bar--height, 0px) + 24px);
}

.entangle-budget-call {
	padding: var(--eb-pad-card);
	border: 1px solid rgba(128, 128, 128, 0.3);
	border-color: var(--eb-rule);
	border-radius: var(--eb-radius);
	background: var(--eb-chip-bg);
}
.entangle-budget-call__text,
.entangle-budget-call__more {
	margin: 0;
}
.entangle-budget-call__more {
	margin-block-start: var(--eb-space-xs);
}

/* A block's hint in the editor's preview. */
.entangle-budget-placeholder p {
	margin: 0;
	color: var(--eb-muted, inherit);
	font-style: italic;
}


/* ── the page of a proposal: the video (platform v2 C-II) ──────────────────
   The player of the provider (or, without an answer, a link) in the tab Popis; as wide as the text, never wider. */
.entangle-proposal__video {
	margin: var(--eb-gap, 1.5rem) 0;
}

.entangle-proposal__video .wp-block-embed__wrapper {
	max-width: 100%;
}

.entangle-proposal__video iframe {
	width: 100%;
	max-width: 100%;
	aspect-ratio: 16 / 9;
	height: auto;
	border: 0;
}

/* ── What the participatory budget is (Blocks\About) ─────────────────────
   The city's own text, written on the edition and drawn here: a column of prose, so it is read as prose — a line
   no longer than the eye follows back to the next one. */
.entangle-about__text {
	max-width: var(--eb-measure);
}
.entangle-about__text > :first-child {
	margin-block-start: 0;
}
.entangle-about__text > :last-child {
	margin-block-end: 0;
}

/* The way to all the editions and to the results, under the band of the previous editions (29. 10.). */
.entangle-editions__all {
	display: flex;
	flex-wrap: wrap;
	gap: var(--eb-space-sm);
	margin: var(--eb-gap) 0 0;
}

/* ── Links to the pages of the budget, F2i (Frontend\PageLinks) ──────────
   The front page leads to the list of the proposals, to the form and to the results: a row of quiet pills of the page's own tokens,
   like the links to share. A page the site does not have is not in the row, so the row is as long as the pages are. */
.entangle-page-links {
	margin-block: var(--eb-gap);
}
.entangle-page-links__list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--eb-space-xs);
	margin: 0;
	padding: 0;
	list-style: none;
}
.entangle-page-links__item {
	margin: 0;
}
.entangle-page-links__link {
	display: inline-flex;
	align-items: center;
	box-sizing: border-box;
	min-height: var(--eb-target);
	padding: var(--eb-pad-pill);
	border: 1px solid rgba(128, 128, 128, 0.3);
	border-color: var(--eb-rule);
	border-radius: var(--eb-radius-pill);
	background: var(--color-card, transparent);
	color: var(--color-ink, inherit);
	font: inherit;
	font-weight: 600;
	line-height: var(--eb-leading-tight);
	text-decoration: none;
}
.entangle-page-links__link:hover,
.entangle-page-links__link:focus-visible {
	border-color: var(--eb-accent);
	text-decoration: none;
}
.entangle-page-links__link:focus-visible {
	outline: 3px solid var(--color-ink, CanvasText);
	outline-offset: 2px;
}

/* ── Documents of an edition, F2g (Blocks\EditionBlocks::documents) ──────────
   The rules, the form to download, the template of the budget: a plain list of links, the name first, the type and the size of the file
   after it in the quiet colour, the note under it. Nothing that is a card or a box: the page it stands on (the guide to submitting a proposal,
   a footer) gives it its place. */
/* ===== The page of submitting: the steps, the date beside the rules, the band of the ways (28. 10.) ===== */
/* The four steps as a strip of names, each behind a hairline — the reference site's own way of showing them. */
.entangle-steps__list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr));
	gap: var(--eb-gap);
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: entangle-steps;
}
.entangle-steps__step {
	display: grid;
	align-content: start;
	gap: var(--eb-space-md);
	margin: 0;
	padding: var(--eb-space-sm) 0 var(--eb-space-sm) var(--eb-space-md);
	border-inline-start: 1px solid var(--eb-rule);
}
.entangle-steps__step .entangle-icon {
	inline-size: auto;
	block-size: auto;
	color: var(--eb-accent);
	font-size: var(--eb-icon);
}
.entangle-steps__title {
	margin: 0;
	font-size: var(--eb-title-sm);
	line-height: var(--eb-leading-snug);
}
.entangle-steps__link {
	color: inherit;
}

/* Until when proposals are taken: a quiet box that stays beside the rules while they are read. */
.entangle-deadline {
	display: grid;
	align-content: start;
	gap: var(--eb-space-md);
	padding: var(--eb-pad-box);
	background: var(--eb-quiet);
	border-radius: var(--eb-radius);
}
.entangle-deadline .entangle-icon {
	inline-size: auto;
	block-size: auto;
	color: var(--eb-accent);
	font-size: var(--eb-icon);
}
.entangle-deadline__title {
	margin: 0;
	font-size: var(--eb-title-sm);
	line-height: var(--eb-leading-snug);
}
.entangle-deadline__actions {
	margin: 0;
}
.entangle-deadline__actions {
	display: flex;
	flex-wrap: wrap;
	gap: var(--eb-space-sm);
	align-items: center;
	margin-block-start: var(--eb-space-xs);
}
/* The other ways, under the button (29. 10.): small print in a hairline-parted block — the name of the way, the
   city's words or the address under it, and the form they share once at the end. */
.entangle-deadline__other {
	display: grid;
	gap: var(--eb-space-xs);
	padding-block-start: var(--eb-space-sm);
	border-block-start: 1px solid var(--eb-rule);
	font-size: var(--eb-text-sm);
	line-height: var(--eb-leading-snug);
}
.entangle-deadline__other-title,
.entangle-deadline__download {
	margin: 0;
}
.entangle-deadline__other-title {
	color: var(--eb-muted);
}
.entangle-deadline__ways {
	display: grid;
	gap: var(--eb-space-xs);
	margin: 0;
	padding: 0;
	list-style: none;
}
.entangle-deadline__way {
	display: grid;
	gap: var(--eb-space-2xs);
	margin: 0;
}
.entangle-deadline__way-name {
	font-weight: 600;
}
.entangle-deadline__way-note {
	overflow-wrap: anywhere;
}
.entangle-deadline__download-meta {
	color: var(--eb-muted);
}
@media (min-width: 48rem) {
	.wp-block-column > .entangle-deadline {
		position: sticky;
		top: var(--eb-sticky-top);
	}
}

/* A band of a quiet background: the ways of submitting, and the panel the form stands on. */
.entangle-panel,
.entangle-ways {
	padding: var(--eb-pad-band-block) var(--eb-pad-band-inline);
	background: var(--eb-quiet);
	border-radius: var(--eb-radius);
}
.entangle-panel > :first-child,
.entangle-ways__heading {
	margin-block-start: 0;
}
/* The box (`surface: box`, 29. 10.): the page's own surface with a line around it, as the box of the news from the
   proposals; its first heading is its head, a row of its own over a line across the whole box. */
.entangle-panel--box {
	border: 1px solid var(--eb-rule);
	background: var(--color-card, transparent);
}
.entangle-panel--box > :is(h2, h3, h4):first-child {
	margin: calc(-1 * var(--eb-pad-band-block)) calc(-1 * var(--eb-pad-band-inline)) var(--eb-pad-band-inline);
	/* Its words where the heading of the band beside it begins: the same air above, less below the line. */
	padding: var(--eb-pad-band-block) var(--eb-pad-band-inline) var(--eb-space-lg);
	border-block-end: 1px solid var(--eb-rule);
}
/* Two halves that touch (`half`): each as tall as the row, square corners, one line where the box meets the band. */
.entangle-panel--half {
	box-sizing: border-box;
	height: 100%;
	border-radius: 0;
}
.wp-block-column:has(> .entangle-panel--half) {
	display: flex;
	flex-direction: column;
}
.wp-block-column > .entangle-panel--half {
	flex: 1 1 auto;
}
/* On a phone the band keeps less of the width for itself: a form is read by its fields, not by its margins. */
@media (max-width: 47.99rem) {
	.entangle-panel,
	.entangle-ways {
		padding: var(--eb-pad-band-inline) var(--eb-pad-box);
	}
	.entangle-panel--box > :is(h2, h3, h4):first-child {
		margin: calc(-1 * var(--eb-pad-band-inline)) calc(-1 * var(--eb-pad-box)) var(--eb-pad-box);
		padding: var(--eb-space-md) var(--eb-pad-box);
	}
}
.entangle-ways__heading {
	margin-block-end: var(--eb-gap);
	font-size: var(--eb-title-md);
	line-height: var(--eb-leading-snug);
}

/* ===== The ways of submitting a proposal (the owner, 28. 10.: each city offers its own set) ===== */
.entangle-ways__list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--eb-card)), 1fr));
	gap: var(--eb-gap) calc(var(--eb-gap) * 1.5);
	margin: 0;
	padding: 0;
	list-style: none;
}
.entangle-ways__way {
	display: grid;
	align-content: start;
	gap: var(--eb-space-sm);
	margin: 0;
}
.entangle-ways__way .entangle-icon {
	inline-size: auto;
	block-size: auto;
	color: var(--eb-accent);
	font-size: var(--eb-icon);
}
.entangle-ways__title {
	margin: 0;
	font-size: var(--eb-title-sm);
	line-height: var(--eb-leading-snug);
	line-height: var(--eb-leading-snug);
}
.entangle-ways__text {
	margin: 0;
	color: var(--eb-muted);
}
.entangle-ways__action {
	margin: var(--eb-space-xs) 0 0;
}
/* A way whose own theme draws no button: the link still reads as the thing to do. */
.entangle-ways__link:where(:not([class*="wp-element-button"])) {
	font-weight: 600;
}

.entangle-documents__list {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: var(--eb-space-sm);
	margin: 0;
	padding: 0;
	list-style: none;
}
.entangle-documents__item {
	margin: 0;
	overflow-wrap: anywhere;
}
.entangle-documents__link {
	font-weight: 600;
}
.entangle-documents__meta {
	color: var(--eb-muted);
	font-size: var(--eb-text-sm);
	white-space: nowrap;
}
.entangle-documents__note {
	margin: var(--eb-space-2xs) 0 0;
	color: var(--eb-muted);
	font-size: var(--eb-text-sm);
}

/* ── One icon above a step or a way, F2f (Frontend\Icon) ──────────────────
   A glyph of WordPress's Dashicons font (the block names the font's stylesheet in its own `style`, so it is there exactly where an icon is).
   The font sizes the element at 20 px; here it is the size of a pictogram, in the brand colour of the page where it has one. */
.entangle-icon.dashicons {
	display: block;
	box-sizing: content-box;
	width: 1em;
	height: 1em;
	font-size: var(--eb-icon);
	line-height: var(--eb-leading-flat);
	color: var(--color-brand, currentColor);
}

/* ── Links to share a page, F2c (Frontend\Share) ──────────────────────────
   "Share:" and a row of plain links (Facebook, WhatsApp, e-mail) and a button that copies the address (only where share.js
   runs: the item is hidden until then). The look is a quiet pill made of the page's own tokens; on the page of a proposal
   (`--page`) the row has the width of the page's content. */
.entangle-share {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--eb-space-xs) var(--eb-space-md);
	margin-block: var(--eb-gap);
}
/* The strip of the front page between two sections (the owner, 29. 10.): held by a line above and below, not floating
   in the air between them and not a box. The head of a page has its own (`--page`). */
.entangle-share:not(.entangle-share--page) {
	margin-block: 0;
	padding-block: var(--eb-space-lg);
	border-block: 1px solid var(--eb-rule);
}
/* In the head of a page it is one of the buttons of its row (the owner, 29. 10.): compact, the marks close together. */
.entangle-share--page {
	gap: var(--eb-space-xs);
	margin-block: 0;
}
.entangle-share--page .entangle-share__label {
	font-size: var(--eb-text-sm);
}
.entangle-share--page .entangle-share__list {
	gap: var(--eb-space-2xs);
}
.entangle-share__label {
	margin: 0;
	color: var(--eb-muted);
	font-weight: 600;
}
.entangle-share__list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--eb-space-xs);
	margin: 0;
	padding: 0;
	list-style: none;
}
.entangle-share__item {
	display: flex;
	align-items: center;
	gap: var(--eb-space-sm);
	margin: 0;
}
.entangle-share__item--copy {
	position: relative; /* what the button answers with hangs over the button itself */
}
.entangle-share__item[hidden] {
	display: none;
}
.entangle-share__link {
	display: inline-flex;
	align-items: center;
	gap: var(--eb-space-xs);
	box-sizing: border-box;
	min-height: var(--eb-target);
	padding: var(--eb-pad-pill);
	border: 1px solid transparent;
	/* The corners the site gives its buttons (29. 10.: square by default, round where the theme rounds them). */
	border-radius: var(--eb-radius);
	background-color: var(--color-brand, LinkText);
	color: var(--color-on-brand, Canvas);
	font: inherit;
	font-size: var(--eb-text-sm);
	line-height: var(--eb-leading-tight);
	text-decoration: none;
	cursor: pointer;
}
.entangle-share__link:hover,
.entangle-share__link:focus-visible {
	background-color: var(--color-brand-deep, var(--color-brand, LinkText));
	color: var(--color-on-brand, Canvas);
	text-decoration: none;
}
/* The mark of the place: the page's own ink, so it takes the colour of the button it is in. */
.entangle-share__icon {
	display: inline-flex;
	flex: none;
	width: 1.15em;
	height: 1.15em;
}
.entangle-share__icon > svg {
	width: 100%;
	height: 100%;
	fill: currentColor;
}
/* On the page of a proposal the row is the marks alone (the owner, 27. 10.): the name of each place stays in the page
   for a screen reader, so the button keeps the name it is read by. */
.entangle-share--page .entangle-share__link {
	justify-content: center;
	width: var(--eb-target-compact);
	min-height: var(--eb-target-compact);
	padding: 0;
}
.entangle-share--page .entangle-share__icon {
	width: 1rem;
	height: 1rem;
}
/* "Follow", next to the links (Proposal\Around): the same height and corners, a quieter button — it does not say
   where to go, it asks to be told. No script yet: entangle.global will answer it. */
.entangle-follow {
	display: inline-flex;
	align-items: center;
	gap: var(--eb-space-xs);
	box-sizing: border-box;
	min-height: var(--eb-target-compact);
	margin: 0;
	padding: 0 var(--eb-space-sm);
	border: 1px solid var(--eb-accent);
	border-radius: var(--eb-radius);
	background: transparent;
	color: var(--eb-accent);
	font: inherit;
	font-size: var(--eb-text-sm);
	font-weight: 600;
	line-height: var(--eb-leading-tight);
	cursor: pointer;
}
.entangle-share--page + .entangle-follow {
	margin-inline-start: var(--eb-space-sm);
}
.entangle-follow:hover,
.entangle-follow:focus-visible {
	background-color: var(--eb-accent);
	color: var(--color-on-brand, Canvas);
}
.entangle-follow:focus-visible {
	outline: 3px solid var(--color-ink, CanvasText);
	outline-offset: 2px;
}
.entangle-follow__icon {
	display: inline-flex;
	flex: none;
	width: 1rem;
	height: 1rem;
}
.entangle-follow__icon > svg {
	width: 100%;
	height: 100%;
	fill: currentColor;
}
.entangle-share__link:focus-visible {
	outline: 3px solid var(--color-ink, CanvasText);
	outline-offset: 2px;
}
/* What the copy button answers with (the owner, 18. 11.): a small label over the button itself, green when the
   address is in the clipboard — where the eye already is, and gone again in a moment. It was a grey line beside the
   row, which on the page of a proposal pushed the buttons apart and was easy to miss. When the copy failed, the
   label is dark and says what to do instead; that sentence is long, so it may wrap. The label is only drawn — it
   takes no click (the button under it stays a button) and is read to a screen reader as the status it is. */
.entangle-share__status {
	position: absolute;
	z-index: 5;
	inset-block-end: calc(100% + 8px);
	inset-inline-start: 50%;
	transform: translateX(-50%);
	padding: 0.375em 0.75em;
	border-radius: var(--eb-radius);
	background: var(--color-status-running, #15803d);
	color: #fff;
	font-size: var(--eb-text-sm);
	font-weight: 600;
	line-height: var(--eb-leading-snug);
	white-space: nowrap;
	pointer-events: none;
}
/* The small point that ties the label to its button. */
.entangle-share__status::after {
	content: "";
	position: absolute;
	inset-block-start: 100%;
	inset-inline-start: 50%;
	margin-inline-start: -5px;
	border: 5px solid transparent;
	border-block-end-width: 0;
	border-block-start-color: var(--color-status-running, #15803d);
}
.entangle-share__status[data-state="failed"] {
	width: max-content;
	max-width: min(18rem, 70vw);
	background: var(--color-ink, #1f2937);
	white-space: normal;
}
.entangle-share__status[data-state="failed"]::after {
	border-block-start-color: var(--color-ink, #1f2937);
}
/* Under an invitation the copy button is the last of its row and the row ends at the edge of the page: there the
   label hangs from the END of the button and grows inwards, so it never runs out of the window (on the page of a
   proposal the row of marks has the "Follow" button after it, and the label stays over the middle of its mark). */
.entangle-share:not(.entangle-share--page) .entangle-share__status {
	inset-inline: auto 0;
	transform: none;
}
.entangle-share:not(.entangle-share--page) .entangle-share__status::after {
	inset-inline: auto 1.25rem;
	margin-inline-start: 0;
}
.entangle-share__status:empty {
	display: none;
}
@media (prefers-reduced-motion: no-preference) {
	.entangle-share__status:not(:empty) {
		animation: entangle-share-tip 0.18s ease-out;
	}
}
@keyframes entangle-share-tip {
	from {
		opacity: 0;
		translate: 0 4px;
	}
}
.entangle-share__sr,
.entangle-proposal__sr,
.entangle-contacts__sr,
.entangle-phases__phase .entangle-phases__now,
.entangle-share--page .entangle-share__text {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}

/* ── The updates of the front page, Blocks\News (29. 10.) ──────────────────────────────
   Two halves with the gap of the page between them (the owner, 2. 11.): the general news as cards on the left, the news
   from the proposals as a live feed on the right. The feed is a box with a line around it: a row with
   its heading and the way to all of them, the feed — out of the flow, so the box is as tall as the column beside it and
   never lower than --eb-news-min; the scrollbar at the very edge of the box — and the way to all of them once more. The
   cards are the records module's (`cards`), with the air of the bands above. On a phone the two stand under each other. */
.entangle-news {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: var(--eb-gap);
	margin: 0;
}
.entangle-news__records {
	display: grid;
	grid-template-rows: auto minmax(0, 1fr) auto;
	min-height: var(--eb-news-min);
	border: 1px solid var(--eb-rule);
	background: var(--color-card, transparent);
}
/* The head and the foot over the feed (the owner, 30. 10.): a very light shadow each, falling onto the feed — down from
   the head, up from the foot — so the feed reads as passing under them. */
.entangle-news__head,
.entangle-news__more {
	position: relative;
	z-index: 1;
	background: var(--color-card, Canvas);
}
.entangle-news__head {
	box-shadow: 0 2px 6px var(--eb-news-shade);
}
.entangle-news__more {
	box-shadow: 0 -2px 6px var(--eb-news-shade);
}
.entangle-news__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--eb-space-md);
	padding: 0.25rem var(--eb-space-md);
	border-block-end: 1px solid var(--eb-rule);
}
.entangle-news__title {
	margin: 0;
	font-size: var(--eb-title-sm);
	line-height: var(--eb-leading-snug);
}
.entangle-news__open,
.entangle-news__more {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: var(--eb-space-xs);
	color: var(--eb-accent);
	text-decoration: none;
}
.entangle-news__open {
	min-width: var(--eb-target);
	min-height: var(--eb-target);
	/* The icon (20 px) in the middle of its target ends at the air of the box, as the words of the rows under it do. */
	margin-inline-end: calc((20px - var(--eb-target)) / 2);
}
/* As tall as the head of the box (the owner, 30. 10.): the same air above and below a row as tall as the icon's target. */
.entangle-news__more {
	box-sizing: content-box;
	min-height: var(--eb-target);
	padding: 0.25rem var(--eb-space-md);
	border-block-start: 1px solid var(--eb-rule);
	font-size: var(--eb-text-sm);
}
.entangle-news__more:hover,
.entangle-news__more:focus-visible {
	text-decoration: underline;
	text-underline-offset: 3px;
}
.entangle-news__icon {
	flex: none;
}
.entangle-news__sr {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}
.entangle-news__scroll {
	position: relative;
	min-height: 0;
}
.entangle-news__scroll > .entangle-updates {
	position: absolute;
	inset: 0;
	overflow-y: auto;
	overscroll-behavior: contain;
	margin: 0;
}
.entangle-news__scroll .entangle-updates--compact .entangle-updates__item {
	padding: var(--eb-space-sm) var(--eb-space-md);
}
/* A row of the feed is read by its proposal (the owner, 2. 11.): the proposal small on the first line with the date at its
   end, under them the title and the text. The order of the screen only: a reader of the page still hears the title first. */
.entangle-news__scroll .entangle-updates--compact .entangle-update__text {
	grid-template-columns: minmax(0, 1fr) auto;
	gap: var(--eb-space-2xs) var(--eb-space-md);
	align-items: baseline;
}
.entangle-news__scroll .entangle-update__about {
	grid-area: 1 / 1;
	font-size: var(--eb-text-xs);
	line-height: var(--eb-leading-snug);
}
.entangle-news__scroll .entangle-update__meta {
	grid-area: 1 / 2;
	font-size: var(--eb-text-xs);
	white-space: nowrap;
}
.entangle-news__scroll .entangle-update__title,
.entangle-news__scroll .entangle-update__body {
	grid-column: 1 / -1;
}
.entangle-news__scroll .entangle-update__body {
	font-size: var(--eb-text-sm);
	line-height: var(--eb-leading-feed);
}
/* The feed is the news from the proposals: which kind of record a row is about is not worth a word there (a proposal on the
   ballot is no project yet), only which one. */
.entangle-news__scroll .entangle-update__about-label {
	display: none;
}
.entangle-news__scroll .entangle-updates__empty,
.entangle-news__scroll .wp-block-query-pagination {
	padding-inline: var(--eb-space-md);
}
.entangle-news__general .entangle-updates--cards .entangle-updates__item {
	padding: var(--eb-pad-band) var(--eb-space-hero-inline);
}
@media (min-width: 48rem) {
	.entangle-news--two {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		align-items: stretch;
	}
	/* The two cards share the height of the row. */
	.entangle-news--two .entangle-news__general,
	.entangle-news--two .entangle-news__general > .entangle-updates,
	.entangle-news--two .entangle-news__general .entangle-updates__list {
		height: 100%;
	}
	.entangle-news--two .entangle-news__general .entangle-updates__list {
		grid-auto-rows: 1fr;
	}
}

/* ── The heading of a section and the way to the whole list in one row (Blocks\ListedSection `head`, 29. 10.) ──
   As at the foot of a proposal's page (.entangle-proposal-more__head): the heading on the left, the primary button on
   the right, and the list under them at that band's air — two classes, so the theme's flow gap does not add itself. */
.entangle-section-head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: var(--eb-space-md);
}
.entangle-section-head > :is(h2, h3, h4, h5, h6) {
	margin: 0;
}
.entangle-section-head__ways {
	display: flex;
	flex-wrap: wrap;
	gap: var(--eb-space-sm);
}
.wp-block-group > .entangle-section-head + *,
.wp-block-group > .wp-block-heading + .entangle-news {
	/* The air the foot of a proposal's page has between its row and its cards, measured (the owner, 30. 10.): the
	   row's own step (--eb-section-head-after) and the flow gap of the band under it (spacing-50) — 40 px here. The
	   steps themselves, not the tokens: what follows is another module's block too (the projects'), where the
	   budget's tokens are not declared. The news have no button, and the same air under their heading (30. 10.). */
	margin-block-start: calc(var(--wp--preset--spacing--30, 1rem) + var(--wp--preset--spacing--50, 1.5rem));
}
/* A button of the row is a button: the arrow of the link it was at the foot of the list goes. */
.entangle-section-head__ways a::after {
	content: none;
}
/* The previous editions two across the whole width (`columns: 2`). */
@media (min-width: 48rem) {
	.entangle-editions--two .entangle-editions__list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* ── The summary of an edition, its page (29. 10.; Patterns::edition_page()) ──────────
   The facts of the year in one line under its name (EditionBlocks::facts()): the word small and quiet, the number
   above the line. The chosen proposals are the cards of the list (Results\Block::chosen()) and under them the way
   to the whole of the results. */
.entangle-edition-facts__list {
	display: flex;
	flex-wrap: wrap;
	gap: var(--eb-space-sm) var(--wp--preset--spacing--60, 2.5rem);
	margin: 0;
	padding-block: var(--eb-space-md);
	border-block: 1px solid var(--eb-rule);
}
.entangle-edition-facts__fact {
	display: flex;
	flex-direction: column;
	gap: var(--eb-space-2xs);
}
.entangle-edition-facts__fact dt {
	color: var(--eb-muted);
	font-size: var(--eb-text-sm);
	letter-spacing: 0.04em;
	text-transform: uppercase;
}
.entangle-edition-facts__fact dd {
	margin: 0;
	font-weight: 600;
}
.entangle-results-chosen {
	display: grid;
	gap: var(--eb-gap);
}
.entangle-results-chosen__all {
	margin: 0;
}

/* ── The foot of the page of a proposal, F2c (Proposal\Neighbours) ───────────
   The previous and the next proposal of the edition, and a few more as cards. The width of the page's content; the cards are
   the list's (`.entangle-proposal`). */
.entangle-proposal-around {
	box-sizing: border-box;
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: var(--eb-foot-band);
	width: 100%;
	/* No measure of its own any more (29. 10.): the band inside it is the width of the PAGE, as the projects' band
	   is, and what has to keep the measure of the page keeps it itself. */
}
/* The air between the tabs and the way on: the same step on the page of a project (`.entangle-projects-nav`), and it
   is all the air there is — two classes, so that the theme's gap of a flow layout does not add itself to it. */
.entangle-projects-sections ~ .entangle-proposal-around {
	margin-block-start: var(--eb-foot-top);
}
.entangle-proposal-nav {
	box-sizing: border-box;
	width: 100%;
	max-width: var(--container, var(--entangle-budget-width, 64rem));
	margin-inline: auto;
	padding-inline: var(--gutter, var(--wp--custom--gutter, 1.25rem));
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
	gap: var(--eb-gap);
}
/* The links themselves are the projects' (`.entangle-projects-nav__link`, the owner 31. 10.: the way on of a proposal
   looks as the way on of a project does, and a theme that styles one styles both); the budget keeps the row. */
/* A band of its own colour across the whole page (the owner, 28. 10.), the same as the band of projects at the foot
   of a project's page: the page is read to its end, and the way on is offered there. */
.entangle-proposal-more {
	padding-block: var(--eb-band-top) var(--eb-band-bottom);
	background: var(--eb-band-surface);
}
/* The measure of the page as the theme's own container keeps it: its width WITH the gutter inside (the nav above
   and the projects' band the same), so the cards begin and end where the header and the rest of the page do. */
.entangle-proposal-more__inner {
	box-sizing: border-box;
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: var(--eb-gap);
	width: 100%;
	max-width: var(--eb-band-page);
	margin-inline: auto;
	padding-inline: var(--gutter, var(--wp--custom--gutter, 1.25rem));
}
/* The name of the band and, at the end of its line, the way to all of them; where the line cannot hold both, under
   each other. A little more air from the cards than between them (the owner, 29. 10.; the projects' band the same). */
.entangle-proposal-more__head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: var(--eb-space-md);
	margin-block-end: var(--eb-section-head-after);
}
.entangle-proposal-more__title {
	margin: 0;
	font-size: var(--eb-title-lg);
	line-height: var(--eb-leading-tight);
}
/* The way to the whole edition: the theme's own button in the size of the buttons of the page's head (`--md`, the
   owner 29. 10.). */
.entangle-proposal-more__all {
	flex: 0 0 auto;
}
.entangle-proposal-more__action {
	margin: 0;
	text-align: center;
}
.entangle-proposal-more__action > [hidden] {
	display: none;
}
/* The button that shows the next row: the shape the theme gives a quiet button, nothing of its own. */
.entangle-proposal-more__button {
	cursor: pointer;
}

/* ── The title of the page of the proposals and the choice of the edition, one row (Frontend\EditionPill, 31. 10.) ──
   The title, and right beside it a grey pill (the owner, 31. 10.: next to the heading, not at the far end of the
   row) — the projects' archive has its year in the same place, the same
   pill (entangle-projects' .entangle-projects-year). The row takes the air of a page's title above and below it
   (the base theme's spacing 70 / 60) and the title gives its own up, so the two are centred on each other; where they
   do not fit side by side the pill goes under the title, close to it. */
.entangle-title-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-start;
	/* The same 24 px between the title and the pill as the projects' archive has (.entangle-projects-title-row). */
	gap: var(--wp--preset--spacing--30, 1rem) 24px;
}
/* WordPress's own reset of the margins of the first child in a flow layout weighs two classes, and wins over one
   class and over two on order: two classes and the element. */
.entangle-title-row,
.wp-block-group > div.entangle-title-row {
	margin-block: var(--wp--preset--spacing--70, 3rem) var(--wp--preset--spacing--60, 2rem);
}
.entangle-title-row > h1.wp-block-post-title {
	margin-block: 0;
}
.entangle-pill {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0 var(--eb-space-2xs);
	box-sizing: border-box;
	min-height: var(--eb-target);
	padding-inline: var(--eb-space-md) var(--eb-space-xs);
	border-radius: var(--eb-radius-pill);
	background: var(--color-bg-alt, color-mix(in srgb, currentColor 7%, transparent));
	color: var(--color-ink, inherit);
	font-weight: 600;
}
/* Beside the title it stands a tenth of the title's size lower, as the projects' pill does: a word of small letters with
   tails (Návrhy) has its weight on the small letters, not between the top of its capital and its baseline. */
.entangle-title-row > .entangle-pill {
	translate: 0 calc(var(--wp--preset--font-size--display, 4rem) * 0.1);
}
.entangle-pill:hover {
	background: color-mix(in srgb, var(--color-bg-alt, Canvas) 92%, currentColor);
}
.entangle-pill:has(:focus-visible:not(.is-select-open)) {
	outline: 2px solid var(--eb-accent);
	outline-offset: 2px;
}
/* A select of the pill is a word with a chevron, no box: the pill is the box. */
.entangle-pill__field {
	position: relative;
	display: inline-flex;
}
.entangle-pill__field::after {
	content: "";
	position: absolute;
	right: 10px;
	top: 50%;
	width: 7px;
	height: 7px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: translateY(-70%) rotate(45deg);
	pointer-events: none;
}
.entangle-pill__select {
	min-height: var(--eb-target);
	margin: 0;
	padding: 0 30px 0 0;
	border: 0;
	appearance: none;
	background: transparent;
	color: inherit;
	font: inherit;
	cursor: pointer;
}
/* The pill draws the ring: the theme's ring on every focused field must not add a second one inside it. */
.entangle-pill .entangle-pill__select:focus-visible {
	outline: none;
}
/* "Show": without the script it applies the choice; with it, only for the keyboard (proposals-filter.js). */
.entangle-pill__go {
	min-height: calc(var(--eb-target) - 8px);
	padding: 0 var(--eb-space-sm);
	border: 0;
	border-radius: var(--eb-radius-pill);
	background: var(--color-card, Canvas);
	color: inherit;
	font: inherit;
	font-size: var(--eb-text-sm);
	cursor: pointer;
}
.entangle-pill.is-enhanced:not(.is-keyboard) .entangle-pill__go {
	display: none;
}

/* ── The timeline of an edition behind a small link (`collapsed`, the page of an edition, 31. 10.) ── */
.entangle-phases--collapsed {
	margin-block-start: var(--eb-space-sm);
}
.entangle-phases__summary {
	display: inline-flex;
	align-items: center;
	gap: var(--eb-space-xs);
	min-height: var(--eb-target);
	color: var(--eb-accent);
	font-size: var(--eb-text-sm);
	font-weight: 600;
	list-style: none;
	cursor: pointer;
}
.entangle-phases__summary::-webkit-details-marker {
	display: none;
}
.entangle-phases__summary::after {
	content: "";
	width: 6px;
	height: 6px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: translateY(-25%) rotate(45deg);
}
.entangle-phases__toggle[open] > .entangle-phases__summary::after {
	transform: translateY(25%) rotate(-135deg);
}
.entangle-phases__summary:hover {
	text-decoration: underline;
}
.entangle-phases__summary:focus-visible {
	outline: 2px solid var(--eb-accent);
	outline-offset: 2px;
}
.entangle-phases__toggle[open] > .entangle-phases__list {
	margin-block-start: var(--eb-space-md);
}

/* ── The contacts of the budget (Blocks\Contacts, the owner, 31. 10.) ────────────────────────────────────────────────
   What was filled in decides the shape: with a form, who to ask on the left and the form on the right (Děčín, Liberec,
   Teplice); without one, the people side by side across the width. A person is a card of the size of a business card:
   the round photo (or the initials), the name, the role, the lines with their drawings, a short text. */
.entangle-contacts {
	display: grid;
	gap: var(--wp--preset--spacing--60, 2.5rem) var(--wp--preset--spacing--70, 4rem);
	align-items: start;
}
@media (min-width: 56rem) {
	.entangle-contacts--with-form {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	}
}
.entangle-contacts__intro {
	max-width: var(--eb-measure);
	margin: 0 0 var(--eb-space-lg);
	color: var(--eb-muted);
}
.entangle-contacts__people {
	display: grid;
	gap: var(--eb-space-lg);
	margin: 0;
	padding: 0;
	list-style: none;
}
.entangle-contacts:not(.entangle-contacts--with-form) .entangle-contacts__people {
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 20rem), 1fr));
	gap: var(--eb-space-lg) var(--eb-gap);
}
.entangle-contacts__person {
	display: grid;
	grid-template-columns: var(--eb-avatar) minmax(0, 1fr);
	gap: 0 var(--eb-space-md);
	align-items: start;
	margin: 0;
}
.entangle-contacts__avatar {
	display: grid;
	place-items: center;
	width: var(--eb-avatar);
	height: var(--eb-avatar);
	border-radius: 50%;
	object-fit: cover;
	background: var(--eb-chip-bg);
	color: var(--eb-accent);
	font-size: var(--eb-title-sm);
	font-weight: 600;
	letter-spacing: 0.02em;
}
.entangle-contacts__card {
	min-width: 0;
	padding-block-start: var(--eb-space-2xs);
}
.entangle-contacts__name {
	margin: 0;
	font-size: var(--eb-title-sm);
	line-height: var(--eb-leading-snug);
}
.entangle-contacts__role {
	margin: var(--eb-space-2xs) 0 0;
	color: var(--eb-muted);
	font-size: var(--eb-text-sm);
}
.entangle-contacts__lines {
	display: grid;
	gap: var(--eb-space-2xs);
	margin: var(--eb-space-sm) 0 0;
	padding: 0;
	list-style: none;
}
.entangle-contacts__line {
	display: flex;
	align-items: baseline;
	gap: var(--eb-space-xs);
	margin: 0;
	overflow-wrap: anywhere;
}
.entangle-contacts__icon {
	display: inline-flex;
	flex: none;
	width: 1em;
	height: 1em;
	color: var(--eb-muted);
	transform: translateY(0.125em);
}
.entangle-contacts__icon > svg {
	width: 100%;
	height: 100%;
	fill: currentColor;
}
.entangle-contacts__line a {
	color: inherit;
	text-decoration-color: var(--eb-rule);
	text-underline-offset: 0.2em;
}
.entangle-contacts__line a:hover,
.entangle-contacts__line a:focus-visible {
	color: var(--eb-accent);
	text-decoration-color: currentColor;
}
.entangle-contacts__text {
	margin: var(--eb-space-sm) 0 0;
	color: var(--eb-muted);
	font-size: var(--eb-text-sm);
}
/* The office under the people: set apart by a line, its lines under its heading as a person's are under the name. */
.entangle-contacts__office--after {
	margin-block-start: var(--eb-space-lg);
	padding-block-start: var(--eb-space-lg);
	border-block-start: 1px solid var(--eb-rule);
}
.entangle-contacts__office .entangle-contacts__name + .entangle-contacts__lines {
	margin-block-start: var(--eb-space-xs);
}
/* The form in a card of its own: the page's surface under it, the card's padding round it. */
.entangle-contacts__form {
	/* The card is the form's measure: a narrower form inside it would leave the right side emptier than the left. */
	--entangle-form-width: none;
	box-sizing: border-box;
	padding: clamp(1.25rem, 3vw, 2rem);
	border: 1px solid var(--eb-rule);
	border-radius: var(--eb-radius);
	background: var(--color-card, transparent);
}
.entangle-contacts__form > .entangle-contacts__name {
	margin-block-end: var(--eb-space-md);
}

/* The card of the pin chosen on the map beside the gallery (and of the one under the pointer): entangle-projects' map.js
   marks it, as it marks a card of the projects' archive (31. 10.). */
.entangle-proposal.is-highlighted {
	outline: 2px solid var(--eb-accent);
	outline-offset: 6px;
	border-radius: var(--eb-radius);
}
