.hps-kiosk, .hps-kiosk * { box-sizing: border-box; }

.hps-kiosk h1,
.hps-kiosk h2,
.hps-kiosk p,
.hps-kiosk span,
.hps-kiosk label,
.hps-kiosk div,
.hps-kiosk button,
.hps-kiosk a,
.hps-kiosk input,
.hps-kiosk canvas {
	all: revert;
	box-sizing: border-box;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
	margin: 0;
}

.hps-kiosk button,
.hps-kiosk a {
	cursor: pointer;
	border: none;
	text-decoration: none;
}

.hps-kiosk *:focus-visible {
	outline: 3px solid #BF9D69 !important;
	outline-offset: 2px;
}

.hps-kiosk {
	min-height: 100vh;
	width: 100%;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
	background: #272727;
}

.hps-screen {
	min-height: 100vh;
	width: 100%;
	display: flex !important;
	flex-direction: column !important;
	align-items: center !important;
	background: #272727;
	opacity: 1;
	transition: opacity .25s ease;
}

.hps-screen[hidden] { display: none !important; }

/* Language screen */
.hps-screen--lang {
	justify-content: center;
	gap: 2.5rem;
	padding: 2rem 1.5rem;
	text-align: center;
}

.hps-logo { width: 220px; max-width: 60vw; height: auto; }
.hps-logo--sm { width: 110px; max-width: 30vw; }

.hps-lang-prompt {
	color: #cfc6ba !important;
	font-size: 18px;
	line-height: 1.6;
}

.hps-lang-buttons { display: flex !important; gap: 18px !important; flex-wrap: wrap !important; justify-content: center !important; }

.hps-lang-btn {
	display: flex !important;
	flex-direction: column !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 14px !important;
	width: 168px !important;
	min-width: 168px !important;
	padding: 32px 16px !important;
	border-radius: 20px !important;
	background: rgba(191,157,105,0.06) !important;
	border: 1.5px solid rgba(191,157,105,0.35) !important;
	transition: background .15s ease, border-color .15s ease, transform .15s ease;
}
.hps-lang-btn:hover {
	background: rgba(191,157,105,0.16) !important;
	border-color: #BF9D69 !important;
}
.hps-lang-btn:active { transform: scale(.97); background: rgba(191,157,105,0.24) !important; }
.hps-flag { font-size: 52px !important; line-height: 1 !important; display: block !important; }
.hps-lang-code {
	display: block !important;
	font-size: 17px !important;
	letter-spacing: 0.5px !important;
	color: #FFFFFF !important;
	font-weight: 600 !important;
}

/* Form screen */
.hps-form-header {
	width: 100%;
	background: #272727;
	border-bottom: 1px solid rgba(191,157,105,0.2);
	padding: 18px 20px;
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
}

.hps-back-btn {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 44px;
	height: 44px;
	flex-shrink: 0;
	border-radius: 50% !important;
	background: rgba(191,157,105,0.12) !important;
	color: #BF9D69 !important;
	font-size: 20px;
	line-height: 1;
}
.hps-back-btn:hover { background: rgba(191,157,105,0.24) !important; }
.hps-header-spacer { width: 44px; flex-shrink: 0; }

.hps-form {
	width: 100%;
	max-width: 560px;
	margin: 0 auto;
	padding: 28px 24px 48px;
	display: flex !important;
	flex-direction: column !important;
	gap: 18px !important;
}

.hps-title {
	display: block !important;
	font-family: Georgia, "Times New Roman", serif !important;
	font-size: 26px !important;
	font-weight: 700 !important;
	color: #FFFFFF !important;
}

.hps-subtitle {
	display: block !important;
	font-size: 14px !important;
	color: #cfc6ba !important;
	line-height: 1.6 !important;
}

.hps-field { display: block; }
.hps-field-row { display: flex !important; gap: 14px !important; }
.hps-field-row .hps-field { flex: 1; }

.hps-phone-row {
	display: flex !important;
	gap: 8px !important;
	align-items: stretch;
}

.hps-dial-wrap {
	position: relative !important;
	overflow: hidden !important;
	flex-shrink: 0;
	width: 120px;
}

.hps-dial-trigger {
	display: flex !important;
	align-items: center !important;
	gap: 6px !important;
	width: 100%;
	height: 100%;
	min-height: 54px;
	border: 1.5px solid rgba(191,157,105,0.5) !important;
	border-radius: 10px !important;
	padding: 0 10px !important;
	background: #FFFFFF !important;
	cursor: pointer;
	pointer-events: none;
}

