.w40iq-deployment-planner-guest {
	--w40iq-grot-green: #6dfc00;
	--w40iq-dark-green: #004f1b;
	--w40iq-scrap-black: #0b0a07;
	--w40iq-bone-sign: #f0d9a6;
	--w40iq-blood-red: #a90f0f;
	--w40iq-rust-orange: #c75a1b;
	--w40iq-warning-yellow: #f3c63b;
	--w40iq-score-blue: #156a8a;
	--w40iq-steel-grey: #b8b9b2;
	--w40iq-map-ratio: 90 / 44;
	color: var(--w40iq-bone-sign);
	background:
		linear-gradient(135deg, rgba(109, 252, 0, 0.09), transparent 32%),
		linear-gradient(180deg, #15130d 0%, #0b0a07 100%);
	border: 2px solid rgba(240, 217, 166, 0.34);
	border-radius: 8px;
	box-shadow: 0 18px 48px rgba(0, 0, 0, 0.38);
	font-family: inherit;
	overflow: hidden;
	position: relative;
}

.w40iq-deployment-planner-guest *,
.w40iq-deployment-planner-guest *::before,
.w40iq-deployment-planner-guest *::after {
	box-sizing: border-box;
}

.w40iq-deployment-planner-guest .screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.w40iq-deployment-planner-guest__orientation-gate {
	display: none;
}

.w40iq-deployment-planner-guest__portrait-header {
	display: none;
}

.w40iq-deployment-planner-guest__orientation-phone {
	position: relative;
	width: 54px;
	height: 86px;
	margin: 0 auto 18px;
	border: 4px solid currentColor;
	border-radius: 12px;
	box-shadow: inset 0 -10px 0 rgba(240, 217, 166, 0.16);
	transform: rotate(90deg);
}

.w40iq-deployment-planner-guest__orientation-phone::before,
.w40iq-deployment-planner-guest__orientation-phone::after {
	content: "";
	position: absolute;
	display: block;
}

.w40iq-deployment-planner-guest__orientation-phone::before {
	left: 50%;
	bottom: 5px;
	width: 8px;
	height: 8px;
	background: currentColor;
	border-radius: 999px;
	transform: translateX(-50%);
}

.w40iq-deployment-planner-guest__orientation-phone::after {
	right: -30px;
	top: 28px;
	width: 22px;
	height: 22px;
	border-top: 4px solid var(--w40iq-warning-yellow);
	border-right: 4px solid var(--w40iq-warning-yellow);
	transform: rotate(45deg);
}

.w40iq-deployment-planner-guest__header {
	display: block;
	padding: 0;
	background:
		linear-gradient(90deg, rgba(11, 10, 7, 0.94) 0%, rgba(18, 50, 27, 0.82) 58%, rgba(0, 79, 27, 0.58) 100%),
		linear-gradient(180deg, #1f321b 0%, #090806 100%);
	border-top: 0;
	border-bottom: 2px solid rgba(109, 252, 0, 0.52);
	box-shadow: inset 0 1px 0 rgba(221, 255, 184, 0.1), inset 0 -1px 0 rgba(0, 0, 0, 0.65);
}

.w40iq-deployment-planner-guest__brand {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: 18px;
	min-width: 0;
	min-height: 184px;
	padding: 20px 26px;
}

.w40iq-deployment-planner-guest__header-copy {
	display: grid;
	align-content: center;
	gap: 6px;
	min-width: 0;
}

.w40iq-deployment-planner-guest__logo {
	width: 176px;
	height: 176px;
	object-fit: contain;
	border: 0;
	border-radius: 0;
	flex: 0 0 auto;
	filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.58));
}

.w40iq-deployment-planner-guest__eyebrow,
.w40iq-deployment-planner-guest__status {
	margin: 0;
	color: rgba(240, 217, 166, 0.78);
	line-height: 1.35;
}

.w40iq-deployment-planner-guest__eyebrow {
	color: #6dfc00;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 16px;
	font-weight: 800;
	letter-spacing: 0;
	line-height: 1.15;
	text-shadow: 0 2px 0 rgba(0, 0, 0, 0.72);
	text-transform: none;
}

.w40iq-deployment-planner-guest h2 {
	margin: 0;
	max-width: none;
	color: #fff2b8;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 46px;
	font-weight: 800;
	line-height: 1;
	letter-spacing: 0;
	text-shadow: 0 4px 0 rgba(0, 0, 0, 0.72), 0 0 18px rgba(255, 118, 42, 0.2);
	text-transform: none;
}

.w40iq-deployment-planner-guest__edition {
	display: inline-block;
	color: #6dfc00;
	-webkit-text-fill-color: #6dfc00;
	text-shadow: 0 4px 0 rgba(0, 0, 0, 0.72), 0 0 18px currentColor;
}

.w40iq-deployment-planner-guest__status {
	display: -webkit-box;
	max-width: 54ch;
	min-height: 1.35em;
	max-height: 1.35em;
	margin-top: 4px;
	overflow: hidden;
	color: rgba(240, 217, 166, 0.82);
	font-size: 13px;
	font-weight: 800;
	line-clamp: 1;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 1;
	text-align: left;
}

	.w40iq-deployment-planner-guest__toolbar {
		display: grid;
		grid-template-columns: minmax(240px, 1fr) minmax(220px, 0.9fr) 286px 96px 104px minmax(280px, 0.8fr);
		gap: 10px;
		align-items: end;
		padding: 10px 16px;
		background: rgba(11, 10, 7, 0.76);
		border-bottom: 1px solid rgba(240, 217, 166, 0.22);
	}

	.w40iq-deployment-planner-guest.is-locked.has-image .w40iq-deployment-planner-guest__toolbar {
		grid-template-columns: auto;
		justify-content: start;
		align-items: center;
		padding-block: 8px;
	}

	.w40iq-deployment-planner-guest.is-locked.has-image .w40iq-deployment-planner-guest__toolbar > :not([data-w40iq-lock]) {
		display: none;
	}

	.w40iq-deployment-planner-guest.is-locked.has-image [data-w40iq-lock] {
		width: auto;
		min-width: 112px;
	}

.w40iq-deployment-planner-guest__field {
	display: grid;
	gap: 5px;
	margin: 0;
	min-width: 0;
	color: var(--w40iq-bone-sign);
	border: 0;
	padding: 0;
	font-size: 0.9rem;
	font-weight: 600;
}

.w40iq-deployment-planner-guest__field legend,
.w40iq-deployment-planner-guest__field > span {
	color: rgba(240, 217, 166, 0.78);
	font-size: 0.7rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.w40iq-deployment-planner-guest__segments {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	border: 1px solid rgba(240, 217, 166, 0.35);
	border-radius: 6px;
	overflow: hidden;
	background: #15130d;
}

.w40iq-deployment-planner-guest__segment {
	position: relative;
	display: block;
	min-width: 0;
}

.w40iq-deployment-planner-guest__segment input {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	inset: auto !important;
	left: 0 !important;
	top: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	opacity: 0 !important;
	pointer-events: none !important;
	appearance: none !important;
	-webkit-appearance: none !important;
	clip: rect(0 0 0 0) !important;
	clip-path: inset(50%) !important;
	overflow: hidden !important;
}

.w40iq-deployment-planner-guest__segment span {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 36px;
	padding: 7px 9px;
	color: #fff;
	text-align: center;
	border-right: 1px solid rgba(240, 217, 166, 0.22);
	cursor: pointer;
	transition: background 150ms ease, color 150ms ease, box-shadow 150ms ease;
	position: relative;
	z-index: 1;
}

.w40iq-deployment-planner-guest__segment:last-child span {
	border-right: 0;
}

.w40iq-deployment-planner-guest__segment input:checked + span {
	color: var(--w40iq-scrap-black);
	background: linear-gradient(180deg, var(--w40iq-grot-green), #49b900);
	box-shadow: inset 0 -3px 0 rgba(0, 79, 27, 0.65);
}

.w40iq-deployment-planner-guest__segment input:focus-visible + span,
.w40iq-deployment-planner-guest__file input:focus-visible,
.w40iq-deployment-planner-guest__range input:focus-visible,
.w40iq-deployment-planner-guest__scale-number input:focus-visible,
.w40iq-deployment-planner-guest__rotation input:focus-visible,
.w40iq-deployment-planner-guest__layout-tab:focus-visible,
.w40iq-deployment-planner-guest__small-button:focus-visible,
.w40iq-deployment-planner-guest__icon-button:focus-visible,
.w40iq-deployment-planner-guest__save-button:focus-visible,
.w40iq-deployment-planner-guest__new-button:focus-visible,
.w40iq-deployment-planner-guest__reset-button:focus-visible,
.w40iq-deployment-planner-guest__layout-name input:focus-visible {
	outline: 3px solid var(--w40iq-warning-yellow);
	outline-offset: 2px;
}

.w40iq-deployment-planner-guest__gw-picker {
	display: grid;
	gap: 8px;
	padding: 10px;
	border: 1px solid rgba(240, 217, 166, 0.35);
	border-radius: 6px;
	background: #15130d;
}

.w40iq-deployment-planner-guest__gw-picker-players {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px;
}

.w40iq-deployment-planner-guest__gw-picker-player {
	display: grid;
	gap: 5px;
	margin: 0;
	padding: 0;
	border: 0;
	min-width: 0;
}

.w40iq-deployment-planner-guest__gw-picker-player legend {
	font-size: 0.7rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	padding: 0;
}

.w40iq-deployment-planner-guest__gw-picker-player--a legend {
	color: rgb(192, 57, 43);
}

.w40iq-deployment-planner-guest__gw-picker-player--b legend {
	color: rgb(46, 109, 164);
}

.w40iq-deployment-planner-guest__gw-picker-options {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
}

.w40iq-deployment-planner-guest__gw-picker-option {
	flex: 1 1 auto;
	min-width: 72px;
	padding: 6px 8px;
	font-size: 0.72rem;
	font-weight: 600;
	color: #fff5df;
	background: rgba(240, 217, 166, 0.08);
	border: 1px solid rgba(240, 217, 166, 0.3);
	border-radius: 5px;
	cursor: pointer;
	transition: background 150ms ease, color 150ms ease, border-color 150ms ease;
}

.w40iq-deployment-planner-guest__gw-picker-player--a .w40iq-deployment-planner-guest__gw-picker-option.is-active {
	color: var(--w40iq-scrap-black);
	background: rgb(192, 57, 43);
	border-color: rgb(192, 57, 43);
}

.w40iq-deployment-planner-guest__gw-picker-player--b .w40iq-deployment-planner-guest__gw-picker-option.is-active {
	color: var(--w40iq-scrap-black);
	background: rgb(46, 109, 164);
	border-color: rgb(46, 109, 164);
}

.w40iq-deployment-planner-guest__gw-picker-hint {
	margin: 0;
	font-size: 0.75rem;
	font-weight: 500;
	color: rgba(240, 217, 166, 0.7);
}

.w40iq-deployment-planner-guest__gw-picker-result {
	display: grid;
	gap: 6px;
	padding-top: 6px;
	border-top: 1px solid rgba(240, 217, 166, 0.22);
}

.w40iq-deployment-planner-guest__gw-picker-title {
	margin: 0;
	font-size: 0.78rem;
	font-weight: 700;
	color: var(--w40iq-bone-sign);
}

.w40iq-deployment-planner-guest__gw-picker-variants {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.w40iq-deployment-planner-guest__gw-picker-variant {
	padding: 7px 14px;
	font-size: 0.78rem;
	font-weight: 700;
	color: #fff5df;
	background: #15130d;
	border: 1px solid rgba(240, 217, 166, 0.35);
	border-radius: 6px;
	cursor: pointer;
	transition: background 150ms ease, color 150ms ease, box-shadow 150ms ease;
}

.w40iq-deployment-planner-guest__gw-picker-variant.is-active {
	color: var(--w40iq-scrap-black);
	background: linear-gradient(180deg, var(--w40iq-grot-green), #49b900);
	box-shadow: inset 0 -3px 0 rgba(0, 79, 27, 0.65);
}

.w40iq-deployment-planner-guest__gw-picker-option:focus-visible,
.w40iq-deployment-planner-guest__gw-picker-variant:focus-visible {
	outline: 3px solid var(--w40iq-warning-yellow);
	outline-offset: 2px;
}

@media (max-width: 640px) {
	.w40iq-deployment-planner-guest__gw-picker-players {
		grid-template-columns: 1fr;
	}
}

.w40iq-deployment-planner-guest__file input {
	width: 100%;
	min-height: 36px;
	color: #fff5df;
	color-scheme: dark;
	background: #15130d;
	border: 1px solid rgba(240, 217, 166, 0.35);
	border-radius: 6px;
	padding: 6px 8px;
}

.w40iq-deployment-planner-guest select,
.w40iq-deployment-planner-guest__unit-search input,
.w40iq-deployment-planner-guest__count input,
.w40iq-deployment-planner-guest__custom-library input,
.w40iq-deployment-planner-guest__custom-library select {
	width: 100%;
	min-height: 36px;
	color: #fff5df;
	caret-color: var(--w40iq-warning-yellow);
	color-scheme: dark;
	background: #15130d;
	border: 1px solid rgba(240, 217, 166, 0.35);
	border-radius: 6px;
	padding: 7px 8px;
	font: inherit;
}

.w40iq-deployment-planner-guest select option {
	color: #fff5df;
	background: #15130d;
}

.w40iq-deployment-planner-guest__unit-search input::placeholder,
.w40iq-deployment-planner-guest__layout-name input::placeholder,
.w40iq-deployment-planner-guest__custom-library input::placeholder {
	color: rgba(240, 217, 166, 0.62);
	opacity: 1;
}

.w40iq-deployment-planner-guest select:focus-visible,
.w40iq-deployment-planner-guest__unit-search input:focus-visible,
.w40iq-deployment-planner-guest__count input:focus-visible,
.w40iq-deployment-planner-guest__custom-library input:focus-visible {
	outline: 3px solid var(--w40iq-warning-yellow);
	outline-offset: 2px;
}

.w40iq-deployment-planner-guest__file input::file-selector-button {
	margin-right: 10px;
	color: #fff;
	background: var(--w40iq-dark-green);
	border: 1px solid rgba(109, 252, 0, 0.42);
	border-radius: 5px;
	padding: 6px 10px;
	cursor: pointer;
}

.w40iq-deployment-planner-guest__range {
	display: grid;
	grid-template-columns: 164px 54px 42px;
	align-items: center;
	justify-self: start;
	width: 286px;
}

.w40iq-deployment-planner-guest__rotation {
	display: block;
}

.w40iq-deployment-planner-guest__range span {
	grid-column: 1 / -1;
}

.w40iq-deployment-planner-guest__range input {
	width: 100%;
	accent-color: var(--w40iq-grot-green);
}

.w40iq-deployment-planner-guest__scale-number input {
	width: 100%;
	min-height: 30px;
	color: #fff5df;
	caret-color: var(--w40iq-warning-yellow);
	color-scheme: dark;
	background: #15130d;
	border: 1px solid rgba(240, 217, 166, 0.35);
	border-radius: 5px;
	padding: 6px 7px;
	font: inherit;
	font-variant-numeric: tabular-nums;
}

.w40iq-deployment-planner-guest__range output {
	min-width: 42px;
	color: #fff;
	text-align: right;
	font-variant-numeric: tabular-nums;
}

.w40iq-deployment-planner-guest__rotation-controls {
	display: grid;
	grid-template-columns: auto auto;
	gap: 6px;
	align-items: center;
	min-height: 36px;
}

.w40iq-deployment-planner-guest__rotation-controls input,
.w40iq-deployment-planner-guest__rotation-controls label,
.w40iq-deployment-planner-guest__rotation-controls output {
	display: none;
}

.w40iq-deployment-planner-guest__rotation input {
	width: 100%;
	accent-color: var(--w40iq-warning-yellow);
}

.w40iq-deployment-planner-guest__rotation output {
	min-width: 28px;
	color: #fff;
	text-align: left;
	font-variant-numeric: tabular-nums;
}

.w40iq-deployment-planner-guest__number input {
	width: 54px;
	min-height: 30px;
	color: #fff5df;
	caret-color: var(--w40iq-warning-yellow);
	color-scheme: dark;
	background: #15130d;
	border: 1px solid rgba(240, 217, 166, 0.35);
	border-radius: 5px;
	padding: 5px 7px;
	font: inherit;
	font-size: 0.88rem;
	text-align: right;
}

.w40iq-deployment-planner-guest__small-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 38px;
	min-height: 36px;
	padding: 5px 8px;
	color: #fff;
	background: #15130d;
	border: 1px solid rgba(240, 217, 166, 0.35);
	border-radius: 5px;
	cursor: pointer;
	font: inherit;
	font-size: 0.76rem;
	line-height: 1;
	transition: border-color 150ms ease, color 150ms ease, transform 150ms ease;
}

.w40iq-deployment-planner-guest__small-button:hover {
	color: var(--w40iq-warning-yellow);
	border-color: var(--w40iq-warning-yellow);
	transform: translateY(-1px);
}

.w40iq-deployment-planner-guest__small-button:disabled,
.w40iq-deployment-planner-guest__small-button:disabled:hover {
	color: rgba(240, 217, 166, 0.45);
	background: rgba(21, 19, 13, 0.72);
	border-color: rgba(240, 217, 166, 0.18);
	cursor: not-allowed;
	opacity: 0.58;
	transform: none;
}

.w40iq-deployment-planner-guest__small-button--danger:hover {
	color: #fff;
	border-color: var(--w40iq-blood-red);
	background: var(--w40iq-blood-red);
}

.w40iq-deployment-planner-guest__icon-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 36px;
	padding: 7px 9px;
	color: #fff;
	background: linear-gradient(180deg, #3a2412, #15130d);
	border: 1px solid rgba(240, 217, 166, 0.46);
	border-radius: 6px;
	cursor: pointer;
	box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.35);
	transition: background 150ms ease, border-color 150ms ease, transform 150ms ease;
}

.w40iq-deployment-planner-guest__icon-button:hover {
	border-color: var(--w40iq-grot-green);
	transform: translateY(-1px);
}

.w40iq-deployment-planner-guest.is-locked .w40iq-deployment-planner-guest__icon-button {
	color: var(--w40iq-scrap-black);
	background: linear-gradient(180deg, var(--w40iq-warning-yellow), #c9941c);
	border-color: rgba(0, 0, 0, 0.42);
}

.w40iq-deployment-planner-guest.is-shared-readonly .w40iq-deployment-planner-guest__workspace {
	cursor: not-allowed;
	box-shadow: inset 0 0 0 2px rgba(255, 72, 54, 0.28);
}

.w40iq-deployment-planner-guest__save-area {
	display: grid;
	grid-template-columns: minmax(120px, 1fr) 92px 54px;
	gap: 6px;
	align-items: center;
	justify-items: stretch;
	min-height: 36px;
}

.w40iq-deployment-planner-guest__layout-name {
	grid-column: auto;
}

.w40iq-deployment-planner-guest__layout-name input {
	width: 100%;
	min-height: 36px;
	color: #fff5df !important;
	caret-color: var(--w40iq-warning-yellow);
	color-scheme: dark;
	background: #15130d !important;
	border: 1px solid rgba(240, 217, 166, 0.35);
	border-radius: 5px;
	padding: 7px 9px;
	font: inherit;
	font-size: 0.82rem;
	-webkit-text-fill-color: #fff5df;
}

.w40iq-deployment-planner-guest__layout-name input::placeholder {
	color: rgba(255, 245, 223, 0.78) !important;
	opacity: 1;
	-webkit-text-fill-color: rgba(255, 245, 223, 0.78);
}

.w40iq-deployment-planner-guest__layout-name input:focus,
.w40iq-deployment-planner-guest__layout-name input:-webkit-autofill,
.w40iq-deployment-planner-guest__layout-name input:-webkit-autofill:focus {
	color: #fff5df !important;
	background: #15130d !important;
	-webkit-text-fill-color: #fff5df;
	-webkit-box-shadow: 0 0 0 1000px #15130d inset;
}

.w40iq-deployment-planner-guest__save-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 36px;
	padding: 7px 10px;
	color: var(--w40iq-scrap-black);
	background: linear-gradient(180deg, var(--w40iq-grot-green), #49b900);
	border: 1px solid rgba(0, 79, 27, 0.8);
	border-radius: 6px;
	cursor: pointer;
	font: inherit;
	font-size: 0.82rem;
	font-weight: 700;
	box-shadow: inset 0 -3px 0 rgba(0, 79, 27, 0.65);
	transition: filter 150ms ease, transform 150ms ease, opacity 150ms ease;
}

.w40iq-deployment-planner-guest__save-button:hover:not(:disabled) {
	filter: brightness(1.07);
	transform: translateY(-1px);
}

.w40iq-deployment-planner-guest__save-button:disabled {
	cursor: not-allowed;
	opacity: 0.55;
}

.w40iq-deployment-planner-guest__save-button.is-saving {
	opacity: 0.76;
}

.w40iq-deployment-planner-guest__new-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 36px;
	padding: 7px 9px;
	color: #fff;
	background: #15130d;
	border: 1px solid rgba(240, 217, 166, 0.4);
	border-radius: 6px;
	cursor: pointer;
	font: inherit;
	font-size: 0.82rem;
	transition: border-color 150ms ease, transform 150ms ease, opacity 150ms ease;
}

.w40iq-deployment-planner-guest__new-button:hover:not(:disabled) {
	border-color: var(--w40iq-grot-green);
	transform: translateY(-1px);
}

.w40iq-deployment-planner-guest__new-button:disabled {
	cursor: not-allowed;
	opacity: 0.55;
}

.w40iq-deployment-planner-guest__login-link {
	grid-column: 1 / -1;
	color: var(--w40iq-warning-yellow);
	font-size: 0.75rem;
	line-height: 1.2;
	text-align: center;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.w40iq-deployment-planner-guest__library {
	display: grid;
	gap: 12px;
	padding: 14px 16px;
	background:
		linear-gradient(90deg, rgba(58, 36, 18, 0.58), rgba(11, 10, 7, 0.74)),
		repeating-linear-gradient(90deg, rgba(240, 217, 166, 0.06) 0 1px, transparent 1px 16px);
	border-bottom: 1px solid rgba(240, 217, 166, 0.22);
}

.w40iq-deployment-planner-guest__library[hidden] {
	display: none;
}

.w40iq-deployment-planner-guest__library-head {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 12px;
}

.w40iq-deployment-planner-guest__library-tools {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-end;
	gap: 8px;
	min-width: 0;
}

.w40iq-deployment-planner-guest__library h3,
.w40iq-deployment-planner-guest__library p {
	margin: 0;
}

.w40iq-deployment-planner-guest__library h3 {
	color: #fff;
	font-size: 1rem;
	line-height: 1.2;
	letter-spacing: 0;
}

.w40iq-deployment-planner-guest__library p {
	color: rgba(240, 217, 166, 0.72);
	font-size: 0.85rem;
	line-height: 1.35;
	text-align: right;
}

.w40iq-deployment-planner-guest__library p.is-success,
.w40iq-deployment-planner-guest__library p.is-error {
	padding: 8px 10px;
	border-radius: 5px;
	font-weight: 800;
	text-align: left;
}

.w40iq-deployment-planner-guest__library p.is-success {
	color: #0b0a07;
	background: linear-gradient(180deg, var(--w40iq-grot-green), #49b900);
	border: 1px solid rgba(0, 79, 27, 0.88);
	box-shadow: 0 0 0 2px rgba(109, 252, 0, 0.18);
}

.w40iq-deployment-planner-guest__library p.is-error {
	color: #fff5df;
	background: linear-gradient(180deg, var(--w40iq-blood-red), #650707);
	border: 1px solid rgba(255, 180, 130, 0.42);
	box-shadow: 0 0 0 2px rgba(169, 15, 15, 0.22);
}

.w40iq-deployment-planner-guest__library-tools .w40iq-deployment-planner-guest__small-button.is-loading {
	opacity: 0.68;
	cursor: progress;
}

.w40iq-deployment-planner-guest__layout-list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 10px;
}

.w40iq-deployment-planner-guest__layout-list.has-share-inbox {
	grid-template-columns: minmax(0, 1fr);
}

.w40iq-deployment-planner-guest__layout-list.has-layout-tabs {
	grid-template-columns: minmax(0, 1fr);
}

.w40iq-deployment-planner-guest__layout-tabs {
	display: flex;
	flex-wrap: wrap;
	grid-column: 1 / -1;
	gap: 6px;
	padding: 4px;
	background: rgba(11, 10, 7, 0.72);
	border: 1px solid rgba(240, 217, 166, 0.22);
	border-radius: 6px;
}

.w40iq-deployment-planner-guest__layout-tab {
	min-height: 34px;
	padding: 7px 12px;
	color: rgba(240, 217, 166, 0.82);
	background: rgba(21, 19, 13, 0.84);
	border: 1px solid rgba(240, 217, 166, 0.24);
	border-radius: 5px;
	font: inherit;
	font-size: 0.82rem;
	font-weight: 800;
	cursor: pointer;
}

.w40iq-deployment-planner-guest__layout-tab:hover {
	color: #fff8de;
	border-color: rgba(243, 198, 59, 0.56);
}

.w40iq-deployment-planner-guest__layout-tab.is-active {
	color: var(--w40iq-scrap-black);
	background: var(--w40iq-grot-green);
	border-color: rgba(0, 79, 27, 0.86);
	box-shadow: 0 0 0 2px rgba(109, 252, 0, 0.18);
}

.w40iq-deployment-planner-guest__share-inbox {
	display: grid;
	grid-column: 1 / -1;
	gap: 9px;
	padding: 10px;
	background:
		linear-gradient(135deg, rgba(243, 198, 59, 0.13), transparent 42%),
		rgba(11, 10, 7, 0.78);
	border: 1px solid rgba(243, 198, 59, 0.46);
	border-radius: 6px;
	box-shadow: inset 0 0 0 1px rgba(240, 217, 166, 0.08);
}

.w40iq-deployment-planner-guest__share-inbox-head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 8px;
	color: #fff5df;
}

.w40iq-deployment-planner-guest__share-inbox-head strong {
	color: var(--w40iq-warning-yellow);
	font-size: 0.96rem;
	line-height: 1.15;
}

.w40iq-deployment-planner-guest__share-inbox-head span {
	color: rgba(240, 217, 166, 0.76);
	font-size: 0.78rem;
	line-height: 1.3;
}

.w40iq-deployment-planner-guest__layout-item {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 10px;
	align-items: center;
	padding: 10px;
	background: rgba(11, 10, 7, 0.76);
	border: 1px solid rgba(240, 217, 166, 0.28);
	border-radius: 6px;
}

.w40iq-deployment-planner-guest__layout-item.is-active {
	border-color: var(--w40iq-grot-green);
	box-shadow: inset 0 0 0 1px rgba(109, 252, 0, 0.34);
}

.w40iq-deployment-planner-guest__layout-item--shared {
	border-color: rgba(243, 198, 59, 0.46);
	background: rgba(21, 19, 13, 0.92);
}

.w40iq-deployment-planner-guest__layout-item--shared-live {
	border-color: rgba(243, 198, 59, 0.52);
	background: rgba(58, 36, 18, 0.24);
}

.w40iq-deployment-planner-guest__layout-item--shared-live.is-locked-by-other {
	border-color: rgba(255, 72, 54, 0.72);
	background:
		linear-gradient(135deg, rgba(169, 15, 15, 0.24), transparent 44%),
		rgba(28, 10, 8, 0.66);
}

.w40iq-deployment-planner-guest__layout-item--shared-live.is-working-here {
	border-color: rgba(109, 252, 0, 0.72);
	background:
		linear-gradient(135deg, rgba(109, 252, 0, 0.16), transparent 44%),
		rgba(11, 10, 7, 0.76);
}

.w40iq-deployment-planner-guest__shared-members {
	display: flex;
	flex-wrap: wrap;
	gap: 5px;
	margin-top: 5px;
}

.w40iq-deployment-planner-guest__shared-member {
	display: inline-flex;
	align-items: center;
	min-height: 22px;
	padding: 2px 7px;
	color: #fff8de;
	background: rgba(169, 15, 15, 0.72);
	border: 1px solid rgba(240, 217, 166, 0.34);
	border-radius: 999px;
	font-size: 0.74rem;
	font-weight: 800;
	line-height: 1;
}

.w40iq-deployment-planner-guest__shared-member.is-ready {
	background: rgba(0, 79, 27, 0.92);
	border-color: rgba(109, 252, 0, 0.52);
}

.w40iq-deployment-planner-guest__shared-member.is-working {
	color: var(--w40iq-scrap-black);
	background: var(--w40iq-grot-green);
	border-color: rgba(11, 10, 7, 0.76);
}

.w40iq-deployment-planner-guest__shared-member-remove {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 16px;
	height: 16px;
	margin: -1px -4px -1px 5px;
	padding: 0;
	color: inherit;
	background: rgba(11, 10, 7, 0.38);
	border: 0;
	border-radius: 999px;
	cursor: pointer;
	font: inherit;
	font-size: 0.68rem;
	line-height: 1;
}

.w40iq-deployment-planner-guest__shared-member-remove:hover,
.w40iq-deployment-planner-guest__shared-member-remove:focus-visible {
	background: rgba(255, 248, 222, 0.22);
	outline: none;
}

.w40iq-deployment-planner-guest__layout-info {
	display: grid;
	gap: 3px;
	min-width: 0;
}

.w40iq-deployment-planner-guest__layout-info strong {
	color: #fff;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.w40iq-deployment-planner-guest__layout-info span {
	color: rgba(240, 217, 166, 0.68);
	font-size: 0.78rem;
	line-height: 1.3;
}

.w40iq-deployment-planner-guest__layout-actions {
	display: inline-flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 6px;
}

.w40iq-deployment-planner-guest__nudge-actions {
	display: inline-flex;
	align-items: center;
	justify-content: flex-end;
	gap: 6px;
	margin-left: auto;
	order: 20;
}

.w40iq-deployment-planner-guest__nudge-select {
	max-width: 155px;
	min-height: 31px;
	padding: 4px 8px;
	font-size: 0.78rem;
}

@media (min-width: 981px) {
	.w40iq-deployment-planner-guest__layout-item--shared-live {
		grid-template-columns: minmax(0, 1fr) max-content;
	}

	.w40iq-deployment-planner-guest__layout-item--shared-live .w40iq-deployment-planner-guest__layout-actions {
		flex-wrap: wrap;
		align-items: flex-end;
		align-content: flex-end;
		white-space: nowrap;
	}

	.w40iq-deployment-planner-guest__layout-item--shared-live .w40iq-deployment-planner-guest__layout-actions > * {
		flex: 0 0 auto;
	}

	.w40iq-deployment-planner-guest__layout-item--shared-live .w40iq-deployment-planner-guest__nudge-actions {
		flex: 0 0 100%;
		align-self: flex-end;
	}
}

@media (max-width: 980px) {
	.w40iq-deployment-planner-guest__layout-item--shared-live {
		grid-template-columns: minmax(0, 1fr);
		align-items: stretch;
		gap: 8px;
	}

	.w40iq-deployment-planner-guest__layout-item--shared-live .w40iq-deployment-planner-guest__layout-actions {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		justify-content: stretch;
		width: 100%;
	}

	.w40iq-deployment-planner-guest__layout-item--shared-live .w40iq-deployment-planner-guest__layout-actions > * {
		width: 100%;
		min-width: 0;
	}

	.w40iq-deployment-planner-guest__layout-item--shared-live .w40iq-deployment-planner-guest__small-button,
	.w40iq-deployment-planner-guest__layout-item--shared-live .w40iq-deployment-planner-guest__nudge-select {
		min-height: 32px;
		padding-inline: 6px;
		font-size: 0.72rem;
	}

	.w40iq-deployment-planner-guest__layout-item--shared-live .w40iq-deployment-planner-guest__nudge-actions {
		grid-column: 1 / -1;
		justify-content: flex-end;
		width: 100%;
	}

	.w40iq-deployment-planner-guest__layout-item--shared-live .w40iq-deployment-planner-guest__nudge-actions > * {
		width: auto;
		min-width: 0;
	}

	.w40iq-deployment-planner-guest__layout-item--shared-live .w40iq-deployment-planner-guest__nudge-select {
		width: min(180px, 58%);
	}

	.w40iq-deployment-planner-guest__shared-member {
		max-width: 100%;
	}
}

@media (max-height: 430px) and (orientation: landscape) {
	.w40iq-deployment-planner-guest__share-inbox {
		padding: 7px;
		gap: 7px;
	}

	.w40iq-deployment-planner-guest__layout-item--shared-live {
		padding: 7px;
	}

	.w40iq-deployment-planner-guest__layout-item--shared-live .w40iq-deployment-planner-guest__layout-actions {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 5px;
	}

	.w40iq-deployment-planner-guest__layout-item--shared-live .w40iq-deployment-planner-guest__small-button,
	.w40iq-deployment-planner-guest__layout-item--shared-live .w40iq-deployment-planner-guest__nudge-select {
		min-height: 29px;
		font-size: 0.66rem;
	}

	.w40iq-deployment-planner-guest__layout-item--shared-live .w40iq-deployment-planner-guest__nudge-actions {
		grid-column: 2 / -1;
	}
}

.w40iq-deployment-planner-guest__layout-empty {
	padding: 10px;
	color: rgba(240, 217, 166, 0.72);
	background: rgba(11, 10, 7, 0.56);
	border: 1px dashed rgba(240, 217, 166, 0.28);
	border-radius: 6px;
}

.w40iq-deployment-planner-guest__share-overlay {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: grid;
	place-items: center;
	padding: 18px;
	background: rgba(11, 10, 7, 0.72);
	backdrop-filter: blur(4px);
}

.w40iq-deployment-planner-guest__share-dialog {
	width: min(420px, 100%);
	padding: 18px;
	color: #fff5df;
	background: linear-gradient(180deg, #1c1a12 0%, #0b0a07 100%);
	border: 2px solid rgba(109, 252, 0, 0.65);
	border-radius: 7px;
	box-shadow: 0 22px 60px rgba(0, 0, 0, 0.55), inset 0 0 0 1px rgba(240, 217, 166, 0.18);
}

.w40iq-deployment-planner-guest__share-dialog h3 {
	margin: 0 0 7px;
	color: var(--w40iq-grot-green);
	font-size: 1.12rem;
	line-height: 1.1;
}

.w40iq-deployment-planner-guest__share-dialog p {
	margin: 0 0 14px;
	color: rgba(240, 217, 166, 0.82);
	font-size: 0.9rem;
	line-height: 1.4;
}

.w40iq-deployment-planner-guest__share-field {
	display: grid;
	gap: 6px;
	margin-bottom: 16px;
	color: var(--w40iq-bone-sign);
	font-size: 0.82rem;
	font-weight: 700;
}

.w40iq-deployment-planner-guest__share-field select {
	min-height: 40px;
	color: #fff5df;
	background: #15130d;
	border: 1px solid rgba(240, 217, 166, 0.44);
	border-radius: 5px;
	padding: 8px 10px;
	font: inherit;
	color-scheme: dark;
}

.w40iq-deployment-planner-guest__share-recipient-list {
	display: grid;
	gap: 7px;
	margin: 12px 0;
	max-height: min(42vh, 320px);
	overflow: auto;
}

.w40iq-deployment-planner-guest__share-recipient-list label {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 7px 9px;
	color: #fff7dd;
	background: rgba(11, 10, 7, 0.42);
	border: 1px solid rgba(240, 217, 166, 0.22);
	border-radius: 5px;
}

.w40iq-deployment-planner-guest__share-actions {
	display: flex;
	justify-content: flex-end;
	gap: 8px;
}

.w40iq-deployment-planner-guest__share-confirm {
	color: #0b0a07;
	background: var(--w40iq-grot-green);
	border-color: var(--w40iq-dark-green);
	font-weight: 800;
}

.w40iq-deployment-planner-guest__unit-panel {
	display: grid;
	gap: 10px;
	padding: 10px 16px;
	background: rgba(11, 10, 7, 0.7);
	border-bottom: 1px solid rgba(240, 217, 166, 0.22);
}

.w40iq-deployment-planner-guest__unit-head {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 12px;
}

.w40iq-deployment-planner-guest__unit-head h3,
.w40iq-deployment-planner-guest__unit-head p,
.w40iq-deployment-planner-guest__unit-note {
	margin: 0;
}

.w40iq-deployment-planner-guest__unit-head h3 {
	color: #fff;
	font-size: 1rem;
	line-height: 1.2;
	letter-spacing: 0;
}

.w40iq-deployment-planner-guest__unit-head p,
.w40iq-deployment-planner-guest__unit-note,
.w40iq-deployment-planner-guest__trash {
	color: rgba(240, 217, 166, 0.72);
	font-size: 0.85rem;
	line-height: 1.35;
}

.w40iq-deployment-planner-guest__unit-head p {
	text-align: right;
}

.w40iq-deployment-planner-guest__unit-controls {
	display: grid;
	grid-template-columns: minmax(190px, 1fr) minmax(160px, 0.8fr) minmax(260px, 1.25fr) 74px auto;
	gap: 10px;
	align-items: end;
}

.w40iq-deployment-planner-guest__army-importer {
	display: grid;
	gap: 10px;
	padding: 12px;
	background:
		linear-gradient(135deg, rgba(109, 252, 0, 0.08), transparent 38%),
		rgba(21, 19, 13, 0.82);
	border: 1px solid rgba(240, 217, 166, 0.24);
	border-radius: 6px;
	box-shadow: inset 0 0 0 1px rgba(109, 252, 0, 0.08);
}

.w40iq-deployment-planner-guest__army-tabs {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 6px;
}

.w40iq-deployment-planner-guest__army-tab {
	min-height: 34px;
	padding: 6px 8px;
	color: rgba(240, 217, 166, 0.84);
	background: rgba(11, 10, 7, 0.72);
	border: 1px solid rgba(240, 217, 166, 0.28);
	border-radius: 5px;
	cursor: pointer;
	font: inherit;
	font-size: 0.76rem;
	font-weight: 900;
	line-height: 1.1;
	text-align: center;
}

.w40iq-deployment-planner-guest__army-tab:hover,
.w40iq-deployment-planner-guest__army-tab:focus-visible {
	border-color: var(--w40iq-warning-yellow);
	outline: none;
}

.w40iq-deployment-planner-guest__army-tab.is-active {
	color: var(--w40iq-scrap-black);
	background: linear-gradient(180deg, var(--w40iq-grot-green), #49b900);
	border-color: rgba(0, 0, 0, 0.48);
	box-shadow: inset 0 -3px 0 rgba(0, 79, 27, 0.65);
}

.w40iq-deployment-planner-guest__army-tab.is-drop-target,
.w40iq-deployment-planner-guest__army-storage-list.is-drop-target {
	border-color: var(--w40iq-grot-green);
	background:
		linear-gradient(135deg, rgba(109, 252, 0, 0.28), rgba(243, 198, 59, 0.12)),
		rgba(15, 31, 13, 0.92);
	box-shadow:
		0 0 0 2px rgba(109, 252, 0, 0.28),
		0 0 18px rgba(109, 252, 0, 0.22);
}

.w40iq-deployment-planner-guest__army-tab-panel {
	display: grid;
	gap: 10px;
}

.w40iq-deployment-planner-guest__army-tab-panel[hidden] {
	display: none;
}

.w40iq-deployment-planner-guest__army-storage-head {
	display: grid;
	gap: 4px;
}

.w40iq-deployment-planner-guest__army-storage-head h4,
.w40iq-deployment-planner-guest__army-storage-head p {
	margin: 0;
}

.w40iq-deployment-planner-guest__army-storage-head h4 {
	color: var(--w40iq-warning-yellow);
	font-size: 0.9rem;
	text-transform: uppercase;
}

.w40iq-deployment-planner-guest__army-storage-head p {
	color: rgba(240, 217, 166, 0.72);
	font-size: 0.78rem;
	line-height: 1.35;
}

.w40iq-deployment-planner-guest__army-storage-list {
	display: grid;
	gap: 7px;
	max-height: 220px;
	overflow: auto;
	padding-right: 2px;
	border: 1px dashed transparent;
	border-radius: 5px;
}

.w40iq-deployment-planner-guest__army-storage-empty {
	margin: 0;
	padding: 10px;
	color: rgba(240, 217, 166, 0.72);
	background: rgba(11, 10, 7, 0.54);
	border: 1px dashed rgba(240, 217, 166, 0.24);
	border-radius: 5px;
	font-size: 0.78rem;
}

.w40iq-deployment-planner-guest__army-storage-unit {
	display: grid;
	gap: 7px;
	width: 100%;
	padding: 8px 10px;
	color: rgba(240, 217, 166, 0.9);
	background: rgba(11, 10, 7, 0.72);
	border: 1px solid rgba(109, 252, 0, 0.2);
	border-radius: 5px;
	cursor: grab;
	font: inherit;
	text-align: left;
}

.w40iq-deployment-planner-guest__army-storage-unit.is-missing-base {
	background:
		linear-gradient(135deg, rgba(217, 50, 34, 0.22), transparent 62%),
		rgba(32, 12, 8, 0.86);
	border-color: rgba(255, 90, 69, 0.72);
	box-shadow: inset 0 0 0 1px rgba(255, 90, 69, 0.16);
}

.w40iq-deployment-planner-guest__army-storage-unit:hover,
.w40iq-deployment-planner-guest__army-storage-unit:focus-visible {
	border-color: var(--w40iq-grot-green);
	box-shadow: 0 0 0 2px rgba(109, 252, 0, 0.12);
	outline: none;
}

.w40iq-deployment-planner-guest__army-storage-unit:active {
	cursor: grabbing;
}

.w40iq-deployment-planner-guest__army-storage-unit-body {
	display: grid;
	gap: 3px;
	min-width: 0;
}

.w40iq-deployment-planner-guest__army-storage-unit strong {
	color: var(--w40iq-warning-yellow);
	font-size: 0.8rem;
	line-height: 1.2;
}

.w40iq-deployment-planner-guest__army-storage-unit span {
	color: rgba(240, 217, 166, 0.68);
	font-size: 0.72rem;
	line-height: 1.2;
}

.w40iq-deployment-planner-guest__army-storage-unit.is-missing-base strong {
	color: #fff5df;
}

.w40iq-deployment-planner-guest__army-storage-unit.is-missing-base span {
	color: #ff9a86;
	font-weight: 800;
}

.w40iq-deployment-planner-guest__army-storage-unit-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	align-items: center;
}

.w40iq-deployment-planner-guest__army-storage-base-input {
	flex: 1 1 140px;
	min-width: 0;
	height: 32px;
	padding: 6px 8px;
	color: #fff5df;
	background: rgba(11, 10, 7, 0.84);
	border: 1px solid rgba(255, 90, 69, 0.64);
	border-radius: 5px;
	font: inherit;
	font-size: 0.75rem;
	font-weight: 800;
}

.w40iq-deployment-planner-guest__army-storage-base-input:focus {
	border-color: var(--w40iq-warning-yellow);
	outline: 2px solid rgba(243, 198, 59, 0.24);
}

.w40iq-deployment-planner-guest__army-importer-head {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 12px;
}

.w40iq-deployment-planner-guest__army-importer-head h4,
.w40iq-deployment-planner-guest__army-importer-head p {
	margin: 0;
}

.w40iq-deployment-planner-guest__army-importer-head h4 {
	color: #fff;
	font-size: 0.95rem;
	line-height: 1.2;
	letter-spacing: 0;
}

.w40iq-deployment-planner-guest__army-importer-head p {
	max-width: none;
	color: #ff5a45;
	font-size: 0.82rem;
	font-weight: 800;
	line-height: 1.2;
	text-align: right;
	text-shadow: 0 1px 0 rgba(0, 0, 0, 0.55);
	white-space: nowrap;
}

.w40iq-deployment-planner-guest__army-import-field textarea {
	width: 100%;
	min-height: 72px;
	max-height: 180px;
	overflow: auto;
	resize: vertical;
	color: #fff;
	background: #15130d;
	border: 1px solid rgba(240, 217, 166, 0.4);
	border-radius: 6px;
	padding: 9px 10px;
	font: inherit;
	font-size: 0.82rem;
	line-height: 1.35;
}

.w40iq-deployment-planner-guest__army-import-field textarea:focus {
	border-color: var(--w40iq-grot-green);
	outline: 2px solid rgba(109, 252, 0, 0.2);
}

.w40iq-deployment-planner-guest__army-import-actions {
	display: inline-flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
}

.w40iq-deployment-planner-guest__army-import-summary {
	display: grid;
	gap: 6px;
	padding: 10px;
	color: rgba(240, 217, 166, 0.86);
	background: rgba(11, 10, 7, 0.62);
	border: 1px dashed rgba(243, 198, 59, 0.38);
	border-radius: 6px;
	font-size: 0.78rem;
	line-height: 1.35;
}

.w40iq-deployment-planner-guest__army-import-summary[hidden] {
	display: none;
}

.w40iq-deployment-planner-guest__army-import-summary strong {
	color: var(--w40iq-warning-yellow);
}

.w40iq-deployment-planner-guest__army-import-summary ul {
	margin: 0;
	padding-left: 18px;
}

.w40iq-deployment-planner-guest__group-actions {
	display: inline-flex;
	flex-wrap: wrap;
	gap: 6px;
	align-items: center;
	min-height: 42px;
}

.w40iq-deployment-planner-guest__group-actions .w40iq-deployment-planner-guest__small-button:disabled {
	cursor: not-allowed;
	opacity: 0.5;
}

.w40iq-deployment-planner-guest__history-actions {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 6px;
	width: 96px;
}

.w40iq-deployment-planner-guest__history-actions .w40iq-deployment-planner-guest__small-button {
	min-height: 34px;
	padding: 6px 5px;
	font-size: 0.68rem;
	line-height: 1;
}

.w40iq-deployment-planner-guest__circle-tool-group {
	display: grid;
	gap: 8px;
	position: relative;
	width: 96px;
}

.w40iq-deployment-planner-guest__circle-tools {
	display: grid;
	gap: 8px;
	width: 100%;
	padding: 8px;
	background:
		linear-gradient(180deg, rgba(29, 26, 18, 0.96), rgba(12, 11, 8, 0.96)),
		var(--w40iq-scrap-black);
	border: 1px solid rgba(240, 217, 166, 0.24);
	border-radius: 6px;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.w40iq-deployment-planner-guest__circle-tools[hidden] {
	display: none;
}

.w40iq-deployment-planner-guest__circle-tools p {
	margin: 0;
	color: rgba(240, 217, 166, 0.72);
	font-size: 0.68rem;
	line-height: 1.25;
}

.w40iq-deployment-planner-guest__new-circle-button {
	width: 100%;
	min-height: 34px;
	padding: 6px 7px;
	font-size: 0.72rem;
	line-height: 1.05;
}

.w40iq-deployment-planner-guest__circle-radius-field {
	display: grid;
	gap: 4px;
}

.w40iq-deployment-planner-guest__circle-radius-field span {
	font-size: 0.64rem;
	line-height: 1.1;
}

.w40iq-deployment-planner-guest__circle-radius-field input {
	width: 100%;
	min-height: 34px;
	padding: 6px 7px;
	font-size: 0.78rem;
}

.w40iq-deployment-planner-guest__snap-buttons {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 6px;
}

.w40iq-deployment-planner-guest__snap-buttons .w40iq-deployment-planner-guest__small-button {
	min-height: 32px;
	padding: 5px 4px;
	font-size: 0.7rem;
	line-height: 1;
}

.w40iq-deployment-planner-guest__snap-buttons .w40iq-deployment-planner-guest__small-button.is-active {
	color: var(--w40iq-scrap-black);
	background: linear-gradient(180deg, var(--w40iq-warning-yellow), #c9941c);
	border-color: rgba(0, 0, 0, 0.5);
}

.w40iq-deployment-planner-guest__layer-toggles {
	display: grid;
	gap: 6px;
	width: 96px;
	padding: 8px;
	background: rgba(11, 10, 7, 0.38);
	border: 1px solid rgba(240, 217, 166, 0.18);
	border-radius: 5px;
}

.w40iq-deployment-planner-guest__layer-toggles label {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: rgba(240, 217, 166, 0.9);
	font-size: 0.7rem;
	line-height: 1.15;
	cursor: pointer;
}

.w40iq-deployment-planner-guest__trash {
	position: relative;
	z-index: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	gap: 10px;
	min-width: 150px;
	min-height: 180px;
	padding: 18px 14px;
	color: rgba(255, 255, 255, 0.88);
	background: rgba(169, 15, 15, 0.16);
	border: 3px dashed rgba(240, 217, 166, 0.42);
	border-radius: 6px;
	text-align: center;
	transition: background 150ms ease, border-color 150ms ease, color 150ms ease, transform 150ms ease;
}

.w40iq-deployment-planner-guest__reset-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 36px;
	padding: 8px 10px;
	color: #fff;
	background: linear-gradient(180deg, var(--w40iq-blood-red), #650707);
	border: 1px solid rgba(255, 180, 130, 0.32);
	border-radius: 5px;
	cursor: pointer;
	font: inherit;
	font-size: 0.78rem;
	font-weight: 800;
	line-height: 1;
	box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.34), 0 4px 12px rgba(0, 0, 0, 0.28);
	transition: filter 150ms ease, transform 150ms ease;
}

.w40iq-deployment-planner-guest__reset-button:hover,
.w40iq-deployment-planner-guest__reset-button:focus-visible {
	filter: brightness(1.08);
	transform: translateY(-1px);
}

.w40iq-deployment-planner-guest__trash.is-active {
	color: #fff;
	background: rgba(169, 15, 15, 0.72);
	border-color: var(--w40iq-warning-yellow);
	transform: translateY(-1px);
}

.w40iq-deployment-planner-guest__trash-icon {
	display: inline-block;
	width: 72px;
	height: 72px;
	background: url("../images/trash.webp") center / contain no-repeat;
	filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.46));
	transition: filter 150ms ease, transform 150ms ease;
}

.w40iq-deployment-planner-guest__trash.is-active .w40iq-deployment-planner-guest__trash-icon {
	filter: drop-shadow(0 0 14px rgba(243, 198, 59, 0.8)) drop-shadow(0 8px 12px rgba(0, 0, 0, 0.48));
	transform: scale(1.06) rotate(-2deg);
}

.w40iq-deployment-planner-guest__trash strong {
	color: #fff;
	font-size: 0.95rem;
	line-height: 1.15;
}

.w40iq-deployment-planner-guest__trash > span:not(.w40iq-deployment-planner-guest__trash-icon) {
	color: rgba(240, 217, 166, 0.72);
	font-size: 0.78rem;
	line-height: 1.25;
}

.w40iq-deployment-planner-guest__tool-modes {
	display: grid;
	gap: 10px;
	align-content: start;
	padding: 8px;
	background: rgba(11, 10, 7, 0.62);
	border: 1px solid rgba(240, 217, 166, 0.22);
	border-radius: 6px;
}

.w40iq-deployment-planner-guest__tool-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 96px;
	min-height: 96px;
	padding: 4px;
	color: #fff;
	background: #15130d;
	border: 1px solid rgba(240, 217, 166, 0.36);
	border-radius: 5px;
	cursor: pointer;
	font: inherit;
	font-size: 0.84rem;
	font-weight: 700;
	line-height: 1.1;
	text-align: center;
	transition: background 150ms ease, border-color 150ms ease, color 150ms ease, transform 150ms ease;
}

.w40iq-deployment-planner-guest__tool-button img {
	display: block;
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: contain;
	border-radius: 3px;
	pointer-events: none;
}

.w40iq-deployment-planner-guest__tool-button:hover,
.w40iq-deployment-planner-guest__tool-button:focus-visible {
	border-color: var(--w40iq-warning-yellow);
	transform: translateY(-1px);
}

.w40iq-deployment-planner-guest__tool-button.is-active {
	color: var(--w40iq-scrap-black);
	background: linear-gradient(180deg, var(--w40iq-warning-yellow), #c9941c);
	border-color: rgba(0, 0, 0, 0.5);
	box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.22), 0 0 0 2px rgba(243, 198, 59, 0.36);
}

.w40iq-deployment-planner-guest__tool-button.is-active img {
	filter: saturate(1.08) contrast(1.08);
}

.w40iq-deployment-planner-guest__select-tool {
	display: none;
}

.w40iq-deployment-planner-guest__phase-nav {
	display: grid;
	gap: 7px;
	margin-top: 0;
	padding-top: 12px;
	border-top: 1px solid rgba(240, 217, 166, 0.24);
}

.w40iq-deployment-planner-guest__phase-title {
	color: rgba(240, 217, 166, 0.72);
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.05em;
	line-height: 1.2;
	text-transform: uppercase;
}

.w40iq-deployment-planner-guest__phase-item {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 5px;
	align-items: stretch;
}

.w40iq-deployment-planner-guest__phase-item:first-of-type {
	grid-template-columns: minmax(0, 1fr);
}

.w40iq-deployment-planner-guest__phase-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 34px;
	padding: 6px 8px;
	color: #fff;
	background: rgba(21, 19, 13, 0.95);
	border: 1px solid rgba(240, 217, 166, 0.32);
	border-radius: 5px;
	cursor: pointer;
	font: inherit;
	font-size: 0.78rem;
	font-weight: 800;
	line-height: 1.1;
	text-align: center;
	transition: background 150ms ease, border-color 150ms ease, color 150ms ease, transform 150ms ease;
}

.w40iq-deployment-planner-guest__phase-button:hover,
.w40iq-deployment-planner-guest__phase-button:focus-visible {
	border-color: var(--w40iq-warning-yellow);
	transform: translateY(-1px);
}

.w40iq-deployment-planner-guest__phase-button.is-active {
	color: var(--w40iq-scrap-black);
	background: linear-gradient(180deg, var(--w40iq-grot-green), #49b900);
	border-color: rgba(0, 0, 0, 0.48);
	box-shadow: inset 0 -3px 0 rgba(0, 79, 27, 0.65);
}

.w40iq-deployment-planner-guest__phase-remove {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 28px;
	min-height: 34px;
	padding: 0;
	color: rgba(255, 255, 255, 0.9);
	background: rgba(169, 15, 15, 0.42);
	border: 1px solid rgba(240, 217, 166, 0.28);
	border-radius: 5px;
	cursor: pointer;
	font: inherit;
	font-size: 0.8rem;
	font-weight: 900;
	line-height: 1;
	transition: background 150ms ease, border-color 150ms ease, transform 150ms ease;
}

.w40iq-deployment-planner-guest__phase-remove:hover,
.w40iq-deployment-planner-guest__phase-remove:focus-visible {
	background: var(--w40iq-blood-red);
	border-color: var(--w40iq-warning-yellow);
	transform: translateY(-1px);
}

.w40iq-deployment-planner-guest__phase-move {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 34px;
	padding: 6px 8px;
	color: var(--w40iq-scrap-black);
	background: linear-gradient(180deg, var(--w40iq-warning-yellow), #caa12b);
	border: 1px solid rgba(0, 0, 0, 0.42);
	border-radius: 5px;
	cursor: pointer;
	font: inherit;
	font-size: 0.7rem;
	font-weight: 900;
	line-height: 1;
	transition: filter 150ms ease, transform 150ms ease;
}

.w40iq-deployment-planner-guest__phase-move:hover,
.w40iq-deployment-planner-guest__phase-move:focus-visible {
	filter: brightness(1.08);
	transform: translateY(-1px);
}

.w40iq-deployment-planner-guest__phase-button--add {
	color: var(--w40iq-warning-yellow);
	border-style: dashed;
}

.w40iq-deployment-planner-guest__phase-button--deploy {
	color: var(--w40iq-scrap-black);
	background: linear-gradient(180deg, var(--w40iq-warning-yellow), #caa12b);
	border-color: rgba(0, 0, 0, 0.42);
}

.w40iq-deployment-planner-guest__phase-button--add:disabled {
	cursor: not-allowed;
	filter: grayscale(1);
	opacity: 0.48;
	transform: none;
}

.w40iq-deployment-planner-guest__save-button--deployment {
	min-width: 148px;
}

.w40iq-deployment-planner-guest__add-unit-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 36px;
	padding: 7px 12px;
	color: var(--w40iq-scrap-black);
	background: linear-gradient(180deg, var(--w40iq-warning-yellow), #c9941c);
	border: 1px solid rgba(0, 0, 0, 0.42);
	border-radius: 6px;
	cursor: pointer;
	font: inherit;
	font-weight: 700;
	box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.22);
	transition: filter 150ms ease, transform 150ms ease;
}

.w40iq-deployment-planner-guest__add-unit-button:hover {
	filter: brightness(1.06);
	transform: translateY(-1px);
}

.w40iq-deployment-planner-guest__add-unit-button:focus-visible {
	outline: 3px solid var(--w40iq-grot-green);
	outline-offset: 2px;
}

.w40iq-deployment-planner-guest__lock-icon {
	display: inline-block;
	width: 28px;
	height: 28px;
	background: url("../images/lock-open.webp") center / contain no-repeat;
	filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.42));
}

.w40iq-deployment-planner-guest__lock-icon::before {
	content: none;
}

.w40iq-deployment-planner-guest.is-locked .w40iq-deployment-planner-guest__lock-icon {
	background-image: url("../images/lock-closed.webp");
}

.w40iq-deployment-planner-guest__workspace-wrap {
	padding: 8px;
	overflow-x: auto;
}

.w40iq-deployment-planner-guest.has-image:not(.is-locked) .w40iq-deployment-planner-guest__workspace-wrap {
	padding-bottom: clamp(120px, 22vh, 260px);
}

.w40iq-deployment-planner-guest__workspace-shell {
	--w40iq-planner-zoom: 1;
	position: relative;
	display: grid;
	grid-template-columns: 112px minmax(0, 1fr) 150px;
	gap: 8px;
	align-items: start;
	width: 100%;
	margin: 0;
}

.w40iq-deployment-planner-guest__right-rail {
	grid-column: 3;
	display: grid;
	gap: 10px;
	align-content: start;
}

.w40iq-deployment-planner-guest__workspace {
	box-sizing: content-box;
	position: relative;
	z-index: 2;
	width: calc(100% - 6px);
	aspect-ratio: var(--w40iq-map-ratio);
	margin: 0;
	overflow: hidden;
	background:
		linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent),
		#dbceaa;
	border: 3px solid #050403;
	outline: 1px solid rgba(240, 217, 166, 0.28);
	box-shadow:
		inset 0 0 0 2px rgba(109, 252, 0, 0.12),
		0 10px 28px rgba(0, 0, 0, 0.4);
	touch-action: pan-y;
}

