body {
	background-color: light-dark(white, black);
	color: light-dark(black, white);
	}
/* use this stylesheet to see nesting levels on collections and their form validation status */
[role="form"] {
	padding: 0.5rem;
	border: 1px dotted grey;
	min-height: 1em;
	}
form:valid + :is([role="form"], fieldset) {
	border-color: rgba(0%, 100%, 0%, 0.5);
	}
form:invalid + :is([role="form"], fieldset) {
	border-color: rgba(100%, 0%, 0%, 0.5);
	}

select:disabled {
	opacity: 0.5;
	}

django-form-collection {
	padding: 0.5rem;
	border-left: 2px solid grey;
	border-right: 2px solid grey;
	display: block;
	}
	django-form-collection:first-of-type {
		border-top: 2px solid grey;
		}
	django-form-collection:last-of-type {
		border-bottom: 2px solid grey;
		margin-bottom: 0.5rem;
		}
	django-form-collection[sibling-position]:not(:first-of-type) {
		border-top: 2px dashed grey;
		}

button.add-collection {
	margin-top: -0.5rem;
	margin-bottom: 0.5rem;
	}
button.remove-collection {
	margin-top: 0.25rem;
	margin-bottom: 0.5rem;
	}
