.WorkstationsModule .DoneEditBtn { display: none; }
.WorkstationsModule.EditStationsMode .DoneEditBtn { display: inline-flex; }

.WsHeadActions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
	justify-content: flex-end;
}

.WsHelpBtn {
	height: 38px;
	padding: 0 14px 0 10px;
	background: #E86B1F;
	color: #fff;
	font-weight: 700;
	border: 0;
	box-shadow: 0 6px 16px rgba(232, 107, 31, 0.38);
}

.WsHelpBtn:hover {
	background: #D45C14;
}

.WsHelpQ {
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: #fff;
	color: #E86B1F;
	font-size: 15px;
	font-weight: 800;
	line-height: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.NoStationMessage {
	grid-column: 1 / -1;
	max-width: 420px;
	padding: 28px 8px;
	color: var(--ink-2);
	line-height: 1.5;
}

.NoStationMessage p {
	margin-bottom: 10px;
}

.WsHelpBox {
	display: none;
	width: min(540px, calc(100% - 24px));
	max-height: calc(100dvh - 32px - var(--safe-top) - var(--safe-bottom));
	overflow: hidden;
	padding: 18px 18px 14px;
	z-index: 46;
}

.WsHelpBox.on {
	display: flex;
	flex-direction: column;
}

.WsHelpScrim {
	z-index: 45;
}

.WsHelpTop {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
	flex-shrink: 0;
}

.WsHelpTop h3 {
	font-size: 18px;
	margin-bottom: 4px;
}

.WsHelpSub {
	font-size: 13px;
	color: var(--ink-2);
}

.WsHelpDots {
	display: flex;
	justify-content: center;
	gap: 6px;
	margin: 12px 0 8px;
	flex-shrink: 0;
}

.WsHelpDot {
	width: 8px;
	height: 8px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--border);
	cursor: pointer;
}

.WsHelpDot.on {
	background: var(--brand);
	transform: scale(1.25);
}

.WsHelpStage {
	min-height: 260px;
	position: relative;
	flex: 1;
}

.WsHelpScene {
	display: none;
	text-align: center;
}

.WsHelpScene.on {
	display: block;
	animation: wsFadeIn 0.38s ease;
}

.WsHelpScene h4 {
	font-size: 16px;
	margin: 8px 0 6px;
}

.WsHelpScene p {
	font-size: 13.5px;
	color: var(--ink-2);
	line-height: 1.45;
	max-width: 420px;
	margin: 0 auto;
}

.WsArt {
	height: 132px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 6px;
}

.WsArtChip {
	min-width: 180px;
	padding: 14px 18px;
	border-radius: 16px;
	background: var(--brand-tint);
	border: 1px solid var(--brand);
	box-shadow: 0 8px 22px rgba(78, 70, 232, 0.16);
	animation: wsPulse 1.6s ease-in-out infinite;
}

.WsArtChip span {
	display: block;
	font-size: 11px;
	font-weight: 600;
	color: var(--brand-strong);
	text-transform: uppercase;
	letter-spacing: 0.4px;
}

.WsArtChip strong {
	display: block;
	font-size: 26px;
	color: var(--ink);
	margin-top: 2px;
}

.WsPhone {
	width: 86px;
	height: 118px;
	border-radius: 16px;
	background: linear-gradient(160deg, var(--sidebar), var(--brand));
	box-shadow: 0 10px 24px rgba(42, 18, 88, 0.28);
	padding: 10px 8px;
	animation: wsDeviceIn 0.55s ease;
}

.WsPhoneBar {
	width: 28px;
	height: 4px;
	border-radius: 4px;
	background: rgba(255, 255, 255, 0.35);
	margin: 0 auto 10px;
}

.WsPhoneClock {
	color: #fff;
	font-size: 16px;
	font-weight: 700;
	margin-bottom: 8px;
}

.WsPhoneBtns {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 4px;
}

.WsPhoneBtns i {
	height: 16px;
	border-radius: 4px;
	background: rgba(255, 255, 255, 0.22);
}

.WsPhoneBtns i:first-child {
	background: var(--ok);
}

