.wram-dashboard {
	--wram-border: #d8dee4;
	--wram-text: #17202a;
	--wram-muted: #5f6b7a;
	--wram-bg: #f7f8fa;
	--wram-surface: #ffffff;
	--wram-green: #16803c;
	--wram-green-soft: #e8f6ee;
	--wram-red: #c83532;
	--wram-red-soft: #fdeceb;
	--wram-blue: #1f5e9e;
	--wram-blue-soft: #eaf2fb;
	--wram-brand: #14956f;
	--wram-brand-dark: #0b6b55;
	--wram-sidebar-width: 258px;
	--wram-shell-bg: #f3f6f8;
	--wram-shadow: 0 12px 34px rgba(15, 23, 42, .08);
	background: var(--wram-shell-bg);
	color: var(--wram-text);
	direction: rtl;
	font-size: 16px;
	line-height: 1.55;
	margin: 0 auto;
	max-width: none;
	min-height: 100vh;
	padding: clamp(12px, 1.8vw, 22px);
	text-align: right;
	width: 100%;
}

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

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

.wram-dashboard input,
.wram-dashboard select,
.wram-dashboard textarea {
	text-align: right;
}

.wram-dashboard code,
.wram-dashboard [dir="ltr"] {
	direction: ltr;
	unicode-bidi: isolate;
}

.wram-dashboard-header {
	align-items: center;
	display: flex;
	gap: 12px;
	justify-content: space-between;
	margin-bottom: 16px;
}

.wram-dashboard-header h2,
.wram-login-panel h2 {
	align-items: center;
	display: inline-flex;
	font-size: 24px;
	gap: 9px;
	line-height: 1.25;
	margin: 0;
}

.wram-dashboard-message {
	border-radius: 6px;
	font-weight: 700;
	margin: 0 0 14px;
	padding: 10px 12px;
}

.wram-dashboard-message.is-success {
	background: var(--wram-green-soft);
	color: var(--wram-green);
}

.wram-dashboard-message.is-error {
	background: var(--wram-red-soft);
	color: var(--wram-red);
}

.wram-app-shell {
	align-items: start;
	display: flex;
	flex-direction: row;
	gap: 18px;
	margin: 0 auto;
	max-width: 1680px;
	width: 100%;
}

.wram-sidebar {
	align-self: start;
	background: rgba(255, 255, 255, .96);
	border: 1px solid var(--wram-border);
	border-left: 1px solid #cfd8df;
	border-radius: 10px;
	box-shadow: 0 16px 40px rgba(15, 23, 42, .08);
	display: flex;
	flex-direction: column;
	flex: 0 0 var(--wram-sidebar-width);
	gap: 14px;
	max-height: calc(100vh - 32px);
	min-height: auto;
	overflow: auto;
	padding: 14px;
	position: sticky;
	top: 16px;
}

.wram-main {
	flex: 1 1 auto;
	min-width: 0;
}

.wram-sidebar-brand {
	align-items: center;
	border-bottom: 1px solid #eef2f5;
	display: flex;
	gap: 12px;
	padding: 4px 2px 14px;
}

.wram-sidebar-logo {
	background: #fff;
	border: 1px solid #eef2f5;
	border-radius: 8px;
	display: block;
	height: 54px;
	object-fit: contain;
	padding: 4px;
	width: 64px;
}

.wram-sidebar-logo-fallback {
	align-items: center;
	background: var(--wram-brand);
	border-radius: 8px;
	color: #fff;
	display: inline-flex;
	flex: 0 0 54px;
	font-size: 26px;
	font-weight: 900;
	height: 54px;
	justify-content: center;
	width: 54px;
}

.wram-sidebar-title {
	display: grid;
	gap: 2px;
	min-width: 0;
}

.wram-sidebar-title strong {
	font-size: 20px;
	line-height: 1.1;
}

.wram-sidebar-title span {
	color: var(--wram-muted);
	font-size: 13px;
	font-weight: 800;
}

.wram-sidebar-nav,
.wram-sidebar-footer {
	display: grid;
	gap: 7px;
}

.wram-sidebar-footer {
	border-top: 1px solid #eef2f5;
	margin-top: 14px;
	padding-top: 12px;
}

.wram-sidebar-link {
	align-items: center;
	background: transparent;
	border: 1px solid transparent;
	border-radius: 8px;
	color: #334155;
	cursor: pointer;
	display: flex;
	font-weight: 900;
	gap: 10px;
	min-height: 44px;
	padding: 10px 12px;
	text-align: start;
	text-decoration: none !important;
	transition: background .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
	width: 100%;
}

.wram-sidebar-link i {
	align-items: center;
	color: #7b8a9a;
	display: inline-flex;
	font-size: 16px;
	justify-content: center;
	width: 20px;
}

.wram-sidebar-link:hover {
	background: #f3f8f6;
	border-color: #d9e9e3;
	color: var(--wram-brand-dark);
	transform: translateX(-1px);
}

.wram-sidebar-link.is-active {
	background: #e8f7f1;
	border-color: #bde6d5;
	box-shadow: inset -4px 0 0 var(--wram-brand);
	color: var(--wram-brand-dark);
}

.wram-sidebar-link.is-active i {
	color: var(--wram-brand);
}

.wram-main-topbar {
	align-items: center;
	background: var(--wram-surface);
	border: 1px solid var(--wram-border);
	border-radius: 10px;
	box-shadow: 0 10px 28px rgba(15, 23, 42, .06);
	display: flex;
	gap: 14px;
	justify-content: space-between;
	margin-bottom: 16px;
	padding: 16px;
}

.wram-main-title h2 {
	align-items: center;
	display: inline-flex;
	font-size: clamp(22px, 2.1vw, 30px);
	gap: 10px;
	line-height: 1.2;
	margin: 0;
}

.wram-main-title h2 i {
	color: var(--wram-brand);
}

.wram-main-title p {
	color: var(--wram-muted);
	font-size: 14px;
	font-weight: 800;
	margin: 6px 0 0;
}

.wram-topbar-actions {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: flex-end;
}

.wram-user-chip {
	align-items: center;
	background: #f8fafc;
	border: 1px solid var(--wram-border);
	border-radius: 999px;
	color: #334155;
	display: inline-flex;
	font-size: 13px;
	font-weight: 900;
	gap: 7px;
	min-height: 38px;
	padding: 7px 11px;
	white-space: nowrap;
}

.wram-app-header {
	align-items: center;
	background: var(--wram-surface);
	border: 1px solid var(--wram-border);
	border-radius: 8px;
	box-shadow: var(--wram-shadow);
	display: flex;
	gap: 16px;
	justify-content: space-between;
	margin-bottom: 14px;
	padding: 16px;
}

.wram-app-header h2 {
	align-items: center;
	display: inline-flex;
	font-size: clamp(22px, 2.2vw, 30px);
	gap: 10px;
	line-height: 1.2;
	margin: 0;
}

.wram-app-header p,
.wram-help-text {
	color: var(--wram-muted);
	font-size: 14px;
	font-weight: 700;
	margin: 6px 0 0;
}

.wram-app-tabs {
	background: var(--wram-surface);
	border: 1px solid var(--wram-border);
	border-radius: 8px;
	box-shadow: 0 8px 20px rgba(15, 23, 42, .04);
	display: grid;
	gap: 8px;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	margin-bottom: 16px;
	padding: 8px;
}

.wram-app-tabs button {
	align-items: center;
	background: #fff;
	border: 1px solid transparent;
	border-radius: 7px;
	color: var(--wram-muted);
	cursor: pointer;
	display: inline-flex;
	font-weight: 900;
	gap: 8px;
	justify-content: center;
	min-height: 44px;
	padding: 8px 10px;
}

.wram-app-tabs button.is-active {
	background: var(--wram-blue);
	border-color: var(--wram-blue);
	color: #fff;
}

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

.wram-kpi-card {
	align-items: stretch;
	background: var(--wram-surface);
	border: 1px solid var(--wram-border);
	border-radius: 8px;
	border-top: 4px solid var(--wram-blue);
	box-shadow: 0 8px 22px rgba(15, 23, 42, .045);
	color: var(--wram-text);
	cursor: pointer;
	display: grid;
	gap: 10px;
	min-height: 142px;
	padding: 16px;
	text-align: center;
	transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
	width: 100%;
}

.wram-kpi-card:hover,
.wram-kpi-card.is-active {
	border-color: #b7c7d6;
	box-shadow: 0 16px 38px rgba(15, 23, 42, .1);
	transform: translateY(-1px);
}

.wram-kpi-card--green {
	border-top-color: var(--wram-green);
}

.wram-kpi-card--red {
	border-top-color: var(--wram-red);
}

.wram-kpi-card--amber {
	border-top-color: #d58619;
}

.wram-kpi-card--navy {
	border-top-color: #14466f;
}

.wram-kpi-icon {
	align-items: center;
	background: var(--wram-blue-soft);
	border-radius: 8px;
	color: var(--wram-blue);
	display: inline-flex;
	font-size: 18px;
	height: 38px;
	justify-content: center;
	justify-self: center;
	width: 38px;
}

.wram-kpi-card--green .wram-kpi-icon {
	background: var(--wram-green-soft);
	color: var(--wram-green);
}

.wram-kpi-card--red .wram-kpi-icon {
	background: var(--wram-red-soft);
	color: var(--wram-red);
}

.wram-kpi-content {
	display: grid;
	gap: 5px;
	min-width: 0;
}

.wram-kpi-number {
	font-size: clamp(28px, 3vw, 38px);
	line-height: 1.1;
}

.wram-kpi-title {
	font-size: 15px;
	font-weight: 900;
}

.wram-kpi-card small {
	color: var(--wram-muted);
	font-size: 13px;
	font-weight: 700;
}

.wram-panel {
	background: var(--wram-surface);
	border: 1px solid var(--wram-border);
	border-radius: 8px;
	box-shadow: 0 10px 28px rgba(15, 23, 42, .055);
	margin-bottom: 18px;
	padding: 16px;
}

.wram-panel-head {
	align-items: center;
	display: flex;
	gap: 12px;
	justify-content: space-between;
	margin-bottom: 12px;
}

.wram-panel-head h3 {
	align-items: center;
	display: inline-flex;
	font-size: 20px;
	gap: 8px;
	margin: 0;
}

.wram-panel-head > span {
	color: var(--wram-muted);
	font-size: 14px;
	font-weight: 800;
}

.wram-report-grid {
	display: grid;
	gap: 12px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.wram-report-card {
	background: var(--wram-surface);
	border: 1px solid var(--wram-border);
	border-radius: 8px;
	box-shadow: 0 8px 20px rgba(15, 23, 42, .05);
	padding: 16px;
}

.wram-report-card i {
	color: var(--wram-blue);
	font-size: 24px;
}

.wram-report-card h3 {
	font-size: 18px;
	margin: 10px 0 6px;
}

.wram-report-card p {
	color: var(--wram-muted);
	font-size: 14px;
	font-weight: 700;
	margin: 0;
}

.wram-stats {
	display: grid;
	gap: 12px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin-bottom: 16px;
}

.wram-stat {
	background: var(--wram-surface);
	border: 1px solid var(--wram-border);
	border-top: 4px solid var(--wram-blue);
	border-radius: 8px;
	box-shadow: 0 8px 22px rgba(15, 23, 42, .045);
	padding: 16px;
	text-align: center;
}

.wram-stat-number {
	display: block;
	font-size: 26px;
	font-weight: 800;
	line-height: 1.1;
}

.wram-stat-label {
	color: var(--wram-muted);
	display: block;
	font-size: 14px;
	margin-top: 4px;
}

.wram-stat--available {
	border-color: #a7dfbb;
	border-top-color: var(--wram-green);
}

.wram-stat--unavailable {
	border-color: #f0b4b2;
	border-top-color: var(--wram-red);
}

.wram-dashboard .wram-file-panel {
	background: var(--wram-surface);
	border: 1px solid var(--wram-border);
	border-radius: 8px;
	box-shadow: var(--wram-shadow);
	display: block;
	margin-bottom: 16px;
	padding: 14px;
	text-align: start;
	width: 100%;
}

.wram-dashboard .wram-file-panel-head {
	align-items: center;
	display: flex;
	gap: 12px;
	justify-content: space-between;
	margin-bottom: 12px;
}

.wram-dashboard .wram-file-panel-head h3 {
	align-items: center;
	display: inline-flex;
	font-size: 18px;
	gap: 8px;
	line-height: 1.3;
	margin: 0;
	text-align: start;
}

.wram-dashboard .wram-file-export-group {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: flex-end;
}

.wram-dashboard .wram-file-actions {
	align-items: center;
	display: grid;
	gap: 10px;
	grid-template-columns: minmax(150px, 210px) minmax(240px, 1fr) minmax(210px, auto) auto;
}

.wram-dashboard .wram-import-section-field {
	background: #f8fafc;
	border: 1px solid var(--wram-border);
	border-radius: 8px;
	display: grid;
	gap: 5px;
	padding: 8px 10px;
}

.wram-dashboard .wram-import-section-field span {
	color: var(--wram-muted);
	font-size: 12px;
	font-weight: 900;
}

.wram-dashboard .wram-import-section-field select {
	background: #fff;
	border: 1px solid var(--wram-border);
	border-radius: 7px;
	min-height: 36px;
	padding: 6px 8px;
}

.wram-dashboard .wram-file-picker {
	align-items: center;
	border: 1px dashed #9fb2c6;
	border-radius: 8px;
	display: flex;
	gap: 10px;
	min-height: 48px;
	min-width: 0;
	padding: 6px;
}

.wram-dashboard .wram-file-picker input[type="file"] {
	block-size: 1px !important;
	clip: rect(0, 0, 0, 0) !important;
	clip-path: inset(50%) !important;
	inline-size: 1px !important;
	margin: -1px !important;
	opacity: 0 !important;
	overflow: hidden !important;
	padding: 0 !important;
	position: absolute !important;
	white-space: nowrap !important;
}

.wram-dashboard .wram-file-picker span,
.wram-dashboard .wram-file-button {
	align-items: center;
	border: 1px solid transparent;
	border-radius: 7px;
	cursor: pointer;
	display: inline-flex;
	font-weight: 900;
	gap: 8px;
	justify-content: center;
	line-height: 1.2;
	min-height: 42px;
	padding: 9px 13px;
	text-decoration: none !important;
	white-space: nowrap;
}

.wram-dashboard .wram-file-picker span {
	background: var(--wram-blue-soft);
	color: var(--wram-blue);
	flex: 0 0 auto;
}

.wram-dashboard .wram-file-picker strong {
	color: var(--wram-muted);
	display: block;
	font-size: 13px;
	font-weight: 800;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.wram-dashboard .wram-file-button--import {
	background: var(--wram-blue);
	border-color: var(--wram-blue);
	color: #fff;
}

.wram-dashboard .wram-file-button--export {
	background: var(--wram-green);
	border-color: var(--wram-green);
	color: #fff;
}

.wram-dashboard .wram-file-button--export-secondary {
	background: #fff;
	border-color: var(--wram-green);
	color: var(--wram-green);
}

.wram-dashboard .wram-file-button--view {
	background: #fff;
	border-color: var(--wram-blue);
	color: var(--wram-blue);
}

.wram-dashboard .wram-file-button--view.is-active {
	background: var(--wram-blue);
	border-color: var(--wram-blue);
	color: #fff;
}

.wram-dashboard .wram-file-button:hover,
.wram-dashboard .wram-file-picker:hover span {
	filter: brightness(.96);
	transform: translateY(-1px);
}

.wram-dashboard .wram-import-status-toggle {
	align-items: center;
	background: #f8fafc;
	border: 1px solid var(--wram-border);
	border-radius: 8px;
	color: var(--wram-muted);
	display: inline-flex;
	font-size: 14px;
	font-weight: 800;
	gap: 9px;
	min-height: 48px;
	padding: 10px 12px;
}

.wram-dashboard .wram-import-status-toggle input {
	accent-color: var(--wram-green);
	block-size: 18px;
	inline-size: 18px;
}

.wram-import-progress {
	background: #e8edf3;
	border-radius: 999px;
	height: 9px;
	margin-top: 12px;
	overflow: hidden;
	position: relative;
}

.wram-import-progress span {
	background: linear-gradient(90deg, var(--wram-blue), var(--wram-green));
	border-radius: inherit;
	display: block;
	height: 100%;
	overflow: hidden;
	position: relative;
	transition: width .24s ease;
	width: 0;
}

.wram-import-progress span::after {
	animation: wram-progress-shine 1s linear infinite;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .55), transparent);
	content: "";
	inset: 0;
	position: absolute;
	transform: translateX(100%);
}

.wram-import-summary {
	border-radius: 7px;
	font-size: 14px;
	font-weight: 800;
	margin: 12px 0 0;
	padding: 9px 11px;
}

.wram-import-summary.is-success {
	background: var(--wram-green-soft);
	color: var(--wram-green);
}

.wram-import-summary.is-error {
	background: var(--wram-red-soft);
	color: var(--wram-red);
}

.wram-dashboard-view[hidden] {
	display: none;
}

