/*! Rotterdamse Zaken Enquêtes — (c) SBA. Proprietary, see LICENSE.txt. */
/* Follows the RZ theme: Lora (inherited from the theme), black on white, accent #00FF21 as in sba-style.css. */
.rzs {
	--rzs-ink: #111111;
	--rzs-paper: #ffffff;
	--rzs-mute: #626262;
	--rzs-line: #e5e6e9;
	--rzs-soft: #f6f6f6;
	--rzs-accent: #00FF21;
	--rzs-accent-ink: #062b0a;
	--rzs-error: #b3261e;
	max-width: 760px;
	margin: 0 auto;
	padding: clamp(24px, 5vw, 56px) 16px 64px;
	color: var(--rzs-ink);
	font-size: 17px;
	line-height: 1.6;
	scroll-margin-top: 90px;
}
.rzs *, .rzs *::before, .rzs *::after {
	box-sizing: border-box;
	min-width: 0;
}
.rzs p {
	text-align: left;
}
.rzs-title {
	font-size: clamp(32px, 6vw, 48px);
	line-height: 1.05;
	margin: 0 0 18px;
	text-wrap: balance;
}
.rzs-section-title {
	font-size: clamp(26px, 4vw, 34px);
	line-height: 1.1;
	margin: 0 0 8px;
}
.rzs-kicker, .rzs-count, .rzs-hint {
	font-size: 14px;
	color: var(--rzs-mute);
	margin: 0 0 8px;
}
.rzs-progress {
	height: 4px;
	background: var(--rzs-line);
	margin-bottom: 8px;
}
.rzs-progress i {
	display: block;
	height: 100%;
	background: var(--rzs-accent);
	transition: width .35s;
}
.rzs-steps {
	display: flex;
	gap: 4px;
	overflow-x: auto;
	padding-bottom: 6px;
	margin-bottom: 4px;
}
.rzs-steps button {
	flex: none;
	border: 0;
	background: transparent;
	color: var(--rzs-mute);
	font: inherit;
	font-size: 14px;
	padding: 8px 12px;
	border-radius: 20px;
	cursor: pointer;
	min-height: 40px;
}
.rzs-steps button.is-done {
	color: var(--rzs-ink);
}
.rzs-steps button.is-current {
	background: var(--rzs-ink);
	color: var(--rzs-paper);
}
.rzs-question {
	padding: 26px 0;
	border-top: 1px solid var(--rzs-line);
}
.rzs-question:first-of-type {
	border-top: 0;
}
.rzs-question h3 {
	font-size: 19px;
	line-height: 1.35;
	margin: 0 0 6px;
}
.rzs-number {
	color: var(--rzs-mute);
	font-weight: 400;
}
.rzs-required {
	color: var(--rzs-error);
	white-space: nowrap;
}
.rzs-question.has-error {
	box-shadow: inset 3px 0 0 var(--rzs-error);
	padding-left: 14px;
}
.rzs-error {
	color: var(--rzs-error);
	font-size: 15px;
	margin: 8px 0 0;
}
.rzs-options {
	display: grid;
	gap: 8px;
}
.rzs-option {
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: 44px;
	padding: 9px 14px;
	border: 1px solid var(--rzs-line);
	border-radius: 6px;
	cursor: pointer;
	background: var(--rzs-paper);
	margin: 0;
	font-weight: 400;
}
.rzs-option:hover {
	border-color: var(--rzs-ink);
}
.rzs-option input {
	width: 20px;
	height: 20px;
	margin: 0;
	flex: none;
	accent-color: var(--rzs-ink);
}
.rzs-option.is-selected {
	background: var(--rzs-soft);
	border-color: var(--rzs-ink);
	box-shadow: inset 4px 0 0 var(--rzs-accent);
}
.rzs-option.is-disabled {
	opacity: .45;
	cursor: not-allowed;
}
.rzs-other {
	margin: 0 0 4px 46px;
}
.rzs input[type=text], .rzs input[type=email], .rzs textarea {
	width: 100%;
	font: inherit;
	font-size: 16px;
	color: var(--rzs-ink);
	background: var(--rzs-paper);
	border: 1px solid var(--rzs-line);
	border-radius: 6px;
	padding: 11px 13px;
}
.rzs textarea {
	min-height: 120px;
	resize: vertical;
}
/* The theme's custom.css colours text fields #999 and, while typing, #010101 (textarea:focus); on the dark surface of
   the dark mode that is invisible, so the survey's fields set their own colours with a heavier selector. */
