@font-face {
	font-family: "Junicode";
	src: url("/fonts/JunicodeVF-Roman.woff2") format("woff2");
	font-weight: 300 700;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Junicode";
	src: url("/fonts/JunicodeVF-Italic.woff2") format("woff2");
	font-weight: 300 700;
	font-style: italic;
	font-display: swap;
}

@font-face {
	font-family: "nullpunktsenergiefont";
	src: url("/fonts/nullpunktsenergiefont-Regular.ttf") format("truetype");
	font-display: swap;
}

*:not(.katex):not(.katex *) {
	font-family: "Junicode", "nullpunktsenergiefont", "BabelStone Han";
	letter-spacing: 0;
	text-rendering: auto;
	image-rendering: optimizeQuality !important;
	font-variant-ligatures: discretionary-ligatures contextual common-ligatures;
	font-feature-settings: "ss17", "cv01", "cv02", "cv22" 2, "cv48", "cv33" 4;
	font-variant-numeric: lining-nums;
}

:root {
	--argent: #ffffff;
	--grey-0: #f7f7f7;
	--grey-1: #f1f1f1;
	--grey-2: #dcdcdc;
	--grey-3: #6b6b6b;
	--line: #767676;
	--text: #1b1b1b;
	--gules: #930000;
	--gules-hover: #b30000;
	--gules-deep: #6f0000;
	--gules-wash: #fbf1f1;
	--flag-argent: #ffffff;
	--flag-sable: #000000;
	--flag-gules: #ff0000;
	--flag-edge: #9a9a9a;
	--band: 4px;
	--label-w: 190px;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	font-size: 17px;
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	min-width: 320px;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	background: linear-gradient(180deg, var(--argent) 0, var(--grey-0) 55%, #eeeeee 100%) fixed;
	color: var(--text);
	line-height: 1.5;
}

a {
	color: var(--gules);
	text-decoration: none;
}

a:hover {
	color: var(--gules-hover);
	text-decoration: underline;
}

img,
svg {
	display: block;
}

:focus-visible {
	outline: 2px solid var(--gules);
	outline-offset: 2px;
}

.strip {
	flex: none;
	height: calc(var(--band) * 3 + 1px);
	border-top: 1px solid var(--flag-edge);
	background: linear-gradient(var(--flag-argent) 0 var(--band), var(--flag-sable) var(--band) calc(var(--band) * 2), var(--flag-gules) calc(var(--band) * 2) 100%);
}

.bar {
	display: flex;
	justify-content: flex-end;
	padding: 14px 1.1em 0;
}

.flag img {
	width: 22px;
	height: 22px;
}

.stage {
	flex: 1;
	display: flex;
	align-items: flex-start;
	justify-content: center;
	padding: 5vh 1.1em 6vh;
}

.card {
	width: 100%;
	max-width: 740px;
	padding: 30px 40px 30px;
	border-top: 3px solid var(--gules);
	border-radius: 12px;
	background: var(--argent);
	box-shadow: 0 18px 48px rgba(0, 0, 0, 0.08), 0 3px 10px rgba(0, 0, 0, 0.05);
}

.card-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding-bottom: 20px;
	margin-bottom: 22px;
	border-bottom: 1px solid var(--grey-2);
}

.card-brand {
	display: flex;
	align-items: center;
	gap: 16px;
	min-width: 0;
}

.card-brand img {
	height: 59px;
	width: auto;
}

.card-brand p {
	margin: 0;
}

.card-name {
	font-size: 1.65rem;
	font-weight: 700;
	line-height: 1.1;
}

.card-sub {
	margin-top: 5px !important;
	font-size: 0.8rem;
	font-variant-caps: all-small-caps;
	letter-spacing: 0.05em;
	color: var(--grey-3);
}

.card-id {
	display: flex;
	align-items: center;
	gap: 10px;
	color: var(--text);
	text-align: right;
}

.card-id:hover {
	color: var(--text);
	text-decoration: none;
}

