/* layer: preflights */
*,::before,::after{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-ring-offset-shadow:0 0 rgb(0 0 0 / 0);--un-ring-shadow:0 0 rgb(0 0 0 / 0);--un-shadow-inset: ;--un-shadow:0 0 rgb(0 0 0 / 0);--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgb(147 197 253 / 0.5);--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;}::backdrop{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-ring-offset-shadow:0 0 rgb(0 0 0 / 0);--un-ring-shadow:0 0 rgb(0 0 0 / 0);--un-shadow-inset: ;--un-shadow:0 0 rgb(0 0 0 / 0);--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgb(147 197 253 / 0.5);--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;}
/* layer: ui */
:where(:root,:host){--font-size:100%;--duration:0.15s;--space:1;--strength-soft:0.05;--strength-medium:0.1;--strength-hard:0.25;--shadow-color:0 0% 0%;--shadow-strength:1;--radius-full:9999px;--tint-strength:0.08;--hover-strength:0.1;--well-strength:0.04;--disabled-opacity:0.5;--backdrop-strength:0.5;--track-strength:0.2;--text-xs:0.75rem;--text-sm:0.875rem;--text-base:1rem;--text-lg:1.125rem;--text-xl:1.25rem;--text-2xl:1.5rem;--text-3xl:1.75rem;--text-4xl:2rem;--canvas:0 0% 100%;--ink:0 0% 3.9%;--muted:0 0% 40%;--card:0 0% 100%;--primary:0 0% 9%;--primary-contrast:0 0% 98%;--secondary:328.1 90% 57.2%;--secondary-contrast:0 0% 3.9%;--accent:173.3 100% 41.3%;--accent-contrast:0 0% 3.9%;--destructive:0 84.2% 46%;--destructive-contrast:0 0% 98%;--success:142 71% 29%;--success-contrast:0 0% 98%;--warning:26 90% 37%;--warning-contrast:0 0% 98%;--info:221 83% 53%;--info-contrast:0 0% 98%;--ring:0 0% 3.9%;--canvas-light:0 0% 100%;--canvas-dark:0 0% 90%;--primary-light:0 0% 19%;--primary-dark:0 0% 0%;--secondary-light:328.1 90% 67.2%;--secondary-dark:328.1 90% 47.2%;--accent-light:173.3 100% 51.3%;--accent-dark:173.3 100% 31.3%;--destructive-light:0 84.2% 56%;--destructive-dark:0 84.2% 36%;--success-light:142 71% 39%;--success-dark:142 71% 19%;--warning-light:26 90% 47%;--warning-dark:26 90% 27%;--info-light:221 83% 63%;--info-dark:221 83% 43%;--primary-50:0 0% 97%;--primary-100:0 0% 92%;--primary-200:0 0% 82%;--primary-300:0 0% 73%;--primary-400:0 0% 63%;--primary-500:0 0% 53%;--primary-600:0 0% 43%;--primary-700:0 0% 33%;--primary-800:0 0% 24%;--primary-900:0 0% 14%;--primary-950:0 0% 9%;--secondary-50:328.1 90% 97%;--secondary-100:328.1 90% 93%;--secondary-200:328.1 90% 84%;--secondary-300:328.1 90% 75%;--secondary-400:328.1 90% 66%;--secondary-500:328.1 90% 57%;--secondary-600:328.1 90% 46%;--secondary-700:328.1 90% 35%;--secondary-800:328.1 90% 24%;--secondary-900:328.1 90% 13%;--secondary-950:328.1 90% 8%;--accent-50:173.3 100% 97%;--accent-100:173.3 100% 92%;--accent-200:173.3 100% 82%;--accent-300:173.3 100% 72%;--accent-400:173.3 100% 62%;--accent-500:173.3 100% 51%;--accent-600:173.3 100% 41%;--accent-700:173.3 100% 32%;--accent-800:173.3 100% 22%;--accent-900:173.3 100% 13%;--accent-950:173.3 100% 8%;--radius:0.5rem;--icon-size:1.25rem;color-scheme:light;}
:where(:root,:host,[data-theme]){--unit:calc(0.25rem * var(--space));--radius-sm:calc(var(--radius) - 4px);--radius-md:calc(var(--radius) - 2px);--radius-xl:calc(var(--radius) + 4px);--focus-ring:0 0 0 3px hsl(var(--ring) / 0.5);--focus-ring-invalid:0 0 0 3px hsl(var(--destructive) / 0.2);--shadow-soft:0 1px 2px 0 hsl(var(--shadow-color) / calc(0.05 * var(--shadow-strength)));--shadow:0 4px 6px -1px hsl(var(--shadow-color) / calc(0.1 * var(--shadow-strength))), 0 2px 4px -2px hsl(var(--shadow-color) / calc(0.1 * var(--shadow-strength)));--shadow-hard:0 10px 15px -3px hsl(var(--shadow-color) / calc(0.1 * var(--shadow-strength))), 0 4px 6px -4px hsl(var(--shadow-color) / calc(0.1 * var(--shadow-strength)));--border-color-soft:hsl(var(--ink) / var(--strength-soft));--border-color:hsl(var(--ink) / var(--strength-medium));--border-color-hard:hsl(var(--ink) / var(--strength-hard));--primary-text:var(--primary);--destructive-text:var(--destructive);--success-text:var(--success);--warning-text:var(--warning);--info-text:var(--info);--well:hsl(var(--shadow-color) / var(--well-strength));--hover:hsl(var(--ink) / var(--hover-strength));}
:where([data-theme=dark]){--canvas:227.2 24.5% 12.8%;--ink:215.1 100% 97.7%;--muted:222.1 29.1% 73.9%;--card:227.2 24.5% 15.8%;--primary:37.6 100% 64.6%;--primary-contrast:39.8 100% 16.8%;--secondary:328.1 90% 57.2%;--secondary-contrast:328 80% 10%;--accent:173.3 100% 41.3%;--accent-contrast:173 100% 8%;--destructive:2.9 93.7% 72%;--destructive-contrast:350.7 100% 22.1%;--success:142 69% 58%;--success-contrast:144 80% 10%;--warning:38 92% 60%;--warning-contrast:26 83% 14%;--info:213 94% 68%;--info-contrast:226 57% 21%;--ring:37.6 100% 64.6%;--canvas-light:227.2 24.5% 22.8%;--canvas-dark:227.2 24.5% 2.8%;--primary-light:37.6 100% 74.6%;--primary-dark:37.6 100% 54.6%;--secondary-light:328.1 90% 67.2%;--secondary-dark:328.1 90% 47.2%;--accent-light:173.3 100% 51.3%;--accent-dark:173.3 100% 31.3%;--destructive-light:2.9 93.7% 82%;--destructive-dark:2.9 93.7% 62%;--success-light:142 69% 68%;--success-dark:142 69% 48%;--warning-light:38 92% 70%;--warning-dark:38 92% 50%;--info-light:213 94% 78%;--info-dark:213 94% 58%;--primary-50:37.6 100% 97%;--primary-100:37.6 100% 92%;--primary-200:37.6 100% 83%;--primary-300:37.6 100% 74%;--primary-400:37.6 100% 65%;--primary-500:37.6 100% 54%;--primary-600:37.6 100% 44%;--primary-700:37.6 100% 34%;--primary-800:37.6 100% 23%;--primary-900:37.6 100% 13%;--primary-950:37.6 100% 8%;--secondary-50:328.1 90% 97%;--secondary-100:328.1 90% 93%;--secondary-200:328.1 90% 84%;--secondary-300:328.1 90% 75%;--secondary-400:328.1 90% 66%;--secondary-500:328.1 90% 57%;--secondary-600:328.1 90% 46%;--secondary-700:328.1 90% 35%;--secondary-800:328.1 90% 24%;--secondary-900:328.1 90% 13%;--secondary-950:328.1 90% 8%;--accent-50:173.3 100% 97%;--accent-100:173.3 100% 92%;--accent-200:173.3 100% 82%;--accent-300:173.3 100% 72%;--accent-400:173.3 100% 62%;--accent-500:173.3 100% 51%;--accent-600:173.3 100% 41%;--accent-700:173.3 100% 32%;--accent-800:173.3 100% 22%;--accent-900:173.3 100% 13%;--accent-950:173.3 100% 8%;--well-strength:0.4;color-scheme:dark;}
@media (prefers-color-scheme: dark){:where(:root,:host):not([data-theme=light]){--canvas:227.2 24.5% 12.8%;--ink:215.1 100% 97.7%;--muted:222.1 29.1% 73.9%;--card:227.2 24.5% 15.8%;--primary:37.6 100% 64.6%;--primary-contrast:39.8 100% 16.8%;--secondary:328.1 90% 57.2%;--secondary-contrast:328 80% 10%;--accent:173.3 100% 41.3%;--accent-contrast:173 100% 8%;--destructive:2.9 93.7% 72%;--destructive-contrast:350.7 100% 22.1%;--success:142 69% 58%;--success-contrast:144 80% 10%;--warning:38 92% 60%;--warning-contrast:26 83% 14%;--info:213 94% 68%;--info-contrast:226 57% 21%;--ring:37.6 100% 64.6%;--canvas-light:227.2 24.5% 22.8%;--canvas-dark:227.2 24.5% 2.8%;--primary-light:37.6 100% 74.6%;--primary-dark:37.6 100% 54.6%;--secondary-light:328.1 90% 67.2%;--secondary-dark:328.1 90% 47.2%;--accent-light:173.3 100% 51.3%;--accent-dark:173.3 100% 31.3%;--destructive-light:2.9 93.7% 82%;--destructive-dark:2.9 93.7% 62%;--success-light:142 69% 68%;--success-dark:142 69% 48%;--warning-light:38 92% 70%;--warning-dark:38 92% 50%;--info-light:213 94% 78%;--info-dark:213 94% 58%;--primary-50:37.6 100% 97%;--primary-100:37.6 100% 92%;--primary-200:37.6 100% 83%;--primary-300:37.6 100% 74%;--primary-400:37.6 100% 65%;--primary-500:37.6 100% 54%;--primary-600:37.6 100% 44%;--primary-700:37.6 100% 34%;--primary-800:37.6 100% 23%;--primary-900:37.6 100% 13%;--primary-950:37.6 100% 8%;--secondary-50:328.1 90% 97%;--secondary-100:328.1 90% 93%;--secondary-200:328.1 90% 84%;--secondary-300:328.1 90% 75%;--secondary-400:328.1 90% 66%;--secondary-500:328.1 90% 57%;--secondary-600:328.1 90% 46%;--secondary-700:328.1 90% 35%;--secondary-800:328.1 90% 24%;--secondary-900:328.1 90% 13%;--secondary-950:328.1 90% 8%;--accent-50:173.3 100% 97%;--accent-100:173.3 100% 92%;--accent-200:173.3 100% 82%;--accent-300:173.3 100% 72%;--accent-400:173.3 100% 62%;--accent-500:173.3 100% 51%;--accent-600:173.3 100% 41%;--accent-700:173.3 100% 32%;--accent-800:173.3 100% 22%;--accent-900:173.3 100% 13%;--accent-950:173.3 100% 8%;--well-strength:0.4;color-scheme:dark;}}
/* Flat CSS for the 5-year browser floor: no nesting, no layers, no color-mix. Tokens (preset.mjs) are HSL channels, so alpha is hsl(var(--x) / a). */

/*
 * What a theme sets (preset.mjs holds the defaults; a [data-theme] block overrides any of them):
 *   colours      --canvas --ink --muted --card --ring, and --primary --destructive --success --warning --info each with a -contrast, and -light, -dark and -text steps on the fills (the -text defaults to the fill) and --canvas. --well and --hover are derived overlays of the shadow colour and the ink
 *   type         --font-size (on html), --text-xs to --text-4xl, --font-base --font-heading --font-mono
 *   space        --space, the density multiplier behind --unit
 *   shape        --radius, with --radius-sm --radius-md --radius-xl derived from it, and --radius-full for pills and dots
 *   strengths    --strength-soft --strength-medium --strength-hard, the opacity of the -soft, -medium and -hard color variants and of the ink every border is drawn in
 *   shadows      --shadow-color (black by default) and --shadow-strength, behind --shadow-soft --shadow --shadow-hard
 *   focus        --ring, behind --focus-ring and --focus-ring-invalid
 *   tints        --tint-strength, how strongly an alert washes its colour
 *   states       --hover-strength (the ink tint of a hovered button or row), --well-strength (how dark a recess is, set again by dark), --disabled-opacity, --backdrop-strength (a modal's dim) and --track-strength (a progress bar's or spinner's faint track)
 *   motion       --duration, zero under prefers-reduced-motion
 */

