/* "Open With" bottom sheet on the public home layouts (Bootstrap 4 modal). */
.dexsheet .modal-dialog {
	position: fixed;
	right: 0;
	bottom: 0;
	left: 0;
	width: 100%;
	max-width: 480px;
	margin: 0 auto;
	transform: translateY(100%);
	transition: transform .28s cubic-bezier(.2, .8, .2, 1);
}
.dexsheet.show .modal-dialog {
	transform: none;
}
.dexsheet .modal-content {
	padding: 10px 16px calc(20px + env(safe-area-inset-bottom, 0px));
	border: 0;
	border-radius: 24px 24px 0 0;
	background: #fff;
	box-shadow: 0 -8px 30px rgba(15, 23, 42, .18);
	font-family: 'Plus Jakarta Sans', sans-serif;
	text-align: left;
}
.dexsheet-grip {
	display: block;
	width: 40px;
	height: 4px;
	margin: 0 auto 14px;
	border-radius: 4px;
	background: #E2E8F0;
}
.dexsheet-title {
	margin: 0;
	color: #0F172A;
	font-size: 16px;
	font-weight: 700 !important;
	line-height: 1.3;
}
.dexsheet-sub {
	margin: 4px 0 16px;
	color: #64748B;
	font-size: 13px;
	font-weight: 400;
	line-height: 1.4;
}

.dexsheet-option {
	display: flex;
	align-items: center;
	gap: 12px;
	width: 100%;
	margin: 0 0 10px;
	padding: 12px 14px;
	border: 1px solid #E2E8F0;
	border-radius: 16px;
	background: #fff;
	color: #0F172A;
	font: inherit;
	text-align: left;
	cursor: pointer;
	transition: border-color .15s, background-color .15s;
}
.dexsheet-option:last-child {
	margin-bottom: 0;
}
.dexsheet-option:focus {
	outline: 0;
}
.dexsheet-option:focus-visible,
.dexsheet-option:active {
	border-color: #2563EB;
	background: #F8FAFF;
}
.dexsheet-option--primary {
	border-color: rgba(37, 99, 235, .35);
	background: #EFF6FF;
}

.dexsheet-icon {
	display: flex;
	flex: 0 0 44px;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	overflow: hidden;
	border-radius: 12px;
	background: #F1F5F9;
	color: #475569;
}
.dexsheet-icon--app {
	padding: 5px;
	border: 1px solid rgba(37, 99, 235, .25);
	background: #fff;
}
.dexsheet-icon img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.dexsheet-label {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}
.dexsheet-label b {
	font-size: 14px;
	font-weight: 700;
	line-height: 1.3;
}
.dexsheet-label small {
	color: #64748B;
	font-size: 12px;
	font-weight: 400;
	line-height: 1.35;
}

.dexsheet-cta {
	flex: 0 0 auto;
	padding: 8px 14px;
	border-radius: 999px;
	background: #F1F5F9;
	color: #2563EB;
	font-size: 13px;
	font-weight: 700;
	white-space: nowrap;
}
.dexsheet-option--primary .dexsheet-cta {
	background: #2563EB;
	color: #fff;
}

body.darkmode-page .dexsheet .modal-content {
	background: #1E293B;
}
body.darkmode-page .dexsheet-grip {
	background: rgba(255, 255, 255, .15);
}
body.darkmode-page .dexsheet-title,
body.darkmode-page .dexsheet-option {
	color: #F1F5F9;
}
body.darkmode-page .dexsheet-sub,
body.darkmode-page .dexsheet-label small {
	color: #94A3B8;
}
body.darkmode-page .dexsheet-option {
	border-color: rgba(255, 255, 255, .08);
	background: #0F172A;
}
body.darkmode-page .dexsheet-option--primary {
	border-color: rgba(96, 165, 250, .4);
	background: rgba(37, 99, 235, .15);
}
body.darkmode-page .dexsheet-icon {
	background: rgba(255, 255, 255, .08);
	color: #CBD5E1;
}
body.darkmode-page .dexsheet-cta {
	background: rgba(255, 255, 255, .08);
	color: #60A5FA;
}
body.darkmode-page .dexsheet-option--primary .dexsheet-cta {
	background: #2563EB;
	color: #fff;
}