.w40iq-deployment-planner-guest:not(.is-locked) .w40iq-deployment-planner-guest__workspace,
.w40iq-deployment-planner-guest.is-dragging .w40iq-deployment-planner-guest__workspace,
.w40iq-deployment-planner-guest.is-unit-dragging .w40iq-deployment-planner-guest__workspace,
.w40iq-deployment-planner-guest.is-measurement-dragging .w40iq-deployment-planner-guest__workspace,
.w40iq-deployment-planner-guest.is-measure-tool .w40iq-deployment-planner-guest__workspace,
.w40iq-deployment-planner-guest.is-circle-tool .w40iq-deployment-planner-guest__workspace,
.w40iq-deployment-planner-guest.is-select-tool .w40iq-deployment-planner-guest__workspace {
	touch-action: none;
}

.w40iq-deployment-planner-guest:not(.has-image) .w40iq-deployment-planner-guest__workspace {
	touch-action: pan-y;
}

.w40iq-deployment-planner-guest__zoom-indicator {
	position: absolute;
	top: 10px;
	left: 50%;
	z-index: 20;
	padding: 6px 10px;
	color: var(--w40iq-scrap-black);
	background: rgba(243, 198, 59, 0.92);
	border: 1px solid rgba(11, 10, 7, 0.52);
	border-radius: 999px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.32);
	font-size: 0.78rem;
	font-weight: 900;
	line-height: 1;
	opacity: 0;
	pointer-events: none;
	transform: translateX(-50%) translateY(-4px);
	transition: opacity 140ms ease, transform 140ms ease;
}

.w40iq-deployment-planner-guest__zoom-indicator.is-visible {
	opacity: 1;
	transform: translateX(-50%) translateY(0);
}

.w40iq-deployment-planner-guest.is-unit-dragging .w40iq-deployment-planner-guest__workspace {
	z-index: 2;
}

.w40iq-deployment-planner-guest.is-unit-dragging .w40iq-deployment-planner-guest__trash {
	z-index: 3;
}

.w40iq-deployment-planner-guest.is-dragging .w40iq-deployment-planner-guest__trash,
.w40iq-deployment-planner-guest.is-image-transforming .w40iq-deployment-planner-guest__trash {
	z-index: 6;
}

.w40iq-deployment-planner-guest.is-measurement-dragging .w40iq-deployment-planner-guest__workspace {
	z-index: 2;
	overflow: hidden;
}

.w40iq-deployment-planner-guest.is-measurement-dragging .w40iq-deployment-planner-guest__trash {
	z-index: 6;
}

.w40iq-deployment-planner-guest__grid {
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(90, 74, 48, 0.22) 1px, transparent 1px),
		linear-gradient(90deg, rgba(90, 74, 48, 0.22) 1px, transparent 1px);
	background-size: var(--w40iq-grid-cell-x, 10%) var(--w40iq-grid-cell-y, 13.636%);
	pointer-events: none;
	z-index: 1;
}

.w40iq-deployment-planner-guest__image-layer {
	position: absolute;
	inset: 0;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	transform-origin: center center;
	cursor: grab;
}

.w40iq-deployment-planner-guest__image-frame {
	position: relative;
	width: var(--w40iq-image-frame-width, 100%);
	height: var(--w40iq-image-frame-height, 100%);
}

.w40iq-deployment-planner-guest__image-controls {
	position: absolute;
	inset: 0;
	z-index: 20;
	pointer-events: none;
}

.w40iq-deployment-planner-guest.has-image:not(.is-locked) .w40iq-deployment-planner-guest__image-controls,
.w40iq-deployment-planner-guest.is-image-transforming .w40iq-deployment-planner-guest__image-controls {
	position: fixed;
	inset: 0;
	z-index: 2147483002;
}

.w40iq-deployment-planner-guest__image-handle {
	position: absolute;
	z-index: 1;
	display: block;
	width: 22px;
	height: 22px;
	padding: 0;
	background: var(--w40iq-warning-yellow);
	border: 3px solid #050403;
	border-radius: 50%;
	box-shadow: 0 0 0 2px rgba(240, 217, 166, 0.72), 0 5px 12px rgba(0, 0, 0, 0.45);
	cursor: nwse-resize;
	opacity: 0;
	pointer-events: none;
	touch-action: none;
	transform: translate(-50%, -50%);
	transition: opacity 120ms ease, transform 120ms ease;
}

.w40iq-deployment-planner-guest.has-image:not(.is-locked) .w40iq-deployment-planner-guest__image-handle,
.w40iq-deployment-planner-guest.has-image:not(.is-locked).is-image-transforming .w40iq-deployment-planner-guest__image-handle {
	opacity: 1;
	pointer-events: auto;
}

.w40iq-deployment-planner-guest__image-handle::before {
	content: "";
	position: absolute;
	inset: 5px;
	border: 2px solid rgba(5, 4, 3, 0.8);
	border-radius: 50%;
}

.w40iq-deployment-planner-guest__image-handle.is-nw {
	top: 8px;
	left: 8px;
}

.w40iq-deployment-planner-guest__image-handle.is-n,
.w40iq-deployment-planner-guest__image-handle.is-s {
	cursor: ns-resize;
}

.w40iq-deployment-planner-guest__image-handle.is-ne {
	top: 8px;
	right: 8px;
	cursor: nesw-resize;
}

.w40iq-deployment-planner-guest__image-handle.is-e,
.w40iq-deployment-planner-guest__image-handle.is-w {
	cursor: ew-resize;
}

.w40iq-deployment-planner-guest__image-handle.is-se {
	right: 8px;
	bottom: 8px;
}

.w40iq-deployment-planner-guest__image-handle.is-sw {
	bottom: 8px;
	left: 8px;
	cursor: nesw-resize;
}

.w40iq-deployment-planner-guest__deployment-zone-layer {
	position: absolute;
	inset: 0;
	z-index: 3;
	width: 100%;
	height: 100%;
	pointer-events: none;
}

.w40iq-deployment-planner-guest__zone-a {
	fill: rgba(198, 60, 60, 0.28);
}

.w40iq-deployment-planner-guest__zone-b {
	fill: rgba(58, 122, 196, 0.28);
}

.w40iq-deployment-planner-guest__terrain-layer {
	position: absolute;
	inset: 0;
	z-index: 4;
	width: 100%;
	height: 100%;
	pointer-events: none;
}

.w40iq-deployment-planner-guest__terrain-footprint {
	fill: rgb(157, 150, 136);
	stroke: rgb(88, 80, 64);
	stroke-width: 0.15;
	vector-effect: non-scaling-stroke;
}

.w40iq-deployment-planner-guest__objective-marker {
	stroke: rgb(255, 255, 255);
	stroke-width: 0.18;
	vector-effect: non-scaling-stroke;
}

.w40iq-deployment-planner-guest__objective-marker--attacker, .w40iq-deployment-planner-guest__objective-icon-eye--attacker, .w40iq-deployment-planner-guest__objective-icon-door--attacker {
	fill: rgb(192, 57, 43);
}

.w40iq-deployment-planner-guest__objective-marker--defender, .w40iq-deployment-planner-guest__objective-icon-eye--defender, .w40iq-deployment-planner-guest__objective-icon-door--defender {
	fill: rgb(46, 109, 164);
}

.w40iq-deployment-planner-guest__objective-marker--central, .w40iq-deployment-planner-guest__objective-icon-eye--central {
	fill: rgb(31, 138, 112);
}

.w40iq-deployment-planner-guest__objective-marker--expansion, .w40iq-deployment-planner-guest__objective-icon-eye--expansion {
	fill: rgb(39, 174, 96);
}

.w40iq-deployment-planner-guest__objective-icon {
	fill: rgb(255, 255, 255);
	pointer-events: none;
}

.w40iq-deployment-planner-guest__terrain-piece {
	vector-effect: non-scaling-stroke;
	stroke-width: 0.25;
}