.card-id img {
	order: 2;
	width: 20px;
	height: 20px;
}

.card-id span {
	display: flex;
	flex-direction: column;
	line-height: 1.25;
}

.card-id strong {
	font-size: 0.95rem;
}

.card-id small {
	font-size: 0.75rem;
	color: var(--grey-3);
}

.card-id:hover small {
	text-decoration: underline;
}

h1 {
	font-size: 1.25rem;
	font-weight: 700;
	line-height: 1.3;
	margin: 0 0 0.5em;
}

.intro {
	margin: 0 0 1.4em;
}

.intro a {
	font-weight: 600;
}

.alert {
	display: flex;
	align-items: stretch;
	margin: 0 0 1.6em;
	border: 1px solid #e2b9b9;
	border-radius: 8px;
	background: var(--gules-wash);
	overflow: hidden;
}

.alert-mark {
	flex: none;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 50px;
	background: var(--gules);
	color: var(--argent);
}

.alert p {
	margin: 0;
	padding: 12px 16px;
	align-self: center;
}

.form {
	margin: 0;
}

.row {
	display: grid;
	grid-template-columns: var(--label-w) minmax(0, 1fr);
	column-gap: 20px;
	margin-bottom: 1.25em;
}

.row label {
	padding-top: 12px;
	font-weight: 700;
	line-height: 1.3;
}

.req {
	margin-right: 5px;
	color: var(--gules);
}

.cell {
	min-width: 0;
}

.input {
	display: flex;
	align-items: stretch;
	height: 48px;
	border: 1px solid var(--line);
	border-radius: 8px;
	background: var(--argent);
	transition: border-color 0.15s, box-shadow 0.15s;
}

.input:focus-within {
	border-color: var(--gules);
	box-shadow: 0 0 0 3px rgba(147, 0, 0, 0.12);
}

.input-short {
	max-width: 200px;
}

.input input {
	flex: 1;
	min-width: 0;
	padding: 0 14px;
	border: 0;
	border-radius: 8px;
	background: transparent;
	color: var(--text);
	font-size: 1.05rem;
	font-variant-numeric: lining-nums tabular-nums;
	outline: none;
}

.input input.code {
	letter-spacing: 0.35em;
	font-size: 1.3rem;
}

.tool {
	flex: none;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	border: 0;
	background: transparent;
	color: #6b6b6b;
	cursor: pointer;
}

.tool:last-child {
	margin-right: 4px;
}

.tool:hover,
.tool[aria-expanded="true"],
.tool.is-on {
	color: var(--gules);
}

.eye-toggle .eye-off {
	display: none;
}

.eye-toggle.is-on .eye-off {
	display: inline;
}

.hint {
	margin: 7px 0 0;
	font-size: 0.85rem;
	line-height: 1.4;
	color: var(--grey-3);
}

.hint a {
	font-weight: 600;
}

.kb {
	margin-top: 8px;
	padding: 8px;
	border: 1px solid var(--grey-2);
	border-radius: 8px;
	background: var(--grey-1);
}

.kb-row {
	display: flex;
	gap: 5px;
	justify-content: center;
}

.kb-row + .kb-row {
	margin-top: 5px;
}

