[data-whenwiz-screen] form {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 14px;
	width: 100%;
	max-width: 36rem;
}

[data-whenwiz-screen] label {
	display: flex;
	flex-direction: column;
	gap: 8px;
	width: 100%;
	font-family: var(--wp--preset--font-family--dm-mono);
	font-size: 13px;
	letter-spacing: 0.08em;
	line-height: 1.3;
	text-transform: uppercase;
}

[data-whenwiz-screen] input,
[data-whenwiz-screen] select,
[data-whenwiz-screen] textarea {
	width: 100%;
	box-sizing: border-box;
	margin: 0;
	padding: 16px 18px;
	border: 2px solid var(--wp--preset--color--ink);
	border-radius: 20px;
	background: var(--wp--preset--color--paper);
	color: var(--wp--preset--color--ink);
	font-family: var(--wp--preset--font-family--bricolage);
	font-size: 20px;
	font-weight: 500;
	letter-spacing: 0;
	line-height: 1.3;
	text-transform: none;
}

[data-whenwiz-screen] input[type="date"],
[data-whenwiz-screen] input[type="time"] {
	border-radius: 16px;
	font-family: var(--wp--preset--font-family--dm-mono);
	font-size: 16px;
	font-weight: 400;
}

[data-whenwiz-screen] textarea {
	min-height: 7rem;
	border-radius: 16px;
	font-family: var(--wp--preset--font-family--dm-mono);
	font-size: 13px;
	font-weight: 400;
}

[data-whenwiz-screen] input:focus,
[data-whenwiz-screen] select:focus,
[data-whenwiz-screen] textarea:focus {
	outline: none;
	border-width: 3px;
	box-shadow: 0 0 0 4px var(--wp--preset--color--tangerine);
}

[data-whenwiz-screen] label:has(input[type="checkbox"]) {
	flex-direction: row;
	align-items: center;
	gap: 10px;
	width: auto;
	font-family: var(--wp--preset--font-family--bricolage);
	font-size: 17px;
	font-weight: 500;
	letter-spacing: 0;
	text-transform: none;
}

[data-whenwiz-screen] input[type="checkbox"] {
	width: 1.15rem;
	height: 1.15rem;
	flex: 0 0 auto;
	padding: 0;
	border-radius: 4px;
	accent-color: var(--wp--preset--color--ink);
}

[data-whenwiz-screen] .wz-split {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	width: 100%;
}

[data-whenwiz-screen] .wz-split label {
	flex: 1 1 9rem;
}

[data-whenwiz-screen] .wz-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

[data-whenwiz-screen] button {
	margin: 0;
	padding: 14px 24px;
	border: 2px solid var(--wp--preset--color--ink);
	border-radius: 99px;
	background: var(--wp--preset--color--tangerine);
	color: var(--wp--preset--color--ink);
	font-family: var(--wp--preset--font-family--bricolage);
	font-size: 17px;
	font-weight: 700;
	line-height: 1.2;
	cursor: pointer;
}

[data-whenwiz-screen] button:hover {
	background: oklch(0.77 0.15 45);
}

[data-whenwiz-screen] button[type="button"],
[data-whenwiz-screen] button[name="start_now"] {
	background: transparent;
}

[data-whenwiz-screen] button[type="button"]:hover,
[data-whenwiz-screen] button[name="start_now"]:hover {
	background: oklch(0.96 0.012 85);
}

[data-whenwiz-screen] [data-whenwiz-message]:not(:empty) {
	margin: 4px 0 0;
	font-weight: 700;
}

[data-whenwiz-screen] ul {
	display: flex;
	flex-direction: column;
	gap: 16px;
	margin: 16px 0 0;
	padding: 0;
	list-style: none;
}

[data-whenwiz-screen] li {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 12px;
	padding: 20px;
	border: 2px solid var(--wp--preset--color--ink);
	border-radius: 28px;
}

[data-whenwiz-screen="event-list"] > p a {
	display: inline-block;
	padding: 14px 24px;
	border: 2px solid var(--wp--preset--color--ink);
	border-radius: 99px;
	background: var(--wp--preset--color--tangerine);
	color: var(--wp--preset--color--ink);
	font-weight: 700;
	text-decoration: none;
}

[data-whenwiz-screen="event-list"] > p a:hover {
	background: oklch(0.77 0.15 45);
}

[data-whenwiz-screen="home-start"],
[data-whenwiz-screen="register"] {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

[data-whenwiz-screen] .wz-preview,
[data-whenwiz-screen="register"] aside {
	box-sizing: border-box;
	max-width: 36rem;
	padding: 20px;
	border: 2px solid var(--wp--preset--color--ink);
	border-radius: 28px;
}

[data-whenwiz-screen] .wz-preview p,
[data-whenwiz-screen="register"] aside p {
	margin: 0 0 8px;
}

[data-whenwiz-screen] .wz-preview [data-whenwiz-part],
[data-whenwiz-screen="pair"] input {
	font-family: var(--wp--preset--font-family--dm-mono);
}

[data-whenwiz-screen="pair"] input {
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

@media (min-width: 720px) {
	[data-whenwiz-screen="register"] {
		display: grid;
		grid-template-columns: minmax(0, 36rem) minmax(16rem, 22rem);
		align-items: start;
	}

	[data-whenwiz-screen="register"] > h2,
	[data-whenwiz-screen="register"] > p {
		grid-column: 1 / -1;
	}

	[data-whenwiz-screen="register"] aside {
		margin-top: 28px;
	}
}