.rzs .rzs-question textarea,
.rzs .rzs-question input[type=text],
.rzs .rzs-fields input[type=text],
.rzs .rzs-fields input[type=email],
.rzs .rzs-question textarea:focus,
.rzs .rzs-question input[type=text]:focus,
.rzs .rzs-fields input[type=text]:focus,
.rzs .rzs-fields input[type=email]:focus {
	color: var(--rzs-ink);
	-webkit-text-fill-color: var(--rzs-ink);
	background: var(--rzs-paper);
	caret-color: var(--rzs-ink);
}
.rzs textarea::placeholder,
.rzs input::placeholder {
	color: var(--rzs-mute);
	-webkit-text-fill-color: var(--rzs-mute);
	opacity: 1;
}
.rzs input:focus-visible, .rzs textarea:focus-visible, .rzs button:focus-visible, .rzs-option:focus-within {
	outline: 2px solid var(--rzs-ink);
	outline-offset: 2px;
}
.rzs-scale {
	display: grid;
	grid-template-columns: repeat(var(--rzs-count), minmax(0, 1fr));
	gap: 6px;
}
.rzs-scale button {
	min-height: 44px;
	border: 1px solid var(--rzs-line);
	background: var(--rzs-paper);
	color: var(--rzs-ink);
	border-radius: 6px;
	font: inherit;
	font-weight: 600;
	cursor: pointer;
	padding: 0;
}
.rzs-scale button:hover {
	border-color: var(--rzs-ink);
}
.rzs-scale button.is-selected {
	background: var(--rzs-accent);
	color: var(--rzs-accent-ink);
	border-color: var(--rzs-accent);
}
.rzs-scale-ends {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	font-size: 13px;
	color: var(--rzs-mute);
	margin-top: 6px;
}
.rzs-matrix-wrap {
	overflow-x: auto;
}
.rzs-matrix {
	width: 100%;
	border-collapse: collapse;
	font-size: 15px;
	margin: 0;
}
.rzs-matrix th, .rzs-matrix td {
	border: 0;
	border-top: 1px solid var(--rzs-line);
	padding: 6px 4px;
	text-align: center;
	background: transparent;
}
.rzs-matrix thead th {
	border-top: 0;
	font-weight: 400;
	font-size: 13px;
	color: var(--rzs-mute);
	vertical-align: bottom;
}
.rzs-matrix tbody th {
	text-align: left;
	font-weight: 400;
	padding-left: 0;
}
.rzs-matrix tr.is-answered th {
	box-shadow: inset 3px 0 0 var(--rzs-accent);
	padding-left: 10px;
}
.rzs-matrix label {
	display: inline-flex;
	width: 44px;
	height: 40px;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	border-radius: 6px;
	margin: 0;
}
.rzs-matrix label:hover {
	background: var(--rzs-soft);
}
.rzs-matrix input {
	width: 20px;
	height: 20px;
	margin: 0;
	accent-color: var(--rzs-ink);
}
.rzs-fields {
	display: grid;
	gap: 12px;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	margin-bottom: 14px;
}
.rzs-fields label {
	display: grid;
	gap: 4px;
	font-size: 14px;
	color: var(--rzs-mute);
	font-weight: 400;
}
.rzs-actions {
	display: flex;
	gap: 12px;
	justify-content: space-between;
	flex-wrap: wrap;
	margin-top: 36px;
}
.rzs-button {
	min-height: 48px;
	padding: 0 24px;
	border-radius: 24px;
	border: 1px solid var(--rzs-ink);
	background: var(--rzs-paper);
	color: var(--rzs-ink);
	font: inherit;
	font-weight: 600;
	cursor: pointer;
}
.rzs-primary {
	background: var(--rzs-ink);
	color: var(--rzs-paper);
}
.rzs-primary:hover {
	background: var(--rzs-accent);
	border-color: var(--rzs-accent);
	color: var(--rzs-accent-ink);
}
.rzs-button[disabled] {
	opacity: .6;
	cursor: wait;
}
.rzs-panel, .rzs-notice {
	padding: 18px;
	border: 1px solid var(--rzs-line);
	border-radius: 6px;
	background: var(--rzs-soft);
}
.rzs-notice {
	margin-top: 20px;
}
.rzs-thanks {
	padding: clamp(28px, 6vw, 56px);
	background: var(--rzs-ink);
	color: var(--rzs-paper);
	border-radius: 8px;
}
.rzs-thanks p, .rzs-thanks strong {
	color: var(--rzs-paper);
}
.rzs-thanks p:first-child strong {
	font-size: clamp(26px, 5vw, 40px);
	line-height: 1.1;
	background: var(--rzs-accent);
	color: var(--rzs-accent-ink);
	padding: 0 .2em;
}
.rzs-honey, .rzs-sr {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}
@media (max-width: 600px) {
	.rzs-matrix thead th {
		font-size: 11px;
		padding: 4px 1px;
		writing-mode: vertical-rl;
		transform: rotate(180deg);
		height: 96px;
	}
	.rzs-matrix label {
		width: 32px;
	}
	.rzs-matrix tbody th {
		font-size: 14px;
	}
	.rzs-scale {
		gap: 4px;
	}
	.rzs-scale button {
		font-size: 14px;
	}
	.rzs-other {
		margin-left: 0;
	}
}
@media (max-width: 420px) {
	.rzs-scale[style*="--rzs-count:11"] {
		grid-template-columns: repeat(6, minmax(0, 1fr));
	}
}
@media (prefers-reduced-motion: reduce) {
	.rzs-progress i {
		transition: none;
	}
}

/* The theme's dark mode is a stylesheet (#dark-mode-css) injected by script that forces p, a, small and headings to white
   with !important; the survey follows it with dark surfaces instead of fighting the forced text colour. */
:root:has(#dark-mode-css) .rzs {
	--rzs-ink: #f2f2f2;
	--rzs-paper: #111111;
	--rzs-mute: #b5b5b5;
	--rzs-line: #3a3a3a;
	--rzs-soft: #1b1b1b;
	--rzs-error: #ff8a80;
}
:root:has(#dark-mode-css) .rzs-option input,
:root:has(#dark-mode-css) .rzs-matrix input {
	accent-color: #00FF21;
}
:root:has(#dark-mode-css) .rzs-thanks {
	background: #1b1b1b;
	border: 1px solid var(--rzs-accent);
}
:root:has(#dark-mode-css) .rzs p.rzs-error {
	color: var(--rzs-error) !important;
}