.kb-key {
	flex: 1 1 0;
	min-width: 0;
	max-width: 44px;
	height: 38px;
	padding: 0;
	border: 1px solid var(--grey-2);
	border-radius: 6px;
	background: var(--argent);
	color: var(--text);
	font-size: 1rem;
	cursor: pointer;
	box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

.kb-key:hover {
	border-color: var(--gules);
	color: var(--gules);
}

.kb-key[aria-pressed="true"] {
	background: var(--gules);
	border-color: var(--gules);
	color: var(--argent);
}

.kb-wide {
	max-width: 66px;
	flex-grow: 1.5;
}

.kb-space {
	max-width: 660px;
	flex-grow: 6;
}

.kb-blank {
	visibility: hidden;
}

.kb-digits .kb-key {
	max-width: 72px;
	height: 44px;
}

.aside {
	margin: 0.2em 0 1.6em;
	text-align: right;
}

.aside:has(+ .aside) {
	margin-bottom: 0.5em;
}

.aside a {
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.actions {
	display: flex;
	justify-content: center;
	gap: 16px;
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 150px;
	height: 48px;
	padding: 0 30px;
	border-radius: 999px;
	font-size: 1rem;
	font-weight: 600;
	line-height: 1;
	cursor: pointer;
	transition: transform 0.1s, box-shadow 0.15s, background 0.15s;
}

.btn:active {
	transform: translateY(1px);
}

.btn-1 {
	min-width: 230px;
	border: 0;
	background: linear-gradient(180deg, #a80000 0, var(--gules) 55%, var(--gules-deep) 100%);
	color: var(--argent);
	box-shadow: 0 6px 16px rgba(147, 0, 0, 0.28);
}

.btn-1:hover {
	background: linear-gradient(180deg, #bf0000 0, var(--gules-hover) 55%, var(--gules) 100%);
	box-shadow: 0 8px 20px rgba(147, 0, 0, 0.34);
}

.btn-2 {
	border: 1px solid var(--grey-2);
	background: linear-gradient(180deg, var(--argent) 0, #ececec 100%);
	color: #4a4a4a;
	box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.btn-2:hover {
	color: var(--gules);
	text-decoration: none;
	box-shadow: 0 5px 14px rgba(0, 0, 0, 0.13);
}

.alt {
	margin: 1.8em 0 0;
	padding-top: 1.1em;
	border-top: 1px solid var(--grey-2);
	text-align: center;
	font-size: 0.95rem;
}

.alt a {
	font-weight: 600;
}

.linkish {
	padding: 0;
	border: 0;
	background: none;
	color: var(--gules);
	font-size: inherit;
	font-weight: 600;
	cursor: pointer;
}

.linkish:hover:not(:disabled) {
	text-decoration: underline;
}

.linkish:disabled {
	color: var(--grey-3);
	cursor: default;
}

.wait {
	display: block;
	margin-top: 2px;
	font-size: 0.85rem;
	color: var(--grey-3);
}

.foot {
	flex: none;
	padding: 0 1.1em 24px;
	text-align: center;
	font-size: 0.85rem;
}

.foot p {
	margin: 0.5em 0 0;
}

@media (max-width: 680px) {
	.stage {
		padding-top: 2vh;
	}

	.card {
		padding: 22px 18px 20px;
		border-radius: 10px;
	}

	.card-head {
		flex-wrap: wrap;
	}

	.card-id {
		display: none;
	}

	.row {
		grid-template-columns: minmax(0, 1fr);
	}

	.row label {
		padding: 0 0 6px;
	}

	.input-short {
		max-width: none;
	}

	.actions {
		flex-direction: column-reverse;
	}

	.btn,
	.btn-1 {
		width: 100%;
		min-width: 0;
	}

	.kb {
		padding: 6px 4px;
	}

	.kb-row {
		gap: 3px;
	}

	.kb-key {
		height: 36px;
		font-size: 0.9rem;
	}
}

fieldset {
	margin: 0 0 1.4em;
	padding: 0;
	border: 0;
}

legend {
	width: 100%;
	margin-bottom: 1.1em;
	padding-bottom: 6px;
	border-bottom: 1px solid var(--grey-2);
	font-size: 0.8rem;
	font-weight: 700;
	font-variant-caps: all-small-caps;
	letter-spacing: 0.06em;
	color: var(--grey-3);
}

.row-label {
	padding-top: 12px;
	font-weight: 700;
	line-height: 1.3;
}

.choice {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.choice label {
	display: flex;
	align-items: center;
	gap: 8px;
	height: 48px;
	padding: 0 18px 0 14px;
	border: 1px solid var(--line);
	border-radius: 8px;
	cursor: pointer;
	font-weight: 400;
}

.choice label:has(input:checked) {
	border-color: var(--gules);
	box-shadow: 0 0 0 3px rgba(147, 0, 0, 0.12);
}

.choice input {
	accent-color: var(--gules);
	width: 18px;
	height: 18px;
	margin: 0;
}

.notice {
	display: flex;
	align-items: stretch;
	margin: 0 0 1.8em;
	border: 1px solid #e2b9b9;
	border-radius: 8px;
	background: var(--gules-wash);
	overflow: hidden;
}

.notice-mark {
	flex: none;
	display: flex;
	align-items: flex-start;
	justify-content: center;
	width: 54px;
	padding-top: 16px;
	background: var(--gules);
	color: var(--argent);
}

.notice > div {
	padding: 14px 18px 4px;
}

.notice p {
	margin: 0 0 10px;
	font-size: 0.95rem;
}

.notice .notice-head {
	font-weight: 700;
	font-size: 1rem;
	color: var(--gules-deep);
}

.rules {
	margin-top: 12px;
	padding: 4px 16px;
	border: 1px solid var(--grey-2);
	border-radius: 8px;
	background: var(--grey-0);
}

.rules section + section {
	border-top: 1px solid var(--grey-2);
}

.rules h2 {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 12px 0 6px;
	font-size: 0.85rem;
	font-weight: 700;
	line-height: 1.25;
}

.rules h2 img {
	flex: none;
	width: 22px;
	height: 22px;
}

.rules p {
	margin: 0 0 10px;
	font-size: 0.85rem;
	line-height: 1.45;
	color: #3d3d3d;
}

@media (max-width: 680px) {
	.row-label {
		padding: 0 0 6px;
	}

	.notice-mark {
		width: 42px;
	}
}

.hl {
	position: relative;
}

.hl .hl-back,
.hl input {
	font-size: 1.05rem;
	white-space: pre;
}

.hl .hl-back {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	line-height: 46px;
	padding: 0 14px;
	overflow: hidden;
	clip-path: inset(0 14px);
	color: var(--text);
	pointer-events: none;
}

.hl input {
	position: relative;
	z-index: 1;
	caret-color: var(--text);
}

.hl input::selection {
	background: rgba(147, 0, 0, 0.2);
}

.hl.has-bad {
	border-color: var(--gules);
}

.bad-char {
	color: #e00000;
	text-decoration: underline wavy #e00000;
	text-underline-offset: 3px;
}

.hint.bad {
	color: var(--gules);
	font-weight: 600;
}

.hint.bad:empty {
	margin: 0;
}

.review-title {
	margin: 0 0 0.6em;
	font-size: 1rem;
	font-weight: 700;
}

.review {
	display: grid;
	grid-template-columns: var(--label-w) minmax(0, 1fr);
	margin: 0 0 1.8em;
	border-top: 1px solid var(--grey-2);
}

.review dt,
.review dd {
	margin: 0;
	padding: 10px 0;
	border-bottom: 1px solid var(--grey-2);
}

.review dt {
	padding-right: 20px;
	font-weight: 700;
}

.review dd {
	white-space: pre-wrap;
	word-break: break-word;
	font-size: 1.05rem;
}

.review dd.mono {
	overflow-wrap: anywhere;
	font-variant-numeric: tabular-nums;
}

.review-actions {
	flex-wrap: wrap;
}

@media (max-width: 680px) {
	.review {
		grid-template-columns: minmax(0, 1fr);
	}

	.review dt {
		padding-bottom: 0;
		border-bottom: 0;
	}
}

@media print {
	body {
		background: none;
	}

	.bar,
	.foot,
	.card-id,
	.alt,
	.review-actions {
		display: none !important;
	}

	.stage {
		padding: 0;
	}

	.card {
		max-width: none;
		box-shadow: none;
		border-radius: 0;
		padding: 0;
	}

	.notice,
	.notice-mark,
	.strip {
		-webkit-print-color-adjust: exact;
		print-color-adjust: exact;
	}

	.review dt,
	.review dd {
		break-inside: avoid;
	}
}

[hidden] {
	display: none !important;
}

.sr {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}

.timeout {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 50;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 12px 20px;
	padding: 12px 18px;
	background: var(--argent);
	border-top: 3px solid var(--gules);
}

.timeout p {
	margin: 0;
	font-weight: 600;
}

html.has-timeout {
	scroll-padding-bottom: 120px;
}

html.has-timeout body {
	padding-bottom: 120px;
}

.invert {
	filter: brightness(0) invert(1);
}

.sent {
	margin: 0 0 1.2em;
	padding: 10px 14px;
	border-left: 3px solid var(--gules);
	background: var(--grey-1);
	font-size: 0.95rem;
}

.pi-label {
	margin: 0 0 4px;
	font-weight: 700;
	text-align: center;
}

.pi-number {
	margin: 0 0 1.4em;
	padding: 14px 10px;
	border: 1px solid var(--grey-2);
	border-radius: 8px;
	background: var(--grey-0);
	text-align: center;
	font-size: 1.9rem;
	letter-spacing: 0.12em;
	font-variant-numeric: lining-nums tabular-nums;
	color: var(--gules-deep);
	word-break: break-all;
}

a.btn {
	text-decoration: none;
}

a.btn-1:hover {
	color: var(--argent);
}

@media print {
	.done .actions {
		display: none !important;
	}
}

.rid {
	display: flex;
	align-items: baseline;
	justify-content: center;
	gap: 10px;
	margin: 0 0 1.2em;
	padding: 10px 14px;
	border: 1px dashed var(--line);
	border-radius: 8px;
}

.rid span {
	font-size: 0.85rem;
	color: var(--grey-3);
}

.rid strong {
	font-size: 1.25rem;
	letter-spacing: 0.1em;
	font-variant-numeric: lining-nums tabular-nums;
}

.qr-box {
	display: flex;
	justify-content: center;
	margin: 0 0 1.2em;
}

.qr-box:empty,
.qr-side:empty {
	display: none;
}

.qr-side {
	width: 131px;
	position: absolute;
	right: 7%;
	top: 39%;
}

.qr {
	display: block;
	width: min(240px, 100%);
	height: auto;
}

.card-app img {
	order: 2;
	width: 32px;
	height: 32px;
	object-fit: contain;
}

.share {
	width: 100%;
	margin: 0 0 1.8em;
	border-collapse: collapse;
	border-top: 2px solid var(--gules);
}

.share th,
.share td {
	padding: 11px 10px;
	border-bottom: 1px solid var(--grey-2);
	text-align: left;
	vertical-align: center;
}

.share thead th {
	font-size: 0.8rem;
	font-variant-caps: all-small-caps;
	letter-spacing: 0.06em;
	color: var(--grey-3);
	font-weight: 700;
}

.share tbody th {
	width: 38%;
	font-weight: 700;
}

.share td {
	font-variant-numeric: lining-nums tabular-nums;
	word-break: break-word;
}

.share-frni td .hint {
	margin: 0 0 10px;
}

.mini {
	display: block;
	margin: 8px 0 4px;
	font-size: 0.85rem;
	font-weight: 700;
}

@media (max-width: 680px) {
	.share tbody th {
		width: auto;
	}

	.share tr {
		display: block;
		border-bottom: 1px solid var(--grey-2);
	}

	.share th,
	.share td {
		display: block;
		border-bottom: 0;
	}

	.share thead {
		display: none;
	}
}
.kb-key.kb-double {
	max-width: 149px;
	flex-grow: 2;
}

.stage-wide {
	padding: 3vh 2.4vw 5vh;
}

.card-wide {
	max-width: 1360px;
	min-height: 70vh;
	display: flex;
	flex-direction: column;
}

.desk {
	flex: 1;
	display: grid;
	grid-template-columns: 260px minmax(0, 1fr);
	gap: 0 40px;
}

.side {
	display: flex;
	flex-direction: column;
	gap: 18px;
	padding-right: 32px;
	border-right: 1px solid var(--grey-2);
}

.side h1 {
	margin: 0;
}

.side-nav {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.side-nav a {
	padding: 11px 14px;
	border-left: 3px solid transparent;
	border-radius: 0 8px 8px 0;
	color: #4a4a4a;
	font-weight: 600;
}

.side-nav a:hover {
	background: var(--grey-0);
	color: var(--gules);
	text-decoration: none;
}

.side-nav a[aria-current="page"] {
	border-left-color: var(--gules);
	background: var(--gules-wash);
	color: var(--gules-deep);
}

.side-out {
	margin-top: auto;
}

.side-out .btn {
	width: 100%;
	min-width: 0;
}

.pane {
	min-width: 0;
}

.split {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px;
	align-items: start;
}

.panel {
	padding: 22px 24px;
	border: 1px solid var(--grey-2);
	border-radius: 10px;
	background: var(--argent);
}

.panel .review {
	margin: 0;
}

.panel h3 {
	margin: 0 0 0.8em;
	font-size: 1rem;
	font-weight: 700;
}

.panel p {
	margin: 0 0 1em;
}

.panel-actions {
	display: flex;
	margin-top: 1.4em;
}

.links {
	margin: 1.4em 0 0;
	padding: 0;
	list-style: none;
}

.links li + li {
	margin-top: 8px;
}

.links a {
	font-weight: 600;
}

.status {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 14px 16px;
	border: 1px solid var(--grey-2);
	border-radius: 10px;
	background: var(--grey-0);
	font-weight: 700;
}

.status-small {
	padding: 8px 12px;
	font-size: 0.9rem;
}

.status-mark {
	flex: none;
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: var(--grey-3);
}

.status.is-blocked {
	border-color: var(--gules);
	background: var(--gules-wash);
	color: var(--gules-deep);
}

.status.is-blocked .status-mark {
	background: var(--gules);
}

.btn:disabled {
	opacity: 0.5;
	cursor: default;
	transform: none;
}

.empty {
	margin: 0 0 1.8em;
	color: var(--grey-3);
}

.list tbody th {
	width: auto;
}

.share .angih {
	width: 1%;
	text-align: right;
}

.share .angih .btn {
	min-width: 81px;
	height: 36px;
	padding: 0 18px;
}

.list small {
	display: block;
	margin-top: 2px;
	color: var(--grey-3);
	font-size: 0.85rem;
	font-weight: 400;
}

.period {
	display: flex;
	gap: 10px;
}

.stack {
	display: grid;
	gap: 24px;
}

.row-pair {
	display: flex;
	flex-wrap: wrap;
	column-gap: 40px;
}

.row-pair .row {
	grid-template-columns: var(--label-w) auto;
}

.row-pair .row + .row {
	grid-template-columns: auto auto;
}

@media (max-width: 680px) {
	.row-pair .row,
	.row-pair .row + .row {
		grid-template-columns: minmax(0, 1fr);
	}
}

.input-digit {
	max-width: 64px;
}

.input-digit input {
	text-align: center;
}

.pair {
	display: flex;
	align-items: center;
	gap: 10px;
}

.booked {
	margin-top: 24px;
}

.booked-link {
	word-break: break-all;
}

.booked-code {
	font-weight: 700;
	letter-spacing: 0.08em;
}

.countdown strong {
	font-variant-numeric: tabular-nums;
}

.months {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr));
	gap: 24px;
}

.cal {
	width: 100%;
	border-collapse: collapse;
	table-layout: fixed;
}

.cal th {
	padding: 0 0 8px;
	font-size: 0.8rem;
	font-weight: 700;
	color: var(--grey-3);
	text-align: center;
}

.cal td {
	padding: 2px;
	text-align: center;
}

.cal-day {
	width: 100%;
	height: 36px;
	border: 1px solid var(--line);
	border-radius: 6px;
	background: var(--argent);
	font: inherit;
	cursor: pointer;
}

.cal-day:hover {
	border-color: var(--gules);
}

.cal-day[aria-pressed="true"] {
	border-color: var(--gules);
	background: var(--gules);
	color: var(--argent);
}

.cal-off {
	display: block;
	line-height: 36px;
	color: var(--line);
}

.slots:not(:has(.choice:not([hidden]))) {
	display: none;
}

.warn {
	display: flex;
	align-items: stretch;
	border: 1px solid var(--gules);
	border-radius: 8px;
	background: var(--argent);
	overflow: hidden;
}

.warn-mark {
	flex: none;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 58px;
	background: var(--gules);
}

.warn-tri {
	fill: var(--argent);
	stroke: var(--argent);
	stroke-width: 1.4;
	stroke-linejoin: round;
}

.warn-bang {
	stroke: var(--gules);
	stroke-width: 2.4;
	stroke-linecap: round;
}

.warn-dot {
	fill: var(--gules);
}

.warn p {
	margin: 0;
	padding: 14px 18px;
	color: var(--gules);
	font-weight: 700;
}

.pair-sep {
	font-size: 1.3rem;
	color: var(--grey-3);
}

.period .input-short {
	max-width: 140px;
}

.input select {
	flex: 1;
	min-width: 0;
	padding: 0 10px;
	border: 0;
	border-radius: 8px;
	background: transparent;
	color: var(--text);
	font-size: 1.05rem;
	outline: none;
}

@media (max-width: 1000px) {
	.split {
		grid-template-columns: minmax(0, 1fr);
	}
}

@media (max-width: 760px) {
	.desk {
		grid-template-columns: minmax(0, 1fr);
		gap: 24px;
	}

	.side {
		padding-right: 0;
		padding-bottom: 18px;
		border-right: 0;
		border-bottom: 1px solid var(--grey-2);
	}

	.side-nav {
		flex-direction: row;
		flex-wrap: wrap;
	}

	.side-nav a {
		border-left: 0;
		border-bottom: 3px solid transparent;
		border-radius: 8px 8px 0 0;
	}

	.side-nav a[aria-current="page"] {
		border-bottom-color: var(--gules);
	}

	.side-out {
		margin-top: 0;
	}

	.panel {
		padding: 18px 16px;
	}
}

.pager {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 8px;
	margin: -0.8em 0 1.8em;
	font-variant-numeric: lining-nums tabular-nums;
}

.pager a,
.pager-off {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 36px;
	height: 36px;
	padding: 0 8px;
	border: 1px solid var(--line);
	border-radius: 8px;
	color: var(--text);
	text-decoration: none;
}

.pager a:hover {
	border-color: var(--gules);
	color: var(--gules);
}

.pager-off {
	border-color: var(--grey-2);
	color: var(--grey-3);
}

.pager-now {
	padding: 0 8px;
}

.gdpr-link {
	margin: 0 0 1.2em;
	text-align: center;
}

.terms {
	max-height: 26em;
	overflow-y: auto;
	margin: 0 0 1.4em;
	padding: 18px 20px;
	border: 1px solid var(--grey-2);
	border-radius: 8px;
	background: var(--grey-0);
}

.terms h2 {
	margin: 0 0 0.8em;
	font-size: 1rem;
	font-weight: 700;
}

.terms h3 {
	margin: 1.2em 0 0.4em;
	font-size: 0.95rem;
	font-weight: 700;
}

.terms p,
.terms ul,
.terms ol {
	margin: 0 0 0.7em;
}

.check {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-weight: 600;
	cursor: pointer;
}

.check input {
	flex: none;
	width: 22px;
	height: 22px;
	margin: 1px 0 0;
	accent-color: var(--gules);
}