.w40iq-deployment-planner-guest__terrain-piece--dense {
	fill: rgb(35, 143, 59);
	stroke: rgb(67, 220, 101);
}

.w40iq-deployment-planner-guest__terrain-piece--light {
	fill: rgb(168, 120, 8);
	stroke: rgb(255, 210, 55);
}

.w40iq-deployment-planner-guest__terrain-detail {
	fill: none;
	stroke: rgba(15, 20, 17, 0.55);
	stroke-width: 0.18;
	vector-effect: non-scaling-stroke;
	pointer-events: none;
}

.w40iq-deployment-planner-guest__gw-layout small {
	display: block;
	margin-top: 4px;
	opacity: 0.7;
	font-size: 11px;
	line-height: 1.3;
}

.w40iq-deployment-planner-guest__unit-layer {
	position: absolute;
	inset: 0;
	z-index: 6;
	pointer-events: none;
}

.w40iq-deployment-planner-guest__measure-layer {
	position: absolute;
	inset: 0;
	z-index: 5;
	width: 100%;
	height: 100%;
	pointer-events: none;
	overflow: visible;
}

.w40iq-deployment-planner-guest__unit-marker {
	--w40iq-unit-color: var(--w40iq-grot-green);
	--w40iq-unit-text: var(--w40iq-scrap-black);
	appearance: none;
	position: absolute;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	color: var(--w40iq-unit-text);
	background: var(--w40iq-unit-color);
	border: 2px solid rgba(11, 10, 7, 0.9);
	box-shadow:
		inset 0 0 0 1px rgba(255, 255, 255, 0.22),
		0 3px 8px rgba(0, 0, 0, 0.36);
	cursor: grab;
	font: inherit;
	font-size: clamp(0.42rem, 0.9vw, 0.78rem);
	font-weight: 800;
	line-height: 1;
	pointer-events: auto;
	text-align: center;
	touch-action: none;
	transform: translate(-50%, -50%) rotate(var(--w40iq-unit-rotation, 0deg));
	user-select: none;
}

.w40iq-deployment-planner-guest__unit-marker.is-circle {
	border-radius: 50%;
}

.w40iq-deployment-planner-guest__unit-marker.is-oval {
	border-radius: 50%;
	background: var(--w40iq-unit-color);
	border-style: solid;
	overflow: hidden;
}

.w40iq-deployment-planner-guest__unit-marker.is-hull {
	border-radius: 5px;
	color: #fff;
	background:
		repeating-linear-gradient(135deg, rgba(169, 15, 15, 0.38) 0 6px, rgba(11, 10, 7, 0.2) 6px 12px),
		var(--w40iq-unit-color);
	border-style: dashed;
}

.w40iq-deployment-planner-guest__unit-marker.is-shape-circle {
	border-radius: 50%;
}

.w40iq-deployment-planner-guest__unit-marker.is-shape-oval {
	border-radius: 50%;
	background: var(--w40iq-unit-color);
	border-style: solid;
	overflow: hidden;
}

.w40iq-deployment-planner-guest__unit-marker.is-shape-capsule {
	border-radius: 999px;
	background: var(--w40iq-unit-color);
	border-style: solid;
	overflow: hidden;
}

.w40iq-deployment-planner-guest__unit-marker.is-shape-rectangle {
	border-radius: 4px;
	clip-path: none;
}

.w40iq-deployment-planner-guest__unit-marker.is-shape-rounded {
	border-radius: 10px;
	clip-path: none;
}

.w40iq-deployment-planner-guest__unit-marker.is-shape-stompa {
	border-radius: 16px;
	clip-path: polygon(22% 0, 78% 0, 100% 24%, 100% 76%, 78% 100%, 22% 100%, 0 76%, 0 24%);
}

.w40iq-deployment-planner-guest__unit-marker.is-shape-land-raider {
	border-radius: 7px;
	clip-path: polygon(0 18%, 28% 18%, 28% 2%, 72% 2%, 72% 18%, 100% 18%, 100% 82%, 72% 82%, 72% 98%, 28% 98%, 28% 82%, 0 82%);
}

.w40iq-deployment-planner-guest__unit-marker.is-shape-blob {
	border-radius: 42% 58% 48% 52% / 54% 42% 58% 46%;
}

.w40iq-deployment-planner-guest__unit-marker.is-selected {
	outline: 3px solid var(--w40iq-warning-yellow);
	outline-offset: 2px;
	z-index: 3;
}

.w40iq-deployment-planner-guest__unit-marker.is-coherency-broken {
	outline: 3px solid #e42020;
	outline-offset: 4px;
	box-shadow:
		0 0 0 4px rgba(228, 32, 32, 0.18),
		0 0 14px rgba(228, 32, 32, 0.42),
		inset 0 0 0 1px rgba(255, 255, 255, 0.22),
		0 3px 8px rgba(0, 0, 0, 0.36);
}

.w40iq-deployment-planner-guest__unit-marker.is-drag-source {
	opacity: 0;
}

.w40iq-deployment-planner-guest__unit-marker.is-grouped::after {
	content: "";
	position: absolute;
	right: -3px;
	bottom: -3px;
	width: 8px;
	height: 8px;
	background: var(--w40iq-warning-yellow);
	border: 1px solid rgba(11, 10, 7, 0.9);
	border-radius: 50%;
}

.w40iq-deployment-planner-guest__unit-marker.is-transport {
	box-shadow:
		0 0 0 3px rgba(243, 198, 59, 0.42),
		inset 0 0 0 1px rgba(255, 255, 255, 0.22),
		0 3px 8px rgba(0, 0, 0, 0.36);
}

.w40iq-deployment-planner-guest__unit-marker .w40iq-deployment-planner-guest__transport-badge {
	position: absolute;
	right: -7px;
	top: -7px;
	display: grid;
	place-items: center;
	min-width: 18px;
	height: 18px;
	padding: 0 4px;
	color: #111;
	background: var(--w40iq-warning-yellow);
	border: 1px solid rgba(11, 10, 7, 0.9);
	border-radius: 999px;
	cursor: pointer;
	font-size: 0.62rem;
	font-weight: 950;
	line-height: 1;
	pointer-events: auto;
	z-index: 4;
}

.w40iq-deployment-planner-guest__transport-popover {
	position: absolute;
	left: 50%;
	bottom: calc(100% + 10px);
	z-index: 9;
	display: none;
	width: max-content;
	min-width: 150px;
	max-width: 240px;
	padding: 8px;
	color: #fff5df;
	background: rgba(11, 10, 7, 0.96);
	border: 1px solid rgba(243, 198, 59, 0.72);
	border-radius: 6px;
	box-shadow: 0 8px 18px rgba(0, 0, 0, 0.55);
	font-size: 0.68rem;
	line-height: 1.25;
	pointer-events: none;
	text-align: left;
	transform: translateX(-50%) rotate(calc(var(--w40iq-unit-rotation, 0deg) * -1));
}


.w40iq-deployment-planner-guest.is-unit-dragging .w40iq-deployment-planner-guest__transport-popover {
	display: none !important;
}

.w40iq-deployment-planner-guest__unit-marker:hover .w40iq-deployment-planner-guest__transport-popover,
.w40iq-deployment-planner-guest__unit-marker:focus-visible .w40iq-deployment-planner-guest__transport-popover,
.w40iq-deployment-planner-guest__unit-marker:focus-within .w40iq-deployment-planner-guest__transport-popover,
.w40iq-deployment-planner-guest__unit-marker.is-transport-preview .w40iq-deployment-planner-guest__transport-popover {
	display: grid;
	gap: 5px;
}

.w40iq-deployment-planner-guest__transport-popover strong {
	color: var(--w40iq-warning-yellow);
	font-size: 0.66rem;
	text-transform: uppercase;
}

.w40iq-deployment-planner-guest__transport-list {
	display: grid;
	gap: 3px;
}

.w40iq-deployment-planner-guest__unit-marker .w40iq-deployment-planner-guest__transport-list span {
	display: block;
	overflow: visible;
	padding: 0;
	color: inherit;
	text-overflow: clip;
	white-space: normal;
}

.w40iq-deployment-planner-guest__transport-popover::after {
	content: "";
	position: absolute;
	left: 50%;
	top: 100%;
	border: 6px solid transparent;
	border-top-color: rgba(243, 198, 59, 0.72);
	transform: translateX(-50%);
}

.w40iq-deployment-planner-guest__unit-marker span {
	display: block;
	max-width: 100%;
	overflow: hidden;
	padding: 2px;
	text-overflow: clip;
	white-space: nowrap;
	pointer-events: none;
}

.w40iq-deployment-planner-guest__rotation-control {
	position: absolute;
	z-index: 10;
	border: 2px solid rgba(243, 198, 59, 0.92);
	border-radius: 50%;
	box-shadow:
		0 0 0 1px rgba(11, 10, 7, 0.82),
		0 0 12px rgba(243, 198, 59, 0.28);
	pointer-events: none;
	transform: translate(-50%, -50%);
}

.w40iq-deployment-planner-guest__rotation-arrow {
	position: absolute;
	left: 50%;
	top: 50%;
	width: 2px;
	height: calc(50% + 12px);
	background: linear-gradient(to top, rgba(243, 198, 59, 0), var(--w40iq-warning-yellow));
	border-radius: 999px;
	transform: translate(-50%, -100%) rotate(var(--w40iq-selection-rotation, 0deg));
	transform-origin: 50% 100%;
	pointer-events: none;
}

.w40iq-deployment-planner-guest__rotation-arrow::before {
	content: "";
	position: absolute;
	left: 50%;
	top: -4px;
	width: 9px;
	height: 9px;
	border-top: 2px solid var(--w40iq-warning-yellow);
	border-right: 2px solid var(--w40iq-warning-yellow);
	transform: translateX(-50%) rotate(-45deg);
}

.w40iq-deployment-planner-guest__rotation-distance-label {
	position: absolute;
	left: 50%;
	bottom: -6px;
	z-index: 2;
	min-width: 30px;
	padding: 2px 6px;
	color: var(--w40iq-warning-yellow);
	background: rgba(11, 10, 7, 0.9);
	border: 1px solid rgba(243, 198, 59, 0.86);
	border-radius: 999px;
	box-shadow: 0 2px 7px rgba(0, 0, 0, 0.55);
	font-size: 12px;
	font-weight: 900;
	line-height: 1.15;
	text-align: center;
	text-shadow: 0 1px 2px #000;
	transform: translate(-50%, 100%);
	pointer-events: none;
}

.w40iq-deployment-planner-guest__rotation-handle {
	position: absolute;
	width: 20px;
	height: 20px;
	padding: 0;
	background: var(--w40iq-warning-yellow);
	border: 2px solid rgba(11, 10, 7, 0.92);
	border-radius: 50%;
	box-shadow: 0 3px 8px rgba(0, 0, 0, 0.48);
	cursor: grab;
	pointer-events: auto;
	touch-action: none;
	transform: translate(-50%, -50%);
}

.w40iq-deployment-planner-guest__rotation-handle:active {
	cursor: grabbing;
}

.w40iq-deployment-planner-guest__unit-inline-controls {
	position: absolute;
	z-index: 8;
	display: inline-flex;
	gap: 4px;
	transform: translate(-50%, calc(-100% - 12px));
	pointer-events: auto;
}

.w40iq-deployment-planner-guest__unit-inline-button {
	min-width: 32px;
	min-height: 24px;
	padding: 2px 5px;
	color: var(--w40iq-scrap-black);
	background: var(--w40iq-warning-yellow);
	border: 1px solid rgba(11, 10, 7, 0.82);
	border-radius: 4px;
	cursor: pointer;
	font: inherit;
	font-size: 0.68rem;
	font-weight: 900;
	line-height: 1;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.42);
}

.w40iq-deployment-planner-guest__unit-inline-button:hover,
.w40iq-deployment-planner-guest__unit-inline-button:focus-visible {
	background: #ffe07a;
}

.w40iq-deployment-planner-guest__unit-action-menu {
	position: absolute;
	z-index: 30;
	display: flex;
	flex-direction: column;
	gap: 6px;
	width: max-content;
	max-width: 260px;
	pointer-events: auto;
}

.w40iq-deployment-planner-guest__unit-action-menu.is-right {
	align-items: flex-start;
	transform: translate(2px, -50%);
}

.w40iq-deployment-planner-guest__unit-action-menu.is-left {
	align-items: flex-end;
	transform: translate(calc(-100% - 2px), -50%);
}

@media (max-width: 980px), (pointer: coarse) {
	.w40iq-deployment-planner-guest__unit-action-menu.is-right {
		transform: translate(8px, -50%);
	}

	.w40iq-deployment-planner-guest__unit-action-menu.is-left {
		transform: translate(calc(-100% - 8px), -50%);
	}
}

.w40iq-deployment-planner-guest__unit-action-toggle {
	position: relative;
	z-index: 31;
	min-height: 30px;
	padding: 5px 10px;
	color: var(--w40iq-scrap-black);
	background: var(--w40iq-warning-yellow);
	border: 1px solid rgba(11, 10, 7, 0.86);
	border-radius: 999px;
	cursor: pointer;
	font: inherit;
	font-size: 0.76rem;
	font-weight: 900;
	box-shadow: 0 3px 8px rgba(0, 0, 0, 0.46);
}

.w40iq-deployment-planner-guest__unit-action-body {
	display: grid;
	gap: 7px;
	padding: 8px;
	background: rgba(11, 10, 7, 0.9);
	border: 1px solid rgba(243, 198, 59, 0.56);
	border-radius: 7px;
	box-shadow: 0 8px 18px rgba(0, 0, 0, 0.5);
}

.w40iq-deployment-planner-guest__unit-action-row {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	align-items: center;
}

.w40iq-deployment-planner-guest__unit-action-names {
	display: grid;
	gap: 5px;
	min-width: 190px;
	max-width: 244px;
	padding: 0 0 6px;
	border-bottom: 1px solid rgba(240, 217, 166, 0.18);
}

.w40iq-deployment-planner-guest__unit-action-name-list {
	display: flex;
	flex-wrap: wrap;
	gap: 5px;
	min-width: 0;
}

.w40iq-deployment-planner-guest__unit-action-name {
	max-width: 100%;
	padding: 3px 7px;
	color: #fff5df;
	background: rgba(240, 217, 166, 0.12);
	border: 1px solid rgba(240, 217, 166, 0.28);
	border-radius: 999px;
	font-size: 0.72rem;
	font-weight: 800;
	line-height: 1.15;
	overflow-wrap: anywhere;
}

.w40iq-deployment-planner-guest__unit-action-label {
	min-width: 58px;
	color: rgba(255, 246, 216, 0.88);
	font-size: 0.75rem;
	font-weight: 900;
	text-transform: uppercase;
}

.w40iq-deployment-planner-guest__unit-action-input {
	width: 62px;
	min-height: 32px;
	color: #fff5df;
	caret-color: var(--w40iq-warning-yellow);
	color-scheme: dark;
	background: rgba(21, 19, 13, 0.95);
	border: 1px solid rgba(240, 217, 166, 0.32);
	border-radius: 4px;
	font: inherit;
	font-size: 0.82rem;
	font-weight: 800;
	text-align: center;
}

.w40iq-deployment-planner-guest__selection-box {
	position: absolute;
	z-index: 7;
	background: rgba(243, 198, 59, 0.16);
	border: 2px dashed var(--w40iq-warning-yellow);
	box-shadow: 0 0 0 1px rgba(11, 10, 7, 0.65);
	pointer-events: none;
}

.w40iq-deployment-planner-guest__measurement {
	pointer-events: auto;
	cursor: grab;
}

.w40iq-deployment-planner-guest__measurement.is-drag-source {
	opacity: 1;
	pointer-events: none;
}

.w40iq-deployment-planner-guest.is-measurement-delete-preview .w40iq-deployment-planner-guest__measurement.is-drag-source {
	opacity: 0;
}

.w40iq-deployment-planner-guest__measurement.is-protection {
	pointer-events: none;
	cursor: default;
}

.w40iq-deployment-planner-guest__measurement-hit {
	stroke: transparent;
	stroke-width: 22;
	vector-effect: non-scaling-stroke;
	pointer-events: stroke;
}

.w40iq-deployment-planner-guest__measurement-line {
	stroke: #e42020;
	stroke-width: 4;
	stroke-linecap: round;
	vector-effect: non-scaling-stroke;
	filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.72));
}

.w40iq-deployment-planner-guest__measurement-circle {
	fill: rgba(228, 32, 32, 0.08);
	stroke: #e42020;
	stroke-width: 3;
	stroke-dasharray: 2 1.4;
	vector-effect: non-scaling-stroke;
	filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.7));
}

.w40iq-deployment-planner-guest__circle-hit {
	fill: transparent;
	stroke: transparent;
	stroke-width: 24;
	vector-effect: non-scaling-stroke;
	pointer-events: visibleStroke;
}

.w40iq-deployment-planner-guest__protection-fill-group {
	fill: #6dfc00;
	opacity: 0;
	pointer-events: none;
}

.w40iq-deployment-planner-guest__protection-bubble {
	stroke: none;
}

.w40iq-deployment-planner-guest__protection-shell {
	fill: rgba(72, 255, 92, 0.12);
	stroke: rgba(12, 105, 27, 0.88);
	stroke-width: var(--w40iq-protection-stroke, 0.28);
	stroke-linecap: round;
	stroke-linejoin: round;
	filter:
		drop-shadow(0 0.5px 1px rgba(0, 0, 0, 0.62))
		drop-shadow(0 0 3px rgba(109, 252, 0, 0.24));
	pointer-events: none;
}

.w40iq-deployment-planner-guest__protection-hit {
	fill: rgba(0, 0, 0, 0.001);
	stroke: transparent;
	pointer-events: none;
}

.w40iq-deployment-planner-guest__measurement-line,
.w40iq-deployment-planner-guest__measurement:not(.is-protection) path {
	fill: #e42020;
}

.w40iq-deployment-planner-guest__measurement.is-protection .w40iq-deployment-planner-guest__protection-shell {
	fill: rgba(72, 255, 92, 0.12);
	stroke: rgba(12, 105, 27, 0.88);
}

.w40iq-deployment-planner-guest__measurement.is-merged-protection .w40iq-deployment-planner-guest__protection-shell {
	fill: #48ff5c;
	stroke: transparent;
	filter: none;
}

.w40iq-deployment-planner-guest__protection-merged-fill {
	opacity: 0.18;
}

.w40iq-deployment-planner-guest__protection-merged-outline {
	opacity: 1;
	pointer-events: none;
}

.w40iq-deployment-planner-guest__protection-merged-outline .w40iq-deployment-planner-guest__protection-shell {
	fill: #000;
	stroke: none;
	opacity: 1;
}

.w40iq-deployment-planner-guest__coherency-guide {
	pointer-events: none;
}

.w40iq-deployment-planner-guest__coherency-line {
	stroke: rgba(85, 255, 106, 0.72);
	stroke-width: 4.2;
	vector-effect: non-scaling-stroke;
	filter:
		drop-shadow(0 1px 2px rgba(0, 0, 0, 0.82))
		drop-shadow(0 0 4px rgba(85, 255, 106, 0.34));
	stroke-linecap: round;
}

.w40iq-deployment-planner-guest__coherency-label {
	fill: #b8ff9b;
	stroke: rgba(0, 0, 0, 0.76);
	stroke-width: 0.38;
	paint-order: stroke;
	font-size: 2.4px;
	font-weight: 900;
	text-anchor: middle;
	dominant-baseline: central;
}

.w40iq-deployment-planner-guest__coherency-guide.is-broken .w40iq-deployment-planner-guest__coherency-line {
	stroke: rgba(228, 32, 32, 0.9);
	stroke-width: 5;
	stroke-dasharray: 2.4 1.5;
	filter:
		drop-shadow(0 1px 2px rgba(0, 0, 0, 0.88))
		drop-shadow(0 0 5px rgba(228, 32, 32, 0.42));
}

.w40iq-deployment-planner-guest__coherency-guide.is-broken .w40iq-deployment-planner-guest__coherency-label {
	fill: #ff1f1f;
	stroke: #050403;
	stroke-width: 0.72;
	font-size: 3.15px;
	filter:
		drop-shadow(0 1px 2px rgba(0, 0, 0, 0.95))
		drop-shadow(0 0 4px rgba(255, 31, 31, 0.72));
}

.w40iq-deployment-planner-guest__coherency-guide.is-focused .w40iq-deployment-planner-guest__coherency-line {
	stroke-width: 5.4;
}

.w40iq-deployment-planner-guest__coherency-warning-ring {
	fill: rgba(228, 32, 32, 0.08);
	stroke: rgba(228, 32, 32, 0.92);
	stroke-width: 3.2;
	stroke-dasharray: 2.5 1.4;
	vector-effect: non-scaling-stroke;
	filter:
		drop-shadow(0 1px 2px rgba(0, 0, 0, 0.88))
		drop-shadow(0 0 7px rgba(228, 32, 32, 0.5));
	pointer-events: none;
}

.w40iq-deployment-planner-guest__measurement-label {
	fill: #fff;
	stroke: rgba(11, 10, 7, 0.88);
	stroke-width: 0.38;
	paint-order: stroke;
	font-size: 2.8px;
	font-weight: 900;
	text-anchor: middle;
	dominant-baseline: central;
	pointer-events: none;
}

.w40iq-deployment-planner-guest__measurement-label.w40iq-deployment-planner-guest__protection-label {
	fill: #b8ff9b;
	stroke: rgba(0, 0, 0, 0.72);
	stroke-width: 0.45;
}

.w40iq-deployment-planner-guest__measurement.is-selected .w40iq-deployment-planner-guest__measurement-line,
.w40iq-deployment-planner-guest__measurement.is-draft .w40iq-deployment-planner-guest__measurement-line {
	stroke: #e42020;
}

.w40iq-deployment-planner-guest__measurement.is-selected .w40iq-deployment-planner-guest__measurement-label {
	fill: var(--w40iq-warning-yellow);
}

.w40iq-deployment-planner-guest__measurement.is-selected .w40iq-deployment-planner-guest__measurement-circle,
.w40iq-deployment-planner-guest__measurement.is-draft .w40iq-deployment-planner-guest__measurement-circle {
	stroke: #e42020;
	fill: rgba(228, 32, 32, 0.13);
}

.w40iq-deployment-planner-guest__measurement.is-snapped .w40iq-deployment-planner-guest__measurement-circle {
	stroke: var(--w40iq-warning-yellow);
	fill: rgba(243, 198, 59, 0.12);
	stroke-width: 4;
	stroke-dasharray: 3 1.2;
	filter:
		drop-shadow(0 2px 2px rgba(0, 0, 0, 0.72))
		drop-shadow(0 0 8px rgba(243, 198, 59, 0.46));
}

.w40iq-deployment-planner-guest__measurement.is-snapped .w40iq-deployment-planner-guest__circle-label {
	fill: var(--w40iq-warning-yellow);
}

.w40iq-deployment-planner-guest.is-coherency-drag-paused .w40iq-deployment-planner-guest__coherency-guide,
.w40iq-deployment-planner-guest.is-coherency-drag-paused .w40iq-deployment-planner-guest__coherency-warning-ring {
	visibility: hidden;
}

.w40iq-deployment-planner-guest.is-storage-drop-preview .w40iq-deployment-planner-guest__coherency-guide,
.w40iq-deployment-planner-guest.is-storage-drop-preview .w40iq-deployment-planner-guest__coherency-warning-ring {
	visibility: hidden;
}

.w40iq-deployment-planner-guest.is-unit-dragging .w40iq-deployment-planner-guest__unit-marker {
	cursor: grabbing;
}

.w40iq-deployment-planner-guest.is-unit-dragging .w40iq-deployment-planner-guest__rotation-control,
.w40iq-deployment-planner-guest.is-unit-dragging .w40iq-deployment-planner-guest__unit-action-menu,
.w40iq-deployment-planner-guest.is-unit-dragging .w40iq-deployment-planner-guest__unit-inline-controls {
	opacity: 0;
	visibility: hidden;
}

.w40iq-deployment-planner-guest__drag-ghost {
	position: fixed !important;
	z-index: 2147483000;
	margin: 0;
	pointer-events: none;
	transform: rotate(var(--w40iq-unit-rotation, 0deg)) !important;
	opacity: 0;
	visibility: hidden;
	filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.55));
}

.w40iq-deployment-planner-guest__drag-ghost.is-delete-preview-active {
	opacity: 0.96;
	visibility: visible;
}

.w40iq-deployment-planner-guest__drag-ghost.is-storage-preview-active {
	opacity: 0.96;
	visibility: visible;
	filter:
		drop-shadow(0 0 12px rgba(109, 252, 0, 0.72))
		drop-shadow(0 10px 18px rgba(0, 0, 0, 0.55));
}

.w40iq-deployment-planner-guest__measurement-drag-ghost {
	position: fixed !important;
	z-index: 2147483001;
	margin: 0;
	overflow: visible;
	pointer-events: none;
	opacity: 0;
	visibility: hidden;
	filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.55));
}

.w40iq-deployment-planner-guest__measurement-drag-ghost.is-delete-preview-active {
	opacity: 1;
	visibility: visible;
}

.w40iq-deployment-planner-guest__measurement-drag-ghost line,
.w40iq-deployment-planner-guest__measurement-drag-ghost circle,
.w40iq-deployment-planner-guest__measurement-drag-ghost polygon {
	fill: rgba(12, 11, 8, 0.38);
	stroke: var(--w40iq-warning-yellow);
	stroke-width: 5;
	stroke-dasharray: 12 8;
}

.w40iq-deployment-planner-guest__measurement-drag-ghost text {
	fill: var(--w40iq-warning-yellow);
	font-size: 20px;
	font-weight: 900;
	paint-order: stroke;
	stroke: rgba(12, 11, 8, 0.9);
	stroke-width: 4px;
	text-anchor: middle;
}

.w40iq-deployment-planner-guest__drag-count {
	position: absolute;
	right: -10px;
	top: -10px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 24px;
	height: 24px;
	padding: 0 5px;
	color: var(--w40iq-scrap-black);
	background: var(--w40iq-warning-yellow);
	border: 2px solid rgba(11, 10, 7, 0.9);
	border-radius: 999px;
	font-size: 0.7rem;
	line-height: 1;
}

.w40iq-deployment-planner-guest.is-dragging .w40iq-deployment-planner-guest__image-layer {
	cursor: grabbing;
}

.w40iq-deployment-planner-guest.is-locked .w40iq-deployment-planner-guest__image-layer {
	cursor: default;
}

.w40iq-deployment-planner-guest__image-layer img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	pointer-events: none;
	user-select: none;
	opacity: 0;
	transition: opacity 180ms ease;
}

.w40iq-deployment-planner-guest.has-image .w40iq-deployment-planner-guest__image-layer img {
	opacity: 1;
}

.w40iq-deployment-planner-guest__empty {
	position: absolute;
	inset: 50% auto auto 50%;
	z-index: 3;
	width: min(420px, calc(100% - 28px));
	transform: translate(-50%, -50%);
	padding: 18px;
	color: var(--w40iq-scrap-black);
	background: var(--w40iq-bone-sign);
	border: 2px solid rgba(0, 0, 0, 0.78);
	border-radius: 6px;
	box-shadow: 7px 7px 0 rgba(0, 0, 0, 0.34);
	cursor: pointer;
	text-align: center;
	transition: border-color 150ms ease, box-shadow 150ms ease, transform 150ms ease;
}

.w40iq-deployment-planner-guest__empty:hover,
.w40iq-deployment-planner-guest__empty:focus-visible {
	border-color: var(--w40iq-warning-yellow);
	box-shadow: 7px 7px 0 rgba(0, 0, 0, 0.34), 0 0 0 3px rgba(243, 198, 59, 0.34);
	outline: 0;
	transform: translate(-50%, -50%) translateY(-1px);
}

.w40iq-deployment-planner-guest__empty strong,
.w40iq-deployment-planner-guest__empty span {
	display: block;
}

.w40iq-deployment-planner-guest__empty strong {
	margin-bottom: 6px;
	font-size: 1.15rem;
	line-height: 1.1;
}

.w40iq-deployment-planner-guest__empty span {
	font-size: 0.94rem;
	line-height: 1.4;
}

@media (max-width: 920px) {
	.w40iq-deployment-planner-guest__library-head,
	.w40iq-deployment-planner-guest__unit-head,
	.w40iq-deployment-planner-guest__toolbar {
		grid-template-columns: 1fr;
	}

	.w40iq-deployment-planner-guest__unit-controls {
		grid-template-columns: 1fr 1fr;
	}

	.w40iq-deployment-planner-guest__library-tools {
		justify-content: flex-start;
		width: 100%;
	}

	.w40iq-deployment-planner-guest__library-tools p {
		text-align: left;
	}

	.w40iq-deployment-planner-guest__army-importer-head {
		display: grid;
		gap: 4px;
	}

	.w40iq-deployment-planner-guest__army-importer-head p {
		max-width: none;
		text-align: left;
		white-space: normal;
	}

	.w40iq-deployment-planner-guest__status,
	.w40iq-deployment-planner-guest__unit-head p,
	.w40iq-deployment-planner-guest__library p {
		max-width: none;
		text-align: left;
	}
}

@media (max-width: 920px) and (orientation: portrait) {
	.w40iq-deployment-planner-guest {
		align-items: stretch;
		border-radius: 0;
		display: flex;
		flex-direction: column;
		gap: 10px;
		justify-content: flex-start;
		min-height: 100svh;
		padding: 10px 12px 14px;
	}

	.w40iq-deployment-planner-guest > :not(.w40iq-deployment-planner-guest__orientation-gate):not(.w40iq-deployment-planner-guest__portrait-header):not(.w40iq-deployment-planner-guest__unit-panel) {
		display: none !important;
	}

	.w40iq-deployment-planner-guest__portrait-header {
		align-items: center;
		align-self: center;
		display: grid;
		grid-template-columns: minmax(0, 1fr) auto;
		gap: 8px;
		min-height: 144px;
		width: min(100%, 480px);
		order: 1;
		position: relative;
		overflow: hidden;
		padding: 14px 12px;
		background:
			linear-gradient(90deg, rgba(11, 10, 7, 0.94) 0%, rgba(18, 50, 27, 0.82) 58%, rgba(0, 79, 27, 0.58) 100%),
			linear-gradient(180deg, #1f321b 0%, #090806 100%);
		border: 0;
		border-bottom: 2px solid rgba(109, 252, 0, 0.52);
		border-radius: 0;
		box-shadow: inset 0 1px 0 rgba(221, 255, 184, 0.1), inset 0 -1px 0 rgba(0, 0, 0, 0.65);
	}

	.w40iq-deployment-planner-guest__portrait-header::before,
	.w40iq-deployment-planner-guest__portrait-header::after {
		display: none;
	}

	.w40iq-deployment-planner-guest__portrait-header p {
		margin: 0;
		color: #6dfc00;
		font-family: Arial, Helvetica, sans-serif;
		font-size: clamp(13px, 4.2vw, 16px);
		font-weight: 800;
		line-height: 1.08;
		text-shadow: 0 2px 0 rgba(0, 0, 0, 0.72);
		text-transform: none;
	}

	.w40iq-deployment-planner-guest__portrait-header h2 {
		margin: 0;
		color: #fff2b8;
		font-family: Arial, Helvetica, sans-serif;
		font-size: clamp(32px, 9.5vw, 40px);
		font-weight: 800;
		line-height: 0.96;
		text-shadow: 0 4px 0 rgba(0, 0, 0, 0.72), 0 0 18px rgba(255, 118, 42, 0.2);
		text-transform: none;
	}

	.w40iq-deployment-planner-guest__portrait-header h2 span {
		color: #6dfc00;
		-webkit-text-fill-color: #6dfc00;
		text-shadow: 0 4px 0 rgba(0, 0, 0, 0.72), 0 0 18px currentColor;
	}

	.w40iq-deployment-planner-guest__portrait-header img {
		width: 112px;
		height: 112px;
		object-fit: contain;
		filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.58));
	}

	.w40iq-deployment-planner-guest__orientation-gate {
		align-items: center;
		align-self: center;
		display: flex;
		flex-direction: column;
		gap: 10px;
		justify-content: center;
		min-height: 0;
		width: min(100%, 480px);
		order: 3;
		padding: 18px 16px;
		color: #fff;
		background:
			linear-gradient(135deg, rgba(169, 15, 15, 0.34), transparent 42%),
			linear-gradient(180deg, rgba(21, 19, 13, 0.96), rgba(11, 10, 7, 0.98));
		border: 2px solid rgba(243, 198, 59, 0.46);
		border-radius: 8px;
		box-shadow: inset 0 0 0 1px rgba(109, 252, 0, 0.18), 0 18px 44px rgba(0, 0, 0, 0.38);
		text-align: center;
	}

	.w40iq-deployment-planner-guest__orientation-phone {
		width: 46px;
		height: 72px;
		margin: 0 0 2px;
		border-width: 3px;
		border-radius: 10px;
		box-shadow: inset 0 -8px 0 rgba(240, 217, 166, 0.16);
	}

	.w40iq-deployment-planner-guest__orientation-phone::before {
		bottom: 5px;
		width: 7px;
		height: 7px;
	}

	.w40iq-deployment-planner-guest__orientation-phone::after {
		display: none;
	}

	.w40iq-deployment-planner-guest__orientation-gate strong {
		display: block;
		max-width: none;
		margin: 0;
		color: var(--w40iq-warning-yellow);
		font-size: 1.12rem;
		line-height: 1.1;
	}

	.w40iq-deployment-planner-guest__orientation-gate span {
		display: block;
		max-width: 34rem;
		margin: 0;
		color: rgba(240, 217, 166, 0.9);
		font-size: 0.82rem;
		line-height: 1.4;
	}

	.w40iq-deployment-planner-guest__unit-panel {
		align-self: center;
		display: block;
		width: min(100%, 480px);
		order: 2;
		padding: 14px;
		background:
			linear-gradient(135deg, rgba(109, 252, 0, 0.1), transparent 44%),
			linear-gradient(180deg, rgba(21, 19, 13, 0.98), rgba(11, 10, 7, 0.98));
		border: 2px solid rgba(240, 217, 166, 0.3);
		border-radius: 8px;
		box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06), 0 14px 32px rgba(0, 0, 0, 0.32);
	}

	.w40iq-deployment-planner-guest__unit-head {
		margin-bottom: 10px;
	}

	.w40iq-deployment-planner-guest__unit-head h3 {
		margin: 0;
		font-size: 1.15rem;
		line-height: 1.1;
	}

	.w40iq-deployment-planner-guest__unit-head p,
	.w40iq-deployment-planner-guest__unit-note,
	.w40iq-deployment-planner-guest__army-importer {
		display: none !important;
	}

	.w40iq-deployment-planner-guest__unit-controls {
		display: grid;
		grid-template-columns: minmax(0, 1fr);
		gap: 10px;
	}

	.w40iq-deployment-planner-guest__unit-search,
	.w40iq-deployment-planner-guest__count,
	.w40iq-deployment-planner-guest__unit-controls > .w40iq-deployment-planner-guest__field,
	.w40iq-deployment-planner-guest__add-unit-button {
		width: 100%;
		min-width: 0;
	}

	.w40iq-deployment-planner-guest__unit-panel input,
	.w40iq-deployment-planner-guest__unit-panel select {
		min-height: 44px;
		font-size: 16px;
	}
}

