.mdv-sheet-configurator {
	--mdv-sheet-accent: #e65328;
	--mdv-sheet-ink: #18232d;
	--mdv-sheet-muted: #69747d;
	--mdv-sheet-border: #d8dee3;
	--mdv-sheet-surface: #fff;
	--mdv-sheet-stage: #f7f9fa;
	--mdv-sheet-contour-width: 5;
	--mdv-sheet-dimension-width: 1.5;
	--mdv-sheet-extension-width: 1;
	width: 100%;
	max-width: 1400px;
	margin-inline: auto;
	border: 1px solid var(--mdv-sheet-border);
	border-radius: 14px;
	background: var(--mdv-sheet-surface);
	box-shadow: 0 18px 45px rgb(24 35 45 / 8%);
	color: var(--mdv-sheet-ink);
	font-family: inherit;
	overflow: hidden;
	container-type: inline-size;
}

.mdv-sheet-configurator.mdv-sheet-configurator--layout-wide {
	position: relative;
	left: 50%;
	width: min(1500px, calc(100vw - 32px));
	max-width: none;
	transform: translateX(-50%);
}

.mdv-sheet-configurator.mdv-sheet-configurator--layout-fullscreen {
	position: relative;
	left: 50%;
	width: min(1600px, calc(100vw - 24px));
	max-width: none;
	transform: translateX(-50%);
}

.mdv-sheet-configurator *,
.mdv-sheet-configurator *::before,
.mdv-sheet-configurator *::after {
	box-sizing: border-box;
}

.mdv-sheet-configurator h2,
.mdv-sheet-configurator h3,
.mdv-sheet-configurator h4,
.mdv-sheet-configurator p {
	margin-top: 0;
}

.mdv-sheet-configurator .mdv-sheet-configurator__header {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr);
	align-items: center;
	gap: clamp(1rem, 3vw, 3rem);
	padding: 0.85rem clamp(1.25rem, 2.5vw, 2rem);
	border-bottom: 1px solid var(--mdv-sheet-border);
}

.mdv-sheet-configurator .mdv-sheet-configurator__header h2 {
	max-width: 24ch;
	margin-bottom: 0;
	font-size: clamp(1.45rem, 2.1vw, 2rem);
	line-height: 1.15;
}

.mdv-sheet-configurator .mdv-sheet-configurator__header > p {
	max-width: 42rem;
	margin-bottom: 0;
	color: var(--mdv-sheet-muted);
	font-size: 0.94rem;
	line-height: 1.5;
}

.mdv-sheet-configurator .mdv-sheet-configurator__eyebrow {
	margin-bottom: 0.25rem;
	color: var(--mdv-sheet-accent);
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.mdv-sheet-configurator .mdv-sheet-configurator__workspace {
	display: grid;
	grid-template-columns: minmax(280px, 29%) minmax(0, 71%);
	min-height: 640px;
	align-items: start;
}

.mdv-sheet-configurator .mdv-sheet-view-switcher {
	display: none;
}

.mdv-sheet-configurator .mdv-sheet-configurator__controls {
	min-width: 0;
	padding: clamp(1.15rem, 2vw, 1.6rem);
	border-right: 1px solid var(--mdv-sheet-border);
	background: #fbfcfc;
}

.mdv-sheet-configurator .mdv-sheet-controls__heading,
.mdv-sheet-configurator .mdv-sheet-drawing__heading {
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.mdv-sheet-configurator .mdv-sheet-controls__heading {
	margin-bottom: 1.1rem;
}

.mdv-sheet-configurator .mdv-sheet-controls__heading > span {
	display: grid;
	flex: 0 0 2rem;
	width: 2rem;
	height: 2rem;
	border-radius: 50%;
	background: var(--mdv-sheet-ink);
	color: #fff;
	font-size: 0.7rem;
	font-weight: 700;
	place-items: center;
}

.mdv-sheet-configurator .mdv-sheet-controls__heading h3,
.mdv-sheet-configurator .mdv-sheet-drawing__heading h3 {
	margin: 0;
	font-size: 1.05rem;
}

.mdv-sheet-configurator .mdv-sheet-controls__subheading {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 0.75rem;
	margin: 1.35rem 0 0.8rem;
	padding-top: 1rem;
	border-top: 1px solid var(--mdv-sheet-border);
}

.mdv-sheet-configurator .mdv-sheet-controls__subheading h4 {
	margin-bottom: 0;
	font-size: 0.9rem;
}

.mdv-sheet-configurator .mdv-sheet-controls__subheading span {
	color: var(--mdv-sheet-muted);
	font-size: 0.7rem;
	white-space: nowrap;
}

.mdv-sheet-configurator .mdv-sheet-field {
	display: block;
	width: 100%;
	margin-bottom: 0.75rem;
}

.mdv-sheet-configurator .mdv-sheet-field > span {
	display: block;
	margin-bottom: 0.35rem;
	color: #34434f;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.02em;
}

.mdv-sheet-configurator .mdv-sheet-field input,
.mdv-sheet-configurator .mdv-sheet-field select {
	display: block;
	width: 100%;
	min-width: 0;
	min-height: 44px;
	margin: 0;
	padding: 0.55rem 0.75rem;
	border: 1px solid #bcc6cd;
	border-radius: 6px;
	background: #fff;
	color: var(--mdv-sheet-ink);
	font: inherit;
	line-height: 1.25;
}

.mdv-sheet-configurator .mdv-sheet-field input[type="number"] {
	padding-right: 0.45rem;
	font-variant-numeric: tabular-nums;
}

.mdv-sheet-configurator .mdv-sheet-field input:focus,
.mdv-sheet-configurator .mdv-sheet-field select:focus {
	border-color: var(--mdv-sheet-accent);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--mdv-sheet-accent) 18%, transparent);
	outline: 0;
}

