/* Unified BMM Points dashboard */
.bmps-dashboard,
.bmps-dashboard-login {
	--bmps-bg: var(--bmm-ui-page, #f6f8f6);
	--bmps-surface: var(--bmm-ui-surface, #ffffff);
	--bmps-surface-soft: var(--bmm-ui-surface-muted, #f1f5f1);
	--bmps-surface-strong: var(--bmm-ui-surface-strong, #e8efe8);
	--bmps-border: var(--bmm-ui-border, #dce5dc);
	--bmps-border-strong: var(--bmm-ui-border-strong, #c4d2c4);
	--bmps-title: var(--bmm-ui-title, #122116);
	--bmps-text: var(--bmm-ui-text, #2b3d30);
	--bmps-muted: var(--bmm-ui-muted, #64736a);
	--bmps-green: var(--bmm-ui-green-strong, #24752d);
	--bmps-green-bright: var(--bmm-ui-green, #32a442);
	--bmps-green-soft: var(--bmm-ui-green-soft, #e5f4e7);
	--bmps-green-border: var(--bmm-ui-green-border, #a8d5ae);
	--bmps-red: #bd3b3b;
	--bmps-red-soft: #fbe9e9;
	--bmps-gold: #c78b08;
	--bmps-claimed-bg: #ffffff;
	--bmps-shadow: 0 16px 42px rgba(22, 50, 27, 0.08);
	--bmps-shadow-soft: 0 7px 22px rgba(22, 50, 27, 0.06);
	color: var(--bmps-text);
	font-family: inherit;
}

html.dark-mode .bmps-dashboard,
body.dark-mode .bmps-dashboard,
html.dark-mode .bmps-dashboard-login,
body.dark-mode .bmps-dashboard-login {
	--bmps-bg: #111512;
	--bmps-surface: #191f1a;
	--bmps-surface-soft: #202821;
	--bmps-surface-strong: #273128;
	--bmps-border: #303b31;
	--bmps-border-strong: #435045;
	--bmps-title: #f1f7f2;
	--bmps-text: #d7e1d8;
	--bmps-muted: #a5b2a7;
	--bmps-green: #75dc7d;
	--bmps-green-bright: #54c961;
	--bmps-green-soft: rgba(73, 177, 83, 0.15);
	--bmps-green-border: rgba(105, 208, 115, 0.36);
	--bmps-red: #ff8a8a;
	--bmps-red-soft: rgba(217, 71, 71, 0.14);
	--bmps-gold: #f0bd52;
	--bmps-claimed-bg: #242d25;
	--bmps-shadow: 0 18px 48px rgba(0, 0, 0, 0.24);
	--bmps-shadow-soft: 0 8px 26px rgba(0, 0, 0, 0.18);
}

.bmps-dashboard {
	position: relative;
	width: min(100%, 1240px);
	margin: 0 auto 40px;
	background: var(--bmps-bg);
	border: 0;
	border-radius: 18px;
	box-shadow: var(--bmps-shadow);
	overflow: hidden;
}

.bmps-dashboard *,
.bmps-dashboard *::before,
.bmps-dashboard *::after {
	box-sizing: border-box;
}

.bmps-dashboard button,
.bmps-dashboard input,
.bmps-dashboard select {
	font: inherit;
}

.bmps-dashboard button,
.bmps-dashboard a {
	-webkit-tap-highlight-color: transparent;
}

.bmps-dashboard button:focus-visible,
.bmps-dashboard a:focus-visible,
.bmps-dashboard input:focus-visible,
.bmps-dashboard select:focus-visible,
.bmps-dashboard summary:focus-visible {
	outline: 3px solid var(--bmps-green-bright);
	outline-offset: 2px;
}

.bmps-dashboard__hero {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	min-height: 106px;
	padding: 10px 30px;
	background: var(--bmps-surface);
	border-bottom: 1px solid var(--bmps-border);
	color: var(--bmps-text);
	position: relative;
	overflow: hidden;
}

.bmps-dashboard__hero::before,
.bmps-dashboard__hero::after {
	display: none;
}

.bmps-dashboard__hero-copy,
.bmps-dashboard__balance {
	position: relative;
	z-index: 1;
}

.bmps-dashboard__hero-copy {
	max-width: 710px;
}

.bmps-dashboard__eyebrow,
.bmps-dashboard__section-heading > div > span,
.bmps-dashboard__card-heading > div > span {
	display: block;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.13em;
	line-height: 1.2;
	text-transform: uppercase;
}

.bmps-dashboard__eyebrow {
	margin-bottom: 6px;
	color: var(--bmps-green);
}

.bmps-dashboard__hero h2 {
	margin: 0;
	color: var(--bmps-title) !important;
	font-size: clamp(23px, 2.5vw, 31px);
	font-weight: 800;
	letter-spacing: -0.035em;
	line-height: 1.08;
}

.bmps-dashboard__hero p {
	max-width: 620px;
	margin: 7px 0 0;
	color: var(--bmps-muted) !important;
	font-size: 14px;
	line-height: 1.4;
}

.bmps-dashboard__balance {
	display: grid;
	grid-template-columns: 1fr auto;
	align-items: end;
	flex: 0 0 auto;
	min-width: 205px;
	padding: 8px 14px;
	background: var(--bmps-surface-soft);
	border: 1px solid var(--bmps-border-strong);
	border-radius: 12px;
	box-shadow: none;
	text-align: left;
}

.bmps-dashboard .bmps-dashboard__hero .bmps-dashboard__balance span,
.bmps-dashboard .bmps-dashboard__hero .bmps-dashboard__balance small {
	display: block;
	color: var(--bmps-muted) !important;
	-webkit-text-fill-color: var(--bmps-muted) !important;
	font-size: 12px;
	font-weight: 650;
}

.bmps-dashboard__balance strong {
	display: block;
	grid-row: 1 / 3;
	grid-column: 2;
	margin: 0 0 0 12px;
	color: var(--bmps-title);
	font-size: clamp(30px, 3vw, 36px);
	font-variant-numeric: tabular-nums;
	font-weight: 850;
	letter-spacing: -0.05em;
	line-height: 1;
}

.bmps-dashboard__tabs {
	display: flex;
	align-items: stretch;
	gap: 3px;
	padding: 0 14px;
	background: var(--bmps-surface);
	border-bottom: 1px solid var(--bmps-border);
	overflow-x: auto;
	scrollbar-width: thin;
}

.bmps-dashboard__tabs button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	min-height: 62px;
	padding: 9px 15px;
	background: transparent;
	border: 0;
	border-bottom: 3px solid transparent;
	border-radius: 0;
	color: var(--bmps-muted);
	cursor: pointer;
	font-size: 13px;
	font-weight: 720;
	line-height: 1;
	white-space: nowrap;
}

.bmps-dashboard__tabs button:hover {
	background: var(--bmps-surface-soft);
	color: var(--bmps-title);
}

.bmps-dashboard__tabs button[aria-selected="true"],
.bmps-dashboard__tabs button.is-active {
	background: var(--bmps-green-soft) !important;
	border-bottom-color: var(--bmps-green) !important;
	color: var(--bmps-green) !important;
}

.bmps-dashboard__tabs .dashicons {
	width: 18px;
	height: 18px;
	font-size: 18px;
}

.bmps-dashboard__tabs small {
	display: inline-grid;
	place-items: center;
	min-width: 20px;
	height: 20px;
	padding: 0 5px;
	background: var(--bmps-green);
	border-radius: 999px;
	color: #ffffff !important;
	-webkit-text-fill-color: #ffffff !important;
	font-size: 10px;
	font-weight: 800;
}

.bmps-dashboard__date-toolbar {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: end;
	gap: 14px 22px;
	padding: 17px 28px;
	background: var(--bmps-surface);
	border-bottom: 1px solid var(--bmps-border);
}

.bmps-dashboard__date-toolbar[hidden] {
	display: none;
}

.bmps-dashboard__presets {
	display: flex;
	align-items: center;
	gap: 6px;
	overflow-x: auto;
	padding-bottom: 1px;
}

.bmps-dashboard__presets button,
.bmps-dashboard__chart-controls button {
	min-height: 36px;
	padding: 7px 11px;
	background: var(--bmps-surface-soft);
	border: 1px solid var(--bmps-border);
	border-radius: 8px;
	color: var(--bmps-muted);
	cursor: pointer;
	font-size: 12px;
	font-weight: 700;
	white-space: nowrap;
}

.bmps-dashboard__presets button:hover,
.bmps-dashboard__chart-controls button:hover {
	border-color: var(--bmps-green-border);
	color: var(--bmps-title);
}

.bmps-dashboard__presets button.is-active,
.bmps-dashboard__chart-controls button.is-active {
	background: var(--bmps-green-soft);
	border-color: var(--bmps-green-border);
	color: var(--bmps-green);
}

.bmps-dashboard__custom-dates {
	display: flex;
	align-items: end;
	gap: 8px;
}

.bmps-dashboard__custom-dates label,
.bmps-dashboard__activity-tools label {
	display: grid;
	gap: 4px;
	margin: 0;
}

.bmps-dashboard__custom-dates label span,
.bmps-dashboard__activity-tools label span {
	color: var(--bmps-muted);
	font-size: 10px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.bmps-dashboard__custom-dates input,
.bmps-dashboard__activity-tools select {
	min-height: 38px;
	margin: 0;
	padding: 7px 9px;
	background: var(--bmps-surface-soft);
	border: 1px solid var(--bmps-border-strong);
	border-radius: 8px;
	color: var(--bmps-title);
	font-size: 12px;
	line-height: 1.2;
}

.bmps-dashboard__custom-dates > button {
	min-height: 38px;
	padding: 8px 15px;
	background: var(--bmps-green);
	border: 1px solid var(--bmps-green);
	border-radius: 8px;
	color: #ffffff;
	cursor: pointer;
	font-size: 12px;
	font-weight: 800;
}

.bmps-dashboard__custom-dates > button:hover,
.bmps-dashboard__claim-button:hover,
.bmps-dashboard__load-more:hover {
	filter: brightness(1.09);
}

.bmps-dashboard__range-status {
	grid-column: 1 / -1;
	min-height: 0;
	margin: -5px 0 0;
	color: var(--bmps-red) !important;
	font-size: 12px;
}

.bmps-dashboard__range-status:empty {
	display: none;
}

.bmps-dashboard__range-status.is-success {
	color: var(--bmps-green) !important;
}

.bmps-dashboard__panel {
	min-height: 520px;
	padding: 31px 34px 38px;
	background: var(--bmps-bg);
}

.bmps-dashboard__panel[hidden] {
	display: none;
}

.bmps-dashboard__section-heading {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 22px;
}

.bmps-dashboard__section-heading > div > span,
.bmps-dashboard__card-heading > div > span {
	margin-bottom: 5px;
	color: var(--bmps-green);
}

.bmps-dashboard__section-heading h2,
.bmps-dashboard__card-heading h3,
.bmps-dashboard__subheading h3,
.bmps-dashboard__reward-heading h3,
.bmps-dashboard__empty h3 {
	color: var(--bmps-title) !important;
}

.bmps-dashboard__section-heading h2 {
	margin: 0;
	font-size: clamp(21px, 2.4vw, 29px);
	font-weight: 800;
	letter-spacing: -0.025em;
	line-height: 1.15;
}

.bmps-dashboard__section-heading > p {
	max-width: 440px;
	margin: 0;
	color: var(--bmps-muted) !important;
	font-size: 12px;
	line-height: 1.5;
	text-align: right;
}

.bmps-dashboard__stat-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 13px;
	margin-bottom: 19px;
}

.bmps-dashboard__stat-card {
	display: flex;
	align-items: center;
	gap: 13px;
	min-width: 0;
	padding: 17px;
	background: var(--bmps-surface);
	border: 1px solid var(--bmps-border);
	border-radius: 12px;
	box-shadow: var(--bmps-shadow-soft);
}

.bmps-dashboard__stat-card > .dashicons {
	display: grid;
	place-items: center;
	flex: 0 0 38px;
	width: 38px;
	height: 38px;
	background: var(--bmps-green-soft);
	border-radius: 10px;
	color: var(--bmps-green);
	font-size: 19px;
	line-height: 38px;
}

.bmps-dashboard__stat-card > .dashicons.is-negative {
	background: var(--bmps-red-soft);
	color: var(--bmps-red);
}

.bmps-dashboard__stat-card > div {
	display: grid;
	min-width: 0;
}

.bmps-dashboard__stat-card div > span {
	color: var(--bmps-muted);
	font-size: 11px;
	font-weight: 700;
}

.bmps-dashboard__stat-card strong {
	margin: 1px 0;
	color: var(--bmps-title);
	font-size: clamp(20px, 2.4vw, 28px);
	font-variant-numeric: tabular-nums;
	font-weight: 820;
	letter-spacing: -0.035em;
	line-height: 1.05;
}

.bmps-dashboard__stat-card small {
	color: var(--bmps-muted);
	font-size: 10px;
}

.bmps-dashboard__overview-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 17px;
}

.bmps-dashboard__card,
.bmps-dashboard__graph-card,
.bmps-dashboard__leaderboard-card {
	background: var(--bmps-surface);
	border: 1px solid var(--bmps-border);
	border-radius: 14px;
	box-shadow: var(--bmps-shadow-soft);
}

.bmps-dashboard__card {
	padding: 21px;
}

.bmps-dashboard__recent-card {
	grid-column: 1 / -1;
}

.bmps-dashboard__card-heading {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 15px;
}

.bmps-dashboard__card-heading h3 {
	margin: 0;
	font-size: 17px;
	font-weight: 780;
	line-height: 1.25;
}

.bmps-dashboard__card-heading > .dashicons {
	width: 32px;
	height: 32px;
	color: var(--bmps-green);
	font-size: 32px;
}

.bmps-dashboard__level-card > p,
.bmps-dashboard__reward-summary > p {
	margin: 12px 0 0;
	color: var(--bmps-muted) !important;
	font-size: 12px;
}

.bmps-dashboard__progress {
	height: 9px;
	margin-top: 21px;
	background: var(--bmps-surface-strong);
	border-radius: 999px;
	overflow: hidden;
}

.bmps-dashboard__progress span {
	display: block;
	height: 100%;
	background: linear-gradient(90deg, var(--bmps-green), var(--bmps-green-bright));
	border-radius: inherit;
}

.bmps-dashboard__mini-stats {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
	margin: 19px 0 14px;
}

.bmps-dashboard__mini-stats > div {
	display: grid;
	gap: 1px;
	padding: 11px 13px;
	background: var(--bmps-surface-soft);
	border-radius: 9px;
}

.bmps-dashboard__mini-stats strong {
	color: var(--bmps-title);
	font-size: 23px;
	font-weight: 820;
}

.bmps-dashboard__mini-stats span {
	color: var(--bmps-muted);
	font-size: 11px;
}

.bmps-dashboard__text-button,
.bmps-dashboard__icon-button {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 0;
	background: transparent;
	border: 0;
	color: var(--bmps-green);
	cursor: pointer;
	font-size: 12px;
	font-weight: 800;
}

.bmps-dashboard__icon-button {
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	background: var(--bmps-surface-soft);
	border: 1px solid var(--bmps-border);
	border-radius: 9px;
}

.bmps-dashboard__activity-list {
	display: grid;
	background: var(--bmps-surface);
	border: 1px solid var(--bmps-border);
	border-radius: 14px;
	box-shadow: var(--bmps-shadow-soft);
	overflow: hidden;
}

.bmps-dashboard__recent-card .bmps-dashboard__activity-list {
	margin-top: 16px;
	border: 0;
	border-radius: 0;
	box-shadow: none;
}

.bmps-dashboard__activity-item {
	display: grid;
	grid-template-columns: 38px minmax(0, 1fr) auto;
	align-items: center;
	gap: 12px;
	min-height: 70px;
	padding: 12px 17px;
	background: var(--bmps-surface);
	border-bottom: 1px solid var(--bmps-border);
}

.bmps-dashboard__activity-item:last-child {
	border-bottom: 0;
}

.bmps-dashboard__activity-icon {
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	background: var(--bmps-green-soft);
	border-radius: 50%;
	color: var(--bmps-green);
}

.bmps-dashboard__activity-icon.is-negative {
	background: var(--bmps-red-soft);
	color: var(--bmps-red);
}

.bmps-dashboard__activity-icon .dashicons {
	width: 17px;
	height: 17px;
	font-size: 17px;
}

.bmps-dashboard__activity-copy {
	display: grid;
	gap: 3px;
	min-width: 0;
}

.bmps-dashboard__activity-copy strong {
	overflow: hidden;
	color: var(--bmps-title);
	font-size: 13px;
	font-weight: 730;
	line-height: 1.35;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.bmps-dashboard__activity-copy span {
	overflow: hidden;
	color: var(--bmps-muted);
	font-size: 10px;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.bmps-dashboard__activity-points {
	color: var(--bmps-green);
	font-size: 14px;
	font-variant-numeric: tabular-nums;
	font-weight: 820;
	white-space: nowrap;
}

.bmps-dashboard__activity-points.is-negative {
	color: var(--bmps-red);
}

.bmps-dashboard__graph-card,
.bmps-dashboard__leaderboard-card {
	padding: 21px;
}

.bmps-dashboard__chart-controls {
	display: flex;
	align-items: center;
	gap: 7px;
	margin-bottom: 17px;
}

.bmps-dashboard__chart {
	position: relative;
	min-height: 350px;
	padding: 4px;
}

.bmps-dashboard__chart svg {
	display: block;
	width: 100%;
	height: auto;
	overflow: visible;
}

.bmps-dashboard__chart .grid-line {
	stroke: var(--bmps-border);
	stroke-width: 1;
	vector-effect: non-scaling-stroke;
}

.bmps-dashboard__chart .axis-label {
	fill: var(--bmps-muted);
	font-family: inherit;
	font-size: 11px;
}

.bmps-dashboard__chart .balance-area {
	fill: var(--bmps-green-soft);
}

.bmps-dashboard__chart .balance-line {
	fill: none;
	stroke: var(--bmps-green);
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 3;
	vector-effect: non-scaling-stroke;
}

.bmps-dashboard__chart .balance-point {
	fill: var(--bmps-surface);
	stroke: var(--bmps-green);
	stroke-width: 2;
	vector-effect: non-scaling-stroke;
}

.bmps-dashboard__chart .earned-bar {
	fill: var(--bmps-green);
}

.bmps-dashboard__chart .deducted-bar {
	fill: var(--bmps-red);
}

.bmps-dashboard__chart .chart-zero {
	stroke: var(--bmps-border-strong);
	stroke-width: 1.5;
}

.bmps-dashboard__chart-legend {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 18px;
	min-height: 28px;
	color: var(--bmps-muted);
	font-size: 11px;
}

.bmps-dashboard__chart-legend span {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.bmps-dashboard__chart-legend i {
	display: block;
	width: 11px;
	height: 11px;
	background: var(--legend-color, var(--bmps-green));
	border-radius: 3px;
}

.bmps-dashboard__data-details {
	margin-top: 10px;
	border-top: 1px solid var(--bmps-border);
}

.bmps-dashboard__data-details summary {
	padding: 15px 2px 3px;
	color: var(--bmps-green);
	cursor: pointer;
	font-size: 12px;
	font-weight: 750;
}

.bmps-dashboard__table-wrap {
	width: 100%;
	overflow-x: auto;
}

.bmps-dashboard table {
	width: 100%;
	margin: 0;
	border: 0;
	border-collapse: collapse;
	color: var(--bmps-text);
}

.bmps-dashboard th,
.bmps-dashboard td {
	padding: 13px 14px;
	background: transparent;
	border: 0;
	border-bottom: 1px solid var(--bmps-border);
	color: inherit;
	font-size: 12px;
	text-align: left;
	vertical-align: middle;
}

.bmps-dashboard th {
	color: var(--bmps-muted);
	font-size: 10px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.bmps-dashboard tr:last-child td {
	border-bottom: 0;
}

.bmps-dashboard td:last-child,
.bmps-dashboard th:last-child {
	text-align: right;
}

.bmps-dashboard__activity-tools {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 18px;
	margin-bottom: 12px;
}

.bmps-dashboard__activity-tools > span {
	color: var(--bmps-muted);
	font-size: 11px;
}

.bmps-dashboard__load-more {
	display: block;
	min-height: 42px;
	margin: 18px auto 0;
	padding: 9px 19px;
	background: var(--bmps-green);
	border: 1px solid var(--bmps-green);
	border-radius: 9px;
	color: #ffffff;
	cursor: pointer;
	font-size: 12px;
	font-weight: 800;
}

.bmps-dashboard__load-more[hidden] {
	display: none;
}

.bmps-dashboard__reward-overview {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 10px;
	margin-bottom: 18px;
}

.bmps-dashboard__reward-overview > div {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	min-width: 0;
	padding: 13px 15px;
	background: var(--bmps-surface);
	border: 1px solid var(--bmps-border);
	border-radius: 11px;
}

.bmps-dashboard__reward-overview span {
	color: var(--bmps-muted);
	font-size: 11px;
	font-weight: 720;
}

.bmps-dashboard__reward-overview strong {
	color: var(--bmps-title);
	font-size: 20px;
	font-weight: 850;
}

.bmps-dashboard__reward-filter {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 10px;
	margin: 0 0 20px;
}

.bmps-dashboard__reward-filter > span {
	color: var(--bmps-muted);
	font-size: 11px;
	font-weight: 780;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.bmps-dashboard__reward-filter select {
	min-width: 210px;
	height: 40px;
	padding: 7px 34px 7px 11px;
	background: var(--bmps-surface);
	border: 1px solid var(--bmps-border-strong);
	border-radius: 8px;
	color: var(--bmps-title);
	font-size: 12px;
}

.bmps-dashboard__reward-section + .bmps-dashboard__reward-section {
	margin-top: 28px;
	padding-top: 25px;
	border-top: 1px solid var(--bmps-border);
}

.bmps-dashboard__subheading {
	display: flex;
	align-items: center;
	gap: 9px;
	margin-bottom: 13px;
}

.bmps-dashboard__subheading h3 {
	margin: 0;
	font-size: 17px;
	font-weight: 780;
}

.bmps-dashboard__subheading > span {
	display: inline-grid;
	place-items: center;
	min-width: 24px;
	height: 24px;
	padding: 0 6px;
	background: var(--bmps-green-soft);
	border-radius: 999px;
	color: var(--bmps-green);
	font-size: 11px;
	font-weight: 800;
}

.bmps-dashboard__reward-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
}

.bmps-dashboard__reward-grid > .bmps-dashboard__empty {
	grid-column: 1 / -1;
}

.bmps-dashboard__reward-card {
	display: grid;
	position: relative;
	grid-template-columns: 74px minmax(0, 1fr);
	gap: 15px;
	min-width: 0;
	padding: 16px;
	background: var(--bmps-surface);
	border: 1px solid var(--bmps-border);
	border-radius: 13px;
	box-shadow: var(--bmps-shadow-soft);
}

.bmps-dashboard__reward-help {
	position: absolute;
	top: 9px;
	right: 9px;
	z-index: 2;
	display: inline-grid;
	place-items: center;
	width: 24px;
	height: 24px;
	padding: 0;
	background: var(--bmps-green-soft);
	border: 1px solid var(--bmps-green-border);
	border-radius: 50%;
	box-shadow: 0 2px 8px rgba(22, 50, 27, 0.1);
	color: var(--bmps-green);
	cursor: pointer;
	font-size: 14px;
	font-weight: 900;
	line-height: 1;
}

.bmps-dashboard__reward-help:hover {
	background: var(--bmps-green);
	border-color: var(--bmps-green);
	color: #ffffff;
}

.bmps-dashboard__reward-category,
.bmps-dashboard__reward-heading {
	padding-right: 22px;
}

.bmps-dashboard__reward-card[hidden] {
	display: none !important;
}

.bmps-dashboard__reward-card.is-claimed {
	background: var(--bmps-claimed-bg);
	box-shadow: none;
}

.bmps-dashboard__reward-card.is-locked {
	background: var(--bmps-surface-soft);
	box-shadow: none;
}

.bmps-dashboard__reward-card.is-locked .bmps-dashboard__reward-art {
	filter: saturate(0.55);
	opacity: 0.82;
}

.bmps-dashboard__reward-art {
	display: grid;
	place-items: center;
	width: 74px;
	height: 74px;
	background: var(--bmps-green-soft);
	border: 1px solid var(--bmps-green-border);
	border-radius: 12px;
	overflow: hidden;
}

.bmps-dashboard__reward-art img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.bmps-dashboard__reward-art .dashicons {
	width: 34px;
	height: 34px;
	color: var(--bmps-green);
	font-size: 34px;
}

.bmps-dashboard__reward-copy {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	min-width: 0;
}

.bmps-dashboard__reward-category {
	display: block;
	margin: 0 0 5px;
	color: var(--bmps-green);
	font-size: 9px;
	font-weight: 850;
	letter-spacing: 0.08em;
	line-height: 1.2;
	text-transform: uppercase;
}

.bmps-dashboard__reward-heading {
	display: flex;
	align-items: start;
	justify-content: space-between;
	gap: 8px;
	width: 100%;
}

.bmps-dashboard__reward-heading h3 {
	margin: 0;
	font-size: 14px;
	font-weight: 780;
	line-height: 1.25;
}

.bmps-dashboard__reward-value {
	flex: 0 0 auto;
	color: var(--bmps-green);
	font-size: 12px;
	font-weight: 850;
}

.bmps-dashboard__reward-copy > p {
	display: -webkit-box;
	margin: 6px 0 10px;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	color: var(--bmps-muted) !important;
	font-size: 11px;
	line-height: 1.45;
}

.bmps-dashboard__claim-button {
	min-height: 34px;
	margin-top: auto;
	padding: 7px 12px;
	background: var(--bmps-green);
	border: 1px solid var(--bmps-green);
	border-radius: 8px;
	color: #ffffff;
	cursor: pointer;
	font-size: 11px;
	font-weight: 800;
}

.bmps-dashboard__claim-button:disabled {
	cursor: wait;
	opacity: 0.66;
}

.bmps-dashboard__claimed-label {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	margin-top: auto;
	color: var(--bmps-green);
	font-size: 11px;
	font-weight: 800;
}

.bmps-dashboard__locked-label {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	margin-top: 7px;
	color: var(--bmps-muted);
	font-size: 10px;
	font-weight: 800;
}

.bmps-dashboard__locked-label .dashicons {
	width: 14px;
	height: 14px;
	font-size: 14px;
}

.bmps-dashboard__reward-progress {
	display: grid;
	gap: 5px;
	width: 100%;
	margin-top: auto;
}

.bmps-dashboard__reward-progress > div {
	height: 6px;
	background: var(--bmps-surface-strong);
	border-radius: 999px;
	overflow: hidden;
}

.bmps-dashboard__reward-progress > div span {
	display: block;
	height: 100%;
	background: var(--bmps-green);
	border-radius: inherit;
}

.bmps-dashboard__reward-progress small {
	color: var(--bmps-muted);
	font-size: 9.5px;
	line-height: 1.35;
}

body.bmps-reward-help-open {
	overflow: hidden;
}

.bmps-reward-help-modal {
	--bmps-help-surface: #ffffff;
	--bmps-help-surface-soft: #f1f5f1;
	--bmps-help-border: #dce5dc;
	--bmps-help-title: #122116;
	--bmps-help-muted: #64736a;
	--bmps-help-green: #24752d;
	position: fixed;
	inset: 0;
	z-index: 1000000;
	display: grid;
	place-items: center;
	padding: 22px;
}

html.dark-mode .bmps-reward-help-modal,
body.dark-mode .bmps-reward-help-modal {
	--bmps-help-surface: #191f1a;
	--bmps-help-surface-soft: #202821;
	--bmps-help-border: #3a473c;
	--bmps-help-title: #f1f7f2;
	--bmps-help-muted: #a5b2a7;
	--bmps-help-green: #75dc7d;
}

.bmps-reward-help-modal[hidden] {
	display: none !important;
}

.bmps-reward-help-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(8, 18, 11, 0.68);
	backdrop-filter: blur(3px);
}

.bmps-reward-help-modal__dialog {
	position: relative;
	display: flex;
	flex-direction: column;
	width: min(720px, 100%);
	height: min(720px, calc(100vh - 44px));
	overflow: hidden;
	background: var(--bmps-help-surface);
	border: 1px solid var(--bmps-help-border);
	border-radius: 16px;
	box-shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
}

.bmps-reward-help-modal__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 17px 18px 15px 22px;
	background: var(--bmps-help-surface-soft);
	border-bottom: 1px solid var(--bmps-help-border);
}

.bmps-reward-help-modal__header span {
	display: block;
	margin-bottom: 3px;
	color: var(--bmps-help-green);
	font-size: 10px;
	font-weight: 850;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.bmps-reward-help-modal__header h2 {
	margin: 0;
	color: var(--bmps-help-title) !important;
	font-size: clamp(17px, 2vw, 22px);
	line-height: 1.25;
}

.bmps-reward-help-modal__close {
	flex: 0 0 auto;
	width: 36px;
	height: 36px;
	padding: 0;
	background: var(--bmps-help-surface);
	border: 1px solid var(--bmps-help-border);
	border-radius: 50%;
	color: var(--bmps-help-title);
	cursor: pointer;
	font-size: 25px;
	line-height: 1;
}

.bmps-reward-help-modal__body {
	position: relative;
	flex: 1 1 auto;
	min-height: 0;
	background: var(--bmps-help-surface);
}

.bmps-reward-help-modal__loading {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	color: var(--bmps-help-muted);
	font-size: 13px;
	font-weight: 700;
}

.bmps-reward-help-modal__loading[hidden] {
	display: none;
}

.bmps-reward-help-modal__frame {
	width: 100%;
	height: 100%;
	border: 0;
	opacity: 0;
}

.bmps-reward-help-modal__frame.is-loaded {
	opacity: 1;
}

@media (max-width: 600px) {
	.bmps-reward-help-modal {
		padding: 0;
	}

	.bmps-reward-help-modal__dialog {
		width: 100%;
		height: 100dvh;
		border: 0;
		border-radius: 0;
	}

	.bmps-reward-help-modal__header {
		padding: 14px 14px 13px 18px;
	}
}

.bmps-dashboard__claimed-label .dashicons {
	width: 15px;
	height: 15px;
	font-size: 15px;
}

.bmps-dashboard__reward-copy time {
	margin-top: 2px;
	color: var(--bmps-muted);
	font-size: 10px;
}

.bmps-dashboard__achievements {
	display: grid;
	gap: 18px;
}

.bmps-dashboard__achievements.is-loading .bmps-dashboard__achievement-grid {
	opacity: 0.5;
	transform: translateY(3px);
}

.bmps-dashboard__achievement-summary {
	display: grid;
	grid-template-columns: 44px minmax(0, 1fr) auto;
	align-items: center;
	gap: 14px;
	padding: 16px 18px;
	background: var(--bmps-surface);
	border: 1px solid var(--bmps-border);
	border-radius: 13px;
	box-shadow: var(--bmps-shadow-soft);
}

.bmps-dashboard__achievement-summary > .dashicons {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	background: var(--bmps-green-soft);
	border-radius: 11px;
	color: var(--bmps-green);
	font-size: 23px;
	line-height: 44px;
}

.bmps-dashboard__achievement-summary > div {
	display: grid;
	gap: 5px;
	min-width: 0;
}

.bmps-dashboard__achievement-summary > div > span {
	color: var(--bmps-muted);
	font-size: 10px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.bmps-dashboard__achievement-summary > div > strong {
	color: var(--bmps-title);
	font-size: 16px;
	font-weight: 800;
}

.bmps-dashboard__achievement-summary > strong {
	color: var(--bmps-green);
	font-size: 22px;
	font-weight: 850;
	font-variant-numeric: tabular-nums;
}

.bmps-dashboard__achievement-progress {
	width: 100%;
	height: 7px;
	margin-top: 2px;
	background: var(--bmps-surface-strong);
	border-radius: 999px;
	overflow: hidden;
}

.bmps-dashboard__achievement-progress > span {
	display: block;
	height: 100%;
	background: var(--bmps-green);
	border-radius: inherit;
	transition: width 0.2s ease;
}

.bmps-dashboard__achievement-controls {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 10px 14px;
	flex-wrap: wrap;
}

.bmps-dashboard__achievement-status-filter,
.bmps-dashboard__achievement-pagination {
	display: inline-flex;
	align-items: center;
	gap: 4px;
}

.bmps-dashboard__achievement-status-filter button,
.bmps-dashboard__achievement-pagination button {
	min-height: 36px;
	padding: 7px 11px;
	background: var(--bmps-surface);
	border: 1px solid var(--bmps-border);
	border-radius: 8px;
	color: var(--bmps-muted);
	cursor: pointer;
	font-size: 12px;
	font-weight: 750;
}

.bmps-dashboard__achievement-status-filter button:hover,
.bmps-dashboard__achievement-pagination button:hover:not(:disabled) {
	border-color: var(--bmps-green-border);
	color: var(--bmps-title);
}

.bmps-dashboard__achievement-status-filter button.is-active {
	background: var(--bmps-green-soft);
	border-color: var(--bmps-green-border);
	color: var(--bmps-green);
}

.bmps-dashboard__achievement-category {
	display: grid;
	gap: 4px;
	margin: 0 auto 0 0;
}

.bmps-dashboard__achievement-category > span {
	color: var(--bmps-muted);
	font-size: 10px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.bmps-dashboard__achievement-category select {
	min-width: 180px;
	min-height: 36px;
	margin: 0;
	padding: 6px 28px 6px 9px;
	background: var(--bmps-surface);
	border: 1px solid var(--bmps-border-strong);
	border-radius: 8px;
	color: var(--bmps-title);
	font-size: 12px;
}

.bmps-dashboard__achievement-pagination button {
	display: inline-grid;
	place-items: center;
	width: 36px;
	padding: 0;
}

.bmps-dashboard__achievement-pagination button:disabled {
	cursor: not-allowed;
	opacity: 0.42;
}

.bmps-dashboard__achievement-pagination .dashicons {
	width: 17px;
	height: 17px;
	font-size: 17px;
}

.bmps-dashboard__achievement-pagination > span {
	min-width: 78px;
	color: var(--bmps-muted);
	font-size: 11px;
	font-weight: 750;
	text-align: center;
}

.bmps-dashboard__achievement-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
	min-width: 0;
	touch-action: pan-y;
	transition: opacity 0.16s ease, transform 0.16s ease;
}

.bmps-dashboard__achievement-card {
	display: grid;
	grid-template-columns: 54px minmax(0, 1fr);
	align-items: start;
	gap: 12px;
	min-width: 0;
	min-height: 132px;
	padding: 14px;
	background: var(--bmps-surface);
	border: 1px solid var(--bmps-border);
	border-left: 3px solid var(--bmps-achievement-color, var(--bmps-green));
	border-radius: 12px;
	box-shadow: var(--bmps-shadow-soft);
}

.bmps-dashboard__achievement-card.is-locked {
	background: var(--bmps-surface-soft);
	border-left-color: var(--bmps-border-strong);
	box-shadow: none;
}

.bmps-dashboard__achievement-badge {
	display: grid;
	place-items: center;
	width: 54px;
	height: 54px;
	background: var(--bmps-green-soft);
	background: color-mix(in srgb, var(--bmps-achievement-color, var(--bmps-green)) 15%, var(--bmps-surface));
	border: 1px solid var(--bmps-green-border);
	border: 1px solid color-mix(in srgb, var(--bmps-achievement-color, var(--bmps-green)) 32%, var(--bmps-border));
	border-radius: 11px;
	color: var(--bmps-achievement-color, var(--bmps-green));
	overflow: hidden;
}

.bmps-dashboard__achievement-card.is-locked .bmps-dashboard__achievement-badge {
	background: var(--bmps-surface-strong);
	border-color: var(--bmps-border-strong);
	color: var(--bmps-muted);
	filter: grayscale(1);
	opacity: 0.72;
}

.bmps-dashboard__achievement-badge img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.bmps-dashboard__achievement-badge .dashicons {
	width: 28px;
	height: 28px;
	font-size: 28px;
}

.bmps-dashboard__achievement-copy {
	display: flex;
	min-width: 0;
	height: 100%;
	flex-direction: column;
	gap: 5px;
}

.bmps-dashboard__achievement-copy > strong {
	color: var(--bmps-title);
	font-size: 13px;
	font-weight: 820;
	line-height: 1.25;
}

.bmps-dashboard__achievement-copy > p {
	display: -webkit-box;
	margin: 0;
	overflow: hidden;
	color: var(--bmps-muted) !important;
	font-size: 11px;
	line-height: 1.4;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	line-clamp: 2;
}

.bmps-dashboard__achievement-meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 7px;
	margin-top: auto;
}

.bmps-dashboard__achievement-state {
	display: inline-flex;
	align-items: center;
	gap: 3px;
	color: var(--bmps-green);
	font-size: 10px;
	font-weight: 800;
}

.bmps-dashboard__achievement-card.is-locked .bmps-dashboard__achievement-state {
	color: var(--bmps-muted);
}

.bmps-dashboard__achievement-state .dashicons {
	width: 14px;
	height: 14px;
	font-size: 14px;
}

.bmps-dashboard__achievement-meta small {
	color: var(--bmps-muted);
	font-size: 9px;
	font-weight: 700;
	white-space: nowrap;
}

.bmps-dashboard__achievement-empty {
	grid-column: 1 / -1;
}

.bmps-dashboard__rank {
	display: inline-grid;
	place-items: center;
	width: 30px;
	height: 30px;
	background: var(--bmps-surface-soft);
	border-radius: 50%;
	color: var(--bmps-title);
	font-size: 12px;
	font-weight: 850;
}

.bmps-dashboard__rank.rank-1 {
	background: #fff1bd;
	color: #8b6409;
}

.bmps-dashboard__rank.rank-2 {
	background: #e7eaee;
	color: #59626b;
}

.bmps-dashboard__rank.rank-3 {
	background: #f4dfd0;
	color: #8b5132;
}

html.dark-mode .bmps-dashboard__rank.rank-1,
body.dark-mode .bmps-dashboard__rank.rank-1 {
	background: rgba(218, 167, 47, 0.2);
	color: #f3cb6c;
}

html.dark-mode .bmps-dashboard__rank.rank-2,
body.dark-mode .bmps-dashboard__rank.rank-2 {
	background: rgba(180, 192, 204, 0.15);
	color: #cad2d9;
}

html.dark-mode .bmps-dashboard__rank.rank-3,
body.dark-mode .bmps-dashboard__rank.rank-3 {
	background: rgba(190, 118, 78, 0.18);
	color: #e8ad8e;
}

.bmps-dashboard__leader {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: var(--bmps-title) !important;
	font-weight: 720;
	text-decoration: none !important;
}

.bmps-dashboard__leader img {
	width: 40px;
	height: 40px;
	border: 2px solid var(--bmps-surface);
	border-radius: 50%;
	box-shadow: 0 0 0 1px var(--bmps-border);
	object-fit: cover;
}

.bmps-dashboard__leader small {
	padding: 2px 6px;
	background: var(--bmps-green-soft);
	border-radius: 999px;
	color: var(--bmps-green);
	font-size: 9px;
	text-transform: uppercase;
}

.bmps-dashboard tr.is-current-user {
	background: var(--bmps-green-soft);
}

.bmps-dashboard__topics-list {
	display: grid;
	background: var(--bmps-surface);
	border: 1px solid var(--bmps-border);
	border-radius: 14px;
	box-shadow: var(--bmps-shadow-soft);
	overflow: hidden;
}

.bmps-dashboard__topic {
	display: grid;
	grid-template-columns: 38px minmax(0, 1fr) 22px;
	align-items: center;
	gap: 12px;
	min-height: 70px;
	padding: 13px 17px;
	background: var(--bmps-surface);
	border-bottom: 1px solid var(--bmps-border);
	color: var(--bmps-title) !important;
	text-decoration: none !important;
}

.bmps-dashboard__topic:last-child {
	border-bottom: 0;
}

.bmps-dashboard__topic:hover {
	background: var(--bmps-green-soft);
}

.bmps-dashboard__topic > .dashicons:first-child {
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	background: var(--bmps-surface-soft);
	border-radius: 10px;
	color: var(--bmps-green);
}

.bmps-dashboard__topic > span:nth-child(2) {
	display: grid;
	gap: 3px;
	min-width: 0;
}

.bmps-dashboard__topic strong {
	overflow: hidden;
	font-size: 13px;
	font-weight: 730;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.bmps-dashboard__topic small {
	color: var(--bmps-muted);
	font-size: 10px;
}

.bmps-dashboard__topic > .dashicons:last-child {
	color: var(--bmps-muted);
}

.bmps-dashboard__empty,
.bmps-dashboard__table-empty {
	padding: 34px 20px !important;
	color: var(--bmps-muted) !important;
	font-size: 12px;
	line-height: 1.6;
	text-align: center !important;
}

.bmps-dashboard__reward-grid > .bmps-dashboard__empty {
	grid-column: 1 / -1;
	background: var(--bmps-surface);
	border: 1px dashed var(--bmps-border-strong);
	border-radius: 12px;
}

.bmps-dashboard__topics-list > .bmps-dashboard__empty {
	display: grid;
	justify-items: center;
	gap: 7px;
}

.bmps-dashboard__empty > .dashicons {
	width: 34px;
	height: 34px;
	color: var(--bmps-green);
	font-size: 34px;
}

.bmps-dashboard__empty h3,
.bmps-dashboard__empty p {
	margin: 0;
}

.bmps-dashboard__empty a {
	color: var(--bmps-green) !important;
	font-weight: 750;
}

.bmps-dashboard__loading {
	position: absolute;
	inset: 0;
	z-index: 20;
	display: grid;
	place-items: center;
	background: color-mix(in srgb, var(--bmps-bg) 70%, transparent);
	backdrop-filter: blur(2px);
}

.bmps-dashboard__loading[hidden] {
	display: none;
}

.bmps-dashboard__loading > span:first-child {
	width: 42px;
	height: 42px;
	border: 4px solid var(--bmps-border);
	border-top-color: var(--bmps-green);
	border-radius: 50%;
	animation: bmps-dashboard-spin 0.75s linear infinite;
}

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

.bmps-dashboard-login {
	display: grid;
	justify-items: center;
	gap: 10px;
	max-width: 680px;
	margin: 30px auto;
	padding: 48px 30px;
	background: var(--bmps-surface);
	border: 1px solid var(--bmps-border);
	border-radius: 16px;
	box-shadow: var(--bmps-shadow);
	text-align: center;
}

.bmps-dashboard-login > .dashicons {
	width: 38px;
	height: 38px;
	color: var(--bmps-green);
	font-size: 38px;
}

.bmps-dashboard-login h2 {
	margin: 5px 0 0;
	color: var(--bmps-title) !important;
}

.bmps-dashboard-login p {
	max-width: 480px;
	margin: 0;
	color: var(--bmps-muted) !important;
}

.bmps-dashboard-login__button {
	margin-top: 8px;
	padding: 10px 18px;
	background: var(--bmps-green);
	border-radius: 9px;
	color: #ffffff !important;
	font-weight: 800;
	text-decoration: none !important;
}

@media (max-width: 980px) {
	.bmps-dashboard__date-toolbar {
		grid-template-columns: 1fr;
		align-items: start;
	}

	.bmps-dashboard__custom-dates {
		justify-content: flex-start;
	}

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

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

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

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

@media (max-width: 720px) {
	.bmps-dashboard {
		margin: 0 auto 28px;
		border-left: 0;
		border-right: 0;
		border-radius: 0;
	}

	.bmps-dashboard__hero {
		align-items: stretch;
		flex-direction: column;
		gap: 10px;
		min-height: 0;
		padding: 13px 18px;
	}

	.bmps-dashboard__hero p {
		display: none;
	}

	.bmps-dashboard__balance {
		display: grid;
		grid-template-columns: 1fr auto;
		align-items: end;
		min-width: 0;
		padding: 9px 13px;
		text-align: left;
	}

	.bmps-dashboard__balance strong {
		grid-row: 1 / 3;
		grid-column: 2;
		font-size: 30px;
	}

	.bmps-dashboard__tabs {
		gap: 2px;
		padding: 0 4px;
		overflow-x: hidden;
	}

	.bmps-dashboard__tabs button span:not(.dashicons),
	.bmps-dashboard__tabs small {
		position: absolute;
		width: 1px;
		height: 1px;
		padding: 0;
		clip: rect(0 0 0 0);
		clip-path: inset(50%);
		overflow: hidden;
		white-space: nowrap;
	}

	.bmps-dashboard__tabs button {
		flex: 1 1 0;
		min-width: 0;
		min-height: 49px;
		padding: 7px 4px;
	}

	.bmps-dashboard__date-toolbar {
		gap: 9px;
		padding: 10px 8px;
	}

	.bmps-dashboard__presets {
		display: grid;
		grid-template-columns: repeat(6, minmax(0, 1fr));
		gap: 3px;
		width: 100%;
		overflow: visible;
	}

	.bmps-dashboard__presets button {
		min-width: 0;
		min-height: 34px;
		padding: 4px 1px;
		font-size: 9.5px;
	}

	.bmps-dashboard__custom-dates {
		display: grid;
		grid-template-columns: 1fr 1fr auto;
		gap: 4px;
		width: 100%;
	}

	.bmps-dashboard__custom-dates input {
		width: 100%;
		min-width: 0;
		min-height: 34px;
		padding: 5px 4px;
		font-size: 11px;
	}

	.bmps-dashboard__custom-dates > button {
		min-height: 34px;
		padding: 5px 9px;
	}

	.bmps-dashboard__panel {
		min-height: 420px;
		padding: 24px 17px 30px;
	}

	.bmps-dashboard__section-heading {
		align-items: start;
		flex-direction: column;
		gap: 7px;
	}

	.bmps-dashboard__section-heading > p {
		text-align: left;
	}

	.bmps-dashboard__overview-grid,
	.bmps-dashboard__reward-grid {
		grid-template-columns: 1fr;
	}

	.bmps-dashboard__reward-filter {
		align-items: stretch;
		flex-direction: column;
		gap: 5px;
	}

	.bmps-dashboard__reward-filter select {
		width: 100%;
		min-width: 0;
	}

	.bmps-dashboard__achievement-grid {
		grid-template-columns: 1fr;
	}

	.bmps-dashboard__achievement-controls {
		display: grid;
		grid-template-columns: minmax(0, 1fr) auto;
		align-items: end;
	}

	.bmps-dashboard__achievement-status-filter {
		grid-column: 1 / -1;
	}

	.bmps-dashboard__achievement-status-filter button {
		flex: 1;
	}

	.bmps-dashboard__achievement-category {
		width: 100%;
		margin: 0;
	}

	.bmps-dashboard__achievement-category select {
		width: 100%;
		min-width: 0;
	}

	.bmps-dashboard__recent-card {
		grid-column: auto;
	}

	.bmps-dashboard__chart {
		min-height: 260px;
		overflow-x: auto;
	}

	.bmps-dashboard__chart svg {
		min-width: 650px;
	}
}

@media (max-width: 480px) {
	.bmps-dashboard__tabs button {
		flex: 1 1 0;
		min-width: 0;
		padding: 7px 3px;
	}

	.bmps-dashboard__stat-grid {
		grid-template-columns: 1fr 1fr;
		gap: 8px;
	}

	.bmps-dashboard__reward-overview {
		gap: 7px;
	}

	.bmps-dashboard__reward-overview > div {
		align-items: flex-start;
		flex-direction: column;
		gap: 3px;
		padding: 11px 12px;
	}

	.bmps-dashboard__mini-stats {
		gap: 6px;
	}

	.bmps-dashboard__mini-stats > div {
		padding: 9px;
	}

	.bmps-dashboard__stat-card {
		align-items: start;
		flex-direction: column;
		gap: 9px;
		padding: 13px;
	}

	.bmps-dashboard__stat-card > .dashicons {
		flex-basis: 32px;
		width: 32px;
		height: 32px;
		font-size: 16px;
		line-height: 32px;
	}

	.bmps-dashboard__card,
	.bmps-dashboard__graph-card,
	.bmps-dashboard__leaderboard-card {
		padding: 15px;
	}

	.bmps-dashboard__achievement-summary {
		grid-template-columns: 38px minmax(0, 1fr) auto;
		gap: 10px;
		padding: 12px;
	}

	.bmps-dashboard__achievement-summary > .dashicons {
		width: 38px;
		height: 38px;
		font-size: 20px;
		line-height: 38px;
	}

	.bmps-dashboard__achievement-summary > div > strong {
		font-size: 13px;
	}

	.bmps-dashboard__achievement-summary > strong {
		font-size: 17px;
	}

	.bmps-dashboard__achievement-card {
		grid-template-columns: 48px minmax(0, 1fr);
		min-height: 118px;
		padding: 12px;
	}

	.bmps-dashboard__achievement-badge {
		width: 48px;
		height: 48px;
	}

	.bmps-dashboard__activity-item {
		grid-template-columns: 32px minmax(0, 1fr) auto;
		gap: 9px;
		padding: 11px 12px;
	}

	.bmps-dashboard__activity-icon {
		width: 32px;
		height: 32px;
	}

	.bmps-dashboard__activity-copy strong {
		font-size: 12px;
	}

	.bmps-dashboard__reward-card {
		grid-template-columns: 62px minmax(0, 1fr);
		padding: 13px;
	}

	.bmps-dashboard__reward-art {
		width: 62px;
		height: 62px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.bmps-dashboard *,
	.bmps-dashboard *::before,
	.bmps-dashboard *::after {
		scroll-behavior: auto !important;
		transition: none !important;
	}
}
