/* Shared viewport-mounted navigation for e-Litera360 mobile workspaces. */
.el360-app.el360-mobile-dock,
body.el360-admin-page .el360-mobile-dock--admin {
	box-sizing: border-box;
	position: fixed;
	z-index: 1000004;
	right: 0;
	bottom: max(10px, env(safe-area-inset-bottom));
	left: 0;
	display: none;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	width: min(480px, calc(100vw - 20px));
	max-width: 480px;
	min-width: 0;
	min-height: 64px;
	margin: 0 auto;
	padding: 4px;
	transform: none;
	border: 1px solid rgba(187, 208, 235, .92);
	border-radius: 20px;
	background: rgba(255, 255, 255, .96);
	box-shadow: 0 16px 42px rgba(24, 64, 125, .22);
	color: #365779;
	font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	line-height: 1.15;
	backdrop-filter: blur(18px);
	transition: opacity .18s ease, transform .18s ease;
}

.el360-app.el360-mobile-dock > :is(a, button, span),
body.el360-admin-page .el360-mobile-dock--admin > :is(a, button, span) {
	box-sizing: border-box;
	display: grid;
	grid-template-rows: 24px auto;
	place-items: center;
	align-content: center;
	gap: 2px;
	min-width: 0;
	min-height: 54px;
	margin: 0;
	padding: 4px 6px;
	transform: none;
	border: 0;
	border-radius: 15px;
	background: transparent;
	box-shadow: none;
	color: inherit;
	font: inherit;
	font-size: 11px;
	font-weight: 750;
	line-height: 1.15;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
}

.el360-app.el360-mobile-dock > :is(a, button):hover,
body.el360-admin-page .el360-mobile-dock--admin > :is(a, button):hover,
.el360-app.el360-mobile-dock > :is(a, button):focus-visible,
body.el360-admin-page .el360-mobile-dock--admin > :is(a, button):focus-visible,
.el360-app.el360-mobile-dock > [aria-current="page"],
body.el360-admin-page .el360-mobile-dock--admin > [aria-current="page"] {
	background: #e8f2ff;
	color: #174cae;
	outline: 0;
}

.el360-app.el360-mobile-dock > :is(a, button):focus-visible,
body.el360-admin-page .el360-mobile-dock--admin > :is(a, button):focus-visible {
	box-shadow: inset 0 0 0 2px #4b91ed;
}

.el360-app.el360-mobile-dock .el360-mobile-dock-icon,
body.el360-admin-page .el360-mobile-dock--admin .el360-mobile-dock-icon {
	display: block;
	width: 22px;
	height: 22px;
}

.el360-app.el360-mobile-dock > .is-disabled,
body.el360-admin-page .el360-mobile-dock--admin > .is-disabled {
	opacity: .42;
	cursor: not-allowed;
}

.el360-app.el360-mobile-dock.is-keyboard-visible,
body.el360-admin-page .el360-mobile-dock--admin.is-keyboard-visible,
body.el360-admin-page.el360-admin-menu-open .el360-mobile-dock--admin {
	opacity: 0;
	pointer-events: none;
	transform: translateY(calc(100% + 24px));
}

@media (max-width: 900px) {
	.el360-app.el360-mobile-dock {
		display: grid;
	}
}

@media (max-width: 782px) {
	body.el360-admin-page .el360-mobile-dock--admin {
		display: grid;
	}
}

@media (prefers-reduced-motion: reduce) {
	.el360-app.el360-mobile-dock,
	body.el360-admin-page .el360-mobile-dock--admin {
		transition: none;
	}
}

@supports not (backdrop-filter: blur(1px)) {
	.el360-app.el360-mobile-dock,
	body.el360-admin-page .el360-mobile-dock--admin {
		background: #fff;
	}
}
