.reading-library-progress-menu-item {
	align-items: center;
	display: flex;
	margin-left: 0.15rem;
}

.site-header__category-list--with-reading-library,
.site-header__control-list--with-reading-library {
	column-gap: 0.42rem !important;
}

.reading-library-progress-menu-inline {
	align-items: center;
	display: inline-flex;
	margin-left: 0.5rem;
}

.reading-library-progress-menu-button {
	align-items: center;
	appearance: none;
	background: transparent;
	border: 0;
	border-radius: 999px;
	color: var(--wp--preset--color--ink, currentColor);
	cursor: pointer;
	display: inline-flex;
	height: 1.8rem;
	justify-content: center;
	padding: 0;
	position: relative;
	transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
	width: 1.8rem;
}

.reading-library-progress-menu-button:hover,
.reading-library-progress-menu-button:focus-visible {
	background: rgba(122, 36, 48, 0.09);
	color: var(--wp--preset--color--accent, #7a2430);
}

.reading-library-progress-menu-button:focus-visible {
	outline: 2px solid var(--wp--preset--color--accent, #7a2430);
	outline-offset: 2px;
}

.reading-library-progress-menu-button:active {
	transform: scale(0.92);
}

.reading-library-progress-menu-button--active {
	color: var(--wp--preset--color--accent, #7a2430);
}

.reading-library-progress-menu-button--floating {
	background: var(--wp--preset--color--surface, #fff);
	border: 1px solid rgba(23, 20, 18, 0.2);
	bottom: 1rem;
	box-shadow: 0 0.7rem 2rem rgba(23, 20, 18, 0.18);
	position: fixed;
	right: 1rem;
	z-index: 9990;
}

.reading-library-progress-menu-button__icon {
	display: block;
	height: 1.14rem;
	transform-origin: center;
	transition: transform 220ms cubic-bezier(0.2, 0.8, 0.2, 1);
	width: 1.14rem;
}

.reading-library-progress-menu-button--active .reading-library-progress-menu-button__icon {
	transform: translateY(-1px) rotate(90deg) scale(0.94);
}

.reading-library-progress-menu-button__icon-line {
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.9;
}

.reading-library-progress-menu-button__badge {
	display: none;
}

html.has-reading-library-progress-drawer-open {
	overflow: hidden;
}

html.has-reading-library-progress-auth-modal-open {
	overflow: hidden;
}

.reading-library-progress-drawer[hidden] {
	display: none;
}

.reading-library-progress-auth-modal[hidden] {
	display: none;
}

.reading-library-progress-drawer {
	inset: 0;
	pointer-events: none;
	position: fixed;
	z-index: 10020;
}

.reading-library-progress-auth-modal {
	align-items: center;
	display: flex;
	inset: 0;
	justify-content: center;
	padding: 1rem;
	pointer-events: none;
	position: fixed;
	z-index: 10030;
}

.reading-library-progress-drawer--open,
.reading-library-progress-drawer--closing {
	pointer-events: auto;
}

.reading-library-progress-auth-modal--open,
.reading-library-progress-auth-modal--closing {
	pointer-events: auto;
}

.admin-bar .reading-library-progress-drawer {
	top: 32px;
}

.admin-bar .reading-library-progress-auth-modal {
	top: 32px;
}

.reading-library-progress-drawer__backdrop {
	background: rgba(23, 20, 18, 0.42);
	inset: 0;
	opacity: 0;
	position: absolute;
	transition: opacity 240ms ease;
}

.reading-library-progress-drawer--open .reading-library-progress-drawer__backdrop {
	opacity: 1;
}

.reading-library-progress-auth-modal__backdrop {
	background: rgba(23, 20, 18, 0.46);
	inset: 0;
	opacity: 0;
	position: absolute;
	transition: opacity 220ms ease;
}

.reading-library-progress-auth-modal--open .reading-library-progress-auth-modal__backdrop {
	opacity: 1;
}

.reading-library-progress-drawer__panel {
	background-color: var(--wp--preset--color--site-background, #fff);
	background-image: var(--reading-library-progress-surface-texture, linear-gradient(rgba(255, 255, 255, 0.018), rgba(255, 255, 255, 0.018)));
	border-left: 1px solid rgba(23, 20, 18, 0.18);
	border-top: 3px solid var(--wp--preset--color--clinical-green, #3f7460);
	box-shadow: -1.2rem 0 3rem rgba(23, 20, 18, 0.22);
	box-sizing: border-box;
	color: var(--wp--preset--color--ink, #171412);
	display: flex;
	flex-direction: column;
	height: 100%;
	max-width: min(31rem, 100vw);
	position: absolute;
	right: 0;
	top: 0;
	transform: translateX(102%);
	transition: transform 260ms cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 260ms ease;
	width: 100%;
}

.reading-library-progress-drawer--open .reading-library-progress-drawer__panel {
	transform: translateX(0);
}

.reading-library-progress-auth-modal__panel {
	background-color: var(--wp--preset--color--site-background, #fff);
	background-image: var(--reading-library-progress-surface-texture, linear-gradient(rgba(255, 255, 255, 0.018), rgba(255, 255, 255, 0.018)));
	border: 1px solid rgba(23, 20, 18, 0.18);
	border-top: 3px solid var(--wp--preset--color--clinical-green, #3f7460);
	box-shadow: 0 1.2rem 3rem rgba(23, 20, 18, 0.22);
	box-sizing: border-box;
	color: var(--wp--preset--color--ink, #171412);
	display: grid;
	gap: 0.72rem;
	max-width: min(27rem, 100%);
	opacity: 0;
	padding: 1.05rem;
	position: relative;
	transform: translateY(0.75rem) scale(0.98);
	transition: opacity 220ms ease, transform 220ms cubic-bezier(0.2, 0.8, 0.2, 1);
	width: 100%;
}

.reading-library-progress-auth-modal--open .reading-library-progress-auth-modal__panel {
	opacity: 1;
	transform: translateY(0) scale(1);
}

.reading-library-progress-drawer__header {
	align-items: center;
	border-bottom: 1px solid rgba(23, 20, 18, 0.16);
	display: flex;
	gap: 1rem;
	justify-content: space-between;
	padding: 0.95rem 1.1rem 0.9rem;
	transform: translateY(-0.35rem);
	transition: opacity 220ms ease 90ms, transform 220ms ease 90ms;
	opacity: 0;
}

.reading-library-progress-drawer--open .reading-library-progress-drawer__header {
	opacity: 1;
	transform: translateY(0);
}

.reading-library-progress-drawer__heading {
	display: grid;
	gap: 0.16rem;
	min-width: 0;
}

.reading-library-progress-drawer__eyebrow {
	color: var(--wp--preset--color--muted, #666);
	font-family: var(--wp--preset--font-family--editorial-sans, system-ui, sans-serif);
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0;
	line-height: 1.2;
	margin: 0;
	text-transform: uppercase;
}

.reading-library-progress-drawer__title {
	font-family: var(--wp--preset--font-family--literary-serif, Georgia, serif);
	font-size: 1.34rem;
	font-weight: 700;
	letter-spacing: 0;
	line-height: 1.05;
	margin: 0;
}

.reading-library-progress-auth-modal__eyebrow {
	color: var(--wp--preset--color--muted, #666);
	font-family: var(--wp--preset--font-family--editorial-sans, system-ui, sans-serif);
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0;
	line-height: 1.2;
	margin: 0 2.5rem 0 0;
	text-transform: uppercase;
}

.reading-library-progress-auth-modal__title {
	font-family: var(--wp--preset--font-family--literary-serif, Georgia, serif);
	font-size: 1.42rem;
	font-weight: 700;
	letter-spacing: 0;
	line-height: 1.08;
	margin: 0;
}

.reading-library-progress-auth-modal__description {
	color: var(--wp--preset--color--muted, #666);
	font-family: var(--wp--preset--font-family--editorial-sans, system-ui, sans-serif);
	font-size: 0.95rem;
	font-weight: 500;
	line-height: 1.45;
	margin: 0;
}

.reading-library-progress-drawer__close-button {
	align-items: center;
	appearance: none;
	background: transparent;
	border: 1px solid rgba(23, 20, 18, 0.18);
	border-radius: 0;
	color: var(--wp--preset--color--muted, #666);
	cursor: pointer;
	display: inline-flex;
	height: 2.15rem;
	justify-content: center;
	padding: 0;
	transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
	width: 2.15rem;
}

.reading-library-progress-auth-modal__close-button {
	align-items: center;
	appearance: none;
	background: transparent;
	border: 1px solid rgba(23, 20, 18, 0.18);
	border-radius: 0;
	color: var(--wp--preset--color--muted, #666);
	cursor: pointer;
	display: inline-flex;
	height: 2.15rem;
	justify-content: center;
	padding: 0;
	position: absolute;
	right: 1.05rem;
	top: 1.05rem;
	transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
	width: 2.15rem;
}

.reading-library-progress-drawer__close-button:hover,
.reading-library-progress-drawer__close-button:focus-visible,
.reading-library-progress-auth-modal__close-button:hover,
.reading-library-progress-auth-modal__close-button:focus-visible {
	background: var(--wp--preset--color--ink, #171412);
	color: var(--wp--preset--color--surface, #fff);
}

.reading-library-progress-drawer__close-button:active,
.reading-library-progress-auth-modal__close-button:active {
	transform: scale(0.92);
}

.reading-library-progress-drawer__close-icon,
.reading-library-progress-auth-modal__close-icon {
	height: 1rem;
	position: relative;
	width: 1rem;
}

.reading-library-progress-drawer__close-icon::before,
.reading-library-progress-drawer__close-icon::after,
.reading-library-progress-auth-modal__close-icon::before,
.reading-library-progress-auth-modal__close-icon::after {
	background: currentColor;
	content: "";
	height: 2px;
	left: 0;
	position: absolute;
	top: 50%;
	width: 100%;
}

.reading-library-progress-drawer__close-icon::before,
.reading-library-progress-auth-modal__close-icon::before {
	transform: rotate(45deg);
}

.reading-library-progress-drawer__close-icon::after,
.reading-library-progress-auth-modal__close-icon::after {
	transform: rotate(-45deg);
}

.reading-library-progress-auth-modal__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.55rem;
	margin-top: 0.15rem;
}

.reading-library-progress-auth-modal__action {
	align-items: center;
	border: 1px solid rgba(23, 20, 18, 0.24);
	color: var(--wp--preset--color--ink, #171412);
	display: inline-flex;
	font-family: var(--wp--preset--font-family--editorial-sans, system-ui, sans-serif);
	font-size: 0.82rem;
	font-weight: 850;
	justify-content: center;
	line-height: 1.1;
	min-height: 2.2rem;
	padding: 0.55rem 0.75rem;
	text-decoration: none;
	text-transform: uppercase;
	transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.reading-library-progress-auth-modal__action:hover,
.reading-library-progress-auth-modal__action:focus-visible {
	background: var(--wp--preset--color--ink, #171412);
	border-color: var(--wp--preset--color--ink, #171412);
	color: var(--wp--preset--color--surface, #fff);
	outline: 0;
	transform: translateY(-1px);
}

.reading-library-progress-auth-modal__action--login {
	background: var(--wp--preset--color--ink, #171412);
	border-color: var(--wp--preset--color--ink, #171412);
	color: var(--wp--preset--color--surface, #fff);
}

.reading-library-progress-auth-modal__action--login:hover,
.reading-library-progress-auth-modal__action--login:focus-visible {
	background: var(--wp--preset--color--accent, #7a2430);
	border-color: var(--wp--preset--color--accent, #7a2430);
}

.reading-library-progress-drawer__status {
	color: var(--wp--preset--color--muted, #666);
	font-family: var(--wp--preset--font-family--editorial-sans, system-ui, sans-serif);
	font-size: 0.76rem;
	font-weight: 750;
	line-height: 1.35;
	min-height: 1.2rem;
	padding: 0.8rem 1.1rem 0;
	text-transform: uppercase;
	transition: opacity 180ms ease;
}

.reading-library-progress-drawer__sections {
	display: grid;
	gap: 1.05rem;
	overflow: auto;
	padding: 1rem 1.1rem 1.4rem;
}

.reading-library-progress-section {
	border-top: 4px solid var(--wp--preset--color--clinical-green, #3f7460);
	box-shadow: inset 0 1px 0 rgba(23, 20, 18, 0.16);
	display: grid;
	gap: 0.55rem;
	margin-top: 0.18rem;
	opacity: 0;
	padding-top: 0.82rem;
	transform: translateX(0.65rem);
	transition: opacity 220ms ease, transform 220ms ease;
}

.reading-library-progress-drawer--open .reading-library-progress-section {
	opacity: 1;
	transform: translateX(0);
}

.reading-library-progress-drawer--open .reading-library-progress-section:nth-child(1) {
	transition-delay: 100ms;
}

.reading-library-progress-drawer--open .reading-library-progress-section:nth-child(2) {
	transition-delay: 150ms;
}

.reading-library-progress-drawer--open .reading-library-progress-section:nth-child(3) {
	transition-delay: 200ms;
}

.reading-library-progress-section__title {
	align-items: center;
	color: var(--wp--preset--color--ink, #171412);
	display: flex;
	font-family: var(--wp--preset--font-family--editorial-sans, system-ui, sans-serif);
	font-size: 0.78rem;
	gap: 0.7rem;
	font-weight: 850;
	letter-spacing: 0;
	line-height: 1.2;
	margin: 0;
	text-transform: uppercase;
}

.reading-library-progress-section__title::after {
	border-top: 1px solid rgba(23, 20, 18, 0.22);
	content: "";
	flex: 1 1 auto;
}

.reading-library-progress-section__list {
	display: grid;
	gap: 0;
	list-style: none;
	margin: 0;
	padding: 0;
}

.reading-library-progress-empty-item {
	color: var(--wp--preset--color--muted, #666);
	font-size: 0.95rem;
	line-height: 1.42;
	padding: 0.75rem 0;
}

.reading-library-progress-item {
	border-top: 1px dotted rgba(23, 20, 18, 0.28);
	margin: 0;
	max-height: 30rem;
	opacity: 1;
	transform: translateX(0);
	transition: opacity 220ms ease, transform 220ms ease, max-height 240ms ease, border-color 220ms ease;
}

.reading-library-progress-item:first-child {
	border-top: 0;
}

.reading-library-progress-item__link {
	color: var(--wp--preset--color--ink, #171412);
	display: grid;
	gap: 0.32rem;
	padding: 0.82rem 0.25rem 0.36rem;
	text-decoration: none;
	transition: color 160ms ease, box-shadow 160ms ease, padding-left 160ms ease, transform 160ms ease;
}

.reading-library-progress-item__link:hover,
.reading-library-progress-item__link:focus-visible {
	color: var(--wp--preset--color--accent, #7a2430);
	box-shadow: inset 3px 0 0 var(--wp--preset--color--clinical-green, #3f7460);
	outline: 0;
	padding-left: 0.55rem;
}

.reading-library-progress-item__link:active {
	transform: translateX(1px);
}

.reading-library-progress-item__title {
	font-family: var(--wp--preset--font-family--literary-serif, Georgia, serif);
	font-size: 1.08rem;
	font-weight: 700;
	line-height: 1.16;
}

.reading-library-progress-item__meta {
	color: var(--wp--preset--color--muted, #666);
	font-family: var(--wp--preset--font-family--editorial-sans, system-ui, sans-serif);
	font-size: 0.72rem;
	font-weight: 750;
	line-height: 1.25;
	text-transform: uppercase;
}

.reading-library-progress-item__actions {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 0.42rem;
	padding: 0 0.25rem 0.82rem;
}

.reading-library-progress-item--removing {
	border-top-color: transparent;
	opacity: 0;
	transform: translateX(0.75rem);
}

.reading-library-progress-item-action {
	align-items: center;
	appearance: none;
	background: transparent;
	border: 1px solid rgba(23, 20, 18, 0.22);
	color: var(--wp--preset--color--ink, #171412);
	cursor: pointer;
	display: inline-flex;
	font-family: var(--wp--preset--font-family--editorial-sans, system-ui, sans-serif);
	font-size: 0.68rem;
	font-weight: 850;
	gap: 0.32rem;
	line-height: 1.1;
	min-height: 1.78rem;
	padding: 0.36rem 0.48rem;
	text-transform: uppercase;
	transform: translateY(0) scale(1);
	transition: background 160ms ease, border-color 160ms ease, color 160ms ease, opacity 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.reading-library-progress-item-action:hover,
.reading-library-progress-item-action:focus-visible {
	background: var(--wp--preset--color--ink, #171412);
	border-color: var(--wp--preset--color--ink, #171412);
	color: var(--wp--preset--color--surface, #fff);
	outline: 0;
	transform: translateY(-1px);
}

.reading-library-progress-item-action:active {
	transform: translateY(0) scale(0.98);
}

.reading-library-progress-item-action--remove-bookmark {
	border-color: rgba(122, 36, 48, 0.42);
	color: var(--wp--preset--color--accent, #7a2430);
}

.reading-library-progress-item-action--mark-read {
	border-color: rgba(63, 116, 96, 0.42);
	color: var(--wp--preset--color--clinical-green, #3f7460);
}

.reading-library-progress-item-action--confirming {
	background: rgba(122, 36, 48, 0.08);
	border-color: var(--wp--preset--color--accent, #7a2430);
	box-shadow: inset 0 0 0 1px rgba(122, 36, 48, 0.28);
}

.reading-library-progress-item-action:disabled {
	cursor: default;
	opacity: 0.72;
}

.reading-library-progress-item-action--busy {
	animation: reading-library-progress-button-busy 720ms ease-in-out infinite;
}

.reading-library-progress-item-action__icon {
	display: inline-block;
	flex: 0 0 auto;
	height: 0.88rem;
	position: relative;
	width: 0.88rem;
}

.reading-library-progress-item-action__bookmark-icon {
	fill: currentColor;
	overflow: visible;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 2;
}

.reading-library-progress-item-action__bookmark-icon-path {
	fill: currentColor;
	stroke: currentColor;
	vector-effect: non-scaling-stroke;
}

.reading-library-progress-item-action__state-icon {
	border: 2px solid currentColor;
	border-radius: 999px;
}

.reading-library-progress-item-action__state-icon--mark-read::after {
	border-bottom: 2px solid currentColor;
	border-right: 2px solid currentColor;
	content: "";
	height: 0.42rem;
	left: 0.28rem;
	position: absolute;
	top: 0.1rem;
	transform: rotate(45deg);
	width: 0.22rem;
}

.reading-library-progress-item-action__state-icon--mark-unread::before {
	border-top: 2px solid currentColor;
	content: "";
	left: 0.12rem;
	position: absolute;
	right: 0.12rem;
	top: 50%;
	transform: rotate(-35deg);
}

.reading-library-progress-article-tools,
.reading-library-progress-collection-tools {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 0.55rem;
	margin: 0.75rem 0 1rem;
}

.reading-library-progress-completion {
	border-top: 1px solid rgba(23, 20, 18, 0.16);
	margin: 2.2rem 0 1.2rem;
	padding-top: 1rem;
}

.reading-library-progress-completion__inner {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	justify-content: space-between;
}

.reading-library-progress-completion__label {
	color: var(--wp--preset--color--muted, #666);
	font-family: var(--wp--preset--font-family--editorial-sans, system-ui, sans-serif);
	font-size: 0.88rem;
	font-weight: 750;
	line-height: 1.3;
	margin: 0;
	text-transform: uppercase;
}

.reading-library-progress-bookmark-button,
.reading-library-progress-mark-read-button {
	align-items: center;
	appearance: none;
	background: transparent;
	border: 1px solid rgba(23, 20, 18, 0.24);
	color: var(--wp--preset--color--ink, #171412);
	cursor: pointer;
	display: inline-flex;
	font-family: var(--wp--preset--font-family--editorial-sans, system-ui, sans-serif);
	font-size: 0.82rem;
	font-weight: 800;
	gap: 0.42rem;
	justify-content: center;
	line-height: 1.1;
	min-height: 2.05rem;
	padding: 0.46rem 0.68rem;
	text-transform: uppercase;
	transform: translateY(0) scale(1);
	transition: background 160ms ease, border-color 160ms ease, color 160ms ease, opacity 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.reading-library-progress-bookmark-button:hover,
.reading-library-progress-bookmark-button:focus-visible,
.reading-library-progress-mark-read-button:hover,
.reading-library-progress-mark-read-button:focus-visible {
	background: var(--wp--preset--color--ink, #171412);
	border-color: var(--wp--preset--color--ink, #171412);
	color: var(--wp--preset--color--surface, #fff);
	transform: translateY(-1px);
}

.reading-library-progress-bookmark-button:active,
.reading-library-progress-mark-read-button:active {
	transform: translateY(0) scale(0.98);
}

.reading-library-progress-bookmark-button--saved,
.reading-library-progress-mark-read-button--read {
	border-color: var(--wp--preset--color--accent, #7a2430);
	color: var(--wp--preset--color--accent, #7a2430);
}

.reading-library-progress-bookmark-button:disabled,
.reading-library-progress-mark-read-button:disabled {
	cursor: default;
	opacity: 0.72;
}

.reading-library-progress-bookmark-button--busy,
.reading-library-progress-mark-read-button--busy {
	animation: reading-library-progress-button-busy 720ms ease-in-out infinite;
}

.reading-library-progress-bookmark-button--state-changing,
.reading-library-progress-mark-read-button--state-changing {
	animation: reading-library-progress-button-state-change 420ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reading-library-progress-bookmark-button__icon {
	display: inline-block;
	flex: 0 0 auto;
	fill: none;
	height: 1rem;
	overflow: visible;
	position: relative;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 2;
	transition: fill 160ms ease, stroke 160ms ease, transform 220ms cubic-bezier(0.2, 0.8, 0.2, 1);
	width: 1rem;
}

.reading-library-progress-bookmark-button__icon-path {
	fill: transparent;
	stroke: currentColor;
	transition: fill 160ms ease, stroke 160ms ease;
	vector-effect: non-scaling-stroke;
}

.reading-library-progress-bookmark-button--saved .reading-library-progress-bookmark-button__icon {
	transform: translateY(-1px) scale(1.08);
}

.reading-library-progress-bookmark-button--saved .reading-library-progress-bookmark-button__icon-path {
	fill: currentColor;
}

.reading-library-progress-mark-read-button__icon {
	border: 2px solid currentColor;
	border-radius: 999px;
	display: inline-block;
	flex: 0 0 auto;
	height: 0.82rem;
	position: relative;
	transition: background 160ms ease, border-color 160ms ease, transform 220ms cubic-bezier(0.2, 0.8, 0.2, 1);
	width: 0.82rem;
}

.reading-library-progress-mark-read-button__icon::after {
	border-bottom: 2px solid currentColor;
	border-right: 2px solid currentColor;
	content: "";
	height: 0.42rem;
	left: 0.28rem;
	position: absolute;
	top: 0.12rem;
	transform: rotate(45deg);
	transform-origin: center;
	transition: opacity 160ms ease, transform 220ms cubic-bezier(0.2, 0.8, 0.2, 1);
	width: 0.22rem;
}

.reading-library-progress-mark-read-button--read .reading-library-progress-mark-read-button__icon::after {
	transform: rotate(45deg) scale(1.08);
}

.reading-library-progress-meter {
	height: 3px;
	left: 0;
	opacity: 0;
	pointer-events: none;
	position: fixed;
	right: 0;
	top: 0;
	transform: translateY(-100%);
	transition: opacity 180ms ease, transform 180ms ease;
	z-index: 10010;
}

.admin-bar .reading-library-progress-meter {
	top: 32px;
}

.reading-library-progress-meter--visible {
	opacity: 1;
	transform: translateY(0);
}

.reading-library-progress-meter__track {
	background: transparent;
	height: 100%;
	overflow: hidden;
	width: 100%;
}

.reading-library-progress-meter__bar {
	background: var(--wp--preset--color--clinical-green, #3f7460);
	box-shadow: 0 0 10px rgba(63, 116, 96, 0.18);
	display: block;
	height: 100%;
	transform: scaleX(0);
	transform-origin: left center;
	width: 100%;
}

html[data-pacotraver-theme="dark"] .reading-library-progress-drawer__backdrop {
	background: rgba(0, 0, 0, 0.68);
}

html[data-pacotraver-theme="dark"] .reading-library-progress-auth-modal__backdrop {
	background: rgba(0, 0, 0, 0.72);
}

html[data-pacotraver-theme="dark"] .reading-library-progress-drawer__panel,
html[data-pacotraver-theme="dark"] .reading-library-progress-menu-button--floating,
html[data-pacotraver-theme="dark"] .reading-library-progress-auth-modal__panel {
	background: var(--wp--preset--color--surface, #1b1815);
}

html[data-pacotraver-theme="dark"] .reading-library-progress-menu-button:hover,
html[data-pacotraver-theme="dark"] .reading-library-progress-menu-button:focus-visible {
	background: rgba(217, 147, 154, 0.13);
}

html[data-pacotraver-theme="dark"] .reading-library-progress-item,
html[data-pacotraver-theme="dark"] .reading-library-progress-drawer__header,
html[data-pacotraver-theme="dark"] .reading-library-progress-completion,
html[data-pacotraver-theme="dark"] .reading-library-progress-auth-modal__panel {
	border-color: rgba(240, 236, 227, 0.18);
}

html[data-pacotraver-theme="dark"] .reading-library-progress-section {
	box-shadow: inset 0 1px 0 rgba(240, 236, 227, 0.14);
}

html[data-pacotraver-theme="dark"] .reading-library-progress-section__title::after {
	border-top-color: rgba(240, 236, 227, 0.2);
}

html[data-pacotraver-theme="dark"] .reading-library-progress-item-action {
	border-color: rgba(240, 236, 227, 0.24);
}

html[data-pacotraver-theme="dark"] .reading-library-progress-auth-modal__panel {
	border-top-color: var(--wp--preset--color--clinical-green, #3f7460);
}

html[data-pacotraver-theme="dark"] .reading-library-progress-meter__bar {
	background: var(--wp--preset--color--accent, #d9939a);
}

@keyframes reading-library-progress-button-state-change {
	0% {
		transform: translateY(0) scale(1);
	}

	38% {
		transform: translateY(-1px) scale(1.045);
	}

	100% {
		transform: translateY(0) scale(1);
	}
}

@keyframes reading-library-progress-button-busy {
	0%,
	100% {
		box-shadow: inset 0 0 0 0 rgba(23, 20, 18, 0);
	}

	50% {
		box-shadow: inset 0 0 0 999px rgba(23, 20, 18, 0.055);
	}
}

@media (max-width: 782px) {
	.admin-bar .reading-library-progress-drawer {
		top: 46px;
	}

	.admin-bar .reading-library-progress-auth-modal {
		top: 46px;
	}

	.admin-bar .reading-library-progress-meter {
		top: 46px;
	}
}

@media (max-width: 600px) {
	.reading-library-progress-drawer__panel {
		max-width: 100vw;
	}

	.reading-library-progress-drawer__header,
	.reading-library-progress-drawer__sections {
		padding-left: 0.9rem;
		padding-right: 0.9rem;
	}

	.reading-library-progress-completion__inner {
		align-items: stretch;
		display: grid;
	}

	.reading-library-progress-bookmark-button,
	.reading-library-progress-mark-read-button,
	.reading-library-progress-auth-modal__action {
		width: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	.reading-library-progress-drawer__backdrop,
	.reading-library-progress-drawer__panel,
	.reading-library-progress-drawer__header,
	.reading-library-progress-auth-modal__backdrop,
	.reading-library-progress-auth-modal__panel,
	.reading-library-progress-auth-modal__close-button,
		.reading-library-progress-auth-modal__action,
		.reading-library-progress-section,
		.reading-library-progress-item,
		.reading-library-progress-item__link,
		.reading-library-progress-item-action,
		.reading-library-progress-item-action__icon,
		.reading-library-progress-meter,
		.reading-library-progress-bookmark-button,
		.reading-library-progress-bookmark-button__icon,
	.reading-library-progress-bookmark-button__icon-path,
	.reading-library-progress-mark-read-button,
	.reading-library-progress-mark-read-button__icon,
	.reading-library-progress-mark-read-button__icon::after,
	.reading-library-progress-menu-button,
	.reading-library-progress-menu-button__icon {
		transition: none;
	}

		.reading-library-progress-bookmark-button--busy,
		.reading-library-progress-mark-read-button--busy,
		.reading-library-progress-item-action--busy,
		.reading-library-progress-bookmark-button--state-changing,
		.reading-library-progress-mark-read-button--state-changing {
		animation: none;
	}

	.reading-library-progress-drawer__header,
	.reading-library-progress-section {
		opacity: 1;
		transform: none;
	}

	.reading-library-progress-drawer__panel {
		transform: translateX(0);
	}

	.reading-library-progress-auth-modal__panel {
		opacity: 1;
		transform: none;
	}
}
