:root {
	--page-ratio: .56165;
	--brown-950: #211611;
	--brown-900: #2d1e18;
	--brown-800: #483126;
	--brown-700: #604437;
	--brown-600: #765747;
	--brown-300: #c7ae99;
	--cream-50: #fffaf4;
	--cream-100: #f8efe4;
	--cream-200: #eee0d0;
	--cream-300: #dfcbb6;
	--ink: #382a24;
	--muted: #786860;
	--danger: #a13d35;
	--success: #2e7350;
	--shadow: 0 24px 80px rgba(0, 0, 0, .34);
	color-scheme: light;
}

* {
	box-sizing: border-box;
}

html,
body {
	width: 100%;
	min-height: 100%;
	margin: 0;
	overscroll-behavior: none;
}

body {
	min-height: 100vh;
	background:
		radial-gradient(circle at 50% 18%, rgba(121, 91, 73, .18), transparent 38%),
		#110d0b;
	color: var(--ink);
	font-family: Arial, "Noto Sans KR", "Malgun Gothic", sans-serif;
	-webkit-font-smoothing: antialiased;
}

button,
input,
table {
	font: inherit;
}

button,
a {
	-webkit-tap-highlight-color: transparent;
}

button {
	border: 0;
}

[hidden] {
	display: none !important;
}

.sr-only {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

.app-shell {
	position: fixed;
	inset: 0;
	display: grid;
	place-items: center;
	padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
	overflow: hidden;
}

.leaflet-stage {
	position: relative;
	width: 100%;
	height: 100vh;
	overflow: hidden;
	isolation: isolate;
}

@supports (height: 100svh) {
	.leaflet-stage {
		height: 100svh;
	}
}

@supports (height: 100dvh) {
	.leaflet-stage {
		height: 100dvh;
	}
}

.leaflet-page {
	position: absolute;
	inset: 0;
}

.visual-page {
	display: grid;
	place-items: center;
	background: transparent;
	touch-action: pan-y;
}

.image-stage,
.page-controls {
	position: absolute;
	left: 50%;
	top: 50%;
	width: min(100vw, calc(100vh * var(--page-ratio)));
	height: min(100vh, calc(100vw / var(--page-ratio)));
	transform: translate(-50%, -50%);
}

@supports (height: 100svh) {
	.image-stage,
	.page-controls {
		width: min(100vw, calc(100svh * var(--page-ratio)));
		height: min(100svh, calc(100vw / var(--page-ratio)));
	}
}

@supports (height: 100dvh) {
	.image-stage,
	.page-controls {
		width: min(100vw, calc(100dvh * var(--page-ratio)));
		height: min(100dvh, calc(100vw / var(--page-ratio)));
	}
}

.image-stage {
	overflow: hidden;
	background: #110d0b;
	box-shadow: var(--shadow);
	transition: opacity .35s ease;
}

.page-controls {
	z-index: 4;
	pointer-events: none;
	transition: opacity .35s ease;
}

.page-image {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: fill;
	user-select: none;
	-webkit-user-drag: none;
}

.page-image-full {
	opacity: 1;
}

.page-image-title {
	display: none;
}

.visual-page.is-leaving .image-stage,
.visual-page.is-leaving .page-controls,
.visual-page.is-entering .image-stage,
.visual-page.is-entering .page-controls {
	opacity: 0;
}

.hotspot {
	position: absolute;
	z-index: 2;
	pointer-events: auto;
	cursor: pointer;
	border-radius: 16px;
	background: transparent;
	color: transparent;
	outline: none;
}

.hotspot::after {
	content: "";
	position: absolute;
	inset: 14%;
	border-radius: 999px;
	background: rgba(214, 183, 151, 0);
	transform: scale(.68);
	transition: background .2s ease, transform .2s ease;
}

.hotspot:active::after {
	background: rgba(214, 183, 151, .18);
	transform: scale(1);
}

.hotspot:focus-visible {
	outline: 2px solid rgba(239, 212, 184, .9);
	outline-offset: -4px;
}

.hotspot-event {
	left: 18.5%;
	top: 71.2%;
	width: 21%;
	height: 10.5%;
}

.hotspot-timetable {
	left: 39.7%;
	top: 71.2%;
	width: 20%;
	height: 10.5%;
}

.hotspot-consent {
	left: 60.3%;
	top: 71.2%;
	width: 21%;
	height: 10.5%;
}

.hotspot-course {
	left: 27.4%;
	top: 82.2%;
	width: 22.5%;
	height: 11.2%;
}

.hotspot-venue {
	left: 50.2%;
	top: 82.2%;
	width: 23%;
	height: 11.2%;
}

.back-button,
.map-button,
.swipe-button {
	position: absolute;
	z-index: 5;
	display: grid;
	place-items: center;
	pointer-events: auto;
	cursor: pointer;
	color: #f8eee3;
	background: rgba(91, 61, 47, .92);
	box-shadow: 0 7px 20px rgba(44, 25, 17, .22);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	transition: transform .2s ease, background .2s ease, opacity .2s ease;
}

.back-button:hover,
.map-button:hover,
.swipe-button:hover {
	background: rgba(72, 47, 36, .98);
}

.back-button:active,
.map-button:active,
.swipe-button:active {
	transform: scale(.94);
}

.back-button:focus-visible,
.map-button:focus-visible,
.swipe-button:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 2px;
}