/* v0.15.200: ruhiger Einstieg mit kompakten, aufklappbaren Arbeitsbereichen. */
.w40iq-deployment-planner-guest__section-card {
	display: block;
	margin: 10px 14px 0;
	padding: 0;
	overflow: visible;
	background: rgba(12, 12, 9, 0.9);
	border: 1px solid rgba(240, 217, 166, 0.2);
	border-radius: 8px;
	box-shadow: 0 5px 16px rgba(0, 0, 0, 0.2);
}

.w40iq-deployment-planner-guest__section-card[hidden] {
	display: none;
}

.w40iq-deployment-planner-guest__section-card:not([open]) > :not(summary) {
	display: none !important;
}

.w40iq-deployment-planner-guest__section-summary {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto 18px;
	align-items: center;
	gap: 12px;
	min-height: 62px;
	padding: 10px 14px;
	color: #fff4ce;
	background:
		linear-gradient(90deg, rgba(243, 198, 59, 0.08), transparent 52%),
		rgba(19, 18, 13, 0.94);
	border-left: 4px solid var(--w40iq-warning-yellow);
	border-radius: 7px;
	cursor: pointer;
	list-style: none;
	transition: background 150ms ease, border-color 150ms ease;
}

.w40iq-deployment-planner-guest__unit-panel > .w40iq-deployment-planner-guest__section-summary {
	background:
		linear-gradient(90deg, rgba(109, 252, 0, 0.08), transparent 52%),
		rgba(19, 18, 13, 0.94);
	border-left-color: var(--w40iq-grot-green);
}

.w40iq-deployment-planner-guest__section-summary::-webkit-details-marker {
	display: none;
}

.w40iq-deployment-planner-guest__section-summary:hover {
	background-color: rgba(34, 32, 23, 0.98);
}

.w40iq-deployment-planner-guest__section-summary:focus-visible {
	outline: 3px solid var(--w40iq-warning-yellow);
	outline-offset: 2px;
}

.w40iq-deployment-planner-guest__section-card[open] > .w40iq-deployment-planner-guest__section-summary {
	border-bottom: 1px solid rgba(240, 217, 166, 0.18);
	border-radius: 7px 7px 0 0;
}

.w40iq-deployment-planner-guest__section-copy {
	display: grid;
	gap: 2px;
	min-width: 0;
}

.w40iq-deployment-planner-guest__section-copy strong {
	color: #fff4ce;
	font-size: 0.96rem;
	font-weight: 850;
	line-height: 1.2;
	letter-spacing: 0.01em;
}

.w40iq-deployment-planner-guest__section-copy small {
	color: rgba(240, 217, 166, 0.66);
	font-size: 0.76rem;
	font-weight: 600;
	line-height: 1.25;
}

.w40iq-deployment-planner-guest__section-count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 28px;
	padding: 5px 10px;
	color: rgba(240, 217, 166, 0.78);
	background: rgba(0, 0, 0, 0.34);
	border: 1px solid rgba(240, 217, 166, 0.2);
	border-radius: 999px;
	font-size: 0.72rem;
	font-weight: 800;
	white-space: nowrap;
}

.w40iq-deployment-planner-guest__section-count.has-items {
	color: #0b0a07;
	background: var(--w40iq-grot-green);
	border-color: rgba(0, 79, 27, 0.82);
}

.w40iq-deployment-planner-guest__section-chevron {
	width: 10px;
	height: 10px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg) translate(-2px, -2px);
	transition: transform 150ms ease;
}

.w40iq-deployment-planner-guest__section-card[open] .w40iq-deployment-planner-guest__section-chevron {
	transform: rotate(225deg) translate(-2px, -2px);
}

.w40iq-deployment-planner-guest__section-card[open] > :not(summary) {
	margin-right: 14px;
	margin-left: 14px;
}

.w40iq-deployment-planner-guest__section-card[open] > :not(summary):not([hidden]) {
	margin-top: 10px;
}

.w40iq-deployment-planner-guest__section-card[open] > :last-child {
	margin-bottom: 14px;
}

.w40iq-deployment-planner-guest__section-card .w40iq-deployment-planner-guest__unit-head {
	display: none;
}

.w40iq-deployment-planner-guest__section-card .w40iq-deployment-planner-guest__library-head {
	align-items: center;
	justify-content: flex-end;
}

.w40iq-deployment-planner-guest__section-card .w40iq-deployment-planner-guest__library-head h3 {
	display: none;
}

.w40iq-deployment-planner-guest__army-storage-unit-actions {
	position: relative;
	z-index: 2;
}

.w40iq-deployment-planner-guest__army-storage-unit-actions button {
	pointer-events: auto;
}

.w40iq-deployment-planner-guest.is-shared-readonly .w40iq-deployment-planner-guest__unit-panel > .w40iq-deployment-planner-guest__section-summary {
	opacity: 1;
	pointer-events: auto;
}

@media (min-width: 921px) {
	.w40iq-deployment-planner-guest__brand {
		min-height: 126px;
		padding: 14px 20px;
	}

	.w40iq-deployment-planner-guest__logo {
		width: 112px;
		height: 112px;
	}

	.w40iq-deployment-planner-guest h2 {
		font-size: clamp(34px, 2.4vw, 42px);
	}

	.w40iq-deployment-planner-guest__eyebrow {
		font-size: 14px;
	}

	.w40iq-deployment-planner-guest.is-locked.has-image .w40iq-deployment-planner-guest__toolbar {
		min-height: 50px;
		padding: 6px 14px;
	}

	.w40iq-deployment-planner-guest.is-locked.has-image .w40iq-deployment-planner-guest__icon-button[data-w40iq-lock] {
		width: auto;
		min-width: 188px;
		height: 38px;
		min-height: 38px;
		max-height: 38px;
	}
}

@media (max-width: 720px) {
	.w40iq-deployment-planner-guest__section-card {
		margin-inline: 8px;
	}

	.w40iq-deployment-planner-guest__section-summary {
		grid-template-columns: minmax(0, 1fr) auto 16px;
		min-height: 56px;
		padding: 9px 11px;
	}

	.w40iq-deployment-planner-guest__section-copy small {
		display: none;
	}

	.w40iq-deployment-planner-guest__section-count {
		padding-inline: 8px;
	}
}

