/* --- Blocks fill bar graph (red/yellow/green) --- */
.blocks-bargraph-outer {
	margin: 0.7rem 0 1.1rem 0;
}
.blocks-bargraph-bar {
	display: flex;
	height: 18px;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 1px 4px 0 rgba(111, 66, 193, 0.07);
	border: 1.5px solid var(--border-color);
	background: var(--bg-tertiary);
}
.blocks-bargraph-bar span {
	display: block;
	height: 100%;
}
.bar-empty {
	background: #ff4d4f;
}
.bar-filling {
	background: #ffd600;
}
.bar-filled {
	background: #00c853;
}
.blocks-bargraph-legend {
	display: flex;
	justify-content: space-between;
	font-size: 0.93rem;
	margin-top: 0.3rem;
	gap: 0.5rem;
}
.bar-empty-label {
	color: #ff4d4f;
	font-weight: 600;
}
.bar-filling-label {
	color: #bfa100;
	font-weight: 600;
}
.bar-filled-label {
	color: #00c853;
	font-weight: 600;
}
@media (max-width: 700px) {
	.blocks-bargraph-bar {
		height: 14px;
	}
	.blocks-bargraph-legend {
		font-size: 0.89rem;
	}
}
/* Statistiky panel: use same collapsible animation as other panels */
#users-section-empty .panel-content {
	transition:
		max-height 0.3s ease,
		opacity 0.3s ease,
		padding 0.3s ease;
	overflow: visible;
	max-height: 10000px;
	opacity: 1;
}
#users-section-empty .panel-content.collapsed {
	max-height: 0 !important;
	padding-top: 0 !important;
	padding-bottom: 0 !important;
	opacity: 0;
	overflow: hidden;
	pointer-events: none;
}
/* ========================================
   USERS PANEL (Admin)
   ======================================== */

.users-panel {
	background: var(--bg-card);
	border: 1px solid var(--border-color);
	border-radius: var(--radius-lg);
	margin-bottom: 1.5rem;
	overflow: hidden;
	animation: none !important;
	box-shadow: 0 6px 18px rgba(245, 158, 11, 0.06); /* subtle orange glow to match volunteers accent */
}

.guides-panel.users-panel {
	border: 2px solid var(--accent-primary);
	box-shadow: 0 6px 18px rgba(5, 150, 105, 0.12);
}

.guides-panel .panel-title i {
	color: var(--accent-primary);
}

.guides-panel .panel-header {
	padding-top: 0.88rem;
	padding-bottom: 0.88rem;
}

.guides-header-actions {
	display: inline-flex;
	align-items: center;
	gap: 0.7rem;
}

.guides-panel .panel-header .guides-create-note-btn {
	min-width: 0;
	padding: 0.42rem 0.72rem;
	font-size: 0.9rem;
}

.guides-panel .panel-header .guides-create-note-btn i {
	color: inherit;
}

.guides-panel .panel-header > .guides-create-note-btn {
	margin-left: auto;
	margin-right: 0.7rem;
}

/* Prevent notes list from being cut off: allow scrolling when there are many or long notes.
   Use overflow-y: scroll and touch-action so mobile (iOS/Android) gets a real scroll context. */
.guides-panel .panel-content {
	max-height: 75vh;
	max-height: min(75vh, 900px);
	overflow-y: scroll;
	overflow-x: hidden;
	-webkit-overflow-scrolling: touch;
	touch-action: pan-y;
	overscroll-behavior-y: contain;
	min-height: 0;
}

.guides-notes-content {
	display: flex;
	flex-direction: column;
	gap: 0.9rem;
}

.guide-notes-list {
	display: flex;
	flex-direction: column;
	gap: 0;
}

.guide-notes-empty {
	padding: 0.8rem 0.95rem;
	border: 1px dashed var(--border-color);
	border-radius: var(--radius-sm);
	color: var(--text-muted);
	font-size: 0.92rem;
}

.guide-note-item {
	border: none;
	border-radius: 0;
	background: transparent;
	padding: 1rem 0.12rem 0.94rem;
	border-radius: 10px;
}

