.leave-preview-list {
	display: flex;
	flex-direction: column;
}
.leave-preview-item {
	padding: 0.75rem 0;
}
.leave-preview-item.has-marker {
	padding-left: 1.5rem;
	position: relative;
}
.leave-preview-item + .leave-preview-item {
	border-top: 1px solid var(--color-border, rgba(0, 0, 0, 0.08));
}
.leave-preview-marker {
	position: absolute;
	left: 0;
	top: 1rem;
	width: 0.75rem;
	height: 0.75rem;
	border-radius: 999px;
}
.leave-preview-heading {
	font-weight: 600;
}
.leave-preview-heading.blocked,
.leave-preview-warning {
	color: var(--color-error);
}
.dashboard-layout {
	display: flex;
	flex-direction: column;
	gap: var(--space-4);
}
.dashboard-identity-line {
	margin-top: 0.5rem;
}
.dashboard-header-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}
.dashboard-card-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 1rem;
}
.dashboard-card-grid-compact {
	grid-template-columns: minmax(240px, 360px);
}
.dashboard-focus-card {
	display: flex;
	align-items: flex-start;
	gap: 1rem;
	text-decoration: none;
	color: inherit;
	background: var(--card-bg);
	border: 1px solid var(--color-border);
	border-radius: 16px;
	padding: 1.25rem;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.dashboard-focus-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
	color: inherit;
}
.dashboard-focus-card.is-warning {
	border-top: 4px solid var(--color-warning);
}
.dashboard-focus-card.is-success {
	border-top: 4px solid var(--color-success);
}
.dashboard-focus-card.is-returned {
	border-top: 4px solid var(--color-error);
}
.dashboard-focus-card.is-approval {
	border-top: 4px solid var(--color-info);
}
.dashboard-focus-icon {
	font-size: 2rem;
	line-height: 1;
	color: var(--color-primary);
}
.dashboard-focus-card.is-warning .dashboard-focus-icon {
	color: var(--color-warning);
}
.dashboard-focus-card.is-success .dashboard-focus-icon {
	color: var(--color-success);
}
.dashboard-focus-card.is-returned .dashboard-focus-icon {
	color: var(--color-error);
}
.dashboard-focus-card.is-approval .dashboard-focus-icon {
	color: var(--color-info);
}
.dashboard-focus-content {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
}
.dashboard-focus-label {
	font-size: 0.875rem;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--color-text-muted);
}
.dashboard-focus-value {
	font-size: 2rem;
	font-weight: 700;
	line-height: 1;
}
.dashboard-section-head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1rem;
	margin-bottom: 1rem;
}
.dashboard-list,
.dashboard-log-list {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}
.dashboard-list-item,
.dashboard-log-item {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 1rem;
	background: var(--card-bg);
	border: 1px solid var(--color-border);
	border-radius: 16px;
	padding: 1rem 1.25rem;
}
.dashboard-list-main,
.dashboard-log-main {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	min-width: 0;
}
.dashboard-list-title {
	font-weight: 600;
}
.dashboard-list-subtitle {
	color: var(--color-text-muted);
}
.dashboard-list-actions {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}
.dashboard-log-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	align-items: center;
	font-size: 0.875rem;
	color: var(--color-text-muted);
}
.dashboard-log-source {
	display: inline-flex;
	align-items: center;
	padding: 0.15rem 0.6rem;
	border-radius: 999px;
	background: rgba(67, 97, 238, 0.1);
	color: var(--color-primary);
	font-weight: 600;
}
.dashboard-empty {
	border: 1px dashed var(--color-border);
	border-radius: 16px;
	padding: 1rem 1.25rem;
	color: var(--color-text-muted);
	background: var(--color-surface);
}
.dashboard-graph-card {
	background: var(--card-bg);
	border: 1px solid var(--color-border);
	border-radius: 16px;
	padding: 1rem 1.25rem;
}
.dashboard-graph {
	min-height: 320px;
}
.dashboard-table-shell {
	background: var(--card-bg);
	border: 1px solid var(--color-border);
	border-radius: 16px;
	overflow: hidden;
}
.dashboard-table-shell table {
	margin: 0;
}
.dashboard-table-primary {
	font-weight: 600;
}
.dashboard-table-link {
	white-space: nowrap;
}
@media (max-width: 768px) {
	.dashboard-section-head {
		flex-direction: column;
		align-items: flex-start;
	}
	.dashboard-card-grid-compact {
		grid-template-columns: 1fr;
	}
	.dashboard-graph {
		min-height: 240px;
	}
	.dashboard-table-link {
		min-width: 0;
	}
}
.leave-statistics-shell {
	background:
		radial-gradient(circle at top right, rgba(79, 124, 255, 0.12), transparent 24%),
		linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.98));
	border: 1px solid var(--color-border);
	border-radius: 24px;
	padding: 1.5rem;
	overflow: hidden;
	position: relative;
	box-shadow: 0 18px 45px -28px rgba(15, 23, 42, 0.45);
}
.leave-statistics-layout {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}
.leave-statistics-toolbar {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1rem;
	flex-wrap: wrap;
}
.leave-statistics-kicker {
	color: var(--color-primary);
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	margin-bottom: 0.35rem;
	text-transform: uppercase;
}
.leave-statistics-toolbar h2 {
	margin: 0;
	font-size: 1.4rem;
}
.leave-statistics-filter {
	display: flex;
	flex-direction: column;
	gap: 0.45rem;
	min-width: 180px;
}
.leave-statistics-filter > span:first-child {
	color: var(--color-text-muted);
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}
.leave-statistics-panel {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}
.leave-statistics-panel-header {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1rem;
	flex-wrap: wrap;
}
.leave-statistics-panel-header h3 {
	margin: 0.55rem 0 0 0;
	font-size: 1.2rem;
}
.leave-statistics-panel-total {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 0.2rem;
}
.leave-statistics-panel-total-value {
	color: var(--color-text);
	font-size: 2.1rem;
	font-weight: 700;
	line-height: 1;
}
.leave-statistics-panel-total-label {
	color: var(--color-text-muted);
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}
.leave-statistics-scope {
	margin: 0;
	max-width: 68ch;
}
.leave-statistics-bars {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}
.leave-statistics-bar-card {
	background: rgba(255, 255, 255, 0.86);
	border: 1px solid rgba(148, 163, 184, 0.18);
	border-radius: 20px;
	display: flex;
	flex-direction: column;
	gap: 0.85rem;
	padding: 1rem 1.1rem;
}
.leave-statistics-bar-card.is-over {
	background: linear-gradient(180deg, rgba(255, 245, 245, 0.98), rgba(255, 255, 255, 0.95));
	border-color: rgba(239, 106, 91, 0.35);
}
.leave-statistics-bar-top {
	align-items: flex-start;
	display: flex;
	gap: 1rem;
	justify-content: space-between;
}
.leave-statistics-bar-title-block {
	min-width: 0;
}
.leave-statistics-bar-title-block h4 {
	margin: 0;
	font-size: 1rem;
	line-height: 1.35;
}
.leave-statistics-bar-title-block .comment {
	margin: 0.35rem 0 0 0;
}
.leave-statistics-bar-values {
	align-items: flex-end;
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
	min-width: 128px;
	text-align: right;
}
.leave-statistics-bar-used,
.leave-statistics-bar-remaining {
	display: flex;
	align-items: baseline;
	gap: 5px;
}
.leave-statistics-bar-used strong {
	color: var(--color-text);
	font-size: 1.45rem;
	font-weight: 700;
	line-height: 1;
}
.leave-statistics-bar-used span,
.leave-statistics-bar-remaining span {
	color: var(--color-text-muted);
	font-size: 0.76rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}