.mdv-sheet-configurator .mdv-sheet-field__error {
	display: block;
	min-height: 1.1rem;
	margin-top: 0.25rem;
	color: #b32d2e;
	font-size: 0.72rem;
	line-height: 1.3;
	overflow-wrap: anywhere;
}

.mdv-sheet-configurator .mdv-sheet-field__help {
	display: block;
	margin-top: 0.35rem;
	color: var(--mdv-sheet-muted);
	font-size: 0.72rem;
	line-height: 1.4;
}

.mdv-sheet-configurator .mdv-sheet-field--invalid input {
	border-color: #b32d2e;
	box-shadow: 0 0 0 1px #b32d2e;
}

.mdv-sheet-configurator .mdv-sheet-dimension-fields {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0 0.75rem;
}

.mdv-sheet-configurator .mdv-sheet-configurator__drawing-panel {
	position: relative;
	min-width: 0;
	padding: clamp(1rem, 2vw, 1.6rem);
	background: var(--mdv-sheet-stage);
}

.mdv-sheet-configurator .mdv-drawing__dimension--interactive .mdv-drawing__dimension-text {
	cursor: pointer;
}

.mdv-sheet-configurator .mdv-drawing__dimension--interactive .mdv-drawing__dimension-text:focus {
	outline: 3px solid var(--mdv-sheet-accent);
	outline-offset: 4px;
}

.mdv-sheet-configurator .mdv-drawing__segment.mdv-drawing--active {
	stroke: var(--mdv-sheet-accent);
	stroke-width: 8;
}

.mdv-sheet-configurator .mdv-drawing__dimension.mdv-drawing--active .mdv-drawing__dimension-line {
	stroke-width: 3;
}

.mdv-sheet-configurator .mdv-drawing__dimension.mdv-drawing--active .mdv-drawing__dimension-text {
	fill: var(--mdv-sheet-accent);
	font-weight: 800;
}

.mdv-sheet-configurator .mdv-sheet-inline-editor {
	position: absolute;
	z-index: 5;
	top: 4.5rem;
	right: 1.6rem;
	width: min(280px, calc(100% - 2rem));
	padding: 0.85rem;
	border: 1px solid var(--mdv-sheet-accent);
	border-radius: 8px;
	background: #fff;
	box-shadow: 0 12px 30px rgb(24 35 45 / 20%);
	color: #18232d;
}

.mdv-sheet-configurator .mdv-sheet-inline-editor label {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: end;
	gap: 0.4rem;
	font-size: 0.78rem;
	font-weight: 700;
}

.mdv-sheet-configurator .mdv-sheet-inline-editor label input {
	grid-column: 1;
	width: 100%;
	min-height: 44px;
	margin-top: 0.35rem;
}

.mdv-sheet-configurator .mdv-sheet-inline-editor__unit {
	grid-column: 2;
	padding-bottom: 0.7rem;
}

.mdv-sheet-configurator .mdv-sheet-inline-editor__error {
	display: block;
	min-height: 1.2rem;
	margin-top: 0.3rem;
	color: #b32d2e;
	font-size: 0.72rem;
}

.mdv-sheet-configurator .mdv-sheet-inline-editor__actions,
.mdv-sheet-configurator .mdv-sheet-custom-editor__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.mdv-sheet-configurator .mdv-sheet-inline-editor button,
.mdv-sheet-configurator .mdv-sheet-custom-editor button {
	min-height: 44px;
	padding: 0.55rem 0.75rem;
	border: 1px solid var(--mdv-sheet-border);
	border-radius: 6px;
	background: #fff;
	color: var(--mdv-sheet-ink);
	font: inherit;
	font-size: 0.78rem;
	font-weight: 700;
	cursor: pointer;
}

.mdv-sheet-configurator .mdv-sheet-inline-editor button:first-child,
.mdv-sheet-configurator .mdv-sheet-custom-editor button:first-child {
	border-color: var(--mdv-sheet-accent);
	background: var(--mdv-sheet-accent);
	color: #fff;
}

