.canvas-stage {
	background-color: #242627;
}

.canvas-wrap {
	outline: 1px solid #3a3d3e;
	box-shadow: 0 3px 9px #0009;
}

.active-tool-status {
	color: #9da19d;
	font-size: 0.72rem;
}

.tool-hint {
	min-height: 2.4em;
	margin: -5px 0 10px;
	color: #969b97;
	font-size: 0.72rem;
}

.palette-bar {
	min-height: 0;
	height: 56px;
	padding-block: 5px;
	overflow: hidden;
}

.palette-grid {
	grid-template-rows: repeat(2, 18px);
}

.palette-colour {
	height: 18px;
}

.current-colour {
	margin: 2px;
}

.colour-fields {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 9px;
	margin: 14px 0 0;
	padding: 11px;
	border: 1px solid #424546;
	border-radius: 2px;
}

#colourField {
	border-radius: 1px;
}

.colour-fields legend {
	padding: 0 6px;
	color: #969b97;
	font-size: 0.72rem;
}

.colour-fields label {
	margin: 0;
}

.align-field-button {
	align-self: end;
	height: 34px;
	margin-bottom: 0;
}

.layer-action-wide {
	grid-column: 1 / -1;
}

.grid-toggle.active {
	color: var(--accent);
	background: #34342f;
}

.selection-actions {
	grid-template-columns: 1fr 1fr;
}

#deleteSelection {
	grid-column: 1 / -1;
}

.effect-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
}

.levels-fields {
	margin: 16px 0 0;
	padding: 12px;
	border: 1px solid #424546;
	border-radius: 2px;
}

.levels-fields legend {
	padding: 0 6px;
	color: #aeb2ae;
}

.history-list {
	max-height: 160px;
	margin: 0;
	padding: 0;
	overflow-y: auto;
	list-style: none;
}

.history-list li {
	border-bottom: 1px solid #343738;
}

.history-list button {
	width: 100%;
	padding: 6px 7px;
	border: 0;
	background: transparent;
	color: #aeb2ae;
	font: inherit;
	font-size: 0.72rem;
	text-align: left;
	cursor: pointer;
}

.history-list button:hover {
	background: #303233;
}

.history-list li:last-child button {
	color: var(--accent);
}

.layers-section select {
	width: 100%;
	margin-top: 5px;
	padding: 7px 8px;
	border: 1px solid #444748;
	border-radius: 3px;
	background: #181a1b;
	color: var(--text);
}

@media (max-width: 520px) {
	.active-tool-status {
		display: none;
	}
}