@keyframes wram-progress-shine {
	0% {
		transform: translateX(100%);
	}
	100% {
		transform: translateX(-100%);
	}
}

.wram-controls {
	align-items: end;
	background: var(--wram-surface);
	border: 1px solid var(--wram-border);
	border-radius: 8px;
	box-shadow: 0 8px 22px rgba(15, 23, 42, .045);
	display: grid;
	gap: 12px;
	grid-template-columns: 1fr;
	margin-bottom: 16px;
	padding: 14px;
}

.wram-search-label,
.wram-select-label {
	color: var(--wram-muted);
	font-size: 14px;
	font-weight: 700;
	margin-bottom: -6px;
}

.wram-search-input,
.wram-select,
.wram-page-size {
	background: #fff;
	border: 1px solid var(--wram-border);
	border-radius: 6px;
	min-height: 44px;
	padding: 9px 12px;
	width: 100%;
}

.wram-dashboard button:focus-visible,
.wram-dashboard input:focus-visible,
.wram-dashboard select:focus-visible,
.wram-dashboard a:focus-visible {
	box-shadow: 0 0 0 3px rgba(31, 94, 158, .22);
	outline: 2px solid var(--wram-blue);
	outline-offset: 1px;
}

.wram-status-filters {
	display: grid;
	gap: 8px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.wram-filter-button,
.wram-action-button {
	align-items: center;
	border: 1px solid var(--wram-border);
	border-radius: 6px;
	cursor: pointer;
	display: inline-flex;
	gap: 8px;
	justify-content: center;
	font-weight: 800;
	min-height: 44px;
	padding: 9px 12px;
	text-align: center;
	transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}

.wram-filter-button {
	background: #fff;
	color: var(--wram-text);
}

.wram-filter-button.is-active {
	background: var(--wram-brand);
	border-color: var(--wram-brand);
	color: #fff;
}

.wram-action-button--success {
	background: var(--wram-green);
	border-color: var(--wram-green);
	color: #fff;
}

.wram-action-button--primary {
	background: var(--wram-blue);
	border-color: var(--wram-blue);
	color: #fff;
}

.wram-action-button--danger {
	background: var(--wram-red);
	border-color: var(--wram-red);
	color: #fff;
}

.wram-action-button[data-wram-transfer-services-contract],
.wram-action-button[data-wram-archive-expired-contract] {
	background: #e08a1e;
	border-color: #e08a1e;
	color: #fff;
}

.wram-action-button--muted {
	background: #eef1f4;
	color: var(--wram-text);
}

.wram-action-button--whatsapp {
	background: #1fb45b;
	border-color: #1fb45b;
	color: #fff;
	text-decoration: none !important;
}

.wram-row-actions {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
	justify-content: flex-start;
}

.wram-action-button:not([disabled]):hover,
.wram-filter-button:not(.is-active):hover {
	transform: translateY(-1px);
}

.wram-action-button[disabled] {
	cursor: progress;
	opacity: .65;
}

.wram-results-bar {
	align-items: center;
	display: flex;
	gap: 12px;
	justify-content: space-between;
	margin: 0 0 12px;
}

.wram-results-count {
	color: var(--wram-muted);
	font-size: 14px;
	font-weight: 800;
}

.wram-page-size-label {
	align-items: center;
	color: var(--wram-muted);
	display: inline-flex;
	font-size: 14px;
	font-weight: 800;
	gap: 8px;
	white-space: nowrap;
}

.wram-page-size {
	min-height: 38px;
	min-width: 84px;
	padding: 6px 10px;
	width: auto;
}

.wram-table-wrap {
	background: var(--wram-surface);
	border: 1px solid var(--wram-border);
	border-radius: 8px;
	box-shadow: 0 10px 28px rgba(15, 23, 42, .045);
	overflow-x: auto;
	overflow-y: visible;
	-webkit-overflow-scrolling: touch;
}

.wram-worker-table {
	border-collapse: separate;
	border-spacing: 0 10px;
	display: block;
	width: 100%;
}

.wram-worker-table tbody {
	display: block;
}

.wram-worker-table thead {
	display: none;
}

.wram-worker-row {
	background: var(--wram-surface);
	border: 1px solid var(--wram-border);
	border-inline-start: 6px solid var(--wram-green);
	border-radius: 8px;
	display: block;
	margin-bottom: 10px;
	overflow: hidden;
}

.wram-worker-row--available {
	background: var(--wram-green);
	border-color: #0f6f35;
	border-inline-start-color: #0b5b2b;
	box-shadow: 0 12px 26px rgba(22, 128, 60, .22);
	color: #fff;
}

.wram-worker-row--unavailable {
	background: var(--wram-red);
	border-color: #a92a28;
	border-inline-start-color: #8f201f;
	box-shadow: 0 12px 26px rgba(200, 53, 50, .22);
	color: #fff;
}

.wram-worker-row[hidden] {
	display: none;
}

.wram-worker-row td {
	align-items: center;
	border-bottom: 1px solid #edf0f3;
	display: flex;
	gap: 12px;
	justify-content: space-between;
	padding: 11px 12px;
	text-align: start;
	word-break: break-word;
}

.wram-worker-row--available td,
.wram-worker-row--unavailable td {
	border-bottom-color: rgba(255, 255, 255, .23);
	color: #fff;
}

.wram-worker-row td::before {
	color: var(--wram-muted);
	content: attr(data-label);
	font-size: 13px;
	font-weight: 800;
	min-width: 120px;
}

.wram-worker-row--available td::before,
.wram-worker-row--unavailable td::before {
	color: rgba(255, 255, 255, .82);
}

.wram-worker-row td:last-child {
	border-bottom: 0;
}

.wram-status-badge {
	border-radius: 999px;
	display: inline-flex;
	font-size: 14px;
	font-weight: 900;
	line-height: 1;
	padding: 7px 10px;
	white-space: nowrap;
}

.wram-status-badge--available {
	background: var(--wram-green-soft);
	color: var(--wram-green);
}

.wram-status-badge--unavailable {
	background: var(--wram-red-soft);
	color: var(--wram-red);
}

.wram-worker-row--available .wram-status-badge--available {
	background: #fff;
	color: var(--wram-green);
}

.wram-worker-row--unavailable .wram-status-badge--unavailable {
	background: #fff;
	color: var(--wram-red);
}

.wram-worker-row--available .wram-action-button--danger {
	background: #fff;
	border-color: #fff;
	color: #0b5b2b;
}

.wram-worker-row--available .wram-action-button--primary {
	background: #fff;
	border-color: #fff;
	color: #0b5b2b;
}

.wram-worker-row--available .wram-action-button--danger:not([disabled]):hover {
	background: #ecfdf3;
	border-color: #ecfdf3;
}

.wram-worker-row--unavailable .wram-action-button--success {
	background: #fff;
	border-color: #fff;
	color: #8f201f;
}

.wram-worker-row--unavailable .wram-action-button--primary,
.wram-worker-row--unavailable .wram-action-button--muted,
.wram-worker-row--unavailable .wram-action-button--danger {
	background: #fff;
	border-color: #fff;
	color: #8f201f;
}

.wram-worker-row--unavailable .wram-action-button--success:not([disabled]):hover {
	background: #fff5f5;
	border-color: #fff5f5;
}

.wram-contract-row,
.wram-salary-item-row,
.wram-bucket-row {
	background: var(--wram-surface);
	color: var(--wram-text);
}

.wram-contract-row[hidden],
.wram-salary-item-row[hidden] {
	display: none;
}

.wram-contract-status--active,
.wram-salary-status--paid {
	background: var(--wram-green-soft);
	color: var(--wram-green);
}

.wram-contract-status--expired,
.wram-contract-status--cancelled,
.wram-salary-status--overdue {
	background: var(--wram-red-soft);
	color: var(--wram-red);
}

.wram-contract-status--closed,
.wram-contract-status--renewed,
.wram-contract-status--frozen,
.wram-salary-status--pending,
.wram-salary-status--due_soon,
.wram-salary-status--cancelled {
	background: var(--wram-blue-soft);
	color: var(--wram-blue);
}

.wram-empty-state,
.wram-access-denied {
	background: var(--wram-surface);
	border: 1px solid var(--wram-border);
	border-radius: 8px;
	font-weight: 800;
	padding: 18px;
	text-align: center;
}

.wram-pagination {
	align-items: center;
	display: flex;
	gap: 8px;
	justify-content: center;
	margin-top: 16px;
}

.wram-pagination[hidden] {
	display: none;
}

.wram-page-numbers {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	justify-content: center;
}

.wram-page-button,
.wram-page-number {
	align-items: center;
	background: #fff;
	border: 1px solid var(--wram-border);
	border-radius: 6px;
	color: var(--wram-text);
	cursor: pointer;
	display: inline-flex;
	gap: 7px;
	justify-content: center;
	font: inherit;
	font-weight: 800;
	min-height: 40px;
	min-width: 42px;
	padding: 7px 11px;
}

.wram-page-button[disabled] {
	cursor: not-allowed;
	opacity: .48;
}

.wram-page-number.is-active {
	background: var(--wram-blue);
	border-color: var(--wram-blue);
	color: #fff;
}

.wram-page-button:not([disabled]):hover,
.wram-page-number:not(.is-active):hover {
	background: var(--wram-blue-soft);
	border-color: #9fc0e4;
}

.wram-report-bar {
	display: flex;
	justify-content: center;
	margin: 18px 0 4px;
}

.wram-report-button {
	align-items: center;
	background: #fff;
	border: 1px solid var(--wram-red);
	border-radius: 7px;
	box-shadow: 0 10px 22px rgba(200, 53, 50, .08);
	color: var(--wram-red);
	display: inline-flex;
	font-weight: 900;
	gap: 8px;
	justify-content: center;
	min-height: 42px;
	padding: 9px 14px;
	text-decoration: none !important;
	transition: background .18s ease, box-shadow .18s ease, transform .18s ease;
}

.wram-report-button:hover {
	background: var(--wram-red-soft);
	box-shadow: 0 14px 28px rgba(200, 53, 50, .13);
	color: var(--wram-red);
	transform: translateY(-1px);
}

.wram-report-button i {
	font-size: 15px;
}

.wram-report-button--compact {
	border-color: #e6d2d2;
	box-shadow: none;
	min-height: 38px;
	padding: 7px 11px;
}

.wram-salary-head {
	align-items: center;
	background: var(--wram-surface);
	border: 1px solid var(--wram-border);
	border-radius: 8px;
	box-shadow: var(--wram-shadow);
	display: flex;
	gap: 12px;
	justify-content: space-between;
	margin-bottom: 16px;
	padding: 14px;
}

.wram-salary-head h3 {
	align-items: center;
	display: inline-flex;
	font-size: 20px;
	gap: 8px;
	line-height: 1.25;
	margin: 0;
}

.wram-salary-head span {
	background: var(--wram-blue-soft);
	border-radius: 999px;
	color: var(--wram-blue);
	font-size: 14px;
	font-weight: 900;
	padding: 6px 10px;
	white-space: nowrap;
}

.wram-controls.wram-salary-controls {
	grid-template-columns: 1fr;
}

.wram-salary-table-wrap {
	background: var(--wram-surface);
	border: 1px solid var(--wram-border);
	border-radius: 8px;
	box-shadow: var(--wram-shadow);
	overflow: auto;
	width: 100%;
}

.wram-salary-table {
	border-collapse: collapse;
	direction: rtl;
	min-width: 2200px;
	width: max-content;
}

.wram-salary-table th,
.wram-salary-table td {
	border-bottom: 1px solid var(--wram-border);
	border-inline-start: 1px solid var(--wram-border);
	padding: 9px 10px;
	text-align: center;
	vertical-align: middle;
	white-space: nowrap;
}

.wram-salary-table th {
	background: #eef1f4;
	color: var(--wram-muted);
	font-size: 13px;
	font-weight: 900;
}

.wram-salary-table .wram-salary-month-head {
	background: var(--wram-blue);
	color: #fff;
	min-width: 82px;
}

.wram-salary-row:hover td {
	background: #f8fafc;
}

.wram-salary-row[hidden] {
	display: none;
}

.wram-salary-worker-cell {
	font-weight: 900;
	min-width: 210px;
	text-align: start !important;
	white-space: normal !important;
}

.wram-salary-status {
	background: var(--wram-blue-soft);
	border-radius: 999px;
	color: var(--wram-blue);
	display: inline-flex;
	font-size: 13px;
	font-weight: 900;
	line-height: 1;
	padding: 7px 9px;
}

.wram-salary-toggle {
	align-items: center;
	background: #fff7f7;
	border: 1px solid #f0b4b2;
	border-radius: 999px;
	color: transparent;
	cursor: pointer;
	display: inline-flex;
	height: 34px;
	justify-content: center;
	padding: 0;
	transition: background .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
	width: 34px;
}

.wram-salary-toggle i {
	font-size: 14px;
	opacity: 0;
}

.wram-salary-toggle.is-received {
	background: var(--wram-green);
	border-color: var(--wram-green);
	color: #fff;
}

.wram-salary-toggle.is-received i {
	opacity: 1;
}

.wram-salary-toggle:not([disabled]):hover {
	transform: translateY(-1px);
}

.wram-salary-toggle[disabled] {
	cursor: progress;
	opacity: .75;
}

.wram-modal[hidden] {
	display: none;
}

.wram-modal {
	align-items: center;
	display: flex;
	inset: 0;
	justify-content: center;
	padding: 16px;
	position: fixed;
	z-index: 99999;
}

.wram-modal-backdrop {
	background: rgba(15, 23, 42, .58);
	inset: 0;
	position: absolute;
}

.wram-modal-dialog {
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 18px 60px rgba(15, 23, 42, .24);
	max-height: calc(100vh - 32px);
	max-width: 760px;
	overflow: auto;
	padding: 18px;
	position: relative;
	width: min(100%, 760px);
}

.wram-modal-dialog--wide {
	max-width: 980px;
	width: min(100%, 980px);
}

.wram-modal-dialog h3 {
	font-size: 20px;
	margin: 0 0 8px;
}

.wram-date-grid {
	display: grid;
	gap: 10px;
	grid-template-columns: 1fr 1fr;
	margin-top: 12px;
}

.wram-date-field {
	background: #f8fafc;
	border: 1px solid var(--wram-border);
	border-radius: 8px;
	display: block;
	padding: 10px;
}

.wram-date-field span,
.wram-modal-dialog label {
	display: block;
	font-weight: 800;
	margin: 0 0 6px;
}

.wram-modal-dialog input,
.wram-modal-dialog select,
.wram-modal-dialog textarea {
	border: 1px solid var(--wram-border);
	border-radius: 6px;
	min-height: 44px;
	padding: 9px 12px;
	width: 100%;
}

.wram-form-grid,
.wram-detail-grid {
	display: grid;
	gap: 12px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.wram-form-grid label,
.wram-full-field {
	background: #f8fafc;
	border: 1px solid var(--wram-border);
	border-radius: 8px;
	padding: 10px;
}

.wram-full-field {
	display: block;
	margin-top: 12px;
}

.wram-selected-worker {
	background: var(--wram-blue-soft);
	border-radius: 8px;
	color: var(--wram-blue);
	font-weight: 900;
	margin: 0 0 12px;
	padding: 10px;
}

.wram-detail-grid h4,
.wram-detail-notes h4,
.wram-detail-salary h4 {
	font-size: 17px;
	margin: 0 0 10px;
}

.wram-detail-grid > div,
.wram-detail-notes,
.wram-detail-salary {
	background: #f8fafc;
	border: 1px solid var(--wram-border);
	border-radius: 8px;
	padding: 12px;
}

.wram-detail-grid dl {
	display: grid;
	gap: 7px 12px;
	grid-template-columns: minmax(110px, auto) 1fr;
	margin: 0;
}

.wram-detail-grid dt {
	color: var(--wram-muted);
	font-weight: 900;
}

.wram-detail-grid dd {
	margin: 0;
}

.wram-detail-notes,
.wram-detail-salary {
	margin-top: 12px;
}

.wram-detail-salary table {
	border-collapse: collapse;
	width: 100%;
}

.wram-detail-salary th,
.wram-detail-salary td {
	border-bottom: 1px solid var(--wram-border);
	padding: 9px;
	text-align: start;
}

.wram-modal-actions {
	display: grid;
	gap: 8px;
	grid-template-columns: 1fr 1fr;
	margin-top: 14px;
}

.wram-login {
	display: flex;
	justify-content: center;
}

.wram-login-panel {
	background: var(--wram-surface);
	border: 1px solid var(--wram-border);
	border-radius: 8px;
	max-width: 420px;
	padding: 18px;
	width: 100%;
}

.wram-login-panel label {
	display: block;
	font-weight: 800;
	margin-top: 12px;
}

.wram-login-panel input[type="text"],
.wram-login-panel input[type="password"] {
	border: 1px solid var(--wram-border);
	border-radius: 6px;
	min-height: 44px;
	padding: 9px 12px;
	width: 100%;
}

.wram-login-panel input[type="submit"] {
	background: var(--wram-blue);
	border: 1px solid var(--wram-blue);
	border-radius: 6px;
	color: #fff;
	cursor: pointer;
	font-weight: 800;
	margin-top: 14px;
	min-height: 44px;
	padding: 9px 14px;
	width: 100%;
}

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

@media (max-width: 900px) {
	.wram-app-shell {
		display: block;
	}

	.wram-sidebar {
		margin-bottom: 16px;
		max-height: none;
		min-height: 0;
		overflow: visible;
		position: static;
	}

	.wram-sidebar-brand {
		justify-content: center;
	}

	.wram-sidebar-nav {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.wram-sidebar-footer {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		margin-top: 0;
	}

	.wram-sidebar-link {
		justify-content: center;
		text-align: center;
	}

	.wram-sidebar-link.is-active {
		box-shadow: inset 0 -4px 0 var(--wram-brand);
	}

	.wram-main-topbar {
		align-items: stretch;
		flex-direction: column;
	}

	.wram-topbar-actions {
		justify-content: flex-start;
	}
}

@media (min-width: 760px) {
	.wram-controls {
		grid-template-columns: 1.3fr 1.1fr .8fr;
	}

	.wram-search-label,
	.wram-select-label {
		grid-row: 1;
	}

	.wram-search-input,
	.wram-status-filters,
	.wram-select {
		grid-row: 2;
	}
}

@media (max-width: 759px) {
	.wram-app-header,
	.wram-dashboard .wram-file-panel-head {
		align-items: stretch;
		flex-direction: column;
	}

	.wram-sidebar-nav,
	.wram-sidebar-footer {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.wram-kpi-grid,
	.wram-report-grid,
	.wram-form-grid,
	.wram-detail-grid {
		grid-template-columns: 1fr;
	}

	.wram-panel-head {
		align-items: stretch;
		flex-direction: column;
	}

	.wram-dashboard .wram-file-actions {
		grid-template-columns: 1fr;
	}

	.wram-dashboard .wram-file-button,
	.wram-dashboard .wram-import-status-toggle {
		width: 100%;
	}

	.wram-dashboard .wram-file-export-group {
		display: grid;
		grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
		justify-content: stretch;
	}
}

@media (min-width: 980px) {
	.wram-worker-table {
		border-collapse: collapse;
		border-spacing: 0;
		display: table;
		min-width: 1740px;
		width: max-content;
	}

	.wram-worker-table tbody {
		display: table-row-group;
	}

	.wram-worker-table thead {
		display: table-header-group;
	}

	.wram-worker-table th {
		background: #f4f7f9;
		border-bottom: 1px solid var(--wram-border);
		color: #475569;
		font-size: 13px;
		font-weight: 900;
		padding: 12px 10px;
		position: sticky;
		top: 0;
		text-align: start;
		white-space: nowrap;
		word-break: normal;
		z-index: 1;
	}

	.wram-worker-row {
		border: 0;
		border-inline-start: 5px solid var(--wram-green);
		border-radius: 0;
		display: table-row;
		margin: 0;
	}

	.wram-worker-row--available {
		border-inline-start-color: #0b5b2b;
	}

	.wram-worker-row--unavailable {
		border-inline-start-color: #8f201f;
	}

	.wram-worker-row td {
		background: var(--wram-surface);
		border-bottom: 1px solid var(--wram-border);
		display: table-cell;
		padding: 13px 10px;
		vertical-align: middle;
		white-space: nowrap;
		word-break: normal;
	}

	.wram-worker-row td[data-label="اسم العاملة"],
	.wram-worker-row td[data-label="اسم العميل"],
	.wram-worker-row td[data-label="العميل الحالي"],
	.wram-worker-row td[data-label="ملاحظات داخلية"] {
		min-width: 220px;
		white-space: normal;
	}

	.wram-worker-row td[data-label="الإجراء"] {
		min-width: 150px;
	}

	.wram-worker-row:hover td {
		background: #fbfcfd;
	}

	.wram-worker-row--available td {
		background: var(--wram-green);
		border-bottom-color: rgba(255, 255, 255, .24);
		color: #fff;
	}

	.wram-worker-row--unavailable td {
		background: var(--wram-red);
		border-bottom-color: rgba(255, 255, 255, .24);
		color: #fff;
	}

	.wram-worker-row--available:hover td {
		background: #147638;
	}

	.wram-worker-row--unavailable:hover td {
		background: #bd302d;
	}

	.wram-worker-row td:first-child {
		border-inline-start: 5px solid var(--wram-green);
	}

	.wram-worker-row--available td:first-child {
		border-inline-start-color: #0b5b2b;
	}

	.wram-worker-row--unavailable td:first-child {
		border-inline-start-color: #8f201f;
	}

	.wram-worker-row td::before {
		display: none;
	}
}

@media (max-width: 520px) {
	.wram-dashboard {
		padding: 10px;
	}

	.wram-sidebar-nav,
	.wram-sidebar-footer,
	.wram-topbar-actions {
		grid-template-columns: 1fr;
	}

	.wram-topbar-actions {
		align-items: stretch;
		display: grid;
	}

	.wram-user-chip {
		justify-content: center;
	}

	.wram-dashboard-header {
		align-items: stretch;
		flex-direction: column;
	}

	.wram-stats {
		grid-template-columns: 1fr;
	}

	.wram-dashboard .wram-file-picker {
		align-items: stretch;
		flex-direction: column;
	}

	.wram-dashboard .wram-file-picker span {
		width: 100%;
	}

	.wram-dashboard .wram-file-picker strong {
		text-align: center;
		white-space: normal;
	}

	.wram-dashboard .wram-file-export-group {
		grid-template-columns: 1fr;
	}

	.wram-status-filters,
	.wram-date-grid,
	.wram-modal-actions {
		grid-template-columns: 1fr;
	}

	.wram-row-actions {
		align-items: stretch;
		flex-direction: column;
	}

	.wram-row-actions .wram-action-button {
		width: 100%;
	}

	.wram-salary-head {
		align-items: stretch;
		flex-direction: column;
	}

	.wram-salary-head h3 {
		font-size: 18px;
	}

	.wram-salary-table {
		min-width: 1850px;
	}

	.wram-results-bar,
	.wram-pagination {
		align-items: stretch;
		flex-direction: column;
	}

	.wram-page-numbers {
		display: grid;
		grid-template-columns: repeat(auto-fit, minmax(42px, 1fr));
		width: 100%;
	}

	.wram-page-button,
	.wram-page-number,
	.wram-report-button {
		width: 100%;
	}
}

/* Production hardening: keep theme/Elementor button and table styles out of the internal app. */
.wram-dashboard {
	background: #f3f6f8 !important;
	color: #17202a !important;
	font-family: Tahoma, Arial, sans-serif !important;
	isolation: isolate;
}

.wram-dashboard *,
.wram-dashboard *::before,
.wram-dashboard *::after {
	letter-spacing: 0 !important;
}

.wram-dashboard a,
.wram-dashboard button,
.wram-dashboard input,
.wram-dashboard select,
.wram-dashboard textarea {
	box-shadow: none;
	font-family: inherit !important;
	text-decoration: none !important;
	text-transform: none !important;
}

.wram-dashboard button,
.wram-dashboard [type="button"],
.wram-dashboard [type="submit"] {
	appearance: none !important;
	background-image: none !important;
	line-height: 1.35 !important;
	outline-color: transparent;
}

.wram-dashboard .wram-app-shell {
	align-items: flex-start !important;
	direction: rtl !important;
	display: flex !important;
	flex-direction: row !important;
	gap: 18px !important;
	max-width: 1720px !important;
	width: 100% !important;
}

.wram-dashboard .wram-sidebar {
	background: #ffffff !important;
	border: 1px solid #d8e0e7 !important;
	border-left-color: #cad5dd !important;
	border-radius: 10px !important;
	box-shadow: 0 18px 42px rgba(15, 23, 42, .09) !important;
	color: #17202a !important;
	flex: 0 0 var(--wram-sidebar-width) !important;
	order: 0 !important;
}

.wram-dashboard .wram-main {
	flex: 1 1 auto !important;
	min-width: 0 !important;
	order: 0 !important;
}

.wram-dashboard .wram-main-topbar,
.wram-dashboard .wram-panel,
.wram-dashboard .wram-controls,
.wram-dashboard .wram-table-wrap,
.wram-dashboard .wram-file-panel,
.wram-dashboard .wram-stats .wram-stat {
	background: #ffffff !important;
	border-color: #d8e0e7 !important;
	box-shadow: 0 14px 34px rgba(15, 23, 42, .055) !important;
	color: #17202a !important;
}

.wram-dashboard .wram-sidebar-link,
.wram-dashboard button.wram-sidebar-link,
.wram-dashboard a.wram-sidebar-link {
	background: #ffffff !important;
	border: 1px solid #edf1f5 !important;
	border-radius: 8px !important;
	color: #223044 !important;
	min-height: 46px !important;
	padding: 10px 12px !important;
}

.wram-dashboard .wram-sidebar-link i {
	color: #718196 !important;
}

.wram-dashboard .wram-sidebar-link:hover {
	background: #f3faf7 !important;
	border-color: #cfe8df !important;
	color: #0b6b55 !important;
}

.wram-dashboard .wram-sidebar-link.is-active {
	background: #e5f7ef !important;
	border-color: #a9dfca !important;
	box-shadow: inset -5px 0 0 #14956f !important;
	color: #0b6b55 !important;
}

.wram-dashboard .wram-sidebar-link.is-active i {
	color: #14956f !important;
}

.wram-dashboard .wram-action-button,
.wram-dashboard .wram-filter-button,
.wram-dashboard .wram-file-button,
.wram-dashboard .wram-file-picker span,
.wram-dashboard .wram-page-button,
.wram-dashboard .wram-page-number,
.wram-dashboard .wram-report-button {
	border-radius: 7px !important;
	font-weight: 900 !important;
	min-height: 42px !important;
}

.wram-dashboard .wram-action-button--success,
.wram-dashboard .wram-file-button--export {
	background: #14956f !important;
	border-color: #14956f !important;
	color: #ffffff !important;
}

.wram-dashboard .wram-action-button--primary,
.wram-dashboard .wram-file-button--import,
.wram-dashboard .wram-page-number.is-active {
	background: #1f5e9e !important;
	border-color: #1f5e9e !important;
	color: #ffffff !important;
}

.wram-dashboard .wram-filter-button.is-active {
	background: #14956f !important;
	border-color: #14956f !important;
	color: #ffffff !important;
}

.wram-dashboard .wram-action-button--danger {
	background: #c83532 !important;
	border-color: #c83532 !important;
	color: #ffffff !important;
}

.wram-dashboard .wram-action-button--muted,
.wram-dashboard .wram-filter-button,
.wram-dashboard .wram-page-button,
.wram-dashboard .wram-page-number {
	background: #ffffff !important;
	border-color: #d8e0e7 !important;
	color: #17202a !important;
}

.wram-dashboard .wram-file-button--export-secondary {
	background: #ffffff !important;
	border-color: #14956f !important;
	color: #0f7a5a !important;
}

.wram-dashboard .wram-action-button--whatsapp {
	background: #1fb45b !important;
	border-color: #1fb45b !important;
	color: #ffffff !important;
}

.wram-dashboard .wram-report-button,
.wram-dashboard .wram-report-button--compact {
	background: #ffffff !important;
	border-color: #f0b4b2 !important;
	color: #c83532 !important;
}

.wram-dashboard .wram-kpi-card {
	--wram-kpi-accent: #1f5e9e;
	background: linear-gradient(180deg, #ffffff 0%, #fbfcfd 100%) !important;
	border: 1px solid #d8e0e7 !important;
	border-top: 5px solid var(--wram-kpi-accent) !important;
	border-radius: 8px !important;
	box-shadow: 0 14px 32px rgba(15, 23, 42, .06) !important;
	color: #17202a !important;
	min-height: 150px !important;
	padding: 18px !important;
}

.wram-dashboard .wram-kpi-card--green {
	--wram-kpi-accent: #14956f;
}

.wram-dashboard .wram-kpi-card--red {
	--wram-kpi-accent: #c83532;
}

.wram-dashboard .wram-kpi-card--amber {
	--wram-kpi-accent: #d58619;
}

.wram-dashboard .wram-kpi-card--navy {
	--wram-kpi-accent: #14466f;
}

.wram-dashboard .wram-kpi-card:hover,
.wram-dashboard .wram-kpi-card.is-active {
	border-color: var(--wram-kpi-accent) !important;
	box-shadow: 0 18px 42px rgba(15, 23, 42, .11) !important;
}

.wram-dashboard .wram-kpi-icon {
	background: #eaf2fb !important;
	color: var(--wram-kpi-accent) !important;
}

.wram-dashboard .wram-kpi-card--green .wram-kpi-icon {
	background: #e8f6ee !important;
}

.wram-dashboard .wram-kpi-card--red .wram-kpi-icon {
	background: #fdeceb !important;
}

.wram-dashboard .wram-kpi-card--amber .wram-kpi-icon {
	background: #fff4df !important;
}

.wram-dashboard .wram-kpi-card--navy .wram-kpi-icon {
	background: #e7eef5 !important;
}

.wram-dashboard .wram-kpi-number {
	color: #0f172a !important;
	font-weight: 900 !important;
}

.wram-dashboard .wram-kpi-title {
	color: var(--wram-kpi-accent) !important;
	font-weight: 900 !important;
}

.wram-dashboard .wram-kpi-card small,
.wram-dashboard .wram-main-title p,
.wram-dashboard .wram-panel-head > span,
.wram-dashboard .wram-stat-label {
	color: #596879 !important;
}

.wram-dashboard .wram-search-input,
.wram-dashboard .wram-select,
.wram-dashboard .wram-page-size,
.wram-dashboard .wram-modal-dialog input,
.wram-dashboard .wram-modal-dialog select,
.wram-dashboard .wram-modal-dialog textarea {
	background: #ffffff !important;
	border: 1px solid #cfd8e3 !important;
	border-radius: 7px !important;
	color: #17202a !important;
}

.wram-dashboard .wram-table-wrap {
	scrollbar-color: #9aa8b7 #edf1f5;
	scrollbar-width: thin;
}

.wram-dashboard .wram-worker-table th {
	background: #eef3f7 !important;
	border-color: #d8e0e7 !important;
	color: #435166 !important;
}

.wram-dashboard .wram-contract-row td,
.wram-dashboard .wram-salary-item-row td,
.wram-dashboard .wram-bucket-row td {
	background: #ffffff !important;
	border-color: #d8e0e7 !important;
	color: #17202a !important;
}

.wram-dashboard .wram-status-badge--available,
.wram-dashboard .wram-contract-status--active,
.wram-dashboard .wram-salary-status--paid {
	background: #e8f6ee !important;
	color: #16803c !important;
}

.wram-dashboard .wram-status-badge--unavailable,
.wram-dashboard .wram-contract-status--expired,
.wram-dashboard .wram-contract-status--cancelled,
.wram-dashboard .wram-salary-status--overdue {
	background: #fdeceb !important;
	color: #c83532 !important;
}

.wram-dashboard .wram-contract-status--frozen {
	background: #fff7e6 !important;
	color: #9a5a00 !important;
}

.wram-dashboard .wram-worker-row--available .wram-action-button,
.wram-dashboard .wram-worker-row--unavailable .wram-action-button {
	background: #ffffff !important;
	border-color: #ffffff !important;
}

.wram-dashboard .wram-worker-row--available .wram-action-button {
	color: #0b5b2b !important;
}

.wram-dashboard .wram-worker-row--unavailable .wram-action-button {
	color: #8f201f !important;
}

@media (min-width: 980px) {
	.wram-dashboard .wram-worker-table {
		display: table !important;
		min-width: 1740px !important;
		width: max-content !important;
	}

	.wram-dashboard .wram-worker-table thead {
		display: table-header-group !important;
	}

	.wram-dashboard .wram-worker-table tbody {
		display: table-row-group !important;
	}
}

@media (max-width: 900px) {
	.wram-dashboard .wram-app-shell {
		display: block !important;
	}

	.wram-dashboard .wram-sidebar,
	.wram-dashboard .wram-main {
		order: initial !important;
	}
}

/* UX polish: stronger KPI cards, first-column actions, and friendlier table scrolling. */
.wram-dashboard .wram-kpi-card {
	--wram-kpi-accent: #1f5e9e;
	--wram-kpi-bg: #1f5e9e;
	--wram-kpi-top: #6aa2d7;
	background: linear-gradient(180deg, rgba(255, 255, 255, .14) 0%, rgba(0, 0, 0, .02) 100%), var(--wram-kpi-bg) !important;
	border: 1px solid var(--wram-kpi-bg) !important;
	border-top: 5px solid var(--wram-kpi-top) !important;
	box-shadow: 0 16px 38px rgba(15, 23, 42, .12) !important;
	color: #ffffff !important;
	overflow: hidden !important;
	position: relative !important;
}

.wram-dashboard .wram-kpi-card::after {
	background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, .2), transparent 34%);
	content: "";
	inset: 0;
	pointer-events: none;
	position: absolute;
}

.wram-dashboard .wram-kpi-card--blue {
	--wram-kpi-accent: #1f5e9e;
	--wram-kpi-bg: #1f5e9e;
	--wram-kpi-top: #6aa2d7;
}

.wram-dashboard .wram-kpi-card--green {
	--wram-kpi-accent: #14956f;
	--wram-kpi-bg: #14956f;
	--wram-kpi-top: #6ed0ad;
}

.wram-dashboard .wram-kpi-card--red {
	--wram-kpi-accent: #c83532;
	--wram-kpi-bg: #c83532;
	--wram-kpi-top: #f08b88;
}

.wram-dashboard .wram-kpi-card--amber {
	--wram-kpi-accent: #d58619;
	--wram-kpi-bg: #d58619;
	--wram-kpi-top: #f4bc5f;
}

.wram-dashboard .wram-kpi-card--navy {
	--wram-kpi-accent: #14466f;
	--wram-kpi-bg: #14466f;
	--wram-kpi-top: #6e9abd;
}

.wram-dashboard .wram-kpi-card:hover,
.wram-dashboard .wram-kpi-card.is-active {
	border-color: #ffffff !important;
	box-shadow: 0 18px 44px rgba(15, 23, 42, .2), inset 0 0 0 2px rgba(255, 255, 255, .38) !important;
	transform: translateY(-2px) !important;
}

.wram-dashboard .wram-kpi-card .wram-kpi-icon {
	background: rgba(255, 255, 255, .2) !important;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22) !important;
	color: #ffffff !important;
	position: relative !important;
	z-index: 1 !important;
}

.wram-dashboard .wram-kpi-card .wram-kpi-content {
	position: relative !important;
	z-index: 1 !important;
}

.wram-dashboard .wram-kpi-card .wram-kpi-number,
.wram-dashboard .wram-kpi-card .wram-kpi-title,
.wram-dashboard .wram-kpi-card small {
	color: #ffffff !important;
	text-shadow: 0 1px 1px rgba(0, 0, 0, .18) !important;
}

.wram-dashboard .wram-kpi-card small {
	opacity: .9 !important;
}

.wram-dashboard .wram-table-wrap {
	scrollbar-color: #14956f #e8eef3 !important;
	scrollbar-width: thin !important;
}

.wram-dashboard .wram-table-wrap::-webkit-scrollbar {
	height: 12px;
	width: 12px;
}

.wram-dashboard .wram-table-wrap::-webkit-scrollbar-track {
	background: #e8eef3;
	border-radius: 999px;
}

.wram-dashboard .wram-table-wrap::-webkit-scrollbar-thumb {
	background: linear-gradient(90deg, #14956f, #1f5e9e);
	border: 3px solid #e8eef3;
	border-radius: 999px;
}

.wram-dashboard .wram-table-wrap::-webkit-scrollbar-thumb:hover {
	background: linear-gradient(90deg, #0f7d5c, #174f86);
}

.wram-dashboard .wram-row-actions {
	gap: 8px !important;
	justify-content: center !important;
	min-width: 112px !important;
	overflow: visible !important;
	position: relative !important;
}

.wram-dashboard .wram-row-actions .wram-action-button {
	border-radius: 10px !important;
	font-size: 0 !important;
	gap: 0 !important;
	height: 42px !important;
	line-height: 1 !important;
	min-height: 42px !important;
	min-width: 42px !important;
	overflow: visible !important;
	padding: 0 !important;
	position: relative !important;
	width: 42px !important;
}

.wram-dashboard .wram-row-actions .wram-action-button i {
	font-size: 16px !important;
	line-height: 1 !important;
	margin: 0 !important;
}

.wram-dashboard .wram-row-actions .wram-action-button[data-wram-tooltip]::after,
.wram-dashboard .wram-row-actions .wram-action-button[data-wram-tooltip]::before {
	opacity: 0;
	pointer-events: none;
	position: absolute;
	transition: opacity .16s ease, transform .16s ease;
	z-index: 50;
}

.wram-dashboard .wram-row-actions .wram-action-button[data-wram-tooltip]::after {
	background: #17202a;
	border-radius: 7px;
	box-shadow: 0 10px 24px rgba(15, 23, 42, .22);
	color: #ffffff;
	content: attr(data-wram-tooltip);
	direction: rtl;
	font-size: 12px;
	font-weight: 900;
	inset-block-end: calc(100% + 8px);
	left: 50%;
	line-height: 1.5;
	padding: 6px 9px;
	text-align: center;
	transform: translateX(-50%) translateY(4px);
	white-space: nowrap;
}

.wram-dashboard .wram-row-actions .wram-action-button[data-wram-tooltip]::before {
	border: 6px solid transparent;
	border-top-color: #17202a;
	content: "";
	inset-block-end: calc(100% - 3px);
	left: 50%;
	transform: translateX(-50%) translateY(4px);
}

.wram-dashboard .wram-row-actions .wram-action-button[data-wram-tooltip]:hover::after,
.wram-dashboard .wram-row-actions .wram-action-button[data-wram-tooltip]:hover::before,
.wram-dashboard .wram-row-actions .wram-action-button[data-wram-tooltip]:focus-visible::after,
.wram-dashboard .wram-row-actions .wram-action-button[data-wram-tooltip]:focus-visible::before {
	opacity: 1;
	transform: translateX(-50%) translateY(0);
}

@media (min-width: 780px) {
	.wram-dashboard .wram-worker-table th:first-child,
	.wram-dashboard .wram-worker-table td:first-child {
		position: sticky !important;
		right: 0 !important;
		z-index: 4 !important;
	}

	.wram-dashboard .wram-worker-table th:first-child {
		z-index: 6 !important;
	}
}

.wram-dashboard,
.wram-dashboard :where(div, section, aside, main, header, footer, nav, button, input, select, textarea, table, thead, tbody, tr, th, td, a, p, span, strong, small, h1, h2, h3, h4, label, li, ol, ul, dl, dt, dd) {
	font-family: "Tajawal", Arial, Helvetica, sans-serif !important;
	letter-spacing: 0 !important;
}

.wram-dashboard .wram-worker-row--available td,
.wram-dashboard .wram-worker-row--available.wram-bucket-row td,
.wram-dashboard .wram-worker-table .wram-worker-row--available td {
	background: #14956f !important;
	border-bottom-color: rgba(255, 255, 255, .26) !important;
	color: #ffffff !important;
}

.wram-dashboard .wram-worker-row--unavailable td,
.wram-dashboard .wram-worker-row--unavailable.wram-bucket-row td,
.wram-dashboard .wram-worker-table .wram-worker-row--unavailable td {
	background: #c83532 !important;
	border-bottom-color: rgba(255, 255, 255, .26) !important;
	color: #ffffff !important;
}

.wram-dashboard .wram-worker-row--available:hover td {
	background: #117f5f !important;
}

.wram-dashboard .wram-worker-row--unavailable:hover td {
	background: #ad2d2a !important;
}

.wram-dashboard .wram-worker-row--available td *,
.wram-dashboard .wram-worker-row--unavailable td * {
	color: inherit;
}

.wram-dashboard .wram-worker-row--available .wram-status-badge,
.wram-dashboard .wram-worker-row--unavailable .wram-status-badge {
	background: rgba(255, 255, 255, .94) !important;
	box-shadow: 0 6px 16px rgba(15, 23, 42, .14) !important;
}

.wram-dashboard .wram-worker-row--available .wram-status-badge {
	color: #0f7d3b !important;
}

.wram-dashboard .wram-worker-row--unavailable .wram-status-badge {
	color: #c83532 !important;
}

.wram-dashboard .wram-worker-row--available .wram-row-actions .wram-action-button,
.wram-dashboard .wram-worker-row--unavailable .wram-row-actions .wram-action-button {
	background: #ffffff !important;
	border-color: rgba(255, 255, 255, .9) !important;
	color: #1f5e9e !important;
}

.wram-dashboard .wram-worker-row--available .wram-row-actions .wram-action-button--primary,
.wram-dashboard .wram-worker-row--available .wram-row-actions .wram-action-button--success {
	color: #0f7d3b !important;
}

.wram-dashboard .wram-worker-row--unavailable .wram-row-actions .wram-action-button--danger {
	color: #c83532 !important;
}

.wram-dashboard .wram-worker-row--available .wram-row-actions .wram-action-button i,
.wram-dashboard .wram-worker-row--unavailable .wram-row-actions .wram-action-button i {
	color: inherit !important;
}

.wram-dashboard .wram-worker-table td.wram-row-actions,
.wram-dashboard .wram-worker-table th:first-child {
	overflow: visible !important;
}

.wram-dashboard .wram-worker-table td.wram-row-actions:hover,
.wram-dashboard .wram-worker-table td.wram-row-actions:focus-within {
	z-index: 9999 !important;
}

.wram-dashboard .wram-row-actions .wram-action-button[data-wram-tooltip]::after,
.wram-dashboard .wram-row-actions .wram-action-button[data-wram-tooltip]::before {
	z-index: 100000 !important;
}

.wram-dashboard .wram-bucket-pagination {
	margin-top: 12px !important;
}

.wram-dashboard .wram-page-help {
	align-items: center;
	background: #ffffff;
	border: 1px solid #d8e0e7;
	border-inline-start: 5px solid #14956f;
	border-radius: 10px;
	box-shadow: 0 12px 30px rgba(15, 23, 42, .05);
	display: grid;
	gap: 12px;
	grid-template-columns: 42px minmax(0, 1fr);
	margin: 0 0 14px;
	padding: 12px 14px;
}

.wram-dashboard .wram-page-help--primary {
	background: linear-gradient(135deg, #ffffff 0%, #eefaf5 100%);
	border-inline-start-color: #1f5e9e;
}

.wram-dashboard .wram-page-help > i {
	align-items: center;
	background: #e8f6ee;
	border-radius: 12px;
	color: #14956f;
	display: inline-flex;
	font-size: 18px;
	height: 42px;
	justify-content: center;
	width: 42px;
}

.wram-dashboard .wram-page-help--primary > i {
	background: #eaf2fb;
	color: #1f5e9e;
}

.wram-dashboard .wram-page-help strong {
	color: #0f172a;
	display: block;
	font-size: 13px;
	font-weight: 900;
	margin-bottom: 2px;
}

.wram-dashboard .wram-page-help span {
	color: #435166;
	display: block;
	font-size: 12px;
	font-weight: 800;
	line-height: 1.65;
}

.wram-dashboard .wram-guidance-panel {
	display: grid;
	gap: 14px;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	margin: 18px 0 0;
}

.wram-dashboard .wram-guidance-card {
	background: #ffffff;
	border: 1px solid #d8e0e7;
	border-radius: 10px;
	box-shadow: 0 14px 34px rgba(15, 23, 42, .055);
	padding: 16px;
}

.wram-dashboard .wram-guidance-card h3 {
	align-items: center;
	color: #0f172a;
	display: flex;
	font-size: 16px;
	font-weight: 900;
	gap: 8px;
	margin: 0 0 12px;
}

.wram-dashboard .wram-guidance-card h3 i {
	color: #14956f;
}

.wram-dashboard .wram-guidance-card--warning {
	background: #fff7ed;
	border-color: #fed7aa;
}

.wram-dashboard .wram-guidance-card--warning h3,
.wram-dashboard .wram-guidance-card--warning h3 i {
	color: #b45309;
}

.wram-dashboard .wram-guidance-card ul,
.wram-dashboard .wram-guidance-card ol {
	display: grid;
	gap: 10px;
	margin: 0;
	padding-inline-start: 20px;
}

.wram-dashboard .wram-guidance-card li {
	color: #334155;
	font-size: 13px;
	font-weight: 800;
	line-height: 1.7;
}

.wram-dashboard .wram-icon-guide,
.wram-dashboard .wram-color-guide {
	list-style: none;
	padding-inline-start: 0 !important;
}

.wram-dashboard .wram-icon-guide li,
.wram-dashboard .wram-color-guide li {
	align-items: center;
	display: flex;
	gap: 9px;
}

.wram-dashboard .wram-guide-icon,
.wram-dashboard .wram-color-dot {
	align-items: center;
	border-radius: 9px;
	display: inline-flex;
	flex: 0 0 auto;
	height: 30px;
	justify-content: center;
	width: 30px;
}

.wram-dashboard .wram-guide-icon {
	color: #ffffff;
	font-size: 14px;
}

.wram-dashboard .wram-guide-icon--blue {
	background: #1f5e9e;
}

.wram-dashboard .wram-guide-icon--green {
	background: #14956f;
}

.wram-dashboard .wram-guide-icon--red {
	background: #c83532;
}

.wram-dashboard .wram-guide-icon--amber {
	background: #d8850d;
}

.wram-dashboard--workflow .wram-archive-panel--operations,
.wram-dashboard--operations .wram-archive-panel--workflow {
	display: none;
}

.wram-dashboard--workflow [data-wram-open-worker-modal] {
	display: none;
}

.wram-dashboard .wram-guide-icon--whatsapp {
	background: #1fb45b;
}

.wram-dashboard .wram-color-dot {
	border-radius: 50%;
	height: 16px;
	width: 16px;
}

.wram-dashboard .wram-color-dot--green {
	background: #14956f;
}

.wram-dashboard .wram-color-dot--red {
	background: #c83532;
}

.wram-dashboard .wram-color-dot--blue {
	background: #1f5e9e;
}

.wram-dashboard .wram-color-dot--amber {
	background: #d58619;
}

@media (max-width: 980px) {
	.wram-dashboard .wram-guidance-panel {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 1280px) and (min-width: 981px) {
	.wram-dashboard .wram-guidance-panel {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* Screenshot-style overview cards: right-aligned text with a real image panel on the left. */
.wram-dashboard .wram-kpi-grid {
	gap: 12px !important;
	grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}

.wram-dashboard .wram-kpi-grid--tab {
	grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	margin-bottom: 14px !important;
}

.wram-dashboard .wram-kpi-card {
	align-items: stretch !important;
	direction: ltr !important;
	display: grid !important;
	gap: 12px !important;
	grid-template-columns: 86px minmax(0, 1fr) !important;
	min-height: 132px !important;
	padding: 12px !important;
	text-align: right !important;
}

.wram-dashboard .wram-kpi-card--static {
	cursor: default !important;
}

.wram-dashboard .wram-kpi-card--static:hover {
	transform: none !important;
}

.wram-dashboard .wram-kpi-card--orange {
	--wram-kpi-accent: #d9551d !important;
	--wram-kpi-bg: #e96b2c !important;
	--wram-kpi-top: #f7a15e !important;
}

.wram-dashboard .wram-kpi-card--silver {
	--wram-kpi-accent: #7a8794 !important;
	--wram-kpi-bg: #eef1f4 !important;
	--wram-kpi-top: #c7d0d9 !important;
	color: #182231 !important;
}

.wram-dashboard .wram-kpi-card--amber {
	--wram-kpi-accent: #d68b12 !important;
	--wram-kpi-bg: #f4c84f !important;
	--wram-kpi-top: #ffe58c !important;
	color: #1f2933 !important;
}

.wram-dashboard .wram-kpi-card::after {
	background: linear-gradient(90deg, rgba(255, 255, 255, .14), transparent 54%) !important;
}

.wram-dashboard .wram-kpi-media {
	align-items: center !important;
	align-self: stretch !important;
	background: rgba(255, 255, 255, .22) !important;
	border: 1px solid rgba(255, 255, 255, .22) !important;
	border-radius: 10px !important;
	display: flex !important;
	grid-column: 1 !important;
	justify-content: center !important;
	min-height: 84px !important;
	overflow: hidden !important;
	position: relative !important;
	z-index: 1 !important;
}

.wram-dashboard .wram-kpi-media img {
	display: block !important;
	filter: drop-shadow(0 10px 16px rgba(15, 23, 42, .18)) !important;
	height: 66px !important;
	max-width: none !important;
	object-fit: contain !important;
	width: 66px !important;
}

.wram-dashboard .wram-kpi-content {
	align-content: center !important;
	direction: rtl !important;
	display: grid !important;
	gap: 5px !important;
	grid-column: 2 !important;
	justify-items: end !important;
	min-width: 0 !important;
	text-align: right !important;
}

.wram-dashboard .wram-kpi-number {
	font-size: clamp(26px, 2.7vw, 38px) !important;
	line-height: 1 !important;
	text-align: right !important;
	width: 100% !important;
}

.wram-dashboard .wram-kpi-title,
.wram-dashboard .wram-kpi-card small {
	text-align: right !important;
	width: 100% !important;
}

.wram-dashboard .wram-kpi-hint {
	align-items: center !important;
	background: rgba(255, 255, 255, .18) !important;
	border: 1px solid rgba(255, 255, 255, .22) !important;
	border-radius: 999px !important;
	color: #ffffff !important;
	display: inline-flex !important;
	font-size: 11px !important;
	font-weight: 900 !important;
	gap: 5px !important;
	justify-self: end !important;
	line-height: 1.2 !important;
	margin-top: 4px !important;
	padding: 5px 8px !important;
	text-shadow: none !important;
	width: fit-content !important;
}

.wram-dashboard .wram-kpi-hint i {
	font-size: 10px !important;
}

.wram-dashboard .wram-kpi-card--silver .wram-kpi-number,
.wram-dashboard .wram-kpi-card--silver .wram-kpi-title,
.wram-dashboard .wram-kpi-card--silver small,
.wram-dashboard .wram-kpi-card--silver .wram-kpi-hint,
.wram-dashboard .wram-kpi-card--amber .wram-kpi-number,
.wram-dashboard .wram-kpi-card--amber .wram-kpi-title,
.wram-dashboard .wram-kpi-card--amber small,
.wram-dashboard .wram-kpi-card--amber .wram-kpi-hint {
	color: #17202a !important;
	text-shadow: none !important;
}

.wram-dashboard .wram-kpi-card--silver .wram-kpi-hint,
.wram-dashboard .wram-kpi-card--amber .wram-kpi-hint {
	background: rgba(255, 255, 255, .42) !important;
	border-color: rgba(23, 32, 42, .12) !important;
}

.wram-dashboard .wram-readonly-chip {
	align-items: center;
	background: #eef3f7;
	border: 1px solid #d8e0e7;
	border-radius: 999px;
	color: #435166;
	display: inline-flex;
	font-size: 13px;
	font-weight: 900;
	gap: 7px;
	min-height: 42px;
	padding: 8px 12px;
}

.wram-dashboard .wram-template-cta {
	align-items: center;
	border-radius: 10px;
	display: grid;
	gap: 12px;
	grid-template-columns: minmax(0, 1fr) auto;
	margin: 12px 0;
	padding: 14px;
}

.wram-dashboard .wram-archive-layout {
	display: grid;
	gap: 14px;
	max-width: 100% !important;
	min-width: 0 !important;
	overflow: hidden !important;
	width: 100% !important;
}

.wram-dashboard .wram-dashboard-view[data-wram-view="archive"],
.wram-dashboard .wram-archive-layout .wram-panel {
	max-width: 100% !important;
	min-width: 0 !important;
	overflow: hidden !important;
	width: 100% !important;
}

.wram-dashboard .wram-archive-layout .wram-table-wrap {
	display: block !important;
	max-width: 100% !important;
	min-width: 0 !important;
	overflow-x: auto !important;
	overflow-y: visible !important;
	width: 100% !important;
}

.wram-dashboard .wram-archive-layout .wram-worker-table {
	min-width: 1120px !important;
	width: max-content !important;
}

.wram-dashboard .wram-archive-layout .wram-worker-table th,
.wram-dashboard .wram-archive-layout .wram-worker-table td {
	white-space: nowrap !important;
}

.wram-dashboard .wram-archive-layout .wram-worker-table td[data-label="سبب الأرشفة"] {
	max-width: 320px;
	min-width: 220px;
	white-space: normal !important;
}

.wram-dashboard .wram-archive-row {
	background: #f8fafc;
}

.wram-dashboard .wram-housing-capacity-banner {
	align-items: center;
	background: #ffffff;
	border: 1px solid #d8e4ef;
	border-radius: 8px;
	box-shadow: 0 10px 24px rgba(15, 23, 42, .07);
	display: grid;
	gap: 14px;
	grid-template-columns: auto minmax(0, 1fr) auto;
	margin: 0 0 12px;
	padding: 14px 16px;
}

.wram-dashboard .wram-housing-capacity-icon {
	align-items: center;
	background: #e8f2ff;
	border: 1px solid #bfdbfe;
	border-radius: 8px;
	color: #145ea8;
	display: inline-flex;
	font-size: 20px;
	height: 44px;
	justify-content: center;
	width: 44px;
}

.wram-dashboard .wram-housing-capacity-main {
	display: grid;
	gap: 3px;
	min-width: 0;
}

.wram-dashboard .wram-housing-capacity-main strong {
	color: #0f172a;
	font-size: 34px;
	font-weight: 900;
	line-height: 1;
}

.wram-dashboard .wram-housing-capacity-main span {
	color: #17324d;
	font-size: 15px;
	font-weight: 900;
}

.wram-dashboard .wram-housing-capacity-detail {
	background: #f8fafc;
	border: 1px solid #e4ebf2;
	border-radius: 8px;
	display: grid;
	gap: 4px;
	padding: 9px 12px;
	text-align: center;
}

.wram-dashboard .wram-housing-capacity-detail small {
	color: #64748b;
	font-size: 12px;
	font-weight: 800;
}

.wram-dashboard .wram-housing-capacity-detail b {
	color: #17324d;
	font-size: 13px;
}

.wram-dashboard .wram-workflow-overview-kpis {
	display: grid;
	gap: 12px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin: 0 0 16px;
}

.wram-dashboard .wram-workflow-overview-card,
.wram-dashboard .wram-workflow-overview-total {
	background: #ffffff;
	border: 1px solid #d8e4ef;
	border-radius: 8px;
	box-shadow: 0 10px 24px rgba(15, 23, 42, .06);
	min-width: 0;
}

.wram-dashboard .wram-workflow-overview-card {
	align-items: center;
	appearance: none;
	color: inherit;
	cursor: pointer;
	display: grid;
	font: inherit;
	gap: 7px;
	justify-items: center;
	min-height: 168px;
	padding: 18px 16px;
	text-align: center;
	transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
	width: 100%;
}

.wram-dashboard .wram-workflow-overview-card:hover,
.wram-dashboard .wram-workflow-overview-card:focus-visible {
	border-color: #1f5e9e;
	box-shadow: 0 14px 30px rgba(31, 94, 158, .14);
	transform: translateY(-1px);
}

.wram-dashboard .wram-workflow-overview-card:focus-visible {
	outline: 3px solid rgba(31, 94, 158, .22);
	outline-offset: 2px;
}

.wram-dashboard .wram-workflow-overview-card--transfer {
	border-top: 4px solid #1f5e9e;
}

.wram-dashboard .wram-workflow-overview-card--travel {
	border-top: 4px solid #14956f;
}

.wram-dashboard .wram-workflow-overview-icon {
	align-items: center;
	background: #eef6ff;
	border: 1px solid #cfe2f4;
	border-radius: 8px;
	color: #1f5e9e;
	display: inline-flex;
	font-size: 20px;
	height: 46px;
	justify-content: center;
	width: 46px;
}

.wram-dashboard .wram-workflow-overview-card--travel .wram-workflow-overview-icon {
	background: #edf9f4;
	border-color: #c6eadc;
	color: #14956f;
}

.wram-dashboard .wram-workflow-overview-card strong {
	color: #0f172a;
	font-size: 38px;
	font-weight: 900;
	line-height: 1;
}

.wram-dashboard .wram-workflow-overview-card span:not(.wram-workflow-overview-icon) {
	color: #17324d;
	font-size: 15px;
	font-weight: 900;
	line-height: 1.5;
}

.wram-dashboard .wram-workflow-overview-card small {
	color: #64748b;
	font-size: 12px;
	font-weight: 800;
}

.wram-dashboard .wram-workflow-overview-total {
	align-items: center;
	display: flex;
	gap: 12px;
	grid-column: 1 / -1;
	justify-content: center;
	padding: 12px 16px;
	text-align: center;
}

.wram-dashboard .wram-workflow-overview-total span {
	color: #475569;
	font-size: 13px;
	font-weight: 900;
}

.wram-dashboard .wram-workflow-overview-total strong {
	color: #0f172a;
	font-size: 24px;
	font-weight: 900;
	line-height: 1;
}

.wram-dashboard .wram-workflow-field[hidden] {
	display: none !important;
}

.wram-dashboard .is-workflow-step-hidden {
	display: none !important;
}

.wram-dashboard .wram-workflow-wizard {
	display: grid;
	gap: 8px;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	margin: 14px 0;
}

.wram-dashboard .wram-workflow-step {
	align-items: center;
	background: #f8fafc;
	border: 1px solid #d8e0ea;
	border-radius: 10px;
	color: #334155;
	cursor: default;
	display: inline-flex;
	font-family: Tajawal, Arial, sans-serif !important;
	font-size: 12px;
	font-weight: 800;
	gap: 7px;
	justify-content: center;
	padding: 9px 8px;
}

.wram-dashboard .wram-workflow-step i {
	align-items: center;
	background: #e2e8f0;
	border-radius: 9px;
	display: inline-flex;
	height: 26px;
	justify-content: center;
	width: 26px;
}

.wram-dashboard .wram-workflow-step strong {
	font-size: 12px;
	font-weight: 900;
}

.wram-dashboard .wram-workflow-step-number {
	align-items: center;
	background: #e2e8f0;
	border-radius: 999px;
	color: #0f172a;
	display: inline-flex;
	font-size: 11px;
	height: 22px;
	justify-content: center;
	min-width: 22px;
}

.wram-dashboard .wram-workflow-step--select {
	border-color: #bfdbfe;
	color: #1d4ed8;
}

.wram-dashboard .wram-workflow-step--identity {
	border-color: #bbf7d0;
	color: #047857;
}

.wram-dashboard .wram-workflow-step--operation {
	border-color: #fed7aa;
	color: #c2410c;
}

.wram-dashboard .wram-workflow-step--review {
	border-color: #ddd6fe;
	color: #6d28d9;
}

.wram-dashboard .wram-workflow-step--select.is-active {
	background: #eff6ff;
	border-color: #2563eb;
	color: #1d4ed8;
}

.wram-dashboard .wram-workflow-step--identity.is-active {
	background: #ecfdf5;
	border-color: #109a73;
	color: #047857;
}

.wram-dashboard .wram-workflow-step--operation.is-active {
	background: #fff7ed;
	border-color: #f97316;
	color: #c2410c;
}

.wram-dashboard .wram-workflow-step--review.is-active {
	background: #f5f3ff;
	border-color: #7c3aed;
	color: #6d28d9;
}

.wram-dashboard .wram-workflow-step.is-active .wram-workflow-step-number,
.wram-dashboard .wram-workflow-step.is-active i {
	background: #ffb300;
	color: #000;
}

.wram-dashboard .wram-workflow-step-panel[hidden] {
	display: none !important;
}

.wram-dashboard .wram-worker-prefill-box,
.wram-dashboard .wram-workflow-review {
	background: #f8fafc;
	border: 1px solid #d8e0ea;
	border-radius: 12px;
	display: grid;
	gap: 10px;
	margin-bottom: 12px;
	padding: 14px;
}

.wram-dashboard .wram-worker-prefill-box label {
	display: grid;
	gap: 6px;
}

.wram-dashboard .wram-worker-prefill-box label span {
	color: #334155;
	font-size: 12px;
	font-weight: 900;
}

.wram-dashboard .wram-workflow-field[data-workflow-required] > span:not(.wram-workflow-field-icon)::after,
.wram-dashboard .wram-worker-prefill-box label[data-workflow-required] > span::after {
	color: #dc2626;
	content: " *";
	font-weight: 900;
}

.wram-dashboard .wram-workflow-field small {
	color: #64748b;
	display: block;
	font-size: 11px;
	font-weight: 700;
	line-height: 1.6;
	margin-top: 3px;
}

.wram-dashboard .wram-worker-prefill-results {
	background: #fff;
	border: 1px solid #d8e0ea;
	border-radius: 10px;
	box-shadow: 0 12px 28px rgba(15, 23, 42, .08);
	display: grid;
	gap: 6px;
	max-height: 230px;
	overflow: auto;
	padding: 8px;
	position: relative;
	z-index: 20;
}

.wram-dashboard .wram-worker-prefill-results p {
	color: #64748b;
	font-size: 12px;
	font-weight: 700;
	margin: 0;
}

.wram-dashboard .wram-worker-prefill-results button {
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 9px;
	color: #0f172a;
	cursor: pointer;
	display: grid;
	font-family: Tajawal, Arial, sans-serif !important;
	gap: 3px;
	padding: 9px 10px;
	text-align: right;
}

.wram-dashboard .wram-worker-prefill-results button:hover {
	background: #ecfdf5;
	border-color: #10b981;
}

.wram-dashboard .wram-worker-prefill-results button strong {
	font-size: 12px;
	font-weight: 900;
}

.wram-dashboard .wram-worker-prefill-results button span {
	color: #64748b;
	font-size: 11px;
	font-weight: 700;
}

.wram-dashboard .wram-worker-prefill-summary,
.wram-dashboard .wram-worker-prefill-warnings p,
.wram-dashboard .wram-review-warning,
.wram-dashboard .wram-review-ok {
	align-items: center;
	border-radius: 10px;
	display: flex;
	font-size: 12px;
	font-weight: 800;
	gap: 8px;
	margin: 0;
	padding: 10px 12px;
}

.wram-dashboard .wram-worker-prefill-summary {
	background: #eff6ff;
	color: #1e3a8a;
}

.wram-dashboard .wram-worker-prefill-summary.is-selected,
.wram-dashboard .wram-review-ok {
	background: #ecfdf5;
	color: #047857;
}

.wram-dashboard .wram-worker-prefill-summary.is-warning,
.wram-dashboard .wram-worker-prefill-warnings p,
.wram-dashboard .wram-review-warning {
	background: #fff7ed;
	color: #c2410c;
}

.wram-dashboard .wram-worker-prefill-summary span {
	display: grid;
	gap: 2px;
}

.wram-dashboard .wram-worker-prefill-summary small {
	color: inherit;
	font-size: 11px;
	opacity: .8;
}

.wram-dashboard .wram-worker-prefill-warnings {
	display: grid;
	gap: 6px;
}

.wram-dashboard .wram-table-note {
	align-items: center;
	background: #eff6ff;
	border: 1px solid #bfdbfe;
	border-radius: 10px;
	color: #1e3a8a;
	display: flex;
	font-size: 12px;
	font-weight: 800;
	gap: 8px;
	line-height: 1.7;
	margin: 10px 0;
	padding: 10px 12px;
}

.wram-dashboard .wram-table-note i {
	color: #2563eb;
	font-size: 16px;
}

.wram-dashboard .wram-workflow-nav-button {
	border: 0 !important;
	color: #fff !important;
	font-weight: 900 !important;
}

.wram-dashboard .wram-workflow-nav-button--close {
	background: #64748b !important;
}

.wram-dashboard .wram-workflow-nav-button--prev {
	background: #0f766e !important;
}

.wram-dashboard .wram-workflow-nav-button--next {
	background: #2563eb !important;
}

.wram-dashboard .wram-workflow-nav-button--save {
	background: #109a73 !important;
}

.wram-dashboard .wram-workflow-nav-button:hover {
	filter: brightness(.94);
}

.wram-dashboard .wram-workflow-review-grid {
	display: grid;
	gap: 8px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.wram-dashboard .wram-workflow-review-grid div {
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	display: grid;
	gap: 4px;
	padding: 8px 10px;
}

.wram-dashboard .wram-workflow-review-grid strong {
	color: #64748b;
	font-size: 11px;
	font-weight: 900;
}

.wram-dashboard .wram-workflow-review-grid span {
	color: #0f172a;
	font-size: 12px;
	font-weight: 800;
	overflow-wrap: anywhere;
}

.wram-dashboard .wram-workflow-form-grid {
	align-items: start;
}

.wram-dashboard .wram-workflow-table {
	min-width: 1320px !important;
	width: max-content !important;
}

.wram-dashboard [data-wram-view="transfer-guarantee"] .wram-workflow-table {
	min-width: 1840px !important;
}

.wram-dashboard [data-wram-view="trial-client"] .wram-workflow-table {
	min-width: 1720px !important;
}

.wram-dashboard [data-wram-view="client-rights"] .wram-workflow-table {
	min-width: 1460px !important;
}

.wram-dashboard .wram-workflow-table th,
.wram-dashboard .wram-workflow-table td {
	white-space: nowrap !important;
}

.wram-dashboard .wram-workflow-table td[data-label="ملاحظة"],
.wram-dashboard .wram-workflow-table td[data-label="الوصف"],
.wram-dashboard .wram-workflow-table td[data-label="سبب الأرشفة"] {
	max-width: 320px;
	min-width: 220px;
	white-space: normal !important;
}

.wram-dashboard .wram-template-cta {
	background: #101827;
	color: #ffffff;
}

.wram-dashboard .wram-template-cta > div {
	align-items: center;
	display: grid;
	gap: 4px 10px;
	grid-template-columns: 38px minmax(0, 1fr);
}

.wram-dashboard .wram-template-cta i {
	align-items: center;
	background: rgba(255, 255, 255, .12);
	border-radius: 10px;
	display: inline-flex;
	grid-row: span 2;
	height: 38px;
	justify-content: center;
	width: 38px;
}

.wram-dashboard .wram-template-cta strong {
	font-size: 13px;
	font-weight: 900;
}

.wram-dashboard .wram-template-cta span {
	font-size: 12px;
	font-weight: 800;
	line-height: 1.6;
	opacity: .86;
}

.wram-dashboard .wram-file-button--template {
	background: #16a36f;
	border-color: #16a36f;
	color: #ffffff;
}

.wram-dashboard {
	font-size: 13px !important;
}

.wram-dashboard .wram-main-title h2 {
	font-size: clamp(20px, 2vw, 26px) !important;
}

.wram-dashboard .wram-kpi-number {
	font-size: clamp(24px, 2.3vw, 34px) !important;
}

.wram-dashboard .wram-kpi-title {
	font-size: 13px !important;
}

.wram-dashboard .wram-kpi-card small,
.wram-dashboard .wram-worker-table th,
.wram-dashboard .wram-worker-table td,
.wram-dashboard input,
.wram-dashboard select,
.wram-dashboard textarea,
.wram-dashboard .wram-action-button,
.wram-dashboard .wram-file-button {
	font-size: 12px !important;
}

.wram-dashboard--readonly [data-wram-open-worker-modal],
.wram-dashboard--readonly [data-wram-open-contract],
.wram-dashboard--readonly [data-wram-edit-contract-info],
.wram-dashboard--readonly [data-wram-open-extend-contract],
.wram-dashboard--readonly [data-wram-close-contract],
.wram-dashboard--readonly [data-wram-transfer-services-contract],
.wram-dashboard--readonly [data-wram-archive-expired-contract],
.wram-dashboard--readonly [data-wram-archive-worker],
.wram-dashboard--readonly [data-wram-restore-worker],
.wram-dashboard--readonly [data-wram-set-available],
.wram-dashboard--readonly [data-wram-mark-salary-paid],
.wram-dashboard--readonly [data-wram-unmark-salary-paid],
.wram-dashboard--readonly [data-wram-open-workflow-modal],
.wram-dashboard--readonly [data-wram-workflow-edit],
.wram-dashboard--readonly [data-wram-transfer-to-trial],
.wram-dashboard--readonly [data-wram-mark-transferred],
.wram-dashboard--readonly [data-wram-workflow-archive],
.wram-dashboard--readonly [data-wram-workflow-restore],
.wram-dashboard--readonly [data-wram-import-submit],
.wram-dashboard--readonly [data-wram-export-csv],
.wram-dashboard--readonly [data-wram-export-xlsx],
.wram-dashboard--readonly .wram-action-button--whatsapp {
	display: none !important;
}

@media (max-width: 680px) {
	.wram-dashboard .wram-kpi-grid {
		grid-template-columns: 1fr !important;
	}

	.wram-dashboard .wram-kpi-card {
		grid-template-columns: 72px minmax(0, 1fr) !important;
		min-height: 108px !important;
	}

	.wram-dashboard .wram-kpi-media img {
		height: 54px !important;
		width: 54px !important;
	}

	.wram-dashboard .wram-template-cta {
		grid-template-columns: 1fr !important;
	}

	.wram-dashboard .wram-workflow-wizard,
	.wram-dashboard .wram-workflow-review-grid {
		grid-template-columns: 1fr !important;
	}
}

@media (min-width: 681px) and (max-width: 1180px) {
	.wram-dashboard .wram-kpi-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}
}

/* ==================================================
   Compact operations dashboard pass
   ================================================== */
.wram-dashboard.wram-dashboard--compact {
	--wram-sidebar-width: 238px;
	font-size: 12.5px !important;
	line-height: 1.45 !important;
	padding: clamp(8px, 1.3vw, 16px) !important;
}

.wram-dashboard.wram-dashboard--compact .wram-app-shell {
	gap: 12px !important;
	max-width: 1640px !important;
}

.wram-dashboard.wram-dashboard--compact .wram-sidebar {
	gap: 10px !important;
	max-height: calc(100vh - 24px) !important;
	padding: 10px !important;
	top: 12px !important;
}

.wram-dashboard.wram-dashboard--compact .wram-sidebar-brand {
	gap: 9px !important;
	padding: 2px 2px 10px !important;
}

.wram-dashboard.wram-dashboard--compact .wram-sidebar-logo,
.wram-dashboard.wram-dashboard--compact .wram-sidebar-logo-fallback {
	height: 44px !important;
	width: 48px !important;
}

.wram-dashboard.wram-dashboard--compact .wram-sidebar-title strong {
	font-size: 17px !important;
}

.wram-dashboard.wram-dashboard--compact .wram-sidebar-link,
.wram-dashboard.wram-dashboard--compact button.wram-sidebar-link,
.wram-dashboard.wram-dashboard--compact a.wram-sidebar-link {
	gap: 8px !important;
	min-height: 38px !important;
	padding: 7px 9px !important;
}

.wram-dashboard.wram-dashboard--compact .wram-sidebar-link i {
	font-size: 14px !important;
	width: 18px !important;
}

.wram-dashboard.wram-dashboard--compact .wram-main-topbar {
	gap: 10px !important;
	margin-bottom: 12px !important;
	padding: 10px 12px !important;
}

.wram-dashboard.wram-dashboard--compact .wram-main-title h2 {
	font-size: clamp(17px, 1.6vw, 22px) !important;
}

.wram-dashboard.wram-dashboard--compact .wram-main-title p {
	font-size: 12px !important;
	margin-top: 3px !important;
}

.wram-dashboard.wram-dashboard--compact .wram-topbar-actions {
	gap: 6px !important;
}

.wram-dashboard.wram-dashboard--compact .wram-user-chip,
.wram-dashboard.wram-dashboard--compact .wram-readonly-chip,
.wram-dashboard.wram-dashboard--compact .wram-report-button--compact {
	font-size: 12px !important;
	min-height: 32px !important;
	padding: 6px 9px !important;
}

.wram-dashboard.wram-dashboard--compact .wram-dashboard-message {
	margin-bottom: 10px !important;
	padding: 8px 10px !important;
}

.wram-dashboard.wram-dashboard--compact .wram-page-help {
	align-items: center !important;
	border-inline-start-width: 4px !important;
	border-radius: 8px !important;
	box-shadow: 0 8px 18px rgba(15, 23, 42, .04) !important;
	gap: 9px !important;
	grid-template-columns: 34px minmax(0, 1fr) !important;
	margin-bottom: 10px !important;
	padding: 8px 10px !important;
}

.wram-dashboard.wram-dashboard--compact .wram-page-help > i {
	border-radius: 9px !important;
	font-size: 14px !important;
	height: 34px !important;
	width: 34px !important;
}

.wram-dashboard.wram-dashboard--compact .wram-page-help strong {
	font-size: 12px !important;
	margin-bottom: 0 !important;
}

.wram-dashboard.wram-dashboard--compact .wram-page-help span {
	font-size: 11.5px !important;
	line-height: 1.45 !important;
}

.wram-dashboard.wram-dashboard--compact .wram-kpi-grid,
.wram-dashboard.wram-dashboard--compact .wram-kpi-grid--tab {
	gap: 9px !important;
	grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)) !important;
	margin-bottom: 12px !important;
}

.wram-dashboard.wram-dashboard--compact .wram-kpi-card {
	background: #ffffff !important;
	border: 1px solid #d8e0e7 !important;
	border-radius: 12px !important;
	border-top: 3px solid var(--wram-kpi-accent) !important;
	box-shadow: 0 8px 20px rgba(15, 23, 42, .055) !important;
	color: #17202a !important;
	gap: 9px !important;
	grid-template-columns: 52px minmax(0, 1fr) !important;
	min-height: 86px !important;
	overflow: visible !important;
	padding: 10px !important;
}

.wram-dashboard.wram-dashboard--compact .wram-kpi-card::after {
	display: none !important;
}

.wram-dashboard.wram-dashboard--compact .wram-kpi-card:hover,
.wram-dashboard.wram-dashboard--compact .wram-kpi-card.is-active {
	border-color: var(--wram-kpi-accent) !important;
	box-shadow: 0 10px 24px rgba(15, 23, 42, .09), inset 0 0 0 1px var(--wram-kpi-accent) !important;
	transform: translateY(-1px) !important;
}

.wram-dashboard.wram-dashboard--compact .wram-kpi-card--static:hover {
	box-shadow: 0 8px 20px rgba(15, 23, 42, .055) !important;
	transform: none !important;
}

.wram-dashboard.wram-dashboard--compact .wram-kpi-media {
	align-self: center !important;
	background: #f8fafc !important;
	border: 1px solid #e4eaf0 !important;
	border-radius: 12px !important;
	height: 100px !important;
	min-height: 100px !important;
	width: 100px !important;
}

.wram-dashboard.wram-dashboard--compact .wram-kpi-media img {
	filter: none !important;
	height: 100px !important;
	max-width: 100px !important;
	width: 100px !important;
}

.wram-dashboard.wram-dashboard--compact .wram-kpi-content {
	gap: 3px !important;
	justify-items: start !important;
}

.wram-dashboard.wram-dashboard--compact .wram-kpi-number {
	color: #0f172a !important;
	font-size: clamp(22px, 1.8vw, 29px) !important;
	line-height: 1 !important;
	text-shadow: none !important;
}

.wram-dashboard.wram-dashboard--compact .wram-kpi-title {
	color: #17202a !important;
	font-size: 12px !important;
	line-height: 1.28 !important;
	text-shadow: none !important;
}

.wram-dashboard.wram-dashboard--compact .wram-kpi-card small,
.wram-dashboard.wram-dashboard--compact .wram-kpi-subtitle {
	color: #64748b !important;
	font-size: 11px !important;
	line-height: 1.25 !important;
	opacity: 1 !important;
	text-shadow: none !important;
}

.wram-dashboard.wram-dashboard--compact .wram-kpi-hint {
	display: none !important;
}

.wram-dashboard.wram-dashboard--compact .wram-panel,
.wram-dashboard.wram-dashboard--compact .wram-controls,
.wram-dashboard.wram-dashboard--compact .wram-file-panel {
	border-radius: 8px !important;
	margin-bottom: 12px !important;
	padding: 10px !important;
}

.wram-dashboard.wram-dashboard--compact .wram-panel-head,
.wram-dashboard.wram-dashboard--compact .wram-file-panel-head {
	gap: 8px !important;
	margin-bottom: 8px !important;
}

.wram-dashboard.wram-dashboard--compact .wram-panel-head h3,
.wram-dashboard.wram-dashboard--compact .wram-file-panel-head h3 {
	font-size: 15px !important;
	gap: 6px !important;
}

.wram-dashboard.wram-dashboard--compact .wram-panel-head > span {
	font-size: 11.5px !important;
}

.wram-dashboard.wram-dashboard--compact .wram-controls {
	gap: 8px !important;
	padding: 10px !important;
}

.wram-dashboard.wram-dashboard--compact .wram-search-label,
.wram-dashboard.wram-dashboard--compact .wram-select-label,
.wram-dashboard.wram-dashboard--compact .wram-page-size-label {
	font-size: 11.5px !important;
}

.wram-dashboard.wram-dashboard--compact .wram-search-input,
.wram-dashboard.wram-dashboard--compact .wram-select,
.wram-dashboard.wram-dashboard--compact .wram-page-size,
.wram-dashboard.wram-dashboard--compact .wram-modal-dialog input,
.wram-dashboard.wram-dashboard--compact .wram-modal-dialog select,
.wram-dashboard.wram-dashboard--compact .wram-modal-dialog textarea {
	border-radius: 6px !important;
	font-size: 12px !important;
	min-height: 36px !important;
	padding: 7px 9px !important;
}

.wram-dashboard.wram-dashboard--compact .wram-status-filters {
	display: flex !important;
	flex-wrap: wrap !important;
	gap: 6px !important;
	margin: 6px 0 8px !important;
}

.wram-dashboard.wram-dashboard--compact .wram-filter-button,
.wram-dashboard.wram-dashboard--compact .wram-action-button,
.wram-dashboard.wram-dashboard--compact .wram-file-button,
.wram-dashboard.wram-dashboard--compact .wram-file-picker span,
.wram-dashboard.wram-dashboard--compact .wram-page-button,
.wram-dashboard.wram-dashboard--compact .wram-page-number {
	border-radius: 6px !important;
	font-size: 12px !important;
	gap: 5px !important;
	min-height: 34px !important;
	padding: 6px 9px !important;
}

.wram-dashboard.wram-dashboard--compact .wram-row-actions {
	gap: 5px !important;
	justify-content: flex-start !important;
	min-width: 0 !important;
}

.wram-dashboard.wram-dashboard--compact .wram-row-actions .wram-action-button {
	font-size: 11.5px !important;
	gap: 5px !important;
	height: auto !important;
	line-height: 1.2 !important;
	min-height: 30px !important;
	min-width: 0 !important;
	padding: 6px 8px !important;
	width: auto !important;
}

.wram-dashboard.wram-dashboard--compact .wram-row-actions .wram-action-button i {
	font-size: 12px !important;
}

.wram-dashboard.wram-dashboard--compact .wram-action-button--success,
.wram-dashboard.wram-dashboard--compact .wram-file-button--export {
	background: #14956f !important;
	border-color: #14956f !important;
	color: #ffffff !important;
}

.wram-dashboard.wram-dashboard--compact .wram-action-button--primary,
.wram-dashboard.wram-dashboard--compact .wram-file-button--import {
	background: #1f5e9e !important;
	border-color: #1f5e9e !important;
	color: #ffffff !important;
}

.wram-dashboard.wram-dashboard--compact .wram-action-button--danger {
	background: #c83532 !important;
	border-color: #c83532 !important;
	color: #ffffff !important;
}

.wram-dashboard.wram-dashboard--compact .wram-action-button--muted,
.wram-dashboard.wram-dashboard--compact .wram-filter-button {
	background: #ffffff !important;
	border-color: #d8e0e7 !important;
	color: #17202a !important;
}

.wram-dashboard.wram-dashboard--compact .wram-action-button--whatsapp {
	background: #1fb45b !important;
	border-color: #1fb45b !important;
	color: #ffffff !important;
}

.wram-dashboard.wram-dashboard--compact .wram-table-wrap {
	border-radius: 8px !important;
	box-shadow: 0 8px 20px rgba(15, 23, 42, .04) !important;
	max-width: 100% !important;
}

.wram-dashboard.wram-dashboard--compact .wram-worker-table th {
	font-size: 11.5px !important;
	padding: 7px 8px !important;
}

.wram-dashboard.wram-dashboard--compact .wram-worker-row td {
	font-size: 12px !important;
	padding: 7px 8px !important;
}

.wram-dashboard.wram-dashboard--compact .wram-worker-row--available td,
.wram-dashboard.wram-dashboard--compact .wram-worker-row--unavailable td,
.wram-dashboard.wram-dashboard--compact .wram-worker-table .wram-worker-row--available td,
.wram-dashboard.wram-dashboard--compact .wram-worker-table .wram-worker-row--unavailable td {
	background: #ffffff !important;
	border-bottom-color: #d8e0e7 !important;
	color: #17202a !important;
}

.wram-dashboard.wram-dashboard--compact .wram-worker-row--available:hover td,
.wram-dashboard.wram-dashboard--compact .wram-worker-row--unavailable:hover td {
	background: #f8fafc !important;
}

.wram-dashboard.wram-dashboard--compact .wram-worker-row--available td:first-child {
	border-inline-start-color: #14956f !important;
}

.wram-dashboard.wram-dashboard--compact .wram-worker-row--unavailable td:first-child {
	border-inline-start-color: #c83532 !important;
}

.wram-dashboard.wram-dashboard--compact .wram-worker-row--available td::before,
.wram-dashboard.wram-dashboard--compact .wram-worker-row--unavailable td::before {
	color: #64748b !important;
}

.wram-dashboard.wram-dashboard--compact .wram-status-badge {
	font-size: 11.5px !important;
	padding: 5px 8px !important;
}

.wram-dashboard.wram-dashboard--compact .wram-bucket-table--compact {
	min-width: 720px !important;
	width: 100% !important;
}

.wram-dashboard.wram-dashboard--compact .wram-bucket-table--compact td[data-label="الإجراء"] {
	min-width: 140px !important;
}

.wram-dashboard.wram-dashboard--compact [data-wram-view="workers"] .wram-worker-table--compact {
	min-width: 1480px !important;
}

.wram-dashboard.wram-dashboard--compact [data-wram-view="contracts"] .wram-worker-table--compact {
	min-width: 1160px !important;
}

.wram-dashboard.wram-dashboard--compact [data-wram-view="salary"] .wram-worker-table--compact {
	min-width: 1160px !important;
}

.wram-dashboard.wram-dashboard--compact [data-wram-view="transfer-guarantee"] .wram-workflow-table--compact {
	min-width: 1620px !important;
}

.wram-dashboard.wram-dashboard--compact [data-wram-view="trial-client"] .wram-workflow-table--compact {
	min-width: 1500px !important;
}

.wram-dashboard.wram-dashboard--compact [data-wram-view="travel-outside-guarantee"] .wram-workflow-table--compact {
	min-width: 1080px !important;
}

.wram-dashboard.wram-dashboard--compact [data-wram-view="client-rights"] .wram-workflow-table--compact {
	min-width: 1320px !important;
}

.wram-dashboard.wram-dashboard--compact .wram-archive-layout .wram-worker-table--compact {
	min-width: 1040px !important;
}

.wram-dashboard.wram-dashboard--compact .wram-worker-row td[data-label="الإجراء"] {
	min-width: 150px !important;
}

.wram-dashboard.wram-dashboard--compact .wram-workflow-table td[data-label="الإجراء"] {
	min-width: 210px !important;
}

.wram-dashboard.wram-dashboard--compact .wram-worker-row td[data-label="اسم العاملة"],
.wram-dashboard.wram-dashboard--compact .wram-worker-row td[data-label="اسم العميل"],
.wram-dashboard.wram-dashboard--compact .wram-worker-row td[data-label="العميل الحالي"],
.wram-dashboard.wram-dashboard--compact .wram-workflow-table td[data-label="الاسم"] {
	min-width: 160px !important;
	white-space: normal !important;
}

.wram-dashboard.wram-dashboard--compact .wram-results-bar {
	margin-bottom: 8px !important;
}

.wram-dashboard.wram-dashboard--compact .wram-pagination {
	gap: 6px !important;
	margin-top: 10px !important;
}

.wram-dashboard.wram-dashboard--compact .wram-table-note {
	border-radius: 8px !important;
	font-size: 11.5px !important;
	line-height: 1.5 !important;
	margin: 7px 0 !important;
	padding: 7px 9px !important;
}

.wram-dashboard.wram-dashboard--compact .wram-report-grid {
	gap: 10px !important;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)) !important;
}

.wram-dashboard.wram-dashboard--compact .wram-report-card {
	border-radius: 8px !important;
	box-shadow: 0 8px 20px rgba(15, 23, 42, .04) !important;
	padding: 12px !important;
}

.wram-dashboard.wram-dashboard--compact .wram-report-card i {
	font-size: 18px !important;
}

.wram-dashboard.wram-dashboard--compact .wram-report-card h3 {
	font-size: 14px !important;
	margin: 6px 0 4px !important;
}

.wram-dashboard.wram-dashboard--compact .wram-report-card p,
.wram-dashboard.wram-dashboard--compact .wram-help-text {
	font-size: 12px !important;
	line-height: 1.55 !important;
}

.wram-dashboard.wram-dashboard--compact .wram-file-actions {
	gap: 8px !important;
	grid-template-columns: minmax(140px, 190px) minmax(220px, 1fr) minmax(190px, auto) auto !important;
}

.wram-dashboard.wram-dashboard--compact .wram-import-section-field,
.wram-dashboard.wram-dashboard--compact .wram-file-picker,
.wram-dashboard.wram-dashboard--compact .wram-import-status-toggle {
	border-radius: 8px !important;
	min-height: 40px !important;
	padding: 6px 8px !important;
}

.wram-dashboard.wram-dashboard--compact .wram-template-cta {
	border-radius: 8px !important;
	gap: 10px !important;
	margin: 10px 0 !important;
	padding: 10px !important;
}

.wram-dashboard.wram-dashboard--compact .wram-template-cta strong {
	font-size: 12px !important;
}

.wram-dashboard.wram-dashboard--compact .wram-template-cta span {
	font-size: 11.5px !important;
	line-height: 1.45 !important;
}

.wram-dashboard.wram-dashboard--compact .wram-modal {
	padding: 10px !important;
}

.wram-dashboard.wram-dashboard--compact .wram-modal-dialog {
	border-radius: 10px !important;
	max-height: calc(100vh - 20px) !important;
	padding: 14px !important;
}

.wram-dashboard.wram-dashboard--compact .wram-modal-dialog h3 {
	font-size: 16px !important;
	margin-bottom: 6px !important;
}

.wram-dashboard.wram-dashboard--compact .wram-selected-worker {
	border-radius: 8px !important;
	font-size: 12px !important;
	margin-bottom: 10px !important;
	padding: 8px 10px !important;
}

.wram-dashboard.wram-dashboard--compact .wram-form-grid,
.wram-dashboard.wram-dashboard--compact .wram-detail-grid {
	gap: 8px !important;
}

.wram-dashboard.wram-dashboard--compact .wram-form-grid label,
.wram-dashboard.wram-dashboard--compact .wram-full-field,
.wram-dashboard.wram-dashboard--compact .wram-worker-prefill-box,
.wram-dashboard.wram-dashboard--compact .wram-workflow-review {
	border-radius: 8px !important;
	padding: 8px !important;
}

.wram-dashboard.wram-dashboard--compact .wram-date-field span,
.wram-dashboard.wram-dashboard--compact .wram-modal-dialog label {
	font-size: 12px !important;
	margin-bottom: 4px !important;
}

.wram-dashboard.wram-dashboard--compact .wram-workflow-wizard {
	gap: 6px !important;
	margin: 10px 0 !important;
}

.wram-dashboard.wram-dashboard--compact .wram-workflow-step {
	border-radius: 8px !important;
	font-size: 11px !important;
	gap: 5px !important;
	padding: 6px !important;
}

.wram-dashboard.wram-dashboard--compact .wram-workflow-step i {
	height: 22px !important;
	width: 22px !important;
}

.wram-dashboard.wram-dashboard--compact .wram-workflow-step-number {
	height: 18px !important;
	min-width: 18px !important;
}

.wram-dashboard.wram-dashboard--compact .wram-modal-actions {
	gap: 7px !important;
	margin-top: 10px !important;
}

.wram-dashboard.wram-dashboard--compact .wram-help-center {
	display: grid !important;
	gap: 8px !important;
	grid-template-columns: 1fr !important;
	margin: 12px 0 0 !important;
}

.wram-dashboard.wram-dashboard--compact .wram-help-center-head {
	align-items: center;
	display: flex;
	justify-content: space-between;
}

.wram-dashboard.wram-dashboard--compact .wram-help-center-head h3 {
	align-items: center;
	color: #0f172a;
	display: inline-flex;
	font-size: 15px;
	gap: 7px;
	margin: 0;
}

.wram-dashboard.wram-dashboard--compact .wram-help-center .wram-guidance-card {
	border-radius: 8px !important;
	box-shadow: 0 6px 16px rgba(15, 23, 42, .04) !important;
	overflow: hidden !important;
	padding: 0 !important;
}

.wram-dashboard.wram-dashboard--compact .wram-help-toggle {
	align-items: center;
	background: #ffffff !important;
	border: 0 !important;
	color: #17202a !important;
	cursor: pointer;
	display: flex;
	justify-content: space-between;
	min-height: 38px;
	padding: 9px 11px;
	width: 100%;
}

.wram-dashboard.wram-dashboard--compact .wram-help-toggle span {
	align-items: center;
	display: inline-flex;
	font-size: 12px;
	font-weight: 900;
	gap: 7px;
}

.wram-dashboard.wram-dashboard--compact .wram-help-toggle > i:last-child {
	color: #64748b;
	font-size: 12px;
	transition: transform .16s ease;
}

.wram-dashboard.wram-dashboard--compact .wram-help-toggle[aria-expanded="true"] > i:last-child {
	transform: rotate(180deg);
}

.wram-dashboard.wram-dashboard--compact .wram-help-panel {
	border-top: 1px solid #edf1f5;
	padding: 10px 12px 12px;
}

.wram-dashboard.wram-dashboard--compact .wram-help-panel ul,
.wram-dashboard.wram-dashboard--compact .wram-help-panel ol {
	gap: 7px !important;
}

.wram-dashboard.wram-dashboard--compact .wram-help-panel li {
	font-size: 12px !important;
	line-height: 1.55 !important;
}

@media (max-width: 980px) {
	.wram-dashboard.wram-dashboard--compact .wram-sidebar {
		max-height: none !important;
		position: static !important;
	}

	.wram-dashboard.wram-dashboard--compact .wram-main-topbar,
	.wram-dashboard.wram-dashboard--compact .wram-panel-head,
	.wram-dashboard.wram-dashboard--compact .wram-file-panel-head {
		align-items: stretch !important;
		flex-direction: column !important;
	}

	.wram-dashboard.wram-dashboard--compact .wram-form-grid,
	.wram-dashboard.wram-dashboard--compact .wram-detail-grid {
		grid-template-columns: 1fr !important;
	}
}

/* Separate dashboard modes: rental operations on the right, service workflow on the left. */
.wram-dashboard .wram-sidebar-nav-group {
	display: grid;
	gap: 7px;
}

.wram-dashboard .wram-sidebar-nav-group[hidden],
.wram-dashboard [data-wram-mode-title][hidden],
.wram-dashboard [data-wram-mode-subtitle][hidden],
.wram-dashboard [data-wram-help-mode][hidden] {
	display: none !important;
}

.wram-dashboard .wram-sidebar-group-title {
	align-items: center;
	color: #64748b;
	display: flex;
	font-size: 11px;
	font-weight: 900;
	justify-content: space-between;
	padding: 2px 4px 5px;
}

.wram-dashboard .wram-dashboard-switch {
	align-items: center;
	background: #eef3f7;
	border: 1px solid #d8e0e7;
	border-radius: 9px;
	display: inline-flex;
	gap: 3px;
	padding: 3px;
}

.wram-dashboard .wram-dashboard-switch button {
	align-items: center;
	background: transparent !important;
	border: 0 !important;
	border-radius: 7px;
	color: #334155 !important;
	cursor: pointer;
	display: inline-flex;
	font-family: Tajawal, Tahoma, Arial, sans-serif !important;
	font-size: 12px;
	font-weight: 900;
	gap: 6px;
	min-height: 34px;
	padding: 7px 10px;
	white-space: nowrap;
}

.wram-dashboard .wram-dashboard-switch button.is-active {
	background: #14956f !important;
	color: #fff !important;
}

.wram-dashboard .wram-dashboard-switch button[data-wram-dashboard-mode-switch="workflow"].is-active {
	background: #1f5e9e !important;
}

.wram-dashboard.wram-dashboard--workflow .wram-app-shell {
	flex-direction: row-reverse !important;
}

.wram-dashboard.wram-dashboard--workflow .wram-sidebar {
	background: linear-gradient(180deg, #123a60 0%, #0f2d4c 100%) !important;
	border-color: #0d2a45 !important;
	border-left: 0 !important;
	border-right: 1px solid rgba(255, 255, 255, .12) !important;
	box-shadow: 0 18px 46px rgba(15, 45, 76, .22) !important;
}

.wram-dashboard.wram-dashboard--workflow .wram-sidebar-brand,
.wram-dashboard.wram-dashboard--workflow .wram-sidebar-footer {
	border-color: rgba(255, 255, 255, .14) !important;
}

.wram-dashboard.wram-dashboard--workflow .wram-sidebar-title strong,
.wram-dashboard.wram-dashboard--workflow .wram-sidebar-link,
.wram-dashboard.wram-dashboard--workflow button.wram-sidebar-link,
.wram-dashboard.wram-dashboard--workflow a.wram-sidebar-link {
	color: #f8fafc !important;
}

.wram-dashboard.wram-dashboard--workflow .wram-sidebar-title span,
.wram-dashboard.wram-dashboard--workflow .wram-sidebar-group-title {
	color: #b7c8da !important;
}

.wram-dashboard.wram-dashboard--workflow .wram-sidebar-logo {
	background: rgba(255, 255, 255, .95) !important;
	border-color: rgba(255, 255, 255, .22) !important;
}

.wram-dashboard.wram-dashboard--workflow .wram-sidebar-logo-fallback {
	background: #1f5e9e !important;
}

.wram-dashboard.wram-dashboard--workflow .wram-sidebar-link,
.wram-dashboard.wram-dashboard--workflow button.wram-sidebar-link,
.wram-dashboard.wram-dashboard--workflow a.wram-sidebar-link {
	background: rgba(255, 255, 255, .08) !important;
	border-color: rgba(255, 255, 255, .12) !important;
}

.wram-dashboard.wram-dashboard--workflow .wram-sidebar-link i {
	color: #9bc8f2 !important;
}

.wram-dashboard.wram-dashboard--workflow .wram-sidebar-link:hover {
	background: rgba(255, 255, 255, .14) !important;
	border-color: rgba(255, 255, 255, .25) !important;
	color: #fff !important;
}

.wram-dashboard.wram-dashboard--workflow .wram-sidebar-link.is-active {
	background: #ffffff !important;
	border-color: #ffffff !important;
	box-shadow: inset 5px 0 0 #14956f !important;
	color: #0f2d4c !important;
}

.wram-dashboard.wram-dashboard--workflow .wram-sidebar-link.is-active i {
	color: #14956f !important;
}

.wram-dashboard.wram-dashboard--workflow .wram-help-center--workflow .wram-help-center-head {
	background: linear-gradient(90deg, rgba(31, 94, 158, .12), rgba(20, 149, 111, .08));
	border: 1px solid #cfe2f4;
	border-radius: 10px;
	padding: 10px 12px;
}

.wram-dashboard.wram-dashboard--workflow .wram-help-center--workflow .wram-help-center-head p {
	color: #53657a;
	font-size: 12px;
	font-weight: 800;
	margin: 5px 0 0;
}

@media (max-width: 980px) {
	.wram-dashboard.wram-dashboard--workflow .wram-app-shell {
		flex-direction: column !important;
	}

	.wram-dashboard .wram-dashboard-switch {
		align-self: stretch;
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		width: 100%;
	}

	.wram-dashboard .wram-dashboard-switch button {
		justify-content: center;
	}

	.wram-dashboard.wram-dashboard--workflow .wram-sidebar-link.is-active {
		box-shadow: inset 0 -4px 0 #14956f !important;
	}
}

@media (max-width: 760px) {
	.wram-dashboard.wram-dashboard--compact .wram-kpi-grid,
	.wram-dashboard.wram-dashboard--compact .wram-kpi-grid--tab {
		grid-template-columns: 1fr !important;
	}

	.wram-dashboard.wram-dashboard--compact .wram-kpi-card {
		grid-template-columns: 48px minmax(0, 1fr) !important;
		min-height: 78px !important;
	}

	.wram-dashboard.wram-dashboard--compact .wram-kpi-media {
		height: 46px !important;
		min-height: 46px !important;
		width: 46px !important;
	}

	.wram-dashboard.wram-dashboard--compact .wram-kpi-media img {
		height: 38px !important;
		width: 38px !important;
	}

	.wram-dashboard.wram-dashboard--compact .wram-file-actions,
	.wram-dashboard.wram-dashboard--compact .wram-template-cta,
	.wram-dashboard.wram-dashboard--compact .wram-workflow-wizard,
	.wram-dashboard.wram-dashboard--compact .wram-workflow-review-grid,
		.wram-dashboard.wram-dashboard--compact .wram-modal-actions {
			grid-template-columns: 1fr !important;
		}

		.wram-dashboard .wram-housing-capacity-banner {
			grid-template-columns: 1fr;
			text-align: center;
		}

		.wram-dashboard .wram-housing-capacity-icon {
			margin-inline: auto;
		}

		.wram-dashboard .wram-workflow-overview-kpis {
			grid-template-columns: 1fr;
		}

		.wram-dashboard .wram-workflow-overview-card {
			min-height: 142px;
		}

		.wram-dashboard .wram-workflow-overview-total {
			align-items: center;
			flex-direction: column;
			gap: 5px;
		}
	}

/* Client refinements: table badges and clean accented KPI cards. */
.wram-dashboard.wram-dashboard--compact .wram-kpi-card {
	--wram-kpi-tint: #eef6ff;
	background: linear-gradient(180deg, var(--wram-kpi-tint) 0%, #ffffff 72%) !important;
	border: 1px solid var(--wram-kpi-accent) !important;
	border-top-width: 4px !important;
	color: #111827 !important;
}

.wram-dashboard.wram-dashboard--compact .wram-kpi-card--blue {
	--wram-kpi-tint: #eaf2fb;
}

.wram-dashboard.wram-dashboard--compact .wram-kpi-card--green {
	--wram-kpi-tint: #e8f6ee;
}

.wram-dashboard.wram-dashboard--compact .wram-kpi-card--red {
	--wram-kpi-tint: #fdeceb;
}

.wram-dashboard.wram-dashboard--compact .wram-kpi-card--amber {
	--wram-kpi-tint: #fff5d6;
}

.wram-dashboard.wram-dashboard--compact .wram-kpi-card--orange {
	--wram-kpi-tint: #fff0e6;
}

.wram-dashboard.wram-dashboard--compact .wram-kpi-card--silver {
	--wram-kpi-tint: #f3f6f8;
}

.wram-dashboard.wram-dashboard--compact .wram-kpi-card--navy {
	--wram-kpi-tint: #e7eef5;
}

.wram-dashboard.wram-dashboard--compact .wram-kpi-card .wram-kpi-number,
.wram-dashboard.wram-dashboard--compact .wram-kpi-card .wram-kpi-title,
.wram-dashboard.wram-dashboard--compact .wram-kpi-card small,
.wram-dashboard.wram-dashboard--compact .wram-kpi-card .wram-kpi-subtitle {
	color: #111827 !important;
	text-shadow: none !important;
}

.wram-dashboard.wram-dashboard--compact .wram-kpi-media {
	background: #ffffff !important;
	border-color: var(--wram-kpi-accent) !important;
}

.wram-dashboard.wram-dashboard--compact .wram-worker-table .wram-status-badge,
.wram-dashboard.wram-dashboard--compact .wram-worker-row--available .wram-status-badge,
.wram-dashboard.wram-dashboard--compact .wram-worker-row--unavailable .wram-status-badge {
	background: #facc15 !important;
	border: 1px solid #eab308 !important;
	box-shadow: none !important;
	color: #111111 !important;
}

.wram-dashboard .wram-workflow-final-exit-note {
	align-items: center;
	background: #fff7ed;
	border: 1px solid #fed7aa;
	border-radius: 12px;
	color: #9a3412;
	display: flex;
	font-size: 13px;
	font-weight: 800;
	gap: 10px;
	line-height: 1.7;
	margin: 12px 0;
	padding: 10px 12px;
}

.wram-dashboard .wram-workflow-final-exit-note i {
	background: #ffedd5;
	border-radius: 10px;
	color: #ea580c;
	display: inline-grid;
	flex: 0 0 34px;
	height: 34px;
	place-items: center;
	width: 34px;
}

.wram-dashboard .wram-modal[data-wram-workflow-modal] .wram-modal-dialog--wide {
	display: flex;
	flex-direction: column;
	height: min(86vh, 760px);
	max-height: calc(100vh - 32px);
	overflow: hidden;
}

.wram-dashboard .wram-modal[data-wram-workflow-modal] [data-wram-workflow-form] {
	min-height: 0;
	overflow-x: hidden;
	overflow-y: auto;
	padding-inline-end: 6px;
	scrollbar-color: #1f5e9e #e8eef5;
	scrollbar-width: thin;
}

.wram-dashboard .wram-modal[data-wram-workflow-modal] [data-wram-workflow-form]::-webkit-scrollbar {
	width: 10px;
}

.wram-dashboard .wram-modal[data-wram-workflow-modal] [data-wram-workflow-form]::-webkit-scrollbar-track {
	background: #e8eef5;
	border-radius: 999px;
}

.wram-dashboard .wram-modal[data-wram-workflow-modal] [data-wram-workflow-form]::-webkit-scrollbar-thumb {
	background: linear-gradient(180deg, #1f5e9e, #14956f);
	border: 2px solid #e8eef5;
	border-radius: 999px;
}

.wram-dashboard .wram-modal[data-wram-workflow-modal] .wram-modal-actions {
	background: linear-gradient(180deg, rgba(255, 255, 255, .86), #ffffff);
	bottom: 0;
	border-top: 1px solid #e4ebf2;
	margin-inline: -6px 0;
	padding-top: 10px;
	position: sticky;
	z-index: 3;
}

.wram-dashboard .wram-workflow-field {
	position: relative;
}

.wram-dashboard .wram-workflow-field > .wram-workflow-field-icon {
	align-items: center;
	border-radius: 9px;
	display: inline-grid;
	font-size: 12px;
	height: 25px;
	justify-content: center;
	margin-inline-end: 7px;
	vertical-align: middle;
	width: 25px;
}

.wram-dashboard .wram-workflow-field > span:not(.wram-workflow-field-icon) {
	display: inline;
	vertical-align: middle;
}

.wram-dashboard .wram-workflow-field-icon--blue {
	background: #e8f2ff;
	color: #1f5e9e;
}

.wram-dashboard .wram-workflow-field-icon--green {
	background: #e7f7ef;
	color: #14956f;
}

.wram-dashboard .wram-workflow-field-icon--red {
	background: #fdecec;
	color: #c83532;
}

.wram-dashboard .wram-workflow-field-icon--amber {
	background: #fff4db;
	color: #d97706;
}

.wram-dashboard .wram-workflow-field-icon--navy {
	background: #e8eef5;
	color: #17324d;
}

.wram-dashboard .wram-workflow-field-icon--silver {
	background: #f1f5f9;
	color: #64748b;
}

.wram-dashboard .wram-workflow-field input[readonly][data-workflow-field="recruitment_amount"],
.wram-dashboard .wram-workflow-field input[readonly][data-workflow-field="due_amount"] {
	background: #eef7ff !important;
	border-color: #bfdbfe !important;
	color: #17324d !important;
	cursor: not-allowed;
	font-weight: 900;
}

.wram-dashboard [data-wram-client-rights-preview] {
	color: #1f5e9e !important;
	font-weight: 900 !important;
}

.wram-dashboard .wram-contract-edit-form {
	display: flex;
	flex-direction: column;
	min-height: 0;
	position: relative;
}

.wram-dashboard [data-wram-contract-edit-modal] .wram-modal-dialog--wide {
	display: flex;
	flex-direction: column;
	max-height: calc(100vh - 32px);
	overflow: hidden;
}

.wram-dashboard .wram-contract-edit-stepper {
	background: #f8fafc;
	border: 1px solid #e4ebf2;
	border-radius: 8px;
	display: grid;
	gap: 6px;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	margin-bottom: 12px;
	padding: 6px;
}

.wram-dashboard .wram-contract-edit-stepper button {
	align-items: center;
	background: #ffffff;
	border: 1px solid transparent;
	border-radius: 7px;
	color: #64748b;
	cursor: pointer;
	display: inline-flex;
	font-size: 12px;
	font-weight: 900;
	gap: 6px;
	justify-content: center;
	line-height: 1.3;
	min-height: 40px;
	padding: 7px 8px;
}

.wram-dashboard .wram-contract-edit-stepper button span {
	background: #e8eef5;
	border-radius: 999px;
	color: #17324d;
	display: inline-grid;
	flex: 0 0 23px;
	height: 23px;
	place-items: center;
	width: 23px;
}

.wram-dashboard .wram-contract-edit-stepper button.is-active {
	background: #e8f2ff;
	border-color: #bfdbfe;
	color: #145ea8;
}

.wram-dashboard .wram-contract-edit-stepper button.is-complete {
	background: #e7f7ef;
	color: #0f7a5a;
}

.wram-dashboard .wram-contract-edit-panels {
	min-height: 0;
	overflow-x: hidden;
	overflow-y: auto;
	padding-inline-end: 4px;
}

.wram-dashboard .wram-contract-edit-section {
	border: 1px solid #e4ebf2;
	border-radius: 8px;
	margin-bottom: 12px;
	padding: 12px;
}

.wram-dashboard .wram-contract-edit-section h4 {
	color: #17324d;
	font-size: 15px;
	margin: 0 0 10px;
}

.wram-dashboard .wram-contract-edit-context {
	display: grid;
	gap: 8px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.wram-dashboard .wram-contract-edit-context span {
	background: #f8fafc;
	border: 1px solid #e4ebf2;
	border-radius: 8px;
	display: grid;
	gap: 3px;
	min-width: 0;
	padding: 8px 10px;
}

.wram-dashboard .wram-contract-edit-context strong {
	color: #64748b;
	font-size: 12px;
}

.wram-dashboard .wram-contract-edit-context b {
	color: #111827;
	font-size: 14px;
	overflow-wrap: anywhere;
}

.wram-dashboard .wram-reactivate-previous {
	background: #f8fbff;
	border: 1px solid #d7e3ef;
	border-radius: 8px;
	margin: 14px 0;
	padding: 12px;
}

.wram-dashboard .wram-reactivate-previous h4 {
	font-size: 15px;
	margin: 0 0 10px;
}

.wram-dashboard .wram-contract-edit-note {
	background: #fff7ed;
	border: 1px solid #fed7aa;
	border-radius: 8px;
	color: #9a3412;
	font-size: 13px;
	font-weight: 800;
	line-height: 1.6;
	margin: 10px 0 0;
	padding: 8px 10px;
}

.wram-dashboard .wram-contract-edit-card-grid {
	display: grid;
	gap: 10px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.wram-dashboard .wram-contract-edit-field {
	background: #ffffff;
	border: 1px solid #e4ebf2;
	border-radius: 8px;
	display: grid;
	gap: 7px;
	min-width: 0;
	padding: 10px;
}

.wram-dashboard .wram-contract-edit-field--wide {
	grid-column: 1 / -1;
}

.wram-dashboard .wram-contract-edit-field > span {
	align-items: center;
	color: #17324d;
	display: flex;
	font-size: 13px;
	font-weight: 900;
	gap: 8px;
	justify-content: space-between;
}

.wram-dashboard .wram-contract-edit-field > span b {
	background: #fff7ed;
	border-radius: 999px;
	color: #9a3412;
	font-size: 11px;
	padding: 2px 7px;
}

.wram-dashboard .wram-contract-edit-field.has-error {
	border-color: #ef4444;
	box-shadow: 0 0 0 3px rgba(239, 68, 68, .1);
}

.wram-dashboard .wram-contract-edit-field [data-wram-contract-edit-field-error] {
	color: #b91c1c;
	font-size: 12px;
	font-weight: 800;
}

.wram-dashboard .wram-contract-edit-actions {
	background: linear-gradient(180deg, rgba(255, 255, 255, .9), #ffffff);
	border-top: 1px solid #e4ebf2;
	bottom: 0;
	margin-top: 0;
	padding-top: 10px;
	position: sticky;
	z-index: 4;
}

.wram-dashboard .wram-contract-edit-review {
	display: grid;
	gap: 10px;
}

.wram-dashboard .wram-contract-edit-review-summary {
	background: #e8f2ff;
	border: 1px solid #bfdbfe;
	border-radius: 8px;
	color: #145ea8;
	font-size: 13px;
	font-weight: 900;
	margin: 0;
	padding: 9px 10px;
}

.wram-dashboard .wram-contract-edit-review-group {
	border: 1px solid #e4ebf2;
	border-radius: 8px;
	overflow: hidden;
}

.wram-dashboard .wram-contract-edit-review-group h5 {
	background: #f8fafc;
	color: #17324d;
	font-size: 13px;
	margin: 0;
	padding: 9px 10px;
}

.wram-dashboard .wram-contract-edit-review-item {
	align-items: center;
	border-top: 1px solid #e4ebf2;
	display: grid;
	gap: 8px;
	grid-template-columns: minmax(120px, .7fr) minmax(0, 1.3fr);
	padding: 9px 10px;
}

.wram-dashboard .wram-contract-edit-review-item.is-changed {
	background: #fff8e6;
}

.wram-dashboard .wram-contract-edit-review-item strong {
	color: #17324d;
	font-size: 13px;
}

.wram-dashboard .wram-contract-edit-review-item span {
	align-items: center;
	color: #475569;
	display: flex;
	flex-wrap: wrap;
	font-size: 13px;
	font-weight: 800;
	gap: 7px;
	min-width: 0;
}

.wram-dashboard .wram-contract-edit-review-item b {
	overflow-wrap: anywhere;
}

.wram-dashboard .wram-contract-edit-form.is-loading > :not(.wram-contract-edit-loading) {
	pointer-events: none;
}

.wram-dashboard .wram-contract-edit-loading {
	align-items: center;
	background: rgba(255, 255, 255, .5);
	border-radius: inherit;
	display: grid;
	gap: 10px;
	inset: 0;
	justify-items: center;
	padding: 20px;
	position: absolute;
	text-align: center;
	z-index: 20;
}

.wram-dashboard .wram-contract-edit-loading[hidden] {
	display: none;
}

.wram-dashboard .wram-spinner {
	animation: wram-spin .8s linear infinite;
	border: 3px solid rgba(20, 80, 150, .2);
	border-radius: 50%;
	border-top-color: #145ea8;
	height: 34px;
	width: 34px;
}

.wram-dashboard .wram-panel-subtitle {
	color: #5b6b7f;
	font-size: 13px;
	margin: 6px 0 0;
}

.wram-dashboard .wram-kpi-media--icon {
	align-items: center;
	color: #0f4e8b;
	display: inline-flex;
	font-size: 28px;
	justify-content: center;
}

.wram-dashboard .wram-reservation-row--archived {
	background: #fafafa;
}

.wram-dashboard .wram-reservation-status-stack {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.wram-dashboard .wram-reservation-status--open {
	background: #e8f2ff;
	color: #0f4e8b;
}

.wram-dashboard .wram-reservation-status--contacted {
	background: #ecfdf3;
	color: #166534;
}

.wram-dashboard .wram-reservation-status--fulfilled {
	background: #fff7e8;
	color: #b45309;
}

.wram-dashboard .wram-reservation-status--cancelled,
.wram-dashboard .wram-reservation-status--archived {
	background: #f3f4f6;
	color: #475569;
}

.wram-dashboard .wram-reservation-notes {
	display: grid;
	gap: 4px;
}

.wram-dashboard .wram-reservation-notes p,
.wram-dashboard .wram-reservation-notes small {
	margin: 0;
}

.wram-dashboard .wram-reservation-notes small {
	color: #6b7280;
	font-size: 12px;
}

.wram-dashboard .wram-reservation-form {
	position: relative;
}

.wram-dashboard .wram-reservation-form.is-loading > :not(.wram-form-loading) {
	pointer-events: none;
}

.wram-dashboard .wram-form-loading {
	align-items: center;
	background: rgba(255, 255, 255, .72);
	border-radius: inherit;
	display: grid;
	gap: 10px;
	inset: 0;
	justify-items: center;
	padding: 24px;
	position: absolute;
	text-align: center;
	z-index: 10;
}

.wram-dashboard .wram-form-loading[hidden] {
	display: none;
}

.wram-dashboard .wram-panel-head--stack {
	display: block;
}

.wram-dashboard .wram-reservation-worker-results {
	display: grid;
	gap: 12px;
	margin-top: 16px;
}

.wram-dashboard .wram-reservation-worker-card {
	background: linear-gradient(135deg, #fff, #f8fbff);
	border: 1px solid #d7e3ef;
	border-radius: 16px;
	color: #17324d;
	cursor: pointer;
	display: grid;
	gap: 6px;
	padding: 16px;
	text-align: right;
	transition: transform .14s ease, box-shadow .14s ease, border-color .14s ease;
	width: 100%;
}

.wram-dashboard .wram-reservation-worker-card:hover,
.wram-dashboard .wram-reservation-worker-card:focus {
	border-color: #1d6fd6;
	box-shadow: 0 10px 24px rgba(15, 78, 139, .12);
	outline: none;
	transform: translateY(-1px);
}

.wram-dashboard .wram-reservation-worker-card.is-selected {
	background: #e8f6ee;
	border-color: #16803c;
	box-shadow: 0 0 0 2px rgba(22, 128, 60, .16);
}

.wram-dashboard .wram-reservation-worker-card__title {
	color: #0f4e8b;
	font-size: 15px;
	font-weight: 900;
}

.wram-dashboard .wram-reservation-worker-card__meta {
	color: #526375;
	font-size: 13px;
}

.wram-dashboard .wram-reservation-worker-loading {
	align-items: center;
	display: flex;
	gap: 10px;
	justify-content: center;
	padding: 20px 12px;
}

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

@media (max-width: 760px) {
	.wram-dashboard .wram-modal[data-wram-workflow-modal] .wram-modal-dialog--wide {
		height: calc(100vh - 18px);
		max-height: calc(100vh - 18px);
	}

	.wram-dashboard .wram-contract-edit-context {
		grid-template-columns: 1fr;
	}

	.wram-dashboard .wram-contract-edit-stepper,
	.wram-dashboard .wram-contract-edit-card-grid,
	.wram-dashboard .wram-contract-edit-review-item {
		grid-template-columns: 1fr;
	}

	.wram-dashboard .wram-contract-edit-stepper button {
		justify-content: flex-start;
	}
}

/* Read-only worker experience report. */
.wram-dashboard .wram-worker-level-panel .wram-controls {
	box-shadow: none !important;
}

.wram-dashboard .wram-worker-level-row td {
	background: #ffffff !important;
	border-color: #d8e0e7 !important;
	color: #17202a !important;
}

.wram-dashboard .wram-worker-level-classification--new {
	background: #eef3f7 !important;
	color: #526375 !important;
}

.wram-dashboard .wram-worker-level-classification--under-evaluation {
	background: #fff7e6 !important;
	color: #9a5a00 !important;
}

.wram-dashboard .wram-worker-level-classification--stable {
	background: #e8f3ff !important;
	color: #1f5e9e !important;
}

.wram-dashboard .wram-worker-level-classification--high-experience {
	background: #e8f6ee !important;
	color: #16803c !important;
}

.wram-dashboard .wram-worker-level-classification--high-value {
	background: #efe9ff !important;
	color: #6337a8 !important;
}

.wram-dashboard .wram-worker-level-warning {
	align-items: flex-start;
	color: #a43a25;
	display: inline-flex;
	font-weight: 800;
	gap: 6px;
	line-height: 1.5;
}

.wram-dashboard .wram-worker-level-warning i {
	margin-top: 3px;
}

@media (min-width: 980px) {
	.wram-dashboard.wram-dashboard--compact [data-wram-view="worker-levels"] .wram-worker-level-table {
		min-width: 1460px !important;
	}

	.wram-dashboard .wram-worker-level-table td[data-label="اسم العاملة"],
	.wram-dashboard .wram-worker-level-table td[data-label="آخر عميل"] {
		min-width: 190px;
	}

	.wram-dashboard .wram-worker-level-table td[data-label="ملاحظة"] {
		min-width: 240px;
		white-space: normal;
	}
}

@media (min-width: 780px) {
	.wram-dashboard .wram-worker-level-table th:first-child {
		background: #eef3f7 !important;
		box-shadow: -2px 0 0 #d8e0e7;
	}

	.wram-dashboard .wram-worker-level-table .wram-worker-level-row td:first-child {
		background: #ffffff !important;
		background-clip: padding-box !important;
		box-shadow: -2px 0 0 #d8e0e7;
	}
}
