/* Connected-state controls stay inside the existing MMF header. */
.mmf-header__session {
	order: 3;
	display: inline-flex;
	align-items: center;
	justify-content: flex-end;
	gap: 7px;
	flex: 0 0 auto;
	min-width: 0;
	color: var(--mmf-nav-text, #1E2244);
	font-size: 0.82rem;
	line-height: 1.1;}
.mmf-header__session-label {
	font-weight: 800;}
.mmf-header__session-name {
	max-width: 14ch;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;}
.mmf-header__session-action {
	display: inline-flex;
	align-items: center;
	min-height: 34px;
	padding: 0 12px;
	color: #fff;
	background: var(--mmf-nav-text, #1E2244);
	border-radius: 999px;
	font-weight: 800;
	text-decoration: none;
	white-space: nowrap;}
.mmf-header__session-action:hover,
.mmf-header__session-action:focus-visible {
	background: var(--mmf-nav-accent, #EE6F5C);
	color: #fff;}
.mmf-header__session-action--login {
	justify-content: center;
	width: 44px;
	min-width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid rgba(30, 34, 68, 0.12);
	border-radius: 16px;
	box-shadow: 0 12px 28px rgba(30, 34, 68, 0.14);
	transition: background 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;}
.mmf-header__session-action--login:hover,
.mmf-header__session-action--login:focus-visible {
	transform: translateY(-1px);
	box-shadow: 0 16px 32px rgba(30, 34, 68, 0.18);}
.mmf-header__session-action--login .dashicons,
.mmf-header__session-action--login .dashicons::before {
	width: 20px;
	height: 20px;
	font-family: dashicons !important;
	font-size: 20px;
	line-height: 1;}
.mmf-header__session-action--login:focus-visible {
	outline: 3px solid rgba(238, 111, 92, 0.42);
	outline-offset: 3px;}
@media (max-width: 781px) {
	.mmf-header__session {
		gap: 4px;
		font-size: 0.72rem;
		order: 2;
		max-width: none;}
	.mmf-nav {
		order: 3;}
	.mmf-header__session-label,
	.mmf-header__session-name,
	.mmf-header__session-action--edit {
		display: none;}
	.mmf-header__session-action {
		min-height: 36px;
		max-width: 38vw;
		overflow: hidden;
		padding: 0 9px;
		text-overflow: ellipsis;}
	.mmf-header__session-action--login {
		width: 44px;
		min-width: 44px;
		max-width: 44px;
		height: 44px;
		min-height: 44px;
		padding: 0;}
	.mmf-header__session-action--portraits {
		font-size: 0;}
	.mmf-header__session-action--portraits::before {
		content: 'Espace portraits';
		font-size: 0.72rem;}}
