body:not([data-mode^="login"], [data-mode="logout"]) #users-form-main-container {

	fieldset.form {
		display: grid;
		grid-template-columns: 1fr 2fr;
		gap: .25lh 1ch;
		align-items: center;

		padding-inline: calc(1ch + var(--ui-border-radius));
		padding-block: .5lh 1lh;

		&:has(.form-explain) {
			padding-block-start: 0;
		}
	}
	legend.form {
		grid-column: 1 / -1;
	}
	.form-explain {
		grid-column: 1 / -1;
		font-size: var(--fs-small);
		padding-inline-start: calc(var(--ui-border-radius) * 5);
		padding-block: .25lh .5lh;
	}
	#form_actions {
		grid-column: 1 / -1;
	}
	fieldset.form.form_actions_box {
		padding: .5lh;
	}
	.legend {
		grid-column: 1 / 2;
		text-align: end;
		font-weight: var(--fw-bolder);
	}
	.legend::after {
		content: ':';
	}
	.value {
		grid-column: 2 / 3;
	}
	select {
		width: 100%;
		max-width: fit-content;
	}

	@media (width <= 80ch) {
		fieldset.form {
			display: block;
			padding-inline: 2ch;
		}
		.legend {
			text-align: start;
			margin-block-start: 1lh;
		}
	}

	&:has(input.login-external:checked) {
		.password-new,
		.password-confirm {
			display: none;
		}
		.forcepwd-container {
			display: none;
		}
	}
}