/*
 * Clockinator Pro — Shared UI Foundation
 * Phase 1: design tokens + reusable components.
 *
 * This stylesheet deliberately targets shared .btcl-pro-* components so
 * individual panels can be migrated incrementally without changing legacy
 * page markup or plugin business logic.
 */

body.btcl-pro-admin,
.btcl-frontend-main-container,
.btcl-pro-ui {
	--btcl-pro-primary: #635bff;
	--btcl-pro-primary-strong: #5746f0;
	--btcl-pro-primary-soft: #f1efff;
	--btcl-pro-text: #1f2937;
	--btcl-pro-muted: #6b7280;
	--btcl-pro-border: #e6e9f0;
	--btcl-pro-surface: #ffffff;
	--btcl-pro-surface-soft: #f7f8fc;
	--btcl-pro-success: #16a34a;
	--btcl-pro-warning: #f59e0b;
	--btcl-pro-danger: #ef4444;
	--btcl-pro-info: #3b82f6;
	--btcl-pro-radius-sm: 10px;
	--btcl-pro-radius-md: 14px;
	--btcl-pro-radius-lg: 20px;
	--btcl-pro-shadow-sm: 0 4px 16px rgba(15, 23, 42, 0.05);
	--btcl-pro-shadow-md: 0 12px 30px rgba(15, 23, 42, 0.08);
	--btcl-pro-focus: 0 0 0 3px rgba(99, 91, 255, 0.15);
}

body.btcl-pro-admin #wpcontent {
	background: #f5f6fb;
}

body.btcl-pro-admin #wpbody-content {
	padding-bottom: 40px;
}

.btcl-pro-ui,
.btcl-pro-admin .btcl-pro-page {
	color: var(--btcl-pro-text);
}

.btcl-pro-admin .btcl-pro-page {
	box-sizing: border-box;
	width: 100%;
	max-width: 1440px;
	margin: 0 auto;
	padding: 28px 30px 40px;
}

.btcl-pro-page-header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 24px;
	padding: 24px;
	margin-bottom: 22px;
	background: var(--btcl-pro-surface);
	border: 1px solid var(--btcl-pro-border);
	border-radius: var(--btcl-pro-radius-lg);
	box-shadow: var(--btcl-pro-shadow-sm);
}

.btcl-pro-page-header__eyebrow,
.btcl-pro-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 8px;
	font-size: 11px;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--btcl-pro-primary);
}

.btcl-pro-page-header h1,
.btcl-pro-page-header h2,
.btcl-pro-page-title {
	margin: 0;
	color: var(--btcl-pro-text);
	font-size: 28px;
	line-height: 1.15;
	font-weight: 750;
}

.btcl-pro-page-header p,
.btcl-pro-page-description {
	margin: 8px 0 0;
	color: var(--btcl-pro-muted);
	font-size: 14px;
	line-height: 1.6;
}

.btcl-pro-page-header__actions,
.btcl-pro-actions {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	flex-wrap: wrap;
	gap: 10px;
}

.btcl-pro-card,
.btcl-pro-kpi-card,
.btcl-pro-panel {
	background: var(--btcl-pro-surface);
	border: 1px solid var(--btcl-pro-border);
	border-radius: var(--btcl-pro-radius-md);
	box-shadow: var(--btcl-pro-shadow-sm);
}

.btcl-pro-card,
.btcl-pro-panel {
	padding: 22px;
}

.btcl-pro-card__header,
.btcl-pro-panel__header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 18px;
	margin-bottom: 18px;
}

.btcl-pro-card__title,
.btcl-pro-panel__title {
	margin: 0;
	font-size: 17px;
	line-height: 1.35;
	font-weight: 700;
	color: var(--btcl-pro-text);
}

.btcl-pro-card__description,
.btcl-pro-panel__description {
	margin: 5px 0 0;
	color: var(--btcl-pro-muted);
	font-size: 13px;
	line-height: 1.55;
}

.btcl-pro-kpi-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
}

.btcl-pro-kpi-card {
	position: relative;
	min-width: 0;
	padding: 18px;
	overflow: hidden;
}

.btcl-pro-kpi-card:before {
	content: "";
	position: absolute;
	left: 0;
	top: 16px;
	bottom: 16px;
	width: 3px;
	border-radius: 4px;
	background: #635bff;
}

.btcl-pro-kpi-card__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	margin-bottom: 12px;
	border-radius: 10px;
	background: #f0efff;
	color: #635bff;
}

.btcl-pro-kpi-card__label {
	display: block;
	margin-bottom: 5px;
	color: var(--btcl-pro-muted);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.btcl-pro-kpi-card__value {
	display: block;
	font-size: 27px;
	line-height: 1.1;
	font-weight: 750;
	color: var(--btcl-pro-text);
}

.btcl-pro-kpi-card__meta {
	display: block;
	margin-top: 7px;
	color: var(--btcl-pro-muted);
	font-size: 12px;
}

.btcl-pro-grid-2 {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
}

.btcl-pro-grid-3 {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
}

.btcl-pro-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	flex-wrap: wrap;
	padding: 16px;
	background: var(--btcl-pro-surface-soft);
	border: 1px solid var(--btcl-pro-border);
	border-radius: var(--btcl-pro-radius-md);
}

.btcl-pro-toolbar__group {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
	min-width: 0;
}

.btcl-pro-field,
.btcl-pro-form-field {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.btcl-pro-field label,
.btcl-pro-form-field label {
	font-size: 12px;
	font-weight: 650;
	color: var(--btcl-pro-text);
}

.btcl-pro-admin .btcl-pro-field input,
.btcl-pro-admin .btcl-pro-field select,
.btcl-pro-admin .btcl-pro-field textarea,
.btcl-pro-admin .btcl-pro-form-field input,
.btcl-pro-admin .btcl-pro-form-field select,
.btcl-pro-admin .btcl-pro-form-field textarea,
.btcl-pro-ui .btcl-pro-field input,
.btcl-pro-ui .btcl-pro-field select,
.btcl-pro-ui .btcl-pro-field textarea {
	box-sizing: border-box;
	width: 100%;
	min-height: 40px;
	padding: 9px 12px;
	border: 1px solid #d8dce6;
	border-radius: var(--btcl-pro-radius-sm);
	background: #fff;
	color: var(--btcl-pro-text);
	font-size: 13px;
	box-shadow: none;
	transition: border-color .18s ease, box-shadow .18s ease;
}

.btcl-pro-admin .btcl-pro-field textarea,
.btcl-pro-admin .btcl-pro-form-field textarea,
.btcl-pro-ui .btcl-pro-field textarea {
	min-height: 110px;
	resize: vertical;
}

.btcl-pro-admin .btcl-pro-field input:focus,
.btcl-pro-admin .btcl-pro-field select:focus,
.btcl-pro-admin .btcl-pro-field textarea:focus,
.btcl-pro-admin .btcl-pro-form-field input:focus,
.btcl-pro-admin .btcl-pro-form-field select:focus,
.btcl-pro-admin .btcl-pro-form-field textarea:focus {
	border-color: var(--btcl-pro-primary);
	box-shadow: var(--btcl-pro-focus);
	outline: none;
}

.btcl-pro-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 40px;
	padding: 9px 15px;
	border: 1px solid transparent;
	border-radius: 10px;
	font-size: 13px;
	font-weight: 700;
	line-height: 1;
	text-decoration: none;
	cursor: pointer;
	transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
	box-sizing: border-box;
}

.btcl-pro-btn:hover {
	transform: translateY(-1px);
}

.btcl-pro-btn:focus-visible {
	outline: none;
	box-shadow: var(--btcl-pro-focus);
}

.btcl-pro-btn--primary {
	background: var(--btcl-pro-primary);
	color: #fff;
	box-shadow: 0 8px 18px rgba(99, 91, 255, 0.2);
}

.btcl-pro-btn--primary:hover {
	background: var(--btcl-pro-primary-strong);
	color: #fff;
}

.btcl-pro-btn--secondary {
	background: #fff;
	color: var(--btcl-pro-text);
	border-color: var(--btcl-pro-border);
}

.btcl-pro-btn--danger {
	background: #fff;
	color: var(--btcl-pro-danger);
	border-color: #fecaca;
}

.btcl-pro-status {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 5px 9px;
	border-radius: 999px;
	font-size: 11px;
	font-weight: 700;
	line-height: 1;
	white-space: nowrap;
}

.btcl-pro-status:before {
	content: "";
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: currentColor;
}

