:root {
	--reading-accent: var(--theme-primary-color, #2f7354);
	--reading-accent-soft: color-mix(in srgb, var(--theme-primary-color, #2f7354) 12%, var(--theme-bg-main, #fff));
	--reading-ink: #20302a;
	--reading-muted: #68766f;
	--reading-line: color-mix(in srgb, var(--theme-primary-color, #2f7354) 22%, transparent);
	--reading-surface: var(--theme-bg-main, #fff);
}

.reading-quick-tools {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	flex-wrap: wrap;
	margin: 4px 12px 12px;
	padding: 9px 10px;
	border: 1px solid var(--reading-line);
	border-radius: 12px;
	background: var(--reading-surface);
	box-shadow: 0 3px 14px rgba(30, 60, 44, .06);
}

.reading-quick-tools button,
.reading-quick-tools a {
	border: 0;
	background: transparent;
	color: var(--reading-accent);
	font: inherit;
	font-weight: 600;
	line-height: 1.4;
	text-decoration: none;
	cursor: pointer;
}

.reading-quick-tools button {
	padding: 5px 7px;
}

.reading-quick-tools button.is-active {
	color: #a46b00;
}

#readingPursuitButton.is-active {
	color: var(--reading-accent);
}

.reading-library-toast {
	position: fixed;
	left: 50%;
	bottom: 72px;
	z-index: 1000000;
	transform: translateX(-50%);
	padding: 9px 16px;
	border-radius: 999px;
	background: rgba(25, 36, 31, .92);
	color: #fff;
	font-size: 15px;
	box-shadow: 0 5px 20px rgba(0, 0, 0, .18);
}

.reading-library-promo {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	max-width: 930px;
	margin: 12px auto 18px;
	padding: 15px 17px;
	border: 1px solid #d7e6db;
	border-radius: 14px;
	background: linear-gradient(135deg, #f5fbf6, #edf6f0);
	color: var(--reading-ink);
	text-decoration: none;
}

.reading-library-promo:hover,
.reading-library-promo:focus {
	color: var(--reading-ink);
	text-decoration: none;
	box-shadow: 0 5px 18px rgba(40, 91, 63, .1);
}

.reading-library-promo strong {
	display: block;
	font-size: 1.12em;
}

.reading-library-promo span {
	color: var(--reading-muted);
}

.reading-library-promo-counts {
	white-space: nowrap;
	font-weight: 600;
}

.reading-center-page {
	min-height: 100vh;
	background: #f5f7f5;
	color: var(--reading-ink);
}

.reading-center-header {
	position: sticky;
	top: 0;
	z-index: 20;
	background: rgba(255, 255, 255, .96);
	border-bottom: 1px solid var(--reading-line);
	backdrop-filter: blur(12px);
}

.reading-center-header-inner,
.reading-center-main {
	width: min(760px, calc(100% - 28px));
	margin: 0 auto;
}

.reading-center-header-inner {
	display: flex;
	align-items: center;
	height: 58px;
}

.reading-center-back {
	color: var(--reading-accent);
	text-decoration: none;
	font-weight: 600;
}

.reading-center-title {
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	margin: 0;
	font-size: 19px;
}

.reading-center-main {
	padding: 22px 0 56px;
}

.reading-summary {
	padding: 20px;
	border-radius: 18px;
	background: var(--theme-primary-color, #2f7354);
	background: linear-gradient(135deg, color-mix(in srgb, var(--theme-primary-color, #2f7354) 88%, #000), var(--theme-primary-color, #2f7354));
	color: #fff;
	box-shadow: 0 9px 28px rgba(35, 84, 60, .18);
}

.reading-summary-eyebrow {
	margin: 0 0 5px;
	opacity: .78;
	font-size: 14px;
}

.reading-summary h1 {
	margin: 0;
	font-size: 24px;
}

.reading-summary p {
	margin: 7px 0 0;
	opacity: .86;
}

.reading-tabs {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 8px;
	margin: 18px 0;
	padding: 5px;
	border-radius: 13px;
	background: var(--reading-accent-soft);
}

.reading-tabs button {
	padding: 10px 8px;
	border: 0;
	border-radius: 10px;
	background: transparent;
	color: #526159;
	font-size: 16px;
	cursor: pointer;
}

.reading-tabs button.is-active {
	background: var(--reading-accent);
	color: #fff;
	font-weight: 700;
	box-shadow: 0 2px 8px rgba(38, 64, 50, .08);
}

.reading-list-heading {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin: 0 2px 10px;
}

.reading-list-heading h2 {
	margin: 0;
	font-size: 17px;
}

.reading-list-heading button {
	border: 0;
	background: transparent;
	color: #8b5c55;
	cursor: pointer;
}

.reading-card {
	display: flex;
	align-items: stretch;
	gap: 14px;
	margin-bottom: 10px;
	padding: 16px;
	border: 1px solid var(--reading-line);
	border-radius: 15px;
	background: #fff;
}

.reading-card-main {
	min-width: 0;
	flex: 1;
}

.reading-card-kicker {
	overflow: hidden;
	color: var(--reading-muted);
	font-size: 13px;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.reading-card h2 {
	margin: 5px 0 9px;
	font-size: 17px;
	line-height: 1.45;
}

.reading-card h2 a {
	color: var(--reading-ink);
	text-decoration: none;
}

.reading-card-meta {
	display: flex;
	justify-content: space-between;
	color: var(--reading-muted);
	font-size: 12px;
}

.reading-progress {
	height: 4px;
	margin-top: 7px;
	overflow: hidden;
	border-radius: 999px;
	background: #e5ebe7;
}

.reading-progress span {
	display: block;
	height: 100%;
	border-radius: inherit;
	background: var(--reading-accent);
}

.reading-card-actions {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-end;
	gap: 10px;
	min-width: 70px;
}

.reading-card-actions a {
	padding: 7px 10px;
	border-radius: 8px;
	background: var(--reading-accent);
	color: #fff;
	font-weight: 600;
	text-decoration: none;
}

.reading-card-actions button {
	border: 0;
	background: transparent;
	color: #89928d;
	cursor: pointer;
}

.reading-empty {
	padding: 50px 22px;
	border: 1px dashed #cad8ce;
	border-radius: 16px;
	background: #fff;
	text-align: center;
}

.reading-empty-icon {
	font-size: 38px;
}

.reading-empty h2 {
	margin: 10px 0 4px;
	font-size: 18px;
}

.reading-empty p {
	margin: 0 auto 18px;
	max-width: 360px;
	color: var(--reading-muted);
}

.reading-primary-link {
	display: inline-block;
	padding: 9px 16px;
	border-radius: 9px;
	background: var(--reading-accent);
	color: #fff;
	text-decoration: none;
}

.bible-checkin-widget {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin: 12px 5px;
	padding: 13px 14px;
	border: 1px solid #cfe0d4;
	border-radius: 14px;
	background: linear-gradient(135deg, #f6fbf7, #eaf4ed);
	box-shadow: 0 4px 16px rgba(38, 91, 60, .08);
}

.bible-checkin-copy {
	display: flex;
	min-width: 0;
	flex-direction: column;
}

.bible-checkin-copy span,
.bible-checkin-copy small {
	color: var(--reading-muted);
	font-size: 13px;
}

.bible-checkin-copy strong {
	margin: 2px 0;
	color: var(--reading-ink);
	font-size: 16px;
}

.bible-checkin-actions {
	display: flex;
	flex: 0 0 auto;
	align-items: center;
	flex-direction: column;
	gap: 6px;
}

.bible-checkin-actions a {
	color: var(--reading-accent);
	font-size: 13px;
	font-weight: 700;
	text-decoration: none;
}

.bible-checkin-actions a:hover,
.bible-checkin-actions a:focus-visible {
	text-decoration: underline;
}

.bible-checkin-widget button {
	flex: 0 0 auto;
	padding: 9px 14px;
	border: 1px solid var(--reading-accent);
	border-radius: 10px;
	background: var(--reading-accent);
	color: #fff;
	font-weight: 700;
	cursor: pointer;
}

.bible-checkin-widget button.is-checked {
	background: #fff;
	color: var(--reading-accent);
}

.bible-checkin-widget button:disabled {
	border-color: #c8d0cb;
	background: #dce2de;
	color: #758079;
	cursor: not-allowed;
}

body.bible365-theme-dark .bible-checkin-widget {
	color: #e8e8e8;
	border-color: #59616a;
	background: #24272b;
	background-image: none;
	box-shadow: 0 6px 18px rgba(0, 0, 0, .3);
}

body.bible365-theme-dark .bible-checkin-copy span,
body.bible365-theme-dark .bible-checkin-copy small {
	color: #aeb5bd;
}

body.bible365-theme-dark .bible-checkin-copy strong {
	color: #e8e8e8;
}

body.bible365-theme-dark .bible-checkin-actions a {
	color: #cbd1d7;
}

body.bible365-theme-dark .bible-checkin-widget button,
body.bible365-theme-dark .bible-checkin-widget button.is-checked,
body.bible365-theme-dark .bible-checkin-widget button:disabled {
	color: #e8e8e8;
	border-color: #59616a;
	background: #30343a;
	background-image: none;
	box-shadow: none;
	opacity: 1;
}

.checkin-stat-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 10px;
	margin-bottom: 12px;
}

.checkin-stat-grid div {
	display: flex;
	flex-direction: column;
	padding: 16px 8px;
	border: 1px solid var(--reading-line);
	border-radius: 13px;
	background: #fff;
	text-align: center;
}

.checkin-stat-grid strong {
	color: var(--reading-accent);
	font-size: 27px;
	line-height: 1.1;
}

.checkin-stat-grid span {
	margin-top: 5px;
	color: var(--reading-muted);
	font-size: 12px;
}

.checkin-calendar {
	padding: 16px;
	border: 1px solid var(--reading-line);
	border-radius: 15px;
	background: #fff;
}

.checkin-year-heading {
	display: grid;
	grid-template-columns: 1fr minmax(120px, 220px) auto auto;
	align-items: center;
	gap: 10px;
	margin-bottom: 12px;
	padding: 14px 16px;
	border-radius: 14px;
	background: var(--reading-accent-soft);
}

.checkin-year-heading > div:first-child {
	display: flex;
	flex-direction: column;
}

.checkin-year-heading span,
.checkin-calendar-title span {
	color: var(--reading-muted);
	font-size: 12px;
}

.checkin-year-heading b,
.checkin-year-heading a {
	color: var(--reading-accent);
	font-size: 13px;
	text-decoration: none;
}

.checkin-year-calendars {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}

.checkin-calendar.is-current-month {
	border-color: var(--reading-accent);
}

.checkin-calendar-title {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 14px;
}

.checkin-calendar-title a {
	color: var(--reading-accent);
	font-size: 13px;
	text-decoration: none;
}

.checkin-weekdays,
.checkin-days {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	gap: 6px;
	text-align: center;
}

.checkin-weekdays {
	margin-bottom: 6px;
	color: var(--reading-muted);
	font-size: 12px;
}

.checkin-days a,
.checkin-days .is-blank {
	position: relative;
	min-height: 42px;
	border-radius: 9px;
}

.checkin-days a {
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1px solid transparent;
	color: var(--reading-ink);
	text-decoration: none;
}

.checkin-days a:hover {
	background: #f0f6f2;
}

.checkin-days a.is-today {
	border-color: var(--reading-accent);
}

.checkin-days a.is-checked {
	background: var(--reading-accent-soft);
	color: var(--reading-accent);
	font-weight: 700;
}

.checkin-days a b {
	position: absolute;
	right: 4px;
	bottom: 1px;
	font-size: 10px;
}

.checkin-note {
	margin: 12px 3px 0;
	color: var(--reading-muted);
	font-size: 13px;
	text-align: center;
}

.pursuit-summary {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 10px;
	margin-bottom: 12px;
}

.pursuit-summary div {
	display: flex;
	align-items: baseline;
	justify-content: center;
	gap: 7px;
	padding: 14px;
	border: 1px solid var(--reading-line);
	border-radius: 13px;
	background: #fff;
}

.pursuit-summary strong {
	color: var(--reading-accent);
	font-size: 24px;
}

.pursuit-summary span,
.pursuit-current {
	color: var(--reading-muted);
}

.pursuit-current {
	margin: 0 0 9px;
	overflow: hidden;
	font-size: 13px;
	text-overflow: ellipsis;
	white-space: nowrap;
}

@media (max-width: 560px) {
	.reading-library-promo {
		margin-left: 8px;
		margin-right: 8px;
	}

	.reading-library-promo-counts {
		display: none;
	}

	.reading-card {
		flex-direction: column;
	}

	.reading-card-actions {
		flex-direction: row;
		justify-content: space-between;
		align-items: center;
	}

	.reading-tabs button {
		padding-left: 3px;
		padding-right: 3px;
		font-size: 14px;
	}

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

	.bible-checkin-widget {
		align-items: stretch;
		flex-direction: column;
	}

	.bible-checkin-widget button {
		width: 100%;
	}

	.bible-checkin-actions {
		width: 100%;
	}

	.checkin-calendar {
		padding: 12px 9px;
	}

	.checkin-year-heading {
		grid-template-columns: 1fr auto;
	}

	.checkin-year-heading .reading-progress {
		grid-column: 1 / -1;
		grid-row: 2;
	}

	.checkin-year-calendars {
		grid-template-columns: 1fr;
	}

	.checkin-weekdays,
	.checkin-days {
		gap: 3px;
	}

	.checkin-days a,
	.checkin-days .is-blank {
		min-height: 38px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.reading-library-toast,
	.reading-library-promo {
		transition: none;
	}
}


/* Conference-style reading title bar */
.reading-center-header {
	position: sticky;
	top: 0;
	z-index: 1000;
	border: 0;
	background: var(--theme-primary-color, #2f5c2f);
	box-shadow: 0 3px 16px rgba(0, 0, 0, .14);
	backdrop-filter: none;
}

.reading-center-header-inner {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: min(100%, 960px);
	height: 42px;
	margin: 0 auto;
	padding: 0 6px;
}

.reading-center-back {
	position: absolute;
	top: 0;
	left: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	overflow: hidden;
	border: 0;
}

.reading-center-back img {
	display: block;
	width: 42px;
	height: 42px;
	object-fit: contain;
}

.reading-center-title {
	position: absolute;
	top: 4px;
	left: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: auto;
	max-width: calc(100vw - 150px);
	min-height: 34px;
	margin: 0;
	padding: 0 11px;
	overflow: hidden;
	transform: translateX(-50%);
	border: 1px solid rgba(255, 255, 255, .38);
	border-radius: 9px;
	color: #fff;
	background: transparent;
	font-size: 17px;
	font-weight: 700;
	line-height: 1;
	text-decoration: none;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.reading-center-daily {
	position: absolute;
	top: 6px;
	right: 6px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 30px;
	margin: 0;
	padding: 0 9px;
	border: 1px solid rgba(255, 255, 255, .38);
	border-radius: 8px;
	color: #fff;
	background: transparent;
	font-size: 14px;
	font-weight: 700;
	line-height: 1;
	text-decoration: none;
}

.reading-center-title:hover,
.reading-center-title:focus,
.reading-center-daily:hover,
.reading-center-daily:focus {
	color: #fff;
	border-color: rgba(255, 255, 255, .8);
	background: rgba(255, 255, 255, .1);
}

@media (max-width: 420px) {
	.reading-center-title {
		max-width: calc(100vw - 148px);
		padding-right: 8px;
		padding-left: 8px;
		font-size: 16px;
	}

	.reading-center-daily {
		right: 4px;
		padding-right: 7px;
		padding-left: 7px;
		font-size: 13px;
	}
}


/* Exact conference title-bar structure */
.reading-center-page .header.reading-center-header {
	position: fixed;
	top: 0;
	right: 0;
	left: 0;
	z-index: 1000;
	height: 42px;
	min-height: 42px;
	padding: 0 !important;
	overflow: visible;
	border: 0;
	background-color: var(--theme-primary-color, #2f5c2f);
	background-image: url('/images/line.png');
	background-position: 50% top;
	box-shadow: 0 3px 16px rgba(0, 0, 0, .14);
	font-size: 1.4em;
	text-align: center;
}

.reading-center-page .header .reading-center-header-inner {
	position: relative;
	display: block;
	width: min(100%, 960px);
	height: 42px;
	min-height: 42px;
	margin: 0 auto;
	padding: 0 .2em;
}

.reading-center-page .header .center {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 42px;
	min-height: 42px;
}

.reading-center-page .header .reading-center-back,
.reading-center-page .header .reading-center-back img {
	position: absolute;
	top: 0;
	left: 0;
	width: 42px;
	height: 42px;
	margin: 0;
	border: 0;
	border-radius: 0;
}

.reading-center-page .header .reading-center-title {
	position: static;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: auto;
	max-width: calc(100vw - 150px);
	min-height: 34px;
	height: 34px;
	margin: 0;
	padding: 0 11px;
	overflow: hidden;
	transform: none;
	border-top: 1px solid #b8d4e8;
	border-right: 1px solid #114680;
	border-bottom: 1px solid #114680;
	border-left: 1px solid #b8d4e8;
	border-radius: 9px;
	color: #fff;
	background: transparent;
	font-size: 17px;
	font-weight: 700;
	line-height: 34px;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.reading-center-page .header .reading-center-daily {
	position: absolute;
	top: 6px;
	right: 6px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: auto;
	min-width: 60px;
	height: 30px;
	min-height: 30px;
	margin: 0;
	padding: 0 9px;
	border-top: 1px solid #b8d4e8;
	border-right: 1px solid #114680;
	border-bottom: 1px solid #114680;
	border-left: 1px solid #b8d4e8;
	border-radius: 8px;
	color: #fff;
	background: transparent;
	font-size: 14px;
	font-weight: 700;
	line-height: 30px;
}

.reading-center-page .reading-center-main {
	padding-top: 64px;
}

@media (max-width: 420px) {
	.reading-center-page .header .reading-center-title {
		max-width: calc(100vw - 148px);
		padding-right: 8px;
		padding-left: 8px;
		font-size: 16px;
	}

	.reading-center-page .header .reading-center-daily {
		right: 4px;
		padding-right: 7px;
		padding-left: 7px;
		font-size: 13px;
	}
}