/* v0.15.204: exakt dasselbe goldene Gast-Theme und dieselben LOGIN-Ribbons wie im Krumpa Calculator. */
.w40iq-deployment-planner-guest[data-w40iq-deployment-planner-guest] {
	background:
		linear-gradient(135deg, rgba(255, 211, 77, 0.09), transparent 34%),
		linear-gradient(180deg, #19170f 0%, #090806 100%);
	border-color: rgba(255, 211, 77, 0.46);
}

.w40iq-deployment-planner-guest .w40iq-deployment-planner-guest__header,
.w40iq-deployment-planner-guest .w40iq-deployment-planner-guest__portrait-header {
	background:
		linear-gradient(90deg, rgba(11, 10, 7, 0.94) 0%, rgba(55, 42, 11, 0.88) 58%, rgba(126, 84, 0, 0.7) 100%),
		linear-gradient(180deg, #332713 0%, #090806 100%);
	border-bottom-color: rgba(255, 211, 77, 0.68);
	box-shadow: inset 0 1px 0 rgba(255, 244, 194, 0.12), inset 0 -1px 0 rgba(0, 0, 0, 0.65);
}

.w40iq-deployment-planner-guest .w40iq-deployment-planner-guest__edition,
.w40iq-deployment-planner-guest .w40iq-deployment-planner-guest__eyebrow,
.w40iq-deployment-planner-guest .w40iq-deployment-planner-guest__portrait-header p {
	color: #ffd34d;
	-webkit-text-fill-color: #ffd34d;
}

.w40iq-deployment-planner-guest .w40iq-deployment-planner-guest__guest-banner {
	border: 1px solid rgba(255, 211, 77, 0.7);
	border-left: 5px solid #ffd34d;
	background:
		linear-gradient(105deg, rgba(41, 31, 12, 0.98), rgba(18, 16, 12, 0.98) 70%),
		#17110e;
	color: #f4e7c4;
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.w40iq-deployment-planner-guest .w40iq-deployment-planner-guest__guest-banner-copy > span {
	color: #ffd34d;
}

.w40iq-deployment-planner-guest .w40iq-deployment-planner-guest__guest-banner-copy strong {
	color: #fff7dc;
}

.w40iq-deployment-planner-guest .w40iq-deployment-planner-guest__guest-banner-copy p {
	color: #d6c594;
}

.w40iq-deployment-planner-guest .w40iq-deployment-planner-guest__guest-button {
	border: 1px solid rgba(255, 211, 77, 0.55);
	border-radius: 6px;
	background: #231d12;
	color: #ffe8a0;
}

.w40iq-deployment-planner-guest .w40iq-deployment-planner-guest__guest-button.is-primary {
	border-color: #ffd34d;
	background: linear-gradient(180deg, #ffe56f, #d49a13);
	color: #17110e;
}

.w40iq-deployment-planner-guest .w40iq-deployment-planner-guest__guest-button:hover,
.w40iq-deployment-planner-guest .w40iq-deployment-planner-guest__guest-button:focus-visible {
	border-color: #ffe79a;
	color: #fff;
	background: #231d12;
	transform: translateY(-1px);
}

.w40iq-deployment-planner-guest .w40iq-deployment-planner-guest__guest-button.is-primary:hover,
.w40iq-deployment-planner-guest .w40iq-deployment-planner-guest__guest-button.is-primary:focus-visible {
	background: linear-gradient(180deg, #fff09a, #dfa81f);
	color: #17110e;
}

.w40iq-deployment-planner-guest .w40iq-deployment-planner-guest__account-callout {
	position: relative;
}

.w40iq-deployment-planner-guest .w40iq-deployment-planner-guest__account-tab {
	opacity: 0.68;
}

.w40iq-deployment-planner-guest .w40iq-deployment-planner-guest__login-ribbon,
.w40iq-deployment-planner-guest .w40iq-deployment-planner-guest__login-badge,
.w40iq-deployment-planner-guest .w40iq-deployment-planner-guest__account-tab::after {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 0;
	min-height: 0;
	padding: 4px 7px;
	border: 1px solid #ffe082;
	border-radius: 4px;
	background: #d49a13;
	color: #17110e;
	font-size: 9px;
	font-weight: 1000;
	letter-spacing: 0.08em;
	line-height: 1;
	box-shadow: 0 3px 8px rgba(0, 0, 0, 0.45);
}

.w40iq-deployment-planner-guest .w40iq-deployment-planner-guest__login-ribbon,
.w40iq-deployment-planner-guest .w40iq-deployment-planner-guest__account-tab::after {
	position: absolute;
	top: -9px;
	right: -7px;
	z-index: 20;
	pointer-events: none;
}

.w40iq-deployment-planner-guest .w40iq-deployment-planner-guest__login-badge {
	position: static;
}

/* v0.15.201: Spielfeld als eigener Bereich, Save-Flow bei Deployments, flache Desktop-Ablagen. */
.w40iq-deployment-planner-guest__toolbar.w40iq-deployment-planner-guest__section-card {
	display: block !important;
	grid-template-columns: none !important;
	align-items: stretch !important;
	justify-content: stretch !important;
	min-height: 0 !important;
	margin: 10px 14px 0;
	padding: 0 !important;
	overflow: visible !important;
	background: rgba(12, 12, 9, 0.9);
	border: 1px solid rgba(240, 217, 166, 0.2);
	border-radius: 8px;
}

.w40iq-deployment-planner-guest__field-panel > .w40iq-deployment-planner-guest__section-summary {
	border-left-color: #2d93b8;
}

.w40iq-deployment-planner-guest__field-panel > .w40iq-deployment-planner-guest__section-summary {
	cursor: default;
	pointer-events: none;
}

.w40iq-deployment-planner-guest__field-panel > .w40iq-deployment-planner-guest__section-summary .w40iq-deployment-planner-guest__section-chevron {
	display: none;
}

.w40iq-deployment-planner-guest__field-settings-grid {
	display: grid;
	grid-template-columns:
		minmax(280px, 1fr)
		minmax(190px, 0.72fr)
		minmax(230px, 0.82fr)
		minmax(96px, 0.36fr)
		minmax(190px, 0.58fr);
	align-items: end;
	gap: 10px;
	width: auto;
	margin: 0 !important;
	padding: 10px 14px 14px;
	background: rgba(7, 7, 5, 0.46);
	border-radius: 0 0 7px 7px;
}

.w40iq-deployment-planner-guest__field-panel:not([open]) > .w40iq-deployment-planner-guest__field-settings-grid {
	display: none !important;
}

.w40iq-deployment-planner-guest.is-locked.has-image .w40iq-deployment-planner-guest__toolbar.w40iq-deployment-planner-guest__section-card > .w40iq-deployment-planner-guest__section-summary {
	display: grid !important;
}

.w40iq-deployment-planner-guest.is-locked.has-image .w40iq-deployment-planner-guest__toolbar.w40iq-deployment-planner-guest__section-card[open] > .w40iq-deployment-planner-guest__field-settings-grid {
	display: grid !important;
}

.w40iq-deployment-planner-guest.is-locked.has-image .w40iq-deployment-planner-guest__toolbar.w40iq-deployment-planner-guest__section-card:not([open]) > .w40iq-deployment-planner-guest__field-settings-grid {
	display: none !important;
}

.w40iq-deployment-planner-guest__field-settings-grid > *,
.w40iq-deployment-planner-guest__field-settings-grid .w40iq-deployment-planner-guest__icon-button[data-w40iq-lock] {
	min-width: 0;
	max-width: 100%;
}

.w40iq-deployment-planner-guest__field-settings-grid .w40iq-deployment-planner-guest__icon-button[data-w40iq-lock] {
	width: 100% !important;
	height: var(--w40iq-control-height);
	min-height: var(--w40iq-control-height);
	max-height: var(--w40iq-control-height);
}

.w40iq-deployment-planner-guest__section-count.is-locked {
	color: #0b0a07;
	background: var(--w40iq-warning-yellow);
	border-color: rgba(117, 75, 0, 0.9);
}

.w40iq-deployment-planner-guest__section-count.is-ready {
	color: #0b0a07;
	background: var(--w40iq-grot-green);
	border-color: rgba(0, 79, 27, 0.82);
}

.w40iq-deployment-planner-guest__library-save-row {
	display: grid;
	grid-template-columns: minmax(190px, 0.55fr) minmax(380px, 1.45fr);
	align-items: center;
	gap: 16px;
	padding: 11px 12px;
	background:
		linear-gradient(90deg, rgba(243, 198, 59, 0.08), transparent 56%),
		rgba(21, 19, 13, 0.74);
	border: 1px solid rgba(240, 217, 166, 0.18);
	border-radius: 7px;
}

.w40iq-deployment-planner-guest__library-save-copy {
	display: grid;
	gap: 3px;
	min-width: 0;
}

.w40iq-deployment-planner-guest__library-save-copy strong {
	color: #fff4ce;
	font-size: 0.86rem;
	line-height: 1.2;
}

.w40iq-deployment-planner-guest__library-save-copy span {
	color: rgba(240, 217, 166, 0.66);
	font-size: 0.74rem;
	line-height: 1.3;
}

.w40iq-deployment-planner-guest__library-save-row .w40iq-deployment-planner-guest__save-area {
	display: grid;
	grid-template-columns: minmax(220px, 1fr) 112px 72px;
	gap: 8px;
	width: 100%;
	min-height: var(--w40iq-control-height);
}

.w40iq-deployment-planner-guest__library-save-row .w40iq-deployment-planner-guest__layout-name,
.w40iq-deployment-planner-guest__library-save-row .w40iq-deployment-planner-guest__layout-name input {
	width: 100%;
	min-width: 0;
}

.w40iq-deployment-planner-guest.is-shared-readonly .w40iq-deployment-planner-guest__field-panel > .w40iq-deployment-planner-guest__section-summary {
	opacity: 1;
	pointer-events: auto;
}

@media (min-width: 981px) {
	.w40iq-deployment-planner-guest__storage-panels {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		gap: 10px !important;
	}

	.w40iq-deployment-planner-guest__storage-panel {
		height: auto !important;
		min-height: 0 !important;
	}

	.w40iq-deployment-planner-guest__storage-panel .w40iq-deployment-planner-guest__army-storage-head {
		display: grid !important;
		grid-template-columns: minmax(0, 1fr) !important;
		align-items: center !important;
		min-height: 58px !important;
		height: auto !important;
		padding: 9px 48px 9px 14px !important;
		text-align: left !important;
	}

	.w40iq-deployment-planner-guest__storage-panel .w40iq-deployment-planner-guest__army-storage-icon-image,
	.w40iq-deployment-planner-guest__storage-panel.is-storage-expanded .w40iq-deployment-planner-guest__army-storage-icon-image {
		display: none !important;
	}

	.w40iq-deployment-planner-guest__storage-panel .w40iq-deployment-planner-guest__army-storage-copy {
		display: grid !important;
		align-content: center !important;
		gap: 3px !important;
		min-height: 0 !important;
		margin: 0 !important;
		text-align: left !important;
	}

	.w40iq-deployment-planner-guest__storage-panel .w40iq-deployment-planner-guest__army-storage-copy h4 {
		justify-content: flex-start !important;
		text-align: left !important;
	}

	.w40iq-deployment-planner-guest__storage-panel .w40iq-deployment-planner-guest__army-storage-copy p {
		margin: 0 !important;
		text-align: left !important;
	}
}

@media (max-width: 980px) {
	.w40iq-deployment-planner-guest__field-settings-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.w40iq-deployment-planner-guest__field-settings-grid .w40iq-deployment-planner-guest__field--maps {
		grid-column: 1 / -1;
	}

	.w40iq-deployment-planner-guest__library-save-row {
		grid-template-columns: minmax(0, 1fr);
	}
}

@media (max-width: 720px) {
	.w40iq-deployment-planner-guest__toolbar.w40iq-deployment-planner-guest__section-card {
		margin-inline: 8px;
	}

	.w40iq-deployment-planner-guest__field-settings-grid,
	.w40iq-deployment-planner-guest__library-save-row .w40iq-deployment-planner-guest__save-area {
		grid-template-columns: minmax(0, 1fr);
	}

	.w40iq-deployment-planner-guest__field-settings-grid .w40iq-deployment-planner-guest__field--maps {
		grid-column: auto;
	}
}

@media (max-width: 980px) and (orientation: landscape) {
	.w40iq-deployment-planner-guest {
		border-radius: 0;
		min-height: 100svh;
	}

	.w40iq-deployment-planner-guest__header {
		padding: 0;
	}

	.w40iq-deployment-planner-guest__brand {
		gap: 8px;
		padding: 16px;
		min-height: 144px;
	}

	.w40iq-deployment-planner-guest__logo {
		width: 112px;
		height: 112px;
	}

	.w40iq-deployment-planner-guest__eyebrow {
		font-size: 14px;
		line-height: 1.08;
	}

	.w40iq-deployment-planner-guest h2 {
		max-width: none;
		margin: 0;
		font-size: 32px;
		line-height: 0.96;
	}

	.w40iq-deployment-planner-guest__status {
		max-width: 54ch;
		font-size: 12px;
	}

	.w40iq-deployment-planner-guest__toolbar,
	.w40iq-deployment-planner-guest__unit-panel,
	.w40iq-deployment-planner-guest__workspace-wrap {
		padding: 8px 10px;
	}

	.w40iq-deployment-planner-guest__toolbar {
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		align-items: end;
		gap: 8px;
		overflow-x: visible;
	}

	.w40iq-deployment-planner-guest__toolbar > * {
		min-width: 0;
		width: 100%;
	}

	.w40iq-deployment-planner-guest__field--maps {
		width: 100%;
	}

	.w40iq-deployment-planner-guest__file {
		width: 100%;
	}

	.w40iq-deployment-planner-guest__range {
		grid-template-columns: minmax(86px, 1fr) 46px 34px;
		width: 100%;
	}

	.w40iq-deployment-planner-guest__rotation {
		width: 100%;
	}

	.w40iq-deployment-planner-guest__rotation-controls {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 4px;
	}

	.w40iq-deployment-planner-guest__rotation-controls .w40iq-deployment-planner-guest__small-button {
		min-width: 0;
		padding: 5px 4px;
		font-size: 0.68rem;
	}

	.w40iq-deployment-planner-guest__save-area {
		grid-template-columns: minmax(110px, 1fr) 82px 50px;
		width: 100%;
	}

	.w40iq-deployment-planner-guest__library {
		padding: 8px 10px;
	}

	.w40iq-deployment-planner-guest__library-head,
	.w40iq-deployment-planner-guest__unit-head,
	.w40iq-deployment-planner-guest__unit-note {
		display: none;
	}

	.w40iq-deployment-planner-guest__unit-controls {
		display: grid;
		grid-template-columns: minmax(180px, 1.15fr) minmax(150px, 0.9fr) minmax(220px, 1.25fr) 64px minmax(112px, auto);
		align-items: end;
		gap: 8px;
		overflow-x: visible;
	}

	.w40iq-deployment-planner-guest__unit-controls > * {
		min-width: 0;
		width: 100%;
	}

	.w40iq-deployment-planner-guest__unit-search {
		width: 100%;
	}

	.w40iq-deployment-planner-guest__unit-controls > .w40iq-deployment-planner-guest__field:not(.w40iq-deployment-planner-guest__unit-search):not(.w40iq-deployment-planner-guest__count) {
		width: 100%;
	}

	.w40iq-deployment-planner-guest__count {
		width: 100%;
	}

	.w40iq-deployment-planner-guest__group-actions {
		flex-wrap: nowrap;
	}

	.w40iq-deployment-planner-guest__unit-panel:focus-within .w40iq-deployment-planner-guest__unit-controls {
		overflow-x: visible;
	}

	.w40iq-deployment-planner-guest__unit-panel:focus-within .w40iq-deployment-planner-guest__unit-controls > * {
		width: auto;
		min-width: 0;
	}

	.w40iq-deployment-planner-guest__unit-panel:focus-within .w40iq-deployment-planner-guest__unit-search {
		grid-column: auto;
	}

	.w40iq-deployment-planner-guest__workspace-wrap {
		overflow: auto;
		-webkit-overflow-scrolling: touch;
	}

	.w40iq-deployment-planner-guest__workspace-shell {
		grid-template-columns: 72px minmax(560px, 1fr) 102px;
		gap: 8px;
		width: max(100%, calc(750px * var(--w40iq-planner-zoom, 1)));
		margin: 0;
	}

	.w40iq-deployment-planner-guest__tool-modes {
		gap: 6px;
		padding: 6px;
	}

	.w40iq-deployment-planner-guest__history-actions,
	.w40iq-deployment-planner-guest__circle-tool-group,
	.w40iq-deployment-planner-guest__select-tool,
	.w40iq-deployment-planner-guest__layer-toggles {
		width: 58px;
	}

	.w40iq-deployment-planner-guest__select-tool {
		display: inline-flex;
	}

	.w40iq-deployment-planner-guest__layer-toggles {
		display: none;
	}

	.w40iq-deployment-planner-guest__history-actions {
		grid-template-columns: 1fr;
	}

	.w40iq-deployment-planner-guest__history-actions .w40iq-deployment-planner-guest__small-button {
		min-height: 28px;
		padding: 4px;
		font-size: 0.58rem;
	}

	.w40iq-deployment-planner-guest__tool-button {
		width: 58px;
		height: 58px;
		min-height: 58px;
		max-height: 58px;
		padding: 4px;
		aspect-ratio: 1 / 1;
		overflow: hidden;
	}

	.w40iq-deployment-planner-guest__tool-button--labeled {
		width: 58px;
		height: 58px;
		min-height: 58px;
		max-height: 58px;
		padding: 4px 3px;
		gap: 2px;
	}

	.w40iq-deployment-planner-guest__tool-button--labeled img {
		width: 36px;
		height: 36px;
		flex: 0 0 36px;
	}

	.w40iq-deployment-planner-guest__tool-label {
		display: block;
		height: 10px;
		max-width: 52px;
		color: transparent;
		font-size: 0;
		line-height: 0;
		overflow: hidden;
		white-space: nowrap;
	}

	.w40iq-deployment-planner-guest__tool-label span {
		color: #f3c63b;
		font-size: 9px;
		line-height: 1;
	}

	.w40iq-deployment-planner-guest__select-tool {
		font-size: 0;
		line-height: 0;
	}

	.w40iq-deployment-planner-guest__select-tool::after {
		content: none;
		display: none;
	}

	.w40iq-deployment-planner-guest__circle-tool-group {
		position: relative;
	}

	.w40iq-deployment-planner-guest__circle-tools {
		width: 58px;
		padding: 6px 5px;
	}

	.w40iq-deployment-planner-guest__circle-tools p {
		display: none;
	}

	.w40iq-deployment-planner-guest__circle-radius-field input {
		min-height: 28px;
		padding: 4px;
		font-size: 0.62rem;
	}

	.w40iq-deployment-planner-guest__snap-buttons {
		grid-template-columns: 1fr;
	}

	.w40iq-deployment-planner-guest__layer-toggles {
		padding: 6px 5px;
	}

	.w40iq-deployment-planner-guest__layer-toggles label {
		font-size: 0.58rem;
		gap: 4px;
	}

	.w40iq-deployment-planner-guest__phase-nav {
		gap: 5px;
		padding-top: 6px;
		max-height: 160px;
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
	}

	.w40iq-deployment-planner-guest__right-rail {
		width: 102px;
		gap: 6px;
	}

	.w40iq-deployment-planner-guest__phase-title {
		font-size: 0.58rem;
	}

	.w40iq-deployment-planner-guest__phase-button,
	.w40iq-deployment-planner-guest__phase-remove {
		min-height: 28px;
		font-size: 0.62rem;
	}

	.w40iq-deployment-planner-guest__workspace {
		min-width: 560px;
	}

	.w40iq-deployment-planner-guest__right-rail {
		width: 102px;
	}

	.w40iq-deployment-planner-guest__trash {
		width: 100%;
		min-width: 100%;
		max-width: 100%;
		height: 82px;
		min-height: 82px;
		max-height: 82px;
		padding: 5px 6px 4px;
		gap: 3px;
		aspect-ratio: auto;
		overflow: hidden;
	}

	.w40iq-deployment-planner-guest__trash-icon {
		width: 48px;
		height: 48px;
		flex: 0 0 48px;
	}

	.w40iq-deployment-planner-guest__trash strong {
		font-size: 9px;
		line-height: 1;
	}

	.w40iq-deployment-planner-guest__trash > span:not(.w40iq-deployment-planner-guest__trash-icon) {
		display: none;
	}
}

@media (max-height: 430px) and (orientation: landscape) {
	.w40iq-deployment-planner-guest__header {
		display: none;
	}

	.w40iq-deployment-planner-guest__toolbar,
	.w40iq-deployment-planner-guest__unit-panel,
	.w40iq-deployment-planner-guest__workspace-wrap {
		padding-top: 6px;
		padding-bottom: 6px;
	}

	.w40iq-deployment-planner-guest__field legend,
	.w40iq-deployment-planner-guest__field > span {
		font-size: 0.62rem;
	}

	.w40iq-deployment-planner-guest__segment span,
	.w40iq-deployment-planner-guest__file input,
	.w40iq-deployment-planner-guest select,
	.w40iq-deployment-planner-guest__unit-search input,
	.w40iq-deployment-planner-guest__count input,
	.w40iq-deployment-planner-guest__add-unit-button,
	.w40iq-deployment-planner-guest__save-button,
	.w40iq-deployment-planner-guest__new-button,
	.w40iq-deployment-planner-guest__small-button {
		min-height: 34px;
	}

}

@media (max-width: 620px) and (orientation: portrait) {
	.w40iq-deployment-planner-guest__header,
	.w40iq-deployment-planner-guest__toolbar,
	.w40iq-deployment-planner-guest__library,
	.w40iq-deployment-planner-guest__unit-panel,
	.w40iq-deployment-planner-guest__workspace-wrap {
		padding: 12px;
	}

	.w40iq-deployment-planner-guest__workspace-shell {
		grid-template-columns: 1fr;
	}

	.w40iq-deployment-planner-guest__tool-modes,
	.w40iq-deployment-planner-guest__workspace,
	.w40iq-deployment-planner-guest__right-rail {
		grid-column: 1;
	}

	.w40iq-deployment-planner-guest__right-rail {
		width: 100%;
	}

	.w40iq-deployment-planner-guest__tool-modes {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.w40iq-deployment-planner-guest__history-actions,
	.w40iq-deployment-planner-guest__circle-tool-group,
	.w40iq-deployment-planner-guest__layer-toggles {
		width: 100%;
	}

	.w40iq-deployment-planner-guest__tool-button {
		width: 100%;
	}

	.w40iq-deployment-planner-guest__trash {
		gap: 6px;
		min-height: 128px;
		min-width: 100%;
		padding: 18px 12px 14px;
		overflow: hidden;
	}

	.w40iq-deployment-planner-guest__trash-icon {
		width: 58px;
		height: 58px;
	}

	.w40iq-deployment-planner-guest__trash strong {
		font-size: 0.86rem;
	}

	.w40iq-deployment-planner-guest__trash > span:not(.w40iq-deployment-planner-guest__trash-icon) {
		font-size: 0.72rem;
	}

	.w40iq-deployment-planner-guest__unit-controls {
		grid-template-columns: 1fr;
	}

	.w40iq-deployment-planner-guest__brand {
		align-items: flex-start;
	}

	.w40iq-deployment-planner-guest__logo {
		width: 96px;
		height: 96px;
	}

	.w40iq-deployment-planner-guest__segments {
		grid-template-columns: 1fr;
	}

	.w40iq-deployment-planner-guest__segment span {
		border-right: 0;
		border-bottom: 1px solid rgba(240, 217, 166, 0.22);
	}

	.w40iq-deployment-planner-guest.is-locked.has-image .w40iq-deployment-planner-guest__toolbar {
		grid-template-columns: auto;
		justify-content: start;
		align-items: center;
		padding-block: 8px;
	}

	.w40iq-deployment-planner-guest.is-locked.has-image .w40iq-deployment-planner-guest__toolbar > :not([data-w40iq-lock]) {
		display: none;
	}

	.w40iq-deployment-planner-guest.is-locked.has-image [data-w40iq-lock] {
		width: auto;
		min-width: 112px;
	}

	.w40iq-deployment-planner-guest__segment:last-child span {
		border-bottom: 0;
	}

	.w40iq-deployment-planner-guest__workspace {
		min-width: 320px;
	}

	.w40iq-deployment-planner-guest__layout-item {
		grid-template-columns: 1fr;
	}

	.w40iq-deployment-planner-guest__lock-text {
		display: inline;
	}
}

@media (max-width: 620px) and (orientation: portrait) {
	.w40iq-deployment-planner-guest__toolbar {
		display: grid;
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		gap: 8px;
		align-items: end;
	}

	.w40iq-deployment-planner-guest__field--maps,
	.w40iq-deployment-planner-guest__file,
	.w40iq-deployment-planner-guest__save-area {
		grid-column: 1 / -1;
	}

	.w40iq-deployment-planner-guest__segments {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.w40iq-deployment-planner-guest__segment span {
		min-height: 32px;
		padding: 6px 4px;
		border-right: 1px solid rgba(240, 217, 166, 0.22);
		border-bottom: 0;
		font-size: 0.74rem;
		white-space: nowrap;
	}

	.w40iq-deployment-planner-guest__segment:last-child span {
		border-right: 0;
	}

	.w40iq-deployment-planner-guest__range {
		grid-template-columns: minmax(76px, 1fr) 46px 34px;
		width: 100%;
	}

	.w40iq-deployment-planner-guest__range output {
		min-width: 34px;
		font-size: 0.74rem;
	}

	.w40iq-deployment-planner-guest__scale-number input {
		min-height: 32px;
		padding: 5px 6px;
		font-size: 0.78rem;
	}

	.w40iq-deployment-planner-guest__rotation {
		width: 100%;
	}

	.w40iq-deployment-planner-guest__rotation-controls {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 6px;
	}

	.w40iq-deployment-planner-guest__rotation-controls .w40iq-deployment-planner-guest__small-button {
		min-height: 32px;
		padding: 5px 6px;
		font-size: 0.72rem;
	}

	.w40iq-deployment-planner-guest__save-area {
		grid-template-columns: minmax(0, 1fr) 68px 52px;
		width: 100%;
	}

	.w40iq-deployment-planner-guest__workspace-wrap {
		overflow: auto;
		-webkit-overflow-scrolling: touch;
	}

	.w40iq-deployment-planner-guest__workspace-shell {
		min-width: 360px;
	}
}

@media (max-width: 980px) {
	.w40iq-deployment-planner-guest__select-tool {
		display: inline-flex;
	}

	.w40iq-deployment-planner-guest__layer-toggles {
		display: none !important;
	}
}

.w40iq-deployment-planner-guest__unit-source-toggle {
	margin: 0 0 12px;
}
.w40iq-deployment-planner-guest__custom-library {
	border: 1px solid rgba(255, 213, 74, 0.35);
	border-radius: 8px;
	padding: 12px;
	margin: 0 0 14px;
	background: rgba(255, 213, 74, 0.04);
}
.w40iq-deployment-planner-guest__custom-library-head {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 10px;
	color: #d7c083;
}
.w40iq-deployment-planner-guest__custom-library-form {
	display: grid;
	grid-template-columns: minmax(160px, 1fr) minmax(220px, 1.35fr) minmax(90px, 0.45fr) minmax(180px, 1fr) auto;
	gap: 10px;
	align-items: end;
}
.w40iq-deployment-planner-guest__custom-library-list {
	display: grid;
	gap: 8px;
	margin-top: 10px;
}

.w40iq-deployment-planner-guest__custom-library-actions,
.w40iq-deployment-planner-guest__custom-library-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: flex-end;
	align-items: center;
}
.w40iq-deployment-planner-guest__small-button.is-danger,
.w40iq-deployment-planner-guest__small-button.is-danger {
	border-color: rgba(255, 78, 78, 0.75);
	color: #ffd6d6;
}

.w40iq-deployment-planner-guest__custom-library-item {
	display: flex;
	justify-content: space-between;
	gap: 10px;
	align-items: center;
	padding: 8px 10px;
	border: 1px solid rgba(255,255,255,0.12);
	border-radius: 6px;
}
@media (max-width: 900px) {
	.w40iq-deployment-planner-guest__custom-library-form {
		grid-template-columns: 1fr;
	}
	.w40iq-deployment-planner-guest__custom-library-head,
	
.w40iq-deployment-planner-guest__custom-library-actions,
.w40iq-deployment-planner-guest__custom-library-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: flex-end;
	align-items: center;
}
.w40iq-deployment-planner-guest__small-button.is-danger,
.w40iq-deployment-planner-guest__small-button.is-danger {
	border-color: rgba(255, 78, 78, 0.75);
	color: #ffd6d6;
}

.w40iq-deployment-planner-guest__custom-library-item {
		align-items: flex-start;
		flex-direction: column;
	}
}


.w40iq-deployment-planner-guest__base-combobox,
.w40iq-deployment-planner-guest__base-combobox {
	position: relative;
}

.w40iq-deployment-planner-guest__base-options,
.w40iq-deployment-planner-guest__base-options {
	position: absolute;
	z-index: 100000;
	left: 0;
	right: 0;
	top: calc(100% + 4px);
	max-height: 220px;
	overflow-y: auto;
	overscroll-behavior: contain;
	background: #15130d;
	border: 1px solid rgba(240, 217, 166, 0.45);
	border-radius: 6px;
	box-shadow: 0 12px 26px rgba(0, 0, 0, 0.55);
	padding: 4px;
}

.w40iq-deployment-planner-guest__base-options[hidden],
.w40iq-deployment-planner-guest__base-options[hidden] {
	display: none !important;
}

.w40iq-deployment-planner-guest__base-options .w40iq-custom-base-option,
.w40iq-deployment-planner-guest__base-options .w40iq-custom-base-option {
	display: block;
	width: 100%;
	min-height: 34px;
	padding: 8px 10px;
	color: #fff5df;
	background: transparent;
	border: 0;
	border-radius: 4px;
	font: inherit;
	font-weight: 700;
	text-align: left;
	cursor: pointer;
}

.w40iq-deployment-planner-guest__base-options .w40iq-custom-base-option:hover,
.w40iq-deployment-planner-guest__base-options .w40iq-custom-base-option:focus-visible {
	color: #111;
	background: var(--w40iq-warning-yellow);
	outline: 0;
}

.w40iq-deployment-planner-guest__base-options .w40iq-custom-base-option.is-empty {
	color: rgba(240, 217, 166, 0.68);
	cursor: default;
}

.w40iq-deployment-planner-guest__base-options .w40iq-custom-base-option.is-empty:hover {
	color: rgba(240, 217, 166, 0.68);
	background: transparent;
}


/* Custom library visibility + reliable dark-theme input text */
.w40iq-deployment-planner-guest__custom-library input,
.w40iq-deployment-planner-guest__custom-library input:focus,
.w40iq-deployment-planner-guest__custom-library input:active,
.w40iq-deployment-planner-guest__custom-library input:not(:placeholder-shown),
.w40iq-deployment-planner-guest__custom-library input,
.w40iq-deployment-planner-guest__custom-library input:focus,
.w40iq-deployment-planner-guest__custom-library input:active,
.w40iq-deployment-planner-guest__custom-library input:not(:placeholder-shown) {
	color: #fff5df !important;
	-webkit-text-fill-color: #fff5df !important;
	opacity: 1 !important;
	text-shadow: none !important;
}

.w40iq-deployment-planner-guest__unit-source-toggle,
.w40iq-deployment-planner-guest__unit-source-toggle {
	display: flex;
	align-items: end;
	gap: 12px;
	flex-wrap: wrap;
}

.w40iq-deployment-planner-guest__create-custom-button,
.w40iq-deployment-planner-guest__create-custom-button {
	min-height: 38px;
	margin-bottom: 0;
}

.w40iq-deployment-planner-guest__custom-library-item,
.w40iq-deployment-planner-guest__custom-library-item {
	cursor: grab;
	gap: 8px;
}

.w40iq-deployment-planner-guest__custom-library-item:active,
.w40iq-deployment-planner-guest__custom-library-item:active {
	cursor: grabbing;
}

.w40iq-deployment-planner-guest__custom-mixed,
.w40iq-deployment-planner-guest__custom-mixed {
	grid-column: 1 / -1;
	border: 1px solid rgba(240, 217, 166, 0.22);
	border-radius: 8px;
	padding: 8px;
	background: rgba(0, 0, 0, 0.16);
}

.w40iq-deployment-planner-guest__custom-mixed-head,
.w40iq-deployment-planner-guest__custom-mixed-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-bottom: 8px;
	color: var(--w40iq-warm-gold);
	font-weight: 800;
	text-transform: uppercase;
	font-size: 0.78rem;
}

.w40iq-deployment-planner-guest__custom-mixed-list,
.w40iq-deployment-planner-guest__custom-mixed-list {
	display: grid;
	gap: 6px;
}

.w40iq-deployment-planner-guest__custom-mixed-row,
.w40iq-deployment-planner-guest__custom-mixed-row {
	display: grid;
	grid-template-columns: 90px minmax(180px, 1fr) auto;
	gap: 8px;
	align-items: center;
}

.w40iq-deployment-planner-guest__custom-mixed-row input,
.w40iq-deployment-planner-guest__custom-mixed-row input {
	min-height: 34px;
}

/* Custom unit editor fixes */
.w40iq-deployment-planner-guest input,
.w40iq-deployment-planner-guest textarea,
.w40iq-deployment-planner-guest input,
.w40iq-deployment-planner-guest textarea {
	color: #f6e7b2 !important;
	-webkit-text-fill-color: #f6e7b2 !important;
	opacity: 1 !important;
}
.w40iq-deployment-planner-guest input::placeholder,
.w40iq-deployment-planner-guest textarea::placeholder,
.w40iq-deployment-planner-guest input::placeholder,
.w40iq-deployment-planner-guest textarea::placeholder {
	color: rgba(246, 231, 178, 0.62) !important;
	-webkit-text-fill-color: rgba(246, 231, 178, 0.62) !important;
}
.w40iq-deployment-planner-guest__custom-mixed,
.w40iq-deployment-planner-guest__custom-mixed {
	margin-top: 0.75rem;
}
.w40iq-deployment-planner-guest__custom-mixed-row,
.w40iq-deployment-planner-guest__custom-mixed-row {
	display: grid;
	grid-template-columns: minmax(5rem, 7rem) minmax(12rem, 1fr) auto;
	gap: 0.5rem;
	align-items: center;
	margin-top: 0.5rem;
}


/* v0.15.40: structured unit management tabs */
.w40iq-deployment-planner-guest__planner-tabs {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 8px;
	margin: 0 0 12px;
}

.w40iq-deployment-planner-guest__planner-tab {
	min-height: 38px;
	padding: 8px 10px;
	color: rgba(240, 217, 166, 0.88);
	background: rgba(11, 10, 7, 0.82);
	border: 1px solid rgba(240, 217, 166, 0.32);
	border-radius: 7px;
	cursor: pointer;
	font: inherit;
	font-weight: 900;
	text-transform: uppercase;
	letter-spacing: 0.02em;
}

.w40iq-deployment-planner-guest__planner-tab.is-active {
	color: #080600;
	background: var(--w40iq-warning-yellow);
	border-color: var(--w40iq-warning-yellow);
	box-shadow: 0 0 0 2px rgba(255, 213, 74, 0.18);
}

.w40iq-deployment-planner-guest__planner-tab-panel {
	margin-bottom: 12px;
}

.w40iq-deployment-planner-guest__storage-panels {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
	margin-top: 12px;
}

.w40iq-deployment-planner-guest__storage-panel {
	display: block;
	min-height: 92px;
}

.w40iq-deployment-planner-guest__storage-panel[hidden] {
	display: none !important;
}

.w40iq-deployment-planner-guest__custom-library input,
.w40iq-deployment-planner-guest__custom-library input:focus,
.w40iq-deployment-planner-guest__custom-library input:not(:placeholder-shown) {
	color: #fff5df !important;
	-webkit-text-fill-color: #fff5df !important;
	opacity: 1 !important;
}

@media (max-width: 900px) {
	.w40iq-deployment-planner-guest__planner-tabs,
	.w40iq-deployment-planner-guest__storage-panels {
		grid-template-columns: 1fr;
	}
}


/* v0.15.46: cleaner unit management, admin-only debug, visible storage drop zones */
.w40iq-deployment-planner-guest__planner-tab[data-w40iq-unit-panel-tab="add"]::after {
	content: '';
}
.w40iq-deployment-planner-guest__admin-debug-button {
	margin-left: auto;
	align-self: flex-start;
	font-size: 0.78rem;
	opacity: 0.72;
}
.w40iq-deployment-planner-guest__storage-panels {
	align-items: stretch;
	gap: 14px;
}
/* Compact empty state - was min-height:150px and read as a big dead area
   with 0 units in it. */
.w40iq-deployment-planner-guest__storage-panel {
	min-height: 84px;
	border: 2px dashed rgba(255, 213, 74, 0.42);
	border-radius: 10px;
	background:
		linear-gradient(180deg, rgba(255, 213, 74, 0.065), rgba(12, 10, 6, 0.62)),
		rgba(10, 9, 6, 0.72);
	padding: 9px;
	box-shadow: inset 0 0 0 1px rgba(0,0,0,0.38);
}
.w40iq-deployment-planner-guest__army-storage-head {
	text-align: center;
	place-items: center;
	margin-bottom: 5px;
}
.w40iq-deployment-planner-guest__army-storage-icon {
	display: inline-grid;
	place-items: center;
	width: 26px;
	height: 26px;
	margin: 0 auto 4px;
	border-radius: 999px;
	color: #080600;
	background: var(--w40iq-warning-yellow);
	font-weight: 950;
	box-shadow: 0 0 18px rgba(255, 213, 74, 0.28);
}
.w40iq-deployment-planner-guest__army-storage-list {
	min-height: 36px;
	border: 1px dashed rgba(240, 217, 166, 0.30);
	border-radius: 8px;
	padding: 6px;
	background: rgba(0, 0, 0, 0.18);
	transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
}
.w40iq-deployment-planner-guest__army-storage-list.is-drop-target,
.w40iq-deployment-planner-guest__storage-panel:has(.w40iq-deployment-planner-guest__army-storage-list.is-drop-target) {
	border-color: var(--w40iq-grot-green);
	background:
		linear-gradient(135deg, rgba(109, 252, 0, 0.24), rgba(255, 213, 74, 0.10)),
		rgba(8, 18, 8, 0.88);
	box-shadow: 0 0 0 2px rgba(109, 252, 0, 0.22), 0 0 22px rgba(109, 252, 0, 0.18);
}
.w40iq-deployment-planner-guest__army-storage-empty {
	text-align: center;
	font-weight: 800;
	color: rgba(255, 245, 223, 0.78);
}
.w40iq-deployment-planner-guest__custom-library-form {
	grid-template-columns: minmax(160px, 1fr) minmax(220px, 1.35fr) minmax(90px, 0.55fr) minmax(220px, 1.2fr);
}
.w40iq-deployment-planner-guest__custom-library-form > button[data-w40iq-save-custom-base] {
	grid-column: 1 / span 2;
}

/* v0.15.46: keep storage drop zones side-by-side on phones/tablets in landscape */
@media (max-width: 900px) and (orientation: landscape) {
	.w40iq-deployment-planner-guest__storage-panels {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		gap: 12px;
	}
	.w40iq-deployment-planner-guest__storage-panel {
		min-height: 130px;
		padding: 12px;
	}
	.w40iq-deployment-planner-guest__army-storage-icon {
		width: 34px;
		height: 34px;
		margin-bottom: 4px;
	}
	.w40iq-deployment-planner-guest__army-storage-head h4 {
		margin-bottom: 4px;
	}
	.w40iq-deployment-planner-guest__army-storage-head p {
		font-size: 0.82rem;
		line-height: 1.25;
	}
	.w40iq-deployment-planner-guest__army-storage-list {
		min-height: 50px;
	}
}

@media (max-width: 620px) and (orientation: portrait) {
	.w40iq-deployment-planner-guest__storage-panels {
		grid-template-columns: 1fr;
	}
}

/* Custom-library overlays must stay above deployment drop zones. */
.w40iq-deployment-planner-guest__planner-tab-panel,
.w40iq-deployment-planner-guest__custom-library,
.w40iq-deployment-planner-guest__custom-library-form {
	position: relative;
	z-index: 2000;
}

.w40iq-deployment-planner-guest__storage-dropzones,
.w40iq-deployment-planner-guest__storage-dropzone {
	position: relative;
	z-index: 1;
}


.w40iq-deployment-planner-guest__nudge-status {
	min-width: 150px;
	color: rgba(240, 217, 166, 0.78);
	font-size: 0.78rem;
	line-height: 1.2;
	text-align: right;
}

.w40iq-deployment-planner-guest__nudge-status.is-success {
	color: var(--w40iq-grot-green);
}

.w40iq-deployment-planner-guest__nudge-status.is-error {
	color: #ff6b57;
}

@media (min-width: 981px) {
	.w40iq-deployment-planner-guest__layout-item--shared-live {
		grid-template-columns: minmax(180px, 1fr) auto;
		align-items: center;
	}

	.w40iq-deployment-planner-guest__layout-item--shared-live .w40iq-deployment-planner-guest__layout-actions {
		display: flex;
		flex-wrap: nowrap;
		align-items: center;
		justify-content: flex-end;
		width: auto;
		max-width: none;
	}

	.w40iq-deployment-planner-guest__layout-item--shared-live .w40iq-deployment-planner-guest__nudge-actions {
		flex-wrap: nowrap;
		align-items: center;
		margin-left: 8px;
		order: 0;
	}

	.w40iq-deployment-planner-guest__layout-item--shared-live .w40iq-deployment-planner-guest__nudge-select {
		width: 160px;
		max-width: 160px;
	}
}



/* Fix: native radio controls must never be visible inside the map-size segmented control. */
.w40iq-deployment-planner-guest__field--maps .w40iq-deployment-planner-guest__segment input[type="radio"] {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	left: 0 !important;
	top: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	opacity: 0 !important;
	pointer-events: none !important;
	appearance: none !important;
	-webkit-appearance: none !important;
	clip: rect(0 0 0 0) !important;
	clip-path: inset(50%) !important;
	overflow: hidden !important;
}

.w40iq-deployment-planner-guest__field--maps .w40iq-deployment-planner-guest__segment span {
	position: relative;
	z-index: 1;
	white-space: nowrap;
}

.w40iq-deployment-planner-guest__field--maps .w40iq-deployment-planner-guest__segments {
	isolation: isolate;
}


/* 0.15.74: mobile/layout cleanup */
.w40iq-deployment-planner-guest__custom-library,
.w40iq-deployment-planner-guest__custom-library-form,
.w40iq-deployment-planner-guest__custom-library-form *,
.w40iq-deployment-planner-guest__planner-tab-panel {
	box-sizing: border-box;
	max-width: 100%;
}

.w40iq-deployment-planner-guest__custom-library-form > *,
.w40iq-deployment-planner-guest__custom-library-form input,
.w40iq-deployment-planner-guest__custom-library-form select,
.w40iq-deployment-planner-guest__custom-library-form button {
	min-width: 0;
	max-width: 100%;
}

@media (max-width: 700px) and (orientation: portrait) {
	.w40iq-deployment-planner-guest__custom-library-form {
		display: flex !important;
		flex-direction: column !important;
		gap: 10px !important;
		width: 100% !important;
		overflow: hidden !important;
	}
	.w40iq-deployment-planner-guest__custom-library-form > .w40iq-deployment-planner-guest__field,
	.w40iq-deployment-planner-guest__custom-library-form > .w40iq-deployment-planner-guest__base-combobox,
	.w40iq-deployment-planner-guest__custom-library-form > .w40iq-deployment-planner-guest__custom-mixed,
	.w40iq-deployment-planner-guest__custom-library-form > button {
		width: 100% !important;
		max-width: 100% !important;
	}
	.w40iq-deployment-planner-guest__storage-panels {
		display: none !important;
	}
}

@media (max-width: 900px) and (orientation: landscape) {
	.w40iq-deployment-planner-guest__storage-panels {
		display: grid !important;
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		gap: 10px !important;
	}
	.w40iq-deployment-planner-guest__storage-panel {
		min-width: 0 !important;
	}
}

.w40iq-deployment-planner-guest [data-w40iq-edit-selected-custom][hidden],
.w40iq-deployment-planner-guest [data-w40iq-duplicate-selected-custom][hidden],
.w40iq-deployment-planner-guest [data-w40iq-delete-selected-custom][hidden] {
	display: none !important;
}


.w40iq-deployment-planner-guest__army-storage-graphic {
	display: block;
	width: auto;
	max-width: min(100%, 320px);
	max-height: 170px;
	margin: 0 auto 10px;
	object-fit: contain;
}

@media (max-width: 782px) {
	.w40iq-deployment-planner-guest__army-storage-graphic {
		max-width: min(100%, 240px);
		max-height: 130px;
	}
}


/* Der komplette Reserve-/Noch-nicht-deployed-Bereich ist eine Dropzone. */
.w40iq-deployment-planner-guest__army-storage {
	position: relative;
	min-height: 100%;
}

.w40iq-deployment-planner-guest__army-storage[data-w40iq-army-panel] {
	cursor: default;
}

.w40iq-deployment-planner-guest__army-storage[data-w40iq-army-panel].is-drag-over {
	border-color: var(--w40iq-accent, #7cff00);
	box-shadow: inset 0 0 0 2px rgba(124, 255, 0, 0.75), 0 0 18px rgba(124, 255, 0, 0.22);
	background: linear-gradient(180deg, rgba(124, 255, 0, 0.08), rgba(124, 255, 0, 0.025));
}

.w40iq-deployment-planner-guest__army-storage[data-w40iq-army-panel] .w40iq-deployment-planner-guest__army-storage-head,
.w40iq-deployment-planner-guest__army-storage[data-w40iq-army-panel] .w40iq-deployment-planner-guest__army-storage-list {
	pointer-events: none;
}

.w40iq-deployment-planner-guest__army-storage[data-w40iq-army-panel] .w40iq-deployment-planner-guest__army-unit-card,
.w40iq-deployment-planner-guest__army-storage[data-w40iq-army-panel] button,
.w40iq-deployment-planner-guest__army-storage[data-w40iq-army-panel] input,
.w40iq-deployment-planner-guest__army-storage[data-w40iq-army-panel] select {
	pointer-events: auto;
}


/* Vollflächige Drop-Vorschau für Reserve und Noch nicht deployed. */
.w40iq-deployment-planner-guest__storage-panel.is-drop-target {
	border-color: #72ff00 !important;
	box-shadow:
		inset 0 0 0 2px rgba(114, 255, 0, 0.85),
		0 0 20px rgba(114, 255, 0, 0.24) !important;
	background:
		linear-gradient(180deg, rgba(114, 255, 0, 0.11), rgba(114, 255, 0, 0.035)) !important;
}

.w40iq-deployment-planner-guest__storage-panel.is-drop-target .w40iq-deployment-planner-guest__army-storage-list {
	border-color: rgba(114, 255, 0, 0.9) !important;
}


/* Übersetzbare Bereichsüberschriften mit separaten Illustrationen. */
.w40iq-deployment-planner-guest__army-storage-icon-image {
	display: block;
	width: auto;
	max-width: min(100%, 220px);
	max-height: 150px;
	margin: 0 auto 8px;
	object-fit: contain;
	pointer-events: none;
	user-select: none;
}

.w40iq-deployment-planner-guest__army-storage-head h4 {
	margin: 0 0 6px;
	text-align: center;
}

@media (max-width: 782px) {
	.w40iq-deployment-planner-guest__army-storage-icon-image {
		max-width: min(100%, 170px);
		max-height: 115px;
	}
}


/* Kompakter horizontaler Kopfbereich für Reserve und Noch nicht deployed. */
.w40iq-deployment-planner-guest__army-storage-head {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: 18px;
	text-align: left;
}

.w40iq-deployment-planner-guest__army-storage-copy {
	min-width: 0;
}

.w40iq-deployment-planner-guest__army-storage-copy h4,
.w40iq-deployment-planner-guest__army-storage-copy p {
	text-align: left;
}

.w40iq-deployment-planner-guest__army-storage-icon-image {
	max-width: 150px;
	max-height: 105px;
	margin: 0;
}

@media (max-width: 782px) {
	.w40iq-deployment-planner-guest__army-storage-head {
		grid-template-columns: minmax(0, 1fr) auto;
		gap: 12px;
	}

	.w40iq-deployment-planner-guest__army-storage-icon-image {
		max-width: 110px;
		max-height: 80px;
	}
}

@media (max-width: 520px) {
	.w40iq-deployment-planner-guest__army-storage-head {
		grid-template-columns: 1fr;
		text-align: center;
	}

	.w40iq-deployment-planner-guest__army-storage-copy h4,
	.w40iq-deployment-planner-guest__army-storage-copy p {
		text-align: center;
	}

	.w40iq-deployment-planner-guest__army-storage-icon-image {
		order: -1;
		margin: 0 auto;
	}
}


/* Zentrierter Textblock links, Illustration rechts. */
.w40iq-deployment-planner-guest__army-storage-head {
	grid-template-columns: minmax(0, 1fr) auto;
}

.w40iq-deployment-planner-guest__army-storage-copy {
	display: flex;
	min-height: 92px;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
}

.w40iq-deployment-planner-guest__army-storage-copy h4,
.w40iq-deployment-planner-guest__army-storage-copy p {
	width: 100%;
	text-align: center;
}

.w40iq-deployment-planner-guest__army-storage-icon-image {
	justify-self: end;
}

/* Werkzeugbuttons: reine Illustration plus übersetzbare Beschriftung/Hotkey. */
.w40iq-deployment-planner-guest__tool-button--labeled {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 6px;
	height: auto;
	min-height: 116px;
	padding: 8px;
}

.w40iq-deployment-planner-guest__tool-button--labeled img {
	display: block;
	width: 78px;
	height: 78px;
	object-fit: contain;
}

.w40iq-deployment-planner-guest__tool-label {
	display: block;
	color: #f3c63b;
	font-size: 12px;
	font-weight: 800;
	line-height: 1.2;
	text-align: center;
	white-space: nowrap;
}

@media (max-width: 782px) {
	.w40iq-deployment-planner-guest__tool-button--labeled {
		width: 58px;
		height: 58px;
		min-height: 58px;
		max-height: 58px;
		padding: 4px 3px;
		gap: 2px;
		overflow: hidden;
	}

	.w40iq-deployment-planner-guest__tool-button--labeled img {
		width: 36px;
		height: 36px;
		flex: 0 0 36px;
	}

	.w40iq-deployment-planner-guest__tool-label {
		display: block;
		height: 10px;
		max-width: 52px;
		color: transparent;
		font-size: 0;
		line-height: 0;
		overflow: hidden;
		white-space: nowrap;
	}

	.w40iq-deployment-planner-guest__tool-label span {
		color: #f3c63b;
		font-size: 9px;
		line-height: 1;
	}

	.w40iq-deployment-planner-guest__select-tool {
		height: 58px;
		min-height: 58px;
		max-height: 58px;
		padding: 4px 3px;
		font-size: 0;
		line-height: 0;
	}
}

@media (max-width: 980px), (pointer: coarse) {
	.w40iq-deployment-planner-guest__tool-button,
	.w40iq-deployment-planner-guest__tool-button--labeled,
	.w40iq-deployment-planner-guest__select-tool {
		width: 58px;
		height: 58px;
		min-height: 58px;
		max-height: 58px;
		padding: 4px 3px;
		aspect-ratio: 1 / 1;
		overflow: hidden;
	}

	.w40iq-deployment-planner-guest__tool-button--labeled {
		gap: 2px;
	}

	.w40iq-deployment-planner-guest__tool-button--labeled img {
		width: 36px;
		height: 36px;
		flex: 0 0 36px;
	}

	.w40iq-deployment-planner-guest__tool-label {
		display: block;
		height: 10px;
		max-width: 52px;
		color: transparent;
		font-size: 0;
		line-height: 0;
		overflow: hidden;
		white-space: nowrap;
	}

	.w40iq-deployment-planner-guest__tool-label span {
		color: #f3c63b;
		font-size: 9px;
		line-height: 1;
	}

	.w40iq-deployment-planner-guest__select-tool {
		font-size: 0;
		line-height: 0;
	}
}


/* Storage-Köpfe: große Illustration über dem Text, kompakt und zentriert. */
.w40iq-deployment-planner-guest__army-storage-head {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 8px;
	text-align: center;
}

.w40iq-deployment-planner-guest__army-storage-icon-image {
	order: -1;
	display: block;
	width: min(100%, 340px);
	max-width: 340px;
	height: 180px;
	max-height: 180px;
	margin: 0 auto;
	object-fit: contain;
}

.w40iq-deployment-planner-guest__army-storage-copy {
	display: flex;
	min-height: 0;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
}

.w40iq-deployment-planner-guest__army-storage-copy h4,
.w40iq-deployment-planner-guest__army-storage-copy p {
	width: 100%;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
	color: #b89a62;
}

.w40iq-deployment-planner-guest__army-storage-copy h4 {
	color: #f3c63b;
}

@media (max-width: 782px) {
	.w40iq-deployment-planner-guest__army-storage-icon-image {
		width: min(100%, 250px);
		max-width: 250px;
		height: 135px;
		max-height: 135px;
	}
}


.w40iq-deployment-planner-guest__unit-action-toggle {
	display: inline-flex;
	align-items: center;
	gap: 7px;
}

.w40iq-deployment-planner-guest__unit-action-count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 22px;
	height: 22px;
	padding: 0 6px;
	border: 1px solid rgba(0, 0, 0, 0.65);
	border-radius: 999px;
	background: rgba(0, 0, 0, 0.82);
	color: #f3c63b;
	font-size: 12px;
	font-weight: 900;
	line-height: 1;
	box-shadow: inset 0 0 0 1px rgba(243, 198, 59, 0.2);
}

/* Dropdown/Accordion für Not Deployed und Reserve. */
.w40iq-deployment-planner-guest__storage-panels {
	position: relative;
	overflow: visible;
}

.w40iq-deployment-planner-guest__storage-panel {
	position: relative;
	min-height: 0;
	overflow: visible;
}

.w40iq-deployment-planner-guest__storage-panel .w40iq-deployment-planner-guest__army-storage-head {
	position: relative;
	margin-bottom: 0;
	padding: 10px 44px 10px 10px;
	cursor: pointer;
	border-radius: 8px;
	outline: none;
}

.w40iq-deployment-planner-guest__storage-panel .w40iq-deployment-planner-guest__army-storage-head:focus-visible {
	box-shadow: 0 0 0 3px rgba(243, 198, 59, 0.42);
}

.w40iq-deployment-planner-guest__storage-panel .w40iq-deployment-planner-guest__army-storage-head::after {
	content: '▼';
	display: grid;
	position: absolute;
	right: 10px;
	top: 50%;
	width: 28px;
	height: 28px;
	transform: translateY(-50%);
	place-items: center;
	border: 1px solid rgba(243, 198, 59, 0.45);
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.72);
	color: #f3c63b;
	font-size: 13px;
	line-height: 1;
}

.w40iq-deployment-planner-guest__storage-panel.is-storage-expanded {
	z-index: 1000;
}

.w40iq-deployment-planner-guest__storage-panel.is-storage-expanded .w40iq-deployment-planner-guest__army-storage-head::after {
	content: '▲';
}

.w40iq-deployment-planner-guest__storage-panel .w40iq-deployment-planner-guest__army-storage-list {
	position: absolute;
	z-index: 1001;
	top: calc(100% + 8px);
	left: 0;
	right: 0;
	display: none;
	max-height: min(60vh, 620px);
	min-height: 90px;
	overflow: auto;
	margin: 0;
	padding: 10px;
	border: 1px solid rgba(243, 198, 59, 0.48);
	border-radius: 10px;
	background:
		linear-gradient(180deg, rgba(31, 27, 15, 0.99), rgba(8, 7, 5, 0.995)),
		#0a0906;
	box-shadow: 0 18px 50px rgba(0, 0, 0, 0.72);
}

.w40iq-deployment-planner-guest__storage-panel.is-storage-expanded .w40iq-deployment-planner-guest__army-storage-list {
	display: grid;
}

.w40iq-deployment-planner-guest__storage-panel:not(.is-storage-expanded) .w40iq-deployment-planner-guest__army-storage-list {
	display: none !important;
}

.w40iq-deployment-planner-guest__storage-close {
	display: none !important;
}

/* Storage-Icons analog zu Measure/Circle. */
.w40iq-deployment-planner-guest__army-storage-icon-image,
.w40iq-deployment-planner-guest__storage-panel.is-storage-expanded .w40iq-deployment-planner-guest__army-storage-icon-image {
	width: 78px;
	max-width: 78px;
	height: 78px;
	max-height: 78px;
	object-fit: contain;
}

@media (max-width: 782px) {
	.w40iq-deployment-planner-guest__army-storage-icon-image,
	.w40iq-deployment-planner-guest__storage-panel.is-storage-expanded .w40iq-deployment-planner-guest__army-storage-icon-image {
		width: 62px;
		max-width: 62px;
		height: 62px;
		max-height: 62px;
	}

	.w40iq-deployment-planner-guest__storage-panel .w40iq-deployment-planner-guest__army-storage-list {
		max-height: 55vh;
	}
}


/* Kompakter Storage-Kopf und Unit-Benachrichtigung. */
.w40iq-deployment-planner-guest__storage-panel .w40iq-deployment-planner-guest__army-storage-head {
	gap: 2px;
	min-height: 0;
	padding-top: 6px;
	padding-bottom: 7px;
}

.w40iq-deployment-planner-guest__storage-panel .w40iq-deployment-planner-guest__army-storage-copy {
	gap: 2px;
	min-height: 0;
}

.w40iq-deployment-planner-guest__storage-panel .w40iq-deployment-planner-guest__army-storage-copy h4 {
	display: inline-flex;
	position: relative;
	align-items: center;
	justify-content: center;
	gap: 6px;
	margin: 0;
	line-height: 1.1;
}

.w40iq-deployment-planner-guest__storage-panel .w40iq-deployment-planner-guest__army-storage-copy p {
	margin: 2px 0 0;
	line-height: 1.25;
}

.w40iq-deployment-planner-guest__storage-panel .w40iq-deployment-planner-guest__army-storage-icon-image {
	margin-bottom: 0;
}

.w40iq-deployment-planner-guest__storage-badge {
	display: inline-flex;
	position: absolute;
	left: calc(100% + 7px);
	top: -9px;
	min-width: 20px;
	height: 20px;
	padding: 0 6px;
	align-items: center;
	justify-content: center;
	border: 2px solid #160000;
	border-radius: 999px;
	background: #e11919;
	color: #fff;
	font-family: Arial, sans-serif;
	font-size: 11px;
	font-weight: 900;
	font-style: normal;
	line-height: 1;
	box-shadow: 0 0 0 2px rgba(225, 25, 25, 0.22), 0 3px 8px rgba(0, 0, 0, 0.55);
}

.w40iq-deployment-planner-guest__storage-badge[hidden] {
	display: none !important;
}

.w40iq-deployment-planner-guest__storage-panel.is-storage-notified {
	animation: w40iq-storage-notice-pro 0.55s ease-in-out 3;
}

.w40iq-deployment-planner-guest__storage-panel.is-storage-notified .w40iq-deployment-planner-guest__army-storage-head {
	border-color: #ffda28;
	box-shadow: inset 0 0 0 2px rgba(255, 218, 40, 0.75), 0 0 24px rgba(255, 196, 0, 0.65);
	background: linear-gradient(180deg, rgba(255, 204, 0, 0.16), rgba(255, 204, 0, 0.04));
}

.w40iq-deployment-planner-guest__storage-panel.is-storage-notified .w40iq-deployment-planner-guest__storage-badge {
	animation: w40iq-storage-badge-pop-pro 0.42s ease-out;
}

@keyframes w40iq-storage-notice-pro {
	0%, 100% { filter: brightness(1); }
	50% { filter: brightness(1.45); }
}

@keyframes w40iq-storage-badge-pop-pro {
	0% { transform: scale(0.35); }
	70% { transform: scale(1.25); }
	100% { transform: scale(1); }
}


/* Storage-Badge oben rechts, Dropdown-Pfeil unten rechts. */
.w40iq-deployment-planner-guest__storage-panel .w40iq-deployment-planner-guest__army-storage-copy h4 {
	position: static;
}

.w40iq-deployment-planner-guest__storage-panel .w40iq-deployment-planner-guest__storage-badge {
	left: auto;
	right: 12px;
	top: 10px;
	z-index: 3;
}

.w40iq-deployment-planner-guest__storage-panel .w40iq-deployment-planner-guest__army-storage-head::after {
	top: auto;
	right: 10px;
	bottom: 10px;
	transform: none;
}


/* Live-Bewegungsdistanz pro Modell beim Verschieben einer Unit. */
.w40iq-deployment-planner-guest__unit-movement-guides {
	pointer-events: none;
}

.w40iq-deployment-planner-guest__unit-movement-line {
	stroke: rgba(255, 218, 40, 0.92);
	stroke-width: 2.2;
	stroke-linecap: round;
	stroke-dasharray: 2.2 3.4;
	vector-effect: non-scaling-stroke;
	filter:
		drop-shadow(0 1px 2px rgba(0, 0, 0, 0.95))
		drop-shadow(0 0 4px rgba(255, 196, 0, 0.5));
}

.w40iq-deployment-planner-guest__unit-movement-start {
	fill: rgba(255, 218, 40, 0.95);
	stroke: rgba(15, 12, 4, 0.95);
	stroke-width: 1.4;
	vector-effect: non-scaling-stroke;
}

.w40iq-deployment-planner-guest__unit-movement-label {
	fill: #fff4b2;
	stroke: rgba(11, 10, 7, 0.95);
	stroke-width: 0.42;
	paint-order: stroke;
	font-size: 2.45px;
	font-weight: 900;
	text-anchor: middle;
	dominant-baseline: central;
	pointer-events: none;
}


/* Eine Bewegungsanzeige pro Unit; Distanz seitlich neben der Unit. */
.w40iq-deployment-planner-guest__unit-movement-label {
	font-size: 2.7px;
	dominant-baseline: middle;
}


/* Distanzwert immer außerhalb der vollständigen Unit-/Kohärenzfläche. */
.w40iq-deployment-planner-guest__unit-movement-label {
	font-size: 3px;
	font-weight: 900;
	dominant-baseline: middle;
}


.w40iq-deployment-planner-guest__unit-marker.is-transport-drop-target {
	filter: brightness(1.18);
	outline: 4px solid #ffd32a;
	outline-offset: 4px;
	box-shadow: 0 0 0 7px rgba(255, 211, 42, 0.28), 0 0 24px rgba(255, 211, 42, 0.85);
	z-index: 45;
}

.w40iq-deployment-planner-guest__unit-marker.is-transport-drop-target::after {
	content: 'LOAD';
	position: absolute;
	left: 50%;
	top: -30px;
	transform: translateX(-50%);
	padding: 3px 8px;
	border: 2px solid #ffd32a;
	border-radius: 999px;
	background: rgba(15, 18, 10, 0.94);
	color: #ffd32a;
	font-size: 11px;
	font-weight: 800;
	line-height: 1;
	letter-spacing: 0.06em;
	pointer-events: none;
	white-space: nowrap;
}


/* Transporter: einzelne Einheit per Maus oder Touch auswählen und entladen. */
.w40iq-deployment-planner-guest__transport-unload-select {
	min-width: 170px;
	max-width: 260px;
	height: 36px;
	padding: 5px 30px 5px 9px;
	border: 1px solid rgba(255, 255, 255, 0.32);
	border-radius: 7px;
	background: rgba(17, 17, 17, 0.96);
	color: #fff;
	font: inherit;
	touch-action: manipulation;
}

.w40iq-deployment-planner-guest__transport-unload-select:focus {
	outline: 2px solid #ffd928;
	outline-offset: 2px;
}

@media (max-width: 782px), (pointer: coarse) {
	.w40iq-deployment-planner-guest__transport-unload-select,
	.w40iq-deployment-planner-guest__unit-action-row .w40iq-deployment-planner-guest__small-button {
		min-height: 44px;
	}
	.w40iq-deployment-planner-guest__transport-unload-select {
		min-width: min(230px, 100%);
		font-size: 16px;
	}
}


/* Transport controls remain visible directly below the Actions button. */
.w40iq-deployment-planner-guest__transport-unload-quick {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 6px;
	background: rgba(11, 10, 7, 0.92);
	border: 1px solid rgba(243, 198, 59, 0.62);
	border-radius: 8px;
	box-shadow: 0 5px 14px rgba(0, 0, 0, 0.48);
	pointer-events: auto;
}

.w40iq-deployment-planner-guest__unit-action-menu.is-left .w40iq-deployment-planner-guest__transport-unload-quick {
	justify-content: flex-end;
}

.w40iq-deployment-planner-guest__transport-unload-row {
	padding-top: 6px;
	border-top: 1px solid rgba(255, 255, 255, 0.14);
}

@media (max-width: 782px), (pointer: coarse) {
	.w40iq-deployment-planner-guest__transport-unload-quick {
		width: min(290px, calc(100vw - 28px));
		flex-wrap: wrap;
	}
	.w40iq-deployment-planner-guest__transport-unload-quick .w40iq-deployment-planner-guest__transport-unload-select {
		flex: 1 1 180px;
		min-width: 0;
	}
}


/* Transport/action positioning refinements */
.w40iq-deployment-planner-guest__unit-action-menu {
	z-index: 80;
	gap: 4px;
}

.w40iq-deployment-planner-guest__unit-action-menu.is-right {
	transform: translate(0, -100%);
}

.w40iq-deployment-planner-guest__unit-action-menu.is-left {
	transform: translate(-100%, -100%);
}

@media (max-width: 980px), (pointer: coarse) {
	.w40iq-deployment-planner-guest__unit-action-menu.is-right {
		transform: translate(0, -100%);
	}
	.w40iq-deployment-planner-guest__unit-action-menu.is-left {
		transform: translate(-100%, -100%);
	}
}

.w40iq-deployment-planner-guest__transport-unload-quick {
	max-width: min(360px, calc(100vw - 24px));
}

.w40iq-deployment-planner-guest__transport-unload-select {
	max-width: 240px;
}

.w40iq-deployment-planner-guest__unit-marker:hover,
.w40iq-deployment-planner-guest__unit-marker:focus-visible,
.w40iq-deployment-planner-guest__unit-marker.is-transport-preview {
	z-index: 75 !important;
}

.w40iq-deployment-planner-guest__transport-popover {
	left: auto;
	right: calc(100% + 8px);
	bottom: 50%;
	z-index: 90;
	transform: translateY(50%) rotate(calc(var(--w40iq-unit-rotation, 0deg) * -1));
}

.w40iq-deployment-planner-guest__unit-marker:hover .w40iq-deployment-planner-guest__transport-popover,
.w40iq-deployment-planner-guest__unit-marker:focus-visible .w40iq-deployment-planner-guest__transport-popover,
.w40iq-deployment-planner-guest__unit-marker.is-transport-preview .w40iq-deployment-planner-guest__transport-popover {
	display: block;
}

/* Stable action controls: anchored to the fixed rotation-circle centre. */
.w40iq-deployment-planner-guest__unit-action-menu.is-right {
	transform: translate(0, -50%);
}
.w40iq-deployment-planner-guest__unit-action-menu.is-left {
	transform: translate(-100%, -50%);
}
@media (max-width: 980px), (pointer: coarse) {
	.w40iq-deployment-planner-guest__unit-action-menu.is-right {
		transform: translate(0, -50%);
	}
	.w40iq-deployment-planner-guest__unit-action-menu.is-left {
		transform: translate(-100%, -50%);
	}
}


/* 0.15.118: viewport-fixed mobile actions and compact responsive tabs */
.w40iq-deployment-planner-guest__unit-action-menu.is-mobile-overlay {
	position: fixed !important;
	z-index: 2147483000 !important;
	transform: none !important;
	max-width: min(320px, calc(100vw - 16px));
	gap: 4px;
}
.w40iq-deployment-planner-guest__unit-action-menu.is-mobile-overlay .w40iq-deployment-planner-guest__unit-action-toggle {
	min-height: 38px;
	padding: 7px 11px;
	font-size: 0.78rem;
}
.w40iq-deployment-planner-guest__unit-action-menu.is-mobile-overlay .w40iq-deployment-planner-guest__unit-action-body,
.w40iq-deployment-planner-guest__unit-action-menu.is-mobile-overlay .w40iq-deployment-planner-guest__transport-unload-quick {
	max-width: min(304px, calc(100vw - 16px));
}
@media (orientation: landscape) and (max-width: 980px) {
	.w40iq-deployment-planner-guest__planner-tabs {
		grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
		gap: 6px;
	}
	.w40iq-deployment-planner-guest__planner-tab {
		min-height: 38px;
		padding: 7px 6px;
		font-size: clamp(0.68rem, 1.6vw, 0.84rem);
		white-space: nowrap;
	}
}
@media (orientation: portrait) and (max-width: 600px) {
	.w40iq-deployment-planner-guest__planner-tabs {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		gap: 6px;
	}
	.w40iq-deployment-planner-guest__planner-tab:last-child:nth-child(odd) {
		grid-column: 1 / -1;
	}
}


/* Mobile action menu: fixed button anchored to the selection circle.
   The expandable content is a separate popover, so opening it never moves the button. */
.w40iq-deployment-planner-guest__unit-action-menu.is-mobile-overlay {
	position: fixed !important;
	display: block;
	width: max-content;
	max-width: none;
	transform: none !important;
	z-index: 2147483000 !important;
}

.w40iq-deployment-planner-guest__unit-action-menu.is-mobile-overlay
.w40iq-deployment-planner-guest__mobile-action-panel {
	--w40iq-mobile-panel-x: 0px;
	position: absolute;
	left: 0;
	display: flex;
	flex-direction: column;
	gap: 4px;
	width: max-content;
	max-width: min(304px, calc(100vw - 16px));
	transform: translateX(var(--w40iq-mobile-panel-x));
	z-index: 1;
	overscroll-behavior: contain;
	-webkit-overflow-scrolling: touch;
}

.w40iq-deployment-planner-guest__unit-action-menu.is-mobile-overlay.opens-down
.w40iq-deployment-planner-guest__mobile-action-panel {
	top: calc(100% + 6px);
	bottom: auto;
}

.w40iq-deployment-planner-guest__unit-action-menu.is-mobile-overlay.opens-up
.w40iq-deployment-planner-guest__mobile-action-panel {
	top: auto;
	bottom: calc(100% + 6px);
}

.w40iq-deployment-planner-guest__unit-action-menu.is-mobile-overlay
.w40iq-deployment-planner-guest__unit-action-body,
.w40iq-deployment-planner-guest__unit-action-menu.is-mobile-overlay
.w40iq-deployment-planner-guest__transport-unload-quick {
	box-sizing: border-box;
	width: min(304px, calc(100vw - 16px));
	max-width: min(304px, calc(100vw - 16px));
}


/* Mobile Action-Menü: Desktop-Verhalten, lediglich kompakter skaliert. */
@media (max-width: 980px), (pointer: coarse) {
	.w40iq-deployment-planner-guest__unit-action-menu.is-mobile-compact {
		z-index: 120;
		gap: 3px;
		max-width: 230px;
	}

	.w40iq-deployment-planner-guest__unit-action-menu.is-mobile-compact.is-right {
		transform: translate(4px, -50%);
	}

	.w40iq-deployment-planner-guest__unit-action-menu.is-mobile-compact.is-left {
		transform: translate(calc(-100% - 4px), -50%);
	}

	.w40iq-deployment-planner-guest__unit-action-menu.is-mobile-compact
	.w40iq-deployment-planner-guest__unit-action-toggle {
		min-height: 30px;
		padding: 5px 9px;
		font-size: 0.7rem;
	}

	.w40iq-deployment-planner-guest__unit-action-menu.is-mobile-compact
	.w40iq-deployment-planner-guest__unit-action-count {
		min-width: 19px;
		height: 19px;
		padding: 0 5px;
		font-size: 10px;
	}

	.w40iq-deployment-planner-guest__unit-action-menu.is-mobile-compact
	.w40iq-deployment-planner-guest__unit-action-body {
		gap: 5px;
		width: min(230px, calc(100vw - 20px));
		max-width: min(230px, calc(100vw - 20px));
		padding: 6px;
		font-size: 0.7rem;
	}

	.w40iq-deployment-planner-guest__unit-action-menu.is-mobile-compact
	.w40iq-deployment-planner-guest__transport-unload-quick {
		width: min(230px, calc(100vw - 20px));
		max-width: min(230px, calc(100vw - 20px));
		padding: 6px;
	}

	.w40iq-deployment-planner-guest__unit-action-menu.is-mobile-compact
	.w40iq-deployment-planner-guest__small-button,
	.w40iq-deployment-planner-guest__unit-action-menu.is-mobile-compact
	.w40iq-deployment-planner-guest__unit-action-input,
	.w40iq-deployment-planner-guest__unit-action-menu.is-mobile-compact
	.w40iq-deployment-planner-guest__transport-unload-select {
		min-height: 32px;
		font-size: 0.68rem;
	}

	.w40iq-deployment-planner-guest__unit-action-menu.is-mobile-compact
	.w40iq-deployment-planner-guest__transport-unload-select {
		max-width: 160px;
	}
}


/* Kompaktes mobiles Actions-Menü: Button bleibt an der Unit,
   aufgeklappter Inhalt liegt als Portal über allen Planner-Ebenen. */
@media (max-width: 980px), (pointer: coarse) {
	.w40iq-deployment-planner-guest__unit-action-menu.is-mobile-compact {
		z-index: 2147483646;
		gap: 2px;
		max-width: 176px;
	}

	.w40iq-deployment-planner-guest__unit-action-menu.is-mobile-compact
	.w40iq-deployment-planner-guest__unit-action-toggle {
		min-height: 25px;
		padding: 3px 6px;
		border-radius: 13px;
		font-size: 0.58rem;
		line-height: 1;
	}

	.w40iq-deployment-planner-guest__unit-action-menu.is-mobile-compact
	.w40iq-deployment-planner-guest__unit-action-count {
		min-width: 15px;
		height: 15px;
		padding: 0 3px;
		font-size: 8px;
	}

	.w40iq-deployment-planner-guest__mobile-action-portal {
		position: fixed;
		z-index: 2147483647;
		box-sizing: border-box;
		display: flex;
		flex-direction: column;
		gap: 2px;
		width: min(184px, calc(100vw - 10px));
		max-width: min(184px, calc(100vw - 10px));
		overscroll-behavior: contain;
		-webkit-overflow-scrolling: touch;
	}

	.w40iq-deployment-planner-guest__mobile-action-portal
	.w40iq-deployment-planner-guest__unit-action-body,
	.w40iq-deployment-planner-guest__mobile-action-portal
	.w40iq-deployment-planner-guest__transport-unload-quick {
		box-sizing: border-box;
		width: 100%;
		max-width: 100%;
		gap: 2px;
		padding: 4px;
		border-radius: 6px;
		font-size: 0.56rem;
		line-height: 1.1;
	}

	.w40iq-deployment-planner-guest__mobile-action-portal
	.w40iq-deployment-planner-guest__unit-action-row {
		gap: 2px;
		flex-wrap: wrap;
	}

	.w40iq-deployment-planner-guest__mobile-action-portal
	.w40iq-deployment-planner-guest__small-button,
	.w40iq-deployment-planner-guest__mobile-action-portal
	.w40iq-deployment-planner-guest__unit-action-input,
	.w40iq-deployment-planner-guest__mobile-action-portal
	.w40iq-deployment-planner-guest__transport-unload-select,
	.w40iq-deployment-planner-guest__mobile-action-portal button,
	.w40iq-deployment-planner-guest__mobile-action-portal select,
	.w40iq-deployment-planner-guest__mobile-action-portal input {
		min-height: 24px;
		padding: 3px 5px;
		font-size: 0.55rem;
		line-height: 1.1;
	}

	.w40iq-deployment-planner-guest__mobile-action-portal
	.w40iq-deployment-planner-guest__small-button {
		flex: 1 1 calc(50% - 2px);
		min-width: 70px;
	}

	.w40iq-deployment-planner-guest__mobile-action-portal
	.w40iq-deployment-planner-guest__unit-action-input {
		width: 40px;
		flex: 0 0 40px;
	}

	.w40iq-deployment-planner-guest__mobile-action-portal
	.w40iq-deployment-planner-guest__unit-action-names {
		display: none;
	}

	.w40iq-deployment-planner-guest__mobile-action-portal
	.w40iq-deployment-planner-guest__unit-action-name {
		padding: 1px 4px;
		font-size: 0.52rem;
	}

	.w40iq-deployment-planner-guest__mobile-action-portal
	.w40iq-deployment-planner-guest__transport-unload-select {
		max-width: 135px;
	}
}

@media (max-width: 980px), (pointer: coarse) {
	.w40iq-deployment-planner-guest__storage-panel .w40iq-deployment-planner-guest__army-storage-head {
		min-height: 72px;
		padding: 8px 42px 8px 8px;
		gap: 4px;
	}

	.w40iq-deployment-planner-guest__storage-panel .w40iq-deployment-planner-guest__army-storage-icon-image,
	.w40iq-deployment-planner-guest__storage-panel.is-storage-expanded .w40iq-deployment-planner-guest__army-storage-icon-image {
		width: 48px;
		max-width: 48px;
		height: 48px;
		max-height: 48px;
		margin: 0 auto;
	}

	.w40iq-deployment-planner-guest__storage-panel .w40iq-deployment-planner-guest__army-storage-copy {
		min-height: 0;
		gap: 0;
	}

	.w40iq-deployment-planner-guest__storage-panel .w40iq-deployment-planner-guest__army-storage-copy h4 {
		font-size: 0.72rem;
		line-height: 1;
	}

	.w40iq-deployment-planner-guest__storage-panel .w40iq-deployment-planner-guest__army-storage-copy p {
		display: none;
	}
}


/* Shared deployment: read-only until the current user clicks "Arbeiten". */
.w40iq-deployment-planner-guest.is-shared-readonly {
	position: relative;
}

.w40iq-deployment-planner-guest.is-shared-readonly::before {
	content: "Lokale Sperre aktiv – Schloss lösen, um zu bearbeiten";
	position: sticky;
	top: 8px;
	z-index: 10000;
	display: block;
	width: max-content;
	max-width: calc(100% - 24px);
	margin: 8px auto;
	padding: 9px 14px;
	border: 1px solid rgba(255, 196, 0, 0.75);
	border-radius: 6px;
	background: rgba(24, 20, 10, 0.96);
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.45);
	color: #ffd85a;
	font-weight: 700;
	text-align: center;
	pointer-events: none;
}

.w40iq-deployment-planner-guest.is-shared-readonly :is(
	.w40iq-deployment-planner-guest__toolbar,
	.w40iq-deployment-planner-guest__tool-modes,
	.w40iq-deployment-planner-guest__army-importer,
	.w40iq-deployment-planner-guest__storage-panel[data-w40iq-army-panel="not-deployed"]
) {
	filter: grayscale(0.85);
	opacity: 0.46;
	cursor: not-allowed;
}

.w40iq-deployment-planner-guest.is-shared-readonly :is(
	.w40iq-deployment-planner-guest__toolbar,
	.w40iq-deployment-planner-guest__tool-modes,
	.w40iq-deployment-planner-guest__army-importer,
	.w40iq-deployment-planner-guest__storage-panel[data-w40iq-army-panel="not-deployed"]
) * {
	cursor: not-allowed !important;
}

/* Shared deployment: reserve stays readable and opens above the map. */
.w40iq-deployment-planner-guest__unit-panel,
.w40iq-deployment-planner-guest__storage-panels,
.w40iq-deployment-planner-guest__storage-panel[data-w40iq-army-panel="deep-strike"] {
	position: relative;
	overflow: visible;
}

.w40iq-deployment-planner-guest__unit-panel {
	z-index: 30;
}

.w40iq-deployment-planner-guest__storage-panel[data-w40iq-army-panel="deep-strike"] {
	z-index: 40;
	filter: none !important;
	opacity: 1 !important;
	cursor: default;
}

.w40iq-deployment-planner-guest__storage-panel[data-w40iq-army-panel="deep-strike"] > [data-w40iq-storage-toggle] {
	cursor: pointer !important;
}

.w40iq-deployment-planner-guest__storage-panel[data-w40iq-army-panel="deep-strike"] > .w40iq-deployment-planner-guest__army-storage-list:not([hidden]) {
	position: absolute;
	z-index: 60;
	top: calc(100% + 8px);
	left: 0;
	right: 0;
	width: auto;
	max-height: min(280px, 42vh);
	margin: 0;
	padding: 10px;
	overflow: auto;
	background: rgba(10, 9, 6, 0.98);
	border-color: rgba(255, 213, 74, 0.52);
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.72);
}

.w40iq-deployment-planner-guest.is-shared-readonly
.w40iq-deployment-planner-guest__storage-panel[data-w40iq-army-panel="deep-strike"],
.w40iq-deployment-planner-guest.is-shared-readonly
.w40iq-deployment-planner-guest__storage-panel[data-w40iq-army-panel="deep-strike"] * {
	filter: none !important;
	opacity: 1 !important;
}

.w40iq-deployment-planner-guest.is-shared-readonly
.w40iq-deployment-planner-guest__storage-panel[data-w40iq-army-panel="deep-strike"]
.w40iq-deployment-planner-guest__army-storage-unit {
	cursor: not-allowed !important;
}

/* Shared deployment: all unit-management tabs stay visibly disabled in read-only mode. */
.w40iq-deployment-planner-guest.is-shared-readonly .w40iq-deployment-planner-guest__unit-panel > :not(.w40iq-deployment-planner-guest__storage-panels),
.w40iq-deployment-planner-guest.is-shared-readonly .w40iq-deployment-planner-guest__army-tabs,
.w40iq-deployment-planner-guest.is-shared-readonly .w40iq-deployment-planner-guest__army-tab,
.w40iq-deployment-planner-guest.is-shared-readonly .w40iq-deployment-planner-guest__army-importer,
.w40iq-deployment-planner-guest.is-shared-readonly .w40iq-deployment-planner-guest__army-importer * {
	filter: grayscale(0.9) !important;
	opacity: 0.46 !important;
	cursor: not-allowed !important;
}

.w40iq-deployment-planner-guest.is-shared-readonly .w40iq-deployment-planner-guest__army-tab.is-active,
.w40iq-deployment-planner-guest.is-shared-readonly .w40iq-deployment-planner-guest__army-tab[aria-selected="true"] {
	filter: grayscale(1) !important;
	opacity: 0.46 !important;
}



/* Local safety lock for live shared deployments. */
.w40iq-deployment-planner-guest__shared-local-lock {
	display: inline-flex;
	align-items: center;
	gap: 7px;
}

.w40iq-deployment-planner-guest__shared-local-lock::before {
	content: "";
	width: 18px;
	height: 18px;
	flex: 0 0 18px;
	background: url("../images/lock-open.webp") center / contain no-repeat;
}

.w40iq-deployment-planner-guest__shared-local-lock.is-locked::before {
	background-image: url("../images/lock-closed.webp");
}

/* Shared deployment cards: robust responsive grouping, including owner controls. */
.w40iq-deployment-planner-guest__layout-item--shared-live {
	min-width: 0;
	overflow: hidden;
}

.w40iq-deployment-planner-guest__layout-item--shared-live .w40iq-deployment-planner-guest__layout-info,
.w40iq-deployment-planner-guest__layout-item--shared-live .w40iq-deployment-planner-guest__layout-actions,
.w40iq-deployment-planner-guest__layout-item--shared-live .w40iq-deployment-planner-guest__layout-primary-actions,
.w40iq-deployment-planner-guest__layout-item--shared-live .w40iq-deployment-planner-guest__layout-owner-actions,
.w40iq-deployment-planner-guest__layout-item--shared-live .w40iq-deployment-planner-guest__nudge-actions {
	min-width: 0;
	max-width: 100%;
}

.w40iq-deployment-planner-guest__layout-item--shared-live .w40iq-deployment-planner-guest__layout-primary-actions,
.w40iq-deployment-planner-guest__layout-item--shared-live .w40iq-deployment-planner-guest__layout-owner-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
}