:root,
:host {
	--chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
	--tick: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}

body {
	margin: 0;
	background: hsl(var(--canvas));
	color: hsl(var(--ink));
	-webkit-font-smoothing: antialiased;
}

/* reset: only what browsers disagree on or the elements rely on, at zero specificity so the base and every class win */

*,
::before,
::after {
	box-sizing: border-box;
	border: 0 solid var(--border-color);
}

:where(html) {
	font-size: var(--font-size);
	line-height: 1.5;
	-webkit-text-size-adjust: 100%;
	tab-size: 4;
	font-family: var(--font-base, ui-sans-serif), system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
	-webkit-tap-highlight-color: transparent;
}

:where(blockquote, dl, dd, h1, h2, h3, h4, h5, h6, hr, figure, p, pre, fieldset, ul, ol, menu) {
	margin: 0;
}

:where(fieldset, legend, ul, ol, menu) {
	padding: 0;
}

:where(button, input, optgroup, select, textarea) {
	margin: 0;
	padding: 0;
	color: inherit;
	font: inherit;
}

:where(button, select) {
	text-transform: none;
}

:where(button, [type=button], [type=reset], [type=submit]) {
	-webkit-appearance: button;
	background-color: transparent;
	background-image: none;
}

:where(table) {
	text-indent: 0;
	border-color: inherit;
	border-collapse: collapse;
}

:where(img, svg, video, canvas, audio, iframe, embed, object) {
	display: block;
	vertical-align: middle;
}

:where(img, video) {
	max-width: 100%;
	height: auto;
}

::placeholder {
	opacity: 1;
}

[hidden]:where(:not([hidden=until-found])) {
	display: none !important;
}

/* base: bare tags follow the theme and nothing more, at zero specificity. The type scale, spacing and list markers are .prose. */

:where(h1, h2, h3, h4, h5, h6) {
	font-family: var(--font-heading, inherit);
	font-size: inherit;
	font-weight: inherit;
}

:where(a) {
	color: inherit;
	text-decoration: inherit;
}

:where(ul, ol, menu) {
	list-style: none;
}

:where(hr) {
	height: 0;
	border-top-width: 1px;
}

:where(code, kbd, samp, pre) {
	font-family: var(--font-mono, ui-monospace), monospace;
	font-size: 1em;
}

:where(kbd) {
	padding: 0.125em 0.4em;
	border: 1px solid var(--border-color);
	border-radius: var(--radius-sm);
	background: var(--well);
	font-size: var(--text-xs);
}

:where(pre) {
	padding: calc(var(--unit) * 4);
	overflow-x: auto;
	border-radius: var(--radius);
	background: var(--well);
	font-size: var(--text-sm);
	line-height: 1.6;
}

/* stack, row and grid: layouts whose gap is a data-gap step; utilities come after this sheet, so gap-12 or flex-wrap still win */

.stack,
.row {
	display: flex;
	gap: var(--gap, 0);
}

.grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(var(--column, 16rem), 100%), 1fr));
	gap: var(--gap, 0);
}

:where(.grid > *) {
	min-width: 0;
}

.container {
	width: 100%;
	max-width: 72rem;
	margin-inline: auto;
	padding: calc(var(--unit) * 6);
}

.stack {
	flex-direction: column;
}

.row {
	align-items: center;
}

:where([data-gap="1"]) {
	--gap: calc(var(--unit) * 1);
}

:where([data-gap="2"]) {
	--gap: calc(var(--unit) * 2);
}

:where([data-gap="3"]) {
	--gap: calc(var(--unit) * 3);
}

:where([data-gap="4"]) {
	--gap: calc(var(--unit) * 4);
}

:where([data-gap="6"]) {
	--gap: calc(var(--unit) * 6);
}

:where([data-gap="8"]) {
	--gap: calc(var(--unit) * 8);
}

/* button: em-sized, so a text-* class resizes box, padding and icon together; colour is a bg-* utility, a look is a button-* class */

:where(.button) {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5em;
	height: 2.5em;
	padding: 0 1em;
	border: 1px solid var(--border-color);
	border-radius: var(--radius-md);
	background-color: hsl(var(--primary));
	color: hsl(var(--primary-contrast));
	font-size: var(--text-sm);
	font-weight: 500;
	line-height: 1;
	white-space: nowrap;
	text-decoration: none;
	cursor: pointer;
	outline: 2px solid transparent;
	transition: background-color var(--duration), color var(--duration), border-color var(--duration), box-shadow var(--duration);
}

/* hover tints with the text colour, so it works on any background */
:where(.button)::after {
	content: "";
	position: absolute;
	top: -1px;
	right: -1px;
	bottom: -1px;
	left: -1px;
	border-radius: inherit;
	background: currentColor;
	opacity: 0;
	pointer-events: none;
	transition: opacity var(--duration);
}

:where(.button:hover, .button[aria-current])::after {
	opacity: var(--hover-strength);
}

:where(.button:active)::after {
	opacity: calc(var(--hover-strength) * 2);
}

:where(.button > svg) {
	width: 1.25em;
	height: 1.25em;
	flex-shrink: 0;
}

:where(.button-outline) {
	border-color: var(--border-color-hard);
	background-color: hsl(var(--canvas));
	color: hsl(var(--ink));
}

:where(.button-ghost) {
	border-color: transparent;
	background-color: transparent;
	color: hsl(var(--ink));
}

:where(.button-link) {
	border-color: transparent;
	background-color: transparent;
	color: hsl(var(--primary-text));
	text-underline-offset: 4px;
}

:where(.button-link:hover) {
	text-decoration: underline;
}

:where(.button-icon) {
	width: 2.5em;
	padding: 0;
}

:where(.button:focus-visible) {
	border-color: hsl(var(--ring));
	box-shadow: var(--focus-ring);
}

:where(.button:disabled, .button[aria-disabled=true]) {
	pointer-events: none;
	opacity: var(--disabled-opacity);
}

/* busy: htmx marks the button, or the form it submits, .htmx-request while the request runs; the label hides and the spinner sits over it, so the button keeps its size, and fades in after a short delay so a fast request never flashes */

:where(.button.htmx-request, .htmx-request .button[type=submit]) {
	pointer-events: none;
	-webkit-text-fill-color: transparent;
}

:where(.button.htmx-request, .htmx-request .button[type=submit]) > svg {
	visibility: hidden;
}

:where(.button.htmx-request, .htmx-request .button[type=submit])::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 1.25em;
	height: 1.25em;
	margin: -0.625em 0 0 -0.625em;
	border: 0.125em solid currentColor;
	border-right-color: transparent;
	border-radius: var(--radius-full);
	animation: spinner 0.75s linear infinite, busy var(--duration) ease-in calc(var(--duration) * 2) backwards;
}

@keyframes busy {
	from {
		opacity: 0;
	}
}

/* a container is busy while it has .htmx-request, which hx-indicator puts on it from the element that makes the request (tabs set it themselves); it dims after the same short delay */

:where(.tabs.htmx-request > [role=tabpanel], .table.htmx-request, .list.htmx-request, .card.htmx-request) {
	cursor: progress;
	animation: dim var(--duration) ease-in calc(var(--duration) * 2) forwards;
}

@keyframes dim {
	to {
		opacity: 0.5;
	}
}

/* badge: em-sized like the button; bg-* colours it, badge-outline is the one look */

:where(.badge) {
	display: inline-flex;
	align-items: center;
	gap: 0.25em;
	padding: 0.2em 0.65em;
	border: 1px solid transparent;
	border-radius: var(--radius-md);
	background-color: hsl(var(--primary));
	color: hsl(var(--primary-contrast));
	font-size: var(--text-xs);
	font-weight: 500;
	line-height: 1.3333;
	white-space: nowrap;
}

:where(.badge > svg) {
	width: 1.1em;
	height: 1.1em;
}

:where(.badge-outline) {
	border-color: var(--border-color-hard);
	background-color: transparent;
	color: hsl(var(--ink));
}

/* card: plain header, section and footer children, no part classes */

.card {
	display: flex;
	flex-direction: column;
	gap: calc(var(--unit) * 6);
	padding: calc(var(--unit) * 6) 0;
	border: 1px solid var(--border-color-soft);
	border-radius: var(--radius-xl);
	background: hsl(var(--card));
	color: hsl(var(--ink));
	box-shadow: var(--shadow-soft);
}

:where(.card > header),
:where(.card > section),
:where(.card > footer) {
	padding: 0 calc(var(--unit) * 6);
}

:where(.card > figure) {
	margin: calc(var(--unit) * -6) 0 0;
	overflow: hidden;
	border-radius: calc(var(--radius-xl) - 1px) calc(var(--radius-xl) - 1px) 0 0;
}

:where(.card > figure > :is(img, video)) {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
}

:where(.card > header) {
	display: flex;
	flex-direction: column;
	gap: calc(var(--unit) * 1.5);
}

:where(.card > header > h2) {
	font-size: inherit;
	font-weight: 600;
	line-height: 1;
}

:where(.card > header > p) {
	margin: 0;
	color: hsl(var(--muted));
	font-size: var(--text-sm);
}

:where(.card > footer) {
	display: flex;
	align-items: center;
	gap: calc(var(--unit) * 2);
}

/* code: a bordered block around a highlighted pre, which scrolls sideways instead of wrapping, under an optional label */

.code {
	overflow: hidden;
	border: 1px solid var(--border-color-soft);
	border-radius: var(--radius);
}

:where(.code > header) {
	padding: calc(var(--unit) * 2) calc(var(--unit) * 4);
	overflow: hidden;
	border-bottom: 1px solid var(--border-color-soft);
	background: var(--well);
	text-overflow: ellipsis;
	white-space: nowrap;
}

:where(.code > pre) {
	margin: 0;
	padding: calc(var(--unit) * 4);
	overflow-x: auto;
}

/* alert and toast: one look, a toast being an alert that floats */

:where(.alert, .toast) {
	--alert-bg: hsl(var(--card));
	--alert-fg: hsl(var(--ink));
	--alert-muted: hsl(var(--muted));
	--alert-border: var(--border-color);
	display: flex;
	gap: calc(var(--unit) * 3);
	padding: calc(var(--unit) * 3) calc(var(--unit) * 4);
	border: 1px solid var(--alert-border);
	border-radius: var(--radius);
	background: var(--alert-bg);
	color: var(--alert-fg);
	font-size: var(--text-sm);
	margin-top: calc(var(--unit) * 4);
	margin-bottom: calc(var(--unit) * 4);
}

:where(.alert > svg, .toast > svg) {
	width: var(--icon-size);
	height: var(--icon-size);
	margin-top: 0.125rem;
	flex-shrink: 0;
}

:where(.alert > div, .toast > div) {
	min-width: 0;
}

:where(.alert h2, .toast h2) {
	font-size: inherit;
	font-weight: 500;
}

:where(.alert p, .toast p) {
	margin: 0;
	color: var(--alert-muted);
}

:where(.alert > footer) {
	display: flex;
	align-items: center;
	align-self: center;
	gap: calc(var(--unit) * 2);
	margin-left: auto;
	flex-shrink: 0;
}

:where(.alert-destructive, .toast-destructive) {
	--alert-bg: hsl(var(--destructive) / var(--tint-strength));
	--alert-fg: hsl(var(--destructive-text));
	--alert-muted: hsl(var(--destructive-text));
	--alert-border: hsl(var(--destructive) / var(--strength-medium));
}

:where(.alert-success, .toast-success) {
	--alert-bg: hsl(var(--success) / var(--tint-strength));
	--alert-fg: hsl(var(--success-text));
	--alert-muted: hsl(var(--success-text));
	--alert-border: hsl(var(--success) / var(--strength-medium));
}