.btcl-pro-status--success { background: #ecfdf3; color: var(--btcl-pro-success); }
.btcl-pro-status--warning { background: #fff7ed; color: var(--btcl-pro-warning); }
.btcl-pro-status--danger { background: #fef2f2; color: var(--btcl-pro-danger); }
.btcl-pro-status--info { background: #eff6ff; color: var(--btcl-pro-info); }
.btcl-pro-status--neutral { background: #f3f4f6; color: #6b7280; }

.btcl-pro-progress {
	height: 8px;
	overflow: hidden;
	border-radius: 999px;
	background: #edf0f6;
}

.btcl-pro-progress > span {
	display: block;
	height: 100%;
	border-radius: inherit;
	background: linear-gradient(90deg, var(--btcl-pro-primary), #7c73ff);
}

.btcl-pro-table-wrap {
	overflow-x: auto;
	border: 1px solid var(--btcl-pro-border);
	border-radius: var(--btcl-pro-radius-md);
	background: #fff;
}

.btcl-pro-table-wrap table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	font-size: 13px;
}

.btcl-pro-table-wrap th {
	padding: 12px 14px;
	background: #f7f8fc;
	border-bottom: 1px solid var(--btcl-pro-border);
	color: #596275;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .05em;
	text-transform: uppercase;
	white-space: nowrap;
	text-align: left;
}

.btcl-pro-table-wrap td {
	padding: 13px 14px;
	border-bottom: 1px solid #eef0f4;
	color: var(--btcl-pro-text);
	vertical-align: middle;
}

.btcl-pro-table-wrap tbody tr:last-child td {
	border-bottom: 0;
}

.btcl-pro-table-wrap tbody tr:hover td {
	background: #fbfbfe;
}

.btcl-pro-empty {
	padding: 34px 20px;
	text-align: center;
	border: 1px dashed #d9deea;
	border-radius: var(--btcl-pro-radius-md);
	background: #fbfcfe;
}

.btcl-pro-empty__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	margin-bottom: 12px;
	border-radius: 14px;
	background: var(--btcl-pro-primary-soft);
	color: var(--btcl-pro-primary);
}

.btcl-pro-empty h3 {
	margin: 0 0 6px;
	font-size: 15px;
	color: var(--btcl-pro-text);
}

.btcl-pro-empty p {
	margin: 0;
	color: var(--btcl-pro-muted);
	font-size: 13px;
}

.btcl-pro-modal-backdrop {
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	background: rgba(15, 23, 42, 0.48);
	backdrop-filter: blur(3px);
}

.btcl-pro-modal {
	width: min(760px, 100%);
	max-height: min(90vh, 840px);
	overflow: auto;
	background: #fff;
	border: 1px solid var(--btcl-pro-border);
	border-radius: var(--btcl-pro-radius-lg);
	box-shadow: 0 28px 70px rgba(15, 23, 42, 0.22);
}

.btcl-pro-modal__header,
.btcl-pro-modal__footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 18px 22px;
}

.btcl-pro-modal__header {
	border-bottom: 1px solid var(--btcl-pro-border);
}

.btcl-pro-modal__footer {
	justify-content: flex-end;
	border-top: 1px solid var(--btcl-pro-border);
}

.btcl-pro-modal__title {
	margin: 0;
	font-size: 18px;
	font-weight: 750;
	color: var(--btcl-pro-text);
}

.btcl-pro-modal__body {
	padding: 22px;
}

@media (max-width: 1100px) {
	.btcl-pro-kpi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.btcl-pro-grid-3 { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 782px) {
	.btcl-pro-admin .btcl-pro-page { padding: 20px 16px 32px; }
	.btcl-pro-page-header { flex-direction: column; padding: 20px; }
	.btcl-pro-page-header__actions { width: 100%; justify-content: flex-start; }
	.btcl-pro-grid-2,
	.btcl-pro-grid-3,
	.btcl-pro-kpi-grid { grid-template-columns: 1fr; }
	.btcl-pro-toolbar { align-items: stretch; }
	.btcl-pro-toolbar__group { width: 100%; }
	.btcl-pro-actions { width: 100%; justify-content: flex-start; }
	.btcl-pro-modal-backdrop { padding: 12px; align-items: flex-end; }
	.btcl-pro-modal { max-height: 94vh; border-radius: 18px 18px 0 0; }
}

@media (prefers-reduced-motion: reduce) {
	.btcl-pro-btn,
	.btcl-pro-admin .btcl-pro-field input,
	.btcl-pro-admin .btcl-pro-field select,
	.btcl-pro-admin .btcl-pro-field textarea,
	.btcl-pro-admin .btcl-pro-form-field input,
	.btcl-pro-admin .btcl-pro-form-field select,
	.btcl-pro-admin .btcl-pro-form-field textarea {
		transition: none;
	}
}

/* Phase 1 Step 7 — shared Pro admin shell and navigation. */
body.btcl-pro-admin #wpcontent {
	padding-left: 0;
	background: #f5f6fb;
}

body.btcl-pro-admin .horizontal-menu {
	position: relative;
	z-index: 20;
	background: #fff;
	border-bottom: 1px solid var(--btcl-pro-border);
	box-shadow: 0 6px 22px rgba(15, 23, 42, 0.05);
}

body.btcl-pro-admin .horizontal-menu .top-navbar {
	min-height: 68px;
	background: #fff;
	border-bottom: 1px solid #eef0f5;
}

body.btcl-pro-admin .horizontal-menu .nav-top > .container {
	min-height: 68px;
	max-width: 1440px;
	padding: 0 28px;
	box-sizing: border-box;
}

body.btcl-pro-admin .horizontal-menu .navbar-brand-wrapper {
	min-width: 190px;
	justify-content: flex-start !important;
}

body.btcl-pro-admin .horizontal-menu .brand-logo img,
body.btcl-pro-admin .horizontal-menu .brand-logo-mini img {
	display: block;
	max-height: 34px;
	width: auto;
	object-fit: contain;
}

body.btcl-pro-admin .horizontal-menu .navbar-menu-wrapper {
	min-width: 0;
}

body.btcl-pro-admin .horizontal-menu .nav-settings .nav-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 40px;
	padding: 9px 14px;
	border: 1px solid var(--btcl-pro-border);
	border-radius: 11px;
	background: #fff;
	color: var(--btcl-pro-text);
	font-size: 13px;
	font-weight: 650;
	text-decoration: none;
	transition: background .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}

body.btcl-pro-admin .horizontal-menu .nav-settings .nav-link:hover {
	border-color: #c9c6ff;
	background: var(--btcl-pro-primary-soft);
	color: var(--btcl-pro-primary-strong);
	transform: translateY(-1px);
}

body.btcl-pro-admin .horizontal-menu .btcl-pro-shell-nav {
	border: 0;
	margin: 0;
	background: #fff;
	box-shadow: none;
}

body.btcl-pro-admin .horizontal-menu .btcl-pro-shell-nav > .container {
	max-width: 1440px;
	padding: 10px 28px;
	box-sizing: border-box;
}

body.btcl-pro-admin .horizontal-menu .btcl-pro-shell-nav .page-navigation {
	display: flex;
	align-items: center;
	gap: 7px;
	margin: 0;
	padding: 0;
	min-width: max-content;
}

body.btcl-pro-admin .horizontal-menu .btcl-pro-shell-nav .page-navigation > .nav-item {
	margin: 0;
}

body.btcl-pro-admin .horizontal-menu .btcl-pro-shell-nav .page-navigation > .nav-item > .nav-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 38px;
	padding: 8px 11px;
	border: 1px solid transparent;
	border-radius: 10px 10px 0 0;
	color: var(--btcl-pro-text);
	font-size: 13px;
	font-weight: 550;
	line-height: 1;
	text-decoration: none;
	transition: background .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease;
}

body.btcl-pro-admin .horizontal-menu .btcl-pro-shell-nav .menu-icon {
	margin: 0;
	font-size: 15px;
	line-height: 1;
}

body.btcl-pro-admin .horizontal-menu .btcl-pro-shell-nav .menu-title {
	white-space: nowrap;
}

body.btcl-pro-admin .horizontal-menu .btcl-pro-shell-nav .page-navigation > .nav-item > .nav-link:hover {
	background: #f7f6ff;
	border-color: #eceaff;
	color: var(--btcl-pro-primary-strong);
}

body.btcl-pro-admin .horizontal-menu .btcl-pro-shell-nav .page-navigation > .nav-item.active > .nav-link {
	background: var(--btcl-pro-primary-soft);
	/* border-color: #ddd9ff; */
	color: var(--btcl-pro-primary-strong);
	/* box-shadow: inset 0 0 0 1px rgba(99, 91, 255, .04); */
}

body.btcl-pro-admin .horizontal-menu .btcl-pro-shell-nav .page-navigation > .nav-item.active > .nav-link::after {
	display: none;
}

@media (max-width: 1150px) {
	body.btcl-pro-admin .horizontal-menu .btcl-pro-shell-nav > .container,
	body.btcl-pro-admin .horizontal-menu .nav-top > .container {
		padding-left: 18px;
		padding-right: 18px;
	}

	body.btcl-pro-admin .horizontal-menu .btcl-pro-shell-nav > .container {
		overflow-x: auto;
		overflow-y: hidden;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: thin;
	}

	body.btcl-pro-admin .horizontal-menu .btcl-pro-shell-nav .page-navigation {
		gap: 5px;
	}
}

@media (max-width: 782px) {
	body.btcl-pro-admin .horizontal-menu .top-navbar {
		min-height: 58px;
	}

	body.btcl-pro-admin .horizontal-menu .nav-top > .container {
		min-height: 58px;
	}

	body.btcl-pro-admin .horizontal-menu .navbar-brand-wrapper {
		min-width: auto;
	}

	body.btcl-pro-admin .horizontal-menu .brand-logo img {
		max-height: 30px;
	}

	body.btcl-pro-admin .horizontal-menu .btcl-pro-shell-nav > .container {
		padding: 8px 12px;
	}

	body.btcl-pro-admin .horizontal-menu .btcl-pro-shell-nav .page-navigation > .nav-item > .nav-link {
		min-height: 36px;
		padding: 8px 10px;
		font-size: 12px;
	}
}

/* Phase 1 Step 8 — shared Pro content frame and page-header foundation. */
body.btcl-pro-admin #wpbody-content {
	box-sizing: border-box;
}

body.btcl-pro-admin .container-scroller {
	min-height: calc(100vh - 32px);
	background: transparent;
}

body.btcl-pro-admin .container-scroller > .page-body-wrapper {
	background: transparent;
}

body.btcl-pro-admin .main-panel .content-wrapper {
	box-sizing: border-box;
	max-width: 1440px;
	margin: 0 auto;
	padding: 28px 30px 42px;
	background: #f3f3f9;
}

/* Keep the redesigned dashboard on its own layout rules. */
body.btcl-pro-admin.btcl-pro-dashboard-screen .main-panel .content-wrapper {
	max-width: none;
	padding: 0;
}

/* Normalize the legacy card shell used by the remaining Pro pages. */
body.btcl-pro-admin:not(.btcl-pro-dashboard-screen) .main-panel .grid-margin > .card,
body.btcl-pro-admin:not(.btcl-pro-dashboard-screen) .main-panel > .card {
	border: 1px solid var(--btcl-pro-border);
	border-radius: var(--btcl-pro-radius-lg);
	background: var(--btcl-pro-surface);
	box-shadow: var(--btcl-pro-shadow-sm);
	overflow: hidden;
}

body.btcl-pro-admin:not(.btcl-pro-dashboard-screen) .main-panel .card-body {
	box-sizing: border-box;
	padding: 24px;
}

body.btcl-pro-admin:not(.btcl-pro-dashboard-screen) .main-panel .card-title {
	margin-top: 0;
	margin-bottom: 6px;
	color: var(--btcl-pro-text);
	font-size: 20px;
	font-weight: 750;
	line-height: 1.25;
}

body.btcl-pro-admin:not(.btcl-pro-dashboard-screen) .main-panel .card-description,
body.btcl-pro-admin:not(.btcl-pro-dashboard-screen) .main-panel .text-muted {
	color: var(--btcl-pro-muted);
}

body.btcl-pro-admin:not(.btcl-pro-dashboard-screen) .main-panel .top-add-btn,
body.btcl-pro-admin:not(.btcl-pro-dashboard-screen) .main-panel .btn-primary {
	border: 0;
	border-radius: 10px;
	background: var(--btcl-pro-primary);
	color: #fff;
	font-weight: 700;
	box-shadow: 0 8px 18px rgba(99, 91, 255, .18);
}

body.btcl-pro-admin:not(.btcl-pro-dashboard-screen) .main-panel .top-add-btn:hover,
body.btcl-pro-admin:not(.btcl-pro-dashboard-screen) .main-panel .btn-primary:hover {
	background: var(--btcl-pro-primary-strong);
	color: #fff;
}

.btcl-pro-page-header--compact {
	margin-bottom: 20px;
	padding: 20px 22px;
}

.btcl-pro-page-header--compact .btcl-pro-page-header__actions .btcl-pro-btn {
	min-height: 38px;
}

@media (max-width: 782px) {
	body.btcl-pro-admin .main-panel .content-wrapper {
		padding: 20px 16px 32px;
	}

	body.btcl-pro-admin:not(.btcl-pro-dashboard-screen) .main-panel .card-body {
		padding: 18px;
	}
}

/* Shared page-header utility additions for incremental Pro panel migration. */
.btcl-pro-page-header__content {
	min-width: 0;
}

.btcl-pro-page-header__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 8px;
	font-size: 11px;
	font-weight: 800;
	line-height: 1.3;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--btcl-pro-primary);
}

.btcl-pro-page-header--flush {
	margin-bottom: 0;
}

.btcl-pro-section + .btcl-pro-section {
	margin-top: 20px;
}

.btcl-pro-page-stack {
	display: grid;
	gap: 20px;
}

