/* Report choice modal */
.report-choice {
	z-index: 100000;
}
.report-choice .modal-content {
	max-width: 560px;
}
.report-choice .modal-body {
	overflow: visible;
	padding-right: 20px;
}
.report-choice .rc-lead {
	margin-bottom: 20px;
}
.rc-options {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 12px;
}
.rc-options .rc-option {
	display: flex;
	align-items: center;
	gap: 16px;
	width: 100%;
	min-width: 0;
	padding: 16px 20px;
	border: 1px solid #e4dccf;
	border-radius: 14px;
	background: #fff;
	color: #222;
	text-align: left;
	cursor: pointer;
	transition: border-color .2s ease, background-color .2s ease;
}
.rc-options .rc-option:hover,
.rc-options .rc-option:focus-visible {
	border-color: #ab8a62;
	background: #f8f5f0;
	color: #222;
}
.rc-option svg {
	flex: none;
	width: 36px;
	height: 36px;
	color: #ab8a62;
}
.rc-option .rc-text {
	display: flex;
	flex-direction: column;
	min-width: 0;
}
.rc-option strong {
	font-family: 'Barlow Condensed', 'Roboto Condensed', sans-serif;
	font-weight: 400;
	font-size: 1.15rem;
	letter-spacing: 1px;
	text-transform: uppercase;
	line-height: 1.3;
}
.rc-option small {
	font-size: .9rem;
	color: #777;
	line-height: 1.4;
}

/* Flipbook viewer */
.report-viewer {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	flex-direction: column;
	background: #1d1a17;
	color: #fff;
}
.report-viewer[hidden] {
	display: none;
}
.rv-bar {
	flex: none;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 12px 20px;
	font-family: 'Barlow Condensed', 'Roboto Condensed', sans-serif;
	text-transform: uppercase;
	letter-spacing: 1px;
}
.rv-title {
	min-width: 0;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
	font-size: 1.1rem;
	font-weight: 400;
}
.report-viewer .rv-btn {
	flex: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	min-width: 44px;
	height: 44px;
	padding: 0 12px;
	border: 0;
	border-radius: 10px;
	background: rgba(255, 255, 255, .08);
	color: #fff;
	font: inherit;
	font-size: 1rem;
	cursor: pointer;
	transition: background-color .2s ease;
}
.report-viewer .rv-btn:hover,
.report-viewer .rv-btn:focus-visible {
	background: #ab8a62;
	color: #fff;
}
.report-viewer .rv-btn:disabled {
	opacity: .3;
	cursor: default;
	background: rgba(255, 255, 255, .08);
}
.rv-btn svg {
	width: 20px;
	height: 20px;
}
.rv-stage {
	flex: 1;
	min-height: 0;
	padding: 8px 24px;
}
.rv-book,
.rv-book .stf__wrapper {
	position: relative;
	width: 100%;
	height: 100%;
	min-width: 0 !important;
	min-height: 0 !important;
}
.rv-page {
	background: #fff;
	overflow: hidden;
}
.rv-page img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	pointer-events: none;
	user-select: none;
}
.rv-controls {
	flex: none;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 16px;
	padding: 12px 20px 16px;
	font-family: 'Barlow Condensed', 'Roboto Condensed', sans-serif;
	letter-spacing: 1px;
}
.rv-count {
	min-width: 90px;
	text-align: center;
	font-size: 1.1rem;
	font-variant-numeric: tabular-nums;
}

@media (max-width: 767px) {
	.rv-bar {
		padding: 8px 12px;
	}
	.rv-stage {
		padding: 8px;
	}
	.rv-controls {
		padding: 8px 12px 14px;
	}
	.rv-pdf span {
		display: none;
	}
}