.guide-note-item:last-child {
	padding-bottom: 0.2rem;
}

.guide-note-item.guide-note-hidden {
	opacity: 0.72;
	filter: saturate(0.55);
}

.guide-note-head {
	display: flex;
	gap: 0.55rem;
	padding-right: 0.34rem;
}

.guide-note-toggle {
	flex: 1;
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.7rem;
	padding: 0.2rem 0.4rem;
	border: none;
	border-radius: 10px;
	background: transparent;
	color: var(--text-primary);
	font-size: 1.28rem;
	font-weight: 700;
	text-align: left;
	cursor: pointer;
	transition:
		color 0.2s ease,
		transform 0.18s ease;
}

.guide-note-toggle-side {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	flex-shrink: 0;
}

.guide-note-indicators {
	display: inline-flex;
	align-items: center;
	justify-content: flex-end;
	min-width: 0.95rem;
}

.guide-note-title {
	text-decoration: none;
}

.guide-note-title-main {
	display: inline-flex;
	align-items: center;
	gap: 0.48rem;
}

.guide-note-title-icon {
	font-size: 0.82em;
	color: color-mix(in srgb, var(--accent-primary) 65%, var(--text-secondary));
	opacity: 0.96;
	transform: translateY(0.02em);
}

.guide-note-hidden-icon {
	font-size: 0.82em;
	opacity: 0.88;
	margin-left: 0.18rem;
	vertical-align: 0.02em;
}

.guide-note-priority-icon {
	font-size: 0.8rem;
	color: #fbbf24;
	filter: drop-shadow(0 0 6px rgba(251, 191, 36, 0.25));
	opacity: 0.95;
}

.guide-note-edit-btn {
	width: 34px;
	height: 34px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--border-light);
	border-radius: 9px;
	background: var(--bg-card);
	color: var(--text-secondary);
	cursor: pointer;
	transition: all 0.2s ease;
}

.guide-note-edit-btn:hover {
	color: var(--accent-primary);
	border-color: var(--accent-primary);
	background: color-mix(in srgb, var(--accent-primary) 13%, var(--bg-card));
}

.guide-note-toggle:focus-visible {
	outline: 2px solid color-mix(in srgb, var(--accent-primary) 72%, transparent);
	outline-offset: 2px;
}

.guide-note-chevron {
	display: inline-block;
	line-height: 1;
	transition:
		transform 0.2s ease,
		opacity 0.2s ease;
	opacity: 0.68;
	font-size: 1.06rem;
	cursor: pointer;
}

.guide-note-chevron.collapsed {
	transform: rotate(-90deg);
}

.guide-note-meta {
	margin-top: 0;
	display: block;
	padding: 0.5rem 0.42rem 0;
	cursor: pointer;
	border-radius: 8px;
}

.guide-meta-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 0.38rem;
}

.guide-meta-chip {
	display: inline-flex;
	align-items: center;
	gap: 0.28rem;
	padding: 0.15rem 0.46rem;
	border-radius: 999px;
	font-size: 0.74rem;
	font-weight: 600;
	border: 1px solid var(--border-light);
	color: var(--text-secondary);
	background: var(--bg-card);
	line-height: 1.22;
}

.guide-meta-chip i {
	font-size: 0.78rem;
}

.guide-place-dot {
	width: 0.6rem;
	height: 0.6rem;
	border-radius: 999px;
	box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.22);
	flex-shrink: 0;
}

.guide-note-body {
	margin-top: 0.55rem;
	padding: 0.72rem 0.42rem 0.35rem;
	border-top: 1px dashed var(--border-color);
	font-size: 0.91rem;
	line-height: 1.58;
	color: var(--text-secondary);
	max-height: 60vh;
	max-height: min(60vh, 500px);
	overflow-y: scroll;
	overflow-x: hidden;
	-webkit-overflow-scrolling: touch;
	touch-action: pan-y;
	opacity: 1;
	transform: translateY(0);
	transition:
		max-height 0.28s ease,
		opacity 0.22s ease,
		transform 0.22s ease,
		margin-top 0.28s ease,
		padding 0.28s ease,
		border-color 0.2s ease;
}