.w40iq-deployment-planner-guest__layout-item--shared-live .w40iq-deployment-planner-guest__layout-actions {
	display: grid;
	grid-template-columns: auto minmax(250px, 1fr);
	gap: 8px 12px;
	align-items: center;
	width: 100%;
	white-space: normal;
}

.w40iq-deployment-planner-guest__layout-item--shared-live .w40iq-deployment-planner-guest__layout-primary-actions {
	justify-content: flex-start;
}

.w40iq-deployment-planner-guest__layout-item--shared-live .w40iq-deployment-planner-guest__nudge-actions {
	display: grid;
	grid-template-columns: minmax(150px, 1fr) auto;
	gap: 6px;
	justify-content: end;
	margin: 0;
	order: initial;
}

.w40iq-deployment-planner-guest__layout-item--shared-live .w40iq-deployment-planner-guest__nudge-select {
	width: 100%;
	max-width: none;
}

.w40iq-deployment-planner-guest__layout-item--shared-live .w40iq-deployment-planner-guest__nudge-status {
	grid-column: 1 / -1;
	white-space: normal;
}

.w40iq-deployment-planner-guest__layout-item--shared-live .w40iq-deployment-planner-guest__layout-owner-actions {
	grid-column: 1 / -1;
	justify-content: flex-end;
	padding-top: 8px;
	border-top: 1px solid rgba(240, 217, 166, 0.14);
}

@media (max-width: 1500px) {
	.w40iq-deployment-planner-guest__layout-item--shared-live {
		grid-template-columns: minmax(0, 1fr) !important;
		align-items: stretch !important;
	}

	.w40iq-deployment-planner-guest__layout-item--shared-live .w40iq-deployment-planner-guest__layout-actions {
		grid-template-columns: minmax(0, 1fr) minmax(280px, 1fr) !important;
		width: 100% !important;
		max-width: none !important;
		justify-content: stretch !important;
		flex-wrap: wrap !important;
	}

	.w40iq-deployment-planner-guest__layout-item--shared-live .w40iq-deployment-planner-guest__layout-info strong {
		white-space: normal;
		overflow-wrap: anywhere;
	}

	.w40iq-deployment-planner-guest__layout-item--shared-live .w40iq-deployment-planner-guest__shared-members {
		display: flex;
		flex-wrap: wrap;
		gap: 5px;
	}
}

@media (max-width: 900px) {
	.w40iq-deployment-planner-guest__layout-item--shared-live .w40iq-deployment-planner-guest__layout-actions {
		grid-template-columns: minmax(0, 1fr) !important;
	}

	.w40iq-deployment-planner-guest__layout-item--shared-live .w40iq-deployment-planner-guest__layout-primary-actions,
	.w40iq-deployment-planner-guest__layout-item--shared-live .w40iq-deployment-planner-guest__layout-owner-actions {
		justify-content: flex-start;
	}

	.w40iq-deployment-planner-guest__layout-item--shared-live .w40iq-deployment-planner-guest__nudge-actions {
		grid-template-columns: minmax(0, 1fr) auto;
	}
}

@media (max-width: 520px) {
	.w40iq-deployment-planner-guest__layout-item--shared-live .w40iq-deployment-planner-guest__layout-primary-actions,
	.w40iq-deployment-planner-guest__layout-item--shared-live .w40iq-deployment-planner-guest__layout-owner-actions {
		display: grid;
		grid-template-columns: minmax(0, 1fr);
	}

	.w40iq-deployment-planner-guest__layout-item--shared-live .w40iq-deployment-planner-guest__nudge-actions {
		grid-template-columns: minmax(0, 1fr);
	}

	.w40iq-deployment-planner-guest__layout-item--shared-live .w40iq-deployment-planner-guest__small-button,
	.w40iq-deployment-planner-guest__layout-item--shared-live .w40iq-deployment-planner-guest__nudge-select {
		width: 100%;
		max-width: none;
	}

	.w40iq-deployment-planner-guest__layout-item--shared-live .w40iq-deployment-planner-guest__nudge-status {
		grid-column: 1;
	}
}

/* Shared action buttons: exact vertical alignment. */
.w40iq-deployment-planner-guest__layout-item--shared-live .w40iq-deployment-planner-guest__layout-primary-actions {
	display: flex;
	align-items: stretch;
	flex-wrap: nowrap;
	gap: 8px;
}

.w40iq-deployment-planner-guest__layout-item--shared-live .w40iq-deployment-planner-guest__layout-primary-actions > .w40iq-deployment-planner-guest__small-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	height: 46px;
	min-height: 46px;
	margin: 0;
	padding-top: 0;
	padding-bottom: 0;
	line-height: 1.2;
	white-space: nowrap;
}

.w40iq-deployment-planner-guest__layout-item--shared-live .w40iq-deployment-planner-guest__shared-local-lock::before {
	display: block;
	align-self: center;
	margin: 0;
}

@media (max-width: 700px) {
	.w40iq-deployment-planner-guest__layout-item--shared-live .w40iq-deployment-planner-guest__layout-primary-actions {
		flex-wrap: wrap;
	}
}


/* Desktop toolbar: reserve enough room for the background lock control. */
@media (min-width: 921px) {
	.w40iq-deployment-planner-guest__toolbar {
		grid-template-columns:
			minmax(300px, 0.95fr)
			minmax(170px, 0.52fr)
			minmax(235px, 0.68fr)
			96px
			190px
			minmax(250px, 0.78fr);
		gap: 8px;
	}

	.w40iq-deployment-planner-guest__segments {
		grid-template-columns: repeat(3, minmax(92px, 1fr));
	}

	.w40iq-deployment-planner-guest__segment span {
		padding-left: 8px;
		padding-right: 8px;
		white-space: nowrap;
	}

	.w40iq-deployment-planner-guest__file {
		min-width: 0;
		overflow: hidden;
	}

	.w40iq-deployment-planner-guest__file input {
		width: 100%;
		min-width: 0;
		font-size: 0.78rem;
	}

	.w40iq-deployment-planner-guest__file input::file-selector-button {
		margin-right: 6px;
		padding-left: 8px;
		padding-right: 8px;
	}

	.w40iq-deployment-planner-guest__range {
		grid-template-columns: minmax(120px, 1fr) 52px 38px;
		width: 100%;
	}

	.w40iq-deployment-planner-guest__icon-button[data-w40iq-lock] {
		width: 100%;
		min-width: 190px;
		min-height: 48px;
		padding: 7px 12px;
		gap: 10px;
		white-space: nowrap;
	}

	.w40iq-deployment-planner-guest__icon-button[data-w40iq-lock] .w40iq-deployment-planner-guest__lock-icon {
		flex: 0 0 30px;
		width: 30px;
		height: 30px;
	}

	.w40iq-deployment-planner-guest__icon-button[data-w40iq-lock] .w40iq-deployment-planner-guest__lock-text {
		display: block;
		white-space: nowrap;
		line-height: 1.15;
		text-align: left;
	}
}

