/* PLANET Enclosure Configurator. Logical properties for the page layout; the stage itself is a
   physical drawing (left/top in % of the box), so it is kept left-to-right in both languages. */
.pec {
	--pec-navy: var(--psb-navy, #0E314F);
	--pec-deep: var(--psb-deep-navy, #0B2740);
	--pec-teal: var(--psb-teal, #17707A);
	--pec-teal-light: var(--psb-teal-light, #4FB3BA);
	--pec-ground: var(--psb-ground, #F4F5F2);
	--pec-panel: var(--psb-panel, #ECEFF1);
	--pec-line: var(--psb-line, #DDE1DD);
	--pec-text: var(--psb-text, #3A4956);
	--pec-muted: var(--psb-muted, #4A5A68);
	--pec-radius: 12px;
	--pec-ease: cubic-bezier(.2, .8, .2, 1);
	border-block: 1px solid var(--pec-line);
}
.pec__title { margin-block-end: 12px; }
.pec__intro { margin-block-end: 44px; }
.pec__notice {
	margin-block: 0 24px;
	padding: 12px 16px;
	border-radius: 8px;
	background: #FFF6E5;
	border-inline-start: 4px solid #C98A12;
	color: var(--pec-navy);
}
.pec__layout { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; }
.pec__options { flex: 999 1 520px; min-inline-size: 0; display: flex; flex-direction: column; gap: 36px; margin: 0; }
.pec__side { flex: 1 1 360px; min-inline-size: 0; display: flex; flex-direction: column; gap: 16px; }

/* No-JS controls are hidden once the script runs; JS-only controls stay hidden without it. */
.pec.is-js .pec-nojs { display: none !important; }

/* Steps */
.pec-step { border: 0; margin: 0; padding: 0; min-inline-size: 0; }
.pec-step__legend {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 0;
	margin-block-end: 16px;
	font-family: var(--psb-font-heading, 'Barlow Condensed', sans-serif);
	font-size: 26px;
	font-weight: 700;
	color: var(--pec-navy);
}
.pec-step__num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	inline-size: 36px;
	block-size: 36px;
	border-radius: 50%;
	background: var(--pec-navy);
	color: #FFF;
	font-size: 20px;
}

/* Chips (range and depth) */
.pec-chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-block-end: 14px; }
.pec-chips[hidden] { display: none; }
.pec-chips__label { font-weight: 600; margin-inline-end: 6px; color: var(--pec-navy); }
.pec-chip {
	min-block-size: 44px;
	padding: 8px 16px;
	border: 1px solid var(--pec-line-strong, #CBD0CC);
	border-radius: 999px;
	background: #FFF;
	color: var(--pec-navy);
	font: inherit;
	font-weight: 600;
	cursor: pointer;
	transition: background-color .15s, border-color .15s, color .15s;
}
.pec-chip small { font-weight: 500; opacity: .75; margin-inline-start: 4px; }
.pec-chip:hover { border-color: var(--pec-teal); }
.pec-chip[aria-pressed="true"] { background: var(--pec-navy); border-color: var(--pec-navy); color: #FFF; }
.pec-chip:focus-visible, .pec-tile:has(:focus-visible), .pec-finish:has(:focus-visible), .pec-card:has(.pec-card__input:focus-visible),
.pec-btn:focus-visible, .pec-tool:focus-visible, .pec-view:focus-visible, .pec-qty__btn:focus-visible, .pec-more:focus-visible {
	outline: 3px solid var(--pec-teal-light);
	outline-offset: 2px;
}

/* Model tiles */
.pec-models { display: flex; flex-direction: column; gap: 18px; }
.pec-models__group[hidden] { display: none; }
.pec-models__title { margin: 0 0 8px; font-weight: 600; color: var(--pec-muted); }
.pec-models__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.pec-tile {
	position: relative;
	display: block;
	min-block-size: 44px;
	padding: 10px 14px;
	border: 1px solid var(--pec-line);
	border-radius: 8px;
	background: #FFF;
	color: var(--pec-navy);
	cursor: pointer;
	transition: background-color .15s, border-color .15s, color .15s, box-shadow .15s;
}
.pec-tile[hidden] { display: none; }
.pec-tile:hover { border-color: var(--pec-teal); }
.pec-tile__input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.pec-tile__code { display: block; font-size: 19px; }
.pec-tile__dims { display: block; font-size: 13px; font-weight: 500; opacity: .85; }
.pec-tile:has(:checked) { background: var(--pec-navy); border-color: var(--pec-navy); color: #FFF; box-shadow: 0 6px 16px rgba(14, 49, 79, .22); }
.pec-tile:has(:checked) .pec-tile__code { color: #FFF; }
.pec-more-wrap { margin: 10px 0 0; }
.pec-more-wrap[hidden] { display: none; }
.pec-more {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-block-size: 44px;
	padding: 8px 16px;
	border: 1px solid var(--pec-teal);
	border-radius: 6px;
	background: #FFF;
	color: var(--pec-teal);
	font: inherit;
	font-weight: 600;
	cursor: pointer;
}
.pec-more svg { transition: transform .2s; }
.pec-more[aria-expanded="true"] svg { transform: rotate(180deg); }

/* Finishes */
.pec-finishes { display: flex; flex-wrap: wrap; gap: 10px; }
.pec-finish {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-block-size: 44px;
	padding: 8px 16px 8px 10px;
	border: 1px solid var(--pec-line);
	border-radius: 999px;
	background: #FFF;
	color: var(--pec-navy);
	font-weight: 600;
	cursor: pointer;
	transition: border-color .15s, box-shadow .15s;
}
.pec-finish[hidden] { display: none; }
.pec-finish__input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.pec-finish__dot { inline-size: 24px; block-size: 24px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .18); flex: none; }
.pec-finish:hover { border-color: var(--pec-teal); }
.pec-finish:has(:checked) { border: 2px solid var(--pec-navy); padding-inline-start: 9px; box-shadow: 0 0 0 3px rgba(79, 179, 186, .35); }

/* Add-on cards: the chosen ones are clearly highlighted (teal frame, tinted card, check mark). */
.pec-addons { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; }
.pec-card {
	position: relative;
	display: flex;
	flex-direction: column;
	border: 1px solid var(--pec-line);
	border-radius: 10px;
	background: #FFF;
	transition: border-color .15s, background-color .15s, box-shadow .15s, transform .15s;
}
.pec-card[hidden] { display: none; }
.pec-card:hover { border-color: var(--pec-teal); }
.pec-card__input { position: absolute; opacity: 0; inline-size: 1px; block-size: 1px; margin: 0; }
.pec-card__label { display: flex; align-items: center; gap: 12px; padding: 12px 14px; min-block-size: 76px; cursor: pointer; }
.pec-card .pec-card__img { inline-size: 52px; block-size: 52px; max-inline-size: none; object-fit: contain; mix-blend-mode: multiply; flex: none; background: var(--pec-panel); border-radius: 8px; }
.pec-card__text { flex: 1; min-inline-size: 0; }
.pec-card__name { display: block; font-weight: 600; color: var(--pec-navy); }
.pec-card__desc { display: block; font-size: 14px; color: var(--pec-muted); line-height: 1.4; }
.pec-card__badge {
	display: inline-block;
	margin-block-start: 4px;
	padding: 2px 8px;
	border-radius: 999px;
	background: var(--pec-ground);
	font-size: 12px;
	font-weight: 600;
	color: var(--pec-teal);
}
.pec-card__check {
	flex: none;
	padding: 2px;
	border: 2px solid var(--pec-line-strong, #CBD0CC);
	border-radius: 6px;
	color: transparent;
	transition: background-color .15s, border-color .15s, color .15s;
}
.pec-card.is-on, .pec-card:has(.pec-card__input:checked) {
	border: 2px solid var(--pec-teal);
	background: #EEF7F7;
	box-shadow: 0 6px 18px rgba(23, 112, 122, .16);
}
.pec-card.is-on .pec-card__label, .pec-card:has(.pec-card__input:checked) .pec-card__label { padding: 11px 13px; }
.pec-card.is-on .pec-card__check, .pec-card:has(.pec-card__input:checked) .pec-card__check { background: var(--pec-teal); border-color: var(--pec-teal); color: #FFF; }
.pec-card.is-locked .pec-card__label { cursor: default; }
.pec-card.is-flash { animation: pec-flash .7s var(--pec-ease); }
.pec-card.is-hot { border-color: var(--pec-teal-light); box-shadow: 0 0 0 3px rgba(79, 179, 186, .45); }
@keyframes pec-flash {
	0% { box-shadow: 0 0 0 0 rgba(79, 179, 186, .7); transform: scale(1); }
	40% { box-shadow: 0 0 0 8px rgba(79, 179, 186, 0); transform: scale(1.015); }
	100% { box-shadow: 0 6px 18px rgba(23, 112, 122, .16); transform: scale(1); }
}
.pec-card__qty, .pec-card__zone { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 0 14px 12px; font-size: 14px; font-weight: 600; color: var(--pec-navy); }
.pec-card__qty[hidden] { display: none; }
.pec-card__qty input, .pec-card__zone select { min-block-size: 44px; inline-size: 88px; padding: 6px 8px; border: 1px solid var(--pec-line-strong, #CBD0CC); border-radius: 6px; font: inherit; }
.pec-card__zone select { inline-size: auto; }
.pec-card__note { margin: 0; padding: 0 14px 12px; font-size: 13px; color: var(--pec-teal); }
.pec-card__note:empty { display: none; }
.pec__update { margin: 0; }

/* Stage */
.pec-stage-wrap { position: relative; }
/* Desktop: the stage stays in view while the options scroll, and stops above the summary. */
.pec__side { align-self: stretch; }
.pec-stage-wrap { flex: 1 0 auto; }
.pec-stage-sticky { position: sticky; inset-block-start: 16px; z-index: 2; }
.pec-tools { margin-block-start: 10px; }
.pec-stage-sticky.is-float {
	position: fixed;
	inset-block: auto 16px;
	inset-inline: auto 16px;
	z-index: 60;
	inline-size: min(340px, 40vw);
	padding: 10px;
	border-radius: 16px;
	background: #FFF;
	box-shadow: 0 16px 40px rgba(11, 39, 64, .28);
}
.pec-stage-sticky.is-float .pec-views { margin-block-end: 8px; }
.pec-stage-sticky.is-float .pec-view { min-block-size: 32px; padding: 2px 10px; font-size: 12px; }
.pec-stage-sticky.is-float .pec-tools__hint { display: none; }
.pec-stage-sticky.is-float .pec-tools { margin-block-start: 6px; }
.pec-stage-sticky.is-float .pec-tool { min-block-size: 36px; }
.pec-stage {
	position: relative;
	overflow: hidden;
	border-radius: 16px;
	background: var(--pec-panel);
	aspect-ratio: 4 / 3;
	direction: ltr;
	touch-action: pan-y;
	user-select: none;
	-webkit-user-select: none;
}
.pec-views { display: flex; flex-wrap: wrap; gap: 6px; margin-block-end: 10px; }
.pec-views[hidden] { display: none; }
.pec-view {
	min-block-size: 44px;
	padding: 6px 14px;
	border: 1px solid var(--pec-line-strong, #CBD0CC);
	border-radius: 999px;
	background: #FFF;
	color: var(--pec-navy);
	font: inherit;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
}
.pec-view[aria-pressed="true"] { background: var(--pec-navy); color: #FFF; border-color: var(--pec-navy); }
.pec-view.is-hover { box-shadow: 0 0 0 3px var(--pec-teal-light); }
.pec-scene { position: absolute; inset: 0; perspective: 900px; }
.pec-box { position: absolute; }
.pec-box.is-nudge { animation: pec-nudge .25s ease-out; }
@keyframes pec-nudge { 40% { transform: translateY(2px); } }
.pec-layer { position: absolute; inset: 0; pointer-events: none; }
.pec-layer--behind { z-index: 1; }
.pec-body { position: absolute; inset: 0; z-index: 2; }
.pec-layer--inside { z-index: 3; }
.pec-door { position: absolute; z-index: 4; transform-origin: 0 50%; transform-style: preserve-3d; backface-visibility: hidden; }
.pec-layer--front { z-index: 5; }
.pec-body__img, .pec-door__img { display: block; inline-size: 100%; block-size: 100%; object-fit: fill; mix-blend-mode: multiply; pointer-events: none; }
.pec-tint {
	position: absolute;
	inset: 0;
	background: var(--pec-finish, #CBD0CC);
	mix-blend-mode: multiply;
	-webkit-mask: var(--pec-mask) center / 100% 100% no-repeat;
	mask: var(--pec-mask) center / 100% 100% no-repeat;
	pointer-events: none;
}
.pec-tint--wash { clip-path: inset(0 0 100% 0); }
/* Transparent door: the door artwork fades to glass. */
.pec-box.is-glass .pec-door__img { opacity: .28; }
.pec-box.is-glass .pec-door .pec-tint { opacity: .15; }
.pec-shine { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.pec-shine::after {
	content: "";
	position: absolute;
	inset-block: -20%;
	inline-size: 30%;
	left: -40%;
	background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .85), transparent);
	transform: skewX(-12deg);
	animation: pec-shine .45s ease-out forwards;
}
@keyframes pec-shine { to { left: 120%; } }

/* Parts */
.pec-part {
	position: absolute;
	display: flex;
	justify-content: space-around;
	align-items: center;
	gap: 2%;
	pointer-events: auto;
	cursor: grab;
	border-radius: 4px;
	outline: none;
	touch-action: none;
}
.pec-part[data-dir="column"] { flex-direction: column; }
.pec-part__unit { display: block; flex: 1 1 0; min-inline-size: 0; min-block-size: 0; inline-size: 100%; block-size: 100%; object-fit: contain; pointer-events: none; }
.pec-part:hover, .pec-part.is-selected { filter: drop-shadow(0 0 4px rgba(79, 179, 186, .95)); }
.pec-part:focus-visible { box-shadow: 0 0 0 3px var(--pec-teal-light); }
.pec-part.is-glow { animation: pec-glow 1.4s ease-out; }
@keyframes pec-glow {
	0%, 60% { filter: drop-shadow(0 0 6px rgba(79, 179, 186, 1)) drop-shadow(0 0 2px rgba(23, 112, 122, 1)); }
	100% { filter: none; }
}
.pec-part.is-dragging { cursor: grabbing; z-index: 20; filter: drop-shadow(0 10px 12px rgba(11, 39, 64, .35)); }
.pec-bolt { position: absolute; inline-size: 7px; block-size: 7px; margin: -3.5px; border-radius: 50%; background: #6B7782; box-shadow: inset 0 0 0 1.5px #3A4956; }
.pec-shadow { position: absolute; inset-inline: 10%; block-size: 8px; inset-block-end: -4px; border-radius: 50%; background: rgba(11, 39, 64, .25); filter: blur(3px); }

/* Zones while dragging */
.pec-zone {
	position: absolute;
	z-index: 15;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 2px dashed var(--pec-teal);
	border-radius: 6px;
	background: rgba(79, 179, 186, .08);
	pointer-events: none;
	font-size: 11px;
	font-weight: 700;
	color: var(--pec-navy);
	text-transform: uppercase;
	letter-spacing: .04em;
	opacity: 0;
	transition: opacity .15s, background-color .15s;
}
.pec-zone.is-shown { opacity: 1; }
.pec-zone.is-full { border-color: #9AA5AE; background: rgba(154, 165, 174, .15); color: var(--pec-muted); }
.pec-zone.is-target { background: rgba(79, 179, 186, .32); border-style: solid; }
.pec-zone.is-pulse { opacity: 1; border-color: transparent; animation: pec-pulse .25s ease-out forwards; }
@keyframes pec-pulse { 0% { background: rgba(79, 179, 186, .35); } 100% { background: rgba(79, 179, 186, 0); } }
.pec-trash {
	position: absolute;
	inset-block-end: 12px;
	left: 50%;
	z-index: 16;
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 8px 16px;
	border: 2px dashed #B3261E;
	border-radius: 999px;
	background: rgba(255, 255, 255, .92);
	color: #B3261E;
	font-size: 13px;
	font-weight: 700;
	transform: translateX(-50%);
	opacity: 0;
	pointer-events: none;
	transition: opacity .15s, background-color .15s;
}
.pec-trash.is-shown { opacity: 1; }
.pec-trash.is-target { background: #FDECEA; border-style: solid; }
.pec-spark { position: absolute; z-index: 18; inline-size: 6px; block-size: 6px; margin: -3px; border-radius: 50%; background: var(--pec-teal-light); pointer-events: none; }

/* Live details */
/* Only the moving detail animates (blades, vents, needle), never the whole device. */
.pec-part__cell { position: relative; }
.pec-part__cell > img, .pec-part__cell > svg { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; object-fit: contain; pointer-events: none; }
.pec-live__spin { transform-box: view-box; transform-origin: 40px 40px; }
.pec-live__needle { transform-box: view-box; transform-origin: 30px 20px; }
.pec-live__vent { fill: #9EA9B0; }
.pec.is-live .pec-live__spin { animation: pec-spin .8s linear infinite; }
.pec.is-live .pec-live__needle { animation: pec-tick 4s ease-in-out infinite; }
.pec.is-live .pec-live__vent { animation: pec-vent .9s ease-in-out infinite; }
.pec-flow { position: absolute; z-index: 6; inline-size: 14px; block-size: 14px; margin: -7px; color: var(--pec-teal-light); pointer-events: none; opacity: 0; }
.pec.is-live .pec-flow { animation: pec-flow 2.4s linear infinite; }
.pec.is-live .pec-flow--cool { color: #4A90D9; animation-name: pec-loop; }
@keyframes pec-spin { to { transform: rotate(360deg); } }
@keyframes pec-tick { 0%, 100% { transform: rotate(-20deg); } 50% { transform: rotate(25deg); } }
@keyframes pec-vent { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
@keyframes pec-flow { 0% { opacity: 0; translate: 0 -14px; } 25%, 70% { opacity: .9; } 100% { opacity: 0; translate: 0 14px; } }
@keyframes pec-loop { 0% { opacity: 0; rotate: 0deg; } 30%, 70% { opacity: .9; } 100% { opacity: 0; rotate: 360deg; } }

.pec-stage__msg {
	position: absolute;
	inset-block-end: 10px;
	inset-inline: 10px;
	z-index: 7;
	margin: 0;
	padding: 8px 12px;
	border-radius: 8px;
	background: rgba(11, 39, 64, .9);
	color: #FFF;
	font-size: 14px;
	text-align: center;
	direction: initial;
	opacity: 0;
	transition: opacity .2s;
	pointer-events: none;
}
.pec-stage__msg.is-shown { opacity: 1; }

/* Position menu (keyboard and click alternative to dragging) */
.pec-menu {
	position: absolute;
	z-index: 30;
	min-inline-size: 190px;
	margin: 0;
	padding: 6px;
	list-style: none;
	border-radius: 10px;
	background: #FFF;
	box-shadow: 0 10px 30px rgba(11, 39, 64, .25);
	direction: initial;
}
.pec-menu__title { padding: 6px 10px; font-size: 12px; font-weight: 700; color: var(--pec-muted); text-transform: uppercase; letter-spacing: .04em; }
.pec-menu__item {
	display: block;
	inline-size: 100%;
	min-block-size: 44px;
	padding: 8px 10px;
	border: 0;
	border-radius: 6px;
	background: none;
	color: var(--pec-navy);
	font: inherit;
	text-align: start;
	cursor: pointer;
}
.pec-menu__item:hover, .pec-menu__item:focus-visible { background: var(--pec-ground); outline: 2px solid var(--pec-teal-light); }
.pec-menu__item[aria-current="true"] { font-weight: 700; }
.pec-menu__item[aria-disabled="true"] { color: #9AA5AE; cursor: not-allowed; }
.pec-menu__item--remove { color: #B3261E; }

/* Tools under the stage */
.pec-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.pec-tools[hidden] { display: none; }
.pec-tool {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-block-size: 44px;
	padding: 6px 14px;
	border: 1px solid var(--pec-line-strong, #CBD0CC);
	border-radius: 6px;
	background: #FFF;
	color: var(--pec-navy);
	font: inherit;
	font-weight: 600;
	cursor: pointer;
}
.pec-tool:disabled { opacity: .45; cursor: default; }
.pec-tools__hint { font-size: 14px; color: var(--pec-muted); }

/* Summary */
.pec-summary { border-radius: 16px; background: var(--pec-navy); color: #FFF; padding: 26px; }
.pec-summary__kicker { margin: 0 0 4px; font-size: 14px; color: var(--psb-on-dark, #C9D6E2); }
.pec-summary__code { margin: 0 0 4px; font-size: 46px; line-height: 1; color: #FFF !important; }
.pec-summary__code.is-changed { animation: pec-pop .35s var(--pec-ease); }
@keyframes pec-pop { 40% { transform: scale(1.06); color: var(--pec-teal-light); } }
.pec-summary__meta { margin: 0 0 20px; font-size: 16px; color: var(--psb-on-dark, #C9D6E2); }
.pec-summary__list { margin: 0 0 22px; padding: 16px 0 0; border-block-start: 1px solid #2D5578; display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.pec-summary__list > div { display: flex; justify-content: space-between; gap: 12px; }
.pec-summary__list > div[hidden] { display: none; }
.pec-summary__list dt { color: var(--psb-on-dark, #C9D6E2); flex: none; }
.pec-summary__list dd { margin: 0; text-align: end; }
/* The theme styles every input and button; these keep the summary controls on the navy panel. */
.pec .pec-qty__label { color: #FFF; }
.pec .pec-qty__box button.pec-qty__btn { inline-size: 44px; block-size: 44px; min-block-size: 0; margin: 0; padding: 0; border: 0; border-radius: 0; background: transparent; color: #FFF; font-size: 20px; line-height: 1; box-shadow: none; }
.pec .pec-qty__box button.pec-qty__btn:hover { background: rgba(255, 255, 255, .1); }
.pec .pec-qty__box input.pec-qty__input { inline-size: 64px; min-block-size: 44px; margin: 0; padding: 0; border: 0; border-radius: 0; background: transparent; color: #FFF; box-shadow: none; }
.pec .pec-summary button.pec-btn { border-radius: 8px; padding: 14px; font-size: 17px; line-height: 1.2; }
.pec .pec-summary button.pec-btn--accent { background: var(--pec-teal-light); color: var(--pec-deep); border: 0; }
.pec .pec-summary button.pec-btn--light { background: transparent; color: #FFF; border: 1px solid #5C7C9C; }
.pec .pec-summary button.pec-btn--light.is-added { border-color: var(--pec-teal-light); color: var(--pec-teal-light); }
.pec .pec-chip, .pec .pec-view, .pec .pec-more, .pec .pec-tool, .pec .pec-menu__item { line-height: 1.2; text-transform: none; letter-spacing: normal; box-shadow: none; }
.pec-qty { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-block-end: 18px; font-weight: 600; }
.pec-qty__box { display: inline-flex; align-items: center; border: 1px solid #5C7C9C; border-radius: 6px; }
.pec-qty__btn { inline-size: 44px; block-size: 44px; border: 0; background: transparent; color: #FFF; font-size: 20px; cursor: pointer; }
.pec-qty__btn[hidden] { display: none; }
.pec-qty__input {
	inline-size: 64px;
	min-block-size: 44px;
	border: 0;
	background: transparent;
	color: #FFF;
	font: inherit;
	text-align: center;
	font-variant-numeric: tabular-nums;
	-moz-appearance: textfield;
	appearance: textfield;
}
.pec-qty__input::-webkit-inner-spin-button, .pec-qty__input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.pec-summary__actions { display: flex; flex-direction: column; gap: 10px; margin: 0; }
.pec-btn {
	display: block;
	inline-size: 100%;
	min-block-size: 48px;
	padding: 14px;
	border: 0;
	border-radius: 8px;
	font: inherit;
	font-weight: 700;
	font-size: 17px;
	text-align: center;
	cursor: pointer;
	transition: background-color .15s, transform .1s;
}
.pec-btn:active { transform: translateY(1px); }
.pec-btn--accent { background: var(--pec-teal-light); color: var(--pec-deep); }
.pec-btn--accent:hover { background: #6CC4CA; }
.pec-btn--light { background: transparent; color: #FFF; border: 1px solid #5C7C9C; }
.pec-btn--light:hover { background: rgba(255, 255, 255, .08); }
.pec-btn--light.is-added { border-color: var(--pec-teal-light); color: var(--pec-teal-light); }
.pec-summary__note { margin: 12px 0 0; font-size: 14px; color: var(--psb-on-dark, #C9D6E2); text-align: center; }
.pec-summary__share { margin: 10px 0 0; text-align: center; font-size: 14px; }
.pec .pec-summary a { color: #FFF; }
.pec .pec-summary a:hover { color: var(--pec-teal-light); }

/* Phones: the stage sticks to the top while the options scroll under it. */
@media (max-width: 899px) {
	.pec__layout { flex-direction: column; gap: 28px; }
	.pec__layout > * { flex-basis: auto; inline-size: 100%; }
	.pec__side { display: contents; }
	.pec-stage-wrap { order: 1; inline-size: 100%; }
	.pec__options { order: 2; }
	.pec-summary { order: 3; }
	.pec.is-js .pec-stage-wrap { position: sticky; inset-block-start: 0; z-index: 20; padding-block: 8px; background: #FFF; }
	.pec-stage-sticky { position: static; }
	.pec-tools__hint { display: none; }
	.pec-views { flex-wrap: nowrap; overflow-x: auto; }
	.pec-view { flex: none; }
	.pec.is-js .pec-stage { max-inline-size: calc(38vh * 4 / 3); margin-inline: auto; }
	.pec-summary__code { font-size: 38px; }
	.pec-step__legend { font-size: 22px; }
}

@media (prefers-reduced-motion: reduce) {
	.pec *, .pec *::before, .pec *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
	.pec.is-live .pec-live__spin, .pec.is-live .pec-live__needle, .pec.is-live .pec-live__vent, .pec.is-live .pec-flow { animation: none !important; }
}