:where(.alert-warning, .toast-warning) {
	--alert-bg: hsl(var(--warning) / var(--tint-strength));
	--alert-fg: hsl(var(--warning-text));
	--alert-muted: hsl(var(--warning-text));
	--alert-border: hsl(var(--warning) / var(--strength-medium));
}

:where(.alert-info, .toast-info) {
	--alert-bg: hsl(var(--info) / var(--tint-strength));
	--alert-fg: hsl(var(--info-text));
	--alert-muted: hsl(var(--info-text));
	--alert-border: hsl(var(--info) / var(--strength-medium));
}

/* field: label, control, then a hint or an error */

.field {
	display: flex;
	flex-direction: column;
	gap: calc(var(--unit) * 2);
}

:where(.field > label) {
	font-size: var(--text-sm);
	font-weight: 500;
	line-height: 1;
}

:where(.field > p) {
	margin: 0;
	color: hsl(var(--muted));
	font-size: var(--text-sm);
}

:where(.field > p[role=alert]) {
	color: hsl(var(--destructive-text));
}

:where(.input, .textarea, .select) {
	--input-shadow: var(--shadow-soft);
	width: 100%;
	min-width: 0;
	height: calc(var(--text-sm) * 2.5);
	padding: 0.25em 0.75em;
	border: 1px solid var(--border-color-hard);
	border-radius: var(--radius-md);
	background-color: hsl(var(--canvas));
	font-size: var(--text-base);
	outline: 2px solid transparent;
	box-shadow: var(--input-shadow);
	transition: border-color var(--duration), box-shadow var(--duration);
}

:where(.input, .textarea, .select)::placeholder {
	color: hsl(var(--muted));
}

:where(.input, .textarea, .select)::selection {
	background: hsl(var(--primary));
	color: hsl(var(--primary-contrast));
}

:where(.input, .textarea, .select)::file-selector-button {
	margin-right: 0.75em;
	padding: 0;
	border: 0;
	background: transparent;
	color: hsl(var(--ink));
	font-size: 0.875em;
	font-weight: 500;
}

:where(.input, .textarea, .select):focus-visible {
	border-color: hsl(var(--ring));
	box-shadow: var(--input-shadow), var(--focus-ring);
}

:where(.input, .textarea, .select):disabled {
	pointer-events: none;
	cursor: not-allowed;
	opacity: var(--disabled-opacity);
}

:where(.input, .textarea, .select)[aria-invalid=true],
:where(.input, .textarea, .select)[aria-invalid=true]:focus-visible {
	border-color: hsl(var(--destructive));
	box-shadow: var(--input-shadow), var(--focus-ring-invalid);
}

:where(.input, .textarea, .select):where(textarea) {
	display: block;
	height: auto;
	min-height: 4.5em;
	padding-top: 0.5em;
	padding-bottom: 0.5em;
	resize: vertical;
}

/* one row is a text input that grows: same height as an input, and as a button */
:where(.textarea[rows="1"]) {
	min-height: calc(var(--text-sm) * 2.5);
	padding-top: max(0px, calc((var(--text-sm) * 2.5 - 1.5em - 2px) / 2));
	padding-bottom: max(0px, calc((var(--text-sm) * 2.5 - 1.5em - 2px) / 2));
	line-height: 1.5;
}

:where(.input, .textarea, .select):where(select) {
	padding-right: 2em;
	-webkit-appearance: none;
	appearance: none;
	background-image:
		linear-gradient(to bottom left, transparent calc(50% - 1px), hsl(var(--muted)) calc(50% - 1px), hsl(var(--muted)) calc(50% + 1px), transparent calc(50% + 1px)),
		linear-gradient(to bottom right, transparent calc(50% - 1px), hsl(var(--muted)) calc(50% - 1px), hsl(var(--muted)) calc(50% + 1px), transparent calc(50% + 1px));
	background-repeat: no-repeat;
	background-position: right calc(0.75em + 0.4em) center, right 0.75em center;
	background-size: 0.4em 0.4em;
}

/* spinner: a ring with one solid arc, em-sized and drawn in the text colour so it follows its parent */

:where(.spinner) {
	position: relative;
	display: inline-block;
	width: 1.5em;
	height: 1.5em;
	border: 0.125em solid transparent;
	border-top-color: currentColor;
	border-radius: var(--radius-full);
	animation: spinner 0.75s linear infinite;
}

:where(.spinner)::before {
	content: "";
	position: absolute;
	inset: -0.125em;
	border: 0.125em solid currentColor;
	border-radius: inherit;
	opacity: var(--track-strength);
}

@keyframes spinner {
	to {
		transform: rotate(360deg);
	}
}

/* status: a small dot, em-sized so it follows the text; bg-* colours it */

:where(.status) {
	display: inline-block;
	width: 0.5em;
	height: 0.5em;
	flex-shrink: 0;
	border-radius: var(--radius-full);
	background-color: hsl(var(--muted));
}

/* image: a figure at a fixed ratio whose img fills it; the placeholder shows behind until the image paints, and image-contain fits the whole image inside */

:where(.image) {
	margin: 0;
	overflow: hidden;
	aspect-ratio: var(--ratio, 16 / 9);
	border-radius: var(--radius);
	background: var(--placeholder, hsl(var(--well)));
	background-position: center;
	background-size: cover;
}

:where(.image > img) {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: var(--focus, center);
}

:where(.image-contain > img) {
	object-fit: contain;
}

/* kbd: keycaps for a shortcut, joined by a plus; the keycap itself is the base kbd rule, so a lone <kbd> looks the same */

:where(.kbd) {
	display: inline-flex;
	align-items: center;
	gap: 0.25em;
	color: hsl(var(--muted));
	font-size: var(--text-xs);
}

:where(.kbd > kbd) {
	font-size: 1em;
}

/* steps: numbered steps joined by a line, stacked on a narrow screen or with steps-vertical and in a row from 640px; the li's data-state is complete, current or upcoming */

:where(.steps) {
	display: flex;
	flex-direction: column;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: var(--text-sm);
}

:where(.steps > li) {
	display: flex;
	flex-direction: column;
}

:where(.steps > li > :is(a, span)) {
	display: flex;
	align-items: center;
	gap: calc(var(--unit) * 3);
	color: inherit;
	text-decoration: none;
}

:where(.steps > li > :is(a, span) > i) {
	display: flex;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	width: 2em;
	height: 2em;
	border: 1px solid var(--border-color);
	border-radius: var(--radius-full);
	color: hsl(var(--muted));
	font-style: normal;
	font-weight: 500;
}

:where(.steps > li > :is(a, span) > i > svg) {
	width: var(--icon-size);
	height: var(--icon-size);
}

:where(.steps > li > :is(a, span) > span) {
	display: flex;
	flex-direction: column;
	font-weight: 500;
}

:where(.steps > li > :is(a, span) > span > small) {
	color: hsl(var(--muted));
	font-size: var(--text-xs);
	font-weight: 400;
}

:where(.steps > li[data-state="upcoming"] > :is(a, span) > span) {
	color: hsl(var(--muted));
}

:where(.steps > li[data-state="current"] > :is(a, span) > i) {
	border-color: hsl(var(--primary));
	color: hsl(var(--primary));
}

:where(.steps > li[data-state="complete"] > :is(a, span) > i) {
	border-color: hsl(var(--primary));
	background: hsl(var(--primary));
	color: hsl(var(--primary-contrast));
}

:where(.steps > li:not(:last-child))::after {
	content: "";
	width: 1px;
	height: calc(var(--unit) * 6);
	margin-left: calc(1em - 0.5px);
	background: var(--border-color);
}

:where(.steps > li[data-state="complete"]:not(:last-child))::after {
	background: hsl(var(--primary));
}

@media (min-width: 640px) {
	:where(.steps:not(.steps-vertical)) {
		flex-direction: row;
	}

	:where(.steps:not(.steps-vertical) > li) {
		flex: 1;
		flex-direction: row;
		align-items: center;
		gap: calc(var(--unit) * 3);
	}

	:where(.steps:not(.steps-vertical) > li:last-child) {
		flex: none;
	}

	:where(.steps:not(.steps-vertical) > li:not(:last-child))::after {
		flex: 1;
		width: auto;
		height: 1px;
		margin: 0;
	}
}

/* empty: a centred column for a place with nothing in it, with no box of its own so it sits in a card, a table row or a page */

:where(.empty) {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: calc(var(--unit) * 3);
	padding: calc(var(--unit) * 8) calc(var(--unit) * 4);
	text-align: center;
}

:where(.empty > svg) {
	width: calc(var(--icon-size) * 2);
	height: calc(var(--icon-size) * 2);
	color: hsl(var(--muted));
}

:where(.empty > h3) {
	font-size: 1em;
	font-weight: 500;
}

:where(.empty > p) {
	margin: 0;
	max-width: 24em;
	color: hsl(var(--muted));
}

/* indicator: a dot, or a count when it has text, centred on a point of what it wraps; --x and --y on the root move that point, 100% and 0% being the top end corner */

:where(.indicator) {
	position: relative;
	display: inline-flex;
}

:where(.indicator > small) {
	position: absolute;
	top: var(--y, 0%);
	left: var(--x, 100%);
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 1.6em;
	height: 1.6em;
	padding: 0 0.4em;
	border-radius: var(--radius-full);
	outline: 2px solid hsl(var(--canvas));
	background: var(--fill, hsl(var(--destructive)));
	color: var(--ink, hsl(var(--destructive-contrast)));
	font-size: var(--text-xs);
	font-weight: 500;
	line-height: 1;
	translate: -50% -50%;
}

:where(.indicator > small:empty) {
	min-width: 0;
	width: 0.9em;
	height: 0.9em;
	padding: 0;
}

/* avatar: a round image, or initials on a sunken fill, em-sized so it follows the text */

:where(.avatar) {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 2.5em;
	height: 2.5em;
	overflow: hidden;
	border-radius: var(--radius-full);
	background: var(--well);
	color: hsl(var(--muted));
	font-weight: 500;
	line-height: 1;
	text-transform: uppercase;
}

:where(.avatar > img) {
	width: 100%;
	height: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
}

/* skeleton: a sunken block that pulses while content loads, shaped by width, height and radius utilities */

.skeleton {
	display: block;
	width: 100%;
	height: 1rem;
	border-radius: var(--radius);
	background-color: var(--well);
	animation: skeleton 2s ease-in-out infinite;
}

@keyframes skeleton {
	50% {
		opacity: 0.5;
	}
}

/* tooltip: a tip above or below its element, shown on hover and on keyboard focus inside */

.tooltip {
	position: relative;
	display: inline-flex;
}

:where(.tooltip > [role=tooltip]) {
	position: absolute;
	bottom: 100%;
	left: 50%;
	z-index: 50;
	margin-bottom: calc(var(--unit) * 1.5);
	padding: calc(var(--unit) * 1) calc(var(--unit) * 2);
	border-radius: var(--radius-sm);
	background: hsl(var(--ink));
	color: hsl(var(--canvas));
	font-size: var(--text-xs);
	line-height: 1rem;
	white-space: nowrap;
	pointer-events: none;
	visibility: hidden;
	opacity: 0;
	transform: translateX(-50%);
	transition: opacity var(--duration), visibility var(--duration);
}

:where(.tooltip:where([data-side=bottom]) > [role=tooltip]) {
	top: 100%;
	bottom: auto;
	margin-top: calc(var(--unit) * 1.5);
	margin-bottom: 0;
}

:where(.tooltip:where([data-side=right]) > [role=tooltip]) {
	top: 50%;
	bottom: auto;
	left: 100%;
	margin: 0 0 0 calc(var(--unit) * 1.5);
	transform: translateY(-50%);
}

:where(.tooltip:hover > [role=tooltip]),
:where(.tooltip:focus-within > [role=tooltip]) {
	visibility: visible;
	opacity: 1;
}

/* dropdown: a details whose summary is a button and whose panel floats below it; ui.js closes it on Escape or an outside click */

.dropdown {
	position: relative;
	display: inline-block;
}

:where(.dropdown > summary) {
	list-style: none;
}

:where(.dropdown > summary)::-webkit-details-marker {
	display: none;
}