.mdv-sheet-configurator .mdv-sheet-custom-editor button:disabled {
	cursor: not-allowed;
	opacity: 0.5;
}

.mdv-sheet-configurator .mdv-sheet-segment-list {
	display: grid;
	gap: 0.65rem;
	max-height: min(36rem, calc(100vh - 22rem));
	padding-right: 0.2rem;
	overflow-y: auto;
}

.mdv-sheet-configurator .mdv-sheet-segment {
	min-width: 0;
	margin: 0;
	padding: 0.7rem;
	border: 1px solid var(--mdv-sheet-border);
	border-radius: 7px;
	background: #fff;
}

.mdv-sheet-configurator .mdv-sheet-segment--active {
	border-color: var(--mdv-sheet-accent);
	box-shadow: 0 0 0 2px color-mix(in srgb, var(--mdv-sheet-accent) 16%, transparent);
}

.mdv-sheet-configurator .mdv-sheet-segment legend {
	padding-inline: 0.25rem;
	font-size: 0.78rem;
	font-weight: 800;
}

.mdv-sheet-configurator .mdv-sheet-segment__selection {
	color: var(--mdv-sheet-accent);
	font-size: 0.68rem;
	font-weight: 700;
}

.mdv-sheet-configurator .mdv-sheet-segment label {
	display: grid;
	grid-template-columns: 1fr minmax(86px, 0.8fr);
	align-items: center;
	gap: 0.6rem;
	margin-top: 0.4rem;
	font-size: 0.72rem;
	font-weight: 700;
}

.mdv-sheet-configurator .mdv-sheet-segment input,
.mdv-sheet-configurator .mdv-sheet-segment select {
	width: 100%;
	min-width: 0;
	min-height: 44px;
}

.mdv-sheet-configurator .mdv-sheet-segment__error,
.mdv-sheet-configurator .mdv-sheet-custom-editor__limit {
	min-height: 1rem;
	margin: 0.25rem 0 0;
	color: #b32d2e;
	font-size: 0.7rem;
}

.mdv-sheet-configurator .mdv-sheet-segment__fixed-angle {
	margin: 0.4rem 0 0;
	color: var(--mdv-sheet-muted);
	font-size: 0.72rem;
}

.mdv-sheet-configurator .mdv-sheet-drawing__heading {
	justify-content: space-between;
	margin-bottom: 0.45rem;
}

.mdv-sheet-configurator .mdv-sheet-drawing__heading p {
	margin-bottom: 0.2rem;
}

.mdv-sheet-configurator .mdv-sheet-live-indicator {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.35rem 0.65rem;
	border-radius: 99px;
	background: #e8f7ee;
	color: #237442;
	font-size: 0.72rem;
	font-weight: 700;
	text-transform: uppercase;
}

.mdv-sheet-configurator .mdv-sheet-live-indicator i {
	width: 0.45rem;
	height: 0.45rem;
	border-radius: 50%;
	background: #2ca55a;
	box-shadow: 0 0 0 4px rgb(44 165 90 / 14%);
}

.mdv-sheet-configurator .mdv-sheet-drawing-status {
	min-height: 1.4rem;
	margin-bottom: 0.25rem;
	color: var(--mdv-sheet-muted);
	font-size: 0.78rem;
}

.mdv-sheet-configurator .mdv-sheet-drawing-status--loading::before {
	display: inline-block;
	width: 0.7rem;
	height: 0.7rem;
	margin-right: 0.45rem;
	border: 2px solid currentcolor;
	border-right-color: transparent;
	border-radius: 50%;
	content: "";
	animation: mdv-sheet-spin 0.65s linear infinite;
}

.mdv-sheet-configurator .mdv-sheet-drawing-status--error {
	color: #b32d2e;
	font-weight: 600;
}

@keyframes mdv-sheet-spin {
	to {
		transform: rotate(360deg);
	}
}

.mdv-sheet-configurator .mdv-sheet-drawing-stage {
	display: grid;
	min-height: clamp(540px, 48vw, 680px);
	border: 1px solid var(--mdv-sheet-border);
	border-radius: 8px;
	background: #fff;
	box-shadow: inset 0 0 30px rgb(24 35 45 / 3%);
	overflow: hidden;
	place-items: center;
}

.mdv-sheet-configurator .mdv-sheet-viewport-toolbar {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.45rem;
	margin-bottom: 0.55rem;
}

.mdv-sheet-configurator .mdv-sheet-viewport-toolbar button {
	min-width: 44px;
	min-height: 44px;
	padding: 0.45rem 0.7rem;
	border: 1px solid var(--mdv-sheet-border);
	border-radius: 6px;
	background: #fff;
	color: var(--mdv-sheet-ink);
	font: inherit;
	font-size: 0.8rem;
	font-weight: 700;
	cursor: pointer;
}

