/* ==========================================================================
   Research Lab Researcher Registration — forms
   Uses the Research Lab theme tokens when available (fallbacks included).
   ========================================================================== */

.rlr-form,
.rlr-flow,
.rlr-message,
.rlr-done,
.rlr-overlay {
	--rlr-primary: var(--color-primary, #102a43);
	--rlr-text: var(--color-text, #172b4d);
	--rlr-muted: var(--color-muted, #6b778c);
	--rlr-accent: var(--color-accent, #15a6a6);
	--rlr-accent-strong: var(--color-accent-strong, #0d7f7f);
	--rlr-accent-soft: var(--color-accent-soft, #e6f6f6);
	--rlr-border: var(--color-border, #e4e9ef);
	--rlr-border-strong: var(--color-border-strong, #cfd8e3);
	--rlr-bg-sub: var(--color-bg-sub, #f5f7fa);
	--rlr-error: #a3281b;
	--rlr-error-soft: #fbf3f2;
	--rlr-flag: #9a5b00;
	--rlr-flag-soft: #fff6e5;
	--rlr-ease: var(--ease, cubic-bezier(0.22, 1, 0.36, 1));
	--rlr-en: var(--font-en, inherit);
	color: var(--rlr-text);
}

.rlr-icon {
	display: inline-block;
	width: 1.1em;
	height: 1.1em;
	flex-shrink: 0;
	vertical-align: -0.15em;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

/* Overall flow ------------------------------------------------------------- */

.rlr-flow {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	margin: 0 0 40px;
	padding: 0;
	list-style: none;
	counter-reset: rlr-flow;
}

.rlr-flow li {
	position: relative;
	display: grid;
	justify-items: center;
	gap: 10px;
	padding: 0 4px;
	font-size: 0.75rem;
	line-height: 1.5;
	text-align: center;
	color: var(--rlr-muted);
}

.rlr-flow li::before {
	content: "";
	position: absolute;
	top: 6px;
	left: calc(-50% + 10px);
	width: calc(100% - 20px);
	height: 1px;
	background: var(--rlr-border-strong);
}

.rlr-flow li:first-child::before {
	display: none;
}

.rlr-flow__dot {
	position: relative;
	width: 13px;
	height: 13px;
	border: 1px solid var(--rlr-border-strong);
	border-radius: 50%;
	background: #fff;
}

.rlr-flow li.is-done {
	color: var(--rlr-primary);
}

.rlr-flow li.is-done .rlr-flow__dot,
.rlr-flow li.is-done::before {
	border-color: var(--rlr-accent);
	background: var(--rlr-accent);
}

.rlr-flow li.is-current {
	font-weight: 700;
	color: var(--rlr-primary);
}

.rlr-flow li.is-current .rlr-flow__dot {
	border: 3px solid var(--rlr-accent);
	box-shadow: 0 0 0 5px var(--rlr-accent-soft);
}

/* Security panel ------------------------------------------------------------ */

.rlr-secure {
	margin-bottom: 32px;
	border: 1px solid var(--rlr-border);
	border-left: 3px solid var(--rlr-accent);
	background: #fff;
}

.rlr-secure__head {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 18px 20px;
}

.rlr-secure__shield {
	display: grid;
	flex-shrink: 0;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--rlr-accent-soft);
	color: var(--rlr-accent-strong);
	transition: background 0.4s var(--rlr-ease), color 0.4s var(--rlr-ease);
}

.rlr-secure__shield .rlr-icon {
	width: 24px;
	height: 24px;
}

.rlr-secure__shield .rlr-icon path:last-child {
	stroke-dasharray: 14;
	stroke-dashoffset: 14;
	transition: stroke-dashoffset 0.6s var(--rlr-ease) 0.2s;
}

.rlr-secure.is-verified .rlr-secure__shield {
	background: var(--rlr-accent-strong);
	color: #fff;
}

.rlr-secure.is-verified .rlr-secure__shield .rlr-icon path:last-child {
	stroke-dashoffset: 0;
}

.rlr-secure.is-insecure {
	border-left-color: var(--rlr-error);
}

.rlr-secure.is-insecure .rlr-secure__shield {
	background: var(--rlr-error-soft);
	color: var(--rlr-error);
}

.rlr-secure.is-pulse .rlr-secure__shield {
	animation: rlr-pulse 0.9s var(--rlr-ease);
}

@keyframes rlr-pulse {
	40% {
		box-shadow: 0 0 0 8px rgba(21, 166, 166, 0.18);
	}
	100% {
		box-shadow: 0 0 0 0 rgba(21, 166, 166, 0);
	}
}

.rlr-secure__head > div {
	flex: 1;
	min-width: 0;
}

.rlr-secure__title {
	margin: 0;
	font-size: 0.9375rem;
	font-weight: 700;
	color: var(--rlr-primary);
}

.rlr-secure__lead {
	margin: 2px 0 0;
	font-size: 0.8125rem;
	color: var(--rlr-muted);
}

.rlr-secure__toggle {
	flex-shrink: 0;
	min-height: 36px;
	padding: 6px 14px;
	border: 1px solid var(--rlr-border-strong);
	background: #fff;
	font: inherit;
	font-size: 0.8125rem;
	color: var(--rlr-primary);
	cursor: pointer;
}

.rlr-secure__toggle:hover,
.rlr-secure__toggle[aria-expanded="true"] {
	border-color: var(--rlr-primary);
}

.rlr-secure__list {
	display: grid;
	gap: 12px;
	margin: 0;
	padding: 4px 20px 20px 80px;
	list-style: none;
}

.rlr-secure__list[hidden],
.entry-content .rlr-secure__list[hidden] {
	display: none;
}

.rlr-secure__list li {
	display: flex;
	gap: 12px;
	font-size: 0.8125rem;
	line-height: 1.7;
	color: var(--rlr-muted);
	opacity: 0.45;
	transition: opacity 0.4s var(--rlr-ease);
}

.rlr-secure__list li.is-ok,
.rlr-secure__list li.is-ng {
	opacity: 1;
}

.rlr-secure__list strong {
	display: block;
	color: var(--rlr-primary);
}

.rlr-secure__state {
	position: relative;
	flex-shrink: 0;
	width: 18px;
	height: 18px;
	margin-top: 3px;
	border: 1.5px solid var(--rlr-border-strong);
	border-radius: 50%;
}

.rlr-secure__list li.is-ok .rlr-secure__state {
	border-color: var(--rlr-accent-strong);
	background: var(--rlr-accent-strong);
}

.rlr-secure__list li.is-ok .rlr-secure__state::after {
	content: "";
	position: absolute;
	top: 3px;
	left: 5px;
	width: 4px;
	height: 8px;
	border-right: 1.5px solid #fff;
	border-bottom: 1.5px solid #fff;
	transform: rotate(45deg);
}

.rlr-secure__list li.is-ng .rlr-secure__state {
	border-color: var(--rlr-error);
	background: var(--rlr-error);
}

.rlr-secure__list li.is-ng [data-rlr-check-text] {
	color: var(--rlr-error);
}

/* Form ---------------------------------------------------------------------- */

.rlr-form {
	position: relative;
	display: block;
}

.rlr-form__title {
	margin: 0 0 8px;
	font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
	line-height: 1.5;
	color: var(--rlr-primary);
}

.entry-content .rlr-form__title,
.rlr-form .rlr-form__title {
	margin-top: 0;
}

.rlr-form__title:focus {
	outline: none;
}

.rlr-form__intro {
	margin: 0 0 32px;
	font-size: 0.8125rem;
	line-height: 1.8;
	color: var(--rlr-muted);
}

.rlr-form__intro .rlr-icon {
	color: var(--rlr-accent-strong);
}

.rlr-step {
	display: grid;
	gap: 28px;
}

.rlr-step > .rlr-form__title,
.rlr-step > .rlr-form__intro,
.rlr-step > .rlr-step__count {
	margin-bottom: -16px;
}

.rlr-step__count {
	margin: 0;
	font-family: var(--rlr-en);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	color: var(--rlr-accent-strong);
}

.rlr-form.is-enhanced .rlr-step:not(.is-active) {
	display: none;
}

.rlr-form:not(.is-enhanced) .rlr-step[hidden] {
	display: grid;
}

.rlr-form:not(.is-enhanced) [data-rlr-go],
.rlr-form:not(.is-enhanced) .rlr-stepper {
	display: none;
}

.rlr-field {
	display: grid;
	gap: 10px;
	scroll-margin-top: 120px;
}

.rlr-label,
.rlr-fieldset legend {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin: 0;
	padding: 0;
	font-size: 0.875rem;
	font-weight: 700;
	color: var(--rlr-primary);
}

.rlr-fieldset {
	display: grid;
	gap: 12px;
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
}

.rlr-badge {
	padding: 1px 8px;
	border: 1px solid var(--rlr-border-strong);
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	line-height: 1.6;
	white-space: nowrap;
	color: var(--rlr-muted);
}

.rlr-badge--req {
	border-color: var(--rlr-primary);
	background: var(--rlr-primary);
	color: #fff;
}

.rlr-lock {
	display: inline-flex;
	color: var(--rlr-accent-strong);
}

.rlr-visibility {
	margin-left: auto;
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.06em;
}

.rlr-visibility--public {
	color: var(--rlr-accent-strong);
}

.rlr-visibility--private {
	color: var(--rlr-muted);
}

.rlr-control {
	box-sizing: border-box;
	width: 100%;
	min-height: 52px;
	padding: 12px 16px;
	border: 1px solid var(--rlr-border-strong);
	border-radius: var(--radius, 2px);
	background: #fff;
	font: inherit;
	font-size: 1rem;
	line-height: 1.7;
	color: var(--rlr-text);
	transition: border-color 0.2s var(--rlr-ease), box-shadow 0.2s var(--rlr-ease);
}

textarea.rlr-control {
	min-height: 160px;
	resize: vertical;
}

.rlr-control::placeholder {
	color: #8a95a5;
}

.rlr-control:focus {
	border-color: var(--rlr-accent-strong);
	outline: none;
	box-shadow: 0 0 0 3px rgba(21, 166, 166, 0.2);
}

.rlr-field.is-secure-focus .rlr-control {
	border-color: var(--rlr-accent-strong);
	background-image: linear-gradient(90deg, var(--rlr-accent-soft), #fff 60%);
}

.rlr-field.is-secure-focus .rlr-label::after {
	content: "この項目は暗号化して保存されます";
	font-size: 0.6875rem;
	font-weight: 700;
	color: var(--rlr-accent-strong);
	animation: rlr-fade 0.3s var(--rlr-ease);
}

@keyframes rlr-fade {
	from {
		opacity: 0;
		transform: translateY(2px);
	}
}

.rlr-select {
	position: relative;
}

.rlr-select select {
	padding-right: 44px;
	appearance: none;
	cursor: pointer;
}

.rlr-select::after {
	content: "";
	position: absolute;
	top: 50%;
	right: 18px;
	width: 8px;
	height: 8px;
	border-right: 1.5px solid var(--rlr-primary);
	border-bottom: 1.5px solid var(--rlr-primary);
	transform: translateY(-70%) rotate(45deg);
	pointer-events: none;
}

.rlr-help {
	margin: 0;
	font-size: 0.8125rem;
	line-height: 1.7;
	color: var(--rlr-muted);
}

.rlr-meter {
	display: flex;
	justify-content: flex-end;
	gap: 12px;
	margin-top: -4px;
	font-family: var(--rlr-en);
	font-size: 0.75rem;
	color: var(--rlr-muted);
}

.rlr-meter.is-over {
	font-weight: 700;
	color: var(--rlr-error);
}

.rlr-check {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	min-height: 44px;
	padding: 10px 0;
	font-size: 0.875rem;
	line-height: 1.7;
	cursor: pointer;
}

.rlr-check input {
	flex-shrink: 0;
	width: 20px;
	height: 20px;
	margin: 0.15em 0 0;
	accent-color: var(--rlr-primary);
}

.rlr-check .rlr-badge {
	margin-left: 8px;
}

.rlr-check--small {
	min-height: 0;
	padding: 4px 0;
	font-size: 0.8125rem;
}

.rlr-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.rlr-chip {
	position: relative;
	cursor: pointer;
}

.rlr-chip input {
	position: absolute;
	opacity: 0;
}

.rlr-chip span {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	padding: 6px 14px;
	border: 1px solid var(--rlr-border-strong);
	background: #fff;
	font-size: 0.8125rem;
	transition: background 0.2s var(--rlr-ease), border-color 0.2s var(--rlr-ease), color 0.2s var(--rlr-ease);
}

.rlr-chip--child span::before {
	content: "└";
	margin-right: 6px;
	color: var(--rlr-muted);
}

.rlr-chip input:checked + span {
	border-color: var(--rlr-primary);
	background: var(--rlr-primary);
	color: #fff;
}

.rlr-chip input:checked + span::before {
	color: inherit;
}

.rlr-chip input:focus-visible + span {
	outline: 2px solid var(--rlr-accent);
	outline-offset: 2px;
}

.rlr-other {
	display: grid;
	gap: 6px;
	font-size: 0.8125rem;
	color: var(--rlr-muted);
}

.rlr-file {
	display: grid;
	gap: 10px;
}

.rlr-file__preview {
	display: grid;
	place-items: center;
	width: 140px;
	aspect-ratio: 4 / 5;
	overflow: hidden;
	border: 1px dashed var(--rlr-border-strong);
	background: var(--rlr-bg-sub);
	font-size: 0.75rem;
	text-align: center;
	color: var(--rlr-muted);
}

.rlr-file__preview img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.rlr-file__saved {
	padding: 8px;
	color: var(--rlr-accent-strong);
}

input[type="file"].rlr-control {
	min-height: 0;
	padding: 10px;
	font-size: 0.875rem;
}

/* Validation / flags -------------------------------------------------------- */

.rlr-error {
	display: flex;
	align-items: baseline;
	gap: 8px;
	margin: 0;
	font-size: 0.8125rem;
	font-weight: 700;
	line-height: 1.6;
	color: var(--rlr-error);
}

.rlr-error::before {
	content: "";
	flex-shrink: 0;
	width: 12px;
	height: 1px;
	background: currentColor;
	transform: translateY(-0.3em);
}

.rlr-error[hidden] {
	display: none;
}

.rlr-control[aria-invalid="true"] {
	border-color: var(--rlr-error);
	box-shadow: inset 3px 0 0 var(--rlr-error);
}

.rlr-check input[aria-invalid="true"] {
	outline: 2px solid var(--rlr-error);
	outline-offset: 2px;
}

.rlr-field.is-flagged {
	padding: 16px 18px;
	border-left: 3px solid var(--rlr-flag);
	background: var(--rlr-flag-soft);
}

.rlr-flag {
	display: flex;
	gap: 8px;
	margin: 0;
	font-size: 0.8125rem;
	line-height: 1.7;
	color: var(--rlr-flag);
}

.rlr-flag .rlr-icon {
	margin-top: 0.25em;
}

.rlr-review {
	margin-bottom: 32px;
	padding: 20px 22px;
	border: 1px solid #f0d9ad;
	border-left: 3px solid var(--rlr-flag);
	background: var(--rlr-flag-soft);
}

.rlr-review__title {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	font-weight: 700;
	color: var(--rlr-flag);
}

.rlr-review__message {
	margin-top: 10px;
	font-size: 0.875rem;
	line-height: 1.8;
}

.rlr-review__message p {
	margin: 0 0 0.6em;
}

.rlr-review__lead {
	margin: 8px 0 0;
	font-size: 0.8125rem;
	color: var(--rlr-muted);
}

.rlr-errors {
	margin-bottom: 28px;
	padding: 18px 20px;
	border-left: 3px solid var(--rlr-error);
	background: var(--rlr-error-soft);
}

.rlr-errors[hidden] {
	display: none;
}

.rlr-errors:focus {
	outline: 2px solid var(--rlr-accent);
	outline-offset: 2px;
}

.rlr-errors__title {
	margin: 0;
	font-size: 0.875rem;
	font-weight: 700;
	color: #7d1f15;
}

.rlr-errors__list {
	margin: 8px 0 0;
	padding-left: 1.2em;
	font-size: 0.8125rem;
	line-height: 1.8;
}

.rlr-errors__list:empty {
	display: none;
}

.rlr-errors__list a {
	color: #7d1f15;
}

/* Consent / privacy ------------------------------------------------------- */

.rlr-consent {
	display: grid;
	gap: 12px;
	padding-top: 24px;
	border-top: 1px solid var(--rlr-border);
}

.rlr-privacy {
	max-height: 180px;
	overflow-y: auto;
	padding: 16px 18px;
	border: 1px solid var(--rlr-border);
	background: var(--rlr-bg-sub);
	font-size: 0.8125rem;
	line-height: 1.8;
	color: var(--rlr-muted);
}

.rlr-privacy p {
	margin: 0;
}

.rlr-privacy__title {
	margin-bottom: 6px !important;
	font-weight: 700;
	color: var(--rlr-primary);
}

.rlr-privacy a {
	color: var(--rlr-accent-strong);
}

/* Stepper ------------------------------------------------------------------- */

.rlr-stepper {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	margin: 0 0 36px;
	padding: 0;
	border-bottom: 1px solid var(--rlr-border-strong);
	list-style: none;
}

.rlr-stepper button {
	display: grid;
	justify-items: start;
	gap: 4px;
	width: 100%;
	min-height: 64px;
	padding: 10px 8px 12px 0;
	border: 0;
	border-bottom: 2px solid transparent;
	margin-bottom: -1px;
	background: none;
	font: inherit;
	text-align: left;
	color: var(--rlr-muted);
	cursor: pointer;
}

.rlr-stepper__num {
	font-family: var(--rlr-en);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.12em;
}

.rlr-stepper__label {
	font-size: 0.8125rem;
	font-weight: 700;
	line-height: 1.4;
}

.rlr-stepper li.is-current button {
	border-bottom-color: var(--rlr-primary);
	color: var(--rlr-primary);
}

.rlr-stepper li.is-done .rlr-stepper__num::after {
	content: " ✓";
	color: var(--rlr-accent-strong);
}

.rlr-stepper li.has-error .rlr-stepper__num::after {
	content: " !";
	color: var(--rlr-error);
}

.rlr-stepper li.has-flag .rlr-stepper__label::after {
	content: "●";
	margin-left: 4px;
	font-size: 0.625rem;
	vertical-align: 0.2em;
	color: var(--rlr-flag);
}

/* Summary ------------------------------------------------------------------- */

.rlr-summary {
	display: grid;
	grid-template-columns: minmax(0, 13em) minmax(0, 1fr);
	margin: 0;
	border-top: 1px solid var(--rlr-border-strong);
	font-size: 0.875rem;
	line-height: 1.8;
}

.rlr-summary dt,
.rlr-summary dd {
	margin: 0;
	padding: 12px 0;
	border-bottom: 1px solid var(--rlr-border);
}

.rlr-summary dt {
	padding-right: 16px;
	font-weight: 700;
	color: var(--rlr-primary);
}

.rlr-summary dd {
	white-space: pre-wrap;
	overflow-wrap: anywhere;
}

.rlr-summary .rlr-summary__group {
	grid-column: 1 / -1;
	padding: 20px 0 8px;
	border-bottom: 1px solid var(--rlr-border-strong);
	font-family: var(--rlr-en);
	font-size: 0.75rem;
	letter-spacing: 0.12em;
	color: var(--rlr-accent-strong);
}

.rlr-summary .is-empty {
	color: var(--rlr-muted);
}

/* Actions / buttons ------------------------------------------------------- */

.rlr-actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 12px;
	padding-top: 12px;
}

.rlr-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 52px;
	padding: 12px 24px;
	border: 1px solid var(--rlr-primary);
	background: #fff;
	font: inherit;
	font-size: 0.9375rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	color: var(--rlr-primary);
	text-decoration: none;
	cursor: pointer;
	transition: background 0.25s var(--rlr-ease), color 0.25s var(--rlr-ease);
}

.rlr-button--primary {
	background: var(--rlr-primary);
	color: #fff;
}

.rlr-button--primary:hover {
	background: var(--color-primary-deep, #0b1f33);
}

.rlr-button--ghost {
	border-color: var(--rlr-border-strong);
}

.rlr-button--ghost:hover {
	border-color: var(--rlr-primary);
}

.rlr-button:disabled {
	opacity: 0.6;
	cursor: progress;
}

.rlr-button:focus-visible,
.rlr-stepper button:focus-visible {
	outline: 2px solid var(--rlr-accent);
	outline-offset: 3px;
}

.rlr-hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* Messages ----------------------------------------------------------------- */

.rlr-message {
	margin-bottom: 32px;
	padding: 22px 24px;
	border-left: 3px solid var(--rlr-accent);
	background: var(--rlr-accent-soft);
	font-size: 0.9375rem;
	line-height: 1.8;
}

.rlr-message p {
	margin: 0;
}

.rlr-message p + p {
	margin-top: 12px;
}

.rlr-message__title {
	font-weight: 700;
	color: var(--rlr-primary);
}

.rlr-message--error {
	border-color: var(--rlr-error);
	background: var(--rlr-error-soft);
}

.rlr-message--info {
	border-color: var(--rlr-primary);
	background: var(--rlr-bg-sub);
}

.rlr-done {
	padding: clamp(32px, 5vw, 56px) clamp(20px, 4vw, 48px);
	border: 1px solid var(--rlr-border);
	background: #fff;
	text-align: center;
	line-height: 1.9;
}

.rlr-done__icon {
	display: grid;
	place-items: center;
	width: 64px;
	height: 64px;
	margin: 0 auto 20px;
	border-radius: 50%;
	background: var(--rlr-accent-strong);
	color: #fff;
	animation: rlr-pop 0.6s var(--rlr-ease);
}

.rlr-done__icon .rlr-icon {
	width: 30px;
	height: 30px;
}

@keyframes rlr-pop {
	from {
		opacity: 0;
		transform: scale(0.6);
	}
}

.rlr-done__title {
	margin: 0 0 12px;
	font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
	color: var(--rlr-primary);
}

.rlr-done p {
	margin: 0 auto 10px;
	max-width: 36em;
	text-align: left;
}

.rlr-done p:nth-of-type(1) {
	text-align: center;
}

.rlr-ref {
	font-family: var(--rlr-en);
	letter-spacing: 0.06em;
}

.rlr-note {
	font-size: 0.8125rem;
	color: var(--rlr-muted);
}

/* Submit overlay ---------------------------------------------------------- */

.rlr-overlay {
	position: fixed;
	inset: 0;
	z-index: 1000;
	display: grid;
	place-items: center;
	padding: 20px;
	background: rgba(16, 42, 67, 0.55);
	backdrop-filter: blur(2px);
}

.rlr-overlay[hidden] {
	display: none;
}

.rlr-overlay__box {
	width: min(100%, 380px);
	padding: 32px 28px;
	background: #fff;
	text-align: center;
	box-shadow: 0 20px 60px rgba(11, 31, 51, 0.25);
}

.rlr-overlay__shield {
	display: inline-grid;
	place-items: center;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: var(--rlr-accent-soft);
	color: var(--rlr-accent-strong);
	animation: rlr-breathe 1.4s ease-in-out infinite alternate;
}

.rlr-overlay__shield .rlr-icon {
	width: 28px;
	height: 28px;
}

@keyframes rlr-breathe {
	to {
		box-shadow: 0 0 0 10px rgba(21, 166, 166, 0.12);
	}
}

.rlr-overlay__title {
	margin: 16px 0 18px;
	font-weight: 700;
	color: var(--rlr-primary);
}

.rlr-overlay__steps {
	display: grid;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 0.875rem;
	text-align: left;
}

.rlr-overlay__steps li {
	display: flex;
	align-items: center;
	gap: 10px;
	color: var(--rlr-muted);
	opacity: 0.5;
	transition: opacity 0.3s var(--rlr-ease), color 0.3s var(--rlr-ease);
}

.rlr-overlay__steps li::before {
	content: "";
	flex-shrink: 0;
	width: 14px;
	height: 14px;
	border: 1.5px solid var(--rlr-border-strong);
	border-radius: 50%;
}

.rlr-overlay__steps li.is-active {
	color: var(--rlr-primary);
	opacity: 1;
}

.rlr-overlay__steps li.is-active::before {
	border-color: var(--rlr-accent);
	border-top-color: transparent;
	animation: rlr-spin 0.8s linear infinite;
}

.rlr-overlay__steps li.is-done {
	color: var(--rlr-accent-strong);
	opacity: 1;
}

.rlr-overlay__steps li.is-done::before {
	border-color: var(--rlr-accent-strong);
	background: var(--rlr-accent-strong);
	box-shadow: inset 0 0 0 3px #fff;
}

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

/* Responsive ------------------------------------------------------------ */

@media (max-width: 767px) {
	.rlr-flow li {
		font-size: 0.625rem;
	}

	.rlr-secure__head {
		flex-wrap: wrap;
		padding: 16px;
	}

	.rlr-secure__head > div {
		flex-basis: calc(100% - 60px);
	}

	.rlr-secure__toggle {
		margin-left: 60px;
	}

	.rlr-secure__list {
		padding: 0 16px 16px;
	}

	.rlr-stepper {
		grid-template-columns: repeat(5, minmax(56px, 1fr));
		overflow-x: auto;
	}

	.rlr-stepper__label {
		font-size: 0.6875rem;
	}

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

	.rlr-summary dt {
		padding-bottom: 0;
		border-bottom: 0;
	}

	.rlr-actions {
		flex-direction: column-reverse;
		align-items: stretch;
	}

	.rlr-visibility {
		margin-left: 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	.rlr-form *,
	.rlr-overlay *,
	.rlr-done * {
		animation: none !important;
		transition: none !important;
	}
}

/* Inside the theme's .entry-content: neutralise article typography ------- */

.entry-content .rlr-flow,
.entry-content .rlr-stepper,
.entry-content .rlr-overlay__steps,
.entry-content .rlr-secure__list {
	padding-left: 0;
}

.entry-content .rlr-secure__list {
	padding: 4px 20px 20px 80px;
}

.entry-content .rlr-flow li + li,
.entry-content .rlr-stepper li + li,
.entry-content .rlr-overlay__steps li + li,
.entry-content .rlr-secure__list li + li {
	margin-top: 0;
}

.entry-content .rlr-done__title,
.entry-content .rlr-form__title {
	margin-top: 0;
}

.entry-content .rlr-done__title {
	padding-bottom: 0;
	border-bottom: 0;
}

.entry-content a.rlr-button {
	text-decoration: none;
}

.entry-content a.rlr-button--primary,
.entry-content a.rlr-button--primary:hover {
	color: #fff;
}

@media (max-width: 767px) {
	.entry-content .rlr-secure__list {
		padding: 0 16px 16px;
	}
}
