.dashboard {
	--dashboard-card-radius: 1.25rem;
	--dashboard-card-shadow: 0 .5rem 1.25rem rgba(15, 23, 42, .05);
}

.dashboard-card {
	border: 1px solid rgba(var(--bs-secondary-rgb), .14);
	border-radius: var(--dashboard-card-radius, 1.25rem);
	background: var(--bs-body-bg);
	box-shadow: var(--dashboard-card-shadow, 0 .5rem 1.25rem rgba(15, 23, 42, .05));
}

.dashboard-card-header {
	background: transparent;
}

.dashboard-info-card {
	padding: .9rem 1rem;
	border: 1px solid rgba(var(--bs-secondary-rgb), .12);
	border-radius: .9rem;
	background: rgba(var(--bs-secondary-rgb), .035);
}

.dashboard-metric-card {
	min-width: 0;
	padding: 1rem;
	border-radius: .9rem;
}

.dashboard-metric-card-success {
	background: rgba(var(--bs-success-rgb), .08);
}

.dashboard-metric-card-danger {
	background: rgba(var(--bs-danger-rgb), .08);
}

.dashboard-metric-card-secondary {
	background: rgba(var(--bs-secondary-rgb), .08);
}

.dashboard-metric-card-warning {
	background: rgba(var(--bs-warning-rgb), .08);
}

.dashboard-metric-card-info {
	background: rgba(var(--bs-info-rgb), .08);
}

.dashboard-section-title {
	display: flex;
	align-items: center;
	gap: .75rem;
}

.dashboard-section-title::before {
	content: "";
	width: .3rem;
	height: 1.5rem;
	border-radius: 999px;
	background: var(--bs-primary);
}

@media (max-width: 575.98px) {
	.dashboard {
		--dashboard-card-radius: 1rem;
	}

	.dashboard-card-header,
	.dashboard-card-body {
		padding: 1.1rem !important;
	}
}

body {
	--dashboard-surface: #fff;
	--dashboard-soft: #f5f6fa;
	--dashboard-border: #e3e7ef;
	--dashboard-muted: #74788d;
	--dashboard-ink: #343a40;
	--dashboard-radius: 1rem;
	--dashboard-card-border: rgba(var(--bs-secondary-rgb), .12);
	--dashboard-shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 4px 16px rgba(15, 23, 42, .05);
}

body[data-style-mode="dark"] {
	--dashboard-surface: #2a3042;
	--dashboard-soft: #32394e;
	--dashboard-border: #32394e;
	--dashboard-muted: #a6b0cf;
	--dashboard-ink: #eff2f7;
	--dashboard-shadow: none;
	--dashboard-card-border: var(--dashboard-border);
}

.dashboard-group-label {
	margin-bottom: .5rem;
	color: var(--dashboard-muted);
	font-size: .7rem;
	font-weight: 600;
	letter-spacing: .06em;
	text-transform: uppercase;
}

.dashboard-kpi {
	display: flex;
	flex-direction: column;
	height: 100%;
	gap: .25rem;
	padding: .75rem 1rem;
	background-color: var(--dashboard-surface);
	border: 1px solid var(--dashboard-card-border);
	border-radius: var(--dashboard-radius);
	box-shadow: var(--dashboard-shadow);
	font-variant-numeric: tabular-nums;
	position: relative;
	container-type: inline-size;
	transition: box-shadow .2s ease;
}

.dashboard-kpi--link {
	cursor: pointer;
}

.dashboard-kpi--link:hover,
.dashboard-kpi--link:focus-visible {
	box-shadow: 0 .35rem 1rem rgba(18, 38, 63, .1);
	outline: none;
}

.dashboard-kpi-head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: .5rem;
	min-width: 0;
}

.dashboard-kpi-icon {
	display: flex;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	width: 2rem;
	height: 2rem;
	border-radius: .6rem;
	background-color: color-mix(in srgb, var(--kpi-accent) 12%, transparent);
	color: var(--kpi-accent);
	font-size: .9rem;
}

@container (max-width: 12rem) {
	.dashboard-kpi-icon {
		display: none;
	}
}

.dashboard-kpi-label {
	overflow: hidden;
	color: var(--dashboard-muted);
	font-size: .72rem;
	font-weight: 600;
	letter-spacing: .04em;
	text-overflow: ellipsis;
	text-transform: uppercase;
	white-space: nowrap;
}

