.wp-geometry {
	position: relative;
	display: inline-block;
	max-width: 100%;
	margin: 0.5em 0;
	line-height: 0;
	clear: none;
}

.wp-geometry.alignleft {
	float: left;
	margin: 0.4em 1.2em 0.8em 0;
}

.wp-geometry.alignright {
	float: right;
	margin: 0.4em 0 0.8em 1.2em;
}

.wp-geometry.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-geometry svg,
.ge-svg {
	display: block;
	width: 100%;
	height: auto;
	max-width: 100%;
}

/* Same selection outline and handles the classic editor uses for images. */
.mce-content-body figure.wp-geometry[data-mce-selected] {
	outline: 1px solid #72777c;
}

.ge-resize-handle {
	position: fixed;
	z-index: 1000;
	box-sizing: border-box;
	width: 7px;
	height: 7px;
	margin: 0;
	padding: 0;
	border: 1px solid #72777c;
	background: #fff;
}

.ge-resize-nw,
.ge-resize-se {
	cursor: nwse-resize;
}

.ge-resize-ne,
.ge-resize-sw {
	cursor: nesw-resize;
}

.ge-resize-n,
.ge-resize-s {
	cursor: ns-resize;
}

.ge-resize-e,
.ge-resize-w {
	cursor: ew-resize;
}

.ge-resize-helper {
	position: fixed;
	z-index: 1001;
	display: none;
	padding: 5px;
	border-radius: 3px;
	background: rgba(0, 0, 0, 0.75);
	color: #fff;
	font-family: sans-serif;
	font-size: 12px;
	line-height: 14px;
	white-space: nowrap;
}

.ge-overlay {
	position: fixed;
	inset: 0;
	z-index: 1000001;
	background: rgba(15, 23, 32, 0.45);
	color: #1d2327;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* Media library must sit above the geometry overlay. */
body.ge-media-open .media-modal-backdrop {
	z-index: 1000010;
}

body.ge-media-open .media-modal {
	z-index: 1000011;
}

.ge-shell {
	display: flex;
	flex-direction: column;
	width: min(1200px, calc((100vw - 32px) * 0.9));
	height: min(774px, calc((100vh - 32px) * 0.9));
	margin: 16px auto;
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 16px 50px rgba(0, 0, 0, 0.28);
	overflow: hidden;
}

.ge-header {
	display: flex;
	flex-wrap: nowrap;
	gap: 12px;
	align-items: center;
	min-height: 64px;
	padding: 12px 16px;
	border-bottom: 1px solid #dcdcde;
	background: #fff;
}

.ge-heading {
	flex: 0 0 auto;
	margin: 0;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.2;
}

.ge-header-actions .button[hidden] {
	display: none !important;
}

.ge-header-actions,
.ge-close {
	flex-shrink: 0;
}

.ge-header-actions {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	gap: 6px;
	margin-left: auto;
	margin-inline-end: 12px;
}

.ge-header-actions .button {
	margin: 0;
}

.ge-settings {
	position: relative;
}

.ge-overlay .ge-settings-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 8px;
	background: transparent;
	box-shadow: none;
	color: #1e1e1e;
	cursor: pointer;
}

.ge-overlay .ge-settings-button:hover,
.ge-overlay .ge-settings-button:focus,
.ge-overlay .ge-settings-button.is-open {
	background: #f0f0f0;
	color: #1e1e1e;
	box-shadow: none;
}

.ge-settings-button .ge-icon {
	width: 16px;
	height: 16px;
	flex-basis: 16px;
}