:where(.dropdown > summary)::before {
	content: "";
	order: 1;
	width: 1rem;
	height: 1rem;
	flex-shrink: 0;
	background: currentColor;
	-webkit-mask: var(--chevron) center / 1rem no-repeat;
	mask: var(--chevron) center / 1rem no-repeat;
}

/* an icon-only trigger is the icon alone */
:where(.dropdown > summary.button-icon)::before {
	display: none;
}

:where(.dropdown > div) {
	position: absolute;
	top: 100%;
	left: 0;
	z-index: 50;
	min-width: 12rem;
	margin-top: calc(var(--unit) * 1);
	padding: calc(var(--unit) * 1);
	border: 1px solid var(--border-color-soft);
	border-radius: var(--radius-md);
	background: hsl(var(--card));
	color: hsl(var(--ink));
	box-shadow: var(--shadow);
	transform-origin: top left;
	animation: pop var(--duration) ease-out;
}

@keyframes pop {
	from {
		opacity: 0;
		transform: scale(0.96);
	}
}

@keyframes fade {
	from {
		opacity: 0;
	}
}

:where(.dropdown:where([data-align=end]) > div) {
	right: 0;
	left: auto;
	transform-origin: top right;
}

/* a dropdown[data-active] lights its summary while a radio other than the [data-none] one is checked */
.dropdown[data-active]:has(input:checked:not([data-none])) > summary {
	background-color: hsl(var(--primary));
	color: hsl(var(--primary-contrast));
}

/* accordion: a stack of native details, a rule between sections and a chevron that turns when one is open */

.accordion {
	border-top: 1px solid var(--border-color-soft);
}

:where(.accordion > details) {
	border-bottom: 1px solid var(--border-color-soft);
}

:where(.accordion summary) {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: calc(var(--unit) * 4);
	padding: calc(var(--unit) * 4) 0;
	list-style: none;
	font-size: var(--text-sm);
	font-weight: 500;
	cursor: pointer;
}

:where(.accordion summary:hover) {
	text-decoration: underline;
}

:where(.accordion summary:focus-visible) {
	border-radius: var(--radius-md);
	outline: 2px solid transparent;
	box-shadow: var(--focus-ring);
}

:where(.accordion summary)::-webkit-details-marker {
	display: none;
}

:where(.accordion summary)::after {
	content: "";
	width: 1rem;
	height: 1rem;
	flex-shrink: 0;
	background: hsl(var(--muted));
	-webkit-mask: var(--chevron) center / 1rem no-repeat;
	mask: var(--chevron) center / 1rem no-repeat;
	transition: transform var(--duration);
}

:where(.accordion details[open] > summary)::after {
	transform: rotate(180deg);
}

:where(.accordion details > div) {
	padding-bottom: calc(var(--unit) * 4);
	color: hsl(var(--muted));
	font-size: var(--text-sm);
}

/* modal: a backdrop and a centred dialog filled into the page's #modal region; ui.js focuses, traps and closes it */

html[data-modal-open] {
	overflow: hidden;
}

.modal {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 100;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: calc(var(--unit) * 4);
}

:where(.modal > [data-modal-close]) {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background: hsl(var(--shadow-color) / var(--backdrop-strength));
	animation: fade var(--duration) ease-out;
}

:where(.modal > [role=dialog]) {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: calc(var(--unit) * 4);
	width: 100%;
	max-width: var(--modal-width, 32rem);
	max-height: 100%;
	overflow-y: auto;
	padding: calc(var(--unit) * 6);
	border: 1px solid var(--border-color);
	border-radius: var(--radius-xl);
	background: hsl(var(--card));
	color: hsl(var(--ink));
	box-shadow: var(--shadow-hard);
	outline: none;
	animation: pop var(--duration) ease-out;
}

:where(.modal > [role=dialog] > .button) {
	position: absolute;
	top: 0.75rem;
	right: 0.75rem;
}

:where(.modal > [role=dialog] > header) {
	display: flex;
	flex-direction: column;
	gap: calc(var(--unit) * 1.5);
}

:where(.modal > [role=dialog] > .button + header) {
	padding-right: calc(var(--unit) * 8);
}

:where(.modal > [role=dialog] > header > h2) {
	font-size: var(--text-lg);
	font-weight: 600;
	line-height: 1;
}

:where(.modal > [role=dialog] > header > p) {
	margin: 0;
	color: hsl(var(--muted));
	font-size: var(--text-sm);
}

:where(.modal > [role=dialog] > footer) {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: calc(var(--unit) * 2);
}

:where(.modal-sm) {
	--modal-width: 24rem;
}

:where(.modal-lg) {
	--modal-width: 42rem;
}

/* toast: a card that appears in the fixed .toasts region; ui.js removes it after data-duration */

.toasts {
	position: fixed;
	right: 1rem;
	bottom: 1rem;
	z-index: 100;
	display: flex;
	flex-direction: column;
	gap: calc(var(--unit) * 2);
	width: calc(100% - 2rem);
	max-width: 24rem;
	pointer-events: none;
}

/* the tint is translucent, so a toast lays it over --card to stay opaque above the page */
:where(.toast) {
	align-items: flex-start;
	padding-right: calc(var(--unit) * 3);
	background: linear-gradient(var(--alert-bg), var(--alert-bg)), hsl(var(--card));
	box-shadow: var(--shadow-hard);
	pointer-events: auto;
	animation: toast var(--duration) ease-out;
}

@keyframes toast {
	from {
		opacity: 0;
		transform: translateY(0.5rem);
	}
}

/* exit: ui.js sets data-closing and removes the element when these end; a response that empties #modal with a swap delay gets the same exit while htmx marks #modal .htmx-swapping. Each keeps its last frame so nothing flashes back, and the element stops taking clicks */

:where(.modal[data-closing], .htmx-swapping > .modal),
:where(.toast[data-closing]) {
	pointer-events: none;
}

:where(.modal[data-closing] > [data-modal-close], .htmx-swapping > .modal > [data-modal-close]) {
	animation: fade-out var(--duration) ease-in forwards;
}

:where(.modal[data-closing] > [role=dialog], .htmx-swapping > .modal > [role=dialog]) {
	animation: pop-out var(--duration) ease-in forwards;
}

:where(.toast[data-closing]) {
	animation: toast-out var(--duration) ease-in forwards;
}

@keyframes fade-out {
	to {
		opacity: 0;
	}
}

@keyframes pop-out {
	to {
		opacity: 0;
		transform: scale(0.96);
	}
}

@keyframes toast-out {
	to {
		opacity: 0;
		transform: translateY(0.5rem);
	}
}

:where(.toast > div) {
	flex: 1;
	min-width: 0;
}

:where(.toast > .button) {
	margin: calc(var(--unit) * -1) 0;
	flex-shrink: 0;
}

/* menu: vertical links, a muted heading for an entry with no link, details for a group, aria-current for the active link */

.menu,
:where(.menu ul) {
	margin: 0;
	padding: 0;
	list-style: none;
}

.menu {
	display: flex;
	flex-direction: column;
	gap: calc(var(--unit) * 0.5);
	font-size: var(--text-sm);
}

:where(.menu li) {
	margin: 0;
}

:where(.menu ul) {
	margin: calc(var(--unit) * 0.5) 0 0 calc(var(--unit) * 4);
	padding-left: calc(var(--unit) * 2);
	border-left: 1px solid var(--border-color-soft);
}

:where(.menu a),
:where(.menu summary) {
	display: flex;
	align-items: center;
	gap: calc(var(--unit) * 2);
	padding: calc(var(--unit) * 1.5) calc(var(--unit) * 2);
	border-radius: var(--radius-md);
	color: hsl(var(--ink));
	text-decoration: none;
	cursor: pointer;
}

:where(.menu a:hover),
:where(.menu summary:hover),
:where(.menu a[aria-current]) {
	background: var(--hover);
	color: hsl(var(--ink));
}

:where(.menu a:focus-visible),
:where(.menu summary:focus-visible) {
	outline: 2px solid transparent;
	box-shadow: var(--focus-ring);
}

:where(.menu a[aria-current]) {
	font-weight: 500;
}

:where(.menu svg) {
	width: var(--icon-size);
	height: var(--icon-size);
	flex-shrink: 0;
}

:where(.menu small) {
	flex: 1;
	min-width: 0;
	color: hsl(var(--muted));
	font-size: var(--text-xs);
	text-align: right;
}

:where(.menu summary) {
	list-style: none;
}

:where(.menu summary)::-webkit-details-marker {
	display: none;
}

:where(.menu summary)::after,
:where(.menu a[aria-expanded])::after {
	content: "";
	width: 1rem;
	height: 1rem;
	margin-left: auto;
	background: hsl(var(--muted));
	-webkit-mask: var(--chevron) center / 1rem no-repeat;
	mask: var(--chevron) center / 1rem no-repeat;
	transition: transform var(--duration);
}

:where(.menu details[open] > summary)::after,
:where(.menu a[aria-expanded="true"])::after {
	transform: rotate(180deg);
}

:where(.menu h3) {
	margin: calc(var(--unit) * 2) 0 calc(var(--unit) * 1);
	padding: 0 calc(var(--unit) * 2);
	color: hsl(var(--muted));
	font-size: var(--text-xs);
	font-weight: 500;
}

/* carousel: a scroll-snap track whose slides each take 1/--per of its width; the per param is the widest count, --per-max, and a --per utility on the root wins at any size */

.carousel {
	position: relative;
}

:where(.carousel) {
	--per: min(2, var(--per-max, 4));
}

@media (min-width: 640px) {
	:where(.carousel) {
		--per: min(3, var(--per-max, 4));
	}
}

@media (min-width: 768px) {
	:where(.carousel) {
		--per: min(4, var(--per-max, 4));
	}
}

@media (min-width: 1024px) {
	:where(.carousel) {
		--per: var(--per-max, 4);
	}
}

:where(.carousel > [role="region"]) {
	display: flex;
	gap: var(--gap, calc(var(--unit) * 4));
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
}

:where(.carousel > [role="region"])::-webkit-scrollbar {
	display: none;
}

@media (prefers-reduced-motion: no-preference) {
	:where(.carousel > [role="region"]) {
		scroll-behavior: smooth;
	}
}

@media (hover: hover) {
	:where(.carousel > [role="region"]) {
		cursor: grab;
	}
}

:where(.carousel > [role="region"][data-dragging]) {
	scroll-behavior: auto;
	scroll-snap-type: none;
	cursor: grabbing;
	user-select: none;
}

:where(.carousel > [role="region"] > *) {
	flex: 0 0 calc((100% - (var(--per) - 1) * var(--gap, calc(var(--unit) * 4))) / var(--per));
	min-width: 0;
	scroll-snap-align: start;
}

:where(.carousel > .button) {
	position: absolute;
	top: 50%;
	z-index: 1;
	display: none;
	translate: 0 -50%;
	border-radius: var(--radius-full);
	background: hsl(var(--canvas));
}

:where(.carousel > .button:nth-of-type(1)) {
	left: calc(var(--unit) * -4);
}

:where(.carousel > .button:nth-of-type(2)) {
	right: calc(var(--unit) * -4);
}

@media (min-width: 1024px) {
	:where(.carousel > .button) {
		display: inline-flex;
	}
}

/* list: bordered rows of an optional icon, a title with a description, and a trailing meta */

.list {
	margin: 0;
	padding: 0;
	list-style: none;
	overflow: hidden;
	border: 1px solid var(--border-color);
	border-radius: var(--radius);
}

:where(.list > li) {
	display: flex;
	align-items: center;
	gap: calc(var(--unit) * 3);
	margin: 0;
	padding: calc(var(--unit) * 3) calc(var(--unit) * 4);
	font-size: var(--text-sm);
}

:where(.list > li + li) {
	border-top: 1px solid var(--border-color-soft);
}

:where(.list > li > svg) {
	width: var(--icon-size);
	height: var(--icon-size);
	flex-shrink: 0;
	color: hsl(var(--muted));
}

:where(.list > li > div) {
	flex: 1;
	min-width: 0;
}

:where(.list > li > div > :first-child) {
	font-weight: 500;
}

:where(.list > li p) {
	margin: 0;
	color: hsl(var(--muted));
}