.dashboard-kpi-value {
	color: var(--dashboard-ink);
	font-size: 1.2rem;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -.01em;
}

.dashboard-kpi-value small {
	color: var(--dashboard-muted);
	font-size: .8rem;
	font-weight: 500;
}

.dashboard-kpi-foot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: .25rem .5rem;
	margin-top: auto;
	color: var(--dashboard-muted);
	font-size: .75rem;
}

.dashboard-delta {
	display: inline-flex;
	align-items: center;
	gap: .25rem;
	padding: .15rem .5rem;
	border-radius: 999px;
	background-color: var(--dashboard-soft);
	font-weight: 600;
	white-space: nowrap;
}

.dashboard-delta--good {
	background-color: rgba(var(--bs-success-rgb), .12);
	color: var(--bs-success);
}

.dashboard-delta--bad {
	background-color: rgba(var(--bs-danger-rgb), .12);
	color: var(--bs-danger);
}

.dashboard-bar {
	height: .35rem;
	overflow: hidden;
	border-radius: 999px;
	background-color: var(--dashboard-soft);
}

.dashboard-bar span {
	display: block;
	height: 100%;
	border-radius: inherit;
	background-color: var(--bar-color, var(--bs-primary));
}

.dashboard-panel {
	height: 100%;
	margin-bottom: 0;
	color: var(--dashboard-ink);
	background-color: var(--dashboard-surface);
	border: 1px solid var(--dashboard-card-border);
	border-radius: var(--dashboard-radius);
	box-shadow: var(--dashboard-shadow);
	font-variant-numeric: tabular-nums;
}

.dashboard-panel > .card-header {
	padding: 1.1rem 1.25rem 0;
	background: transparent;
	border-bottom: 0;
}

.dashboard-panel > .card-header h5 {
	font-size: .95rem;
	font-weight: 600;
}

.dashboard-table {
	width: 100%;
	font-size: .85rem;
}

.dashboard-table th {
	padding: .5rem .25rem;
	border-bottom: 1px solid var(--dashboard-border);
	color: var(--dashboard-muted);
	font-size: .68rem;
	font-weight: 600;
	letter-spacing: .04em;
	text-transform: uppercase;
	white-space: nowrap;
}

.dashboard-table td {
	padding: .6rem .25rem;
	border-bottom: 1px dashed var(--dashboard-border);
	vertical-align: middle;
}

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

.dashboard-table tbody tr[data-url] {
	cursor: pointer;
}

.dashboard-table tbody tr[data-url]:hover td {
	background-color: var(--dashboard-soft);
}

.dashboard-table:has(.dashboard-rank-first) tbody tr:not(.dashboard-rank-first) .dashboard-bar span {
	background-color: color-mix(in srgb, var(--dashboard-muted) 35%, transparent);
}

.dashboard-rank-position {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.5rem;
	height: 1.5rem;
	margin-left: .25rem;
	border-radius: 50%;
	background-color: var(--dashboard-soft);
	color: var(--dashboard-muted);
	font-size: .72rem;
	font-weight: 600;
}

.dashboard-rank-first .dashboard-rank-position {
	background-color: color-mix(in srgb, var(--rank-color) 15%, transparent);
	color: var(--rank-color);
}

.dashboard-rank-first .dashboard-rank-name {
	font-weight: 600;
	color: var(--dashboard-ink);
}

.dashboard-rank-first .dashboard-rank-value {
	font-size: 1rem;
	color: var(--rank-color) !important;
}

.dashboard-list-item {
	display: flex;
	align-items: center;
	gap: .75rem;
	width: 100%;
	padding: .55rem .5rem;
	border: 0;
	border-radius: .5rem;
	background: transparent;
	color: inherit;
	font-size: .85rem;
	text-align: left;
}

.dashboard-list-item[data-url] {
	cursor: pointer;
}

.dashboard-list-item[data-url]:hover {
	background-color: var(--dashboard-soft);
}

.dashboard-list-item i {
	flex: 0 0 auto;
	width: .6rem;
	height: .6rem;
	border-radius: 50%;
	background-color: var(--item-color);
}

.dashboard-list-item strong {
	margin-left: auto;
}

.dashboard-stack {
	display: flex;
	height: .6rem;
	overflow: hidden;
	border-radius: 999px;
	background-color: var(--dashboard-soft);
}

.dashboard-stack span {
	height: 100%;
	background-color: var(--item-color);
}