.ge-settings-menu {
	position: absolute;
	top: calc(100% + 6px);
	right: 0;
	z-index: 40;
	display: flex;
	flex-direction: column;
	gap: 12px;
	width: 292px;
	padding: 14px;
	border: 1px solid #dcdcde;
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.ge-settings-menu[hidden] {
	display: none !important;
}

.ge-settings-menu .ge-field {
	margin-bottom: 0;
}

.ge-settings-zoom {
	display: flex;
	align-items: center;
	gap: 6px;
}

.ge-overlay .ge-settings-menu .ge-settings-zoom input {
	flex: 1 1 auto;
	width: auto;
	min-width: 0;
}

.ge-settings-unit {
	flex: 0 0 auto;
	color: #50575e;
	font-size: 13px;
	line-height: 1;
}

.ge-settings-row {
	display: flex;
	align-items: center;
	gap: 8px;
}

.ge-settings-row .ge-field {
	flex: 1 1 auto;
	flex-direction: row;
	align-items: center;
	gap: 8px;
	min-width: 0;
	margin-bottom: 0;
}

.ge-settings-caption {
	flex: 0 0 auto;
	line-height: 1.3;
}

.ge-settings-row .ge-field input,
.ge-settings-row .ge-settings-zoom {
	flex: 1 1 auto;
	width: auto;
	min-width: 0;
}

.ge-overlay .ge-settings-remember {
	flex: 0 0 auto;
	width: auto;
	gap: 6px;
	height: 30px;
	margin: 0;
	padding: 0;
	min-height: 0;
	border: 0;
	background: transparent;
	box-shadow: none;
	white-space: nowrap;
}

.ge-overlay .ge-settings-remember .ge-switch-label {
	flex: 0 0 auto;
	font-size: 12px;
}

.ge-io {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-right: 2px;
}

.ge-io-group {
	display: inline-flex;
	align-items: center;
	gap: 1px;
}

.ge-io-group + .ge-io-group {
	padding-left: 8px;
	border-left: 1px solid #dcdcde;
}

.ge-io-button {
	margin: 0;
	padding: 0 3px;
	border: 0;
	border-radius: 2px;
	background: transparent;
	box-shadow: none;
	color: #646970;
	font-size: 12px;
	font-weight: 400;
	line-height: 1.6;
	min-height: 0;
	height: auto;
	cursor: pointer;
}

.ge-io-button:hover,
.ge-io-button:focus {
	color: #2271b1;
	background: transparent;
	box-shadow: none;
}

.ge-import-file {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
}

.ge-cancel.button {
	border-color: transparent;
	background: transparent;
	box-shadow: none;
}

.ge-cancel.button:hover,
.ge-cancel.button:focus {
	background: #f0f0f0;
}

.ge-remove.button {
	color: #b32d2e;
	border-color: #b32d2e;
}

.ge-close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 2px;
	background: transparent;
	color: #1e1e1e;
	cursor: pointer;
}

.ge-close:hover,
.ge-close:focus {
	background: #f0f0f0;
}

.ge-close .dashicons {
	width: 20px;
	height: 20px;
	font-size: 20px;
	line-height: 20px;
}

.ge-tool {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	height: 30px;
	padding: 0 10px;
	border: 1px solid #c3c4c7;
	border-radius: 4px;
	background: #fff;
	color: #1d2327;
	cursor: pointer;
}

.ge-swatch {
	display: block;
	width: 28px;
	height: 8px;
}

.ge-tool.is-active {
	background: #2271b1;
	border-color: #2271b1;
	color: #fff;
}

.ge-status {
	flex: 0 0 auto;
	min-height: 18px;
	margin: 0;
	padding: 8px;
	border-bottom: 1px solid #dcdcde;
	color: #50575e;
	font-size: 12px;
	line-height: 1.45;
}

.ge-workspace {
	display: flex;
	flex: 1;
	flex-direction: column;
	min-height: 0;
	min-width: 0;
}

.ge-body {
	display: flex;
	flex: 1 1 auto;
	min-height: 0;
	min-width: 0;
}

.ge-toolbar {
	display: flex;
	flex: 0 0 auto;
	flex-direction: column;
	align-items: stretch;
	gap: 8px;
	padding: 8px 12px;
	border-bottom: 1px solid #dcdcde;
}

.ge-toolbar-row {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	align-items: center;
}

.ge-menu {
	position: relative;
	display: inline-flex;
	align-items: stretch;
}

.ge-menu > .ge-tool {
	border-top-right-radius: 0;
	border-bottom-right-radius: 0;
}

