/* Bosla feature chunk: reader-tools — conditional bundle (audit P1-A). */

.bosla-reader-tools {
	display: inline-flex;
	gap: 0.35rem;
	margin-block-end: 1rem;
	padding: 0.3rem;
	background: var(--bosla-color-surface, #fff);
	border: 1px solid var(--bosla-color-border, #e2e5e9);
	border-radius: 999px;
}

.bosla-reader-btn {
	border: 0;
	background: none;
	color: var(--bosla-color-text, #1d2327);
	min-inline-size: 2.1rem;
	min-block-size: 1.9rem;
	border-radius: 999px;
	cursor: pointer;
	font-size: 0.85rem;
	font-weight: 600;
}

.bosla-reader-btn:hover {
	background: var(--bosla-color-surface-raised, #f0f0f1);
}

.bosla-progress {
	position: fixed;
	inset-block-start: 0;
	inset-inline: 0;
	block-size: 3px;
	z-index: 9999;
	pointer-events: none;
	background: transparent;
}

.bosla-progress-fill {
	block-size: 100%;
	inline-size: 0;
	background: var(--bosla-color-accent, #3858e9);
}

html[data-bosla-fs="bosla-fs-1"] .bosla-entry-content { font-size: 1.075em; }
html[data-bosla-fs="bosla-fs-2"] .bosla-entry-content { font-size: 1.15em; }

html.bosla-high-contrast {
	--bosla-color-text: #000;
	--bosla-color-muted: #1d2327;
	--bosla-color-border: #56585b;
}

html.bosla-high-contrast .bosla-entry-content a {
	text-decoration: underline;
	text-underline-offset: 3px;
}