.dashboard-drawer {
	--bs-offcanvas-width: 480px;
	width: 480px;
	max-width: 100vw;
	color: var(--dashboard-ink);
	background-color: var(--dashboard-surface);
}

.dashboard-drawer-content {
	display: flex;
	flex-direction: column;
	height: 100%;
}

.dashboard-drawer-header {
	padding: 1.25rem 1.5rem 1rem;
	border-bottom: 1px solid var(--dashboard-border);
}

.dashboard-drawer-eyebrow {
	color: var(--dashboard-muted);
	font-size: .68rem;
	font-weight: 600;
	letter-spacing: .06em;
	text-transform: uppercase;
}

.dashboard-drawer-title {
	margin: .2rem 0 .25rem;
	font-size: 1.05rem;
}

.dashboard-drawer-count {
	margin-left: .35rem;
	color: var(--bs-primary);
}

.dashboard-drawer-subtitle {
	margin: 0;
	color: var(--dashboard-muted);
	font-size: .8rem;
}

.dashboard-drawer-close {
	border: 0;
	background: transparent;
	color: var(--dashboard-muted);
	font-size: 1.5rem;
	line-height: 1;
}

.dashboard-drawer-body {
	flex: 1 1 auto;
	overflow-y: auto;
	padding: .5rem .75rem;
}

.dashboard-drawer-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: .75rem;
	padding: .7rem .75rem;
	border-radius: .5rem;
	color: inherit;
}

.dashboard-drawer-row:hover {
	background-color: var(--dashboard-soft);
	color: inherit;
}