.mdv-sheet-configurator .mdv-sheet-viewport-toolbar button:focus-visible {
	outline: 3px solid var(--mdv-sheet-accent);
	outline-offset: 2px;
}

.mdv-sheet-configurator .mdv-sheet-viewport-toolbar button:disabled {
	cursor: not-allowed;
	opacity: 0.45;
}

.mdv-sheet-configurator .mdv-sheet-viewport-toolbar output {
	min-width: 4rem;
	margin-left: auto;
	color: var(--mdv-sheet-muted);
	font-size: 0.78rem;
	font-variant-numeric: tabular-nums;
	text-align: right;
}

.mdv-sheet-configurator .mdv-sheet-visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	border: 0;
	clip: rect(0 0 0 0);
	overflow: hidden;
	white-space: nowrap;
}

.mdv-sheet-configurator .mdv-drawing {
	display: block;
	width: 100%;
	height: 100%;
	min-height: inherit;
	cursor: default;
	user-select: none;
}

.mdv-sheet-configurator .mdv-drawing--pannable {
	cursor: grab;
	touch-action: none;
}

.mdv-sheet-configurator .mdv-drawing--panning {
	cursor: grabbing;
}

.mdv-sheet-configurator .mdv-drawing__grid-line {
	fill: none;
	stroke: #dfe5e8;
	stroke-width: 0.7;
}

.mdv-sheet-configurator .mdv-drawing__grid {
	opacity: 0.55;
}

.mdv-sheet-configurator .mdv-drawing__contour {
	fill: none;
	stroke: var(--mdv-sheet-ink);
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: var(--mdv-sheet-contour-width);
	vector-effect: non-scaling-stroke;
}

.mdv-sheet-configurator .mdv-drawing__extension {
	stroke: #7d8b95;
	stroke-dasharray: 4 3;
	stroke-width: var(--mdv-sheet-extension-width);
	vector-effect: non-scaling-stroke;
}

.mdv-sheet-configurator .mdv-drawing__dimension-line {
	stroke: var(--mdv-sheet-accent);
	stroke-width: var(--mdv-sheet-dimension-width);
	vector-effect: non-scaling-stroke;
}

.mdv-sheet-configurator .mdv-drawing__arrow {
	fill: var(--mdv-sheet-accent);
}

.mdv-sheet-configurator .mdv-drawing__dimension-text {
	fill: #33434f;
	font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
	font-size: 15px;
	font-weight: 650;
	paint-order: stroke;
	stroke: #fff;
	stroke-linejoin: round;
	stroke-width: 5px;
	text-anchor: middle;
}

.mdv-sheet-configurator .mdv-drawing__angle {
	fill: none;
	stroke: #7d8b95;
	stroke-width: 1.25;
	vector-effect: non-scaling-stroke;
}

.mdv-sheet-configurator .mdv-drawing__angle-text {
	fill: #465762;
	font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
	font-size: 13px;
	font-weight: 650;
	paint-order: stroke;
	stroke: #fff;
	stroke-width: 4px;
}

.mdv-sheet-configurator.mdv-sheet-configurator--dark .mdv-sheet-drawing-stage {
	background: #17212a;
}

.mdv-sheet-configurator.mdv-sheet-configurator--dark .mdv-sheet-viewport-toolbar button {
	border-color: #51606b;
	background: #24313b;
	color: #f5f7f8;
}

.mdv-sheet-configurator.mdv-sheet-configurator--dark .mdv-drawing__grid-line {
	stroke: #33434f;
}

.mdv-sheet-configurator.mdv-sheet-configurator--dark .mdv-drawing__contour {
	stroke: #f5f7f8;
}

.mdv-sheet-configurator.mdv-sheet-configurator--dark .mdv-drawing__angle-text {
	fill: #f5f7f8;
	stroke: #17212a;
}

.mdv-sheet-configurator.mdv-sheet-configurator--dark .mdv-drawing__dimension-text {
	fill: #f5f7f8;
	stroke: #17212a;
}

.mdv-sheet-configurator .mdv-sheet-measurements {
	margin: 0;
	padding: 1rem clamp(1.15rem, 2vw, 1.6rem);
	border-top: 1px solid var(--mdv-sheet-border);
	background: #fff;
}

.mdv-sheet-configurator .mdv-sheet-measurements .mdv-sheet-controls__heading {
	margin-bottom: 0.7rem;
}

.mdv-sheet-configurator .mdv-sheet-measurements dl {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 0.55rem;
	margin: 0;
}

.mdv-sheet-configurator .mdv-sheet-measurements dl > div {
	min-width: 0;
	padding: 0.55rem 0.7rem;
	border-left: 3px solid var(--mdv-sheet-accent);
	background: #f6f8f9;
}

.mdv-sheet-configurator .mdv-sheet-measurements dt {
	color: var(--mdv-sheet-muted);
	font-size: 0.67rem;
	font-weight: 700;
	text-transform: uppercase;
}