:where(.list > li > small) {
	flex-shrink: 0;
	color: hsl(var(--muted));
	font-size: var(--text-xs);
}

/* list-flush: no frame, and a row that is a link takes the whole row and tints on hover, focus or aria-selected, for lists to pick from */

:where(.list-flush) {
	overflow: visible;
	border: 0;
	border-radius: 0;
}

:where(.list-flush > li) {
	padding: 0;
}

:where(.list-flush > li + li) {
	border-top: 0;
}

:where(.list-flush > li > a) {
	display: flex;
	flex: 1;
	align-items: center;
	gap: calc(var(--unit) * 3);
	min-width: 0;
	padding: calc(var(--unit) * 2) calc(var(--unit) * 3);
	border-radius: var(--radius-md);
	color: inherit;
	text-decoration: none;
}

:where(.list-flush > li > a:hover, .list-flush > li > a:focus-visible, .list-flush > li > a[aria-selected=true]) {
	background: var(--hover);
	outline: 2px solid transparent;
}

:where(.list-flush > li > a > svg) {
	width: var(--icon-size);
	height: var(--icon-size);
	flex-shrink: 0;
	color: hsl(var(--muted));
}

:where(.list-flush > li > a > div) {
	flex: 1;
	min-width: 0;
}

:where(.list-flush > li > a > div > :first-child) {
	display: block;
	overflow: hidden;
	font-weight: 500;
	text-overflow: ellipsis;
	white-space: nowrap;
}

:where(.list-flush > li > a p) {
	margin: 0;
	overflow: hidden;
	color: hsl(var(--muted));
	text-overflow: ellipsis;
	white-space: nowrap;
}

/* progress: a faint primary track and one ::before fill, a width from --progress-value over --progress-max, or a sweeping band with no value */

.progress {
	position: relative;
	display: block;
	width: 100%;
	height: 0.5rem;
	overflow: hidden;
	border-radius: var(--radius-full);
	background-color: hsl(var(--primary) / var(--track-strength));
}

:where(.progress)::before {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	border-radius: var(--radius-full);
	background: hsl(var(--primary));
}

:where(.progress[aria-valuenow])::before {
	width: calc(var(--progress-value) / var(--progress-max) * 100%);
	transition: width var(--duration);
}

:where(.progress:not([aria-valuenow]))::before {
	width: 40%;
	animation: progress 1.5s ease-in-out infinite;
}

@keyframes progress {
	from {
		transform: translateX(-100%);
	}

	to {
		transform: translateX(250%);
	}
}

/* range: the native slider in the primary colour */

:where(.range) {
	width: 100%;
	height: 1.25rem;
	margin: 0;
	accent-color: hsl(var(--primary));
	cursor: pointer;
	outline: 2px solid transparent;
	transition: box-shadow var(--duration);
}

:where(.range:focus-visible) {
	border-radius: var(--radius-full);
	box-shadow: var(--focus-ring);
}

:where(.range:disabled) {
	cursor: not-allowed;
	opacity: var(--disabled-opacity);
}

:where(.range[aria-invalid=true]) {
	accent-color: hsl(var(--destructive));
}

/* color picker: a dropdown[data-swatch] shows the color it holds in its summary (the --hue, --saturation and --lightness the picker keeps up to date); .pad is the saturation (across) by lightness (up) plane, .hue the hue slider */

:where(.dropdown[data-swatch] > summary) {
	width: 2.5rem;
	padding: 0;
	background: hsl(var(--hue) calc(var(--saturation) * 1%) calc(var(--lightness) * 1%));
}

:where(.dropdown[data-swatch=empty] > summary) {
	background: transparent;
}

:where(.dropdown[data-swatch] > summary)::before {
	display: none;
}

