/* Live2Give Rewards Hub — intentionally scoped to .l2g-app */

body.l2g-app-shell {
	margin: 0;
	background: #f5f6f4;
}

.l2g-app {
	min-height: 100vh;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	color: #202522;
	background: #f5f6f4;
}

.l2g-app *,
.l2g-app *::before,
.l2g-app *::after {
	box-sizing: border-box;
}

.l2g-topbar {
	min-height: 72px;
	padding: 0 32px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	background: #fff;
	border-bottom: 1px solid #e5e8e5;
}

.l2g-brand {
	display: inline-flex;
	align-items: center;
	gap: 11px;
	color: #202522;
	text-decoration: none;
	font-weight: 700;
	font-size: 17px;
}

.l2g-brand-mark {
	width: 42px;
	height: 42px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 14px;
	background: #0f6f4a;
	color: #fff;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .04em;
}

.l2g-topbar-actions {
	display: flex;
	align-items: center;
	gap: 18px;
	font-size: 14px;
}

.l2g-user-name {
	font-weight: 600;
}

.l2g-link,
.l2g-auth-link {
	color: #0f6f4a;
	text-decoration: none;
}

.l2g-nav {
	padding: 0 32px;
	min-height: 54px;
	display: flex;
	align-items: center;
	gap: 8px;
	background: #fff;
	border-bottom: 1px solid #e5e8e5;
	overflow-x: auto;
}

.l2g-nav a {
	padding: 9px 13px;
	border-radius: 9px;
	color: #4d5650;
	text-decoration: none;
	font-size: 14px;
	font-weight: 600;
	white-space: nowrap;
}

.l2g-nav a:hover {
	background: #eff6f1;
	color: #0f6f4a;
}

.l2g-main {
	width: min(1180px, calc(100% - 40px));
	margin: 0 auto;
	padding: 44px 0 72px;
}

.l2g-main-auth {
	width: min(480px, calc(100% - 32px));
	min-height: 100vh;
	padding: 48px 0;
	display: flex;
	align-items: center;
	justify-content: center;
}

.l2g-page-head {
	margin-bottom: 28px;
}

.l2g-page-head-row {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
}

.l2g-page-head h1,
.l2g-auth-card h1 {
	margin: 5px 0 8px;
	font-size: clamp(30px, 4vw, 44px);
	line-height: 1.08;
	letter-spacing: -.035em;
}

.l2g-page-head p,
.l2g-section-head p,
.l2g-auth-brand p {
	margin: 0;
	color: #69736d;
	font-size: 15px;
	line-height: 1.6;
}

.l2g-eyebrow {
	color: #0f6f4a !important;
	font-weight: 700;
	font-size: 13px !important;
}

.l2g-stat-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
	margin-bottom: 42px;
}

.l2g-stat-card,
.l2g-panel,
.l2g-member-card {
	background: #fff;
	border: 1px solid #e4e8e5;
	border-radius: 18px;
	box-shadow: 0 10px 30px rgba(26, 48, 35, .04);
}

.l2g-stat-card {
	padding: 22px;
}

.l2g-stat-card span {
	display: block;
	color: #6c756f;
	font-size: 13px;
	margin-bottom: 12px;
}

.l2g-stat-card strong {
	font-size: 30px;
	letter-spacing: -.035em;
}

.l2g-section-head {
	margin: 40px 0 18px;
}

.l2g-section-head h2,
.l2g-panel h2 {
	margin: 0 0 6px;
	font-size: 22px;
	letter-spacing: -.02em;
}

.l2g-module-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
}

.l2g-module-card {
	display: block;
	min-height: 172px;
	padding: 22px;
	background: #fff;
	border: 1px solid #e4e8e5;
	border-radius: 18px;
	color: #202522;
	text-decoration: none;
	box-shadow: 0 10px 30px rgba(26, 48, 35, .04);
	transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

a.l2g-module-card:hover {
	transform: translateY(-2px);
	border-color: #bfd8c9;
	box-shadow: 0 14px 34px rgba(26, 48, 35, .08);
}

.l2g-module-card h3 {
	margin: 12px 0 7px;
	font-size: 18px;
}

.l2g-module-card p {
	margin: 0;
	color: #707a73;
	font-size: 14px;
	line-height: 1.55;
}

.l2g-module-card-muted {
	background: #f0f2f0;
	box-shadow: none;
}

.l2g-module-icon {
	width: 36px;
	height: 36px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 10px;
	background: #e8f3ec;
	color: #0f6f4a;
	font-size: 13px;
	font-weight: 800;
}

.l2g-panel {
	padding: 24px;
}

.l2g-empty {
	padding: 50px 20px;
	text-align: center;
}

.l2g-empty h3 {
	margin: 0 0 7px;
}

.l2g-empty p {
	margin: 0;
	color: #707a73;
}

.l2g-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 0 18px;
	border: 0;
	border-radius: 11px;
	font: inherit;
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
	cursor: pointer;
}

.l2g-button-primary {
	background: #0f6f4a;
	color: #fff;
}

.l2g-button-secondary {
	background: #fff;
	color: #25302a;
	border: 1px solid #dce2de;
}

.l2g-content-list {
	display: grid;
}

.l2g-content-row {
	padding: 16px 2px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	color: #222a25;
	text-decoration: none;
	border-bottom: 1px solid #edf0ee;
}

.l2g-content-row:last-child {
	border-bottom: 0;
}

.l2g-content-row strong,
.l2g-content-row small {
	display: block;
}

.l2g-content-row small {
	margin-top: 3px;
	color: #7b847e;
}

.l2g-table-wrap {
	overflow-x: auto;
}

.l2g-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
}

.l2g-table th,
.l2g-table td {
	padding: 14px 12px;
	text-align: left;
	border-bottom: 1px solid #edf0ee;
	vertical-align: middle;
}

.l2g-table th {
	color: #717a74;
	font-size: 12px;
	font-weight: 700;
}

.l2g-table td strong,
.l2g-table td small {
	display: block;
}

.l2g-table td small {
	margin-top: 3px;
	color: #7b847e;
}

.l2g-status {
	display: inline-flex;
	padding: 5px 9px;
	border-radius: 99px;
	background: #edf5ef;
	color: #276344;
	font-size: 12px;
	font-weight: 700;
}

.l2g-auth-card {
	width: 100%;
	padding: 32px;
	background: #fff;
	border: 1px solid #e3e7e4;
	border-radius: 22px;
	box-shadow: 0 20px 60px rgba(26, 48, 35, .08);
}

.l2g-auth-brand {
	margin-bottom: 26px;
}

.l2g-auth-brand .l2g-brand-mark {
	margin-bottom: 24px;
}

.l2g-form {
	display: grid;
	gap: 17px;
}

.l2g-form label > span {
	display: block;
	margin-bottom: 7px;
	font-size: 13px;
	font-weight: 700;
}

.l2g-form input[type="text"],
.l2g-form input[type="email"],
.l2g-form input[type="password"],
.l2g-form input[type="url"],
.l2g-form textarea,
.l2g-form select {
	width: 100%;
	min-height: 46px;
	padding: 10px 12px;
	border: 1px solid #d8ded9;
	border-radius: 10px;
	background: #fff;
	font: inherit;
}

.l2g-check {
	display: flex;
	align-items: center;
	gap: 8px;
}

.l2g-check span {
	margin: 0 !important;
	font-weight: 500 !important;
}

.l2g-auth-link {
	text-align: center;
	font-size: 14px;
}

.l2g-alert {
	margin-bottom: 18px;
	padding: 12px 14px;
	border-radius: 10px;
	font-size: 14px;
	line-height: 1.5;
}

.l2g-alert-error {
	background: #fff1f0;
	color: #8a2924;
}

.l2g-alert-success {
	background: #eef8f0;
	color: #29643d;
}

.l2g-member-grid {
	display: grid;
	grid-template-columns: 1.15fr .85fr;
	gap: 18px;
}

.l2g-digital-card {
	min-height: 260px;
	padding: 26px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	background: #154b38;
	color: #fff;
	border-color: transparent;
}

.l2g-card-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	font-weight: 700;
}

.l2g-card-name {
	margin-top: auto;
	font-size: 24px;
	font-weight: 700;
}

.l2g-card-number,
.l2g-card-status {
	margin-top: 8px;
	opacity: .84;
	font-size: 14px;
}

.l2g-detail-row {
	padding: 13px 0;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	border-bottom: 1px solid #edf0ee;
}

.l2g-detail-row:last-child {
	border-bottom: 0;
}

.l2g-detail-row span {
	color: #747d77;
}

.l2g-acf-panel .acf-fields > .acf-field {
	padding-left: 0;
	padding-right: 0;
}

.l2g-acf-panel .acf-label label {
	font-size: 13px;
}

.l2g-acf-panel .acf-input input[type="text"],
.l2g-acf-panel .acf-input input[type="url"],
.l2g-acf-panel .acf-input input[type="number"],
.l2g-acf-panel .acf-input textarea,
.l2g-acf-panel .acf-input select {
	border-color: #d8ded9;
	border-radius: 9px;
}

.l2g-acf-submit {
	min-height: 44px !important;
	padding: 0 18px !important;
	border-radius: 10px !important;
	background: #0f6f4a !important;
	border-color: #0f6f4a !important;
}

@media (max-width: 900px) {
	.l2g-stat-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

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

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

@media (max-width: 620px) {
	.l2g-topbar {
		padding: 0 18px;
	}

	.l2g-user-name {
		display: none;
	}

	.l2g-nav {
		padding: 0 14px;
	}

	.l2g-main {
		width: min(100% - 28px, 1180px);
		padding-top: 30px;
	}

	.l2g-page-head-row {
		align-items: stretch;
		flex-direction: column;
	}

	.l2g-stat-grid,
	.l2g-module-grid {
		grid-template-columns: 1fr;
	}

	.l2g-auth-card {
		padding: 24px;
	}
}

/* v0.2 membership, signup and benefit modules */
.l2g-signup-card {
	width: min(760px, 100%);
}

.l2g-field-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}

.l2g-form input[type="date"],
.l2g-form input[type="file"] {
	width: 100%;
	min-height: 46px;
	padding: 10px 12px;
	border: 1px solid #d8ded9;
	border-radius: 10px;
	background: #fff;
	font: inherit;
}

.l2g-form-note {
	margin: 0;
	color: #747d77;
	font-size: 13px;
	line-height: 1.55;
}

.l2g-form-note a {
	color: #0f6f4a;
}

.l2g-cause-grid {
	display: grid;
	gap: 12px;
}

.l2g-cause-option {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 16px;
	border: 1px solid #dfe5e1;
	border-radius: 14px;
	cursor: pointer;
}

.l2g-cause-option:has(input:checked) {
	border-color: #78ad91;
	background: #f0f8f3;
}

.l2g-cause-option strong,
.l2g-cause-option small {
	display: block;
}

.l2g-cause-option small {
	margin-top: 5px;
	color: #707a73;
	line-height: 1.5;
}

.l2g-summary-card {
	display: grid;
	gap: 0;
	margin-bottom: 20px;
	padding: 4px 18px;
	background: #f5f7f5;
	border-radius: 14px;
}

.l2g-summary-card > div {
	display: flex;
	justify-content: space-between;
	gap: 18px;
	padding: 13px 0;
	border-bottom: 1px solid #e2e7e3;
}

.l2g-summary-card > div:last-child {
	border-bottom: 0;
}

.l2g-summary-card span {
	color: #747d77;
}

.l2g-benefit-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
}

.l2g-benefit-card {
	padding: 22px;
	background: #fff;
	border: 1px solid #e4e8e5;
	border-radius: 18px;
	box-shadow: 0 10px 30px rgba(26, 48, 35, .04);
}

.l2g-benefit-card h3 {
	margin: 0 0 8px;
	font-size: 19px;
}

.l2g-benefit-offer {
	min-height: 44px;
	margin: 0 0 16px;
	color: #606a64;
	line-height: 1.5;
}

.l2g-benefit-state {
	margin: 0 0 16px;
	padding: 8px 10px;
	border-radius: 9px;
	background: #edf6f0;
	color: #276344;
	font-size: 12px;
	font-weight: 700;
}

.l2g-benefit-locked {
	background: #f3f3f1;
	color: #70756f;
}

.l2g-voucher-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 16px 2px;
	border-bottom: 1px solid #edf0ee;
}

