/*
 * Mench Client Portal: App — the install bar and the Account tab card on the portal page. Every rule is scoped to mcpapp-
 * classes (Client Portal's own portal classes style the card); the Mench navy palette; 44 px targets; a visible focus ring;
 * no motion with prefers-reduced-motion.
 */
.mcpapp-bar {
	position: fixed;
	right: 16px;
	bottom: 16px;
	left: 16px;
	z-index: 99990;
	display: flex;
	align-items: center;
	gap: 12px;
	box-sizing: border-box;
	max-width: 560px;
	margin: 0 auto;
	padding: 10px 8px 10px 12px;
	border-radius: 14px;
	background: #142b49;
	box-shadow: 0 10px 30px rgba(20, 43, 73, 0.28);
	color: #fff;
	font-size: 15px;
	line-height: 1.4;
	animation: mcpapp-up 0.2s ease-out;
}
.mcpapp-bar[hidden],
.mcpapp-bar [hidden],
.mcpapp-card[hidden],
.mcpapp-card [hidden] {
	display: none !important;
}
.mcpapp-bar__icon {
	flex: none;
	width: 40px;
	height: 40px;
	border-radius: 10px;
	background: #fff;
}
.mcpapp-bar__text {
	flex: 1 1 auto;
	min-width: 0;
}
.mcpapp-bar__title {
	margin: 0;
	color: #fff;
	font-weight: 600;
}
.mcpapp-bar__hint {
	margin: 2px 0 0;
	color: #c5d8f4;
	font-size: 13px;
}
/*
 * Theme guard: themes style every button (Hello Elementor: [type=button] and button at (0,1,0), and their :hover/:focus at (0,2,0)
 * with a pink fill and border). Every property a theme sets is set here, at (0,2,1) and (0,3,1) for the states, so the bar's and
 * the card's buttons keep the Mench palette whatever the theme.
 */
.mcpapp-bar button.mcpapp-btn,
.mcpapp-bar button.mcpapp-bar__close,
.mcpapp-card button.mcpapp-install {
	display: inline-flex;
	flex: none;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: auto;
	min-width: 44px;
	min-height: 44px;
	margin: 0;
	padding: 8px 16px;
	border: 1px solid transparent;
	border-radius: 8px;
	background: #fff;
	box-shadow: none;
	color: #142b49;
	font: inherit;
	font-size: 15px;
	font-weight: 600;
	letter-spacing: normal;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	text-transform: none;
	white-space: nowrap;
	cursor: pointer;
	transition: none;
	-webkit-user-select: none;
	user-select: none;
}
.mcpapp-bar button.mcpapp-btn:hover,
.mcpapp-bar button.mcpapp-btn:focus,
.mcpapp-bar button.mcpapp-btn:active {
	border-color: #edf3fb;
	background: #edf3fb;
	box-shadow: none;
	color: #142b49;
	text-decoration: none;
}
.mcpapp-bar button.mcpapp-bar__close {
	width: 44px;
	padding: 0;
	background: transparent;
	color: #fff;
	font-size: 26px;
	line-height: 1;
}
.mcpapp-bar button.mcpapp-bar__close:hover,
.mcpapp-bar button.mcpapp-bar__close:focus,
.mcpapp-bar button.mcpapp-bar__close:active {
	border-color: #223f63;
	background: #223f63;
	box-shadow: none;
	color: #fff;
}
.mcpapp-card button.mcpapp-install {
	justify-self: start;
	border-color: #173b63;
	background: #173b63;
	color: #fff;
}
.mcpapp-card button.mcpapp-install:hover,
.mcpapp-card button.mcpapp-install:focus,
.mcpapp-card button.mcpapp-install:active {
	border-color: #142b49;
	background: #142b49;
	box-shadow: none;
	color: #fff;
	text-decoration: none;
}
.mcpapp-bar button.mcpapp-btn:focus-visible,
.mcpapp-bar button.mcpapp-bar__close:focus-visible {
	outline: 3px solid #c5d8f4;
	outline-offset: 2px;
}
.mcpapp-card button.mcpapp-install:focus-visible {
	outline: 3px solid #173b63;
	outline-offset: 2px;
}
.mcpapp-steps p,
.mcpapp-steps ol {
	margin: 0;
}
.mcpapp-steps ol {
	margin-top: 6px;
	padding-left: 1.4em;
}
.mcpapp-later {
	margin: 0;
	padding: 10px 12px;
	border-left: 3px solid #173b63;
	background: #edf3fb;
	color: #142b49;
}
.mcpapp-later:focus {
	outline: none;
}
.mcpapp-later:focus-visible {
	outline: 3px solid #173b63;
	outline-offset: 2px;
}
.mcpapp-sr {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}
body.mcpapp-has-bar {
	padding-bottom: 96px;
}
@keyframes mcpapp-up {
	from {
		opacity: 0;
		transform: translateY(12px);
	}
	to {
		opacity: 1;
		transform: none;
	}
}
@media (prefers-reduced-motion: reduce) {
	.mcpapp-bar {
		animation: none;
	}
}

/* ---- Sign-in by code (Mench_CPA_Code_Form, shown by code.js in the app) ---- */
.mcpapp-code {
	margin-top: 22px;
	padding-top: 20px;
	border-top: 1px solid #dce3ee;
}
.mcpapp-code[hidden],
.mcpapp-code [hidden] {
	display: none !important;
}
.mcpapp-code.mcpapp-code--first {
	margin: 0 0 22px;
	padding: 0 0 20px;
	border-top: 0;
	border-bottom: 1px solid #dce3ee;
}
.mcpapp-code__title {
	margin: 0 0 6px;
	font-size: 18px;
	line-height: 1.3;
	color: #142b49;
}
.mcpapp-code .mcpapp-code__lead {
	margin: 0 0 16px;
}
.mcpapp-code__form {
	display: grid;
	gap: 12px;
}
.mcpapp-code .mcp-input.mcpapp-code__input {
	font-size: 24px;
	letter-spacing: 0.3em;
	text-align: center;
	font-variant-numeric: tabular-nums;
}
.mcpapp-code__help {
	margin: 6px 0 0;
	font-size: 14px;
}