.WsArtGear {
	position: relative;
	width: 88px;
	height: 88px;
}

.WsGearRing {
	width: 88px;
	height: 88px;
	border-radius: 50%;
	border: 10px dotted var(--brand);
	animation: wsSpin 4s linear infinite;
}

.WsGearDot {
	position: absolute;
	left: 50%;
	top: 50%;
	width: 28px;
	height: 28px;
	margin: -14px 0 0 -14px;
	border-radius: 50%;
	background: var(--brand-strong);
}

.WsArtForm {
	width: min(280px, 90%);
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.WsFakeField {
	text-align: left;
	background: var(--surface-sunk);
	border: 1px solid var(--border);
	border-radius: 10px;
	padding: 8px 12px;
}

.WsFakeField span {
	display: block;
	font-size: 10px;
	font-weight: 600;
	color: var(--ink-3);
	text-transform: uppercase;
}

.WsFakeField em {
	display: block;
	font-style: normal;
	font-weight: 700;
	color: var(--ink);
	overflow: hidden;
	white-space: nowrap;
	border-right: 2px solid var(--brand);
	animation: wsType 1.4s steps(8, end) both;
}

.WsMiniCard {
	min-width: 180px;
	background: var(--surface);
	border-radius: 14px;
	box-shadow: var(--sh-card);
	padding: 16px 18px;
	text-align: left;
	animation: wsCardIn 0.5s ease;
}

.WsMiniCard strong {
	display: block;
	margin-bottom: 8px;
}

.WsMiniPending,
.WsMiniOk {
	display: inline-block;
	padding: 3px 10px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 600;
}

.WsMiniPending {
	background: var(--warn-tint);
	color: #9A6B12;
}

.WsMiniOk {
	background: var(--ok-tint);
	color: #22775A;
	animation: wsOkPop 0.7s ease;
}

.WsPinRow {
	display: flex;
	gap: 8px;
	margin-bottom: 10px;
}

.WsPinRow i {
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: var(--border);
	animation: wsPinFill 1.6s ease infinite;
}

.WsPinRow i:nth-child(2) { animation-delay: 0.15s; }
.WsPinRow i:nth-child(3) { animation-delay: 0.3s; }
.WsPinRow i:nth-child(4) { animation-delay: 0.45s; }

.WsCheckFlash {
	display: inline-block;
	padding: 6px 14px;
	border-radius: 999px;
	background: var(--ok);
	color: #fff;
	font-weight: 700;
	animation: wsFlash 1.6s ease infinite;
}

.WsHelpFoot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-top: 14px;
	flex-shrink: 0;
}

.WsHelpCount {
	font-size: 12px;
	color: var(--ink-3);
	font-weight: 600;
}

.WsHelpPrev.off {
	visibility: hidden;
}

@keyframes wsFadeIn {
	from { opacity: 0; transform: translateY(8px); }
	to { opacity: 1; transform: none; }
}

@keyframes wsPulse {
	0%, 100% { transform: scale(1); }
	50% { transform: scale(1.04); }
}

@keyframes wsDeviceIn {
	from { opacity: 0; transform: translateY(16px) scale(0.92); }
	to { opacity: 1; transform: none; }
}

@keyframes wsSpin {
	to { transform: rotate(360deg); }
}

@keyframes wsType {
	from { width: 0; }
	to { width: 100%; }
}

@keyframes wsCardIn {
	from { opacity: 0; transform: translateY(12px); }
	to { opacity: 1; transform: none; }
}

@keyframes wsOkPop {
	0% { transform: scale(0.7); }
	60% { transform: scale(1.08); }
	100% { transform: scale(1); }
}

@keyframes wsPinFill {
	0%, 20% { background: var(--border); }
	35%, 100% { background: var(--brand); }
}

@keyframes wsFlash {
	0%, 55% { opacity: 0; transform: scale(0.9); }
	70%, 100% { opacity: 1; transform: scale(1); }
}

@media (max-width: 560px) {
	.WsHelpBox {
		width: calc(100% - 16px);
		padding: 14px 12px 12px;
	}
	.WsArt {
		height: 112px;
	}
}
