@charset "UTF-8";

div#popup {
	z-index: 999999999999;
	left: 0;
	top: 0;
	position: fixed;
	width: 100%;
	height: 100%;
	display: flex;
	gap: 12px;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	background-color: rgba(18, 3, 3, 0.4);
}

div#popup>section {
	background-color: var(--cloud-above);
}

div#popup>section.errors {
	--padding-horizontal: 30px;
	--padding-vertical: 8px;
	top: var(--top, 80%);
	position: absolute;
	height: var(--height);
	padding: var(--padding-vertical, 0px) var(--padding-horizontal, 0px) !important;
}

div#popup>section.small {
	width: 420px;
}

div#popup>section.stretched {
	width: min-content;
	max-width: 80wv;
	flex-grow: unset;
}

div#popup>section.calculated {
	width: calc(var(--calculated-width) - var(--padding-horizontal, 0px) * 2);
}

div#popup>section.list {
	max-width: max(70vw, 1300px);
  max-height: max(62vh, 600px);
	display: flex;
	flex-direction: column;
	padding: 30px;
	overflow-y: scroll;
	border-radius: 3px;
}

div#popup>section.list.extensive {
	max-width: unset;
  max-height: unset;
}

div#popup>section.list>h3 {
	margin-top: 4px;
	margin-bottom: 22px;
	width: 100%;
	text-align: center;
}

div#popup>section.list h4 {
	margin-top: unset;
	margin-bottom: 10px;
	width: 100%;
	text-align: center;
}

div#popup>section.list>section.main {
	--gap: 15px;
	display: flex;
	flex-flow: row wrap;
	justify-content: space-between;
	gap: var(--gap, 15px);
}

div#popup>section.list>section.main>div.column {
	display: flex;
	flex-grow: 1;
	flex-direction: column;
	gap: 8px;
}

div#popup>section.list>section.main.flow>div.column:not(:only-child) {
	width: 300px;
}

div#popup>section.list>section.main>div.column:not(:only-child)[data-column="buttons"]:last-of-type {
	margin-left: auto;
	justify-content: end;
}


div#popup>section.list>section.main>div.column:only-child {
	width: 100%;
}

div#popup>section.list>section.main>div.column>span {
	width: 100%;
	display: flex;
	text-align: right;
}

div#popup>section.list>section.main>div.column>span>b {
	margin-right: auto;
	text-align: left;
}

div#popup>section.list>section.main>div.column> :is(div, select).row {
	border-radius: 3px;
}

div#popup>section.list>section.main>div.column>:is(div, section).row {
	height: fit-content;
	position: relative;
	display: flex;
	justify-content: center;
	transition: 0s;
}

div#popup>section.list>section.main>div.column>:is(div, section).row:not(.monolithic) {
	gap: 10px;
}

div#popup>section.list>section.main>div.column>:is(div, section).row>label {
	display: contents;
}

div#popup>section.list>section.main>div.column>:is(div, section).row>label>input[type="date"]:not(.small, .medium, .large) {
	flex-grow: 1;
	text-align: center;
}

div#popup>section.list>section.main>div.column>:is(div, section).row>label>input[type="time"]:not(.small, .medium, .large) {
	width: 55px;
	text-align: center;
}

div#popup>section.list>section.main>div.column>:is(div, section).row>label> :is(input, button):only-child {
	width: 100%;
}

div#popup>section.list>section.main>div.column>:is(div, section).row>label> :is(input, select):only-of-type:not(.small, .medium, .large) {
	width: 100%;
}

div#popup>section.list>section.main>div.column> :is(div, select).row[data-interactive="true"]:is(:hover, :focus, :active) {
	padding-left: 12px;
	transition: unset;
}

div#popup>section.list>section.main>div.column> :is(div, select).row.buttons {
	height: 33px;
}

div#popup>section.list>section.main>div.column> :is(div, select).row:not(.buttons, .stretchable, .endless),
div#popup>section.list>section.main>div.column> :is(div, select).row:not(.buttons, .stretchable, .endless)>button {
	--height: 29px;
	height: var(--height, 29px);
}

