/* Managed physical Lightbox only: clearer hierarchy without changing FPD controls or events. */
html[data-fpd-physical-tools="attached"] .fpd-container {
	--fpd-primary-color: #102a43;
	--fpd-mainbar-nav-color: #102a43;
	--fpd-secondary-color: #087ac8;
	--fpd-secondary-fg-color: #ffffff;
	--fpd-btn-primary-color: #087ac8;
	--fpd-green-color: #14965b;
}

html[data-fpd-physical-tools="attached"] .fpd-container fpd-main-bar .fpd-navigation > .fpd-nav-item {
	border: 1px solid transparent;
	border-radius: 8px;
	min-height: 44px;
	color: #183b56;
}

html[data-fpd-physical-tools="attached"] .fpd-container fpd-main-bar .fpd-navigation > .fpd-nav-item.fpd-active {
	border-color: #b8dcf4;
	background: #eaf5fe;
	color: #075b98;
	font-weight: 700;
}

html[data-fpd-physical-tools="attached"] .fpd-container fpd-main-bar .fpd-navigation > .fpd-nav-item:hover {
	background: #f1f7fb;
}

html[data-fpd-physical-tools="attached"] .fpd-container fpd-actions-bar .fpd-done {
	min-height: 38px;
	border: 1px solid #087442;
	border-radius: 7px;
	background: #14965b;
	color: #ffffff;
	font-weight: 800;
	letter-spacing: .01em;
}

html[data-fpd-physical-tools="attached"] .fpd-container fpd-actions-bar .fpd-done:hover,
html[data-fpd-physical-tools="attached"] .fpd-container fpd-actions-bar .fpd-done:focus-visible {
	background: #0f7c4b;
	color: #ffffff;
}

html[data-fpd-physical-tools="attached"] .fpd-container .fpd-btn:focus-visible,
html[data-fpd-physical-tools="attached"] .fpd-container .fpd-nav-item:focus-visible,
html[data-fpd-physical-tools="attached"] .fpd-container [role="button"]:focus-visible {
	outline: 3px solid rgba(247, 201, 72, .92) !important;
	outline-offset: 2px;
}

@media (prefers-reduced-motion: no-preference) {
	html[data-fpd-physical-tools="attached"] .fpd-container fpd-main-bar .fpd-navigation > .fpd-nav-item,
	html[data-fpd-physical-tools="attached"] .fpd-container fpd-actions-bar .fpd-done {
		transition: background-color .16s ease, border-color .16s ease, color .16s ease, transform .16s ease;
	}

	html[data-fpd-physical-tools="attached"] .fpd-container fpd-actions-bar .fpd-done:hover {
		transform: translateY(-1px);
	}
}

@media (max-width: 782px) {
	html[data-fpd-physical-tools="attached"] .fpd-container fpd-main-bar .fpd-navigation > .fpd-nav-item {
		min-width: 52px;
		min-height: 52px;
		padding-inline: 8px;
	}

	html[data-fpd-physical-tools="attached"] .fpd-container fpd-actions-bar .fpd-done {
		min-height: 42px;
		padding-inline: 13px;
	}
}

@media (prefers-reduced-motion: reduce) {
	html[data-fpd-physical-tools="attached"] .fpd-container fpd-main-bar .fpd-navigation > .fpd-nav-item,
	html[data-fpd-physical-tools="attached"] .fpd-container fpd-actions-bar .fpd-done {
		transition: none;
	}
}
