/*
 * The public calendar: the design tokens (docs/handoff/redesign/tokens.css)
 * and the rules of the calendar page's and the event page's parts. Every rule
 * is scoped under .tpe; nothing here styles a bare element outside it. Layout
 * answers the width of .tpe (container queries), never the screen: narrow
 * under 600 px, mid 600 to 999 px, wide 1000 px and up.
 *
 * Colours resolve in order: the publisher's brand values (--tpe-brand-1 to -3
 * and --tpe-brand-font, printed on .tpe only when set), then the theme's
 * colour presets, then a classic theme's own variable, then a plugin colour.
 * The root paints no page and sets no text colour: text printed straight on
 * the page inherits the theme's. No text is set in, or on, the accent or the
 * second colour: parts take the derived tokens (--tpe-accent-fill and
 * --tpe-on-accent-fill, --tpe-accent-text, --tpe-accent-2-text, --tpe-dot,
 * --tpe-tint), which stay the calendar's own ink until a class on the root
 * says a colour is readable. The server sets that class when it can check
 * the colour; else a few lines of inline script decide it in the browser
 * (tpe_public_colour_script()).
 */

.tpe {
	container: tpe / inline-size;
	font-family: var(--tpe-brand-font); /* unset: inherits the theme's font */
	line-height: var(--tpe-lh);

	/* The accent and the second colour: the brand value, then a block
	   theme's presets, then a classic theme's own variable (one line each,
	   its theme named), then the plugin's blue and green. A part never sets
	   text in or on either: it takes a derived token below. */
	--tpe-accent: var(--tpe-brand-1,
		var(--wp--preset--color--primary,     /* block themes: Twenty Twenty-Three and others */
		var(--wp--preset--color--accent,      /* Twenty Twenty-Four */
		var(--wp--preset--color--accent-1,    /* Twenty Twenty-Five */
		var(--c-main,                         /* SmartMag: its "Main Theme Color" */
		#1f5fae)))));
	--tpe-accent-2: var(--tpe-brand-2,
		var(--wp--preset--color--secondary,
		var(--wp--preset--color--accent-2,
		var(--wp--preset--color--tertiary,
		#0f6b5c))));

	/* Derived: what fills and text use. The calendar's own ink until a class
	   on the root (below) says the theme's colour is readable. */
	--tpe-accent-fill: var(--tpe-ink);        /* a fill under --tpe-on-accent-fill text: the Search button, the chip that is on, a count, today */
	--tpe-on-accent-fill: #ffffff;
	--tpe-accent-text: var(--tpe-ink);        /* text on the calendar's white surfaces only */
	--tpe-accent-2-text: var(--tpe-ink-2);    /* the time pill, a date line, Still on's "until": text on white */
	--tpe-accent-2-fill: var(--tpe-ink);      /* the second colour's fills (design 2): Add event, the filters, the tags, the view switch */
	--tpe-on-accent-2-fill: #ffffff;
	--tpe-dot: var(--tpe-ink-2);              /* the day strip's dot */
	--tpe-tint: color-mix(in srgb, var(--tpe-accent) 8%, #ffffff); /* behind ink text; pale enough for it whatever the accent */
	--tpe-soft: color-mix(in srgb, currentColor 75%, transparent); /* secondary text straight on the theme's page */
	/* The focus ring: ink with a white band, never the theme's colour (the
	   ink reads on white, the white band on a dark page); inside a row that
	   scrolls it is drawn inside. */
	--tpe-ring: 0 0 0 2px #ffffff, 0 0 0 4px var(--tpe-ink);
	--tpe-ring-in: inset 0 0 0 2px var(--tpe-ink), inset 0 0 0 4px #ffffff;

	/* Surfaces, ink and lines: the calendar's own white surfaces and the
	   dark ink it sets on them. */
	--tpe-card: #ffffff;
	--tpe-ink: #1b2628;
	--tpe-ink-2: #2f3b3d;
	--tpe-muted: #4d5a5c;
	--tpe-faint: #5f6b6d;        /* past days, skipped dates; grey numbers take this */
	--tpe-line: #dde4e5;
	--tpe-line-soft: #eaefef;
	--tpe-line-mid: #c9d2d3;
	--tpe-line-strong: #7d8b8d;  /* 3.53:1 on white */
	--tpe-surface: #eaefef;
	--tpe-price-bg: #f0f3f3;
	--tpe-quiet-bg: #eef1f1;

	/* Meaning colours: fixed, never branded, always paired with a word. */
	--tpe-danger: #a4231b;
	--tpe-danger-bg: #fdeceb;
	--tpe-warn: #6e4300;
	--tpe-warn-bg: #fff1d6;
	--tpe-ok: #1b6236;
	--tpe-ok-bg: #e5f3e9;
	--tpe-info: #1f4f8a;
	--tpe-info-bg: #e8f0fa;

	/* Overlays */
	--tpe-on-photo: rgba(255, 255, 255, .92);
	--tpe-on-photo-soft: rgba(255, 255, 255, .88);
	--tpe-scrim: rgba(15, 24, 26, .5);
	--tpe-map-bg: #e6efef;
	--tpe-map-grid: color-mix(in srgb, var(--tpe-accent) 7%, transparent);

	/* Type scale (rem, so it follows the theme's base size) */
	--tpe-fs-3xs: .6875rem;
	--tpe-fs-2xs: .75rem;
	--tpe-fs-xs: .8125rem;
	--tpe-fs-sm: .875rem;
	--tpe-fs-ui: .9375rem;
	--tpe-fs-md: 1rem;
	--tpe-fs-md-plus: 1.0625rem;
	--tpe-fs-lg: 1.125rem;
	--tpe-fs-card: 1.1875rem;
	--tpe-fs-xl: 1.375rem;
	--tpe-fs-2xl: 1.5rem;
	--tpe-fs-2xl-plus: 1.625rem;
	--tpe-fs-3xl: 1.75rem;
	--tpe-fs-3xl-plus: 1.875rem;
	--tpe-fs-4xl: 2rem;
	--tpe-fs-5xl: 3.25rem;
	--tpe-fs-date-sm: 2.125rem;
	--tpe-fs-date-md: 2.5rem;
	--tpe-fs-date-lg: 3.25rem;
	--tpe-fs-date-xl: 4.75rem;

	/* Weights */
	--tpe-fw-regular: 400;
	--tpe-fw-medium: 500;
	--tpe-fw-semi: 600;
	--tpe-fw-bold: 700;
	--tpe-fw-heavy: 800;

	/* Line height and tracking */
	--tpe-lh: 1.45;
	--tpe-lh-loose: 1.6;
	--tpe-lh-snug: 1.25;
	--tpe-lh-tight: 1.1;
	--tpe-lh-none: 1;
	--tpe-track-tight: -.01em;
	--tpe-track-tighter: -.02em;

	/* Space */
	--tpe-s0: .125rem;
	--tpe-s1: .25rem;
	--tpe-s1-5: .375rem;
	--tpe-s2: .5rem;
	--tpe-s2-5: .625rem;
	--tpe-s3: .75rem;
	--tpe-s3-5: .875rem;
	--tpe-s4: 1rem;
	--tpe-s4-5: 1.25rem;
	--tpe-s5: 1.5rem;
	--tpe-s5-5: 1.75rem;
	--tpe-s6: 2rem;
	--tpe-s6-5: 2.5rem;
	--tpe-s7: 3rem;
	--tpe-s8: 3.5rem;

	/* Shape */
	--tpe-pill: 999px;
	--tpe-radius-xs: .25rem;
	--tpe-radius-sm: .5rem;
	--tpe-radius-md: .75rem;
	--tpe-radius-tile: .875rem;
	--tpe-radius: 1rem;
	--tpe-radius-lg: 1.125rem;
	--tpe-radius-xl: 1.25rem;
	--tpe-radius-2xl: 1.5rem;

	/* Shadows */
	--tpe-shadow-bar: 0 4px 16px rgba(27, 38, 40, .07);
	--tpe-shadow-bar-sm: 0 4px 10px rgba(27, 38, 40, .05);
	--tpe-shadow-pill: 0 1px 3px rgba(27, 38, 40, .18);
	--tpe-shadow-raised: 0 1px 3px rgba(27, 38, 40, .15);
	--tpe-shadow-pop: 0 16px 40px rgba(27, 38, 40, .18);
	/* The choice box, the Featured date box and a hovered row (the owner's
	   frame; mockingbirdarc's rows). */
	--tpe-shadow-box: 0 24px 60px rgba(15, 24, 26, .18), 0 4px 12px rgba(15, 24, 26, .08);
	--tpe-shadow-tag: 0 4px 14px rgba(15, 24, 26, .18);
	--tpe-shadow-row: 0 8px 20px rgba(15, 24, 26, .06);
	--tpe-radius-row: .625rem;
	/* Every card's resting shadow and its shadow on hover (mockingbirdarc's). */
	--tpe-shadow-card: 0 1px 2px rgba(15, 24, 26, .06), 0 4px 12px rgba(15, 24, 26, .05);
	--tpe-shadow-card-hover: 0 12px 32px rgba(15, 24, 26, .10);
	/* A day card's: small and soft, so the gaps between them stay clear. */
	--tpe-shadow-day: 0 1px 3px rgba(15, 24, 26, .08);
	--tpe-shadow-day-on: 0 10px 16px -8px rgba(15, 24, 26, .45); /* today's filled card (design 2) */
	--tpe-shadow-day-hover: 0 4px 10px rgba(15, 24, 26, .10);
	--tpe-shadow-card: 0 14px 40px rgba(27, 38, 40, .14);

	/* Sizes and targets: 44 px on narrow, 40 px elsewhere */
	--tpe-target: 2.75rem;
	--tpe-target-sm: 2.5rem;
	--tpe-control-sm: 2.25rem;
	--tpe-control-lg: 3rem;
	--tpe-control-xl: 3.25rem;
	--tpe-icon: 1.125rem;

	/* Widths of drawn parts */
	--tpe-w-content: 70rem;
	--tpe-w-facts: 23.75rem;
	--tpe-w-side-pic: 9.375rem;
	--tpe-w-thumb: 6.75rem;
	--tpe-w-still-pic: 4.75rem;
	--tpe-w-side: max(18.75rem, 300px); /* the column beside the calendar, never under 300 px */
	--tpe-w-solo: 51.25rem;      /* the calendar alone, 820 px */
	--tpe-w-row-time: 4.5rem;    /* a day row's time column, 72 px */
	--tpe-w-row-pic: 20rem;      /* a day row's picture, 320 px (design 2) */
	--tpe-w-row-pic-sm: 7rem;    /* and under 600 px, 112 px */
	--tpe-w-slide: 2.75rem;      /* the gutter an arrow stands in beside its row */
	--tpe-overlap-facts: -6.875rem;

	/* Picture shapes */
	--tpe-ar-card: 3 / 2;
	--tpe-ar-wide: 2.4 / 1;
	--tpe-ar-tall: 16 / 10;
	--tpe-ar-thumb: 1 / 1;
	--tpe-ar-row: 3 / 2;

	/* How far a scrolling row reaches past the root on a phone: no more
	   than the focus ring needs (its 4 px). The theme's own side space is
	   not known; a reach wider than it widens the page (Twenty Twenty-One
	   leaves 15 px, so 16 px made the page 1 px wider than the window). */
	--tpe-bleed: .25rem;
}

/* A colour shown to be readable fills (by the server, else by the inline
   script): the accent under white text, and as text on white
   (tpe-brand-1-ok); the accent under the ink, white failing
   (tpe-accent-ink); the second colour as text and dots on white
   (tpe-brand-2-ok); brand colour 3 as the tint, the muted text reading on
   it (tpe-brand-3-ok). With no class, the colour shows on edges and
   underlines only. */
.tpe.tpe-brand-1-ok { --tpe-accent-fill: var(--tpe-accent); --tpe-on-accent-fill: #ffffff; --tpe-accent-text: var(--tpe-accent); }
.tpe.tpe-accent-ink { --tpe-accent-fill: var(--tpe-accent); --tpe-on-accent-fill: var(--tpe-ink); }
.tpe.tpe-brand-2-ok { --tpe-accent-2-text: var(--tpe-accent-2); --tpe-dot: var(--tpe-accent-2); --tpe-accent-2-fill: var(--tpe-accent-2); --tpe-on-accent-2-fill: #ffffff; }
/* White on the second colour's fills only, at 3 to 1 (the owner: white on the orange buttons). */
.tpe.tpe-accent-2-white { --tpe-accent-2-fill: var(--tpe-accent-2); --tpe-on-accent-2-fill: #ffffff; }
.tpe.tpe-accent-2-ink { --tpe-accent-2-fill: var(--tpe-accent-2); --tpe-on-accent-2-fill: var(--tpe-ink); }
.tpe.tpe-brand-3-ok { --tpe-tint: var(--tpe-brand-3); }
/* A browser without color-mix() takes the surface grey for the tint, so the
   tint panels never show the ink on the bare page. One class, so the brand-3
   class above (two) still outweighs it. */
@supports not (color: color-mix(in srgb, red 8%, #fff)) {
	.tpe { --tpe-tint: #eaefef; }
}

.tpe *,
.tpe *::before,
.tpe *::after { box-sizing: border-box; }
/* The resets stop at an event's description (.tpe-ev-desc) and at the
   publisher's widgets beside the calendar (.tpe-widgets): that is the
   publisher's own HTML, which the theme styles as it styles any post or
   widget (its lists' markers and indent, its links' colour and underline,
   its paragraphs' spacing). :where() keeps each reset at the weight it
   had. */
.tpe :is(h1, h2, h3, p, ul, ol, dl, dd, figure):where(:not(.tpe-ev-desc *, .tpe-widgets *)) { margin: 0; }
.tpe :is(ul, ol):where(:not(.tpe-ev-desc *, .tpe-widgets *)) { list-style: none; padding: 0; }
/* A theme's own indent of a definition (Twenty Twenty-One pads every dd)
   does not reach the facts panel. */
.tpe :is(dl, dt, dd):where(:not(.tpe-ev-desc *, .tpe-widgets *)) { margin: 0; padding: 0; }
.tpe a:where(:not(.tpe-ev-desc *, .tpe-widgets *)) { color: inherit; }
/* Focus: the ring as a shadow, over an outline that is transparent here and
   drawn in forced colours. */
.tpe :focus-visible { outline: 2px solid transparent; outline-offset: 2px; box-shadow: var(--tpe-ring); }
.tpe svg { flex: none; }
.tpe [hidden] { display: none; }
.tpe .tpe-vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* A link of the calendar's own: the text's colour, underlined in the
   accent. */
.tpe .tpe-link { color: inherit; font-weight: 600; text-decoration-color: var(--tpe-accent); text-underline-offset: .15em; }
.tpe .tpe-failed { font-size: var(--tpe-fs-md); }
/* The line an editor sees where the calendar does not draw. It stands alone
   in the page's content, outside any .tpe root, so it is the one class rule
   not under .tpe (it styles only itself, and only where the stylesheet is
   loaded). */
.tpe-editor-note { padding: .5rem .75rem; border-left: 3px solid currentColor; font-size: 1rem; }
@media (prefers-reduced-motion: reduce) {
	.tpe, .tpe * { scroll-behavior: auto; transition: none; animation: none; }
	/* Heavier than the busy fade below, which would win by order. */
	.tpe.tpe .tpe-cal[aria-busy="true"] .tpe-list { transition: none; }
	.tpe.tpe .tpe-host { animation: none; }
	/* No lift and no zoom on hover: only the shadow and the edge change. */
	.tpe.tpe.tpe.tpe.tpe.tpe .tpe-days a.tpe-day-link:hover,
	.tpe.tpe.tpe.tpe.tpe.tpe .tpe-card--row:hover .tpe-card-img img { transform: none; }
	.tpe.tpe.tpe.tpe.tpe.tpe .tpe-card--later:hover,
	.tpe.tpe.tpe.tpe.tpe.tpe .tpe-still-list .tpe-card:hover,
	.tpe.tpe.tpe.tpe.tpe.tpe .tpe-host:hover { transform: none; }
	.tpe.tpe.tpe.tpe.tpe.tpe .tpe-card--poster:hover .tpe-card-img img { transform: none; }
}

/* ---------- Controls ---------- */
.tpe .tpe-field label { display: block; font-size: var(--tpe-fs-sm); font-weight: 700; margin-bottom: var(--tpe-s1); }
.tpe .tpe-input { width: 100%; min-height: var(--tpe-target); padding: 0 var(--tpe-s3); border: 1px solid var(--tpe-line-strong); border-radius: var(--tpe-radius); background: transparent; color: inherit; font: inherit; font-size: var(--tpe-fs-md); }
.tpe .tpe-input::placeholder { color: var(--tpe-muted); }
.tpe .tpe-btn { min-height: var(--tpe-target); padding: 0 var(--tpe-s5); border: 0; border-radius: var(--tpe-radius); background: var(--tpe-accent-fill); color: var(--tpe-on-accent-fill); font: inherit; font-size: var(--tpe-fs-ui); line-height: 1.2; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; gap: var(--tpe-s2); cursor: pointer; text-decoration: none; white-space: nowrap; }
.tpe .tpe-btn--ghost { background: transparent; color: inherit; box-shadow: inset 0 0 0 1px var(--tpe-line-strong); }
.tpe .tpe-btn--dark { background: var(--tpe-ink); color: #ffffff; }
/* "Add event" (the owner's mockups): at the right of the title row, a
   filled pill as every button is filled. */
.tpe .tpe-add { min-height: 3.25rem; margin-inline-start: auto; padding: 0 1.875rem; border-radius: var(--tpe-pill); background: var(--tpe-accent-2-fill); color: var(--tpe-on-accent-2-fill); font-size: 1.125rem; }
/* A chip (components.md section 1): a white pill with the ink, 40 px high
   (44 px under 600 px). The one that is on is filled, edged in the accent,
   with the check icon first, so its state never rests on the colour. */
.tpe .tpe-chip { display: inline-flex; align-items: center; gap: var(--tpe-s1-5); min-block-size: var(--tpe-target-sm); padding: 0 var(--tpe-s4); border: 1px solid var(--tpe-line-strong); border-radius: var(--tpe-pill); background: var(--tpe-card); color: var(--tpe-ink); font-family: inherit; font-size: var(--tpe-fs-sm); font-weight: 700; line-height: 1.2; text-decoration: none; white-space: nowrap; cursor: pointer; }
.tpe .tpe-chip:hover { border-color: currentColor; }
.tpe .tpe-chip[aria-current] { background: var(--tpe-accent-fill); border-color: var(--tpe-accent); color: var(--tpe-on-accent-fill); }

/* ---------- Shared text pieces ---------- */
.tpe .tpe-h2 { font-size: var(--tpe-fs-xl); font-weight: 700; line-height: 1.2; }
.tpe .tpe-title { font-size: var(--tpe-fs-lg); font-weight: 700; line-height: 1.25; overflow-wrap: anywhere; }
.tpe .tpe-title a { text-decoration: none; }
.tpe .tpe-title a:hover { text-decoration: underline; text-underline-offset: .15em; }
/* A row's category and area, links of their own above the row's stretched
   link (the owner); its type tags, small pills (mockingbirdarc's). */
.tpe .tpe-row-link { position: relative; z-index: 2; color: inherit; text-decoration: none; }
.tpe .tpe-row-link:hover { text-decoration: underline; text-underline-offset: .15em; }
.tpe .tpe-tag { display: inline-block; margin-inline-start: var(--tpe-s1-5); padding: 0 var(--tpe-s2); border: 1px solid var(--tpe-line-strong); border-radius: var(--tpe-pill); font-size: var(--tpe-fs-xs); font-weight: 600; line-height: 1.5; color: inherit; }
.tpe .tpe-when { font-size: var(--tpe-fs-sm); font-weight: 700; color: var(--tpe-accent-2-text); }
.tpe .tpe-meta { display: flex; gap: var(--tpe-s2); align-items: flex-start; min-width: 0; font-size: var(--tpe-fs-sm); color: var(--tpe-muted); overflow-wrap: anywhere; }
/* The top line (components.md section 2): on the page, so it inherits the
   theme's text colour; the count bold, the zone soft (ruling 5). */
.tpe .tpe-count { font-size: var(--tpe-fs-md); }
.tpe .tpe-count strong { font-weight: 700; }
.tpe .tpe-zone { color: var(--tpe-soft); }
.tpe .tpe-badges { display: flex; flex-wrap: wrap; gap: var(--tpe-s2); }
.tpe .tpe-badge { display: inline-flex; align-items: center; gap: var(--tpe-s1); padding: .125rem var(--tpe-s2); border-radius: var(--tpe-pill); border: 1px solid var(--tpe-line); font-size: var(--tpe-fs-xs); font-weight: 600; line-height: 1.5; }
.tpe .tpe-badge--free { background: var(--tpe-ok-bg); color: var(--tpe-ok); border-color: transparent; }
.tpe .tpe-badge--sold { background: var(--tpe-danger-bg); color: var(--tpe-danger); border-color: transparent; }
.tpe .tpe-badge--price { background: var(--tpe-tint); color: var(--tpe-ink); border-color: transparent; font-weight: 700; }
.tpe .tpe-flag { display: inline-flex; align-items: center; gap: var(--tpe-s1); align-self: flex-start; padding: .125rem var(--tpe-s2); border-radius: var(--tpe-radius-sm); font-size: var(--tpe-fs-xs); font-weight: 700; }
.tpe .tpe-flag--cancel { background: var(--tpe-danger-bg); color: var(--tpe-danger); }
.tpe .tpe-flag--post { background: var(--tpe-warn-bg); color: var(--tpe-warn); }
/* A cancelled date: its title, linked or not (the line reaches the link
   inside), and its time are struck through; the word "Cancelled" says it
   too. */
.tpe [data-status="cancelled"] :is(.tpe-title, .tpe-when) { text-decoration: line-through; text-decoration-thickness: 1px; }
.tpe [data-status="cancelled"] .tpe-when { color: var(--tpe-muted); }
.tpe .tpe-stretch::after { content: ""; position: absolute; inset: 0; }
/* A card is one link: the ring is drawn by its ::after, round the card. */
.tpe .tpe-stretch:focus-visible { outline: none; box-shadow: none; }
.tpe .tpe-stretch:focus-visible::after { box-shadow: var(--tpe-ring); border-radius: var(--tpe-radius); }
/* A card clips its corners (overflow: hidden), so its ring is drawn inside. */
.tpe .tpe-card .tpe-stretch:focus-visible::after { box-shadow: var(--tpe-ring-in); }
/* Above the picture and the marks on it, so the whole card takes the click. */
.tpe .tpe-card .tpe-stretch::after { z-index: 1; }
.tpe .tpe-datebox { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 3.25rem; height: 3.25rem; border-radius: var(--tpe-radius); background: var(--tpe-tint); color: var(--tpe-ink); line-height: 1; flex: none; }
.tpe .tpe-datebox small { font-size: .6875rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.tpe .tpe-datebox strong { font-size: var(--tpe-fs-xl); }

/* ---------- Filter bar (components.md sections 3, 4 and 8; plan 1b, Task 9b) ----------
   One form at every width: the bar (the What field, the Search button
   inside it at its right end), the row of choices (Type, Where, Ages), the
   date chips. */
.tpe .tpe-fb { display: flex; flex-direction: column; gap: var(--tpe-s4); }
.tpe .tpe-fb-full { display: flex; flex-direction: column; gap: var(--tpe-s3); }

/* The bar: one white pill, the What field filling it, its label over the
   field (a click on the label lands on the field), the lens, then Search
   inside the pill at its right end. */
.tpe .tpe-fb-bar { display: flex; padding: var(--tpe-s1-5); border: 1px solid var(--tpe-line-strong); border-radius: var(--tpe-pill); background: var(--tpe-card); color: var(--tpe-ink); box-shadow: var(--tpe-shadow-bar); }
/* A field's focus is its edge in the accent (the owner: no ring on a field,
   whatever the theme or the browser draws). */
.tpe .tpe-fb-bar:focus-within { border-color: var(--tpe-accent); }
.tpe .tpe-input:focus { border-color: var(--tpe-accent); }
.tpe .tpe-fb-seg { position: relative; display: flex; align-items: center; flex: 1 1 auto; min-width: 0; min-block-size: var(--tpe-target-sm); border-radius: var(--tpe-pill); }
.tpe .tpe-fb-seg--what > .tpe-icon { position: absolute; left: var(--tpe-s4); top: 50%; transform: translateY(-50%); color: var(--tpe-muted); pointer-events: none; }
.tpe .tpe-fb-label { font-size: var(--tpe-fs-2xs); font-weight: 800; line-height: 1.2; }
.tpe .tpe-fb-seg > .tpe-fb-label { position: absolute; z-index: 1; top: var(--tpe-s2); left: 2.75rem; right: 8rem; overflow: hidden; white-space: nowrap; pointer-events: none; }
.tpe .tpe-fb-ctl { flex: 1 1 auto; width: 100%; min-width: 0; align-self: stretch; padding: 0 var(--tpe-s3) 0 2.75rem; border: 0; border-radius: var(--tpe-pill); background: transparent; color: inherit; font: inherit; font-size: var(--tpe-fs-ui); font-weight: 500; line-height: 1.4; }
.tpe .tpe-fb-ctl::placeholder { color: var(--tpe-muted); }
/* What set (a search in force): its words bold, the tint and the accent
   rule under it, so the state never rests on the colour. */
.tpe .tpe-fb-seg--set { background: var(--tpe-tint); color: var(--tpe-ink); box-shadow: inset 0 -3px 0 var(--tpe-accent); }
.tpe .tpe-fb-seg--set .tpe-fb-ctl { font-weight: 700; }
.tpe .tpe-fb-seg > .tpe-btn { flex: none; min-block-size: var(--tpe-control-xl); padding: 0 var(--tpe-s5); font-size: var(--tpe-fs-md); }

/* The filters (the owner, after the build): under the search bar, centred,
   wrapping on a phone, after the label "Filter" (on the page); each a filled
   pill as the buttons are, a small triangle then the filter's name (its
   choice once made), the triangle turned down while open; set, its choice
   bold and underlined, so the state never rests on the colour. Without the
   page's script each opens its panel of option links under it; with it, a
   centred choice box (assets/calendar.js). */
.tpe .tpe-picks { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: var(--tpe-s3) 1.75rem; }
.tpe .tpe-picks-label { font-size: var(--tpe-fs-ui); font-weight: 700; }
.tpe .tpe-pick { position: relative; min-width: 0; }
.tpe .tpe-pick-sum { display: flex; align-items: center; justify-content: center; gap: var(--tpe-s1-5); min-block-size: 2.5rem; max-inline-size: 16rem; padding: 0 1.375rem; border-radius: var(--tpe-pill); background: var(--tpe-accent-2-fill); color: var(--tpe-on-accent-2-fill); font-size: 1rem; font-weight: 600; list-style: none; cursor: pointer; }
.tpe .tpe-pick-sum::-webkit-details-marker { display: none; }
.tpe .tpe-pick-val { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tpe .tpe-pick--set .tpe-pick-sum { font-weight: 800; }

.tpe .tpe-slide:dir(rtl) .tpe-icon { transform: scaleX(-1); }
.tpe .tpe-slide--back:dir(rtl) .tpe-icon { transform: none; }

.tpe .tpe-pick-panel { position: absolute; z-index: 3; top: calc(100% + var(--tpe-s1)); left: 0; min-inline-size: 100%; max-inline-size: 20rem; padding: var(--tpe-s2); border: 1px solid var(--tpe-line); border-radius: var(--tpe-radius); background: var(--tpe-card); color: var(--tpe-ink); box-shadow: var(--tpe-shadow-pop); }
.tpe .tpe-pick:last-child:not(:first-child) .tpe-pick-panel { left: auto; right: 0; }
.tpe .tpe-pick-list a { display: flex; align-items: center; gap: var(--tpe-s2); min-block-size: var(--tpe-target-sm); padding: 0 var(--tpe-s3); border-radius: var(--tpe-radius-sm); text-decoration: none; white-space: nowrap; }
.tpe .tpe-pick-list a:hover { background: var(--tpe-surface); color: var(--tpe-ink); }
.tpe .tpe-pick-list a[aria-current] { font-weight: 700; }

/* While the page's script fetches new results, the lists are dimmed (the
   calendar carries aria-busy); and the centred choice box it opens from a
   choice of the row (a modal dialog over a dimmed page). */
.tpe .tpe-cal[aria-busy="true"] .tpe-list { opacity: .55; transition: opacity .2s; }
.tpe .tpe-dialog { inline-size: min(34rem, calc(100% - 2rem)); max-block-size: calc(100% - 4rem); margin: auto; padding: var(--tpe-s5) var(--tpe-s6); border: 0; border-radius: var(--tpe-radius-2xl); background: var(--tpe-card); color: var(--tpe-ink); box-shadow: var(--tpe-shadow-box); }
.tpe .tpe-dialog::backdrop { background: rgba(15, 24, 26, .45); }
/* Its heading (the filter's name, bold, in the accent's text colour); the
   options as outlined pills that fill with
   the accent when chosen (Type's ticks hidden in theirs, still the
   controls); a footer with Clear at the left and, where several can be
   picked, Show events at the right. No close button: a press outside it or
   Escape closes it with no change. */
.tpe .tpe-dialog-h { margin: 0 0 var(--tpe-s4); font-size: var(--tpe-fs-2xl); font-weight: 800; line-height: 1.2; color: var(--tpe-accent-text); }
.tpe .tpe-dialog .tpe-pick-list { display: flex; flex-wrap: wrap; gap: var(--tpe-s2); }
.tpe .tpe-dialog .tpe-pick-list :is(a, label) { position: relative; display: inline-flex; align-items: center; gap: var(--tpe-s1-5); min-block-size: var(--tpe-target-sm); padding: 0 var(--tpe-s4); border: 1px solid var(--tpe-line-strong); border-radius: var(--tpe-pill); background: var(--tpe-card); color: var(--tpe-ink); font-size: var(--tpe-fs-ui); font-weight: 600; text-decoration: none; white-space: nowrap; cursor: pointer; }
.tpe .tpe-dialog .tpe-pick-list :is(a, label):hover { border-color: var(--tpe-accent); }
.tpe .tpe-dialog .tpe-pick-list a[aria-current],
.tpe .tpe-dialog .tpe-pick-list label:has(input:checked) { background: var(--tpe-accent-fill); border-color: var(--tpe-accent-fill); color: var(--tpe-on-accent-fill); }
.tpe .tpe-dialog .tpe-pick-list input { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; margin: 0; opacity: 0; cursor: pointer; }
.tpe .tpe-dialog .tpe-pick-list label:has(input:focus-visible) { box-shadow: var(--tpe-ring); }
.tpe .tpe-dialog-foot { display: flex; align-items: center; justify-content: space-between; gap: var(--tpe-s3); margin-top: var(--tpe-s5); padding-top: var(--tpe-s4); border-top: 1px solid var(--tpe-line); }
.tpe .tpe-dialog-clear { font-size: var(--tpe-fs-ui); font-weight: 700; color: var(--tpe-ink); text-decoration: underline; text-underline-offset: .2em; }
.tpe .tpe-dialog-apply { min-height: var(--tpe-target-sm); margin-inline-start: auto; padding: 0 var(--tpe-s5); border-radius: var(--tpe-pill); }

/* The active summary (section 8): on the page under the chips, a rule
   above; its text inherits the theme's colour, "Clear all" a page link. */
.tpe .tpe-fb-active { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--tpe-s2) var(--tpe-s4); padding-top: var(--tpe-s4); border-top: 1px solid var(--tpe-line); font-size: var(--tpe-fs-md); }
.tpe .tpe-fb-active strong { font-size: var(--tpe-fs-lg); font-weight: 700; }
.tpe .tpe-fb-active .tpe-link { font-size: var(--tpe-fs-sm); font-weight: 700; }

/* ---------- Calendar ---------- */
.tpe .tpe-cal { display: flex; flex-direction: column; gap: var(--tpe-s5); }
/* The title row (the owner's fourth mockup): the page's title large and
   bold in the accent's text colour (readable on the page), "Add event" at
   the right of its line; under it the sub-heading, bold in the ink, and the
   description, soft, cut at ten lines by the stylesheet alone, so the whole
   text stays in the page (the fifth). */
.tpe .tpe-titlerow { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--tpe-s3) var(--tpe-s4); }
.tpe .tpe-cal-title { margin: 0; font-size: clamp(2.375rem, 5.2cqi, 4.25rem); letter-spacing: -.02em; font-weight: 800; line-height: 1.05; color: var(--tpe-accent-text); overflow-wrap: anywhere; }
.tpe .tpe-cal-sub { margin: 0; font-size: var(--tpe-fs-xl); font-weight: 700; line-height: 1.3; color: var(--tpe-ink); overflow-wrap: anywhere; }
.tpe .tpe-cal-desc { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 10; line-clamp: 10; overflow: hidden; font-size: var(--tpe-fs-md); color: var(--tpe-soft); overflow-wrap: anywhere; }
.tpe .tpe-cal-desc p + p { margin-top: var(--tpe-s3); }
.tpe .tpe-topline { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--tpe-s3); }
.tpe .tpe-crumbs { font-size: var(--tpe-fs-sm); color: var(--tpe-muted); }
.tpe .tpe-crumbs ol { display: flex; flex-wrap: wrap; gap: var(--tpe-s1) var(--tpe-s2); }
.tpe .tpe-crumbs li + li::before { content: "/"; margin-right: var(--tpe-s2); }
.tpe .tpe-crumbs a { color: inherit; }
/* The day strip (components.md section 13; the owner's mockups, and after
   the build): printed once, under the filters, at every width; today and
   the 30 days after in one row that slides (no scrollbar drawn, a soft snap
   to each card), seven cards to the row's width (five or so on a phone).
   One shape: the cards close together, small corners, the large radius on
   the first card's and the last card's outer bottom corners. Each card tall
   and nearly square, on the accent's fill with the text readable on it (as
   the buttons): the weekday and the number, the weather add-on's high top
   right and icon bottom right when it has them; its count for a reader
   only; today says Today. A day with no events on the tint, with the ink.
   The arrow (tpe-slide) sits over the row's end, shown by the page's script
   while the row overflows. */
.tpe .tpe-days { position: relative; }
.tpe .tpe-days > ul { display: flex; gap: var(--tpe-s3); padding: var(--tpe-s3) var(--tpe-s1); margin: calc(-1 * var(--tpe-s3)) calc(-1 * var(--tpe-s1)); overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; scroll-padding-inline: var(--tpe-s1); }
.tpe .tpe-days > ul::-webkit-scrollbar { display: none; }
.tpe .tpe-days li { flex: 0 0 max(calc((100% - 6 * var(--tpe-s3)) / 7), 7.75rem, 124px); min-width: 0; scroll-snap-align: start; container: tpe-day / inline-size; }
.tpe .tpe-day-link { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto 1fr auto auto auto 1fr auto; grid-template-areas: ". temp" ". ." "dw dw" "dn dn" "dc dc" ". ." ". icon"; justify-items: center; align-items: center; min-block-size: 9.5rem; padding: .75rem .75rem .875rem; border: 1px solid var(--tpe-line-strong); border-radius: var(--tpe-radius-md); background: var(--tpe-card); color: var(--tpe-ink); text-decoration: none; text-align: center; }


.tpe .tpe-day-link--none { color: var(--tpe-muted); }
.tpe .tpe-day-link[aria-current] { background: var(--tpe-accent-fill); border-color: var(--tpe-accent-fill); color: var(--tpe-on-accent-fill); }
.tpe .tpe-dw { grid-area: dw; font-size: 1.1875rem; font-weight: 400; line-height: 1.1; text-transform: uppercase; letter-spacing: .05em; }
.tpe .tpe-dc { grid-area: dc; font-size: .9375rem; font-weight: 400; line-height: 1.2; white-space: nowrap; color: var(--tpe-accent-text); }
.tpe .tpe-day-link[aria-current] .tpe-dc { color: inherit; }
/* A day off (school holidays): a small pill in the card's empty row above
   the weekday, the break's short name or School holiday, cut to the card. */
.tpe .tpe-dh { grid-row: 2; grid-column: 1 / -1; max-inline-size: 100%; padding: .125rem .5rem; border: 1px solid var(--tpe-line-strong); border-radius: var(--tpe-pill); background: var(--tpe-card); color: var(--tpe-ink); font-size: var(--tpe-fs-xs); font-weight: 600; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tpe .tpe-dn { grid-area: dn; font-size: 2.875rem; font-weight: 400; line-height: 1.1; }
.tpe .tpe-dt { grid-area: temp; justify-self: end; font-size: .9375rem; font-weight: 400; }
/* The weather icon (the owner's mockups): about 36 px drawn at the card's
   bottom right, in full colour on a white card and on today's filled one
   alike. The icons' own frame leaves a margin round the drawing, so the box
   is 48 px, pulled into the corner; a faint shadow keeps a white cloud
   visible on a white card. */
.tpe .tpe-di { position: absolute; inset-inline-end: .625rem; inset-block-end: .625rem; display: inline-flex; inline-size: 2.125rem; block-size: 2.125rem; opacity: 1; }
.tpe .tpe-di svg { inline-size: 100%; block-size: 100%; }
/* The weather icons' parts (design 2): the sun and a bolt in the second
   colour, the cloud in the ink, rain, snow, fog and wind in the first; on
   today's filled card every part takes the card's text colour. */
.tpe .tpe-wx-sun { stroke: var(--tpe-accent-2); }
.tpe .tpe-wx-cloud { stroke: var(--tpe-ink); }
.tpe .tpe-wx-drop { stroke: var(--tpe-accent); }
.tpe .tpe-day-link[aria-current] .tpe-weather-icon g { stroke: currentColor; }
/* A narrow day card (under 168 px: a phone, or a theme's narrow column;
   the owner's phone mock): the count and the high on the top line, the
   weekday and the number under them, the icon in a bottom row of its own
   at the right, each in its own row, so the icon never lies over the count
   (it did on the live site). A wide card keeps design 2's arrangement. */
@container tpe-day (max-width: 167px) {
	.tpe .tpe-days .tpe-day-link { padding-inline: .625rem; grid-template-rows: auto auto auto auto 1fr; grid-template-areas: "dc temp" ". ." "dw dw" "dn dn" ". icon"; }
	.tpe .tpe-days .tpe-dc { justify-self: start; }
	.tpe .tpe-days .tpe-dw { margin-block-start: .625rem; }
	.tpe .tpe-days .tpe-di { position: static; grid-area: icon; justify-self: end; align-self: end; margin-inline-end: -.125rem; margin-block-end: -.25rem; }
}
/* The weather add-on's credit under the strip: small, soft, on the page. */
.tpe .tpe-days-credit { margin-top: calc(-1 * var(--tpe-s3)); font-size: var(--tpe-fs-xs); color: var(--tpe-soft); text-align: end; }
/* The arrow of a row that slides (the day strip, Featured): a round white
   button with the ink over the row's end. Hidden until the page's script
   finds the row overflowing; its display rule spares [hidden]. */
.tpe .tpe-slide { position: absolute; z-index: 1; top: 50%; transform: translateY(-50%); align-items: center; justify-content: center; inline-size: var(--tpe-w-slide); block-size: var(--tpe-target-sm); padding: 0; border: 0; background: transparent; color: var(--tpe-accent-text); cursor: pointer; }
.tpe .tpe-slide--next { inset-inline-end: 0; }
.tpe .tpe-slide--back { inset-inline-start: 0; }
.tpe .tpe-slide--back .tpe-icon { transform: scaleX(-1); }
/* While its row overflows (the script marks it tpe-sliding) the row gives
   up a gutter on each side for the arrows, so nothing reaches past the
   page and nothing shifts as an arrow comes and goes. */
.tpe .tpe-sliding { padding-inline: var(--tpe-w-slide); }
/* A mouse drags the row (the script); while it does, nothing is selected. */
.tpe .tpe-dragging { cursor: grabbing; user-select: none; scroll-snap-type: none; }

.tpe .tpe-slide:not([hidden]) { display: inline-flex; }
.tpe .tpe-slide:hover { opacity: .75; }
.tpe .tpe-section { display: flex; flex-direction: column; gap: var(--tpe-s3); }
.tpe .tpe-section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: var(--tpe-s2); }

/* Beside the calendar (plan 1b, Task 5): the layout holds the first list,
   the aside and the second list, one column in that order; from 1000 px of
   the root the aside is a column of its own (below). With nothing beside it
   the calendar is one column of at most 820 px, centred. Each list is a
   container of its own, which the Featured block answers. */
.tpe .tpe-cal--solo { max-inline-size: var(--tpe-w-solo); margin-inline: auto; }
.tpe .tpe-layout { display: flex; flex-direction: column; gap: var(--tpe-s5); }
.tpe .tpe-list { container: tpe-list / inline-size; display: flex; flex-direction: column; gap: var(--tpe-s5); min-width: 0; }
.tpe .tpe-side { display: flex; flex-direction: column; gap: var(--tpe-s5); min-width: 0; }
/* The "Hosting something?" box: the tint behind the ink, the accent as its
   top edge only. */
.tpe .tpe-host { display: flex; flex-direction: column; align-items: flex-start; gap: var(--tpe-s3); padding: var(--tpe-s5); border-radius: var(--tpe-radius-lg); border: 1px solid var(--tpe-accent); background: var(--tpe-tint); color: var(--tpe-ink); animation: tpe-host-pulse 2s ease-in-out infinite; }
/* The box's glow (the owner, after the build): a ring in the accent growing
   and fading. Still with reduced motion; not drawn in forced colours. */
@keyframes tpe-host-pulse {
	0% { box-shadow: 0 0 0 0 var(--tpe-accent); }
	70% { box-shadow: 0 0 0 8px transparent; }
	100% { box-shadow: 0 0 0 0 transparent; }
}
.tpe .tpe-host p { font-size: var(--tpe-fs-md); }
/* The publisher's widgets: spaced one under another; inside each, the
   theme's own styles. */
.tpe .tpe-widgets { display: flex; flex-direction: column; gap: var(--tpe-s5); min-width: 0; overflow-wrap: anywhere; }

/* The Featured block (components.md section 10; the owner's mockups): its
   heading with "Picked by" and the site's name (soft, on the page), then
   three equal cards in one row that slides (no scrollbar drawn, a soft snap
   to each card), the arrow over its end; most of the list's width each
   under 600 px of the list (below). */

.tpe .tpe-lead-h { font-size: clamp(1.875rem, 3.1cqi, 2.625rem); letter-spacing: -.01em; font-weight: 800; line-height: 1.15; color: var(--tpe-accent-text); }
.tpe .tpe-lead-row { position: relative; }
.tpe .tpe-lead-list { display: grid; padding: var(--tpe-s3) var(--tpe-s1); margin: calc(-1 * var(--tpe-s3)) calc(-1 * var(--tpe-s1)); grid-auto-flow: column; grid-auto-columns: calc((100% - 2 * var(--tpe-s4)) / 3); gap: var(--tpe-s4); overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; }
.tpe .tpe-lead-list::-webkit-scrollbar { display: none; }
.tpe .tpe-lead-list > li { scroll-snap-align: start; }
/* The lists of cards: ul > li > article. A card fills its item, so the
   cards of one row are of one height. */
.tpe .tpe-rows { display: flex; flex-direction: column; }
.tpe .tpe-lead-list > li,
.tpe .tpe-rows > li,
.tpe .tpe-related > li,
.tpe .tpe-still-list > li { display: flex; min-width: 0; }
.tpe .tpe-still-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--tpe-s3); }

/* ---------- The event card (templates/card.php) ----------
   One white surface with the ink, one link (the title's, stretched). The
   body comes first in the markup, so a reader hears the status word and the
   title first; the picture is shown above it (order), and in the body the
   status word and the category above the title. */
.tpe .tpe-card { position: relative; isolation: isolate; display: flex; flex-direction: column; width: 100%; min-width: 0; border: 1px solid var(--tpe-line); border-radius: var(--tpe-radius); overflow: hidden; background: var(--tpe-card); color: var(--tpe-ink); }
.tpe .tpe-card-body { display: flex; flex-direction: column; gap: var(--tpe-s2); min-width: 0; padding: var(--tpe-s3) var(--tpe-s4) var(--tpe-s4); flex: 1; }
.tpe .tpe-card-body > .tpe-flag { order: -2; }
.tpe .tpe-card .tpe-title { font-size: var(--tpe-fs-card); }
.tpe .tpe-cat { order: -1; font-size: var(--tpe-fs-xs); font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--tpe-accent-text); overflow-wrap: anywhere; }
.tpe .tpe-card-sum { font-size: var(--tpe-fs-md); color: var(--tpe-muted); overflow-wrap: anywhere; }
.tpe .tpe-card .tpe-badges { margin-top: auto; padding-top: var(--tpe-s1); }
.tpe .tpe-card .tpe-badge { display: inline-block; max-width: 100%; overflow-wrap: anywhere; }
.tpe .tpe-note { align-self: center; min-width: 0; font-size: var(--tpe-fs-xs); color: var(--tpe-muted); overflow-wrap: anywhere; }
.tpe .tpe-feat { display: inline-flex; align-items: center; gap: var(--tpe-s1); font-size: var(--tpe-fs-xs); font-weight: 700; color: var(--tpe-ink); }
/* The body's twins of the time pill and the Featured mark: shown where the
   picture's are not (a side card, the narrow row, a later date). */
.tpe .tpe-card-body > .tpe-when,
.tpe .tpe-card-body > .tpe-feat { display: none; }

/* The picture: the event's photo at 3 by 2, else the band: the category's
   picture (a photo that fills it, or a graphic shown whole on the tint),
   else the tint alone, with the date box. */
.tpe .tpe-card-img { position: relative; order: -1; aspect-ratio: var(--tpe-ar-card); background: var(--tpe-tint); }
.tpe .tpe-card-img img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
.tpe .tpe-card-band { position: relative; order: -1; display: flex; align-items: center; justify-content: center; aspect-ratio: var(--tpe-ar-card); overflow: hidden; background: var(--tpe-tint); color: var(--tpe-ink); }
.tpe .tpe-card-band--plain { background: var(--tpe-tint); color: var(--tpe-ink); }
.tpe .tpe-catimg--cover { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
.tpe .tpe-catimg--contain { display: block; width: auto; height: auto; max-width: 60%; max-height: 60%; object-fit: contain; }
.tpe .tpe-card-band .tpe-datebox { position: absolute; top: var(--tpe-s3); left: var(--tpe-s3); width: auto; height: auto; padding: var(--tpe-s1) var(--tpe-s1-5); border-radius: var(--tpe-radius-sm); background: transparent; }
.tpe .tpe-card-band .tpe-catimg--cover ~ .tpe-datebox { background: var(--tpe-card); color: var(--tpe-ink); }
.tpe .tpe-when--pill { position: absolute; left: var(--tpe-s3); bottom: var(--tpe-s3); max-width: calc(100% - 2 * var(--tpe-s3)); padding: var(--tpe-s1) var(--tpe-s2-5); border-radius: var(--tpe-pill); background: var(--tpe-card); color: var(--tpe-accent-2-text); box-shadow: var(--tpe-shadow-pill); font-size: var(--tpe-fs-xs); line-height: 1.3; overflow-wrap: anywhere; }
.tpe .tpe-feat--photo { position: absolute; top: var(--tpe-s3); left: var(--tpe-s3); padding: var(--tpe-s1) var(--tpe-s2-5); border-radius: var(--tpe-pill); background: var(--tpe-on-photo); color: var(--tpe-ink); }
.tpe .tpe-card-band .tpe-feat--photo { left: auto; right: var(--tpe-s3); }

/* Poster: a Featured card (the owner's fourth mockup): the event's picture
   (else its category's band) with the date tag at its bottom right (bold,
   on the accent's fill with the text readable on it), then its title in the
   accent's text colour and its summary, soft, cut at three lines; on the
   page, with no surface of its own. */
.tpe .tpe-card--poster { gap: var(--tpe-s3); border: 0; border-radius: 0; overflow: visible; background: transparent; color: inherit; }
.tpe .tpe-card--poster .tpe-card-img,
.tpe .tpe-card--poster .tpe-card-band { border-radius: .625rem; overflow: hidden; }
.tpe .tpe-card--poster .tpe-card-body { gap: var(--tpe-s1); padding: 0; }
.tpe .tpe-card--poster .tpe-title { font-size: 1.5625rem; font-weight: 400; line-height: 1.25; color: var(--tpe-accent-text); }
.tpe .tpe-card--poster .tpe-card-sum { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden; font-size: 1.0625rem; line-height: 1.5; color: var(--tpe-soft); }
.tpe .tpe-date-tag { position: absolute; inset-block-end: 0; inset-inline-end: 0; max-inline-size: 100%; padding: .25rem .75rem .3125rem; border-radius: 0; border-start-start-radius: .625rem; background: var(--tpe-accent-fill); color: var(--tpe-on-accent-fill); font-size: .875rem; font-weight: 700; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }




/* Hero: the Featured block's large card; its picture at least 300 px high,
   its title larger. */
.tpe .tpe-card--hero .tpe-card-img,
.tpe .tpe-card--hero .tpe-card-band { min-height: 18.75rem; }
.tpe .tpe-card--hero .tpe-title { font-size: var(--tpe-fs-2xl); }

/* Side: the picture in a 150 px column beside the body, the date line and
   the Featured word in the body (wide and narrow; the grid card's look on
   mid, below). */
.tpe .tpe-card--side { display: grid; grid-template-columns: var(--tpe-w-side-pic) minmax(0, 1fr); }
.tpe .tpe-card--side .tpe-card-img,
.tpe .tpe-card--side .tpe-card-band { aspect-ratio: auto; min-height: 7.5rem; }
.tpe .tpe-card--side .tpe-when--pill,
.tpe .tpe-card--side .tpe-feat--photo { display: none; }
.tpe .tpe-card--side .tpe-card-body > .tpe-when { display: block; }
.tpe .tpe-card--side .tpe-card-body > .tpe-feat { display: inline-flex; order: -3; }
.tpe .tpe-card--side .tpe-title { font-size: var(--tpe-fs-md-plus); }

/* Still on: a 76 px square of the category's picture (a graphic whole on the
   tint, 8 px around it), and with none the plain square drawn by the
   stylesheet; then the title, the place, its last day and its hours. */
.tpe .tpe-card--still { display: grid; grid-template-columns: var(--tpe-w-still-pic) minmax(0, 1fr); align-items: start; gap: var(--tpe-s3); padding: var(--tpe-s3); }
.tpe .tpe-card--still .tpe-card-band { width: var(--tpe-w-still-pic); aspect-ratio: var(--tpe-ar-thumb); border-radius: var(--tpe-radius-sm); }
.tpe .tpe-card--still .tpe-catimg--contain { max-width: calc(100% - 1rem); max-height: calc(100% - 1rem); }
.tpe .tpe-card--still.tpe-card--plain::before { content: ""; order: -1; width: var(--tpe-w-still-pic); aspect-ratio: var(--tpe-ar-thumb); border-radius: var(--tpe-radius-sm); background: var(--tpe-tint); }
.tpe .tpe-card--still .tpe-card-body { gap: var(--tpe-s1); padding: 0; }
.tpe .tpe-card--still .tpe-title { font-size: var(--tpe-fs-md); }
.tpe .tpe-still-until { font-size: var(--tpe-fs-sm); font-weight: 700; color: var(--tpe-accent-2-text); }
.tpe .tpe-still-hours { font-size: var(--tpe-fs-sm); color: var(--tpe-muted); }

/* A day's rows (the owner's design 2): the event's picture at the left,
   3 by 2 and rounded, "Free" on its top left; at the right the category
   (left) and the area (right) in small capitals in the first colour, the
   title large, the date line with its times, the summary cut at three
   lines, and the pills (ages, type, price) in the second colour. No box:
   a rule between rows. A later date of a series keeps a compact row of its
   own. */
.tpe .tpe-card--row { display: grid; grid-template-columns: minmax(0, var(--tpe-w-row-pic)) minmax(0, 1fr); align-items: start; gap: 1.25rem 2.25rem; padding: 0; border: 0; border-radius: 0; background: transparent; color: inherit; }
.tpe .tpe-card--row .tpe-card-time { display: none; }
.tpe .tpe-card--row .tpe-card-body { grid-column: 2; grid-row: 1; display: flex; flex-direction: column; gap: .75rem; min-width: 0; padding: .375rem 0 0; }
.tpe .tpe-card--row .tpe-card-body > .tpe-when { display: block; }
.tpe .tpe-card--row .tpe-card-body > .tpe-feat { display: inline-flex; }
.tpe .tpe-card--row .tpe-cat { order: -2; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .125rem 1.5rem; font-size: clamp(.875rem, 1.25cqi, 1rem); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--tpe-accent-text); overflow-wrap: anywhere; }
.tpe .tpe-card--row .tpe-title { font-size: clamp(1.625rem, 2.7cqi, 2.25rem); font-weight: 400; line-height: 1.15; color: var(--tpe-ink); overflow-wrap: anywhere; }
.tpe .tpe-card--row .tpe-card-sum { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden; max-inline-size: 48.75rem; font-size: 1.0625rem; line-height: 1.55; color: var(--tpe-muted); }
.tpe .tpe-card--row .tpe-badges { display: flex; flex-wrap: wrap; gap: .5rem .625rem; margin: .375rem 0 0; padding: 0; }
.tpe .tpe-card--row .tpe-badge { display: inline-flex; align-items: center; min-height: 1.75rem; padding: 0 .875rem; border: 0; border-radius: var(--tpe-pill); background: var(--tpe-accent-2-fill); color: var(--tpe-on-accent-2-fill); font-size: .8125rem; font-weight: 600; overflow-wrap: anywhere; }
.tpe .tpe-card--row .tpe-badge--sold { background: var(--tpe-danger-bg); color: var(--tpe-danger); }
.tpe .tpe-card--row .tpe-card-img,
.tpe .tpe-card--row .tpe-card-band { position: relative; grid-column: 1; grid-row: 1; aspect-ratio: var(--tpe-ar-row); border-radius: .625rem; overflow: hidden; }
.tpe .tpe-card--row .tpe-card-img img { transition: transform .35s ease; }
.tpe .tpe-card--row .tpe-card-band .tpe-catimg--contain { max-width: calc(100% - .5rem); max-height: calc(100% - .5rem); }
.tpe .tpe-card--row.tpe-card--plain::before { content: ""; grid-column: 1; grid-row: 1; aspect-ratio: var(--tpe-ar-row); border-radius: .625rem; background: var(--tpe-tint); color: var(--tpe-ink); }
.tpe .tpe-free-tag { position: absolute; z-index: 1; inset-block-start: 0; inset-inline-start: 0; padding: .375rem .875rem; border-end-end-radius: .625rem; background: var(--tpe-accent-fill); color: var(--tpe-on-accent-fill); font-size: .875rem; font-weight: 700; line-height: 1.2; letter-spacing: .1em; text-transform: uppercase; }
.tpe .tpe-rows { gap: 2.5rem; }
.tpe .tpe-rows > li + li { padding-top: 2.5rem; border-top: 1px solid var(--tpe-line); }

.tpe .tpe-repeat { display: inline-block; margin-inline-start: var(--tpe-s1-5); padding: 0 var(--tpe-s1-5); border-radius: var(--tpe-radius-xs); background: var(--tpe-surface); color: var(--tpe-ink); font-size: var(--tpe-fs-xs); font-weight: 600; }
.tpe .tpe-card--row .tpe-note { margin-inline-start: var(--tpe-s1-5); font-weight: 400; }
.tpe .tpe-card--later { display: grid; grid-template-columns: var(--tpe-w-row-time) minmax(0, 1fr); align-items: center; column-gap: 1rem; padding: .625rem .875rem; border: 1px solid var(--tpe-line); border-radius: var(--tpe-radius-row); background: var(--tpe-card); color: var(--tpe-ink); }
.tpe .tpe-card-time { grid-column: 1; grid-row: 1; text-align: center; font-size: var(--tpe-fs-ui); font-weight: 700; color: var(--tpe-accent-2-text); overflow-wrap: anywhere; }
.tpe .tpe-card--later .tpe-card-body { grid-column: 2; grid-row: 1; }
.tpe .tpe-card--later .tpe-card-body { flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: var(--tpe-s1) var(--tpe-s3); padding: var(--tpe-s2) var(--tpe-s4); }
.tpe .tpe-card--later .tpe-card-body > .tpe-when { display: block; order: -3; }
.tpe .tpe-card--later .tpe-title { font-size: var(--tpe-fs-md); }

.tpe .tpe-views { display: flex; justify-content: flex-end; margin-bottom: calc(-1 * var(--tpe-s2)); }
.tpe .tpe-view-switch { display: inline-flex; border: 1.5px solid var(--tpe-accent-2); border-radius: var(--tpe-pill); background: var(--tpe-card); color: var(--tpe-ink); overflow: hidden; }
.tpe .tpe-view { display: inline-flex; align-items: center; min-height: 2.5rem; padding: 0 1.375rem; border-radius: var(--tpe-pill); font-size: 1.125rem; color: var(--tpe-ink); text-decoration: none; }
.tpe .tpe-view--on { background: var(--tpe-accent-2-fill); color: var(--tpe-on-accent-2-fill); }
/* The map view: the map 32 rem high with rounded corners; the places and
   their events under it; how many have no place, with the way back. */
.tpe .tpe-mapview { gap: var(--tpe-s4); }
.tpe .tpe-mapview-canvas { block-size: 32rem; border: 1px solid var(--tpe-line); border-radius: var(--tpe-radius-md); overflow: hidden; }
.tpe .tpe-places { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(18rem, 100%), 1fr)); gap: var(--tpe-s4); }
.tpe .tpe-place { padding: var(--tpe-s4); border: 1px solid var(--tpe-line); border-radius: var(--tpe-radius-md); background: var(--tpe-card); color: var(--tpe-ink); }
.tpe .tpe-place-name { font-size: var(--tpe-fs-md-plus); font-weight: 700; color: var(--tpe-accent-text); }
.tpe .tpe-place-address { font-size: var(--tpe-fs-sm); color: var(--tpe-muted); }
.tpe .tpe-place-events { display: flex; flex-direction: column; gap: var(--tpe-s1); margin-top: var(--tpe-s2); }
.tpe .tpe-place-when { display: block; font-size: var(--tpe-fs-sm); color: var(--tpe-muted); }
.tpe .tpe-mapview-note,
.tpe .tpe-mapview-none,
.tpe .tpe-mapview-missing { font-size: var(--tpe-fs-md); color: var(--tpe-soft); }
.tpe .tpe-map-cluster { display: flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--tpe-accent-fill); color: var(--tpe-on-accent-fill); box-shadow: 0 0 0 4px #ffffff, var(--tpe-shadow-tag); font-weight: 700; }
.tpe .tpe-map-pop ul { margin-top: var(--tpe-s1); }
.tpe .tpe-map-pops .tpe-map-pop + .tpe-map-pop { margin-top: var(--tpe-s3); padding-top: var(--tpe-s3); border-top: 1px solid var(--tpe-line); }
.tpe .tpe-map-pop li span { display: block; font-size: var(--tpe-fs-xs); color: var(--tpe-muted); }
.tpe .tpe-still { display: flex; flex-direction: column; gap: var(--tpe-s2); }
/* A day's heading (the owner's third mockup): "Today", "Tomorrow" or the
   weekday large in the accent's text colour (readable on the page) at the
   left; the full date and the whole day's count at the right, soft; a rule
   in the accent under both. */
.tpe .tpe-dayhead { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: .25rem 1rem; padding-bottom: .625rem; border-bottom: 2px solid var(--tpe-accent); }
.tpe .tpe-dayhead-main { display: inline-flex; align-items: flex-end; gap: 1rem; }
.tpe .tpe-dayhead-wx { display: inline-flex; align-items: flex-end; gap: .5rem; padding-bottom: .25rem; font-size: 1.375rem; font-weight: 400; line-height: 1.2; color: var(--tpe-ink); }
.tpe .tpe-dayhead-wx .tpe-weather-icon { inline-size: 2.75rem; block-size: 2.75rem; }
.tpe .tpe-dayhead-word { font-size: clamp(2.125rem, 3.2cqi, 2.75rem); font-weight: 400; line-height: 1.1; color: var(--tpe-accent-text); }
.tpe .tpe-dayhead-side { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: var(--tpe-s1) var(--tpe-s3); }
.tpe .tpe-dayhead-date { padding-bottom: .25rem; font-size: clamp(1.125rem, 1.8cqi, 1.5rem); font-weight: 400; color: var(--tpe-soft); }

/* The pager (components.md section 15, ruling 22): the "<date> and later"
   button, then "Page 1 of 4" with Previous and Next, at every width. */
.tpe .tpe-more { gap: var(--tpe-s2); white-space: normal; max-inline-size: 100%; text-align: start; }
.tpe .tpe-pager { display: flex; flex-direction: column; align-items: flex-start; gap: var(--tpe-s3); padding-top: var(--tpe-s5); border-top: 1px solid var(--tpe-line); }
.tpe .tpe-pager-line { display: flex; flex-wrap: wrap; align-items: center; gap: 0 var(--tpe-s2); font-size: var(--tpe-fs-sm); color: var(--tpe-soft); }
.tpe .tpe-pager-link { display: inline-flex; align-items: center; min-block-size: var(--tpe-target-sm); }

/* ---------- Category view and empty results ---------- */
.tpe .tpe-cathead { display: flex; flex-direction: column; gap: var(--tpe-s2); }
/* The category's own picture in its head: 160 by 90 beside the intro, the
   head's full width above it on a phone; a photo fills it, a graphic is
   whole on the tint. */
.tpe .tpe-cathead:has(> .tpe-catimg) { display: grid; grid-template-columns: 10rem minmax(0, 1fr); align-items: start; column-gap: var(--tpe-s4); }
.tpe .tpe-cathead:has(> .tpe-catimg) > :not(.tpe-catimg) { grid-column: 2; }
.tpe .tpe-cathead > .tpe-catimg { position: static; grid-column: 1; grid-row: 1 / span 3; width: 100%; height: auto; max-width: none; max-height: none; aspect-ratio: 16 / 9; border-radius: var(--tpe-radius-md); object-fit: cover; }
.tpe .tpe-cathead > .tpe-catimg--contain { object-fit: contain; }
.tpe .tpe-cathead p { font-size: var(--tpe-fs-md); max-width: 44rem; }
.tpe .tpe-cathead .tpe-count { font-size: var(--tpe-fs-sm); }
.tpe .tpe-end { font-size: var(--tpe-fs-sm); color: var(--tpe-soft); padding-top: var(--tpe-s4); border-top: 1px solid var(--tpe-line); }
.tpe .tpe-empty { display: flex; flex-direction: column; gap: var(--tpe-s4); padding: var(--tpe-s6); border: 1px solid var(--tpe-line-strong); border-radius: var(--tpe-radius); }
.tpe .tpe-empty-next { display: flex; padding: var(--tpe-s3); border-radius: var(--tpe-radius); background: var(--tpe-tint); color: var(--tpe-ink); }
.tpe .tpe-empty-next > .tpe-card { max-width: 30rem; }
.tpe .tpe-empty-acts { display: flex; flex-wrap: wrap; gap: var(--tpe-s2); }

/* ---------- Event page (plan 1c) ----------
   The event page, laid out as mockingbirdarc's (the owner, 2026-12-04), its
   rules in this one section; its forced colours and widths are at the end
   of the file. The body is one grid: the head (the title with the share
   row beside it, the lead), the picture, the category pills, the side
   column (the facts card, then "Where it is"), the dates and About. On wide
   the side column stands on the right; under 1000 px the body is one column
   in that order. Text printed straight on the theme's page (the title, the
   lead, the section headings) inherits the theme's colour; the calendar's
   own surfaces (the facts card, the share panel, the map's box, the band)
   carry the ink. */
.tpe .tpe-ev { display: flex; flex-direction: column; gap: var(--tpe-s5); }
.tpe .tpe-crumbs a { text-decoration: none; }
.tpe .tpe-crumbs a:hover { color: var(--tpe-accent-text); }

/* The head: the title, the share row beside it, the lead under them. */
.tpe .tpe-ev-head { display: flex; flex-direction: column; gap: var(--tpe-s3); }
.tpe .tpe-ev-titlerow { display: flex; justify-content: space-between; align-items: flex-start; gap: var(--tpe-s4); }
.tpe .tpe-ev-title { margin: 0; font-size: var(--tpe-fs-4xl); font-size: clamp(var(--tpe-fs-3xl-plus), 3.4cqi, 2.5rem); font-weight: 800; line-height: 1.1; letter-spacing: -.02em; overflow-wrap: anywhere; }
.tpe .tpe-ev-summary { margin: 0; font-size: var(--tpe-fs-lg); font-weight: 600; line-height: 1.5; overflow-wrap: anywhere; }

/* The picture: the event's photo, cropped to 16 by 9 with a small radius,
   as mockingbirdarc's; else the band in its place, with the category's
   picture (a photo that fills it, or a graphic shown whole on the tint) or
   the tint alone, and the date. */
.tpe .tpe-ev-image { position: relative; display: block; aspect-ratio: 4 / 3; margin: 0; border-radius: var(--tpe-radius-xs); overflow: hidden; background: var(--tpe-tint); color: var(--tpe-ink); }
.tpe .tpe-ev-image > img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
.tpe .tpe-ev-band { display: flex; align-items: center; justify-content: center; }
.tpe .tpe-ev-band .tpe-catimg--contain { max-width: 50%; max-height: 70%; }
.tpe .tpe-ev-band .tpe-datebox { position: absolute; top: var(--tpe-s4); left: var(--tpe-s4-5); width: auto; height: auto; align-items: flex-start; padding: var(--tpe-s2) var(--tpe-s3); border-radius: var(--tpe-radius); background: transparent; color: var(--tpe-ink); }
.tpe .tpe-ev-band .tpe-catimg--cover ~ .tpe-datebox { background: var(--tpe-card); color: var(--tpe-ink); }
.tpe .tpe-ev-band .tpe-datebox small { font-size: var(--tpe-fs-lg); font-weight: 800; letter-spacing: 0; text-transform: none; }
.tpe .tpe-ev-band .tpe-datebox strong { font-size: var(--tpe-fs-date-xl); font-weight: 800; letter-spacing: -.03em; }
.tpe .tpe-ev-band .tpe-datebox span { margin-top: var(--tpe-s1-5); font-size: var(--tpe-fs-md); font-weight: 700; }
.tpe .tpe-ev-image .tpe-feat--photo { top: var(--tpe-s4); left: var(--tpe-s4); padding: var(--tpe-s1) var(--tpe-s3); font-size: var(--tpe-fs-xs); }
.tpe .tpe-ev-band .tpe-feat--photo { left: auto; right: var(--tpe-s4); }

/* The category pills under the picture: under the pointer a pill fills with
   the calendar's colour, never an underline. */
.tpe .tpe-ev-cats { display: flex; flex-wrap: wrap; gap: var(--tpe-s2); }
.tpe .tpe-ev-cat { display: inline-flex; align-items: center; min-height: var(--tpe-target-sm); padding: 0 var(--tpe-s3-5); border: 1px solid var(--tpe-line-mid); border-radius: var(--tpe-pill); background: var(--tpe-tint); color: var(--tpe-ink); font-size: var(--tpe-fs-sm); font-weight: 700; text-decoration: none; }
.tpe a.tpe-ev-cat:hover { border-color: var(--tpe-accent-fill); background: var(--tpe-accent-fill); color: var(--tpe-on-accent-fill); text-decoration: none; }

/* The body. */
.tpe .tpe-ev-body { display: flex; flex-direction: column; gap: var(--tpe-s5); min-width: 0; }
.tpe .tpe-ev-body > * { min-width: 0; }
.tpe .tpe-ev-side { display: flex; flex-direction: column; gap: var(--tpe-s4); }
.tpe .tpe-ev-block { display: flex; flex-direction: column; gap: var(--tpe-s3); }
.tpe .tpe-ev-h2 { font-size: var(--tpe-fs-2xl); font-weight: 800; line-height: 1.2; }

/* A banner: an icon in a white circle, the lead in bold, then the links;
   its colours always beside a word. */
.tpe .tpe-banner { display: grid; grid-template-columns: 2.75rem minmax(0, 1fr); align-items: start; gap: var(--tpe-s3-5); padding: var(--tpe-s4) var(--tpe-s4-5); border-radius: var(--tpe-radius-lg); font-size: var(--tpe-fs-lg); }
.tpe .tpe-banner > div { display: flex; flex-direction: column; gap: var(--tpe-s1); min-width: 0; padding-top: .5rem; overflow-wrap: anywhere; }
.tpe .tpe-banner-icon { display: flex; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem; border-radius: var(--tpe-pill); background: var(--tpe-card); color: inherit; }
.tpe .tpe-banner a { font-weight: 700; color: inherit; text-decoration-color: currentColor; text-underline-offset: .15em; }
.tpe .tpe-banner-links { display: flex; flex-wrap: wrap; gap: var(--tpe-s1) var(--tpe-s4-5); font-size: var(--tpe-fs-md); }
.tpe .tpe-banner--ended { background: var(--tpe-quiet-bg); color: var(--tpe-ink); }
.tpe .tpe-banner--cancel { background: var(--tpe-danger-bg); color: var(--tpe-danger); }
.tpe .tpe-banner--warn { background: var(--tpe-warn-bg); color: var(--tpe-warn); }
.tpe .tpe-banner--info { background: var(--tpe-info-bg); color: var(--tpe-ink); }
.tpe .tpe-banner--info .tpe-banner-icon { color: var(--tpe-info); }

/* The share row, as mockingbirdarc's: square buttons, white with the ink,
   the theme's colour on the edge under the pointer; Save as PDF and Print
   are revealed by the script; Share opens a panel under it. */
.tpe .tpe-share-row { flex: none; }
.tpe .tpe-share { position: relative; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: var(--tpe-s2); }
.tpe .tpe-share-btn { display: inline-flex; align-items: center; justify-content: center; width: var(--tpe-target-sm); height: var(--tpe-target-sm); padding: 0; border: 1px solid var(--tpe-line); border-radius: var(--tpe-radius-sm); background: var(--tpe-card); color: var(--tpe-ink-2); font: inherit; text-decoration: none; cursor: pointer; }
.tpe .tpe-share-btn:hover { border-color: var(--tpe-accent); color: var(--tpe-accent-text); box-shadow: var(--tpe-shadow-raised); }
.tpe .tpe-share-more > summary { list-style: none; }
.tpe .tpe-share-more > summary::-webkit-details-marker { display: none; }
.tpe .tpe-share-panel { position: absolute; right: 0; top: calc(100% + var(--tpe-s2)); z-index: 5; display: flex; flex-direction: column; gap: var(--tpe-s4); width: min(22rem, 90cqi); padding: var(--tpe-s5); border: 1px solid var(--tpe-line); border-radius: var(--tpe-radius-md); background: var(--tpe-card); color: var(--tpe-ink); box-shadow: var(--tpe-shadow-pop); }
.tpe .tpe-share-panel-title { font-size: var(--tpe-fs-lg); font-weight: 700; }
.tpe .tpe-share-link { display: flex; gap: var(--tpe-s2); }
.tpe .tpe-share-url { flex: 1; min-width: 0; min-height: var(--tpe-target-sm); padding: 0 var(--tpe-s3); border: 1px solid var(--tpe-line); border-radius: var(--tpe-radius-sm); background: var(--tpe-surface); color: var(--tpe-ink); font: inherit; font-size: var(--tpe-fs-sm); }
.tpe .tpe-share-copy { min-height: var(--tpe-target-sm); padding: 0 var(--tpe-s3-5); font-size: var(--tpe-fs-sm); }
.tpe .tpe-share-socials { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--tpe-s3); }
.tpe .tpe-share-social { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--tpe-s1); min-height: 4.5rem; border: 1px solid var(--tpe-line); border-radius: var(--tpe-radius-sm); background: var(--tpe-card); color: var(--tpe-ink); font-size: var(--tpe-fs-sm); text-decoration: none; }
.tpe .tpe-share-social:hover { border-color: var(--tpe-ink); }
.tpe .tpe-share-status { font-size: var(--tpe-fs-sm); font-weight: 600; text-align: right; }
.tpe .tpe-share-status:not(:empty) { margin-top: var(--tpe-s2); }

/* The facts card, as mockingbirdarc's "Event details": one white card,
   each fact a row of its icon, its label in small capitals and its value,
   a hairline between; then Get tickets and Add to calendar, whose menu
   opens under it in the card. */
.tpe .tpe-facts { display: flex; flex-direction: column; padding: var(--tpe-s2) var(--tpe-s4) var(--tpe-s4); border: 1px solid var(--tpe-line); border-radius: var(--tpe-radius-md); background: var(--tpe-card); color: var(--tpe-ink); box-shadow: var(--tpe-shadow-bar-sm); }
.tpe .tpe-facts-title { padding: var(--tpe-s3) 0 var(--tpe-s1); font-size: var(--tpe-fs-lg); font-weight: 700; }
.tpe .tpe-facts dl { display: flex; flex-direction: column; }
/* A fact: its term (the icon inside, set at the left) over its definition,
   both children of the fact. */
.tpe .tpe-fact { position: relative; display: flex; flex-direction: column; gap: 1px; padding: var(--tpe-s2-5) 0 var(--tpe-s2-5) 2rem; border-bottom: 1px solid var(--tpe-line-soft); }
.tpe .tpe-fact:last-child { border-bottom: 0; }
.tpe .tpe-fact-icon { position: absolute; left: 0; top: 50%; display: flex; color: var(--tpe-accent-text); transform: translateY(-50%); }
.tpe .tpe-fact dt { font-size: var(--tpe-fs-2xs); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--tpe-muted); }
.tpe .tpe-fact dd { display: flex; flex-direction: column; align-items: flex-start; gap: 1px; margin: 0; font-size: var(--tpe-fs-sm); font-weight: 600; overflow-wrap: anywhere; }
.tpe .tpe-fact dd strong { font-weight: 600; }
.tpe .tpe-fact dd span { color: var(--tpe-ink-2); }
.tpe .tpe-facts-zone,
.tpe .tpe-facts-repeat { font-weight: 400; }
.tpe .tpe-fact-tags { display: flex; flex-wrap: wrap; gap: var(--tpe-s1); margin-top: 2px; }
.tpe .tpe-fact-tags li { padding: 1px var(--tpe-s2); border: 1px solid var(--tpe-line-mid); border-radius: var(--tpe-pill); font-size: var(--tpe-fs-2xs); font-weight: 600; }
.tpe .tpe-fact-link { margin-top: var(--tpe-s1); font-size: var(--tpe-fs-sm); font-weight: 700; color: var(--tpe-accent-text); text-decoration-color: var(--tpe-accent); text-underline-offset: .15em; }
.tpe .tpe-facts-acts { display: flex; flex-direction: column; gap: var(--tpe-s2-5); padding-top: var(--tpe-s4); }
.tpe .tpe-facts .tpe-tickets,
.tpe .tpe-cal-btn { width: 100%; min-height: var(--tpe-target); font-size: var(--tpe-fs-ui); }
.tpe .tpe-cal-add > summary { list-style: none; }
.tpe .tpe-cal-add > summary::-webkit-details-marker { display: none; }
.tpe .tpe-cal-menu { margin-top: var(--tpe-s2); display: flex; flex-direction: column; border: 1px solid var(--tpe-line); border-radius: var(--tpe-radius-sm); overflow: hidden; background: var(--tpe-card); color: var(--tpe-ink); }
.tpe .tpe-cal-menu a { display: flex; align-items: center; min-height: var(--tpe-target-sm); padding: 0 var(--tpe-s3-5); border-top: 1px solid var(--tpe-line); font-size: var(--tpe-fs-sm); font-weight: 600; text-decoration: none; }
.tpe .tpe-cal-menu a:first-child { border-top: 0; }
.tpe .tpe-cal-menu a:hover { background: var(--tpe-surface); color: var(--tpe-ink); }

/* Where it is, as mockingbirdarc's map block: the place, once; the map's
   box (its ground drawn in the ink, never the theme's colour, since text
   sits on it), which the whole of takes the press once the script has
   shown its button; Get directions under it, on the right. */
.tpe .tpe-ev-map { gap: var(--tpe-s2-5); }
.tpe .tpe-ev-map .tpe-ev-h2 { font-size: var(--tpe-fs-lg); }
.tpe .tpe-map-place { display: flex; gap: var(--tpe-s2); align-items: flex-start; font-size: var(--tpe-fs-sm); overflow-wrap: anywhere; }
.tpe .tpe-map-place > span { display: flex; flex-direction: column; }
.tpe .tpe-map-place .tpe-map-pin { margin-top: 1px; color: var(--tpe-accent-text); }
.tpe .tpe-mapfacade { --tpe-map-line: color-mix(in srgb, var(--tpe-ink) 7%, transparent); position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--tpe-s2); min-height: 17.5rem; padding: var(--tpe-s4); border: 1px solid var(--tpe-line); border-radius: var(--tpe-radius-sm); overflow: hidden; background-color: var(--tpe-map-bg); background-image: linear-gradient(90deg, var(--tpe-map-line) 1px, transparent 1px), linear-gradient(0deg, var(--tpe-map-line) 1px, transparent 1px); background-size: 2.5rem 2.5rem; color: var(--tpe-ink); text-align: center; }
.tpe .tpe-mapfacade--live:not(.tpe-mapfacade--open) { cursor: pointer; }
.tpe .tpe-map-show { min-height: var(--tpe-target); padding: 0 var(--tpe-s5); border-radius: var(--tpe-pill); }
.tpe .tpe-map-note { font-size: var(--tpe-fs-xs); color: var(--tpe-muted); }
.tpe .tpe-mapfacade [hidden],
.tpe .tpe-map-status:empty { display: none; }
.tpe .tpe-map-status { font-size: var(--tpe-fs-sm); font-weight: 600; }
.tpe .tpe-mapfacade--open > :not(.tpe-map-canvas) { display: none; }
.tpe .tpe-mapfacade--open { padding: 0; }
.tpe .tpe-map-canvas { position: absolute; inset: 0; z-index: 0; }
.tpe .tpe-map-marker { color: var(--tpe-ink); }
.tpe .tpe-map-dir { align-self: flex-end; display: inline-flex; align-items: center; gap: var(--tpe-s1); min-height: var(--tpe-target-sm); font-size: var(--tpe-fs-sm); font-weight: 600; color: inherit; text-decoration-color: var(--tpe-accent); text-underline-offset: .15em; }

/* The dates: rows on the theme's page, so their text inherits its colour;
   each tag a pill of its own colours. The next date is bold with the
   filled tag; a date not on and a past one are softer, the first struck. */
.tpe .tpe-dates { display: flex; flex-direction: column; }
.tpe .tpe-dates li { display: flex; justify-content: space-between; align-items: center; gap: var(--tpe-s3); min-height: var(--tpe-control-lg); padding: var(--tpe-s1) 0; border-bottom: 1px solid var(--tpe-line); font-size: var(--tpe-fs-md); }
.tpe .tpe-dates-day { font-weight: 600; overflow-wrap: anywhere; }
.tpe .tpe-dates-time { font-weight: 400; color: var(--tpe-soft); }
.tpe .tpe-dates li.is-here .tpe-dates-day { font-weight: 800; }
.tpe .tpe-dates li:is(.is-past, .is-off) .tpe-dates-day { color: var(--tpe-soft); }
.tpe .tpe-dates li.is-off .tpe-dates-day { text-decoration: line-through; text-decoration-thickness: 1px; }
.tpe .tpe-dates-tag { flex: none; padding: 2px var(--tpe-s2-5); border-radius: var(--tpe-pill); background: var(--tpe-quiet-bg); color: var(--tpe-ink); font-style: normal; font-size: var(--tpe-fs-xs); font-weight: 800; white-space: nowrap; }
.tpe .tpe-dates li.is-here .tpe-dates-tag { background: var(--tpe-accent-fill); color: var(--tpe-on-accent-fill); }
.tpe .tpe-dates-more > summary { display: list-item; min-height: var(--tpe-target); padding-block: var(--tpe-s2-5); font-size: var(--tpe-fs-ui); font-weight: 800; cursor: pointer; text-decoration: underline; text-decoration-color: var(--tpe-accent); text-underline-offset: .15em; }
/* Related events: the heading and its "All" link on one line, then the
   cards 1b built, three across on wide. */
.tpe .tpe-related-wrap { gap: var(--tpe-s4); padding-top: var(--tpe-s4); }
.tpe .tpe-related-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: var(--tpe-s1) var(--tpe-s3); }
.tpe .tpe-related-head .tpe-ev-h2 { font-size: var(--tpe-fs-2xl-plus); }
.tpe .tpe-related-all { display: inline-flex; align-items: center; min-height: var(--tpe-target-sm); font-size: var(--tpe-fs-ui); font-weight: 700; color: inherit; text-decoration-color: var(--tpe-accent); text-underline-offset: .15em; }
.tpe .tpe-related { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--tpe-s5); }

/* Block flow, as the theme lays out a post: flow-root holds an alignleft or
   alignright image beside the text, and keeps it from running into the
   organiser line. */
.tpe .tpe-ev-desc { font-size: var(--tpe-fs-md); display: flow-root; overflow-wrap: anywhere; }
.tpe .tpe-ev-org { font-size: var(--tpe-fs-md); color: var(--tpe-soft); }
.tpe .tpe-print-only { display: none; }

/* No underline on any plugin link of the event page (the owner's rule 6):
   under the pointer its colour changes instead. Heavier than a theme's own
   a and a:hover rules. The description's links are the publisher's and
   keep the theme's look. */
.tpe.tpe.tpe.tpe.tpe .tpe-ev :is(.tpe-crumbs a, .tpe-banner a, .tpe-link, .tpe-fact-link, .tpe-map-dir, .tpe-related-all, .tpe-related .tpe-title a, .tpe-cal-menu a, .tpe-share-social, .tpe-dates-more > summary) { text-decoration: none; }
.tpe.tpe.tpe.tpe.tpe .tpe-ev :is(.tpe-crumbs a:hover, .tpe-banner a:hover, .tpe-link:hover, .tpe-fact-link:hover, .tpe-map-dir:hover, .tpe-related-all:hover, .tpe-related .tpe-title a:hover, .tpe-cal-menu a:hover, .tpe-share-social:hover, .tpe-dates-more > summary:hover) { color: color-mix(in srgb, currentColor 70%, transparent); text-decoration: none; }

/* ---------- The event page's forced colours and widths are at the end of
   the file, after plan 1b's, so a rule there is the later one. ---------- */

/* ---------- Inside a theme that styles bare controls ----------
   A theme may style button, input, summary and a by element, more weightily
   than .tpe .tpe-btn (0,2,0). Twenty Twenty-One gives every button
   button:not(:hover):not(:active):not(.has-background) and its .has-text-color
   twin (0,3,1), and inside a coloured group .has-background button:not(...)
   (0,4,1); it gives every focused link .site a:focus:not(.wp-block-button__link)
   :not(.wp-block-file__button) (0,4,1), and in its dark mode .is-dark-theme
   .site a:focus:not(...):not(...) (0,5,1), with a background and a transparent
   outline. So the plugin's own controls say their look again here, with the
   root class repeated: (0,6,0) for a control and its focus ring, more than
   any of those. Only the plugin's classes are named; fonts stay inherited
   and surfaces stay transparent, by design. */
.tpe.tpe.tpe.tpe.tpe .tpe-btn { background: var(--tpe-accent-fill); color: var(--tpe-on-accent-fill); border: 0; border-radius: var(--tpe-radius); box-shadow: none; font-size: var(--tpe-fs-ui); text-transform: none; letter-spacing: normal; text-decoration: none; }
.tpe.tpe.tpe.tpe.tpe .tpe-btn--ghost { background: transparent; color: inherit; box-shadow: inset 0 0 0 1px var(--tpe-line-strong); }
.tpe.tpe.tpe.tpe.tpe .tpe-btn--dark { background: var(--tpe-ink); color: #ffffff; }
.tpe.tpe.tpe.tpe.tpe .tpe-btn.tpe-add { border-radius: var(--tpe-pill); background: var(--tpe-accent-2-fill); color: var(--tpe-on-accent-2-fill); font-size: 1.125rem; font-weight: 600; }
.tpe.tpe.tpe.tpe.tpe .tpe-slide { padding: 0; background: transparent; color: var(--tpe-accent-text); border: 0; border-radius: 0; box-shadow: none; text-transform: none; letter-spacing: normal; }
.tpe.tpe.tpe.tpe.tpe .tpe-slide[hidden] { display: none; }
.tpe.tpe.tpe.tpe.tpe .tpe-view { text-decoration: none; background: transparent; color: var(--tpe-ink); }
.tpe.tpe.tpe.tpe.tpe .tpe-view--on { background: var(--tpe-accent-2-fill); color: var(--tpe-on-accent-2-fill); }
/* A row's title is never underlined on hover, whatever the theme (the
   owner); the Hosting box's button at the usual button size. */
.tpe.tpe.tpe.tpe.tpe .tpe-card--row .tpe-title a,
.tpe.tpe.tpe.tpe.tpe .tpe-card--row .tpe-title a:hover { text-decoration: none; }
.tpe.tpe.tpe.tpe.tpe .tpe-host .tpe-btn { min-height: var(--tpe-target-sm); padding: 0 var(--tpe-s4); font-size: var(--tpe-fs-ui); line-height: 1.2; }
/* The plugin's pill buttons at the pills' text size, semi-bold, whatever the
   theme's button size (the owner). */
.tpe.tpe.tpe.tpe.tpe :is(.tpe-dialog-apply, .tpe-dialog-clear, .tpe-host .tpe-btn) { font-size: var(--tpe-fs-ui); font-weight: 600; line-height: 1.2; }
/* The choice box against a theme's dialog and button styles, the browser's
   own dialog border and padding reset. */
.tpe.tpe.tpe.tpe.tpe .tpe-dialog { padding: var(--tpe-s5) var(--tpe-s6); border: 0; border-radius: var(--tpe-radius-2xl); background: var(--tpe-card); color: var(--tpe-ink); box-shadow: var(--tpe-shadow-box); }
.tpe.tpe.tpe.tpe.tpe .tpe-dialog .tpe-pick-list :is(a, label) { border: 1px solid var(--tpe-line-strong); border-radius: var(--tpe-pill); background: var(--tpe-card); color: var(--tpe-ink); box-shadow: none; text-decoration: none; text-transform: none; letter-spacing: normal; }
.tpe.tpe.tpe.tpe.tpe .tpe-dialog .tpe-pick-list a[aria-current],
.tpe.tpe.tpe.tpe.tpe .tpe-dialog .tpe-pick-list label:has(input:checked) { background: var(--tpe-accent-fill); border-color: var(--tpe-accent-fill); color: var(--tpe-on-accent-fill); }
.tpe.tpe.tpe.tpe.tpe .tpe-dialog-apply { border-radius: var(--tpe-pill); }
.tpe.tpe.tpe.tpe.tpe .tpe-dialog-clear { background: transparent; color: var(--tpe-ink); text-decoration: underline; }
/* The day card against a theme's link styles, hovered, focused and visited
   too; its hover underline after them. */
.tpe.tpe.tpe.tpe.tpe .tpe-day-link { background: var(--tpe-card); color: var(--tpe-ink); text-decoration: none; box-shadow: none; }
.tpe.tpe.tpe.tpe.tpe a.tpe-day-link:is(:hover, :focus, :visited) { background: var(--tpe-card); color: var(--tpe-ink); }
.tpe.tpe.tpe.tpe.tpe .tpe-day-link--none { color: var(--tpe-muted); }
.tpe.tpe.tpe.tpe.tpe .tpe-day-link[aria-current] { background: var(--tpe-accent-fill); color: var(--tpe-on-accent-fill); }
.tpe.tpe.tpe.tpe.tpe a.tpe-day-link[aria-current]:is(:hover, :focus, :visited) { background: var(--tpe-accent-fill); color: var(--tpe-on-accent-fill); }
/* Every card's resting shadow (the owner, after the build): the day cards,
   the rows, Still on's cards, the Hosting box and a Featured card's picture;
   on hover with a pointer, below, it lifts a pixel and its shadow deepens,
   its edge unchanged (the owner: subtle). */
.tpe.tpe.tpe.tpe.tpe .tpe-days .tpe-day-link { box-shadow: var(--tpe-shadow-day); transition: box-shadow .18s ease, border-color .18s ease, transform .18s ease; }
.tpe.tpe.tpe.tpe.tpe :is(.tpe-card--later, .tpe-still-list .tpe-card, .tpe-host) { box-shadow: var(--tpe-shadow-card); transition: box-shadow .18s ease, border-color .18s ease, transform .18s ease; }
.tpe.tpe.tpe.tpe.tpe .tpe-days .tpe-day-link:focus:not(:focus-visible) { box-shadow: var(--tpe-shadow-day); }
.tpe.tpe.tpe.tpe.tpe .tpe-days .tpe-day-link[aria-current] { box-shadow: var(--tpe-shadow-day-on); }
.tpe.tpe.tpe.tpe.tpe .tpe-card--poster :is(.tpe-card-img, .tpe-card-band) { overflow: hidden; box-shadow: var(--tpe-shadow-card); transition: box-shadow .18s ease; }
.tpe.tpe.tpe.tpe.tpe .tpe-card--poster .tpe-card-img img { transition: transform .18s ease; }
@media (hover: hover) {
	.tpe.tpe.tpe.tpe.tpe .tpe-days a.tpe-day-link:hover { transform: translateY(-1px); box-shadow: var(--tpe-shadow-day-hover); }
	.tpe.tpe.tpe.tpe.tpe .tpe-card--row:hover .tpe-card-img img { transform: scale(1.04); }
	.tpe.tpe.tpe.tpe.tpe .tpe-card--later:hover,
	.tpe.tpe.tpe.tpe.tpe .tpe-still-list .tpe-card:hover,
	.tpe.tpe.tpe.tpe.tpe .tpe-host:hover { transform: translateY(-1px); box-shadow: var(--tpe-shadow-card-hover); }
	.tpe.tpe.tpe.tpe.tpe .tpe-card--poster:hover :is(.tpe-card-img, .tpe-card-band) { box-shadow: var(--tpe-shadow-card-hover); }
	.tpe.tpe.tpe.tpe.tpe .tpe-card--poster:hover .tpe-card-img img { transform: scale(1.04); }
}

.tpe.tpe.tpe.tpe.tpe .tpe-chip { background: var(--tpe-card); color: var(--tpe-ink); border: 1px solid var(--tpe-line-strong); border-radius: var(--tpe-pill); box-shadow: none; text-transform: none; letter-spacing: normal; text-decoration: none; }
.tpe.tpe.tpe.tpe.tpe .tpe-chip:hover { border-color: currentColor; }
.tpe.tpe.tpe.tpe.tpe .tpe-fb-seg > .tpe-btn { border-radius: var(--tpe-pill); font-size: var(--tpe-fs-md); }
.tpe.tpe.tpe.tpe.tpe .tpe-fb-ctl { min-height: 0; height: auto; padding: 0 var(--tpe-s3) 0 2.75rem; border: 0; border-radius: var(--tpe-pill); background: transparent; color: inherit; }
.tpe.tpe.tpe.tpe.tpe .tpe-pick-sum { background: var(--tpe-accent-2-fill); color: var(--tpe-on-accent-2-fill); border: 0; border-radius: var(--tpe-pill); text-transform: none; letter-spacing: normal; }
.tpe.tpe.tpe.tpe.tpe .tpe-pick--set .tpe-pick-sum { background: var(--tpe-ink); color: #ffffff; text-decoration: none; }
.tpe.tpe.tpe.tpe.tpe .tpe-crumbs a { text-decoration: none; }
.tpe.tpe.tpe.tpe.tpe .tpe-chip[aria-current] { background: var(--tpe-accent-fill); border-color: var(--tpe-accent); color: var(--tpe-on-accent-fill); }
.tpe.tpe.tpe.tpe.tpe .tpe-share-btn { background: var(--tpe-card); color: var(--tpe-ink-2); border: 1px solid var(--tpe-line); border-radius: var(--tpe-radius-sm); box-shadow: none; text-transform: none; letter-spacing: normal; text-decoration: none; }
.tpe.tpe.tpe.tpe.tpe .tpe-share-btn:hover { border-color: var(--tpe-accent); color: var(--tpe-accent-text); }
.tpe.tpe.tpe.tpe.tpe .tpe-share-btn--primary { background: var(--tpe-accent-fill); border-color: var(--tpe-accent-fill); color: var(--tpe-on-accent-fill); }
.tpe.tpe.tpe.tpe.tpe :is(.tpe-facts, .tpe-mapfacade, .tpe-share-link) .tpe-btn { border-radius: var(--tpe-pill); }
/* Add to calendar, as mockingbirdarc's: a white button edged and lettered in
   the theme's colour where that reads on white, else the ink. */
.tpe.tpe.tpe.tpe.tpe .tpe-facts .tpe-cal-btn { background: var(--tpe-card); color: var(--tpe-accent-text); box-shadow: inset 0 0 0 1px var(--tpe-accent); }
.tpe.tpe.tpe.tpe.tpe .tpe-facts .tpe-cal-add[open] > .tpe-cal-btn { background: var(--tpe-tint); color: var(--tpe-ink); }
.tpe.tpe.tpe.tpe.tpe .tpe-cal-menu a { background: transparent; color: inherit; text-decoration: none; }
.tpe.tpe.tpe.tpe.tpe .tpe-cal-menu a:hover { background: var(--tpe-surface); color: var(--tpe-ink); }
/* Focus (the owner, after the build: no default outlines): a click or a tap
   shows no outline and no ring, the theme's or the browser's; the
   keyboard's focus (:focus-visible) draws the plugin's ring, after it at the
   same weight. A ghost button and the arrows keep their own edge and
   shadow when clicked. */
.tpe.tpe.tpe.tpe.tpe :focus { outline: none; box-shadow: none; }
.tpe.tpe.tpe.tpe.tpe .tpe-btn--ghost:focus:not(:focus-visible) { box-shadow: inset 0 0 0 1px var(--tpe-line-strong); }

.tpe.tpe.tpe.tpe.tpe :focus-visible { outline: 2px solid transparent; outline-offset: 2px; box-shadow: var(--tpe-ring); }
.tpe.tpe.tpe.tpe.tpe :is(input, select, textarea):is(:focus, :focus-visible) { outline: none; box-shadow: none; }
.tpe.tpe.tpe.tpe.tpe a:focus:not(.tpe-btn, .tpe-share-btn--primary, .tpe-chip, .tpe-day-link):where(:not(.tpe-ev-desc *, .tpe-widgets *)) { background: transparent; }
/* Hovered while focused, a menu item keeps the hover's grey under its ink:
   at the reset's weight (0,7,1) or more, and after it. */
.tpe.tpe.tpe.tpe.tpe .tpe-cal-menu a:hover:focus { background: var(--tpe-surface); color: var(--tpe-ink); }
.tpe.tpe.tpe.tpe.tpe .tpe-stretch:focus-visible { outline: none; box-shadow: none; }
/* The rows that slide (the day strip, Featured) have no room above and
   below their items: a ring there is drawn inside, so the scroller never
   cuts it. */
.tpe.tpe.tpe.tpe.tpe .tpe-days a:focus-visible,
.tpe.tpe.tpe.tpe.tpe .tpe-lead-list .tpe-stretch:focus-visible::after { outline-offset: -2px; box-shadow: var(--tpe-ring-in); }

/* ---------- Forced colours ----------
   Shadows and fills are not drawn: the focus outline is, in Highlight (with
   the hardened weight, so a theme's rule cannot hide it), a card link's ring
   is an outline on its ::after; every day card of the strip has an edge (a
   day with no events a dashed one); each filter an edge, a set one a
   Highlight edge. */
@media (forced-colors: active) {
	.tpe :focus-visible,
	.tpe.tpe.tpe.tpe.tpe :focus-visible { outline-color: Highlight; }
	.tpe .tpe-stretch:focus-visible::after { outline: 2px solid Highlight; outline-offset: -2px; }
	.tpe.tpe .tpe-day-link { border: 1px solid CanvasText; }
	.tpe.tpe .tpe-day-link--none { border-style: dashed; }
	.tpe.tpe .tpe-day-link[aria-current] { border: 2px solid Highlight; }
	.tpe .tpe-fb-bar:focus-within { border: 2px solid Highlight; }
	/* The chip that is on, a set choice and a search in force: their fills
	   are not drawn, so an edge says it. */
	.tpe .tpe-chip[aria-current],
	.tpe.tpe.tpe.tpe.tpe .tpe-chip[aria-current] { border: 2px solid Highlight; }
	.tpe .tpe-fb-seg--set { border-bottom: 3px solid Highlight; }
	.tpe.tpe.tpe.tpe.tpe .tpe-pick-sum { border: 1px solid CanvasText; }
	.tpe .tpe-pick--set .tpe-pick-sum,
	.tpe.tpe.tpe.tpe.tpe .tpe-pick--set .tpe-pick-sum { border: 2px solid Highlight; }
	.tpe .tpe-host { border: 1px solid CanvasText; }
	.tpe .tpe-when--pill,
	.tpe .tpe-feat--photo,
	.tpe .tpe-card-band .tpe-catimg--cover ~ .tpe-datebox { border: 1px solid currentColor; }
}

/* ---------- Print (components.md section 9): theme colours become black ----------
   Printers drop fills, so a fill turns white under black text. The
   calendar's tools, and on an event page its breadcrumb, share row and
   related events, are hidden; the print lines are shown. On an event page
   the theme's chrome is hidden by element, and only there (body
   .tpe-event-page): its header, footer, nav and aside, the admin bar and a
   block theme's template parts, unless one holds the page's h1 or the
   plugin's root (a classic theme's entry header holds the title). */
@media print {
	.tpe { --tpe-accent: #000000; --tpe-accent-2: #000000; --tpe-ink: #000000; --tpe-accent-fill: #ffffff; --tpe-on-accent-fill: #000000; --tpe-accent-text: #000000; --tpe-accent-2-text: #000000; color: #000000; }
	.tpe.tpe:is(.tpe-brand-1-ok, .tpe-accent-ink) { --tpe-accent-fill: #ffffff; --tpe-on-accent-fill: #000000; }
	.tpe.tpe:is(.tpe-brand-2-ok, .tpe-accent-2-ink, .tpe-accent-2-white) { --tpe-accent-2-fill: #ffffff; --tpe-on-accent-2-fill: #000000; }
	.tpe .tpe-fb,
	.tpe .tpe-days,
	.tpe .tpe-pager,
	.tpe .tpe-crumbs,
	.tpe .tpe-share-row,
	.tpe .tpe-mapfacade,
	.tpe .tpe-map-dir,
	.tpe .tpe-map-note,
	.tpe .tpe-map-canvas,
	.tpe .tpe-related-wrap,
	.tpe .tpe-side,
	.tpe .tpe-titlerow .tpe-btn,
	.tpe .tpe-days-credit,
	.tpe .tpe-slide { display: none !important; }
	.tpe .tpe-host { animation: none; }
	.tpe.tpe.tpe.tpe.tpe.tpe :is(.tpe-day-link, .tpe-card--row, .tpe-card--later, .tpe-card, .tpe-host, .tpe-card-img, .tpe-card-band) { box-shadow: none; transform: none; }
	.tpe .tpe-lead-list { grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 1fr)); overflow: visible; }
	.tpe .tpe-cal-desc { display: block; -webkit-line-clamp: none; line-clamp: none; overflow: visible; }
	.tpe .tpe-print-only { display: block; }
	.tpe .tpe-print-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--tpe-s2); padding-bottom: var(--tpe-s2); border-bottom: 1.5pt solid #000000; font-size: 10pt; }
	.tpe .tpe-print-foot { padding-top: var(--tpe-s3); border-top: .75pt solid #999999; font-size: 10pt; }
	.tpe.tpe .tpe-ev-body { display: flex; gap: var(--tpe-s4); }
	.tpe.tpe .tpe-ev-body > * + * { margin-top: 0; }
	.tpe.tpe :is(.tpe-facts, .tpe-facts dl) { margin: 0; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; color: #000000; }
	.tpe.tpe .tpe-facts dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--tpe-s5); }
	.tpe .tpe-ev-band,
	.tpe .tpe-cal-add,
	.tpe .tpe-fact-icon,
	.tpe .tpe-map-pin { display: none !important; }
	.tpe.tpe .tpe-fact { padding-left: 0; }
	.tpe.tpe .tpe-ev-image { max-height: 9cm; }
	.tpe.tpe .tpe-ev-title { font-size: 24pt; }
	.tpe.tpe .tpe-ev-summary { font-size: 13pt; }
	.tpe.tpe .tpe-ev-cat { min-height: 0; padding: 0; background: none; color: #000000; }
	.tpe .tpe-fact dd span,
	.tpe .tpe-facts-zone,
	.tpe .tpe-facts-repeat,
	.tpe .tpe-map-note,
	.tpe .tpe-ev-summary,
	.tpe .tpe-dates li:is(.is-past, .is-off) .tpe-dates-day,
	.tpe .tpe-dates-time { color: #000000; }
	.tpe .tpe-dates-tag { background: none; color: #000000; box-shadow: inset 0 0 0 1px #000000; }
	.tpe .tpe-banner { background: none; color: #000000; box-shadow: inset 0 0 0 1px #000000; }
	.tpe.tpe.tpe.tpe.tpe .tpe-btn--dark { background: none; color: #000000; }
	.tpe.tpe.tpe.tpe.tpe .tpe-facts .tpe-btn { justify-content: flex-start; padding: 0; min-height: 0; background: none; color: #000000; }
	.tpe .tpe-facts .tpe-btn[href^="http"]::after { content: " (" attr(href) ")"; font-weight: 400; }
	body.tpe-event-page :is(header, footer, nav, aside):not(.tpe *):not(:has(h1, .tpe)),
	body.tpe-event-page #wpadminbar,
	body.tpe-event-page .wp-block-template-part:not(:has(h1, .tpe)) { display: none !important; }
}

/* ---------- Container widths: the component follows its own width ---------- */
@container tpe (min-width: 1000px) {
	/* Two columns: the lists, and the aside beside both from the first
	   list's top. The second row takes what the aside adds, so the second
	   list follows the first straight on. */
	.tpe .tpe-layout--side { display: grid; grid-template-columns: minmax(0, 1fr) var(--tpe-w-side); grid-template-rows: auto 1fr; column-gap: var(--tpe-s6); row-gap: var(--tpe-s5); align-items: start; }
	.tpe .tpe-layout--side > .tpe-list--top { grid-column: 1; grid-row: 1; }
	.tpe .tpe-layout--side > .tpe-list--rest { grid-column: 1; grid-row: 2; }
	.tpe .tpe-side { grid-column: 2; grid-row: 1 / 3; align-self: start; }
	/* The hero's own form: a wider picture. */
	.tpe .tpe-card--hero .tpe-card-img,
	.tpe .tpe-card--hero .tpe-card-band { aspect-ratio: 2 / 1; }
}
/* The Featured block under 600 px of its list (beside the sidebar, or the
   whole calendar): each card most of the list's width, the next one showing
   at the edge; no "Picked by". */
@container tpe-list (max-width: 599px) {
	.tpe .tpe-lead-list { grid-auto-columns: 80%; }

}
/* Mid: a side card takes the grid card's look. */
@container tpe (min-width: 600px) and (max-width: 999px) {
	.tpe .tpe-card--side { display: flex; flex-direction: column; }
	.tpe .tpe-card--side .tpe-card-img,
	.tpe .tpe-card--side .tpe-card-band { aspect-ratio: var(--tpe-ar-card); min-height: 0; }
	.tpe .tpe-card--side .tpe-when--pill { display: block; }
	.tpe .tpe-card--side .tpe-feat--photo { display: inline-flex; }
	.tpe .tpe-card--side .tpe-card-body > .tpe-when,
	.tpe .tpe-card--side .tpe-card-body > .tpe-feat { display: none; }
}
/* Mid and narrow: under 1000 px (900 to 999 px is not drawn and takes the
   mid layout, the nearer drawn one). */
@container tpe (max-width: 999px) {
	.tpe .tpe-count { font-size: var(--tpe-fs-ui); }
}
@container tpe (max-width: 599px) {
	.tpe .tpe-cal { gap: var(--tpe-s4); }
	.tpe .tpe-cal-title { font-size: var(--tpe-fs-3xl); }
	/* The tail line under the form (section 8), and 44 px targets. */

	.tpe .tpe-add { min-height: var(--tpe-target); }
	.tpe .tpe-chip,
	.tpe .tpe-pick-list a,
	.tpe .tpe-fb-seg { min-block-size: var(--tpe-target); }
	.tpe .tpe-fb-seg > .tpe-btn { padding: 0 var(--tpe-s3); }
	.tpe .tpe-fb-seg > .tpe-fb-label { right: 6rem; }
	.tpe .tpe-chip { padding: 0 .9375rem; font-size: var(--tpe-fs-ui); }
	/* A phone: day cards at least 124 px wide (the owner's phone mock),
	   the row sliding on; their arrangement is the narrow card's below. */
	.tpe .tpe-days li { flex: 0 0 max(7.75rem, 124px); }
	.tpe .tpe-days .tpe-day-link { min-block-size: 9.5rem; }
	/* A phone: no arrow, the rows slide by touch. */
	.tpe .tpe-slide:not([hidden]) { display: none; }
	.tpe .tpe-sliding { padding-inline: 0; }
	.tpe .tpe-day-link,
	.tpe .tpe-pager-link { min-block-size: var(--tpe-target); }
	/* The rows: a 64 px picture, the pills under the date line. */
	/* The filters on a phone (design 2): their names in one row, each over
	   a bar in the second colour; a set one's bar thicker. */
	.tpe .tpe-picks { flex-wrap: nowrap; gap: 0; }
	.tpe .tpe-picks-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
	.tpe.tpe.tpe.tpe.tpe .tpe-pick-sum { position: relative; min-block-size: 2.75rem; padding: 0 .5rem; border-radius: .5rem; background: transparent; color: var(--tpe-ink); font-size: .9375rem; font-weight: 700; }
	.tpe.tpe.tpe.tpe.tpe .tpe-pick--set .tpe-pick-sum { background: transparent; color: var(--tpe-ink); }
	.tpe .tpe-pick-sum::after { content: ""; position: absolute; inset-inline: .5rem; bottom: .5rem; border-bottom: 2px solid var(--tpe-accent-2); border-radius: 2px; }
	.tpe .tpe-pick--set .tpe-pick-sum::after { border-bottom-width: 4px; bottom: .375rem; }
	/* A day heading on a phone: the date under the word. */
	.tpe .tpe-dayhead { flex-direction: column; align-items: flex-start; }
	/* A row on a phone: the picture over the body, full width. */
	.tpe .tpe-card--row { grid-template-columns: minmax(0, 1fr); }
	.tpe .tpe-card--row .tpe-card-img,
	.tpe .tpe-card--row .tpe-card-band,
	.tpe .tpe-card--row.tpe-card--plain::before { grid-column: 1; grid-row: 1; }
	.tpe .tpe-card--row .tpe-card-body { grid-column: 1; grid-row: 2; }
	.tpe .tpe-card--row .tpe-cat { flex-direction: column; }
	.tpe .tpe-cathead:has(> .tpe-catimg) { display: flex; }

	.tpe .tpe-still-list { grid-template-columns: 1fr; }
	/* An event page's cards become rows: a 108 px square beside the body, a
	   rule under each, no category and no note; the time and the Featured
	   word move into the body. */
	.tpe .tpe-related .tpe-card { display: grid; grid-template-columns: var(--tpe-w-thumb) minmax(0, 1fr); align-items: start; gap: var(--tpe-s3); padding: var(--tpe-s3) 0; border: 0; border-bottom: 1px solid var(--tpe-line); border-radius: 0; }
	.tpe .tpe-related .tpe-card-img,
	.tpe .tpe-related .tpe-card-band { aspect-ratio: var(--tpe-ar-thumb); border-radius: var(--tpe-radius-sm); overflow: hidden; }
	.tpe .tpe-related .tpe-card-body { padding: 0; gap: var(--tpe-s1); }
	.tpe .tpe-related .tpe-card .tpe-title { font-size: var(--tpe-fs-md-plus); }
	.tpe .tpe-related .tpe-card :is(.tpe-cat, .tpe-note, .tpe-when--pill, .tpe-feat--photo) { display: none; }
	.tpe .tpe-related .tpe-card-body > .tpe-when { display: block; order: -1; }
	.tpe .tpe-related .tpe-card-body > .tpe-feat { display: inline-flex; }
	.tpe .tpe-related .tpe-card-band .tpe-datebox { top: var(--tpe-s1-5); left: var(--tpe-s1-5); }
	.tpe .tpe-related { gap: 0; }
	/* Tap targets of 44 px for the text links, without moving the layout:
	   the padding is taken back by an equal negative margin. */
	.tpe .tpe-link,
	.tpe .tpe-crumbs a,
	.tpe .tpe-banner-links a { display: inline-block; padding-block: calc((var(--tpe-target) - 1.45em) / 2); margin-block: calc((1.45em - var(--tpe-target)) / 2); }
	.tpe .tpe-empty { padding: var(--tpe-s4); }
	.tpe .tpe-related { grid-template-columns: 1fr; }
}

/* ---------- Event page (plan 1c), continued: forced colours and widths ----------
   After every other rule of the file, print included: the print block's
   event rules are heavier (.tpe.tpe) so these do not undo them on paper. */
/* Forced colours: the facts card, the banners, the tags, the chips, the
   band's date box and the buttons lose their fills and shadows, so each
   keeps an edge. */
@media (forced-colors: active) {
	.tpe :is(.tpe-facts, .tpe-banner, .tpe-banner-icon, .tpe-dates-tag, .tpe-ev-cat, .tpe-share-btn, .tpe-share-panel, .tpe-mapfacade) { border: 1px solid currentColor; }
	/* A rule of its own, at its own weight. */
	.tpe .tpe-ev-band .tpe-datebox { border: 1px solid currentColor; }
	/* Heavier than the hardening block, whose border: 0 would win. It
	   reaches every button of the plugin, the calendar's and the form's
	   too: an edge where fills are not drawn, kept as an accessibility gain
	   (the controller's ruling, fix round 2). */
	.tpe.tpe.tpe.tpe.tpe.tpe .tpe-btn { border: 1px solid ButtonText; }
}
/* Wide: the side column on the right, as mockingbirdarc's; the main
   column's parts take the rows in order, and the last row takes up what
   the side column is taller by. */
@container tpe (min-width: 1000px) {
	.tpe .tpe-ev-body--side { display: grid; grid-template-columns: minmax(0, 1fr) 20rem; grid-template-rows: repeat(5, auto) 1fr; column-gap: var(--tpe-s7); row-gap: 0; align-items: start; }
	.tpe .tpe-ev-body--side > * { grid-column: 1; }
	.tpe .tpe-ev-body--side > * + * { margin-top: var(--tpe-s5); }
	.tpe .tpe-ev-body--side > .tpe-ev-side { grid-column: 2; grid-row: 1 / -1; margin-top: 0; }
}
/* The related cards stay three across down to 600 px of the calendar (an
   866 px theme column drew two and wrapped the third: never 2 + 1); below
   it they are rows, one under another (the narrow rule). */
/* Narrow: the share row under the title, the head smaller, the map 200 px
   high, the targets 44 px. */
@container tpe (max-width: 599px) {
	.tpe .tpe-ev { gap: var(--tpe-s4); }
	.tpe .tpe-ev-titlerow { flex-direction: column; }
	.tpe .tpe-share { justify-content: flex-start; }
	.tpe .tpe-share-btn { width: var(--tpe-target); height: var(--tpe-target); }
	.tpe .tpe-share-panel { left: 0; right: auto; }
	.tpe .tpe-share-status { text-align: left; }
	.tpe .tpe-ev-band .tpe-datebox strong { font-size: var(--tpe-fs-date-lg); }
	.tpe .tpe-ev-body { gap: var(--tpe-s4); }
	.tpe .tpe-ev-cat { min-height: var(--tpe-target); }
	.tpe .tpe-ev-title { font-size: var(--tpe-fs-3xl-plus); }
	.tpe .tpe-ev-summary { font-size: var(--tpe-fs-md-plus); }
	.tpe .tpe-ev-h2 { font-size: var(--tpe-fs-xl); }
	.tpe .tpe-related-head .tpe-ev-h2 { font-size: var(--tpe-fs-xl); }
	.tpe .tpe-related-all { min-height: var(--tpe-target); }
	/* The related cards are rows on a phone (plan 1b's narrow rule); the
	   mid rule above, later than plan 1b's, must not undo it. */
	.tpe .tpe-related { grid-template-columns: 1fr; }
	.tpe .tpe-banner { font-size: var(--tpe-fs-md); padding: var(--tpe-s3-5) var(--tpe-s4); }
	.tpe .tpe-mapfacade { min-height: 12.5rem; background-size: 2rem 2rem; }
	.tpe .tpe-map-dir { min-height: var(--tpe-target); }
	/* A fact's link is a 44 px target; links stacked in a fact keep their
	   whole 44 px each, so no two overlap. */
	.tpe .tpe-fact-link { display: inline-flex; align-items: center; min-height: var(--tpe-target); margin-top: 0; }
	.tpe .tpe-fact dd a { margin-block: 0; }
	.tpe .tpe-cal-menu a { min-height: var(--tpe-target); }
}
/* ---------- End of the event page (plan 1c) ---------- */

/* ---------- The widgets (includes/public/widgets.php) ----------
   Upcoming events, the sidebar's list: each event one link, a small square
   picture, the title and the date line, then "See all events". This
   week's events, the home page's strip (mockingbirdarc's home page events
   band): the heading with the link at its right, then four picture cards
   across that slide on (no scrollbar drawn, a snap to each card), most of
   the strip's width each on a phone. A theme's widget area styles links,
   lists and pictures of its own, so the parts that a theme sets are held
   as the calendar's other hardened rules are. */

.tpe.tpe-wg { margin-block: 0 var(--tpe-s5); color: inherit; }
.tpe .tpe-wg-title { margin: 0 0 var(--tpe-s4); font-size: clamp(1.25rem, 4cqi, 1.75rem); font-weight: 800; line-height: 1.2; color: var(--tpe-accent-text); }
.tpe .tpe-up-list { display: flex; flex-direction: column; gap: var(--tpe-s3); margin: 0; padding: 0; list-style: none; }
.tpe .tpe-up-item { margin: 0; padding: 0; }
.tpe .tpe-up-link { display: flex; align-items: center; gap: var(--tpe-s3); color: inherit; text-decoration: none; }
.tpe .tpe-up-pic { flex: none; inline-size: 4.5rem; block-size: 4.5rem; aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: var(--tpe-tint); color: var(--tpe-ink); box-shadow: var(--tpe-shadow-card); transition: box-shadow .18s ease; }
.tpe .tpe-up-pic img { display: block; inline-size: 100%; block-size: 100%; max-inline-size: none; object-fit: cover; }
.tpe .tpe-up-text { display: flex; flex-direction: column; gap: .125rem; min-width: 0; }
.tpe .tpe-up-name { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; font-weight: 700; line-height: 1.3; color: var(--tpe-accent-text); }
.tpe .tpe-up-when { font-size: .875rem; line-height: 1.35; color: var(--tpe-accent-2-text); }
/* "See all events": a small link in the first colour at the right of the
   list's heading (the owner), or after the last event, inline, where a
   classic widget area prints the heading. */
.tpe .tpe-wg-more { flex: none; font-size: .875rem; font-weight: 700; line-height: 1.3; color: var(--tpe-accent-text); text-decoration: none; white-space: nowrap; }
.tpe .tpe-up-more { display: inline-block; margin-block-start: var(--tpe-s2); }

.tpe .tpe-wg-head { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: var(--tpe-s3) var(--tpe-s4); margin: 0 0 var(--tpe-s4); }
.tpe .tpe-wg-head .tpe-wg-title { margin: 0; }
.tpe .tpe-strip-list { display: grid; margin: calc(-1 * var(--tpe-s3)) calc(-1 * var(--tpe-s1)); padding: var(--tpe-s3) var(--tpe-s1); list-style: none; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * var(--tpe-s4)) / 4); gap: var(--tpe-s4); overflow-x: auto; scrollbar-width: none; scroll-snap-type: x mandatory; }
.tpe .tpe-strip-list::-webkit-scrollbar { display: none; }
.tpe .tpe-strip-list > li { display: flex; min-width: 0; margin: 0; padding: 0; scroll-snap-align: start; }
.tpe .tpe-strip-list .tpe-card--poster .tpe-title { font-size: 1.125rem; font-weight: 700; line-height: 1.3; }
@container tpe (max-width: 599px) {
	.tpe .tpe-strip-list { grid-auto-columns: 80%; }
}

/* Held against a theme's widget area: no bullets, no underline (on hover
   neither), the picture its square, the title's colour; hover a shadow
   only; the ring on a key's focus, none on a click. */
.tpe.tpe.tpe.tpe.tpe .tpe-up-list,
.tpe.tpe.tpe.tpe.tpe .tpe-strip-list { list-style: none; }
.tpe.tpe.tpe.tpe.tpe .tpe-up-item,
.tpe.tpe.tpe.tpe.tpe .tpe-strip-list > li { margin: 0; padding: 0; border: 0; background: none; }
.tpe.tpe.tpe.tpe.tpe .tpe-up-item::before,
.tpe.tpe.tpe.tpe.tpe .tpe-strip-list > li::before { content: none; }
.tpe.tpe.tpe.tpe.tpe .tpe-up-link,
.tpe.tpe.tpe.tpe.tpe .tpe-up-link:hover,
.tpe.tpe.tpe.tpe.tpe .tpe-up-link:focus { color: inherit; text-decoration: none; box-shadow: none; outline: 0; }
.tpe.tpe.tpe.tpe.tpe .tpe-up-pic img { inline-size: 100%; block-size: 100%; max-inline-size: none; margin: 0; border: 0; border-radius: 0; object-fit: cover; }
.tpe.tpe.tpe.tpe.tpe .tpe-up-name { color: var(--tpe-accent-text); }
.tpe.tpe.tpe.tpe.tpe .tpe-up-link:focus-visible .tpe-up-pic { box-shadow: var(--tpe-ring); }
.tpe.tpe.tpe.tpe.tpe .tpe-wg-all { text-decoration: none; }
.tpe.tpe.tpe.tpe.tpe .tpe-wg-more,
.tpe.tpe.tpe.tpe.tpe .tpe-wg-more:hover,
.tpe.tpe.tpe.tpe.tpe .tpe-wg-more:focus { color: var(--tpe-accent-text); text-decoration: none; background: none; box-shadow: none; outline: 0; }
.tpe.tpe.tpe.tpe.tpe .tpe-wg-more:focus-visible { box-shadow: var(--tpe-ring); }
.tpe.tpe.tpe.tpe.tpe .tpe-up-pic { inline-size: 4.5rem; block-size: 4.5rem; border-radius: 50%; overflow: hidden; }
@media (hover: hover) {
	.tpe.tpe.tpe.tpe.tpe .tpe-up-link:hover .tpe-up-pic { box-shadow: var(--tpe-shadow-card-hover); }
}

/* The calendar's sub-heading and description (the owner, on the live site:
   no margin under the sub-heading): no margin of a theme's paragraphs
   around them; the calendar's own gap spaces them and the search bar. */
.tpe.tpe.tpe.tpe.tpe .tpe-cal-sub { margin: 0; }
.tpe.tpe.tpe.tpe.tpe .tpe-cal-desc > :first-child { margin-block-start: 0; }
.tpe.tpe.tpe.tpe.tpe .tpe-cal-desc > :last-child { margin-block-end: 0; }

/* The event page's own breadcrumbs, where drawn: one line, a separator
   between the crumbs, whatever a theme does to lists. */
.tpe.tpe.tpe.tpe.tpe .tpe-crumbs ol { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--tpe-s1) var(--tpe-s2); margin: 0; padding: 0; list-style: none; }
.tpe.tpe.tpe.tpe.tpe .tpe-crumbs li { display: inline-flex; align-items: baseline; margin: 0; padding: 0; list-style: none; }
.tpe.tpe.tpe.tpe.tpe .tpe-crumbs li::before { content: none; }
.tpe.tpe.tpe.tpe.tpe .tpe-crumbs li + li::before { content: "/"; margin-inline-end: var(--tpe-s2); }