.mdv-sheet-configurator .mdv-sheet-measurements dd {
	margin: 0.12rem 0 0;
	font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
	font-size: 0.88rem;
	font-weight: 700;
	overflow-wrap: anywhere;
}

.mdv-sheet-configurator .mdv-sheet-measurements__note {
	margin: 0.75rem 0 0;
	padding: 0.65rem 0.75rem;
	border-left: 3px solid var(--mdv-sheet-accent);
	background: #fff8e5;
	color: #5f4b14;
	font-size: 0.74rem;
	line-height: 1.45;
}

.mdv-sheet-configurator .mdv-sheet-profile-description {
	margin: -0.25rem 0 1rem;
	color: var(--mdv-sheet-muted);
	font-size: 0.74rem;
	line-height: 1.45;
}

.mdv-sheet-configurator .mdv-sheet-price {
	padding: 1rem clamp(1.15rem, 2vw, 1.6rem) 1.25rem;
	border-top: 1px solid var(--mdv-sheet-border);
	background: #f7f9fa;
}

.mdv-sheet-configurator .mdv-sheet-price h3 {
	margin-bottom: 0.65rem;
	font-size: 1.05rem;
}

.mdv-sheet-configurator .mdv-sheet-price dl {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0.5rem;
	margin: 0.75rem 0;
}

.mdv-sheet-configurator .mdv-sheet-price dl > div {
	display: flex;
	justify-content: space-between;
	gap: 0.5rem;
	padding: 0.55rem 0.7rem;
	background: #fff;
}

.mdv-sheet-configurator .mdv-sheet-price dd {
	margin: 0;
	font-weight: 700;
}

.mdv-sheet-configurator .mdv-sheet-price > strong {
	display: block;
	color: var(--mdv-sheet-accent);
	font-size: 1.35rem;
	text-align: right;
}

.mdv-sheet-configurator .mdv-sheet-price__admin-hint {
	margin: 0.4rem 0 0;
	font-size: 0.76rem;
}

@media (min-width: 1200px) and (min-height: 850px) {
	.mdv-sheet-configurator.mdv-sheet-configurator--layout-fullscreen .mdv-sheet-configurator__workspace {
		grid-template-columns: minmax(320px, 34%) minmax(0, 66%);
	}

	.mdv-sheet-configurator.mdv-sheet-configurator--layout-fullscreen .mdv-sheet-configurator__drawing-panel {
		--mdv-sticky-offset: 24px;

		display: grid;
		grid-template-rows: auto auto auto minmax(0, 1fr);
		position: sticky;
		z-index: 2;
		top: var(--mdv-sticky-offset);
		height: calc(100vh - var(--mdv-sticky-offset) - 24px);
		max-height: calc(100vh - var(--mdv-sticky-offset) - 24px);
		overflow: hidden;
	}

	.admin-bar .mdv-sheet-configurator.mdv-sheet-configurator--layout-fullscreen .mdv-sheet-configurator__drawing-panel {
		--mdv-sticky-offset: 56px;
	}

	.mdv-sheet-configurator.mdv-sheet-configurator--layout-fullscreen .mdv-sheet-drawing-stage {
		width: 100%;
		height: 100%;
		min-height: 0;
	}

	.mdv-sheet-configurator.mdv-sheet-configurator--layout-fullscreen .mdv-sheet-custom-editor__actions {
		position: sticky;
		z-index: 3;
		bottom: 0;
		padding: 0.75rem 0;
		background: #fbfcfc;
		box-shadow: 0 -8px 12px rgb(24 35 45 / 6%);
	}
}

