dialog.ed-drawer {
	position: fixed;
	inset: 0 0 0 auto;
	box-sizing: border-box;
	margin: 0;
	width: min(370px, 100vw);
	height: 100dvh;
	max-height: 100dvh;
	max-width: 100vw;
	padding: 0;
	border: 0;
	border-left: 1px solid #42424d;
	background: #1e1e2b;
	color: #f6f6f8;
	color-scheme: dark;
	font:
		14px / 1.4 Arial,
		sans-serif;
	box-shadow: -6px 0 20px #0006;
	z-index: 15;
}
.ed-drawer::backdrop {
	background: #0002;
}
.ed-drawer * {
	box-sizing: border-box;
}
.ed-drawer [hidden] {
	display: none !important;
}
.ed-drawer .ed-form {
	display: flex;
	flex-direction: column;
	height: 100%;
	margin: 0;
	border: 0;
	padding: 0;
	max-width: none;
	background: transparent;
	gap: 0;
}
.ed-drawer .ed-head {
	position: static;
	display: grid;
	grid-template-columns: 44px 1fr 58px;
	gap: 6px;
	align-items: center;
	flex: none;
	background: #171721;
	color: #fff;
	padding: 11px;
	margin: 0;
	min-height: 52px;
	height: auto;
}
.ed-drawer button,
.ed-drawer select,
.ed-drawer input,
.ed-drawer textarea {
	font: inherit;
	color: inherit;
	letter-spacing: normal;
	box-shadow: none;
}
.ed-drawer .ed-head button,
.ed-drawer .ed-head select {
	height: 33px;
	border: 1px solid #3b3b47;
	background: #171721;
	border-radius: 3px;
	text-align: center;
}
.ed-drawer .ed-head .ed-primary,
.ed-drawer .ed-primary {
	background: #008b65;
	color: #fff;
	border: 0;
	font-weight: bold;
}
.ed-drawer .ed-head > button:first-child {
	font-size: 22px;
}
.ed-drawer button:disabled {
	opacity: 0.45;
	cursor: default;
}
.ed-drawer .ed-body {
	overflow: auto;
	flex: 1;
	min-height: 0;
	padding: 13px 14px 18px;
}
.ed-drawer .ed-row {
	display: flex;
	align-items: flex-end;
	gap: 12px;
}
.ed-drawer .ed-row > * {
	flex: 1;
	min-width: 0;
}
.ed-drawer .ed-timing > *:first-child {
	flex: 1.65;
}
.ed-drawer .ed-field,
.ed-drawer .ed-count {
	display: flex;
	flex-direction: column;
	gap: 3px;
	margin: 0 0 15px;
	color: #bfc0ca;
	min-width: 0;
	font-size: 12px;
	font-weight: 400;
}
.ed-drawer .ed-field > input,
.ed-drawer .ed-field > select,
.ed-drawer .ed-field > textarea,
.ed-drawer .ed-count > input {
	width: 100%;
	display: block;
	min-width: 0;
	border: 0;
	border-bottom: 1px solid #666672;
	color: #fff;
	background: transparent;
	padding: 5px 0;
	border-radius: 0;
	height: auto;
	min-height: 31px;
	font-size: 14px;
}
.ed-drawer .ed-field textarea {
	min-height: 70px;
	resize: vertical;
}
.ed-drawer option {
	background: #242432;
	color: #fff;
}
.ed-drawer input::placeholder {
	color: #a1a1b0;
}
.ed-drawer input[type="date"],
.ed-drawer input[type="time"] {
	font-size: 13px;
}
.ed-drawer .ed-count > input {
	max-width: 90px;
}
.ed-drawer .ed-chips {
	display: flex;
	gap: 4px;
}
.ed-drawer .ed-chips button,
.ed-drawer .ed-actions button,
.ed-drawer .ed-section button {
	flex: 1;
	border: 1px solid #92929f;
	background: transparent;
	color: #ebebf0;
	border-radius: 3px;
	min-height: 29px;
	font-size: 12px;
	cursor: pointer;
	padding: 3px;
}
.ed-drawer .ed-chips button:last-child {
	flex: 1.8;
	font-size: 10px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}
.ed-drawer .ed-chips [aria-pressed="true"] {
	background: #fbfbfd;
	color: #171721;
}
.ed-drawer .ed-check {
	display: flex;
	align-items: center;
	gap: 7px;
	font-size: 13px;
	margin: 0 0 12px;
	color: #f3f3f6;
}
.ed-drawer .ed-check input {
	appearance: auto;
	width: 17px;
	height: 17px;
	margin: 0;
	accent-color: #008b65;
}
.ed-drawer .ed-section {
	border: 1px solid #53535f;
	border-radius: 3px;
	margin: 4px 0 13px;
	padding: 6px 8px;
}
.ed-drawer .ed-section summary {
	cursor: pointer;
	font-size: 11px;
	letter-spacing: 0.07em;
	text-transform: uppercase;
	min-height: 22px;
	padding: 3px 0;
}
.ed-drawer .ed-section[open] summary {
	margin-bottom: 8px;
}
.ed-drawer .ed-section .ed-field:last-child {
	margin-bottom: 3px;
}
.ed-drawer .ed-tables {
	margin: 0;
	padding: 6px;
	display: grid;
	grid-template-columns: 1fr 1fr;
	max-height: 180px;
	overflow: auto;
}
.ed-drawer .ed-tables .ed-check {
	font-size: 11px;
}
.ed-drawer .ed-actions {
	display: grid;
	gap: 6px;
}
.ed-drawer .ed-actions > button {
	font-size: 11px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}
.ed-drawer .ed-actions .ed-danger {
	color: #ff5576;
	border-color: #dc3055;
}
.ed-drawer button:hover:not(:disabled),
.ed-drawer summary:hover {
	filter: brightness(1.15);
}
.ed-drawer :focus-visible {
	outline: 2px solid #8599ff;
	outline-offset: 2px;
}
.ed-drawer .ed-info {
	display: grid;
	gap: 3px;
	text-align: center;
	color: #b2b2c0;
	padding: 8px;
	font-size: 11px;
}
.ed-drawer .ed-info:empty {
	display: none;
}
.ed-drawer .ed-warn,
.ed-drawer .ed-error {
	color: #ffa082;
	font-size: 13px;
	white-space: normal;
}
.ed-drawer .ed-warn:not(:empty) {
	margin: -6px 0 14px;
}
.ed-drawer .ed-error:not(:empty) {
	padding: 9px 12px;
	background: #3d1f2c;
	color: #ffbac8;
}
.ed-drawer .ed-confirm {
	background: #292937;
	padding: 8px;
}
.ed-drawer ol {
	margin: 8px 0;
	padding: 0 0 0 13px;
	border-left: 1px solid #47517e;
}
.ed-drawer ol li {
	list-style: none;
	display: grid;
	gap: 4px;
	background: #272735;
	padding: 8px 10px;
	margin-bottom: 8px;
	color: #e8e8ef;
	font-size: 12px;
}
.ed-drawer small {
	color: #b8b8c6;
	font-size: 11px;
}
.ed-drawer .ed-section a {
	display: block;
	color: #aab7ff;
	text-decoration: underline;
	margin: 4px 0;
}
.ed-drawer input[type="file"] {
	width: 100%;
	display: block;
	margin: 8px 0;
}
.ed-drawer .ed-body > .ed-primary {
	width: 100%;
	border-radius: 3px;
	min-height: 36px;
	cursor: pointer;
}
