/* WiSkills guided help tours. */
.wis-tour-spot {
	display: none;
	position: absolute;
	z-index: 100000;
	border-radius: 10px;
	box-shadow: 0 0 0 4px #E07B2A, 0 0 0 9999px rgba(15, 28, 52, 0.55);
	pointer-events: none;
	transition: left .2s ease, top .2s ease, width .2s ease, height .2s ease;
}
.wis-tour-shade {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 100000;
	background: rgba(15, 28, 52, 0.55);
}
.wis-tour-card {
	display: none;
	position: absolute;
	z-index: 100002;
	width: min(360px, calc(100vw - 24px));
	padding: 18px 20px 14px;
	background: #fff;
	color: #1d2733;
	border-radius: 12px;
	box-shadow: 0 18px 50px rgba(15, 28, 52, 0.35);
	font: 14px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	text-align: left;
}
.wis-tour-card[data-place="center"] { width: min(420px, calc(100vw - 24px)); }
.wis-tour-count { margin: 0 0 4px; font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: #E07B2A; }
.wis-tour-title { margin: 0 28px 6px 0; font-size: 17px; line-height: 1.3; color: #1B3A6B; }
.wis-tour-body p { margin: 0 0 8px; }
.wis-tour-body ul { margin: 0 0 8px 18px; padding: 0; list-style: disc; }
.wis-tour-body li { margin: 0 0 3px; }
.wis-tour-x {
	position: absolute; top: 8px; right: 10px;
	width: 30px; height: 30px; border: 0; background: none; cursor: pointer;
	font-size: 22px; line-height: 1; color: #6B7A8D; border-radius: 6px;
}
.wis-tour-x:hover, .wis-tour-x:focus-visible { background: #f1f4f8; color: #1B3A6B; }
.wis-tour-nav { display: flex; align-items: center; gap: 8px; margin-top: 12px; }
.wis-tour-gap { flex: 1; }
.wis-tour-nav button { font: inherit; cursor: pointer; border-radius: 8px; }
.wis-tour-skip { border: 0; background: none; color: #6B7A8D; padding: 6px 2px; text-decoration: underline; }
.wis-tour-back { border: 1px solid #cdd5df; background: #fff; color: #1B3A6B; padding: 7px 14px; }
.wis-tour-next { border: 0; background: #1B3A6B; color: #fff; padding: 8px 16px; font-weight: 600; }
.wis-tour-next:hover { background: #142c52; }
.wis-tour-nav button:focus-visible, .wis-tour-help__btn:focus-visible, .wis-tour-menu button:focus-visible { outline: 3px solid #E07B2A; outline-offset: 2px; }
.wis-tour-arrow { position: absolute; width: 14px; height: 14px; background: #fff; transform: rotate(45deg); display: none; }
.wis-tour-card[data-place="bottom"] .wis-tour-arrow { display: block; top: -7px; margin-left: -7px; }
.wis-tour-card[data-place="top"] .wis-tour-arrow { display: block; bottom: -7px; margin-left: -7px; }
.wis-tour-card[data-place="right"] .wis-tour-arrow { display: block; left: -7px; margin-top: -7px; }
.wis-tour-card[data-place="left"] .wis-tour-arrow { display: block; right: -7px; margin-top: -7px; }

/* Help button. */
.wis-tour-help { position: fixed; right: 20px; bottom: 20px; z-index: 99990; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.wis-tour-help--front { right: auto; left: 20px; align-items: flex-start; }
.wis-tour-help__btn {
	display: inline-flex; align-items: center; gap: 8px;
	padding: 8px 14px 8px 8px; border: 0; border-radius: 999px; cursor: pointer;
	background: #1B3A6B; color: #fff; font: 600 14px/1 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
	box-shadow: 0 6px 18px rgba(15, 28, 52, 0.3);
	order: 2;
}
.wis-tour-help__q { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #E07B2A; font-size: 15px; }
.wis-tour-menu { order: 1; min-width: 220px; padding: 6px; background: #fff; border-radius: 10px; box-shadow: 0 12px 34px rgba(15, 28, 52, 0.3); }
.wis-tour-menu button { display: block; width: 100%; padding: 9px 12px; border: 0; background: none; text-align: left; font: 14px/1.3 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif; color: #1B3A6B; border-radius: 6px; cursor: pointer; }
.wis-tour-menu button:hover { background: #f1f4f8; }
.wis-tour-prompt {
	order: 1; display: flex; align-items: center; gap: 10px; max-width: 320px;
	padding: 10px 10px 10px 14px; background: #fff; color: #1d2733; border-radius: 10px;
	box-shadow: 0 12px 34px rgba(15, 28, 52, 0.3); font: 14px/1.4 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}
.wis-tour-prompt__go { border: 0; background: #E07B2A; color: #fff; padding: 7px 12px; border-radius: 8px; font-weight: 600; cursor: pointer; white-space: nowrap; }
.wis-tour-prompt__no { border: 0; background: none; font-size: 20px; color: #6B7A8D; cursor: pointer; line-height: 1; }
body.wis-tour-on .wis-tour-help { z-index: 99990; }

@media (max-width: 600px) {
	.wis-tour-help__label { display: none; }
	.wis-tour-help__btn { padding: 8px; }
	.wis-tour-help { bottom: 14px; }
}
@media (prefers-reduced-motion: reduce) {
	.wis-tour-spot { transition: none; }
}