.guide-note-body.collapsed {
	max-height: 0;
	opacity: 0;
	margin-top: 0;
	padding-top: 0;
	padding-bottom: 0;
	border-top-color: transparent;
	transform: translateY(-4px);
	pointer-events: none;
}

.guide-note-body p {
	margin: 0;
}

.guide-note-body p + p {
	margin-top: 0.44rem;
}

.guide-note-body ul,
.guide-note-body ol {
	margin: 0.4rem 0 0.3rem 1.2rem;
	padding: 0;
}

.guide-note-body a {
	color: var(--accent-secondary);
	text-decoration: underline;
	text-decoration-thickness: 2px;
}

.guide-note-body-tools {
	display: flex;
	justify-content: flex-end;
	gap: 0.42rem;
	margin-bottom: 0.42rem;
}

.guide-note-download-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	padding: 0.24rem 0.56rem;
	border-radius: 8px;
	border: 1px solid var(--border-light);
	background: var(--bg-card);
	color: var(--text-secondary);
	font-size: 0.78rem;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.18s ease;
}

.guide-note-download-btn:hover {
	border-color: var(--accent-secondary);
	color: var(--accent-secondary);
	background: color-mix(in srgb, var(--accent-secondary) 11%, var(--bg-card));
}

.guide-note-download-btn i {
	font-size: 0.82rem;
}