/* Shared local lock: icon and text use one flex baseline without visual offset. */
.w40iq-deployment-planner-guest__layout-item--shared-live .w40iq-deployment-planner-guest__layout-primary-actions {
	display: flex !important;
	align-items: center !important;
	gap: 8px !important;
}

.w40iq-deployment-planner-guest__layout-item--shared-live .w40iq-deployment-planner-guest__layout-primary-actions > .w40iq-deployment-planner-guest__small-button {
	box-sizing: border-box !important;
	height: 42px !important;
	min-height: 42px !important;
	max-height: 42px !important;
	margin: 0 !important;
	padding: 0 12px !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	line-height: 1 !important;
}

.w40iq-deployment-planner-guest__layout-item--shared-live .w40iq-deployment-planner-guest__shared-local-lock {
	gap: 8px !important;
}

.w40iq-deployment-planner-guest__layout-item--shared-live .w40iq-deployment-planner-guest__shared-local-lock::before {
	content: "" !important;
	display: block !important;
	position: static !important;
	inset: auto !important;
	top: auto !important;
	left: auto !important;
	right: auto !important;
	bottom: auto !important;
	transform: none !important;
	translate: none !important;
	flex: 0 0 22px !important;
	width: 22px !important;
	height: 22px !important;
	margin: 0 !important;
	padding: 0 !important;
	align-self: center !important;
	vertical-align: middle !important;
	line-height: 0 !important;
	background-position: center center !important;
	background-repeat: no-repeat !important;
	background-size: contain !important;
}

.w40iq-deployment-planner-guest__layout-item--shared-live .w40iq-deployment-planner-guest__shared-local-lock {
	white-space: nowrap !important;
}


/* Optical correction: shared lock button baseline matches neighbouring controls. */
.w40iq-deployment-planner-guest__layout-item--shared-live .w40iq-deployment-planner-guest__shared-local-lock {
	position: relative !important;
	top: 4px !important;
}


/* Final shared lock button fix: icon no longer affects button height. */
.w40iq-deployment-planner-guest__layout-item--shared-live .w40iq-deployment-planner-guest__shared-local-lock {
	position: static !important;
	top: auto !important;
	box-sizing: border-box !important;
	height: 42px !important;
	min-height: 42px !important;
	max-height: 42px !important;
	margin: 0 !important;
	padding: 0 14px 0 42px !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	line-height: 1 !important;
	background-image: url("../images/lock-open.webp") !important;
	background-repeat: no-repeat !important;
	background-position: 12px center !important;
	background-size: 22px 22px !important;
}

.w40iq-deployment-planner-guest__layout-item--shared-live .w40iq-deployment-planner-guest__shared-local-lock.is-locked {
	background-image: url("../images/lock-closed.webp") !important;
}

.w40iq-deployment-planner-guest__layout-item--shared-live .w40iq-deployment-planner-guest__shared-local-lock::before {
	content: none !important;
	display: none !important;
}

.w40iq-deployment-planner-guest__layout-item--shared-live .w40iq-deployment-planner-guest__layout-primary-actions > .w40iq-deployment-planner-guest__small-button {
	height: 42px !important;
	min-height: 42px !important;
	max-height: 42px !important;
	margin: 0 !important;
}


/* Shared deployment action row: unify all control heights and spacing. */
.w40iq-deployment-planner-guest__layout-item--shared-live .w40iq-deployment-planner-guest__layout-actions {
	column-gap: 12px !important;
	row-gap: 10px !important;
	align-items: center !important;
}

.w40iq-deployment-planner-guest__layout-item--shared-live .w40iq-deployment-planner-guest__layout-primary-actions,
.w40iq-deployment-planner-guest__layout-item--shared-live .w40iq-deployment-planner-guest__nudge-actions {
	align-items: center !important;
	gap: 10px !important;
}

.w40iq-deployment-planner-guest__layout-item--shared-live .w40iq-deployment-planner-guest__layout-primary-actions > .w40iq-deployment-planner-guest__small-button,
.w40iq-deployment-planner-guest__layout-item--shared-live .w40iq-deployment-planner-guest__nudge-actions > .w40iq-deployment-planner-guest__small-button,
.w40iq-deployment-planner-guest__layout-item--shared-live .w40iq-deployment-planner-guest__nudge-select {
	box-sizing: border-box !important;
	height: 48px !important;
	min-height: 48px !important;
	max-height: 48px !important;
	margin: 0 !important;
	padding-top: 0 !important;
	padding-bottom: 0 !important;
	line-height: 1.2 !important;
	align-self: center !important;
}

.w40iq-deployment-planner-guest__layout-item--shared-live .w40iq-deployment-planner-guest__shared-local-lock {
	height: 48px !important;
	min-height: 48px !important;
	max-height: 48px !important;
	padding-top: 0 !important;
	padding-bottom: 0 !important;
}

.w40iq-deployment-planner-guest__layout-item--shared-live .w40iq-deployment-planner-guest__nudge-select {
	padding-left: 14px !important;
	padding-right: 38px !important;
}

@media (max-width: 900px) {
	.w40iq-deployment-planner-guest__layout-item--shared-live .w40iq-deployment-planner-guest__layout-primary-actions,
	.w40iq-deployment-planner-guest__layout-item--shared-live .w40iq-deployment-planner-guest__nudge-actions {
		gap: 8px !important;
	}
}

/* v0.15.145: Mobile landscape – kompakte Dropdowns für Not Deployed und Reserve. */
@media (orientation: landscape) and (max-height: 600px) {
	.w40iq-deployment-planner-guest__unit-panel {
		position: relative;
		z-index: 120;
		padding-top: 4px;
		padding-bottom: 4px;
		overflow: visible;
	}

	.w40iq-deployment-planner-guest__storage-panels {
		display: grid !important;
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		align-items: start !important;
		gap: 6px !important;
		position: relative;
		z-index: 130;
		overflow: visible !important;
	}

	.w40iq-deployment-planner-guest__storage-panel {
		min-width: 0 !important;
		min-height: 0 !important;
		height: 40px;
		padding: 0 !important;
		border-width: 1px !important;
		border-radius: 6px !important;
		background: rgba(10, 9, 6, 0.96) !important;
		box-shadow: 0 2px 8px rgba(0, 0, 0, 0.42) !important;
		overflow: visible !important;
	}

	.w40iq-deployment-planner-guest__storage-panel .w40iq-deployment-planner-guest__army-storage-head {
		display: flex !important;
		flex-direction: row !important;
		align-items: center !important;
		justify-content: flex-start !important;
		gap: 7px !important;
		width: 100%;
		height: 38px;
		min-height: 38px !important;
		margin: 0 !important;
		padding: 4px 34px 4px 7px !important;
		text-align: left !important;
		box-sizing: border-box;
	}

	.w40iq-deployment-planner-guest__storage-panel .w40iq-deployment-planner-guest__army-storage-icon-image,
	.w40iq-deployment-planner-guest__storage-panel.is-storage-expanded .w40iq-deployment-planner-guest__army-storage-icon-image {
		flex: 0 0 28px;
		width: 28px !important;
		max-width: 28px !important;
		height: 28px !important;
		max-height: 28px !important;
		margin: 0 !important;
		object-fit: contain;
	}

	.w40iq-deployment-planner-guest__storage-panel .w40iq-deployment-planner-guest__army-storage-copy {
		display: block !important;
		min-width: 0;
		margin: 0 !important;
	}

	.w40iq-deployment-planner-guest__storage-panel .w40iq-deployment-planner-guest__army-storage-copy h4 {
		display: flex !important;
		justify-content: flex-start !important;
		margin: 0 !important;
		overflow: hidden;
		font-size: 0.72rem !important;
		line-height: 1 !important;
		text-align: left !important;
		text-overflow: ellipsis;
		white-space: nowrap;
	}

	.w40iq-deployment-planner-guest__storage-panel .w40iq-deployment-planner-guest__army-storage-copy p {
		display: none !important;
	}

	.w40iq-deployment-planner-guest__storage-panel .w40iq-deployment-planner-guest__army-storage-head::after {
		right: 6px !important;
		width: 22px !important;
		height: 22px !important;
		font-size: 10px !important;
	}

	.w40iq-deployment-planner-guest__storage-panel.is-storage-expanded .w40iq-deployment-planner-guest__army-storage-head::after {
		transform: translateY(-50%) rotate(180deg) !important;
	}

	.w40iq-deployment-planner-guest__storage-panel > .w40iq-deployment-planner-guest__army-storage-list:not([hidden]) {
		display: block !important;
		position: absolute !important;
		z-index: 500 !important;
		top: calc(100% + 4px) !important;
		left: 0 !important;
		right: 0 !important;
		width: auto !important;
		min-height: 44px !important;
		max-height: min(240px, 48vh) !important;
		margin: 0 !important;
		padding: 6px !important;
		overflow: auto !important;
		border: 1px solid rgba(255, 213, 74, 0.52) !important;
		border-radius: 6px !important;
		background: rgba(10, 9, 6, 0.99) !important;
		box-shadow: 0 10px 24px rgba(0, 0, 0, 0.72) !important;
	}

	.w40iq-deployment-planner-guest__storage-badge {
		position: static !important;
		flex: 0 0 auto;
		min-width: 18px !important;
		height: 18px !important;
		padding: 0 5px !important;
		font-size: 10px !important;
	}
}



/* Mobile landscape: rechte Werkzeugleiste so kompakt wie die linke. */
@media (orientation: landscape) and (max-height: 600px) {
	.w40iq-deployment-planner-guest__workspace-shell {
		grid-template-columns: 72px minmax(560px, 1fr) 72px !important;
	}

	.w40iq-deployment-planner-guest__right-rail {
		width: 72px !important;
		min-width: 72px !important;
		max-width: 72px !important;
		gap: 6px !important;
	}

	.w40iq-deployment-planner-guest__trash {
		box-sizing: border-box !important;
		min-width: 0 !important;
		width: 100% !important;
		min-height: 82px !important;
		padding: 8px 5px !important;
		gap: 4px !important;
		border-width: 2px !important;
	}

	.w40iq-deployment-planner-guest__trash-icon {
		width: 44px !important;
		height: 44px !important;
		flex-basis: 44px !important;
	}

	.w40iq-deployment-planner-guest__trash strong {
		font-size: 0.72rem !important;
	}

	.w40iq-deployment-planner-guest__trash > span:not(.w40iq-deployment-planner-guest__trash-icon) {
		display: none !important;
	}

	.w40iq-deployment-planner-guest__reset-button {
		min-height: 34px !important;
		padding: 6px 4px !important;
		font-size: 0.72rem !important;
	}

	.w40iq-deployment-planner-guest__phase-nav {
		gap: 5px !important;
		padding-top: 0 !important;
		border-top: 0 !important;
	}

	.w40iq-deployment-planner-guest__phase-title {
		display: none !important;
	}

	.w40iq-deployment-planner-guest__phase-button {
		min-width: 0 !important;
		padding-left: 4px !important;
		padding-right: 4px !important;
		font-size: 0.7rem !important;
	}

	.w40iq-deployment-planner-guest__phase-item {
		gap: 3px !important;
	}
}


/* Mobile controls: touch-only presentation without keyboard shortcuts. */
.w40iq-deployment-planner-guest__select-tool img {
	display: none;
}

.w40iq-deployment-planner-guest__select-tool-label {
	display: inline;
}

@media (max-width: 782px), (hover: none) and (pointer: coarse) {
	.w40iq-deployment-planner-guest__tool-button--labeled .w40iq-deployment-planner-guest__tool-label {
		display: none;
	}

	.w40iq-deployment-planner-guest__tool-button--labeled img {
		width: 44px;
		height: 44px;
		flex: 0 0 44px;
	}

	.w40iq-deployment-planner-guest__select-tool {
		display: flex;
		align-items: center;
		justify-content: center;
		padding: 4px;
	}

	.w40iq-deployment-planner-guest__select-tool img {
		display: block;
		width: 50px;
		height: 50px;
		object-fit: contain;
	}

	.w40iq-deployment-planner-guest__select-tool-label {
		display: none;
	}
}


/* v0.15.184: Mobile tool buttons are icon-only. */
@media (max-width: 1180px), (hover: none), (pointer: coarse) {
	.w40iq-deployment-planner-guest__select-tool-label {
		display: none !important;
	}

	.w40iq-deployment-planner-guest__select-tool {
		font-size: 0 !important;
		gap: 0 !important;
		justify-content: center !important;
	}

	.w40iq-deployment-planner-guest__select-tool img {
		display: block !important;
		margin: 0 auto !important;
	}
}


/* v0.15.184: Select is icon-only on mobile. */
@media (max-width: 1024px), (hover: none) and (pointer: coarse) {
	.w40iq-deployment-planner-guest__select-tool::after,
	.w40iq-deployment-planner-guest__select-tool-label {
		content: none !important;
		display: none !important;
	}
}


/* v0.15.184: stable Deploy/Reserve Deny outline.
 * Every protection field now uses the same SVG union filter, so touching
 * or separating fields no longer changes the apparent border thickness.
 */
.w40iq-deployment-planner-guest__measurement.is-protection .w40iq-deployment-planner-guest__protection-shell {
	stroke: transparent;
	filter: none;
}

.w40iq-deployment-planner-guest__protection-merged-fill {
	opacity: 0.18;
}

.w40iq-deployment-planner-guest__protection-merged-outline {
	opacity: 1;
	isolation: isolate;
}


/* v0.15.184: selection gestures must not pan/scroll the zoomed map. */
@media (max-width: 980px), (hover: none) and (pointer: coarse) {
	.w40iq-deployment-planner-guest.is-select-tool [data-w40iq-workspace] {
		touch-action: none !important;
		overscroll-behavior: contain;
	}
}


/* v0.15.184: compact mobile storage headers. */
@media (max-width: 1024px), (hover: none) and (pointer: coarse) {
	.w40iq-deployment-planner-guest__storage-panel {
		position: relative !important;
	}

	.w40iq-deployment-planner-guest__storage-panel .w40iq-deployment-planner-guest__army-storage-head {
		position: relative !important;
		grid-template-columns: minmax(0, 1fr) !important;
		gap: 0 !important;
		min-height: 42px !important;
		padding-top: 6px !important;
		padding-bottom: 6px !important;
	}

	.w40iq-deployment-planner-guest__storage-panel .w40iq-deployment-planner-guest__army-storage-icon-image {
		display: none !important;
	}

	.w40iq-deployment-planner-guest__storage-panel .w40iq-deployment-planner-guest__army-storage-copy h4 {
		position: static !important;
		padding-right: 34px !important;
	}

	.w40iq-deployment-planner-guest__storage-panel .w40iq-deployment-planner-guest__storage-badge {
		position: absolute !important;
		top: -9px !important;
		right: -8px !important;
		left: auto !important;
		z-index: 8 !important;
		min-width: 20px !important;
		height: 20px !important;
		padding: 0 6px !important;
		font-size: 11px !important;
		pointer-events: none !important;
	}
}


/* v0.15.184: global Deploy/Reserve Deny union outline. */
.w40iq-deployment-planner-guest__protection-global-outline {
	pointer-events: none;
	opacity: 1;
	isolation: isolate;
}

.w40iq-deployment-planner-guest__protection-global-outline .w40iq-deployment-planner-guest__protection-outline-source {
	fill: #000 !important;
	stroke: none !important;
	opacity: 1 !important;
	filter: none !important;
}

/* Count badge overlaps the upper-right corner on desktop and mobile. */
.w40iq-deployment-planner-guest__storage-panel {
	position: relative;
}

.w40iq-deployment-planner-guest__storage-panel .w40iq-deployment-planner-guest__storage-badge {
	position: absolute !important;
	top: -9px !important;
	right: -8px !important;
	left: auto !important;
	z-index: 8 !important;
}


/* v0.15.184: stable deny geometry and desktop badge placement. */
.w40iq-deployment-planner-guest__measurement.is-protection .w40iq-deployment-planner-guest__protection-shell {
	fill: rgba(72, 255, 92, 0.18) !important;
	stroke: rgba(12, 105, 27, 0.92) !important;
	stroke-width: 2.25px !important;
	vector-effect: non-scaling-stroke;
	stroke-linecap: round;
	stroke-linejoin: round;
	filter: none !important;
}

.w40iq-deployment-planner-guest__storage-panel,
.w40iq-deployment-planner-guest__storage-panel .w40iq-deployment-planner-guest__army-storage-head {
	position: relative !important;
	overflow: visible !important;
}

.w40iq-deployment-planner-guest__storage-panel .w40iq-deployment-planner-guest__storage-badge {
	position: absolute !important;
	top: -12px !important;
	right: -10px !important;
	left: auto !important;
	z-index: 50 !important;
	transform: none !important;
}


/* v0.15.184: mobile Select, Measure and Circle own one-finger gestures. */
@media (max-width: 980px), (hover: none) and (pointer: coarse) {
	.w40iq-deployment-planner-guest.is-select-tool [data-w40iq-workspace],
	.w40iq-deployment-planner-guest.is-measure-tool [data-w40iq-workspace],
	.w40iq-deployment-planner-guest.is-circle-tool [data-w40iq-workspace] {
		touch-action: none !important;
		overscroll-behavior: contain;
	}
}


/* v0.15.184: maximize map width on mobile landscape. */
@media (max-width: 1024px), (hover: none) and (pointer: coarse) {
	.w40iq-deployment-planner-guest__workspace-wrap {
		padding-left: 0 !important;
		padding-right: 0 !important;
		margin-left: 0 !important;
		margin-right: 0 !important;
	}

	.w40iq-deployment-planner-guest__workspace-shell {
		column-gap: 0 !important;
		gap: 0 !important;
		padding-left: 0 !important;
		padding-right: 0 !important;
		margin-left: 0 !important;
		margin-right: 0 !important;
	}

	.w40iq-deployment-planner-guest__tool-rail,
	.w40iq-deployment-planner-guest__phase-rail {
		margin-left: 0 !important;
		margin-right: 0 !important;
		padding-left: 0 !important;
		padding-right: 0 !important;
	}

	.w40iq-deployment-planner-guest__workspace {
		margin-left: 0 !important;
		margin-right: 0 !important;
		border-left-width: 1px !important;
		border-right-width: 1px !important;
	}

	.w40iq-deployment-planner-guest__workspace-shell > * {
		min-width: 0;
	}
}


/* 0.15.184: tighten mobile gutters to 2px */
@media (max-width:1024px),(hover:none) and (pointer:coarse){
.w40iq-deployment-planner-guest__workspace-shell{
 gap:2px!important;
 column-gap:2px!important;
 padding-left:2px!important;
 padding-right:2px!important;
}
.w40iq-deployment-planner-guest__tool-rail{margin-left:2px!important;margin-right:2px!important;}
.w40iq-deployment-planner-guest__phase-rail{margin-left:2px!important;margin-right:2px!important;}
.w40iq-deployment-planner-guest__workspace{margin-left:2px!important;margin-right:2px!important;}
}


/* v0.15.184: true deny union without geometry changes. */
.w40iq-deployment-planner-guest__measurement.is-protection.is-merged-protection
.w40iq-deployment-planner-guest__protection-merged-fill
.w40iq-deployment-planner-guest__protection-shell {
	fill: #48ff5c !important;
	stroke: none !important;
	opacity: 1 !important;
	filter: none !important;
}

.w40iq-deployment-planner-guest__protection-merged-fill {
	opacity: 0.18 !important;
	isolation: isolate;
	pointer-events: none;
}

.w40iq-deployment-planner-guest__protection-merged-outline {
	opacity: 1 !important;
	pointer-events: none;
	isolation: isolate;
}

.w40iq-deployment-planner-guest__protection-merged-outline
.w40iq-deployment-planner-guest__protection-outline-source {
	fill: #000 !important;
	stroke: none !important;
	opacity: 1 !important;
	filter: none !important;
}


/* v0.15.184: final mobile landscape gutter layout.
 * Actual rendered elements: workspace-wrap, tool-modes, workspace, right-rail.
 */
@media (orientation: landscape) and (max-height: 600px) {
	.w40iq-deployment-planner-guest__workspace-wrap {
		box-sizing: border-box !important;
		padding-left: 2px !important;
		padding-right: 2px !important;
		margin-left: 0 !important;
		margin-right: 0 !important;
	}

	.w40iq-deployment-planner-guest__workspace-shell {
		grid-template-columns: 64px minmax(560px, 1fr) 72px !important;
		gap: 2px !important;
		column-gap: 2px !important;
		padding: 0 !important;
		margin: 0 !important;
	}

	.w40iq-deployment-planner-guest__tool-modes {
		box-sizing: border-box !important;
		width: 64px !important;
		min-width: 64px !important;
		max-width: 64px !important;
		padding: 2px !important;
		margin: 0 !important;
		gap: 4px !important;
	}

	.w40iq-deployment-planner-guest__workspace {
		margin: 0 !important;
	}

	.w40iq-deployment-planner-guest__right-rail {
		box-sizing: border-box !important;
		width: 72px !important;
		min-width: 72px !important;
		max-width: 72px !important;
		padding: 2px !important;
		margin: 0 !important;
		gap: 4px !important;
	}

	.w40iq-deployment-planner-guest__right-rail > * {
		box-sizing: border-box !important;
		width: 100% !important;
		max-width: 100% !important;
		margin-left: 0 !important;
		margin-right: 0 !important;
	}
}


/* v0.15.184: fixed-pixel merged deny outline and no deny labels. */
.w40iq-deployment-planner-guest__protection-label {
	display: none !important;
}

.w40iq-deployment-planner-guest__measurement.is-protection.is-merged-protection
.w40iq-deployment-planner-guest__protection-merged-fill
.w40iq-deployment-planner-guest__protection-shell {
	stroke: none !important;
	filter: none !important;
}

.w40iq-deployment-planner-guest__protection-merged-outline
.w40iq-deployment-planner-guest__protection-outline-source {
	fill: #000 !important;
	stroke: none !important;
	opacity: 1 !important;
	filter: none !important;
}


/* v0.15.184: unified mobile rails, thinner deny outline, zoom-safe draw tools. */
@media (orientation: landscape) and (max-height: 600px) {
	.w40iq-deployment-planner-guest__workspace-wrap {
		padding-left: 2px !important;
		padding-right: 2px !important;
	}

	.w40iq-deployment-planner-guest__workspace-shell {
		grid-template-columns: 64px minmax(560px, 1fr) 64px !important;
		gap: 2px !important;
		column-gap: 2px !important;
		padding: 0 !important;
		margin: 0 !important;
	}

	.w40iq-deployment-planner-guest__tool-modes,
	.w40iq-deployment-planner-guest__right-rail {
		box-sizing: border-box !important;
		width: 64px !important;
		min-width: 64px !important;
		max-width: 64px !important;
		padding: 2px !important;
		margin: 0 !important;
		gap: 4px !important;
	}

	.w40iq-deployment-planner-guest__right-rail > *,
	.w40iq-deployment-planner-guest__tool-modes > * {
		box-sizing: border-box !important;
		width: 100% !important;
		max-width: 100% !important;
		margin-left: 0 !important;
		margin-right: 0 !important;
	}

	.w40iq-deployment-planner-guest__workspace {
		margin: 0 !important;
	}
}

@media (max-width: 1024px), (hover: none) and (pointer: coarse) {
	.w40iq-deployment-planner-guest.is-measure-tool [data-w40iq-workspace],
	.w40iq-deployment-planner-guest.is-circle-tool [data-w40iq-workspace],
	.w40iq-deployment-planner-guest.is-select-tool [data-w40iq-workspace] {
		touch-action: none !important;
		overscroll-behavior: contain !important;
	}
}


/* v0.15.184: definitive symmetric mobile landscape geometry. */
@media (orientation: landscape) and (max-height: 600px) {
	.w40iq-deployment-planner-guest__workspace-wrap {
		box-sizing: border-box !important;
		padding-left: 2px !important;
		padding-right: 2px !important;
		margin-left: 0 !important;
		margin-right: 0 !important;
	}

	.w40iq-deployment-planner-guest__workspace-shell {
		box-sizing: border-box !important;
		grid-template-columns: 72px minmax(560px, 1fr) 72px !important;
		gap: 2px !important;
		column-gap: 2px !important;
		padding: 0 !important;
		margin: 0 !important;
	}

	.w40iq-deployment-planner-guest__tool-modes,
	.w40iq-deployment-planner-guest__right-rail {
		box-sizing: border-box !important;
		width: 72px !important;
		min-width: 72px !important;
		max-width: 72px !important;
		padding: 2px !important;
		margin: 0 !important;
		gap: 4px !important;
	}

	.w40iq-deployment-planner-guest__workspace {
		box-sizing: border-box !important;
		width: 100% !important;
		min-width: 560px !important;
		max-width: none !important;
		margin: 0 !important;
	}

	.w40iq-deployment-planner-guest__tool-modes > *,
	.w40iq-deployment-planner-guest__right-rail > * {
		box-sizing: border-box !important;
		width: 100% !important;
		max-width: 100% !important;
		margin-left: 0 !important;
		margin-right: 0 !important;
	}

	.w40iq-deployment-planner-guest__phase-button,
	.w40iq-deployment-planner-guest__reset-button {
		font-size: 0.66rem !important;
		padding-left: 2px !important;
		padding-right: 2px !important;
	}
}


/* v0.15.184: keep the playable map content at the exact mission ratio.
 * The 3px border is excluded from the ratio while the outer box still fills
 * the complete grid track.
 */
@media (orientation: landscape) and (max-height: 600px) {
	.w40iq-deployment-planner-guest__workspace {
		box-sizing: content-box !important;
		width: calc(100% - 6px) !important;
		min-width: 554px !important;
		max-width: none !important;
		margin: 0 !important;
		aspect-ratio: var(--w40iq-map-ratio) !important;
	}
}


/* v0.15.184: compact collision toggle below Circle. */
.w40iq-deployment-planner-guest__collision-toggle {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0;
	min-height: 34px;
	padding: 3px 2px !important;
	font-size: 10px;
	line-height: 1;
	opacity: 0.72;
}

.w40iq-deployment-planner-guest__collision-toggle small {
	font-size: 9px;
	font-weight: 800;
	line-height: 1;
}

.w40iq-deployment-planner-guest__collision-toggle.is-active {
	opacity: 1;
	box-shadow: inset 0 0 0 2px currentColor;
}

@media (max-width: 1024px), (hover: none) and (pointer: coarse) {
	.w40iq-deployment-planner-guest__collision-toggle {
		min-height: 30px;
	}
}


/* v0.15.184: keep the rotation handle reachable at map edges. */
.w40iq-deployment-planner-guest__rotation-handle {
	z-index: 3;
}

.w40iq-deployment-planner-guest__rotation-handle.is-edge-shifted {
	box-shadow:
		0 0 0 3px rgba(243, 198, 59, 0.34),
		0 3px 8px rgba(0, 0, 0, 0.62);
}

/* v0.15.184: phase navigation remains usable while the background is locked. */
.w40iq-deployment-planner-guest.is-locked .w40iq-deployment-planner-guest__phase-nav,
.w40iq-deployment-planner-guest.is-locked .w40iq-deployment-planner-guest__phase-item,
.w40iq-deployment-planner-guest.is-locked .w40iq-deployment-planner-guest__phase-button,
.w40iq-deployment-planner-guest.is-shared-readonly .w40iq-deployment-planner-guest__phase-button {
	pointer-events: auto !important;
	opacity: 1 !important;
	filter: none !important;
	cursor: pointer !important;
}

/* Mobile collision label stays on one line. */
@media (max-width: 1024px), (hover: none) and (pointer: coarse) {
	.w40iq-deployment-planner-guest__collision-toggle {
		flex-direction: row !important;
		gap: 3px !important;
		white-space: nowrap !important;
		font-size: 9px !important;
	}

	.w40iq-deployment-planner-guest__collision-toggle small {
		font-size: 9px !important;
		white-space: nowrap !important;
	}
}


/* v0.15.184: a locked background is completely non-interactive. */
.w40iq-deployment-planner-guest.is-locked .w40iq-deployment-planner-guest__image-layer,
.w40iq-deployment-planner-guest.is-locked .w40iq-deployment-planner-guest__image-frame,
.w40iq-deployment-planner-guest.is-locked .w40iq-deployment-planner-guest__image-controls,
.w40iq-deployment-planner-guest.is-locked .w40iq-deployment-planner-guest__image-handle {
	pointer-events: none !important;
	touch-action: none !important;
	cursor: default !important;
	user-select: none !important;
}

.w40iq-deployment-planner-guest.is-locked .w40iq-deployment-planner-guest__image-handle {
	display: none !important;
}


/* v0.15.184: rotation control always stays above models and remains clickable. */
.w40iq-deployment-planner-guest__rotation-control {
	z-index: 200 !important;
	isolation: isolate;
}

.w40iq-deployment-planner-guest__rotation-handle {
	z-index: 201 !important;
	pointer-events: auto !important;
	touch-action: none !important;
}

.w40iq-deployment-planner-guest__rotation-control:hover,
.w40iq-deployment-planner-guest__rotation-control:focus-within {
	z-index: 220 !important;
}

.w40iq-deployment-planner-guest__rotation-control:hover ~ .w40iq-deployment-planner-guest__unit-marker,
.w40iq-deployment-planner-guest__rotation-control:focus-within ~ .w40iq-deployment-planner-guest__unit-marker {
	pointer-events: auto;
}


/* v0.15.184: only phase navigation stays active in shared readonly mode. */
.w40iq-deployment-planner-guest.is-shared-readonly .w40iq-deployment-planner-guest__right-rail > :not(.w40iq-deployment-planner-guest__phase-nav) {
	filter: grayscale(0.85) !important;
	opacity: 0.46 !important;
	cursor: not-allowed !important;
}

.w40iq-deployment-planner-guest.is-shared-readonly .w40iq-deployment-planner-guest__right-rail > :not(.w40iq-deployment-planner-guest__phase-nav) *,
.w40iq-deployment-planner-guest.is-shared-readonly .w40iq-deployment-planner-guest__phase-remove,
.w40iq-deployment-planner-guest.is-shared-readonly .w40iq-deployment-planner-guest__phase-button--add,
.w40iq-deployment-planner-guest.is-shared-readonly .w40iq-deployment-planner-guest__phase-move {
	cursor: not-allowed !important;
	pointer-events: none !important;
}

.w40iq-deployment-planner-guest.is-shared-readonly .w40iq-deployment-planner-guest__phase-nav,
.w40iq-deployment-planner-guest.is-shared-readonly .w40iq-deployment-planner-guest__phase-item,
.w40iq-deployment-planner-guest.is-shared-readonly .w40iq-deployment-planner-guest__phase-button[data-w40iq-phase-button] {
	filter: none !important;
	opacity: 1 !important;
	cursor: pointer !important;
	pointer-events: auto !important;
}

.w40iq-deployment-planner-guest.is-shared-readonly .w40iq-deployment-planner-guest__phase-title {
	filter: none !important;
	opacity: 1 !important;
	cursor: default !important;
}


/* v0.15.184: hide grouped-model dots on mobile/touch. */
@media (max-width: 1024px), (hover: none) and (pointer: coarse) {
	.w40iq-deployment-planner-guest__unit-marker.is-grouped::after {
		display: none !important;
		content: none !important;
	}
}


/* v0.15.184: grouped-model dots removed on every device. */
.w40iq-deployment-planner-guest__unit-marker.is-grouped::after {
	display: none !important;
	content: none !important;
}

/* Mobile: hide only labels of very small bases below the JS-controlled 145% threshold. */
@media (max-width: 980px), (pointer: coarse) {
	.w40iq-deployment-planner-guest.hide-mobile-small-base-labels
	.w40iq-deployment-planner-guest__unit-label.is-small-base {
		visibility: hidden !important;
		opacity: 0 !important;
	}

	.w40iq-deployment-planner-guest__unit-label {
		transition: none !important;
	}
}

/* Locked map/shared deployment: round navigation remains, destructive controls disappear. */
.w40iq-deployment-planner-guest.is-locked .w40iq-deployment-planner-guest__phase-remove,
.w40iq-deployment-planner-guest.is-locked .w40iq-deployment-planner-guest__phase-button--add,
.w40iq-deployment-planner-guest.is-locked .w40iq-deployment-planner-guest__phase-move,
.w40iq-deployment-planner-guest.is-shared-readonly .w40iq-deployment-planner-guest__phase-remove,
.w40iq-deployment-planner-guest.is-shared-readonly .w40iq-deployment-planner-guest__phase-button--add,
.w40iq-deployment-planner-guest.is-shared-readonly .w40iq-deployment-planner-guest__phase-move {
	display: none !important;
}