.ge-menu-caret {
	width: 22px;
	margin: 0;
	padding: 0;
	border: 1px solid #c3c4c7;
	border-left: 0;
	border-radius: 0 4px 4px 0;
	background: #fff;
	color: #1d2327;
	font-size: 11px;
	line-height: 1;
	cursor: pointer;
}

.ge-menu.is-active > .ge-menu-caret,
.ge-menu-caret.is-open {
	background: #2271b1;
	border-color: #2271b1;
	color: #fff;
}

.ge-menu-list {
	position: absolute;
	top: calc(100% + 4px);
	left: 0;
	z-index: 20;
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 100%;
	padding: 4px;
	border: 1px solid #dcdcde;
	border-radius: 4px;
	background: #fff;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.ge-menu-list[hidden] {
	display: none !important;
}

.ge-menu-list .ge-tool {
	width: 100%;
	justify-content: flex-start;
}

.ge-menu-list.ge-formula-menu {
	width: max-content;
	min-width: 100%;
}

.ge-menu-list.ge-formula-menu .ge-tool {
	width: auto;
	white-space: nowrap;
}

.ge-layers {
	display: flex;
	flex: 0 0 175px;
	flex-direction: column;
	min-width: 0;
	min-height: 0;
	border-right: 1px solid #dcdcde;
	background: #fff;
}

.ge-layers-head {
	flex: 0 0 auto;
	padding: 8px 10px 6px;
	border-bottom: 1px solid #dcdcde;
}

.ge-layers-title {
	font-size: 13px;
	font-weight: 600;
	line-height: 1.3;
}

.ge-layers-legend {
	display: flex;
	gap: 10px;
	margin-top: 4px;
	color: #646970;
	font-size: 11px;
	font-weight: 400;
}

.ge-layers-legend span {
	display: inline-flex;
	align-items: center;
	gap: 4px;
}

.ge-layers-legend i {
	display: block;
	width: 8px;
	height: 8px;
	border-radius: 2px;
}

.ge-layers-legend .is-shape i {
	background: #2271b1;
}

.ge-layers-legend .is-mark i {
	background: #b26200;
}

.ge-layers-list {
	flex: 1 1 auto;
	min-height: 0;
	overflow: auto;
	padding: 4px 0;
}

.ge-layers-empty {
	margin: 8px 10px;
	color: #646970;
	font-size: 12px;
	line-height: 1.5;
}

.ge-layer {
	display: flex;
	align-items: center;
	gap: 2px;
	min-height: 26px;
	padding-right: 4px;
}

.ge-layer.is-shape {
	color: #135e96;
}

.ge-layer.is-mark {
	color: #8a4b08;
}

.ge-layer.is-parent > .ge-layer-main {
	font-weight: 600;
}

.ge-layer.is-selected {
	background: #f0f6fc;
}

.ge-layer.is-mark.is-selected {
	background: #fcf9e8;
}

.ge-layer-main {
	display: flex;
	flex: 1 1 auto;
	align-items: center;
	gap: 6px;
	min-width: 0;
	margin: 0;
	padding: 3px 2px;
	border: 0;
	background: transparent;
	color: inherit;
	font-size: 12px;
	line-height: 1.3;
	text-align: left;
	cursor: pointer;
}

.ge-layer-swatch {
	flex: 0 0 8px;
	width: 8px;
	height: 8px;
	border-radius: 2px;
	background: #2271b1;
}

.ge-layer.is-mark .ge-layer-swatch {
	background: #b26200;
}