.guide-note-download-btn-pdf {
	border-color: rgba(108, 117, 125, 0.28);
	color: #6c757d;
	background: color-mix(in srgb, #6c757d 8%, var(--bg-card));
}

.guide-note-download-btn-pdf:hover {
	border-color: rgba(108, 117, 125, 0.62);
	color: #5a6268;
	background: color-mix(in srgb, #6c757d 14%, var(--bg-card));
}

.guides-notes-content .guides-create-note-btn {
	align-self: flex-end;
}

@media (max-width: 768px) {
	.guides-panel .panel-header {
		padding-top: 0.72rem;
		padding-bottom: 0.72rem;
	}

	.guides-panel .panel-header .guides-create-note-btn {
		padding: 0.36rem 0.62rem;
	}

	/* Mobile: ensure notes list scroll works (fixed height + scroll) */
	.guides-panel .panel-content {
		max-height: 65vh;
		-webkit-overflow-scrolling: touch;
		touch-action: pan-y;
	}

	.guide-note-item {
		padding: 0.86rem 0.1rem 0.78rem;
	}

	.guide-note-toggle {
		padding: 0.14rem 0.22rem;
	}

	.guide-note-toggle-side {
		gap: 0.38rem;
	}

	.guide-note-edit-btn {
		width: 32px;
		height: 32px;
	}

	.guide-note-head {
		padding-right: 0.22rem;
	}

	.guide-note-title {
		font-size: 1.08rem;
	}

	.guides-notes-content .guides-create-note-btn {
		align-self: flex-end;
	}
}

/* Remove divider between panel header and search for volunteers panel */
.users-panel .panel-header {
	border-bottom: none;
}

@keyframes slideIn {
	from {
		opacity: 0;
		transform: translateY(-10px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.panel-header {
	padding: 1.25rem 1.5rem;
	border-bottom: 1px solid var(--border-color);
	background: var(--bg-elevated);
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.panel-title {
	margin: 0;
	font-size: 1rem;
	font-weight: 600;
	color: var(--text-primary);
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.panel-title i {
	color: var(--accent-secondary);
}

.users-list {
	list-style: none;
	margin: 0;
	padding: 1rem;
	max-height: 600px;
	overflow-y: auto;
}

#users-content {
	max-height: 700px;
}

/* Users Search Box */
.users-search {
	padding: 1rem 1rem 0.5rem;
	display: flex;
	gap: 0.75rem;
	align-items: center;
}

.users-search input {
	flex: 1;
	min-width: 0;
	padding-left: 1rem;
	background: var(--bg-tertiary);
	border: 1px solid var(--border-primary);
	color: var(--text-primary);
}

.users-search .form-select {
	width: auto;
	min-width: 140px;
	padding: 0.6rem 0.875rem;
	background: var(--bg-primary);
	border: 1px solid var(--border-primary);
	border-radius: 8px;
	color: var(--text-primary);
	font-size: 0.9rem;
	appearance: none;
	-webkit-appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 6l5 5 5-5' stroke='%23a0a0a0' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 12px center;
	background-size: 12px;
}

.users-search .form-select:focus {
	outline: none;
	border-color: var(--accent-primary);
	box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.15);
	color: var(--text-primary);
}

.users-search input:focus {
	background: var(--bg-tertiary);
	border-color: var(--accent-secondary);
	box-shadow: 0 0 0 2px rgba(0, 212, 255, 0.15);
	color: var(--text-primary);
}

.users-search input::placeholder {
	color: var(--text-muted);
}

@media (max-width: 768px) {
	.users-search {
		flex-direction: column;
		align-items: stretch;
		gap: 0.55rem;
		padding: 0.85rem 0.85rem 0.45rem;
	}

	.users-search .form-select {
		width: 100%;
		min-width: 0;
	}
}

/* ========================================
   USER LIST ITEMS
   ======================================== */

.user-item {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 1rem 1.25rem;
	margin: 0.5rem 0;
	background: var(--bg-tertiary);
	border: 1px solid var(--border-color);
	border-radius: var(--radius-md);
	transition: all var(--transition-fast);
}

.user-item:hover {
	background: var(--bg-elevated);
	border-color: var(--border-secondary);
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.user-info {
	flex: 1;
	min-width: 0;
}

.user-name {
	font-weight: 600;
	font-size: 1rem;
	color: var(--text-primary);
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin-bottom: 0.5rem;
}

.user-roles {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	margin-bottom: 0.35rem;
}

.user-email {
	font-size: 0.8rem;
	color: var(--text-muted);
	display: flex;
	align-items: center;
	gap: 0.35rem;
}

.user-email::before {
	content: "\F32F";
	font-family: "bootstrap-icons";
	font-size: 0.75rem;
}

.user-phone {
	font-size: 0.8rem;
	color: var(--text-muted);
	display: flex;
	align-items: center;
	gap: 0.35rem;
}

.user-phone:empty {
	display: none;
}

.user-phone::before {
	content: "\F5C1";
	font-family: "bootstrap-icons";
	font-size: 0.75rem;
}

.user-edit-indicator {
	color: var(--text-muted);
	font-size: 1.25rem;
	transition:
		transform var(--transition-fast),
		color var(--transition-fast);
}

.user-item:hover .user-edit-indicator {
	color: var(--accent-primary);
	transform: translateX(3px);
}

/* --- NEW Statistiky Panel Design --- */
#users-section-empty {
	border: 2.5px solid #6f42c1;
}
#users-section-empty .panel-header {
	background: var(--bg-elevated);
}
#users-section-empty .panel-title i {
	color: #6f42c1;
}
#users-section-empty .panel-header .panel-chevron {
	color: var(--text-muted);
	opacity: 0.6;
}

/* Ensure icon glyphs / SVGs inherit the color — override other rules if needed */
#users-section-empty .panel-header .panel-chevron,
#users-section-empty .panel-header .panel-chevron * {
	color: var(--text-muted) !important;
	fill: currentColor !important;
}
#users-section-empty .panel-content {
	padding: 1.1rem 0.7rem 1.2rem 0.7rem;
}