/* Phase 1 Step 9 — Employees panel */
.btcl-pro-employees-page{max-width:1480px;}
.btcl-pro-employees-header{margin-bottom:18px}
.btcl-pro-employee-kpis{margin-bottom:18px}
.btcl-pro-kpi-card--purple:before{background:#635bff}
.btcl-pro-kpi-card--green:before{background:#16a34a}
.btcl-pro-kpi-card--green .btcl-pro-kpi-card__icon{background:#eafaf1;color:#16a34a}
.btcl-pro-kpi-card--blue:before{background:#3b82f6}
.btcl-pro-kpi-card--blue .btcl-pro-kpi-card__icon{background:#eaf3ff;color:#3b82f6}
.btcl-pro-kpi-card--red:before{background:#ef4444}
.btcl-pro-kpi-card--red .btcl-pro-kpi-card__icon{background:#fff0f2;color:#ef4444}
.btcl-pro-employee-insights{margin-bottom:18px}
.btcl-pro-employee-insight{min-height:228px}
.btcl-pro-muted-icon{color:#a0a8b6;font-size:13px}
.btcl-pro-employee-health{display:flex;align-items:center;gap:24px;min-height:145px}
.btcl-pro-employee-donut{position:relative;display:flex;align-items:center;justify-content:center;flex:0 0 132px;width:132px;height:132px;border-radius:50%;background:conic-gradient(#635bff var(--btcl-pro-online-angle),#e8ebf1 0deg)}
.btcl-pro-employee-donut:before{content:"";position:absolute;inset:12px;border-radius:50%;background:#fff}
.btcl-pro-employee-donut>div{position:relative;z-index:1;text-align:center}
.btcl-pro-employee-donut strong{display:block;font-size:24px;line-height:1;font-weight:800;color:#172033}
.btcl-pro-employee-donut span{display:block;margin-top:6px;font-size:10px;color:#98a2b3;text-transform:uppercase;letter-spacing:.04em}
.btcl-pro-health-legend{display:grid;gap:16px;flex:1}
.btcl-pro-health-legend>div{display:flex;align-items:center;gap:9px}
.btcl-pro-health-legend strong{display:block;color:#172033;font-size:18px;line-height:1}
.btcl-pro-health-legend small{display:block;margin-top:3px;color:#98a2b3;font-size:10px}
.btcl-pro-dot{width:8px;height:8px;border-radius:50%;flex:0 0 8px}
.btcl-pro-dot--success{background:#16b979}
.btcl-pro-dot--muted{background:#c8ced9}
.btcl-pro-department-list{display:grid;gap:14px;padding-top:3px}
.btcl-pro-department-label{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:7px}
.btcl-pro-department-label span{min-width:0;color:#475467;font-size:11px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.btcl-pro-department-label strong{color:#172033;font-size:11px;font-weight:800}
.btcl-pro-department-track{height:7px;border-radius:999px;overflow:hidden;background:#eef0f4}
.btcl-pro-department-track span{display:block;height:100%;min-width:3px;border-radius:inherit;background:linear-gradient(90deg,#635bff,#8b83ff)}
.btcl-pro-directory-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.btcl-pro-directory-stats>div{padding:14px 12px;background:#f8f9fc;border:1px solid #eceff3;border-radius:12px}
.btcl-pro-directory-stats span{display:block;color:#98a2b3;font-size:9px;font-weight:750;text-transform:uppercase;letter-spacing:.05em}
.btcl-pro-directory-stats strong{display:block;margin-top:6px;color:#172033;font-size:23px;line-height:1;font-weight: 700;}
.btcl-pro-directory-note{display:flex;align-items:flex-start;gap:8px;margin-top:17px;padding-top:14px;border-top:1px solid #eef0f4;color:#98a2b3;font-size:10px;line-height:1.5}
.btcl-pro-directory-note i{color:#635bff;margin-top:1px}
.btcl-pro-employee-directory{margin-bottom:18px}
.btcl-pro-directory-header{margin-bottom:16px}
.btcl-pro-count-badge{display:inline-flex;align-items:baseline;gap:6px;padding:9px 12px;border-radius:11px;background:#f0efff;color:#635bff;font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.04em;white-space:nowrap}
.btcl-pro-count-badge strong{font-size:18px;line-height:1}
.btcl-pro-employee-toolbar{display:block;margin-bottom:18px;overflow-x:auto;overflow-y:visible}
.btcl-pro-employee-filter-form{display:grid;grid-template-columns:minmax(260px,2fr) repeat(4,minmax(145px,1fr)) auto;gap:10px;align-items:end;width:100%;min-width:1100px}
.btcl-pro-employee-filter-form .btcl-pro-field{min-width:0}
.btcl-pro-employee-search{min-width:0}
.btcl-pro-input-icon{position:relative}
.btcl-pro-input-icon>i{position:absolute;left:12px;top:50%;transform:translateY(-50%);z-index:2;color:#98a2b3;font-size:12px}
.btcl-pro-input-icon input{width:100%;height:42px;padding:0 12px 0 34px;border:1px solid #dfe3eb;border-radius:10px;background:#fff;color:#344054;font-size:12px;box-sizing:border-box}
.btcl-pro-input-icon input:focus{outline:0;border-color:#b8b0ff;box-shadow:0 0 0 3px rgba(99,91,255,.08)}
.btcl-pro-employee-filter-form .btcl-pro-field .form-control{/* height:42px!important; */}
.btcl-pro-toolbar-actions{display:flex;gap:8px;align-items:center}
.btcl-pro-toolbar-actions .btcl-pro-btn{height:42px;white-space:nowrap}
.btcl-pro-filter-meta{margin-top:9px;color:#98a2b3;font-size:10px}
.btcl-pro-employee-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;align-items:stretch;width:100%}
.btcl-pro-employee-grid > .btcl-pro-employee-card{width:auto;min-width:0;max-width:none;grid-column:auto}
.btcl-pro-employee-card{display:flex;flex-direction:column;min-width:0;min-height:355px;padding:0;background:#fff;border:1px solid #e7eaf0;border-radius:16px;box-shadow:0 7px 22px rgba(31,41,55,.045);overflow:hidden;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
.btcl-pro-employee-card:hover{transform:translateY(-3px);border-color:#d9d5ff;box-shadow:0 15px 32px rgba(31,41,55,.08)}
.btcl-pro-employee-card__top{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 14px;border-bottom:1px solid #f0f2f6}
.btcl-pro-live-status{display:inline-flex;align-items:center;gap:7px;color:#667085;font-size:10px;font-weight:750;text-transform:uppercase;letter-spacing:.04em}
.btcl-pro-live-dot{width:7px;height:7px;border-radius:50%;box-shadow:0 0 0 3px #eef1f5}
.btcl-pro-live-dot.is-online{background:#16b979;box-shadow:0 0 0 3px #e9fbf5}
.btcl-pro-live-dot.is-offline{background:#f1a928;box-shadow:0 0 0 3px #fff5df}
.btcl-pro-employee-menu{color:#a5adba;font-size:12px}
.btcl-pro-employee-card__main{text-align:center;padding:18px 18px 12px}
.btcl-pro-employee-avatar-wrap{display:flex;justify-content:center;margin-bottom:10px}
.btcl-pro-employee-avatar{width:76px;height:76px;border-radius:50%;object-fit:cover;border:4px solid #f3f2ff;box-shadow:0 0 0 1px #e8e5ff}
.btcl-pro-employee-avatar--initials{display:flex;align-items:center;justify-content:center;background:#f0efff;color:#635bff;font-size:20px;font-weight:800}
.btcl-pro-employee-card__main h3{margin:0;color:#172033;font-size:16px;font-weight:800}
.btcl-pro-employee-card__main p{margin:5px 0 9px;color:#98a2b3;font-size:11px}
.btcl-pro-department-chip{display:inline-flex;align-items:center;gap:6px;max-width:100%;padding:6px 9px;border-radius:999px;background:#f7f8fb;color:#667085;font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.btcl-pro-department-chip i{color:#635bff}
.btcl-pro-employee-card__meta{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:0 18px 14px}
.btcl-pro-employee-card__meta>div{padding:11px 10px;background:#f8f9fc;border:1px solid #edf0f4;border-radius:11px;min-width:0}
.btcl-pro-employee-card__meta span{display:block;color:#98a2b3;font-size:9px;font-weight:750;text-transform:uppercase;letter-spacing:.04em}
.btcl-pro-employee-card__meta strong{display:block;margin-top:5px;color:#475467;font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.btcl-pro-employee-card__footer{margin-top:auto;padding:13px 18px 14px;border-top:1px solid #f0f2f6}
.btcl-pro-socials{/* display:flex; */gap:7px;margin: 0 auto;display: table;margin-bottom: 10px;}
.btcl-pro-socials a{width:32px;height:32px;display:inline-flex;align-items:center;justify-content:center;border:1px solid #e6e9ef;border-radius:9px;background:#f8f9fc;color:#637083;text-decoration:none;margin-right: 5px;}
.btcl-pro-socials a:hover{color:#635bff;border-color:#d9d5ff;background:#f4f2ff}
.btcl-pro-employee-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.btcl-pro-employee-actions .btcl-pro-btn{min-height:38px;font-size:10px}
.btcl-pro-inline-link{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0;padding:11px 18px;border-top:1px solid #f0f2f6;color:#635bff;font-size:10px;font-weight:750;text-decoration:none;background:#fcfcff}
.btcl-pro-inline-link:hover{background:#f7f6ff;color:#5746f0;text-decoration:none}
.btcl-pro-inline-link .fa-chart-line{margin-right:auto}
.btcl-pro-empty-state,.btcl-pro-employee-empty{display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;color:#98a2b3}
.btcl-pro-empty-state{min-height:220px;padding:28px;border:1px dashed #dfe3ec;border-radius:14px;background:#fbfcff}
.btcl-pro-empty-state>span{width:46px;height:46px;display:flex;align-items:center;justify-content:center;border-radius:13px;background:#efedff;color:#635bff;font-size:18px}
.btcl-pro-empty-state strong{margin-top:11px;color:#344054;font-size:13px}
.btcl-pro-empty-state p{margin:6px 0 0;color:#98a2b3;font-size:10px}
.btcl-pro-employee-empty{min-height:130px;gap:8px;font-size:10px}

@media (max-width: 1100px){
  .btcl-pro-employee-toolbar{padding-bottom:4px}
}
@media (max-width: 1050px){
  .btcl-pro-employee-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width: 900px){
  .btcl-pro-kpi-grid.btcl-pro-employee-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}
  .btcl-pro-grid-3.btcl-pro-employee-insights{grid-template-columns:1fr}
  .btcl-pro-employee-toolbar{overflow-x:visible}
  .btcl-pro-employee-filter-form{grid-template-columns:1fr 1fr;min-width:0}
  .btcl-pro-employee-search{grid-column:1/-1}
}
@media (max-width: 640px){
  .btcl-pro-employees-header{align-items:stretch;flex-direction:column}
  .btcl-pro-employees-header .btcl-pro-page-header__actions{justify-content:stretch}
  .btcl-pro-employees-header .btcl-pro-page-header__actions .btcl-pro-btn{flex:1}
  .btcl-pro-kpi-grid.btcl-pro-employee-kpis,.btcl-pro-employee-grid,.btcl-pro-employee-filter-form{grid-template-columns:1fr}
  .btcl-pro-employee-filter-form .btcl-pro-field,.btcl-pro-toolbar-actions{grid-column:auto}
  .btcl-pro-toolbar-actions{display:grid;grid-template-columns:1fr 1fr}
  .btcl-pro-toolbar-actions .btcl-pro-btn{justify-content:center}
  .btcl-pro-employee-health{gap:16px}
  .btcl-pro-employee-donut{flex-basis:110px;width:110px;height:110px}
}

/* Phase 1 Step 10 follow-up — keep Employee filters on one desktop row. */
.btcl-pro-employees-page .btcl-pro-employee-toolbar {
	width: 100%;
	overflow-x: auto;
	overflow-y: visible;
	-webkit-overflow-scrolling: touch;
}
.btcl-pro-employees-page .btcl-pro-employee-filter-form {
	display: grid !important;
	grid-template-columns: minmax(235px, 1.6fr) repeat(4, minmax(145px, 1fr)) auto !important;
	gap: 10px !important;
	align-items: end !important;
	width: max-content !important;
	min-width: 1180px !important;
}
.btcl-pro-employees-page .btcl-pro-employee-filter-form .btcl-pro-field,
.btcl-pro-employees-page .btcl-pro-employee-search,
.btcl-pro-employees-page .btcl-pro-toolbar-actions {
	grid-column: auto !important;
	min-width: 0;
}
.btcl-pro-employees-page .btcl-pro-toolbar-actions {
	display: flex !important;
	flex-wrap: nowrap !important;
	white-space: nowrap;
}
@media (max-width: 900px) {
	.btcl-pro-employees-page .btcl-pro-employee-toolbar {
		overflow-x: auto !important;
	}
	.btcl-pro-employees-page .btcl-pro-employee-filter-form {
		grid-template-columns: minmax(235px, 1.6fr) repeat(4, minmax(145px, 1fr)) auto !important;
		min-width: 1180px !important;
	}
}

/* Phase 1 Step 12 — Departments */
.btcl-pro-departments-page {
	max-width: 1480px;
}
.btcl-pro-department-kpis {
	grid-template-columns: repeat(4, minmax(0, 1fr));
	margin-bottom: 18px;
}
.btcl-pro-department-kpis .btcl-pro-kpi-card__icon {
	background: var(--btcl-pro-primary-soft);
}
.btcl-pro-department-kpis .btcl-dept-kpi-success .btcl-pro-kpi-card__icon { background: #ecfdf3; color: var(--btcl-pro-success); }
.btcl-pro-department-kpis .btcl-dept-kpi-success:before { background: var(--btcl-pro-success); }
.btcl-pro-department-kpis .btcl-dept-kpi-warning .btcl-pro-kpi-card__icon { background: #fff7ed; color: var(--btcl-pro-warning); }
.btcl-pro-department-kpis .btcl-dept-kpi-warning:before { background: var(--btcl-pro-warning); }
.btcl-pro-department-kpis .btcl-dept-kpi-info .btcl-pro-kpi-card__icon { background: #eff6ff; color: var(--btcl-pro-info); }
.btcl-pro-department-kpis .btcl-dept-kpi-info:before { background: var(--btcl-pro-info); }
.btcl-pro-department-overview-grid { margin-bottom: 18px; }
.btcl-pro-department-bars { display: grid; gap: 14px; }
.btcl-pro-department-bar-row { display: grid; gap: 7px; }
.btcl-pro-department-bar-head { display:flex; align-items:center; justify-content:space-between; gap:16px; font-size:13px; color:var(--btcl-pro-text); }
.btcl-pro-department-bar-head > span { display:inline-flex; align-items:center; gap:8px; min-width:0; }
.btcl-pro-department-dot { width:8px; height:8px; border-radius:50%; flex:0 0 auto; }
.btcl-pro-progress-track { height:8px; background:#edf0f5; border-radius:999px; overflow:hidden; }
.btcl-pro-progress-track span { display:block; height:100%; min-width:0; border-radius:999px; }
.btcl-pro-department-insight-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.btcl-pro-insight-tile { padding:15px; border:1px solid var(--btcl-pro-border); border-radius:12px; background:#fbfcff; }
.btcl-pro-insight-tile__label { display:block; margin-bottom:6px; color:var(--btcl-pro-muted); font-size:10px; font-weight:700; letter-spacing:.06em; text-transform:uppercase; }
.btcl-pro-insight-tile strong { display:block; color:var(--btcl-pro-text); font-size:18px; line-height:1.2; }
.btcl-pro-insight-tile small { display:block; margin-top:6px; color:var(--btcl-pro-muted); font-size:11px; }
.btcl-pro-insight-tile a { color:var(--btcl-pro-primary); text-decoration:none; font-weight:600; }
.btcl-pro-department-directory { margin-bottom:20px; }
.btcl-pro-department-count { display:flex; align-items:baseline; gap:6px; padding:9px 12px; border-radius:10px; background:var(--btcl-pro-primary-soft); color:var(--btcl-pro-primary); }
.btcl-pro-department-count strong { font-size:18px; }
.btcl-pro-department-count span { font-size:11px; font-weight:650; }
.btcl-pro-department-card-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; }
.btcl-pro-department-card { position:relative; overflow:hidden; min-width:0; padding:18px; border:1px solid var(--btcl-pro-border); border-radius:16px; background:#fff; box-shadow:var(--btcl-pro-shadow-sm); }
.btcl-pro-department-card__accent { position:absolute; top:0; left:0; right:0; height:4px; }
.btcl-pro-department-card__top { display:flex; align-items:center; justify-content:space-between; gap:10px; margin-top:3px; }
.btcl-pro-department-avatar { width:42px; height:42px; display:inline-flex; align-items:center; justify-content:center; border-radius:12px; font-size:15px; }
.btcl-pro-department-card h3 { margin:16px 0 6px; font-size:17px; line-height:1.3; color:var(--btcl-pro-text); }
.btcl-pro-department-members { margin:0; color:var(--btcl-pro-muted); font-size:13px; }
.btcl-pro-department-members strong { color:var(--btcl-pro-text); }
.btcl-pro-department-meta { display:flex; align-items:center; gap:14px; margin-top:16px; padding-top:13px; border-top:1px solid var(--btcl-pro-border); color:var(--btcl-pro-muted); font-size:11px; }
.btcl-pro-department-meta span { display:inline-flex; align-items:center; gap:6px; }
.btcl-pro-department-actions { margin-top:16px; display:grid; grid-template-columns:1fr 1fr; }
.btcl-pro-department-actions .btcl-pro-btn { width:100%; }
.btcl-pro-status--success { background:#ecfdf3; color:#15803d; }
.btcl-pro-status--muted { background:#f3f4f6; color:#6b7280; }
.btcl-pro-empty-state { min-height:220px; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:8px; padding:28px; border:1px dashed var(--btcl-pro-border); border-radius:14px; color:var(--btcl-pro-muted); text-align:center; }
.btcl-pro-empty-state i { display:inline-flex; align-items:center; justify-content:center; width:46px; height:46px; border-radius:13px; background:var(--btcl-pro-primary-soft); color:var(--btcl-pro-primary); font-size:18px; }
.btcl-pro-empty-state strong { color:var(--btcl-pro-text); font-size:15px; }
.btcl-pro-empty-state span { max-width:420px; font-size:12px; line-height:1.5; }
.btcl-pro-empty-state--compact { min-height:150px; }
.btcl-pro-modal-dialog { max-width:620px; }
.btcl-pro-modal { border:1px solid var(--btcl-pro-border); border-radius:18px; overflow:hidden; box-shadow:0 24px 60px rgba(15,23,42,.18); }
.btcl-pro-modal .modal-header { padding:22px 24px 16px; border-bottom:1px solid var(--btcl-pro-border); }
.btcl-pro-modal .modal-title { margin:0; color:var(--btcl-pro-text); font-size:20px; font-weight:750; }
.btcl-pro-modal .modal-header p { margin:5px 0 0; color:var(--btcl-pro-muted); font-size:12px; }
.btcl-pro-modal .modal-body { padding:22px 24px 24px; }
.btcl-pro-form { display:grid; gap:16px; }
.btcl-pro-form-grid { display:grid; gap:14px; }
.btcl-pro-form-grid--2 { grid-template-columns:repeat(2,minmax(0,1fr)); }
.btcl-pro-form .btcl-pro-form-field { display:flex; flex-direction:column; gap:6px; }
.btcl-pro-form .btcl-pro-form-field label { margin:0; color:var(--btcl-pro-text); font-size:12px; font-weight:650; }
.btcl-pro-form .btcl-pro-form-field input,
.btcl-pro-form .btcl-pro-form-field select { width:100%; min-height:42px; padding:9px 12px; border:1px solid #d8dce6; border-radius:10px; background:#fff; color:var(--btcl-pro-text); font-size:13px; box-sizing:border-box; }
.btcl-pro-modal-actions { display:flex; justify-content:flex-end; gap:10px; margin-top:4px; padding-top:16px; border-top:1px solid var(--btcl-pro-border); }
.btcl-pro-legacy-table { position:absolute !important; width:1px !important; height:1px !important; padding:0 !important; margin:-1px !important; overflow:hidden !important; clip:rect(0,0,0,0) !important; white-space:nowrap !important; border:0 !important; }
body.btcl-pro-admin .btcl-pro-departments-page .close { font-size:28px; opacity:.55; }
@media (max-width: 1200px) {
	.btcl-pro-department-kpis { grid-template-columns:repeat(2,minmax(0,1fr)); }
	.btcl-pro-department-card-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width: 782px) {
	.btcl-pro-department-kpis,
	.btcl-pro-department-card-grid,
	.btcl-pro-department-insight-grid,
	.btcl-pro-form-grid--2 { grid-template-columns:1fr; }
	.btcl-pro-department-overview-grid { grid-template-columns:1fr; }
	.btcl-pro-department-actions { grid-template-columns:1fr; }
	.btcl-pro-page-header { flex-direction:column; }
	.btcl-pro-page-header__actions { width:100%; justify-content:flex-start; }
}

/* Phase 1 Step 13 — Locations panel */
.btcl-pro-location-page {
	--btcl-location-purple: var(--btcl-pro-primary, #635bff);
	max-width: 1480px;
	margin: 0 auto;
	color: #172033;
	margin-top: 20px;
}

.btcl-pro-location-kpis .btcl-pro-kpi-card__icon {
	background: #f1efff;
}

.btcl-pro-location-kpi--success:before { background: var(--btcl-pro-success) !important; }
.btcl-pro-location-kpi--success .btcl-pro-kpi-card__icon { color: var(--btcl-pro-success); background: #ecfdf3; }
.btcl-pro-location-kpi--warning:before { background: var(--btcl-pro-warning) !important; }
.btcl-pro-location-kpi--warning .btcl-pro-kpi-card__icon { color: var(--btcl-pro-warning); background: #fff7ed; }
.btcl-pro-location-kpi--info:before { background: var(--btcl-pro-info) !important; }
.btcl-pro-location-kpi--info .btcl-pro-kpi-card__icon { color: var(--btcl-pro-info); background: #eff6ff; }

.btcl-pro-location-overview {
	margin-top: 18px;
}

.btcl-pro-eyebrow i {
	font-size: 11px;
}

.btcl-pro-location-coverage {
	padding-top: 8px;
}

.btcl-pro-location-coverage__track {
	position: relative;
	height: 10px;
	overflow: hidden;
	border-radius: 999px;
	background: #eceff5;
}

.btcl-pro-location-coverage__track span {
	display: block;
	height: 100%;
	border-radius: inherit;
	background: linear-gradient(90deg, #635bff, #8b5cf6);
}

.btcl-pro-location-coverage__meta {
	display: flex;
	justify-content: space-between;
	margin-top: 10px;
	font-size: 12px;
	font-weight: 600;
	color: var(--btcl-pro-muted);
}

.btcl-pro-status--neutral {
	color: #64748b;
	background: #f1f5f9;
}

.btcl-pro-status--success {
	color: var(--btcl-pro-success);
	background: #ecfdf3;
}

.btcl-pro-location-stat-list {
	display: grid;
	gap: 10px;
}

.btcl-pro-location-stat-list > div {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 12px 14px;
	border: 1px solid var(--btcl-pro-border);
	border-radius: 12px;
	background: #fbfcfe;
}

.btcl-pro-location-stat-list span {
	font-size: 12px;
	color: var(--btcl-pro-muted);
}

.btcl-pro-location-stat-list strong {
	font-size: 16px;
	color: var(--btcl-pro-text);
}

.btcl-pro-location-directory {
	margin-top: 18px;
}

.btcl-pro-location-directory__count {
	display: inline-flex;
	align-items: baseline;
	gap: 5px;
	padding: 8px 12px;
	border-radius: 999px;
	background: var(--btcl-pro-primary-soft);
	color: var(--btcl-pro-primary);
}

.btcl-pro-location-directory__count strong {
	font-size: 18px;
}

.btcl-pro-location-directory__count span {
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .06em;
}

.btcl-pro-location-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
}

.btcl-pro-location-card {
	min-width: 0;
	padding: 18px;
	border: 1px solid var(--btcl-pro-border);
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 6px 20px rgba(15, 23, 42, .045);
	transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.btcl-pro-location-card:hover {
	transform: translateY(-2px);
	border-color: #d9d4ff;
	box-shadow: 0 12px 28px rgba(15, 23, 42, .08);
}

.btcl-pro-location-card__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-bottom: 16px;
}

.btcl-pro-location-card__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 12px;
	background: var(--btcl-pro-primary-soft);
	color: var(--btcl-pro-primary);
	font-size: 16px;
}

.btcl-pro-location-card__title {
	margin: 0;
	font-size: 17px;
	font-weight: 750;
	line-height: 1.3;
	color: var(--btcl-pro-text);
}

.btcl-pro-location-card__timezone {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-top: 7px;
	color: var(--btcl-pro-muted);
	font-size: 12px;
	font-weight: 600;
}

.btcl-pro-location-card__timezone i {
	color: var(--btcl-pro-primary);
}

.btcl-pro-location-card__description {
	min-height: 42px;
	margin: 14px 0;
	font-size: 12px;
	line-height: 1.6;
	color: #536074;
}

.btcl-pro-location-card__description--muted {
	color: #98a2b3;
}

.btcl-pro-location-card__stats {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
	margin-bottom: 14px;
}

.btcl-pro-location-card__stats > div {
	padding: 10px 11px;
	border-radius: 12px;
	background: #f8f9fd;
	border: 1px solid #edf0f5;
}

.btcl-pro-location-card__stats span {
	display: block;
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .05em;
	color: #8a94a6;
}

.btcl-pro-location-card__stats strong {
	display: block;
	margin-top: 4px;
	font-size: 14px;
	color: var(--btcl-pro-text);
}

.btcl-pro-location-card__actions {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
}

.btcl-pro-location-card__actions .btcl-pro-btn {
	width: 100%;
	min-width: 0;
}

.btcl-pro-empty-state {
	padding: 52px 24px;
	text-align: center;
	border: 1px dashed #dfe3ec;
	border-radius: 16px;
	background: #fbfcff;
}

.btcl-pro-empty-state__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 54px;
	height: 54px;
	margin-bottom: 14px;
	border-radius: 16px;
	background: var(--btcl-pro-primary-soft);
	color: var(--btcl-pro-primary);
	font-size: 20px;
}

.btcl-pro-empty-state h3 {
	margin: 0;
	font-size: 18px;
	color: var(--btcl-pro-text);
}

.btcl-pro-empty-state p {
	max-width: 520px;
	margin: 8px auto 18px;
	color: var(--btcl-pro-muted);
	font-size: 13px;
	line-height: 1.6;
}

.btcl-pro-location-legacy-table {
	position: absolute !important;
	left: -100000px !important;
	top: 0 !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	clip-path: inset(50%) !important;
	white-space: nowrap !important;
}

@media (max-width: 1100px) {
	.btcl-pro-location-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 782px) {
	.btcl-pro-location-overview,
	.btcl-pro-location-grid {
		grid-template-columns: 1fr;
	}

	.btcl-pro-location-kpis {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 520px) {
	.btcl-pro-location-kpis {
		grid-template-columns: 1fr;
	}

	.btcl-pro-location-card__actions {
		grid-template-columns: 1fr;
	}
}


/* Phase 1 Step 14 — Modern Shifts panel */
.btcl-pro-shifts-page .btcl-pro-page-header { margin-bottom: 18px; }
.btcl-pro-shifts-page .btcl-pro-kpi-grid { margin-bottom: 18px; }
.btcl-pro-kpi-card--success:before { background: var(--btcl-pro-success); }
.btcl-pro-kpi-card--info:before { background: var(--btcl-pro-info); }
.btcl-pro-kpi-card--warning:before { background: var(--btcl-pro-warning); }
.btcl-pro-kpi-card--success .btcl-pro-kpi-card__icon { color: var(--btcl-pro-success); background: rgba(22,163,74,.10); }
.btcl-pro-kpi-card--info .btcl-pro-kpi-card__icon { color: var(--btcl-pro-info); background: rgba(59,130,246,.10); }
.btcl-pro-kpi-card--warning .btcl-pro-kpi-card__icon { color: var(--btcl-pro-warning); background: rgba(245,158,11,.12); }
.btcl-pro-shift-overview-grid { margin-bottom: 18px; }
.btcl-pro-summary-pill { display:inline-flex; align-items:center; gap:6px; padding:7px 10px; border-radius:999px; background:var(--btcl-pro-primary-soft); color:var(--btcl-pro-primary); font-size:11px; font-weight:700; white-space:nowrap; }
.btcl-pro-shift-coverage { display:flex; align-items:center; gap:28px; min-height:170px; }
.btcl-pro-shift-coverage__ring { --btcl-shift-progress:0%; width:150px; height:150px; border-radius:50%; display:grid; place-items:center; background:conic-gradient(var(--btcl-pro-primary) var(--btcl-shift-progress), #e9ecf3 0); position:relative; flex:0 0 auto; }
.btcl-pro-shift-coverage__ring:after { content:""; position:absolute; inset:14px; border-radius:50%; background:#fff; }
.btcl-pro-shift-coverage__ring-inner { position:relative; z-index:1; text-align:center; display:flex; flex-direction:column; align-items:center; }
.btcl-pro-shift-coverage__ring-inner strong { font-size:30px; line-height:1; color:var(--btcl-pro-text); }
.btcl-pro-shift-coverage__ring-inner span { margin-top:6px; color:var(--btcl-pro-muted); font-size:11px; }
.btcl-pro-shift-legend { display:grid; gap:14px; flex:1; }
.btcl-pro-shift-legend > div { display:grid; grid-template-columns:auto 1fr auto; align-items:center; gap:8px; font-size:13px; color:var(--btcl-pro-muted); }
.btcl-pro-shift-legend strong { color:var(--btcl-pro-text); }
.btcl-pro-dot { width:8px; height:8px; border-radius:50%; display:inline-block; }
.btcl-pro-dot--success { background:var(--btcl-pro-success); }
.btcl-pro-dot--warning { background:var(--btcl-pro-warning); }
.btcl-pro-shift-summary-list { display:grid; gap:0; }
.btcl-pro-shift-summary-row { display:grid; grid-template-columns:minmax(0,1fr) auto auto; align-items:center; gap:16px; padding:13px 0; border-top:1px solid var(--btcl-pro-border); }
.btcl-pro-shift-summary-row:first-child { border-top:0; padding-top:2px; }
.btcl-pro-shift-summary-row__name { font-weight:700; color:var(--btcl-pro-text); font-size:13px; }
.btcl-pro-shift-summary-row__detail { color:var(--btcl-pro-muted); font-size:12px; }
.btcl-pro-status-badge { display:inline-flex; align-items:center; gap:6px; border-radius:999px; padding:6px 9px; font-size:10px; font-weight:700; line-height:1; white-space:nowrap; }
.btcl-pro-status-badge--success { color:#166534; background:#ecfdf3; }
.btcl-pro-status-badge--warning { color:#92400e; background:#fff7ed; }
.btcl-pro-status-dot { width:6px; height:6px; border-radius:50%; background:currentColor; }
.btcl-pro-shift-directory { margin-top:18px; }
.btcl-pro-shift-toolbar { margin:0 0 18px; }
.btcl-pro-shift-search-group { flex:1 1 360px; }
.btcl-pro-input-with-icon { position:relative; width:100%; }
.btcl-pro-input-with-icon i { position:absolute; left:12px; top:50%; transform:translateY(-50%); color:#8a91a5; pointer-events:none; }
.btcl-pro-input-with-icon input { padding-left:34px !important; }
.btcl-pro-shift-filter-actions { margin-left:auto; }
.btcl-pro-field--inline { flex-direction:row; align-items:center; gap:9px; }
.btcl-pro-field--inline label { margin:0; white-space:nowrap; }
.btcl-pro-field--inline select { min-width:150px; }
.btcl-pro-filter-count { min-width:30px; text-align:center; font-weight:800; color:var(--btcl-pro-primary); font-size:13px; }
.btcl-pro-shift-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; }
.btcl-pro-shift-card { position:relative; min-width:0; padding:18px; border:1px solid var(--btcl-pro-border); border-radius:var(--btcl-pro-radius-md); background:#fff; box-shadow:var(--btcl-pro-shadow-sm); transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.btcl-pro-shift-card:hover { transform:translateY(-2px); box-shadow:var(--btcl-pro-shadow-md); border-color:#d9d4ff; }
.btcl-pro-shift-card__topline { display:flex; align-items:center; justify-content:space-between; gap:10px; }
.btcl-pro-shift-card__index { display:inline-flex; width:30px; height:30px; align-items:center; justify-content:center; border-radius:9px; background:var(--btcl-pro-primary-soft); color:var(--btcl-pro-primary); font-weight:800; font-size:12px; }
.btcl-pro-shift-card__icon { width:44px; height:44px; margin:18px 0 12px; display:grid; place-items:center; border-radius:12px; background:#eef4ff; color:var(--btcl-pro-info); }
.btcl-pro-shift-card h3 { margin:0; color:var(--btcl-pro-text); font-size:17px; line-height:1.3; font-weight:750; }
.btcl-pro-shift-card__timing { margin-top:12px; display:flex; align-items:center; gap:9px; color:var(--btcl-pro-text); font-size:12px; }
.btcl-pro-shift-card__timing i { color:var(--btcl-pro-primary); }
.btcl-pro-shift-card__late { margin-top:9px; display:flex; justify-content:space-between; gap:10px; font-size:11px; padding:9px 10px; background:var(--btcl-pro-surface-soft); border-radius:10px; color:var(--btcl-pro-muted); }
.btcl-pro-shift-card__late strong { color:var(--btcl-pro-warning); }
.btcl-pro-shift-card__stats { display:grid; grid-template-columns:1fr 1fr; gap:10px; margin-top:12px; }
.btcl-pro-shift-card__stats > div { padding:10px; border:1px solid var(--btcl-pro-border); border-radius:10px; background:#fff; }
.btcl-pro-shift-card__stats span { display:block; color:var(--btcl-pro-muted); font-size:10px; text-transform:uppercase; letter-spacing:.06em; font-weight:700; }
.btcl-pro-shift-card__stats strong { display:block; margin-top:4px; color:var(--btcl-pro-text); font-size:18px; }
.btcl-pro-shift-card__days { display:flex; flex-wrap:wrap; gap:6px; margin-top:12px; min-height:26px; }
.btcl-pro-shift-card__days span { padding:5px 8px; border-radius:8px; background:#f5f6fb; color:var(--btcl-pro-muted); font-size:10px; font-weight:700; }
.btcl-pro-shift-card__actions { display:grid; grid-template-columns:1fr 44px; gap:9px; margin-top:15px; }
.btcl-pro-shift-card__actions .btcl-pro-btn { min-height:40px; }
.btcl-pro-shift-empty { margin-top:6px; }
.btcl-pro-shift-empty[hidden] { display:none; }
.btcl-pro-legacy-compat { position:absolute !important; left:-99999px !important; top:auto !important; width:1px !important; height:1px !important; overflow:hidden !important; opacity:0 !important; pointer-events:none !important; }
.btcl-pro-shift-modal-dialog { max-width:760px; }
.btcl-pro-modern-modal .modal-content { border:1px solid var(--btcl-pro-border); border-radius:20px; box-shadow:0 24px 70px rgba(15,23,42,.18); overflow:hidden; }
.btcl-pro-modal-header { padding:22px 24px 18px; border-bottom:1px solid var(--btcl-pro-border); background:linear-gradient(180deg,#fff 0%,#fbfbfe 100%); align-items:flex-start; }
.btcl-pro-modal-header .modal-title { margin:0; font-size:22px; font-weight:750; color:var(--btcl-pro-text); }
.btcl-pro-modal-header p { margin:6px 0 0; color:var(--btcl-pro-muted); font-size:13px; }
.btcl-pro-modal-close { opacity:1; border:0; background:transparent; color:#7b8192; font-size:24px; line-height:1; padding:4px; }
.btcl-pro-modal-body { padding:22px 24px; }
.btcl-pro-form-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
.btcl-pro-form-field--full { grid-column:1/-1; }
.btcl-pro-form-field { display:flex; flex-direction:column; gap:7px; }
.btcl-pro-form-field label, .btcl-pro-form-section-title { font-size:12px; font-weight:700; color:var(--btcl-pro-text); }
.btcl-pro-form-field input, .btcl-pro-form-field select { min-height:44px; }
.btcl-pro-form-section-title { margin-top:3px; }
.btcl-pro-weekday-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:10px; }
.btcl-pro-weekday-item { display:flex; flex-direction:column; gap:6px; padding:10px; border:1px solid var(--btcl-pro-border); border-radius:10px; background:var(--btcl-pro-surface-soft); }
.btcl-pro-weekday-item span { font-size:11px; font-weight:700; color:var(--btcl-pro-text); }
.btcl-pro-weekday-item select { min-height:38px !important; font-size:12px !important; }
.btcl-pro-modal-footer { padding:16px 24px 20px; border-top:1px solid var(--btcl-pro-border); }
@media (max-width:1200px){ .btcl-pro-shift-grid{grid-template-columns:repeat(2,minmax(0,1fr));} .btcl-pro-weekday-grid{grid-template-columns:repeat(3,minmax(0,1fr));} }
@media (max-width:900px){ .btcl-pro-shift-overview-grid{grid-template-columns:1fr;} .btcl-pro-shift-toolbar{align-items:stretch;} .btcl-pro-shift-search-group,.btcl-pro-shift-filter-actions{width:100%; margin-left:0;} }
@media (max-width:680px){ .btcl-pro-shift-grid,.btcl-pro-form-grid{grid-template-columns:1fr;} .btcl-pro-weekday-grid{grid-template-columns:repeat(2,minmax(0,1fr));} .btcl-pro-shift-coverage{flex-direction:column; justify-content:center;} .btcl-pro-shift-summary-row{grid-template-columns:1fr auto;} .btcl-pro-shift-summary-row__detail{grid-column:1/-1;} .btcl-pro-shift-card__actions{grid-template-columns:1fr 44px;} }

/* Phase 1 Step 13 — Employees refinement */
.btcl-pro-directory-header__summary{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end}
.btcl-pro-coverage-pill{display:inline-flex;align-items:center;gap:7px;padding:9px 12px;border:1px solid #dcefe5;border-radius:11px;background:#f3fbf7;color:#21805b;font-size:10px;font-weight:750;white-space:nowrap}
.btcl-pro-coverage-pill span{width:7px;height:7px;border-radius:50%;background:#16b979;box-shadow:0 0 0 3px #e3f8ef}
.btcl-pro-employee-card__badges{display:flex;align-items:center;gap:8px}
.btcl-pro-account-badge{display:inline-flex;align-items:center;padding:5px 8px;border-radius:999px;font-size:9px;font-weight:750;line-height:1;text-transform:uppercase;letter-spacing:.04em}
.btcl-pro-account-badge.is-active{background:#ecfdf3;color:#178354}
.btcl-pro-account-badge.is-inactive{background:#fff1f2;color:#c43d4b}
@media (max-width:640px){.btcl-pro-directory-header__summary{justify-content:flex-start}.btcl-pro-directory-header__summary .btcl-pro-count-badge,.btcl-pro-directory-header__summary .btcl-pro-coverage-pill{flex:0 0 auto}}

/* Department directory filters */
.btcl-pro-department-toolbar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:-2px 0 16px;}
.btcl-pro-department-toolbar .btcl-pro-search-field{flex:1 1 280px;min-width:220px;}
.btcl-pro-department-toolbar .btcl-pro-search-field input,.btcl-pro-department-toolbar select{height:40px;border:1px solid var(--btcl-pro-border);border-radius:10px;background:#fff;color:var(--btcl-pro-text);font-size:13px;}
.btcl-pro-department-toolbar .btcl-pro-search-field{position:relative;}
.btcl-pro-department-toolbar .btcl-pro-search-field i{position:absolute;left:13px;top:50%;transform:translateY(-50%);color:var(--btcl-pro-muted);pointer-events:none;}
.btcl-pro-department-toolbar .btcl-pro-search-field input{width:100%;padding:0 13px 0 36px;box-sizing:border-box;}
.btcl-pro-department-toolbar select{min-width:150px;padding:0 34px 0 12px;}
.btcl-pro-filter-count{margin-left:auto;padding:9px 12px;border-radius:10px;background:var(--btcl-pro-primary-soft);color:var(--btcl-pro-primary);font-size:11px;font-weight:700;}
@media (max-width:640px){.btcl-pro-department-toolbar .btcl-pro-search-field,.btcl-pro-department-toolbar select,.btcl-pro-filter-count{width:100%;min-width:0;margin-left:0;}.btcl-pro-department-toolbar .btcl-pro-search-field{flex-basis:100%;}}

/* Shift weekly coverage — UI parity/fallback styles. */
.btcl-pro-page.btcl-pro-shifts-page .btcl-pro-shift-weekly{display:block!important;width:100%;margin:0 0 20px;padding:0;overflow:hidden;background:#fff;border:1px solid #e7e9ef;border-radius:16px;box-shadow:0 8px 24px rgba(16,24,40,.05)}
.btcl-pro-page.btcl-pro-shifts-page .btcl-pro-shift-weekly .btcl-pro-card__header{display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:20px!important;padding:20px 20px 14px!important;margin:0!important}
.btcl-pro-page.btcl-pro-shifts-page .btcl-pro-shift-weekly .btcl-pro-card__header>div{min-width:0!important;flex:1 1 auto!important}
.btcl-pro-page.btcl-pro-shifts-page .btcl-pro-shift-week-grid{display:grid!important;grid-template-columns:repeat(7,minmax(0,1fr))!important;gap:12px!important;padding:4px 20px 20px!important;width:100%!important;box-sizing:border-box!important}
.btcl-pro-page.btcl-pro-shifts-page .btcl-pro-shift-week-day{display:flex!important;flex-direction:column!important;justify-content:flex-start!important;min-width:0!important;min-height:126px!important;padding:14px!important;box-sizing:border-box!important;border:1px solid #eef0f4!important;border-radius:12px!important;background:#fafbfc!important}
.btcl-pro-page.btcl-pro-shifts-page .btcl-pro-shift-week-day__head{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:8px!important;min-height:26px!important}
.btcl-pro-page.btcl-pro-shifts-page .btcl-pro-shift-week-day__head strong{display:block!important;margin:0!important;color:#344054!important;font-size:11px!important;line-height:1.3!important;font-weight:800!important;white-space:nowrap!important}
.btcl-pro-page.btcl-pro-shifts-page .btcl-pro-shift-week-day__head span{display:flex!important;align-items:center!important;justify-content:center!important;flex:0 0 28px!important;width:28px!important;height:28px!important;margin:0!important;border-radius:8px!important;background:#f0efff!important;color:#635bff!important;font-size:10px!important;font-weight:800!important;line-height:1!important}
.btcl-pro-page.btcl-pro-shifts-page .btcl-pro-shift-week-day__track{display:block!important;width:100%!important;height:7px!important;margin:16px 0 12px!important;overflow:hidden!important;border-radius:999px!important;background:#eceef3!important}
.btcl-pro-page.btcl-pro-shifts-page .btcl-pro-shift-week-day__track span{display:block!important;height:100%!important;min-width:0!important;border-radius:999px!important;background:#635bff!important}
.btcl-pro-page.btcl-pro-shifts-page .btcl-pro-shift-week-day__meta{display:flex!important;flex-direction:column!important;gap:4px!important;margin-top:auto!important}
.btcl-pro-page.btcl-pro-shifts-page .btcl-pro-shift-week-day__meta span,.btcl-pro-page.btcl-pro-shifts-page .btcl-pro-shift-week-day__meta strong{display:block!important;margin:0!important;color:#98a2b3!important;font-size:9px!important;line-height:1.35!important;font-weight:600!important;white-space:normal!important}
.btcl-pro-page.btcl-pro-shifts-page .btcl-pro-shift-week-day__meta strong{color:#667085!important;font-weight:700!important}
@media(max-width:1100px){.btcl-pro-page.btcl-pro-shifts-page .btcl-pro-shift-week-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}}
@media(max-width:767px){.btcl-pro-page.btcl-pro-shifts-page .btcl-pro-shift-weekly .btcl-pro-card__header{padding:17px 15px 12px!important;flex-direction:column!important}.btcl-pro-page.btcl-pro-shifts-page .btcl-pro-shift-week-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;padding:4px 15px 15px!important}.btcl-pro-page.btcl-pro-shifts-page .btcl-pro-shift-week-day:last-child{grid-column:1/-1!important}}

/* Shift panel visual parity with the current Clockinator Free schedule UI. */
.btcl-pro-page.btcl-pro-shifts-page .btcl-pro-shift-free-parity{margin-bottom:20px;align-items:stretch}
.btcl-pro-page.btcl-pro-shifts-page .btcl-pro-shift-free-parity .btcl-pro-shift-insight{min-height:338px}
.btcl-pro-page.btcl-pro-shifts-page .btcl-pro-shift-panel-icon{width:38px;height:38px;border-radius:11px;background:#f0efff;color:#635bff;display:flex;align-items:center;justify-content:center;flex:0 0 auto}
.btcl-pro-page.btcl-pro-shifts-page .btcl-pro-shift-panel-icon--muted{background:#f0efff}
.btcl-pro-page.btcl-pro-shifts-page .btcl-pro-shift-coverage-list{display:grid;gap:23px;padding-top:3px}
.btcl-pro-page.btcl-pro-shifts-page .btcl-pro-shift-coverage-row__top{display:flex;justify-content:space-between;align-items:center;gap:15px;color:#344054;font-size:13px}
.btcl-pro-page.btcl-pro-shifts-page .btcl-pro-shift-coverage-row__top>span:first-child{font-weight:500}
.btcl-pro-page.btcl-pro-shifts-page .btcl-pro-shift-coverage-row__top i{font-size:8px;color:#635bff;margin-right:5px}
.btcl-pro-page.btcl-pro-shifts-page .btcl-pro-shift-coverage-row__top>span:last-child{font-size:12px;color:#98a2b3}
.btcl-pro-page.btcl-pro-shifts-page .btcl-pro-shift-coverage-row__bar{height:9px;background:#e9ecf3;border-radius:999px;overflow:hidden;margin:9px 0 10px}
.btcl-pro-page.btcl-pro-shifts-page .btcl-pro-shift-coverage-row__bar span{display:block;height:100%;border-radius:999px;background:#635bff;min-width:0}
.btcl-pro-page.btcl-pro-shifts-page .btcl-pro-shift-coverage-row__bottom{display:flex;align-items:center;justify-content:space-between;gap:15px;color:#98a2b3;font-size:11px}
.btcl-pro-page.btcl-pro-shifts-page .btcl-pro-shift-config-body{display:flex;align-items:center;gap:42px;min-height:220px}
.btcl-pro-page.btcl-pro-shifts-page .btcl-pro-shift-config-body .btcl-pro-shift-coverage__ring{width:156px;height:156px}
.btcl-pro-page.btcl-pro-shifts-page .btcl-pro-shift-config-body .btcl-pro-shift-coverage__ring:after{inset:14px}
.btcl-pro-page.btcl-pro-shifts-page .btcl-pro-shift-config-body .btcl-pro-shift-coverage__ring-inner strong{font-size:28px}
.btcl-pro-page.btcl-pro-shifts-page .btcl-pro-shift-config-legend{display:grid;gap:18px;flex:1}
.btcl-pro-page.btcl-pro-shifts-page .btcl-pro-shift-config-legend>div{display:grid;grid-template-columns:10px minmax(0,1fr) auto;align-items:center;gap:10px;font-size:12px;color:#667085}
.btcl-pro-page.btcl-pro-shifts-page .btcl-pro-shift-config-legend strong{color:#101828;font-size:13px}
.btcl-pro-page.btcl-pro-shifts-page .btcl-pro-dot--muted{background:#98a2b3}.btcl-pro-page.btcl-pro-shifts-page .btcl-pro-dot--info{background:#3b82f6}
@media(max-width:900px){.btcl-pro-page.btcl-pro-shifts-page .btcl-pro-shift-config-body{gap:25px}.btcl-pro-page.btcl-pro-shifts-page .btcl-pro-shift-config-body .btcl-pro-shift-coverage__ring{width:135px;height:135px}}
@media(max-width:680px){.btcl-pro-page.btcl-pro-shifts-page .btcl-pro-shift-free-parity .btcl-pro-shift-insight{min-height:0}.btcl-pro-page.btcl-pro-shifts-page .btcl-pro-shift-config-body{flex-direction:column;align-items:flex-start}.btcl-pro-page.btcl-pro-shifts-page .btcl-pro-shift-coverage-row__top,.btcl-pro-page.btcl-pro-shifts-page .btcl-pro-shift-coverage-row__bottom{align-items:flex-start;flex-direction:column;gap:6px}}
a.btcl-pro-btn.btcl-pro-btn--secondary {
    color: #635bff !important;
    border-color: #d8d4ff !important;
    background: #f6f5ff !important;
}
input#btcl-pro-employee-search {
    padding-left: 30px;
}

.btcl-pro-dashboard-lite .btcl-kpi-grid {
    display: grid;
    gap: 14px;
    margin-bottom: 18px
}

.btcl-pro-dashboard-lite .btcl-kpi-grid-primary {
    grid-template-columns: repeat(5,minmax(0,1fr))
}

.btcl-pro-dashboard-lite .btcl-analytic-kpi {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 96px;
    padding: 17px 18px;
    border: 1px solid #e7eaf0;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 7px 22px rgba(16,24,40,.04)
}

.btcl-pro-dashboard-lite .btcl-kpi-icon {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 16px;
    flex: 0 0 42px
}

.btcl-pro-dashboard-lite .btcl-analytic-kpi span {
    display: block;
    color: #7a8494;
    font-size: 10px;
    font-weight: 750;
    text-transform: uppercase;
    letter-spacing: .045em
}

.btcl-pro-dashboard-lite .btcl-analytic-kpi strong {
    display: block;
    margin-top: 5px;
    color: #172033;
    font-size: 28px;
    line-height: 1;
    font-weight: 700;
}

.btcl-pro-dashboard-lite .btcl-analytic-kpi small {
    display: block;
    margin-top: 6px;
    color: #98a2b3;
    font-size: 10px
}

.btcl-pro-dashboard-lite .btcl-analytic-kpi.is-purple .btcl-kpi-icon {
    color: #635bff;
    background: #f0efff
}

.btcl-pro-dashboard-lite .btcl-analytic-kpi.is-green .btcl-kpi-icon {
    color: #12b76a;
    background: #ecfdf3
}

.btcl-pro-dashboard-lite .btcl-analytic-kpi.is-yellow .btcl-kpi-icon {
        color: #f29d56;
    background: #f29d5629;
}

.btcl-pro-dashboard-lite .btcl-analytic-kpi.is-blue .btcl-kpi-icon {
    color: #3b82f6;
    background: #eff6ff
}

.btcl-pro-dashboard-lite .btcl-analytic-kpi.is-red .btcl-kpi-icon {
    color: #f04438;
    background: #fef3f2
}

.btcl-pro-dashboard-lite .btcl-analytic-kpi.is-orange .btcl-kpi-icon {
    color: #f79009;
    background: #fffaeb
}
.btcl-pro-employees-page.btcl-pro-dashboard-lite .btcl-kpi-grid-primary {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}
section.btcl-pro-kpi-grid.btcl-kpi-grid-primary.btcl-kpi-grid-primary-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-bottom: 20px;
}
section.btcl-kpi-grid.btcl-kpi-grid-primary.btcl-kpi-grid-primary-4.btcl-pro-location-kpis {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-bottom: 0px;
}
section.btcl-kpi-grid.btcl-kpi-grid-primary.btcl-kpi-grid-primary-4.btcl-pro-shifts-kpis {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.btcl-pro-kpi-grid {
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 16px;
    margin-bottom: 18px
}

.btcl-pro-kpi-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 112px;
    padding: 18px;
    border: 1px solid var(--btcl-border);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(20,28,55,.05);
    overflow: hidden
}

.btcl-pro-kpi-card:before {
    content: "";
    position: absolute;
    left: 0;
    top: 16px;
    bottom: 16px;
    width: 3px;
    border-radius: 0 4px 4px 0;
    background: var(#635bff)
}

.btcl-pro-kpi-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border-radius: 12px;
    background: #f0efff;
    color: var(#635bff);
    font-size: 16px
}

.btcl-pro-kpi-card span {
    display: block
}

.btcl-pro-kpi-card>div:last-child span:first-child {
    color: #748096;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: .06em;
    font-weight: 800
}

.btcl-pro-kpi-card strong {
    font-weight: 780;
    display: block;
    font-size: 18px;
    line-height: 1.2;
    margin: 5px 0 3px;
    color: #17213a;
}

.btcl-pro-kpi-card small {
    color: #8b95a6;
    font-size: 11px
}

.btcl-pro-kpi-success:before {
    background: #16a34a
}

.btcl-pro-kpi-success .btcl-pro-kpi-icon {
    background: #ebfbf1;
    color: #16a34a
}

.btcl-pro-kpi-warning:before {
    background: #f59e0b
}

.btcl-pro-kpi-warning .btcl-pro-kpi-icon {
    background: #fff7e7;
    color: #d97706
}

.btcl-pro-kpi-info:before {
    background: #419fff;
}

.btcl-pro-kpi-info .btcl-pro-kpi-icon {
    background: #419fff1a;
    color: #419fff;
}

.btcl-pro-kpi-danger:before {
    background: #ef4444
}

.btcl-pro-kpi-danger .btcl-pro-kpi-icon {
    background: #fff1f2;
    color: #dc2626
}

.btcl-pro-kpi-card:before {
    content: "";
    position: absolute;
    left: 0;
    top: 16px;
    bottom: 16px;
    width: 3px;
    border-radius: 0 4px 4px 0;
    background: var(#635bff);
}

.btcl-pro-two-col {
    display: grid;
    grid-template-columns: minmax(0,1.15fr) minmax(0,.85fr);
    gap: 16px;
    margin-bottom: 18px
}

.btcl-pro-card {
    border: 1px solid var(--btcl-border);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(20,28,55,.05);
    padding: 20px
}

.btcl-pro-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px
}

.btcl-pro-card-head h2 {
    margin: 4px 0 3px;
    color: var(--btcl-ink);
    font-size: 18px;
    line-height: 1.2;
    font-weight: 750
}

.btcl-pro-card-head p {
    margin: 0;
    color: #8792a5;
    font-size: 12px
}

.btcl-pro-pill,.btcl-pro-count-pill,.btcl-pro-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 10px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 800;
    white-space: nowrap
}

.btcl-pro-pill-soft,.btcl-pro-count-pill {
    background: #f2f1ff;
    color: var(#635bff)
}

.btcl-pro-list {
    display: flex;
    flex-direction: column;
    gap: 10px
}

.btcl-pro-list-item {
    display: grid;
    grid-template-columns: 54px minmax(0,1fr) 34px;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border: 1px solid #edf0f5;
    border-radius: 14px;
    background: #fbfcfe
}

.btcl-pro-date-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    border-radius: 12px;
    background: #f1efff;
    color: var(#635bff)
}

.btcl-pro-date-tile strong {
    font-size: 18px;
    line-height: 1
}

.btcl-pro-date-tile span {
    margin-top: 4px;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .06em
}

.btcl-pro-list-content {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 5px
}

.btcl-pro-list-content strong {
    color: #273246;
    font-size: 13px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis
}

.btcl-pro-list-content span {
    color: #7c8799;
    font-size: 11px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis
}

.btcl-pro-list-content i {
    color: var(#635bff)
}

.btcl-pro-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 1px solid #e2e5ec;
    border-radius: 10px;
    background: #fff;
    color: var(#635bff);
    cursor: pointer
}

.btcl-pro-icon-btn:hover {
    background: #f3f2ff;
    border-color: #cfcaff
}

.btcl-pro-stat-grid {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 10px
}

.btcl-pro-stat-grid>div {
    padding: 14px;
    border: 1px solid #edf0f5;
    border-radius: 13px;
    background: #fbfcfe
}

.btcl-pro-stat-grid span {
    display: block;
    color: #7e899b;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em
}

.btcl-pro-stat-grid strong {
    display: block;
    margin-top: 5px;
    color: #273246;
    font-size: 22px
}

.btcl-pro-info-callout {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-top: 14px;
    padding: 13px;
    border-radius: 12px;
    background: #f5f4ff;
    color: #677085
}

.btcl-pro-info-callout>i {
    margin-top: 2px;
    color: var(#635bff)
}

.btcl-pro-info-callout strong {
    display: block;
    color: #374151;
    font-size: 12px
}

.btcl-pro-info-callout p {
    margin: 4px 0 0;
    color: #7b8597;
    font-size: 11px;
    line-height: 1.5
}

.btcl-pro-filter-bar {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    margin-bottom: 16px;
    padding: 14px;
    border: 1px solid #e9ecf2;
    border-radius: 14px;
    background: #f8f9fc;
    overflow-x: auto
}

.btcl-pro-filter-bar label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
    flex: 1
}

.btcl-pro-filter-bar label>span {
    color: #344054;
    font-size: 10px;
    font-weight: 750
}

.btcl-pro-input-icon {
    position: relative
}

.btcl-pro-input-icon i {
    position: absolute;
    left: 11px;
    top: 50%;
    transform: translateY(-50%);
    color: #9aa3b1;
    font-size: 11px
}

.btcl-pro-input-icon input,.btcl-pro-filter-bar select {
    width: 100%;
    height: 40px;
    border: 1px solid #d9dee7;
    border-radius: 10px;
    background: #fff;
    color: #344054;
    padding: 0 11px;
    font-size: 12px;
    box-sizing: border-box
}

.btcl-pro-input-icon input {
    padding-left: 31px
}

.btcl-pro-filter-bar button {
    flex: 0 0 auto
}

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

.btcl-pro-holiday-card {
    display: flex;
    flex-direction: column;
    border: 1px solid #e9edf3;
    border-radius: 16px;
    background: #fff;
    min-height: 280px;
    overflow: hidden;
    transition: transform .18s ease,box-shadow .18s ease,border-color .18s ease
}

.btcl-pro-holiday-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(20,28,55,.08);
    border-color: #d9def0
}

.btcl-pro-holiday-card[hidden] {
    display: none!important
}

.btcl-pro-holiday-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 16px 10px
}

.btcl-pro-status.is-success {
    background: #ebfbf1;
    color: #15803d
}

.btcl-pro-status.is-muted {
    background: #f2f4f7;
    color: #667085
}

.btcl-pro-holiday-card-body {
    padding: 4px 16px 16px;
    flex: 1
}

.btcl-pro-holiday-card-body h3 {
    margin: 0 0 6px;
    color: #253044;
    font-size: 15px;
    font-weight: 760
}

.btcl-pro-holiday-card-body p {
    margin: 0 0 12px;
    color: #7c8798;
    font-size: 11px;
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 51px
}

.btcl-pro-meta-list {
    display: flex;
    flex-direction: column;
    gap: 7px;
    padding-top: 10px;
    border-top: 1px solid #f0f2f5
}

.btcl-pro-meta-list span {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    color: #788496;
    font-size: 10px;
    line-height: 1.35
}

.btcl-pro-meta-list i {
    width: 12px;
    color: #8b84ff;
    text-align: center
}

.btcl-pro-card-actions {
    display: flex;
    gap: 8px;
    padding: 12px 16px;
    border-top: 1px solid #edf0f4;
    background: #fbfcfe
}

.btcl-pro-card-actions button {
    flex: 1
}

.btcl-pro-table-compat {
    display: none!important
}

.btcl-pro-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 150px;
    padding: 18px;
    text-align: center
}

.btcl-pro-empty-state .btcl-pro-empty-icon {
    width: 44px!important;
    height: 44px!important;
    min-width: 44px;
    min-height: 44px;
    display: inline-flex!important;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #f1efff;
    color: #635bff;
    font-size: 16px;
    margin-bottom: 3px
}

.btcl-pro-empty-state strong {
    color: #3b4658;
    font-size: 13px
}

.btcl-pro-empty-state p {
    margin: 4px 0 0;
    color: #8b95a6;
    font-size: 11px;
    line-height: 1.5;
    max-width: 360px
}

.btcl-pro-holiday-empty[hidden] {
    display: none
}

.btcl-pro-holiday-reset {
    height: 40px
}

.btcl-pro-kpi-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border-radius: 12px;
    background: #f0efff;
    color: #635bff;
    font-size: 16px;
}
.btcl-reimb-hero a.btcl-primary-btn {
    font-size: 13px;
}


.btcl-reimb-page{max-width:1440px;margin:0 auto;padding:28px 28px 48px;background: #f3f3f9;min-height:calc(100vh - 120px);box-sizing:border-box}
.btcl-reimb-page *{box-sizing:border-box}
.btcl-reimb-hero,.btcl-reimb-card,.btcl-reimb-table-wrap{background:#fff;border:1px solid #e8e9f2;border-radius:16px;box-shadow:0 8px 24px rgba(31,35,64,.04)}
.btcl-reimb-hero{padding:24px 26px;margin-bottom:18px;display:flex;align-items:center;justify-content:space-between;gap:20px}
.btcl-eyebrow{font-size:10px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:#6658ff;margin-bottom:7px}
.btcl-reimb-hero h1{margin:0;font-size:28px;line-height:1.15;color:#172033;font-weight:750}
.btcl-reimb-hero p{margin:7px 0 0;color:#718096;font-size:14px}
.btcl-primary-btn{display:inline-flex!important;align-items:center;gap:7px;background:#635bff!important;color:#fff!important;border:0!important;border-radius:10px!important;padding:11px 17px!important;font-weight:700!important;text-decoration:none!important;box-shadow:0 8px 18px rgba(99,91,255,.18)}
.btcl-reimb-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:18px}
.btcl-reimb-kpi{position:relative;padding:20px 20px 18px;min-height:118px;overflow:hidden}
.btcl-reimb-kpi:before{content:"";position:absolute;left:0;top:0;bottom:0;width:3px;background:#635bff}
.btcl-reimb-kpi.green:before{background:#18a957}.btcl-reimb-kpi.orange:before{background:#f59e0b}.btcl-reimb-kpi.blue:before{background:#3b82f6}
.btcl-kpi-icon{width:36px;height:36px;border-radius:10px;display:flex;align-items:center;justify-content:center;background:#efedff;color:#635bff;margin-bottom:12px}.green .btcl-kpi-icon{background:#e9f8f0;color:#18a957}.orange .btcl-kpi-icon{background:#fff4df;color:#f59e0b}.blue .btcl-kpi-icon{background:#eaf2ff;color:#3b82f6}
.btcl-kpi-label{font-size:10px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#738097}.btcl-kpi-value{font-size:25px;font-weight:750;color:#172033;margin-top:3px}.btcl-kpi-note{font-size:12px;color:#718096;margin-top:3px}
.btcl-reimb-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:18px;margin-bottom:18px}
.btcl-reimb-card{padding:22px}
.btcl-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;margin-bottom:18px}.btcl-card-head h2{font-size:18px;margin:0;color:#172033;font-weight: 700;}.btcl-card-head p{margin:5px 0 0;color:#718096;font-size:13px}
.btcl-status-list{display:flex;flex-direction:column;gap:14px}.btcl-status-row{display:grid;grid-template-columns:140px 1fr 48px;align-items:center;gap:12px;font-size:13px;color:#4b5563}.btcl-status-row strong{color:#172033;text-align:right}.btcl-bar{height:9px;background:#eef0f6;border-radius:999px;overflow:hidden}.btcl-bar span{display:block;height:100%;background:#635bff;border-radius:999px}.btcl-bar.green span{background:#18a957}.btcl-bar.orange span{background:#f59e0b}
.btcl-summary-list{display:grid;grid-template-columns:1fr 1fr;gap:10px}.btcl-summary-item{border:1px solid #edf0f5;border-radius:11px;padding:13px 14px}.btcl-summary-item span{display:block;color:#7b8799;font-size:11px}.btcl-summary-item strong{display:block;color:#172033;font-size:17px;margin-top:3px}.btcl-pill{display:inline-flex;align-items:center;padding:5px 9px;border-radius:999px;font-size:11px;font-weight:700;background:#eaf9f1;color:#13944d}.btcl-pill.inactive{background:#fff2e5;color:#d97706}
.btcl-reimb-table-wrap{padding:22px}.btcl-table-head{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-bottom:16px}.btcl-table-head h2{margin:0;font-size: 20px;color:#172033;font-weight: 700;}.btcl-table-head p{margin:5px 0 0;color:#718096;font-size:13px}.btcl-table-count{background:#efedff;color:#635bff;border-radius:999px;padding:6px 10px;font-size:11px;font-weight:800;white-space:nowrap}
.btcl-reimb-filters{display:grid;grid-template-columns:1fr 190px 100px;gap:10px;padding:12px;background:#f8f9fc;border:1px solid #edf0f5;border-radius:12px;margin-bottom:14px}.btcl-reimb-filters input,.btcl-reimb-filters select{height:40px!important;border:1px solid #e2e6ef!important;border-radius:9px!important;background:#fff!important;padding:0 12px!important;color:#344054!important;box-shadow:none!important}.btcl-reset{height:40px;border:1px solid #dfe3ec;background:#fff;border-radius:9px;font-weight:700;color:#4b5563;cursor:pointer;font-size: 13px;}
.btcl-reimb-table{width:100%!important;border-collapse:separate!important;border-spacing:0!important}.btcl-reimb-table thead th{background:#f8f9fc!important;color:#667085!important;font-size:10px!important;text-transform:uppercase;letter-spacing:.06em;font-weight:800!important;border-bottom:1px solid #e9ecf2!important;padding:13px 12px!important;white-space:nowrap}.btcl-reimb-table tbody td{padding:14px 12px!important;border-bottom:1px solid #eef0f4!important;color:#344054;font-size:13px;vertical-align:middle}.btcl-reimb-table tbody tr:hover{background:#fafaff}.btcl-title{font-weight:700;color:#172033}.btcl-muted{font-size:12px;color:#7b8799}.btcl-amount{font-weight:750;color:#172033}.btcl-actions{display:flex;gap:7px;flex-wrap:wrap}.btcl-action{display:inline-flex!important;align-items:center;justify-content:center;border-radius:8px!important;padding:7px 10px!important;font-size:12px!important;font-weight:700!important;text-decoration:none!important;background:#fff!important}.btcl-edit{border:1px solid #dfe2ff!important;color:#5a52ee!important}.btcl-delete{border:1px solid #ffd4d4!important;color:#e05252!important;background:#fff!important}
.btcl-reimb-empty{text-align:center;padding:45px 20px;color:#718096}.btcl-reimb-empty strong{display:block;color:#172033;font-size:16px;margin-bottom:5px}
@media(max-width:1000px){.btcl-reimb-kpis{grid-template-columns:repeat(2,1fr)}.btcl-reimb-grid{grid-template-columns:1fr}}
@media(max-width:700px){.btcl-reimb-page{padding:16px}.btcl-reimb-hero{align-items:flex-start;flex-direction:column}.btcl-reimb-kpis{grid-template-columns:1fr}.btcl-reimb-filters{grid-template-columns:1fr}.btcl-status-row{grid-template-columns:105px 1fr 35px}.btcl-summary-list{grid-template-columns:1fr}.btcl-table-head{align-items:flex-start;flex-direction:column}.btcl-reimb-table-wrap{padding:14px;overflow:hidden}.btcl-reimb-table{min-width:1050px}.btcl-reimb-table-wrap .dataTables_wrapper{overflow-x:auto}}

/* Employee / department-head dashboard: legacy gradient stat cards are rendered white by the
   Pro theme, which left their white labels invisible. Show labels and values in theme colours. */
body.btcl-pro-screen-clockinator-pro-employee-dashboard .card[class*="bg-gradient-"] h6 {
	color: #6b7280 !important;
	font-size: 12px;
	font-weight: 700 !important;
	letter-spacing: .05em;
	text-transform: uppercase;
	margin-bottom: 10px;
}
body.btcl-pro-screen-clockinator-pro-employee-dashboard .card[class*="bg-gradient-"] h2 {
	color: #17213a !important;
	font-weight: 750;
}

/* ---------------------------------------------------------------------------
 * Confirm dialog (delete confirmations).
 * ------------------------------------------------------------------------- */
.btcl-confirm { position: fixed; inset: 0; z-index: 100100; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(17, 24, 39, .45); animation: btclConfirmFade .15s ease-out; }
.btcl-confirm__box { width: 100%; max-width: 400px; background: #fff; border-radius: 18px; padding: 28px 26px 22px; text-align: center; box-shadow: 0 24px 60px rgba(17, 24, 39, .25); animation: btclConfirmPop .18s ease-out; }
.btcl-confirm__icon { width: 52px; height: 52px; margin: 0 auto 14px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: #fdecec; color: #dc2626; font-size: 20px; }
.btcl-confirm__title { margin: 0 0 8px; font-size: 18px; font-weight: 700; color: #17213a; }
.btcl-confirm__text { margin: 0 0 22px; font-size: 14px; line-height: 1.55; color: #6d7691; }
.btcl-confirm__actions { display: flex; gap: 10px; justify-content: center; }
.btcl-confirm__btn { flex: 1; min-height: 42px; padding: 0 18px; border-radius: 12px; font-size: 14px; font-weight: 700; cursor: pointer; border: 1px solid transparent; }
.btcl-confirm__btn--cancel { background: #fff; border-color: #dfe2ef; color: #384260; }
.btcl-confirm__btn--cancel:hover { background: #f4f5fb; }
.btcl-confirm__btn--danger { background: #dc2626; color: #fff; }
.btcl-confirm__btn--danger:hover { background: #b91c1c; }
.btcl-confirm__btn:focus-visible { outline: 3px solid rgba(99, 91, 255, .35); outline-offset: 2px; }
@keyframes btclConfirmFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes btclConfirmPop { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: none; } }