@container (max-width: 860px) {
	.mdv-sheet-configurator .mdv-sheet-configurator__workspace {
		grid-template-columns: 1fr;
	}

	.mdv-sheet-configurator .mdv-sheet-configurator__controls {
		border-right: 0;
		border-bottom: 1px solid var(--mdv-sheet-border);
	}

	.mdv-sheet-configurator .mdv-sheet-dimension-fields {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@container (max-width: 620px) {
	.mdv-sheet-configurator .mdv-sheet-configurator__header {
		grid-template-columns: 1fr;
		gap: 0.65rem;
	}

	.mdv-sheet-configurator .mdv-sheet-dimension-fields {
		grid-template-columns: 1fr;
	}

	.mdv-sheet-configurator .mdv-sheet-drawing-stage {
		min-height: 330px;
	}

	.mdv-sheet-configurator .mdv-sheet-measurements dl {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 1100px) {
	.mdv-sheet-configurator.mdv-sheet-configurator--layout-wide,
	.mdv-sheet-configurator.mdv-sheet-configurator--layout-fullscreen {
		left: auto;
		width: 100%;
		max-width: 100%;
		transform: none;
	}
}

@media (max-width: 700px) {
	.mdv-sheet-configurator .mdv-sheet-view-switcher {
		display: grid;
		grid-template-columns: repeat(2, 1fr);
		gap: 0.4rem;
		padding: 0.65rem;
		border-bottom: 1px solid var(--mdv-sheet-border);
		background: #fff;
	}

	.mdv-sheet-configurator .mdv-sheet-view-switcher button {
		min-height: 44px;
		border: 1px solid var(--mdv-sheet-border);
		border-radius: 6px;
		background: #fff;
		color: var(--mdv-sheet-ink);
		font: inherit;
		font-weight: 700;
	}

	.mdv-sheet-configurator .mdv-sheet-view-switcher button[aria-pressed="true"] {
		border-color: var(--mdv-sheet-accent);
		background: var(--mdv-sheet-accent);
		color: #fff;
	}

	.mdv-sheet-configurator:not(.mdv-sheet-configurator--mobile-wizard)[data-mobile-view="configuration"] .mdv-sheet-configurator__drawing-panel,
	.mdv-sheet-configurator:not(.mdv-sheet-configurator--mobile-wizard)[data-mobile-view="drawing"] .mdv-sheet-configurator__controls {
		display: none;
	}

	.mdv-sheet-configurator .mdv-sheet-segment-list {
		max-height: none;
		overflow: visible;
	}

	.mdv-sheet-configurator .mdv-sheet-configurator__header {
		grid-template-columns: 1fr;
		padding: 1rem;
	}

	.mdv-sheet-configurator .mdv-sheet-configurator__workspace {
		grid-template-columns: 1fr;
	}

	.mdv-sheet-configurator .mdv-sheet-configurator__controls {
		border-right: 0;
		border-bottom: 1px solid var(--mdv-sheet-border);
	}

	.mdv-sheet-configurator .mdv-sheet-configurator__drawing-panel {
		padding: 0.8rem;
	}

	.mdv-sheet-configurator .mdv-sheet-drawing-stage {
		min-height: 310px;
	}

	.mdv-sheet-configurator .mdv-sheet-viewport-toolbar {
		display: grid;
		grid-template-columns: repeat(4, minmax(44px, auto)) minmax(3.5rem, 1fr);
	}

	.mdv-sheet-configurator .mdv-sheet-viewport-toolbar output {
		margin-left: 0;
	}

	.mdv-sheet-configurator .mdv-sheet-price dl {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 420px) {
	.mdv-sheet-configurator .mdv-sheet-measurements dl {
		grid-template-columns: 1fr;
	}

	.mdv-sheet-configurator .mdv-drawing__dimension-text {
		font-size: 13px;
	}

	.mdv-sheet-configurator .mdv-sheet-custom-editor__actions button {
		flex: 1 1 100%;
		width: 100%;
	}

	.mdv-sheet-configurator .mdv-sheet-inline-editor {
		top: 4rem;
		right: 0.8rem;
		width: calc(100% - 1.6rem);
	}
}
.mdv-sheet-request-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:20px}.mdv-sheet-button,.mdv-sheet-request-actions button{display:inline-flex;align-items:center;justify-content:center;padding:11px 18px;border:1px solid var(--mdv-sheet-accent);border-radius:5px;background:#fff;color:var(--mdv-sheet-accent);font-weight:700;text-decoration:none;cursor:pointer}.mdv-sheet-button--primary{background:var(--mdv-sheet-accent);color:#fff}.mdv-sheet-button[aria-disabled=true]{pointer-events:none;opacity:.45}.mdv-sheet-request-dialog{width:min(720px,calc(100vw - 32px));max-height:90vh;padding:0;border:0;border-radius:10px;box-shadow:0 20px 70px rgb(0 0 0/.28)}.mdv-sheet-request-dialog::backdrop{background:rgb(8 20 34/.62)}.mdv-sheet-request-form{padding:24px}.mdv-sheet-request-form header,.mdv-sheet-request-form footer{display:flex;align-items:center;justify-content:space-between;gap:12px}.mdv-sheet-request-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:20px 0}.mdv-sheet-request-grid label{display:grid;gap:6px}.mdv-sheet-request-grid input,.mdv-sheet-request-grid textarea{width:100%;padding:9px}.mdv-sheet-request-wide{grid-column:1/-1}.mdv-sheet-request-privacy{display:flex;grid-template-columns:auto 1fr;align-items:flex-start}.mdv-sheet-request-privacy input{width:auto}.mdv-sheet-honeypot{position:absolute;left:-10000px}@media(max-width:600px){.mdv-sheet-request-grid{grid-template-columns:1fr}.mdv-sheet-request-wide{grid-column:auto}}
.mdv-mobile-progress,.mdv-mobile-completed,.mdv-mobile-review,.mdv-mobile-action-bar,.mdv-mobile-drawing-actions,.mdv-mobile-request-summary{display:none}
.mdv-sheet-configurator__controls>.mdv-mobile-step,.mdv-mobile-step--review{display:contents}
.mdv-mobile-step__title,.mdv-mobile-profile-preview{display:none}

@media(max-width:767px){
	.mdv-sheet-configurator--mobile-wizard{padding-bottom:calc(76px + env(safe-area-inset-bottom))}
	.mdv-sheet-configurator--mobile-wizard .mdv-sheet-configurator__header{padding:.8rem 1rem}
	.mdv-sheet-configurator--mobile-wizard .mdv-sheet-configurator__header>p,.mdv-sheet-configurator--mobile-wizard .mdv-sheet-view-switcher,.mdv-sheet-configurator--mobile-wizard .mdv-sheet-controls__heading{display:none}
	.mdv-mobile-progress{display:block;position:sticky;z-index:10;top:0;padding:.55rem .7rem;border-bottom:1px solid var(--mdv-sheet-border);background:#fff}
	.admin-bar .mdv-mobile-progress{top:46px}
	.mdv-mobile-progress ol{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:.2rem;margin:0;padding:0;list-style:none}
	.mdv-mobile-progress button{display:grid;width:100%;min-height:44px;padding:.2rem;border:0;background:transparent;color:var(--mdv-sheet-muted);font-size:.66rem;font-weight:700;place-items:center}
	.mdv-mobile-progress button span{display:grid;width:1.55rem;height:1.55rem;border:1px solid var(--mdv-sheet-border);border-radius:50%;place-items:center}
	.mdv-mobile-progress button[aria-current=step]{color:var(--mdv-sheet-accent)}
	.mdv-mobile-progress button[aria-current=step] span{border-color:var(--mdv-sheet-accent);background:var(--mdv-sheet-accent);color:#fff}
	.mdv-mobile-progress .is-complete span{border-color:#237442;background:#e8f7ee;color:#237442}
	.mdv-mobile-progress .is-complete span::after{content:"✓";position:absolute;background:#e8f7ee}
	.mdv-mobile-progress p{display:none;margin:.25rem 0 0;text-align:center;font-size:.75rem;font-weight:700}
	.mdv-mobile-completed{display:grid;gap:.35rem;padding:.55rem .75rem;background:#f7f9fa}
	.mdv-mobile-completed:empty{display:none}
	.mdv-mobile-completed section{display:grid;grid-template-columns:minmax(75px,.35fr) 1fr auto;align-items:center;gap:.45rem;padding:.45rem .55rem;border:1px solid var(--mdv-sheet-border);border-radius:6px;background:#fff;font-size:.72rem}
	.mdv-mobile-completed button{min-height:36px;border:0;background:transparent;color:var(--mdv-sheet-accent);font-weight:700}
	.mdv-mobile-step-hidden{display:none}
	.mdv-sheet-configurator--mobile-wizard .mdv-sheet-configurator__workspace{display:block}
	.mdv-sheet-configurator--mobile-wizard .mdv-mobile-step{display:block}
	.mdv-sheet-configurator--mobile-wizard .mdv-mobile-step[hidden],.mdv-sheet-configurator--mobile-wizard .mdv-sheet-configurator__controls[hidden]{display:none}
	.mdv-sheet-configurator--mobile-wizard .mdv-mobile-step__title{display:block;margin:0 0 .8rem;font-size:1.05rem}
	.mdv-sheet-configurator--mobile-wizard .mdv-sheet-profile-search{display:none}
	.mdv-sheet-configurator--mobile-wizard .mdv-mobile-profile-preview{display:grid;min-height:150px;margin-top:.7rem;border:1px solid var(--mdv-sheet-border);border-radius:7px;background:#fff;place-items:center;overflow:hidden}
	.mdv-sheet-configurator--mobile-wizard .mdv-mobile-profile-preview svg{width:100%;height:150px}
	.mdv-sheet-configurator--mobile-wizard .mdv-sheet-configurator__controls{padding:1rem;border:0}
	.mdv-sheet-configurator--mobile-wizard .mdv-sheet-dimension-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:.15rem .6rem}
	.mdv-sheet-configurator--mobile-wizard .mdv-sheet-field{margin-bottom:.45rem}
	.mdv-sheet-configurator--mobile-wizard .mdv-sheet-field input,.mdv-sheet-configurator--mobile-wizard .mdv-sheet-field select{min-height:44px}
	.mdv-sheet-configurator--mobile-wizard .mdv-sheet-field--dimension,.mdv-sheet-configurator--mobile-wizard .mdv-sheet-field--angle{position:relative}
	.mdv-sheet-configurator--mobile-wizard .mdv-sheet-field--angle input{padding-right:2rem}
	.mdv-sheet-configurator--mobile-wizard .mdv-sheet-field--angle::after{position:absolute;right:.75rem;top:2.15rem;content:"°";font-weight:700}
	.mdv-sheet-configurator--mobile-wizard .mdv-sheet-configurator__drawing-panel{padding:.75rem}
	.mdv-mobile-drawing-actions{display:flex;gap:.5rem;margin-bottom:.55rem}
	.mdv-mobile-drawing-actions button,.mdv-mobile-review button{min-height:44px;padding:.55rem .7rem;border:1px solid var(--mdv-sheet-border);border-radius:6px;background:#fff;color:var(--mdv-sheet-ink);font-weight:700}
	.mdv-sheet-configurator--mobile-wizard .mdv-sheet-viewport-toolbar{display:none}
	.mdv-sheet-configurator--mobile-wizard .mdv-sheet-drawing-stage{min-height:280px}
	.mdv-sheet-configurator--mobile-wizard .mdv-sheet-drawing-stage.mdv-mobile-collapsed{display:none}
	.mdv-sheet-configurator__drawing-panel:fullscreen{padding:1rem;background:var(--mdv-sheet-stage)}
	.mdv-sheet-configurator__drawing-panel:fullscreen .mdv-sheet-drawing-stage{height:calc(100vh - 8rem);touch-action:none}
	.mdv-mobile-review{padding:1rem;background:#fff}
	.mdv-mobile-review>div>div{display:grid;grid-template-columns:minmax(85px,.35fr) 1fr auto;gap:.55rem;padding:.7rem 0;border-bottom:1px solid var(--mdv-sheet-border);font-size:.78rem}
	.mdv-mobile-review>div button{min-height:36px;padding:.25rem .45rem;border:0;color:var(--mdv-sheet-accent)}
	.mdv-sheet-configurator--mobile-wizard[data-mdv-step="4"] .mdv-sheet-price dl{display:none}
	.mdv-sheet-configurator--mobile-wizard[data-mdv-step="4"] .mdv-sheet-price dl.mdv-mobile-price-details-open{display:grid}
	.mdv-sheet-configurator--mobile-wizard .mdv-sheet-price>strong{text-align:left}
	.mdv-mobile-action-bar{display:flex;position:fixed;z-index:9999;right:0;bottom:var(--mdv-cookie-banner-offset,0px);left:0;align-items:center;justify-content:space-between;min-height:64px;max-height:72px;padding:.55rem max(.8rem,env(safe-area-inset-right)) calc(.55rem + env(safe-area-inset-bottom)) max(.8rem,env(safe-area-inset-left));border-top:1px solid var(--mdv-sheet-border);background:rgb(255 255 255 / 96%);box-shadow:0 -8px 24px rgb(0 0 0/.1)}
	.mdv-sheet-configurator--mobile-wizard[data-mdv-step="1"] .mdv-mobile-action-bar{justify-content:flex-end}
	.mdv-sheet-configurator--mobile-wizard[data-mdv-step="5"] .mdv-mobile-action-bar{display:none}
	.mdv-mobile-action-bar div{display:grid;min-width:0}.mdv-mobile-action-bar small{color:var(--mdv-sheet-muted);font-size:.65rem}.mdv-mobile-action-bar strong{max-width:55vw;overflow:hidden;font-size:.95rem;text-overflow:ellipsis;white-space:nowrap}
	.mdv-mobile-action-bar button{min-width:112px;min-height:46px;padding:.6rem 1rem;border:0;border-radius:6px;font-weight:800}
	.mdv-mobile-action-bar__back{min-width:80px;border:1px solid var(--mdv-sheet-border);background:#fff;color:var(--mdv-sheet-ink)}
	.mdv-sheet-configurator--mobile-wizard .mdv-sheet-request-actions{display:none}
	.mdv-mobile-request-summary{display:block;padding:.7rem;border-left:3px solid var(--mdv-sheet-accent);background:#f6f8f9;font-size:.78rem}
	.mdv-sheet-request-dialog{inset:0;width:100vw;max-width:none;height:100dvh;max-height:none;margin:0;border-radius:0}
	.mdv-sheet-request-form{min-height:100%;padding:1rem;padding-bottom:calc(1rem + env(safe-area-inset-bottom));overflow:auto}
	.mdv-sheet-request-form footer{position:sticky;bottom:0;padding:.7rem 0;background:#fff}
	.mdv-sheet-configurator input:focus-visible,.mdv-sheet-configurator select:focus-visible,.mdv-sheet-configurator button:focus-visible{outline:3px solid var(--mdv-sheet-accent);outline-offset:2px}
}
@media(max-width:359px){
	.mdv-mobile-progress ol{display:none}.mdv-mobile-progress p{display:block}
	.mdv-sheet-configurator--mobile-wizard .mdv-sheet-dimension-fields{grid-template-columns:1fr}
	.mdv-mobile-review>div>div{grid-template-columns:1fr auto}.mdv-mobile-review>div span{grid-column:1/-1}
}
@media(max-width:767px) and (max-height:500px){
	.mdv-mobile-action-bar{position:static;max-height:none}.mdv-sheet-configurator--mobile-wizard{padding-bottom:0}
}