.hps-dial-flag { font-size: 20px !important; line-height: 1 !important; flex-shrink: 0; }
.hps-dial-code { font-size: 16px !important; font-weight: 600 !important; color: #272727 !important; flex: 1; }
.hps-dial-arrow { font-size: 12px !important; color: #BF9D69 !important; flex-shrink: 0; }

.hps-country-select {
	position: absolute !important;
	inset: 0 !important;
	width: 100% !important;
	height: 100% !important;
	opacity: 0 !important;
	cursor: pointer !important;
	font-size: 16px !important;
	border: none !important;
	background: transparent !important;
	z-index: 2;
}

.hps-phone-row input[type="tel"] {
	display: block !important;
	flex: 1;
	border: 1.5px solid rgba(191,157,105,0.5) !important;
	border-radius: 10px !important;
	padding: 14px !important;
	font-size: 17px !important;
	color: #272727 !important;
	background: #FFFFFF !important;
}
.hps-phone-row input[type="tel"]:focus {
	outline: 3px solid #BF9D69 !important;
	border-color: #BF9D69 !important;
}
.hps-phone-row input[type="tel"].hps-invalid {
	border-color: #e88787 !important;
	background: #fff5f5 !important;
}

.hps-field-label {
	display: block !important;
	font-size: 12px !important;
	letter-spacing: 1px !important;
	color: #BF9D69 !important;
	margin-bottom: 6px !important;
	text-transform: uppercase !important;
	font-weight: 600 !important;
}

.hps-field input {
	display: block !important;
	width: 100%;
	border: 1.5px solid rgba(191,157,105,0.5) !important;
	border-radius: 10px !important;
	padding: 14px !important;
	font-size: 17px !important;
	color: #272727 !important;
	background: #FFFFFF !important;
}
.hps-field input::placeholder { color: #9b9388; }
.hps-field input:focus {
	outline: 3px solid #BF9D69 !important;
	outline-offset: 1px;
	border-color: #BF9D69 !important;
}
.hps-field input:-webkit-autofill,
.hps-field input:-webkit-autofill:hover,
.hps-field input:-webkit-autofill:focus {
	-webkit-text-fill-color: #272727 !important;
	-webkit-box-shadow: 0 0 0 1000px #FFFFFF inset !important;
	box-shadow: 0 0 0 1000px #FFFFFF inset !important;
	caret-color: #272727;
}
.hps-field input.hps-invalid {
	border-color: #e88787 !important;
	background: #fff5f5 !important;
}
.hps-required-mark { color: #e88787; }

.hps-checkbox {
	display: flex !important;
	gap: 10px !important;
	align-items: flex-start !important;
	font-size: 13px;
	color: #cfc6ba !important;
	line-height: 1.5;
	cursor: pointer;
}
.hps-checkbox input { width: 20px; height: 20px; margin-top: 1px; accent-color: #BF9D69; flex-shrink: 0; }
.hps-checkbox.hps-invalid span { color: #e88787 !important; }

.hps-signature-wrap { display: flex !important; flex-direction: column !important; gap: 8px !important; margin-top: 6px; }
.hps-signature-pad {
	display: block !important;
	width: 100%;
	height: 200px;
	border: 1.5px solid rgba(191,157,105,0.5) !important;
	border-radius: 10px !important;
	background: #FFFFFF !important;
	touch-action: none;
	cursor: crosshair;
}
.hps-clear-btn {
	display: inline-block !important;
	align-self: flex-end;
	background: transparent !important;
	color: #cfc6ba !important;
	font-size: 13px !important;
	text-decoration: underline !important;
	padding: 6px 4px !important;
	width: auto !important;
}

.hps-error {
	display: block !important;
	color: #e88787 !important;
	font-size: 13px !important;
}

.hps-submit-btn {
	display: block !important;
	width: 100%;
	margin-top: 8px;
	background: #BF9D69 !important;
	color: #272727 !important;
	border-radius: 10px !important;
	padding: 18px !important;
	min-height: 56px;
	font-size: 15px !important;
	font-weight: 700 !important;
	letter-spacing: 1px !important;
	text-transform: uppercase !important;
	text-align: center !important;
}
.hps-submit-btn:hover:not(:disabled) { background: #d4b988 !important; }
.hps-submit-btn:disabled { opacity: .6; cursor: default; }
.hps-submit-btn:active:not(:disabled) { transform: scale(.99); }

/* Thanks screen */
.hps-screen--thanks {
	justify-content: center;
	gap: 1.5rem;
	padding: 2.5rem 1.5rem;
	text-align: center;
}

.hps-check {
	width: 88px;
	height: 88px;
	border-radius: 50%;
	border: 2px solid #BF9D69;
	background: rgba(191,157,105,0.10);
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	margin-top: 8px;
}

.hps-screen--thanks .hps-title { color: #FFFFFF !important; font-size: 30px !important; }
.hps-screen--thanks .hps-subtitle { color: #cfc6ba !important; font-size: 16px !important; max-width: 420px; }

@media (max-width: 480px) {
	.hps-lang-buttons { flex-direction: column !important; align-items: center !important; width: 100%; }
	.hps-lang-btn {
		width: 100% !important;
		min-width: 0 !important;
		max-width: 320px;
		flex-direction: row !important;
		gap: 16px !important;
		padding: 20px 24px !important;
	}
	.hps-flag { font-size: 34px !important; }
	.hps-form { padding: 22px 16px 40px; }
	.hps-country-select { width: 120px !important; font-size: 13px !important; }
}