.leave-statistics-bar-remaining strong {
	color: var(--color-text);
	font-size: 0.98rem;
	font-weight: 700;
}
.leave-statistics-meter {
	background: linear-gradient(90deg, rgba(226, 232, 240, 0.95), rgba(241, 245, 249, 0.9));
	border-radius: 999px;
	height: 14px;
	overflow: hidden;
	position: relative;
}
.leave-statistics-meter-fill {
	border-radius: 999px;
	box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.25);
	display: block;
	height: 100%;
}
.leave-statistics-meter-unlimited {
	background: repeating-linear-gradient(135deg,
			rgba(226, 232, 240, 0.9),
			rgba(226, 232, 240, 0.9) 10px,
			rgba(241, 245, 249, 0.96) 10px,
			rgba(241, 245, 249, 0.96) 20px);
}
.leave-statistics-footnote {
	color: var(--color-text-muted);
	font-size: 0.82rem;
	margin: 0;
}
.leave-statistics-footnote-warning {
	color: #c2410c;
	font-weight: 700;
}
@media (max-width: 720px) {
	.leave-statistics-shell {
		padding: 1rem;
	}
	.leave-statistics-toolbar,
	.leave-statistics-panel-header,
	.leave-statistics-bar-top {
		align-items: stretch;
		flex-direction: column;
	}
	.leave-statistics-filter,
	.leave-statistics-bar-values,
	.leave-statistics-panel-total {
		align-items: flex-start;
		min-width: 0;
		text-align: left;
	}
}
@media (max-width: 768px) {
	.dashboard-section-head,
	.dashboard-list-item,
	.dashboard-log-item {
		flex-direction: column;
	}
	.dashboard-header-actions {
		width: 100%;
	}
	.dashboard-header-actions .btn,
	.dashboard-list-actions .btn {
		width: 100%;
		justify-content: center;
	}
}