.pathway-qr-launcher {
	position: fixed;
	z-index: 99990;
	right: 22px;
	bottom: 22px;
	display: inline-flex;
	min-height: 54px;
	align-items: center;
	gap: 9px;
	padding: 0 18px 0 14px;
	color: #fff !important;
	background: linear-gradient(135deg, #063e78, #0876aa);
	border: 2px solid rgba(255, 255, 255, .92);
	border-radius: 999px;
	box-shadow: 0 12px 30px rgba(6, 62, 120, .3);
	font-family: Arial, sans-serif;
	font-size: 14px;
	font-weight: 700;
	line-height: 1;
	text-decoration: none !important;
	transition: transform .18s ease, box-shadow .18s ease;
}

.pathway-qr-launcher:hover,
.pathway-qr-launcher:focus {
	color: #fff !important;
	box-shadow: 0 16px 36px rgba(6, 62, 120, .4);
	transform: translateY(-2px);
}

.pathway-qr-launcher svg {
	width: 27px;
	height: 27px;
	fill: currentColor;
}

.pathway-qr {
	box-sizing: border-box;
	width: min(760px, calc(100% - 28px));
	min-height: calc(100vh - 64px);
	display: grid;
	place-items: center;
	margin: 0 auto;
	padding: 40px 0;
	color: #17324a;
	font-family: Arial, sans-serif;
}

.pathway-qr *,
.pathway-qr *::before,
.pathway-qr *::after {
	box-sizing: inherit;
}

.pathway-qr__card {
	width: 100%;
	padding: clamp(24px, 5vw, 48px);
	background: #fff;
	border: 1px solid #dbe6ee;
	border-radius: 22px;
	box-shadow: 0 18px 50px rgba(6, 62, 120, .12);
}

.pathway-qr__header {
	text-align: center;
}

.pathway-qr__eyebrow {
	color: #08775c;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .14em;
}

.pathway-qr__header h1 {
	margin: 8px 0 10px;
	color: #063e78;
	font-size: clamp(27px, 5vw, 40px);
	line-height: 1.15;
}

.pathway-qr__header p {
	margin: 0 auto;
	max-width: 590px;
	color: #607489;
	line-height: 1.6;
}

.pathway-qr__form {
	margin-top: 30px;
}

.pathway-qr__form label {
	display: block;
	margin-bottom: 8px;
	font-weight: 700;
}

.pathway-qr__controls {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.pathway-qr__controls input {
	flex: none !important;
	width: 100% !important;
	min-width: 0;
	min-height: 48px;
	padding: 10px 14px;
	background: #fff;
	border: 1px solid #b9cbd9;
	border-radius: 10px;
	font-size: 16px;
}

.pathway-qr__controls button {
	flex: none !important;
	width: 100% !important;
	min-height: 52px;
	white-space: nowrap;
}

.pathway-qr__controls input:focus {
	border-color: #0876aa;
	box-shadow: 0 0 0 3px rgba(8, 118, 170, .14);
	outline: 0;
}

.pathway-qr button {
	min-height: 46px;
	padding: 0 20px;
	color: #fff;
	background: #063e78;
	border: 0;
	border-radius: 10px;
	font-weight: 700;
	cursor: pointer;
}

.pathway-qr button:hover,
.pathway-qr button:focus {
	background: #0876aa;
}

.pathway-qr__message {
	min-height: 22px;
	margin: 7px 0 0;
	font-size: 14px;
}

.pathway-qr__message.is-error {
	color: #b32d2e;
}

.pathway-qr__result {
	margin-top: 28px;
	padding-top: 28px;
	text-align: center;
	border-top: 1px solid #e1eaf0;
}

.pathway-qr__result[hidden] {
	display: none;
}

.pathway-qr__canvas {
	display: inline-flex;
	width: min(100%, 360px);
	padding: 16px;
	background: #fff;
	border: 1px solid #dbe6ee;
	border-radius: 14px;
}

.pathway-qr__canvas img,
.pathway-qr__canvas canvas {
	display: block;
	width: 100%;
	max-width: 100%;
	height: auto;
}

.pathway-qr__link {
	margin: 14px auto;
	max-width: 560px;
	overflow-wrap: anywhere;
	color: #607489;
	font-size: 13px;
}

.pathway-qr__actions {
	display: flex;
	justify-content: center;
	gap: 10px;
}

.pathway-qr .pathway-qr__download {
	background: #08775c;
}

.pathway-qr .pathway-qr__clear {
	color: #526b80;
	background: #edf2f5;
}

@media (max-width: 560px) {
	.pathway-qr {
		min-height: calc(100vh - 40px);
		padding: 20px 0;
	}

	.pathway-qr-launcher {
		right: 14px;
		bottom: 14px;
		width: 54px;
		padding: 0;
		justify-content: center;
	}

	.pathway-qr-launcher span {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0, 0, 0, 0);
		white-space: nowrap;
	}

	.pathway-qr__controls,
	.pathway-qr__actions {
		flex-direction: column;
	}

	.pathway-qr__controls button,
	.pathway-qr__actions button {
		width: 100% !important;
	}
}
