.lm-article-reader {
	box-sizing: border-box;
	margin: 0 0 2rem;
	padding: 1rem 1.1rem;
	border: 1px solid var(--lm-rule, #d8d1c5);
	border-left: 3px solid var(--lm-oxblood, #70332f);
	background: var(--lm-white, #fff);
	color: var(--lm-ink, #272421);
	font-family: var(--lm-sans, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
	font-size: .82rem;
}

.lm-article-reader [hidden] {
	display: none !important;
}

.lm-article-reader__history {
	margin: -.15rem 0 .8rem;
	padding-bottom: .65rem;
	border-bottom: 1px solid var(--lm-rule, #d8d1c5);
	color: var(--lm-slate, #65615c);
	font-size: .7rem;
}

.lm-article-reader__history summary {
	display: inline-flex;
	align-items: center;
	gap: .3rem;
	color: var(--lm-slate, #65615c);
	cursor: pointer;
}

.lm-article-reader__history summary strong {
	color: var(--lm-oxblood, #70332f);
	font-weight: 700;
}

.lm-article-reader__history-actions {
	display: flex;
	flex-wrap: wrap;
	gap: .4rem;
	margin-top: .55rem;
}

.lm-article-reader__history-actions button,
.lm-article-reader__bookmark-add-note {
	padding: .24rem .45rem;
	border: 1px solid var(--lm-rule, #d8d1c5);
	background: transparent;
	color: var(--lm-ink, #272421);
	font: inherit;
	font-weight: 700;
	cursor: pointer;
}

.lm-article-reader__history-actions button:hover:not(:disabled),
.lm-article-reader__bookmark-add-note:hover {
	border-color: var(--lm-oxblood, #70332f);
	background: var(--lm-oxblood, #70332f);
	color: #fff;
}

.lm-article-reader__history-actions button:disabled {
	opacity: .45;
	cursor: not-allowed;
}

.lm-article-reader__header,
.lm-article-reader__buttons,
.lm-article-reader__settings,
.lm-article-reader__progress-wrap {
	display: flex;
	align-items: center;
	gap: .65rem;
}

.lm-article-reader__header {
	justify-content: space-between;
}

.lm-article-reader__kicker {
	margin: 0;
	color: var(--lm-oxblood, #70332f);
	font-size: .68rem;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.lm-article-reader__status,
.lm-article-reader__notice {
	margin: .2rem 0 0;
	color: var(--lm-slate, #65615c);
	font-size: .76rem;
}

.lm-article-reader__controls {
	margin-top: .9rem;
	padding-top: .9rem;
	border-top: 1px solid var(--lm-rule, #d8d1c5);
}

.lm-article-reader__mode-title {
	margin: 0 0 .65rem;
	color: var(--lm-oxblood, #70332f);
	font-size: .72rem;
	font-weight: 800;
	letter-spacing: .05em;
}

.lm-article-reader__resume {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: .8rem;
	margin-top: .85rem;
	padding: .7rem .8rem;
	border: 1px solid var(--lm-rule, #d8d1c5);
	border-left: 3px solid var(--lm-oxblood, #70332f);
	background: rgba(112, 51, 47, .06);
}

.lm-article-reader__resume p {
	margin: 0;
	font-weight: 700;
}

.lm-article-reader__resume > div {
	display: flex;
	gap: .4rem;
}

.lm-article-reader__buttons {
	flex-wrap: wrap;
}

.lm-article-reader__button {
	min-height: 38px;
	padding: .48rem .78rem;
	border: 1px solid var(--lm-ink, #272421);
	border-radius: 0;
	background: transparent;
	color: var(--lm-ink, #272421);
	font: inherit;
	font-weight: 600;
	cursor: pointer;
}

.lm-article-reader__button--primary {
	background: var(--lm-ink, #272421);
	color: #fff;
}

.lm-article-reader__button--stacked {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	gap: .22rem;
	min-width: 62px;
	min-height: 58px;
	padding: .42rem .62rem;
	line-height: 1.05;
	text-align: center;
}

.lm-article-reader__button-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 1.05rem;
	font-size: .86rem;
	font-weight: 800;
	line-height: 1;
}

.lm-article-reader__button-icon--mark {
	font-size: 1.12rem;
}

.lm-article-reader__button--toggle[aria-pressed="true"] {
	border-color: #000;
	background: #000;
	color: #fff;
	box-shadow: none;
}

.lm-article-reader__button:hover:not(:disabled) {
	border-color: var(--lm-oxblood, #70332f);
	background: var(--lm-oxblood, #70332f);
	color: #fff;
}

.lm-article-reader__button--toggle[aria-pressed="true"]:hover:not(:disabled),
.lm-article-reader__compact-button--follow[aria-pressed="true"]:hover:not(:disabled) {
	border-color: #000;
	background: #000;
	color: #fff;
}

.lm-article-reader__button:focus-visible,
.lm-article-reader__compact-button:focus-visible,
.lm-article-reader select:focus-visible,
.lm-article-reader__bookmarks-toggle:focus-visible,
.lm-article-reader__bookmark-link:focus-visible,
.lm-article-reader__bookmark-delete:focus-visible,
.lm-article-reader__delete-all:focus-visible,
.lm-article-reader__history summary:focus-visible,
.lm-article-reader__history-actions button:focus-visible,
.lm-article-reader__bookmark-add-note:focus-visible,
.lm-article-reader__bookmark-note:focus-visible,
.lm-article-reader__dialog-close:focus-visible {
	outline: 3px solid rgba(112, 51, 47, .24);
	outline-offset: 2px;
}

.lm-article-reader__button:disabled {
	opacity: .5;
	cursor: not-allowed;
}

.lm-article-reader__settings {
	display: grid;
	grid-template-columns: minmax(180px, 1fr) minmax(110px, .35fr);
	margin-top: .9rem;
}

.lm-article-reader__settings label {
	display: grid;
	gap: .3rem;
	margin: 0;
}

.lm-article-reader__settings label > span {
	color: var(--lm-slate, #65615c);
	font-size: .68rem;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.lm-article-reader select {
	width: 100%;
	min-height: 40px;
	padding: .45rem .55rem;
	border: 1px solid var(--lm-rule, #d8d1c5);
	border-radius: 0;
	background: #fff;
	color: var(--lm-ink, #272421);
	font: inherit;
}

.lm-article-reader__progress-wrap {
	margin-top: .9rem;
	width: 100%;
}

.lm-article-reader progress {
	flex: 1 1 auto;
	width: 100%;
	height: .48rem;
	accent-color: var(--lm-oxblood, #70332f);
}

.lm-article-reader__time {
	min-width: 2.8rem;
	color: var(--lm-slate, #65615c);
	font-size: .7rem;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

.lm-article-reader__time--position {
	min-width: 8.4rem;
	text-align: right;
}

.lm-article-reader__bookmarks {
	margin-top: .9rem;
	padding-top: .8rem;
	border-top: 1px solid var(--lm-rule, #d8d1c5);
}

.lm-article-reader__bookmarks-toggle {
	display: inline-flex;
	align-items: center;
	gap: .42rem;
	margin: 0;
	padding: .25rem 0;
	border: 0;
	background: transparent;
	color: var(--lm-oxblood, #70332f);
	font: inherit;
	font-size: .68rem;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	cursor: pointer;
}

.lm-article-reader__bookmarks-toggle:hover {
	text-decoration: underline;
}

.lm-article-reader__delta {
	display: inline-block;
	width: .85rem;
	font-size: .62rem;
	line-height: 1;
}

.lm-article-reader__bookmarks ul {
	display: grid;
	gap: .25rem;
	margin: .45rem 0 0;
	padding: 0;
	list-style: none;
}

.lm-article-reader__bookmarks li {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: .6rem;
	margin: 0;
	padding: .35rem 0;
	border-bottom: 1px solid color-mix(in srgb, var(--lm-rule, #d8d1c5) 65%, transparent);
}

.lm-article-reader__bookmark-main {
	display: grid;
	flex: 1 1 auto;
	gap: .32rem;
	min-width: 0;
}

.lm-article-reader__bookmark-link,
.lm-article-reader__bookmark-delete {
	padding: .15rem 0;
	border: 0;
	background: transparent;
	font: inherit;
	cursor: pointer;
}

.lm-article-reader__bookmark-link {
	min-width: 0;
	color: var(--lm-ink, #272421);
	text-align: left;
}

.lm-article-reader__bookmark-add-note {
	justify-self: start;
	padding: .17rem .38rem;
	color: var(--lm-oxblood, #70332f);
	font-size: .64rem;
	text-transform: uppercase;
}

.lm-article-reader__bookmark-note {
	box-sizing: border-box;
	width: 100%;
	min-height: 54px;
	max-height: 220px;
	padding: .48rem .55rem;
	resize: vertical;
	border: 1px solid var(--lm-rule, #d8d1c5);
	background: #fff;
	color: var(--lm-ink, #272421);
	font: inherit;
	font-size: .74rem;
	line-height: 1.45;
}

.lm-article-reader__bookmark-note-status {
	color: var(--lm-oxblood, #70332f);
	font-size: .62rem;
	font-weight: 700;
	text-transform: uppercase;
}

.lm-article-reader__bookmark-delete {
	flex: 0 0 auto;
	color: var(--lm-oxblood, #70332f);
	font-size: .68rem;
	font-weight: 700;
	text-transform: uppercase;
}

.lm-article-reader__bookmark-link:hover,
.lm-article-reader__bookmark-delete:hover {
	text-decoration: underline;
}

.lm-article-reader__bookmark-actions {
	display: flex;
	justify-content: flex-end;
	margin-top: .7rem;
}

.lm-article-reader__delete-all {
	padding: .35rem .55rem;
	border: 1px solid var(--lm-oxblood, #70332f);
	background: transparent;
	color: var(--lm-oxblood, #70332f);
	font: inherit;
	font-size: .68rem;
	font-weight: 700;
	text-transform: uppercase;
	cursor: pointer;
}

.lm-article-reader__delete-all:hover:not(:disabled) {
	background: var(--lm-oxblood, #70332f);
	color: #fff;
}

.lm-article-reader__delete-all:disabled {
	opacity: .5;
	cursor: not-allowed;
}

.lm-article-reader__feedback {
	margin: 0 0 .65rem;
	color: var(--lm-oxblood, #70332f);
	font-size: .72rem;
	font-weight: 700;
}

.lm-article-reader__compact {
	display: none;
}

.lm-article-reader.is-minimized {
	position: fixed;
	top: clamp(4.5rem, 18vh, 10rem);
	right: 1rem;
	bottom: auto;
	z-index: 9999;
	width: min(570px, calc(100vw - 2rem));
	margin: 0;
	padding: .55rem;
	border-left-width: 3px;
	background: rgba(112, 51, 47, .20);
	background: color-mix(in srgb, var(--lm-oxblood, #70332f) 20%, #fff);
	box-shadow: 0 12px 35px rgba(39, 36, 33, .22);
}

.lm-article-reader.is-minimized .lm-article-reader__header,
.lm-article-reader.is-minimized .lm-article-reader__history,
.lm-article-reader.is-minimized .lm-article-reader__resume,
.lm-article-reader.is-minimized .lm-article-reader__mode-title,
.lm-article-reader.is-minimized .lm-article-reader__buttons,
.lm-article-reader.is-minimized .lm-article-reader__settings,
.lm-article-reader.is-minimized .lm-article-reader__bookmarks {
	display: none;
}

.lm-article-reader.is-minimized .lm-article-reader__controls {
	margin: 0;
	padding: 0;
	border: 0;
}

.lm-article-reader.is-minimized .lm-article-reader__compact {
	display: block;
}

.lm-article-reader__compact-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: .75rem;
	margin-bottom: .42rem;
	padding: 0 .1rem 0 .35rem;
	color: var(--lm-ink, #272421);
	font-size: .76rem;
	font-weight: 700;
	letter-spacing: .03em;
}

.lm-article-reader__compact-controls,
.lm-article-reader__compact-speed {
	display: flex;
	align-items: center;
}

.lm-article-reader__compact-controls {
	justify-content: center;
	gap: .32rem;
}

.lm-article-reader__compact-speed {
	gap: .08rem;
	padding: .12rem;
	border-radius: 6px;
	background: rgba(112, 51, 47, .12);
	background: color-mix(in srgb, var(--lm-oxblood, #70332f) 12%, transparent);
}

.lm-article-reader__compact-rate-reset {
	min-width: 3.1rem;
	height: 32px;
	padding: 0 .28rem;
	border: 0;
	background: transparent;
	color: var(--lm-ink, #272421);
	font: inherit;
	font-size: .7rem;
	font-variant-numeric: tabular-nums;
	font-weight: 700;
	text-align: center;
	cursor: pointer;
}

.lm-article-reader__compact-rate-reset:hover {
	color: var(--lm-oxblood, #70332f);
	text-decoration: underline;
}

.lm-article-reader__compact-rate-reset:focus-visible {
	outline: 3px solid rgba(112, 51, 47, .24);
	outline-offset: 1px;
}

.lm-article-reader__compact-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 36px;
	height: 36px;
	padding: .25rem .38rem;
	border: 1px solid var(--lm-rule, #d8d1c5);
	border-radius: 5px;
	background: #fff;
	color: var(--lm-ink, #272421);
	font: inherit;
	font-size: .9rem;
	font-weight: 700;
	line-height: 1;
	cursor: pointer;
}

.lm-article-reader__compact-button:hover:not(:disabled) {
	border-color: var(--lm-oxblood, #70332f);
	background: var(--lm-oxblood, #70332f);
	color: #fff;
}

.lm-article-reader__compact-button:disabled {
	opacity: .42;
	cursor: not-allowed;
}

.lm-article-reader__compact-button--primary {
	border-color: var(--lm-ink, #272421);
	background: var(--lm-ink, #272421);
	color: #fff;
}

.lm-article-reader__compact-button--seek {
	gap: .16rem;
	min-width: 46px;
	font-size: .76rem;
}

.lm-article-reader__compact-button--seek small {
	font-size: .6rem;
	font-weight: 800;
}

.lm-article-reader__compact-button--seek span {
	font-size: .82rem;
}

.lm-article-reader__compact-button--mark {
	font-size: 1.2rem;
}

.lm-article-reader__compact-button--follow[aria-pressed="true"] {
	border-color: #000;
	background: #000;
	color: #fff;
	box-shadow: none;
}

.lm-article-reader__compact-close {
	min-width: 30px;
	height: 30px;
	border: 0;
	background: transparent;
	font-size: 1.35rem;
	font-weight: 400;
}

.lm-article-reader__compact-divider {
	width: 1px;
	height: 26px;
	margin: 0 .05rem;
	background: var(--lm-rule, #d8d1c5);
}

.lm-article-reader__stop-icon {
	display: block;
	width: 13px;
	height: 13px;
	background: currentColor;
}

.lm-article-reader.is-minimized .lm-article-reader__progress-wrap {
	margin-top: .48rem;
	gap: .35rem;
}

.lm-article-reader.is-minimized .lm-article-reader__feedback {
	margin: 0 0 .4rem;
	font-size: .68rem;
}

body.lm-reader-modal-open {
	overflow: hidden;
}

.lm-article-reader__modal {
	position: fixed;
	inset: 0;
	z-index: 10050;
	display: grid;
	place-items: center;
	padding: 1rem;
}

.lm-article-reader__modal[hidden] {
	display: none;
}

.lm-article-reader__modal-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(39, 36, 33, .72);
}

.lm-article-reader__dialog {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	width: min(760px, calc(100vw - 2rem));
	max-height: min(82vh, 760px);
	border: 1px solid var(--lm-rule, #d8d1c5);
	border-top: 4px solid var(--lm-oxblood, #70332f);
	background: #fff;
	box-shadow: 0 24px 70px rgba(0, 0, 0, .28);
}

.lm-article-reader__dialog--complete {
	width: min(560px, calc(100vw - 2rem));
}

.lm-article-reader__dialog-header,
.lm-article-reader__dialog-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 1rem 1.2rem;
}

.lm-article-reader__dialog-header {
	border-bottom: 1px solid var(--lm-rule, #d8d1c5);
}

.lm-article-reader__dialog-header h2 {
	margin: 0;
	font-family: var(--lm-serif, Georgia, serif);
	font-size: 1.35rem;
	font-weight: 700;
}

.lm-article-reader__dialog-close {
	min-width: 36px;
	height: 36px;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--lm-ink, #272421);
	font: inherit;
	font-size: 1.65rem;
	line-height: 1;
	cursor: pointer;
}

.lm-article-reader__dialog-content {
	overflow: auto;
	padding: 1.1rem 1.2rem;
	font-size: .86rem;
	line-height: 1.55;
}

.lm-article-reader__dialog-content h3 {
	margin: 1.15rem 0 .3rem;
	color: var(--lm-oxblood, #70332f);
	font-size: .8rem;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
}

.lm-article-reader__dialog-content h3:first-of-type {
	margin-top: .75rem;
}

.lm-article-reader__dialog-content p,
.lm-article-reader__dialog-content ul {
	margin: 0 0 .75rem;
}

.lm-article-reader__dialog-content li + li {
	margin-top: .35rem;
}

.lm-article-reader__help-list {
	padding-left: 1.25rem;
	list-style: disc outside;
}

.lm-article-reader__help-list li {
	padding-left: .12rem;
}

.lm-article-reader__help-list em {
	color: var(--lm-ink, #272421);
	font-weight: 600;
}

.lm-article-reader__help-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 1.35rem;
	margin-inline: .12rem;
	padding: .08rem .3rem;
	border-radius: 3px;
	background: rgba(112, 51, 47, .10);
	color: var(--lm-oxblood, #70332f);
	font-size: .72rem;
	font-style: normal;
	font-weight: 700;
	line-height: 1;
	white-space: nowrap;
}

.lm-article-reader__help-icon--mark {
	font-size: .9rem;
}

.lm-article-reader__help-version {
	margin: 1.25rem 0 0 !important;
	color: var(--lm-slate, #65615c);
	font-size: .65rem;
	font-variant-numeric: tabular-nums;
	letter-spacing: .04em;
	text-align: right;
}

.lm-article-reader__dialog-footer {
	justify-content: flex-end;
	border-top: 1px solid var(--lm-rule, #d8d1c5);
}

.entry-content .lm-reader-current {
	margin-inline: -.45rem;
	padding-inline: .45rem;
	background: rgba(112, 51, 47, .07);
	box-shadow: inset 3px 0 var(--lm-oxblood, #70332f);
}

.lm-reader-inline-mark {
	position: relative;
	display: inline-block;
	width: .95em;
	height: 1em;
	margin: 0 .06em;
	padding: 0;
	transform: translateY(-.42em);
	border: 0;
	background: transparent;
	color: var(--lm-oxblood, #70332f);
	font: inherit;
	font-size: .68em;
	line-height: 1;
	vertical-align: baseline;
	cursor: pointer;
	user-select: none;
}

.lm-reader-inline-mark::before {
	content: "◆";
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
}

.lm-reader-inline-mark::after {
	content: "";
	position: absolute;
	inset: -.38rem;
}

.lm-reader-inline-mark:hover {
	color: var(--lm-ink, #272421);
}

.lm-reader-inline-mark:focus-visible {
	outline: 2px solid var(--lm-oxblood, #70332f);
	outline-offset: 3px;
}

@media (max-width: 560px) {
	.lm-article-reader__header {
		align-items: flex-start;
		flex-direction: column;
	}

	.lm-article-reader__settings {
		grid-template-columns: 1fr;
	}

	.lm-article-reader__progress-wrap {
		gap: .45rem;
	}

	.lm-article-reader__resume {
		align-items: flex-start;
		flex-direction: column;
	}

	.lm-article-reader.is-minimized {
		top: 4.5rem;
		right: .5rem;
		bottom: auto;
		width: calc(100vw - 1rem);
	}

	.lm-article-reader.is-minimized .lm-article-reader__buttons {
		flex-wrap: wrap;
	}

	.lm-article-reader__compact-controls {
		flex-wrap: wrap;
	}

	.lm-article-reader__compact-divider {
		display: none;
	}

	.lm-article-reader__dialog {
		max-height: calc(100vh - 2rem);
	}
}

/* Transport refinements introduced in 0.3.20. */
.lm-article-reader__reader-heading {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: .48rem;
}

.lm-article-reader__reader-heading .lm-article-reader__mode-title {
	display: inline-flex;
	align-items: center;
	gap: .42rem;
	margin: 0;
}

.lm-article-reader__reader-heading img {
	display: block;
	width: 25px;
	height: 25px;
	object-fit: contain;
}

.lm-article-reader__heading-percent {
	margin-left: auto;
	color: var(--lm-oxblood, #70332f);
	font-size: .72rem;
	font-variant-numeric: tabular-nums;
	font-weight: 800;
}

.lm-article-reader__control-grid {
	grid-template-columns: repeat(5, 44px);
	gap: 0;
	width: 220px;
}

.lm-article-reader__control-item {
	width: 44px;
	gap: .16rem;
}

.lm-article-reader__control {
	border-radius: 6px;
}

.lm-article-reader__control-icon {
	width: 22px;
	height: 22px;
	font-size: 0;
	line-height: 0;
	letter-spacing: 0;
}

.lm-article-reader__control-icon svg {
	display: block;
	width: 18px;
	height: 18px;
	overflow: visible;
	fill: currentColor;
}

.lm-article-reader__control--mark .lm-article-reader__control-icon,
.lm-article-reader__control--mark .lm-article-reader__control-icon svg {
	width: 23px;
	height: 23px;
}

.lm-article-reader__control--mark { position: relative; }

.lm-article-reader__mark-count {
	position: absolute;
	top: -4px;
	right: -4px;
	display: inline-grid;
	place-items: center;
	min-width: 14px;
	height: 14px;
	padding: 0 3px;
	border: 1px solid #fff;
	border-radius: 999px;
	background: var(--lm-oxblood, #70332f);
	color: #fff;
	font-size: 8px;
	font-weight: 850;
	letter-spacing: 0;
	line-height: 1;
	pointer-events: none;
}

.lm-article-reader__mark-count[hidden] { display: none; }

.lm-article-reader__control-icon--more svg {
	width: 21px;
	height: 21px;
}

.lm-article-reader__more-view-icon {
	display: inline-grid;
	place-items: center;
	width: 1.25rem;
	height: 1.25rem;
}

.lm-article-reader__more-view-icon svg {
	display: block;
	width: 17px;
	height: 17px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.lm-article-reader progress {
	height: .34rem;
}

.lm-article-reader__mini-percent {
	display: none;
}

.lm-article-reader.is-minimized .lm-article-reader__reader-heading {
	display: none;
}

.lm-article-reader.is-minimized .lm-article-reader__control-grid {
	grid-template-columns: repeat(5, 44px);
	gap: 0;
	width: 220px;
	margin-inline: auto;
}

.lm-article-reader.is-minimized .lm-article-reader__mini-percent {
	display: inline;
}

@media (max-width: 560px) {
	.lm-article-reader__control-grid--expanded {
		width: 220px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.entry-content .lm-reader-current {
		scroll-behavior: auto;
	}
}

@media print {
	.lm-reader-inline-mark {
		display: none !important;
	}
}

/* Compact five-control system introduced in 0.3.19. */
.lm-article-reader {
	padding: .78rem .9rem;
}

.lm-article-reader__controls {
	position: relative;
	margin-top: .7rem;
	padding-top: .7rem;
}

.lm-article-reader__mode-title,
.lm-article-reader__compact-title {
	margin: 0 0 .45rem;
	color: var(--lm-oxblood, #70332f);
	font-size: .68rem;
	font-weight: 800;
	letter-spacing: .05em;
}

.lm-article-reader__compact-title {
	display: none;
}

.lm-article-reader__control-grid {
	display: grid;
	grid-template-columns: repeat(5, minmax(44px, 1fr));
	align-items: start;
	gap: .42rem;
	width: min(100%, 350px);
}

.lm-article-reader__control-item {
	display: grid;
	justify-items: center;
	gap: .18rem;
	min-width: 0;
}

.lm-article-reader__control {
	display: inline-grid;
	place-items: center;
	box-sizing: border-box;
	width: 44px;
	height: 44px;
	min-width: 44px;
	min-height: 44px;
	padding: 0;
	border: 1.5px solid var(--lm-oxblood, #70332f);
	border-radius: 50%;
	background: #fff;
	color: var(--lm-oxblood, #70332f);
	font: inherit;
	cursor: pointer;
	touch-action: manipulation;
	-webkit-tap-highlight-color: transparent;
}

.lm-article-reader__control-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: .74rem;
	font-weight: 900;
	line-height: 1;
	letter-spacing: -.12em;
}

.lm-article-reader__control--mark .lm-article-reader__control-icon {
	font-size: 1.03rem;
	letter-spacing: 0;
}

.lm-article-reader__control-icon--more {
	font-size: 1rem;
	letter-spacing: .04em;
	transform: translateY(-.08em);
}

.lm-article-reader__control-label {
	color: var(--lm-oxblood, #70332f);
	font-size: .62rem;
	font-weight: 750;
	line-height: 1;
	text-align: center;
}

.lm-article-reader__control-label--blank {
	visibility: hidden;
}

.lm-article-reader__control-item:has(.lm-article-reader__control[aria-pressed="true"]) .lm-article-reader__control-label,
.lm-article-reader__control-item:has(.lm-article-reader__control.is-activated) .lm-article-reader__control-label {
	padding: .12rem .24rem;
	border-radius: 2px;
	background: var(--lm-oxblood, #70332f);
	color: #fff;
}

.lm-article-reader__control:hover:not(:disabled) {
	background: rgba(112, 51, 47, .08);
	background: color-mix(in srgb, var(--lm-oxblood, #70332f) 8%, #fff);
}

.lm-article-reader__control:active:not(:disabled) {
	border-color: var(--lm-oxblood, #70332f);
	background: var(--lm-oxblood, #70332f);
	color: #fff;
}

.lm-article-reader__control[aria-pressed="true"],
.lm-article-reader__control[aria-expanded="true"],
.lm-article-reader__control.is-activated,
.lm-article-reader__more-action[aria-pressed="true"],
.lm-article-reader__help-modes button[aria-pressed="true"] {
	border-color: var(--lm-oxblood, #70332f);
	background: var(--lm-oxblood, #70332f);
	color: #fff;
}

.lm-article-reader__control:disabled {
	border-color: #aaa49d;
	background: #f2f0ed;
	color: #8a8580;
	opacity: 1;
	cursor: not-allowed;
}

.lm-article-reader__control:focus-visible,
.lm-article-reader__more-action:focus-visible,
.lm-article-reader__more-setting select:focus-visible,
.lm-article-reader__help-modes button:focus-visible {
	outline: 0;
	outline-offset: 0;
}

.lm-article-reader__more {
	box-sizing: border-box;
	width: min(100%, 430px);
	margin-top: .55rem;
	border: 1px solid var(--lm-rule, #d8d1c5);
	border-top: 3px solid var(--lm-oxblood, #70332f);
	background: #fff;
	box-shadow: 0 10px 28px rgba(39, 36, 33, .16);
}

.lm-article-reader__more-action,
.lm-article-reader__more-setting {
	display: grid;
	grid-template-columns: 1.25rem minmax(0, 1fr) auto;
	align-items: center;
	box-sizing: border-box;
	width: 100%;
	min-height: 44px;
	margin: 0;
	padding: .5rem .7rem;
	border: 0;
	border-bottom: 1px solid var(--lm-rule, #d8d1c5);
	background: #fff;
	color: var(--lm-oxblood, #70332f);
	font: inherit;
	font-size: .74rem;
	font-weight: 750;
	text-align: left;
}

.lm-article-reader__more-action {
	cursor: pointer;
}

.lm-article-reader__more-action:hover:not(:disabled) {
	background: rgba(112, 51, 47, .08);
}

.lm-article-reader__more-action:disabled {
	background: #f2f0ed;
	color: #8a8580;
	cursor: not-allowed;
}

.lm-article-reader__more-state {
	font-variant-numeric: tabular-nums;
}

.lm-article-reader__more-setting {
	grid-template-columns: 1.25rem minmax(4.5rem, .35fr) minmax(0, 1fr);
	gap: 0;
	position: relative;
	cursor: pointer;
}

.lm-article-reader__more-setting > span:first-child {
	grid-column: 2;
}

.lm-article-reader__more-setting select {
	grid-column: 3;
	min-width: 0;
	min-height: 34px;
	padding: .25rem 1.2rem .25rem .55rem;
	border: 0;
	border-radius: 0;
	-webkit-appearance: none;
	appearance: none;
	background: transparent;
	box-shadow: none;
	color: var(--lm-oxblood, #70332f);
	font-size: .72rem;
	font-weight: 750;
	cursor: pointer;
}

.lm-article-reader__more-setting::after {
	content: "▾";
	position: absolute;
	right: .72rem;
	top: 50%;
	color: var(--lm-oxblood, #70332f);
	font-size: .72rem;
	line-height: 1;
	pointer-events: none;
	transform: translateY(-50%);
}

.lm-article-reader__more > :last-child {
	border-bottom: 0;
}

.lm-article-reader__progress-wrap {
	margin-top: .65rem;
}

.lm-article-reader__bookmarks {
	margin-top: .65rem;
	padding-top: .6rem;
}

.lm-article-reader.is-minimized {
	top: clamp(4.5rem, 14vh, 8rem);
	right: .75rem;
	width: min(310px, calc(100vw - 1.5rem));
	padding: .55rem .62rem;
	background: #fff;
}

.lm-article-reader.is-minimized .lm-article-reader__compact-title {
	display: block;
}

.lm-article-reader.is-minimized .lm-article-reader__control-grid {
	width: 100%;
	gap: .28rem;
}

.lm-article-reader.is-minimized .lm-article-reader__control-grid--expanded {
	display: none;
}

.lm-article-reader.is-minimized .lm-article-reader__more {
	position: absolute;
	top: 66px;
	right: 0;
	z-index: 2;
	width: min(300px, calc(100vw - 1.5rem));
	max-height: min(420px, calc(100vh - 6rem));
	margin: 0;
	overflow: auto;
}

.lm-article-reader.is-minimized .lm-article-reader__progress-wrap {
	margin-top: .42rem;
}

.lm-article-reader__help-modes {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: .45rem;
	margin-bottom: 1rem;
}

.lm-article-reader__help-modes button {
	min-height: 42px;
	padding: .45rem .7rem;
	border: 1.5px solid var(--lm-oxblood, #70332f);
	background: #fff;
	color: var(--lm-oxblood, #70332f);
	font: inherit;
	font-size: .72rem;
	font-weight: 800;
	letter-spacing: .08em;
	cursor: pointer;
}

.lm-article-reader__help-grid,
.lm-article-reader__help-definitions {
	display: grid;
	gap: 0;
	margin: 0 0 1rem;
}

.lm-article-reader__help-grid > div,
.lm-article-reader__help-definitions > div {
	display: grid;
	grid-template-columns: minmax(115px, .38fr) minmax(0, 1fr);
	gap: .7rem;
	padding: .58rem 0;
	border-bottom: 1px solid var(--lm-rule, #d8d1c5);
}

.lm-article-reader__help-grid dt,
.lm-article-reader__help-definitions dt {
	color: var(--lm-oxblood, #70332f);
	font-weight: 800;
}

.lm-article-reader__help-grid dd,
.lm-article-reader__help-definitions dd {
	margin: 0;
}

.lm-article-reader__help-state-key {
	padding: .65rem .75rem;
	border-left: 3px solid var(--lm-oxblood, #70332f);
	background: rgba(112, 51, 47, .06);
}

.lm-article-reader__help-version span {
	font-variant-numeric: tabular-nums;
}

@media (max-width: 560px) {
	.lm-article-reader__control-grid--expanded {
		width: 100%;
	}

	.lm-article-reader__time--start {
		display: none;
	}

	.lm-article-reader__time--position {
		min-width: 7.7rem;
	}

	.lm-article-reader__help-grid > div,
	.lm-article-reader__help-definitions > div {
		grid-template-columns: 1fr;
		gap: .2rem;
	}
}

/*
 * Final transport lock introduced in 0.3.21.
 *
 * These declarations intentionally follow every legacy Reader rule. Version
 * 0.3.20 placed its transport refinements before the 0.3.19 compatibility
 * block, allowing the later circular-button declarations to win in the CSS
 * cascade. Keeping the definitive geometry last makes the full and Mini
 * Readers agree on every browser, including iOS Safari.
 */
.lm-article-reader {
	max-width: 100%;
	min-width: 0;
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
}

.lm-article-reader__control-grid,
.lm-article-reader.is-minimized .lm-article-reader__control-grid,
.lm-article-reader__control-grid--expanded {
	grid-template-columns: repeat(5, 44px);
	gap: 0;
	width: 220px;
	max-width: 100%;
}

.lm-article-reader__control-item {
	width: 44px;
	gap: .16rem;
}

.lm-article-reader__control {
	border-radius: 6px;
}

.lm-article-reader__control-icon {
	width: 22px;
	height: 22px;
	font-size: 0;
	font-variant-emoji: text;
	line-height: 0;
	letter-spacing: 0;
}

.lm-article-reader__control-icon svg {
	display: block;
	width: 18px;
	height: 18px;
	overflow: visible;
	fill: currentColor;
}

.lm-article-reader__control--mark .lm-article-reader__control-icon,
.lm-article-reader__control--mark .lm-article-reader__control-icon svg {
	width: 23px;
	height: 23px;
}

.lm-article-reader__control-icon--more svg {
	width: 21px;
	height: 21px;
}

.lm-article-reader.is-minimized {
	width: min(310px, calc(100vw - 1.5rem));
}

.lm-article-reader.is-minimized .lm-article-reader__control-grid {
	margin-inline: auto;
}

@media (max-width: 560px) {
	.lm-article-reader__control-grid,
	.lm-article-reader.is-minimized .lm-article-reader__control-grid,
	.lm-article-reader__control-grid--expanded {
		grid-template-columns: repeat(5, 44px);
		width: 220px;
	}
}

/* Responsive transport sizing introduced in 0.3.22. */
.lm-article-reader__control-grid--expanded,
.lm-article-reader.is-minimized .lm-article-reader__control-grid {
	grid-template-columns: repeat(5, minmax(0, 1fr));
	width: min(220px, 100%);
}

.lm-article-reader.is-minimized .lm-article-reader__control-grid {
	width: 100%;
}

/* Speaker-icon collapse introduced in 0.3.23. */
.lm-article-reader__speaker-toggle {
	display: none;
}

.lm-article-reader__more-action--speaker {
	display: none;
}

.lm-article-reader.is-minimized .lm-article-reader__more-action--speaker {
	display: grid;
}

.lm-article-reader__more-action--speaker svg {
	fill: currentColor;
}

.lm-article-reader__more-view-icon--speaker,
.lm-article-reader__more-view-icon--speaker svg {
	width: 18px;
	height: 18px;
}

.lm-article-reader__more-action--speaker svg path + path {
	fill: none;
	stroke: currentColor;
	stroke-width: 2.2;
	stroke-linecap: round;
}

.lm-article-reader__help-grid--keys,
.lm-article-reader__help-definitions--keys {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: 1.2rem;
}

.lm-article-reader__help-grid--keys > div,
.lm-article-reader__help-definitions--keys > div {
	grid-template-columns: minmax(72px, .32fr) minmax(0, 1fr);
}

.lm-article-reader__speaker-toggle {
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: var(--lm-oxblood, #70332f);
	box-shadow: none;
	cursor: pointer;
}

.lm-article-reader.is-minimized .lm-article-reader__speaker-toggle {
	position: absolute;
	top: .08rem;
	right: .08rem;
	display: flex;
}

.lm-article-reader.is-minimized .lm-article-reader__compact-title {
	display: flex;
	align-items: center;
	min-height: 30px;
	margin-bottom: .3rem;
	padding-right: 2.1rem;
}

.lm-article-reader__speaker-toggle:hover,
.lm-article-reader__speaker-toggle:focus-visible {
	color: var(--lm-oxblood, #70332f);
}

.lm-article-reader__speaker-toggle:focus-visible {
	outline: 0;
	outline-offset: 0;
}

.lm-article-reader__speaker-icon,
.lm-article-reader__speaker-icon svg {
	display: block;
	width: 18px;
	height: 18px;
}

.lm-article-reader__speaker-icon svg {
	overflow: visible;
	fill: currentColor;
}

.lm-article-reader__speaker-icon .lm-article-reader__speaker-wave {
	fill: none;
	stroke: currentColor;
	stroke-width: 2.2;
	stroke-linecap: round;
}

.lm-article-reader__help-speaker,
.lm-article-reader__help-speaker svg {
	display: inline-block;
	width: 16px;
	height: 16px;
	vertical-align: -.18em;
}

.lm-article-reader__help-speaker {
	color: var(--lm-oxblood, #70332f);
}

.lm-article-reader__help-speaker svg {
	fill: currentColor;
}

.lm-article-reader__help-speaker svg path + path {
	fill: none;
	stroke: currentColor;
	stroke-width: 2.2;
	stroke-linecap: round;
}

.lm-article-reader.is-icon-collapsed {
	width: 44px;
	padding: 0;
	border: 0;
	background: transparent;
	box-shadow: none;
}

.lm-article-reader.is-icon-collapsed .lm-article-reader__controls > :not(.lm-article-reader__speaker-toggle) {
	display: none;
}

.lm-article-reader.is-icon-collapsed .lm-article-reader__speaker-toggle {
	position: static;
	display: flex;
	width: 44px;
	height: 44px;
}

/* Boxless keyboard focus treatment introduced in 0.3.30. */
.lm-article-reader :is(button, a[href], select, textarea, summary, [tabindex]):focus-visible,
.lm-reader-inline-mark:focus-visible {
	outline: 0 !important;
	outline-offset: 0 !important;
	box-shadow: none !important;
	filter: brightness(.92);
}

.lm-article-reader__speaker-toggle:focus-visible,
.lm-reader-inline-mark:focus-visible {
	transform: scale(1.1);
}

.lm-article-reader.is-icon-collapsed .lm-article-reader__speaker-icon,
.lm-article-reader.is-icon-collapsed .lm-article-reader__speaker-icon svg {
	width: 22px;
	height: 22px;
}

.lm-article-reader.is-icon-collapsed .lm-article-reader__controls {
	overflow: visible;
}

@media (max-width: 560px) {
	.lm-article-reader.is-icon-collapsed {
		right: .35rem;
		width: 44px;
	}

	.lm-article-reader__help-grid--keys,
	.lm-article-reader__help-definitions--keys {
		grid-template-columns: 1fr;
	}
}

.lm-article-reader__control-grid--expanded .lm-article-reader__control-item {
	width: 100%;
}

.lm-article-reader__control-grid--expanded .lm-article-reader__control,
.lm-article-reader.is-minimized .lm-article-reader__control {
	width: min(44px, 100%);
	height: auto;
	min-width: 0;
	min-height: 0;
	aspect-ratio: 1;
}

/* 0.3.35 desktop collapsed-Speaker hover affordance */
@media (hover: hover) and (pointer: fine) {
	.lm-article-reader.is-minimized.is-icon-collapsed .lm-article-reader__speaker-toggle {
		transition: transform .14s ease, filter .14s ease;
	}
	.lm-article-reader.is-minimized.is-icon-collapsed .lm-article-reader__speaker-toggle:hover {
		transform: scale(1.07);
		filter: brightness(.92);
	}
}

/* 0.3.36 Sleep state */
.lm-article-reader.is-sleep-active .lm-article-reader__speaker-toggle,
.lm-article-reader.is-sleep-active .lm-article-reader__speaker-icon,
.lm-article-reader.is-sleep-active .lm-article-reader__speaker-icon svg,
.lm-article-reader.is-sleep-active .lm-article-reader__more-action--speaker {
	color: #2563a6 !important;
}
.lm-article-reader.is-sleep-active .lm-article-reader__speaker-icon svg {
	fill: currentColor;
}
.lm-article-reader.is-sleep-active .lm-article-reader__speaker-icon svg path + path {
	fill: none;
	stroke: currentColor;
}

/* 0.3.37 Sleep row refinement */
.lm-article-reader__more-setting--sleep .lm-article-reader__sleep-value {
	display: inline-flex;
	align-items: center;
	justify-content: flex-end;
	gap: .35rem;
	min-width: 0;
}
.lm-article-reader__more-setting--sleep .lm-article-reader__sleep-countdown {
	color: #2563a6;
	font-weight: 700;
	white-space: nowrap;
}
.lm-article-reader__more-setting--sleep select {
	min-width: 0;
}

/* 0.3.39 More-setting spacing refinement */
.lm-article-reader__more-setting {
	grid-template-columns: 1.25rem 4rem minmax(0, 1fr);
}
.lm-article-reader__more-setting select {
	padding-left: .2rem;
	padding-right: 1.55rem;
}
.lm-article-reader__more-setting--sleep .lm-article-reader__sleep-value {
	justify-content: flex-start;
	padding-right: 1.55rem;
}
.lm-article-reader__more-setting--sleep .lm-article-reader__sleep-value select {
	flex: 0 1 auto;
	width: auto;
	max-width: calc(100% - 4.5rem);
	padding-right: .35rem;
}


/* 0.3.40 Mini Reader More fit + completed-choice collapse support */
.lm-article-reader.is-minimized .lm-article-reader__more {
	top: 58px;
	max-height: calc(100dvh - clamp(4.5rem, 14vh, 8rem) - 4.25rem);
}
.lm-article-reader.is-minimized .lm-article-reader__more-action,
.lm-article-reader.is-minimized .lm-article-reader__more-setting {
	min-height: 34px;
	padding-top: .22rem;
	padding-bottom: .22rem;
}
.lm-article-reader.is-minimized .lm-article-reader__more-setting select {
	min-height: 28px;
	padding-top: .08rem;
	padding-bottom: .08rem;
}


/* 0.3.41 Speed + Pitch row */
.lm-article-reader__more-setting--speed-pitch { display:grid; grid-template-columns:1.25rem minmax(0,1fr) minmax(0,1fr); gap:.45rem; padding-right:.7rem; }
.lm-article-reader__more-setting--speed-pitch::after { content:none; }
.lm-article-reader__inline-setting { display:grid; grid-template-columns:auto minmax(0,1fr); align-items:center; gap:.3rem; min-width:0; color:var(--lm-oxblood,#70332f); }
.lm-article-reader__inline-setting:first-child { grid-column:2; }
.lm-article-reader__inline-setting:last-child { grid-column:3; }
.lm-article-reader__inline-setting select { grid-column:auto; width:100%; min-width:0; padding-left:.12rem; padding-right:.75rem; }

/* 0.3.41 User Reader Settings dashboard */
.lm-reader-settings { max-width:760px; margin:2rem auto; padding:1.35rem; border-top:4px solid #70332f; background:#fff; box-shadow:0 10px 30px rgba(39,36,33,.12); }
.lm-reader-settings__header h2 { margin-top:0; }
.lm-reader-settings__grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1rem; margin-top:1.2rem; }
.lm-reader-settings__grid label { display:grid; gap:.35rem; font-weight:700; color:#70332f; }
.lm-reader-settings__grid select, .lm-reader-settings__grid input[type="range"] { width:100%; }
.lm-reader-settings__pitch { grid-column:1/-1; }
.lm-reader-settings__actions { display:flex; flex-wrap:wrap; gap:.65rem; margin-top:1rem; }
.lm-reader-settings__status { margin-bottom:0; font-size:.92rem; }
@media (max-width:620px) { .lm-reader-settings__grid { grid-template-columns:1fr; } .lm-reader-settings__pitch { grid-column:auto; } }
.lm-article-reader__inline-setting { position:relative; }
.lm-article-reader__inline-setting::after { content:"▾"; position:absolute; right:.12rem; top:50%; transform:translateY(-50%); font-size:.68rem; pointer-events:none; }
.lm-article-reader__inline-setting select { padding-right:.8rem; }


/* 0.3.42 More order/alignment and Sleep delta normalization */
.lm-article-reader__more-setting--sleep > span:first-child {
	grid-column: 2;
	justify-self: start;
	margin: 0;
	padding: 0;
}
.lm-article-reader__more-setting--sleep .lm-article-reader__sleep-value {
	grid-column: 3;
	width: 100%;
	padding-right: 1.55rem;
	position: relative;
}
.lm-article-reader__more-setting--sleep::after {
	right: .72rem;
}


/* 0.3.43 single LeMAR Reader test architecture */
.lm-article-reader.is-minimized {
	width: min(330px, calc(100vw - 1.5rem));
}
.lm-article-reader.is-minimized .lm-article-reader__compact-title {
	margin: 0 0 .2rem;
	padding-right: 2.1rem;
	color: var(--lm-oxblood, #70332f);
	font-size: .76rem;
	font-weight: 800;
	letter-spacing: .04em;
}
.lm-article-reader__progress-wrap--lemar {
	display: grid;
	grid-template-columns: auto minmax(0,1fr) auto;
	grid-template-areas:
		"elapsed bar percent"
		"remaining remaining remaining";
	gap: .12rem .42rem;
	align-items: center;
	margin: .15rem 0 .38rem !important;
}
.lm-article-reader__progress-wrap--lemar .lm-article-reader__time--start { grid-area: elapsed; }
.lm-article-reader__progress-wrap--lemar progress { grid-area: bar; width:100%; min-width:0; }
.lm-article-reader__progress-wrap--lemar .lm-article-reader__mini-percent { grid-area: percent; display:block !important; min-width:2.4rem; text-align:right; font-size:.7rem; font-weight:800; color:var(--lm-oxblood,#70332f); }
.lm-article-reader__progress-wrap--lemar .lm-article-reader__time--remaining { grid-area: remaining; justify-self:end; font-size:.66rem; color:var(--lm-slate,#65615c); }
.lm-article-reader.is-minimized .lm-article-reader__progress-wrap--lemar { display:grid; }

/* The Expanded Reader remains in the source during 0.3.43 testing but has no UI path. */
.lm-article-reader [data-lm-reader-view-toggle] { display:none !important; }

/* Marks: capture silently from the diamond; review/manage deliberately in More. */
.lm-article-reader__bookmarks--more {
	margin: 0;
	padding: 0;
	border-bottom: 1px solid var(--lm-rule,#d8d1c5);
}
.lm-article-reader__bookmarks--more .lm-article-reader__bookmarks-toggle {
	width:100%;
	min-height:34px;
	padding:.22rem .7rem;
	border:0;
	background:transparent;
	color:var(--lm-oxblood,#70332f);
	font:inherit;
	font-weight:750;
	text-align:left;
	cursor:pointer;
}
.lm-article-reader__bookmarks--more [data-lm-reader-bookmarks-panel] {
	padding:.25rem .7rem .55rem 2.35rem;
}

/* Normalize the left edge of Voice, Speed, Sleep, Help and Close Reader. */
.lm-article-reader__more-setting--speed-pitch {
	grid-template-columns: 1.25rem minmax(0,1fr) minmax(0,1fr);
	padding-left: .7rem;
}
.lm-article-reader.is-minimized .lm-article-reader__bookmarks--more { display:block !important; }
.lm-article-reader__more-setting--speed-pitch .lm-article-reader__inline-setting:first-child {
	grid-column: 2;
	margin-left: 0;
}
.lm-article-reader__more-setting--sleep > span:first-child,
.lm-article-reader__more-setting > span:first-child {
	justify-self:start;
}

.lm-article-reader.is-minimized .lm-article-reader__more-setting--speed-pitch { padding-left:.7rem; }
.lm-article-reader__more-setting--speed-pitch .lm-article-reader__inline-setting:first-child { transform:translateX(0); }

/* 0.3.45 single-reader polish */
.lm-article-reader.is-minimized .lm-article-reader__compact { position:relative; }
.lm-article-reader__title-collapse { position:absolute; top:.1rem; right:.18rem; z-index:4; width:28px; height:24px; padding:0; border:0; background:transparent; color:var(--lm-oxblood,#70332f); font:inherit; font-size:1.1rem; font-weight:800; line-height:1; cursor:pointer; }
.lm-article-reader__progress-wrap--lemar { display:block; margin:.12rem 0 .38rem !important; }
.lm-article-reader__progress-wrap--lemar progress { display:block; width:100%; min-width:0; }
.lm-article-reader__progress-meta { display:flex; align-items:baseline; justify-content:space-between; gap:.5rem; margin-top:.08rem; font-size:.68rem; line-height:1.2; color:var(--lm-slate,#65615c); }
.lm-article-reader__progress-meta-right { margin-left:auto; white-space:nowrap; }
.lm-article-reader__progress-wrap--lemar .lm-article-reader__time--start,.lm-article-reader__progress-wrap--lemar .lm-article-reader__progress-meta-right .lm-article-reader__time,.lm-article-reader__progress-slash { color:var(--lm-slate,#65615c); }
.lm-article-reader__progress-wrap--lemar .lm-article-reader__mini-percent { display:inline !important; min-width:0; color:var(--lm-oxblood,#70332f); font-size:inherit; font-weight:800; }
.lm-article-reader.is-icon-collapsed { right:.35rem !important; left:auto !important; }
.lm-article-reader.is-icon-collapsed .lm-article-reader__speaker-toggle { margin-left:auto; margin-right:0; }
.lm-article-reader__bookmark-note { min-height:28px; padding:.18rem .38rem; line-height:1.3; resize:none; overflow-y:hidden; }
.lm-article-reader__more-setting--speed-pitch .lm-article-reader__inline-setting:first-child { transform:translateX(-.55em); }


/* 0.3.46 exact LeMAR progress + compact Listen bar */
.lm-article-reader.is-minimized .lm-article-reader__progress-wrap--lemar {
	display: block !important;
	width: 100%;
	margin: .12rem 0 .34rem !important;
}
.lm-article-reader.is-minimized .lm-article-reader__progress-wrap--lemar > progress {
	display: block !important;
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
}
.lm-article-reader.is-minimized .lm-article-reader__progress-meta {
	display: flex !important;
	width: 100%;
	align-items: baseline;
	justify-content: space-between;
	gap: .5rem;
	margin-top: .08rem;
	color: var(--lm-slate,#65615c);
	font-size: .68rem;
	line-height: 1.15;
}
.lm-article-reader__progress-meta-left,
.lm-article-reader__progress-meta-right {
	white-space: nowrap;
	color: var(--lm-slate,#65615c);
}
.lm-article-reader__progress-meta-right { margin-left: auto; }
.lm-article-reader__progress-meta .lm-article-reader__mini-percent {
	display: inline !important;
	min-width: 0 !important;
	color: var(--lm-oxblood,#70332f) !important;
	font-size: inherit !important;
	font-weight: 800;
	text-align: left;
}
.lm-article-reader__progress-meta .lm-article-reader__time,
.lm-article-reader__progress-meta .lm-article-reader__progress-slash {
	color: var(--lm-slate,#65615c);
}
.lm-article-reader__bookmarks-toggle {
	text-transform: none !important;
	letter-spacing: normal;
}

/* Your progress now shares the compact launch row with Listen. */
.lm-article-reader > .lm-article-reader__header {
	gap: .55rem;
}
.lm-article-reader > .lm-article-reader__header > .lm-article-reader__history {
	order: 1;
	margin: 0 0 0 auto;
	padding: 0;
	border: 0;
	white-space: nowrap;
}
.lm-article-reader > .lm-article-reader__header > .lm-article-reader__button--primary {
	order: 2;
	flex: 0 0 auto;
}
.lm-article-reader > .lm-article-reader__header > div:first-child {
	flex: 1 1 auto;
	min-width: 0;
}
.lm-article-reader > .lm-article-reader__header .lm-article-reader__history-actions {
	position: absolute;
	z-index: 20;
	right: 0;
	margin-top: .35rem;
	padding: .45rem;
	border: 1px solid var(--lm-rule,#d8d1c5);
	background: var(--lm-white,#fff);
	box-shadow: 0 6px 18px rgba(0,0,0,.12);
}
.lm-article-reader:not(.is-minimized) {
	padding-top: .72rem;
	padding-bottom: .72rem;
}
@media (max-width: 520px) {
	.lm-article-reader > .lm-article-reader__header {
		flex-wrap: wrap;
	}
	.lm-article-reader > .lm-article-reader__header > div:first-child {
		flex-basis: 100%;
	}
	.lm-article-reader > .lm-article-reader__header > .lm-article-reader__history {
		margin-left: 0;
	}
}


/* 0.3.59 — floating-control scrollbar clearance + tight Speaker hitbox */
.lm-article-reader.is-icon-collapsed {
	right: 1rem !important;
	left: auto !important;
	width: 44px !important;
	max-width: 44px !important;
	pointer-events: none;
}
.lm-article-reader.is-icon-collapsed .lm-article-reader__speaker-toggle {
	width: 44px !important;
	height: 44px !important;
	pointer-events: auto;
}
@media (max-width: 560px) {
	.lm-article-reader.is-icon-collapsed {
		/* 0.3.61 — center the 44px Speaker over the 35px right-side controls. */
		right: calc(1rem - 4.5px) !important;
		width: 44px !important;
		max-width: 44px !important;
	}
}


/* v0.3.65 — first-listen voice onboarding */
.lm-article-reader__voice-onboarding[hidden] { display: none !important; }
.lm-article-reader__voice-onboarding { position: fixed; inset: 0; z-index: 100000; display: grid; place-items: center; padding: 24px; }
.lm-article-reader__voice-onboarding-backdrop { position: absolute; inset: 0; background: rgba(24,24,22,.56); }
.lm-article-reader__voice-onboarding-dialog {
	position: relative; width: min(720px, 100%); max-height: min(82vh, 820px); overflow: auto;
	background: #fffdfa; border: 1px solid #d9cdbf; border-left: 5px solid #7b292f;
	box-shadow: 0 22px 70px rgba(0,0,0,.22); padding: 30px 34px 26px;
}
.lm-article-reader__voice-onboarding-dialog h2 { margin: 4px 0 10px; }
.lm-article-reader__voice-onboarding-kicker { margin: 0; color: #7b292f; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: .78rem; }
.lm-article-reader__voice-onboarding-close { position: absolute; right: 16px; top: 12px; border: 0; background: transparent; font-size: 28px; cursor: pointer; }
.lm-article-reader__voice-onboarding-list { margin-top: 22px; border-top: 1px solid #ddd2c6; }
.lm-article-reader__voice-onboarding-row { display: flex; gap: 18px; justify-content: space-between; align-items: center; padding: 14px 0; border-bottom: 1px solid #e7ddd2; }
.lm-article-reader__voice-onboarding-identity { display: grid; gap: 2px; min-width: 0; }
.lm-article-reader__voice-onboarding-identity span { color: #69645f; font-size: .88rem; }
.lm-article-reader__voice-onboarding-actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.lm-article-reader__voice-onboarding-more { color: #69645f; font-size: .88rem; margin: 12px 0 0; }
.lm-article-reader__voice-onboarding-note { border-top: 1px solid #ddd2c6; margin: 20px 0 0; padding-top: 16px; font-size: .9rem; color: #5f5a55; }
.lm-article-reader__voice-note-speaker { display: inline-flex; width: 21px; height: 21px; vertical-align: -5px; color: #7b292f; }
.lm-article-reader__voice-note-speaker svg { width: 100%; height: 100%; fill: currentColor; stroke: currentColor; stroke-width: 1.6; }
html.lm-reader-modal-open { overflow: hidden; }
@media (max-width: 620px) {
	.lm-article-reader__voice-onboarding { padding: 12px; }
	.lm-article-reader__voice-onboarding-dialog { padding: 26px 20px 22px; }
	.lm-article-reader__voice-onboarding-row { align-items: flex-start; flex-direction: column; }
	.lm-article-reader__voice-onboarding-actions { justify-content: flex-start; width: 100%; }
}


/* v0.3.66 — reliable voice-preview switching */
.lm-article-reader__voice-onboarding-actions .lm-article-reader__button:disabled {
	opacity: .5;
	cursor: default;
}

/* v0.3.68 — completion/help dialogs remain clickable when the floating Reader is icon-collapsed. */
.lm-article-reader.is-icon-collapsed .lm-article-reader__modal:not([hidden]),
.lm-article-reader.is-icon-collapsed .lm-article-reader__voice-onboarding:not([hidden]) {
	pointer-events: auto;
}


/* v0.3.70 — first-listen orientation and test-only voice diagnostics. */
.lm-article-reader__dialog-mark { display: block; width: 42px; height: auto; margin: 0 0 14px; }
.lm-article-reader__voice-onboarding-how { margin: 14px 0 2px; border-top: 1px solid #ddd2c6; border-bottom: 1px solid #ddd2c6; padding: 10px 0; }
.lm-article-reader__voice-onboarding-how summary { cursor: pointer; color: #541f25; font-weight: 700; }
.lm-article-reader__voice-onboarding-how p { margin: 10px 0 2px; }
.lm-article-reader__diagnostics-status { margin-left: 8px; color: #5f5a55; font-size: .9rem; }


/* v0.3.74 — LM narration tuning console */
.lm-lemar-tuning { max-width: 1040px; background:#fff; border:1px solid #d8d0c8; border-top:4px solid #541f25; box-shadow:0 8px 28px rgba(0,0,0,.08); margin:24px 0; font-family:inherit; color:#24211f; }
.lm-lemar-tuning[hidden] { display:none !important; }
.lm-lemar-tuning__header { display:flex; gap:16px; align-items:flex-start; padding:22px 24px 16px; border-bottom:1px solid #e6dfd8; }
.lm-lemar-tuning__header img { width:38px; height:auto; margin-top:3px; }
.lm-lemar-tuning__header h2 { margin:0 0 4px; font-size:1.35rem; }
.lm-lemar-tuning__header p { margin:0; color:#6a625d; }
.lm-lemar-tuning__close { margin-left:auto; border:0; background:transparent; font-size:28px; line-height:1; cursor:pointer; color:#541f25; }
.lm-lemar-tuning__body { padding:8px 24px 20px; max-height:65vh; overflow:auto; }
.lm-lemar-tuning fieldset { border:0; border-top:1px solid #e8e1da; padding:18px 0 4px; margin:0; }
.lm-lemar-tuning legend { font-weight:700; color:#541f25; padding:0 10px 0 0; }
.lm-lemar-tuning__grid { display:grid; grid-template-columns:repeat(2,minmax(250px,1fr)); gap:14px 24px; }
.lm-lemar-tuning__grid label { display:grid; grid-template-columns:minmax(150px,1fr) auto; gap:3px 12px; align-items:center; }
.lm-lemar-tuning__input input { width:82px; }
.lm-lemar-tuning small { grid-column:1/-1; color:#7a716b; }
.lm-lemar-tuning__wide { display:grid; gap:7px; }
.lm-lemar-tuning__wide textarea { width:100%; font-family:ui-monospace,SFMono-Regular,Menlo,monospace; }
.lm-lemar-tuning__actions { display:flex; gap:12px; align-items:center; padding:16px 24px; border-top:1px solid #e6dfd8; background:#faf8f5; }
.lm-lemar-tuning__actions [data-lm-tuning-status] { margin-left:auto; color:#6a625d; }
.lm-lemar-tuning--floating { position:fixed; z-index:100001; right:24px; top:80px; width:min(680px,calc(100vw - 48px)); max-height:calc(100vh - 110px); margin:0; box-shadow:0 18px 60px rgba(0,0,0,.24); }
.lm-lemar-tuning-launch { position:fixed; z-index:99990; right:20px; bottom:82px; border:0; border-radius:999px; padding:9px 14px; background:#541f25; color:#fff; font-weight:700; cursor:pointer; box-shadow:0 4px 18px rgba(0,0,0,.18); }
@media(max-width:700px){ .lm-lemar-tuning__grid{grid-template-columns:1fr}.lm-lemar-tuning--floating{right:12px;top:64px;width:calc(100vw - 24px)} }

/* v0.3.74 — readable per-setting reset controls and tuner toggle */
.lm-lemar-tuning__field-reset { display:inline-flex; align-items:center; justify-content:center; width:26px; height:26px; margin-left:6px; border:1px solid #cfc5bc; border-radius:5px; background:#fff; color:#541f25; font-size:20px; line-height:1; cursor:pointer; vertical-align:middle; }
.lm-lemar-tuning__field-reset:hover, .lm-lemar-tuning__field-reset:focus { border-color:#541f25; outline:none; }
.lm-lemar-tuning__toggle { display:flex; align-items:center; gap:10px; font-weight:600; }
.lm-lemar-tuning__toggle input { width:18px; height:18px; }