:where(.pad) {
	position: relative;
	height: 10rem;
	border-radius: var(--radius-md);
	background:
		linear-gradient(to bottom, #fff, transparent 50%, #000),
		linear-gradient(to right, #808080, hsl(var(--hue) 100% 50%));
	cursor: crosshair;
	touch-action: none;
	user-select: none;
}

:where(.pad:focus-within) {
	box-shadow: var(--focus-ring);
	outline: 2px solid transparent;
}

:where(.pad > span) {
	position: absolute;
	left: calc(var(--saturation) * 1%);
	top: calc((100 - var(--lightness)) * 1%);
	width: 1rem;
	height: 1rem;
	margin: -0.5rem 0 0 -0.5rem;
	border: 2px solid #fff;
	border-radius: var(--radius-full);
	box-shadow: 0 0 0 1px rgb(0 0 0 / 0.4);
	pointer-events: none;
}

:where(.hue) {
	-webkit-appearance: none;
	appearance: none;
	width: 100%;
	height: 0.75rem;
	margin: calc(var(--unit) * 1) 0;
	border-radius: var(--radius-full);
	background: linear-gradient(to right, hsl(0 100% 50%), hsl(60 100% 50%), hsl(120 100% 50%), hsl(180 100% 50%), hsl(240 100% 50%), hsl(300 100% 50%), hsl(360 100% 50%));
	cursor: pointer;
}

:where(.hue:focus-visible) {
	box-shadow: var(--focus-ring);
	outline: 2px solid transparent;
}

:where(.hue)::-webkit-slider-thumb {
	-webkit-appearance: none;
	width: 1rem;
	height: 1rem;
	border: 2px solid #fff;
	border-radius: var(--radius-full);
	background: hsl(var(--hue) 100% 50%);
	box-shadow: 0 0 0 1px rgb(0 0 0 / 0.4);
}

:where(.hue)::-moz-range-thumb {
	width: 1rem;
	height: 1rem;
	border: 2px solid #fff;
	border-radius: var(--radius-full);
	background: hsl(var(--hue) 100% 50%);
	box-shadow: 0 0 0 1px rgb(0 0 0 / 0.4);
}

/* checkbox, radio and switch: the label wraps the control, a radio group is a fieldset */

:where(.field > legend) {
	margin-bottom: calc(var(--unit) * 2);
	font-size: var(--text-sm);
	font-weight: 500;
	line-height: 1;
}

:where(.field > .option) {
	display: flex;
	align-items: center;
	gap: calc(var(--unit) * 2);
	cursor: pointer;
}

/* checkbox and radio: drawn from the tokens, so the box matches the inputs in every browser; the mark is a mask in the contrast color, scaled in when checked */

:where(.check, .checkbox, .radio) {
	display: inline-grid;
	place-content: center;
	width: 1rem;
	height: 1rem;
	margin: 0;
	flex-shrink: 0;
	-webkit-appearance: none;
	appearance: none;
	border: 1px solid var(--border-color-hard);
	border-radius: var(--radius-sm);
	background-color: transparent;
	cursor: pointer;
	outline: 2px solid transparent;
	transition: background-color var(--duration), border-color var(--duration), box-shadow var(--duration);
}

:where(.check, .checkbox, .radio)::before {
	content: "";
	width: 1rem;
	height: 1rem;
	background: hsl(var(--primary-contrast));
	-webkit-mask: var(--tick) center / 100% no-repeat;
	mask: var(--tick) center / 100% no-repeat;
	transform: scale(0);
	transition: transform var(--duration);
}

:where(.check:checked, .checkbox:checked, .radio:checked) {
	border-color: hsl(var(--primary));
	background-color: hsl(var(--primary));
}

:where(.check:checked, .checkbox:checked, .radio:checked)::before {
	transform: scale(1);
}

:where(.check[type=radio], .checkbox[type=radio], .radio) {
	border-radius: var(--radius-full);
}

:where(.check[type=radio], .checkbox[type=radio], .radio)::before {
	width: 0.5rem;
	height: 0.5rem;
	border-radius: var(--radius-full);
	-webkit-mask: none;
	mask: none;
}

:where(.switch) {
	width: 2.25rem;
	height: 1.25rem;
	flex-shrink: 0;
	-webkit-appearance: none;
	appearance: none;
	border-radius: var(--radius-full);
	background-color: var(--well);
	box-shadow: inset 0 0 0 1px var(--border-color-hard);
	background-image: radial-gradient(circle closest-side, hsl(var(--canvas)) 86%, var(--border-color-hard) 88% 97%, transparent 100%);
	background-repeat: no-repeat;
	background-size: 1rem 1rem;
	background-position: 2px center;
	cursor: pointer;
	outline: 2px solid transparent;
	transition: background-color var(--duration), background-position var(--duration), box-shadow var(--duration);
}

:where(.switch:checked) {
	background-color: hsl(var(--primary));
	background-position: calc(100% - 2px) center;
}

:where(.check:focus-visible, .checkbox:focus-visible, .radio:focus-visible, .switch:focus-visible) {
	box-shadow: var(--focus-ring);
}

:where(.check:disabled, .checkbox:disabled, .radio:disabled, .switch:disabled) {
	cursor: not-allowed;
	opacity: var(--disabled-opacity);
}

:where(.check[aria-invalid=true], .checkbox[aria-invalid=true], .radio[aria-invalid=true]) {
	border-color: hsl(var(--destructive));
}

:where(.check[aria-invalid=true]:checked, .checkbox[aria-invalid=true]:checked, .radio[aria-invalid=true]:checked) {
	background-color: hsl(var(--destructive));
}

:where(.switch[aria-invalid=true]) {
	box-shadow: var(--focus-ring-invalid);
}

/* prose: the typography for markdown output or plain HTML, styled only as direct children, so a component placed among them keeps its own look */

.prose {
	line-height: 1.75;
}

:where(.prose > * + *, .prose > blockquote > * + *) {
	margin-top: 1.25em;
}

:where(.prose > :is(h1, h2, h3, h4, h5, h6)) {
	font-weight: 600;
}

:where(.prose > h1) {
	margin-top: 2em;
	font-size: var(--text-4xl);
	line-height: 1.25;
}

:where(.prose > h2) {
	margin-top: 2em;
	font-size: var(--text-2xl);
	line-height: 1.3;
}

:where(.prose > h3) {
	margin-top: 1.6em;
	font-size: var(--text-xl);
	line-height: 1.4;
}

:where(.prose > :is(h4, h5, h6)) {
	margin-top: 1.6em;
	line-height: 1.4;
}

:where(.prose > :is(ul, ol), .prose > :is(ul, ol) :is(ul, ol)) {
	padding-left: 1.5em;
}

:where(.prose > ul, .prose > :is(ul, ol) ul) {
	list-style: disc;
}

:where(.prose > ol, .prose > :is(ul, ol) ol) {
	list-style: decimal;
}

:where(.prose > :is(ul, ol) li + li, .prose > :is(ul, ol) li > :is(ul, ol)) {
	margin-top: 0.25em;
}

:where(.prose > blockquote) {
	padding-left: calc(var(--unit) * 4);
	border-left: 4px solid var(--border-color);
}

:where(.prose > hr) {
	margin-top: calc(var(--unit) * 8);
	margin-bottom: calc(var(--unit) * 8);
}

:where(.prose > :is(p, ul, ol, blockquote, h1, h2, h3, h4, h5, h6) a) {
	color: hsl(var(--primary-text));
	text-decoration: underline;
	text-underline-offset: 2px;
}

:where(.prose > :is(p, ul, ol, blockquote, h1, h2, h3, h4, h5, h6) code) {
	padding: calc(var(--unit) * 0.5) calc(var(--unit) * 1.5);
	border-radius: var(--radius-sm);
	background: var(--well);
	font-size: 0.875em;
}

/* table: the root scrolls, the table inside is plain. A markdown table, a direct child of .prose, gets the same look */

.table {
	width: 100%;
	overflow-x: auto;
}

:where(.table > table, .prose > table) {
	width: 100%;
	border-collapse: collapse;
	font-size: var(--text-sm);
	line-height: 1.5;
}

:where(.table caption, .prose > table caption) {
	margin-top: calc(var(--unit) * 4);
	caption-side: bottom;
	color: hsl(var(--muted));
}

:where(.table thead, .prose > table thead) {
	background: var(--well);
}

:where(.table th, .prose > table th) {
	height: 2.5rem;
	padding: 0 calc(var(--unit) * 3);
	text-align: left;
	font-weight: 600;
	white-space: nowrap;
}

:where(.table th > a) {
	display: inline-flex;
	align-items: center;
	gap: var(--unit);
	color: inherit;
	text-decoration: none;
}

:where(.table th[aria-sort] > a)::after {
	content: "";
	width: 1rem;
	height: 1rem;
	flex-shrink: 0;
	background: currentColor;
	-webkit-mask: var(--chevron) center / 1rem no-repeat;
	mask: var(--chevron) center / 1rem no-repeat;
}

:where(.table th[aria-sort=ascending] > a)::after {
	transform: rotate(180deg);
}

:where(.table td, .prose > table td) {
	padding: calc(var(--unit) * 3);
	vertical-align: top;
}

:where(.table tr, .prose > table tr) {
	border-bottom: 1px solid var(--border-color-soft);
}

:where(.table thead tr, .prose > table thead tr) {
	border-bottom-color: var(--border-color);
}

:where(.table tbody tr:last-child, .prose > table tbody tr:last-child) {
	border-bottom: 0;
}

:where(.table tbody:not([data-empty]) tr:hover, .prose > table tbody tr:hover) {
	background: var(--hover);
}

:where(.table tbody[data-empty] td) {
	padding: calc(var(--unit) * 8) calc(var(--unit) * 2);
	color: hsl(var(--muted));
	text-align: center;
}

:where(.prose > table code) {
	padding: calc(var(--unit) * 0.5) calc(var(--unit) * 1.5);
	border-radius: var(--radius-sm);
	background: var(--well);
	font-size: 0.875em;
}

/* breadcrumb: a muted trail with the current page in ink */

:where(.breadcrumb > ol) {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: calc(var(--unit) * 1.5);
	color: hsl(var(--muted));
	font-size: var(--text-sm);
}

:where(.breadcrumb li) {
	display: inline-flex;
	align-items: center;
	gap: calc(var(--unit) * 1.5);
	margin: 0;
}

:where(.breadcrumb li + li)::before {
	content: "/";
}

:where(.breadcrumb a) {
	color: inherit;
	text-decoration: none;
	transition: color var(--duration);
}

:where(.breadcrumb a:hover) {
	color: hsl(var(--ink));
}

:where(.breadcrumb a:focus-visible) {
	border-radius: var(--radius-sm);
	outline: 2px solid transparent;
	box-shadow: var(--focus-ring);
}

:where(.breadcrumb [aria-current=page]) {
	color: hsl(var(--ink));
}

/* separator: a 1px rule, horizontal by default; the margins are the layout's to set */

.separator {
	flex-shrink: 0;
	width: 100%;
	height: 1px;
	margin: 0;
	border: 0;
	background: var(--border-color-soft);
}

.separator:where([data-orientation=vertical]) {
	align-self: stretch;
	width: 1px;
	height: auto;
	min-height: 1rem;
}

/* tabs: a sunken track, the active tab raised above it */

:where(.tabs > [role=tablist]) {
	display: inline-flex;
	align-items: center;
	gap: calc(var(--unit) * 1);
	padding: calc(var(--unit) * 1);
	border-radius: var(--radius);
	background: var(--well);
	color: hsl(var(--muted));
}

:where(.tabs > [role=tablist] > [role=tab]) {
	padding: calc(var(--unit) * 1.5) calc(var(--unit) * 3);
	border-radius: var(--radius-md);
	font-size: var(--text-sm);
	font-weight: 500;
	line-height: 1.25rem;
	white-space: nowrap;
	text-decoration: none;
	color: inherit;
	outline: 2px solid transparent;
	transition: background-color var(--duration), color var(--duration), box-shadow var(--duration);
}

:where(.tabs > [role=tablist] > [role=tab]:hover) {
	color: hsl(var(--ink));
}

:where(.tabs > [role=tablist] > [role=tab]:focus-visible) {
	box-shadow: var(--focus-ring);
}

:where(.tabs > [role=tablist] > [role=tab][aria-selected=true]) {
	background: hsl(var(--card));
	color: hsl(var(--ink));
	box-shadow: var(--shadow-soft);
}

:where(.tabs > [role=tabpanel]) {
	margin-top: calc(var(--unit) * 2);
}

/* pagination: a row of icon-size buttons, the current page outlined */

:where(.pagination > ul) {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: calc(var(--unit) * 1);
}

:where(.pagination li) {
	margin: 0;
}

:where(.pagination li > span) {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.25rem;
	height: 2.25rem;
	color: hsl(var(--muted));
}

/* motion: every transition and entrance runs for --duration, which is zero when the visitor asks for less motion; a loop that signals loading slows down instead of stopping */

@media (prefers-reduced-motion: reduce) {
	:root,
	:host {
		--duration: 0s;
	}

	.spinner {
		animation-duration: 3s;
	}

	.button.htmx-request::before,
	.htmx-request .button[type=submit]::before {
		animation-duration: 3s, 0s;
	}

	.skeleton {
		animation-duration: 6s;
	}

	:where(.progress:not([aria-valuenow]))::before {
		animation-duration: 6s;
	}
}

/* forced colours: the browser drops shadows and background colours, so each shape that only a shadow or a fill drew gets a border or a system colour */

@media (forced-colors: active) {
	:where(.status),
	:where(.progress),
	:where(.switch),
	:where(.avatar),
	:where(.skeleton),
	:where(.tabs > [role=tablist]) {
		border: 1px solid CanvasText;
	}

	:where(.progress)::before,
	:where(.status),
	.switch:checked {
		background-color: Highlight;
	}

	.switch:checked {
		border-color: Highlight;
	}

	:where(.check, .checkbox, .radio) {
		border: 1px solid CanvasText;
	}

	:where(.check:checked, .checkbox:checked, .radio:checked) {
		border-color: Highlight;
		background-color: Highlight;
	}

	:where(.check, .checkbox, .radio)::before {
		background-color: HighlightText;
	}

	:where(.tabs > [role=tablist] > [role=tab][aria-selected=true]) {
		border: 1px solid Highlight;
	}
}

/* touch: controls reach 44px on a coarse pointer, and nothing else changes */

@media (pointer: coarse) {
	:where(.button, .input, .select) {
		min-height: 2.75rem;
	}

	:where(.field > .option) {
		min-height: 2.75rem;
	}
}

/* hero: the text column, and a media column beside it when there is one; with no media the text sits centred. The columns stack below 768px */

:where(.hero) {
	display: grid;
	align-items: center;
	gap: calc(var(--unit) * 8);
	padding: calc(var(--unit) * 6) 0;
}

@media (min-width: 768px) {
	:where(.hero) {
		grid-template-columns: repeat(2, 1fr);
		gap: calc(var(--unit) * 16);
		padding: calc(var(--unit) * 10) 0;
	}

	:where(.hero > div:only-child) {
		grid-column: 1 / -1;
	}
}

:where(.hero > div:first-child) {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: calc(var(--unit) * 5);
	max-width: 36em;
}

:where(.hero > div:only-child) {
	align-items: center;
	margin: 0 auto;
	text-align: center;
}

:where(.hero > div:first-child > header) {
	display: flex;
	flex-direction: column;
	align-items: inherit;
	gap: calc(var(--unit) * 5);
}

:where(.hero > div:first-child > header h1) {
	margin: 0;
	font-family: var(--font-heading);
	font-size: var(--text-3xl);
	font-weight: 700;
	line-height: 1.1;
	text-wrap: balance;
}

:where(.hero > div:first-child > header h2) {
	margin: 0;
	font-family: var(--font-heading);
	font-size: var(--text-xl);
	font-weight: 500;
	text-transform: uppercase;
	text-wrap: balance;
	color: hsl(var(--primary));
}

:where(.hero > div:first-child > header p) {
	margin: 0;
	font-size: var(--text-lg);
	text-wrap: pretty;
	color: hsl(var(--muted));
}

:where(.hero > div:first-child > footer) {
	display: flex;
	flex-wrap: wrap;
	gap: calc(var(--unit) * 4);
	margin-top: calc(var(--unit) * 5);
}

:where(.hero > div:only-child > footer) {
	justify-content: center;
}

/* navbar: the brand on the left, then the links and the actions; below 768px the links give way to the menu dropdown */

:where(.navbar) {
	display: flex;
	align-items: center;
	gap: calc(var(--unit) * 2);
	padding: calc(var(--unit) * 3) 0;
}

:where(.navbar > div:first-child) {
	flex: 1;
	font-family: var(--font-heading);
	font-size: var(--text-xl);
	font-weight: 700;
}

:where(.navbar > div:first-child > a) {
	color: inherit;
	text-decoration: none;
}

:where(.navbar > nav) {
	display: none;
	align-items: center;
	gap: calc(var(--unit) * 1);
}

:where(.navbar > div:not(:first-child)) {
	display: flex;
	align-items: center;
	gap: calc(var(--unit) * 2);
}

@media (min-width: 768px) {
	:where(.navbar > nav) {
		display: flex;
	}

	.navbar-menu {
		display: none;
	}
}

/* calendar: a month as a header, a weekday row and a grid of days; below 768px the weekday row goes and only the days with events stay, as a list */

:where(.calendar) {
	border: 1px solid var(--border-color-soft);
	border-radius: var(--radius-md);
	background: hsl(var(--card));
	overflow: hidden;
}

:where(.calendar > header) {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: calc(var(--unit) * 2);
	padding: calc(var(--unit) * 2);
	border-bottom: 1px solid var(--border-color-soft);
}

:where(.calendar > header > h3) {
	margin: 0;
	font-family: var(--font-heading);
	font-size: var(--text-xl);
	font-weight: 600;
}

:where(.calendar > header > div) {
	display: flex;
	gap: calc(var(--unit) * 1);
}

:where(.calendar > div) {
	display: none;
}

:where(.calendar > ol) {
	display: grid;
	margin: 0;
	padding: 0;
	list-style: none;
}

:where(.calendar > ol > li) {
	min-width: 0;
	padding: calc(var(--unit) * 2);
}

:where(.calendar time) {
	display: block;
	margin-bottom: calc(var(--unit) * 1);
	font-family: var(--font-heading);
	font-size: var(--text-lg);
}

:where(.calendar time[aria-current]) {
	font-weight: 700;
	color: hsl(var(--primary));
}

:where(.calendar time > b) {
	font-weight: inherit;
}

:where(.calendar > ol > li > ul) {
	display: flex;
	flex-direction: column;
	gap: calc(var(--unit) * 1);
	margin: 0;
	padding: 0;
	list-style: none;
}

:where(.calendar > ol > li > ul > li) {
	padding: calc(var(--unit) * 1) calc(var(--unit) * 2);
	border-radius: var(--radius);
	background: var(--well);
	font-size: var(--text-sm);
}

:where(.calendar > ol > li > ul a) {
	color: inherit;
	text-decoration: none;
}

@media (max-width: 767px) {
	:where(.calendar > ol > li[data-empty], .calendar > ol > li[data-outside]) {
		display: none;
	}
}

@media (min-width: 768px) {
	:where(.calendar > div) {
		display: grid;
		grid-template-columns: repeat(7, 1fr);
		background: var(--well);
		color: hsl(var(--muted));
		font-size: var(--text-xs);
		font-weight: 600;
		text-transform: uppercase;
	}

	:where(.calendar > div > span) {
		padding: calc(var(--unit) * 2);
	}

	:where(.calendar > ol) {
		grid-template-columns: repeat(7, 1fr);
	}

	:where(.calendar > ol > li) {
		min-height: 7rem;
		border-top: 1px solid var(--border-color-soft);
	}

	:where(.calendar > ol > li:not(:nth-child(7n))) {
		border-right: 1px solid var(--border-color-soft);
	}

	:where(.calendar > ol > li[data-outside]) {
		background: var(--well);
		color: hsl(var(--muted));
	}

	:where(.calendar time > b) {
		display: none;
	}
}

/* search: a form that lays its input, a select before it and the button in one row */

:where(.search) {
	display: flex;
	align-items: center;
	gap: calc(var(--unit) * 2);
}

:where(.search > .input) {
	flex: 1;
	min-width: 0;
}

:where(.search > .select) {
	width: auto;
	flex-shrink: 0;
}

/* facets: an accordion of option groups; each option is a check with its count at the far end, and the options past the limit sit in a nested details */

:where(.facets) {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: calc(var(--unit) * 2);
}

:where(.facets > .accordion) {
	align-self: stretch;
}

:where(.facets summary > .badge) {
	margin-left: auto;
}

:where(.facets .accordion details > div) {
	color: hsl(var(--ink));
}

:where(.facets .accordion details > div > div) {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: calc(var(--unit) * 2);
	padding: calc(var(--unit) * 1) 0;
}

:where(.facets .accordion details > div > div > small) {
	color: hsl(var(--muted));
}

:where(.facets .accordion details details > summary) {
	padding: calc(var(--unit) * 2) 0;
	color: hsl(var(--primary-text));
}

:where(.facets .accordion details details) {
	border-bottom: 0;
}

/* wizard: a form with its progress above, the step's fields in the middle and the buttons below, Next at the far end */

:where(.wizard) {
	display: flex;
	flex-direction: column;
	gap: calc(var(--unit) * 6);
}

:where(.wizard > section) {
	display: flex;
	flex-direction: column;
	gap: calc(var(--unit) * 4);
}

:where(.wizard > footer) {
	display: flex;
	align-items: center;
	gap: calc(var(--unit) * 2);
}

:where(.wizard > footer > :last-child) {
	margin-left: auto;
}

@media (min-width:768px){:where(.input,.textarea,.select){font-size:var(--text-sm);}}
/* layer: shortcuts */
.container{width:100%;margin-left:auto;margin-right:auto;padding-left:1.5rem;padding-right:1.5rem;}
@media (min-width: 480px){
.container{margin-left:auto;margin-right:auto;padding-left:1.5rem;padding-right:1.5rem;}
}
@media (min-width: 640px){
.container{max-width:640px;margin-left:auto;margin-right:auto;padding-left:1.5rem;padding-right:1.5rem;}
}
@media (min-width: 768px){
.container{max-width:768px;margin-left:auto;margin-right:auto;padding-left:1.5rem;padding-right:1.5rem;}
}
@media (min-width: 1024px){
.container{max-width:1024px;margin-left:auto;margin-right:auto;padding-left:1.5rem;padding-right:1.5rem;}
}
@media (min-width: 1280px){
.container{max-width:1280px;margin-left:auto;margin-right:auto;padding-left:1.5rem;padding-right:1.5rem;}
}
@media (min-width: 1536px){
.container{max-width:1280px;margin-left:auto;margin-right:auto;padding-left:1.5rem;padding-right:1.5rem;}
}
/* layer: surface */
.\[\&_nav_\.button\]\:bg-card nav .button,
.bg-card{background-color:hsl(var(--card));color:hsl(var(--ink));}
.bg-accent{background-color:hsl(var(--accent));color:hsl(var(--accent-contrast));}
.bg-canvas{background-color:hsl(var(--canvas));color:hsl(var(--ink));}
.bg-destructive{background-color:hsl(var(--destructive));color:hsl(var(--destructive-contrast));}
.bg-info{background-color:hsl(var(--info));color:hsl(var(--info-contrast));}
.bg-primary{background-color:hsl(var(--primary));color:hsl(var(--primary-contrast));}
.bg-secondary{background-color:hsl(var(--secondary));color:hsl(var(--secondary-contrast));}
.bg-success{background-color:hsl(var(--success));color:hsl(var(--success-contrast));}
.bg-warning{background-color:hsl(var(--warning));color:hsl(var(--warning-contrast));}
.bg-hover{background-color:var(--hover);color:hsl(var(--ink));}
.bg-well{background-color:var(--well);color:hsl(var(--ink));}
/* layer: default */
.\[--per\:3\]{--per:3;}
.\[--x\:85\%\]{--x:85%;}
.\[--y\:85\%\]{--y:85%;}
.\[\&_h1\]\:sr-only h1,
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0;}
.pointer-events-none{pointer-events:none;}
.absolute{position:absolute;}
.fixed{position:fixed;}
.relative{position:relative;}
.static{position:static;}
.-left-8{left:-2rem;}
.-right-20{right:-5rem;}
.top-40{top:10rem;}
.line-clamp-3{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;line-clamp:3;}
.z-\[1\]{z-index:1;}
.z-0{z-index:0;}
.z-10{z-index:10;}
.z-20{z-index:20;}
.grid{display:grid;}
.m-8{margin:2rem;}
.\[\&\>div\]\:mx-2>div{margin-left:0.5rem;margin-right:0.5rem;}
.mx-auto{margin-left:auto;margin-right:auto;}
.my-12{margin-top:3rem;margin-bottom:3rem;}
.my-4{margin-top:1rem;margin-bottom:1rem;}
.my-8{margin-top:2rem;margin-bottom:2rem;}
.-mt-6{margin-top:-1.5rem;}
.mb-1{margin-bottom:0.25rem;}
.mb-10{margin-bottom:2.5rem;}
.mb-2{margin-bottom:0.5rem;}
.mb-3{margin-bottom:0.75rem;}
.mb-6{margin-bottom:1.5rem;}
.mb-8{margin-bottom:2rem;}
.me{margin-inline-end:1rem;}
.mt-1{margin-top:0.25rem;}
.mt-2{margin-top:0.5rem;}
.mt-24{margin-top:6rem;}
.mt-4{margin-top:1rem;}
.mt-8{margin-top:2rem;}
.block{display:block;}
.hidden{display:none;}
.aspect-\[16\/9\],
.aspect-video{aspect-ratio:16/9;}
.aspect-\[2\/3\]{aspect-ratio:2/3;}
.\[\&_nav_\.button\]\:h-12 nav .button,
.h-12{height:3rem;}
.\[\&\>div\]\:max-w-64>div{max-width:16rem;}
.\[\&\>svg\]\:h-auto>svg{height:auto;}
.\[\&\>svg\]\:w-full>svg,
.w-full{width:100%;}
.h-14{height:3.5rem;}
.h-16{height:4rem;}
.h-4{height:1rem;}
.h-5{height:1.25rem;}
.h-6{height:1.5rem;}
.h-8{height:2rem;}
.h-full{height:100%;}
.max-w-2xl{max-width:42rem;}
.max-w-4xl{max-width:56rem;}
.max-w-6xl{max-width:72rem;}
.max-w-96{max-width:24rem;}
.min-h-full{min-height:100%;}
.min-h-screen{min-height:100vh;}
.min-w-0{min-width:0;}
.min-w-72{min-width:18rem;}
.w-1\/2{width:50%;}
.w-12{width:3rem;}
.w-20{width:5rem;}
.w-24{width:6rem;}
.w-3\/4{width:75%;}
.w-44{width:11rem;}
.w-48{width:12rem;}
.w-6{width:1.5rem;}
.w-64{width:16rem;}
.w-72{width:18rem;}
.w-8{width:2rem;}
.flex{display:flex;}
.flex-1{flex:1 1 0%;}
.shrink-0{flex-shrink:0;}
.\[\&_nav\]\:grow nav{flex-grow:1;}
.flex-row-reverse{flex-direction:row-reverse;}
.flex-col{flex-direction:column;}
.flex-wrap{flex-wrap:wrap;}
.table{display:table;}
.\[\&\>div\]\:items-start>div,
.items-start{align-items:flex-start;}
.items-end{align-items:flex-end;}
.items-center{align-items:center;}
.items-baseline{align-items:baseline;}
.items-stretch{align-items:stretch;}
.\[\&\>div\>footer\]\:self-stretch>div>footer{align-self:stretch;}
.justify-end{justify-content:flex-end;}
.\[\&_nav\]\:justify-center nav,
.justify-center{justify-content:center;}
.justify-between{justify-content:space-between;}
.justify-around{justify-content:space-around;}
.\[\&_nav\]\:gap-3 nav{gap:0.75rem;}
.gap-1{gap:0.25rem;}
.gap-10{gap:2.5rem;}
.gap-12{gap:3rem;}
.gap-2{gap:0.5rem;}
.gap-20{gap:5rem;}
.gap-4{gap:1rem;}
.gap-6{gap:1.5rem;}
.gap-8{gap:2rem;}
.overflow-hidden{overflow:hidden;}
.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.b,
.border{border-width:1px;}
.border-y{border-top-width:1px;border-bottom-width:1px;}
.border-b{border-bottom-width:1px;}
.border-l{border-left-width:1px;}
.border-r{border-right-width:1px;}
.first\:border-l:first-child{border-left-width:1px;}
.last\:border-r:last-child{border-right-width:1px;}
.border-destructive{--un-border-opacity:1;border-color:hsl(var(--destructive) / var(--un-border-opacity));}
.border-primary{--un-border-opacity:1;border-color:hsl(var(--primary) / var(--un-border-opacity));}
.rounded-full{border-radius:var(--radius-full);}
.rounded-lg{border-radius:var(--radius);}
.rounded-md{border-radius:var(--radius-md);}
.rounded-r-md{border-top-right-radius:var(--radius-md);border-bottom-right-radius:var(--radius-md);}
.first\:rounded-l-md:first-child{border-top-left-radius:var(--radius-md);border-bottom-left-radius:var(--radius-md);}
.last\:rounded-r-md:last-child{border-top-right-radius:var(--radius-md);border-bottom-right-radius:var(--radius-md);}
.bg-accent-100{--un-bg-opacity:1;background-color:hsl(var(--accent-100) / var(--un-bg-opacity));}
.bg-accent-200{--un-bg-opacity:1;background-color:hsl(var(--accent-200) / var(--un-bg-opacity));}
.bg-accent-300{--un-bg-opacity:1;background-color:hsl(var(--accent-300) / var(--un-bg-opacity));}
.bg-accent-400{--un-bg-opacity:1;background-color:hsl(var(--accent-400) / var(--un-bg-opacity));}
.bg-accent-50{--un-bg-opacity:1;background-color:hsl(var(--accent-50) / var(--un-bg-opacity));}
.bg-accent-500{--un-bg-opacity:1;background-color:hsl(var(--accent-500) / var(--un-bg-opacity));}
.bg-accent-600{--un-bg-opacity:1;background-color:hsl(var(--accent-600) / var(--un-bg-opacity));}
.bg-accent-700{--un-bg-opacity:1;background-color:hsl(var(--accent-700) / var(--un-bg-opacity));}
.bg-accent-800{--un-bg-opacity:1;background-color:hsl(var(--accent-800) / var(--un-bg-opacity));}
.bg-accent-900{--un-bg-opacity:1;background-color:hsl(var(--accent-900) / var(--un-bg-opacity));}
.bg-accent-950{--un-bg-opacity:1;background-color:hsl(var(--accent-950) / var(--un-bg-opacity));}
.bg-accent-dark{--un-bg-opacity:1;background-color:hsl(var(--accent-dark) / var(--un-bg-opacity));}
.bg-accent-light{--un-bg-opacity:1;background-color:hsl(var(--accent-light) / var(--un-bg-opacity));}
.bg-canvas-dark{--un-bg-opacity:1;background-color:hsl(var(--canvas-dark) / var(--un-bg-opacity));}
.bg-canvas-light{--un-bg-opacity:1;background-color:hsl(var(--canvas-light) / var(--un-bg-opacity));}
.bg-destructive-dark{--un-bg-opacity:1;background-color:hsl(var(--destructive-dark) / var(--un-bg-opacity));}
.bg-destructive-light{--un-bg-opacity:1;background-color:hsl(var(--destructive-light) / var(--un-bg-opacity));}
.bg-info-dark{--un-bg-opacity:1;background-color:hsl(var(--info-dark) / var(--un-bg-opacity));}
.bg-info-light{--un-bg-opacity:1;background-color:hsl(var(--info-light) / var(--un-bg-opacity));}
.bg-primary-100{--un-bg-opacity:1;background-color:hsl(var(--primary-100) / var(--un-bg-opacity));}
.bg-primary-200{--un-bg-opacity:1;background-color:hsl(var(--primary-200) / var(--un-bg-opacity));}
.bg-primary-300{--un-bg-opacity:1;background-color:hsl(var(--primary-300) / var(--un-bg-opacity));}
.bg-primary-400{--un-bg-opacity:1;background-color:hsl(var(--primary-400) / var(--un-bg-opacity));}
.bg-primary-50{--un-bg-opacity:1;background-color:hsl(var(--primary-50) / var(--un-bg-opacity));}
.bg-primary-500{--un-bg-opacity:1;background-color:hsl(var(--primary-500) / var(--un-bg-opacity));}
.bg-primary-600{--un-bg-opacity:1;background-color:hsl(var(--primary-600) / var(--un-bg-opacity));}
.bg-primary-700{--un-bg-opacity:1;background-color:hsl(var(--primary-700) / var(--un-bg-opacity));}
.bg-primary-800{--un-bg-opacity:1;background-color:hsl(var(--primary-800) / var(--un-bg-opacity));}
.bg-primary-900{--un-bg-opacity:1;background-color:hsl(var(--primary-900) / var(--un-bg-opacity));}
.bg-primary-950{--un-bg-opacity:1;background-color:hsl(var(--primary-950) / var(--un-bg-opacity));}
.bg-primary-dark{--un-bg-opacity:1;background-color:hsl(var(--primary-dark) / var(--un-bg-opacity));}
.bg-primary-light{--un-bg-opacity:1;background-color:hsl(var(--primary-light) / var(--un-bg-opacity));}
.bg-secondary-100{--un-bg-opacity:1;background-color:hsl(var(--secondary-100) / var(--un-bg-opacity));}
.bg-secondary-200{--un-bg-opacity:1;background-color:hsl(var(--secondary-200) / var(--un-bg-opacity));}
.bg-secondary-300{--un-bg-opacity:1;background-color:hsl(var(--secondary-300) / var(--un-bg-opacity));}
.bg-secondary-400{--un-bg-opacity:1;background-color:hsl(var(--secondary-400) / var(--un-bg-opacity));}
.bg-secondary-50{--un-bg-opacity:1;background-color:hsl(var(--secondary-50) / var(--un-bg-opacity));}
.bg-secondary-500{--un-bg-opacity:1;background-color:hsl(var(--secondary-500) / var(--un-bg-opacity));}
.bg-secondary-600{--un-bg-opacity:1;background-color:hsl(var(--secondary-600) / var(--un-bg-opacity));}
.bg-secondary-700{--un-bg-opacity:1;background-color:hsl(var(--secondary-700) / var(--un-bg-opacity));}
.bg-secondary-800{--un-bg-opacity:1;background-color:hsl(var(--secondary-800) / var(--un-bg-opacity));}
.bg-secondary-900{--un-bg-opacity:1;background-color:hsl(var(--secondary-900) / var(--un-bg-opacity));}
.bg-secondary-950{--un-bg-opacity:1;background-color:hsl(var(--secondary-950) / var(--un-bg-opacity));}
.bg-secondary-dark{--un-bg-opacity:1;background-color:hsl(var(--secondary-dark) / var(--un-bg-opacity));}
.bg-secondary-light{--un-bg-opacity:1;background-color:hsl(var(--secondary-light) / var(--un-bg-opacity));}
.bg-success-dark{--un-bg-opacity:1;background-color:hsl(var(--success-dark) / var(--un-bg-opacity));}
.bg-success-light{--un-bg-opacity:1;background-color:hsl(var(--success-light) / var(--un-bg-opacity));}
.bg-warning-dark{--un-bg-opacity:1;background-color:hsl(var(--warning-dark) / var(--un-bg-opacity));}
.bg-warning-light{--un-bg-opacity:1;background-color:hsl(var(--warning-light) / var(--un-bg-opacity));}
.bg-contain{background-size:contain;}
.bg-center{background-position:center;}
.bg-no-repeat{background-repeat:no-repeat;}
.object-cover{object-fit:cover;}
.object-fill{object-fit:fill;}
.p-0{padding:0;}
.p-2{padding:0.5rem;}
.p-4{padding:1rem;}
.p-6{padding:1.5rem;}
.p-8{padding:2rem;}
.\[\&\>header\]\:px-8>header{padding-left:2rem;padding-right:2rem;}
.px-2{padding-left:0.5rem;padding-right:0.5rem;}
.px-4{padding-left:1rem;padding-right:1rem;}
.px-6{padding-left:1.5rem;padding-right:1.5rem;}
.py-10{padding-top:2.5rem;padding-bottom:2.5rem;}
.py-12{padding-top:3rem;padding-bottom:3rem;}
.py-16{padding-top:4rem;padding-bottom:4rem;}
.py-8{padding-top:2rem;padding-bottom:2rem;}
.\[\&\>div\>header\:last-child\]\:pb-10>div>header:last-child{padding-bottom:2.5rem;}
.pb-8{padding-bottom:2rem;}
.\[\&\>div\]\:text-left>div{text-align:left;}
.\[\&_header_p\]\:text-balance header p{text-wrap:balance;}
.\[\&_h2\]\:text-3xl h2,
.text-3xl{font-size:1.875rem;line-height:2.25rem;}
.\[\&_header_p\]\:text-base header p,
.text-base{font-size:1rem;line-height:1.5rem;}
.text-2xl{font-size:1.5rem;line-height:2rem;}
.text-lg{font-size:1.125rem;line-height:1.75rem;}
.text-sm{font-size:0.875rem;line-height:1.25rem;}
.text-xl{font-size:1.25rem;line-height:1.75rem;}
.text-xs{font-size:0.75rem;line-height:1rem;}
.text-accent-contrast{--un-text-opacity:1;color:hsl(var(--accent-contrast) / var(--un-text-opacity));}
.text-destructive-contrast{--un-text-opacity:1;color:hsl(var(--destructive-contrast) / var(--un-text-opacity));}
.text-info-contrast{--un-text-opacity:1;color:hsl(var(--info-contrast) / var(--un-text-opacity));}
.text-ink{--un-text-opacity:1;color:hsl(var(--ink) / var(--un-text-opacity));}
.text-muted{--un-text-opacity:1;color:hsl(var(--muted) / var(--un-text-opacity));}
.text-primary{--un-text-opacity:1;color:hsl(var(--primary) / var(--un-text-opacity));}
.text-primary-contrast{--un-text-opacity:1;color:hsl(var(--primary-contrast) / var(--un-text-opacity));}
.text-secondary-contrast{--un-text-opacity:1;color:hsl(var(--secondary-contrast) / var(--un-text-opacity));}
.text-success-contrast{--un-text-opacity:1;color:hsl(var(--success-contrast) / var(--un-text-opacity));}
.text-warning-contrast{--un-text-opacity:1;color:hsl(var(--warning-contrast) / var(--un-text-opacity));}
.\[\&_h2\]\:font-semibold h2,
.font-semibold{font-weight:600;}
.\[\&_header_p\]\:font-medium header p,
.font-medium{font-weight:500;}
.font-bold{font-weight:700;}
.font-normal{font-weight:400;}
.\[\&_h2\]\:leading-none h2{line-height:1;}
.leading-relaxed{line-height:1.625;}
.leading-snug{line-height:1.375;}
.leading-tight{line-height:1.25;}
.font-heading{font-family:var(--font-heading, inherit);}
.font-mono{font-family:var(--font-mono, ui-monospace), monospace;}
.font-sans{font-family:var(--font-base, ui-sans-serif), system-ui, sans-serif;}
.capitalize{text-transform:capitalize;}
.hover\:underline:hover{text-decoration-line:underline;}
.tab{-moz-tab-size:4;-o-tab-size:4;tab-size:4;}
.opacity-75{opacity:0.75;}
.hover\:opacity-100:hover{opacity:1;}
.\[\&_nav_\.button\]\:shadow-sm nav .button,
.shadow-sm{--un-shadow:var(--un-shadow-inset) 0 1px 2px 0 var(--un-shadow-color, rgb(0 0 0 / 0.05));box-shadow:var(--un-ring-offset-shadow), var(--un-ring-shadow), var(--un-shadow);}
.ring{--un-ring-width:3px;--un-ring-offset-shadow:var(--un-ring-inset) 0 0 0 var(--un-ring-offset-width) var(--un-ring-offset-color);--un-ring-shadow:var(--un-ring-inset) 0 0 0 calc(var(--un-ring-width) + var(--un-ring-offset-width)) var(--un-ring-color);box-shadow:var(--un-ring-offset-shadow), var(--un-ring-shadow), var(--un-shadow);}
.filter{filter:var(--un-blur) var(--un-brightness) var(--un-contrast) var(--un-drop-shadow) var(--un-grayscale) var(--un-hue-rotate) var(--un-invert) var(--un-saturate) var(--un-sepia);}
.transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms;}
@media (min-width: 480px){
.xs\:-right-24{right:-6rem;}
.xs\:top-16{top:4rem;}
.xs\:\[\&\>div\>footer\]\:-mr-8>div>footer{margin-right:-2rem;}
.xs\:\[\&\>div\>footer\]\:mt-12>div>footer{margin-top:3rem;}
.xs\:\[\&\>div\>footer\]\:justify-end>div>footer{justify-content:flex-end;}
}
@media (min-width: 640px){
.sm\:-right-40{right:-10rem;}
.sm\:-top-16{top:-4rem;}
.sm\:col-span-2{grid-column:span 2/span 2;}
.sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr));}
.sm\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr));}
.sm\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr));}
.sm\:grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr));}
.sm\:\[\&\>div\]\:mx-6>div{margin-left:1.5rem;margin-right:1.5rem;}
.sm\:\[\&\>div\]\:max-w-sm>div{max-width:24rem;}
.sm\:w-56{width:14rem;}
.sm\:\[\&_header_p\]\:text-lg header p{font-size:1.125rem;line-height:1.75rem;}
}
@media (min-width: 768px){
.md\:\[--per\:6\]{--per:6;}
.md\:-right-40{right:-10rem;}
.md\:-top-12{top:-3rem;}
.md\:grid-cols-\[14rem_1fr\]{grid-template-columns:14rem 1fr;}
.md\:grid-cols-\[16rem_1fr\]{grid-template-columns:16rem 1fr;}
.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr));}
.md\:\[\&\>div\>footer\]\:mr-0>div>footer{margin-right:0;}
.md\:\[\&\>div\]\:max-w-md>div{max-width:28rem;}
.md\:\[\&_\.navbar\>div\:first-child\]\:flex .navbar>div:first-child{display:flex;}
.md\:\[\&_\.navbar\>div\:first-child\]\:flex-auto .navbar>div:first-child{flex:1 1 auto;}
.md\:\[\&_\.navbar\>div\:first-child\]\:justify-center .navbar>div:first-child{justify-content:center;}
.md\:gap-28{gap:7rem;}
.md\:\[\&_\.navbar\]\:gap-x-32 .navbar{column-gap:8rem;}
.md\:border-b-0{border-bottom-width:0px;}
.md\:border-r{border-right-width:1px;}
.md\:pb-24{padding-bottom:6rem;}
.md\:pt-16{padding-top:4rem;}
.md\:text-3xl{font-size:1.875rem;line-height:2.25rem;}
}
@media (min-width: 1024px){
.lg\:-right-32{right:-8rem;}
.lg\:-top-32{top:-8rem;}
.lg\:col-span-2{grid-column:span 2/span 2;}
.lg\:grid-cols-\[20rem_1fr\]{grid-template-columns:20rem 1fr;}
.lg\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr));}
.lg\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr));}
.lg\:\[\&\>div\]\:ml-10>div{margin-left:2.5rem;}
.lg\:w-80{width:20rem;}
.lg\:border-b-0{border-bottom-width:0px;}
.lg\:border-r{border-right-width:1px;}
.lg\:px-6{padding-left:1.5rem;padding-right:1.5rem;}
.lg\:py-12{padding-top:3rem;padding-bottom:3rem;}
.lg\:py-3{padding-top:0.75rem;padding-bottom:0.75rem;}
.lg\:pt-8{padding-top:2rem;}
}
@media (min-width: 1280px){
.xl\:col-span-2{grid-column:span 2/span 2;}
.xl\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr));}
.xl\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr));}
.xl\:px-8{padding-left:2rem;padding-right:2rem;}
.xl\:py-5{padding-top:1.25rem;padding-bottom:1.25rem;}
.xl\:text-\[125\%\]{font-size:125%;}
}