/* Lapapoe Compliance Review page. Builds on lapapoe-figma.css tokens (--lp-*); adds only what that file lacks. */

.lfp-page--compliance .lfp-h1 {
	font-size: 44px;
}

.lfp-page--compliance .lfp-hero-text .lfp-subtext {
	margin: 0 0 14px;
}

.lfp-page--compliance .lfp-hero-text .lfp-btn-row {
	margin-top: 22px;
}

/* "At a glance" card — plain facts from the document. */
.lcr-glance {
	background: var(--lp-white);
	border-radius: var(--lp-radius-lg);
	padding: 32px;
	box-shadow: 0 20px 40px -20px rgba(102, 0, 102, 0.15);
}

.lcr-glance-title {
	margin: 0 0 16px;
	font-size: 18px;
	font-weight: 700;
	color: var(--lp-purple);
}

.lcr-glance dl {
	margin: 0;
}

.lcr-glance dl > div {
	padding: 12px 0;
	border-top: 1px solid var(--lp-badge-tint);
}

.lcr-glance dt {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--lp-text-body);
	margin: 0 0 2px;
}

.lcr-glance dd {
	margin: 0;
	font-size: 16px;
	font-weight: 600;
	color: var(--lp-text-dark);
}

/* Document header */
.lcr-doc-head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	flex-wrap: wrap;
	margin-bottom: 32px;
}

.lcr-doc-head .lfp-h2 {
	margin-bottom: 8px;
}

.lcr-doc-meta {
	margin: 0;
	font-size: 14px;
	color: var(--lp-text-body);
	max-width: 640px;
}

/* Jump list */
.lcr-jump-heading {
	margin: 0 0 12px;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--lp-purple);
}

.lcr-jump {
	list-style: none;
	margin: 0 0 32px;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 12px;
}

.lcr-jump a {
	display: flex;
	flex-direction: column;
	gap: 2px;
	height: 100%;
	padding: 14px 16px;
	background: var(--lp-tint-bg);
	border-radius: var(--lp-radius-md);
	text-decoration: none;
	color: var(--lp-text-dark);
	border: 1px solid transparent;
	transition: border-color 0.15s ease, transform 0.15s ease;
}

.lcr-jump a:hover,
.lcr-jump a:focus-visible {
	border-color: var(--lp-purple);
	transform: translateY(-1px);
}

.lcr-jump-tag {
	font-size: 13px;
	font-weight: 700;
	color: var(--lp-purple);
}

.lcr-jump-title {
	font-size: 14px;
	font-weight: 600;
	line-height: 1.3;
}

.lcr-jump-rule {
	font-size: 12px;
	color: var(--lp-text-body);
}

/* Viewer */
.lcr-viewer {
	background: var(--lp-tint-bg);
	border-radius: var(--lp-radius-lg);
	overflow: hidden;
	border: 1px solid var(--lp-badge-tint);
}

.lcr-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 12px 20px;
	background: var(--lp-white);
	border-bottom: 1px solid var(--lp-badge-tint);
	font-size: 14px;
	font-weight: 600;
	color: var(--lp-text-dark);
}

.lcr-zoom {
	display: inline-flex;
	gap: 6px;
}

.lcr-zoom button {
	font-family: var(--lp-font);
	font-size: 15px;
	font-weight: 700;
	min-width: 44px;
	height: 40px;
	padding: 0 14px;
	border-radius: var(--lp-radius-pill);
	border: 2px solid var(--lp-purple);
	background: transparent;
	color: var(--lp-purple);
	cursor: pointer;
}

.lcr-zoom button:hover {
	background: var(--lp-badge-tint);
}

.lcr-zoom button:focus-visible,
.lcr-scroll:focus-visible {
	outline: 2px solid var(--lp-purple);
	outline-offset: 2px;
}

.lcr-scroll {
	height: min(80vh, 860px);
	overflow: auto;
	padding: 24px;
	-webkit-overflow-scrolling: touch;
	overscroll-behavior: contain;
}

.lcr-pages {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 20px;
	width: max-content;
	min-width: 100%;
}

.lcr-page {
	position: relative;
	flex: none;
	background: var(--lp-white);
	box-shadow: 0 4px 20px -8px rgba(102, 0, 102, 0.25);
}

.lcr-page canvas {
	display: block;
	width: 100%;
	height: 100%;
}

/* Invisible, selectable text over each page: lets visitors select, copy and search the document. */
.lcr-text {
	position: absolute;
	inset: 0;
	overflow: hidden;
	line-height: 1;
	opacity: 1;
}

.lcr-text span,
.lcr-text br {
	color: transparent;
	position: absolute;
	white-space: pre;
	cursor: text;
	transform-origin: 0 0;
}

.lcr-text ::selection {
	background: rgba(102, 0, 102, 0.25);
}

.lcr-status {
	margin: 16px 0 0;
	text-align: center;
	font-size: 14px;
	color: var(--lp-text-body);
}

.lcr-status:empty {
	display: none;
}

.lcr-fallback {
	margin: 16px 0 0;
	font-size: 15px;
	color: var(--lp-text-body);
}

.lcr-fallback a {
	color: var(--lp-purple);
	font-weight: 700;
}

.lcr-bar-icon {
	flex-shrink: 0;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--lp-badge-tint);
	color: var(--lp-purple);
	display: flex;
	align-items: center;
	justify-content: center;
}

.lcr-documents .lfp-safety-bar {
	background: var(--lp-tint-bg);
	margin-top: 32px;
}

@media (max-width: 900px) {
	.lfp-page--compliance .lfp-h1 {
		font-size: 32px;
	}

	.lcr-jump {
		grid-template-columns: repeat(2, 1fr);
	}

	.lcr-glance {
		padding: 24px;
	}

	.lcr-scroll {
		padding: 12px;
		height: 75vh;
	}

	.lcr-toolbar {
		padding: 10px 12px;
	}

	.lcr-doc-head .lfp-btn-row {
		width: 100%;
	}
}

@media (max-width: 560px) {
	.lcr-jump {
		gap: 8px;
	}

	.lcr-jump a {
		padding: 12px;
	}

	.lcr-doc-head .lfp-btn {
		flex: 1 1 100%;
		justify-content: center;
	}
}
