.awc-calc {
	--awc-primary: #fb8806;
	--awc-primary-light: #ff9a2e;
	--awc-bg: #f5f5f5;
	--awc-white: #fff;
	--awc-border: #bfbfbf;
	--awc-text: #000;
	--awc-gray: #9e9e9e;
	--awc-muted: #666;
	--awc-error: #e34d59;
	font-family: 'Open Sans', sans-serif;
	font-size: 1.05rem;
	font-weight: 400;
	color: var(--awc-text);
	background: var(--awc-bg);
	min-height: 100vh;
	position: relative;
	overflow: visible;
}

.awc-calc *,
.awc-calc *::before,
.awc-calc *::after { box-sizing: border-box; }

/* ALW-style colorful preload */
.awc-calc__loader {
	position: absolute;
	inset: 0;
	background: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 200;
	transition: opacity 0.3s ease-in;
}
.awc-calc__loader.hidden {
	opacity: 0;
	pointer-events: none;
	visibility: hidden;
}
.awc-calc__loader-spinner {
	position: relative;
	width: 2.5em;
	height: 2.5em;
	transform: rotate(165deg);
}
.awc-calc__loader-spinner::before,
.awc-calc__loader-spinner::after {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	display: block;
	width: 0.5em;
	height: 0.5em;
	border-radius: 0.25em;
	transform: translate(-50%, -50%);
}
.awc-calc__loader-spinner::before {
	animation: awc-before 2s infinite;
}
.awc-calc__loader-spinner::after {
	animation: awc-after 2s infinite;
}
@keyframes awc-before {
	0% { width: 0.5em; box-shadow: 1em -0.5em rgba(225,20,98,.75), -1em 0.5em rgba(111,202,220,.75); }
	35% { width: 2.5em; box-shadow: 0 -0.5em rgba(225,20,98,.75), 0 0.5em rgba(111,202,220,.75); }
	70% { width: 0.5em; box-shadow: -1em -0.5em rgba(225,20,98,.75), 1em 0.5em rgba(111,202,220,.75); }
	100% { box-shadow: 1em -0.5em rgba(225,20,98,.75), -1em 0.5em rgba(111,202,220,.75); }
}
@keyframes awc-after {
	0% { height: 0.5em; box-shadow: 0.5em 1em rgba(61,184,143,.75), -0.5em -1em rgba(233,169,32,.75); }
	35% { height: 2.5em; box-shadow: 0.5em 0 rgba(61,184,143,.75), -0.5em 0 rgba(233,169,32,.75); }
	70% { height: 0.5em; box-shadow: 0.5em -1em rgba(61,184,143,.75), -0.5em 1em rgba(233,169,32,.75); }
	100% { box-shadow: 0.5em 1em rgba(61,184,143,.75), -0.5em -1em rgba(233,169,32,.75); }
}

.awc-calc__main {
	position: relative;
	width: 100%;
	min-height: 100vh;
	overflow: visible;
	background: #f5f5f5;
}

/* Top step menu */
.awc-calc__header {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	z-index: 40;
	pointer-events: none;
}
.awc-calc__header > * { pointer-events: auto; }

.awc-calc__menu {
	display: flex;
	justify-content: center;
	width: fit-content;
	max-width: 100%;
	margin: 0 auto;
}

.awc-calc__menu-item {
	position: relative;
	width: 280px;
	height: 160px;
	padding: 0;
	border: 1px solid #bfbfbf;
	border-top: none;
	background: transparent;
	cursor: pointer;
	overflow: hidden;
	font-family: inherit;
}
.awc-calc__menu-item + .awc-calc__menu-item { border-left: none; }

