/* Pustaka final polish layer.
   Loaded after pustaka.css so this file becomes the single source for final visual decisions. */
:root {
	--pdr-blue: #005baa;
	--pdr-blue-dark: #043f86;
	--pdr-navy: #061a40;
	--pdr-ink: #07182f;
	--pdr-muted: #50647e;
	--pdr-line: #d4deea;
	--pdr-page: #edf2f7;
	--pdr-soft: #f7fafc;
	--pdr-gold: #c9972c;
	--pdr-shadow: 0 16px 34px rgba(6, 26, 64, .1);
	--pdr-shadow-strong: 0 26px 64px rgba(6, 26, 64, .18);
}

.secure-image-reader {
	background: linear-gradient(180deg, #f8fbff 0%, #eef5fb 100%);
	border: 1px solid rgba(13, 58, 122, .18);
	border-radius: 12px;
	box-shadow: 0 18px 44px rgba(5, 34, 78, .10);
	padding: 1rem;
}

.secure-page-image-shell {
	align-items: center;
	background:
		linear-gradient(135deg, rgba(7, 38, 91, .045), rgba(217, 166, 36, .05)),
		#dfeaf3;
	border: 1px solid rgba(13, 58, 122, .16);
	border-radius: 10px;
	display: flex;
	justify-content: center;
	margin-top: .9rem;
	min-height: 68vh;
	overflow: auto;
	padding: 1rem;
	position: relative;
	touch-action: pan-y;
}

.secure-page-image-shell img {
	background: #fff;
	border-radius: 4px;
	box-shadow: 0 14px 34px rgba(7, 38, 91, .18);
	display: block;
	height: auto;
	max-width: min(100%, 980px);
	pointer-events: none;
	user-select: none;
}

.secure-pdfjs-canvas-shell {
	touch-action: pan-y;
}

.secure-pdfjs-canvas-shell canvas {
	pointer-events: none;
	transform-origin: center center;
}

.secure-reader-tap-zone {
	align-items: center;
	background: linear-gradient(180deg, rgba(255, 255, 255, .52), rgba(255, 255, 255, .16));
	border: 0;
	bottom: 0;
	color: rgba(6, 26, 64, .74);
	cursor: pointer;
	display: flex;
	font-size: 2.1rem;
	justify-content: center;
	opacity: 0;
	position: absolute;
	top: 0;
	transition: opacity .18s ease, background .18s ease, color .18s ease;
	width: 32%;
	z-index: 3;
}

.secure-reader-tap-zone:hover,
.secure-reader-tap-zone:focus-visible {
	opacity: 1;
}

.secure-reader-tap-zone:focus-visible {
	outline: 3px solid rgba(0, 91, 170, .24);
	outline-offset: -3px;
}

.secure-reader-tap-prev {
	border-radius: 10px 0 0 10px;
	left: 0;
}

.secure-reader-tap-next {
	border-radius: 0 10px 10px 0;
	right: 0;
}

.secure-reader-tap-prev:hover,
.secure-reader-tap-prev:focus-visible {
	background: linear-gradient(90deg, rgba(255, 255, 255, .82), rgba(255, 255, 255, .08));
}

.secure-reader-tap-next:hover,
.secure-reader-tap-next:focus-visible {
	background: linear-gradient(270deg, rgba(255, 255, 255, .82), rgba(255, 255, 255, .08));
}

.secure-page-image-shell.is-turning-next img,
.secure-pdfjs-canvas-shell.is-turning-next canvas {
	animation: pdrPageInNext .32s cubic-bezier(.2, .72, .2, 1) both;
}

.secure-page-image-shell.is-turning-prev img,
.secure-pdfjs-canvas-shell.is-turning-prev canvas {
	animation: pdrPageInPrev .32s cubic-bezier(.2, .72, .2, 1) both;
}

@keyframes pdrPageInNext {
	from {
		filter: saturate(.92) brightness(.97);
		opacity: .35;
		transform: translateX(28px) rotateY(-8deg) scale(.985);
	}
	to {
		filter: saturate(1) brightness(1);
		opacity: 1;
		transform: translateX(0) rotateY(0deg) scale(1);
	}
}

@keyframes pdrPageInPrev {
	from {
		filter: saturate(.92) brightness(.97);
		opacity: .35;
		transform: translateX(-28px) rotateY(8deg) scale(.985);
	}
	to {
		filter: saturate(1) brightness(1);
		opacity: 1;
		transform: translateX(0) rotateY(0deg) scale(1);
	}
}

@media (hover: none) {
	.secure-reader-tap-zone {
		opacity: .08;
	}

	.secure-reader-tap-zone:active {
		opacity: .72;
	}
}

@media (max-width: 575.98px) {
	.secure-image-reader,
	.secure-pdfjs-reader {
		border-radius: 10px;
		margin-left: -.65rem;
		margin-right: -.65rem;
		padding: .55rem;
	}

	.secure-page-image-shell {
		border-radius: 8px;
		margin-top: .55rem;
		min-height: calc(100vh - 12.5rem);
		padding: .45rem;
	}

	.secure-reader-tap-zone {
		font-size: 1.55rem;
		width: 38%;
	}

	.secure-pdfjs-controls {
		gap: .45rem;
	}

	.secure-pdfjs-controls .btn span {
		display: none;
	}
}

.secure-page-loader {
	align-items: center;
	background: #fff;
	border: 1px solid rgba(13, 58, 122, .16);
	border-radius: 999px;
	box-shadow: 0 12px 28px rgba(7, 38, 91, .12);
	color: #063a79;
	display: flex;
	font-size: .86rem;
	font-weight: 800;
	left: 50%;
	letter-spacing: .02em;
	min-height: 2.6rem;
	padding: .65rem 1rem;
	position: absolute;
	text-transform: uppercase;
	top: 50%;
	transform: translate(-50%, -50%);
	z-index: 2;
}

.secure-page-loader[hidden] {
	display: none;
}

html,
body {
	overflow-x: hidden;
}

body.admin-body,
.page {
	background: linear-gradient(180deg, #f8fafc 0, #edf2f7 11rem, #e8eef5 100%) !important;
	color: var(--pdr-ink) !important;
}

.dashboard-header-clean {
	margin-bottom: .75rem;
}

.dashboard-page {
	padding-top: .35rem;
}

.dashboard-command {
	align-items: stretch;
	background:
		linear-gradient(135deg, rgba(0, 91, 170, .98), rgba(4, 63, 134, .98)),
		#005baa;
	border: 1px solid rgba(255, 255, 255, .16);
	border-radius: 10px;
	box-shadow: 0 22px 54px rgba(4, 31, 78, .18);
	color: #fff;
	display: grid;
	gap: 1rem;
	grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr);
	margin-bottom: 1rem;
	overflow: hidden;
	padding: 1.15rem;
	position: relative;
}

.dashboard-command::after {
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .2), transparent);
	content: "";
	height: 1px;
	left: 1rem;
	position: absolute;
	right: 1rem;
	top: 0;
}

.dashboard-command-kicker {
	color: rgba(255, 255, 255, .78);
	font-size: .76rem;
	font-weight: 900;
	letter-spacing: .06em;
	text-transform: uppercase;
}

.dashboard-command h2 {
	color: #fff;
	font-size: clamp(1.55rem, 2.5vw, 2.45rem);
	font-weight: 950;
	line-height: 1.05;
	margin: .25rem 0 .45rem;
}

.dashboard-command p {
	color: rgba(255, 255, 255, .82);
	margin: 0;
	max-width: 44rem;
}

.dashboard-command-actions {
	display: grid;
	gap: .65rem;
}

.dashboard-queue-pill {
	align-items: center;
	background: rgba(255, 255, 255, .12);
	border: 1px solid rgba(255, 255, 255, .18);
	border-radius: 8px;
	color: #fff;
	display: grid;
	gap: .65rem;
	grid-template-columns: auto minmax(0, 1fr) auto;
	min-height: 3.25rem;
	padding: .7rem .8rem;
	text-decoration: none;
	transition: transform .16s ease, background .16s ease, border-color .16s ease;
}

.dashboard-queue-pill:hover {
	background: rgba(255, 255, 255, .18);
	color: #fff;
	transform: translateY(-1px);
}

.dashboard-queue-pill i {
	font-size: 1.2rem;
}