.ge-layer-name {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.ge-layer-lock,
.ge-layer-delete {
	display: inline-flex;
	flex: 0 0 20px;
	align-items: center;
	justify-content: center;
	width: 20px;
	height: 20px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 4px;
	background: transparent;
	color: #646970;
	cursor: pointer;
	opacity: 0;
}

.ge-layer-delete {
	color: #b32d2e;
	font-size: 16px;
	line-height: 18px;
}

.ge-layer-lock svg {
	display: block;
}

.ge-layer:hover .ge-layer-lock,
.ge-layer:focus-within .ge-layer-lock,
.ge-layer:hover .ge-layer-delete,
.ge-layer:focus-within .ge-layer-delete,
.ge-layer.is-locked > .ge-layer-lock {
	opacity: 1;
}

.ge-layer.is-locked > .ge-layer-lock {
	color: #135e96;
}

.ge-layer.is-locked .ge-layer-delete,
.ge-layer.is-locked:hover .ge-layer-delete,
.ge-layer.is-locked:focus-within .ge-layer-delete {
	opacity: 0.28;
	pointer-events: none;
}

.ge-layer-lock:hover,
.ge-layer-lock:focus,
.ge-layer-delete:hover,
.ge-layer-delete:focus {
	background: #f0f0f1;
}

.ge-layer-delete:hover,
.ge-layer-delete:focus {
	background: #fcf0f1;
}

.ge-overlay .ge-props .ge-object-actions {
	display: flex;
	align-items: stretch;
	width: 100%;
	height: 32px;
	box-sizing: border-box;
	margin: 10px 0 8px;
	padding: 0;
	border: 1px solid var(--border);
	border-radius: 12px;
	overflow: hidden;
	background: transparent;
}

body.wp-admin #wpbody-content .ge-overlay .ge-object-actions .button,
.ge-overlay .ge-props .ge-object-actions .button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 1 1 0;
	width: auto;
	height: 100%;
	min-height: 0;
	margin: 0;
	padding: 0 8px;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	text-shadow: none;
	color: var(--foreground);
	font-size: 12px;
	font-weight: 500;
	line-height: 1;
	gap: 4px;
}

.ge-overlay .ge-props .ge-object-actions .ge-action-sep {
	flex: 0 0 1px;
	width: 1px;
	background: var(--border);
}

body.wp-admin .ge-overlay .ge-props .ge-object-actions .ge-delete:disabled,
body.wp-admin .ge-overlay .ge-props .ge-object-actions .ge-delete[disabled] {
	color: var(--danger) !important;
	background: transparent !important;
	opacity: 0.5;
}

body.wp-admin #wpbody-content .ge-overlay .ge-object-actions .ge-lock:hover,
body.wp-admin #wpbody-content .ge-overlay .ge-object-actions .ge-lock:focus,
.ge-overlay .ge-props .ge-object-actions .ge-lock:hover,
.ge-overlay .ge-props .ge-object-actions .ge-lock:focus {
	background: var(--default);
	border-color: transparent;
	color: var(--foreground);
}

body.wp-admin #wpbody-content .ge-overlay .ge-object-actions .ge-lock.is-locked,
.ge-overlay .ge-props .ge-object-actions .ge-lock.is-locked {
	background: var(--accent);
	color: var(--accent-foreground);
}

body.wp-admin #wpbody-content .ge-overlay .ge-object-actions .ge-lock.is-locked:hover,
body.wp-admin #wpbody-content .ge-overlay .ge-object-actions .ge-lock.is-locked:focus,
.ge-overlay .ge-props .ge-object-actions .ge-lock.is-locked:hover,
.ge-overlay .ge-props .ge-object-actions .ge-lock.is-locked:focus {
	background: var(--accent-hover);
	color: var(--accent-foreground);
}

.ge-overlay .ge-props .ge-object-actions .ge-lock svg {
	width: 14px;
	height: 14px;
	flex: 0 0 auto;
}

body.wp-admin #wpbody-content .ge-overlay .ge-object-actions .ge-delete,
.ge-overlay .ge-props .ge-object-actions .ge-delete {
	background: transparent;
	color: var(--danger);
}

body.wp-admin #wpbody-content .ge-overlay .ge-object-actions .ge-delete:hover,
body.wp-admin #wpbody-content .ge-overlay .ge-object-actions .ge-delete:focus,
.ge-overlay .ge-props .ge-object-actions .ge-delete:hover,
.ge-overlay .ge-props .ge-object-actions .ge-delete:focus {
	background: var(--danger-soft);
	color: var(--danger-soft-foreground);
}