.dashboard-drawer-row-title {
	overflow: hidden;
	font-size: .85rem;
	font-weight: 600;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.dashboard-drawer-row-sub {
	overflow: hidden;
	color: var(--dashboard-muted);
	font-size: .75rem;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.dashboard-drawer-badge {
	flex: 0 0 auto;
	padding: .2rem .55rem;
	border-radius: 999px;
	background-color: var(--dashboard-soft);
	font-size: .72rem;
	font-weight: 600;
	white-space: nowrap;
}

.dashboard-drawer-note,
.dashboard-drawer-empty {
	margin: 0;
	padding: .75rem;
	color: var(--dashboard-muted);
	font-size: .78rem;
	text-align: center;
}

.dashboard-drawer-footer {
	display: flex;
	justify-content: flex-end;
	gap: .5rem;
	padding: .9rem 1.5rem;
	border-top: 1px solid var(--dashboard-border);
}

.dashboard-grid {
	margin: 0 -8px;
}

.dashboard-grid:not([class*="gs-"]) {
	visibility: hidden;
}

.dashboard-grid.grid-stack > .grid-stack-item > .grid-stack-item-content {
	overflow: visible;
}

.dashboard-grid .dashboard-panel {
	display: flex;
	flex-direction: column;
}

.dashboard-grid .dashboard-panel > .card-body {
	flex: 1 1 auto;
	min-height: 0;
	overflow-y: auto;
}

.dashboard-grid .grid-stack-item[data-dashboard-fit] .dashboard-panel > .card-body {
	overflow-y: hidden;
}

.dashboard-customize-button {
	align-items: center;
	justify-content: center;
	width: 2.375rem;
	height: 2.375rem;
	padding: 0;
	font-size: 1.15rem;
	color: var(--dashboard-muted);
	background-color: var(--dashboard-surface);
	border: 1px solid rgba(0, 0, 0, .1);
	border-radius: 5px;
	box-shadow: 0 1px 1px rgba(0, 0, 0, .12);
}

.dashboard-customize-button:hover,
.dashboard-customize-button:focus {
	color: var(--dashboard-ink);
	background-color: var(--dashboard-soft);
	border-color: rgba(0, 0, 0, .15);
}

.dashboard-customize-button.active {
	background-color: var(--bs-primary);
	border-color: var(--bs-primary);
	color: #fff;
}

.dashboard-customize-bar {
	position: fixed;
	left: 50%;
	bottom: 1.5rem;
	z-index: 1030;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: .75rem 1.5rem;
	width: min(72rem, calc(100vw - 2rem));
	padding: .75rem .9rem;
	border: 1px solid var(--dashboard-border);
	border-radius: .9rem;
	background-color: var(--dashboard-surface);
	box-shadow: 0 6px 24px rgba(0, 0, 0, .18);
	color: var(--dashboard-ink);
	transform: translateX(-50%);
	animation: dashboard-customize-in .15s ease-out;
}

@keyframes dashboard-customize-in {
	from {
		opacity: 0;
		transform: translate(-50%, .5rem);
	}
	to {
		opacity: 1;
		transform: translate(-50%, 0);
	}
}

.dashboard-grid--editing {
	margin-bottom: 6rem;
}

.dashboard-customize-intro {
	display: flex;
	align-items: center;
	gap: .75rem;
	min-width: 0;
}

.dashboard-customize-intro strong {
	display: block;
	font-size: .875rem;
	font-weight: 600;
}

.dashboard-customize-intro small {
	display: block;
	color: var(--dashboard-muted);
	font-size: .75rem;
}

.dashboard-customize-icon {
	display: inline-flex;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	width: 2.25rem;
	height: 2.25rem;
	border-radius: .6rem;
	background-color: color-mix(in srgb, var(--bs-primary) 12%, transparent);
	color: var(--bs-primary);
	font-size: 1.2rem;
}

.dashboard-customize-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: .5rem;
}

.dashboard-customize-actions .btn {
	display: inline-flex;
	align-items: center;
	border-radius: .5rem;
}

.dashboard-customize-add {
	background-color: color-mix(in srgb, var(--bs-primary) 12%, transparent);
	color: var(--bs-primary);
	font-weight: 500;
}

.dashboard-customize-add:hover,
.dashboard-customize-add:focus,
.dashboard-customize-add.show {
	background-color: var(--bs-primary);
	color: #fff;
}

.dashboard-customize-actions .btn-link {
	text-decoration: none;
}

.dashboard-customize-divider {
	width: 1px;
	height: 1.5rem;
	background-color: var(--dashboard-border);
}

.dashboard-customize-menu {
	min-width: 15rem;
	padding: .4rem;
	border: 1px solid var(--dashboard-border);
	border-radius: .75rem;
	box-shadow: 0 .75rem 2rem rgba(18, 38, 63, .12);
}

.dashboard-customize-menu .dropdown-item {
	display: flex;
	align-items: center;
	gap: .5rem;
	padding: .45rem .6rem;
	border-radius: .5rem;
	font-size: .8125rem;
}

.dashboard-customize-menu .dropdown-item i {
	color: var(--bs-primary);
	font-size: 1rem;
}

.dashboard-customize-bar.d-none {
	display: none;
}

.dashboard-grid--editing .grid-stack-item-content {
	cursor: move;
	outline: 2px dashed rgba(var(--bs-primary-rgb, 85, 110, 230), .45);
	outline-offset: 2px;
	border-radius: var(--dashboard-radius);
}

.dashboard-grid--editing .grid-stack-item-content > * {
	pointer-events: none;
	user-select: none;
}

.dashboard-widget-tools {
	position: absolute;
	top: .5rem;
	right: .75rem;
	z-index: 101;
	display: none;
	align-items: center;
	gap: .35rem;
	padding: .25rem;
	border: 1px solid var(--dashboard-border);
	border-radius: .5rem;
	background-color: var(--dashboard-surface);
	box-shadow: 0 .25rem .75rem rgba(18, 38, 63, .12);
}

.dashboard-widget-tools .form-select {
	width: auto;
	padding-top: .15rem;
	padding-bottom: .15rem;
	font-size: .75rem;
}

.dashboard-grid--editing .grid-stack-item:hover > .dashboard-widget-tools,
.dashboard-grid--editing .grid-stack-item:focus-within > .dashboard-widget-tools {
	display: flex;
}

.grid-stack-item[data-variant="compact"] .dashboard-kpi {
	flex-direction: row;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0 .75rem;
	padding-top: .45rem;
	padding-bottom: .45rem;
}

.grid-stack-item[data-variant="compact"] .dashboard-kpi-value {
	margin-top: 0;
	font-size: 1.25rem;
}

.grid-stack-item[data-variant="compact"] .dashboard-kpi-icon,
.grid-stack-item[data-variant="compact"] .dashboard-kpi-foot {
	display: none;
}

.dashboard-grid .grid-stack-item > .ui-resizable-handle {
	opacity: 0;
	background-image: none;
	transform: none;
	transition: opacity .15s ease;
}

.dashboard-grid--editing .grid-stack-item:hover > .ui-resizable-handle,
.dashboard-grid--editing .grid-stack-item.ui-resizable-resizing > .ui-resizable-handle {
	opacity: 1;
}

.dashboard-grid .grid-stack-item > .ui-resizable-handle::after {
	content: "";
	position: absolute;
	border-radius: 999px;
	background-color: var(--bs-primary);
	transition: width .15s ease, height .15s ease;
}

.dashboard-grid .grid-stack-item > .ui-resizable-e,
.dashboard-grid .grid-stack-item > .ui-resizable-w {
	top: var(--gs-item-margin-top);
	bottom: var(--gs-item-margin-bottom);
	width: 12px;
	height: auto;
}

.dashboard-grid .grid-stack-item > .ui-resizable-e {
	right: var(--gs-item-margin-right);
}

.dashboard-grid .grid-stack-item > .ui-resizable-w {
	left: var(--gs-item-margin-left);
}

.dashboard-grid .grid-stack-item > .ui-resizable-e::after,
.dashboard-grid .grid-stack-item > .ui-resizable-w::after {
	top: 50%;
	width: 3px;
	height: 28px;
	transform: translateY(-50%);
}

.dashboard-grid .grid-stack-item > .ui-resizable-e::after {
	right: 6px;
}

.dashboard-grid .grid-stack-item > .ui-resizable-w::after {
	left: 6px;
}

.dashboard-grid .grid-stack-item > .ui-resizable-e:hover::after,
.dashboard-grid .grid-stack-item > .ui-resizable-w:hover::after {
	height: 44px;
}

.dashboard-grid .grid-stack-item > .ui-resizable-s,
.dashboard-grid .grid-stack-item > .ui-resizable-n {
	left: var(--gs-item-margin-left);
	right: var(--gs-item-margin-right);
	width: auto;
	height: 12px;
}

.dashboard-grid .grid-stack-item > .ui-resizable-s {
	bottom: var(--gs-item-margin-bottom);
}

.dashboard-grid .grid-stack-item > .ui-resizable-n {
	top: var(--gs-item-margin-top);
}

.dashboard-grid .grid-stack-item > .ui-resizable-s::after,
.dashboard-grid .grid-stack-item > .ui-resizable-n::after {
	left: 50%;
	width: 28px;
	height: 3px;
	transform: translateX(-50%);
}

.dashboard-grid .grid-stack-item > .ui-resizable-s::after {
	bottom: 6px;
}

.dashboard-grid .grid-stack-item > .ui-resizable-n::after {
	top: 6px;
}

.dashboard-grid .grid-stack-item > .ui-resizable-s:hover::after,
.dashboard-grid .grid-stack-item > .ui-resizable-n:hover::after {
	width: 44px;
}

.dashboard-grid .grid-stack-item > .ui-resizable-se,
.dashboard-grid .grid-stack-item > .ui-resizable-sw,
.dashboard-grid .grid-stack-item > .ui-resizable-ne,
.dashboard-grid .grid-stack-item > .ui-resizable-nw {
	width: 14px;
	height: 14px;
	border: 0 solid var(--bs-primary);
}

.dashboard-grid .grid-stack-item > .ui-resizable-se {
	right: calc(var(--gs-item-margin-right) + 6px);
	bottom: calc(var(--gs-item-margin-bottom) + 6px);
	border-right-width: 3px;
	border-bottom-width: 3px;
	border-bottom-right-radius: 6px;
}

.dashboard-grid .grid-stack-item > .ui-resizable-sw {
	left: calc(var(--gs-item-margin-left) + 6px);
	bottom: calc(var(--gs-item-margin-bottom) + 6px);
	border-left-width: 3px;
	border-bottom-width: 3px;
	border-bottom-left-radius: 6px;
}

.dashboard-grid .grid-stack-item > .ui-resizable-ne {
	right: calc(var(--gs-item-margin-right) + 6px);
	top: calc(var(--gs-item-margin-top) + 6px);
	border-right-width: 3px;
	border-top-width: 3px;
	border-top-right-radius: 6px;
}

.dashboard-grid .grid-stack-item > .ui-resizable-nw {
	left: calc(var(--gs-item-margin-left) + 6px);
	top: calc(var(--gs-item-margin-top) + 6px);
	border-left-width: 3px;
	border-top-width: 3px;
	border-top-left-radius: 6px;
}

.dashboard-grid .grid-stack-item > .ui-resizable-se::after,
.dashboard-grid .grid-stack-item > .ui-resizable-sw::after,
.dashboard-grid .grid-stack-item > .ui-resizable-ne::after,
.dashboard-grid .grid-stack-item > .ui-resizable-nw::after {
	content: none;
}

.dashboard-empty {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
	min-height: 9rem;
	padding: 1.5rem 1rem;
	text-align: center;
}

.dashboard-empty--page {
	min-height: 18rem;
	padding: 3.5rem 1.5rem;
	background-color: var(--dashboard-surface);
	border: 1px solid var(--dashboard-border);
	border-radius: var(--dashboard-radius);
}

.dashboard-empty-body {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: .35rem;
	max-width: 22rem;
}

.dashboard-empty-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.75rem;
	height: 2.75rem;
	margin-bottom: .35rem;
	border-radius: 50%;
	background-color: var(--dashboard-soft);
	color: var(--dashboard-muted);
	font-size: 1.35rem;
}