.back-button {
	left: 3.2%;
	top: 12.4%;
	width: clamp(34px, 8.5%, 46px);
	aspect-ratio: 1;
	border-radius: 7px;
}

.back-button svg {
	width: 55%;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.map-button {
    left: 12.2%;
    bottom: 5.2%;
    width: clamp(46px, 12%, 60px);
    aspect-ratio: 1;
    border-radius: 999px;
    animation: fadeInOut 4s ease-in-out infinite;
}

@keyframes fadeInOut {
    0% { opacity: 0; }
    50% { opacity: 1; }
    100% { opacity: 0; }
}

.map-button svg {
	width: 52%;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.65;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.map-button::after {
	content: "길찾기";
	position: absolute;
	right: 110%;
	padding: 7px 10px;
	border: 1px solid rgba(94, 65, 49, .25);
	border-radius: 999px;
	background: rgba(255, 249, 242, .88);
	box-shadow: 0 7px 20px rgba(44, 25, 17, .12);
	color: #5e4335;
	font-size: clamp(9px, 2.2vw, 12px);
	font-weight: 700;
	white-space: nowrap;
}

.swipe-button {
	top: 48%;
	width: clamp(28px, 7.8%, 38px);
	aspect-ratio: 1;
	border-radius: 999px;
	opacity: .9;
}

.swipe-button.prev {
	left: 2.7%;
}

.swipe-button.next {
	right: 2.7%;
}

.swipe-button svg {
	width: 46%;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.page-counter {
	position: absolute;
	left: 50%;
	bottom: 2.2%;
	z-index: 4;
	transform: translateX(-50%);
	padding: 5px 10px;
	border-radius: 999px;
	background: rgba(80, 53, 41, .82);
	color: #f8eee3;
	font-size: clamp(9px, 2.2vw, 12px);
	letter-spacing: .12em;
	pointer-events: none;
}

.swipe-hint {
	position: absolute;
	left: 50%;
	bottom: 8.2%;
	z-index: 3;
	transform: translateX(-50%);
	padding: 8px 13px;
	border-radius: 999px;
	background: rgba(54, 35, 27, .78);
	color: #fff7ef;
	font-size: clamp(9px, 2.4vw, 12px);
	white-space: nowrap;
	pointer-events: none;
	animation: hintFade 3.2s 1.1s both;
}

@keyframes hintFade {
	0% { opacity: 0; transform: translate(-50%, 6px); }
	18%, 65% { opacity: 1; transform: translate(-50%, 0); }
	100% { opacity: 0; transform: translate(-50%, -4px); }
}

/* Consent form */
.consent-page {
	left: 50%;
	right: auto;
	width: min(100%, 680px);
	transform: translateX(-50%);
	background: var(--cream-100);
	box-shadow: var(--shadow);
	z-index: 10;
	overflow: hidden;
	opacity: 1;
	transition: opacity .35s ease;
}

.consent-page.is-leaving,
.consent-page.is-entering {
	opacity: 0;
}

.consent-header {
	position: absolute;
	inset: 0 0 auto;
	z-index: 5;
	height: 92px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: max(12px, env(safe-area-inset-top)) 18px 12px;
	background:
		linear-gradient(180deg, rgba(18, 11, 8, .1), rgba(18, 11, 8, .86)),
		linear-gradient(100deg, #1d130f, #4a3226 48%, #21150f);
	color: #fff9f2;
	box-shadow: 0 8px 24px rgba(47, 30, 22, .2);
}

.consent-header::after {
	content: "";
	position: absolute;
	inset: auto 0 0;
	height: 1px;
	background: rgba(255, 255, 255, .16);
}

.consent-back {
	position: relative;
	left: auto;
	top: auto;
	flex: 0 0 42px;
	width: 42px;
	height: 42px;
	background: rgba(255, 255, 255, .1);
	box-shadow: none;
}

.consent-heading {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 3px;
	margin-left: 4px;
}

.consent-heading span {
	font-family: Georgia, "Times New Roman", serif;
	font-size: 11px;
	letter-spacing: .03em;
	opacity: .72;
}

.consent-heading strong {
	font-size: 17px;
	letter-spacing: .06em;
}

.consent-progress {
	display: flex;
	align-items: baseline;
	justify-content: center;
	gap: 3px;
	min-width: 42px;
	font-size: 12px;
	opacity: .72;
}

.consent-progress .progress-current {
	font-size: 20px;
	font-weight: 700;
	opacity: 1;
}

.consent-scroller {
	position: absolute;
	inset: 92px 0 0;
	overflow-y: auto;
	overscroll-behavior: contain;
	-webkit-overflow-scrolling: touch;
	scroll-behavior: smooth;
	background:
		linear-gradient(180deg, rgba(255, 255, 255, .32), transparent 180px),
		var(--cream-100);
}

#consentForm {
	min-height: 100%;
}

.form-step {
	padding: 34px 24px 28px;
	animation: stepEnter .35s ease both;
}

@keyframes stepEnter {
	from { opacity: 0; }
	to { opacity: 1; }
}

.step-kicker {
	margin-bottom: 8px;
	color: var(--brown-600);
	font-family: Georgia, "Times New Roman", serif;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .16em;
}

.form-step h1 {
	margin: 0;
	color: var(--brown-900);
	font-family: Georgia, "Times New Roman", "Noto Serif KR", serif;
	font-size: clamp(27px, 7vw, 38px);
	font-weight: 500;
	letter-spacing: -.035em;
}

.step-description,
.document-intro {
	margin: 13px 0 26px;
	color: var(--muted);
	font-size: 14px;
	line-height: 1.75;
}

.document-subtitle {
	margin: 7px 0 0;
	color: var(--brown-600);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .02em;
}

.document-recipient {
	margin: 19px 0 0;
	color: var(--ink);
	font-size: 13px;
	font-weight: 700;
}

.field-grid {
	display: grid;
	gap: 14px;
}

.field-grid.two-columns {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.form-field {
	display: block;
	margin-bottom: 17px;
}

.form-field > span {
	display: flex;
	align-items: center;
	gap: 7px;
	margin-bottom: 8px;
	color: #48372f;
	font-size: 13px;
	font-weight: 700;
}

.form-field em,
.agreement-check em {
	color: var(--danger);
	font-size: 10px;
	font-style: normal;
	font-weight: 700;
}

.form-field input {
	width: 100%;
	height: 52px;
	padding: 0 14px;
	border: 1px solid #d7c5b3;
	border-radius: 10px;
	outline: none;
	background: rgba(255, 253, 249, .88);
	color: var(--ink);
	font-size: 16px;
	transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.form-field input:focus {
	border-color: var(--brown-600);
	box-shadow: 0 0 0 3px rgba(118, 87, 71, .12);
	background: #fff;
}

.form-field input[aria-invalid="true"] {
	border-color: var(--danger);
	box-shadow: 0 0 0 3px rgba(161, 61, 53, .08);
}

.field-error {
	display: block;
	min-height: 16px;
	margin-top: 5px;
	color: var(--danger);
	font-size: 11px;
	line-height: 1.45;
}

.block-error {
	margin: 6px 4px 0;
}

.legal-document,
.privacy-card {
	margin: 20px 0;
	padding: 20px 18px;
	border: 1px solid #d9c7b5;
	border-radius: 13px;
	background: rgba(255, 253, 249, .76);
	box-shadow: 0 7px 22px rgba(82, 54, 40, .05);
}

.terms-list {
	margin: 0;
	padding-left: 22px;
	color: #493a32;
	font-size: 12px;
	line-height: 1.78;
}

.terms-list > li {
	padding-left: 4px;
	margin-bottom: 13px;
}

.terms-list > li:last-child {
	margin-bottom: 0;
}

.terms-list > li::marker {
	color: var(--brown-600);
	font-weight: 700;
}

.sub-terms {
	margin: 10px 0 0;
	padding-left: 20px;
	list-style-type: decimal;
	font-size: 11px;
}

.sub-terms li {
	margin: 4px 0;
}

.legal-closing {
	margin: 18px 0 0;
	padding-top: 16px;
	border-top: 1px solid #e1d2c3;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.7;
}

.agreement-check {
	position: relative;
	display: flex;
	align-items: flex-start;
	gap: 11px;
	cursor: pointer;
	color: #4a3931;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.55;
}

.agreement-check input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.custom-check {
	position: relative;
	flex: 0 0 22px;
	width: 22px;
	height: 22px;
	margin-top: -1px;
	border: 1.5px solid #bca38e;
	border-radius: 6px;
	background: #fffdf9;
	transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

.custom-check::after {
	content: "";
	position: absolute;
	left: 6px;
	top: 2px;
	width: 6px;
	height: 11px;
	border: solid #fff;
	border-width: 0 2px 2px 0;
	transform: rotate(45deg) scale(0);
	transition: transform .18s ease;
}

.agreement-check input:checked + .custom-check {
	border-color: var(--brown-700);
	background: var(--brown-700);
}

.agreement-check input:checked + .custom-check::after {
	transform: rotate(45deg) scale(1);
}

.agreement-check input:focus-visible + .custom-check {
	box-shadow: 0 0 0 3px rgba(118, 87, 71, .18);
}

.emphasis-check,
.select-all-check {
	padding: 15px;
	border: 1px solid #c9b09a;
	border-radius: 12px;
	background: #fff9f1;
}

.select-all-check {
	margin: 18px 0 12px;
	background: #eadbca;
}

.compact-check {
	margin: 15px 0 0;
	font-size: 12px;
}

.privacy-card h2 {
	margin: 0 0 18px;
	color: var(--brown-900);
	font-size: 17px;
}

.privacy-card h3 {
	margin: 23px 0 10px;
	color: #4c3a31;
	font-size: 13px;
	line-height: 1.5;
}

.privacy-card h2 + h3 {
	margin-top: 0;
}

.table-scroll {
	width: 100%;
	overflow-x: auto;
	border: 1px solid #d3c0ad;
	border-radius: 8px;
	background: #fff;
}

.legal-table {
	width: 100%;
	border-collapse: collapse;
	color: #4a3c35;
	font-size: 11px;
	line-height: 1.55;
}

.legal-table th,
.legal-table td {
	padding: 9px 10px;
	border-right: 1px solid #e0d3c6;
	border-bottom: 1px solid #e0d3c6;
	vertical-align: top;
	text-align: left;
}

.legal-table tr:last-child th,
.legal-table tr:last-child td {
	border-bottom: 0;
}

.legal-table th:last-child,
.legal-table td:last-child {
	border-right: 0;
}

.legal-table th {
	width: 30%;
	background: #f0e5d9;
	font-weight: 700;
}

.legal-table thead th {
	width: auto;
	text-align: center;
	white-space: nowrap;
}

.wide-table {
	min-width: 620px;
}

.wide-table td {
	text-align: center;
}

.privacy-note {
	margin: 11px 0 0;
	color: #76665e;
	font-size: 11px;
	line-height: 1.65;
}

.family-notice,
.final-declaration {
	margin: 18px 0;
	padding: 15px;
	border-left: 3px solid var(--brown-600);
	background: rgba(255, 253, 249, .7);
	color: #65544b;
	font-size: 11px;
	line-height: 1.7;
}

.summary-card {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1px;
	margin: 20px 0;
	overflow: hidden;
	border: 1px solid #d6c3b0;
	border-radius: 12px;
	background: #d6c3b0;
}

.summary-card > div {
	min-width: 0;
	padding: 13px;
	background: #fffaf4;
}

.summary-card span {
	display: block;
	margin-bottom: 4px;
	color: var(--muted);
	font-size: 10px;
}

.summary-card strong {
	display: block;
	overflow: hidden;
	color: #40312a;
	font-size: 13px;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.signature-card {
	margin: 18px 0;
	padding: 15px;
	border: 1px solid #d5c2ae;
	border-radius: 13px;
	background: rgba(255, 253, 249, .84);
}

.signature-heading {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 11px;
}

.signature-heading strong,
.signature-heading span {
	display: block;
}

.signature-heading strong {
	font-size: 13px;
}

.signature-heading span {
	margin-top: 4px;
	color: var(--muted);
	font-size: 10px;
}

.signature-clear {
	flex: 0 0 auto;
	padding: 7px 10px;
	border: 1px solid #c9b4a0;
	border-radius: 999px;
	background: transparent;
	color: var(--brown-700);
	font-size: 10px;
	font-weight: 700;
	cursor: pointer;
}

.signature-canvas-wrap {
	position: relative;
	height: 170px;
	overflow: hidden;
	border: 1px dashed #bfa58e;
	border-radius: 10px;
	background:
		linear-gradient(transparent 74%, rgba(120, 91, 72, .12) 74%, rgba(120, 91, 72, .12) 75%, transparent 75%),
		#fff;
}

.signature-canvas {
	position: relative;
	z-index: 2;
	display: block;
	width: 100%;
	height: 100%;
	touch-action: none;
	cursor: crosshair;
}

.signature-guide {
	position: absolute;
	left: 50%;
	top: 50%;
	z-index: 1;
	transform: translate(-50%, -50%);
	color: rgba(107, 80, 65, .13);
	font-family: Georgia, "Times New Roman", serif;
	font-size: 16px;
	letter-spacing: .25em;
	pointer-events: none;
}

.step-actions {
	position: relative;
	z-index: 4;
	display: grid;
	grid-template-columns: .72fr 1.28fr;
	gap: 10px;
	margin: 30px 0 0;
	padding: 0 0 max(8px, env(safe-area-inset-bottom));
	background: transparent;
}

.step-actions.one-button {
	grid-template-columns: 1fr;
}

.primary-button,
.secondary-button {
	min-height: 52px;
	padding: 0 17px;
	border-radius: 10px;
	font-size: 14px;
	font-weight: 700;
	cursor: pointer;
	transition: transform .18s ease, opacity .18s ease, background .18s ease;
}

.primary-button {
	background: var(--brown-700);
	color: #fffaf5;
	box-shadow: 0 8px 20px rgba(77, 50, 37, .17);
}

.primary-button:hover {
	background: var(--brown-800);
}

.secondary-button {
	border: 1px solid #bca48f;
	background: rgba(255, 252, 247, .75);
	color: var(--brown-700);
}

.primary-button:active,
.secondary-button:active {
	transform: scale(.98);
}

.primary-button:focus-visible,
.secondary-button:focus-visible,
.signature-clear:focus-visible {
	outline: 2px solid var(--brown-700);
	outline-offset: 2px;
}

.primary-button:disabled,
.secondary-button:disabled {
	opacity: .58;
	cursor: not-allowed;
}

.submit-button {
	position: relative;
}

.button-spinner {
	display: none;
	width: 20px;
	height: 20px;
	margin: auto;
	border: 2px solid rgba(255, 255, 255, .35);
	border-top-color: #fff;
	border-radius: 999px;
	animation: spin .8s linear infinite;
}

.submit-button.is-loading .button-label {
	display: none;
}

.submit-button.is-loading .button-spinner {
	display: block;
}

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

.honeypot {
	position: fixed !important;
	left: -10000px !important;
	top: -10000px !important;
	width: 1px !important;
	height: 1px !important;
	opacity: 0 !important;
}

/* Submission dialog */
.dialog {
	position: fixed;
	inset: 0;
	z-index: 100;
	display: grid;
	place-items: center;
	padding: 24px;
}

.dialog-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(17, 12, 9, .62);
	backdrop-filter: blur(5px);
	-webkit-backdrop-filter: blur(5px);
	animation: backdropIn .25s ease both;
}

@keyframes backdropIn {
	from { opacity: 0; }
	to { opacity: 1; }
}



.dialog-panel {
	position: relative;
	z-index: 1;
	width: min(100%, 430px);
	padding: 30px 24px 24px;
	border-radius: 20px;
	background: var(--cream-50);
	box-shadow: 0 28px 80px rgba(0, 0, 0, .35);
	text-align: center;
	animation: dialogIn .35s cubic-bezier(.22, .61, .36, 1) both;
}

@keyframes dialogIn {
	from { opacity: 0; transform: translateY(10px) scale(.98); }
	to { opacity: 1; transform: translateY(0) scale(1); }
}

.success-mark {
	display: grid;
	place-items: center;
	width: 58px;
	height: 58px;
	margin: 0 auto 17px;
	border-radius: 999px;
	background: #e2f1e8;
	color: var(--success);
}

.success-mark svg {
	width: 30px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2.2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.dialog-panel h2 {
	margin: 0;
	font-size: 23px;
}

.dialog-panel > p {
	margin: 11px auto 19px;
	max-width: 310px;
	color: var(--muted);
	font-size: 13px;
	line-height: 1.7;
}

.reference-box {
	margin-bottom: 18px;
	padding: 12px;
	border: 1px solid #d7c6b5;
	border-radius: 10px;
	background: #f5eadd;
}

.reference-box span,
.reference-box strong {
	display: block;
}

.reference-box span {
	margin-bottom: 5px;
	color: var(--muted);
	font-size: 10px;
}

.reference-box strong {
	font-family: Consolas, monospace;
	font-size: 12px;
	word-break: break-all;
}

.dialog-panel .primary-button {
	width: 100%;
}

.toast {
	position: fixed;
	left: 50%;
	bottom: max(24px, calc(env(safe-area-inset-bottom) + 14px));
	z-index: 200;
	width: max-content;
	max-width: calc(100% - 36px);
	padding: 12px 16px;
	border-radius: 10px;
	background: rgba(43, 29, 23, .95);
	box-shadow: 0 12px 35px rgba(0, 0, 0, .25);
	color: #fff;
	font-size: 13px;
	line-height: 1.5;
	text-align: center;
	transform: translateX(-50%);
	animation: toastIn .25s ease both;
}

.toast.is-error {
	background: rgba(137, 43, 37, .96);
}

@keyframes toastIn {
	from { opacity: 0; transform: translate(-50%, 8px); }
	to { opacity: 1; transform: translate(-50%, 0); }
}

@media (max-width: 520px) {
	.consent-header {
		height: 82px;
		padding-left: 13px;
		padding-right: 13px;
	}

	.consent-scroller {
		inset-top: 82px;
		inset: 82px 0 0;
	}

	.consent-back {
		width: 38px;
		height: 38px;
		flex-basis: 38px;
	}

	.form-step {
		padding: 28px 18px 24px;
	}

	.field-grid.two-columns {
		grid-template-columns: 1fr;
		gap: 0;
	}

	.step-actions {
		margin: 26px 0 0;
		padding-left: 0;
		padding-right: 0;
	}

	.legal-document,
	.privacy-card {
		padding: 17px 14px;
	}

	.summary-card {
		grid-template-columns: 1fr;
	}

	.signature-canvas-wrap {
		height: 150px;
	}
}

@media (max-width: 360px) {
	.form-step h1 {
		font-size: 27px;
	}

	.primary-button,
	.secondary-button {
		padding: 0 11px;
		font-size: 13px;
	}

	.terms-list {
		font-size: 11px;
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		scroll-behavior: auto !important;
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .01ms !important;
	}
}