.dashboard-queue-pill span {
	font-weight: 850;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.dashboard-queue-pill strong {
	background: rgba(255, 255, 255, .96);
	border-radius: 999px;
	color: #063f86;
	font-size: .9rem;
	min-width: 2.2rem;
	padding: .22rem .55rem;
	text-align: center;
}

.dashboard-queue-pill.has-work {
	background: rgba(255, 255, 255, .22);
	border-color: rgba(255, 255, 255, .44);
}

.dashboard-metric-grid {
	display: grid;
	gap: .85rem;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	margin-bottom: 1rem;
}

.dashboard-metric-card {
	background: #fff;
	border: 1px solid rgba(15, 47, 87, .11);
	border-radius: 10px;
	box-shadow: 0 14px 34px rgba(15, 47, 87, .08);
	color: var(--pdr-ink);
	display: flex;
	flex-direction: column;
	min-height: 10rem;
	padding: 1rem;
	position: relative;
	text-decoration: none;
	transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}

.dashboard-metric-card:hover {
	border-color: rgba(0, 91, 170, .24);
	box-shadow: 0 20px 44px rgba(15, 47, 87, .12);
	color: var(--pdr-ink);
	transform: translateY(-2px);
}

.dashboard-metric-icon {
	align-items: center;
	background: #edf6ff;
	border-radius: 8px;
	color: #005baa;
	display: inline-flex;
	font-size: 1.35rem;
	height: 2.45rem;
	justify-content: center;
	margin-bottom: .9rem;
	width: 2.45rem;
}

.dashboard-metric-label {
	color: #49627f;
	font-size: .82rem;
	font-weight: 850;
	text-transform: uppercase;
}

.dashboard-metric-card strong {
	color: #061a40;
	font-size: clamp(1.55rem, 2vw, 2.1rem);
	font-weight: 950;
	line-height: 1;
	margin: .35rem 0;
}

.dashboard-metric-card small {
	color: #64748b;
	font-weight: 650;
}

.dashboard-panel {
	border-radius: 10px;
	overflow: hidden;
}

.dashboard-activity-grid {
	display: grid;
	gap: .75rem;
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.dashboard-activity-card {
	align-items: center;
	background: linear-gradient(180deg, #f8fbff, #fff);
	border: 1px solid rgba(15, 47, 87, .1);
	border-radius: 8px;
	display: flex;
	gap: .75rem;
	padding: .85rem;
}

.dashboard-activity-card i {
	align-items: center;
	background: #e8f2ff;
	border-radius: 8px;
	color: #005baa;
	display: inline-flex;
	flex: 0 0 2.35rem;
	font-size: 1.25rem;
	height: 2.35rem;
	justify-content: center;
}

.dashboard-activity-card strong {
	color: #061a40;
	display: block;
	font-size: 1.45rem;
	font-weight: 950;
	line-height: 1;
}

.dashboard-activity-card span {
	color: #5d6f84;
	font-size: .82rem;
	font-weight: 750;
}

.dashboard-map-strip {
	align-items: center;
	background:
		linear-gradient(135deg, rgba(0, 91, 170, .08), rgba(201, 151, 44, .08)),
		#f8fbff;
	border: 1px solid rgba(0, 91, 170, .14);
	border-radius: 10px;
	display: flex;
	gap: 1rem;
	justify-content: space-between;
	margin-top: 1rem;
	padding: 1rem;
}

.dashboard-map-strip h3 {
	color: #061a40;
	font-size: 1.25rem;
	font-weight: 950;
	margin: .15rem 0;
}

.dashboard-map-strip p {
	color: #5b6f86;
	margin: 0;
}

.dashboard-action-list {
	display: grid;
	gap: .25rem;
	padding: .75rem;
}

.dashboard-action-link {
	align-items: center;
	border-radius: 8px;
	color: #102033;
	display: grid;
	gap: .7rem;
	grid-template-columns: auto minmax(0, 1fr) auto;
	min-height: 3.1rem;
	padding: .72rem .75rem;
	text-decoration: none;
}

.dashboard-action-link:hover {
	background: #edf6ff;
	color: #005baa;
}

.dashboard-action-link i:first-child {
	align-items: center;
	background: #eef5ff;
	border-radius: 7px;
	color: #005baa;
	display: inline-flex;
	height: 2rem;
	justify-content: center;
	width: 2rem;
}

.dashboard-action-link span {
	font-weight: 850;
}

.dashboard-system-grid {
	display: grid;
	gap: .65rem;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	padding: 1rem;
}

.dashboard-system-item {
	background: #f8fbff;
	border: 1px solid rgba(15, 47, 87, .1);
	border-radius: 8px;
	padding: .85rem;
}

.dashboard-system-item span {
	color: #5b6f86;
	display: block;
	font-size: .82rem;
	font-weight: 800;
}

.dashboard-system-item strong {
	color: #061a40;
	display: block;
	font-size: 1.35rem;
	font-weight: 950;
	margin-top: .2rem;
}

@media (max-width: 1199.98px) {
	.dashboard-command,
	.dashboard-metric-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.dashboard-command-main {
		grid-column: 1 / -1;
	}

	.dashboard-command-actions {
		grid-column: 1 / -1;
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.dashboard-activity-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 575.98px) {
	.dashboard-command,
	.dashboard-metric-grid,
	.dashboard-command-actions,
	.dashboard-activity-grid,
	.dashboard-system-grid {
		grid-template-columns: 1fr;
	}

	.dashboard-command,
	.dashboard-map-strip {
		align-items: stretch;
		flex-direction: column;
	}

	.dashboard-metric-card {
		min-height: 8rem;
	}
}

.page-wrapper {
	background: var(--pdr-page) !important;
	min-height: 100vh !important;
}

.page-header {
	background: #f8fafc !important;
	border-bottom: 1px solid #d9e2ec !important;
	margin: 0 0 1.1rem !important;
	padding: 1rem 0 !important;
}

.admin-topbar,
.public-nav,
.user-topbar {
	background: #fff !important;
	backdrop-filter: none !important;
	border-bottom: 1px solid #d9e2ec !important;
	box-shadow: 0 10px 26px rgba(6, 26, 64, .08) !important;
}

.admin-sidebar {
	background: linear-gradient(180deg, #005baa 0%, #034b96 38%, #061a40 100%) !important;
	box-shadow: 14px 0 34px rgba(6, 26, 64, .22) !important;
}

.admin-brand {
	background: rgba(255, 255, 255, .08) !important;
	border-bottom: 1px solid rgba(255, 255, 255, .22) !important;
}

.admin-menu-link {
	color: rgba(255, 255, 255, .95) !important;
	font-weight: 800 !important;
}

.admin-menu-item.active > .admin-menu-link {
	background: #fff !important;
	box-shadow: 0 16px 30px rgba(0, 0, 0, .22) !important;
	color: var(--pdr-blue-dark) !important;
}

.admin-menu-icon {
	background: rgba(255, 255, 255, .16) !important;
	border-color: rgba(255, 255, 255, .18) !important;
}

.admin-card,
.card,
.data-workspace,
.member-panel,
.registration-pending-card,
.reading-checkin-panel,
.stat-card,
.service-tab-card,
.member-status-card,
.reading-token-card {
	background: #fff !important;
	border: 1px solid var(--pdr-line) !important;
	border-radius: 10px !important;
	box-shadow: var(--pdr-shadow) !important;
	overflow: hidden !important;
}

.admin-card .card-header,
.card-header,
.workspace-header {
	background: linear-gradient(90deg, rgba(0, 91, 170, .08), rgba(255, 255, 255, 0) 52%), #fff !important;
	border-bottom: 1px solid var(--pdr-line) !important;
	padding: .9rem 1rem !important;
}

.admin-card .card-header::before,
.card-header::before,
.workspace-header::before {
	background: var(--pdr-blue) !important;
	border-radius: 999px !important;
	content: "" !important;
	display: inline-block !important;
	height: 1.35rem !important;
	margin-right: .65rem !important;
	vertical-align: middle !important;
	width: .24rem !important;
}

.card-title {
	color: var(--pdr-ink) !important;
	display: inline-flex !important;
	font-weight: 850 !important;
	margin: 0 !important;
	vertical-align: middle !important;
}

.workspace-filter,
.service-filter-form,
.data-workspace > .card-body.workspace-filter {
	background: var(--pdr-soft) !important;
	border-bottom: 1px solid var(--pdr-line) !important;
	padding: .75rem 1rem !important;
}

.workspace-filter .row,
.service-filter-form.row {
	--tblr-gutter-x: .55rem;
	--tblr-gutter-y: .55rem;
}

.workspace-filter .form-label {
	color: #31506e !important;
	font-size: .68rem !important;
	font-weight: 850 !important;
	letter-spacing: .02em !important;
	margin-bottom: .25rem !important;
	text-transform: uppercase !important;
}

.workspace-filter .form-control,
.workspace-filter .form-select {
	min-height: 2.55rem !important;
}

.card > .table-responsive,
.admin-card > .table-responsive,
.data-workspace .table-responsive {
	max-height: min(68vh, 720px);
	overflow: auto !important;
	scrollbar-gutter: stable both-edges;
}

.admin-table-scroll {
	max-height: calc(100vh - 24rem) !important;
	min-height: 18rem;
}

.table-responsive .table {
	margin-bottom: 0 !important;
}

.form-control,
.form-select,
.input-group-text {
	background-color: #fff !important;
	border-color: #cbd8e6 !important;
	color: var(--pdr-ink) !important;
}

.form-control:focus,
.form-select:focus {
	border-color: var(--pdr-blue) !important;
	box-shadow: 0 0 0 .2rem rgba(0, 91, 170, .14) !important;
}

.data-workspace .table thead th,
.table thead th {
	background: #eef4fb !important;
	border-bottom: 1px solid #cbd8e6 !important;
	color: #30465f !important;
	font-weight: 850 !important;
	position: sticky;
	top: 0;
	z-index: 4;
}

.data-workspace .table td,
.table td {
	border-top-color: #e0e7f0 !important;
}

.table-admin-list th,
.table-admin-list td {
	white-space: nowrap;
}

.table-admin-list td:first-child,
.table-admin-list th:first-child {
	min-width: 18rem;
}

.responsive-footer {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: .75rem;
	justify-content: space-between;
}

.workspace-tabs,
.rbac-tabs,
.nav-tabs {
	background: #e8f0f8 !important;
	border: 1px solid #cbd8e6 !important;
	border-radius: 10px !important;
	padding: .3rem !important;
}

.workspace-tabs .nav-link.active,
.rbac-tab.active,
.nav-tabs .nav-link.active {
	background: var(--pdr-blue) !important;
	box-shadow: 0 12px 24px rgba(0, 91, 170, .24) !important;
	color: #fff !important;
}

.btn {
	border-radius: 8px !important;
	font-weight: 850 !important;
}

.btn-primary {
	background: var(--pdr-blue) !important;
	border-color: var(--pdr-blue) !important;
	box-shadow: 0 12px 24px rgba(0, 91, 170, .22) !important;
	color: #fff !important;
}

.btn-primary:hover {
	background: var(--pdr-blue-dark) !important;
	border-color: var(--pdr-blue-dark) !important;
}

.btn-outline-primary {
	background: #fff !important;
	border-color: #a8c7ea !important;
	color: var(--pdr-blue-dark) !important;
}

.btn-outline-primary:hover {
	background: #eaf3ff !important;
	border-color: var(--pdr-blue) !important;
	color: var(--pdr-blue-dark) !important;
}

body.public-page {
	background: #fff !important;
	color: var(--pdr-ink) !important;
}

.public-brand-text,
.public-links a:not(.btn) {
	color: var(--pdr-ink) !important;
}

.public-hero-compact {
	background: linear-gradient(90deg, #fff 0%, #fbfcfe 48%, #eef4fb 100%) !important;
	border-bottom: 1px solid #d9e2ec !important;
	column-gap: clamp(1rem, 2.6vw, 2.75rem) !important;
	display: grid !important;
	grid-template-columns: minmax(20rem, .78fr) minmax(27rem, 1.22fr) !important;
	height: auto !important;
	min-height: 0 !important;
	overflow: visible !important;
	padding: 5.25rem clamp(1rem, 3.2vw, 3rem) 1.35rem !important;
	position: relative !important;
}

.public-hero-compact::after {
	display: none !important;
}

.public-hero-compact .public-map {
	border: 1px solid #cbd8e6 !important;
	border-radius: 18px !important;
	box-shadow: 0 24px 60px rgba(6, 26, 64, .16) !important;
	filter: saturate(1.05) contrast(1.07) !important;
	grid-column: 2 !important;
	grid-row: 1 !important;
	height: clamp(16rem, 31vw, 24rem) !important;
	inset: auto !important;
	justify-self: stretch !important;
	min-height: 0 !important;
	opacity: 1 !important;
	overflow: hidden !important;
	position: relative !important;
	width: 100% !important;
	z-index: 1 !important;
}

.public-hero-compact .hero-logo-row {
	display: none !important;
}

.public-hero-compact .eyebrow {
	display: none !important;
}

.public-hero-compact .public-hero-copy {
	grid-column: 1 !important;
	grid-row: 1 !important;
	max-width: none !important;
	padding: 0 !important;
	position: relative !important;
	z-index: 3 !important;
}

.public-hero-copy h1 {
	color: var(--pdr-navy) !important;
	font-size: clamp(2.35rem, 4.2vw, 4.75rem) !important;
	line-height: .98 !important;
	margin-top: 0 !important;
	max-width: 14ch !important;
}

.public-hero-compact .lead {
	color: #30465f !important;
	font-size: clamp(.98rem, 1.05vw, 1.08rem) !important;
	line-height: 1.62 !important;
	max-width: 32rem !important;
}

.public-hero-compact .public-service-strip {
	display: none !important;
}

.hero-logo-card,
.public-agency-strip,
.public-service-strip span,
.public-hero-stats,
.public-stat,
.landing-book,
.public-network-item,
.public-book-card,
.register-intro,
.register-form-panel {
	background: #fff !important;
	border: 1px solid var(--pdr-line) !important;
	box-shadow: var(--pdr-shadow) !important;
}

.public-hero-compact .public-hero-stats {
	display: none !important;
}

.public-hero-stats {
	border-top: 3px solid var(--pdr-gold) !important;
	max-width: 33rem !important;
	margin-top: .85rem !important;
}

.public-scroll-hint {
	display: none !important;
}

.public-section {
	border-bottom: 1px solid #e0e7f0 !important;
	padding: 2.55rem 0 !important;
}

/* Login */
.auth-page-v2 {
	background:
		linear-gradient(135deg, #f8fafc 0%, #eef4fb 54%, #fff 100%) !important;
	min-height: 100vh;
}

.auth-shell-v2 {
	display: grid;
	gap: 1rem;
	grid-template-columns: minmax(0, .92fr) minmax(24rem, 1fr);
	margin: 0 auto;
	max-width: 62rem;
	width: 100%;
}

.auth-brand-panel,
.auth-card-panel {
	background: #fff;
	border: 1px solid var(--pdr-line);
	border-radius: 14px;
	box-shadow: var(--pdr-shadow-strong);
}

.auth-brand-panel {
	background:
		linear-gradient(160deg, rgba(0, 91, 170, .95), rgba(6, 26, 64, .98)),
		#005baa;
	color: #fff;
	overflow: hidden;
	padding: 2rem;
	position: relative;
}

.auth-brand-panel::after {
	border: 1px solid rgba(255, 255, 255, .18);
	border-radius: 999px;
	content: "";
	height: 17rem;
	position: absolute;
	right: -7rem;
	top: -5rem;
	width: 17rem;
}

.auth-logo-row {
	align-items: center;
	display: flex;
	gap: .7rem;
	margin-bottom: 1.7rem;
	position: relative;
	z-index: 1;
}

.auth-logo-row .brand-logo-shell {
	border-color: rgba(255, 255, 255, .55);
	box-shadow: 0 14px 30px rgba(0, 0, 0, .2);
}

.auth-brand-panel h1 {
	font-family: var(--pustaka-font-display);
	font-size: clamp(2.35rem, 4.5vw, 4rem);
	font-weight: 850;
	line-height: .98;
	margin: 0 0 1rem;
	position: relative;
	z-index: 1;
}

.auth-brand-panel p {
	color: rgba(255, 255, 255, .84);
	font-size: 1rem;
	line-height: 1.7;
	margin: 0;
	position: relative;
	z-index: 1;
}

.auth-brand-panel .eyebrow {
	color: rgba(255, 255, 255, .82) !important;
}

.auth-benefits {
	display: grid;
	gap: .65rem;
	margin-top: 1.6rem;
	position: relative;
	z-index: 1;
}

.auth-benefits span {
	align-items: center;
	background: rgba(255, 255, 255, .12);
	border: 1px solid rgba(255, 255, 255, .18);
	border-radius: 10px;
	display: flex;
	font-weight: 800;
	gap: .55rem;
	padding: .7rem .8rem;
}

.auth-card-panel {
	padding: 2rem;
}

.auth-card-panel h2 {
	color: var(--pdr-navy);
	font-size: 1.65rem;
	font-weight: 900;
	margin: 0;
}

.auth-card-panel .form-footer {
	margin-top: 1rem;
}

.auth-secondary-link {
	background: #f7fafc;
	border: 1px solid var(--pdr-line);
	border-radius: 10px;
	color: #30465f;
	margin-top: 1rem;
	padding: .85rem;
	text-align: center;
}

.auth-secondary-link a {
	color: var(--pdr-blue-dark);
	font-weight: 900;
	text-decoration: none;
}

/* Register */
.public-register-main {
	background: linear-gradient(180deg, #f8fafc 0%, #edf2f7 100%) !important;
	padding: 6rem 0 2.5rem !important;
}

.register-shell-v2 {
	display: grid !important;
	gap: 1rem !important;
	grid-template-columns: minmax(0, 28rem) minmax(0, 1fr) !important;
	align-items: start !important;
	max-width: 100% !important;
	min-width: 0 !important;
}

.register-intro-v2 {
	background:
		linear-gradient(160deg, #fff, #f8fafc) !important;
	border-radius: 14px !important;
	padding: 1.35rem !important;
	position: sticky;
	top: 5.5rem;
	max-width: 100% !important;
	min-width: 0 !important;
}

.register-intro-v2 h1 {
	color: var(--pdr-navy) !important;
	font-size: clamp(1.85rem, 3vw, 3rem) !important;
	line-height: 1.05 !important;
	margin-bottom: .75rem !important;
	overflow-wrap: anywhere !important;
}

.register-intro-v2 p {
	color: #30465f !important;
	font-size: .98rem !important;
	line-height: 1.68 !important;
	overflow-wrap: anywhere !important;
}

.register-rule-list {
	gap: .55rem !important;
}

.register-rule-list div {
	background: #f7fafc !important;
	border: 1px solid var(--pdr-line) !important;
	border-radius: 10px !important;
	box-shadow: none !important;
	min-width: 0 !important;
}

.register-rule-list span {
	min-width: 0 !important;
	overflow-wrap: anywhere !important;
}

.register-form-panel-v2 {
	border-radius: 14px !important;
	max-width: 100% !important;
	min-width: 0 !important;
	padding: 0 !important;
}

.register-form-head {
	background:
		linear-gradient(90deg, rgba(0, 91, 170, .08), rgba(255, 255, 255, 0) 54%),
		#fff;
	border-bottom: 1px solid var(--pdr-line);
	padding: 1.15rem 1.25rem;
}

.register-form-head h2 {
	color: var(--pdr-navy);
	font-size: 1.35rem;
	font-weight: 900;
	margin: 0;
	overflow-wrap: anywhere;
}

.register-form-head p {
	color: var(--pdr-muted);
	margin: .25rem 0 0;
}

.public-member-register-form {
	padding: 1.25rem !important;
}

.register-form-panel-v2 > .alert {
	margin: 1.25rem 1.25rem 0 !important;
}

.registration-files .form-control {
	background: #f8fafc !important;
}

.registration-files {
	display: grid;
	gap: .9rem;
	grid-template-columns: minmax(0, .65fr) minmax(0, 1.35fr);
}

.public-member-register-form fieldset {
	min-width: 0;
}

.identity-choice-group {
	display: grid;
	gap: .65rem;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.identity-choice {
	align-items: flex-start;
	background: #f8fafc;
	border: 1px solid var(--pdr-line);
	border-radius: 10px;
	cursor: pointer;
	display: flex;
	gap: .55rem;
	margin: 0;
	padding: .72rem;
}

.identity-choice:has(input:checked) {
	background: #eef7ff;
	border-color: var(--pdr-blue);
	box-shadow: inset 0 0 0 1px var(--pdr-blue);
}

.identity-choice input {
	flex: 0 0 auto;
	margin-top: .22rem;
}

.identity-choice span {
	display: grid;
	gap: .12rem;
}

.identity-choice strong {
	color: var(--pdr-navy);
	font-size: .88rem;
}

.identity-choice small {
	color: var(--pdr-muted);
	font-size: .76rem;
	line-height: 1.35;
}

.outside-rembang-fields[hidden],
.identity-file[hidden] {
	display: none !important;
}

.national-address-card {
	border: 1px solid var(--pdr-line);
	border-radius: 10px;
	background: #f8fbff;
	padding: 1rem;
}

.national-address-card h3 {
	margin: 0 0 .85rem;
	color: var(--pdr-navy);
	font-size: .95rem;
	font-weight: 800;
}

.register-submit-bar {
	background: #f7fafc;
	border-top: 1px solid var(--pdr-line);
	margin: 1rem -1.25rem -1.25rem;
	padding: 1rem 1.25rem;
}

.guestbook-page {
	background: #eef3f8 !important;
	color: var(--pdr-ink) !important;
	font-family: var(--tblr-font-sans-serif) !important;
}

.guestbook-shell {
	padding: 5.6rem 0 2rem;
}

.guestbook-grid {
	display: grid;
	gap: 1rem;
	grid-template-columns: minmax(20rem, .85fr) minmax(28rem, 1.15fr);
}

.guestbook-qr-panel,
.guestbook-form-panel {
	background: #fff;
	border: 1px solid var(--pdr-line);
	border-radius: 14px;
	box-shadow: var(--pdr-shadow);
	padding: 1.25rem;
}

.guestbook-qr-panel h1 {
	color: var(--pdr-navy);
	font-family: "Fraunces", Georgia, serif;
	font-size: clamp(2.1rem, 4vw, 4.2rem);
	line-height: 1;
	margin: .25rem 0 .7rem;
}

.guestbook-qr-panel p {
	color: #40566f;
	font-size: 1rem;
	line-height: 1.6;
	max-width: 34rem;
}

.guestbook-qr-box {
	align-items: center;
	background: linear-gradient(180deg, #f8fbff, #eef5fb);
	border: 1px solid #cbd8e6;
	border-radius: 18px;
	display: flex;
	justify-content: center;
	margin-top: 1.15rem;
	padding: 1rem;
}

.guestbook-token {
	align-items: center;
	background: #061a40;
	border-radius: 12px;
	color: #fff;
	display: flex;
	gap: .75rem;
	justify-content: space-between;
	margin-top: 1rem;
	padding: .9rem 1rem;
}

.guestbook-token span {
	color: rgba(255, 255, 255, .72);
	font-size: .78rem;
	font-weight: 800;
	text-transform: uppercase;
}

.guestbook-token strong {
	font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
	font-size: .98rem;
	overflow-wrap: anywhere;
}

.guestbook-tabs {
	background: #edf4fb;
	border: 1px solid #cbd8e6;
	border-radius: 12px;
	display: grid;
	gap: .35rem;
	grid-template-columns: repeat(2, 1fr);
	margin-bottom: 1rem;
	padding: .35rem;
}

.guestbook-tabs button {
	align-items: center;
	background: transparent;
	border: 0;
	border-radius: 9px;
	color: #0b315f;
	display: flex;
	font-weight: 800;
	gap: .4rem;
	justify-content: center;
	padding: .7rem .85rem;
}

.guestbook-tabs button.active {
	background: #0057a8;
	box-shadow: 0 10px 20px rgba(0, 87, 168, .2);
	color: #fff;
}

.guestbook-tab-panel {
	display: none;
}

.guestbook-tab-panel.active {
	display: block;
}

.guestbook-search-state {
	color: #64748b;
	font-size: .78rem;
	font-weight: 700;
	margin-top: .35rem;
}

.guestbook-member-results {
	display: grid;
	gap: .55rem;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	min-height: 0;
}

.guestbook-member-option {
	background: #f8fbff;
	border: 1px solid #cbd8e6;
	border-radius: 12px;
	color: var(--pdr-ink);
	cursor: pointer;
	display: block;
	padding: .75rem .85rem;
	text-align: left;
	transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
	width: 100%;
}

.guestbook-member-option:hover,
.guestbook-member-option.is-selected {
	border-color: #0057a8;
	box-shadow: 0 12px 24px rgba(0, 87, 168, .16);
	transform: translateY(-1px);
}

.guestbook-member-option strong {
	color: var(--pdr-navy);
	display: block;
	font-size: .95rem;
	line-height: 1.25;
}

.guestbook-member-option span {
	color: #52677f;
	display: block;
	font-size: .78rem;
	margin-top: .2rem;
}

.guestbook-member-option code {
	background: #e9f2fb;
	border: 1px solid #c7d9eb;
	border-radius: 8px;
	color: #064b8d;
	display: inline-block;
	font-size: .76rem;
	margin-top: .45rem;
	padding: .15rem .35rem;
}

.guestbook-member-status {
	border-radius: 999px;
	display: inline-flex !important;
	font-size: .68rem !important;
	font-weight: 900;
	margin-left: .35rem;
	padding: .12rem .35rem;
	text-transform: uppercase;
}

.guestbook-member-status.active {
	background: #dcfce7;
	color: #166534;
}

.guestbook-member-status.expired,
.guestbook-member-status.inactive,
.guestbook-member-status.blocked,
.guestbook-member-status.unknown {
	background: #fff7ed;
	color: #9a3412;
}

.guestbook-setting-preview h3 {
	color: var(--pdr-navy);
	font-family: "Fraunces", Georgia, serif;
	font-size: 1.85rem;
	line-height: 1.05;
	margin: .25rem 0 .55rem;
}

.guestbook-setting-preview p {
	color: #53677e;
	line-height: 1.55;
}

.guestbook-setting-meter {
	background: #e8eef5;
	border-radius: 999px;
	height: .55rem;
	overflow: hidden;
}

.guestbook-setting-meter span {
	background: linear-gradient(90deg, #0057a8, #d6a419);
	border-radius: inherit;
	display: block;
	height: 100%;
}

.report-filter-panel,
.report-period-strip,
.report-kpi,
.report-card {
	background: #fff !important;
	border: 1px solid var(--pdr-line) !important;
	box-shadow: var(--pdr-shadow) !important;
}

.report-filter-panel {
	border-radius: 12px;
	margin-bottom: 1rem;
	padding: 1rem;
}

.report-period-strip {
	align-items: center;
	border-radius: 12px;
	display: flex;
	gap: 1rem;
	justify-content: space-between;
	margin-bottom: 1rem;
	padding: 1rem 1.1rem;
}

.report-period-strip strong {
	color: var(--pdr-navy);
	display: block;
	font-size: 1.05rem;
}

.report-period-strip span {
	color: #54687f;
	display: block;
	font-size: .86rem;
	margin-top: .1rem;
}

.report-kpi-grid {
	display: grid;
	gap: .85rem;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	margin-bottom: 1rem;
}

.report-kpi {
	border-radius: 12px;
	padding: 1rem;
	position: relative;
	overflow: hidden;
}

.report-kpi::before {
	background: var(--pdr-gold);
	content: "";
	height: 3px;
	left: 0;
	position: absolute;
	right: 0;
	top: 0;
}

.report-kpi span {
	color: #566b83;
	display: block;
	font-size: .75rem;
	font-weight: 900;
	letter-spacing: 0;
	text-transform: uppercase;
}

.report-kpi strong {
	color: var(--pdr-blue-dark);
	display: block;
	font-size: clamp(1.7rem, 2.4vw, 2.35rem);
	line-height: 1.05;
	margin-top: .25rem;
}

.report-kpi small {
	color: #65778c;
	display: block;
	margin-top: .25rem;
}

.report-card {
	border-radius: 12px !important;
	overflow: hidden;
}

.secure-pdfjs-reader {
	background: #eef4fb;
	border-radius: 12px;
	display: grid;
	gap: .75rem;
	padding: .75rem;
}

.secure-pdfjs-controls {
	align-items: center;
	display: flex;
	gap: .75rem;
	justify-content: center;
}

.secure-pdfjs-page-state {
	background: #fff;
	border: 1px solid #cbd8e6;
	border-radius: 999px;
	color: var(--pdr-navy);
	font-weight: 900;
	min-width: 5.5rem;
	padding: .4rem .75rem;
	text-align: center;
}

.secure-pdfjs-canvas-shell {
	background: #172238;
	border-radius: 10px;
	min-height: 55vh;
	overflow: auto;
	padding: .75rem;
	position: relative;
	text-align: center;
}

.secure-pdfjs-canvas-shell canvas {
	background: #fff;
	box-shadow: 0 18px 45px rgba(6, 26, 64, .35);
	max-width: 100%;
}

.secure-reader-watermark {
	color: rgba(0, 87, 168, .10);
	font-size: clamp(.8rem, 1.7vw, 1.45rem);
	font-weight: 600;
	left: 50%;
	line-height: 1.28;
	pointer-events: none;
	position: absolute;
	text-align: center;
	text-transform: uppercase;
	top: 50%;
	transform: translate(-50%, -50%) rotate(-22deg);
	width: 62%;
	z-index: 2;
}

.secure-pdfjs-hint {
	color: #53677e;
	font-size: .82rem;
	font-weight: 700;
	text-align: center;
}

@media (max-width: 1199.98px) {
	.public-hero-compact .public-map {
		height: clamp(15rem, 30vw, 21rem) !important;
	}
}

@media (max-width: 991.98px) {
	.public-hero-compact {
		grid-template-columns: 1fr !important;
		padding: 4.85rem 1rem 1.2rem !important;
	}

	.public-hero-compact .public-map {
		border-radius: 14px !important;
		grid-column: 1 !important;
		grid-row: 2 !important;
		height: 13.5rem !important;
		margin-top: .9rem !important;
		opacity: 1 !important;
		width: 100% !important;
	}

	.public-hero-compact::after {
		display: none !important;
	}

	.auth-shell-v2,
	.register-shell-v2 {
		grid-template-columns: 1fr !important;
	}

	.register-intro-v2 {
		position: static;
	}

	.guestbook-grid {
		grid-template-columns: 1fr;
	}

	.guestbook-member-results {
		grid-template-columns: 1fr;
	}

	.report-kpi-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.report-period-strip {
		align-items: stretch;
		flex-direction: column;
	}
}

@media (max-width: 767.98px) {
	.report-kpi-grid {
		grid-template-columns: 1fr !important;
	}

	.report-filter-panel {
		padding: .8rem;
	}

	.public-register-page,
	.public-register-page body,
	.public-register-page main {
		max-width: 100vw !important;
		min-width: 0 !important;
		overflow-x: hidden !important;
		width: 100vw !important;
	}

	.public-register-page * {
		max-width: 100% !important;
	}

	.public-register-page .row {
		margin-left: 0 !important;
		margin-right: 0 !important;
	}

	.public-register-page [class*="col-"] {
		padding-left: 0 !important;
		padding-right: 0 !important;
	}

	.public-register-main {
		padding: 4.8rem 0 calc(1.5rem + env(safe-area-inset-bottom)) !important;
	}

	.public-register-main .container-xl,
	.public-register-main .container {
		max-width: 100% !important;
		padding-left: .5rem !important;
		padding-right: .5rem !important;
		width: 100% !important;
	}

	.register-shell-v2,
	.register-intro-v2,
	.register-form-panel-v2,
	.public-member-register-form,
	.register-form-head {
		box-sizing: border-box !important;
		max-width: 100% !important;
		min-width: 0 !important;
		width: 100% !important;
	}

	.register-intro-v2,
	.register-form-panel-v2 {
		justify-self: stretch !important;
		width: 100% !important;
	}

	.register-intro-v2 h1,
	.register-form-head h2 {
		font-size: clamp(1.5rem, 7.8vw, 2.05rem) !important;
		max-width: 100% !important;
		overflow-wrap: anywhere !important;
	}

	.register-intro-v2 p,
	.register-rule-list span,
	.register-form-head p {
		max-width: 100% !important;
		min-width: 0 !important;
		overflow-wrap: anywhere !important;
	}

	.register-rule-list div {
		min-width: 0 !important;
	}

	.registration-files,
	.identity-choice-group {
		grid-template-columns: 1fr;
	}

	.register-submit-bar {
		margin-bottom: 0;
		padding-bottom: calc(1rem + env(safe-area-inset-bottom));
	}

	.public-hero .btn-list,
	.public-service-strip,
	.public-hero-stats {
		display: grid !important;
		grid-template-columns: 1fr !important;
		width: 100% !important;
	}

	.public-hero .btn-list .btn,
	.public-service-strip span {
		justify-content: center !important;
		min-width: 0 !important;
		width: 100% !important;
	}

	.public-hero-compact .public-hero-copy {
		box-sizing: border-box !important;
		padding: 1.65rem 1rem 1.2rem !important;
		width: 100% !important;
	}

	.auth-page-v2 .container {
		padding-left: .85rem;
		padding-right: .85rem;
	}

	.auth-brand-panel,
	.auth-card-panel,
	.register-intro-v2,
	.register-form-panel-v2 {
		border-radius: 10px !important;
	}

	.auth-brand-panel,
	.auth-card-panel {
		padding: 1.2rem;
	}

	.public-mobile-nav {
		box-sizing: border-box !important;
		display: grid !important;
		gap: 0 !important;
		grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
		left: 0 !important;
		max-width: 100vw !important;
		right: 0 !important;
		width: 100vw !important;
	}
}
/* Literacy events */
.event-dot {
  width: 14px;
  height: 44px;
  border-radius: 999px;
  background: var(--event-color, #005baa);
  box-shadow: 0 10px 22px rgba(0, 91, 170, .18);
  flex: 0 0 auto;
}

.event-side-metrics {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.event-detail-card .event-poster {
  width: 172px;
  min-height: 220px;
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(145deg, #061b49, #005baa);
  box-shadow: 0 18px 42px rgba(6, 27, 73, .18);
  flex: 0 0 172px;
}

.event-detail-card .event-poster img,
.event-public-detail-poster,
.event-public-poster {
  background-size: cover;
  background-position: center;
}

.event-detail-card .event-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.event-detail-card .event-poster > div,
.event-public-poster i,
.event-public-detail-poster i {
  color: #fff;
}

.event-detail-card .event-poster > div {
  height: 100%;
  display: grid;
  place-items: center;
  text-align: center;
  gap: 8px;
  padding: 20px;
  font-weight: 800;
}

.event-detail-card .event-poster i {
  font-size: 42px;
}

.mini-info {
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid #d8e4f2;
  border-radius: 12px;
  background: #f8fbff;
  color: #061b49;
  font-weight: 700;
}

.mini-info i {
  color: #005baa;
  font-size: 20px;
}

.prose-lite {
  color: #253653;
  line-height: 1.75;
}

.event-registration-action {
  min-width: 230px;
}

.agenda-search-band {
  padding-top: 34px;
}

.event-public-card {
  display: block;
  height: 100%;
  overflow: hidden;
  border: 1px solid #d8e4f2;
  border-radius: 18px;
  background: #fff;
  color: #061b49;
  text-decoration: none;
  box-shadow: 0 16px 36px rgba(6, 27, 73, .08);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.event-public-card:hover {
  transform: translateY(-3px);
  border-color: #9fc2e8;
  box-shadow: 0 24px 48px rgba(6, 27, 73, .13);
  text-decoration: none;
}

.event-public-poster {
  position: relative;
  height: 190px;
  display: grid;
  place-items: center;
  background-color: #061b49;
  background-image: linear-gradient(145deg, #061b49, #005baa);
}

.event-public-poster i {
  font-size: 48px;
  opacity: .88;
}

.event-category-pill {
  position: absolute;
  left: 14px;
  bottom: 14px;
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 10px;
  border-radius: 999px;
  color: #fff;
  background: var(--event-color, #005baa);
  font-size: 12px;
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(6, 27, 73, .2);
}

.event-public-body {
  padding: 18px;
}

.event-public-body h2 {
  margin: 8px 0;
  font-size: 20px;
  line-height: 1.25;
}

.event-public-body p {
  min-height: 48px;
  color: #526179;
}

.event-date-line,
.event-public-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #005baa;
  font-size: 13px;
  font-weight: 800;
}

.event-public-meta {
  flex-wrap: wrap;
  color: #334155;
}

.event-public-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.event-public-detail {
  overflow: hidden;
  border: 1px solid #d8e4f2;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 20px 48px rgba(6, 27, 73, .09);
}

.event-public-detail-poster {
  min-height: 320px;
  display: grid;
  place-items: center;
  background-color: #061b49;
  background-image: linear-gradient(145deg, #061b49, #005baa);
}

.event-public-detail-poster i {
  font-size: 64px;
}

.event-public-detail-body {
  padding: 28px;
}

.event-public-detail-body h1 {
  max-width: 760px;
  margin: 6px 0 10px;
  font-family: "Fraunces", serif;
  font-size: clamp(36px, 5vw, 64px);
  line-height: .98;
  color: #061b49;
}

.event-public-meta-wide {
  gap: 14px;
  margin-top: 18px;
}

.public-registration-card {
  border: 1px solid #d8e4f2;
  border-radius: 18px;
  box-shadow: 0 18px 42px rgba(6, 27, 73, .08);
}

.event-ticket-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 22px;
  align-items: start;
  max-width: 1040px;
  margin: 0 auto;
}

.event-ticket-card,
.event-ticket-qr-card {
  border: 1px solid #d8e4f2;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 20px 48px rgba(6, 27, 73, .1);
}

.event-ticket-card {
  padding: 26px;
}

.event-ticket-head {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e7edf5;
}

.event-ticket-head img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  border: 1px solid #d8e4f2;
  border-radius: 14px;
  padding: 6px;
}

.event-ticket-head h1 {
  margin: 2px 0 0;
  font-size: 26px;
  line-height: 1.2;
}

.event-ticket-event-links {
  margin-top: 18px;
  padding: 18px;
  border: 1px solid #b8d5fa;
  border-radius: 16px;
  background: linear-gradient(135deg, #f0f7ff, #f7fbff);
}

.event-ticket-event-links-copy {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.event-ticket-links-icon {
  display: grid;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  place-items: center;
  border-radius: 12px;
  background: #dcecff;
  color: #155eef;
  font-size: 20px;
}

.event-ticket-event-links h2 {
  margin: 1px 0 4px;
  color: #061b49;
  font-size: 17px;
  font-weight: 800;
}

.event-ticket-event-links p {
  margin: 0;
  color: #526174;
  font-size: 14px;
}

.event-ticket-event-link-list {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.event-ticket-event-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid #d4e4f7;
  border-radius: 12px;
  background: #fff;
  color: #155eef;
  font-weight: 700;
  text-decoration: none;
}

.event-ticket-event-link:hover {
  border-color: #8bb9f1;
  background: #fbfdff;
  color: #124da8;
}

.event-ticket-event-link small {
  display: block;
  margin-top: 3px;
  color: #64748b;
  font-size: 12px;
  font-weight: 500;
}

.event-ticket-event-link strong {
  flex: 0 0 auto;
  font-size: 13px;
}

.event-ticket-whatsapp-join {
  position: relative;
  overflow: hidden;
  margin-top: 20px;
  padding: 22px;
  border: 2px solid #8bd4a5;
  border-radius: 18px;
  background: linear-gradient(135deg, #effcf3, #dcf6e5);
  box-shadow: 0 12px 28px rgba(21, 128, 61, .12);
}

.event-ticket-whatsapp-heading {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.event-ticket-whatsapp-icon {
  display: grid;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  place-items: center;
  border-radius: 15px;
  background: #16a34a;
  color: #fff;
  font-size: 27px;
  box-shadow: 0 5px 14px rgba(22, 163, 74, .24);
}

.event-ticket-whatsapp-eyebrow {
  display: block;
  margin: 1px 0 3px;
  color: #15803d;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .09em;
}

.event-ticket-whatsapp-heading h2 {
  margin: 0 0 4px;
  color: #14532d;
  font-size: 20px;
  font-weight: 900;
  line-height: 1.25;
}

.event-ticket-whatsapp-heading p {
  margin: 0;
  color: #3f6650;
  font-size: 13px;
  line-height: 1.5;
}

.event-ticket-whatsapp-actions {
  display: grid;
  gap: 9px;
  margin-top: 17px;
}

.event-ticket-whatsapp-button {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 60px;
  padding: 12px 16px;
  border: 1px solid #15803d;
  border-radius: 14px;
  background: #16a34a;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 5px 13px rgba(21, 128, 61, .2);
  transition: background .16s ease, transform .16s ease, box-shadow .16s ease;
}

.event-ticket-whatsapp-button:hover,
.event-ticket-whatsapp-button:focus-visible {
  transform: translateY(-1px);
  background: #15803d;
  color: #fff;
  box-shadow: 0 8px 18px rgba(21, 128, 61, .26);
}

.event-ticket-whatsapp-button > i:first-child {
  flex: 0 0 auto;
  font-size: 25px;
}

.event-ticket-whatsapp-button span {
  min-width: 0;
  flex: 1;
}

.event-ticket-whatsapp-button strong,
.event-ticket-whatsapp-button small {
  display: block;
  overflow-wrap: anywhere;
}

.event-ticket-whatsapp-button strong {
  font-size: 15px;
  font-weight: 850;
}

.event-ticket-whatsapp-button small {
  margin-top: 2px;
  color: rgba(255, 255, 255, .86);
  font-size: 12px;
  font-weight: 500;
}

.event-ticket-whatsapp-button .event-ticket-whatsapp-arrow {
  flex: 0 0 auto;
  font-size: 20px;
}

.event-ticket-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 20px;
}

.event-ticket-grid > div,
.ticket-answer-list > div {
  padding: 14px;
  border: 1px solid #e1e9f4;
  border-radius: 14px;
  background: #f8fbff;
}

.ticket-label,
.ticket-answer-list span {
  display: block;
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.ticket-value,
.ticket-answer-list strong {
  display: block;
  margin-top: 4px;
  color: #061b49;
  font-size: 16px;
  font-weight: 900;
}

.ticket-answer-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.event-ticket-qr-card {
  padding: 24px;
  text-align: center;
}

.event-ticket-qr {
  display: inline-grid;
  place-items: center;
  padding: 14px;
  border: 1px solid #d8e4f2;
  border-radius: 18px;
  background: #fff;
}

.event-ticket-qr-small {
  padding: 9px;
}

.qr-attendance-summary {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.qr-attendance-summary i {
  display: inline-grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 14px;
  color: #005baa;
  background: #eaf3ff;
  font-size: 22px;
}

.qr-attendance-summary p {
  margin: 3px 0 0;
  color: #64748b;
  font-size: 13px;
  line-height: 1.45;
}

.event-admin-qr {
  display: inline-grid;
  place-items: center;
  padding: 14px;
  border: 1px solid #d8e4f2;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(6, 27, 73, .12);
}

.event-qr-event-list .list-group-item.active {
  color: #061b49;
  border-color: #9fc2e8;
  background: #eaf3ff;
}

.event-qr-builder {
  border-color: #cfe0f3;
}

.event-qr-control-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e1e9f4;
}

.event-qr-control-head h2 {
  max-width: 620px;
  margin: 4px 0 0;
  color: #061b49;
  font-size: 18px;
  line-height: 1.35;
}

.event-qr-print-card {
  overflow: hidden;
  border: 1px solid #cfe0f3;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 24px 56px rgba(6, 27, 73, .11);
}

.event-qr-print-head,
.event-qr-print-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  background: #f6faff;
}

.event-qr-print-head img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  border: 1px solid #d8e4f2;
  border-radius: 15px;
  padding: 6px;
  background: #fff;
}

.event-qr-print-head h2 {
  margin: 2px 0 0;
  color: #061b49;
  font-size: 22px;
}

.event-qr-print-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 28px;
  align-items: center;
  padding: 34px;
}

.event-qr-type {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 10px;
  border-radius: 999px;
  color: #005baa;
  background: #eaf3ff;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.event-qr-print-body h1 {
  max-width: 720px;
  margin: 14px 0 12px;
  color: #061b49;
  font-family: "Fraunces", serif;
  font-size: clamp(38px, 5vw, 72px);
  line-height: .98;
}

.event-qr-print-body p {
  max-width: 640px;
  color: #526179;
  font-size: 17px;
  line-height: 1.6;
}

.event-qr-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 22px;
}

.event-qr-info-grid div {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid #d8e4f2;
  border-radius: 13px;
  background: #f8fbff;
  color: #061b49;
  font-weight: 800;
}

.event-qr-info-grid i {
  color: #005baa;
  font-size: 20px;
}

.event-qr-box-wrap {
  display: grid;
  justify-items: center;
  padding: 18px;
  border: 1px solid #d8e4f2;
  border-radius: 24px;
  background: #f6faff;
}

.event-registration-qr {
  display: grid;
  place-items: center;
  padding: 14px;
  border: 1px solid #d8e4f2;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(6, 27, 73, .12);
}

.event-qr-caption {
  max-width: 260px;
  margin-top: 12px;
  color: #334155;
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}

.event-qr-print-footer {
  border-top: 1px solid #d8e4f2;
  color: #526179;
  font-size: 12px;
  font-weight: 800;
}

.event-qr-print-footer span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.event-qr-print-footer strong {
  color: #005baa;
  text-transform: uppercase;
}

.event-location-map {
  min-height: 260px;
  border: 1px solid #d8e4f2;
  border-radius: 14px;
  overflow: hidden;
  background: #edf4fb;
}

.library-hours-grid {
  display: grid;
  gap: 10px;
}

.library-hours-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid #d8e4f2;
  border-radius: 12px;
  background: #f8fbff;
}

.library-hours-day {
  min-width: 120px;
  margin: 0;
  font-weight: 800;
}

.library-hours-time {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.library-hours-time .form-control {
  max-width: 130px;
}

.member-action {
  position: relative;
}

.member-action em {
  position: absolute;
  top: 8px;
  right: 9px;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  color: #fff;
  background: #d7263d;
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
  line-height: 22px;
  text-align: center;
  box-shadow: 0 8px 18px rgba(215, 38, 61, .24);
}

.account-hero-panel {
	align-items: center;
	display: grid;
	gap: 1rem;
	grid-template-columns: minmax(0, 1fr) minmax(17rem, 25rem);
	margin-bottom: 1rem;
	padding: 1.1rem;
}

.account-profile-card {
	align-items: center;
	display: flex;
	gap: 1rem;
	min-width: 0;
}

.account-profile-card h1 {
	font-size: clamp(1.6rem, 4vw, 2.4rem);
	line-height: 1.05;
	margin: .2rem 0 .4rem;
}

.account-data-list {
	background: #f7fbff;
	border: 1px solid rgba(0, 91, 170, .14);
	border-radius: 10px;
	display: grid;
	gap: .65rem;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	padding: .85rem;
}

.account-data-list div {
	min-width: 0;
}

.account-data-list span {
	color: #5b7189;
	display: block;
	font-size: .68rem;
	font-weight: 850;
	letter-spacing: .02em;
	text-transform: uppercase;
}

.account-data-list strong {
	color: var(--pdr-ink);
	display: block;
	font-size: .92rem;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.account-settings-grid {
	display: grid;
	gap: 1rem;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.account-settings-grid .member-panel {
	padding: 1rem;
}

@media (max-width: 991.98px) {
	.account-hero-panel,
	.account-settings-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 575.98px) {
	.account-profile-card {
		align-items: flex-start;
	}

	.account-data-list {
		grid-template-columns: 1fr;
	}
}

.member-events-strip {
  margin-top: 24px;
  padding: 22px;
  border: 1px solid #d8e4f2;
  border-radius: 22px;
  background: linear-gradient(135deg, #ffffff 0%, #f4f9ff 100%);
  box-shadow: 0 20px 48px rgba(6, 27, 73, .08);
}

.member-event-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.member-event-card {
  display: flex;
  min-height: 230px;
  flex-direction: column;
  padding: 16px;
  border: 1px solid #d8e4f2;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 14px 32px rgba(6, 27, 73, .06);
}

.member-event-date,
.member-event-meta,
.member-event-badge {
  display: flex;
  align-items: center;
  gap: 7px;
}

.member-event-date {
  color: #005baa;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.member-event-card h3 {
  margin: 10px 0 8px;
  color: #061b49;
  font-size: 18px;
  line-height: 1.25;
}

.member-event-card p {
  min-height: 42px;
  margin-bottom: 12px;
  color: #64748b;
  font-size: 13px;
  line-height: 1.45;
}

.member-event-meta {
  flex-wrap: wrap;
  margin-top: auto;
  color: #334155;
  font-size: 12px;
  font-weight: 750;
}

.member-event-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
}

.member-event-badge {
  min-height: 30px;
  margin-right: auto;
  padding: 6px 9px;
  border-radius: 999px;
  color: #0d6832;
  background: #e8f7ee;
  font-size: 12px;
  font-weight: 900;
}

@media (max-width: 1199.98px) {
  .member-event-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 991.98px) {
  .event-ticket-shell {
    grid-template-columns: 1fr;
  }

  .event-qr-print-body {
    grid-template-columns: 1fr;
  }

  .event-detail-card .event-poster {
    width: 100%;
    min-height: 180px;
    flex-basis: auto;
  }
}

@media (max-width: 575.98px) {
  .event-ticket-grid {
    grid-template-columns: 1fr;
  }

  .member-events-strip {
    padding: 16px;
  }

  .event-qr-control-head {
    flex-direction: column;
  }

  .member-event-grid {
    grid-template-columns: 1fr;
  }

  .member-event-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .member-event-badge {
    width: 100%;
    justify-content: center;
  }

  .library-hours-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .library-hours-time {
    width: 100%;
    justify-content: space-between;
  }

  .library-hours-time .form-control {
    max-width: none;
  }

  .event-public-detail-body {
    padding: 20px;
  }

  .event-public-detail-poster {
    min-height: 220px;
  }
}

/* Member dashboard curation and simplified reader GPS */
.user-dashboard-v2 {
	background:
		linear-gradient(180deg, #f5f8fc 0%, #edf3f9 42%, #f8fafc 100%) !important;
	color: #07182f;
	padding-bottom: 4.5rem;
}

.user-dashboard-v2 .container-xl {
	max-width: 1240px;
}

.member-app-shell {
	align-items: stretch !important;
	gap: 1.1rem !important;
	grid-template-columns: minmax(19rem, .86fr) minmax(0, 1.14fr) !important;
}

.member-digital-pass {
	background:
		linear-gradient(140deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, 0) 34%),
		linear-gradient(135deg, #06214c 0%, #005baa 56%, #0d766f 100%) !important;
	border: 1px solid rgba(255, 255, 255, .2) !important;
	border-radius: 18px !important;
	box-shadow: 0 26px 60px rgba(6, 26, 64, .23) !important;
	min-height: 100%;
}

.member-card-chip {
	background: rgba(255, 255, 255, .92) !important;
	color: #063f86 !important;
}

.member-pass-qr {
	background: rgba(255, 255, 255, .14) !important;
	border-color: rgba(255, 255, 255, .2) !important;
}

.member-pass-qr p,
.member-pass-qr strong {
	color: #fff !important;
}

.member-service-panel {
	background:
		linear-gradient(135deg, rgba(0, 91, 170, .06), rgba(201, 151, 44, .08)),
		#fff !important;
	border-radius: 18px !important;
	padding: 1.25rem !important;
}

.member-service-panel h2 {
	color: #061a40 !important;
	font-size: clamp(1.8rem, 3.5vw, 3rem) !important;
	line-height: 1 !important;
}

.member-action-grid {
	gap: .65rem !important;
	grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}

.member-action {
	background: #fff !important;
	border: 1px solid #d7e4f2 !important;
	border-radius: 12px !important;
	box-shadow: 0 10px 22px rgba(6, 26, 64, .06) !important;
	color: #061a40 !important;
	min-height: 4.9rem !important;
	padding: .85rem !important;
}

.member-action:hover {
	border-color: #9fc2e8 !important;
	box-shadow: 0 16px 34px rgba(6, 26, 64, .12) !important;
	transform: translateY(-2px);
}

.member-action i {
	background: #eaf3ff !important;
	border-radius: 10px !important;
	color: #005baa !important;
	display: inline-grid;
	height: 2.15rem;
	place-items: center;
	width: 2.15rem;
}

.member-status-stack {
	gap: .65rem !important;
	grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}

.member-status-card {
	align-items: center !important;
	background: #f8fbff !important;
	border-radius: 12px !important;
	box-shadow: none !important;
	min-height: 4.6rem;
}

.member-status-card i {
	background: #fff !important;
	border: 1px solid #d7e4f2 !important;
	border-radius: 10px !important;
	color: #005baa !important;
}

.member-alert-gps {
	background: #fffaf0 !important;
	border-color: #f0d48a !important;
	color: #57410e !important;
	margin-top: .9rem;
}

.member-curated-section,
.member-events-strip,
.member-digital-library {
	background: #fff !important;
	border: 1px solid #d7e4f2 !important;
	border-radius: 18px !important;
	box-shadow: 0 20px 48px rgba(6, 26, 64, .08) !important;
	margin-top: 1rem !important;
	padding: 1.1rem !important;
}

.member-curated-layout {
	display: grid;
	gap: 1rem;
	grid-template-columns: minmax(0, 1fr) minmax(17rem, 22rem);
	margin-top: .95rem;
}

.member-curated-books {
	display: grid;
	gap: .85rem;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.member-curated-card {
	background:
		linear-gradient(135deg, rgba(0, 91, 170, .04), rgba(255, 255, 255, 0)),
		#fff;
	border: 1px solid #dbe6f2;
	border-radius: 16px;
	box-shadow: 0 16px 36px rgba(6, 26, 64, .07);
	display: grid;
	gap: .85rem;
	grid-template-columns: 6.4rem minmax(0, 1fr);
	min-height: 13rem;
	overflow: hidden;
	padding: .85rem;
}

.member-curated-cover {
	align-items: center;
	background: linear-gradient(145deg, #eef5fb, #dfeaf5);
	border: 1px solid #d0dcea;
	border-radius: 12px;
	color: #005baa;
	display: flex;
	justify-content: center;
	min-height: 10.8rem;
	overflow: hidden;
	text-decoration: none;
}

.member-curated-cover img {
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.member-curated-cover i {
	font-size: 2.1rem;
}

.member-curated-copy {
	min-width: 0;
}

.member-curated-copy > span {
	color: #005baa;
	display: block;
	font-size: .72rem;
	font-weight: 950;
	letter-spacing: .04em;
	margin-bottom: .35rem;
	text-transform: uppercase;
}

.member-curated-copy h3 {
	color: #061a40;
	font-size: 1.05rem;
	font-weight: 900;
	line-height: 1.25;
	margin: 0 0 .45rem;
}

.member-curated-copy p {
	color: #566b83;
	display: -webkit-box;
	font-size: .85rem;
	line-height: 1.5;
	margin-bottom: .65rem;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	overflow: hidden;
}

.member-curated-meta {
	display: flex;
	flex-wrap: wrap;
	gap: .35rem;
	margin-bottom: .75rem;
}

.member-curated-meta em,
.member-category-chip em {
	background: #edf7f5;
	border: 1px solid #cfe8e3;
	border-radius: 999px;
	color: #0d766f;
	font-size: .7rem;
	font-style: normal;
	font-weight: 850;
	padding: .18rem .45rem;
}

.member-category-panel {
	background:
		linear-gradient(180deg, #061a40 0%, #083f82 100%);
	border-radius: 16px;
	box-shadow: 0 20px 44px rgba(6, 26, 64, .16);
	color: #fff;
	padding: 1rem;
}

.member-category-panel .section-kicker,
.member-category-panel h3 {
	color: #fff;
}

.member-category-panel h3 {
	font-size: 1.22rem;
	font-weight: 950;
	margin: .2rem 0 .85rem;
}

.member-category-list {
	display: grid;
	gap: .55rem;
}

.member-category-chip {
	background: rgba(255, 255, 255, .1);
	border: 1px solid rgba(255, 255, 255, .16);
	border-radius: 12px;
	color: #fff;
	display: grid;
	gap: .25rem;
	padding: .72rem .78rem;
	text-decoration: none;
	transition: background .16s ease, transform .16s ease;
}

.member-category-chip:hover {
	background: rgba(255, 255, 255, .16);
	color: #fff;
	transform: translateY(-1px);
}

.member-category-chip span {
	font-weight: 900;
}

.member-category-chip strong {
	color: rgba(255, 255, 255, .78);
	font-size: .78rem;
}

.member-category-chip em {
	background: rgba(255, 255, 255, .14);
	border-color: rgba(255, 255, 255, .18);
	color: #fff;
	justify-self: start;
}

.reader-location-gate-v2 {
	background:
		linear-gradient(135deg, rgba(0, 91, 170, .08), rgba(201, 151, 44, .08)),
		#f4f8fc;
	min-height: calc(100vh - 4.25rem);
	padding: 6rem 1rem 4rem;
}

.reader-gps-card {
	background: #fff;
	border: 1px solid #d7e4f2;
	border-radius: 22px;
	box-shadow: 0 28px 70px rgba(6, 26, 64, .14);
	margin: 0 auto;
	max-width: 42rem;
	overflow: hidden;
	padding: 1.45rem;
	position: relative;
}

.reader-gps-card::before {
	background: linear-gradient(90deg, #005baa, #c9972c, #0d766f);
	content: "";
	height: 4px;
	left: 0;
	position: absolute;
	right: 0;
	top: 0;
}

.reader-gps-icon {
	align-items: center;
	background: #eaf3ff;
	border: 1px solid #c9ddf2;
	border-radius: 16px;
	color: #005baa;
	display: inline-flex;
	font-size: 1.65rem;
	height: 3.2rem;
	justify-content: center;
	margin-bottom: .9rem;
	width: 3.2rem;
}

.reader-gps-card h1 {
	color: #061a40;
	font-family: "Fraunces", serif;
	font-size: clamp(2.2rem, 6vw, 3.7rem);
	line-height: .98;
	margin: .15rem 0 .7rem;
}

.reader-gps-card > p {
	color: #40576f;
	font-size: 1rem;
	line-height: 1.7;
}

.reader-gps-alert {
	align-items: flex-start;
	display: flex;
	gap: .55rem;
}

.reader-gps-book {
	background: #f7fbff;
	border: 1px solid #d7e4f2;
	border-radius: 14px;
	display: grid;
	gap: .75rem;
	grid-template-columns: 1fr 1fr;
	margin: 1rem 0;
	padding: .85rem;
}

.reader-gps-book span {
	color: #64748b;
	display: block;
	font-size: .72rem;
	font-weight: 900;
	letter-spacing: .04em;
	text-transform: uppercase;
}

.reader-gps-book strong {
	color: #061a40;
	display: block;
	font-weight: 900;
	margin-top: .25rem;
}

.reader-gps-flow {
	display: grid;
	gap: .6rem;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin-bottom: 1rem;
}

.reader-gps-flow div {
	background: #fff;
	border: 1px solid #d7e4f2;
	border-radius: 14px;
	padding: .8rem;
}

.reader-gps-flow i {
	color: #005baa;
	font-size: 1.25rem;
}

.reader-gps-flow span,
.reader-gps-flow strong {
	display: block;
}

.reader-gps-flow span {
	color: #50647e;
	font-size: .78rem;
	font-weight: 800;
	margin-top: .35rem;
}

.reader-gps-flow strong {
	color: #061a40;
	font-size: .9rem;
	font-weight: 950;
}

.reader-gps-actions {
	display: grid;
	gap: .55rem;
}

.reader-external-form {
	display: none;
}

.reader-external-form.is-visible {
	display: block;
}

.reading-gps-state {
	background: #061a40 !important;
	border-radius: 12px !important;
	color: #fff !important;
	font-weight: 850 !important;
	margin-top: .9rem !important;
	padding: .8rem .95rem !important;
}

@media (max-width: 1199.98px) {
	.member-app-shell,
	.member-curated-layout {
		grid-template-columns: 1fr !important;
	}

	.member-action-grid,
	.member-status-stack {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}
}

@media (max-width: 767.98px) {
	.user-dashboard-v2 {
		padding-top: 5rem !important;
	}

	.member-curated-books {
		grid-template-columns: 1fr;
	}

	.member-curated-card {
		grid-template-columns: 5.3rem minmax(0, 1fr);
		min-height: 11.5rem;
	}

	.member-curated-cover {
		min-height: 9.8rem;
	}

	.reader-location-gate-v2 {
		padding: 5.3rem .7rem 5.8rem;
	}

	.reader-gps-book,
	.reader-gps-flow {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 575.98px) {
	.member-app-shell {
		gap: .8rem !important;
	}

	.member-service-panel,
	.member-curated-section,
	.member-events-strip,
	.member-digital-library {
		border-radius: 14px !important;
		padding: .85rem !important;
	}

	.member-action-grid,
	.member-status-stack {
		grid-template-columns: 1fr !important;
	}

	.member-curated-card {
		grid-template-columns: 4.8rem minmax(0, 1fr);
		padding: .65rem;
	}

	.member-curated-cover {
		border-radius: 10px;
		min-height: 8.2rem;
	}

	.member-curated-copy h3 {
		font-size: .98rem;
	}

	.member-curated-copy p {
		-webkit-line-clamp: 2;
	}

	.reader-gps-card {
		border-radius: 16px;
		padding: 1.1rem;
	}
}

@media print {
  .navbar,
  .admin-sidebar,
  .page-header,
  .d-print-none,
  .app-topbar,
  .admin-topbar {
    display: none !important;
  }

  .page-wrapper,
  .page-body,
  .container-xl {
    margin: 0 !important;
    padding: 0 !important;
    max-width: none !important;
  }

  .event-qr-print-card {
    min-height: 100vh;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }
}

/* Catalog highlight picker ------------------------------------------------ */
.highlight-book-picker {
	border: 1px solid #d8e4f2;
	border-radius: 14px;
	background: #f8fbff;
	padding: .8rem;
}

/* Master katalog: heading and tabs need separate rows so long taxonomy
   descriptions never push the final tab outside the card. */
.catalog-masters-workspace > .workspace-header {
	align-items: stretch;
	flex-direction: column;
}

.catalog-masters-workspace > .workspace-header > div:first-child {
	min-width: 0;
}

.catalog-masters-workspace .workspace-tabs {
	align-self: stretch;
	max-width: 100%;
	width: 100%;
}

/* Quiz session workspace tabs: explicit segmented controls with readable counters. */
.quiz-session-tabs {
	align-items: stretch;
	flex-wrap: nowrap;
	overflow-x: auto;
	overscroll-behavior-x: contain;
	padding: .35rem !important;
}

.quiz-session-tabs .nav-link {
	align-items: center;
	flex: 0 0 auto;
	justify-content: center;
	min-width: 10.75rem;
	padding: .62rem 1rem;
}

.quiz-session-status-tabs .nav-link {
	justify-content: space-between;
	min-width: 8.6rem;
}

.quiz-session-tab-count {
	background: #d8e5f2;
	border: 1px solid #c3d4e5;
	border-radius: 999px;
	color: #23496f;
	font-size: .7rem;
	font-weight: 850;
	line-height: 1;
	margin-left: .25rem;
	min-width: 1.55rem;
	padding: .28rem .4rem;
}

.quiz-session-tabs .nav-link.active .quiz-session-tab-count {
	background: rgba(255,255,255,.22);
	border-color: rgba(255,255,255,.42);
	color: #fff;
}

/* Kartu request dashboard memakai chevron sebagai navigasi nyata, bukan dekorasi. */
.member-mini-item[href] {
	color: inherit;
	text-decoration: none;
	transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}
.member-mini-item[href]:hover,
.member-mini-item[href]:focus-visible {
	border-color: #8fc1ef;
	box-shadow: 0 7px 18px rgba(0, 91, 170, .10);
	color: inherit;
	outline: 0;
	transform: translateY(-1px);
}
.member-request-note {
	display: flex;
	align-items: flex-start;
	gap: .32rem;
	margin-top: .36rem;
	color: #245d87 !important;
	font-size: .7rem !important;
	font-weight: 650;
	line-height: 1.35;
}
.member-request-note i { flex: 0 0 auto; margin-top: .08rem; color: #0876bf; }
.member-mini-item .member-request-meta { display: block; margin-top: .08rem; color: var(--pustaka-muted); font-size: .76rem; line-height: 1.3; }
.member-mini-item .member-request-meta b { color: #9cb1c3; }
.member-mini-item .member-request-note > span { display: grid; gap: .08rem; color: inherit; font-size: inherit; line-height: inherit; white-space: normal; }
.member-mini-item .member-request-note > span b { color: currentColor; font-size: .64rem; font-weight: 850; letter-spacing: .025em; text-transform: uppercase; }
.member-request-note-requester { color: #637c94 !important; font-weight: 600; }
.member-request-note-requester i { color: #7e97ad; }
.member-request-note-empty { color: #7d8791 !important; font-style: italic; font-weight: 600; }
.member-request-note-empty i { color: #98a6b2; }

@media (max-width: 575.98px) {
	.quiz-session-tabs .nav-link,
	.quiz-session-status-tabs .nav-link {
		min-width: auto;
		padding: .55rem .72rem;
	}
}

@media (max-width: 575.98px) {
	.catalog-masters-workspace .workspace-tabs .nav-link {
		padding: .46rem .64rem;
		font-size: .76rem;
	}
}

.highlight-book-picker .form-label {
	font-size: .72rem;
	font-weight: 800;
	letter-spacing: .04em;
	color: #36516e;
}

.highlight-book-help {
	margin: .55rem 0 0;
	color: #6d7d90;
	font-size: .78rem;
}

.highlight-book-results {
	display: grid;
	gap: .45rem;
	max-height: 17rem;
	overflow: auto;
	margin-top: .7rem;
}

.highlight-book-result {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: .65rem;
	width: 100%;
	padding: .48rem;
	border: 1px solid #dce7f2;
	border-radius: 11px;
	background: #fff;
	color: #173a63;
	text-align: left;
	transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}

.highlight-book-result:hover,
.highlight-book-result:focus-visible {
	border-color: #0d6efd;
	box-shadow: 0 5px 15px rgba(29, 87, 154, .12);
	transform: translateY(-1px);
	outline: 0;
}

.highlight-book-result strong,
.highlight-book-preview strong {
	display: block;
	color: #102f56;
	font-size: .83rem;
	line-height: 1.35;
}

.highlight-book-result small,
.highlight-book-preview small {
	display: block;
	margin-top: .12rem;
	color: #65758a;
	font-size: .73rem;
	line-height: 1.35;
}

.highlight-book-result .badge {
	align-self: start;
	margin-top: .15rem;
	font-size: .65rem;
}

.highlight-book-result em {
	align-self: start;
	margin-top: .18rem;
	padding: .22rem .42rem;
	border-radius: 99px;
	font-size: .62rem;
	font-style: normal;
	font-weight: 800;
	white-space: nowrap;
}

.highlight-book-result em.is-digital {
	background: #dcf6f3;
	color: #08766f;
}

.highlight-book-result em.is-print {
	background: #eef1f5;
	color: #596b7e;
}

.highlight-book-empty {
	padding: .75rem;
	border: 1px dashed #cfdeec;
	border-radius: 9px;
	color: #708196;
	font-size: .78rem;
	text-align: center;
}

.highlight-book-preview {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: .65rem;
	margin-top: .7rem;
	padding: .55rem;
	border: 1px solid #b9d5ee;
	border-radius: 11px;
	background: #edf7ff;
}

.highlight-book-preview .btn {
	align-self: start;
}

/* User dashboard catalogue shelves -------------------------------------- */
.member-curated-books {
	grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr)) !important;
	align-items: start;
}

.member-curated-card {
	min-height: 0;
}

.member-book-shelves {
	margin-top: 1rem;
	padding: 1.25rem;
	border: 1px solid #dbe7f4;
	border-radius: 20px;
	background: #fff;
	box-shadow: 0 8px 28px rgba(26, 68, 114, .05);
}

.member-book-shelves.is-digital {
	border-color: #cde2fb;
	background: linear-gradient(135deg, #f7fbff 0%, #fff 48%, #f3f9ff 100%);
}

.member-book-shelves-head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 1rem;
}

.member-book-shelves-eyebrow {
	display: block;
	margin-bottom: .15rem;
	color: #0875ce;
	font-size: .68rem;
	font-weight: 800;
	letter-spacing: .06em;
}

.member-book-shelves-head h2 {
	margin: 0;
	color: #072858;
	font-size: 1.24rem;
	font-weight: 800;
}

.member-book-shelves-head p {
	margin: .28rem 0 0;
	color: #64768b;
	font-size: .8rem;
}

.member-shelf-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: .85rem;
}

.member-shelf-panel {
	min-width: 0;
	padding: .85rem;
	border: 1px solid #e0e9f3;
	border-radius: 14px;
	background: rgba(255, 255, 255, .86);
}

.member-shelf-panel-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: .45rem;
	margin-bottom: .65rem;
}

.member-shelf-panel-head h3 {
	margin: 0;
	color: #173b69;
	font-size: .89rem;
	font-weight: 800;
}

.member-shelf-panel-head a {
	color: #0875ce;
	font-size: .72rem;
	font-weight: 700;
	text-decoration: none;
}

.member-shelf-list {
	display: grid;
	gap: .55rem;
}

.member-shelf-book {
	display: grid;
	grid-template-columns: 2.75rem minmax(0, 1fr);
	gap: .55rem;
	align-items: center;
	padding: .36rem;
	border-radius: 10px;
	color: inherit;
	text-decoration: none;
	transition: background .15s ease, transform .15s ease;
}

.member-shelf-book:hover {
	background: #eef7ff;
	color: inherit;
	transform: translateX(2px);
}

.member-shelf-book img {
	width: 2.75rem;
	height: 3.7rem;
	border-radius: 6px;
	object-fit: cover;
	background: #e5edf6;
}

.member-shelf-book strong {
	display: -webkit-box;
	overflow: hidden;
	color: #12345f;
	font-size: .75rem;
	font-weight: 800;
	line-height: 1.34;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.member-shelf-book span,
.member-shelf-book small {
	display: block;
	overflow: hidden;
	margin-top: .12rem;
	color: #708095;
	font-size: .67rem;
	line-height: 1.3;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.member-shelf-empty {
	margin: 0;
	padding: 1.2rem .35rem;
	color: #71839a;
	font-size: .78rem;
	text-align: center;
}

/* Class names used by the dashboard markup. Kept here to override any old
   browser cache and keep shelves compact without large cover thumbnails. */
.member-book-shelves .member-section-head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 1rem;
}

.member-book-shelves .member-section-head h2 {
	margin: .15rem 0 0;
	color: #072858;
	font-size: 1.24rem;
	font-weight: 800;
}

.member-shelf-head {
	display: flex;
	align-items: flex-start;
	gap: .55rem;
	margin-bottom: .65rem;
}

.member-shelf-icon {
	display: grid;
	width: 2rem;
	height: 2rem;
	flex: 0 0 2rem;
	place-items: center;
	border-radius: 8px;
	background: #eaf5ff;
	color: #0875c7;
	font-size: 1rem;
}

.member-shelf-head h3 {
	margin: .03rem 0 .13rem;
	color: #173b69;
	font-size: .89rem;
	font-weight: 800;
}

.member-shelf-head p {
	margin: 0;
	color: #718298;
	font-size: .7rem;
	line-height: 1.35;
}

.member-shelf-book {
	grid-template-columns: 2.45rem minmax(0, 1fr) auto;
	min-height: 3.8rem;
}

.member-shelf-book .member-shelf-cover {
	display: block;
	width: 2.45rem !important;
	min-width: 2.45rem;
	max-width: 2.45rem;
	height: 3.1rem !important;
	min-height: 3.1rem;
	max-height: 3.1rem;
	border: 1px solid #dce8f4;
	border-radius: 6px;
	background: #edf3f9;
	object-fit: cover;
}

.member-shelf-book .member-shelf-copy {
	min-width: 0;
}

.member-shelf-book em {
	display: block;
	overflow: hidden;
	margin-top: .14rem;
	color: #0875c7;
	font-size: .65rem;
	font-style: normal;
	font-weight: 700;
	line-height: 1.25;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.member-shelf-arrow {
	align-self: center;
	color: #8aa2bc;
	font-size: .9rem;
}

/* Learning arena --------------------------------------------------------- */
.learning-arena-page {
	min-height: 100vh;
	background: #f4f8fc;
	color: #102f56;
	font-family: 'Plus Jakarta Sans', sans-serif;
}

.learning-arena-topbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	max-width: 1180px;
	margin: 0 auto;
	padding: .9rem 1.25rem;
}

.learning-arena-brand {
	display: inline-flex;
	align-items: center;
	gap: .55rem;
	color: #0a376a;
	font-size: .9rem;
	font-weight: 800;
	text-decoration: none;
}

.learning-arena-brand:hover { color: #0a67bd; }
.learning-arena-brand-icon {
	display: inline-grid;
	width: 2rem;
	height: 2rem;
	place-items: center;
	border-radius: 9px;
	background: #0b6fc5;
	color: #fff;
	font-size: 1.1rem;
}

.learning-arena-nav {
	display: flex;
	align-items: center;
	gap: .45rem;
}

.learning-arena-nav-link {
	display: inline-flex;
	align-items: center;
	gap: .35rem;
	padding: .42rem .55rem;
	border-radius: 8px;
	color: #46647f;
	font-size: .77rem;
	font-weight: 700;
	text-decoration: none;
}

.learning-arena-nav-link:hover { background: #e8f3ff; color: #0667ba; }
.learning-arena-notification {
	position: absolute;
	top: -.25rem;
	right: -.18rem;
	min-width: 1rem;
	padding: .05rem .24rem;
	border: 2px solid #f4f8fc;
	border-radius: 99px;
	background: #de3854;
	color: #fff;
	font-size: .55rem;
	line-height: 1.1;
	text-align: center;
}

.learning-arena-shell { max-width: 1180px; margin: 0 auto; padding: .2rem 1.25rem 3rem; }
.learning-arena-hero {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(18rem, .9fr);
	align-items: center;
	gap: 2rem;
	min-height: 19rem;
	padding: 2.4rem clamp(1.4rem, 4vw, 4.2rem);
	border-radius: 25px;
	background: linear-gradient(125deg, #05295b 0%, #07549d 58%, #087fc5 100%);
	color: #fff;
	overflow: hidden;
	position: relative;
}

.learning-arena-hero::after {
	position: absolute;
	inset: auto -4rem -8rem auto;
	width: 21rem;
	height: 21rem;
	border: 2rem solid rgba(255,255,255,.07);
	border-radius: 50%;
	content: '';
}

.learning-arena-hero-copy { position: relative; z-index: 1; }
.learning-arena-kicker,
.learning-arena-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: .3rem;
	color: #0a75c8;
	font-size: .68rem;
	font-weight: 800;
	letter-spacing: .06em;
}
.learning-arena-kicker { color: #8cd4ff; }
.learning-arena-hero h1 {
	margin: .7rem 0;
	font-size: clamp(2rem, 4vw, 3.2rem);
	font-weight: 900;
	letter-spacing: -.06em;
	line-height: 1.1;
}
.learning-arena-hero p { max-width: 31rem; margin: 0; color: rgba(255,255,255,.84); font-size: .93rem; line-height: 1.7; }
.learning-arena-login { margin-top: 1.25rem; color: #075aa6; font-weight: 800; }
.learning-arena-hero-visual { position: relative; min-height: 14rem; z-index: 1; }
.learning-arena-mascot {
	position: absolute;
	top: 50%; left: 50%;
	display: grid;
	width: 9.5rem; height: 9.5rem;
	place-items: center;
	border: 1px solid rgba(255,255,255,.35);
	border-radius: 50%;
	background: rgba(255,255,255,.14);
	box-shadow: 0 16px 45px rgba(1,25,68,.25), inset 0 1px 0 rgba(255,255,255,.25);
	font-size: 4.4rem;
	transform: translate(-50%, -50%);
}
.learning-orbit {
	position: absolute;
	display: grid;
	width: 3rem; height: 3rem;
	place-items: center;
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 10px 22px rgba(0,32,72,.2);
	color: #0b75bf;
	font-size: 1.45rem;
}
.learning-orbit-one { top: 7%; left: 20%; transform: rotate(-12deg); }
.learning-orbit-two { right: 15%; bottom: 7%; color: #ef9d17; transform: rotate(11deg); }
.learning-orbit-three { right: 6%; top: 15%; color: #8a52cf; transform: rotate(9deg); }
.learning-arena-welcome {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin-top: 1rem;
	padding: 1rem 1.2rem;
	border: 1px solid #d7e8f8;
	border-radius: 16px;
	background: #fff;
}
.learning-arena-welcome h2 { margin: .15rem 0; font-size: 1.03rem; font-weight: 800; }
.learning-arena-welcome p { margin: 0; color: #65778d; font-size: .78rem; }
.learning-arena-quick-links { display: flex; gap: .45rem; }
.learning-arena-quick-links a { padding: .45rem .6rem; border-radius: 8px; background: #eef7ff; color: #0b68b4; font-size: .73rem; font-weight: 700; text-decoration: none; }
.learning-arena-section { margin-top: 2rem; }
.learning-arena-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: .85rem; }
.learning-arena-section-heading h2 { margin: .22rem 0 0; color: #082e5d; font-size: 1.35rem; font-weight: 900; letter-spacing: -.03em; }
.learning-arena-section-heading p { margin: 0; color: #6c7e91; font-size: .78rem; text-align: right; }
.learning-arena-feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.learning-arena-feature-card { position: relative; min-height: 13rem; padding: 1.35rem; border: 1px solid #d8e5f1; border-radius: 18px; background: #fff; color: #173d6b; overflow: hidden; text-decoration: none; transition: transform .18s ease, box-shadow .18s ease; }
.learning-arena-feature-card:hover { color: #173d6b; box-shadow: 0 12px 25px rgba(21,70,117,.12); transform: translateY(-3px); }
.learning-arena-feature-card.is-blue { background: linear-gradient(135deg,#edf8ff,#fff); border-color: #bde0fa; }
.learning-arena-feature-card.is-purple { background: linear-gradient(135deg,#f5f0ff,#fff); border-color: #ded0fa; }
.learning-arena-feature-icon { display: grid; width: 3rem; height: 3rem; place-items: center; border-radius: 12px; background: #dff2ff; color: #0875c6; font-size: 1.5rem; }
.is-purple .learning-arena-feature-icon { background: #ece2ff; color: #7945c2; }
.learning-arena-feature-arrow { position: absolute; top: 1.15rem; right: 1.15rem; color: #2375b5; font-size: 1.15rem; }
.is-purple .learning-arena-feature-arrow { color: #7c51bd; }
.learning-arena-feature-card h3 { margin: 1rem 0 .32rem; font-size: 1.05rem; font-weight: 900; }
.learning-arena-feature-card p { max-width: 24rem; margin: 0; color: #60768d; font-size: .8rem; line-height: 1.55; }
.learning-arena-feature-card small { position: absolute; bottom: 1rem; left: 1.35rem; padding: .25rem .48rem; border-radius: 99px; background: rgba(16,130,214,.11); color: #0972c3; font-size: .67rem; font-weight: 800; }
.is-purple .learning-arena-feature-card small { background: #eee6ff; color: #7746b9; }
.learning-arena-reward { display: flex; align-items: center; gap: .85rem; margin-top: 1rem; padding: .95rem 1.1rem; border-radius: 16px; background: linear-gradient(110deg,#0760ad,#4360ce); box-shadow: 0 10px 23px rgba(15,90,174,.17); color: #fff; text-decoration: none; }
.learning-arena-reward:hover { color: #fff; }
.learning-arena-reward-icon { display: grid; width: 2.8rem; height: 2.8rem; place-items: center; border-radius: 11px; background: rgba(255,255,255,.17); font-size: 1.35rem; }
.learning-arena-reward b,.learning-arena-reward small { display: block; }
.learning-arena-reward b { font-size: .88rem; }
.learning-arena-reward small { margin-top: .12rem; color: rgba(255,255,255,.8); font-size: .72rem; }
.learning-arena-activity-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; }
.learning-arena-activity-card { display: grid; grid-template-columns: 2.65rem minmax(0,1fr); gap: .65rem; position: relative; min-height: 7.8rem; padding: .9rem .75rem; border: 1px solid #dce7f1; border-radius: 15px; background: #fff; color: #153b67; text-decoration: none; transition: transform .15s ease, box-shadow .15s ease; }
.learning-arena-activity-card:hover { color: #153b67; box-shadow: 0 9px 18px rgba(25,70,116,.1); transform: translateY(-2px); }
.learning-arena-activity-icon { display: grid; width: 2.65rem; height: 2.65rem; place-items: center; border-radius: 10px; font-size: 1.2rem; }
.learning-arena-activity-icon.is-violet { background: #efe7ff; color: #7146bd; }.learning-arena-activity-icon.is-teal { background: #dff8f8; color: #14888b; }.learning-arena-activity-icon.is-rose { background: #ffe7ed; color: #cf4b66; }
.learning-arena-activity-card h3 { margin: .1rem 0 .22rem; font-size: .83rem; font-weight: 900; }.learning-arena-activity-card p { margin: 0; color: #708095; font-size: .7rem; line-height: 1.45; }.learning-arena-activity-card b { position: absolute; right: .75rem; bottom: .7rem; color: #0b70c1; font-size: .66rem; }
.learning-arena-mini-games { padding: 1.15rem; border: 1px solid #dce8f2; border-radius: 19px; background: #fff; }.learning-arena-mini-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: .75rem; }.learning-arena-mini-card { min-width: 0; padding: .9rem; border: 1px solid color-mix(in srgb, var(--game-color), white 70%); border-radius: 13px; background: color-mix(in srgb, var(--game-color), white 94%); color: #183b66; text-decoration: none; }.learning-arena-mini-card:hover { color: #183b66; box-shadow: 0 8px 18px rgba(21,70,117,.1); }.learning-arena-mini-icon { display: grid; width: 2.4rem; height: 2.4rem; place-items: center; border-radius: 9px; background: color-mix(in srgb, var(--game-color), white 82%); color: var(--game-color); font-size: 1.15rem; }.learning-arena-mini-card h3 { margin: .72rem 0 .2rem; font-size: .82rem; font-weight: 900; }.learning-arena-mini-card p { display: -webkit-box; overflow: hidden; margin: 0; color: #718197; font-size: .69rem; line-height: 1.42; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }.learning-arena-mini-card small { display: block; margin-top: .75rem; color: var(--game-color); font-size: .64rem; font-weight: 800; }

@media (max-width: 991.98px) {
	.member-shelf-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.learning-arena-activity-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.learning-arena-mini-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767.98px) {
	.member-book-shelves { padding: .9rem; border-radius: 15px; }
	.member-book-shelves-head { display: block; }
	.member-book-shelves-head .btn { margin-top: .7rem; }
	.member-shelf-grid { grid-template-columns: 1fr; }
	.learning-arena-topbar { padding: .75rem .9rem; }
	.learning-arena-nav-link span { display: none; }
	.learning-arena-shell { padding: .15rem .9rem 2rem; }
	.learning-arena-hero { grid-template-columns: 1fr; min-height: 0; padding: 1.7rem 1.3rem; border-radius: 18px; }
	.learning-arena-hero h1 { font-size: 2rem; }
	.learning-arena-hero-visual { display: none; }
	.learning-arena-welcome, .learning-arena-section-heading { align-items: flex-start; flex-direction: column; }
	.learning-arena-quick-links { width: 100%; }
	.learning-arena-quick-links a { flex: 1; text-align: center; }
	.learning-arena-section-heading p { text-align: left; }
	.learning-arena-feature-grid, .learning-arena-activity-grid, .learning-arena-mini-grid { grid-template-columns: 1fr; }
	.learning-arena-feature-card { min-height: 11.5rem; }
}

/* Learning arena: one calm visual system, with each activity kept in a clear card. */
.learning-arena-page { background: linear-gradient(180deg, #f8fbfe 0, #edf5fb 100%); }
.learning-arena-topbar { min-height: 4.5rem; }
.learning-arena-shell { padding-top: .65rem; }
.learning-arena-hero {
	min-height: 16.5rem;
	border: 1px solid rgba(255,255,255,.22);
	border-radius: 22px;
	box-shadow: 0 18px 38px rgba(5,54,110,.16);
}
.learning-arena-hero h1 { max-width: 33rem; }
.learning-arena-hero-visual { min-height: 11.5rem; }
.learning-arena-mascot { width: 8.2rem; height: 8.2rem; font-size: 3.7rem; }
.learning-arena-welcome,
.learning-arena-mini-games {
	box-shadow: 0 8px 22px rgba(29,77,124,.06);
}
.learning-arena-section {
	margin-top: 1.35rem;
	padding: 1.2rem;
	border: 1px solid #dce9f4;
	border-radius: 18px;
	background: rgba(255,255,255,.8);
}
.learning-arena-section-heading { margin-bottom: 1rem; }
.learning-arena-feature-card {
	min-height: 11.2rem;
	padding: 1.1rem 1.2rem;
	border-radius: 15px;
}
.learning-arena-feature-card h3 { margin-top: .8rem; }
.learning-arena-feature-card small { bottom: .85rem; left: 1.2rem; }
.learning-arena-feature-card.is-purple small { background: #eee6ff; color: #7746b9; }
.learning-arena-reward {
	margin-top: 1.35rem;
	border: 1px solid rgba(255,255,255,.2);
	border-radius: 15px;
}
.learning-arena-activity-grid { gap: .9rem; }
.learning-arena-activity-card {
	min-height: 8.25rem;
	padding: 1rem;
	border-radius: 13px;
}
.learning-arena-mini-games { margin-bottom: 1rem; }
.learning-arena-mini-card { min-height: 10.5rem; }
@media (max-width: 767.98px) {
	.learning-arena-shell { padding-top: .3rem; }
	.learning-arena-hero { min-height: 0; }
	.learning-arena-section { margin-top: 1rem; padding: 1rem; }
	.learning-arena-reward { margin-top: 1rem; }
}

/* Arena Belajar: hierarchy, calm cards, and a compact mobile flow. */
.learning-arena-page { background: radial-gradient(circle at 96% 0, #d9f1ff 0, transparent 25rem), linear-gradient(180deg, #f8fbff 0, #edf5fb 56%, #f8fafc 100%); }
.learning-arena-topbar { position: relative; z-index: 5; min-height: 4.75rem; max-width: none; padding-right: max(1.25rem, calc((100vw - 1180px) / 2 + 1.25rem)); padding-left: max(1.25rem, calc((100vw - 1180px) / 2 + 1.25rem)); border-bottom: 1px solid rgba(202,222,238,.72); background: rgba(255,255,255,.78); backdrop-filter: blur(16px); }
.learning-arena-brand { gap: .65rem; font-size: .94rem; }
.learning-arena-brand-icon { width: 2.25rem; height: 2.25rem; border-radius: 11px; background: linear-gradient(145deg,#064a8d,#0984c8); box-shadow: 0 7px 16px rgba(5,89,163,.22); }
.learning-arena-nav-link { border: 1px solid transparent; border-radius: 10px; }
.learning-arena-nav-link:hover { border-color: #c9e2f5; background: #f1f9ff; }
.learning-arena-shell { max-width: 1200px; padding-top: 1.25rem; padding-bottom: 4rem; }
.learning-arena-hero { min-height: 22rem; padding: clamp(1.7rem,4.2vw,3.4rem); border-radius: 28px; background: radial-gradient(circle at 84% 22%, rgba(116,219,255,.36), transparent 18rem), linear-gradient(130deg,#052b5e,#07569f 55%,#087eb7); box-shadow: 0 24px 50px rgba(6,62,121,.19); }
.learning-arena-hero:before { position:absolute; inset:0; z-index:0; opacity:.28; background-image:linear-gradient(90deg,rgba(255,255,255,.15) 1px,transparent 1px),linear-gradient(rgba(255,255,255,.15) 1px,transparent 1px); background-size:32px 32px; content:''; mask-image:linear-gradient(90deg,#000,transparent 70%); }
.learning-arena-hero h1 { max-width: 38rem; margin:.8rem 0 .95rem; font-size:clamp(2.25rem,4.5vw,4rem); line-height:1.02; letter-spacing:-.07em; }
.learning-arena-hero p { max-width: 34rem; font-size: .96rem; }
.learning-arena-login { min-height: 2.75rem; padding: .65rem 1rem; border-radius: 11px; box-shadow: 0 8px 19px rgba(0,30,75,.18); }
.learning-arena-hero-visual { display:grid; min-height:15rem; place-items:center; }
.learning-arena-passport { width:min(100%,23rem); padding:1.1rem; border:1px solid rgba(255,255,255,.3); border-radius:19px; background:linear-gradient(145deg,rgba(255,255,255,.19),rgba(255,255,255,.08)); box-shadow:0 18px 36px rgba(0,27,69,.18),inset 0 1px 0 rgba(255,255,255,.2); backdrop-filter:blur(12px); color:#fff; }
.learning-arena-passport-head { display:flex; align-items:center; gap:.7rem; padding-bottom:.9rem; border-bottom:1px solid rgba(255,255,255,.18); }
.learning-arena-avatar { display:grid; width:2.75rem; height:2.75rem; place-items:center; border-radius:12px; background:#fff; color:#0b70b9; font-size:1.35rem; }
.learning-arena-passport small { display:block; color:#bfe7ff; font-size:.59rem; font-weight:850; letter-spacing:.07em; }
.learning-arena-passport strong { display:block; max-width:14rem; overflow:hidden; font-size:.85rem; white-space:nowrap; text-overflow:ellipsis; }
.learning-arena-passport-stats { display:grid; grid-template-columns:repeat(3,1fr); gap:.4rem; margin:.9rem 0; }
.learning-arena-passport-stats span { padding:.5rem .35rem; border-radius:10px; background:rgba(0,24,70,.17); text-align:center; }
.learning-arena-passport-stats b { display:block; font-size:1rem; }
.learning-arena-passport-stats small { margin-top:.1rem; color:#d9efff; font-size:.54rem; letter-spacing:0; }
.learning-arena-passport a { display:flex; align-items:center; justify-content:space-between; color:#fff; font-size:.72rem; font-weight:850; text-decoration:none; }
.learning-arena-discovery { position:relative; display:grid; min-height:12rem; width:min(100%,20rem); place-items:center; color:#fff; }
.learning-arena-discovery small { position:absolute; bottom:.2rem; color:#d6f1ff; font-size:.63rem; font-weight:800; letter-spacing:.03em; }
.learning-arena-mascot { background:linear-gradient(145deg,rgba(255,255,255,.24),rgba(255,255,255,.09)); font-size:4rem; }
.learning-arena-welcome { margin-top:1.1rem; padding:1.15rem 1.3rem; border-radius:18px; box-shadow:0 12px 27px rgba(19,74,120,.07); }
.learning-arena-quick-links a { display:inline-flex; align-items:center; gap:.35rem; padding:.56rem .72rem; border:1px solid #d9eaf7; border-radius:10px; background:#f7fbff; }
.learning-arena-progress-strip { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)) auto; gap:.65rem; align-items:center; margin-top:.8rem; padding:.72rem .9rem; border:1px solid #dce9f4; border-radius:15px; background:rgba(255,255,255,.72); }
.learning-arena-progress-strip > div { display:flex; align-items:center; gap:.5rem; min-width:0; padding:.25rem .45rem; border-right:1px solid #e3edf5; }
.learning-arena-progress-strip > div i { display:grid; width:2rem; height:2rem; place-items:center; flex:0 0 auto; border-radius:8px; background:#e6f5ff; color:#0873bd; }
.learning-arena-progress-strip b,.learning-arena-progress-strip small { display:block; }
.learning-arena-progress-strip b { color:#0b3866; font-size:.82rem; }
.learning-arena-progress-strip small { color:#7690a8; font-size:.63rem; }
.learning-arena-progress-strip > a { color:#086bb6; font-size:.68rem; font-weight:850; text-decoration:none; white-space:nowrap; }
.learning-arena-section { margin-top:1.5rem; padding:1.35rem; border-radius:21px; background:rgba(255,255,255,.76); box-shadow:0 13px 30px rgba(20,74,120,.045); }
.learning-arena-section-heading h2 { font-size:1.55rem; }
.learning-arena-feature-grid { gap:1.1rem; }
.learning-arena-feature-card { min-height:12.25rem; padding:1.35rem; border-radius:18px; }
.learning-arena-feature-card:after { position:absolute; right:-1.5rem; bottom:-2.6rem; width:8rem; height:8rem; border:1.2rem solid rgba(22,135,220,.08); border-radius:50%; content:''; }
.learning-arena-feature-card.is-purple:after { border-color:rgba(130,76,193,.08); }
.learning-arena-feature-card h3 { font-size:1.15rem; }
.learning-arena-activity-grid { grid-template-columns:repeat(4,minmax(0,1fr)); gap:1rem; }
.learning-arena-activity-card { grid-template-columns:1fr; min-height:12.2rem; gap:.65rem; padding:1.05rem; border-radius:16px; }
.learning-arena-activity-icon { width:2.9rem; height:2.9rem; border-radius:12px; font-size:1.35rem; }
.learning-arena-activity-card h3 { font-size:.91rem; }.learning-arena-activity-card p { font-size:.72rem; line-height:1.55; }.learning-arena-activity-card b { left:1.05rem; right:auto; bottom:.9rem; }
.learning-arena-mini-games { padding:1.35rem; }.learning-arena-mini-grid { grid-template-columns:repeat(auto-fit,minmax(170px,1fr)); gap:.9rem; }.learning-arena-mini-card { min-height:11rem; padding:1rem; border-radius:15px; transition:transform .16s ease,box-shadow .16s ease; }.learning-arena-mini-card:hover { transform:translateY(-3px); }
@media (max-width: 991.98px) { .learning-arena-activity-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } .learning-arena-hero { grid-template-columns:1fr .8fr; } }
@media (max-width: 767.98px) { .learning-arena-topbar { min-height:4.2rem; padding: .65rem .9rem; } .learning-arena-brand { font-size:.82rem; } .learning-arena-brand-icon { width:2rem; height:2rem; } .learning-arena-nav { gap:.1rem; } .learning-arena-nav-link { padding:.42rem; } .learning-arena-shell { padding:.75rem .8rem calc(5.5rem + env(safe-area-inset-bottom)); } .learning-arena-hero { display:block; min-height:0; padding:1.45rem 1.2rem; border-radius:20px; } .learning-arena-hero h1 { font-size:clamp(2rem,10vw,2.65rem); } .learning-arena-hero p { font-size:.83rem; line-height:1.6; } .learning-arena-hero-visual { min-height:0; margin-top:1.15rem; } .learning-arena-passport { width:100%; } .learning-arena-discovery { display:none; } .learning-arena-welcome { display:block; padding:1rem; } .learning-arena-quick-links { margin-top:.8rem; } .learning-arena-progress-strip { grid-template-columns:repeat(3,1fr); gap:.2rem; padding:.55rem .35rem; } .learning-arena-progress-strip > div { justify-content:center; padding:.35rem .18rem; border-right:0; } .learning-arena-progress-strip > div i { display:none; } .learning-arena-progress-strip b { font-size:.75rem; text-align:center; }.learning-arena-progress-strip small { font-size:.54rem; text-align:center; }.learning-arena-progress-strip > a { grid-column:1/-1; padding:.3rem 0 .05rem; border-top:1px solid #e5eef5; text-align:center; } .learning-arena-section { margin-top:1rem; padding:1rem; border-radius:17px; } .learning-arena-section-heading h2 { font-size:1.25rem; } .learning-arena-feature-grid,.learning-arena-activity-grid { grid-template-columns:1fr; gap:.75rem; } .learning-arena-feature-card { min-height:10.6rem; padding:1.1rem; } .learning-arena-activity-card { grid-template-columns:3rem minmax(0,1fr); min-height:8rem; padding:.9rem; } .learning-arena-activity-card b { left:auto; right:.9rem; bottom:.75rem; } .learning-arena-mini-games { padding:1rem; }.learning-arena-mini-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:.65rem; }.learning-arena-mini-card { min-height:9.8rem; padding:.8rem; }.learning-arena-mini-card h3 { font-size:.74rem; }.learning-arena-mini-card small { font-size:.58rem; } }

/* Practice list: searchable, compact, and friendly on small screens. */
.practice-list-page { min-height: 100vh; overflow-x: hidden; padding-bottom: env(safe-area-inset-bottom); background: linear-gradient(180deg, #f7fbff 0, #edf4fa 50%, #f7f9fc 100%); color: #112f56; font-family: 'Plus Jakarta Sans', sans-serif; }
.practice-list-topbar { border-bottom: 1px solid #dbe7f2; background: rgba(255,255,255,.92); backdrop-filter: blur(12px); }
.practice-list-topbar-inner { display: flex; align-items: center; justify-content: space-between; min-height: 4.25rem; }
.practice-list-back, .practice-list-home { display: inline-flex; align-items: center; gap: .45rem; color: #17446f; font-size: .8rem; font-weight: 800; text-decoration: none; }
.practice-list-back:hover, .practice-list-home:hover { color: #006ac3; }
.practice-list-home { color: #66819d; }
.practice-list-shell { max-width: 1180px; padding-top: 1.25rem; padding-bottom: calc(3rem + env(safe-area-inset-bottom)); }
.practice-list-hero { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 11.25rem; padding: 2rem 2.25rem; border-radius: 21px; background: radial-gradient(circle at 85% 18%, rgba(111,214,255,.28), transparent 22%), linear-gradient(128deg, #063d79, #0879bf); box-shadow: 0 16px 32px rgba(7,76,137,.17); color: #fff; }
.practice-list-eyebrow { display: inline-flex; align-items: center; gap: .35rem; color: #0d70c8; font-size: .65rem; font-weight: 900; letter-spacing: .025em; text-transform: uppercase; }
.practice-list-hero .practice-list-eyebrow { color: #b8e4ff; }
.practice-list-hero h1 { margin: .35rem 0 .5rem; font-size: clamp(1.7rem, 3vw, 2.35rem); font-weight: 900; letter-spacing: -.045em; }
.practice-list-hero p { max-width: 40rem; margin: 0; color: rgba(255,255,255,.84); font-size: .88rem; line-height: 1.65; }
.practice-list-hero-icon { display: grid; flex: 0 0 auto; width: 7rem; height: 7rem; place-items: center; border: 1px solid rgba(255,255,255,.27); border-radius: 24px; background: rgba(255,255,255,.12); font-size: 3.2rem; }
.practice-recommendation, .practice-guest-tip { display: flex; align-items: center; gap: 1rem; margin-top: 1rem; padding: 1rem 1.25rem; border: 1px solid #c9e1f5; border-radius: 16px; background: #fff; box-shadow: 0 7px 17px rgba(23,76,122,.06); }
.practice-recommendation-icon { display: grid; width: 2.85rem; height: 2.85rem; flex: 0 0 auto; place-items: center; border-radius: 12px; background: #e1f3ff; color: #0072c9; font-size: 1.35rem; }
.practice-recommendation-copy { min-width: 0; }
.practice-recommendation-copy span { color: #0d70c8; font-size: .65rem; font-weight: 900; text-transform: uppercase; }
.practice-recommendation-copy h2 { margin: .1rem 0; font-size: 1rem; font-weight: 900; }
.practice-recommendation-copy p { margin: 0; color: #617b95; font-size: .75rem; }
.practice-recommendation-action { margin-left: auto; flex: 0 0 auto; font-size: .75rem; font-weight: 800; }
.practice-guest-tip { color: #617b95; font-size: .8rem; }
.practice-guest-tip i { color: #0878cb; font-size: 1.3rem; }.practice-guest-tip strong { color: #173f69; }.practice-guest-tip a { margin-left: auto; color: #0871c5; font-weight: 900; text-decoration: none; }
.practice-filter-card { margin-top: 1rem; padding: 1.25rem; border: 1px solid #d6e4f0; border-radius: 18px; background: #fff; box-shadow: 0 7px 18px rgba(23,76,122,.05); }
.practice-filter-heading, .practice-section-title { display: flex; align-items: center; justify-content: space-between; gap: .8rem; }
.practice-filter-heading h2, .practice-section-title h2 { margin: .1rem 0 0; color: #102f56; font-size: 1.1rem; font-weight: 900; letter-spacing: -.025em; }
.practice-result-count { padding: .4rem .6rem; border-radius: 99px; background: #eef7ff; color: #2072b3; font-size: .7rem; font-weight: 800; white-space: nowrap; }
.practice-filter-form { display: grid; grid-template-columns: minmax(190px,1.45fr) repeat(4,minmax(125px,1fr)); gap: .75rem; align-items: end; margin-top: 1rem; }
.practice-filter-form label { min-width: 0; margin: 0; color: #516d89; font-size: .65rem; font-weight: 800; }
.practice-filter-form label > span { display: block; margin-bottom: .35rem; }
.practice-filter-form select, .practice-search-field div { width: 100%; height: 2.5rem; border: 1px solid #cbdcea; border-radius: 9px; background: #fff; color: #173f69; font-size: .76rem; outline: none; }
.practice-filter-form select { padding: 0 .65rem; }.practice-filter-form select:focus, .practice-search-field div:focus-within { border-color: #0086db; box-shadow: 0 0 0 3px rgba(0,134,219,.12); }
.practice-search-field div { display: flex; align-items: center; padding: 0 .7rem; gap: .45rem; }.practice-search-field i { color: #6d91b0; font-size: 1rem; }.practice-search-field input { min-width: 0; flex: 1; border: 0; outline: 0; background: transparent; color: #173f69; font: inherit; }.practice-search-field input::placeholder { color: #9db0c2; }
.practice-filter-actions { display: flex; gap: .5rem; grid-column: 1 / -1; }.practice-filter-actions .btn { font-size: .74rem; font-weight: 800; }.practice-filter-actions .btn i { margin-right: .25rem; }
.practice-suggested-section, .practice-session-section { margin-top: 1.5rem; }.practice-section-title { margin-bottom: .8rem; }.practice-section-title > a { color: #0871c5; font-size: .74rem; font-weight: 900; text-decoration: none; }.practice-section-title > a i { margin-left: .25rem; }
.practice-session-card { display: flex; height: 100%; min-height: 15.25rem; flex-direction: column; padding: 1rem; border: 1px solid #d8e5f0; border-radius: 15px; background: #fff; box-shadow: 0 6px 16px rgba(26,76,120,.045); }.practice-session-card.is-recommended { border-color: #8fc9f0; box-shadow: 0 9px 22px rgba(16,115,188,.1); }
.practice-session-card-top { display: flex; align-items: center; justify-content: space-between; gap: .65rem; }.practice-subject-icon { display: grid; width: 2.25rem; height: 2.25rem; place-items: center; border-radius: 9px; background: color-mix(in srgb, var(--subject-color), white 87%); color: var(--subject-color); font-size: 1.1rem; }.practice-session-badges { display: flex; justify-content: flex-end; gap: .35rem; flex-wrap: wrap; }.practice-session-badges > span { padding: .22rem .42rem; border-radius: 99px; background: #f1f6fa; color: #53728e; font-size: .6rem; font-weight: 800; }.practice-session-badges .practice-difficulty { background: #eef8f4; color: #16825c; }.practice-session-badges .difficulty-medium { background: #fff7e6; color: #a86c04; }.practice-session-badges .difficulty-hard { background: #fff0f1; color: #bf4a5d; }.practice-session-badges .difficulty-mixed { background: #f2efff; color: #6951b1; }
.practice-subject-name { margin: .8rem 0 .18rem; color: var(--subject-color); font-size: .66rem; font-weight: 900; }.practice-session-card h3 { display: -webkit-box; overflow: hidden; margin: 0; min-height: 2.55rem; color: #153960; font-size: .92rem; font-weight: 900; line-height: 1.4; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }.practice-session-meta { display: flex; gap: .65rem; flex-wrap: wrap; margin: .8rem 0 .55rem; color: #69819a; font-size: .68rem; }.practice-session-meta span { display: inline-flex; gap: .22rem; align-items: center; }.practice-session-meta i, .practice-schedule i { color: var(--subject-color); font-size: .82rem; }.practice-schedule { margin: 0; color: #52728f; font-size: .67rem; line-height: 1.4; }.practice-schedule i { margin-right: .28rem; }.practice-session-action { margin-top: auto; padding-top: .9rem; }.practice-session-action .btn { font-size: .73rem; font-weight: 800; }
.practice-empty-state { padding: 3.25rem 1rem; border: 1px dashed #bcd1e2; border-radius: 16px; background: rgba(255,255,255,.75); text-align: center; }.practice-empty-state > i { display: block; margin-bottom: .65rem; color: #75a4ca; font-size: 2.2rem; }.practice-empty-state h3 { margin: 0 0 .35rem; color: #234a70; font-size: 1rem; font-weight: 900; }.practice-empty-state p { max-width: 27rem; margin: 0 auto 1rem; color: #71869b; font-size: .78rem; line-height: 1.55; }.practice-empty-state .btn { font-size: .74rem; font-weight: 800; }
@media (max-width: 991.98px) { .practice-filter-form { grid-template-columns: repeat(3,minmax(0,1fr)); }.practice-search-field { grid-column: span 3; } }
@media (max-width: 767.98px) { .practice-list-topbar-inner { min-height: 3.75rem; }.practice-list-shell { padding-top: .75rem; padding-bottom: calc(4.5rem + env(safe-area-inset-bottom)); }.practice-list-hero { min-height: 0; padding: 1.4rem; border-radius: 16px; }.practice-list-hero-icon { display: none; }.practice-list-hero p { font-size: .79rem; }.practice-recommendation { align-items: flex-start; flex-wrap: wrap; padding: 1rem; }.practice-recommendation-action { width: 100%; margin-left: 0; }.practice-guest-tip { align-items: flex-start; flex-wrap: wrap; }.practice-guest-tip a { margin-left: 2rem; }.practice-filter-card { padding: 1rem; border-radius: 15px; }.practice-filter-form { grid-template-columns: 1fr; }.practice-search-field { grid-column: auto; }.practice-filter-actions { flex-wrap: wrap; }.practice-filter-actions .btn { flex: 1; }.practice-session-card { min-height: 0; }.practice-suggested-section, .practice-session-section { margin-top: 1.2rem; } }

/* Admin navigation keeps every expanded menu reachable. */
@media (min-width: 992px) {
	.admin-sidebar { height: 100vh; overflow: hidden; }
	.admin-sidebar-inner { display: flex; height: 100%; min-height: 0; flex-direction: column; padding-bottom: 0 !important; }
	.admin-sidebar #sidebar-menu { display: flex !important; min-height: 0; flex: 1 1 auto; flex-direction: column; overflow-x: hidden; overflow-y: auto; padding-bottom: 1.25rem; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.55) transparent; }
	.admin-sidebar #sidebar-menu::-webkit-scrollbar { width: 7px; }
	.admin-sidebar #sidebar-menu::-webkit-scrollbar-thumb { border-radius: 8px; background: rgba(255,255,255,.45); }
}

/* Three explicit, readable account-status tabs. */
.status-tabs { display: flex; gap: .55rem; flex-wrap: wrap; margin: 1rem 0; }
.status-tab { display: inline-flex; align-items: center; gap: .45rem; min-height: 2.5rem; padding: .5rem .8rem; border: 1px solid #cbddec; border-radius: 10px; background: #fff; color: #315779; font-size: .78rem; font-weight: 800; text-decoration: none; }
.status-tab:hover { border-color: #0074c8; color: #0067b1; }
.status-tab span { min-width: 1.4rem; padding: .1rem .36rem; border-radius: 99px; background: #e9f2f9; color: #55718b; font-size: .68rem; text-align: center; }
.status-tab.active { border-color: #006fbc; background: #006fbc; box-shadow: 0 7px 16px rgba(0,99,174,.18); color: #fff; }
.status-tab.active span { background: rgba(255,255,255,.2); color: #fff; }

/* RBAC admin filters remain readable instead of shrinking select labels. */
.admin-user-filter { display: grid; grid-template-columns: minmax(13rem, 2fr) minmax(6.9rem, .72fr) minmax(7.5rem, .78fr) minmax(10.8rem, 1.15fr) minmax(10.8rem, 1.15fr) minmax(5.3rem, .52fr) 3.25rem 3.25rem; gap: .6rem; align-items: end; }
.admin-user-filter > [class*="col-"] { width: auto; max-width: none; padding: 0; }
.admin-user-filter .form-label { min-height: 1rem; margin-bottom: .34rem; overflow: visible; font-size: .64rem; white-space: nowrap; }
.admin-user-filter .form-control, .admin-user-filter .form-select { min-width: 0; }
.admin-user-filter .btn { min-width: 0; }
@media (max-width: 1199.98px) { .admin-user-filter { grid-template-columns: minmax(15rem, 2fr) repeat(3, minmax(9rem, 1fr)); }.admin-user-filter > :nth-last-child(-n+4) { grid-column: span 1; } }
@media (max-width: 767.98px) { .admin-user-filter { grid-template-columns: 1fr 1fr; }.admin-user-filter > :first-child { grid-column: 1 / -1; }.admin-user-filter > :nth-child(4), .admin-user-filter > :nth-child(5) { grid-column: 1 / -1; }.admin-user-filter > :nth-last-child(-n+2) { min-height: 2.5rem; }.admin-user-filter > :nth-last-child(-n+2) .btn { height: 100%; } }

/* Dedicated member-card page; card stays compact at every viewport. */
.member-card-main { min-height: calc(100vh - 5rem); padding: 6.5rem 0 4rem; background: radial-gradient(circle at 85% 5%, rgba(0,131,222,.11), transparent 24rem), linear-gradient(180deg, #f7fbff, #eef5fb); }
.member-card-page-head { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1.35rem; }
.member-card-page-head h1 { margin: .16rem 0 .35rem; color: #092b55; font-size: clamp(1.65rem, 3vw, 2.35rem); font-weight: 900; letter-spacing: -.05em; }
.member-card-page-head p { max-width: 42rem; margin: 0; color: #5b7590; font-size: .83rem; }
.member-card-display { position: relative; isolation: isolate; width: min(100%, 47rem); min-height: 26.4rem; margin: 0 auto; overflow: hidden; padding: 1.7rem; border: 1px solid rgba(167,223,255,.48); border-radius: 26px; background: radial-gradient(circle at 76% 20%, rgba(67,202,255,.4), transparent 23%), radial-gradient(circle at 8% 100%, rgba(29,102,240,.7), transparent 32%), linear-gradient(135deg, #051a45 0%, #073f85 50%, #006eae 100%); box-shadow: 0 25px 54px rgba(4,36,83,.28); color: #fff; }
.member-card-display.is-inactive { filter: grayscale(.28); }
.member-card-grid { position: absolute; z-index: -1; inset: 0; opacity: .25; background-image: linear-gradient(rgba(255,255,255,.15) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.15) 1px, transparent 1px); background-size: 26px 26px; mask-image: linear-gradient(130deg, transparent 10%, #000 66%); }
.member-card-orbit { position: absolute; z-index: -1; border: 1px solid rgba(134,224,255,.45); border-radius: 50%; }
.member-card-orbit-one { width: 27rem; height: 27rem; right: -14rem; top: -13rem; box-shadow: 0 0 0 24px rgba(137,225,255,.05), 0 0 0 48px rgba(137,225,255,.035); }
.member-card-orbit-two { width: 17rem; height: 17rem; left: -12rem; bottom: -10rem; }
.member-card-display-top, .member-card-display-body, .member-card-display-bottom { position: relative; z-index: 1; }
.member-card-display-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.member-card-display .member-card-brand { display: flex; align-items: center; gap: .75rem; }.member-card-display .member-card-brand > div { display: grid; gap: .08rem; }.member-card-display .member-card-brand span { color: rgba(225,246,255,.8); font-size: .58rem; font-weight: 800; letter-spacing: .06em; }.member-card-display .member-card-brand strong { font-size: .9rem; letter-spacing: -.02em; }
.member-card-display .member-card-logo { display: grid; width: 2.55rem; height: 2.55rem; place-items: center; overflow: hidden; border-radius: 11px; background: #fff; }.member-card-display .member-card-logo img { max-width: 86%; max-height: 86%; object-fit: contain; }
.member-card-live { display: inline-flex; align-items: center; gap: .32rem; padding: .4rem .6rem; border: 1px solid rgba(176,247,217,.5); border-radius: 99px; background: rgba(9,162,111,.2); color: #d5ffec; font-size: .64rem; font-weight: 800; white-space: nowrap; }.member-card-live i { color: #7ff0bf; }
.member-card-display-body { display: flex; align-items: center; gap: 1.25rem; margin-top: 3.25rem; }.member-card-photo { display: grid; width: 7.4rem; height: 8.8rem; flex: 0 0 auto; place-items: center; overflow: hidden; border: 2px solid rgba(207,243,255,.7); border-radius: 16px; background: linear-gradient(145deg, #d7f3ff, #6aaedc); color: #0a467a; font-size: 3rem; box-shadow: 0 12px 25px rgba(0,0,0,.2); }.member-card-photo img { width: 100%; height: 100%; object-fit: cover; }
.member-card-person { min-width: 0; }.member-card-person > span, .member-card-display-bottom span { display: block; color: rgba(218,243,255,.72); font-size: .59rem; font-weight: 800; letter-spacing: .08em; }.member-card-person h2 { max-width: 29rem; margin: .3rem 0 .5rem; font-size: clamp(1.35rem, 3vw, 2rem); font-weight: 900; letter-spacing: -.045em; line-height: 1.12; }.member-card-person strong { display: block; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 1rem; letter-spacing: .09em; }.member-card-person p { margin: .35rem 0 0; color: #bdeaff; font-size: .72rem; font-weight: 700; }
.member-card-display-bottom { display: flex; align-items: end; gap: 1.25rem; margin-top: 2.4rem; padding-top: .9rem; border-top: 1px solid rgba(216,242,255,.28); }.member-card-display-bottom > div:not(.member-card-code) { min-width: 8rem; }.member-card-display-bottom strong { display: block; margin-top: .22rem; font-size: .76rem; }.member-card-code { display: inline-flex; align-items: center; gap: .3rem; margin-left: auto; padding: .5rem .65rem; border: 1px solid rgba(235,250,255,.38); border-radius: 9px; background: rgba(255,255,255,.12); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .72rem; letter-spacing: .08em; }.member-card-code i { font-size: 1.1rem; }
.member-card-notes { display: flex; width: min(100%, 47rem); align-items: flex-start; gap: .7rem; margin: 1rem auto 0; padding: .85rem 1rem; border: 1px solid #d4e5f1; border-radius: 14px; background: rgba(255,255,255,.82); color: #526e89; font-size: .74rem; }.member-card-notes i { color: #0071bf; font-size: 1.1rem; }.member-card-notes strong, .member-card-notes span { display: block; }.member-card-notes strong { color: #173f68; }.member-card-notes span { margin-top: .15rem; }
@media (max-width: 767.98px) { .member-card-main { padding: 8.25rem 0 calc(5.5rem + env(safe-area-inset-bottom)); }.member-card-page-head { align-items: flex-start; flex-direction: column; }.member-card-page-head .btn-list { width: 100%; }.member-card-page-head .btn { flex: 1; }.member-card-display { min-height: 25rem; padding: 1.15rem; border-radius: 19px; }.member-card-display-body { gap: .85rem; margin-top: 2.3rem; }.member-card-photo { width: 5.7rem; height: 7.1rem; border-radius: 13px; }.member-card-person h2 { font-size: 1.25rem; }.member-card-person strong { font-size: .8rem; }.member-card-display-bottom { gap: .65rem; margin-top: 2rem; }.member-card-display-bottom > div:not(.member-card-code) { min-width: 0; flex: 1; }.member-card-display-bottom strong { font-size: .62rem; }.member-card-code { display: none; } }
@media print { .member-card-page .user-topbar, .member-card-page .member-bottom-nav, .member-card-page-head, .member-card-notes { display: none !important; }.member-card-main { padding: 0; background: #fff; }.member-card-display { margin: 0 auto; box-shadow: none; } }

/* Public application guide. */
.guide-page { color: #173b62; background: #f4f9fd; }
.guide-main { padding-bottom: 4rem; }.guide-hero { min-height: 23rem; padding: 9rem 0 3.25rem; overflow: hidden; background: radial-gradient(circle at 83% 8%, rgba(112,225,255,.36), transparent 17rem), radial-gradient(circle at 75% 120%, rgba(29,133,235,.4), transparent 27rem), linear-gradient(125deg, #042754, #006aaf); color: #fff; }.guide-hero-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }.guide-hero .section-kicker { color: #bde9ff; }.guide-hero h1 { max-width: 48rem; margin: .35rem 0 .75rem; font-size: clamp(2rem, 4vw, 3.35rem); font-weight: 900; letter-spacing: -.06em; line-height: 1.03; }.guide-hero p { max-width: 43rem; margin: 0; color: rgba(236,249,255,.88); font-size: .94rem; line-height: 1.75; }.guide-hero-actions { display: flex; gap: .65rem; flex-wrap: wrap; margin-top: 1.3rem; }.guide-hero-actions .btn { font-weight: 800; }.guide-hero-symbol { position: relative; display: grid; width: 10.5rem; height: 10.5rem; flex: 0 0 auto; place-items: center; border: 1px solid rgba(255,255,255,.3); border-radius: 35%; background: rgba(255,255,255,.1); box-shadow: 0 0 0 1.25rem rgba(255,255,255,.04), 0 0 0 2.5rem rgba(255,255,255,.025); font-size: 5.5rem; }.guide-hero-symbol span { position: absolute; right: .65rem; bottom: .35rem; color: #8be8ff; font-size: 3.2rem; font-weight: 900; }
.guide-shell { display: grid; grid-template-columns: 14rem minmax(0, 1fr); gap: 2rem; padding-top: 2rem; }.guide-toc { position: sticky; top: 6.5rem; align-self: start; padding: 1rem; border: 1px solid #d8e7f2; border-radius: 16px; background: rgba(255,255,255,.9); box-shadow: 0 9px 22px rgba(25,76,122,.05); }.guide-toc strong { display: block; margin: 0 0 .55rem; color: #12395f; font-size: .78rem; font-weight: 900; }.guide-toc a { display: flex; align-items: center; gap: .5rem; padding: .48rem .4rem; border-radius: 8px; color: #5a7590; font-size: .72rem; font-weight: 700; text-decoration: none; }.guide-toc a:hover { background: #edf7ff; color: #0070be; }.guide-toc i { color: #0879c6; font-size: .95rem; }.guide-content { min-width: 0; }.guide-section { scroll-margin-top: 5.5rem; margin-bottom: 1.15rem; padding: clamp(1.15rem, 2vw, 1.8rem); border: 1px solid #d9e7f2; border-radius: 20px; background: rgba(255,255,255,.92); box-shadow: 0 10px 24px rgba(19,73,121,.045); }.guide-section-heading { display: flex; align-items: center; gap: .8rem; margin-bottom: .9rem; }.guide-section-icon { display: grid; width: 2.75rem; height: 2.75rem; flex: 0 0 auto; place-items: center; border-radius: 11px; background: #e5f4ff; color: #0070bc; font-size: 1.35rem; }.guide-section h2 { margin: .12rem 0 0; color: #082e57; font-size: clamp(1.25rem, 2vw, 1.65rem); font-weight: 900; letter-spacing: -.04em; }.guide-section > p { margin: 0 0 1rem; color: #58728d; font-size: .82rem; line-height: 1.65; }.guide-grid { display: grid; gap: .8rem; }.guide-grid.three { grid-template-columns: repeat(3, minmax(0,1fr)); }.guide-grid.two, .guide-split { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1rem; }.guide-grid article, .guide-admin-grid article { padding: 1rem; border: 1px solid #dce9f4; border-radius: 14px; background: #fbfdff; }.guide-grid article > i { display: grid; width: 2.15rem; height: 2.15rem; place-items: center; border-radius: 9px; background: #e7f5ff; color: #0075c4; font-size: 1.1rem; }.guide-grid h3, .guide-split h3, .guide-admin-grid h3 { margin: .6rem 0 .35rem; color: #123c67; font-size: .91rem; font-weight: 900; }.guide-grid p, .guide-grid li, .guide-split li, .guide-admin-grid p { color: #607a93; font-size: .75rem; line-height: 1.6; }.guide-grid ul { margin: .5rem 0 0; padding-left: 1.1rem; }.guide-grid li + li { margin-top: .33rem; }.guide-grid h3 i { margin-right: .35rem; color: #0878c5; }.guide-callout { display: flex; align-items: flex-start; gap: .65rem; margin: 1rem 0; padding: .85rem 1rem; border: 1px solid #cce5f7; border-radius: 13px; background: #f0f9ff; }.guide-callout > i { margin-top: .1rem; color: #0073c0; font-size: 1.2rem; }.guide-callout strong, .guide-callout span { display: block; }.guide-callout strong { color: #133e69; font-size: .78rem; }.guide-callout span { margin-top: .15rem; color: #5d7891; font-size: .72rem; line-height: 1.5; }.guide-callout.warning { border-color: #f3ddb1; background: #fffbef; }.guide-callout.warning > i { color: #bd7a09; }.guide-steps { display: grid; gap: .6rem; margin: .55rem 0 0; padding: 0; list-style: none; }.guide-steps li { display: flex; align-items: flex-start; gap: .55rem; }.guide-steps li > span { display: grid; width: 1.35rem; height: 1.35rem; flex: 0 0 auto; place-items: center; border-radius: 50%; background: #0879c6; color: #fff; font-size: .61rem; font-weight: 900; }.guide-steps li > div { padding-top: .04rem; }.guide-steps a { color: #0070bd; font-weight: 800; text-decoration: none; }.guide-status-list { display: grid; gap: .42rem; margin-top: .65rem; }.guide-status-list div { display: flex; align-items: center; gap: .5rem; }.guide-status-list b { min-width: 5.7rem; font-size: .62rem; text-align: center; }.guide-status-list span { color: #607a93; font-size: .72rem; }.guide-note { margin: 1rem 0 0; padding-top: .85rem; border-top: 1px solid #e0ebf3; color: #647e97; font-size: .73rem; line-height: 1.55; }.guide-policy-table { overflow: hidden; border: 1px solid #d6e6f2; border-radius: 13px; }.guide-policy-table > div { display: grid; grid-template-columns: 1.25fr 1fr .85fr; gap: .5rem; padding: .7rem .85rem; border-top: 1px solid #e3edf4; color: #53708b; font-size: .74rem; }.guide-policy-table .guide-policy-head { border: 0; background: #eff8ff; color: #1d517d; font-size: .65rem; font-weight: 900; text-transform: uppercase; }.guide-policy-table b { font-size: .68rem; }.guide-policy-table .free { color: #118157; }.guide-policy-table .charged { color: #b7690a; }.guide-grid.compact { margin-top: 1rem; }.guide-admin-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: .8rem; }.guide-admin-grid article > i { color: #0877c3; font-size: 1.45rem; }.guide-admin-grid small { display: block; margin-top: .55rem; color: #577591; font-size: .65rem; font-weight: 700; line-height: 1.45; }.guide-faq { display: grid; gap: .55rem; }.guide-faq details { border: 1px solid #dce8f2; border-radius: 11px; background: #fbfdff; }.guide-faq summary { padding: .8rem .9rem; color: #143e68; font-size: .77rem; font-weight: 850; cursor: pointer; }.guide-faq p { margin: 0; padding: 0 .9rem .9rem; color: #607a92; font-size: .74rem; line-height: 1.6; }.guide-footer { padding: 1.2rem 0 calc(1.2rem + env(safe-area-inset-bottom)); border-top: 1px solid #d9e6f0; background: #fff; color: #637d95; font-size: .72rem; }.guide-footer .container-xl { display: flex; justify-content: space-between; gap: 1rem; }.guide-footer a { color: #006fba; font-weight: 800; text-decoration: none; }
@media (max-width: 991.98px) { .guide-hero { padding-top: 7.5rem; }.guide-shell { grid-template-columns: 1fr; }.guide-toc { position: static; display: flex; gap: .2rem; overflow-x: auto; padding: .65rem; white-space: nowrap; }.guide-toc strong { display: none; }.guide-toc a { flex: 0 0 auto; }.guide-admin-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 767.98px) { .guide-main { padding-bottom: 4.5rem; }.guide-hero { min-height: 0; padding: 7rem 0 2rem; }.guide-hero-symbol { display: none; }.guide-hero h1 { font-size: 2rem; }.guide-hero p { font-size: .8rem; }.guide-shell { padding-top: 1rem; }.guide-section { padding: 1rem; border-radius: 16px; }.guide-grid.three, .guide-grid.two, .guide-split, .guide-admin-grid { grid-template-columns: 1fr; }.guide-policy-table > div { grid-template-columns: 1.2fr 1fr; }.guide-policy-table > div > :last-child { grid-column: 1 / -1; }.guide-policy-table .guide-policy-head > :last-child { display: none; }.guide-footer .container-xl { align-items: flex-start; flex-direction: column; } }

/* Member mobile: one compact bottom navigation; header is identity only. */
@media (max-width: 767.98px) {
	.user-page .user-topbar-app { min-height: 4.25rem; padding: .65rem 1rem; }
	.user-page .user-topbar-app .btn-list { display: none !important; }
	.user-page .user-topbar-app .public-brand { min-width: 0; }
	.user-page .user-topbar-app .public-brand-text { overflow: hidden; text-overflow: ellipsis; font-size: .82rem; }
	.user-page .member-bottom-nav { display: flex !important; flex-wrap: nowrap; gap: .22rem; overflow-x: auto; overscroll-behavior-x: contain; padding: .42rem .5rem calc(.46rem + env(safe-area-inset-bottom)); scrollbar-width: none; }
	.user-page .member-bottom-nav::-webkit-scrollbar { display: none; }
	.user-page .member-bottom-nav a { min-width: 4.25rem; flex: 1 0 4.25rem; padding: .28rem .18rem; font-size: .61rem; white-space: nowrap; }
	.user-page .member-bottom-nav i { font-size: 1.1rem; }
	.user-page .user-dashboard-v2 { padding-top: 5.25rem !important; }
	.user-page.member-card-page .member-card-main { padding-top: 5.25rem; }
}