.dashboard-empty--page .dashboard-empty-icon {
	width: 3.5rem;
	height: 3.5rem;
	font-size: 1.7rem;
}

.dashboard-empty-title {
	margin: 0;
	color: var(--dashboard-ink);
	font-size: .9rem;
	font-weight: 600;
}

.dashboard-empty--page .dashboard-empty-title {
	font-size: 1.05rem;
}

.dashboard-empty-hint {
	margin: 0;
	color: var(--dashboard-muted);
	font-size: .78rem;
}

.dashboard-empty-ghost {
	position: absolute;
	inset: 1rem 1.5rem 1.5rem;
	display: flex;
	align-items: flex-end;
	gap: 3%;
	border-bottom: 1px solid var(--dashboard-border);
	opacity: .55;
}

.dashboard-empty-ghost span {
	flex: 1 1 0;
	border-radius: 3px 3px 0 0;
	background-color: var(--dashboard-soft);
}

.dashboard-empty--chart .dashboard-empty-body {
	padding: .9rem 1.25rem;
	border-radius: .75rem;
	background-color: var(--dashboard-surface);
}

.grid-stack-item[data-variant="filled"] .dashboard-kpi {
	background-color: var(--kpi-accent);
	border-color: var(--kpi-accent);
}

.grid-stack-item[data-variant="filled"] .dashboard-kpi :is(.dashboard-kpi-label, .dashboard-kpi-value, .dashboard-kpi-value small, .dashboard-kpi-foot) {
	color: #fff;
}