.stats-new {
	display: flex;
	flex-direction: column;
	gap: 2.2rem;
}
.stats-section {
	background: var(--bg-tertiary);
	border-radius: var(--radius-lg);
	box-shadow: 0 6px 18px rgba(111, 66, 193, 0.06);
	padding: 1.1rem 1rem 1.2rem 1rem;
	margin-bottom: 1.5rem;
}
.stats-heading {
	font-size: 1.08rem;
	font-weight: 700;
	color: #6f42c1;
	margin-bottom: 1.1rem;
	letter-spacing: 0.01em;
}
.stats-row {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.9rem;
	margin-bottom: 0.7rem;
}
.stats-card {
	min-width: 0;
	width: 100%;
	min-width: 0;
	background: var(--bg-card);
	border-radius: var(--radius-lg);
	box-shadow: 0 4px 12px rgba(111, 66, 193, 0.06);
	padding: 0.85rem 0.7rem 0.7rem 0.7rem;
	display: flex;
	align-items: center;
	gap: 0.7rem;
	border: 1px solid var(--border-color);
}
.stats-card i {
	font-size: 1.25rem;
	color: #6f42c1;
	min-width: 1.5em;
	text-align: center;
}
.stats-value {
	font-size: 1.18rem;
	font-weight: 800;
	color: var(--text-primary);
}
.stats-label {
	font-size: 0.89rem;
	color: var(--text-muted);
	font-weight: 500;
}

.stats-advanced-desc {
	font-size: 0.73rem;
	line-height: 1.25;
	color: var(--text-muted);
	margin-top: 0.25rem;
}

/* Timeline graph */
.stats-timeline {
	margin-top: 0.7rem;
	background: var(--bg-tertiary);
	border-radius: var(--radius-md);
	padding: 0.7rem 0.7rem 0.5rem 0.7rem;
	box-shadow: 0 4px 10px 0 rgba(111, 66, 193, 0.05);
}
.stats-timeline-label {
	font-size: 0.93rem;
	font-weight: 600;
	color: #6f42c1;
	margin-bottom: 0.3rem;
}
.stats-timeline-graph {
	width: 100%;
	min-height: 110px;
	margin-bottom: 0.3rem;
}
.stats-timeline-days {
	display: flex;
	justify-content: space-between;
	font-size: 0.85rem;
	color: var(--text-muted);
}
.stats-timeline-days b {
	color: #6f42c1;
}

/* Roles row */
.stats-roles-row {
	display: flex;
	flex-wrap: wrap;
	gap: 0.7rem 1.2rem;
	margin-top: 0.5rem;
}
.stats-role {
	display: flex;
	align-items: center;
	gap: 0.4rem;
	font-size: 0.97rem;
	color: #6f42c1;
	background: var(--bg-tertiary);
	border-radius: 6px;
	padding: 0.25rem 0.7rem 0.25rem 0.5rem;
	font-weight: 600;
}
.stats-role i {
	font-size: 1.1rem;
	margin-right: 0.2em;
}
.stats-role b {
	color: var(--text-primary);
	font-weight: 800;
}

/* Generic list cards for additional admin stats */
.stats-list {
	margin-top: 0.8rem;
	background: var(--bg-card);
	border: 1px solid var(--border-color);
	border-radius: var(--radius-md);
	padding: 0.45rem 0.7rem;
}

.stats-list-item {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 0.75rem;
	padding: 0.45rem 0;
	border-bottom: 1px solid var(--border-color);
}

.stats-list-item:last-child {
	border-bottom: none;
}

.stats-list-title {
	font-size: 0.92rem;
	font-weight: 600;
	color: var(--text-primary);
}

.stats-list-meta {
	font-size: 0.88rem;
	font-weight: 700;
	color: #6f42c1;
	white-space: nowrap;
}

.stats-list-empty {
	color: var(--text-muted);
	font-size: 0.9rem;
	padding: 0.25rem 0;
}

/* Infographics / graphs */
.stats-graphs-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0.9rem;
}

.stats-graph-card {
	background: var(--bg-card);
	border: 1px solid var(--border-color);
	border-radius: var(--radius-md);
	padding: 0.75rem;
	overflow: hidden;
}

.stats-graph-title {
	font-size: 0.92rem;
	font-weight: 700;
	color: #6f42c1;
	margin-bottom: 0.6rem;
}

.stats-bars {
	display: flex;
	flex-direction: column;
	gap: 0.45rem;
}

.stats-bar-row {
	display: grid;
	grid-template-columns: minmax(80px, 1.2fr) 3fr auto;
	align-items: center;
	gap: 0.55rem;
}