.l2g-voucher-row:last-child { border-bottom: 0; }
.l2g-voucher-row strong, .l2g-voucher-row small { display: block; }
.l2g-voucher-row small { margin-top: 4px; color: #7b847e; }
.l2g-voucher-row code {
	padding: 9px 12px;
	border-radius: 9px;
	background: #f0f3f1;
	font-size: 14px;
	font-weight: 700;
}

.l2g-settings-panel {
	max-width: 760px;
}

.l2g-settings-panel h2 {
	margin-top: 18px;
	padding-top: 18px;
	border-top: 1px solid #edf0ee;
}

.l2g-settings-panel h2:first-child {
	margin-top: 0;
	padding-top: 0;
	border-top: 0;
}

@media (max-width: 900px) {
	.l2g-benefit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
	.l2g-field-grid,
	.l2g-benefit-grid { grid-template-columns: 1fr; }
	.l2g-voucher-row { align-items: flex-start; flex-direction: column; }
}

.l2g-confirm-box {
	padding: 18px;
	border: 1px solid #cfe0d5;
	border-radius: 14px;
	background: #f3f8f5;
}
.l2g-confirm-box h3 { margin: 0 0 10px; }
.l2g-confirm-box p { color: #5f6963; line-height: 1.55; }

.l2g-hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
}









.l2g-cause-option-inner {
	display: flex;
	align-items: center;
	gap: 14px;
	width: 100%;
}

.l2g-cause-logo {
	width: 76px;
	height: 58px;
	flex: 0 0 76px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 6px;
	border-radius: 10px;
	background: #fff;
	border: 1px solid #edf0ee;
}

.l2g-cause-logo img {
	display: block;
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
	object-fit: contain;
}

.l2g-cause-copy {
	display: grid;
	gap: 4px;
}

.l2g-cause-copy small {
	color: #707a73;
	font-size: 13px;
}


.l2g-content-status-panel {
	margin-bottom: 18px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

.l2g-content-status-panel h2 {
	margin: 4px 0 6px;
}

.l2g-content-status-panel p:not(.l2g-eyebrow) {
	margin: 0;
	color: #707a73;
	line-height: 1.55;
}

.l2g-content-status-panel form {
	margin: 0;
	flex: 0 0 auto;
}

@media (max-width: 720px) {
	.l2g-content-status-panel {
		align-items: stretch;
		flex-direction: column;
	}
}


/* v0.2.7 signup, partner and voucher refinements */

.l2g-cause-grid {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
}

.l2g-cause-option {
	position: relative;
	min-height: 170px;
	padding: 18px;
	align-items: stretch;
}

.l2g-cause-option > input[type="radio"] {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.l2g-cause-select-dot {
	position: absolute;
	top: 15px;
	right: 15px;
	width: 20px;
	height: 20px;
	border: 2px solid #c7d0ca;
	border-radius: 50%;
	background: #fff;
}

.l2g-cause-option:has(input:checked) .l2g-cause-select-dot {
	border: 6px solid #0f6f4a;
}

.l2g-cause-option-inner {
	flex-direction: column;
	align-items: flex-start;
	justify-content: flex-start;
	gap: 13px;
}

.l2g-cause-logo {
	width: 92px;
	height: 72px;
	flex: 0 0 72px;
}

.l2g-cause-copy strong {
	font-size: 15px;
	line-height: 1.35;
}

.l2g-brand-logo-box {
	width: 58px;
	height: 58px;
	flex: 0 0 58px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 7px;
	border: 1px solid #e4e8e5;
	border-radius: 12px;
	background: #fff;
	overflow: hidden;
}

.l2g-brand-logo-box img {
	display: block;
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
	object-fit: contain;
}

.l2g-logo-fallback {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	border-radius: 8px;
	background: #f1f4f2;
	color: #0f6f4a;
	font-weight: 800;
}

.l2g-benefit-brand {
	display: flex;
	align-items: center;
	gap: 11px;
	margin-bottom: 16px;
}

.l2g-benefit-partner-name {
	font-size: 14px;
	font-weight: 700;
	color: #39433d;
}

.l2g-benefit-card h3 {
	margin-top: 0;
}

.l2g-filter-bar {
	margin: -10px 0 20px;
	padding: 12px 15px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	border: 1px solid #e0e5e2;
	border-radius: 12px;
	background: #fff;
	font-size: 14px;
}

.l2g-filter-bar a {
	color: #0f6f4a;
	font-weight: 700;
	text-decoration: none;
}

.l2g-voucher-partner-grid,
.l2g-management-partner-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
}

.l2g-voucher-partner-card,
.l2g-management-partner-card {
	min-height: 112px;
	padding: 18px;
	display: flex;
	align-items: center;
	gap: 14px;
	position: relative;
	background: #fff;
	border: 1px solid #e4e8e5;
	border-radius: 18px;
	color: #202522;
	text-decoration: none;
	box-shadow: 0 10px 30px rgba(26, 48, 35, .04);
	transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.l2g-voucher-partner-card:hover,
.l2g-management-partner-card:hover {
	transform: translateY(-2px);
	border-color: #bfd8c9;
	box-shadow: 0 14px 34px rgba(26, 48, 35, .08);
}

.l2g-voucher-partner-copy,
.l2g-management-partner-body {
	display: grid;
	gap: 5px;
	min-width: 0;
}

.l2g-voucher-partner-copy strong,
.l2g-management-partner-body strong {
	font-size: 16px;
	line-height: 1.3;
}

.l2g-voucher-partner-copy small,
.l2g-management-partner-body small {
	color: #768079;
	font-size: 13px;
}

.l2g-card-arrow {
	margin-left: auto;
	color: #627069;
	font-weight: 700;
	white-space: nowrap;
}

.l2g-management-partner-card {
	min-height: 138px;
	align-items: flex-start;
	flex-direction: column;
}

.l2g-management-partner-logo {
	width: 72px;
	height: 72px;
	flex-basis: 72px;
}

.l2g-management-partner-card .l2g-card-arrow {
	position: absolute;
	right: 18px;
	bottom: 18px;
}

.l2g-payment-confirming {
	margin: 0 0 20px;
	padding: 18px;
	display: flex;
	align-items: center;
	gap: 14px;
	border: 1px solid #cfe0d5;
	border-radius: 14px;
	background: #f3f8f5;
}

.l2g-payment-confirming strong {
	display: block;
	margin-bottom: 4px;
}

.l2g-payment-confirming p {
	margin: 0;
	color: #5f6963;
	line-height: 1.5;
}

.l2g-spinner {
	width: 24px;
	height: 24px;
	flex: 0 0 24px;
	border: 3px solid #cfe0d5;
	border-top-color: #0f6f4a;
	border-radius: 50%;
	animation: l2g-spin .8s linear infinite;
}

@keyframes l2g-spin {
	to { transform: rotate(360deg); }
}

.l2g-status-warning {
	background: #fff3df;
	color: #8b5a00;
}

@media (max-width: 900px) {
	.l2g-voucher-partner-grid,
	.l2g-management-partner-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 620px) {
	.l2g-cause-grid,
	.l2g-voucher-partner-grid,
	.l2g-management-partner-grid {
		grid-template-columns: 1fr;
	}

	.l2g-filter-bar {
		align-items: flex-start;
		flex-direction: column;
	}
}


.l2g-reset-test-member {
	padding: 7px 10px;
	border: 1px solid #e2b7b3;
	border-radius: 8px;
	background: #fff8f7;
	color: #a13a31;
	font: inherit;
	font-size: 12px;
	font-weight: 700;
	cursor: pointer;
	white-space: nowrap;
}

.l2g-reset-test-member:hover {
	background: #fff0ee;
}


/* v0.2.9 signup layout + PayFast diagnostics */

.l2g-main-auth {
	width: min(1040px, calc(100% - 32px));
}

.l2g-main-auth > .l2g-auth-card:not(.l2g-signup-card) {
	width: min(480px, 100%);
}

.l2g-signup-card {
	width: min(1040px, 100%);
	padding: 38px;
}

.l2g-field-grid-three {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.l2g-password-stack {
	display: grid;
	grid-template-columns: 1fr;
	gap: 16px;
}

.l2g-password-field {
	position: relative;
	display: block;
}

.l2g-password-field input {
	padding-right: 52px !important;
}

.l2g-password-toggle {
	position: absolute;
	top: 50%;
	right: 8px;
	width: 38px;
	height: 38px;
	padding: 0;
	transform: translateY(-50%);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 0;
	border-radius: 9px;
	background: transparent;
	color: #5e6962;
	cursor: pointer;
	font-size: 16px;
	line-height: 1;
}

.l2g-password-toggle:hover,
.l2g-password-toggle.is-visible {
	background: #eef3ef;
	color: #0f6f4a;
}

.l2g-cause-grid {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: stretch;
	gap: 16px;
	width: 100%;
	margin: 0 auto;
}

.l2g-cause-option {
	flex: 0 1 calc((100% - 32px) / 3);
	min-width: 0;
	min-height: 190px;
}

.l2g-settings-panel {
	max-width: 880px;
}

.l2g-payfast-diagnostics {
	display: grid;
	gap: 10px;
	padding: 16px;
	border: 1px solid #dfe5e1;
	border-radius: 14px;
	background: #f8faf8;
}

.l2g-payfast-diagnostic-row {
	display: grid;
	grid-template-columns: minmax(150px, .35fr) minmax(0, 1fr);
	gap: 16px;
	align-items: start;
	font-size: 13px;
}

.l2g-payfast-diagnostic-row > span {
	color: #6d7770;
	font-weight: 700;
}

.l2g-payfast-diagnostic-row code {
	overflow-wrap: anywhere;
	color: #27312b;
	font-size: 12px;
}

.l2g-diagnostic-good {
	color: #0f6f4a;
}

.l2g-diagnostic-bad {
	color: #a13a31;
}

.l2g-payfast-warning {
	margin: 4px 0;
}

@media (max-width: 900px) {
	.l2g-signup-card {
		padding: 30px;
	}

	.l2g-cause-option {
		flex-basis: calc((100% - 16px) / 2);
	}

	.l2g-field-grid-three {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 620px) {
	.l2g-signup-card {
		padding: 24px;
	}

	.l2g-cause-option {
		flex-basis: 100%;
	}

	.l2g-field-grid-three {
		grid-template-columns: 1fr;
	}

	.l2g-payfast-diagnostic-row {
		grid-template-columns: 1fr;
		gap: 4px;
	}
}


/* v0.3.0 signup DOB + password visibility */

.l2g-field-help {
	display: block;
	margin-top: 6px;
	color: #7a847d;
	font-size: 12px;
	line-height: 1.4;
	font-weight: 500;
}

.l2g-password-toggle {
	color: #5f6963;
}

.l2g-eye-icon {
	width: 20px;
	height: 20px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.l2g-password-toggle .l2g-eye-open {
	display: none;
}

.l2g-password-toggle .l2g-eye-closed {
	display: block;
}

.l2g-password-toggle.is-visible .l2g-eye-open {
	display: block;
}

.l2g-password-toggle.is-visible .l2g-eye-closed {
	display: none;
}


.l2g-alert-info {
	background: #eef6f3;
	color: #285b47;
	border: 1px solid #d3e8df;
}


/* =========================================================
   v0.3.3 — Live2Give dashboard visual refresh
   Direction: clean app-style layout, using Live2Give colours.
   ========================================================= */

:root {
	--l2g-navy: #0A2A5E;
	--l2g-blue: #17B6E8;
	--l2g-green: #7AB648;
	--l2g-bg: #F4F7FB;
	--l2g-panel: #FFFFFF;
	--l2g-line: #E5EBF1;
	--l2g-text: #10213A;
	--l2g-muted: #6F7D91;
	--l2g-soft-blue: #EAF8FD;
	--l2g-soft-green: #F0F8E8;
	--l2g-shadow: 0 12px 34px rgba(10, 42, 94, .065);
}

body.l2g-app-shell {
	background: var(--l2g-bg);
}

.l2g-app {
	background: var(--l2g-bg);
	color: var(--l2g-text);
}

.l2g-app-shell.l2g-is-team .l2g-app,
.l2g-app-shell.l2g-is-member .l2g-app {
	min-height: 100vh;
}

.l2g-shell {
	width: 100%;
	min-height: 100vh;
	display: grid;
	grid-template-columns: 270px minmax(0, 1fr);
}

.l2g-sidebar {
	min-height: 100vh;
	padding: 18px 14px 22px;
	display: flex;
	flex-direction: column;
	background: transparent;
}

.l2g-sidebar-logo {
	height: 68px;
	display: flex;
	align-items: center;
	padding: 0 12px 12px;
	text-decoration: none;
}

.l2g-sidebar-logo img {
	display: block;
	width: auto;
	max-width: 190px;
	max-height: 58px;
	object-fit: contain;
	object-position: left center;
}

.l2g-sidebar-card {
	flex: 1;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	background: #fff;
	border: 1px solid rgba(10, 42, 94, .06);
	border-radius: 22px;
	box-shadow: 0 9px 28px rgba(10, 42, 94, .08);
}

.l2g-sidebar-heading {
	padding: 22px 20px 16px;
	color: var(--l2g-navy);
	font-size: 18px;
}

.l2g-sidebar-nav {
	display: grid;
	gap: 2px;
	padding: 0 0 14px;
}

.l2g-sidebar-nav a {
	position: relative;
	min-height: 48px;
	padding: 0 18px;
	display: flex;
	align-items: center;
	gap: 13px;
	color: #4E5D73;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	transition: background .18s ease, color .18s ease;
}

.l2g-sidebar-nav a::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 3px;
	background: transparent;
}

.l2g-sidebar-nav a:hover {
	background: #F6FAFD;
	color: var(--l2g-navy);
}

.l2g-sidebar-nav a.is-active {
	background: linear-gradient(90deg, rgba(23,182,232,.12), rgba(23,182,232,.04));
	color: var(--l2g-navy);
}

.l2g-sidebar-nav a.is-active::before {
	background: var(--l2g-blue);
}

.l2g-nav-icon {
	width: 22px;
	height: 22px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 22px;
	color: #6B7890;
}

.l2g-sidebar-nav a.is-active .l2g-nav-icon {
	color: var(--l2g-blue);
}

.l2g-nav-icon svg,
.l2g-signout-button svg,
.l2g-stat-icon svg,
.l2g-health-icon svg {
	width: 100%;
	height: 100%;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.7;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.l2g-sidebar-footer {
	margin-top: auto;
	padding: 16px;
	border-top: 1px solid #EEF2F6;
}

.l2g-sidebar-status,
.l2g-sidebar-support {
	display: flex;
	align-items: center;
	gap: 11px;
	color: var(--l2g-navy);
	text-decoration: none;
}

.l2g-sidebar-status strong,
.l2g-sidebar-support strong {
	display: block;
	font-size: 13px;
}

.l2g-sidebar-status small,
.l2g-sidebar-support small {
	display: block;
	margin-top: 2px;
	color: var(--l2g-muted);
	font-size: 11px;
	line-height: 1.35;
}

.l2g-status-dot {
	width: 10px;
	height: 10px;
	flex: 0 0 10px;
	border-radius: 50%;
	background: var(--l2g-green);
	box-shadow: 0 0 0 4px rgba(122,182,72,.13);
}

.l2g-status-dot.is-sandbox {
	background: #F2AA31;
	box-shadow: 0 0 0 4px rgba(242,170,49,.13);
}

.l2g-workspace {
	min-width: 0;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

.l2g-topbar {
	min-height: 80px;
	padding: 14px 26px 10px;
	display: flex;
	align-items: center;
	gap: 16px;
	background: transparent;
	border: 0;
}

.l2g-topbar-brand-mobile {
	display: none;
}

.l2g-topbar-spacer {
	flex: 1;
}

.l2g-topbar-actions {
	display: flex;
	align-items: center;
	gap: 10px;
}

.l2g-environment-chip {
	padding: 8px 12px;
	border: 1px solid #E3E9F0;
	border-radius: 999px;
	background: #fff;
	color: var(--l2g-navy);
	font-size: 12px;
	font-weight: 700;
	box-shadow: 0 5px 16px rgba(10,42,94,.04);
}

.l2g-user-chip {
	min-height: 48px;
	padding: 6px 12px 6px 7px;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	border: 1px solid #E3E9F0;
	border-radius: 999px;
	background: #fff;
	box-shadow: 0 5px 16px rgba(10,42,94,.04);
}

.l2g-user-avatar {
	width: 34px;
	height: 34px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: var(--l2g-navy);
	color: #fff;
	font-size: 13px;
	font-weight: 800;
}

.l2g-is-member .l2g-user-avatar {
	background: var(--l2g-green);
}

.l2g-user-copy {
	display: grid;
	gap: 1px;
	line-height: 1.15;
}

.l2g-user-copy strong {
	color: var(--l2g-navy);
	font-size: 13px;
}

.l2g-user-copy small {
	color: var(--l2g-muted);
	font-size: 10px;
}

.l2g-signout-button {
	width: 42px;
	height: 42px;
	padding: 10px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 1px solid #E3E9F0;
	border-radius: 50%;
	background: #fff;
	color: #67768B;
	box-shadow: 0 5px 16px rgba(10,42,94,.04);
}

.l2g-signout-button:hover {
	color: var(--l2g-navy);
	border-color: #C9D7E4;
}

.l2g-main {
	width: min(1420px, calc(100% - 52px));
	margin: 0 auto;
	padding: 14px 0 64px;
}

.l2g-main-auth {
	width: min(1040px, calc(100% - 32px));
	padding: 48px 0;
}

.l2g-dashboard-heading,
.l2g-page-head {
	margin: 0 0 26px;
}

.l2g-dashboard-heading {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 20px;
}

.l2g-dashboard-heading h1,
.l2g-page-head h1 {
	margin: 0 0 5px;
	color: var(--l2g-navy);
	font-size: clamp(31px, 3.5vw, 44px);
	line-height: 1.05;
	letter-spacing: -.035em;
	font-weight: 750;
}

.l2g-dashboard-heading p,
.l2g-page-head p {
	margin: 0;
	color: var(--l2g-muted);
	font-size: 14px;
	line-height: 1.55;
}

.l2g-dashboard-date {
	padding: 10px 14px;
	border: 1px solid var(--l2g-line);
	border-radius: 12px;
	background: #fff;
	color: var(--l2g-muted);
	font-size: 12px;
	font-weight: 700;
}

.l2g-eyebrow {
	color: var(--l2g-blue) !important;
}

.l2g-panel,
.l2g-stat-card,
.l2g-member-card,
.l2g-module-card,
.l2g-benefit-card,
.l2g-voucher-partner-card,
.l2g-management-partner-card {
	border-color: var(--l2g-line);
	box-shadow: var(--l2g-shadow);
}

.l2g-panel {
	border-radius: 18px;
}

.l2g-overview-stats {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 14px;
	margin-bottom: 16px;
}

.l2g-overview-stat {
	min-height: 116px;
	padding: 18px;
	display: flex;
	align-items: center;
	gap: 16px;
	background: #fff;
	border: 1px solid var(--l2g-line);
	border-radius: 18px;
	box-shadow: var(--l2g-shadow);
}

.l2g-stat-icon {
	width: 58px;
	height: 58px;
	padding: 15px;
	flex: 0 0 58px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 14px;
}

.l2g-stat-icon-blue {
	background: var(--l2g-soft-blue);
	color: var(--l2g-blue);
}

.l2g-stat-icon-green {
	background: var(--l2g-soft-green);
	color: #4B9A30;
}

.l2g-overview-stat small {
	display: block;
	margin-bottom: 5px;
	color: #62728A;
	font-size: 12px;
	font-weight: 650;
}

.l2g-overview-stat strong {
	color: var(--l2g-navy);
	font-size: 24px;
	letter-spacing: -.025em;
}

.l2g-dashboard-grid {
	display: grid;
	gap: 16px;
	margin-top: 16px;
}

.l2g-dashboard-grid-primary {
	grid-template-columns: minmax(0, 1.65fr) minmax(310px, .75fr);
}

.l2g-dashboard-grid-secondary {
	grid-template-columns: minmax(0, 1.4fr) minmax(310px, .6fr);
}

.l2g-dashboard-grid-member-bottom {
	grid-template-columns: minmax(0, 1.45fr) minmax(300px, .55fr);
}

.l2g-dashboard-panel {
	padding: 20px;
}

.l2g-panel-heading {
	margin-bottom: 15px;
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 18px;
}

.l2g-panel-heading h2,
.l2g-member-account-summary h2,
.l2g-cause-summary-card h2 {
	margin: 0 0 3px;
	color: var(--l2g-navy);
	font-size: 18px;
	letter-spacing: -.02em;
}

.l2g-panel-heading p {
	margin: 0;
	color: var(--l2g-muted);
	font-size: 12px;
}

.l2g-panel-heading a {
	color: var(--l2g-blue);
	font-size: 12px;
	font-weight: 700;
	text-decoration: none;
}

.l2g-dashboard-list {
	display: grid;
}

.l2g-dashboard-list-row {
	min-height: 62px;
	padding: 10px 0;
	display: grid;
	grid-template-columns: 38px minmax(140px, 1fr) auto auto auto;
	align-items: center;
	gap: 12px;
	border-bottom: 1px solid #EEF2F6;
}

.l2g-dashboard-list-row:last-child {
	border-bottom: 0;
}

.l2g-list-avatar {
	width: 36px;
	height: 36px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: var(--l2g-soft-blue);
	color: var(--l2g-blue);
	font-size: 12px;
	font-weight: 800;
}

.l2g-list-avatar-alt {
	background: var(--l2g-soft-green);
	color: #579E37;
}

.l2g-list-main {
	display: grid;
	gap: 2px;
}

.l2g-list-main strong {
	color: var(--l2g-navy);
	font-size: 13px;
}

.l2g-list-main small,
.l2g-dashboard-list-row time,
.l2g-list-meta {
	color: var(--l2g-muted);
	font-size: 11px;
}

.l2g-list-amount {
	color: var(--l2g-navy);
	font-size: 12px;
	font-weight: 750;
}

.l2g-dashboard-empty {
	min-height: 150px;
	padding: 24px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 5px;
	color: var(--l2g-muted);
	text-align: center;
}

.l2g-dashboard-empty strong {
	color: var(--l2g-navy);
}

.l2g-health-list,
.l2g-quick-actions {
	display: grid;
	gap: 9px;
}

.l2g-health-row {
	padding: 12px;
	display: flex;
	align-items: center;
	gap: 11px;
	border: 1px solid #EDF1F5;
	border-radius: 13px;
	background: #FBFCFD;
}

.l2g-health-row > div {
	min-width: 0;
	flex: 1;
	display: grid;
	gap: 2px;
}

.l2g-health-row strong {
	color: var(--l2g-navy);
	font-size: 12px;
}

.l2g-health-row small {
	color: var(--l2g-muted);
	font-size: 10px;
	line-height: 1.35;
}

.l2g-health-icon {
	width: 34px;
	height: 34px;
	padding: 8px;
	display: inline-flex;
	border-radius: 10px;
}

.l2g-health-icon.is-good {
	background: var(--l2g-soft-green);
	color: #579E37;
}

.l2g-health-icon.is-warning {
	background: #FFF4E5;
	color: #D58B1D;
}

.l2g-quick-actions a {
	min-height: 58px;
	padding: 10px 12px;
	display: flex;
	align-items: center;
	gap: 11px;
	border: 1px solid #EAF0F4;
	border-radius: 13px;
	background: #F8FBFD;
	color: var(--l2g-navy);
	text-decoration: none;
}

.l2g-quick-actions a:nth-child(even) {
	background: #F6FBF1;
}

.l2g-quick-actions a > span:nth-child(2) {
	flex: 1;
	display: grid;
	gap: 2px;
}

.l2g-quick-actions strong {
	font-size: 12px;
}

.l2g-quick-actions small {
	color: var(--l2g-muted);
	font-size: 10px;
}

.l2g-quick-actions b {
	color: var(--l2g-blue);
	font-size: 17px;
}

.l2g-quick-dot {
	width: 34px;
	height: 34px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 10px;
	font-size: 17px;
	font-weight: 500;
}

.l2g-quick-dot.is-blue {
	background: var(--l2g-soft-blue);
	color: var(--l2g-blue);
}

.l2g-quick-dot.is-green {
	background: var(--l2g-soft-green);
	color: #579E37;
}

.l2g-member-home-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.45fr) minmax(300px, .55fr);
	gap: 16px;
}

.l2g-membership-hero {
	min-height: 285px;
	padding: 28px;
	position: relative;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	border-radius: 19px;
	background:
		radial-gradient(circle at 85% 18%, rgba(23,182,232,.26), transparent 28%),
		linear-gradient(135deg, #081F49, var(--l2g-navy) 58%, #10457E);
	color: #fff;
	box-shadow: 0 16px 36px rgba(10,42,94,.18);
}

.l2g-membership-watermark {
	position: absolute;
	right: 24px;
	bottom: -48px;
	color: rgba(122,182,72,.25);
	font-size: 270px;
	font-weight: 800;
	line-height: .8;
	transform: rotate(-10deg);
	pointer-events: none;
}

.l2g-membership-hero-top,
.l2g-membership-hero-details {
	position: relative;
	z-index: 1;
}

.l2g-membership-hero-top {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 20px;
}

.l2g-membership-hero-top small {
	color: rgba(255,255,255,.72);
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .08em;
}

.l2g-membership-hero h2 {
	margin: 7px 0 4px;
	color: #fff;
	font-size: 30px;
	letter-spacing: -.03em;
}

.l2g-membership-hero p {
	margin: 0;
	color: rgba(255,255,255,.72);
}

.l2g-tier-pill {
	padding: 8px 13px;
	border-radius: 999px;
	background: var(--l2g-green);
	color: #fff;
	font-size: 12px;
	font-weight: 800;
}

.l2g-membership-hero-details {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
}

.l2g-membership-hero-details > div {
	padding: 12px;
	border: 1px solid rgba(255,255,255,.1);
	border-radius: 13px;
	background: rgba(255,255,255,.06);
	backdrop-filter: blur(2px);
}

.l2g-membership-hero-details span {
	display: block;
	margin-bottom: 5px;
	color: rgba(255,255,255,.64);
	font-size: 10px;
}

.l2g-membership-hero-details strong {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 12px;
}

.l2g-membership-hero-details i {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #F2AA31;
}

.l2g-membership-hero-details i.is-active {
	background: var(--l2g-green);
	box-shadow: 0 0 0 3px rgba(122,182,72,.18);
}

.l2g-cause-summary-card {
	padding: 22px;
	display: flex;
	flex-direction: column;
}

.l2g-card-kicker {
	margin-bottom: 14px;
	color: var(--l2g-blue);
	font-size: 11px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: .08em;
}

.l2g-cause-summary {
	display: flex;
	align-items: center;
	gap: 15px;
}

.l2g-cause-summary-logo {
	width: 78px;
	height: 78px;
	padding: 9px;
	flex: 0 0 78px;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--l2g-line);
	border-radius: 16px;
	background: #fff;
}

.l2g-cause-summary-logo img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}

.l2g-cause-summary-logo > span {
	color: var(--l2g-green);
	font-size: 30px;
}

.l2g-cause-summary h2 {
	font-size: 19px;
}

.l2g-cause-summary p {
	margin: 4px 0 0;
	color: var(--l2g-muted);
	font-size: 12px;
}

.l2g-cause-summary-note {
	margin-top: auto;
	padding-top: 18px;
	color: var(--l2g-muted);
	font-size: 12px;
	line-height: 1.5;
}

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

.l2g-member-quick-card {
	min-height: 138px;
	padding: 18px;
	display: flex;
	align-items: flex-start;
	gap: 13px;
	border: 1px solid var(--l2g-line);
	border-radius: 18px;
	background: #fff;
	color: var(--l2g-navy);
	text-decoration: none;
	box-shadow: var(--l2g-shadow);
}

.l2g-member-quick-card > div {
	flex: 1;
	display: grid;
	gap: 3px;
}

.l2g-member-quick-card small {
	color: var(--l2g-muted);
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .06em;
}

.l2g-member-quick-card strong {
	font-size: 15px;
}

.l2g-member-quick-card p {
	margin: 5px 0 0;
	color: var(--l2g-muted);
	font-size: 11px;
	line-height: 1.45;
}

.l2g-member-quick-card > b {
	color: var(--l2g-blue);
}

.l2g-member-quick-icon {
	width: 40px;
	height: 40px;
	flex: 0 0 40px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 12px;
	font-size: 17px;
	font-weight: 800;
}

.l2g-member-quick-icon.is-blue {
	background: var(--l2g-soft-blue);
	color: var(--l2g-blue);
}

.l2g-member-quick-icon.is-green {
	background: var(--l2g-soft-green);
	color: #579E37;
}

.l2g-member-quick-icon.is-navy {
	background: #EDF1F7;
	color: var(--l2g-navy);
}

.l2g-member-account-summary {
	padding: 20px;
}

.l2g-status {
	background: #EDF7E8;
	color: #4D8839;
}

.l2g-status-success {
	background: #EDF7E8;
	color: #4D8839;
}

.l2g-status-warning {
	background: #FFF3DF;
	color: #A9690F;
}

.l2g-button-primary {
	background: var(--l2g-navy);
	border-color: var(--l2g-navy);
}

.l2g-button-primary:hover {
	background: #123B72;
	border-color: #123B72;
}

.l2g-link,
.l2g-auth-link,
.l2g-filter-bar a {
	color: var(--l2g-blue);
}

.l2g-module-icon,
.l2g-logo-fallback {
	background: var(--l2g-soft-blue);
	color: var(--l2g-blue);
}

.l2g-benefit-state {
	background: var(--l2g-soft-green);
	color: #4D8839;
}

.l2g-benefit-locked {
	background: #F1F3F6;
	color: #6B7686;
}

.l2g-benefit-card,
.l2g-management-partner-card,
.l2g-voucher-partner-card {
	border-radius: 17px;
}

.l2g-management-partner-card:hover,
.l2g-voucher-partner-card:hover,
a.l2g-module-card:hover {
	border-color: rgba(23,182,232,.35);
	box-shadow: 0 14px 36px rgba(10,42,94,.09);
}

.l2g-table th {
	color: #708097;
}

.l2g-table td {
	border-bottom-color: #EEF2F6;
}

.l2g-table td strong {
	color: var(--l2g-navy);
}

.l2g-form input[type="text"],
.l2g-form input[type="email"],
.l2g-form input[type="password"],
.l2g-form input[type="url"],
.l2g-form input[type="date"],
.l2g-form textarea,
.l2g-form select {
	border-color: #DCE4EC;
}

.l2g-form input:focus,
.l2g-form select:focus,
.l2g-form textarea:focus {
	outline: 0;
	border-color: var(--l2g-blue);
	box-shadow: 0 0 0 3px rgba(23,182,232,.11);
}

@media (max-width: 1120px) {
	.l2g-shell {
		grid-template-columns: 230px minmax(0, 1fr);
	}

	.l2g-overview-stats {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.l2g-dashboard-grid-primary,
	.l2g-dashboard-grid-secondary,
	.l2g-dashboard-grid-member-bottom,
	.l2g-member-home-grid {
		grid-template-columns: 1fr;
	}

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

@media (max-width: 820px) {
	.l2g-shell {
		display: block;
	}

	.l2g-sidebar {
		min-height: auto;
		padding: 10px 12px 0;
	}

	.l2g-sidebar-logo {
		display: none;
	}

	.l2g-sidebar-card {
		display: block;
		border-radius: 16px;
	}

	.l2g-sidebar-heading,
	.l2g-sidebar-footer {
		display: none;
	}

	.l2g-sidebar-nav {
		padding: 5px;
		display: flex;
		overflow-x: auto;
		gap: 4px;
	}

	.l2g-sidebar-nav a {
		min-height: 42px;
		padding: 0 12px;
		flex: 0 0 auto;
		border-radius: 11px;
	}

	.l2g-sidebar-nav a::before {
		display: none;
	}

	.l2g-sidebar-nav a.is-active {
		background: var(--l2g-soft-blue);
	}

	.l2g-topbar {
		padding: 10px 14px;
	}

	.l2g-topbar-brand-mobile {
		display: block;
	}

	.l2g-topbar-brand-mobile img {
		max-width: 145px;
		max-height: 50px;
		object-fit: contain;
	}

	.l2g-main {
		width: min(100% - 28px, 1420px);
		padding-top: 20px;
	}

	.l2g-user-copy,
	.l2g-environment-chip {
		display: none;
	}

	.l2g-user-chip {
		padding-right: 7px;
	}

	.l2g-dashboard-list-row {
		grid-template-columns: 36px minmax(0, 1fr) auto;
	}

	.l2g-dashboard-list-row .l2g-list-amount,
	.l2g-dashboard-list-row .l2g-list-meta,
	.l2g-dashboard-list-row .l2g-status {
		display: none;
	}

	.l2g-membership-hero-details {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 600px) {
	.l2g-overview-stats {
		grid-template-columns: 1fr;
	}

	.l2g-dashboard-heading {
		align-items: flex-start;
		flex-direction: column;
	}

	.l2g-dashboard-date {
		display: none;
	}

	.l2g-membership-hero {
		padding: 22px;
	}

	.l2g-membership-hero-top {
		flex-direction: column;
	}

	.l2g-tier-pill {
		order: -1;
	}

	.l2g-cause-summary {
		align-items: flex-start;
		flex-direction: column;
	}
}


/* =========================================================
   v0.3.4 — grid consistency, proper logo, mobile menu
   ========================================================= */

/* Media Library logo: never place it on a forced background. */
.l2g-sidebar-logo,
.l2g-topbar-brand-mobile {
	background: transparent !important;
}

.l2g-sidebar-logo img,
.l2g-topbar-brand-mobile img {
	background: transparent !important;
}

/* Uniform grid geometry across the app. */
.l2g-overview-stats,
.l2g-dashboard-grid,
.l2g-member-home-grid,
.l2g-member-quick-grid,
.l2g-member-grid,
.l2g-stat-grid,
.l2g-benefit-grid,
.l2g-voucher-partner-grid,
.l2g-management-partner-grid,
.l2g-cause-grid {
	align-items: stretch;
}

.l2g-overview-stats > *,
.l2g-dashboard-grid > *,
.l2g-member-home-grid > *,
.l2g-member-quick-grid > *,
.l2g-member-grid > *,
.l2g-stat-grid > *,
.l2g-benefit-grid > *,
.l2g-voucher-partner-grid > *,
.l2g-management-partner-grid > *,
.l2g-cause-grid > * {
	min-height: 0;
	height: 100%;
	box-sizing: border-box;
}

.l2g-dashboard-grid > .l2g-panel,
.l2g-member-grid > .l2g-panel,
.l2g-stat-grid > .l2g-stat-card,
.l2g-benefit-card,
.l2g-voucher-partner-card,
.l2g-management-partner-card,
.l2g-member-quick-card {
	height: 100%;
}

.l2g-overview-stat {
	height: 100%;
	min-height: 116px;
}

.l2g-member-quick-card {
	min-height: 150px;
}

.l2g-management-partner-card,
.l2g-voucher-partner-card {
	min-height: 154px;
}

.l2g-benefit-card {
	display: flex;
	flex-direction: column;
}

.l2g-benefit-card .l2g-benefit-state {
	margin-top: auto;
}

/* Signup causes: true equal-width/equal-height grid. */
.l2g-cause-grid {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
	width: 100%;
	margin: 0 auto;
}

.l2g-cause-option {
	flex: initial !important;
	width: 100%;
	min-height: 190px;
	height: 100%;
}

/* Mobile popup navigation controls. */
.l2g-mobile-menu-toggle,
.l2g-mobile-menu-backdrop,
.l2g-mobile-account {
	display: none;
}

@media (max-width: 900px) and (min-width: 621px) {
	.l2g-cause-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 820px) {
	body.l2g-mobile-menu-open {
		overflow: hidden;
	}

	.l2g-workspace {
		min-height: 100vh;
	}

	.l2g-topbar {
		position: sticky;
		top: 0;
		z-index: 150;
		min-height: 70px;
		padding: 9px 14px;
		background: rgba(255, 255, 255, .97);
		border-bottom: 1px solid var(--l2g-line);
		box-shadow: 0 5px 18px rgba(10, 42, 94, .06);
		backdrop-filter: blur(12px);
	}

	.l2g-topbar-brand-mobile {
		height: 50px;
		display: flex !important;
		align-items: center;
		text-decoration: none;
	}

	.l2g-topbar-brand-mobile img {
		width: auto;
		max-width: 175px;
		max-height: 48px;
		object-fit: contain;
		object-position: left center;
	}

	.l2g-topbar-actions {
		display: none;
	}

	.l2g-mobile-menu-toggle {
		width: 44px;
		height: 44px;
		padding: 10px;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		border: 1px solid #DDE6EF;
		border-radius: 13px;
		background: #fff;
		color: var(--l2g-navy);
		box-shadow: 0 5px 14px rgba(10,42,94,.05);
		cursor: pointer;
	}

	.l2g-mobile-menu-toggle svg {
		width: 22px;
		height: 22px;
		fill: none;
		stroke: currentColor;
		stroke-width: 1.8;
		stroke-linecap: round;
		stroke-linejoin: round;
	}

	.l2g-mobile-menu-icon-close {
		display: none;
	}

	.l2g-mobile-menu-open .l2g-mobile-menu-icon-open {
		display: none;
	}

	.l2g-mobile-menu-open .l2g-mobile-menu-icon-close {
		display: inline-flex;
	}

	.l2g-sidebar {
		position: fixed;
		z-index: 145;
		top: 82px;
		left: 14px;
		right: 14px;
		width: auto;
		min-height: 0;
		max-height: calc(100vh - 98px);
		padding: 0;
		display: block;
		opacity: 0;
		visibility: hidden;
		pointer-events: none;
		transform: translateY(-10px) scale(.985);
		transform-origin: top center;
		transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
	}

	.l2g-mobile-menu-open .l2g-sidebar {
		opacity: 1;
		visibility: visible;
		pointer-events: auto;
		transform: translateY(0) scale(1);
	}

	.l2g-sidebar-logo {
		display: none !important;
	}

	.l2g-sidebar-card {
		max-height: calc(100vh - 98px);
		display: flex !important;
		overflow: auto;
		border: 1px solid #DDE6EF;
		border-radius: 19px;
		box-shadow: 0 24px 55px rgba(10,42,94,.2);
	}

	.l2g-sidebar-heading {
		display: block !important;
		padding: 18px 18px 12px;
		font-size: 15px;
	}

	.l2g-sidebar-nav {
		padding: 4px 10px 12px;
		display: grid !important;
		overflow: visible;
		gap: 3px;
	}

	.l2g-sidebar-nav a {
		min-height: 48px;
		padding: 0 13px;
		border-radius: 11px;
	}

	.l2g-sidebar-nav a::before {
		display: none;
	}

	.l2g-sidebar-nav a.is-active {
		background: var(--l2g-soft-blue);
	}

	.l2g-sidebar-footer {
		display: block !important;
		padding: 14px;
		background: #F8FAFC;
	}

	.l2g-mobile-account {
		margin-top: 14px;
		padding-top: 14px;
		display: grid;
		gap: 11px;
		border-top: 1px solid #E8EEF4;
	}

	.l2g-mobile-account-user {
		display: flex;
		align-items: center;
		gap: 10px;
	}

	.l2g-mobile-account-user > span:last-child {
		display: grid;
		gap: 2px;
	}

	.l2g-mobile-account-user strong {
		color: var(--l2g-navy);
		font-size: 13px;
	}

	.l2g-mobile-account-user small {
		color: var(--l2g-muted);
		font-size: 10px;
	}

	.l2g-mobile-signout {
		min-height: 42px;
		padding: 0 12px;
		display: flex;
		align-items: center;
		gap: 10px;
		border: 1px solid #DFE7EE;
		border-radius: 11px;
		background: #fff;
		color: #56657A;
		font-size: 12px;
		font-weight: 700;
		text-decoration: none;
	}

	.l2g-mobile-signout svg {
		width: 19px;
		height: 19px;
		fill: none;
		stroke: currentColor;
		stroke-width: 1.7;
		stroke-linecap: round;
		stroke-linejoin: round;
	}

	.l2g-mobile-menu-backdrop {
		position: fixed;
		z-index: 140;
		inset: 70px 0 0;
		display: block;
		border: 0;
		background: rgba(10, 42, 94, .26);
		opacity: 0;
		visibility: hidden;
		pointer-events: none;
		transition: opacity .18s ease, visibility .18s ease;
	}

	.l2g-mobile-menu-open .l2g-mobile-menu-backdrop {
		opacity: 1;
		visibility: visible;
		pointer-events: auto;
	}

	.l2g-main {
		width: min(100% - 28px, 1420px);
		padding-top: 24px;
	}
}

@media (max-width: 620px) {
	.l2g-cause-grid {
		grid-template-columns: 1fr;
	}

	.l2g-topbar-brand-mobile img {
		max-width: 155px;
	}

	.l2g-sidebar {
		left: 10px;
		right: 10px;
	}

	.l2g-member-quick-card {
		min-height: 132px;
	}
}


/* =========================================================
   v0.3.5 — dashboard alignment + auth/password refinement
   ========================================================= */

/* Member card: remove watermark styling and give the tagline breathing room. */
.l2g-membership-watermark {
	display: none !important;
}

.l2g-membership-hero-top {
	margin-bottom: 30px;
}

.l2g-membership-hero p {
	padding-bottom: 4px;
}

/* Management dashboard rows now share the exact same column geometry. */
.l2g-dashboard-grid-primary,
.l2g-dashboard-grid-secondary {
	grid-template-columns: minmax(0, 1.65fr) minmax(310px, .75fr);
}

/* Universal password reveal wrappers, including dynamically enhanced fields. */
.l2g-form label > .l2g-password-field {
	margin-bottom: 0;
	font-size: inherit;
	font-weight: inherit;
}

.l2g-password-field {
	width: 100%;
	position: relative;
	display: block;
}

.l2g-password-field input {
	width: 100%;
	padding-right: 54px !important;
}

.l2g-password-toggle {
	top: 50%;
	right: 8px;
	width: 38px;
	height: 38px;
	transform: translateY(-50%);
}

/* Login branding refinement. */
.l2g-main-auth > .l2g-login-card {
	width: min(540px, 100%);
}

.l2g-login-card {
	position: relative;
	overflow: hidden;
	padding: 40px;
	border-color: #DCE5EE;
	box-shadow: 0 24px 70px rgba(10, 42, 94, .10);
}

.l2g-login-card::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 5px;
	background: linear-gradient(90deg, #17B6E8 0%, #0A2A5E 58%, #7AB648 100%);
}

.l2g-login-card .l2g-auth-brand {
	margin-bottom: 28px;
	padding-bottom: 26px;
	border-bottom: 1px solid #E8EEF4;
}

.l2g-auth-logo {
	display: block;
	width: auto;
	max-width: 250px;
	max-height: 82px;
	margin: 0 0 30px;
	object-fit: contain;
	object-position: left center;
	background: transparent;
}

.l2g-login-card h1 {
	margin-top: 0;
	color: #0A2A5E;
}

.l2g-login-card .l2g-auth-brand p {
	color: #6F7D91;
}

.l2g-login-card .l2g-form {
	gap: 19px;
}

.l2g-login-card .l2g-button-primary {
	min-height: 52px;
	border-radius: 12px;
}

.l2g-login-card .l2g-auth-link {
	margin-top: -2px;
	font-weight: 650;
}

@media (max-width: 820px) {
	.l2g-membership-hero-top {
		margin-bottom: 24px;
	}
}

@media (max-width: 620px) {
	.l2g-login-card {
		padding: 30px 24px;
	}

	.l2g-auth-logo {
		max-width: 215px;
		margin-bottom: 24px;
	}
}


/* =========================================================
   v0.3.6 — Voucher Manager inventory detail
   ========================================================= */

.l2g-voucher-manager-grid {
	grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
	align-items: start;
}

.l2g-voucher-inventory-list {
	display: grid;
	gap: 9px;
}

.l2g-voucher-inventory-row {
	min-height: 76px;
	padding: 12px 14px;
	display: grid;
	grid-template-columns: minmax(180px, 1fr) repeat(3, 82px) auto;
	align-items: center;
	gap: 13px;
	border: 1px solid #E8EEF4;
	border-radius: 13px;
	background: #FBFCFE;
	color: var(--l2g-navy);
	text-decoration: none;
	transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.l2g-voucher-inventory-row:hover {
	border-color: rgba(23,182,232,.34);
	box-shadow: 0 10px 24px rgba(10,42,94,.07);
	transform: translateY(-1px);
}

.l2g-voucher-inventory-main {
	min-width: 0;
	display: grid;
	gap: 3px;
}

.l2g-voucher-inventory-main strong {
	font-size: 13px;
}

.l2g-voucher-inventory-main small {
	color: var(--l2g-muted);
	font-size: 10px;
}

.l2g-voucher-mini-stat {
	display: grid;
	gap: 2px;
	text-align: right;
}

.l2g-voucher-mini-stat span {
	color: var(--l2g-muted);
	font-size: 9px;
	text-transform: uppercase;
	letter-spacing: .04em;
}

.l2g-voucher-mini-stat strong {
	font-size: 15px;
}

.l2g-voucher-open {
	color: var(--l2g-blue);
	font-size: 11px;
	font-weight: 800;
	white-space: nowrap;
}

.l2g-voucher-summary-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 14px;
	margin-bottom: 16px;
}

.l2g-voucher-summary-grid .l2g-overview-stat {
	min-height: 100px;
}

.l2g-voucher-detail-panel {
	padding: 20px;
}

.l2g-voucher-detail-panel .l2g-panel-heading p {
	max-width: 850px;
}

.l2g-voucher-code-table {
	min-width: 1120px;
}

.l2g-voucher-code {
	padding: 5px 7px;
	border: 1px solid #DFE7EE;
	border-radius: 7px;
	background: #F6F8FA;
	color: var(--l2g-navy);
	font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
	font-size: 11px;
	white-space: nowrap;
}

.l2g-voucher-issued-user {
	min-width: 190px;
	display: grid;
	gap: 2px;
}

.l2g-voucher-issued-user strong {
	color: var(--l2g-navy);
	font-size: 12px;
}

.l2g-voucher-issued-user small {
	color: var(--l2g-muted);
	font-size: 10px;
	line-height: 1.35;
}

.l2g-voucher-status-issued {
	background: var(--l2g-soft-blue);
	color: #087DA6;
}

.l2g-voucher-status-expired {
	background: #F2F3F5;
	color: #697386;
}

.l2g-voucher-status-voided {
	background: #FDECEC;
	color: #A54747;
}

.l2g-muted {
	color: var(--l2g-muted);
}

@media (max-width: 1120px) {
	.l2g-voucher-manager-grid {
		grid-template-columns: 1fr;
	}

	.l2g-voucher-summary-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 700px) {
	.l2g-voucher-inventory-row {
		grid-template-columns: minmax(0, 1fr) auto;
	}

	.l2g-voucher-mini-stat {
		display: none;
	}

	.l2g-voucher-summary-grid {
		grid-template-columns: 1fr 1fr;
	}
}


/* =========================================================
   v0.3.7 — member voucher visibility + next eligibility
   ========================================================= */

.l2g-member-voucher-code {
	margin-top: 12px;
	padding: 12px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	border: 1px solid #DDE8F0;
	border-radius: 13px;
	background: #F8FBFD;
}

.l2g-member-voucher-code-value {
	min-width: 0;
	display: grid;
	gap: 4px;
}

.l2g-member-voucher-code-value > span {
	color: var(--l2g-muted);
	font-size: 9px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: .06em;
}

.l2g-member-voucher-code-value code {
	color: var(--l2g-navy);
	font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
	font-size: 14px;
	font-weight: 800;
	word-break: break-all;
}

.l2g-copy-code-button {
	min-height: 38px;
	padding: 0 13px;
	flex: 0 0 auto;
	border: 1px solid #CFE2EC;
	border-radius: 10px;
	background: #fff;
	color: var(--l2g-navy);
	font: inherit;
	font-size: 10px;
	font-weight: 800;
	cursor: pointer;
	transition: background .16s ease, border-color .16s ease, color .16s ease;
}

.l2g-copy-code-button:hover {
	border-color: var(--l2g-blue);
	color: #087DA6;
}

.l2g-copy-code-button.is-copied {
	border-color: #CFE5C1;
	background: var(--l2g-soft-green);
	color: #4D8839;
}

.l2g-voucher-availability {
	margin-top: 10px;
	display: grid;
	gap: 4px;
	color: var(--l2g-muted);
	font-size: 10px;
	line-height: 1.45;
}

.l2g-voucher-availability strong,
.l2g-next-voucher-date strong {
	color: var(--l2g-navy);
}

.l2g-member-voucher-row {
	padding: 16px 0;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(330px, .72fr);
	align-items: center;
	gap: 24px;
}

.l2g-member-voucher-details {
	display: grid;
	gap: 4px;
}

.l2g-member-voucher-details > strong {
	color: var(--l2g-navy);
}

.l2g-member-voucher-details > small {
	color: var(--l2g-muted);
}

.l2g-member-voucher-code-compact {
	margin-top: 0;
}

.l2g-next-voucher-date {
	margin-top: 5px;
	color: var(--l2g-muted);
	font-size: 10px;
	line-height: 1.45;
}

.l2g-next-voucher-date.is-available {
	color: #4D8839;
	font-weight: 700;
}

@media (max-width: 760px) {
	.l2g-member-voucher-row {
		grid-template-columns: 1fr;
		gap: 12px;
	}

	.l2g-member-voucher-code {
		align-items: stretch;
		flex-direction: column;
	}

	.l2g-copy-code-button {
		width: 100%;
	}
}


/* =========================================================
   v0.3.8 — focused signup flow
   ========================================================= */

/*
 * Once Step 1 has created the member account, the user is technically logged
 * in. Do not expose normal member dashboard navigation until signup is over.
 */
.l2g-is-signup-flow .l2g-shell {
	grid-template-columns: minmax(0, 1fr);
}

.l2g-is-signup-flow .l2g-workspace {
	width: 100%;
}

.l2g-is-signup-flow .l2g-topbar {
	min-height: 86px;
	padding: 14px 26px;
	background: transparent;
}

.l2g-is-signup-flow .l2g-topbar-brand-mobile {
	height: 58px;
	display: flex;
	align-items: center;
	text-decoration: none;
}

.l2g-is-signup-flow .l2g-topbar-brand-mobile img {
	width: auto;
	max-width: 210px;
	max-height: 58px;
	object-fit: contain;
	object-position: left center;
}

.l2g-is-signup-flow .l2g-main {
	width: min(1080px, calc(100% - 36px));
	padding-top: 24px;
}

@media (max-width: 820px) {
	.l2g-is-signup-flow .l2g-topbar {
		position: sticky;
		top: 0;
		z-index: 150;
		min-height: 70px;
		padding: 9px 14px;
		background: rgba(255, 255, 255, .97);
		border-bottom: 1px solid var(--l2g-line);
		box-shadow: 0 5px 18px rgba(10, 42, 94, .06);
		backdrop-filter: blur(12px);
	}

	.l2g-is-signup-flow .l2g-topbar-brand-mobile {
		height: 50px;
	}

	.l2g-is-signup-flow .l2g-topbar-brand-mobile img {
		max-width: 160px;
		max-height: 48px;
	}

	.l2g-is-signup-flow .l2g-topbar-actions {
		display: flex;
	}

	.l2g-is-signup-flow .l2g-user-copy {
		display: none;
	}

	.l2g-is-signup-flow .l2g-main {
		width: min(100% - 24px, 1080px);
		padding-top: 20px;
	}
}


/* =========================================================
   v0.3.9 — Benefit access guides / slide-over
   ========================================================= */

.l2g-how-access-button {
	width: 100%;
	margin-top: 14px;
}

.l2g-member-voucher-code-card {
	margin-top: 0;
	padding: 9px 10px;
}

.l2g-member-voucher-code-card .l2g-member-voucher-code-value code {
	font-size: 12px;
}

.l2g-benefit-modal[hidden] {
	display: none !important;
}

.l2g-benefit-modal {
	position: fixed;
	inset: 0;
	z-index: 1000;
	display: flex;
	justify-content: flex-end;
}

.l2g-benefit-modal-backdrop {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	padding: 0;
	border: 0;
	background: rgba(10, 42, 94, .46);
	cursor: default;
	backdrop-filter: blur(3px);
}

.l2g-benefit-modal-panel {
	position: relative;
	z-index: 1;
	width: min(680px, 94vw);
	height: 100%;
	display: flex;
	flex-direction: column;
	background: #fff;
	box-shadow: -24px 0 70px rgba(10, 42, 94, .18);
	animation: l2g-benefit-sheet-in .22s ease both;
}

@keyframes l2g-benefit-sheet-in {
	from {
		opacity: .7;
		transform: translateX(34px);
	}
	to {
		opacity: 1;
		transform: translateX(0);
	}
}

.l2g-benefit-modal-top {
	min-height: 84px;
	padding: 16px 22px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	border-bottom: 1px solid #E7EDF3;
	background: #fff;
}

.l2g-benefit-modal-brand {
	min-width: 0;
	display: flex;
	align-items: center;
	gap: 12px;
}

.l2g-benefit-modal-brand > div {
	min-width: 0;
	display: grid;
	gap: 3px;
}

.l2g-benefit-modal-brand > div > span {
	color: var(--l2g-navy);
	font-size: 14px;
	font-weight: 800;
}

.l2g-benefit-modal-brand small {
	color: var(--l2g-blue);
	font-size: 10px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: .06em;
}

.l2g-benefit-modal-close {
	width: 42px;
	height: 42px;
	flex: 0 0 42px;
	display: grid;
	place-items: center;
	padding: 0;
	border: 1px solid #DDE5ED;
	border-radius: 50%;
	background: #F8FAFC;
	color: var(--l2g-navy);
	font-size: 27px;
	line-height: 1;
	cursor: pointer;
}

.l2g-benefit-modal-close:hover {
	border-color: rgba(23, 182, 232, .55);
	background: #F1FAFE;
}

.l2g-benefit-modal-scroll {
	min-height: 0;
	padding: 26px 26px 34px;
	overflow-y: auto;
	overscroll-behavior: contain;
}

.l2g-benefit-modal-intro {
	padding-bottom: 22px;
	border-bottom: 1px solid #EBEFF3;
}

.l2g-benefit-modal-intro .l2g-eyebrow {
	margin-bottom: 5px;
}

.l2g-benefit-modal-intro h2 {
	margin: 0;
	color: var(--l2g-navy);
	font-size: clamp(28px, 4vw, 40px);
	line-height: 1.05;
}

.l2g-benefit-modal-intro > p:last-child {
	margin: 11px 0 0;
	color: #68746E;
	font-size: 15px;
	line-height: 1.55;
}

.l2g-access-member-number {
	margin: 20px 0 0;
	padding: 14px 15px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	border: 1px solid #D9E6EF;
	border-radius: 14px;
	background: linear-gradient(135deg, #F4FAFE 0%, #F8FCF4 100%);
}

.l2g-access-member-number > div {
	min-width: 0;
	display: grid;
	gap: 4px;
}

.l2g-access-member-number span {
	color: var(--l2g-muted);
	font-size: 10px;
	font-weight: 700;
}

.l2g-access-member-number strong {
	color: var(--l2g-navy);
	font-size: 18px;
	letter-spacing: .01em;
}

.l2g-access-guide-section {
	margin-top: 26px;
}

.l2g-access-guide-section > h3 {
	margin: 0 0 14px;
	color: var(--l2g-navy);
	font-size: 20px;
}

.l2g-access-guide-list {
	display: grid;
	gap: 10px;
	counter-reset: l2g-access-step;
}

.l2g-access-guide-list h4 {
	margin: 13px 0 2px;
	color: var(--l2g-navy);
	font-size: 14px;
}

.l2g-access-guide-step {
	counter-increment: l2g-access-step;
	padding: 12px 13px;
	display: grid;
	grid-template-columns: 30px minmax(0, 1fr);
	gap: 11px;
	align-items: start;
	border: 1px solid #E7EDF2;
	border-radius: 13px;
	background: #FBFCFD;
}

.l2g-access-guide-step-number {
	width: 30px;
	height: 30px;
	display: grid;
	place-items: center;
	border-radius: 9px;
	background: #E8F8FD;
	color: #069CCB;
	font-size: 11px;
	font-weight: 900;
}

.l2g-access-guide-step-number::before {
	content: counter(l2g-access-step);
}

.l2g-access-guide-step p,
.l2g-access-guide-bullet p {
	margin: 3px 0 0;
	color: #46536A;
	font-size: 13px;
	line-height: 1.55;
}

.l2g-access-guide-bullet {
	padding: 0 13px 0 42px;
	display: grid;
	grid-template-columns: 12px minmax(0, 1fr);
	gap: 8px;
	color: var(--l2g-blue);
}

.l2g-access-guide-bullet p {
	margin-top: 0;
}

.l2g-access-inline-note,
.l2g-access-important-note,
.l2g-access-guide-missing {
	padding: 13px 14px;
	border-radius: 13px;
	font-size: 12px;
	line-height: 1.5;
}

.l2g-access-inline-note {
	border: 1px solid #E8EDF1;
	background: #F5F7F8;
	color: #59666F;
}

.l2g-access-important-note {
	margin-top: 20px;
	border: 1px solid #D7EBCB;
	background: #F4FAF0;
}

.l2g-access-important-note strong {
	display: block;
	margin-bottom: 4px;
	color: #4D8839;
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: .05em;
}

.l2g-access-important-note p,
.l2g-access-guide-missing p {
	margin: 0;
	color: #59666F;
}

.l2g-access-guide-missing {
	border: 1px solid #DDE6ED;
	background: #F8FAFB;
}

.l2g-access-guide-missing strong {
	display: block;
	margin-bottom: 4px;
	color: var(--l2g-navy);
}

.l2g-access-terms {
	margin-top: 20px;
	border-top: 1px solid #E7EDF2;
	border-bottom: 1px solid #E7EDF2;
}

.l2g-access-terms summary {
	padding: 15px 0;
	color: var(--l2g-navy);
	font-size: 12px;
	font-weight: 800;
	cursor: pointer;
	list-style-position: inside;
}

.l2g-access-terms > div {
	padding: 0 0 16px;
	color: #65716B;
	font-size: 11px;
	line-height: 1.55;
}

.l2g-access-terms > div p {
	margin: 0 0 9px;
}

.l2g-benefit-modal-actions {
	margin-top: 24px;
	display: grid;
	gap: 11px;
}

.l2g-benefit-modal-actions > .l2g-button,
.l2g-benefit-modal-actions > form .l2g-button {
	width: 100%;
}

.l2g-benefit-modal-actions > form {
	margin: 0;
}

.l2g-benefit-modal-lock {
	padding: 12px 13px;
	border-radius: 12px;
	background: #F2F3F4;
	color: #67716B;
	font-size: 12px;
	line-height: 1.5;
}

.l2g-modal-voucher-issued {
	padding: 13px 14px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	border: 1px solid #D9E7EF;
	border-radius: 14px;
	background: #F8FBFD;
}

.l2g-modal-voucher-issued > div {
	min-width: 0;
	display: grid;
	gap: 4px;
}

.l2g-modal-voucher-issued span {
	color: var(--l2g-muted);
	font-size: 9px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: .06em;
}

.l2g-modal-voucher-issued code {
	color: var(--l2g-navy);
	font-size: 15px;
	font-weight: 900;
	word-break: break-all;
}

.l2g-access-support-link {
	justify-self: center;
	color: #68758B;
	font-size: 11px;
	font-weight: 700;
	text-decoration: none;
}

.l2g-access-support-link:hover {
	color: var(--l2g-blue);
}

body.l2g-benefit-modal-open {
	overflow: hidden;
}

@media (max-width: 720px) {
	.l2g-benefit-modal {
		align-items: flex-end;
	}

	.l2g-benefit-modal-panel {
		width: 100%;
		max-width: none;
		height: min(92vh, 900px);
		border-radius: 22px 22px 0 0;
		animation-name: l2g-benefit-sheet-up;
	}

	@keyframes l2g-benefit-sheet-up {
		from {
			opacity: .7;
			transform: translateY(32px);
		}
		to {
			opacity: 1;
			transform: translateY(0);
		}
	}

	.l2g-benefit-modal-top {
		min-height: 70px;
		padding: 12px 15px;
	}

	.l2g-benefit-modal-top .l2g-brand-logo-box {
		width: 48px;
		height: 48px;
	}

	.l2g-benefit-modal-scroll {
		padding: 20px 16px 28px;
	}

	.l2g-access-member-number,
	.l2g-modal-voucher-issued {
		align-items: stretch;
		flex-direction: column;
	}

	.l2g-access-member-number .l2g-copy-code-button,
	.l2g-modal-voucher-issued .l2g-copy-code-button {
		width: 100%;
	}
}


/* =========================================================
   v0.3.11 — Hello Elementor button isolation
   ========================================================= */

/*
 * Hello Elementor applies generic rules to button,
 * [type="submit"] and [type="button"]. Keep all Rewards Hub
 * controls scoped to the application's own visual system.
 */

.l2g-app .l2g-button,
.l2g-app button.l2g-button,
.l2g-app input.l2g-button {
	-webkit-appearance: none;
	appearance: none;
	font-family: inherit;
	font-weight: 700;
	text-decoration: none;
	box-shadow: none;
}

.l2g-app .l2g-button.l2g-button-primary,
.l2g-app button.l2g-button.l2g-button-primary,
.l2g-app input.l2g-button.l2g-button-primary {
	background: var(--l2g-navy);
	border: 1px solid var(--l2g-navy);
	color: #fff;
}

.l2g-app .l2g-button.l2g-button-primary:hover,
.l2g-app button.l2g-button.l2g-button-primary:hover,
.l2g-app input.l2g-button.l2g-button-primary:hover {
	background: #123B72;
	border-color: #123B72;
	color: #fff;
}

.l2g-app .l2g-button.l2g-button-primary:focus-visible,
.l2g-app button.l2g-button.l2g-button-primary:focus-visible,
.l2g-app input.l2g-button.l2g-button-primary:focus-visible {
	outline: 3px solid rgba(23, 182, 232, .26);
	outline-offset: 2px;
}

.l2g-app .l2g-button.l2g-button-secondary,
.l2g-app button.l2g-button.l2g-button-secondary {
	background: #fff;
	border: 1px solid #DCE2DE;
	color: #25302A;
}

.l2g-app button.l2g-password-toggle[type="button"] {
	-webkit-appearance: none;
	appearance: none;
	position: absolute;
	top: 50%;
	right: 8px;
	width: 38px;
	height: 38px;
	min-width: 38px;
	min-height: 38px;
	padding: 0;
	margin: 0;
	transform: translateY(-50%);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 0;
	border-radius: 9px;
	background: transparent;
	color: #6F7D91;
	box-shadow: none;
	font-size: 0;
	line-height: 1;
	cursor: pointer;
}

.l2g-app button.l2g-password-toggle[type="button"]:hover,
.l2g-app button.l2g-password-toggle[type="button"].is-visible {
	border: 0;
	background: #EEF5F8;
	color: var(--l2g-navy);
}

.l2g-app button.l2g-password-toggle[type="button"]:focus,
.l2g-app button.l2g-password-toggle[type="button"]:focus-visible {
	border: 0;
	background: #EEF5F8;
	color: var(--l2g-navy);
	outline: 2px solid rgba(23, 182, 232, .35);
	outline-offset: 1px;
	box-shadow: none;
}

.l2g-app button.l2g-password-toggle[type="button"] .l2g-eye-icon {
	width: 20px;
	height: 20px;
	stroke: currentColor;
}

/* Other native button controls in the app that Hello can otherwise recolour. */
.l2g-app button.l2g-copy-code-button,
.l2g-app button.l2g-benefit-modal-close,
.l2g-app button.l2g-mobile-menu-toggle,
.l2g-app button.l2g-signout-button {
	-webkit-appearance: none;
	appearance: none;
	font-family: inherit;
	box-shadow: none;
}

.l2g-app button.l2g-copy-code-button {
	border: 1px solid #CFE2EC;
	background: #fff;
	color: var(--l2g-navy);
}

.l2g-app button.l2g-benefit-modal-close {
	border: 1px solid #DDE5ED;
	background: #F8FAFC;
	color: var(--l2g-navy);
}

.l2g-app button.l2g-mobile-menu-toggle {
	border: 1px solid #DDE6EF;
	background: #fff;
	color: var(--l2g-navy);
}

.l2g-app button.l2g-signout-button {
	border: 1px solid #E3E9F0;
	background: #fff;
	color: #67768B;
}


/* =========================================================
   v0.4.0 — membership lifecycle, signup policy and support
   ========================================================= */

.l2g-consent-panel {
	margin-top: 8px;
	padding: 16px;
	border: 1px solid #E2E8EF;
	border-radius: 14px;
	background: #F8FAFC;
}

.l2g-terms-details {
	border: 1px solid #DCE5ED;
	border-radius: 12px;
	background: #fff;
	overflow: hidden;
}

.l2g-terms-details summary {
	padding: 13px 14px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	cursor: pointer;
	font-size: 12px;
	font-weight: 800;
	color: var(--l2g-navy);
}

.l2g-terms-details summary span {
	color: var(--l2g-muted);
	font-size: 9px;
	font-weight: 700;
}

.l2g-terms-scroll {
	max-height: 340px;
	overflow: auto;
	padding: 0 16px 16px;
	border-top: 1px solid #EEF2F5;
}

.l2g-product-terms-copy {
	color: #4B5968;
	font-size: 11px;
	line-height: 1.55;
}

.l2g-product-terms-copy h2 {
	margin: 16px 0 10px;
	color: var(--l2g-navy);
	font-size: 17px;
}

.l2g-product-terms-copy ol {
	padding-left: 22px;
}

.l2g-product-terms-copy li + li {
	margin-top: 7px;
}

.l2g-check-required {
	margin-top: 14px;
}

.l2g-consent-divider {
	height: 1px;
	margin: 16px 0;
	background: #E4EAF0;
}

.l2g-consent-heading {
	display: flex;
	align-items: center;
	gap: 8px;
	color: var(--l2g-navy);
	font-size: 12px;
}

.l2g-consent-heading small {
	padding: 3px 6px;
	border-radius: 999px;
	background: #EDF3F6;
	color: var(--l2g-muted);
	font-size: 8px;
	text-transform: uppercase;
	letter-spacing: .05em;
}

.l2g-consent-options {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
}

.l2g-cause-card {
	position: relative;
	display: grid;
	border: 1px solid #E5EBF1;
	border-radius: 14px;
	background: #fff;
	overflow: hidden;
}

.l2g-cause-card .l2g-cause-option {
	border: 0;
	border-radius: 0;
}

.l2g-cause-more {
	width: 100%;
	padding: 9px 14px 11px;
	border: 0;
	border-top: 1px solid #EEF2F5;
	background: #FBFCFE;
	color: var(--l2g-blue);
	font: inherit;
	font-size: 10px;
	font-weight: 800;
	text-align: left;
	cursor: pointer;
}

.l2g-cause-more:hover {
	background: #F3F8FB;
	color: var(--l2g-navy);
}

.l2g-cause-description {
	color: #4B5968;
	font-size: 12px;
	line-height: 1.6;
}

.l2g-payment-explainer {
	margin: 0 0 18px;
	padding: 16px;
	border: 1px solid #DDE7EF;
	border-radius: 14px;
	background: #F8FBFD;
}

.l2g-payment-explainer h2 {
	margin: 0 0 10px;
	font-size: 15px;
	color: var(--l2g-navy);
}

.l2g-payment-explainer ul {
	margin: 0;
	padding-left: 18px;
	color: #526171;
	font-size: 11px;
	line-height: 1.55;
}

.l2g-payment-explainer li + li {
	margin-top: 6px;
}

.l2g-membership-alert {
	display: grid;
	gap: 8px;
	margin-bottom: 16px;
}

.l2g-membership-alert .l2g-button {
	width: fit-content;
}

.l2g-scheduled-card {
	margin-top: 14px;
	padding: 13px;
	display: grid;
	gap: 3px;
	border: 1px solid #CFE7F0;
	border-radius: 12px;
	background: #F4FBFD;
}

.l2g-scheduled-card-warning {
	border-color: #F1DDC0;
	background: #FFF9F0;
}

.l2g-scheduled-card > span {
	color: var(--l2g-muted);
	font-size: 9px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: .05em;
}

.l2g-scheduled-card > strong {
	color: var(--l2g-navy);
	font-size: 13px;
}

.l2g-scheduled-card > small {
	color: var(--l2g-muted);
	font-size: 10px;
}

.l2g-membership-secondary-grid {
	margin-top: 16px;
}

.l2g-button.l2g-button-danger,
.l2g-app button.l2g-button.l2g-button-danger {
	background: #A94343;
	border: 1px solid #A94343;
	color: #fff;
}

.l2g-button.l2g-button-danger:hover,
.l2g-app button.l2g-button.l2g-button-danger:hover {
	background: #8D3434;
	border-color: #8D3434;
	color: #fff;
}

.l2g-confirm-box-warning {
	border-color: #F0D9B8;
	background: #FFFBF4;
}

.l2g-support-list a {
	color: var(--l2g-navy);
	text-decoration: none;
}

.l2g-support-list a:hover {
	color: var(--l2g-blue);
}

.l2g-terms-page {
	max-width: 900px;
}

.l2g-terms-full {
	padding: 8px 4px 4px;
}

.l2g-terms-full .l2g-product-terms-copy {
	font-size: 12px;
}

.l2g-manual-payment-panel {
	max-width: 760px;
}

.l2g-settings-readonly {
	margin: 8px 0 18px;
	padding: 13px 14px;
	display: flex;
	align-items: center;
	gap: 12px;
	border: 1px solid #E3E9EF;
	border-radius: 12px;
	background: #F8FAFC;
}

.l2g-settings-readonly span {
	color: var(--l2g-muted);
	font-size: 10px;
}

.l2g-settings-readonly strong {
	color: var(--l2g-navy);
}

.l2g-settings-readonly a {
	margin-left: auto;
	color: var(--l2g-blue);
	font-size: 10px;
	font-weight: 800;
	text-decoration: none;
}

.l2g-members-admin-table {
	min-width: 1320px;
}

.l2g-members-admin-table td small {
	display: block;
	margin-top: 3px;
	color: var(--l2g-muted);
	font-size: 9px;
	line-height: 1.35;
}

.l2g-member-admin-form {
	min-width: 200px;
}

.l2g-member-admin-form input[type="text"] {
	width: 100%;
	min-height: 34px;
	margin-bottom: 6px;
	padding: 6px 8px;
	border: 1px solid #DDE5EC;
	border-radius: 8px;
	font-size: 9px;
}

.l2g-admin-action-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 5px;
}

.l2g-mini-button {
	padding: 6px 8px;
	border: 1px solid #D4DFE8;
	border-radius: 7px;
	background: #fff;
	color: var(--l2g-navy);
	font: inherit;
	font-size: 8px;
	font-weight: 800;
	cursor: pointer;
}

.l2g-mini-button.is-danger {
	border-color: #EACBCB;
	color: #A94343;
}

.l2g-mini-button.is-success {
	border-color: #CDE3C4;
	color: #4D8839;
}

.l2g-foundation-settlement {
	margin: 0 0 16px;
}

.l2g-foundation-settlement-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
}

.l2g-foundation-settlement-grid > div {
	padding: 13px;
	display: grid;
	gap: 4px;
	border: 1px solid #E5EBF0;
	border-radius: 12px;
	background: #FAFCFD;
}

.l2g-foundation-settlement-grid small {
	color: var(--l2g-muted);
	font-size: 9px;
	text-transform: uppercase;
	letter-spacing: .04em;
}

.l2g-foundation-settlement-grid strong {
	color: var(--l2g-navy);
	font-size: 14px;
}

@media (max-width: 820px) {
	.l2g-consent-options {
		display: grid;
		grid-template-columns: 1fr;
		gap: 8px;
	}

	.l2g-foundation-settlement-grid {
		grid-template-columns: 1fr;
	}

	.l2g-settings-readonly {
		align-items: flex-start;
		flex-direction: column;
	}

	.l2g-settings-readonly a {
		margin-left: 0;
	}
}

.l2g-privacy-note {
	margin-top: 14px;
	padding: 12px 13px;
	border: 1px solid #DCE7EE;
	border-radius: 11px;
	background: #F7FBFD;
}
.l2g-privacy-note strong {
	color: var(--l2g-navy);
	font-size: 11px;
}
.l2g-privacy-note p {
	margin: 5px 0 0;
	color: var(--l2g-muted);
	font-size: 10px;
	line-height: 1.5;
}


/* Product Terms examples supplied in version 131026a */
.l2g-product-terms-copy .l2g-terms-clause {
	margin-top: 14px;
}

.l2g-product-terms-copy .l2g-terms-example {
	margin: 12px 0 16px;
	padding: 12px;
	border: 1px solid #E3E9EF;
	border-radius: 10px;
	background: #F8FAFC;
}

.l2g-product-terms-copy .l2g-terms-example > strong {
	display: block;
	margin-bottom: 8px;
	color: var(--l2g-navy);
}

.l2g-product-terms-copy .l2g-terms-example table {
	width: 100%;
	border-collapse: collapse;
	font-size: inherit;
}

.l2g-product-terms-copy .l2g-terms-example th,
.l2g-product-terms-copy .l2g-terms-example td {
	padding: 7px 8px;
	border-bottom: 1px solid #E5EAF0;
	text-align: left;
	vertical-align: top;
}

.l2g-product-terms-copy .l2g-terms-example th {
	color: var(--l2g-navy);
	font-weight: 800;
}

.l2g-product-terms-copy .l2g-terms-example tbody tr:last-child td {
	border-bottom: 0;
}

@media (max-width: 620px) {
	.l2g-product-terms-copy .l2g-terms-example {
		overflow-x: auto;
	}

	.l2g-product-terms-copy .l2g-terms-example table {
		min-width: 520px;
	}
}


/* =========================================================
   v0.4.8 — cause allocation, signup navigation and admin override
   ========================================================= */
.l2g-cause-choice-intro { display:grid; gap:3px; margin-bottom:12px; padding:13px 14px; border:1px solid #DCE7EE; border-radius:12px; background:#F7FBFD; }
.l2g-cause-choice-intro strong { color:var(--l2g-navy); font-size:13px; }
.l2g-cause-choice-intro span { color:var(--l2g-muted); font-size:10px; line-height:1.45; }
.l2g-signup-card .l2g-cause-copy small { font-size:11px; font-weight:800; line-height:1.3; }
.l2g-cause-card-equal { border-color:#BFDDE8; background:#F7FCFE; }
.l2g-cause-equal-icon { display:grid; place-items:center; color:var(--l2g-green); font-size:28px; }
.l2g-signup-actions { display:flex; align-items:center; justify-content:space-between; gap:10px; margin-top:14px; }
.l2g-signup-actions .l2g-button { margin:0; }
.l2g-mini-button.is-warning { border-color:#E6C58F; color:#936A22; }
.l2g-benefit-terms-public { max-width:900px; }
.l2g-benefit-terms-copy { margin-bottom:16px; color:#4B5968; font-size:12px; line-height:1.7; }
@media (max-width:640px) { .l2g-signup-actions { align-items:stretch; flex-direction:column-reverse; } .l2g-signup-actions .l2g-button { width:100%; justify-content:center; } }

.l2g-public-terms-shell { max-width: 980px; margin: 0 auto; padding: 48px 24px 72px; }
.l2g-public-benefit-terms-inline { margin: 12px 0 0; }
.l2g-public-benefit-terms-inline a { color: #0A2A5E; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }


/* =========================================================
   v0.4.9 — optional additional cause contributions
   ========================================================= */
.l2g-contribution-panel { display:grid; gap:16px; margin-top:16px; padding:18px; border:1px solid #DCE7EE; border-radius:16px; background:#fff; }
.l2g-contribution-panel h2 { margin:2px 0 4px; color:var(--l2g-navy); font-size:20px; }
.l2g-contribution-panel p { margin:0; }
.l2g-contribution-options { display:grid; gap:9px; }
.l2g-contribution-option { display:flex; align-items:flex-start; gap:10px; padding:12px 13px; border:1px solid #DCE7EE; border-radius:12px; background:#F9FCFD; cursor:pointer; }
.l2g-contribution-option input { margin-top:3px; accent-color:var(--l2g-green); }
.l2g-contribution-option span { display:grid; gap:2px; }
.l2g-contribution-option strong { color:var(--l2g-navy); font-size:12px; }
.l2g-contribution-option small { color:var(--l2g-muted); font-size:10px; line-height:1.45; }
.l2g-contribution-amount { display:grid; gap:6px; }
.l2g-contribution-amount > span { color:var(--l2g-navy); font-size:11px; font-weight:800; }
.l2g-money-input { display:flex; align-items:center; overflow:hidden; border:1px solid #CBD8E0; border-radius:10px; background:#fff; }
.l2g-money-input b { padding:0 0 0 12px; color:var(--l2g-navy); font-size:12px; }
.l2g-money-input input { width:100%; border:0 !important; box-shadow:none !important; }
.l2g-contribution-note { padding:11px 12px; border-radius:10px; background:#F1F8F4; color:#40564A; font-size:10px; line-height:1.5; }
.l2g-contribution-note strong { color:var(--l2g-navy); }


/* Member record detail */
.l2g-member-view-link {
    display: inline-flex;
    margin-top: 8px;
    text-decoration: none;
}

.l2g-table-member-link {
    color: var(--l2g-navy);
    text-decoration: none;
}

.l2g-table-member-link:hover {
    text-decoration: underline;
}

.l2g-member-detail-head {
    align-items: flex-end;
}

.l2g-page-head-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.l2g-member-detail-stats {
    margin-bottom: 18px;
}

.l2g-member-detail-stats .l2g-stat-card small {
    display: block;
    margin-top: 6px;
    color: var(--l2g-muted);
    font-size: 10px;
    line-height: 1.4;
}

.l2g-member-detail-grid {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 18px;
    margin-bottom: 18px;
}

.l2g-member-management-panel {
    margin-bottom: 24px;
}

.l2g-member-detail-admin-form {
    max-width: none;
}

.l2g-member-detail-admin-form input[type="text"] {
    max-width: 520px;
}

.l2g-member-history-table {
    min-width: 980px;
}

.l2g-activity-list {
    display: flex;
    flex-direction: column;
}

.l2g-activity-item {
    position: relative;
    display: grid;
    grid-template-columns: 14px minmax(0,1fr);
    gap: 10px;
    padding: 13px 0;
    border-bottom: 1px solid #edf0ee;
}

.l2g-activity-item:last-child {
    border-bottom: 0;
}

.l2g-activity-dot {
    width: 8px;
    height: 8px;
    margin-top: 5px;
    border-radius: 999px;
    background: var(--l2g-blue);
}

.l2g-activity-item strong {
    display: block;
    color: var(--l2g-navy);
    font-size: 11px;
}

.l2g-activity-item p {
    margin: 3px 0 0;
    color: var(--l2g-text);
    font-size: 10px;
    line-height: 1.45;
}

.l2g-activity-item small {
    display: block;
    margin-top: 4px;
    color: var(--l2g-muted);
    font-size: 9px;
}

@media (max-width: 900px) {
    .l2g-member-detail-grid {
        grid-template-columns: 1fr;
    }
}

/* v0.5.2: representative portal, categorised causes and post-signup contribution controls */
.l2g-referral-field { margin-top: 4px; }
.l2g-readonly-field {
    display: grid;
    gap: 3px;
    min-height: 46px;
    padding: 10px 12px;
    border: 1px solid #dce7ee;
    border-radius: 10px;
    background: #f7fbfd;
}
.l2g-readonly-field strong { color: var(--l2g-navy); font-size: 12px; }
.l2g-readonly-field small { color: var(--l2g-muted); font-size: 10px; }

.l2g-cause-choice-intro {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
    padding: 14px 16px;
}
.l2g-cause-choice-intro > div { display: grid; gap: 3px; }
.l2g-single-choice-badge {
    flex: 0 0 auto;
    padding: 6px 10px;
    border-radius: 999px;
    background: #e9f7fc;
    color: var(--l2g-navy);
    font-size: 10px;
    font-weight: 800;
}
.l2g-cause-equal-wrap { margin-bottom: 24px; }
.l2g-cause-equal-wrap .l2g-cause-card { max-width: 520px; }
.l2g-cause-category-list { display: grid; gap: 26px; }
.l2g-cause-category {
    padding-top: 4px;
    border-top: 1px solid #edf2f5;
}
.l2g-cause-category:first-child { border-top: 0; padding-top: 0; }
.l2g-cause-category-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 12px;
}
.l2g-cause-category-head .l2g-eyebrow { margin: 0 0 2px; }
.l2g-cause-category-head h2 {
    margin: 0;
    color: var(--l2g-navy);
    font-size: 18px;
    line-height: 1.2;
}
.l2g-cause-category-head > span {
    color: var(--l2g-muted);
    font-size: 10px;
    font-weight: 700;
}
.l2g-cause-grid-category { align-items: stretch; }
.l2g-cause-grid-category .l2g-cause-card { height: 100%; }
.l2g-cause-card .l2g-cause-option { transition: border-color .18s ease, box-shadow .18s ease, background .18s ease; }
.l2g-cause-card .l2g-cause-option:has(input:checked) {
    border-color: var(--l2g-blue);
    background: #f2fbfe;
    box-shadow: 0 0 0 2px rgba(23,182,232,.10);
}
.l2g-cause-card .l2g-cause-option:has(input:checked) .l2g-cause-select-dot {
    border-color: var(--l2g-blue);
    box-shadow: inset 0 0 0 4px #fff;
    background: var(--l2g-blue);
}
.l2g-cause-card-equal .l2g-cause-option:has(input:checked) {
    border-color: var(--l2g-green);
    background: #f3faf5;
    box-shadow: 0 0 0 2px rgba(122,182,72,.10);
}
.l2g-cause-card-equal .l2g-cause-option:has(input:checked) .l2g-cause-select-dot {
    border-color: var(--l2g-green);
    background: var(--l2g-green);
}
.l2g-cause-copy > span {
    display: block;
    margin-top: 4px;
    color: var(--l2g-muted);
    font-size: 10px;
    line-height: 1.45;
}

.l2g-cancellation-reason-form { margin-top: 16px; }
.l2g-cancellation-reason-form textarea { min-height: 88px; resize: vertical; }
.l2g-inline-actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }

.l2g-contribution-management { margin-top: 18px; }
.l2g-contribution-management-grid {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 16px;
}
.l2g-contribution-management-card {
    padding: 16px;
    border: 1px solid #dce7ee;
    border-radius: 14px;
    background: #f9fcfd;
}
.l2g-contribution-management-card h3 { margin: 0 0 5px; color: var(--l2g-navy); font-size: 15px; }
.l2g-contribution-management-card > p { margin: 0 0 13px; color: var(--l2g-muted); font-size: 10px; line-height: 1.5; }
.l2g-contribution-stop-form { margin-top: 10px; }

.l2g-rep-table { min-width: 1160px; }
.l2g-rep-table td { vertical-align: top; }
.l2g-rep-table td > small { display: block; margin-top: 4px; color: var(--l2g-muted); line-height: 1.4; }
.l2g-rep-table code {
    display: inline-block;
    padding: 4px 7px;
    border-radius: 6px;
    background: #f2f5f7;
    color: var(--l2g-navy);
    font-size: 10px;
}
.l2g-rep-settings-form { display: grid; grid-template-columns: 90px auto auto; gap: 7px; align-items: end; }
.l2g-rep-settings-form label { margin: 0; }
.l2g-rep-settings-form input[type="number"] { min-width: 80px; }
.l2g-rep-resend-form { margin-top: 7px; }
.l2g-rep-rule {
    padding: 16px;
    border: 1px solid #dce7ee;
    border-radius: 14px;
    background: #f7fbfd;
}
.l2g-rep-rule strong { color: var(--l2g-navy); }
.l2g-rep-rule p { margin: 7px 0 0; color: var(--l2g-text); font-size: 10px; line-height: 1.5; }
.l2g-percent-input b { padding: 0 12px 0 0; }

.l2g-rep-stats { margin-bottom: 18px; }
.l2g-rep-preview-picker { margin-bottom: 18px; }
.l2g-inline-filter { display: flex; align-items: flex-end; gap: 10px; }
.l2g-inline-filter label { min-width: min(100%,320px); margin: 0; }
.l2g-rep-share-grid {
    display: grid;
    grid-template-columns: 190px minmax(0,1fr);
    gap: 20px;
    align-items: center;
}
.l2g-rep-qr {
    display: grid;
    justify-items: center;
    gap: 8px;
    padding: 12px;
    border: 1px solid #dce7ee;
    border-radius: 14px;
    background: #fff;
}
.l2g-rep-qr img { display: block; width: 166px; height: 166px; object-fit: contain; }
.l2g-rep-qr small { color: var(--l2g-muted); font-size: 9px; line-height: 1.35; text-align: center; }
.l2g-rep-share-grid > div:last-child { display: grid; gap: 10px; }
.l2g-rep-share-grid > div:last-child label { margin: 0; }
.l2g-rep-share-grid .l2g-button { width: fit-content; }
.l2g-button.is-copied { border-color: var(--l2g-green); color: var(--l2g-green); }

@media (max-width: 900px) {
    .l2g-contribution-management-grid { grid-template-columns: 1fr; }
    .l2g-rep-share-grid { grid-template-columns: 1fr; }
    .l2g-rep-qr { justify-self: start; }
}

@media (max-width: 640px) {
    .l2g-cause-choice-intro,
    .l2g-cause-category-head { align-items: flex-start; flex-direction: column; }
    .l2g-cause-equal-wrap .l2g-cause-card { max-width: none; }
    .l2g-inline-actions { align-items: stretch; flex-direction: column; }
    .l2g-inline-actions .l2g-button { width: 100%; justify-content: center; }
    .l2g-rep-qr { justify-self: stretch; }
    .l2g-rep-share-grid .l2g-button { width: 100%; justify-content: center; }
}


/* v0.5.3: compact cause chooser, focused rep preload, member search/filter and cause contribution CTA */
.l2g-cause-signup-card { max-width: 1120px; }
.l2g-cause-choice-intro-compact { border: 1px solid #dce7ee; border-radius: 12px; background: #f7fbfd; }
.l2g-cause-category-list-compact { gap: 22px; }
.l2g-cause-category-compact { border-top: 0; padding-top: 0; }
.l2g-cause-category-head-compact { margin-bottom: 9px; }
.l2g-cause-category-head-compact h2 { font-size: 14px; font-weight: 800; }
.l2g-cause-compact-grid {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 9px;
}
.l2g-cause-compact-card {
    position: relative;
    min-width: 0;
    border: 1px solid #dce7ee;
    border-radius: 12px;
    background: #fff;
    overflow: hidden;
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.l2g-cause-compact-card:has(input:checked) {
    border-color: var(--l2g-blue);
    background: #f4fbfe;
    box-shadow: 0 0 0 2px rgba(23,182,232,.10);
}
.l2g-cause-compact-option {
    display: grid;
    grid-template-columns: 44px minmax(0,1fr) 20px;
    align-items: center;
    gap: 10px;
    min-height: 66px;
    padding: 10px 42px 10px 10px;
    cursor: pointer;
}
.l2g-cause-compact-option input,
.l2g-cause-equal-last-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.l2g-cause-compact-logo {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 4px;
    border: 1px solid #e4ebef;
    border-radius: 10px;
    background: #fff;
}
.l2g-cause-compact-logo img { width: 100%; height: 100%; object-fit: contain; }
.l2g-cause-compact-logo > span { color: var(--l2g-green); font-size: 20px; }
.l2g-cause-compact-name { min-width: 0; color: var(--l2g-navy); font-size: 11px; font-weight: 800; line-height: 1.3; }
.l2g-cause-compact-check {
    display: grid;
    place-items: center;
    width: 20px;
    height: 20px;
    border: 1px solid #cbd8df;
    border-radius: 50%;
    color: transparent;
    background: #fff;
    font-size: 10px;
    font-weight: 900;
}
.l2g-cause-compact-card:has(input:checked) .l2g-cause-compact-check,
.l2g-cause-equal-last-option:has(input:checked) .l2g-cause-compact-check {
    border-color: var(--l2g-blue);
    background: var(--l2g-blue);
    color: #fff;
}
.l2g-cause-compact-info {
    position: absolute;
    right: 8px;
    bottom: 6px;
    padding: 2px 4px;
    border: 0;
    background: transparent;
    color: var(--l2g-blue);
    font-size: 8px;
    font-weight: 800;
    cursor: pointer;
}
.l2g-cause-equal-last { margin-top: 24px; }
.l2g-cause-equal-last-option {
    position: relative;
    display: grid;
    grid-template-columns: 44px minmax(0,1fr) 20px;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 13px 15px;
    border: 1px solid #d6e5da;
    border-radius: 13px;
    background: #f8fcf8;
    cursor: pointer;
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.l2g-cause-equal-last-option:has(input:checked) { border-color: var(--l2g-green); background: #f1f8f3; box-shadow: 0 0 0 2px rgba(122,182,72,.10); }
.l2g-cause-equal-last-option:has(input:checked) .l2g-cause-compact-check { border-color: var(--l2g-green); background: var(--l2g-green); }
.l2g-cause-equal-last-icon { display:grid; place-items:center; width:44px; height:44px; border-radius:10px; background:#fff; color:var(--l2g-green); font-size:20px; }
.l2g-cause-equal-last-option > span:nth-child(3) { display:grid; gap:3px; }
.l2g-cause-equal-last-option strong { color:var(--l2g-navy); font-size:12px; }
.l2g-cause-equal-last-option small { color:var(--l2g-muted); font-size:9px; line-height:1.4; }

.l2g-cause-contribution-button { margin-top: 14px; width: fit-content; }
#additional-contribution { scroll-margin-top: 28px; }

.l2g-referral-locked { display:grid; gap:5px; padding:12px; border:1px solid #dce7ee; border-radius:12px; background:#f7fbfd; }
.l2g-referral-locked > span { color:var(--l2g-muted); font-size:9px; font-weight:800; text-transform:uppercase; letter-spacing:.08em; }
.l2g-referral-locked code { overflow-wrap:anywhere; color:var(--l2g-navy); font-size:10px; line-height:1.45; }
.l2g-referral-locked small { color:var(--l2g-muted); font-size:9px; line-height:1.4; }
.l2g-rep-preload-launch { display:flex; align-items:center; justify-content:space-between; gap:20px; }
.l2g-rep-preload-launch h2 { margin:0 0 5px; color:var(--l2g-navy); }
.l2g-rep-preload-launch p:not(.l2g-eyebrow) { margin:0; color:var(--l2g-muted); font-size:10px; line-height:1.5; max-width:620px; }
.l2g-rep-preload-shell { width:min(100%,820px); margin:0 auto; }
.l2g-rep-preload-topbar { display:flex; justify-content:space-between; align-items:flex-start; gap:18px; margin-bottom:18px; }
.l2g-rep-preload-topbar h1 { margin:2px 0 5px; color:var(--l2g-navy); }
.l2g-rep-preload-topbar p:last-child { margin:0; color:var(--l2g-muted); font-size:10px; }
.l2g-rep-preload-card { padding:clamp(18px,4vw,30px); }
.l2g-rep-preload-submit { display:grid; gap:7px; margin-top:4px; }
.l2g-rep-preload-submit small { color:var(--l2g-muted); font-size:9px; line-height:1.45; }
.l2g-rep-preload-picker { margin-bottom:14px; }

.l2g-member-filter-panel { margin-bottom:18px; }
.l2g-member-filter-form {
    display:grid;
    grid-template-columns:minmax(240px,1.7fr) repeat(3,minmax(145px,.8fr)) auto;
    gap:10px;
    align-items:end;
}
.l2g-member-filter-form label { margin:0; }
.l2g-member-filter-actions { display:flex; gap:7px; align-items:center; }
.l2g-member-filter-actions .l2g-button { white-space:nowrap; }
.l2g-member-filter-result { margin-top:10px; color:var(--l2g-muted); font-size:9px; }
.l2g-member-filter-result strong { color:var(--l2g-navy); }
.l2g-rep-settings-form { grid-template-columns:minmax(110px,1.2fr) 80px auto auto; }

@media (max-width: 1050px) {
    .l2g-cause-compact-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .l2g-member-filter-form { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .l2g-member-search-field { grid-column: 1 / -1; }
    .l2g-member-filter-actions { grid-column: 1 / -1; }
}
@media (max-width: 700px) {
    .l2g-cause-compact-grid { grid-template-columns: 1fr; }
    .l2g-cause-category-head-compact { flex-direction:row; align-items:center; }
    .l2g-cause-compact-option { min-height:62px; }
    .l2g-cause-equal-last-option { grid-template-columns:40px minmax(0,1fr) 20px; padding:12px; }
    .l2g-rep-preload-launch,
    .l2g-rep-preload-topbar { flex-direction:column; align-items:stretch; }
    .l2g-rep-preload-launch .l2g-button { width:100%; justify-content:center; }
    .l2g-member-filter-form { grid-template-columns:1fr; }
    .l2g-member-search-field,
    .l2g-member-filter-actions { grid-column:auto; }
    .l2g-member-filter-actions { align-items:stretch; flex-direction:column; }
    .l2g-member-filter-actions .l2g-button { width:100%; justify-content:center; }
}


/* v0.5.4: true category-tile cause grid */
.l2g-cause-category-tile-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 18px;
}
.l2g-cause-category-tile {
    min-width: 0;
    border: 1px solid #dce7ee;
    border-radius: 16px;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 8px 22px rgba(10,42,94,.035);
}
.l2g-cause-category-tile-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 15px 12px;
    border-bottom: 1px solid #e7eef2;
    background: linear-gradient(180deg,#f7fbfd 0%,#fbfdfe 100%);
}
.l2g-cause-category-kicker {
    display: block;
    margin-bottom: 3px;
    color: var(--l2g-blue);
    font-size: 8px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.l2g-cause-category-tile-head h2 {
    margin: 0;
    color: var(--l2g-navy);
    font-size: 14px;
    font-weight: 800;
    line-height: 1.25;
}
.l2g-cause-category-count {
    flex: 0 0 auto;
    padding: 4px 7px;
    border-radius: 999px;
    background: #eaf5fa;
    color: #647a8b;
    font-size: 8px;
    font-weight: 800;
    white-space: nowrap;
}
.l2g-cause-category-options { display: grid; }
.l2g-cause-tile-option-wrap {
    position: relative;
    min-width: 0;
    border-top: 1px solid #eef3f5;
}
.l2g-cause-tile-option-wrap:first-child { border-top: 0; }
.l2g-cause-tile-option-wrap:has(input:checked) { background: #f3fbfe; }
.l2g-cause-tile-option {
    display: grid;
    grid-template-columns: 48px minmax(0,1fr) 21px;
    align-items: center;
    gap: 10px;
    min-height: 72px;
    padding: 11px 74px 11px 12px;
    cursor: pointer;
}
.l2g-cause-tile-option input,
.l2g-cause-equal-last-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.l2g-cause-tile-logo {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    padding: 5px;
    border: 1px solid #e4ebef;
    border-radius: 11px;
    background: #fff;
}
.l2g-cause-tile-logo img { width: 100%; height: 100%; object-fit: contain; }
.l2g-cause-tile-logo > span { color: var(--l2g-green); font-size: 20px; }
.l2g-cause-tile-name {
    min-width: 0;
    color: var(--l2g-navy);
    font-size: 11px;
    font-weight: 800;
    line-height: 1.3;
}
.l2g-cause-tile-check {
    display: grid;
    place-items: center;
    width: 21px;
    height: 21px;
    border: 1px solid #cbd8df;
    border-radius: 50%;
    background: #fff;
    color: transparent;
    font-size: 10px;
    font-weight: 900;
}
.l2g-cause-tile-option-wrap:has(input:checked) .l2g-cause-tile-check {
    border-color: var(--l2g-blue);
    background: var(--l2g-blue);
    color: #fff;
}
.l2g-cause-tile-option-wrap:has(input:checked) { box-shadow: inset 3px 0 0 var(--l2g-blue); }
.l2g-cause-tile-info {
    position: absolute;
    right: 11px;
    bottom: 12px;
    padding: 3px 0;
    border: 0;
    background: transparent;
    color: var(--l2g-blue);
    font-size: 8px;
    font-weight: 800;
    cursor: pointer;
}
.l2g-cause-tile-info:hover, .l2g-cause-tile-info:focus { text-decoration: underline; }

@media (max-width: 980px) {
    .l2g-cause-category-tile-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 640px) {
    .l2g-cause-category-tile-grid { grid-template-columns: 1fr; gap: 11px; }
    .l2g-cause-category-tile-head { padding: 12px 13px 10px; }
    .l2g-cause-tile-option { min-height: 68px; padding-left: 10px; }
}

/* =========================================================
   v0.6.0 - readability, signup polish, tables and referrers
   ========================================================= */
.l2g-app { font-size: 16px; }
.l2g-app input,
.l2g-app select,
.l2g-app textarea,
.l2g-app button { font-size: 16px; }
.l2g-app label > span,
.l2g-app .l2g-field-help,
.l2g-app .l2g-form-note { font-size: 13px; line-height: 1.5; }
.l2g-app .l2g-panel p,
.l2g-app .l2g-detail-row,
.l2g-app .l2g-empty p { font-size: 15px; line-height: 1.55; }
.l2g-app .l2g-table { font-size: 15px; }
.l2g-app .l2g-table th { font-size: 12px; letter-spacing: .02em; }
.l2g-app .l2g-table td small,
.l2g-app .l2g-member-filter-result,
.l2g-app .l2g-rep-rule p,
.l2g-app .l2g-rep-preload-launch p:not(.l2g-eyebrow),
.l2g-app .l2g-rep-preload-topbar p:last-child,
.l2g-app .l2g-rep-preload-submit small,
.l2g-app .l2g-referral-locked small,
.l2g-app .l2g-referral-locked code,
.l2g-app .l2g-readonly-field small,
.l2g-app .l2g-contribution-management-card > p,
.l2g-app .l2g-contribution-note { font-size: 13px; }
.l2g-app .l2g-readonly-field strong,
.l2g-app .l2g-contribution-option strong,
.l2g-app .l2g-contribution-amount > span { font-size: 14px; }

/* Cause chooser */
.l2g-cause-category-tile-head { padding: 18px 18px 15px; align-items: center; }
.l2g-cause-category-tile-head h2 { font-size: 20px; line-height: 1.15; }
.l2g-cause-category-count { padding: 6px 9px; font-size: 11px; }
.l2g-cause-tile-option { grid-template-columns: 56px minmax(0,1fr) 30px; min-height: 86px; padding: 14px 92px 14px 16px; }
.l2g-cause-tile-logo { width: 56px; height: 56px; border-radius: 13px; }
.l2g-cause-tile-name { font-size: 15px; line-height: 1.3; }
.l2g-cause-tile-check {
    width: 30px; height: 30px; border-width: 2px; font-size: 18px; line-height: 1;
}
.l2g-cause-tile-option-wrap:has(input:checked) .l2g-cause-tile-check {
    box-shadow: 0 3px 10px rgba(23,182,232,.2);
}
.l2g-cause-equal-last-option { grid-template-columns: 52px minmax(0,1fr) 30px; padding: 16px 18px; }
.l2g-cause-equal-last-icon { width: 52px; height: 52px; }
.l2g-cause-equal-last-option strong { font-size: 15px; }
.l2g-cause-equal-last-option small { font-size: 13px; }

/* Isolate cause modal controls from Elementor/theme button states. */
.l2g-app button.l2g-cause-tile-info {
    -webkit-appearance: none !important; appearance: none !important;
    position: absolute; right: 14px; bottom: 14px;
    width: auto !important; min-width: 0 !important; min-height: 0 !important;
    margin: 0 !important; padding: 4px 0 !important;
    border: 0 !important; border-radius: 0 !important;
    background: transparent !important; color: var(--l2g-blue) !important;
    box-shadow: none !important; font-size: 12px !important; font-weight: 800 !important;
    line-height: 1.2 !important; text-transform: none !important; letter-spacing: normal !important;
}
.l2g-app button.l2g-cause-tile-info:hover,
.l2g-app button.l2g-cause-tile-info:focus,
.l2g-app button.l2g-cause-tile-info:active {
    border: 0 !important; background: transparent !important; color: #098fc0 !important;
    box-shadow: none !important; outline: none !important; text-decoration: underline;
}
.l2g-app button.l2g-benefit-modal-backdrop {
    -webkit-appearance: none !important; appearance: none !important;
    position: absolute !important; inset: 0 !important; width: 100% !important; height: 100% !important;
    margin: 0 !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important;
    background: rgba(10,42,94,.48) !important; box-shadow: none !important;
}
.l2g-app button.l2g-benefit-modal-backdrop:hover,
.l2g-app button.l2g-benefit-modal-backdrop:focus,
.l2g-app button.l2g-benefit-modal-backdrop:active { background: rgba(10,42,94,.48) !important; box-shadow: none !important; }
.l2g-app button.l2g-benefit-modal-close {
    -webkit-appearance: none !important; appearance: none !important;
    width: 44px !important; height: 44px !important; min-width: 44px !important; min-height: 44px !important;
    margin: 0 !important; padding: 0 !important; border: 1px solid #DDE5ED !important;
    border-radius: 50% !important; background: #F8FAFC !important; color: var(--l2g-navy) !important;
    box-shadow: none !important; font-size: 28px !important; line-height: 1 !important;
}
.l2g-app button.l2g-benefit-modal-close:hover,
.l2g-app button.l2g-benefit-modal-close:focus,
.l2g-app button.l2g-benefit-modal-close:active { background: #EEF8FC !important; border-color: #B9DDEA !important; color: var(--l2g-navy) !important; }
.l2g-benefit-modal-panel { width: min(620px, 94vw); }
.l2g-benefit-modal-head {
    display: flex; align-items: flex-start; justify-content: space-between; gap: 18px;
    padding: 24px 26px 20px; border-bottom: 1px solid #E7EDF3; background: #fff;
}
.l2g-benefit-modal-head .l2g-eyebrow { margin: 0 0 5px; }
.l2g-benefit-modal-head h2 { margin: 0; color: var(--l2g-navy); font-size: 28px; line-height: 1.15; }
.l2g-benefit-modal-body { min-height: 0; padding: 24px 26px 34px; overflow-y: auto; color: var(--l2g-text); font-size: 15px; line-height: 1.65; }
.l2g-benefit-modal-body > :first-child { margin-top: 0; }
.l2g-benefit-modal-body .l2g-button { margin-top: 10px; }

/* Payment/signup spacing */
.l2g-payment-security-note { display: block; margin-top: 20px !important; }

/* Clean data tables */
.l2g-table-panel { overflow: hidden; }
.l2g-table-wrap {
    overflow-x: auto; border: 1px solid #DCE5EB; border-radius: 14px; background: #fff;
}
.l2g-table { border-collapse: separate; border-spacing: 0; min-width: 720px; background: #fff; }
.l2g-table th,
.l2g-table td { padding: 16px 16px; border: 0; border-bottom: 1px solid #E2E9EE; vertical-align: middle; }
.l2g-table th { background: #F7FAFC; color: #5F7186; font-weight: 800; text-transform: uppercase; }
.l2g-table tbody tr:last-child td { border-bottom: 0; }
.l2g-table tbody tr { transition: background .15s ease; }
.l2g-table tbody tr:hover { background: #FAFCFD; }
.l2g-table td strong { color: var(--l2g-navy); }
.l2g-table td code { display: inline-block; padding: 4px 7px; border-radius: 7px; background: #F2F5F7; color: #33485D; font-size: 12px; overflow-wrap: anywhere; }
.l2g-status { padding: 7px 11px; font-size: 12px; line-height: 1.1; white-space: nowrap; }
.l2g-status-danger { background: #FDECEA !important; color: #B33D34 !important; }
.l2g-status-pending { background: #EAF8FB !important; color: #08738A !important; }
.l2g-status-success { background: #EAF7EE !important; color: #287344 !important; }
.l2g-status-warning { background: #FFF4DA !important; color: #8A6500 !important; }
.l2g-payment-failure-reason { display: block; margin-top: 7px !important; max-width: 320px; color: #A43C34 !important; font-weight: 650; line-height: 1.4; }

/* Members filters */
.l2g-member-filter-panel { padding: 20px; }
.l2g-member-filter-form { gap: 12px; }
.l2g-member-filter-form label > span { display: block; margin-bottom: 7px; color: var(--l2g-navy); font-weight: 750; }
.l2g-member-filter-form input,
.l2g-member-filter-form select { min-height: 48px; border-radius: 11px; }
.l2g-member-filter-result { margin-top: 13px; }

/* Referral account form behaviour */
.l2g-referrer-conditional[hidden] { display: none !important; }

@media (max-width: 640px) {
    .l2g-cause-category-tile-head h2 { font-size: 18px; }
    .l2g-cause-tile-option { grid-template-columns: 50px minmax(0,1fr) 28px; min-height: 80px; padding: 12px 80px 12px 12px; }
    .l2g-cause-tile-logo { width: 50px; height: 50px; }
    .l2g-cause-tile-name { font-size: 14px; }
    .l2g-benefit-modal-panel { width: 100%; }
    .l2g-benefit-modal-head { padding: 20px 18px 16px; }
    .l2g-benefit-modal-head h2 { font-size: 24px; }
    .l2g-benefit-modal-body { padding: 20px 18px 28px; }
}
.l2g-referral-stats { grid-template-columns: repeat(3,minmax(0,1fr)); }
@media (max-width: 920px) { .l2g-referral-stats { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 560px) { .l2g-referral-stats { grid-template-columns: 1fr; } }

/* =========================================================
   v0.6.1 - responsive type, refined tables, campaigns + premium email UI
   ========================================================= */

/* Responsive type scale: readable in demos without desktop zoom, but still compact on phones. */
.l2g-app {
    --l2g-type-body: clamp(16px, calc(14.8px + .22vw), 18px);
    --l2g-type-copy: clamp(15px, calc(14px + .18vw), 17px);
    --l2g-type-small: clamp(12px, calc(11.4px + .14vw), 14px);
    --l2g-type-label: clamp(13px, calc(12.4px + .14vw), 15px);
    font-size: var(--l2g-type-body);
}
.l2g-app p,
.l2g-app li,
.l2g-app .l2g-detail-row,
.l2g-app .l2g-empty p,
.l2g-app .l2g-panel p { font-size: var(--l2g-type-copy) !important; line-height: 1.58; }
.l2g-app label > span,
.l2g-app .l2g-field-help,
.l2g-app .l2g-form-note,
.l2g-app .l2g-table td small,
.l2g-app .l2g-referral-locked small,
.l2g-app .l2g-referral-locked code { font-size: var(--l2g-type-small) !important; }
.l2g-app label > span { font-size: var(--l2g-type-label) !important; }
.l2g-app input,
.l2g-app select,
.l2g-app textarea,
.l2g-app button { font-size: clamp(15px, calc(14.2px + .16vw), 17px); }
.l2g-app .l2g-button { font-size: clamp(14px, calc(13.4px + .13vw), 16px); }
.l2g-app .l2g-section-head h2 { font-size: clamp(21px, calc(19px + .35vw), 25px); }
.l2g-app .l2g-section-head p { margin-top: 5px; }

/* Mobile input refinement. */
.l2g-mobile-input-wrap {
    display: grid !important;
    grid-template-columns: auto minmax(0,1fr);
    align-items: stretch;
    overflow: hidden;
    min-height: 50px;
    margin-top: 7px;
    border: 1px solid #d7e1e9;
    border-radius: 11px;
    background: #fff;
    transition: border-color .15s ease, box-shadow .15s ease;
}
.l2g-mobile-input-wrap:focus-within { border-color: var(--l2g-blue); box-shadow: 0 0 0 3px rgba(23,182,232,.12); }
.l2g-mobile-country {
    display: grid !important;
    place-items: center;
    min-width: 54px;
    padding: 0 12px;
    border-right: 1px solid #e3eaf0;
    background: #f6fafc;
    color: var(--l2g-navy) !important;
    font-size: 12px !important;
    font-weight: 900;
    letter-spacing: .08em;
}
.l2g-mobile-input-wrap input[type="tel"] {
    width: 100%;
    min-height: 48px;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
}

/* Consistent select arrow + right padding throughout member, referral, management and ACF forms. */
.l2g-app select,
.l2g-app .acf-input select:not([multiple]) {
    -webkit-appearance: none !important;
    appearance: none !important;
    padding-right: 48px !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='8' viewBox='0 0 14 8'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%230A2A5E' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 17px center !important;
    background-size: 12px 7px !important;
}

/* Cleaner cause selection indicator. */
.l2g-cause-tile-check,
.l2g-cause-compact-check {
    position: relative;
    flex: 0 0 auto;
    font-size: 0 !important;
    line-height: 0 !important;
}
.l2g-cause-tile-check::after,
.l2g-cause-compact-check::after {
    content: "";
    width: 7px;
    height: 12px;
    border: solid #fff;
    border-width: 0 3px 3px 0;
    transform: rotate(45deg) translate(-1px,-1px);
    opacity: 0;
}
.l2g-cause-tile-option-wrap:has(input:checked) .l2g-cause-tile-check::after,
.l2g-cause-equal-last-option:has(input:checked) .l2g-cause-compact-check::after { opacity: 1; }
.l2g-cause-tile-option-wrap:has(input:checked) .l2g-cause-tile-check {
    width: 30px;
    height: 30px;
    border: 0;
    background: var(--l2g-blue);
    box-shadow: 0 4px 12px rgba(23,182,232,.25);
}
.l2g-cause-tile-option:has(input:focus-visible) .l2g-cause-tile-check { outline: 3px solid rgba(23,182,232,.22); outline-offset: 3px; }

/* Refined table system: crisp header, strong primary line, quiet subline, clean status. */
.l2g-table-wrap {
    border: 1px solid #dce5eb !important;
    border-radius: 14px !important;
    background: #fff;
    box-shadow: 0 10px 28px rgba(10,42,94,.035);
}
.l2g-table {
    width: 100%;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    font-size: clamp(14px, calc(13.3px + .16vw), 16px) !important;
}
.l2g-table th {
    padding: 14px 16px !important;
    border-bottom: 1px solid #dce5eb !important;
    background: #f7fafc !important;
    color: #53677c !important;
    font-size: clamp(11px, calc(10.7px + .08vw), 12px) !important;
    font-weight: 900 !important;
    letter-spacing: .055em !important;
    text-transform: uppercase !important;
    white-space: nowrap;
}
.l2g-table td {
    padding: 16px !important;
    border-bottom: 1px solid #e4ebf0 !important;
    background: #fff !important;
    color: #20334a;
    vertical-align: middle !important;
}
.l2g-table tbody tr:last-child td { border-bottom: 0 !important; }
.l2g-table tbody tr:hover td { background: #fbfdfe !important; }
.l2g-table td > strong,
.l2g-table td a > strong { display: block; color: var(--l2g-navy); font-weight: 800; }
.l2g-table td > small,
.l2g-table td a + small {
    display: block;
    margin-top: 4px;
    color: #6f8092 !important;
    line-height: 1.35;
}
.l2g-status {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 6px 11px !important;
    border-radius: 999px !important;
    font-size: 12px !important;
    font-weight: 800 !important;
}
.l2g-payment-failure-diagnostic { display:block; margin-top:4px!important; color:#6f8092!important; font-size:11px!important; }

/* Consistent panel rhythm for newly added modules. */
.l2g-content-status-panel + .l2g-promo-validation-panel,
.l2g-promo-validation-panel + .l2g-acf-panel,
.l2g-rep-preview-picker + .l2g-referral-stats,
.l2g-campaign-create-panel + .l2g-panel,
.l2g-campaign-create-panel + .l2g-campaign-grid { margin-top: 22px; }
.l2g-promo-validation-panel { padding: clamp(20px, 2.4vw, 28px); }
.l2g-promo-validation-panel h2 { margin: 3px 0 16px; }
.l2g-promo-validation-panel > p:last-child { margin: 16px 0 0; color: #647589; }

/* Promo offer quick-check blocks. */
.l2g-promo-tier-checks {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 10px;
}
.l2g-promo-tier-checks > div {
    min-width: 0;
    padding: 14px;
    border: 1px solid #dce6ed;
    border-radius: 12px;
    background: #f8fbfd;
}
.l2g-promo-tier-checks span { display:block; margin-bottom:5px; color:var(--l2g-blue); font-size:11px; font-weight:900; letter-spacing:.06em; text-transform:uppercase; }
.l2g-promo-tier-checks strong { display:block; color:var(--l2g-navy); font-size:14px; line-height:1.45; }

/* Strong isolation from Elementor/theme button styling for admin/ACF controls. */
.l2g-app input.l2g-acf-submit,
.l2g-app .acf-form-submit input[type="submit"],
.l2g-app button.l2g-mini-button,
.l2g-app button.l2g-campaign-status-form,
.l2g-app button[data-l2g-copy] {
    -webkit-appearance: none !important;
    appearance: none !important;
    font-family: inherit !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    box-shadow: none !important;
}
.l2g-app input.l2g-acf-submit,
.l2g-app .acf-form-submit input[type="submit"] {
    min-height: 46px !important;
    padding: 11px 18px !important;
    border: 1px solid var(--l2g-navy) !important;
    border-radius: 10px !important;
    background: var(--l2g-navy) !important;
    color: #fff !important;
    font-size: 14px !important;
    font-weight: 800 !important;
}
.l2g-app input.l2g-acf-submit:hover,
.l2g-app .acf-form-submit input[type="submit"]:hover { background:#123b72!important; border-color:#123b72!important; color:#fff!important; }
.l2g-app button.l2g-mini-button { background:#fff!important; color:var(--l2g-navy)!important; border:1px solid #d4dfe8!important; border-radius:8px!important; padding:7px 10px!important; }

/* Referral portal redesign. */
.l2g-referral-hero {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 22px;
    padding: clamp(22px,3vw,32px);
    border: 1px solid #dce6ee;
    border-radius: 18px;
    background: linear-gradient(135deg,#ffffff 0%,#f7fbfd 100%);
    box-shadow: 0 14px 36px rgba(10,42,94,.045);
}
.l2g-referral-hero h1 { margin:0; color:var(--l2g-navy); font-size:clamp(30px,calc(25px + 1.2vw),46px); line-height:1.05; }
.l2g-referral-hero > div > p:last-child { max-width:760px; margin:9px 0 0; color:#65778b; }
.l2g-referral-hero-title { display:flex; align-items:center; gap:12px; flex-wrap:wrap; }
.l2g-referral-hero-title > span { padding:6px 10px; border-radius:999px; background:#eaf6fb; color:#176b91; font-size:12px; font-weight:800; }
.l2g-referral-hero-actions { display:flex; gap:9px; flex-wrap:wrap; justify-content:flex-end; }
.l2g-panel-compact { padding:16px 18px; }
.l2g-referral-stats-primary { grid-template-columns:repeat(4,minmax(0,1fr))!important; margin-bottom:30px; }
.l2g-referral-stats-primary .l2g-overview-stat { min-height:118px; }
.l2g-referral-stats-primary .l2g-overview-stat small { font-size:12px!important; }
.l2g-referral-stats-primary .l2g-overview-stat strong { font-size:clamp(24px,calc(21px + .5vw),30px); }
.l2g-referral-stats-primary .l2g-overview-stat span { display:block; margin-top:6px; color:#718296; font-size:12px; line-height:1.35; }
.l2g-referral-stats-primary .l2g-overview-stat.is-highlight { border-color:#cde8d5; background:#f5fbf7; }
.l2g-referral-link-grid { display:grid; grid-template-columns:minmax(0,1fr); gap:16px; }
.l2g-referral-link-card { display:grid; grid-template-columns:minmax(0,1fr) minmax(380px,.9fr); gap:24px; align-items:center; }
.l2g-referral-card-kicker { display:block; margin-bottom:6px; color:var(--l2g-blue); font-size:11px; font-weight:900; letter-spacing:.07em; text-transform:uppercase; }
.l2g-referral-link-copy h3,
.l2g-campaign-card h3 { margin:0 0 7px; color:var(--l2g-navy); font-size:20px; }
.l2g-referral-link-copy p { margin:0!important; color:#68798d!important; }
.l2g-referral-link-tools { display:grid; grid-template-columns:118px minmax(0,1fr); gap:14px; align-items:center; }
.l2g-rep-qr-small { padding:8px; }
.l2g-rep-qr-small img { width:100px!important; height:100px!important; }
.l2g-rep-qr-mini { padding:7px; }
.l2g-rep-qr-mini img { width:84px!important; height:84px!important; }
.l2g-referral-link-actions { display:grid; gap:9px; }
.l2g-referral-link-actions > div:last-child { display:flex; gap:8px; flex-wrap:wrap; }
.l2g-referral-locked { padding:10px 12px; }
.l2g-referral-locked code { font-size:12px!important; }

/* Organisation campaigns. */
.l2g-campaign-create-panel { padding:18px 20px; }
.l2g-campaign-create-form { display:grid; grid-template-columns:minmax(260px,1fr) auto; gap:12px; align-items:end; }
.l2g-campaign-create-form label { margin:0; }
.l2g-campaign-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
.l2g-campaign-card { display:grid; gap:16px; }
.l2g-campaign-card.is-inactive { opacity:.72; }
.l2g-campaign-card-head { display:flex; align-items:flex-start; justify-content:space-between; gap:14px; }
.l2g-campaign-card-head code { display:inline-block; margin-top:3px; padding:4px 7px; border-radius:7px; background:#f1f5f8; color:#42566a; font-size:11px; }
.l2g-campaign-metrics { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; }
.l2g-campaign-metrics > div { padding:11px; border:1px solid #e1e9ee; border-radius:10px; background:#fafcfd; }
.l2g-campaign-metrics span { display:block; color:#748599; font-size:11px; }
.l2g-campaign-metrics strong { display:block; margin-top:3px; color:var(--l2g-navy); font-size:17px; }
.l2g-campaign-share { display:grid; grid-template-columns:100px minmax(0,1fr); gap:12px; align-items:center; }
.l2g-campaign-status-form { margin:0; }

@media (max-width: 1050px) {
    .l2g-referral-stats-primary { grid-template-columns:repeat(2,minmax(0,1fr))!important; }
    .l2g-referral-link-card { grid-template-columns:1fr; }
    .l2g-campaign-grid { grid-template-columns:1fr; }
}
@media (max-width: 760px) {
    .l2g-referral-hero { flex-direction:column; }
    .l2g-referral-hero-actions { width:100%; justify-content:flex-start; }
    .l2g-referral-hero-actions .l2g-button { flex:1 1 auto; justify-content:center; }
    .l2g-referral-link-tools { grid-template-columns:1fr; }
    .l2g-rep-qr-small { width:118px; }
    .l2g-campaign-create-form { grid-template-columns:1fr; }
    .l2g-promo-tier-checks { grid-template-columns:1fr; }
}
@media (max-width: 560px) {
    .l2g-referral-stats-primary { grid-template-columns:1fr!important; }
    .l2g-campaign-share { grid-template-columns:1fr; }
    .l2g-rep-qr-mini { width:100px; }
    .l2g-referral-link-actions > div:last-child { display:grid; grid-template-columns:1fr; }
    .l2g-referral-link-actions .l2g-button { width:100%; justify-content:center; }
}

/* Select2 / ACF selector arrow breathing room. */
.l2g-app .select2-container--default .select2-selection--single {
    min-height: 46px;
    padding: 8px 46px 8px 12px;
    border: 1px solid #d7e1e9;
    border-radius: 10px;
}
.l2g-app .select2-container--default .select2-selection--single .select2-selection__rendered { padding: 0; line-height: 28px; color: #20334a; }
.l2g-app .select2-container--default .select2-selection--single .select2-selection__arrow { right: 13px; width: 24px; height: 44px; }

/* Refined filter bar layout. */
.l2g-member-filter-panel { padding: 18px 20px !important; }
.l2g-member-filter-form input,
.l2g-member-filter-form select {
    min-height: 48px;
    border: 1px solid #d7e1e9;
    border-radius: 10px;
    background-color: #fff;
}
.l2g-member-filter-form input:focus,
.l2g-member-filter-form select:focus { border-color: var(--l2g-blue); box-shadow: 0 0 0 3px rgba(23,182,232,.10); outline: 0; }
.l2g-member-filter-actions { padding-bottom: 1px; }
.l2g-member-filter-result { padding-top: 2px; }

/* Management forms inside tables should stay compact and intentional. */
.l2g-member-admin-form input[type="text"] { min-height: 40px; padding: 8px 10px; font-size: 12px; }
.l2g-admin-action-buttons { gap: 7px; }
.l2g-reset-test-member { min-height: 38px; padding: 7px 10px; border: 1px solid #e4b7b2; border-radius: 8px; background:#fff7f6; color:#a43c34; font:inherit; font-size:12px; font-weight:800; }

/* =========================================================
   v0.6.2 - cause selection + organisation campaign/rep refinement
   ========================================================= */
/* Remove the custom check glyph entirely. Selection is communicated by the
   card treatment and native radio semantics. */
.l2g-cause-tile-option { grid-template-columns: 56px minmax(0,1fr) !important; padding-right: 92px !important; }
.l2g-cause-equal-last-option { grid-template-columns: 52px minmax(0,1fr) !important; }
.l2g-cause-tile-option-wrap:has(input:checked) {
    background: #eefaff !important;
    box-shadow: inset 4px 0 0 var(--l2g-blue), 0 0 0 2px rgba(23,182,232,.08) !important;
}
.l2g-cause-tile-option-wrap:has(input:focus-visible) {
    outline: 3px solid rgba(23,182,232,.18);
    outline-offset: -3px;
}
.l2g-cause-equal-last-option:has(input:checked) {
    border-color: var(--l2g-green) !important;
    background: #f0f9f2 !important;
    box-shadow: inset 4px 0 0 var(--l2g-green), 0 0 0 2px rgba(122,182,72,.08) !important;
}

/* Referral portal rhythm and campaign form. */
.l2g-referral-hero { margin-bottom: 24px; }
.l2g-referral-stats-primary { margin-bottom: 30px; }
.l2g-referral-link-grid { margin-bottom: 30px; }
.l2g-referral-hero ~ .l2g-section-head { margin-top: 30px; margin-bottom: 12px; }
.l2g-campaign-create-panel { padding: 22px 24px; margin-bottom: 18px; }
.l2g-campaign-create-form {
    display: grid;
    grid-template-columns: minmax(260px,1.25fr) minmax(240px,.9fr) auto;
    gap: 16px;
    align-items: end;
}
.l2g-campaign-create-form label { display:grid; gap:7px; }
.l2g-campaign-create-form .l2g-field-help { margin-top:0; }
.l2g-guidance-strip,
.l2g-org-rep-guide,
.l2g-commission-guide {
    display: grid;
    gap: 4px;
    margin-top: 16px;
    padding: 13px 15px;
    border: 1px solid #d9e7ee;
    border-radius: 12px;
    background: #f7fbfd;
}
.l2g-guidance-strip strong,
.l2g-org-rep-guide strong,
.l2g-commission-guide strong { color: var(--l2g-navy); font-size: 13px; }
.l2g-guidance-strip span,
.l2g-org-rep-guide span,
.l2g-commission-guide span { color: #67798d; font-size: 13px; line-height: 1.45; }
.l2g-guidance-strip code { padding:2px 5px; border-radius:5px; background:#eef3f6; color:var(--l2g-navy); }
.l2g-campaign-grid { grid-template-columns: repeat(auto-fit,minmax(min(100%,460px),1fr)); gap: 18px; margin-bottom: 28px; }
.l2g-campaign-card { padding: 22px; }
.l2g-campaign-code { display:flex; align-items:center; gap:8px; flex-wrap:wrap; margin-top:8px; }
.l2g-campaign-code span { color:#718296; font-size:11px; font-weight:800; text-transform:uppercase; letter-spacing:.06em; }
.l2g-campaign-code code { margin-top:0 !important; font-size:13px !important; font-weight:800; }
.l2g-rep-preload-launch { margin: 30px 0; padding: 22px 24px; }

/* Organisation-managed representatives. */
.l2g-org-rep-create-panel { padding: 22px 24px; margin-bottom: 18px; }
.l2g-org-rep-create-form { display:grid; gap:18px; }
.l2g-org-rep-fields { grid-template-columns: repeat(2,minmax(0,1fr)); }
.l2g-org-rep-share-field { grid-column: 1 / -1; max-width: 430px; }
.l2g-org-rep-guide { margin-top:0; margin-bottom:18px; border-color:#cfe8d7; background:#f6fbf7; }
.l2g-commission-guide { margin-top:0; border-color:#d5e7ef; }
.l2g-commission-guide.is-compact { padding:9px 10px; margin:0; }
.l2g-commission-guide.is-compact strong,
.l2g-commission-guide.is-compact span { font-size:11px; }
.l2g-org-rep-inline-form { display:grid; gap:9px; min-width:260px; }
.l2g-org-rep-inline-form label { display:grid; gap:4px; }
.l2g-org-rep-inline-form label > span { font-size:11px; font-weight:800; color:#617489; }
.l2g-org-rep-inline-form input[type="text"],
.l2g-org-rep-inline-form input[type="number"] { min-height:40px; padding:8px 10px; font-size:13px; }

@media (max-width: 980px) {
    .l2g-campaign-create-form { grid-template-columns: 1fr 1fr; }
    .l2g-campaign-create-form .l2g-button { grid-column: 1 / -1; width: fit-content; }
}
@media (max-width: 720px) {
    .l2g-campaign-create-form,
    .l2g-org-rep-fields { grid-template-columns: 1fr; }
    .l2g-org-rep-share-field { grid-column: auto; max-width:none; }
    .l2g-campaign-create-form .l2g-button { width:100%; }
    .l2g-referral-hero,
    .l2g-referral-stats-primary,
    .l2g-referral-link-grid { margin-bottom:22px; }
    .l2g-referral-hero ~ .l2g-section-head { margin-top:24px; }
}
.l2g-campaign-code-edit-form { display:grid; grid-template-columns:minmax(180px,1fr) auto; gap:10px; align-items:end; padding-top:14px; border-top:1px solid #e5edf2; }
.l2g-campaign-code-edit-form label { display:grid; gap:5px; }
.l2g-campaign-code-edit-form label > span { color:#617489; font-size:11px; font-weight:800; }
.l2g-campaign-code-edit-form input { min-height:40px; padding:8px 10px; font-size:13px; }
.l2g-campaign-code-edit-form > small { grid-column:1/-1; color:#7a8998; font-size:11px; line-height:1.4; }
@media (max-width:640px){.l2g-campaign-code-edit-form{grid-template-columns:1fr}.l2g-campaign-code-edit-form .l2g-mini-button{width:100%}}


/* =========================================================
   v0.6.3 - Referral Portal input polish + campaign archiving
   ========================================================= */
/* Keep all Referral Portal fields visually consistent without affecting
   checkboxes, radios or the specialist mobile-number wrapper. */
.l2g-is-rep .l2g-main input[type="text"],
.l2g-is-rep .l2g-main input[type="email"],
.l2g-is-rep .l2g-main input[type="number"],
.l2g-is-rep .l2g-main input[type="tel"],
.l2g-is-rep .l2g-main input[type="url"],
.l2g-is-rep .l2g-main input[type="password"],
.l2g-is-rep .l2g-main input[type="date"],
.l2g-is-rep .l2g-main select,
.l2g-is-rep .l2g-main textarea {
    width: 100%;
    min-height: 48px;
    padding: 10px 13px;
    border: 1px solid #d5e0e8;
    border-radius: 11px;
    background-color: #fff;
    color: #20334a;
    box-shadow: 0 1px 2px rgba(10,42,94,.025);
    transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.l2g-is-rep .l2g-main textarea { min-height: 108px; resize: vertical; }
.l2g-is-rep .l2g-main input::placeholder,
.l2g-is-rep .l2g-main textarea::placeholder { color: #94a2b1; opacity: 1; }
.l2g-is-rep .l2g-main input[type="text"]:focus,
.l2g-is-rep .l2g-main input[type="email"]:focus,
.l2g-is-rep .l2g-main input[type="number"]:focus,
.l2g-is-rep .l2g-main input[type="tel"]:focus,
.l2g-is-rep .l2g-main input[type="url"]:focus,
.l2g-is-rep .l2g-main input[type="password"]:focus,
.l2g-is-rep .l2g-main input[type="date"]:focus,
.l2g-is-rep .l2g-main select:focus,
.l2g-is-rep .l2g-main textarea:focus {
    outline: 0;
    border-color: var(--l2g-blue);
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(23,182,232,.10);
}
.l2g-is-rep .l2g-main label > span { display:block; margin-bottom:6px; color:#53687d; font-weight:750; }
.l2g-is-rep .l2g-main .l2g-field-help { display:block; margin-top:6px; color:#7b8b9b; }

/* Specialist compound fields retain their own border treatment. */
.l2g-is-rep .l2g-main .l2g-money-input input,
.l2g-is-rep .l2g-main .l2g-mobile-input-wrap input { border:0 !important; border-radius:0 !important; box-shadow:none !important; }
.l2g-is-rep .l2g-main .l2g-money-input { min-height:48px; border-color:#d5e0e8; border-radius:11px; }
.l2g-is-rep .l2g-main .l2g-money-input:focus-within { border-color:var(--l2g-blue); box-shadow:0 0 0 3px rgba(23,182,232,.10); }

/* More breathing room around QR-code link actions. */
.l2g-is-rep .l2g-referral-link-tools { gap: 18px; }
.l2g-is-rep .l2g-referral-link-actions { gap: 11px; }
.l2g-is-rep .l2g-referral-link-actions > div:last-child,
.l2g-is-rep .l2g-campaign-share .l2g-inline-actions { gap: 10px; margin-top: 10px; }
.l2g-is-rep .l2g-campaign-share { gap: 16px; }
.l2g-is-rep .l2g-rep-qr { flex: 0 0 auto; }

/* Paused campaigns expose archive as a second, non-destructive lifecycle step. */
.l2g-campaign-management-actions { display:flex; align-items:center; gap:9px; flex-wrap:wrap; }
.l2g-campaign-management-actions form { margin:0; }
.l2g-mini-button.is-muted { border-color:#d9e1e7; background:#f7f9fb; color:#5f7184; }
.l2g-mini-button.is-muted:hover { border-color:#c5d1da; background:#eef3f6; color:var(--l2g-navy); }

.l2g-archived-campaigns { margin: -6px 0 30px; padding: 0; overflow:hidden; }
.l2g-archived-campaigns > summary {
    display:flex; align-items:center; justify-content:space-between; gap:12px;
    padding:16px 20px; cursor:pointer; color:var(--l2g-navy); font-weight:800; list-style:none;
}
.l2g-archived-campaigns > summary::-webkit-details-marker { display:none; }
.l2g-archived-campaigns > summary span { margin-right:auto; }
.l2g-archived-campaigns > summary::after { content:'+'; color:#718296; font-size:20px; line-height:1; }
.l2g-archived-campaigns[open] > summary::after { content:'–'; }
.l2g-archived-campaigns > summary strong { min-width:28px; padding:4px 8px; border-radius:999px; background:#eef3f6; color:#617489; text-align:center; font-size:12px; }
.l2g-archived-campaign-list { border-top:1px solid #e6edf2; }
.l2g-archived-campaign-row { display:grid; grid-template-columns:minmax(220px,1.6fr) repeat(4,minmax(90px,.6fr)); gap:14px; align-items:center; padding:15px 20px; border-bottom:1px solid #edf2f5; }
.l2g-archived-campaign-row:last-child { border-bottom:0; }
.l2g-archived-campaign-row h3 { margin:0 0 5px; color:var(--l2g-navy); font-size:15px; }
.l2g-archived-campaign-row code { display:inline-block; padding:3px 6px; border-radius:6px; background:#f2f5f7; color:#53687d; font-size:11px; }
.l2g-archived-campaign-row span { display:block; margin-bottom:3px; color:#7a8998; font-size:10px; font-weight:800; text-transform:uppercase; letter-spacing:.04em; }
.l2g-archived-campaign-row strong { color:#31475d; font-size:13px; }
.l2g-archived-campaign-note { margin:0 !important; padding:13px 20px 16px; border-top:1px solid #edf2f5; color:#758698 !important; font-size:12px !important; }

@media (max-width: 760px) {
    .l2g-archived-campaign-row { grid-template-columns:1fr 1fr; }
    .l2g-archived-campaign-row > div:first-child { grid-column:1/-1; }
    .l2g-campaign-management-actions { align-items:stretch; flex-direction:column; }
    .l2g-campaign-management-actions .l2g-mini-button { width:100%; }
}