.ge-side {
	display: flex;
	flex: 0 0 260px;
	flex-direction: column;
	min-width: 0;
	min-height: 0;
	border-left: 1px solid #dcdcde;
	background: #fff;
}

.ge-toolbar-row.ge-pin,
.ge-side .ge-pin {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	flex: 0 0 auto;
	width: 100%;
	padding: 8px 6px;
	gap: 4px;
	border-bottom: 1px solid #dcdcde;
	box-sizing: border-box;
}

.ge-overlay .ge-toolbar-row.ge-pin > .ge-tool,
.ge-overlay .ge-toolbar-row.ge-pin > [data-action] {
	width: 100%;
	min-width: 0;
	justify-content: center;
	box-sizing: border-box;
	padding: 0 4px;
	gap: 2px;
	font-size: 11px;
	line-height: 1.2;
	white-space: nowrap;
}

.ge-side .ge-tool {
	flex: 1 1 calc(50% - 4px);
	justify-content: center;
	height: 28px;
	padding: 0 4px;
	gap: 3px;
	font-size: 12px;
}

.ge-side .ge-icon {
	width: 14px;
	height: 14px;
	flex-basis: 14px;
}

.ge-icon {
	display: block;
	width: 16px;
	height: 16px;
	flex: 0 0 16px;
}

.ge-tool-label {
	line-height: 1;
}

.ge-overlay .ge-toolbar > .ge-toolbar-row > .ge-tool,
.ge-overlay .ge-toolbar > .ge-toolbar-row > .ge-tool .ge-tool-label,
.ge-overlay .ge-toolbar .ge-menu > .ge-tool,
.ge-overlay .ge-toolbar .ge-menu > .ge-tool .ge-tool-label {
	font-size: 12px;
}

