.talim-demo-login-stale { border-left: 4px solid #f2b705; background: #fffdf5; padding: 0.6em 1em; font-size: 0.9em; color: #444; }
/* Talim Demo Tour. Roboto, lila and yellow rhombi, double lila-yellow lines. */

.talim-demo-login, .talim-personas { font-family: Roboto, "Helvetica Neue", Arial, sans-serif; max-width: 720px; margin: 2em auto; }

.talim-demo-login-notice { border-left: 4px solid #7c4dbc; background: #faf8fd; padding: 0.6em 1em; font-size: 0.9em; color: #444; }

/* Double lila-yellow separation line with a rhombus, the corporate decoration. */
.talim-demo-tour-sep { position: relative; height: 6px; margin: 1.4em 0; border-top: 2px solid #7c4dbc; border-bottom: 2px solid #f2b705; }
.talim-demo-tour-sep::before {
	content: ""; position: absolute; left: 50%; top: -8px; width: 12px; height: 12px;
	transform: translateX(-50%) rotate(45deg);
	background: #7c4dbc; border: 2px solid #f2b705; box-sizing: border-box;
}

.talim-demo-login-form { border: double 4px #7c4dbc; padding: 1.2em 1.4em; border-radius: 6px; background: #fff; }

.talim-demo-login-hp { position: absolute; left: -9999px; }

.talim-demo-login-label { display: block; font-weight: 600; margin-bottom: 0.4em; color: #3d2a5c; }

.talim-demo-login-select {
	min-width: 280px; padding: 0.55em 2.4em 0.55em 0.8em; font-family: inherit; font-size: 1em; color: #3d2a5c;
	background-color: #faf8fd;
	border: 2px solid #7c4dbc; border-radius: 4px;
	appearance: none; -webkit-appearance: none; -moz-appearance: none;
	background-image:
		linear-gradient(45deg, transparent 50%, #7c4dbc 50%),
		linear-gradient(135deg, #7c4dbc 50%, transparent 50%);
	background-position: calc(100% - 18px) 55%, calc(100% - 13px) 55%;
	background-size: 5px 5px; background-repeat: no-repeat;
	cursor: pointer;
}
.talim-demo-login-select:focus { outline: 2px solid #f2b705; outline-offset: 1px; }

.talim-demo-login-desc { min-height: 2.4em; color: #555; border-left: 4px solid #f2b705; background: #fffdf5; padding: 0.4em 0.8em; margin-top: 0.8em; }

.talim-demo-login-submit, .talim-persona-login button, .talim-tour-btn {
	background: #7c4dbc !important; color: #fff !important; border: none !important; padding: 0.55em 1.2em; border-radius: 4px;
	cursor: pointer; font-family: inherit; font-size: 1em;
}
.talim-demo-login-submit:hover, .talim-persona-login button:hover, .talim-tour-btn:hover { background: #6a3fb0 !important; color: #fff !important; }

.talim-tour-btn[disabled] { opacity: 0.5; cursor: default; }
.talim-tour-btn.talim-tour-ready { background: #f2b705 !important; color: #222 !important; }

.talim-tour-btn-secondary { background: transparent !important; color: #7c4dbc !important; border: 1px solid #d9cdee !important; }

.talim-persona-card { border: double 4px #f2b705; padding: 1em 1.4em; margin: 1.4em 0; border-radius: 6px; }
.talim-persona-roles { color: #555; }
.talim-persona-shows { font-style: italic; }

/* The tour window docks bottom-right instead of covering the centre,
 * can be dragged (remembered per browser) and minimised to a pill. */
.talim-tour-popup {
	position: fixed; right: 16px; bottom: 16px;
	width: 340px; max-width: calc(100vw - 24px); z-index: 2147483000;
	background: #fff; border: double 4px #7c4dbc; border-radius: 6px;
	padding: 1em 1.2em; box-shadow: 0 8px 30px rgba(60, 30, 100, 0.25);
	font-family: Roboto, "Helvetica Neue", Arial, sans-serif;
}
.talim-tour-popup-anchored, .talim-tour-popup-dragged { transform: none; right: auto; bottom: auto; }

.talim-tour-head { display: flex; justify-content: space-between; align-items: center; gap: 0.5em; cursor: grab; user-select: none; }
.talim-tour-head:active { cursor: grabbing; }
.talim-tour-min {
	background: transparent; color: #7c4dbc; border: 1px solid #d9cdee; border-radius: 4px;
	cursor: pointer; font-family: inherit; font-size: 1em; line-height: 1; padding: 0.05em 0.5em;
}
.talim-tour-min:hover { background: #faf8fd; }

.talim-tour-popup h3 { margin: 0.2em 0 0.4em 0; color: #7c4dbc; font-size: 1.05em; }
.talim-tour-counter { font-size: 0.8em; color: #f2b705; font-weight: 600; }
.talim-tour-actions { display: flex; gap: 0.5em; margin-top: 0.8em; flex-wrap: wrap; }

.talim-tour-link { display: block; margin-top: 0.6em; color: #7c4dbc; font-weight: 600; text-decoration: underline; }

.talim-tour-target { outline: 3px solid #f2b705; outline-offset: 3px; border-radius: 4px; }

.talim-tour-pill {
	position: fixed; right: 16px; bottom: 16px; z-index: 2147483000;
	background: #7c4dbc; color: #fff; border: none; border-radius: 20px;
	padding: 0.5em 1em; cursor: pointer; font-family: Roboto, sans-serif;
	box-shadow: 0 4px 14px rgba(60, 30, 100, 0.35);
}
.talim-tour-pill:hover { background: #6a3fb0; }

.talim-tour-resume {
	position: fixed; right: 16px; bottom: 16px; z-index: 2147483000;
	background: #f2b705; color: #222; border: none; border-radius: 20px;
	padding: 0.5em 1em; cursor: pointer; font-family: Roboto, sans-serif;
}

/* Small screens: the tour docks as a bottom sheet and never covers the page. */
@media (max-width: 600px) {
	.talim-tour-popup {
		left: 8px; right: 8px; bottom: 8px; width: auto; max-width: none;
		max-height: 45vh; overflow-y: auto;
	}
	.talim-tour-popup-anchored { left: 8px; right: 8px; bottom: 8px; top: auto; }
	.talim-tour-pill, .talim-tour-resume { right: 8px; bottom: 8px; }
}