/* v0.15.184: unified collision toggle on desktop and mobile. */
.w40iq-deployment-planner-guest__collision-toggle {
	display: flex !important;
	flex-direction: row !important;
	align-items: center !important;
	justify-content: center !important;
	min-height: 34px;
	padding: 4px 3px !important;
	color: rgba(255, 255, 255, 0.9) !important;
	background: linear-gradient(180deg, rgba(31, 29, 23, 0.98), rgba(14, 13, 10, 0.98)) !important;
	border-color: rgba(240, 217, 166, 0.28) !important;
	box-shadow: none !important;
	opacity: 1 !important;
	white-space: nowrap !important;
	font-size: 10px !important;
	font-weight: 900 !important;
	line-height: 1 !important;
	text-transform: none !important;
}

.w40iq-deployment-planner-guest__collision-toggle.is-active {
	color: #0b0a07 !important;
	background: linear-gradient(180deg, var(--w40iq-grot-green), #49b900) !important;
	border-color: rgba(0, 0, 0, 0.48) !important;
	box-shadow: inset 0 -3px 0 rgba(0, 79, 27, 0.65) !important;
}

.w40iq-deployment-planner-guest__collision-label {
	display: block;
	white-space: nowrap;
	line-height: 1;
}

@media (max-width: 1024px), (hover: none) and (pointer: coarse) {
	.w40iq-deployment-planner-guest__collision-toggle {
		min-height: 30px !important;
		padding-inline: 2px !important;
		font-size: 9px !important;
		letter-spacing: -0.15px;
	}
}

/* v0.15.186: clean shared-deployment action bar on desktop, tablet and mobile. */
.w40iq-deployment-planner-guest__layout-item--shared-live {
	grid-template-columns: minmax(0, 1fr) auto !important;
	column-gap: 18px !important;
	row-gap: 10px !important;
	align-items: center !important;
	overflow: visible !important;
}

.w40iq-deployment-planner-guest__layout-item--shared-live .w40iq-deployment-planner-guest__layout-actions {
	display: flex !important;
	flex-flow: row nowrap !important;
	align-items: center !important;
	justify-content: flex-end !important;
	width: auto !important;
	max-width: 100% !important;
	gap: 8px !important;
	white-space: normal !important;
}

.w40iq-deployment-planner-guest__layout-item--shared-live .w40iq-deployment-planner-guest__layout-primary-actions {
	display: grid !important;
	grid-template-columns: auto auto auto !important;
	flex: 0 0 auto !important;
	align-items: center !important;
	width: auto !important;
	gap: 6px !important;
}

.w40iq-deployment-planner-guest__layout-item--shared-live .w40iq-deployment-planner-guest__nudge-actions {
	display: grid !important;
	grid-template-columns: minmax(150px, 180px) auto !important;
	flex: 0 1 auto !important;
	align-items: center !important;
	justify-content: start !important;
	width: auto !important;
	margin: 0 !important;
	gap: 6px !important;
	order: initial !important;
}

.w40iq-deployment-planner-guest__layout-item--shared-live .w40iq-deployment-planner-guest__layout-owner-actions {
	display: flex !important;
	flex: 1 0 100% !important;
	justify-content: flex-end !important;
	width: 100% !important;
	margin: 0 !important;
	padding-top: 7px !important;
	gap: 6px !important;
}

.w40iq-deployment-planner-guest__layout-item--shared-live .w40iq-deployment-planner-guest__layout-primary-actions > .w40iq-deployment-planner-guest__small-button,
.w40iq-deployment-planner-guest__layout-item--shared-live .w40iq-deployment-planner-guest__nudge-actions > .w40iq-deployment-planner-guest__small-button,
.w40iq-deployment-planner-guest__layout-item--shared-live .w40iq-deployment-planner-guest__nudge-select {
	box-sizing: border-box !important;
	height: 36px !important;
	min-height: 36px !important;
	max-height: 36px !important;
	width: auto !important;
	margin: 0 !important;
	font-size: 0.74rem !important;
	line-height: 1 !important;
}

.w40iq-deployment-planner-guest__layout-item--shared-live .w40iq-deployment-planner-guest__layout-primary-actions > .w40iq-deployment-planner-guest__small-button,
.w40iq-deployment-planner-guest__layout-item--shared-live .w40iq-deployment-planner-guest__nudge-actions > .w40iq-deployment-planner-guest__small-button {
	padding: 0 11px !important;
	white-space: nowrap !important;
}

.w40iq-deployment-planner-guest__layout-item--shared-live .w40iq-deployment-planner-guest__shared-local-lock {
	height: 36px !important;
	min-height: 36px !important;
	max-height: 36px !important;
	padding: 0 11px 0 35px !important;
	background-position: 9px center !important;
	background-size: 18px 18px !important;
}

.w40iq-deployment-planner-guest__layout-item--shared-live .w40iq-deployment-planner-guest__nudge-select {
	width: 180px !important;
	max-width: 180px !important;
	min-width: 0 !important;
	padding: 0 34px 0 10px !important;
}

.w40iq-deployment-planner-guest__layout-item--shared-live .w40iq-deployment-planner-guest__nudge-status {
	grid-column: 1 / -1 !important;
	min-width: 0 !important;
	max-width: 100% !important;
	text-align: left !important;
}

.w40iq-deployment-planner-guest__layout-item--shared-live .w40iq-deployment-planner-guest__nudge-status:empty {
	display: none !important;
}

@media (max-width: 1500px) {
	.w40iq-deployment-planner-guest__layout-item--shared-live {
		grid-template-columns: minmax(0, 1fr) !important;
		align-items: stretch !important;
	}

	.w40iq-deployment-planner-guest__layout-item--shared-live .w40iq-deployment-planner-guest__layout-actions {
		flex-flow: row wrap !important;
		justify-content: flex-start !important;
		width: 100% !important;
	}
}

@media (max-width: 680px) {
	.w40iq-deployment-planner-guest__layout-item--shared-live .w40iq-deployment-planner-guest__layout-actions {
		display: grid !important;
		grid-template-columns: minmax(0, 1fr) !important;
		gap: 7px !important;
	}

	.w40iq-deployment-planner-guest__layout-item--shared-live .w40iq-deployment-planner-guest__layout-primary-actions,
	.w40iq-deployment-planner-guest__layout-item--shared-live .w40iq-deployment-planner-guest__nudge-actions {
		width: 100% !important;
	}

	.w40iq-deployment-planner-guest__layout-item--shared-live .w40iq-deployment-planner-guest__layout-primary-actions {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}

	.w40iq-deployment-planner-guest__layout-item--shared-live .w40iq-deployment-planner-guest__nudge-actions {
		grid-template-columns: minmax(0, 1fr) auto !important;
	}

	.w40iq-deployment-planner-guest__layout-item--shared-live .w40iq-deployment-planner-guest__layout-primary-actions > .w40iq-deployment-planner-guest__small-button,
	.w40iq-deployment-planner-guest__layout-item--shared-live .w40iq-deployment-planner-guest__nudge-select {
		width: 100% !important;
		max-width: none !important;
	}

	.w40iq-deployment-planner-guest__layout-item--shared-live .w40iq-deployment-planner-guest__layout-owner-actions {
		justify-content: stretch !important;
	}

	.w40iq-deployment-planner-guest__layout-item--shared-live .w40iq-deployment-planner-guest__layout-owner-actions > .w40iq-deployment-planner-guest__small-button {
		flex: 1 1 auto !important;
	}
}

/* Completed shared games: immutable personal archive. */
.w40iq-deployment-planner-guest.is-archive-readonly::before {
	content: "Archivierter Endstand – schreibgeschützt";
}

.w40iq-deployment-planner-guest__layout-item--archive {
	border-color: rgba(207, 172, 72, 0.62) !important;
	background: linear-gradient(135deg, rgba(61, 49, 18, 0.5), rgba(11, 11, 8, 0.96)) !important;
}

.w40iq-deployment-planner-guest__layout-item--archive.is-active {
	box-shadow: inset 0 0 0 1px rgba(255, 214, 91, 0.72), 0 0 18px rgba(255, 196, 0, 0.16);
}

.w40iq-deployment-planner-guest__shared-finish {
	border-color: rgba(255, 205, 61, 0.78) !important;
	color: #ffe587 !important;
}

.w40iq-deployment-planner-guest__shared-finish:hover,
.w40iq-deployment-planner-guest__shared-finish:focus-visible {
	background: rgba(255, 190, 0, 0.16) !important;
}

/* v0.15.197: Pro-Feature-Kennzeichnung analog zum Krumpa Calculator. */
.w40iq-deployment-planner-guest__planner-tabs,
.w40iq-deployment-planner-guest__layout-tabs,
.w40iq-deployment-planner-guest__layout-actions {
	overflow: visible !important;
}

/* Dimmed like the Krumpa Calculator's .pro-feature-control instead of a
   near-full-strength control - the control recedes, the small ribbon tag
   is what reads as "gated", not a bright glowing badge. */
.w40iq-deployment-planner-guest__pro-feature-control {
	position: relative;
	z-index: 20;
	overflow: visible !important;
	color: rgba(240, 217, 166, 0.68);
	background: rgba(11, 10, 7, 0.68);
	border-color: rgba(240, 217, 166, 0.24);
	opacity: 0.58;
	filter: grayscale(0.35);
	transition: opacity 150ms ease, filter 150ms ease;
}

.w40iq-deployment-planner-guest__pro-feature-control:hover,
.w40iq-deployment-planner-guest__pro-feature-control:focus-visible {
	color: rgba(255, 242, 199, 0.92);
	border-color: rgba(243, 198, 59, 0.68);
	opacity: 0.82;
	filter: grayscale(0.15);
}

.w40iq-deployment-planner-guest__pro-feature-control::after {
	content: "";
	position: absolute;
	top: -11px;
	right: -8px;
	z-index: 50;
	display: block;
	width: 68px;
	height: 31px;
	max-width: none;
	background: transparent url("../images/pro-ribbon.webp") center / contain no-repeat;
	filter: none;
	pointer-events: none;
}

.w40iq-deployment-planner-guest__layout-tab.w40iq-deployment-planner-guest__pro-feature-control,
.w40iq-deployment-planner-guest__small-button.w40iq-deployment-planner-guest__pro-feature-control {
	margin-top: 7px;
}

.w40iq-deployment-planner-guest__small-button.w40iq-deployment-planner-guest__pro-feature-control::after {
	top: -13px;
	right: -7px;
	width: 58px;
	height: 27px;
}

.w40iq-deployment-planner-pro-feature-overlay {
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: grid;
	place-items: center;
	padding: 20px;
	background: rgba(0, 0, 0, 0.78);
}

.w40iq-deployment-planner-pro-feature-dialog {
	position: relative;
	width: min(460px, 100%);
	padding: 34px 24px 24px;
	border: 1px solid #d89b1d;
	background: #17110e;
	color: #f0d9a6;
	box-shadow: 0 18px 60px rgba(0, 0, 0, 0.65);
	font-family: Arial, Helvetica, sans-serif;
	text-align: center;
}

.w40iq-deployment-planner-pro-feature-ribbon {
	position: static;
	display: block;
	width: min(320px, 92%);
	height: auto;
	max-width: none;
	margin: 0 auto 18px;
	object-fit: contain;
}

.w40iq-deployment-planner-pro-feature-dialog h3 {
	margin: 0 0 10px;
	color: #ffffff;
	font-size: 24px;
	font-weight: 800;
	line-height: 1.1;
}

.w40iq-deployment-planner-pro-feature-dialog p {
	margin: 0 0 20px;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.45;
}

.w40iq-pro-feature-close-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 156px;
	min-height: 44px;
	padding: 9px 18px;
	color: #0b0a07;
	background: #f0d9a6;
	border: 2px solid #6f6a43;
	border-radius: 4px;
	box-shadow: none;
	font: inherit;
	font-size: 14px;
	font-weight: 800;
	line-height: 1.15;
	text-transform: uppercase;
	cursor: pointer;
}

.w40iq-pro-feature-close-button:hover,
.w40iq-pro-feature-close-button:focus-visible {
	color: #0b0a07;
	background: #6dfc00;
	border-color: #6dfc00;
	box-shadow: none;
	outline: 0;
}

@media (max-width: 720px) {
	.w40iq-deployment-planner-guest__pro-feature-control::after {
		top: -9px;
		right: -6px;
		width: 64px;
		height: 29px;
	}

	.w40iq-pro-feature-close-button {
		font-size: 13px;
	}
}

/* v0.15.199: einheitlicher, kontrastreicher Schliessen-Button im Pro-Feature-Dialog. */
.w40iq-deployment-planner-guest {
	--w40iq-control-height: 44px;
	--w40iq-tab-height: 48px;
	--w40iq-control-radius: 6px;
}

.w40iq-deployment-planner-guest__header {
	position: relative;
}

/* Guest-Einstieg und kostenlose Account-Funktionen. */
.w40iq-deployment-planner-guest__guest-banner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	margin: 12px 14px 0;
	padding: 16px 18px;
	background:
		linear-gradient(110deg, rgba(109, 252, 0, 0.13), transparent 58%),
		rgba(11, 10, 7, 0.94);
	border: 1px solid rgba(109, 252, 0, 0.5);
	border-left: 5px solid var(--w40iq-grot-green);
	border-radius: 7px;
}

.w40iq-deployment-planner-guest__guest-banner-copy {
	display: grid;
	gap: 4px;
	max-width: 850px;
}

.w40iq-deployment-planner-guest__guest-banner-copy > span {
	color: var(--w40iq-grot-green);
	font-size: 0.72rem;
	font-weight: 900;
	letter-spacing: 0.08em;
}

.w40iq-deployment-planner-guest__guest-banner-copy strong {
	color: #fff4ce;
	font-size: 1.05rem;
	line-height: 1.2;
}

.w40iq-deployment-planner-guest__guest-banner-copy p {
	margin: 0;
	color: rgba(240, 217, 166, 0.8);
	font-size: 0.86rem;
	line-height: 1.45;
}

.w40iq-deployment-planner-guest__guest-banner-actions,
.w40iq-deployment-planner-account-feature-actions {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 10px;
}

.w40iq-deployment-planner-guest__guest-button,
.w40iq-deployment-planner-account-feature-button,
.w40iq-deployment-planner-account-feature-close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	padding: 9px 16px;
	color: #0b0a07;
	background: #f0d9a6;
	border: 2px solid #6f6a43;
	border-radius: 5px;
	font: inherit;
	font-size: 0.82rem;
	font-weight: 900;
	line-height: 1.1;
	text-align: center;
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
}

.w40iq-deployment-planner-guest__guest-button.is-primary,
.w40iq-deployment-planner-account-feature-button.is-primary {
	background: #d89b1d;
	border-color: #f3c63b;
}

.w40iq-deployment-planner-guest__guest-button:hover,
.w40iq-deployment-planner-guest__guest-button:focus-visible,
.w40iq-deployment-planner-account-feature-button:hover,
.w40iq-deployment-planner-account-feature-button:focus-visible,
.w40iq-deployment-planner-account-feature-close:hover,
.w40iq-deployment-planner-account-feature-close:focus-visible {
	color: #0b0a07;
	background: #6dfc00;
	border-color: #6dfc00;
	outline: 0;
}

.w40iq-deployment-planner-guest__account-callout {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	width: calc(100% - 28px);
	min-height: 56px;
	padding: 10px 14px;
	color: #fff4ce;
	background: rgba(37, 29, 17, 0.96);
	border: 1px solid rgba(243, 198, 59, 0.52);
	border-radius: 6px;
	font: inherit;
	text-align: center;
	cursor: pointer;
}

.w40iq-deployment-planner-guest__login-ribbon,
.w40iq-deployment-planner-guest__account-tab::after {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 64px;
	min-height: 27px;
	padding: 4px 9px;
	color: #0b0a07;
	background: #d89b1d;
	border: 1px solid #f3c63b;
	border-radius: 4px;
	box-shadow: 0 3px 8px rgba(0, 0, 0, 0.45);
	font-size: 0.68rem;
	font-weight: 950;
	letter-spacing: 0.05em;
	line-height: 1;
}

.w40iq-deployment-planner-guest__account-callout:hover,
.w40iq-deployment-planner-guest__account-callout:focus-visible {
	border-color: var(--w40iq-grot-green);
	outline: 2px solid rgba(109, 252, 0, 0.28);
}

.w40iq-deployment-planner-guest__library.is-account-locked .w40iq-deployment-planner-guest__library-save-row,
.w40iq-deployment-planner-guest__library.is-account-locked .w40iq-deployment-planner-guest__library-head,
.w40iq-deployment-planner-guest__library.is-account-locked .w40iq-deployment-planner-guest__layout-list {
	opacity: 0.38;
	pointer-events: none;
	user-select: none;
}

.w40iq-deployment-planner-guest__account-tab {
	position: relative;
	padding-right: 78px;
}

.w40iq-deployment-planner-guest__account-tab::after {
	content: "LOGIN";
	position: absolute;
	top: -10px;
	right: 6px;
}

.w40iq-deployment-planner-account-feature-overlay {
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: grid;
	place-items: center;
	padding: 20px;
	background: rgba(0, 0, 0, 0.78);
}

.w40iq-deployment-planner-account-feature-dialog {
	width: min(500px, 100%);
	padding: 30px 24px 24px;
	color: #f0d9a6;
	background: #17110e;
	border: 1px solid #d89b1d;
	box-shadow: 0 18px 60px rgba(0, 0, 0, 0.65);
	font-family: Arial, Helvetica, sans-serif;
	text-align: center;
}

.w40iq-deployment-planner-account-feature-dialog h3 {
	margin: 0 0 12px;
	color: #fff;
	font-size: 25px;
	font-weight: 850;
	line-height: 1.1;
}

.w40iq-deployment-planner-account-feature-dialog p {
	margin: 0 0 20px;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.45;
}

.w40iq-deployment-planner-account-feature-close {
	margin-top: 18px;
}

@media (max-width: 760px) {
	.w40iq-deployment-planner-guest__guest-banner {
		align-items: stretch;
		flex-direction: column;
	}

	.w40iq-deployment-planner-guest__guest-banner-actions,
	.w40iq-deployment-planner-account-feature-actions {
		display: grid;
		grid-template-columns: 1fr;
	}

	.w40iq-deployment-planner-guest__guest-button,
	.w40iq-deployment-planner-account-feature-button {
		width: 100%;
	}

	.w40iq-deployment-planner-guest__account-callout {
		align-items: stretch;
		flex-direction: column;
	}
}

.w40iq-deployment-planner-guest__admin-debug-button {
	position: absolute;
	right: 16px;
	bottom: 12px;
	z-index: 5;
	min-height: 36px;
	margin: 0;
	padding-inline: 12px;
	color: rgba(240, 217, 166, 0.82);
	background: rgba(11, 10, 7, 0.82);
	border-color: rgba(240, 217, 166, 0.28);
}

.w40iq-deployment-planner-guest__toolbar > *,
.w40iq-deployment-planner-guest__unit-controls > *,
.w40iq-deployment-planner-guest__save-area > * {
	min-width: 0;
	max-width: 100%;
}

.w40iq-deployment-planner-guest__segment span,
.w40iq-deployment-planner-guest__file input,
.w40iq-deployment-planner-guest__scale-number input,
.w40iq-deployment-planner-guest__rotation-controls .w40iq-deployment-planner-guest__small-button,
.w40iq-deployment-planner-guest__icon-button[data-w40iq-lock],
.w40iq-deployment-planner-guest__layout-name input,
.w40iq-deployment-planner-guest__save-button,
.w40iq-deployment-planner-guest__new-button,
.w40iq-deployment-planner-guest__unit-panel select,
.w40iq-deployment-planner-guest__unit-panel input,
.w40iq-deployment-planner-guest__unit-panel .w40iq-deployment-planner-guest__small-button,
.w40iq-deployment-planner-guest__add-unit-button {
	box-sizing: border-box;
	height: var(--w40iq-control-height);
	min-height: var(--w40iq-control-height);
	max-height: var(--w40iq-control-height);
	border-radius: var(--w40iq-control-radius);
	line-height: 1.15;
}

.w40iq-deployment-planner-guest__planner-tab,
.w40iq-deployment-planner-guest__layout-tab {
	box-sizing: border-box;
	width: 100%;
	height: var(--w40iq-tab-height);
	min-height: var(--w40iq-tab-height);
	max-height: var(--w40iq-tab-height);
	padding: 7px 10px;
	line-height: 1.12;
	text-align: center;
	white-space: normal;
	overflow-wrap: anywhere;
}

.w40iq-deployment-planner-guest__layout-tabs {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
	align-items: stretch;
	gap: 8px;
	padding: 6px;
}

.w40iq-deployment-planner-guest__planner-tabs {
	align-items: stretch;
	gap: 8px;
}

.w40iq-deployment-planner-guest__planner-tab.w40iq-deployment-planner-guest__pro-feature-control,
.w40iq-deployment-planner-guest__layout-tab.w40iq-deployment-planner-guest__pro-feature-control,
.w40iq-deployment-planner-guest__small-button.w40iq-deployment-planner-guest__pro-feature-control {
	margin-top: 0;
}

.w40iq-deployment-planner-guest__unit-source-toggle,
.w40iq-deployment-planner-guest__unit-source-toggle > .w40iq-deployment-planner-guest__field {
	width: 100%;
}

.w40iq-deployment-planner-guest__unit-controls {
	grid-template-columns: minmax(210px, 1.05fr) minmax(180px, 0.9fr) minmax(250px, 1.25fr) 88px minmax(128px, 0.62fr);
	gap: 10px;
}

.w40iq-deployment-planner-guest__unit-controls .w40iq-deployment-planner-guest__add-unit-button {
	width: 100%;
}

.w40iq-deployment-planner-guest__range {
	grid-template-columns: minmax(100px, 1fr) 54px 42px;
	width: 100%;
	min-height: var(--w40iq-control-height);
	column-gap: 6px;
}

.w40iq-deployment-planner-guest__rotation-controls,
.w40iq-deployment-planner-guest__save-area {
	min-height: var(--w40iq-control-height);
}

.w40iq-deployment-planner-guest__rotation-controls {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.w40iq-deployment-planner-guest__icon-button[data-w40iq-lock] {
	width: 100%;
	min-width: 0;
	padding: 6px 10px;
	gap: 8px;
	font-size: clamp(0.7rem, 0.72vw, 0.82rem);
	white-space: normal;
}

.w40iq-deployment-planner-guest__icon-button[data-w40iq-lock] .w40iq-deployment-planner-guest__lock-icon {
	flex: 0 0 26px;
	width: 26px;
	height: 26px;
}

.w40iq-deployment-planner-guest__icon-button[data-w40iq-lock] .w40iq-deployment-planner-guest__lock-text {
	min-width: 0;
	line-height: 1.12;
	text-align: center;
	white-space: normal;
	overflow-wrap: anywhere;
}

@media (min-width: 1680px) {
	.w40iq-deployment-planner-guest__toolbar {
		grid-template-columns:
			minmax(280px, 1.08fr)
			minmax(230px, 0.9fr)
			minmax(260px, 1fr)
			minmax(118px, 0.48fr)
			minmax(210px, 0.78fr)
			minmax(320px, 1.18fr);
		gap: 10px;
	}
}

@media (min-width: 981px) and (max-width: 1679px) {
	.w40iq-deployment-planner-guest__toolbar {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 10px;
	}
}

@media (max-width: 980px) and (orientation: landscape) {
	.w40iq-deployment-planner-guest {
		--w40iq-control-height: 40px;
		--w40iq-tab-height: 44px;
	}

	.w40iq-deployment-planner-guest__toolbar {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.w40iq-deployment-planner-guest__unit-controls {
		grid-template-columns: minmax(170px, 1.05fr) minmax(145px, 0.9fr) minmax(200px, 1.2fr) 70px minmax(108px, 0.62fr);
	}
}

@media (max-width: 920px) and (orientation: portrait) {
	.w40iq-deployment-planner-guest {
		--w40iq-control-height: 48px;
		--w40iq-tab-height: 52px;
		padding: 8px 10px 14px;
	}

	.w40iq-deployment-planner-guest__portrait-header {
		order: 1;
		min-height: 118px;
		padding: 10px 12px;
	}

	.w40iq-deployment-planner-guest__portrait-header img {
		width: 92px;
		height: 92px;
	}

	.w40iq-deployment-planner-guest__orientation-gate {
		order: 2;
		min-height: 0;
		margin: 0;
		padding: 14px 16px 16px;
	}

	.w40iq-deployment-planner-guest__orientation-phone {
		width: 42px;
		height: 66px;
		margin-bottom: 0;
	}

	.w40iq-deployment-planner-guest__unit-panel {
		display: none !important;
		order: 3;
	}

	.w40iq-deployment-planner-guest.is-portrait-unlocked .w40iq-deployment-planner-guest__orientation-gate {
		display: none !important;
	}

	.w40iq-deployment-planner-guest.is-portrait-unlocked .w40iq-deployment-planner-guest__unit-panel {
		display: block !important;
	}

	.w40iq-deployment-planner-guest__planner-tabs,
	.w40iq-deployment-planner-guest__layout-tabs {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}

	.w40iq-deployment-planner-guest__planner-tab:last-child:nth-child(odd),
	.w40iq-deployment-planner-guest__layout-tab:last-child:nth-child(odd) {
		grid-column: 1 / -1;
	}

	.w40iq-deployment-planner-guest__unit-source-toggle,
	.w40iq-deployment-planner-guest__unit-controls {
		display: grid;
		grid-template-columns: minmax(0, 1fr);
		gap: 10px;
	}

	.w40iq-deployment-planner-guest__unit-source-toggle > .w40iq-deployment-planner-guest__field,
	.w40iq-deployment-planner-guest__unit-controls > *,
	.w40iq-deployment-planner-guest__add-unit-button {
		width: 100%;
		max-width: none;
	}
}

/* v0.15.200-final: diese Regeln stehen bewusst hinter allen Legacy-Overrides. */
.w40iq-deployment-planner-guest__section-card {
	display: block;
	margin: 10px 14px 0;
	padding: 0;
	overflow: visible;
	background: rgba(12, 12, 9, 0.9);
	border: 1px solid rgba(240, 217, 166, 0.2);
	border-radius: 8px;
	box-shadow: 0 5px 16px rgba(0, 0, 0, 0.2);
}

.w40iq-deployment-planner-guest__section-card[hidden] {
	display: none;
}

.w40iq-deployment-planner-guest__section-card:not([open]) > :not(summary) {
	display: none !important;
}

.w40iq-deployment-planner-guest__section-summary {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto 18px;
	align-items: center;
	gap: 12px;
	min-height: 62px;
	padding: 10px 14px;
	color: #fff4ce;
	background:
		linear-gradient(90deg, rgba(243, 198, 59, 0.08), transparent 52%),
		rgba(19, 18, 13, 0.94);
	border-left: 4px solid var(--w40iq-warning-yellow);
	border-radius: 7px;
	cursor: pointer;
	list-style: none;
	transition: background 150ms ease, border-color 150ms ease;
}

.w40iq-deployment-planner-guest__unit-panel > .w40iq-deployment-planner-guest__section-summary {
	background:
		linear-gradient(90deg, rgba(109, 252, 0, 0.08), transparent 52%),
		rgba(19, 18, 13, 0.94);
	border-left-color: var(--w40iq-grot-green);
}

.w40iq-deployment-planner-guest__section-summary::-webkit-details-marker {
	display: none;
}

.w40iq-deployment-planner-guest__section-summary:hover {
	background-color: rgba(34, 32, 23, 0.98);
}

.w40iq-deployment-planner-guest__section-summary:focus-visible {
	outline: 3px solid var(--w40iq-warning-yellow);
	outline-offset: 2px;
}

.w40iq-deployment-planner-guest__section-card[open] > .w40iq-deployment-planner-guest__section-summary {
	border-bottom: 1px solid rgba(240, 217, 166, 0.18);
	border-radius: 7px 7px 0 0;
}

.w40iq-deployment-planner-guest__section-copy {
	display: grid;
	gap: 2px;
	min-width: 0;
}

.w40iq-deployment-planner-guest__section-copy strong {
	color: #fff4ce;
	font-size: 0.96rem;
	font-weight: 850;
	line-height: 1.2;
	letter-spacing: 0.01em;
}

.w40iq-deployment-planner-guest__section-copy small {
	color: rgba(240, 217, 166, 0.66);
	font-size: 0.76rem;
	font-weight: 600;
	line-height: 1.25;
}

.w40iq-deployment-planner-guest__section-count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 28px;
	padding: 5px 10px;
	color: rgba(240, 217, 166, 0.78);
	background: rgba(0, 0, 0, 0.34);
	border: 1px solid rgba(240, 217, 166, 0.2);
	border-radius: 999px;
	font-size: 0.72rem;
	font-weight: 800;
	white-space: nowrap;
}

.w40iq-deployment-planner-guest__section-count.has-items {
	color: #0b0a07;
	background: var(--w40iq-grot-green);
	border-color: rgba(0, 79, 27, 0.82);
}

.w40iq-deployment-planner-guest__section-chevron {
	width: 10px;
	height: 10px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg) translate(-2px, -2px);
	transition: transform 150ms ease;
}

.w40iq-deployment-planner-guest__section-card[open] .w40iq-deployment-planner-guest__section-chevron {
	transform: rotate(225deg) translate(-2px, -2px);
}

.w40iq-deployment-planner-guest__section-card[open] > :not(summary) {
	margin-right: 14px;
	margin-left: 14px;
}

.w40iq-deployment-planner-guest__section-card[open] > :not(summary):not([hidden]) {
	margin-top: 10px;
}

.w40iq-deployment-planner-guest__section-card[open] > :last-child {
	margin-bottom: 14px;
}

.w40iq-deployment-planner-guest__section-card .w40iq-deployment-planner-guest__unit-head {
	display: none;
}

.w40iq-deployment-planner-guest__section-card .w40iq-deployment-planner-guest__library-head {
	align-items: center;
	justify-content: flex-end;
}

.w40iq-deployment-planner-guest__section-card .w40iq-deployment-planner-guest__library-head h3 {
	display: none;
}

.w40iq-deployment-planner-guest__army-storage-unit-actions {
	position: relative;
	z-index: 2;
}

.w40iq-deployment-planner-guest__army-storage-unit-actions button {
	pointer-events: auto;
}

.w40iq-deployment-planner-guest.is-shared-readonly .w40iq-deployment-planner-guest__unit-panel > .w40iq-deployment-planner-guest__section-summary {
	opacity: 1;
	pointer-events: auto;
}

@media (min-width: 921px) {
	.w40iq-deployment-planner-guest__brand {
		min-height: 126px;
		padding: 14px 20px;
	}

	.w40iq-deployment-planner-guest__logo {
		width: 112px;
		height: 112px;
	}

	.w40iq-deployment-planner-guest h2 {
		font-size: clamp(34px, 2.4vw, 42px);
	}

	.w40iq-deployment-planner-guest__eyebrow {
		font-size: 14px;
	}

	.w40iq-deployment-planner-guest.is-locked.has-image .w40iq-deployment-planner-guest__toolbar {
		min-height: 50px;
		padding: 6px 14px;
	}

	.w40iq-deployment-planner-guest.is-locked.has-image .w40iq-deployment-planner-guest__icon-button[data-w40iq-lock] {
		width: auto;
		min-width: 188px;
		height: 38px;
		min-height: 38px;
		max-height: 38px;
	}
}

@media (max-width: 720px) {
	.w40iq-deployment-planner-guest__section-card {
		margin-inline: 8px;
	}

	.w40iq-deployment-planner-guest__section-summary {
		grid-template-columns: minmax(0, 1fr) auto 16px;
		min-height: 56px;
		padding: 9px 11px;
	}

	.w40iq-deployment-planner-guest__section-copy small {
		display: none;
	}

	.w40iq-deployment-planner-guest__section-count {
		padding-inline: 8px;
	}
}

/* Der "Lad dat Spielfeld"-Hinweis gehoert zum (aktuell deaktivierten)
 * Hintergrundbild-Workflow. */
.w40iq-deployment-planner-guest__empty {
	display: none !important;
}

/* Round 2 declutter, appended last so it wins the cascade over the
   several older layered rules earlier in this file (confirmed live which
   ones were actually winning before writing these).
   1) Nicht aufgestellt/Reserve: the 78x78px icon plus its description line
      were what kept the collapsed header tall, not the box's min-height -
      shrink the icon, drop the description, tighten the head padding.
   2) The Missions-Layout select now sits directly under the header with no
      card of its own - only relevant as a direct child of the root section,
      so this can't affect the row in any other context. */
.w40iq-deployment-planner-guest__storage-panel .w40iq-deployment-planner-guest__army-storage-head .w40iq-deployment-planner-guest__army-storage-icon-image {
	width: 22px !important;
	height: 22px !important;
	max-width: 22px !important;
	max-height: 22px !important;
	margin: 0 !important;
}

.w40iq-deployment-planner-guest__storage-panel .w40iq-deployment-planner-guest__army-storage-head {
	display: flex !important;
	align-items: center !important;
	gap: 8px !important;
	min-height: 0 !important;
	padding: 8px 40px 8px 12px !important;
}

.w40iq-deployment-planner-guest__storage-panel .w40iq-deployment-planner-guest__army-storage-copy p {
	display: none !important;
}

.w40iq-deployment-planner-guest__storage-panel {
	min-height: 0 !important;
	padding: 0 !important;
}

.w40iq-deployment-planner-guest > .w40iq-deployment-planner-guest__layout-options-row {
	margin: 10px 14px;
	padding: 0;
}
