/* Dentframe mobile install banner. Sits above the fixed Public beta strip and top bar. */
:root { --df-pwa-h: 0px; }

.df-pwa-banner,
.df-pwa-guide { display: none; }

.df-pwa-banner {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1400;
	height: 64px;
	box-sizing: border-box;
	align-items: center;
	gap: 8px;
	padding: 0 8px 0 2px;
	background: #f2f2f2;
	border-bottom: 1px solid #d5d5d5;
	color: #1c1c1e;
	font-family: Lexend, system-ui, -apple-system, "Segoe UI", sans-serif;
}

.df-pwa-x,
.df-pwa-action {
	border: 0;
	background: transparent;
	cursor: pointer;
	font-family: inherit;
	-webkit-tap-highlight-color: transparent;
}

.df-pwa-x {
	flex: 0 0 40px;
	width: 40px;
	height: 40px;
	padding: 0;
	color: #8e8e93;
	font-size: 22px;
	line-height: 40px;
}

.df-pwa-icon {
	flex: 0 0 44px;
	width: 44px;
	height: 44px;
	border-radius: 10px;
	background: #fff;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.18);
	object-fit: cover;
}

.df-pwa-text {
	min-width: 0;
	flex: 1 1 auto;
}

.df-pwa-name {
	font-size: 14px;
	font-weight: 700;
	line-height: 1.15;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.df-pwa-sub {
	margin-top: 2px;
	font-size: 11px;
	line-height: 1.2;
	color: #6b6b70;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.df-pwa-action {
	flex: 0 0 auto;
	margin-left: 4px;
	padding: 10px 8px;
	color: #514a88;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.df-pwa-guide {
	position: fixed;
	top: calc(114px + var(--df-pwa-h, 0px) + 8px);
	left: 10px;
	right: 10px;
	z-index: 1400;
	max-width: 420px;
	margin: 0 auto;
	padding: 14px 16px;
	background: #fff;
	color: #1c1c1e;
	border-radius: 14px;
	box-shadow: 0 10px 28px rgba(21, 18, 43, 0.22);
	font-family: Lexend, system-ui, -apple-system, "Segoe UI", sans-serif;
	font-size: 14px;
	line-height: 1.35;
}

.df-pwa-guide-title {
	margin: 0 0 10px;
	font-size: 15px;
	font-weight: 700;
}

.df-pwa-steps {
	list-style: none;
	margin: 0;
	padding: 0;
}

.df-pwa-steps li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin: 0 0 10px;
}

.df-pwa-steps li:last-child { margin-bottom: 0; }

.df-pwa-step-icon {
	flex: 0 0 32px;
	width: 32px;
	height: 32px;
	display: grid;
	place-content: center;
	color: #007aff;
}

.df-pwa-step-icon svg { display: block; }

.df-pwa-os {
	display: block;
	margin-top: 2px;
	font-weight: 700;
}

.df-pwa-note { margin: 0; }

@media (max-width: 991.98px) {
	body.df-pwa-on { --df-pwa-h: 64px; }
	body.df-pwa-on .df-pwa-banner { display: flex; }
	body.df-pwa-on .df-pwa-guide.is-open { display: block; }
	body.df-pwa-on .above-header { top: var(--df-pwa-h) !important; }
	body.df-pwa-on .top-bar,
	body.df-pwa-on nav.top-bar.navbar { top: calc(34px + var(--df-pwa-h)) !important; }
	body.df-pwa-on #container { padding-top: calc(114px + var(--df-pwa-h)); }
	body.df-pwa-on .df-user-mpanel { top: calc(34px + var(--df-pwa-h)); }
}

@media (min-width: 992px) {
	.df-pwa-banner,
	.df-pwa-guide { display: none !important; }
}