.grid-stack-item[data-variant="filled"] .dashboard-delta {
	background-color: rgb(255 255 255 / .2);
	color: #fff;
}

.grid-stack-item[data-variant="filled"] .dashboard-kpi-icon {
	background-color: rgb(255 255 255 / .2);
	color: #fff;
}

turbo-frame:has(> .dashboard-loading:not(.d-none)) :is(.dashboard-kpi, .dashboard-panel) > * {
	visibility: hidden;
}

turbo-frame:has(> .dashboard-loading:not(.d-none)) :is(.dashboard-kpi, .dashboard-panel)::before,
turbo-frame:has(> .dashboard-loading:not(.d-none)) :is(.dashboard-kpi, .dashboard-panel)::after {
	content: "";
	position: absolute;
	border-radius: .4rem;
	background: linear-gradient(90deg, var(--dashboard-soft) 25%, var(--dashboard-border) 50%, var(--dashboard-soft) 75%);
	background-size: 200% 100%;
	animation: dashboard-shimmer 1.4s ease-in-out infinite;
}

turbo-frame:has(> .dashboard-loading:not(.d-none)) .dashboard-kpi::before {
	top: .75rem;
	left: 1rem;
	width: 50%;
	height: .75rem;
}

turbo-frame:has(> .dashboard-loading:not(.d-none)) .dashboard-kpi::after {
	top: 2.25rem;
	left: 1rem;
	width: 25%;
	height: 1.2rem;
}

turbo-frame:has(> .dashboard-loading:not(.d-none)) .dashboard-panel::before {
	top: 1.1rem;
	left: 1.25rem;
	width: 25%;
	height: .75rem;
}

turbo-frame:has(> .dashboard-loading:not(.d-none)) .dashboard-panel::after {
	inset: 3.1rem 1.25rem 1.25rem;
}

@keyframes dashboard-shimmer {
	0% {
		background-position: 200% 0;
	}
	100% {
		background-position: -200% 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	turbo-frame:has(> .dashboard-loading:not(.d-none)) :is(.dashboard-kpi, .dashboard-panel)::before,
	turbo-frame:has(> .dashboard-loading:not(.d-none)) :is(.dashboard-kpi, .dashboard-panel)::after {
		animation: none;
	}
}