div#popup>section.list>section.main>div.column> :is(div, select).row:not(.buttons .endless).stretchable,
div#popup>section.list>section.main>div.column> :is(div, select).row:not(.buttons, .endless).stretchable>button {
	--height: 29px;
	height: max(var(--height, 29px), fit-content);
}

div#popup>section.list>section.main>div.column> :is(div, select).row:not(.buttons .endless).stretchable>textarea {
	/* min-height: calc(var(--height, 29px) - var(--padding-y, 8ox) * 2); */
	min-height: 1rem;
	max-height: 3rem;
	height: 1rem;
}

div#popup>section.list>section.main>div.column>:is(div, section).row:not(.merged)+:is(div, section).row.merged {
	margin-top: 8px;
}

div#popup>section.list>section.main>div.column>:is(div, section).row:not(.merged, :first-of-type) {
	margin-top: 8px;
}

div#popup>section.list>section.main>div.column>:is(div, section).row:not(.merged):last-of-type:not(:only-child) {
	margin-top: 8px;
}

div#popup>section.list>section.main>div.column>:is(div, section).row.divided {
	margin-top: 8px;
}

/* div#popup > section.list > :only-child {
	margin: unset !important;
} */

div#popup>section.list>section.main>div.column>section.row.chat {
	width: 460px;
	height: 60vh;
	display: flex;
	flex-direction: column;
	justify-content: start;
	gap: unset;
	overflow-x: hidden;
	overflow-y: scroll;
}

div#popup>section.list>section.main>div.column>section.row.chat>div.message {
	padding: 14px 16px;
}

div#popup>section.list>section.main>div.column>section.row.chat>div.message:nth-child(even) {
	backdrop-filter: brightness(0.8);
}

div#popup>section.list>section.main>div.column>section.row.chat>div.message:hover {
	backdrop-filter: brightness(0.7);
}

div#popup>section.list>section.main>div.column>section.row.chat>div.message.problem {
	background-color: var(--clay-above);
}

div#popup>section.list>section.main>div.column>section.row.chat>div.message.problem:nth-child(even) {
	background-color: var(--clay);
}

div#popup>section.list>section.main>div.column>section.row.chat>div.message.problem:hover {
	background-color: var(--clay-important-above);
}

div#popup>section.list>section.main>div.column>section.row.chat>div.message.problem:nth-child(even):hover {
	background-color: var(--clay-important);
}

div#popup>section.list>section.main>div.column>section.row.chat>div.message.solution {
	background-color: var(--grass);
}

div#popup>section.list>section.main>div.column>section.row.chat>div.message.solution {
	background-color: var(--grass-above);
}

div#popup>section.list>section.main>div.column>section.row.chat>div.message.solution:nth-child(even) {
	background-color: var(--grass);
}

div#popup>section.list>section.main>div.column>section.row.chat>div.message.solution:hover {
	background-color: var(--grass-dense-above);
}

div#popup>section.list>section.main>div.column>section.row.chat>div.message.solution:nth-child(even):hover {
	background-color: var(--grass-dense);
}

div#popup>section.list>section.main>div.column>section.row.chat>div.message:is(.solution, .problem) p {
	color: var(--coal-text);
}

div#popup>section.list>section.main>div.column>section.row.chat>div.message>h3 {
	width: 100%;
	margin: unset;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 0.9rem;
	font-weight: normal;
}

div#popup>section.list>section.main>div.column>section.row.chat>div.message>h3>span.date {
	margin-left: auto;
}

div#popup>section.list>section.main>div.column>section.row.chat>div.message>p {
	margin: 5px 0 0 8px;
	font-size: 0.9rem;
	word-wrap: break-word;
}

div#popup>section.list>section.main>div.column>section.row.message>textarea {
	min-height: 29px;
	min-width: unset;
	height: 29px;
	resize: none;
	overflow: scroll;
}

div#popup>section.list>section.main>div.column>section.row.message>textarea+button {
	height: 100%;
	padding: 0 25px;
}

div#popup>section.list.errors>section.body>dl>dd {
	margin-left: 20px;
}

div#popup > section.list .separator {
	border-top: 2px solid var(--separator, var(--cloud));
	padding-top: 10px;
	margin-top: 10px;
	margin-bottom: 10px;
}