.awc-calc__menu-bg {
	position: absolute;
	inset: 0;
	z-index: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(255,255,255,0.7);
	color: rgba(0,0,0,0.2);
	transition: background 0.2s;
}
.awc-calc__menu-item:hover .awc-calc__menu-bg,
.awc-calc__menu-item.active .awc-calc__menu-bg { background: #fff; }

.awc-calc__menu-num {
	font-size: 96px;
	font-weight: 700;
	line-height: 1;
	opacity: 0.3;
	letter-spacing: -2px;
	color: inherit;
}
.awc-calc__menu-item.active .awc-calc__menu-num,
.awc-calc__menu-item:hover .awc-calc__menu-num {
	color: var(--awc-primary);
	opacity: 0.3;
}

.awc-calc__menu-title {
	position: absolute;
	inset: 0;
	z-index: 10;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}
.awc-calc__menu-label {
	font-family: 'Open Sans', sans-serif;
	font-size: 1.05rem;
	font-weight: 700;
	color: #000;
	line-height: 1.2;
}
.awc-calc__menu-item.active .awc-calc__menu-label,
.awc-calc__menu-item:hover .awc-calc__menu-label {
	color: var(--awc-primary);
}
.awc-calc__menu-bar {
	display: block;
	width: 56px;
	height: 2px;
	background: var(--awc-primary);
	margin-top: 8.8px;
	opacity: 0;
}
.awc-calc__menu-item.active .awc-calc__menu-bar { opacity: 1; }

/* Floating config panels — AWC: under menu, compact */
.awc-calc__panel {
	display: none;
	position: absolute;
	top: 160px;
	left: 50%;
	transform: translateX(-50%);
	width: min(720px, calc(100% - 48px));
	padding: 28px 40px 32px;
	background: #fff;
	box-shadow: 0 6px 24px rgba(0,0,0,0.1);
	z-index: 35;
}
.awc-calc__panel.active { display: block; }
.awc-calc__panel-title {
	text-align: center;
	color: var(--awc-primary);
	font-family: 'Open Sans', sans-serif;
	font-size: 1.5rem;
	font-weight: 700;
	margin: 0 0 20px;
	line-height: 1.2;
}
.awc-calc__subtitle {
	text-align: center;
	color: #888;
	margin: -12px 0 16px;
}

.awc-calc__form-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 16px 14px;
}
.awc-calc__form-grid--3 { grid-template-columns: repeat(3, 1fr); }
.awc-calc__form-grid--2 { grid-template-columns: repeat(2, 1fr); }
.awc-calc__field label {
	display: block;
	font-family: 'Open Sans', sans-serif;
	font-weight: 700;
	font-size: 1.05rem;
	margin-bottom: 8px;
	color: #000;
}
.awc-calc__field-tip {
	margin-top: 4px;
	font-family: 'Open Sans', sans-serif;
	font-size: 12px;
	font-weight: 400;
	line-height: 1.4;
	color: var(--awc-error);
}
.awc-calc__field-tip[hidden] { display: none; }
.awc-calc__stepper.is-error .awc-calc__stepper-btn,
.awc-calc__stepper.is-error .awc-calc__input,
.awc-calc__input.is-error {
	border-color: var(--awc-error);
}
.awc-calc__stepper.is-error .awc-calc__input:focus,
.awc-calc__input.is-error:focus {
	border-color: var(--awc-error);
	box-shadow: 0 0 0 2px #f9d7d9;
}
.awc-calc__field--full { grid-column: 1 / -1; }

.awc-calc__input,
.awc-calc__select {
	width: 100%;
	height: 32px;
	padding: 0 12px;
	border: 1px solid #dcdcdc;
	border-radius: 3px;
	font-size: 14px;
	font-family: inherit;
	background: #fff;
	color: #000;
	box-sizing: border-box;
}
.awc-calc__select {
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3.75 5.8L7.99 10.04L12.24 5.8' stroke='black' stroke-opacity='0.9' stroke-width='1.3'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 10px center;
	padding-right: 32px;
}
.awc-calc__input:focus,
.awc-calc__select:focus {
	outline: none;
	border-color: var(--awc-primary);
}

.awc-calc__stepper {
	display: flex;
	align-items: stretch;
	width: 100%;
}
.awc-calc__stepper-btn {
	width: 32px;
	height: 32px;
	flex-shrink: 0;
	border: 1px solid #dcdcdc;
	background: #fff;
	color: rgba(0,0,0,0.9);
	font-size: 16px;
	line-height: 1;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	font-family: inherit;
}
.awc-calc__stepper-btn:first-child { border-radius: 3px 0 0 3px; }
.awc-calc__stepper-btn:last-child {
	border-radius: 0 3px 3px 0;
	border-left: none;
}
.awc-calc__stepper-btn:hover { color: var(--awc-primary); border-color: var(--awc-primary); }
.awc-calc__stepper-input {
	position: relative;
	flex: 1;
	display: flex;
	align-items: center;
}
.awc-calc__stepper-input .awc-calc__input {
	height: 32px;
	border-radius: 0;
	border-left: none;
	border-right: none;
	text-align: center;
	padding-right: 28px;
	-moz-appearance: textfield;
}
.awc-calc__stepper-input .awc-calc__input::-webkit-outer-spin-button,
.awc-calc__stepper-input .awc-calc__input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}
.awc-calc__stepper-suffix {
	position: absolute;
	right: 10px;
	top: 50%;
	transform: translateY(-50%);
	font-size: 14px;
	color: rgba(0,0,0,0.6);
	pointer-events: none;
}

