.dstu8302 [hidden] { display: none !important; }

.dstu8302 { max-width: 1100px; margin: 1em 0; }

.dstu8302__cols {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 24px;
	align-items: start;
}

@media (max-width: 800px) {
	.dstu8302__cols { grid-template-columns: minmax(0, 1fr); }
}

.dstu8302__f { margin: 0 0 12px; }

.dstu8302__f label { display: block; font-weight: 600; margin-bottom: 4px; }

.dstu8302__f input[type="text"],
.dstu8302__f input[type="date"],
.dstu8302__f select,
.dstu8302__f textarea {
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
}

.dstu8302__f small { display: block; margin-top: 3px; opacity: .7; }

.dstu8302__check label { font-weight: 400; display: flex; gap: 8px; align-items: center; }

.dstu8302__side { position: sticky; top: 32px; }

.dstu8302__out {
	min-height: 4.5em;
	padding: 12px 14px;
	border: 1px solid currentColor;
	border-color: rgba(128, 128, 128, .5);
	border-radius: 6px;
	background: rgba(128, 128, 128, .08);
	line-height: 1.5;
	white-space: pre-wrap;
	word-break: break-word;
}

.dstu8302__out.is-empty { opacity: .6; }

.dstu8302__actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 18px; }

.dstu8302__list { margin: 0 0 8px 1.4em; padding: 0; }

.dstu8302__list li {
	display: flex;
	gap: 8px;
	justify-content: space-between;
	align-items: flex-start;
	margin: 0 0 8px;
}

.dstu8302__list li span { flex: 1; word-break: break-word; }

.dstu8302__del {
	flex: none;
	border: 0;
	background: none;
	cursor: pointer;
	font-size: 1.3em;
	line-height: 1;
	opacity: .6;
}

.dstu8302__del:hover { opacity: 1; }

.dstu8302__empty { opacity: .6; }

.dstu8302-ref { white-space: normal; }