.ge-stage {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	align-items: stretch;
	min-width: 0;
	min-height: 0;
	padding: 0;
	background:
		linear-gradient(#eef1f4 1px, transparent 1px),
		linear-gradient(90deg, #eef1f4 1px, transparent 1px);
	background-size: 20px 20px;
	background-color: #f8f9fa;
	overflow: hidden;
}

.ge-canvas:focus {
	outline: none;
}

.ge-canvas {
	flex: 1 1 auto;
	align-self: stretch;
	width: 100%;
	height: 100%;
	min-width: 0;
	min-height: 0;
	margin: 0;
	background: #fff;
	box-shadow: 0 0 0 1px #dcdcde;
	touch-action: none;
	overflow: hidden;
}

.ge-canvas svg {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	background: #fff;
	cursor: crosshair;
	overflow: hidden;
}

.ge-image-handle {
	cursor: nwse-resize;
}

.ge-canvas.is-pan svg {
	cursor: grab;
}

.ge-canvas.is-panning svg {
	cursor: grabbing;
}

.ge-props {
	flex: 1 1 auto;
	min-height: 0;
	padding: 8px;
	overflow: auto;
}

.ge-props-title {
	margin: 0 0 10px;
	font-size: 13px;
}

.ge-props-empty {
	margin: 0;
	color: #50575e;
	font-size: 13px;
	line-height: 1.5;
}

.ge-edge-label {
	margin: 2px 0 4px;
	font-size: 12px;
	font-weight: 600;
}

.ge-angle-caption {
	margin: 0 0 4px;
	font-size: 12px;
	font-weight: 500;
	line-height: 1.3;
}

.ge-angle-points {
	display: flex;
	gap: 6px;
	margin-bottom: 10px;
}

.ge-angle-points .ge-field {
	flex: 1 1 0;
	align-items: stretch;
	min-width: 0;
	margin-bottom: 0;
	gap: 2px;
}

.ge-angle-points .ge-field select {
	padding: 0 2px;
	font-size: 12px;
}

.ge-angle-sub {
	color: var(--muted, #71717a);
	font-size: 10px;
	font-weight: 400;
	line-height: 1;
	text-align: center;
}

.ge-angle-hint {
	margin: 0 0 10px;
	color: #646970;
	font-size: 11px;
	line-height: 1.4;
}

.ge-field {
	display: flex;
	flex-direction: column;
	gap: 4px;
	margin-bottom: 10px;
	font-size: 12px;
}

.ge-field input,
.ge-field select {
	width: 100%;
	max-width: 100%;
	height: 30px;
	box-sizing: border-box;
}

.ge-expression-row {
	display: flex;
	align-items: center;
	gap: 4px;
}

.ge-field .ge-expression-row input {
	flex: 1 1 auto;
	width: auto;
	min-width: 0;
}

.ge-expression-row .ge-dash {
	flex: 0 0 auto;
	padding: 0 6px;
}

.ge-expression-hint {
	margin: 4px 0 0;
	color: var(--muted, #71717a);
	font-size: 11px;
	font-weight: 400;
	line-height: 1.3;
}

.ge-expression-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	margin-top: 6px;
}

body.wp-admin #wpbody-content .ge-overlay .ge-expression-chip,
.ge-overlay .ge-expression-chip {
	height: auto;
	min-height: 0;
	margin: 0;
	padding: 2px 6px;
	border: 1px solid var(--border, #e4e4e7);
	border-radius: 999px;
	background: transparent;
	color: var(--foreground, #18181b);
	font-size: 12px;
	font-weight: 400;
	line-height: 1.4;
	cursor: pointer;
}

.ge-overlay .ge-expression-chip:hover,
.ge-overlay .ge-expression-chip:focus {
	background: var(--default, #f4f4f5);
}

.ge-check {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 8px;
	margin-bottom: 10px;
	font-size: 13px;
}

.ge-check input {
	width: 16px;
	height: 16px;
	margin: 0;
}

.ge-switch {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	width: 100%;
	box-sizing: border-box;
	margin: 0 0 10px;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	color: inherit;
	font-size: 13px;
	font-weight: 400;
	line-height: 1.4;
	text-align: left;
	cursor: pointer;
	min-height: 0;
	height: auto;
}

.ge-switch:hover,
.ge-switch:focus {
	background: transparent;
	color: inherit;
	box-shadow: none;
}

.ge-switch:focus {
	outline: none;
}

.ge-switch:disabled {
	opacity: var(--disabled-opacity, 0.5);
	cursor: not-allowed;
}

.ge-switch-label {
	flex: 1 1 auto;
	min-width: 0;
}

.ge-switch-track {
	position: relative;
	flex: 0 0 auto;
	width: 40px;
	height: 22px;
	border-radius: 999px;
	background: var(--default);
	transition: background-color 250ms var(--ease-smooth, ease);
}

.ge-switch:hover .ge-switch-track {
	background: var(--default-hover, var(--default));
}

.ge-switch:focus-visible .ge-switch-track {
	box-shadow: 0 0 0 2px var(--background, #fff), 0 0 0 4px var(--focus, var(--accent));
}

.ge-switch[aria-checked="true"] .ge-switch-track {
	background: var(--accent);
}

.ge-switch[aria-checked="true"]:hover .ge-switch-track {
	background: var(--accent-hover, var(--accent));
}

.ge-switch-thumb {
	position: absolute;
	top: 2px;
	left: 2px;
	width: 18px;
	height: 18px;
	border-radius: 999px;
	background: var(--white, #fff);
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12), 0 0 1px rgba(0, 0, 0, 0.18);
	transition: transform 200ms var(--ease-out, ease);
}

.ge-switch[aria-checked="true"] .ge-switch-thumb {
	transform: translateX(18px);
}

.ge-xy-row {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 10px;
}

.ge-xy-field {
	display: flex;
	flex: 1 1 0;
	align-items: center;
	gap: 4px;
	min-width: 0;
	margin: 0;
	font-weight: 400;
}

.ge-xy-label {
	flex: 0 0 auto;
	color: var(--muted, #71717a);
	font-size: 11px;
	font-weight: 400;
	line-height: 1;
}

.ge-xy-field input {
	flex: 1 1 auto;
	width: 100%;
	min-width: 0;
	height: 30px;
	margin: 0;
	box-sizing: border-box;
}

.ge-coeff-row {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	gap: 6px;
	margin-bottom: 10px;
}

.ge-coeff-field {
	display: flex;
	flex: 1 1 0;
	flex-direction: row;
	align-items: center;
	gap: 4px;
	min-width: 0;
	margin: 0;
	font-weight: 400;
}

.ge-coeff-label {
	flex: 0 0 auto;
	color: var(--muted, #71717a);
	font-size: 11px;
	font-weight: 400;
	line-height: 1;
}

body.wp-admin #wpbody-content .ge-overlay .ge-props .ge-coeff-field input,
.ge-overlay .ge-props .ge-coeff-field input {
	flex: 1 1 auto;
	width: 100%;
	min-width: 0;
	height: 30px;
	margin: 0;
	padding: 0 4px;
	box-sizing: border-box;
	font-size: 12px;
	line-height: 28px;
	text-align: center;
	-moz-appearance: textfield;
	appearance: textfield;
}

.ge-coeff-field input::-webkit-outer-spin-button,
.ge-coeff-field input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.ge-axis-range {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	margin-bottom: 10px;
}

.ge-axis-range-group {
	display: flex;
	flex: 1 1 0;
	gap: 4px;
	min-width: 0;
}

.ge-axis-range-field {
	display: flex;
	flex: 1 1 0;
	flex-direction: column;
	align-items: stretch;
	gap: 2px;
	min-width: 0;
	margin: 0;
	font-weight: 400;
}

.ge-axis-range-field input {
	width: 100%;
	min-width: 0;
	height: 30px;
	margin: 0;
	padding: 0 2px;
	box-sizing: border-box;
	font-size: 12px;
	text-align: center;
	-moz-appearance: textfield;
	appearance: textfield;
}

.ge-axis-range-field input::-webkit-outer-spin-button,
.ge-axis-range-field input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.ge-axis-range-caption {
	display: block;
	color: var(--muted, #71717a);
	font-size: 11px;
	font-weight: 400;
	line-height: 1.2;
	text-align: center;
	white-space: nowrap;
}

.ge-advanced {
	margin-top: 4px;
	border-top: 1px solid #dcdcde;
}

.ge-advanced-summary {
	cursor: pointer;
	padding: 8px 0;
	font-size: 13px;
	font-weight: 600;
}

.ge-advanced:not([open]) .ge-advanced-body {
	display: none;
}

.ge-advanced-body {
	padding-bottom: 4px;
}

.ge-line-style {
	margin: 8px 0 4px;
}

.ge-line-style-label {
	margin-bottom: 6px;
	font-size: 13px;
}

.ge-dash-row {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-bottom: 10px;
}

.ge-dash {
	height: 28px;
	margin: 0;
	padding: 0 8px;
	border: 1px solid #c3c4c7;
	border-radius: 4px;
	background: #fff;
	color: #1d2327;
	font-size: 12px;
	cursor: pointer;
}

.ge-dash.is-active {
	background: #2271b1;
	border-color: #2271b1;
	color: #fff;
}

/* HeroUI ButtonGroup, ghost: one attached row for 线型 only. */
.ge-overlay .ge-line-style .ge-dash-row {
	display: flex;
	flex-wrap: nowrap;
	align-items: stretch;
	gap: 0;
	width: 100%;
	height: 32px;
	margin: 0 0 10px;
	padding: 0;
	border: 1px solid var(--border);
	border-radius: 12px;
	background: transparent;
	overflow: hidden;
	box-sizing: border-box;
}

.ge-overlay .ge-line-style .ge-dash {
	display: inline-flex;
	flex: 1 1 0;
	align-items: center;
	justify-content: center;
	height: 100%;
	min-width: 0;
	margin: 0;
	padding: 0 4px;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	color: var(--foreground);
	font-family: inherit;
	font-size: 13px;
	font-weight: 500;
	line-height: 1;
	white-space: nowrap;
	text-shadow: none;
	cursor: pointer;
	appearance: none;
}

.ge-overlay .ge-line-style .ge-dash + .ge-dash {
	box-shadow: inset 1px 0 0 var(--border);
}

.ge-overlay .ge-line-style .ge-dash:hover,
.ge-overlay .ge-line-style .ge-dash:focus {
	background: var(--default);
	border-color: transparent;
	color: var(--foreground);
}

.ge-overlay .ge-line-style .ge-dash.is-active,
.ge-overlay .ge-line-style .ge-dash.is-active:hover,
.ge-overlay .ge-line-style .ge-dash.is-active:focus {
	background: var(--accent-soft);
	border-color: transparent;
	color: var(--foreground);
}

.ge-overlay .ge-line-style .ge-dash:focus-visible {
	outline: 2px solid var(--focus);
	outline-offset: -2px;
	z-index: 1;
}

.ge-endpoint-row {
	display: flex;
	flex-wrap: nowrap;
	align-items: flex-start;
	gap: 6px;
	margin-bottom: 10px;
}

.ge-endpoint-row .ge-field {
	flex: 1 1 0;
	min-width: 0;
	margin-bottom: 0;
}

.ge-overlay .ge-variant-group {
	display: flex;
	flex-wrap: nowrap;
	align-items: stretch;
	gap: 0;
	width: 100%;
	height: 32px;
	margin: 0 0 10px;
	padding: 0;
	border: 1px solid var(--border);
	border-radius: 12px;
	background: transparent;
	overflow: hidden;
	box-sizing: border-box;
}

body.wp-admin #wpbody-content .ge-overlay .ge-variant-group .ge-dash,
.ge-overlay .ge-variant-group .ge-dash {
	display: inline-flex;
	flex: 1 1 0;
	align-items: center;
	justify-content: center;
	height: 100%;
	min-width: 0;
	min-height: 0;
	margin: 0;
	padding: 0 4px;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	color: var(--foreground);
	font-family: inherit;
	font-size: 13px;
	font-weight: 500;
	line-height: 1;
	white-space: nowrap;
	text-shadow: none;
	cursor: pointer;
	appearance: none;
}

.ge-overlay .ge-variant-group .ge-dash + .ge-dash {
	box-shadow: inset 1px 0 0 var(--border);
}

body.wp-admin #wpbody-content .ge-overlay .ge-variant-group .ge-dash:hover,
body.wp-admin #wpbody-content .ge-overlay .ge-variant-group .ge-dash:focus,
.ge-overlay .ge-variant-group .ge-dash:hover,
.ge-overlay .ge-variant-group .ge-dash:focus {
	background: var(--default);
	border-color: transparent;
	color: var(--foreground);
}

body.wp-admin #wpbody-content .ge-overlay .ge-variant-group .ge-dash.is-active,
body.wp-admin #wpbody-content .ge-overlay .ge-variant-group .ge-dash.is-active:hover,
body.wp-admin #wpbody-content .ge-overlay .ge-variant-group .ge-dash.is-active:focus,
.ge-overlay .ge-variant-group .ge-dash.is-active,
.ge-overlay .ge-variant-group .ge-dash.is-active:hover,
.ge-overlay .ge-variant-group .ge-dash.is-active:focus {
	background: var(--accent-soft);
	border-color: transparent;
	color: var(--foreground);
}

.ge-overlay .ge-variant-group .ge-dash:focus-visible {
	outline: 2px solid var(--focus);
	outline-offset: -2px;
	z-index: 1;
}


.geometry-editor-media-button .dashicons {
	vertical-align: text-bottom;
	margin-right: 2px;
}

@media (max-width: 782px) {
	.ge-shell {
		width: 100vw;
		height: 100vh;
		margin: 0;
		border-radius: 0;
	}

	.ge-body {
		flex-direction: column;
		overflow: auto;
	}

	.ge-layers,
	.ge-side {
		flex: 0 0 auto;
		max-height: 220px;
		border-left: 0;
		border-right: 0;
	}

	.ge-layers {
		border-bottom: 1px solid #dcdcde;
	}

	.ge-side {
		border-top: 1px solid #dcdcde;
	}
}