.stats-bar-label {
	font-size: 0.86rem;
	color: var(--text-secondary);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.stats-bar-track {
	height: 10px;
	background: var(--bg-tertiary);
	border: 1px solid var(--border-color);
	border-radius: 999px;
	overflow: hidden;
}

.stats-bar-fill {
	display: block;
	height: 100%;
	background: linear-gradient(90deg, #6f42c1, #00a3ff);
	border-radius: 999px;
}

.stats-bar-fill-alt {
	background: linear-gradient(90deg, #6f42c1, #9c27b0);
}

.stats-bar-fill-weekday {
	background: linear-gradient(90deg, #00a3ff, #26c6da);
}

.stats-bar-fill-type {
	background: linear-gradient(90deg, #9c27b0, #ef5350);
}

.stats-bar-fill-risk {
	background: linear-gradient(90deg, #ef5350, #ff9800);
}

.stats-bar-fill-warning {
	background: linear-gradient(90deg, #ff8f00, #ffd600);
}

.stats-bar-fill-load {
	background: linear-gradient(90deg, #26c6da, #6f42c1);
}

.stats-bar-value {
	font-size: 0.85rem;
	font-weight: 700;
	color: #6f42c1;
	min-width: 1.8rem;
	text-align: right;
}

.stats-donut-wrap {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 0.75rem;
	align-items: center;
}

.stats-donut-ring {
	width: 124px;
	height: 124px;
	border-radius: 50%;
	position: relative;
	flex-shrink: 0;
}

.stats-donut-center {
	position: absolute;
	inset: 18px;
	border-radius: 50%;
	background: var(--bg-card);
	border: 1px solid var(--border-color);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

.stats-donut-total {
	font-size: 1.08rem;
	font-weight: 800;
	color: var(--text-primary);
}

.stats-donut-caption {
	font-size: 0.75rem;
	color: var(--text-muted);
}

.stats-donut-legend {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
}

.stats-donut-legend-item {
	display: grid;
	grid-template-columns: 10px 1fr auto;
	align-items: center;
	gap: 0.45rem;
	font-size: 0.85rem;
	color: var(--text-secondary);
}

.stats-donut-legend-dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	display: inline-block;
}

.stats-donut-legend-item b {
	color: #6f42c1;
	font-weight: 700;
}

/* Responsive: stack cards vertically on small screens */
@media (max-width: 700px) {
	#users-section-empty .panel-content {
		max-height: none;
		overflow: visible;
	}

	#users-section-empty .panel-content.collapsed {
		overflow: hidden;
	}

	.stats-row {
		grid-template-columns: 1fr;
		gap: 0.7rem;
	}
	.stats-card {
		width: 100%;
		min-width: 0;
		max-width: 100%;
	}
	.stats-roles-row {
		flex-direction: column;
		gap: 0.4rem;
	}
	.stats-graphs-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 420px) {
	#users-section-empty .panel-content {
		padding: 0.7rem 0.2rem 1.1rem 0.2rem;
	}
	.stats-section {
		padding: 0.7rem 0.3rem 0.9rem 0.3rem;
	}
	.stats-heading {
		font-size: 1rem;
		margin-bottom: 0.7rem;
	}
	.stats-card {
		padding: 0.7rem 0.4rem 0.6rem 0.4rem;
		font-size: 0.97rem;
	}
	.stats-value {
		font-size: 1.05rem;
	}
	.stats-label {
		font-size: 0.82rem;
	}
	.stats-role {
		font-size: 0.93rem;
		padding: 0.18rem 0.5rem 0.18rem 0.4rem;
	}
	.stats-list-item {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.2rem;
	}
	.stats-list-meta {
		white-space: normal;
	}
	.stats-bar-row {
		grid-template-columns: 1fr;
		gap: 0.2rem;
	}
	.stats-bar-value {
		text-align: left;
	}
	.stats-donut-wrap {
		grid-template-columns: 1fr;
		justify-items: center;
	}
	.stats-donut-legend {
		width: 100%;
	}
	.stv-name {
		flex-basis: 80px;
		font-size: 0.93rem;
	}
}
