/* Frame around the editor demo: the app's editor, with a slim bar in the website's colors along the
   bottom (the editor's own toolbar and Layers panel float along the top of the window). */
html,
body,
#root {
	height: 100%;
	margin: 0;
}
body {
	background: #f3f4f6;
}
.demo {
	display: flex;
	flex-direction: column;
	height: 100%;
}
.demo__bar {
	order: 2;
	flex: 0 0 auto;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 14px;
	padding: 10px 14px;
	background: #ffffff;
	border-top: 1px solid #e2e8f5;
	box-shadow: 0 -6px 18px rgba(20, 24, 40, 0.06);
	position: relative;
	z-index: 2;
	font: 500 14px/1.4 Inter, system-ui, -apple-system, 'Segoe UI', sans-serif;
	color: #1b2232;
}
.demo__field {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}
.demo__field span {
	color: #5f6b80;
}
.demo__field select {
	min-height: 34px;
	padding: 0 30px 0 10px;
	border: 1px solid #d4ddef;
	border-radius: 3px;
	background: #ffffff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23394257' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 10px center;
	appearance: none;
	font: inherit;
	color: inherit;
	cursor: pointer;
	transition: border-color 0.2s ease;
}
.demo__field select:hover,
.demo__field select:focus-visible {
	border-color: #455fff;
	outline: none;
}
.demo__reset {
	min-height: 34px;
	padding: 0 12px;
	border: 0;
	border-radius: 3px;
	background: rgba(20, 24, 40, 0.06);
	font: inherit;
	font-weight: 600;
	color: #1b2232;
	cursor: pointer;
	transition: background-color 0.2s ease;
}
.demo__reset:hover {
	background: rgba(20, 24, 40, 0.12);
}
.demo__note {
	margin: 0 0 0 auto;
	color: #5f6b80;
}
.demo__cta {
	display: inline-flex;
	align-items: center;
	min-height: 34px;
	padding: 0 14px;
	border-radius: 3px;
	background: linear-gradient(135deg, #455fff, #2f45d8);
	color: #ffffff;
	font-weight: 600;
	text-decoration: none;
	transition: filter 0.2s ease;
}
.demo__cta:hover {
	filter: brightness(1.08);
}
.demo__editor {
	order: 1;
	flex: 1 1 auto;
	min-height: 0;
	overflow: auto;
}