.awc-calc__input-group {
	display: flex;
	align-items: stretch;
}
.awc-calc__input-group .awc-calc__input {
	border-radius: 3px 0 0 3px;
	border-right: none;
}
.awc-calc__suffix {
	display: flex;
	align-items: center;
	padding: 0 12px;
	background: #f5f5f5;
	border: 1px solid #dcdcdc;
	border-radius: 0 3px 3px 0;
	font-size: 14px;
	color: #666;
}

.awc-calc__product-btn,
.awc-calc__size-btn {
	width: 100%;
	height: 32px;
	padding: 0 12px;
	border: 1px solid #dcdcdc;
	border-radius: 3px;
	background: #fff;
	text-align: left;
	cursor: pointer;
	font-size: 14px;
	font-family: inherit;
}
.awc-calc__product-placeholder { color: #b8b8b8; }
.awc-calc__product-name { display: none; }
.awc-calc__product-btn.has-product .awc-calc__product-placeholder { display: none; }
.awc-calc__product-btn.has-product .awc-calc__product-name { display: inline; }

.awc-calc__form-actions {
	text-align: center;
	margin-top: 28px;
}
.awc-calc__btn {
	padding: 0 36px;
	height: 40px;
	border: none;
	border-radius: 3px;
	font-size: 16px;
	font-family: inherit;
	cursor: pointer;
	transition: background 0.2s;
}
.awc-calc__btn--primary {
	background: var(--awc-primary);
	color: #fff;
}
.awc-calc__btn--primary:hover { background: var(--awc-primary-light); }
.awc-calc__btn:disabled { opacity: 0.5; cursor: not-allowed; }

.awc-calc__media-preview {
	height: 128px;
	border: 1px dashed #dcdcdc;
	border-radius: 4px;
	padding: 8px;
	cursor: pointer;
	overflow: hidden;
}
.awc-calc__media-preview img,
.awc-calc__media-preview video {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.awc-calc__media-preview--video {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
}
.awc-calc__media-preview.is-active {
	border-color: var(--awc-primary);
	box-shadow: 0 0 0 1px var(--awc-primary);
}
.awc-calc__play-icon {
	position: absolute;
	font-size: 40px;
	color: #fff;
	text-shadow: 0 2px 8px rgba(0,0,0,0.5);
	pointer-events: none;
}

/* Full-bleed canvas / AWC room — BG fixed; stage content can grow & page scrolls */
.awc-calc__canvas-area {
	position: relative;
	width: 100%;
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: visible;
	background-color: #f5f5f5;
	background-image: var(--awc-room-bg, none);
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	background-attachment: fixed;
}

.awc-calc__scene {
	position: relative;
	width: 100%;
	min-height: 100vh;
	display: flex;
	align-items: flex-start;
	justify-content: center;
	padding: 160px 24px 48px;
	box-sizing: border-box;
}

/* AWC stage: inline-flex; viewport scale via JS (transform-origin top center) */
.awc-calc__stage {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: max-content;
	height: auto;
	max-width: none;
	padding: 64px 40px 80px;
	box-sizing: border-box;
	transform-origin: top center;
}

/* AWC #room-box: relative px-60px py-20px */
.awc-calc__room-box {
	position: relative;
	padding: 20px 60px;
	box-sizing: border-box;
	flex: 0 0 auto;
}

/* AWC #room: width 780px, padding 70px, overflow-hidden clips 100vw lines */
.awc-calc__room {
	position: relative;
	width: 780px;
	min-width: 780px;
	padding: 70px;
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	overflow: hidden;
	transition: width 0.6s ease;
	user-select: none;
}

.awc-calc__wall {
	position: relative;
	z-index: 10;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	background: #f1f3f5;
	box-sizing: border-box;
	transition: width 0.6s ease, height 0.6s ease;
	overflow: visible;
}

/* AWC screen: no overflow clip — lines extend; media clipped inside */
.awc-calc__screen {
	position: relative;
	overflow: visible;
	background: #fff;
	box-sizing: border-box;
	transition: width 0.6s ease, height 0.6s ease;
}
.awc-calc__screen-media {
	position: absolute;
	inset: 0;
	overflow: hidden;
	background: #fff;
}
.awc-calc__screen-media img,
.awc-calc__screen-media video {
	width: 100%;
	height: 100%;
	object-fit: fill;
	display: block;
}
.awc-calc__screen-media video { display: none; }
.awc-calc__screen.mode-video .awc-calc__screen-media img { display: none; }
.awc-calc__screen.mode-video .awc-calc__screen-media video { display: block; }

/* AWC .calculate-shade */
.awc-calc__shade {
	position: absolute;
	inset: 0;
	z-index: 2;
	background: #00000029;
	pointer-events: none;
}

/* AWC .calculate-screen-table (long = cols/vertical, high = rows/horizontal) */
.awc-calc__grid {
	position: absolute;
	inset: 0;
	pointer-events: none;
	display: flex;
	justify-content: space-between;
	z-index: 10;
}
.awc-calc__grid--h {
	flex-direction: column;
}
.awc-calc__grid--v {
	flex-direction: row;
}
.awc-calc__grid span {
	display: block;
	border: 1px dashed #fff;
	box-sizing: border-box;
}
.awc-calc__grid--v span {
	height: 100%;
	transform: scaleX(0.5);
}
.awc-calc__grid--h span {
	width: 100%;
	transform: scaleY(0.5);
}
.awc-calc__grid span:first-child,
.awc-calc__grid span:last-child {
	opacity: 0;
}

/* AWC <line> via Je(): absolute w-full h-1px border-t-dashed border-t-gray border-t-2 */
.awc-calc__line {
	position: absolute;
	width: 100%;
	height: 1px;
	border-top: 2px dashed #9ca3af;
	transform-origin: left top;
	pointer-events: none;
	z-index: 1;
	box-sizing: border-box;
}
/* Screen overrides with w-100vw! like AWC */
.awc-calc__line--screen {
	width: 100vw;
}
.awc-calc__line--wall {
	width: 100%;
}
.awc-calc__line--tl {
	left: 0;
	top: 0;
	transform: rotate(-90deg);
}
.awc-calc__line--tr-v {
	left: 100%;
	top: 0;
	transform: rotate(-90deg);
}
.awc-calc__line--tr-h {
	left: 100%;
	top: 0;
	transform: none;
}
.awc-calc__line--br {
	left: 100%;
	top: 100%;
	transform: none;
}

/* Dim labels — AWC: absolute on #room; w-70px text-3.5; no gray on margins */
.awc-calc__dim {
	position: absolute;
	z-index: 10;
	width: 70px;
	text-align: center;
	font-size: 14px;
	color: #000;
	white-space: nowrap;
	pointer-events: none;
	box-sizing: border-box;
}
.awc-calc__dim[hidden] { display: none !important; }
.awc-calc__dim--top {
	top: 12px;
	left: 50%;
	transform: translateX(-50%);
}
.awc-calc__dim--right {
	right: 0;
	top: calc(50% - 10px);
}
.awc-calc__dim--margin-l {
	top: 12px;
	left: 0;
	transform: none;
}
.awc-calc__dim--margin-r {
	top: 12px;
	right: 0;
	left: auto;
	transform: none;
}
.awc-calc__dim--margin-t {
	right: 0;
	top: 0;
	left: auto;
	bottom: auto;
	width: 70px;
	height: auto;
	display: flex;
	align-items: center;
	justify-content: center;
	transform: none;
}
.awc-calc__dim--margin-b {
	right: 0;
	bottom: 0;
	top: auto;
	left: auto;
	width: 70px;
	height: auto;
	display: flex;
	align-items: center;
	justify-content: center;
	transform: none;
}

/* AWC .scrMan-wrap override: left 30px, bottom 108px (overrides utility left-10px bottom-28px) */
.awc-calc__people {
	position: absolute;
	left: 30px;
	bottom: 108px;
	z-index: 2;
	background: transparent;
	line-height: 0;
	pointer-events: none;
	width: auto;
	height: 144px;
	transition: height 0.6s ease;
}
.awc-calc__people img,
.awc-calc__people-img {
	display: block;
	width: auto;
	height: 100%;
	object-fit: contain;
	object-position: center bottom;
	background: transparent;
	transition: height 0.6s ease;
}

/* AWC controls: column bottom-16 (64px); row right-0 + rotate(90deg) */
.awc-calc__col-controls,
.awc-calc__row-controls {
	position: absolute;
	display: inline-flex;
	flex-direction: row;
	z-index: 6;
	overflow: hidden;
	border-radius: 6px;
	background: var(--awc-primary);
}
.awc-calc__col-controls {
	bottom: 64px;
	left: 50%;
	transform: translateX(-50%);
}
.awc-calc__row-controls {
	right: 0;
	top: 50%;
	transform: translate(50%, -50%) rotate(90deg);
	transform-origin: center center;
}
.awc-calc__ctrl-btn {
	width: 37px;
	height: 25px;
	border: none;
	background: transparent;
	color: #fff;
	font-size: 15px;
	line-height: 1;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: inherit;
	padding: 0;
}
.awc-calc__ctrl-btn:hover { background: rgba(255,255,255,0.12); }
.awc-calc__ctrl-btn:disabled { opacity: 0.45; cursor: not-allowed; }

/* AWC InfoView: left calc(100%-160px); .calculateInfo { bottom: -3.4rem } */
.awc-calc__info {
	position: absolute;
	left: calc(100% - 160px);
	right: auto;
	bottom: -3.4rem;
	font-size: 16px;
	line-height: 1.85;
	z-index: 20;
	color: #000;
	pointer-events: none;
	white-space: nowrap;
	zoom: 0.8;
	background: transparent;
}
.awc-calc__info label {
	font-weight: 400;
	color: #000;
}

/* Modal */
.awc-calc__modal {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 1000;
	align-items: center;
	justify-content: center;
}
.awc-calc__modal.open { display: flex; }
.awc-calc__modal-overlay {
	position: absolute;
	inset: 0;
	background: rgba(0,0,0,0.45);
}
.awc-calc__modal-content {
	position: relative;
	background: #fff;
	border-radius: 6px;
	width: 80%;
	max-width: 900px;
	max-height: 85vh;
	overflow: hidden;
	display: flex;
	flex-direction: column;
}
.awc-calc__modal-content--wide { max-width: 1100px; }
.awc-calc__modal-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 16px 24px;
	border-bottom: 1px solid #eee;
}
.awc-calc__modal-header h3 {
	margin: 0;
	color: var(--awc-primary);
	font-size: 18px;
	font-weight: 700;
}
.awc-calc__modal-close {
	background: none;
	border: none;
	font-size: 26px;
	cursor: pointer;
	color: #999;
	line-height: 1;
}
.awc-calc__modal-filters {
	display: flex;
	gap: 10px;
	padding: 12px 24px;
	border-bottom: 1px solid #eee;
}
.awc-calc__modal-filters .awc-calc__input { flex: 1; }
.awc-calc__modal-body {
	padding: 16px 24px;
	overflow-y: auto;
	flex: 1;
}

.awc-calc__table {
	width: 100%;
	border-collapse: collapse;
	font-size: 13px;
}
.awc-calc__table th,
.awc-calc__table td {
	padding: 10px 12px;
	border-bottom: 1px solid #eee;
	text-align: left;
}
.awc-calc__table th {
	background: #f8f9fa;
	font-weight: 600;
	position: sticky;
	top: 0;
}
.awc-calc__table tbody tr {
	cursor: pointer;
	transition: background 0.15s;
}
.awc-calc__table tbody tr:hover { background: #fff3e0; }
.awc-calc__table tbody tr.selected { background: #ffe0b2; }

.awc-calc__req { color: var(--awc-error, #e34d59); margin-right: 2px; }
.awc-calc__export-form {
	max-width: 640px;
	margin: 0 auto;
}
.awc-calc__export-row {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 18px;
}
.awc-calc__export-row--top { align-items: flex-start; }
.awc-calc__export-label {
	flex: 0 0 100px;
	width: 100px;
	font-family: 'Open Sans', sans-serif;
	font-weight: 400;
	font-size: 1.05rem;
	color: #000;
	line-height: 32px;
	margin: 0;
}
.awc-calc__export-row--top .awc-calc__export-label { line-height: 1.4; padding-top: 4px; }
.awc-calc__export-control { flex: 1; min-width: 0; }
.awc-calc__clearable {
	position: relative;
	display: flex;
	align-items: center;
}
.awc-calc__clearable .awc-calc__input {
	padding-right: 32px;
}
.awc-calc__clearable-btn {
	position: absolute;
	right: 6px;
	top: 50%;
	transform: translateY(-50%);
	width: 20px;
	height: 20px;
	border: none;
	border-radius: 50%;
	background: #c5c5c5;
	color: #fff;
	font-size: 14px;
	line-height: 1;
	cursor: pointer;
	padding: 0;
	display: flex;
	align-items: center;
	justify-content: center;
}
.awc-calc__clearable-btn[hidden] { display: none; }
.awc-calc__clearable-btn:hover { background: #999; }
.awc-calc__checkboxes {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
}
.awc-calc__checkbox-item {
	display: flex;
	align-items: center;
	gap: 8px;
	font-family: 'Open Sans', sans-serif;
	font-size: 1.05rem;
	font-weight: 400;
	cursor: pointer;
}
.awc-calc__checkbox-item input {
	appearance: none;
	width: 16px;
	height: 16px;
	border: 1px solid #dcdcdc;
	border-radius: 2px;
	margin: 0;
	flex-shrink: 0;
	position: relative;
	background: #fff;
}
.awc-calc__checkbox-item input:checked {
	background: var(--awc-primary);
	border-color: var(--awc-primary);
}
.awc-calc__checkbox-item input:checked::after {
	content: '';
	position: absolute;
	left: 4px;
	top: 1px;
	width: 5px;
	height: 9px;
	border: solid #fff;
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}

.awc-calc__generating {
	position: fixed;
	inset: 0;
	z-index: 300;
	background: rgba(255,255,255,0.72);
	display: flex;
	align-items: center;
	justify-content: center;
}
.awc-calc__generating[hidden] { display: none; }
.awc-calc__generating-inner {
	font-family: 'Open Sans', sans-serif;
	font-size: 1.05rem;
	font-weight: 700;
	color: var(--awc-primary);
}

.awc-calc__modal-content--wide {
	width: min(70vw, 960px);
	max-width: 96vw;
}
.awc-calc__drawings-skeleton { padding: 8px 0 16px; }
.awc-calc__skel-main,
.awc-calc__skel-thumb {
	background: #ececec;
	color: #b0b0b0;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 14px;
	animation: awc-skel 1.2s ease-in-out infinite;
}
.awc-calc__skel-main {
	width: 100%;
	height: 20rem;
	border-radius: 4px;
	margin-bottom: 12px;
}
.awc-calc__skel-thumbs {
	display: flex;
	gap: 12px;
}
.awc-calc__skel-thumb {
	flex: 1;
	height: 5rem;
	border-radius: 4px;
}
@keyframes awc-skel {
	0%, 100% { opacity: 1; }
	50% { opacity: 0.55; }
}

.awc-calc__drawings-main {
	position: relative;
	text-align: center;
	margin-bottom: 16px;
}
.awc-calc__drawings-main img {
	display: block;
	width: 100%;
	max-height: 360px;
	object-fit: contain;
	border: 1px solid #dcdcdc;
	border-radius: 4px;
	background: #5c5c5c;
}
.awc-calc__preview-tag {
	position: absolute;
	right: 12px;
	bottom: 12px;
	background: var(--awc-primary);
	color: #fff;
	border: none;
	border-radius: 3px;
	padding: 4px 12px;
	font-family: 'Open Sans', sans-serif;
	font-size: 13px;
	font-weight: 700;
	cursor: pointer;
	z-index: 2;
}
.awc-calc__drawings-thumbs {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 12px;
}
.awc-calc__drawings-thumbs img {
	width: 100%;
	height: 80px;
	object-fit: contain;
	border: 2px solid #dcdcdc;
	border-radius: 4px;
	cursor: pointer;
	background: #5c5c5c;
}
.awc-calc__drawings-thumbs img.active,
.awc-calc__drawings-thumbs img:hover { border-color: var(--awc-primary); }

.awc-calc__viewer {
	position: fixed;
	inset: 0;
	z-index: 1200;
	background: rgba(0, 0, 0, 0.88);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 56px 72px 72px;
	box-sizing: border-box;
}
.awc-calc__viewer[hidden] { display: none; }
.awc-calc__viewer-stage {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}
.awc-calc__viewer-stage img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
	transform-origin: center center;
	transition: transform 0.15s ease;
	user-select: none;
}
.awc-calc__viewer-close {
	position: absolute;
	top: 12px;
	right: 18px;
	z-index: 2;
	background: transparent;
	border: none;
	color: #fff;
	font-size: 36px;
	cursor: pointer;
	line-height: 1;
	padding: 4px 8px;
}
.awc-calc__viewer-close:hover { opacity: 0.75; }
.awc-calc__viewer-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 2;
	width: 48px;
	height: 48px;
	border: none;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.12);
	color: #fff;
	font-size: 36px;
	line-height: 1;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0 0 4px;
}
.awc-calc__viewer-nav:hover { background: rgba(255, 255, 255, 0.22); }
.awc-calc__viewer-nav--prev { left: 16px; }
.awc-calc__viewer-nav--next { right: 16px; }
.awc-calc__viewer-toolbar {
	position: absolute;
	left: 50%;
	bottom: 18px;
	transform: translateX(-50%);
	z-index: 2;
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 8px 14px;
	border-radius: 8px;
	background: rgba(0, 0, 0, 0.55);
	color: #fff;
	font-family: 'Open Sans', sans-serif;
	font-size: 14px;
}
.awc-calc__viewer-zoom-btn,
.awc-calc__viewer-reset {
	width: 28px;
	height: 28px;
	border: 1px solid rgba(255, 255, 255, 0.35);
	border-radius: 4px;
	background: transparent;
	color: #fff;
	font-size: 16px;
	line-height: 1;
	cursor: pointer;
	padding: 0;
	display: flex;
	align-items: center;
	justify-content: center;
}
.awc-calc__viewer-reset {
	width: auto;
	padding: 0 10px;
	font-size: 13px;
}
.awc-calc__viewer-zoom-btn:hover,
.awc-calc__viewer-reset:hover { background: rgba(255, 255, 255, 0.12); }
.awc-calc__viewer-zoom-label {
	min-width: 48px;
	text-align: center;
	font-variant-numeric: tabular-nums;
}
.awc-calc__viewer-index {
	margin-left: 8px;
	padding-left: 12px;
	border-left: 1px solid rgba(255, 255, 255, 0.25);
	opacity: 0.9;
	font-variant-numeric: tabular-nums;
}

.awc-calc__toast {
	position: fixed;
	top: 20px;
	left: 50%;
	transform: translateX(-50%) translateY(-100px);
	background: #333;
	color: #fff;
	padding: 12px 24px;
	border-radius: 6px;
	z-index: 2000;
	transition: transform 0.3s;
	font-size: 14px;
}
.awc-calc__toast.show { transform: translateX(-50%) translateY(0); }
.awc-calc__toast.error { background: #c62828; }
.awc-calc__toast.success { background: #2e7d32; }

.awc-calc__hot {
	display: inline-block;
	margin-left: 6px;
	padding: 1px 6px;
	border-radius: 3px;
	background: #e53935;
	color: #fff;
	font-size: 10px;
	font-weight: 700;
	line-height: 1.4;
	vertical-align: middle;
}

@media (max-width: 1024px) {
	.awc-calc__info {
		font-size: 12px;
		left: calc(100% - 140px);
		right: auto;
		bottom: -3.4rem;
	}
}
/* Phone/tablet: scale the desktop header (tabs + panels) instead of restacking it. */
@media (max-width: 1023px) {
	.awc-calc__header {
		left: 50%;
		right: auto;
		width: max-content;
		transform-origin: top center;
		transform: translateX(-50%) scale(var(--awc-scale, 1));
	}
	.awc-calc__menu { max-width: none; }
}
